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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a6fd78ef85cfd051fd217ae3de7d09ca0a33be99 | 1,324 | rb | Ruby | test/reynard/schema_test.rb | Manfred/Reynard | 85f8610fd91e13b0200569d43ca40238db148a8d | [
"MIT"
] | 1 | 2021-10-06T20:22:15.000Z | 2021-10-06T20:22:15.000Z | test/reynard/schema_test.rb | Manfred/Reynard | 85f8610fd91e13b0200569d43ca40238db148a8d | [
"MIT"
] | 10 | 2021-11-04T10:03:02.000Z | 2022-02-23T11:20:40.000Z | test/reynard/schema_test.rb | Manfred/Reynard | 85f8610fd91e13b0200569d43ca40238db148a8d | [
"MIT"
] | 1 | 2021-10-14T13:38:36.000Z | 2021-10-14T13:38:36.000Z | # frozen_string_literal: true
require_relative '../test_helper'
class Reynard
class SchemaTest < Reynard::Test
def setup
@node = %w[
paths
/books/{id}
get
responses
200
content
application/json
schema
]
@schema = Schema.new(
... | 18.914286 | 51 | 0.573263 |
9044d5d321a3de506ddb75b31186c0e454e20ac0 | 1,066 | h | C | Engine/Source/Runtime/Engine/Public/CustomPhysXPayload.h | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/Engine/Public/CustomPhysXPayload.h | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/Engine/Public/CustomPhysXPayload.h | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "EngineDefines.h"
#include "Components/PrimitiveComponent.h"
#if WITH_PHYSX
namespace physx
{
class PxRigidActor;
}
struct FCustomPhysXSyncActors
{
virtual ~FCustomPhysXSyncActors() {}
/** Update any UE4 ... | 23.173913 | 111 | 0.781426 |
2ca87bae7f11b13142de7d3ee4935ff338a1a172 | 10,072 | cpp | C++ | Examples/PatternedSubstrate/PatternedSubstrate.cpp | YourKarma42/ViennaLS | aae39a860e1fb6edc2d3568ab09110f7e81572b1 | [
"MIT"
] | 6 | 2019-11-18T16:05:12.000Z | 2021-06-16T16:11:41.000Z | Examples/PatternedSubstrate/PatternedSubstrate.cpp | YourKarma42/ViennaLS | aae39a860e1fb6edc2d3568ab09110f7e81572b1 | [
"MIT"
] | 26 | 2019-10-17T14:59:31.000Z | 2022-02-07T17:06:30.000Z | Examples/PatternedSubstrate/PatternedSubstrate.cpp | YourKarma42/ViennaLS | aae39a860e1fb6edc2d3568ab09110f7e81572b1 | [
"MIT"
] | 7 | 2020-03-13T07:17:07.000Z | 2022-03-29T07:58:37.000Z | #include <iostream>
#include <random>
#include <lsAdvect.hpp>
#include <lsBooleanOperation.hpp>
#include <lsConvexHull.hpp>
#include <lsDomain.hpp>
#include <lsExpand.hpp>
#include <lsMakeGeometry.hpp>
#include <lsPrune.hpp>
#include <lsSmartPointer.hpp>
#include <lsToDiskMesh.hpp>
#include <lsToMesh.hpp>
#include <ls... | 34.611684 | 80 | 0.606732 |
774f0b311da0ca34695c8823addac69b060109bf | 105 | sql | SQL | database/sqlserver/monit-queries/checkLocksOnDatabase.sql | hpettenuci/operation | 5a079adcf375145f782587a9f0a03cf860841d44 | [
"Apache-2.0"
] | 2 | 2021-01-05T18:26:42.000Z | 2021-09-17T13:00:26.000Z | database/sqlserver/monit-queries/checkLocksOnDatabase.sql | hpettenuci/operation | 5a079adcf375145f782587a9f0a03cf860841d44 | [
"Apache-2.0"
] | null | null | null | database/sqlserver/monit-queries/checkLocksOnDatabase.sql | hpettenuci/operation | 5a079adcf375145f782587a9f0a03cf860841d44 | [
"Apache-2.0"
] | null | null | null | select * from Resultado_WhoisActive where blocking_session_id is not null order by [dd hh:mm:ss.mss] desc | 105 | 105 | 0.819048 |
c98113439e3d09bb13ad30ba63c45a699182381b | 977 | tsx | TypeScript | AppZ.tsx | sizplay/react_native_gangnam | 4ebbe1501988babe71ccad96f83dd3c79f06ce2d | [
"MIT"
] | null | null | null | AppZ.tsx | sizplay/react_native_gangnam | 4ebbe1501988babe71ccad96f83dd3c79f06ce2d | [
"MIT"
] | 2 | 2021-05-08T09:43:24.000Z | 2021-05-10T18:04:01.000Z | AppZ.tsx | sizplay/react_native_gangnam | 4ebbe1501988babe71ccad96f83dd3c79f06ce2d | [
"MIT"
] | 7 | 2019-09-23T22:46:14.000Z | 2019-11-04T04:08:56.000Z | import React, {Component} from 'react';
import {StyleSheet, Text, View} from 'react-native';
import UserInfoList from './components/UserInfoList';
interface IProps {
}
const App: React.FC<IProps> = () => {
return (
<View style={styles.container}>
<View style={styles.header}>
<Text style={... | 20.354167 | 60 | 0.539406 |
4110ca6a2febec27287936c69460d4d301075175 | 11,435 | rs | Rust | test-utils/src/mocks.rs | Aloxaf/jsonrpsee | 1730368adaf22200c52da011b9db11b4397948c4 | [
"MIT"
] | null | null | null | test-utils/src/mocks.rs | Aloxaf/jsonrpsee | 1730368adaf22200c52da011b9db11b4397948c4 | [
"MIT"
] | null | null | null | test-utils/src/mocks.rs | Aloxaf/jsonrpsee | 1730368adaf22200c52da011b9db11b4397948c4 | [
"MIT"
] | 1 | 2022-03-13T15:28:02.000Z | 2022-03-13T15:28:02.000Z | // Copyright 2019-2021 Parity Technologies (UK) Ltd.
//
// Permission is hereby granted, free of charge, 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, mod... | 30.656836 | 131 | 0.676519 |
434d406a39adbf5674440a53800932db93b7cdef | 297 | ts | TypeScript | docs/showcase/list_view/dist/components/breadcrumbs/breadcrumbs.component.d.ts | AlastairMcKee/UX-Aspects-IE-Bug | a370da878ffb619a0b729fce5a86ca5918500519 | [
"Apache-2.0"
] | null | null | null | docs/showcase/list_view/dist/components/breadcrumbs/breadcrumbs.component.d.ts | AlastairMcKee/UX-Aspects-IE-Bug | a370da878ffb619a0b729fce5a86ca5918500519 | [
"Apache-2.0"
] | null | null | null | docs/showcase/list_view/dist/components/breadcrumbs/breadcrumbs.component.d.ts | AlastairMcKee/UX-Aspects-IE-Bug | a370da878ffb619a0b729fce5a86ca5918500519 | [
"Apache-2.0"
] | null | null | null | export declare class BreadcrumbsComponent {
crumbs: Breadcrumb[];
clickCrumb(event: MouseEvent, crumb: Breadcrumb): void;
}
export interface Breadcrumb {
title: string;
routerLink?: string;
fragment?: string;
queryParams?: any;
onClick?: (event: MouseEvent) => void;
}
| 24.75 | 59 | 0.686869 |
e7dc6d751c68e29d5f12376fc079f810e0daedb4 | 3,898 | rs | Rust | oni_trace/src/local.rs | oniproject/tto | 4336c525ac39b1706e7ded9b28e4c5d55929268f | [
"Apache-2.0",
"MIT"
] | 2 | 2019-11-30T22:52:28.000Z | 2019-12-04T21:29:43.000Z | oni_trace/src/local.rs | oniproject/tto | 4336c525ac39b1706e7ded9b28e4c5d55929268f | [
"Apache-2.0",
"MIT"
] | null | null | null | oni_trace/src/local.rs | oniproject/tto | 4336c525ac39b1706e7ded9b28e4c5d55929268f | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::{cell::RefCell, borrow::Cow, sync::mpsc::Sender};
use log::{Record, Level};
use crate::{
colors,
trace::{
Event,
Args,
Base,
Async,
Flow,
Instant,
},
};
thread_local!(pub static LOCAL: RefCell<Option<Local>> = RefCell::new(None));
pub struct Local ... | 26.882759 | 94 | 0.446126 |
078097c56a8dd53deedb932ae23c162bcf7a85df | 6,110 | css | CSS | html/stylesheets/softcover.css | gitter-badger/PadrinoBook | 5a286382ac7672fcf2419751ae092de9c6abf709 | [
"MIT"
] | null | null | null | html/stylesheets/softcover.css | gitter-badger/PadrinoBook | 5a286382ac7672fcf2419751ae092de9c6abf709 | [
"MIT"
] | null | null | null | html/stylesheets/softcover.css | gitter-badger/PadrinoBook | 5a286382ac7672fcf2419751ae092de9c6abf709 | [
"MIT"
] | null | null | null | /* This file is auto-generated. Do not edit. */
body #book {
width: 41em;
font-size: 18px;
font-family: Georgia, serif;
line-height: 1.5;
margin-left: 5em;
color: #070707;
margin-bottom: 20em;
}
#book h1 {
font-size: 230%;
border-top: 2px solid #333;
padding-top: 1em;
}
#book h2 {
font-size: 18... | 13.886364 | 49 | 0.645663 |
2c46cdf7f5b38363cbdbbb70c6b32b5f4594169b | 1,748 | py | Python | setup.py | kseniyapotter/django-datawatch | b42648219940b85ecb5d7fd6f4d84686ecd272e7 | [
"MIT"
] | null | null | null | setup.py | kseniyapotter/django-datawatch | b42648219940b85ecb5d7fd6f4d84686ecd272e7 | [
"MIT"
] | null | null | null | setup.py | kseniyapotter/django-datawatch | b42648219940b85ecb5d7fd6f4d84686ecd272e7 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
from os.path import join, dirname
from setuptools import setup, find_packages
def long_description():
"""Return long description from README.rst if it's present
because it doesn't get installed."""
try:
return open(join(dirname(__file__), 'README.md')).read()
except IOE... | 34.27451 | 98 | 0.633867 |
582aa032694b4a9d95e3c107e6e7349caeea229d | 969 | css | CSS | assets/backend/css/jquery.tagsinput.css | rizkydrma/mykosan | e70220d537fc5052651a6abd6b545cb97b73304a | [
"MIT"
] | null | null | null | assets/backend/css/jquery.tagsinput.css | rizkydrma/mykosan | e70220d537fc5052651a6abd6b545cb97b73304a | [
"MIT"
] | null | null | null | assets/backend/css/jquery.tagsinput.css | rizkydrma/mykosan | e70220d537fc5052651a6abd6b545cb97b73304a | [
"MIT"
] | null | null | null | div.tagsinput {
border: 1px solid #CCC;
background: #FFF;
padding: 5px;
width: 300px;
height: 100px;
overflow-y: auto;
}
div.tagsinput span.tag {
border: 1px solid #215c84;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
display: block;
float: left;
padding: 5px;
text-decoration: none;
background: #... | 15.629032 | 32 | 0.691434 |
38abc3ec2f2b1cd6d2ee6bcc7dd2307ca93ff499 | 659 | php | PHP | core/reordermedia.php | DiemenDesign/AuroraCMS | cfbde949d6fdc14de027504b17ac8f079de1b29b | [
"MIT"
] | 15 | 2020-03-31T17:10:30.000Z | 2022-02-12T07:20:10.000Z | core/reordermedia.php | DiemenDesign/AuroraCMS | cfbde949d6fdc14de027504b17ac8f079de1b29b | [
"MIT"
] | 7 | 2021-06-26T08:19:17.000Z | 2021-07-01T13:42:26.000Z | core/reordermedia.php | DiemenDesign/AuroraCMS | cfbde949d6fdc14de027504b17ac8f079de1b29b | [
"MIT"
] | 1 | 2021-06-29T07:11:46.000Z | 2021-06-29T07:11:46.000Z | <?php
/**
* AuroraCMS - Copyright (C) Diemen Design 2019
*
* @category Administration - Core - Reorder Media Items
* @package core/reordermedia.php
* @author Dennis Suitters <dennis@diemen.design>
* @copyright 2014-2019 Diemen Design
* @license http://opensource.org/licenses/MIT MIT License
* @ver... | 27.458333 | 77 | 0.623672 |
eb8cc1e5d9fbe5541a992f30ed303f8b49104adc | 3,091 | css | CSS | build/static/css/main.e6de4366.chunk.css | javeedshareef/Naukri_portal | ae8a9043f05f6f5f23f4670b48e75130227e87ae | [
"MIT"
] | null | null | null | build/static/css/main.e6de4366.chunk.css | javeedshareef/Naukri_portal | ae8a9043f05f6f5f23f4670b48e75130227e87ae | [
"MIT"
] | null | null | null | build/static/css/main.e6de4366.chunk.css | javeedshareef/Naukri_portal | ae8a9043f05f6f5f23f4670b48e75130227e87ae | [
"MIT"
] | null | null | null | body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.nav-list{margin-left:20%;fo... | 1,545.5 | 3,039 | 0.796182 |
4425f4dc41e0ad6e9cb9ab451b3554bb34e8c03c | 37,055 | py | Python | io_scene_halo/file_tag/file_scenario/h2/format.py | Project-Cartographer/Halo-Jointed-Model-Blender-Toolset | 8261bcc377ede0856079a4d5cc782790693c7d78 | [
"MIT"
] | 1 | 2019-12-29T20:28:59.000Z | 2019-12-29T20:28:59.000Z | io_scene_halo/file_tag/file_scenario/h2/format.py | General-101/H2V-Blender-JMSv2-Exporter | 8261bcc377ede0856079a4d5cc782790693c7d78 | [
"MIT"
] | 4 | 2020-08-25T02:17:12.000Z | 2020-09-01T19:58:04.000Z | io_scene_halo/file_tag/file_scenario/h2/format.py | General-101/H2V-Blender-JMSv2-Exporter | 8261bcc377ede0856079a4d5cc782790693c7d78 | [
"MIT"
] | null | null | null | # ##### BEGIN MIT LICENSE BLOCK #####
#
# MIT License
#
# Copyright (c) 2022 Steven Garcia
#
# Permission is hereby granted, free of charge, 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 ... | 58.446372 | 183 | 0.700661 |
6434991b0677679508d730176e20970d8dd0cbe3 | 23,643 | py | Python | turing_bot.py | wyldbrian/turing | 51f4e5b942da2820f3f893a1e6700ce1eaee7f12 | [
"MIT"
] | 1 | 2017-11-01T16:08:12.000Z | 2017-11-01T16:08:12.000Z | turing_bot.py | wyldbrian/turing | 51f4e5b942da2820f3f893a1e6700ce1eaee7f12 | [
"MIT"
] | 2 | 2018-05-06T20:18:04.000Z | 2019-07-26T18:00:05.000Z | turing_bot.py | wyldbrian/turing | 51f4e5b942da2820f3f893a1e6700ce1eaee7f12 | [
"MIT"
] | null | null | null | #!/bin/python
# +-----------------------------------------------------------------------+
# | File Name: turing_bot.py |
# +-----------------------------------------------------------------------+
# | Description: Turing watches an IRC channel and responds to prompts |
#... | 37.8288 | 155 | 0.51271 |
cdee1cd0db195d886f8e1b3a5958cb46f97c2456 | 144 | cs | C# | src/ExplorePackages.Logic/Protocol/Data/IAsOfData.cs | loic-sharma/ExplorePackages | 3d60646aa60b118377bd3356f5802078beb09f5c | [
"MIT"
] | null | null | null | src/ExplorePackages.Logic/Protocol/Data/IAsOfData.cs | loic-sharma/ExplorePackages | 3d60646aa60b118377bd3356f5802078beb09f5c | [
"MIT"
] | null | null | null | src/ExplorePackages.Logic/Protocol/Data/IAsOfData.cs | loic-sharma/ExplorePackages | 3d60646aa60b118377bd3356f5802078beb09f5c | [
"MIT"
] | null | null | null | using System;
namespace Knapcode.ExplorePackages
{
public interface IAsOfData
{
DateTimeOffset AsOfTimestamp { get; }
}
}
| 14.4 | 45 | 0.673611 |
f5f0888275222b51dd8b30eca58c9bf0e0c4c186 | 33 | css | CSS | src/lib/src/component/number-control/number-control.component.css | BenjaminDobler/ng-schema-editor | e5e10502f354fbc6c9461e44280aacb9862cde2b | [
"MIT"
] | null | null | null | src/lib/src/component/number-control/number-control.component.css | BenjaminDobler/ng-schema-editor | e5e10502f354fbc6c9461e44280aacb9862cde2b | [
"MIT"
] | null | null | null | src/lib/src/component/number-control/number-control.component.css | BenjaminDobler/ng-schema-editor | e5e10502f354fbc6c9461e44280aacb9862cde2b | [
"MIT"
] | null | null | null | @import "../control.common.css";
| 16.5 | 32 | 0.666667 |
a15773364dbf741e8514afc2dfdd4055ccc69246 | 487 | cpp | C++ | src/Griddly/Core/Observers/NoneObserver.cpp | Thaigun/Griddly | de5972a608a2928172510a0ac81a977c48af6b1f | [
"MIT"
] | null | null | null | src/Griddly/Core/Observers/NoneObserver.cpp | Thaigun/Griddly | de5972a608a2928172510a0ac81a977c48af6b1f | [
"MIT"
] | null | null | null | src/Griddly/Core/Observers/NoneObserver.cpp | Thaigun/Griddly | de5972a608a2928172510a0ac81a977c48af6b1f | [
"MIT"
] | null | null | null | #include "NoneObserver.hpp"
#include <memory>
namespace griddly {
NoneObserver::NoneObserver(std::shared_ptr<Grid> grid) : Observer(grid) {
observationShape_ = {1,1,1};
observationStrides_ = {1,1,1};
emptyObs_ = std::shared_ptr<uint8_t>(new uint8_t[1]{}); //NOLINT
}
uint8_t& NoneObserver::update() {
return... | 19.48 | 73 | 0.712526 |
10b6afb6edbb5fd07f121dfd2ce590339f06ec4a | 8,761 | swift | Swift | PropertyExchange/YPProjectInverstmentTableViewCell.swift | forwk1990/PropertyExchange | bc24b0cf13c5978f7d17440fe1650e79c455c70c | [
"MIT"
] | null | null | null | PropertyExchange/YPProjectInverstmentTableViewCell.swift | forwk1990/PropertyExchange | bc24b0cf13c5978f7d17440fe1650e79c455c70c | [
"MIT"
] | null | null | null | PropertyExchange/YPProjectInverstmentTableViewCell.swift | forwk1990/PropertyExchange | bc24b0cf13c5978f7d17440fe1650e79c455c70c | [
"MIT"
] | null | null | null | //
// YPProjectInverstmentTableViewCell.swift
// PropertyExchange
//
// Created by itachi on 16/9/29.
// Copyright © 2016年 com.itachi. All rights reserved.
//
import UIKit
class YPProjectInverstmentTableViewCell: UITableViewCell {
override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
super... | 35.326613 | 125 | 0.713275 |
8c12d2d883cef441217c2440618c4d677ac03a45 | 211 | cs | C# | Assets/Scripts/Player.cs | alohaeee/ModernPingPong | 5dbf7de90238c2685d845e8dc6fafad78e03ba8f | [
"MIT"
] | null | null | null | Assets/Scripts/Player.cs | alohaeee/ModernPingPong | 5dbf7de90238c2685d845e8dc6fafad78e03ba8f | [
"MIT"
] | null | null | null | Assets/Scripts/Player.cs | alohaeee/ModernPingPong | 5dbf7de90238c2685d845e8dc6fafad78e03ba8f | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class Player : MonoBehaviour
{
public TextMeshProUGUI scoreLabel;
public TextMeshProUGUI nameLabel;
}
| 19.181818 | 38 | 0.796209 |
981c1c830d533970769ae94088dbe1b624d50321 | 9,305 | py | Python | model/tacotron.py | Numanor/tacotron2 | 73be3dc08ab5f461f1503715b1a2d443f80b00cc | [
"BSD-3-Clause"
] | null | null | null | model/tacotron.py | Numanor/tacotron2 | 73be3dc08ab5f461f1503715b1a2d443f80b00cc | [
"BSD-3-Clause"
] | null | null | null | model/tacotron.py | Numanor/tacotron2 | 73be3dc08ab5f461f1503715b1a2d443f80b00cc | [
"BSD-3-Clause"
] | null | null | null | from math import sqrt, ceil
import random
from typing import Dict
from numpy import mod
import torch
from pytorch_lightning import LightningModule
from .layers import AdversarialClassifier
from utils.utils import get_mask_from_lengths
from text import symbols
from utils.plot import plot_alignment_to_numpy, plot_spectr... | 42.683486 | 153 | 0.637937 |
8e7c08d95473573b402a0b287c707555f09d00f2 | 635 | js | JavaScript | lib/unset.js | WindomZ/gituser.js | 610430112247c2409fead9426010973b65df0636 | [
"MIT"
] | 8 | 2017-04-29T14:12:02.000Z | 2022-01-12T10:17:00.000Z | lib/unset.js | WindomZ/gituser.js | 610430112247c2409fead9426010973b65df0636 | [
"MIT"
] | 36 | 2017-05-03T08:44:18.000Z | 2021-05-08T15:08:10.000Z | lib/unset.js | WindomZ/gituser.js | 610430112247c2409fead9426010973b65df0636 | [
"MIT"
] | 1 | 2020-09-09T23:05:34.000Z | 2020-09-09T23:05:34.000Z | /**
* Created by WindomZ on 17-5-2.
*/
'use strict'
const shell = require('shelljs')
function * unset (options) {
if (!shell.which('git')) {
throw new ReferenceError('Sorry, this script requires git')
}
let cmd = 'git config --unset user.name'
if (shell.exec(cmd).code !== 0) {
throw new ReferenceEr... | 21.896552 | 66 | 0.620472 |
7f5c5e6c93c64afb4cf6d66dfb7aab5afa7e0d47 | 701 | php | PHP | resources/views/admin/reservations-edit.blade.php | WiWaG/wowita | 9555e3c64810cda5269b410062fceda2fa8cfe1a | [
"MIT"
] | 3 | 2021-01-29T12:08:39.000Z | 2021-02-27T14:55:25.000Z | resources/views/admin/reservations-edit.blade.php | WiWaG/wowita | 9555e3c64810cda5269b410062fceda2fa8cfe1a | [
"MIT"
] | 15 | 2021-02-01T12:31:34.000Z | 2021-02-27T10:01:22.000Z | resources/views/admin/reservations-edit.blade.php | WiWaG/wowita | 9555e3c64810cda5269b410062fceda2fa8cfe1a | [
"MIT"
] | 3 | 2021-01-28T08:33:14.000Z | 2021-02-27T14:55:05.000Z | @extends('layouts.dashboard')
@section('content')
<div class="container bg-yellow-300 p-2 lg:p-4">
<div class="rounded bg-white shadow-xl p-5 lg:p-20 mx-auto text-gray-800">
<form action=" {{ route('admin.reservations.update', ['reservation' => $reservation]) }} " method="POST">
@csrf
... | 25.962963 | 152 | 0.594864 |
cf0c3c0b4b975ac969b3e322c08693e35e30ee16 | 17,262 | php | PHP | modules/Property/Views/frontend/detail.blade.php | Robiul26/property_one | fd9612ad8b7136c4104dd8af28327ef814917b65 | [
"MIT"
] | null | null | null | modules/Property/Views/frontend/detail.blade.php | Robiul26/property_one | fd9612ad8b7136c4104dd8af28327ef814917b65 | [
"MIT"
] | null | null | null | modules/Property/Views/frontend/detail.blade.php | Robiul26/property_one | fd9612ad8b7136c4104dd8af28327ef814917b65 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('head')
@endsection
@section('content')
<section class="listing-title-area p-0">
@include('Property::frontend.layouts.details.gallery_property')
</section>
<!-- Agent Single Grid View -->
<section class="our-agent-single bgc-f7 pb30-991">
<div class="con... | 64.410448 | 181 | 0.325339 |
3905e9afd6f434ab51114bf636fddb5a5109cc12 | 1,986 | py | Python | bravado_core/exception.py | terencehonles/bravado-core | 382db874b7b838dcfd169b0ce490d6a447ad6ff2 | [
"BSD-3-Clause"
] | 122 | 2015-04-22T17:31:18.000Z | 2021-11-08T10:29:57.000Z | bravado_core/exception.py | terencehonles/bravado-core | 382db874b7b838dcfd169b0ce490d6a447ad6ff2 | [
"BSD-3-Clause"
] | 364 | 2015-04-10T22:19:23.000Z | 2022-02-25T08:55:10.000Z | bravado_core/exception.py | terencehonles/bravado-core | 382db874b7b838dcfd169b0ce490d6a447ad6ff2 | [
"BSD-3-Clause"
] | 118 | 2015-04-20T15:11:53.000Z | 2021-12-09T10:03:34.000Z | # -*- coding: utf-8 -*-
import sys
import six
import typing
if getattr(typing, 'TYPE_CHECKING', False):
from bravado_core._compat_typing import FuncType
class SwaggerError(Exception):
"""Base exception class which all bravado-core specific exceptions
inherit from.
"""
class SwaggerMappingError(Sw... | 28.782609 | 84 | 0.67422 |
f3abc82a5600dd12b1da3b7b523bfe22a604854b | 2,801 | dart | Dart | lib/model/module_coverage.dart | sowderca/azure_devops_sdk | 1ef1b3b5f72dca3d5075d211f97196caa99494ad | [
"MIT"
] | 2 | 2019-10-07T12:30:29.000Z | 2021-03-19T11:49:53.000Z | lib/model/module_coverage.dart | sowderca/azure_devops_sdk | 1ef1b3b5f72dca3d5075d211f97196caa99494ad | [
"MIT"
] | null | null | null | lib/model/module_coverage.dart | sowderca/azure_devops_sdk | 1ef1b3b5f72dca3d5075d211f97196caa99494ad | [
"MIT"
] | null | null | null | part of azure_devops_sdk.api;
class ModuleCoverage {
int blockCount = null;
List<String> blockData = [];
/* Code Coverage File Url */
String fileUrl = null;
List<FunctionCoverage> functions = [];
String name = null;
String signature = null;
int signatureAge = null;
CoverageStatis... | 26.67619 | 202 | 0.594788 |
2001e552c57a71b4955eee22b5ee4de2e09de43d | 636 | py | Python | DeepFilterNet/df/scripts/plot_spec.py | ishine/DeepFilterNet | 797a02a20a10f4bc0c9af1c3bfa41bb0009342fc | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | DeepFilterNet/df/scripts/plot_spec.py | ishine/DeepFilterNet | 797a02a20a10f4bc0c9af1c3bfa41bb0009342fc | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 5 | 2022-02-15T00:29:20.000Z | 2022-03-18T13:07:57.000Z | DeepFilterNet/df/scripts/plot_spec.py | ishine/DeepFilterNet | 797a02a20a10f4bc0c9af1c3bfa41bb0009342fc | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | import os
import sys
import torchaudio as ta
from df.visualization import plt, spec_figure
def main(path: str):
audio, sr = ta.load(path)
f = plt.figure(figsize=(10, 6))
f.set_tight_layout(True)
spec_figure(
audio,
sr,
colorbar=True,
from_audio=True,
figure=f,... | 19.272727 | 51 | 0.577044 |
5aa9c29e2809d1d4bb473268b848463f2e16d122 | 2,260 | dart | Dart | app_transito/lib/core/app_text_styles.dart | KoriCorporation/TrabalhoPraticoUNA- | ffcf955ebfd631b873761b48a66610c93babfc51 | [
"MIT"
] | null | null | null | app_transito/lib/core/app_text_styles.dart | KoriCorporation/TrabalhoPraticoUNA- | ffcf955ebfd631b873761b48a66610c93babfc51 | [
"MIT"
] | null | null | null | app_transito/lib/core/app_text_styles.dart | KoriCorporation/TrabalhoPraticoUNA- | ffcf955ebfd631b873761b48a66610c93babfc51 | [
"MIT"
] | 2 | 2021-04-15T14:02:09.000Z | 2021-04-29T19:33:06.000Z | import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'app_colors.dart';
class AppTextStyles {
static final TextStyle titleBlue = GoogleFonts.roboto(
color: AppColors.textBlue,
fontSize: 56,
fontWeight: FontWeight.w400,
);
static final TextStyle titlerose =... | 26.588235 | 68 | 0.722566 |
43ce301f66e34af8eb9f6f1b3f6806a5e6de208f | 177 | ts | TypeScript | web/src/utils/classNames.ts | Tocabi/clearcloud | 972a796aec68755f66fdcf7cc39d5f77ca96f096 | [
"MIT"
] | 25 | 2021-07-24T07:06:42.000Z | 2021-07-25T13:58:53.000Z | web/src/utils/classNames.ts | Tocabi/clearcloud | 972a796aec68755f66fdcf7cc39d5f77ca96f096 | [
"MIT"
] | 62 | 2021-06-24T15:55:37.000Z | 2021-07-24T16:06:34.000Z | web/src/utils/classNames.ts | keydrive/keydrive | 972a796aec68755f66fdcf7cc39d5f77ca96f096 | [
"MIT"
] | 1 | 2021-07-24T15:43:52.000Z | 2021-07-24T15:43:52.000Z | export type ClassName = string | undefined | false;
export function classNames(...classList: ClassName[]): string {
return classList.filter((c): boolean => !!c).join(' ');
}
| 29.5 | 63 | 0.683616 |
85079edaf8e416ba217b2017ebe7c19ad6682234 | 1,019 | cs | C# | NiftyPerforce/Commands/P4ShowItem.cs | ben-marsh/niftyplugins | 191def49818942d8e41ca618716830d98949c02e | [
"MIT"
] | 8 | 2016-01-05T10:44:57.000Z | 2022-02-10T21:38:47.000Z | NiftyPerforce/Commands/P4ShowItem.cs | ben-marsh/niftyplugins | 191def49818942d8e41ca618716830d98949c02e | [
"MIT"
] | null | null | null | NiftyPerforce/Commands/P4ShowItem.cs | ben-marsh/niftyplugins | 191def49818942d8e41ca618716830d98949c02e | [
"MIT"
] | 4 | 2015-10-11T16:31:31.000Z | 2021-04-09T04:32:12.000Z | // Copyright (C) 2006-2010 Jim Tilander. See COPYING for and README for more details.
using System;
using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio.CommandBars;
namespace Aurora
{
namespace NiftyPerforce
{
class P4ShowItem : ItemCommandBase
{
public P4ShowItem(Plugin plugin)
: base... | 24.261905 | 98 | 0.675172 |
dfdd5a60160f8cea820b4dbd961e99ed4ac24a25 | 492 | rb | Ruby | spec/spec_helper.rb | aptible/fridge | c40da8f5c89ac0f437624237f08f7e3b66ca0189 | [
"MIT"
] | 5 | 2015-04-27T22:43:23.000Z | 2018-09-28T13:10:58.000Z | spec/spec_helper.rb | aptible/fridge | c40da8f5c89ac0f437624237f08f7e3b66ca0189 | [
"MIT"
] | 6 | 2015-04-01T15:00:23.000Z | 2021-05-18T15:20:40.000Z | spec/spec_helper.rb | aptible/fridge | c40da8f5c89ac0f437624237f08f7e3b66ca0189 | [
"MIT"
] | 5 | 2016-02-24T14:48:20.000Z | 2020-04-24T16:36:01.000Z | $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'active_support/all'
require 'action_controller'
require 'action_dispatch'
require 'action_view'
require 'fridge'
require 'fridge/rails_helpers'
require 'rspec'
require 'rspec/rails'
# Load shared s... | 21.391304 | 66 | 0.754065 |
a66c157b299632f2c4bee149596a4c8730812108 | 965 | rb | Ruby | contracts/generators/secp256k1_sha3_sighash_all.rb | KellyShang/ckb-demo-ruby-sdk | 449e291cf0460749c530b27a6fd218262de553a8 | [
"MIT"
] | null | null | null | contracts/generators/secp256k1_sha3_sighash_all.rb | KellyShang/ckb-demo-ruby-sdk | 449e291cf0460749c530b27a6fd218262de553a8 | [
"MIT"
] | null | null | null | contracts/generators/secp256k1_sha3_sighash_all.rb | KellyShang/ckb-demo-ruby-sdk | 449e291cf0460749c530b27a6fd218262de553a8 | [
"MIT"
] | null | null | null | if ARGV.length < 1
raise "Not enough arguments!"
end
tx = CKB.load_tx
sha3 = Sha3.new
sha3.update(tx["version"].to_s)
tx["deps"].each do |dep|
sha3.update(dep["hash"])
sha3.update(dep["index"].to_s)
end
tx["inputs"].each do |input|
sha3.update(input["hash"])
sha3.update(input["index"].to_s)
sha3.update(in... | 22.97619 | 66 | 0.688083 |
c6761e63ebd58102c6af6e3c3f9e9cce1afd4a2d | 364 | css | CSS | client/components/Header/Header.module.css | GTBitsOfGood/bgc-safety | 1c7efc2149623cf62185a407f2b632d064da8264 | [
"MIT"
] | 7 | 2020-02-22T16:22:30.000Z | 2021-07-29T16:22:41.000Z | client/components/Header/Header.module.css | GTBitsOfGood/bgc-safety | 1c7efc2149623cf62185a407f2b632d064da8264 | [
"MIT"
] | 115 | 2020-02-10T22:41:31.000Z | 2022-03-31T23:01:52.000Z | client/components/Header/Header.module.css | GTBitsOfGood/bgc-safety | 1c7efc2149623cf62185a407f2b632d064da8264 | [
"MIT"
] | null | null | null | .root {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-around;
padding: 8px 4px;
align-items: center;
border-bottom: 1px solid rgba(128, 128, 128, 0.5);
}
.dropdown-menu select {
display: none;
}
.printButton {
background-color: #c4c4c4;
border: none;
padding: 16px 20px;... | 16.545455 | 52 | 0.662088 |
502b070e8141cb579330440f5a9d8bdf9e2f9178 | 293 | dart | Dart | app_client/lib/screens/index.dart | DonnC/food_app | e6100db9db185b95a5b39bed3e242ec2e27153b5 | [
"MIT"
] | 8 | 2021-02-06T21:19:02.000Z | 2021-12-31T17:38:23.000Z | app_client/lib/screens/index.dart | wechulimaven/food_app | e6100db9db185b95a5b39bed3e242ec2e27153b5 | [
"MIT"
] | null | null | null | app_client/lib/screens/index.dart | wechulimaven/food_app | e6100db9db185b95a5b39bed3e242ec2e27153b5 | [
"MIT"
] | 5 | 2021-02-06T21:19:35.000Z | 2021-06-07T11:08:27.000Z | // export all screens files here
export 'login_signup.dart';
export 'home_page.dart';
export 'start_page.dart';
export 'cart_page.dart';
export 'product_details.dart';
export 'favorites_page.dart';
export 'notification_page.dart';
export 'profile_page.dart';
export 'order_payment_page.dart';
| 26.636364 | 33 | 0.788396 |
e461328a5c25abd23385e8f01956ccb30851bd4e | 5,814 | rs | Rust | src/render.rs | Aofusa/gemspt-rs | 58862f20eb29dbeb732a86edd347e8e5b26326eb | [
"Apache-2.0"
] | 2 | 2018-02-25T11:31:58.000Z | 2018-08-14T16:58:41.000Z | src/render.rs | Aofusa/gemspt-rs | 58862f20eb29dbeb732a86edd347e8e5b26326eb | [
"Apache-2.0"
] | null | null | null | src/render.rs | Aofusa/gemspt-rs | 58862f20eb29dbeb732a86edd347e8e5b26326eb | [
"Apache-2.0"
] | null | null | null | #![allow(dead_code, unused_variables)]
use std;
use std::sync::{Arc, Mutex};
use rayon::prelude::*;
use radiance::radiance;
use ppm::save_ppm_file;
use random::Random;
use vec::{Vec, Normalize, Cross};
use scene::Scene;
use ray::Ray;
macro_rules! clone_value {
($x:expr, $n:expr) => ({
let mut temp_vec ... | 41.234043 | 134 | 0.485208 |
050abd8582c9d281beef71b656b30969cd5cabfc | 5,739 | rs | Rust | molt/src/macros.rs | Twisol/molt | f7c601008a32b42934e790d132b6b2ac134e61da | [
"BSD-3-Clause"
] | 52 | 2019-07-07T16:42:31.000Z | 2022-02-10T03:24:47.000Z | molt/src/macros.rs | wduquette/gcl | f7c601008a32b42934e790d132b6b2ac134e61da | [
"BSD-3-Clause"
] | 78 | 2019-01-21T17:00:34.000Z | 2021-12-12T19:58:39.000Z | molt/src/macros.rs | wduquette/gcl | f7c601008a32b42934e790d132b6b2ac134e61da | [
"BSD-3-Clause"
] | 9 | 2019-07-01T16:31:20.000Z | 2021-09-06T08:12:49.000Z | //! Convenience Macros
//!
//! This module contains macros for use by command authors.
/// Returns an `Ok` `MoltResult`.
///
/// If called with no arguments, returns an empty value as the `Ok` result.
/// If called with one argument, returns the argument as the `Ok` result, converting it
/// to a value automatically.
... | 26.817757 | 95 | 0.556717 |
06c472dff48bfef9805779d58dd3ff284ecc38ff | 6,659 | py | Python | blockchain/main/api/views.py | alexporcar/ASCIIcoin | d9d0da1a6dbb8a19c3f0e2a5598c72b8910924f6 | [
"MIT"
] | 1 | 2021-08-01T17:16:26.000Z | 2021-08-01T17:16:26.000Z | blockchain/main/api/views.py | alexporcar/ASCIIcoin | d9d0da1a6dbb8a19c3f0e2a5598c72b8910924f6 | [
"MIT"
] | null | null | null | blockchain/main/api/views.py | alexporcar/ASCIIcoin | d9d0da1a6dbb8a19c3f0e2a5598c72b8910924f6 | [
"MIT"
] | null | null | null | from django.db.models import F
from django.http import HttpResponse
from rest_framework import status
from rest_framework.decorators import api_view
from rest_framework.response import Response
from main.models import Transaction, Mempool, Block_header, Block_transaction, Node
from main.api.serializers import Transacti... | 40.852761 | 339 | 0.646343 |
0370ece77558b8cbeec3aae88f9374d885d54e7d | 5,737 | dart | Dart | lib/app/router/router_utils.dart | yichengzou/FlutterUnit | 3dedd8587aff09bb81482195f96a356a41ce1b51 | [
"MIT"
] | 1 | 2020-12-05T07:20:14.000Z | 2020-12-05T07:20:14.000Z | lib/app/router/router_utils.dart | Jiabaokang/FlutterUnit | 2cc5dad887a1f4b0604e75aebde5534ff1124c01 | [
"MIT"
] | null | null | null | lib/app/router/router_utils.dart | Jiabaokang/FlutterUnit | 2cc5dad887a1f4b0604e75aebde5534ff1124c01 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
//缩放路由动画
class ScaleRouter<T> extends PageRouteBuilder<T> {
final Widget child;
final int durationMs;
final Curve curve;
ScaleRouter({required this.child, this.durationMs = 500,this.curve=Curves.fastOutSlowIn})
: super(
pageBuilder: (context, animation, seconda... | 34.981707 | 111 | 0.638313 |
7569c7415aa46af724e3ee5c926e2efdecd7f299 | 1,733 | css | CSS | public/assets/css/reports/expense_bill.css | lucasmb/consorcia-2 | 72c9dcde9b156553cd9f9ecddf04eb6734407be6 | [
"MIT"
] | null | null | null | public/assets/css/reports/expense_bill.css | lucasmb/consorcia-2 | 72c9dcde9b156553cd9f9ecddf04eb6734407be6 | [
"MIT"
] | null | null | null | public/assets/css/reports/expense_bill.css | lucasmb/consorcia-2 | 72c9dcde9b156553cd9f9ecddf04eb6734407be6 | [
"MIT"
] | null | null | null | .page{
height: 670px;
}
.left_column{
font: 9pt 'trebuchet ms',arial,sans-serif;
float: left;
width: 48%;
}
.right_column{
font: 9pt 'trebuchet ms',arial,sans-serif;
width:48%;
padding-left: 5px;
margin-left: 1%;
float: left;
}
.original_left{
height: 335px;
}
.original_right... | 14.686441 | 61 | 0.599538 |
5b59bc065ddaf6b2f77e136fde93a5d7427f5956 | 538 | sql | SQL | tests/queries/0_stateless/01455_optimize_trivial_insert_select.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 15,577 | 2019-09-23T11:57:53.000Z | 2022-03-31T18:21:48.000Z | tests/queries/0_stateless/01455_optimize_trivial_insert_select.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 16,476 | 2019-09-23T11:47:00.000Z | 2022-03-31T23:06:01.000Z | tests/queries/0_stateless/01455_optimize_trivial_insert_select.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 3,633 | 2019-09-23T12:18:28.000Z | 2022-03-31T15:55:48.000Z | SET max_insert_threads = 1, max_threads = 100, min_insert_block_size_rows = 1048576, max_block_size = 65536;
DROP TABLE IF EXISTS t;
CREATE TABLE t (x UInt64) ENGINE = StripeLog;
-- For trivial INSERT SELECT, max_threads is lowered to max_insert_threads and max_block_size is changed to min_insert_block_size_rows.
INSER... | 53.8 | 135 | 0.791822 |
58bae816f9fecf67987dc408c2e074833999fcaf | 18,899 | css | CSS | css/first.css | dreamingodd/ykcoin.top | 8d77aa4bac15d742ce0e3681abb337381f4d4cae | [
"MIT"
] | 1 | 2020-09-26T03:22:27.000Z | 2020-09-26T03:22:27.000Z | www/yimian.xyz/public_html/css/first.css | IoTcat/ushio-cn | 8eaa890e0e5af3afe2db212becf6a61eb5ce84fa | [
"Apache-2.0"
] | 3 | 2020-06-11T09:20:06.000Z | 2020-06-11T09:30:51.000Z | www/yimian.xyz/public_html/css/first.css | IoTcat/ushio-cn | 8eaa890e0e5af3afe2db212becf6a61eb5ce84fa | [
"Apache-2.0"
] | null | null | null | @charset "utf-8";
/* font */
@font-face {
font-family: "Segoe UI Light";
src: url("../fonts/segoeuil.eot"); /* IE9 Compat Modes */
src:local("Segoe UI Light"),
url("../fonts/segoeuil.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("../fonts/segoeuil.woff") format("woff"), /* Modern Browsers */
... | 37.873747 | 307 | 0.706175 |
6589014caaf719e51c04102abad9eab868cf587c | 689 | kt | Kotlin | app/src/main/java/win/ca/demo/myapplication/domain/usecase/base/BaseUseCase.kt | sud007/Note-Reader-Sample | 2061d65f862511a73b3a2f7173ac7b12f53d2678 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/win/ca/demo/myapplication/domain/usecase/base/BaseUseCase.kt | sud007/Note-Reader-Sample | 2061d65f862511a73b3a2f7173ac7b12f53d2678 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/win/ca/demo/myapplication/domain/usecase/base/BaseUseCase.kt | sud007/Note-Reader-Sample | 2061d65f862511a73b3a2f7173ac7b12f53d2678 | [
"Apache-2.0"
] | null | null | null | package win.ca.demo.myapplication.domain.usecase.base
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.async
import kotlinx.coroutines.launch
import win.ca.demo.myapplication.data.api.model.response.base.Failure
import win.ca.demo.myapplication.data.arch.Either
/**
* Created by Sudhanshu Singh on 2... | 29.956522 | 69 | 0.698113 |
d4f9f8bfe4f1608fda2b39cf64891e97ccd3588b | 13,095 | ts | TypeScript | src/main/resources/static/typescript/path.ts | Poxterx/Dungeon-Crawler | 102add7c69947378155d7a02996ad04906534517 | [
"Apache-2.0"
] | 2 | 2020-03-15T21:39:20.000Z | 2021-08-28T11:55:54.000Z | src/main/resources/static/typescript/path.ts | Poxterx/Dungeon-Crawler | 102add7c69947378155d7a02996ad04906534517 | [
"Apache-2.0"
] | null | null | null | src/main/resources/static/typescript/path.ts | Poxterx/Dungeon-Crawler | 102add7c69947378155d7a02996ad04906534517 | [
"Apache-2.0"
] | 3 | 2018-11-18T21:21:27.000Z | 2021-08-28T11:55:56.000Z | class Path {
/**
* Entidad que está siguiendo esta ruta
*/
private entity :Entity;
/**
* Punto de destino, en píxeles, en el que concluye la ruta
*/
private destination :Phaser.Math.Vector2;
/**
* Lista de puntos, en píxeles, que componen la ruta
*/
private points :... | 45.155172 | 100 | 0.598855 |
7f7270fee9ac592dc687fc6b63b2f0abc970b27f | 910 | php | PHP | app/Http/Controllers/UserFavoriteController.php | yuto0139/microposts | e072877a63c765afa46b69ff628f4c2ecf0cd67c | [
"MIT"
] | null | null | null | app/Http/Controllers/UserFavoriteController.php | yuto0139/microposts | e072877a63c765afa46b69ff628f4c2ecf0cd67c | [
"MIT"
] | 1 | 2018-08-24T07:30:03.000Z | 2018-08-24T07:30:04.000Z | app/Http/Controllers/UserFavoriteController.php | yuto0139/microposts | e072877a63c765afa46b69ff628f4c2ecf0cd67c | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class UserFavoriteController extends Controller
{
public function store(Request $request, $micropost)
{
\Auth::user()->give_favorite($micropost);
return redirect()->back();
}
public function destroy($micropost)
{
... | 23.947368 | 94 | 0.530769 |
748aae272aa297f4f520071d21b2673ea054fca5 | 434 | css | CSS | lib/style/DefaultStyle.css | AlexScriba/Weaver | 811cd5df6ca8ad71e4e92bbde953ae4303ae16e5 | [
"MIT"
] | 1 | 2022-01-22T12:08:02.000Z | 2022-01-22T12:08:02.000Z | lib/style/DefaultStyle.css | AlexScriba/Weaver | 811cd5df6ca8ad71e4e92bbde953ae4303ae16e5 | [
"MIT"
] | null | null | null | lib/style/DefaultStyle.css | AlexScriba/Weaver | 811cd5df6ca8ad71e4e92bbde953ae4303ae16e5 | [
"MIT"
] | null | null | null | :root {
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
}
body {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
div {
padding: 0;
margin: 0;
}
.row {
display: flex;
flex-direction: r... | 10.85 | 31 | 0.647465 |
135251379815a94578744f3b2f2e395e73df68c4 | 161 | lua | Lua | 2017/06/solution.lua | MechWipf/adventofcode | 4645db2e883c4e256f58c1bd59536ebff70f99e2 | [
"MIT"
] | null | null | null | 2017/06/solution.lua | MechWipf/adventofcode | 4645db2e883c4e256f58c1bd59536ebff70f99e2 | [
"MIT"
] | null | null | null | 2017/06/solution.lua | MechWipf/adventofcode | 4645db2e883c4e256f58c1bd59536ebff70f99e2 | [
"MIT"
] | null | null | null | package.path = [[X:\Notizen\OtherStuff\?.lua;]] .. package.path
local utils = require "utils"
print( (function () return table.unpack { 1, 2 }, 3 end)() ); | 32.2 | 64 | 0.627329 |
6b7dac3c39252a4f484a013f9b9dc7597554a542 | 30,490 | swift | Swift | ActionsCatalog/ActionsCatalog/GameScene.swift | hotchner/2DGames | c23596d294d91211450b59205efd765137400447 | [
"MIT"
] | null | null | null | ActionsCatalog/ActionsCatalog/GameScene.swift | hotchner/2DGames | c23596d294d91211450b59205efd765137400447 | [
"MIT"
] | null | null | null | ActionsCatalog/ActionsCatalog/GameScene.swift | hotchner/2DGames | c23596d294d91211450b59205efd765137400447 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2017 Razeware LLC
*
* Permission is hereby granted, free of charge, 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, di... | 32.714592 | 254 | 0.648081 |
54cb80a017eacebb49f737fa7d592c2c9bc662c9 | 406 | css | CSS | assets/css/leashless.css | greggoryhogan/leashless | 683c858adb6cfe046625235f42cda01779361843 | [
"MIT"
] | null | null | null | assets/css/leashless.css | greggoryhogan/leashless | 683c858adb6cfe046625235f42cda01779361843 | [
"MIT"
] | null | null | null | assets/css/leashless.css | greggoryhogan/leashless | 683c858adb6cfe046625235f42cda01779361843 | [
"MIT"
] | null | null | null | .gform_wrapper #gform_1 .gfield_chainedselect select{width:100% !important}.ui-autocomplete{max-height:250px;overflow-y:auto;overflow-x:hidden}.ui-autocomplete .ui-autocomplete-category{font-weight:bold;padding:.2em .4em;margin:.2em 0 .2em;line-height:1.5}#findapark{padding:1rem 2rem;width:100%}#findapark input[type="t... | 203 | 405 | 0.79803 |
da3e60500b06f63ba85e9d7fc28967a2a8692e6a | 7,572 | tsx | TypeScript | src/pages/spectrum_strip.tsx | Abhimanyu6676/www | 01a7ad0a91fe28c33fdcacfc98308ddacdc332d7 | [
"RSA-MD"
] | null | null | null | src/pages/spectrum_strip.tsx | Abhimanyu6676/www | 01a7ad0a91fe28c33fdcacfc98308ddacdc332d7 | [
"RSA-MD"
] | null | null | null | src/pages/spectrum_strip.tsx | Abhimanyu6676/www | 01a7ad0a91fe28c33fdcacfc98308ddacdc332d7 | [
"RSA-MD"
] | null | null | null | import { graphql, useStaticQuery } from "gatsby"
import React from "react"
import { Container } from "react-bootstrap"
import Layout from "../components/common/layout"
import Section1 from "../components/common/productSection"
import Section2 from "../components/common/sectionType1"
import Section3 from "../components/... | 40.063492 | 208 | 0.529715 |
714955d953127c9f5fb12109fdf6eada9be34a41 | 4,217 | rs | Rust | src/auth.rs | flosse/spotify-oauth | 914cc8a5e9293b2be726b90f606d2f9e6758e8ed | [
"MIT"
] | null | null | null | src/auth.rs | flosse/spotify-oauth | 914cc8a5e9293b2be726b90f606d2f9e6758e8ed | [
"MIT"
] | null | null | null | src/auth.rs | flosse/spotify-oauth | 914cc8a5e9293b2be726b90f606d2f9e6758e8ed | [
"MIT"
] | null | null | null | use crate::{generate_random_string, SpotifyResult, SpotifyScope, UrlError, SPOTIFY_AUTH_URL};
use snafu::ResultExt;
use std::string::ToString;
use url::Url;
/// Spotify Authentication
///
/// This struct follows the parameters given at [this](https://developer.spotify.com/documentation/general/guides/authorization-gui... | 39.411215 | 170 | 0.631017 |
0302fe1a71acf309e102cacbe39d1e06fc755094 | 41 | cpp | C++ | GObj.cpp | sparrowflyy/GEngine | 06834976289feec202245a7ec44a3c7e8687bb8e | [
"MIT"
] | null | null | null | GObj.cpp | sparrowflyy/GEngine | 06834976289feec202245a7ec44a3c7e8687bb8e | [
"MIT"
] | null | null | null | GObj.cpp | sparrowflyy/GEngine | 06834976289feec202245a7ec44a3c7e8687bb8e | [
"MIT"
] | null | null | null | #include "GObj.h"
#include <iostream>
| 6.833333 | 19 | 0.658537 |
1a905afc96e78a1e69cec5e56dd4f2b982418ee1 | 4,707 | py | Python | curio-0.8/tests/test_local.py | lleej/python | f4eff76819cec2c479ec19a4940141406079cb9a | [
"MIT"
] | 1 | 2017-10-11T07:15:15.000Z | 2017-10-11T07:15:15.000Z | curio-0.8/tests/test_local.py | lleej/python | f4eff76819cec2c479ec19a4940141406079cb9a | [
"MIT"
] | 2 | 2018-02-01T02:54:17.000Z | 2018-06-14T03:18:51.000Z | curio-0.8/tests/test_local.py | lleej/python | f4eff76819cec2c479ec19a4940141406079cb9a | [
"MIT"
] | null | null | null | # test_tls.py
import pytest
from curio import *
from threading import Thread
# Like run, but unwraps exceptions so pytest can see them properly.
# Lets us use assert from inside async functions.
def run_with_real_exceptions(*args, **kwargs):
try:
return run(*args, **kwargs)
except TaskError as e:
... | 26.005525 | 94 | 0.581474 |
742a44918b8132ebb0910d689a42aaa184db4a6c | 4,314 | css | CSS | src/style.css | brahimdidi/Leaderboard-setup-project | f39d8e46e91bcd30cbcf50f4fa92432ff6a36dde | [
"MIT"
] | null | null | null | src/style.css | brahimdidi/Leaderboard-setup-project | f39d8e46e91bcd30cbcf50f4fa92432ff6a36dde | [
"MIT"
] | null | null | null | src/style.css | brahimdidi/Leaderboard-setup-project | f39d8e46e91bcd30cbcf50f4fa92432ff6a36dde | [
"MIT"
] | null | null | null | * {
margin: 0;
padding: 0;
box-sizing: border-box;
list-style: none;
text-transform: capitalize;
}
body {
background: linear-gradient(to left, #333, #333 50%, #eee 75%, #333 75%);
}
#main {
display: flex;
margin: 0 auto;
width: 91%;
}
.title {
font-size: 390%;
font-weight: bold;
padding: 20px... | 14.428094 | 75 | 0.600139 |
2162e37b64510d6f7f04b7579773fad6f1a716cf | 1,944 | js | JavaScript | app/containers/Pages/Dashboard/Main/ControlUser/ControlUserModal.js | artur-master/ssilva-front-end | 52329d4187afd56f5fb9cf1df04ab5a0df40f050 | [
"MIT"
] | null | null | null | app/containers/Pages/Dashboard/Main/ControlUser/ControlUserModal.js | artur-master/ssilva-front-end | 52329d4187afd56f5fb9cf1df04ab5a0df40f050 | [
"MIT"
] | 2 | 2020-06-28T00:18:21.000Z | 2021-09-03T03:01:40.000Z | app/containers/Pages/Dashboard/Main/ControlUser/ControlUserModal.js | artur-master/ssilva-front-end | 52329d4187afd56f5fb9cf1df04ab5a0df40f050 | [
"MIT"
] | 1 | 2022-02-02T20:26:50.000Z | 2022-02-02T20:26:50.000Z | /**
*
* Restriction
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import { Modal, ModalBody, ModalFooter, ModalHeader } from 'components/Modal';
import Button from 'components/Button';
import Thead from 'components/Table/Thead';
import ControlUItem from './ControlUserItem';
export function ... | 29.907692 | 96 | 0.545267 |
1a572274b15de5a4099b3e316811e7da64b6d960 | 1,600 | py | Python | lab-04-3-file_input_linear_regression.py | KANG91/Deep_Learning | e3e9de769ab835215d0ebeee79ff869afbe64ebf | [
"MIT"
] | null | null | null | lab-04-3-file_input_linear_regression.py | KANG91/Deep_Learning | e3e9de769ab835215d0ebeee79ff869afbe64ebf | [
"MIT"
] | null | null | null | lab-04-3-file_input_linear_regression.py | KANG91/Deep_Learning | e3e9de769ab835215d0ebeee79ff869afbe64ebf | [
"MIT"
] | null | null | null | # Lab 4 Multi-variable linear regression
import tensorflow as tf
import numpy as np
tf.set_random_seed(777) # for reproducibility
xy = np.loadtxt('data-01-test-score.csv', delimiter=',', dtype=np.float32)
x_data = xy[:, 0:-1]
y_data = xy[:, [-1]]
# Make sure the sape and data are OK
print(x_data.shape, x_data, len(x... | 28.571429 | 74 | 0.68875 |
0d48958671e3200354cab400ce1d8cd07a06be02 | 7,710 | cs | C# | ctlTopMenuN.ascx.cs | richardreamz/rentaboat | 210441dbe0ab1082ef6c3aae49264fb3da6d20a5 | [
"Apache-2.0"
] | null | null | null | ctlTopMenuN.ascx.cs | richardreamz/rentaboat | 210441dbe0ab1082ef6c3aae49264fb3da6d20a5 | [
"Apache-2.0"
] | null | null | null | ctlTopMenuN.ascx.cs | richardreamz/rentaboat | 210441dbe0ab1082ef6c3aae49264fb3da6d20a5 | [
"Apache-2.0"
] | null | null | null | using Microsoft.VisualBasic;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
public partial class ctlTopMenu : System.Web.UI.UserControl
{
[Web... | 27.833935 | 179 | 0.490791 |
dd79066518788e82799304761ae334e2e311bc22 | 4,318 | java | Java | drools-ruleunit/src/main/java/org/drools/ruleunit/RuleUnitExecutor.java | targeter21/drools | 83923adc5d2483303d0f402de3c20171abcdcc88 | [
"Apache-2.0"
] | 5 | 2016-07-31T17:00:18.000Z | 2022-01-11T04:34:29.000Z | drools-ruleunit/src/main/java/org/drools/ruleunit/RuleUnitExecutor.java | targeter21/drools | 83923adc5d2483303d0f402de3c20171abcdcc88 | [
"Apache-2.0"
] | 5 | 2017-11-08T14:08:38.000Z | 2018-07-02T14:49:23.000Z | drools-ruleunit/src/main/java/org/drools/ruleunit/RuleUnitExecutor.java | targeter21/drools | 83923adc5d2483303d0f402de3c20171abcdcc88 | [
"Apache-2.0"
] | 1 | 2019-10-18T09:35:54.000Z | 2019-10-18T09:35:54.000Z | /*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* 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 a... | 34 | 127 | 0.680871 |
1f38170082d41c496234138ae62d2150290fdf8d | 2,809 | cs | C# | Db/DbConnectionWrapper.cs | codeex/MmWizard | 43c86cc8121c36900fdd3133b4ede16cee078b76 | [
"Apache-2.0"
] | 1 | 2018-12-13T08:38:30.000Z | 2018-12-13T08:38:30.000Z | Db/DbConnectionWrapper.cs | codeex/MmWizard | 43c86cc8121c36900fdd3133b4ede16cee078b76 | [
"Apache-2.0"
] | 1 | 2018-09-18T05:12:53.000Z | 2018-09-18T05:12:53.000Z | Db/DbConnectionWrapper.cs | codeex/MmWizard | 43c86cc8121c36900fdd3133b4ede16cee078b76 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace MmWizard.Db
{
public partial class DbConnectionWrapper :IDisposable
{
public DbConnectionWrapper(DbC... | 25.536364 | 114 | 0.509078 |
1a8192bd8c9dab60171b03fa4617f751ef122505 | 595 | cs | C# | src/MariGlobals/Logger/Entities/MariEventLogMessage.cs | MariBotOfficial/MariGlobals | 9b169f618aeb715d7d8cafaa899af1140adefa5e | [
"MIT"
] | null | null | null | src/MariGlobals/Logger/Entities/MariEventLogMessage.cs | MariBotOfficial/MariGlobals | 9b169f618aeb715d7d8cafaa899af1140adefa5e | [
"MIT"
] | 3 | 2020-10-11T19:35:12.000Z | 2021-06-25T15:44:53.000Z | src/MariGlobals/Logger/Entities/MariEventLogMessage.cs | MariBotOfficial/MariGlobals | 9b169f618aeb715d7d8cafaa899af1140adefa5e | [
"MIT"
] | 1 | 2021-03-10T17:38:09.000Z | 2021-03-10T17:38:09.000Z | using Microsoft.Extensions.Logging;
using System;
namespace MariGlobals.Logger.Entities
{
public readonly struct MariEventLogMessage
{
internal MariEventLogMessage(string message, string sectionName, LogLevel logLevel, Exception exception)
{
Message = message;
SectionNa... | 24.791667 | 112 | 0.631933 |
f68cb6bbc5f036370324a7d621a4a7c4a6b1c613 | 856 | dart | Dart | test/website_request_test.dart | ezmaxinc/eZmax-SDK-dart | 5a02736620b669bc492c504be9dd3fc344a39505 | [
"MIT"
] | null | null | null | test/website_request_test.dart | ezmaxinc/eZmax-SDK-dart | 5a02736620b669bc492c504be9dd3fc344a39505 | [
"MIT"
] | null | null | null | test/website_request_test.dart | ezmaxinc/eZmax-SDK-dart | 5a02736620b669bc492c504be9dd3fc344a39505 | [
"MIT"
] | null | null | null | //
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// ignore_for_file: unused_element, unused_import
// ignore_for_file: always_put_required_named_parameters_first
// ignore_for_file: constant_identifier_names
// ignore_for_file: lines_longer_than_80_chars
import 'package:openapi/api.dart';
import 'package:te... | 24.457143 | 130 | 0.679907 |
142531f497c002c0bd57373e04baaec02257a5aa | 317 | ts | TypeScript | src/1925.count-square-sum-triples.2037/1925.count-square-sum-triples.2037.ts | jiangshanmeta/meta | 8f9d084cda91988d42208ac7a029612e9edc693b | [
"MIT"
] | 221 | 2018-10-26T07:05:12.000Z | 2022-03-30T03:23:10.000Z | src/1925.count-square-sum-triples.2037/1925.count-square-sum-triples.2037.ts | ralap18/meta | 82d660a6eabb15e398a7dcc2a0fa99342143bb12 | [
"MIT"
] | 23 | 2018-09-24T14:50:58.000Z | 2020-09-17T14:23:45.000Z | src/1925.count-square-sum-triples.2037/1925.count-square-sum-triples.2037.ts | ralap18/meta | 82d660a6eabb15e398a7dcc2a0fa99342143bb12 | [
"MIT"
] | 45 | 2019-03-29T03:36:19.000Z | 2022-03-25T20:57:13.000Z | function countTriples (n: number): number {
let result = 0;
for (let i = 1; i < n; i++) {
for (let j = i + 1; j < n; j++) {
const c = Math.sqrt(i * i + j * j);
if (Number.isInteger(c) && c <= n) {
result += 2;
}
}
}
return result;
}
| 24.384615 | 48 | 0.388013 |
b888128432b7d4e7b3cb42dc42f7909dd410c1b5 | 465 | h | C | Inc/freertos_vars.h | wanglong1107/foc_one | eec987574c39f6d727bcb50bc4c292c395202aec | [
"MIT"
] | null | null | null | Inc/freertos_vars.h | wanglong1107/foc_one | eec987574c39f6d727bcb50bc4c292c395202aec | [
"MIT"
] | null | null | null | Inc/freertos_vars.h | wanglong1107/foc_one | eec987574c39f6d727bcb50bc4c292c395202aec | [
"MIT"
] | null | null | null | /* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __FREERTOS_H
#define __FREERTOS_H
// List of semaphore
extern osSemaphoreId sem_usb_irq;
extern osSemaphoreId sem_uart_dma;
extern osSemaphoreId sem_usb_rx;
extern osSemaphoreId sem_usb_tx;
// List of threads
extern osThreadId th... | 27.352941 | 80 | 0.765591 |
ecdf9999a3e8437774e7676c7cffd039617548ef | 459 | swift | Swift | AlgunLayout/AlgunLayout/ViewController.swift | DonMag/AlgunLayout | 42ce41a122e038b0edafaf308aaed3bf5e596520 | [
"MIT"
] | null | null | null | AlgunLayout/AlgunLayout/ViewController.swift | DonMag/AlgunLayout | 42ce41a122e038b0edafaf308aaed3bf5e596520 | [
"MIT"
] | null | null | null | AlgunLayout/AlgunLayout/ViewController.swift | DonMag/AlgunLayout | 42ce41a122e038b0edafaf308aaed3bf5e596520 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// AlgunLayout
//
// Created by Don Mag on 8/8/17.
// Copyright © 2017 DonMag. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var theWhiteView: UIView!
@IBOutlet weak var theWhiteViewWidth: NSLayoutConstraint!
@IBAction func doGrow(_ s... | 17.653846 | 58 | 0.714597 |
388e5207a0370a1e022c2e8d4f41e77920e9dbda | 2,070 | ctp | PHP | app/View/Elements/pagination.ctp | muisit/comanage-registry | e30bcca10bedd4c817debf2f30252d4c729034e0 | [
"Apache-2.0"
] | null | null | null | app/View/Elements/pagination.ctp | muisit/comanage-registry | e30bcca10bedd4c817debf2f30252d4c729034e0 | [
"Apache-2.0"
] | null | null | null | app/View/Elements/pagination.ctp | muisit/comanage-registry | e30bcca10bedd4c817debf2f30252d4c729034e0 | [
"Apache-2.0"
] | null | null | null | <?php
/**
* COmanage Registry CO Bread Crumb
*
* Portions licensed to the University Corporation for Advanced Internet
* Development, Inc. ("UCAID") under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* ... | 29.571429 | 90 | 0.619324 |
da66fdaa1d22d2eba827ba4399f52476c2b31868 | 7,409 | php | PHP | resources/views/transfers/transferForm.blade.php | P-Sintija/mini-bank | 1dde7ea4739d891df062a8907decbd895d3288e4 | [
"MIT"
] | null | null | null | resources/views/transfers/transferForm.blade.php | P-Sintija/mini-bank | 1dde7ea4739d891df062a8907decbd895d3288e4 | [
"MIT"
] | null | null | null | resources/views/transfers/transferForm.blade.php | P-Sintija/mini-bank | 1dde7ea4739d891df062a8907decbd895d3288e4 | [
"MIT"
] | null | null | null | @extends('layout')
@section('content')
<div class="h-screen w-full flex overflow-hidden">
<nav class="flex flex-col bg-gray-200 dark:bg-gray-900 w-64 px-12 pt-4 pb-6">
<!-- SideNavBar -->
<div class="mt-8">
<img class="h-26 w-26 rounded-full object-cover"
... | 55.291045 | 114 | 0.405993 |
0147c28364ceb78ae8105ba31428b2d91ea33962 | 3,824 | rb | Ruby | app/models/c80_map/map_json.rb | c80609a/c80_map | ebfbda6a5db517b4b571765a3804e546cbe6a999 | [
"MIT"
] | null | null | null | app/models/c80_map/map_json.rb | c80609a/c80_map | ebfbda6a5db517b4b571765a3804e546cbe6a999 | [
"MIT"
] | null | null | null | app/models/c80_map/map_json.rb | c80609a/c80_map | ebfbda6a5db517b4b571765a3804e546cbe6a999 | [
"MIT"
] | null | null | null | module C80Map
class MapJson < ActiveRecord::Base
# этот метод вызовается после update Area
def self.update_json
locations_path = Rails.root.join("public", "locations.json")
locs = File.read(locations_path)
# puts "<MapJson.update_json> #{ Rails.root.join("public", "locations.json") }"
... | 32.683761 | 129 | 0.500523 |
8ba28ff03da15c0a5cb5153110691a1c26d1d033 | 518 | rb | Ruby | spec/dpic_spec.rb | djencks/asciidoctor-diagram | 730665c919c43d35a427f5219f4cf29b856c5390 | [
"MIT"
] | 1 | 2021-01-14T09:28:56.000Z | 2021-01-14T09:28:56.000Z | spec/dpic_spec.rb | djencks/asciidoctor-diagram | 730665c919c43d35a427f5219f4cf29b856c5390 | [
"MIT"
] | null | null | null | spec/dpic_spec.rb | djencks/asciidoctor-diagram | 730665c919c43d35a427f5219f4cf29b856c5390 | [
"MIT"
] | null | null | null | require_relative 'test_helper'
code = <<-eos
arrow "$u$" above
S: circle rad 10/72.27 # 10 pt
line right 0.35
G: box "$G(s)$"
arrow "$y$" above
line -> down G.ht from last arrow then left last arrow.c.x-S.x then to S.s
"$-\;$" below rjust
eos
describe Asciidoctor::Diagram::DpicBlockMacroProcessor, :broken_... | 25.9 | 77 | 0.708494 |
3cc90197ee70787fd4539ecfe13cece4aec4354a | 313 | lua | Lua | game/GameScreen.lua | elemel/chatterbox | 52442b5bf6bdd7e58aad3f3a046f130393ae1bce | [
"MIT"
] | null | null | null | game/GameScreen.lua | elemel/chatterbox | 52442b5bf6bdd7e58aad3f3a046f130393ae1bce | [
"MIT"
] | null | null | null | game/GameScreen.lua | elemel/chatterbox | 52442b5bf6bdd7e58aad3f3a046f130393ae1bce | [
"MIT"
] | null | null | null | local Class = require("game.Class")
local Engine = require("game.Engine")
local M = Class.new()
function M:init()
self.engine = Engine.new({})
end
function M:draw()
self.engine:draw()
end
function M:resize(w, h)
self.engine:resize(w, h)
end
function M:update(dt)
self.engine:update(dt)
end
return M
| 13.608696 | 37 | 0.690096 |
dd7d3989f3df409418b673afd1936655ba06489e | 1,422 | asm | Assembly | projects/08/FunctionCalls/StaticsTest/Class2.asm | nadavWeisler/Nand2Tetris | 59c2e616c45044c15b99aeb8459d39b59e5e07ba | [
"MIT"
] | null | null | null | projects/08/FunctionCalls/StaticsTest/Class2.asm | nadavWeisler/Nand2Tetris | 59c2e616c45044c15b99aeb8459d39b59e5e07ba | [
"MIT"
] | null | null | null | projects/08/FunctionCalls/StaticsTest/Class2.asm | nadavWeisler/Nand2Tetris | 59c2e616c45044c15b99aeb8459d39b59e5e07ba | [
"MIT"
] | null | null | null | (Class2.set)
@0
D=A
@i
M=D
D=M
@Class2.set.0
D;JEQ
(Class2.set..0)
@SP
A=M
M=0
@SP
D=M
D=D+1
M=D
@i
D=M
D=D-1
M=D
@Class2.set..0
D;JNE
(Class2.set.0)
@0
D=A
@ARG
A=M+D
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
A=M
D=M
@C:\Weisler\Study\Nand2Tetris\projects\08\FunctionCalls\StaticsTest\Class2.asm.0
M=D
@1
D=A
@ARG
A=M+D
D=M
@... | 6.32 | 80 | 0.613924 |
4449f63d64f806f97fc56fec2b0441578c1c090e | 3,789 | py | Python | core/file_handler.py | VuongTuanKhanh/Airborne-Object-Detection | 5d2c91797138501e782d35f5ec1bdf5821e7e17b | [
"MIT"
] | 5 | 2021-08-24T13:18:39.000Z | 2021-12-20T15:25:40.000Z | core/file_handler.py | VuongTuanKhanh/Airborne-Object-Detection | 5d2c91797138501e782d35f5ec1bdf5821e7e17b | [
"MIT"
] | null | null | null | core/file_handler.py | VuongTuanKhanh/Airborne-Object-Detection | 5d2c91797138501e782d35f5ec1bdf5821e7e17b | [
"MIT"
] | 1 | 2021-12-17T15:11:19.000Z | 2021-12-17T15:11:19.000Z | import os
from urllib.parse import urlparse
import cv2
from PIL import Image
import numpy
import multiprocessing
import boto3
from botocore import UNSIGNED
from botocore.client import Config
from loguru import logger
class FileHandler:
def __init__(self, local_path, s3_path, download_if_required=True):
se... | 36.085714 | 99 | 0.671153 |
b005ff2a59eba38f68ec943a403757dfeb0e0a67 | 2,586 | lua | Lua | scripts/PHRA-JP/c101102053.lua | Xylen09/ygopro-pre-script | 7a6a08d31704306bb90c3886df789a6a3e97963e | [
"Unlicense"
] | null | null | null | scripts/PHRA-JP/c101102053.lua | Xylen09/ygopro-pre-script | 7a6a08d31704306bb90c3886df789a6a3e97963e | [
"Unlicense"
] | null | null | null | scripts/PHRA-JP/c101102053.lua | Xylen09/ygopro-pre-script | 7a6a08d31704306bb90c3886df789a6a3e97963e | [
"Unlicense"
] | null | null | null | --鉄獣の凶襲
--
--Script by JustFish
function c101102053.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetCountLimit(1,1... | 40.40625 | 118 | 0.804718 |
b88c59558b9d9d070fe4654ea356e76af32e7f4f | 4,254 | swift | Swift | CLPBRD/Services/WebSocketClientService/PocketSocketClient.swift | ego-cms/CLPBRD_iOS | 9c3bd54da95ff861a95cec8568d9b89bd4fec02f | [
"MIT",
"Unlicense"
] | null | null | null | CLPBRD/Services/WebSocketClientService/PocketSocketClient.swift | ego-cms/CLPBRD_iOS | 9c3bd54da95ff861a95cec8568d9b89bd4fec02f | [
"MIT",
"Unlicense"
] | null | null | null | CLPBRD/Services/WebSocketClientService/PocketSocketClient.swift | ego-cms/CLPBRD_iOS | 9c3bd54da95ff861a95cec8568d9b89bd4fec02f | [
"MIT",
"Unlicense"
] | null | null | null | import Foundation
import Result
import SwiftyJSON
class PocketSocketClient: NSObject, WebSocketClientService {
private(set) var url: URL?
var webSocket: PSWebSocket?
var onReceivedText: ((String) -> Void)?
var onConnected: VoidClosure?
var onDisconnected: ((Error?) -> Void)?
filepriv... | 37.646018 | 136 | 0.567936 |
af7ce4a188d7ed17ee726c4e48d5cc832567a3e9 | 457 | lua | Lua | spec/lua/test_switch_repeat_expr.lua | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 11 | 2018-04-01T03:58:15.000Z | 2021-08-14T09:04:55.000Z | spec/lua/test_switch_repeat_expr.lua | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 73 | 2016-07-20T10:27:15.000Z | 2020-12-17T18:56:46.000Z | spec/lua/test_switch_repeat_expr.lua | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 37 | 2016-08-15T08:25:56.000Z | 2021-08-28T14:48:46.000Z | -- Autogenerated from KST: please remove this line if doing any edits by hand!
local luaunit = require("luaunit")
require("switch_repeat_expr")
TestSwitchRepeatExpr = {}
function TestSwitchRepeatExpr:test_switch_repeat_expr()
local r = SwitchRepeatExpr:from_file("src/switch_tlv.bin")
luaunit.assertEquals(r... | 28.5625 | 85 | 0.748359 |
2d7c89d6c78fdba874bb301698c4d86a283fe127 | 1,176 | css | CSS | node_modules/react-preloading-component/src/lib/components/PreLoader/Flag/Flag.css | build-week-weight-journal/weight-journal-FE | 36f82a2ae4c55789f67d9da2dc393e15d8cd0c36 | [
"MIT"
] | null | null | null | node_modules/react-preloading-component/src/lib/components/PreLoader/Flag/Flag.css | build-week-weight-journal/weight-journal-FE | 36f82a2ae4c55789f67d9da2dc393e15d8cd0c36 | [
"MIT"
] | null | null | null | node_modules/react-preloading-component/src/lib/components/PreLoader/Flag/Flag.css | build-week-weight-journal/weight-journal-FE | 36f82a2ae4c55789f67d9da2dc393e15d8cd0c36 | [
"MIT"
] | null | null | null | .PreLoading-Flag {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100%; width: 100%;
}
.PreLoading-row {
display: flex;
}
.Flag-circle {
border-radius: 100%;
animation: Flag 1.4s ease-in-out infinite;
}
.PreLoading-row:nth-of-type(1) .Fla... | 20.275862 | 61 | 0.623299 |
3a4fc2386415c0e92299eb034288aeb9c2d28ff3 | 1,478 | kt | Kotlin | dispatch-android-viewmodel/src/test/java/dispatch/android/viewmodel/samples/ViewModelScopeSample.kt | awesome-android-library-and-tools/Dispatch | fecb29f2109b9b819e40bd780232de8d464abae2 | [
"Apache-2.0"
] | 109 | 2020-01-27T10:17:40.000Z | 2022-03-28T23:10:50.000Z | dispatch-android-viewmodel/src/test/java/dispatch/android/viewmodel/samples/ViewModelScopeSample.kt | awesome-android-library-and-tools/Dispatch | fecb29f2109b9b819e40bd780232de8d464abae2 | [
"Apache-2.0"
] | 157 | 2020-02-03T21:45:58.000Z | 2022-02-14T18:16:52.000Z | dispatch-android-viewmodel/src/test/java/dispatch/android/viewmodel/samples/ViewModelScopeSample.kt | awesome-android-library-and-tools/Dispatch | fecb29f2109b9b819e40bd780232de8d464abae2 | [
"Apache-2.0"
] | 5 | 2020-03-29T22:26:56.000Z | 2021-09-08T00:22:31.000Z | /*
* Copyright (C) 2021 Rick Busarow
* 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 ... | 28.980392 | 88 | 0.730041 |
4db80668b7e15f138e6bce87f9c75da610d69043 | 596 | cs | C# | GraphLayout/Test/MSAGLTests/Infrastructure/DebugAssertRedirector.cs | MVoloshin/automatic-graph-layout | 6485e61c0c2851a6c8ab854e720c82fe368ddf7b | [
"MIT"
] | 443 | 2019-05-08T20:50:47.000Z | 2022-03-26T20:58:09.000Z | GraphLayout/Test/MSAGLTests/Infrastructure/DebugAssertRedirector.cs | QPC-database/automatic-graph-layout | ff4a15f615bc122bd38c4699077b4fd106d2398f | [
"MIT"
] | 105 | 2019-06-11T14:01:11.000Z | 2022-03-14T17:38:03.000Z | GraphLayout/Test/MSAGLTests/Infrastructure/DebugAssertRedirector.cs | QPC-database/automatic-graph-layout | ff4a15f615bc122bd38c4699077b4fd106d2398f | [
"MIT"
] | 130 | 2019-05-11T09:12:37.000Z | 2022-03-31T13:37:25.000Z | //-----------------------------------------------------------------------
// <copyright file="DebugAssertRedirector.cs" company="Microsoft">
// (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.Msagl.UnitTes... | 29.8 | 74 | 0.511745 |
a3aa719665bd6d7540d0f9cf53c6445c789a770e | 1,763 | java | Java | fusion-endpoint/src/main/java/dev/hilla/mappedtypes/Order.java | mortensen/flow | c0b2ffb0c5d35df46cf416e195201450c1de9e8a | [
"Apache-2.0"
] | null | null | null | fusion-endpoint/src/main/java/dev/hilla/mappedtypes/Order.java | mortensen/flow | c0b2ffb0c5d35df46cf416e195201450c1de9e8a | [
"Apache-2.0"
] | 10 | 2021-11-16T09:33:53.000Z | 2022-02-26T08:46:21.000Z | fusion-endpoint/src/main/java/dev/hilla/mappedtypes/Order.java | mortensen/flow | c0b2ffb0c5d35df46cf416e195201450c1de9e8a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2000-2022 Vaadin 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... | 25.185714 | 80 | 0.704481 |
4587b5ab1a8065484f6a5ea90dbb3ee9d08e5913 | 5,936 | py | Python | HXL/sentenceTrans.py | hxlnwpu/Sentence_pair_modeling | e0324711e27694ad22e070a118697184d23bca58 | [
"Apache-2.0"
] | null | null | null | HXL/sentenceTrans.py | hxlnwpu/Sentence_pair_modeling | e0324711e27694ad22e070a118697184d23bca58 | [
"Apache-2.0"
] | null | null | null | HXL/sentenceTrans.py | hxlnwpu/Sentence_pair_modeling | e0324711e27694ad22e070a118697184d23bca58 | [
"Apache-2.0"
] | null | null | null | from sentence_transformers import SentenceTransformer, util
import os
import csv
from sklearn import metrics
def cal_acc(result_dir ="./result_file"):
accuracy_file = os.path.join(result_dir, 'accuracy.txt')
# 存放结果的文件
trainResult = os.path.join(result_dir, 'trainBertResult.csv')
testResult = os.path.j... | 48.260163 | 131 | 0.610681 |
cd72906ac424d43d068eba2fd1108aaf79674465 | 687 | cs | C# | CSharp-OOP/Homeworks-And-Labs/01WorkingWithAbstractionLab/04HotelReservation/StartUp.cs | kalintsenkov/SoftUni-Software-Engineering | add12909bd0c82d721b8bae43144626173f6023a | [
"MIT"
] | 8 | 2020-12-30T08:58:37.000Z | 2022-01-15T12:52:14.000Z | CSharp-OOP/Homeworks-And-Labs/01WorkingWithAbstractionLab/04HotelReservation/StartUp.cs | zanovasevi/SoftUni-Software-Engineering | add12909bd0c82d721b8bae43144626173f6023a | [
"MIT"
] | null | null | null | CSharp-OOP/Homeworks-And-Labs/01WorkingWithAbstractionLab/04HotelReservation/StartUp.cs | zanovasevi/SoftUni-Software-Engineering | add12909bd0c82d721b8bae43144626173f6023a | [
"MIT"
] | 52 | 2019-06-08T08:50:21.000Z | 2022-03-21T21:20:21.000Z | namespace _04HotelReservation
{
using Informations;
using System;
public class StartUp
{
public static void Main()
{
var input = Console.ReadLine();
var informationParser = new InformationParser();
var information = informationParser.Parse(input);
... | 25.444444 | 96 | 0.608443 |
9fec895215bbe790a701c0830f44c5fdee23afa7 | 4,599 | py | Python | utils.py | kcwikizh/kancolle-shinkai-db | 73808a91b5f59d158374f016e2d514225f1ca6bd | [
"MIT"
] | 1 | 2019-02-11T08:57:07.000Z | 2019-02-11T08:57:07.000Z | utils.py | kcwikizh/kancolle-shinkai-db | 73808a91b5f59d158374f016e2d514225f1ca6bd | [
"MIT"
] | null | null | null | utils.py | kcwikizh/kancolle-shinkai-db | 73808a91b5f59d158374f016e2d514225f1ca6bd | [
"MIT"
] | null | null | null | """Utils
"""
import json
__all__ = ['MyException', 'nedb_parser', 'python_data_to_lua_table']
LUA_INDENT = ' ' * 4
class MyException(Exception):
"""My Exception
I don't want to check the return value of every function.
Raise an exception, just easier to programming.
"""
def __init__(self, msg):
... | 38.008264 | 79 | 0.506414 |
a31ab62614dd8de40ed9a3cab7d5db0aa0e0f1e4 | 620 | java | Java | Java/Greeter/Test/com/codewars/GreeterTest.java | JacobJO/Codewars | afe8cac78e97ef6dd8c527a0cae6aa8c3622607d | [
"MIT"
] | 1 | 2018-03-07T17:42:49.000Z | 2018-03-07T17:42:49.000Z | Java/Greeter/Test/com/codewars/GreeterTest.java | JacobJO/Codewars | afe8cac78e97ef6dd8c527a0cae6aa8c3622607d | [
"MIT"
] | null | null | null | Java/Greeter/Test/com/codewars/GreeterTest.java | JacobJO/Codewars | afe8cac78e97ef6dd8c527a0cae6aa8c3622607d | [
"MIT"
] | null | null | null | package com.codewars;
import org.junit.Test;
import static org.junit.Assert.*;
public class GreeterTest {
@Test
public void ShouldWorkForThisExample() throws Exception{
assertEquals( "Should greet some people normally", "Hello, Jacob!", Greeter.greet("Jacob") );
assertEquals( ... | 31 | 105 | 0.659677 |
da7ce712ff0555ba00ec8116909cea442d1de65c | 763 | php | PHP | application/controllers/News.php | bensoer/PHPLab2 | 0b4e51a5fe3b4ce764abb79027bb6b1b49627ada | [
"MIT"
] | null | null | null | application/controllers/News.php | bensoer/PHPLab2 | 0b4e51a5fe3b4ce764abb79027bb6b1b49627ada | [
"MIT"
] | null | null | null | application/controllers/News.php | bensoer/PHPLab2 | 0b4e51a5fe3b4ce764abb79027bb6b1b49627ada | [
"MIT"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: ben
* Date: 15/01/15
* Time: 4:18 PM
*/
class News extends MY_Controller{
public function index()
{
// get the top articles
$news = $this->directories->recentNews();
$clips = array();
foreach($news as $article){
$clips[... | 21.8 | 101 | 0.524246 |
93a8396e1c66e7ba1515c03336218cc660a7d324 | 986 | asm | Assembly | scripts/museum2f.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | null | null | null | scripts/museum2f.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | null | null | null | scripts/museum2f.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | null | null | null | Museum2FScript:
call EnableAutoTextBoxDrawing
ret
Museum2FTextPointers:
dw Museum2FText1
dw Museum2FText2
dw Museum2FText3
dw Museum2FText4
dw Museum2FText5
dw Museum2FText6
dw Museum2FText7
Museum2FText1:
TX_FAR _Museum2FText1
db "@"
Museum2FText2:
TX_FAR _Museum2FText2
db "@"
Museum2FText3:
TX_FAR _... | 13.694444 | 30 | 0.775862 |
daa0b2afcc01d1a86a106ab6bb6782fbbc6ef485 | 15,864 | php | PHP | app/Http/Controllers/API/User/DataController.php | peacedev201/liga-backend | cc0845fff28816217a00c88b137ec3f143f87927 | [
"MIT"
] | null | null | null | app/Http/Controllers/API/User/DataController.php | peacedev201/liga-backend | cc0845fff28816217a00c88b137ec3f143f87927 | [
"MIT"
] | null | null | null | app/Http/Controllers/API/User/DataController.php | peacedev201/liga-backend | cc0845fff28816217a00c88b137ec3f143f87927 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\API\User;
use App\Http\Resources\TournamentRoundMatchesResource;
use App\Models\News;
use App\Models\Tournament;
use App\Models\ClubProfile;
use Illuminate\Http\Request;
use App\Models\PlayerProfile;
use App\Http\Controllers\Controller;
use App\Http\Resources\NewsResource;
use App... | 44.813559 | 339 | 0.584468 |
b34a91f03917267a20b5a4316114275ffd0a2251 | 1,251 | py | Python | schema/test_connection.py | ramrod-project/database-brain | b024cb44f34cabb9d80af38271ddb65c25767083 | [
"MIT"
] | null | null | null | schema/test_connection.py | ramrod-project/database-brain | b024cb44f34cabb9d80af38271ddb65c25767083 | [
"MIT"
] | 13 | 2018-06-06T19:10:51.000Z | 2021-06-01T22:11:11.000Z | schema/test_connection.py | ramrod-project/database-brain | b024cb44f34cabb9d80af38271ddb65c25767083 | [
"MIT"
] | null | null | null | """
Pytest file for the connection wrapper
"""
from os import environ
from pytest import fixture, raises
import docker
from .brain import connect, r
from .brain.connection import DefaultConnection, BrainNotReady
CLIENT = docker.from_env()
@fixture(scope='module')
def rethink():
try:
tag = environ.get("T... | 22.339286 | 77 | 0.664269 |
b058e9684cd14bea378898ad8e23b5719bcb4847 | 966 | swift | Swift | MVVMReactive/ViewModel/RepositoryCellViewModel.swift | yhoonshine/MVVMReactive | b6151850ef619ed15116bcf7e35f3435e4853c9d | [
"MIT"
] | null | null | null | MVVMReactive/ViewModel/RepositoryCellViewModel.swift | yhoonshine/MVVMReactive | b6151850ef619ed15116bcf7e35f3435e4853c9d | [
"MIT"
] | null | null | null | MVVMReactive/ViewModel/RepositoryCellViewModel.swift | yhoonshine/MVVMReactive | b6151850ef619ed15116bcf7e35f3435e4853c9d | [
"MIT"
] | null | null | null | //
// RepositoryCellViewModel.swift
// MVVMReactive
//
// Created by Lyrics on 2019/4/15.
// Copyright © 2019 Albatross Lab. All rights reserved.
//
import Foundation
import UIKit
import RxSwift
import RxCocoa
class RepositoryCellViewModel {
let title: Driver<String>
let subTitle: Driver<String>
... | 27.6 | 75 | 0.65528 |
f49e31826d87225e5c05e8ff9a7fa084034d26b7 | 589 | tsx | TypeScript | src/fill/Detective.tsx | Joeao/phosphor-react-native | 499e024cb4ac71e4bf1d1d5e11c0daa1fc7c598f | [
"MIT"
] | null | null | null | src/fill/Detective.tsx | Joeao/phosphor-react-native | 499e024cb4ac71e4bf1d1d5e11c0daa1fc7c598f | [
"MIT"
] | null | null | null | src/fill/Detective.tsx | Joeao/phosphor-react-native | 499e024cb4ac71e4bf1d1d5e11c0daa1fc7c598f | [
"MIT"
] | null | null | null | /* GENERATED FILE */
import * as React from "react";
import Svg, { Rect, Path } from "react-native-svg";
import { IconProps } from '../lib'
function Detective(props: IconProps) {
return <Svg viewBox="0 0 256 256" width={props.size} height={props.size}
fill={props.color} {...props}><Rect width={256} height={256} fil... | 49.083333 | 304 | 0.675722 |
2f1e6d94d130ac6ea779db524a849237f44c55d9 | 1,377 | lua | Lua | tests/comptests/inputs/21_matrixmul.lua | XmiliaH/ravi | a2ec53624d58b8d952a40868bd83fe4690c7d305 | [
"MIT"
] | 1,048 | 2015-01-22T07:36:44.000Z | 2022-03-28T12:55:41.000Z | tests/comptests/inputs/21_matrixmul.lua | XmiliaH/ravi | a2ec53624d58b8d952a40868bd83fe4690c7d305 | [
"MIT"
] | 231 | 2015-01-29T00:09:32.000Z | 2022-02-23T09:55:38.000Z | tests/comptests/inputs/21_matrixmul.lua | XmiliaH/ravi | a2ec53624d58b8d952a40868bd83fe4690c7d305 | [
"MIT"
] | 70 | 2015-01-25T14:15:03.000Z | 2021-11-29T00:18:50.000Z | f = compiler.load([[
local matrix = {}
function matrix.T(a: table)
local m: integer, n: integer, x: table = #a, #a[1], {};
for i = 1, n do
local xi: number[] = table.numarray(n, 0.0)
x[i] = xi
for j = 1, m do xi[j] = @number (a[j][i]) end
end
return x;
end
function matrix.mul(a: table, b: table)
assert(@in... | 25.036364 | 89 | 0.577342 |
886d91b413b1dcc4a1925badba0f72751805dda5 | 326 | cs | C# | WebAPIPeliculas/WebAPIPeliculas/Entities/Actor.cs | NSysX/CursoEF6 | 85e5d91a9c729100777081adf1d560a245c524d7 | [
"MIT"
] | null | null | null | WebAPIPeliculas/WebAPIPeliculas/Entities/Actor.cs | NSysX/CursoEF6 | 85e5d91a9c729100777081adf1d560a245c524d7 | [
"MIT"
] | null | null | null | WebAPIPeliculas/WebAPIPeliculas/Entities/Actor.cs | NSysX/CursoEF6 | 85e5d91a9c729100777081adf1d560a245c524d7 | [
"MIT"
] | null | null | null | namespace WebAPIPeliculas.Entities
{
public class Actor
{
public int Id { get; set; }
public string Nombre { get; set; }
public string Biografia { get; set; }
public DateTime? FechaNacimiento { get; set; }
public virtual HashSet<PeliculaActor> Peliculas { get; set; }
... | 25.076923 | 69 | 0.610429 |
a3931b82a819f4ae879f283aee9546ec7194ac0d | 1,095 | java | Java | src/main/java/org/opensearch/knn/plugin/transport/KNNWarmupResponse.java | reta/k-NN | 580411e18f459810ffd89e2557ab50d92c073dbf | [
"Apache-2.0"
] | 44 | 2021-04-20T18:06:56.000Z | 2022-03-31T00:59:07.000Z | src/main/java/org/opensearch/knn/plugin/transport/KNNWarmupResponse.java | reta/k-NN | 580411e18f459810ffd89e2557ab50d92c073dbf | [
"Apache-2.0"
] | 227 | 2021-04-21T12:21:46.000Z | 2022-03-31T22:43:04.000Z | src/main/java/org/opensearch/knn/plugin/transport/KNNWarmupResponse.java | reta/k-NN | 580411e18f459810ffd89e2557ab50d92c073dbf | [
"Apache-2.0"
] | 31 | 2021-04-21T02:18:09.000Z | 2022-03-25T23:47:17.000Z | /*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
package org.opensearch.knn.plugin.transport;
import org.opensearch.action.support.DefaultShardOperationFailedException;
import org.opensearch.action.support.broadcast.BroadcastResponse;
import org.opensearch.common.io.stream.StreamInpu... | 33.181818 | 104 | 0.76895 |
0a523542cacd8ecf0944867a6d262a5d88cdf5f5 | 2,153 | cs | C# | Widgets/WeatherClockWidget/WeatherAnimation/RainWiper.xaml.cs | mediaexplorer74/Weather2022 | 0668bdeedf88791a778cef17d0cf7dabd6a5c7f6 | [
"MIT"
] | null | null | null | Widgets/WeatherClockWidget/WeatherAnimation/RainWiper.xaml.cs | mediaexplorer74/Weather2022 | 0668bdeedf88791a778cef17d0cf7dabd6a5c7f6 | [
"MIT"
] | null | null | null | Widgets/WeatherClockWidget/WeatherAnimation/RainWiper.xaml.cs | mediaexplorer74/Weather2022 | 0668bdeedf88791a778cef17d0cf7dabd6a5c7f6 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... | 28.706667 | 127 | 0.600093 |
8806a22cc66e3247d68a963cb2d708f969e8d2d1 | 970 | lua | Lua | scenes/north_city.lua | PolyCement/swallow-squad | 5fc9c5566e9c4164c1c2f7f51483338f3545fcda | [
"MIT"
] | 2 | 2018-04-04T09:47:31.000Z | 2021-08-11T22:46:37.000Z | scenes/north_city.lua | PolyCement/swallow-squad | 5fc9c5566e9c4164c1c2f7f51483338f3545fcda | [
"MIT"
] | null | null | null | scenes/north_city.lua | PolyCement/swallow-squad | 5fc9c5566e9c4164c1c2f7f51483338f3545fcda | [
"MIT"
] | null | null | null | local vector = require "lib.hump.vector"
local sprite = require "engine.sprite"
local Level = require "engine.scenes.base"
-- level 1, north city
local NorthCity = Level:extend()
function NorthCity:enter()
-- initialize geometry and player position
NorthCity.super.new(self, "scenes/north_city.csv", 2500, 2767... | 23.658537 | 78 | 0.689691 |
c0b861a68d58df5d11c553e98d22b331cba2f02c | 35,422 | lua | Lua | prototypes/functions/icon-handling.lua | kirazy/reskins-library | 7ec1d0fba85e36d4221ab01b4601f4c405739e20 | [
"MIT"
] | 4 | 2020-08-23T16:51:14.000Z | 2021-11-06T04:21:33.000Z | prototypes/functions/icon-handling.lua | kirazy/reskins-library | 7ec1d0fba85e36d4221ab01b4601f4c405739e20 | [
"MIT"
] | 3 | 2021-08-04T07:17:21.000Z | 2022-03-19T17:39:54.000Z | prototypes/functions/icon-handling.lua | kirazy/reskins-library | 7ec1d0fba85e36d4221ab01b4601f4c405739e20 | [
"MIT"
] | null | null | null | -- Copyright (c) 2021 Kirazy
-- Part of Artisanal Reskins: Library
--
-- See LICENSE.md in the project directory for license information.
----------------------------------------------------------------------------------------------------
-- TECHNOLOGY ICON FUNCTIONS
---------------------------------------------------... | 38.460369 | 197 | 0.604314 |
abda4645142a481f4165fa5307845d1bdd6d1e11 | 2,192 | lua | Lua | addons/ulx-banmysql/lua/globalban/gb_serverheartbeat.lua | jonathanlaberge/ICF-Server | a244cf1ea129a948495ce68e5851a8815ff4d2af | [
"Unlicense"
] | 1 | 2021-06-08T11:24:56.000Z | 2021-06-08T11:24:56.000Z | addons/ulx-banmysql/lua/globalban/gb_serverheartbeat.lua | jonathanlaberge/ICF-Server | a244cf1ea129a948495ce68e5851a8815ff4d2af | [
"Unlicense"
] | null | null | null | addons/ulx-banmysql/lua/globalban/gb_serverheartbeat.lua | jonathanlaberge/ICF-Server | a244cf1ea129a948495ce68e5851a8815ff4d2af | [
"Unlicense"
] | null | null | null | --ULX Global Ban
--Adobe And NigNog
------------------
//Global Value; can be used in any other supported scripts.
GB_SERVERID = 0
function GB_QueryDatabaseForServer()
--Gather Identification Infos
local HostName = GB_Escape(GetHostName());
local IPAddress = GetConVarString("ip");
local HostPort = GetConVarStrin... | 32.716418 | 136 | 0.705748 |
71a279302c96ff2cbfdfe59044e26b009649c80b | 11,623 | swift | Swift | SmoothWalker/Main View Controllers/WelcomeViewController.swift | markFalcone/iOSHealthApp | a2fedb6ec663d314765a10af0b03b0116d7edfe7 | [
"MIT"
] | null | null | null | SmoothWalker/Main View Controllers/WelcomeViewController.swift | markFalcone/iOSHealthApp | a2fedb6ec663d314765a10af0b03b0116d7edfe7 | [
"MIT"
] | null | null | null | SmoothWalker/Main View Controllers/WelcomeViewController.swift | markFalcone/iOSHealthApp | a2fedb6ec663d314765a10af0b03b0116d7edfe7 | [
"MIT"
] | null | null | null | /*
See LICENSE folder for this sample’s licensing information.
Abstract:
A view controller that onboards users to the app.
*/
import UIKit
import HealthKit
class WelcomeViewController: SplashScreenViewController, SplashScreenViewControllerDelegate, UITextFieldDelegate {
let healthStore = HealthData.healthSto... | 41.809353 | 195 | 0.626344 |
93b75b92715de03647266d200a3a97d3c691b183 | 853 | cs | C# | API/src/HBoard.API/Features/Maps/MapsController.cs | Physer/HBoard | fcf699e206b329590343398d7795b564466f9feb | [
"Apache-2.0"
] | null | null | null | API/src/HBoard.API/Features/Maps/MapsController.cs | Physer/HBoard | fcf699e206b329590343398d7795b564466f9feb | [
"Apache-2.0"
] | null | null | null | API/src/HBoard.API/Features/Maps/MapsController.cs | Physer/HBoard | fcf699e206b329590343398d7795b564466f9feb | [
"Apache-2.0"
] | null | null | null | using HBoard.Business.Maps;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Net;
using System.Threading.Tasks;
namespace HBoard.API.Features.Maps
{
[Route("api/[controller]")]
public class MapsController : Controller
{
private readonly IMapsService _mapsService;
public MapsCont... | 25.848485 | 125 | 0.596717 |
5ad2ece62e6e48dcdf150e533305c6d1905a58aa | 580 | cs | C# | MapColors.cs | Ved-s/MechTransfer | 9bd1ddfe5109d87e2a262865e04bfaef5acc7d5c | [
"MIT"
] | 8 | 2018-01-11T18:04:19.000Z | 2021-04-27T04:24:40.000Z | MapColors.cs | Ved-s/MechTransfer | 9bd1ddfe5109d87e2a262865e04bfaef5acc7d5c | [
"MIT"
] | 10 | 2017-11-14T21:41:40.000Z | 2022-01-07T13:25:35.000Z | MapColors.cs | Ved-s/MechTransfer | 9bd1ddfe5109d87e2a262865e04bfaef5acc7d5c | [
"MIT"
] | 11 | 2017-11-14T15:47:34.000Z | 2021-12-28T14:17:57.000Z | using Microsoft.Xna.Framework;
namespace MechTransfer
{
public static class MapColors
{
public static Color FillMid { get { return new Color(90, 90, 90); } }
public static Color FillDark { get { return new Color(56, 56, 56); } }
public static Color FillLight { get { return new Color(12... | 38.666667 | 82 | 0.622414 |
ff9c1018217422bd2104e55c553d20f3cfdbfde1 | 371 | py | Python | cdn_static_website/settings/components/caches.py | soulraven/cdn_small | e2415b39089cb761ddfe1748e443abd9c4080e83 | [
"MIT"
] | null | null | null | cdn_static_website/settings/components/caches.py | soulraven/cdn_small | e2415b39089cb761ddfe1748e443abd9c4080e83 | [
"MIT"
] | null | null | null | cdn_static_website/settings/components/caches.py | soulraven/cdn_small | e2415b39089cb761ddfe1748e443abd9c4080e83 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Caching
# https://docs.djangoproject.com/en/3.2/topics/cache/
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'unique-snowflake',
},
'staticfiles': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache... | 23.1875 | 67 | 0.595687 |
c6688c53bdf0944e2decf9c1074d53646b7d5869 | 28 | css | CSS | katana/wui/core/static/core/css/panel_color.css | warriorframework/Katanaframework | 9dc78df9d0c8f19ef5eaaa8690fbfa1ad885b323 | [
"Apache-2.0"
] | 1 | 2020-09-30T11:14:14.000Z | 2020-09-30T11:14:14.000Z | katana/wui/core/static/core/css/panel_color.css | warriorframework/Katanaframework | 9dc78df9d0c8f19ef5eaaa8690fbfa1ad885b323 | [
"Apache-2.0"
] | 4 | 2020-06-06T01:55:04.000Z | 2021-06-10T22:57:50.000Z | katana/wui/core/static/core/css/panel_color.css | warriorframework/Katanaframework | 9dc78df9d0c8f19ef5eaaa8690fbfa1ad885b323 | [
"Apache-2.0"
] | 1 | 2020-09-17T08:20:09.000Z | 2020-09-17T08:20:09.000Z | .header {background:#343a40} | 28 | 28 | 0.785714 |
069200b7e9b3b290e4aa090bc7dcb812c2571caf | 9,963 | kt | Kotlin | src/main/kotlin/pl/treksoft/kvision/form/select/SimpleSelectInput.kt | lorefnon/kvision | aafab981dbd09df6c4b69057c2028edb359d9f33 | [
"MIT"
] | null | null | null | src/main/kotlin/pl/treksoft/kvision/form/select/SimpleSelectInput.kt | lorefnon/kvision | aafab981dbd09df6c4b69057c2028edb359d9f33 | [
"MIT"
] | null | null | null | src/main/kotlin/pl/treksoft/kvision/form/select/SimpleSelectInput.kt | lorefnon/kvision | aafab981dbd09df6c4b69057c2028edb359d9f33 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017-present Robert Jaros
*
* Permission is hereby granted, free of charge, 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... | 31.429022 | 106 | 0.608953 |