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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2d49a1b7e15a37ba05606dd58322a0c712ff7505 | 1,623 | css | CSS | main.css | davidpoore/random-wiki-articles | 011be7f6f4f633fcee343573a942ed26b227ab0f | [
"Unlicense"
] | null | null | null | main.css | davidpoore/random-wiki-articles | 011be7f6f4f633fcee343573a942ed26b227ab0f | [
"Unlicense"
] | null | null | null | main.css | davidpoore/random-wiki-articles | 011be7f6f4f633fcee343573a942ed26b227ab0f | [
"Unlicense"
] | null | null | null | body {
background-color: #bbb;
}
.Title {
text-align: center;
font-size: 30px;
padding: 10px 0 20px 0;
font-weight: bold;
margin: 0 auto;
}
.RandomArticles,
.RandomImages {
font-size: 16px;
position: absolute;
top: 20px;
right: 20px;
}
.Controls {
text-align: center;
}
.Controls__numberInput--... | 14.236842 | 31 | 0.664202 |
2d0a4c568075204823a6a0e36786944ee40c5aae | 618 | css | CSS | style.css | c99koder/exist-tag-mood-score | 2ded4666f28b52f82a89a8830a77f35c47000281 | [
"Apache-2.0"
] | null | null | null | style.css | c99koder/exist-tag-mood-score | 2ded4666f28b52f82a89a8830a77f35c47000281 | [
"Apache-2.0"
] | null | null | null | style.css | c99koder/exist-tag-mood-score | 2ded4666f28b52f82a89a8830a77f35c47000281 | [
"Apache-2.0"
] | null | null | null | body {
--mdc-theme-primary: #017cb1;
--mdc-theme-secondary: #017cb1;
margin: 0;
}
.mdc-form-field {
width: 300px;
}
.mdc-text-field {
background-color: transparent !important;
}
.mdc-text-field--focused {
background-color: transparent !important;
}
.mdc-form-field label {
text-transform: capitalize;
}
.md... | 15.073171 | 43 | 0.658576 |
1abc05173a9d61e694136033106eb349d0c9ef6d | 1,745 | py | Python | kh_site/group_coaching/migrations/0004_auto_20171226_0914.py | nhuntwalker/kyeisha-site | ccccc4a277f354a5f64c38476885a499483f80fc | [
"MIT"
] | null | null | null | kh_site/group_coaching/migrations/0004_auto_20171226_0914.py | nhuntwalker/kyeisha-site | ccccc4a277f354a5f64c38476885a499483f80fc | [
"MIT"
] | 7 | 2020-06-05T18:51:41.000Z | 2022-03-11T23:28:14.000Z | kh_site/group_coaching/migrations/0004_auto_20171226_0914.py | nhuntwalker/kyeisha-site | ccccc4a277f354a5f64c38476885a499483f80fc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-12-26 09:14
from __future__ import unicode_literals
from django.db import migrations
import redactor.fields
class Migration(migrations.Migration):
dependencies = [
('group_coaching', '0003_auto_20171225_1144'),
]
operations = [
... | 64.62963 | 667 | 0.674499 |
e86263460d4599a6f6d82b3fb5d2326d013523ac | 840 | asm | Assembly | programs/oeis/147/A147991.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/147/A147991.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/147/A147991.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A147991: Sequence S such that 1 is in S and if x is in S, then 3x-1 and 3x+1 are in S.
; 1,2,4,5,7,11,13,14,16,20,22,32,34,38,40,41,43,47,49,59,61,65,67,95,97,101,103,113,115,119,121,122,124,128,130,140,142,146,148,176,178,182,184,194,196,200,202,284,286,290,292,302,304,308,310,338,340,344,346,356,358,362,364,365,367... | 44.210526 | 371 | 0.677381 |
a38774ac29a9fd97005c5903bbff13e22b11737f | 278 | java | Java | src/main/java/com/artezio/forms/formio/exceptions/NodeJsException.java | Artezio/camunda-formio | 084999e5f358b34c0335ae89361f4b707f716dda | [
"Apache-2.0"
] | 3 | 2020-07-26T06:29:32.000Z | 2020-08-19T14:27:19.000Z | src/main/java/com/artezio/forms/formio/exceptions/NodeJsException.java | Artezio/camunda-formio | 084999e5f358b34c0335ae89361f4b707f716dda | [
"Apache-2.0"
] | 6 | 2020-08-19T14:27:16.000Z | 2022-01-22T11:59:31.000Z | src/main/java/com/artezio/forms/formio/exceptions/NodeJsException.java | Artezio/camunda-formio | 084999e5f358b34c0335ae89361f4b707f716dda | [
"Apache-2.0"
] | 2 | 2020-04-14T15:23:20.000Z | 2021-01-20T15:46:30.000Z | package com.artezio.forms.formio.exceptions;
public class NodeJsException extends RuntimeException {
public NodeJsException(String message, Throwable cause) {
super(message, cause);
}
public NodeJsException(String message) {
super(message);
}
}
| 25.272727 | 61 | 0.71223 |
cdcb42fddc5e151d198c4eddac471677daea8689 | 1,104 | cs | C# | Source/Miio.Devices/Implementations/Yeelight/IYeelightDevice.cs | Koli96/Miio.NET | 519d4f51f1e85c53e49f061e4dd79a6497f9fda9 | [
"MIT"
] | 6 | 2020-09-30T20:50:23.000Z | 2022-03-10T08:50:42.000Z | Source/Miio.Devices/Implementations/Yeelight/IYeelightDevice.cs | Koli96/Miio.NET | 519d4f51f1e85c53e49f061e4dd79a6497f9fda9 | [
"MIT"
] | null | null | null | Source/Miio.Devices/Implementations/Yeelight/IYeelightDevice.cs | Koli96/Miio.NET | 519d4f51f1e85c53e49f061e4dd79a6497f9fda9 | [
"MIT"
] | null | null | null | using Miio.Devices.Models;
using System.Threading.Tasks;
namespace Miio.Devices.Implementations.Yeelight
{
public interface IYeelightDevice : ISmartDevice
{
Task<Response> TurnOnSmoothly(uint duration);
Task<Response> TurnOffSmoothly(uint duration);
Task<Response> SwitchMode(Mode mode)... | 44.16 | 89 | 0.709239 |
8ec4f13c63c2bea17b2bb9d3adabe14377aca69b | 8,974 | js | JavaScript | js/editor/ui/textures-view.js | Korshunov-Egor/thing-editor | c6af432ef5d848ded8c5edb4e189cd777b83515d | [
"MIT"
] | null | null | null | js/editor/ui/textures-view.js | Korshunov-Egor/thing-editor | c6af432ef5d848ded8c5edb4e189cd777b83515d | [
"MIT"
] | null | null | null | js/editor/ui/textures-view.js | Korshunov-Egor/thing-editor | c6af432ef5d848ded8c5edb4e189cd777b83515d | [
"MIT"
] | null | null | null | import Lib from "thing-editor/js/engine/lib.js";
import group from "./group.js";
import Window from "./window.js";
import SelectEditor from "./props-editor/select-editor.js";
import game from "thing-editor/js/engine/game.js";
import {upload} from "./props-editor/uploadFile.js";
/*loading bits
1 - on demand
2 - earl... | 25.861671 | 193 | 0.6423 |
38a029fb771d9ae3a06cbfcd718874b098559341 | 1,952 | php | PHP | application/controllers/DiagnosisController.php | safiullahzuri/thesis | ddbe2fc567b1864c9c80390a8b93d981713bf82f | [
"MIT"
] | null | null | null | application/controllers/DiagnosisController.php | safiullahzuri/thesis | ddbe2fc567b1864c9c80390a8b93d981713bf82f | [
"MIT"
] | 3 | 2020-07-17T19:57:18.000Z | 2022-03-02T04:56:57.000Z | application/controllers/DiagnosisController.php | safiullahzuri/thesis | ddbe2fc567b1864c9c80390a8b93d981713bf82f | [
"MIT"
] | null | null | null | <?php
class DiagnosisController extends CI_Controller
{
function __construct()
{
parent::__construct();
}
function saveDiagnosis(){
$appointment_id = $this->input->post("appointment_id");
$diagnosis_text = $this->input->post("diagnosis_text");
$data["wrote"] = "no";
... | 29.575758 | 103 | 0.579918 |
cd732e2099dd57fd391ca36b3dd10b48143758ec | 184 | csx | C# | Functions.Templates/Templates/ExternalFileTrigger-CSharp/run.csx | ElleTojaroon/AzurePortalTemplate | 275f6e7958b301618c97b022e0813b9c94331d31 | [
"MIT"
] | null | null | null | Functions.Templates/Templates/ExternalFileTrigger-CSharp/run.csx | ElleTojaroon/AzurePortalTemplate | 275f6e7958b301618c97b022e0813b9c94331d31 | [
"MIT"
] | null | null | null | Functions.Templates/Templates/ExternalFileTrigger-CSharp/run.csx | ElleTojaroon/AzurePortalTemplate | 275f6e7958b301618c97b022e0813b9c94331d31 | [
"MIT"
] | null | null | null | using System;
public static string Run(string inputFile, string name, TraceWriter log)
{
log.Info($"C# External trigger function processed file: " + name);
return inputFile;
} | 26.285714 | 72 | 0.728261 |
ae231a48e42fd817c771e2ad55a64cc40094925e | 7,167 | cs | C# | Assets/JMO Assets/Cartoon FX Remaster/CFXR Assets/Scripts/CFXR_Effect.CameraShake.cs | lordvlads77/Fighting-Game | 29688c3ea9df784746e1f86dc8b9d91bf42fcd39 | [
"MIT"
] | null | null | null | Assets/JMO Assets/Cartoon FX Remaster/CFXR Assets/Scripts/CFXR_Effect.CameraShake.cs | lordvlads77/Fighting-Game | 29688c3ea9df784746e1f86dc8b9d91bf42fcd39 | [
"MIT"
] | 29 | 2021-01-15T02:31:51.000Z | 2021-01-18T21:25:10.000Z | Assets/JMO Assets/Cartoon FX Remaster/CFXR Assets/Scripts/CFXR_Effect.CameraShake.cs | lordvlads77/Fighting-Game | 29688c3ea9df784746e1f86dc8b9d91bf42fcd39 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace CartoonFX
{
public partial class CFXR_Effect : MonoBehaviour
{
[System.Serializable]
public class CameraShake
{
public enum ShakeSpace
{
Screen,
World
}
s... | 25.059441 | 147 | 0.63597 |
f3f3a4704338ca6849cce2761b952207cbd81018 | 1,129 | ts | TypeScript | 03_ProcessEngineCore/process_engine_core.endpoints.http/src/endpoints/correlations/correlations_router.ts | atlas-engine/atlas_engine_poc | 7c2ba1ed94f2e62d968ced822139567531776b2a | [
"MIT"
] | null | null | null | 03_ProcessEngineCore/process_engine_core.endpoints.http/src/endpoints/correlations/correlations_router.ts | atlas-engine/atlas_engine_poc | 7c2ba1ed94f2e62d968ced822139567531776b2a | [
"MIT"
] | null | null | null | 03_ProcessEngineCore/process_engine_core.endpoints.http/src/endpoints/correlations/correlations_router.ts | atlas-engine/atlas_engine_poc | 7c2ba1ed94f2e62d968ced822139567531776b2a | [
"MIT"
] | null | null | null | import {BaseRouter} from '@essential-projects/http_node';
import {IIdentityService} from '@essential-projects/iam_contracts';
import {wrap} from 'async-middleware';
import {MiddlewareFunction, createResolveIdentityMiddleware} from '../../middlewares/resolve_identity';
import {CorrelationsController} from './correlatio... | 31.361111 | 103 | 0.776794 |
09c247ae084437d79e1b471712cff07a3ea14ff0 | 2,915 | dart | Dart | lib/src/core/controller/pagamento_controller.g.dart | ofertasbv/ofertaflutterweb | 9eb1339021aceef1dcf2ea94b7808f1d9a34dd1b | [
"Apache-2.0"
] | null | null | null | lib/src/core/controller/pagamento_controller.g.dart | ofertasbv/ofertaflutterweb | 9eb1339021aceef1dcf2ea94b7808f1d9a34dd1b | [
"Apache-2.0"
] | null | null | null | lib/src/core/controller/pagamento_controller.g.dart | ofertasbv/ofertaflutterweb | 9eb1339021aceef1dcf2ea94b7808f1d9a34dd1b | [
"Apache-2.0"
] | null | null | null | // GENERATED CODE - DO NOT MODIFY BY HAND
part of 'pagamento_controller.dart';
// **************************************************************************
// StoreGenerator
// **************************************************************************
// ignore_for_file: non_constant_identifier_names, unnecessary_b... | 24.495798 | 211 | 0.662093 |
af230658dd3bb2a8ea6ec5c62e21552c1a9c0ccc | 11,320 | py | Python | advent_of_code/solvers/day_06.py | jdswalker/Advent-of-Code-2015 | 2e9a1e1441db92eee318c9ddb357f4e4b1f2f76c | [
"MIT"
] | 2 | 2020-03-22T16:15:03.000Z | 2021-06-07T08:22:37.000Z | advent_of_code/solvers/day_06.py | jdswalker/Advent-of-Code-2015 | 2e9a1e1441db92eee318c9ddb357f4e4b1f2f76c | [
"MIT"
] | null | null | null | advent_of_code/solvers/day_06.py | jdswalker/Advent-of-Code-2015 | 2e9a1e1441db92eee318c9ddb357f4e4b1f2f76c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Puzzle Solver for Advent of Code 2015 Day 6
Author: James Walker
Copyright: MIT license
Description (https://adventofcode.com/2015/day/6):
--- Day 6: Probably a Fire Hazard ---
Because your neighbors keep defeating you in the holiday house decorating
contest year ... | 39.305556 | 79 | 0.644876 |
7f2c2cc2e1a3be25cfed21d2a20c887e5a879a15 | 2,662 | swift | Swift | Sources/SwiftcraftLibrary/Networking/Packet/Handshake.swift | marzvrover/Swiftcraft | 4e88bd5831b54a0e2958efed236caa5bb53270b4 | [
"Apache-2.0"
] | 2 | 2020-12-16T02:20:31.000Z | 2021-04-09T15:23:50.000Z | Sources/SwiftcraftLibrary/Networking/Packet/Handshake.swift | marzvrover/Swiftcraft | 4e88bd5831b54a0e2958efed236caa5bb53270b4 | [
"Apache-2.0"
] | 14 | 2020-12-02T23:20:06.000Z | 2020-12-20T10:07:21.000Z | Sources/SwiftcraftLibrary/Networking/Packet/Handshake.swift | marzvrover/Swiftcraft | 4e88bd5831b54a0e2958efed236caa5bb53270b4 | [
"Apache-2.0"
] | 2 | 2020-12-20T10:32:11.000Z | 2021-09-13T09:00:13.000Z | import Foundation
import NIO
// swiftlint:disable line_length
/// # The Minecraft Handshake `Packet`
///
/// ## ID
/// The `Packet`.`id` for the Minecraft Handshake Packet is 0x00
///
/// ## Definition
///
/// Field Name | Datatype | Decoder Arguments | Notes
/// -----------------... | 36.465753 | 135 | 0.503757 |
53638e0eb663611638c184b5906229994d381e3b | 685 | swift | Swift | Herald/CurriculumTableViewCell.swift | seuzl/Herald_iOS | 9d70f06accadf0c9571a3c7c16d4b38d2f407ad7 | [
"MIT"
] | 2 | 2016-02-26T02:01:45.000Z | 2016-07-04T05:49:47.000Z | Herald/CurriculumTableViewCell.swift | seuzl/Herald_iOS | 9d70f06accadf0c9571a3c7c16d4b38d2f407ad7 | [
"MIT"
] | null | null | null | Herald/CurriculumTableViewCell.swift | seuzl/Herald_iOS | 9d70f06accadf0c9571a3c7c16d4b38d2f407ad7 | [
"MIT"
] | 1 | 2019-09-30T17:53:24.000Z | 2019-09-30T17:53:24.000Z | //
// CurriculumTableViewCell.swift
// 先声
//
// Created by Wangshuo on 14-8-21.
// Copyright (c) 2014年 WangShuo. All rights reserved.
//
import UIKit
class CurriculumTableViewCell: UITableViewCell {
@IBOutlet var timeofLesson: UILabel!
@IBOutlet var nameofLesson: UILabel!
@IBOutlet var... | 20.147059 | 63 | 0.656934 |
93857090dffa7a1a503c47b139be660f8ad94e65 | 2,174 | cs | C# | test/Opdex.Platform.WebApi.Tests/Middleware/MaintenanceLockFilterTests.cs | Opdex/opdex-v1-api | de56e1de1f6fee95cf0a58acb2b72ad5af90aebe | [
"MIT"
] | 7 | 2021-10-30T21:08:29.000Z | 2022-01-06T23:46:32.000Z | test/Opdex.Platform.WebApi.Tests/Middleware/MaintenanceLockFilterTests.cs | Opdex/opdex-v1-api | de56e1de1f6fee95cf0a58acb2b72ad5af90aebe | [
"MIT"
] | 37 | 2021-10-29T22:30:13.000Z | 2022-03-11T04:23:12.000Z | test/Opdex.Platform.WebApi.Tests/Middleware/MaintenanceLockFilterTests.cs | Opdex/opdex-v1-api | de56e1de1f6fee95cf0a58acb2b72ad5af90aebe | [
"MIT"
] | null | null | null | using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Options;
using Moq;
using Opdex.Platfo... | 36.233333 | 132 | 0.731831 |
9395c1517ec932b9d1f93d0a58a512725bf71607 | 5,707 | cs | C# | src/_DomainDriven/Framework.DomainDriven.Core/BLL/Validation/Validators/UniqueGroupDatabaseValidator.cs | Luxoft/BSSFramework | e060a42db5b1a96cc915b30c09e4e5751543e8af | [
"MIT"
] | 18 | 2021-12-22T09:28:06.000Z | 2022-01-20T19:48:41.000Z | src/_DomainDriven/Framework.DomainDriven.Core/BLL/Validation/Validators/UniqueGroupDatabaseValidator.cs | Luxoft/BSSFramework | e060a42db5b1a96cc915b30c09e4e5751543e8af | [
"MIT"
] | 44 | 2021-12-28T08:36:17.000Z | 2022-03-22T09:17:28.000Z | src/_DomainDriven/Framework.DomainDriven.Core/BLL/Validation/Validators/UniqueGroupDatabaseValidator.cs | Luxoft/BSSFramework | e060a42db5b1a96cc915b30c09e4e5751543e8af | [
"MIT"
] | 2 | 2021-12-23T15:30:01.000Z | 2021-12-28T01:26:36.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Framework.Core;
using Framework.Persistent;
using Framework.Validation;
namespace Framework.DomainDriven.BLL
{
/// <summary>
/// Класс для проверки уникальности полей ... | 47.558333 | 186 | 0.655511 |
1ab957f1c02022b1e16808ece063ffc00a8778cc | 196 | py | Python | src/tests/test_MST.py | xiaonanln/study-the-algorithm-design-manual | 0b9654564f9cffe58232b5e7759d21c8486ebd0a | [
"MIT"
] | 10 | 2018-01-10T22:27:41.000Z | 2022-02-08T12:18:47.000Z | src/tests/test_MST.py | xiaonanln/study-the-algorithm-design-manual | 0b9654564f9cffe58232b5e7759d21c8486ebd0a | [
"MIT"
] | null | null | null | src/tests/test_MST.py | xiaonanln/study-the-algorithm-design-manual | 0b9654564f9cffe58232b5e7759d21c8486ebd0a | [
"MIT"
] | 2 | 2018-05-07T15:07:59.000Z | 2018-10-29T12:50:56.000Z |
import unittest
class TestMST(unittest.TestCase):
pass
def testPrim(self):
pass
def testPrimPQ(self):
pass
def testKruskal(self):
pass
if __name__ == '__main__':
unittest.main()
| 10.315789 | 33 | 0.704082 |
c4955571aefc5079c40b018bebfb0641ce381545 | 696 | lua | Lua | Dictionary.lua | cyrus01337/objects | 1229b80d554e505d8173f83213db3244ced6d517 | [
"Unlicense"
] | 1 | 2022-01-02T07:05:40.000Z | 2022-01-02T07:05:40.000Z | Dictionary.lua | cyrus01337/objects | 1229b80d554e505d8173f83213db3244ced6d517 | [
"Unlicense"
] | 1 | 2022-01-02T07:05:28.000Z | 2022-01-15T12:38:02.000Z | Dictionary.lua | cyrus01337/objects | 1229b80d554e505d8173f83213db3244ced6d517 | [
"Unlicense"
] | null | null | null | local RS = game:GetService("ReplicatedStorage")
local Mapping = require(RS.Objects.Mapping)
local Utils = require(RS.Utils)
local Dictionary = {}
Dictionary.__index = Dictionary
function Dictionary.new(mapping)
mapping = if mapping ~= nil then mapping else {}
local count = 0
for _, _ in pairs(ma... | 16.97561 | 52 | 0.688218 |
b2a51fd206e76cec43689bfab38d84e4cb23b309 | 45 | css | CSS | modules/mod_jagooglechart/asset/style.css | huge2015/meter_object | 5c3911a862022579882d00f18acbb266ff39a3c0 | [
"Apache-2.0"
] | null | null | null | modules/mod_jagooglechart/asset/style.css | huge2015/meter_object | 5c3911a862022579882d00f18acbb266ff39a3c0 | [
"Apache-2.0"
] | null | null | null | modules/mod_jagooglechart/asset/style.css | huge2015/meter_object | 5c3911a862022579882d00f18acbb266ff39a3c0 | [
"Apache-2.0"
] | null | null | null | .ja-google-chart {}
.ja-google-chart-intro {} | 22.5 | 25 | 0.688889 |
5bed94fa87686035907ac9b02559e7a70a94d6a4 | 1,787 | lua | Lua | scribbles/archlinux_package_db_finder.lua | thetaepsilon/luamono | 626e5012d017ddcb237609dd39716f283ed1666b | [
"CC0-1.0"
] | null | null | null | scribbles/archlinux_package_db_finder.lua | thetaepsilon/luamono | 626e5012d017ddcb237609dd39716f283ed1666b | [
"CC0-1.0"
] | null | null | null | scribbles/archlinux_package_db_finder.lua | thetaepsilon/luamono | 626e5012d017ddcb237609dd39716f283ed1666b | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env lua5.3
local _usage = [[
Usage: archlinux_package_db_finder name_of_package fieldname < core.db.after_gunzip
]]
local _getline = io.stdin:lines()
local _lineno = 0
local getline = function()
local line = _getline()
if line ~= nil then
_lineno = _lineno + 1
end
return line
end
local lineno = fu... | 19.215054 | 83 | 0.677112 |
7d8586589ae688b903454c33cd9db8589886af27 | 288 | lua | Lua | scripts/filters/init.lua | nanderv/heatshields | 4953100b64f31c8e561d7ad44eb2c14c243dd8bd | [
"BSD-3-Clause"
] | null | null | null | scripts/filters/init.lua | nanderv/heatshields | 4953100b64f31c8e561d7ad44eb2c14c243dd8bd | [
"BSD-3-Clause"
] | null | null | null | scripts/filters/init.lua | nanderv/heatshields | 4953100b64f31c8e561d7ad44eb2c14c243dd8bd | [
"BSD-3-Clause"
] | null | null | null | local a = core.filter.add
a("ship_component", { "componentType", "shipNumber", "position" })
a("massSoure", {"oX", "oY", "mass"})
a("orbital", {"oX", "oY", "dx", "dy", "ax", "ay", "mass"})
a("ship", {"isShip"})
a("planet", {"isPlanet"})
a("star", {"isStar"})
a("fuelTank", {"isFuelTank"}) | 36 | 66 | 0.565972 |
2c8a92dd2ff54199969492778a2b81a81cd5182d | 533 | py | Python | serpapi/google_search_results.py | BarryByers349/google-search-results-python | 33fefced052f0afadd6f497bad6e243adb3bd34b | [
"MIT"
] | 1 | 2020-03-16T01:09:45.000Z | 2020-03-16T01:09:45.000Z | serpapi/google_search_results.py | BarryByers349/google-search-results-python | 33fefced052f0afadd6f497bad6e243adb3bd34b | [
"MIT"
] | 1 | 2021-04-20T01:54:53.000Z | 2021-04-20T01:54:53.000Z | serpapi/google_search_results.py | BarryByers349/google-search-results-python | 33fefced052f0afadd6f497bad6e243adb3bd34b | [
"MIT"
] | null | null | null | from serpapi.serp_api_client import *
class GoogleSearchResults(SerpApiClient):
"""GoogleSearchResults enables to search google and parse the result.
```python
from serpapi.google_search_results import GoogleSearchResults
query = GoogleSearchResults({"q": "coffee", "location": "Austin,Texas"})
data... | 33.3125 | 77 | 0.727955 |
a12035c7c5155da0c9a7cd9ed06991f801fae9df | 578 | ts | TypeScript | src/frame/visual/roomInf/type.ts | Ureimu/manual-screeps | eb9f537fb38f56f4455567dff43a88c6c2409131 | [
"Unlicense"
] | null | null | null | src/frame/visual/roomInf/type.ts | Ureimu/manual-screeps | eb9f537fb38f56f4455567dff43a88c6c2409131 | [
"Unlicense"
] | null | null | null | src/frame/visual/roomInf/type.ts | Ureimu/manual-screeps | eb9f537fb38f56f4455567dff43a88c6c2409131 | [
"Unlicense"
] | null | null | null | declare global {
interface RoomMemory {
stats: {
upgradeSpeed: string;
creepNum: number;
creepBodySizeInSpawnQueue: {
[key: string]: number;
};
ticksToUpgrade: string;
};
}
namespace NodeJS {
interface Globa... | 22.230769 | 43 | 0.415225 |
b0b5780133096a70f82c57c79479b6261cb928ba | 893 | py | Python | training.py | luish18/aula_de_ambientes_turing | 747c28b34a5bd19ed51c78c8845208982cb71caa | [
"Unlicense"
] | null | null | null | training.py | luish18/aula_de_ambientes_turing | 747c28b34a5bd19ed51c78c8845208982cb71caa | [
"Unlicense"
] | null | null | null | training.py | luish18/aula_de_ambientes_turing | 747c28b34a5bd19ed51c78c8845208982cb71caa | [
"Unlicense"
] | null | null | null | from stable_baselines3.ppo.ppo import PPO
from snake_ruim.envs.snake_ruim import snake_env
import gym
def main():
#creating env
env = gym.make("SnakeRuim-v0", size=20)
#creating and training model
model = PPO("MultiInputPolicy", env, verbose=1).learn(500000)
# Test the trained agent
obs = e... | 27.060606 | 65 | 0.608063 |
b2a404aacefa2a4ddf0ece264bd7c5866901a048 | 779 | css | CSS | src/ChatScreen.css | lakshh07/tinder-clone | c4254306b8d11fe1949db97f82ccadc872410aa7 | [
"MIT"
] | null | null | null | src/ChatScreen.css | lakshh07/tinder-clone | c4254306b8d11fe1949db97f82ccadc872410aa7 | [
"MIT"
] | null | null | null | src/ChatScreen.css | lakshh07/tinder-clone | c4254306b8d11fe1949db97f82ccadc872410aa7 | [
"MIT"
] | null | null | null | .chatScreen_chat {
margin-left: 10px;
background-color: lightgray;
padding: 15px;
border-radius: 20px;
}
.chatScreen {
padding-bottom: 40px;
}
.chatScreen_chatUser {
margin-left: auto;
padding: 15px;
background-color: #29b3cd;
color: white;
border-radius: 20px;
}
.chatScreen_timestamp {
text-align... | 15.897959 | 34 | 0.681643 |
4db1a08640be1d3ae79665423a39e9d088c4b5be | 1,730 | cs | C# | Obscur.Core/Cryptography/KeyDerivation/KdfInformationStore.cs | xorxornop/ObscurCore | 198e3b41fd85250ffa07c6c30616432074908445 | [
"Apache-2.0"
] | 3 | 2016-09-06T20:31:43.000Z | 2019-06-13T00:21:55.000Z | Obscur.Core/Cryptography/KeyDerivation/KdfInformationStore.cs | zenith-nz/ObscurCore | 198e3b41fd85250ffa07c6c30616432074908445 | [
"Apache-2.0"
] | null | null | null | Obscur.Core/Cryptography/KeyDerivation/KdfInformationStore.cs | zenith-nz/ObscurCore | 198e3b41fd85250ffa07c6c30616432074908445 | [
"Apache-2.0"
] | 3 | 2017-11-01T05:26:56.000Z | 2018-03-06T19:33:20.000Z | //
// Copyright 2013 Matthew Ducker
//
// 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 applica... | 40.232558 | 106 | 0.653179 |
dc02116e62d24d63faa40822f4de2f2f7c58368f | 868 | gemspec | Ruby | local_tunnel.gemspec | lloeki/localtunnel-rb | 4c012495ffcc7be9476ff559d7526704791663f4 | [
"BSD-3-Clause"
] | 1 | 2017-12-08T16:33:02.000Z | 2017-12-08T16:33:02.000Z | local_tunnel.gemspec | lloeki/local_tunnel | 4c012495ffcc7be9476ff559d7526704791663f4 | [
"BSD-3-Clause"
] | null | null | null | local_tunnel.gemspec | lloeki/local_tunnel | 4c012495ffcc7be9476ff559d7526704791663f4 | [
"BSD-3-Clause"
] | null | null | null | # frozen_string_literal: true
Gem::Specification.new do |s|
s.name = 'local_tunnel'
s.version = '0.2.0'
s.licenses = ['3BSD']
s.summary = 'Expose yourself to the world from Ruby'
s.authors = ['Loic Nageleisen']
s.email = 'loic.nageleisen@gmail.com'
s.bindir = 'bin'... | 33.384615 | 71 | 0.629032 |
b18dff3e93d1d1cf652430d972246f3905bb1fda | 2,482 | swift | Swift | src/xcode/ENA/ENA/Source/Scenes/Checkin/Overview/Cells/__tests__/CheckinCellModelTests.swift | ssp/cwa-app-ios | e40534ba11c72144e11dffa3ca72e5e64c09ef29 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/xcode/ENA/ENA/Source/Scenes/Checkin/Overview/Cells/__tests__/CheckinCellModelTests.swift | ssp/cwa-app-ios | e40534ba11c72144e11dffa3ca72e5e64c09ef29 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/xcode/ENA/ENA/Source/Scenes/Checkin/Overview/Cells/__tests__/CheckinCellModelTests.swift | ssp/cwa-app-ios | e40534ba11c72144e11dffa3ca72e5e64c09ef29 | [
"Apache-2.0",
"MIT"
] | null | null | null | ////
// 🦠 Corona-Warn-App
//
import XCTest
@testable import ENA
class CheckinCellModelTests: XCTestCase {
func testGIVEN_CheckInCellModel_THEN_InitialStateIsAsExpected() {
// GIVEN
let checkin = Checkin.mock(
id: 0,
traceLocationDescription: "Sportstudio",
traceLocationAddress: "Musterstraße 1a, 01234... | 32.657895 | 113 | 0.800161 |
c6b4f11b30af14592615d05eb0ac498471e97e29 | 10,078 | java | Java | src/model/agent/DecisionContext.java | epedroni/crime-prevention-model | 895b76f1b62b0ea62f478fbaab73bcc9eda5d268 | [
"MIT"
] | null | null | null | src/model/agent/DecisionContext.java | epedroni/crime-prevention-model | 895b76f1b62b0ea62f478fbaab73bcc9eda5d268 | [
"MIT"
] | null | null | null | src/model/agent/DecisionContext.java | epedroni/crime-prevention-model | 895b76f1b62b0ea62f478fbaab73bcc9eda5d268 | [
"MIT"
] | null | null | null | package model.agent;
import java.util.List;
import java.util.logging.Logger;
import model.Model;
import model.Parameters;
import model.action.Direction;
import model.pathfinding.PathFinder;
import model.world.Cell;
import model.world.WorldWrapper;
import utils.Utils;
/**
* This class provides a number of helper met... | 37.887218 | 129 | 0.649236 |
2eb36ffce155c9e8a8ee7b4d63d20f2b7fd2d75e | 9,245 | rs | Rust | src/frontend/ui/conrod_ui.rs | itadinanta/rust-oids | af8151d5ff182011cfff4273500f314048741988 | [
"Apache-2.0"
] | 159 | 2016-08-22T12:13:04.000Z | 2022-02-08T08:53:54.000Z | src/frontend/ui/conrod_ui.rs | itadinanta/rust-oids | af8151d5ff182011cfff4273500f314048741988 | [
"Apache-2.0"
] | 10 | 2017-06-13T21:26:34.000Z | 2020-01-14T12:45:36.000Z | src/frontend/ui/conrod_ui.rs | itadinanta/rust-oids | af8151d5ff182011cfff4273500f314048741988 | [
"Apache-2.0"
] | 8 | 2017-02-26T03:41:48.000Z | 2022-01-17T18:41:21.000Z | use super::conrod_gfx;
use super::{theme, Error, Screen};
use app;
use conrod::widget::button;
use conrod::widget::text;
use conrod::{self, event, widget, Colorable, Labelable, Positionable, Sizeable, Widget};
use core::resource::ResourceLoader;
use frontend::render::formats;
use gfx::handle::{RenderTargetView, ShaderR... | 30.511551 | 115 | 0.641644 |
b954ef3a2b1569c0f6d6bc278cdf819e54014ab6 | 5,381 | php | PHP | app/views/partials/notices.php | unikent/of-course | 10200d749dc6bbd315d68951555946e8b02026a3 | [
"MIT"
] | null | null | null | app/views/partials/notices.php | unikent/of-course | 10200d749dc6bbd315d68951555946e8b02026a3 | [
"MIT"
] | 160 | 2015-01-05T11:35:56.000Z | 2020-01-06T11:28:27.000Z | app/views/partials/notices.php | unikent/of-course | 10200d749dc6bbd315d68951555946e8b02026a3 | [
"MIT"
] | null | null | null | <?php if(isset($preview) && $preview == true):?>
<div class="alert alert-warning">
You are currently viewing a preview of revision <?php echo $course->revision_id; ?>. This is preview data ONLY and is not representative of any course offered by this institution.
</div>
<?php endif; ?>
<?php if ( defined('CLEARING')... | 55.474227 | 264 | 0.687976 |
0306e1fbf483c740e77ce3b3c9d1113624148285 | 130 | sh | Shell | build.sh | MakingL/rdb | 7ca46642b540174dae8a92b91e967809697a13c4 | [
"Apache-2.0"
] | 121 | 2022-02-12T18:56:47.000Z | 2022-03-31T16:44:42.000Z | build.sh | MakingL/rdb | 7ca46642b540174dae8a92b91e967809697a13c4 | [
"Apache-2.0"
] | 1 | 2022-03-30T11:14:22.000Z | 2022-03-30T11:14:22.000Z | build.sh | MakingL/rdb | 7ca46642b540174dae8a92b91e967809697a13c4 | [
"Apache-2.0"
] | 22 | 2022-02-13T09:10:28.000Z | 2022-03-31T16:19:48.000Z | #!/usr/bin/env bash
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o target/rdb-linux-amd64 ./
go build -o target/rdb-darwin ./ | 32.5 | 76 | 0.730769 |
695cac9e2c446d4feabddfc5e129816ecfffcfee | 324 | rb | Ruby | spec/shared_contexts/feature_helpers.rb | ilpoldo/user_plane | a7cb5b6cc81bf2e346ced1ea825782bb99c5922b | [
"MIT"
] | null | null | null | spec/shared_contexts/feature_helpers.rb | ilpoldo/user_plane | a7cb5b6cc81bf2e346ced1ea825782bb99c5922b | [
"MIT"
] | null | null | null | spec/shared_contexts/feature_helpers.rb | ilpoldo/user_plane | a7cb5b6cc81bf2e346ced1ea825782bb99c5922b | [
"MIT"
] | null | null | null | RSpec.shared_context 'feature_helpers' do
# TODO: find a better way to mock being signed in
def sign_in(account)
visit polymorphic_path([User::SignIn.new], action: :new)
fill_in 'Email', with: account.email.address
fill_in 'Password', with: account.email.password
click_button 'Sign In'
end
... | 24.923077 | 60 | 0.712963 |
ce13b389ff02ef749aa54b598384476f8e384fdb | 6,210 | lua | Lua | gamemodes/ix_cotz/plugins/charcreation/sh_defs.lua | kristofferth/cotz | 7d76c0214fbe8bbda6a8996697154d0feaf50f44 | [
"MIT"
] | 3 | 2021-12-15T12:49:33.000Z | 2022-01-15T16:15:40.000Z | gamemodes/ix_cotz/plugins/charcreation/sh_defs.lua | kristofferth/cotz | 7d76c0214fbe8bbda6a8996697154d0feaf50f44 | [
"MIT"
] | 1 | 2022-02-10T19:12:08.000Z | 2022-02-10T19:36:02.000Z | gamemodes/ix_cotz/plugins/charcreation/sh_defs.lua | kristofferth/cotz | 7d76c0214fbe8bbda6a8996697154d0feaf50f44 | [
"MIT"
] | 3 | 2021-12-07T00:34:43.000Z | 2021-12-23T15:37:44.000Z | PLUGIN.stalkernames = {
"Alex",
"Alexander",
"Alexei",
"Anatoly",
"Andrei",
"Andryuha",
"Anton",
"Arkasha",
"Arthur",
"Artyom",
"Bodya",
"Bogdan",
"Borka",
"Borya",
"Boryan",
"Danila",
"Danko",
"Danya",
"Denis",
"Dima",
"Dimka",
"Dimon",
"Dimuha",
"Dmitro",
"Dmitry",
"Edik",
"Egor",
"Egorka... | 13.648352 | 53 | 0.615298 |
2c44f8c820705815b98b0cfa11873deeeb859b47 | 1,445 | py | Python | tobiko/openstack/nova/__init__.py | 4383/tobiko | f8e6916db890021fa17ddbfc5e6007a25093c8cb | [
"Apache-2.0"
] | null | null | null | tobiko/openstack/nova/__init__.py | 4383/tobiko | f8e6916db890021fa17ddbfc5e6007a25093c8cb | [
"Apache-2.0"
] | null | null | null | tobiko/openstack/nova/__init__.py | 4383/tobiko | f8e6916db890021fa17ddbfc5e6007a25093c8cb | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Red Hat
#
# 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 ... | 38.026316 | 78 | 0.815917 |
57fe8ddc63a4a1730faa16e3a5be139000897c69 | 1,934 | php | PHP | database/seeds/DatabaseSeeder.php | KheangLov/hr_project | 6038f90b32b852ff6ade214421a37fc9f13a1e69 | [
"MIT"
] | null | null | null | database/seeds/DatabaseSeeder.php | KheangLov/hr_project | 6038f90b32b852ff6ade214421a37fc9f13a1e69 | [
"MIT"
] | 4 | 2021-02-02T19:24:16.000Z | 2022-02-19T06:28:21.000Z | database/seeds/DatabaseSeeder.php | KheangLov/hr_project | 6038f90b32b852ff6ade214421a37fc9f13a1e69 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Seeder;
use Faker\Generator as Faker;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run(Faker $faker)
{
// DB::table('roles')->insert([
// ['name' => 'admin'],
/... | 27.239437 | 88 | 0.380558 |
e433f1300e83330e95f43a3df457f829233b7b09 | 4,940 | swift | Swift | Tests/ConsolidateTests/ConsolidatableTests.swift | SoftwareEngineerChris/Consolidate | 1e815d732e2a1f55eb5743a2f4b094f0760a4852 | [
"MIT"
] | null | null | null | Tests/ConsolidateTests/ConsolidatableTests.swift | SoftwareEngineerChris/Consolidate | 1e815d732e2a1f55eb5743a2f4b094f0760a4852 | [
"MIT"
] | null | null | null | Tests/ConsolidateTests/ConsolidatableTests.swift | SoftwareEngineerChris/Consolidate | 1e815d732e2a1f55eb5743a2f4b094f0760a4852 | [
"MIT"
] | null | null | null | //
// ConsolidatableTests.swift
// Consolidate
//
// Created by Chris Hargreaves on 28/09/2019.
// Copyright © 2019 Software Engineering Limited. All rights reserved.
//
import XCTest
@testable import Consolidate
final class ConsolidatableTests: XCTestCase {
// MARK: Consolidatable Protocol Implementatio... | 35.539568 | 167 | 0.615182 |
a9de3270798ff41076496e6aa096310f30084f8d | 6,955 | php | PHP | resources/views/layouts/app.blade.php | unknownrocks619/kindboxdemo | d27408231eab895e391f077b753179bb7e02ad5a | [
"MIT"
] | null | null | null | resources/views/layouts/app.blade.php | unknownrocks619/kindboxdemo | d27408231eab895e391f077b753179bb7e02ad5a | [
"MIT"
] | null | null | null | resources/views/layouts/app.blade.php | unknownrocks619/kindboxdemo | d27408231eab895e391f077b753179bb7e02ad5a | [
"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, shrink-to-fit=no"
/>
<meta name="description" content="" />
<meta name="author" content="" />... | 30.371179 | 122 | 0.501078 |
cdc7bc893e60480fb148c063393f27e4239f314d | 10,716 | cs | C# | message-builder-xml/Test/Ca/Infoway/Messagebuilder/Xml/CodedTypeEvaluatorTest.cs | freddycoder/message-builder-dotnet | 3d0038560d5c02d8c6c460fa3617590ba213c275 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-02-22T07:03:20.000Z | 2021-02-22T07:03:20.000Z | message-builder-xml/Test/Ca/Infoway/Messagebuilder/Xml/CodedTypeEvaluatorTest.cs | freddycoder/message-builder-dotnet | 3d0038560d5c02d8c6c460fa3617590ba213c275 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | message-builder-xml/Test/Ca/Infoway/Messagebuilder/Xml/CodedTypeEvaluatorTest.cs | freddycoder/message-builder-dotnet | 3d0038560d5c02d8c6c460fa3617590ba213c275 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-11-01T19:13:43.000Z | 2021-05-22T02:17:38.000Z | /**
* Copyright 2013 Canada Health Infoway, 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
*
* Unless required by... | 57.924324 | 83 | 0.757559 |
db7ac32b6a0141646195381ef095fc465b3e078f | 3,151 | php | PHP | backend/views/file/index.php | atmanegara/appperizinan | 8dc6b44539038f129de4856d0ab6818f86ad94c3 | [
"BSD-3-Clause"
] | null | null | null | backend/views/file/index.php | atmanegara/appperizinan | 8dc6b44539038f129de4856d0ab6818f86ad94c3 | [
"BSD-3-Clause"
] | null | null | null | backend/views/file/index.php | atmanegara/appperizinan | 8dc6b44539038f129de4856d0ab6818f86ad94c3 | [
"BSD-3-Clause"
] | null | null | null | <?php
use yii\helpers\Html;
use yii\grid\GridView;
use backend\models\FileJenis;
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'File Berita';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="ejafung-file-index">
<div class="panel">
<div class="pane... | 37.511905 | 190 | 0.357664 |
b0d8453ec79c4b633a4c92c62d47e7227b839085 | 516 | py | Python | src/atcoder/abc174/d/sol_2.py | kagemeka/competitive-programming | c70fe481bcd518f507b885fc9234691d8ce63171 | [
"MIT"
] | 1 | 2021-07-11T03:20:10.000Z | 2021-07-11T03:20:10.000Z | src/atcoder/abc174/d/sol_2.py | kagemeka/competitive-programming | c70fe481bcd518f507b885fc9234691d8ce63171 | [
"MIT"
] | 39 | 2021-07-10T05:21:09.000Z | 2021-12-15T06:10:12.000Z | src/atcoder/abc174/d/sol_2.py | kagemeka/competitive-programming | c70fe481bcd518f507b885fc9234691d8ce63171 | [
"MIT"
] | null | null | null | import typing
import sys
import numpy as np
import numba as nb
@nb.njit((nb.b1[:], ), cache=True)
def solve(c: np.ndarray) -> typing.NoReturn:
n = len(c)
a, b = np.sum(c == 1), 0
res = max(a, b)
for i in range(n):
if c[i] == 1:
a -= 1
else:
b += 1
res = min(res, max(a, b))
print(... | 16.645161 | 47 | 0.552326 |
640db9e00882d32b07f9600a43154621b8d14756 | 3,613 | py | Python | data_processor/mit.py | thgcode/synthizer | 50ff649e0651441bf67f986983e71c5ce6de239c | [
"Unlicense"
] | 1 | 2021-02-06T07:29:35.000Z | 2021-02-06T07:29:35.000Z | data_processor/mit.py | thgcode/synthizer | 50ff649e0651441bf67f986983e71c5ce6de239c | [
"Unlicense"
] | null | null | null | data_processor/mit.py | thgcode/synthizer | 50ff649e0651441bf67f986983e71c5ce6de239c | [
"Unlicense"
] | null | null | null | from collections import namedtuple
import re
import glob
import os.path
import numpy as np
import scipy.io.wavfile as wavfile
import scipy.signal as signal
import math
import paths
from minimum_phase import minimum_phase
files = glob.glob(os.path.join(paths.data_path, "elev*", "L*.wav"), recursive=True)
def to_coords... | 28.226563 | 137 | 0.674785 |
c4ab508fac2216484fea97acf3e5329a52abb5f6 | 2,056 | swift | Swift | Tests/MarkdownGeneratorTests/MarkdownResizableImageLinkTests.swift | yyokii/UIPreviewCatalog | ccf25d17d3629488d1fb6375df3fd46736fe6810 | [
"MIT"
] | 18 | 2021-09-25T05:41:28.000Z | 2022-03-29T18:26:32.000Z | Tests/MarkdownGeneratorTests/MarkdownResizableImageLinkTests.swift | yyokii/UIPreviewCatalog | ccf25d17d3629488d1fb6375df3fd46736fe6810 | [
"MIT"
] | 1 | 2021-09-25T03:16:26.000Z | 2021-09-26T05:11:56.000Z | Tests/MarkdownGeneratorTests/MarkdownResizableImageLinkTests.swift | yyokii/UIPreviewCatalog | ccf25d17d3629488d1fb6375df3fd46736fe6810 | [
"MIT"
] | 2 | 2021-11-10T12:31:03.000Z | 2022-01-14T10:48:47.000Z | //
// MarkdownResizableImageLinkTests.swift
//
//
// Created by Higashihara Yoki on 2021/09/23.
//
import XCTest
@testable import MarkdownGenerator
class MarkdownResizableImageLinkTests: XCTestCase {
func testGenerateContent_WhenInputGiven_OutputValidMarkdownString() {
// Given
l... | 34.266667 | 107 | 0.565661 |
7595db70ac5875cb24a15be883739678a175e0b4 | 155 | css | CSS | src/widgets/header/ui/style.module.css | yesnoruly/loripsum-generator | 743601207bf26d79e4cd626d273a267f6492ea66 | [
"MIT"
] | 2 | 2021-11-17T19:16:07.000Z | 2021-12-11T17:01:33.000Z | src/widgets/header/ui/style.module.css | yesnoruly/loripsum-generator | 743601207bf26d79e4cd626d273a267f6492ea66 | [
"MIT"
] | 15 | 2021-10-30T18:20:59.000Z | 2022-02-14T14:16:02.000Z | src/widgets/header/ui/style.module.css | yesnoruly/loripsum-generator | 743601207bf26d79e4cd626d273a267f6492ea66 | [
"MIT"
] | null | null | null | .header {
display: flex;
justify-content: flex-end;
padding-bottom: 30px;
}
@media (max-width: 768px) {
.header {
padding-bottom: 15px;
}
}
| 12.916667 | 28 | 0.619355 |
c6816f239c0dba42a24bdbd74f14208134d77ec4 | 1,033 | css | CSS | css/recaudio.css | jkauramaki/ratesounds | 4283e8c5386010a493269c8f88e7c0b2b1e25e33 | [
"MIT"
] | null | null | null | css/recaudio.css | jkauramaki/ratesounds | 4283e8c5386010a493269c8f88e7c0b2b1e25e33 | [
"MIT"
] | null | null | null | css/recaudio.css | jkauramaki/ratesounds | 4283e8c5386010a493269c8f88e7c0b2b1e25e33 | [
"MIT"
] | null | null | null | #buttons {
max-width: 100%;
text-align: center;
padding: 20px;
position: relative;
}
#sentencePlaceholder {
max-width: 100%;
text-align: center;
font-size: 24px;
padding: 100px;
position: relative;
}
#start {
background-color: green;
border-width: medium;
border-color: black;
color: white... | 17.508475 | 28 | 0.642788 |
ff44b6002b43773ac97d34767c77c52c5b1be7da | 30 | py | Python | src/video2npz/visbeat3/visbeat3/ADefines.py | wzk1015/video-bgm-generation | cf46c1babbe8f127f2f7605878d9b0aa7850f16d | [
"MIT"
] | 90 | 2021-10-21T09:52:47.000Z | 2022-03-30T14:12:05.000Z | src/video2npz/visbeat3/build/lib/visbeat3/ADefines.py | wzk1015/video-bgm-generation | cf46c1babbe8f127f2f7605878d9b0aa7850f16d | [
"MIT"
] | 7 | 2021-11-08T05:53:12.000Z | 2022-02-28T12:39:02.000Z | src/video2npz/visbeat3/build/lib/visbeat3/ADefines.py | wzk1015/video-bgm-generation | cf46c1babbe8f127f2f7605878d9b0aa7850f16d | [
"MIT"
] | 14 | 2021-11-17T05:43:28.000Z | 2022-03-22T14:47:40.000Z | # AD_DEBUG = 1;
AD_DEBUG = 0; | 10 | 15 | 0.6 |
79869eade619497dd73dada82391a8fd800a5db9 | 6,438 | php | PHP | resources/views/layouts/pdf/prueba.blade.php | txuspy/GIE | 34125569bdf40875c19403309d4dcfda0c4706cc | [
"MIT"
] | null | null | null | resources/views/layouts/pdf/prueba.blade.php | txuspy/GIE | 34125569bdf40875c19403309d4dcfda0c4706cc | [
"MIT"
] | null | null | null | resources/views/layouts/pdf/prueba.blade.php | txuspy/GIE | 34125569bdf40875c19403309d4dcfda0c4706cc | [
"MIT"
] | null | null | null | @extends('layouts.pdf')
@section('content')
<div class="page">
<br/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mi diam, scelerisque in turpis nec, commodo finibus nisi. Maecenas quam nulla, tempor eget eleifend vel, ornare a justo. Nam eget tortor sed nibh commodo semper in at... | 321.9 | 767 | 0.795744 |
2d18be61a6b5744d77bb41575d23c423444cce47 | 842 | css | CSS | lib/style.css | lacostenycoder/chrome-quick-links | 2407c83d1fff3b256f927d340b2a2d63723a2bb8 | [
"MIT"
] | null | null | null | lib/style.css | lacostenycoder/chrome-quick-links | 2407c83d1fff3b256f927d340b2a2d63723a2bb8 | [
"MIT"
] | 7 | 2020-03-30T23:41:56.000Z | 2021-03-28T23:11:27.000Z | lib/style.css | lacostenycoder/chrome-quick-links | 2407c83d1fff3b256f927d340b2a2d63723a2bb8 | [
"MIT"
] | 2 | 2020-03-30T01:28:12.000Z | 2020-12-30T06:13:18.000Z | body {
background-color: #567;
color: #fff;
}
a, a:hover, a:visited, u {
/* color: #fff; */
text-decoration: none !important;
}
.url {
margin-left: 10px;
}
.text-xs {
font-size: 1em !important;
padding: 1px;
cursor: pointer;
}
label {
margin: 4px;
}
input {
margin-top: 4px;
}
.tb {
margin-left: 2px;
m... | 11.859155 | 34 | 0.637767 |
6af43e227a0c36046e41473aa10d5fe89ca1080c | 123 | h | C | Include/runtime/attested_config.h | andersgjerdrum/diggi | c072911c439758b6f1bb1d9972c6fc32aa49d560 | [
"Intel",
"CC-BY-3.0",
"MIT-CMU"
] | null | null | null | Include/runtime/attested_config.h | andersgjerdrum/diggi | c072911c439758b6f1bb1d9972c6fc32aa49d560 | [
"Intel",
"CC-BY-3.0",
"MIT-CMU"
] | null | null | null | Include/runtime/attested_config.h | andersgjerdrum/diggi | c072911c439758b6f1bb1d9972c6fc32aa49d560 | [
"Intel",
"CC-BY-3.0",
"MIT-CMU"
] | null | null | null | #ifndef ATTESTED_CONFIG_H
#define ATTESTED_CONFIG_H
extern "C" const char* static_attested_diggi_configuration;
#endif | 15.375 | 59 | 0.829268 |
c3b79837b6aba2346c14d349447bea75e6c4e218 | 453 | cs | C# | src/ZeroLog/ConfigResolvers/IConfigurationResolver.cs | y-skindersky/ZeroLog | 48eab42c66bc09c224b22733ee067b4e2508be74 | [
"MIT"
] | null | null | null | src/ZeroLog/ConfigResolvers/IConfigurationResolver.cs | y-skindersky/ZeroLog | 48eab42c66bc09c224b22733ee067b4e2508be74 | [
"MIT"
] | null | null | null | src/ZeroLog/ConfigResolvers/IConfigurationResolver.cs | y-skindersky/ZeroLog | 48eab42c66bc09c224b22733ee067b4e2508be74 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
using ZeroLog.Appenders;
namespace ZeroLog.ConfigResolvers
{
public interface IConfigurationResolver : IDisposable
{
void Initialize(Encoding encoding);
Level ResolveLevel(string name);
IList<IAppender> ResolveAppender... | 25.166667 | 78 | 0.739514 |
14a89a45ee8fdbdb95fca9ba07a24580603f0bcf | 1,158 | ts | TypeScript | _angular/src/app/components/pages/product-photo/product-photo.module.ts | cheerokee/code_shopping | f204fc58b518391158fa7d5c939271e7e03a43d8 | [
"MIT"
] | null | null | null | _angular/src/app/components/pages/product-photo/product-photo.module.ts | cheerokee/code_shopping | f204fc58b518391158fa7d5c939271e7e03a43d8 | [
"MIT"
] | null | null | null | _angular/src/app/components/pages/product-photo/product-photo.module.ts | cheerokee/code_shopping | f204fc58b518391158fa7d5c939271e7e03a43d8 | [
"MIT"
] | null | null | null | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {ProductPhotoDeleteModalComponent} from "./product-photo-delete-modal/product-photo-delete-modal.component";
import {ProductPhotoEditModalComponent} from "./product-photo-edit-modal/product-photo-edit-modal.component";
imp... | 39.931034 | 115 | 0.743523 |
a31a7fe0f36f6bb01d2ca2a43fc933cfddbd9365 | 1,425 | java | Java | libraries/BaseWidget/src/main/java/com/daolion/view/dialog/DialogDescription.java | lixiaodaoaaa/ReadHeadIDCardDemo | 632c3629ca048df6bdf4231895dfef41127b4cc4 | [
"Apache-2.0"
] | 8 | 2020-03-08T14:10:49.000Z | 2022-03-07T07:44:26.000Z | libraries/BaseWidget/src/main/java/com/daolion/view/dialog/DialogDescription.java | lixiaodaoaaa/ReadHeadIDCardDemo | 632c3629ca048df6bdf4231895dfef41127b4cc4 | [
"Apache-2.0"
] | null | null | null | libraries/BaseWidget/src/main/java/com/daolion/view/dialog/DialogDescription.java | lixiaodaoaaa/ReadHeadIDCardDemo | 632c3629ca048df6bdf4231895dfef41127b4cc4 | [
"Apache-2.0"
] | null | null | null | package com.daolion.view.dialog;
/**
* Created by lixiaodaoaaa on 2016/11/2.
*/
/**
* dialog 的描述 类
*/
public class DialogDescription {
private String title;
private String dialogContent;
private String positiveText;
private String negativeText;
public DialogDescription(String title, String d... | 22.619048 | 108 | 0.66386 |
2004de956813633a76cca63c167d99d5f5688e96 | 3,854 | py | Python | tests/test_core.py | mohmum/s3tree | cbd1b798bcd5c203e61eed9b040c246ca5580970 | [
"MIT"
] | null | null | null | tests/test_core.py | mohmum/s3tree | cbd1b798bcd5c203e61eed9b040c246ca5580970 | [
"MIT"
] | null | null | null | tests/test_core.py | mohmum/s3tree | cbd1b798bcd5c203e61eed9b040c246ca5580970 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for core module."""
import json
from moto import mock_s3
from pytest import raises, fail
from six import string_types
import s3tree
from .helpers import (DUMMY_BUCKET_NAME, DUMMY_ACCESS_KEY_ID,
DUMMY_SECRET_ACCESS_KEY, generate_dummy_bucket)
... | 34.106195 | 79 | 0.682927 |
6b28c0b2b0f5ae88c58053d670c280e3ef9e13aa | 277 | js | JavaScript | models/track.model.js | AfriDesignCommunity/AfriApi | 35dd8c5610b0d28fc606bb830bd9e2c2e48ad8a5 | [
"MIT"
] | null | null | null | models/track.model.js | AfriDesignCommunity/AfriApi | 35dd8c5610b0d28fc606bb830bd9e2c2e48ad8a5 | [
"MIT"
] | 8 | 2020-12-30T10:12:59.000Z | 2020-12-30T10:25:30.000Z | models/track.model.js | ChapAfric-Community/node-api | 35dd8c5610b0d28fc606bb830bd9e2c2e48ad8a5 | [
"MIT"
] | null | null | null | const mongoose = require('mongoose');
const trackSchema = mongoose.Schema({
title: {type: String, required: true},
description: {type: String, required: true},
photo: {type: String}
});
const Track = mongoose.model('tracks', trackSchema);
module.exports = Track; | 25.181818 | 52 | 0.689531 |
7f8b4e6c71d9e877859aad9b78eb5bb698fd98e4 | 491 | php | PHP | mod/thewire/views/default/resources/thewire/reply.php | iionly/Elgg | 336e7c1353dc95de96f435cd968cbef9c9253ced | [
"MIT"
] | 1 | 2016-02-09T20:45:59.000Z | 2016-02-09T20:45:59.000Z | mod/thewire/views/default/resources/thewire/reply.php | iionly/Elgg | 336e7c1353dc95de96f435cd968cbef9c9253ced | [
"MIT"
] | null | null | null | mod/thewire/views/default/resources/thewire/reply.php | iionly/Elgg | 336e7c1353dc95de96f435cd968cbef9c9253ced | [
"MIT"
] | null | null | null | <?php
/**
* Reply page
*/
$guid = elgg_extract('guid', $vars);
elgg_entity_gatekeeper($guid, 'object', 'thewire');
/* @var $post ElggWire */
$post = get_entity($guid);
elgg_push_entity_breadcrumbs($post, true);
$content = elgg_view('thewire/reply', ['post' => $post]);
$content .= elgg_view_form('thewire/add', [
... | 18.884615 | 57 | 0.639511 |
188acef6ac7f117fe6809337441408d25d4220c4 | 2,138 | swift | Swift | Snoo/SnooOperation.swift | Monolith13/beam_xcuitest_demo | 1d7e3c18a9ba3b05ad3dc4b9cce3f8f05f20c700 | [
"Unlicense"
] | 1 | 2018-08-28T12:51:18.000Z | 2018-08-28T12:51:18.000Z | Snoo/SnooOperation.swift | Monolith13/beam_xcuitest_demo | 1d7e3c18a9ba3b05ad3dc4b9cce3f8f05f20c700 | [
"Unlicense"
] | 1 | 2019-09-19T15:40:13.000Z | 2020-01-14T13:26:10.000Z | Snoo/SnooOperation.swift | Monolith13/beam_xcuitest_demo | 1d7e3c18a9ba3b05ad3dc4b9cce3f8f05f20c700 | [
"Unlicense"
] | 1 | 2020-08-16T10:56:51.000Z | 2020-08-16T10:56:51.000Z | //
// SnooOperation.swift
// Snoo
//
// Created by Robin Speijer on 09-07-15.
// Copyright © 2015 Awkward. All rights reserved.
//
import UIKit
open class SnooOperation: Operation {
open var error: Error?
fileprivate var operationIsExecuting: Bool = false {
willSet {
self.wil... | 23.494505 | 123 | 0.598223 |
8e8f7950f5791a214f52f305661fea8d96a94317 | 743 | js | JavaScript | Java/FamilleModele.js | OusmanaTraore/NodeAPI | f02914ee52fdd1049d04ba21ceb82aa7612d5055 | [
"MIT"
] | null | null | null | Java/FamilleModele.js | OusmanaTraore/NodeAPI | f02914ee52fdd1049d04ba21ceb82aa7612d5055 | [
"MIT"
] | null | null | null | Java/FamilleModele.js | OusmanaTraore/NodeAPI | f02914ee52fdd1049d04ba21ceb82aa7612d5055 | [
"MIT"
] | null | null | null | ComposantFamilles={
"Pere",
"Mere",
"Fis",
"Fille",
"Petit-Fils",
"Petite-Fille",
"Arriere-Petit-Fils",
"Arriere-Petite-Fille",
"Grand-Pere",
"Grand-Mere",
"Gendre",
"Bru",
"Beau-Pere",
"Belle-Mere",
"Oncle",
"Tante",
"Grand-Oncle",
"... | 19.552632 | 57 | 0.539704 |
e701f7cc2f1b289ab2aec4a07d2f34d965412eb1 | 1,584 | php | PHP | app/Http/Controllers/Controller.php | lemonkazi/list-filter | a9b8af4b69a074f2ac8c09dc168eb72cd345d6c2 | [
"MIT"
] | null | null | null | app/Http/Controllers/Controller.php | lemonkazi/list-filter | a9b8af4b69a074f2ac8c09dc168eb72cd345d6c2 | [
"MIT"
] | null | null | null | app/Http/Controllers/Controller.php | lemonkazi/list-filter | a9b8af4b69a074f2ac8c09dc168eb72cd345d6c2 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
use View;
use Route;
class Controller extends BaseController
{
... | 25.142857 | 66 | 0.590909 |
2a2f9679f97bb5da05ccb4a307d617c06d336c65 | 8,051 | rs | Rust | safe-api/src/api/quic_endpoint.rs | SAFEShane/safe-api | c44b0180e86cebe8fea1091c2ca78b0ec75caed8 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | safe-api/src/api/quic_endpoint.rs | SAFEShane/safe-api | c44b0180e86cebe8fea1091c2ca78b0ec75caed8 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | safe-api/src/api/quic_endpoint.rs | SAFEShane/safe-api | c44b0180e86cebe8fea1091c2ca78b0ec75caed8 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 MaidSafe.net limited.
//
// This SAFE Network Software is licensed to you under the MIT license <LICENSE-MIT
// http://opensource.org/licenses/MIT> or the Modified BSD license <LICENSE-BSD
// https://opensource.org/licenses/BSD-3-Clause>, at your option. This file may not be copied,
// modified, or di... | 34.553648 | 121 | 0.587008 |
9ddd2a0f6d610e94f4bda7676b5a27d7786b9e00 | 1,674 | rs | Rust | src/api/config.rs | Squbirreland/nacos-api | fc05831a7cec2558297cd99a5bd9f76aca586e9c | [
"Apache-2.0"
] | 3 | 2021-07-30T07:24:48.000Z | 2021-10-12T11:16:15.000Z | src/api/config.rs | Squbirreland/nacos-api | fc05831a7cec2558297cd99a5bd9f76aca586e9c | [
"Apache-2.0"
] | null | null | null | src/api/config.rs | Squbirreland/nacos-api | fc05831a7cec2558297cd99a5bd9f76aca586e9c | [
"Apache-2.0"
] | 2 | 2021-07-30T08:00:34.000Z | 2021-12-05T13:00:19.000Z | use crate::{NacosConfig, util};
use crate::model::DeployConfig;
use std::error::Error;
const GET_CONFIGS: &str = "/v1/cs/configs";
const POST_CONFIGS: &str = "/v1/cs/configs";
const DELETE_CONFIGS: &str = "/v1/cs/configs";
#[derive(Clone)]
pub struct NacosConfigApi {
deploy_config: DeployConfig,
}
impl NacosConf... | 34.163265 | 112 | 0.592593 |
c4e6644b86d8ef2649eb2446f82f3ec5179b96e8 | 10,855 | sql | SQL | sql/my.sql | gifff/wheresmycourt | dd06ea00fc8f2e1acb831072d6ffb1c2431aa769 | [
"MIT"
] | 1 | 2017-03-05T06:54:34.000Z | 2017-03-05T06:54:34.000Z | sql/my.sql | gifff/wheresmycourt | dd06ea00fc8f2e1acb831072d6ffb1c2431aa769 | [
"MIT"
] | null | null | null | sql/my.sql | gifff/wheresmycourt | dd06ea00fc8f2e1acb831072d6ffb1c2431aa769 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.4.1deb2ubuntu2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: May 22, 2017 at 11:00 PM
-- Server version: 5.7.18-0ubuntu0.16.04.1
-- PHP Version: 7.0.15-0ubuntu0.16.04.4
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_C... | 30.838068 | 267 | 0.659143 |
b959d7af8b574a7e4a8b2f99959c3a7514efafbe | 8,541 | lua | Lua | game/ex/ex.lua | BAKAOLC/LuaSTG-LuaData | 6434004ea9cb6ff1105a31e93ed40c26b7665537 | [
"MIT"
] | null | null | null | game/ex/ex.lua | BAKAOLC/LuaSTG-LuaData | 6434004ea9cb6ff1105a31e93ed40c26b7665537 | [
"MIT"
] | null | null | null | game/ex/ex.lua | BAKAOLC/LuaSTG-LuaData | 6434004ea9cb6ff1105a31e93ed40c26b7665537 | [
"MIT"
] | null | null | null | -- luastg ex
ex = {}
ex.signals = {}
ex.labels = {}--由OLC添加,用于储存指向object的标签,编辑器功能
function ex.Reset()
ex.coops = {}
ex.boss = {}
ex.signals = {}
ex.stageframe = 0
ex._item1 = 0
ex.labels = {}--由OLC添加,重置ex全局变量时,顺带清除object标签
end
function ex.SetLabelToObject(label,obj)--由OLC添加,用于把一个obj添加进某个表里面,编辑器功能
ex.labe... | 18.211087 | 77 | 0.671584 |
9a74911074b16f4f1e628f80856a37f5781538a7 | 785 | rb | Ruby | lib/michigan/config.rb | bvrooman/michigan | 03b82461ad02bf1b628d89515bc702cf11c7cd4c | [
"MIT"
] | null | null | null | lib/michigan/config.rb | bvrooman/michigan | 03b82461ad02bf1b628d89515bc702cf11c7cd4c | [
"MIT"
] | null | null | null | lib/michigan/config.rb | bvrooman/michigan | 03b82461ad02bf1b628d89515bc702cf11c7cd4c | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require 'logger'
require_relative 'adaptor'
module Michigan
class Config
@default_config = {
adaptor_config: AdaptorConfig.new,
logger: Logger.new($stdout)
}
@allowed_config_keys = @default_config.keys
class << self
attr_reader :default_config, :allo... | 19.625 | 95 | 0.686624 |
f4b85604e011bc52dc4325b8272117492b689b1b | 3,553 | ts | TypeScript | src/models/Proxies.ts | JaouherK/gateway | 36620da32688fa8faa3f4b741e0a05de7e8c80c6 | [
"MIT"
] | 6 | 2019-08-23T18:36:50.000Z | 2021-05-30T14:01:04.000Z | src/models/Proxies.ts | JaouherK/gateway | 36620da32688fa8faa3f4b741e0a05de7e8c80c6 | [
"MIT"
] | 1 | 2020-05-11T11:40:33.000Z | 2020-05-11T20:44:39.000Z | src/models/Proxies.ts | JaouherK/gateway | 36620da32688fa8faa3f4b741e0a05de7e8c80c6 | [
"MIT"
] | null | null | null | import {Column, CreatedAt, DataType, Model, PrimaryKey, Table, UpdatedAt} from "sequelize-typescript";
/**
* @swagger
* components:
* schemas:
* Proxies:
* type: object
* required:
* - namespacesId
* - namespace
* - url
* - https
* - method... | 23.529801 | 102 | 0.523783 |
224f3aaedee92df751298da9572fab9d5e40baf2 | 209 | sh | Shell | buildNano.sh | eugeniomiro/arduino | 02d54378f2adbd485f6e9ee40fc6f209c2b7c57a | [
"MIT"
] | null | null | null | buildNano.sh | eugeniomiro/arduino | 02d54378f2adbd485f6e9ee40fc6f209c2b7c57a | [
"MIT"
] | null | null | null | buildNano.sh | eugeniomiro/arduino | 02d54378f2adbd485f6e9ee40fc6f209c2b7c57a | [
"MIT"
] | null | null | null | arduino-cli compile -b arduino:avr:nano:cpu=atmega328old ../timeConsole
exit_code=$?
if [ $exit_code -eq 0 ]; then
arduino-cli upload -b arduino:avr:nano:cpu=atmega328old ../timeConsole -p /dev/ttyUSB0
fi
| 34.833333 | 90 | 0.741627 |
8e53e75869b4440c9fd9c54b5ea8422d82e35cad | 698 | js | JavaScript | src/components/modules/index.js | AhmedAlihashi/Slang | 73ea6581562d8c70a3d6b548b53c925398dfa8d1 | [
"MIT"
] | null | null | null | src/components/modules/index.js | AhmedAlihashi/Slang | 73ea6581562d8c70a3d6b548b53c925398dfa8d1 | [
"MIT"
] | 1 | 2022-02-27T19:30:09.000Z | 2022-02-27T19:30:09.000Z | src/components/modules/index.js | AhmedAlihashi/Slang | 73ea6581562d8c70a3d6b548b53c925398dfa8d1 | [
"MIT"
] | null | null | null | export { default as SlangCard } from "./SlangCard";
export { default as Placeholder } from "./Placeholder";
export { default as VideoPlayer } from "./VideoPlayer";
export { default as ContentOptions } from "./ContentOptions";
export { default as SlangModal } from "./SlangModal";
//sections
export { default as CommentS... | 49.857143 | 72 | 0.749284 |
7fcd9d079a70225188b9b915ee253f5ef8aa4766 | 838 | php | PHP | resources/views/chat.blade.php | bself/vue-chat | c4398714a0dcaf70d7c36eab4cd869853b7b0c93 | [
"MIT"
] | null | null | null | resources/views/chat.blade.php | bself/vue-chat | c4398714a0dcaf70d7c36eab4cd869853b7b0c93 | [
"MIT"
] | null | null | null | resources/views/chat.blade.php | bself/vue-chat | c4398714a0dcaf70d7c36eab4cd869853b7b0c93 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Chat</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="stylesheet" type="text/css" href="{{ asset('css/app.css') }}">
</head>
<body>
<div class="container">
<div class="row" id="app">
<div class="col-md-6 offset-md-3">
<ul c... | 32.230769 | 85 | 0.625298 |
b0fa5a637e0252b2259d81f1bb3d675a4c5f256b | 2,655 | py | Python | scripts/common.py | osddeitf/handwriting-font | b4142567e9a1b3399c1e5fb202f131f2b5d2c075 | [
"DOC",
"ImageMagick"
] | null | null | null | scripts/common.py | osddeitf/handwriting-font | b4142567e9a1b3399c1e5fb202f131f2b5d2c075 | [
"DOC",
"ImageMagick"
] | null | null | null | scripts/common.py | osddeitf/handwriting-font | b4142567e9a1b3399c1e5fb202f131f2b5d2c075 | [
"DOC",
"ImageMagick"
] | null | null | null | import numpy as np
import aglfn
import fontforge
import subprocess
params = {'template': 'template-256.png',
'sample_file': 'sample.png',
'name_list': 'aglfn.txt',
'new_font_file': 'sachacHand.sfd',
'new_otf': 'sachacHand.otf',
'new_font_name': 'sachacHand',
'new_family_name': 'sachacHand',
'new_full_nam... | 29.5 | 118 | 0.656497 |
a3945c3680ddc40600914d7d637c96adc2170b35 | 451 | java | Java | src/simulator/factories/MoveFirstStrategyBuilder.java | marynyzcc/TrafficSimulator | 409a244d953de1211b58580e260189b354f8f888 | [
"MIT"
] | null | null | null | src/simulator/factories/MoveFirstStrategyBuilder.java | marynyzcc/TrafficSimulator | 409a244d953de1211b58580e260189b354f8f888 | [
"MIT"
] | null | null | null | src/simulator/factories/MoveFirstStrategyBuilder.java | marynyzcc/TrafficSimulator | 409a244d953de1211b58580e260189b354f8f888 | [
"MIT"
] | null | null | null | package simulator.factories;
import org.json.JSONObject;
import simulator.model.DequeuingStrategy;
import simulator.model.MoveFirstStrategy;
public class MoveFirstStrategyBuilder extends Builder<DequeuingStrategy>{
public MoveFirstStrategyBuilder() {
super("move_first_dqs");
}
@Override
protect... | 22.55 | 74 | 0.773836 |
4bceb6db9c1b556dc4a5a223eb1f11812fc236b0 | 658 | dart | Dart | lib/src/ui/views/test_notification.dart | getclosr/get_closr | dee932301b8596004adbd270057a2935dde5709f | [
"MIT"
] | null | null | null | lib/src/ui/views/test_notification.dart | getclosr/get_closr | dee932301b8596004adbd270057a2935dde5709f | [
"MIT"
] | null | null | null | lib/src/ui/views/test_notification.dart | getclosr/get_closr | dee932301b8596004adbd270057a2935dde5709f | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:overlay_support/overlay_support.dart';
class TestView extends StatelessWidget {
const TestView({Key key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Container(
child: ... | 26.32 | 73 | 0.547112 |
c4cc1dc3cdae8ced08454b7bd6976ab3a3f096e7 | 809 | cpp | C++ | Documents/RacimoAire/Libreria/Prueba3PMS/mainwindow.cpp | JoseSalamancaCoy/RACIMO_AIRE | 628d6ff184a30af0efd25bff675b0006500d4ba2 | [
"MIT"
] | null | null | null | Documents/RacimoAire/Libreria/Prueba3PMS/mainwindow.cpp | JoseSalamancaCoy/RACIMO_AIRE | 628d6ff184a30af0efd25bff675b0006500d4ba2 | [
"MIT"
] | null | null | null | Documents/RacimoAire/Libreria/Prueba3PMS/mainwindow.cpp | JoseSalamancaCoy/RACIMO_AIRE | 628d6ff184a30af0efd25bff675b0006500d4ba2 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
#define GPIOSet 16
#define GPIOReSet 12
#define GPIORX 26
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
GPIO = new Crpigpio;
PMSSensor = new PMS(GPIO,GPIOSet, GPIOReSet, GPIORX);
conne... | 23.794118 | 119 | 0.677379 |
b379837c0a01e37ea15d64736e07364c22416996 | 888 | kt | Kotlin | paris/src/main/java/com/airbnb/paris/proxies/ViewGroupProxy.kt | vinaygaba/paris | 0e47deb31abc039fe7c0161e5a4a9d35a567888b | [
"Apache-2.0"
] | null | null | null | paris/src/main/java/com/airbnb/paris/proxies/ViewGroupProxy.kt | vinaygaba/paris | 0e47deb31abc039fe7c0161e5a4a9d35a567888b | [
"Apache-2.0"
] | null | null | null | paris/src/main/java/com/airbnb/paris/proxies/ViewGroupProxy.kt | vinaygaba/paris | 0e47deb31abc039fe7c0161e5a4a9d35a567888b | [
"Apache-2.0"
] | 1 | 2021-04-19T17:45:09.000Z | 2021-04-19T17:45:09.000Z | package com.airbnb.paris.proxies
import android.animation.LayoutTransition
import android.view.ViewGroup
import com.airbnb.paris.R2
import com.airbnb.paris.annotations.Attr
import com.airbnb.paris.annotations.Styleable
@Styleable("Paris_ViewGroup")
class ViewGroupProxy(view: ViewGroup) : BaseProxy<ViewGroupProxy, Vi... | 31.714286 | 86 | 0.783784 |
3f1a035f7af3d8160f0d433ce7608a899ddaa5c8 | 134 | rb | Ruby | lib/bright/email_address.rb | Arux-Software/Bright | 669478a76a5570a83daa7a6d788787c8df4975c6 | [
"MIT"
] | 1 | 2016-01-27T18:12:48.000Z | 2016-01-27T18:12:48.000Z | lib/bright/email_address.rb | Arux-Software/Bright | 669478a76a5570a83daa7a6d788787c8df4975c6 | [
"MIT"
] | null | null | null | lib/bright/email_address.rb | Arux-Software/Bright | 669478a76a5570a83daa7a6d788787c8df4975c6 | [
"MIT"
] | null | null | null | module Bright
class EmailAddress < Model
@attribute_names = [:email_address]
attr_accessor *@attribute_names
end
end
| 16.75 | 39 | 0.716418 |
a14178929ea7db20a6c17f4edc742e82a25251ea | 1,247 | ts | TypeScript | cli/build/config/webpack.devServer.config.ts | Neloreck/dreamplate | b56c225bcbc54c7adab73d872aadc4d450172fd4 | [
"MIT"
] | 1 | 2021-04-02T18:23:41.000Z | 2021-04-02T18:23:41.000Z | cli/build/config/webpack.devServer.config.ts | Neloreck/dreamplate | b56c225bcbc54c7adab73d872aadc4d450172fd4 | [
"MIT"
] | 16 | 2020-03-28T01:11:56.000Z | 2022-02-26T10:07:22.000Z | cli/build/config/webpack.devServer.config.ts | Neloreck/dreamplate | b56c225bcbc54c7adab73d872aadc4d450172fd4 | [
"MIT"
] | null | null | null | import {
BACKEND_PUBLIC_PATH,
DEV_SERVER_CONTENT_BASE,
DEV_SERVER_HOST,
DEV_SERVER_PORT,
IS_PRODUCTION,
MODULES_CONFIG
} from "./webpack.constants";
import { IModulesDefinition } from "./webpack.types";
/**
* Generate fallback redirects/urls for dev server history usage.
*/
const createFallbackRewrites =... | 25.979167 | 88 | 0.681636 |
dc1a3466a7cfcc0449f68422e952e9a967fc251b | 41 | rb | Ruby | lib/mothership/version.rb | cloudfoundry-attic/mothership | 8a4f951343cb21d276ae37b96760a38da63b0e1b | [
"Apache-2.0"
] | null | null | null | lib/mothership/version.rb | cloudfoundry-attic/mothership | 8a4f951343cb21d276ae37b96760a38da63b0e1b | [
"Apache-2.0"
] | null | null | null | lib/mothership/version.rb | cloudfoundry-attic/mothership | 8a4f951343cb21d276ae37b96760a38da63b0e1b | [
"Apache-2.0"
] | 1 | 2021-04-07T10:37:06.000Z | 2021-04-07T10:37:06.000Z | class Mothership
VERSION = "0.5.0"
end
| 10.25 | 19 | 0.682927 |
79cc6274d620568153969f54f2e5e61fc02a8975 | 238 | php | PHP | resources/views/admin/estimate/timing_block_note_edit.blade.php | BabkoSergey/Reports | 6e9e7bbc0d6ee6c5a5d35932eef726d0deae5f08 | [
"MIT"
] | null | null | null | resources/views/admin/estimate/timing_block_note_edit.blade.php | BabkoSergey/Reports | 6e9e7bbc0d6ee6c5a5d35932eef726d0deae5f08 | [
"MIT"
] | 4 | 2021-09-02T00:41:09.000Z | 2022-02-26T19:03:46.000Z | resources/views/admin/estimate/timing_block_note_edit.blade.php | BabkoSergey/Reports | 6e9e7bbc0d6ee6c5a5d35932eef726d0deae5f08 | [
"MIT"
] | null | null | null | <div class="col-md-12 timing-block-content-text jq_timing-block-text">
{!! Form::textarea('content', null, ['class' => 'form-control jq_timing-block-text-content cke-textarea', 'id' =>'block-text-content-', 'rows' => '1']) !!}
</div>
| 59.5 | 159 | 0.655462 |
b196cb0461fe43cff44a77a85f8f0caca0885e5e | 9,620 | py | Python | python_scripts/git_odoo.py | mao-odoo/my_odoo_aliases_and_scripts | a17f00599b34aa8ff6f860524dc7b1a465c5639f | [
"MIT"
] | 1 | 2020-11-26T15:49:37.000Z | 2020-11-26T15:49:37.000Z | python_scripts/git_odoo.py | mao-odoo/my_odoo_aliases_and_scripts | a17f00599b34aa8ff6f860524dc7b1a465c5639f | [
"MIT"
] | 2 | 2020-03-24T12:35:18.000Z | 2021-09-18T16:51:39.000Z | python_scripts/git_odoo.py | damnalex/my_odoo_aliases_and_scripts | 3e7e2cf8052401118fe1551f9d17966d214eaf18 | [
"MIT"
] | 2 | 2020-08-26T09:22:23.000Z | 2020-12-08T17:30:02.000Z | #!/usr/bin/env python3
"""
git_odoo
usage:
git_odoo checkout (<version>... | --dbname <dbname>)
git_odoo pull [--version <version> | --all]
git_odoo fetch
git_odoo list
options:
--dbname=<dbname> name of the database to use to select the right version to checkout
--version=<version> ... | 32.721088 | 154 | 0.634511 |
dc0937a7b49d8c433a1e866b1765b4e21d1f4c76 | 978 | ts | TypeScript | test/utils.ts | kazupon/nuxt-i18n-next | ace7f7021ce6bc17d5552502aa19a029889a80bf | [
"MIT"
] | 11 | 2021-11-13T13:28:42.000Z | 2022-01-28T15:39:56.000Z | test/utils.ts | kazupon/nuxt-i18n-next | ace7f7021ce6bc17d5552502aa19a029889a80bf | [
"MIT"
] | 3 | 2021-12-17T14:36:25.000Z | 2022-03-15T01:02:57.000Z | test/utils.ts | kazupon/nuxt-i18n-next | ace7f7021ce6bc17d5552502aa19a029889a80bf | [
"MIT"
] | null | null | null | import { pathToFileURL } from 'url'
import { listen } from 'listhen'
import { resolve } from 'pathe'
import { createCommonJS } from 'mlly'
import type { NitroContext } from './types'
import type { RequestListener } from 'http'
import type { ListenOptions } from 'listhen'
const _default = (r: any) => r.default || r //... | 31.548387 | 101 | 0.740286 |
a1648c9cb9ec5cfa27a6c0ee555f2b5bda04a61b | 211 | ts | TypeScript | frontend/src/common/components/hocr/constants.ts | zachrenwick/AzureSearchSolution | 1e39eea2694f07459148de16f454deef0d575fa4 | [
"MIT"
] | 4,537 | 2018-08-23T19:37:17.000Z | 2019-05-06T12:48:19.000Z | frontend/src/common/components/hocr/constants.ts | zachrenwick/AzureSearchSolution | 1e39eea2694f07459148de16f454deef0d575fa4 | [
"MIT"
] | 64 | 2019-05-09T12:07:02.000Z | 2022-03-30T16:10:42.000Z | frontend/src/common/components/hocr/constants.ts | zachrenwick/AzureSearchSolution | 1e39eea2694f07459148de16f454deef0d575fa4 | [
"MIT"
] | 732 | 2018-08-23T17:25:33.000Z | 2019-05-06T13:29:40.000Z | export const hocrAttributes = {
dataAnnotation: 'data-annotation',
};
export const hocrClasses = {
page: 'ocr_page',
area: 'ocr_carea',
paragraph: 'ocr_par',
line: 'ocr_line',
word: 'ocrx_word',
};
| 17.583333 | 36 | 0.668246 |
a1579844ee93d041ba645df7ba520a3212a2b94c | 548 | asm | Assembly | oeis/176/A176537.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/176/A176537.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/176/A176537.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A176537: Decimal expansion of 5 + sqrt(26).
; Submitted by Jon Maiga
; 1,0,0,9,9,0,1,9,5,1,3,5,9,2,7,8,4,8,3,0,0,2,8,2,2,4,1,0,9,0,2,2,7,8,1,9,8,9,5,6,3,7,7,0,9,4,6,0,9,9,5,9,6,4,0,7,5,8,4,9,7,0,8,0,4,4,2,5,9,3,3,6,3,2,0,6,2,2,2,4,1,9,5,5,8,8,3,4,8,8,5,1,0,9,3,9,3,2,0,0
mov $1,1
mov $2,1
mov $3,$0
mul $3,4
sub $3,$0... | 17.125 | 201 | 0.521898 |
0df59325c6bd2dc432aeba1b28ff10febb6b4bec | 1,161 | lua | Lua | app/common/validation/autonumber_common.lua | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 69 | 2021-12-16T01:34:09.000Z | 2022-03-31T08:27:39.000Z | app/common/validation/autonumber_common.lua | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | app/common/validation/autonumber_common.lua | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 21 | 2021-12-20T09:05:45.000Z | 2022-03-28T02:52:28.000Z | -- automatic conversion of input parameters to number
local autonumber_common = {}
function autonumber_common.autonumber(input)
logit("Autonumber function.")
local base = 10
local orig_input = input
if (type(input) == "string") then
input = input:gsub("[\(\)\"uUlL]", "")
if str... | 34.147059 | 115 | 0.548665 |
fa436636d8dac56b1c2ef14b9a1b811fc6eae866 | 10,898 | hpp | C++ | include/algebra/array/multi_array.hpp | hyperpower/Nablla | 5a9be9f3b064a235572a1a2c9c5c2c19118697c5 | [
"MIT"
] | null | null | null | include/algebra/array/multi_array.hpp | hyperpower/Nablla | 5a9be9f3b064a235572a1a2c9c5c2c19118697c5 | [
"MIT"
] | null | null | null | include/algebra/array/multi_array.hpp | hyperpower/Nablla | 5a9be9f3b064a235572a1a2c9c5c2c19118697c5 | [
"MIT"
] | null | null | null | /************************
// \file multi_array.hpp
// \brief
//
// \author czhou
// \date 20 janv. 2018
***********************/
#ifndef MULTI_ARRAY_HPP_
#define MULTI_ARRAY_HPP_
#include <iostream>
#include <assert.h>
#include "algebra/algebra_define.hpp"
#include <array>
#include "array_list.hpp"
nam... | 22.751566 | 73 | 0.497706 |
db7662eb72cf01fc0603dd7d17dbb353f4bd5e46 | 4,198 | php | PHP | app/Http/Controllers/SubCategoryController.php | inkomomutane/salaofenn | 5a02c6431ccfa0b69aff3d971f83e1220861f9c0 | [
"MIT"
] | 1 | 2022-01-29T12:48:42.000Z | 2022-01-29T12:48:42.000Z | app/Http/Controllers/SubCategoryController.php | inkomomutane/salaofenn | 5a02c6431ccfa0b69aff3d971f83e1220861f9c0 | [
"MIT"
] | null | null | null | app/Http/Controllers/SubCategoryController.php | inkomomutane/salaofenn | 5a02c6431ccfa0b69aff3d971f83e1220861f9c0 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Http\Requests\SubCategory\CreateSubCategory;
use App\Http\Requests\SubCategory\UpdateSubCategory;
use App\SubCategory;
//use Illuminate\Http\Request;
//use Illuminate\Support\Facades\Validator;
class SubCategoryController extends Controller
{
/**
* Display a lis... | 33.31746 | 127 | 0.582897 |
e243cf9a7cfffbd6d11083152c500e1135a55724 | 11,132 | py | Python | log_parser/parser.py | mohsenasm/Python-Spark-Log-Parser | a559f0820aca09e72df44aba13a439a8bcf1b906 | [
"MIT"
] | null | null | null | log_parser/parser.py | mohsenasm/Python-Spark-Log-Parser | a559f0820aca09e72df44aba13a439a8bcf1b906 | [
"MIT"
] | null | null | null | log_parser/parser.py | mohsenasm/Python-Spark-Log-Parser | a559f0820aca09e72df44aba13a439a8bcf1b906 | [
"MIT"
] | null | null | null | import json
from datetime import datetime
from numpy import array
from graphviz import Digraph
from log_parser.block_manager import BlockManager
from log_parser.executor import Executor
from log_parser.job import Job
from log_parser.job import Task
def get_json(line):
# Need to first strip the trailing newline, ... | 42.166667 | 118 | 0.589112 |
cd6eb3d5c04cf4d4fa9302a3194a1c0557a38606 | 154 | cs | C# | Source/Minesweeper.Framework/MinePutters/MinePutterDifficulty.cs | lunacys/Minesweeper | a75ada22ec26aee35b34d585b0140d1480364fd1 | [
"MIT"
] | null | null | null | Source/Minesweeper.Framework/MinePutters/MinePutterDifficulty.cs | lunacys/Minesweeper | a75ada22ec26aee35b34d585b0140d1480364fd1 | [
"MIT"
] | null | null | null | Source/Minesweeper.Framework/MinePutters/MinePutterDifficulty.cs | lunacys/Minesweeper | a75ada22ec26aee35b34d585b0140d1480364fd1 | [
"MIT"
] | 1 | 2020-09-22T03:59:37.000Z | 2020-09-22T03:59:37.000Z | namespace Minesweeper.Framework.MinePutters
{
public enum MinePutterDifficulty
{
Random,
Hard,
Easy,
Cheat
}
} | 15.4 | 43 | 0.577922 |
ae873ee5303cd0e3eba22d6a6ded2a889a68b24d | 2,079 | cs | C# | CoDN/Assets/Scripts/Game/UI/CompileButtons/PlayButton.cs | Pisc0/CoDN | d8930ba6f9f075cbea787c15fe6092d5ddf38153 | [
"Apache-2.0"
] | null | null | null | CoDN/Assets/Scripts/Game/UI/CompileButtons/PlayButton.cs | Pisc0/CoDN | d8930ba6f9f075cbea787c15fe6092d5ddf38153 | [
"Apache-2.0"
] | null | null | null | CoDN/Assets/Scripts/Game/UI/CompileButtons/PlayButton.cs | Pisc0/CoDN | d8930ba6f9f075cbea787c15fe6092d5ddf38153 | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
//Clase encargada de comenzar la simulación del código
public class PlayButton : MonoBehaviour
{
[SerializeField] private CodeObject code;
[SerializeField] private GameHandler gameHandler;
private TaskSyst... | 27 | 91 | 0.613276 |
9c5a4844a43e444a59d36d483b079c44f3dd5bee | 2,027 | rb | Ruby | spec/components/cards/latest_event_component_spec.rb | GayeCord/get-into-teaching-app | 75a8fd3b95e7fcf07f3b03846cdc2456071b2807 | [
"MIT"
] | 6 | 2021-03-15T15:53:02.000Z | 2021-12-09T22:56:34.000Z | spec/components/cards/latest_event_component_spec.rb | GayeCord/get-into-teaching-app | 75a8fd3b95e7fcf07f3b03846cdc2456071b2807 | [
"MIT"
] | 2,221 | 2020-05-06T08:16:29.000Z | 2022-03-31T17:26:35.000Z | spec/components/cards/latest_event_component_spec.rb | GayeCord/get-into-teaching-app | 75a8fd3b95e7fcf07f3b03846cdc2456071b2807 | [
"MIT"
] | 6 | 2020-12-21T15:44:47.000Z | 2022-03-18T16:12:07.000Z | require "rails_helper"
RSpec.describe Cards::LatestEventComponent, type: :component do
subject { render_inline(instance) && page }
let(:page_data) { Pages::Data.new }
let(:url_helpers) { Rails.application.routes.url_helpers }
let(:event) { build(:event_api, name: "Test event") }
let(:instance) { described_c... | 32.174603 | 100 | 0.670942 |
a334132719b07acadb01e29d9d6d45ef233a5260 | 3,282 | h | C | src/Stream/Topic.h | geishm-ansto/kafka-to-nexus | 7e968b06e72b4353b44ac2900613162d80e68df9 | [
"BSD-2-Clause"
] | null | null | null | src/Stream/Topic.h | geishm-ansto/kafka-to-nexus | 7e968b06e72b4353b44ac2900613162d80e68df9 | [
"BSD-2-Clause"
] | null | null | null | src/Stream/Topic.h | geishm-ansto/kafka-to-nexus | 7e968b06e72b4353b44ac2900613162d80e68df9 | [
"BSD-2-Clause"
] | null | null | null | // SPDX-License-Identifier: BSD-2-Clause
//
// This code has been produced by the European Spallation Source
// and its partner institutes under the BSD 2 Clause License.
//
// See LICENSE.md at the top level for license information.
//
// Screaming Udder! https://esss.se
#pragma once
#in... | 34.547368 | 80 | 0.680073 |
0dbc975677cefbf996d968a8d78279b62969361d | 81 | sql | SQL | db/migrations/sqls/20200511112430-add-unique-constraint-to-call-id-up.sql | nax2uk/NHS-VV | e8023dc4b65926096dcedcb472f5defe89f137fc | [
"MIT"
] | null | null | null | db/migrations/sqls/20200511112430-add-unique-constraint-to-call-id-up.sql | nax2uk/NHS-VV | e8023dc4b65926096dcedcb472f5defe89f137fc | [
"MIT"
] | 1 | 2020-10-28T17:04:58.000Z | 2020-10-28T17:04:58.000Z | db/migrations/sqls/20200511112430-add-unique-constraint-to-call-id-up.sql | Kettering-General-Hospital/nhs-virtual-visit | dcbdaf017d8bf06f985eabd5c98b6f97fadb5921 | [
"MIT"
] | null | null | null | ALTER TABLE scheduled_calls_table ADD CONSTRAINT call_id_unique UNIQUE (call_id); | 81 | 81 | 0.876543 |
7b680e2716c6eca61c8e7e43ad576b44cc9e00d8 | 1,222 | rb | Ruby | test/controllers/prizes_controller_test.rb | music4mic2/dashboard | 96973f174f805fcd7617ddb5d6c7e7d1a0527006 | [
"Apache-2.0"
] | 18 | 2019-11-18T23:59:03.000Z | 2020-12-12T17:15:03.000Z | test/controllers/prizes_controller_test.rb | music4mic2/dashboard | 96973f174f805fcd7617ddb5d6c7e7d1a0527006 | [
"Apache-2.0"
] | 115 | 2019-10-24T00:03:48.000Z | 2022-03-30T22:16:18.000Z | test/controllers/prizes_controller_test.rb | music4mic2/dashboard | 96973f174f805fcd7617ddb5d6c7e7d1a0527006 | [
"Apache-2.0"
] | 21 | 2019-11-02T19:20:52.000Z | 2022-02-09T17:30:34.000Z | require 'test_helper'
class PrizesControllerTest < ActionDispatch::IntegrationTest
setup do
@prize = prizes(:one)
end
test "should get index" do
get prizes_url
assert_response :success
end
test "should get new" do
get new_prize_url
assert_response :success
end
test "should create p... | 24.938776 | 181 | 0.710311 |
38614c5809f91d2d9b6a0f4f77a25e00f7e2ae3a | 280 | php | PHP | Modules/Subscriptions/Entities/CustomSubscription.php | balajiks/embasecloud | 39c8fb63df8a05125e836fb930d17289fda55946 | [
"MIT"
] | 1 | 2020-05-13T09:50:54.000Z | 2020-05-13T09:50:54.000Z | Modules/Subscriptions/Entities/CustomSubscription.php | balajiks/embasecloud | 39c8fb63df8a05125e836fb930d17289fda55946 | [
"MIT"
] | 2 | 2020-07-17T10:55:34.000Z | 2021-05-06T19:04:53.000Z | Modules/Subscriptions/Entities/CustomSubscription.php | balajiks/embasecloud | 39c8fb63df8a05125e836fb930d17289fda55946 | [
"MIT"
] | 2 | 2020-05-13T09:51:02.000Z | 2021-05-22T16:09:16.000Z | <?php
namespace Modules\Subscriptions\Entities;
use Laravel\Cashier\Subscription;
class CustomSubscription extends Subscription
{
protected $dates = [
'trial_ends_at', 'ends_at',
'created_at', 'updated_at',
];
protected $table = 'subscriptions';
}
| 17.5 | 45 | 0.685714 |
85893c036f84add91a9c27f556b9ea0303b7a412 | 1,003 | sql | SQL | database/Database/Database/Tables/card_history.sql | thluiz/sam-apinode | adaba659adcd59e391c721bdfeafe9f6252a5188 | [
"MIT"
] | null | null | null | database/Database/Database/Tables/card_history.sql | thluiz/sam-apinode | adaba659adcd59e391c721bdfeafe9f6252a5188 | [
"MIT"
] | null | null | null | database/Database/Database/Tables/card_history.sql | thluiz/sam-apinode | adaba659adcd59e391c721bdfeafe9f6252a5188 | [
"MIT"
] | null | null | null | CREATE TABLE [dbo].[card_history] (
[id] INT IDENTITY (1, 1) NOT NULL,
[card_id] INT NOT NULL,
[created_on] DATETIME DEFAULT (getUTCdate()) NOT NULL,
[responsible_id] INT NOT NULL,
[history_type] ... | 38.576923 | 116 | 0.570289 |
af880f4fe1910c7508f4ea3a9481e6b468976821 | 1,178 | py | Python | migrations/versions/5db306adc6cc_.py | di/cabotage-app | a119800ce5a83547c0abf31540bd0bc90a0e6d10 | [
"MIT"
] | 15 | 2018-04-12T20:57:25.000Z | 2022-02-25T01:51:58.000Z | migrations/versions/5db306adc6cc_.py | di/cabotage-app | a119800ce5a83547c0abf31540bd0bc90a0e6d10 | [
"MIT"
] | 10 | 2018-01-30T19:55:06.000Z | 2021-06-15T21:54:17.000Z | migrations/versions/5db306adc6cc_.py | di/cabotage-app | a119800ce5a83547c0abf31540bd0bc90a0e6d10 | [
"MIT"
] | 6 | 2018-01-30T10:49:17.000Z | 2022-02-25T01:51:59.000Z | """empty message
Revision ID: 5db306adc6cc
Revises: a645df168b55
Create Date: 2018-03-18 21:34:57.446692
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '5db306adc6cc'
down_revision = 'a645df168b55'
branch_labels = None
depends_on = None
def upgrade():
# ... | 33.657143 | 118 | 0.716469 |
e23280e1e0dca930862bb25cbb1b86ca01361894 | 3,036 | py | Python | MindLink-Eumpy/real_time_detection/GUI/Reader/EEGReader.py | Breeze1in1drizzle/MindLink-Exploring | 24e7d60112754c9fe5faf7b7f9ae255fa1bc4c59 | [
"MIT"
] | 7 | 2020-11-19T14:34:50.000Z | 2022-02-26T14:16:50.000Z | MindLink-Eumpy/real_time_detection/GUI/Reader/EEGReader.py | Breeze1in1drizzle/MindLink-Exploring | 24e7d60112754c9fe5faf7b7f9ae255fa1bc4c59 | [
"MIT"
] | 1 | 2021-08-20T07:30:32.000Z | 2021-09-01T07:20:14.000Z | MindLink-Eumpy/real_time_detection/GUI/Reader/EEGReader.py | Breeze1in1drizzle/MindLink-Exploring | 24e7d60112754c9fe5faf7b7f9ae255fa1bc4c59 | [
"MIT"
] | 2 | 2021-07-20T08:59:14.000Z | 2021-08-10T08:03:56.000Z | import mne
import numpy as np
from real_time_detection.EEG import EEG_feature_extract
from real_time_detection.GUI.EmotivDeviceReader import EmotivDeviceReader
# emotiv_reader = EmotivDeviceReader()
# class EEGReader
class EEGReader:
'''
This class is used to return the EEG data in real time.
Attribute:
... | 37.02439 | 117 | 0.581357 |
ff806612b7e43683fc0781a699632f44472acb74 | 370 | py | Python | sample.py | leeamen/threadpool | 736ab61afaabbe5ec96098c456043b03cf62bcd7 | [
"MIT"
] | 3 | 2019-01-26T08:35:46.000Z | 2021-12-17T06:39:52.000Z | sample.py | leeamen/threadpool | 736ab61afaabbe5ec96098c456043b03cf62bcd7 | [
"MIT"
] | null | null | null | sample.py | leeamen/threadpool | 736ab61afaabbe5ec96098c456043b03cf62bcd7 | [
"MIT"
] | 2 | 2017-04-22T04:11:43.000Z | 2021-08-12T08:44:46.000Z | #!/usr/bin/python
#coding:utf-8
import mylog
import mythreadpool as tp
import logging
if __name__ == '__main__':
logger = logging.getLogger(__name__)
def process(args):
logger.info('task %d is finished!', args['taskid'])
threadpool = tp.MyThreadPool(2)
for i in range(1,10):
threadpool.DispatchTa... | 19.473684 | 55 | 0.694595 |
db412fe3a3c151e7eddedc3d5a19a53ca0cb3f2f | 14,242 | sql | SQL | mymarket.sql | alexistdev/kelompok8 | 5b71e41965ec84d022b0aeab91e437f82b783c42 | [
"MIT"
] | null | null | null | mymarket.sql | alexistdev/kelompok8 | 5b71e41965ec84d022b0aeab91e437f82b783c42 | [
"MIT"
] | null | null | null | mymarket.sql | alexistdev/kelompok8 | 5b71e41965ec84d022b0aeab91e437f82b783c42 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 10, 2022 at 01:09 AM
-- Server version: 10.4.21-MariaDB
-- PHP Version: 8.0.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 32.004494 | 287 | 0.69618 |
38d679794c358c950d26e994d7f5834d716d75bf | 10,256 | php | PHP | resources/views/md/mAmenazas.blade.php | fparralejo/q_sgsi | 5217f5dacd75f326f619f176ea38a6cebc9be0ed | [
"MIT"
] | null | null | null | resources/views/md/mAmenazas.blade.php | fparralejo/q_sgsi | 5217f5dacd75f326f619f176ea38a6cebc9be0ed | [
"MIT"
] | null | null | null | resources/views/md/mAmenazas.blade.php | fparralejo/q_sgsi | 5217f5dacd75f326f619f176ea38a6cebc9be0ed | [
"MIT"
] | null | null | null | @extends('md.main')
@section('principal')
<style>
.sgsiRow:hover{
cursor: pointer;
}
</style>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#ejemplo1').dataTable({
"responsive": true,
"bProcessing": true,
"sP... | 32.15047 | 146 | 0.4883 |
7b39ca198de4ddfdee6f18d7961d96885a66ab59 | 3,541 | rb | Ruby | lib/csv2avro/converter.rb | sspinc/csv2avro | 33d347744d5ce974ca2bd95b7675a00ed2f80174 | [
"MIT"
] | 10 | 2015-08-07T10:41:02.000Z | 2021-12-15T06:25:46.000Z | lib/csv2avro/converter.rb | sspinc/csv2avro | 33d347744d5ce974ca2bd95b7675a00ed2f80174 | [
"MIT"
] | 13 | 2015-06-12T08:12:15.000Z | 2016-02-16T15:45:52.000Z | lib/csv2avro/converter.rb | sspinc/csv2avro | 33d347744d5ce974ca2bd95b7675a00ed2f80174 | [
"MIT"
] | 6 | 2015-06-25T17:32:21.000Z | 2020-07-30T07:08:20.000Z | require 'csv2avro/schema'
require 'csv2avro/avro_writer'
require 'csv'
require 'logr'
class CSV2Avro
class Converter
def self.logger
@logger ||= Logr::Logger.new('csv2avro.converter')
end
def logger
self.class.logger
end
def initialize(reader, writer, bad_rows_writer, filename, opt... | 25.113475 | 97 | 0.532053 |
07e3720e54855e7800ef21d5e6984137d8307094 | 6,761 | css | CSS | templates/admin.css | sudogem/brcms | 6229e0659a4c2d99e41c7d53a676a628cab0fdff | [
"MIT"
] | null | null | null | templates/admin.css | sudogem/brcms | 6229e0659a4c2d99e41c7d53a676a628cab0fdff | [
"MIT"
] | 1 | 2015-12-01T09:15:03.000Z | 2015-12-01T09:15:03.000Z | templates/admin.css | sudogem/brcms | 6229e0659a4c2d99e41c7d53a676a628cab0fdff | [
"MIT"
] | null | null | null | body {
margin:0 0 0 0;
font:normal 12px Verdana, Arial, Helvetica, sans-serif;
}
p{
font:normal 12px Verdana, Arial, Helvetica, sans-serif;
line-height:2em;
}
#header{
background-color: #99CC00;
height:50px;
}
.table_header{
background-color:#2A28B2;
background-color:#E66836;
background-co... | 18.472678 | 70 | 0.626387 |