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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8821c8d66076805d5586a424f2ddcc8de34b2f4e | 1,340 | sql | SQL | db/prueba.sql | ManuIke/libros | 5561e0ddf5ff81b553da24e9bc0095d94038cce5 | [
"BSD-3-Clause"
] | null | null | null | db/prueba.sql | ManuIke/libros | 5561e0ddf5ff81b553da24e9bc0095d94038cce5 | [
"BSD-3-Clause"
] | 40 | 2021-02-23T19:29:49.000Z | 2021-02-23T20:14:52.000Z | db/prueba.sql | ManuIke/libros | 5561e0ddf5ff81b553da24e9bc0095d94038cce5 | [
"BSD-3-Clause"
] | 7 | 2021-01-26T14:18:29.000Z | 2021-03-04T21:00:02.000Z | ------------------------------
-- Archivo de base de datos --
------------------------------
DROP TABLE IF EXISTS autores CASCADE;
CREATE TABLE autores
(
id bigserial PRIMARY KEY
, nombre varchar(255) NOT NULL
);
DROP TABLE IF EXISTS libros CASCADE;
CREATE TABLE libros
(
id bigserial PRIMA... | 30.454545 | 71 | 0.579104 |
16563ab6d5629905d36b0e47747ada58094a4526 | 133 | dart | Dart | lib/app/bindings/application_bindings.dart | carloshenrique-dev/ester | d279eee9dfa3b8a7618aa0cfbd0740b3877e322c | [
"MIT"
] | null | null | null | lib/app/bindings/application_bindings.dart | carloshenrique-dev/ester | d279eee9dfa3b8a7618aa0cfbd0740b3877e322c | [
"MIT"
] | null | null | null | lib/app/bindings/application_bindings.dart | carloshenrique-dev/ester | d279eee9dfa3b8a7618aa0cfbd0740b3877e322c | [
"MIT"
] | null | null | null | import 'package:get/get.dart';
class ApplicationBindings implements Bindings {
@override
Future<void> dependencies() async {}
}
| 19 | 47 | 0.75188 |
4cf4aa36836f5b32b045da11754644d804fd2e85 | 5,129 | py | Python | qinling/tests/unit/api/controllers/v1/test_function_alias.py | lingxiankong/qinling | e18f80345ae519c9308cfc93fdf53b82c9be7618 | [
"Apache-2.0"
] | 2 | 2017-04-11T04:23:25.000Z | 2017-05-04T13:30:46.000Z | qinling/tests/unit/api/controllers/v1/test_function_alias.py | lingxiankong/qinling | e18f80345ae519c9308cfc93fdf53b82c9be7618 | [
"Apache-2.0"
] | 5 | 2019-08-14T06:46:03.000Z | 2021-12-13T20:01:25.000Z | qinling/tests/unit/api/controllers/v1/test_function_alias.py | lingxiankong/qinling | e18f80345ae519c9308cfc93fdf53b82c9be7618 | [
"Apache-2.0"
] | 2 | 2020-03-15T01:24:15.000Z | 2020-07-22T20:34:26.000Z | # Copyright 2018 OpenStack Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | 33.090323 | 77 | 0.609086 |
c9b86ef6e04e3b39629043b1e6f52e68fcf53ce2 | 2,750 | ts | TypeScript | node_modules/@ihk-gfi/lux-components/src/app/modules/lux-form/lux-autocomplete/lux-autocomplete.component.d.ts | Christian-W/lux-demoblog | efa188e9e187041b9b11cdac9e90ceec9d12bf85 | [
"MIT"
] | null | null | null | node_modules/@ihk-gfi/lux-components/src/app/modules/lux-form/lux-autocomplete/lux-autocomplete.component.d.ts | Christian-W/lux-demoblog | efa188e9e187041b9b11cdac9e90ceec9d12bf85 | [
"MIT"
] | null | null | null | node_modules/@ihk-gfi/lux-components/src/app/modules/lux-form/lux-autocomplete/lux-autocomplete.component.d.ts | Christian-W/lux-demoblog | efa188e9e187041b9b11cdac9e90ceec9d12bf85 | [
"MIT"
] | null | null | null | import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
import { ControlContainer } from '@angular/forms';
import { MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material';
import { LuxFormComponentBase } from '../lux-form-model/lux-form... | 38.194444 | 139 | 0.712364 |
da8ee7acd37c0f6d99f2fb949036783e46cca1c5 | 4,907 | php | PHP | web/app/plugins/wpai-woocommerce-add-on/libraries/importer/OrdersImporter.php | andriilive/wpml-acf-wp-test | d765b0e4b253a5f740f8c37d287357247cbf225e | [
"MIT"
] | null | null | null | web/app/plugins/wpai-woocommerce-add-on/libraries/importer/OrdersImporter.php | andriilive/wpml-acf-wp-test | d765b0e4b253a5f740f8c37d287357247cbf225e | [
"MIT"
] | null | null | null | web/app/plugins/wpai-woocommerce-add-on/libraries/importer/OrdersImporter.php | andriilive/wpml-acf-wp-test | d765b0e4b253a5f740f8c37d287357247cbf225e | [
"MIT"
] | null | null | null | <?php
namespace wpai_woocommerce_add_on\libraries\importer;
use WC_Data_Store;
use WC_Order;
require_once dirname(__FILE__) . '/Importer.php';
/**
* Class OrdersImporter
* @package wpai_woocommerce_add_on\libraries\importer
*/
class OrdersImporter extends Importer {
/**
* @var array
*/
public ... | 50.587629 | 131 | 0.699613 |
75cf11d546fbdbc39c01559f6a6db7d3bc773e09 | 305 | css | CSS | ui/item-event.reel/item-event.css | montagestudio/engage | 95352c9927a7df012ac9a4cae8bafc69c6e47bc7 | [
"BSD-3-Clause"
] | null | null | null | ui/item-event.reel/item-event.css | montagestudio/engage | 95352c9927a7df012ac9a4cae8bafc69c6e47bc7 | [
"BSD-3-Clause"
] | null | null | null | ui/item-event.reel/item-event.css | montagestudio/engage | 95352c9927a7df012ac9a4cae8bafc69c6e47bc7 | [
"BSD-3-Clause"
] | null | null | null | .item-event .title {
font-weight: bold;
margin-bottom: 5px;
}
.item-event .title a {
color: #000;
}
.item-event .byline {
font-size: 12px;
margin-bottom: 5px;
}
.item-event .byline .date {
float: right;
}
.item-event .excerpt {
margin-bottom: 5px;
}
.item-event .more {
font-size: 11px;
}
| 14.52381 | 27 | 0.632787 |
a32b5795084ad32409876c8abb576b9ef6b91880 | 2,619 | java | Java | test/com/diffplug/common/base/TreeTestData.java | nedtwigg/durian | 10631a3480e5491eb6eb6ee06e752d8596914232 | [
"ECL-2.0",
"Apache-2.0"
] | 269 | 2015-05-14T19:25:00.000Z | 2022-03-15T05:52:36.000Z | test/com/diffplug/common/base/TreeTestData.java | nedtwigg/durian | 10631a3480e5491eb6eb6ee06e752d8596914232 | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2016-03-22T12:02:22.000Z | 2020-08-28T17:17:28.000Z | test/com/diffplug/common/base/TreeTestData.java | nedtwigg/durian | 10631a3480e5491eb6eb6ee06e752d8596914232 | [
"ECL-2.0",
"Apache-2.0"
] | 36 | 2015-06-09T13:08:45.000Z | 2021-11-02T03:24:25.000Z | /*
* Copyright 2016 DiffPlug
*
* 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 ... | 35.876712 | 102 | 0.727759 |
a43e4378d3b117163666e5d27987da07d41e90d4 | 508 | sql | SQL | sql/ddl.sql | vijayanandraj/fastapi-databases | 9f0b62d39c4941e5d5df563594a976fd9e866cbe | [
"Apache-2.0"
] | null | null | null | sql/ddl.sql | vijayanandraj/fastapi-databases | 9f0b62d39c4941e5d5df563594a976fd9e866cbe | [
"Apache-2.0"
] | null | null | null | sql/ddl.sql | vijayanandraj/fastapi-databases | 9f0b62d39c4941e5d5df563594a976fd9e866cbe | [
"Apache-2.0"
] | null | null | null | CREATE TABLE `scan_status` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`scan_request_id` varchar(50) COLLATE utf8_bin NOT NULL DEFAULT '',
`scan_status` varchar(20) COLLATE utf8_bin NOT NULL DEFAULT 'IN PROGRESS',
`scan_step` varchar(50) COLLATE utf8_bin NOT NULL DEFAULT '',
`is_completed` tinyint(1) DEFAULT 0,
... | 46.181818 | 76 | 0.75 |
ef2d24f8c4f4ed370dd1fb173011cd9338c9a5ab | 2,153 | h | C | DApiSample/DApiSample/DApi.framework/Headers/Drift.h | kazootech/DApi-iOS | a825a5339a6f940ee4f3af9ec23210c51412c0bf | [
"Apache-2.0"
] | null | null | null | DApiSample/DApiSample/DApi.framework/Headers/Drift.h | kazootech/DApi-iOS | a825a5339a6f940ee4f3af9ec23210c51412c0bf | [
"Apache-2.0"
] | null | null | null | DApiSample/DApiSample/DApi.framework/Headers/Drift.h | kazootech/DApi-iOS | a825a5339a6f940ee4f3af9ec23210c51412c0bf | [
"Apache-2.0"
] | null | null | null | //
// Drift.h
// DApi
//
// Created by Jacky Cho on 22/2/2019.
// Copyright © 2019 Kazoo. All rights reserved.
//
//Error values returned from drift request callbacks.
typedef NS_ENUM(int, RequestError) {
RequestErrorCancelled = -1, //The drift object is destroyed (e.g. left the screen) before com... | 43.06 | 129 | 0.719461 |
1a672c4946543f4471566dc2a8277f0ac852e056 | 383 | py | Python | Scripts/003_hackerrank/Problem Solving/p021.py | OrangePeelFX/Python-Tutorial | 0d47f194553666304765f5bbc928374b7aec8a48 | [
"MIT"
] | null | null | null | Scripts/003_hackerrank/Problem Solving/p021.py | OrangePeelFX/Python-Tutorial | 0d47f194553666304765f5bbc928374b7aec8a48 | [
"MIT"
] | 1 | 2021-06-02T00:28:17.000Z | 2021-06-02T00:28:17.000Z | Scripts/003_hackerrank/Problem Solving/p021.py | florianwns/python-scripts | 0d47f194553666304765f5bbc928374b7aec8a48 | [
"MIT"
] | 1 | 2020-01-13T11:08:18.000Z | 2020-01-13T11:08:18.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Problem 021
Divisible Sum Pairs
Source : https://www.hackerrank.com/challenges/divisible-sum-pairs/problem
"""
_, d = map(int, input().split())
numbers = list(map(int, input().split()))
nb = len(numbers)
count = 0
for i in range(nb-1):
for j in range(i+1, nb):
... | 21.277778 | 74 | 0.624021 |
4cd115ccac6e8f18c8100575097b0fcdfeaa5e67 | 1,815 | py | Python | src/restaurants/views.py | vivek0079/Favourite-menu-app | ac82e113124fc66e7691891dafe7f5edffcbd738 | [
"MIT"
] | null | null | null | src/restaurants/views.py | vivek0079/Favourite-menu-app | ac82e113124fc66e7691891dafe7f5edffcbd738 | [
"MIT"
] | null | null | null | src/restaurants/views.py | vivek0079/Favourite-menu-app | ac82e113124fc66e7691891dafe7f5edffcbd738 | [
"MIT"
] | null | null | null | from django.contrib.auth.decorators import login_required
from django.contrib.auth.mixins import LoginRequiredMixin
from django.db.models import Q
from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import render, get_object_or_404
from django.views import View
from django.views.generic imp... | 35.588235 | 91 | 0.744353 |
be1d1c7803d4a36f078357a902e9e5708e490b10 | 1,653 | lua | Lua | KingArthursEditor/assets/scripts/modules/tiled_util.lua | numpad/kagedit | 5aec40cafd92d303e03be5a576f89a4891a4a994 | [
"Zlib"
] | null | null | null | KingArthursEditor/assets/scripts/modules/tiled_util.lua | numpad/kagedit | 5aec40cafd92d303e03be5a576f89a4891a4a994 | [
"Zlib"
] | null | null | null | KingArthursEditor/assets/scripts/modules/tiled_util.lua | numpad/kagedit | 5aec40cafd92d303e03be5a576f89a4891a4a994 | [
"Zlib"
] | null | null | null | -- Collection of utils for loading maps exported from tiled
local M = {}
-- .get_spawnpoints
-- .spawn_object
-- Generated spawnpoints for a spawner
M.get_spawnpoints = function (object)
local count = object.properties.count or 1
-- result
local points = {}
if object.shape == 'point' then
for i=1, count do
... | 24.308824 | 74 | 0.676951 |
44138b332b032fc6a550066849b146b613bc22ec | 38,831 | dart | Dart | lib/screens/camera_screen.dart | anubhavbagri/flutter_camera_demo | 5f84219b027736c7434067159673b326e6079cea | [
"MIT"
] | 3 | 2022-03-08T08:26:30.000Z | 2022-03-11T06:46:56.000Z | lib/screens/camera_screen.dart | anubhavbagri/flutter_camera_demo | 5f84219b027736c7434067159673b326e6079cea | [
"MIT"
] | null | null | null | lib/screens/camera_screen.dart | anubhavbagri/flutter_camera_demo | 5f84219b027736c7434067159673b326e6079cea | [
"MIT"
] | 2 | 2022-03-10T13:54:29.000Z | 2022-03-24T06:58:17.000Z | import 'dart:developer';
import 'dart:io';
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_camera_demo/screens/preview_screen.dart';
import 'package:path_provider/path_provider.dart';
import 'package:permission_handler/permiss... | 45.257576 | 97 | 0.295408 |
a3a8ba978c8e5f39d6aa6721e4cccb23e5398cba | 2,555 | java | Java | src/test/java/com/valoler/telegram_hltv_bot/botapi/keyboards/TelegramHLTVBotReplyKeyboardTest.java | VaolEr/TelegramHLTVBot | 712799eb7ec551b9f94dcd98553e658c165f9a08 | [
"Apache-2.0"
] | null | null | null | src/test/java/com/valoler/telegram_hltv_bot/botapi/keyboards/TelegramHLTVBotReplyKeyboardTest.java | VaolEr/TelegramHLTVBot | 712799eb7ec551b9f94dcd98553e658c165f9a08 | [
"Apache-2.0"
] | 4 | 2021-05-15T10:18:23.000Z | 2021-05-17T11:02:31.000Z | src/test/java/com/valoler/telegram_hltv_bot/botapi/keyboards/TelegramHLTVBotReplyKeyboardTest.java | VaolEr/TelegramHLTVBot | 712799eb7ec551b9f94dcd98553e658c165f9a08 | [
"Apache-2.0"
] | null | null | null | package com.valoler.telegram_hltv_bot.botapi.keyboards;
import com.valoler.telegram_hltv_bot.service.LocaleMessageService;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;
import org.telegram.telegrambots.meta.api.methods.send.SendMessage;
import org.telegram.tele... | 37.028986 | 118 | 0.758121 |
e073f8a6c1daac66433db27f3fe552c7778feaa4 | 630 | c | C | nitan/clone/weapon/zhantian-zhiren.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | 1 | 2019-03-27T07:25:16.000Z | 2019-03-27T07:25:16.000Z | nitan/clone/weapon/zhantian-zhiren.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | nitan/clone/weapon/zhantian-zhiren.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | // longsword.c 長劍
#include <weapon.h>
#include <ansi.h>
inherit SWORD;
void create()
{
set_name(HIR "斬天之刃" NOR, ({ "zhantian zhiren", "zhantian", "zhiren" }));
set_weight(1);
if (clonep())
set_default_object(__FILE__);
else {
set("unit", "柄");
... | 25.2 | 80 | 0.477778 |
9c748e37469bb5fb1a88668d0aee04a42dcdad2b | 49 | sh | Shell | script/docker-rspec.sh | redbubble/fluent-plugin-append_kubernetes_labels_to_tag | 747ecde2984cd0a6e2ac9cb7b6afd267213472f0 | [
"MIT"
] | null | null | null | script/docker-rspec.sh | redbubble/fluent-plugin-append_kubernetes_labels_to_tag | 747ecde2984cd0a6e2ac9cb7b6afd267213472f0 | [
"MIT"
] | null | null | null | script/docker-rspec.sh | redbubble/fluent-plugin-append_kubernetes_labels_to_tag | 747ecde2984cd0a6e2ac9cb7b6afd267213472f0 | [
"MIT"
] | null | null | null | #!/bin/bash
bundle install
bundle exec rspec $@
| 9.8 | 20 | 0.714286 |
256fde5b9f0a6c7720577bec5f44d519e810872e | 603 | cs | C# | Aula10/Aula10.cs | Wanderson-A-Timoteo/My-CSharp-Studies | 83d6138dbc2b24eed395eaa2cd8977cc8e9af5ff | [
"MIT"
] | null | null | null | Aula10/Aula10.cs | Wanderson-A-Timoteo/My-CSharp-Studies | 83d6138dbc2b24eed395eaa2cd8977cc8e9af5ff | [
"MIT"
] | null | null | null | Aula10/Aula10.cs | Wanderson-A-Timoteo/My-CSharp-Studies | 83d6138dbc2b24eed395eaa2cd8977cc8e9af5ff | [
"MIT"
] | null | null | null | using System;
class Aula10{
enum DiasSemana{
Domingo, Segunda, Terça, Quarta, Quinta, Sexta, Sábado
};
static void Main() {
DiasSemana ds = DiasSemana.Domingo; // Imprime o valor definido diretamente
Console.WriteLine(ds);
DiasSemana Dss = (DiasSemana) 3; // Imprime o valor definido pel... | 25.125 | 105 | 0.678275 |
a34fb3bfaa7f917b5498f7d1229d2ba13af3ffef | 19,283 | java | Java | dxvk-cache-pool-client/src/main/java/com/ignorelist/kassandra/dxvk/cache/pool/client/CachePoolMerger.java | rcpoison/dxvk-cache-pool | 9a8e92ab3aaadc7a87a3c20902ddf37ef504a7e7 | [
"Apache-2.0"
] | 38 | 2018-09-30T07:28:49.000Z | 2022-03-31T18:29:25.000Z | dxvk-cache-pool-client/src/main/java/com/ignorelist/kassandra/dxvk/cache/pool/client/CachePoolMerger.java | rcpoison/dxvk-cache-pool | 9a8e92ab3aaadc7a87a3c20902ddf37ef504a7e7 | [
"Apache-2.0"
] | 23 | 2018-09-30T18:14:51.000Z | 2021-07-07T13:07:00.000Z | dxvk-cache-pool-client/src/main/java/com/ignorelist/kassandra/dxvk/cache/pool/client/CachePoolMerger.java | rcpoison/dxvk-cache-pool | 9a8e92ab3aaadc7a87a3c20902ddf37ef504a7e7 | [
"Apache-2.0"
] | 7 | 2018-10-07T17:14:45.000Z | 2022-01-23T22:28:08.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.ignorelist.kassandra.dxvk.cache.pool.client;
import com.google.common.base.Predicates;
import com.google.common.cache.Cach... | 48.2075 | 168 | 0.773739 |
796e4d5c726756e4294944473c05cc2b6437906a | 1,859 | php | PHP | Project/classes/Ijdb/Controllers/Register.php | harrykwak95/phpStudy | c00a0882d1e6a768fc888eef5692acc03cd19565 | [
"MIT"
] | null | null | null | Project/classes/Ijdb/Controllers/Register.php | harrykwak95/phpStudy | c00a0882d1e6a768fc888eef5692acc03cd19565 | [
"MIT"
] | null | null | null | Project/classes/Ijdb/Controllers/Register.php | harrykwak95/phpStudy | c00a0882d1e6a768fc888eef5692acc03cd19565 | [
"MIT"
] | null | null | null | <?php
namespace Ijdb\Controllers;
use \Hanbit\DatabaseTable;
class Register {
private $authorsTable;
public function __construct(DatabaseTable $authorsTable) {
$this->authorsTable = $authorsTable;
}
public function registrationForm() {
return ['template' => 'register.html.php',
'title' => 'USER REGISTRA... | 22.130952 | 78 | 0.589564 |
a1496446868c67ae4c6340d2dd1c692919f78362 | 547 | ts | TypeScript | packages/backend/src/shared/Constants.ts | jarmex/uvdesigner | 79c7d09d90434e6021d4548484c7c2dd55fe0f2c | [
"Apache-2.0"
] | null | null | null | packages/backend/src/shared/Constants.ts | jarmex/uvdesigner | 79c7d09d90434e6021d4548484c7c2dd55fe0f2c | [
"Apache-2.0"
] | null | null | null | packages/backend/src/shared/Constants.ts | jarmex/uvdesigner | 79c7d09d90434e6021d4548484c7c2dd55fe0f2c | [
"Apache-2.0"
] | null | null | null | export const Kinds = {
externalService: 'externalService',
log: 'log',
control: 'control',
ussdCollect: 'ussdCollect',
ussdSay: 'ussdSay',
ussdLanguage: 'ussdLanguage',
gather: 'gather',
ussdMessage: 'ussdSay',
};
export const ConOperator = {
eq: 'equals',
ne: 'notequal',
gt: 'greater',
gte: 'g... | 17.09375 | 38 | 0.652651 |
ecd1f6dfa4b6af1d0e024ef49b4d0c65356d5c4c | 707 | sql | SQL | SQL/Exams practice/Databases MSSQL Server Exam - 20 Oct 2019/Full Info.sql | vasil-mitov/CSharp-Databases-Basics-Practice | 4dbb289573873b16b1aabac05c3b4f8a77978547 | [
"MIT"
] | null | null | null | SQL/Exams practice/Databases MSSQL Server Exam - 20 Oct 2019/Full Info.sql | vasil-mitov/CSharp-Databases-Basics-Practice | 4dbb289573873b16b1aabac05c3b4f8a77978547 | [
"MIT"
] | null | null | null | SQL/Exams practice/Databases MSSQL Server Exam - 20 Oct 2019/Full Info.sql | vasil-mitov/CSharp-Databases-Basics-Practice | 4dbb289573873b16b1aabac05c3b4f8a77978547 | [
"MIT"
] | null | null | null | SELECT IIF(e.FirstName IS NULL OR e.LastName IS NULL, 'None', CONCAT(e.FirstName, ' ', e.LastName)) AS [Employee],
IIF(d.[Name] IS NULL, 'None', d.[Name]) AS [Department],
c.[Name] AS [Category],
r.[Description],
FORMAT(r.OpenDate, 'dd.MM.yyyy') AS [OpenDate],
s.[Label] AS [Status],
... | 37.210526 | 118 | 0.636492 |
ef3f98827fd61163cd1a1ca8559097ac5bb9fa23 | 3,824 | c | C | modules/lpc4337_m4/chip/src/evrt_18xx_43xx.c | marcosbz/VFS-FTP | 7406d7f18ddeb850ab389755dadef8bd2c598aa8 | [
"BSD-3-Clause"
] | 7 | 2017-01-08T14:36:49.000Z | 2022-01-22T22:58:51.000Z | modules/lpc4337_m4/chip/src/evrt_18xx_43xx.c | marcosbz/VFS-FTP | 7406d7f18ddeb850ab389755dadef8bd2c598aa8 | [
"BSD-3-Clause"
] | 2 | 2021-02-18T19:47:06.000Z | 2021-08-16T23:15:51.000Z | modules/lpc4337_m4/chip/src/evrt_18xx_43xx.c | marcosbz/VFS-FTP | 7406d7f18ddeb850ab389755dadef8bd2c598aa8 | [
"BSD-3-Clause"
] | 6 | 2017-09-30T08:16:05.000Z | 2021-08-21T17:26:32.000Z | /*
* @brief LPC18xx/43xx event router driver
*
* @note
* Copyright(C) NXP Semiconductors, 2012
* All rights reserved.
*
* @par
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* LPC products. This software is supplied ... | 34.142857 | 92 | 0.606956 |
e03f8d0bf0cd4b3bb4dc110036edf9fb68b1a512 | 3,948 | c | C | qemu_mode/qemu-2.3.0/roms/seabios/src/memmap.c | jhu066/afl-grader-pro | 0202e81cc00b5ce72f12de3e83b885453031f10c | [
"Apache-1.1"
] | 6 | 2019-08-22T17:40:59.000Z | 2022-02-08T08:07:14.000Z | qemu_mode/qemu-2.3.0/roms/seabios/src/memmap.c | jhu066/afl-grader-pro | 0202e81cc00b5ce72f12de3e83b885453031f10c | [
"Apache-1.1"
] | 1 | 2021-02-23T18:42:51.000Z | 2021-02-23T18:42:51.000Z | qemu_mode/qemu-2.3.0/roms/seabios/src/memmap.c | jhu066/afl-grader-pro | 0202e81cc00b5ce72f12de3e83b885453031f10c | [
"Apache-1.1"
] | 2 | 2020-11-24T16:32:46.000Z | 2021-05-30T04:42:07.000Z | // Support for building memory maps suitable for int 15 e820 calls.
//
// Copyright (C) 2008,2009 Kevin O'Connor <kevin@koconnor.net>
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
#include "config.h" // BUILD_MAX_E820
#include "memmap.h" // struct e820entry
#include "output.h" // dprin... | 27.227586 | 79 | 0.534701 |
0ac4245d7a18750f8e4de0962fb5e1ac2e409e60 | 1,599 | cs | C# | LEDCube/Cube.cs | Kuirak/LEDCube | ff09fb98eb890a1f413e17b2abed82b4d6a59ab8 | [
"MIT"
] | null | null | null | LEDCube/Cube.cs | Kuirak/LEDCube | ff09fb98eb890a1f413e17b2abed82b4d6a59ab8 | [
"MIT"
] | null | null | null | LEDCube/Cube.cs | Kuirak/LEDCube | ff09fb98eb890a1f413e17b2abed82b4d6a59ab8 | [
"MIT"
] | null | null | null | using System;
using System.Collections;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using Math = System.Math;
namespace LEDCube
{
public class Cube
{
private readonly Tlc5940 tlc5940;
private readonly Layer[] layers;
private readonly Animation a... | 27.568966 | 116 | 0.521576 |
447fc9fc7dded029cec221e739975cc08f342ed9 | 21,887 | py | Python | malcolm/modules/ADCore/parts/hdfwriterpart.py | thomascobb/pymalcolm | 801f8fe6217c0c028b5edc87fa0aef9d60b91d9d | [
"Apache-2.0"
] | null | null | null | malcolm/modules/ADCore/parts/hdfwriterpart.py | thomascobb/pymalcolm | 801f8fe6217c0c028b5edc87fa0aef9d60b91d9d | [
"Apache-2.0"
] | null | null | null | malcolm/modules/ADCore/parts/hdfwriterpart.py | thomascobb/pymalcolm | 801f8fe6217c0c028b5edc87fa0aef9d60b91d9d | [
"Apache-2.0"
] | null | null | null | import os
import time
from typing import Dict, Iterator, List, Optional
from xml.etree import cElementTree as ET
from annotypes import Anno, add_call_types
from scanpointgenerator import CompoundGenerator, Dimension
from malcolm.compat import et_to_string
from malcolm.core import (
APartName,
Block,
Boole... | 34.686212 | 88 | 0.632065 |
97271e861aae7dcf48e2f8e778442754f3e71df2 | 181 | ts | TypeScript | src/discord/discord.service.ts | InkoHX/nest-discord-template | da7829ef8749d8d2d4379a7022fdeeb00b4563d0 | [
"MIT"
] | null | null | null | src/discord/discord.service.ts | InkoHX/nest-discord-template | da7829ef8749d8d2d4379a7022fdeeb00b4563d0 | [
"MIT"
] | 114 | 2021-01-11T15:58:56.000Z | 2021-08-13T08:12:10.000Z | src/discord/discord.service.ts | project-heat/core | 3e9559c845cd83a29926eb2f8853a26be89ab3a7 | [
"MIT"
] | null | null | null | import { Injectable } from '@nestjs/common'
import { Client } from 'discord.js'
@Injectable()
export class DiscordService extends Client {
public readonly commandPrefix = '$>'
}
| 22.625 | 44 | 0.729282 |
bcc9d474a995c08eeea9af3bd16a5cc36af838d3 | 12,884 | asm | Assembly | asmx/test/z80.asm | paulscottrobson/studio2-games | 4799cf8eb67de175aaa1c90596aea49cfde2b657 | [
"MIT"
] | 5 | 2017-11-10T17:17:56.000Z | 2021-04-01T21:36:14.000Z | asmx/test/z80.asm | paulscottrobson/studio2-games | 4799cf8eb67de175aaa1c90596aea49cfde2b657 | [
"MIT"
] | 3 | 2016-09-15T21:45:34.000Z | 2016-09-17T08:06:06.000Z | asmx/test/z80.asm | paulscottrobson/studio2-games | 4799cf8eb67de175aaa1c90596aea49cfde2b657 | [
"MIT"
] | 2 | 2016-09-15T22:09:38.000Z | 2018-05-21T15:26:30.000Z | NOP ; 00
LD BC,1234H ; 01 3412
LD (BC),A ; 02
INC BC ; 03
INC B ; 04
DEC B ; 05
LD B,56H ; 06 56
RLCA ; 07
EX AF,AF' ; 08
ADD HL,BC ; 09
LD A,(BC) ; 0A
DEC BC ; 0B
INC C ; 0C
DEC C ; 0D
LD C,56H ; 0E 56
RRCA ; 0F
DJNZ $ ; 10 FE
LD DE,1234H ; 11 3412
LD (DE),A ; 12
INC DE ; 13
... | 16.776042 | 39 | 0.527088 |
776fbd87492fcc6e4f6ef34c432fca9e59025b91 | 716 | dart | Dart | lib/src/colored_print.dart | LeonardoRosaa/colored_print | eee4313d6147c0fb927a58943644dede158f9136 | [
"MIT"
] | null | null | null | lib/src/colored_print.dart | LeonardoRosaa/colored_print | eee4313d6147c0fb927a58943644dede158f9136 | [
"MIT"
] | null | null | null | lib/src/colored_print.dart | LeonardoRosaa/colored_print | eee4313d6147c0fb927a58943644dede158f9136 | [
"MIT"
] | null | null | null | import 'print_color.dart';
class ColoredPrint {
static void success(msg) => log(msg, tag: 'SUCCESS', tagColor: PrintColor.green);
static void error(msg) => log(msg, tag: 'ERROR', tagColor: PrintColor.red);
static void warning(msg) => log(msg, tag: 'WARNING', tagColor: PrintColor.yellow);
static show(msg, {Prin... | 35.8 | 114 | 0.671788 |
7fb6d9592bcddf45100576ab9ba635f6ce43a19d | 418 | php | PHP | app/Models/Backpack.php | likunyan/antic-api | 5d933fd9673fbd72b6bdcdba289b7456687d9137 | [
"MIT"
] | null | null | null | app/Models/Backpack.php | likunyan/antic-api | 5d933fd9673fbd72b6bdcdba289b7456687d9137 | [
"MIT"
] | 18 | 2020-04-30T17:08:06.000Z | 2022-03-09T04:53:09.000Z | app/Models/Backpack.php | likunyan/antic-api | 5d933fd9673fbd72b6bdcdba289b7456687d9137 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* App\Models\Backpack.
*
* @method static \Illuminate\Database\Eloquent\Builder|Backpack newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Backpack newQuery()
* @method static \Illuminate\Datab... | 19.904762 | 80 | 0.753589 |
5ad0c838f0ed66508988bf691ce81d7f0b125c93 | 526 | cs | C# | back-end/src/Summer.Application/Apis/Auth/Refresh/RefreshTokenCommand.cs | xiajingren/summer | c7acd995e7e0639a527e5b1123da0ca58a63859f | [
"MIT"
] | 3 | 2021-11-01T11:57:20.000Z | 2022-02-04T16:10:42.000Z | back-end/src/Summer.Application/Apis/Auth/Refresh/RefreshTokenCommand.cs | xiajingren/summer | c7acd995e7e0639a527e5b1123da0ca58a63859f | [
"MIT"
] | 2 | 2021-04-14T06:35:08.000Z | 2021-09-23T07:15:57.000Z | back-end/src/Summer.Application/Apis/Auth/Refresh/RefreshTokenCommand.cs | xiajingren/summer | c7acd995e7e0639a527e5b1123da0ca58a63859f | [
"MIT"
] | null | null | null | using System.Text.Json.Serialization;
using MediatR;
namespace Summer.Application.Apis.Auth.Refresh
{
public class RefreshTokenCommand : IRequest<TokenResponse>
{
[JsonPropertyName("access_token")] public string AccessToken { get; set; }
[JsonPropertyName("refresh_token")] public string Refre... | 29.222222 | 84 | 0.680608 |
e3fa0488a02bdb995d21d9baaa2b9631e40f8be4 | 2,619 | podspec | Ruby | Substrate.podspec | lishuailibertine/Substrate.swift | 554ead7ada40fd530c67668c0dc98955987e937b | [
"Apache-2.0"
] | null | null | null | Substrate.podspec | lishuailibertine/Substrate.swift | 554ead7ada40fd530c67668c0dc98955987e937b | [
"Apache-2.0"
] | null | null | null | Substrate.podspec | lishuailibertine/Substrate.swift | 554ead7ada40fd530c67668c0dc98955987e937b | [
"Apache-2.0"
] | null | null | null | Pod::Spec.new do |s|
s.name = 'Substrate'
s.version = '0.0.1'
s.summary = 'Swift APIs for Polkadot and any Substrate-based chain.'
s.homepage = 'https://github.com/tesseract-one/Substrate.swift'
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }
s.auth... | 29.426966 | 113 | 0.620084 |
46e74090d3945083e878590413413844b35e0d0c | 2,164 | py | Python | Algorithms_easy/0604. Design Compressed String Iterator.py | VinceW0/Leetcode_Python_solutions | 09e9720afce21632372431606ebec4129eb79734 | [
"Xnet",
"X11"
] | 4 | 2020-08-11T20:45:15.000Z | 2021-03-12T00:33:34.000Z | Algorithms_easy/0604. Design Compressed String Iterator.py | VinceW0/Leetcode_Python_solutions | 09e9720afce21632372431606ebec4129eb79734 | [
"Xnet",
"X11"
] | null | null | null | Algorithms_easy/0604. Design Compressed String Iterator.py | VinceW0/Leetcode_Python_solutions | 09e9720afce21632372431606ebec4129eb79734 | [
"Xnet",
"X11"
] | null | null | null | """
0604. Design Compressed String Iterator
Design and implement a data structure for a compressed string iterator. The given compressed string will be in the form of each letter followed by a positive integer representing the number of this letter existing in the original uncompressed string.
Implement the StringIter... | 35.47541 | 250 | 0.689464 |
9e1ea30eacfe82e775ca609d55a86367c5cad717 | 2,661 | cshtml | C# | SampleWebApp/Views/Report/JavaScriptMode.cshtml | EitanBlumin/SSRS-Sample-BasicAuthWithDataDrivenTokens | b1cf27391c7958e78bd2179f796dffda907b1804 | [
"MIT"
] | null | null | null | SampleWebApp/Views/Report/JavaScriptMode.cshtml | EitanBlumin/SSRS-Sample-BasicAuthWithDataDrivenTokens | b1cf27391c7958e78bd2179f796dffda907b1804 | [
"MIT"
] | 2 | 2020-08-24T15:57:48.000Z | 2020-08-24T16:04:23.000Z | SampleWebApp/Views/Report/JavaScriptMode.cshtml | EitanBlumin/SSRS-Sample-BasicAuthWithDataDrivenTokens | b1cf27391c7958e78bd2179f796dffda907b1804 | [
"MIT"
] | null | null | null |
@{
ViewBag.Title = "JavaScript Mode";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>@ViewBag.Title</h2>
<p>
<b><a href="@Html.Raw(ViewBag.reportUrl)" target="_blank">Report URL</a>:</b>
<br />
<pre>@ViewBag.reportUrl</pre>
</p>
<div class="alert-danger" id="errorContainer"></div>
@if (!Strin... | 35.48 | 134 | 0.615182 |
200779d5203ce068c331b2eb7779bbca36fc2e8f | 1,221 | py | Python | lw2/markdown.py | quanticle/accordius | fcaf697caef4779b5eda42f2ad72f73dfa9e4359 | [
"MIT"
] | null | null | null | lw2/markdown.py | quanticle/accordius | fcaf697caef4779b5eda42f2ad72f73dfa9e4359 | [
"MIT"
] | 22 | 2018-09-27T05:06:36.000Z | 2021-06-10T20:50:55.000Z | lw2/markdown.py | quanticle/accordius | fcaf697caef4779b5eda42f2ad72f73dfa9e4359 | [
"MIT"
] | 3 | 2018-09-09T23:37:57.000Z | 2018-10-03T02:16:41.000Z | import markdown
import pdb
extensions_list = [
'toc',
'meta',
'def_list']
try:
from mdx_bleach.extension import BleachExtension
from mdx_bleach.whitelist import ALLOWED_TAGS, ALLOWED_ATTRIBUTES
except ImportError as e:
print(e)
try:
from mdx_pmwiki_tables import pmwiki_tables
except Import... | 25.978723 | 69 | 0.669943 |
af1620a3e8c7154e40c75756f0f3efb30e0b57c2 | 3,059 | py | Python | english_frequencies.py | MasterScott/matasano-cryptochallenges | 4c5c3b37e57a9425b52e65c2eb8db23481c3ef51 | [
"MIT"
] | null | null | null | english_frequencies.py | MasterScott/matasano-cryptochallenges | 4c5c3b37e57a9425b52e65c2eb8db23481c3ef51 | [
"MIT"
] | 1 | 2017-04-17T17:03:02.000Z | 2017-04-17T17:03:02.000Z | english_frequencies.py | MasterScott/matasano-cryptochallenges | 4c5c3b37e57a9425b52e65c2eb8db23481c3ef51 | [
"MIT"
] | 2 | 2017-04-17T17:03:09.000Z | 2019-10-28T23:33:44.000Z | # http://norvig.com/mayzner.html
character_frequencies = {
'a': 8.04,
'c': 3.34,
'b': 1.48,
'e': 12.49,
'd': 3.82,
'g': 1.87,
'f': 2.40,
'i': 7.57,
'h': 5.05,
'k': 0.54,
'j': 0.16,
'm': 2.51,
'l': 4.07,
'o': 7.64,
'n': 7.23,
'q': 0.12,
'p': 2.14,
... | 17.58046 | 83 | 0.428245 |
f4031b6a167d500a0238247ccd0946492e50a40f | 9,922 | cs | C# | CarNavigationRLTest/CarNavigationRLController.cs | hunsteve/RLResearch | 81f3bb4c1343a4563fb77b7b0f8892e7582e8141 | [
"MIT"
] | 1 | 2016-07-06T10:17:54.000Z | 2016-07-06T10:17:54.000Z | CarNavigationRLTest/CarNavigationRLController.cs | hunsteve/RLResearch | 81f3bb4c1343a4563fb77b7b0f8892e7582e8141 | [
"MIT"
] | null | null | null | CarNavigationRLTest/CarNavigationRLController.cs | hunsteve/RLResearch | 81f3bb4c1343a4563fb77b7b0f8892e7582e8141 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ContinuousRLTest;
using OnlabNeuralis;
using System.IO;
using System.IO.Compression;
namespace CarNavigationRLTest
{
public class CarNavigationAction : ReinforcementLearningAction
{
public double a... | 33.52027 | 147 | 0.45898 |
1ae34b82f074743215974444b53b1a16d9fd5fd8 | 2,373 | swift | Swift | firebase_restaurant_assignment/firebase_restaurant_assignment/viewcontrollers/ViewController.swift | suwinphyu/iOS_Firebase | d8bab1da85eb4ba7bef39de216a88d86333a4369 | [
"MIT"
] | null | null | null | firebase_restaurant_assignment/firebase_restaurant_assignment/viewcontrollers/ViewController.swift | suwinphyu/iOS_Firebase | d8bab1da85eb4ba7bef39de216a88d86333a4369 | [
"MIT"
] | null | null | null | firebase_restaurant_assignment/firebase_restaurant_assignment/viewcontrollers/ViewController.swift | suwinphyu/iOS_Firebase | d8bab1da85eb4ba7bef39de216a88d86333a4369 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// firebase_restaurant_assignment
//
// Created by Su Win Phyu on 10/23/19.
// Copyright © 2019 swp. All rights reserved.
//
import UIKit
import XLPagerTabStrip
class ViewController: ButtonBarPagerTabStripViewController {
// let purpleInspireColor = UIColor(red:0.13, green:0.03, blu... | 47.46 | 194 | 0.735356 |
2431aedcc556ac1750306a165fe5cac90d969e2d | 5,365 | lua | Lua | Master.lua | kien-vu/Atari | 45664a05bac06d453981e8de5e0d577aba6ba79a | [
"MIT"
] | 301 | 2015-12-26T21:04:20.000Z | 2022-02-17T02:36:02.000Z | Master.lua | kien-vu/Atari | 45664a05bac06d453981e8de5e0d577aba6ba79a | [
"MIT"
] | 60 | 2016-01-22T13:25:14.000Z | 2018-02-08T14:43:59.000Z | Master.lua | kien-vu/Atari | 45664a05bac06d453981e8de5e0d577aba6ba79a | [
"MIT"
] | 92 | 2016-03-07T17:01:50.000Z | 2022-03-16T07:28:08.000Z | local classic = require 'classic'
local signal = require 'posix.signal'
local Singleton = require 'structures/Singleton'
local Agent = require 'Agent'
local Display = require 'Display'
local Validation = require 'Validation'
local Master = classic.class('Master')
-- Sets up environment and agent
function Master:_init... | 31.558824 | 150 | 0.676235 |
85047ebf13aba30400a309e5c63b92835642e437 | 389 | cs | C# | AppInspector/Result.cs | szlatkow/ApplicationInspector | 0f2decd67940d78759cf3e3bc2f440134e1acbd9 | [
"MIT"
] | 3 | 2021-07-29T02:48:49.000Z | 2021-09-14T10:29:37.000Z | AppInspector/Result.cs | szlatkow/ApplicationInspector | 0f2decd67940d78759cf3e3bc2f440134e1acbd9 | [
"MIT"
] | null | null | null | AppInspector/Result.cs | szlatkow/ApplicationInspector | 0f2decd67940d78759cf3e3bc2f440134e1acbd9 | [
"MIT"
] | 2 | 2021-09-14T18:15:49.000Z | 2021-09-14T18:15:51.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.ApplicationInspector.Commands
{
using Newtonsoft.Json;
/// <summary>
/// base for all command operation results
/// </summary>
public class Result
{
[JsonProperty(Order = 1, PropertyName = "... | 24.3125 | 62 | 0.650386 |
b2e01d77a413dc39ec6c697424a3e146420265b2 | 693 | dart | Dart | lib/src/app_page.dart | kodiks/master_page | 91c5672ce3539df4d441ce742b2d11709b087a98 | [
"MIT"
] | 1 | 2020-02-19T11:45:59.000Z | 2020-02-19T11:45:59.000Z | lib/src/app_page.dart | kodiks/master_page | 91c5672ce3539df4d441ce742b2d11709b087a98 | [
"MIT"
] | null | null | null | lib/src/app_page.dart | kodiks/master_page | 91c5672ce3539df4d441ce742b2d11709b087a98 | [
"MIT"
] | null | null | null | // library app_page;
import 'package:flutter/material.dart';
/// Main pages data model
class AppPage {
/// Name must be uniq
final String name;
final PageRoute route;
final IconData icon;
/// Title shown on bottom navigation bar
final String title;
GlobalKey<NavigatorState> navigatorKey;
RouteObserve... | 23.896552 | 69 | 0.717172 |
46f8aacff3e28a3e120ec8c6ec9045b46741fa22 | 506 | sql | SQL | openGaussBase/testcase/KEYWORDS/bigint/Opengauss_Function_Keyword_Bigint_Case0023.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/bigint/Opengauss_Function_Keyword_Bigint_Case0023.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/bigint/Opengauss_Function_Keyword_Bigint_Case0023.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint: opengauss关键字bigint非保留),作为索引名,部分测试点合理报错
--前置条件,创建一个表
drop table if exists bigint_test;
create table bigint_test(id int,name varchar(10));
--关键字不带引号-成功
drop index if exists bigint;
create index bigint on bigint_test(id);
--清理环境
drop index bigint;
--关键字带双引号-成功
drop index if exists "bigint";
create index ... | 19.461538 | 53 | 0.756917 |
126c8931b5ae658b91ea0686b9814cc956dc365e | 522 | cs | C# | O3656 Sharepoint/O3656-6 Deep Dive into Search Scenarios in Office 365/Lab Files/Person.cs | patbosc/officedevts2015 | c2d55907886cbf53ed7340e639f6fde808451d46 | [
"MIT"
] | 2 | 2020-11-10T08:37:40.000Z | 2021-08-30T21:20:22.000Z | O3656 Sharepoint/O3656-6 Deep Dive into Search Scenarios in Office 365/Lab Files/Person.cs | patbosc/officedevts2015 | c2d55907886cbf53ed7340e639f6fde808451d46 | [
"MIT"
] | null | null | null | O3656 Sharepoint/O3656-6 Deep Dive into Search Scenarios in Office 365/Lab Files/Person.cs | patbosc/officedevts2015 | c2d55907886cbf53ed7340e639f6fde808451d46 | [
"MIT"
] | 2 | 2020-04-17T15:05:11.000Z | 2020-11-17T19:03:44.000Z | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
namespace EmployeeDirectoryWeb.Models
{
public class Person
{
[DisplayName("First Name")]
public string FirstName { get; set; }
[DisplayName("Last Name")]
public s... | 21.75 | 45 | 0.6341 |
6d57c44b05232a1b4b04f262a4e70959fb284173 | 843,717 | sql | SQL | _data/u879987140_db.20211122153354.sql | chidokato/haithinhland.com | 6234001503088e3a1b7fab2985f7fce43aad79cc | [
"MIT"
] | null | null | null | _data/u879987140_db.20211122153354.sql | chidokato/haithinhland.com | 6234001503088e3a1b7fab2985f7fce43aad79cc | [
"MIT"
] | null | null | null | _data/u879987140_db.20211122153354.sql | chidokato/haithinhland.com | 6234001503088e3a1b7fab2985f7fce43aad79cc | [
"MIT"
] | null | null | null | -- MariaDB dump 10.19 Distrib 10.5.12-MariaDB, for Linux (x86_64)
--
-- Host: localhost Database: u879987140_db
-- ------------------------------------------------------
-- Server version 10.5.12-MariaDB-cll-lve
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESUL... | 1,577.041121 | 635,859 | 0.698123 |
999d9823c86017bf76e341cea3a64fb6fca509a5 | 5,591 | rs | Rust | src/types/chat/member.rs | vldm/tgbot | 2ec23cfd61dfe9acd994a23fc21a64d52d280dfc | [
"MIT"
] | null | null | null | src/types/chat/member.rs | vldm/tgbot | 2ec23cfd61dfe9acd994a23fc21a64d52d280dfc | [
"MIT"
] | null | null | null | src/types/chat/member.rs | vldm/tgbot | 2ec23cfd61dfe9acd994a23fc21a64d52d280dfc | [
"MIT"
] | null | null | null | use crate::types::{
chat::raw::{RawChatMember, RawChatMemberStatus},
primitive::Integer,
user::User,
};
use serde::de::{Deserialize, Deserializer, Error};
/// Information about one member of a chat
#[derive(Clone, Debug)]
pub enum ChatMember {
/// Chat admin
Administrator(ChatMemberAdministrator),
... | 37.02649 | 101 | 0.63638 |
f57b2b7bf1f31db9a3d2b97e8ad2e42306fb5bb4 | 13,712 | lua | Lua | src/lluv/pg/fsm.lua | moteus/lua-lluv-pg | 8fcb320405b3604cc528ed8c5d61e98a55303aaa | [
"MIT"
] | 5 | 2015-05-20T05:36:20.000Z | 2021-02-19T11:09:46.000Z | src/lluv/pg/fsm.lua | moteus/lua-lluv-pg | 8fcb320405b3604cc528ed8c5d61e98a55303aaa | [
"MIT"
] | null | null | null | src/lluv/pg/fsm.lua | moteus/lua-lluv-pg | 8fcb320405b3604cc528ed8c5d61e98a55303aaa | [
"MIT"
] | null | null | null | local md5 = require "md5"
local ut = require "lluv.utils"
local struct = require "lluv.pg.utils.bin"
local FSM = require "lluv.pg.utils.fsm"
local MessageEncoder = require "lluv.pg.msg".encoder
local MessageDecoder = require "lluv.pg.msg".decoder
local DataTypes = require ... | 23.600688 | 88 | 0.649869 |
75542c0b61524b02b9c3a087321d9027908c0f0b | 1,699 | css | CSS | resources/js/components/signUp/signup.css | mohamedhaouali/to-do-list-laravel-react | e52fb753218b31af7fb6cd093a977b7f7b37614a | [
"MIT"
] | null | null | null | resources/js/components/signUp/signup.css | mohamedhaouali/to-do-list-laravel-react | e52fb753218b31af7fb6cd093a977b7f7b37614a | [
"MIT"
] | null | null | null | resources/js/components/signUp/signup.css | mohamedhaouali/to-do-list-laravel-react | e52fb753218b31af7fb6cd093a977b7f7b37614a | [
"MIT"
] | null | null | null | .containers {
background-color: #A2A2A1FF;
padding: 20px 40px;
color: #fff;
font-weight: 600;
box-shadow: 7px -8px 11px -5px rgba(#195190FF);
}
.Tab{
display: flex;
justify-content: space-between;
}
.signUp, .signIn{
background-color: #A2A2A1FF;
width:50%;
font-size: 22px;
c... | 22.064935 | 96 | 0.653914 |
dd71fac4f7d0d7bc07e83facc35219f2113ec416 | 890 | kt | Kotlin | src/main/kotlin/com/swisschain/matching/engine/holders/AssetsHolder.kt | swisschain/Exchange.MatchingEngine | 5ef23544e9c5b21864ec1de7ad0f3e254044bbaa | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/swisschain/matching/engine/holders/AssetsHolder.kt | swisschain/Exchange.MatchingEngine | 5ef23544e9c5b21864ec1de7ad0f3e254044bbaa | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/swisschain/matching/engine/holders/AssetsHolder.kt | swisschain/Exchange.MatchingEngine | 5ef23544e9c5b21864ec1de7ad0f3e254044bbaa | [
"Apache-2.0"
] | null | null | null | package com.swisschain.matching.engine.holders
import com.swisschain.matching.engine.daos.Asset
import com.swisschain.matching.engine.database.cache.AssetsCache
import com.swisschain.matching.engine.services.validators.impl.ValidationException
import com.swisschain.matching.engine.services.validators.impl.ValidationEx... | 46.842105 | 129 | 0.81236 |
c8e78e0ef68f302442090f692400533f86e0c2e7 | 930 | css | CSS | estilo/estilo.css | rafaeiro/Epoque | 4066ea04ec20142ca213bd3a62dc6977b2994cca | [
"MIT"
] | null | null | null | estilo/estilo.css | rafaeiro/Epoque | 4066ea04ec20142ca213bd3a62dc6977b2994cca | [
"MIT"
] | null | null | null | estilo/estilo.css | rafaeiro/Epoque | 4066ea04ec20142ca213bd3a62dc6977b2994cca | [
"MIT"
] | null | null | null | * {
margin: 0
padding: 0
}
nav {
width: 100%
display: block
margin-left: auto
margin-right: auto
}
div {
width: 60%
height: 60px
position: relative
margin-left: auto
margin-right: auto
}
.menu {
position: relative
list-style: none
float: left
}
.menu li {
position: relative
float: le... | 13.880597 | 55 | 0.63871 |
95939d842243f86098fe5e5f5e91d1ca640cf6c3 | 3,603 | rb | Ruby | management/azure_mgmt_security/lib/2020-07-01-preview/generated/azure_mgmt_security/models/baseline_adjusted_result.rb | kbrock/azure-sdk-for-ruby | 5d2b89fc6b3a551b6376ee3b39030d6aaf9e0faa | [
"MIT"
] | 237 | 2015-01-03T03:57:55.000Z | 2022-03-31T09:41:58.000Z | management/azure_mgmt_security/lib/2020-07-01-preview/generated/azure_mgmt_security/models/baseline_adjusted_result.rb | kbrock/azure-sdk-for-ruby | 5d2b89fc6b3a551b6376ee3b39030d6aaf9e0faa | [
"MIT"
] | 1,785 | 2015-01-13T19:32:37.000Z | 2021-08-24T13:58:11.000Z | management/azure_mgmt_security/lib/2020-07-01-preview/generated/azure_mgmt_security/models/baseline_adjusted_result.rb | kbrock/azure-sdk-for-ruby | 5d2b89fc6b3a551b6376ee3b39030d6aaf9e0faa | [
"MIT"
] | 242 | 2015-01-14T15:49:48.000Z | 2022-01-28T18:35:08.000Z | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Security::Mgmt::V2020_07_01_preview
module Models
#
# The rule result adjusted with baseline.
#
class BaselineAdjustedResult... | 31.605263 | 78 | 0.439634 |
a4ae72101860316031936c24038484f47b161c1e | 148 | rs | Rust | kolgac/src/lib.rs | cjkenn/snow | 7997d30a823e26ac2e79a6b0f5a42ce4388b28ac | [
"MIT"
] | 1 | 2020-05-30T01:45:34.000Z | 2020-05-30T01:45:34.000Z | kolgac/src/lib.rs | cjkenn/kolga | 7997d30a823e26ac2e79a6b0f5a42ce4388b28ac | [
"MIT"
] | null | null | null | kolgac/src/lib.rs | cjkenn/kolga | 7997d30a823e26ac2e79a6b0f5a42ce4388b28ac | [
"MIT"
] | null | null | null | extern crate kolgac_errors;
pub mod ast;
pub mod lexer;
pub mod parser;
pub mod sym;
pub mod symtab;
pub mod token;
pub mod ty_rec;
pub mod visit;
| 13.454545 | 27 | 0.75 |
3887f6f1e82428415157f11802d17cf7e0074ab7 | 3,626 | php | PHP | public/wp-content/plugins/awebooking/inc/Admin/Pages/About_Page.php | frobben/lecoffeeride | 5f26edb991b26d00f348059d40395782b1488fb8 | [
"MIT"
] | null | null | null | public/wp-content/plugins/awebooking/inc/Admin/Pages/About_Page.php | frobben/lecoffeeride | 5f26edb991b26d00f348059d40395782b1488fb8 | [
"MIT"
] | null | null | null | public/wp-content/plugins/awebooking/inc/Admin/Pages/About_Page.php | frobben/lecoffeeride | 5f26edb991b26d00f348059d40395782b1488fb8 | [
"MIT"
] | null | null | null | <?php
namespace AweBooking\Admin\Pages;
use Skeleton\Support\Priority_List;
class About_Page {
/**
* Tabs collection to render.
*
* @var Priority_List
*/
protected $tabs;
/**
* Admin welcome constructor.
*/
public function __construct() {
$this->tabs = new Priority_List;
$this->add_tab( array(
... | 22.109756 | 128 | 0.570877 |
b84553914b6fe446c0db6de44d78979687811fea | 1,682 | sh | Shell | scripts/make_kubeadm-config.sh | izewfktvy533zjmn/Build_HA_RasPi_K8s_Cluster | 806641a4f72a55c264f57e2c865e6929b3461edf | [
"MIT"
] | null | null | null | scripts/make_kubeadm-config.sh | izewfktvy533zjmn/Build_HA_RasPi_K8s_Cluster | 806641a4f72a55c264f57e2c865e6929b3461edf | [
"MIT"
] | null | null | null | scripts/make_kubeadm-config.sh | izewfktvy533zjmn/Build_HA_RasPi_K8s_Cluster | 806641a4f72a55c264f57e2c865e6929b3461edf | [
"MIT"
] | null | null | null | #!/bin/bash
if [ $(whoami) != "pi" ]; then
echo 'You are not pi user.'
echo 'You need to be pi user authority to execute.'
exit 1
fi
if [ $# -ne 2 ]; then
echo "Usage: $0 LOAD_BALANCER_IP_ADDRESS LOAD_BALANCER_PORT"
exit 1
fi
LOAD_BALANCER_ADDR=$1
LOAD_BALANCER_PORT=$2
if [ -f $HOME/raspi-ha-k8s... | 49.470588 | 128 | 0.564804 |
e40b6cc5ad468244f55790a8078e14fccdee58c7 | 7,008 | cs | C# | src/Microsoft.Graph/Generated/model/AccessReviewInstanceDecisionItem.cs | microsoftgraph/msgraph-beta-sdk-dotnet | 7c80ee89438dcf5a196b4c72b07feab44295eb7c | [
"MIT"
] | 71 | 2019-03-18T17:15:08.000Z | 2022-02-24T23:05:11.000Z | src/Microsoft.Graph/Generated/model/AccessReviewInstanceDecisionItem.cs | microsoftgraph/msgraph-beta-sdk-dotnet | 7c80ee89438dcf5a196b4c72b07feab44295eb7c | [
"MIT"
] | 248 | 2019-03-25T13:04:57.000Z | 2022-03-31T22:49:58.000Z | src/Microsoft.Graph/Generated/model/AccessReviewInstanceDecisionItem.cs | microsoftgraph/msgraph-beta-sdk-dotnet | 7c80ee89438dcf5a196b4c72b07feab44295eb7c | [
"MIT"
] | 30 | 2019-10-06T23:18:37.000Z | 2022-02-22T10:00:00.000Z | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 48.666667 | 416 | 0.632848 |
0717923cc1af049e3bdedafb3226a3d531370f2f | 348 | lua | Lua | cocos2d/cocos/scripting/lua-bindings/auto/api/EventKeyboard.lua | DiaoYung/AdmobDemo | 881de1000a496d8f128d7ac75b2cebdeb96bcde5 | [
"Apache-2.0"
] | 1 | 2017-10-07T01:04:25.000Z | 2017-10-07T01:04:25.000Z | cocos2d/cocos/scripting/lua-bindings/auto/api/EventKeyboard.lua | DiaoYung/AdmobDemo | 881de1000a496d8f128d7ac75b2cebdeb96bcde5 | [
"Apache-2.0"
] | null | null | null | cocos2d/cocos/scripting/lua-bindings/auto/api/EventKeyboard.lua | DiaoYung/AdmobDemo | 881de1000a496d8f128d7ac75b2cebdeb96bcde5 | [
"Apache-2.0"
] | null | null | null |
--------------------------------
-- @module EventKeyboard
-- @extend Event
-- @parent_module cc
--------------------------------
--
-- @function [parent=#EventKeyboard] EventKeyboard
-- @param self
-- @param #int keyCode
-- @param #bool isPressed
-- @return EventKeyboard#EventKeyboard self (return value: cc.EventKe... | 21.75 | 76 | 0.568966 |
bd8699b48a071ef5d02fe345941810ddfdadc7d4 | 831 | swift | Swift | CycleScrollViewDemo/Sources/DotView.swift | venj/CycleScrollView | 4e576d2575b7e96e88f89282489030f9256b3798 | [
"MIT"
] | 1 | 2016-02-27T05:45:20.000Z | 2016-02-27T05:45:20.000Z | CycleScrollViewDemo/Sources/DotView.swift | venj/CycleScrollView | 4e576d2575b7e96e88f89282489030f9256b3798 | [
"MIT"
] | null | null | null | CycleScrollViewDemo/Sources/DotView.swift | venj/CycleScrollView | 4e576d2575b7e96e88f89282489030f9256b3798 | [
"MIT"
] | null | null | null | //
// DotView.swift
// SDCycleScrollView
//
// Created by 朱文杰 on 16/2/25.
// Copyright © 2016年 GSD. All rights reserved.
//
import UIKit
public class DotView : UIView {
public init() {
super.init(frame: CGRectZero)
setup()
}
required public init?(coder aDecoder: NSCoder) {
sup... | 21.868421 | 78 | 0.614922 |
c39dd3e0a65c7554914b6e49782d5af3486ffd96 | 28,388 | cs | C# | src/Lykke.Common/Utils.cs | SC-Poc/CommonDotNetLibraries | cd46db0eb3512a34f68e946c644ad2f323227662 | [
"MIT"
] | null | null | null | src/Lykke.Common/Utils.cs | SC-Poc/CommonDotNetLibraries | cd46db0eb3512a34f68e946c644ad2f323227662 | [
"MIT"
] | 2 | 2017-10-25T13:51:02.000Z | 2018-05-22T00:06:28.000Z | src/Lykke.Common/Utils.cs | SC-Poc/CommonDotNetLibraries | cd46db0eb3512a34f68e946c644ad2f323227662 | [
"MIT"
] | 3 | 2017-03-30T11:47:18.000Z | 2020-03-09T15:51:03.000Z | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Common.Log;
using System.Reflection;
using MoreLinq;
namespace Common
{
public static class Utils
{
private static re... | 31.127193 | 162 | 0.480767 |
db9c51c3a9c488dcab94ca297da30ff9266859df | 935 | php | PHP | app/Models/evaluaciones.php | Jorge0804/Ev-Prov | 430af9fd08e52bc7906a612f6ccecb3770ee6414 | [
"MIT"
] | null | null | null | app/Models/evaluaciones.php | Jorge0804/Ev-Prov | 430af9fd08e52bc7906a612f6ccecb3770ee6414 | [
"MIT"
] | null | null | null | app/Models/evaluaciones.php | Jorge0804/Ev-Prov | 430af9fd08e52bc7906a612f6ccecb3770ee6414 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class evaluaciones extends Model
{
use HasFactory;
protected $primaryKey = 'id_evaluacion';
public $timestamps = false;
function factores(){
return $this->belongsToMany... | 29.21875 | 123 | 0.683422 |
b927ec25b99f2cd029d21b892b49c72cf16c8e15 | 100 | swift | Swift | ImageMetadata/Utility/LogResultsProtocol.swift | kevintavog/ImageMetadata | 88ae193c77de1c597789e6fb2d150359a4bf5793 | [
"MIT"
] | null | null | null | ImageMetadata/Utility/LogResultsProtocol.swift | kevintavog/ImageMetadata | 88ae193c77de1c597789e6fb2d150359a4bf5793 | [
"MIT"
] | null | null | null | ImageMetadata/Utility/LogResultsProtocol.swift | kevintavog/ImageMetadata | 88ae193c77de1c597789e6fb2d150359a4bf5793 | [
"MIT"
] | null | null | null | //
public protocol LogResults {
func log(_ message: String)
var isCanceled: Bool { get }
}
| 14.285714 | 32 | 0.65 |
f46de4806391934d57c71a9810c593dcd88d7194 | 878 | cs | C# | LeagueClient/LGO.LeagueClient.LocalGameReader/Model/Game/MutableLeagueClientGameStats.cs | LeagueGameObserver/LGO.Backend | 35f625c22600caea95a02534db38e5ccb71f3f56 | [
"MIT"
] | null | null | null | LeagueClient/LGO.LeagueClient.LocalGameReader/Model/Game/MutableLeagueClientGameStats.cs | LeagueGameObserver/LGO.Backend | 35f625c22600caea95a02534db38e5ccb71f3f56 | [
"MIT"
] | null | null | null | LeagueClient/LGO.LeagueClient.LocalGameReader/Model/Game/MutableLeagueClientGameStats.cs | LeagueGameObserver/LGO.Backend | 35f625c22600caea95a02534db38e5ccb71f3f56 | [
"MIT"
] | null | null | null | using System;
using LGO.Backend.Core.Model.League.Enum;
using LGO.LeagueClient.LocalGameReader.Converter;
using LGO.LeagueClient.Model.Game;
using Newtonsoft.Json;
namespace LGO.LeagueClient.LocalGameReader.Model.Game
{
internal class MutableLeagueClientGameStats : ILeagueClientGameStats
{
[JsonProper... | 35.12 | 88 | 0.714123 |
da5fa080611ce6953e3c364d6e176135ce2af7a1 | 13,665 | php | PHP | app/Http/Controllers/SuperAdmin/Elearnings/TestsReports/TestReportsController.php | ramsharan0230/ican-lms | 0347dbe670967ba8715b1b3f3c78bd493e1adedd | [
"MIT"
] | null | null | null | app/Http/Controllers/SuperAdmin/Elearnings/TestsReports/TestReportsController.php | ramsharan0230/ican-lms | 0347dbe670967ba8715b1b3f3c78bd493e1adedd | [
"MIT"
] | null | null | null | app/Http/Controllers/SuperAdmin/Elearnings/TestsReports/TestReportsController.php | ramsharan0230/ican-lms | 0347dbe670967ba8715b1b3f3c78bd493e1adedd | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\SuperAdmin\Elearnings\TestsReports;
use App\Models\TestResult;
use App\Models\Course;
use App\Models\AssignCourse;
use App\Models\User;
use App\Models\TimeSet;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Contracts\Auth\Guard;
use App\Http\Contr... | 46.322034 | 405 | 0.571314 |
b753b8692c7ec697d39561edc5c1db88cb580fcd | 1,485 | cs | C# | Unit Testing with C#/Unit Testing/Task 2/TestDeckClass/UnitTest1.cs | Paskow/Telerik-Academy-JavaScript-Homeworks | 05ae0d5b6388be06a1b64940950c6a623bb7eecd | [
"MIT"
] | null | null | null | Unit Testing with C#/Unit Testing/Task 2/TestDeckClass/UnitTest1.cs | Paskow/Telerik-Academy-JavaScript-Homeworks | 05ae0d5b6388be06a1b64940950c6a623bb7eecd | [
"MIT"
] | null | null | null | Unit Testing with C#/Unit Testing/Task 2/TestDeckClass/UnitTest1.cs | Paskow/Telerik-Academy-JavaScript-Homeworks | 05ae0d5b6388be06a1b64940950c6a623bb7eecd | [
"MIT"
] | null | null | null | using System;
using Santase.Logic.Cards;
using NUnit.Framework;
using Santase.Logic;
namespace TestDeckClass
{
[TestFixture]
public class UnitTest1
{
[Test]
public void IntializeDeckClass_ShouldInitializeCorrectly()
{
var deck = new Deck();
Assert.AreEqual(2... | 23.571429 | 84 | 0.525926 |
da26aa89c61b4a6e5048ebf559ca16597aa1ee86 | 2,031 | rb | Ruby | test/integration/users_edit_test.rb | Broadstrokes/sample_app | c8978f2bd40bf2e732c76e4f252d22cf13947bf6 | [
"Ruby",
"Beerware",
"MIT"
] | null | null | null | test/integration/users_edit_test.rb | Broadstrokes/sample_app | c8978f2bd40bf2e732c76e4f252d22cf13947bf6 | [
"Ruby",
"Beerware",
"MIT"
] | null | null | null | test/integration/users_edit_test.rb | Broadstrokes/sample_app | c8978f2bd40bf2e732c76e4f252d22cf13947bf6 | [
"Ruby",
"Beerware",
"MIT"
] | null | null | null | require 'test_helper'
class UsersEditTest < ActionDispatch::IntegrationTest
def setup
@user = users(:michael)
end
# The test checks for the correct behavior
# by verifying that the edit template is rendered after
# getting the edit page and re-rendered upon submission
# of invalid information
... | 25.708861 | 60 | 0.645002 |
9a6a72e252e8c72b9b7237e42f00e5cdf17b3e6b | 4,700 | ps1 | PowerShell | powershell/Tests/L0/Write-LoggingCommand.WritesCommand.ps1 | YasserHayali/azure-pipelines-task-lib | 62c92b5236c900500752862a13378ae3deac84e5 | [
"MIT"
] | 161 | 2016-01-15T22:58:09.000Z | 2018-10-12T20:45:20.000Z | powershell/Tests/L0/Write-LoggingCommand.WritesCommand.ps1 | jeffw16/azure-pipelines-task-lib | 7b32ca7fb2d2f6fe966dd2b413b6f38a1a6eeebf | [
"MIT"
] | 269 | 2016-01-25T16:36:21.000Z | 2018-10-12T20:19:27.000Z | powershell/Tests/L0/Write-LoggingCommand.WritesCommand.ps1 | eriawan/azure-pipelines-task-lib | 2f33a98ba5ba53488286e0f4c5120e014193c91d | [
"MIT"
] | 123 | 2019-05-13T06:11:25.000Z | 2022-03-18T13:33:49.000Z | [CmdletBinding()]
param()
function global:Assert-HostMessage {
[CmdletBinding()]
param(
[Parameter(Mandatory = $true)]
[string]$Expected,
[string]$AlternateExpected,
[Parameter(Mandatory = $true)]
[string[]]$HostMessages)
Trace-VstsEnteringInvocation $MyInvocation
... | 35.606061 | 140 | 0.522553 |
e741e8c48fa3f25dff158bd40b4239f602a651f8 | 531 | php | PHP | app/Models/Distribucion.php | jormarsikiu/Mipro | 81dfb5340065aef9d60b0b00f228d31c258cb8f4 | [
"MIT"
] | null | null | null | app/Models/Distribucion.php | jormarsikiu/Mipro | 81dfb5340065aef9d60b0b00f228d31c258cb8f4 | [
"MIT"
] | null | null | null | app/Models/Distribucion.php | jormarsikiu/Mipro | 81dfb5340065aef9d60b0b00f228d31c258cb8f4 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Distribucion extends Model
{
public $incrementing = false;
/**
* Atributos de la tabla Producto
*/
protected $fillable = [
'id', 'fabricante', 'mayorista', 'minorista', 'consumidor', 'esperar_cliente', ... | 18.964286 | 129 | 0.60452 |
589031dcfa510317895ec6bf6cc5327db7207ffb | 342 | css | CSS | src/components/splash-screen-container.module.css | Citi-Hackathon-G2/frontend | 5fdf36c024a1f840db160edc84509ce1adf3eca7 | [
"MIT"
] | null | null | null | src/components/splash-screen-container.module.css | Citi-Hackathon-G2/frontend | 5fdf36c024a1f840db160edc84509ce1adf3eca7 | [
"MIT"
] | 1 | 2021-08-05T08:12:19.000Z | 2021-08-05T08:12:19.000Z | src/components/splash-screen-container.module.css | Citi-Hackathon-G2/frontend | 5fdf36c024a1f840db160edc84509ce1adf3eca7 | [
"MIT"
] | null | null | null | .container {
height: 100vh;
width: 100vw;
}
.splashScreenContainer {
/* position: absolute; */
display: flex;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
animation: fadeOut 2.1s linear ;
background-color: white;
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
... | 12.666667 | 34 | 0.625731 |
f498c24e6e8b6c03509197d1d95ce57339b4b236 | 2,759 | swift | Swift | RiotSwiftUI/Modules/Common/Util/SearchBar.swift | elsiehupp/element-ios | faea2de85b9e61717acbf5d997812f3ca627ac24 | [
"Apache-2.0"
] | 644 | 2016-12-03T23:53:19.000Z | 2020-08-01T20:45:42.000Z | RiotSwiftUI/Modules/Common/Util/SearchBar.swift | elsiehupp/element-ios | faea2de85b9e61717acbf5d997812f3ca627ac24 | [
"Apache-2.0"
] | 1,755 | 2016-12-02T13:17:36.000Z | 2020-08-03T12:17:32.000Z | RiotSwiftUI/Modules/Common/Util/SearchBar.swift | elsiehupp/element-ios | faea2de85b9e61717acbf5d997812f3ca627ac24 | [
"Apache-2.0"
] | 253 | 2016-12-02T08:11:14.000Z | 2020-08-01T00:55:05.000Z | //
// Copyright 2021 New Vector 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/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | 33.646341 | 126 | 0.516854 |
b095f0f5eb9ef2935bab6b807fbf999db731d5e5 | 257 | py | Python | ui/app/startup.py | BenjaminPelletier/streamtagger | 4dd43ee844d906b8f94002420683ab8531e4b9b9 | [
"MIT"
] | 2 | 2020-03-01T02:31:24.000Z | 2020-03-01T02:37:01.000Z | ui/app/startup.py | BenjaminPelletier/streamtagger | 4dd43ee844d906b8f94002420683ab8531e4b9b9 | [
"MIT"
] | 14 | 2019-12-06T21:14:32.000Z | 2020-03-10T18:38:27.000Z | ui/app/startup.py | BenjaminPelletier/streamtagger | 4dd43ee844d906b8f94002420683ab8531e4b9b9 | [
"MIT"
] | null | null | null | import logging
from .lib import dbinit
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO)
log = logging.getLogger('streamtagger')
log.info('Initializing database...')
dbinit.init_db()
log.info('Startup complete; system ready.')
| 21.416667 | 75 | 0.754864 |
3e4716d7d9776ceb528812f520660c513e0b150f | 2,473 | lua | Lua | serial.lua | hpd96/easymeter | d8bc9e0a4a774139fa722c63115208ad1e48b7a3 | [
"MIT"
] | 2 | 2019-02-10T01:55:47.000Z | 2019-02-12T22:51:55.000Z | serial.lua | hpd96/easymeter | d8bc9e0a4a774139fa722c63115208ad1e48b7a3 | [
"MIT"
] | null | null | null | serial.lua | hpd96/easymeter | d8bc9e0a4a774139fa722c63115208ad1e48b7a3 | [
"MIT"
] | null | null | null | #!/usr/bin/env lua
-- require 'dbg'
local SER_DEV = '/dev/ttyUSB0'
local MSG_LEN_HEX = 460
local MSG_LEN_BIN = 288
local SML_START_SEQUENCE = '1B1B1B1B0101010176'
function StringBytesToNumber(str)
local hextxt = ''
local len = #str
for i = 1,len do
ttt... | 19.943548 | 93 | 0.571371 |
f50841f77aaa63416ad5face39d88d624f04b169 | 10,279 | sql | SQL | Tests/materials/ms-sql/sqlsrvanalysissrvcs/MonitoringSSAS/config_data_server/get_session_dmv_info_by_time.sql | RomanBelkov/YaccConstructor | f3422cf5d152a63ceff13609c5bfd271958bf345 | [
"Apache-2.0"
] | null | null | null | Tests/materials/ms-sql/sqlsrvanalysissrvcs/MonitoringSSAS/config_data_server/get_session_dmv_info_by_time.sql | RomanBelkov/YaccConstructor | f3422cf5d152a63ceff13609c5bfd271958bf345 | [
"Apache-2.0"
] | null | null | null | Tests/materials/ms-sql/sqlsrvanalysissrvcs/MonitoringSSAS/config_data_server/get_session_dmv_info_by_time.sql | RomanBelkov/YaccConstructor | f3422cf5d152a63ceff13609c5bfd271958bf345 | [
"Apache-2.0"
] | 1 | 2020-01-21T17:39:33.000Z | 2020-01-21T17:39:33.000Z | USE [mdw_control]
GO
/****** Object: StoredProcedure [ssas].[get_session_dmv_info_by_time] Script Date: 12/23/2008 17:16:34 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[ssas].[get_session_dmv_info_by_time]') AND type in (N'P', N'PC'))
DROP PROCEDURE [ssas].[get_session_dmv_info... | 39.383142 | 204 | 0.662029 |
e7401f7caac49f554cff23db8d9442f18b0ba90c | 677 | php | PHP | database/seeders/VoucherTableSeeder.php | phamduc-99/AHT | eae96d44dc6b518c7667e18aa88abb4028fbabcb | [
"MIT"
] | 1 | 2021-09-24T07:37:23.000Z | 2021-09-24T07:37:23.000Z | database/seeders/VoucherTableSeeder.php | phamduc-99/AHT | eae96d44dc6b518c7667e18aa88abb4028fbabcb | [
"MIT"
] | null | null | null | database/seeders/VoucherTableSeeder.php | phamduc-99/AHT | eae96d44dc6b518c7667e18aa88abb4028fbabcb | [
"MIT"
] | null | null | null | <?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class VoucherTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('vouchers')->delete();
DB::table('vouchers... | 22.566667 | 59 | 0.447563 |
ee1daead9b112650ff92156cde9e174d7a1c149c | 10,057 | lua | Lua | lua/entities/gmod_wire_ranger.lua | Asrielxz/wire | 245f14018432b8e8a11bfc600d9f2c074f3c9539 | [
"Apache-2.0"
] | null | null | null | lua/entities/gmod_wire_ranger.lua | Asrielxz/wire | 245f14018432b8e8a11bfc600d9f2c074f3c9539 | [
"Apache-2.0"
] | null | null | null | lua/entities/gmod_wire_ranger.lua | Asrielxz/wire | 245f14018432b8e8a11bfc600d9f2c074f3c9539 | [
"Apache-2.0"
] | 1 | 2020-09-28T00:36:14.000Z | 2020-09-28T00:36:14.000Z | AddCSLuaFile()
DEFINE_BASECLASS("base_wire_entity")
ENT.PrintName = "Wire Ranger"
ENT.RenderGroup = RENDERGROUP_BOTH
ENT.WireDebugName = "Ranger"
function ENT:SetupDataTables()
self:NetworkVar("Float", 0, "BeamLength")
self:NetworkVar("Bool", 0, "ShowBeam")
self:NetworkVar("Float", 1, "SkewX")
self:Ne... | 30.475758 | 269 | 0.592523 |
57fd5914db8a63d076274d2a3cb0e3388751dd7c | 10,854 | php | PHP | plugins/mv/lib/prepare_content_entry.php | PapooSoftware/PapooCMS | 0f1c30be2a6ac825cad6dad348a957452e545a8d | [
"MIT"
] | 2 | 2021-04-22T14:03:19.000Z | 2021-04-29T12:12:46.000Z | plugins/mv/lib/prepare_content_entry.php | PapooSoftware/PapooCMS | 0f1c30be2a6ac825cad6dad348a957452e545a8d | [
"MIT"
] | 4 | 2021-05-20T12:46:21.000Z | 2021-11-26T16:22:13.000Z | plugins/mv/lib/prepare_content_entry.php | PapooSoftware/PapooCMS | 0f1c30be2a6ac825cad6dad348a957452e545a8d | [
"MIT"
] | null | null | null | <?php
// Vor Aufruf müssen folgende Variablen gesetzt werden:
// $change_or_make auf "change" oder "make"
/**
* Formulardaten für die Speicherung/Updaten in einem SQL Befehlsstring aufbereiten
**/
#$spalten_namen = array();
$spalten_namen = $this->get_spalten_namen();
//Felder Rechte rausholen
$this->get_field_rights_s... | 36.918367 | 144 | 0.634328 |
3911d9b7b3016dc459d79995e2739148ac4f8cd4 | 1,641 | swift | Swift | Sources/Nibe/Services/MongoSessionDriver.swift | rb-de0/nibe | ac34ac5c73c8f8c31e958a79119d9008b16d08fc | [
"MIT"
] | null | null | null | Sources/Nibe/Services/MongoSessionDriver.swift | rb-de0/nibe | ac34ac5c73c8f8c31e958a79119d9008b16d08fc | [
"MIT"
] | null | null | null | Sources/Nibe/Services/MongoSessionDriver.swift | rb-de0/nibe | ac34ac5c73c8f8c31e958a79119d9008b16d08fc | [
"MIT"
] | null | null | null | import Vapor
import MongoKitten
final class MongoSessionDriver: SessionDriver {
func createSession(_ data: SessionData, for request: Request) -> EventLoopFuture<SessionID> {
let sessions = request.mongoDB[Session.collectionName]
let sessionID = generateID()
var session = Session(id: sessio... | 37.295455 | 122 | 0.642291 |
2c3a0a65032c9d4a40c11b538bf26715772f9c2c | 182 | py | Python | coding/dice.py | Hira63S/KnightRyder | d4b7238d8fc8dfcdfbbb9fd5d232f6273c76840e | [
"MIT"
] | 1 | 2020-12-19T15:44:25.000Z | 2020-12-19T15:44:25.000Z | coding/dice.py | Hira63S/PythonPractice | 5eadc04f2fb056b04db59a658d5914ea847be7d2 | [
"MIT"
] | null | null | null | coding/dice.py | Hira63S/PythonPractice | 5eadc04f2fb056b04db59a658d5914ea847be7d2 | [
"MIT"
] | null | null | null | #Rolling dice problem
import random
repeat = True
while repeat:
print("You rolled", random.randint(1,6))
print("Do you want to roll again? Y/N")
repeat = "Y" in input()
| 20.222222 | 44 | 0.664835 |
f124bfc47e8a30e6f9714ae171a822a24c1a9f0e | 1,233 | rb | Ruby | lib/toml_parser/grammar.rb | tskorupa/toml_parser | 820e5d95b59216fa706dd6427fe46ea777dcb56c | [
"MIT"
] | null | null | null | lib/toml_parser/grammar.rb | tskorupa/toml_parser | 820e5d95b59216fa706dd6427fe46ea777dcb56c | [
"MIT"
] | null | null | null | lib/toml_parser/grammar.rb | tskorupa/toml_parser | 820e5d95b59216fa706dd6427fe46ea777dcb56c | [
"MIT"
] | null | null | null | require 'treetop'
module TomlParser
module Grammar
class KeyOfArray < Treetop::Runtime::SyntaxNode
def value
# text_value: '[[foo]]', want to retrieve 'foo'
text_value[2..-3]
end
end
class KeyOfHash < Treetop::Runtime::SyntaxNode
def value
# text_value: '[foo]',... | 22.017857 | 77 | 0.557989 |
2ca763f9f484668de030f51a1d54d415eab86644 | 8,910 | py | Python | src/dogma/game.py | daffidwilde/dogma | 9bd3b6019897b9e4be22b1728760a9222ecf94f7 | [
"MIT"
] | null | null | null | src/dogma/game.py | daffidwilde/dogma | 9bd3b6019897b9e4be22b1728760a9222ecf94f7 | [
"MIT"
] | null | null | null | src/dogma/game.py | daffidwilde/dogma | 9bd3b6019897b9e4be22b1728760a9222ecf94f7 | [
"MIT"
] | null | null | null | """The essential classes and functions to run a game instance."""
import random
class DogmaGame:
"""A class to represent and manage the components of a game."""
def __init__(self, players, seed=None):
if isinstance(seed, int):
random.seed(seed)
self.players = players
se... | 30.409556 | 80 | 0.587654 |
72cae2fad3e77c5fba14266807ea88ea3c137c87 | 1,266 | cs | C# | src/Milou.Deployer.Web.IisHost/Areas/Application/DataModule.cs | milou-se/milou.deployer.web | a47356c4287b3a9ab850b09ac513d9f2976d2e84 | [
"MIT"
] | 1 | 2020-03-06T16:23:49.000Z | 2020-03-06T16:23:49.000Z | src/Milou.Deployer.Web.IisHost/Areas/Application/DataModule.cs | milou-se/milou.deployer.web | a47356c4287b3a9ab850b09ac513d9f2976d2e84 | [
"MIT"
] | 60 | 2019-04-16T12:56:25.000Z | 2020-05-24T16:25:28.000Z | src/Milou.Deployer.Web.IisHost/Areas/Application/DataModule.cs | milou-se/milou.deployer.web | a47356c4287b3a9ab850b09ac513d9f2976d2e84 | [
"MIT"
] | 1 | 2018-05-16T06:48:02.000Z | 2018-05-16T06:48:02.000Z | using System;
using System.Linq;
using System.Reflection;
using Autofac;
using Autofac.Core;
using JetBrains.Annotations;
using Milou.Deployer.Web.Core.Application;
using Milou.Deployer.Web.Core.Extensions;
using Milou.Deployer.Web.Core.Targets;
using Serilog;
using Module = Autofac.Module;
namespace Milou.Deployer.We... | 30.878049 | 89 | 0.676935 |
8de07ab2839472a0157000f3d001b638da644d17 | 607 | js | JavaScript | static/misc/js/login.js | varconf/varconf-ui | 3b2cbfd76729e423599a27dca4bf565d0dfe538a | [
"MIT"
] | 6 | 2020-01-15T05:56:01.000Z | 2021-06-29T03:53:00.000Z | static/misc/js/login.js | varconf/varconf-ui | 3b2cbfd76729e423599a27dca4bf565d0dfe538a | [
"MIT"
] | null | null | null | static/misc/js/login.js | varconf/varconf-ui | 3b2cbfd76729e423599a27dca4bf565d0dfe538a | [
"MIT"
] | 1 | 2021-04-27T12:42:52.000Z | 2021-04-27T12:42:52.000Z | var $ = layui.jquery;
var form = layui.form;
form.on('submit(login)', function (data) {
$.ajax({
type: 'GET',
url: '/user/login',
contentType: "application/json",
dataType: "json",
data: data.field,
success: function(res) {
if (res.success == true) {
... | 25.291667 | 64 | 0.472817 |
72b6dfc8fd524ad13d6920fc50e3157aa91c4ffb | 1,622 | cs | C# | src/FubuMVC.Tests/Diagnostics/RouteColumnTester.cs | riccardod/fubumvc | 503baa6346b32f9ffe13daa453e0ec7ecbd5a630 | [
"Apache-2.0"
] | 1 | 2019-01-16T20:34:30.000Z | 2019-01-16T20:34:30.000Z | src/FubuMVC.Tests/Diagnostics/RouteColumnTester.cs | bbehrens/fubumvc | 2a7688eab1e51c4910cee0dd32fc5209735a9dab | [
"Apache-2.0"
] | null | null | null | src/FubuMVC.Tests/Diagnostics/RouteColumnTester.cs | bbehrens/fubumvc | 2a7688eab1e51c4910cee0dd32fc5209735a9dab | [
"Apache-2.0"
] | null | null | null | using FubuMVC.Core.Diagnostics;
using FubuMVC.Core.Diagnostics.HtmlWriting;
using FubuMVC.Core.Registration.Nodes;
using FubuMVC.Core.Registration.Routes;
using HtmlTags;
using NUnit.Framework;
namespace FubuMVC.Tests.Diagnostics
{
[TestFixture]
public class RouteColumnTester
{
[Test]
... | 29.490909 | 101 | 0.600493 |
56dd06972434d3d35358cfc4471eaedf62742aed | 2,037 | rs | Rust | minimint-api/src/keys.rs | clarkmoody/minimint | b1088f3b77d69ec0cc5160fbbf53480e5673772c | [
"MIT"
] | null | null | null | minimint-api/src/keys.rs | clarkmoody/minimint | b1088f3b77d69ec0cc5160fbbf53480e5673772c | [
"MIT"
] | null | null | null | minimint-api/src/keys.rs | clarkmoody/minimint | b1088f3b77d69ec0cc5160fbbf53480e5673772c | [
"MIT"
] | null | null | null | use crate::{Contract, Tweakable};
use bitcoin::hashes::Hash;
use bitcoin::secp256k1::{Secp256k1, Verification};
use bitcoin::PublicKey;
use miniscript::{MiniscriptKey, ToPublicKey};
use serde::{Deserialize, Serialize};
use std::str::FromStr;
#[derive(Debug, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Serialize, Deser... | 25.148148 | 99 | 0.622975 |
7974c57b5d865a0018ceb7f0d1eabcec123b3244 | 2,177 | php | PHP | src/script/request.php | radogado/natuive-dev | c671b03a1cab02f7d2929b1ba9019edbc7853edb | [
"MIT"
] | null | null | null | src/script/request.php | radogado/natuive-dev | c671b03a1cab02f7d2929b1ba9019edbc7853edb | [
"MIT"
] | null | null | null | src/script/request.php | radogado/natuive-dev | c671b03a1cab02f7d2929b1ba9019edbc7853edb | [
"MIT"
] | null | null | null | <?php
error_reporting(0);
//return;
// Flood protection
session_start();
if(isset($_SESSION['ip']) && $_SESSION['last_post'] + 3 > time()) die('too early ---error---');
$_SESSION['last_post'] = time();
$_SESSION['ip'] = $_SERVER['REMOTE_ADDR'];
// Original code from http://www.phpmind.com/blog/author/admin/
/... | 24.738636 | 96 | 0.655489 |
daf6b9c2704646168341e80f3314fde763b4ac41 | 1,175 | rb | Ruby | Formula/mesheryctl.rb | Hack-Light/homebrew-tap | 01918aaaef15c64834e4829ad7c341994921a340 | [
"Apache-2.0"
] | null | null | null | Formula/mesheryctl.rb | Hack-Light/homebrew-tap | 01918aaaef15c64834e4829ad7c341994921a340 | [
"Apache-2.0"
] | null | null | null | Formula/mesheryctl.rb | Hack-Light/homebrew-tap | 01918aaaef15c64834e4829ad7c341994921a340 | [
"Apache-2.0"
] | null | null | null | # This file was generated by GoReleaser. DO NOT EDIT.
class Mesheryctl < Formula
desc "The Multi-Service Mesh Management Plane."
homepage "https://layer5.io/meshery"
version "0.4.6"
bottle :unneeded
if OS.mac?
url "https://github.com/layer5io/meshery/releases/download/v0.4.6/mesheryctl_0.4.6_Darwin_x86_6... | 37.903226 | 107 | 0.754894 |
20c218986b088f56f624c8de3330ac67a01cb42b | 2,391 | py | Python | discord/cogs/gambling_helpers.py | juanjoayala01/casino-bot | b299d67bd95da85a23cb2867cf8b6a33da30041b | [
"MIT"
] | 16 | 2021-06-30T20:09:29.000Z | 2022-01-22T03:22:45.000Z | discord/cogs/gambling_helpers.py | juanjoayala01/casino-bot | b299d67bd95da85a23cb2867cf8b6a33da30041b | [
"MIT"
] | 1 | 2022-02-09T10:17:33.000Z | 2022-02-09T10:17:33.000Z | discord/cogs/gambling_helpers.py | juanjoayala01/casino-bot | b299d67bd95da85a23cb2867cf8b6a33da30041b | [
"MIT"
] | 15 | 2021-08-02T14:44:37.000Z | 2022-02-08T04:10:04.000Z | import discord
from discord.ext import commands
from modules.economy import Economy
from modules.helpers import *
class GamblingHelpers(commands.Cog, name='General'):
def __init__(self, client: commands.Bot) -> None:
self.client = client
self.economy = Economy()
@commands.command(hidden=True)... | 32.753425 | 76 | 0.59473 |
8e7f7f2bbfc666251c8a1cec4da823f20fbc7e05 | 103 | swift | Swift | HelloMinimal-CMake/hello.swift | MikeCodesDotNET/swift-build-examples | ecf91b56191c9cdc6a7032d555c9e65d00268743 | [
"BSD-3-Clause"
] | null | null | null | HelloMinimal-CMake/hello.swift | MikeCodesDotNET/swift-build-examples | ecf91b56191c9cdc6a7032d555c9e65d00268743 | [
"BSD-3-Clause"
] | null | null | null | HelloMinimal-CMake/hello.swift | MikeCodesDotNET/swift-build-examples | ecf91b56191c9cdc6a7032d555c9e65d00268743 | [
"BSD-3-Clause"
] | null | null | null | import HiKit
print("Greeting the world")
sayHello()
print("World has been greeted! Congratulations!")
| 17.166667 | 49 | 0.76699 |
45b8cb8bfb6444db5772f64585b6c0727760c976 | 640 | py | Python | server/source/models/service.py | ugiete/docker_manager | 3ae55932a964b571aaada0186c7238e86dae6231 | [
"MIT"
] | 1 | 2022-03-03T12:04:56.000Z | 2022-03-03T12:04:56.000Z | server/source/models/service.py | ugiete/docker_manager | 3ae55932a964b571aaada0186c7238e86dae6231 | [
"MIT"
] | null | null | null | server/source/models/service.py | ugiete/docker_manager | 3ae55932a964b571aaada0186c7238e86dae6231 | [
"MIT"
] | 1 | 2022-03-13T16:45:20.000Z | 2022-03-13T16:45:20.000Z | class DockerService():
"""Class that abstracts docker service info
"""
def __init__(self, data: str) -> None:
info = data.split('\t')
self.container_id = info[0].split('@')[-1]
self.name = info[1].split('@')[-1]
self.status = info[2].split('@')[-1]
self.ports = info... | 30.47619 | 50 | 0.507813 |
b051a718795026bc308f195e213eec77fd429171 | 184 | py | Python | python_solutions/numpy/Inner and Outer.py | ersincebi/hackerrank | 9475c8e88e9071544c10a939fe7307c8e62fe3a0 | [
"MIT"
] | null | null | null | python_solutions/numpy/Inner and Outer.py | ersincebi/hackerrank | 9475c8e88e9071544c10a939fe7307c8e62fe3a0 | [
"MIT"
] | null | null | null | python_solutions/numpy/Inner and Outer.py | ersincebi/hackerrank | 9475c8e88e9071544c10a939fe7307c8e62fe3a0 | [
"MIT"
] | null | null | null | import numpy as np
toInt = lambda x: list(map(int, x.strip().split()))
A = np.array([toInt(input())])
B = np.array([toInt(input())])
print(np.inner(A, B)[0,0])
print(np.outer(A, B)) | 20.444444 | 51 | 0.619565 |
dd8708b1cf805df39cd109d7f1bdbbfde13ad78e | 2,454 | java | Java | src/main/java/uk/gov/hmcts/reform/sscs/service/coversheet/PdfCoverSheet.java | uk-gov-mirror/hmcts.sscs-tribunals-case-api | 6518b7b96596a2131a09d4afe3ccf10f850766b7 | [
"MIT"
] | 3 | 2019-10-04T12:46:53.000Z | 2021-12-10T16:18:47.000Z | src/main/java/uk/gov/hmcts/reform/sscs/service/coversheet/PdfCoverSheet.java | uk-gov-mirror/hmcts.sscs-tribunals-case-api | 6518b7b96596a2131a09d4afe3ccf10f850766b7 | [
"MIT"
] | 1,495 | 2018-10-01T11:30:20.000Z | 2022-03-31T14:30:27.000Z | src/main/java/uk/gov/hmcts/reform/sscs/service/coversheet/PdfCoverSheet.java | uk-gov-mirror/hmcts.sscs-tribunals-case-api | 6518b7b96596a2131a09d4afe3ccf10f850766b7 | [
"MIT"
] | 3 | 2021-04-10T22:34:10.000Z | 2022-03-21T09:22:08.000Z | package uk.gov.hmcts.reform.sscs.service.coversheet;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
public class PdfCoverSheet {
@JsonProperty("case_id")
private final String caseId;
@JsonProperty("name")
private String name;
@JsonProperty("address_line1")
priv... | 35.057143 | 122 | 0.608394 |
f5c2a6d28238b7d35ac238d08e8824e3a5015b48 | 734 | css | CSS | app/src/pages/Play/styles.css | saintPez/TicTacToe | f5b03096e9492d6b1d566198c0a58af7295630fb | [
"MIT"
] | null | null | null | app/src/pages/Play/styles.css | saintPez/TicTacToe | f5b03096e9492d6b1d566198c0a58af7295630fb | [
"MIT"
] | null | null | null | app/src/pages/Play/styles.css | saintPez/TicTacToe | f5b03096e9492d6b1d566198c0a58af7295630fb | [
"MIT"
] | null | null | null | .play {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.play-items {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 100%;
}
.play-item:first-child {
border-radius: 20px 20px 0 0;
}
.play-item:last-child {
borde... | 14.115385 | 31 | 0.651226 |
51d83eb334ab91079ce07848ed77261159d84034 | 4,092 | dart | Dart | floor_annotation/lib/src/fts.dart | hooooc/floor | 8664293afca38d3dc9cb84d02125f3b3b82368fa | [
"Apache-2.0"
] | 739 | 2019-03-04T00:26:38.000Z | 2022-03-27T11:13:28.000Z | floor_annotation/lib/src/fts.dart | hooooc/floor | 8664293afca38d3dc9cb84d02125f3b3b82368fa | [
"Apache-2.0"
] | 518 | 2019-02-07T19:31:43.000Z | 2022-03-25T12:22:08.000Z | floor_annotation/lib/src/fts.dart | hooooc/floor | 8664293afca38d3dc9cb84d02125f3b3b82368fa | [
"Apache-2.0"
] | 167 | 2019-04-06T07:43:31.000Z | 2022-03-24T14:43:02.000Z | /// Marks an Entity annotated class as an FTS3 entity.
/// This class will have a mapping SQLite FTS3 table in the database.
class Fts3 {
/// The tokenizer to be used in the FTS table.
/// The default value is [FtsTokenizer.simple]. Tokenizer arguments can be defined
/// with [tokenizerArgs].
///
/// The toke... | 37.541284 | 96 | 0.702102 |
2568a5e24df996abcf43e1bc78939bc3ff03deec | 2,457 | cs | C# | MOE.Common/Business/PlanPCD.cs | AndreRSanchez/ATSPM | dd282d98148818ff7ac44edce1f26efae27f7ea4 | [
"Apache-2.0"
] | 51 | 2017-08-29T18:14:16.000Z | 2022-02-23T18:28:35.000Z | MOE.Common/Business/PlanPCD.cs | AndreRSanchez/ATSPM | dd282d98148818ff7ac44edce1f26efae27f7ea4 | [
"Apache-2.0"
] | 91 | 2017-08-31T18:38:59.000Z | 2022-03-23T18:42:54.000Z | MOE.Common/Business/PlanPCD.cs | avenueconsultants/ATSPM | ee89c4b2d880cdc96c0a111d772a5e036bb7ecea | [
"Apache-2.0"
] | 40 | 2017-08-29T22:35:38.000Z | 2022-03-28T17:46:58.000Z | using System;
using System.Collections.Generic;
using System.Linq;
namespace MOE.Common.Business
{
public class PlanPcd : Plan
{
public SortedDictionary<int, int> Splits = new SortedDictionary<int, int>();
public PlanPcd(DateTime start, DateTime end, int planNumber, List<CyclePcd> cyclesForPl... | 34.125 | 117 | 0.571836 |
c6eff97b974ce0ef264ee680260232ccbd58f94b | 3,705 | py | Python | top.py | hao707822882/Bichon | 54092e69c9316ee592ee392dc85e1f7fd0c47b68 | [
"Apache-2.0"
] | null | null | null | top.py | hao707822882/Bichon | 54092e69c9316ee592ee392dc85e1f7fd0c47b68 | [
"Apache-2.0"
] | null | null | null | top.py | hao707822882/Bichon | 54092e69c9316ee592ee392dc85e1f7fd0c47b68 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright (c) 2009, Giampaolo Rodola'. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
A clone of top / htop.
Author: Giampaolo Rodola' <g.rodola@gmail.com>
$ python examples/top.py
CPU0 [| ... | 29.173228 | 75 | 0.48556 |
830ad1b6ba6365cea37c53f5161a3208ecc89008 | 3,467 | tsx | TypeScript | src/pages/[category]/[slug]/[id].tsx | bkalafat/news | 44753ef0ad2bdb7d066de10f1a0c0e3a5a3f7e78 | [
"MIT"
] | null | null | null | src/pages/[category]/[slug]/[id].tsx | bkalafat/news | 44753ef0ad2bdb7d066de10f1a0c0e3a5a3f7e78 | [
"MIT"
] | 12 | 2021-06-10T08:00:52.000Z | 2022-02-17T21:01:12.000Z | src/pages/[category]/[slug]/[id].tsx | bkalafat/news | 44753ef0ad2bdb7d066de10f1a0c0e3a5a3f7e78 | [
"MIT"
] | null | null | null | import Share from "../../../components/Share"
import Layout from "../../../components/Layout"
import Head from "next/head"
import SquareAd from "../../../components/SquareAd"
import { NewsType } from "../../../types/NewsType"
import Image from "next/image";
import { getCategoryToByKey, getSlug, getUrlWithId } from "../... | 38.522222 | 113 | 0.579175 |
e2096134659e918a176c7b8102bd5c1c0804a7b9 | 319 | dart | Dart | workshop_006_responsive_layout/lib/demo/fragments/contact_view.dart | FuretBicephale/training-dart-flutter | aa7a7ce8eb04e111b1c5ca3f79868ba43f26ee2c | [
"MIT"
] | 6 | 2020-11-17T12:19:21.000Z | 2021-01-13T13:59:04.000Z | workshop_006_responsive_layout/lib/demo/fragments/contact_view.dart | FuretBicephale/training-dart-flutter | aa7a7ce8eb04e111b1c5ca3f79868ba43f26ee2c | [
"MIT"
] | 5 | 2020-11-22T15:37:20.000Z | 2020-12-18T01:11:24.000Z | workshop_006_responsive_layout/lib/demo/fragments/contact_view.dart | FuretBicephale/training-dart-flutter | aa7a7ce8eb04e111b1c5ca3f79868ba43f26ee2c | [
"MIT"
] | 44 | 2020-11-17T13:08:02.000Z | 2022-01-27T09:49:53.000Z | import 'package:flutter/material.dart';
import 'package:workshop_006_responsive_layout/demo/widgets/contact_view/contact_list.dart';
class ContactView extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
color: Colors.white,
child: ContactList(),
);
}
}
| 24.538462 | 92 | 0.742947 |
ead3009f5d714d703e2c86be013be87d91542697 | 313 | dart | Dart | example/test/simple_test.dart | dart-league/built_mirrors | 322e7eaf637a696dc7b766704f4afb05af36f871 | [
"BSD-3-Clause"
] | 14 | 2017-01-24T03:29:49.000Z | 2020-06-04T09:37:32.000Z | example/test/simple_test.dart | dart-league/built_mirrors | 322e7eaf637a696dc7b766704f4afb05af36f871 | [
"BSD-3-Clause"
] | 3 | 2017-07-18T16:43:46.000Z | 2017-11-16T18:28:29.000Z | example/test/simple_test.dart | dart-league/built_mirrors | 322e7eaf637a696dc7b766704f4afb05af36f871 | [
"BSD-3-Clause"
] | 6 | 2017-05-16T14:43:25.000Z | 2021-06-03T15:31:11.000Z | library built_mirrors.example.simple_test;
import 'package:built_mirrors/built_mirrors.dart';
import 'package:test/test.dart';
part 'simple_test.g.dart';
@reflectable
class SimpleTest {}
main() {
_initMirrors();
test('simple test', () {
expect(reflectType(SimpleTest), SimpleTestClassMirror);
});
} | 18.411765 | 59 | 0.734824 |
9962e6d2c933f59026c7b8109a085842e86202fa | 1,846 | sql | SQL | models/intermediate/int_netsuite__accountxperiod_exchange_rate_map.sql | AlbertGozzi/dbt_netsuite | 83751f75888a76dc5c5b6e3da29f52a6e557045b | [
"Apache-2.0"
] | 8 | 2020-03-27T23:05:26.000Z | 2022-03-10T21:52:22.000Z | models/intermediate/int_netsuite__accountxperiod_exchange_rate_map.sql | AlbertGozzi/dbt_netsuite | 83751f75888a76dc5c5b6e3da29f52a6e557045b | [
"Apache-2.0"
] | 16 | 2020-04-02T23:03:36.000Z | 2022-03-23T15:08:54.000Z | models/intermediate/int_netsuite__accountxperiod_exchange_rate_map.sql | AlbertGozzi/dbt_netsuite | 83751f75888a76dc5c5b6e3da29f52a6e557045b | [
"Apache-2.0"
] | 11 | 2020-07-22T22:37:55.000Z | 2022-03-24T22:14:25.000Z | with accounts as (
select *
from {{ var('accounts') }}
),
accounting_books as (
select *
from {{ var('accounting_books') }}
),
subsidiaries as (
select *
from {{ var('subsidiaries') }}
),
consolidated_exchange_rates as (
select *
from {{ var('consolidated_exchange_rates') }}
),
... | 34.830189 | 178 | 0.779523 |
120102b01aee02a037792d35ec8c76829a669bbf | 156 | sql | SQL | db/seeds.sql | alzcheng/burger | 82a53c62d225482769efa14ee9a6f6a1f3c7ffd8 | [
"MIT"
] | null | null | null | db/seeds.sql | alzcheng/burger | 82a53c62d225482769efa14ee9a6f6a1f3c7ffd8 | [
"MIT"
] | null | null | null | db/seeds.sql | alzcheng/burger | 82a53c62d225482769efa14ee9a6f6a1f3c7ffd8 | [
"MIT"
] | null | null | null | INSERT INTO burgers (burger_name, devoured)
VALUE
("cheeseburger", false),
("hamburger", false),
("peanut butter and jelly", false);
SELECT * FROM burgers; | 22.285714 | 43 | 0.730769 |
5453d690811d0ee5fe8f79f451bbb3dcbf816697 | 143 | rb | Ruby | db/migrate/20190905192153_change_rating_to_rating_info_in_schools.rb | wendisha/school_search_ny_backend | f90c7918358645db2e6c6824d8143561fff9302f | [
"MIT"
] | 1 | 2019-11-06T23:32:33.000Z | 2019-11-06T23:32:33.000Z | db/migrate/20190905192153_change_rating_to_rating_info_in_schools.rb | wendisha/school_search_ny_backend | f90c7918358645db2e6c6824d8143561fff9302f | [
"MIT"
] | 7 | 2020-02-29T04:29:07.000Z | 2022-03-30T23:42:48.000Z | db/migrate/20190905192153_change_rating_to_rating_info_in_schools.rb | wendisha/school_search_ny_backend | f90c7918358645db2e6c6824d8143561fff9302f | [
"MIT"
] | 1 | 2019-09-22T15:24:19.000Z | 2019-09-22T15:24:19.000Z | class ChangeRatingToRatingInfoInSchools < ActiveRecord::Migration[5.2]
def change
rename_column :schools, :rating, :rating_info
end
end | 28.6 | 70 | 0.79021 |
9ead90b83f4f8037d030ea034ab298b44f2f9ef2 | 2,200 | rs | Rust | rust/src/models/inline_response_200_8.rs | ddsky/spoonacular-api-clients | 63f955ceb2c356fefdd48ec634deb3c3e16a6ae7 | [
"MIT"
] | 21 | 2019-08-09T18:53:26.000Z | 2022-03-14T22:10:10.000Z | rust/src/models/inline_response_200_8.rs | ddsky/spoonacular-api-clients | 63f955ceb2c356fefdd48ec634deb3c3e16a6ae7 | [
"MIT"
] | null | null | null | rust/src/models/inline_response_200_8.rs | ddsky/spoonacular-api-clients | 63f955ceb2c356fefdd48ec634deb3c3e16a6ae7 | [
"MIT"
] | 55 | 2019-08-13T17:52:47.000Z | 2022-03-27T04:29:34.000Z | /*
* spoonacular API
*
* The spoonacular Nutrition, Recipe, and Food API allows you to access over 380,000 recipes, thousands of ingredients, 800,000 food products, and 100,000 menu items. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such... | 47.826087 | 1,035 | 0.710909 |
96d718aaff307c9fee1c2ebf7f4874bb754f8c77 | 3,850 | cs | C# | MediaViewer/ViewModels/MusicCategoryModel.cs | Bhaskers-Blu-Org2/media-viewer | dd7527cd6bef5b8ebb1b41a3fd8fe3028391dbea | [
"RSA-MD"
] | 15 | 2015-01-02T11:09:00.000Z | 2019-03-13T22:40:29.000Z | MediaViewer/ViewModels/MusicCategoryModel.cs | microsoft/media-viewer | dd7527cd6bef5b8ebb1b41a3fd8fe3028391dbea | [
"RSA-MD"
] | 1 | 2019-03-25T13:50:36.000Z | 2019-03-25T13:50:36.000Z | MediaViewer/ViewModels/MusicCategoryModel.cs | Microsoft/media-viewer | dd7527cd6bef5b8ebb1b41a3fd8fe3028391dbea | [
"RSA-MD"
] | 5 | 2015-01-02T11:09:03.000Z | 2018-10-01T09:04:15.000Z | using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using System.Collec... | 28.10219 | 112 | 0.505714 |
1126f62fba4df355a898c5eb0c29ec2560a5ca12 | 456 | lua | Lua | Loadout/Data/Scripts/GenericButtonScript.lua | Core-Team-META/Strike-Team-Sector-9 | 4374103ec7b2aa917ab8aa2b812ea13a66fc61f3 | [
"Apache-2.0"
] | 12 | 2021-04-29T19:09:06.000Z | 2021-11-27T17:51:07.000Z | Loadout/Data/Scripts/GenericButtonScript.lua | Core-Team-META/Game-Strike-Team | ccc57a7135da735cfb067d52521d66d65e63add9 | [
"Apache-2.0"
] | null | null | null | Loadout/Data/Scripts/GenericButtonScript.lua | Core-Team-META/Game-Strike-Team | ccc57a7135da735cfb067d52521d66d65e63add9 | [
"Apache-2.0"
] | 2 | 2021-05-17T18:33:10.000Z | 2021-06-27T17:56:10.000Z | local Event = script:GetCustomProperty("Event")
local HoverSound = script:GetCustomProperty("HoverSound")
local PressedSound = script:GetCustomProperty("PressedSound")
Button = script.parent
function Pressed()
if PressedSound then World.SpawnAsset(PressedSound) end
Events.Broadcast(Event)
end
function Hover(... | 28.5 | 61 | 0.800439 |