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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
db86cb2152214964ea3189eb8e7326b04bd3a4ef | 3,049 | php | PHP | app/Models/Campaign.php | LaravelDevBose/e_com_backend | 70f60a510294233aa21d579d524e2aa49a00c82e | [
"MIT"
] | null | null | null | app/Models/Campaign.php | LaravelDevBose/e_com_backend | 70f60a510294233aa21d579d524e2aa49a00c82e | [
"MIT"
] | 18 | 2019-04-30T21:06:39.000Z | 2019-05-21T19:16:07.000Z | app/Models/Campaign.php | LaravelDevBose/e_com_backend | 70f60a510294233aa21d579d524e2aa49a00c82e | [
"MIT"
] | 1 | 2019-05-21T18:58:10.000Z | 2019-05-21T18:58:10.000Z | <?php
namespace App\Models;
use App\Traits\ManipulateBy;
use Illuminate\Database\Eloquent\Model;
class Campaign extends Model
{
use ManipulateBy;
protected static function boot()
{
parent::boot(); // TODO: Change the autogenerated stub
// ManipulateBy::bootManipulateBy();
}
const... | 25.838983 | 115 | 0.562807 |
0f6586b45ebcdcfe1e7c0f19f1ae33e5ae3dfdf2 | 1,251 | dart | Dart | test/js_interop_helpers_test/shared_tests.dart | jey/react-dart | 389ffd0022f4aaea35b848a6b4654d4f59caee76 | [
"BSD-2-Clause"
] | null | null | null | test/js_interop_helpers_test/shared_tests.dart | jey/react-dart | 389ffd0022f4aaea35b848a6b4654d4f59caee76 | [
"BSD-2-Clause"
] | null | null | null | test/js_interop_helpers_test/shared_tests.dart | jey/react-dart | 389ffd0022f4aaea35b848a6b4654d4f59caee76 | [
"BSD-2-Clause"
] | null | null | null | // ignore_for_file: deprecated_member_use_from_same_package
@JS()
library js_function_test;
import 'dart:html';
import 'dart:js_util';
import 'package:js/js.dart';
import 'package:react/react_client/react_interop.dart';
import 'package:test/test.dart';
void verifyJsFileLoaded(String filename) {
var isLoaded = docu... | 30.512195 | 119 | 0.677858 |
8877bf0cddac2e69ee2e01702972b746026035c9 | 488 | cs | C# | OmpForDotNet.Utility/Parsers/ParallelDirectiveParser.cs | NamiraJV/OmpForDotNet | 7fbb791208b2a6e0d6b5f303ba6cff1d05320d20 | [
"Apache-2.0"
] | null | null | null | OmpForDotNet.Utility/Parsers/ParallelDirectiveParser.cs | NamiraJV/OmpForDotNet | 7fbb791208b2a6e0d6b5f303ba6cff1d05320d20 | [
"Apache-2.0"
] | 1 | 2019-01-02T11:07:58.000Z | 2019-01-02T11:07:58.000Z | OmpForDotNet.Utility/Parsers/ParallelDirectiveParser.cs | NamiraJV/OmpForDotNet | 7fbb791208b2a6e0d6b5f303ba6cff1d05320d20 | [
"Apache-2.0"
] | null | null | null | using OmpForDotNet.Utility.Entities;
namespace OmpForDotNet.Utility.Parsers
{
public class ParallelDirectiveParser : DirectiveParser
{
private const string PARALLEL_CODE = "parallel";
public override OmpDirectiveInfo Parse(string directive)
{
return new OmpDirectiveInfo(Dir... | 32.533333 | 120 | 0.715164 |
97bb0912722495d33a43ab056a11053e99f96cee | 1,003 | sh | Shell | tools/osx-notarize.sh | Nandoflo/node | 18132c3339ad91ee910a35f00db8958c62e036f5 | [
"MIT"
] | 20 | 2020-07-19T19:26:11.000Z | 2022-03-01T07:20:00.000Z | tools/osx-notarize.sh | Nandoflo/node | 18132c3339ad91ee910a35f00db8958c62e036f5 | [
"MIT"
] | 41 | 2020-03-27T13:36:50.000Z | 2022-02-10T16:32:08.000Z | tools/osx-notarize.sh | Nandoflo/node | 18132c3339ad91ee910a35f00db8958c62e036f5 | [
"MIT"
] | 1 | 2020-11-15T20:38:40.000Z | 2020-11-15T20:38:40.000Z | #!/bin/bash
# Uses gon, from https://github.com/mitchellh/gon, to notarize a generated node-<version>.pkg file
# with Apple for installation on macOS Catalina and later as validated by Gatekeeper.
set -e
gon_version="0.2.2"
gon_exe="${HOME}/.gon/gon_${gon_version}"
__dirname="$(CDPATH= cd "$(dirname "${BASH_SOURCE[... | 26.394737 | 128 | 0.644068 |
bb5dc2d408b6aecea4680d6efabf46d45ae1cfc8 | 379 | cs | C# | RapidXAML.VSIX/RapidXamlToolkit/Logging/ILogger.cs | sibille/Rapid-XAML-Toolkit | 2fb135533158b1ec4ee253b8e81ce4c6028f7474 | [
"MIT"
] | null | null | null | RapidXAML.VSIX/RapidXamlToolkit/Logging/ILogger.cs | sibille/Rapid-XAML-Toolkit | 2fb135533158b1ec4ee253b8e81ce4c6028f7474 | [
"MIT"
] | null | null | null | RapidXAML.VSIX/RapidXamlToolkit/Logging/ILogger.cs | sibille/Rapid-XAML-Toolkit | 2fb135533158b1ec4ee253b8e81ce4c6028f7474 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
namespace RapidXamlToolkit.Logging
{
public interface ILogger
{
void RecordInfo(string message);
void RecordFeatureUsage(string feature);
void RecordError(string message);
... | 19.947368 | 61 | 0.699208 |
68ea5618f9267a40206199be62d6036f9fc4798a | 1,595 | lua | Lua | assets/src/xgame/plugin/alipay.lua | bsqgm/cocos-lua | cbad3eb61c75bbb3f9fdba866cdc30d0dac54af8 | [
"MIT"
] | 141 | 2019-07-09T06:29:35.000Z | 2022-03-30T06:25:16.000Z | assets/src/xgame/plugin/alipay.lua | bsqgm/cocos-lua | cbad3eb61c75bbb3f9fdba866cdc30d0dac54af8 | [
"MIT"
] | 16 | 2019-12-23T06:53:18.000Z | 2021-10-19T17:01:01.000Z | assets/src/xgame/plugin/alipay.lua | bsqgm/cocos-lua | cbad3eb61c75bbb3f9fdba866cdc30d0dac54af8 | [
"MIT"
] | 47 | 2019-08-14T11:12:34.000Z | 2022-03-30T06:25:19.000Z | local class = require "xgame.class"
local util = require "xgame.util"
local runtime = require "xgame.runtime"
local PluginEvent = require "xgame.PluginEvent"
local Dispatcher = require "xgame.Dispatcher"
local cjson = require "cjson.safe"
local trace = util.trace("[alipay]")
local i... | 26.583333 | 74 | 0.625078 |
e76bf625415971f42c3a8a900396fea2d4994fa4 | 4,007 | rs | Rust | src/layer_one/mod.rs | dexterdarwich/toms-data-onion-rust | a795db5173e05491c89a64493533395e2e0f4949 | [
"MIT"
] | null | null | null | src/layer_one/mod.rs | dexterdarwich/toms-data-onion-rust | a795db5173e05491c89a64493533395e2e0f4949 | [
"MIT"
] | null | null | null | src/layer_one/mod.rs | dexterdarwich/toms-data-onion-rust | a795db5173e05491c89a64493533395e2e0f4949 | [
"MIT"
] | null | null | null | use anyhow::{anyhow, Result};
use crate::helpers;
/*
==[ Layer 1/6: Bitwise Operations ]=========================
Computers are big calculators. They perform operations with
numbers -- adding, subtracting, multiplying, etc. They
represent numbers using binary digits (ones and zeros)
called "bits". For example, here ... | 36.427273 | 66 | 0.589718 |
af5e040ab4ec78cb4f106a86d82a0b9d793323b2 | 1,183 | py | Python | Move Zeroes.py | happyandy2017/LeetCode | 64863d9d284a72fa23bed40640f7229a0d904f5b | [
"MIT"
] | null | null | null | Move Zeroes.py | happyandy2017/LeetCode | 64863d9d284a72fa23bed40640f7229a0d904f5b | [
"MIT"
] | null | null | null | Move Zeroes.py | happyandy2017/LeetCode | 64863d9d284a72fa23bed40640f7229a0d904f5b | [
"MIT"
] | null | null | null | """
Move Zeroes
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.
Example:
Input: [0,1,0,3,12]
Output: [1,3,12,0,0]
Note:
You must do this in-place without making a copy of the array.
Minimize the total number of operations.
"""
cl... | 25.717391 | 133 | 0.501268 |
7fbd5281d5356e44ffa509a90ee6f82ba555f85b | 1,009 | php | PHP | web/app/plugins/woocommerce-multilingual/compatibility/class-wcml-ajax-layered-nav-widget.php | Kilbourne/biosphera | d00043a04963575599c9693cc4b49c0db74040ee | [
"MIT"
] | null | null | null | web/app/plugins/woocommerce-multilingual/compatibility/class-wcml-ajax-layered-nav-widget.php | Kilbourne/biosphera | d00043a04963575599c9693cc4b49c0db74040ee | [
"MIT"
] | null | null | null | web/app/plugins/woocommerce-multilingual/compatibility/class-wcml-ajax-layered-nav-widget.php | Kilbourne/biosphera | d00043a04963575599c9693cc4b49c0db74040ee | [
"MIT"
] | 1 | 2019-09-29T17:41:59.000Z | 2019-09-29T17:41:59.000Z | <?php
/**
Class for WooCommerce Advanced Ajax Layered Navigation
*/
class WCML_Ajax_Layered_Nav_Widget {
function __construct() {
add_filter('wc_ajax_layered_nav_sizeselector_term_id', array($this, 'wc_ajax_layered_nav_sizeselector_term_id'));
add_filter('wc_ajax_layered_nav_query_editor', array($this, 'wc_aja... | 25.871795 | 115 | 0.68781 |
75569a1e37c495ae722bfa4a4542f2a0e4bb216f | 35 | css | CSS | Code/WebUi/Content/Styles/style.css | marinoscar/FireAndForget | bf3702fa3e5a9f5afadd53fe15d23e81af152c82 | [
"MIT"
] | null | null | null | Code/WebUi/Content/Styles/style.css | marinoscar/FireAndForget | bf3702fa3e5a9f5afadd53fe15d23e81af152c82 | [
"MIT"
] | null | null | null | Code/WebUi/Content/Styles/style.css | marinoscar/FireAndForget | bf3702fa3e5a9f5afadd53fe15d23e81af152c82 | [
"MIT"
] | null | null | null | .pad-r {
padding-right: 10px
} | 11.666667 | 23 | 0.571429 |
660638e0dcffcab078e2e56bb8c578dfc71b22bf | 2,870 | py | Python | scripts/whatsmyip.py | sujaykumarh/dotfiles | 0873d855c69cb959693cba809c77749b0d6f6213 | [
"Apache-2.0",
"MIT"
] | 3 | 2021-08-02T06:08:55.000Z | 2021-12-15T10:13:14.000Z | scripts/whatsmyip.py | sujaykumarh/dotfiles | 0873d855c69cb959693cba809c77749b0d6f6213 | [
"Apache-2.0",
"MIT"
] | 20 | 2022-01-10T05:23:15.000Z | 2022-03-22T18:55:13.000Z | scripts/whatsmyip.py | sujaykumarh/dotfiles | 0873d855c69cb959693cba809c77749b0d6f6213 | [
"Apache-2.0",
"MIT"
] | null | null | null | #!/usr/bin/env python
# ################################################################################
#
# Copyright Jun, 2020 - present - Sujaykumar.Hublikar <hello@sujaykumarh.com>
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.... | 34.166667 | 115 | 0.625436 |
dbcee88f35a8c881f93abc1249093ff02ae8244b | 378 | php | PHP | index.php | astdb/loop-urls | c73fd26d546e7f558bbf3cefa7d413ef2ecb58ec | [
"MIT"
] | null | null | null | index.php | astdb/loop-urls | c73fd26d546e7f558bbf3cefa7d413ef2ecb58ec | [
"MIT"
] | null | null | null | index.php | astdb/loop-urls | c73fd26d546e7f558bbf3cefa7d413ef2ecb58ec | [
"MIT"
] | null | null | null | <?php
if(isset($_GET['_id']) && is_numeric($_GET['_id'])){
$pageid = intval($_GET['_id']);
} else {
$pageid = '_xx';
}
$loop = false;
if(isset($_GET['_loop']) && strcmp(trim($_GET['_loop']),'true')==0){
$loop = true;
}
if(is_file('index.inc.php')){
include_once('index.inc.php');
} else... | 18.9 | 70 | 0.534392 |
7a07d8bf313b940fb0bd61b421838ad5cbc314f5 | 3,548 | swift | Swift | RescueLink/Models/DeviceSettingsRequest.swift | security-union/armore-ios | 55ef53de10b71780d67cab48e7d62e28f35baf09 | [
"Apache-2.0"
] | 3 | 2021-04-06T02:37:38.000Z | 2021-12-10T08:33:42.000Z | RescueLink/Models/DeviceSettingsRequest.swift | security-union/armore-ios | 55ef53de10b71780d67cab48e7d62e28f35baf09 | [
"Apache-2.0"
] | null | null | null | RescueLink/Models/DeviceSettingsRequest.swift | security-union/armore-ios | 55ef53de10b71780d67cab48e7d62e28f35baf09 | [
"Apache-2.0"
] | null | null | null | //
// DeviceSettingsService.swift
// Armore
//
// Created by Griffin Obeid on 10/30/20.
// Copyright © 2020 Security Union. All rights reserved.
//
import Foundation
import Alamofire
import CoreLocation
func getLocationPermissionState() -> LocationPermissionState {
switch CLLocationManager.authorizationStatus... | 34.115385 | 110 | 0.663191 |
740ef3b34260c1a6971ddc52022f98f395ca63e2 | 1,148 | css | CSS | assets/css/app.css | ejmurra/footballStats | 854abb9e24afa0797cc0ed49ab63ad5c6fb3954a | [
"MIT"
] | 1 | 2020-08-07T16:44:47.000Z | 2020-08-07T16:44:47.000Z | assets/css/app.css | ejmurra/footballStats | 854abb9e24afa0797cc0ed49ab63ad5c6fb3954a | [
"MIT"
] | null | null | null | assets/css/app.css | ejmurra/footballStats | 854abb9e24afa0797cc0ed49ab63ad5c6fb3954a | [
"MIT"
] | null | null | null | .display-table {
margin: 0 auto; }
.display-table th {
font-size: .7em;
line-height: 1em; }
#JameisWinston {
background-color: #D50A0A; }
#JameisWinston td {
color: whitesmoke; }
#MarcusMariota {
background-color: #002244; }
#MarcusMariota td {
color: whitesmoke; }
svg {
font: 10px sans... | 15.944444 | 35 | 0.633275 |
aa1c30b2e1db2ded34c8c60eb738ac58df6e3498 | 1,363 | rb | Ruby | test/br_nfe/service/sc/florianopolis/cancellation_test.rb | laerciocrestani/br_nfe | cab16bf8268c768bfbc28592e2e5bdbfd18f22f8 | [
"MIT"
] | 64 | 2015-09-29T22:01:12.000Z | 2021-01-11T18:43:20.000Z | test/br_nfe/service/sc/florianopolis/cancellation_test.rb | laerciocrestani/br_nfe | cab16bf8268c768bfbc28592e2e5bdbfd18f22f8 | [
"MIT"
] | 4 | 2016-09-19T19:35:45.000Z | 2020-12-04T22:12:27.000Z | test/br_nfe/service/sc/florianopolis/cancellation_test.rb | rcoproc/br_nfe | 47e2da3ae41894d69a4b179778f188add7d73dec | [
"MIT"
] | 28 | 2015-12-11T13:28:36.000Z | 2021-01-11T18:51:18.000Z | require 'test_helper'
describe BrNfe::Service::SC::Florianopolis::Cancellation do
subject { FactoryGirl.build(:service_sc_floripa_cancellation) }
let(:xsd_text) do
f = File.read(BrNfe.root+'/test/br_nfe/service/sc/florianopolis/XSD/TiposNFSe_v2.0.xsd')
# Substiruo a localização do arquivo xmldsig-core-schema.xs... | 37.861111 | 116 | 0.768892 |
b07ff0f4df821323ec4de2bef89169f8ba5dfd61 | 365 | py | Python | mmdet/models/recognizer/__init__.py | liangxiaoyun/mmdetection-1.1.0-pse-sar | d4f80368949ba74dad13d0a4744a53c82f89577d | [
"Apache-2.0"
] | null | null | null | mmdet/models/recognizer/__init__.py | liangxiaoyun/mmdetection-1.1.0-pse-sar | d4f80368949ba74dad13d0a4744a53c82f89577d | [
"Apache-2.0"
] | 1 | 2021-05-25T07:16:12.000Z | 2021-09-01T07:35:01.000Z | mmdet/models/recognizer/__init__.py | liangxiaoyun/mmdetection-1.1.0-pse-sar | d4f80368949ba74dad13d0a4744a53c82f89577d | [
"Apache-2.0"
] | null | null | null | from .base import BaseRecognizer
from .decoder import Decoder
from .encoder import Encoder
from .sar import SAR
from .sar_resnet import SAR_ResNet, BasicBlock
from .str_lable_converter_for_attention import strLabelConverterForAttention
__all__ = [
'BaseRecognizer', 'Decoder', 'Encoder', 'SAR', 'strLabelConverterFo... | 33.181818 | 83 | 0.79726 |
975c751324a9e404f99baad818dfc013b2f64297 | 1,821 | tsx | TypeScript | pages/index.tsx | ekafyi/wargabantuwarga.com | 93464a02f144434d02e872f7e42e435483aa9609 | [
"MIT"
] | null | null | null | pages/index.tsx | ekafyi/wargabantuwarga.com | 93464a02f144434d02e872f7e42e435483aa9609 | [
"MIT"
] | null | null | null | pages/index.tsx | ekafyi/wargabantuwarga.com | 93464a02f144434d02e872f7e42e435483aa9609 | [
"MIT"
] | 1 | 2021-12-11T08:08:56.000Z | 2021-12-11T08:08:56.000Z | import { GetStaticProps } from "next";
import Head from "next/head";
import { Script } from "../components/script";
import data from "../data/wbw.json";
type HomeProps = {
html: string;
css: string;
};
export const getStaticProps: GetStaticProps = async () => {
return {
props: {
html: data.html,
... | 28.453125 | 146 | 0.546952 |
438d779f51ccfada5c5e5fc4a8d52599f3b999f4 | 203 | ts | TypeScript | .storybook/RicardoTheme.ts | dutzi/react-easy-sort | 1b05c387c2e9cde6dd1e657b6180d3df07645a11 | [
"MIT"
] | 54 | 2021-02-05T08:58:11.000Z | 2022-01-30T04:55:18.000Z | .storybook/RicardoTheme.ts | dutzi/react-easy-sort | 1b05c387c2e9cde6dd1e657b6180d3df07645a11 | [
"MIT"
] | 25 | 2021-02-09T09:13:32.000Z | 2022-02-13T22:09:56.000Z | .storybook/RicardoTheme.ts | dutzi/react-easy-sort | 1b05c387c2e9cde6dd1e657b6180d3df07645a11 | [
"MIT"
] | 14 | 2021-02-05T10:31:10.000Z | 2022-01-17T16:44:06.000Z | import { create } from '@storybook/theming'
export default create({
base: 'light',
brandTitle: 'react-easy-sort',
brandImage: 'https://ricardostaticfiles.b-cdn.net/logos/ricardo_logo_pos.svg',
})
| 25.375 | 80 | 0.724138 |
6b7f5bcf26edfe471062376301c84c5687e2de9b | 6,159 | cpp | C++ | utility/SignalProbe.cpp | willcode/PothosComms | 6c6ae8ccb6a9c996a67e2ca646aff79c74bb83fa | [
"BSL-1.0"
] | 14 | 2017-10-28T08:40:08.000Z | 2022-03-19T06:08:55.000Z | utility/SignalProbe.cpp | BelmY/PothosComms | 9aa48b827b3813b3ba2b98773f3359b30ebce346 | [
"BSL-1.0"
] | 22 | 2015-08-25T21:18:13.000Z | 2016-12-31T02:23:47.000Z | utility/SignalProbe.cpp | pothosware/pothos-comms | cff998cca2c9610d3e7e5480fd4fc692c13d3066 | [
"BSL-1.0"
] | 13 | 2018-01-03T15:29:44.000Z | 2022-03-19T06:09:00.000Z | // Copyright (c) 2014-2019 Josh Blum
// SPDX-License-Identifier: BSL-1.0
#include <Pothos/Framework.hpp>
#include <Pothos/Util/QFormat.hpp>
#include <cstdint>
#include <complex>
#include <iostream>
#include <algorithm> //min/max
#include <chrono>
/**********************************************************************... | 31.584615 | 131 | 0.610813 |
200900c1f03289b0752dc6c05191d0892fa8a3b1 | 895 | py | Python | python/tests/test_setup_and_run.py | RabertNIDrive/konduit-serving | 7ea2d8fca1b78a6af67cf2b1bb141f81e65ab31b | [
"Apache-2.0"
] | 50 | 2019-10-16T08:46:42.000Z | 2021-12-16T08:27:01.000Z | python/tests/test_setup_and_run.py | RabertNIDrive/konduit-serving | 7ea2d8fca1b78a6af67cf2b1bb141f81e65ab31b | [
"Apache-2.0"
] | 392 | 2019-10-17T06:51:02.000Z | 2022-02-26T11:29:51.000Z | python/tests/test_setup_and_run.py | RabertNIDrive/konduit-serving | 7ea2d8fca1b78a6af67cf2b1bb141f81e65ab31b | [
"Apache-2.0"
] | 20 | 2019-10-16T08:47:50.000Z | 2021-04-07T08:41:29.000Z | import numpy as np
import pytest
from konduit import *
from konduit.server import Server
from konduit.utils import is_port_in_use
@pytest.mark.integration
def test_setup_and_run_start():
python_config = PythonConfig(
python_code="def setup(): pass\ndef run(input): {'output': np.array(input + 2)}",
... | 25.571429 | 89 | 0.659218 |
4ba4101a5bbb18c7916f7ba0dabc0272663d911e | 5,194 | hpp | C++ | traceur-core/include/traceur/core/scene/primitive/box.hpp | fabianishere/traceur | 93eefd77fc402dbd340dac7760a27b491c44a30f | [
"MIT"
] | 2 | 2018-04-26T09:00:20.000Z | 2019-11-02T08:09:03.000Z | traceur-core/include/traceur/core/scene/primitive/box.hpp | fabianishere/traceur | 93eefd77fc402dbd340dac7760a27b491c44a30f | [
"MIT"
] | 2 | 2018-01-08T14:43:17.000Z | 2018-03-28T12:32:45.000Z | traceur-core/include/traceur/core/scene/primitive/box.hpp | fabianishere/traceur | 93eefd77fc402dbd340dac7760a27b491c44a30f | [
"MIT"
] | null | null | null | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 Traceur authors
*
* 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 u... | 29.01676 | 106 | 0.656912 |
254d1db91268904f4d70eea878c20752ef8d8ace | 188 | cs | C# | src/SimpleSyslog/LogLevel.cs | JonCanning/SimpleSyslog | 6f6450f485e2ce57a6d26ce7e254f692cb5daccf | [
"MIT"
] | 10 | 2015-03-20T11:10:23.000Z | 2020-07-08T18:10:48.000Z | src/SimpleSyslog/LogLevel.cs | JonCanning/SimpleSyslog | 6f6450f485e2ce57a6d26ce7e254f692cb5daccf | [
"MIT"
] | 3 | 2015-04-03T03:58:43.000Z | 2021-11-23T19:07:35.000Z | src/SimpleSyslog/LogLevel.cs | JonCanning/SimpleSyslog | 6f6450f485e2ce57a6d26ce7e254f692cb5daccf | [
"MIT"
] | 2 | 2015-11-11T14:18:26.000Z | 2021-06-24T16:00:42.000Z | namespace SimpleSyslog
{
public enum LogLevel
{
Emergency,
Alert,
Critical,
Error,
Warn,
Notice,
Info,
Debug
}
} | 13.428571 | 24 | 0.452128 |
a535c2d7d98479cdc0babf2df6c6b903e9438c69 | 4,081 | rs | Rust | src/context.rs | AndreasOM/cheval | a7dd5d0c370abdaf8aa870b1865f42d6d875487e | [
"MIT"
] | 4 | 2021-05-17T18:29:08.000Z | 2022-03-20T18:51:26.000Z | src/context.rs | AndreasOM/cheval | a7dd5d0c370abdaf8aa870b1865f42d6d875487e | [
"MIT"
] | null | null | null | src/context.rs | AndreasOM/cheval | a7dd5d0c370abdaf8aa870b1865f42d6d875487e | [
"MIT"
] | null | null | null | use std::collections::HashMap;
use regex::Regex;
use expresso::expression::Expression;
use expresso::machine::Machine;
#[derive(Debug)]
pub struct Context {
time_step: f64,
machine: Machine,
}
impl Context {
pub fn new() -> Self {
Self {
time_step: 1.0/60.0,
machine: Machine::new(),
}
}
pub fn get_mu... | 24.005882 | 114 | 0.545455 |
b727aa480a6168032cc2e7acfd43d4c59618844f | 40,651 | cs | C# | SpaceFightForWindows/Controler.cs | Astisus/SpaceFight | 32825bd1d5335e1020fa118d80d49cd745b434f5 | [
"MIT"
] | 3 | 2015-06-11T16:27:00.000Z | 2015-08-28T11:09:00.000Z | SpaceFightForWindows/Controler.cs | Astisus/SpaceFight | 32825bd1d5335e1020fa118d80d49cd745b434f5 | [
"MIT"
] | null | null | null | SpaceFightForWindows/Controler.cs | Astisus/SpaceFight | 32825bd1d5335e1020fa118d80d49cd745b434f5 | [
"MIT"
] | null | null | null | #region Using Statements
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.GamerServices;
using SpaceShoo... | 49.817402 | 246 | 0.486359 |
88d8c7f49d448a4e1baea8547b30013ee48093f5 | 719 | cs | C# | SwfLib/Tags/ControlTags/FileAttributesTag.cs | ZingBallyhoo/SwfLib | f8c887c63a9d5ee91ca1377a5c528590f3bc5cec | [
"MIT"
] | 17 | 2015-07-15T07:22:26.000Z | 2022-03-01T05:54:22.000Z | SwfLib/Tags/ControlTags/FileAttributesTag.cs | ZingBallyhoo/SwfLib | f8c887c63a9d5ee91ca1377a5c528590f3bc5cec | [
"MIT"
] | 8 | 2017-11-27T21:38:43.000Z | 2021-09-06T17:50:52.000Z | SwfLib/Tags/ControlTags/FileAttributesTag.cs | ZingBallyhoo/SwfLib | f8c887c63a9d5ee91ca1377a5c528590f3bc5cec | [
"MIT"
] | 12 | 2015-07-28T11:00:04.000Z | 2021-01-04T04:17:36.000Z | namespace SwfLib.Tags.ControlTags {
public class FileAttributesTag : ControlBaseTag {
public bool Reserved0;
public bool UseDirectBlit;
public bool UseGPU;
public bool HasMetadata;
public bool AllowAbc;
public bool SuppressCrossDomainCaching;
... | 23.193548 | 111 | 0.611961 |
b01a8f42a5c5a67dcdeea795b39ac6027400185a | 7,580 | py | Python | connectome/models/ebm.py | JanaGauss/Connectome | 9b59aabfb4040201c72d7ff239b50bb47f092ad1 | [
"MIT"
] | 1 | 2022-03-22T15:58:31.000Z | 2022-03-22T15:58:31.000Z | connectome/models/ebm.py | JanaGauss/Connectome | 9b59aabfb4040201c72d7ff239b50bb47f092ad1 | [
"MIT"
] | 6 | 2022-03-16T16:20:14.000Z | 2022-03-17T10:54:13.000Z | connectome/models/ebm.py | JanaGauss/Connectome | 9b59aabfb4040201c72d7ff239b50bb47f092ad1 | [
"MIT"
] | null | null | null | """
wrapper for the explainable boosting machine with integrated feature selection based
on the mutual information
"""
import pandas as pd
import numpy as np
from sklearn.feature_selection import mutual_info_regression,\
mutual_info_classif
from typing import Union
from sklearn.datasets import make_classification, ... | 32.532189 | 84 | 0.589314 |
20be4a1436d8e9d14c0d589ca4a3d96e6b579f94 | 1,941 | py | Python | save_image.py | leafinity/instagram-crawler | f309821208a8334dcb93845cb9de39db5e912ce5 | [
"MIT"
] | null | null | null | save_image.py | leafinity/instagram-crawler | f309821208a8334dcb93845cb9de39db5e912ce5 | [
"MIT"
] | null | null | null | save_image.py | leafinity/instagram-crawler | f309821208a8334dcb93845cb9de39db5e912ce5 | [
"MIT"
] | null | null | null | import os
import argparse
import json
import requests
from bs4 import BeautifulSoup
FILE_PATH = './'
def get_data_set(path):
with open(path) as f:
return json.loads(f.read())
def get_img_url_by_post_url(url):
resp = requests.get(url)
if resp.status_code != 200:
return None
soup = Bea... | 25.207792 | 61 | 0.59866 |
b8d8237fdf04b1108c34e35a7480c4beac023005 | 7,414 | dart | Dart | lib/app.dart | mono0926/flutter-animations | bfd3e34a6d57560b0bb2da475112a59334ca29dc | [
"MIT"
] | 41 | 2019-03-03T06:58:17.000Z | 2022-01-26T14:35:21.000Z | lib/app.dart | mono0926/flutter-animations | bfd3e34a6d57560b0bb2da475112a59334ca29dc | [
"MIT"
] | null | null | null | lib/app.dart | mono0926/flutter-animations | bfd3e34a6d57560b0bb2da475112a59334ca29dc | [
"MIT"
] | 5 | 2019-12-27T21:03:15.000Z | 2022-03-05T06:16:04.000Z | import 'package:animations_app/pages/custom/animated_builder_page.dart';
import 'package:animations_app/pages/custom/animated_switcher_page.dart';
import 'package:animations_app/pages/custom/animated_widget_page.dart';
import 'package:animations_app/pages/custom/animation_controller_set_state_enhanced2_page.dart';
impo... | 59.790323 | 96 | 0.771109 |
23a1f05457a14f414d569f6e00287de5c6aca356 | 851 | js | JavaScript | src/material.test.js | DharmendraVinay/vue-material | 26b84a7d676e4cca1d302876c92d00dfe9f3e289 | [
"MIT"
] | 5 | 2018-12-13T11:53:41.000Z | 2018-12-13T12:16:32.000Z | src/material.test.js | DharmendraVinay/vue-material | 26b84a7d676e4cca1d302876c92d00dfe9f3e289 | [
"MIT"
] | 6 | 2021-03-09T20:22:35.000Z | 2022-02-26T18:53:10.000Z | src/material.test.js | DharmendraVinay/vue-material | 26b84a7d676e4cca1d302876c92d00dfe9f3e289 | [
"MIT"
] | 2 | 2019-06-09T18:01:38.000Z | 2019-10-06T14:49:02.000Z | import Vue from 'vue'
import VueMaterial from './index'
import mountTemplate from 'test/utils/mountTemplate'
Vue.use(VueMaterial)
const app = new Vue({
el: '#app',
name: 'Root',
render: mount => mount('div')
})
test('should create vue material instance', async () => {
expect(Boolean(Vue.material)).toBe(true)... | 26.59375 | 62 | 0.698002 |
15bd39f23c665d553911422aaf514ecf985b8761 | 52 | dart | Dart | lib/flutter_fcm.dart | wh120/flutter_fcm | 0c839506e553c9e201ec2e08f384e52954d6b13d | [
"MIT"
] | 8 | 2021-05-27T14:01:03.000Z | 2022-03-22T06:38:02.000Z | lib/flutter_fcm.dart | wh120/flutter_fcm | 0c839506e553c9e201ec2e08f384e52954d6b13d | [
"MIT"
] | 1 | 2022-02-02T15:48:06.000Z | 2022-03-27T21:53:38.000Z | lib/flutter_fcm.dart | wh120/flutter_fcm | 0c839506e553c9e201ec2e08f384e52954d6b13d | [
"MIT"
] | 2 | 2021-08-20T14:51:08.000Z | 2022-03-22T06:37:54.000Z | library flutter_fcm;
export 'Notification/FCM.dart'; | 26 | 31 | 0.826923 |
d3a3b0d8499fb5e00c93ee2ab0d5d13953633d20 | 276 | css | CSS | apps/camera/style/loading-screen.css | carlosdp/gaia | 18e2e8dc2d9ff19cd1210026367c14956d04eb0d | [
"Apache-2.0"
] | null | null | null | apps/camera/style/loading-screen.css | carlosdp/gaia | 18e2e8dc2d9ff19cd1210026367c14956d04eb0d | [
"Apache-2.0"
] | null | null | null | apps/camera/style/loading-screen.css | carlosdp/gaia | 18e2e8dc2d9ff19cd1210026367c14956d04eb0d | [
"Apache-2.0"
] | null | null | null |
.loading-screen {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
left: 0; top: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.7);
opacity: 0;
transition: opacity 300ms;
}
.loading-screen.visible {
opacity: 1;
} | 16.235294 | 30 | 0.648551 |
0901eb1cb0e837249167b1f904c740f2341b7c1b | 657 | swift | Swift | iOS/Sources/Presentation/Extension/String+prettyPhoneNumber.swift | Walkhub/Walkhub | 9bacb28d8314fbfdc663b5be5d065399bcbd3933 | [
"MIT"
] | 8 | 2021-12-31T15:22:42.000Z | 2022-01-18T03:24:54.000Z | iOS/Sources/Presentation/Extension/String+prettyPhoneNumber.swift | Walkhub/Walkhub | 9bacb28d8314fbfdc663b5be5d065399bcbd3933 | [
"MIT"
] | 104 | 2021-12-27T11:31:22.000Z | 2022-03-31T13:45:24.000Z | iOS/Sources/Presentation/Extension/String+prettyPhoneNumber.swift | Walkhub/Walkhub | 9bacb28d8314fbfdc663b5be5d065399bcbd3933 | [
"MIT"
] | 2 | 2022-01-24T12:35:18.000Z | 2022-02-06T09:01:14.000Z | import Foundation
extension String {
func prettyPhoneNumber() -> String {
let str = self.replacingOccurrences(of: " ", with: "")
let arr = Array(str)
if arr.count > 3 {
if let regex = try? NSRegularExpression(pattern: "^010([0-9]{3,4})([0-9]{4})", options: .caseInsensitive) {
... | 31.285714 | 119 | 0.479452 |
073957da395a725996fc17404dba6ff2164025ee | 432 | css | CSS | public/libs/css/fix.css | seniorjean/2asoft_caraf | f9113af3f1947fddc903de684892abe1692e4a08 | [
"MIT"
] | null | null | null | public/libs/css/fix.css | seniorjean/2asoft_caraf | f9113af3f1947fddc903de684892abe1692e4a08 | [
"MIT"
] | null | null | null | public/libs/css/fix.css | seniorjean/2asoft_caraf | f9113af3f1947fddc903de684892abe1692e4a08 | [
"MIT"
] | null | null | null | .swal2-backdrop-show{
z-index:999999 !important;
}
.form-group{
position:relative;
}
.form-group .controls small.text-danger{
position: absolute;
}
.form-control.is-invalid {
border-color: #f44336;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.form-control.is-va... | 18 | 40 | 0.645833 |
20ececa819ff03f4f08ae3c720d76026e691e1e4 | 384 | cs | C# | cards/BLACK_TEMPLE/BT/Sim_BT_703t.cs | chi-rei-den/Silverfish | 0420f58169db32e46df50362034699651cc62f2a | [
"MIT"
] | 1 | 2020-09-04T08:44:54.000Z | 2020-09-04T08:44:54.000Z | cards/BLACK_TEMPLE/BT/Sim_BT_703t.cs | chi-rei-den/Silverfish | 0420f58169db32e46df50362034699651cc62f2a | [
"MIT"
] | 2 | 2020-04-21T21:55:17.000Z | 2020-04-21T22:02:36.000Z | cards/BLACK_TEMPLE/BT/Sim_BT_703t.cs | chi-rei-den/Silverfish | 0420f58169db32e46df50362034699651cc62f2a | [
"MIT"
] | null | null | null |
/* _BEGIN_TEMPLATE_
{
"id": "BT_703t",
"name": [
"被诅咒的阴影",
"Cursed Shadow"
],
"text": [
"<b>潜行</b>",
"<b>Stealth</b>"
],
"CardClass": "ROGUE",
"type": "MINION",
"cost": 7,
"rarity": null,
"set": "BLACK_TEMPLE",
"collectible": null,
"dbfId": 57498
}
_END_TEMPLATE_ */
namespace H... | 13.714286 | 35 | 0.533854 |
57f15d3d98f19db10d00f591d461aa2f41805bc1 | 1,549 | php | PHP | tests/Unit/VatTest.php | komantnick/atol-online | d321205ac95cd734504cb478de63a4418ac087f1 | [
"MIT"
] | null | null | null | tests/Unit/VatTest.php | komantnick/atol-online | d321205ac95cd734504cb478de63a4418ac087f1 | [
"MIT"
] | null | null | null | tests/Unit/VatTest.php | komantnick/atol-online | d321205ac95cd734504cb478de63a4418ac087f1 | [
"MIT"
] | null | null | null | <?php
/**
* Copyright (c) Антон Аксенов (aka Anthony Axenov)
*
* This code is licensed under MIT.
* Этот код распространяется по лицензии MIT.
* https://github.com/anthonyaxenov/atol-online/blob/master/LICENSE
*/
use AtolOnline\{Constants\VatTypes, Entities\Vat};
/**
* Class VatTest
*/
class VatTest extends B... | 30.372549 | 99 | 0.597805 |
a9fda73265abffc0726b9948d7c1ef75d05e61ec | 2,172 | php | PHP | src/CLI/Command/ParseDirectoryCommand.php | d9beuD/bigdb-parser | 1f0f36770b439be86544f7329a762f2ef1f0737b | [
"MIT"
] | null | null | null | src/CLI/Command/ParseDirectoryCommand.php | d9beuD/bigdb-parser | 1f0f36770b439be86544f7329a762f2ef1f0737b | [
"MIT"
] | null | null | null | src/CLI/Command/ParseDirectoryCommand.php | d9beuD/bigdb-parser | 1f0f36770b439be86544f7329a762f2ef1f0737b | [
"MIT"
] | null | null | null | <?php
namespace BigdbParser\CLI\Command;
use BigdbParser\FileSystem\Directory;
use BigdbParser\FileSystem\FileParser;
use Doctrine\ORM\EntityManager;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Compon... | 31.028571 | 90 | 0.616022 |
e66995b041d12cf40e76f1158ecd670f35a7e185 | 5,762 | h | C | thcrap_tasofro/src/pl.h | laenNoCode/thcrap | bda154bb57fa84ad6b88c96532ec2869d9e34d75 | [
"Unlicense"
] | 359 | 2015-01-01T17:17:17.000Z | 2022-03-27T14:56:19.000Z | thcrap_tasofro/src/pl.h | laenNoCode/thcrap | bda154bb57fa84ad6b88c96532ec2869d9e34d75 | [
"Unlicense"
] | 145 | 2015-05-01T05:53:31.000Z | 2022-03-31T13:32:53.000Z | thcrap_tasofro/src/pl.h | laenNoCode/thcrap | bda154bb57fa84ad6b88c96532ec2869d9e34d75 | [
"Unlicense"
] | 43 | 2015-06-09T11:30:11.000Z | 2022-01-30T01:36:00.000Z | /**
* Touhou Community Reliant Automatic Patcher
* Tasogare Frontier support plugin
*
* ----
*
* On-the-fly th145 pl patcher
*/
#pragma once
#include <string>
#include <vector>
#include <list>
#include <string.h>
#include <jansson.h>
namespace TasofroPl
{
enum LineType
{
EMPTY,
LABEL,
COMMAND,
... | 28.384236 | 125 | 0.682055 |
cf339e2196737f159def7021442ba397050fb686 | 2,354 | php | PHP | ParkMelaka_WebServices/users.php | ksk102/VehicleParkingSystem | 9ccc0646f461963cba7601cabcf07e0fbb853046 | [
"MIT"
] | null | null | null | ParkMelaka_WebServices/users.php | ksk102/VehicleParkingSystem | 9ccc0646f461963cba7601cabcf07e0fbb853046 | [
"MIT"
] | null | null | null | ParkMelaka_WebServices/users.php | ksk102/VehicleParkingSystem | 9ccc0646f461963cba7601cabcf07e0fbb853046 | [
"MIT"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: kskoh
* Date: 2/9/18
* Time: 4:28 PM
*/
class users
{
//Database connection link
private $conn;
//Class constructor
function __construct(){
//Getting the DbConnect.php file
require_once __DIR__ . '/db_connect.php';
//Creating a DbC... | 27.372093 | 156 | 0.579439 |
afedef63bdca456b6bd88fbfb27776340d926f84 | 1,333 | py | Python | testing.py | saddhu1005/BigMartsSalesPrediction | 8d6e977b0730684e571869175153d632a69773e7 | [
"MIT"
] | 1 | 2020-01-24T16:20:37.000Z | 2020-01-24T16:20:37.000Z | testing.py | saddhu1005/BigMartsSalesPrediction | 8d6e977b0730684e571869175153d632a69773e7 | [
"MIT"
] | 1 | 2019-10-12T13:59:40.000Z | 2019-10-12T13:59:40.000Z | testing.py | saddhu1005/BigMartsSalesPrediction | 8d6e977b0730684e571869175153d632a69773e7 | [
"MIT"
] | null | null | null | ########################################
# Running the model on test dataset and saving the predictions
import numpy as np
import matplotlib.pyplot as mp
import pandas as pd
from sklearn.externals import joblib
# opening the test databases
# train_df = pd.read_csv('data/train_data_modified.csv')
test_df = pd.read_csv(... | 34.179487 | 84 | 0.715679 |
45cdfcd90cef99cbb34e23c31e32ba97e02d8a32 | 239 | swift | Swift | TokenDWalletTemplate/Sources/Controllers/Managers/KeychainManager/KeychainCodableAccountsV1.swift | iuriivolochai/ios-app | aa5799420f8a036ce42806bc7481ec6a4307413d | [
"Apache-2.0"
] | 25 | 2019-05-18T11:28:15.000Z | 2020-10-01T18:44:44.000Z | TokenDWalletTemplate/Sources/Controllers/Managers/KeychainManager/KeychainCodableAccountsV1.swift | iuriivolochai/ios-app | aa5799420f8a036ce42806bc7481ec6a4307413d | [
"Apache-2.0"
] | null | null | null | TokenDWalletTemplate/Sources/Controllers/Managers/KeychainManager/KeychainCodableAccountsV1.swift | iuriivolochai/ios-app | aa5799420f8a036ce42806bc7481ec6a4307413d | [
"Apache-2.0"
] | 9 | 2019-04-30T08:34:51.000Z | 2020-10-01T18:44:49.000Z | import Foundation
class KeychainCodableAccountsV1: Codable {
// MARK: - Public properties
var accounts: [String] // emails
// MARK: -
init(accounts: [String]) {
self.accounts = accounts
}
}
| 15.933333 | 42 | 0.577406 |
e26f94f7eda6ba619fc1969489ec21db43d182a5 | 2,186 | js | JavaScript | examples/top-list/common/read-models/index.js | kilimondjaro/resolve | 3633be2272eccf31908bef28c85614dce0c19c32 | [
"MIT"
] | null | null | null | examples/top-list/common/read-models/index.js | kilimondjaro/resolve | 3633be2272eccf31908bef28c85614dce0c19c32 | [
"MIT"
] | null | null | null | examples/top-list/common/read-models/index.js | kilimondjaro/resolve | 3633be2272eccf31908bef28c85614dce0c19c32 | [
"MIT"
] | null | null | null | export default [
{
name: 'Rating',
projection: {
Init: async store => {
await store.defineStorage('Rating', [
{ name: 'id', type: 'string', index: 'primary' },
{ name: 'rating', type: 'number', index: 'secondary' },
{ name: 'name', type: 'string' },
{ nam... | 25.418605 | 78 | 0.429094 |
1a5de1c0e4e9bb66f97b54812e94c92fe0c95dfb | 623 | cs | C# | src/MicaWPF/Enums.cs | Simnico99/MicaWPF | ee85703ca66b7e33a00bc1a34104ed46e2a9329c | [
"MIT"
] | 14 | 2021-11-08T08:59:39.000Z | 2022-03-31T20:33:38.000Z | src/MicaWPF/Enums.cs | Simnico99/MicaWPF | ee85703ca66b7e33a00bc1a34104ed46e2a9329c | [
"MIT"
] | 5 | 2021-11-18T15:19:40.000Z | 2022-01-31T18:22:59.000Z | src/MicaWPF/Enums.cs | Simnico99/MicaWPF | ee85703ca66b7e33a00bc1a34104ed46e2a9329c | [
"MIT"
] | null | null | null | namespace MicaWPF;
public enum WindowsTheme
{
Light,
Dark,
Auto
}
public enum OsVersion
{
WindowsOld,
Windows10,
Windows11Before22523, // Before 22523
Windows11After22523 // After 22523
}
public enum BackdropType
{
None = 1,
Mica = 2,
Acrylic = 3,
Tabbed = 4
}
public enu... | 11.537037 | 41 | 0.606742 |
86f97a27ad3da2821c0519156b081a63a2f420b0 | 1,335 | kt | Kotlin | monitoring/src/main/java/ru/flowernetes/monitoring/domain/usecase/GetTaskStatusInfoUseCaseImpl.kt | b1nd/flowernetes | 8eef7e3324642fa4b26a69be69525d79a4873ea4 | [
"MIT"
] | 3 | 2020-04-02T20:09:26.000Z | 2020-05-27T19:38:34.000Z | monitoring/src/main/java/ru/flowernetes/monitoring/domain/usecase/GetTaskStatusInfoUseCaseImpl.kt | b1nd/flowernetes | 8eef7e3324642fa4b26a69be69525d79a4873ea4 | [
"MIT"
] | null | null | null | monitoring/src/main/java/ru/flowernetes/monitoring/domain/usecase/GetTaskStatusInfoUseCaseImpl.kt | b1nd/flowernetes | 8eef7e3324642fa4b26a69be69525d79a4873ea4 | [
"MIT"
] | 1 | 2021-02-27T21:09:56.000Z | 2021-02-27T21:09:56.000Z | package ru.flowernetes.monitoring.domain.usecase
import org.springframework.stereotype.Component
import ru.flowernetes.entity.monitoring.TaskStatusInfo
import ru.flowernetes.entity.task.Task
import ru.flowernetes.entity.task.TaskStatus
import ru.flowernetes.monitoring.api.domain.usecase.GetTaskStatusInfoFromWorkloadUs... | 39.264706 | 88 | 0.769288 |
6d8890720cdea33e98880ed948195abde1e01cd9 | 1,470 | h | C | mdct.h | codefoco/Tremor | 276780f298ec64216ae91031a3043f984331e1d4 | [
"BSD-3-Clause"
] | 3,459 | 2015-01-07T14:07:09.000Z | 2022-03-25T03:51:10.000Z | mdct.h | codefoco/Tremor | 276780f298ec64216ae91031a3043f984331e1d4 | [
"BSD-3-Clause"
] | 1,095 | 2016-04-10T18:15:33.000Z | 2022-03-31T18:21:20.000Z | mdct.h | codefoco/Tremor | 276780f298ec64216ae91031a3043f984331e1d4 | [
"BSD-3-Clause"
] | 549 | 2015-01-07T14:07:15.000Z | 2022-01-07T16:13:05.000Z | /********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. *
* *
* USE, DISTRIBUTION AND REPRODUCTION OF... | 27.735849 | 70 | 0.485034 |
be112869d3f68708a0360022af07d9f1e2ad741d | 54 | ts | TypeScript | js/duotone/cid-briefcase-arrow-right.d.ts | reesretuta/dropshipping-icons | c4b4f40959b1e44abaacd86981b9a896b121f419 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | js/duotone/cid-briefcase-arrow-right.d.ts | reesretuta/dropshipping-icons | c4b4f40959b1e44abaacd86981b9a896b121f419 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | js/duotone/cid-briefcase-arrow-right.d.ts | reesretuta/dropshipping-icons | c4b4f40959b1e44abaacd86981b9a896b121f419 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | export declare const cidBriefcaseArrowRight: string[]; | 54 | 54 | 0.851852 |
da433af5f14e7657d8076c1cca2b482763012836 | 1,326 | php | PHP | app/Observers/Rydecoin/RydecoinPackageObserver.php | Schneidershades/maz-delivery-backend | 1a06e85c76e9b337a170d240c937e714234d3fa8 | [
"MIT"
] | null | null | null | app/Observers/Rydecoin/RydecoinPackageObserver.php | Schneidershades/maz-delivery-backend | 1a06e85c76e9b337a170d240c937e714234d3fa8 | [
"MIT"
] | null | null | null | app/Observers/Rydecoin/RydecoinPackageObserver.php | Schneidershades/maz-delivery-backend | 1a06e85c76e9b337a170d240c937e714234d3fa8 | [
"MIT"
] | null | null | null | <?php
namespace App\Observers\Rydecoin;
use App\Models\RydecoinPackage;
class RydecoinPackageObserver
{
/**
* Handle the RydecoinPackage "created" event.
*
* @param \App\Models\RydecoinPackage $rydecoinPackage
* @return void
*/
public function created(RydecoinPackage $rydecoinPacka... | 20.71875 | 66 | 0.606335 |
a9fdc4bc90d0e5fe4480a7d7e77cfe1c8e28b222 | 8,153 | sql | SQL | backend/sql/generated/insert_data_small.sql | LaZyLinh/team-flex-ICBC | 99b962f24aee3758d4cc7cab7936765de818ba60 | [
"BSD-2-Clause"
] | null | null | null | backend/sql/generated/insert_data_small.sql | LaZyLinh/team-flex-ICBC | 99b962f24aee3758d4cc7cab7936765de818ba60 | [
"BSD-2-Clause"
] | null | null | null | backend/sql/generated/insert_data_small.sql | LaZyLinh/team-flex-ICBC | 99b962f24aee3758d4cc7cab7936765de818ba60 | [
"BSD-2-Clause"
] | null | null | null | -- Features
INSERT INTO feature VALUES (1, 'TV');
INSERT INTO feature VALUES (2, 'Private');
INSERT INTO feature VALUES (3, 'Conference Phone');
-- Employees
-- INSERT INTO user VALUES (1, 'CLEFAIRYC.3', 'charizard.clefairy@icbc.com', 'Charizard', 'Clefairy', 'IT', 1);
-- INSERT INTO user VALUES (2, 'DROWZEEM.4', 'ma... | 67.941667 | 152 | 0.683797 |
97a2640f3d996067acfe390b81b648361f2772a7 | 1,261 | ts | TypeScript | src/app/app.routing.ts | otojunior/angular-basic-seed | b49b74b30c6134219666f15d7ddc766c09f0c2fb | [
"MIT"
] | null | null | null | src/app/app.routing.ts | otojunior/angular-basic-seed | b49b74b30c6134219666f15d7ddc766c09f0c2fb | [
"MIT"
] | null | null | null | src/app/app.routing.ts | otojunior/angular-basic-seed | b49b74b30c6134219666f15d7ddc766c09f0c2fb | [
"MIT"
] | null | null | null | import { ModuleWithProviders } from "@angular/core";
import { RouterModule, Routes } from "@angular/router";
import { MunicipioListComponent } from "./component/municipio-list.component"
import { MunicipioEditComponent } from "./component/municipio-edit.component"
import { MunicipioEditResolver } from "./resolver/muni... | 28.659091 | 77 | 0.64314 |
c9db4dfb2ede43e629da98d8d540d3eb84670ba1 | 546 | ts | TypeScript | packages/tygen-reflector/src/reflection/index.ts | s-panferov/tygen | f6764aff7ec89fbe4b5c67880ddff5e9ca392ae2 | [
"MIT"
] | 61 | 2018-05-29T08:20:18.000Z | 2022-02-09T07:59:15.000Z | packages/tygen-reflector/src/reflection/index.ts | serializedowen/tygen | f6764aff7ec89fbe4b5c67880ddff5e9ca392ae2 | [
"MIT"
] | 32 | 2015-09-05T09:39:43.000Z | 2016-05-07T09:58:14.000Z | packages/tygen-reflector/src/reflection/index.ts | s-panferov/docscript | f6764aff7ec89fbe4b5c67880ddff5e9ca392ae2 | [
"MIT"
] | 4 | 2018-09-10T00:52:58.000Z | 2020-08-07T19:53:33.000Z | export * from './reflection'
export * from './class/reflection'
export * from './enum/reflection'
export * from './function/reflection'
export * from './interface/reflection'
export * from './module/reflection'
export * from './property/reflection'
export * from './signature/reflection'
export * from './type-alias/refl... | 34.125 | 43 | 0.725275 |
455d4ac84bbfbb9d70c3d0397888a8ff5167289f | 4,426 | py | Python | covid19/segmentation/crop_bbox.py | salvacarrion/mltests | e4ac9711c1c80171f302edc88011fbe06e754490 | [
"MIT"
] | null | null | null | covid19/segmentation/crop_bbox.py | salvacarrion/mltests | e4ac9711c1c80171f302edc88011fbe06e754490 | [
"MIT"
] | 1 | 2022-01-01T06:09:26.000Z | 2022-01-01T06:09:26.000Z | covid19/segmentation/crop_bbox.py | salvacarrion/mltests | e4ac9711c1c80171f302edc88011fbe06e754490 | [
"MIT"
] | null | null | null | import glob
import json
import os
from pathlib import Path
import cv2
import numpy as np
import pandas as pd
import tqdm
from matplotlib import pyplot as plt
def read_img(filename):
img = cv2.imread(filename, 0)
img = img.astype(np.uint8)
return img
def show_img(img, cmap="gray", title=""):
plt.ims... | 28.74026 | 107 | 0.62404 |
b548b0a9f3b93cebc2a0d2e54d2082aabfcf1a2a | 104 | rb | Ruby | config/initializers/content_relations.rb | SandStorman/notebooktest | d8633bc551680650f43b417efab0f6d12f4c6120 | [
"MIT"
] | 318 | 2016-09-19T03:42:55.000Z | 2022-03-25T23:59:28.000Z | config/initializers/content_relations.rb | SandStorman/notebooktest | d8633bc551680650f43b417efab0f6d12f4c6120 | [
"MIT"
] | 599 | 2016-09-05T03:27:53.000Z | 2022-03-31T12:16:52.000Z | config/initializers/content_relations.rb | SandStorman/notedocker | d8633bc551680650f43b417efab0f6d12f4c6120 | [
"MIT"
] | 89 | 2016-09-19T04:06:57.000Z | 2022-02-20T22:33:41.000Z | Rails.application.config.content_relations = {}
Rails.application.config.inverse_content_relations = {}
| 34.666667 | 55 | 0.826923 |
e278c470b134aa1510a0b3b306999c29ce5714b7 | 2,891 | py | Python | ibemc/management/commands/check_concepts.py | cchmc-bmi-os/harvest_inc | ae1fecb6df9b78d9daafb1879c02c7fefb6a8a79 | [
"BSD-2-Clause"
] | null | null | null | ibemc/management/commands/check_concepts.py | cchmc-bmi-os/harvest_inc | ae1fecb6df9b78d9daafb1879c02c7fefb6a8a79 | [
"BSD-2-Clause"
] | null | null | null | ibemc/management/commands/check_concepts.py | cchmc-bmi-os/harvest_inc | ae1fecb6df9b78d9daafb1879c02c7fefb6a8a79 | [
"BSD-2-Clause"
] | null | null | null | from optparse import make_option
from django.core.management.base import BaseCommand, CommandError
from avocado.models import DataCategory, DataConcept, DataField
import urllib2, json
# CONCEPT_SET = ['all', ]
BASE_URL = 'http://127.0.0.1:8005'
def check_py_concept(c):
"""Checks that a concept is defined by at le... | 31.423913 | 106 | 0.606019 |
dd73395a39a5b2b72066c6371ad1d7dafd4bfd46 | 448 | java | Java | src/main/java/mod/flatcoloredblocks/client/IClientSide.java | AlgorithmX2/FlatColoredBlocks | 2564f8ce766ef31cd5ade3ad6afda2ae67eb88a1 | [
"MIT"
] | 17 | 2015-12-18T04:44:44.000Z | 2021-01-13T17:55:38.000Z | src/main/java/mod/flatcoloredblocks/client/IClientSide.java | AlgorithmX2/FlatColoredBlocks | 2564f8ce766ef31cd5ade3ad6afda2ae67eb88a1 | [
"MIT"
] | 77 | 2015-12-14T20:14:28.000Z | 2021-06-21T03:33:06.000Z | src/main/java/mod/flatcoloredblocks/client/IClientSide.java | AlgorithmX2/FlatColoredBlocks | 2564f8ce766ef31cd5ade3ad6afda2ae67eb88a1 | [
"MIT"
] | 17 | 2016-01-05T02:18:58.000Z | 2021-02-13T19:04:35.000Z | package mod.flatcoloredblocks.client;
import mod.flatcoloredblocks.block.BlockFlatColored;
import mod.flatcoloredblocks.block.ItemBlockFlatColored;
import mod.flatcoloredblocks.craftingitem.ItemColoredBlockCrafter;
public interface IClientSide
{
void configureBlockRender(
BlockFlatColored cb,
ItemBlockFlatCol... | 21.333333 | 66 | 0.823661 |
e2bd66e8d76f104ecc91e767250c4a1a23b2a1e0 | 15,987 | py | Python | aiida_siesta/data/psf.py | mailhexu/aiida_siesta_plugin | 313ef4b3532b54d8d0c81788b683c53cb4701965 | [
"MIT"
] | null | null | null | aiida_siesta/data/psf.py | mailhexu/aiida_siesta_plugin | 313ef4b3532b54d8d0c81788b683c53cb4701965 | [
"MIT"
] | 2 | 2019-05-12T22:11:46.000Z | 2019-05-13T11:46:16.000Z | aiida_siesta/data/psf.py | mailhexu/aiida_siesta_plugin | 313ef4b3532b54d8d0c81788b683c53cb4701965 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This module manages the PSF pseudopotentials in the local repository.
"""
from aiida.common.utils import classproperty
from aiida.orm.data.singlefile import SinglefileData
__copyright__ = u"Copyright (c), 2015, ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE (Theory and Simulation of Materials (T... | 36.088036 | 278 | 0.604741 |
7572c5acacbbd92d18d0485b0a50d89d56de621e | 7,941 | css | CSS | client/src/components/Faculty/faculty.css | abhilasha007/SocStudy | fd58d3e6027c9a197f0469016da64ea21a1addad | [
"MIT"
] | 2 | 2022-03-29T04:02:50.000Z | 2022-03-30T04:04:12.000Z | client/src/components/Faculty/faculty.css | abhilasha007/SocStudy | fd58d3e6027c9a197f0469016da64ea21a1addad | [
"MIT"
] | null | null | null | client/src/components/Faculty/faculty.css | abhilasha007/SocStudy | fd58d3e6027c9a197f0469016da64ea21a1addad | [
"MIT"
] | 1 | 2022-03-29T04:03:15.000Z | 2022-03-29T04:03:15.000Z | @charset "utf-8";
/************* For Main Tag*************/
@media only screen and (max-width: 600px) {
main {
top: 5;
margin-top: 12.8vh;
display: flex;
justify-content: flex-start;
height: 175vh;
}
.Title {
background-color: #053c5e;
width: 30vw;
margin-right: -30vw;
positio... | 17.338428 | 71 | 0.576376 |
ff3c4a4bcfb8454213da396938dea2316d2eeee7 | 2,931 | py | Python | evenflow/scrapers/article/article_scraper.py | underscorefan/itsachemtrail_gatherer | 7f85c09fa465d730f66935a5d683dc79f9f250db | [
"MIT"
] | null | null | null | evenflow/scrapers/article/article_scraper.py | underscorefan/itsachemtrail_gatherer | 7f85c09fa465d730f66935a5d683dc79f9f250db | [
"MIT"
] | null | null | null | evenflow/scrapers/article/article_scraper.py | underscorefan/itsachemtrail_gatherer | 7f85c09fa465d730f66935a5d683dc79f9f250db | [
"MIT"
] | null | null | null | import abc
import re
from typing import Optional
from aiohttp import ClientSession as Sess
from newspaper.configuration import Configuration as NConf
from functools import partial
from dirtyfunc import Either, Left
from evenflow import utreq
from evenflow.streams.messages.article_extended import ArticleExtended
from ev... | 43.102941 | 119 | 0.720232 |
4267fef5d55662e856050f2e2304812c0e67eccd | 1,097 | zsh | Shell | zsh/zshrc.zsh | ashencone/configs | e6c8ec27d0c633b822845fdfecba0784d8ac18bf | [
"MIT"
] | 1 | 2022-03-02T15:27:17.000Z | 2022-03-02T15:27:17.000Z | zsh/zshrc.zsh | ashencone/configs | e6c8ec27d0c633b822845fdfecba0784d8ac18bf | [
"MIT"
] | null | null | null | zsh/zshrc.zsh | ashencone/configs | e6c8ec27d0c633b822845fdfecba0784d8ac18bf | [
"MIT"
] | null | null | null | # Zinit installer
if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then
print -P "%F{33} %F{220}Installing %F{33}ZDHARMA-CONTINUUM%F{220} Initiative Plugin Manager (%F{33}zdharma-continuum/zinit%F{220})…%f"
command mkdir -p "$HOME/.local/share/zinit" && command chmod g-rwX "$HOME/.local/share/zinit"
... | 34.28125 | 138 | 0.713765 |
0033ea820990dfc334c5c5fc2af7c370bd72262f | 6,931 | rs | Rust | src/lib.rs | smallstepman/orgize | ae185d2f65f0f0cd8a3f7220f15714881118dd75 | [
"MIT"
] | null | null | null | src/lib.rs | smallstepman/orgize | ae185d2f65f0f0cd8a3f7220f15714881118dd75 | [
"MIT"
] | null | null | null | src/lib.rs | smallstepman/orgize | ae185d2f65f0f0cd8a3f7220f15714881118dd75 | [
"MIT"
] | null | null | null | //! A Rust library for parsing orgmode files.
//!
//! [Live demo](https://orgize.herokuapp.com/)
//!
//! # Parse
//!
//! To parse a orgmode string, simply invoking the [`Org::parse`] function:
//!
//! [`Org::parse`]: struct.Org.html#method.parse
//!
//! ```rust
//! use orgize::Org;
//!
//! Org::parse("* DONE Title :tag... | 28.174797 | 102 | 0.530804 |
6ddf90073a3b42c55669c4d6f95fc4335fbc76cb | 2,353 | h | C | common/include/routing/blob.h | honzatran/llvm-message-routing | 6878dffb935efe44fa8fdf443bfb9905ea604d29 | [
"MIT"
] | null | null | null | common/include/routing/blob.h | honzatran/llvm-message-routing | 6878dffb935efe44fa8fdf443bfb9905ea604d29 | [
"MIT"
] | null | null | null | common/include/routing/blob.h | honzatran/llvm-message-routing | 6878dffb935efe44fa8fdf443bfb9905ea604d29 | [
"MIT"
] | null | null | null |
#ifndef ROUTING_BLOB_H
#define ROUTING_BLOB_H
#include "buffer.h"
#include <routing/stdext.h>
#include <routing/logger.h>
#include <string>
#include <cstdio>
#include <type_traits>
#include <spdlog/fmt/fmt.h>
#include <boost/optional.hpp>
namespace routing
{
class Serializing_blob;
class Blob
{
public:
Blo... | 18.24031 | 72 | 0.59796 |
8cf761e17212d1d409221654d63143a971ae48f1 | 1,268 | lua | Lua | op/glm-mhd-update-psi.lua | rumpie/warp-chris-moore | 2b59483743603629de1796b197eb6cd0802000f4 | [
"MIT"
] | null | null | null | op/glm-mhd-update-psi.lua | rumpie/warp-chris-moore | 2b59483743603629de1796b197eb6cd0802000f4 | [
"MIT"
] | null | null | null | op/glm-mhd-update-psi.lua | rumpie/warp-chris-moore | 2b59483743603629de1796b197eb6cd0802000f4 | [
"MIT"
] | null | null | null | local class = require 'ext.class'
local template = require 'template'
local ffi = require 'ffi'
local GLM_MHD_UpdatePsi = class()
function GLM_MHD_UpdatePsi:init(args)
self.solver = assert(args.solver)
end
function GLM_MHD_UpdatePsi:getSolverCode()
local solver = self.solver
return template([[
kernel void updateP... | 22.245614 | 101 | 0.694006 |
74ef8801715da4361ed81825b8ffcbf094e69a5a | 1,235 | css | CSS | HUTECH_HKK/Caro3/src/index.css | luonghieu184/OLP-FOSS-2019 | 10c7a87977b37ecd7cd5f7141d3863250fbee15b | [
"Apache-2.0"
] | null | null | null | HUTECH_HKK/Caro3/src/index.css | luonghieu184/OLP-FOSS-2019 | 10c7a87977b37ecd7cd5f7141d3863250fbee15b | [
"Apache-2.0"
] | 13 | 2021-03-02T00:49:34.000Z | 2022-03-03T22:58:35.000Z | HUTECH_HKK/Caro3/src/index.css | luonghieu184/OLP-FOSS-2019 | 10c7a87977b37ecd7cd5f7141d3863250fbee15b | [
"Apache-2.0"
] | 7 | 2019-12-05T01:16:25.000Z | 2020-11-30T06:52:33.000Z | @import url("https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css");
body {
font: 14px "Century Gothic", Futura, sans-serif;
margin: 20px;
}
ol, ul {
padding-left: 30px;
}
.board-row:after {
clear: both;
content: "";
display: table;
}
.status {
margin-bottom: 10px;
}
.square {
back... | 13.571429 | 85 | 0.636437 |
e7369e35e29aea102978f0761b24436a881e287f | 839 | php | PHP | resources/views/livewire/in-dev-modal.blade.php | Creekmore108/zp_front_end | 88a46109a9adee4c8ba90ab0702fca388749ba97 | [
"MIT"
] | null | null | null | resources/views/livewire/in-dev-modal.blade.php | Creekmore108/zp_front_end | 88a46109a9adee4c8ba90ab0702fca388749ba97 | [
"MIT"
] | null | null | null | resources/views/livewire/in-dev-modal.blade.php | Creekmore108/zp_front_end | 88a46109a9adee4c8ba90ab0702fca388749ba97 | [
"MIT"
] | null | null | null | <div>
<x-modal wire:model="show">
<x-slot name="title">
<h1 class="text-lg font-bold text-center">We are still in Development</h1>
</x-slot>
<x-slot name="body">
<p>Refer to the "Contact Us" form or subscribe to our email list to be notified when we are ... | 49.352941 | 333 | 0.584029 |
58fd69fc02652c836bc7d99d03c7bca8615b6668 | 6,272 | css | CSS | public/css/iobio_style.css | iobio/homepage | 89758fb440a9bece3c6212e6beb7713486c64456 | [
"MIT"
] | null | null | null | public/css/iobio_style.css | iobio/homepage | 89758fb440a9bece3c6212e6beb7713486c64456 | [
"MIT"
] | 2 | 2018-08-07T23:41:02.000Z | 2019-03-20T17:52:18.000Z | public/css/iobio_style.css | iobio/homepage | 89758fb440a9bece3c6212e6beb7713486c64456 | [
"MIT"
] | null | null | null | .bg-primary{
background: #00c6ff !important; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #00c6ff, #0072ff) !important; /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #00c6ff, #0072ff) !important; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, ... | 21.627586 | 140 | 0.664381 |
bf81a1871380c2423711f4937f4b3344e43938a9 | 2,153 | rb | Ruby | lib/recurly/xml.rb | ivanovv/recurly-client-ruby | 639a64e61d13af686bc3c6b9b0c0eb0e8390b84f | [
"MIT",
"Unlicense"
] | null | null | null | lib/recurly/xml.rb | ivanovv/recurly-client-ruby | 639a64e61d13af686bc3c6b9b0c0eb0e8390b84f | [
"MIT",
"Unlicense"
] | 3 | 2021-05-20T23:06:15.000Z | 2022-02-26T10:22:56.000Z | lib/recurly/xml.rb | ivanovv/recurly-client-ruby | 639a64e61d13af686bc3c6b9b0c0eb0e8390b84f | [
"MIT",
"Unlicense"
] | null | null | null | module Recurly
class XML
class << self
def cast el
return if el.attribute 'nil'
if el.attribute 'type'
type = el.attribute('type').value
end
case type
when 'array' then el.elements.map { |e| XML.cast e }
when 'boolean' then el.text == 'true... | 24.747126 | 79 | 0.544821 |
b36c8a97fb7c15fe393804e7d445e8c6d76aec26 | 3,421 | py | Python | poco/drivers/cocosjs/__init__.py | kaluluosi/Poco | 6874cd45ef843f5e90872e22bae41233bbaf4462 | [
"Apache-2.0"
] | 1,444 | 2018-01-24T03:27:52.000Z | 2022-03-31T07:40:57.000Z | poco/drivers/cocosjs/__init__.py | kaluluosi/Poco | 6874cd45ef843f5e90872e22bae41233bbaf4462 | [
"Apache-2.0"
] | 524 | 2018-03-14T01:08:06.000Z | 2022-03-31T08:21:52.000Z | poco/drivers/cocosjs/__init__.py | kaluluosi/Poco | 6874cd45ef843f5e90872e22bae41233bbaf4462 | [
"Apache-2.0"
] | 268 | 2018-01-25T03:58:33.000Z | 2022-03-24T08:18:59.000Z | # -*- coding: utf-8 -*-
# @Author: gzliuxin
# @Email: gzliuxin@corp.netease.com
# @Date: 2017-07-14 19:47:51
from poco.pocofw import Poco
from poco.agent import PocoAgent
from poco.freezeui.hierarchy import FrozenUIHierarchy, FrozenUIDumper
from poco.utils.simplerpc.utils import sync_wrapper
from poco.utils.airtest... | 33.871287 | 103 | 0.63461 |
f4ba7fc0203eb760889abdfa78a8f449c39177c7 | 6,095 | ts | TypeScript | src/app/app.component.ts | ashbeelghouri/slideshow-angular | 0cedadc758591e692e2edaba45d162eb24f60153 | [
"MIT"
] | null | null | null | src/app/app.component.ts | ashbeelghouri/slideshow-angular | 0cedadc758591e692e2edaba45d162eb24f60153 | [
"MIT"
] | null | null | null | src/app/app.component.ts | ashbeelghouri/slideshow-angular | 0cedadc758591e692e2edaba45d162eb24f60153 | [
"MIT"
] | null | null | null | import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
currentpage = 0;
mySlideshow: any;
slideTime = 2000;
play = false;
images = [
{
title: "At the beach",
ur... | 37.857143 | 184 | 0.688433 |
e101324798fde32cfe8326194f5da47bb1db8705 | 6,909 | go | Go | pkg/acceptance/util_cluster.go | gmsecrieru/cockroach | 1519cdadbac46b302c06f88d5d178368e94d8937 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | pkg/acceptance/util_cluster.go | gmsecrieru/cockroach | 1519cdadbac46b302c06f88d5d178368e94d8937 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | pkg/acceptance/util_cluster.go | gmsecrieru/cockroach | 1519cdadbac46b302c06f88d5d178368e94d8937 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2020-09-02T04:52:55.000Z | 2020-09-02T04:52:55.000Z | // Copyright 2015 The Cockroach Authors.
//
// 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 ag... | 28.2 | 98 | 0.680272 |
38b410f5a25070c674519109d818d521b9f3c41c | 2,942 | php | PHP | application/libraries/template.php | dianadipratama1/ci3-siskep | 32f865e775daa5266c612fcab7993f36d42437c8 | [
"MIT"
] | null | null | null | application/libraries/template.php | dianadipratama1/ci3-siskep | 32f865e775daa5266c612fcab7993f36d42437c8 | [
"MIT"
] | null | null | null | application/libraries/template.php | dianadipratama1/ci3-siskep | 32f865e775daa5266c612fcab7993f36d42437c8 | [
"MIT"
] | null | null | null | <?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
class Template {
protected $_ci;
function __construct() {
$this->_ci = &get_instance();
}
function displayutama($template=NULL, $data = NULL) {
if($template!=NULL)
$data... | 44.575758 | 93 | 0.598232 |
5480923c4a37a72a0efe8c4ce844ee01cedff96d | 1,090 | rb | Ruby | app/abilities/lecture_ability.rb | fosterfarrell9/mampf | 16443c46db74180e128b16b77aebb1a399b84d94 | [
"MIT"
] | 20 | 2017-10-25T08:06:47.000Z | 2020-07-25T22:18:11.000Z | app/abilities/lecture_ability.rb | fosterfarrell9/mampf | 16443c46db74180e128b16b77aebb1a399b84d94 | [
"MIT"
] | 59 | 2017-10-12T16:31:30.000Z | 2020-10-07T11:46:45.000Z | app/abilities/lecture_ability.rb | fosterfarrell9/mampf | 16443c46db74180e128b16b77aebb1a399b84d94 | [
"MIT"
] | 8 | 2019-07-08T10:16:20.000Z | 2020-09-14T16:08:36.000Z | class LectureAbility
include CanCan::Ability
def initialize(user)
clear_aliased_actions
can :new, Lecture do
user.course_editor?
end
can :create, Lecture do |lecture|
user.can_edit?(lecture.course)
end
can [:edit, :update, :update_teacher, :update_editors, :destroy, :add_foru... | 27.948718 | 80 | 0.679817 |
54179c993d404376b65bdae146a29180d2f5c984 | 735 | css | CSS | prepojenia/client/src/components/Navigation.css | mirecmrozek/verejne.digital | 8aed7311d75b6d15c8c4b5bbbf0d15ade3ce031a | [
"Apache-2.0"
] | null | null | null | prepojenia/client/src/components/Navigation.css | mirecmrozek/verejne.digital | 8aed7311d75b6d15c8c4b5bbbf0d15ade3ce031a | [
"Apache-2.0"
] | 213 | 2018-04-23T12:49:38.000Z | 2019-02-28T09:55:07.000Z | prepojenia/client/src/components/Navigation.css | mirecmrozek/verejne.digital | 8aed7311d75b6d15c8c4b5bbbf0d15ade3ce031a | [
"Apache-2.0"
] | 1 | 2018-08-03T11:13:04.000Z | 2018-08-03T11:13:04.000Z | .sidebarnav {
align-self: flex-start;
width: 100%;
margin-bottom: auto;
}
.navbar-header {
float: none;
background-color: inherit;
}
.navbar-toggle {
display: block;
margin-right: 0;
}
.navbar-brand {
padding-left: 0;
padding-right: 10px;
font-family: 'Source Code Pro', monospace;
color: #3333... | 13.125 | 44 | 0.64898 |
7762ba6506b2bc443d9c49e78488f43ded6d20ef | 239 | dart | Dart | lib/src/category.dart | Jack-G-Smith/foursquare-dart | 748e45e1d535d70bde8b1b2c699045bb8b03015a | [
"MIT"
] | null | null | null | lib/src/category.dart | Jack-G-Smith/foursquare-dart | 748e45e1d535d70bde8b1b2c699045bb8b03015a | [
"MIT"
] | null | null | null | lib/src/category.dart | Jack-G-Smith/foursquare-dart | 748e45e1d535d70bde8b1b2c699045bb8b03015a | [
"MIT"
] | null | null | null | class Category {
Category({this.categoryId, this.name});
final String? categoryId;
final String? name;
factory Category.fromJson(Map<String, dynamic> json) {
return Category(categoryId: json['id'], name: json['name']);
}
}
| 21.727273 | 64 | 0.686192 |
8a6cdede775876d04982c215c7881096e8e0a11b | 965 | sql | SQL | src/main/resources/db/migration/sqlserver/V1.0.1.3__conceptset_generation_info.sql | mav7014/WebAPI | 22c8ee269ba9729038ffe5baabef0425a5fe897e | [
"Apache-2.0"
] | 14 | 2018-03-27T01:19:16.000Z | 2019-12-04T06:20:03.000Z | src/main/resources/db/migration/sqlserver/V1.0.1.3__conceptset_generation_info.sql | mav7014/WebAPI | 22c8ee269ba9729038ffe5baabef0425a5fe897e | [
"Apache-2.0"
] | 3 | 2017-06-13T15:51:07.000Z | 2017-06-13T15:58:23.000Z | src/main/resources/db/migration/sqlserver/V1.0.1.3__conceptset_generation_info.sql | mav7014/WebAPI | 22c8ee269ba9729038ffe5baabef0425a5fe897e | [
"Apache-2.0"
] | 4 | 2019-02-04T23:20:08.000Z | 2019-12-09T19:33:33.000Z | IF (NOT EXISTS (SELECT *
FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS
WHERE CONSTRAINT_TYPE = 'PRIMARY KEY'
AND TABLE_NAME = 'concept_set'
AND TABLE_SCHEMA ='dbo' ))
BEGIN
ALTER TABLE [${ohdsiSchema}].[concept_set] ADD CONSTRAINT [PK_concept_set] PRIMARY KEY CLUSTERED
(
... | 33.275862 | 110 | 0.705699 |
2faff3758198e47eb0efab51b5ceb7515ba56700 | 1,345 | py | Python | sync_repo.py | ewhitesides/pulp_operations | b6a3541559e48c717926b245bbbf2dd87638e093 | [
"MIT"
] | null | null | null | sync_repo.py | ewhitesides/pulp_operations | b6a3541559e48c717926b245bbbf2dd87638e093 | [
"MIT"
] | 1 | 2021-06-17T04:35:05.000Z | 2021-06-17T04:35:05.000Z | sync_repo.py | ewhitesides/pulp_operations | b6a3541559e48c717926b245bbbf2dd87638e093 | [
"MIT"
] | null | null | null | """
script to sync repos from repo_data.py
"""
import urllib3
import pulp_operations
from repo_data import repo_data
#disable ssl warnings for now
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
#sync items from repo_data
for os in repo_data:
for repo in repo_data[os]:
for source_name... | 32.02381 | 88 | 0.620074 |
9666df7c72388267b6004901f7b19d422d6ab13e | 9,611 | sql | SQL | sql/script.sql | vito-royeca/speedtester | 7e783b58f96f412b1226db25c29ee3b31bbc11ca | [
"BSD-3-Clause"
] | null | null | null | sql/script.sql | vito-royeca/speedtester | 7e783b58f96f412b1226db25c29ee3b31bbc11ca | [
"BSD-3-Clause"
] | null | null | null | sql/script.sql | vito-royeca/speedtester | 7e783b58f96f412b1226db25c29ee3b31bbc11ca | [
"BSD-3-Clause"
] | null | null | null | --
-- PostgreSQL database dump
--
-- Dumped from database version 12.8
-- Dumped by pg_dump version 13.3
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', fal... | 27.46 | 123 | 0.630632 |
57eec217f47b66356d9042591085ec20960ebdee | 4,561 | php | PHP | application/models/Report_model.php | cdterry87/ProjectManagerPt2 | 5fc7a8cd445d710eec97250753cf20bc5dae0e9a | [
"MIT"
] | 1 | 2019-01-17T14:17:54.000Z | 2019-01-17T14:17:54.000Z | application/models/Report_model.php | cdterry87/ProjectManagerPt2 | 5fc7a8cd445d710eec97250753cf20bc5dae0e9a | [
"MIT"
] | 14 | 2019-01-16T18:39:24.000Z | 2019-02-05T21:06:48.000Z | application/models/Report_model.php | cdterry87/ProjectManagerPt2 | 5fc7a8cd445d710eec97250753cf20bc5dae0e9a | [
"MIT"
] | 1 | 2019-01-17T14:22:58.000Z | 2019-01-17T14:22:58.000Z | <?php defined('BASEPATH') or exit('No direct script access allowed');
class Report_model extends PROJECTS_Model
{
/* --------------------------------------------------------------------------------
* Get all customers.
* ------------------------------------------------------------------------... | 34.816794 | 134 | 0.426442 |
3852f19d73a4253bb24c93c5d0a89f5c86d31705 | 2,684 | php | PHP | app/Http/Controllers/TagsController.php | aicosta/sweet | 24e28deda9c4361a452d89a38dd9683877123174 | [
"MIT"
] | null | null | null | app/Http/Controllers/TagsController.php | aicosta/sweet | 24e28deda9c4361a452d89a38dd9683877123174 | [
"MIT"
] | null | null | null | app/Http/Controllers/TagsController.php | aicosta/sweet | 24e28deda9c4361a452d89a38dd9683877123174 | [
"MIT"
] | null | null | null | <?php
namespace Sweet\Http\Controllers;
use Illuminate\Http\Request;
use Sweet\Http\Requests;
use Sweet\Order;
use Sweet\Customer;
use Sweet\invoice;
use Sweet\Product\Providers;
class TagsController extends Controller
{
public function getList($fornecedor = false){
$providers = Providers::orderBy('name... | 47.928571 | 164 | 0.505961 |
4445147b7da188f6330a5a30ccddf0a8c0007b74 | 11,186 | py | Python | tests/old/test_tifread.py | richardt94/landshark | e4f347857a750d050d2cd568c6bcbd8f4a6c1f7f | [
"Apache-2.0"
] | 10 | 2019-03-05T23:53:58.000Z | 2021-12-17T08:27:05.000Z | tests/old/test_tifread.py | richardt94/landshark | e4f347857a750d050d2cd568c6bcbd8f4a6c1f7f | [
"Apache-2.0"
] | 7 | 2019-03-05T05:39:02.000Z | 2020-02-03T01:10:40.000Z | tests/old/test_tifread.py | richardt94/landshark | e4f347857a750d050d2cd568c6bcbd8f4a6c1f7f | [
"Apache-2.0"
] | 8 | 2019-03-23T22:55:25.000Z | 2021-01-12T05:14:31.000Z | # """Tests for the tif reading importer module."""
# from collections import namedtuple
# import numpy as np
# import rasterio.transform
# import pytest
# from landshark.importers import tifread
# def test_match():
# """
# Checks that _match can pull out a property from a bunch of image-like
# objects wh... | 39.111888 | 83 | 0.601645 |
1a7eb665f1175d04280b4b3ece8a8e86e93d07f8 | 39,044 | py | Python | tests/networks/splitting/test_multi_splitting_base.py | mtcrawshaw/meta-world | b511885af4405715c7b35f8295cef88021a926be | [
"MIT"
] | 4 | 2021-09-21T07:24:26.000Z | 2022-03-25T00:28:33.000Z | tests/networks/splitting/test_multi_splitting_base.py | mtcrawshaw/meta | b511885af4405715c7b35f8295cef88021a926be | [
"MIT"
] | null | null | null | tests/networks/splitting/test_multi_splitting_base.py | mtcrawshaw/meta | b511885af4405715c7b35f8295cef88021a926be | [
"MIT"
] | null | null | null | """
Unit tests for meta/networks/splitting/multi_splitting_base.py.
"""
import math
import random
from itertools import product
from typing import Dict, Any, List
import numpy as np
from scipy import stats
import torch
import torch.nn.functional as F
from gym.spaces import Box
from meta.networks.utils import init_ba... | 34.15923 | 88 | 0.637383 |
990a40f6e1cbe45cce35f5e60d450c05bbae9140 | 9,401 | lua | Lua | TreeSyncOrderer.lrplugin/TreeSyncOrdererExport.lua | DaveBurns/rc_treeSyncOrderer | e6d4c823dbe6202e8509d75212322985e9db773b | [
"Artistic-2.0"
] | null | null | null | TreeSyncOrderer.lrplugin/TreeSyncOrdererExport.lua | DaveBurns/rc_treeSyncOrderer | e6d4c823dbe6202e8509d75212322985e9db773b | [
"Artistic-2.0"
] | null | null | null | TreeSyncOrderer.lrplugin/TreeSyncOrdererExport.lua | DaveBurns/rc_treeSyncOrderer | e6d4c823dbe6202e8509d75212322985e9db773b | [
"Artistic-2.0"
] | null | null | null | --[[
TreeSyncOrdererExport.lua
--]]
local TreeSyncOrdererExport, dbg, dbgf = Export:newClass{ className = 'TreeSyncOrdererExport' }
--[[
To extend special export class, which as far as I can see,
would never be necessary, unless this came from a template,
and plugin author did not w... | 30.62215 | 223 | 0.659079 |
71642d7e7b13f05171346594724502ffaca56048 | 16,045 | tab | SQL | carstarts/500/5.tab | Priyaaks/libDAI_P | 9f43da31b530bdf1d81d59213823029ff8902e4f | [
"BSD-2-Clause"
] | null | null | null | carstarts/500/5.tab | Priyaaks/libDAI_P | 9f43da31b530bdf1d81d59213823029ff8902e4f | [
"BSD-2-Clause"
] | null | null | null | carstarts/500/5.tab | Priyaaks/libDAI_P | 9f43da31b530bdf1d81d59213823029ff8902e4f | [
"BSD-2-Clause"
] | null | null | null | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
1 1 1 1 0 1 0 1 1 0 0 0 1
1 1 1 0 1 1 0 1 1 0 0 0 1
1 1 1 0 1 1 0 1 1 0 0 0 1
1 1 1 1 0 1 0 1 1 0 0 0 1
1 1 1 0 1 1 0 1 1 0 0 0 1
1 1 1 0 1 1 0 1 1 0 0 0 1
1 1 1 1 1 1 0 1 1 0 0 0 1
1 1 1 1 1 1 0 1 1 0 0 0 1
1 1 0 1 1 1 0 ... | 31.898608 | 43 | 0.406731 |
e29f8b537b51af5de7eca4e6fc0ab8899d7f36d1 | 3,631 | js | JavaScript | test/unit/repository/FileRepository.test.js | epayet/simple-restful | cfa7c600960d5fcdabfd5190a58c6b54c1fd3455 | [
"Unlicense"
] | 2 | 2017-01-20T14:11:54.000Z | 2019-02-10T22:16:11.000Z | test/unit/repository/FileRepository.test.js | epayet/simple-restful | cfa7c600960d5fcdabfd5190a58c6b54c1fd3455 | [
"Unlicense"
] | 1 | 2016-08-19T15:33:44.000Z | 2016-08-19T15:33:44.000Z | test/unit/repository/FileRepository.test.js | epayet/simple-restful | cfa7c600960d5fcdabfd5190a58c6b54c1fd3455 | [
"Unlicense"
] | null | null | null | import sinon from 'sinon'
import { expect } from 'chai'
import fsp from 'fs-promise'
import fs from 'fs'
import FileRepository from '../../../src/repository/FileRepository'
describe('Unit: FileRepository', function() {
let repository
beforeEach(function() {
let options = {
folderPath: 'test'
}
r... | 26.122302 | 107 | 0.587717 |
cf130c89c2b04f2ae12ed38377bf02504f377b08 | 4,707 | php | PHP | application/views/ks/ttd.php | cahya93/sis | 4feb5fcd40836e3b067d33d152b60fb36d987701 | [
"MIT"
] | null | null | null | application/views/ks/ttd.php | cahya93/sis | 4feb5fcd40836e3b067d33d152b60fb36d987701 | [
"MIT"
] | null | null | null | application/views/ks/ttd.php | cahya93/sis | 4feb5fcd40836e3b067d33d152b60fb36d987701 | [
"MIT"
] | 2 | 2020-12-22T13:17:16.000Z | 2020-12-24T07:05:33.000Z | <div class="row">
<section>
<div class="container">
<div class="m-signature-pad-body">
<p>Priview Tanda Tangan</p>
<img src="<?= base_url('') . $data['ttd']; ?>" alt="">
</div>
</div>
</section>
<section>
<div class="container">... | 29.980892 | 141 | 0.483323 |
aff7e24e17d8499260bf4f3436f23fb19a372356 | 936 | dart | Dart | example/lib/video_list.dart | JamalBelilet/youtube_player_flutter | 09babf334f03f1502d56cd0591e7a5a9b154e736 | [
"MIT"
] | 1 | 2020-01-03T10:31:01.000Z | 2020-01-03T10:31:01.000Z | example/lib/video_list.dart | JamalBelilet/youtube_player_flutter | 09babf334f03f1502d56cd0591e7a5a9b154e736 | [
"MIT"
] | null | null | null | example/lib/video_list.dart | JamalBelilet/youtube_player_flutter | 09babf334f03f1502d56cd0591e7a5a9b154e736 | [
"MIT"
] | 1 | 2020-06-20T22:40:01.000Z | 2020-06-20T22:40:01.000Z | import 'package:flutter/material.dart';
import 'package:youtube_player_flutter/youtube_player_flutter.dart';
class VideoList extends StatefulWidget {
@override
_VideoListState createState() => _VideoListState();
}
class _VideoListState extends State<VideoList> {
var videoIds = <String>[
"BBAyRBTfsOU",
"... | 24 | 68 | 0.601496 |
b8d4aec9ee5797c3238a827e79810263f86300f7 | 19,990 | h | C | packages/core/List.h | ICESat2-SlideRule/sliderule | 90776d7e174e151c5806077001f5f9c21ef81f48 | [
"BSD-3-Clause"
] | 2 | 2021-05-06T19:56:26.000Z | 2021-05-27T16:41:56.000Z | packages/core/List.h | ICESat2-SlideRule/sliderule | 90776d7e174e151c5806077001f5f9c21ef81f48 | [
"BSD-3-Clause"
] | 54 | 2021-03-30T18:45:12.000Z | 2022-03-17T20:13:04.000Z | packages/core/List.h | ICESat2-SlideRule/sliderule | 90776d7e174e151c5806077001f5f9c21ef81f48 | [
"BSD-3-Clause"
] | 1 | 2021-05-14T16:34:08.000Z | 2021-05-14T16:34:08.000Z | /*
* Copyright (c) 2021, University of Washington
* 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... | 32.138264 | 116 | 0.403202 |
f5d211cd294da87443f24d79742d1a0c0f1f1d6c | 83 | css | CSS | app/assets/stylesheets/application.css | jbpawlik/formulary | 4fb306a68fbc7b043c31ba0faf69c3afef1041b8 | [
"BSD-2-Clause"
] | null | null | null | app/assets/stylesheets/application.css | jbpawlik/formulary | 4fb306a68fbc7b043c31ba0faf69c3afef1041b8 | [
"BSD-2-Clause"
] | null | null | null | app/assets/stylesheets/application.css | jbpawlik/formulary | 4fb306a68fbc7b043c31ba0faf69c3afef1041b8 | [
"BSD-2-Clause"
] | null | null | null |
@import "bootstrap";
body {
display: inline-flex;
flex-direction: column;
} | 9.222222 | 25 | 0.662651 |
ff4a359ca1800ca600a5729e06887729c91a3548 | 8,631 | py | Python | bopy/optimizer.py | TomPretty/bopy | 940ad1f2935219304495f5b129cc8dde22b49f4d | [
"MIT"
] | 1 | 2020-04-06T13:43:25.000Z | 2020-04-06T13:43:25.000Z | bopy/optimizer.py | TomPretty/bopy | 940ad1f2935219304495f5b129cc8dde22b49f4d | [
"MIT"
] | 18 | 2020-02-14T21:52:04.000Z | 2020-03-04T20:40:13.000Z | bopy/optimizer.py | TomPretty/bopy | 940ad1f2935219304495f5b129cc8dde22b49f4d | [
"MIT"
] | 2 | 2020-02-12T11:43:58.000Z | 2020-04-06T13:43:27.000Z | from abc import ABC, abstractmethod
from dataclasses import dataclass
from typing import Any, Callable, Dict, Tuple
import numpy as np
from dppy.finite_dpps import FiniteDPP
from scipydirect import minimize
from .acquisition import (
AcquisitionFunction,
OneShotBatchAcquisitionFunction,
SequentialBatchAcq... | 31.158845 | 88 | 0.671185 |
716167942ebc77c12acf158d0b5fdede95ac61c4 | 3,016 | rb | Ruby | vendor/RMagick4J/lib/rmagick4j/draw.rb | nicksieger/advent-jruby | 4f3d678ed6888aabcdd69d5372d80ed78989425d | [
"MIT"
] | 1 | 2016-05-08T19:48:17.000Z | 2016-05-08T19:48:17.000Z | vendor/RMagick4J/lib/rmagick4j/draw.rb | nicksieger/advent-jruby | 4f3d678ed6888aabcdd69d5372d80ed78989425d | [
"MIT"
] | null | null | null | vendor/RMagick4J/lib/rmagick4j/draw.rb | nicksieger/advent-jruby | 4f3d678ed6888aabcdd69d5372d80ed78989425d | [
"MIT"
] | null | null | null |
module Magick
class Draw
def annotate(img, width, height, x, y, text, &add)
instance_eval &add if add
text = parse_string(text)
@draw.annotate(img._image, width, height, x, y, text)
self
end
def clone
b = Draw.new
b.primitives = @primitives.clone
b._draw = ... | 24.128 | 127 | 0.629973 |
1b531f1ba2773a1a2fd3cfbf312ba91b54f25097 | 22,320 | cs | C# | Assembly-CSharp/Pathfinding/VectorMath.cs | FreyaFreed/mordheim | 5aab3cbfbb6653a50109b5222f18ccfc7df2af7d | [
"CC0-1.0"
] | 4 | 2020-01-02T11:35:16.000Z | 2020-04-08T22:52:14.000Z | Assembly-CSharp/Pathfinding/VectorMath.cs | FreyaFreed/mordheim | 5aab3cbfbb6653a50109b5222f18ccfc7df2af7d | [
"CC0-1.0"
] | null | null | null | Assembly-CSharp/Pathfinding/VectorMath.cs | FreyaFreed/mordheim | 5aab3cbfbb6653a50109b5222f18ccfc7df2af7d | [
"CC0-1.0"
] | null | null | null | using System;
using UnityEngine;
namespace Pathfinding
{
public static class VectorMath
{
public static global::UnityEngine.Vector3 ClosestPointOnLine(global::UnityEngine.Vector3 lineStart, global::UnityEngine.Vector3 lineEnd, global::UnityEngine.Vector3 point)
{
global::UnityEngine.Vector3 vector = global::... | 38.482759 | 514 | 0.66698 |
a000b9813b740e22ba48a6895f809fcd7e62c73f | 3,496 | tsx | TypeScript | src/containers/StatDisplay/StatDisplayList.tsx | vegerot/slippi-stats | fb9ec0c750b96f9dc78f614f8cc90d3719f749b8 | [
"MIT"
] | 9 | 2020-11-14T17:26:35.000Z | 2022-02-01T19:04:02.000Z | src/containers/StatDisplay/StatDisplayList.tsx | vegerot/slippi-stats | fb9ec0c750b96f9dc78f614f8cc90d3719f749b8 | [
"MIT"
] | null | null | null | src/containers/StatDisplay/StatDisplayList.tsx | vegerot/slippi-stats | fb9ec0c750b96f9dc78f614f8cc90d3719f749b8 | [
"MIT"
] | 4 | 2020-11-14T17:47:20.000Z | 2021-11-09T02:56:09.000Z | /** @jsx jsx */
import { css, jsx } from "@emotion/core";
import { reorder } from "lib/util";
import React from "react";
import { DragDropContext, Draggable, Droppable } from "react-beautiful-dnd";
import { Theme } from "styles/theme";
import { Divider } from "./Divider";
import { StatDisplayItem } from "./StatDisplay... | 32.981132 | 103 | 0.451659 |
33c1cb69c767a0d26c451cd9cf7f2a811816ce01 | 47 | c | C | tests/binutils-2.30/src/ld/testsuite/ld-elf/pr18458b.c | sillywalk/grazz | a0adb1a90d41ff9006d8c1476546263f728b3c83 | [
"Apache-2.0"
] | 3 | 2021-05-04T17:09:06.000Z | 2021-10-04T07:19:26.000Z | tests/binutils-2.30/src/ld/testsuite/ld-elf/pr18458b.c | sillywalk/grazz | a0adb1a90d41ff9006d8c1476546263f728b3c83 | [
"Apache-2.0"
] | null | null | null | tests/binutils-2.30/src/ld/testsuite/ld-elf/pr18458b.c | sillywalk/grazz | a0adb1a90d41ff9006d8c1476546263f728b3c83 | [
"Apache-2.0"
] | null | null | null | extern void a (void);
void
b (void)
{
a();
}
| 6.714286 | 21 | 0.531915 |
e21b817631e4dbbd81cca04721af4756f107ecb8 | 29,637 | py | Python | svg_parser.py | jkramarz/meerk40t | 57c4c3c957bece764ea27cdab91ed1f0a511a759 | [
"MIT"
] | null | null | null | svg_parser.py | jkramarz/meerk40t | 57c4c3c957bece764ea27cdab91ed1f0a511a759 | [
"MIT"
] | null | null | null | svg_parser.py | jkramarz/meerk40t | 57c4c3c957bece764ea27cdab91ed1f0a511a759 | [
"MIT"
] | null | null | null | import re
from xml.etree.ElementTree import iterparse
from path import Angle
# SVG STATIC VALUES
SVG_NAME_TAG = 'svg'
SVG_ATTR_VERSION = 'version'
SVG_VALUE_VERSION = '1.1'
SVG_ATTR_XMLNS = 'xmlns'
SVG_VALUE_XMLNS = 'http://www.w3.org/2000/svg'
SVG_ATTR_XMLNS_LINK = 'xmlns:xlink'
SVG_VALUE_XLINK = 'http:/... | 36.86194 | 121 | 0.585518 |
a3376e1829b03c5dd02c46a357e4ff179b9a5df1 | 236 | ts | TypeScript | client/src/buffer-utils.ts | Xapphire13/arduino-notifier | 0daaf0b394fcf148981239702d641b447e742ca6 | [
"MIT"
] | null | null | null | client/src/buffer-utils.ts | Xapphire13/arduino-notifier | 0daaf0b394fcf148981239702d641b447e742ca6 | [
"MIT"
] | null | null | null | client/src/buffer-utils.ts | Xapphire13/arduino-notifier | 0daaf0b394fcf148981239702d641b447e742ca6 | [
"MIT"
] | null | null | null | export function viewToString(view: DataView): string {
const parts: string[] = [];
for (let i = 0; i < view.byteLength; i++) {
parts.push(`0x${view.getUint8(i).toString(16).padStart(2, "0")}`);
}
return parts.join(" ");
}
| 23.6 | 70 | 0.605932 |
38b9a5ce25b16f651e24951de14ae2d59101729e | 2,583 | php | PHP | app/chat/socket/Base.php | Sky9th/sky-admin-api | e16326ee902b627fd758660cf6669b5065a80712 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | app/chat/socket/Base.php | Sky9th/sky-admin-api | e16326ee902b627fd758660cf6669b5065a80712 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | app/chat/socket/Base.php | Sky9th/sky-admin-api | e16326ee902b627fd758660cf6669b5065a80712 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | <?php
namespace app\chat\socket;
use app\common\logic\UserAuth;
use think\Container;
use think\swoole\Websocket;
class Base {
public static string $CACHE_CHAT_USER_LIST = 'chat_user_list';
public static string $CACHE_CHAT_TYPING_LIST = 'chat_typing_list';
public Websocket $websocket;
public $sessio... | 33.115385 | 98 | 0.536973 |
c68915543d403e05b5ebd5f855336910b2ff5224 | 44 | py | Python | editorcontainer/rightclickmenu/__init__.py | AutomataRaven/azaharTEA | 2d5a7d96b37bca9b3a914e305e493824a0f60207 | [
"MIT"
] | 5 | 2019-03-10T16:33:21.000Z | 2021-04-07T17:24:32.000Z | editorcontainer/rightclickmenu/__init__.py | Errantgod/azaharTEA | 2d5a7d96b37bca9b3a914e305e493824a0f60207 | [
"MIT"
] | 8 | 2017-02-11T06:21:28.000Z | 2017-02-22T05:50:35.000Z | editorcontainer/rightclickmenu/__init__.py | Errantgod/azaharTEA | 2d5a7d96b37bca9b3a914e305e493824a0f60207 | [
"MIT"
] | 2 | 2019-10-05T20:20:15.000Z | 2020-06-28T18:46:58.000Z | __all__ = ['rightclickmenu.RightClickMenu']
| 22 | 43 | 0.795455 |
f4ca95c337a3ec4499396393da0abba45fe3acfd | 210 | ts | TypeScript | src/app/components/child-dashboard/index.ts | extrude575757/story-squad-fe-archived | aa189c7e25ef2d524bee75e68d4cb1e8a0013cce | [
"MIT"
] | null | null | null | src/app/components/child-dashboard/index.ts | extrude575757/story-squad-fe-archived | aa189c7e25ef2d524bee75e68d4cb1e8a0013cce | [
"MIT"
] | null | null | null | src/app/components/child-dashboard/index.ts | extrude575757/story-squad-fe-archived | aa189c7e25ef2d524bee75e68d4cb1e8a0013cce | [
"MIT"
] | 2 | 2021-07-09T02:43:48.000Z | 2021-12-05T10:52:20.000Z | export * from './creative-content-submission';
export * from './welcome-card/welcome-card.component';
export * from './kid-progress/kid-progress.component';
export * from './team-join/team-join.component';
| 42 | 55 | 0.72381 |
435a12b7a5726b37f256744b68f76173492c15c7 | 1,112 | tsx | TypeScript | src/components/Research.tsx | win11905/cv | 391064b5d48cb82eac9747cecc148b88a78af299 | [
"MIT"
] | null | null | null | src/components/Research.tsx | win11905/cv | 391064b5d48cb82eac9747cecc148b88a78af299 | [
"MIT"
] | 11 | 2020-07-20T10:35:48.000Z | 2021-09-01T18:46:16.000Z | src/components/Research.tsx | pongsaphol/cv | 6f8567c8cddd58deba8df05981082f5876c2d2a8 | [
"MIT"
] | null | null | null | import React from 'react'
import { Box, Flex, Heading, Text, Link } from '@chakra-ui/core'
import { IResearch, research } from '../constants/research'
import { Card } from './Card'
import { Title } from './Title'
export const Research = () => {
return (
<React.Fragment>
<Title title="Research" size="lg" />... | 29.263158 | 69 | 0.447842 |
68348db5319bfa399e8851a0d3f577c39f329f1c | 1,287 | php | PHP | resources/views/setup.blade.php | tkoop/project_deployer | 933cce0643ce0c16b49c6f80a58fe9513d2f2566 | [
"MIT"
] | null | null | null | resources/views/setup.blade.php | tkoop/project_deployer | 933cce0643ce0c16b49c6f80a58fe9513d2f2566 | [
"MIT"
] | null | null | null | resources/views/setup.blade.php | tkoop/project_deployer | 933cce0643ce0c16b49c6f80a58fe9513d2f2566 | [
"MIT"
] | null | null | null | <x-guest-layout>
<x-slot name="title">Setup</x-slot>
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8">
<div class="overflow-hidden bg-white shadow-sm sm:rounded-lg">
<div class="p-6 bg-white border-b border-gray-200">
<p class="mb-5"><img src="full_logo.svg" style="height:55px... | 28.6 | 107 | 0.445998 |
6b7c6f0c0cedd0b9bec0880af64c3bde5cadbcdf | 9,717 | js | JavaScript | js/site.js | SuperEnoki/amani | a8ce46bf276aa7e1d626c23eb3a37088f64d0a53 | [
"MIT"
] | 1 | 2021-08-25T11:13:04.000Z | 2021-08-25T11:13:04.000Z | js/site.js | SuperEnoki/amani | a8ce46bf276aa7e1d626c23eb3a37088f64d0a53 | [
"MIT"
] | null | null | null | js/site.js | SuperEnoki/amani | a8ce46bf276aa7e1d626c23eb3a37088f64d0a53 | [
"MIT"
] | 1 | 2021-08-31T09:53:49.000Z | 2021-08-31T09:53:49.000Z | jQuery(document).ready(function($) {
"use strict";
// Initializing scripts
var amani_grid = '.blog-feed';
var amani_grid_item = '.grid-item';
function amani_init() {
amani_magic_masonry();
// Instagram image width/height fix
$('.header-instagram').imagesLoaded(function() {
var header_instagram_width ... | 27.218487 | 94 | 0.617063 |
e9207dd5ef82428751c4724502600cb262f4200c | 228 | swift | Swift | UserLoginDelegate.swift | ceozhu/lesson_ios_mvp | 19af13dc47092639fd49a4046c0efa3d18710ed3 | [
"Apache-2.0"
] | null | null | null | UserLoginDelegate.swift | ceozhu/lesson_ios_mvp | 19af13dc47092639fd49a4046c0efa3d18710ed3 | [
"Apache-2.0"
] | null | null | null | UserLoginDelegate.swift | ceozhu/lesson_ios_mvp | 19af13dc47092639fd49a4046c0efa3d18710ed3 | [
"Apache-2.0"
] | null | null | null | //
// UserLoginDelegate.swift
// Lesson_MVP_Demo
//
// Created by 朱佩 on 16/5/24.
// Copyright © 2016年 Andy zhu. All rights reserved.
//
import Foundation
protocol UserLoginDelegate {
func loginByUser(model:UserModel);
} | 19 | 52 | 0.714912 |
1a4357d52dee977cfc6596753d1ab58374e8af64 | 1,817 | py | Python | cypher.py | JCode1986/ceasar-cipher | bd6259ae8ce51ae8a9e8a7bbbaebf46d9d60c0e6 | [
"MIT"
] | null | null | null | cypher.py | JCode1986/ceasar-cipher | bd6259ae8ce51ae8a9e8a7bbbaebf46d9d60c0e6 | [
"MIT"
] | null | null | null | cypher.py | JCode1986/ceasar-cipher | bd6259ae8ce51ae8a9e8a7bbbaebf46d9d60c0e6 | [
"MIT"
] | null | null | null |
def encrypt(message, key):
encrypted_message = ''
for char in message:
if char.isalpha():
#ord() returns an integer representing the Unicode code point of the character
unicode_num = ord(char)
unicode_num += key
if char.isupper():
... | 27.953846 | 90 | 0.545405 |