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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b0a6135536e48f8004b729575f5f4284e28384bc | 1,903 | py | Python | slotted_outlier_removal.py | abdullah8a0/sweepline | 83ab2e34ed317c7ccef5cb2a10c491d2abec6b71 | [
"MIT"
] | null | null | null | slotted_outlier_removal.py | abdullah8a0/sweepline | 83ab2e34ed317c7ccef5cb2a10c491d2abec6b71 | [
"MIT"
] | null | null | null | slotted_outlier_removal.py | abdullah8a0/sweepline | 83ab2e34ed317c7ccef5cb2a10c491d2abec6b71 | [
"MIT"
] | null | null | null | import numpy as np
def remove_outliers(X:np.ndarray,Y:np.ndarray):
assert len(X.shape) == len(Y.shape) == 1
assert X.size == Y.size
EPSILON_X = 0.02
EPSILON_Y = 0.04
groups : dict= {0:{0}}
block = [(0,X[0],Y[0],0)]
for i,(x,y) in enumerate(zip(X[1:],Y[1:]),1):
while block an... | 30.693548 | 92 | 0.493431 |
38666cfa0a30807765a415ec132db9ac2172c35b | 6,186 | php | PHP | wstmart/home/controller/Friend.php | Elmwoods/PWareHouse | 2a266c1a9c961b4088e4272bdad158a3ff71430a | [
"Apache-2.0"
] | null | null | null | wstmart/home/controller/Friend.php | Elmwoods/PWareHouse | 2a266c1a9c961b4088e4272bdad158a3ff71430a | [
"Apache-2.0"
] | null | null | null | wstmart/home/controller/Friend.php | Elmwoods/PWareHouse | 2a266c1a9c961b4088e4272bdad158a3ff71430a | [
"Apache-2.0"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: Lynn
* Date: 2017/4/26
* Time: 9:21
*/
namespace wstmart\home\controller;
use think\Controller;
class Friend extends Controller {
public $request;
public function __construct() {
$this -> request = request();
}
//获取朋友列表
... | 46.863636 | 172 | 0.461849 |
bb67cada5e9b6699c868f89c93116955f0052211 | 2,223 | cs | C# | src/resharper-angularjs/Daemon/AngularJs/Stages/AngularJsDaemonStageBase.cs | jmkni/resharper-angularjs | 875ab82bfc4918cc0c3a1423d1db573712d9bf8e | [
"Apache-2.0"
] | 1 | 2017-12-01T13:46:03.000Z | 2017-12-01T13:46:03.000Z | src/resharper-angularjs/Daemon/AngularJs/Stages/AngularJsDaemonStageBase.cs | jmkni/resharper-angularjs | 875ab82bfc4918cc0c3a1423d1db573712d9bf8e | [
"Apache-2.0"
] | null | null | null | src/resharper-angularjs/Daemon/AngularJs/Stages/AngularJsDaemonStageBase.cs | jmkni/resharper-angularjs | 875ab82bfc4918cc0c3a1423d1db573712d9bf8e | [
"Apache-2.0"
] | null | null | null | #region license
// Copyright 2014 JetBrains s.r.o.
//
// 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... | 40.418182 | 153 | 0.74404 |
1426222bc1a803a186b87a0b8de290f591bef2ea | 2,067 | dart | Dart | lib/sqlite3_library_linux.dart | Milvintsiss/sqlite3_library_linux | aee7cee5e2e0c0d8147f76e5f85633c34fc83dad | [
"MIT"
] | 2 | 2021-03-08T14:31:03.000Z | 2021-06-28T15:45:40.000Z | lib/sqlite3_library_linux.dart | Milvintsiss/sqlite3_library_linux | aee7cee5e2e0c0d8147f76e5f85633c34fc83dad | [
"MIT"
] | null | null | null | lib/sqlite3_library_linux.dart | Milvintsiss/sqlite3_library_linux | aee7cee5e2e0c0d8147f76e5f85633c34fc83dad | [
"MIT"
] | null | null | null | /// Flutter package to bundle sqlite3 library to your linux apps
library sqlite3_library_linux;
import 'dart:ffi' show DynamicLibrary;
import 'dart:io' show File, Platform;
/// Relative path to default SQLite3 library file
const defaultSQLite3LinuxLibraryPath =
'/data/flutter_assets/packages/sqlite3_library_linux... | 32.296875 | 82 | 0.706821 |
b7195e0b4a7870d5eb1e153904e59c4b42652bbe | 2,773 | cpp | C++ | systems/polyvox/PolyVoxShader.cpp | phisko/kengine | c30f98cc8e79cce6574b5f61088b511f29bbe8eb | [
"MIT"
] | 259 | 2018-11-01T05:12:37.000Z | 2022-03-28T11:15:27.000Z | systems/polyvox/PolyVoxShader.cpp | raptoravis/kengine | 619151c20e9db86584faf04937bed3d084e3bc21 | [
"MIT"
] | 2 | 2018-11-30T13:58:44.000Z | 2018-12-17T11:58:42.000Z | systems/polyvox/PolyVoxShader.cpp | raptoravis/kengine | 619151c20e9db86584faf04937bed3d084e3bc21 | [
"MIT"
] | 16 | 2018-12-01T13:38:18.000Z | 2021-12-04T21:31:55.000Z | #include "PolyVoxShader.hpp"
#include "EntityManager.hpp"
#include "data/TransformComponent.hpp"
#include "data/PolyVoxComponent.hpp"
#include "data/GraphicsComponent.hpp"
#include "data/ModelComponent.hpp"
#include "data/OpenGLModelComponent.hpp"
#include "systems/opengl/shaders/ApplyTransparencySrc.hpp"
#include ... | 25.440367 | 135 | 0.728814 |
b72bcdc1cba305dc1b857157a455e1a46417bce8 | 2,902 | hpp | C++ | src/xalanc/XPath/XNumber.hpp | kidaa/xalan-c | bb666d0ab3d0a192410823e6857c203d83c27b16 | [
"Apache-2.0"
] | null | null | null | src/xalanc/XPath/XNumber.hpp | kidaa/xalan-c | bb666d0ab3d0a192410823e6857c203d83c27b16 | [
"Apache-2.0"
] | 1 | 2021-08-18T12:32:31.000Z | 2021-08-18T12:32:31.000Z | src/xalanc/XPath/XNumber.hpp | AaronNGray/xalan | 6741bbdcb64a9d33df8bd7e21b558d66bb4292ec | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License");
* you m... | 23.216 | 75 | 0.677119 |
7dc53c4f74e5199576555cf12951ba4cb74286b6 | 35 | css | CSS | src/app/login/login.component.css | rjriel/ocasc-kb-frontend | d31b08799ce22ad0825ae71b6f6fbd2e92dd1320 | [
"MIT"
] | 1 | 2018-10-14T16:04:17.000Z | 2018-10-14T16:04:17.000Z | src/app/login/login.component.css | rjriel/ocasc-kb-frontend | d31b08799ce22ad0825ae71b6f6fbd2e92dd1320 | [
"MIT"
] | 1 | 2018-10-14T19:39:32.000Z | 2018-10-16T23:49:45.000Z | src/app/login/login.component.css | rjriel/ocasc-kb-frontend | d31b08799ce22ad0825ae71b6f6fbd2e92dd1320 | [
"MIT"
] | null | null | null | .mat-card {
max-width: 480px;
} | 11.666667 | 21 | 0.571429 |
744f66c35d32c17a873bace42a5d00b25859edba | 1,001 | css | CSS | public/css/reboot.css | Stephdw974/lappdlavi | d0429609931c2c7751e07fed2a772d61bc4e43f3 | [
"MIT"
] | null | null | null | public/css/reboot.css | Stephdw974/lappdlavi | d0429609931c2c7751e07fed2a772d61bc4e43f3 | [
"MIT"
] | 3 | 2021-03-10T05:44:39.000Z | 2022-02-18T19:12:15.000Z | public/css/reboot.css | Stephdw974/lappdlavi | d0429609931c2c7751e07fed2a772d61bc4e43f3 | [
"MIT"
] | null | null | null | @import "/css/fonts.min.css";
#app {
margin: 56px 0 56px 0;
}
.bg-rb {
background-color: var(--mainColor);
color: #f8f9fa;
}
.text-rb {
color: var(--mainColor);
}
.border-rb {
border-color: var(--mainColor);
}
.btn-rb {
background-color: var(--mainColor);
color: #f8f9fa;
}
.btn-rb:hove... | 15.166667 | 39 | 0.579421 |
afa38416a46ffbadd01ef6f9767c7d7dcd6cff8c | 728 | py | Python | test_autoarray/plot/mat_wrap/test_visuals.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | 5 | 2019-09-26T02:18:25.000Z | 2021-12-11T16:29:20.000Z | test_autoarray/plot/mat_wrap/test_visuals.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | 3 | 2020-03-30T14:25:57.000Z | 2021-12-21T17:10:55.000Z | test_autoarray/plot/mat_wrap/test_visuals.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | 4 | 2020-03-03T11:35:41.000Z | 2022-01-21T17:37:35.000Z | import autoarray.plot as aplt
class TestAbstractVisuals:
def test__add_visuals_together__replaces_nones(self):
visuals_1 = aplt.Visuals2D(mask=1)
visuals_0 = aplt.Visuals2D(border=10)
visuals = visuals_0 + visuals_1
assert visuals.mask == 1
assert visuals.bor... | 26.962963 | 58 | 0.615385 |
d98cd5f2a2d12f9d01f77b524fa5f88fd0603493 | 469 | rs | Rust | json-rpc/src/stream_rpc/errors.rs | GreyHyphen/dijets | 8c94c5c079fd025929dbd0455fc0e76d62e418c2 | [
"Apache-2.0"
] | null | null | null | json-rpc/src/stream_rpc/errors.rs | GreyHyphen/dijets | 8c94c5c079fd025929dbd0455fc0e76d62e418c2 | [
"Apache-2.0"
] | 123 | 2021-08-31T19:16:05.000Z | 2022-03-31T19:35:09.000Z | json-rpc/src/stream_rpc/errors.rs | lasthyphen/dijets | 35fc1295628bd3316f2923e677e062770949698b | [
"Apache-2.0"
] | null | null | null | // Copyright (c) The Dijets Core Contributors
// SPDX-License-Identifier: Apache-2.0
use thiserror::Error;
#[derive(Debug, Error)]
pub enum StreamError {
#[error("Could not convert {0} to string")]
CouldNotStringifyMessage(String),
#[error("Client#{0} is closed")]
ClientAlreadyClosed(u64),
#[error... | 27.588235 | 63 | 0.695096 |
8b8e268909d6ad27e20ac42f6ad445dbbdf2848b | 3,368 | rb | Ruby | fastlane/platforms/ios.rb | drewvolz/AAO-React-Native | 03c3a2721267beb0f100e3cdabecbc5e2addac3d | [
"MIT"
] | null | null | null | fastlane/platforms/ios.rb | drewvolz/AAO-React-Native | 03c3a2721267beb0f100e3cdabecbc5e2addac3d | [
"MIT"
] | null | null | null | fastlane/platforms/ios.rb | drewvolz/AAO-React-Native | 03c3a2721267beb0f100e3cdabecbc5e2addac3d | [
"MIT"
] | null | null | null | # coding: utf-8
require 'json'
platform :ios do
desc 'Runs all the tests'
lane :test do
scan(scheme: ENV['GYM_SCHEME'], project: ENV['GYM_PROJECT'])
end
desc 'Take screenshots'
lane :screenshot do
devices = [
'iPhone 7 Plus',
'iPhone 6',
'iPhone 5s',
# 'iPhone 4s',
'iPa... | 27.16129 | 203 | 0.633314 |
3f9fd6229d48480c995107c049e899ef3bf1d7e8 | 2,359 | php | PHP | resources/views/backend/galerycategory/create.blade.php | Yahsimedya/yaylacikDemo | 76a0ff97e0137602124ddd7600027344217c699f | [
"MIT"
] | 1 | 2021-11-30T09:26:52.000Z | 2021-11-30T09:26:52.000Z | resources/views/backend/galerycategory/create.blade.php | Yahsimedya/kirikkalehaber | a5b2fc22e8f29261a5bde91bb208e249cc5342a6 | [
"MIT"
] | null | null | null | resources/views/backend/galerycategory/create.blade.php | Yahsimedya/kirikkalehaber | a5b2fc22e8f29261a5bde91bb208e249cc5342a6 | [
"MIT"
] | null | null | null | @extends('admin.admin_master')
@section('admin')
<div class="content">
<div class="card">
<div class="card-body">
<form action="{{route('create.galerycategory')}}" method="post">
@csrf
<fieldset class="mb-3">
<legend class="text-uppercase font-size-sm font-weight-bold">Kategori Ekle</legend>
... | 37.444444 | 106 | 0.523103 |
bb214ef4711e4ce343304d0aa5a122683d9438a7 | 1,252 | cs | C# | DataAccessLayer/EntityFremawork/EfArticlesDal.cs | OzkanBahrianil/HealthProject | 0ad84b2af487fbc487f3ebe40627340e1b59889a | [
"Apache-2.0"
] | null | null | null | DataAccessLayer/EntityFremawork/EfArticlesDal.cs | OzkanBahrianil/HealthProject | 0ad84b2af487fbc487f3ebe40627340e1b59889a | [
"Apache-2.0"
] | null | null | null | DataAccessLayer/EntityFremawork/EfArticlesDal.cs | OzkanBahrianil/HealthProject | 0ad84b2af487fbc487f3ebe40627340e1b59889a | [
"Apache-2.0"
] | null | null | null | using DataAccessLayer.Abstract;
using DataAccessLayer.Concrete;
using DataAccessLayer.Repositories;
using EntityLayer.Concrate;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namesp... | 30.536585 | 123 | 0.61901 |
76f7d44ae3d30d6ecdd4cc1f9cc8347fd7e85e31 | 1,201 | ps1 | PowerShell | Chapter03/3.6 - Leveraging Compatibility.ps1 | EpicJohnson/CookbookClone | fdd11e8be595b3ac5fe00eb79184fcf2cb169c09 | [
"MIT"
] | 7 | 2020-10-04T14:20:20.000Z | 2022-03-31T07:43:40.000Z | Chapter03/3.6 - Leveraging Compatibility.ps1 | EpicJohnson/CookbookClone | fdd11e8be595b3ac5fe00eb79184fcf2cb169c09 | [
"MIT"
] | null | null | null | Chapter03/3.6 - Leveraging Compatibility.ps1 | EpicJohnson/CookbookClone | fdd11e8be595b3ac5fe00eb79184fcf2cb169c09 | [
"MIT"
] | 4 | 2021-07-28T05:06:00.000Z | 2022-03-01T05:07:37.000Z | # 3.6 - Leveraging Compatibility.ps1
# run on SRV1 after installing PowerShell 7 and VS Code.
# Ensure you start a fresh session (or create a new terminal in VS Code)
# run in an elevated console as well.;
# 1. Creating a session using the reserved name
$S1 = New-PSSession -Name WinPSCompatSession -ComputerName SRV1
... | 33.361111 | 75 | 0.787677 |
085ff752ee929b5e1ba60fce2cb72b5dc53df764 | 8,734 | cc | C++ | proxy/proxy_connector.cc | IanCassTwo/wanproxy | aab37fa4a44f4b27e0acc2bcf7e1648942676f6a | [
"BSD-2-Clause"
] | 2 | 2016-02-01T20:13:56.000Z | 2019-05-14T15:57:27.000Z | proxy/proxy_connector.cc | IanCassTwo/wanproxy | aab37fa4a44f4b27e0acc2bcf7e1648942676f6a | [
"BSD-2-Clause"
] | 1 | 2020-06-25T13:19:21.000Z | 2020-07-17T15:00:08.000Z | proxy/proxy_connector.cc | IanCassTwo/wanproxy | aab37fa4a44f4b27e0acc2bcf7e1648942676f6a | [
"BSD-2-Clause"
] | 3 | 2016-02-01T20:14:25.000Z | 2021-12-19T16:47:10.000Z | /*
* Copyright (c) 2008-2011 Juli Mallett. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of cond... | 31.992674 | 112 | 0.667163 |
f8200e0ffb31ef8789dc870466917fbefbc30839 | 658 | sh | Shell | .ci/aarch64/clean_up_aarch64.sh | liubin/tests | 11ea324de4144c5dc67e9e6fe9cb5514231089c9 | [
"Apache-2.0"
] | 154 | 2017-12-04T08:35:56.000Z | 2022-01-21T14:01:45.000Z | .ci/aarch64/clean_up_aarch64.sh | liubin/tests | 11ea324de4144c5dc67e9e6fe9cb5514231089c9 | [
"Apache-2.0"
] | 4,512 | 2017-12-15T18:44:55.000Z | 2022-03-31T20:59:31.000Z | .ci/aarch64/clean_up_aarch64.sh | liubin/tests | 11ea324de4144c5dc67e9e6fe9cb5514231089c9 | [
"Apache-2.0"
] | 163 | 2017-11-13T11:32:30.000Z | 2022-03-21T10:24:52.000Z | #!/bin/bash
#
# Copyright (c) 2018 ARM Limited
#
# SPDX-License-Identifier: Apache-2.0
source "/etc/os-release" || source "/usr/lib/os-release"
tests_repo="${tests_repo:-github.com/kata-containers/tests}"
lib_script="${GOPATH}/src/${tests_repo}/.ci/lib.sh"
source "${lib_script}"
gen_clean_arch || info "Arch cleanup ... | 28.608696 | 69 | 0.62614 |
06645065e1092b2b59c68b62093df06c47df8733 | 506 | swift | Swift | TicTacToe/TicTacToe/Model/TicTacToe.swift | huntermcneil/TicTacToeGroup | 17ea898dc0bdb896d7af8395ca58b04698e9edf8 | [
"MIT"
] | null | null | null | TicTacToe/TicTacToe/Model/TicTacToe.swift | huntermcneil/TicTacToeGroup | 17ea898dc0bdb896d7af8395ca58b04698e9edf8 | [
"MIT"
] | null | null | null | TicTacToe/TicTacToe/Model/TicTacToe.swift | huntermcneil/TicTacToeGroup | 17ea898dc0bdb896d7af8395ca58b04698e9edf8 | [
"MIT"
] | 1 | 2020-07-08T17:54:49.000Z | 2020-07-08T17:54:49.000Z | //
// TicTacToe.swift
// TicTacToe
//
// Created by adetokunbo babatunde on 7/8/20.
// Copyright © 2020 Hunter McNeil. All rights reserved.
//
import Foundation
struct TicTacToe {
var activePlayer = 1
var count = 1
var gameState = [0, 0, 0, 0, 0, 0, 0, 0, 0]
var gameIsActive = true
let winning... | 24.095238 | 118 | 0.567194 |
872cc03fed1ec26035664e52d8eb28b02d9903a5 | 1,345 | swift | Swift | Sources/ModelsDSTU2/CodeSystemConditionCategoryCodes.swift | GrandLarseny/FHIRModels | d4acbcf08376af10d20c1df808e6f943d2033912 | [
"Apache-2.0"
] | 117 | 2020-06-26T17:12:32.000Z | 2022-03-20T18:34:05.000Z | Sources/ModelsDSTU2/CodeSystemConditionCategoryCodes.swift | GrandLarseny/FHIRModels | d4acbcf08376af10d20c1df808e6f943d2033912 | [
"Apache-2.0"
] | 14 | 2020-06-30T14:55:50.000Z | 2022-03-18T20:30:19.000Z | Sources/ModelsDSTU2/CodeSystemConditionCategoryCodes.swift | GrandLarseny/FHIRModels | d4acbcf08376af10d20c1df808e6f943d2033912 | [
"Apache-2.0"
] | 24 | 2020-08-19T15:48:58.000Z | 2022-03-26T11:20:14.000Z | //
// CodeSystems.swift
// HealthRecords
//
// Generated from FHIR 1.0.2.7202
// Copyright 2020 Apple Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apach... | 32.02381 | 109 | 0.734572 |
2f44480ec94aa1132cdfe090adc873bdf0868ab3 | 1,122 | js | JavaScript | src/index.js | CalvinHacks/calvinhacks-2020 | 01b75b9c04a44f8a84aba3243d24191bb1ab0e00 | [
"MIT"
] | null | null | null | src/index.js | CalvinHacks/calvinhacks-2020 | 01b75b9c04a44f8a84aba3243d24191bb1ab0e00 | [
"MIT"
] | 5 | 2021-03-10T14:48:34.000Z | 2022-02-18T16:53:05.000Z | src/index.js | CalvinHacks/calvinhacks-2020 | 01b75b9c04a44f8a84aba3243d24191bb1ab0e00 | [
"MIT"
] | null | null | null | // Images
// import './images/atomic-object.png'
// import './images/TEKTON.png'
// import './images/profile.jpg'
import './images/atomic-object.png'
import './images/TEKTON.png'
import './images/profile.jpg'
import './images/steelcase.svg'
import './images/pec-tech.png'
import './images/spindance.jpg'
import './image... | 25.5 | 49 | 0.730838 |
28c3df9e352a260b13ba14d9ce91c4a1e4203984 | 5,462 | swift | Swift | DuckDuckGo/ConfigurationDebugViewController.swift | brenoxp/iOS | e3ff95dd74d429f950faf147ad618ce4f1db2196 | [
"Apache-2.0"
] | null | null | null | DuckDuckGo/ConfigurationDebugViewController.swift | brenoxp/iOS | e3ff95dd74d429f950faf147ad618ce4f1db2196 | [
"Apache-2.0"
] | null | null | null | DuckDuckGo/ConfigurationDebugViewController.swift | brenoxp/iOS | e3ff95dd74d429f950faf147ad618ce4f1db2196 | [
"Apache-2.0"
] | null | null | null | //
// ConfigurationDebugViewController.swift
// DuckDuckGo
//
// Copyright © 2020 DuckDuckGo. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | 32.129412 | 132 | 0.636031 |
68dd99ecb4004c73ff0094e5ad7accb14543263e | 5,888 | ps1 | PowerShell | Functions.Tests/Import-VisualStudioVars.Tests.ps1 | worseTyler/PSToolbox | 317387c4183544c6d456413b372889b2d0d505a9 | [
"MIT"
] | 5 | 2017-03-10T01:46:49.000Z | 2020-02-29T09:41:56.000Z | Functions.Tests/Import-VisualStudioVars.Tests.ps1 | worseTyler/PSToolbox | 317387c4183544c6d456413b372889b2d0d505a9 | [
"MIT"
] | 49 | 2016-05-19T21:53:26.000Z | 2022-01-31T21:17:56.000Z | Functions.Tests/Import-VisualStudioVars.Tests.ps1 | worseTyler/PSToolbox | 317387c4183544c6d456413b372889b2d0d505a9 | [
"MIT"
] | 6 | 2017-02-03T01:15:10.000Z | 2022-02-28T19:22:12.000Z | $sut = $PSCommandPath.Replace(".Tests", "")
. $sut
#ToDO: These should be imported from PSCX... for some reason that fails to happen.
#Function Push-EnvironmentBlock() {}
Function Invoke-BatchFile([string]$Path, [string]$Parameters) {}
function DebugBreak{}
function Debug{
Set-PSBreakpoint -command Debug... | 33.265537 | 145 | 0.46858 |
26927f30978c6242541b67c571adc79a7f35ad15 | 10,920 | ps1 | PowerShell | Allfiles/Mod01/Labfiles/Solution/Exercise 1/packages/EntityFramework.6.2.0/tools/install.ps1 | vijayraavi/20483-Programming-in-C-Sharp | 5f8eff07cd6e0461283953c7c763662b8133ab9c | [
"MIT"
] | 286 | 2018-01-18T19:05:24.000Z | 2022-03-09T01:01:05.000Z | Allfiles/Mod01/Labfiles/Solution/Exercise 1/packages/EntityFramework.6.2.0/tools/install.ps1 | bogdan71/20483-Programming-in-C-Sharp | 8f1f982cc219e0840584cd5cd94c1cee7c327ec4 | [
"MIT"
] | 27 | 2018-06-07T14:43:15.000Z | 2022-02-15T11:55:16.000Z | Allfiles/Mod01/Labfiles/Solution/Exercise 1/packages/EntityFramework.6.2.0/tools/install.ps1 | bogdan71/20483-Programming-in-C-Sharp | 8f1f982cc219e0840584cd5cd94c1cee7c327ec4 | [
"MIT"
] | 382 | 2018-03-09T00:58:34.000Z | 2022-03-30T21:17:49.000Z | param($installPath, $toolsPath, $package, $project)
Initialize-EFConfiguration $project
Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'
Write-Host
Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework commands."
... | 65 | 125 | 0.933333 |
852f2bc3304e289998c0de756f7de5e4b61f991e | 255 | cs | C# | Exam11Nov2016/Exam/SchoolSystem.Framework/IStudentFactory.cs | pavelhristov/CSharpDesignPatterns | d51c51a9b31e08edcc73d2e2b4eca1bae8c270c1 | [
"MIT"
] | null | null | null | Exam11Nov2016/Exam/SchoolSystem.Framework/IStudentFactory.cs | pavelhristov/CSharpDesignPatterns | d51c51a9b31e08edcc73d2e2b4eca1bae8c270c1 | [
"MIT"
] | null | null | null | Exam11Nov2016/Exam/SchoolSystem.Framework/IStudentFactory.cs | pavelhristov/CSharpDesignPatterns | d51c51a9b31e08edcc73d2e2b4eca1bae8c270c1 | [
"MIT"
] | null | null | null | using SchoolSystem.Framework.Models.Contracts;
using SchoolSystem.Framework.Models.Enums;
namespace SchoolSystem.Framework
{
public interface IStudentFactory
{
IStudent GetStudent(string firstName, string lastName, Grade grade);
}
}
| 23.181818 | 76 | 0.764706 |
94030aca11aa1b8021fdbdeab4bd6e47eb1019a9 | 5,790 | sql | SQL | test/seed.sql | swashcap/habari2jekyll | d473c57b360345561b92d036ae2b2e978bc26a75 | [
"MIT"
] | null | null | null | test/seed.sql | swashcap/habari2jekyll | d473c57b360345561b92d036ae2b2e978bc26a75 | [
"MIT"
] | null | null | null | test/seed.sql | swashcap/habari2jekyll | d473c57b360345561b92d036ae2b2e978bc26a75 | [
"MIT"
] | null | null | null | --
-- Name: habari__poststatus_pkey_seq; Type: SEQUENCE; Schema: public; Owner: habari
--
CREATE SEQUENCE habari__poststatus_pkey_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE habari__poststatus_pkey_seq OWNER TO habari;
--
-- Name: habari__poststatus; Type: TABLE;... | 40.48951 | 1,260 | 0.766839 |
d235f9857edcff0e28ed9c4960949415f0d55e34 | 862 | rs | Rust | peripherals/src/spu.rs | Zwo1in/peach-8 | 80f0937bc7eed3228ef8c0fef5618a6da02e5640 | [
"MIT"
] | null | null | null | peripherals/src/spu.rs | Zwo1in/peach-8 | 80f0937bc7eed3228ef8c0fef5618a6da02e5640 | [
"MIT"
] | null | null | null | peripherals/src/spu.rs | Zwo1in/peach-8 | 80f0937bc7eed3228ef8c0fef5618a6da02e5640 | [
"MIT"
] | null | null | null | use stm32f3xx_hal as stm32f303;
use stm32f303::{
gpio::{gpiob, AF2},
hal::PwmPin,
pwm::{self, PwmChannel, WithPins, TIM3_CH2},
rcc,
stm32::TIM3,
time::Hertz,
};
#[allow(unused_imports)]
use log::{debug, error, info, trace, warn};
pub fn init_tim3_pwm_on_pb5(
freq: Hertz,
tim3: TIM3,
... | 26.9375 | 71 | 0.638051 |
34ecac1750b973da9e128f7688ecbc2e53e78c2c | 115 | cs | C# | Oblqo/Core Classes/ActionIfFileExists.cs | fiftin/Oblqo | b7771d5295e4cbb0a2cafbe95e46500755a6ab66 | [
"Apache-2.0"
] | 6 | 2015-09-26T08:44:15.000Z | 2018-06-06T23:10:55.000Z | Oblqo/Core Classes/ActionIfFileExists.cs | fiftin/Oblqo | b7771d5295e4cbb0a2cafbe95e46500755a6ab66 | [
"Apache-2.0"
] | 22 | 2015-09-27T08:10:15.000Z | 2016-08-24T08:42:07.000Z | Oblqo/Core Classes/ActionIfFileExists.cs | fiftin/Oblqo | b7771d5295e4cbb0a2cafbe95e46500755a6ab66 | [
"Apache-2.0"
] | 1 | 2016-08-24T08:43:03.000Z | 2016-08-24T08:43:03.000Z | namespace Oblqo
{
public enum ActionIfFileExists
{
Rewrite,
Skip,
Rename,
}
}
| 11.5 | 34 | 0.513043 |
bb625dd51310dde3832e97e7cf600b112d6f6cd8 | 438 | lua | Lua | samples/demo_argparse.lua | gberger/malu | 36fc6c6bf6db2cd18fb39397262038cf4f14a1f3 | [
"MIT"
] | 1 | 2016-12-13T15:53:53.000Z | 2016-12-13T15:53:53.000Z | samples/demo_argparse.lua | gberger/malu | 36fc6c6bf6db2cd18fb39397262038cf4f14a1f3 | [
"MIT"
] | null | null | null | samples/demo_argparse.lua | gberger/malu | 36fc6c6bf6db2cd18fb39397262038cf4f14a1f3 | [
"MIT"
] | null | null | null | @dofile "samples/def_defmacro.lua"
@defmacro demo_argparse do
print('Parsing args...')
local args = macros.argparse(next_char)
print('Printing args:')
for i, arg in ipairs(args) do
print(i, macros.stringify_tokens(arg))
end
print()
end
@demo_argparse(
abc.xyz,
t[fn(1==2)],
(fu... | 16.222222 | 45 | 0.630137 |
38656a3c4dfe7131b06c71180a29a3b9ea79065b | 264 | php | PHP | application/config/config_extensions.php | zulifaidah/Php-MongoDB | f7eae25b355995cb83549275cf4561f6ce3d7aa1 | [
"MIT"
] | 2 | 2018-11-20T06:09:16.000Z | 2019-11-20T04:31:38.000Z | application/config/config_extensions.php | sitizuliatulf/Php-MongoDB | f7eae25b355995cb83549275cf4561f6ce3d7aa1 | [
"MIT"
] | 1 | 2018-01-07T15:00:22.000Z | 2018-01-11T14:58:51.000Z | application/config/config_extensions.php | zulifaidah/Php-MongoDB | f7eae25b355995cb83549275cf4561f6ce3d7aa1 | [
"MIT"
] | null | null | null | <?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
$config['css'] = [
'./css/bootstrap/bootstrap.min.css',
'./css/custom/global.css'
];
$config['js'] = [
'./js/jquery/jquery.min.js',
'./js/bootstrap/bootstrap.min.js'
];
?> | 18.857143 | 66 | 0.594697 |
bb2cdfc24eb9cd073bf68484bd0870ebfe18ef50 | 1,135 | rs | Rust | opensubdiv/src/far/stencil_table_factory.rs | anderslanglands/opensubdiv-rs | 46f19f56db1c35ab9f768e16ece8c40310bf13cd | [
"Apache-2.0"
] | 5 | 2019-07-28T11:35:57.000Z | 2021-04-10T16:14:49.000Z | opensubdiv/src/far/stencil_table_factory.rs | anderslanglands/opensubdiv-rs | 46f19f56db1c35ab9f768e16ece8c40310bf13cd | [
"Apache-2.0"
] | 2 | 2020-05-08T20:45:24.000Z | 2021-04-03T21:55:52.000Z | opensubdiv/src/far/stencil_table_factory.rs | anderslanglands/opensubdiv-rs | 46f19f56db1c35ab9f768e16ece8c40310bf13cd | [
"Apache-2.0"
] | 1 | 2021-04-03T20:02:57.000Z | 2021-04-03T20:02:57.000Z | use super::stencil_table::StencilTable;
use super::topology_refiner::TopologyRefiner;
use opensubdiv_sys as sys;
pub use sys::far::stencil_table_factory::{Options, OptionsBuilder};
/// Short function for creating an [OptionsBuilder]
pub fn options() -> OptionsBuilder {
OptionsBuilder::new()
}
/// Instantiates a [... | 32.428571 | 78 | 0.7163 |
46535a94a8f632695194876729db1b3633cf8158 | 8,626 | php | PHP | wordpress/wp-content/plugins/creative-mail-by-constant-contact/src/modules/contacts/Services/ContactsSyncService.php | triettm40/wordpress | e9e08265e67492b174dc02e657f81e2d568f8376 | [
"Apache-2.0"
] | 1 | 2021-05-25T14:23:01.000Z | 2021-05-25T14:23:01.000Z | wp-content/plugins/creative-mail-by-constant-contact/src/Modules/Contacts/Services/ContactsSyncService.php | fakhar-ali/mysocceracademy.com | b9e0c2f9cc45546274747d6200640315d467099a | [
"Unlicense"
] | null | null | null | wp-content/plugins/creative-mail-by-constant-contact/src/Modules/Contacts/Services/ContactsSyncService.php | fakhar-ali/mysocceracademy.com | b9e0c2f9cc45546274747d6200640315d467099a | [
"Unlicense"
] | null | null | null | <?php
namespace CreativeMail\Modules\Contacts\Services;
use CreativeMail\CreativeMail;
use CreativeMail\Helpers\EnvironmentHelper;
use CreativeMail\Helpers\OptionsHelper;
use CreativeMail\Helpers\ValidationHelper;
use CreativeMail\Managers\RaygunManager;
use CreativeMail\Modules\Api\Models\ApiRequestItem;
use Creativ... | 30.917563 | 171 | 0.580107 |
2382ea5dde9cd06bd297ecb489c4cc544bd920c3 | 420 | js | JavaScript | app/assets/javascripts/login.js | asuarks/Melody-Forest | 420f640786237a67a8c00805866d766d21a62933 | [
"MIT"
] | null | null | null | app/assets/javascripts/login.js | asuarks/Melody-Forest | 420f640786237a67a8c00805866d766d21a62933 | [
"MIT"
] | 4 | 2020-07-22T17:06:37.000Z | 2022-03-31T01:36:59.000Z | app/assets/javascripts/login.js | asuarks/Melody-Forest | 420f640786237a67a8c00805866d766d21a62933 | [
"MIT"
] | null | null | null | document.addEventListener("turbolinks:load", function() {
$('#signup').click(function() {
$('.greenbox').css('transform', 'translateX(80%)');
$('.signin').addClass('nodisplay');
$('.signup').removeClass('nodisplay');
});
$('#signin').click(function() {
$('.greenbox').css('transform', 'translateX... | 28 | 57 | 0.583333 |
8517b43e3d6130a4e53cd3b300a753ae41370ab5 | 1,474 | cs | C# | src/Manga.WebApi/Program.cs | laerteuliam/clean-architecture-manga | 12bc52509ac12263defa66fc5fd74310cd07c7ba | [
"Apache-2.0"
] | 12 | 2018-08-01T19:48:54.000Z | 2021-04-17T14:03:03.000Z | src/Manga.WebApi/Program.cs | laerteuliam/clean-architecture-manga | 12bc52509ac12263defa66fc5fd74310cd07c7ba | [
"Apache-2.0"
] | null | null | null | src/Manga.WebApi/Program.cs | laerteuliam/clean-architecture-manga | 12bc52509ac12263defa66fc5fd74310cd07c7ba | [
"Apache-2.0"
] | 1 | 2019-05-12T16:41:53.000Z | 2019-05-12T16:41:53.000Z | namespace Manga.WebApi
{
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using Serilog;
using Serilog.Events;
using System.IO;
public class Program
{
public static void M... | 36.85 | 137 | 0.546133 |
57e87e789beb2546e426ca578f11256b58107de1 | 3,079 | php | PHP | framework/Kolab_Format/test/Horde/Kolab/Format/Unit/Xml/Type/RecurrenceTest.php | thomasjfox/horde | 690ced2b92d65e915c87591e7cc5a5d45c2917a1 | [
"Adobe-Glyph"
] | 1 | 2021-08-02T02:40:14.000Z | 2021-08-02T02:40:14.000Z | framework/Kolab_Format/test/Horde/Kolab/Format/Unit/Xml/Type/RecurrenceTest.php | mmatuska/horde | 6527ae0495b493b4650bbe6071e230421550b187 | [
"Adobe-Glyph"
] | null | null | null | framework/Kolab_Format/test/Horde/Kolab/Format/Unit/Xml/Type/RecurrenceTest.php | mmatuska/horde | 6527ae0495b493b4650bbe6071e230421550b187 | [
"Adobe-Glyph"
] | null | null | null | <?php
/**
* Test the recurrence handler.
*
* PHP version 5
*
* @category Kolab
* @package Kolab_Format
* @subpackage UnitTests
* @author Gunnar Wrobel <wrobel@pardus.de>
* @license http://www.horde.org/licenses/lgpl21 LGPL
* @link http://www.horde.org/libraries/Horde_Kolab_Format
*/
/**
*... | 29.605769 | 115 | 0.599545 |
5478a47725663e204e708048c45c4ff9d8daec5f | 7,575 | css | CSS | css/index.css | STVGecko/Semaine-dev-web-int-gration-web | cb2eef0e79abcd4cc37130eeb934424db37bac1a | [
"MIT"
] | null | null | null | css/index.css | STVGecko/Semaine-dev-web-int-gration-web | cb2eef0e79abcd4cc37130eeb934424db37bac1a | [
"MIT"
] | null | null | null | css/index.css | STVGecko/Semaine-dev-web-int-gration-web | cb2eef0e79abcd4cc37130eeb934424db37bac1a | [
"MIT"
] | 1 | 2020-11-18T17:44:45.000Z | 2020-11-18T17:44:45.000Z | @import url('https://fonts.googleapis.com/css2?family=Mukta+Mahee:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');
html{
background-color: #2C2C2C;
}
.wrap_page {
margin-bottom: 240px;
}
a {
text-decoration : none;
}
.main... | 15 | 106 | 0.610033 |
dbbf29c6f1cb8b5e30cf03254a50fc4155ca336e | 470 | lua | Lua | Ships/Mutoxicated-Rose/Rose.lua | RanPix/ppl-ships | 45d1717b9e8df666574a036466772955a7e39a29 | [
"MIT"
] | null | null | null | Ships/Mutoxicated-Rose/Rose.lua | RanPix/ppl-ships | 45d1717b9e8df666574a036466772955a7e39a29 | [
"MIT"
] | null | null | null | Ships/Mutoxicated-Rose/Rose.lua | RanPix/ppl-ships | 45d1717b9e8df666574a036466772955a7e39a29 | [
"MIT"
] | null | null | null | meshes = {
{
vertexes = {{-15,-14},{-7,-14},{2,0},{-7,14},{-15,14},{-6,0}, {0,-12},{8,-12},{16,0},{8,12},{0,12},{8,0}, {-12,0},{-16,-5},{-20,0},{-16,5}},
colors = {0x800020ff, 0xff0020ff, 0xff0020ff, 0xff0020ff, 0x800020ff, 0x800020ff, 0x800020ff, 0xff0020ff, 0xff0020ff, 0xff0020ff, 0x800... | 67.142857 | 220 | 0.546809 |
07fd07010f52abbc45c803afac0568497f06a4b0 | 165 | ts | TypeScript | webui/node_modules/@clr/angular/forms/index.d.ts | satishgonella/sampleAngualar | 254f9ba4f51789dd654c76c2773e683b34eb3273 | [
"MIT"
] | null | null | null | webui/node_modules/@clr/angular/forms/index.d.ts | satishgonella/sampleAngualar | 254f9ba4f51789dd654c76c2773e683b34eb3273 | [
"MIT"
] | null | null | null | webui/node_modules/@clr/angular/forms/index.d.ts | satishgonella/sampleAngualar | 254f9ba4f51789dd654c76c2773e683b34eb3273 | [
"MIT"
] | null | null | null | export * from "./common/index";
export * from "./datepicker/index";
export * from "./checkbox/index";
export * from "./radio/index";
export * from "./forms.module";
| 27.5 | 35 | 0.666667 |
75413db65df6fe89118cbc242df0660d67180710 | 622 | css | CSS | packages/selenium-ide/src/neo/components/LogMessage/style.css | GURP-2018S/selenium-ide | b0177f685b1fddd0662fcecccf1cf41669602701 | [
"Apache-2.0"
] | null | null | null | packages/selenium-ide/src/neo/components/LogMessage/style.css | GURP-2018S/selenium-ide | b0177f685b1fddd0662fcecccf1cf41669602701 | [
"Apache-2.0"
] | null | null | null | packages/selenium-ide/src/neo/components/LogMessage/style.css | GURP-2018S/selenium-ide | b0177f685b1fddd0662fcecccf1cf41669602701 | [
"Apache-2.0"
] | null | null | null | .log {
padding-bottom: 7px;
}
.log .index {
display: inline-block;
width: 20px;
}
.log.notice {
font-weight: bold;
}
.log.warn {
color: #DC9914;
}
.log.error {
color: #E80600;
}
.log .message:after {
padding: 0 5px;
}
.log.success.notice {
color: #23843D;
}
.log.failure.notice {
color: #E80600;... | 10.724138 | 36 | 0.620579 |
ff6460b85dc06351f8af756d1e07b9b4754f13cd | 4,384 | py | Python | ig-selenium/main.py | M-b850/ig-scraper | 7c6c8788bb876ff7dee9c318a6f1bf61e701cf02 | [
"MIT"
] | null | null | null | ig-selenium/main.py | M-b850/ig-scraper | 7c6c8788bb876ff7dee9c318a6f1bf61e701cf02 | [
"MIT"
] | null | null | null | ig-selenium/main.py | M-b850/ig-scraper | 7c6c8788bb876ff7dee9c318a6f1bf61e701cf02 | [
"MIT"
] | null | null | null | import os
import time
import requests
import datetime
from alive_progress import alive_bar
from instascrape import *
from database import DB
from selenium.webdriver import Firefox
from selenium.webdriver.firefox.options import Options
IG_URL = 'http://instagram.com/p/' # IG_URL + shortocde = post url
IG_PROFILE = 'h... | 32.474074 | 171 | 0.613139 |
9560550ef1ff0a390101846b77ca939d4928ad4e | 424 | go | Go | events.go | inklabs/goauth2 | 75e39318efaa21b3cfbaa9ad9091c3d209efa675 | [
"BSD-3-Clause"
] | 36 | 2020-04-17T20:48:20.000Z | 2022-03-14T11:43:21.000Z | events.go | inklabs/goauth2 | 75e39318efaa21b3cfbaa9ad9091c3d209efa675 | [
"BSD-3-Clause"
] | 3 | 2020-04-29T21:51:20.000Z | 2020-08-27T06:29:33.000Z | events.go | inklabs/goauth2 | 75e39318efaa21b3cfbaa9ad9091c3d209efa675 | [
"BSD-3-Clause"
] | 6 | 2020-04-18T14:46:04.000Z | 2021-04-13T19:29:02.000Z | package goauth2
import (
"github.com/inklabs/rangedb"
)
//go:generate go run github.com/inklabs/rangedb/gen/eventbinder -package goauth2 -files client_application_events.go,resource_owner_events.go,refresh_token_events.go,authorization_code_events.go
// PendingEvents is the interface for retrieving CQRS events that... | 32.615385 | 194 | 0.818396 |
25cccb8d0eeb4e26dd4558cec679af5c6b1f9f27 | 3,115 | kt | Kotlin | font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/brands/Bootstrap.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 230 | 2020-11-11T14:52:11.000Z | 2022-03-31T05:04:52.000Z | font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/brands/Bootstrap.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 17 | 2021-03-02T00:00:32.000Z | 2022-03-02T16:01:03.000Z | font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/brands/Bootstrap.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 18 | 2021-02-08T06:18:41.000Z | 2022-03-22T21:48:23.000Z | package compose.icons.fontawesomeicons.brands
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion... | 47.923077 | 99 | 0.588764 |
bfa20a11181acd0b3ba9609d3ead168c855e61d5 | 2,024 | asm | Assembly | Source/Levels/L0610.asm | AbePralle/FGB | 52f004b8d9d4091a2a242a012dc8c1f90d4c160d | [
"MIT"
] | null | null | null | Source/Levels/L0610.asm | AbePralle/FGB | 52f004b8d9d4091a2a242a012dc8c1f90d4c160d | [
"MIT"
] | null | null | null | Source/Levels/L0610.asm | AbePralle/FGB | 52f004b8d9d4091a2a242a012dc8c1f90d4c160d | [
"MIT"
] | null | null | null | ; L0610.asm outback
; Generated 11.05.2000 by mlevel
; Modified 11.05.2000 by Abe Pralle
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
WATERINDEX EQU 2
VAR_WATER EQU 0
;---------------------------------------------------------------------
SECTION "Level0610Section",ROMX
;-----------------------------------... | 26.986667 | 70 | 0.425889 |
3d1885d004fba1c165ee41923b9699df3c63752e | 1,134 | kt | Kotlin | app/src/main/java/com/yougame/takayamaaren/yougame/ui/payment/PaymentActivity.kt | 428talent/YouGame-Android | 7220b15262652bd59f8c8b035c88bdb02f78f6e6 | [
"MIT"
] | null | null | null | app/src/main/java/com/yougame/takayamaaren/yougame/ui/payment/PaymentActivity.kt | 428talent/YouGame-Android | 7220b15262652bd59f8c8b035c88bdb02f78f6e6 | [
"MIT"
] | null | null | null | app/src/main/java/com/yougame/takayamaaren/yougame/ui/payment/PaymentActivity.kt | 428talent/YouGame-Android | 7220b15262652bd59f8c8b035c88bdb02f78f6e6 | [
"MIT"
] | null | null | null | package com.yougame.takayamaaren.yougame.ui.payment
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.yougame.takayamaaren.yougame.R
import kotlinx.android.synthetic.main.activity_payment.*
import kotlinx.android.synthetic.main.content_payment.*
class PaymentActivity : AppCompatActiv... | 27.658537 | 57 | 0.635802 |
3910cf27e046fee390b77eddb768d9d51431720e | 644 | py | Python | keras/applications/nasnet.py | PJmouraocs/keras | 7a39b6c62d43c25472b2c2476bd2a8983ae4f682 | [
"MIT"
] | 300 | 2018-04-04T05:01:21.000Z | 2022-02-25T18:56:04.000Z | keras/applications/nasnet.py | PJmouraocs/keras | 7a39b6c62d43c25472b2c2476bd2a8983ae4f682 | [
"MIT"
] | 163 | 2018-04-03T17:41:22.000Z | 2021-09-03T16:44:04.000Z | keras/applications/nasnet.py | PJmouraocs/keras | 7a39b6c62d43c25472b2c2476bd2a8983ae4f682 | [
"MIT"
] | 94 | 2016-02-17T20:59:27.000Z | 2021-04-19T08:18:16.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from keras_applications import nasnet
from . import keras_modules_injection
@keras_modules_injection
def NASNetMobile(*args, **kwargs):
return nasnet.NASNetMobile(*args, **kwargs)
@keras_modules_injecti... | 23.851852 | 53 | 0.791925 |
7a9a9a39b8867dcdcfe33decdabf843cd35e5590 | 188 | rs | Rust | src/main.rs | mkrzywda/rust-nn | 93fcdfbf825511598548ce2f72d8c034ccabbf08 | [
"MIT"
] | null | null | null | src/main.rs | mkrzywda/rust-nn | 93fcdfbf825511598548ce2f72d8c034ccabbf08 | [
"MIT"
] | null | null | null | src/main.rs | mkrzywda/rust-nn | 93fcdfbf825511598548ce2f72d8c034ccabbf08 | [
"MIT"
] | null | null | null | pub mod agent;
pub mod network;
fn main() {
let mut population = agent::random_population(450);
for _ in 0..1000000 {
population = agent::generation(population);
}
}
| 17.090909 | 55 | 0.638298 |
0ab18e071a78bb671a4dc05652aa71eb00ca9ccd | 268 | cs | C# | src/EngineeringWork.Infrastructure/DTO/JwtDto.cs | piratezxe/Engineering | 17523e56acb235d77db4d0ec8b454cbad600e263 | [
"MIT"
] | null | null | null | src/EngineeringWork.Infrastructure/DTO/JwtDto.cs | piratezxe/Engineering | 17523e56acb235d77db4d0ec8b454cbad600e263 | [
"MIT"
] | null | null | null | src/EngineeringWork.Infrastructure/DTO/JwtDto.cs | piratezxe/Engineering | 17523e56acb235d77db4d0ec8b454cbad600e263 | [
"MIT"
] | null | null | null | using EngineeringWork.Core.Domain;
namespace EngineeringWork.Infrastructure.DTO
{
public class JwtDto
{
public string Token { get; set; }
public long Expires { get; set; }
public RefreshToken RefreshToken { get; set; }
}
} | 22.333333 | 54 | 0.634328 |
4d41dcb8bf7b12ad62e0b3f46e6b53ee6d9852a1 | 686 | cs | C# | easy/csharp/c0012_53_maximum-subarray/00_leetcode_0012.cs | drunkwater/leetcode | 8cc4a07763e71efbaedb523015f0c1eff2927f60 | [
"Ruby"
] | null | null | null | easy/csharp/c0012_53_maximum-subarray/00_leetcode_0012.cs | drunkwater/leetcode | 8cc4a07763e71efbaedb523015f0c1eff2927f60 | [
"Ruby"
] | null | null | null | easy/csharp/c0012_53_maximum-subarray/00_leetcode_0012.cs | drunkwater/leetcode | 8cc4a07763e71efbaedb523015f0c1eff2927f60 | [
"Ruby"
] | 3 | 2018-02-09T02:46:48.000Z | 2021-02-20T08:32:03.000Z | // DRUNKWATER TEMPLATE(add description and prototypes)
// Question Title and Description on leetcode.com
// Function Declaration and Function Prototypes on leetcode.com
//53. Maximum Subarray
//Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and retur... | 36.105263 | 138 | 0.721574 |
7f0fa7aa8e00b3d7e8d79d0c36c11ce826ed60d0 | 10,086 | cs | C# | POLA_MMS/UI_Member/frmMember_Transfer.Designer.cs | AprilYanmy/POLA_ManagerSystem | 9c77f570a320975730db2ed732b51c66f1ebb52d | [
"MIT"
] | null | null | null | POLA_MMS/UI_Member/frmMember_Transfer.Designer.cs | AprilYanmy/POLA_ManagerSystem | 9c77f570a320975730db2ed732b51c66f1ebb52d | [
"MIT"
] | null | null | null | POLA_MMS/UI_Member/frmMember_Transfer.Designer.cs | AprilYanmy/POLA_ManagerSystem | 9c77f570a320975730db2ed732b51c66f1ebb52d | [
"MIT"
] | 1 | 2022-01-11T06:58:52.000Z | 2022-01-11T06:58:52.000Z | namespace POLA_MMS.Member_UI
{
partial class frmMember_Transfer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... | 43.287554 | 150 | 0.564347 |
f89ba308f94730263dc7ce991702bf72969349b7 | 4,364 | dart | Dart | test/analysis/set_priority_files_test.dart | lukechurch/as_test_supreme-octo-spork | 5a192ffebce2206e2d30da6e4887b3feaccf7470 | [
"BSD-3-Clause"
] | null | null | null | test/analysis/set_priority_files_test.dart | lukechurch/as_test_supreme-octo-spork | 5a192ffebce2206e2d30da6e4887b3feaccf7470 | [
"BSD-3-Clause"
] | null | null | null | test/analysis/set_priority_files_test.dart | lukechurch/as_test_supreme-octo-spork | 5a192ffebce2206e2d30da6e4887b3feaccf7470 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
library test.analysis.set_priority_files;
import 'package:analysis_server/plugin/protocol/protocol.dar... | 32.81203 | 77 | 0.720669 |
a11713864d0469a29c10d9854ce0b9679831e8cc | 228 | ts | TypeScript | src/app/clan-search/state/loaded-clans/loaded-clans.actions.ts | WorthyD/d2-clandashboard | 74e9b752a5463e460719cb397517800d6a03c2a2 | [
"MIT"
] | 2 | 2020-12-22T21:46:32.000Z | 2021-09-06T17:10:16.000Z | src/app/home/state/loaded-clans/loaded-clans.actions.ts | WorthyD/d2-clandashboard | 74e9b752a5463e460719cb397517800d6a03c2a2 | [
"MIT"
] | 31 | 2020-02-08T11:35:45.000Z | 2022-03-28T10:33:55.000Z | src/app/home/state/loaded-clans/loaded-clans.actions.ts | WorthyD/d2-clandashboard | 74e9b752a5463e460719cb397517800d6a03c2a2 | [
"MIT"
] | null | null | null | import { createAction, props } from '@ngrx/store';
import { LoadedClan } from '../../models/loaded-clan';
const base = '[Loaded Clans] -';
export const addClan = createAction(`${base} Add Clan`, props<{ clan: LoadedClan }>());
| 38 | 87 | 0.666667 |
adbaebc65ef7d1bf82e1dfd8b9035ed015197998 | 554 | rb | Ruby | app/controllers/toc_controller.rb | pulibrary/pulfalight | 086bce870af1bbdac4cbc522b89bbfdb35b582ae | [
"Apache-2.0"
] | 4 | 2020-03-31T17:58:07.000Z | 2021-04-21T18:04:45.000Z | app/controllers/toc_controller.rb | pulibrary/pulfalight | 086bce870af1bbdac4cbc522b89bbfdb35b582ae | [
"Apache-2.0"
] | 645 | 2020-01-14T15:06:54.000Z | 2022-03-30T23:56:27.000Z | app/controllers/toc_controller.rb | pulibrary/pulfalight | 086bce870af1bbdac4cbc522b89bbfdb35b582ae | [
"Apache-2.0"
] | 1 | 2020-06-30T17:32:57.000Z | 2020-06-30T17:32:57.000Z | # frozen_string_literal: true
class TocController < ApplicationController
def toc
render json: TableOfContentsBuilder.build(document, single_node: single_node?, expanded: expanded?)
rescue Blacklight::Exceptions::RecordNotFound
render json: {}
end
def child_table
render json: ChildTableBuilder.new(... | 19.785714 | 103 | 0.716606 |
2ca7079cf4938ff8e15550deacd0300d439ccc72 | 713 | py | Python | scripts/checkabunds.py | tomasjames/UCLCHEM | 3a41a10200864227801a83b22b213d060d74c8e7 | [
"MIT"
] | null | null | null | scripts/checkabunds.py | tomasjames/UCLCHEM | 3a41a10200864227801a83b22b213d060d74c8e7 | [
"MIT"
] | null | null | null | scripts/checkabunds.py | tomasjames/UCLCHEM | 3a41a10200864227801a83b22b213d060d74c8e7 | [
"MIT"
] | null | null | null | from __future__ import print_function
from plotfunctions import *
cloud=getParameters("src/defaultparameters.f90")
time,cloud,species,abunds=readTimestep("output/fullcloud1.dat",1.64e07,cloud)
for element in ["+","C"]:
print("\n**********\n")
totalabund=0.0
oxyAbunds=[]
oxySpecs=[]
for i in range(0,len(species)... | 25.464286 | 77 | 0.69425 |
fbcf3a8045c2e0d8a90e9539761ac1e612ef8b41 | 863 | sql | SQL | VS2013_PROJECT/DNN_DB/dbo/Views/dnn_vw_PublishedFiles.sql | EL-BID/nexso | d9ea4b922287c61234e28f00bf7e561f8b8ac632 | [
"MIT"
] | 4 | 2017-04-10T19:23:11.000Z | 2017-11-10T14:46:49.000Z | VS2013_PROJECT/DNN_DB/dbo/Views/dnn_vw_PublishedFiles.sql | EL-BID/nexso | d9ea4b922287c61234e28f00bf7e561f8b8ac632 | [
"MIT"
] | null | null | null | VS2013_PROJECT/DNN_DB/dbo/Views/dnn_vw_PublishedFiles.sql | EL-BID/nexso | d9ea4b922287c61234e28f00bf7e561f8b8ac632 | [
"MIT"
] | 3 | 2017-10-13T21:26:22.000Z | 2018-02-13T16:09:42.000Z | CREATE VIEW [dbo].[dnn_vw_PublishedFiles]
AS
SELECT
fi.[FileId]
,fi.[PortalId]
,fi.[FileName]
,fi.[Extension]
,fi.[Size]
,fi.[Width]
,fi.[Height]
,fi.[ContentType]
,fi.[FolderID]
,fi.[Content]
,fi.[CreatedByUserID]
,fi.[CreatedOnDate]
,f... | 23.324324 | 53 | 0.570104 |
c9d8da96b7a2c6384b3c6da34df58b79c9da764e | 226 | ts | TypeScript | src/index.ts | fractal-ly/tiny-validation | a9009fc1c0afd30c2e408d0c0e88fbf94c8f0a39 | [
"MIT"
] | 1 | 2021-07-20T23:35:31.000Z | 2021-07-20T23:35:31.000Z | src/index.ts | fractal-ly/tiny-validation | a9009fc1c0afd30c2e408d0c0e88fbf94c8f0a39 | [
"MIT"
] | null | null | null | src/index.ts | fractal-ly/tiny-validation | a9009fc1c0afd30c2e408d0c0e88fbf94c8f0a39 | [
"MIT"
] | null | null | null | import {
Fail,
Runner,
Schema,
Success,
validate,
Validation,
} from './lib/validation';
import * as Validators from './lib/validators';
export { Validators, Schema, Validation, Success, Fail, Runner, validate };
| 18.833333 | 75 | 0.690265 |
511deb60e45533b73d72412a98411fdaf2f69d5e | 384 | rs | Rust | src/test/ui/generator/issue-69017.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 66,762 | 2015-01-01T08:32:03.000Z | 2022-03-31T23:26:40.000Z | src/test/ui/generator/issue-69017.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 76,993 | 2015-01-01T00:06:33.000Z | 2022-03-31T23:59:15.000Z | src/test/ui/generator/issue-69017.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11,787 | 2015-01-01T00:01:19.000Z | 2022-03-31T19:03:42.000Z | // This issue reproduces an ICE on compile
// Fails on 2020-02-08 nightly
// regressed commit: https://github.com/rust-lang/rust/commit/f8fd4624474a68bd26694eff3536b9f3a127b2d3
//
// check-pass
#![feature(generator_trait)]
#![feature(generators)]
use std::ops::Generator;
fn gen() -> impl Generator<usize> {
|_: u... | 20.210526 | 102 | 0.664063 |
e72b95320bbaef36f741fd69288672dc749df802 | 40 | kt | Kotlin | idea/testData/refactoring/move/kotlin/moveTopLevelDeclarations/misc/internalReferences/before/target/some.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 337 | 2020-05-14T00:40:10.000Z | 2022-02-16T23:39:07.000Z | idea/testData/refactoring/move/kotlin/moveTopLevelDeclarations/misc/internalReferences/before/target/some.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 92 | 2020-06-10T23:17:42.000Z | 2020-09-25T10:50:13.000Z | idea/testData/refactoring/move/kotlin/moveTopLevelDeclarations/misc/internalReferences/before/target/some.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 54 | 2016-02-29T16:27:38.000Z | 2020-12-26T15:02:23.000Z | package target
fun test2() = source.A() | 13.333333 | 24 | 0.7 |
9566ea6af2678ed011676cb714d9153174cc9399 | 134 | go | Go | agents_response.go | captureidx/go-client | 57ff3789268d69b150ca73846dad8eb16e232eb1 | [
"Apache-2.0"
] | null | null | null | agents_response.go | captureidx/go-client | 57ff3789268d69b150ca73846dad8eb16e232eb1 | [
"Apache-2.0"
] | null | null | null | agents_response.go | captureidx/go-client | 57ff3789268d69b150ca73846dad8eb16e232eb1 | [
"Apache-2.0"
] | null | null | null | package client
type Agents struct {
Name Name `json:"name"`
Phone Phone `json:"phone"`
AgentId string `json:"agent_id"`
}
| 16.75 | 33 | 0.664179 |
a9db9e2315461f7cd961e5c0a126c81d90a79329 | 2,687 | php | PHP | index.php | NothAmor/questions_search | 7f2f19dd89a7901edb48ee315640454325eef002 | [
"Apache-2.0"
] | null | null | null | index.php | NothAmor/questions_search | 7f2f19dd89a7901edb48ee315640454325eef002 | [
"Apache-2.0"
] | null | null | null | index.php | NothAmor/questions_search | 7f2f19dd89a7901edb48ee315640454325eef002 | [
"Apache-2.0"
] | null | null | null | <?php
$dbhost = 'localhost:3306';
$dbuser = 'root';
$dbpass = 'root';
$dbname = 'questions';
$conn = mysqli_connect($dbhost, $dbuser, $dbpass, $dbname);
if(!$conn) {
die("Connection failed! Contact website admin!" . mysqli_error($conn));
} else {
echo '';
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta c... | 29.855556 | 155 | 0.507629 |
bef635fbeb1d44b390c5d93e772c8a5f3cd9fc19 | 753 | tsx | TypeScript | packages/ui/src/components/form/FormGroup.tsx | zxlfly/react-devui | bd50edbb8c27899a665a72d10519658898cddb21 | [
"MIT"
] | null | null | null | packages/ui/src/components/form/FormGroup.tsx | zxlfly/react-devui | bd50edbb8c27899a665a72d10519658898cddb21 | [
"MIT"
] | null | null | null | packages/ui/src/components/form/FormGroup.tsx | zxlfly/react-devui | bd50edbb8c27899a665a72d10519658898cddb21 | [
"MIT"
] | null | null | null | import type { FormGroup } from './form';
import React from 'react';
import { useComponentConfig } from '../../hooks';
import { registerComponentMate } from '../../utils';
export const DFormGroupContext = React.createContext<FormGroup | null>(null);
export interface DFormGroupProps {
children: React.ReactNode;
d... | 27.888889 | 85 | 0.721116 |
1a42ae01bb8bcd1ee2a3e4688e1227caf3ad7686 | 2,590 | py | Python | __init__.py | sandsunset/string-sum | 6d29904aeb2827971a7616a27722bfb74e5c1b0a | [
"MIT"
] | 4 | 2021-04-09T08:45:25.000Z | 2021-04-12T01:55:24.000Z | __init__.py | sandsunset/string-sum | 6d29904aeb2827971a7616a27722bfb74e5c1b0a | [
"MIT"
] | null | null | null | __init__.py | sandsunset/string-sum | 6d29904aeb2827971a7616a27722bfb74e5c1b0a | [
"MIT"
] | null | null | null | import re
class StringCal:
def __init__(self, formula:str, **variables):
self.formula = formula.replace(' ', '')
self.variables = variables
def get_coefficient(self) -> dict:
coefficients = {}
term = ""
for f in self.formula + ';':
variable_term = re.compil... | 34.533333 | 93 | 0.534363 |
610e0eab8f95eb15bae16db7592a4d8e41ba691c | 4,116 | ps1 | PowerShell | unit/test/Get-VSTeamVariableGroup.Tests.ps1 | Seekatar/vsteam | 38d2c44ec3ba6cd795f5c2b27a082ef8bdf717ad | [
"MIT"
] | null | null | null | unit/test/Get-VSTeamVariableGroup.Tests.ps1 | Seekatar/vsteam | 38d2c44ec3ba6cd795f5c2b27a082ef8bdf717ad | [
"MIT"
] | null | null | null | unit/test/Get-VSTeamVariableGroup.Tests.ps1 | Seekatar/vsteam | 38d2c44ec3ba6cd795f5c2b27a082ef8bdf717ad | [
"MIT"
] | null | null | null | Set-StrictMode -Version Latest
Describe 'VSTeamVariableGroup' {
BeforeAll {
$sut = (Split-Path -Leaf $PSCommandPath).Replace(".Tests.", ".")
. "$PSScriptRoot/../../Source/Classes/VSTeamVersions.ps1"
. "$PSScriptRoot/../../Source/Classes/VSTeamProjectCache.ps1"
. "$PSScriptRoot/../../Source/... | 45.230769 | 183 | 0.645773 |
0d2f08cd9c97594982dc87148cf4927fb16c086b | 23,643 | lua | Lua | luada.lua | ousttrue/luada | 7ae8e114d233c61b687080e404212753796c3458 | [
"MIT"
] | null | null | null | luada.lua | ousttrue/luada | 7ae8e114d233c61b687080e404212753796c3458 | [
"MIT"
] | null | null | null | luada.lua | ousttrue/luada | 7ae8e114d233c61b687080e404212753796c3458 | [
"MIT"
] | null | null | null | -- https://gist.github.com/tylerneylon/59f4bcf316be525b30ab
--[[ json.lua
A compact pure-Lua JSON library.
The main functions are: json.stringify, json.parse.
## json.stringify:
This expects the following to be true of any tables being encoded:
* They only have string or number keys. Number keys must be re... | 32.255116 | 112 | 0.508607 |
2faba2a3ace5d27d68b3ef0187a709114deac79f | 2,411 | py | Python | pytoda/datasets/tests/test_distributional_dataset.py | PaccMann/paccmann_datasets | 0cb0cee349ffab8e227f09f7df0a8bca6a71f22e | [
"MIT"
] | 14 | 2019-11-01T12:45:56.000Z | 2022-03-11T15:38:31.000Z | pytoda/datasets/tests/test_distributional_dataset.py | PaccMann/paccmann_datasets | 0cb0cee349ffab8e227f09f7df0a8bca6a71f22e | [
"MIT"
] | 74 | 2019-11-12T19:36:27.000Z | 2022-02-28T08:19:37.000Z | pytoda/datasets/tests/test_distributional_dataset.py | PaccMann/paccmann_datasets | 0cb0cee349ffab8e227f09f7df0a8bca6a71f22e | [
"MIT"
] | 2 | 2021-08-14T11:15:07.000Z | 2021-08-25T06:42:01.000Z | """Testing DistributionalDataset."""
import unittest
import torch
from pytoda.datasets import DistributionalDataset
from pytoda.datasets.utils.factories import DISTRIBUTION_FUNCTION_FACTORY
distribution_types = ['normal', 'uniform']
distribution_args = [{'loc': 0.0, 'scale': 1.0}, {'low': 0.0, 'high': 1.0}]
dataset_... | 35.455882 | 79 | 0.512236 |
39518d5b8f6b46ab40ff852bae78d601b8adfcfa | 4,828 | py | Python | HiDT/adaptive_unet.py | BradleyBrown19/HiDT | 2a9827e8ebd59e6b8caa093dc2cb8664f4042849 | [
"Apache-2.0"
] | 1 | 2020-07-06T06:58:49.000Z | 2020-07-06T06:58:49.000Z | HiDT/adaptive_unet.py | BradleyBrown19/HiDT | 2a9827e8ebd59e6b8caa093dc2cb8664f4042849 | [
"Apache-2.0"
] | 2 | 2020-07-28T05:46:46.000Z | 2022-02-26T08:38:53.000Z | HiDT/adaptive_unet.py | BradleyBrown19/HiDT | 2a9827e8ebd59e6b8caa093dc2cb8664f4042849 | [
"Apache-2.0"
] | 1 | 2021-03-23T15:52:53.000Z | 2021-03-23T15:52:53.000Z | # AUTOGENERATED! DO NOT EDIT! File to edit: AdaptiveUnet.ipynb (unless otherwise specified).
__all__ = ['ContentEncoder', 'StyleEncoder', 'get_adastats', 'AdaIN', 'AdaSkipBlock', 'AdaResBlock', 'Decoder']
# Cell
#export
from fastai import *
from fastai.vision import *
from fastai.callbacks import *
from fastai.utils.... | 27.588571 | 138 | 0.606048 |
e7571aa8de0f37772a3c2c06d5d66cbfeb18546d | 1,585 | php | PHP | phpmyadmin1/libraries/properties/options/groups/OptionsPropertySubgroup.php | Marudi/prattle | b4fece0a6e302282060bbd5153dcafd66be138ee | [
"MIT"
] | 32 | 2021-03-03T14:05:30.000Z | 2022-02-21T18:45:06.000Z | phpmyadmin1/libraries/properties/options/groups/OptionsPropertySubgroup.php | Marudi/prattle | b4fece0a6e302282060bbd5153dcafd66be138ee | [
"MIT"
] | 26 | 2021-08-30T01:41:08.000Z | 2022-03-21T02:11:11.000Z | phpmyadmin1/libraries/properties/options/groups/OptionsPropertySubgroup.php | Marudi/prattle | b4fece0a6e302282060bbd5153dcafd66be138ee | [
"MIT"
] | 28 | 2018-04-15T15:57:41.000Z | 2020-03-06T12:49:39.000Z | <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Holds the PMA\libraries\properties\options\groups\OptionsPropertySubgroup class
*
* @package PhpMyAdmin
*/
namespace PMA\libraries\properties\options\groups;
use PMA\libraries\properties\options\OptionsPropertyGroup;
/**
* Group property item class of type su... | 24.765625 | 107 | 0.62082 |
25425922531f10a1402df93bbe3bba93354bc89a | 917 | js | JavaScript | src/components/pages/Gameification/SubmissionsGallery/SubmissionPage.js | Lambda-School-Labs/story-squad-fe-a | 40d89d7da6c2ed30768258310b750c8aa496c8ea | [
"MIT"
] | 4 | 2021-02-16T22:05:13.000Z | 2021-05-04T01:33:11.000Z | src/components/pages/Gameification/SubmissionsGallery/SubmissionPage.js | Lambda-School-Labs/story-squad-fe | 9d8888100099ca72354f65f0723a1e1ca8dc164d | [
"MIT"
] | 67 | 2019-12-17T18:03:26.000Z | 2021-06-22T01:31:44.000Z | src/components/pages/Gameification/SubmissionsGallery/SubmissionPage.js | Lambda-School-Labs/story-squad-fe | 9d8888100099ca72354f65f0723a1e1ca8dc164d | [
"MIT"
] | 24 | 2020-03-01T21:33:18.000Z | 2021-07-10T02:12:16.000Z | import React, { useEffect, useState } from 'react';
import SubmissionGroups from './SubmissionGroups';
export default function SubmissionPage() {
// This will get all the submissions per episode
const [submissions, setSubmissions] = useState([]);
useEffect(() => {
// Use temp data for now
const tempSubm... | 21.833333 | 78 | 0.537623 |
c39c3255f78a05044323f0c112299f5e94a2ee10 | 121 | cs | C# | TanmaNabu/GameLogic/Game/GameEntity.cs | kubagdynia/TanmaNabu | edbadd7cddc7de0c651190307741e4088d987f4a | [
"MIT"
] | null | null | null | TanmaNabu/GameLogic/Game/GameEntity.cs | kubagdynia/TanmaNabu | edbadd7cddc7de0c651190307741e4088d987f4a | [
"MIT"
] | null | null | null | TanmaNabu/GameLogic/Game/GameEntity.cs | kubagdynia/TanmaNabu | edbadd7cddc7de0c651190307741e4088d987f4a | [
"MIT"
] | null | null | null | using Entitas;
namespace TanmaNabu.GameLogic.Game
{
public sealed partial class GameEntity : Entity
{
}
}
| 12.1 | 51 | 0.68595 |
b75aca774be3716425005322431cf3e8ac1ff06e | 215 | cs | C# | src/Lykke.Job.BlockchainCashoutProcessor.Core/Domain/RiskControl/CashoutRiskControlState.cs | LykkeCity/Lykke.Job.BlockchainCashoutProcessor | f760d08d4f0e386245f387850ba5abe09aad4f72 | [
"MIT"
] | 1 | 2019-03-25T18:07:28.000Z | 2019-03-25T18:07:28.000Z | src/Lykke.Job.BlockchainCashoutProcessor.Core/Domain/RiskControl/CashoutRiskControlState.cs | LykkeCity/Lykke.Job.BlockchainCashoutProcessor | f760d08d4f0e386245f387850ba5abe09aad4f72 | [
"MIT"
] | 1 | 2018-07-18T12:33:53.000Z | 2018-07-18T12:33:53.000Z | src/Lykke.Job.BlockchainCashoutProcessor.Core/Domain/RiskControl/CashoutRiskControlState.cs | LykkeCity/Lykke.Job.BlockchainCashoutProcessor | f760d08d4f0e386245f387850ba5abe09aad4f72 | [
"MIT"
] | 1 | 2021-03-09T05:55:38.000Z | 2021-03-09T05:55:38.000Z | namespace Lykke.Job.BlockchainCashoutProcessor.Core.Domain.RiskControl
{
public enum CashoutRiskControlState
{
Created,
Started,
OperationAccepted,
OperationRejected
}
}
| 19.545455 | 71 | 0.674419 |
6b1916a389b31ecb33020ed713938947e4231a01 | 1,207 | js | JavaScript | assets/js/containers/Home/Home.js | jpichon21/crij-portail | 889339af7610c3112be4248948649044ae328480 | [
"MIT"
] | null | null | null | assets/js/containers/Home/Home.js | jpichon21/crij-portail | 889339af7610c3112be4248948649044ae328480 | [
"MIT"
] | null | null | null | assets/js/containers/Home/Home.js | jpichon21/crij-portail | 889339af7610c3112be4248948649044ae328480 | [
"MIT"
] | null | null | null | import React from 'react'
import { connect } from 'react-redux'
import Header from '../../components/Header/Header'
import Slider from '../../components/Slider/Slider'
import Tile from '../../components/Tile/Tile'
import InfoUrl from '../../components/InfoUrl/InfoUrl'
import Footer from '../../components/Footer/Footer'... | 26.822222 | 96 | 0.548467 |
142266ca5ad86d992df5d44eff672fac8aeaa54b | 688 | ts | TypeScript | packages/laravel-kodyfire/src/index.ts | nooqta/kodyfire | ba5dde350f1e4b776efee056e06a047913e96907 | [
"MIT"
] | 1 | 2022-02-03T09:11:40.000Z | 2022-02-03T09:11:40.000Z | packages/laravel-kodyfire/src/index.ts | nooqta/kodyfire | ba5dde350f1e4b776efee056e06a047913e96907 | [
"MIT"
] | 4 | 2022-02-23T22:45:41.000Z | 2022-02-24T06:36:30.000Z | packages/laravel-kodyfire/src/index.ts | nooqta/kodyfire | ba5dde350f1e4b776efee056e06a047913e96907 | [
"MIT"
] | null | null | null | export { Concept } from './concepts/concept';
export { Kernel } from './concepts/kernel';
export { Controller } from './concepts/controller';
export { Model } from './concepts/model';
export { Request } from './concepts/request';
export { Repository } from './concepts/repository';
export { Migration } from './concepts/... | 43 | 55 | 0.694767 |
2fbb813247c72ac96b54ffa884030f958a75f82b | 130 | py | Python | src/udsxmlrpc/__init__.py | daizhaolin/udsxmlrpc | 1f16ce8029e0bd68b08ad02119ca5bcec61971dd | [
"BSD-3-Clause"
] | 1 | 2020-01-15T08:53:53.000Z | 2020-01-15T08:53:53.000Z | src/udsxmlrpc/__init__.py | daizhaolin/udsxmlrpc | 1f16ce8029e0bd68b08ad02119ca5bcec61971dd | [
"BSD-3-Clause"
] | null | null | null | src/udsxmlrpc/__init__.py | daizhaolin/udsxmlrpc | 1f16ce8029e0bd68b08ad02119ca5bcec61971dd | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: UTF-8 -*-
'''
Created on 2020-01-13
@author: daizhaolin
'''
from .server import Server
from .client import Client
| 13 | 26 | 0.669231 |
2cddcd8889216dde8e8197eab76a84f25b0bdbe1 | 410 | hpp | C++ | library/ATF/stdext__hash_compare.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/stdext__hash_compare.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/stdext__hash_compare.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <std__less.hpp>
START_ATF_NAMESPACE
namespace stdext
{
template<typename _Ty, typename _Less = std::less<_Ty>>
struct hash_compare
... | 22.777778 | 108 | 0.663415 |
a3a1b64234a25f3501187caaa9ee5d64d0e955f7 | 147 | sql | SQL | Benchmarks/queries/flights/Q017.sql | dr-pain/omniscidb | 7bf56492aa7cf83ea0ca190207619bec93aac768 | [
"Apache-2.0"
] | 868 | 2019-05-14T22:11:17.000Z | 2022-02-28T09:15:23.000Z | Benchmarks/queries/flights/Q017.sql | dr-pain/omniscidb | 7bf56492aa7cf83ea0ca190207619bec93aac768 | [
"Apache-2.0"
] | 327 | 2019-05-16T18:07:57.000Z | 2022-02-26T09:34:04.000Z | Benchmarks/queries/flights/Q017.sql | dr-pain/omniscidb | 7bf56492aa7cf83ea0ca190207619bec93aac768 | [
"Apache-2.0"
] | 166 | 2019-05-22T11:17:10.000Z | 2022-02-26T06:58:45.000Z | select
origin_name,
dest_name,
avg(arrdelay),
avg(depdelay),
avg(arrdelay + depdelay)
from
##TAB##
group by
origin_name,
dest_name
| 12.25 | 26 | 0.687075 |
85865df80f450e0cb19b0ea4fdd0f331b3da42ec | 1,777 | swift | Swift | Sources/Constants/MIDIInterval.swift | oettam/Gong | 554859c13a34c5a5779111d0dc268b9e427eeba5 | [
"MIT"
] | 67 | 2017-04-30T01:07:20.000Z | 2022-02-03T00:09:50.000Z | Sources/Constants/MIDIInterval.swift | oettam/Gong | 554859c13a34c5a5779111d0dc268b9e427eeba5 | [
"MIT"
] | 10 | 2017-06-14T18:39:38.000Z | 2021-12-16T13:03:45.000Z | Sources/Constants/MIDIInterval.swift | oettam/Gong | 554859c13a34c5a5779111d0dc268b9e427eeba5 | [
"MIT"
] | 18 | 2017-05-18T03:13:00.000Z | 2022-02-09T19:08:53.000Z | //
// MIDIInterval.swift
// Gong
//
// Created by Daniel Clelland on 7/10/17.
// Copyright © 2017 Daniel Clelland. All rights reserved.
//
import Foundation
public let perfectUnison = 0
public let minorSecond = 1
public let majorSecond = 2
public let minorThird = 3
public let majorThird = 4
public let perfectFour... | 26.924242 | 58 | 0.793472 |
84afe111de2e6035c49326ff880c5f5ac600d5db | 3,131 | cs | C# | Source/CompFilter.cs | AUTOMATIC1111/Radiology | ec384125fa22d847a14fed76a7e5f1a5d4dd6d6f | [
"MIT"
] | 3 | 2018-09-07T21:27:33.000Z | 2021-11-03T01:05:04.000Z | Source/CompFilter.cs | AUTOMATIC1111/Radiology | ec384125fa22d847a14fed76a7e5f1a5d4dd6d6f | [
"MIT"
] | 3 | 2018-08-12T20:57:21.000Z | 2021-09-20T19:44:47.000Z | Source/CompFilter.cs | AUTOMATIC1111/Radiology | ec384125fa22d847a14fed76a7e5f1a5d4dd6d6f | [
"MIT"
] | 6 | 2018-08-12T20:47:38.000Z | 2021-11-03T01:05:07.000Z | using RimWorld;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using Verse;
namespace Radiology
{
class CompFilter :ThingComp, IRadiationModifier, ISelectMultiple<CompFilterOperationMode>
{
public new CompPropertiesFilter props => base.props as... | 36.406977 | 114 | 0.624401 |
0cb3d709268fe517aa8744c5e53fca3c79033998 | 6,058 | rb | Ruby | spec/defines/repo_spec.rb | sohonet/computology-packagecloud | 1ebf8a5e79cf61234c85187a1641519c49f8986b | [
"Apache-2.0"
] | null | null | null | spec/defines/repo_spec.rb | sohonet/computology-packagecloud | 1ebf8a5e79cf61234c85187a1641519c49f8986b | [
"Apache-2.0"
] | null | null | null | spec/defines/repo_spec.rb | sohonet/computology-packagecloud | 1ebf8a5e79cf61234c85187a1641519c49f8986b | [
"Apache-2.0"
] | 1 | 2017-10-10T09:23:26.000Z | 2017-10-10T09:23:26.000Z | require 'spec_helper'
describe 'packagecloud::repo' do
let :pre_condition do
"Exec { path => [ '/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/' ] }"
end
# add these two lines in a single test block to enable puppet and hiera debug mode
# Puppet::Util::Log.level = :debug
# Puppet::Util::Log.newdestination(:... | 29.125 | 167 | 0.570155 |
dd650a7d697ae273d227eecc1f60e81e7f3305be | 32,688 | java | Java | org-netbeans-modules-form/src/main/java/org/netbeans/modules/form/CreationFactory.java | ses1112/adito-nb-modules | e908d4814f1e0c8a859bbef5b2db432e324b2f92 | [
"Apache-2.0"
] | null | null | null | org-netbeans-modules-form/src/main/java/org/netbeans/modules/form/CreationFactory.java | ses1112/adito-nb-modules | e908d4814f1e0c8a859bbef5b2db432e324b2f92 | [
"Apache-2.0"
] | null | null | null | org-netbeans-modules-form/src/main/java/org/netbeans/modules/form/CreationFactory.java | ses1112/adito-nb-modules | e908d4814f1e0c8a859bbef5b2db432e324b2f92 | [
"Apache-2.0"
] | null | null | null | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... | 37.658986 | 134 | 0.553445 |
a198bafc9d5d71861ea89a5284a058a33df864dc | 78 | ts | TypeScript | src/helpers/hooks/index.ts | danieka12/docheck-test | 8c68b704ad33a59d014d4bf95908e7867e9b4f5a | [
"MIT"
] | null | null | null | src/helpers/hooks/index.ts | danieka12/docheck-test | 8c68b704ad33a59d014d4bf95908e7867e9b4f5a | [
"MIT"
] | null | null | null | src/helpers/hooks/index.ts | danieka12/docheck-test | 8c68b704ad33a59d014d4bf95908e7867e9b4f5a | [
"MIT"
] | null | null | null | export { default as useQueryWrapper } from '@/helpers/hooks/useQueryWrapper';
| 39 | 77 | 0.782051 |
54208d3cb19e149df0e8f1e9ecc06bb097bed016 | 2,238 | css | CSS | public/css/event/showone.css | paulagolder/fflsas20 | b8dab71006a4a5bce9ec57e657f749a48d9481fa | [
"MIT"
] | null | null | null | public/css/event/showone.css | paulagolder/fflsas20 | b8dab71006a4a5bce9ec57e657f749a48d9481fa | [
"MIT"
] | 1 | 2020-07-21T16:12:47.000Z | 2020-07-21T16:12:47.000Z | web/css/event/showone.css | paulagolder/fflsas80 | b62f5b3e2acfe788841b5a0ffae1a7c9887a0f66 | [
"MIT"
] | null | null | null |
xdiv#event div.breadcrumbs
{
color:red;
font-size : 1em;
}
xdiv#event div.breadcrumbs a
{
color:blue;
text-decoration:none;
}
div#event a
{
color:blue;
text-decoration:none;
}
div#event div.heading
{
display:flex;
}
xdiv#event div.subheading
{
display:flex;
}
xdiv#event div.subheading div... | 11.536082 | 43 | 0.615282 |
ae9bd267f239e3f3ada05e3e42f3a4b4b4ef7f59 | 12,515 | cs | C# | src/Couchbase.Lite.Shared/Replication/Batcher.cs | LongoMatch/couchbase-lite-net | 6971f39aa1633760e4167c9ad2783f72db0c3f84 | [
"Apache-2.0"
] | null | null | null | src/Couchbase.Lite.Shared/Replication/Batcher.cs | LongoMatch/couchbase-lite-net | 6971f39aa1633760e4167c9ad2783f72db0c3f84 | [
"Apache-2.0"
] | 3 | 2016-07-11T07:20:42.000Z | 2016-09-07T08:19:55.000Z | src/Couchbase.Lite.Shared/Replication/Batcher.cs | LongoMatch/couchbase-lite-net | 6971f39aa1633760e4167c9ad2783f72db0c3f84 | [
"Apache-2.0"
] | 1 | 2019-12-26T08:28:34.000Z | 2019-12-26T08:28:34.000Z | //
// Batcher.cs
//
// Author:
// Zachary Gramana <zack@xamarin.com>
//
// Copyright (c) 2014 Xamarin Inc
// Copyright (c) 2014 .NET Foundation
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in t... | 35.056022 | 229 | 0.526968 |
b0c908495552632d6217bd5dee2235f82f8f74cb | 224 | py | Python | webServer/input_DB.py | CSID-DGU/2021-2-OSSP2-Coconut-1 | d910af8760ee5b8e29f3bde61a0695656deadd9d | [
"MIT"
] | null | null | null | webServer/input_DB.py | CSID-DGU/2021-2-OSSP2-Coconut-1 | d910af8760ee5b8e29f3bde61a0695656deadd9d | [
"MIT"
] | null | null | null | webServer/input_DB.py | CSID-DGU/2021-2-OSSP2-Coconut-1 | d910af8760ee5b8e29f3bde61a0695656deadd9d | [
"MIT"
] | null | null | null | import pandas as pd
data = pd.read_csv("./2021-2-OSSP2-Coconut-1/algorithm/matrix_231x201.csv")
for row in range(len(data)):
for col in range(len(data.iloc[0])-2):
len(data.iloc[row])
print(data.iloc[0,1]) | 24.888889 | 75 | 0.665179 |
47ecc7b670b6a2de4b3b42aa3982d28c3a3da878 | 2,076 | rb | Ruby | app/models/requests/borrow_direct_lookup.rb | pulibrary/requests | dad6078a269f2508e1c06011131585e856b0b331 | [
"MIT"
] | 2 | 2017-07-07T04:21:29.000Z | 2018-05-02T20:55:16.000Z | app/models/requests/borrow_direct_lookup.rb | pulibrary/requests | dad6078a269f2508e1c06011131585e856b0b331 | [
"MIT"
] | 811 | 2015-11-30T18:13:01.000Z | 2022-03-30T20:34:24.000Z | app/models/requests/borrow_direct_lookup.rb | pulibrary/requests | dad6078a269f2508e1c06011131585e856b0b331 | [
"MIT"
] | null | null | null | require 'borrow_direct'
module Requests
class BorrowDirectLookup
attr_reader :query_params
attr_reader :find_response
attr_reader :request_number
def initialize; end
# default method using BorrowDirect::Defaults.find_item_patron_barcode
def find(query_params, barcode = nil)
## failed ... | 57.666667 | 1,039 | 0.696532 |
6d9530a93da32606ca9a2bbca2a838d364ff7219 | 4,045 | h | C | RenderCore/OpenGLES/Metal/Resource.h | pocketgems/XLE2 | 82771e9ab1fc3b12927f1687bbe05d4f7dce8765 | [
"MIT"
] | 3 | 2018-05-17T08:39:39.000Z | 2020-12-09T13:20:26.000Z | RenderCore/OpenGLES/Metal/Resource.h | pocketgems/XLE2 | 82771e9ab1fc3b12927f1687bbe05d4f7dce8765 | [
"MIT"
] | null | null | null | RenderCore/OpenGLES/Metal/Resource.h | pocketgems/XLE2 | 82771e9ab1fc3b12927f1687bbe05d4f7dce8765 | [
"MIT"
] | 1 | 2021-11-14T08:50:15.000Z | 2021-11-14T08:50:15.000Z | #pragma once
#include "../../ResourceDesc.h"
#include "../../IDevice.h"
#include "ObjectFactory.h"
#include "../../../Utility/IteratorUtils.h"
namespace RenderCore
{
class SubResourceInitData;
}
namespace RenderCore { namespace Metal_OpenGLES
{
class ObjectFactory;
class Resource : public IResource
... | 33.429752 | 110 | 0.659333 |
1f0c601a06a29c6590f1031a33192899f6bfebf6 | 2,240 | sql | SQL | sql/2020/css/calc_units.sql | andreylipattsev/almanac.httparchive.org | a05ae166c09eecdcd34e0c1882d3003b5bfee6b6 | [
"Apache-2.0"
] | 1 | 2022-02-17T21:14:02.000Z | 2022-02-17T21:14:02.000Z | sql/2020/css/calc_units.sql | andreylipattsev/almanac.httparchive.org | a05ae166c09eecdcd34e0c1882d3003b5bfee6b6 | [
"Apache-2.0"
] | 107 | 2019-10-10T22:56:25.000Z | 2021-06-03T05:28:54.000Z | sql/2020/css/calc_units.sql | andreylipattsev/almanac.httparchive.org | a05ae166c09eecdcd34e0c1882d3003b5bfee6b6 | [
"Apache-2.0"
] | 2 | 2019-10-10T11:31:25.000Z | 2020-07-19T04:20:42.000Z | #standardSQL
CREATE TEMPORARY FUNCTION getCalcUnits(css STRING)
RETURNS ARRAY<STRUCT<name STRING, freq INT64>>
LANGUAGE js
OPTIONS (library = "gs://httparchive/lib/css-utils.js")
AS '''
try {
function compute(ast) {
let ret = {
total: 0,
properties: {},
units: {},
number_of_different_units... | 23.829787 | 75 | 0.580804 |
f37265dbff300f9c320bd94407f2e31866552a4b | 1,822 | lua | Lua | Hack/Lua/5.1/examples/luaex/test.lua | andregoro/sitemain | 44d9eb6e7e29253b89664efb462829294d0d6326 | [
"FSFAP"
] | 16 | 2020-09-20T22:32:54.000Z | 2021-04-02T17:14:25.000Z | Hack/Lua/5.1/examples/luaex/test.lua | andregoro/sitemain | 44d9eb6e7e29253b89664efb462829294d0d6326 | [
"FSFAP"
] | 3 | 2020-09-30T11:41:49.000Z | 2021-12-19T23:27:19.000Z | Hack/Lua/5.1/examples/luaex/test.lua | andregoro/sitemain | 44d9eb6e7e29253b89664efb462829294d0d6326 | [
"FSFAP"
] | 1 | 2020-06-29T07:13:57.000Z | 2020-06-29T07:13:57.000Z | -- ---------------------------------------------------------------------------
-- ex.lua - This is a small example of some of the things that can be done
-- with the 'ex' library.
--
-- Author: Ryan Pusztai
-- Date: 07/23/2007
-- Version: 1.00
--
-- NOTES:
-- * You can use the 'ex' namespace for all of the comm... | 38.765957 | 90 | 0.431943 |
d3d548c65653c4517106ee5268e24d5733b9fec6 | 738 | rb | Ruby | lib/flickrb/configuration.rb | paveg/Flickrb | 8d884b11842b68de8c7cfae96a06f5fee736ba99 | [
"MIT"
] | null | null | null | lib/flickrb/configuration.rb | paveg/Flickrb | 8d884b11842b68de8c7cfae96a06f5fee736ba99 | [
"MIT"
] | 4 | 2018-06-17T18:46:56.000Z | 2018-07-19T17:39:35.000Z | lib/flickrb/configuration.rb | paveg/Flickrb | 8d884b11842b68de8c7cfae96a06f5fee736ba99 | [
"MIT"
] | 1 | 2018-07-20T05:55:10.000Z | 2018-07-20T05:55:10.000Z | # frozen_string_literal: true
require 'flickrb/configuration'
require 'flickrb/default'
module Flickrb
module Configuration
extend Forwardable
attr_accessor :api_key
class << self
# @return [Array]
def attr_keys
@attr_keys ||= %i[api_key api_secret]
end
end
def confi... | 17.162791 | 72 | 0.604336 |
9fd4fd9cfb9349cc95f02927de8c1df6454f7007 | 876 | py | Python | 2020/d25/d225.py | adam-blinzler/advent_of_code_2020 | a9681c04e1618090913411c24d3872cd97fc6ec9 | [
"MIT"
] | null | null | null | 2020/d25/d225.py | adam-blinzler/advent_of_code_2020 | a9681c04e1618090913411c24d3872cd97fc6ec9 | [
"MIT"
] | null | null | null | 2020/d25/d225.py | adam-blinzler/advent_of_code_2020 | a9681c04e1618090913411c24d3872cd97fc6ec9 | [
"MIT"
] | null | null | null | def find_loop_size(target):
loop_size = 0
c = 1
while True:
loop_size += 1
c *= 7
c = c % 20201227
if c == target:
return loop_size
def transform_loop(public, loop_size):
c = 1
for _ in range(loop_size):
c *= public
c = c % 20201227
re... | 23.675676 | 42 | 0.615297 |
5b9fd2039504c3deec63eb89a371e56d62bd66ca | 793 | swift | Swift | Sources/ABCIMessages/Types/PartSetHeader.swift | CosmosSwift/swift-abci | 5d7d73a9038bdde5e266b9f0a337b4bb4a889bdc | [
"Apache-2.0"
] | 6 | 2020-06-05T16:20:19.000Z | 2021-02-17T22:40:09.000Z | Sources/ABCIMessages/Types/PartSetHeader.swift | CosmosSwift/swift-abci | 5d7d73a9038bdde5e266b9f0a337b4bb4a889bdc | [
"Apache-2.0"
] | null | null | null | Sources/ABCIMessages/Types/PartSetHeader.swift | CosmosSwift/swift-abci | 5d7d73a9038bdde5e266b9f0a337b4bb4a889bdc | [
"Apache-2.0"
] | null | null | null | // ===----------------------------------------------------------------------===
//
// This source file is part of the CosmosSwift open source project.
//
// PartSetHeader.swift last updated 02/06/2020
//
// Copyright © 2020 Katalysis B.V. and the CosmosSwift project authors.
// Licensed under Apache License v2.0
//... | 28.321429 | 79 | 0.551072 |
a151cc232ee49f052b3eca683c197599bb0bcf49 | 730 | ts | TypeScript | src/backend/components/base.ts | synesthesia-project/light-desk | e71964362c35c93103d70eac3d9e70166e1e120c | [
"MIT"
] | 6 | 2018-12-12T19:05:18.000Z | 2019-09-24T19:33:31.000Z | src/backend/components/base.ts | synesthesia-project/light-desk | e71964362c35c93103d70eac3d9e70166e1e120c | [
"MIT"
] | 7 | 2020-09-05T20:31:10.000Z | 2022-01-11T08:35:46.000Z | src/backend/components/base.ts | synesthesia-project/light-desk | e71964362c35c93103d70eac3d9e70166e1e120c | [
"MIT"
] | null | null | null | import * as proto from '../../shared/proto';
import {IDMap} from '../util/id-map';
export abstract class Component {
/** @hidden */
private parent: Parent | null = null;
/** @hidden */
public setParent(parent: Parent) {
if (this.parent) {
// TODO: remove self from existing parent
}
this.par... | 20.277778 | 69 | 0.631507 |
0cadf215d9993a53a0a80b350c160e8eaf5bf5c1 | 471 | sql | SQL | src/data/books/updateBook.sql | rgorme/librarydb | 6ab6878f2ecf438d1d13ec51195a0bfc2ead801f | [
"MIT"
] | null | null | null | src/data/books/updateBook.sql | rgorme/librarydb | 6ab6878f2ecf438d1d13ec51195a0bfc2ead801f | [
"MIT"
] | null | null | null | src/data/books/updateBook.sql | rgorme/librarydb | 6ab6878f2ecf438d1d13ec51195a0bfc2ead801f | [
"MIT"
] | null | null | null | DECLARE @DB_BOOK_TITLE VARCHAR(1000)
DECLARE @DB_BOOK_PAGE_NUMBER INT
DECLARE @DB_BOOK_ISBN VARCHAR(13)
DECLARE @DB_BOOK_RESUME VARCHAR(MAX)
DECLARE @DB_BOOK_ID INT
SET @DB_BOOK_TITLE = @BOOK_TITLE
SET @DB_BOOK_PAGE_NUMBER = @BOOK_PAGE_NUMBER
SET @DB_BOOK_ISBN = @BOOK_ISBN
SET @DB_BOOK_RESUME = @BOOK_RESUME
SET @DB_BO... | 26.166667 | 44 | 0.798301 |
05f145b8b46b39daeae5064c336d78fd9614276d | 1,761 | py | Python | tests/test_cards.py | SEary342/PyBlackjack | 479d45f4d0e0523475ac1c4b28502c0a7cf0e4f8 | [
"MIT"
] | null | null | null | tests/test_cards.py | SEary342/PyBlackjack | 479d45f4d0e0523475ac1c4b28502c0a7cf0e4f8 | [
"MIT"
] | null | null | null | tests/test_cards.py | SEary342/PyBlackjack | 479d45f4d0e0523475ac1c4b28502c0a7cf0e4f8 | [
"MIT"
] | null | null | null | import unittest
import copy
from cards import Card, build_deck, _shuffle
class Test_Card_Methods(unittest.TestCase):
card_list = [
Card("5", "Hearts", 5),
Card("6", "Spades", 6),
Card("King", "Spades", 10),
]
def test_card_reps(self):
test_card = Card("5", "Hearts", 5)
... | 31.446429 | 77 | 0.618966 |
c9b87f811453e21246c33f0a86f10c361f7f6fcc | 1,234 | ts | TypeScript | dist/mixins/hookable-mixin.d.ts | Eveble/eveble | 634f8ce55b78e1ad2cdd9abb2068322382dcb873 | [
"MIT"
] | 7 | 2017-02-21T03:53:51.000Z | 2021-06-28T15:09:08.000Z | dist/mixins/hookable-mixin.d.ts | Eveble/eveble | 634f8ce55b78e1ad2cdd9abb2068322382dcb873 | [
"MIT"
] | 27 | 2020-07-05T19:38:29.000Z | 2022-03-27T01:54:32.000Z | dist/mixins/hookable-mixin.d.ts | Eveble/eveble | 634f8ce55b78e1ad2cdd9abb2068322382dcb873 | [
"MIT"
] | null | null | null | import 'reflect-metadata';
import { ExtendableError } from '@eveble/core';
import { types } from '../types';
export declare class HookError extends ExtendableError {
}
export declare class InvalidHookActionError extends HookError {
constructor(got: any);
}
export declare class InvalidHookIdError extends Hoo... | 42.551724 | 96 | 0.729335 |
8eb127bd23e401dd104abdec94cc490b834fc568 | 845,276 | js | JavaScript | dist/vendor.js | GongT/actions-recreate-release | 3faec3928635e661a683e3ea12af7f4589279978 | [
"MIT"
] | 1 | 2020-12-07T14:37:22.000Z | 2020-12-07T14:37:22.000Z | dist/vendor.js | GongT/actions-recreate-release | 3faec3928635e661a683e3ea12af7f4589279978 | [
"MIT"
] | 1 | 2020-11-07T11:38:37.000Z | 2020-11-16T07:42:40.000Z | dist/vendor.js | GongT/actions-recreate-release | 3faec3928635e661a683e3ea12af7f4589279978 | [
"MIT"
] | null | null | null | 'use strict';
var path = require('path');
var fs = require('fs');
var constants = require('constants');
var Stream$1 = require('stream');
var util$1 = require('util');
var assert = require('assert');
var require$$0 = require('console');
var require$$0$1 = require('os');
var childProcess = require('child_process');
var... | 32.899078 | 321 | 0.572858 |
fa61a1793e2b57b94e64326851a048b2a43f300f | 1,172 | hpp | C++ | source/NanairoCore/Data/intersection_test_result.hpp | byzin/Nanairo | 23fb6deeec73509c538a9c21009e12be63e8d0e4 | [
"MIT"
] | 30 | 2015-09-06T03:14:29.000Z | 2021-06-18T11:00:19.000Z | source/NanairoCore/Data/intersection_test_result.hpp | byzin/Nanairo | 23fb6deeec73509c538a9c21009e12be63e8d0e4 | [
"MIT"
] | 31 | 2016-01-14T14:50:34.000Z | 2018-06-25T13:21:48.000Z | source/NanairoCore/Data/intersection_test_result.hpp | byzin/Nanairo | 23fb6deeec73509c538a9c21009e12be63e8d0e4 | [
"MIT"
] | 6 | 2017-04-09T13:07:47.000Z | 2021-05-29T21:17:34.000Z | /*!
\file intersection_test_result.hpp
\author Sho Ikeda
Copyright (c) 2015-2018 Sho Ikeda
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
*/
#ifndef NANAIRO_INTERSECTION_TEST_RESULT_HPP
#define NANAIRO_INTERSECTION_TEST_RESULT_HPP
// Nanairo
#include "Nana... | 21.309091 | 52 | 0.756826 |
ebb2d800a1c57bdaedfe55f4a9fa522243b3d776 | 338 | css | CSS | webinar-30-11/oldschool/styles.css | axZerk/fe11-webinars | 490e4a31ac183104fea10663d181062a890ad4d2 | [
"MIT"
] | 4 | 2017-12-05T19:26:30.000Z | 2018-03-09T20:24:40.000Z | webinar-30-11/oldschool/styles.css | axZerk/fe11-webinars | 490e4a31ac183104fea10663d181062a890ad4d2 | [
"MIT"
] | null | null | null | webinar-30-11/oldschool/styles.css | axZerk/fe11-webinars | 490e4a31ac183104fea10663d181062a890ad4d2 | [
"MIT"
] | 1 | 2018-03-08T14:45:06.000Z | 2018-03-08T14:45:06.000Z | * {
box-sizing: border-box;
padding: 0;
margin: 0;
}
.menu {
display: flex;
}
.menu__link {
text-decoration: none;
padding: 10px 20px;
margin-right: 10px;
border: 2px solid #424242;
text-transform: uppercase;
font-weight: 600;
color: #424242;
}
.menu__link--active {
background-color: #424242;... | 13.52 | 28 | 0.642012 |
fa3e9a0bc2dd0bcba79d797ef2269824617ff5b6 | 3,440 | cpp | C++ | genome/genome.cpp | nicodex/lianzifu | 67c08abf0636e85512bfc91ac9ebe43dc2255186 | [
"MIT"
] | 2 | 2018-02-01T04:08:48.000Z | 2018-02-03T16:33:38.000Z | genome/genome.cpp | nicodex/lianzifu | 67c08abf0636e85512bfc91ac9ebe43dc2255186 | [
"MIT"
] | 1 | 2018-02-02T12:28:32.000Z | 2018-02-09T13:13:53.000Z | genome/genome.cpp | nicodex/lianzifu | 67c08abf0636e85512bfc91ac9ebe43dc2255186 | [
"MIT"
] | 1 | 2020-05-20T15:52:21.000Z | 2020-05-20T15:52:21.000Z | //
// Copyright (c) 2018 Nico Bendlin <nico@nicode.net>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, mod... | 20.598802 | 80 | 0.623256 |
1424ec81b3cda693c0dc317dc745e45521ebd6da | 293 | ts | TypeScript | src/components/button/Button.d.ts | daofresh/primevue | f07a6a6a9c6655504e0c173bad24bafa3f750537 | [
"MIT"
] | 2,365 | 2017-09-20T18:40:37.000Z | 2022-03-31T19:03:56.000Z | src/components/button/Button.d.ts | daofresh/primevue | f07a6a6a9c6655504e0c173bad24bafa3f750537 | [
"MIT"
] | 2,084 | 2018-02-11T17:08:46.000Z | 2022-03-31T14:51:00.000Z | src/components/button/Button.d.ts | daofresh/primevue | f07a6a6a9c6655504e0c173bad24bafa3f750537 | [
"MIT"
] | 549 | 2017-12-28T02:28:47.000Z | 2022-03-31T09:17:19.000Z | interface ButtonProps {
style?: any;
class?: string;
label?: string;
icon?: string;
iconPos?: string;
badge?: string;
badgeClass?: string;
loading?: boolean;
loadingIcon?: string;
}
declare class Button {
$props: ButtonProps;
}
export default Button;
| 16.277778 | 25 | 0.627986 |
8e9d7321d52c3ee5f08a2d4d943569c6fa9211b4 | 745 | js | JavaScript | lib/resource.js | Dan70402/qless-js | 8300b590a901f7ee4ecb2cf510a911f250497d53 | [
"MIT"
] | null | null | null | lib/resource.js | Dan70402/qless-js | 8300b590a901f7ee4ecb2cf510a911f250497d53 | [
"MIT"
] | null | null | null | lib/resource.js | Dan70402/qless-js | 8300b590a901f7ee4ecb2cf510a911f250497d53 | [
"MIT"
] | 1 | 2017-06-27T16:18:30.000Z | 2017-06-27T16:18:30.000Z | 'use strict';
/**
* All our resource operations
*
* A class that allows us to change and manipulate resouce settings
*/
class Resource {
constructor(client) {
this.client = client;
}
counts(cb) {
this.client.call('resources', (err, res) => {
if (!err) res = JSON.parse(res);
cb(err, res... | 17.325581 | 67 | 0.565101 |
2c9e3ab43e596b8dd9a357c573e43d2d5a997fcb | 883 | rs | Rust | runtime/standalone/src/benchmarking/chainlink_price_manager.rs | minterest-finance/minterest-chain-node | b932f0dfd3cda93a3de30e87c8463ad23116fea1 | [
"Apache-2.0"
] | 10 | 2021-03-03T12:14:25.000Z | 2021-05-19T10:01:36.000Z | runtime/standalone/src/benchmarking/chainlink_price_manager.rs | minterest-finance/minterest-chain-node | b932f0dfd3cda93a3de30e87c8463ad23116fea1 | [
"Apache-2.0"
] | 28 | 2021-03-02T08:09:08.000Z | 2021-07-27T10:52:46.000Z | runtime/standalone/src/benchmarking/chainlink_price_manager.rs | minterest-finance/minterest-chain-node | b932f0dfd3cda93a3de30e87c8463ad23116fea1 | [
"Apache-2.0"
] | 1 | 2021-07-07T11:33:50.000Z | 2021-07-07T11:33:50.000Z | use crate::Runtime;
use frame_system::RawOrigin;
use orml_benchmarking::runtime_benchmarks;
runtime_benchmarks! {
{ Runtime, chainlink_price_manager }
disable_feeding {
}: _(
RawOrigin::Root
)
enable_feeding {
}: _(
RawOrigin::Root
)
initiate_new_round {
}: _(
RawOrigin::None,
0, // feed_id
1 // ... | 16.660377 | 59 | 0.697622 |
ebd806119e0282b4904d8f965b8972902af80d27 | 58 | css | CSS | src/ui-components/styled-hr/hr.css | DannyHeyes/personal-site-gatsby | 9e53dbb18acf2210fb0b751ba4d345e6b4613f73 | [
"RSA-MD"
] | null | null | null | src/ui-components/styled-hr/hr.css | DannyHeyes/personal-site-gatsby | 9e53dbb18acf2210fb0b751ba4d345e6b4613f73 | [
"RSA-MD"
] | 1 | 2021-12-07T12:35:03.000Z | 2021-12-07T12:35:03.000Z | src/ui-components/styled-hr/hr.css | DannyHeyes/personal-site-gatsby | 9e53dbb18acf2210fb0b751ba4d345e6b4613f73 | [
"RSA-MD"
] | null | null | null | hr {
border: none;
border-top: 2px solid #97979730;
}
| 11.6 | 34 | 0.637931 |
c696ffc0792f9f3bedb5ca987ed7e772c80141a3 | 3,845 | rs | Rust | fixed-uint-tests/tests/std_ops_shift.rs | EwoutH/rust-numext | 460bddb85b50687abb93dee71317c1dab1476b6b | [
"Apache-2.0",
"MIT"
] | 31 | 2019-01-10T13:52:56.000Z | 2022-03-09T07:55:29.000Z | fixed-uint-tests/tests/std_ops_shift.rs | EwoutH/rust-numext | 460bddb85b50687abb93dee71317c1dab1476b6b | [
"Apache-2.0",
"MIT"
] | 15 | 2019-01-02T03:12:55.000Z | 2021-09-16T06:24:26.000Z | fixed-uint-tests/tests/std_ops_shift.rs | EwoutH/rust-numext | 460bddb85b50687abb93dee71317c1dab1476b6b | [
"Apache-2.0",
"MIT"
] | 5 | 2018-11-06T04:05:51.000Z | 2018-12-24T09:44:13.000Z | // Copyright 2018-2019 Cryptape Technologies LLC.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// ... | 32.584746 | 68 | 0.586736 |