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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3f205f7e5966b8052dc5460dab482472c4d472cf | 38,218 | php | PHP | vendor/webeweb/core-library/src/quadratus/Model/Proprete/BlEntete.php | mauricerenck/pexels-image-field | 4d937ca5a4bb4dc3bd59924fdb495f026bf2862e | [
"MIT"
] | 3 | 2022-01-14T08:23:13.000Z | 2022-01-14T16:06:21.000Z | vendor/webeweb/core-library/src/quadratus/Model/Proprete/BlEntete.php | mauricerenck/pexels-image-field | 4d937ca5a4bb4dc3bd59924fdb495f026bf2862e | [
"MIT"
] | null | null | null | vendor/webeweb/core-library/src/quadratus/Model/Proprete/BlEntete.php | mauricerenck/pexels-image-field | 4d937ca5a4bb4dc3bd59924fdb495f026bf2862e | [
"MIT"
] | 2 | 2019-05-08T16:32:25.000Z | 2020-08-29T13:46:08.000Z | <?php
/*
* This file is part of the core-library package.
*
* (c) 2018 WEBEWEB
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Library\Quadratus\Model\Proprete;
use DateTime;
/**
* Bl entete.
*
* @author webewe... | 21.727118 | 88 | 0.563818 |
a3235aa0a9c4444600612abb65c3988cfe4e49fc | 1,379 | ts | TypeScript | server/src/Domain/Accounting/InvoiceItem.entity.ts | boost-entropy-repos-org/permacoop | 5050b5ba1eeeec4a14d2a73dc83e5ab52f23eb4e | [
"MIT"
] | null | null | null | server/src/Domain/Accounting/InvoiceItem.entity.ts | boost-entropy-repos-org/permacoop | 5050b5ba1eeeec4a14d2a73dc83e5ab52f23eb4e | [
"MIT"
] | null | null | null | server/src/Domain/Accounting/InvoiceItem.entity.ts | boost-entropy-repos-org/permacoop | 5050b5ba1eeeec4a14d2a73dc83e5ab52f23eb4e | [
"MIT"
] | null | null | null | import { Entity, Column, PrimaryGeneratedColumn, ManyToOne } from 'typeorm';
import { Invoice } from './Invoice.entity';
@Entity()
export class InvoiceItem {
@PrimaryGeneratedColumn('uuid')
private id: string;
@Column({type: 'varchar', nullable: false})
private title: string;
@Column({type: 'integer', null... | 20.893939 | 87 | 0.651922 |
ba853762f428a8ead7728320c27be69016eca808 | 26,928 | lua | Lua | scripts/vscripts/custom_abilities/red_transistor_access/red_transistor_projectile.lua | xuzolin/dota-2-lua-abilities | 5c1ff468bdcf3d9bec7be2acb750db7d4f5be98c | [
"MIT"
] | 125 | 2018-03-26T21:35:49.000Z | 2022-03-31T21:01:38.000Z | scripts/vscripts/custom_abilities/red_transistor_access/red_transistor_projectile.lua | hanzhengit/dota-2-lua-abilities | c6d7b7cff8be6bc32f3580411f31c24b8c0b0eca | [
"MIT"
] | 2 | 2020-07-05T16:02:19.000Z | 2020-11-18T02:24:48.000Z | scripts/vscripts/custom_abilities/red_transistor_access/red_transistor_projectile.lua | hanzhengit/dota-2-lua-abilities | c6d7b7cff8be6bc32f3580411f31c24b8c0b0eca | [
"MIT"
] | 40 | 2019-03-02T11:17:10.000Z | 2022-03-31T05:45:26.000Z | -- Created by Elfansoer
--[[
- Check False/True piercing projectile
- Projectile Events
Launch: Projectile launched
Think: Projectile in flight
Hit: Projectile hits target
- pierce procs multiple times
- nonpierce procs once or none if disjointed
End: Piercing ended, Non-piercing hits target (same with ProjHit)... | 30.324324 | 170 | 0.699903 |
68b3ac53faa4bcade90cefca66c7985a3d51a9c4 | 458 | swift | Swift | Source/Enumerations/TemperatureUnit.swift | VincentDondain/TeslaKit | 758c1791228af822ab97472070db65690e4ff738 | [
"MIT"
] | 48 | 2018-05-04T02:51:10.000Z | 2022-02-14T19:43:52.000Z | Source/Enumerations/TemperatureUnit.swift | VincentDondain/TeslaKit | 758c1791228af822ab97472070db65690e4ff738 | [
"MIT"
] | 1 | 2021-02-13T12:14:35.000Z | 2021-03-24T16:16:48.000Z | Source/Enumerations/TemperatureUnit.swift | VincentDondain/TeslaKit | 758c1791228af822ab97472070db65690e4ff738 | [
"MIT"
] | 8 | 2019-03-17T16:05:11.000Z | 2021-04-15T21:25:35.000Z | //
// TemperatureUnit.swift
// Tests
//
// Created by Jaren Hamblin on 2/3/18.
// Copyright © 2018 HamblinSoft. All rights reserved.
//
import Foundation
///
public enum TemperatureUnit: String, CustomStringConvertible {
///
case fahrenheit = "F"
///
case celsius = "C"
public var descriptio... | 16.962963 | 62 | 0.611354 |
ddc68b4ecf0085213bbf4cf19ee030a8b832bad2 | 5,738 | java | Java | test/soapdust/wsdl/WsdlParserOperationPartTest.java | pgrange/soap-dust | c977e01484028b086a934ad71ae04f5be61ad322 | [
"BSD-3-Clause"
] | null | null | null | test/soapdust/wsdl/WsdlParserOperationPartTest.java | pgrange/soap-dust | c977e01484028b086a934ad71ae04f5be61ad322 | [
"BSD-3-Clause"
] | null | null | null | test/soapdust/wsdl/WsdlParserOperationPartTest.java | pgrange/soap-dust | c977e01484028b086a934ad71ae04f5be61ad322 | [
"BSD-3-Clause"
] | null | null | null | package soapdust.wsdl;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.parsers.ParserConfigurationException;
import junit.framework.TestCase;
import org.xml.sax.SAXException;
import soapdust.Client;
import soapdust.MalformedWsdlException;
public class WsdlP... | 51.693694 | 186 | 0.805507 |
ef1816ceb39de8495ca2d3ea06ce4bfec433b557 | 8,594 | c | C | uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePathFromText/BlackBoxTest/Guid.c | sunnywang-arm/edk2-test | 475be9f7a70d012705eca64dd24a9eeaed643183 | [
"BSD-2-Clause"
] | 47 | 2018-10-15T02:34:39.000Z | 2022-02-07T11:02:45.000Z | uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePathFromText/BlackBoxTest/Guid.c | sunnywang-arm/edk2-test | 475be9f7a70d012705eca64dd24a9eeaed643183 | [
"BSD-2-Clause"
] | null | null | null | uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePathFromText/BlackBoxTest/Guid.c | sunnywang-arm/edk2-test | 475be9f7a70d012705eca64dd24a9eeaed643183 | [
"BSD-2-Clause"
] | 78 | 2018-10-08T01:17:19.000Z | 2022-03-16T14:33:15.000Z | /** @file
Copyright 2006 - 2017 Unified EFI, Inc.<BR>
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full tex... | 56.539474 | 124 | 0.904003 |
45a02a7669cb5bd493f62ebcd48153d947f8048d | 3,121 | py | Python | Sources/tcp_server.py | weacw/FeaturePointMatchServing | a555caa72cb1e40553da04341a7ef2a6012e9abf | [
"MIT"
] | 1 | 2020-10-11T05:14:33.000Z | 2020-10-11T05:14:33.000Z | Sources/tcp_server.py | weacw/FeaturePointMatchServing | a555caa72cb1e40553da04341a7ef2a6012e9abf | [
"MIT"
] | null | null | null | Sources/tcp_server.py | weacw/FeaturePointMatchServing | a555caa72cb1e40553da04341a7ef2a6012e9abf | [
"MIT"
] | null | null | null | import cv2
import zmq
import json
import base64
import pickle
import threading
import numpy as np
from random import choice
from cvmodule import CVModule
from image_search import ImageSearch
from elasticsearch_driver import ImsES
from elasticsearch import Elasticsearch
class Server(threading.Thread):
def __init__... | 30.009615 | 77 | 0.557834 |
9073cee130feddccfdc101b919327c5b020afc1d | 779 | c | C | demo/gtk/gtk3/gtk3_noheader.c | dingjingmaster/clib | 97f0be4141cf5bdab0d63e7952c65fc71f13f426 | [
"MIT"
] | 4 | 2020-10-30T12:40:10.000Z | 2021-09-02T03:07:22.000Z | demo/gtk/gtk3/gtk3_noheader.c | dingjingmaster/clib | 97f0be4141cf5bdab0d63e7952c65fc71f13f426 | [
"MIT"
] | null | null | null | demo/gtk/gtk3/gtk3_noheader.c | dingjingmaster/clib | 97f0be4141cf5bdab0d63e7952c65fc71f13f426 | [
"MIT"
] | 3 | 2020-08-08T12:01:46.000Z | 2021-08-09T12:38:29.000Z | /*************************************************************************
> FileName: noheader.c
> Author : DingJing
> Mail : dingjing@live.cn
> Created Time: 2019年12月10日 星期二 13时25分45秒
************************************************************************/
#include <gtk/gtk.h>
int main(int argc,char **argv)
{
... | 28.851852 | 74 | 0.580231 |
c6cc7a05fbf040623558bcea004a995a21e68f35 | 2,685 | py | Python | tests/test_vx_or_vy=0.py | leanderkirkeland/2d_propagating_blobs | 1857b951a603c2bc21f84c78ae6ccf64eb58a469 | [
"MIT"
] | null | null | null | tests/test_vx_or_vy=0.py | leanderkirkeland/2d_propagating_blobs | 1857b951a603c2bc21f84c78ae6ccf64eb58a469 | [
"MIT"
] | null | null | null | tests/test_vx_or_vy=0.py | leanderkirkeland/2d_propagating_blobs | 1857b951a603c2bc21f84c78ae6ccf64eb58a469 | [
"MIT"
] | null | null | null | from blobmodel import Model, BlobFactory, Blob
import numpy as np
class CustomBlobFactoryVy0(BlobFactory):
def __init__(self) -> None:
pass
def sample_blobs(
self, Ly: float, T: float, num_blobs: int, blob_shape: str, t_drain: float
) -> list[Blob]:
# set custom parameter distrib... | 22.375 | 82 | 0.532588 |
586df5077e71b80aa0ebacadd3e84591501f889d | 111 | rb | Ruby | config/initializers/simple_form_custom.rb | obduk/cms | 0b8e9dedf63e1d2b4a931373bfe8c096438008b3 | [
"MIT"
] | 12 | 2015-03-15T20:11:11.000Z | 2019-09-18T22:44:12.000Z | config/initializers/simple_form_custom.rb | obduk/cms | 0b8e9dedf63e1d2b4a931373bfe8c096438008b3 | [
"MIT"
] | 414 | 2015-01-02T19:37:03.000Z | 2020-03-09T20:51:17.000Z | config/initializers/simple_form_custom.rb | obduk/cms | 0b8e9dedf63e1d2b4a931373bfe8c096438008b3 | [
"MIT"
] | 7 | 2017-05-13T10:51:53.000Z | 2019-11-12T08:40:31.000Z | SimpleForm.setup do |config|
config.browser_validations = true
config.button_class = 'btn btn-primary'
end
| 22.2 | 41 | 0.774775 |
dc4a0efb3ea77fd19b35a8a45c683f49ce311cc5 | 3,133 | rb | Ruby | lib/zoom/actions/account.rb | global-step/zoom_rb | 573680ce7c00114c39ad2e1b078d4b4955f057f0 | [
"MIT"
] | 7 | 2019-09-08T02:44:12.000Z | 2021-02-25T08:34:52.000Z | lib/zoom/actions/account.rb | global-step/zoom_rb | 573680ce7c00114c39ad2e1b078d4b4955f057f0 | [
"MIT"
] | null | null | null | lib/zoom/actions/account.rb | global-step/zoom_rb | 573680ce7c00114c39ad2e1b078d4b4955f057f0 | [
"MIT"
] | 3 | 2019-05-02T20:16:50.000Z | 2020-06-02T16:16:04.000Z | # frozen_string_literal: true
module Zoom
module Actions
module Account
def account_list(*args)
# TODO: implement accounts_list
# options = Utils.extract_options!(args)
raise Zoom::NotImplemented, 'accounts_list is not yet implemented'
end
def account_create(*args)
... | 33.688172 | 84 | 0.670603 |
392aff5ce25d24a30ea5913be1956723bf399d11 | 5,440 | py | Python | scripts/stock_price/optimize_study.py | zettsu-t/cPlusPlusFriend | 5399065abe2c0eda2b9aec26e6435d8c27cda9cd | [
"MIT"
] | 9 | 2017-04-15T00:05:14.000Z | 2021-01-10T05:11:14.000Z | scripts/stock_price/optimize_study.py | zettsu-t/cPlusPlusFriend | 5399065abe2c0eda2b9aec26e6435d8c27cda9cd | [
"MIT"
] | null | null | null | scripts/stock_price/optimize_study.py | zettsu-t/cPlusPlusFriend | 5399065abe2c0eda2b9aec26e6435d8c27cda9cd | [
"MIT"
] | 1 | 2018-02-23T22:47:08.000Z | 2018-02-23T22:47:08.000Z | #!/usr/bin/python3
# coding: utf-8
'''
Optimize a total score of final exems
Based on
https://stackoverflow.com/questions/21765794/python-constrained-non-linear-optimization?rq=1
'''
import numbers
from collections import namedtuple
import numpy as np
import matplotlib.pyplot as plt
from scipy.special im... | 48.571429 | 169 | 0.611213 |
455ba300299cb8323b6985bbd61fc9385993e6e9 | 4,434 | py | Python | auctions/models.py | mmanchev23/commerce | 43d8a598b0032f1c21142ecd4c497aab0e61992e | [
"MIT"
] | 1 | 2021-07-18T20:44:14.000Z | 2021-07-18T20:44:14.000Z | auctions/models.py | mmanchev23/commerce | 43d8a598b0032f1c21142ecd4c497aab0e61992e | [
"MIT"
] | null | null | null | auctions/models.py | mmanchev23/commerce | 43d8a598b0032f1c21142ecd4c497aab0e61992e | [
"MIT"
] | null | null | null | import uuid
from decimal import Decimal
from django.db import models
from django.contrib.auth.models import AbstractUser
from django.core.validators import MinValueValidator
class User(AbstractUser):
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
pass
def __str__(self):
... | 42.634615 | 116 | 0.736355 |
0f2c5daaf18ed9f4f9d68294db04dcdbb00df37f | 9,529 | ps1 | PowerShell | scripts/old.ps1 | patevs/music | dc43bc9a1be2569029e6adbad9184e135ced5f12 | [
"MIT"
] | 3 | 2020-10-17T06:50:26.000Z | 2022-01-24T08:20:20.000Z | scripts/old.ps1 | patevs/music | dc43bc9a1be2569029e6adbad9184e135ced5f12 | [
"MIT"
] | 7 | 2020-12-14T21:42:24.000Z | 2021-09-21T07:12:47.000Z | scripts/old.ps1 | patevs/music | dc43bc9a1be2569029e6adbad9184e135ced5f12 | [
"MIT"
] | null | null | null | <#
.SYNOPSIS
PowerShell script for setting up a music environment.
! Requires python and pip to be installed.
TODO: Accept argument parameter for location to create the environment.
TODO: Accept argument parameter for the name of the virtual environment that is created.
TODO: Install beets dependencies
TO... | 34.525362 | 141 | 0.650436 |
a9dab5369cf840e68460b6c297dd9e13676155c5 | 8,829 | php | PHP | frontend/views/article/article.php | jackzerocheng/knowyou | 05a4f3c6f6f405264ce52201853ee129f747cf48 | [
"BSD-3-Clause"
] | 3 | 2018-10-24T05:59:53.000Z | 2020-11-22T14:29:00.000Z | frontend/views/article/article.php | jackzerocheng/knowyou | 05a4f3c6f6f405264ce52201853ee129f747cf48 | [
"BSD-3-Clause"
] | null | null | null | frontend/views/article/article.php | jackzerocheng/knowyou | 05a4f3c6f6f405264ce52201853ee129f747cf48 | [
"BSD-3-Clause"
] | 1 | 2019-01-06T12:03:11.000Z | 2019-01-06T12:03:11.000Z | <?php
use yii\helpers\Html;
use yii\helpers\Url;
$this->title = $article_info['title'];
$month = date('m', strtotime($article_info['created_at']));
$day = date('d', strtotime($article_info['created_at']));
?>
<!-- ##### Single Blog Area Start ##### -->
<div class="single-blog-wrapper section-padding-0-100">
<!-... | 44.817259 | 145 | 0.330049 |
3be40c99a213d181f7ee5f20ec649b69986e6eb6 | 4,199 | dart | Dart | lib/base_widget/src/common_widget/dialog.dart | edwardphuc/Algorithm | e1898dd73c32d8d87148c4018a35d00f6fa4325d | [
"MIT"
] | null | null | null | lib/base_widget/src/common_widget/dialog.dart | edwardphuc/Algorithm | e1898dd73c32d8d87148c4018a35d00f6fa4325d | [
"MIT"
] | null | null | null | lib/base_widget/src/common_widget/dialog.dart | edwardphuc/Algorithm | e1898dd73c32d8d87148c4018a35d00f6fa4325d | [
"MIT"
] | 1 | 2021-10-04T08:50:18.000Z | 2021-10-04T08:50:18.000Z |
import 'package:flutter/material.dart';
enum DialogAction {
cancel,
discard,
disagree,
agree,
}
typedef TapButtonListener(DialogAction action);
typedef TapConfirm();
void showWaitingDialog(BuildContext context, {String message}) {
showDialog(
context: context,
barrierDismissible: false,
... | 34.418033 | 142 | 0.611574 |
b0561a8bef98272dbbce0329c3973c249eb3dd0d | 269 | py | Python | bireme/help/urls.py | rfdeoliveira/fi-admin | c2df084c7e79d587e2273dc222f106fa243b7f6e | [
"MIT",
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | bireme/help/urls.py | rfdeoliveira/fi-admin | c2df084c7e79d587e2273dc222f106fa243b7f6e | [
"MIT",
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | bireme/help/urls.py | rfdeoliveira/fi-admin | c2df084c7e79d587e2273dc222f106fa243b7f6e | [
"MIT",
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
from django.conf.urls.static import static
from django.conf.urls import patterns, include, url
from views import *
urlpatterns = patterns('',
url(r'^view/(?P<source_param>\w{0,35})/(?P<fieldname_param>\w{0,55})/?$', view_help),
)
| 26.9 | 89 | 0.72119 |
94794824799e1fec62aec56d79b988859205fb24 | 398 | sql | SQL | DB-with-C#/Labs-And-Homeworks/Databases Basics - MS SQL Server/06. Built-in functions - Exercise/11FindAllEmployeesWithRank2.sql | veloman86/SoftUni-Software-Engineering | 20348f2335dc4256a5fe5622569104eaa28b2131 | [
"MIT"
] | 1 | 2020-02-05T23:22:02.000Z | 2020-02-05T23:22:02.000Z | DB-with-C#/Labs-And-Homeworks/Databases Basics - MS SQL Server/06. Built-in functions - Exercise/11FindAllEmployeesWithRank2.sql | veloman86/SoftUni-Software-Engineering | 20348f2335dc4256a5fe5622569104eaa28b2131 | [
"MIT"
] | null | null | null | DB-with-C#/Labs-And-Homeworks/Databases Basics - MS SQL Server/06. Built-in functions - Exercise/11FindAllEmployeesWithRank2.sql | veloman86/SoftUni-Software-Engineering | 20348f2335dc4256a5fe5622569104eaa28b2131 | [
"MIT"
] | 7 | 2019-07-09T12:53:25.000Z | 2021-01-05T16:07:54.000Z | WITH Employee_CTE AS
(SELECT EmployeeID,
FirstName,
LastName,
Salary,
DENSE_RANK() OVER (
PARTITION BY Salary
ORDER BY EmployeeID
)
[Rank]
FROM Employees
)
SELECT *
FROM Employee_CTE
WHERE (... | 23.411765 | 56 | 0.502513 |
149e59be0c0aa1983cc84c3dd9dfa878ceb61442 | 7,647 | ts | TypeScript | src/app/editor/di-preview.service.ts | PikinerLiliya/dc-extension-di-transform | 0d6a8d30279e93ad4354b976d3e9cf0adaaca1e5 | [
"Apache-2.0"
] | 1 | 2022-03-01T14:21:35.000Z | 2022-03-01T14:21:35.000Z | src/app/editor/di-preview.service.ts | PikinerLiliya/dc-extension-di-transform | 0d6a8d30279e93ad4354b976d3e9cf0adaaca1e5 | [
"Apache-2.0"
] | 7 | 2020-06-17T10:47:41.000Z | 2022-03-02T09:57:42.000Z | src/app/editor/di-preview.service.ts | PikinerLiliya/dc-extension-di-transform | 0d6a8d30279e93ad4354b976d3e9cf0adaaca1e5 | [
"Apache-2.0"
] | 6 | 2019-12-20T10:58:49.000Z | 2020-06-16T09:47:49.000Z | import { Injectable, ChangeDetectorRef, EventEmitter } from '@angular/core';
import { DiFieldService } from './di-field.service';
import { debounce } from 'rxjs/operators';
import { interval, Subject } from 'rxjs';
import { DiImageService } from './di-image.service';
import { DiPreviewImage } from './di-preview-image';... | 37.856436 | 148 | 0.628874 |
3fa675180aeb19fe9c649d8e16557063783d450f | 16,864 | php | PHP | wp-content/plugins/elementor/includes/editor.php | guilloudaudrey/blog_typo | b52b3507b70dcba1f79eea82c9ceba86d48336b3 | [
"MIT"
] | null | null | null | wp-content/plugins/elementor/includes/editor.php | guilloudaudrey/blog_typo | b52b3507b70dcba1f79eea82c9ceba86d48336b3 | [
"MIT"
] | null | null | null | wp-content/plugins/elementor/includes/editor.php | guilloudaudrey/blog_typo | b52b3507b70dcba1f79eea82c9ceba86d48336b3 | [
"MIT"
] | null | null | null | <?php
namespace Elementor;
use Elementor\Core\Settings\Manager as SettingsManager;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Editor {
private $_post_id;
private $_is_edit_mode;
private $_editor_templates = [];
public function init( $die = true ) {
if ( empty( $_REQUEST['p... | 28.82735 | 168 | 0.651388 |
141f13a1c6e9976139fe8cf8f5ac52e693f35f6f | 440 | ts | TypeScript | src/utils/format.ts | EmilTheSadCat/jungle-book-web-app | 43cedf648b3c0bb1f75eb680666b97a7be7ee06b | [
"MIT"
] | null | null | null | src/utils/format.ts | EmilTheSadCat/jungle-book-web-app | 43cedf648b3c0bb1f75eb680666b97a7be7ee06b | [
"MIT"
] | 1 | 2022-02-27T08:15:36.000Z | 2022-02-27T08:15:36.000Z | src/utils/format.ts | EmilTheSadCat/JungleBook-web-client | 43cedf648b3c0bb1f75eb680666b97a7be7ee06b | [
"MIT"
] | null | null | null | export const formatDays = (days: number | null | undefined): string => {
switch (days) {
case null:
return 'n/a';
case undefined:
return 'n/a';
case 1:
return '1 day';
default:
return `${days} days`;
}
};
export const imageStorageP... | 27.5 | 80 | 0.538636 |
9ff3102ddd3811c42aa3b25cf1203acddd8607d5 | 169 | py | Python | cmds/target.py | r0ck3rt/metarget | 909468b6c6819b862ed3ee6feaae890b7c2b165f | [
"Apache-2.0"
] | 295 | 2021-05-10T09:03:19.000Z | 2021-08-12T08:30:32.000Z | cmds/target.py | r0ck3rt/metarget | 909468b6c6819b862ed3ee6feaae890b7c2b165f | [
"Apache-2.0"
] | 24 | 2021-08-16T03:27:04.000Z | 2022-03-23T02:05:17.000Z | cmds/target.py | r0ck3rt/metarget | 909468b6c6819b862ed3ee6feaae890b7c2b165f | [
"Apache-2.0"
] | 52 | 2021-05-10T09:10:02.000Z | 2021-08-09T06:28:11.000Z | """
Target Commands
"""
def retrieve(args):
pass
def create(args):
pass
def start(args):
pass
def stop(args):
pass
def delete(args):
pass
| 6.76 | 19 | 0.579882 |
bb42857d4bd43d8ce0b491c282a51b1bd94ef62d | 9,153 | cs | C# | ORM2CommandLineTest/TestInterfaces.cs | GorillaIT/NORMA-plus | 082566f3f988149c4b8e0f5e873ec2228f0322a3 | [
"FSFAP"
] | 32 | 2017-05-03T17:15:29.000Z | 2022-02-14T12:29:56.000Z | ORM2CommandLineTest/TestInterfaces.cs | GorillaIT/NORMA-plus | 082566f3f988149c4b8e0f5e873ec2228f0322a3 | [
"FSFAP"
] | 22 | 2018-09-07T09:55:06.000Z | 2022-03-27T00:18:28.000Z | ORM2CommandLineTest/TestInterfaces.cs | GorillaIT/NORMA-plus | 082566f3f988149c4b8e0f5e873ec2228f0322a3 | [
"FSFAP"
] | 18 | 2017-05-04T20:20:26.000Z | 2022-03-23T11:17:10.000Z | using System;
using System.Collections.Generic;
using System.Xml;
using System.Reflection;
using Microsoft.VisualStudio.Modeling;
namespace ORMSolutions.ORMArchitectSDK.TestEngine
{
#region IORMToolTestServices Interface
/// <summary>
/// Interface for services offered by the testing engine.
/// An implem... | 42.971831 | 124 | 0.697476 |
7c02ace4445e53873261223820b73dc713311d43 | 51 | py | Python | deep_learn/nn/__init__.py | itratrahman/deep_learn | 1003042adab96c375da1a2b3f059287f0ed6365f | [
"BSD-3-Clause"
] | null | null | null | deep_learn/nn/__init__.py | itratrahman/deep_learn | 1003042adab96c375da1a2b3f059287f0ed6365f | [
"BSD-3-Clause"
] | null | null | null | deep_learn/nn/__init__.py | itratrahman/deep_learn | 1003042adab96c375da1a2b3f059287f0ed6365f | [
"BSD-3-Clause"
] | null | null | null | from .neural_network import ann
__all__ = ['ann']
| 12.75 | 31 | 0.72549 |
1f418482161a010cff616295349ce704f204fcba | 7,527 | cs | C# | Samples/NetFrameworkSample/ViewModel/MainWindowViewModel.cs | evaristocuesta/MessageDialogManagerLib | 6bfcf67c70ae3f9c9b108c7eec9415cf57670689 | [
"MIT"
] | 2 | 2020-11-29T19:32:28.000Z | 2021-10-05T06:12:15.000Z | Samples/NetFrameworkSample/ViewModel/MainWindowViewModel.cs | evaristocuesta/MessageDialogManagerLib | 6bfcf67c70ae3f9c9b108c7eec9415cf57670689 | [
"MIT"
] | 6 | 2020-11-21T19:24:13.000Z | 2020-12-24T18:46:39.000Z | Samples/NetFrameworkSample/ViewModel/MainWindowViewModel.cs | evaristocuesta/MessageDialogManagerLib | 6bfcf67c70ae3f9c9b108c7eec9415cf57670689 | [
"MIT"
] | null | null | null | using CommandLibrary;
using MessageDialogManagerLib;
using System.Threading.Tasks;
using System.Windows.Input;
namespace NetFrameworkSample.ViewModel
{
public class MainWindowViewModel
{
private readonly IMessageDialogManager _messageDialogManager;
public MainWindowViewModel(IMessageDialogMan... | 40.686486 | 144 | 0.633187 |
72d5fe6ca9f2f4062a439ffe14e353a37414a093 | 675 | cs | C# | Assets/Scripts/PseudoRotator.cs | pseudo7/ExplodedViewer | b5a9cca99c89aa8b7e03ff0b984f4b465f216976 | [
"MIT"
] | 3 | 2019-09-03T04:50:57.000Z | 2021-08-04T20:00:48.000Z | Assets/Scripts/PseudoRotator.cs | pseudo7/ExplodedViewer | b5a9cca99c89aa8b7e03ff0b984f4b465f216976 | [
"MIT"
] | null | null | null | Assets/Scripts/PseudoRotator.cs | pseudo7/ExplodedViewer | b5a9cca99c89aa8b7e03ff0b984f4b465f216976 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PseudoRotator : MonoBehaviour
{
public static Transform target;
public float dampening = 10;
void Start()
{
target = transform;
}
void LateUpdate()
{
if (Input.touchCount == 1)
... | 24.107143 | 83 | 0.611852 |
d33362b53865841f6975ac5138134e199c9004e4 | 199,254 | sql | SQL | src/Okulbilisim/LocationBundle/Resources/data/location.sql | bahattincinic/ojs | 0938a87ea66f4c4e112aa2426c3eaaa07da94fcf | [
"MIT"
] | null | null | null | src/Okulbilisim/LocationBundle/Resources/data/location.sql | bahattincinic/ojs | 0938a87ea66f4c4e112aa2426c3eaaa07da94fcf | [
"MIT"
] | null | null | null | src/Okulbilisim/LocationBundle/Resources/data/location.sql | bahattincinic/ojs | 0938a87ea66f4c4e112aa2426c3eaaa07da94fcf | [
"MIT"
] | null | null | null |
INSERT INTO `countries` (`id`, `continent_code`, `continent_name`, `iso_code`, `name`)
VALUES
(1,'AF','Africa','RW','Rwanda'),
(2,'AF','Africa','SO','Somalia'),
(3,'AS','Asia','YE','Yemen'),
(4,'AS','Asia','IQ','Iraq'),
(5,'AS','Asia','SA','Saudi Arabia'),
(6,'AS','Asia','IR','Iran'),
(7,'EU','Europe','C... | 45.21307 | 98 | 0.575135 |
e25944edd26286dda7834c2a3c79d42ec43758c0 | 2,056 | py | Python | flask_assistant/manager.py | modi975/flask-assistant | 0d1807eb9098ed529f329b158a3735bd7786960d | [
"Apache-2.0"
] | null | null | null | flask_assistant/manager.py | modi975/flask-assistant | 0d1807eb9098ed529f329b158a3735bd7786960d | [
"Apache-2.0"
] | null | null | null | flask_assistant/manager.py | modi975/flask-assistant | 0d1807eb9098ed529f329b158a3735bd7786960d | [
"Apache-2.0"
] | null | null | null |
class Context(dict):
"""docstring for _Context"""
def __init__(self, name, parameters={}, lifespan=5):
self.name = name
self.parameters = parameters
self.lifespan = lifespan
# def __getattr__(self, param):
# if param in ['name', 'parameters', 'lifespan']:
# ... | 24.47619 | 92 | 0.605545 |
2323d7711a012e7946bfdf32f680b3a54c08b184 | 810 | css | CSS | frontend/src/index.css | morjaradat/401Exam | b201a22c001068c7a03b102242f0f8d867df5104 | [
"MIT"
] | null | null | null | frontend/src/index.css | morjaradat/401Exam | b201a22c001068c7a03b102242f0f8d867df5104 | [
"MIT"
] | null | null | null | frontend/src/index.css | morjaradat/401Exam | b201a22c001068c7a03b102242f0f8d867df5104 | [
"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, Mona... | 18 | 81 | 0.659259 |
da247f6192f69482d645d113b55a7dc420dbcc3b | 2,617 | php | PHP | file/addCursos.php | brunofurtadofontana/agendafgv | b6d085aac6fadeedb3163df604313c4a58d74f15 | [
"MIT"
] | null | null | null | file/addCursos.php | brunofurtadofontana/agendafgv | b6d085aac6fadeedb3163df604313c4a58d74f15 | [
"MIT"
] | null | null | null | file/addCursos.php | brunofurtadofontana/agendafgv | b6d085aac6fadeedb3163df604313c4a58d74f15 | [
"MIT"
] | null | null | null | <?php
error_reporting(0);
$status = $_GET['sts'];
switch ($status) {
case 1:
echo "<div class='alert alert-success' role='alert'><span class='glyphicon glyphicon-ok' aria-hidden='true'> </span><b> Cadastrado com sucesso!<b></div>";
break;
case 2:
echo "<div class='alert alert-danger' role='alert'><span... | 35.364865 | 166 | 0.623233 |
a3c3a911db58664c5a2147858aa443e3ea4eb172 | 794 | java | Java | Personal Meteor Fall/src/application/GameLevelImage.java | EudyContreras/Meteor-Fall-FX | 4b0432af335e8b3777de6cde5b090265f206263a | [
"MIT"
] | null | null | null | Personal Meteor Fall/src/application/GameLevelImage.java | EudyContreras/Meteor-Fall-FX | 4b0432af335e8b3777de6cde5b090265f206263a | [
"MIT"
] | null | null | null | Personal Meteor Fall/src/application/GameLevelImage.java | EudyContreras/Meteor-Fall-FX | 4b0432af335e8b3777de6cde5b090265f206263a | [
"MIT"
] | null | null | null | package application;
import javafx.scene.image.Image;
public class GameLevelImage {
public static int LEVEL = 1;
public static boolean firstSectionLoaded = false;
public static boolean secondSectionLoaded = false;
public static boolean thirdSectionLoaded = false;
public static boolean fourthSectionLoade... | 44.111111 | 103 | 0.744332 |
ac5638a800c9c680b05a4a90bfe92b584941db17 | 612 | dart | Dart | LibTest/core/double/floorToDouble_A01_t03.dart | rmacnak-google/co19 | 007439e51981c536e65171444b536b03ef23fc25 | [
"BSD-3-Clause"
] | 29 | 2015-10-18T19:06:27.000Z | 2022-03-05T11:55:37.000Z | LibTest/core/double/floorToDouble_A01_t03.dart | rmacnak-google/co19 | 007439e51981c536e65171444b536b03ef23fc25 | [
"BSD-3-Clause"
] | 1,278 | 2015-07-01T05:52:22.000Z | 2022-03-30T08:20:00.000Z | LibTest/core/double/floorToDouble_A01_t03.dart | rmacnak-google/co19 | 007439e51981c536e65171444b536b03ef23fc25 | [
"BSD-3-Clause"
] | 33 | 2015-06-24T08:21:27.000Z | 2022-03-04T11:38:20.000Z | // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// abstract abstract double floorToDouble()
/// Returns the greatest integer value no greater than thi... | 32.210526 | 81 | 0.694444 |
14b27dc4aede84d44a405cdd06f0f5ba667f955f | 5,052 | ts | TypeScript | src/components/modules/Footer/styled.ts | nicktorn89/Reshetar-Landing | ad5512cfed0d4ec1c4daa3d95b03fa0365879170 | [
"MIT"
] | null | null | null | src/components/modules/Footer/styled.ts | nicktorn89/Reshetar-Landing | ad5512cfed0d4ec1c4daa3d95b03fa0365879170 | [
"MIT"
] | null | null | null | src/components/modules/Footer/styled.ts | nicktorn89/Reshetar-Landing | ad5512cfed0d4ec1c4daa3d95b03fa0365879170 | [
"MIT"
] | null | null | null | import styled, { css } from 'styled-components';
import {
Header as HeaderUI, HeaderContactsBlock, HeaderNumberBlock,
HeaderNumberSpan, HeaderContactsText, HeaderIconsBlock, HeaderIconContainer,
} from '../Header/styled';
export const Footer = styled.footer`
${({ theme: t }) => css`
width: 100%;
height... | 20.620408 | 78 | 0.498614 |
34e082e158e66b226fbbe964b994544b7d33eabc | 7,545 | kt | Kotlin | app/src/main/java/com/cyl/musiclake/utils/FormatUtil.kt | moujunqiang/MusicLake | 6e39770fd990da924f90d060d9a5138a0508d737 | [
"Apache-2.0"
] | 1 | 2019-11-08T09:43:58.000Z | 2019-11-08T09:43:58.000Z | app/src/main/java/com/cyl/musiclake/utils/FormatUtil.kt | midFang/MusicLake | 794e99d9b0f3051586653ed4d7a61bb090163af2 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/cyl/musiclake/utils/FormatUtil.kt | midFang/MusicLake | 794e99d9b0f3051586653ed4d7a61bb090163af2 | [
"Apache-2.0"
] | 1 | 2020-03-18T04:01:37.000Z | 2020-03-18T04:01:37.000Z | package com.cyl.musiclake.utils
import android.annotation.SuppressLint
import java.io.UnsupportedEncodingException
import java.lang.ref.SoftReference
import java.text.DecimalFormat
import java.text.ParseException
import java.text.SimpleDateFormat
import java.util.*
@SuppressLint("SimpleDateFormat")
/**
* <br></br>
... | 28.258427 | 110 | 0.499006 |
e26765e2458e154864fead576d89ee86f1fa2a6c | 2,979 | js | JavaScript | src/patches/exposeApi.js | yellowsink/discord-command-palette | 71cde80f06d58d39bd2069437f6667b06b39a2db | [
"BSD-3-Clause"
] | 5 | 2021-12-18T20:41:23.000Z | 2022-03-22T11:22:01.000Z | src/patches/exposeApi.js | yellowsink/discord-command-palette | 71cde80f06d58d39bd2069437f6667b06b39a2db | [
"BSD-3-Clause"
] | null | null | null | src/patches/exposeApi.js | yellowsink/discord-command-palette | 71cde80f06d58d39bd2069437f6667b06b39a2db | [
"BSD-3-Clause"
] | null | null | null | import { state } from "@cumcord/pluginData";
import { log } from "@cumcord/utils/logger";
import { entries as builtInEntries, builtInSource } from "../paletteEntries.js";
import { openPalette, openPalettePromisified } from "../components/Palette.jsx";
import {
openTextEntry,
openTextEntryPromise,
} from "../compone... | 35.464286 | 112 | 0.64384 |
b295b7e0ca485441306dec718a7d789c09afb4ee | 1,699 | css | CSS | src/main.css | deploywithrocket/website | f03e1c42e70ab26aad087f609c9a1afed862d127 | [
"MIT"
] | 2 | 2020-12-11T03:01:46.000Z | 2020-12-11T04:16:54.000Z | src/main.css | deploywithrocket/website | f03e1c42e70ab26aad087f609c9a1afed862d127 | [
"MIT"
] | null | null | null | src/main.css | deploywithrocket/website | f03e1c42e70ab26aad087f609c9a1afed862d127 | [
"MIT"
] | null | null | null | @import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
@font-face {
font-family: 'Fira Code';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/firacode/v9/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sJVD7Ng.woff2) format('... | 25.742424 | 174 | 0.583284 |
e7743a39119bf3a20303e82e679bf628d6cf6386 | 3,115 | rs | Rust | instru_plugin/src/lib.rs | da-x/instru | c53f729b0b2aadc5dd82f6ad2d470c73573216f6 | [
"MIT"
] | 53 | 2018-11-10T20:39:46.000Z | 2021-08-02T17:01:38.000Z | instru_plugin/src/lib.rs | da-x/instru | c53f729b0b2aadc5dd82f6ad2d470c73573216f6 | [
"MIT"
] | null | null | null | instru_plugin/src/lib.rs | da-x/instru | c53f729b0b2aadc5dd82f6ad2d470c73573216f6 | [
"MIT"
] | 3 | 2018-12-02T20:38:47.000Z | 2022-03-17T02:19:09.000Z | #![feature(plugin_registrar, quote, rustc_private, custom_attribute)]
extern crate rustc_plugin;
extern crate syntax;
use rustc_plugin::registry::Registry;
use syntax::ast::*;
use syntax::source_map::{Span};
use syntax::ext::base::{ExtCtxt};
use syntax::fold::Folder;
use syntax::ptr::P;
use syntax::ext::base::{Whole... | 25.325203 | 87 | 0.541573 |
4fe5cad5a104ccee7db100f5f45f056b893d954a | 5,476 | rb | Ruby | Library/Homebrew/test/requirement_spec.rb | ylht/brew | 75a38b7187788b61461a0b76b7033bf96a33c1c1 | [
"BSD-2-Clause"
] | 34,807 | 2016-03-08T05:08:28.000Z | 2022-03-31T18:48:38.000Z | Library/Homebrew/test/requirement_spec.rb | jakechristman/brew | 633202dac6be86b1cbae88e5640acfcb7d2ea743 | [
"BSD-2-Clause"
] | 9,228 | 2016-03-06T17:09:02.000Z | 2022-03-31T17:04:42.000Z | Library/Homebrew/test/requirement_spec.rb | jakechristman/brew | 633202dac6be86b1cbae88e5640acfcb7d2ea743 | [
"BSD-2-Clause"
] | 10,309 | 2016-03-06T05:54:41.000Z | 2022-03-31T20:32:32.000Z | # typed: false
# frozen_string_literal: true
require "extend/ENV"
require "requirement"
describe Requirement do
alias_matcher :be_a_build_requirement, :be_a_build
subject(:requirement) { klass.new }
let(:klass) { Class.new(described_class) }
describe "#tags" do
subject { described_class.new(tags) }
... | 23.502146 | 84 | 0.618517 |
1278ed17b1d83f2d7499679e96c6bc84efcb0cf4 | 1,645 | cs | C# | Authorizer/Authorizer/Features/Transactions/Transaction.cs | BetynMineiro/Authorizer-VerticalSlice-Demo | a94b887fccb98b9ea67b822dea458b2c85f47ae1 | [
"MIT"
] | null | null | null | Authorizer/Authorizer/Features/Transactions/Transaction.cs | BetynMineiro/Authorizer-VerticalSlice-Demo | a94b887fccb98b9ea67b822dea458b2c85f47ae1 | [
"MIT"
] | null | null | null | Authorizer/Authorizer/Features/Transactions/Transaction.cs | BetynMineiro/Authorizer-VerticalSlice-Demo | a94b887fccb98b9ea67b822dea458b2c85f47ae1 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Authorizer.Common;
using Authorizer.Features.Accounts;
namespace Authorizer.Features.Transactions
{
public class Transaction
{
[JsonPropertyName("merchant")]
public string Merchant { get; set; }
... | 24.924242 | 89 | 0.621884 |
4a5fd1d534569cac339cc98e155a32cab13216b4 | 3,838 | h | C | src/math/cart3impl/Mat33d_baseline.h | kwan0xfff/fmtk | c86848267c97632a74b24dc23003207afc795913 | [
"Apache-2.0"
] | 1 | 2018-10-02T03:16:07.000Z | 2018-10-02T03:16:07.000Z | src/math/cart3impl/Mat33d_baseline.h | kwan0xfff/fmtk | c86848267c97632a74b24dc23003207afc795913 | [
"Apache-2.0"
] | 6 | 2017-11-18T20:38:41.000Z | 2021-01-22T21:19:31.000Z | src/math/cart3impl/Mat33d_baseline.h | kwan0xfff/fmtk | c86848267c97632a74b24dc23003207afc795913 | [
"Apache-2.0"
] | null | null | null | // Protected data and software implementation for class Mat33d.
#ifndef _cart3_Mat33d_baseline_h_
#define _cart3_Mat33d_baseline_h_
#include <cmath>
namespace cart3 {
// basic constructors and destructors
inline Mat33d::Mat33d() { }
inline Mat33d::~Mat33d() { }
inline Mat33d::Mat33d(
double s00, double s... | 19.19 | 71 | 0.560709 |
5e53849ea120d64984b0f6455fd2d8a99dd67cf9 | 430 | ps1 | PowerShell | samples/Aridka/RunDemo.ps1 | mrukas/openiddict-samples | 4ad9df3d2ffddc3c165c221289654269839e613d | [
"Apache-2.0"
] | null | null | null | samples/Aridka/RunDemo.ps1 | mrukas/openiddict-samples | 4ad9df3d2ffddc3c165c221289654269839e613d | [
"Apache-2.0"
] | null | null | null | samples/Aridka/RunDemo.ps1 | mrukas/openiddict-samples | 4ad9df3d2ffddc3c165c221289654269839e613d | [
"Apache-2.0"
] | null | null | null | $root = $PSScriptRoot;
. $root\..\Shared.ps1
# Authorization Server
Push-Location "$root/Aridka.Server"
dotnet restore
dotnet build --no-incremental #rebuild
Start-Process dotnet -ArgumentList "watch run urls=http://localhost:52698" -PassThru
Pop-Location
# Client Application
Push-Location "$root/Aridka.Client"
dotn... | 26.875 | 85 | 0.786047 |
ff80dc3db8ad10030a50a99da097f3e7ed4db928 | 1,468 | py | Python | run_fetcher.py | iridesc/ProxyPoolWithUI | 593139b519533ca61f8a32455b4bf465b9c7a3ed | [
"MIT"
] | null | null | null | run_fetcher.py | iridesc/ProxyPoolWithUI | 593139b519533ca61f8a32455b4bf465b9c7a3ed | [
"MIT"
] | null | null | null | run_fetcher.py | iridesc/ProxyPoolWithUI | 593139b519533ca61f8a32455b4bf465b9c7a3ed | [
"MIT"
] | null | null | null | # encoding: utf-8
"""
定时运行爬取器
"""
import time
import os
import django
import importlib
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ProxyPool.settings")
django.setup()
from proxy_api.models import Fetcher, StatusRecode
from fetchers.BaseFetcher import BaseFetcher
def main():
while True:
for fetcher_... | 29.36 | 113 | 0.612398 |
14629512216f83fb90ffa20cc1829ebdb335150e | 257 | ts | TypeScript | src/components/molecules/index.ts | ria3100/portfolio | 121fd4968bd59e5b68f0709d03555d7547837195 | [
"MIT"
] | null | null | null | src/components/molecules/index.ts | ria3100/portfolio | 121fd4968bd59e5b68f0709d03555d7547837195 | [
"MIT"
] | 12 | 2021-03-01T20:21:29.000Z | 2022-02-26T10:32:31.000Z | src/components/molecules/index.ts | ria3100/portfolio | 121fd4968bd59e5b68f0709d03555d7547837195 | [
"MIT"
] | null | null | null | export { default as Tools } from './tools'
export { default as Profile } from './profile'
export { default as BlogListItem } from './blogListItem'
export { default as Pagination } from './pagination'
export { default as BlogDateTags } from './blogDateTags'
| 42.833333 | 56 | 0.727626 |
e71cfbf4317414c516abdeaa217a9bcc3951b65a | 928 | php | PHP | frontend/models/CveFile.php | anas-alfar/measure-cia | 7487338bc16b793da11ca0ca9ff18caafa5a06ea | [
"BSD-3-Clause"
] | 1 | 2016-05-17T23:11:45.000Z | 2016-05-17T23:11:45.000Z | frontend/models/CveFile.php | anas-alfar/measure-cia | 7487338bc16b793da11ca0ca9ff18caafa5a06ea | [
"BSD-3-Clause"
] | null | null | null | frontend/models/CveFile.php | anas-alfar/measure-cia | 7487338bc16b793da11ca0ca9ff18caafa5a06ea | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace frontend\models;
use Yii;
/**
* This is the model class for table "final_cve_file".
*
* @property integer $id
* @property string $cve
* @property string $filename
*/
class CveFile extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
... | 16.872727 | 67 | 0.508621 |
c26707ffbd327625d23c735090de1c94b04de216 | 1,057 | sql | SQL | SCRIPTS/mts_wait.sql | nabeelkhan/Oracle-DBA-Life | 102a3d14cfd102f38968f2f62f4ec3e019d33b21 | [
"MIT"
] | null | null | null | SCRIPTS/mts_wait.sql | nabeelkhan/Oracle-DBA-Life | 102a3d14cfd102f38968f2f62f4ec3e019d33b21 | [
"MIT"
] | null | null | null | SCRIPTS/mts_wait.sql | nabeelkhan/Oracle-DBA-Life | 102a3d14cfd102f38968f2f62f4ec3e019d33b21 | [
"MIT"
] | null | null | null | REM FILE NAME: mts_wait.sql
REM LOCATION: System Monitoring\Reports
REM FUNCTION: Generate wait time report for dispatchers
REM TESTED ON: 7.3.3.5, 8.0.4.1, 8.1.5, 8.1.7, 9.0.1
REM PLATFORM: non-specific
REM REQUIRES: v$queue, v$dispatcher
REM
REM This is a part of the Knowledge Xpert for Oracle Administrati... | 32.030303 | 86 | 0.66036 |
e299c6454afeb94ccef9566a018366689e895a4a | 4,482 | py | Python | asyncalchemy/session_committer.py | guyzyl/asyncalchemy | 05f5c86e8bc7fe84d300ae128c2ac12e2b920994 | [
"Apache-2.0"
] | 9 | 2020-12-29T17:44:27.000Z | 2021-07-15T15:48:21.000Z | asyncalchemy/session_committer.py | guyzyl/asyncalchemy | 05f5c86e8bc7fe84d300ae128c2ac12e2b920994 | [
"Apache-2.0"
] | null | null | null | asyncalchemy/session_committer.py | guyzyl/asyncalchemy | 05f5c86e8bc7fe84d300ae128c2ac12e2b920994 | [
"Apache-2.0"
] | 4 | 2021-01-03T15:39:54.000Z | 2021-08-08T17:49:06.000Z | from __future__ import absolute_import
from functools import partial
from typing import Any, Dict, Optional
from types import TracebackType
from sqlalchemy.orm.query import Query
from sqlalchemy.orm.session import Session
from sqlalchemy.orm.session import sessionmaker as sessionmaker_type
from asyncalchemy.utils im... | 26.364706 | 100 | 0.638331 |
b30c009607b2c6eea9d8c4002e7160cdc70fc478 | 366 | py | Python | Python/problem1299.py | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | Python/problem1299.py | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | Python/problem1299.py | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | from typing import List
class Solution:
def replaceElements(self, arr: List[int]) -> List[int]:
max_ = arr[-1]
for k in range(len(arr)-2, -1, -1):
tmp = max_
max_ = max(max_, arr[k])
arr[k] = tmp
arr[-1] = -1
return arr
solu = Solution()
arr = [1... | 24.4 | 59 | 0.527322 |
a3647f0ed8de00ea0d0a62cee977021358e25439 | 630 | java | Java | jamonapi/jamon/src/main/java/com/jamonapi/distributed/HazelcastFilePersister.java | appbakers/automon_example | d225d8968fb67143bf3d379587a7f3eb64ae48f3 | [
"Apache-2.0"
] | null | null | null | jamonapi/jamon/src/main/java/com/jamonapi/distributed/HazelcastFilePersister.java | appbakers/automon_example | d225d8968fb67143bf3d379587a7f3eb64ae48f3 | [
"Apache-2.0"
] | null | null | null | jamonapi/jamon/src/main/java/com/jamonapi/distributed/HazelcastFilePersister.java | appbakers/automon_example | d225d8968fb67143bf3d379587a7f3eb64ae48f3 | [
"Apache-2.0"
] | null | null | null | package com.jamonapi.distributed;
/** Class that interacts with HazelCast to save jamon data to it so data from any jvm's in the hazelcast cluster
* can be visible via the jamon web app. Note in most cases hazelcast exceptions are not bubbled up in this class
* as jamon should still be availalbe even if HazelCast ... | 35 | 114 | 0.753968 |
3861f4646941ea99cfa24327ffc6fbec9f4392e0 | 303 | php | PHP | src/GreatPayment.php | xuzijie/laravel-test | bdf3a99350b7d33c37b14fc208e021bdf08b55de | [
"WTFPL"
] | null | null | null | src/GreatPayment.php | xuzijie/laravel-test | bdf3a99350b7d33c37b14fc208e021bdf08b55de | [
"WTFPL"
] | null | null | null | src/GreatPayment.php | xuzijie/laravel-test | bdf3a99350b7d33c37b14fc208e021bdf08b55de | [
"WTFPL"
] | null | null | null | <?php
namespace GreatPay\GreatPayment;
use Illuminate\Config\Repository;
/**
* 主要入口
*/
class GreatPayment
{
/**
* @var Repository
*/
protected $config;
function __construct(Repository $config)
{
$this->config = $config;
}
public static function success(){
echo 111;
}
}
| 12.625 | 41 | 0.643564 |
7ad8ad48efdf42b8a2f78379e1308eaa56df0e99 | 2,608 | cs | C# | DataAnnotationsExtensions/Expressions.cs | Thieum/DataAnnotationsExtensions | a012d7705f293f0950e04e8f41e407a7bfb0736d | [
"BSD-3-Clause"
] | 105 | 2015-01-05T09:37:42.000Z | 2021-09-16T00:56:21.000Z | DataAnnotationsExtensions/Expressions.cs | Thieum/DataAnnotationsExtensions | a012d7705f293f0950e04e8f41e407a7bfb0736d | [
"BSD-3-Clause"
] | 26 | 2015-03-04T18:11:18.000Z | 2021-12-14T00:45:27.000Z | DataAnnotationsExtensions/Expressions.cs | Thieum/DataAnnotationsExtensions | a012d7705f293f0950e04e8f41e407a7bfb0736d | [
"BSD-3-Clause"
] | 51 | 2015-01-05T16:26:41.000Z | 2022-03-25T18:31:13.000Z | namespace DataAnnotationsExtensions
{
public static class Expressions
{
public const string Cuit = @"^[0-9]{2}-?[0-9]{8}-?[0-9]$";
/// <summary>
/// Matches:
/// International dialing prefix: {{}, +, 0, 0000} (with or without a trailing break character, if not '+': [-... | 50.153846 | 143 | 0.500383 |
8304db0ce1d7a777c936f4c1d7e918ae333b8853 | 1,732 | tsx | TypeScript | example/src/components/QuizListElement/QuizListElement.tsx | chareefdev/sticky-parallax-header | fb3575de39b3535af2c000cf914909979f36fc1a | [
"MIT"
] | 1,221 | 2019-08-16T07:44:01.000Z | 2022-03-31T13:34:00.000Z | example/src/components/QuizListElement/QuizListElement.tsx | chareefdev/sticky-parallax-header | fb3575de39b3535af2c000cf914909979f36fc1a | [
"MIT"
] | 149 | 2019-08-31T12:17:30.000Z | 2022-03-13T15:55:34.000Z | example/src/components/QuizListElement/QuizListElement.tsx | chareefdev/sticky-parallax-header | fb3575de39b3535af2c000cf914909979f36fc1a | [
"MIT"
] | 176 | 2019-08-16T11:58:57.000Z | 2022-03-30T08:55:09.000Z | import React, { VFC } from 'react';
import { View, Text, TouchableOpacity, Image, ImageSourcePropType } from 'react-native';
import styles from './QuizListElement.styles';
import { colors } from '../../constants';
type Props = {
onPress?: () => void;
authorName: string;
mainText: string;
labelText: string;
e... | 32.679245 | 100 | 0.65358 |
961609d42e176b8260ffdba15c6de86913a85c13 | 3,308 | rb | Ruby | lib/podbay/components/daemon/process.rb | payout/podbay | a17cc1db6a1f032d9d7005136e4176dbe7f3a73d | [
"MIT"
] | null | null | null | lib/podbay/components/daemon/process.rb | payout/podbay | a17cc1db6a1f032d9d7005136e4176dbe7f3a73d | [
"MIT"
] | null | null | null | lib/podbay/components/daemon/process.rb | payout/podbay | a17cc1db6a1f032d9d7005136e4176dbe7f3a73d | [
"MIT"
] | null | null | null | module Podbay::Components
class Daemon
class Process
class << self
def spawn(command = nil, options = nil, &block)
_new_instance.spawn(command, options, &block)
end
def mock(mock)
@_mock = mock
yield
ensure
@_mock = nil
end
... | 22.503401 | 79 | 0.529927 |
33fea18d5508aff5199ce53cdfc58106fd52969d | 11,242 | go | Go | control-application.go | TingYunGo/goagent | 40a53930fa084445ebc593cfe19eaf877bd1ce7a | [
"Apache-2.0"
] | 2 | 2021-05-31T07:00:43.000Z | 2021-09-03T03:27:08.000Z | control-application.go | TingYunGo/goagent | 40a53930fa084445ebc593cfe19eaf877bd1ce7a | [
"Apache-2.0"
] | null | null | null | control-application.go | TingYunGo/goagent | 40a53930fa084445ebc593cfe19eaf877bd1ce7a | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 冯立强 fenglq@tingyun.com. All rights reserved.
package tingyun3
import (
"encoding/json"
"errors"
"os"
"os/exec"
"path/filepath"
"runtime"
"time"
"github.com/TingYunGo/goagent/libs/pool"
log "github.com/TingYunGo/goagent/utils/logger"
)
/*
* 日志级别/审计模式控制
*/
const (
LevelOff = log.L... | 27.895782 | 112 | 0.681107 |
14b96d479a050f027916ecf84de8e5c9f9330753 | 2,522 | ts | TypeScript | scene/src/game.ts | decentraland-scenes/osc-relay | d203b0d6c5da9c49e39dba75a8f15986bd64101e | [
"Apache-2.0"
] | 3 | 2021-09-05T08:46:21.000Z | 2022-01-03T21:14:50.000Z | scene/src/game.ts | decentraland-scenes/osc-relay | d203b0d6c5da9c49e39dba75a8f15986bd64101e | [
"Apache-2.0"
] | null | null | null | scene/src/game.ts | decentraland-scenes/osc-relay | d203b0d6c5da9c49e39dba75a8f15986bd64101e | [
"Apache-2.0"
] | null | null | null | /// --- Set up a system ---
import { connect } from './connection'
connect('my_room').then((room) => {
log('Connected!')
room.state.listen('fader1', (value: number) => {
fader1.getComponent(Transform).position.y = value * 5 + 2
if(value> 0.9){
fader1.addComponentOrReplace(redMaterial)
} else if... | 24.970297 | 61 | 0.688343 |
1a70bfe81960c34a799f6131879096002e78d496 | 1,397 | py | Python | array/python3/6_union_intersection.py | jitendragangwar123/cp | 8d9da1abd841784da8304e7ebb64a6b94cb804bb | [
"MIT"
] | null | null | null | array/python3/6_union_intersection.py | jitendragangwar123/cp | 8d9da1abd841784da8304e7ebb64a6b94cb804bb | [
"MIT"
] | 1 | 2020-12-12T19:09:01.000Z | 2020-12-12T19:09:01.000Z | array/python3/6_union_intersection.py | jitendragangwar123/cp | 8d9da1abd841784da8304e7ebb64a6b94cb804bb | [
"MIT"
] | 1 | 2020-12-12T18:36:24.000Z | 2020-12-12T18:36:24.000Z | # using modified merge function
def compute_union(arr1, arr2):
union = []
index1 = 0
index2 = 0
while (index1 < len(arr1)) and (index2 < len(arr2)):
if arr1[index1] < arr2[index2]:
union.append(arr1[index1])
index1 += 1
elif arr1[index1] > arr2[index2]:
... | 24.508772 | 56 | 0.536149 |
798d3112c930d0c62ffd03d4acb64755f4776d80 | 1,176 | php | PHP | src/app/Console/Commands/GenerateSetupKey.php | hercip/docker-php-nginx | 0f25fe389a53a767b35ea5711d1f7fd789c23db3 | [
"MIT"
] | null | null | null | src/app/Console/Commands/GenerateSetupKey.php | hercip/docker-php-nginx | 0f25fe389a53a767b35ea5711d1f7fd789c23db3 | [
"MIT"
] | null | null | null | src/app/Console/Commands/GenerateSetupKey.php | hercip/docker-php-nginx | 0f25fe389a53a767b35ea5711d1f7fd789c23db3 | [
"MIT"
] | null | null | null | <?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://opensource.org/licenses/AAL
*/
namespace App\Console\Commands;
use Illuminate\Con... | 21 | 97 | 0.613095 |
2d03f03570a613d616344bdf68cf7032b52337f4 | 936 | css | CSS | .storybook/preview.css | L-Blondy/react-hooks-ts | e1540ff6d24c52f32e100f7ded9799c46c8bf484 | [
"MIT"
] | null | null | null | .storybook/preview.css | L-Blondy/react-hooks-ts | e1540ff6d24c52f32e100f7ded9799c46c8bf484 | [
"MIT"
] | null | null | null | .storybook/preview.css | L-Blondy/react-hooks-ts | e1540ff6d24c52f32e100f7ded9799c46c8bf484 | [
"MIT"
] | null | null | null | * {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Adobe Ming Std", "Roboto";
font-size: 1rem;
}
html,
body,
#root {
height: 100%;
}
button {
padding: 0 1.3em;
margin: 0.5em 0.5em 0.5em 0;
border-radius: 5px;
border: none;
background: #c3ccca;
color: white;
box-sha... | 16.137931 | 53 | 0.605769 |
da223838e12a809e810b26909c345aeb5e83964c | 783 | cs | C# | src/Microsoft.ML.AutoML/API/MLContextExtension.cs | ptelman/machinelearning | e37266442984e5f39205f09c0481ef6aee2bf074 | [
"MIT"
] | 9 | 2018-12-26T11:11:08.000Z | 2019-09-18T02:37:49.000Z | src/Microsoft.ML.AutoML/API/MLContextExtension.cs | ptelman/machinelearning | e37266442984e5f39205f09c0481ef6aee2bf074 | [
"MIT"
] | null | null | null | src/Microsoft.ML.AutoML/API/MLContextExtension.cs | ptelman/machinelearning | e37266442984e5f39205f09c0481ef6aee2bf074 | [
"MIT"
] | 2 | 2019-07-31T06:08:07.000Z | 2019-08-01T01:53:38.000Z | // Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.ML.AutoML
{
/// <summary>
/// Class containing AutoML extension methods to <see cref="MLContext"/>
/// <... | 34.043478 | 77 | 0.643678 |
038a74b49cb11b05b916cae84a083ff502aae950 | 2,009 | sql | SQL | exper6/views.sql | cyingyo/database-exper | 97f12fbe11d4d60b299b192ce7d086b6be7602b1 | [
"MIT"
] | 2 | 2019-02-10T09:10:33.000Z | 2019-02-10T09:10:36.000Z | exper6/views.sql | cyingyo/database-exper | 97f12fbe11d4d60b299b192ce7d086b6be7602b1 | [
"MIT"
] | null | null | null | exper6/views.sql | cyingyo/database-exper | 97f12fbe11d4d60b299b192ce7d086b6be7602b1 | [
"MIT"
] | null | null | null | create or replace view test6_01 as
select sid, name, dname
from pub.STUDENT
where age<20
and dname='物理学院'
order by sid
create or replace view test6_02 as
select sid, name, sum(score) sum_score
from pub.STUDENT natural join pub.STUDENT_COURSE
where class=2009
and dname='软件学院'
group by sid, name
create or replace view ... | 17.778761 | 55 | 0.752613 |
cdad072ac55bc91b6c535cca787c082ffd123163 | 14,780 | cs | C# | Assets/Dreamteck/Splines/Editor/SplinePointMirrorEditor.cs | SandGardeners/Some-Excavated-Wounds | 4df44933116c763bf14883cee6181320e58c3043 | [
"Unlicense"
] | 5 | 2020-05-04T02:29:50.000Z | 2022-03-29T11:46:12.000Z | Assets/Dreamteck/Splines/Editor/SplinePointMirrorEditor.cs | SandGardeners/Some-Excavated-Wounds | 4df44933116c763bf14883cee6181320e58c3043 | [
"Unlicense"
] | null | null | null | Assets/Dreamteck/Splines/Editor/SplinePointMirrorEditor.cs | SandGardeners/Some-Excavated-Wounds | 4df44933116c763bf14883cee6181320e58c3043 | [
"Unlicense"
] | 1 | 2021-07-02T08:52:56.000Z | 2021-07-02T08:52:56.000Z | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
namespace Dreamteck.Splines
{
public class SplinePointMirrorEditor : SplinePointEditor
{
public Vector3 center = Vector3.zero;
public enum Axis { X, Y, Z }
public Axis axis = Axis.X;
... | 41.988636 | 126 | 0.456428 |
439c667ecae9f4ac066ef5d73468d1cff76cf851 | 4,864 | ts | TypeScript | src/Stores/SortStore.ts | Duenke/EdgeExt-DinksNewTab | 1a7b0dfd7864c40bedf85958b92c574bdaa0feb1 | [
"MIT"
] | null | null | null | src/Stores/SortStore.ts | Duenke/EdgeExt-DinksNewTab | 1a7b0dfd7864c40bedf85958b92c574bdaa0feb1 | [
"MIT"
] | null | null | null | src/Stores/SortStore.ts | Duenke/EdgeExt-DinksNewTab | 1a7b0dfd7864c40bedf85958b92c574bdaa0feb1 | [
"MIT"
] | null | null | null | import browser from "webextension-polyfill";
import { writable } from 'svelte/store';
import { SortKey, SortContract, SortSelections } from "../Types/SortTypes";
import type { BookmarkTreeNode } from '../Types/ChromeTypes';
const defaultSort: SortContract = {
sortFunction: sortDefault,
sortName: SortSelection... | 28.952381 | 105 | 0.546875 |
8ea68ababd3eff520af535ee9f5ddcc27ebad081 | 412 | rb | Ruby | lib/contribution-checker/error.rb | silvrwolfboy/contribution-checker | 1370314972a404642321b19cc1c5e0d99d54dfc6 | [
"MIT"
] | 25 | 2015-01-05T13:16:01.000Z | 2021-03-06T18:16:44.000Z | lib/contribution-checker/error.rb | silvrwolfboy/contribution-checker | 1370314972a404642321b19cc1c5e0d99d54dfc6 | [
"MIT"
] | 8 | 2015-01-13T16:29:09.000Z | 2017-09-21T21:33:47.000Z | lib/contribution-checker/error.rb | jdennes/contribution-checker | 1370314972a404642321b19cc1c5e0d99d54dfc6 | [
"MIT"
] | 8 | 2015-09-17T10:04:37.000Z | 2020-03-06T12:21:48.000Z | module ContributionChecker
# Error class to help us rescue from invalid commit URL input.
class InvalidCommitUrlError < StandardError
def initialize
super "Invalid commit URL provided"
end
end
# Error class to help us rescue from invalid access token input.
class InvalidAccessTokenError < Stan... | 22.888889 | 66 | 0.742718 |
e8faad35f86b5b9774cc9f3e760121f1ce8d1ea5 | 1,317 | sql | SQL | internal/persistence/sql/migrations/sql/20220217152313000000_nid_fk.sqlite.down.sql | aarmam/keto | ffab5c0666d399441f6f153d368dcd88d6b28b69 | [
"Apache-2.0"
] | null | null | null | internal/persistence/sql/migrations/sql/20220217152313000000_nid_fk.sqlite.down.sql | aarmam/keto | ffab5c0666d399441f6f153d368dcd88d6b28b69 | [
"Apache-2.0"
] | null | null | null | internal/persistence/sql/migrations/sql/20220217152313000000_nid_fk.sqlite.down.sql | aarmam/keto | ffab5c0666d399441f6f153d368dcd88d6b28b69 | [
"Apache-2.0"
] | null | null | null | CREATE TABLE keto_relation_tuples_no_fk
(
shard_id UUID NOT NULL,
nid UUID NOT NULL,
namespace_id INTEGER NOT NULL,
object VARCHAR(64) NOT NULL,
relation VARCHAR(64) NOT NULL,
subject_id ... | 43.9 | 215 | 0.68489 |
a0ce2ff7b909d2a8092ac093ee474cbe3d33dda9 | 677 | dart | Dart | lib/src/elements/HomeSliderLoaderWidget.dart | shah77pc/flutter_application | a17654f86c5e820afa8c003ea39fd7f364d29166 | [
"MIT"
] | 1 | 2021-12-22T22:19:29.000Z | 2021-12-22T22:19:29.000Z | lib/src/elements/HomeSliderLoaderWidget.dart | shah77pc/flutter_application | a17654f86c5e820afa8c003ea39fd7f364d29166 | [
"MIT"
] | null | null | null | lib/src/elements/HomeSliderLoaderWidget.dart | shah77pc/flutter_application | a17654f86c5e820afa8c003ea39fd7f364d29166 | [
"MIT"
] | 2 | 2021-10-02T01:37:43.000Z | 2021-10-02T11:10:14.000Z | import 'dart:ui';
import 'package:flutter/material.dart';
class HomeSliderLoaderWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
margin: const EdgeInsets.symmetric(vertical: 20, horizontal: 20),
height: 140,
width: double.infinity,
decor... | 28.208333 | 113 | 0.651403 |
edd3665a524e181961df4f2712959914d38047f6 | 944 | sql | SQL | cat-server/src/main/resources/db/migration/V20191025151930__Remove_Trim_From_Views.sql | baloise/cut | d38479b9957f680ea67b436c3395b255f16e4bb4 | [
"Apache-2.0"
] | 4 | 2019-10-14T09:41:50.000Z | 2020-09-28T08:19:25.000Z | cat-server/src/main/resources/db/migration/V20191025151930__Remove_Trim_From_Views.sql | baloise/cut | d38479b9957f680ea67b436c3395b255f16e4bb4 | [
"Apache-2.0"
] | 37 | 2019-10-25T20:20:34.000Z | 2022-02-19T00:13:43.000Z | cat-server/src/main/resources/db/migration/V20191025151930__Remove_Trim_From_Views.sql | baloise/cut | d38479b9957f680ea67b436c3395b255f16e4bb4 | [
"Apache-2.0"
] | null | null | null | DROP VIEW codevalue;
DROP VIEW codetype;
DROP VIEW responsible;
DROP VIEW application;
CREATE VIEW codevalue (id, value, codetype_id, name, creator, created) AS
SELECT concat_ws(':', codetyp_nr, wert),
wert,
codetyp_nr,
name,
erfasser,
erfassungszeit
FROM tbti_codewert
WHERE codetyp_... | 23.02439 | 86 | 0.690678 |
9380dfcd82f1293c5a7f24575cdb79b24890f6d9 | 11,945 | cs | C# | build/src/PureCloudPlatform.Client.V2/Model/ParticipantMetrics.cs | MyPureCloud/platform-client-sdk-dotnet | 66e36bfc23742ec0d902e67ca64718fd04ca2d74 | [
"MIT"
] | 13 | 2017-12-21T03:57:38.000Z | 2022-02-17T11:21:47.000Z | build/src/PureCloudPlatform.Client.V2/Model/ParticipantMetrics.cs | MyPureCloud/platform-client-sdk-dotnet | 66e36bfc23742ec0d902e67ca64718fd04ca2d74 | [
"MIT"
] | 4 | 2017-10-02T14:10:41.000Z | 2021-09-27T13:14:31.000Z | build/src/PureCloudPlatform.Client.V2/Model/ParticipantMetrics.cs | MyPureCloud/platform-client-sdk-dotnet | 66e36bfc23742ec0d902e67ca64718fd04ca2d74 | [
"MIT"
] | 19 | 2017-09-28T21:16:11.000Z | 2022-03-30T20:22:34.000Z | using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using PureCloudPlatform.Client.V2.Client;
namespace PureClo... | 39.55298 | 344 | 0.573462 |
0dbc0f9568341590886478602239b08b0ae3fd11 | 179 | cs | C# | src/SmartAnnotations/Attributes/Display/IDisplayAttributeBuilder.cs | fiseni/SmartAnnotations | a6bfc4056265590f0b88ff74322981584564cab5 | [
"MIT"
] | 32 | 2021-04-03T18:37:37.000Z | 2022-02-07T02:48:51.000Z | src/SmartAnnotations/Attributes/Display/IDisplayAttributeBuilder.cs | fiseni/SmartAnnotations | a6bfc4056265590f0b88ff74322981584564cab5 | [
"MIT"
] | 1 | 2021-04-04T12:27:18.000Z | 2021-10-05T17:29:36.000Z | src/SmartAnnotations/Attributes/Display/IDisplayAttributeBuilder.cs | fiseni/SmartAnnotations | a6bfc4056265590f0b88ff74322981584564cab5 | [
"MIT"
] | 5 | 2021-05-21T10:05:42.000Z | 2022-02-07T02:48:52.000Z | using System;
using System.Collections.Generic;
using System.Text;
namespace SmartAnnotations
{
public interface IDisplayAttributeBuilder : IAnnotationBuilder
{
}
}
| 16.272727 | 66 | 0.765363 |
1d5787aa89b662a7cbc725301a8e8553a63eb09d | 8,411 | sql | SQL | src/main/resources/install.sql | doanhoa93/spring-security-login-and-registration | 59e64275dde4ae4baa4f0d0481e242448ef360a7 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/main/resources/install.sql | doanhoa93/spring-security-login-and-registration | 59e64275dde4ae4baa4f0d0481e242448ef360a7 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/main/resources/install.sql | doanhoa93/spring-security-login-and-registration | 59e64275dde4ae4baa4f0d0481e242448ef360a7 | [
"Apache-2.0",
"MIT"
] | null | null | null | -- MySQL dump 10.13 Distrib 5.7.23, for Linux (x86_64)
--
-- Host: localhost Database: registration_02
-- ------------------------------------------------------
-- Server version 5.7.23-0ubuntu0.18.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHAR... | 35.489451 | 472 | 0.721793 |
b2346ebb2d70cef4e24dd4bc95de4d613bc63d86 | 72 | rb | Ruby | spec/dummy/config/routes.rb | j-a-m-l/eurocrats | 76ea78cae3fda241157d330a92145ce963734b3e | [
"MIT"
] | 1 | 2015-09-01T09:32:51.000Z | 2015-09-01T09:32:51.000Z | spec/dummy/config/routes.rb | j-a-m-l/eurocrats | 76ea78cae3fda241157d330a92145ce963734b3e | [
"MIT"
] | null | null | null | spec/dummy/config/routes.rb | j-a-m-l/eurocrats | 76ea78cae3fda241157d330a92145ce963734b3e | [
"MIT"
] | null | null | null | Rails.application.routes.draw do
mount Eurocrats::Engine, at: '/'
end
| 18 | 34 | 0.736111 |
ef09795b7cad070a8f8e03414219c63966163575 | 6,947 | rs | Rust | transpiler/src/parser.rs | losfair/GoExceptions | f6dbec35071ef72c1bf6f57f2880d9c752c523fd | [
"MIT"
] | null | null | null | transpiler/src/parser.rs | losfair/GoExceptions | f6dbec35071ef72c1bf6f57f2880d9c752c523fd | [
"MIT"
] | null | null | null | transpiler/src/parser.rs | losfair/GoExceptions | f6dbec35071ef72c1bf6f57f2880d9c752c523fd | [
"MIT"
] | null | null | null | enum State {
Normal,
Comment,
Try,
CatchArgName,
CatchArgType,
CatchBody
}
macro_rules! may_be_identifier_char {
($c: expr) => {
if ($c >= 'a' && $c <= 'z') || ($c >= 'A' && $c <= 'Z') || ($c >= '0' && $c <= '9') || $c == '_' {
true
} else {
false
... | 34.909548 | 118 | 0.300705 |
14b19e6b96cb1b5a4dff93596a46f7ca84400057 | 205 | ts | TypeScript | dist/lib/expect/matchers/toShow.function.d.ts | mpereiraesaa/nut.js | 989406dde22d774273bfddb763f25e26e134abd4 | [
"Apache-2.0"
] | null | null | null | dist/lib/expect/matchers/toShow.function.d.ts | mpereiraesaa/nut.js | 989406dde22d774273bfddb763f25e26e134abd4 | [
"Apache-2.0"
] | null | null | null | dist/lib/expect/matchers/toShow.function.d.ts | mpereiraesaa/nut.js | 989406dde22d774273bfddb763f25e26e134abd4 | [
"Apache-2.0"
] | 1 | 2020-02-27T05:42:00.000Z | 2020-02-27T05:42:00.000Z | import { Screen } from "../../screen.class";
export declare const toShow: (received: Screen, needle: string, confidence?: number | undefined) => Promise<{
message: () => string;
pass: boolean;
}>;
| 34.166667 | 109 | 0.64878 |
b0bf1a8ff5e9e588dcc405e35e434233e7912d62 | 935 | py | Python | ch_6/read_error.py | ProhardONE/python_primer | 211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0 | [
"MIT"
] | 51 | 2016-04-05T16:56:11.000Z | 2022-02-08T00:08:47.000Z | ch_6/read_error.py | zhangxiao921207/python_primer | 211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0 | [
"MIT"
] | null | null | null | ch_6/read_error.py | zhangxiao921207/python_primer | 211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0 | [
"MIT"
] | 47 | 2016-05-02T07:51:37.000Z | 2022-02-08T01:28:15.000Z | # Exercise 6.11
# Author: Noah Waterfield Price
import matplotlib.pyplot as plt
infile = open('lnsum.dat', 'r')
lines = []
for line in infile:
if line.find('epsilon') != -1:
lines.append(line)
infile.close()
data = {'epsilon': [], 'exact error': [], 'n': []}
for line in lines:
errorinfo = line.split(... | 27.5 | 66 | 0.595722 |
0283b0332e6a4eb780ca44439332565d75e5dd1d | 601 | cpp | C++ | two-sum.cpp | casper001207/leetcode | 7b5c9b77078385fe67cb4ad5d0d52f9250cdfa30 | [
"MIT"
] | null | null | null | two-sum.cpp | casper001207/leetcode | 7b5c9b77078385fe67cb4ad5d0d52f9250cdfa30 | [
"MIT"
] | null | null | null | two-sum.cpp | casper001207/leetcode | 7b5c9b77078385fe67cb4ad5d0d52f9250cdfa30 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> twoSum(vector<int>& nums, int target) {
vector<int> v;
for ( vector<int>::iterator it = nums.begin(); it != nums.end(); ++it ) {
for ( vector<int>::iterator it2 = nums.begin() + distance(nums.begin(), it) + 1; it2 != nums.end(); ++it2 ) {
... | 37.5625 | 121 | 0.430948 |
7d957f70ea866ae0c92a933e2ec496ef1c4f0f9b | 150 | css | CSS | src/simple-password-meter.css | magdkudama/simple-password-meter | 9d5afe9755ef2ec627143ed98cf711d6e503a711 | [
"MIT"
] | null | null | null | src/simple-password-meter.css | magdkudama/simple-password-meter | 9d5afe9755ef2ec627143ed98cf711d6e503a711 | [
"MIT"
] | null | null | null | src/simple-password-meter.css | magdkudama/simple-password-meter | 9d5afe9755ef2ec627143ed98cf711d6e503a711 | [
"MIT"
] | null | null | null | .password-meter-bar {
height: 3px;
background-color: #ccc;
width: 100%;
position: relative;
}
.password-meter-color-bar {
height: 3px;
}
| 13.636364 | 27 | 0.646667 |
fd67f5769340422ca8b9f6048dabd2617b9e38b4 | 905 | rs | Rust | crates/ffi/src/env.rs | neysofu/svm | 3008694ef702a2df5cf40ad64ceb64458000292f | [
"MIT"
] | null | null | null | crates/ffi/src/env.rs | neysofu/svm | 3008694ef702a2df5cf40ad64ceb64458000292f | [
"MIT"
] | null | null | null | crates/ffi/src/env.rs | neysofu/svm | 3008694ef702a2df5cf40ad64ceb64458000292f | [
"MIT"
] | null | null | null | use std::ffi::c_void;
/// The function environment of host functions.
#[allow(non_camel_case_types)]
#[derive(Clone)]
#[repr(C)]
pub struct svm_env_t {
/// The SVM's inner environment.
/// (see `Context` at `svm-runtime` crate).
pub inner_env: *const c_void,
/// The host environment.
pub host_env:... | 23.815789 | 52 | 0.598895 |
b02a039884c595b7f95438f013500ba9b01d6db8 | 3,998 | py | Python | atp-auto-core-open/atp/views/ui_pageobject.py | rebecca1202/testAuto | 0c80d34a2f27c593a1ab7869679b75f50bd08d13 | [
"Apache-2.0"
] | 130 | 2020-04-01T02:27:54.000Z | 2022-03-16T10:11:56.000Z | atp-auto-core-open/atp/views/ui_pageobject.py | rebecca1202/testAuto | 0c80d34a2f27c593a1ab7869679b75f50bd08d13 | [
"Apache-2.0"
] | 8 | 2020-03-31T09:41:21.000Z | 2021-06-02T01:19:12.000Z | atp-auto-core-open/atp/views/ui_pageobject.py | rebecca1202/testAuto | 0c80d34a2f27c593a1ab7869679b75f50bd08d13 | [
"Apache-2.0"
] | 53 | 2020-06-15T03:41:00.000Z | 2022-03-31T10:41:21.000Z |
from flask import Blueprint
from flask_restful import Resource
from atp.utils.common import get_request_json, make_response, username_to_nickname
from atp.views.wrappers import developer_check
from atp.api.mysql_manager import UICasePageInfoManager, UICasePageObjectInfoManage
pageobject = Blueprint('pageobject_inter... | 39.98 | 107 | 0.565033 |
55890185a86d51953ea0efe72d4ad026a0f8b1fa | 1,950 | dart | Dart | lib/model/ui/gamification/ui_reward.dart | JulianBnder/fokus | 74183a6be9f957857f7d7049a28c64318413e28f | [
"MIT"
] | null | null | null | lib/model/ui/gamification/ui_reward.dart | JulianBnder/fokus | 74183a6be9f957857f7d7049a28c64318413e28f | [
"MIT"
] | null | null | null | lib/model/ui/gamification/ui_reward.dart | JulianBnder/fokus | 74183a6be9f957857f7d7049a28c64318413e28f | [
"MIT"
] | null | null | null | import 'package:equatable/equatable.dart';
import 'package:fokus/model/db/date/time_date.dart';
import 'package:fokus/model/db/gamification/child_reward.dart';
import 'package:fokus/model/db/gamification/reward.dart';
import 'package:mongo_dart/mongo_dart.dart';
import 'ui_points.dart';
class UIReward extends Equatab... | 36.792453 | 164 | 0.711795 |
048bb9e983d34e3ed6e96fa3c82b18a4067674f5 | 240 | swift | Swift | scrollReader/scrollReader/scrollReaderApp.swift | tylc/iOS | 490bcd2da5d2506c2fe27ecea7e3372b5b0841c0 | [
"MIT"
] | null | null | null | scrollReader/scrollReader/scrollReaderApp.swift | tylc/iOS | 490bcd2da5d2506c2fe27ecea7e3372b5b0841c0 | [
"MIT"
] | null | null | null | scrollReader/scrollReader/scrollReaderApp.swift | tylc/iOS | 490bcd2da5d2506c2fe27ecea7e3372b5b0841c0 | [
"MIT"
] | null | null | null | //
// scrollReaderApp.swift
// scrollReader
//
// Created by Enric Herce on 13/07/2021.
//
import SwiftUI
@main
struct scrollReaderApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
| 13.333333 | 41 | 0.583333 |
817a53d89dce4df19b5b8d0535e3635aabc3199f | 307 | hpp | C++ | build/android/modules/core/stat.simd_declarations.hpp | wth0928/opencv_lite | aa46cc9c14dc1619b18c6438d1addc0ab0db018c | [
"BSD-3-Clause"
] | null | null | null | build/android/modules/core/stat.simd_declarations.hpp | wth0928/opencv_lite | aa46cc9c14dc1619b18c6438d1addc0ab0db018c | [
"BSD-3-Clause"
] | null | null | null | build/android/modules/core/stat.simd_declarations.hpp | wth0928/opencv_lite | aa46cc9c14dc1619b18c6438d1addc0ab0db018c | [
"BSD-3-Clause"
] | null | null | null | #define CV_CPU_SIMD_FILENAME "/home/wangtonghui/Code_backup/j2-dev/external/opencv-4.3.0/modules/core/src/stat.simd.hpp"
#define CV_CPU_DISPATCH_MODE SSE4_2
#include "opencv2/core/private/cv_cpu_include_simd_declarations.hpp"
#define CV_CPU_DISPATCH_MODES_ALL SSE4_2, BASELINE
#undef CV_CPU_SIMD_FILENAME
| 38.375 | 120 | 0.850163 |
2d68c1f7619d52a8e36eb3e150cc3551ff92521e | 410 | css | CSS | public/css/fr_custom.css | ganboonhong/ng2blog | f12de773b46fd343c782cb7fb33c5f003afd9e24 | [
"MIT"
] | null | null | null | public/css/fr_custom.css | ganboonhong/ng2blog | f12de773b46fd343c782cb7fb33c5f003afd9e24 | [
"MIT"
] | 1 | 2018-04-08T13:07:57.000Z | 2018-04-08T13:09:38.000Z | public/css/fr_custom.css | ganboonhong/ng2blog | f12de773b46fd343c782cb7fb33c5f003afd9e24 | [
"MIT"
] | null | null | null | .list_delete_btn{
margin-left:10px;
}
.item_row{
display: inline-block;
width:90%;
}
.big-checkbox {width: 22px; height: 22px;}
/*FR CUSTOM THEME*/
body{
/*background-color: #e5ffe5;*/
background-image: url('../image/paper.jpg');
}
/*end of FR CUSTOM THEME*/
/*nicEditor*/
.nicEdit-main {
back... | 15.185185 | 48 | 0.636585 |
e2d1bc3c2bbdf4bd347242ca6644e5999d903980 | 194 | sh | Shell | buhayra/jobs/edge_detection_year_month_manuscript.sh | jmigueldelgado/buhayra | 7236be088f3c3600cfd76650e1f80e0630653fe1 | [
"MIT"
] | 5 | 2018-04-24T20:30:50.000Z | 2021-11-20T15:15:18.000Z | buhayra/jobs/edge_detection_year_month_manuscript.sh | jmigueldelgado/buhayra | 7236be088f3c3600cfd76650e1f80e0630653fe1 | [
"MIT"
] | 50 | 2018-04-12T11:02:46.000Z | 2021-02-05T10:22:33.000Z | buhayra/jobs/edge_detection_year_month_manuscript.sh | jmigueldelgado/buhayra | 7236be088f3c3600cfd76650e1f80e0630653fe1 | [
"MIT"
] | 2 | 2018-04-06T16:05:16.000Z | 2021-08-25T15:34:20.000Z | #!/bin/bash
source $HOME/local/miniconda3/bin/activate image-processing
$HOME/local/miniconda3/envs/image-processing/bin/python $HOME/proj/buhayra_manuscript "edge detection year month" $1 $2
| 32.333333 | 119 | 0.798969 |
550d37cb435c2f0e984afe6b25280bb488999e56 | 5,578 | cs | C# | Geckofx-Core/Generated/nsIInterfaceInfo.cs | GerHobbelt/GeckoFX-60-clone | 4c6a5e8ef8655c71d1565693395686e0f2943e7c | [
"X11"
] | 3 | 2020-11-26T04:33:04.000Z | 2021-11-09T11:45:35.000Z | Geckofx-Core/Generated/nsIInterfaceInfo.cs | GerHobbelt/GeckoFX-60-clone | 4c6a5e8ef8655c71d1565693395686e0f2943e7c | [
"X11"
] | 3 | 2020-03-12T15:37:54.000Z | 2021-11-29T22:38:50.000Z | Geckofx-Core/Generated/nsIInterfaceInfo.cs | GerHobbelt/GeckoFX-60-clone | 4c6a5e8ef8655c71d1565693395686e0f2943e7c | [
"X11"
] | null | null | null | // --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); you may not use this file except in compliance with
// the License. You may... | 42.907692 | 117 | 0.716027 |
79cf62ce8e98ea74d94145630d29547ec264025c | 24,030 | lua | Lua | versions_copyoneortheotherinto_addonsfolder_/tfa_base_redux2/lua/tfa/modules/tfa_vgui.lua | Servius/tfa_base_rp_friendly | 8f87d27130e12106963e9a9a618793100b5a41e0 | [
"MIT"
] | 1 | 2017-04-15T21:12:21.000Z | 2017-04-15T21:12:21.000Z | versions_copyoneortheotherinto_addonsfolder_/tfa_base_redux2/lua/tfa/modules/tfa_vgui.lua | Servius/tfa_base_rp_friendly | 8f87d27130e12106963e9a9a618793100b5a41e0 | [
"MIT"
] | 7 | 2017-04-12T01:42:13.000Z | 2018-10-07T03:33:04.000Z | versions_copyoneortheotherinto_addonsfolder_/tfa_base_redux2/lua/tfa/modules/tfa_vgui.lua | Servius/tfa_base_rp_friendly | 8f87d27130e12106963e9a9a618793100b5a41e0 | [
"MIT"
] | 2 | 2019-04-01T17:16:45.000Z | 2020-02-16T08:05:41.000Z | --Config GUI
if CLIENT then
language.Add("tfa3dsm.label","3D Scope Sensitivity Mode")
language.Add("tfa3dsm.nc","0 - No Compensation")
language.Add("tfa3dsm.sc","1 - Standard Compensation")
language.Add("tfa3dsm.3d","2 - 3D Compensation")
language.Add("tfa3dsm.rt","3 - RT FOV Compensation")
language.Add("tfa3dsq... | 27.369021 | 139 | 0.685685 |
849529984b2ce0c3c181f93ce016ea0c3c17b9f1 | 2,996 | lua | Lua | SparseBlockDropout.lua | ameenetemady/SparseNN | e973299d58a1dfe5ef2ded505e8ac3e68036054b | [
"Apache-2.0"
] | null | null | null | SparseBlockDropout.lua | ameenetemady/SparseNN | e973299d58a1dfe5ef2ded505e8ac3e68036054b | [
"Apache-2.0"
] | null | null | null | SparseBlockDropout.lua | ameenetemady/SparseNN | e973299d58a1dfe5ef2ded505e8ac3e68036054b | [
"Apache-2.0"
] | null | null | null | local SparseBlockDropout, parent = torch.class('nn.SparseBlockDropout', 'nn.Module')
function SparseBlockDropout:__init(p)
self.p = p or 0.5
self.train = true
if self.p >= 1 or self.p < 0 then
error('<Dropout> illegal percentage, must be 0 <= p < 1')
end
end
function SparseBlockDropout:pri_ensureOu... | 28.264151 | 99 | 0.660881 |
2a28d7eea1aa542914d92406ab77354dc32a3049 | 572,688 | dart | Dart | test/test_data.dart | f-person/youtube_captions_scraper | de47a9c56c1fc15b8d34bf5a329ac3bf08d91e60 | [
"MIT"
] | 11 | 2022-03-06T09:25:58.000Z | 2022-03-16T10:33:57.000Z | test/test_data.dart | f-person/youtube_captions_scraper | de47a9c56c1fc15b8d34bf5a329ac3bf08d91e60 | [
"MIT"
] | null | null | null | test/test_data.dart | f-person/youtube_captions_scraper | de47a9c56c1fc15b8d34bf5a329ac3bf08d91e60 | [
"MIT"
] | null | null | null | import 'package:youtube_caption_scraper/youtube_caption_scraper.dart';
const pageUrl = 'https://www.youtube.com/watch?v=4KXePjjdoF0';
const expectedCaptionTracks = <CaptionTrack>[
CaptionTrack(
baseUrl:
'https://www.youtube.com/api/timedtext?v=4KXePjjdoF0\u0026asr_langs=de,en,es,fr,id,it,ja,ko,nl,pt,ru,t... | 3,112.434783 | 230,993 | 0.842518 |
4ce907551bcebebe89f489b5f88ba89b49c3fdff | 68 | py | Python | stimuli/Python/one_file_per_item/en/71_# str_seq 17.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | 6 | 2020-04-24T08:16:51.000Z | 2021-11-01T09:50:46.000Z | stimuli/Python/one_file_per_item/en/71_# str_seq 17.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | null | null | null | stimuli/Python/one_file_per_item/en/71_# str_seq 17.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | 4 | 2021-02-17T20:21:31.000Z | 2022-02-14T12:43:23.000Z | code = "he.elk.set.to"
decode = code.split("e")
print(decode[-1])
| 11.333333 | 24 | 0.617647 |
231d52b34ea647a7f1c878af154e7ad1242d5e81 | 255 | css | CSS | css/common-bar.css | thomasjbradley/modulifier | 4d9ca36c267f44eeb6dc413ac83de93dc8610f92 | [
"MIT",
"Unlicense"
] | 4 | 2016-05-14T03:17:50.000Z | 2017-01-24T09:24:39.000Z | css/common-bar.css | thomasjbradley/modulifier | 4d9ca36c267f44eeb6dc413ac83de93dc8610f92 | [
"MIT",
"Unlicense"
] | null | null | null | css/common-bar.css | thomasjbradley/modulifier | 4d9ca36c267f44eeb6dc413ac83de93dc8610f92 | [
"MIT",
"Unlicense"
] | 2 | 2016-01-14T18:54:36.000Z | 2019-01-09T11:01:40.000Z | .common-bar {
height: 3.5rem;
background-color: #ddd;
border-top: 1px solid #999;
}
.title {
color: #666;
}
.title__subhead {
font-weight: normal;
}
.social a {
border: 0;
color: #666;
}
.social a:hover {
color: var(--color-blue);
}
| 10.2 | 29 | 0.596078 |
f3123d165dbf89c7556645357012c8639eeb321b | 5,063 | swift | Swift | Naumen/Naumen/Main/Views/TableViewCell/TableViewCell.swift | asahiocean/Naumen | 8e18230ef3ea30f0d545bc2eb714cd887600a3c0 | [
"MIT"
] | 5 | 2021-05-27T16:34:14.000Z | 2021-07-05T00:43:10.000Z | Naumen/Naumen/Main/Views/TableViewCell/TableViewCell.swift | asahiocean/Naumen | 8e18230ef3ea30f0d545bc2eb714cd887600a3c0 | [
"MIT"
] | null | null | null | Naumen/Naumen/Main/Views/TableViewCell/TableViewCell.swift | asahiocean/Naumen | 8e18230ef3ea30f0d545bc2eb714cd887600a3c0 | [
"MIT"
] | 2 | 2021-05-30T18:12:57.000Z | 2021-07-05T00:43:11.000Z | import UIKit
import SnapKit
class TableViewCell: UITableViewCell {
private weak var stackView: UIStackView?
private weak var modelLabel: UILabel?
private weak var companyLabel: UILabel?
private weak var imageview: UIImageView!
private weak var indicator: UIActivityIndicatorView!
... | 32.044304 | 99 | 0.554809 |
aed659bdaa09ebb30bd20c7a91b1365e2a44aac0 | 285 | cs | C# | Assets/Scripts/Accumulators/Subtract.cs | PKxD/RPGStatSystem | e96a80e62c6d69300cb4283aadd90bc68c5ee9c6 | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/Accumulators/Subtract.cs | PKxD/RPGStatSystem | e96a80e62c6d69300cb4283aadd90bc68c5ee9c6 | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/Accumulators/Subtract.cs | PKxD/RPGStatSystem | e96a80e62c6d69300cb4283aadd90bc68c5ee9c6 | [
"Apache-2.0"
] | null | null | null | public class SubtractFloat : IAccumulator<float>
{
public float Accumulate(float left, float right)
{
return left - right;
}
}
public class SubtractInt : IAccumulator<int>
{
public int Accumulate(int left, int right)
{
return left - right;
}
}
| 17.8125 | 52 | 0.638596 |
5d51795d9f817177e42f08b1df322aed162b9210 | 35,686 | cpp | C++ | src/validate.cpp | biologic/stylus | ae642bbb7e2205bab1ab1b4703ea037e996e13db | [
"Apache-2.0"
] | null | null | null | src/validate.cpp | biologic/stylus | ae642bbb7e2205bab1ab1b4703ea037e996e13db | [
"Apache-2.0"
] | null | null | null | src/validate.cpp | biologic/stylus | ae642bbb7e2205bab1ab1b4703ea037e996e13db | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* \file validate.cpp
* \brief Stylus Gene class (validation methods)
*
* Stylus, Copyright 2006-2009 Biologic Institute
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... | 31.44141 | 149 | 0.657989 |
b73fce49595bcb5c50d37701f3db5ffd4bff29e6 | 2,052 | cpp | C++ | src/VisumScriptMain.cpp | Mokon/visum | 53f602fcf22eadd60f446d04a26b4a6e7217c052 | [
"RSA-MD"
] | null | null | null | src/VisumScriptMain.cpp | Mokon/visum | 53f602fcf22eadd60f446d04a26b4a6e7217c052 | [
"RSA-MD"
] | null | null | null | src/VisumScriptMain.cpp | Mokon/visum | 53f602fcf22eadd60f446d04a26b4a6e7217c052 | [
"RSA-MD"
] | null | null | null | /* Copyright (C) 2013-2016 David 'Mokon' Bond, All Rights Reserved */
#include <config.h>
#include <glog/logging.h>
#include <visum/entities/common/Bank.hpp>
#include <visum/entities/common/CreditCard.hpp>
#include <visum/entities/common/Person.hpp>
#include <visum/entities/Entity.hpp>
#include <visum/entities/EntityG... | 30.626866 | 96 | 0.640838 |
801dbd9db7c0dfd08689568bd1c4097eebcc0892 | 3,401 | dart | Dart | lib/widgets/food_card.dart | vimalcvs/Food-App | 20b5c763ecf85c61c5f92e9d47dcab2ebbd3cd00 | [
"Apache-2.0"
] | null | null | null | lib/widgets/food_card.dart | vimalcvs/Food-App | 20b5c763ecf85c61c5f92e9d47dcab2ebbd3cd00 | [
"Apache-2.0"
] | null | null | null | lib/widgets/food_card.dart | vimalcvs/Food-App | 20b5c763ecf85c61c5f92e9d47dcab2ebbd3cd00 | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:food_app/constants.dart';
class FoodCard extends StatelessWidget {
final String title;
final String ingredient;
final String image;
final int price;
final String calories;
final String description;
final Function press;
const FoodCard({
Key k... | 26.992063 | 63 | 0.39165 |
ed6448dfbd113354ba894f9ff5aba8ad4ad3b55b | 4,535 | h | C | moreassertimp.h | zooko/libzutil | 6b0ae8b84370cce548768fbed0b2b29a4a1feef7 | [
"CC0-1.0"
] | 2 | 2016-06-26T09:12:45.000Z | 2021-07-06T03:16:09.000Z | moreassertimp.h | zooko/libzutil | 6b0ae8b84370cce548768fbed0b2b29a4a1feef7 | [
"CC0-1.0"
] | null | null | null | moreassertimp.h | zooko/libzutil | 6b0ae8b84370cce548768fbed0b2b29a4a1feef7 | [
"CC0-1.0"
] | 2 | 2016-06-26T09:12:48.000Z | 2021-11-25T07:09:10.000Z | /**
* copyright 2002-2004 Bryce "Zooko" Wilcox-O'Hearn
* mailto:zooko@zooko.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software to deal in this software without restriction (including the
* rights to use, modify, distribute, sublicense, and/or sell copies) provi... | 110.609756 | 259 | 0.70452 |
a360a25558a7eabeb9f9d10b799cae8519ade482 | 6,349 | c | C | MultiSource/Benchmarks/FreeBench/analyzer/functs.c | Nuullll/llvm-test-suite | afbdd0a9ee7770e074708b68b34a6a5312bb0b36 | [
"Apache-2.0"
] | 70 | 2019-01-15T03:03:55.000Z | 2022-03-28T02:16:13.000Z | MultiSource/Benchmarks/FreeBench/analyzer/functs.c | Nuullll/llvm-test-suite | afbdd0a9ee7770e074708b68b34a6a5312bb0b36 | [
"Apache-2.0"
] | 519 | 2020-09-15T07:40:51.000Z | 2022-03-31T20:51:15.000Z | MultiSource/Benchmarks/FreeBench/analyzer/functs.c | Nuullll/llvm-test-suite | afbdd0a9ee7770e074708b68b34a6a5312bb0b36 | [
"Apache-2.0"
] | 117 | 2020-06-24T13:11:04.000Z | 2022-03-23T15:44:23.000Z | #include <stdio.h>
#include <string.h>
#include "types.h"
#include "functs.h"
extern hard_raw_t *hard_raw_list;
uint32 prog_time, loop_time;
void speedup_test(FILE *fp)
{
char string[100],ostring[100],slask[100];
uint32 address;
uint32 issue_no1, issue_no2, issue_no3;
rewind(fp);
fscanf(fp,"%s %lu",str... | 28.728507 | 131 | 0.647976 |
9394658c76e0fe53fd97d8f147a5b8d2aa26bf61 | 2,723 | cs | C# | test/Mimp.SeeSharper.Async.Test/AwaitableEnumerableTest.cs | DavenaHack/SeeSharper.Async | d3eb95f70894f1d269b14250202e0b61115bee82 | [
"MIT"
] | 1 | 2021-12-22T00:07:00.000Z | 2021-12-22T00:07:00.000Z | test/Mimp.SeeSharper.Async.Test/AwaitableEnumerableTest.cs | DavenaHack/SeeSharper.Async | d3eb95f70894f1d269b14250202e0b61115bee82 | [
"MIT"
] | null | null | null | test/Mimp.SeeSharper.Async.Test/AwaitableEnumerableTest.cs | DavenaHack/SeeSharper.Async | d3eb95f70894f1d269b14250202e0b61115bee82 | [
"MIT"
] | null | null | null | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Mimp.SeeSharper.Async.Abstraction;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Mimp.SeeSharper.Async.Test
{
[TestClass]
public class AwaitableEnumerableTest
{
[TestMethod]
public void TestAwaitable... | 28.364583 | 102 | 0.553066 |
5a152a6e80ddf74499b6d002df138e7388cf968d | 5,463 | dart | Dart | lib/screens/live_event_view.dart | Emehinola/akewiartshouse | 11ab755673161c964a05f18fb8d4c5939033ec0a | [
"Apache-2.0"
] | 1 | 2022-02-20T22:27:03.000Z | 2022-02-20T22:27:03.000Z | lib/screens/live_event_view.dart | Emehinola/akewiartshouse | 11ab755673161c964a05f18fb8d4c5939033ec0a | [
"Apache-2.0"
] | null | null | null | lib/screens/live_event_view.dart | Emehinola/akewiartshouse | 11ab755673161c964a05f18fb8d4c5939033ec0a | [
"Apache-2.0"
] | null | null | null | import 'package:akewiartshouse/backend/backend.dart';
import 'package:akewiartshouse/custom_widgets.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
class LiveEventView extends StatefulWidget {
@override
_LiveEv... | 36.912162 | 80 | 0.375069 |
e2cca91a9c483179e8847ce67665e0e29b999421 | 2,095 | py | Python | features/steps/cylinders_steps.py | cloose/ray-tracer-challenge | 5e9dd56fb67c5cba47172986a963fc22a8cbcaa2 | [
"MIT"
] | null | null | null | features/steps/cylinders_steps.py | cloose/ray-tracer-challenge | 5e9dd56fb67c5cba47172986a963fc22a8cbcaa2 | [
"MIT"
] | null | null | null | features/steps/cylinders_steps.py | cloose/ray-tracer-challenge | 5e9dd56fb67c5cba47172986a963fc22a8cbcaa2 | [
"MIT"
] | null | null | null | import math
from behave import given, when, then # pylint: disable=no-name-in-module
from asserts import assert_float, assert_tuple, assert_matrix
from core import color, translation
from shapes import Cylinder
@given(u'c <- cylinder()')
def step_create_cylinder_c(context):
context.c = Cylinder()
@given(u'c.mi... | 32.230769 | 75 | 0.706444 |
7c0f3db2aa93180c639bbebe22ee38f30ae233fc | 426 | h | C | kernel/include/system/log.h | Remco123/CactusOS | de4c61211c2908cf1a27d8ccbeb6340133772454 | [
"MIT"
] | 87 | 2019-03-04T21:16:20.000Z | 2022-01-30T15:10:44.000Z | kernel/include/system/log.h | Remco123/CactusOS | de4c61211c2908cf1a27d8ccbeb6340133772454 | [
"MIT"
] | 5 | 2019-04-24T10:33:55.000Z | 2021-06-13T09:46:28.000Z | kernel/include/system/log.h | Remco123/CactusOS | de4c61211c2908cf1a27d8ccbeb6340133772454 | [
"MIT"
] | 2 | 2020-11-13T08:56:09.000Z | 2021-08-01T06:38:31.000Z | #ifndef __CACTUSOS__SYSTEM__LOG_H
#define __CACTUSOS__SYSTEM__LOG_H
#include <common/types.h>
namespace CactusOS
{
namespace system
{
#define LOG_SHOW_MS 1
enum LogLevel
{
Info,
Warning,
Error
};
void Log(LogLevel level, const char*... | 17.75 | 71 | 0.593897 |
ddde35f212bb211296605d92ef46f25838d7522b | 1,098 | java | Java | _src/Module 3/Chapter 1/src/edu/packt/neuralnet/math/Sigmoid.java | paullewallencom/neural-java-978-1-7884-7031-5 | 72eca2fa8ca407bd95db794886470e685c880c2c | [
"Apache-2.0"
] | null | null | null | _src/Module 3/Chapter 1/src/edu/packt/neuralnet/math/Sigmoid.java | paullewallencom/neural-java-978-1-7884-7031-5 | 72eca2fa8ca407bd95db794886470e685c880c2c | [
"Apache-2.0"
] | null | null | null | _src/Module 3/Chapter 1/src/edu/packt/neuralnet/math/Sigmoid.java | paullewallencom/neural-java-978-1-7884-7031-5 | 72eca2fa8ca407bd95db794886470e685c880c2c | [
"Apache-2.0"
] | null | null | null | package edu.packt.neuralnet.math;
/**
*
* Sigmoide
* This class represents the sigmoid activation function, implementing the
* interface IActivationFunction
*
* @author Alan de Souza, Fábio Soares
* @version 0.1
*/
public class Sigmoid implements IActivationFunction {
/**
* Coefficient i... | 21.115385 | 75 | 0.561931 |
46bae6b4ac0314ced29d96442831bbad0c817e86 | 1,384 | py | Python | demo/example_multiple_apis.py | acdh-oeaw/apimapper | a310b20149078a59ae09308536c1d30c3a682a0e | [
"MIT"
] | 1 | 2019-03-20T14:12:20.000Z | 2019-03-20T14:12:20.000Z | demo/example_multiple_apis.py | acdh-oeaw/apimapper | a310b20149078a59ae09308536c1d30c3a682a0e | [
"MIT"
] | null | null | null | demo/example_multiple_apis.py | acdh-oeaw/apimapper | a310b20149078a59ae09308536c1d30c3a682a0e | [
"MIT"
] | null | null | null | '''
Query different APIs with different payloads and obtain response in a common schema if preferred
'''
from apimapper import APIMapper
from apimapper import config
from pprint import pprint
GND_PERSON_MAP = {config.DIRECT: {'uri': 'id',
'label': 'label'}}
VIAF_PERSON_MAP = {config.RESULT: '... | 31.454545 | 96 | 0.539017 |