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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
52208d780563211c5b73ee784577490b8daa75b9 | 3,729 | swift | Swift | Sources/RomanNumerals/RomanNumeral.swift | danielctull-forks/RomanNumerals | 4cfdd8f5064431510045b8234c1144eeaf6a9cc4 | [
"BSD-3-Clause"
] | 1 | 2020-02-04T17:11:30.000Z | 2020-02-04T17:11:30.000Z | Sources/RomanNumerals/RomanNumeral.swift | danielctull-forks/RomanNumerals | 4cfdd8f5064431510045b8234c1144eeaf6a9cc4 | [
"BSD-3-Clause"
] | null | null | null | Sources/RomanNumerals/RomanNumeral.swift | danielctull-forks/RomanNumerals | 4cfdd8f5064431510045b8234c1144eeaf6a9cc4 | [
"BSD-3-Clause"
] | 1 | 2020-05-11T19:59:31.000Z | 2020-05-11T19:59:31.000Z |
public struct RomanNumeral: Equatable {
public let symbols: [Symbol]
}
extension RomanNumeral {
public init(_ symbols: Symbol...) {
self.symbols = symbols
}
}
extension RomanNumeral {
public init(_ string: String) throws {
symbols = try string.map(Symbol.init)
}
}
// MARK: - Cu... | 26.446809 | 102 | 0.558058 |
7d5666b0b00b0c817a1a5830bb68b3a4b0ed6175 | 281 | dart | Dart | lib/models/time_table_item.dart | nowmozillaclub/eldersconnect-junior | 2de61aec58cadd253f7df6db6721b99f5ed776a5 | [
"MIT"
] | 5 | 2019-09-22T17:57:06.000Z | 2022-02-02T12:18:31.000Z | lib/models/time_table_item.dart | nowmozillaclub/eldersconnect-junior | 2de61aec58cadd253f7df6db6721b99f5ed776a5 | [
"MIT"
] | 10 | 2019-12-25T08:31:48.000Z | 2020-07-06T12:41:44.000Z | lib/models/time_table_item.dart | nowmozillaclub/eldersconnect-junior | 2de61aec58cadd253f7df6db6721b99f5ed776a5 | [
"MIT"
] | 1 | 2022-02-02T12:14:18.000Z | 2022-02-02T12:14:18.000Z | import 'package:flutter/material.dart';
enum Day {
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday,
Sunday,
}
class TimetableItem {
final String title;
final String time;
final List<dynamic> days;
TimetableItem({this.title, this.time, this.days});
} | 14.789474 | 52 | 0.697509 |
72bc5b83ba1cb13d6aa9a11c7ff9b273cf8ef777 | 580 | rs | Rust | crates/siro-web/src/subscription/map.rs | ubnt-intrepid/siro | dacb279159b5ecf9055c5ac15014e2db953bc70e | [
"Apache-2.0",
"MIT"
] | 2 | 2020-09-18T19:03:07.000Z | 2020-09-18T22:41:11.000Z | crates/siro-web/src/subscription/map.rs | ubnt-intrepid/siro | dacb279159b5ecf9055c5ac15014e2db953bc70e | [
"Apache-2.0",
"MIT"
] | 2 | 2020-10-12T09:00:44.000Z | 2020-10-23T09:06:07.000Z | crates/siro-web/src/subscription/map.rs | ubnt-intrepid/siro | dacb279159b5ecf9055c5ac15014e2db953bc70e | [
"Apache-2.0",
"MIT"
] | null | null | null | use super::Subscription;
use crate::env::Env;
use futures::prelude::*;
pub struct Map<S, F> {
subscription: S,
f: F,
}
impl<S, F> Map<S, F> {
pub(super) fn new(subscription: S, f: F) -> Self {
Self { subscription, f }
}
}
impl<S, F, TMsg> Subscription for Map<S, F>
where
S: Subscription,
... | 20 | 66 | 0.581034 |
05ac3777b096a692b325c11cb7f0adfdcd240bc7 | 3,323 | rb | Ruby | lib/nrser/log/mixin.rb | nrser/nrser.rb | 7db9a729ec65894dfac13fd50851beae8b809738 | [
"MIT"
] | null | null | null | lib/nrser/log/mixin.rb | nrser/nrser.rb | 7db9a729ec65894dfac13fd50851beae8b809738 | [
"MIT"
] | 1 | 2018-03-20T06:04:29.000Z | 2018-03-20T06:04:29.000Z | lib/nrser/log/mixin.rb | nrser/nrser-ruby | 7db9a729ec65894dfac13fd50851beae8b809738 | [
"MIT"
] | null | null | null | # encoding: UTF-8
# frozen_string_literal: true
# Definitions
# =======================================================================
# Adaptation of {SemanticLogger::Loggable} mixin to use {NRSER::Log::Logger}
# instances from {NRSER::Log.[]}.
#
# Like {SemanticLogger::Loggable} adds class and instance `logger` ... | 29.669643 | 79 | 0.605778 |
3f526cc39deca77e1f5cd9e4422f5b44c0ad0308 | 588 | php | PHP | Paylike_Payment/lib/Paylike/HttpClient/HttpClientInterface.php | k41l33n4/paylike-plugin-magento-1.9 | 6bc952280a7c9e213b1403a6b4d834131cd21693 | [
"MIT"
] | 1 | 2016-10-18T13:58:17.000Z | 2016-10-18T13:58:17.000Z | Paylike_Payment/lib/Paylike/HttpClient/HttpClientInterface.php | k41l33n4/paylike-plugin-magento-1.9 | 6bc952280a7c9e213b1403a6b4d834131cd21693 | [
"MIT"
] | 3 | 2016-10-19T11:31:38.000Z | 2020-09-16T12:49:33.000Z | Paylike_Payment/lib/Paylike/HttpClient/HttpClientInterface.php | k41l33n4/paylike-plugin-magento-1.9 | 6bc952280a7c9e213b1403a6b4d834131cd21693 | [
"MIT"
] | 8 | 2016-10-03T11:18:18.000Z | 2020-12-16T18:40:48.000Z | <?php
interface Paylike_HttpClient_HttpClientInterface
{
/**
* Performs the underlying HTTP request. It takes care of handling the
* connection errors, parsing the headers and the response body.
*
* @param string $http_verb The HTTP verb to use: get, post
* @param string $method The A... | 34.588235 | 74 | 0.680272 |
1a61964daeecbf75d58cc63a208867ad33339bd5 | 3,195 | cs | C# | Roguelike2/GameMechanics/EntityInteractionManager.cs | AnotherEpigone/rl2 | d67b4b761faa0fb4393325d28df4a31f8941a431 | [
"MIT"
] | null | null | null | Roguelike2/GameMechanics/EntityInteractionManager.cs | AnotherEpigone/rl2 | d67b4b761faa0fb4393325d28df4a31f8941a431 | [
"MIT"
] | null | null | null | Roguelike2/GameMechanics/EntityInteractionManager.cs | AnotherEpigone/rl2 | d67b4b761faa0fb4393325d28df4a31f8941a431 | [
"MIT"
] | null | null | null | using Roguelike2.Entities;
using Roguelike2.GameMechanics.Combat;
using Roguelike2.Maps;
using System.Linq;
namespace Roguelike2.GameMechanics
{
public class EntityInteractionManager
{
public EntityInteractionManager(IDungeonMaster dm, WorldMap map)
{
Dm = dm;
Map = map... | 38.493976 | 123 | 0.535211 |
b31a1b920b7d2ae286d87e618add23ad0f9280c1 | 117 | py | Python | builder_engine/custom_components/__init__.py | DiablosWhisper/machine_learning_toolpack | 3f4b82b549a3d70b95fc7a2c01959cd99d2b88b9 | [
"Apache-2.0"
] | null | null | null | builder_engine/custom_components/__init__.py | DiablosWhisper/machine_learning_toolpack | 3f4b82b549a3d70b95fc7a2c01959cd99d2b88b9 | [
"Apache-2.0"
] | null | null | null | builder_engine/custom_components/__init__.py | DiablosWhisper/machine_learning_toolpack | 3f4b82b549a3d70b95fc7a2c01959cd99d2b88b9 | [
"Apache-2.0"
] | null | null | null | from .optimizers import *
from .callbacks import *
from .metrics import *
from .losses import *
from .layers import * | 23.4 | 25 | 0.752137 |
5b673569120cfa2378f24febe484a7771daf9b61 | 277 | sql | SQL | django_aggtrigg/databases/templates/pg_function_delete.sql | novafloss/django-aggtrigg | 3f3ca9fad9113ea1a2b23ecb655924ab16e7eebf | [
"BSD-3-Clause"
] | 16 | 2015-03-18T16:53:23.000Z | 2017-03-08T17:23:08.000Z | django_aggtrigg/databases/templates/pg_function_delete.sql | peopledoc/django-aggtrigg | 3f3ca9fad9113ea1a2b23ecb655924ab16e7eebf | [
"BSD-3-Clause"
] | 28 | 2015-03-13T15:01:56.000Z | 2017-03-24T09:27:40.000Z | django_aggtrigg/databases/templates/pg_function_delete.sql | peopledoc/django-aggtrigg | 3f3ca9fad9113ea1a2b23ecb655924ab16e7eebf | [
"BSD-3-Clause"
] | 1 | 2015-10-26T14:07:06.000Z | 2015-10-26T14:07:06.000Z | CREATE OR REPLACE FUNCTION {{name}} RETURNS TRIGGER AS $BODY$
BEGIN
{% if where_clause %}
IF {{where_clause}} THEN
{% endif %}
UPDATE {{table}} SET {{actions}} WHERE {{column}}=OLD.{{column}};
{% if where_clause %}
END IF;
{% endif %}
RETURN NEW;
END;
$BODY$ LANGUAGE plpgsql;
| 21.307692 | 65 | 0.66787 |
c091e72298f2711c0b840d8b420ab31c5e114d53 | 5,029 | cs | C# | PSP_EMU/memory/MemoryReaderWriter.cs | xXxTheDarkprogramerxXx/PSPSHARP | 844cc2f8efbf2c173e8a2884e892d73392ead437 | [
"MIT"
] | 4 | 2018-09-17T14:50:15.000Z | 2021-12-27T16:39:11.000Z | PSP_EMU/memory/MemoryReaderWriter.cs | xXxTheDarkprogramerxXx/PSPSHARP | 844cc2f8efbf2c173e8a2884e892d73392ead437 | [
"MIT"
] | null | null | null | PSP_EMU/memory/MemoryReaderWriter.cs | xXxTheDarkprogramerxXx/PSPSHARP | 844cc2f8efbf2c173e8a2884e892d73392ead437 | [
"MIT"
] | 5 | 2019-07-03T13:59:07.000Z | 2020-07-15T12:27:07.000Z | /*
pspsharp 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 Foundation, either version 3 of the License, or
(at your option) any later version.
pspsharp is distributed in the hope that it will be useful,
but WITHOUT ANY WA... | 21.4 | 92 | 0.655399 |
6da8e234e29386a027f34e42d8677a09bbbf02b8 | 1,633 | h | C | tcpp/minion2/minion/constraints/constraint_gacalldiff.h | Behrouz-Babaki/TCPP-chuffed | d832b44690914ef4b73d71bc7e565efb98e42937 | [
"MIT"
] | 1 | 2021-09-09T13:03:02.000Z | 2021-09-09T13:03:02.000Z | tcpp/minion2/minion/constraints/constraint_gacalldiff.h | Behrouz-Babaki/TCPP-chuffed | d832b44690914ef4b73d71bc7e565efb98e42937 | [
"MIT"
] | null | null | null | tcpp/minion2/minion/constraints/constraint_gacalldiff.h | Behrouz-Babaki/TCPP-chuffed | d832b44690914ef4b73d71bc7e565efb98e42937 | [
"MIT"
] | null | null | null | /*
* Minion http://minion.sourceforge.net
* Copyright (C) 2006-09
*
* This program 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 Foundation; either version 2
* of the License, or (at your option) any later version.
*
* ... | 28.155172 | 84 | 0.7624 |
d91fcff956bea76504033a73e248358a64b6b2d0 | 1,497 | dart | Dart | lib/src/widgets/src/packages/flutter/src/scheduler/binding.dart | xsoap/MXFlutter | 4ef8373a19ad1b4113af42d6eebd34d092026c68 | [
"MIT"
] | null | null | null | lib/src/widgets/src/packages/flutter/src/scheduler/binding.dart | xsoap/MXFlutter | 4ef8373a19ad1b4113af42d6eebd34d092026c68 | [
"MIT"
] | null | null | null | lib/src/widgets/src/packages/flutter/src/scheduler/binding.dart | xsoap/MXFlutter | 4ef8373a19ad1b4113af42d6eebd34d092026c68 | [
"MIT"
] | null | null | null | // Copyright (C) 2021 THL A29 Limited, a Tencent company. 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:mxflutter/src/mirror/mx_mirror.dart';
import 'package:flutter/src/scheduler/binding.dart';
import 'dart:async';
import ... | 34.813953 | 79 | 0.741483 |
f182aea5c67b1eca767315faed9a4888a5a13ba1 | 1,925 | rb | Ruby | lib/qcloud_cos/http.rb | zlx/qcloud-cos-sdk | e3e1035f7e02df38868f443a9f9864e88a54359c | [
"Apache-2.0"
] | 10 | 2016-03-17T12:38:44.000Z | 2020-03-06T09:39:44.000Z | lib/qcloud_cos/http.rb | zlx/qcloud-cos-sdk | e3e1035f7e02df38868f443a9f9864e88a54359c | [
"Apache-2.0"
] | 1 | 2018-08-17T07:14:11.000Z | 2018-08-17T07:14:11.000Z | lib/qcloud_cos/http.rb | zlx/qcloud-cos-sdk | e3e1035f7e02df38868f443a9f9864e88a54359c | [
"Apache-2.0"
] | 10 | 2016-08-30T23:38:08.000Z | 2020-09-13T03:23:14.000Z | require 'httparty'
require 'httmultiparty'
require 'addressable/uri'
require 'qcloud_cos/error'
module QcloudCos
class Http
include HTTParty
include HTTMultiParty
attr_reader :config
def initialize(config)
@config = config
end
def get(url, options = {})
request('GET', url, opti... | 23.47561 | 81 | 0.632727 |
f5d52f339c55c05332a18cf6fc191fca4b4f71be | 7,947 | css | CSS | Homework11/build/css/styles.min.css | Alexandr0207/Bootcamp8 | 4c1da03e60acb5a7714728b52e3ec6b5a2d5be14 | [
"MIT"
] | null | null | null | Homework11/build/css/styles.min.css | Alexandr0207/Bootcamp8 | 4c1da03e60acb5a7714728b52e3ec6b5a2d5be14 | [
"MIT"
] | null | null | null | Homework11/build/css/styles.min.css | Alexandr0207/Bootcamp8 | 4c1da03e60acb5a7714728b52e3ec6b5a2d5be14 | [
"MIT"
] | null | null | null | /*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */@import url("https://fonts.googleapis.com/css?family=Montserrat:400,700");@import url("https://fonts.googleapis.com/css?family=Roboto:300,400");@import url("https://fonts.googleapis.com/css?family=Kaushan+Script");*{margin:0;padding:0}html{line... | 7,947 | 7,947 | 0.808607 |
b134e28841664d7678929ab935050a6724f1a42e | 6,227 | lua | Lua | resources_custom/[FAROESTE]/[SYSTEM]/frp_identity/client.lua | BlockHander/frp-lua-rdr3-legacy | 42dcf1139fb955512fe57af38ff7eb13f359ba56 | [
"MIT"
] | null | null | null | resources_custom/[FAROESTE]/[SYSTEM]/frp_identity/client.lua | BlockHander/frp-lua-rdr3-legacy | 42dcf1139fb955512fe57af38ff7eb13f359ba56 | [
"MIT"
] | null | null | null | resources_custom/[FAROESTE]/[SYSTEM]/frp_identity/client.lua | BlockHander/frp-lua-rdr3-legacy | 42dcf1139fb955512fe57af38ff7eb13f359ba56 | [
"MIT"
] | null | null | null | local Tunnel = module("_core", "lib/Tunnel")
local Proxy = module("_core", "lib/Proxy")
cAPI = Proxy.getInterface("API")
API = Tunnel.getInterface("API")
local fakePeds = {}
RegisterCommand("selectcid", function(source, args)
print(args, args[1])
SetNuiFocus(false, false)
DisplayHud(true)
TriggerServ... | 30.52451 | 138 | 0.643649 |
f4accf73ded82a4ea5e7e1c6dbd695b046bf3ea7 | 2,111 | tsx | TypeScript | src/components/match/VerifyCompleteInnings.tsx | ChrisDobby/cricket-scorer | 7c0d8e99211010135fd295810335dffd72d99854 | [
"Apache-2.0"
] | 2 | 2020-04-03T17:15:49.000Z | 2021-01-22T14:25:59.000Z | src/components/match/VerifyCompleteInnings.tsx | ChrisDobby/cricket-scorer | 7c0d8e99211010135fd295810335dffd72d99854 | [
"Apache-2.0"
] | 20 | 2019-03-05T10:56:49.000Z | 2022-03-08T22:47:42.000Z | src/components/match/VerifyCompleteInnings.tsx | ChrisDobby/cricket-scorer | 7c0d8e99211010135fd295810335dffd72d99854 | [
"Apache-2.0"
] | null | null | null | import * as React from 'react';
import Dialog from '@material-ui/core/Dialog';
import DialogTitle from '@material-ui/core/DialogTitle';
import DialogContent from '@material-ui/core/DialogContent';
import DialogContentText from '@material-ui/core/DialogContentText';
import DialogActions from '@material-ui/core/DialogAct... | 43.081633 | 105 | 0.582662 |
efafec768ec199cd0b2f6f5611c70b8f7331b708 | 112 | rs | Rust | arch/x86_64/src/kernel/video/vga/vga_80x25.rs | rdmcmillan/novusk | 34c3b6c9fda0fc1c6328ad9df81ecd380b2b9543 | [
"MIT"
] | 65 | 2021-01-01T06:28:41.000Z | 2022-02-09T02:56:11.000Z | arch/x86_64/src/kernel/video/vga/vga_80x25.rs | nerdyguy87/novusk | 42558bad8a900cd9ce149aa63fc0eb0035d827a7 | [
"MIT"
] | 19 | 2021-03-05T17:53:49.000Z | 2022-01-13T13:30:41.000Z | arch/x86_64/src/kernel/video/vga/vga_80x25.rs | nerdyguy87/novusk | 42558bad8a900cd9ce149aa63fc0eb0035d827a7 | [
"MIT"
] | 8 | 2021-02-21T23:34:31.000Z | 2022-01-27T04:27:21.000Z | pub const BUFFER_WIDTH: usize = 80;
pub const BUFFER_HEIGHT: usize = 25;
pub const VGA_ADDRESS: usize = 0xb8000; | 37.333333 | 39 | 0.767857 |
ef0018ccb94939782bb8dd87dd76ca13f9b12043 | 431 | h | C | include/Ess3D/3d/model/Model.h | essar05/Ess3D | 0c3c648bf4d6b92d47c1acf1d51eca592ffe7e95 | [
"MIT"
] | 2 | 2019-05-28T12:00:00.000Z | 2020-09-03T11:51:50.000Z | include/Ess3D/3d/model/Model.h | essar05/Ess3D | 0c3c648bf4d6b92d47c1acf1d51eca592ffe7e95 | [
"MIT"
] | null | null | null | include/Ess3D/3d/model/Model.h | essar05/Ess3D | 0c3c648bf4d6b92d47c1acf1d51eca592ffe7e95 | [
"MIT"
] | 1 | 2019-05-28T12:00:08.000Z | 2019-05-28T12:00:08.000Z | #pragma once
#include <Ess3D/definitions.h>
#include <Ess3D/gl/Shader.h>
#include <Ess3D/3d/model/Mesh.h>
#include <utility>
#include <vector>
namespace Ess3D {
class API Model {
public:
explicit Model(std::string id) : _id(std::move(id)) {}
void render(Shader* shader);
void initialize();
... | 16.576923 | 61 | 0.62413 |
5be7d91b03ef0ac3e86ae4afd310fb0a19fa1d86 | 1,566 | css | CSS | rvsscan2.0/WebContent/css/lte-style.css | fangke-ray/RVS-OGZ | 733365cb6af455c7bc977eb6867b21c41d25fc42 | [
"Apache-2.0"
] | null | null | null | rvsscan2.0/WebContent/css/lte-style.css | fangke-ray/RVS-OGZ | 733365cb6af455c7bc977eb6867b21c41d25fc42 | [
"Apache-2.0"
] | null | null | null | rvsscan2.0/WebContent/css/lte-style.css | fangke-ray/RVS-OGZ | 733365cb6af455c7bc977eb6867b21c41d25fc42 | [
"Apache-2.0"
] | 2 | 2019-03-01T02:27:57.000Z | 2019-06-13T12:32:34.000Z | @font-face {
font-family: 'icomoon';
src:url('fonts/icomoon.eot');
src:url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),
url('fonts/icomoon.woff') format('woff'),
url('fonts/icomoon.ttf') format('truetype'),
url('fonts/icomoon.svg#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}... | 22.371429 | 134 | 0.678799 |
44703fdce6aac0f2688aaf5f9ec6e514f85d4eba | 394 | py | Python | seo/proxies.py | ceb10n/seo | 49737fdfc545aeafa918900a5defec11c1d6797c | [
"MIT"
] | 1 | 2021-06-19T09:26:03.000Z | 2021-06-19T09:26:03.000Z | seo/proxies.py | ceb10n/seo | 49737fdfc545aeafa918900a5defec11c1d6797c | [
"MIT"
] | null | null | null | seo/proxies.py | ceb10n/seo | 49737fdfc545aeafa918900a5defec11c1d6797c | [
"MIT"
] | 1 | 2020-04-13T17:37:29.000Z | 2020-04-13T17:37:29.000Z | import random
import itertools
class Proxy:
def __init__(self, proxies):
self.proxies = proxies
self.proxy_count = len(self.proxies)
self._rotating_proxy = itertools.cycle(proxies)
def get_random(self):
index = random.randint(0, self.proxy_count)
return self.proxies[... | 20.736842 | 55 | 0.667513 |
811f270410789bfbdf42bef2c63573ffdd995c4f | 17,102 | sql | SQL | t/pg-test-files/expected/fast_default.sql | vikrum/pgFormatter | 4d62fef587e062a131a7d87f164df115578a2d25 | [
"PostgreSQL"
] | null | null | null | t/pg-test-files/expected/fast_default.sql | vikrum/pgFormatter | 4d62fef587e062a131a7d87f164df115578a2d25 | [
"PostgreSQL"
] | null | null | null | t/pg-test-files/expected/fast_default.sql | vikrum/pgFormatter | 4d62fef587e062a131a7d87f164df115578a2d25 | [
"PostgreSQL"
] | null | null | null | --
-- ALTER TABLE ADD COLUMN DEFAULT test
--
SET search_path = fast_default;
CREATE SCHEMA fast_default;
CREATE TABLE m (
id oid
);
INSERT INTO m
VALUES (NULL::oid);
CREATE FUNCTION
SET (tabname name)
RETURNS VOID
AS $$
BEGIN
UPDATE
m
SET
id = (
SELECT
... | 15.393339 | 145 | 0.633376 |
5375b08fa4c8c342b5f0b7884d554e4196e206e5 | 2,351 | rb | Ruby | lib/mittsu/extras/geometries/parametric_geometry.rb | marcinruszkiewicz/mittsu | 3e3b156e0c713b4d299bff4b92c4375517638f71 | [
"MIT"
] | 1 | 2020-08-29T00:44:27.000Z | 2020-08-29T00:44:27.000Z | lib/mittsu/extras/geometries/parametric_geometry.rb | marcinruszkiewicz/mittsu | 3e3b156e0c713b4d299bff4b92c4375517638f71 | [
"MIT"
] | null | null | null | lib/mittsu/extras/geometries/parametric_geometry.rb | marcinruszkiewicz/mittsu | 3e3b156e0c713b4d299bff4b92c4375517638f71 | [
"MIT"
] | null | null | null | require 'mittsu/extras/geometries/parametric_buffer_geometry'
module Mittsu
class ParametricGeometry < Geometry
def initialize(func, slices, stacks)
super()
@type = 'ParametricGeometry'
@parameters = {
func: func,
slices: slices,
stacks: stacks
}
from_bu... | 25.27957 | 162 | 0.476393 |
0e8821619b30e957b447eef847dc9ef364515922 | 399 | swift | Swift | Syte/Classes/Core/API/Parameters/GetOffersParameters.swift | syte-ai/iOS-SDK | 63263ecd12fea8fbb986175fc1deae3b02ca121c | [
"MIT"
] | 1 | 2019-06-10T14:22:43.000Z | 2019-06-10T14:22:43.000Z | Syte/Classes/Core/API/Parameters/GetOffersParameters.swift | syte-ai/iOS-SDK | 63263ecd12fea8fbb986175fc1deae3b02ca121c | [
"MIT"
] | 2 | 2020-01-23T11:12:22.000Z | 2022-03-31T12:29:18.000Z | Syte/Classes/Core/API/Parameters/GetOffersParameters.swift | syte-ai/iOS-SDK | 63263ecd12fea8fbb986175fc1deae3b02ca121c | [
"MIT"
] | 3 | 2019-11-15T08:55:45.000Z | 2020-02-03T06:01:58.000Z | //
// GetOffersswift
// Syte
//
// Created by Artur Tarasenko on 17.09.2021.
//
import Foundation
struct GetOffersParameters {
let offersUrl: String
let crop: String?
let forceCats: String?
func dictionaryRepresentation() -> [String: Any] {
let parameters = ["crop": crop, "force_c... | 18.136364 | 87 | 0.629073 |
c7c82bc0fe37f810820904cecc247f294ddbd87b | 2,135 | sql | SQL | 05-SQL/39-Homework2.sql | ericson14/Small_project | dd88b9a5619d38fb8d236c932ffa8429d24b28ae | [
"MIT"
] | null | null | null | 05-SQL/39-Homework2.sql | ericson14/Small_project | dd88b9a5619d38fb8d236c932ffa8429d24b28ae | [
"MIT"
] | null | null | null | 05-SQL/39-Homework2.sql | ericson14/Small_project | dd88b9a5619d38fb8d236c932ffa8429d24b28ae | [
"MIT"
] | null | null | null | 1.
create table student(
id int(10) not null unique primary key,
name varchar(20) not null,
gender varchar(4),
birth year,
department varchar(20),
address varchar(50)
);
create table score(
id int(10) not null unique primary key auto_increment,
stu_id int(10) not null,
c_name varchar(20),
gr... | 36.186441 | 155 | 0.688056 |
46ec4973a5c5a34e61af2c23e7936890d09d8982 | 3,409 | py | Python | app.py | ccraven04/sqlalchemy-challenge | 64d991394274745990c471a2bdff3959d5a48336 | [
"ADSL"
] | null | null | null | app.py | ccraven04/sqlalchemy-challenge | 64d991394274745990c471a2bdff3959d5a48336 | [
"ADSL"
] | null | null | null | app.py | ccraven04/sqlalchemy-challenge | 64d991394274745990c471a2bdff3959d5a48336 | [
"ADSL"
] | null | null | null | import numpy as np
import pandas as pd
import datetime as dt
from datetime import timedelta
# Python SQL toolkit and Object Relational Mapper
import sqlalchemy
from sqlalchemy.ext.automap import automap_base
from sqlalchemy.orm import Session
from sqlalchemy import create_engine, func, inspect
from flask import Flask... | 25.251852 | 111 | 0.682312 |
257e3b0e481c44bca357529f79b59bda4830ffa9 | 3,464 | cs | C# | src/Spool/FilePoolConfigurations.cs | cocosip/Spool | a7dc55f2a56b9fb6eca4f85eaec41c3767b0ded4 | [
"MIT"
] | null | null | null | src/Spool/FilePoolConfigurations.cs | cocosip/Spool | a7dc55f2a56b9fb6eca4f85eaec41c3767b0ded4 | [
"MIT"
] | 4 | 2020-04-24T13:42:16.000Z | 2020-08-20T06:44:59.000Z | src/Spool/FilePoolConfigurations.cs | cocosip/Spool | a7dc55f2a56b9fb6eca4f85eaec41c3767b0ded4 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
namespace Spool
{
/// <summary>
/// File pool configurations
/// </summary>
public class FilePoolConfigurations
{
private FilePoolConfiguration Default => GetConfiguration<DefaultFilePool>();
private readonly Dictionary<string, FileP... | 30.928571 | 105 | 0.564088 |
39269c3ee3fa037e9d901d77a405527a20aee235 | 3,969 | py | Python | sner/server/planner/core.py | bodik/sner4-web | cb054d79c587b2f8468c73a88754b7c0d5cd5a95 | [
"MIT"
] | 9 | 2019-05-15T11:33:43.000Z | 2022-02-17T04:05:28.000Z | sner/server/planner/core.py | bodik/sner4 | cb054d79c587b2f8468c73a88754b7c0d5cd5a95 | [
"MIT"
] | 1 | 2019-03-01T11:48:13.000Z | 2019-03-01T11:48:13.000Z | sner/server/planner/core.py | bodik/sner4-web | cb054d79c587b2f8468c73a88754b7c0d5cd5a95 | [
"MIT"
] | 3 | 2020-03-03T21:06:37.000Z | 2021-01-11T14:40:56.000Z | # This file is part of sner4 project governed by MIT license, see the LICENSE.txt file.
"""
planner core
"""
import logging
import signal
from contextlib import contextmanager
from datetime import datetime
from pathlib import Path
from time import sleep
from flask import current_app
from pytimeparse import parse as t... | 31.007813 | 134 | 0.632149 |
d27954c042fc55baa0cd2a52926b285b6baa90fe | 644 | sql | SQL | openGaussBase/testcase/KEYWORDS/Explain/Opengauss_Function_Keyword_Explain_Case0029.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/Explain/Opengauss_Function_Keyword_Explain_Case0029.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/Explain/Opengauss_Function_Keyword_Explain_Case0029.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint:opengauss关键字explain(非保留),作为表空间名
--关键字不带引号,创建成功
drop tablespace if exists explain;
CREATE TABLESPACE explain RELATIVE LOCATION 'hdfs_tablespace/hdfs_tablespace_1';
drop tablespace explain;
--关键字带双引号,创建成功
drop tablespace if exists "explain";
CREATE TABLESPACE "explain" RELATIVE LOCATION 'hdfs_tablespac... | 29.272727 | 83 | 0.812112 |
07b8caead934e18d6d8c5dca154992e62cd3b6d0 | 69 | hpp | C++ | src/sensor.hpp | Valmarelox/arvacuum | 6746b65e1c7278b230489e4a7e20d0e836ac5d70 | [
"MIT"
] | null | null | null | src/sensor.hpp | Valmarelox/arvacuum | 6746b65e1c7278b230489e4a7e20d0e836ac5d70 | [
"MIT"
] | null | null | null | src/sensor.hpp | Valmarelox/arvacuum | 6746b65e1c7278b230489e4a7e20d0e836ac5d70 | [
"MIT"
] | null | null | null |
class Sensor {
public:
virtual unsigned long measure() = 0;
};
| 9.857143 | 40 | 0.637681 |
464c222132317bd1b04d427037a0d3aeb9995b7b | 5,565 | php | PHP | application/views/data/data_form.php | ilhamdhiya01/hrisomni | 37ffa568da2fd2b9e7a8faadd1731d8df125c71d | [
"MIT"
] | null | null | null | application/views/data/data_form.php | ilhamdhiya01/hrisomni | 37ffa568da2fd2b9e7a8faadd1731d8df125c71d | [
"MIT"
] | null | null | null | application/views/data/data_form.php | ilhamdhiya01/hrisomni | 37ffa568da2fd2b9e7a8faadd1731d8df125c71d | [
"MIT"
] | null | null | null | <section class="content-header">
<h1>Karyawan
<small>Data Karyawan</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-building"></i> </a></li>
<li><a href="#">Data Karyawan</a></li>
</ol>
</section>
<!-- Main content -->
<section class="content">
... | 56.212121 | 142 | 0.41743 |
43740a127c74f878aaef3b7de0ccaa25189af433 | 3,130 | tsx | TypeScript | src/components/Intro.tsx | pauloremoli/portfolio | ba8e13635591ee4803e1ef0550a1d1a7d6e1a9c2 | [
"MIT"
] | null | null | null | src/components/Intro.tsx | pauloremoli/portfolio | ba8e13635591ee4803e1ef0550a1d1a7d6e1a9c2 | [
"MIT"
] | null | null | null | src/components/Intro.tsx | pauloremoli/portfolio | ba8e13635591ee4803e1ef0550a1d1a7d6e1a9c2 | [
"MIT"
] | null | null | null | import { Text, TrackballControls, useProgress, Html, OrbitControls } from "@react-three/drei";
import { Canvas, useFrame } from "@react-three/fiber";
import React, { Suspense, useEffect, useMemo, useRef, useState } from "react";
import * as THREE from "three";
import Typewriter from "typewriter-effect";
function Word(... | 31.938776 | 128 | 0.579553 |
d6127210340b851b644ca299e1a3619f5afe3250 | 177 | ps1 | PowerShell | src/functions/Format-ObjectName.ps1 | sabinio/Get-StaticDataProc | 40fa3c6457681ebf0f4fd6e65bee7268edcf2529 | [
"MIT"
] | null | null | null | src/functions/Format-ObjectName.ps1 | sabinio/Get-StaticDataProc | 40fa3c6457681ebf0f4fd6e65bee7268edcf2529 | [
"MIT"
] | null | null | null | src/functions/Format-ObjectName.ps1 | sabinio/Get-StaticDataProc | 40fa3c6457681ebf0f4fd6e65bee7268edcf2529 | [
"MIT"
] | null | null | null |
function Format-ObjectName
{
param([string]$Schema, [string]$Table)
$full = "[" + $Schema + "].[" + $Table + "]"
return $full.Replace("[[","[").Replace("]]","]")
}
| 22.125 | 52 | 0.514124 |
db22ca18a410da7d136d11029ab560f9cbfe24ff | 189 | sql | SQL | src/main/resources/org/support/project/knowledge/dao/sql/WebhooksDao/WebhooksDao_update.sql | kuro-channel/knowledge-1 | 6f74162ad54af961fb5069a27f49959b9e9a8048 | [
"Apache-2.0"
] | 742 | 2015-02-03T02:02:15.000Z | 2022-03-15T16:54:25.000Z | src/main/resources/org/support/project/knowledge/dao/sql/WebhooksDao/WebhooksDao_update.sql | kuro-channel/knowledge-1 | 6f74162ad54af961fb5069a27f49959b9e9a8048 | [
"Apache-2.0"
] | 760 | 2015-02-01T11:40:05.000Z | 2022-01-21T23:22:06.000Z | src/main/resources/org/support/project/knowledge/dao/sql/WebhooksDao/WebhooksDao_update.sql | kuro-channel/knowledge-1 | 6f74162ad54af961fb5069a27f49959b9e9a8048 | [
"Apache-2.0"
] | 285 | 2015-02-23T08:02:29.000Z | 2022-03-25T02:48:31.000Z | UPDATE WEBHOOKS
SET
STATUS = ?
, HOOK = ?
, CONTENT = ?
, INSERT_USER = ?
, INSERT_DATETIME = ?
, UPDATE_USER = ?
, UPDATE_DATETIME = ?
, DELETE_FLAG = ?
WHERE
WEBHOOK_ID = ?
;
| 13.5 | 22 | 0.592593 |
54976505e7e19fb08adc309ad1f43df235132362 | 10,179 | css | CSS | carreralasalamedas/css/stye.css | Navegayencuentra/navegayencuentra.github.io | 4f52fa33be39f8a32701bfb2bbba1e571f96e1dd | [
"Apache-2.0"
] | 1 | 2016-05-03T18:56:01.000Z | 2016-05-03T18:56:01.000Z | carreralasalamedas/css/stye.css | Navegayencuentra/navegayencuentra.github.io | 4f52fa33be39f8a32701bfb2bbba1e571f96e1dd | [
"Apache-2.0"
] | null | null | null | carreralasalamedas/css/stye.css | Navegayencuentra/navegayencuentra.github.io | 4f52fa33be39f8a32701bfb2bbba1e571f96e1dd | [
"Apache-2.0"
] | null | null | null | .pure-g {
letter-spacing: -0.31em;
/* Webkit: collapse white-space between units */
*letter-spacing: normal;
/* reset IE < 8 */
*word-spacing: -0.43em;
/* IE < 8: collapse white-space between units */
text-rendering: optimizespeed;
/* Webkit: fixes text-rendering: optimizeLegibility */ }
/* Opera as of... | 19.688588 | 72 | 0.592396 |
a9f12e1dc925afd3a16ae70244f630ee6bd0bf7a | 2,006 | php | PHP | modules/main/controllers/energy/OwnCounterController.php | ua4wne/newpoll | 7b53d252f944da48c9e12d10bb797f01427ee8d7 | [
"BSD-3-Clause"
] | null | null | null | modules/main/controllers/energy/OwnCounterController.php | ua4wne/newpoll | 7b53d252f944da48c9e12d10bb797f01427ee8d7 | [
"BSD-3-Clause"
] | null | null | null | modules/main/controllers/energy/OwnCounterController.php | ua4wne/newpoll | 7b53d252f944da48c9e12d10bb797f01427ee8d7 | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace app\modules\main\controllers\energy;
use Yii;
use app\modules\main\models\EnergyForm;
use yii\web\Controller;
class OwnCounterController extends Controller
{
public function behaviors()
{
return [
'access' => [
'class' => \yii\filters\AccessControl::classNa... | 25.717949 | 67 | 0.429711 |
05bb0d5d57c0636b145e7b7960340fb93eb1361e | 3,845 | py | Python | systemcheck/systems/ABAP/plugins/actions/action_abap_runtime_parameter.py | team-fasel/SystemCheck | cdc18ee0c8bab67f049228d28d03578babfafb3d | [
"MIT"
] | 2 | 2017-07-07T13:57:52.000Z | 2020-12-11T12:40:55.000Z | systemcheck/systems/ABAP/plugins/actions/action_abap_runtime_parameter.py | team-fasel/systemcheck | cdc18ee0c8bab67f049228d28d03578babfafb3d | [
"MIT"
] | 1 | 2017-02-23T19:30:12.000Z | 2017-02-28T19:15:44.000Z | systemcheck/systems/ABAP/plugins/actions/action_abap_runtime_parameter.py | team-fasel/systemcheck | cdc18ee0c8bab67f049228d28d03578babfafb3d | [
"MIT"
] | null | null | null | import systemcheck
from systemcheck.systems import ABAP
from systemcheck.checks.models import Check
from systemcheck.utils import Result, Fail
from systemcheck.checks.models.checks import Check
from systemcheck.models.meta import Base, ChoiceType, Column, ForeignKey, Integer, QtModelMixin, String, qtRelationship, rel... | 38.838384 | 145 | 0.611183 |
c6adeae1cf95e85b9fc51739ac693b5576bd02b6 | 2,583 | py | Python | robustsp/DependentData/arma_est_bip_tau.py | ICASSP-2020-Robustness-Tutorial/Robust-Signal-Processing-Toolbox-Python | 967186d017c895182eb45ef7ae2eaade11904a1c | [
"MIT"
] | 4 | 2020-05-04T11:24:11.000Z | 2020-11-12T19:07:12.000Z | robustsp/DependentData/arma_est_bip_tau.py | RobustSP/robustsp | 293f4281fdbd475549aa42eae9fe615976af27a0 | [
"MIT"
] | 1 | 2019-07-06T08:57:15.000Z | 2019-07-06T08:57:15.000Z | robustsp/DependentData/arma_est_bip_tau.py | RobustSP/robustsp | 293f4281fdbd475549aa42eae9fe615976af27a0 | [
"MIT"
] | 2 | 2019-12-03T15:04:44.000Z | 2020-05-03T04:32:29.000Z | import numpy as np
import robustsp as rsp
from scipy.optimize import least_squares as lsq
from scipy.optimize import minimize
'''
The function arma_est_bip_tau(x,p,q) comuptes BIP tau-estimates of the
ARMA model parameters. It also computes an outlier cleaned signal using BIP-ARMA(p,q) predictions
%INPUTS
x: 1darr... | 38.552239 | 133 | 0.716221 |
0276fb5b3ecb4ca00285ab7a675d994b9156894b | 2,887 | cpp | C++ | Calculator/Main.cpp | a2937/calculator-c-plus | f87b9ba54beb0d1968c1702e12e185676b1ff8e6 | [
"MIT"
] | null | null | null | Calculator/Main.cpp | a2937/calculator-c-plus | f87b9ba54beb0d1968c1702e12e185676b1ff8e6 | [
"MIT"
] | null | null | null | Calculator/Main.cpp | a2937/calculator-c-plus | f87b9ba54beb0d1968c1702e12e185676b1ff8e6 | [
"MIT"
] | null | null | null | // Main.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
/**
* A calculator application that performs addition, multiplication, subtraction, and
* division.Input is given by typing a number and hitting enter on the console.
* After performing an operation, the user is given an o... | 32.077778 | 135 | 0.638379 |
a3e32f98715dda87a9eacf725c6c138a0e495894 | 11,009 | java | Java | test/005-annotations/src/android/test/anno/TestAnnotations.java | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | 20 | 2021-06-24T16:38:42.000Z | 2022-01-20T16:15:57.000Z | test/005-annotations/src/android/test/anno/TestAnnotations.java | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | null | null | null | test/005-annotations/src/android/test/anno/TestAnnotations.java | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | 4 | 2021-11-03T06:01:12.000Z | 2022-02-24T02:57:31.000Z | /*
* Copyright (C) 2015 The Android Open Source Project
*
* 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 app... | 36.696667 | 99 | 0.602598 |
249f65b03151cccaf560f302d33f78cfe32a26e1 | 1,489 | php | PHP | src/Laravel/FullPlatformServiceProvider.php | DalunSelf/full-platform-sdk | 0816a7c91cbba22f4c82a3f47bd2d8e330ecca09 | [
"Apache-2.0"
] | null | null | null | src/Laravel/FullPlatformServiceProvider.php | DalunSelf/full-platform-sdk | 0816a7c91cbba22f4c82a3f47bd2d8e330ecca09 | [
"Apache-2.0"
] | null | null | null | src/Laravel/FullPlatformServiceProvider.php | DalunSelf/full-platform-sdk | 0816a7c91cbba22f4c82a3f47bd2d8e330ecca09 | [
"Apache-2.0"
] | null | null | null | <?php
/**
* Copyright 2020 Ryan Corporation
*
* Ryan Corporation licenses this file to you 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
*
* ... | 32.369565 | 110 | 0.672263 |
daabf615dc448b33f7699459a924404eea66e42f | 68,678 | php | PHP | resources/views/app/login.blade.php | tuyandre/research | 598300e4e74bbe4191afc6c7bf9c74747aab56bc | [
"MIT"
] | null | null | null | resources/views/app/login.blade.php | tuyandre/research | 598300e4e74bbe4191afc6c7bf9c74747aab56bc | [
"MIT"
] | null | null | null | resources/views/app/login.blade.php | tuyandre/research | 598300e4e74bbe4191afc6c7bf9c74747aab56bc | [
"MIT"
] | null | null | null | <html dir="ltr" lang="en" xmlns="http://www.w3.org/1999/html" class="global-potloc-init">
<head>
<link rel="stylesheet" media="screen" href="{{asset('/assets/assets/potloc-init-2f54473f8ff16cec201d976c849ef24c04b94a1b01e3b03d8117a81c75f199a9.css')}}">
{{--<script src="{{asset('/assets/assets/potloc-init-43d2b616db... | 33.193813 | 1,337 | 0.642142 |
0d405735f12960e1798a011489a28947263df339 | 664 | cs | C# | EulerProblem9/EulerProblem9/Program.cs | xgf4814/Euler | 75030cc8d1f34859ecc88cfef7693ce199a21097 | [
"Unlicense"
] | null | null | null | EulerProblem9/EulerProblem9/Program.cs | xgf4814/Euler | 75030cc8d1f34859ecc88cfef7693ce199a21097 | [
"Unlicense"
] | null | null | null | EulerProblem9/EulerProblem9/Program.cs | xgf4814/Euler | 75030cc8d1f34859ecc88cfef7693ce199a21097 | [
"Unlicense"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EulerProblem9
{
class Program
{
static void Main(string[] args)
{
for (int a = 1; a <= 998; a++)
{
for (int b = 999 - a; b >= 1... | 20.75 | 53 | 0.335843 |
9a15d5416116977e7e2ddb44a152dc6af030e95c | 7,098 | rb | Ruby | test/models/auction_test.rb | internetee/auction-center | 5007cb26ff15098c91fe1711498c511313ade14c | [
"X11"
] | 4 | 2019-05-11T20:24:14.000Z | 2020-06-06T07:41:19.000Z | test/models/auction_test.rb | internetee/auction_center | 5e3d1242256eb06850a3f5685cfc62c6e94375b1 | [
"X11"
] | 482 | 2018-08-29T11:26:41.000Z | 2022-03-30T22:52:52.000Z | test/models/auction_test.rb | internetee/auction-center | 5007cb26ff15098c91fe1711498c511313ade14c | [
"X11"
] | 4 | 2018-10-29T10:06:24.000Z | 2021-04-08T13:25:58.000Z | require 'test_helper'
class AuctionTest < ActiveSupport::TestCase
def setup
super
@expired_auction = auctions(:expired)
@persisted_auction = auctions(:valid_with_offers)
@other_persisted_auction = auctions(:valid_without_offers)
@orphaned_auction = auctions(:orphaned)
@with_invoice_auction =... | 41.028902 | 111 | 0.700902 |
a35fdaaf0963d5ef8afd2027a24ce33720500950 | 510 | c | C | prime.c | danilofuchs/vhdl-processor | 28cc4fa32f79cd8968892f2a313439ea0f89db49 | [
"MIT"
] | 2 | 2020-03-11T09:23:00.000Z | 2020-04-13T19:40:37.000Z | prime.c | danilofuchs/vhdl-processor | 28cc4fa32f79cd8968892f2a313439ea0f89db49 | [
"MIT"
] | null | null | null | prime.c | danilofuchs/vhdl-processor | 28cc4fa32f79cd8968892f2a313439ea0f89db49 | [
"MIT"
] | null | null | null | /**
* Author: Danilo C. Fuchs
* Equivalent of program at ROM
*/
#include <stdio.h>
const int ARR_SIZE = 32;
int main(void) {
int nums[ARR_SIZE + 1];
for (int i = 1; i <= ARR_SIZE; i++) {
nums[i] = i;
}
for (int i = 4; i <= ARR_SIZE; i += 2) {
nums[i] = 0;
}
for (int i = 9; i <= ARR_SIZE; i ... | 15 | 43 | 0.470588 |
ffb5f9a5740bab477d92928901bb5313d3d1f5d1 | 279 | py | Python | udacity/take_a_break.py | JuanBalceda/python-basics | 65649f1b5619efb1a4bb56abc904f848eb42a986 | [
"MIT"
] | null | null | null | udacity/take_a_break.py | JuanBalceda/python-basics | 65649f1b5619efb1a4bb56abc904f848eb42a986 | [
"MIT"
] | null | null | null | udacity/take_a_break.py | JuanBalceda/python-basics | 65649f1b5619efb1a4bb56abc904f848eb42a986 | [
"MIT"
] | null | null | null | import webbrowser
import time
# Take a break every hours
num = 0
while num < 3:
print('Begin at: ' + time.ctime())
time.sleep(2*60*60)
webbrowser.open("https://www.youtube.com/watch?v=dlFA0Zq1k2A&list=RDdlFA0Zq1k2A")
num += 1
print('End at: ' + time.ctime())
| 18.6 | 85 | 0.655914 |
f48c442ddff9a33c80799583725e674a79a08014 | 203 | ts | TypeScript | node_modules/@rxweb/reactive-form-validators/validators-extension/maxDate-validator.extension.d.ts | rohitgituser/co-connect-demo | 3ddd1aae289970847fe54a5c28c4be9d7bf7c4ed | [
"MIT"
] | null | null | null | node_modules/@rxweb/reactive-form-validators/validators-extension/maxDate-validator.extension.d.ts | rohitgituser/co-connect-demo | 3ddd1aae289970847fe54a5c28c4be9d7bf7c4ed | [
"MIT"
] | 1 | 2022-03-02T09:39:09.000Z | 2022-03-02T09:39:09.000Z | node_modules/@rxweb/reactive-form-validators/validators-extension/maxDate-validator.extension.d.ts | rohitgituser/co-connect-demo | 3ddd1aae289970847fe54a5c28c4be9d7bf7c4ed | [
"MIT"
] | null | null | null | import { ValidatorFn } from "@angular/forms";
import { MaxDateConfig } from "../models/config/max-date-config";
export declare function maxDateValidatorExtension(config?: MaxDateConfig): ValidatorFn;
| 50.75 | 88 | 0.773399 |
640bc386a0295f1d1abcfe26406c2da2728aa0b4 | 235 | py | Python | python/tests/conftest.py | b-z/Tango | 8950b51ccccaef0b6ffc1575b8f2bdfb8a09d484 | [
"MIT"
] | null | null | null | python/tests/conftest.py | b-z/Tango | 8950b51ccccaef0b6ffc1575b8f2bdfb8a09d484 | [
"MIT"
] | null | null | null | python/tests/conftest.py | b-z/Tango | 8950b51ccccaef0b6ffc1575b8f2bdfb8a09d484 | [
"MIT"
] | null | null | null | import pytest
from application import create_app
@pytest.fixture()
def testapp(request):
app = create_app()
client = app.test_client()
def teardown():
pass
request.addfinalizer(teardown)
return client
| 13.823529 | 34 | 0.680851 |
3f562416b4563e6bedc7c1d0fc417d21efe03225 | 119 | php | PHP | src/Model/CustomLink.php | webboba/acorn-db | 5afe7b57c09698a9d15854786c06763dd00f6fa7 | [
"MIT"
] | 16 | 2019-09-16T01:38:38.000Z | 2022-03-24T18:32:19.000Z | src/Model/CustomLink.php | kellymears/acorn-models | 6be4215eeb70a8630a3419388dd384c241253a0f | [
"MIT"
] | 6 | 2019-09-28T20:21:03.000Z | 2021-03-29T22:51:27.000Z | src/Model/CustomLink.php | kellymears/acorn-models | 6be4215eeb70a8630a3419388dd384c241253a0f | [
"MIT"
] | 8 | 2020-07-05T23:14:36.000Z | 2022-03-10T22:12:15.000Z | <?php
namespace AcornDB\Model;
use Corcel\Model\CustomLink as Corcel;
class CustomLink extends Corcel
{
// --
}
| 10.818182 | 38 | 0.705882 |
da2dbc71fe1765335f1034ace32e3605a98d1089 | 2,367 | php | PHP | runtime/cache/3e/91fab346905c436a462c811feb2293.php | 670600971/mall | f91275ec4c55cb913e12d5bb2faf460379e651b2 | [
"Apache-2.0"
] | null | null | null | runtime/cache/3e/91fab346905c436a462c811feb2293.php | 670600971/mall | f91275ec4c55cb913e12d5bb2faf460379e651b2 | [
"Apache-2.0"
] | null | null | null | runtime/cache/3e/91fab346905c436a462c811feb2293.php | 670600971/mall | f91275ec4c55cb913e12d5bb2faf460379e651b2 | [
"Apache-2.0"
] | null | null | null | <?php
//000000001440
exit();?>
a:1:{s:10:"store_info";s:2329:"a:78:{s:8:"store_id";i:1;s:10:"store_name";s:9:"app开发";s:8:"grade_id";i:1;s:9:"member_id";i:1;s:11:"member_name";s:7:"lmp5023";s:11:"seller_name";s:7:"lmp6706";s:13:"storeclass_id";i:0;s:18:"store_company_name";N;s:9:"region_id";N;s:9:"area_info";N;s:13:"st... | 591.75 | 2,335 | 0.718209 |
2d41848ae2213b65b93d47822f039929f8d2bf5a | 3,090 | lua | Lua | src/Object/extended/Building.lua | gajosadrian/Gaios-Framework | 3b50ac15a96b18741d9871fcd1617d173c410e04 | [
"MIT"
] | null | null | null | src/Object/extended/Building.lua | gajosadrian/Gaios-Framework | 3b50ac15a96b18741d9871fcd1617d173c410e04 | [
"MIT"
] | null | null | null | src/Object/extended/Building.lua | gajosadrian/Gaios-Framework | 3b50ac15a96b18741d9871fcd1617d173c410e04 | [
"MIT"
] | null | null | null | local Object = app('object')
local Building = class(Object)
local MAP = app('map').getInstance()
local BUILDINGS = config('core.buildings')
local BUILDINGS_ID = {}
local BUILDINGS_XY = table.initarray2D(MAP:getWidth() - 1, MAP:getHeight() - 1, false)
local tmp = {}
-------------------------
-- CONST --... | 24.52381 | 128 | 0.595793 |
39119ca948a5d23c44374ee65edcdddf67e3fd5f | 3,595 | py | Python | webauthn/registration/formats/packed.py | MasterKale/py_webauthn | fe97b9841328aa84559bd2a282c07d20145845c1 | [
"BSD-3-Clause"
] | null | null | null | webauthn/registration/formats/packed.py | MasterKale/py_webauthn | fe97b9841328aa84559bd2a282c07d20145845c1 | [
"BSD-3-Clause"
] | null | null | null | webauthn/registration/formats/packed.py | MasterKale/py_webauthn | fe97b9841328aa84559bd2a282c07d20145845c1 | [
"BSD-3-Clause"
] | null | null | null | import hashlib
from typing import List
import cbor2
from cryptography import x509
from cryptography.exceptions import InvalidSignature
from cryptography.hazmat.backends import default_backend
from webauthn.helpers import (
decode_credential_public_key,
decoded_public_key_to_cryptography,
validate_certific... | 32.387387 | 134 | 0.680389 |
d336e37c13a0e1868f6a4aa854f8fbfb93fcd25d | 4,746 | css | CSS | src/css/site.css | amd64char/material-crypto-tracker | 8293ce6f699ea7bc9d85d7ee1364e785e4b1bf60 | [
"MIT"
] | 1 | 2021-08-10T21:23:24.000Z | 2021-08-10T21:23:24.000Z | src/css/site.css | amd64char/material-crypto-tracker | 8293ce6f699ea7bc9d85d7ee1364e785e4b1bf60 | [
"MIT"
] | 2 | 2021-03-09T14:11:55.000Z | 2021-09-01T20:16:25.000Z | src/css/site.css | amd64char/material-crypto-tracker | 8293ce6f699ea7bc9d85d7ee1364e785e4b1bf60 | [
"MIT"
] | null | null | null |
/* Import bootstrap */
@import "../../node_modules/mdbootstrap/css/bootstrap.min.css";
/* Import material */
@import "../../node_modules/mdbootstrap/css/mdb.min.css";
/* Default font settings */
@font-face {
font-family: "Roboto Regular";
font-style: normal;
font-weight: 400;
src: url('../webfonts/R... | 25.379679 | 307 | 0.618205 |
20da7a04ad5651d19f7d5eb81b34df663af4c9eb | 9,914 | py | Python | CoRRN.py | ZhengPeng7/CoRRN-Pytorch | b4577b596ecb96d3700b12abfe82472c2d94a3c9 | [
"MIT"
] | 2 | 2020-06-02T14:09:21.000Z | 2021-06-12T07:52:04.000Z | CoRRN.py | ZhengPeng7/CoRRN-Pytorch | b4577b596ecb96d3700b12abfe82472c2d94a3c9 | [
"MIT"
] | 2 | 2020-05-19T14:06:35.000Z | 2020-05-28T15:09:01.000Z | CoRRN.py | ZhengPeng7/CoRRN-Pytorch | b4577b596ecb96d3700b12abfe82472c2d94a3c9 | [
"MIT"
] | 1 | 2021-01-11T23:18:43.000Z | 2021-01-11T23:18:43.000Z | import torch
import torch.nn as nn
from torchvision import models
class Conv2D_BN_activa(nn.Module):
def __init__(
self, in_channels, out_channels, kernel_size, stride, padding=0,
dilation=1, if_bn=True, activation='relu', bias=None, initializer=None, transpose=False
):
super(C... | 37.839695 | 121 | 0.657656 |
0080e454ba4c34c46609ce3ad4a7acd7ebbc35db | 10,129 | dart | Dart | lib/Screen/Profile/Packages/packageIndexScreen.dart | emmanoluwatayo/IleOja | 4cd51bb091f2c396168b671c419836f868fcf41d | [
"Apache-2.0"
] | null | null | null | lib/Screen/Profile/Packages/packageIndexScreen.dart | emmanoluwatayo/IleOja | 4cd51bb091f2c396168b671c419836f868fcf41d | [
"Apache-2.0"
] | null | null | null | lib/Screen/Profile/Packages/packageIndexScreen.dart | emmanoluwatayo/IleOja | 4cd51bb091f2c396168b671c419836f868fcf41d | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_platform_widgets/flutter_platform_widgets.dart';
import 'package:ileoja/Provider/packages/packages_provider.dart';
import 'package:ileoja/Provider/user/user_provider.dart';
import 'package:ileoja/Reprository/package... | 47.111628 | 193 | 0.558199 |
46457e713ac7c3a2ee608b4431d2456dd78d1820 | 809 | php | PHP | app/model/permohonanModel.php | websturing/RKASBOS2019 | 96a436997a8c9919df664bb6b95d12ab736b4c17 | [
"MIT"
] | null | null | null | app/model/permohonanModel.php | websturing/RKASBOS2019 | 96a436997a8c9919df664bb6b95d12ab736b4c17 | [
"MIT"
] | 3 | 2021-03-09T18:32:02.000Z | 2022-02-26T18:07:03.000Z | app/model/permohonanModel.php | websturing/RKASBOS2019 | 96a436997a8c9919df664bb6b95d12ab736b4c17 | [
"MIT"
] | null | null | null | <?php
namespace App\model;
use Illuminate\Database\Eloquent\Model;
class permohonanModel extends Model
{
protected $table = "permohonan";
protected $primaryKey = "permohonan_id";
function Getperusahaan(){
return $this->belongsTo('App\model\perusahaanModel', 'perusahaan_id');
}
... | 26.096774 | 83 | 0.644005 |
af7b94dadd7b719b7325535294a305fa3575be89 | 314 | py | Python | costflow/config.py | StdioA/costflow | 31335c0452d2a8a8b32014ef09cab62c1a4c244f | [
"MIT"
] | null | null | null | costflow/config.py | StdioA/costflow | 31335c0452d2a8a8b32014ef09cab62c1a4c244f | [
"MIT"
] | null | null | null | costflow/config.py | StdioA/costflow | 31335c0452d2a8a8b32014ef09cab62c1a4c244f | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
@dataclass
class Config:
default_currency: str = "CNY"
formulas: dict = field(default_factory=dict)
def get_formula(self, name):
return self.formulas.get(name, "")
# TODO: Beancount loader for default currency
# Global store
config = Config()
| 18.470588 | 49 | 0.700637 |
25f6b1bc52a7980dee2bae251d63be50ca62338a | 218 | cs | C# | EventLogBrowser/EventLogs.cs | kylerdanielster/EventLogBrowser | 77e98591d9d6a74961fb088eb22c4b9265298592 | [
"MIT"
] | 1 | 2020-07-16T01:13:11.000Z | 2020-07-16T01:13:11.000Z | EventLogBrowser/EventLogs.cs | kylerdanielster/EventLogBrowser | 77e98591d9d6a74961fb088eb22c4b9265298592 | [
"MIT"
] | null | null | null | EventLogBrowser/EventLogs.cs | kylerdanielster/EventLogBrowser | 77e98591d9d6a74961fb088eb22c4b9265298592 | [
"MIT"
] | null | null | null | using System.Collections.ObjectModel;
namespace EventLogBrowser
{
public class EventLogs
{
public string LogName { get; set; }
public ObservableCollection<Event> Events { get; set; }
}
}
| 18.166667 | 63 | 0.665138 |
fbdc855656e24f48f4aa446d72a7428786da2447 | 3,077 | dart | Dart | frontend/lib/company/home/setting_view.dart | oi-songer/easyPass | ec27f0a51db831e06178ada383d8509fbc275f6f | [
"MIT"
] | null | null | null | frontend/lib/company/home/setting_view.dart | oi-songer/easyPass | ec27f0a51db831e06178ada383d8509fbc275f6f | [
"MIT"
] | null | null | null | frontend/lib/company/home/setting_view.dart | oi-songer/easyPass | ec27f0a51db831e06178ada383d8509fbc275f6f | [
"MIT"
] | null | null | null | import 'package:easy_pass/utils/components.dart';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
class CompanySettingView extends StatefulWidget {
const CompanySettingView({Key? key}) : super(key: key);
@override
_CompanySettingViewState createState() => _Co... | 26.991228 | 78 | 0.408515 |
813c36b7cc8e3039ec2b7b1fa9dab2079ae7ff1d | 17,504 | php | PHP | resources/views/accountmodule/view_expenses.blade.php | vikash3292/ReactProject | b372958ac8efd9c24b52488445376898f3a5e365 | [
"MIT"
] | null | null | null | resources/views/accountmodule/view_expenses.blade.php | vikash3292/ReactProject | b372958ac8efd9c24b52488445376898f3a5e365 | [
"MIT"
] | null | null | null | resources/views/accountmodule/view_expenses.blade.php | vikash3292/ReactProject | b372958ac8efd9c24b52488445376898f3a5e365 | [
"MIT"
] | null | null | null | @extends('layouts.superadmin_layout')
@section('content')
<div class="content p-0">
<div class="container-fluid">
<div class="page-title-box">
<div class="row align-items-center bredcrum-style">
<div class="col-sm-6">
... | 69.460317 | 260 | 0.264682 |
496f45a66e506d69131bbc01e1c6459db2147192 | 3,396 | py | Python | aiogram_dialog/widgets/utils.py | bkvalexey/aiogram_dialog | fb4a3a8c151d63f06b04e4b8641549cc7ae45c2c | [
"Apache-2.0"
] | 198 | 2020-06-06T14:24:04.000Z | 2022-03-29T16:01:30.000Z | aiogram_dialog/widgets/utils.py | bkvalexey/aiogram_dialog | fb4a3a8c151d63f06b04e4b8641549cc7ae45c2c | [
"Apache-2.0"
] | 65 | 2020-06-07T19:02:42.000Z | 2022-03-21T18:23:17.000Z | aiogram_dialog/widgets/utils.py | bkvalexey/aiogram_dialog | fb4a3a8c151d63f06b04e4b8641549cc7ae45c2c | [
"Apache-2.0"
] | 48 | 2020-06-13T09:57:58.000Z | 2022-03-11T17:59:21.000Z | from typing import Union, Sequence, Tuple, Callable, Dict, List
from .data.data_context import DataGetter, StaticGetter, CompositeGetter
from .input import MessageHandlerFunc, BaseInput, MessageInput
from .kbd import Keyboard, Group
from .media import Media
from .text import Multi, Format, Text
from .widget_event impo... | 30.594595 | 81 | 0.640459 |
7281c2db226087acd8e154bc2c5f5319e2526972 | 1,562 | cs | C# | dotnet-core-apps/NET_CORE_PROPOGATOR_APP/Controllers/Prop_NodeEntry.cs | kecven/service-discovery-demo-parent | ebb31df5759a9c769d7efa576c89d8a716d28845 | [
"MIT"
] | 8 | 2020-10-29T14:41:45.000Z | 2022-02-14T10:38:26.000Z | dotnet-core-apps/NET_CORE_PROPOGATOR_APP/Controllers/Prop_NodeEntry.cs | CxRustySides/service-discovery-demo-parent | a9f7b0782b336326800a52cef13b38f8f6c3210b | [
"MIT"
] | 1 | 2020-12-13T19:15:01.000Z | 2020-12-13T23:35:27.000Z | dotnet-core-apps/NET_CORE_PROPOGATOR_APP/Controllers/Prop_NodeEntry.cs | CxRustySides/service-discovery-demo-parent | a9f7b0782b336326800a52cef13b38f8f6c3210b | [
"MIT"
] | 43 | 2020-05-19T15:24:47.000Z | 2022-03-02T21:27:05.000Z | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace NET_CORE_PROPOGATOR_APP.Controllers
{
[Route("Prop/NodeEntry")]
[ApiController]
public class Pr... | 34.711111 | 140 | 0.647247 |
af2abb7177d912e66aa33f0ad06e5f6aa2422c0b | 1,195 | rs | Rust | src/plot/database.rs | bannatech/MCHPRS | f5963e8145cf96ac4a499296ab206105f36887df | [
"MIT"
] | null | null | null | src/plot/database.rs | bannatech/MCHPRS | f5963e8145cf96ac4a499296ab206105f36887df | [
"MIT"
] | null | null | null | src/plot/database.rs | bannatech/MCHPRS | f5963e8145cf96ac4a499296ab206105f36887df | [
"MIT"
] | null | null | null | use rusqlite::{params, Connection, NO_PARAMS};
use std::sync::{Mutex, MutexGuard};
lazy_static! {
static ref CONN: Mutex<Connection> =
Mutex::new(Connection::open("./world/plots.db").expect("Error opening plot database!"));
}
fn lock<'a>() -> MutexGuard<'a, Connection> {
CONN.lock().unwrap()
}
pub fn... | 25.425532 | 96 | 0.550628 |
387fc59c2c265479a3bc6997fcbb31c8cebc97ff | 638 | php | PHP | resources/views/home.blade.php | ITPC-Khmer/itpc-erp | 698bf5c6d5cfeec4116a407c18c3b4c6933b2848 | [
"MIT"
] | null | null | null | resources/views/home.blade.php | ITPC-Khmer/itpc-erp | 698bf5c6d5cfeec4116a407c18c3b4c6933b2848 | [
"MIT"
] | null | null | null | resources/views/home.blade.php | ITPC-Khmer/itpc-erp | 698bf5c6d5cfeec4116a407c18c3b4c6933b2848 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">{{ _t('Dashboard') }}</div>
<div class="panel-body">... | 24.538462 | 74 | 0.448276 |
ff5bee2eb623ed1e17f5ab6ec1e90a1d1b2ecec1 | 454 | py | Python | core/management/commands/index_titles.py | johnscancella/open-oni | fe6eeee437b8701cf9d54a5f5dc62fc4bbeb3999 | [
"Apache-2.0"
] | null | null | null | core/management/commands/index_titles.py | johnscancella/open-oni | fe6eeee437b8701cf9d54a5f5dc62fc4bbeb3999 | [
"Apache-2.0"
] | null | null | null | core/management/commands/index_titles.py | johnscancella/open-oni | fe6eeee437b8701cf9d54a5f5dc62fc4bbeb3999 | [
"Apache-2.0"
] | null | null | null | import logging
from django.core.management.base import BaseCommand
from core.management.commands import configure_logging
from core.solr_index import index_titles
configure_logging("index_titles_logging.config", "index_titles.log")
_logger = logging.getLogger(__name__)
class Command(BaseCommand):
def hand... | 23.894737 | 68 | 0.759912 |
bb1eeecf5a1c95400d3b4faadc2ac926705c7a87 | 7,529 | cs | C# | src/BlazorWebFormsComponents/LoginControls/Login.razor.cs | hishamco/BlazorWebFormsComponents | 5d956d5dec96de0f7d2f3c7fb264481b2db9269a | [
"MIT"
] | 9 | 2020-02-24T02:42:27.000Z | 2021-06-25T17:19:49.000Z | src/BlazorWebFormsComponents/LoginControls/Login.razor.cs | hishamco/BlazorWebFormsComponents | 5d956d5dec96de0f7d2f3c7fb264481b2db9269a | [
"MIT"
] | 1 | 2020-02-04T23:33:27.000Z | 2020-02-04T23:33:27.000Z | src/BlazorWebFormsComponents/LoginControls/Login.razor.cs | hishamco/BlazorWebFormsComponents | 5d956d5dec96de0f7d2f3c7fb264481b2db9269a | [
"MIT"
] | 6 | 2020-02-04T17:56:17.000Z | 2020-06-05T16:18:45.000Z | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using BlazorWebFormsComponents.Enums;
using BlazorWebFormsComponents.Validations;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Authorization;
names... | 33.02193 | 132 | 0.741267 |
c6781da7996aff02ab899382df4103d3ebad3697 | 2,288 | py | Python | src/foreign_if/python/examples/dt_demo.py | wmeddie/frovedis | c134e5e64114799cc7c265c72525ff98d06b49c1 | [
"BSD-2-Clause"
] | null | null | null | src/foreign_if/python/examples/dt_demo.py | wmeddie/frovedis | c134e5e64114799cc7c265c72525ff98d06b49c1 | [
"BSD-2-Clause"
] | null | null | null | src/foreign_if/python/examples/dt_demo.py | wmeddie/frovedis | c134e5e64114799cc7c265c72525ff98d06b49c1 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
from frovedis.exrpc.server import FrovedisServer
from frovedis.mllib.tree import DecisionTreeClassifier
from frovedis.mllib.tree import DecisionTreeRegressor
import sys
import numpy as np
import pandas as pd
#Objective: Run without error
# initializing the Frovedis server
argvs = sys.argv
argc ... | 34.666667 | 157 | 0.696678 |
dbba6552f1dfa2af8524385f2b858d17e6fbaa35 | 474 | php | PHP | resources/views/articles/index.blade.php | codersharif/laravel6 | 99146089821c83ec7495a000d9903da101f985db | [
"MIT"
] | null | null | null | resources/views/articles/index.blade.php | codersharif/laravel6 | 99146089821c83ec7495a000d9903da101f985db | [
"MIT"
] | null | null | null | resources/views/articles/index.blade.php | codersharif/laravel6 | 99146089821c83ec7495a000d9903da101f985db | [
"MIT"
] | null | null | null | @extends('layouts.master')
@section('content')
@forelse($articles as $article)
<div id="content">
<div class="title">
<h2>{{$article->title}}</h2>
<span class="byline"><a href="{{URL::to('article/'.$article->id)}}">{{$article->excerpt}}</a></span>
</div>
<p><img src="{{asset('public... | 27.882353 | 108 | 0.578059 |
a4252d60c08048c0af905964604e053cf6db7cf3 | 1,515 | php | PHP | www/site/snippets/icons/collectif-bam.php | arnaudjuracek/www-bam | 0f7b3d0174347cf499f4325b70daee10b8f1039b | [
"MIT"
] | null | null | null | www/site/snippets/icons/collectif-bam.php | arnaudjuracek/www-bam | 0f7b3d0174347cf499f4325b70daee10b8f1039b | [
"MIT"
] | 20 | 2017-12-14T15:05:10.000Z | 2018-02-05T16:49:00.000Z | www/site/snippets/icons/philosophie.php | arnaudjuracek/www-bam | 0f7b3d0174347cf499f4325b70daee10b8f1039b | [
"MIT"
] | null | null | null | <svg id="Layer_1" width="150" height="150" viewBox="0 0 150 150">
<path id="XMLID_24_" class="st0" d="M1 1h148v148H1z"/>
<path id="XMLID_23_" class="st0" d="M75 149V1"/>
<path id="XMLID_22_" class="st0" d="M119.4 110.7l-7.4-7.4-7.4 7.4V1h14.8z"/>
<path id="XMLID_21_" class="st0" d="M19.5 30.6h44.4"/>
... | 56.111111 | 80 | 0.59868 |
c3803fde8831a6473239fbd533a188b7cd04eb15 | 2,267 | cs | C# | TaskBarAnalogClock/ViewModels/ArrowViewModel.cs | uieasier/TaskBarAnalogClock | 818d03bfb20c0bb52873b92bf701f3e55c899260 | [
"MIT"
] | 4 | 2019-02-03T02:53:58.000Z | 2021-06-10T03:23:47.000Z | TaskBarAnalogClock/ViewModels/ArrowViewModel.cs | uieasier/TaskBarAnalogClock | 818d03bfb20c0bb52873b92bf701f3e55c899260 | [
"MIT"
] | null | null | null | TaskBarAnalogClock/ViewModels/ArrowViewModel.cs | uieasier/TaskBarAnalogClock | 818d03bfb20c0bb52873b92bf701f3e55c899260 | [
"MIT"
] | 1 | 2019-10-02T16:15:53.000Z | 2019-10-02T16:15:53.000Z | using System;
using System.Windows.Media;
using System.Windows.Threading;
using Cafemoca.TaskBarAnalogClock.Models;
namespace Cafemoca.TaskBarAnalogClock.ViewModels
{
internal class ArrowViewModel : ViewModelBase
{
private readonly DispatcherTimer _timer = new DispatcherTimer();
private Arrow... | 24.641304 | 72 | 0.456992 |
eb1bc0e1c5387c13b7a50d1edb8025f0f86e5b03 | 10,164 | lua | Lua | 52-Manhunt/server/manhunt.lua | Hallkezz/KoastFreeroam-2021 | 96f26fb31d71408452333982a38212824d6870b2 | [
"MIT"
] | null | null | null | 52-Manhunt/server/manhunt.lua | Hallkezz/KoastFreeroam-2021 | 96f26fb31d71408452333982a38212824d6870b2 | [
"MIT"
] | null | null | null | 52-Manhunt/server/manhunt.lua | Hallkezz/KoastFreeroam-2021 | 96f26fb31d71408452333982a38212824d6870b2 | [
"MIT"
] | null | null | null | class "ManhuntPlayer"
function ManhuntPlayer:__init( player, Manhunt )
self.Manhunt = Manhunt
self.player = player
self.start_pos = player:GetPosition()
self.start_world = player:GetWorld()
self.inventory = player:GetInventory()
self.color = player:GetColor()
self.oob = false
self.pts = 0
self.dead... | 29.982301 | 127 | 0.678375 |
a47175ed079aa546da6b7df9bada63e64d10fa22 | 2,174 | php | PHP | app/Views/admin/dashboard_view.php | bimaalsandi19/test-pt-big | 28b3bd3cffadd6c2a5d48dedf3c3f111d41c372f | [
"MIT"
] | null | null | null | app/Views/admin/dashboard_view.php | bimaalsandi19/test-pt-big | 28b3bd3cffadd6c2a5d48dedf3c3f111d41c372f | [
"MIT"
] | null | null | null | app/Views/admin/dashboard_view.php | bimaalsandi19/test-pt-big | 28b3bd3cffadd6c2a5d48dedf3c3f111d41c372f | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
<title>Halaman Admin</title>
</head>
<b... | 38.821429 | 155 | 0.431463 |
3f204ab737a8571c06299546d309c207894614c7 | 2,466 | php | PHP | resources/views/catalogo/tumbas/sidebar.blade.php | rodnune/Pintia | 3b2d7634cbac8fb8bd50fa68717fa1ab6e57c53a | [
"MIT"
] | null | null | null | resources/views/catalogo/tumbas/sidebar.blade.php | rodnune/Pintia | 3b2d7634cbac8fb8bd50fa68717fa1ab6e57c53a | [
"MIT"
] | null | null | null | resources/views/catalogo/tumbas/sidebar.blade.php | rodnune/Pintia | 3b2d7634cbac8fb8bd50fa68717fa1ab6e57c53a | [
"MIT"
] | null | null | null | <div id="sidebar" style="float:left; margin:20px 35px 0 0;">
<a class="post" style="padding-right: 10px; padding-left: 0px;">
@php
$id = $tumba->IdTumba
@endphp
<h4 class="text-center" style="color: #000;">Secciones</h4>
<p>
</p>
<button onclick="window.... | 54.8 | 151 | 0.601784 |
dbe1001f3d1737f5fdda63e0caa8d32581c1d188 | 598 | php | PHP | resources/views/layouts/app.blade.php | quangnd090592/haiquan | 13f73988f8475063adbeb16dbbdd2c9a4bb6f8d4 | [
"MIT"
] | null | null | null | resources/views/layouts/app.blade.php | quangnd090592/haiquan | 13f73988f8475063adbeb16dbbdd2c9a4bb6f8d4 | [
"MIT"
] | null | null | null | resources/views/layouts/app.blade.php | quangnd090592/haiquan | 13f73988f8475063adbeb16dbbdd2c9a4bb6f8d4 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en" ng-app="haiquan">
@include('shared.head')
<body class="nav-md">
<div class="container body">
<div class="main_container">
@include('shared.sidebar')
@include('shared.topnav')
<!-- page content -->
... | 31.473684 | 51 | 0.436455 |
af8dd63cac15caac5cf39739e40631d8dee750ab | 3,394 | py | Python | src/jflow/green.py | diseaz-joom/dsaflow | 3d5cc8caa5ff0b0db3b7590cd27d9421ade88f6c | [
"MIT"
] | null | null | null | src/jflow/green.py | diseaz-joom/dsaflow | 3d5cc8caa5ff0b0db3b7590cd27d9421ade88f6c | [
"MIT"
] | 6 | 2022-03-25T13:24:04.000Z | 2022-03-29T13:24:36.000Z | src/jflow/green.py | diseaz-joom/dsaflow | 3d5cc8caa5ff0b0db3b7590cd27d9421ade88f6c | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- mode: python; coding: utf-8 -*-
"""Update green-develop."""
import contextlib
import json
import logging
import pathlib
import pprint
import re
import sys
import urllib.parse as up
import requests
from dsapy import app
from jflow import config
from jflow import git
from jflow import run
... | 29.008547 | 170 | 0.627873 |
ca73b6d8896c24a39f6b46ed002c56c1af1a4491 | 425 | sql | SQL | sqlapp-core-oracle/src/main/resources/com/sqlapp/data/db/dialect/oracle/metadata/indexPartitions.sql | satotatsu/sqlapp | 2df2e0331b02c41afa1f588b6a43edcd81404cd3 | [
"MIT"
] | 1 | 2018-05-04T00:14:54.000Z | 2018-05-04T00:14:54.000Z | sqlapp-core-oracle/src/main/resources/com/sqlapp/data/db/dialect/oracle/metadata/indexPartitions.sql | satotatsu/sqlapp | 2df2e0331b02c41afa1f588b6a43edcd81404cd3 | [
"MIT"
] | null | null | null | sqlapp-core-oracle/src/main/resources/com/sqlapp/data/db/dialect/oracle/metadata/indexPartitions.sql | satotatsu/sqlapp | 2df2e0331b02c41afa1f588b6a43edcd81404cd3 | [
"MIT"
] | 1 | 2018-05-04T00:14:33.000Z | 2018-05-04T00:14:33.000Z | SELECT PI.*
, IP.*
FROM ALL_PART_INDEXES PI
INNER JOIN ALL_IND_PARTITIONS IP
ON (PI.OWNER=IP.INDEX_OWNER
-- AND PI.TABLE_NAME=IP.INDEX_NAME
AND PI.INDEX_NAME=IP.INDEX_NAME
)
WHERE 1=1
/*if isNotEmpty(schemaName)*/
AND PI.OWNER IN /*schemaName*/('%')
/*end*/
/*if isNotEmpty(indexName)*/
AND PI.INDEX_NA... | 26.5625 | 70 | 0.703529 |
0959acbe1fe824d6eab95089a11e9808e4412807 | 548 | cc | C++ | device/bluetooth/floss/fake_floss_manager_client.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 76 | 2020-09-02T03:05:41.000Z | 2022-03-30T04:40:55.000Z | device/bluetooth/floss/fake_floss_manager_client.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | device/bluetooth/floss/fake_floss_manager_client.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2020-07-22T18:49:18.000Z | 2022-02-08T10:27:16.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/bluetooth/floss/fake_floss_manager_client.h"
#include "base/logging.h"
namespace floss {
FakeFlossManagerClient::FakeFlossManagerClien... | 27.4 | 75 | 0.786496 |
618e9e60a239510fbb161ac224c457632ca282ce | 142 | lua | Lua | yatm_mesecon_card_readers/nodes.lua | IceDragon200/mt-yatm | 7452f2905e1f4121dc9d244d18a23e76b11ebe5d | [
"Apache-2.0"
] | 3 | 2019-03-15T03:17:36.000Z | 2020-02-19T19:50:49.000Z | yatm_mesecon_card_readers/nodes.lua | IceDragon200/mt-yatm | 7452f2905e1f4121dc9d244d18a23e76b11ebe5d | [
"Apache-2.0"
] | 24 | 2019-12-02T06:01:04.000Z | 2021-04-08T04:09:27.000Z | yatm_mesecon_card_readers/nodes.lua | IceDragon200/mt-yatm | 7452f2905e1f4121dc9d244d18a23e76b11ebe5d | [
"Apache-2.0"
] | null | null | null | dofile(yatm_mesecon_card_readers.modpath .. "/nodes/card_readers.lua")
dofile(yatm_mesecon_card_readers.modpath .. "/nodes/card_swipers.lua")
| 47.333333 | 70 | 0.816901 |
a191aa76cc10bb6e2dc15638b9b3bf496a8facb1 | 286 | ts | TypeScript | src/app/shared/states/pokemon/pokemon.adapter.ts | sunsreng/ngrx-pokedex | ef1b49084deed53a1649ec270c341127b974228c | [
"MIT"
] | null | null | null | src/app/shared/states/pokemon/pokemon.adapter.ts | sunsreng/ngrx-pokedex | ef1b49084deed53a1649ec270c341127b974228c | [
"MIT"
] | 9 | 2020-07-18T02:11:13.000Z | 2022-02-26T16:56:36.000Z | src/app/shared/states/pokemon/pokemon.adapter.ts | sunsreng/ngrx-pokedex | ef1b49084deed53a1649ec270c341127b974228c | [
"MIT"
] | null | null | null | import { EntityState } from '@ngrx/entity';
import { Pokemon } from '@shared/interfaces/pokemon.interface';
import { createEntityAdapter } from '@ngrx/entity';
export const pokemonAdapter = createEntityAdapter<Pokemon>();
export interface PokemonState extends EntityState<Pokemon> {}
| 35.75 | 63 | 0.776224 |
14ec413843adc53e6816a9d6607135f8e98ff11b | 810 | hpp | C++ | gridworld/headers/Environment.hpp | LARG/regression-importance-sampling | 8cf2acf9313ab270c192fda29e1d5c1db68c2acc | [
"MIT"
] | 8 | 2019-06-06T17:56:08.000Z | 2021-11-27T05:42:40.000Z | gridworld/headers/Environment.hpp | LARG/regression-importance-sampling | 8cf2acf9313ab270c192fda29e1d5c1db68c2acc | [
"MIT"
] | 1 | 2020-12-21T16:08:01.000Z | 2021-01-04T13:53:48.000Z | gridworld/headers/Environment.hpp | LARG/regression-importance-sampling | 8cf2acf9313ab270c192fda29e1d5c1db68c2acc | [
"MIT"
] | 6 | 2019-06-14T00:18:31.000Z | 2022-02-05T21:50:27.000Z | #ifndef _ENVIRONMENT_HPP_
#define _ENVIRONMENT_HPP_
#include <Includes.hpp>
#include "Policy.h"
#include "Trajectory.h"
#include "Model.hpp"
class Environment {
public:
virtual int getNumActions() const = 0;
virtual int getNumStates() const = 0;
virtual int getMaxTrajLen() const = 0;
virtual void generateTrajecto... | 31.153846 | 122 | 0.740741 |
b74e589a9ca353c60544a57c4d8dda86a97cf017 | 6,136 | cc | C++ | cyber/class_loader/class_loader_test.cc | efc-robot/cyberRT | c0e63539cf97030c64545d87c203d4e457d481ca | [
"Apache-2.0"
] | 41 | 2020-12-07T07:32:02.000Z | 2022-01-18T09:14:59.000Z | cyber/class_loader/class_loader_test.cc | efc-robot/cyberRT | c0e63539cf97030c64545d87c203d4e457d481ca | [
"Apache-2.0"
] | 4 | 2021-01-05T02:53:46.000Z | 2021-11-05T08:35:46.000Z | cyber/class_loader/class_loader_test.cc | efc-robot/cyberRT | c0e63539cf97030c64545d87c203d4e457d481ca | [
"Apache-2.0"
] | 28 | 2020-12-06T08:01:38.000Z | 2022-03-10T08:14:01.000Z | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 32.125654 | 79 | 0.718546 |
4b978a1ff39635a620417cd5866024fc1900aea0 | 2,563 | cc | C++ | metrics/src/Meter.cc | benjamin-bader/cppmetrics | a5ab3295ad3a9774522f3bffa67732a0048a140e | [
"Apache-2.0"
] | 7 | 2018-07-09T20:41:10.000Z | 2022-01-04T07:41:11.000Z | metrics/src/Meter.cc | benjamin-bader/cppmetrics | a5ab3295ad3a9774522f3bffa67732a0048a140e | [
"Apache-2.0"
] | 6 | 2018-07-09T20:54:51.000Z | 2022-01-11T17:50:37.000Z | metrics/src/Meter.cc | benjamin-bader/cppmetrics | a5ab3295ad3a9774522f3bffa67732a0048a140e | [
"Apache-2.0"
] | 2 | 2018-07-09T20:22:16.000Z | 2019-02-07T20:44:56.000Z | // Copyright 2018 Benjamin Bader
//
// 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 agree... | 23.731481 | 121 | 0.679672 |
79db25e160cf312d4ee4299f2a97fdce5ac51b7c | 3,586 | php | PHP | app/Http/Controllers/Admin/TourController.php | vjetfpt/ass_php3 | 1c7986d7992189bb627b15b2d6d2ba2250f61a20 | [
"MIT"
] | null | null | null | app/Http/Controllers/Admin/TourController.php | vjetfpt/ass_php3 | 1c7986d7992189bb627b15b2d6d2ba2250f61a20 | [
"MIT"
] | null | null | null | app/Http/Controllers/Admin/TourController.php | vjetfpt/ass_php3 | 1c7986d7992189bb627b15b2d6d2ba2250f61a20 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Tour;
use App\Models\Category;
use App\Models\Gallery;
use App\Http\Requests\Admin\Tour\StoreRequest;
use App\Http\Requests\Admin\Tour\StoreEditRequest;
class TourController extends Controller
{
public function index()... | 32.899083 | 112 | 0.509202 |
72c78b5b5d024735916857edf73ecb30ffa29ad0 | 546 | cs | C# | MPM/Net/Protocols/Minecraft/ProtocolTypes/Asset.cs | DSTech/MPM_CS | 9c47d6729d7692b4f1260b1e7003dbfd33c096d1 | [
"MIT"
] | null | null | null | MPM/Net/Protocols/Minecraft/ProtocolTypes/Asset.cs | DSTech/MPM_CS | 9c47d6729d7692b4f1260b1e7003dbfd33c096d1 | [
"MIT"
] | null | null | null | MPM/Net/Protocols/Minecraft/ProtocolTypes/Asset.cs | DSTech/MPM_CS | 9c47d6729d7692b4f1260b1e7003dbfd33c096d1 | [
"MIT"
] | null | null | null | using System;
using MPM.Types;
using MPM.Util.Json;
using Newtonsoft.Json;
namespace MPM.Net.Protocols.Minecraft.ProtocolTypes {
public class Asset {
[JsonProperty("path", Required = Required.Always, Order = 1)]
public Uri @Uri { get; set; }
[JsonProperty("hash", Required = Required.Always... | 28.736842 | 69 | 0.641026 |
854dd31ea3388974fd6073fb409b1c8df71e28d9 | 3,106 | cs | C# | CommonLib/Extensions/DateTimeExtensions.cs | jakegough/jaytwo.CommonLib | 1ef307628300796ca5100f931236c4d00b4a3bf0 | [
"MIT"
] | 1 | 2016-06-25T03:17:44.000Z | 2016-06-25T03:17:44.000Z | CommonLib/Extensions/DateTimeExtensions.cs | jakegough/jaytwo.CommonLib | 1ef307628300796ca5100f931236c4d00b4a3bf0 | [
"MIT"
] | null | null | null | CommonLib/Extensions/DateTimeExtensions.cs | jakegough/jaytwo.CommonLib | 1ef307628300796ca5100f931236c4d00b4a3bf0 | [
"MIT"
] | null | null | null | using jaytwo.Common.Time;
using System;
using System.Globalization;
namespace jaytwo.Common.Extensions
{
public static class DateTimeExtensions
{
public static bool IsWeekend(this DateTime value)
{
return TimeUtility.IsWeekend(value);
}
public static bool IsWeekday(this DateTime value)
{
return Tim... | 24.650794 | 76 | 0.730844 |
beab56be24a47358aac70f56500bdd1d624282ab | 744 | tsx | TypeScript | src/dashboard/src/contexts/Clusters.tsx | Anbang-Hu/DLWorkspace | 09d82aa5efd4dc9523fd956f913f73e53a85c3c2 | [
"MIT"
] | null | null | null | src/dashboard/src/contexts/Clusters.tsx | Anbang-Hu/DLWorkspace | 09d82aa5efd4dc9523fd956f913f73e53a85c3c2 | [
"MIT"
] | null | null | null | src/dashboard/src/contexts/Clusters.tsx | Anbang-Hu/DLWorkspace | 09d82aa5efd4dc9523fd956f913f73e53a85c3c2 | [
"MIT"
] | null | null | null | import * as React from 'react'
import {
FunctionComponent,
createContext,
useContext,
useMemo
} from 'react'
import { find } from 'lodash'
import TeamContext from './Team'
interface ClustersContext {
clusters: any[]
}
const ClustersContext = createContext<ClustersContext>({ clusters: [] })
export default ... | 22.545455 | 72 | 0.680108 |
b41a0fa3fbf3947ee5d478dbbe0510384a032e11 | 1,078 | lua | Lua | modules/gamelib/position.lua | Sposito/otclient | d3e12b5d44a3f801b0b24fcf25dfd811929e6ba4 | [
"MIT"
] | 518 | 2015-01-10T18:09:26.000Z | 2022-03-27T11:41:33.000Z | modules/gamelib/position.lua | Sposito/otclient | d3e12b5d44a3f801b0b24fcf25dfd811929e6ba4 | [
"MIT"
] | 504 | 2015-01-01T17:34:59.000Z | 2022-03-25T18:27:37.000Z | modules/gamelib/position.lua | Sposito/otclient | d3e12b5d44a3f801b0b24fcf25dfd811929e6ba4 | [
"MIT"
] | 545 | 2015-01-08T09:37:10.000Z | 2022-03-05T00:57:50.000Z | Position = {}
function Position.equals(pos1, pos2)
return pos1.x == pos2.x and pos1.y == pos2.y and pos1.z == pos2.z
end
function Position.greaterThan(pos1, pos2, orEqualTo)
if orEqualTo then
return pos1.x >= pos2.x or pos1.y >= pos2.y or pos1.z >= pos2.z
else
return pos1.x > pos2.x or pos1.y > pos2.y o... | 29.135135 | 102 | 0.679035 |
e2c7e063572c79d4dcd177bfbe9b6b09d4bf5999 | 1,426 | py | Python | geni-lib/geni/aggregate/transit.py | AERPAW-Platform-Control/gateway | a80a25bb54a7cede82673f2385bb73d5aaa4963a | [
"MIT"
] | null | null | null | geni-lib/geni/aggregate/transit.py | AERPAW-Platform-Control/gateway | a80a25bb54a7cede82673f2385bb73d5aaa4963a | [
"MIT"
] | null | null | null | geni-lib/geni/aggregate/transit.py | AERPAW-Platform-Control/gateway | a80a25bb54a7cede82673f2385bb73d5aaa4963a | [
"MIT"
] | null | null | null | # Copyright (c) 2014-2015 Barnstormer Softworks, Ltd.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from __future__ import absolute_import
import inspect
import sy... | 32.409091 | 89 | 0.685133 |
bb2a3af26ea4d0334be61d35b0b07fe5482ec2d1 | 5,180 | cs | C# | FactLayer.Import/TVNewsCheckImporter.cs | jacobb84/fact-layer | 16a70988782fbd3b4e012e6f1e087879982dcb1b | [
"MIT"
] | 2 | 2021-08-17T09:48:28.000Z | 2022-01-10T08:03:23.000Z | FactLayer.Import/TVNewsCheckImporter.cs | jacobb84/fact-layer | 16a70988782fbd3b4e012e6f1e087879982dcb1b | [
"MIT"
] | 1 | 2022-03-13T15:41:01.000Z | 2022-03-14T13:20:21.000Z | FactLayer.Import/TVNewsCheckImporter.cs | jacobb84/fact-layer | 16a70988782fbd3b4e012e6f1e087879982dcb1b | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HtmlAgilityPack;
using System.Net;
using System.Configuration;
using System.IO;
using FactLayer.Import.Models;
using System.Web;
using Newtonsoft.Json.Linq;
namespace FactLayer.Import
{
public... | 49.333333 | 147 | 0.531467 |
93ef7924dc6c0d713a0dcce7952062ed6ff78f11 | 456 | cs | C# | Back end/Polaris/Database/Communication/IEntityHandler.cs | Parsa2820/Polaris-MSSQL | af897653f63faf12cc0f9bb53a6f31446eb4129c | [
"MIT"
] | null | null | null | Back end/Polaris/Database/Communication/IEntityHandler.cs | Parsa2820/Polaris-MSSQL | af897653f63faf12cc0f9bb53a6f31446eb4129c | [
"MIT"
] | null | null | null | Back end/Polaris/Database/Communication/IEntityHandler.cs | Parsa2820/Polaris-MSSQL | af897653f63faf12cc0f9bb53a6f31446eb4129c | [
"MIT"
] | null | null | null | using Models;
using System.Collections.Generic;
namespace Database.Communication
{
public interface IEntityHandler<TModel, TType> : IDatabaseHandler<TModel>
where TModel : Entity<TType>
{
TModel GetEntity(TType id, string sourceName);
IEnumerable<TModel> GetEntities(TType[] ids, string sour... | 32.571429 | 77 | 0.723684 |
b943f1dd8fc52d1931ff58cb3b67f6d98cf18abd | 1,392 | css | CSS | css/bootstrap.css | studiofluxx/studiofluxx | 79520bb2a40c8fa571af6a941d0359ce2f786963 | [
"MIT"
] | null | null | null | css/bootstrap.css | studiofluxx/studiofluxx | 79520bb2a40c8fa571af6a941d0359ce2f786963 | [
"MIT"
] | null | null | null | css/bootstrap.css | studiofluxx/studiofluxx | 79520bb2a40c8fa571af6a941d0359ce2f786963 | [
"MIT"
] | null | null | null | /* apply a natural box layout model to all elements, but allowing components to change */
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
background-color: #F5F7FA;
line-height: 1.2;
}
/**
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when ... | 18.077922 | 89 | 0.644397 |
391107ba757cd29c56bf9af4ebcf4c9f8ffa5be2 | 1,387 | py | Python | bucketlist/restapi/serializers.py | gitgik/djangular-bucketlist-app | 4c88cf9d0c5c091e6e4d930f4999d913039e4c25 | [
"MIT"
] | 3 | 2017-01-02T15:17:32.000Z | 2019-03-04T13:38:13.000Z | bucketlist/restapi/serializers.py | gitgik/djangular-bucketlist-app | 4c88cf9d0c5c091e6e4d930f4999d913039e4c25 | [
"MIT"
] | 3 | 2017-01-03T19:16:15.000Z | 2018-03-23T19:43:12.000Z | bucketlist/restapi/serializers.py | gitgik/djangular-bucketlist-app | 4c88cf9d0c5c091e6e4d930f4999d913039e4c25 | [
"MIT"
] | 2 | 2019-01-21T20:16:07.000Z | 2019-06-23T14:32:44.000Z | from django.contrib.auth.models import User
from rest_framework import serializers
from .models import Bucketlist, BucketlistItem
class UserSerializer(serializers.ModelSerializer):
"""Define the user api representation."""
class Meta:
"""Meta class."""
model = User
fields = ('usernam... | 28.895833 | 78 | 0.652487 |
eb2f97d2b1f6921fcfa7b716651318932fb6007e | 11,037 | css | CSS | resources/views/assets/plugins/ganttView/jquery.ganttView.css | samwelherman/agrihub | 5da6aef05feb7fc0cc3cea38d27cdaffb76d8256 | [
"MIT"
] | null | null | null | resources/views/assets/plugins/ganttView/jquery.ganttView.css | samwelherman/agrihub | 5da6aef05feb7fc0cc3cea38d27cdaffb76d8256 | [
"MIT"
] | null | null | null | resources/views/assets/plugins/ganttView/jquery.ganttView.css | samwelherman/agrihub | 5da6aef05feb7fc0cc3cea38d27cdaffb76d8256 | [
"MIT"
] | null | null | null | .gantt, .gantt2 {
width: 100%;
/*position: relative;*/
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.gantt:after {
content: ".";
visibility: hidden;
display: block;
height: 0;
clear: both;
}
.fn-gantt {
width: 100%;
}
.fn-gantt .f... | 20.51487 | 123 | 0.622633 |
b0c38d9f4d7f71a63ad44df7047e674036283fe5 | 3,442 | h | C | src/pairwise_aligners/SmithWatAffine.h | Amjadhpc/w2rap-contigger | 221f6cabedd19743046ee5dec18e6feb85130218 | [
"MIT"
] | 48 | 2016-04-26T16:52:59.000Z | 2022-01-15T09:18:17.000Z | src/pairwise_aligners/SmithWatAffine.h | Amjadhpc/w2rap-contigger | 221f6cabedd19743046ee5dec18e6feb85130218 | [
"MIT"
] | 45 | 2016-04-27T08:20:56.000Z | 2022-02-14T07:47:11.000Z | src/pairwise_aligners/SmithWatAffine.h | Amjadhpc/w2rap-contigger | 221f6cabedd19743046ee5dec18e6feb85130218 | [
"MIT"
] | 15 | 2016-05-11T14:35:25.000Z | 2022-01-15T09:18:45.000Z | ///////////////////////////////////////////////////////////////////////////////
// SOFTWARE COPYRIGHT NOTICE AGREEMENT //
// This software and its documentation are copyright (2010) by the //
// Broad Institute. All rights are reserved. This software is supplied //
... | 41.97561 | 135 | 0.543579 |
cd9325188a37e928fc27e9b9a09fa3f93b2a82f5 | 3,958 | cs | C# | src/Apps/WurmAssistant/WurmAssistant3/Areas/TrayPopups/PopupManager.cs | cts-randrid/WurmAssistant3 | 6387cf6f6235361e316658e5c28952d3839eeaaa | [
"MIT"
] | 2 | 2020-05-20T09:27:25.000Z | 2022-03-12T17:32:02.000Z | src/Apps/WurmAssistant/WurmAssistant3/Areas/TrayPopups/PopupManager.cs | cts-randrid/WurmAssistant3 | 6387cf6f6235361e316658e5c28952d3839eeaaa | [
"MIT"
] | 2 | 2020-12-16T07:13:24.000Z | 2021-01-09T17:31:12.000Z | src/Apps/WurmAssistant/WurmAssistant3/Areas/TrayPopups/PopupManager.cs | cts-randrid/WurmAssistant3 | 6387cf6f6235361e316658e5c28952d3839eeaaa | [
"MIT"
] | 7 | 2019-08-09T16:01:26.000Z | 2021-01-31T13:42:09.000Z | using System;
using System.Threading;
using System.Windows.Forms;
using AldursLab.WurmAssistant3.Areas.Config;
using AldursLab.WurmAssistant3.Areas.Logging;
using JetBrains.Annotations;
namespace AldursLab.WurmAssistant3.Areas.TrayPopups
{
class PopupManager
{
readonly ILogger logger;
readonly... | 35.657658 | 160 | 0.528297 |
a37f431ab7a42f7038d97ba10449ac21b989d137 | 312 | java | Java | guide/code/oopbasic/src/cn/edu/sdut/softlab/oopbasic/inherit/step4/DebitCard.java | subaochen/java-tutorial | aaa6d2dba507fbc5d8432ea0fef72b26e1f3dd96 | [
"Apache-2.0"
] | 23 | 2017-02-28T03:56:44.000Z | 2021-01-10T03:42:18.000Z | guide/code/oopbasic/src/cn/edu/sdut/softlab/oopbasic/inherit/step4/DebitCard.java | subaochen/java-tutorial | aaa6d2dba507fbc5d8432ea0fef72b26e1f3dd96 | [
"Apache-2.0"
] | 28 | 2017-02-28T10:18:56.000Z | 2018-08-18T00:37:56.000Z | guide/code/oopbasic/src/cn/edu/sdut/softlab/oopbasic/inherit/step4/DebitCard.java | subaochen/java-tutorial | aaa6d2dba507fbc5d8432ea0fef72b26e1f3dd96 | [
"Apache-2.0"
] | 15 | 2017-02-28T04:11:27.000Z | 2019-09-05T07:47:42.000Z | package cn.edu.sdut.softlab.oopbasic.inherit.step4;
public class DebitCard extends BankCard {
float balance;
DebitCard() {
System.out.println("DebitCard constuctor called");
}
public DebitCard(String cardNo) {
super(cardNo);
System.out.println("DebitCard constuctor called,cardNo=" + cardNo);
}
}
| 19.5 | 69 | 0.740385 |
dde7143dd73e6da847a1296b8ba99eac2abba569 | 1,771 | java | Java | src/main/java/com/jpa/core/services/ConfigurationLoaderService.java | tomasanchez/jpa-template | ceea1c0f0c27eb6a9ef20ffb7e6dcee7ec51411a | [
"MIT"
] | 1 | 2022-03-03T03:36:18.000Z | 2022-03-03T03:36:18.000Z | src/main/java/com/jpa/core/services/ConfigurationLoaderService.java | tomasanchez/jpa-template | ceea1c0f0c27eb6a9ef20ffb7e6dcee7ec51411a | [
"MIT"
] | null | null | null | src/main/java/com/jpa/core/services/ConfigurationLoaderService.java | tomasanchez/jpa-template | ceea1c0f0c27eb6a9ef20ffb7e6dcee7ec51411a | [
"MIT"
] | null | null | null | package com.jpa.core.services;
import java.util.Set;
import com.jpa.core.config.Configuration;
import com.jpa.core.config.SimpleConfiguration;
import org.reflections.Reflections;
/**
* @author Tomás Sánchez
*/
public class ConfigurationLoaderService {
private static ConfigurationLoaderService instance;
/*... | 29.516667 | 95 | 0.501976 |
e222d546ab3eb2379e36191a676f49da574da5c7 | 6,620 | py | Python | m2cgen/interpreters/code_generator.py | yarix/m2cgen | f1aa01e4c70a6d1a8893e27bfbe3c36fcb1e8546 | [
"MIT"
] | null | null | null | m2cgen/interpreters/code_generator.py | yarix/m2cgen | f1aa01e4c70a6d1a8893e27bfbe3c36fcb1e8546 | [
"MIT"
] | null | null | null | m2cgen/interpreters/code_generator.py | yarix/m2cgen | f1aa01e4c70a6d1a8893e27bfbe3c36fcb1e8546 | [
"MIT"
] | null | null | null | from io import StringIO
from weakref import finalize
class CodeTemplate:
def __init__(self, template):
self.str_template = template
def __str__(self):
return self.str_template
def __call__(self, *args, **kwargs):
# Force calling str() representation
# because without it ... | 32.45098 | 78 | 0.663293 |
249f2f4464b2d0451dd22992bb79cf7c055b030a | 2,421 | php | PHP | app/Http/Controllers/IndicatorsController.php | Dagitpam/attendance-cgwc | 0514bbdcd64cdca1c3036ead777c4f9ff3356975 | [
"MIT"
] | null | null | null | app/Http/Controllers/IndicatorsController.php | Dagitpam/attendance-cgwc | 0514bbdcd64cdca1c3036ead777c4f9ff3356975 | [
"MIT"
] | null | null | null | app/Http/Controllers/IndicatorsController.php | Dagitpam/attendance-cgwc | 0514bbdcd64cdca1c3036ead777c4f9ff3356975 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Indicator;
use App\Welfare;
use Illuminate\Support\Str;
class IndicatorsController extends Controller
{
public function index()
{
$indicators = Indicator::all();
return view('indicators.dashboard', compact('indicators'... | 26.604396 | 101 | 0.479967 |
93ffef55515bdb3736784929d83d35f8a37f61d0 | 3,673 | cs | C# | sdk/purview/Microsoft.Azure.Management.Purview/src/Generated/Models/DeletedAccountPropertiesModel.cs | brpanask/azure-sdk-for-net | 3c5d212a7fd370cf026ba30c87bd638e8831b1fd | [
"MIT"
] | 2 | 2020-07-15T18:46:25.000Z | 2021-07-07T12:37:53.000Z | sdk/purview/Microsoft.Azure.Management.Purview/src/Generated/Models/DeletedAccountPropertiesModel.cs | brpanask/azure-sdk-for-net | 3c5d212a7fd370cf026ba30c87bd638e8831b1fd | [
"MIT"
] | 5 | 2019-07-17T16:14:23.000Z | 2021-09-30T00:21:31.000Z | sdk/purview/Microsoft.Azure.Management.Purview/src/Generated/Models/DeletedAccountPropertiesModel.cs | brpanask/azure-sdk-for-net | 3c5d212a7fd370cf026ba30c87bd638e8831b1fd | [
"MIT"
] | 4 | 2020-11-23T10:36:33.000Z | 2021-08-10T21:53:45.000Z | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | 36.73 | 348 | 0.61639 |
c4558fbd859bb4fa149ffcb26e4d59bf1add6b84 | 12,961 | swift | Swift | Frameworks/TBAData/Tests/District/DistrictTests.swift | ZachOrr/the-blue-alliance-ios | 4aa18a37bf4357cf4c69ebe1910d9e3a87b73060 | [
"MIT"
] | 60 | 2015-02-27T16:34:00.000Z | 2022-03-30T18:51:51.000Z | Frameworks/TBAData/Tests/District/DistrictTests.swift | ZachOrr/the-blue-alliance-ios | 4aa18a37bf4357cf4c69ebe1910d9e3a87b73060 | [
"MIT"
] | 516 | 2015-05-01T07:11:17.000Z | 2022-03-29T06:24:06.000Z | Frameworks/TBAData/Tests/District/DistrictTests.swift | ZachOrr/the-blue-alliance-ios | 4aa18a37bf4357cf4c69ebe1910d9e3a87b73060 | [
"MIT"
] | 39 | 2015-11-10T22:32:37.000Z | 2020-12-19T20:30:53.000Z | import CoreData
import TBADataTesting
import TBAKit
import XCTest
@testable import TBAData
class DistrictTestCase: TBADataTestCase {
func test_abbreviation() {
let district = District.init(entity: District.entity(), insertInto: persistentContainer.viewContext)
district.abbreviationRaw = "zor"
... | 41.146032 | 278 | 0.686135 |
099a2badb2e12950bbb314e2ae5c9f69ba5b060c | 2,382 | swift | Swift | Playgrounds/AudioKitPlaygrounds/Playgrounds/Effects.playground/Pages/Reverb.xcplaygroundpage/Contents.swift | GrandLarseny/AudioKit | f88c243c202736b25b383491332e38367b830187 | [
"MIT"
] | 2 | 2021-11-21T00:12:01.000Z | 2022-03-03T21:09:26.000Z | Playgrounds/AudioKitPlaygrounds/Playgrounds/Effects.playground/Pages/Reverb.xcplaygroundpage/Contents.swift | GrandLarseny/AudioKit | f88c243c202736b25b383491332e38367b830187 | [
"MIT"
] | null | null | null | Playgrounds/AudioKitPlaygrounds/Playgrounds/Effects.playground/Pages/Reverb.xcplaygroundpage/Contents.swift | GrandLarseny/AudioKit | f88c243c202736b25b383491332e38367b830187 | [
"MIT"
] | null | null | null | //: ## Simple Reverb
//: This is an implementation of Apple's simplest reverb which only allows you to set presets
import AudioKitPlaygrounds
import AudioKit
let file = try AKAudioFile(readFileName: playgroundAudioFiles[0])
let player = AKPlayer(audioFile: file)
player.isLooping = true
var reverb = AKReverb(player)
... | 32.189189 | 96 | 0.605793 |