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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
acdbf1bfc6c5506c1290695415cff14282d70bf1 | 1,282 | kt | Kotlin | src/main/kotlin/de/dikodam/day09/Day09.kt | dikodam/adventofcode2020 | dc70d185cb9f6fd7d69bd1fe74c6dfc8f4aac097 | [
"MIT"
] | null | null | null | src/main/kotlin/de/dikodam/day09/Day09.kt | dikodam/adventofcode2020 | dc70d185cb9f6fd7d69bd1fe74c6dfc8f4aac097 | [
"MIT"
] | null | null | null | src/main/kotlin/de/dikodam/day09/Day09.kt | dikodam/adventofcode2020 | dc70d185cb9f6fd7d69bd1fe74c6dfc8f4aac097 | [
"MIT"
] | null | null | null | package de.dikodam.day09
import de.dikodam.AbstractDay
import de.dikodam.utils.asLongSequence
fun main() {
Day09()()
}
class Day09 : AbstractDay() {
private val input = Day09Input().input.asLongSequence()
override fun task1(): String {
val (_, breakingXMASint) = input
.windowed(size... | 34.648649 | 118 | 0.632605 |
1a4c674bd3a0a46e25b3a60e70eca27ec551df0d | 1,299 | py | Python | examples/webgoat/vuln-30/exploit-vuln-30.py | gauntlt/gauntlt-demo | 13a1a1306bcb4aaa70ba42c97f469b8a35c65902 | [
"MIT"
] | 21 | 2015-04-11T16:30:43.000Z | 2021-08-24T21:40:51.000Z | examples/webgoat/vuln-30/exploit-vuln-30.py | gauntlt/gauntlt-demo | 13a1a1306bcb4aaa70ba42c97f469b8a35c65902 | [
"MIT"
] | 12 | 2015-05-13T04:25:15.000Z | 2015-12-12T06:03:38.000Z | examples/webgoat/vuln-30/exploit-vuln-30.py | gauntlt/gauntlt-demo | 13a1a1306bcb4aaa70ba42c97f469b8a35c65902 | [
"MIT"
] | 61 | 2015-03-16T21:39:48.000Z | 2021-05-12T17:20:28.000Z | import requests
import json
payload = {
'username': 'guest',
'password': 'guest'
}
attack_payload = {
'field1': 'abc@',
'field2': '123@',
'field3': 'abc+123+ABC@',
'field4': 'seven@',
'field5': '90210@',
'field6': '90210-1111@',
'field7': '301-604-4882@'
}
login_url = 'http://127.0.0.1:8080/WebGoat/login.mv... | 26.510204 | 83 | 0.725943 |
273b8391170e48d7e13be92fd3f4d566c91a53db | 15,236 | rs | Rust | core/src/mutations.rs | sheepdreamofandroids/neat-rs | fecef6814025a0ac30ad348fc8b15ff7e08f4037 | [
"MIT"
] | 14 | 2021-01-17T16:42:35.000Z | 2022-02-16T18:07:07.000Z | core/src/mutations.rs | sheepdreamofandroids/neat-rs | fecef6814025a0ac30ad348fc8b15ff7e08f4037 | [
"MIT"
] | 5 | 2021-01-18T08:50:10.000Z | 2021-01-18T08:50:11.000Z | core/src/mutations.rs | sheepdreamofandroids/neat-rs | fecef6814025a0ac30ad348fc8b15ff7e08f4037 | [
"MIT"
] | 1 | 2022-02-15T19:11:09.000Z | 2022-02-15T19:11:09.000Z | use rand::distributions::{Distribution, Standard};
use rand::random;
use rand::thread_rng;
use rand::Rng;
use rand_distr::StandardNormal;
use crate::activation::ActivationKind;
use crate::genome::Genome;
use crate::node::NodeKind;
pub fn mutate(kind: &MutationKind, g: &mut Genome) {
use MutationKind::*;
matc... | 29.933202 | 111 | 0.549882 |
436e175837d63518dd366e4a59f306fbbb469d37 | 629 | tsx | TypeScript | src/components/game/__tests__/Game.test.tsx | G3F4/reactive-snake | 24877d3657ee42597ad25859c5287272baa3cdf0 | [
"MIT"
] | null | null | null | src/components/game/__tests__/Game.test.tsx | G3F4/reactive-snake | 24877d3657ee42597ad25859c5287272baa3cdf0 | [
"MIT"
] | 5 | 2020-06-24T12:50:43.000Z | 2022-02-18T02:20:19.000Z | src/components/game/__tests__/Game.test.tsx | G3F4/reactive-snake | 24877d3657ee42597ad25859c5287272baa3cdf0 | [
"MIT"
] | null | null | null | import React from 'react';
import { render } from '@testing-library/react';
import { PointModel } from '../../../models/PointModel';
import { SnakeModel } from '../../../models/SnakeModel';
import Game from '../Game';
it('renders without crashing', () => {
// given
const gridSize = 10;
const snake = new SnakeMod... | 26.208333 | 71 | 0.631161 |
6642ac40b63574ae9ae0a30537fab8c7066f07d8 | 240 | sql | SQL | sql/tables/interest-table.sql | CyberShai/backend-cybershai | ba74771c5db0087c2227486edb5f313003436ec8 | [
"MIT"
] | null | null | null | sql/tables/interest-table.sql | CyberShai/backend-cybershai | ba74771c5db0087c2227486edb5f313003436ec8 | [
"MIT"
] | null | null | null | sql/tables/interest-table.sql | CyberShai/backend-cybershai | ba74771c5db0087c2227486edb5f313003436ec8 | [
"MIT"
] | null | null | null | CREATE TABLE `tp_hackaton`.`interests` (
`interest_id` INT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(32) NOT NULL,
`created` DATETIME NOT NULL,
`modified` DATETIME NOT NULL,
`active` TINYINT NOT NULL,
PRIMARY KEY (`interest_id`)); | 34.285714 | 44 | 0.716667 |
1272f64191b31fda21d0f8d1bc9fe09b9f89879c | 3,256 | lua | Lua | Interface/AddOns/AddOnSkins/Skins/Tongues.lua | ChinarG/Game-Wow-Plugins-Setting | e3fd3ddec1387c1f971dc195fec4fd9045d3105d | [
"Apache-2.0"
] | null | null | null | Interface/AddOns/AddOnSkins/Skins/Tongues.lua | ChinarG/Game-Wow-Plugins-Setting | e3fd3ddec1387c1f971dc195fec4fd9045d3105d | [
"Apache-2.0"
] | null | null | null | Interface/AddOns/AddOnSkins/Skins/Tongues.lua | ChinarG/Game-Wow-Plugins-Setting | e3fd3ddec1387c1f971dc195fec4fd9045d3105d | [
"Apache-2.0"
] | null | null | null | local AS = unpack(AddOnSkins)
if not AS:CheckAddOn('Tongues') then return end
function AS:Tongues()
AS:SkinFrame(Tongues.UI.MainMenu.Frame)
AS:SkinFrame(Tongues.UI.MainMenu.AdvancedOptions.Frame)
AS:SkinButton(Tongues.UI.MiniMenu.Frame)
Tongues.UI.MiniMenu.Frame:HookScript('OnUpdate', function(self)
self:SetTex... | 55.186441 | 89 | 0.834767 |
385c04e06476683222d8d99a0fce7e35837b57bb | 257 | php | PHP | database/seeders/DatabaseSeeder.php | Enferum/swift-demo | c7d6149bb86f8a355f44b46a96317a34309c512b | [
"MIT"
] | null | null | null | database/seeders/DatabaseSeeder.php | Enferum/swift-demo | c7d6149bb86f8a355f44b46a96317a34309c512b | [
"MIT"
] | null | null | null | database/seeders/DatabaseSeeder.php | Enferum/swift-demo | c7d6149bb86f8a355f44b46a96317a34309c512b | [
"MIT"
] | null | null | null | <?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
public function run()
{
User::factory()->create([
'email' => 'user@example.com',
]);
}
}
| 15.117647 | 42 | 0.603113 |
b3535f9e0c2e18279265e83ceb0d2e0d9bdb5bf5 | 12,595 | sql | SQL | pengadaan.sql | maulananursan/pengadaan | 4bb66fb1e0792f6dc47d0d78b33e00b7dc478026 | [
"MIT"
] | null | null | null | pengadaan.sql | maulananursan/pengadaan | 4bb66fb1e0792f6dc47d0d78b33e00b7dc478026 | [
"MIT"
] | null | null | null | pengadaan.sql | maulananursan/pengadaan | 4bb66fb1e0792f6dc47d0d78b33e00b7dc478026 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 23, 2021 at 01:12 AM
-- Server version: 10.4.19-MariaDB
-- PHP Version: 7.3.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 52.045455 | 399 | 0.7395 |
c0a51ec2e26ed687e6517e66842d36c18699e959 | 3,406 | rs | Rust | src/day_02.rs | Mirko-von-Leipzig/advent-of-code-2021 | 2a09bc76ea60542b7b29ef7c1ca23da9f98414a4 | [
"MIT"
] | null | null | null | src/day_02.rs | Mirko-von-Leipzig/advent-of-code-2021 | 2a09bc76ea60542b7b29ef7c1ca23da9f98414a4 | [
"MIT"
] | null | null | null | src/day_02.rs | Mirko-von-Leipzig/advent-of-code-2021 | 2a09bc76ea60542b7b29ef7c1ca23da9f98414a4 | [
"MIT"
] | null | null | null | #![cfg(test)]
use std::{iter::Sum, str::FromStr};
trait Position: Sum<Direction> {
fn depth(&self) -> u32;
fn horizontal(&self) -> u32;
}
#[derive(Debug, Default)]
struct Position1 {
depth: u32,
horizontal: u32,
}
impl Position for Position1 {
fn depth(&self) -> u32 {
self.depth
}
... | 24.328571 | 86 | 0.5367 |
a690ff0bb86a250ed1cc02607a016fea2c707682 | 59 | dart | Dart | lib/models/destiny_public_milestone_quest.dart | TheBrenny/bungie-api-dart | 4b63b4e0a808de686a26689d1deed57b52ab162a | [
"MIT",
"BSD-3-Clause"
] | 8 | 2019-09-05T08:42:55.000Z | 2021-11-24T06:25:05.000Z | lib/models/destiny_public_milestone_quest.dart | marquesinijatinha/bungie-api-dart | 961e032901da23c76d8edcc9193ca53a005cb1ff | [
"MIT",
"BSD-3-Clause"
] | 5 | 2019-09-06T16:05:20.000Z | 2021-12-16T15:24:17.000Z | lib/models/destiny_public_milestone_quest.dart | marquesinijatinha/bungie-api-dart | 961e032901da23c76d8edcc9193ca53a005cb1ff | [
"MIT",
"BSD-3-Clause"
] | 6 | 2019-09-05T13:37:52.000Z | 2022-03-20T12:52:58.000Z | export '../src/models/destiny_public_milestone_quest.dart'; | 59 | 59 | 0.830508 |
2d3095385b1bc260c572a722fe26b1a88044b5a4 | 2,305 | css | CSS | sportsInsider/style.css | Chrisg91322/practicePortfolio | 095b1a85883d2274ab2214190c00340f48c06563 | [
"Apache-2.0"
] | null | null | null | sportsInsider/style.css | Chrisg91322/practicePortfolio | 095b1a85883d2274ab2214190c00340f48c06563 | [
"Apache-2.0"
] | null | null | null | sportsInsider/style.css | Chrisg91322/practicePortfolio | 095b1a85883d2274ab2214190c00340f48c06563 | [
"Apache-2.0"
] | null | null | null |
body {
background-color: #204d74;
}
button:active {
background-color: grey;
}
.activeBtn {
background-color: grey;
}
header {
font-size: 50px;
}
.footer {
height: 5vh;
}
.news-feed, .twit, .video{
background-color: lightgrey;
height: 75vh;
overflow: scroll;
padding: 5%;
bord... | 16.702899 | 44 | 0.60564 |
4b63552077b15d49d4f9bbfa7b426cd4c56912ad | 25 | rs | Rust | shiratsu-dat/src/redump/mod.rs | xd009642/shiratsu | 75dd8b72b8e441b498e3ec631bb77bfa0abace94 | [
"MIT"
] | 6 | 2021-02-11T00:22:27.000Z | 2021-11-26T09:24:33.000Z | shiratsu-dat/src/redump/mod.rs | xd009642/shiratsu | 75dd8b72b8e441b498e3ec631bb77bfa0abace94 | [
"MIT"
] | 6 | 2021-03-11T08:26:02.000Z | 2022-02-11T20:17:41.000Z | shiratsu-dat/src/redump/mod.rs | xd009642/shiratsu | 75dd8b72b8e441b498e3ec631bb77bfa0abace94 | [
"MIT"
] | 2 | 2021-11-22T21:52:38.000Z | 2022-03-30T08:03:27.000Z | mod dat;
pub use dat::*;
| 8.333333 | 15 | 0.6 |
db7c8ae1f2069fa4b5ebff4499bfe333f8d0cfb8 | 2,118 | php | PHP | migrations/m190522_235737_create_tasks_table.php | adammahamat/Tracker | b0e0732737eac772cd41d1732aca22e8e2322fa4 | [
"BSD-3-Clause"
] | null | null | null | migrations/m190522_235737_create_tasks_table.php | adammahamat/Tracker | b0e0732737eac772cd41d1732aca22e8e2322fa4 | [
"BSD-3-Clause"
] | null | null | null | migrations/m190522_235737_create_tasks_table.php | adammahamat/Tracker | b0e0732737eac772cd41d1732aca22e8e2322fa4 | [
"BSD-3-Clause"
] | null | null | null | <?php
use yii\db\Migration;
/**
* Handles the creation of table `{{%tasks}}`.
*/
class m190522_235737_create_tasks_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$sql = '
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET tim... | 27.153846 | 149 | 0.627479 |
580e858e3a71492b7264d0456f567cad2307b573 | 4,041 | css | CSS | client/src/app/Components/home/home.component.css | Alisha-kuvalekar/On-demand-car-wash | dfa258922a83a6fdae03107df0f8ca1ccc1322c6 | [
"MIT"
] | 3 | 2020-12-29T12:46:00.000Z | 2022-02-17T07:45:17.000Z | client/src/app/Components/home/home.component.css | Alisha-kuvalekar/On-demand-car-wash | dfa258922a83a6fdae03107df0f8ca1ccc1322c6 | [
"MIT"
] | null | null | null | client/src/app/Components/home/home.component.css | Alisha-kuvalekar/On-demand-car-wash | dfa258922a83a6fdae03107df0f8ca1ccc1322c6 | [
"MIT"
] | null | null | null | /************ banner image **********/
.banner-img{
background-image: url('../../../assets/images/banner-img.jpg');
height: 700px;
background-attachment: fixed;
background-position: center bottom;
background-size: cover;
opacity: 0.9;
}
.heading{
font-size: 60px;
text-align: center;
... | 17.880531 | 228 | 0.586241 |
33001e1024fcfe0943437ce0332a272444c7eb9e | 107 | sql | SQL | Exchange.Data.SqlServer.Database/Sequences/SymbolSequence.sql | JorgeCandeias/Exchange | 1a679a9dda6e19c34bd5862a21881e663ac4dd4b | [
"MIT"
] | 13 | 2021-09-03T20:51:49.000Z | 2022-03-28T18:16:12.000Z | Exchange.Data.SqlServer.Database/Sequences/SymbolSequence.sql | JorgeCandeias/Exchange | 1a679a9dda6e19c34bd5862a21881e663ac4dd4b | [
"MIT"
] | null | null | null | Exchange.Data.SqlServer.Database/Sequences/SymbolSequence.sql | JorgeCandeias/Exchange | 1a679a9dda6e19c34bd5862a21881e663ac4dd4b | [
"MIT"
] | 2 | 2021-11-19T17:24:13.000Z | 2022-03-31T17:46:26.000Z | CREATE SEQUENCE [dbo].[SymbolSequence]
AS INT
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO CYCLE
CACHE 10
GO | 13.375 | 39 | 0.785047 |
5f7d871d820299e95c514b6b68e7523909f0eacc | 1,760 | swift | Swift | magic/magic/View/Select/Message/ViewModel/MessageListViewModel.swift | LinKeymy/MagicP2P | 65ff77878407359039b92e555097b2b3484b1781 | [
"MIT"
] | null | null | null | magic/magic/View/Select/Message/ViewModel/MessageListViewModel.swift | LinKeymy/MagicP2P | 65ff77878407359039b92e555097b2b3484b1781 | [
"MIT"
] | null | null | null | magic/magic/View/Select/Message/ViewModel/MessageListViewModel.swift | LinKeymy/MagicP2P | 65ff77878407359039b92e555097b2b3484b1781 | [
"MIT"
] | null | null | null | //
// MessageViewModel.swift
// magic
//
// Created by SteveLin on 2017/6/1.
// Copyright © 2017年 SteveLin. All rights reserved.
//
import UIKit
import Moya
import RxSwift
class SourcesViewModel:TableSourceType {
internal var sourcesble = Variable<[MessageSource]>([])
func fectchMessageSources() -> ... | 30.344828 | 133 | 0.622159 |
84ba996c7ef4fbb25c4f157f63690ac917771bb9 | 231 | cs | C# | SmartHealthCard.Token/JwsToken/IJwsSignatureValidator.cs | snowke/SmartHealthCard | df09ecaf7c351580747c863e229c5f3834fa56e5 | [
"MIT"
] | null | null | null | SmartHealthCard.Token/JwsToken/IJwsSignatureValidator.cs | snowke/SmartHealthCard | df09ecaf7c351580747c863e229c5f3834fa56e5 | [
"MIT"
] | null | null | null | SmartHealthCard.Token/JwsToken/IJwsSignatureValidator.cs | snowke/SmartHealthCard | df09ecaf7c351580747c863e229c5f3834fa56e5 | [
"MIT"
] | null | null | null | using SmartHealthCard.Token.Algorithms;
using SmartHealthCard.Token.Support;
namespace SmartHealthCard.Token.JwsToken
{
public interface IJwsSignatureValidator
{
Result Validate(IAlgorithm Algorithm, string Token);
}
} | 21 | 56 | 0.800866 |
25585138882f5bed4a630411f6b990e6551c1e4e | 2,106 | cs | C# | Assets/UnityDebugViewer/Scripts/ADB/UnityDebugViewerADBUtility.cs | unhay/UnityDebugViewer | dc345976661520e4641b8897d6b86799ce80162b | [
"Apache-2.0"
] | 81 | 2020-03-13T03:46:25.000Z | 2022-01-16T21:57:27.000Z | Assets/UnityDebugViewer/Scripts/ADB/UnityDebugViewerADBUtility.cs | unhay/UnityDebugViewer | dc345976661520e4641b8897d6b86799ce80162b | [
"Apache-2.0"
] | 4 | 2020-03-25T08:00:46.000Z | 2021-05-07T08:53:01.000Z | Assets/UnityDebugViewer/Scripts/ADB/UnityDebugViewerADBUtility.cs | unhay/UnityDebugViewer | dc345976661520e4641b8897d6b86799ce80162b | [
"Apache-2.0"
] | 16 | 2020-03-13T05:30:24.000Z | 2021-09-02T06:22:07.000Z | /// Copyright (C) 2020 AsanCai
/// All rights reserved
/// Email: 969850420@qq.com
using System.Diagnostics;
using UnityEngine;
namespace UnityDebugViewer
{
public static class UnityDebugViewerADBUtility
{
public const string DEFAULT_FORWARD_PC_PORT = "50000";
public const string DEFAULT_F... | 32.4 | 121 | 0.647673 |
2009a6b739729e60b93d9c8ca6260ccc99205bc6 | 1,480 | py | Python | examples/Radio_resource_allocation/barplot.py | real-lhj/ignnition | 3d565a886abb459c3dfbd8d69667db6c614fce19 | [
"Apache-2.0"
] | 18 | 2021-06-09T15:52:55.000Z | 2022-03-28T05:54:14.000Z | examples/Radio_resource_allocation/barplot.py | real-lhj/ignnition | 3d565a886abb459c3dfbd8d69667db6c614fce19 | [
"Apache-2.0"
] | 11 | 2021-06-03T07:55:04.000Z | 2022-03-11T16:54:15.000Z | examples/Radio_resource_allocation/barplot.py | real-lhj/ignnition | 3d565a886abb459c3dfbd8d69667db6c614fce19 | [
"Apache-2.0"
] | 12 | 2020-07-07T16:45:09.000Z | 2021-04-05T15:55:30.000Z | import matplotlib.pyplot as plt
import pickle
import numpy as np
import os
def main():
X = ["50", "100","200", "300", "400"]
X_axis = np.arange(len(X))
nlinks_50 = []
nlinks_100 = []
nlinks_200 = []
nlinks_300 = []
nlinks_400 = []
for filename in os.listdir("./data"):
if fil... | 33.636364 | 163 | 0.583108 |
dd8d06ad1a07fc925e7ea705c94789e11447ca2a | 2,550 | java | Java | common/src/main/java/org/pointstone/cugappplat/util/CommonUtil.java | wslblb/TestChat | 63ada577a3ef2a32c98932c767dfe04bf4c63c16 | [
"Apache-2.0"
] | 381 | 2017-06-12T08:08:54.000Z | 2021-11-08T11:09:24.000Z | common/src/main/java/org/pointstone/cugappplat/util/CommonUtil.java | wslblb/TestChat | 63ada577a3ef2a32c98932c767dfe04bf4c63c16 | [
"Apache-2.0"
] | 10 | 2017-07-18T02:05:22.000Z | 2021-05-13T10:29:07.000Z | common/src/main/java/org/pointstone/cugappplat/util/CommonUtil.java | wslblb/TestChat | 63ada577a3ef2a32c98932c767dfe04bf4c63c16 | [
"Apache-2.0"
] | 146 | 2017-06-12T08:21:20.000Z | 2021-05-12T07:49:52.000Z | package org.pointstone.cugappplat.util;
import android.app.ActivityManager;
import android.content.Context;
import android.os.Environment;
import java.security.MessageDigest;
import java.util.List;
/**
* 项目名称: Cugappplat
* 创建人: 陈锦军
* 创建时间: 2017/5/16 14:09
* QQ: 1981367757
*/
publi... | 36.956522 | 119 | 0.5 |
39375bb586f734ed088058f5bddbaf30b9dc2c78 | 871 | py | Python | Backend/src/contract/migrations/0016_auto_20200519_2306.py | Valle1806/EnergyCorp | aba09105eedcb7dc694b201e50953e19e4e2936b | [
"MIT"
] | 1 | 2021-01-21T08:30:57.000Z | 2021-01-21T08:30:57.000Z | Backend/src/contract/migrations/0016_auto_20200519_2306.py | ChristianTaborda/Energycorp | 2447b5af211501450177b0b60852dcb31d6ca12d | [
"MIT"
] | null | null | null | Backend/src/contract/migrations/0016_auto_20200519_2306.py | ChristianTaborda/Energycorp | 2447b5af211501450177b0b60852dcb31d6ca12d | [
"MIT"
] | null | null | null | # Generated by Django 3.0.3 on 2020-05-19 23:06
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('contract', '0015_auto_20200519_2238'),
]
operations = [
migrations.RemoveField(
model_name='invoice',
... | 25.617647 | 93 | 0.566016 |
721c01f28b1539619edc360716e524e051b5982b | 797 | dart | Dart | lib/domain/auth/user.dart | MuktadirM/ddd_flutter_example | 7e4ddf5e2a4aa6b58f66026ca531c1e0bb8bd73b | [
"MIT"
] | 1 | 2021-03-06T14:21:44.000Z | 2021-03-06T14:21:44.000Z | lib/domain/auth/user.dart | MuktadirM/ddd_flutter_example | 7e4ddf5e2a4aa6b58f66026ca531c1e0bb8bd73b | [
"MIT"
] | null | null | null | lib/domain/auth/user.dart | MuktadirM/ddd_flutter_example | 7e4ddf5e2a4aa6b58f66026ca531c1e0bb8bd73b | [
"MIT"
] | null | null | null | import 'package:dartz/dartz.dart';
import 'package:ddd_flutter_example/domain/auth/auth_value_objects.dart';
import 'package:ddd_flutter_example/domain/core/entity.dart';
import 'package:ddd_flutter_example/domain/core/failures.dart';
import 'package:ddd_flutter_example/domain/core/value_objects.dart';
import 'package:... | 30.653846 | 73 | 0.752823 |
ef225a9f9f5a418fd92e75d39014a3ae4c00284a | 5,996 | rs | Rust | src/volume/super_block.rs | amiraeva/zbox | b18c46c49456ef5a8869ebc75dbf47bc8685956f | [
"Apache-2.0"
] | null | null | null | src/volume/super_block.rs | amiraeva/zbox | b18c46c49456ef5a8869ebc75dbf47bc8685956f | [
"Apache-2.0"
] | null | null | null | src/volume/super_block.rs | amiraeva/zbox | b18c46c49456ef5a8869ebc75dbf47bc8685956f | [
"Apache-2.0"
] | null | null | null | use bytes::{Buf, BufMut, IntoBuf};
use rmp_serde::{Deserializer, Serializer};
use serde::{Deserialize, Serialize};
use super::storage::Storage;
use super::BLK_SIZE;
use base::crypto::{Cipher, Cost, Crypto, Key, Salt, SALT_SIZE};
use base::{Time, Version};
use error::{Error, Result};
use trans::Eid;
/// Super block he... | 30.130653 | 82 | 0.542695 |
7554d1d9c1647e9e4bd8af381ebd956d1c2f6c69 | 50 | css | CSS | plugins/related-posts/css/related-posts.min.css | siteponto/ewbank-online | 75c9315bcf18ea7286e1c8d34f84cb8a3728b660 | [
"MIT"
] | null | null | null | plugins/related-posts/css/related-posts.min.css | siteponto/ewbank-online | 75c9315bcf18ea7286e1c8d34f84cb8a3728b660 | [
"MIT"
] | null | null | null | plugins/related-posts/css/related-posts.min.css | siteponto/ewbank-online | 75c9315bcf18ea7286e1c8d34f84cb8a3728b660 | [
"MIT"
] | null | null | null | .related-post-title{font-size:16px;margin-top:8px} | 50 | 50 | 0.8 |
7bfb31c23111aa6afa3fb5e2af8b708873ef2520 | 8,880 | cpp | C++ | Controller/Old versions/Controller_v3.0/Controller.cpp | RickVM/Trees_of_Life | 382d23ed49edaafee923d1acc85e562fb7f12111 | [
"Apache-2.0"
] | null | null | null | Controller/Old versions/Controller_v3.0/Controller.cpp | RickVM/Trees_of_Life | 382d23ed49edaafee923d1acc85e562fb7f12111 | [
"Apache-2.0"
] | null | null | null | Controller/Old versions/Controller_v3.0/Controller.cpp | RickVM/Trees_of_Life | 382d23ed49edaafee923d1acc85e562fb7f12111 | [
"Apache-2.0"
] | 1 | 2018-06-21T13:12:44.000Z | 2018-06-21T13:12:44.000Z | /*
Main class for the logic of the program
Cycle time for a loop with ultrasoon is ~500 millis
Cycle time with buttons is ~75 millis
*/
#include "Controller.h"
#define SYNC_DELAY 1000
#define PULSE_TIME 2500
#define CYCLES 5
/*
Controller constructor
Expects an Input object for acces to the value of t... | 22.769231 | 164 | 0.574212 |
af6d9918ed41195425420db27e38e038e07c86e8 | 1,096 | py | Python | tests/test_doc_upload.py | blue-yonder/devpi-acceptancetests | 32d59c4948960d5471c7d10851e80f14d186a330 | [
"BSD-3-Clause"
] | null | null | null | tests/test_doc_upload.py | blue-yonder/devpi-acceptancetests | 32d59c4948960d5471c7d10851e80f14d186a330 | [
"BSD-3-Clause"
] | 20 | 2015-11-20T12:48:52.000Z | 2021-03-16T00:15:29.000Z | tests/test_doc_upload.py | blue-yonder/devpi-acceptancetests | 32d59c4948960d5471c7d10851e80f14d186a330 | [
"BSD-3-Clause"
] | 2 | 2016-03-09T13:25:39.000Z | 2020-11-06T09:34:37.000Z | import requests
from twitter.common.contextutil import pushd
import unittest
from devpi_plumber.server import TestServer
from tests.config import NATIVE_PASSWORD, NATIVE_USER
from tests.fixture import PACKAGE_VERSION, SOURCE_DIR
from tests.utils import wait_until
class DocUploadTests(unittest.TestCase):
def tes... | 33.212121 | 110 | 0.662409 |
45a8da4b58e200c454ed9369441c872d55bcbeff | 187 | py | Python | stackstore/apps.py | salexkidd/django-stackstore-model | fb0bb6431dd772a80b8c9d6d2b625eae69562fa9 | [
"MIT"
] | 5 | 2020-05-28T07:04:25.000Z | 2020-09-26T05:29:46.000Z | stackstore/apps.py | salexkidd/django-stackstore-model | fb0bb6431dd772a80b8c9d6d2b625eae69562fa9 | [
"MIT"
] | 1 | 2020-09-26T05:34:19.000Z | 2020-09-26T05:34:19.000Z | stackstore/apps.py | salexkidd/django-stackstore-model | fb0bb6431dd772a80b8c9d6d2b625eae69562fa9 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class StackstoreConfig(AppConfig):
name = 'stackstore'
verbose_name = _("Stack store")
| 20.777778 | 54 | 0.764706 |
14802d4644a5419bc6692909b65d7186181bd741 | 221 | ts | TypeScript | src/models/github-runner.ts | hipcamp/ec-tuner | db0ad74fbc3ed338761f57d15284b12f62c1ebc4 | [
"MIT"
] | null | null | null | src/models/github-runner.ts | hipcamp/ec-tuner | db0ad74fbc3ed338761f57d15284b12f62c1ebc4 | [
"MIT"
] | 68 | 2021-09-28T19:01:36.000Z | 2022-02-10T18:47:25.000Z | src/models/github-runner.ts | hipcamp/ec-tuner | db0ad74fbc3ed338761f57d15284b12f62c1ebc4 | [
"MIT"
] | null | null | null | export interface GithubRunner {
id: number
name: string
status: string
busy: boolean
labels: GithubRunnerLabel[]
ip: string
}
export interface GithubRunnerLabel {
id: number
name: string
type: string
}
| 14.733333 | 36 | 0.719457 |
3e94abfe8657c8e9e6519e4e8788127a1a0f8849 | 3,489 | dart | Dart | lib/app/modules/campaigns/pages/campaign_person_page.dart | kleberandrade/my-blood-flutter | 73ffe56fc1163c8a6fb7a026a43995ee9a9bdcd9 | [
"Unlicense"
] | 12 | 2020-03-29T15:51:03.000Z | 2021-09-12T18:51:05.000Z | lib/app/modules/campaigns/pages/campaign_person_page.dart | kleberandrade/my-blood-flutter | 73ffe56fc1163c8a6fb7a026a43995ee9a9bdcd9 | [
"Unlicense"
] | 2 | 2020-05-27T02:55:05.000Z | 2020-05-28T23:19:53.000Z | lib/app/modules/campaigns/pages/campaign_person_page.dart | kleberandrade/my-blood-flutter | 73ffe56fc1163c8a6fb7a026a43995ee9a9bdcd9 | [
"Unlicense"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter_mobx/flutter_mobx.dart';
import 'package:my_blood/app/modules/campaigns/controllers/campaign_person_controller.dart';
import 'package:my_blood/app/modules/campaigns/pages/editor_campaign_person_page.dart';
import 'package:my_blood/app/modules/campaigns/wid... | 37.117021 | 158 | 0.651476 |
4d604c0a9a71d255735c79f75b4ba13d31a198c3 | 7,569 | cs | C# | src/OdjfsScraper/Synchronize/CountySynchronizer.cs | SmartRoutes/OdjfsScraper | 80d3065e61c27d89a701485d89b221df0a8501fb | [
"MIT"
] | 1 | 2015-04-09T11:23:32.000Z | 2015-04-09T11:23:32.000Z | src/OdjfsScraper/Synchronize/CountySynchronizer.cs | SmartRoutes/OdjfsScraper | 80d3065e61c27d89a701485d89b221df0a8501fb | [
"MIT"
] | null | null | null | src/OdjfsScraper/Synchronize/CountySynchronizer.cs | SmartRoutes/OdjfsScraper | 80d3065e61c27d89a701485d89b221df0a8501fb | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using OdjfsScraper.Database;
using OdjfsScraper.Fetch;
using OdjfsScraper.Models;
namespace OdjfsScraper.Synchronize
{
public class CountySynchr... | 40.475936 | 149 | 0.547761 |
727dcf59091c1da79dc0be3780f0e307fd4b488b | 7,491 | rs | Rust | src/stats.rs | jacktuck/rpc-perf | f6d180106595795c6335f780881da0e27bfe56bb | [
"Apache-2.0"
] | null | null | null | src/stats.rs | jacktuck/rpc-perf | f6d180106595795c6335f780881da0e27bfe56bb | [
"Apache-2.0"
] | null | null | null | src/stats.rs | jacktuck/rpc-perf | f6d180106595795c6335f780881da0e27bfe56bb | [
"Apache-2.0"
] | null | null | null | // rpc-perf - RPC Performance Testing
// Copyright 2015 Twitter, Inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unle... | 33.441964 | 97 | 0.53037 |
dd8b6c7e9a85bb59dfbd116d6a18dff0b021046f | 510 | java | Java | tests/src/cgeo/geocaching/StoredListTest.java | BudBundi/cgeo | 4793dc9e7842bb28483a58f74240d74816ad5d08 | [
"Apache-2.0"
] | 1 | 2021-09-02T22:39:54.000Z | 2021-09-02T22:39:54.000Z | tests/src/cgeo/geocaching/StoredListTest.java | BudBundi/cgeo | 4793dc9e7842bb28483a58f74240d74816ad5d08 | [
"Apache-2.0"
] | null | null | null | tests/src/cgeo/geocaching/StoredListTest.java | BudBundi/cgeo | 4793dc9e7842bb28483a58f74240d74816ad5d08 | [
"Apache-2.0"
] | null | null | null | package cgeo.geocaching;
import junit.framework.TestCase;
public class StoredListTest extends TestCase {
public static void testStandardListExists() {
final StoredList list = cgData.getList(StoredList.STANDARD_LIST_ID);
assertNotNull(list);
}
public static void testEquals() {
fin... | 26.842105 | 77 | 0.721569 |
3f692bf0f270c3ee478061cccaa5e93e02a87525 | 882 | php | PHP | resources/views/layouts/master.blade.php | GordanaP/LaraNews | 026ce3bc6ec22ae7c1c99d1b986b31091090e8d9 | [
"MIT"
] | null | null | null | resources/views/layouts/master.blade.php | GordanaP/LaraNews | 026ce3bc6ec22ae7c1c99d1b986b31091090e8d9 | [
"MIT"
] | null | null | null | resources/views/layouts/master.blade.php | GordanaP/LaraNews | 026ce3bc6ec22ae7c1c99d1b986b31091090e8d9 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="{{ config('app.locale') }}">
<head>
@include('partials._head')
</head>
<body>
<div id="app">
<!-- Navbar -->
<section class="container navbar__container">
@include('partials._nav')
</section>
<!--... | 22.05 | 57 | 0.420635 |
a4300c1ab0133bd34a61b0f1899d4ec70b684d4d | 1,293 | php | PHP | View/Helper/PikachooseHelper.php | CVO-Technologies/croogo-gallery | 0a18c3c01ba75eb6dc264f33c3ebf3c862328807 | [
"MIT"
] | null | null | null | View/Helper/PikachooseHelper.php | CVO-Technologies/croogo-gallery | 0a18c3c01ba75eb6dc264f33c3ebf3c862328807 | [
"MIT"
] | null | null | null | View/Helper/PikachooseHelper.php | CVO-Technologies/croogo-gallery | 0a18c3c01ba75eb6dc264f33c3ebf3c862328807 | [
"MIT"
] | null | null | null | <?php
App::uses('AppHelper', 'View/Helper');
class PikachooseHelper extends AppHelper {
public $helpers = array(
'Html',
'Js',
'Gallery.Gallery',
);
public function assets($options = array()) {
$options = Set::merge(array('inline' => false, 'once' => true), $options);
echo $this->Html->script('/gallery... | 27.510638 | 76 | 0.596288 |
f1bfdf2ed222e60b3e7d94dbb2ddb845fc3050bb | 2,181 | h | C | pl/math/test/ulp_wrappers.h | forksnd/optimized-routines | ea4649a6ea3b79033755217613bd8ab4791c1dea | [
"MIT"
] | null | null | null | pl/math/test/ulp_wrappers.h | forksnd/optimized-routines | ea4649a6ea3b79033755217613bd8ab4791c1dea | [
"MIT"
] | null | null | null | pl/math/test/ulp_wrappers.h | forksnd/optimized-routines | ea4649a6ea3b79033755217613bd8ab4791c1dea | [
"MIT"
] | null | null | null | // clang-format off
/*
* Function wrappers for ulp.
*
* Copyright (c) 2022, Arm Limited.
* SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
*/
#if USE_MPFR
static int sincos_mpfr_sin(mpfr_t y, const mpfr_t x, mpfr_rnd_t r) { mpfr_cos(y,x,r); return mpfr_sin(y,x,r); }
static int sincos_mpfr_cos(mpfr... | 47.413043 | 111 | 0.7116 |
3945a91788ef2408e83f83ea862f792a79c03167 | 22,585 | py | Python | garfield/contacts/tests/test_tasks.py | RobSpectre/garfield | ab806b7ad9221bd1b17c92daadd0a53a4f261cbe | [
"MIT"
] | 3 | 2017-10-15T20:55:00.000Z | 2018-04-25T21:30:57.000Z | garfield/contacts/tests/test_tasks.py | RobSpectre/garfield | ab806b7ad9221bd1b17c92daadd0a53a4f261cbe | [
"MIT"
] | 12 | 2018-07-15T20:42:01.000Z | 2021-06-10T17:39:46.000Z | garfield/contacts/tests/test_tasks.py | RobSpectre/garfield | ab806b7ad9221bd1b17c92daadd0a53a4f261cbe | [
"MIT"
] | 1 | 2018-06-30T02:51:31.000Z | 2018-06-30T02:51:31.000Z | import json
from django.test import TestCase
from django.test import override_settings
from django.core.exceptions import ObjectDoesNotExist
from mock import patch
from mock import Mock
from mock import MagicMock
from phone_numbers.models import PhoneNumber
from sims.models import Sim
from sms.models import SmsMessa... | 50.525727 | 79 | 0.486518 |
ccce4bbc6af1be0a5f6552e9a554ff7a22c6f1a7 | 601 | rb | Ruby | lib/stitches/spec/be_gone.rb | jamescook/stitches | e26d45ef810604822764d3f04df4921fcb3c6c43 | [
"MIT"
] | 508 | 2015-06-05T16:08:12.000Z | 2022-03-25T22:39:38.000Z | lib/stitches/spec/be_gone.rb | jamescook/stitches | e26d45ef810604822764d3f04df4921fcb3c6c43 | [
"MIT"
] | 64 | 2015-06-04T13:41:30.000Z | 2021-10-01T16:00:29.000Z | lib/stitches/spec/be_gone.rb | jamescook/stitches | e26d45ef810604822764d3f04df4921fcb3c6c43 | [
"MIT"
] | 31 | 2015-06-06T22:03:51.000Z | 2022-03-25T05:42:32.000Z | # Use this to test that an HTTP response is properly "410/Gone"
#
# The object you expect on is generally `self`, because this is the object on which
# rspec_api_documentation allows you to call `status`
#
# get "/api/widgets" do
# it "has been removed" do
# expect(self).to be_gone
# end
# end
RSpec::Matchers.d... | 30.05 | 95 | 0.750416 |
8310ce4a80cd0c2abc84da8f2fd77e5c3348b871 | 1,059 | ts | TypeScript | test/pause.spec.ts | kanziw/repeating-task-manager | 13225a1228494075911fa5c68160c2e8c9b92256 | [
"MIT"
] | null | null | null | test/pause.spec.ts | kanziw/repeating-task-manager | 13225a1228494075911fa5c68160c2e8c9b92256 | [
"MIT"
] | null | null | null | test/pause.spec.ts | kanziw/repeating-task-manager | 13225a1228494075911fa5c68160c2e8c9b92256 | [
"MIT"
] | null | null | null | import RepeatingTaskManager from '../'
import { expect } from 'chai'
import { delay, onError } from './common'
describe('[ Pause ]', function () {
let rtm: RepeatingTaskManager
let ret: string[] = []
const task1 = 'TASK1'
const task2 = 'TASK2'
beforeEach(() => {
rtm = new RepeatingTaskManager()
ret ... | 27.868421 | 72 | 0.644004 |
a4061cb26b497b5c1e61b26a0de536f38789d300 | 24,523 | swift | Swift | AFoundationUnitTesting/Json/JsonArrayUnitTesting.swift | ihormyroniuk/AFoundation | 2e50d3f70e89887b0b54fc342f53b783853ef6f8 | [
"MIT"
] | 3 | 2020-02-22T16:34:56.000Z | 2020-10-14T19:57:27.000Z | AFoundationUnitTesting/Json/JsonArrayUnitTesting.swift | ihormyroniuk/AFoundation | 2e50d3f70e89887b0b54fc342f53b783853ef6f8 | [
"MIT"
] | null | null | null | AFoundationUnitTesting/Json/JsonArrayUnitTesting.swift | ihormyroniuk/AFoundation | 2e50d3f70e89887b0b54fc342f53b783853ef6f8 | [
"MIT"
] | 1 | 2020-07-02T11:00:05.000Z | 2020-07-02T11:00:05.000Z | //
// JsonArrayUnitTesting.swift
// AFoundationUnitTesting
//
// Created by Ihor Myroniuk on 31.01.2021.
// Copyright © 2021 Ihor Myroniuk. All rights reserved.
//
import XCTest
@testable import AFoundation
class JsonArrayUnitTesting: XCTestCase {
// MARK: Strings
func testInitStrings() {
le... | 43.174296 | 166 | 0.647229 |
8bfe8ed7d1ed91192295cccdb7e3ba352152f9ff | 1,165 | rb | Ruby | spec/lib/rom/files/extensions/gem/types_spec.rb | alsemyonov/rom-files | 878e04bdc29345ed4a22628b7b8987661ad293be | [
"MIT"
] | null | null | null | spec/lib/rom/files/extensions/gem/types_spec.rb | alsemyonov/rom-files | 878e04bdc29345ed4a22628b7b8987661ad293be | [
"MIT"
] | null | null | null | spec/lib/rom/files/extensions/gem/types_spec.rb | alsemyonov/rom-files | 878e04bdc29345ed4a22628b7b8987661ad293be | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require 'rom/files/extensions/gem/types'
RSpec.describe ROM::Files::Types::Gem::Name do
its(['dry-types']) { is_expected.to eq 'dry-types' }
end
RSpec.describe ROM::Files::Types::Gem::Version do
its(['0.0.0']) { is_expected.to eq Gem::Version.create('0.0.0') }
end
RSpec.describe RO... | 40.172414 | 147 | 0.64206 |
90d46982734391a3593c1b8446fbee73cc8e541e | 379 | rb | Ruby | lib/site_hook/const.rb | gitter-badger/site_hook | 74471653feaa3ba1c0023af0bd2b19c7038e4d90 | [
"MIT"
] | null | null | null | lib/site_hook/const.rb | gitter-badger/site_hook | 74471653feaa3ba1c0023af0bd2b19c7038e4d90 | [
"MIT"
] | null | null | null | lib/site_hook/const.rb | gitter-badger/site_hook | 74471653feaa3ba1c0023af0bd2b19c7038e4d90 | [
"MIT"
] | null | null | null | require 'site_hook/log'
require 'site_hook/logger'
require 'site_hook/config'
module SiteHook
class Consts
HOOKLOG = SiteHook::HookLogger::HookLog.new(SiteHook::Configs::LogLevels.hook).log
BUILDLOG = SiteHook::HookLogger::BuildLog.new(SiteHook::Configs::LogLevels.build).log
APPLOG = SiteHook::HookLogger:... | 37.9 | 89 | 0.770449 |
b78af9813dd1106eb6fe8875683c34e949e8c03f | 2,138 | cs | C# | Assets/kumaS/Tracker/PoseNet/Runtime/BodyPoints.cs | kumaS-nu/Tracking-in-Unity | 53c4d624c9f8712a8a48b4776fc4cf6dce481a74 | [
"Apache-2.0"
] | 2 | 2022-01-28T01:33:03.000Z | 2022-03-19T19:11:52.000Z | Assets/kumaS/Tracker/PoseNet/Runtime/BodyPoints.cs | kumaS-nu/Tracking-in-Unity | 53c4d624c9f8712a8a48b4776fc4cf6dce481a74 | [
"Apache-2.0"
] | null | null | null | Assets/kumaS/Tracker/PoseNet/Runtime/BodyPoints.cs | kumaS-nu/Tracking-in-Unity | 53c4d624c9f8712a8a48b4776fc4cf6dce481a74 | [
"Apache-2.0"
] | 1 | 2021-10-03T02:14:19.000Z | 2021-10-03T02:14:19.000Z | using System.Collections.Generic;
using UnityEngine;
namespace kumaS.Tracker.PoseNet
{
/// <summary>
/// 体の部位のデータ。
/// </summary>
public class BodyPoints
{
/// <summary>
/// 位置。
/// </summary>
public Vector3[] Position { get; }
/// <summary... | 33.40625 | 131 | 0.54116 |
43923247f0f084b3f6b45bbf67f6172318b9b231 | 386 | ts | TypeScript | src/store/mutations.ts | fsdavi/pokedex | 1396a24d21678e3d4e32b73934a8c8f22b4a2fea | [
"MIT"
] | null | null | null | src/store/mutations.ts | fsdavi/pokedex | 1396a24d21678e3d4e32b73934a8c8f22b4a2fea | [
"MIT"
] | null | null | null | src/store/mutations.ts | fsdavi/pokedex | 1396a24d21678e3d4e32b73934a8c8f22b4a2fea | [
"MIT"
] | null | null | null | import { StoreState } from './types';
const mutations = {
changeTrainer: (state: StoreState, trainer: string): void => {
state.trainer = trainer;
},
changeUserName: (state: StoreState, userName: string): void => {
state.name = userName;
},
changeStarter: (state: StoreState, starter: string): void => ... | 24.125 | 66 | 0.65544 |
5d727c8cdb37a874656950d4b70c16a0a1c72ced | 3,519 | cpp | C++ | SystemMediaTransportControlsTest/test.cpp | apkipa/MyWorksCollection | ffc8c7712e9de3c078d9cc0dd679074e308f0824 | [
"WTFPL"
] | null | null | null | SystemMediaTransportControlsTest/test.cpp | apkipa/MyWorksCollection | ffc8c7712e9de3c078d9cc0dd679074e308f0824 | [
"WTFPL"
] | null | null | null | SystemMediaTransportControlsTest/test.cpp | apkipa/MyWorksCollection | ffc8c7712e9de3c078d9cc0dd679074e308f0824 | [
"WTFPL"
] | null | null | null | #include "public.h"
//#include <winrt/Base.h>
#include <Windows.Foundation.h>
#include <wrl\wrappers\corewrappers.h>
#include <wrl\client.h>
#include <wrl/event.h>
#include <comdef.h>
extern "C" {
HRESULT impl_ButtonPressed(
ABI::Windows::Media::ISystemMediaTransportControls *sender,
ABI::Windows::Media::ISystemM... | 35.908163 | 149 | 0.808752 |
2cc60182ba826e0e086a226f7a11d1db54eefcee | 5,594 | py | Python | tools/chrome_remote_control/chrome_remote_control/multi_page_benchmark.py | jianglong0156/chromium.src | d496dfeebb0f282468827654c2b3769b3378c087 | [
"BSD-3-Clause"
] | 5 | 2018-03-10T13:08:42.000Z | 2021-07-26T15:02:11.000Z | tools/chrome_remote_control/chrome_remote_control/multi_page_benchmark.py | sanyaade-mobiledev/chromium.src | d496dfeebb0f282468827654c2b3769b3378c087 | [
"BSD-3-Clause"
] | 1 | 2015-07-21T08:02:01.000Z | 2015-07-21T08:02:01.000Z | tools/chrome_remote_control/chrome_remote_control/multi_page_benchmark.py | jianglong0156/chromium.src | d496dfeebb0f282468827654c2b3769b3378c087 | [
"BSD-3-Clause"
] | 6 | 2016-11-14T10:13:35.000Z | 2021-01-23T15:29:53.000Z | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from collections import defaultdict
import os
import sys
from chrome_remote_control import page_test
# Get build/android/pylib scripts into our path.
# ... | 32.905882 | 79 | 0.69503 |
c9d3b8fac0fab9d6b93e4b9ae2d23580d46d037f | 1,557 | ts | TypeScript | lib/hashing/WASMInterface.d.ts | hex3928/scord-bot-deno | cffffdb776f917d12536d54dd8fab4cfe3444f63 | [
"MIT"
] | null | null | null | lib/hashing/WASMInterface.d.ts | hex3928/scord-bot-deno | cffffdb776f917d12536d54dd8fab4cfe3444f63 | [
"MIT"
] | null | null | null | lib/hashing/WASMInterface.d.ts | hex3928/scord-bot-deno | cffffdb776f917d12536d54dd8fab4cfe3444f63 | [
"MIT"
] | null | null | null | import { IDataType } from "./util.d.ts";
export declare const MAX_HEAP: number;
declare type ThenArg<T> = T extends Promise<infer U> ? U : T extends ((...args: any[]) => Promise<infer V>) ? V : T;
export declare type IHasher = {
/**
* Initializes hash state to default value
*/
init: () => IHasher;
... | 34.6 | 116 | 0.617855 |
f744394c10cb4a4163acfc41a870bcaa6d135d14 | 141 | rb | Ruby | app/models/spree/fairground.rb | CodeBag414/spree_fairground | 55ecf945842ddf9a417a07c446075a3b45358f86 | [
"BSD-3-Clause"
] | null | null | null | app/models/spree/fairground.rb | CodeBag414/spree_fairground | 55ecf945842ddf9a417a07c446075a3b45358f86 | [
"BSD-3-Clause"
] | null | null | null | app/models/spree/fairground.rb | CodeBag414/spree_fairground | 55ecf945842ddf9a417a07c446075a3b45358f86 | [
"BSD-3-Clause"
] | null | null | null | module Spree::Fairground
def self.table_name_prefix
'spree_fairground_'
end
def self.use_relative_model_naming?
true
end
end
| 15.666667 | 37 | 0.758865 |
cdb3bd1060a62207a0218b8bd85a4b8520236ed4 | 542 | cs | C# | src/Celloc.DataTable/ArgumentGuards.cs | alexander-forbes/celloc.datatable | 4e149121e402e62944af4e3e2387eafa683084b5 | [
"MIT"
] | null | null | null | src/Celloc.DataTable/ArgumentGuards.cs | alexander-forbes/celloc.datatable | 4e149121e402e62944af4e3e2387eafa683084b5 | [
"MIT"
] | null | null | null | src/Celloc.DataTable/ArgumentGuards.cs | alexander-forbes/celloc.datatable | 4e149121e402e62944af4e3e2387eafa683084b5 | [
"MIT"
] | null | null | null | using System;
namespace Celloc.DataTable
{
internal class ArgumentGuards
{
public static void GuardAgainstNullTable(System.Data.DataTable table)
{
if (table == null)
throw new ArgumentNullException(nameof(table));
}
public static void GuardAgainstNullCell(string cell)
{
if (string.IsNullOrEmpty... | 20.846154 | 71 | 0.734317 |
bb61286f55b54aa9ee4ee26859b184d6b10335a1 | 320 | cs | C# | ThingAppraiser/Libraries/ThingAppraiser.CommonCSharp/ITypeId.cs | fossabot/ThingAppraiser | 7836553ccb4ed1d2431115c7e5194d24259a748d | [
"Apache-2.0"
] | null | null | null | ThingAppraiser/Libraries/ThingAppraiser.CommonCSharp/ITypeId.cs | fossabot/ThingAppraiser | 7836553ccb4ed1d2431115c7e5194d24259a748d | [
"Apache-2.0"
] | null | null | null | ThingAppraiser/Libraries/ThingAppraiser.CommonCSharp/ITypeId.cs | fossabot/ThingAppraiser | 7836553ccb4ed1d2431115c7e5194d24259a748d | [
"Apache-2.0"
] | null | null | null | using System;
namespace ThingAppraiser
{
/// <summary>
/// Adds type id to track which types can be processed by instance.
/// </summary>
public interface ITypeId
{
/// <summary>
/// Type of the data structure to process.
/// </summary>
Type TypeId { get; }
}
}
| 20 | 71 | 0.559375 |
afe3161cc07fbf1bdf8759c784f225165f78840b | 2,390 | py | Python | modules/ckanext-sixodp_showcase/ckanext/sixodp_showcase/logic/action/get.py | eetumans/opendata | 061f58550bcb820016a764cca4763ed0a5f627fe | [
"MIT"
] | null | null | null | modules/ckanext-sixodp_showcase/ckanext/sixodp_showcase/logic/action/get.py | eetumans/opendata | 061f58550bcb820016a764cca4763ed0a5f627fe | [
"MIT"
] | null | null | null | modules/ckanext-sixodp_showcase/ckanext/sixodp_showcase/logic/action/get.py | eetumans/opendata | 061f58550bcb820016a764cca4763ed0a5f627fe | [
"MIT"
] | null | null | null | import sqlalchemy
import ckan.plugins.toolkit as toolkit
import ckan.lib.dictization.model_dictize as model_dictize
from ckan.lib.navl.dictization_functions import validate
from ckanext.showcase.logic.schema import package_showcase_list_schema
from ckanext.showcase.model import ShowcasePackageAssociation
from ckan.l... | 31.447368 | 108 | 0.682427 |
3947e2b7a94283d730e72d9491bb1e8e129461bc | 2,877 | py | Python | bokeh/_legacy_charts/builder/tests/test_scatter_builder.py | evidation-health/bokeh | 2c580d93419033b962d36e3c46d7606cc2f24606 | [
"BSD-3-Clause"
] | 1 | 2017-08-02T23:12:03.000Z | 2017-08-02T23:12:03.000Z | bokeh/_legacy_charts/builder/tests/test_scatter_builder.py | evidation-health/bokeh | 2c580d93419033b962d36e3c46d7606cc2f24606 | [
"BSD-3-Clause"
] | null | null | null | bokeh/_legacy_charts/builder/tests/test_scatter_builder.py | evidation-health/bokeh | 2c580d93419033b962d36e3c46d7606cc2f24606 | [
"BSD-3-Clause"
] | null | null | null | """ This is the Bokeh charts testing interface.
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2012 - 2014, Continuum Analytics, Inc. All rights reserved.
#
# Powered by the Bokeh Development Team.
#
# The full license is in the file LICENSE.txt, distributed with thi... | 41.1 | 84 | 0.520681 |
b71749f322fbcbaf1e07d500ff3753e34bc6f21f | 3,302 | cs | C# | src/Cake.ResourceHacker/ResourceHackerTool.cs | gep13/Cake.ResourceHacker | 9a4650fbf95b7716975d0b1c4969aa459885c2cb | [
"MIT"
] | null | null | null | src/Cake.ResourceHacker/ResourceHackerTool.cs | gep13/Cake.ResourceHacker | 9a4650fbf95b7716975d0b1c4969aa459885c2cb | [
"MIT"
] | 7 | 2019-04-18T09:14:13.000Z | 2021-03-14T14:47:33.000Z | src/Cake.ResourceHacker/ResourceHackerTool.cs | gep13/Cake.ResourceHacker | 9a4650fbf95b7716975d0b1c4969aa459885c2cb | [
"MIT"
] | 3 | 2019-06-22T15:09:11.000Z | 2021-02-23T00:45:07.000Z | using Cake.Core;
using Cake.Core.IO;
using Cake.Core.Tooling;
using System;
using System.Collections.Generic;
namespace Cake.ResourceHacker
{
/// <summary>
/// Resource Hacker tool.
/// </summary>
/// <typeparam name="TSettings">The settings type.</typeparam>
public class ResourceHackerTool : Tool... | 35.891304 | 105 | 0.584191 |
050c36e61932ffd030598a09daef177b8d77805c | 1,074 | css | CSS | client/src/app/browser/info/info.css | igd-geo/colabis-dmp | 90b67e2f35ff885f21b791cd54f5b14097989fe6 | [
"Apache-2.0"
] | null | null | null | client/src/app/browser/info/info.css | igd-geo/colabis-dmp | 90b67e2f35ff885f21b791cd54f5b14097989fe6 | [
"Apache-2.0"
] | null | null | null | client/src/app/browser/info/info.css | igd-geo/colabis-dmp | 90b67e2f35ff885f21b791cd54f5b14097989fe6 | [
"Apache-2.0"
] | null | null | null | :host > div{
padding-bottom:15px
}
.panel-heading .panel-title:after {
font-family: 'Glyphicons Halflings';
content: "\e114";
float: right;
color: grey;
}
.panel-heading {
cursor: pointer;
}
.panel-heading .collapsed:after {
content: "\e080";
}
button {
/*background:none!important;*/
/*border:none;... | 13.425 | 38 | 0.646182 |
c93ea12a70b8f227e35beca051dce02ac1d96c7c | 1,277 | tsx | TypeScript | src/ui/modal/selectedExampleDescriptionModal.tsx | cancerberoSgx/js-ast-experiments-of-mine | d7ef2d9edbdb08398c07eb37eec82eb168bdd28c | [
"MIT"
] | null | null | null | src/ui/modal/selectedExampleDescriptionModal.tsx | cancerberoSgx/js-ast-experiments-of-mine | d7ef2d9edbdb08398c07eb37eec82eb168bdd28c | [
"MIT"
] | null | null | null | src/ui/modal/selectedExampleDescriptionModal.tsx | cancerberoSgx/js-ast-experiments-of-mine | d7ef2d9edbdb08398c07eb37eec82eb168bdd28c | [
"MIT"
] | null | null | null | import React from 'react';
import { getState } from '../../workspace';
export default () =>
<div className={"modal fade"} id="selectedExampleDescriptionModal" role="dialog" aria-labelledby="selectedExampleDescriptionModalLabel" aria-hidden="true">
<div className={"modal-dialog modal-lg"} role="document">
... | 36.485714 | 157 | 0.598277 |
df3c551935f47398854f52e6a7332fccc22eb1a7 | 420 | cs | C# | Src/Shared/Tauron.Application.Workshop/Mutation/IEventSourceable.cs | Tauron1990/Project-Manager-Akka | 571c07ae90bac8405ae051ff90d8b0c7e4b77562 | [
"MIT"
] | 1 | 2021-02-22T13:39:28.000Z | 2021-02-22T13:39:28.000Z | Src/Shared/Tauron.Application.Workshop/Mutation/IEventSourceable.cs | Tauron1990/Project-Manager-Akka | 571c07ae90bac8405ae051ff90d8b0c7e4b77562 | [
"MIT"
] | null | null | null | Src/Shared/Tauron.Application.Workshop/Mutation/IEventSourceable.cs | Tauron1990/Project-Manager-Akka | 571c07ae90bac8405ae051ff90d8b0c7e4b77562 | [
"MIT"
] | 1 | 2020-12-08T23:26:30.000Z | 2020-12-08T23:26:30.000Z | using System;
using JetBrains.Annotations;
namespace Tauron.Application.Workshop.Mutation
{
[PublicAPI]
public interface IEventSourceable<out TData>
{
IEventSource<TRespond>
EventSource<TRespond>(Func<TData, TRespond> transformer, Func<TData, bool>? where = null);
IEventSource... | 30 | 112 | 0.719048 |
3886b345129c2d4962d41a7b277d3cde6d9dee9f | 3,794 | php | PHP | app/Http/Controllers/superAdminController.php | Cloumus30/laravel-lib-app | 0781c2afa906ad604116be06d1c36ffd1766041a | [
"MIT"
] | null | null | null | app/Http/Controllers/superAdminController.php | Cloumus30/laravel-lib-app | 0781c2afa906ad604116be06d1c36ffd1766041a | [
"MIT"
] | null | null | null | app/Http/Controllers/superAdminController.php | Cloumus30/laravel-lib-app | 0781c2afa906ad604116be06d1c36ffd1766041a | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Models\User;
use CloudinaryLabs\CloudinaryLaravel\Facades\Cloudinary;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
class superAdminController extends Controller
{
//
public function semuaUser(){
$data = User::with('role')->get();
... | 29.184615 | 86 | 0.468898 |
ae18c64eff5659e33b665df50352c04c3942fbf5 | 6,740 | cs | C# | src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Layout/Tree/TreeLayout.cs | dongdapeng110/SharpDevelopTest | 0339adff83ca9589e700593e6d5d1e7658e7e951 | [
"MIT"
] | 11 | 2015-05-14T08:36:05.000Z | 2021-10-06T06:43:47.000Z | src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Layout/Tree/TreeLayout.cs | denza/SharpDevelop | 406354bee0e349186868288447f23301a679c95c | [
"MIT"
] | null | null | null | src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Layout/Tree/TreeLayout.cs | denza/SharpDevelop | 406354bee0e349186868288447f23301a679c95c | [
"MIT"
] | 10 | 2015-04-08T09:02:32.000Z | 2020-03-01T16:03:28.000Z | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the BSD license (for details please see \src\AddIns\Debugger\Debugger.AddIn\license.txt)
using System;
using System.Collections.Generic;
using System.Windows;
using Debugger.AddIn.V... | 32.560386 | 126 | 0.718546 |
25c27ef14bb8f9794f531870992bdbefbf6110de | 766 | cs | C# | Database/LoggerProvider.cs | CanadianBeaver/BusinessModelUWP | 1a65689c5bb9e4a4d63e881c66d824f0e70138cd | [
"MIT"
] | null | null | null | Database/LoggerProvider.cs | CanadianBeaver/BusinessModelUWP | 1a65689c5bb9e4a4d63e881c66d824f0e70138cd | [
"MIT"
] | null | null | null | Database/LoggerProvider.cs | CanadianBeaver/BusinessModelUWP | 1a65689c5bb9e4a4d63e881c66d824f0e70138cd | [
"MIT"
] | null | null | null | #if DEBUG
namespace Database
{
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics;
internal class LoggerProvider : ILoggerProvider
{
public ILogger CreateLogger(string categoryName)
{
return new ConsoleLogger();
}
public void Dispose() { }
private class ConsoleLogger : ILo... | 20.157895 | 140 | 0.707572 |
1a977b79aaa21bea0dd73f73081cd91321d349fe | 5,050 | py | Python | bloomstack_core/hook_events/item.py | harshmule-git/bloomstack_core | a22fc1e6dc006e909c79914acc82f3827f1769ee | [
"MIT"
] | 4 | 2021-03-01T08:44:39.000Z | 2021-12-21T18:02:14.000Z | bloomstack_core/hook_events/item.py | harshmule-git/bloomstack_core | a22fc1e6dc006e909c79914acc82f3827f1769ee | [
"MIT"
] | 23 | 2020-10-12T10:46:35.000Z | 2021-11-02T08:23:01.000Z | bloomstack_core/hook_events/item.py | harshmule-git/bloomstack_core | a22fc1e6dc006e909c79914acc82f3827f1769ee | [
"MIT"
] | 33 | 2020-10-09T13:24:10.000Z | 2022-02-01T20:59:03.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2021, Bloomstack Inc. and contributors
# For license information, please see license.txt
import frappe
import json
from bloomstack_core.utils import get_abbr
from erpnext import get_default_company
from erpnext.accounts.utils import get_company_default
from frappe.utils import c... | 33.443709 | 104 | 0.770495 |
31f03c9b34867f8e7f8503e240174539b9f79f11 | 311 | kt | Kotlin | src/main/kotlin/com/github/aivancioglo/resttest/verifiers/Verifier.kt | aivancioglo/RestTest | 86cc428f5a4e81ea2276d192c189213e4b0fa552 | [
"Apache-2.0"
] | 6 | 2018-04-06T11:05:20.000Z | 2021-03-22T20:03:41.000Z | src/main/kotlin/com/github/aivancioglo/resttest/verifiers/Verifier.kt | aivancioglo/RestTest | 86cc428f5a4e81ea2276d192c189213e4b0fa552 | [
"Apache-2.0"
] | 1 | 2018-06-25T09:10:52.000Z | 2018-06-25T09:10:52.000Z | src/main/kotlin/com/github/aivancioglo/resttest/verifiers/Verifier.kt | aivancioglo/RestTest | 86cc428f5a4e81ea2276d192c189213e4b0fa552 | [
"Apache-2.0"
] | null | null | null | package com.github.aivancioglo.resttest.verifiers
import com.github.aivancioglo.resttest.http.Response
/**
* Verifiers interface.
*/
interface Verifier {
/**
* Function for response verification.
*
* @param response Response of your request.
*/
fun verify(response: Response)
} | 19.4375 | 52 | 0.691318 |
61fd970fcfead37a6726b9ecd6a4f5d5887635c2 | 485 | sql | SQL | kata-files/lesson2/hsql/expected/MYLARGESCHEMA/sp/SP172.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 22 | 2017-09-28T21:35:04.000Z | 2022-02-12T06:24:28.000Z | kata-files/lesson2/hsql/expected/MYLARGESCHEMA/sp/SP172.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 6 | 2017-07-01T13:52:34.000Z | 2018-09-13T15:43:47.000Z | kata-files/lesson2/hsql/expected/MYLARGESCHEMA/sp/SP172.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 11 | 2017-04-30T18:39:09.000Z | 2021-08-22T16:21:11.000Z | CREATE PROCEDURE SP172(OUT MYCOUNT INTEGER) SPECIFIC SP172_78331 LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA NEW SAVEPOINT LEVEL BEGIN ATOMIC DECLARE MYVAR INT;SELECT COUNT(*)INTO MYCOUNT FROM TABLE323;SELECT COUNT(*)INTO MYCOUNT FROM TABLE243;SELECT COUNT(*)INTO MYCOUNT FROM TABLE38;SELECT COUNT(*)INTO MYCOUNT FROM ... | 242.5 | 482 | 0.816495 |
6d9ca4c1d92e6dcca33d48d2c44cd7ec1e6d945f | 252 | h | C | submodules/LegacyComponents/LegacyComponents/TGMediaPickerGalleryGifItemView.h | miladajilian/MimMessenger | 72aca46135eed311f5f2fd3b711446a61b526548 | [
"MIT"
] | 1 | 2018-08-30T08:02:12.000Z | 2018-08-30T08:02:12.000Z | submodules/LegacyComponents/LegacyComponents/TGMediaPickerGalleryGifItemView.h | miladajilian/MimMessenger | 72aca46135eed311f5f2fd3b711446a61b526548 | [
"MIT"
] | null | null | null | submodules/LegacyComponents/LegacyComponents/TGMediaPickerGalleryGifItemView.h | miladajilian/MimMessenger | 72aca46135eed311f5f2fd3b711446a61b526548 | [
"MIT"
] | 2 | 2018-08-30T08:04:17.000Z | 2020-10-15T06:52:06.000Z | #import <LegacyComponents/TGModernGalleryItemView.h>
#import "TGModernGalleryImageItemImageView.h"
@interface TGMediaPickerGalleryGifItemView : TGModernGalleryItemView
@property (nonatomic, strong) TGModernGalleryImageItemImageView *imageView;
@end
| 28 | 75 | 0.861111 |
ff987dbaf3747e37071a3b1067faf73ea5262fbd | 10,444 | py | Python | py/kubeflow/kfctl/testing/ci/update_jupyter_web_app.py | Bobgy/kfctl | c174b38f6b5d5d9791ae5a4a4cbb6a9fa9890ffd | [
"Apache-2.0"
] | 145 | 2019-07-25T15:35:35.000Z | 2022-03-22T07:40:45.000Z | py/kubeflow/kfctl/testing/ci/update_jupyter_web_app.py | Bobgy/kfctl | c174b38f6b5d5d9791ae5a4a4cbb6a9fa9890ffd | [
"Apache-2.0"
] | 501 | 2019-07-25T15:39:07.000Z | 2022-03-30T20:23:18.000Z | py/kubeflow/kfctl/testing/ci/update_jupyter_web_app.py | Bobgy/kfctl | c174b38f6b5d5d9791ae5a4a4cbb6a9fa9890ffd | [
"Apache-2.0"
] | 160 | 2019-07-25T15:53:56.000Z | 2022-02-12T18:55:27.000Z | """Script to build and update the Jupyter WebApp image.
Requires python3
hub CLI depends on an OAuth token with repo permissions:
https://hub.github.com/hub.1.html
* It will look for environment variable GITHUB_TOKEN
"""
import logging
import os
import tempfile
import yaml
import fire
import git
import httplib2
... | 35.645051 | 117 | 0.659996 |
e472b0a1d42a546d705f31ca05a8974f1287f514 | 8,653 | cpp | C++ | benchmarks/sorting/stest.cpp | lammich/isabelle_llvm | 8b739d4db67c291866db9a6847605cd74bdff79e | [
"BSD-3-Clause"
] | 21 | 2019-09-10T15:07:28.000Z | 2022-03-30T06:16:15.000Z | benchmarks/sorting/stest.cpp | lammich/isabelle_llvm | 8b739d4db67c291866db9a6847605cd74bdff79e | [
"BSD-3-Clause"
] | null | null | null | benchmarks/sorting/stest.cpp | lammich/isabelle_llvm | 8b739d4db67c291866db9a6847605cd74bdff79e | [
"BSD-3-Clause"
] | 1 | 2019-09-12T04:36:02.000Z | 2019-09-12T04:36:02.000Z | #include <algorithm>
#include <iostream>
#include <vector>
#include <boost/sort/common/time_measure.hpp>
uint64_t llcnt_partitionings=0;
uint64_t llcnt_partitions=0;
extern "C" {
#include "introsort.h"
}
size_t NELEM = 32;
namespace bsc = boost::sort::common;
using bsc::time_point;
using bsc::now;
using bsc:... | 22.952255 | 107 | 0.654802 |
029b4ad5e413faf728cfca0f64f0bf38fa38e055 | 1,003 | cpp | C++ | Codeforces/CF1618F.cpp | Nickel-Angel/Coding-Practice | 6fb70e9c9542323f82a9a8714727cc668ff58567 | [
"MIT"
] | null | null | null | Codeforces/CF1618F.cpp | Nickel-Angel/Coding-Practice | 6fb70e9c9542323f82a9a8714727cc668ff58567 | [
"MIT"
] | 1 | 2021-11-18T15:10:29.000Z | 2021-11-20T07:13:31.000Z | Codeforces/CF1618F.cpp | Nickel-Angel/ACM-and-OI | 79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9 | [
"MIT"
] | null | null | null | /*
* @author Nickel_Angel (1239004072@qq.com)
* @copyright Copyright (c) 2021
*/
#include <algorithm>
#include <iostream>
#include <cstdio>
#include <cstring>
#include <set>
#include <string>
using std::set;
using std::string;
long long x, y;
string tar, ori;
set<string> cur;
void dfs(string s)
{
if (cur.count(... | 16.177419 | 42 | 0.461615 |
dc6b3e41417bbb500739832bf5308e0da6f1f9e2 | 94 | rb | Ruby | spec/controllers/mercedes_controller_spec.rb | BounHackers/servisim-backend | 903fce173924b4e04e6bb1429c564c5e57213145 | [
"MIT"
] | null | null | null | spec/controllers/mercedes_controller_spec.rb | BounHackers/servisim-backend | 903fce173924b4e04e6bb1429c564c5e57213145 | [
"MIT"
] | 16 | 2018-12-01T19:07:10.000Z | 2022-03-30T22:56:50.000Z | spec/controllers/mercedes_controller_spec.rb | BounHackers/servisim-backend | 903fce173924b4e04e6bb1429c564c5e57213145 | [
"MIT"
] | null | null | null | require 'rails_helper'
RSpec.describe Api::V1::MercedesController, type: :controller do
end
| 15.666667 | 64 | 0.787234 |
b028d206a1d82cc97d050fb73dff3defba0564d9 | 32,457 | py | Python | precomp.py | leeleing/precomp | cd367bcf9fa7fe10bd266dccec0a90598777abf0 | [
"MIT"
] | 3 | 2015-03-30T09:20:34.000Z | 2015-03-30T09:20:46.000Z | precomp.py | leeleing/precomp | cd367bcf9fa7fe10bd266dccec0a90598777abf0 | [
"MIT"
] | null | null | null | precomp.py | leeleing/precomp | cd367bcf9fa7fe10bd266dccec0a90598777abf0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Mar 30 10:17:05 2015
@author: lilei
"""
import sys
import re
import math
import datetime
# Program name
ProgName = "precomp"
# Version string
Version = "0.1"
# This controls whether info/debug messages are printed
# (0=none, 1=info, 2=info+debug)
DebugLevel = 1
def PRSetDe... | 40.219331 | 132 | 0.454109 |
a193129460414127ad1e9644803ddcbb93a2408e | 617 | ts | TypeScript | my-project-angular/src/app/views/movie/movie.module.ts | williamgithub123/netcoreangular | cb2144ee1c3d55d73284afc5d863b45e2fb1e774 | [
"MIT"
] | null | null | null | my-project-angular/src/app/views/movie/movie.module.ts | williamgithub123/netcoreangular | cb2144ee1c3d55d73284afc5d863b45e2fb1e774 | [
"MIT"
] | null | null | null | my-project-angular/src/app/views/movie/movie.module.ts | williamgithub123/netcoreangular | cb2144ee1c3d55d73284afc5d863b45e2fb1e774 | [
"MIT"
] | null | null | null | // Angular
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { List_movieComponent } from './list_movie.component';
// Theme Routing
import { MovieRoutingModule } from './movie-routing.module';
import {Ng2SmartTableModule} from "ng2-smart-table";
import {FormsMovieCompon... | 23.730769 | 61 | 0.724473 |
5adc4b388c7bc500885871df18da0a1b04d249c4 | 15,048 | cs | C# | archive/src-1.2.0.5/Common/Validation.cs | chempro/hi-b2b-client-dotnet | 5d3c76dad67f88c5e7b2d84339c89b8bd976a64f | [
"Apache-2.0"
] | 7 | 2018-06-26T06:49:19.000Z | 2021-01-11T07:15:28.000Z | archive/src-1.2.0.5/Common/Validation.cs | chempro/hi-b2b-client-dotnet | 5d3c76dad67f88c5e7b2d84339c89b8bd976a64f | [
"Apache-2.0"
] | 4 | 2019-05-06T01:56:24.000Z | 2021-11-25T02:36:16.000Z | archive/src-1.2.0.5/Common/Validation.cs | chempro/hi-b2b-client-dotnet | 5d3c76dad67f88c5e7b2d84339c89b8bd976a64f | [
"Apache-2.0"
] | 8 | 2018-06-12T02:12:29.000Z | 2022-01-30T09:58:13.000Z | /*
* Copyright 2012 NEHTA
*
* Licensed under the NEHTA Open Source (Apache) License; you may not use this
* file except in compliance with the License. A copy of the License is in the
* 'license.txt' file, which should be provided with this work.
*
* Unless required by applicable law or agreed to in writing, so... | 44.258824 | 134 | 0.594763 |
0a4160469d0f76fc8581224564ede116124ece53 | 29,163 | cs | C# | Scripts/RestClient.cs | insthync/unity-rest-client | 4cfdf42e61d8af1fe5fae798c8002fe5a1c2ab28 | [
"MIT"
] | null | null | null | Scripts/RestClient.cs | insthync/unity-rest-client | 4cfdf42e61d8af1fe5fae798c8002fe5a1c2ab28 | [
"MIT"
] | 2 | 2022-01-16T13:30:28.000Z | 2022-03-31T11:21:19.000Z | Scripts/RestClient.cs | insthync/unity-rest-client | 4cfdf42e61d8af1fe5fae798c8002fe5a1c2ab28 | [
"MIT"
] | null | null | null | using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.Networking;
namespace UnityRestClient
{
public class RestClient : MonoBehaviour
{
public static bool DoNotCountNextRequ... | 42.021614 | 144 | 0.557041 |
d6893d8ee94f5b406e65604d69e34a89f68ff819 | 2,879 | cs | C# | GUI Wrappers/SBS.cs | HaloMods/Halo1ToolPlusPlus | 58071645536157ea3d022e759510fc23bc6d835d | [
"MIT"
] | 5 | 2017-08-27T18:07:03.000Z | 2020-07-02T17:04:15.000Z | GUI Wrappers/SBS.cs | HaloMods/Halo1ToolPlusPlus | 58071645536157ea3d022e759510fc23bc6d835d | [
"MIT"
] | null | null | null | GUI Wrappers/SBS.cs | HaloMods/Halo1ToolPlusPlus | 58071645536157ea3d022e759510fc23bc6d835d | [
"MIT"
] | 3 | 2018-05-25T09:43:38.000Z | 2020-11-03T13:35:45.000Z | using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
namespace Tool__
{
public class SBS : Wrapper
{
private System.Windows.Forms.Button Run;
private System.Windows.Forms.TextBox Struct... | 29.680412 | 105 | 0.699201 |
dde29c5dd67610dd32b3fd2efe6303a75d33e82a | 579 | java | Java | web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/MessageHeader.java | lbooker42/deephaven-core | 2d04563f18ae914754b28041475c02770e57af15 | [
"MIT"
] | null | null | null | web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/MessageHeader.java | lbooker42/deephaven-core | 2d04563f18ae914754b28041475c02770e57af15 | [
"MIT"
] | null | null | null | web/client-backplane/src/main/java/io/deephaven/javascript/proto/dhinternal/arrow/flight/flatbuf/message_generated/org/apache/arrow/flatbuf/MessageHeader.java | lbooker42/deephaven-core | 2d04563f18ae914754b28041475c02770e57af15 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
*/
package io.deephaven.javascript.proto.dhinternal.arrow.flight.flatbuf.message_generated.org.apache.arrow.flatbuf;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
@JsType(
isNative = true,
name = "dhi... | 30.473684 | 113 | 0.720207 |
0d7f654f093978636291f256289fdacc3b7af818 | 1,417 | rb | Ruby | lib/rubyoverflow/badges.rb | eadz/rubyoverflow | 1be367976168317ec630f9c95d874174aebe3a66 | [
"MIT"
] | 1 | 2017-05-05T06:03:51.000Z | 2017-05-05T06:03:51.000Z | lib/rubyoverflow/badges.rb | eadz/rubyoverflow | 1be367976168317ec630f9c95d874174aebe3a66 | [
"MIT"
] | null | null | null | lib/rubyoverflow/badges.rb | eadz/rubyoverflow | 1be367976168317ec630f9c95d874174aebe3a66 | [
"MIT"
] | null | null | null | module Rubyoverflow
class Badges < PagedBase
attr_reader :badges
def initialize(hash, request_path = '')
dash = BadgesDash.new hash
@badges = Array.new
dash.badges.each{ |badgeHash| @badges.push(Badge.new badgeHash)}
super(dash, request_path)
end
class <<se... | 24.016949 | 83 | 0.594213 |
569162600b769ab957e476f2dbff67dd77315b92 | 126 | sql | SQL | evo-X-Scriptdev2/sql/Updates/0.0.3/r825_scriptdev2_script_texts.sql | Gigelf-evo-X/evo-X | d0e68294d8cacfc7fb3aed5572f51d09a47136b9 | [
"OpenSSL"
] | 1 | 2019-01-19T06:35:40.000Z | 2019-01-19T06:35:40.000Z | src/bindings/Scriptdev2/sql/Updates/0.0.3/r825_scriptdev2_script_texts.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | src/bindings/Scriptdev2/sql/Updates/0.0.3/r825_scriptdev2_script_texts.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | UPDATE `script_texts` SET `sound`=8902 WHERE `entry`=-1533055;
UPDATE `script_texts` SET `sound`=8901 WHERE `entry`=-1533056;
| 42 | 62 | 0.746032 |
0d569958aeef4e07f14ed0553f2a41fff4eb8b54 | 3,297 | h | C | src/DynamicRank.FreeForm.Library/libs/Expression/Extern.h | ltxtech/lightgbm-transform | ca3bdaae4e594c1bf74503c5ec151f2b794f855c | [
"MIT"
] | 17 | 2021-11-02T13:52:10.000Z | 2022-02-10T07:43:38.000Z | src/DynamicRank.FreeForm.Library/libs/Expression/Extern.h | ltxtech/lightgbm-transform | ca3bdaae4e594c1bf74503c5ec151f2b794f855c | [
"MIT"
] | 2 | 2022-01-23T16:15:40.000Z | 2022-03-07T15:54:34.000Z | src/DynamicRank.FreeForm.Library/libs/Expression/Extern.h | ltxtech/lightgbm-transform | ca3bdaae4e594c1bf74503c5ec151f2b794f855c | [
"MIT"
] | 1 | 2022-01-21T09:42:59.000Z | 2022-01-21T09:42:59.000Z | /*!
* Copyright (c) 2021 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
#pragma once
#ifndef FREEFORM2_EXTERN_H
#define FREEFORM2_EXTERN_H
#include "Expression.h"
#include <string>
namespace FreeForm2
{
class TypeM... | 38.788235 | 96 | 0.668487 |
fefa373f789f461b8e3170623df88b97a109cdeb | 7,271 | kt | Kotlin | src/main/kotlin/io/snyk/plugin/ui/toolwindow/SnykErrorPanel.kt | snyk/snyk-intellij-plugin | db2deeb62dff1ebb69734368d1dc1020c91a6173 | [
"Apache-2.0"
] | 36 | 2018-10-16T12:52:30.000Z | 2022-03-09T10:43:12.000Z | src/main/kotlin/io/snyk/plugin/ui/toolwindow/SnykErrorPanel.kt | snyk/snyk-intellij-plugin | db2deeb62dff1ebb69734368d1dc1020c91a6173 | [
"Apache-2.0"
] | 128 | 2018-10-05T08:30:22.000Z | 2022-03-31T11:47:47.000Z | src/main/kotlin/io/snyk/plugin/ui/toolwindow/SnykErrorPanel.kt | snyk/snyk-intellij-plugin | db2deeb62dff1ebb69734368d1dc1020c91a6173 | [
"Apache-2.0"
] | 29 | 2019-09-18T02:13:47.000Z | 2022-02-21T01:22:27.000Z | package io.snyk.plugin.ui.toolwindow
import com.intellij.ui.ScrollPaneFactory
import com.intellij.uiDesigner.core.GridConstraints
import com.intellij.uiDesigner.core.GridLayoutManager
import com.intellij.uiDesigner.core.Spacer
import com.intellij.util.ui.UIUtil
import io.snyk.plugin.Severity
import io.snyk.plugin.ui.b... | 31.07265 | 93 | 0.513134 |
124b10ee37e23db1511547b3e35913d0378ec1a9 | 2,736 | cs | C# | WebflowSharp/Services/Webhook/WebhookService.cs | Telzio/WebflowSharp | 24523664b9d1b54d3d28cf6e104da96b6eb4d1df | [
"MIT"
] | null | null | null | WebflowSharp/Services/Webhook/WebhookService.cs | Telzio/WebflowSharp | 24523664b9d1b54d3d28cf6e104da96b6eb4d1df | [
"MIT"
] | null | null | null | WebflowSharp/Services/Webhook/WebhookService.cs | Telzio/WebflowSharp | 24523664b9d1b54d3d28cf6e104da96b6eb4d1df | [
"MIT"
] | 4 | 2021-05-05T23:43:20.000Z | 2022-02-07T19:51:53.000Z | using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using WebflowSharp.Entities;
using WebflowSharp.Extensions;
using WebflowSharp.Infrastructure;
namespace WebflowSharp.Services.Webhook
{
public class WebhookService : WebflowService
{
public WebhookService(string sh... | 38.535211 | 108 | 0.612573 |
f3af3e329d545de3580153a3afcefe3c6f53689e | 297 | sh | Shell | copie.sh | champarnaud/dotfiles | 959b90b9c7e900a754a88b75e27c9b846c860e1b | [
"WTFPL"
] | null | null | null | copie.sh | champarnaud/dotfiles | 959b90b9c7e900a754a88b75e27c9b846c860e1b | [
"WTFPL"
] | 1 | 2020-12-26T17:56:23.000Z | 2020-12-26T17:56:23.000Z | copie.sh | champarnaud/dotfiles | 959b90b9c7e900a754a88b75e27c9b846c860e1b | [
"WTFPL"
] | 1 | 2020-12-25T12:52:09.000Z | 2020-12-25T12:52:09.000Z | #!/bin/bash
echo $# $0 $1 $2 $3
if [ $# = 0 ]
then
read -p "Quel est le répertoire d'origine ? (défaut .) : " orig
if [ -z $orig ]; then
orig='.'
fi
read -p "Quel est le répertoire de destination ? : " dest
if [ -z $dest ]; then
dest='~'
fi
fi
echo $orig $dest
#cp -uvr $org $dest`
| 14.142857 | 64 | 0.555556 |
5d1d823c10e30cee858f14367fe30222b494d526 | 1,256 | hpp | C++ | gapvector_impl/gapvector_reverse_iterator_implement.hpp | Catminusminus/gapvector | cdc235fbf26022a12234057877e6189a9312c0b7 | [
"Unlicense"
] | null | null | null | gapvector_impl/gapvector_reverse_iterator_implement.hpp | Catminusminus/gapvector | cdc235fbf26022a12234057877e6189a9312c0b7 | [
"Unlicense"
] | 2 | 2018-03-26T14:06:23.000Z | 2018-03-29T17:08:45.000Z | gapvector_impl/gapvector_reverse_iterator_implement.hpp | Catminusminus/gapvector | cdc235fbf26022a12234057877e6189a9312c0b7 | [
"Unlicense"
] | null | null | null | #ifndef GAPVECTOR_REVERSE_ITERATOR_IMPLEMENT_HPP
#define GAPVECTOR_REVERSE_ITERATOR_IMPLEMENT_HPP
template <typename T>
void gapvectorReverseIterator<T>::increment()
{
--index;
}
template <typename T>
void gapvectorReverseIterator<T>::decrement()
{
++index;
}
template <typename T>
T &gapvectorReverseIterator... | 22.836364 | 118 | 0.754777 |
9effac42a7e65a90ada492e529fbf21c215b0ce3 | 4,317 | dart | Dart | lib/main.dart | RegNex/Tasky-Mobile-App | 371de2a317a8c837e048498d5a3dd9b6171897a5 | [
"MIT"
] | 94 | 2021-03-21T19:45:40.000Z | 2022-01-03T09:38:19.000Z | lib/main.dart | iamEtornam/Tasky-Mobile-App | 371de2a317a8c837e048498d5a3dd9b6171897a5 | [
"MIT"
] | 6 | 2021-03-26T21:48:14.000Z | 2021-10-08T22:36:24.000Z | lib/main.dart | RegNex/Tasky-Mobile-App | 371de2a317a8c837e048498d5a3dd9b6171897a5 | [
"MIT"
] | 28 | 2021-03-22T15:33:28.000Z | 2021-12-21T10:02:03.000Z | import 'package:bot_toast/bot_toast.dart';
import 'package:firebase_analytics/firebase_analytics.dart';
import 'package:firebase_analytics/observer.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_crashlytics/firebase_crashlytics.dart'... | 38.20354 | 86 | 0.729905 |
ad24d1e53c71baa132cb38942be4234c3169f1e4 | 25 | lua | Lua | resources/words/dyl.lua | terrabythia/alfabeter | da422481ba223ebc6c4ded63fed8f75605193d44 | [
"MIT"
] | null | null | null | resources/words/dyl.lua | terrabythia/alfabeter | da422481ba223ebc6c4ded63fed8f75605193d44 | [
"MIT"
] | null | null | null | resources/words/dyl.lua | terrabythia/alfabeter | da422481ba223ebc6c4ded63fed8f75605193d44 | [
"MIT"
] | null | null | null | return {'dylan','dylans'} | 25 | 25 | 0.68 |
2c6743c8bdfe3f58c5983a0e4df5de09d54a10c2 | 1,987 | py | Python | lib/python2.7/site-packages/openopt/kernel/SDP.py | wangyum/anaconda | 6e5a0dbead3327661d73a61e85414cf92aa52be6 | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2017-01-23T16:23:43.000Z | 2022-01-20T16:14:06.000Z | lib/python2.7/site-packages/openopt/kernel/SDP.py | wangyum/anaconda | 6e5a0dbead3327661d73a61e85414cf92aa52be6 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2015-04-24T06:46:25.000Z | 2015-04-24T06:46:25.000Z | lib/python2.7/site-packages/openopt/kernel/SDP.py | wangyum/anaconda | 6e5a0dbead3327661d73a61e85414cf92aa52be6 | [
"Apache-2.0",
"BSD-3-Clause"
] | 8 | 2016-05-30T13:35:17.000Z | 2021-06-15T22:24:29.000Z | from baseProblem import MatrixProblem
from numpy import asfarray, ones, inf, dot, asfarray, nan, zeros, isfinite, all
class SDP(MatrixProblem):
_optionalData = ['A', 'Aeq', 'b', 'beq', 'lb', 'ub', 'S', 'd']
expectedArgs = ['f']
goal = 'minimum'
#TODO: impolement goal = max, maximum for SDP
#allowe... | 37.490566 | 138 | 0.54001 |
7ab5b8148fe59fdbca4b345a50616e966f687db2 | 2,607 | cs | C# | Archive/MemberEntryManager.cs | MostyXS/DiscordCSharpBot | 157cb5a1088901b7a47c35968b82c952f27ba8ad | [
"MIT"
] | null | null | null | Archive/MemberEntryManager.cs | MostyXS/DiscordCSharpBot | 157cb5a1088901b7a47c35968b82c952f27ba8ad | [
"MIT"
] | null | null | null | Archive/MemberEntryManager.cs | MostyXS/DiscordCSharpBot | 157cb5a1088901b7a47c35968b82c952f27ba8ad | [
"MIT"
] | null | null | null | using DSharpPlus.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Volodya
{
public class MemberEntryManager
{
const int MAX_SIZE = 5;
Queue<DiscordAuditLogEntry> lastMemberEntries = new Queue<DiscordAuditLogEntry>();
public Disco... | 32.5875 | 188 | 0.486766 |
7be37ed0fce1f7475e406517780c8660e6180e7a | 275 | rb | Ruby | spec/factories/forms/contact_address_manual_form.rb | uk-gov-mirror/defra.waste-exemptions-engine | c85e66953454f376f37db7efbd9e6ab7c0dbb803 | [
"PostgreSQL",
"Ruby",
"Unlicense"
] | null | null | null | spec/factories/forms/contact_address_manual_form.rb | uk-gov-mirror/defra.waste-exemptions-engine | c85e66953454f376f37db7efbd9e6ab7c0dbb803 | [
"PostgreSQL",
"Ruby",
"Unlicense"
] | 182 | 2019-01-15T15:39:33.000Z | 2022-03-30T09:18:47.000Z | spec/factories/forms/contact_address_manual_form.rb | uk-gov-mirror/defra.waste-exemptions-engine | c85e66953454f376f37db7efbd9e6ab7c0dbb803 | [
"PostgreSQL",
"Ruby",
"Unlicense"
] | 2 | 2019-07-04T13:10:56.000Z | 2021-04-10T21:31:46.000Z | # frozen_string_literal: true
FactoryBot.define do
factory :contact_address_manual_form, class: WasteExemptionsEngine::ContactAddressManualForm do
initialize_with do
new(create(:new_registration, workflow_state: "contact_address_manual_form"))
end
end
end
| 27.5 | 97 | 0.803636 |
fdeca56d54dfdd2cced927016ff9fd17d1037021 | 1,983 | css | CSS | css/mainclient.css | carolinadp/Handy-Neighbor | 66d37c643bb6e9e1bd46848880ebafd1c462d0b7 | [
"MIT"
] | null | null | null | css/mainclient.css | carolinadp/Handy-Neighbor | 66d37c643bb6e9e1bd46848880ebafd1c462d0b7 | [
"MIT"
] | null | null | null | css/mainclient.css | carolinadp/Handy-Neighbor | 66d37c643bb6e9e1bd46848880ebafd1c462d0b7 | [
"MIT"
] | null | null | null |
.search-element {
list-style: none;
margin: 0px;
padding: 0px;
}
.search-element > li {
background-color: rgb(255, 255, 255);
box-shadow: 0px 0px 2px rgba(51, 51, 51, 0.7);
padding: 0px;
margin: 0px 0px 20px;
}
.search-element > li > img {
width: 100%;
}
.search-element > li > .info {
... | 21.095745 | 50 | 0.537065 |
b3463a6fc9dc294b0693c265814f47d1bb16b2b2 | 1,256 | py | Python | Calibration and Testing/upload_temp_humidty.py | jessemcardle/Raspberry-Pi-Plant-Growth-Project | e43fe90fdfae8b6d9897430bf822c57ff9c5d1e5 | [
"MIT",
"Unlicense"
] | 1 | 2022-02-15T06:38:13.000Z | 2022-02-15T06:38:13.000Z | Calibration and Testing/upload_temp_humidty.py | jessemcardle/Raspberry-Pi-Plant-Growth-Project | e43fe90fdfae8b6d9897430bf822c57ff9c5d1e5 | [
"MIT",
"Unlicense"
] | null | null | null | Calibration and Testing/upload_temp_humidty.py | jessemcardle/Raspberry-Pi-Plant-Growth-Project | e43fe90fdfae8b6d9897430bf822c57ff9c5d1e5 | [
"MIT",
"Unlicense"
] | null | null | null | import sys
from urllib.request import urlopen
from time import sleep
import Adafruit_DHT as dht
# Enter Your API key here
myAPI = '5KJ5TVQRF5NFSEXL'
# URL where we will send the data, Don't change it
baseURL = 'https://api.thingspeak.com/update?api_key=%s' % myAPI
def DHT22_data():
# Reading from DHT22 and stor... | 33.052632 | 99 | 0.589968 |
c98d41e46590ce8f25c416e189f8c39771e59944 | 2,084 | tsx | TypeScript | dev/app/features/custom_query.tsx | social-native/elastic-composer | a21862c0be03933f0002c7930a6b05406ce52eb0 | [
"Apache-2.0"
] | 14 | 2020-04-10T02:49:04.000Z | 2022-02-02T22:14:43.000Z | dev/app/features/custom_query.tsx | social-native/elastic-composer | a21862c0be03933f0002c7930a6b05406ce52eb0 | [
"Apache-2.0"
] | 80 | 2020-07-07T08:47:14.000Z | 2021-07-08T20:35:48.000Z | dev/app/features/custom_query.tsx | social-native/elastic-composer | a21862c0be03933f0002c7930a6b05406ce52eb0 | [
"Apache-2.0"
] | 1 | 2020-04-24T16:26:02.000Z | 2020-04-24T16:26:02.000Z | import React, {useContext, useState} from 'react';
import {observer} from 'mobx-react';
import styled from 'styled-components';
import Context from '../context';
const CustomQueryContainer = styled.div`
height: 300px;
width: 250px;
margin: 5px;
border-radius: 3px;
`;
const FieldList = styled.input`
... | 26.717949 | 79 | 0.49952 |
c1afefafd6e68ac80c74fc01f9e0a9414cd9cafb | 889 | lua | Lua | oss/lua/serv/dhcp_app.lua | nneesshh/openresty-win32-build | bfbb9d7526020eda1788a0ed24f2be3c8be5c1c3 | [
"MIT"
] | 2 | 2018-06-15T08:32:44.000Z | 2019-01-12T03:20:41.000Z | oss/lua/serv/dhcp_app.lua | nneesshh/openresty-oss | bfbb9d7526020eda1788a0ed24f2be3c8be5c1c3 | [
"MIT"
] | null | null | null | oss/lua/serv/dhcp_app.lua | nneesshh/openresty-oss | bfbb9d7526020eda1788a0ed24f2be3c8be5c1c3 | [
"MIT"
] | null | null | null | -- Localize
local cwd = (...):gsub("%.[^%.]+$", "") .. "."
local dhcpd = require(cwd .. "dhcp.server")
local _M = {
_VERSION = "1.0.0.1",
_DESCRIPTION = "It is the app entry ..."
}
local function dhcpd_callback(op, packet, options)
return {
yiaddr = "10.10.0.5",
options = {
sub... | 22.225 | 50 | 0.48144 |
26bdc3d1175f7811f09c12d5d4ba0d82ed5f70cd | 4,050 | kt | Kotlin | settings/src/main/kotlin/com/testerum/settings/SettingsManager.kt | jesus2099/testerum | 1bacdd86da1a240ad9f2932e21c69f628a1fc66c | [
"Apache-2.0"
] | 17 | 2020-08-07T10:06:22.000Z | 2022-02-22T15:36:38.000Z | settings/src/main/kotlin/com/testerum/settings/SettingsManager.kt | jesus2099/testerum | 1bacdd86da1a240ad9f2932e21c69f628a1fc66c | [
"Apache-2.0"
] | 55 | 2020-09-20T17:27:50.000Z | 2021-08-15T02:23:45.000Z | settings/src/main/kotlin/com/testerum/settings/SettingsManager.kt | jesus2099/testerum | 1bacdd86da1a240ad9f2932e21c69f628a1fc66c | [
"Apache-2.0"
] | 2 | 2021-09-13T09:38:13.000Z | 2021-12-21T20:35:43.000Z | package com.testerum.settings
import com.testerum.settings.reference_resolver.SettingsResolver
import com.testerum_api.testerum_steps_api.test_context.settings.model.Setting
import com.testerum_api.testerum_steps_api.test_context.settings.model.SettingDefinition
import java.util.concurrent.locks.ReentrantReadWriteLock... | 34.615385 | 102 | 0.611111 |
14199e2c7e7bb256002db04ccccdd904af003b4c | 9,568 | ts | TypeScript | src/app/user-profile/user-profile.component.ts | Brauam/PaqariFE | 1b951bd96aa5b354f64b83ef736db979150bfeb2 | [
"MIT"
] | null | null | null | src/app/user-profile/user-profile.component.ts | Brauam/PaqariFE | 1b951bd96aa5b354f64b83ef736db979150bfeb2 | [
"MIT"
] | null | null | null | src/app/user-profile/user-profile.component.ts | Brauam/PaqariFE | 1b951bd96aa5b354f64b83ef736db979150bfeb2 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
import { MatSnackBar } from '@angular/material/snack-bar';
import { StorageService } from 'app/core/storage.service';
import { ICliente, IEncuestas, IFamiliares, IPublicia } from 'app/mod... | 32.215488 | 92 | 0.658236 |
afdffc8efe1f06e1eb63a23331a16b36f464f053 | 12,605 | py | Python | test/test_web_bag.py | funkyeah/tiddlyweb | 2346e6c05aa03ae9c8f2687d9ef9e46103267a8e | [
"BSD-3-Clause"
] | null | null | null | test/test_web_bag.py | funkyeah/tiddlyweb | 2346e6c05aa03ae9c8f2687d9ef9e46103267a8e | [
"BSD-3-Clause"
] | null | null | null | test/test_web_bag.py | funkyeah/tiddlyweb | 2346e6c05aa03ae9c8f2687d9ef9e46103267a8e | [
"BSD-3-Clause"
] | null | null | null | """
Test that GETting a bag can list the tiddlers.
"""
import httplib2
import urllib
import simplejson
from fixtures import muchdata, reset_textstore, _teststore, initialize_app
from tiddlyweb.model.bag import Bag
from tiddlyweb.stores import StorageInterface
policy_dict = dict(
read=[u'chris',u'jeremy',u'... | 38.784615 | 160 | 0.659897 |
a37991716cb2b962a967a0117cdf5eebe69f04b0 | 1,001 | ts | TypeScript | src/products/suggestions/suggestion.entity.ts | ormus395/product-feedback-app-server | b8df1371cc46a59c3e5b608df54e9a0066e01ac9 | [
"MIT"
] | null | null | null | src/products/suggestions/suggestion.entity.ts | ormus395/product-feedback-app-server | b8df1371cc46a59c3e5b608df54e9a0066e01ac9 | [
"MIT"
] | null | null | null | src/products/suggestions/suggestion.entity.ts | ormus395/product-feedback-app-server | b8df1371cc46a59c3e5b608df54e9a0066e01ac9 | [
"MIT"
] | null | null | null | import {
Entity,
Column,
PrimaryGeneratedColumn,
ManyToOne,
OneToMany,
} from 'typeorm';
import { Product } from '../product.entity';
import { User } from '../../users/user.entity';
import { SuggestionType } from '../suggestion-types/suggestion-type.entity';
import { Comment } from '../comments/comment.entity... | 20.428571 | 77 | 0.639361 |
446a5ce2298071061ac718b5d5ed0f0c88bb6b81 | 1,059 | py | Python | webapp_full/app.py | agelesspartners/longhack-app | 89cfd4efc4a71c4689afaa19fb63186640ff1ab1 | [
"MIT"
] | null | null | null | webapp_full/app.py | agelesspartners/longhack-app | 89cfd4efc4a71c4689afaa19fb63186640ff1ab1 | [
"MIT"
] | null | null | null | webapp_full/app.py | agelesspartners/longhack-app | 89cfd4efc4a71c4689afaa19fb63186640ff1ab1 | [
"MIT"
] | 1 | 2022-02-22T22:09:52.000Z | 2022-02-22T22:09:52.000Z | import streamlit as st
import awesome_streamlit as ast
import pages.info
import pages.liver
import pages.heart
import pages.drugs
PAGES = {
"Information": pages.info,
"Compounds Database": pages.drugs,
"Liver Disease Prediction": pages.liver,
"Heart Disease Prediction": pages.heart,
}
def main():
... | 28.621622 | 180 | 0.657224 |
7497ad8a9f78441061a19799facf505575d3472e | 10,448 | c | C | Code PlatformIO/1-sensor-control/src/main.c | RobbeElsermans/GestureControl | c66f4d19fbf9ad785f4a8c721e7c6f8ba8425f4f | [
"MIT"
] | null | null | null | Code PlatformIO/1-sensor-control/src/main.c | RobbeElsermans/GestureControl | c66f4d19fbf9ad785f4a8c721e7c6f8ba8425f4f | [
"MIT"
] | null | null | null | Code PlatformIO/1-sensor-control/src/main.c | RobbeElsermans/GestureControl | c66f4d19fbf9ad785f4a8c721e7c6f8ba8425f4f | [
"MIT"
] | null | null | null | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* Copyright (c) 2022 STMicroelectronics.
... | 26.858612 | 125 | 0.649024 |
f442e276420dd3edd3f3078781b937d477a284e5 | 1,274 | ts | TypeScript | client/src/utils/getUriWithParamsConfig.test.ts | Envoy89/ReactPokemons | a2fddc895f1e3d281b7437b37b0ee0bac3587abb | [
"MIT"
] | null | null | null | client/src/utils/getUriWithParamsConfig.test.ts | Envoy89/ReactPokemons | a2fddc895f1e3d281b7437b37b0ee0bac3587abb | [
"MIT"
] | null | null | null | client/src/utils/getUriWithParamsConfig.test.ts | Envoy89/ReactPokemons | a2fddc895f1e3d281b7437b37b0ee0bac3587abb | [
"MIT"
] | null | null | null | import getUrlWithParamsConfig from './getUriWIthParamsConfig';
describe('getUriWithParamsConfig', () => {
test('Должна принимать два аргумента "getPokemons" и пустой объект, на выходе получить объект с полями pathname, host, protocol и пустым query', () => {
const url = getUrlWithParamsConfig('getPokemons', {});... | 32.666667 | 176 | 0.622449 |
f23caa7f6b7bfa9ab9478ce8fee6b482d10631be | 1,308 | php | PHP | tests/FA/Tests/Middleware/SettingsTest.php | noomox/flaming-archer | 85f8668a2e45ce792b0ef99d285ba57a52214b10 | [
"MIT"
] | 21 | 2015-02-23T04:54:30.000Z | 2018-03-29T18:40:11.000Z | tests/FA/Tests/Middleware/SettingsTest.php | aunglinn/flaming-archer | 85f8668a2e45ce792b0ef99d285ba57a52214b10 | [
"MIT"
] | 2 | 2021-04-13T15:45:20.000Z | 2021-12-02T17:56:12.000Z | tests/FA/Tests/Middleware/SettingsTest.php | aunglinn/flaming-archer | 85f8668a2e45ce792b0ef99d285ba57a52214b10 | [
"MIT"
] | 17 | 2015-02-25T20:27:47.000Z | 2020-11-06T11:01:38.000Z | <?php
namespace FA\Tests\Middleware;
use FA\DI\Container;
use FA\Middleware\Settings;
use FA\Tests\ConfigTestCase;
class SettingsTest extends ConfigTestCase
{
/**
* @var Slim
*/
protected $app;
protected function setUp()
{
parent::setUp();
\Slim\Environment::mock(array(
... | 23.357143 | 86 | 0.551988 |
f8458c709b86dd32b32120d92528b9fdc16dc059 | 2,955 | dart | Dart | lib/item_widget.dart | shovelmn12/pop_bottom_nav | e6e3b0eb10e1c2e0b4573c1c7ede4af6ee45ddac | [
"MIT"
] | 1 | 2019-11-06T02:26:46.000Z | 2019-11-06T02:26:46.000Z | lib/item_widget.dart | shovelmn12/pop_bottom_nav | e6e3b0eb10e1c2e0b4573c1c7ede4af6ee45ddac | [
"MIT"
] | null | null | null | lib/item_widget.dart | shovelmn12/pop_bottom_nav | e6e3b0eb10e1c2e0b4573c1c7ede4af6ee45ddac | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:pop_bottom_nav/item.dart';
class ItemWidget extends StatelessWidget {
final Duration duration;
final PopNavItem item;
final bool selected;
const ItemWidget({
Key key,
@required this.duration,
@required this.item,
this.selected = false,
... | 33.965517 | 76 | 0.385448 |
a35ca46f0a1290aa21f98a615e141de1c814912a | 7,552 | java | Java | framework-protocol-http/src/main/java/com/romaway/common/protocol/dl/StockShuoBaDetailHotCommentProtocolCoder.java | Angus-bin/framework | b0e5ca09a75fc0590233913cb369dee075682670 | [
"Apache-2.0"
] | null | null | null | framework-protocol-http/src/main/java/com/romaway/common/protocol/dl/StockShuoBaDetailHotCommentProtocolCoder.java | Angus-bin/framework | b0e5ca09a75fc0590233913cb369dee075682670 | [
"Apache-2.0"
] | null | null | null | framework-protocol-http/src/main/java/com/romaway/common/protocol/dl/StockShuoBaDetailHotCommentProtocolCoder.java | Angus-bin/framework | b0e5ca09a75fc0590233913cb369dee075682670 | [
"Apache-2.0"
] | 1 | 2019-03-22T06:14:03.000Z | 2019-03-22T06:14:03.000Z | package com.romaway.common.protocol.dl;
import android.text.TextUtils;
import com.romaway.common.protocol.AProtocolCoder;
import com.romaway.common.protocol.ProtocolParserException;
import com.romaway.common.protocol.coder.RequestCoder;
import com.romaway.common.protocol.coder.ResponseDecoder;
import com.romaway.comm... | 53.183099 | 135 | 0.476563 |
dbabe6a6fe1d6cf83cc8efb8ce9bd263047a3070 | 2,922 | php | PHP | resources/views/user/news.blade.php | Muhammad9272/Luwway | 54bec959ad4096413ffefaf7f93ce7f1f58b0535 | [
"MIT"
] | null | null | null | resources/views/user/news.blade.php | Muhammad9272/Luwway | 54bec959ad4096413ffefaf7f93ce7f1f58b0535 | [
"MIT"
] | null | null | null | resources/views/user/news.blade.php | Muhammad9272/Luwway | 54bec959ad4096413ffefaf7f93ce7f1f58b0535 | [
"MIT"
] | null | null | null | @extends('front.layouts.app')
@section('pagelevel_css')
<link rel="stylesheet" type="text/css" href="{{asset('assets/front/css/datatable.css')}}">
@endsection
@section('page_content')
<section class="user-dashbord">
<div class="container">
<div class="row">
@include('includes.user-dashboard-sidebar... | 32.466667 | 144 | 0.490075 |
2cdc6843e498644f706aa96140048aec95d17036 | 1,823 | kt | Kotlin | src/main/kotlin/galuzzi/kodegen/java/support/Thrower.kt | agaluzzi/codegen | 6e093cfdabf9e3f80e9de45d3777fb63845a56d5 | [
"Apache-2.0"
] | 1 | 2019-11-09T17:09:30.000Z | 2019-11-09T17:09:30.000Z | src/main/kotlin/galuzzi/kodegen/java/support/Thrower.kt | agaluzzi/kodegen | 6e093cfdabf9e3f80e9de45d3777fb63845a56d5 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/galuzzi/kodegen/java/support/Thrower.kt | agaluzzi/kodegen | 6e093cfdabf9e3f80e9de45d3777fb63845a56d5 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 Aaron Galuzzi
*
* 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 t... | 27.621212 | 85 | 0.581459 |