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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
458719a6895a27215d068092e46d87ac1914cf23 | 618 | py | Python | python/src/main/python/pyalink/alink/tests/examples/from_docs/test_berttextembeddingbatchop.py | wenwei8268/Alink | c00702538c95a32403985ebd344eb6aeb81749a7 | [
"Apache-2.0"
] | null | null | null | python/src/main/python/pyalink/alink/tests/examples/from_docs/test_berttextembeddingbatchop.py | wenwei8268/Alink | c00702538c95a32403985ebd344eb6aeb81749a7 | [
"Apache-2.0"
] | null | null | null | python/src/main/python/pyalink/alink/tests/examples/from_docs/test_berttextembeddingbatchop.py | wenwei8268/Alink | c00702538c95a32403985ebd344eb6aeb81749a7 | [
"Apache-2.0"
] | null | null | null | import unittest
from pyalink.alink import *
import numpy as np
import pandas as pd
class TestBertTextEmbeddingBatchOp(unittest.TestCase):
def test_berttextembeddingbatchop(self):
df_data = pd.DataFrame([
[1, 'An english sentence.'],
[2, '这是一个中文句子']
])
batch_... | 29.428571 | 91 | 0.585761 |
2d84e5586659c2fe3b5e9ddc9057be00cde4c8dd | 775 | ts | TypeScript | src/models/ledger/ledgerEntry.ts | Brietoe/ripple-lib | 494e46ee418a0f68656d2e184b481ee6a39ac074 | [
"ISC"
] | null | null | null | src/models/ledger/ledgerEntry.ts | Brietoe/ripple-lib | 494e46ee418a0f68656d2e184b481ee6a39ac074 | [
"ISC"
] | null | null | null | src/models/ledger/ledgerEntry.ts | Brietoe/ripple-lib | 494e46ee418a0f68656d2e184b481ee6a39ac074 | [
"ISC"
] | null | null | null | import AccountRoot from './accountRoot'
import Amendments from './amendments'
import Check from './check'
import DepositPreauth from './depositPreauth'
import DirectoryNode from './directoryNode'
import Escrow from './escrow'
import FeeSettings from './feeSettings'
import LedgerHashes from './ledgerHashes'
import Negat... | 23.484848 | 45 | 0.753548 |
2c6fd549b9f3f7b7e6f8992df36425f29b992fe1 | 2,049 | py | Python | item_choice_definition/item_choice.py | averytorres/WazHack-Clone | e53e9b1b64f3828b20e45d4eeaafcdedf9bc6fda | [
"Unlicense"
] | 1 | 2019-06-21T17:13:35.000Z | 2019-06-21T17:13:35.000Z | item_choice_definition/item_choice.py | averytorres/WazHack-Clone | e53e9b1b64f3828b20e45d4eeaafcdedf9bc6fda | [
"Unlicense"
] | 18 | 2019-06-25T00:48:11.000Z | 2019-07-11T17:52:24.000Z | item_choice_definition/item_choice.py | averytorres/WazHack-Clone | e53e9b1b64f3828b20e45d4eeaafcdedf9bc6fda | [
"Unlicense"
] | 1 | 2019-06-21T17:08:23.000Z | 2019-06-21T17:08:23.000Z | from item_choice_definition.potion_choices import get_potion_choice
from item_choice_definition.weapon_choices import get_weapon_choice
from item_choice_definition.shield_choices import get_shield_choice
from item_choice_definition.scroll_choices import get_scroll_choice
from item_choice_definition.amulet_choices impor... | 38.660377 | 77 | 0.757931 |
daa7ceb37a79bc7fb0a41141d954e16640bf463b | 2,997 | php | PHP | app/Helper/WechatPayHelper.php | wangsllsgnaw/yunda.com | b368cb38907f89d022d78822682c56edaac05f11 | [
"BSD-Source-Code",
"IJG"
] | null | null | null | app/Helper/WechatPayHelper.php | wangsllsgnaw/yunda.com | b368cb38907f89d022d78822682c56edaac05f11 | [
"BSD-Source-Code",
"IJG"
] | null | null | null | app/Helper/WechatPayHelper.php | wangsllsgnaw/yunda.com | b368cb38907f89d022d78822682c56edaac05f11 | [
"BSD-Source-Code",
"IJG"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: wangsl
* Date: 2018/6/6
* Time: 18:32
*/
namespace App\Helper;
use App\Helper\LogHelper;
use App\Helper\RsaSignHelp;
use App\Models\CustWarranty;
use App\Models\ChannelContract;
use App\Models\ChannelOperate;
use App\Models\Person;
use Ixudra\Curl\Facades\Curl;
use Valid... | 28.009346 | 78 | 0.650651 |
e4a2d73420ec3d79b88eb8fc45c13dc7bbc70f2c | 2,767 | c | C | jerry-core/ecma/operations/ecma-eval.c | ideas-detoxes/jerryscript | 42523bd6e2b114755498c9f68fd78545f9b33476 | [
"Apache-2.0"
] | 4,324 | 2016-11-25T11:25:27.000Z | 2022-03-31T03:24:49.000Z | jerry-core/ecma/operations/ecma-eval.c | ideas-detoxes/jerryscript | 42523bd6e2b114755498c9f68fd78545f9b33476 | [
"Apache-2.0"
] | 2,099 | 2016-11-25T08:08:59.000Z | 2022-03-12T07:41:20.000Z | jerry-core/ecma/operations/ecma-eval.c | lygstate/jerryscript | 55acdf2048b390d0f56f12e64dbfb2559f0e70ad | [
"Apache-2.0"
] | 460 | 2016-11-25T07:16:10.000Z | 2022-03-24T14:05:29.000Z | /* Copyright JS Foundation and other contributors, http://js.foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 25.385321 | 101 | 0.700398 |
cbaa580024a6afc88621043df47bb7605913d0ab | 111 | sql | SQL | src/main/resources/database/changes/release-15/cleanup_actionplans_and_cases.sql | uk-gov-mirror/ONSdigital.rm-collection-exercise-service | 179fe82aedd2959b4a614aeab982cadb56eabab0 | [
"MIT"
] | 7 | 2017-07-11T07:40:41.000Z | 2019-04-18T20:24:35.000Z | src/main/resources/database/changes/release-15/cleanup_actionplans_and_cases.sql | uk-gov-mirror/ONSdigital.rm-collection-exercise-service | 179fe82aedd2959b4a614aeab982cadb56eabab0 | [
"MIT"
] | 173 | 2018-01-03T16:42:54.000Z | 2022-03-25T14:11:51.000Z | src/main/resources/database/changes/release-15/cleanup_actionplans_and_cases.sql | uk-gov-mirror/ONSdigital.rm-collection-exercise-service | 179fe82aedd2959b4a614aeab982cadb56eabab0 | [
"MIT"
] | 4 | 2017-06-12T09:33:10.000Z | 2021-04-11T07:45:30.000Z | DROP TABLE collectionexercise.casetypedefault cascade;
DROP TABLE collectionexercise.casetypeoverride cascade;
| 37 | 55 | 0.891892 |
463fbcfe074afbda5f9eb8e5b3d5879c3e364222 | 1,902 | php | PHP | resources/views/pages/buttons.blade.php | ArthurPPinheiro/drinkfy | 3ccc5f417ca0c7eef6bad693c21acd578cef3bc8 | [
"MIT"
] | null | null | null | resources/views/pages/buttons.blade.php | ArthurPPinheiro/drinkfy | 3ccc5f417ca0c7eef6bad693c21acd578cef3bc8 | [
"MIT"
] | null | null | null | resources/views/pages/buttons.blade.php | ArthurPPinheiro/drinkfy | 3ccc5f417ca0c7eef6bad693c21acd578cef3bc8 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
<section class="buttons section">
<div class="container">
<div class="row">
<div class="section-title text-center">
<h2>Button Styles</h2>
</div>
</div>
<div class="row mt-30">
<div class="col-md-12">
<div class="buttonPart">
... | 48.769231 | 167 | 0.537855 |
be5dc3be18cdb6c1d22d659dd0f165af0a10d291 | 292 | ts | TypeScript | src/app/recurly/withRecurly.ts | gladeye/checkout-js | b04babb89020883b377664a038fcaab3d9c882d2 | [
"MIT"
] | null | null | null | src/app/recurly/withRecurly.ts | gladeye/checkout-js | b04babb89020883b377664a038fcaab3d9c882d2 | [
"MIT"
] | null | null | null | src/app/recurly/withRecurly.ts | gladeye/checkout-js | b04babb89020883b377664a038fcaab3d9c882d2 | [
"MIT"
] | null | null | null | import { createInjectHoc, createMappableInjectHoc, InjectHoc } from '../common/hoc';
import RecurlyContext, { RecurlyContextProps } from './RecurlyContext';
const withRecurly = createMappableInjectHoc(RecurlyContext, {
displayNamePrefix: 'WithRecurly',
});
export default withRecurly;
| 29.2 | 84 | 0.780822 |
9fcfe54f419e3a8ec09bb2264e8fd60442fe4b84 | 2,076 | py | Python | src/django_clickhouse/routers.py | belonesox/django-clickhouse | 05ad3b54868a33d6e8dea65b80f4820f4ff09cf2 | [
"MIT"
] | 2 | 2020-10-14T07:29:25.000Z | 2020-10-14T07:29:36.000Z | src/django_clickhouse/routers.py | M1ha-Shvn/django-clickhouse | f54c4c721f5f93dd0e0fbbcfa4ebdf814e5d626e | [
"MIT"
] | null | null | null | src/django_clickhouse/routers.py | M1ha-Shvn/django-clickhouse | f54c4c721f5f93dd0e0fbbcfa4ebdf814e5d626e | [
"MIT"
] | null | null | null | """
This file defines router to find appropriate database
"""
from typing import Type
import random
import six
from infi.clickhouse_orm.migrations import Operation, DropTable, CreateTable
from .clickhouse_models import ClickHouseModel
from .configuration import config
from .utils import lazy_class_import
class Defa... | 35.793103 | 84 | 0.662331 |
e840481a19b50da6314b5a3e618d5d46b3b63c96 | 1,830 | dart | Dart | lib/ui/pages/me/settings/settings_more_page.dart | cyf/flutter_cyf | d0f3739bd935068eed5c92ef8e087912a8fbd748 | [
"MIT"
] | null | null | null | lib/ui/pages/me/settings/settings_more_page.dart | cyf/flutter_cyf | d0f3739bd935068eed5c92ef8e087912a8fbd748 | [
"MIT"
] | null | null | null | lib/ui/pages/me/settings/settings_more_page.dart | cyf/flutter_cyf | d0f3739bd935068eed5c92ef8e087912a8fbd748 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_gen/gen_l10n/gitter_localizations.dart';
import 'package:flutter_app_boilerplate/common/utils/navigator_util.dart';
import 'package:flutter_app_boilerplate/ui/blocs/me/dark_mode/dark_mode_bloc.dart';
import ... | 33.888889 | 88 | 0.626776 |
4b245ce63cff6490497ea0d0b36491f26655e350 | 745 | dart | Dart | lib/Model/main_system.dart | ratulhasanruhan/Flutter-json-Api | f73a5effb37d3c44fb2dc24741413681f212a825 | [
"Apache-2.0"
] | 1 | 2021-06-01T04:16:48.000Z | 2021-06-01T04:16:48.000Z | lib/Model/main_system.dart | ratulhasanruhan/Flutter-json-Api | f73a5effb37d3c44fb2dc24741413681f212a825 | [
"Apache-2.0"
] | null | null | null | lib/Model/main_system.dart | ratulhasanruhan/Flutter-json-Api | f73a5effb37d3c44fb2dc24741413681f212a825 | [
"Apache-2.0"
] | null | null | null | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'Data.dart';
Future<List<Data>> getAllData() async {
var apiUrl = 'https://jsonplaceholder.typicode.com/photos';
var data = await http.get(apiUrl);
var jsonData = json.decode(data.body);
List<Data> l... | 17.325581 | 61 | 0.64698 |
4ff4e9025a31edd694db8bfac4983c7c142ef5e9 | 880 | rb | Ruby | app/controllers/comments_controller.rb | nrsantamaria/opsynthpop | 2e6b4a0d62c0b871f0e9a80234b2855c92a76757 | [
"MIT"
] | null | null | null | app/controllers/comments_controller.rb | nrsantamaria/opsynthpop | 2e6b4a0d62c0b871f0e9a80234b2855c92a76757 | [
"MIT"
] | null | null | null | app/controllers/comments_controller.rb | nrsantamaria/opsynthpop | 2e6b4a0d62c0b871f0e9a80234b2855c92a76757 | [
"MIT"
] | null | null | null | class CommentsController < ApplicationController
def new
@post = Post.find(params[:post_id])
@comment = Comment.new
end
def create
@post = Post.find(params[:post_id])
@comment = @post.comments.new(comment_params)
if @comment.save
redirect_to post_path(@comment.post)
else
rende... | 20.465116 | 54 | 0.661364 |
23188aebef2bcf3b47cf4670c626f016d6d0a18c | 2,417 | css | CSS | css/index.css | AL0YSI0US/cookie-stand | 74027921dcf0b13678742fec6260386ed324e99d | [
"MIT"
] | 1 | 2021-02-11T23:30:55.000Z | 2021-02-11T23:30:55.000Z | css/index.css | AL0YSI0US/cookie-stand | 74027921dcf0b13678742fec6260386ed324e99d | [
"MIT"
] | 1 | 2021-02-06T11:07:42.000Z | 2021-02-06T11:07:42.000Z | css/index.css | AL0YSI0US/cookie-stand | 74027921dcf0b13678742fec6260386ed324e99d | [
"MIT"
] | null | null | null | h1 {
padding-top: 10px;
padding-bottom: 10px;
font-family: 'Cuprum', sans-serif;
font-weight: bold;
font-size: 46px;
color:rgb(6, 6, 6);
}
img {
border-radius: 10px;
}
nav {
font-family: 'IBM Plex Mono', monospace;
font-size: 24px;
nav-left: auto;
float: left;
color: rgb(14, 3, 3);
margin-to... | 23.019048 | 61 | 0.640463 |
1509d419dfbe88d1d5baae25a435b75bfce7e082 | 2,152 | kt | Kotlin | src/main/kotlin/kui/Diff.kt | Jolley71717/kui | 2271549eb78aaa5e51ad8aea05168e699ea256b9 | [
"MIT"
] | null | null | null | src/main/kotlin/kui/Diff.kt | Jolley71717/kui | 2271549eb78aaa5e51ad8aea05168e699ea256b9 | [
"MIT"
] | null | null | null | src/main/kotlin/kui/Diff.kt | Jolley71717/kui | 2271549eb78aaa5e51ad8aea05168e699ea256b9 | [
"MIT"
] | null | null | null | package kui
internal fun <T> diff(first: List<T>, second: List<T>, eq: (T, T) -> Boolean = { x, y -> x == y }): List<Diff<T>> {
val a = first.asReversed()
val b = second.asReversed()
val mat = Array(a.size) { IntArray(b.size) }
val pts = Array(a.size) { _ -> Array(b.size) { Ptr.EMPTY } }
fun mat(a... | 26.567901 | 115 | 0.449814 |
af73ca7d3fa3f2c57781e2fab8b806604459aed8 | 2,870 | swift | Swift | Sources/Subsonic/ViewExtensions.swift | mmmayer/Subsonic | 156c5742279df5d2315e29534a2410f418c8a772 | [
"MIT"
] | 173 | 2021-11-12T16:39:49.000Z | 2022-03-30T16:03:32.000Z | Sources/Subsonic/ViewExtensions.swift | mmmayer/Subsonic | 156c5742279df5d2315e29534a2410f418c8a772 | [
"MIT"
] | 1 | 2021-11-20T13:49:57.000Z | 2021-11-20T13:49:57.000Z | Sources/Subsonic/ViewExtensions.swift | mmmayer/Subsonic | 156c5742279df5d2315e29534a2410f418c8a772 | [
"MIT"
] | 15 | 2021-11-12T17:20:06.000Z | 2022-02-06T06:08:50.000Z | //
// ViewExtensions.swift
// Part of Subsonic, a simple library for playing sounds in SwiftUI
//
// This file contains `View` extensions that make Subsonic audio
// easier to play.
//
// Copyright (c) 2021 Paul Hudson.
// See LICENSE for license information.
//
import SwiftUI
extension View {
/// Plays a single ... | 50.350877 | 225 | 0.682927 |
8c9302ccfeccfcd88e754a425dd0b2ebeb9bd365 | 832 | swift | Swift | Sources/Utils/SwiftUI/LoadableImage.swift | amebalabs/Utils | ba33fda4e421f3203604b302aac3e67ec0ab902e | [
"MIT"
] | 3 | 2019-12-31T13:39:29.000Z | 2021-02-13T16:00:14.000Z | Sources/Utils/SwiftUI/LoadableImage.swift | amebalabs/Utils | ba33fda4e421f3203604b302aac3e67ec0ab902e | [
"MIT"
] | null | null | null | Sources/Utils/SwiftUI/LoadableImage.swift | amebalabs/Utils | ba33fda4e421f3203604b302aac3e67ec0ab902e | [
"MIT"
] | null | null | null | //import SwiftUI
//
//@available(iOS 13.0, *)
//struct LoadableImage : View {
// @State var remoteImage: RemoteImage
//
// var body: some View {
// ZStack {
// if remoteImage.image != nil {
// Image(uiImage: remoteImage.image!)
// .resizable()
// ... | 29.714286 | 53 | 0.411058 |
4ef5cbcff6de89035266d99fb15b388ad952f900 | 22,080 | cpp | C++ | src/game/server/laserText.cpp | 35niavlys/teeworlds-fng2-mod | d73be893c060fb3832656679d7756a5c42bca7cc | [
"Zlib"
] | null | null | null | src/game/server/laserText.cpp | 35niavlys/teeworlds-fng2-mod | d73be893c060fb3832656679d7756a5c42bca7cc | [
"Zlib"
] | 3 | 2020-05-31T06:36:51.000Z | 2020-09-11T08:34:36.000Z | src/game/server/laserText.cpp | 35niavlys/teeworlds-fng2-mod | d73be893c060fb3832656679d7756a5c42bca7cc | [
"Zlib"
] | 1 | 2021-09-04T11:32:33.000Z | 2021-09-04T11:32:33.000Z | /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#include <game/generated/protocol.h>
#include <game/server/gamecontext.h>
#include "laserText.h"
#include <string.h>
static con... | 43.722772 | 160 | 0.417029 |
6640b9481c688e8262eee4346ecc065e04a29cf6 | 2,039 | py | Python | pygsp/filters/regular.py | jafluri/pygsp | ff8c0023c25df4cbcfd88a7ef63c6223f3030a51 | [
"BSD-3-Clause"
] | 341 | 2015-09-07T16:59:41.000Z | 2022-03-23T20:27:55.000Z | pygsp/filters/regular.py | jafluri/pygsp | ff8c0023c25df4cbcfd88a7ef63c6223f3030a51 | [
"BSD-3-Clause"
] | 96 | 2017-04-16T04:38:57.000Z | 2021-11-02T18:36:41.000Z | pygsp/filters/regular.py | jafluri/pygsp | ff8c0023c25df4cbcfd88a7ef63c6223f3030a51 | [
"BSD-3-Clause"
] | 95 | 2016-03-25T14:35:28.000Z | 2022-02-08T18:54:29.000Z | # -*- coding: utf-8 -*-
from __future__ import division
import numpy as np
from . import Filter # prevent circular import in Python < 3.5
class Regular(Filter):
r"""Design 2 filters with the regular construction (tight frame).
This function creates a Parseval filter bank of 2 filters.
The low-pass fi... | 28.319444 | 138 | 0.557136 |
f87df86d6070d1e95ce790ace782db4413c24e7f | 81 | h | C | build/build.h | Checoinbank/Checoin | 436db740a68c1e6218cbaef9433bf7ea4cb433ee | [
"MIT"
] | 1 | 2021-05-21T06:38:41.000Z | 2021-05-21T06:38:41.000Z | build/build.h | Checoinbank/Checoin | 436db740a68c1e6218cbaef9433bf7ea4cb433ee | [
"MIT"
] | null | null | null | build/build.h | Checoinbank/Checoin | 436db740a68c1e6218cbaef9433bf7ea4cb433ee | [
"MIT"
] | null | null | null | // No build information available
#define BUILD_DATE "2016-06-28 12:32:36 -0400"
| 27 | 46 | 0.753086 |
7f8ed8c1c342677395fda0b531f5ee3f8dde08b8 | 1,088 | php | PHP | app/Models/OrderPhoto.php | q133ss/flowers_new | 51abdd2469cb9007fd5fce282e295d166bfd2391 | [
"MIT"
] | null | null | null | app/Models/OrderPhoto.php | q133ss/flowers_new | 51abdd2469cb9007fd5fce282e295d166bfd2391 | [
"MIT"
] | null | null | null | app/Models/OrderPhoto.php | q133ss/flowers_new | 51abdd2469cb9007fd5fce282e295d166bfd2391 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model as Model;
/**
* Class OrderPhoto
* @package App\Models
* @version December 5, 2021, 6:42 pm UTC
*
* @property \App\Models\Order $order
* @property integer $order_id
* @property string $img
*/
class OrderPhoto extends Model
{
public $t... | 17 | 70 | 0.556985 |
60c98a08680089f17240c83ae25b0efb3400ded3 | 334 | h | C | GameConnect/Source/BridgedLanguageManager.h | dDomovoj/Gasconade | 593597f734da6bd9a08407bc3382cbd9a54f8785 | [
"MIT"
] | null | null | null | GameConnect/Source/BridgedLanguageManager.h | dDomovoj/Gasconade | 593597f734da6bd9a08407bc3382cbd9a54f8785 | [
"MIT"
] | null | null | null | GameConnect/Source/BridgedLanguageManager.h | dDomovoj/Gasconade | 593597f734da6bd9a08407bc3382cbd9a54f8785 | [
"MIT"
] | null | null | null | //
// BridgedLanguageManager.h
// PSGOneApp
//
// Created by Sergey Dikovitsky on 7/18/17.
// Copyright © 2017 Netcosports. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface BridgedLanguageManager : NSObject
+ (NSString *)localizedStringForString:(NSString *)string;
+ (NSString *)applicationLa... | 19.647059 | 58 | 0.739521 |
c3cc7adaf0c341a352c1d2fafb3985ddcaee7954 | 1,455 | cs | C# | src/D05/Controllers/HomeController.cs | connectashish/AquariumBooking | e6de692a8d68ec3d79d1d6505c4c0c1d612fb443 | [
"FSFAP"
] | null | null | null | src/D05/Controllers/HomeController.cs | connectashish/AquariumBooking | e6de692a8d68ec3d79d1d6505c4c0c1d612fb443 | [
"FSFAP"
] | null | null | null | src/D05/Controllers/HomeController.cs | connectashish/AquariumBooking | e6de692a8d68ec3d79d1d6505c4c0c1d612fb443 | [
"FSFAP"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using D05.Models;
namespace D05.Controllers
{
public class HomeController : Controller
{
private ApplicationDbContext _context;
public HomeController(Appli... | 23.095238 | 72 | 0.536082 |
07f692948cde1a0dcc131702a1ded0985476e8ff | 7,738 | css | CSS | css/bootparts-minimized.css | yelluw/bootparts | 7e04564704ad9bcb1d6a13cfd33d530fe7d3c420 | [
"MIT"
] | 16 | 2017-01-20T10:32:58.000Z | 2017-10-27T23:33:33.000Z | css/bootparts-minimized.css | yelluw/Bootparts | 7e04564704ad9bcb1d6a13cfd33d530fe7d3c420 | [
"MIT"
] | 6 | 2017-01-20T04:47:36.000Z | 2017-07-18T22:11:18.000Z | css/bootparts-minimized.css | yelluw/bootparts | 7e04564704ad9bcb1d6a13cfd33d530fe7d3c420 | [
"MIT"
] | null | null | null | /*Bootparts version 0.6 MIT License Copyright Pablo Rivera Yelluw yelluw.com*/.action-card-outer-container .action-card .action-card-inner .action-card-image img,.image-action-card-outer-container .image-action-card .image-action-card-inner .image-action-card-image img{max-width:100%}.action-card-outer-container{backgr... | 7,738 | 7,738 | 0.793874 |
58a1916e970d5268f5cbf28bb0c96ff1a16d026c | 1,295 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/static/worldbuilding/serverobjects.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/static/worldbuilding/serverobjects.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/static/worldbuilding/serverobjects.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | --Child Folders
includeFile("custom_content/static/worldbuilding/art/serverobjects.lua")
includeFile("custom_content/static/worldbuilding/building/serverobjects.lua")
includeFile("custom_content/static/worldbuilding/camping/serverobjects.lua")
includeFile("custom_content/static/worldbuilding/decal/serverobjects.lua")
i... | 58.863636 | 90 | 0.867181 |
b053b7e26c23de7b1065b90c154b234c85c386b8 | 657 | py | Python | pyfftlog/__init__.py | ShazAlvi/pyfftlog | 6e99cc3d708f106d8fe0b3fdfc02c6c5c4f74b24 | [
"CC0-1.0"
] | 14 | 2018-08-22T17:14:18.000Z | 2021-12-30T07:05:30.000Z | pyfftlog/__init__.py | ShazAlvi/pyfftlog | 6e99cc3d708f106d8fe0b3fdfc02c6c5c4f74b24 | [
"CC0-1.0"
] | 12 | 2019-08-16T18:44:35.000Z | 2021-06-28T21:57:13.000Z | pyfftlog/__init__.py | ShazAlvi/pyfftlog | 6e99cc3d708f106d8fe0b3fdfc02c6c5c4f74b24 | [
"CC0-1.0"
] | 9 | 2017-08-24T12:51:14.000Z | 2022-03-30T13:51:46.000Z | from datetime import datetime
from pyfftlog.pyfftlog import fhti, fftl, fht, fhtq, krgood
__all__ = ['fhti', 'fftl', 'fht', 'fhtq', 'krgood']
# Version
try:
# - Released versions just tags: 1.10.0
# - GitHub commits add .dev#+hash: 1.10.1.dev3+g973038c
# - Uncommitted changes add timestamp: 1.10... | 38.647059 | 79 | 0.687976 |
795cf4e3d86688d690ae4da1dfe214d59273426b | 3,020 | php | PHP | src/Lib/ProductType.php | bPolNet/a-vendor-api | ffe8ec2611d34e56e729dde587d3cc824117ec6c | [
"MIT"
] | null | null | null | src/Lib/ProductType.php | bPolNet/a-vendor-api | ffe8ec2611d34e56e729dde587d3cc824117ec6c | [
"MIT"
] | null | null | null | src/Lib/ProductType.php | bPolNet/a-vendor-api | ffe8ec2611d34e56e729dde587d3cc824117ec6c | [
"MIT"
] | null | null | null | <?php
namespace BPolNet\A\VendorApi\Lib;
class ProductType
{
/**
* @var string $ExternalItemId
*/
protected $ExternalItemId = null;
/**
* @var string $CategoryName
*/
protected $CategoryName = null;
/**
* @var string $Name
*/
protected $Name = null;
/**
... | 18.757764 | 84 | 0.556291 |
e2fec6055131e105ba05e4edef03713c9709fa69 | 13,463 | py | Python | gui_main.py | flowluap/PyDebloatX | 8dc7ab8e494ac9b132bf335510675af75310e9d2 | [
"MIT"
] | null | null | null | gui_main.py | flowluap/PyDebloatX | 8dc7ab8e494ac9b132bf335510675af75310e9d2 | [
"MIT"
] | null | null | null | gui_main.py | flowluap/PyDebloatX | 8dc7ab8e494ac9b132bf335510675af75310e9d2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from PyQt5.QtCore import QRect, QCoreApplication, QMetaObject
from PyQt5.QtWidgets import QPushButton, QMainWindow, QWidget, QLabel, QVBoxLayout, QCheckBox, QAction, QMenuBar, QMenu, QHBoxLayout, QProgressBar
from PyQt5.QtGui import QIcon
class Ui_MainWindow(QMainWindow):
def __init... | 64.109524 | 153 | 0.717225 |
8c5cb67243bca25dfb38cd31f1f886b1d08ec35a | 1,191 | lua | Lua | test/packTest.lua | youxinweizhi/LuatOS-ESP32 | a41f1703b04de823afb94a360a5cf9e77e80bf48 | [
"Apache-2.0"
] | null | null | null | test/packTest.lua | youxinweizhi/LuatOS-ESP32 | a41f1703b04de823afb94a360a5cf9e77e80bf48 | [
"Apache-2.0"
] | null | null | null | test/packTest.lua | youxinweizhi/LuatOS-ESP32 | a41f1703b04de823afb94a360a5cf9e77e80bf48 | [
"Apache-2.0"
] | null | null | null | local packTest = {}
local tag = "packTest"
function packTest.test()
if pack == nil then
log.error(tag, "this fireware is not support pack")
return
end
log.info(tag, "START")
local data = pack.pack(">fdncbhHiIlLzpPaA", 3.5, 3.5, 3.5, 1, 2, 3, 4, 100,
100, 100,... | 34.028571 | 94 | 0.478589 |
03539ef79d7b39be131c21fdddcdf1af03e65e52 | 21,167 | cc | C++ | src/cpu/cpu.cc | bit-hack/gbemu | 2205a20f76aa2226ac287976c05c231dddecd44a | [
"BSD-3-Clause"
] | null | null | null | src/cpu/cpu.cc | bit-hack/gbemu | 2205a20f76aa2226ac287976c05c231dddecd44a | [
"BSD-3-Clause"
] | null | null | null | src/cpu/cpu.cc | bit-hack/gbemu | 2205a20f76aa2226ac287976c05c231dddecd44a | [
"BSD-3-Clause"
] | null | null | null | #include "cpu.h"
#include "opcode_cycles.h"
#include "opcode_names.h"
#include "../util/bitwise.h"
#include "../util/log.h"
using bitwise::compose_bytes;
CPU::CPU(MMU& inMMU, Options& inOptions) :
mmu(inMMU),
options(inOptions),
af(a, f),
bc(b, c),
de(d, e),
hl(h, l)
{
}
Cycles CPU::tick() {... | 106.90404 | 551 | 0.700383 |
543816cdb63b87dae476b41cd00690b07963e1d1 | 11,448 | css | CSS | css/emerald.css | robinpokorny/emerald | d67240907b7e56d8f14ae2f3838682cf06fed730 | [
"MIT"
] | 15 | 2015-01-19T12:45:29.000Z | 2018-08-20T14:55:42.000Z | css/emerald.css | robinpokorny/emerald | d67240907b7e56d8f14ae2f3838682cf06fed730 | [
"MIT"
] | 6 | 2015-10-05T08:08:43.000Z | 2021-05-11T12:10:10.000Z | css/emerald.css | robinpokorny/emerald | d67240907b7e56d8f14ae2f3838682cf06fed730 | [
"MIT"
] | 3 | 2015-07-22T14:33:52.000Z | 2020-08-27T06:51:10.000Z | /*! Emerald v1.2.2 | MIT Licence | git.io/g9_ZaA */
.visible--palm {
display: block;
}
.visible--lap {
display: none;
}
.visible--desk {
display: none;
}
.hidden--palm {
display: none;
}
.hidden--lap {
display: block;
}
.hidden--desk {
display: block;
}
@media only screen and (min-width: 768px) {
.visible... | 14.509506 | 51 | 0.52935 |
363ceed2a4a44e6b8b6c7c7387a41aa0d83c1bff | 2,657 | dart | Dart | lib/services/logs_database.dart | mjablecnik/MyLogger | a94fb0fc48d84ba4699d9456f82b50967cb9bc91 | [
"MIT"
] | 2 | 2022-03-03T02:01:47.000Z | 2022-03-23T11:33:52.000Z | lib/services/logs_database.dart | mjablecnik/MyLogger | a94fb0fc48d84ba4699d9456f82b50967cb9bc91 | [
"MIT"
] | null | null | null | lib/services/logs_database.dart | mjablecnik/MyLogger | a94fb0fc48d84ba4699d9456f82b50967cb9bc91 | [
"MIT"
] | null | null | null | import 'dart:async';
import 'package:my_logger/logger.dart';
import 'package:my_logger/core/encryption/gcm.dart';
import 'package:my_logger/logger_core.dart';
import 'package:path/path.dart';
import 'package:path_provider/path_provider.dart';
import 'package:sembast/sembast.dart';
import 'package:sembast/sembast_io.da... | 26.57 | 100 | 0.680467 |
5d5f8049174be022399d05cb5557683530cd336e | 5,785 | dart | Dart | lib/pages/Discover.dart | MarcL01/FlutterSocial | 33da7dbfe4e69dd9a2dcda77950931b670759382 | [
"WTFPL"
] | 2 | 2020-12-09T05:42:41.000Z | 2021-03-18T22:36:21.000Z | lib/pages/Discover.dart | BigMarco254/FlutterSocial | 33da7dbfe4e69dd9a2dcda77950931b670759382 | [
"WTFPL"
] | null | null | null | lib/pages/Discover.dart | BigMarco254/FlutterSocial | 33da7dbfe4e69dd9a2dcda77950931b670759382 | [
"WTFPL"
] | null | null | null | import 'dart:convert';
import 'package:flutter/material.dart';
class DiscoverPage extends StatefulWidget {
DiscoverPage({Key key}) : super(key: key);
@override
_DiscoverPageState createState() => _DiscoverPageState();
}
class _DiscoverPageState extends State<DiscoverPage> {
static final _textKey = GlobalKey... | 28.781095 | 127 | 0.587208 |
8e9fc9712346e7882973adb38affe96380b093c9 | 330 | js | JavaScript | cinema/public/js/states/censorRating.js | christopher97/cinema-dissertation | f6d6dffcfd3a99949138eef3ea2b4cdf313bb69b | [
"MIT"
] | null | null | null | cinema/public/js/states/censorRating.js | christopher97/cinema-dissertation | f6d6dffcfd3a99949138eef3ea2b4cdf313bb69b | [
"MIT"
] | null | null | null | cinema/public/js/states/censorRating.js | christopher97/cinema-dissertation | f6d6dffcfd3a99949138eef3ea2b4cdf313bb69b | [
"MIT"
] | null | null | null | import Operator from '../utils/model/operator/index.js';
export const censorRating = {
state: {
censorRatings: []
},
addRating(newRating) {
this.state.censorRatings.push(newRating);
},
addRatings(model, newRatings) {
this.state.censorRatings = Operator.map(model, newRatings)... | 25.384615 | 67 | 0.636364 |
ecb3cc9d8feaff1fdbb96fd99b258debf65a28b8 | 5,809 | sql | SQL | SQL Scripts/Procedures/spUSERS_Delete.3.sql | mr-bwnz/SplendidAppBuilder | 79ec92d4cb805ccf408ff95103a1a0a78bc765b7 | [
"MIT"
] | 1 | 2022-03-01T10:27:25.000Z | 2022-03-01T10:27:25.000Z | SQL Scripts/Procedures/spUSERS_Delete.3.sql | mr-bwnz/SplendidAppBuilder | 79ec92d4cb805ccf408ff95103a1a0a78bc765b7 | [
"MIT"
] | null | null | null | SQL Scripts/Procedures/spUSERS_Delete.3.sql | mr-bwnz/SplendidAppBuilder | 79ec92d4cb805ccf408ff95103a1a0a78bc765b7 | [
"MIT"
] | 3 | 2022-02-21T13:28:37.000Z | 2022-03-18T06:42:07.000Z | if exists (select * from INFORMATION_SCHEMA.ROUTINES where ROUTINE_NAME = 'spUSERS_Delete' and ROUTINE_TYPE = 'PROCEDURE')
Drop Procedure dbo.spUSERS_Delete;
GO
/**********************************************************************************************************************
* Copyright (C) 2005-2022 Sp... | 37.96732 | 132 | 0.616285 |
46e9396d93eb5cc810707277fbbcdfe88cf293e3 | 2,154 | py | Python | src/lib/pytornado/fileio/cpacs/results.py | aarondettmann/pytornado | d9f7341f118a5033596d94dce7786912e1ff535f | [
"Apache-2.0"
] | null | null | null | src/lib/pytornado/fileio/cpacs/results.py | aarondettmann/pytornado | d9f7341f118a5033596d94dce7786912e1ff535f | [
"Apache-2.0"
] | null | null | null | src/lib/pytornado/fileio/cpacs/results.py | aarondettmann/pytornado | d9f7341f118a5033596d94dce7786912e1ff535f | [
"Apache-2.0"
] | 1 | 2021-01-21T19:10:45.000Z | 2021-01-21T19:10:45.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ----------------------------------------------------------------------
# Copyright 2017-2019 Airinnova AB and the PyTornado authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# Y... | 33.138462 | 92 | 0.652739 |
25a7edbf81f2f14cf38c93da39b0880ea04cc5cf | 494 | cs | C# | source/Extensibility.Authentication/HostServices/AuthorizationResult.cs | OctopusDeploy/AuthenticationExtensibility | ef9753e4be1275b3f7f5592f9b93a1498ef9322a | [
"Apache-2.0"
] | 2 | 2017-10-17T20:36:22.000Z | 2021-07-07T05:12:16.000Z | source/Extensibility.Authentication/HostServices/AuthorizationResult.cs | OctopusDeploy/AuthenticationExtensibility | ef9753e4be1275b3f7f5592f9b93a1498ef9322a | [
"Apache-2.0"
] | 10 | 2018-09-14T06:20:07.000Z | 2022-03-21T05:10:49.000Z | source/Extensibility.Authentication/HostServices/AuthorizationResult.cs | OctopusDeploy/AuthenticationExtensibility | ef9753e4be1275b3f7f5592f9b93a1498ef9322a | [
"Apache-2.0"
] | null | null | null | using System;
namespace Octopus.Server.Extensibility.Authentication.HostServices
{
public class AuthorizationResult
{
readonly Lazy<string> helpText;
public AuthorizationResult(bool isAuthorized, Lazy<string>? helpText = null)
{
IsAuthorized = isAuthorized;
this... | 26 | 84 | 0.6417 |
bcfd0808e120a119b2435eb10d4603cfbbbde5aa | 1,202 | lua | Lua | entities/weapons/prop_remover/shared.lua | LegendofRobbo/Fortwars-3 | 34a11be973dc7d568474634b2e1ecf0c26f1d86a | [
"Unlicense"
] | 1 | 2022-02-03T20:27:40.000Z | 2022-02-03T20:27:40.000Z | entities/weapons/prop_remover/shared.lua | LegendofRobbo/Fortwars-3 | 34a11be973dc7d568474634b2e1ecf0c26f1d86a | [
"Unlicense"
] | null | null | null | entities/weapons/prop_remover/shared.lua | LegendofRobbo/Fortwars-3 | 34a11be973dc7d568474634b2e1ecf0c26f1d86a | [
"Unlicense"
] | null | null | null | if SERVER then AddCSLuaFile("shared.lua") end
SWEP.Author = "Darkspider"
SWEP.Contact = ""
SWEP.Purpose = "Removes Props"
SWEP.Instructions = "Shoot to remove props"
SWEP.PrintName = "Prop Remover"
SWEP.Slot = 1
SWEP.SlotPos = 3
SWEP.ViewModelFOV = 60
SWEP.ViewModelFlip = false
SWEP.ViewModel = "models/w... | 30.820513 | 102 | 0.698003 |
7ecd9208463411e92e25db3f1b5ef41047e86aab | 344 | dart | Dart | packages/devtools_app/lib/src/http/http.dart | gmoothart/devtools | 3600b12d12818c51e6ceb5dcc62997973209e3da | [
"BSD-3-Clause"
] | 1,179 | 2018-08-20T07:10:48.000Z | 2022-03-29T07:33:11.000Z | packages/devtools_app/lib/src/http/http.dart | gmoothart/devtools | 3600b12d12818c51e6ceb5dcc62997973209e3da | [
"BSD-3-Clause"
] | 2,353 | 2018-08-22T16:12:59.000Z | 2022-03-31T19:45:28.000Z | packages/devtools_app/lib/src/http/http.dart | jmewes/devtools | 30e2b3637dd7ecd1d8f032dbffe7187329145e66 | [
"BSD-3-Clause"
] | 191 | 2018-08-06T20:37:41.000Z | 2022-03-31T15:18:59.000Z | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// This library contains code pulled from dart:io that is not platform specific.
library http;
part '_http_cookies.dart';
part '_http_date.dart';
part ... | 28.666667 | 81 | 0.761628 |
da807b99bdbf89211373617024aba1d01bc3c63c | 748 | php | PHP | backend/package/Adapter/Presenter/User/UserCreateJsonPresenter.php | yutatuy/anking | c477c3ad2a59c6ecf6ae3d8805dd4059e25f69b1 | [
"MIT"
] | null | null | null | backend/package/Adapter/Presenter/User/UserCreateJsonPresenter.php | yutatuy/anking | c477c3ad2a59c6ecf6ae3d8805dd4059e25f69b1 | [
"MIT"
] | 1 | 2022-02-06T12:20:56.000Z | 2022-02-06T12:20:56.000Z | backend/package/Adapter/Presenter/User/UserCreateJsonPresenter.php | yutatuy/anking | c477c3ad2a59c6ecf6ae3d8805dd4059e25f69b1 | [
"MIT"
] | null | null | null | <?php
namespace Package\Adapter\Presenter\User;
use Illuminate\Http\JsonResponse;
use Package\Adapter\Presenter\JsonPresenter;
use Package\Adapter\ViewModel\User\UserViewModel;
use Package\Application\User\Create\UserCreateOutput;
class UserCreateJsonPresenter extends JsonPresenter
{
public function exec(UserCre... | 26.714286 | 64 | 0.582888 |
7f9a02c84bcd639808363548b87179a890e19562 | 4,752 | php | PHP | app/Http/Controllers/Apis/Controllers/editNovel/editNovelRules.php | Mostafaramdan/rewayaty | 8a393f3920c0425490c178f41e8c7605219d9337 | [
"MIT"
] | null | null | null | app/Http/Controllers/Apis/Controllers/editNovel/editNovelRules.php | Mostafaramdan/rewayaty | 8a393f3920c0425490c178f41e8c7605219d9337 | [
"MIT"
] | null | null | null | app/Http/Controllers/Apis/Controllers/editNovel/editNovelRules.php | Mostafaramdan/rewayaty | 8a393f3920c0425490c178f41e8c7605219d9337 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Apis\Controllers\editNovel;
use App\Http\Controllers\Apis\Controllers\index;
use App\Http\Controllers\Apis\Resources\objects;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Http\Controllers\Apis\Helper\helper;
class editNovelRules extends index
{
pu... | 37.125 | 136 | 0.483586 |
6d1d800bf51d203c3f31540056a19c3ea2cc850b | 10,894 | tsx | TypeScript | src/components/Toolbox/ToolboxTerrainPanel.tsx | riknoll/pxt-level-editor | ee1eae9b6064b71dc32553ad0999b7e7d09c1192 | [
"MIT"
] | 4 | 2019-07-22T18:03:01.000Z | 2019-12-06T15:09:12.000Z | src/components/Toolbox/ToolboxTerrainPanel.tsx | riknoll/pxt-level-editor | ee1eae9b6064b71dc32553ad0999b7e7d09c1192 | [
"MIT"
] | 46 | 2019-07-22T18:05:35.000Z | 2019-08-20T18:27:41.000Z | src/components/Toolbox/ToolboxTerrainPanel.tsx | riknoll/pxt-level-editor | ee1eae9b6064b71dc32553ad0999b7e7d09c1192 | [
"MIT"
] | 11 | 2019-07-22T18:20:35.000Z | 2020-06-19T20:50:18.000Z | import * as React from 'react';
import { ToolboxPanel } from './ToolboxPanel';
import { GestureTarget, ClientCoordinates, clientCoord, bindGestureEvents } from '../../util';
import { MapRect, Layer } from '../../map';
import { Project, ProjectSprite, isSpriteSheetReference, SpriteSheetReference } from '../../project';
... | 30.515406 | 150 | 0.564164 |
d99bba035158c1888834fef0fcd1f8ba02b65298 | 2,240 | swift | Swift | demo/Sources/ConcurrencyWithGCD/main.swift | taka1068/iOSDC-2020-demo | ace489cc960632484a1307d89a267d1038682b64 | [
"Unlicense"
] | 2 | 2020-09-20T03:22:11.000Z | 2022-02-17T05:13:08.000Z | demo/Sources/ConcurrencyWithGCD/main.swift | taka1068/iOSDC-2020-demo | ace489cc960632484a1307d89a267d1038682b64 | [
"Unlicense"
] | null | null | null | demo/Sources/ConcurrencyWithGCD/main.swift | taka1068/iOSDC-2020-demo | ace489cc960632484a1307d89a267d1038682b64 | [
"Unlicense"
] | null | null | null | import Foundation
concurrentMapBenchmark()
let array = createIntArray(count: 1_0000_0000, upperBound: nil)
let swiftSort = benchmark(array: array, title: "swift sort") { array in
array.sort()
}
let quicksort = benchmark(array: array, title: "quick sort") { array in
array.withContiguousMutableStorageIfAvaila... | 29.866667 | 120 | 0.686161 |
dadaad9759e83fd438ba1932433a8caa707f8674 | 5,640 | swift | Swift | Ahobsu/MotiViews/Main/AnswerQuestion/AnswerInsertViews/AnswerInsertEssayCameraView.swift | mash-up-kr/Ahobsu_iOS | 8d7542cb0320ede7eee25923f280b1d781bd5c25 | [
"MIT"
] | 9 | 2019-12-16T14:23:28.000Z | 2020-05-03T01:00:10.000Z | Ahobsu/MotiViews/Main/AnswerQuestion/AnswerInsertViews/AnswerInsertEssayCameraView.swift | mash-up-kr/Ahobsu_iOS | 8d7542cb0320ede7eee25923f280b1d781bd5c25 | [
"MIT"
] | 39 | 2019-11-23T07:05:10.000Z | 2020-11-14T17:32:27.000Z | Ahobsu/MotiViews/Main/AnswerQuestion/AnswerInsertViews/AnswerInsertEssayCameraView.swift | mash-up-kr/Ahobsu_iOS | 8d7542cb0320ede7eee25923f280b1d781bd5c25 | [
"MIT"
] | 1 | 2021-12-23T09:01:37.000Z | 2021-12-23T09:01:37.000Z | //
// AnswerInsertEssayCameraView.swift
// Ahobsu
//
// Created by 이호찬 on 2020/02/09.
// Copyright © 2020 ahobsu. All rights reserved.
//
import SwiftUI
struct AnswerInsertEssayCameraView: View {
@Binding var image: UIImage?
@ObservedObject var keyboard: Keyboard = Keyboard()
@ObservedObject var ... | 44.0625 | 145 | 0.360284 |
7f6cd2bcd925724cc3f4db9b96172da63616b6c1 | 200 | lua | Lua | Blizzlike/ArcEmu/Scripts/Zones/Outland/Shadowmoon Valley/ISoldier.lua | 499453466/Lua-Other | 43fd2b72405faf3f2074fd2a2706ef115d16faa6 | [
"Unlicense"
] | 2 | 2015-06-23T16:26:32.000Z | 2019-06-27T07:45:59.000Z | Blizzlike/ArcEmu/Scripts/Zones/Outland/Shadowmoon Valley/ISoldier.lua | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | null | null | null | Blizzlike/ArcEmu/Scripts/Zones/Outland/Shadowmoon Valley/ISoldier.lua | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | 3 | 2015-01-10T18:22:59.000Z | 2021-04-27T21:28:28.000Z | function ISoldier_OnEnterCombat(Unit,Event)
if Unit:GetHealthPct() == 92 then
Unit:FullCastSpellOnTarget(35871,Unit:GetClosestPlayer())
end
end
RegisterUnitEvent(22075, 1, "ISoldier_OnEnterCombat") | 28.571429 | 58 | 0.82 |
0df5349f3994f8f7511a6b04ca743c6738f5784b | 773 | swift | Swift | Code/Shared/Station.swift | yannikbloscheck/Abfahrten | 81303aab1edc01ea6cf0e12dfea835e8da948072 | [
"MIT"
] | 2 | 2018-07-14T00:11:25.000Z | 2020-05-11T08:39:54.000Z | Code/Shared/Station.swift | yannikbloscheck/Abfahrten | 81303aab1edc01ea6cf0e12dfea835e8da948072 | [
"MIT"
] | 1 | 2021-07-24T17:04:43.000Z | 2021-07-25T08:28:57.000Z | Code/Shared/Station.swift | yannikbloscheck/Abfahrten | 81303aab1edc01ea6cf0e12dfea835e8da948072 | [
"MIT"
] | null | null | null | import Foundation
/// A station
/// - Copyright: © Yannik Bloscheck - All rights reserved
/// - Since: 2018-06-18
struct Station: Equatable, Codable {
// MARK: Properties
/// The name of the station
let name: String
/// The creation date of the data
let date: Date
/// Th... | 20.342105 | 61 | 0.610608 |
c9f29e3a66fdb4897ab03cad07b1f89c5b21c25f | 617 | tsx | TypeScript | src/components/badge/index.tsx | draekien/draekien-ui | 3f0f2c84cd0a0c91229f7067eb05c69fdefdad49 | [
"MIT"
] | 2 | 2020-11-21T14:44:17.000Z | 2020-12-17T02:51:17.000Z | src/components/badge/index.tsx | draekien/draekien-ui | 3f0f2c84cd0a0c91229f7067eb05c69fdefdad49 | [
"MIT"
] | 26 | 2020-11-21T12:50:05.000Z | 2021-01-09T01:22:02.000Z | src/components/badge/index.tsx | draekien/draekien-ui | 3f0f2c84cd0a0c91229f7067eb05c69fdefdad49 | [
"MIT"
] | null | null | null | /** @jsxImportSource theme-ui */
import { Box } from 'theme-ui';
import * as React from 'react';
import * as styles from './index.styles';
import { colors } from '../theme/colors';
export type BadgeProps = {
/** color of the badge
* @default 'primary'
*/
color?: keyof typeof colors | string;
/** the positi... | 25.708333 | 79 | 0.649919 |
c3e0aa0368f4029775bb98bf281cfe3f9df48431 | 1,357 | cs | C# | Seal.Platform.Direct2D/Engine.cs | denismaster/Seal | 13d84c6605b8964ea4ef46fdfdef5d6800dc3177 | [
"MIT"
] | null | null | null | Seal.Platform.Direct2D/Engine.cs | denismaster/Seal | 13d84c6605b8964ea4ef46fdfdef5d6800dc3177 | [
"MIT"
] | 3 | 2016-01-19T22:54:25.000Z | 2016-09-22T21:41:37.000Z | Seal.Platform.Direct2D/Engine.cs | denismaster/Seal | 13d84c6605b8964ea4ef46fdfdef5d6800dc3177 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Seal.Platform;
using D2D = SharpDX.Direct2D1;
using DW = SharpDX.DirectWrite;
using WIC = SharpDX.WIC;
namespace Seal.Platform.Direct2D
{
public class Engine:IEngine
{
private read... | 32.309524 | 119 | 0.672808 |
dc04c6d66cb0d2c520002bc18e6050df84e568bf | 481 | rb | Ruby | lib/test_kitchen_chef_minitest_matchers.rb | promisedlandt/test_kitchen_chef_minitest_matchers | 333e736a2d13d04c1b0e23293a14ba233da1b86a | [
"MIT"
] | null | null | null | lib/test_kitchen_chef_minitest_matchers.rb | promisedlandt/test_kitchen_chef_minitest_matchers | 333e736a2d13d04c1b0e23293a14ba233da1b86a | [
"MIT"
] | null | null | null | lib/test_kitchen_chef_minitest_matchers.rb | promisedlandt/test_kitchen_chef_minitest_matchers | 333e736a2d13d04c1b0e23293a14ba233da1b86a | [
"MIT"
] | null | null | null | # Specified in Gemfile
require "mixlib/shellout"
# Internal stuff
require "test_kitchen_chef_minitest_matchers/version"
require "test_kitchen_chef_minitest_matchers/chef_gem"
# rubocop:disable HandleExceptions
# Development stuff, can't be loaded in production, but that's fine
%w(byebug).each do |development_gem|
b... | 22.904762 | 67 | 0.817048 |
e4ef8349fafd0025f506afd459c62f3dc5a63774 | 153 | c | C | CourseWork/networks/MA61010/semaphore/client1.c | ank247/ComputerNetworks | b8e7185b2c436de6df00c95dbdc1ef9a231c9056 | [
"MIT"
] | 2 | 2018-02-17T12:50:57.000Z | 2019-04-03T07:41:51.000Z | CourseWork/networks/MA61010/semaphore/client1.c | ank247/IITKGP | b8e7185b2c436de6df00c95dbdc1ef9a231c9056 | [
"MIT"
] | null | null | null | CourseWork/networks/MA61010/semaphore/client1.c | ank247/IITKGP | b8e7185b2c436de6df00c95dbdc1ef9a231c9056 | [
"MIT"
] | null | null | null |
#include<stdio.h>
#include<sys/sem.h>
main()
{
int q,y;
printf("Give semaphore no");
scanf("%d",&q);
y=semctl(q,0,GETVAL,0);
printf("%d",y);
}
| 9.5625 | 29 | 0.575163 |
14dc515705a09f251494a6a59a180bd3dcb47812 | 307 | ts | TypeScript | api/services/ChatService/getChatMembers.ts | v2land/v2land-redstone | 4c408c83290229e1f8aef32a7ff6d99efef112c5 | [
"MIT"
] | 13 | 2017-12-11T02:11:52.000Z | 2019-08-13T09:04:02.000Z | api/services/ChatService/getChatMembers.ts | v2land/v2land-redstone | 4c408c83290229e1f8aef32a7ff6d99efef112c5 | [
"MIT"
] | 64 | 2017-12-09T19:30:18.000Z | 2020-05-19T03:52:32.000Z | api/services/ChatService/getChatMembers.ts | v2land/v2land-redstone | 4c408c83290229e1f8aef32a7ff6d99efef112c5 | [
"MIT"
] | 5 | 2018-02-03T05:33:26.000Z | 2020-05-01T09:06:49.000Z | import { ChatMember } from '@Models';
import { getChatId } from './utils';
export const getChatMembers = async (type: 'client' | 'newsroom', ids: number | number[]) => {
const chatId = getChatId(type, ids);
const members = await ChatMember.findAll({
where: { chatId },
});
return members;
};
| 23.615385 | 94 | 0.644951 |
dbe0cf71f11ccc41a2131d8683ad90dcb6c15649 | 1,170 | cs | C# | Biz.Morsink.CodeGeneration.CSharp/SyntaxBuilder.BlockBuilder.cs | joost-morsink/Biz.Morsink.CodeGeneration.CSharp | fccf557a00fa8d789832eb691a7016d8cf0688d0 | [
"MIT"
] | null | null | null | Biz.Morsink.CodeGeneration.CSharp/SyntaxBuilder.BlockBuilder.cs | joost-morsink/Biz.Morsink.CodeGeneration.CSharp | fccf557a00fa8d789832eb691a7016d8cf0688d0 | [
"MIT"
] | 6 | 2020-05-29T18:02:08.000Z | 2020-05-30T03:57:32.000Z | Biz.Morsink.CodeGeneration.CSharp/SyntaxBuilder.BlockBuilder.cs | joost-morsink/Biz.Morsink.CodeGeneration.CSharp | fccf557a00fa8d789832eb691a7016d8cf0688d0 | [
"MIT"
] | 1 | 2020-05-22T13:56:08.000Z | 2020-05-22T13:56:08.000Z | using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using SF = Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
namespace Biz.Morsink.CodeGeneration.CSharp
{
public static partial class SyntaxBuilder
{
public struct BlockBui... | 34.411765 | 108 | 0.65641 |
2cb925922e5aab8253a8ee29367255f1a2b29f6b | 8,461 | cpp | C++ | CocosWidget/Slider.cpp | LingJiJian/Tui-x | e00e79109db466143ed2b399a8991be4e5fea28f | [
"MIT"
] | 67 | 2015-02-09T03:20:59.000Z | 2022-01-17T05:53:07.000Z | CocosWidget/Slider.cpp | fuhongxue/Tui-x | 9b288540a36942dd7f3518dc3e12eb2112bd93b0 | [
"MIT"
] | 3 | 2015-04-14T01:47:27.000Z | 2016-03-15T06:56:04.000Z | CocosWidget/Slider.cpp | fuhongxue/Tui-x | 9b288540a36942dd7f3518dc3e12eb2112bd93b0 | [
"MIT"
] | 34 | 2015-02-18T04:42:07.000Z | 2019-08-15T05:34:46.000Z | /****************************************************************************
Copyright (c) 2014 Lijunlin - Jason lee
Created by Lijunlin - Jason lee on 2014
jason.lee.c@foxmail.com
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated ... | 23.372928 | 131 | 0.714336 |
8cce7e9cb29bfc6757e22bb2ebbfd0e02e75686d | 515 | go | Go | central/sensor/service/connection/upgradecontroller/stateutils/matchers.go | embeddery/stackrox | d653406651df4331a714839ec2c0a23a93425c64 | [
"Apache-2.0"
] | 22 | 2022-03-31T14:32:18.000Z | 2022-03-31T22:11:30.000Z | central/sensor/service/connection/upgradecontroller/stateutils/matchers.go | embeddery/stackrox | d653406651df4331a714839ec2c0a23a93425c64 | [
"Apache-2.0"
] | 5 | 2022-03-31T14:35:28.000Z | 2022-03-31T22:40:13.000Z | central/sensor/service/connection/upgradecontroller/stateutils/matchers.go | embeddery/stackrox | d653406651df4331a714839ec2c0a23a93425c64 | [
"Apache-2.0"
] | 4 | 2022-03-31T16:33:58.000Z | 2022-03-31T22:19:26.000Z | package stateutils
import (
"github.com/stackrox/rox/generated/set"
"github.com/stackrox/rox/generated/storage"
"github.com/stackrox/rox/pkg/sensorupgrader"
)
func anyStateFrom(desiredStates ...storage.UpgradeProgress_UpgradeState) *set.StorageUpgradeProgress_UpgradeStateSet {
s := set.NewStorageUpgradeProgress_U... | 28.611111 | 118 | 0.803883 |
ddb911cc9b98bc330e914d2b3774e864a1b4febd | 5,408 | java | Java | model/src/main/java/com/baidu/rigel/biplatform/ac/model/Level.java | lxqfirst/bi-platform | 803eda1875796743d335e167b9068d578bd75b0b | [
"Apache-2.0"
] | 3 | 2015-09-29T09:18:58.000Z | 2015-11-24T11:03:03.000Z | model/src/main/java/com/baidu/rigel/biplatform/ac/model/Level.java | lxqfirst/bi-platform | 803eda1875796743d335e167b9068d578bd75b0b | [
"Apache-2.0"
] | null | null | null | model/src/main/java/com/baidu/rigel/biplatform/ac/model/Level.java | lxqfirst/bi-platform | 803eda1875796743d335e167b9068d578bd75b0b | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2014 Baidu, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 37.296552 | 150 | 0.680473 |
30eb571b711d5e5cc6004b7c1a998215b603a950 | 26,839 | swift | Swift | Sources/BigNum/GenericMath.swift | WilsonGramer/swift-bignum | fac80dc46e0d99346c067b2ebb64a42b698bdec2 | [
"MIT"
] | null | null | null | Sources/BigNum/GenericMath.swift | WilsonGramer/swift-bignum | fac80dc46e0d99346c067b2ebb64a42b698bdec2 | [
"MIT"
] | null | null | null | Sources/BigNum/GenericMath.swift | WilsonGramer/swift-bignum | fac80dc46e0d99346c067b2ebb64a42b698bdec2 | [
"MIT"
] | null | null | null | extension BigFloatingPoint {
// constants
/// √2
public static func SQRT2(precision px:Int=Self.precision, debug:Bool=false)->Self {
let apx = Swift.abs(px)
if apx <= SQRT2.precision { return SQRT2.value.truncated(width: apx) }
SQRT2.precision = apx
SQRT2.value = Self(2).squa... | 41.482226 | 118 | 0.516673 |
57c90c08a6aa45fb0858ab8488865c458102a91c | 2,171 | kt | Kotlin | app/src/main/java/com/dew/aihua/player/playback/PlaybackListener.kt | ed828a/Aihua | 1896f46888b5a954b367e83f40b845ce174a2328 | [
"Apache-2.0"
] | 1 | 2019-03-11T08:18:17.000Z | 2019-03-11T08:18:17.000Z | app/src/main/java/com/dew/aihua/player/playback/PlaybackListener.kt | ed828a/Aihua | 1896f46888b5a954b367e83f40b845ce174a2328 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/dew/aihua/player/playback/PlaybackListener.kt | ed828a/Aihua | 1896f46888b5a954b367e83f40b845ce174a2328 | [
"Apache-2.0"
] | null | null | null | package com.dew.aihua.player.playback
import com.dew.aihua.player.model.PlayQueueItem
import com.google.android.exoplayer2.source.MediaSource
import org.schabi.newpipe.extractor.stream.StreamInfo
/**
* Created by Edward on 3/2/2019.
*/
interface PlaybackListener {
/**
* Called to check if the currently p... | 33.4 | 100 | 0.693229 |
416928fe05f1e5e981fefbc60d8c49beffade48e | 139 | sql | SQL | Esame19092017/Domanda2.sql | vladbragoi/db_lab_exams | 69e266cda69bb275471a7ed421aa71e9331ff485 | [
"MIT"
] | 1 | 2018-08-30T09:15:51.000Z | 2018-08-30T09:15:51.000Z | Esame19092017/Domanda2.sql | vladbragoi/db_lab_exams | 69e266cda69bb275471a7ed421aa71e9331ff485 | [
"MIT"
] | null | null | null | Esame19092017/Domanda2.sql | vladbragoi/db_lab_exams | 69e266cda69bb275471a7ed421aa71e9331ff485 | [
"MIT"
] | null | null | null | create index c1 on corsostudi(id);
create index c2 on inserogato(annoaccademico, id_corsostudi);
-- si passa da 6095 accessi a 740 accessi | 34.75 | 61 | 0.791367 |
df88631e5952ce8fff23b48ea168944e8c8513a9 | 1,425 | cs | C# | SEV.Crm.Plugins/Business/BusinessConfiguratorFactory.cs | sev15/CrmPlugins | 966c363b3bf2263a90d61c5688ce781c5d4f9608 | [
"MIT"
] | null | null | null | SEV.Crm.Plugins/Business/BusinessConfiguratorFactory.cs | sev15/CrmPlugins | 966c363b3bf2263a90d61c5688ce781c5d4f9608 | [
"MIT"
] | null | null | null | SEV.Crm.Plugins/Business/BusinessConfiguratorFactory.cs | sev15/CrmPlugins | 966c363b3bf2263a90d61c5688ce781c5d4f9608 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using SEV.Crm.Business.Configurators;
using SEV.Crm.Plugins.Properties;
namespace SEV.Crm.Business
{
public abstract class BusinessConfiguratorFactory : IBusinessConfiguratorFactory
{
private readonly Dictionary<CrmPluginEvent, BusinessConfigurat... | 36.538462 | 115 | 0.629474 |
7f9d58c0f54e06aef7ff31ca39476a45dad582be | 650 | php | PHP | resources/views/components/inputs/textarea.blade.php | THEJU781/serviceraju1 | 71295d48e10a79d748267ea757cf6b54cc3d40f0 | [
"MIT"
] | null | null | null | resources/views/components/inputs/textarea.blade.php | THEJU781/serviceraju1 | 71295d48e10a79d748267ea757cf6b54cc3d40f0 | [
"MIT"
] | null | null | null | resources/views/components/inputs/textarea.blade.php | THEJU781/serviceraju1 | 71295d48e10a79d748267ea757cf6b54cc3d40f0 | [
"MIT"
] | null | null | null | @props([
'name',
'label',
'space' => null,
])
<div class="w-full px-4 mb-4 md:mb-0 {{ $space ? $space : "md:w-1/2" }}">
<div class="mb-6">
@if($label ?? null)
@include('components.inputs.partials.label')
@endif
<textarea
id="{{ $name }}"
name... | 30.952381 | 149 | 0.492308 |
d14b134d96afd31c7f645f0059447d89dea2c25e | 343 | kt | Kotlin | app/src/test/java/com/gsm/bee_assistant_android/RxTest.kt | Sonanda/Bee-Android | 28457fdecdc1935e1d97b5a8ac0de6fdff7fbaf4 | [
"Apache-2.0"
] | null | null | null | app/src/test/java/com/gsm/bee_assistant_android/RxTest.kt | Sonanda/Bee-Android | 28457fdecdc1935e1d97b5a8ac0de6fdff7fbaf4 | [
"Apache-2.0"
] | null | null | null | app/src/test/java/com/gsm/bee_assistant_android/RxTest.kt | Sonanda/Bee-Android | 28457fdecdc1935e1d97b5a8ac0de6fdff7fbaf4 | [
"Apache-2.0"
] | null | null | null | package com.gsm.bee_assistant_android
import io.reactivex.Observable
import org.junit.Test
import java.util.concurrent.TimeUnit
class RxTest {
@Test
fun splashTest() {
println("start")
Observable.interval(1000 * 3, TimeUnit.MILLISECONDS)
.subscribe { println("end") }
Thr... | 19.055556 | 60 | 0.664723 |
457176dab716140d0b88f006fd7db451315fd61d | 7,551 | py | Python | additional_evaluations/metrics_comparison_barplot.py | imsb-uke/ecarenet | ffbf24e740d9154312d02b9f775816ed4b3d4691 | [
"MIT"
] | 1 | 2022-01-25T09:49:45.000Z | 2022-01-25T09:49:45.000Z | additional_evaluations/metrics_comparison_barplot.py | imsb-uke/ecarenet | ffbf24e740d9154312d02b9f775816ed4b3d4691 | [
"MIT"
] | null | null | null | additional_evaluations/metrics_comparison_barplot.py | imsb-uke/ecarenet | ffbf24e740d9154312d02b9f775816ed4b3d4691 | [
"MIT"
] | null | null | null | from matplotlib import pyplot as plt
import pandas as pd
import numpy as np
import os
from training_evaluation.evaluation_helpers import get_survival_curve
from training_evaluation.model_metrics import cdauc_uno, brier_score_censored_core, concordance_td_core, d_calibration
def compare_models_barplot(run_ids, evalua... | 46.611111 | 118 | 0.609588 |
23074872610912e422c500666d7a7c976576093f | 5,207 | css | CSS | css/extremecold.css | justinhodev/Subzero | b94dd6a3c0a364b289a91388e622e2acc1611ed9 | [
"MIT"
] | 1 | 2022-03-10T05:24:13.000Z | 2022-03-10T05:24:13.000Z | css/extremecold.css | justinhodev/Subzero | b94dd6a3c0a364b289a91388e622e2acc1611ed9 | [
"MIT"
] | null | null | null | css/extremecold.css | justinhodev/Subzero | b94dd6a3c0a364b289a91388e622e2acc1611ed9 | [
"MIT"
] | null | null | null | .extremecold {
background-color: #ebeef3;
}
.extremecold .extremecold_content {
margin: 0 auto;
width: 100%;
text-align: left;
}
.extremecold .extremecold_content figure {
width: 100%;
display: block;
}
.extremecold .extremecold_content figcaption {
text-transform: capital... | 21.516529 | 69 | 0.582293 |
c992324d45ed408756e9f34639d5eee23c103a20 | 6,472 | ts | TypeScript | packages/mock/test/mockMatchers.spec.ts | onyxjs/onyx | db642e958d75a0f65125a6a92107c2434a2c38ea | [
"MIT"
] | 5 | 2019-07-08T07:31:34.000Z | 2022-01-12T07:15:27.000Z | packages/mock/test/mockMatchers.spec.ts | onyxjs/onyx | db642e958d75a0f65125a6a92107c2434a2c38ea | [
"MIT"
] | 36 | 2019-07-09T07:46:48.000Z | 2022-01-14T06:47:22.000Z | packages/mock/test/mockMatchers.spec.ts | onyxjs/onyx | db642e958d75a0f65125a6a92107c2434a2c38ea | [
"MIT"
] | 1 | 2020-02-21T19:08:20.000Z | 2020-02-21T19:08:20.000Z | import $expect from '@onyx/matchers/src'
import mock from '../src/mock'
import '../src/mockMatchers'
describe('Mock function matchers', () => {
it('toHaveBeenCalled', () => {
expect(() => $expect({}).toHaveBeenCalled()).toThrow(TypeError)
const mockFn = mock((a: any, b: any) => a + b)
mockFn(1, 2)
... | 36.359551 | 87 | 0.631026 |
f19f42d19cbb35568593362e725d2267d940d8cb | 375 | sql | SQL | integration/src/main/resources/integration-1/server-config/sql/customer/customer.sql | davidboden/CommaCQ | 0e361607a56fa8c9516154a607c9fc8eacdeaf89 | [
"MIT"
] | 1 | 2019-02-15T03:39:00.000Z | 2019-02-15T03:39:00.000Z | integration/src/main/resources/integration-1/server-config/sql/proxyServer/customer.sql | davidboden/CommaCQ | 0e361607a56fa8c9516154a607c9fc8eacdeaf89 | [
"MIT"
] | null | null | null | integration/src/main/resources/integration-1/server-config/sql/proxyServer/customer.sql | davidboden/CommaCQ | 0e361607a56fa8c9516154a607c9fc8eacdeaf89 | [
"MIT"
] | null | null | null | select CODE as "id", DESCRIPTION as "description",
ACTIVE as "active",
/*
case when ACTIVE = 1 then
--Have to trim to 4 characters otherwise h2
--makes it a char(5) with a trailing space
convert('true', varchar(5))
else
convert('false', varchar(5))
end "active",
*/
accountOpeningDate as "accountOpening... | 26.785714 | 50 | 0.714667 |
b1c44afecfd08c07896036e7d13a15dc3415727b | 16,777 | lua | Lua | src/game/field_logic.lua | Ruin0x11/OpenNefia | 548f1a1442eca704bb1c16b1a1591d982a34919f | [
"MIT"
] | 109 | 2020-04-07T16:56:38.000Z | 2022-02-17T04:05:40.000Z | src/game/field_logic.lua | Ruin0x11/OpenNefia | 548f1a1442eca704bb1c16b1a1591d982a34919f | [
"MIT"
] | 243 | 2020-04-07T08:25:15.000Z | 2021-10-30T07:22:10.000Z | src/game/field_logic.lua | Ruin0x11/OpenNefia | 548f1a1442eca704bb1c16b1a1591d982a34919f | [
"MIT"
] | 15 | 2020-04-25T12:28:55.000Z | 2022-02-23T03:20:43.000Z | local Mef = require("api.Mef")
local Chara = require("api.Chara")
local Event = require("api.Event")
local I18N = require("api.I18N")
local Gui = require("api.Gui")
local Input = require("api.Input")
local Map = require("api.Map")
local World = require("api.World")
local Log = require("api.Log")
local Env = require("ap... | 26.630159 | 149 | 0.672885 |
96ec5a4ee3d0af70b95d95a35f1326ddada8c42c | 1,306 | cs | C# | Assets/LeapMotion/Core/Scripts/Utils/ProfilerSample.cs | Sacurose/SideScroller | 76c2a5551ec6689e0481741c37fb1e51e0fc7719 | [
"MIT"
] | 11 | 2018-05-04T18:07:18.000Z | 2021-04-19T09:17:25.000Z | Assets/LeapMotion/Core/Scripts/Utils/ProfilerSample.cs | Sacurose/SideScroller | 76c2a5551ec6689e0481741c37fb1e51e0fc7719 | [
"MIT"
] | 1 | 2019-09-20T02:32:09.000Z | 2019-09-23T02:53:27.000Z | Assets/LeapMotion/Core/Scripts/Utils/ProfilerSample.cs | Sacurose/SideScroller | 76c2a5551ec6689e0481741c37fb1e51e0fc7719 | [
"MIT"
] | 4 | 2018-09-07T19:38:38.000Z | 2021-06-18T05:36:55.000Z | /******************************************************************************
* Copyright (C) Leap Motion, Inc. 2011-2017. *
* Leap Motion proprietary and confidential. *
* *
... | 33.487179 | 80 | 0.513783 |
7d8bec23da301bb314ea22572c39690992bb0bcd | 3,324 | css | CSS | app/public/stylesheets/style.css | kevinsarsen/MyStudyNavigator | b331599f02d37e32b054320a73c11d3e3a8e445c | [
"Apache-2.0"
] | null | null | null | app/public/stylesheets/style.css | kevinsarsen/MyStudyNavigator | b331599f02d37e32b054320a73c11d3e3a8e445c | [
"Apache-2.0"
] | 10 | 2017-02-23T18:10:48.000Z | 2017-11-10T03:41:47.000Z | app/public/stylesheets/style.css | kevinsarsen/MyStudyNavigator | b331599f02d37e32b054320a73c11d3e3a8e445c | [
"Apache-2.0"
] | null | null | null | html{
height: 100%;
}
body {
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
margin: 0px;
height: 100%;
}
a {
color: #00B7FF;
}
h1, h2, h3 {
margin-top: 0px;
-webkit-margin-before: 0px;
}
#header {
border-style: none;
background-color: darkgrey;
width: 100%;
height: 75px;
display: n... | 17.3125 | 73 | 0.607401 |
280ad0008ea3d8e67519543e2a00b8989c565ee4 | 1,860 | lua | Lua | tests/streams_spec.lua | vifino/lua-piper | 027fd4cc5ae125dd5e6614caece94df048a93306 | [
"MIT"
] | 2 | 2017-11-17T12:39:25.000Z | 2020-12-18T18:13:26.000Z | tests/streams_spec.lua | vifino/lua-piper | 027fd4cc5ae125dd5e6614caece94df048a93306 | [
"MIT"
] | null | null | null | tests/streams_spec.lua | vifino/lua-piper | 027fd4cc5ae125dd5e6614caece94df048a93306 | [
"MIT"
] | null | null | null | describe("streams", function()
local streams = require("streams")
it("can send into a stream", function()
local stream = streams.new()
stream:send("Test!")
end)
it("can send and receive from stream", function()
local stream = streams.new()
stream:send("Test!")
assert.are_equals(stream:recv(), "Test!")
en... | 33.214286 | 96 | 0.684409 |
89a046e512212304cf25e97a71ea542ecc61ddd3 | 7,851 | dart | Dart | deal_o_round/lib/settings/settings_page.dart | CsabaConsulting/Deal-O-Round | 432b765de6372465eb12136a12cd85a1dae3d72a | [
"MIT"
] | 1 | 2021-02-25T10:52:08.000Z | 2021-02-25T10:52:08.000Z | deal_o_round/lib/settings/settings_page.dart | DealORound/Deal-O-Round | c8a1ce5a329a91adec625a9b88fda90389e86ce2 | [
"MIT"
] | 15 | 2020-08-31T01:55:36.000Z | 2022-01-26T03:37:02.000Z | deal_o_round/lib/settings/settings_page.dart | DealORound/Deal-O-Round | c8a1ce5a329a91adec625a9b88fda90389e86ce2 | [
"MIT"
] | null | null | null | import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../game/logic/game_constants.dart';
import '../services/settings_constants.dart';
import '../services/size.dart';
import '../background_gradient.dart';
import 'boolean_settings.dart';
import 'enum_se... | 39.452261 | 96 | 0.457521 |
2d0972056d9ce9c81c43bea8bcafc685b586b86f | 1,538 | css | CSS | alecgalloway/css/projects.css | ConvertToInt/alecgalloway | 240dfc5eedb37054fb8fc6105d2c0c00852b0e99 | [
"MIT"
] | null | null | null | alecgalloway/css/projects.css | ConvertToInt/alecgalloway | 240dfc5eedb37054fb8fc6105d2c0c00852b0e99 | [
"MIT"
] | null | null | null | alecgalloway/css/projects.css | ConvertToInt/alecgalloway | 240dfc5eedb37054fb8fc6105d2c0c00852b0e99 | [
"MIT"
] | null | null | null | #top{
background-image:url(../img/projects.jpg);
background-attachment:fixed;
background-repeat: no-repeat;
background-size: cover;
height:24em;
}
.container{
padding:0 30px 0 30px
}
.card:hover{
-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 20px 0px rgba(0,0... | 15.85567 | 57 | 0.657997 |
2d0442406c34e9eb4d92fcb20ef2a1c9ffbf73d7 | 801 | css | CSS | demo/cleanroom/calculator/unsolved/style.css | AbhinavM2000/faculty | bf22a80d92a97fd8cea59a4d37b978f7f2179b8b | [
"CC0-1.0"
] | 13 | 2020-03-30T01:55:36.000Z | 2022-01-28T11:18:21.000Z | demo/cleanroom/calculator/unsolved/style.css | AbhinavM2000/faculty | bf22a80d92a97fd8cea59a4d37b978f7f2179b8b | [
"CC0-1.0"
] | 129 | 2019-10-10T00:33:29.000Z | 2022-03-26T15:31:09.000Z | demo/cleanroom/calculator/unsolved/style.css | AbhinavM2000/faculty | bf22a80d92a97fd8cea59a4d37b978f7f2179b8b | [
"CC0-1.0"
] | 20 | 2019-10-04T19:56:06.000Z | 2021-12-04T11:55:53.000Z | .calculatorBody {
text-align: left;
border-right: solid 1px rgb(50,50,50);
border-bottom: solid 1px rgb(50,50,50);
border-top: solid 1px rgb(250,250,250);
border-left: solid 1px rgb(250,250,250);
padding: 1em;
background-color: rgb(200,200,200);
}
body {
position:absolute;
margin:auto;
vertical-align: cente... | 18.204545 | 41 | 0.6804 |
4bffd63700d0b81e671744fc3265e12eee20070f | 1,659 | h | C | plugins/2018.3326/iphone/MyTargetSDK.framework/Headers/MTRGConfig.h | solar2d/com.solar2d-plugin.applovinMax.MyTarget | 5615c2de209212656ef59f9f8f3711c805ed426c | [
"Zlib"
] | null | null | null | plugins/2018.3326/iphone/MyTargetSDK.framework/Headers/MTRGConfig.h | solar2d/com.solar2d-plugin.applovinMax.MyTarget | 5615c2de209212656ef59f9f8f3711c805ed426c | [
"Zlib"
] | null | null | null | plugins/2018.3326/iphone/MyTargetSDK.framework/Headers/MTRGConfig.h | solar2d/com.solar2d-plugin.applovinMax.MyTarget | 5615c2de209212656ef59f9f8f3711c805ed426c | [
"Zlib"
] | null | null | null | //
// MTRGConfig.h
// myTargetSDK 5.15.0
//
// Created by Andrey Seredkin on 19.01.2021.
// Copyright © 2021 Mail.ru Group. All rights reserved.
//
#import <Foundation/Foundation.h>
@class MTRGConfig;
NS_ASSUME_NONNULL_BEGIN
/**
@discussion Builder for MTRGConfig
*/
@interface MTRGConfigBuilder : NSObject
+ ... | 20.7375 | 111 | 0.760699 |
105a0d4130987b49166cb166ad4ee1ab13bc169d | 110 | sql | SQL | src/test/resources/sql/select/951b8014.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/select/951b8014.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/select/951b8014.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:rangetypes.sql ln:226 expect:true
select count(*) from test_range_gist where ir >> int4range(100,500)
| 36.666667 | 67 | 0.763636 |
6fffd2c6fc6753e200055641ac36ce8b9778bf65 | 1,561 | rb | Ruby | spec/views/to_json_spec.rb | domain808/activecouch | bebe639d41c00a007eccfa3f9e9ea0b0fadcfb01 | [
"MIT"
] | 1 | 2016-05-08T19:28:25.000Z | 2016-05-08T19:28:25.000Z | spec/views/to_json_spec.rb | domain808/activecouch | bebe639d41c00a007eccfa3f9e9ea0b0fadcfb01 | [
"MIT"
] | null | null | null | spec/views/to_json_spec.rb | domain808/activecouch | bebe639d41c00a007eccfa3f9e9ea0b0fadcfb01 | [
"MIT"
] | null | null | null | require File.dirname(__FILE__) + '/../spec_helper.rb'
describe "ActiveCouch::View #to_json method" do
before(:each) do
class ByName < ActiveCouch::View
define :by_name, :for_db => 'people' do
with_key 'name'
end
end
end
it "should generate the correct javascript to be used in the v... | 33.934783 | 198 | 0.66624 |
c964ab64c77a1f43e4be29fb14087cc65a552c22 | 865 | ts | TypeScript | test/response/inspect_test.ts | ako-deno/ako | 574e1c043119a3e108469243a31c33ac14ff8b1a | [
"MIT"
] | 22 | 2020-05-15T15:43:27.000Z | 2021-09-24T15:58:05.000Z | test/response/inspect_test.ts | ako-deno/ako | 574e1c043119a3e108469243a31c33ac14ff8b1a | [
"MIT"
] | 4 | 2020-05-26T09:33:59.000Z | 2020-07-01T07:26:31.000Z | test/response/inspect_test.ts | ako-deno/ako | 574e1c043119a3e108469243a31c33ac14ff8b1a | [
"MIT"
] | 1 | 2020-06-17T14:00:24.000Z | 2020-06-17T14:00:24.000Z | import { describe, it, assert, assertEquals } from "../deps.ts";
import { response } from "../helpers/context.ts";
describe("res.inspect()", () => {
describe("with no response.res present", () => {
it("should return null", () => {
const res = response();
res.body = "hello";
delete res.res;
... | 26.212121 | 64 | 0.566474 |
fdf99c5d8207c981b732c24a936393573749864c | 101 | css | CSS | Ejemplos Bootstrap/04_grid_columnas_responsive/css/style.css | estemontoya/DSWT | eef85b691c279ea7ce37a30c2c0539eecc383926 | [
"MIT"
] | null | null | null | Ejemplos Bootstrap/04_grid_columnas_responsive/css/style.css | estemontoya/DSWT | eef85b691c279ea7ce37a30c2c0539eecc383926 | [
"MIT"
] | 4 | 2020-05-05T06:08:31.000Z | 2021-05-11T12:48:14.000Z | Bootstrap-master/04_grid_columnas_responsive/css/style.css | ferdinandOoO/holamundo2 | 3dec46475ace206637894629657ad6831ba14628 | [
"MIT"
] | null | null | null | .columna {
background-color: #fc0;
border:1px solid #333;
}
.columna2 {
background-color: #fc0;
}
| 12.625 | 24 | 0.673267 |
dfb823ebacecf44988f18303148a58c2c4fb876c | 1,442 | cs | C# | projects/Waypoint System/waypoints/ToolWindow.cs | Cabrra/Windows-Tools-Games | 2d562bd570150c582e6e16218a83783773dc99d2 | [
"MIT"
] | null | null | null | projects/Waypoint System/waypoints/ToolWindow.cs | Cabrra/Windows-Tools-Games | 2d562bd570150c582e6e16218a83783773dc99d2 | [
"MIT"
] | null | null | null | projects/Waypoint System/waypoints/ToolWindow.cs | Cabrra/Windows-Tools-Games | 2d562bd570150c582e6e16218a83783773dc99d2 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace midterm
{
public partial class ToolWindow : Form
{
public event EventHandler T... | 19.753425 | 64 | 0.476422 |
38af4e626d6c6830f8f9d0e88ce31f01427ea4ca | 1,412 | php | PHP | catch/monitor/command/process/ParseTask.php | dsonghui/catch-admin | 72bf97579bc422266f620ced36388e1e2ebf7ec6 | [
"Apache-2.0"
] | 263 | 2020-10-18T12:43:48.000Z | 2022-03-25T14:42:07.000Z | catch/monitor/command/process/ParseTask.php | dsonghui/catch-admin | 72bf97579bc422266f620ced36388e1e2ebf7ec6 | [
"Apache-2.0"
] | 10 | 2020-10-27T01:53:54.000Z | 2021-11-15T00:36:14.000Z | catch/monitor/command/process/ParseTask.php | dsonghui/catch-admin | 72bf97579bc422266f620ced36388e1e2ebf7ec6 | [
"Apache-2.0"
] | 59 | 2020-10-20T08:06:21.000Z | 2022-03-16T13:14:59.000Z | <?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ~ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2020 http://catchadmin.com All rights reserved.
// +---------------------------------------------------------... | 30.042553 | 83 | 0.454674 |
20ef08b0594fd66380a1801f563a4fe840171d4e | 1,443 | py | Python | src/sentry/api/endpoints/organization_incident_suspects_index.py | learninto/sentry | 4f9f564841498b3af49c1677d6b61f3e47b01923 | [
"BSD-3-Clause"
] | 1 | 2019-10-17T17:46:16.000Z | 2019-10-17T17:46:16.000Z | src/sentry/api/endpoints/organization_incident_suspects_index.py | learninto/sentry | 4f9f564841498b3af49c1677d6b61f3e47b01923 | [
"BSD-3-Clause"
] | null | null | null | src/sentry/api/endpoints/organization_incident_suspects_index.py | learninto/sentry | 4f9f564841498b3af49c1677d6b61f3e47b01923 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from sentry.api.bases.incident import IncidentEndpoint, IncidentPermission
from sentry.api.serializers import serialize
from sentry.api.serializers.models.commit import CommitSerializer
from sentry.incidents.logic import get_incident_suspects
class OrganizationIncidentSuspectsI... | 40.083333 | 93 | 0.679834 |
c56001cfbeea2b662c9b0c8c7dac4a892033d27b | 717 | css | CSS | public/stylesheets/main.css | jacksylam/playresponsivecastlehigh | 6c4e824327d9c358dd5a99ba0765e1c77c8b59e3 | [
"Apache-2.0"
] | null | null | null | public/stylesheets/main.css | jacksylam/playresponsivecastlehigh | 6c4e824327d9c358dd5a99ba0765e1c77c8b59e3 | [
"Apache-2.0"
] | null | null | null | public/stylesheets/main.css | jacksylam/playresponsivecastlehigh | 6c4e824327d9c358dd5a99ba0765e1c77c8b59e3 | [
"Apache-2.0"
] | null | null | null | body {
font-family: "Open Sans", sans-serif;
color: #999;
background-color: #999;
}
.page-content {
padding:20px;
text-align: center;
}
img {
display: block;
margin-left: auto;
margin-right: auto
}
.header-image{
background-image: url("../images/header.jpg");
height: 180px;
background-size: co... | 11.95 | 48 | 0.641562 |
1b1371a330dff0bb81f5beaca3af1e84da17a201 | 474 | cs | C# | src/Core/InvalidSortingFieldException.cs | lucnascimento98/Paginator | f94fa9325dace3d6e341cd51263b36fac477ea68 | [
"Unlicense"
] | 1 | 2021-02-22T14:16:02.000Z | 2021-02-22T14:16:02.000Z | src/Core/InvalidSortingFieldException.cs | lucnascimento98/Paginator | f94fa9325dace3d6e341cd51263b36fac477ea68 | [
"Unlicense"
] | 1 | 2021-07-08T19:30:10.000Z | 2022-02-16T17:49:37.000Z | src/Core/InvalidSortingFieldException.cs | lucnascimento98/Paginator | f94fa9325dace3d6e341cd51263b36fac477ea68 | [
"Unlicense"
] | 1 | 2022-02-16T17:03:28.000Z | 2022-02-16T17:03:28.000Z | using System;
namespace Nudes.Paginator.Core
{
public class InvalidSortingFieldException : Exception
{
public string Field { get; set; }
public InvalidSortingFieldException(string field) :base($"Invalid sorting field {field}")
{
Field = field;
}
public Inv... | 23.7 | 116 | 0.607595 |
df20b66f07049642eb5a71248e799f11a1497db5 | 5,599 | cs | C# | Assets/Scripts/RythmGame/TimingSound.cs | Beefstyles/LudumDare41 | ff226e8c7aaaa20e2e50bf5f03a152eae8ee994f | [
"MIT"
] | null | null | null | Assets/Scripts/RythmGame/TimingSound.cs | Beefstyles/LudumDare41 | ff226e8c7aaaa20e2e50bf5f03a152eae8ee994f | [
"MIT"
] | null | null | null | Assets/Scripts/RythmGame/TimingSound.cs | Beefstyles/LudumDare41 | ff226e8c7aaaa20e2e50bf5f03a152eae8ee994f | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TimingSound : MonoBehaviour {
public NoteNumbers note;
AudioSource sound;
public GameObject Note1, Note2, Note3, Note4, Beat;
private GameObject _noteSoundLoc;
public Material Note1Mat, Note2Mat, Note3Mat,... | 30.763736 | 156 | 0.50134 |
bda8f1de2614afaf99faff1b9c69e0f1e1e22f21 | 1,665 | rb | Ruby | attributes/default.rb | fusco/exim4-cookbook | b86401c73927988d566eff04b3c99d97b8c9d410 | [
"Apache-2.0"
] | 1 | 2017-03-12T21:28:42.000Z | 2017-03-12T21:28:42.000Z | attributes/default.rb | fusco/exim4-cookbook | b86401c73927988d566eff04b3c99d97b8c9d410 | [
"Apache-2.0"
] | null | null | null | attributes/default.rb | fusco/exim4-cookbook | b86401c73927988d566eff04b3c99d97b8c9d410 | [
"Apache-2.0"
] | null | null | null | #
# Cookbook Name:: exim4
# Attributes:: default
#
# Author:: Michael Weinrich <micxer@micxer.de>
# License:: Apache License, Version 2.0
#
# 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
#
# ... | 35.425532 | 74 | 0.705105 |
d442fadc4abcadb588b30e95c71f100a32c917c9 | 1,309 | rs | Rust | crates/shared/src/color.rs | murtyjones/purdy | 84b8aa12532f644670780e5edc6c1a3f722314e7 | [
"Apache-2.0",
"MIT"
] | 122 | 2022-02-01T17:33:12.000Z | 2022-03-21T00:22:55.000Z | crates/shared/src/color.rs | murtyjones/purdy | 84b8aa12532f644670780e5edc6c1a3f722314e7 | [
"Apache-2.0",
"MIT"
] | 8 | 2022-02-02T19:56:17.000Z | 2022-02-06T12:18:08.000Z | crates/shared/src/color.rs | murtyjones/purdy | 84b8aa12532f644670780e5edc6c1a3f722314e7 | [
"Apache-2.0",
"MIT"
] | null | null | null | use anyhow::{Error, Result};
use std::str::FromStr;
use thiserror::Error;
use crate::{Cmyk, Gray, Rgb};
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum ColorSpace {
DeviceRGB,
DeviceGray,
DeviceCMYK,
}
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum ColorSpaceWithColor {
DeviceRGB(Rgb),
Devic... | 23.8 | 83 | 0.641711 |
20db4aa84f7f8e3d9eaa2432a963d669845ca4fb | 6,713 | py | Python | kale/embed/attention_cnn.py | Be-Secure/pykale | f8d479e9861639773de603ffaa20127a0ce66e58 | [
"MIT"
] | 324 | 2020-11-05T19:07:11.000Z | 2022-03-16T21:31:39.000Z | kale/embed/attention_cnn.py | Be-Secure/pykale | f8d479e9861639773de603ffaa20127a0ce66e58 | [
"MIT"
] | 212 | 2020-10-31T15:18:59.000Z | 2022-03-25T14:13:09.000Z | kale/embed/attention_cnn.py | Be-Secure/pykale | f8d479e9861639773de603ffaa20127a0ce66e58 | [
"MIT"
] | 52 | 2020-10-28T15:43:48.000Z | 2022-02-24T02:29:52.000Z | from typing import Tuple
import torch
import torch.nn as nn
from kale.embed.positional_encoding import PositionalEncoding
from kale.prepdata.tensor_reshape import seq_to_spatial, spatial_to_seq
class ContextCNNGeneric(nn.Module):
"""
A template to construct a feature extractor consisting of a CNN followed b... | 45.358108 | 118 | 0.641889 |
562d62cdbd219d2ddf1ae07bcf92220834b35ecf | 1,632 | rs | Rust | old-katas-iteration-01/src/lexer_sql_kata/day_3.rs | alex-dukhno/rust-tdd-katas | 003c463fea2dec90a01330c73a8f2235dda0f748 | [
"MIT"
] | null | null | null | old-katas-iteration-01/src/lexer_sql_kata/day_3.rs | alex-dukhno/rust-tdd-katas | 003c463fea2dec90a01330c73a8f2235dda0f748 | [
"MIT"
] | null | null | null | old-katas-iteration-01/src/lexer_sql_kata/day_3.rs | alex-dukhno/rust-tdd-katas | 003c463fea2dec90a01330c73a8f2235dda0f748 | [
"MIT"
] | null | null | null | use std::iter::Peekable;
use std::str::Chars;
#[derive(PartialEq)]
enum SymbolGroup {
AlphaNumeric,
WhiteSpace,
Dot,
LeftParenthesis,
RightParenthesis,
SemiColon,
SingleQuote,
Else
}
pub struct Lexer<'a> {
iter: Peekable<Chars<'a>>
}
impl <'a> Lexer<'a> {
pub fn new(line:... | 26.322581 | 69 | 0.509191 |
4041b849c663d54525f8d3380122a3d51a70fc89 | 796 | rb | Ruby | spec/features/following_spec.rb | marijanbrvar/Opinioner | e6227a4db5469933f853945363db2b2148a3ccad | [
"MIT"
] | 1 | 2021-05-04T07:32:13.000Z | 2021-05-04T07:32:13.000Z | spec/features/following_spec.rb | marijanbrvar/Opinioner | e6227a4db5469933f853945363db2b2148a3ccad | [
"MIT"
] | null | null | null | spec/features/following_spec.rb | marijanbrvar/Opinioner | e6227a4db5469933f853945363db2b2148a3ccad | [
"MIT"
] | null | null | null | require 'rails_helper'
RSpec.feature 'Followings', type: :feature do
before :each do
@user = User.create(full_name: 'User Primo', username: 'Primo')
@second_user = User.create(full_name: 'User Secondo', username: 'Secondo')
visit root_path
page.fill_in 'username', with: 'Primo'
click_button 'Logi... | 33.166667 | 78 | 0.701005 |
75dd4531d0069e0eedc7847ba493545a40308d74 | 210 | css | CSS | static/styles/header.css | lhjok/Rust-Yew | 81d000089df8e48426da2afa731ae33f37020d87 | [
"MIT"
] | null | null | null | static/styles/header.css | lhjok/Rust-Yew | 81d000089df8e48426da2afa731ae33f37020d87 | [
"MIT"
] | null | null | null | static/styles/header.css | lhjok/Rust-Yew | 81d000089df8e48426da2afa731ae33f37020d87 | [
"MIT"
] | null | null | null | & {
position: fixed;
width: 100%;
height: 60px;
font-size: 12px;
color: #fff;
font-weight: bold;
background-color: #00d1b2;
border-bottom: 1px solid #009781;
z-index: 9999;
} | 19.090909 | 37 | 0.580952 |
47d02068d9135902ec28397fb177b4befa9f3fe6 | 52 | rb | Ruby | test/fixtures/cookbooks/test/metadata.rb | chris-carr-bose/push-jobs | db9f66cb3f5c32a1a031839e0f9ef2346eeed45f | [
"Apache-2.0"
] | 16 | 2015-10-21T16:27:15.000Z | 2018-10-29T02:51:25.000Z | test/fixtures/cookbooks/test/metadata.rb | chris-carr-bose/push-jobs | db9f66cb3f5c32a1a031839e0f9ef2346eeed45f | [
"Apache-2.0"
] | 85 | 2015-09-17T18:18:41.000Z | 2020-04-10T17:10:45.000Z | test/fixtures/cookbooks/test/metadata.rb | chris-carr-bose/push-jobs | db9f66cb3f5c32a1a031839e0f9ef2346eeed45f | [
"Apache-2.0"
] | 49 | 2015-11-14T05:50:29.000Z | 2020-03-12T17:31:14.000Z | name 'test'
version '1.0.0'
depends 'push-jobs'
| 10.4 | 19 | 0.634615 |
af7fd524b0e46b7ff4c1b2d866179e74bde84c16 | 853 | py | Python | src/bdbd/src/bdbd/analysis/motion/scratch.py | rkent/BDBD | c5d391da84faf5607c443078781f8b4e1c017dd5 | [
"MIT"
] | null | null | null | src/bdbd/src/bdbd/analysis/motion/scratch.py | rkent/BDBD | c5d391da84faf5607c443078781f8b4e1c017dd5 | [
"MIT"
] | null | null | null | src/bdbd/src/bdbd/analysis/motion/scratch.py | rkent/BDBD | c5d391da84faf5607c443078781f8b4e1c017dd5 | [
"MIT"
] | null | null | null | # just a scratchpad for test calculations
from numpy.lib.financial import nper
import numpy as np
from numpy.random import default_rng
import time
from math import sin, cos
from bdbd_common.utils import fstr, gstr
tp = -0.00111230739817
tc = -0.00106991938304
tm = -0.0010275313679
print((-tp -tm +2*tc)/(1.e-3)**2)
pr... | 38.772727 | 213 | 0.711606 |
443d3cb99dbf172343d1a772ccf722fe13e6b4b8 | 3,287 | py | Python | data/process_data.py | sahikabetul/Disaster-Response-Pipeline | 7bed8206f53449f6775cdce724e15a04f98d0774 | [
"MIT"
] | 1 | 2022-01-04T09:24:40.000Z | 2022-01-04T09:24:40.000Z | data/process_data.py | sahikabetul/Disaster-Response-Pipeline | 7bed8206f53449f6775cdce724e15a04f98d0774 | [
"MIT"
] | null | null | null | data/process_data.py | sahikabetul/Disaster-Response-Pipeline | 7bed8206f53449f6775cdce724e15a04f98d0774 | [
"MIT"
] | null | null | null | import sys
import pandas as pd
from sqlalchemy import create_engine
def load_data(messages_filepath, categories_filepath):
"""
Load data from two .csv file and then merge them by "id" column
Args:
messages_filepath: str. the file path of id and messages .csv file
categories_filepath: str. the ... | 34.239583 | 88 | 0.652267 |
2d69cc78eb7f44261e66875ec0c60568bd4a7628 | 7,733 | css | CSS | assets/button-file.css | shahnazsyifaa/E-LANG | adbe6e9c4d308eaacc958454bb12ace565c2f7fd | [
"MIT"
] | null | null | null | assets/button-file.css | shahnazsyifaa/E-LANG | adbe6e9c4d308eaacc958454bb12ace565c2f7fd | [
"MIT"
] | null | null | null | assets/button-file.css | shahnazsyifaa/E-LANG | adbe6e9c4d308eaacc958454bb12ace565c2f7fd | [
"MIT"
] | null | null | null | /* UNGGAH */
.imageThumb {
max-height: 75px;
object-fit: cover;
padding: 1px;
cursor: pointer;
}
.remove {
display: block;
color: red;
border: none;
text-align: center;
cursor: pointer;
}
.remove:hover {
background-color: none;
color: black;
}
/* UNGGAH */
#custom-button {
paddi... | 14.481273 | 144 | 0.616837 |
f467799ccc2935576bc7c926921c0f71e4e25beb | 2,398 | cs | C# | LoginSB/FormLogin.cs | Roberth17/6B-RobertoCarlosRmz | 32c854c29ad9908043e0afeaf8eb9d9fa42a2481 | [
"MIT"
] | null | null | null | LoginSB/FormLogin.cs | Roberth17/6B-RobertoCarlosRmz | 32c854c29ad9908043e0afeaf8eb9d9fa42a2481 | [
"MIT"
] | null | null | null | LoginSB/FormLogin.cs | Roberth17/6B-RobertoCarlosRmz | 32c854c29ad9908043e0afeaf8eb9d9fa42a2481 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LoginSB
{
public partial class FormLogin : Form
{
public FormLogin()
{... | 26.94382 | 81 | 0.550459 |
141ac6eb41157d478b32fc9d6a581b8725740d9a | 997 | ts | TypeScript | packages/core/src/domain/codecs.ts | katsuroinoue/ccx | 92a903789dfd8de36597d8b31a97f081ec8db1c0 | [
"MIT"
] | 2 | 2021-02-05T04:56:12.000Z | 2021-02-10T04:07:01.000Z | packages/core/src/domain/codecs.ts | kk-mats/ccx | 7ca29f7d6b767e7493e5804690b53a1e4973f648 | [
"MIT"
] | null | null | null | packages/core/src/domain/codecs.ts | kk-mats/ccx | 7ca29f7d6b767e7493e5804690b53a1e4973f648 | [
"MIT"
] | 1 | 2021-06-28T01:19:54.000Z | 2021-06-28T01:19:54.000Z | import * as t from "io-ts";
import { brand, detectRequest } from "common/all/codecs";
import { internalJobEntityId } from "common/server-only/codecs";
export const artifactPath = brand(t.string, "ArtifactPath");
export const detectorServerRequest = t.type({
id: internalJobEntityId,
query: detectRequest
});
export... | 17.803571 | 64 | 0.665998 |
e29dc5ec99d0d156a71910bba3286fd40b367770 | 1,359 | py | Python | insec.py | Echo-sense/Echosense-App | 35e31c3d6ab12c49ea8499b627779aa3aaeeaa40 | [
"Apache-2.0"
] | null | null | null | insec.py | Echo-sense/Echosense-App | 35e31c3d6ab12c49ea8499b627779aa3aaeeaa40 | [
"Apache-2.0"
] | null | null | null | insec.py | Echo-sense/Echosense-App | 35e31c3d6ab12c49ea8499b627779aa3aaeeaa40 | [
"Apache-2.0"
] | 1 | 2019-10-23T20:53:11.000Z | 2019-10-23T20:53:11.000Z | def intersects(line1, line2):
def onSeg(p, q, r):
if (q[0] <= max(p[0],r[0]) and q[0] >= min(p[0],r[0]) and
q[0] <= max(p[1],r[1]) and q[1] >= min(p[1],r[1])):
return True
return False
#0 -> colinear, 1 -> clockwise, 2 -> ccw
def orientation(p,q,r):
v... | 31.604651 | 72 | 0.440029 |
da325061e679d557e5260afa6c5630c6faf66f52 | 1,145 | php | PHP | tests/Symfony/Tests/Component/Security/Core/Authorization/Voter/RoleHierarchyVoterTest.php | bcremer/symfony | 42fe9fc35fc7821f585379afe67d4a8bec7c2c5e | [
"MIT"
] | 1 | 2018-09-08T16:47:38.000Z | 2018-09-08T16:47:38.000Z | tests/Symfony/Tests/Component/Security/Core/Authorization/Voter/RoleHierarchyVoterTest.php | bcremer/symfony | 42fe9fc35fc7821f585379afe67d4a8bec7c2c5e | [
"MIT"
] | 17 | 2018-05-11T12:16:08.000Z | 2019-01-15T21:44:51.000Z | tests/Symfony/Tests/Component/Security/Core/Authorization/Voter/RoleHierarchyVoterTest.php | bcremer/symfony | 42fe9fc35fc7821f585379afe67d4a8bec7c2c5e | [
"MIT"
] | 1 | 2022-03-29T01:14:21.000Z | 2022-03-29T01:14:21.000Z | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Tests\Component\Security\Core\Authorization\Voter;
use Symfony\... | 29.358974 | 102 | 0.71441 |
742b534851c59c23dc7c449910602461852d2e25 | 1,638 | css | CSS | main.css | tomwalsh-home/zoom-mirror | e6200a609f67152ddd47808bc5954305f144672d | [
"MIT"
] | null | null | null | main.css | tomwalsh-home/zoom-mirror | e6200a609f67152ddd47808bc5954305f144672d | [
"MIT"
] | null | null | null | main.css | tomwalsh-home/zoom-mirror | e6200a609f67152ddd47808bc5954305f144672d | [
"MIT"
] | null | null | null | html, body {
height: 100%;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
background: #1D1F20;
}
#subtitle {
color: #eee;
font-family: 'Raleway';
display: flex;
align-items: center;
justify-content: center;
padding-top: 20px;
}
#camera {
display: flex;
... | 20.475 | 109 | 0.634921 |
be3b5e6a967d04bb4473e633ea2131d6ad098a7e | 173 | ts | TypeScript | Code/RepairShop/wwwroot/app/login.init.ts | AymanGaafar/RepairShop | 5f9f1852e9838a11a3be6117ba921709228cbbdf | [
"Apache-2.0"
] | null | null | null | Code/RepairShop/wwwroot/app/login.init.ts | AymanGaafar/RepairShop | 5f9f1852e9838a11a3be6117ba921709228cbbdf | [
"Apache-2.0"
] | null | null | null | Code/RepairShop/wwwroot/app/login.init.ts | AymanGaafar/RepairShop | 5f9f1852e9838a11a3be6117ba921709228cbbdf | [
"Apache-2.0"
] | null | null | null | module App
{
angular.module(Config.appName, []);
angular.element(document).ready(function ()
{
angular.bootstrap(document, [Config.appName]);
});
} | 19.222222 | 54 | 0.618497 |
ba9315789594106df2b7ae5ec1f0e6f5b9a91185 | 457 | go | Go | golang/buildings_with_an_ocean_view/find_buildings.go | lee-hen/leetcode | d1045d4dd168af743fc36c1244accb8091c892da | [
"MIT"
] | 1 | 2022-01-26T20:25:15.000Z | 2022-01-26T20:25:15.000Z | golang/buildings_with_an_ocean_view/find_buildings.go | lee-hen/leetcode | d1045d4dd168af743fc36c1244accb8091c892da | [
"MIT"
] | null | null | null | golang/buildings_with_an_ocean_view/find_buildings.go | lee-hen/leetcode | d1045d4dd168af743fc36c1244accb8091c892da | [
"MIT"
] | null | null | null | package buildings_with_an_ocean_view
func FindBuildings(heights []int) []int {
oceanView := make([]int, 0)
oceanView = append(oceanView, len(heights)-1)
max := heights[len(heights)-1]
for i := len(heights)-2; i >= 0; i-- {
if heights[i] > max {
max = heights[i]
oceanView = append(oceanView, i)
}
}
for... | 22.85 | 58 | 0.628009 |
14d038e8c68e42c53321e546f13cc380df3697d2 | 973 | ts | TypeScript | src/bots/bots.service.ts | trungtranthanh93/bot--telegram-backend | 0ea0db399771573e2584b6e41f6b19ff7298022d | [
"MIT"
] | null | null | null | src/bots/bots.service.ts | trungtranthanh93/bot--telegram-backend | 0ea0db399771573e2584b6e41f6b19ff7298022d | [
"MIT"
] | null | null | null | src/bots/bots.service.ts | trungtranthanh93/bot--telegram-backend | 0ea0db399771573e2584b6e41f6b19ff7298022d | [
"MIT"
] | null | null | null | import { HttpException, HttpStatus, Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { CreateBotDto } from './dto/create-bot.dto';
import { UpdateBotDto } from './dto/update-bot.dto';
import { Bot } from './entities/bot.entity';
@Injec... | 25.605263 | 71 | 0.669065 |