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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6509eec915cc85c2425ec1ffe52d68af1fd29b3e | 1,500 | css | CSS | css/main.css | LoPoHa/mavotoc | c9babc38370a482004a1a833e53dd2b5c75a493a | [
"MIT"
] | null | null | null | css/main.css | LoPoHa/mavotoc | c9babc38370a482004a1a833e53dd2b5c75a493a | [
"MIT"
] | null | null | null | css/main.css | LoPoHa/mavotoc | c9babc38370a482004a1a833e53dd2b5c75a493a | [
"MIT"
] | null | null | null | #mavotoc_webextension_container {
}
#mavotoc_webextension_button_div {
float: left;
margin-right: 8px;
border: none;
}
#mavotoc_webextension_button_img {
width: 142px;
height: 39px;
margin: 0 auto;
/* TODO: find a way to remove the border in chromium */
}
#mavotoc_webextension_button_img:hover {
cursor: poin... | 22.38806 | 63 | 0.721333 |
c0a6418f5edf5b95f59ae5012eb323c82e3bb993 | 805 | cs | C# | src/Restivus/Middleware.cs | awseward/restivus | d842242216866b4eb3dd09420ff3f1ceda309372 | [
"MIT"
] | 3 | 2016-09-11T01:07:16.000Z | 2016-10-05T23:54:34.000Z | src/Restivus/Middleware.cs | awseward/restivus | d842242216866b4eb3dd09420ff3f1ceda309372 | [
"MIT"
] | 12 | 2016-09-11T01:10:34.000Z | 2016-12-30T22:27:45.000Z | src/Restivus/Middleware.cs | awseward/restivus | d842242216866b4eb3dd09420ff3f1ceda309372 | [
"MIT"
] | 2 | 2016-09-13T01:52:36.000Z | 2016-10-05T18:13:14.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Restivus
{
public interface IMiddleware<T>
{
T Run(T thing);
}
public interface IHttpRequestMiddleware : IMiddleware<HttpRequestMessage> { }
... | 25.15625 | 86 | 0.695652 |
b68cdac9915bdd1e698367122ea2dbbdab2876a9 | 27,167 | rs | Rust | src/ur.rs | BlockchainCommons/sweeptool-cli | 3f12c11c61f6a79da7e2765d576d5eb0eee35b1f | [
"BSD-2-Clause-Patent"
] | 3 | 2021-06-09T16:12:03.000Z | 2022-02-15T19:44:30.000Z | src/ur.rs | BlockchainCommons/sweeptool-cli | 3f12c11c61f6a79da7e2765d576d5eb0eee35b1f | [
"BSD-2-Clause-Patent"
] | 5 | 2021-06-07T17:33:53.000Z | 2021-07-14T13:05:09.000Z | src/ur.rs | BlockchainCommons/sweeptool-cli | 3f12c11c61f6a79da7e2765d576d5eb0eee35b1f | [
"BSD-2-Clause-Patent"
] | 1 | 2021-06-10T20:56:50.000Z | 2021-06-10T20:56:50.000Z | use bdk::bitcoin::hashes::Hash;
use serde::{Deserialize, Serialize};
use serde_cbor::tags::Tagged;
use serde_cbor::value::Value;
use std::collections::HashMap;
use std::convert::TryFrom;
use std::convert::TryInto;
use ur_rs::bytewords;
use crate::errors::SweepError;
pub fn psbt_as_ur(psbt: Vec<u8>) -> Result<String, ... | 40.791291 | 458 | 0.526742 |
5a06896afeb029961f71a6e459e88c79a6dda372 | 32,636 | asm | Assembly | ConstructSensors/MobileSensors/iOSVideoSensor/sensor/ColumbiaCollegeShare/Code Drop - Feb 5 - 2012/Windows/packages/ffmpeg/Source/libavcodec/x86/h264_intrapred_10bit.asm | dgerding/Construct | ecbb0ee5591a89e71906ad676bc6684583716d84 | [
"MIT"
] | 2 | 2017-08-03T07:15:00.000Z | 2018-06-18T10:32:53.000Z | ConstructSensors/MobileSensors/iOSVideoSensor/sensor/ColumbiaCollegeShare/Code Drop - Feb 5 - 2012/Windows/packages/ffmpeg/Source/libavcodec/x86/h264_intrapred_10bit.asm | dgerding/Construct | ecbb0ee5591a89e71906ad676bc6684583716d84 | [
"MIT"
] | null | null | null | ConstructSensors/MobileSensors/iOSVideoSensor/sensor/ColumbiaCollegeShare/Code Drop - Feb 5 - 2012/Windows/packages/ffmpeg/Source/libavcodec/x86/h264_intrapred_10bit.asm | dgerding/Construct | ecbb0ee5591a89e71906ad676bc6684583716d84 | [
"MIT"
] | 2 | 2019-03-04T22:57:42.000Z | 2020-03-06T01:32:26.000Z | ;*****************************************************************************
;* MMX/SSE2/AVX-optimized 10-bit H.264 intra prediction code
;*****************************************************************************
;* Copyright (C) 2005-2011 x264 project
;*
;* Authors: Daniel Kang <daniel.d.kang@gmail.com>
;*
;* Th... | 26.99421 | 89 | 0.47371 |
cdc1dcf93e07035eacdde8dfed8edaa4da6e40a5 | 834 | kt | Kotlin | src/main/kotlin/org/phc1990/mammok/topology/space/search/ListedSpace.kt | phc1990/k-mamo | 32fc16ca4758c3c283ee4aa873ccf790a2d24210 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/org/phc1990/mammok/topology/space/search/ListedSpace.kt | phc1990/k-mamo | 32fc16ca4758c3c283ee4aa873ccf790a2d24210 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/org/phc1990/mammok/topology/space/search/ListedSpace.kt | phc1990/k-mamo | 32fc16ca4758c3c283ee4aa873ccf790a2d24210 | [
"Apache-2.0"
] | null | null | null | package org.phc1990.mammok.topology.space.search
import org.phc1990.mammok.topology.space.FiniteSpace
/**
* A [Space] constituted by a finite number of possibilities.
*
* @see FiniteSpace
* @author [Pau Hebrero Casasayas](https://github.com/phc1990) - May 28, 2020
*/
class ListedSpace<T>(private val values: List... | 33.36 | 107 | 0.651079 |
46dc330cd27e5dc9662eb6e7d50fb7953d1866a0 | 826 | dart | Dart | test/bitcount_test.dart | akhomchenko/bitcount | c19a3c36cc7aa0c33e7f72043a6fc7f5de3b799e | [
"MIT"
] | 1 | 2022-03-06T15:18:01.000Z | 2022-03-06T15:18:01.000Z | test/bitcount_test.dart | gagoman/bitcount | c19a3c36cc7aa0c33e7f72043a6fc7f5de3b799e | [
"MIT"
] | 4 | 2021-03-10T08:38:29.000Z | 2021-11-16T21:23:16.000Z | test/bitcount_test.dart | gagoman/bitcount | c19a3c36cc7aa0c33e7f72043a6fc7f5de3b799e | [
"MIT"
] | 1 | 2021-03-10T09:08:46.000Z | 2021-03-10T09:08:46.000Z | import 'dart:math';
import 'package:bitcount/bitcount.dart';
import 'package:test/test.dart';
void main() {
group('.bitCount()', () {
void checkBitCount(int number, int expectedCount) {
test('$expectedCount for $number', () {
expect(number.bitCount(), expectedCount);
});
}
group('re... | 25.030303 | 55 | 0.566586 |
8da6a3752db6256a2b7e7f0563f67d20e2e25e54 | 129 | sql | SQL | resources/migrations/badge/sql/201802130919-endorsement-tables.down.sql | Vilikkki/salava | 8bd253b0f3fdc808d3dcd2200a932a2629fe3e9e | [
"Apache-2.0"
] | 17 | 2015-11-08T12:16:24.000Z | 2019-10-24T12:36:04.000Z | resources/migrations/badge/sql/201802130919-endorsement-tables.down.sql | Vilikkki/salava | 8bd253b0f3fdc808d3dcd2200a932a2629fe3e9e | [
"Apache-2.0"
] | 12 | 2016-03-11T11:16:49.000Z | 2019-11-22T08:30:07.000Z | resources/migrations/badge/sql/201802130919-endorsement-tables.down.sql | Vilikkki/salava | 8bd253b0f3fdc808d3dcd2200a932a2629fe3e9e | [
"Apache-2.0"
] | 10 | 2016-02-23T12:42:00.000Z | 2019-11-12T12:36:56.000Z | DROP TABLE `endorsement_content`;
--;;
DROP TABLE `badge_endorsement_content`;
--;;
DROP TABLE `issuer_endorsement_content`;
| 12.9 | 40 | 0.751938 |
d4e9c9e17f9f4db15a52d655ab3021fef89882cb | 108 | sh | Shell | test/wsdl/interop4/groupi/run.sh | Cosium/axis-project | d79603ccfeaa50c8c75cc1c3938edcb8a1dc7eff | [
"Apache-2.0"
] | 3 | 2020-06-14T13:00:05.000Z | 2021-11-10T23:02:45.000Z | test/wsdl/interop4/groupi/run.sh | Cosium/axis-project | d79603ccfeaa50c8c75cc1c3938edcb8a1dc7eff | [
"Apache-2.0"
] | 6 | 2017-11-03T17:46:44.000Z | 2022-01-07T18:41:45.000Z | test/wsdl/interop4/groupi/run.sh | albfernandez/axis1-java | 83b06f5f8e00eb809b2aef51d9de9ef6d0f293ee | [
"Apache-2.0"
] | 10 | 2020-09-21T14:12:59.000Z | 2022-01-27T13:14:07.000Z | #!/bin/sh
#
# Run the test against an endpoint
#
java test.wsdl.interop4.groupi.Round4XSDTestTestCase $1
| 12 | 55 | 0.740741 |
b14b5b7ccae83bac1849a3d8bece948fdde91a3e | 386 | sql | SQL | sqitch/deploy/data/database-design-standards.sql | Ovid/ovid.github.com | ee26ddcea85cfddcbaadeaeedb8444e6317bb2c7 | [
"MIT"
] | 6 | 2015-03-26T21:31:03.000Z | 2021-02-18T03:36:28.000Z | sqitch/deploy/data/database-design-standards.sql | Ovid/ovid.github.com | ee26ddcea85cfddcbaadeaeedb8444e6317bb2c7 | [
"MIT"
] | 9 | 2019-01-22T11:43:18.000Z | 2022-03-16T17:45:38.000Z | sqitch/deploy/data/database-design-standards.sql | Ovid/ovid.github.com | ee26ddcea85cfddcbaadeaeedb8444e6317bb2c7 | [
"MIT"
] | 10 | 2015-02-01T06:27:49.000Z | 2020-07-27T10:47:30.000Z | -- Deploy ovid:data/database-design-standards to sqlite
BEGIN;
INSERT INTO articles (title, slug, article_type_id, sort_order)
VALUES (
'Database Design Standards',
'database-design-standards',
(SELECT article_type_id FROM article_types WHERE type = 'article'),
... | 27.571429 | 78 | 0.637306 |
db84b62b8971610cd6ef6c49e534a23a35dfdcef | 2,526 | php | PHP | app/code/community/Quafzi/FixedBillingAddress/Block/Checkout/Onepage/Billing.php | infabo/magento-fixedCustomerAddresses | 01f37b2be7710b875ccf13e3ea3b012d28677cbc | [
"MIT"
] | 1 | 2016-01-14T10:54:51.000Z | 2016-01-14T10:54:51.000Z | app/code/community/Quafzi/FixedBillingAddress/Block/Checkout/Onepage/Billing.php | infabo/magento-fixedCustomerAddresses | 01f37b2be7710b875ccf13e3ea3b012d28677cbc | [
"MIT"
] | null | null | null | app/code/community/Quafzi/FixedBillingAddress/Block/Checkout/Onepage/Billing.php | infabo/magento-fixedCustomerAddresses | 01f37b2be7710b875ccf13e3ea3b012d28677cbc | [
"MIT"
] | 1 | 2020-10-09T19:52:36.000Z | 2020-10-09T19:52:36.000Z | <?php
class Quafzi_FixedBillingAddress_Block_Checkout_Onepage_Billing extends Mage_Checkout_Block_Onepage_Billing
{
public function getAddressesHtmlSelect($type)
{
if ($this->isCustomerLoggedIn()) {
if ('billing' !== $type
|| false === Mage::helper('quafzi_fixedbillingaddres... | 39.46875 | 131 | 0.504355 |
f415711b234079ce5598e1aefe4111b31ce5737f | 2,794 | cs | C# | src/Loggr.Extensions.Logging/Loggr/Users.cs | imobile3/Loggr.Framework.Logging | e78146df4c558be75e55e46a64e93162e86efa29 | [
"FSFAP"
] | null | null | null | src/Loggr.Extensions.Logging/Loggr/Users.cs | imobile3/Loggr.Framework.Logging | e78146df4c558be75e55e46a64e93162e86efa29 | [
"FSFAP"
] | null | null | null | src/Loggr.Extensions.Logging/Loggr/Users.cs | imobile3/Loggr.Framework.Logging | e78146df4c558be75e55e46a64e93162e86efa29 | [
"FSFAP"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace Loggr
{
public static class Users
{
/// <summary>
/// Tracks a user's activity
/// </summary>
/// <param name="username">Username of user to track</param>
public static void TrackUser(string us... | 42.984615 | 289 | 0.614889 |
14b53601225afdd6cf1ae88b7a0bbebc5ceada9e | 5,136 | ts | TypeScript | src/renderer/src/templates/Readme3.ts | MINERVA-MD/minerva | 8205165bcb6ee6fd11ef43f667bdda26c9cc5e4d | [
"MIT"
] | 2 | 2022-03-05T01:18:23.000Z | 2022-03-05T21:10:44.000Z | src/renderer/src/templates/Readme3.ts | MINERVA-MD/minerva | 8205165bcb6ee6fd11ef43f667bdda26c9cc5e4d | [
"MIT"
] | 3 | 2022-02-25T20:08:33.000Z | 2022-03-11T19:55:34.000Z | src/renderer/src/templates/Readme3.ts | MINERVA-MD/minerva | 8205165bcb6ee6fd11ef43f667bdda26c9cc5e4d | [
"MIT"
] | null | null | null | const README3 = `<h3 align="center">
Welcome to Code White's profile!
<img src="https://media.giphy.com/media/hvRJCLFzcasrR4ia7z/giphy.gif" width="28">
</h3>
<p align="center">
<a href="https://github.com/CodeWhiteWeb/CodeWhiteWeb"><img src="https://readme-typing-svg.herokuapp.com?color=%2336BCF7¢er=true&vCen... | 77.818182 | 2,113 | 0.761293 |
6450b3da6247cb5326e2d417dce970b68dcd77be | 1,084 | dart | Dart | tylerhayes_clock/lib/src/components/shared/painters/arc_dot_painter.dart | thayesx/freehand_clock | f9d47a2db85c9c5bd29ad878451c369c7cffb5c4 | [
"BSD-3-Clause"
] | 2 | 2020-03-26T06:02:33.000Z | 2021-08-15T14:33:23.000Z | tylerhayes_clock/lib/src/components/shared/painters/arc_dot_painter.dart | thayesx/freehand_clock | f9d47a2db85c9c5bd29ad878451c369c7cffb5c4 | [
"BSD-3-Clause"
] | null | null | null | tylerhayes_clock/lib/src/components/shared/painters/arc_dot_painter.dart | thayesx/freehand_clock | f9d47a2db85c9c5bd29ad878451c369c7cffb5c4 | [
"BSD-3-Clause"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:tylerhayes_clock/src/utils/tools.dart';
/// For every angle value in `arcAngles`, paints a dot at a corresponding point along the circumference of a circle with radius `radius`.
class ArcDotPainter extends CustomPainter {
final List<double> arcAngles;
final d... | 24.088889 | 137 | 0.644834 |
05e54d29558bf3b3ae4babc24b9a1fb09cb134b4 | 187 | py | Python | tests/_testsite/importerror_app/forum/dummy.py | OneRainbowDev/django-machina | 7354cc50f58dcbe49eecce7e1f019f6fff21d690 | [
"BSD-3-Clause"
] | 1 | 2021-10-08T03:31:24.000Z | 2021-10-08T03:31:24.000Z | tests/_testsite/importerror_app/forum/dummy.py | OneRainbowDev/django-machina | 7354cc50f58dcbe49eecce7e1f019f6fff21d690 | [
"BSD-3-Clause"
] | null | null | null | tests/_testsite/importerror_app/forum/dummy.py | OneRainbowDev/django-machina | 7354cc50f58dcbe49eecce7e1f019f6fff21d690 | [
"BSD-3-Clause"
] | 1 | 2019-04-20T05:26:27.000Z | 2019-04-20T05:26:27.000Z | # -*- coding: utf-8 -*-
# Standard library imports
# Third party imports
from x import bad_import # noqa
# Local application / specific library imports
class Dummy(object):
pass
| 15.583333 | 46 | 0.705882 |
af8479b80b864507cf9fb7cdc2e53f24d567b687 | 2,932 | rs | Rust | src/lib.rs | orhun/rustypaste-cli | 4bc5d4f9953dbb8048ccb4bc0d1e503a45eac899 | [
"MIT"
] | 10 | 2021-09-18T17:39:55.000Z | 2022-03-31T09:56:20.000Z | src/lib.rs | orhun/rustypaste-cli | 4bc5d4f9953dbb8048ccb4bc0d1e503a45eac899 | [
"MIT"
] | 4 | 2021-09-29T08:57:52.000Z | 2022-03-15T21:17:16.000Z | src/lib.rs | orhun/rustypaste-cli | 4bc5d4f9953dbb8048ccb4bc0d1e503a45eac899 | [
"MIT"
] | 1 | 2021-09-19T05:31:16.000Z | 2021-09-19T05:31:16.000Z | //! A CLI tool for [`rustypaste`].
//!
//! [`rustypaste`]: https://github.com/orhun/rustypaste
#![warn(missing_docs, clippy::unwrap_used)]
/// Command-line argument parser.
pub mod args;
/// Configuration file parser.
pub mod config;
/// Custom error implementation.
pub mod error;
/// Upload handler.
pub mod upload;
... | 29.029703 | 84 | 0.524898 |
bb171a0b9895edaff1fc2fe2f7df8b4a41beb116 | 588 | cs | C# | BettingGame.Tournament.Core/Domain/Game.cs | msallin/BettingGame | d3b6308664a8961c782438af92834a76d221a95b | [
"Apache-2.0"
] | 1 | 2019-03-15T08:55:12.000Z | 2019-03-15T08:55:12.000Z | BettingGame.Tournament.Core/Domain/Game.cs | msallin/BettingGame | d3b6308664a8961c782438af92834a76d221a95b | [
"Apache-2.0"
] | 1 | 2019-03-15T09:56:55.000Z | 2019-03-15T09:56:55.000Z | BettingGame.Tournament.Core/Domain/Game.cs | msallin/BettingGame | d3b6308664a8961c782438af92834a76d221a95b | [
"Apache-2.0"
] | null | null | null | using System;
using System.ComponentModel.DataAnnotations;
namespace BettingGame.Tournament.Core.Domain
{
public class Game
{
public bool Finished => Result != null;
[MaxLength(1)]
public string Group { get; set; }
public Guid Id { get; set; }
public Re... | 21 | 54 | 0.554422 |
5ad5accd0f4c74a776de3b83b3167487a2759f10 | 23,562 | cs | C# | a20201226/Confused_03/tmpsol/Elsa20200001/InstallUsefulScandiumSwitch.cs | soleil-taruto/Hatena | 9154050c1b37944712bb469791a0919a35c2e886 | [
"MIT"
] | null | null | null | a20201226/Confused_03/tmpsol/Elsa20200001/InstallUsefulScandiumSwitch.cs | soleil-taruto/Hatena | 9154050c1b37944712bb469791a0919a35c2e886 | [
"MIT"
] | null | null | null | a20201226/Confused_03/tmpsol/Elsa20200001/InstallUsefulScandiumSwitch.cs | soleil-taruto/Hatena | 9154050c1b37944712bb469791a0919a35c2e886 | [
"MIT"
] | 1 | 2021-07-17T06:25:44.000Z | 2021-07-17T06:25:44.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DxLibDLL;
namespace Charlotte
{
/// <summary>
/// Confused by ConfuserElsa
/// </summary>
public class CallUniqueThemistoFile
{
/// <summary>
/// Confused by ConfuserElsa
/// </summary>
public void DuplicateManual... | 28.59466 | 287 | 0.743273 |
7ac5bb10464de846362f9f983f32d1ce4fbeb060 | 1,833 | cs | C# | Assets/scripts/enemyAI.cs | southrad69/Atividade1 | f9f649d7fb59b80b152983970fbda9ca40944319 | [
"Apache-2.0"
] | null | null | null | Assets/scripts/enemyAI.cs | southrad69/Atividade1 | f9f649d7fb59b80b152983970fbda9ca40944319 | [
"Apache-2.0"
] | null | null | null | Assets/scripts/enemyAI.cs | southrad69/Atividade1 | f9f649d7fb59b80b152983970fbda9ca40944319 | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class enemyAI : MonoBehaviour
{
public ParticleSystem fire;
public bool enableshoot = false;
int index = 0;
float rotation = 0;
float patrolSpeed = 150;
public float radius = 10;
GameObject target;
... | 24.118421 | 135 | 0.57174 |
641228a8597b837266df41e07508fc0738a24804 | 526 | py | Python | pySpatialTools/FeatureManagement/Interpolation_utils/__init__.py | tgquintela/pySpatialTools | e028008f9750521bf7d311f7cd3323c88d621ea4 | [
"MIT"
] | 8 | 2015-07-21T05:15:16.000Z | 2018-06-12T18:22:52.000Z | pySpatialTools/FeatureManagement/Interpolation_utils/__init__.py | tgquintela/pySpatialTools | e028008f9750521bf7d311f7cd3323c88d621ea4 | [
"MIT"
] | 6 | 2016-01-11T22:25:28.000Z | 2016-01-28T16:17:46.000Z | pySpatialTools/FeatureManagement/Interpolation_utils/__init__.py | tgquintela/pySpatialTools | e028008f9750521bf7d311f7cd3323c88d621ea4 | [
"MIT"
] | null | null | null |
"""
Interpolation
=============
Module which contains the functions to spatially interpolate features.
TODO
----
- Join both ways into 1.
"""
## Interpolation
from general_interpolation import general_interpolate
## Density assignation
from density_assignation import general_density_assignation
from density_assign... | 21.916667 | 74 | 0.825095 |
c6a0da5cd31f2a9ab7aaac6a1be81d3fdb848af8 | 462 | py | Python | fastapi-alembic-sqlmodel-async/app/api/api_v1/api.py | jonra1993/fastapi-alembic-sqlmodel-async | 55c8a127bf17e6e5de95047a54a0ef913511f2d9 | [
"MIT"
] | 15 | 2022-03-07T05:57:01.000Z | 2022-03-25T14:08:56.000Z | fastapi-alembic-sqlmodel-async/app/api/api_v1/api.py | jonra1993/fastapi-alembic-sqlmodel-async | 55c8a127bf17e6e5de95047a54a0ef913511f2d9 | [
"MIT"
] | null | null | null | fastapi-alembic-sqlmodel-async/app/api/api_v1/api.py | jonra1993/fastapi-alembic-sqlmodel-async | 55c8a127bf17e6e5de95047a54a0ef913511f2d9 | [
"MIT"
] | 1 | 2022-03-08T04:54:14.000Z | 2022-03-08T04:54:14.000Z | from fastapi import APIRouter
from app.api.api_v1.endpoints import user, hero, team, login, role, group
api_router = APIRouter()
api_router.include_router(login.router, tags=['login_form'])
api_router.include_router(role.router, tags=['role'])
api_router.include_router(user.router, tags=['user'])
api_router.include_rou... | 46.2 | 73 | 0.785714 |
6421b1b7b2e38c7edd30e5c6a1cd997d966903be | 199 | py | Python | books/effectivepy-v2/chap7/ad52/subproces_popen.py | MerleLiuKun/my-python | 0bec138cc6a9870ca47e0e62e9b92d50fb6cb3d8 | [
"MIT"
] | 1 | 2018-12-10T02:29:58.000Z | 2018-12-10T02:29:58.000Z | books/effectivepy-v2/chap7/ad52/subproces_popen.py | MerleLiuKun/my-python | 0bec138cc6a9870ca47e0e62e9b92d50fb6cb3d8 | [
"MIT"
] | null | null | null | books/effectivepy-v2/chap7/ad52/subproces_popen.py | MerleLiuKun/my-python | 0bec138cc6a9870ca47e0e62e9b92d50fb6cb3d8 | [
"MIT"
] | 1 | 2021-05-26T09:06:20.000Z | 2021-05-26T09:06:20.000Z | """
"""
import subprocess
import time
proc = subprocess.Popen(["sleep", "1"])
while proc.poll() is None:
print("Working...")
time.sleep(1) # 模拟其他任务处理
print(f"Exit status {proc.poll()}")
| 14.214286 | 39 | 0.623116 |
f449c16c8e922ba7c3bafa332fd5129f8fa11d4d | 876 | ts | TypeScript | src/db/connection.ts | aegomez/chat-app-users | 4ce5128c6c9095ce43264aefc3b76219711b956f | [
"MIT"
] | null | null | null | src/db/connection.ts | aegomez/chat-app-users | 4ce5128c6c9095ce43264aefc3b76219711b956f | [
"MIT"
] | 1 | 2020-03-23T21:29:05.000Z | 2020-03-23T21:29:05.000Z | src/db/connection.ts | aegomez/chat-app-users | 4ce5128c6c9095ce43264aefc3b76219711b956f | [
"MIT"
] | 1 | 2020-12-04T19:07:54.000Z | 2020-12-04T19:07:54.000Z | import mongoose from 'mongoose';
/**
* Connect to the database and retry if connection failed.
* @param ms Milliseconds between retries (default 5000).
*/
export async function connect(ms = 5000): Promise<void> {
try {
const mongoURI = process.env.MONGODB_URI || '';
await mongoose.connect(mongoURI, {
... | 27.375 | 78 | 0.65411 |
84534cfd24560450e202f8683ca0cbfa23dd99f1 | 794 | cs | C# | UnityVrSandbox/Assets/External/New UI Widgets/Scripts/ThirdPartySupport/DataBindSupport/IO/DirectoryTreeView/DirectoryTreeViewNodesSetter.cs | cschladetsch/UnityTemplate | 57a7af490f37670207f231ae7b265badcdd0f4b9 | [
"MIT"
] | 9 | 2019-08-26T18:54:37.000Z | 2022-03-08T02:15:23.000Z | UnityVrSandbox/Assets/External/New UI Widgets/Scripts/ThirdPartySupport/DataBindSupport/IO/DirectoryTreeView/DirectoryTreeViewNodesSetter.cs | cschladetsch/UnityTemplate | 57a7af490f37670207f231ae7b265badcdd0f4b9 | [
"MIT"
] | 28 | 2020-03-29T21:52:48.000Z | 2020-04-24T05:34:14.000Z | UnityVrSandbox/Assets/External/New UI Widgets/Scripts/ThirdPartySupport/DataBindSupport/IO/DirectoryTreeView/DirectoryTreeViewNodesSetter.cs | cschladetsch/UnityTemplate | 57a7af490f37670207f231ae7b265badcdd0f4b9 | [
"MIT"
] | 2 | 2021-02-16T11:26:16.000Z | 2021-06-21T07:37:18.000Z | #if UIWIDGETS_DATABIND_SUPPORT
namespace UIWidgets.DataBind
{
using Slash.Unity.DataBind.Foundation.Setters;
using UnityEngine;
/// <summary>
/// Set the Nodes of a DirectoryTreeView depending on the UIWidgets.ObservableList<UIWidgets.TreeNode<UIWidgets.FileSystemEntry>> data value.
/// </summary>
[AddComponent... | 39.7 | 168 | 0.799748 |
79e6c65b8306c5033e2ecb5960c33e821aa6347f | 3,682 | lua | Lua | source/gamemodes/prophuntextended/gamemode/server/roundmanager.lua | Xaymar/PropHunt | ee89cbc05b01d9b70e661822fe150e8706518a5a | [
"MIT"
] | 7 | 2017-11-25T18:46:34.000Z | 2022-02-14T15:37:55.000Z | source/gamemodes/prophuntextended/gamemode/server/roundmanager.lua | Xaymar/PropHunt | ee89cbc05b01d9b70e661822fe150e8706518a5a | [
"MIT"
] | 12 | 2017-11-24T00:47:08.000Z | 2019-01-13T11:18:54.000Z | source/gamemodes/prophuntextended/gamemode/server/roundmanager.lua | Xaymar/PropHunt | ee89cbc05b01d9b70e661822fe150e8706518a5a | [
"MIT"
] | 4 | 2018-12-15T01:02:37.000Z | 2022-01-12T07:37:43.000Z | --[[
The MIT License (MIT)
Copyright (c) 2015-2018 Xaymar
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, modify,... | 24.065359 | 89 | 0.716187 |
831383af75077bd297f01c58e2329bb4bc3b2271 | 679 | ts | TypeScript | src/shuttle/shuttle.controller.ts | mateuszstaszkow/shuttle-estimator | c1c9909b52141e7c3b56b7718df3b03e01c01a8e | [
"MIT"
] | 1 | 2021-02-07T07:27:23.000Z | 2021-02-07T07:27:23.000Z | src/shuttle/shuttle.controller.ts | mateuszstaszkow/shuttle-estimator | c1c9909b52141e7c3b56b7718df3b03e01c01a8e | [
"MIT"
] | 9 | 2021-02-25T02:36:16.000Z | 2022-02-07T09:40:27.000Z | src/shuttle/shuttle.controller.ts | mateuszstaszkow/botlot-backend | 2d2410153ce7ec3e224ff2a7ea74ab631796ae6b | [
"MIT"
] | null | null | null | import {Body, Controller, Post, Query} from '@nestjs/common';
import {Flight} from "../model/flight.interface";
import {ShuttleService} from "./shuttle.service";
@Controller('flight-shuttle')
export class ShuttleController {
private readonly NUMBER_OF_PEOPLE = 1;
constructor(private readonly shuttleService: S... | 37.722222 | 102 | 0.703976 |
b4858edec6d3ace6d93503fb36206e82deccf374 | 642 | rb | Ruby | Casks/geburtstagschecker.rb | noinarisak/homebrew-cask | 4396a344ad6f53cf601602779ce95a90adc2032b | [
"BSD-2-Clause"
] | 2 | 2019-06-17T07:03:02.000Z | 2019-07-06T13:34:32.000Z | Casks/geburtstagschecker.rb | noinarisak/homebrew-cask | 4396a344ad6f53cf601602779ce95a90adc2032b | [
"BSD-2-Clause"
] | 3 | 2022-02-28T07:19:56.000Z | 2022-03-28T07:15:46.000Z | Casks/geburtstagschecker.rb | noinarisak/homebrew-cask | 4396a344ad6f53cf601602779ce95a90adc2032b | [
"BSD-2-Clause"
] | 1 | 2021-05-15T09:26:24.000Z | 2021-05-15T09:26:24.000Z | cask 'geburtstagschecker' do
version '1.8.1,187'
sha256 '53162bf046cddcec2d899a6eb3adcda951bae74de3612c2e7a67478116f0df0c'
url 'https://earthlingsoft.net/GeburtstagsChecker/GeburtstagsChecker.zip'
appcast 'https://earthlingsoft.net/GeburtstagsChecker/appcast.xml'
name 'GeburtstagsChecker'
homepage 'https:/... | 37.764706 | 98 | 0.752336 |
2fe0baf495e13449bb86e81600805580f4d2c6d0 | 856 | py | Python | exercises/pressing_button.py | polde-live/interprog1 | a49ecef14453839518f1e8a6551fb3af493b1c2c | [
"Unlicense"
] | null | null | null | exercises/pressing_button.py | polde-live/interprog1 | a49ecef14453839518f1e8a6551fb3af493b1c2c | [
"Unlicense"
] | null | null | null | exercises/pressing_button.py | polde-live/interprog1 | a49ecef14453839518f1e8a6551fb3af493b1c2c | [
"Unlicense"
] | null | null | null | """
An Introduction to Interactive Programming in Python (Part 1)
Practice exercises for timers # 5.
Reflex tester
"""
import simpleguitk as simplegui
total_ticks = 0
first_click = True
# Timer handler
def tick():
global total_ticks
total_ticks += 1
def measure_time():
time_elapsed = t... | 19.454545 | 64 | 0.674065 |
a444c1292062c22e4c3a0b9766561f25e1eed9da | 3,328 | php | PHP | src/DataCollector/PhalconRequestCollector.php | Grimston/phalcon-debugbar | aeaba602f94ab601a9061eb7d099f9fb6cce2ec6 | [
"MIT"
] | null | null | null | src/DataCollector/PhalconRequestCollector.php | Grimston/phalcon-debugbar | aeaba602f94ab601a9061eb7d099f9fb6cce2ec6 | [
"MIT"
] | null | null | null | src/DataCollector/PhalconRequestCollector.php | Grimston/phalcon-debugbar | aeaba602f94ab601a9061eb7d099f9fb6cce2ec6 | [
"MIT"
] | null | null | null | <?php
/**
* User: zhuyajie
* Date: 15/3/4
* Time: 15:40
*/
namespace Grimston\Debugbar\DataCollector;
use DebugBar\DataCollector\DataCollector;
use DebugBar\DataCollector\DataCollectorInterface;
use DebugBar\DataCollector\Renderable;
use Phalcon\DiInterface;
use Phalcon\Http\Request;
use Phalcon\Http\Response;
u... | 24.835821 | 108 | 0.619591 |
fd8e0d6eb97e305f26517a8a536641f97cc5b169 | 1,336 | css | CSS | app/components/SideBar/SideBar.module.css | felipesreck/decrediton | bb256c9d80bb87ddaa5487a50d230d494b2b32c3 | [
"ISC"
] | null | null | null | app/components/SideBar/SideBar.module.css | felipesreck/decrediton | bb256c9d80bb87ddaa5487a50d230d494b2b32c3 | [
"ISC"
] | null | null | null | app/components/SideBar/SideBar.module.css | felipesreck/decrediton | bb256c9d80bb87ddaa5487a50d230d494b2b32c3 | [
"ISC"
] | null | null | null | .sidebar {
display: flex;
flex-direction: column;
width: var(--sidebar-width);
z-index: 99;
transition: width 100ms cubic-bezier(0.86, 0, 0.07, 1);
box-shadow: 5px 0 21px rgba(9, 20, 64, 0.21);
background-color: var(--sidebar-color);
}
.sidebar.sidebarReduced {
width: var(--sidebar-width-reduced);
}
.... | 16.7 | 57 | 0.642964 |
cbb310210390d5c88fe6dc12b515835cbb87966e | 578 | dart | Dart | example/lib/main.dart | akashlilhare/dart_sentiment | 919c5e37dfe4293936b0b953eb263dfc4ff848ce | [
"MIT"
] | 8 | 2021-11-01T10:04:03.000Z | 2022-01-20T03:22:59.000Z | example/lib/main.dart | akashlilhare/dart_sentiment | 919c5e37dfe4293936b0b953eb263dfc4ff848ce | [
"MIT"
] | 1 | 2021-11-11T15:18:59.000Z | 2021-11-15T19:58:27.000Z | example/lib/main.dart | akashlilhare/dart_sentiment | 919c5e37dfe4293936b0b953eb263dfc4ff848ce | [
"MIT"
] | 1 | 2022-01-20T03:23:01.000Z | 2022-01-20T03:23:01.000Z | import 'package:dart_sentiment/dart_sentiment.dart';
void main() {
final sentiment = Sentiment();
print(sentiment.analysis("The cake she made was terrible 😐"));
print(sentiment.analysis("The cake she made was terrible 😐", emoji: true));
print(sentiment.analysis(
"I love cats, but I am allergic to them... | 28.9 | 77 | 0.707612 |
1f839e46f1b918fbc4a9fed536c1e7178a9f1405 | 7,484 | dart | Dart | lib/draw_page.dart | maks/SketchNotes2 | e84b49607f3b98e5d576bf3e7fa4afdacb80e498 | [
"MIT"
] | 4 | 2019-07-24T01:06:21.000Z | 2020-07-29T08:57:59.000Z | lib/draw_page.dart | maks/SketchNotes2 | e84b49607f3b98e5d576bf3e7fa4afdacb80e498 | [
"MIT"
] | 23 | 2020-01-16T23:51:21.000Z | 2020-03-11T22:35:41.000Z | lib/draw_page.dart | maks/SketchNotes2 | e84b49607f3b98e5d576bf3e7fa4afdacb80e498 | [
"MIT"
] | 2 | 2019-04-08T12:47:37.000Z | 2020-11-25T17:19:40.000Z | import 'dart:math' as math;
import 'dart:ui';
import 'package:built_collection/built_collection.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:provider/provider.dart';
import 'package:sketchnotes2/bloc/painter_bloc.dart';
import 'package:sketchnotes2/dia... | 35.808612 | 81 | 0.4686 |
8080ada46ff72a4584b808dcf9312c0fc262517c | 2,134 | lua | Lua | lua/enemies/bossShot.lua | nekolabs/bob-the-bacterium | 27e8fde7b71cc3e3757d8779bf626be39ed5c224 | [
"MIT"
] | 1 | 2016-08-28T23:00:53.000Z | 2016-08-28T23:00:53.000Z | lua/enemies/bossShot.lua | nekolabs/bob-the-bacterium | 27e8fde7b71cc3e3757d8779bf626be39ed5c224 | [
"MIT"
] | null | null | null | lua/enemies/bossShot.lua | nekolabs/bob-the-bacterium | 27e8fde7b71cc3e3757d8779bf626be39ed5c224 | [
"MIT"
] | null | null | null | -- bossShot.lua
--atlMap = atl.Loader.load("Maps/level0.tmx")
local lg = love.graphics
local bulletImg = lg.newImage("assets/bullet.png")--not the actual bullet, but important for the sizes
local buW, buH = bulletImg:getWidth(), bulletImg:getHeight()
local shotMusic = love.audio.newSource("sfx/laser.ogg"); -- sfx fo... | 31.382353 | 109 | 0.675726 |
a83d737046d13a35e26eb6fa4b56de6994bb3ae8 | 144 | sql | SQL | reset_everything.sql | davidhoness/sstv_gis | 9b774050f311bb318d6f3d03d91973cc50c330aa | [
"MIT"
] | 1 | 2020-10-06T14:45:33.000Z | 2020-10-06T14:45:33.000Z | reset_everything.sql | davidhoness/sstv_gis | 9b774050f311bb318d6f3d03d91973cc50c330aa | [
"MIT"
] | null | null | null | reset_everything.sql | davidhoness/sstv_gis | 9b774050f311bb318d6f3d03d91973cc50c330aa | [
"MIT"
] | null | null | null | delete from sstv_tx_geometries;
delete from sstv_tx_log;
alter sequence sstv_tx_geometries_seq restart;
alter sequence sstv_tx_log_seq restart; | 36 | 46 | 0.875 |
12b96bab5d5535b228625b4f70013d2eab390f77 | 1,176 | cs | C# | Assets/ROSBridgeLib/std_msgs/DurationMsg.cs | cairo-robotics/ar-for-lfd | cbab020244bca0aebcd6f6b8be6ce645365e0337 | [
"MIT"
] | 1 | 2021-04-21T16:02:39.000Z | 2021-04-21T16:02:39.000Z | Assets/ROSBridgeLib/std_msgs/DurationMsg.cs | cairo-robotics/ar-for-lfd | cbab020244bca0aebcd6f6b8be6ce645365e0337 | [
"MIT"
] | null | null | null | Assets/ROSBridgeLib/std_msgs/DurationMsg.cs | cairo-robotics/ar-for-lfd | cbab020244bca0aebcd6f6b8be6ce645365e0337 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Text;
using SimpleJSON;
using UnityEngine;
/**
* Define a Duration message. These have been hand-crafted from the corresponding msg file.
*
* Version History
* 3.3 - added to std_msgs for consistency
*
* @author Michael Jenkin, Robert Codd-Downey and Andrew Speers
* @ve... | 21.381818 | 91 | 0.585884 |
ddd060566537f9ad4280a4d64e97a40b82ffdd1e | 549 | java | Java | src/main/java/com/affinitynow/app/AffinityNowApplication.java | AffinityNow/AffinityNow | 83ae26312b48fca0f9baf69d1169e356b43b6c74 | [
"Apache-2.0"
] | 1 | 2021-02-14T09:53:50.000Z | 2021-02-14T09:53:50.000Z | src/main/java/com/affinitynow/app/AffinityNowApplication.java | AffinityNow/AffinityNow | 83ae26312b48fca0f9baf69d1169e356b43b6c74 | [
"Apache-2.0"
] | 48 | 2021-01-11T15:51:08.000Z | 2021-03-28T09:24:23.000Z | src/main/java/com/affinitynow/app/AffinityNowApplication.java | AffinityNow/AffinityNow | 83ae26312b48fca0f9baf69d1169e356b43b6c74 | [
"Apache-2.0"
] | null | null | null | package com.affinitynow.app;
import org.modelmapper.ModelMapper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Bean;
@SpringBootAppli... | 30.5 | 73 | 0.825137 |
bed17670943f6cfb891debb7aa15ecee62368c2d | 159 | ts | TypeScript | apps/user/src/user.service.ts | anerivala1412/micro-ecommerce | d0a018184385f0e29352580028a62b533ef346d0 | [
"MIT"
] | null | null | null | apps/user/src/user.service.ts | anerivala1412/micro-ecommerce | d0a018184385f0e29352580028a62b533ef346d0 | [
"MIT"
] | null | null | null | apps/user/src/user.service.ts | anerivala1412/micro-ecommerce | d0a018184385f0e29352580028a62b533ef346d0 | [
"MIT"
] | null | null | null | import { Injectable } from '@nestjs/common';
@Injectable()
export class UserService {
constructor() {}
async findById() {
return await 'aneri';
}
}
| 15.9 | 44 | 0.654088 |
43c15f8d9d07ccdc3dad0c266e65a68b1def7825 | 543 | ts | TypeScript | packages/plugins/other/hasura-allow-list/src/config.ts | notrab/graphql-code-generator | dfd798daac40cd20361641ef7bc342a23164b894 | [
"MIT"
] | null | null | null | packages/plugins/other/hasura-allow-list/src/config.ts | notrab/graphql-code-generator | dfd798daac40cd20361641ef7bc342a23164b894 | [
"MIT"
] | 2 | 2022-03-04T17:35:16.000Z | 2022-03-04T17:49:42.000Z | packages/plugins/other/hasura-allow-list/src/config.ts | notrab/graphql-code-generator | dfd798daac40cd20361641ef7bc342a23164b894 | [
"MIT"
] | 1 | 2021-10-20T07:46:48.000Z | 2021-10-20T07:46:48.000Z | export interface HasuraAllowListPluginConfig {
/**
* @default allowed-queries
* @description Choose the collection name to be generated. Defaults to allowed-queries
*/
collection_name?: string;
/**
* @default 3
* @description Target metadata config version. Supported versions are 2 and 3.
* This... | 36.2 | 102 | 0.72744 |
a3810821f79edb7acdaeb8450b0641f1ee31b36c | 6,901 | java | Java | storage/sis-storage/src/main/java/org/apache/sis/internal/storage/wkt/Store.java | fiser-chinhvm/Test-Sis | 25803969debf36e678146ef4616b4c630ac18614 | [
"Apache-2.0"
] | null | null | null | storage/sis-storage/src/main/java/org/apache/sis/internal/storage/wkt/Store.java | fiser-chinhvm/Test-Sis | 25803969debf36e678146ef4616b4c630ac18614 | [
"Apache-2.0"
] | null | null | null | storage/sis-storage/src/main/java/org/apache/sis/internal/storage/wkt/Store.java | fiser-chinhvm/Test-Sis | 25803969debf36e678146ef4616b4c630ac18614 | [
"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 may ... | 39.210227 | 110 | 0.616867 |
7d2ce28fefa922be37bc4368acd0a598b85b1594 | 147 | h | C | Categories.framework/CTError.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 4 | 2021-10-06T12:15:26.000Z | 2022-02-21T02:26:00.000Z | Categories.framework/CTError.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | null | null | null | Categories.framework/CTError.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 1 | 2021-10-08T07:40:53.000Z | 2021-10-08T07:40:53.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/Categories.framework/Categories
*/
@interface CTError : NSError
@end
| 18.375 | 75 | 0.782313 |
bb7c63a9c0418e2c0c3a58d248ae49d34b5f18e8 | 3,066 | cs | C# | CMP/CmpServiceLib/Models/Mapping/vw_MigrationFailedJobStatusDetailsMap.cs | grazies/Phoenix | eed35547ed52611f9a1b131cb993f7cd8f424690 | [
"MIT"
] | 38 | 2016-03-01T01:07:55.000Z | 2019-02-23T05:06:10.000Z | CMP/CmpServiceLib/Models/Mapping/vw_MigrationFailedJobStatusDetailsMap.cs | grazies/Phoenix | eed35547ed52611f9a1b131cb993f7cd8f424690 | [
"MIT"
] | 12 | 2016-03-02T22:19:03.000Z | 2018-10-17T08:45:17.000Z | CMP/CmpServiceLib/Models/Mapping/vw_MigrationFailedJobStatusDetailsMap.cs | grazies/Phoenix | eed35547ed52611f9a1b131cb993f7cd8f424690 | [
"MIT"
] | 10 | 2016-03-05T02:27:56.000Z | 2019-03-27T07:44:03.000Z | using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace CmpServiceLib.Models.Mapping
{
public class vw_MigrationFailedJobStatusDetailsMap : EntityTypeConfiguration<vw_MigrationFailedJobStatusDetails>
{
public vw_MigrationFailedJobStatusDetailsMap()
... | 42.583333 | 116 | 0.607632 |
390f39634bba86d4f5bb8ec22eb2b7557ac1af96 | 4,150 | py | Python | skdecide/discrete_optimization/rcpsp/parser/rcpsp_parser.py | emilienDespres/scikit-decide | 2a3dd2d93e5e6d07984e1bc02b6e969261aeefbc | [
"MIT"
] | 27 | 2020-11-23T11:45:31.000Z | 2022-03-22T08:08:00.000Z | skdecide/discrete_optimization/rcpsp/parser/rcpsp_parser.py | emilienDespres/scikit-decide | 2a3dd2d93e5e6d07984e1bc02b6e969261aeefbc | [
"MIT"
] | 94 | 2021-02-24T09:50:23.000Z | 2022-02-27T10:07:15.000Z | skdecide/discrete_optimization/rcpsp/parser/rcpsp_parser.py | emilienDespres/scikit-decide | 2a3dd2d93e5e6d07984e1bc02b6e969261aeefbc | [
"MIT"
] | 12 | 2020-12-08T10:38:26.000Z | 2021-10-01T09:17:04.000Z | # Copyright (c) AIRBUS and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import annotations
import os
import sys
from skdecide.discrete_optimization.rcpsp.rcpsp_model import (
MultiModeRCPSPModel,
RC... | 35.169492 | 77 | 0.648916 |
e738fd8ea7035ab9decaf8645a1a59e3799e6068 | 107 | php | PHP | resources/views/pages/about.blade.php | aa3710079/messageboard | ff3616328c71f8112ece111c81f99dbda8d51612 | [
"MIT"
] | null | null | null | resources/views/pages/about.blade.php | aa3710079/messageboard | ff3616328c71f8112ece111c81f99dbda8d51612 | [
"MIT"
] | null | null | null | resources/views/pages/about.blade.php | aa3710079/messageboard | ff3616328c71f8112ece111c81f99dbda8d51612 | [
"MIT"
] | null | null | null | @extends('app')
@section('content')
@if($first=='Fox')
<h1>Hi Fox</h1>
@else
<h1>Else</h1>
@endif
@stop | 10.7 | 19 | 0.598131 |
dc99d46e22fd3d8074b28c5eacab1408741159b5 | 1,757 | rb | Ruby | spec/serket/configuration_spec.rb | mnipper/serket | a4606071fde8982d794ff1f8fc09c399ac92ba17 | [
"MIT"
] | 1 | 2015-09-01T18:21:43.000Z | 2015-09-01T18:21:43.000Z | spec/serket/configuration_spec.rb | mnipper/serket | a4606071fde8982d794ff1f8fc09c399ac92ba17 | [
"MIT"
] | 1 | 2016-03-19T23:22:07.000Z | 2016-03-20T00:37:22.000Z | spec/serket/configuration_spec.rb | mnipper/serket | a4606071fde8982d794ff1f8fc09c399ac92ba17 | [
"MIT"
] | null | null | null | require "spec_helper"
describe Serket::Configuration do
describe 'defaults' do
before :each do
@configuration = Serket::Configuration.new
end
it "should have a default encoding of utf-8" do
@configuration.encoding.should == 'utf-8'
end
it "should have a default delimiter of ::" do
... | 25.463768 | 71 | 0.652817 |
6dcaaa57bb663868cffbd0da9fd4d5de69d51cac | 69 | ts | TypeScript | packages/@surface/material-design/internal/types/hsl.d.ts | SurfaceJS/Modules | aa444e71c36c87c8533e1506942c4c0f2126da6a | [
"MIT"
] | 2 | 2020-03-26T17:25:19.000Z | 2021-02-20T19:22:03.000Z | packages/@surface/material-design/internal/types/hsl.d.ts | SurfaceJS/Modules | aa444e71c36c87c8533e1506942c4c0f2126da6a | [
"MIT"
] | null | null | null | packages/@surface/material-design/internal/types/hsl.d.ts | SurfaceJS/Modules | aa444e71c36c87c8533e1506942c4c0f2126da6a | [
"MIT"
] | null | null | null | type HSL = { h: number, s: number, l: number };
export default HSL;
| 17.25 | 47 | 0.637681 |
38dc8db357a2372f679575996f73039fdc8dda75 | 3,492 | php | PHP | backend/modules/common/controllers/ConfigController.php | bw4243/jukong | d99dd3df171a271133ee68187cb784586c7b981b | [
"Apache-2.0"
] | 1 | 2020-02-21T08:03:00.000Z | 2020-02-21T08:03:00.000Z | backend/modules/common/controllers/ConfigController.php | bw4243/jukong | d99dd3df171a271133ee68187cb784586c7b981b | [
"Apache-2.0"
] | 1 | 2019-08-24T08:45:23.000Z | 2019-08-24T08:45:23.000Z | backend/modules/common/controllers/ConfigController.php | bw4243/jukong | d99dd3df171a271133ee68187cb784586c7b981b | [
"Apache-2.0"
] | 2 | 2020-02-21T08:03:22.000Z | 2020-02-22T09:43:52.000Z | <?php
namespace backend\modules\common\controllers;
use Yii;
use yii\web\NotFoundHttpException;
use common\enums\StatusEnum;
use common\models\base\SearchModel;
use common\models\common\Config;
use common\helpers\ResultDataHelper;
use common\components\Curd;
use backend\controllers\BaseController;
/**
* Class Confi... | 26.454545 | 114 | 0.547251 |
e088eb42c018c041dceb22fd01d0818697948200 | 5,758 | c | C | src/ip_knock.c | Fullaxx/authknock | ea5c80d0d08e8833564c1965ec7a1b937d191610 | [
"MIT"
] | null | null | null | src/ip_knock.c | Fullaxx/authknock | ea5c80d0d08e8833564c1965ec7a1b937d191610 | [
"MIT"
] | null | null | null | src/ip_knock.c | Fullaxx/authknock | ea5c80d0d08e8833564c1965ec7a1b937d191610 | [
"MIT"
] | null | null | null | #define _XOPEN_SOURCE (500)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* Compatibility with ?really? old versions of libnet */
#ifndef uint
typedef unsigned int uint;
#endif
#include <libnet.h>
#include <sodium.h>
#include "authknock.h"
#include "futils.h"
#include "getopts.h"
static void parse_arg... | 23.406504 | 111 | 0.633901 |
f5c7c0338f09fa06f113bed56387adfeed17710e | 494 | css | CSS | user interface/css/general.css | yotammanor/hackmit-rps | 0e1653de59a3c89610ca339ce11630afa73b8320 | [
"MIT"
] | null | null | null | user interface/css/general.css | yotammanor/hackmit-rps | 0e1653de59a3c89610ca339ce11630afa73b8320 | [
"MIT"
] | null | null | null | user interface/css/general.css | yotammanor/hackmit-rps | 0e1653de59a3c89610ca339ce11630afa73b8320 | [
"MIT"
] | null | null | null | body{
position: relative;
left: 2%;
width: 96%;
}
#nav_row {
position: relative;
top: 15px;
}
#main_row {
position: relative;
top: 45px;
}
.main-col {
position: relative;
height: 150px;
text-align: center;
}
.actions {
position: absolute;
width: 85%;
top: 40%;
}
#name_of_game {
text-align: center... | 10.73913 | 21 | 0.637652 |
ef62710c9293482c531efcb5c5fc6a8ee4033d57 | 269 | h | C | Example/KBLibrary/KBAppDelegate.h | LKeBing/KBLibrary | 88c9ecfca4454c137af7ce182e29c8f338ab5070 | [
"MIT"
] | 1 | 2021-07-23T03:03:54.000Z | 2021-07-23T03:03:54.000Z | Example/KBLibrary/KBAppDelegate.h | LKeBing/KBLibrary | 88c9ecfca4454c137af7ce182e29c8f338ab5070 | [
"MIT"
] | null | null | null | Example/KBLibrary/KBAppDelegate.h | LKeBing/KBLibrary | 88c9ecfca4454c137af7ce182e29c8f338ab5070 | [
"MIT"
] | null | null | null | //
// KBAppDelegate.h
// KBLibrary
//
// Created by LKeBing on 07/06/2021.
// Copyright (c) 2021 LKeBing. All rights reserved.
//
@import UIKit;
@interface KBAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| 16.8125 | 62 | 0.713755 |
495a65874fd0fa136d01f966de79ef44cd8780e7 | 658 | sql | SQL | JobExecutionFramework/ConfigDB/etljob/Views/vw_JobExecution.sql | MS-BI/JobExceutionFramework | 276fac1f0ba37cf2368c96f7d7fd0c0df8f1d2f7 | [
"MIT"
] | 3 | 2016-08-29T09:41:38.000Z | 2016-11-08T15:37:44.000Z | JobExecutionFramework/ConfigDB/etljob/Views/vw_JobExecution.sql | MS-BI/JobExecutionFramework | 276fac1f0ba37cf2368c96f7d7fd0c0df8f1d2f7 | [
"MIT"
] | null | null | null | JobExecutionFramework/ConfigDB/etljob/Views/vw_JobExecution.sql | MS-BI/JobExecutionFramework | 276fac1f0ba37cf2368c96f7d7fd0c0df8f1d2f7 | [
"MIT"
] | null | null | null |
CREATE VIEW [etljob].[vw_JobExecution]
AS
SELECT [JobExecutionID]
,[JobID]
,[ApplicationID]
,[GroupID]
,[ClientID]
,[LayerID]
,[JobStepClusterID]
,[MetaGroupID]
,[StartTime]
,[EndTime]
,[Total]
,[Started]
,[Finished]
,[Failed]
,[Abno... | 17.315789 | 38 | 0.580547 |
40691adab4ea63804807a6c1c1dda7e4c067c85f | 3,474 | ts | TypeScript | src/ThunkTestRunner.ts | churchcommunitybuilder/redux-thunk-testing-library | b9ee3d266b37ba7c9f48c1023076d01637f0f009 | [
"MIT"
] | null | null | null | src/ThunkTestRunner.ts | churchcommunitybuilder/redux-thunk-testing-library | b9ee3d266b37ba7c9f48c1023076d01637f0f009 | [
"MIT"
] | 5 | 2020-09-06T16:19:13.000Z | 2022-03-07T23:16:15.000Z | src/ThunkTestRunner.ts | churchcommunitybuilder/redux-thunk-testing-library | b9ee3d266b37ba7c9f48c1023076d01637f0f009 | [
"MIT"
] | null | null | null | import { mockReturnValue } from './mockReturnValue'
import {
Expectation,
MockImplementation,
MockReturns,
MockReturnsOrImplementation,
Thunk as DefaultThunk,
} from './types'
import { AnyAction, Store } from 'redux'
const isMockReturns = (
mock: MockReturnsOrImplementation,
): mock is MockReturns => typeo... | 25.357664 | 80 | 0.672712 |
af95830f1326e9be794403d0df1e6338caff21ac | 1,790 | py | Python | app.py | sramako/sigmaBackend | 7941c915fe95c8a1efc7f357dc020def88de5910 | [
"MIT"
] | null | null | null | app.py | sramako/sigmaBackend | 7941c915fe95c8a1efc7f357dc020def88de5910 | [
"MIT"
] | null | null | null | app.py | sramako/sigmaBackend | 7941c915fe95c8a1efc7f357dc020def88de5910 | [
"MIT"
] | null | null | null | import os
from flask import Flask
from flask import request
import json
from flask_cors import CORS, cross_origin
import pymongo
# import math
import sys
app = Flask(__name__)
myclient = pymongo.MongoClient("mongodb://ako:sigma123@ds149365.mlab.com:49365/sigma")
mydb = myclient['sigma']
@app.route('/')
def hello():
... | 24.520548 | 86 | 0.574302 |
a4224d917b03fb08c1736531698b386a5dc3035e | 13,829 | asm | Assembly | ZORTON.reko/ZORTON_0E73.asm | 0xLiso/dePIXELator | d74a663e5cb41a404f2b714e262ce44b668d3632 | [
"MIT"
] | null | null | null | ZORTON.reko/ZORTON_0E73.asm | 0xLiso/dePIXELator | d74a663e5cb41a404f2b714e262ce44b668d3632 | [
"MIT"
] | null | null | null | ZORTON.reko/ZORTON_0E73.asm | 0xLiso/dePIXELator | d74a663e5cb41a404f2b714e262ce44b668d3632 | [
"MIT"
] | 1 | 2021-03-10T22:29:06.000Z | 2021-03-10T22:29:06.000Z | ;;; Segment 0E73 (0E73:0000)
0E73:0000 83 C4 06 CB C6 06 F4 9B 01 CB C8 02 00 00 68 01 ..............h.
0E73:0010 80 1E 68 B2 0D 9A 15 36 00 08 83 C4 06 89 46 FE ..h....6......F.
0E73:0020 83 7E FE FF 75 0C 1E 68 B2 0D 9A F3 03 3F 26 83 .~..u..h.....?&.
0E73:0030 C4 04 68 00 03 B8 BA 28 8E C0 66 26 FF 36 86 A8 ..h....(... | 74.349462 | 74 | 0.564755 |
23b608cd9657889504adbe85545a391b22113f0d | 218 | js | JavaScript | src/config.js | uniibu/apidump | 60c94e1ec7b4e5a13f8315aa80b78252472c168b | [
"MIT"
] | 1 | 2020-08-06T22:16:46.000Z | 2020-08-06T22:16:46.000Z | src/config.js | uniibu/apidump | 60c94e1ec7b4e5a13f8315aa80b78252472c168b | [
"MIT"
] | 1 | 2018-10-05T20:50:15.000Z | 2018-10-05T20:50:15.000Z | src/config.js | uniibu/apidump | 60c94e1ec7b4e5a13f8315aa80b78252472c168b | [
"MIT"
] | null | null | null | exports.NODE_ENV = process.env.NODE_ENV || 'development';
exports.PORT = Number.parseInt(process.env.PORT, 10) || 3010;
exports.TRUST_PROXY = process.env.TRUST_PROXY === 'true';
exports.URL = `${process.env.URL}/api`;
| 43.6 | 61 | 0.724771 |
eb4d9f822a4d9daf57aaace2bb091c5d4b8bbd2d | 90,359 | css | CSS | dist/static/css/app.77949f7170ceeae1dc94679c81b0758d.css | maxleaver/haiku-ninja-frontend | 6597cddbc8a3b8df4dcce647d0b6621baecc4b75 | [
"MIT"
] | null | null | null | dist/static/css/app.77949f7170ceeae1dc94679c81b0758d.css | maxleaver/haiku-ninja-frontend | 6597cddbc8a3b8df4dcce647d0b6621baecc4b75 | [
"MIT"
] | null | null | null | dist/static/css/app.77949f7170ceeae1dc94679c81b0758d.css | maxleaver/haiku-ninja-frontend | 6597cddbc8a3b8df4dcce647d0b6621baecc4b75 | [
"MIT"
] | null | null | null | @import url(https://fonts.googleapis.com/css?family=Lato:300,700);/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%; }
body {
margin: 0; }
article,
aside,
details,
figcaption,
figure,
footer,
... | 25.648311 | 9,432 | 0.669607 |
ef0ce073535d6aefa62660f9828fd5a122ba536e | 277 | rs | Rust | samples/file.rs | teh-cmc/raylib-rs | 319d5ac8bbb91722a4ed4ae00945a790cb33a052 | [
"Zlib"
] | null | null | null | samples/file.rs | teh-cmc/raylib-rs | 319d5ac8bbb91722a4ed4ae00945a790cb33a052 | [
"Zlib"
] | null | null | null | samples/file.rs | teh-cmc/raylib-rs | 319d5ac8bbb91722a4ed4ae00945a790cb33a052 | [
"Zlib"
] | null | null | null | mod options;
fn main() {
let opt = options::Opt::new();
let (_rl, _thread) = opt.open_window("File");
let (_w, _h) = (opt.width, opt.height);
println!(
"Working Dir {:?}",
raylib::get_directory_files(&raylib::get_working_directory())
);
}
| 21.307692 | 69 | 0.574007 |
72790f51160f99b42d18e940031a5c81a50f2265 | 3,343 | kt | Kotlin | Android/application/app/src/main/java/com/arpadfodor/communityparking/android/app/view/AccountEditFragment.kt | arpadfodor/SW-Architectures-Homework | 0844098dbe884213eeed4d08e3e59a3b182142ea | [
"MIT"
] | null | null | null | Android/application/app/src/main/java/com/arpadfodor/communityparking/android/app/view/AccountEditFragment.kt | arpadfodor/SW-Architectures-Homework | 0844098dbe884213eeed4d08e3e59a3b182142ea | [
"MIT"
] | null | null | null | Android/application/app/src/main/java/com/arpadfodor/communityparking/android/app/view/AccountEditFragment.kt | arpadfodor/SW-Architectures-Homework | 0844098dbe884213eeed4d08e3e59a3b182142ea | [
"MIT"
] | null | null | null | package com.arpadfodor.communityparking.android.app.view
import android.content.Intent
import android.os.Bundle
import android.view.*
import androidx.constraintlayout.widget.ConstraintLayout
import com.arpadfodor.communityparking.android.app.R
import com.arpadfodor.communityparking.android.app.view.utils.AppFragment
i... | 33.09901 | 116 | 0.690099 |
0582f3f2b9cd50e016e2a1f80361e5d091699225 | 6,104 | rb | Ruby | lib/ffi/libevent/ev_buffer.rb | asppsa/ffi-libevent | 82c3c4032ecdc35476d9e0fed2b0910cd589e4d9 | [
"Apache-2.0"
] | null | null | null | lib/ffi/libevent/ev_buffer.rb | asppsa/ffi-libevent | 82c3c4032ecdc35476d9e0fed2b0910cd589e4d9 | [
"Apache-2.0"
] | null | null | null | lib/ffi/libevent/ev_buffer.rb | asppsa/ffi-libevent | 82c3c4032ecdc35476d9e0fed2b0910cd589e4d9 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 Alastair Pharo
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, ... | 26.424242 | 91 | 0.633519 |
a329a4271b79f6d9cf5fc01066b5140a16a4e8f8 | 3,158 | java | Java | src/com/jaquadro/minecraft/storagedrawers/item/ItemTrim.java | uecasm/StorageDrawers | 40737fb2254d68020a30f80977c84fd50a9b0f26 | [
"MIT"
] | null | null | null | src/com/jaquadro/minecraft/storagedrawers/item/ItemTrim.java | uecasm/StorageDrawers | 40737fb2254d68020a30f80977c84fd50a9b0f26 | [
"MIT"
] | null | null | null | src/com/jaquadro/minecraft/storagedrawers/item/ItemTrim.java | uecasm/StorageDrawers | 40737fb2254d68020a30f80977c84fd50a9b0f26 | [
"MIT"
] | null | null | null | package com.jaquadro.minecraft.storagedrawers.item;
import com.google.common.base.Function;
import com.jaquadro.minecraft.chameleon.resources.IItemMeshMapper;
import com.jaquadro.minecraft.chameleon.resources.IItemVariantProvider;
import com.jaquadro.minecraft.storagedrawers.block.BlockDrawers;
import com.jaquadro.min... | 40.487179 | 156 | 0.732109 |
3874fddab6e3a3342031c7c5fdf5096736e61083 | 1,017 | php | PHP | storage/framework/views/8a32df73edce4b5478f0ee1f0222d27584f518fc.php | EmiJGAugu801/webdev2-final-exam-GASPAR | 6989a9aceb51f868b3788312c00cba6db8408fd9 | [
"MIT"
] | null | null | null | storage/framework/views/8a32df73edce4b5478f0ee1f0222d27584f518fc.php | EmiJGAugu801/webdev2-final-exam-GASPAR | 6989a9aceb51f868b3788312c00cba6db8408fd9 | [
"MIT"
] | null | null | null | storage/framework/views/8a32df73edce4b5478f0ee1f0222d27584f518fc.php | EmiJGAugu801/webdev2-final-exam-GASPAR | 6989a9aceb51f868b3788312c00cba6db8408fd9 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Thank You!</title>
<style>
body{
background-color: #ffffcc;
mar... | 24.804878 | 111 | 0.485742 |
438cb23f294efe6a9640103292224e1b3e050699 | 3,116 | dart | Dart | rovo_app/lib/main.dart | thangvq95/rovo_message | 92b4ba2c6bf835d6e6170bea2ffc1bacba79c9f0 | [
"MIT"
] | 1 | 2021-09-05T04:26:51.000Z | 2021-09-05T04:26:51.000Z | rovo_app/lib/main.dart | thangvq95/rovo_message | 92b4ba2c6bf835d6e6170bea2ffc1bacba79c9f0 | [
"MIT"
] | null | null | null | rovo_app/lib/main.dart | thangvq95/rovo_message | 92b4ba2c6bf835d6e6170bea2ffc1bacba79c9f0 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:provider/provider.dart';
import 'package:rovo_app/configs/configs.dart';
import 'package:rovo_app/configs/themes.dart';
import 'package:rovo_app/provider/app_provider.dart';
import 'package:rovo_app/resouces/assets.dart';
im... | 30.252427 | 126 | 0.686778 |
2cb8be7c7a50da4fac56937058be026c30d7fc7d | 280 | py | Python | atomai/__init__.py | aghosh92/atomai | 9a9fd7a4cff7dc9b5af9fcc5b1a4b3894c9df685 | [
"MIT"
] | null | null | null | atomai/__init__.py | aghosh92/atomai | 9a9fd7a4cff7dc9b5af9fcc5b1a4b3894c9df685 | [
"MIT"
] | null | null | null | atomai/__init__.py | aghosh92/atomai | 9a9fd7a4cff7dc9b5af9fcc5b1a4b3894c9df685 | [
"MIT"
] | null | null | null | from . import trainers, predictors, models, transforms, stat, utils
from atomai.models import load_model
from .__version__ import version as __version__
__all__ = ['models', 'trainers', 'predictors', 'nets', 'utils', 'transforms',
'stat', 'load_model', '__version__']
| 40 | 77 | 0.717857 |
075326c4c6d9e6cc94460fb7870f9ed6f9c4ce67 | 1,826 | css | CSS | index.css | joaopinho-bot/hijoao | 6bf3a947e1432b2a1d19ade5c164e7c4371499dd | [
"MIT"
] | null | null | null | index.css | joaopinho-bot/hijoao | 6bf3a947e1432b2a1d19ade5c164e7c4371499dd | [
"MIT"
] | null | null | null | index.css | joaopinho-bot/hijoao | 6bf3a947e1432b2a1d19ade5c164e7c4371499dd | [
"MIT"
] | null | null | null | .leftside, .rightside{
height: 50vh;
width: 100%;
}
@media screen and (min-width:768px)
{
.leftside, .rightside{
height: 100vh;
}
.rightside {
background: rgb(255, 255, 255);
}
.profile {
height: 577px;
width: 555px;
}
}
.leftside {
... | 16.159292 | 40 | 0.560241 |
b099d36774b448f043823a3fa3de6f9a74040b0b | 200 | py | Python | blockchyp/crypto/__init__.py | blockchyp/blockchyp-python | 0a1632240fa70e90b5692bdd645137989c2ca79e | [
"MIT"
] | 2 | 2020-01-10T18:25:14.000Z | 2021-02-03T13:08:50.000Z | blockchyp/crypto/__init__.py | blockchyp/blockchyp-python | 0a1632240fa70e90b5692bdd645137989c2ca79e | [
"MIT"
] | 8 | 2019-07-08T19:53:31.000Z | 2021-06-02T00:52:51.000Z | blockchyp/crypto/__init__.py | blockchyp/blockchyp-python | 0a1632240fa70e90b5692bdd645137989c2ca79e | [
"MIT"
] | null | null | null | """Cryptographic helper functions."""
from blockchyp.crypto.auth import auth_headers
from blockchyp.crypto.certificate import TerminalAdapter
from blockchyp.crypto.symmetric import decrypt, encrypt
| 28.571429 | 56 | 0.84 |
54c629a959fdaa1496fb19297078f361943ef309 | 668 | css | CSS | src/components/shared/pcsBtn/pcsBtn.css | abekantena/pcs-remote-monitoring-webui | 1d4e37f7461ed9f48716917a1fc3a7ae7f6bbaf6 | [
"MIT"
] | null | null | null | src/components/shared/pcsBtn/pcsBtn.css | abekantena/pcs-remote-monitoring-webui | 1d4e37f7461ed9f48716917a1fc3a7ae7f6bbaf6 | [
"MIT"
] | null | null | null | src/components/shared/pcsBtn/pcsBtn.css | abekantena/pcs-remote-monitoring-webui | 1d4e37f7461ed9f48716917a1fc3a7ae7f6bbaf6 | [
"MIT"
] | null | null | null | .pcs-btn {
display: flex;
flex-flow: row nowrap;
flex-shrink: 0;
align-items: center;
color: #fff;
padding: 0px 16px;
background-color: transparent;
border: none;
cursor: pointer;
outline: none; }
.pcs-btn:hover {
background-color: #b0b9c3; }
.pcs-btn.primary {
color: #454a4e;
backgr... | 23.034483 | 48 | 0.621257 |
394a600a15f8f7844e55fe6586739dbdfb2ef9c0 | 1,711 | py | Python | train/game_runner.py | HendrikCrause/hallite2-submission | fef9d836f393f7aa15768e6a424c52ff60702933 | [
"MIT"
] | null | null | null | train/game_runner.py | HendrikCrause/hallite2-submission | fef9d836f393f7aa15768e6a424c52ff60702933 | [
"MIT"
] | null | null | null | train/game_runner.py | HendrikCrause/hallite2-submission | fef9d836f393f7aa15768e6a424c52ff60702933 | [
"MIT"
] | null | null | null | import argparse
import json
import os
import glob
import subprocess
import zstd
def run_halite_game(bots=(), cleanup=False):
if len(bots) == 0:
return {}
command = [
'./halite',
'-q'
]
for bot in bots:
command.append('"python3 bots/bot.py --uuid {}"'.format(bot))
... | 26.734375 | 93 | 0.621859 |
8ef047dd28a2b3ff7572b9328b1d5ddb96e2ed97 | 492 | rb | Ruby | lib/onix_parser/codelists/issue47/167.rb | hosseintoussi/onix_parser | 74cd958f916d1217f16ab4f1dc4b629edbc723a9 | [
"MIT"
] | 4 | 2019-12-25T21:11:22.000Z | 2021-12-11T06:43:40.000Z | lib/onix_parser/codelists/issue47/167.rb | hosseintoussi/onix_parser | 74cd958f916d1217f16ab4f1dc4b629edbc723a9 | [
"MIT"
] | null | null | null | lib/onix_parser/codelists/issue47/167.rb | hosseintoussi/onix_parser | 74cd958f916d1217f16ab4f1dc4b629edbc723a9 | [
"MIT"
] | null | null | null | module OnixParser
module Codelists
module Issue47
LIST_167 = {
"00" => "No conditions",
"01" => "Includes updates",
"02" => "Must also purchase updates",
"03" => "Updates available",
"04" => "Linked subsequent purchase price",
"05" => "Linked prior purchase pr... | 25.894737 | 51 | 0.520325 |
79ab11b42b217f84cb01c2615ce4f7d232b9a502 | 266 | php | PHP | samples/audio_play/part/event_playback_started.php | caitunai/bot-sdk | efb88d4e93ac85d36fd44792da3389e74cba4fa8 | [
"Apache-2.0"
] | 78 | 2017-06-05T06:50:46.000Z | 2022-02-17T05:07:17.000Z | samples/audio_play/part/event_playback_started.php | caitunai/bot-sdk | efb88d4e93ac85d36fd44792da3389e74cba4fa8 | [
"Apache-2.0"
] | 9 | 2017-11-13T07:32:36.000Z | 2021-12-08T19:41:55.000Z | samples/audio_play/part/event_playback_started.php | caitunai/bot-sdk | efb88d4e93ac85d36fd44792da3389e74cba4fa8 | [
"Apache-2.0"
] | 27 | 2017-11-13T07:28:26.000Z | 2022-01-20T06:57:38.000Z | <?php
return [
'request' => [
'type' => 'AudioPlayer.PlaybackStarted',
'requestId' => '33c78c8f-22db-4d6a-bfd5-075d264377b7',
'timestamp' => '1501127440',
'token' => '12329898321',
'offsetInMilliSeconds' => 1000
],
];
| 24.181818 | 62 | 0.548872 |
e22df49b018bdbc4d1614047dda6e75c6688a31e | 2,547 | js | JavaScript | test/lib/accumulate_distribute/meta/process_params.js | dmytroshch/bfx-hf-algo | c13cce45981c1b1aad1014af209b5787a7c06b3d | [
"Apache-2.0"
] | 92 | 2018-10-17T13:06:48.000Z | 2022-03-25T14:38:17.000Z | test/lib/accumulate_distribute/meta/process_params.js | dmytroshch/bfx-hf-algo | c13cce45981c1b1aad1014af209b5787a7c06b3d | [
"Apache-2.0"
] | 45 | 2018-10-21T12:44:07.000Z | 2022-03-04T11:23:32.000Z | test/lib/accumulate_distribute/meta/process_params.js | dmytroshch/bfx-hf-algo | c13cce45981c1b1aad1014af209b5787a7c06b3d | [
"Apache-2.0"
] | 40 | 2018-10-19T10:11:31.000Z | 2022-03-20T11:39:23.000Z | /* eslint-env mocha */
'use strict'
const assert = require('assert')
const _isObject = require('lodash/isObject')
const processParams = require('../../../../lib/accumulate_distribute/meta/process_params')
const args = {
_symbol: 'tBTCUSD',
_futures: true,
lev: 3.3,
sliceIntervalSec: 1,
amountDistortion: 2,
... | 34.890411 | 101 | 0.716529 |
95613191ba386ae6d96439d7da80d57696f97b28 | 473 | sql | SQL | DB-Basics-MSSQL-Server/Exams/(Demo)Databases MSSQL Server Exam - 10 Feb 2019/15.SelectTheLessPopularJob.sql | emilia98/SoftUni-CSharp-Db | c03f09fa9fa2f199c6adc7548dacc85fd3024d0b | [
"MIT"
] | null | null | null | DB-Basics-MSSQL-Server/Exams/(Demo)Databases MSSQL Server Exam - 10 Feb 2019/15.SelectTheLessPopularJob.sql | emilia98/SoftUni-CSharp-Db | c03f09fa9fa2f199c6adc7548dacc85fd3024d0b | [
"MIT"
] | null | null | null | DB-Basics-MSSQL-Server/Exams/(Demo)Databases MSSQL Server Exam - 10 Feb 2019/15.SelectTheLessPopularJob.sql | emilia98/SoftUni-CSharp-Db | c03f09fa9fa2f199c6adc7548dacc85fd3024d0b | [
"MIT"
] | null | null | null | USE "ColonialJourney";
/*
Extract from the database the less popular job in the longest journey.
In other words, the job with less assign colonists.
*/
SELECT TOP(1)
res.Id,
t.JobDuringJourney AS [Job Name]
FROM
(
SELECT TOP(1)
j.Id
FROM
"Journeys" AS j
ORDER BY
(j.JourneyEnd - j.JourneySta... | 16.310345 | 72 | 0.693446 |
20b7c1586608144ce9a20128dcc4ca90ced29ddb | 323 | py | Python | flags-dest/train_with_args.py | lambdaofgod/examples | 26f7dd0ab58aba2f251e307982c34c9bd67d4797 | [
"Apache-2.0"
] | 9 | 2017-12-14T01:20:07.000Z | 2020-04-30T09:33:55.000Z | flags-dest/train_with_args.py | lambdaofgod/examples | 26f7dd0ab58aba2f251e307982c34c9bd67d4797 | [
"Apache-2.0"
] | 2 | 2019-08-15T16:32:00.000Z | 2020-03-18T18:22:38.000Z | flags-dest/train_with_args.py | lambdaofgod/examples | 26f7dd0ab58aba2f251e307982c34c9bd67d4797 | [
"Apache-2.0"
] | 4 | 2019-08-22T07:25:11.000Z | 2020-06-08T07:07:50.000Z | import argparse # cue for Guild that interface is `args`
p = argparse.ArgumentParser()
p.add_argument("--learning-rate", type=float, default=0.01)
p.add_argument("--epochs", type=int, default=10)
args = p.parse_args()
print("Training for %i epochs with a learning rate of %f"
% (args.epochs, args.learning_rate... | 29.363636 | 59 | 0.71517 |
12a018bfa8c67ec728226ccad1c7b7920200eae7 | 82 | sql | SQL | doc/sample_queries/list_body_parts.sql | rafelafrance/traiter_odonata | 0f4c459f673aabfb6840a4ee3bd827b4d1a8bc58 | [
"MIT"
] | null | null | null | doc/sample_queries/list_body_parts.sql | rafelafrance/traiter_odonata | 0f4c459f673aabfb6840a4ee3bd827b4d1a8bc58 | [
"MIT"
] | 2 | 2020-11-24T17:37:16.000Z | 2021-08-31T23:07:51.000Z | doc/sample_queries/list_body_parts.sql | rafelafrance/traiter_odonata | 0f4c459f673aabfb6840a4ee3bd827b4d1a8bc58 | [
"MIT"
] | null | null | null | select distinct value as part
from fields
where field = 'body_part'
order by part; | 20.5 | 29 | 0.792683 |
a323a60019c8e3fb9e847581bb8e452813bcdf5a | 5,121 | java | Java | sevai-karangal/BloodDonateApp/src/com/sevaikarangal/blooddonationapp/DonorListActivity.java | kds119/eBay-Opportunity-Hack-Blr-2014 | 3bb0d35c88f4001a2fc50dca6349b06bc7f2f33d | [
"MIT"
] | 1 | 2021-03-02T09:07:43.000Z | 2021-03-02T09:07:43.000Z | sevai-karangal/BloodDonateApp/src/com/sevaikarangal/blooddonationapp/DonorListActivity.java | ebayohblr2014/eBay-Opportunity-Hack-Blr-2014 | 3bb0d35c88f4001a2fc50dca6349b06bc7f2f33d | [
"MIT"
] | null | null | null | sevai-karangal/BloodDonateApp/src/com/sevaikarangal/blooddonationapp/DonorListActivity.java | ebayohblr2014/eBay-Opportunity-Hack-Blr-2014 | 3bb0d35c88f4001a2fc50dca6349b06bc7f2f33d | [
"MIT"
] | 2 | 2015-02-05T06:16:58.000Z | 2015-02-05T16:10:46.000Z | package com.sevaikarangal.blooddonationapp;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import org.apache.http.Header;
import android.app.ListActivity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import an... | 33.253247 | 105 | 0.709822 |
44373a3e8f3b1a55b61a89c3f2a1888fbb3f9789 | 2,389 | py | Python | clustergrammer/upload_pages/clustergrammer/make_clust_fun.py | delosrogers/clustergrammer-web | 14102cfca328214d3bc8285e8331663fe0e5fad4 | [
"MIT"
] | 5 | 2018-04-04T16:25:06.000Z | 2021-04-10T23:47:20.000Z | clustergrammer/upload_pages/clustergrammer/make_clust_fun.py | delosrogers/clustergrammer-web | 14102cfca328214d3bc8285e8331663fe0e5fad4 | [
"MIT"
] | 8 | 2016-07-16T02:55:12.000Z | 2022-02-02T16:42:17.000Z | clustergrammer/upload_pages/clustergrammer/make_clust_fun.py | delosrogers/clustergrammer-web | 14102cfca328214d3bc8285e8331663fe0e5fad4 | [
"MIT"
] | 4 | 2019-05-28T08:52:41.000Z | 2021-01-11T22:14:48.000Z | def make_clust(net, dist_type='cosine', run_clustering=True,
dendro=True, requested_views=['pct_row_sum', 'N_row_sum'],
linkage_type='average', sim_mat=False):
''' This will calculate multiple views of a clustergram by filtering the
data and clustering after each... | 36.753846 | 84 | 0.588112 |
a38ca97ed7d04a04a6459a916c675396cc57279b | 1,335 | ts | TypeScript | electron/tray.ts | Nicolai8/tomatosplash | de3c42e42ca100181e51461526fb4621796d03d9 | [
"MIT"
] | null | null | null | electron/tray.ts | Nicolai8/tomatosplash | de3c42e42ca100181e51461526fb4621796d03d9 | [
"MIT"
] | null | null | null | electron/tray.ts | Nicolai8/tomatosplash | de3c42e42ca100181e51461526fb4621796d03d9 | [
"MIT"
] | null | null | null | import { app, Menu, Tray, dialog } from 'electron';
import * as path from 'path';
import { checkForUpdates } from './autoUpdater';
let trayIcon: Electron.Tray;
const iconPath = path.join(__dirname, '../assets/icon.png');
export const createTray = (mainWindow: Electron.BrowserWindow, isServing: boolean) => {
trayIco... | 23.017241 | 87 | 0.545318 |
dbe90e2b33dab678ea1795375d70b15fb5d27d39 | 827 | php | PHP | app/ApiModel.php | Sergio1310/Blog | 9582f12684d5c9d2d010ca6146dc4a68052aa0a6 | [
"MIT"
] | null | null | null | app/ApiModel.php | Sergio1310/Blog | 9582f12684d5c9d2d010ca6146dc4a68052aa0a6 | [
"MIT"
] | null | null | null | app/ApiModel.php | Sergio1310/Blog | 9582f12684d5c9d2d010ca6146dc4a68052aa0a6 | [
"MIT"
] | null | null | null | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use DB;
class ApiModel extends Model
{
public static function getPosts(){
return DB::table('post AS p')
->join('likes AS l', 'l.id_post','p.id')
->select('p.id','p.titulo','p.usuario','p.imagen','p.contenido','l.nlike','l.ndislike','p.s... | 25.84375 | 129 | 0.563482 |
463bbba8a4824eab578780ca35d7382e51c85940 | 848 | php | PHP | wstmart/home/controller/Orderrefunds.php | Elmwoods/PWareHouse | 2a266c1a9c961b4088e4272bdad158a3ff71430a | [
"Apache-2.0"
] | null | null | null | wstmart/home/controller/Orderrefunds.php | Elmwoods/PWareHouse | 2a266c1a9c961b4088e4272bdad158a3ff71430a | [
"Apache-2.0"
] | null | null | null | wstmart/home/controller/Orderrefunds.php | Elmwoods/PWareHouse | 2a266c1a9c961b4088e4272bdad158a3ff71430a | [
"Apache-2.0"
] | null | null | null | <?php
namespace wstmart\home\controller;
use wstmart\common\model\OrderRefunds as M;
/**
* ============================================================================
* WSTMart多用户商城
* 版权所有 2016-2066 广州商淘信息科技有限公司,并保留所有权利。
* 官网地址:http://www.wstmart.net
* 交流社区:http://bbs.shangtaosoft.com
* 联系QQ:153289970
... | 24.228571 | 80 | 0.444575 |
fa7fdf0d58c70195d34d1ca216b0ca4b0fbdec95 | 2,033 | cpp | C++ | Competitive Programming/Bit Manipulation/Divide two integers without using multiplication, division and mod operator.cpp | shreejitverma/GeeksforGeeks | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 2 | 2022-02-18T05:14:28.000Z | 2022-03-08T07:00:08.000Z | Competitive Programming/Bit Manipulation/Divide two integers without using multiplication, division and mod operator.cpp | shivaniverma1/Competitive-Programming-1 | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 6 | 2022-01-13T04:31:04.000Z | 2022-03-12T01:06:16.000Z | Competitive Programming/Bit Manipulation/Divide two integers without using multiplication, division and mod operator.cpp | shivaniverma1/Competitive-Programming-1 | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 2 | 2022-02-14T19:53:53.000Z | 2022-02-18T05:14:30.000Z | /*
https://www.geeksforgeeks.org/divide-two-integers-without-using-multiplication-division-mod-operator/
Divide two integers without using multiplication, division and mod operator
Difficulty Level : Medium
Last Updated : 03 Sep, 2021
Geek Week
Given a two integers say a and b. Find the quotient after dividing a by b ... | 26.064103 | 130 | 0.632071 |
c6c8f0edf82c277ca1f8b18142689fa613d515ed | 128 | py | Python | kbsite/apps.py | PerpetuumCommunity/simplePostKB | f5afa9711bc9352d9032ede3e92d26bc088f1603 | [
"MIT"
] | 1 | 2018-05-21T10:55:37.000Z | 2018-05-21T10:55:37.000Z | kbsite/apps.py | PerpetuumCommunity/simplePostKB | f5afa9711bc9352d9032ede3e92d26bc088f1603 | [
"MIT"
] | null | null | null | kbsite/apps.py | PerpetuumCommunity/simplePostKB | f5afa9711bc9352d9032ede3e92d26bc088f1603 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class KbsiteConfig(AppConfig):
name = 'kbsite'
| 16 | 39 | 0.789063 |
1c7a9715a2164e5ed105fb4851706416193156c4 | 251 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/draft_schematic/weapon/pistol_ion_stunner.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/draft_schematic/weapon/pistol_ion_stunner.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/draft_schematic/weapon/pistol_ion_stunner.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_draft_schematic_weapon_pistol_ion_stunner = object_draft_schematic_weapon_shared_pistol_ion_stunner:new {
}
ObjectTemplates:addTemplate(object_draft_schematic_weapon_pistol_ion_stunner, "object/draft_schematic/weapon/pistol_ion_stunner.iff")
| 41.833333 | 133 | 0.908367 |
43d86af9ac47edfe5eb9ac79e1800079123d48b9 | 48 | ts | TypeScript | packages/nindo/src/external/components/fileUpload/index.ts | geiger01/nindo | 7ee6f39c6f1f10eb44c7dc922cf0b778d516d2e6 | [
"MIT"
] | 8 | 2022-01-09T14:50:35.000Z | 2022-03-24T11:24:09.000Z | packages/nindo/src/external/components/fileUpload/index.ts | nitzano-cn/nindo | 32adef1702a6869f3d2a208dba24d3f786c653cd | [
"MIT"
] | 2 | 2022-03-20T15:50:35.000Z | 2022-03-21T10:38:32.000Z | packages/nindo/src/external/components/fileUpload/index.ts | nitzano-cn/nindo | 32adef1702a6869f3d2a208dba24d3f786c653cd | [
"MIT"
] | 2 | 2022-01-30T10:21:35.000Z | 2022-02-14T14:21:43.000Z | export { FileUpload } from './fileUpload.comp';
| 24 | 47 | 0.708333 |
7dc3f65d498e2c15bc14e8f431924e30b548aa60 | 695 | sh | Shell | recipes/graphmap/build.sh | ieguinoa/bioconda-recipes | da8a66ec30d36273a8cdf8783a26604f23c45534 | [
"MIT"
] | null | null | null | recipes/graphmap/build.sh | ieguinoa/bioconda-recipes | da8a66ec30d36273a8cdf8783a26604f23c45534 | [
"MIT"
] | null | null | null | recipes/graphmap/build.sh | ieguinoa/bioconda-recipes | da8a66ec30d36273a8cdf8783a26604f23c45534 | [
"MIT"
] | null | null | null | #!/bin/bash
export CFLAGS="-I$PREFIX/include"
export LDFLAGS="-L$PREFIX/lib"
export CPATH=${PREFIX}/include
mkdir -p $PREFIX/bin
cd $SRC_DIR/codebase
wget -O seqlib.tar.gz https://github.com/isovic/seqlib/archive/1d23fd0.tar.gz
tar -xvf seqlib.tar.gz -C seqlib --strip-components 1
wget -O argumentparser.tar.gz http... | 25.740741 | 93 | 0.728058 |
dddcb32d156555045356661605f5d0cc44ad02c8 | 900 | java | Java | server/safencrypt-java/src/main/java/win/liuri/safencrypt/core/bean/SafencryptPublicKey.java | 1iURI/safencrypt | 1b781979d59c9b087ea56c352b2918261a7d20e0 | [
"Apache-2.0"
] | null | null | null | server/safencrypt-java/src/main/java/win/liuri/safencrypt/core/bean/SafencryptPublicKey.java | 1iURI/safencrypt | 1b781979d59c9b087ea56c352b2918261a7d20e0 | [
"Apache-2.0"
] | null | null | null | server/safencrypt-java/src/main/java/win/liuri/safencrypt/core/bean/SafencryptPublicKey.java | 1iURI/safencrypt | 1b781979d59c9b087ea56c352b2918261a7d20e0 | [
"Apache-2.0"
] | null | null | null | package win.liuri.safencrypt.core.bean;
import org.apache.commons.codec.binary.Hex;
import java.security.KeyPair;
import java.security.interfaces.RSAPublicKey;
import java.util.UUID;
/**
* 公钥信息对象
*/
public class SafencryptPublicKey {
private String modulus;
private String exponent;
private String flag... | 22.5 | 90 | 0.678889 |
6db457cb8429df639f34b9f4ba49e95b5e5a0b49 | 1,623 | ts | TypeScript | src/json-body-parser.ts | ShallotJS/shallot-aws-websocket-wrapper | 1239b791ec53aac8e416e23cba53e6ea8068f00c | [
"MIT"
] | 1 | 2021-04-30T00:06:28.000Z | 2021-04-30T00:06:28.000Z | src/json-body-parser.ts | ShallotJS/shallot-aws-websocket-wrapper | 1239b791ec53aac8e416e23cba53e6ea8068f00c | [
"MIT"
] | null | null | null | src/json-body-parser.ts | ShallotJS/shallot-aws-websocket-wrapper | 1239b791ec53aac8e416e23cba53e6ea8068f00c | [
"MIT"
] | null | null | null | /**
* TypeScript + promises port of middy http-json-body-parser
* https://github.com/middyjs/middy/tree/master/packages/http-json-body-parser
*/
import type { ShallotAWSMiddlewareWithOptions } from '@shallot/aws';
import type { APIGatewayEvent } from 'aws-lambda';
import HttpError from 'http-errors';
export inter... | 36.066667 | 108 | 0.731978 |
ef4d95037bfcb3d41aaebb94cdc11e520141841c | 6,159 | js | JavaScript | scripts/closure.js | vega-studio/deltav | c7ff8b4c60fbfda4547c1f93f145249902259bd6 | [
"MIT"
] | 5 | 2020-04-03T20:52:07.000Z | 2020-11-10T16:04:29.000Z | scripts/closure.js | vega-studio/deltav | c7ff8b4c60fbfda4547c1f93f145249902259bd6 | [
"MIT"
] | 2 | 2020-04-29T17:48:49.000Z | 2020-04-29T17:49:19.000Z | scripts/closure.js | vega-studio/deltav | c7ff8b4c60fbfda4547c1f93f145249902259bd6 | [
"MIT"
] | null | null | null | const fs = require('fs');
const fsExtra = require('fs-extra');
const tsickle = require('tsickle');
const { resolve, join, dirname, normalize, isAbsolute, relative } = require('path');
const ts = require('typescript');
const tslibPath = resolve('node_modules/tslib/tslib.d.ts');
const cachedLibs = new Map();
const cache... | 29.610577 | 97 | 0.675272 |
bb886641a83d2cf7aeacf8e437b9e0b880a06f1f | 1,235 | cs | C# | Assets/Scripts/ObjectPooler.cs | vikkymaurya/Object-Pooling | 3c3a0713f37145b45c852710151d5a2504196436 | [
"MIT"
] | null | null | null | Assets/Scripts/ObjectPooler.cs | vikkymaurya/Object-Pooling | 3c3a0713f37145b45c852710151d5a2504196436 | [
"MIT"
] | null | null | null | Assets/Scripts/ObjectPooler.cs | vikkymaurya/Object-Pooling | 3c3a0713f37145b45c852710151d5a2504196436 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPooler : MonoBehaviour
{
public static ObjectPooler Instance;
public GameObject prefab;
public float poolAmount;
List<GameObject> bulletPools;
bool newObject = true;
private void Awake()
{
... | 21.666667 | 69 | 0.534413 |
8ecf680faa8fa4176c3cb0d669965a50f751c533 | 5,383 | js | JavaScript | suricata/apis/search/all_5f.js | onosfw/apis | 3dd33b600bbd73bb1b8e0a71272efe1a45f42458 | [
"Apache-2.0"
] | null | null | null | suricata/apis/search/all_5f.js | onosfw/apis | 3dd33b600bbd73bb1b8e0a71272efe1a45f42458 | [
"Apache-2.0"
] | null | null | null | suricata/apis/search/all_5f.js | onosfw/apis | 3dd33b600bbd73bb1b8e0a71272efe1a45f42458 | [
"Apache-2.0"
] | null | null | null | var searchData=
[
['_5f_5fattribute_5f_5f',['__attribute__',['../app-layer-dns-common_8h.html#a185bfb218b45a3a8a732233a35624a53',1,'__attribute__(): alert-unified2-alert.c'],['../decode_8h.html#aeab68f17dc686a2f7dc72ab2b712e464',1,'__attribute__(): decode.h'],['../app-layer-events_8h.html#a073588e8d020781d7... | 299.055556 | 3,868 | 0.782278 |
0ab958e1e1e20f6c6dac505efe5c3a5b5d687551 | 1,743 | cs | C# | ManifoldWmsDriver/ManifoldWmsDriverAoiSettings.cs | cartomatic/WmsDriver | ab057196433ea40262aa6bd06687506efa0ea787 | [
"WTFPL"
] | null | null | null | ManifoldWmsDriver/ManifoldWmsDriverAoiSettings.cs | cartomatic/WmsDriver | ab057196433ea40262aa6bd06687506efa0ea787 | [
"WTFPL"
] | 11 | 2015-12-20T10:31:49.000Z | 2020-09-06T09:50:16.000Z | ManifoldWmsDriver/ManifoldWmsDriverAoiSettings.cs | cartomatic/WmsDriver | ab057196433ea40262aa6bd06687506efa0ea787 | [
"WTFPL"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cartomatic.Wms
{
/// <summary>
/// AOI settings used when refreshing 'fake' linked components
/// </summary>
public class ManifoldWmsDriverAoiSettings
{
public Man... | 34.86 | 209 | 0.598394 |
2beafa59f080e2df89c44e180affa698471dabd9 | 21,398 | sql | SQL | csapp.sql | ikeogu/cs-app | 2360d536439210042af015321c05434cad99d617 | [
"MIT"
] | null | null | null | csapp.sql | ikeogu/cs-app | 2360d536439210042af015321c05434cad99d617 | [
"MIT"
] | null | null | null | csapp.sql | ikeogu/cs-app | 2360d536439210042af015321c05434cad99d617 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3307
-- Generation Time: Jul 25, 2021 at 07:07 PM
-- Server version: 8.0.24
-- PHP Version: 8.0.5
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@... | 36.14527 | 282 | 0.662772 |
a1cab002e71952814e80353f31f34caa211e763c | 3,424 | lua | Lua | include/loader.lua | Bilal2453/Script-Bot | 035739ad805818ff6afab3a41bf28f41ccc042d2 | [
"MIT"
] | 11 | 2020-03-02T17:32:49.000Z | 2020-09-07T17:09:48.000Z | include/loader.lua | Bilal2453/Script-Bot | 035739ad805818ff6afab3a41bf28f41ccc042d2 | [
"MIT"
] | null | null | null | include/loader.lua | Bilal2453/Script-Bot | 035739ad805818ff6afab3a41bf28f41ccc042d2 | [
"MIT"
] | null | null | null | local fs = require 'fs'
local pathJoin = require 'pathjoin'.pathJoin
local new_fs_event = require 'uv'.new_fs_event
local stat, exists, scandir, readfile = fs.statSync, fs.existsSync, fs.scandirSync, fs.readFileSync
local module = {}
local function call(c, ...)
if type(c) == "function" then
return pcall... | 23.613793 | 100 | 0.663551 |
be3dbf898fb4896a5da49d39fb0880643f0f53cc | 2,214 | lua | Lua | config.lua | Shadow-Develops/extramenu | 02d1df2186cdb9332cbb99ff30e9712ea024ddc3 | [
"RSA-MD"
] | null | null | null | config.lua | Shadow-Develops/extramenu | 02d1df2186cdb9332cbb99ff30e9712ea024ddc3 | [
"RSA-MD"
] | null | null | null | config.lua | Shadow-Develops/extramenu | 02d1df2186cdb9332cbb99ff30e9712ea024ddc3 | [
"RSA-MD"
] | null | null | null | --[[
───────────────────────────────────────────────────────────────
Extra Changer Menu (config.lua) - Created by Shadow Development
Website: https://shadowdevs.com
Documentation: https://docs.shadowdevs.com/extramenu
Discord: https://discord.shadowdevs.com
────────────────────────────────────────────────... | 36.295082 | 171 | 0.609304 |
8dc87e19e4689f67af5d96176aeb971a02567152 | 365,597 | js | JavaScript | summertunes/static/static/js/main.748b3be7.js | irskep/summertunes | d79c8f2e77bb97a48685a0ac23e8e4b7a753eb69 | [
"MIT"
] | 17 | 2016-12-19T22:28:16.000Z | 2021-01-23T11:32:36.000Z | summertunes/static/static/js/main.748b3be7.js | irskep/summertunes | d79c8f2e77bb97a48685a0ac23e8e4b7a753eb69 | [
"MIT"
] | 12 | 2017-01-02T21:53:48.000Z | 2017-03-23T02:22:46.000Z | summertunes/static/static/js/main.748b3be7.js | irskep/summertunes | d79c8f2e77bb97a48685a0ac23e8e4b7a753eb69 | [
"MIT"
] | 1 | 2022-01-07T23:39:26.000Z | 2022-01-07T23:39:26.000Z | !function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="/summertunes/",e(0)}(function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))switch(typeof t[e]){case"function":b... | 28,122.846154 | 32,509 | 0.719453 |
fe18a0d9498fa84836f98fe953bd6aa151d54033 | 135 | swift | Swift | PinKit/Classes/Modules/Pin/Set/SetPinModule.swift | numsecurelab/comp-ios | f601d8b4e3e91f46f7bc26a90dcb279ce203ccd2 | [
"MIT"
] | 4 | 2021-11-09T07:51:59.000Z | 2022-03-30T05:55:16.000Z | PinKit/Classes/Modules/Pin/Set/SetPinModule.swift | numsecurelab/comp-ios | f601d8b4e3e91f46f7bc26a90dcb279ce203ccd2 | [
"MIT"
] | 2 | 2020-04-27T07:31:40.000Z | 2021-09-01T05:06:00.000Z | PinKit/Classes/Modules/Pin/Set/SetPinModule.swift | numsecurelab/comp-ios | f601d8b4e3e91f46f7bc26a90dcb279ce203ccd2 | [
"MIT"
] | 11 | 2020-04-01T22:24:55.000Z | 2022-03-30T05:55:20.000Z | protocol ISetPinRouter {
func notifyCancelled()
func close()
}
public protocol ISetPinDelegate {
func didCancelSetPin()
}
| 15 | 33 | 0.718519 |
fa7d3d4044a2f033f206ade8d5558b3ed03c9040 | 2,098 | cpp | C++ | classnote/Midexam/DB_Conversion.cpp | Alex-Lin5/cpp_practice | c249362d6bbe932dc1eb4a4b8c51728d58db2aa7 | [
"MIT"
] | null | null | null | classnote/Midexam/DB_Conversion.cpp | Alex-Lin5/cpp_practice | c249362d6bbe932dc1eb4a4b8c51728d58db2aa7 | [
"MIT"
] | null | null | null | classnote/Midexam/DB_Conversion.cpp | Alex-Lin5/cpp_practice | c249362d6bbe932dc1eb4a4b8c51728d58db2aa7 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <vector>
#include <list>
#include <map>
using namespace std;
//Implement the following function
void DB1_to_DB2(list<vector<list<int>*>* >& DB1, vector<list<list<int*> >*>* pDB2);
template <typename T> ostream& operator<<(ostream& str, const vector<T>& V);
template <typename T> ostream& ... | 25.901235 | 126 | 0.577216 |
0477cd9d9908bbd1f0c4f83529cd59474a6acd96 | 1,405 | swift | Swift | ios/Social Distance Alarm/SocialDistanceSDK/Util/Util.swift | kunai-consulting/OpenTrace | 67a32553eb7c7087a1f7ca7fa08402034ec89bc7 | [
"MIT"
] | 16 | 2020-03-30T18:09:09.000Z | 2020-06-24T16:35:58.000Z | ios/Social Distance Alarm/SocialDistanceSDK/Util/Util.swift | kunai-consulting/OpenTrace | 67a32553eb7c7087a1f7ca7fa08402034ec89bc7 | [
"MIT"
] | 76 | 2020-04-13T04:09:09.000Z | 2020-06-24T02:33:16.000Z | ios/Social Distance Alarm/SocialDistanceSDK/Util/Util.swift | UNTILabs/SocialDistance | 67a32553eb7c7087a1f7ca7fa08402034ec89bc7 | [
"MIT"
] | 10 | 2020-07-01T18:37:45.000Z | 2020-11-17T12:11:47.000Z | //
// Util.swift
// SocialDistanceSDK
//
// Created by Piotr on 28/05/2020.
// Copyright © 2020 kunai. All rights reserved.
//
import Foundation
public enum SignalClassification {
case tooClose
case danger
case warning
case ok
}
/// Some constants that we use other places in the library. These a... | 31.931818 | 180 | 0.664057 |
f624d363ac3f6f847615772a93146521aeef640b | 804 | cpp | C++ | bls_sig.cpp | ANSIIRU/BLS12_381-small_memory_c- | 6109d56c38a4c9243dcbcd0464b50feaa2f70a89 | [
"Unlicense"
] | null | null | null | bls_sig.cpp | ANSIIRU/BLS12_381-small_memory_c- | 6109d56c38a4c9243dcbcd0464b50feaa2f70a89 | [
"Unlicense"
] | null | null | null | bls_sig.cpp | ANSIIRU/BLS12_381-small_memory_c- | 6109d56c38a4c9243dcbcd0464b50feaa2f70a89 | [
"Unlicense"
] | null | null | null | #include "my_pairing.h"
#include <stdio.h>
void KeyGen(const char* s, EC_Fp2* pub, EC_Fp2* Q)
{
G2_SCM(pub, s, Q); // pub = sQ
// printf("pub=\n");
// EC_Fp2_print(pub);
}
void SignGen(EC_Fp *sign, const char* s, const char *m)
{
EC_Fp Hm;
hash_to_curve(&Hm,m);
// EC_Fp_from_Mont(&Hm);
//... | 21.72973 | 61 | 0.588308 |
12db302f99553404e51a0bfadb645de98f1d42e6 | 2,627 | cs | C# | SubZero/Models/Hardware/MSITemperatureSensors.cs | TekuSP/SubZero | 8e2965b859fc9a71174193a1d3d42f90e1de7c14 | [
"Apache-2.0"
] | 1 | 2021-07-12T11:12:03.000Z | 2021-07-12T11:12:03.000Z | SubZero/Models/Hardware/MSITemperatureSensors.cs | TekuSP/SubZero | 8e2965b859fc9a71174193a1d3d42f90e1de7c14 | [
"Apache-2.0"
] | null | null | null | SubZero/Models/Hardware/MSITemperatureSensors.cs | TekuSP/SubZero | 8e2965b859fc9a71174193a1d3d42f90e1de7c14 | [
"Apache-2.0"
] | 1 | 2021-08-06T03:25:18.000Z | 2021-08-06T03:25:18.000Z | using System;
namespace SubZero.Models.Hardware
{
/// <summary>
/// Hardware Temperature Sensors for MSI
/// </summary>
public class MSITemperatureSensors
{
#region Public Constructors
/// <summary>
/// Intializes sensors with WMIHelper
/// </summary>
/// <... | 29.516854 | 111 | 0.492196 |
1abcb32d42dc6682a4c7ed951e5530184c7220b2 | 4,024 | py | Python | Perfect_game_player/pgameplayer/minimax_tree.py | lquispel/Chain-Reaction-Simulator | d826b3453d1a634186ab345e342e6fa7b44a2154 | [
"MIT"
] | null | null | null | Perfect_game_player/pgameplayer/minimax_tree.py | lquispel/Chain-Reaction-Simulator | d826b3453d1a634186ab345e342e6fa7b44a2154 | [
"MIT"
] | null | null | null | Perfect_game_player/pgameplayer/minimax_tree.py | lquispel/Chain-Reaction-Simulator | d826b3453d1a634186ab345e342e6fa7b44a2154 | [
"MIT"
] | null | null | null | import logging
logger = logging.getLogger("minimax")
# Straightforward minimax tree algorithm
PINF = 100
NINF = -100
class Node:
''' Node of minimax tree associated with a board state and player'''
def __init__(self):
self.state = None
self.value = None
self.player = True
se... | 27.37415 | 108 | 0.572316 |
4f7504aee11f148dd696e75ff74b1563db319837 | 3,114 | php | PHP | resources/views/wayshop/contact.blade.php | shishirkarki/kandkShop | adab9ee0eb758bfa011c97cd1eb5f38f41977907 | [
"MIT"
] | null | null | null | resources/views/wayshop/contact.blade.php | shishirkarki/kandkShop | adab9ee0eb758bfa011c97cd1eb5f38f41977907 | [
"MIT"
] | null | null | null | resources/views/wayshop/contact.blade.php | shishirkarki/kandkShop | adab9ee0eb758bfa011c97cd1eb5f38f41977907 | [
"MIT"
] | null | null | null | @extends('wayshop.layouts.master')
@section('content')
<main class="bg_gray">
<div class="container margin_60">
<div class="main_title">
<h2>Contact</h2>
<p>If you have any querry please dont hasitate to message us. We are always here for your help.</p>
</div>
<div class="row justify-content... | 40.441558 | 359 | 0.522158 |
f473edda68127617e05b56ffc51a900d6ea6454c | 1,574 | css | CSS | public/css/app.css | LarsZondag/survivalruns | 51dd332fdabfd8e03efabdbfb3ff0b9f135d2ae5 | [
"MIT"
] | 1 | 2019-11-25T11:14:02.000Z | 2019-11-25T11:14:02.000Z | public/css/app.css | LarsZondag/survivalruns | 51dd332fdabfd8e03efabdbfb3ff0b9f135d2ae5 | [
"MIT"
] | 6 | 2019-06-19T18:55:14.000Z | 2022-02-26T11:58:33.000Z | public/css/app.css | LarsZondag/survivalruns | 51dd332fdabfd8e03efabdbfb3ff0b9f135d2ae5 | [
"MIT"
] | 1 | 2019-11-25T11:48:08.000Z | 2019-11-25T11:48:08.000Z | .brd-red{border:solid red}.brd-blue{border:solid #00f}.brd-yellow{border:solid #fdd835}.brd-black{border:solid #000}.brd-orange{border:solid orange}.brd-green{border:solid green}div.badge{padding:0 6px;border-radius:11px;border-width:1.5px}div.collapsible-header>div.badge{margin-left:16px}div.collapsible-body,div.colla... | 1,574 | 1,574 | 0.796696 |
a9ce105fce832ac1abd5032610985f84b043f297 | 382 | go | Go | cmd/root.go | jnst/x-go | 87378dca32f3913d58a504f15799917f938396ce | [
"MIT"
] | null | null | null | cmd/root.go | jnst/x-go | 87378dca32f3913d58a504f15799917f938396ce | [
"MIT"
] | null | null | null | cmd/root.go | jnst/x-go | 87378dca32f3913d58a504f15799917f938396ce | [
"MIT"
] | null | null | null | package cmd
import (
"fmt"
"os"
"github.com/spf13/cobra"
)
var rootCmd = &cobra.Command{
Use: "xgo",
}
func Execute() {
awsCmd.AddCommand(dynamodbCmd)
rootCmd.AddCommand(
atcoderCmd,
awsCmd,
factorialCmd,
mysqlCmd,
slackCmd,
solanaCmd,
sortCmd,
uidCmd,
)
if err := rootCmd.Execute(); err != ... | 11.9375 | 42 | 0.641361 |