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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7bf5d81cb14983955e18bd915974857ed5462277 | 10,598 | cc | C++ | google/cloud/servicedirectory/internal/registration_logging_decorator.cc | LaudateCorpus1/google-cloud-cpp | a9575c5af5e3938efc71bf5822e79b73027d1f3b | [
"Apache-2.0"
] | 80 | 2017-11-24T00:19:45.000Z | 2019-01-25T10:24:33.000Z | google/cloud/servicedirectory/internal/registration_logging_decorator.cc | LaudateCorpus1/google-cloud-cpp | a9575c5af5e3938efc71bf5822e79b73027d1f3b | [
"Apache-2.0"
] | 1,579 | 2017-11-24T01:01:21.000Z | 2019-01-28T23:41:21.000Z | google/cloud/servicedirectory/internal/registration_logging_decorator.cc | LaudateCorpus1/google-cloud-cpp | a9575c5af5e3938efc71bf5822e79b73027d1f3b | [
"Apache-2.0"
] | 51 | 2017-11-24T00:56:11.000Z | 2019-01-18T20:35:02.000Z | // Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 44.158333 | 82 | 0.723816 |
a4b6d1b791eefcfd90aa0b7bf745f668203fa615 | 624 | dart | Dart | flutter_weather/lib/blocs/settings_bloc.dart | AhmedMostafaElbasha/Flutter-Weather | 4873861d82a4d03863380ede298b6bedc551626f | [
"Apache-2.0"
] | null | null | null | flutter_weather/lib/blocs/settings_bloc.dart | AhmedMostafaElbasha/Flutter-Weather | 4873861d82a4d03863380ede298b6bedc551626f | [
"Apache-2.0"
] | null | null | null | flutter_weather/lib/blocs/settings_bloc.dart | AhmedMostafaElbasha/Flutter-Weather | 4873861d82a4d03863380ede298b6bedc551626f | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:bloc/bloc.dart';
import 'blocs.dart';
class SettingsBloc extends Bloc<SettingsEvent, SettingsState> {
SettingsBloc()
: super(SettingsState(temperatureUnits: TemperatureUnits.celsius));
@override
Stream<SettingsState> mapEventToState(SettingsEvent ev... | 28.363636 | 76 | 0.716346 |
e003d93a87bb47b335729a02d74cd446ac94a859 | 4,473 | php | PHP | resources/views/home/districtOfficer/master.blade.php | arabi-kabir/Project-7-E-Governance_Project | 65eeba04714ee99dfbc4bee92c98a8576682b400 | [
"MIT"
] | null | null | null | resources/views/home/districtOfficer/master.blade.php | arabi-kabir/Project-7-E-Governance_Project | 65eeba04714ee99dfbc4bee92c98a8576682b400 | [
"MIT"
] | null | null | null | resources/views/home/districtOfficer/master.blade.php | arabi-kabir/Project-7-E-Governance_Project | 65eeba04714ee99dfbc4bee92c98a8576682b400 | [
"MIT"
] | null | null | null | <!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="{{ asset('css/bootstrap.css') }}">
<l... | 53.25 | 226 | 0.492734 |
da4bc31603571d359f24ba88d6323138c20105ce | 950 | php | PHP | application/controllers/Devices.php | khoahoc/frontend | 15ac1f28c58816cc24ff62c1604fe2677980f409 | [
"MIT"
] | null | null | null | application/controllers/Devices.php | khoahoc/frontend | 15ac1f28c58816cc24ff62c1604fe2677980f409 | [
"MIT"
] | null | null | null | application/controllers/Devices.php | khoahoc/frontend | 15ac1f28c58816cc24ff62c1604fe2677980f409 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') or exit('No direct script access allowed');
class Devices extends CI_Controller
{
public function table_devices()
{
$devices = $this->strapi_model->getApi($this->session->userdata('account')['jwt'], 'devices', FALSE);
for ($i = 0; $i < count($devices); $i++) {
... | 33.928571 | 109 | 0.523158 |
ffb3fdbc4b0656d688e4d10c2d257b9353985ca9 | 818 | py | Python | summarise_gain_loss.py | SongGithub/summarise-gain-loss | 2e5c5644c83999b31f27aad74e034b14f6f2f055 | [
"Apache-2.0"
] | null | null | null | summarise_gain_loss.py | SongGithub/summarise-gain-loss | 2e5c5644c83999b31f27aad74e034b14f6f2f055 | [
"Apache-2.0"
] | null | null | null | summarise_gain_loss.py | SongGithub/summarise-gain-loss | 2e5c5644c83999b31f27aad74e034b14f6f2f055 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from decimal import Decimal
import sys
def handle_stdin():
return sys.stdin.readlines()
def calculate_diff(previous_data, current_data):
return round((Decimal(current_data) - Decimal(previous_data)), 2)
def summarise_prices(input_array):
gain = 0
loss... | 19.47619 | 69 | 0.610024 |
b7ac8ed336791554465e3ec0a3097ef8fd5e260e | 681 | cpp | C++ | acmicpc/1289.cpp | juseongkr/BOJ | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 7 | 2020-02-03T10:00:19.000Z | 2021-11-16T11:03:57.000Z | acmicpc/1289.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2021-01-03T06:58:24.000Z | 2021-01-03T06:58:24.000Z | acmicpc/1289.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2020-01-22T14:34:03.000Z | 2020-01-22T14:34:03.000Z | #include <iostream>
#include <vector>
using namespace std;
#define MAX 100001
const long long MOD = 1e9+7;
long long ans;
vector<pair<int, int>> graph[MAX];
long long dfs(int cur, int prev)
{
int ret = 1;
for (int i=0; i<graph[cur].size(); ++i) {
int next = graph[cur][i].first;
int cost = graph[cur][i].second;
... | 16.214286 | 49 | 0.549192 |
df6ae86070ba702cfb48e40af40219b34b2c115a | 2,993 | cs | C# | src/Asv.TextConverter/Rules/RuleListViewModel.cs | asvol/text-converter | 7e7f432ae76b04f044ec9b1a90e7db018ee06776 | [
"MIT"
] | null | null | null | src/Asv.TextConverter/Rules/RuleListViewModel.cs | asvol/text-converter | 7e7f432ae76b04f044ec9b1a90e7db018ee06776 | [
"MIT"
] | null | null | null | src/Asv.TextConverter/Rules/RuleListViewModel.cs | asvol/text-converter | 7e7f432ae76b04f044ec9b1a90e7db018ee06776 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel.Composition;
using System.Linq;
using Caliburn.Micro;
using NLog;
using LogManager = NLog.LogManager;
namespace Asv.TextConverter
{
public class RuleListViewModelConfig
{
public RuleViewMo... | 26.254386 | 97 | 0.492482 |
c492055adc885f3197e69a613bd23af8282ccb45 | 308 | lua | Lua | test/lib/ffi/redir.lua | DemiMarie/LuaJIT-test-cleanup | 014708bceb70550a3ab8d539cff14d9085ca9cb8 | [
"MIT"
] | 1,657 | 2016-04-01T09:04:47.000Z | 2022-03-31T18:25:24.000Z | test/lib/ffi/redir.lua | DemiMarie/LuaJIT-test-cleanup | 014708bceb70550a3ab8d539cff14d9085ca9cb8 | [
"MIT"
] | 700 | 2016-04-19T17:59:51.000Z | 2020-01-13T13:03:35.000Z | test/lib/ffi/redir.lua | DemiMarie/LuaJIT-test-cleanup | 014708bceb70550a3ab8d539cff14d9085ca9cb8 | [
"MIT"
] | 180 | 2016-04-04T15:04:23.000Z | 2022-02-16T23:15:33.000Z | local ffi = require("ffi")
do --- function
ffi.cdef[[
int redir_foo(const char *s) asm("strlen");
]]
assert(ffi.C.redir_foo("abcd") == 4)
end
do --- variable -windows
ffi.cdef[[
int redir_bar asm("errno");
]]
ffi.C.redir_bar = 14
assert(ffi.C.redir_bar == 14)
ffi.C.redir_bar = 0
end
| 15.4 | 45 | 0.616883 |
ef4e0300a99b90b56e289bbcd8f62a12925e2bae | 760 | rs | Rust | bee-protocol/src/message/tlv/mod.rs | neumoxx/bee-p | 2a68c3c6c17bd2c8dd36d8274ef0db3a04d50b16 | [
"Apache-2.0"
] | null | null | null | bee-protocol/src/message/tlv/mod.rs | neumoxx/bee-p | 2a68c3c6c17bd2c8dd36d8274ef0db3a04d50b16 | [
"Apache-2.0"
] | null | null | null | bee-protocol/src/message/tlv/mod.rs | neumoxx/bee-p | 2a68c3c6c17bd2c8dd36d8274ef0db3a04d50b16 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 IOTA Stiftung
//
// 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 w... | 40 | 118 | 0.753947 |
bb31459486c6f77b487ce9437d531d4f78fa5d3a | 1,528 | cs | C# | Proligence.Orchard.Testing/Mocks/ContentDefinitionManagerMock.cs | Lombiq/OrchardTesting | df1393e75f6ff769a14f1c789ea4708aa40eca6b | [
"MIT"
] | 6 | 2015-08-11T19:05:18.000Z | 2017-12-02T07:20:08.000Z | Proligence.Orchard.Testing/Mocks/ContentDefinitionManagerMock.cs | Lombiq/OrchardTesting | df1393e75f6ff769a14f1c789ea4708aa40eca6b | [
"MIT"
] | 1 | 2015-10-16T14:00:27.000Z | 2015-10-16T20:29:17.000Z | Proligence.Orchard.Testing/Mocks/ContentDefinitionManagerMock.cs | Lombiq/OrchardTesting | df1393e75f6ff769a14f1c789ea4708aa40eca6b | [
"MIT"
] | 2 | 2017-12-02T07:20:10.000Z | 2020-05-15T10:58:59.000Z | namespace Proligence.Orchard.Testing.Mocks
{
using System.Linq;
using Moq;
using global::Orchard.ContentManagement.MetaData;
using global::Orchard.ContentManagement.MetaData.Models;
public class ContentDefinitionManagerMock : Mock<IContentDefinitionManager>
{
public ContentDefinitionMa... | 33.955556 | 97 | 0.650524 |
cf17c6a06f49c44c44cb0e772cd0b1ff09241bfc | 1,708 | php | PHP | src/core/backend/components/system/programs/python.php | Blackoutzz/php-framework | b3c1a7ccffb758c25f9d206bb7c58898c4d39ac0 | [
"MIT"
] | 1 | 2019-11-12T17:39:07.000Z | 2019-11-12T17:39:07.000Z | src/core/backend/components/system/programs/python.php | Blackoutzz/php-framework | b3c1a7ccffb758c25f9d206bb7c58898c4d39ac0 | [
"MIT"
] | null | null | null | src/core/backend/components/system/programs/python.php | Blackoutzz/php-framework | b3c1a7ccffb758c25f9d206bb7c58898c4d39ac0 | [
"MIT"
] | null | null | null | <?php
namespace core\backend\components\system\programs;
use core\backend\filesystem\file;
use core\backend\system\console;
/**
* python short summary.
*
* python description.
*
* @version 1.0
* @author Mickael Nadeau
* @twitter @Mick4Secure
* @github @Blackoutzz
* @website https://Blackoutzz.me
**/
class... | 22.473684 | 109 | 0.593091 |
878ff1191fa27795748c2c1ee0cb19272c574e1b | 1,019 | rb | Ruby | lib/pycall/pymodule_wrapper.rb | Atul9/pycall.rb | 725ef990ac2a3250daff296be5d446035cedfbd1 | [
"MIT"
] | 702 | 2017-09-08T05:21:44.000Z | 2022-02-02T21:18:38.000Z | lib/pycall/pymodule_wrapper.rb | Atul9/pycall.rb | 725ef990ac2a3250daff296be5d446035cedfbd1 | [
"MIT"
] | 107 | 2017-09-08T04:56:15.000Z | 2022-03-11T17:57:25.000Z | lib/pycall/pymodule_wrapper.rb | Atul9/pycall.rb | 725ef990ac2a3250daff296be5d446035cedfbd1 | [
"MIT"
] | 54 | 2017-09-08T16:16:30.000Z | 2022-03-04T13:51:24.000Z | require 'pycall/pyobject_wrapper'
module PyCall
module PyModuleWrapper
include PyObjectWrapper
def [](*args)
case args[0]
when String, Symbol
PyCall.getattr(self, args[0])
else
super
end
end
end
module_function
class WrapperModuleCache < WrapperObjectCache... | 21.680851 | 112 | 0.689892 |
99f94c4ade98878987cd8176fd3b0700a4d9bb96 | 406 | ps1 | PowerShell | swarm-loadtest.ps1 | mo-mann/aspnetcore-dockerswarm | 7c10fe895fd84ac454a7df1c1fc92cdb26cf45cc | [
"MIT"
] | 130 | 2016-08-08T14:29:38.000Z | 2020-02-14T15:49:05.000Z | swarm-loadtest.ps1 | mo-mann/aspnetcore-dockerswarm | 7c10fe895fd84ac454a7df1c1fc92cdb26cf45cc | [
"MIT"
] | 4 | 2016-08-21T11:49:07.000Z | 2019-09-13T09:10:18.000Z | swarm-loadtest.ps1 | mo-mann/aspnetcore-dockerswarm | 7c10fe895fd84ac454a7df1c1fc92cdb26cf45cc | [
"MIT"
] | 21 | 2016-08-21T15:24:54.000Z | 2020-05-15T07:25:51.000Z | workflow loadtest{
Param($Iterations)
$array = 1..$Iterations
$startTime = get-date
foreach -Parallel -ThrottleLimit 10 ($i in $array){
$null = Invoke-RestMethod http://localhost:5000/api/token
}
"elapsed time " + ((get-date) - $startTime).TotalSeconds + "sec"
# display load
... | 20.3 | 68 | 0.650246 |
fa157b271ec389010412d34a87211fb4f202816b | 1,287 | cpp | C++ | src/main.cpp | ishuah/simdexp | ed099ed472431e220c3642490f209663081bf72a | [
"MIT"
] | null | null | null | src/main.cpp | ishuah/simdexp | ed099ed472431e220c3642490f209663081bf72a | [
"MIT"
] | null | null | null | src/main.cpp | ishuah/simdexp | ed099ed472431e220c3642490f209663081bf72a | [
"MIT"
] | null | null | null | #include <addition.h>
#include <multiplication.h>
#include <dotproduct.h>
#include <iostream>
using namespace std;
static const char *const HEADER = "\nSIMD Experiments\nContol output\n\n";
int main(int argc, const char *argv[]) {
cout << HEADER;
float a[8] = {0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8};
float b[... | 19.8 | 74 | 0.526807 |
e84fb494802daae219ad3bdec170362a29c9b35d | 3,948 | cs | C# | Runtime/Scripts/LoadingTimeMetadata.cs | AndyYudkin/tuningfork | 9be99b0fd8c898f883608bb69c370d2c1b72cfe6 | [
"Apache-2.0"
] | 30 | 2020-01-29T14:47:49.000Z | 2022-02-22T08:32:11.000Z | Runtime/Scripts/LoadingTimeMetadata.cs | AndyYudkin/tuningfork | 9be99b0fd8c898f883608bb69c370d2c1b72cfe6 | [
"Apache-2.0"
] | 17 | 2020-09-22T20:57:12.000Z | 2022-03-16T15:57:29.000Z | Runtime/Scripts/LoadingTimeMetadata.cs | AndyYudkin/tuningfork | 9be99b0fd8c898f883608bb69c370d2c1b72cfe6 | [
"Apache-2.0"
] | 17 | 2020-02-08T16:15:21.000Z | 2022-02-10T12:11:35.000Z | //-----------------------------------------------------------------------
// <copyright file="LoadingTimeMetadata.cs" company="Google">
//
// Copyright 2020 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 L... | 28 | 85 | 0.491135 |
c9b017748cce365083025b25ae2730b867981682 | 1,172 | ts | TypeScript | src/pages/manager/manager.ts | CaesiumY/ionic-with-pwa | a9ad1ca0b9e88e523048a32d78f76c56a1f336ff | [
"MIT"
] | null | null | null | src/pages/manager/manager.ts | CaesiumY/ionic-with-pwa | a9ad1ca0b9e88e523048a32d78f76c56a1f336ff | [
"MIT"
] | null | null | null | src/pages/manager/manager.ts | CaesiumY/ionic-with-pwa | a9ad1ca0b9e88e523048a32d78f76c56a1f336ff | [
"MIT"
] | null | null | null | import { Component } from "@angular/core";
import { IonicPage, NavController, NavParams } from "ionic-angular";
import { NewsPage } from "../news/news";
import { UserPage } from "../user/user";
import { CategoryPage } from "../category/category";
/**
* Generated class for the ManagerPage page.
*
* See https://ionic... | 21.309091 | 78 | 0.614334 |
6b8792a3639bf927fd1ab4989616d36749e03612 | 119 | sql | SQL | src/main/resources/init_db/db_setup_all.sql | soul-craft/liquibase-templates | 2ed215c8e474c9fae9c9675a99195fd87fd1fe60 | [
"MIT"
] | null | null | null | src/main/resources/init_db/db_setup_all.sql | soul-craft/liquibase-templates | 2ed215c8e474c9fae9c9675a99195fd87fd1fe60 | [
"MIT"
] | null | null | null | src/main/resources/init_db/db_setup_all.sql | soul-craft/liquibase-templates | 2ed215c8e474c9fae9c9675a99195fd87fd1fe60 | [
"MIT"
] | null | null | null | -- initial scripts
select 'executing initial_scripts/db_init.sql' as log from dual;
source initial_scripts/db_init.sql; | 39.666667 | 64 | 0.823529 |
2a1c126ec4ae1ebb82883139a2172b7ecfe89380 | 4,368 | swift | Swift | Sources/Layout/FlowLayout.swift | rezamagnet/CollectionKit | 4b04bca97b24ff97a2b11e96b334c7011b2c0bf7 | [
"MIT"
] | 4,393 | 2017-08-22T08:36:32.000Z | 2022-03-24T05:45:02.000Z | Sources/Layout/FlowLayout.swift | rezamagnet/CollectionKit | 4b04bca97b24ff97a2b11e96b334c7011b2c0bf7 | [
"MIT"
] | 146 | 2017-08-23T16:07:56.000Z | 2022-02-12T19:23:47.000Z | Sources/Layout/FlowLayout.swift | rezamagnet/CollectionKit | 4b04bca97b24ff97a2b11e96b334c7011b2c0bf7 | [
"MIT"
] | 274 | 2017-08-30T03:12:02.000Z | 2022-03-06T12:47:53.000Z | //
// FlowLayout.swift
// CollectionKit
//
// Created by Luke Zhao on 2017-08-15.
// Copyright © 2017 lkzhao. All rights reserved.
//
import UIKit
public class FlowLayout: VerticalSimpleLayout {
public var lineSpacing: CGFloat
public var interitemSpacing: CGFloat
public var alignContent: AlignContent
pub... | 40.073394 | 117 | 0.594551 |
906b4327920f474f2109189ad84e43cce07f9169 | 1,482 | rake | Ruby | lib/tasks/reach_linters.rake | reachnetwork/reach_linters | f9844e58240c554f71a7f6e92fea669529d079be | [
"MIT"
] | null | null | null | lib/tasks/reach_linters.rake | reachnetwork/reach_linters | f9844e58240c554f71a7f6e92fea669529d079be | [
"MIT"
] | 1 | 2019-01-18T17:25:26.000Z | 2019-01-18T17:25:26.000Z | lib/tasks/reach_linters.rake | reachnetwork/reach_linters | f9844e58240c554f71a7f6e92fea669529d079be | [
"MIT"
] | null | null | null | namespace :reach_linters do
desc 'Installs various components needed for the linters'
task :system_setup do
Bundler.with_clean_env do
do_installation
end
end
end
private
def do_installation
`sudo ls` # just want to get the sudo password out of the way for prettier output later :)
print "\nChe... | 21.478261 | 92 | 0.631579 |
a371f84356f2fea9fd92bbfda93b94c9ccd01a8a | 841 | java | Java | src/main/java/com/tianma/mesos/client/mesos/MesosMonitor.java | jieliu/mesos-client | 74e8b9c471e2c19ee05a685004383da02ed6b8db | [
"Apache-2.0"
] | null | null | null | src/main/java/com/tianma/mesos/client/mesos/MesosMonitor.java | jieliu/mesos-client | 74e8b9c471e2c19ee05a685004383da02ed6b8db | [
"Apache-2.0"
] | null | null | null | src/main/java/com/tianma/mesos/client/mesos/MesosMonitor.java | jieliu/mesos-client | 74e8b9c471e2c19ee05a685004383da02ed6b8db | [
"Apache-2.0"
] | null | null | null | package com.tianma.mesos.client.mesos;
import com.tianma.mesos.domain.mesos.v1.GetSlavesResponse;
import com.tianma.mesos.domain.mesos.v1.MesosVersion;
import com.tianma.mesos.domain.mesos.v1.StateSummary;
import com.tianma.mesos.domain.mesos.v1.SystemStats;
import com.tianma.mesos.support.exception.ResponseException;... | 31.148148 | 65 | 0.774078 |
89a4e55fef28562e7dc94f955ee347e9174b872f | 1,003 | swift | Swift | EasyBank/Helpers/QRCodeHelper.swift | glrmeslp/EasyBank | 3f1c32ac7a2152b526818ee01e57619c425f988b | [
"MIT"
] | 1 | 2021-10-06T14:39:51.000Z | 2021-10-06T14:39:51.000Z | EasyBank/Helpers/QRCodeHelper.swift | glrmeslp/EasyBank | 3f1c32ac7a2152b526818ee01e57619c425f988b | [
"MIT"
] | 2 | 2021-10-06T13:13:43.000Z | 2021-10-20T15:44:05.000Z | EasyBank/Helpers/QRCodeHelper.swift | glrmeslp/EasyBank | 3f1c32ac7a2152b526818ee01e57619c425f988b | [
"MIT"
] | null | null | null | import UIKit
final class QRCodeHelper {
func isQRCodeValid(value: String) -> Bool {
do {
let qrCodePattern = #"com.glrmeslp.EasyBank00X00+\S+00X00+\S+00X00?\S"#
let regex = try NSRegularExpression(pattern: qrCodePattern)
let sourceRange = NSRange(value.startIndex..<value... | 35.821429 | 86 | 0.577268 |
4cff85886beb7d72dbb0735051e27c0ae8c221bc | 778 | py | Python | Halloween_Prank.py | ishkapoor2000/Halloween-Prank | c76ea1cd018ee35ccb623d2ba502d183fe49d4bd | [
"MIT"
] | 3 | 2020-12-03T09:38:26.000Z | 2021-09-17T18:47:12.000Z | Halloween_Prank.py | ishkapoor2000/Halloween-Prank | c76ea1cd018ee35ccb623d2ba502d183fe49d4bd | [
"MIT"
] | null | null | null | Halloween_Prank.py | ishkapoor2000/Halloween-Prank | c76ea1cd018ee35ccb623d2ba502d183fe49d4bd | [
"MIT"
] | null | null | null | """
Created on Fri Oct 30 19:41:32 2020
@author: ISH KAPOOR
"""
import pygame
from pygame import mixer
from time import sleep
pygame.init()
window = pygame.display.set_mode((600, 600))
# window = pygame.display.set_mode((0, 0),pygame.FULLSCREEN)
pygame.mixer.init()
pygame.mixer_music.load('C:/Users/ISH K... | 31.12 | 125 | 0.736504 |
f4e6f902fb6513480d21d92a8baad359fdd67629 | 1,228 | tsx | TypeScript | src/symbols/alphanum/Alphanum29.tsx | react-pakistan/react-emoji-collection | eeaa58b42c7c4cc6f6a11b362b48358a14716e0f | [
"MIT"
] | 1 | 2020-10-17T00:36:58.000Z | 2020-10-17T00:36:58.000Z | src/symbols/alphanum/Alphanum29.tsx | react-pakistan/react-emoji-collection | eeaa58b42c7c4cc6f6a11b362b48358a14716e0f | [
"MIT"
] | null | null | null | src/symbols/alphanum/Alphanum29.tsx | react-pakistan/react-emoji-collection | eeaa58b42c7c4cc6f6a11b362b48358a14716e0f | [
"MIT"
] | null | null | null | import * as React from "react";
import { IEmojiProps } from "../../styled";
const SvgAlphanum29 = (props: IEmojiProps) => (
<svg viewBox="0 0 72 72" width="1em" height="1em" {...props}>
<rect
x={11.792}
y={11.974}
rx={1.699}
width={48.984}
height={48.984}
fill="#d0cfce"
/>... | 25.061224 | 125 | 0.544788 |
ee13938aa552d603768b2668605855dd81a7a7d8 | 683 | lua | Lua | defgamesnacks/utils/mock.lua | anevdashenko/defgamesnacks | 8418968b4e2daa80f8422fde2d64cb421cd2704c | [
"MIT"
] | 1 | 2022-01-07T13:54:29.000Z | 2022-01-07T13:54:29.000Z | defgamesnacks/utils/mock.lua | anevdashenko/defgamesnacks | 8418968b4e2daa80f8422fde2d64cb421cd2704c | [
"MIT"
] | null | null | null | defgamesnacks/utils/mock.lua | anevdashenko/defgamesnacks | 8418968b4e2daa80f8422fde2d64cb421cd2704c | [
"MIT"
] | null | null | null | local Mock = {}
Mock.state = {
is_audio_enabled = false,
is_rewarded_ad_ready = false
}
function Mock.game_ready()
-- body
end
function Mock.send_score()
-- body
end
function Mock.send_level_complete()
-- body
end
function Mock.send_game_over()
-- body
end
function Mock.is_audio_enabled()
... | 14.229167 | 45 | 0.729136 |
051fb45df4605f6d59d9524856f5b36f650c26a1 | 10,207 | rs | Rust | runtime/boxed/types/list.rs | mwatts/arret | 3b3bae27ca7283376d420fa7d69fe5073ecf9ef0 | [
"Apache-2.0"
] | 207 | 2018-07-22T06:35:53.000Z | 2022-03-06T15:26:24.000Z | runtime/boxed/types/list.rs | mwatts/arret | 3b3bae27ca7283376d420fa7d69fe5073ecf9ef0 | [
"Apache-2.0"
] | 50 | 2019-01-10T08:02:09.000Z | 2021-10-30T19:01:19.000Z | runtime/boxed/types/list.rs | mwatts/arret | 3b3bae27ca7283376d420fa7d69fe5073ecf9ef0 | [
"Apache-2.0"
] | 5 | 2019-06-23T20:22:51.000Z | 2022-01-08T15:19:25.000Z | use std::fmt;
use std::hash::{Hash, Hasher};
use std::iter::FusedIterator;
use std::marker::PhantomData;
use crate::abitype::{BoxedAbiType, EncodeBoxedAbiType};
use crate::boxed::refs::Gc;
use crate::boxed::*;
/// Non-empty list
#[repr(C, align(16))]
pub struct Pair<T: Boxed = Any> {
header: Header,
list_len:... | 27.146277 | 100 | 0.554717 |
14aace9c0677336726250eb3704fccb6056c001f | 258 | ts | TypeScript | clients/node/client-mturk-node/model/shapes/_NotifyWorkersFailureStatusList.ts | pravgupt/aws-sdk-js-v3 | 1fd0fab5da141d934eb98624d6c23b347806bb47 | [
"Apache-2.0"
] | null | null | null | clients/node/client-mturk-node/model/shapes/_NotifyWorkersFailureStatusList.ts | pravgupt/aws-sdk-js-v3 | 1fd0fab5da141d934eb98624d6c23b347806bb47 | [
"Apache-2.0"
] | null | null | null | clients/node/client-mturk-node/model/shapes/_NotifyWorkersFailureStatusList.ts | pravgupt/aws-sdk-js-v3 | 1fd0fab5da141d934eb98624d6c23b347806bb47 | [
"Apache-2.0"
] | null | null | null | import { List as _List_ } from "@aws-sdk/types";
import { _NotifyWorkersFailureStatus } from "./_NotifyWorkersFailureStatus";
export const _NotifyWorkersFailureStatusList: _List_ = {
type: "list",
member: {
shape: _NotifyWorkersFailureStatus
}
};
| 25.8 | 76 | 0.74031 |
f5bdf2652c5fa29e7965be984f358ab44668bcaa | 118 | css | CSS | assets/tailwind.css | WendahNyiawung/Neka | 6c67392973db62dd36ceb896c58872b000c2191b | [
"MIT"
] | null | null | null | assets/tailwind.css | WendahNyiawung/Neka | 6c67392973db62dd36ceb896c58872b000c2191b | [
"MIT"
] | null | null | null | assets/tailwind.css | WendahNyiawung/Neka | 6c67392973db62dd36ceb896c58872b000c2191b | [
"MIT"
] | null | null | null | @tailwind base;
@tailwind components;
@tailwind utilities;
.font-primary{
font-family: 'Bebas Neue', cursive;
} | 16.857143 | 41 | 0.711864 |
3887c7f3eb45e4fb3eee27f59f38300866cd4fe8 | 10,687 | php | PHP | application/views/sales_manual_approve/details.php | marajmmc/beeztola_2018_19 | f6014751d16fc4bab03ab4f332bb7bb439f66177 | [
"MIT"
] | null | null | null | application/views/sales_manual_approve/details.php | marajmmc/beeztola_2018_19 | f6014751d16fc4bab03ab4f332bb7bb439f66177 | [
"MIT"
] | null | null | null | application/views/sales_manual_approve/details.php | marajmmc/beeztola_2018_19 | f6014751d16fc4bab03ab4f332bb7bb439f66177 | [
"MIT"
] | null | null | null | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$CI = & get_instance();
$action_buttons=array();
$action_buttons[]=array(
'label'=>$CI->lang->line("ACTION_BACK").' to Pending List',
'href'=>site_url($CI->controller_url)
);
$action_buttons[]=array(
'label'=>$CI->lang->line(... | 60.039326 | 163 | 0.525311 |
1c5a39c0a81735a737e640c6a7956b9e9bb9e7da | 4,791 | dart | Dart | lib/ui/post/add_tag_page.dart | yeshu-cn/MockApp | 7e72794c2c57477c0d07e45091699b74d6ab1503 | [
"MIT"
] | 9 | 2022-01-17T02:29:57.000Z | 2022-02-08T07:03:46.000Z | lib/ui/post/add_tag_page.dart | yeshu-cn/MockApp | 7e72794c2c57477c0d07e45091699b74d6ab1503 | [
"MIT"
] | null | null | null | lib/ui/post/add_tag_page.dart | yeshu-cn/MockApp | 7e72794c2c57477c0d07e45091699b74d6ab1503 | [
"MIT"
] | 4 | 2022-01-23T07:58:27.000Z | 2022-02-08T07:03:41.000Z | import 'package:flutter/material.dart';
import 'package:lushan/di/usecase_locator.dart';
class AddTagPage extends StatefulWidget {
const AddTagPage({Key? key}) : super(key: key);
@override
_AddTagPageState createState() => _AddTagPageState();
}
class _AddTagPageState extends State<AddTagPage> {
List<String> ... | 28.349112 | 80 | 0.416823 |
83579d7ac452baee7b1c2de80a584d3b3db0dfa6 | 20,415 | ts | TypeScript | src/Sequence.ts | DreadLordMikey/jlinq | 17c1d293eae1ceb1fc10421df02442ad4b9b912c | [
"Unlicense"
] | 1 | 2020-09-22T19:03:43.000Z | 2020-09-22T19:03:43.000Z | src/Sequence.ts | DreadLordMikey/jlinq | 17c1d293eae1ceb1fc10421df02442ad4b9b912c | [
"Unlicense"
] | 47 | 2020-09-14T04:50:48.000Z | 2020-09-24T01:15:07.000Z | src/Sequence.ts | DreadLordMikey/jlinq | 17c1d293eae1ceb1fc10421df02442ad4b9b912c | [
"Unlicense"
] | null | null | null | import { Predicate, Selector } from './interfaces';
//#region from
/**
* Gets a Sequence<T> from an array.
* @param arr {Array<T>} The source array. An exception is thrown if arr is
* null or undefined.
* @returns {Sequence<T>} A Sequence<T> containing a copy of the source array.
*/
export function fr... | 33.688119 | 133 | 0.658927 |
148af1bec74f2d3ba6b196487ec2f685df293e54 | 38 | ts | TypeScript | src/components/OverlayManager/Wishlist/index.ts | sebasalvarado/ecommerce-storefront | 9a7d1df97b74baf3c7933015c1d5af99fc5af04c | [
"BSD-3-Clause"
] | 7 | 2021-05-03T01:36:32.000Z | 2022-02-12T05:02:34.000Z | client/src/components/core/Wishlist/index.ts | mhmdjaw/PChunt | 2cb2d9903d48d80a8f318356a4a508a2717c4335 | [
"MIT"
] | 1 | 2019-07-26T02:40:35.000Z | 2019-07-26T02:40:35.000Z | client/src/components/core/Wishlist/index.ts | mhmdjaw/PChunt | 2cb2d9903d48d80a8f318356a4a508a2717c4335 | [
"MIT"
] | 2 | 2021-07-05T07:20:33.000Z | 2021-07-06T05:51:49.000Z | export { default } from "./Wishlist";
| 19 | 37 | 0.657895 |
a64f13fd9eb8207f7678ec2586e73547d2ba417c | 74 | rb | Ruby | app/controllers/landing_page_controller.rb | oscarmolivera/adr-latam | e0936aa523f57ecac84cda0c1911679a557fbb51 | [
"MIT"
] | null | null | null | app/controllers/landing_page_controller.rb | oscarmolivera/adr-latam | e0936aa523f57ecac84cda0c1911679a557fbb51 | [
"MIT"
] | 4 | 2021-03-10T14:20:13.000Z | 2022-03-31T01:05:20.000Z | app/controllers/landing_page_controller.rb | oscarmolivera/adr-latam | e0936aa523f57ecac84cda0c1911679a557fbb51 | [
"MIT"
] | null | null | null | class LandingPageController < ApplicationController
def Index
end
end
| 14.8 | 51 | 0.824324 |
e236e271b7644faac967016abd701e16a058a984 | 8,603 | js | JavaScript | src/components/MarketFooter.js | davidbanu/dApp | 69f5dea56dda7bd3e53f57fcb3d953e48011bdae | [
"Apache-2.0"
] | 1 | 2021-04-23T21:50:20.000Z | 2021-04-23T21:50:20.000Z | src/components/MarketFooter.js | davidbanu/dApp | 69f5dea56dda7bd3e53f57fcb3d953e48011bdae | [
"Apache-2.0"
] | null | null | null | src/components/MarketFooter.js | davidbanu/dApp | 69f5dea56dda7bd3e53f57fcb3d953e48011bdae | [
"Apache-2.0"
] | 1 | 2020-09-16T06:10:56.000Z | 2020-09-16T06:10:56.000Z | import React, { Component } from 'react';
import { Button, Col, Layout, Row } from 'antd';
import { Link } from 'react-router-dom';
// Styles
import '../less/MarketFooter.less';
import logoImg from '../img/footer/logo_light.svg';
import telegram from '../img/footer/telegram.svg';
import twitter from '../img/footer/tw... | 35.995816 | 86 | 0.409392 |
ff88d73f36bfe9b1bf2bad88996ec12cd8789081 | 1,611 | py | Python | day-7/solution.py | DallogFheir/aoc-2020 | 089bd45d5fbdf98b9729a23f3a142ca3b792567c | [
"MIT"
] | null | null | null | day-7/solution.py | DallogFheir/aoc-2020 | 089bd45d5fbdf98b9729a23f3a142ca3b792567c | [
"MIT"
] | null | null | null | day-7/solution.py | DallogFheir/aoc-2020 | 089bd45d5fbdf98b9729a23f3a142ca3b792567c | [
"MIT"
] | null | null | null | # Advent of Code 2020
# Day 7
import functools
import re
from pathlib import Path
# input
container_template = re.compile(r"(.*?) bags contain")
content_template = re.compile(r" (\d+) (.*?) bag(?:s)?[,.]")
def parse_bag_rules(fh):
rules_dict = {}
for line in fh:
container = re.match(container_templ... | 21.197368 | 84 | 0.675978 |
ccb45def2d600156f5d1287f3600b73608c34242 | 9,626 | ps1 | PowerShell | deployment/deploy-aks-dapr.ps1 | aguywithcode/distributed-az-edge-framework | 6a99703d35d9512cd64d0032fb6807d8afc64558 | [
"MIT"
] | null | null | null | deployment/deploy-aks-dapr.ps1 | aguywithcode/distributed-az-edge-framework | 6a99703d35d9512cd64d0032fb6807d8afc64558 | [
"MIT"
] | null | null | null | deployment/deploy-aks-dapr.ps1 | aguywithcode/distributed-az-edge-framework | 6a99703d35d9512cd64d0032fb6807d8afc64558 | [
"MIT"
] | null | null | null | # ------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
# ------------------------------------------------------------
Param(
[string]
[Paramet... | 41.313305 | 224 | 0.727613 |
4c63927cafda2e0285dc90b7cde1b7b3db8c73bd | 390 | lua | Lua | formatter_dartformat.lua | Faetu/lite-formatters | 937ead666231013ce0fcf2de17ee5d59538e9120 | [
"MIT"
] | 11 | 2021-04-29T05:16:10.000Z | 2022-02-04T07:49:52.000Z | formatter_dartformat.lua | Faetu/lite-formatters | 937ead666231013ce0fcf2de17ee5d59538e9120 | [
"MIT"
] | 5 | 2021-05-18T18:05:42.000Z | 2022-02-07T03:38:38.000Z | formatter_dartformat.lua | Faetu/lite-formatters | 937ead666231013ce0fcf2de17ee5d59538e9120 | [
"MIT"
] | 8 | 2021-05-16T18:33:36.000Z | 2022-02-05T17:30:54.000Z | -- mod-version:2 lite-xl 2.00
-- for Dart formatter
local config = require "core.config"
local formatter = require "plugins.formatter"
config.dartformat_args = {} -- Like the previous case, it is better to leave it as default
formatter.add_formatter {
name = "Dart Formatter",
file_patterns = {
"%.dart$"
},
comm... | 24.375 | 90 | 0.715385 |
034c1a75334a8d94d3417e79e1c62c31cfaba285 | 1,111 | rb | Ruby | spec/unit/sql/processor/requalify/test_on_inner_join.rb | ciremoussadia/bmg | 19971a6973a859978ffd1e82e0034c66d1ed8993 | [
"MIT"
] | 210 | 2017-11-30T08:10:06.000Z | 2022-02-28T13:02:36.000Z | spec/unit/sql/processor/requalify/test_on_inner_join.rb | ciremoussadia/bmg | 19971a6973a859978ffd1e82e0034c66d1ed8993 | [
"MIT"
] | 11 | 2018-05-08T13:06:31.000Z | 2021-12-11T07:44:42.000Z | spec/unit/sql/processor/requalify/test_on_inner_join.rb | ciremoussadia/bmg | 19971a6973a859978ffd1e82e0034c66d1ed8993 | [
"MIT"
] | 6 | 2020-07-14T16:52:04.000Z | 2021-01-11T14:06:39.000Z | require 'sql_helper'
module Bmg
module Sql
class Processor
describe Requalify, "on_inner_join" do
subject{ Requalify.new(Builder.new(2)).apply(expr) }
context 'with a predicate to requalify' do
let(:expr){
sexpr [ :inner_join,
[:table_as, [:table_name, :... | 28.487179 | 77 | 0.488749 |
2c4348d96274fe9e6302cf8b5352642bd0e0f303 | 1,429 | py | Python | wagtail_onboarding/models.py | KalobTaulien/wagtail-onboarding | 418837e28f58eaa01a0b98e209d9be3972dc5b47 | [
"MIT"
] | 6 | 2021-02-15T04:15:20.000Z | 2021-03-03T14:18:59.000Z | wagtail_onboarding/models.py | KalobTaulien/wagtail-onboarding | 418837e28f58eaa01a0b98e209d9be3972dc5b47 | [
"MIT"
] | null | null | null | wagtail_onboarding/models.py | KalobTaulien/wagtail-onboarding | 418837e28f58eaa01a0b98e209d9be3972dc5b47 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.core.validators import MaxValueValidator, MinValueValidator
from django.db import models
class Onboarding(models.Model):
user = models.OneToOneField(
settings.AUTH_USER_MODEL,
on_delete=models.CASCADE,
null=False,
blank=False,
)
... | 27.480769 | 71 | 0.627012 |
3a0cc9e2e1d92f10826c3276b365626713f97300 | 80 | sql | SQL | presto-product-tests/src/main/resources/sql-tests/testcases/horology_functions/checkHorologyFunctionsRegistered.sql | photogamerun/weiwodb | 6768496f0b6aa1e8d6f486e71e4711a1a3432c84 | [
"Apache-2.0"
] | 1 | 2020-06-19T13:33:45.000Z | 2020-06-19T13:33:45.000Z | presto-product-tests/src/main/resources/sql-tests/testcases/horology_functions/checkHorologyFunctionsRegistered.sql | photogamerun/weiwodb | 6768496f0b6aa1e8d6f486e71e4711a1a3432c84 | [
"Apache-2.0"
] | null | null | null | presto-product-tests/src/main/resources/sql-tests/testcases/horology_functions/checkHorologyFunctionsRegistered.sql | photogamerun/weiwodb | 6768496f0b6aa1e8d6f486e71e4711a1a3432c84 | [
"Apache-2.0"
] | 2 | 2019-03-01T05:03:41.000Z | 2019-04-16T06:13:26.000Z | -- database: presto; groups: qe, horology_functions, functions
show functions
| 26.666667 | 63 | 0.775 |
f095f7ffe035da2bf51e36a56a37b5bb0b056825 | 441 | asm | Assembly | programs/oeis/106/A106040.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/106/A106040.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/106/A106040.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A106040: First 9-free digit in the fractional part of the decimal expansion of (1/10^n)^(1/10^n).
; 0,7,5,3,0,8,8,8,8,7,7,7,7,7,6,6,6,6,5,5,5,5,4,4,4,4,4,3,3,3,3,2,2,2,2,1,1,1,1,1,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,7,7,7
mul $0,23
lpb $0
... | 24.5 | 201 | 0.55102 |
81746f21fe58dfaf27907bda8d87fcf27fc6937c | 12,507 | php | PHP | cache/f08d6e93c83deb629f01ad2d67c8d17685c4163e.php | soumyadipdas37/finescoop.github.io | 0346d6175a2c36d4054083c144b7f8364db73f2f | [
"MIT"
] | null | null | null | cache/f08d6e93c83deb629f01ad2d67c8d17685c4163e.php | soumyadipdas37/finescoop.github.io | 0346d6175a2c36d4054083c144b7f8364db73f2f | [
"MIT"
] | null | null | null | cache/f08d6e93c83deb629f01ad2d67c8d17685c4163e.php | soumyadipdas37/finescoop.github.io | 0346d6175a2c36d4054083c144b7f8364db73f2f | [
"MIT"
] | 2 | 2021-09-18T12:06:26.000Z | 2021-11-14T15:17:34.000Z | <?php $__env->startSection('content'); ?><p>Viewers watching BBC documentary Freddie Flintoff: Living with Bulimia, which recounts the cricketing hero's 20-year battle with an eating disorder, say they were 'left in tears' by the Top Gear presenter's 'raw' honesty. </p>
<p>Andrew 'Freddie' Flintoff, 42, talked candidl... | 85.081633 | 285 | 0.762213 |
a3440cfd174d9fa985008c7a12499d1a694769a8 | 5,337 | h | C | libtensor/linalg/lapack_essl.h | pjknowles/libtensor | f18e0e33c6c4512e4ea1dde31ed8d74fe536ed24 | [
"BSL-1.0"
] | 33 | 2016-02-08T06:05:17.000Z | 2021-11-17T01:23:11.000Z | libtensor/linalg/lapack_essl.h | pjknowles/libtensor | f18e0e33c6c4512e4ea1dde31ed8d74fe536ed24 | [
"BSL-1.0"
] | 5 | 2016-06-14T15:54:11.000Z | 2020-12-07T08:27:20.000Z | libtensor/linalg/lapack_essl.h | pjknowles/libtensor | f18e0e33c6c4512e4ea1dde31ed8d74fe536ed24 | [
"BSL-1.0"
] | 12 | 2016-05-19T18:09:38.000Z | 2021-02-24T17:35:21.000Z | #ifndef LIBTENSOR_LAPACK_ESSL_H
#define LIBTENSOR_LAPACK_ESSL_H
#include "essl/essl_h.h"
#include "../not_implemented.h"
namespace libtensor {
/** \brief LAPACK function dgesv (ESSL)
\ingroup libtensor_linalg
**/
inline int lapack_dgesv(size_t n, size_t nrhs, double *a, size_t lda, int *ipiv,
double *b, ... | 24.823256 | 123 | 0.653363 |
a3b09a1fdcf4c133e8454ee1744c94d06d336f13 | 2,804 | java | Java | src/test/java/uk/gov/hmcts/reform/dg/docassembly/rest/DocumentConversionResourceTest.java | uk-gov-mirror/hmcts.dg-docassembly-api | 557c2e67bb5bf8ce3c352749b5ea09ca2e59e95e | [
"MIT"
] | null | null | null | src/test/java/uk/gov/hmcts/reform/dg/docassembly/rest/DocumentConversionResourceTest.java | uk-gov-mirror/hmcts.dg-docassembly-api | 557c2e67bb5bf8ce3c352749b5ea09ca2e59e95e | [
"MIT"
] | null | null | null | src/test/java/uk/gov/hmcts/reform/dg/docassembly/rest/DocumentConversionResourceTest.java | uk-gov-mirror/hmcts.dg-docassembly-api | 557c2e67bb5bf8ce3c352749b5ea09ca2e59e95e | [
"MIT"
] | null | null | null | package uk.gov.hmcts.reform.dg.docassembly.rest;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
import org.springframework.boot.test.autoconfigure.web.servlet.Au... | 31.863636 | 88 | 0.751783 |
cd45dcb439c4dd945b7fc0cfd2b77acce910d965 | 45,322 | cs | C# | Source/Assembly-CSharp/XLua/Utils.cs | Shadowrabbit/BigBiaDecompilation | a9b1fb42f22384ceb046ed7f413c7b76ce4ae2d6 | [
"Apache-2.0"
] | 1 | 2021-09-20T07:39:55.000Z | 2021-09-20T07:39:55.000Z | Source/Assembly-CSharp/XLua/Utils.cs | Shadowrabbit/BigBiaDecompilation | a9b1fb42f22384ceb046ed7f413c7b76ce4ae2d6 | [
"Apache-2.0"
] | null | null | null | Source/Assembly-CSharp/XLua/Utils.cs | Shadowrabbit/BigBiaDecompilation | a9b1fb42f22384ceb046ed7f413c7b76ce4ae2d6 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using XLua.LuaDLL;
namespace XLua
{
public static class Utils
{
public static bool LoadField(IntPtr L, int idx, string field_name)
{
idx = ((idx > 0) ? idx : (Lua.lua_gettop(L) +... | 32.211798 | 375 | 0.651648 |
43a79293d2d22257ce51beb6e3a09e204fb175fb | 1,197 | tsx | TypeScript | packages/paste-core/utilities/media-object/src/index.tsx | sakshamtaneja21/paste | 8c3623f474832f33080a7e10ac3e173e53fa2e82 | [
"MIT"
] | null | null | null | packages/paste-core/utilities/media-object/src/index.tsx | sakshamtaneja21/paste | 8c3623f474832f33080a7e10ac3e173e53fa2e82 | [
"MIT"
] | null | null | null | packages/paste-core/utilities/media-object/src/index.tsx | sakshamtaneja21/paste | 8c3623f474832f33080a7e10ac3e173e53fa2e82 | [
"MIT"
] | null | null | null | import styled from '@emotion/styled';
import {space, Theme, themeGet} from 'styled-system';
import {MarginProps, PaddingProps} from '@twilio-paste/types';
export interface MediaObjectProps extends Theme {
isCentered?: boolean;
}
const MediaObject = styled.div<MediaObjectProps>`
align-items: ${(props: MediaObjectP... | 23.94 | 92 | 0.695071 |
4ceba7ef32d29987f218aafadb72621903be14be | 8,367 | py | Python | ladim2/tracker.py | bjornaa/ladim2 | f6c1be9028ca54370ce33dde25b005d5b0bb4677 | [
"MIT"
] | null | null | null | ladim2/tracker.py | bjornaa/ladim2 | f6c1be9028ca54370ce33dde25b005d5b0bb4677 | [
"MIT"
] | null | null | null | ladim2/tracker.py | bjornaa/ladim2 | f6c1be9028ca54370ce33dde25b005d5b0bb4677 | [
"MIT"
] | null | null | null | """Tracker – physical particle tracker"""
# ------------------------------------
# tracker.py
# Part of the LADiM Model
#
# Bjørn Ådlandsvik, <bjorn@imr.no>
# Institute of Marine Research
#
# Licensed under the MIT license
# ------------------------------------
import logging
from typing import Any
import numpy as n... | 27.983278 | 84 | 0.565077 |
b4e62088b2e86af4c22405a29f661d8526f432d8 | 1,342 | rb | Ruby | app/models/member.rb | mrfarmer777/byteclub | 8ac0ca9935d458f832e29c609fd10b1bd3a1da8e | [
"MIT"
] | null | null | null | app/models/member.rb | mrfarmer777/byteclub | 8ac0ca9935d458f832e29c609fd10b1bd3a1da8e | [
"MIT"
] | null | null | null | app/models/member.rb | mrfarmer777/byteclub | 8ac0ca9935d458f832e29c609fd10b1bd3a1da8e | [
"MIT"
] | 1 | 2021-02-28T20:34:56.000Z | 2021-02-28T20:34:56.000Z | class Member < ApplicationRecord
has_secure_password
validates :email, uniqueness: true
validates :uid, uniqueness: true
validates_format_of :email, :with => /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i, on: :create
has_many :member_meetings
has_many :meetings, through: :member_meet... | 27.958333 | 100 | 0.597615 |
753fc38e791677bdb4bbec5be84b0a241536b2f1 | 1,614 | asm | Assembly | programs/oeis/168/A168668.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/168/A168668.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/168/A168668.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A168668: a(n) = n*(2 + 5*n).
; 0,7,24,51,88,135,192,259,336,423,520,627,744,871,1008,1155,1312,1479,1656,1843,2040,2247,2464,2691,2928,3175,3432,3699,3976,4263,4560,4867,5184,5511,5848,6195,6552,6919,7296,7683,8080,8487,8904,9331,9768,10215,10672,11139,11616,12103,12600,13107,13624,14151,14688,15235,15792,16359,16936... | 201.75 | 1,543 | 0.820942 |
4f76cf0881bfc7f42eb3200741dedbd192a96511 | 533 | lua | Lua | ProgrammingInLua/ch04/stringplus.lua | you-know-who-2017/RockInLua | ef21756d2e5fcc09309bca5af1e10b6341a36a1a | [
"MIT"
] | null | null | null | ProgrammingInLua/ch04/stringplus.lua | you-know-who-2017/RockInLua | ef21756d2e5fcc09309bca5af1e10b6341a36a1a | [
"MIT"
] | null | null | null | ProgrammingInLua/ch04/stringplus.lua | you-know-who-2017/RockInLua | ef21756d2e5fcc09309bca5af1e10b6341a36a1a | [
"MIT"
] | null | null | null | string.format("x = %d y = %d", 10, 20)
string.format("x = %x", 200)
string.format("x = 0x%X", 200)
string.format("x = %f", 200)
tag, title = "h1", "a title"
string.format("<%s>%s</%s>", tag, title, tag)
print(string.format("pi = %.4f", math.pi))
d = 5; m = 11; y = 1990
print(string.format("%02d/%02d/%04d", d, m... | 25.380952 | 62 | 0.560976 |
9ff048d58ca2f656063ac9f73dccb6d22e8f63ac | 2,258 | py | Python | fluid/parameter.py | PaulDodd/signac-flow-project-helpers | 208c7c8da52c4b0108c3989c77423cc5ff86ba59 | [
"MIT"
] | 1 | 2017-05-30T14:22:59.000Z | 2017-05-30T14:22:59.000Z | fluid/parameter.py | PaulDodd/signac-flow-project-helpers | 208c7c8da52c4b0108c3989c77423cc5ff86ba59 | [
"MIT"
] | null | null | null | fluid/parameter.py | PaulDodd/signac-flow-project-helpers | 208c7c8da52c4b0108c3989c77423cc5ff86ba59 | [
"MIT"
] | null | null | null | # TODO: Remove from project
_params_warned_once = False
class FluidParams(dict):
defaults = dict() # the default values of the parameters
def __init__(self, job, readonly=None):
dict.__init__(self)
try:
# TODO: this may not really be the right case.
from mpi4py import MPI... | 34.738462 | 103 | 0.590345 |
82b222c88a8f0c24b94c0065fe76ba394aa62133 | 2,569 | rs | Rust | tests/build.rs | chrissie-c/rust-corosync | 765327f308e78db2a028a330e88b010195594f01 | [
"MIT"
] | 3 | 2021-01-20T14:33:05.000Z | 2021-02-16T18:47:39.000Z | tests/build.rs | chrissie-c/rust-corosync | 765327f308e78db2a028a330e88b010195594f01 | [
"MIT"
] | null | null | null | tests/build.rs | chrissie-c/rust-corosync | 765327f308e78db2a028a330e88b010195594f01 | [
"MIT"
] | null | null | null | extern crate pkg_config;
fn main() {
if let Err(e) = pkg_config::probe_library("libcpg") {
match e {
pkg_config::Error::Failure { .. } => panic! (
"Pkg-config failed - usually this is because corosync development headers are not installed.\n\n\
For Fedora users:\n# dnf install corosynclib-d... | 36.183099 | 99 | 0.587777 |
1d7237303f2c58b0923fa5a106118975b40366c6 | 230 | swift | Swift | MyiOSApp/Networking/Result.swift | soufianesalouf/MyiOSApp | 6997d81c8f1955eeccf96a81b375ba676d2e2e3b | [
"MIT"
] | null | null | null | MyiOSApp/Networking/Result.swift | soufianesalouf/MyiOSApp | 6997d81c8f1955eeccf96a81b375ba676d2e2e3b | [
"MIT"
] | null | null | null | MyiOSApp/Networking/Result.swift | soufianesalouf/MyiOSApp | 6997d81c8f1955eeccf96a81b375ba676d2e2e3b | [
"MIT"
] | null | null | null | //
// Result.swift
// MyiOSApp
//
// Created by Soufiane SALOUF on 06/08/20.
// Copyright © 2020 Soufiane SALOUF. All rights reserved.
//
import Foundation
enum Result<T> {
case success(T)
case failure(Error)
}
| 14.375 | 58 | 0.647826 |
aaa6da761fb8521da4794beec319adf23e6d2621 | 119,073 | lua | Lua | src/leda/controller/http_flot.lua | LuaDist-testing/leda | 42a84e5c1527c315b02b0d2d99e8e21585d5860d | [
"MIT",
"Unlicense"
] | 7 | 2015-11-05T17:44:16.000Z | 2019-06-04T01:35:46.000Z | src/leda/controller/http_flot.lua | Salmito/leda | 7980e8c82722bd06788136e28312af3b02999bf1 | [
"Unlicense",
"MIT"
] | null | null | null | src/leda/controller/http_flot.lua | Salmito/leda | 7980e8c82722bd06788136e28312af3b02999bf1 | [
"Unlicense",
"MIT"
] | null | null | null | return [===[
/* Javascript plotting library for jQuery, version 0.8.1.
Copyright (c) 2007-2013 IOLA and Ole Laursen.
Licensed under the MIT license.
*/
// first an inline dependency, jquery.colorhelpers.js, we inline it here
// for convenience
/* Plugin for jQuery for working with colors.
*
* Version 1.1.
*
* I... | 38.861945 | 2,952 | 0.458064 |
97cb8143ec8e806bc11d9568d6ee6b5e4fbc3d5f | 7,465 | sql | SQL | src/server/db/02seed_events.sql | alnye655321/gEvents | fb177f1390f9c2f3fbd03971a9e3d9b033f18bd4 | [
"MIT"
] | null | null | null | src/server/db/02seed_events.sql | alnye655321/gEvents | fb177f1390f9c2f3fbd03971a9e3d9b033f18bd4 | [
"MIT"
] | null | null | null | src/server/db/02seed_events.sql | alnye655321/gEvents | fb177f1390f9c2f3fbd03971a9e3d9b033f18bd4 | [
"MIT"
] | null | null | null | \c gevents;
delete from events where id > 0;
insert into events (title, description, over_21, venue_ID, start_date, start_time, end_time) values ('Persistent asymmetric moderator', 'Sed ante. Vivamus tortor.', true, 11, '2016/03/11', '0:19', '19:07');
insert into events (title, description, over_21, venue_ID, start_dat... | 324.565217 | 619 | 0.766912 |
8e50f65c520aa87b3e348e565dd395205d94fa7b | 326 | rb | Ruby | lib/fake_series/generators.rb | kbennoune/fake_series | 57048a431f4aec448d26fc7eeecd8dbe5c776377 | [
"MIT"
] | null | null | null | lib/fake_series/generators.rb | kbennoune/fake_series | 57048a431f4aec448d26fc7eeecd8dbe5c776377 | [
"MIT"
] | null | null | null | lib/fake_series/generators.rb | kbennoune/fake_series | 57048a431f4aec448d26fc7eeecd8dbe5c776377 | [
"MIT"
] | null | null | null | require "fake_series/generators/composable"
require "fake_series/generators/random_cyclic"
require "fake_series/generators/simple_random_walk"
require "fake_series/generators/gaussian_random_walk"
require "fake_series/generators/pink_noise"
require "fake_series/generators/cyclic"
require "fake_series/generators/expres... | 36.222222 | 53 | 0.868098 |
bb2d70f80ef39002ed1402cfe5d0fc7c330bf71f | 5,751 | cs | C# | eBay.Service.Standard/Call/AddSellingManagerProductCall.cs | mccj/eBay.Service.Standard | 70510de58c2da6a8c7d1f363ddcba138c07c21c5 | [
"MIT"
] | 1 | 2018-12-15T05:58:09.000Z | 2018-12-15T05:58:09.000Z | eBay.Service.Standard/Call/AddSellingManagerProductCall.cs | mccj/eBay.Service.Standard | 70510de58c2da6a8c7d1f363ddcba138c07c21c5 | [
"MIT"
] | null | null | null | eBay.Service.Standard/Call/AddSellingManagerProductCall.cs | mccj/eBay.Service.Standard | 70510de58c2da6a8c7d1f363ddcba138c07c21c5 | [
"MIT"
] | null | null | null | #region Copyright
// Copyright (c) 2013 eBay, Inc.
//
// This program is licensed under the terms of the eBay Common Development and
// Distribution License (CDDL) Version 1.0 (the "License") and any subsequent
// version thereof released by eBay. The then-current version of the License can be
// found at http://w... | 37.103226 | 554 | 0.746305 |
6b5e49567c820d090396c767e4dadbc3621adf7c | 130 | js | JavaScript | unpackage/dist/build/app-plus/pages/trade/kline/main.js | wenjiping/exchange-app | 25efa573299aae1af90537b55e72fa548bc9ac2a | [
"Apache-2.0"
] | null | null | null | unpackage/dist/build/app-plus/pages/trade/kline/main.js | wenjiping/exchange-app | 25efa573299aae1af90537b55e72fa548bc9ac2a | [
"Apache-2.0"
] | null | null | null | unpackage/dist/build/app-plus/pages/trade/kline/main.js | wenjiping/exchange-app | 25efa573299aae1af90537b55e72fa548bc9ac2a | [
"Apache-2.0"
] | null | null | null | document.dispatchEvent(new CustomEvent("generateFuncReady", { detail: { generateFunc: $gwx('./pages/trade/kline/main.wxml') } })); | 130 | 130 | 0.738462 |
e3df1f95be4f3bca10a0292aeff191e63119e6b3 | 118 | rb | Ruby | test/support/test.rb | fixrb/defi | 305b2e50ee03172e0f4cff8998b37c2a5bbf0ea0 | [
"MIT"
] | null | null | null | test/support/test.rb | fixrb/defi | 305b2e50ee03172e0f4cff8998b37c2a5bbf0ea0 | [
"MIT"
] | null | null | null | test/support/test.rb | fixrb/defi | 305b2e50ee03172e0f4cff8998b37c2a5bbf0ea0 | [
"MIT"
] | 1 | 2016-10-17T20:16:31.000Z | 2016-10-17T20:16:31.000Z | # frozen_string_literal: true
class Test
attr_reader :challenge
def initialize
@challenge = yield
end
end
| 11.8 | 29 | 0.737288 |
79b6ac7bc5ba57a1ba604348023d3440cb5ed0b1 | 5,468 | php | PHP | social/module/custom/include/service/group/process.class.php | bansalhimanshu0296/jyc.club | a3a4c5deaadde82ea895ae8e6b2fe42bd906b652 | [
"Apache-2.0"
] | null | null | null | social/module/custom/include/service/group/process.class.php | bansalhimanshu0296/jyc.club | a3a4c5deaadde82ea895ae8e6b2fe42bd906b652 | [
"Apache-2.0"
] | null | null | null | social/module/custom/include/service/group/process.class.php | bansalhimanshu0296/jyc.club | a3a4c5deaadde82ea895ae8e6b2fe42bd906b652 | [
"Apache-2.0"
] | null | null | null | <?php
/**
* [NULLED BY DARKGOTH 2014]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Phpfox_Service
* @version $Id: process.class.php 3533 2011-11-21 14:07:21Z Raymond_Benc $
*/
class Custom_Service_Group_Process extends Phpfox_Se... | 27.34 | 192 | 0.619971 |
a1fd196bdde3d9147b4849b1ffc2e6c6d5f3762b | 1,722 | dart | Dart | lib/src/slices/user_referral/ui/user_referral_view_code.dart | bhaskarvilles/app | dee089328837dd041dd0649899639e1f5c26b02d | [
"MIT"
] | null | null | null | lib/src/slices/user_referral/ui/user_referral_view_code.dart | bhaskarvilles/app | dee089328837dd041dd0649899639e1f5c26b02d | [
"MIT"
] | null | null | null | lib/src/slices/user_referral/ui/user_referral_view_code.dart | bhaskarvilles/app | dee089328837dd041dd0649899639e1f5c26b02d | [
"MIT"
] | null | null | null | /*
* Copyright (c) TIKI Inc.
* MIT license. See LICENSE file in root directory.
*/
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:sizer/sizer.dart';
import '../../../config/config_color.dart';
import '../../../utils/helper_image.dart';
import '../user_referral_serv... | 35.875 | 71 | 0.591173 |
5df53d6d97c8bc4307d93f202acfe67b94973e08 | 238 | cpp | C++ | src/PL_CSC.cpp | ddsmarques/pairtree | b04e590acf769269ebc38b76ba1f19d6344fef80 | [
"BSD-3-Clause"
] | null | null | null | src/PL_CSC.cpp | ddsmarques/pairtree | b04e590acf769269ebc38b76ba1f19d6344fef80 | [
"BSD-3-Clause"
] | null | null | null | src/PL_CSC.cpp | ddsmarques/pairtree | b04e590acf769269ebc38b76ba1f19d6344fef80 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2018 Daniel dos Santos Marques <danielsmarques7@gmail.com>
// License: BSD 3 clause
#include <iostream>
#include "Trainer.h"
int main(int argc, char** argv) {
Trainer trainer;
trainer.train(argv[1]);
return 0;
}
| 18.307692 | 75 | 0.697479 |
1c9b3d18534f94d2aee63a83a879d956562c1f46 | 234 | dart | Dart | lib/flutter_ssi_wallet.dart | b2cm/dart_ssi | ffc7b9a322a52fa087facb8093f523bd0e4ef1fb | [
"BSD-3-Clause"
] | null | null | null | lib/flutter_ssi_wallet.dart | b2cm/dart_ssi | ffc7b9a322a52fa087facb8093f523bd0e4ef1fb | [
"BSD-3-Clause"
] | null | null | null | lib/flutter_ssi_wallet.dart | b2cm/dart_ssi | ffc7b9a322a52fa087facb8093f523bd0e4ef1fb | [
"BSD-3-Clause"
] | null | null | null | library flutter_ssi_wallet;
export 'src/credential_exchange.dart';
export 'src/credential_operations.dart';
export 'src/ethereum_connector.dart';
export 'src/hive_model.dart';
export 'src/utils.dart';
export 'src/wallet_store.dart';
| 26 | 40 | 0.803419 |
7a9f7ca61dfdf4775c44270b01b57f36faf7b82a | 1,613 | cs | C# | Assets/Scripts/Objects/Telephone/UIPhonebookEntry.cs | polylith/PlumploriGame | c3970504a780bd13c81be725d66c60ca87feb8ed | [
"MIT"
] | null | null | null | Assets/Scripts/Objects/Telephone/UIPhonebookEntry.cs | polylith/PlumploriGame | c3970504a780bd13c81be725d66c60ca87feb8ed | [
"MIT"
] | null | null | null | Assets/Scripts/Objects/Telephone/UIPhonebookEntry.cs | polylith/PlumploriGame | c3970504a780bd13c81be725d66c60ca87feb8ed | [
"MIT"
] | null | null | null | using UnityEngine;
using UnityEngine.UI;
using TMPro;
using UnityEngine.EventSystems;
public class UIPhonebookEntry : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerClickHandler
{
public Image back;
public TextMeshProUGUI entryNameDisplay;
public TextMeshProUGUI entryNumberDisplay;
... | 26.016129 | 110 | 0.67142 |
78b0b545a5cbb1af21b8ff4d2d130f0c039a70c1 | 1,866 | sql | SQL | db_archive/sql_archive/1183__drop_create_table_sa_suorat_rekrytointihaut.sql | CSCfi/antero | e762c09e395cb01e334f2a04753ba983107ac7d7 | [
"MIT"
] | 6 | 2017-08-03T08:49:17.000Z | 2021-11-14T17:09:27.000Z | db_archive/sql_archive/1183__drop_create_table_sa_suorat_rekrytointihaut.sql | CSC-IT-Center-for-Science/antero | 2835d7fd07cd7399a348033a6230d1b16634fb3b | [
"MIT"
] | 3 | 2017-05-03T08:45:42.000Z | 2020-10-27T06:30:40.000Z | db_archive/sql_archive/1183__drop_create_table_sa_suorat_rekrytointihaut.sql | CSC-IT-Center-for-Science/antero | 2835d7fd07cd7399a348033a6230d1b16634fb3b | [
"MIT"
] | 4 | 2017-10-19T11:31:43.000Z | 2022-01-05T14:53:57.000Z | USE ANTERO
IF EXISTS
(select * from INFORMATION_SCHEMA.TABLES
where TABLE_SCHEMA='sa' and TABLE_NAME='sa_suorat_amk7a_rekrytointihaut')
BEGIN
drop table [sa].[sa_suorat_amk7a_rekrytointihaut]
END
IF NOT EXISTS
(select * from INFORMATION_SCHEMA.TABLES
where TABLE_SCHEMA='sa' and TABLE_NAME='sa_suorat_amk7a_r... | 31.627119 | 76 | 0.755091 |
e7250a3f03dfb8ff6b1f9afc817d8bd1f1ccf6dc | 3,567 | php | PHP | routes/web.php | kunkun1231998/ttcs1 | cee30ed268543a8190264b1f11c9d9cec532dc88 | [
"MIT"
] | null | null | null | routes/web.php | kunkun1231998/ttcs1 | cee30ed268543a8190264b1f11c9d9cec532dc88 | [
"MIT"
] | 1 | 2021-01-06T06:02:26.000Z | 2021-01-06T06:02:26.000Z | routes/web.php | kunkun1231998/ttcs1 | cee30ed268543a8190264b1f11c9d9cec532dc88 | [
"MIT"
] | null | null | null | <?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... | 44.5875 | 123 | 0.599103 |
a3d378c7dc7c58f68b22a21bc2f50bef7e3b623b | 3,176 | java | Java | src/main/java/seedu/budgetbaby/logic/parser/BudgetBabyParser.java | natosy/tp | fe47e54a60f057af3e37f90de9ae99b069069094 | [
"MIT"
] | null | null | null | src/main/java/seedu/budgetbaby/logic/parser/BudgetBabyParser.java | natosy/tp | fe47e54a60f057af3e37f90de9ae99b069069094 | [
"MIT"
] | 184 | 2021-02-25T02:16:59.000Z | 2021-04-12T15:54:54.000Z | src/main/java/seedu/budgetbaby/logic/parser/BudgetBabyParser.java | natosy/tp | fe47e54a60f057af3e37f90de9ae99b069069094 | [
"MIT"
] | 5 | 2021-02-15T14:12:49.000Z | 2021-02-15T14:13:40.000Z | package seedu.budgetbaby.logic.parser;
import static seedu.budgetbaby.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.budgetbaby.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import seedu.budgetbaby.logic.commands.AddFrCommand... | 35.288889 | 112 | 0.72796 |
be03384fea664b4f534f7695cbdfd613fdb99dcc | 272 | ts | TypeScript | libs/data/src/lib/DisplayedTip.ts | mJehanno/cr-tips | fdca264325c20684b878ae4d280621abd64aca77 | [
"MIT"
] | 1 | 2019-11-11T08:56:30.000Z | 2019-11-11T08:56:30.000Z | libs/data/src/lib/DisplayedTip.ts | mJehanno/cr-tips | fdca264325c20684b878ae4d280621abd64aca77 | [
"MIT"
] | 22 | 2019-09-04T14:50:32.000Z | 2022-02-26T15:38:43.000Z | libs/data/src/lib/DisplayedTip.ts | mJehanno/cr-tips | fdca264325c20684b878ae4d280621abd64aca77 | [
"MIT"
] | 1 | 2021-08-22T17:08:12.000Z | 2021-08-22T17:08:12.000Z | import { User, Commentary } from '..';
export interface DisplayedTip {
idTips?: string;
authorUser: User;
date: Date;
title: string;
content: string;
commentaries?: Commentary[];
score: number;
game_mode?: string;
category?: string;
}
| 19.428571 | 38 | 0.628676 |
455a299b2c1c67daac2d82fda35406e23bdeee5c | 651 | py | Python | Algorithms/Medium/200. Number of Islands/answer.py | KenWoo/Algorithm | 4012a2f0a099a502df1e5df2e39faa75fe6463e8 | [
"Apache-2.0"
] | null | null | null | Algorithms/Medium/200. Number of Islands/answer.py | KenWoo/Algorithm | 4012a2f0a099a502df1e5df2e39faa75fe6463e8 | [
"Apache-2.0"
] | null | null | null | Algorithms/Medium/200. Number of Islands/answer.py | KenWoo/Algorithm | 4012a2f0a099a502df1e5df2e39faa75fe6463e8 | [
"Apache-2.0"
] | null | null | null | from typing import List
class Solution:
def numIslands(self, grid: List[List[str]]) -> int:
if not grid:
return 0
M, N = len(grid), len(grid[0])
def dfs(x, y):
if x < 0 or x >= M or y < 0 or y >= N or grid[x][y] == '0':
return
grid[x][y]... | 22.448276 | 71 | 0.380952 |
51cef877308979347e8d2794f96747e41ef78f86 | 20,830 | lua | Lua | durden/tiler_mh.lua | diegogangl/durden | 0a9abe18d38c4a1d55a20b10ae0cab3eb712416c | [
"BSD-3-Clause"
] | null | null | null | durden/tiler_mh.lua | diegogangl/durden | 0a9abe18d38c4a1d55a20b10ae0cab3eb712416c | [
"BSD-3-Clause"
] | null | null | null | durden/tiler_mh.lua | diegogangl/durden | 0a9abe18d38c4a1d55a20b10ae0cab3eb712416c | [
"BSD-3-Clause"
] | null | null | null | --
-- This translation unit returns factory functions for the possible decoration
-- mouse handlers, as well as the default implementation for mouse events that
-- are attached to a window on creation.
--
-- Much of this could/should be reworked to use builtin/decorator.lua instead.
--
local tiler_logfun = suppl_add_lo... | 24.025375 | 95 | 0.67398 |
3123705475c680b86411810361457b0fa611148f | 3,001 | sql | SQL | EMPRESA.sql | dario-gms/Modelagem-de-Dados | 8f999fa615791f04847fcf45771b4f831396c126 | [
"MIT"
] | null | null | null | EMPRESA.sql | dario-gms/Modelagem-de-Dados | 8f999fa615791f04847fcf45771b4f831396c126 | [
"MIT"
] | null | null | null | EMPRESA.sql | dario-gms/Modelagem-de-Dados | 8f999fa615791f04847fcf45771b4f831396c126 | [
"MIT"
] | null | null | null | CREATE TABLE TB_FUNCIONARIO (
CPF VARCHAR(11) NOT NULL,
DATA_NASCIMENTO DATE NOT NULL,
PRIMEIRO_NOME VARCHAR(100) NOT NULL,
NOME_MEIO VARCHAR(100) NOT NULL,
ULTIMO_NOME VARCHAR(100) NOT NULL,
ENDERECO VARCHAR(250) NOT NULL,
SALARIO DOUBLE PRECISION NOT NULL,
SEXO VARCHAR(1) NOT NULL,
... | 30.01 | 105 | 0.797401 |
c977677d8c7e8c8af06f6813406567d9ec7e8116 | 4,199 | ts | TypeScript | node_modules/react-use-gesture/dist/Controller.d.ts | ajchdev/outside-event | edaa958d74d5a1431f617bcbcef0d2e838103bd2 | [
"MIT"
] | null | null | null | node_modules/react-use-gesture/dist/Controller.d.ts | ajchdev/outside-event | edaa958d74d5a1431f617bcbcef0d2e838103bd2 | [
"MIT"
] | null | null | null | node_modules/react-use-gesture/dist/Controller.d.ts | ajchdev/outside-event | edaa958d74d5a1431f617bcbcef0d2e838103bd2 | [
"MIT"
] | null | null | null | import { StateKey, State, Fn, ReactEventHandlers, InternalConfig, InternalHandlers } from './types';
declare type GestureTimeouts = Partial<{
[stateKey in StateKey]: number;
}>;
/**
* The controller will keep track of the state for all gestures and also keep
* track of timeouts, and window listeners.
*
* @templ... | 71.169492 | 1,971 | 0.708978 |
adea18ccad109854088a02db74d8b50bcb9b4f02 | 21,109 | lua | Lua | awesome/lib/gears/shape.lua | pixelsyntax/dotfiles | 15f0efd7b0bba8801f77bab46182dd44bc8ac1cb | [
"Unlicense"
] | null | null | null | awesome/lib/gears/shape.lua | pixelsyntax/dotfiles | 15f0efd7b0bba8801f77bab46182dd44bc8ac1cb | [
"Unlicense"
] | null | null | null | awesome/lib/gears/shape.lua | pixelsyntax/dotfiles | 15f0efd7b0bba8801f77bab46182dd44bc8ac1cb | [
"Unlicense"
] | null | null | null | ---------------------------------------------------------------------------
--- Module dedicated to gather common shape painters.
--
-- It add the concept of "shape" to Awesome. A shape can be applied to a
-- background, a margin, a mask or a drawable shape bounding.
--
-- The functions exposed by this module always ta... | 31.934947 | 108 | 0.632195 |
fa1fddb081239efffa3294942da958b06f2e49de | 5,102 | cpp | C++ | src/test/lemoncoin_tests.cpp | fflo/lemoncoin | 1d45a3821afacf24d07827b64712d31f28b75730 | [
"MIT"
] | null | null | null | src/test/lemoncoin_tests.cpp | fflo/lemoncoin | 1d45a3821afacf24d07827b64712d31f28b75730 | [
"MIT"
] | null | null | null | src/test/lemoncoin_tests.cpp | fflo/lemoncoin | 1d45a3821afacf24d07827b64712d31f28b75730 | [
"MIT"
] | null | null | null | // Copyright (c) 2015 The Dogecoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "arith_uint256.h"
#include "chainparams.h"
#include "lemoncoin.h"
#include "main.h"
#include "test/test_bitcoin.h"
#inc... | 39.246154 | 118 | 0.777342 |
dee6d955b26ccbcf636ae279bf9326bdb0a556e2 | 7,227 | swift | Swift | Classes/Core/Message/MTMessage.swift | ShuNegus/mobile-messaging-sdk-ios | 529260234c18f8ffba794585b481b13d98c686a7 | [
"Apache-2.0"
] | null | null | null | Classes/Core/Message/MTMessage.swift | ShuNegus/mobile-messaging-sdk-ios | 529260234c18f8ffba794585b481b13d98c686a7 | [
"Apache-2.0"
] | null | null | null | Classes/Core/Message/MTMessage.swift | ShuNegus/mobile-messaging-sdk-ios | 529260234c18f8ffba794585b481b13d98c686a7 | [
"Apache-2.0"
] | null | null | null | //
// MTMessage.swift
// MobileMessaging
//
// Created by Andrey Kadochnikov on 18/10/2017.
//
import Foundation
public protocol MTMessageProtocol {
/// Contains info about the action was applied to the message
var appliedAction: NotificationAction? {get set}
/// Structure representing APS payload attribute... | 31.558952 | 254 | 0.746091 |
a307d97769c7fe2329c51ddb30ae62bfe0ff151f | 1,940 | c | C | nm/src/extract_symbols.c | nsarno/nm-objdump | 3a98316f29265e2f8b1275f0df2e0f74a066226a | [
"MIT"
] | 14 | 2016-11-11T20:45:34.000Z | 2021-11-29T13:59:50.000Z | nm/src/extract_symbols.c | Venatoral/nm-objdump | 3a98316f29265e2f8b1275f0df2e0f74a066226a | [
"MIT"
] | null | null | null | nm/src/extract_symbols.c | Venatoral/nm-objdump | 3a98316f29265e2f8b1275f0df2e0f74a066226a | [
"MIT"
] | 14 | 2015-07-24T08:31:08.000Z | 2021-06-30T09:02:04.000Z | /*
** extract_symbols.c for extract symbols in /home/mesure_a/workspace/c/nm-objdump
**
** Made by arnaud mesureur
** Login <mesure_a@epitech.net>
**
** Started on Sat Mar 12 10:42:22 2011 arnaud mesureur
** Last update Sun Mar 13 21:19:45 2011 arnaud mesureur
*/
#include <stdlib.h>
#include <stddef.h>
#include <el... | 20.421053 | 81 | 0.619588 |
a362a0f825a9be05c256915ef41877cc338dfd61 | 4,918 | java | Java | modules/benchmarks/src/main/java/org/apache/ignite/internal/benchmarks/jmh/cache/JmhCacheBenchmark.java | FedorUporov/gridgain | 883125f943743fa8198d88be98dfe61bde86ad96 | [
"CC0-1.0"
] | 218 | 2015-01-04T13:20:55.000Z | 2022-03-28T05:28:55.000Z | modules/benchmarks/src/main/java/org/apache/ignite/internal/benchmarks/jmh/cache/JmhCacheBenchmark.java | FedorUporov/gridgain | 883125f943743fa8198d88be98dfe61bde86ad96 | [
"CC0-1.0"
] | 175 | 2015-02-04T23:16:56.000Z | 2022-03-28T18:34:24.000Z | modules/benchmarks/src/main/java/org/apache/ignite/internal/benchmarks/jmh/cache/JmhCacheBenchmark.java | FedorUporov/gridgain | 883125f943743fa8198d88be98dfe61bde86ad96 | [
"CC0-1.0"
] | 93 | 2015-01-06T20:54:23.000Z | 2022-03-31T08:09:00.000Z | /*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gridgain.com/products/software/community-edition... | 35.128571 | 112 | 0.660838 |
57f45bcf272ddd87951879a7e1f8eb384153e7b8 | 1,860 | php | PHP | models/TipoEncargo.php | themarcosramos/proger | 0acc2d440326a129bdae4e8e19615fd027744cb2 | [
"BSD-3-Clause"
] | 1 | 2019-09-30T23:05:57.000Z | 2019-09-30T23:05:57.000Z | models/TipoEncargo.php | themarcosramos/Proger | 0acc2d440326a129bdae4e8e19615fd027744cb2 | [
"BSD-3-Clause"
] | null | null | null | models/TipoEncargo.php | themarcosramos/Proger | 0acc2d440326a129bdae4e8e19615fd027744cb2 | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace app\models;
use Yii;
/**
* This is the model class for table "tipoEncargo".
*
* @property integer $id
* @property string $nome
*
* @property CursoProger[] $cursoProgers
* @property EventoProger[] $eventoProgers
* @property ProgramaProger[] $programas
* @property ProjetoProger[] $projetoProge... | 19.578947 | 86 | 0.533333 |
a0119ed67d635be381e74b2ecf8ca5906cc76c45 | 6,620 | ts | TypeScript | src/index.ts | yeonjuan/mode-image | 3223fb01b3adc3158a1c827404814c69449595d9 | [
"MIT"
] | 3 | 2021-08-14T10:40:36.000Z | 2021-08-14T18:05:03.000Z | src/index.ts | yeonjuan/mode-image | 3223fb01b3adc3158a1c827404814c69449595d9 | [
"MIT"
] | null | null | null | src/index.ts | yeonjuan/mode-image | 3223fb01b3adc3158a1c827404814c69449595d9 | [
"MIT"
] | null | null | null | import type {
CreateCanvas,
CloneCanvas,
ImageSource,
Options,
PartialSize,
RectArea,
NumberPair,
Size,
CreateImage,
CanvasContext,
Task,
CanvasCreator,
ImageCreator,
Drawable,
DataURLOptions,
} from "./types";
const DEFAULT_OPTIONS = {
createCanvas: () => window.document.createElement(... | 25.658915 | 78 | 0.632628 |
97d8e4056b562a7143bb34d134753dab36520cb6 | 648 | rb | Ruby | lib/search.rb | RoUchiha/CLI-Ruby-project | aef08b633f9ffb0a0381f68ea43d37842b88bf0b | [
"MIT"
] | null | null | null | lib/search.rb | RoUchiha/CLI-Ruby-project | aef08b633f9ffb0a0381f68ea43d37842b88bf0b | [
"MIT"
] | null | null | null | lib/search.rb | RoUchiha/CLI-Ruby-project | aef08b633f9ffb0a0381f68ea43d37842b88bf0b | [
"MIT"
] | null | null | null | require 'open-uri'
require 'nokogiri'
require 'addressable/uri'
class Search
attr_accessor :location, :zip_url
def initialize(location)
if location < 501 || location > 99950
raise ArgumentError
else
searcher(location)
end
end
def searcher(zip)
... | 20.25 | 96 | 0.57716 |
e280062527f4e06d70eca117906deb782a37cb9d | 868 | js | JavaScript | reason/my-first-app/src/demo.bs.js | agarrharr/learning | 2c6a74459d437aab3de68b46b4cc5d6095956901 | [
"CC0-1.0"
] | 3 | 2020-01-23T15:36:21.000Z | 2021-12-05T17:59:47.000Z | reason/my-first-app/src/demo.bs.js | agarrharr/learning | 2c6a74459d437aab3de68b46b4cc5d6095956901 | [
"CC0-1.0"
] | 10 | 2020-02-25T09:59:56.000Z | 2022-03-30T22:33:25.000Z | reason/my-first-app/src/demo.bs.js | agarrharr/learning | 2c6a74459d437aab3de68b46b4cc5d6095956901 | [
"CC0-1.0"
] | 3 | 2020-04-20T17:03:53.000Z | 2022-01-16T23:55:58.000Z | // Generated by BUCKLESCRIPT VERSION 2.1.0, PLEASE EDIT WITH CARE
'use strict';
console.log("Hello, BuckleScript and Reason!");
var foo = "Hello";
console.log(foo);
function add(x, y) {
return x + y | 0;
}
function add2(param) {
return 2 + param | 0;
}
console.log(add2(10));
console.log(3);
var my_coin = /... | 14.965517 | 65 | 0.56106 |
ae9b9f2fcd19ba59c9ae3404ff48234106af0b02 | 7,441 | cs | C# | src/World.cs | alexcu/super-ie | fe4bbe36875abf0d7a412cac9e6ad85b196c23be | [
"MIT"
] | null | null | null | src/World.cs | alexcu/super-ie | fe4bbe36875abf0d7a412cac9e6ad85b196c23be | [
"MIT"
] | null | null | null | src/World.cs | alexcu/super-ie | fe4bbe36875abf0d7a412cac9e6ad85b196c23be | [
"MIT"
] | null | null | null | using SplashKitSDK;
using System.Collections.Generic;
///
/// The world encapsulates all data that exists for interaction between
/// different sprites.
///
class World : IRenderable
{
// Declare the player and target. Target is set to null until such conditions
// are satisified such that it should be created.
... | 28.400763 | 79 | 0.610133 |
bf481a25ec87d97136710bd8c5196efaa09c88d0 | 1,281 | kt | Kotlin | schedule/src/main/kotlin/ru/shika/app/common/adapter/SimpleListAdapter.kt | ShikaSD/schedule-android | 9716dc495bda772da46147662aa856fd4920c997 | [
"MIT"
] | 1 | 2016-09-17T17:51:10.000Z | 2016-09-17T17:51:10.000Z | schedule/src/main/kotlin/ru/shika/app/common/adapter/SimpleListAdapter.kt | ShikaSD/schedule-android | 9716dc495bda772da46147662aa856fd4920c997 | [
"MIT"
] | null | null | null | schedule/src/main/kotlin/ru/shika/app/common/adapter/SimpleListAdapter.kt | ShikaSD/schedule-android | 9716dc495bda772da46147662aa856fd4920c997 | [
"MIT"
] | null | null | null | package ru.shika.app.common.adapter
import android.app.Activity
import android.support.v7.widget.RecyclerView
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import com.pawegio.kandroid.find
import com.pawegio.kandroid.inflateLayout
import ru.shika.app.common.model.BaseListModel
i... | 27.847826 | 75 | 0.728337 |
4bb62e5afe0f2d799629b9d02cd25eff5d5707f7 | 5,755 | cpp | C++ | game.cpp | sam-slate/day-in-the-life | 76174246d763645522dbd50b18aaf1f254e5ec1e | [
"MIT"
] | null | null | null | game.cpp | sam-slate/day-in-the-life | 76174246d763645522dbd50b18aaf1f254e5ec1e | [
"MIT"
] | null | null | null | game.cpp | sam-slate/day-in-the-life | 76174246d763645522dbd50b18aaf1f254e5ec1e | [
"MIT"
] | null | null | null | #include <string>
#include <iostream>
#include <fstream>
#include <time.h>
#include <unistd.h>
#include "game.h"
using namespace std;
Game :: Game(){
scores.initialize_scores(START_PAIN, START_SPOONS, START_MONEY, false);
}
void Game :: run_game(){
read_in();
print_initial_message();
start();
}
void Game :: re... | 42.007299 | 391 | 0.674196 |
e4030b8db1607620cd9c3a5335d75c27c1773203 | 1,557 | cs | C# | 2.ProgrammingFundamentals/04_Lists/Exercise_03_SearchForANumber/searchForANumber.cs | Brankovanov/SoftUniCourses | 39648a863c29e00057a6969c63b19cfc7cfb8f07 | [
"MIT"
] | 1 | 2018-07-17T07:43:49.000Z | 2018-07-17T07:43:49.000Z | 2.ProgrammingFundamentals/04_Lists/Exercise_03_SearchForANumber/searchForANumber.cs | Brankovanov/SoftUniCourses | 39648a863c29e00057a6969c63b19cfc7cfb8f07 | [
"MIT"
] | null | null | null | 2.ProgrammingFundamentals/04_Lists/Exercise_03_SearchForANumber/searchForANumber.cs | Brankovanov/SoftUniCourses | 39648a863c29e00057a6969c63b19cfc7cfb8f07 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
namespace Exercise_03_SearchForANumber
{
public class searchForANumber
{
public static void Main(string[] args)
{
Input();
}
static void Input()
{
var numbers = Console.ReadLine(... | 25.52459 | 81 | 0.528581 |
394e41774fd5326f80478a1aa00fec575db55d64 | 1,603 | py | Python | TicketView.py | ritvikbhawnani/Zendesk_Ticket_Viewer | 6323f3743c12c31b30e40158f3251a83e742edab | [
"MIT"
] | null | null | null | TicketView.py | ritvikbhawnani/Zendesk_Ticket_Viewer | 6323f3743c12c31b30e40158f3251a83e742edab | [
"MIT"
] | null | null | null | TicketView.py | ritvikbhawnani/Zendesk_Ticket_Viewer | 6323f3743c12c31b30e40158f3251a83e742edab | [
"MIT"
] | null | null | null | from datetime import datetime
class TicketView:
"""
The TicketView presents the data to the user
"""
def display_menu(self):
"""
Displays the menu of available options
"""
print("Menu Options:")
print(" ENTER 1 to display all tickets")
print(" ENTER... | 23.925373 | 70 | 0.553961 |
eb3e5b66d5cde8a53ada62e9b8a619399f43ecd8 | 22,579 | css | CSS | css/styleX.css | jaerso/PAR5 | 47a4414b50f5dbfdab5d10b6d73cb499320b9850 | [
"CC-BY-3.0"
] | null | null | null | css/styleX.css | jaerso/PAR5 | 47a4414b50f5dbfdab5d10b6d73cb499320b9850 | [
"CC-BY-3.0"
] | null | null | null | css/styleX.css | jaerso/PAR5 | 47a4414b50f5dbfdab5d10b6d73cb499320b9850 | [
"CC-BY-3.0"
] | null | null | null | @charset "UTF-8";
@import url(font-awesome.min.css);
@import url(http://fonts.googleapis.com/css?family=Raleway:700,400);
/* Basic */
body {
background: #fff;
}
body.is-loading *, body.is-loading *:before, body.is-loading *:after {
-moz-animation: none !important;
-webkit-animation: none !important;
-o... | 17.77874 | 129 | 0.615395 |
8dec499dccbbcf18d0038fcec209a8c9b941b352 | 846 | js | JavaScript | background.js | Sukhrobjon/single-tab | e6957c3b358534cce5bcaa1ce7fe1b7893afb54a | [
"MIT"
] | null | null | null | background.js | Sukhrobjon/single-tab | e6957c3b358534cce5bcaa1ce7fe1b7893afb54a | [
"MIT"
] | null | null | null | background.js | Sukhrobjon/single-tab | e6957c3b358534cce5bcaa1ce7fe1b7893afb54a | [
"MIT"
] | null | null | null | // chrome.browserAction.setIcon({
// path: "stack - icon.png"
// });
const numberOftabs = chrome.tabs.query({ currentWindow: true}, function (tabs) {
console.log('found number of tabs', tabs.length)
chrome.browserAction.setBadgeText({
text: `${tabs.length}`
});
})
chrome.browserAction.setBadgeBa... | 30.214286 | 84 | 0.660757 |
43e55c1a912729e74a490db9587a04b2d5bb47ba | 598 | ts | TypeScript | app/src/app/app-routing.module.ts | plamena-petkova/SoftUni-Forum-Angular- | 53b4c0f3a7f563b2b5e24f06847e70726a6fade6 | [
"MIT"
] | null | null | null | app/src/app/app-routing.module.ts | plamena-petkova/SoftUni-Forum-Angular- | 53b4c0f3a7f563b2b5e24f06847e70726a6fade6 | [
"MIT"
] | null | null | null | app/src/app/app-routing.module.ts | plamena-petkova/SoftUni-Forum-Angular- | 53b4c0f3a7f563b2b5e24f06847e70726a6fade6 | [
"MIT"
] | null | null | null |
import { RouterModule, Routes } from '@angular/router';
import { HomeComponent } from './feature/home/home.component';
import { LoginComponent } from './user/login/login.component';
import { RegisterComponent } from './user/register/register.component';
const routes: Routes = [
{
path: '',
pathMatch:'ful... | 18.121212 | 71 | 0.653846 |
65b67be8653a6d1d7fed11acacbd7ad7401efe2e | 376 | asm | Assembly | programs/oeis/094/A094918.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/094/A094918.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/094/A094918.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A094918: a(n) = (3^n-1)/2 mod n.
; 0,0,1,0,1,4,1,0,4,4,1,4,1,4,13,0,1,4,1,0,13,4,1,16,21,4,13,12,1,4,1,0,13,4,23,4,1,4,13,0,1,28,1,40,31,4,1,16,15,24,13,40,1,40,33,32,13,4,1,40,1,4,13,0,56,34,1,40,13,54,1,40,1,4,28,40,37,52,1,0,40,4,1,28,36,4,13,24,1,4,1,40,13,4,83,64,1,88,40,0
add $0,1
mov $2,$0
lpb $0
sub $0,1
... | 26.857143 | 245 | 0.553191 |
b6830f0a4ae439bc8719ae400bf00954bb7fff15 | 1,851 | rs | Rust | src/k8-types/src/lib.rs | simlay/k8-api | 3a69671c469c46757e489f4ab6919f6601e0e514 | [
"Apache-2.0"
] | 18 | 2020-05-26T09:19:04.000Z | 2021-12-20T04:16:07.000Z | src/k8-types/src/lib.rs | simlay/k8-api | 3a69671c469c46757e489f4ab6919f6601e0e514 | [
"Apache-2.0"
] | 101 | 2020-06-05T21:12:15.000Z | 2022-03-12T05:43:27.000Z | src/k8-types/src/lib.rs | simlay/k8-api | 3a69671c469c46757e489f4ab6919f6601e0e514 | [
"Apache-2.0"
] | 10 | 2020-06-09T03:42:43.000Z | 2022-02-20T01:46:44.000Z | mod crd;
mod metadata;
pub mod options;
pub mod store;
#[cfg(feature = "core")]
pub mod core;
#[cfg(feature = "app")]
pub mod app;
#[cfg(feature = "storage")]
pub mod storage;
#[cfg(feature = "batch")]
pub mod batch;
pub use self::crd::*;
pub use self::metadata::*;
pub use self::spec_def::*;
mod spec_def {
use s... | 23.730769 | 95 | 0.576445 |
8e9b1030382233f136bcc85857ce4496c0408e42 | 6,425 | dart | Dart | lib/ui/cookie/cookie_page.dart | MShaffar19/restler | 20692d0cfd010c59d690c26c3d51912ddfadc33f | [
"MIT"
] | 1 | 2020-09-26T15:28:21.000Z | 2020-09-26T15:28:21.000Z | lib/ui/cookie/cookie_page.dart | TKPoseidon/restler | 14e11a1f3d999bd7eb68c343390f73f9c8a45722 | [
"MIT"
] | null | null | null | lib/ui/cookie/cookie_page.dart | TKPoseidon/restler | 14e11a1f3d999bd7eb68c343390f73f9c8a45722 | [
"MIT"
] | 2 | 2020-10-23T15:45:05.000Z | 2020-10-23T15:45:13.000Z | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:restler/blocs/cookie/bloc.dart';
import 'package:restler/data/entities/cookie_entity.dart';
import 'package:restler/inject.dart';
import 'package:restler/mdi.dart';
import 'package:restler/messager.dart';
import 'pa... | 32.948718 | 78 | 0.48358 |
cf1481afc11e57ea50f306d8b0a32a3a61546aef | 5,166 | php | PHP | lib/W3/Plugin/NewRelicAdmin.php | finaldream/w3-total-cache | 0836d8151a9d421ce1cc91ef1f01c3903f1d2930 | [
"MIT"
] | 2 | 2016-06-29T14:25:17.000Z | 2018-05-08T07:43:37.000Z | lib/W3/Plugin/NewRelicAdmin.php | finaldream/w3-total-cache | 0836d8151a9d421ce1cc91ef1f01c3903f1d2930 | [
"MIT"
] | 2 | 2016-10-19T18:54:25.000Z | 2017-01-23T20:52:56.000Z | lib/W3/Plugin/NewRelicAdmin.php | finaldream/w3-total-cache | 0836d8151a9d421ce1cc91ef1f01c3903f1d2930 | [
"MIT"
] | 11 | 2016-02-04T14:09:07.000Z | 2019-01-08T11:10:04.000Z | <?php
/**
* W3 NewRelicAdmin plugin
*/
if (!defined('W3TC')) {
die();
}
w3_require_once(W3TC_LIB_W3_DIR . '/Plugin.php');
w3_require_once(W3TC_INC_DIR . '/functions/rule.php');
/**
* Class W3_Plugin_NewRelicAdmin
*/
class W3_Plugin_NewRelicAdmin extends W3_Plugin {
/**
* Called on plugin instantiati... | 41 | 180 | 0.591173 |
95a02a99a6998a1d6f4aaba8a0727ef308e2f479 | 1,370 | swift | Swift | CustomLoader/CustomLoader/CustomLoader.swift | pkc456/CustomLoader | 50280bd2402bf8b28965fbb2ef5f781d00150eca | [
"MIT"
] | null | null | null | CustomLoader/CustomLoader/CustomLoader.swift | pkc456/CustomLoader | 50280bd2402bf8b28965fbb2ef5f781d00150eca | [
"MIT"
] | null | null | null | CustomLoader/CustomLoader/CustomLoader.swift | pkc456/CustomLoader | 50280bd2402bf8b28965fbb2ef5f781d00150eca | [
"MIT"
] | null | null | null | //
// CustomLoader.swift
// CustomLoader
//
// Created by pradeep.chaudhary on 8/17/17.
// Copyright © 2017 pradeep.chaudhary. All rights reserved.
//
import UIKit
class CustomLoader: UIView {
@IBOutlet weak var animatedImageView: UIImageView!
override func awakeFromNib() {
super.awakeFromNi... | 25.849057 | 78 | 0.527007 |
abfd965eb29ef5931e3adeb23f0bf304478bedb1 | 44 | asm | Assembly | Tests/yasm-regression/bittest.asm | 13xforever/x86-assembly-textmate-bundle | f1bb62f77b776d87d0fd85b0276d4237ff72c43c | [
"MIT"
] | 69 | 2015-04-16T18:01:22.000Z | 2022-02-15T07:54:26.000Z | Tests/yasm-regression/bittest.asm | javiercbk/x86-assembly-textmate-bundle | 62d700e0196f62ef4353a9b95c2e64beb0a6afda | [
"MIT"
] | 17 | 2016-09-20T08:49:09.000Z | 2021-02-19T15:01:04.000Z | Tests/yasm-regression/bittest.asm | javiercbk/x86-assembly-textmate-bundle | 62d700e0196f62ef4353a9b95c2e64beb0a6afda | [
"MIT"
] | 19 | 2016-05-31T07:11:14.000Z | 2021-07-19T10:17:12.000Z | [bits 16]
btr eax, 4 ; out: 66 0f ba f0 04
| 11 | 32 | 0.590909 |
dd7865ac5490fbd7ead878aa6160a486dedaa311 | 4,503 | java | Java | services/service-app/src/test/java/com/thinkbiganalytics/integration/feed/FeedLoadTest.java | peter-ls/kylo | 02d2a753aadb15234209e3ceacbd2a3720cb9914 | [
"Apache-2.0"
] | 1,016 | 2017-03-03T12:05:19.000Z | 2022-03-26T20:47:38.000Z | services/service-app/src/test/java/com/thinkbiganalytics/integration/feed/FeedLoadTest.java | Mpopoma/kylo | 02d2a753aadb15234209e3ceacbd2a3720cb9914 | [
"Apache-2.0"
] | 86 | 2017-03-03T23:22:32.000Z | 2022-03-17T22:24:39.000Z | services/service-app/src/test/java/com/thinkbiganalytics/integration/feed/FeedLoadTest.java | Mpopoma/kylo | 02d2a753aadb15234209e3ceacbd2a3720cb9914 | [
"Apache-2.0"
] | 632 | 2017-03-02T04:37:05.000Z | 2022-03-22T03:23:39.000Z | package com.thinkbiganalytics.integration.feed;
/*-
* #%L
* kylo-feed-manager-controller
* %%
* Copyright (C) 2017 ThinkBig Analytics
* %%
* 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 ... | 34.906977 | 154 | 0.655785 |
25005b0300aa1109c68f128bc6d5c3979e8577e7 | 1,074 | dart | Dart | example/lib/main.dart | liubaishui/FlutterBleLib | b8e5afaae3b79893584896cb03f88174905c2b7d | [
"Apache-2.0"
] | 448 | 2018-02-15T12:11:29.000Z | 2021-06-17T21:06:45.000Z | example/lib/main.dart | liubaishui/FlutterBleLib | b8e5afaae3b79893584896cb03f88174905c2b7d | [
"Apache-2.0"
] | 403 | 2018-03-15T15:02:59.000Z | 2021-06-16T13:16:11.000Z | example/lib/main.dart | liubaishui/FlutterBleLib | b8e5afaae3b79893584896cb03f88174905c2b7d | [
"Apache-2.0"
] | 143 | 2018-03-21T06:57:31.000Z | 2021-06-15T10:29:35.000Z | import 'package:fimber/fimber.dart';
import 'package:flutter/material.dart';
import 'package:flutter_ble_lib_example/devices_list/devices_bloc_provider.dart';
import 'package:flutter_ble_lib_example/devices_list/devices_list_view.dart';
import 'device_details/device_detail_view.dart';
import 'device_details/devices_de... | 30.685714 | 81 | 0.715084 |
58cfc28453a12b2368cb658cceb41cffe166b449 | 1,709 | php | PHP | src/KvkClientFactory.php | app-vise/kvk-api | 837b2a95a180370c26bc6a6637e087119cff617e | [
"MIT"
] | 1 | 2022-03-24T13:04:29.000Z | 2022-03-24T13:04:29.000Z | src/KvkClientFactory.php | app-vise/kvk-api | 837b2a95a180370c26bc6a6637e087119cff617e | [
"MIT"
] | null | null | null | src/KvkClientFactory.php | app-vise/kvk-api | 837b2a95a180370c26bc6a6637e087119cff617e | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace Appvise\KvkApi;
use GuzzleHttp\Client;
use GuzzleHttp\Psr7\Uri;
use GuzzleHttp\Middleware;
use GuzzleHttp\HandlerStack;
use Psr\Http\Message\RequestInterface;
use Appvise\KvkApi\Http\ClientInterface;
use Appvise\KvkApi\Http\GuzzleClient;
class KvkClientFactory
{
private ... | 31.072727 | 127 | 0.637215 |
cd8b3330b8f37de336bcfd65c6e727ccd8fd87fe | 2,383 | cs | C# | Assets/Scripts/PhysicsObject.cs | IGME-202-17S2/lecture-code-leader | 4592dcd1cea587e33fa139d68a61cba102d24e22 | [
"MIT"
] | null | null | null | Assets/Scripts/PhysicsObject.cs | IGME-202-17S2/lecture-code-leader | 4592dcd1cea587e33fa139d68a61cba102d24e22 | [
"MIT"
] | null | null | null | Assets/Scripts/PhysicsObject.cs | IGME-202-17S2/lecture-code-leader | 4592dcd1cea587e33fa139d68a61cba102d24e22 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
* PhsyicsObject
* This component tracks position and movement information for a GameObject
* It knows how to ApplyForce (but some other script will call that)
* It runs its own BounceCheck method (to keep the object in-bounds)
* M... | 28.710843 | 78 | 0.722199 |
305cf5bc099ce44411fcfa2f11fbf8dcbb6b19bf | 1,006 | swift | Swift | Example/swiftExample/swiftddp/AddViewController.swift | hiddenswitch/ObjectiveDDP | 3352368a1ba830fc9f931a2da7d21ac42091b40e | [
"MIT"
] | 1 | 2015-04-01T05:40:25.000Z | 2015-04-01T05:40:25.000Z | Example/swiftExample/swiftddp/AddViewController.swift | hiddenswitch/ObjectiveDDP | 3352368a1ba830fc9f931a2da7d21ac42091b40e | [
"MIT"
] | null | null | null | Example/swiftExample/swiftddp/AddViewController.swift | hiddenswitch/ObjectiveDDP | 3352368a1ba830fc9f931a2da7d21ac42091b40e | [
"MIT"
] | null | null | null | //
// AddViewController.swift
// swiftddp
//
// Created by Michael Arthur on 13/08/14.
// Copyright (c) 2014. All rights reserved.
//
import Foundation
import UIKit
class AddViewController : UIViewController {
@IBOutlet weak var messageTextView: UITextView!
var delegate:AddViewControllerDelegate... | 21.404255 | 84 | 0.644135 |
4376d8fb705e984c4f3357868816304a765dab5b | 1,045 | ts | TypeScript | projects/netgrif-components-core/src/lib/task-content/model/task-event-notification.ts | netgrif/components | 4a11b424ea2b88532fa70d86005f26f84884a019 | [
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 1 | 2022-02-16T16:58:13.000Z | 2022-02-16T16:58:13.000Z | projects/netgrif-components-core/src/lib/task-content/model/task-event-notification.ts | netgrif/components | 4a11b424ea2b88532fa70d86005f26f84884a019 | [
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 29 | 2022-02-12T20:54:38.000Z | 2022-03-31T21:23:25.000Z | projects/netgrif-components-core/src/lib/task-content/model/task-event-notification.ts | netgrif/components | 4a11b424ea2b88532fa70d86005f26f84884a019 | [
"Apache-2.0",
"CC0-1.0",
"MIT"
] | null | null | null | import {TaskEvent} from './task-event';
import {Task} from '../../resources/public-api';
/**
* Holds the information about an event that occurred to some {@link Task} resource.
*
* Task events correspond more or less 1-to-1 to backend calls and their results.
*/
export interface TaskEventNotification {
/**
... | 24.880952 | 116 | 0.651675 |