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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
056b6c1185f21235d024aa7cc29ef94fa955d289 | 2,101 | rs | Rust | src/backend/mysql.rs | Txuritan/snowfall | b1b9b6c7063ec4ac11f1e77a60fee878e2b2c9c3 | [
"MIT"
] | null | null | null | src/backend/mysql.rs | Txuritan/snowfall | b1b9b6c7063ec4ac11f1e77a60fee878e2b2c9c3 | [
"MIT"
] | null | null | null | src/backend/mysql.rs | Txuritan/snowfall | b1b9b6c7063ec4ac11f1e77a60fee878e2b2c9c3 | [
"MIT"
] | null | null | null | //! # r2d2-mysql
//! MySQL support for the r2d2 connection pool (Rust) . see [`r2d2`](http://github.com/sfackler/r2d2.git) .
//!
//! #### Install
//! Just include another `[dependencies.*]` section into your Cargo.toml:
//!
//! ```toml
//! [dependencies.r2d2_mysql]
//! git = "https://github.com/outersky/r2d2-mysql"
//... | 25.938272 | 108 | 0.558782 |
c501ffd6223c5a8b0cdeabfe8aa26376a89e2937 | 716 | css | CSS | client/src/index.css | oughtinc/mosaic | 40729257a8ea2d23a02eb2f6b9117d38defde022 | [
"MIT"
] | 24 | 2018-07-20T23:10:58.000Z | 2021-09-03T14:14:29.000Z | client/src/index.css | oughtinc/mosaic | 40729257a8ea2d23a02eb2f6b9117d38defde022 | [
"MIT"
] | 541 | 2018-07-18T18:05:19.000Z | 2022-03-08T22:41:47.000Z | client/src/index.css | oughtinc/mosaic | 40729257a8ea2d23a02eb2f6b9117d38defde022 | [
"MIT"
] | 5 | 2018-12-13T01:30:39.000Z | 2021-05-10T18:44:39.000Z | body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #eee;
}
.menu > * {
display: inline-block;
}
.menu > * + * {
margin-left: 15px;
}
.toolbar-menu {
position: relative;
padding: 1px 18px 17px;
margin: 0 -20px;
border-bottom: 2px solid #eee;
margin-bottom: 20px;
}
.... | 13.018182 | 33 | 0.618715 |
a1bdfc40888811e86492a12dba546b228c78be18 | 925 | sql | SQL | test/Microsoft.SqlTools.ServiceLayer.Test.Common/TestData/TSqlFormatter/TestFiles/KeywordCaseConversion.sql | Thomas-S-B/sqltoolsservice | e2b0e013789dc392f8b5ef3dc35a4859698f7e68 | [
"MIT"
] | 176 | 2016-11-18T04:11:38.000Z | 2019-05-04T07:11:11.000Z | test/Microsoft.SqlTools.ServiceLayer.Test.Common/TestData/TSqlFormatter/TestFiles/KeywordCaseConversion.sql | Thomas-S-B/sqltoolsservice | e2b0e013789dc392f8b5ef3dc35a4859698f7e68 | [
"MIT"
] | 588 | 2016-11-16T21:15:11.000Z | 2019-05-03T21:27:59.000Z | test/Microsoft.SqlTools.ServiceLayer.Test.Common/TestData/TSqlFormatter/TestFiles/KeywordCaseConversion.sql | Thomas-S-B/sqltoolsservice | e2b0e013789dc392f8b5ef3dc35a4859698f7e68 | [
"MIT"
] | 67 | 2016-11-25T17:43:20.000Z | 2019-04-29T04:50:10.000Z | -- Case: common type keywords
cReaTe tAbLe [SimpleTable]
(
-- this is a comment before document
[DocumentID] INT iDentIty (1, 1) NOT NULL,
-- this is a comment before Title
[Title] NVARCHAR (50) NOT NULL,
-- this is a comment before FileName
[FileName] NVARCHAR (400) NOT NULL,
-- this ... | 22.560976 | 73 | 0.681081 |
dd9e94ae6db649288500bbba7f5726dbdbe7c3aa | 1,873 | dart | Dart | test/widget_test.dart | AndriousSolutions/app_template | 6937c151b924f42a214b00bb6def005e700c7a53 | [
"BSD-2-Clause"
] | 1 | 2021-12-20T10:19:08.000Z | 2021-12-20T10:19:08.000Z | test/widget_test.dart | AndriousSolutions/app_template | 6937c151b924f42a214b00bb6def005e700c7a53 | [
"BSD-2-Clause"
] | null | null | null | test/widget_test.dart | AndriousSolutions/app_template | 6937c151b924f42a214b00bb6def005e700c7a53 | [
"BSD-2-Clause"
] | null | null | null | ///
import 'src/view.dart';
void main() {
/// Define a test. The TestWidgets function also provides a WidgetTester
/// to work with. The WidgetTester allows you to build and interact
/// with widgets in the test environment.
testWidgets('app_template testing', (WidgetTester tester) async {
//
await tes... | 24.973333 | 80 | 0.6252 |
e5902b445cf25928a537a552d8b72f9bef862fae | 5,277 | go | Go | google/SheetData.go | RescueDen/restlib | 91c3050fdf31305bc8576a5da06d505ce8be9eb6 | [
"MIT"
] | 1 | 2019-07-26T23:15:21.000Z | 2019-07-26T23:15:21.000Z | google/SheetData.go | RescueDen/restlib | 91c3050fdf31305bc8576a5da06d505ce8be9eb6 | [
"MIT"
] | 4 | 2020-06-24T23:04:11.000Z | 2020-11-19T20:23:34.000Z | google/SheetData.go | RescueDen/restlib | 91c3050fdf31305bc8576a5da06d505ce8be9eb6 | [
"MIT"
] | 2 | 2019-11-23T21:10:13.000Z | 2020-05-23T21:37:23.000Z | // Copyright 2019 Reaction Engineering International. All rights reserved.
// Use of this source code is governed by the MIT license in the file LICENSE.txt.
package google
import (
"errors"
"fmt"
"strings"
)
/**
Used to store a row of data
*/
type SheetData struct {
//Store the values in the row
Values [][]in... | 21.627049 | 83 | 0.672162 |
76c53600a0c898212b2b38c8b97e26fdc07df1b4 | 5,268 | h | C | Source/UnrealExtendedFramework/Libraries/AI/EFAILibrary.h | ElderDeveloper/UnrealExtendedFramework | 9eda70583773159f80e8bc4406a85c476d0c80e5 | [
"MIT"
] | 1 | 2022-01-13T07:21:19.000Z | 2022-01-13T07:21:19.000Z | Source/UnrealExtendedFramework/Libraries/AI/EFAILibrary.h | ElderDeveloper/UnrealExtendedFramework | 9eda70583773159f80e8bc4406a85c476d0c80e5 | [
"MIT"
] | null | null | null | Source/UnrealExtendedFramework/Libraries/AI/EFAILibrary.h | ElderDeveloper/UnrealExtendedFramework | 9eda70583773159f80e8bc4406a85c476d0c80e5 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Object.h"
#include "EFAILibrary.generated.h"
/**
*
*/
UCLASS()
class UNREALEXTENDEDFRAMEWORK_API UEFAILibrary : public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
/... | 64.243902 | 195 | 0.768413 |
789cbfdb9dbc8cb7d5937be7dfc6d84d7076dd04 | 1,269 | sql | SQL | tools/openmldb_online_env/prepare_data.sql | tobegit3hub/openmldb_lab | 0c271d4f622426ae6fe23cc4279fd0b7cedea2cb | [
"Apache-2.0"
] | null | null | null | tools/openmldb_online_env/prepare_data.sql | tobegit3hub/openmldb_lab | 0c271d4f622426ae6fe23cc4279fd0b7cedea2cb | [
"Apache-2.0"
] | null | null | null | tools/openmldb_online_env/prepare_data.sql | tobegit3hub/openmldb_lab | 0c271d4f622426ae6fe23cc4279fd0b7cedea2cb | [
"Apache-2.0"
] | null | null | null | CREATE DATABASE db1;
USE db1;
CREATE TABLE user (id int, name string, age int, gender string);
INSERT INTO user VALUES (1, "Venus", 18, "female");
INSERT INTO user VALUES (2, "Diana", 28, "female");
INSERT INTO user VALUES (3, "Apollo", 19, "male");
INSERT INTO user VALUES (4, "Mars", 20, "male");
INSERT INTO user VAL... | 34.297297 | 91 | 0.676911 |
0706b2d2e14e9958627b79b42033b3a1a6f67853 | 389 | rb | Ruby | app/models/manageiq/providers/azure/cloud_manager/refresher.rb | psav/manageiq | 5cc942b414e91a1485103134729f96915f074991 | [
"Apache-2.0"
] | null | null | null | app/models/manageiq/providers/azure/cloud_manager/refresher.rb | psav/manageiq | 5cc942b414e91a1485103134729f96915f074991 | [
"Apache-2.0"
] | null | null | null | app/models/manageiq/providers/azure/cloud_manager/refresher.rb | psav/manageiq | 5cc942b414e91a1485103134729f96915f074991 | [
"Apache-2.0"
] | null | null | null | module ManageIQ::Providers::Azure
class CloudManager::Refresher < ManageIQ::Providers::BaseManager::Refresher
include ::EmsRefresh::Refreshers::EmsRefresherMixin
def parse_inventory(ems, _targets)
ManageIQ::Providers::Azure::CloudManager::RefreshParser.ems_inv_to_hashes(ems, refresher_options)
end
... | 27.785714 | 103 | 0.753213 |
9fbc2805e0ab8578a82f5e410f2c815ab3c3a6b8 | 252 | lua | Lua | AddonManager/locales/tw.lua | Syvokobylenko/RunesofMagic_Addon_Pack | 3edeacf3823c62b176d202d76fd87658f5ff8295 | [
"Unlicense"
] | null | null | null | AddonManager/locales/tw.lua | Syvokobylenko/RunesofMagic_Addon_Pack | 3edeacf3823c62b176d202d76fd87658f5ff8295 | [
"Unlicense"
] | null | null | null | AddonManager/locales/tw.lua | Syvokobylenko/RunesofMagic_Addon_Pack | 3edeacf3823c62b176d202d76fd87658f5ff8295 | [
"Unlicense"
] | null | null | null | -- coding: utf-8
--[[
-- PLEASE DO "NOT" EDIT THIS FILE!
-- This file is generated by script.
--
-- If you want to apply corrections visit:
-- http://rom.curseforge.com/addons/addonmanager/localization/
--]]
local lang={}
lang.CAT = {
}
return lang
| 15.75 | 62 | 0.666667 |
1b64f8422f89b2ef0564e6975e379c017248d34f | 654 | dart | Dart | lib/app/utils/values/enum_navigation.dart | Rohit-ChauhanRC/flutter_templates | 673d86348a68443b1fa0c7134a0d1dd45b9993f6 | [
"MIT"
] | null | null | null | lib/app/utils/values/enum_navigation.dart | Rohit-ChauhanRC/flutter_templates | 673d86348a68443b1fa0c7134a0d1dd45b9993f6 | [
"MIT"
] | null | null | null | lib/app/utils/values/enum_navigation.dart | Rohit-ChauhanRC/flutter_templates | 673d86348a68443b1fa0c7134a0d1dd45b9993f6 | [
"MIT"
] | null | null | null | enum NavigationFrom {
orderDetailsCod,
orderPickedCod,
orderReceivePayment,
orderPaymentReceived,
orderDeliverCod,
orderDelivered,
orderRequestDetail,
updatedStatusOrder,
updatedStatusDelivered,
statusUpdated,
}
enum NavigationPackedOrder {
acceptOrder,
orderPicked,
startDelivery,
onGoing,
... | 14.217391 | 28 | 0.766055 |
2cc5f51496ea15b87e6ce86cfca1d00aad746846 | 651 | py | Python | tests/_support/tree/__init__.py | crazy-penguins/raft | 3eb829f1c0d90608743cadac4c5a04017c93c607 | [
"BSD-2-Clause"
] | null | null | null | tests/_support/tree/__init__.py | crazy-penguins/raft | 3eb829f1c0d90608743cadac4c5a04017c93c607 | [
"BSD-2-Clause"
] | null | null | null | tests/_support/tree/__init__.py | crazy-penguins/raft | 3eb829f1c0d90608743cadac4c5a04017c93c607 | [
"BSD-2-Clause"
] | null | null | null | from raft import task, Collection
from . import build, deploy, provision
@task(aliases=["ipython"])
def shell(c):
"Load a REPL with project state already set up."
pass
@task(aliases=["run_tests"], default=True)
def test(c):
"Run the test suite with baked-in args."
pass
# NOTE: using build's inter... | 26.04 | 74 | 0.729647 |
5ad2ec958c0ad062a4858976ee80ba2c29a45a0d | 3,554 | cs | C# | test/vstest.ProgrammerTests/Fakes/FakeCommunicationEndpoint.cs | ntovas/vstest | 631c5821d22163d29cc8140ad23543bc33e595c1 | [
"MIT"
] | 480 | 2017-01-19T20:53:39.000Z | 2019-05-03T11:13:06.000Z | test/vstest.ProgrammerTests/Fakes/FakeCommunicationEndpoint.cs | ntovas/vstest | 631c5821d22163d29cc8140ad23543bc33e595c1 | [
"MIT"
] | 1,381 | 2017-01-19T19:55:42.000Z | 2019-05-06T16:45:27.000Z | test/vstest.ProgrammerTests/Fakes/FakeCommunicationEndpoint.cs | ntovas/vstest | 631c5821d22163d29cc8140ad23543bc33e595c1 | [
"MIT"
] | 169 | 2017-01-19T18:38:53.000Z | 2019-04-10T15:34:39.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.Interfaces;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualS... | 44.425 | 150 | 0.700338 |
14badeb4963b1f6ea5606ddc8ec37a874847c02e | 318 | ts | TypeScript | src/interfaces/igenetic-algorithm.ts | tom-weatherhead/thaw-genetic | 7671a4358159ad53d08808e4141e3452a080bfd1 | [
"MIT"
] | null | null | null | src/interfaces/igenetic-algorithm.ts | tom-weatherhead/thaw-genetic | 7671a4358159ad53d08808e4141e3452a080bfd1 | [
"MIT"
] | null | null | null | src/interfaces/igenetic-algorithm.ts | tom-weatherhead/thaw-genetic | 7671a4358159ad53d08808e4141e3452a080bfd1 | [
"MIT"
] | null | null | null | // thaw-genetic/src/interfaces/igenetic-algorithm.ts
import { Observable } from 'rxjs';
import { IChromosome } from './ichromosome';
import { IGeneticAlgorithmResult } from './igenetic-algorithm-result';
export interface IGeneticAlgorithm<T extends IChromosome> {
run(): Observable<IGeneticAlgorithmResult<T>>;
}
| 26.5 | 70 | 0.764151 |
af2a406838efea757cc4acb358285b7045e3197f | 5,021 | py | Python | code/figures/Chure2019_FigS17-FigS18_IND_pairwise_comparison.py | RPGroup-PBoC/mwc_mutants | 35581602c35793fc8ec42c8aff37b8305c5e54e1 | [
"MIT"
] | 3 | 2020-11-11T21:33:26.000Z | 2021-07-14T21:22:43.000Z | code/figures/Chure2019_FigS17-FigS18_IND_pairwise_comparison.py | RPGroup-PBoC/mwc_mutants | 35581602c35793fc8ec42c8aff37b8305c5e54e1 | [
"MIT"
] | null | null | null | code/figures/Chure2019_FigS17-FigS18_IND_pairwise_comparison.py | RPGroup-PBoC/mwc_mutants | 35581602c35793fc8ec42c8aff37b8305c5e54e1 | [
"MIT"
] | 1 | 2021-07-14T21:22:45.000Z | 2021-07-14T21:22:45.000Z | # -*- coding: utf-8 -*-
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import mut.thermo
import mut.stats
import mut.viz
color = mut.viz.color_selector('mut')
pboc = mut.viz.color_selector('pboc')
constants = mut.thermo.load_constants()
mut.viz.plotting_style()
# Load the data
data = pd.read_c... | 41.495868 | 104 | 0.520215 |
e27214e5385893d35837af6ee99a8f609104855b | 5,580 | py | Python | mupf/log/_tracks.py | kimbar/mupf_project | 21de9ed94f604220f8b8dcc64d45e30a0b94d2a1 | [
"MIT"
] | null | null | null | mupf/log/_tracks.py | kimbar/mupf_project | 21de9ed94f604220f8b8dcc64d45e30a0b94d2a1 | [
"MIT"
] | 44 | 2019-06-14T03:43:43.000Z | 2020-12-27T19:17:15.000Z | mupf/log/_tracks.py | kimbar/mupf_project | 21de9ed94f604220f8b8dcc64d45e30a0b94d2a1 | [
"MIT"
] | null | null | null | from . import _main as main
from . import settings
_tracks = []
_styles = dict(
_reference = "|,`}+-{><.T^tE",
default = "│┌└├┼─┤><·┐┘─E",
rounded = "│╭╰├┼─┤><·╮╯─E",
simple = "|,`|+-|><*,'-E",
)
glyphs = {}
ligatures = {}
def get_style(name):
if not isinstance(name, str):
name =... | 31.348315 | 101 | 0.505556 |
ed1e220ef9fa5dccba98d6f8293ae2afced8c17a | 3,892 | html | HTML | index.html | matusmarcin/matusmarcin.com | 815bcf842e31be9727cd69dab587dce606363fb8 | [
"CC-BY-3.0"
] | null | null | null | index.html | matusmarcin/matusmarcin.com | 815bcf842e31be9727cd69dab587dce606363fb8 | [
"CC-BY-3.0"
] | null | null | null | index.html | matusmarcin/matusmarcin.com | 815bcf842e31be9727cd69dab587dce606363fb8 | [
"CC-BY-3.0"
] | null | null | null | <!DOCTYPE HTML>
<!--
Astral by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Matúš Marcin · Web Consultant</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-... | 36.037037 | 166 | 0.556269 |
dd87b45e565ff5f447da8f75cb968e5cc987c707 | 1,504 | java | Java | taxiguider/taxiassign_eng/src/main/java/taxiguider/Taxiassign.java | acw0626/asman_readme | b6b73a00fd33c020874f2f97fa3597b30325d15b | [
"MIT"
] | null | null | null | taxiguider/taxiassign_eng/src/main/java/taxiguider/Taxiassign.java | acw0626/asman_readme | b6b73a00fd33c020874f2f97fa3597b30325d15b | [
"MIT"
] | null | null | null | taxiguider/taxiassign_eng/src/main/java/taxiguider/Taxiassign.java | acw0626/asman_readme | b6b73a00fd33c020874f2f97fa3597b30325d15b | [
"MIT"
] | null | null | null | package taxiguider;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.PrePersist;
import javax.persistence.Table;
@Entity
@Table(name="Taxiassign_table")
public class Taxiassign {
@Id
@Gener... | 17.090909 | 64 | 0.65758 |
5af6f26dff87173fff4aea931788c99a27c09db6 | 188 | cs | C# | Backend/AnimalRescue/AnimalRescue.DataAccess.Mongodb/Interfaces/Repositories/IVacancyRepository.cs | AlexeyDerepa/AnimalRescue | 04715710ee0949e018dc8b7f0a40ad91bc446072 | [
"Apache-2.0"
] | null | null | null | Backend/AnimalRescue/AnimalRescue.DataAccess.Mongodb/Interfaces/Repositories/IVacancyRepository.cs | AlexeyDerepa/AnimalRescue | 04715710ee0949e018dc8b7f0a40ad91bc446072 | [
"Apache-2.0"
] | null | null | null | Backend/AnimalRescue/AnimalRescue.DataAccess.Mongodb/Interfaces/Repositories/IVacancyRepository.cs | AlexeyDerepa/AnimalRescue | 04715710ee0949e018dc8b7f0a40ad91bc446072 | [
"Apache-2.0"
] | null | null | null | using AnimalRescue.DataAccess.Mongodb.Models;
namespace AnimalRescue.DataAccess.Mongodb.Interfaces.Repositories
{
public interface IVacancyRepository : IBaseRepository<Vacancy>
{
}
}
| 20.888889 | 65 | 0.824468 |
df58dc41b4f33b0c14401ee148520bc4d8aecc0a | 10,350 | cs | C# | ryuk/gtk-gui/ryuk.RemoteLogin.cs | OtisCat/gazLaxe | c8ffb888419af96df7952fdd083aadbbfc4b57ca | [
"MIT"
] | null | null | null | ryuk/gtk-gui/ryuk.RemoteLogin.cs | OtisCat/gazLaxe | c8ffb888419af96df7952fdd083aadbbfc4b57ca | [
"MIT"
] | null | null | null | ryuk/gtk-gui/ryuk.RemoteLogin.cs | OtisCat/gazLaxe | c8ffb888419af96df7952fdd083aadbbfc4b57ca | [
"MIT"
] | null | null | null |
// This file has been generated by the GUI designer. Do not modify.
namespace ryuk
{
public partial class RemoteLogin
{
private global::Gtk.UIManager UIManager;
private global::Gtk.Action FileAction;
private global::Gtk.Action EditAction;
private global::Gtk.Action WindowAction;
private global::Gtk.VBo... | 41.902834 | 125 | 0.695845 |
20e16cb94dcb9dfa59991a388be7903b9e6de468 | 5,829 | py | Python | chemml/chem/magpie_python/attributes/generators/composition/YangOmegaAttributeGenerator.py | iamchetry/DataChallenge-Fall2021 | fa7748c9ea2f3c0f6bde8d0b094fc75463e28f33 | [
"BSD-3-Clause"
] | 108 | 2018-03-23T20:06:03.000Z | 2022-01-06T19:32:46.000Z | chemml/chem/magpie_python/attributes/generators/composition/YangOmegaAttributeGenerator.py | hachmannlab/ChemML | 42b152579872a57c834884596f700c76b9320280 | [
"BSD-3-Clause"
] | 18 | 2019-08-09T21:16:14.000Z | 2022-02-14T21:52:06.000Z | chemml/chem/magpie_python/attributes/generators/composition/YangOmegaAttributeGenerator.py | hachmannlab/ChemML | 42b152579872a57c834884596f700c76b9320280 | [
"BSD-3-Clause"
] | 28 | 2018-04-28T17:07:33.000Z | 2022-02-28T07:22:56.000Z | # coding=utf-8
import math
import types
import numpy as np
import pandas as pd
from ....data.materials.CompositionEntry import CompositionEntry
from ....data.materials.util.LookUpData import LookUpData
class YangOmegaAttributeGenerator:
"""Class to compute the attributes :math:`\Omega` and :math:`\delta`
devel... | 40.2 | 80 | 0.618974 |
79e258b0797f1b5aaec2c5b64b4af1cc94103e7b | 16,371 | php | PHP | inc/customizer/panels/clients.php | runthemes/fargo | 539ef3dfa3c81eca992c58a36c8cb488a6563f2b | [
"MIT"
] | null | null | null | inc/customizer/panels/clients.php | runthemes/fargo | 539ef3dfa3c81eca992c58a36c8cb488a6563f2b | [
"MIT"
] | null | null | null | inc/customizer/panels/clients.php | runthemes/fargo | 539ef3dfa3c81eca992c58a36c8cb488a6563f2b | [
"MIT"
] | null | null | null | <?php
/**
* Clients Section Customizer Options
*
* @since 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Variable
*/
$panel = 'fargo_panel_clients';
$prefix = 'fargo';
/**
* Panel
*/
$wp_customize->add_section( $panel, array(
'priority' => fargo_get_section_position($panel),
'capa... | 36.139073 | 218 | 0.568444 |
cc5a995a36519f8aa76dd6074016a674c50f7258 | 2,827 | dart | Dart | test/editor_test.dart | icedman/flutter_editor | 3ed8bba5774c3d5653a7c07dc5572ee85996d5fc | [
"MIT"
] | 6 | 2022-03-12T23:20:52.000Z | 2022-03-21T03:13:54.000Z | test/editor_test.dart | icedman/flutter_editor | 3ed8bba5774c3d5653a7c07dc5572ee85996d5fc | [
"MIT"
] | 1 | 2022-03-29T15:25:49.000Z | 2022-03-30T01:53:53.000Z | test/editor_test.dart | icedman/flutter_editor | 3ed8bba5774c3d5653a7c07dc5572ee85996d5fc | [
"MIT"
] | 3 | 2022-03-17T00:18:57.000Z | 2022-03-29T12:13:03.000Z | import 'dart:io';
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:editor/editor/editor.dart';
import 'package:editor/explorer/explorer.dart';
import 'package:editor/services/ffi/bridge.dart';
import 'package:editor/services/app.dart';
import 'packag... | 28.555556 | 61 | 0.589317 |
d909db37a85554d284582740ea8aa6a31892dc8b | 16,333 | rs | Rust | src/check/parse.rs | naokikob/hoice | f019ec168dc5e6bb7a069c9790a80685bd06e0cb | [
"Apache-2.0"
] | 43 | 2017-10-25T07:11:06.000Z | 2021-11-23T08:49:16.000Z | src/check/parse.rs | naokikob/hoice | f019ec168dc5e6bb7a069c9790a80685bd06e0cb | [
"Apache-2.0"
] | 24 | 2017-09-26T08:16:58.000Z | 2021-06-29T14:55:03.000Z | src/check/parse.rs | naokikob/hoice | f019ec168dc5e6bb7a069c9790a80685bd06e0cb | [
"Apache-2.0"
] | 10 | 2017-07-25T06:10:13.000Z | 2021-10-09T14:25:18.000Z | //! Parsers used by the checker.
use std::iter::Extend;
use crate::check::*;
/// Parser.
#[derive(Clone)]
pub struct InParser<'a> {
/// Unknown stuff. Datatype declarations, recursive function definitions and
/// such.
pub unknown: Vec<String>,
/// Predicate definitions.
pub pred_defs: Vec<PredDe... | 26.644372 | 91 | 0.389396 |
58a091139d0180b572c5804f007511c46bc56f9d | 851 | css | CSS | public/css/style.css | kongyay/VoiceFromYourHeart | 87d2f1fcd8503871ee4c85fdcb67f6f2e59384ab | [
"MIT"
] | null | null | null | public/css/style.css | kongyay/VoiceFromYourHeart | 87d2f1fcd8503871ee4c85fdcb67f6f2e59384ab | [
"MIT"
] | null | null | null | public/css/style.css | kongyay/VoiceFromYourHeart | 87d2f1fcd8503871ee4c85fdcb67f6f2e59384ab | [
"MIT"
] | null | null | null | html,
body {
overflow: hidden;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
background-color: #FFF;
color: black;
font-family: 'Open Sans', sans-serif;
font-family: 'Kanit', sans-serif;
}
h1 {
in-height: 100%; /* Fallback for browsers do NOT support vh unit */
min-height: 100vh; /* These tw... | 15.759259 | 71 | 0.616921 |
a33713d3fd164525c00a76d8a519d21c006da38d | 2,507 | java | Java | src/test/java/net/digitallogic/MatrixRotationTest.java | Digital-Logic/JavaInterviewQuestions | 9681fe33812d7e8c0c150cb84db9464a0fc4928f | [
"MIT"
] | null | null | null | src/test/java/net/digitallogic/MatrixRotationTest.java | Digital-Logic/JavaInterviewQuestions | 9681fe33812d7e8c0c150cb84db9464a0fc4928f | [
"MIT"
] | null | null | null | src/test/java/net/digitallogic/MatrixRotationTest.java | Digital-Logic/JavaInterviewQuestions | 9681fe33812d7e8c0c150cb84db9464a0fc4928f | [
"MIT"
] | null | null | null | package net.digitallogic;
import lombok.Value;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.DynamicNode;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestFactory;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.Arrays;
import java.util.str... | 32.986842 | 128 | 0.631432 |
436b2fb5e70b742be20bb7f44f7334fff8a3eedc | 237 | ts | TypeScript | packages/app/src/config/hosts.ts | evertonlf9/monorepo-micro-front-end | fb3d2513f75a06c4c28aeacb67f7274ab6ec7de9 | [
"MIT"
] | null | null | null | packages/app/src/config/hosts.ts | evertonlf9/monorepo-micro-front-end | fb3d2513f75a06c4c28aeacb67f7274ab6ec7de9 | [
"MIT"
] | null | null | null | packages/app/src/config/hosts.ts | evertonlf9/monorepo-micro-front-end | fb3d2513f75a06c4c28aeacb67f7274ab6ec7de9 | [
"MIT"
] | null | null | null | interface Hosts {
starwars: string;
marvel: string;
myapp: string;
}
export default {
starwars: process.env.REACT_APP_MF_STAR_WARS,
marvel: process.env.REACT_APP_MF_MARVEL,
myapp: process.env.REACT_APP_MF_MYAPP,
} as Hosts;
| 19.75 | 47 | 0.755274 |
81505f43723262f1738ec0f8d1b3ca530077a941 | 391 | php | PHP | migrations/m180626_094739_add_affiliates_to_person.php | igor-bulygin/tdvs-gthb | 7e8e6d86382acfe33de154279963daf8e18fbc1e | [
"BSD-3-Clause"
] | null | null | null | migrations/m180626_094739_add_affiliates_to_person.php | igor-bulygin/tdvs-gthb | 7e8e6d86382acfe33de154279963daf8e18fbc1e | [
"BSD-3-Clause"
] | null | null | null | migrations/m180626_094739_add_affiliates_to_person.php | igor-bulygin/tdvs-gthb | 7e8e6d86382acfe33de154279963daf8e18fbc1e | [
"BSD-3-Clause"
] | null | null | null | <?php
class m180626_094739_add_affiliates_to_person extends \yii\mongodb\Migration
{
public function up()
{
$this->createIndex('person', 'affiliate_id');
$this->createIndex('person', 'parent_affiliate_id');
}
public function down()
{
$this->dropIndex('person', 'affiliate_id... | 23 | 76 | 0.636829 |
c9c1e31c09372b69859779f18abd9ede075add2a | 4,779 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1050.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1050.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1050.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x17e87, %rdi
nop
nop
nop
nop
xor %r11, %r11
and $0xffffffffffffffc0, %rdi
vmovaps (%rdi), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $0, %xmm3, %r10
nop
and $3209, %rbp
lea addresses_... | 48.765306 | 2,999 | 0.663109 |
32e6430d3f62795d2d4ef0164c069cedf24f9394 | 4,580 | rs | Rust | library/std/src/os/unix/ucred.rs | mbc-git/rust | 2c7bc5e33c25e29058cbafefe680da8d5e9220e9 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 66,762 | 2015-01-01T08:32:03.000Z | 2022-03-31T23:26:40.000Z | library/std/src/os/unix/ucred.rs | maxrovskyi/rust | 51558ccb8e7cea87c6d1c494abad5451e5759979 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 76,993 | 2015-01-01T00:06:33.000Z | 2022-03-31T23:59:15.000Z | library/std/src/os/unix/ucred.rs | maxrovskyi/rust | 51558ccb8e7cea87c6d1c494abad5451e5759979 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11,787 | 2015-01-01T00:01:19.000Z | 2022-03-31T19:03:42.000Z | //! Unix peer credentials.
// NOTE: Code in this file is heavily based on work done in PR 13 from the tokio-uds repository on
// GitHub.
//
// For reference, the link is here: https://github.com/tokio-rs/tokio-uds/pull/13
// Credit to Martin Habovštiak (GitHub username Kixunil) and contributors for t... | 33.430657 | 99 | 0.577948 |
ff3b83c1bc4abab56af565c86089c90d17512e62 | 10,151 | py | Python | app.py | crazyzete/AppSecAssignment4 | a31da1f56f0b1211a643859de090ca180177cf73 | [
"MIT"
] | null | null | null | app.py | crazyzete/AppSecAssignment4 | a31da1f56f0b1211a643859de090ca180177cf73 | [
"MIT"
] | null | null | null | app.py | crazyzete/AppSecAssignment4 | a31da1f56f0b1211a643859de090ca180177cf73 | [
"MIT"
] | null | null | null | from flask import Flask, request, redirect, render_template, make_response, Response
from flask_login import LoginManager, login_user, login_required, logout_user, UserMixin, current_user
from flask_wtf import FlaskForm
from wtforms import StringField, TextAreaField
from wtforms.validators import DataRequired
from flas... | 31.821317 | 122 | 0.692149 |
be3922d18c6120c11563e6101f16589df23b4c90 | 1,483 | ts | TypeScript | src/ts/tool/shapeStroke.ts | wjheesen/vector-art | d73729c1b0ee236fe9d45a879e5e83cb00e245a0 | [
"MIT"
] | null | null | null | src/ts/tool/shapeStroke.ts | wjheesen/vector-art | d73729c1b0ee236fe9d45a879e5e83cb00e245a0 | [
"MIT"
] | null | null | null | src/ts/tool/shapeStroke.ts | wjheesen/vector-art | d73729c1b0ee236fe9d45a879e5e83cb00e245a0 | [
"MIT"
] | null | null | null | import { MouseOrTouchEvent } from '../event/mouseOrTouch';
import { Surface } from '../rendering/surface';
import { Status } from 'gl2d/event/status';
import { Point } from 'gl2d/struct/point';
import { MouseOrTouchTool } from 'gl2d/tool/mouseOrTouch';
export class ShapeStrokeTool extends MouseOrTouchTool<Surface> {
... | 31.553191 | 73 | 0.626433 |
019a8d22bc0493010a4cf929142fde4b7dff5090 | 1,259 | asm | Assembly | dv3/qlsd/1sec.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | dv3/qlsd/1sec.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | dv3/qlsd/1sec.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; QLSD 1 second loop timer 1999 Tony Tebby
section dv3
xdef qlsd_1sec
include 'dev8_keys_sys'
include 'dev8_keys_qlhw'
include 'dev8_keys_qdos_sms'
include 'dev8_dv3_qlsd_keys'
;+++
; Set up 1 second loop timer
;
; d0 r 1 second timer
;
;---
qlsd.1sec reg d5/d6/d7/a0/a5
qlsd_1sec
movem.l qlsd.1se... | 18.791045 | 57 | 0.677522 |
944c14e902127faa07a787e5c3c04d319c6b159f | 1,111 | lua | Lua | WIP/Set/Negation.spec.lua | Novaly-Studios/TableUtil | c9ed2ed3b7f4a43947f6d539f0f1cff0774260ee | [
"MIT"
] | null | null | null | WIP/Set/Negation.spec.lua | Novaly-Studios/TableUtil | c9ed2ed3b7f4a43947f6d539f0f1cff0774260ee | [
"MIT"
] | null | null | null | WIP/Set/Negation.spec.lua | Novaly-Studios/TableUtil | c9ed2ed3b7f4a43947f6d539f0f1cff0774260ee | [
"MIT"
] | null | null | null | return function()
local Negation = require(script.Parent.Negation)
local FromValues = require(script.Parent.FromValues)
describe("Set/Negation", function()
it("should return a blank set from two blank set inputs", function()
local Result = Negation(FromValues( {} ), FromValues( {} ))
... | 42.730769 | 115 | 0.605761 |
6dd1375e60146a50ad53a11bfe29e9ae6b88570a | 83 | h | C | netbsd/sys/arch/mvmeppc/include/fpu.h | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 91 | 2015-01-05T15:18:31.000Z | 2022-03-11T16:43:28.000Z | netbsd/sys/arch/mvmeppc/include/fpu.h | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 1 | 2016-02-25T15:57:55.000Z | 2016-02-25T16:01:02.000Z | netbsd/sys/arch/mvmeppc/include/fpu.h | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 21 | 2015-02-07T08:23:07.000Z | 2021-12-14T06:01:49.000Z | /* $NetBSD: fpu.h,v 1.1 2002/02/27 21:02:15 scw Exp $ */
#include <powerpc/fpu.h>
| 20.75 | 56 | 0.614458 |
e07fec80deb3194634d05734f5d449ec357ce1bd | 1,298 | h | C | src/common/AsioServicePool.h | cmstest/buzz-ftpd | cd0440acbdc2ee555a76b629c65fbd522b65446d | [
"BSD-3-Clause"
] | 1 | 2022-03-02T21:17:31.000Z | 2022-03-02T21:17:31.000Z | src/common/AsioServicePool.h | cmstest/buzz-ftpd | cd0440acbdc2ee555a76b629c65fbd522b65446d | [
"BSD-3-Clause"
] | null | null | null | src/common/AsioServicePool.h | cmstest/buzz-ftpd | cd0440acbdc2ee555a76b629c65fbd522b65446d | [
"BSD-3-Clause"
] | null | null | null | //
// AsioServicePool.h - part of buzz-ftpd
// Copyright (c) 2011, cxxjoe
// Please refer to the LICENSE file for details.
//
// Based on:
// io_service_pool.hpp
// Copyright (c) 2003-2010 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
#ifndef _ASIO_SERVICE_POOL_H
#define _ASIO_SERVICE_POOL_H
#include "buzzco... | 23.6 | 78 | 0.735747 |
7bf9cbe1cbc9f4fa673a7b264adb680247c22f70 | 220 | rb | Ruby | spec/redistry_spec.rb | Lytol/redistry | e55aa1d2195cb690ba0c75f2eb30224416033a91 | [
"MIT"
] | 1 | 2016-09-24T07:21:54.000Z | 2016-09-24T07:21:54.000Z | spec/redistry_spec.rb | Lytol/redistry | e55aa1d2195cb690ba0c75f2eb30224416033a91 | [
"MIT"
] | null | null | null | spec/redistry_spec.rb | Lytol/redistry | e55aa1d2195cb690ba0c75f2eb30224416033a91 | [
"MIT"
] | null | null | null | require 'spec_helper'
describe Redistry do
it "should have VERSION" do
Redistry::VERSION.should =~ /^\d+\.\d+\.\d+$/
end
it "should have default client" do
Redistry.client.class.should == Redis
end
end
| 18.333333 | 49 | 0.668182 |
4fb27b2a752ebc76f1e9344236d51ddc3f3162be | 154 | rb | Ruby | config/environment.rb | viitoo/Beatstream | 601c88e15d805cbd3cd82051a601f32d9a8ce744 | [
"Unlicense"
] | 72 | 2015-01-18T06:48:39.000Z | 2021-12-28T16:52:01.000Z | config/environment.rb | viitoo/Beatstream | 601c88e15d805cbd3cd82051a601f32d9a8ce744 | [
"Unlicense"
] | 7 | 2015-05-16T18:05:38.000Z | 2016-10-28T12:55:26.000Z | config/environment.rb | viitoo/Beatstream | 601c88e15d805cbd3cd82051a601f32d9a8ce744 | [
"Unlicense"
] | 34 | 2015-01-18T05:31:19.000Z | 2020-07-23T05:03:02.000Z | # Load the rails application
require File.expand_path('../application', __FILE__)
# Initialize the rails application
Beatstream::Application.initialize!
| 25.666667 | 52 | 0.805195 |
f64e1d74027d448ea856d893613a9544aa81cacb | 46,045 | cpp | C++ | hi_scripting/scripting/ScriptProcessorModules.cpp | Matt-Dub/HISE | ae2dd1653e1c8d749a9088edcd573de6252b0b96 | [
"Intel"
] | null | null | null | hi_scripting/scripting/ScriptProcessorModules.cpp | Matt-Dub/HISE | ae2dd1653e1c8d749a9088edcd573de6252b0b96 | [
"Intel"
] | null | null | null | hi_scripting/scripting/ScriptProcessorModules.cpp | Matt-Dub/HISE | ae2dd1653e1c8d749a9088edcd573de6252b0b96 | [
"Intel"
] | null | null | null | /* ===========================================================================
*
* This file is part of HISE.
* Copyright 2016 Christoph Hart
*
* HISE is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foun... | 28.248466 | 154 | 0.738473 |
8da676e012b390ad6d966e87aba38198b5a6f3f5 | 64,448 | js | JavaScript | lib/bible-tools/bibles/en/nasb/books/16.js | saiba-mais/bible-lessons | 6c352c1060c48b80f74f8bf0c1cbff5450de2fe6 | [
"MIT"
] | null | null | null | lib/bible-tools/bibles/en/nasb/books/16.js | saiba-mais/bible-lessons | 6c352c1060c48b80f74f8bf0c1cbff5450de2fe6 | [
"MIT"
] | null | null | null | lib/bible-tools/bibles/en/nasb/books/16.js | saiba-mais/bible-lessons | 6c352c1060c48b80f74f8bf0c1cbff5450de2fe6 | [
"MIT"
] | null | null | null | var book = {
"name": "Nehemiah",
"numChapters": 13,
"chapters": {
"1": {
"1": "<sup>1</sup> The words of Nehemiah the son of Hacaliah. Now it happened in the month Chislev, in the twentieth year, while I was in Susa the capitol,",
"2": "<sup>2</sup> that Hanani, one of my brothers, and some men from Judah ca... | 146.806378 | 355 | 0.713568 |
9a77b16ff4748c476d05c6552b2373420ea79b64 | 104 | sql | SQL | back/sql/challenge_type.sql | G1ng3r/foobar | 625699680b2b31d0e269c58a3309ba46f86fc031 | [
"MIT"
] | null | null | null | back/sql/challenge_type.sql | G1ng3r/foobar | 625699680b2b31d0e269c58a3309ba46f86fc031 | [
"MIT"
] | null | null | null | back/sql/challenge_type.sql | G1ng3r/foobar | 625699680b2b31d0e269c58a3309ba46f86fc031 | [
"MIT"
] | null | null | null | create table challenge_type (
id serial,
title varchar(100),
description varchar(500)
); | 20.8 | 30 | 0.663462 |
b3d72b97e1d1388dcb0301857ffac6eca9501b72 | 2,438 | rs | Rust | src/responses/status.rs | basiliqio/ciboulette | c13b45a8320d283e01f1239b01e947f61e0f6d6b | [
"Apache-2.0",
"MIT"
] | null | null | null | src/responses/status.rs | basiliqio/ciboulette | c13b45a8320d283e01f1239b01e947f61e0f6d6b | [
"Apache-2.0",
"MIT"
] | 15 | 2021-05-03T10:05:37.000Z | 2021-05-20T10:58:24.000Z | src/responses/status.rs | basiliqio/ciboulette | c13b45a8320d283e01f1239b01e947f61e0f6d6b | [
"Apache-2.0",
"MIT"
] | null | null | null | use super::*;
/// The status a response should send
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum CibouletteResponseStatus {
/// HTTP 200
Ok,
/// HTTP 204
OkEmpty,
/// HTTP 202
OkAsync,
/// HTTP 201
Created,
/// HTTP 403
Unsupported,
/// HTTP 404
NotFound,
/// HT... | 35.852941 | 124 | 0.603363 |
7f31382669fd9aa0b8d4c2d07d07d9a0a6919cbc | 46 | php | PHP | 404.php | jacob-larsen-netbooster/jlnb | 400df069a523801f01bc11a3b2c0e8cbb208f3d3 | [
"0BSD"
] | null | null | null | 404.php | jacob-larsen-netbooster/jlnb | 400df069a523801f01bc11a3b2c0e8cbb208f3d3 | [
"0BSD"
] | null | null | null | 404.php | jacob-larsen-netbooster/jlnb | 400df069a523801f01bc11a3b2c0e8cbb208f3d3 | [
"0BSD"
] | null | null | null | <?php get_header( '404' ); ?>
<h2>404 pis</h2> | 23 | 29 | 0.565217 |
f2bba62eff196765d84e6972deb39163bbe5f3d2 | 519 | swift | Swift | Cosmos-IOS/Cosmostation/Cosmostation/Cell/ValidatorDetailHistoryEmpty.swift | RNSSolution/colorplatform-mobile | 6fcecf7a3029adca69d066d5d18590af0664bb6a | [
"MIT"
] | 97 | 2019-06-28T12:31:40.000Z | 2022-03-29T05:38:32.000Z | Cosmos-IOS/Cosmostation/Cosmostation/Cell/ValidatorDetailHistoryEmpty.swift | RNSSolution/colorplatform-mobile | 6fcecf7a3029adca69d066d5d18590af0664bb6a | [
"MIT"
] | 84 | 2019-09-17T10:01:29.000Z | 2021-10-21T07:55:10.000Z | Cosmos-IOS/Cosmostation/Cosmostation/Cell/ValidatorDetailHistoryEmpty.swift | RNSSolution/colorplatform-mobile | 6fcecf7a3029adca69d066d5d18590af0664bb6a | [
"MIT"
] | 44 | 2019-07-18T04:26:49.000Z | 2022-03-14T06:40:36.000Z | //
// ValidatorDetailHistoryEmpty.swift
// Cosmostation
//
// Created by yongjoo on 04/04/2019.
// Copyright © 2019 wannabit. All rights reserved.
//
import UIKit
class ValidatorDetailHistoryEmpty: UITableViewCell {
override func awakeFromNib() {
super.awakeFromNib()
self.selectionStyle = .no... | 20.76 | 65 | 0.678227 |
8da0dad66a0dc2d6e91ec516a6dd3ceeb9cfa8d5 | 186 | js | JavaScript | src/utils/checkSavedSettings.js | wwwal2/Cinema | dcf0ee435b88b1b9e1ba27e15d0e1d250b66f896 | [
"MIT"
] | null | null | null | src/utils/checkSavedSettings.js | wwwal2/Cinema | dcf0ee435b88b1b9e1ba27e15d0e1d250b66f896 | [
"MIT"
] | 5 | 2021-03-10T20:52:24.000Z | 2022-02-26T22:46:51.000Z | src/utils/checkSavedSettings.js | wwwal2/Cinema | dcf0ee435b88b1b9e1ba27e15d0e1d250b66f896 | [
"MIT"
] | null | null | null | export default (defaultOptions) => {
try {
const loaded = JSON.parse(localStorage.getItem('cinema'));
return loaded || defaultOptions;
} catch (e) {
return false;
}
};
| 20.666667 | 62 | 0.634409 |
a33c31a4f4421634f453d83289366a271e70fef5 | 3,443 | java | Java | app/src/main/java/com/stratagile/qlink/view/FreeSelectPopWindow.java | qlinkDev/qlink | 1c8066e4ebbb53c7401751ea3887a6315ccbe5eb | [
"MIT"
] | 30 | 2017-12-31T15:59:47.000Z | 2018-04-24T07:41:29.000Z | app/src/main/java/com/stratagile/qlink/view/FreeSelectPopWindow.java | huzhipeng111/WinQ | 39925732597fd4822cd554429fab655e8c858c4b | [
"MIT"
] | 46 | 2020-03-29T06:32:02.000Z | 2021-05-14T07:27:39.000Z | app/src/main/java/com/stratagile/qlink/view/FreeSelectPopWindow.java | huzhipeng111/WinQ | 39925732597fd4822cd554429fab655e8c858c4b | [
"MIT"
] | 11 | 2018-05-07T21:15:28.000Z | 2019-08-03T10:33:11.000Z | package com.stratagile.qlink.view;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.ColorDrawable;
import android.support.annotation.IdRes;
import android.view.LayoutInflater;
import android.view.View;
... | 31.87963 | 85 | 0.641882 |
dd9885e92b9de8ba35c1a28a284d59c0444ce58f | 795 | java | Java | src/minecraft/net/minecraft/src/WorldSettings.java | GreenCubes-org/GreenCubesOldClient | d6a362443479035ff8c1659b838774008f96b914 | [
"Apache-2.0",
"MIT"
] | 5 | 2020-04-08T10:42:27.000Z | 2022-01-30T17:53:46.000Z | src/minecraft/net/minecraft/src/WorldSettings.java | GreenCubes-org/GreenCubesOldClient | d6a362443479035ff8c1659b838774008f96b914 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/minecraft/net/minecraft/src/WorldSettings.java | GreenCubes-org/GreenCubesOldClient | d6a362443479035ff8c1659b838774008f96b914 | [
"Apache-2.0",
"MIT"
] | 2 | 2020-05-16T17:18:15.000Z | 2020-06-09T22:58:10.000Z | // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode fieldsfirst
package net.minecraft.src;
public final class WorldSettings {
private final long worldSeed;
private final int worldType;
private final b... | 21.486486 | 67 | 0.748428 |
82c0727db5bb48548d15e5d3dd0e33b9462140d6 | 1,687 | rb | Ruby | test/started.test.rb | andrew-aladev/ocg | 4ca44f711f88c212a70dd62f022631c390602712 | [
"MIT"
] | null | null | null | test/started.test.rb | andrew-aladev/ocg | 4ca44f711f88c212a70dd62f022631c390602712 | [
"MIT"
] | 1 | 2020-10-16T20:37:23.000Z | 2020-10-16T21:45:34.000Z | test/started.test.rb | andrew-aladev/ocg | 4ca44f711f88c212a70dd62f022631c390602712 | [
"MIT"
] | null | null | null | # Option combination generator.
# Copyright (c) 2019 AUTHORS, MIT License.
require_relative "common"
require_relative "minitest"
class OCG
module Test
class Started < Minitest::Test
def test_basic
Test.get_datas do |generator, combinations|
refute generator.started?
combinatio... | 25.179104 | 62 | 0.625963 |
0de3993e7e421904e4b938a6da1d9ddd0ac7b634 | 8,092 | cs | C# | ServerManager.cs | pay-map/PayMap-Server | ce9232746fd9a67e703b222d3b3a41df264f7949 | [
"MIT"
] | 1 | 2020-06-20T18:53:35.000Z | 2020-06-20T18:53:35.000Z | ServerManager.cs | pay-map/PayMap-Server | ce9232746fd9a67e703b222d3b3a41df264f7949 | [
"MIT"
] | 1 | 2020-06-05T13:08:43.000Z | 2020-06-13T15:09:49.000Z | ServerManager.cs | pay-map/PayMap-Server | ce9232746fd9a67e703b222d3b3a41df264f7949 | [
"MIT"
] | 1 | 2020-06-21T10:05:32.000Z | 2020-06-21T10:05:32.000Z | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Globalization;
using System.Net;
using System.Text;
using System.Threading;
using System.Web;
using Newtonsoft.Json.Linq;
using Org.BouncyCastle.Utilities;
namespace PAYMAP_BACKEND
{
public class ServerManager
{... | 37.462963 | 176 | 0.552274 |
a0d13a5998d4240ae2ecb36941a5b1f7a6cf6d92 | 232 | swift | Swift | Pixie/Pixie/Classes/Tools/String/String+CapitalizedFirst.swift | gsagadyn/Pixie | 30186159c4c712ce0d37537f11e0b22c47889a7c | [
"MIT"
] | 2 | 2020-04-17T08:48:42.000Z | 2020-05-14T00:12:46.000Z | Pixie/Pixie/Classes/Tools/String/String+CapitalizedFirst.swift | gsagadyn/Pixie | 30186159c4c712ce0d37537f11e0b22c47889a7c | [
"MIT"
] | null | null | null | Pixie/Pixie/Classes/Tools/String/String+CapitalizedFirst.swift | gsagadyn/Pixie | 30186159c4c712ce0d37537f11e0b22c47889a7c | [
"MIT"
] | null | null | null | //
// String+CapitalizedFirst.swift
// Pixie
//
// Created by Kamil Modzelewski on 05/06/2020.
//
import Foundation
extension String {
public var capitalizedFirst: Self {
prefix(1).capitalized + dropFirst()
}
}
| 15.466667 | 47 | 0.663793 |
389f2c2e9e6a68f55de6bdec1bec7f1ef3dce6c9 | 592 | php | PHP | app/Http/Models/Brands.php | Charu91/carebulls | 0c9ac38e25c675da1c63f5349c66923e75f648db | [
"MIT"
] | null | null | null | app/Http/Models/Brands.php | Charu91/carebulls | 0c9ac38e25c675da1c63f5349c66923e75f648db | [
"MIT"
] | null | null | null | app/Http/Models/Brands.php | Charu91/carebulls | 0c9ac38e25c675da1c63f5349c66923e75f648db | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Models;
use Illuminate\Database\Eloquent\Model;
use DB;
class Brands extends Model
{
/**
* Fillable fields
*
* @var array
*/
protected $fillable = [
'username',
];
protected $hidden = array('password');
protected $table = 'brands';
/*
p... | 16.914286 | 77 | 0.5625 |
bb6776a28cf695409da6b0efe3458320e8448e39 | 1,999 | cs | C# | BepuPhysics/Constraints/Contact/ContactConvexCommon.cs | FEETB24/bepuphysics2 | 328d946a8174307eee8418b63d2c80cfbf52997b | [
"Apache-2.0"
] | 1,245 | 2017-10-22T13:29:19.000Z | 2022-03-31T17:22:58.000Z | BepuPhysics/Constraints/Contact/ContactConvexCommon.cs | FEETB24/bepuphysics2 | 328d946a8174307eee8418b63d2c80cfbf52997b | [
"Apache-2.0"
] | 155 | 2017-10-22T02:05:33.000Z | 2022-03-31T03:34:06.000Z | BepuPhysics/Constraints/Contact/ContactConvexCommon.cs | FEETB24/bepuphysics2 | 328d946a8174307eee8418b63d2c80cfbf52997b | [
"Apache-2.0"
] | 174 | 2017-11-14T05:28:17.000Z | 2022-03-31T12:24:39.000Z | using BepuPhysics.CollisionDetection;
using BepuUtilities;
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
namespace BepuPhysics.Constraints.Contact
{
public struct ConvexContactWide
{
public Vector3Wide OffsetA;
public Vector<float> Depth;
}
... | 35.696429 | 221 | 0.75938 |
8ec0b449087e8fd6e050277444b63492438c019c | 572 | js | JavaScript | frontend/ozon/src/views/Common/TextArea/TextArea.js | DuckLuckBreakout/ozonBackend | 90e0d95f70308ada460b6b675bf47e50ec0cef47 | [
"MIT"
] | null | null | null | frontend/ozon/src/views/Common/TextArea/TextArea.js | DuckLuckBreakout/ozonBackend | 90e0d95f70308ada460b6b675bf47e50ec0cef47 | [
"MIT"
] | 1 | 2022-01-02T13:08:32.000Z | 2022-01-02T13:08:32.000Z | frontend/ozon/src/views/Common/TextArea/TextArea.js | DuckLuckBreakout/web | 90e0d95f70308ada460b6b675bf47e50ec0cef47 | [
"MIT"
] | 2 | 2022-01-03T08:39:33.000Z | 2022-01-05T17:21:28.000Z | /**
* @class TextArea
* @classdesc This class is using for construct html via templates. One of the common views
*/
class TextArea {
/**
*
* @param {string} name name of a text area
* @param {number} rows amount of rows in text area
* @param {number} cols amount of columns in text aread
... | 22 | 91 | 0.538462 |
a3514f9052bd6cc7baa05092431ac5b7eddd2173 | 2,433 | tsx | TypeScript | src/list.component.tsx | serlo/athene2-blue-gum | 9ac6be49e1774c8f42b849b85501325f3c1b9144 | [
"Apache-2.0"
] | 3 | 2019-04-17T15:13:08.000Z | 2020-03-10T10:40:54.000Z | src/list.component.tsx | serlo/athene2-blue-gum | 9ac6be49e1774c8f42b849b85501325f3c1b9144 | [
"Apache-2.0"
] | 38 | 2019-01-28T16:35:01.000Z | 2019-09-09T07:21:08.000Z | src/list.component.tsx | serlo/athene2-blue-gum | 9ac6be49e1774c8f42b849b85501325f3c1b9144 | [
"Apache-2.0"
] | 3 | 2019-02-23T17:04:35.000Z | 2019-06-18T07:05:47.000Z | import * as React from 'react'
import styled, { css } from 'styled-components'
import { getColor, lightenColor } from './provider.component'
export interface ListProps {
ordered?: boolean
unstyled?: boolean
}
export const List: React.FunctionComponent<ListProps> = props => {
return (
<StyledList
orde... | 23.171429 | 66 | 0.493629 |
af084a2090d0c901bb2835b698b7129a87ce9a66 | 2,887 | py | Python | ahc_tools/test/test_utils.py | rdo-management/ahc-tools | 5f27a7a38b5e12bcac12e28b851fcc9bd368a6d8 | [
"Apache-2.0"
] | null | null | null | ahc_tools/test/test_utils.py | rdo-management/ahc-tools | 5f27a7a38b5e12bcac12e28b851fcc9bd368a6d8 | [
"Apache-2.0"
] | null | null | null | ahc_tools/test/test_utils.py | rdo-management/ahc-tools | 5f27a7a38b5e12bcac12e28b851fcc9bd368a6d8 | [
"Apache-2.0"
] | 1 | 2015-04-15T11:39:40.000Z | 2015-04-15T11:39:40.000Z | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the... | 41.242857 | 76 | 0.660201 |
e66f58a899e8a48455201eb9647b54173529a288 | 1,153 | c | C | d/islands/elf/ice/rampart.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/islands/elf/ice/rampart.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/islands/elf/ice/rampart.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | #include "elf.h"
#include <std.h>
inherit ROOM;
void create() {
::create();
set_terrain(ICE);
set_travel(SLICK_FLOOR);
set_climate("arctic");
set_name("ruined rampart");
set_short("ruined rampart");
set_long("%^CYAN%^This is a the ruins of a defensive"+
" rampart that... | 34.939394 | 79 | 0.584562 |
d02fa762e7c129999f73e53a95ced23af429a711 | 34,360 | cpp | C++ | src/algorithms/three_edge_connected_components.cpp | meredith705/libsnarls | 1ebeb57a56a5bcd311055ee79ac008bbfa7b0adf | [
"MIT"
] | null | null | null | src/algorithms/three_edge_connected_components.cpp | meredith705/libsnarls | 1ebeb57a56a5bcd311055ee79ac008bbfa7b0adf | [
"MIT"
] | null | null | null | src/algorithms/three_edge_connected_components.cpp | meredith705/libsnarls | 1ebeb57a56a5bcd311055ee79ac008bbfa7b0adf | [
"MIT"
] | 1 | 2021-10-06T19:09:58.000Z | 2021-10-06T19:09:58.000Z | #include "snarls/algorithms/three_edge_connected_components.hpp"
#include <structures/union_find.hpp>
#include <limits>
#include <cassert>
#include <iostream>
#include <sstream>
//#define debug
namespace snarls {
namespace algorithms {
using namespace std;
void three_edge_connected_component_merges_dense(size_t n... | 47.855153 | 138 | 0.472934 |
da4523b0c5007da8d8fd558a4c19c219c5fbd90a | 508 | php | PHP | app/Model/ProjectAdmin.php | michael34-cwa/CWA | 09afac759b29c1cef1994196882c667ecf26c7a6 | [
"MIT"
] | null | null | null | app/Model/ProjectAdmin.php | michael34-cwa/CWA | 09afac759b29c1cef1994196882c667ecf26c7a6 | [
"MIT"
] | 2 | 2020-04-22T13:24:13.000Z | 2021-05-11T08:00:54.000Z | app/Model/ProjectAdmin.php | michael34-cwa/CWA | 09afac759b29c1cef1994196882c667ecf26c7a6 | [
"MIT"
] | null | null | null | <?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class ProjectAdmin extends Model
{
protected $table = 'project_admins';
// public $timestamps = false;
protected $fillable = ['school_id', 'project_admin_id', 'created_by'];
public function User()
{
return $this->belong... | 20.32 | 85 | 0.655512 |
93c607bc8fed12e9f670f1559c58686586550bea | 258 | cs | C# | CBreeze/UncommonSense.CBreeze.Core/TextEncoding.cs | mprise-indigo/UncommonSense.CBreeze | 579d09bf9736f200aba5e92203755ab9082e59d3 | [
"MIT"
] | 6 | 2018-04-12T09:46:42.000Z | 2020-09-29T20:09:52.000Z | CBreeze/UncommonSense.CBreeze.Core/TextEncoding.cs | mprise-indigo/UncommonSense.CBreeze | 579d09bf9736f200aba5e92203755ab9082e59d3 | [
"MIT"
] | 32 | 2018-01-26T20:48:27.000Z | 2018-11-01T19:02:18.000Z | CBreeze/UncommonSense.CBreeze.Core/TextEncoding.cs | mprise-indigo/UncommonSense.CBreeze | 579d09bf9736f200aba5e92203755ab9082e59d3 | [
"MIT"
] | 4 | 2018-05-18T10:08:27.000Z | 2019-04-12T08:32:31.000Z | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace UncommonSense.CBreeze.Core
{
public enum TextEncoding
{
MsDos,
Utf8,
Utf16,
#if NAV2013R2
Windows
#endif
}
}
| 13.578947 | 36 | 0.655039 |
68cef1c7304fe50422adadf817642eb7e7dd94af | 403 | swift | Swift | ReformGraphics/ReformGraphics/Color.swift | laszlokorte/reform-swift | ee0380dae249111cb7bfba764ad80723a4deb16e | [
"MIT"
] | 299 | 2016-01-28T19:59:54.000Z | 2022-02-14T23:10:15.000Z | ReformGraphics/ReformGraphics/Color.swift | laszlokorte/reform-swift | ee0380dae249111cb7bfba764ad80723a4deb16e | [
"MIT"
] | 20 | 2016-06-25T16:05:38.000Z | 2021-07-10T10:48:40.000Z | ReformGraphics/ReformGraphics/Color.swift | laszlokorte/reform-swift | ee0380dae249111cb7bfba764ad80723a4deb16e | [
"MIT"
] | 26 | 2016-03-29T06:38:56.000Z | 2021-12-24T03:36:36.000Z | //
// Color.swift
// ReformGraphics
//
// Created by Laszlo Korte on 16.08.15.
// Copyright © 2015 Laszlo Korte. All rights reserved.
//
public struct Color {
let red : UInt8
let green : UInt8
let blue: UInt8
let alpha : UInt8
public init(r:UInt8, g:UInt8, b:UInt8, a:UInt8) {
self.... | 19.190476 | 55 | 0.57072 |
385b0ec82adf077c358d48651db1d0660c55017c | 103 | php | PHP | plugins/ari-adminer/adminer/wrapper_adminer.php | samuelmoses2011/Ocearch---WordPress | e0afe0f86b48b19f551ed096b5ba20db5c74b1b6 | [
"Unlicense"
] | 1 | 2017-08-03T04:57:37.000Z | 2017-08-03T04:57:37.000Z | plugins/ari-adminer/adminer/wrapper_adminer.php | samuelmoses2011/Ocearch---WordPress | e0afe0f86b48b19f551ed096b5ba20db5c74b1b6 | [
"Unlicense"
] | null | null | null | plugins/ari-adminer/adminer/wrapper_adminer.php | samuelmoses2011/Ocearch---WordPress | e0afe0f86b48b19f551ed096b5ba20db5c74b1b6 | [
"Unlicense"
] | null | null | null | <?php
define( 'ADMINER_WRAPPER_TYPE', 'adminer' );
require_once dirname( __FILE__ ) . '/wrapper.php';
| 20.6 | 50 | 0.708738 |
05cb604c87fea6779300d4d37db8a6a66707877e | 2,908 | py | Python | JPS_Chatbot/jps-chatbot/UI/source/Wikidata_Query/fuzzysearch_wiki.py | cambridge-cares/TheWorldAvatar | baf08ddc090414c6d01e48c74b408f2192461e9e | [
"MIT"
] | 21 | 2021-03-08T01:58:25.000Z | 2022-03-09T15:46:16.000Z | JPS_Chatbot/jps-chatbot/UI/source/Wikidata_Query/fuzzysearch_wiki.py | cambridge-cares/TheWorldAvatar | baf08ddc090414c6d01e48c74b408f2192461e9e | [
"MIT"
] | 63 | 2021-05-04T15:05:30.000Z | 2022-03-23T14:32:29.000Z | JPS_Chatbot/jps-chatbot/UI/source/Wikidata_Query/fuzzysearch_wiki.py | cambridge-cares/TheWorldAvatar | baf08ddc090414c6d01e48c74b408f2192461e9e | [
"MIT"
] | 15 | 2021-03-08T07:52:03.000Z | 2022-03-29T04:46:20.000Z | from rapidfuzz import process, fuzz
from .load_dicts import FORMULA_URI_DICT, SMILES_URI_DICT, NAME_URI_DICT, \
FORMULA_KEYS, NAME_KEYS, SMILES_KEYS, ATTRIBUTE_URI_DICT, \
ATTRIBUTE_KEYS, CLASS_URI_DICT, CLASS_KEYS, process_species, process_species_reversed
def find_nearest_match(entity_value, entity_type):
... | 33.425287 | 89 | 0.666437 |
ec599c31ee766ea0addb9f5920d71b72704fe3f0 | 161 | rb | Ruby | _plugins/timestamp.rb | luizeleno/LOM3260 | 4871994a2a313fd2bf11ece9a0f52fc509569e56 | [
"MIT"
] | 3 | 2018-12-05T18:34:49.000Z | 2020-05-31T04:47:31.000Z | _plugins/timestamp.rb | luizeleno/LOM3260 | 4871994a2a313fd2bf11ece9a0f52fc509569e56 | [
"MIT"
] | 8 | 2020-03-17T13:34:04.000Z | 2022-03-08T12:23:39.000Z | _plugins/timestamp.rb | luizeleno/LOM3260 | 4871994a2a313fd2bf11ece9a0f52fc509569e56 | [
"MIT"
] | null | null | null | module Jekyll
module MyFilters
def file_date(input)
File.mtime(input)
end
end
end
Liquid::Template.register_filter(Jekyll::MyFilters)
| 16.1 | 52 | 0.689441 |
e046d501ffb94c43eae876f33737d0ec5676aabd | 219 | h | C | SwiftNews/SwiftNews/Classes/Reading/Controller/YTReadingController.h | CoderHann/SwiftNews | 56b65e684066c050c1811dd65cf2402ee00445c7 | [
"MIT"
] | 2 | 2017-09-11T12:00:57.000Z | 2017-12-28T06:22:22.000Z | SwiftNews/SwiftNews/Classes/Reading/Controller/YTReadingController.h | CoderHann/SwiftNews | 56b65e684066c050c1811dd65cf2402ee00445c7 | [
"MIT"
] | null | null | null | SwiftNews/SwiftNews/Classes/Reading/Controller/YTReadingController.h | CoderHann/SwiftNews | 56b65e684066c050c1811dd65cf2402ee00445c7 | [
"MIT"
] | null | null | null | //
// YTReadingController.h
// SwiftNews
//
// Created by roki on 15/11/6.
// Copyright (c) 2015年 roki. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface YTReadingController : UITableViewController
@end
| 15.642857 | 54 | 0.703196 |
0e4087941c6818349ef148bb285f7d74cfa1b9ca | 172 | lua | Lua | test.lua | danielga/larithmetic | 21c81eea6459e6784e68677701786932b9f03a76 | [
"BSD-3-Clause"
] | null | null | null | test.lua | danielga/larithmetic | 21c81eea6459e6784e68677701786932b9f03a76 | [
"BSD-3-Clause"
] | null | null | null | test.lua | danielga/larithmetic | 21c81eea6459e6784e68677701786932b9f03a76 | [
"BSD-3-Clause"
] | null | null | null | -- tiny test script
require("arithmetic")
print(arithmetic.parser():parse("-3+4*2 / ( 1 - 5 ) ^ 2 ^ 3"):calculate())
print(arithmetic.parser():parse("-1-1"):calculate())
| 24.571429 | 74 | 0.639535 |
2ef9d6a67af820fa22c95827d5118f8149c3baef | 123 | css | CSS | src/app/modules/settings/style.css | arivin29/web_dev | f916463c912625a504867f352fe862ec1ae6de6d | [
"Apache-2.0"
] | 1 | 2018-12-29T14:58:40.000Z | 2018-12-29T14:58:40.000Z | src/app/modules/settings/style.css | arivin29/web_dev | f916463c912625a504867f352fe862ec1ae6de6d | [
"Apache-2.0"
] | 2 | 2018-09-22T10:18:17.000Z | 2018-11-25T03:06:00.000Z | src/app/modules/settings/style.css | arivin29/web_dev | f916463c912625a504867f352fe862ec1ae6de6d | [
"Apache-2.0"
] | 1 | 2018-09-18T14:48:21.000Z | 2018-09-18T14:48:21.000Z | p {
color: #000 !important;
background: #fff;
font-size: 40px;
padding: 90px;
display: block;
margin: 100px;
}
| 13.666667 | 25 | 0.626016 |
c973eea7ea90db27bcdd0dd94d544bfa16a85250 | 416 | ts | TypeScript | src/utilities/checkWinner.ts | josesaulguerrero/miminaxAlgorithm | c29a9b8f305e7b402da9a3ea14bbe7488c3bb91b | [
"MIT"
] | null | null | null | src/utilities/checkWinner.ts | josesaulguerrero/miminaxAlgorithm | c29a9b8f305e7b402da9a3ea14bbe7488c3bb91b | [
"MIT"
] | null | null | null | src/utilities/checkWinner.ts | josesaulguerrero/miminaxAlgorithm | c29a9b8f305e7b402da9a3ea14bbe7488c3bb91b | [
"MIT"
] | null | null | null | import { Board, PlayerMark } from "@types";
export const checkWinner = (
gameBoard: Board,
playerMark: PlayerMark
): boolean => {
const winCombinations: number[][] = [
[0, 1, 2],
[0, 4, 8],
[0, 3, 6],
[1, 4, 7],
[2, 5, 8],
[2, 4, 6],
[3, 4, 5],
[6, 7, 8],
];
return winCombinations.some((combinati... | 18.909091 | 71 | 0.567308 |
8ad716bea2edebce85ab992279671350c373d362 | 450 | asm | Assembly | libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sccz80/wv_priority_queue_push_callee.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sccz80/wv_priority_queue_push_callee.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sccz80/wv_priority_queue_push_callee.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
; int wv_priority_queue_push(wv_priority_queue_t *q, void *item)
SECTION code_clib
SECTION code_adt_wv_priority_queue
PUBLIC wv_priority_queue_push_callee
EXTERN asm_wv_priority_queue_push
wv_priority_queue_push_callee:
pop hl
pop bc
ex (sp),hl
jp asm_wv_priority_queue_push
; SDCC bridge for Clas... | 18 | 67 | 0.837778 |
e72574ab84db3454f92a4d848900c04eed633069 | 4,181 | php | PHP | src/Action/FileSystem.php | rasclatt/nubersoft-cms | 10f90c35d2b5ad371fb436950cd9818c2d00135d | [
"MIT"
] | null | null | null | src/Action/FileSystem.php | rasclatt/nubersoft-cms | 10f90c35d2b5ad371fb436950cd9818c2d00135d | [
"MIT"
] | null | null | null | src/Action/FileSystem.php | rasclatt/nubersoft-cms | 10f90c35d2b5ad371fb436950cd9818c2d00135d | [
"MIT"
] | null | null | null | <?php
namespace NubersoftCms\Action;
use \NubersoftCms\Model\FileSystem as FileHelper;
use \Nubersoft\{
nFileHandler,
nObserver,
nApp
};
class FileSystem implements nObserver
{
private $POST, $nApp, $FileHelper;
/**
* @description
*/
public function __construct(
nApp $nApp,
... | 43.103093 | 452 | 0.438412 |
c4dd6a879e608c28f2d3f92a4b6213cee9eef290 | 1,577 | cpp | C++ | tutorial_publisher/src/talker.cpp | ryo4432/ros2_tutorial_collection | 4e7ed30e35009f07bd219c762d68b4b8022d4d9d | [
"Apache-2.0"
] | null | null | null | tutorial_publisher/src/talker.cpp | ryo4432/ros2_tutorial_collection | 4e7ed30e35009f07bd219c762d68b4b8022d4d9d | [
"Apache-2.0"
] | null | null | null | tutorial_publisher/src/talker.cpp | ryo4432/ros2_tutorial_collection | 4e7ed30e35009f07bd219c762d68b4b8022d4d9d | [
"Apache-2.0"
] | null | null | null | /*
# Copyright 2019 Open Source Robotics Foundation, Inc.
#
# 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 ... | 26.728814 | 74 | 0.700063 |
0108779abd26addf86a96f03f7440ba8aaf3a876 | 27 | dart | Dart | lib/video/index.dart | Kingtous/kommon-flutter | 72c20d7089e2c7602004e9ba1346edcb939a5116 | [
"BSD-3-Clause"
] | null | null | null | lib/video/index.dart | Kingtous/kommon-flutter | 72c20d7089e2c7602004e9ba1346edcb939a5116 | [
"BSD-3-Clause"
] | null | null | null | lib/video/index.dart | Kingtous/kommon-flutter | 72c20d7089e2c7602004e9ba1346edcb939a5116 | [
"BSD-3-Clause"
] | null | null | null | export 'video_player.dart'; | 27 | 27 | 0.814815 |
658d8f692d99daee04086f73bdfe432ab28f79f7 | 493 | dart | Dart | web/_old/performance/source/flying_flag.dart | bp74/StageXL_Samples | 8e50a5e95fafd580a87cdd77d74cb120e3486040 | [
"BSD-2-Clause"
] | 49 | 2015-04-11T16:01:11.000Z | 2022-01-08T10:27:25.000Z | web/_old/performance/source/flying_flag.dart | bp74/StageXL_Samples | 8e50a5e95fafd580a87cdd77d74cb120e3486040 | [
"BSD-2-Clause"
] | 6 | 2015-07-12T17:25:20.000Z | 2018-11-14T21:14:04.000Z | web/_old/performance/source/flying_flag.dart | bp74/StageXL_Samples | 8e50a5e95fafd580a87cdd77d74cb120e3486040 | [
"BSD-2-Clause"
] | 29 | 2015-01-02T21:57:20.000Z | 2021-03-30T15:48:01.000Z | part of performance;
class FlyingFlag extends Bitmap implements Animatable {
num vx, vy;
FlyingFlag(BitmapData bitmapData, this.vx, this.vy) : super(bitmapData) {
pivotX = 24;
pivotY = 24;
}
@override
bool advanceTime(num time) {
var tx = x + vx * time;
var ty = y + vy * time;
if (tx >... | 15.903226 | 75 | 0.513185 |
18467ec9b87924f8ab0a150ca8de1fa18be1a3a9 | 3,480 | swift | Swift | Tests/DatadogTests/Datadog/Mocks/LogsMocks.swift | reverbdotcom/dd-sdk-ios | 09ba5c8d542956ec7062b0a566b37660d12cca07 | [
"Apache-2.0"
] | null | null | null | Tests/DatadogTests/Datadog/Mocks/LogsMocks.swift | reverbdotcom/dd-sdk-ios | 09ba5c8d542956ec7062b0a566b37660d12cca07 | [
"Apache-2.0"
] | null | null | null | Tests/DatadogTests/Datadog/Mocks/LogsMocks.swift | reverbdotcom/dd-sdk-ios | 09ba5c8d542956ec7062b0a566b37660d12cca07 | [
"Apache-2.0"
] | null | null | null | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2019-2020 Datadog, Inc.
*/
import Foundation
@testable import Datadog
/*
A collection of mocks for... | 32.523364 | 119 | 0.617816 |
8516eeb828e872903c1e06e6f390adea21b1d8f8 | 180 | cs | C# | Toggl.Multivac/Extensions/EmailExtensions.cs | HectorRPC/Toggl2Excel | 2ffe8ce8a5a92b6a6be3ea3a94c3156efa9403af | [
"BSD-3-Clause"
] | 3 | 2021-04-14T02:46:03.000Z | 2021-04-14T21:38:01.000Z | Toggl.Multivac/Extensions/EmailExtensions.cs | AzureMentor/mobileapp | 94cad6d11bc3cb8bed6cfc9c4c6cacc69a5594da | [
"BSD-3-Clause"
] | null | null | null | Toggl.Multivac/Extensions/EmailExtensions.cs | AzureMentor/mobileapp | 94cad6d11bc3cb8bed6cfc9c4c6cacc69a5594da | [
"BSD-3-Clause"
] | null | null | null | namespace Toggl.Multivac.Extensions
{
public static class EmailExtensions
{
public static Email ToEmail(this string self)
=> Email.From(self);
}
}
| 20 | 53 | 0.638889 |
076b585824c818a8889c9960d4f9b9da01291e2b | 190 | css | CSS | public/mer/css/chunk-237b1c4e.49cd87a9.css | youaremine/ozzo-- | 7f960555555837e2aff9cfa3adc3f106f3951923 | [
"Apache-2.0"
] | null | null | null | public/mer/css/chunk-237b1c4e.49cd87a9.css | youaremine/ozzo-- | 7f960555555837e2aff9cfa3adc3f106f3951923 | [
"Apache-2.0"
] | null | null | null | public/mer/css/chunk-237b1c4e.49cd87a9.css | youaremine/ozzo-- | 7f960555555837e2aff9cfa3adc3f106f3951923 | [
"Apache-2.0"
] | 1 | 2022-02-15T07:52:48.000Z | 2022-02-15T07:52:48.000Z | .selWidth[data-v-0698cd9f]{width:219px!important}.seachTiele[data-v-0698cd9f]{line-height:35px}.fr[data-v-0698cd9f]{float:right}[data-v-0698cd9f] .el-table-column--selection .cell{padding:0} | 190 | 190 | 0.784211 |
0f8c5e013c13cc12c1e5632e28312e4c6812a8f9 | 4,847 | lua | Lua | addons/cw2/lua/weapons/khr_mp40/shared.lua | JacubRSTNC/PoliceRP-OpenSource | adcf19f765331521b6934ecb1c180a978ba7f44d | [
"MIT"
] | 17 | 2021-08-17T16:05:20.000Z | 2022-03-17T09:55:24.000Z | addons/cw2/lua/weapons/khr_mp40/shared.lua | JacubRSTNC/PoliceRP-OpenSource | adcf19f765331521b6934ecb1c180a978ba7f44d | [
"MIT"
] | null | null | null | addons/cw2/lua/weapons/khr_mp40/shared.lua | JacubRSTNC/PoliceRP-OpenSource | adcf19f765331521b6934ecb1c180a978ba7f44d | [
"MIT"
] | 4 | 2021-08-19T11:41:36.000Z | 2022-03-20T08:56:28.000Z | AddCSLuaFile()
AddCSLuaFile("sh_sounds.lua")
include("sh_sounds.lua")
SWEP.magType = "smgMag"
SWEP.PrintName = "MP-40"
if CLIENT then
SWEP.DrawCrosshair = false
SWEP.CSMuzzleFlashes = true
SWEP.IconLetter = "w"
killicon.Add( "khr_mp40", "icons/killicons/khr_mp40", Color(255, 80, 0, 150))
SWEP.SelectIcon = su... | 32.313333 | 324 | 0.67093 |
ebced80f7bfa3f1dddb6145c3f46add17893d285 | 1,633 | css | CSS | css/bachparty.css | fdel15/fdel15.github.io | efd962313c7f7b9dc94b6ae0c40a1c3432469760 | [
"MIT"
] | null | null | null | css/bachparty.css | fdel15/fdel15.github.io | efd962313c7f7b9dc94b6ae0c40a1c3432469760 | [
"MIT"
] | 3 | 2021-05-18T18:23:17.000Z | 2022-02-26T03:04:29.000Z | css/bachparty.css | fdel15/fdel15.github.io | efd962313c7f7b9dc94b6ae0c40a1c3432469760 | [
"MIT"
] | null | null | null | .pic {
width: 100%;
max-width: 500px;
display: none;
}
#carousel p {
text-align: center;
}
.active {
display: initial;
}
#timer ul li {
display: inline-block;
width: 20%;
padding: 2%;
text-align: center;
}
#timer ul li p {
text-align: center;
}
audio {
display: none;
}
.modal {
display:... | 16.168317 | 69 | 0.597061 |
c67f51f6a9e71dbb65a10c37d39f5ae17058f1a1 | 1,072 | py | Python | vtt.py | hysothyrith/vocab_tools | 47a977531f73a0667644fcf32945ac5072ac4751 | [
"MIT"
] | null | null | null | vtt.py | hysothyrith/vocab_tools | 47a977531f73a0667644fcf32945ac5072ac4751 | [
"MIT"
] | null | null | null | vtt.py | hysothyrith/vocab_tools | 47a977531f73a0667644fcf32945ac5072ac4751 | [
"MIT"
] | null | null | null | import sys
import re
def parse_vtt(input_file_name, output_file_name):
all_words = []
seen_words = set()
with open(input_file_name, "r") as reader:
next(reader)
line = reader.readline()
while line != "":
if not re.match(r"(^\d*$|^\s*$|.*-->.*|^NOTE .*)", line):
... | 27.487179 | 83 | 0.522388 |
8dab17afdff53a31a1b8a809dd2bc03669e409b0 | 1,620 | js | JavaScript | test/specs/Format_Spec.js | isuttell/Amber | 98b88a932b4845ae9550a50da10c9e32a743ad60 | [
"MIT"
] | 1 | 2018-12-13T08:08:00.000Z | 2018-12-13T08:08:00.000Z | test/specs/Format_Spec.js | isuttell/Amber | 98b88a932b4845ae9550a50da10c9e32a743ad60 | [
"MIT"
] | null | null | null | test/specs/Format_Spec.js | isuttell/Amber | 98b88a932b4845ae9550a50da10c9e32a743ad60 | [
"MIT"
] | null | null | null | describe("Amber.Format", function() {
it("should be defined", function() {
expect(Amber.Format).toBeDefined();
});
describe('numberWithCommas', function(){
it("should have a function to add commas to large numbers", function() {
expect(Amber.Format.numberWithCommas).toBeDefined();
expect(Amber.Format.nu... | 27.931034 | 74 | 0.687037 |
0d45e35e24e6350affa5974bb06d5ece05c0ff4d | 2,732 | cs | C# | Travelling Salesman Problem/Graph.cs | JR-Morgan/Travelling-Salesman-Problem | 99389190e7bb29af05904f1296c236eee4289704 | [
"MIT"
] | 4 | 2021-02-27T01:10:59.000Z | 2022-03-23T00:29:15.000Z | Travelling Salesman Problem/Graph.cs | JR-Morgan/Travelling-Salesman-Problem | 99389190e7bb29af05904f1296c236eee4289704 | [
"MIT"
] | null | null | null | Travelling Salesman Problem/Graph.cs | JR-Morgan/Travelling-Salesman-Problem | 99389190e7bb29af05904f1296c236eee4289704 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text.RegularExpressions;
namespace TSP
{
/// <summary>
/// This class encapsulates a graph of nodes
/// </summary>
public class Graph
{
public readonly List<Node> nodes;
... | 33.728395 | 127 | 0.499268 |
d37ce1ec292fab85f4730a7bf8a66a9883e09a7e | 2,926 | dart | Dart | pkg/analysis_server/lib/src/services/correction/dart/replace_cascade_with_dot.dart | lfkdsk/sdk | 07aa9ec332600b585b0edc8d3805fb413e4370bd | [
"BSD-3-Clause"
] | null | null | null | pkg/analysis_server/lib/src/services/correction/dart/replace_cascade_with_dot.dart | lfkdsk/sdk | 07aa9ec332600b585b0edc8d3805fb413e4370bd | [
"BSD-3-Clause"
] | null | null | null | pkg/analysis_server/lib/src/services/correction/dart/replace_cascade_with_dot.dart | lfkdsk/sdk | 07aa9ec332600b585b0edc8d3805fb413e4370bd | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart';
import 'package:an... | 38.5 | 85 | 0.673958 |
46cefff5ed61863f93b98821cfc2c966db8b160e | 1,754 | py | Python | tests/test_radio_command.py | notfoundsam/smart-remote | 0c23fbb9b92ec1c8e7fbbf6d4613ae4b955eada8 | [
"Unlicense"
] | null | null | null | tests/test_radio_command.py | notfoundsam/smart-remote | 0c23fbb9b92ec1c8e7fbbf6d4613ae4b955eada8 | [
"Unlicense"
] | 14 | 2018-06-06T14:54:18.000Z | 2018-07-29T02:44:07.000Z | tests/test_radio_command.py | notfoundsam/smart-remote | 0c23fbb9b92ec1c8e7fbbf6d4613ae4b955eada8 | [
"Unlicense"
] | null | null | null | import serial
import time
import array
command = "status"
# radio_pipe = 'AABBCCDD33'
radio_pipe = 'AABBCCDD44'
success = 0
fail = 0
error = 0
ser = serial.Serial()
ser.baudrate = 500000
ser.port = '/dev/ttyUSB0'
ser.timeout = 10
ser.open()
# Only after writing sketch into Arduino
# print(repr(ser.readline()))
time... | 20.880952 | 75 | 0.526226 |
8da7b06ae13182fd785d0ee481d3acafd9ca405a | 3,712 | lua | Lua | receiver_station.lua | technix/ham_radio | 809c86a18c41467f2dc86f1a5a5067894e297065 | [
"MIT"
] | 6 | 2019-12-06T18:22:49.000Z | 2021-05-27T13:27:51.000Z | receiver_station.lua | technix/ham_radio | 809c86a18c41467f2dc86f1a5a5067894e297065 | [
"MIT"
] | 3 | 2020-05-28T08:25:43.000Z | 2022-02-02T16:50:35.000Z | receiver_station.lua | technix/ham_radio | 809c86a18c41467f2dc86f1a5a5067894e297065 | [
"MIT"
] | 1 | 2022-02-02T12:03:27.000Z | 2022-02-02T12:03:27.000Z | ham_radio.receiver_update_infotext = function(meta)
local rds_message = meta:get_string("rds_message")
local infotext = 'Radio receiver'
if rds_message ~= "" then
infotext = rds_message
end
meta:set_string("infotext", infotext)
end
minetest.register_node("ham_radio:receiver", {
description = "Ham Radio... | 29.935484 | 97 | 0.671067 |
6de7bd61cb2d7218b30b4d09fd42fc255a3f99eb | 34,513 | c | C | LRSS.c | pravinsrc/lightweight-reactive-snapshot-service | 6cf99bb79ca020fcced71b9a78850adb59e24edc | [
"Apache-2.0"
] | 3 | 2018-11-13T14:58:17.000Z | 2019-03-03T10:39:35.000Z | LRSS.c | pravinsrc/lightweight-reactive-snapshot-service | 6cf99bb79ca020fcced71b9a78850adb59e24edc | [
"Apache-2.0"
] | null | null | null | LRSS.c | pravinsrc/lightweight-reactive-snapshot-service | 6cf99bb79ca020fcced71b9a78850adb59e24edc | [
"Apache-2.0"
] | 2 | 2018-10-07T18:35:46.000Z | 2018-11-13T14:58:17.000Z | /*++
Module Name:
LRSS.c
Abstract:
This is the main module of the LRSS miniFilter driver.
Environment:
Kernel mode
--*/
#include <fltKernel.h>
#include <dontuse.h>
#include <suppress.h>
#include <ntstrsafe.h>
#include "FileList.h"
#include "EncryptionDetector.h"
#pragma prefast(disa... | 31.809217 | 374 | 0.675137 |