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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a9fda78a974b10f3cebe9b0768c1cf5953e90f7d | 18,530 | php | PHP | src/Kernel/Support/AcpService.php | ileapy/upsdk | 0e3d02ab38a2037eb2d77672480a6fe5809b051d | [
"MIT"
] | 12 | 2021-08-16T13:23:57.000Z | 2022-03-15T07:12:49.000Z | src/Kernel/Support/AcpService.php | ileapy/upsdk | 0e3d02ab38a2037eb2d77672480a6fe5809b051d | [
"MIT"
] | null | null | null | src/Kernel/Support/AcpService.php | ileapy/upsdk | 0e3d02ab38a2037eb2d77672480a6fe5809b051d | [
"MIT"
] | 1 | 2021-08-23T12:28:22.000Z | 2021-08-23T12:28:22.000Z | <?php
/**
* User: cfn <cfn@leapy.cn>
* Datetime: 2021/8/18 9:02
* Copyright: php
*/
namespace unionpay\Kernel\Support;
/**
* Class AcpService
*
* @package unionpay\Kernel\Support
*/
class AcpService
{
/**
* 取得备份文件名
* @param string $path 文件地址
* @return string
* @author cfn <cfn@leapy.cn... | 32.85461 | 477 | 0.543335 |
6b675464114bf535783173571ce91c5f7d5bcc85 | 1,699 | cpp | C++ | PackageManager/L3dPackageInstaller/PackageSearch.cpp | Loksim3D/loksim3d-source | f36ca426522326fe1befcf5dab932157b1d2d191 | [
"MIT"
] | 2 | 2018-02-03T16:06:54.000Z | 2019-07-12T09:04:12.000Z | PackageManager/L3dPackageInstaller/PackageSearch.cpp | Loksim3D/loksim3d-source | f36ca426522326fe1befcf5dab932157b1d2d191 | [
"MIT"
] | null | null | null | PackageManager/L3dPackageInstaller/PackageSearch.cpp | Loksim3D/loksim3d-source | f36ca426522326fe1befcf5dab932157b1d2d191 | [
"MIT"
] | 2 | 2019-04-30T21:06:24.000Z | 2019-12-06T09:38:04.000Z | #include "StdAfx.h"
#include "PackageSearch.h"
#include <KompexSQLiteException.h>
#include "DBHelper.h"
namespace l3d
{
namespace packageinstaller
{
namespace db
{
using namespace std;
using namespace Kompex;
PackageSearch::PackageSearch(void) : db(DBHelper::instance().GetOwnDbConnection())
{
dbStmt.reset(new SQLi... | 22.064935 | 105 | 0.727487 |
6a446f0d82e432fe3802226ababee4c68567b091 | 1,461 | swift | Swift | iOS/Circles/View/CircleShape.swift | JacopoMangiavacchi/SwiftUICircle | 4ffd2b980f2c4938444abf3b188bf5c4b262906a | [
"MIT"
] | 2 | 2020-02-02T16:32:24.000Z | 2021-03-09T09:34:24.000Z | iOS/Circles/View/CircleShape.swift | JacopoMangiavacchi/SwiftUICircle | 4ffd2b980f2c4938444abf3b188bf5c4b262906a | [
"MIT"
] | null | null | null | iOS/Circles/View/CircleShape.swift | JacopoMangiavacchi/SwiftUICircle | 4ffd2b980f2c4938444abf3b188bf5c4b262906a | [
"MIT"
] | 2 | 2020-06-02T14:09:07.000Z | 2020-12-24T08:40:41.000Z | //
// CircleShape.swift
// Circles
//
// Created by Jacopo Mangiavacchi on 9/21/19.
// Copyright © 2019 Jacopo Mangiavacchi. All rights reserved.
//
import SwiftUI
struct CircleShape: Shape {
var pct: Double
var circleState: CircleState
let speed: (x: Int, y: Int)
func drawFigure(scaleX: Double, ... | 29.22 | 103 | 0.533881 |
e060eaa115e493697a3a6e1cb8c609ffb6b2917f | 1,163 | cs | C# | src/IxMilia.Dxf/Entities/Generated/DxfEntityTypeGenerated.cs | oholloway/Dxf | dc0ee1d7f1c2a3c7f7960caeaa35acc9ced7e77f | [
"Apache-2.0"
] | null | null | null | src/IxMilia.Dxf/Entities/Generated/DxfEntityTypeGenerated.cs | oholloway/Dxf | dc0ee1d7f1c2a3c7f7960caeaa35acc9ced7e77f | [
"Apache-2.0"
] | null | null | null | src/IxMilia.Dxf/Entities/Generated/DxfEntityTypeGenerated.cs | oholloway/Dxf | dc0ee1d7f1c2a3c7f7960caeaa35acc9ced7e77f | [
"Apache-2.0"
] | null | null | null | // Copyright (c) IxMilia. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// The contents of this file are automatically generated by a tool, and should not be directly modified.
using System;
using System.Collections.Generic;
using ... | 20.051724 | 158 | 0.548581 |
a3cbbaa652afc8fc2b624e0a5d4fcbb57d259da1 | 2,098 | java | Java | styx-service-common/src/test/java/com/spotify/styx/state/EventConsumerTest.java | Bug-hunting-github/styx | 3943c2149f9290e7c130c36df84bc657fc6c7c22 | [
"Apache-2.0"
] | 254 | 2016-11-25T16:13:50.000Z | 2022-03-31T16:07:01.000Z | styx-service-common/src/test/java/com/spotify/styx/state/EventConsumerTest.java | kunal-kushwaha/styx | 817cdc3f95382c4e4e11232e3a2de484de8a2bea | [
"Apache-2.0"
] | 889 | 2016-11-25T16:28:49.000Z | 2022-03-30T17:56:51.000Z | styx-service-common/src/test/java/com/spotify/styx/state/EventConsumerTest.java | kunal-kushwaha/styx | 817cdc3f95382c4e4e11232e3a2de484de8a2bea | [
"Apache-2.0"
] | 46 | 2016-12-04T00:47:42.000Z | 2022-03-18T09:01:40.000Z | /*-
* -\-\-
* Spotify Styx Service Common
* --
* Copyright (C) 2019 Spotify AB
* --
* 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.... | 33.301587 | 88 | 0.745949 |
f80afad5f34ddaebc7cfde9e1c7177042b2c037d | 171 | kt | Kotlin | app/src/main/java/com/shaunhossain/bornomala/ViewModel/AlphabatSelectionViewModel.kt | shaunhossain/Bornomala | 948d71cd2be09f8a5f1af479a42a12d6d0c9f830 | [
"Apache-2.0"
] | 1 | 2022-01-07T03:55:34.000Z | 2022-01-07T03:55:34.000Z | app/src/main/java/com/shaunhossain/bornomala/ViewModel/AlphabatSelectionViewModel.kt | shaunhossain/Bornomala | 948d71cd2be09f8a5f1af479a42a12d6d0c9f830 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/shaunhossain/bornomala/ViewModel/AlphabatSelectionViewModel.kt | shaunhossain/Bornomala | 948d71cd2be09f8a5f1af479a42a12d6d0c9f830 | [
"Apache-2.0"
] | null | null | null | package com.shaunhossain.bornomala.ViewModel
import androidx.lifecycle.ViewModel
class AlphabatSelectionViewModel : ViewModel() {
// TODO: Implement the ViewModel
}
| 21.375 | 48 | 0.80117 |
2495845701056be30fa482f9a39dde15800facca | 1,993 | php | PHP | app/Services/Translations/JavaScript.php | Redish101/blessing-skin-server | e37891350e5abd83c475ad39291275d6e0723e81 | [
"MIT"
] | 522 | 2018-12-05T03:42:30.000Z | 2022-03-31T11:52:05.000Z | app/Services/Translations/JavaScript.php | Redish101/blessing-skin-server | e37891350e5abd83c475ad39291275d6e0723e81 | [
"MIT"
] | 278 | 2019-02-28T01:28:52.000Z | 2022-03-31T04:10:15.000Z | app/Services/Translations/JavaScript.php | Redish101/blessing-skin-server | e37891350e5abd83c475ad39291275d6e0723e81 | [
"MIT"
] | 123 | 2019-03-17T03:29:56.000Z | 2022-03-30T16:40:06.000Z | <?php
namespace App\Services\Translations;
use App\Services\Plugin;
use App\Services\PluginManager;
use Illuminate\Cache\Repository;
use Illuminate\Filesystem\Filesystem;
class JavaScript
{
protected Filesystem $filesystem;
protected Repository $cache;
protected PluginManager $plugins;
protected $... | 31.634921 | 98 | 0.613648 |
07c76bd4e5bb73f501962fe0b8a1301653ca6036 | 1,145 | sql | SQL | conf/evolutions/default/1.sql | gteranUTC/Producto2acevallo | 6275f32224736b901f90ae1153ffeb3ef4bd6270 | [
"Apache-2.0"
] | null | null | null | conf/evolutions/default/1.sql | gteranUTC/Producto2acevallo | 6275f32224736b901f90ae1153ffeb3ef4bd6270 | [
"Apache-2.0"
] | null | null | null | conf/evolutions/default/1.sql | gteranUTC/Producto2acevallo | 6275f32224736b901f90ae1153ffeb3ef4bd6270 | [
"Apache-2.0"
] | null | null | null | # --- First database schema
# --- !Ups
create table cliente (
id bigint not null,
nombre varchar(255),
apellido varchar(255),
direccion varchar(255),
telefono varchar(255),
constraint pk_cliente primary key... | 26.022727 | 141 | 0.619214 |
ef91168fcf57cd1b6cc1f831fbfaa3ca7a3d02ef | 149 | lua | Lua | src/main/resources/lua/keys_renewal.lua | luoxn28/redis-lock | 77a3bbc2425be9364c7961047902d4ed2d5bc61c | [
"Apache-2.0"
] | 4 | 2018-12-04T01:17:10.000Z | 2019-10-09T02:19:47.000Z | src/main/resources/lua/keys_renewal.lua | luoxn28/redis-lock | 77a3bbc2425be9364c7961047902d4ed2d5bc61c | [
"Apache-2.0"
] | null | null | null | src/main/resources/lua/keys_renewal.lua | luoxn28/redis-lock | 77a3bbc2425be9364c7961047902d4ed2d5bc61c | [
"Apache-2.0"
] | 1 | 2019-07-17T01:08:14.000Z | 2019-07-17T01:08:14.000Z | if (redis.call('get', KEYS[1]) == ARGV[1]) then
for i, key in pairs(KEYS) do
redis.call('expire', key, ARGV[2])
end
return true
end
return false | 21.285714 | 47 | 0.657718 |
80c56283bb0445cd18373fef5ef32a623c66a753 | 40 | sql | SQL | src/test/binary_swap/sql/diff_dumps.sql | wapache-org/greenplum-gpdb | 79e2bd251c1d27054846f630acd52e7903854829 | [
"PostgreSQL",
"Apache-2.0"
] | 5,535 | 2015-10-28T01:05:40.000Z | 2022-03-30T13:46:53.000Z | src/test/binary_swap/sql/diff_dumps.sql | wapache-org/greenplum-gpdb | 79e2bd251c1d27054846f630acd52e7903854829 | [
"PostgreSQL",
"Apache-2.0"
] | 9,369 | 2015-10-28T07:48:01.000Z | 2022-03-31T23:56:42.000Z | src/test/binary_swap/sql/diff_dumps.sql | wapache-org/greenplum-gpdb | 79e2bd251c1d27054846f630acd52e7903854829 | [
"PostgreSQL",
"Apache-2.0"
] | 1,800 | 2015-10-28T01:08:25.000Z | 2022-03-29T13:29:36.000Z | \! diff dump_other.sql dump_current.sql
| 20 | 39 | 0.8 |
383dc5ce6216825f29e6e9dd85007e76d21e7f33 | 1,929 | php | PHP | application/views/admin/includes/sidenav.php | N00bie-to-Github/cheryl_site | 03b1c68a9439389645008381ab0351cdd4d95b36 | [
"MIT"
] | null | null | null | application/views/admin/includes/sidenav.php | N00bie-to-Github/cheryl_site | 03b1c68a9439389645008381ab0351cdd4d95b36 | [
"MIT"
] | null | null | null | application/views/admin/includes/sidenav.php | N00bie-to-Github/cheryl_site | 03b1c68a9439389645008381ab0351cdd4d95b36 | [
"MIT"
] | null | null | null | <div id="layoutSidenav_nav">
<nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
<div class="sb-sidenav-menu">
<div class="nav">
<div class="sb-sidenav-menu-heading">Navigation</div>
<a class="nav-link" href="/admin/home">
... | 50.763158 | 159 | 0.479005 |
1b9fd1903f67cb7546b3b2191194c1484846056a | 133 | rb | Ruby | spec/support/factories.rb | Ricardonacif/banking_app | c4b68c780aa43c185d4bb827f0df80fb47287080 | [
"MIT"
] | null | null | null | spec/support/factories.rb | Ricardonacif/banking_app | c4b68c780aa43c185d4bb827f0df80fb47287080 | [
"MIT"
] | null | null | null | spec/support/factories.rb | Ricardonacif/banking_app | c4b68c780aa43c185d4bb827f0df80fb47287080 | [
"MIT"
] | null | null | null | FactoryGirl.define do
factory :account_repository, class: BankingApp::Repositories::AccountRepository do
balance 445
end
end
| 22.166667 | 84 | 0.796992 |
39613a52008ca795e2aa71ff67d9153bfc4fe701 | 1,619 | rs | Rust | src/lexer.rs | aleph-oh/yali-rs | 7e589abde49ff17d6c7135ee73d5499756879a42 | [
"MIT"
] | null | null | null | src/lexer.rs | aleph-oh/yali-rs | 7e589abde49ff17d6c7135ee73d5499756879a42 | [
"MIT"
] | null | null | null | src/lexer.rs | aleph-oh/yali-rs | 7e589abde49ff17d6c7135ee73d5499756879a42 | [
"MIT"
] | null | null | null | //! This module contains a lexer which supports single-line comments.
/// Lexes a provided string into individual separated tokens.
pub(crate) fn lex<S>(src: S) -> Vec<String>
where
S: AsRef<str>,
{
let no_comments = src
.as_ref()
.replace('(', " ( ")
.replace(')', " ) ")
.lines... | 23.128571 | 88 | 0.528721 |
0a5d6ef6e8a234fcda7ff4bad13d9ce6e604ff64 | 305 | cs | C# | src/WinTenDev.Zizi.Models/Configs/DataDogConfig.cs | WinTenDev/ZiziBot.NET | ddf93262ee633bc51ca25a10e4b9e02595d637cd | [
"MIT"
] | 11 | 2021-05-11T12:56:42.000Z | 2021-09-17T14:47:16.000Z | src/WinTenDev.Zizi.Models/Configs/DataDogConfig.cs | WinTenDev/ZiziBot.NET | ddf93262ee633bc51ca25a10e4b9e02595d637cd | [
"MIT"
] | null | null | null | src/WinTenDev.Zizi.Models/Configs/DataDogConfig.cs | WinTenDev/ZiziBot.NET | ddf93262ee633bc51ca25a10e4b9e02595d637cd | [
"MIT"
] | 2 | 2021-06-09T20:22:20.000Z | 2021-09-23T00:51:48.000Z | using System.Collections.Generic;
namespace WinTenDev.Zizi.Models.Configs;
public class DataDogConfig
{
public bool IsEnabled { get; set; }
public string ApiKey { get; set; }
public string Host { get; set; }
public string Source { get; set; }
public List<string> Tags { get; set; }
} | 25.416667 | 42 | 0.685246 |
8cecb7a0af3e6ce77ab6a5d6aa1d32305eaa242b | 1,264 | swift | Swift | Ladybug/UiLabelExtension.swift | langyx/Ladybug-Epitech-Intranet-iOS-App | 7513df402e4b98ed3d90de1fbf3fb50307578727 | [
"Apache-2.0"
] | null | null | null | Ladybug/UiLabelExtension.swift | langyx/Ladybug-Epitech-Intranet-iOS-App | 7513df402e4b98ed3d90de1fbf3fb50307578727 | [
"Apache-2.0"
] | null | null | null | Ladybug/UiLabelExtension.swift | langyx/Ladybug-Epitech-Intranet-iOS-App | 7513df402e4b98ed3d90de1fbf3fb50307578727 | [
"Apache-2.0"
] | null | null | null | //
// UiLabelExtension.swift
// Ladybug
//
// Created by Yannis Lang on 24/12/2016.
// Copyright © 2016 Yannis. All rights reserved.
//
import Foundation
import UIKit
extension UILabel {
func ApplyGradeColor() -> Void {
if self.text != nil {
switch self.text! {
case "Acquis":
... | 24.784314 | 49 | 0.469146 |
e461e1dbc94f27e0e3fca561035490ac110afd94 | 2,357 | sh | Shell | tests/bash-bats/eosio_uninstall.sh | armoniax/amax.meta.chain | 5c16d2b5a520b69e8544c6920c102f208ba69552 | [
"MIT"
] | null | null | null | tests/bash-bats/eosio_uninstall.sh | armoniax/amax.meta.chain | 5c16d2b5a520b69e8544c6920c102f208ba69552 | [
"MIT"
] | null | null | null | tests/bash-bats/eosio_uninstall.sh | armoniax/amax.meta.chain | 5c16d2b5a520b69e8544c6920c102f208ba69552 | [
"MIT"
] | null | null | null | #!/usr/bin/env bats
load helpers/general
SCRIPT_LOCATION="scripts/amax_uninstall.sh"
TEST_LABEL="[amax_uninstall]"
mkdir -p $SRC_DIR
mkdir -p $OPT_DIR
mkdir -p $VAR_DIR
mkdir -p $BIN_DIR
mkdir -p $VAR_DIR/log
mkdir -p $ETC_DIR
mkdir -p $LIB_DIR
mkdir -p $MONGODB_LOG_DIR
mkdir -p $MONGODB_DATA_DIR
# A helper function... | 32.287671 | 170 | 0.588884 |
8e87d580974dce6e3f7dc6d2561f5d92de48a731 | 651 | js | JavaScript | server.js | Tejaswika/Web-Development | d66aa20cfa289bf6411fd56261deeb7f21cbc2e0 | [
"MIT"
] | 2 | 2021-05-29T22:17:28.000Z | 2021-06-15T10:37:04.000Z | server.js | shubhagrawal123456/Web-Development | 22d57cfdc369aa1db17f06327454c236776e3b8e | [
"MIT"
] | 1 | 2020-10-21T12:59:15.000Z | 2020-10-21T12:59:15.000Z | server.js | shubhagrawal123456/Web-Development | 22d57cfdc369aa1db17f06327454c236776e3b8e | [
"MIT"
] | null | null | null | const express = require('express');
const bodyParser = require('body-parser');
const port = 8080;
const app = express();
app.use(bodyParser.urlencoded({extended: false}));
app.use(bodyParser.json());
app.use((req,res,next)=>{
res.setHeader('Access-Control-Allow-Origin', '*');
res.setHeader('Access... | 28.304348 | 80 | 0.632873 |
8d422a7b4648672c3d48248e5c503871542cee6a | 61 | sh | Shell | doc/manuales/permisos.sh | saltares/grannys-bloodbath | 6c124ec77c19d81e81b2325bb633fd0d9c236c60 | [
"MIT"
] | 1 | 2018-12-31T12:44:57.000Z | 2018-12-31T12:44:57.000Z | doc/manuales/permisos.sh | saltares/grannys-bloodbath | 6c124ec77c19d81e81b2325bb633fd0d9c236c60 | [
"MIT"
] | null | null | null | doc/manuales/permisos.sh | saltares/grannys-bloodbath | 6c124ec77c19d81e81b2325bb633fd0d9c236c60 | [
"MIT"
] | 1 | 2018-12-31T12:45:02.000Z | 2018-12-31T12:45:02.000Z | cd nombre de la carpeta del juego
chmod 777 grannysbloodbath
| 20.333333 | 33 | 0.836066 |
a3675abd3cb84bc875e96968f30253ec5dd9b4b6 | 1,512 | java | Java | common-dataformat/src/main/java/org/group/jcommon/protobuf/jackson/buildin/deserializers/DurationDeserializer.java | GroupServices/jcommon | 157c13444ff061f7001783cfab81f001cee91e92 | [
"Unlicense"
] | null | null | null | common-dataformat/src/main/java/org/group/jcommon/protobuf/jackson/buildin/deserializers/DurationDeserializer.java | GroupServices/jcommon | 157c13444ff061f7001783cfab81f001cee91e92 | [
"Unlicense"
] | null | null | null | common-dataformat/src/main/java/org/group/jcommon/protobuf/jackson/buildin/deserializers/DurationDeserializer.java | GroupServices/jcommon | 157c13444ff061f7001783cfab81f001cee91e92 | [
"Unlicense"
] | null | null | null | package org.group.jcommon.protobuf.jackson.buildin.deserializers;
import java.io.IOException;
import java.text.ParseException;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.... | 32.869565 | 118 | 0.738757 |
88790f75d3467df2bbef7476dc7d866e855d5f4e | 5,003 | swift | Swift | C-VIP-S_ArchitectureExample/Base/Implementations/BaseRouter.swift | kingsleyawak/C-VIP-S_ArchitectureExample | 77043e730f59490bdd2ff737e75a90ff88b18376 | [
"Unlicense"
] | 1 | 2019-04-09T13:20:50.000Z | 2019-04-09T13:20:50.000Z | C-VIP-S_ArchitectureExample/Base/Implementations/BaseRouter.swift | kingsleyawak/C-VIP-S_ArchitectureExample | 77043e730f59490bdd2ff737e75a90ff88b18376 | [
"Unlicense"
] | null | null | null | C-VIP-S_ArchitectureExample/Base/Implementations/BaseRouter.swift | kingsleyawak/C-VIP-S_ArchitectureExample | 77043e730f59490bdd2ff737e75a90ff88b18376 | [
"Unlicense"
] | null | null | null | //
// BaseRouter.swift
// C-VIP-S_ArchitectureExample
//
// Created by Kingsley Edem Awak on 3/27/19.
// Copyright © 2019 Kingsley Edem Awak. All rights reserved.
//
import UIKit
class BaseRouter:Router {
var rootNavigationController:UINavigationController
var activeModules: Set<ModuleReference> = [... | 34.034014 | 138 | 0.651409 |
4ce484ecc38278ecea33be0cfb19f3c9f0983e12 | 18,650 | py | Python | src/scripts/alchi-web.py | milahu/alchi | 6484d4a877d47204e28cf1a32a5d9da8705aff25 | [
"CC0-1.0"
] | 3 | 2020-08-12T16:57:23.000Z | 2021-03-15T18:39:48.000Z | src/scripts/alchi-web.py | milahu/alchi | 6484d4a877d47204e28cf1a32a5d9da8705aff25 | [
"CC0-1.0"
] | 4 | 2020-09-22T19:25:43.000Z | 2022-02-14T20:51:16.000Z | src/scripts/alchi-web.py | milahu/alchi | 6484d4a877d47204e28cf1a32a5d9da8705aff25 | [
"CC0-1.0"
] | 1 | 2021-04-06T11:18:17.000Z | 2021-04-06T11:18:17.000Z | #!/usr/bin/python3
"""
the web of sixteen types
the nunu matrix
two power four
latin square of order four
"""
# definitions
names = [
None, 'F1', 'M2', 'M3', 'F4', # left = matriarchy
None, 'M1', 'F2', 'F3', 'M4', # right = patriarchy
]
names_long = [
None, # 0
'female fire', # 1
'male earth', ... | 21.560694 | 105 | 0.418713 |
04150c6c2f663f34c5226c52cc401950a95477ed | 15,989 | lua | Lua | src/TestTree.lua | chess123mate/TestRunnerPlugin | 1a9515cfd56c3858a1378ff4aeccd3a9dbdbfbb6 | [
"MIT"
] | null | null | null | src/TestTree.lua | chess123mate/TestRunnerPlugin | 1a9515cfd56c3858a1378ff4aeccd3a9dbdbfbb6 | [
"MIT"
] | null | null | null | src/TestTree.lua | chess123mate/TestRunnerPlugin | 1a9515cfd56c3858a1378ff4aeccd3a9dbdbfbb6 | [
"MIT"
] | null | null | null | --[[TestTree monitors all module scripts for testing purposes.
It runs tests on startup and whenever any of the following change:
testSettings (user settings)
testConfigTree (any TestConfig ModuleScript)
moduleScript.Source for any test or dependency
When a test is run, a report is printed automatically.
]]
local m... | 35.452328 | 146 | 0.756395 |
8db686790f6b0e022da4bee67729e41c5777e5b3 | 3,561 | js | JavaScript | src/js/modules/projectPage.projectSettings.js | mkoeppen/frontend-checker-chrome-extension | 949203d39ecef2c143e529adddfbe93083980077 | [
"MIT"
] | null | null | null | src/js/modules/projectPage.projectSettings.js | mkoeppen/frontend-checker-chrome-extension | 949203d39ecef2c143e529adddfbe93083980077 | [
"MIT"
] | null | null | null | src/js/modules/projectPage.projectSettings.js | mkoeppen/frontend-checker-chrome-extension | 949203d39ecef2c143e529adddfbe93083980077 | [
"MIT"
] | null | null | null | 'use strict'
export default class ProjectSettings {
constructor(projectHandler, project) {
this.element = undefined;
this.project = project;
this.projectHandler = projectHandler;
this.whitelistInput = undefined;
this.blacklistInput = undefined;
this.matchingInfo = un... | 49.458333 | 189 | 0.629318 |
133f59cce862d8200b17f0c7cc149550030f0c57 | 1,685 | lua | Lua | scripts/movement.lua | luis-dbdev/Game-1 | 2ccfc0416e81ae2e01cb417f9e4712496e889ae6 | [
"MIT"
] | null | null | null | scripts/movement.lua | luis-dbdev/Game-1 | 2ccfc0416e81ae2e01cb417f9e4712496e889ae6 | [
"MIT"
] | null | null | null | scripts/movement.lua | luis-dbdev/Game-1 | 2ccfc0416e81ae2e01cb417f9e4712496e889ae6 | [
"MIT"
] | null | null | null | -- movement.lua
-- Performance bindings
local print = print
local bit = bit
local table = table
local ipairs = ipairs
-- Return table
move = {}
move.direction = 0
move.buffer = {}
move.jumping = false
-- Script global locals
local speedX = 0 -- Abstracted away from main.lua
local speedY = 0 -- Abst... | 24.42029 | 68 | 0.661128 |
2fa77995f771d0026d97fecc96a2146bcbb0ce25 | 7,115 | kt | Kotlin | LeMoinCoinAndroid/app/src/main/java/lemoin/lemoincoinandroid/SendCoin.kt | SpamAndEgg/LeMoinCoin | 6a0742cc4c72ce21ee856322283ea0a3f6db1d90 | [
"MIT"
] | 2 | 2018-03-17T13:33:33.000Z | 2018-04-03T12:02:50.000Z | LeMoinCoinAndroid/app/src/main/java/lemoin/lemoincoinandroid/SendCoin.kt | SpamAndEgg/LeMoinCoin | 6a0742cc4c72ce21ee856322283ea0a3f6db1d90 | [
"MIT"
] | 6 | 2018-03-17T13:25:59.000Z | 2018-09-11T09:41:22.000Z | LeMoinCoinAndroid/app/src/main/java/lemoin/lemoincoinandroid/SendCoin.kt | SpamAndEgg/LeMoinCoin | 6a0742cc4c72ce21ee856322283ea0a3f6db1d90 | [
"MIT"
] | null | null | null | package lemoin.lemoincoinandroid
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.support.v7.app.AppCompatActivity
import com.android.volley.Request
import com.android.volley.Response
import com.android.volley.toolbox.JsonObjectRequest
import c... | 38.879781 | 105 | 0.614055 |
b08e4eaab9e1eded174a9cd46d798f84311d0495 | 10,807 | py | Python | swarms/lib/space.py | aadeshnpn/swarm | 873e5d90de4a3b3f69d4edc8de55eb9311226c2e | [
"MIT"
] | 9 | 2018-03-26T22:22:08.000Z | 2021-08-30T20:45:27.000Z | swarms/lib/space.py | aadeshnpn/swarm | 873e5d90de4a3b3f69d4edc8de55eb9311226c2e | [
"MIT"
] | 1 | 2021-05-06T12:45:11.000Z | 2021-05-12T07:21:53.000Z | swarms/lib/space.py | aadeshnpn/swarm | 873e5d90de4a3b3f69d4edc8de55eb9311226c2e | [
"MIT"
] | 1 | 2019-04-22T00:27:09.000Z | 2019-04-22T00:27:09.000Z | # -*- coding: utf-8 -*-
"""
The grid class for swarm framework.
Grid: base grid, a simple dictionary.
"""
import math
import numpy as np
import re
class Grid:
"""Grid class.
Class that defines grid strucutre having attribute
Width, height and grid size.
"""
# pylint: disable=too-many-instance-... | 38.459075 | 94 | 0.570371 |
ed14b926e7ef05c30861a9d253b65ddbefa889c2 | 11,080 | c | C | ubsan.c | uli/allwinner-bare-metal | ea55715ac31942d7af3a6babba29514c8a2f0d49 | [
"MIT"
] | 5 | 2019-04-25T20:03:19.000Z | 2021-12-29T23:28:17.000Z | ubsan.c | uli/allwinner-bare-metal | ea55715ac31942d7af3a6babba29514c8a2f0d49 | [
"MIT"
] | null | null | null | ubsan.c | uli/allwinner-bare-metal | ea55715ac31942d7af3a6babba29514c8a2f0d49 | [
"MIT"
] | 1 | 2021-12-31T01:33:02.000Z | 2021-12-31T01:33:02.000Z | /*-
* Copyright (c) 2017 The FreeBSD Foundation
* All rights reserved.
*
* As a reference, this code uses the software from the contrib/compiler-rt
* implementation of the userspace UBSAN runtime, which is developed as part
* of the LLVM project under the University of Illinois Open Source License.
*
* Redistri... | 26.070588 | 86 | 0.72843 |
2fdc13976fdfd81b965611c8c806d706ebb39b7e | 2,214 | py | Python | comparison/count_trees.py | J-Moravec/pairtree | 91cbba628b78aea31034efb080976fdb47d83976 | [
"MIT"
] | 15 | 2021-01-19T21:13:50.000Z | 2022-02-02T00:01:33.000Z | comparison/count_trees.py | J-Moravec/pairtree | 91cbba628b78aea31034efb080976fdb47d83976 | [
"MIT"
] | 17 | 2020-11-25T09:41:03.000Z | 2022-03-28T04:52:14.000Z | comparison/count_trees.py | J-Moravec/pairtree | 91cbba628b78aea31034efb080976fdb47d83976 | [
"MIT"
] | 6 | 2021-01-01T06:00:31.000Z | 2021-06-29T15:03:11.000Z | import argparse
import pickle
import numpy as np
from numba import njit
@njit
def count_trees(tau, phi, order, traversal):
assert traversal == 'dfs' or traversal == 'bfs'
K = len(tau)
expected_colsum = np.ones(K)
expected_colsum[0] = 0
first_partial = np.copy(tau)
np.fill_diagonal(first_partial, 0)
firs... | 25.744186 | 66 | 0.646793 |
da67074c722817fdecdfdb2e4751c711b418f500 | 5,816 | php | PHP | app/Http/Controllers/Rapports/PoudreTestController.php | SimonLou-Dev/rescue-panel | 43932779de1a8e1120811710f1b41c9bb8ab0a54 | [
"RSA-MD"
] | 1 | 2022-03-12T19:35:38.000Z | 2022-03-12T19:35:38.000Z | app/Http/Controllers/Rapports/PoudreTestController.php | SimonLou-Dev/rescue-panel | 43932779de1a8e1120811710f1b41c9bb8ab0a54 | [
"RSA-MD"
] | null | null | null | app/Http/Controllers/Rapports/PoudreTestController.php | SimonLou-Dev/rescue-panel | 43932779de1a8e1120811710f1b41c9bb8ab0a54 | [
"RSA-MD"
] | 1 | 2022-03-13T20:27:15.000Z | 2022-03-13T20:27:15.000Z | <?php
namespace App\Http\Controllers\Rapports;
use App\Enums\DiscordChannel;
use App\Events\Notify;
use App\Http\Controllers\Controller;
use App\Http\Controllers\LogsController;
use App\Http\Controllers\Patient\PatientController;
use App\Jobs\ProcessEmbedPosting;
use App\Jobs\ProcesTestPoudrePDFGenerator;
use App\Mod... | 36.35 | 109 | 0.485557 |
8fb165546dab0ab922f001ad1b365141fb628add | 1,582 | swift | Swift | SimulationFramework/SmartSimulationFramework/SmartSimulationFramework/Groups/Religious.swift | mrommel/SmartSimulation | 19ee89102a514933fa7007dd3a21bdaf28ff24e3 | [
"MIT"
] | null | null | null | SimulationFramework/SmartSimulationFramework/SmartSimulationFramework/Groups/Religious.swift | mrommel/SmartSimulation | 19ee89102a514933fa7007dd3a21bdaf28ff24e3 | [
"MIT"
] | null | null | null | SimulationFramework/SmartSimulationFramework/SmartSimulationFramework/Groups/Religious.swift | mrommel/SmartSimulation | 19ee89102a514933fa7007dd3a21bdaf28ff24e3 | [
"MIT"
] | null | null | null | //
// Religious.swift
// SmartSimulationFramework
//
// Created by Michael Rommel on 19.10.18.
// Copyright © 2018 Michael Rommel. All rights reserved.
//
import Foundation
public class Religious: Group {
init() {
super.init(
identifier: "Religious",
image: nil,
name: "Rel... | 41.631579 | 370 | 0.69469 |
b5c3ac2133b9b09a61f192d962990f24c9861c18 | 257 | swift | Swift | TheMeal/Features/Meals/MealsFeature.swift | gsobrevilla/the-meal-ios | 3b5134a30205de7f737c36adcaf718e61bf3716b | [
"MIT"
] | null | null | null | TheMeal/Features/Meals/MealsFeature.swift | gsobrevilla/the-meal-ios | 3b5134a30205de7f737c36adcaf718e61bf3716b | [
"MIT"
] | null | null | null | TheMeal/Features/Meals/MealsFeature.swift | gsobrevilla/the-meal-ios | 3b5134a30205de7f737c36adcaf718e61bf3716b | [
"MIT"
] | null | null | null | //
// MealsFeature.swift
// TheMeal
//
// Created by Gastón on 07/01/2021.
// Copyright © 2021 Gastón Sobrevilla. All rights reserved.
//
import Foundation
class MealsFeature {
static let storyboard = AppStoryboard(storyboardName: "Meals")
}
| 17.133333 | 66 | 0.696498 |
6849f872e41bba5ed7e2a68ee5d574b8c4ff2bcd | 10,863 | swift | Swift | FIOSDK/FIOSDK/External/Libraries/AbiSerialization/abiSerializer.swift | mghnmtt/fiosdk_ios | fcc3c2918d284cc36a609500668fa8ed797acf40 | [
"MIT"
] | null | null | null | FIOSDK/FIOSDK/External/Libraries/AbiSerialization/abiSerializer.swift | mghnmtt/fiosdk_ios | fcc3c2918d284cc36a609500668fa8ed797acf40 | [
"MIT"
] | 5 | 2020-05-05T22:26:34.000Z | 2020-06-09T21:34:40.000Z | FIOSDK/FIOSDK/External/Libraries/AbiSerialization/abiSerializer.swift | mghnmtt/fiosdk_ios | fcc3c2918d284cc36a609500668fa8ed797acf40 | [
"MIT"
] | 2 | 2020-04-29T15:55:30.000Z | 2021-12-02T09:49:28.000Z | //
// abiSerializer.swift
// FIOSDK
//
// Created by shawn arney on 8/12/19.
// Copyright © 2019 Dapix, Inc. All rights reserved.
//
/*
let abieos: EosioAbieosSerializationProvider? = EosioAbieosSerializationProvider()
let hex = "1686755CA99DE8E73E1200" // some binary data
let json = "{"name": "John"}" // som... | 44.158537 | 150 | 0.644205 |
8ee1c11dc766357a64e6748be712f04d7b3e78c5 | 4,102 | rb | Ruby | app/models/user_swimmer_confirmation.rb | steveoro/goggles_core | fc1f6a8cc346faf75665dcb551ca212045ebc53a | [
"MIT"
] | 1 | 2016-10-05T13:46:47.000Z | 2016-10-05T13:46:47.000Z | app/models/user_swimmer_confirmation.rb | steveoro/goggles_core | fc1f6a8cc346faf75665dcb551ca212045ebc53a | [
"MIT"
] | null | null | null | app/models/user_swimmer_confirmation.rb | steveoro/goggles_core | fc1f6a8cc346faf75665dcb551ca212045ebc53a | [
"MIT"
] | null | null | null | # frozen_string_literal: true
#
# = UserSwimmerConfirmation model
#
# - version: 6.200
# - author: Steve A.
#
# Holds confirmations received by a user about its association with a
# swimmer_id.
#
class UserSwimmerConfirmation < ApplicationRecord
# XXX [Steve, 20170130] We don't care anymore (so much) abo... | 35.982456 | 113 | 0.657972 |
8f4e6cad7748b9037eb980f14b78da7a0c00de76 | 1,087 | dart | Dart | lib/models/countriesData.g.dart | hiteshgarg123/COVID-19-TRACKER | 67bc0b7ad014d1477f4dc7b2f5b12fc14ce2862b | [
"MIT"
] | 7 | 2020-04-28T10:49:51.000Z | 2021-07-30T08:18:43.000Z | lib/models/countriesData.g.dart | hiteshgarg123/COVID-19-TRACKER | 67bc0b7ad014d1477f4dc7b2f5b12fc14ce2862b | [
"MIT"
] | 5 | 2020-09-07T13:31:37.000Z | 2021-05-12T05:51:37.000Z | lib/models/countriesData.g.dart | hiteshgarg123/COVID-19-TRACKER | 67bc0b7ad014d1477f4dc7b2f5b12fc14ce2862b | [
"MIT"
] | 2 | 2020-10-28T18:06:45.000Z | 2021-05-05T16:18:10.000Z | // GENERATED CODE - DO NOT MODIFY BY HAND
part of 'countriesData.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class CountriesDataAdapter extends TypeAdapter<CountriesData> {
... | 25.880952 | 77 | 0.556578 |
bfbda67fd63098e0ea2ba835b07a5ec61a0c6bdf | 2,288 | rb | Ruby | app/models/wechat/model/template.rb | work-design/rails_wechat | c68776133dfc1909f2f5623ea25e0b990dac74a1 | [
"MIT"
] | 6 | 2019-11-19T05:38:34.000Z | 2022-01-27T12:08:53.000Z | app/models/wechat/model/template.rb | work-design/rails_wechat | c68776133dfc1909f2f5623ea25e0b990dac74a1 | [
"MIT"
] | 19 | 2019-06-22T05:03:35.000Z | 2022-03-31T07:00:48.000Z | app/models/wechat/model/template.rb | work-design/rails_wechat | c68776133dfc1909f2f5623ea25e0b990dac74a1 | [
"MIT"
] | 1 | 2019-09-29T02:17:48.000Z | 2019-09-29T02:17:48.000Z | module Wechat
module Model::Template
extend ActiveSupport::Concern
included do
attribute :template_id, :string
attribute :title, :string
attribute :content, :string
attribute :example, :string
attribute :template_type, :integer
attribute :appid, :string, index: true
... | 27.238095 | 107 | 0.642045 |
a9db7d1560cc01114715f9216558145ad97d0933 | 2,546 | php | PHP | src/View/Renderer/YamlRenderer.php | samsonasik/ZF2-AcYaml | 954cc906b27de64d5f29d3d56b3852118373dcca | [
"MIT"
] | null | null | null | src/View/Renderer/YamlRenderer.php | samsonasik/ZF2-AcYaml | 954cc906b27de64d5f29d3d56b3852118373dcca | [
"MIT"
] | null | null | null | src/View/Renderer/YamlRenderer.php | samsonasik/ZF2-AcYaml | 954cc906b27de64d5f29d3d56b3852118373dcca | [
"MIT"
] | null | null | null | <?php
namespace Acelaya\Yaml\View\Renderer;
use Acelaya\Yaml\View\Exception\DomainException;
use Acelaya\Yaml\View\Model\YamlModel;
use Symfony\Component\Yaml\Yaml;
use Zend\Stdlib\ArrayUtils;
use Zend\View\Model\ModelInterface;
use Zend\View\Renderer\JsonRenderer;
/**
* Class YamlStrategy
* @author Alejandro Celay... | 29.604651 | 103 | 0.588767 |
46d738c1f9ab330200160168283d43dff76c8e9b | 804 | py | Python | skaben/alert/admin.py | skaben/server_core | 46ba0551459790dda75abc9cf0ff147fae6d62e8 | [
"MIT"
] | null | null | null | skaben/alert/admin.py | skaben/server_core | 46ba0551459790dda75abc9cf0ff147fae6d62e8 | [
"MIT"
] | 12 | 2020-08-14T12:43:04.000Z | 2021-09-01T00:22:26.000Z | skaben/alert/admin.py | skaben/server_core | 46ba0551459790dda75abc9cf0ff147fae6d62e8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from skaben.admin import base_site
from .models import AlertCounter, AlertState
class AlertStateCustomAdmin(admin.ModelAdmin):
list_display = ('current', 'name', 'info', 'order', 'threshold', 'modifier')
list_filter = [
'current',
]
fieldsets = (
(... | 23.647059 | 80 | 0.599502 |
dd8d71a1bac98d6f0c73a2f1046cc1358e3d9821 | 988 | java | Java | backend/services/reverse-geocoding-service/src/main/java/com/navigation/reversegeocodingapi/infrastructure/database/DatabaseMapper.java | Nalhin/Navigation | df918e86183a1cdb24b247de44ae9fda5fa19cc1 | [
"MIT"
] | null | null | null | backend/services/reverse-geocoding-service/src/main/java/com/navigation/reversegeocodingapi/infrastructure/database/DatabaseMapper.java | Nalhin/Navigation | df918e86183a1cdb24b247de44ae9fda5fa19cc1 | [
"MIT"
] | null | null | null | backend/services/reverse-geocoding-service/src/main/java/com/navigation/reversegeocodingapi/infrastructure/database/DatabaseMapper.java | Nalhin/Navigation | df918e86183a1cdb24b247de44ae9fda5fa19cc1 | [
"MIT"
] | null | null | null | package com.navigation.reversegeocodingapi.infrastructure.database;
import com.navigation.reversegeocodingapi.domain.Address;
import com.navigation.reversegeocodingapi.domain.Location;
import org.springframework.data.mongodb.core.geo.GeoJsonPoint;
import org.springframework.stereotype.Component;
@Component
class Data... | 32.933333 | 77 | 0.710526 |
6b3c39590b75be24bad0befcc075f7035995a976 | 407 | swift | Swift | SwiftDI/Sources/Resolver.swift | robertofrontado/SwiftDI | a03b2c6e48a57d533777cf5f97dc5ca8ffbeb719 | [
"MIT"
] | 8 | 2020-04-20T09:22:55.000Z | 2021-06-25T11:05:08.000Z | SwiftDI/Sources/Resolver.swift | robertofrontado/SwiftDI | a03b2c6e48a57d533777cf5f97dc5ca8ffbeb719 | [
"MIT"
] | null | null | null | SwiftDI/Sources/Resolver.swift | robertofrontado/SwiftDI | a03b2c6e48a57d533777cf5f97dc5ca8ffbeb719 | [
"MIT"
] | null | null | null | //
// Resolver.swift
// SwiftDI
//
// Created by Roberto Frontado on 23/02/2020.
// Copyright © 2020 Roberto Frontado. All rights reserved.
//
internal enum Resolver {
case single(object: Any)
case factory(block: () -> Any)
func resolve() -> Any {
switch self {
case .single(let obj... | 20.35 | 59 | 0.594595 |
4430c8cf6acabc19030dc504a9134803814effae | 476 | py | Python | Python/questions/UniquePaths/unique-paths.py | udcymen/leetcode | 7c7c4085e6a8cea7106dd8bca86b370ca53e3ddd | [
"MIT"
] | null | null | null | Python/questions/UniquePaths/unique-paths.py | udcymen/leetcode | 7c7c4085e6a8cea7106dd8bca86b370ca53e3ddd | [
"MIT"
] | null | null | null | Python/questions/UniquePaths/unique-paths.py | udcymen/leetcode | 7c7c4085e6a8cea7106dd8bca86b370ca53e3ddd | [
"MIT"
] | null | null | null | def uniquePaths(m: int, n: int) -> int:
dp = [[0 for _ in range(m)] for _ in range(n)]
for i in range(m):
dp[0][i] = 1
for j in range(n):
dp[j][0] = 1
for i in range(1, n):
for j in range(1, m):
dp[i][j] = dp[i - 1][j] + dp[i][j - 1]
return... | 22.666667 | 50 | 0.47479 |
5803bdbc0dc6b07f120c5b873b70afea3847abc3 | 2,345 | swift | Swift | Example/ZHLRouter/ZHLPDFViewController.swift | Tang-Hai/ZHLRouter | c424f952ff580eb71532f7a2434af60117f94c47 | [
"MIT"
] | null | null | null | Example/ZHLRouter/ZHLPDFViewController.swift | Tang-Hai/ZHLRouter | c424f952ff580eb71532f7a2434af60117f94c47 | [
"MIT"
] | null | null | null | Example/ZHLRouter/ZHLPDFViewController.swift | Tang-Hai/ZHLRouter | c424f952ff580eb71532f7a2434af60117f94c47 | [
"MIT"
] | null | null | null | //
// ZHLPDFViewController.swift
// ZHLRouter_Example
//
// Created by MAC on 2021/6/9.
// Copyright © 2021 tanghai. All rights reserved.
//
import UIKit
class ZHLPDFViewController: UIViewController {
@IBOutlet weak var imageView: UIImageView!
var name: String = ""
override func viewDid... | 32.123288 | 118 | 0.593603 |
ff761144fdb405559153f7ec1ffedb9d9e57923b | 102 | py | Python | declaraciones/translator_gdl/apps.py | rafaelhn2021/proyecto | 97d01a0524df782985342bf07671ab60e318657f | [
"MIT"
] | null | null | null | declaraciones/translator_gdl/apps.py | rafaelhn2021/proyecto | 97d01a0524df782985342bf07671ab60e318657f | [
"MIT"
] | null | null | null | declaraciones/translator_gdl/apps.py | rafaelhn2021/proyecto | 97d01a0524df782985342bf07671ab60e318657f | [
"MIT"
] | 2 | 2021-07-15T17:20:10.000Z | 2022-03-18T10:26:38.000Z | from django.apps import AppConfig
class TranslatorGdlConfig(AppConfig):
name = 'translator_gdl'
| 17 | 37 | 0.784314 |
9c056d9dd2905e24c0fd626626f4d4619b8f986c | 620 | rs | Rust | src/block.rs | arucil/bittyset | ee8cf9f7068c576f3314a4929803327afd08c331 | [
"MIT"
] | null | null | null | src/block.rs | arucil/bittyset | ee8cf9f7068c576f3314a4929803327afd08c331 | [
"MIT"
] | null | null | null | src/block.rs | arucil/bittyset | ee8cf9f7068c576f3314a4929803327afd08c331 | [
"MIT"
] | null | null | null | use std::ops::{BitOrAssign, BitAndAssign, BitXorAssign};
use std::hash::Hash;
use num_traits::int::PrimInt;
/// A trait for representing elements of the underlying bit vector of `BitSet`.
pub trait BitBlock: Default + Eq + Hash + PrimInt +
BitOrAssign + BitAndAssign + BitXorAssign
{
#[doc(hidden)]
const NUM_BITS... | 23.846154 | 79 | 0.693548 |
74302f6fe1bdd9605c85a7c7f9b7efa4c25e6ef5 | 9,620 | css | CSS | css/sea_atlas_explorer.css | HarvardMapCollection/seaAtlasExplorer | c8979681691905f1710522be30ac976f92e6eb3b | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | 3 | 2015-07-20T11:49:00.000Z | 2015-11-05T00:34:10.000Z | css/sea_atlas_explorer.css | HarvardMapCollection/seaAtlasExplorer | c8979681691905f1710522be30ac976f92e6eb3b | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | null | null | null | css/sea_atlas_explorer.css | HarvardMapCollection/seaAtlasExplorer | c8979681691905f1710522be30ac976f92e6eb3b | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | null | null | null | /* Page-wide */
@import url(http://fonts.googleapis.com/css?family=Cinzel:400,700|Lusitana:400,700);
body {
margin: 0;
font-family: 'Lusitana', Georgia, serif;
}
a {
color: #000;
}
a:visited {
color: #000;
}
#map {
width: 100%;
height: 100vh;
}
/* style to highlight/flash */
.flash-add {
color: #FFFF00;
tran... | 18.254269 | 130 | 0.674324 |
6d8c616fc0463a622172481f905b649e0f4d44e6 | 5,555 | tsx | TypeScript | frontend/src/pages/IstioConfigNew/AuthorizationPolicyForm/To/OperationBuilder.tsx | kiali/swscore | 8ec112b86eaa27e91a7be74ddaf07284d4eef455 | [
"Apache-2.0"
] | null | null | null | frontend/src/pages/IstioConfigNew/AuthorizationPolicyForm/To/OperationBuilder.tsx | kiali/swscore | 8ec112b86eaa27e91a7be74ddaf07284d4eef455 | [
"Apache-2.0"
] | 17 | 2018-03-12T22:07:37.000Z | 2018-03-23T14:48:52.000Z | frontend/src/pages/IstioConfigNew/AuthorizationPolicyForm/To/OperationBuilder.tsx | kiali/swscore | 8ec112b86eaa27e91a7be74ddaf07284d4eef455 | [
"Apache-2.0"
] | 2 | 2018-03-13T08:25:26.000Z | 2018-03-21T11:13:54.000Z | import * as React from 'react';
import { cellWidth, ICell, Table, TableBody, TableHeader } from '@patternfly/react-table';
// Use TextInputBase like workaround while PF4 team work in https://github.com/patternfly/patternfly-react/issues/4072
import {
Button,
ButtonVariant,
FormSelect,
FormSelectOption,
TextIn... | 26.578947 | 118 | 0.561296 |
d64ab659470ffe02d152be5361d9ebecce8a2f21 | 738 | cs | C# | src/Cecilia/ModuleParameters.cs | teo-tsirpanis/Cecilia | fee9b40914dde56b931aad14f842b00876324b95 | [
"MIT"
] | null | null | null | src/Cecilia/ModuleParameters.cs | teo-tsirpanis/Cecilia | fee9b40914dde56b931aad14f842b00876324b95 | [
"MIT"
] | 2 | 2022-02-02T13:17:54.000Z | 2022-03-30T20:23:05.000Z | src/Cecilia/ModuleParameters.cs | teo-tsirpanis/Cecilia | fee9b40914dde56b931aad14f842b00876324b95 | [
"MIT"
] | null | null | null | // This file is part of Cecilia.
// Licensed under the MIT License.
#nullable enable
namespace Cecilia
{
public sealed class ModuleParameters
{
public ModuleKind Kind { get; set; } = ModuleKind.Dll;
public TargetRuntime Runtime { get; set; } = TargetRuntime.Net_4_0;
public uint? Tim... | 27.333333 | 87 | 0.688347 |
8ddcaaf29ebc7cc2663669954d9b5b3d2bf9f7fb | 2,328 | js | JavaScript | src/components/Xgt/Afh.js | Godi13/Answer-react | b89aa8f96ca86f0b9dd4683ee9d45b43dbef5dbb | [
"CC0-1.0"
] | null | null | null | src/components/Xgt/Afh.js | Godi13/Answer-react | b89aa8f96ca86f0b9dd4683ee9d45b43dbef5dbb | [
"CC0-1.0"
] | null | null | null | src/components/Xgt/Afh.js | Godi13/Answer-react | b89aa8f96ca86f0b9dd4683ee9d45b43dbef5dbb | [
"CC0-1.0"
] | null | null | null | import React from 'react';
import Nav from '../Nav';
import Head from '../Jz/Head';
import Table from '../Jz/Table';
import Ddwh from '../Jz/Ddwh';
import Gnsj from '../Jz/Gnsj';
import Jt from '../Jz/Jt';
export default class Afh extends React.Component {
render() {
var headers = [
'http://7xoblm.com1.z0... | 36.375 | 68 | 0.629296 |
4cf3abf20c70d70dfc33abae625f9ece15844f46 | 2,304 | py | Python | sam_rest/sam_endpoints.py | puruckertom/sam_app | bb06ccc94a117131a1dc76d849412cdc4f3f7ddd | [
"Unlicense"
] | 1 | 2016-03-20T21:15:52.000Z | 2016-03-20T21:15:52.000Z | sam_rest/sam_endpoints.py | puruckertom/sam_app | bb06ccc94a117131a1dc76d849412cdc4f3f7ddd | [
"Unlicense"
] | null | null | null | sam_rest/sam_endpoints.py | puruckertom/sam_app | bb06ccc94a117131a1dc76d849412cdc4f3f7ddd | [
"Unlicense"
] | null | null | null | import os
import random
import shutil
import string
import sam_input_generator
# Generate a random ID for file save
def id_generator(size=6, chars=string.ascii_uppercase + string.digits):
return ''.join(random.choice(chars) for x in range(size))
def read_sam_input_file(file):
with open(file, 'r') as f:
... | 36 | 142 | 0.711806 |
758e32ef42fa5bddb009410a16f571ce84f04f44 | 456 | css | CSS | ASYA-SYSTEM/css/morris.css | IekoMolina/SYSTIMP-ASYA | 3f5216d612155d1ac95c1ac2ec16829d16268554 | [
"MIT"
] | null | null | null | ASYA-SYSTEM/css/morris.css | IekoMolina/SYSTIMP-ASYA | 3f5216d612155d1ac95c1ac2ec16829d16268554 | [
"MIT"
] | null | null | null | ASYA-SYSTEM/css/morris.css | IekoMolina/SYSTIMP-ASYA | 3f5216d612155d1ac95c1ac2ec16829d16268554 | [
"MIT"
] | null | null | null | .morris-hover{
position:absolute;
z-index:1000
}
.morris-hover.morris-default-style{
border-radius:10px;
padding:6px;
color:#666;
background:rgba(255,255,255,0.8);
border:solid 2px rgba(230,230,230,0.8);
font-family:sans-serif;
font-size:12px;
text-align:center
}
.morris-hover.morris-default-style .morris-hover-row-l... | 17.538462 | 59 | 0.758772 |
feb3d99179f615ad849ea2ff5d1ab5f57d31f422 | 1,050 | rs | Rust | src/rust/src/denormalize.rs | anonymokata/72F97953-5697-403B-9E58-C069EB13574B | beea2decdf103e93264dbf0468e8f46499367b9b | [
"MIT"
] | 1 | 2017-02-28T01:34:14.000Z | 2017-02-28T01:34:14.000Z | src/rust/src/denormalize.rs | ben--/kata-rnc | 4011c5a513e9c10bcfd923b9430a303b1d6891b0 | [
"MIT"
] | null | null | null | src/rust/src/denormalize.rs | ben--/kata-rnc | 4011c5a513e9c10bcfd923b9430a303b1d6891b0 | [
"MIT"
] | null | null | null | pub fn denormalize(num: &str) -> String {
let num = num.replace("IV", "IIII");
let num = num.replace("IX", "VIIII");
let num = num.replace("XL", "XXXX");
let num = num.replace("XC", "LXXXX");
let num = num.replace("CD", "CCCC");
let num = num.replace("CM", "DCCCC");
num
}
#[cfg(test)]
mod t... | 21 | 69 | 0.54381 |
a7e251c26835161fbeb3afedab7cd77921e499a0 | 275 | css | CSS | app/admin/widgets/dashboardcontainer/assets/css/dashboardcontainer.css | nishwan-abbas/TastyIgniter | f18192b0c22f6e1f5d72293a439f0751f9611d7e | [
"MIT"
] | 2,398 | 2015-10-03T14:28:08.000Z | 2022-03-31T08:15:54.000Z | app/admin/widgets/dashboardcontainer/assets/css/dashboardcontainer.css | nishwan-abbas/TastyIgniter | f18192b0c22f6e1f5d72293a439f0751f9611d7e | [
"MIT"
] | 745 | 2015-09-28T18:04:35.000Z | 2022-03-31T11:52:42.000Z | app/admin/widgets/dashboardcontainer/assets/css/dashboardcontainer.css | MinjaMiladinovic/TastyIgniter | 14c26bebbc9a24b50e6cf71dac532871455d59e6 | [
"MIT"
] | 908 | 2015-10-03T18:20:04.000Z | 2022-03-31T13:32:08.000Z | .dashboard-widgets {
margin-top: -15px;
}
.dashboard-toolbar {
padding: 0 0 20px;
}
.widget-item-action {
position: absolute;
right: 0;
top: 0;
display: none;
}
.widget-item:hover .widget-item-action {
display: block;
}
.widget-title {
padding-bottom: 10px;
} | 15.277778 | 40 | 0.661818 |
ea725d57b4504f79ad58ffa45c0914a59e6c3371 | 1,225 | go | Go | internal/gateway/hub.go | n7down/iot-core | e0d14d2ca843d77beb04531bdb14f188c5558e3c | [
"MIT"
] | null | null | null | internal/gateway/hub.go | n7down/iot-core | e0d14d2ca843d77beb04531bdb14f188c5558e3c | [
"MIT"
] | null | null | null | internal/gateway/hub.go | n7down/iot-core | e0d14d2ca843d77beb04531bdb14f188c5558e3c | [
"MIT"
] | null | null | null | package gateway
import (
"fmt"
log "github.com/sirupsen/logrus"
)
// Hub maintains the set of active clients and broadcasts messages to the
// clients.
type Hub struct {
// Registered clients.
clients map[string]*Client
// Register requests from the clients.
register chan *Client
// Unregister requests from... | 21.12069 | 73 | 0.648163 |
5c7605bbf5c17433febcfdbd9d27cea909d870e9 | 122 | lua | Lua | fn/cadr/cadr.lua | aiq/luazdf | 4f23aa7c6c9ce38f72b361b5a7c067480a97a178 | [
"0BSD"
] | 48 | 2018-02-14T08:28:58.000Z | 2021-12-08T02:06:43.000Z | fn/cadr/cadr.lua | aiq/luazdf | 4f23aa7c6c9ce38f72b361b5a7c067480a97a178 | [
"0BSD"
] | 10 | 2018-02-23T11:55:20.000Z | 2019-09-03T19:08:02.000Z | fn/cadr/cadr.lua | aiq/luazdf | 4f23aa7c6c9ce38f72b361b5a7c067480a97a178 | [
"0BSD"
] | 2 | 2018-02-26T11:57:12.000Z | 2018-03-06T18:37:43.000Z | --ZFUNC-cadr-v1
local function cadr( arr ) --> val
if not arr then return nil end
return arr[ 2 ]
end
return cadr
| 13.555556 | 34 | 0.663934 |
5dc04855bd8ddedfd58cc73ff07656b9fcc9f8ac | 882 | cpp | C++ | leetcode/Hashmap/49.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | leetcode/Hashmap/49.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | leetcode/Hashmap/49.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | #include<iostream>
#include<unordered_map>
#include<vector>
#include<algorithm>
using namespace std;
class Solution {
public:
vector<vector<string>> groupAnagrams(vector<string>& strs) {
vector<vector<string>> res;
unordered_map<string,vector<string>> map;
for(string s : strs){
... | 23.837838 | 65 | 0.510204 |
4cc99cb7ccaf3799ef9775abe3573dd0a256e3c0 | 2,574 | py | Python | csng_invariances/_dnn_blocks/script_2.py | Leeeeon4/csng_invariances | 48ce94bcc424292e260b82bb081411cd55da4aef | [
"MIT"
] | null | null | null | csng_invariances/_dnn_blocks/script_2.py | Leeeeon4/csng_invariances | 48ce94bcc424292e260b82bb081411cd55da4aef | [
"MIT"
] | 13 | 2021-09-08T12:42:37.000Z | 2021-09-30T13:41:08.000Z | csng_invariances/_dnn_blocks/script_2.py | Leeeeon4/csng_invariances | 48ce94bcc424292e260b82bb081411cd55da4aef | [
"MIT"
] | 1 | 2022-01-13T10:48:05.000Z | 2022-01-13T10:48:05.000Z | import sys
sys.path.append("/home/baroni/reconstruct_images/")
import wandb
from datamodules import *
from models import *
from pytorch_lightning.loggers import WandbLogger
from pytorch_lightning.callbacks import EarlyStopping
import pytorch_lightning as pl
# Set up your default hyperparameters
default = {
'loss'... | 27.382979 | 99 | 0.642968 |
da989fe8fe60ddb588215bd5e6120d38866f1779 | 1,960 | php | PHP | src/Sulu/Bundle/CategoryBundle/Tests/Unit/DependencyInjection/DeprecationCompilerPassTest.php | Tactics/sulu-old | 1716bbd13a3e8b8363cb6e2a14267c6eb2d20868 | [
"MIT"
] | null | null | null | src/Sulu/Bundle/CategoryBundle/Tests/Unit/DependencyInjection/DeprecationCompilerPassTest.php | Tactics/sulu-old | 1716bbd13a3e8b8363cb6e2a14267c6eb2d20868 | [
"MIT"
] | null | null | null | src/Sulu/Bundle/CategoryBundle/Tests/Unit/DependencyInjection/DeprecationCompilerPassTest.php | Tactics/sulu-old | 1716bbd13a3e8b8363cb6e2a14267c6eb2d20868 | [
"MIT"
] | null | null | null | <?php
/*
* This file is part of Sulu.
*
* (c) MASSIVE ART WebServices GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\CategoryBundle\Tests\Unit\DependencyInjection;
use Matthias\SymfonyDependencyInjectionTest\PhpUnit... | 35 | 111 | 0.742857 |
f4b71ab53769e335d4870feeef6d4a486c4ffe64 | 4,770 | ts | TypeScript | ide/src/tests/slice/util/slice_helpers.ts | willcrichton/flowistry | 3363441c10646621cf656cc8e80d162a77b5b03a | [
"MIT"
] | 933 | 2021-08-21T10:46:54.000Z | 2022-03-31T08:24:33.000Z | ide/src/tests/slice/util/slice_helpers.ts | willcrichton/rust-slicer | 2f70b97f9ec9a9bc5e2e5b74a25873a22963e913 | [
"MIT"
] | 44 | 2021-09-20T20:11:48.000Z | 2022-03-28T19:05:07.000Z | ide/src/tests/slice/util/slice_helpers.ts | willcrichton/rust-slicer | 2f70b97f9ec9a9bc5e2e5b74a25873a22963e913 | [
"MIT"
] | 19 | 2021-08-18T17:38:39.000Z | 2022-03-25T22:22:11.000Z | import _ from "lodash";
import vscode from "vscode";
import { exec_notify, flowistry_cmd, get_flowistry_opts } from "../../../setup";
import { SliceOutput } from "../../../types";
import { to_vsc_range } from "../../../vsc_utils";
import { TestSlice } from "../mock_data/slices";
import { MOCK_PROJECT_DIRECTORY } from "... | 37.857143 | 119 | 0.690776 |
e258ebff932f5f582b131328ec2c78af026fb9cb | 2,086 | py | Python | robo_trade/api/get_positions.py | gnelabs/EpithyRoboTrader | 45698dc56d1253c823ea2c2b5484d85b1d949263 | [
"Apache-2.0"
] | 3 | 2020-06-01T21:10:37.000Z | 2021-07-29T12:33:35.000Z | robo_trade/api/get_positions.py | gnelabs/EpithyRoboTrader | 45698dc56d1253c823ea2c2b5484d85b1d949263 | [
"Apache-2.0"
] | null | null | null | robo_trade/api/get_positions.py | gnelabs/EpithyRoboTrader | 45698dc56d1253c823ea2c2b5484d85b1d949263 | [
"Apache-2.0"
] | 1 | 2020-07-03T06:52:03.000Z | 2020-07-03T06:52:03.000Z |
__author__ = "Nathan Ward"
import json
import logging
import robin_stocks.helper as helper
import robin_stocks.urls as urls
import robin_stocks
from views import register_view
from api.utils import LambdaMessageEncoder
from trade_lambda.get_credentials import robinhood_creds
_LOGGER = logging.getLogger()
_LOGGER.set... | 36.596491 | 136 | 0.678811 |
a3402147362405558d481af3ada435eb448a4bb1 | 1,098 | c | C | c03/ex02/ft_strcat.c | irnabern/dealBEY | 966d4e988a7e324e577fd0de60be00fde41cdda0 | [
"Apache-2.0"
] | null | null | null | c03/ex02/ft_strcat.c | irnabern/dealBEY | 966d4e988a7e324e577fd0de60be00fde41cdda0 | [
"Apache-2.0"
] | null | null | null | c03/ex02/ft_strcat.c | irnabern/dealBEY | 966d4e988a7e324e577fd0de60be00fde41cdda0 | [
"Apache-2.0"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strcat.c :+: :+: :+: ... | 36.6 | 80 | 0.167577 |
57f328c796ff07a4787fe68d3f128816a99da627 | 1,077 | php | PHP | database/migrations/2020_10_14_095100_create_delivery_man_township_table.php | minpikemhmu/inventory | a086839c5a266175a2a09f0f906192505bced505 | [
"MIT"
] | null | null | null | database/migrations/2020_10_14_095100_create_delivery_man_township_table.php | minpikemhmu/inventory | a086839c5a266175a2a09f0f906192505bced505 | [
"MIT"
] | null | null | null | database/migrations/2020_10_14_095100_create_delivery_man_township_table.php | minpikemhmu/inventory | a086839c5a266175a2a09f0f906192505bced505 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDeliverymanTownshipTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('del... | 23.933333 | 77 | 0.545032 |
43964a86226671ad25e74207e590cc5934e20da6 | 5,698 | ts | TypeScript | packages/titumir/src/auth/guards/jwt-auth.guard.ts | KRTirtho/veschool | d57ebc831889b59d4a46de0b593410efd8bbb9f8 | [
"MIT"
] | 3 | 2021-05-07T13:27:04.000Z | 2021-12-12T17:53:14.000Z | packages/titumir/src/auth/guards/jwt-auth.guard.ts | KRTirtho/veschool | d57ebc831889b59d4a46de0b593410efd8bbb9f8 | [
"MIT"
] | null | null | null | packages/titumir/src/auth/guards/jwt-auth.guard.ts | KRTirtho/veschool | d57ebc831889b59d4a46de0b593410efd8bbb9f8 | [
"MIT"
] | null | null | null | import { ExecutionContext, HttpException, Injectable, Logger } from "@nestjs/common";
import { Reflector } from "@nestjs/core";
import { AuthGuard } from "@nestjs/passport";
import { Request } from "express";
import User from "../../database/entity/users.entity";
import { USER_ROLE } from "@veschool/types";
import { EX... | 39.296552 | 103 | 0.588101 |
a33ed1cb1d29281cf93f8933b1bad8d7e00c8f4e | 523 | h | C | cxJsonModelDetection/detection330/Xfscim330-2.h | 267368312/cxJsonModel | 52c7c40b0abc1d3788a470dd5473a41a88af3dad | [
"Unlicense"
] | 5 | 2018-06-15T00:06:46.000Z | 2021-08-06T23:42:19.000Z | cxJsonModelDetection/detection330/Xfscim330-2.h | 267368312/cxJsonModel | 52c7c40b0abc1d3788a470dd5473a41a88af3dad | [
"Unlicense"
] | null | null | null | cxJsonModelDetection/detection330/Xfscim330-2.h | 267368312/cxJsonModel | 52c7c40b0abc1d3788a470dd5473a41a88af3dad | [
"Unlicense"
] | 3 | 2020-02-03T04:24:43.000Z | 2021-12-12T18:01:20.000Z | WFSCIMPOWERSAVECONTROL,
WFSCIMREPTARGET,
WFSCIMREP,
WFSCIMREPTARGETRES,
WFSCIMREPRES,
WFSCIMAMOUNTLIMIT,
WFSCIMCASHINLIMIT,
WFSCIMCOUNT,
WFSCIMUNITLOCKCONTROL,
WFSCIMDEVICELOCKCONTROL,
WFSCIMSETMODE,
WFSCIMPRESENT,
WFSCIMDEPSOURCE,
WFSCIMDEP,
WFSCIMDEPSOURCERES,
WFSCIMDEPRES,
WFSCIMBLACKLISTELEMENT,
WFSCIMBLACKLIST,
WF... | 19.37037 | 26 | 0.900574 |
0ae5678b827520e8f9b34c0ad8c8cbf1770e8970 | 30,532 | cs | C# | VkNet/Categories/AudioCategory.cs | slay9090/vk | 1fea63e75989f78434c083a2051bae62f4fb3811 | [
"MIT"
] | null | null | null | VkNet/Categories/AudioCategory.cs | slay9090/vk | 1fea63e75989f78434c083a2051bae62f4fb3811 | [
"MIT"
] | null | null | null | VkNet/Categories/AudioCategory.cs | slay9090/vk | 1fea63e75989f78434c083a2051bae62f4fb3811 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Newtonsoft.Json.Linq;
using VkNet.Enums;
using VkNet.Model;
using VkNet.Model.Attachments;
using VkNet.Model.RequestParams;
using VkNet.Utils;
namespace VkNet.Categories
{
/// <summary>
/// Методы для работ... | 34.2287 | 134 | 0.675521 |
a00b5e1c4223abb528f17d20e56af1fe5f9b0a95 | 3,461 | ts | TypeScript | src/lib/elements/GroupName.ts | stringsync/musicxml | e5b365d69fdd283d019f64227d50156e2a2f4f79 | [
"MIT"
] | 2 | 2022-03-02T16:31:12.000Z | 2022-03-02T17:20:07.000Z | src/lib/elements/GroupName.ts | stringsync/musicxml | e5b365d69fdd283d019f64227d50156e2a2f4f79 | [
"MIT"
] | 1 | 2022-03-02T20:29:44.000Z | 2022-03-05T11:53:29.000Z | src/lib/elements/GroupName.ts | stringsync/musicxml | e5b365d69fdd283d019f64227d50156e2a2f4f79 | [
"MIT"
] | null | null | null | import * as dataTypes from '../dataTypes';
import { schema, t } from '../schema';
/**
* The `<group-name>` element
*
* Parent element: `<part-group>`
*
* The `<group-name>` element describes the name of a <part-group> element. The formatting attributes are deprecated as
* of Version 2.0 in favor of the new `<gro... | 40.244186 | 119 | 0.676105 |
b5d08c1dd7609457fb66c6c38910a31aa653feb5 | 236 | rb | Ruby | spec/factories/csv_uploads.rb | Vizzuality/emissions-scenario-portal | 551c52807a5569c0c70a5be41d51043183fda793 | [
"MIT"
] | 2 | 2018-10-04T20:58:33.000Z | 2019-07-07T16:34:07.000Z | spec/factories/csv_uploads.rb | Vizzuality/emissions-scenario-portal | 551c52807a5569c0c70a5be41d51043183fda793 | [
"MIT"
] | 61 | 2017-05-12T06:25:58.000Z | 2022-03-30T22:14:01.000Z | spec/factories/csv_uploads.rb | Vizzuality/emissions-scenario-portal | 551c52807a5569c0c70a5be41d51043183fda793 | [
"MIT"
] | 1 | 2018-12-05T16:17:30.000Z | 2018-12-05T16:17:30.000Z | FactoryBot.define do
factory :csv_upload do
job_id 1
user nil
model nil
service_type 'UploadIndicators'
finished_at '2017-07-28 16:24:19'
success false
message 'MyText'
errors_and_warnings {}
end
end
| 18.153846 | 37 | 0.686441 |
0a40dba725cfe4565dc27453643693a243fd220a | 8,259 | rs | Rust | libaoc/geom/src/neighbors.rs | BartMassey/advent-of-code-2020 | 47074dcd86ef8ecb7ecab605304eb6fe55a11fde | [
"MIT"
] | 1 | 2020-12-07T01:36:58.000Z | 2020-12-07T01:36:58.000Z | libaoc/geom/src/neighbors.rs | BartMassey/advent-of-code-2020 | 47074dcd86ef8ecb7ecab605304eb6fe55a11fde | [
"MIT"
] | null | null | null | libaoc/geom/src/neighbors.rs | BartMassey/advent-of-code-2020 | 47074dcd86ef8ecb7ecab605304eb6fe55a11fde | [
"MIT"
] | null | null | null | //! To use this, make a new `GridBox` to set clipping bounds,
//! then call its methods to get iterators over coordinates.
//!
//! # Examples
//!
//! ```
//! # use aoc_geom::*;
//! let clip_box = GridBox::new(4, 4);
//! let mut neighbors = clip_box
//! .neighbors((2, 0), 1)
//! .collect::<Vec<_>>();
//! neighbo... | 25.256881 | 72 | 0.511321 |
979f6627ac97d33949f2aeacae0ca5f63b7d0b31 | 3,083 | swift | Swift | Tests/TestWebServer.swift | Envative/JavaScriptCoreBrowserObjectModel | 320e1d78ea97e43b34e72cb21ac5f9d1ca03a9a8 | [
"MIT"
] | 5 | 2017-12-13T09:33:19.000Z | 2021-05-12T08:52:23.000Z | Tests/TestWebServer.swift | Envative/JavaScriptCoreBrowserObjectModel | 320e1d78ea97e43b34e72cb21ac5f9d1ca03a9a8 | [
"MIT"
] | null | null | null | Tests/TestWebServer.swift | Envative/JavaScriptCoreBrowserObjectModel | 320e1d78ea97e43b34e72cb21ac5f9d1ca03a9a8 | [
"MIT"
] | 1 | 2019-10-01T18:55:16.000Z | 2019-10-01T18:55:16.000Z | //
// TestWebServer.swift
// JavaScriptCoreBrowserObjectModel
//
// Created by Connor Grady on 12/12/17.
// Copyright © 2017 Connor Grady. All rights reserved.
//
import XCTest
import GCDWebServer
typealias TestWebServerMatchBlock = (_ method: String, _ url: URL, _ headers: [AnyHashable: Any], _ path: String, _ q... | 39.025316 | 150 | 0.638988 |
f450f23c079eaad263c82413a1f1c0f74ea0f89e | 158 | ts | TypeScript | docs/fonts/icons/PowerSolidBadged.d.ts | boazblake/presenter | 90fa56602a982561fd1b097a7beacfc2c4c819b0 | [
"CC0-1.0"
] | null | null | null | docs/fonts/icons/PowerSolidBadged.d.ts | boazblake/presenter | 90fa56602a982561fd1b097a7beacfc2c4c819b0 | [
"CC0-1.0"
] | null | null | null | docs/fonts/icons/PowerSolidBadged.d.ts | boazblake/presenter | 90fa56602a982561fd1b097a7beacfc2c4c819b0 | [
"CC0-1.0"
] | null | null | null | import m from 'mithril';
import { SVGAttributes } from '../svg';
declare const PowerSolidBadged: m.Component<SVGAttributes>;
export default PowerSolidBadged;
| 31.6 | 59 | 0.78481 |
fde7df7ebaa187b9c222c6cfa19a78945952411d | 797 | css | CSS | public/fonts.css | malinajs/repl | a680b7781f79e9e773bcaeaf625076d8d1c57af6 | [
"MIT"
] | 6 | 2020-07-06T05:38:28.000Z | 2022-03-27T14:25:13.000Z | public/fonts.css | malinajs/repl | a680b7781f79e9e773bcaeaf625076d8d1c57af6 | [
"MIT"
] | 5 | 2020-07-10T18:07:40.000Z | 2022-02-26T02:00:01.000Z | public/fonts.css | malinajs/repl | a680b7781f79e9e773bcaeaf625076d8d1c57af6 | [
"MIT"
] | 3 | 2020-07-08T12:41:19.000Z | 2020-07-16T21:24:09.000Z | @font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 300;
src:
local('Ubuntu Light '),
local('Ubuntu-Light'),
url('font/ubuntu-light.woff2') format('woff2');
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 400;
src:
local('Ubuntu '),
local('Ubuntu Regular '),
... | 19.925 | 50 | 0.641154 |
f1d151d0ac375ae484b2d51e6474b8163cb9e5a0 | 2,209 | dart | Dart | lib/pages/home_screen/widgets/control/category_item_widget.dart | wugq/watch_tv_app | a0d30a9b27895e57a5c46dd5fb5955e81c73356f | [
"MIT"
] | null | null | null | lib/pages/home_screen/widgets/control/category_item_widget.dart | wugq/watch_tv_app | a0d30a9b27895e57a5c46dd5fb5955e81c73356f | [
"MIT"
] | null | null | null | lib/pages/home_screen/widgets/control/category_item_widget.dart | wugq/watch_tv_app | a0d30a9b27895e57a5c46dd5fb5955e81c73356f | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:tv/data/channel.dart';
import 'package:tv/pages/home_screen/controller/home_screen_controller.dart';
class CategoryItemWidget extends StatelessWidget {
final Channel channel;
const CategoryItemWidget({Key? key, required this.ch... | 29.851351 | 80 | 0.563603 |
8536ffa1ecfec41371b7b0796acc5c73b177f970 | 3,855 | cs | C# | AltFormatter.Tests/Formatter/AltFormatter/AltFormatterTests.Restore.Enumerables.cs | pavelchai/AltFormatter | 9e6d01df9c2ab75337d63d3d193999ed5a53fb1b | [
"MIT"
] | null | null | null | AltFormatter.Tests/Formatter/AltFormatter/AltFormatterTests.Restore.Enumerables.cs | pavelchai/AltFormatter | 9e6d01df9c2ab75337d63d3d193999ed5a53fb1b | [
"MIT"
] | null | null | null | AltFormatter.Tests/Formatter/AltFormatter/AltFormatterTests.Restore.Enumerables.cs | pavelchai/AltFormatter | 9e6d01df9c2ab75337d63d3d193999ed5a53fb1b | [
"MIT"
] | null | null | null | /*
* AltFormatter.
* Licensed under MIT License.
* Copyright © 2017 Pavel Chaimardanov.
*/
using AltFormatter.Utils;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AltFormatter.Formatter
{
public sealed partial class AltFormatterTests
{
[Test, TestCas... | 34.72973 | 149 | 0.637873 |
8765b44056a2608689ead79b00a9f2c792bc5632 | 189 | rb | Ruby | app/components/application_component.rb | z456789/ruby-chinad | 5bce1fc40ea5bac73f21d3f91114c1618a71a59b | [
"MIT"
] | 1,802 | 2016-10-20T09:06:17.000Z | 2022-03-31T04:45:23.000Z | app/components/application_component.rb | z456789/ruby-chinad | 5bce1fc40ea5bac73f21d3f91114c1618a71a59b | [
"MIT"
] | 429 | 2016-10-20T10:15:18.000Z | 2022-03-29T07:54:30.000Z | app/components/application_component.rb | z456789/ruby-chinad | 5bce1fc40ea5bac73f21d3f91114c1618a71a59b | [
"MIT"
] | 619 | 2016-10-20T13:22:05.000Z | 2022-03-30T09:45:33.000Z | # frozen_string_literal: true
class ApplicationComponent < ViewComponent::Base
delegate :user_avatar_tag, :user_name_tag, :icon_tag, :icon_bold_tag, :owner?, :main_app, to: :helpers
end
| 31.5 | 104 | 0.78836 |
238b31c2a5c754e0e0e3507e3cc946b7e6a52999 | 4,380 | sql | SQL | sql/yjbb/603316.sql | liangzi4000/grab-share-info | 4dc632442d240c71955bbf927ecf276d570a2292 | [
"MIT"
] | null | null | null | sql/yjbb/603316.sql | liangzi4000/grab-share-info | 4dc632442d240c71955bbf927ecf276d570a2292 | [
"MIT"
] | null | null | null | sql/yjbb/603316.sql | liangzi4000/grab-share-info | 4dc632442d240c71955bbf927ecf276d570a2292 | [
"MIT"
] | null | null | null | EXEC [EST].[Proc_yjbb_Ins] @Code = N'603316',@CutoffDate = N'2017-09-30',@EPS = N'0.3',@EPSDeduct = N'0',@Revenue = N'5.20亿',@RevenueYoy = N'27.38',@RevenueQoq = N'-11.96',@Profit = N'4556.15万',@ProfitYoy = N'16.98',@ProfiltQoq = N'-25.28',@NAVPerUnit = N'3.8225',@ROE = N'8.29',@CashPerUnit = N'-0.5868',@GrossProfitRat... | 398.181818 | 410 | 0.636758 |
dad722f803ab9d536dab37e32ef3777690e844aa | 2,735 | sql | SQL | db/cruise_one_system/cruise_one_system_v_c_voyage_boarding_recode.sql | vin120/vcos | b86df6c888c3e37c3d33ff26088d9d6b48a24495 | [
"BSD-3-Clause"
] | null | null | null | db/cruise_one_system/cruise_one_system_v_c_voyage_boarding_recode.sql | vin120/vcos | b86df6c888c3e37c3d33ff26088d9d6b48a24495 | [
"BSD-3-Clause"
] | null | null | null | db/cruise_one_system/cruise_one_system_v_c_voyage_boarding_recode.sql | vin120/vcos | b86df6c888c3e37c3d33ff26088d9d6b48a24495 | [
"BSD-3-Clause"
] | null | null | null | CREATE DATABASE IF NOT EXISTS `cruise_one_system` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `cruise_one_system`;
-- MySQL dump 10.13 Distrib 5.7.9, for osx10.9 (x86_64)
--
-- Host: bisheng.8800.org Database: cruise_one_system
-- ------------------------------------------------------
-- Server version 5.5.17-log
... | 45.583333 | 288 | 0.715905 |
f4f2e043658b3cd4abdcf70f037d8dff83c23aa6 | 554 | ts | TypeScript | src/utils.ts | hjrt/react-quick-pinch-zoom | 988044e65f731db8a9f4728e5be4815e255480b8 | [
"MIT"
] | 62 | 2019-04-25T04:34:40.000Z | 2022-03-08T13:56:22.000Z | src/utils.ts | hjrt/react-quick-pinch-zoom | 988044e65f731db8a9f4728e5be4815e255480b8 | [
"MIT"
] | 39 | 2019-06-17T15:55:28.000Z | 2022-03-21T12:01:46.000Z | src/utils.ts | hjrt/react-quick-pinch-zoom | 988044e65f731db8a9f4728e5be4815e255480b8 | [
"MIT"
] | 23 | 2019-04-30T17:55:05.000Z | 2022-02-16T01:48:28.000Z | import { UpdateAction } from './PinchZoom/types';
export const isTouch = () =>
'ontouchstart' in window || navigator.maxTouchPoints > 0;
export const make2dTransformValue = ({ x, y, scale }: UpdateAction) =>
`scale(${scale}) translate(${x}px, ${y}px)`;
export const make3dTransformValue = ({ x, y, scale }: Update... | 32.588235 | 80 | 0.65343 |
051cff7ac0159f4d9cb6006b689e2f35021202a6 | 1,281 | rb | Ruby | app/models/result.rb | lgarron/cube_trainer | d4cddc9fb097b219c14ee5527f03b4bb95c62f24 | [
"MIT"
] | null | null | null | app/models/result.rb | lgarron/cube_trainer | d4cddc9fb097b219c14ee5527f03b4bb95c62f24 | [
"MIT"
] | null | null | null | app/models/result.rb | lgarron/cube_trainer | d4cddc9fb097b219c14ee5527f03b4bb95c62f24 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
# Result of giving one task to the user and judging their performance.
# E.g. the time it took to execute one algorithm for a case shown to them.
class Result < ApplicationRecord
POSITIVE_INTEGER = {
only_integer: true,
greater_than_or_equal_to: 0
}.freeze
belongs_to :mode
... | 25.117647 | 74 | 0.704137 |
1792c6026eb7c478ec5463125ce822e95de10788 | 463 | dart | Dart | lib/ui/view/select_category/select_category_viewmodel.dart | sumithpdd/Sub-Track | e65ba454b4b8d6df17ad70cc4180b7cf56c193ba | [
"MIT"
] | 26 | 2021-05-11T20:51:34.000Z | 2022-02-05T04:41:54.000Z | lib/ui/view/select_category/select_category_viewmodel.dart | sumithpdd/Sub-Track | e65ba454b4b8d6df17ad70cc4180b7cf56c193ba | [
"MIT"
] | 2 | 2021-05-12T01:53:54.000Z | 2021-05-25T00:21:21.000Z | lib/ui/view/select_category/select_category_viewmodel.dart | sumithpdd/Sub-Track | e65ba454b4b8d6df17ad70cc4180b7cf56c193ba | [
"MIT"
] | 1 | 2021-05-13T20:27:52.000Z | 2021-05-13T20:27:52.000Z | import 'package:stacked/stacked.dart';
import 'package:stacked_services/stacked_services.dart';
import 'package:sub_track/app/app.locatorx.dart';
import 'package:sub_track/ui/models/category.dart';
import 'package:sub_track/ui/shared/mixins.dart';
class SelectCategoryViewModel extends BaseViewModel with $SharedVariabl... | 38.583333 | 78 | 0.792657 |
96d477e64e10cc205028aea3ed4e9c3514d5a1a2 | 1,487 | cs | C# | FairCastleOwnershipVoteSubModule.cs | samlbest/FairCastleOwnershipVote | 956aaae2265e9fe31c08fe555be28d27c8ff55b3 | [
"MIT"
] | null | null | null | FairCastleOwnershipVoteSubModule.cs | samlbest/FairCastleOwnershipVote | 956aaae2265e9fe31c08fe555be28d27c8ff55b3 | [
"MIT"
] | null | null | null | FairCastleOwnershipVoteSubModule.cs | samlbest/FairCastleOwnershipVote | 956aaae2265e9fe31c08fe555be28d27c8ff55b3 | [
"MIT"
] | null | null | null | using System;
using System.Linq;
using FairCastleOwnershipVote.Models;
using HarmonyLib;
using TaleWorlds.CampaignSystem;
using TaleWorlds.Core;
using TaleWorlds.MountAndBlade;
namespace FairCastleOwnershipVote
{
public class FairCastleOwnershipVoteSubModule : MBSubModuleBase
{
internal static FairCas... | 29.74 | 160 | 0.610625 |
2df12cd20b49426ffd233dfef516055fda745ce3 | 1,659 | cc | C++ | tfjs-backend-wasm/src/cc/kernels/Max.cc | carlosorochi/tfjs | 677bd69e00077dc834af1614c19d7e9288458416 | [
"Apache-2.0"
] | 1 | 2019-11-02T00:57:01.000Z | 2019-11-02T00:57:01.000Z | tfjs-backend-wasm/src/cc/kernels/Max.cc | carlosorochi/tfjs | 677bd69e00077dc834af1614c19d7e9288458416 | [
"Apache-2.0"
] | null | null | null | tfjs-backend-wasm/src/cc/kernels/Max.cc | carlosorochi/tfjs | 677bd69e00077dc834af1614c19d7e9288458416 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2019 Google 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 required by applicable law or... | 26.333333 | 80 | 0.653406 |
43b42f28f93f9aba1a74447a707ef50b8e73a83b | 83 | ts | TypeScript | dist/version.d.ts | Catalyst-Video/catalyst-lk-client | c68179a4450534d22dbd95ea16b0de08661121a3 | [
"Apache-2.0"
] | null | null | null | dist/version.d.ts | Catalyst-Video/catalyst-lk-client | c68179a4450534d22dbd95ea16b0de08661121a3 | [
"Apache-2.0"
] | null | null | null | dist/version.d.ts | Catalyst-Video/catalyst-lk-client | c68179a4450534d22dbd95ea16b0de08661121a3 | [
"Apache-2.0"
] | null | null | null | export declare const version = "0.12.2";
export declare const protocolVersion = 3;
| 27.666667 | 41 | 0.759036 |
a19ca849a936540a3f0f203b1c446ba63234b887 | 125 | ts | TypeScript | server/src/models/client.model.ts | joserosa33/calendar | 80c1aa4083937598ed0814d8ed9c9e5836269546 | [
"MIT"
] | null | null | null | server/src/models/client.model.ts | joserosa33/calendar | 80c1aa4083937598ed0814d8ed9c9e5836269546 | [
"MIT"
] | null | null | null | server/src/models/client.model.ts | joserosa33/calendar | 80c1aa4083937598ed0814d8ed9c9e5836269546 | [
"MIT"
] | null | null | null | export class ClientModel {
public name: String;
constructor({name}: ClientModel) {
this.name = name;
}
} | 17.857143 | 38 | 0.608 |
d74742feeaa0b71f2f8d2535a5559323819596c8 | 7,922 | swift | Swift | Sources/Odeum/Classes/PlayControlView.swift | hainayanda/Odeum | e723624e9e3e0018df8646677667a07f4d0ef00f | [
"MIT"
] | 1 | 2021-08-17T19:48:39.000Z | 2021-08-17T19:48:39.000Z | Sources/Odeum/Classes/PlayControlView.swift | hainayanda/Odeum | e723624e9e3e0018df8646677667a07f4d0ef00f | [
"MIT"
] | null | null | null | Sources/Odeum/Classes/PlayControlView.swift | hainayanda/Odeum | e723624e9e3e0018df8646677667a07f4d0ef00f | [
"MIT"
] | null | null | null | //
// PlayControlView.swift
// Odeum
//
// Created by Nayanda Haberty on 23/01/21.
//
import Foundation
#if canImport(UIKit)
import UIKit
// MARK: Delegate
public protocol PlayControlViewDelegate: AnyObject {
func playControl(_ view: PlayControlView, audioDidChangeStateTo state: AudioState)
func playContr... | 33.008333 | 124 | 0.648195 |
85a786cc2d3d62b7fe5f801c43025f49918f8f5c | 19,990 | swift | Swift | Sources/Soto/Services/Billingconductor/Billingconductor_API.swift | swift-aws/aws-sdk-swift | 778b1eda58da7fa233e5e1880e0ec6263be2a8e4 | [
"Apache-2.0"
] | 349 | 2018-07-28T09:39:30.000Z | 2020-09-12T02:03:11.000Z | Sources/Soto/Services/Billingconductor/Billingconductor_API.swift | swift-aws/aws-sdk-swift | 778b1eda58da7fa233e5e1880e0ec6263be2a8e4 | [
"Apache-2.0"
] | 163 | 2018-08-04T02:28:39.000Z | 2020-09-12T18:42:39.000Z | Sources/Soto/Services/Billingconductor/Billingconductor_API.swift | swift-aws/aws-sdk-swift | 778b1eda58da7fa233e5e1880e0ec6263be2a8e4 | [
"Apache-2.0"
] | 51 | 2018-08-08T11:12:01.000Z | 2020-09-13T07:27:09.000Z | //===----------------------------------------------------------------------===//
//
// This source file is part of the Soto for AWS open source project
//
// Copyright (c) 2017-2021 the Soto project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for t... | 88.844444 | 1,122 | 0.752226 |
d0496f8337a0e95da8a1d22831111358380bbbea | 4,270 | hpp | C++ | third_party/omr/gc/base/standard/ConfigurationStandard.hpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/gc/base/standard/ConfigurationStandard.hpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/gc/base/standard/ConfigurationStandard.hpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright (c) 1991, 2017 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at https://w... | 37.130435 | 161 | 0.759016 |
4cee35fe07cf6e9ad82b67f12a5f7f5d9b1c31c4 | 7,544 | py | Python | nmt/vocab.py | logan0czy/nlp-practice | 3cdfcc45be95aec71a4f8225eaaa227ced545c70 | [
"MIT"
] | null | null | null | nmt/vocab.py | logan0czy/nlp-practice | 3cdfcc45be95aec71a4f8225eaaa227ced545c70 | [
"MIT"
] | null | null | null | nmt/vocab.py | logan0czy/nlp-practice | 3cdfcc45be95aec71a4f8225eaaa227ced545c70 | [
"MIT"
] | null | null | null | """NMT task reconstruct
produced by: Zhiyu
inspired by Stanford CS224n assignment4
"""
import json
from typing import List, Dict, Tuple
from collections import Counter
from itertools import chain
import torch
class VocabEntry(object):
"""construct source or target vocabulary.
"""
def __init__(self, wor... | 37.909548 | 118 | 0.591596 |
a622c505173ab990fdec8eae61517c29562cea09 | 1,379 | lua | Lua | src/client/ui/common/UpdateAlert.lua | mystydev/Pioneers | 7c4e43f5535818ee73beac782f7094c0d3251111 | [
"MIT"
] | 14 | 2019-07-05T13:23:33.000Z | 2020-08-01T21:56:17.000Z | src/client/ui/common/UpdateAlert.lua | mystydev/Pioneers | 7c4e43f5535818ee73beac782f7094c0d3251111 | [
"MIT"
] | null | null | null | src/client/ui/common/UpdateAlert.lua | mystydev/Pioneers | 7c4e43f5535818ee73beac782f7094c0d3251111 | [
"MIT"
] | 2 | 2019-09-11T12:23:57.000Z | 2020-02-06T09:25:08.000Z |
local Roact = require(game.ReplicatedStorage.Roact)
local TweenService = game:GetService("TweenService")
local UpdateAlert = Roact.Component:extend("UpdateAlert")
local fade = TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.Out)
function UpdateAlert:init()
self.updateRef = Roact.createRef()
sel... | 28.729167 | 112 | 0.591733 |
587be9dd6eb54172a048a19e86b60ee2847cb624 | 527 | css | CSS | src/Styles/App.css | ferontv/boilerplate-react-redux-firebase | 1c4751d0b6db4c3764938f3b3942a050798822a6 | [
"MIT"
] | null | null | null | src/Styles/App.css | ferontv/boilerplate-react-redux-firebase | 1c4751d0b6db4c3764938f3b3942a050798822a6 | [
"MIT"
] | null | null | null | src/Styles/App.css | ferontv/boilerplate-react-redux-firebase | 1c4751d0b6db4c3764938f3b3942a050798822a6 | [
"MIT"
] | null | null | null | .footer-title {
height: 100% !important;
width: 15% !important;
padding: 1rem 1rem !important;
}
.footer-button {
height: 100% !important;
width: 10% !important;
padding: 1rem 1rem !important;
border-radius: 0;
background-color: #2D7DD2;
color: whitesmoke;
}
.footer-body {
height: 100% !important;
... | 15.969697 | 32 | 0.656546 |
a3110402224571cf2ec5a809dcae7ca17a024c7e | 775 | c | C | posixcat.c | csitd/posix-c-utils | 8e663430efe105482b4f3bea2cbead5a437a95aa | [
"MIT"
] | null | null | null | posixcat.c | csitd/posix-c-utils | 8e663430efe105482b4f3bea2cbead5a437a95aa | [
"MIT"
] | null | null | null | posixcat.c | csitd/posix-c-utils | 8e663430efe105482b4f3bea2cbead5a437a95aa | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
/*
C 2014, MIT license, "posixcat.c" csitd
*/
void concatenate(int, int);
int main(int argc, char *argv[])
{
int o, u;
o = u = 0;
while ((o = getopt (argc, argv, "u")) != -1)
switch (o) {
case 'u': u =... | 16.847826 | 52 | 0.486452 |
a7cdb64f0fdbc2b1eb4e74cda9bbc727d5e8bfc1 | 839 | css | CSS | app/ViewItems/CSS/ReaderStrip.css | CSteinmuller/MangoBango | c0ee7dc1c7d8f53d934365f6482c13f13ce40889 | [
"MIT"
] | 13 | 2018-07-08T04:22:21.000Z | 2022-02-12T07:20:27.000Z | app/ViewItems/CSS/ReaderStrip.css | CSteinmuller/MangoBango | c0ee7dc1c7d8f53d934365f6482c13f13ce40889 | [
"MIT"
] | 55 | 2018-04-07T16:52:28.000Z | 2019-02-27T22:20:16.000Z | app/ViewItems/CSS/ReaderStrip.css | CSteinmuller/MangoBango | c0ee7dc1c7d8f53d934365f6482c13f13ce40889 | [
"MIT"
] | 1 | 2018-07-12T17:30:43.000Z | 2018-07-12T17:30:43.000Z | /*
Styling for ReaderStripView page view.
*/
.strip_wrap {
margin: 0 auto;
width: 1200px;
max-width: 100%;
background-color: #fff;
box-shadow: 0 0 25px 20px rgba(0, 0, 0, 0.3);
}
.strip_wrap img {
margin: 0 auto;
max-width: 100%;
display: block;
}
.strip_wrap .placeholder {
height: 100vh;
text-align: cente... | 15.537037 | 46 | 0.690107 |
df6e5891e4d3fd247a350cba01bac4ccb6f25400 | 1,038 | rb | Ruby | spec/controllers/main_controller_spec.rb | FDA/precisionFDA | 96ea6494b58c08cd7fdbef12fd2922a4cca7a643 | [
"CC0-1.0"
] | 57 | 2016-01-15T21:29:49.000Z | 2022-03-06T22:51:31.000Z | spec/controllers/main_controller_spec.rb | FDA/precisionFDA | 96ea6494b58c08cd7fdbef12fd2922a4cca7a643 | [
"CC0-1.0"
] | 26 | 2019-09-10T15:14:25.000Z | 2022-02-27T07:45:43.000Z | spec/controllers/main_controller_spec.rb | FDA/precisionFDA | 96ea6494b58c08cd7fdbef12fd2922a4cca7a643 | [
"CC0-1.0"
] | 24 | 2016-03-18T05:57:26.000Z | 2021-07-09T05:29:34.000Z | require "rails_helper"
RSpec.describe MainController, type: :controller do
let!(:user) { create(:user, dxuser: "test") }
let!(:attachments) do
[
create(:user_file),
create(:asset),
create(:app),
]
end
let!(:discussion) { create(:discussion, :with_attachments, user: user, attachments:... | 23.590909 | 100 | 0.620424 |
8ecb533eb873890199e71affc55f093d2b68c286 | 2,344 | js | JavaScript | src/utils/build.js | dengnan123/high-rollup | 449c439ae52e8c52404e41e6bd0615d57c1d4f25 | [
"MIT"
] | null | null | null | src/utils/build.js | dengnan123/high-rollup | 449c439ae52e8c52404e41e6bd0615d57c1d4f25 | [
"MIT"
] | null | null | null | src/utils/build.js | dengnan123/high-rollup | 449c439ae52e8c52404e41e6bd0615d57c1d4f25 | [
"MIT"
] | null | null | null | const fs = require("fs-extra")
const path = require("path")
const hasChildHash = {
ECharts: 1,
Material: 1,
Table: 1,
Target: 1,
}
function buildUmd(params) {
let skipFiles = []
const outUmdFolderName = "umd-dist"
const distPath = path.resolve(__dirname, `../${outUmdFolderName}`)
if (fs.existsSync(dis... | 23.676768 | 73 | 0.503413 |
f329ec828b8ad78aa0aca3a3c493fb8952d94adb | 535 | kt | Kotlin | plugins/ksp/testData/api/errorTypes.kt | LaudateCorpus1/kotlin | 74126637a097f5e6b099a7b7a4263468ecfda144 | [
"ECL-2.0",
"Apache-2.0"
] | 337 | 2020-05-14T00:40:10.000Z | 2022-02-16T23:39:07.000Z | plugins/ksp/testData/api/errorTypes.kt | yanghuadong-Mobile-Researcher/kotlin | 74126637a097f5e6b099a7b7a4263468ecfda144 | [
"ECL-2.0",
"Apache-2.0"
] | 92 | 2020-06-10T23:17:42.000Z | 2020-09-25T10:50:13.000Z | plugins/ksp/testData/api/errorTypes.kt | yanghuadong-Mobile-Researcher/kotlin | 74126637a097f5e6b099a7b7a4263468ecfda144 | [
"ECL-2.0",
"Apache-2.0"
] | 44 | 2020-05-17T10:11:11.000Z | 2022-03-11T02:37:20.000Z | // WITH_RUNTIME
// TEST PROCESSOR: ErrorTypeProcessor
// EXPECTED:
// ERROR TYPE
// kotlin.collections.Map
// kotlin.String
// ERROR TYPE
// errorInComponent is assignable from errorAtTop: false
// errorInComponent is assignable from class C: false
// Any is assignable from errorInComponent: false
// class C is assigna... | 29.722222 | 57 | 0.751402 |
212408b0d150c119c4d897853c99a37cfe3ed38f | 8,202 | swift | Swift | Flicks/MoviesViewController.swift | nishantnisonko/flicks | bb07160f0da6adad0456255e8950364cb560c2b0 | [
"Apache-2.0"
] | null | null | null | Flicks/MoviesViewController.swift | nishantnisonko/flicks | bb07160f0da6adad0456255e8950364cb560c2b0 | [
"Apache-2.0"
] | 1 | 2017-04-03T15:13:34.000Z | 2017-04-03T15:13:34.000Z | Flicks/MoviesViewController.swift | nishantnisonko/flicks | bb07160f0da6adad0456255e8950364cb560c2b0 | [
"Apache-2.0"
] | null | null | null | //
// MoviesViewController.swift
// Flicks
//
// Created by Nishant nishanko on 3/30/17.
// Copyright © 2017 Nishant nishanko. All rights reserved.
//
import UIKit
import AFNetworking
import MBProgressHUD
class MoviesViewController: UIViewController, UITableViewDataSource, UITableViewDelegate, UICollectionViewDat... | 37.113122 | 145 | 0.586686 |
5861759ca6c302ae1dfb391d9c66db68ed31e982 | 3,593 | css | CSS | static/css/estilo_suministro_productos.css | JanPol2000/bodyfit | 5af625353e69f39cff19d0f0164e4e47b9ac07cd | [
"MIT"
] | null | null | null | static/css/estilo_suministro_productos.css | JanPol2000/bodyfit | 5af625353e69f39cff19d0f0164e4e47b9ac07cd | [
"MIT"
] | 17 | 2021-04-29T16:53:49.000Z | 2021-05-26T01:04:10.000Z | static/css/estilo_suministro_productos.css | developer-s-eye/bodyfit | 5af625353e69f39cff19d0f0164e4e47b9ac07cd | [
"MIT"
] | null | null | null | .form-register{
position: absolute;
top: 15%;
left: 0;
right: 0;
bottom: 0;
margin: auto;
width: 460px;
height: fit-content;
background: none;
padding: 15px;
border-radius: 2px;
font-family: "bahnschrift";
color: whitesmoke;
justify-content: center;
align-it... | 17.965 | 46 | 0.587253 |
c984cdd4509e5d229fc4cd9b5c1955cc10d2d200 | 322 | ts | TypeScript | src/__tests__/app.spec.ts | urielscola/music-discovery-api | 1bfe8d1a6974e9b2040945e7e8db7c4ac3c1847a | [
"MIT"
] | 1 | 2020-10-29T17:04:32.000Z | 2020-10-29T17:04:32.000Z | src/__tests__/app.spec.ts | urielscola/music-discovery-api | 1bfe8d1a6974e9b2040945e7e8db7c4ac3c1847a | [
"MIT"
] | null | null | null | src/__tests__/app.spec.ts | urielscola/music-discovery-api | 1bfe8d1a6974e9b2040945e7e8db7c4ac3c1847a | [
"MIT"
] | null | null | null | import request from 'supertest'
import app from '../../src/app'
describe('Route testing', () => {
it('Should return an http 404 and a "message" property (route: GET /)', async () => {
const res = await request(app).get('/')
expect(res.status).toEqual(404)
expect(res.body).toHaveProperty('message')
})
}... | 29.272727 | 87 | 0.636646 |
bf399d0db7123d0af8429d01d052fe5478e73ee0 | 2,471 | go | Go | utils.go | MiranaZJXLSQ/lrmf | ad87693f034652547cc8fbd38c449323aac3af84 | [
"Apache-2.0"
] | null | null | null | utils.go | MiranaZJXLSQ/lrmf | ad87693f034652547cc8fbd38c449323aac3af84 | [
"Apache-2.0"
] | null | null | null | utils.go | MiranaZJXLSQ/lrmf | ad87693f034652547cc8fbd38c449323aac3af84 | [
"Apache-2.0"
] | null | null | null | package lrmf
import (
"context"
"encoding/json"
"fmt"
"strconv"
"strings"
"time"
"github.com/coreos/etcd/clientv3"
"github.com/pkg/errors"
)
// 先干活,在进入周期运行
func doAndLoop(ctx context.Context, duration time.Duration, fn func(ctx context.Context) error, caller string) {
var err error
err = fn(ctx)
if err ... | 20.254098 | 112 | 0.671388 |
eb3b685f4165a846c4aeeedab5d40641005a73c7 | 1,203 | css | CSS | public/css/provider.css | letranhuudanh0030/doan-3-new | 51ffd0baf676c0ee91d01f5904f242d17d7e201a | [
"MIT"
] | null | null | null | public/css/provider.css | letranhuudanh0030/doan-3-new | 51ffd0baf676c0ee91d01f5904f242d17d7e201a | [
"MIT"
] | 1 | 2022-02-19T03:59:00.000Z | 2022-02-19T03:59:00.000Z | public/css/provider.css | letranhuudanh0030/doan3 | ffd857e482b3e5eca1d7df88e3267422c97454c5 | [
"MIT"
] | null | null | null | #hd-provider {
/* the slides */
/* the parent */
}
#hd-provider .nb-categories {
box-shadow: 10px 10px 5px 0px rgba(183, 183, 183, 0.75);
}
#hd-provider .nb-categories .nb-category {
padding: 1% 1.5%;
display: inline-block;
text-decoration: none;
text-transform: uppercase;
font-weight: bold;
border-... | 18.796875 | 58 | 0.66251 |
f433251eefbfa448489037c599fe45cd89e9ef6e | 2,876 | tsx | TypeScript | src/app/index.tsx | tracycollins/art47 | b5ed624041a4389b99f0a3c411d0aa43e5395273 | [
"MIT"
] | null | null | null | src/app/index.tsx | tracycollins/art47 | b5ed624041a4389b99f0a3c411d0aa43e5395273 | [
"MIT"
] | 36 | 2021-04-16T15:25:38.000Z | 2022-02-27T13:16:01.000Z | src/app/index.tsx | tracycollins/art47 | b5ed624041a4389b99f0a3c411d0aa43e5395273 | [
"MIT"
] | null | null | null | import React, { useEffect } from 'react';
import { useDispatch } from 'react-redux';
import { useUserSlice } from 'app/pages/UserPage/slice';
import { useArtworksSlice } from 'app/pages/ArtworksPage/slice';
import { Helmet } from 'react-helmet-async';
import { Switch, Route, BrowserRouter } from 'react-router-dom';
im... | 36.405063 | 68 | 0.637344 |
fdc6351bc0a593e044fab8de5b5c8e3990232ddc | 1,381 | css | CSS | site/icons/style.css | lazd/covid19heat | 6784f3660087c3df9c973d805e245f841a11611d | [
"BSD-2-Clause"
] | 5 | 2020-03-02T04:02:30.000Z | 2020-05-20T06:24:45.000Z | site/icons/style.css | lazd/covid19heat | 6784f3660087c3df9c973d805e245f841a11611d | [
"BSD-2-Clause"
] | 13 | 2020-03-01T23:57:00.000Z | 2022-01-27T16:09:30.000Z | site/icons/style.css | lazd/covid19heat | 6784f3660087c3df9c973d805e245f841a11611d | [
"BSD-2-Clause"
] | 6 | 2020-03-02T04:02:31.000Z | 2021-11-22T09:35:25.000Z | @font-face {
font-family: 'icomoon';
src:
url('fonts/icomoon.ttf?mvh2u') format('truetype'),
url('fonts/icomoon.woff?mvh2u') format('woff'),
url('fonts/icomoon.svg?mvh2u#icomoon') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
}
.gt_icon {
/* use !important to prev... | 19.180556 | 82 | 0.645185 |
c6f65b9e07b7ff6559f5cbe3f6a12a8cdd142ab6 | 353 | py | Python | tests/route_decorator/test_route_decorator.py | Bakhtiyar-Garashov/flake8-fastapi | 81e774defcae377e77c1986ca780a922b27d2757 | [
"MIT"
] | 20 | 2021-06-01T20:53:46.000Z | 2022-01-29T21:35:46.000Z | tests/route_decorator/test_route_decorator.py | Bakhtiyar-Garashov/flake8-fastapi | 81e774defcae377e77c1986ca780a922b27d2757 | [
"MIT"
] | 13 | 2021-06-02T15:26:22.000Z | 2021-07-25T13:27:59.000Z | tests/route_decorator/test_route_decorator.py | Bakhtiyar-Garashov/flake8-fastapi | 81e774defcae377e77c1986ca780a922b27d2757 | [
"MIT"
] | 3 | 2021-06-01T21:16:58.000Z | 2022-01-29T21:39:29.000Z | from flake8_plugin_utils import assert_error, assert_not_error
from flake8_fastapi.errors import RouteDecoratorError
from flake8_fastapi.visitors import RouteDecorator
def test_code_with_error(code: str):
assert_error(RouteDecorator, code, RouteDecoratorError)
def test_code_without_error(code: str):
assert... | 27.153846 | 62 | 0.844193 |