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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1c8b9a4cd8ac7fb5a3162c4a262341a99ed45205 | 4,393 | swift | Swift | Vinyl/Track.swift | rafalszastok/Vinyl | ef3145936e229231c82552b920cb49e93c9492bc | [
"MIT"
] | null | null | null | Vinyl/Track.swift | rafalszastok/Vinyl | ef3145936e229231c82552b920cb49e93c9492bc | [
"MIT"
] | null | null | null | Vinyl/Track.swift | rafalszastok/Vinyl | ef3145936e229231c82552b920cb49e93c9492bc | [
"MIT"
] | null | null | null | //
// Track.swift
// Vinyl
//
// Created by David Rodrigues on 14/02/16.
// Copyright © 2016 Velhotes. All rights reserved.
//
import Foundation
public typealias EncodedObject = [String : Any]
public typealias HTTPHeaders = [String : String]
public typealias Request = URLRequest
public struct Track {
public... | 32.301471 | 140 | 0.619167 |
39e6471cc6fcce3ef726b94ed22d42f37c901472 | 255 | java | Java | proFL-plugin-2.0.3/org/pitest/reloc/antlr/common/ASdebug/IASDebugStream.java | ycj123/Research-Project | 08296e0075ba0c13204944b1bc1a96a7b8d2f023 | [
"MIT"
] | null | null | null | proFL-plugin-2.0.3/org/pitest/reloc/antlr/common/ASdebug/IASDebugStream.java | ycj123/Research-Project | 08296e0075ba0c13204944b1bc1a96a7b8d2f023 | [
"MIT"
] | null | null | null | proFL-plugin-2.0.3/org/pitest/reloc/antlr/common/ASdebug/IASDebugStream.java | ycj123/Research-Project | 08296e0075ba0c13204944b1bc1a96a7b8d2f023 | [
"MIT"
] | null | null | null | //
// Decompiled by Procyon v0.5.36
//
package org.pitest.reloc.antlr.common.ASdebug;
import org.pitest.reloc.antlr.common.Token;
public interface IASDebugStream
{
String getEntireText();
TokenOffsetInfo getOffsetInfo(final Token p0);
}
| 17 | 50 | 0.733333 |
c82415a5365b06bab0db1b4a8928662ddf377f74 | 353 | kt | Kotlin | app/src/main/java/me/peterhenderson/perudo/game/GamePresenter.kt | PeterH139/perudo-android | 37a9b4326ca5aacbbaab3d0eee582141a72159ed | [
"MIT"
] | null | null | null | app/src/main/java/me/peterhenderson/perudo/game/GamePresenter.kt | PeterH139/perudo-android | 37a9b4326ca5aacbbaab3d0eee582141a72159ed | [
"MIT"
] | 1 | 2017-12-24T15:43:37.000Z | 2017-12-25T17:54:45.000Z | app/src/main/java/me/peterhenderson/perudo/game/GamePresenter.kt | PeterH139/perudo-android | 37a9b4326ca5aacbbaab3d0eee582141a72159ed | [
"MIT"
] | null | null | null | package me.peterhenderson.perudo.game
import me.peterhenderson.perudo.core.DiceRoller
import javax.inject.Inject
class GamePresenter @Inject constructor(val rng: DiceRoller) {
lateinit var view: GameView
fun onCreate(view: GameView) {
this.view = view
}
fun rollDiceTapped() {
view.di... | 22.0625 | 62 | 0.708215 |
6ee3e4491452905de9a24c040628c7dcb406058e | 691 | html | HTML | app/partials/chart.html | ChrisBoesch/angular-scorecard | 073e7ac00bf36864404558a49e92acb54fdd2e3f | [
"MIT"
] | 1 | 2019-02-12T23:37:24.000Z | 2019-02-12T23:37:24.000Z | app/partials/chart.html | ChrisBoesch/angular-scorecard | 073e7ac00bf36864404558a49e92acb54fdd2e3f | [
"MIT"
] | null | null | null | app/partials/chart.html | ChrisBoesch/angular-scorecard | 073e7ac00bf36864404558a49e92acb54fdd2e3f | [
"MIT"
] | 1 | 2021-03-18T15:34:43.000Z | 2021-03-18T15:34:43.000Z | <div ng-switch on="data.type">
<div class="chart" ng-switch-when="boxPlot">
<sc-box-plot sc-data="data"/>
</div>
<div class="chart" ng-switch-when="groupedBoxPlot">
<sc-grouped-box-plot sc-data="data"/>
</div>
<div class="chart" ng-switch-when="bar">
<sc-bar sc-data="data"/>
</div>
<di... | 22.290323 | 53 | 0.599132 |
5c62c8401aec236f1b1ace7ce1efe37535149b6b | 2,171 | h | C | src/nemesis-ospf.h | Inphi/nemesis | 3e9d77dd9b14a2b6e667733452339dd0b5a28e65 | [
"BSD-3-Clause"
] | 1 | 2016-08-17T10:11:25.000Z | 2016-08-17T10:11:25.000Z | src/nemesis-ospf.h | Inphi/nemesis | 3e9d77dd9b14a2b6e667733452339dd0b5a28e65 | [
"BSD-3-Clause"
] | null | null | null | src/nemesis-ospf.h | Inphi/nemesis | 3e9d77dd9b14a2b6e667733452339dd0b5a28e65 | [
"BSD-3-Clause"
] | null | null | null | /*
* $Id: nemesis-ospf.h,v 1.1.1.1 2003/10/31 21:29:37 jnathan Exp $
*
* THE NEMESIS PROJECT
* Copyright (C) 1999, 2000 Mark Grimes <mark@stateful.net>
* Copyright (C) 2001 - 2003 Jeff Nathan <jeff@snort.org>
*
* nemesis-ospf.h (OSPF Packet Injector)
*
*/
#ifndef __NEMESIS_OSPF_H__
#define __NEMESIS_OSPF_H_... | 29.337838 | 67 | 0.55965 |
042f18723278b901d591977c5e77d2ba2652a8c2 | 158 | kt | Kotlin | lib_arch/src/main/java/com/yyxnb/arch/common/MsgEvent.kt | y1xian/Awesome | 4235798ef24c2d05945f308b213fb098d619016d | [
"Apache-2.0"
] | null | null | null | lib_arch/src/main/java/com/yyxnb/arch/common/MsgEvent.kt | y1xian/Awesome | 4235798ef24c2d05945f308b213fb098d619016d | [
"Apache-2.0"
] | null | null | null | lib_arch/src/main/java/com/yyxnb/arch/common/MsgEvent.kt | y1xian/Awesome | 4235798ef24c2d05945f308b213fb098d619016d | [
"Apache-2.0"
] | null | null | null | package com.yyxnb.arch.common
import java.io.Serializable
data class MsgEvent(var code: Int = 0, var msg: String = "", var data: Any = Any()) : Serializable | 31.6 | 98 | 0.721519 |
cbb8fb62726804b4cf1076b9627b17ff79d1ffa6 | 207 | kt | Kotlin | app/src/main/java/com/lumiwallet/lumi_core/domain/entity/Output.kt | lumiwallet/lumi-android-core | 64aeec26c27f66b2e99745d462e34100ae18dc11 | [
"Apache-2.0",
"MIT"
] | 6 | 2020-05-04T18:37:40.000Z | 2021-12-25T19:40:22.000Z | app/src/main/java/com/lumiwallet/lumi_core/domain/entity/Output.kt | lumiwallet/lumi-android-core | 64aeec26c27f66b2e99745d462e34100ae18dc11 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-12-24T08:24:18.000Z | 2020-12-24T08:24:18.000Z | app/src/main/java/com/lumiwallet/lumi_core/domain/entity/Output.kt | lumiwallet/lumi-android-core | 64aeec26c27f66b2e99745d462e34100ae18dc11 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-11-30T08:15:42.000Z | 2021-11-30T08:15:42.000Z | package com.lumiwallet.lumi_core.domain.entity
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
data class Output(
var address: String,
var amount: Long
): Parcelable | 20.7 | 46 | 0.792271 |
b1a2b75b42b39a512b859337b5d55d310560f51c | 4,215 | h | C | ProcessParser.h | zinan93/htop_udacity | 2f0ec7e6a78e9d9cf6fd29a1e732650ec21ba5b9 | [
"MIT"
] | null | null | null | ProcessParser.h | zinan93/htop_udacity | 2f0ec7e6a78e9d9cf6fd29a1e732650ec21ba5b9 | [
"MIT"
] | null | null | null | ProcessParser.h | zinan93/htop_udacity | 2f0ec7e6a78e9d9cf6fd29a1e732650ec21ba5b9 | [
"MIT"
] | null | null | null | #ifndef PROCESSPARSER_H
#define PROCESSPARSER_H
#include <algorithm>
#include <iostream>
#include <math.h>
#include <thread>
#include <chrono>
#include <iterator>
#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include <fstream>
#include <sstream>
#include <stdexcept>
#include <cerrno>
#inc... | 28.47973 | 103 | 0.651246 |
19630f642c7b2c65baff7d04f7c9c880708e0715 | 643 | kt | Kotlin | ok-marketplace-be-common/src/main/kotlin/ru/otus/otuskotlin/marketplace/common/backend/repositories/IAdRepository.kt | otuskotlin/202012-otuskotlin-marketplace | 5f05fe658504dfa5d7300e3f0f523d250ff6ce31 | [
"MIT"
] | 1 | 2021-02-23T18:26:47.000Z | 2021-02-23T18:26:47.000Z | ok-marketplace-be-common/src/main/kotlin/ru/otus/otuskotlin/marketplace/common/backend/repositories/IAdRepository.kt | otuskotlin/202012-otuskotlin-marketplace | 5f05fe658504dfa5d7300e3f0f523d250ff6ce31 | [
"MIT"
] | 1 | 2021-03-02T09:42:55.000Z | 2021-04-25T07:22:49.000Z | ok-marketplace-be-common/src/main/kotlin/ru/otus/otuskotlin/marketplace/common/backend/repositories/IAdRepository.kt | otuskotlin/202012-otuskotlin-marketplace | 5f05fe658504dfa5d7300e3f0f523d250ff6ce31 | [
"MIT"
] | null | null | null | package ru.otus.otuskotlin.marketplace.common.backend.repositories
import ru.otus.otuskotlin.marketplace.common.backend.context.MpBeContext
import ru.otus.otuskotlin.marketplace.common.backend.models.IMpItemModel
import ru.otus.otuskotlin.marketplace.common.backend.models.MpDemandModel
interface IAdRepository<T: IMpI... | 40.1875 | 73 | 0.797823 |
ef8bbc9696c66cc1c48e6be14f7e1788e4a82a71 | 2,259 | kt | Kotlin | erikflowers-weather-icons/src/commonMain/kotlin/compose/icons/weathericons/MoonWaxingGibbous4.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 230 | 2020-11-11T14:52:11.000Z | 2022-03-31T05:04:52.000Z | erikflowers-weather-icons/src/commonMain/kotlin/compose/icons/weathericons/MoonWaxingGibbous4.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 17 | 2021-03-02T00:00:32.000Z | 2022-03-02T16:01:03.000Z | erikflowers-weather-icons/src/commonMain/kotlin/compose/icons/weathericons/MoonWaxingGibbous4.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 18 | 2021-02-08T06:18:41.000Z | 2022-03-22T21:48:23.000Z | package compose.icons.weathericons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
impo... | 49.108696 | 95 | 0.635237 |
90af0c3b5c35784252e7535ec9333b5f74334c22 | 1,751 | py | Python | algorithm/graph_theory/even_tree/solution.py | delaanthonio/hackerrank | b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27 | [
"MIT"
] | 1 | 2017-07-02T01:35:39.000Z | 2017-07-02T01:35:39.000Z | algorithm/graph_theory/even_tree/solution.py | delaanthonio/hackerrank | b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27 | [
"MIT"
] | null | null | null | algorithm/graph_theory/even_tree/solution.py | delaanthonio/hackerrank | b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27 | [
"MIT"
] | 1 | 2018-04-03T15:11:56.000Z | 2018-04-03T15:11:56.000Z | #!/usr/bin/env python3
"""Solution for https://www.hackerrank.com/challenges/even-tree"""
from collections import defaultdict, deque
from typing import Dict, Set
Vertex = int
Tree = Dict[Vertex, Set[Vertex]]
def trim_tree(tree: Tree, root=1) -> None:
"""Make tree a directed graph."""
for child in tree[root]... | 26.530303 | 76 | 0.596802 |
76f656833be7fd57a5ff406550cfaa17c059c69b | 1,034 | kt | Kotlin | library/src/androidTest/java/graf/semmel/valium/helper/FormFragmentRobot.kt | graf-semmel/valium | 2ddfcf61b5c520919461bcdeecb027d997611323 | [
"Apache-2.0"
] | 1 | 2021-04-22T00:38:01.000Z | 2021-04-22T00:38:01.000Z | library/src/androidTest/java/graf/semmel/valium/helper/FormFragmentRobot.kt | graf-semmel/valium | 2ddfcf61b5c520919461bcdeecb027d997611323 | [
"Apache-2.0"
] | null | null | null | library/src/androidTest/java/graf/semmel/valium/helper/FormFragmentRobot.kt | graf-semmel/valium | 2ddfcf61b5c520919461bcdeecb027d997611323 | [
"Apache-2.0"
] | null | null | null | package graf.semmel.valium.helper
import androidx.test.espresso.Espresso
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isEnabled
import androidx.test.espresso.matcher.ViewMatchers.withId
import com.grafsemmel.valium.R
import org.hamcrest.CoreMatchers.... | 26.512821 | 95 | 0.709865 |
8997591a071c03293c9ec4287eea9bcb4a8c85c1 | 4,053 | kt | Kotlin | src/main/kotlin/com/lykke/matching/engine/messages/MessageWrapper.kt | NovichikhinAlexey/MatchingEngine | 828800ca6e77df2ea6c763a9753361bc1b608d14 | [
"MIT"
] | 31 | 2016-02-26T00:08:19.000Z | 2022-02-02T20:56:29.000Z | src/main/kotlin/com/lykke/matching/engine/messages/MessageWrapper.kt | NovichikhinAlexey/MatchingEngine | 828800ca6e77df2ea6c763a9753361bc1b608d14 | [
"MIT"
] | 17 | 2016-03-26T09:18:38.000Z | 2019-04-24T11:13:23.000Z | src/main/kotlin/com/lykke/matching/engine/messages/MessageWrapper.kt | NovichikhinAlexey/MatchingEngine | 828800ca6e77df2ea6c763a9753361bc1b608d14 | [
"MIT"
] | 16 | 2016-10-17T11:17:11.000Z | 2021-03-09T07:18:50.000Z | package com.lykke.matching.engine.messages
import com.google.protobuf.Message
import com.google.protobuf.MessageOrBuilder
import com.lykke.matching.engine.deduplication.ProcessedMessage
import com.lykke.matching.engine.socket.ClientHandler
import com.lykke.matching.engine.utils.ByteHelper.Companion.toByteArray
import ... | 38.235849 | 140 | 0.660745 |
abf1747adee340a339442cb80f757b004e049504 | 632 | rb | Ruby | spec/factories/content_element.rb | edraut/pulitzer | 33ed6382175ef9b3d77d9dde53d023a64d60c265 | [
"MIT"
] | 3 | 2015-06-22T20:24:12.000Z | 2017-04-30T19:11:00.000Z | spec/factories/content_element.rb | edraut/pulitzer | 33ed6382175ef9b3d77d9dde53d023a64d60c265 | [
"MIT"
] | 40 | 2015-06-30T16:58:16.000Z | 2017-08-03T03:18:41.000Z | spec/factories/content_element.rb | edraut/pulitzer | 33ed6382175ef9b3d77d9dde53d023a64d60c265 | [
"MIT"
] | 2 | 2015-06-24T20:47:00.000Z | 2016-03-30T22:26:20.000Z | FactoryGirl.define do
factory :content_element, class: Pulitzer::ContentElement do
sequence(:label) { |n| "Slide 1 content element #{n}" }
body { "I pledge my life and honor to the Night's Watch, for this night and all the nights to come" }
association :content_element_type
trait :video... | 35.111111 | 118 | 0.68038 |
1702f90caad912b49c31fe94f4d0bd2e5b17f70e | 976 | h | C | source/extensions/http/header_validators/envoy_default/config.h | CrazyHZM/envoy | 416c6f5a1d85ceb5ed9cc173533eb36b2e2dcac0 | [
"Apache-2.0"
] | 1 | 2022-03-02T14:23:12.000Z | 2022-03-02T14:23:12.000Z | source/extensions/http/header_validators/envoy_default/config.h | CrazyHZM/envoy | 416c6f5a1d85ceb5ed9cc173533eb36b2e2dcac0 | [
"Apache-2.0"
] | 153 | 2021-10-04T04:32:48.000Z | 2022-03-31T04:22:40.000Z | source/extensions/http/header_validators/envoy_default/config.h | CrazyHZM/envoy | 416c6f5a1d85ceb5ed9cc173533eb36b2e2dcac0 | [
"Apache-2.0"
] | 1 | 2021-12-14T02:39:44.000Z | 2021-12-14T02:39:44.000Z | #pragma once
#include "envoy/http/header_validator.h"
#include "envoy/registry/registry.h"
#include "source/common/protobuf/protobuf.h"
namespace Envoy {
namespace Extensions {
namespace Http {
namespace HeaderValidators {
namespace EnvoyDefault {
/**
* Config registration for the custom header IP detection extens... | 27.111111 | 92 | 0.773566 |
9bc150972a4e0e9109bb37ec44a774ef3ddd77ec | 2,509 | js | JavaScript | src/js/modules/videoAnchor/UI/ToolBtn.js | bruceCzK/bilibili-helper | 34d56fd47da9d9844213bc57efcf007742826bcd | [
"MIT"
] | 1 | 2020-11-26T02:07:58.000Z | 2020-11-26T02:07:58.000Z | src/js/modules/videoAnchor/UI/ToolBtn.js | 3318193168/bilibili-helper | faa240996154587e82b5fa5704db6d369184e581 | [
"MIT"
] | null | null | null | src/js/modules/videoAnchor/UI/ToolBtn.js | 3318193168/bilibili-helper | faa240996154587e82b5fa5704db6d369184e581 | [
"MIT"
] | 1 | 2022-03-29T13:02:23.000Z | 2022-03-29T13:02:23.000Z | /**
* Author: DrowsyFlesh
* Create: 2018/10/10
* Description:
*/
import React from 'react';
import styled from 'styled-components';
import ToolContentBuilder from './ToolContent';
export default () => {
const ToolContent = ToolContentBuilder();
const HelperBtn = styled.span`
display: inline-block;
... | 29.174419 | 118 | 0.489438 |
7cebb7c6c288e08275244ad353438e1018afb2ec | 276 | lua | Lua | shared/common/githubSha.lua | kurabirko/phys400 | 1e7608322457c090e4db8c52ff1c7c8c55a612c3 | [
"CC-BY-4.0"
] | null | null | null | shared/common/githubSha.lua | kurabirko/phys400 | 1e7608322457c090e4db8c52ff1c7c8c55a612c3 | [
"CC-BY-4.0"
] | null | null | null | shared/common/githubSha.lua | kurabirko/phys400 | 1e7608322457c090e4db8c52ff1c7c8c55a612c3 | [
"CC-BY-4.0"
] | null | null | null | local M = {}
function M.print()
local is_ci = os.getenv('CI') or ''
if is_ci ~= 'true' then
return
end
local version = os.getenv('GITHUB_SHA')
tex.sprint('\\begingroup Build: \\ttfamily ' ..
string.sub(version, 1, 7) ..
' \\endgroup')
end
return M
| 16.235294 | 49 | 0.594203 |
917f1f89093f152339b734180c54d938aa7ce946 | 1,180 | html | HTML | app/connect/connect.html | riblee/chat-client | 10d3d6b465a7d6cc0479ada01f674f8250e6a6ae | [
"MIT"
] | null | null | null | app/connect/connect.html | riblee/chat-client | 10d3d6b465a7d6cc0479ada01f674f8250e6a6ae | [
"MIT"
] | null | null | null | app/connect/connect.html | riblee/chat-client | 10d3d6b465a7d6cc0479ada01f674f8250e6a6ae | [
"MIT"
] | null | null | null | <md-card class="center">
<md-card-title>Connect</md-card-title>
<md-card-subtitle *ngIf="channel.errors">
<p *ngIf="channel.errors.alreadyConnected" color="warn">
You already connected to this Room
</p>
</md-card-subtitle>
<md-card-subtitle *ngIf="!channel.errors || channel.v... | 47.2 | 117 | 0.569492 |
1663e589a07d50792f441207056292c62aedef78 | 376 | ts | TypeScript | src/entities/DTO/ProfileDTO.ts | fossabot/SkiAPIv2 | 37d64278e5c240d84cef0b18b2105af6cd07220e | [
"MIT"
] | null | null | null | src/entities/DTO/ProfileDTO.ts | fossabot/SkiAPIv2 | 37d64278e5c240d84cef0b18b2105af6cd07220e | [
"MIT"
] | null | null | null | src/entities/DTO/ProfileDTO.ts | fossabot/SkiAPIv2 | 37d64278e5c240d84cef0b18b2105af6cd07220e | [
"MIT"
] | null | null | null | import { User } from "../User";
export class ProfileDTO {
userId: number;
firstName: string;
lastName: string;
userRoles: string[];
/**
*
*/
constructor(user: User, userRoles) {
this.userId = user.userId;
this.firstName = user.firstName;
this.lastName = use... | 17.090909 | 40 | 0.571809 |
fe129cc38e9bbd2af7fbd559021012b9c07ed682 | 175 | h | C | event-driven-simulator/OrderStack.h | xia0ran-meng/comp-2150 | 768562efec2f5cd12074eeed206260c05174f3a0 | [
"MIT"
] | null | null | null | event-driven-simulator/OrderStack.h | xia0ran-meng/comp-2150 | 768562efec2f5cd12074eeed206260c05174f3a0 | [
"MIT"
] | null | null | null | event-driven-simulator/OrderStack.h | xia0ran-meng/comp-2150 | 768562efec2f5cd12074eeed206260c05174f3a0 | [
"MIT"
] | null | null | null | #pragma once
#include "OrderList.h"
/**
* Model an order stack
*/
class OrderStack : public OrderList {
public:
OrderStack();
void add(Entity* item) override;
};
| 12.5 | 37 | 0.657143 |
90aab92c1f990f1bf8a76881ea4041d11b95e741 | 738 | py | Python | apps/webmarks/bookmarks/migrations/00012_remove_uuid_null.py | EricMuller/mynote-backend | 69bc39b8cfad52d6c42003cfa7bd629f3e8eccb7 | [
"MIT"
] | 1 | 2017-04-26T10:24:21.000Z | 2017-04-26T10:24:21.000Z | apps/webmarks/bookmarks/migrations/00012_remove_uuid_null.py | EricMuller/mynotes-backend | 69bc39b8cfad52d6c42003cfa7bd629f3e8eccb7 | [
"MIT"
] | 5 | 2020-06-05T18:16:39.000Z | 2022-01-13T00:45:49.000Z | apps/webmarks/bookmarks/migrations/00012_remove_uuid_null.py | EricMuller/webmarks-rest-api | 69bc39b8cfad52d6c42003cfa7bd629f3e8eccb7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-07-30 12:03
from __future__ import unicode_literals
from django.db import migrations, models
import uuid
class Migration(migrations.Migration):
dependencies = [
('webmarks_bookmarks', '0011_populate_uuid_values'),
]
operations = [
... | 24.6 | 67 | 0.596206 |
3bfb79561e0c9015ea93b616f534579a48a1afe5 | 3,319 | c | C | Multiple_Interrupt/main.c | hodoemelem/Stm32l4-Bare-Metal | a4dc462699cda0488eaaebc5a751ce6167486884 | [
"MIT"
] | null | null | null | Multiple_Interrupt/main.c | hodoemelem/Stm32l4-Bare-Metal | a4dc462699cda0488eaaebc5a751ce6167486884 | [
"MIT"
] | null | null | null | Multiple_Interrupt/main.c | hodoemelem/Stm32l4-Bare-Metal | a4dc462699cda0488eaaebc5a751ce6167486884 | [
"MIT"
] | null | null | null | #include "stm32l4xx.h" // Device header
//Led: PA5
//push Button:PC13
//PB10 conneted to GND or VCC
void SysClock_Config(void);
void systickDelayMS(int n);
void EXTI15_10_IRQHandler(void); // External interrupt callback function
volatile int pb10_counter;
volatile int pc13_counter;
int m... | 27.204918 | 88 | 0.590238 |
cb87a6fbfd05e606e856578b95f3a22109758e7b | 245 | asm | Assembly | libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_ide_get_lfn_callee.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_ide_get_lfn_callee.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_ide_get_lfn_callee.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; unsigned char esx_ide_get_lfn(struct esx_lfn *dir, struct esx_cat_entry *query)
SECTION code_esxdos
PUBLIC esx_ide_get_lfn_callee
EXTERN asm_esx_ide_get_lfn
esx_ide_get_lfn_callee:
pop hl
pop de
ex (sp),hl
jp asm_esx_ide_get_lfn
| 15.3125 | 81 | 0.804082 |
fbae12a6b206b567383df965ededec1aca415c95 | 2,362 | c | C | kernel/test-suite/physical-memory-test.c | sts-q/Einherjar | dcbeb8ff408baf9678edbc6f8e2e149b0ec74fb9 | [
"MIT"
] | 20 | 2015-07-24T04:42:50.000Z | 2022-03-17T22:01:20.000Z | kernel/test-suite/physical-memory-test.c | narke/oldrg | f359d2ec24e1c912c08144870c324b480bb62759 | [
"MIT"
] | 1 | 2018-01-01T15:52:47.000Z | 2018-01-01T15:52:47.000Z | kernel/test-suite/physical-memory-test.c | narke/oldrg | f359d2ec24e1c912c08144870c324b480bb62759 | [
"MIT"
] | 2 | 2021-03-27T23:21:54.000Z | 2021-06-25T17:06:36.000Z | #include <lib/types.h>
#include <lib/libc.h>
#include <lib/queue.h>
#include <arch/x86-pc/io/vga.h>
#include <memory/physical-memory.h>
#include "physical-memory-test.h"
#define MY_PPAGE_NUM_INT 511
struct phys_page
{
uint32_t before[MY_PPAGE_NUM_INT];
TAILQ_ENTRY(phys_page) next;
uint32_t af... | 28.457831 | 93 | 0.552498 |
48c49ea5fd7a8b37a1e386f95150e45c8cfcdb5d | 1,151 | h | C | TAO/examples/Simple/time/Time_i.h | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/examples/Simple/time/Time_i.h | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/examples/Simple/time/Time_i.h | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // -*- C++ -*-
//=============================================================================
/**
* @file Time_i.h
*
* $Id: Time_i.h 94530 2011-09-28 12:37:43Z johnnyw $
*
* This class implements the Time IDL interface.
*
*
* @author Darrell Brunsch <brunsch@cs.wustl.edu>
*/
//========================... | 19.844828 | 79 | 0.565595 |
5bd9dccdff340a5db4938edd14de9843e82ce367 | 3,104 | c | C | drivers/bl702_driver/hal_drv/src/hal_boot2.c | zeroherolin/bl_mcu_sdk | 97760e3633d7ce0f435be1d98e7c9e8c46bfaca7 | [
"Apache-2.0"
] | 2 | 2021-08-20T06:50:43.000Z | 2021-08-20T07:30:49.000Z | drivers/bl702_driver/hal_drv/src/hal_boot2.c | zeroherolin/bl_mcu_sdk | 97760e3633d7ce0f435be1d98e7c9e8c46bfaca7 | [
"Apache-2.0"
] | null | null | null | drivers/bl702_driver/hal_drv/src/hal_boot2.c | zeroherolin/bl_mcu_sdk | 97760e3633d7ce0f435be1d98e7c9e8c46bfaca7 | [
"Apache-2.0"
] | null | null | null | #include "hal_boot2.h"
#include "hal_flash.h"
#include "bl702_ef_ctrl.h"
#include "bl702_hbn.h"
#include "bl702_glb.h"
#include "bl702_xip_sflash.h"
#include "tzc_sec_reg.h"
#include "hal_gpio.h"
/**
* @brief boot2 custom
*
* @param None
* @return uint32
*/
uint32_t hal_boot2_custom(void)
{
r... | 18.586826 | 117 | 0.656894 |
40ffc076361674499ba934a04524b8c77032b66c | 282 | py | Python | xe_currencies/settings.py | aisayko/django-xe-currencies | 483646a93bf15a8dc942b6b9e08c2516193eee1a | [
"MIT"
] | 2 | 2015-04-06T19:13:35.000Z | 2019-03-01T06:19:42.000Z | xe_currencies/settings.py | aisayko/django-xe-currencies | 483646a93bf15a8dc942b6b9e08c2516193eee1a | [
"MIT"
] | 3 | 2020-02-11T22:23:11.000Z | 2021-06-10T17:42:48.000Z | xe_currencies/settings.py | aisayko/django-xe-currencies | 483646a93bf15a8dc942b6b9e08c2516193eee1a | [
"MIT"
] | 1 | 2015-05-12T20:31:19.000Z | 2015-05-12T20:31:19.000Z | """
The following settings should be defined in your global settings
XE_DATAFEED_URL should be set to your registered XE username.
"""
try:
from django.conf import settings
except ImportError:
settings = {}
XE_DATAFEED_URL = 'http://www.xe.com/dfs/datafeed2.cgi?xeuser'
| 20.142857 | 64 | 0.748227 |
400bea91ad46a0cb4ff8371afab7e1ce0d518ca6 | 20,828 | py | Python | convlab/lib/util.py | ngduyanhece/ConvLab | a04582a77537c1a706fbf64715baa9ad0be1301a | [
"MIT"
] | 405 | 2019-06-17T05:38:47.000Z | 2022-03-29T15:16:51.000Z | convlab/lib/util.py | ngduyanhece/ConvLab | a04582a77537c1a706fbf64715baa9ad0be1301a | [
"MIT"
] | 69 | 2019-06-20T22:57:41.000Z | 2022-03-04T12:12:07.000Z | convlab/lib/util.py | ngduyanhece/ConvLab | a04582a77537c1a706fbf64715baa9ad0be1301a | [
"MIT"
] | 124 | 2019-06-17T05:11:23.000Z | 2021-12-31T05:58:18.000Z | # Modified by Microsoft Corporation.
# Licensed under the MIT license.
import json
import operator
import os
import pickle
import subprocess
import sys
import time
from collections import deque
from contextlib import contextmanager
from datetime import datetime
from importlib import reload
from pprint import pformat
... | 30.674521 | 164 | 0.649942 |
cb54622187845fa97e82757c7ec34e436fff7ec1 | 2,971 | html | HTML | Python/output/charts/chart_heater_2021-01-23.html | hqrrr/arduino_project_anwendungswerkstatt | d42cd26f5b64e79a7b8f20c08a32e0230d6259bb | [
"Apache-2.0"
] | null | null | null | Python/output/charts/chart_heater_2021-01-23.html | hqrrr/arduino_project_anwendungswerkstatt | d42cd26f5b64e79a7b8f20c08a32e0230d6259bb | [
"Apache-2.0"
] | null | null | null | Python/output/charts/chart_heater_2021-01-23.html | hqrrr/arduino_project_anwendungswerkstatt | d42cd26f5b64e79a7b8f20c08a32e0230d6259bb | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<style>
.error {
color: red;
}
</style>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm//vega@5"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm//vega-lite@4.8.1"></script>
<script type="text/javascript" src="https://cdn... | 84.885714 | 1,870 | 0.600135 |
dda3c7f4b03fd3fc686664c855bb80440e9bb3a4 | 231 | php | PHP | src/Interfaces/Field.php | peter44322/dy-form | ab7c0e607e4bf6938363f8633fc2156f60fb8ba6 | [
"MIT"
] | 2 | 2019-07-14T18:56:49.000Z | 2019-08-30T07:52:14.000Z | src/Interfaces/Field.php | peter44322/dy-form | ab7c0e607e4bf6938363f8633fc2156f60fb8ba6 | [
"MIT"
] | null | null | null | src/Interfaces/Field.php | peter44322/dy-form | ab7c0e607e4bf6938363f8633fc2156f60fb8ba6 | [
"MIT"
] | null | null | null | <?php
namespace Peterzaccha\DyForm\Interfaces;
use Peterzaccha\DyForm\Models\DyColumn;
interface Field
{
public function __construct(DyColumn $column);
public function render();
public function setValue($value);
}
| 15.4 | 50 | 0.748918 |
7992957cc8993984e81206a44a7b16520a6a1684 | 4,067 | sql | SQL | wget3.sql | QuoInsight/sql | 3d4c4a893bb0c6bad4afa3f2983598b98a064837 | [
"MIT"
] | null | null | null | wget3.sql | QuoInsight/sql | 3d4c4a893bb0c6bad4afa3f2983598b98a064837 | [
"MIT"
] | null | null | null | wget3.sql | QuoInsight/sql | 3d4c4a893bb0c6bad4afa3f2983598b98a064837 | [
"MIT"
] | null | null | null | DECLARE
TYPE txtHash IS TABLE OF VARCHAR2(255) INDEX BY VARCHAR2(50);
headers txtHash;
data CLOB;
l_count NUMBER;
/*------------------------------------------------------------------*/
FUNCTION println(p_Data IN OUT NOCOPY CLOB)
RETURN NUMBER
AS
i number;
startPos number;
endP... | 29.686131 | 129 | 0.615933 |
6232f488e62dd07233640879ff91ffd88de0757d | 4,533 | kt | Kotlin | src/main/kotlin/com/valaphee/blit/source/dav/DavSource.kt | valaphee/accumuload | e686d5898553021e1b4f3e825350f46472f25e4f | [
"Apache-2.0"
] | 7 | 2022-01-05T04:08:29.000Z | 2022-02-10T03:26:40.000Z | src/main/kotlin/com/valaphee/blit/source/dav/DavSource.kt | valaphee/accumuload | e686d5898553021e1b4f3e825350f46472f25e4f | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/valaphee/blit/source/dav/DavSource.kt | valaphee/accumuload | e686d5898553021e1b4f3e825350f46472f25e4f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021-2022, Valaphee.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 40.115044 | 220 | 0.68608 |
bb5788c3b60830be20c2db5291aeca310dc40806 | 470 | rs | Rust | Rust/Algorithms/1374.rs | DimitrisJim/leetcode_solutions | 765ea578748f8c9b21243dec9dc8a16163e85c0c | [
"Unlicense"
] | 2 | 2021-01-15T17:22:54.000Z | 2021-05-16T19:58:02.000Z | Rust/Algorithms/1374.rs | DimitrisJim/leetcode_solutions | 765ea578748f8c9b21243dec9dc8a16163e85c0c | [
"Unlicense"
] | null | null | null | Rust/Algorithms/1374.rs | DimitrisJim/leetcode_solutions | 765ea578748f8c9b21243dec9dc8a16163e85c0c | [
"Unlicense"
] | null | null | null | impl Solution {
pub fn generate_the_string(n: i32) -> String {
if n == 1 {
return String::from("a");
}
let (excess, takes) = match n & 1 == 1 {
true => ("bc", n-2),
false => ("b", n-1),
};
let mut res: String = "a"
.chars()
... | 23.5 | 50 | 0.389362 |
857d5ee12a7e764050ac46281a99aa03f281cc3f | 560 | js | JavaScript | src/middleware/service/signing/account/list.js | ufwd-dev/activity | d9f7619ca7211075d53e1a6749722fbbb064997a | [
"MIT"
] | 1 | 2020-07-28T12:07:13.000Z | 2020-07-28T12:07:13.000Z | src/middleware/service/signing/account/list.js | ufwd-dev/activity | d9f7619ca7211075d53e1a6749722fbbb064997a | [
"MIT"
] | 20 | 2018-06-17T21:41:33.000Z | 2019-07-27T12:09:04.000Z | src/middleware/service/signing/account/list.js | ufwd-dev/activity | d9f7619ca7211075d53e1a6749722fbbb064997a | [
"MIT"
] | null | null | null | 'use strict';
const {throwError} = require('error-standardize');
module.exports = function* getAccountAttendanceList(req, res, next) {
const Attendance = res.sequelize.model('ufwdAttendance');
const Account = res.sequelize.model('account');
const accountId = req.params.accountId;
const account = yield Account.fi... | 19.310345 | 69 | 0.691071 |
a03d73567ba2dc7219d3db37c0e92a937c78ef90 | 264 | swift | Swift | ProjectPharma/Pharma/PresentationLayer/UserStories/ComponentInfo/ComponentInfoInput.swift | MadL0rd/Pharma | 5bfded05b349ab5f9fc10a19eec5579b65924770 | [
"Apache-2.0"
] | null | null | null | ProjectPharma/Pharma/PresentationLayer/UserStories/ComponentInfo/ComponentInfoInput.swift | MadL0rd/Pharma | 5bfded05b349ab5f9fc10a19eec5579b65924770 | [
"Apache-2.0"
] | null | null | null | ProjectPharma/Pharma/PresentationLayer/UserStories/ComponentInfo/ComponentInfoInput.swift | MadL0rd/Pharma | 5bfded05b349ab5f9fc10a19eec5579b65924770 | [
"Apache-2.0"
] | null | null | null | //
// ComponentInfoInput.swift
// Pharma
//
// Created by Антон Текутов on 20.06.2021.
//
protocol CustomizableComponentInfoViewModel: AnyObject {
var output: ComponentInfoOutput? { get set }
var component: SupplementComponent! { get set }
}
| 18.857143 | 56 | 0.689394 |
6d10bfeec8541aeb25e97ba07a77bb97777b92e3 | 195 | sql | SQL | PL3/Ex2/2.sql | DFTF-PConsole/BD-PLs-PostgreSQL-LEI-2021 | b71055a42ab7f5621b103608b0819d5d8b3b62b8 | [
"MIT"
] | null | null | null | PL3/Ex2/2.sql | DFTF-PConsole/BD-PLs-PostgreSQL-LEI-2021 | b71055a42ab7f5621b103608b0819d5d8b3b62b8 | [
"MIT"
] | null | null | null | PL3/Ex2/2.sql | DFTF-PConsole/BD-PLs-PostgreSQL-LEI-2021 | b71055a42ab7f5621b103608b0819d5d8b3b62b8 | [
"MIT"
] | null | null | null | SELECT e.nome "NOME", e.sal "SALARIO", e.ndep "N DEP", d.nome "DEPARTAMENTO"
FROM dep AS d, emp AS e
WHERE e.ndep = d.ndep
AND UPPER(e.nome) LIKE 'A% R%'
ORDER BY d.nome ASC, e.nome ASC
; | 32.5 | 76 | 0.641026 |
a3f4620fb2cecc256428a9d18403ebc3bbd37d98 | 885 | sql | SQL | Redgate/Tables/dbo.tbl_stg_Jira_Deployment.sql | ReubenUnruh/PowerJiraSqlRefresh | 18bb8f911eb6244c17ebdac4af335feb9f096099 | [
"MIT"
] | null | null | null | Redgate/Tables/dbo.tbl_stg_Jira_Deployment.sql | ReubenUnruh/PowerJiraSqlRefresh | 18bb8f911eb6244c17ebdac4af335feb9f096099 | [
"MIT"
] | null | null | null | Redgate/Tables/dbo.tbl_stg_Jira_Deployment.sql | ReubenUnruh/PowerJiraSqlRefresh | 18bb8f911eb6244c17ebdac4af335feb9f096099 | [
"MIT"
] | null | null | null | CREATE TABLE [dbo].[tbl_stg_Jira_Deployment]
(
[Display_Name] [varchar] (200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Deployment_Url] [varchar] (200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[State] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Last_Updated] [datetime] NULL,
[Pipeline_Id] [... | 49.166667 | 143 | 0.79209 |
43e0cc71af17b70877204a3fcb476ab59024e3c8 | 1,039 | go | Go | internal/service/storage.go | Sergey1011010/insights-operator-gathering-conditions-service | fa6ba8991a26722ec948ece956291de433d784fa | [
"Apache-2.0"
] | null | null | null | internal/service/storage.go | Sergey1011010/insights-operator-gathering-conditions-service | fa6ba8991a26722ec948ece956291de433d784fa | [
"Apache-2.0"
] | null | null | null | internal/service/storage.go | Sergey1011010/insights-operator-gathering-conditions-service | fa6ba8991a26722ec948ece956291de433d784fa | [
"Apache-2.0"
] | null | null | null | package service
import (
"fmt"
"io/ioutil"
"os"
"github.com/rs/zerolog/log"
)
type StorageInterface interface {
Find(res string) []byte
}
type StorageConfig struct {
RulesPath string `mapstructure:"rules_path" toml:"rules_path"`
}
type Storage struct {
path string
cache map[string][]byte
}
func NewStorag... | 15.984615 | 63 | 0.649663 |
93de60de52e96280b4cbe7186dab78d4d4e7e137 | 1,062 | sql | SQL | INFO/Books Codes/Oracle PLSQL Tips and Techniques/OutputChapter13/13_22.sql | nabeelkhan/Oracle-DBA-Life | 102a3d14cfd102f38968f2f62f4ec3e019d33b21 | [
"MIT"
] | null | null | null | INFO/Books Codes/Oracle PLSQL Tips and Techniques/OutputChapter13/13_22.sql | nabeelkhan/Oracle-DBA-Life | 102a3d14cfd102f38968f2f62f4ec3e019d33b21 | [
"MIT"
] | null | null | null | INFO/Books Codes/Oracle PLSQL Tips and Techniques/OutputChapter13/13_22.sql | nabeelkhan/Oracle-DBA-Life | 102a3d14cfd102f38968f2f62f4ec3e019d33b21 | [
"MIT"
] | null | null | null | -- ***************************************************************************
-- File: 13_22.sql
--
-- Developed By TUSC
--
-- Disclaimer: Neither Osborne/McGraw-Hill, TUSC, nor the author warrant
-- that this source code is error-free. If any errors are
-- found in this source code, please rep... | 35.4 | 78 | 0.532957 |
402a4c9ddce96b9d61a03cca3c7566e9663ce714 | 31,657 | py | Python | python3_codes/utils_scFAN.py | sperfu/scFAN | b5469b4968974e08e6d3aec1be69663916cd32f8 | [
"MIT"
] | 7 | 2020-01-15T20:13:29.000Z | 2021-07-13T14:50:06.000Z | python3_codes/utils_scFAN.py | uci-cbcl/scFAN | b1955c88c6ec97c447c254dc0ebdd33778e09099 | [
"MIT"
] | 3 | 2021-02-12T10:46:44.000Z | 2021-12-31T02:57:19.000Z | python3_codes/utils_scFAN.py | uci-cbcl/scFAN | b1955c88c6ec97c447c254dc0ebdd33778e09099 | [
"MIT"
] | 2 | 2020-01-30T00:49:20.000Z | 2022-01-14T04:18:59.000Z | import numpy as np
from pybedtools import BedTool, Interval
import pyfasta
import parmap
import copy
# Standard library imports
import os
import itertools
from data_iter_scFAN import DataIterator
import pybedtools
import pdb
import subprocess
t_flag = subprocess.getstatusoutput('mkdir tmp_scFAN')
pybedtools.set_tempdi... | 43.907074 | 195 | 0.656032 |
c14635494da02a8f75fa1e12483eaa3aa6eb05a4 | 1,431 | rs | Rust | dbcrossbarlib/src/drivers/gs/local_data.rs | faradayio/schemaconv | eeb808354af7d58f1782927eaa9e754d59544011 | [
"Apache-2.0",
"MIT"
] | 29 | 2019-03-14T06:43:01.000Z | 2020-03-14T16:15:26.000Z | dbcrossbarlib/src/drivers/gs/local_data.rs | faradayio/schemaconv | eeb808354af7d58f1782927eaa9e754d59544011 | [
"Apache-2.0",
"MIT"
] | 71 | 2019-02-18T13:26:46.000Z | 2020-03-28T14:37:15.000Z | dbcrossbarlib/src/drivers/gs/local_data.rs | faradayio/schemaconv | eeb808354af7d58f1782927eaa9e754d59544011 | [
"Apache-2.0",
"MIT"
] | 1 | 2019-04-22T12:59:06.000Z | 2019-04-22T12:59:06.000Z | //! Reading data from Google Cloud Storage.
use super::GsLocator;
use crate::clouds::gcloud::storage;
use crate::common::*;
use crate::csv_stream::csv_stream_name;
/// Implementation of `local_data`, but as a real `async` function.
#[instrument(
level = "trace",
name = "gs::local_data",
skip_all,
fiel... | 29.8125 | 74 | 0.600978 |
9ba77eec2bd47e7ee92f6cd82f3d92f4db84d154 | 2,346 | js | JavaScript | comparisons/react/todo.js | HorizonShadow/todo-compare | fee49393da1746d992038de34624c8539f54aa89 | [
"MIT"
] | 5 | 2019-03-28T18:57:13.000Z | 2019-08-02T18:28:11.000Z | comparisons/react/todo.js | HorizonShadow/todo-compare | fee49393da1746d992038de34624c8539f54aa89 | [
"MIT"
] | null | null | null | comparisons/react/todo.js | HorizonShadow/todo-compare | fee49393da1746d992038de34624c8539f54aa89 | [
"MIT"
] | 3 | 2019-03-30T19:48:10.000Z | 2019-04-09T08:54:16.000Z | import React, {Component} from 'react';
import './ToDo.css';
import ToDoItem from './components/ToDoItem';
import Logo from './assets/logo.png';
class ToDo extends Component {
constructor(props) {
super(props);
this.state = {
// this is where the data goes
list: [
... | 26.066667 | 128 | 0.390878 |
590a9c53537fac2d169eac044a15dfbb0670a0f2 | 4,284 | swift | Swift | IMSDK/IMSDK/Classes/View/Expand/ToolView/BottomSelectView/FZMBottomSelectView.swift | 33cn/chat33-ios | 4537fb62e3515801047b4df708f31e40c3d9ed74 | [
"BSD-3-Clause"
] | null | null | null | IMSDK/IMSDK/Classes/View/Expand/ToolView/BottomSelectView/FZMBottomSelectView.swift | 33cn/chat33-ios | 4537fb62e3515801047b4df708f31e40c3d9ed74 | [
"BSD-3-Clause"
] | null | null | null | IMSDK/IMSDK/Classes/View/Expand/ToolView/BottomSelectView/FZMBottomSelectView.swift | 33cn/chat33-ios | 4537fb62e3515801047b4df708f31e40c3d9ed74 | [
"BSD-3-Clause"
] | 3 | 2020-07-22T11:53:21.000Z | 2021-05-29T13:38:55.000Z | //
// FZMBottomSelectView.swift
// IM_SocketIO_Demo
//
// Created by 吴文拼 on 2018/9/12.
// Copyright © 2018年 Wang. All rights reserved.
//
import UIKit
import RxSwift
class FZMBottomSelectView: UIView {
let disposeBag = DisposeBag()
private let cancelBtn : UIButton = {
let btn = UIButton(type... | 34.829268 | 158 | 0.586835 |
7289f0cf2fb0caff6c254d340596a7027c6cba75 | 48 | sql | SQL | ViewEnterpriseEditionFeatures.sql | treebat1/SQL | 388c4dc59618589725a8761d5711169452650192 | [
"MIT"
] | null | null | null | ViewEnterpriseEditionFeatures.sql | treebat1/SQL | 388c4dc59618589725a8761d5711169452650192 | [
"MIT"
] | null | null | null | ViewEnterpriseEditionFeatures.sql | treebat1/SQL | 388c4dc59618589725a8761d5711169452650192 | [
"MIT"
] | null | null | null | SELECT *
FROM sys.dm_db_persisted_sku_features | 24 | 37 | 0.854167 |
2a8cb2144dc4a6de6ad9f7649f710303842a1fdb | 3,079 | java | Java | test/cz/vutbr/stud/fit/xsimon13/whoowns/java/typeresolver/ScopeUtilsTest.java | Strix-CZ/whoowns_simple | fac771ba1c76086e60f2727b91a6ade70715f245 | [
"Apache-2.0"
] | 1 | 2017-03-26T16:48:10.000Z | 2017-03-26T16:48:10.000Z | test/cz/vutbr/stud/fit/xsimon13/whoowns/java/typeresolver/ScopeUtilsTest.java | Strix-CZ/whoowns_simple | fac771ba1c76086e60f2727b91a6ade70715f245 | [
"Apache-2.0"
] | null | null | null | test/cz/vutbr/stud/fit/xsimon13/whoowns/java/typeresolver/ScopeUtilsTest.java | Strix-CZ/whoowns_simple | fac771ba1c76086e60f2727b91a6ade70715f245 | [
"Apache-2.0"
] | null | null | null | /*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License")... | 49.66129 | 200 | 0.744398 |
5fe2cd6ceff935ff0b9697c94c62ef9430c17626 | 952 | h | C | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/PLDImageHandler.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-03-29T12:08:37.000Z | 2021-05-26T05:20:11.000Z | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/PLDImageHandler.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | null | null | null | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/PLDImageHandler.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-04-17T03:24:04.000Z | 2022-03-30T05:42:17.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
#import "PLDImageProtocol-Protocol.h"
@class NSString;
@interface PLDImageHandler : NSObject <PLDImageProt... | 29.75 | 146 | 0.755252 |
477cda84d4fca0ead18c49a4abbe5a6429e0b2fe | 2,285 | htm | HTML | partials/shop-checkout-pay.htm | lambospeed/lscloud-theme-meyer | 4a5b0829f558cf96d7a880250d99133d642d63d0 | [
"MIT"
] | 2 | 2017-09-24T07:55:19.000Z | 2019-06-05T01:48:29.000Z | partials/shop-checkout-pay.htm | lambospeed/lscloud-theme-meyer | 4a5b0829f558cf96d7a880250d99133d642d63d0 | [
"MIT"
] | 73 | 2017-05-25T04:59:18.000Z | 2018-05-23T21:08:20.000Z | partials/shop-checkout-pay.htm | lambospeed/lscloud-theme-meyer | 4a5b0829f558cf96d7a880250d99133d642d63d0 | [
"MIT"
] | 4 | 2017-06-23T01:11:32.000Z | 2017-11-02T03:31:15.000Z | ---
description: '3 page checkout paystep.'
---
<div layout="column" id="checkout-paymentMethod">
<div layout="column">
{{ open_form({'class': 'custom'}) }}
{{ partial('shop-checkout-edit-discount') }}
{{ close_form() }}
{% if paymentMethods | length == 1 %}
<span class="input-hidden" ng-i... | 45.7 | 178 | 0.597812 |
175a0cfe56b266a93d95c51c88f998c3bbf71e12 | 6,439 | xhtml | HTML | data/tika-parsed/separated/296.xhtml | Anthonyive/DSCI-550-Assignment-2 | 65bba4cb22ab90dbc469d40c66f4495022924eb2 | [
"MIT"
] | 1 | 2021-06-24T19:53:01.000Z | 2021-06-24T19:53:01.000Z | data/tika-parsed/separated/296.xhtml | Anthonyive/DSCI-550-Assignment-2 | 65bba4cb22ab90dbc469d40c66f4495022924eb2 | [
"MIT"
] | null | null | null | data/tika-parsed/separated/296.xhtml | Anthonyive/DSCI-550-Assignment-2 | 65bba4cb22ab90dbc469d40c66f4495022924eb2 | [
"MIT"
] | 1 | 2021-04-09T17:30:13.000Z | 2021-04-09T17:30:13.000Z | <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="subject" content="Proposal" />
<meta name="dc:creator" content=""Mr.Bom Uche" <mrbom@fastermail.com>" />
<meta name="dc:creator" content="Mr.Bom Uche <mrbom@fastermail.com>" />
<meta name="MboxParser-status" content="O" />
<meta name="... | 52.778689 | 107 | 0.763628 |
6d19e0a7333ac54ac823e389b9ba4855f7d566f4 | 1,889 | kt | Kotlin | app/src/main/java/info/codive/sample/viewpager2/MainActivity.kt | Codive/ViewPager2Sample | 5a06cc05bf5e0e9ce87756059ea2d6a7a922da29 | [
"MIT"
] | null | null | null | app/src/main/java/info/codive/sample/viewpager2/MainActivity.kt | Codive/ViewPager2Sample | 5a06cc05bf5e0e9ce87756059ea2d6a7a922da29 | [
"MIT"
] | null | null | null | app/src/main/java/info/codive/sample/viewpager2/MainActivity.kt | Codive/ViewPager2Sample | 5a06cc05bf5e0e9ce87756059ea2d6a7a922da29 | [
"MIT"
] | 1 | 2021-06-26T02:24:21.000Z | 2021-06-26T02:24:21.000Z | package info.codive.sample.viewpager2
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import androidx.viewpager.widget.ViewPager
import androidx.viewpager2.widget.ViewPager2
private const val PAGE_MAX: Int = 5
class MainActivity : AppCompatActivity() {
privat... | 29.515625 | 93 | 0.660667 |
c46a9d0ead75ece838e49aaa97c3591a9313f8f8 | 2,621 | h | C | code/dtslam_ui/shaders/TextRenderer.h | luoyongheng/dtslam | d3c2230d45db14c811eff6fd43e119ac39af1352 | [
"BSD-3-Clause"
] | 144 | 2015-01-15T03:38:44.000Z | 2022-02-17T09:07:52.000Z | code/dtslam_ui/shaders/TextRenderer.h | luoyongheng/dtslam | d3c2230d45db14c811eff6fd43e119ac39af1352 | [
"BSD-3-Clause"
] | 9 | 2015-09-09T06:51:46.000Z | 2020-06-17T14:10:10.000Z | code/dtslam_ui/shaders/TextRenderer.h | luoyongheng/dtslam | d3c2230d45db14c811eff6fd43e119ac39af1352 | [
"BSD-3-Clause"
] | 58 | 2015-01-14T23:43:49.000Z | 2021-11-15T05:19:08.000Z | /*
* TextRenderer.h
*
* Copyright(C) 2014, University of Oulu, all rights reserved.
* Copyright(C) 2014, NVIDIA Corporation, all rights reserved.
* Third party copyrights are property of their respective owners.
* Contact: Daniel Herrera C. (dherrera@ee.oulu.fi),
* Kihwan Kim(kihwank@nvidia.com)
* Auth... | 23.401786 | 112 | 0.661198 |
cb2dfe26e742f02d6a2f0ca74e457bf3192e45a0 | 1,363 | h | C | Client/src/lua_util.h | ruuuubi/corsairs-client | ddbcd293d6ef3f58ff02290c02382cbb7e0939a2 | [
"Apache-2.0"
] | 1 | 2021-06-14T09:34:08.000Z | 2021-06-14T09:34:08.000Z | Client/src/lua_util.h | ruuuubi/corsairs-client | ddbcd293d6ef3f58ff02290c02382cbb7e0939a2 | [
"Apache-2.0"
] | null | null | null | Client/src/lua_util.h | ruuuubi/corsairs-client | ddbcd293d6ef3f58ff02290c02382cbb7e0939a2 | [
"Apache-2.0"
] | null | null | null | #include <strstream>
inline int lua_MsgBox(lua_State *L)
{
const char *pszContent = lua_tostring(L, 1);
MessageBox(NULL, pszContent, "msg", 0);
return 0;
}
inline int lua_GetTickCount(lua_State *L)
{
lua_pushnumber(L, GetTickCount());
return 1;
}
inline int lua_Rand(lua_State *L)
{
BOOL bVali... | 19.197183 | 59 | 0.557594 |
2190f7c969607b681926952e3a8f718a5891efe4 | 701 | rs | Rust | examples/city.rs | pontuslaestadius/pathfinder | a62adb58c90474fffb6ae33e7fe93d3a858f72a5 | [
"MIT"
] | 4 | 2020-08-10T11:16:36.000Z | 2021-02-27T15:23:48.000Z | examples/city.rs | pontuslaestadius/pathfinder | a62adb58c90474fffb6ae33e7fe93d3a858f72a5 | [
"MIT"
] | 26 | 2018-08-07T15:52:41.000Z | 2020-03-10T10:19:06.000Z | examples/city.rs | pontuslae/pathfinder | a62adb58c90474fffb6ae33e7fe93d3a858f72a5 | [
"MIT"
] | null | null | null | extern crate pathtracer;
use pathtracer::*;
use std::path::Path;
fn main() -> Result<(), std::io::Error> {
let mut pos = Vec::new();
let city_size = 30;
let spread = 15;
for y in 0..city_size / 2 {
for x in 0..city_size * 2 {
let mut node = node!(spread * x, spread * y);
... | 23.366667 | 79 | 0.496434 |
9527ece00547ca63aa303c05bc1c4ff8bdeded7a | 1,576 | css | CSS | haxe/ui/_module/styles/dark/tableview.css | radiatoryang/haxeui-core | 761205141f58a837ef6af9ef212613f91bb21d00 | [
"MIT"
] | null | null | null | haxe/ui/_module/styles/dark/tableview.css | radiatoryang/haxeui-core | 761205141f58a837ef6af9ef212613f91bb21d00 | [
"MIT"
] | null | null | null | haxe/ui/_module/styles/dark/tableview.css | radiatoryang/haxeui-core | 761205141f58a837ef6af9ef212613f91bb21d00 | [
"MIT"
] | null | null | null | /************************************************************************
** HEADER
*************************************************************************/
.column.sortable {
icon: "haxeui-core/styles/default/sortable_arrows.png";
icon-position: far-right;
}
.column.sort-asc {
icon: "haxeui-core/styles/... | 19.949367 | 74 | 0.543782 |
402330dd75deff5aebac3b8552e3fec70c1bdf41 | 991 | py | Python | jupyterStyle/StyleHelper.py | RobertOlechowski/Jupyter-Style | 1e5901d7e514920e855ff23c3f515b3712b677c7 | [
"MIT"
] | 2 | 2021-05-05T16:20:24.000Z | 2021-09-28T18:05:52.000Z | jupyterStyle/StyleHelper.py | RobertOlechowski/Jupyter-Style | 1e5901d7e514920e855ff23c3f515b3712b677c7 | [
"MIT"
] | null | null | null | jupyterStyle/StyleHelper.py | RobertOlechowski/Jupyter-Style | 1e5901d7e514920e855ff23c3f515b3712b677c7 | [
"MIT"
] | null | null | null | import sys
if sys.version_info < (3, 5):
raise Exception("Python 3.5 required")
class StyleHelper(object):
template_file_name = "style_template.css_template"
def __init__(self):
import os
dir_path = os.path.dirname(os.path.realpath(__file__))
file_name = os.path.join(dir_path, se... | 30.030303 | 87 | 0.638749 |
18e6ae330af1834f8aecf8d8a0f8b45fcab15068 | 134 | rb | Ruby | db/migrate/20200214173335_rename_type_to_comment_type.rb | stef-codes/booktap-backend | c0259162d1052b28958cddd559dab9529f4263c2 | [
"Unlicense"
] | 1 | 2020-02-14T23:44:57.000Z | 2020-02-14T23:44:57.000Z | db/migrate/20200214173335_rename_type_to_comment_type.rb | stef-codes/booktap-backend | c0259162d1052b28958cddd559dab9529f4263c2 | [
"Unlicense"
] | 6 | 2021-05-19T19:17:31.000Z | 2022-03-31T00:41:58.000Z | db/migrate/20200214173335_rename_type_to_comment_type.rb | stef-codes/booktap-backend | c0259162d1052b28958cddd559dab9529f4263c2 | [
"Unlicense"
] | null | null | null | class RenameTypeToCommentType < ActiveRecord::Migration[6.0]
def change
rename_column :comments, :type, :comment_type
end
end
| 22.333333 | 60 | 0.768657 |
a4d848ee3bc69e62be2fbe5ea408dbe46acf6edd | 3,298 | kt | Kotlin | src/main/kotlin/hu/adamsan/gitdb/dao/RepoDao.kt | adamsan/git-db | f280da5116103af22c23e9c920d3e64344b8c529 | [
"MIT"
] | null | null | null | src/main/kotlin/hu/adamsan/gitdb/dao/RepoDao.kt | adamsan/git-db | f280da5116103af22c23e9c920d3e64344b8c529 | [
"MIT"
] | null | null | null | src/main/kotlin/hu/adamsan/gitdb/dao/RepoDao.kt | adamsan/git-db | f280da5116103af22c23e9c920d3e64344b8c529 | [
"MIT"
] | null | null | null | package hu.adamsan.gitdb.dao
import org.jdbi.v3.core.Jdbi
import org.jdbi.v3.core.mapper.RowMapper
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import java.util.*
data class Repo(
val id: Int,
val name: String,
val path: String,
var favorite: Boolean,
var commits: Int... | 29.711712 | 140 | 0.494239 |
dd4d945cddf27abf38fb20958a64f127b8c1fe06 | 698 | go | Go | exerise/struct-1.go | fossabot/how_to_go | a7ce2c4aaa8ee997b63f581c4e30055c80b68002 | [
"MIT"
] | null | null | null | exerise/struct-1.go | fossabot/how_to_go | a7ce2c4aaa8ee997b63f581c4e30055c80b68002 | [
"MIT"
] | null | null | null | exerise/struct-1.go | fossabot/how_to_go | a7ce2c4aaa8ee997b63f581c4e30055c80b68002 | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"reflect"
)
type TZ int
type A struct {
Name string
}
type User struct {
Id int
Name string
Age int
}
type B struct {
Name string
}
func (a *A) Print() {
a.Name = "AA"
fmt.Println("A")
}
func (u User) Hello() {
fmt.Println("hello world")
}
func Info(o interface{}) {
t... | 11.830508 | 38 | 0.551576 |
3be03f032079499afce19c68f70f8d12ff1a4cf5 | 1,371 | c | C | src/uart.c | LukasJaeger307/easymsp | bc9b07f94ec34492468d22e2f4bec2e13c7cba2c | [
"WTFPL"
] | null | null | null | src/uart.c | LukasJaeger307/easymsp | bc9b07f94ec34492468d22e2f4bec2e13c7cba2c | [
"WTFPL"
] | null | null | null | src/uart.c | LukasJaeger307/easymsp | bc9b07f94ec34492468d22e2f4bec2e13c7cba2c | [
"WTFPL"
] | null | null | null | /*
* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The Fuck You Want
* To Public License, Version 2, as published by Sam Hocevar. See
* http://www.wtfpl.net/ for more details.
*... | 31.159091 | 116 | 0.624362 |
053f6ba8e23ff731bb4a9fdf63c82459c2675a39 | 948 | kt | Kotlin | template-vertx-basic/src/main/kotlin/cc/chordflower/template/basic/application/config/MailConfiguration.kt | fossabot/template-3 | 54a32cb686105265079f1b8d68a75993edffce4b | [
"Apache-2.0"
] | null | null | null | template-vertx-basic/src/main/kotlin/cc/chordflower/template/basic/application/config/MailConfiguration.kt | fossabot/template-3 | 54a32cb686105265079f1b8d68a75993edffce4b | [
"Apache-2.0"
] | 38 | 2021-01-04T12:06:04.000Z | 2021-07-21T06:21:09.000Z | template-vertx-basic/src/main/kotlin/cc/chordflower/template/basic/application/config/MailConfiguration.kt | fossabot/template-3 | 54a32cb686105265079f1b8d68a75993edffce4b | [
"Apache-2.0"
] | 1 | 2021-02-20T05:40:19.000Z | 2021-02-20T05:40:19.000Z | package cc.chordflower.template.basic.application.config
import cc.chordflower.template.basic.application.config.base.BaseMailConfiguration
import cc.chordflower.template.basic.application.utils.ValidatedObject
import io.vertx.core.json.JsonObject
import java.math.BigInteger
import java.util.*
import javax.validation.... | 33.857143 | 82 | 0.739451 |
8332184ac9f6b24a963315414794466567bafe4f | 2,447 | kt | Kotlin | app/src/main/java/com/yz/books/utils/ImageLoaderUtils.kt | zhangkari/yzlauncher | 90784936a9ec75e702120941fbfac6f1b40b93d5 | [
"Apache-2.0"
] | 1 | 2021-08-07T13:18:45.000Z | 2021-08-07T13:18:45.000Z | app/src/main/java/com/yz/books/utils/ImageLoaderUtils.kt | zhangkari/yzlauncher | 90784936a9ec75e702120941fbfac6f1b40b93d5 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/yz/books/utils/ImageLoaderUtils.kt | zhangkari/yzlauncher | 90784936a9ec75e702120941fbfac6f1b40b93d5 | [
"Apache-2.0"
] | 2 | 2020-10-12T13:26:59.000Z | 2020-11-25T20:43:14.000Z | package com.yz.books.utils
import android.graphics.Bitmap
import android.widget.ImageView
import androidx.core.graphics.drawable.RoundedBitmapDrawableFactory
import com.bumptech.glide.load.engine.DiskCacheStrategy
import com.bumptech.glide.request.target.BitmapImageViewTarget
import com.yz.books.R
import com.yz.books.... | 36.522388 | 115 | 0.617082 |
96b62e1d945112ed12bb32663b42bafbc6f57867 | 1,365 | kt | Kotlin | graphql-kotlin-schema-generator/src/test/kotlin/com/expedia/graphql/extensions/DeepNameKtTest.kt | tobias-f/graphql-kotlin | 0cc8c31edb77038373b50c7946a45760b0fbc1bd | [
"Apache-2.0"
] | 2 | 2020-07-01T03:36:23.000Z | 2020-07-24T07:12:04.000Z | graphql-kotlin-schema-generator/src/test/kotlin/com/expedia/graphql/extensions/DeepNameKtTest.kt | tobias-f/graphql-kotlin | 0cc8c31edb77038373b50c7946a45760b0fbc1bd | [
"Apache-2.0"
] | null | null | null | graphql-kotlin-schema-generator/src/test/kotlin/com/expedia/graphql/extensions/DeepNameKtTest.kt | tobias-f/graphql-kotlin | 0cc8c31edb77038373b50c7946a45760b0fbc1bd | [
"Apache-2.0"
] | null | null | null | package com.expedia.graphql.extensions
import graphql.schema.GraphQLList
import graphql.schema.GraphQLNonNull
import graphql.schema.GraphQLType
import graphql.schema.GraphQLTypeVisitor
import graphql.util.TraversalControl
import graphql.util.TraverserContext
import org.junit.jupiter.api.Test
import kotlin.test.assertE... | 29.673913 | 116 | 0.704029 |
135d02bb61e14fde67e59571f4efcb27e05ebcc0 | 885 | h | C | buildTools/win32-x64/gbdk/include/gbdk/console.h | DeerTears/gb-studio | e5d2a295d9623b2a30ac39e9b518ca48c239959c | [
"MIT"
] | 7 | 2021-11-03T08:18:40.000Z | 2022-03-07T01:39:05.000Z | buildTools/win32-x64/gbdk/include/gbdk/console.h | DeerTears/gb-studio | e5d2a295d9623b2a30ac39e9b518ca48c239959c | [
"MIT"
] | null | null | null | buildTools/win32-x64/gbdk/include/gbdk/console.h | DeerTears/gb-studio | e5d2a295d9623b2a30ac39e9b518ca48c239959c | [
"MIT"
] | 1 | 2022-03-01T03:19:34.000Z | 2022-03-01T03:19:34.000Z | /** @file gbdk/console.h
Console functions that work like Turbo C's.
The font is 8x8, making the screen 20x18 characters.
*/
#ifndef _CONSOLE_H
#define _CONSOLE_H
#include <types.h>
#include <stdint.h>
/** Move the cursor to an absolute position at __x, y__.
__x__ and __y__ have units of ti... | 19.23913 | 60 | 0.646328 |
cf6b1b2560933dda4b89a50a9ef0c10a88c57491 | 2,824 | kt | Kotlin | workflows/src/main/kotlin/com/carlocoins/workflows/flows/cars/IssueCars.kt | Condition01/carlocoin | 30047cc08def1c85bc95a805a8e26bc34b27cd25 | [
"Apache-2.0"
] | null | null | null | workflows/src/main/kotlin/com/carlocoins/workflows/flows/cars/IssueCars.kt | Condition01/carlocoin | 30047cc08def1c85bc95a805a8e26bc34b27cd25 | [
"Apache-2.0"
] | null | null | null | workflows/src/main/kotlin/com/carlocoins/workflows/flows/cars/IssueCars.kt | Condition01/carlocoin | 30047cc08def1c85bc95a805a8e26bc34b27cd25 | [
"Apache-2.0"
] | null | null | null | package com.carlocoins.workflows.flows.cars
import co.paralleluniverse.fibers.Suspendable
import com.carlocoins.contracts.contracts.CarContract
import com.carlocoins.contracts.states.CarState
import net.corda.core.contracts.Command
import net.corda.core.contracts.UniqueIdentifier
import net.corda.core.flows.*
import n... | 31.377778 | 103 | 0.606941 |
3cc9391dc0cae12fd45314898283feea7c13a188 | 475 | swift | Swift | Classes/Repository/RepositoryIssueSummaryType.swift | ashleyng/GitHawk | a5ed67a924ab7f102788755ae05dccc983238d31 | [
"MIT"
] | 8 | 2018-03-19T14:51:35.000Z | 2019-04-05T14:25:06.000Z | Classes/Repository/RepositoryIssueSummaryType.swift | ashleyng/GitHawk | a5ed67a924ab7f102788755ae05dccc983238d31 | [
"MIT"
] | 1 | 2018-07-19T21:21:36.000Z | 2018-07-19T21:24:05.000Z | Classes/Repository/RepositoryIssueSummaryType.swift | ashleyng/GitHawk | a5ed67a924ab7f102788755ae05dccc983238d31 | [
"MIT"
] | 2 | 2018-09-28T03:40:29.000Z | 2019-07-07T15:45:40.000Z | //
// RepositoryIssueSummaryType.swift
// Freetime
//
// Created by Sherlock, James on 29/07/2017.
// Copyright © 2017 Ryan Nystrom. All rights reserved.
//
import IGListKit
protocol RepositoryIssueSummaryType {
var number: Int { get }
var id: String { get }
var status: IssueStatus { get }
var re... | 21.590909 | 55 | 0.68 |
877bdd5a2157f24f0a858624dfd510673e719d02 | 18,748 | html | HTML | posts/index.html | VueJunkie/vuejunkie.github.io | 258ca41bafd93a3b3410f28c2814295c7e0baf20 | [
"MIT"
] | null | null | null | posts/index.html | VueJunkie/vuejunkie.github.io | 258ca41bafd93a3b3410f28c2814295c7e0baf20 | [
"MIT"
] | null | null | null | posts/index.html | VueJunkie/vuejunkie.github.io | 258ca41bafd93a3b3410f28c2814295c7e0baf20 | [
"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"><link rel="icon" href="/favicon.ico"><title>vuejunkie.github.io</title><script>window.__INITIAL_STATE__= {{site.github}};</script><link href=... | 33.418895 | 1,987 | 0.713569 |
9ee7d200e0493bc683b1ea2dd49fc316fcc1f09c | 194 | kt | Kotlin | core/src/commonMain/kotlin/com/algolia/instantsearch/core/subscription/SubscriptionEvent.kt | fobo66/instantsearch-android | eede3c5c02571b5a9e388de92372f65ee99af0c7 | [
"Apache-2.0"
] | null | null | null | core/src/commonMain/kotlin/com/algolia/instantsearch/core/subscription/SubscriptionEvent.kt | fobo66/instantsearch-android | eede3c5c02571b5a9e388de92372f65ee99af0c7 | [
"Apache-2.0"
] | null | null | null | core/src/commonMain/kotlin/com/algolia/instantsearch/core/subscription/SubscriptionEvent.kt | fobo66/instantsearch-android | eede3c5c02571b5a9e388de92372f65ee99af0c7 | [
"Apache-2.0"
] | null | null | null | package com.algolia.instantsearch.core.subscription
public class SubscriptionEvent<T> : Subscription<T>() {
public fun send(event: T) {
subscriptions.forEach { it(event) }
}
} | 21.555556 | 55 | 0.690722 |
2a420ef5edf986497fa07f5bbad764c499bf3fad | 1,363 | java | Java | aliyun-java-sdk-workbench-ide/src/main/java/com/aliyuncs/workbench_ide/transform/v20210121/GetAppRepositoryResponseUnmarshaller.java | rnarla123/aliyun-openapi-java-sdk | 8dc187b1487d2713663710a1d97e23d72a87ffd9 | [
"Apache-2.0"
] | 1 | 2022-02-12T06:01:36.000Z | 2022-02-12T06:01:36.000Z | aliyun-java-sdk-workbench-ide/src/main/java/com/aliyuncs/workbench_ide/transform/v20210121/GetAppRepositoryResponseUnmarshaller.java | rnarla123/aliyun-openapi-java-sdk | 8dc187b1487d2713663710a1d97e23d72a87ffd9 | [
"Apache-2.0"
] | null | null | null | aliyun-java-sdk-workbench-ide/src/main/java/com/aliyuncs/workbench_ide/transform/v20210121/GetAppRepositoryResponseUnmarshaller.java | rnarla123/aliyun-openapi-java-sdk | 8dc187b1487d2713663710a1d97e23d72a87ffd9 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | 41.30303 | 129 | 0.805576 |
3397eddb232d7ac39bfcc99a4abab0e4ab672052 | 1,845 | kt | Kotlin | lib/src/test/kotlin/com/raybritton/jsonquery/unit/parsers/KeywordParserTests.kt | raybritton/json-query | 17f6629c9ce5259d85aabf1e857fb38ba4adff8d | [
"Apache-2.0"
] | null | null | null | lib/src/test/kotlin/com/raybritton/jsonquery/unit/parsers/KeywordParserTests.kt | raybritton/json-query | 17f6629c9ce5259d85aabf1e857fb38ba4adff8d | [
"Apache-2.0"
] | null | null | null | lib/src/test/kotlin/com/raybritton/jsonquery/unit/parsers/KeywordParserTests.kt | raybritton/json-query | 17f6629c9ce5259d85aabf1e857fb38ba4adff8d | [
"Apache-2.0"
] | 3 | 2019-01-21T07:07:21.000Z | 2019-08-29T14:41:43.000Z | package com.raybritton.jsonquery.unit.parsers
import com.raybritton.jsonquery.parsing.tokens.CharParser
import com.raybritton.jsonquery.parsing.tokens.Keyword
import com.raybritton.jsonquery.parsing.tokens.KeywordParser
import org.junit.Assert.*
import org.junit.Test
import java.util.*
class KeywordParserTests {
... | 30.245902 | 93 | 0.606504 |
017ee011dd8fae28947c0075cfdf80517defa24d | 20,328 | lua | Lua | src/button.lua | SMG233/Undertale-Battle-Engine | 37ec4522edd7c059f36022a0384b77906dffe1ac | [
"MIT"
] | 1 | 2020-02-13T01:50:54.000Z | 2020-02-13T01:50:54.000Z | src/button.lua | SMG233/Undertale-Battle-Engine | 37ec4522edd7c059f36022a0384b77906dffe1ac | [
"MIT"
] | null | null | null | src/button.lua | SMG233/Undertale-Battle-Engine | 37ec4522edd7c059f36022a0384b77906dffe1ac | [
"MIT"
] | null | null | null |
local function CutImage( image, w, h )
local q = {}
for i = 1, h do
for j = 1, w do
local nq = love.graphics.newQuad(
(j-1)*image:getWidth()/w, (i-1)*image:getHeight()/h,
image:getWidth()/w, image:getHeight()/h,
image:getWidth(), i... | 37.162706 | 213 | 0.621606 |
40fb57d2e7a001152acf4f7d19add4d0ba65f5d1 | 560 | py | Python | pyquilted/builder/contacts.py | cocoroutine/pyquilted | dd8644043deec17608e00f46e3ac4562b8879603 | [
"MIT"
] | 1 | 2019-02-21T20:10:37.000Z | 2019-02-21T20:10:37.000Z | pyquilted/builder/contacts.py | cocoroutine/pyquilted | dd8644043deec17608e00f46e3ac4562b8879603 | [
"MIT"
] | null | null | null | pyquilted/builder/contacts.py | cocoroutine/pyquilted | dd8644043deec17608e00f46e3ac4562b8879603 | [
"MIT"
] | null | null | null | from pyquilted.quilted.contact_factory import ContactFactory
from pyquilted.quilted.contacts_list import ContactsList
class ContactsBuilder:
"""Contacts data mapper object"""
def __init__(self, contacts_odict):
self.contacts = ContactsList()
self.odict = contacts_odict
def deserialize(sel... | 29.473684 | 62 | 0.694643 |
679fbd37eeb365307dbeb2d2000a21ed2d16e33e | 219 | sql | SQL | src/main/resources/org/support/project/knowledge/dao/sql/ServiceConfigsDao/ServiceConfigsDao_update.sql | kuro-channel/knowledge-1 | 6f74162ad54af961fb5069a27f49959b9e9a8048 | [
"Apache-2.0"
] | 742 | 2015-02-03T02:02:15.000Z | 2022-03-15T16:54:25.000Z | src/main/resources/org/support/project/knowledge/dao/sql/ServiceConfigsDao/ServiceConfigsDao_update.sql | kuro-channel/knowledge-1 | 6f74162ad54af961fb5069a27f49959b9e9a8048 | [
"Apache-2.0"
] | 760 | 2015-02-01T11:40:05.000Z | 2022-01-21T23:22:06.000Z | src/main/resources/org/support/project/knowledge/dao/sql/ServiceConfigsDao/ServiceConfigsDao_update.sql | kuro-channel/knowledge-1 | 6f74162ad54af961fb5069a27f49959b9e9a8048 | [
"Apache-2.0"
] | 285 | 2015-02-23T08:02:29.000Z | 2022-03-25T02:48:31.000Z | UPDATE SERVICE_CONFIGS
SET
SERVICE_LABEL = ?
, SERVICE_ICON = ?
, SERVICE_IMAGE = ?
, INSERT_USER = ?
, INSERT_DATETIME = ?
, UPDATE_USER = ?
, UPDATE_DATETIME = ?
, DELETE_FLAG = ?
WHERE
SERVICE_NAME = ?
;
| 15.642857 | 22 | 0.648402 |
f38549ac14c4dac32d4543e15c6e56460aa10fbc | 250 | kt | Kotlin | src/main/kotlin/dev/lunarcoffee/beanly/exts/commands/utility/GuildOverrides.kt | LunarCoffee/Beanly | 8f428aa32dd7b69903bf57dab67e248fdbda688d | [
"MIT"
] | 3 | 2019-05-03T04:44:47.000Z | 2019-05-08T04:18:56.000Z | src/main/kotlin/dev/lunarcoffee/beanly/exts/commands/utility/GuildOverrides.kt | LunarCoffee/Beanly | 8f428aa32dd7b69903bf57dab67e248fdbda688d | [
"MIT"
] | null | null | null | src/main/kotlin/dev/lunarcoffee/beanly/exts/commands/utility/GuildOverrides.kt | LunarCoffee/Beanly | 8f428aa32dd7b69903bf57dab67e248fdbda688d | [
"MIT"
] | null | null | null | package dev.lunarcoffee.beanly.exts.commands.utility
class GuildOverrides(val id: String, val noPayRespects: Boolean, val noSuggestCommands: Boolean)
// Use this when referring to properties with typed KMongo queries.
typealias GO = GuildOverrides
| 35.714286 | 96 | 0.82 |
b33ed21011c1baec4735f7cc73eddfe6e0b9f221 | 335 | rb | Ruby | rb/convert_pm2md.rb | dohliam/pmdown | 9e565ba0f793fbd489788b81d37f8c3191465fb6 | [
"MIT"
] | null | null | null | rb/convert_pm2md.rb | dohliam/pmdown | 9e565ba0f793fbd489788b81d37f8c3191465fb6 | [
"MIT"
] | null | null | null | rb/convert_pm2md.rb | dohliam/pmdown | 9e565ba0f793fbd489788b81d37f8c3191465fb6 | [
"MIT"
] | null | null | null | #!/usr/bin/env ruby
# convert Markdown (.md) files to PmWiki (.pmwiki) format
require_relative 'libpm2md.rb'
filename = ARGF
if !filename
abort("Please specify a file to convert.")
elsif !File.exist?(filename)
abort("Specified file does not exist.")
end
md_file = filename.read
# puts md_to_pm(md_file)
puts pm_... | 18.611111 | 57 | 0.737313 |
16fbfcfdc055d52e7102e95808da82e285dfc130 | 1,643 | ts | TypeScript | angular_fichajesPi/src/app/shared/components/chart/chart.component.ts | alejandroferrin/fichajespi | b7aa30b452041408a49bd3cc375e96c77b85cc3f | [
"MIT"
] | null | null | null | angular_fichajesPi/src/app/shared/components/chart/chart.component.ts | alejandroferrin/fichajespi | b7aa30b452041408a49bd3cc375e96c77b85cc3f | [
"MIT"
] | null | null | null | angular_fichajesPi/src/app/shared/components/chart/chart.component.ts | alejandroferrin/fichajespi | b7aa30b452041408a49bd3cc375e96c77b85cc3f | [
"MIT"
] | null | null | null | import { Component, Input, OnInit } from '@angular/core';
import { ChartDataService } from '../../interfaces/ChartDataService';
//https://primefaces.org/primeng/showcase/#/
@Component({
selector: 'app-chart',
templateUrl: './chart.component.html',
styleUrls: ['./chart.component.css']
})
export class ChartComp... | 19.104651 | 81 | 0.48448 |
70d6b826451c296f11e78b822a4e429171ad2aa2 | 1,037 | h | C | NHXLS/DHxls/DHFont.h | nenhall/NHXLS | 4d23612f1d9b68ae5bda425d4939f529fbc94649 | [
"MIT"
] | null | null | null | NHXLS/DHxls/DHFont.h | nenhall/NHXLS | 4d23612f1d9b68ae5bda425d4939f529fbc94649 | [
"MIT"
] | null | null | null | NHXLS/DHxls/DHFont.h | nenhall/NHXLS | 4d23612f1d9b68ae5bda425d4939f529fbc94649 | [
"MIT"
] | null | null | null | //
// DHFont.h
// DHxls
//
// Created by David Hoerl on 10/7/08.
// Copyright 2008-2013 David Hoerl. All rights reserved.
//
@interface DHFont : NSObject
//+(DHFont *)fontWithName:(NSString *)fontName;
-(id)initWithFont:(void *)ft; // xlslib_core::CFont *
-(void *)font;
-(void)setName:(NSString *)name;
-(NSStrin... | 24.690476 | 58 | 0.744455 |
96863e601ebda8d6541f3b53682396629e6cdcc8 | 5,680 | php | PHP | app/Http/Controllers/Kaoshi/GoodsController.php | zhanghaowei0620/week | 2c485470ef0a44e7e53dc61a92bf1bfd9e92fa99 | [
"MIT"
] | null | null | null | app/Http/Controllers/Kaoshi/GoodsController.php | zhanghaowei0620/week | 2c485470ef0a44e7e53dc61a92bf1bfd9e92fa99 | [
"MIT"
] | null | null | null | app/Http/Controllers/Kaoshi/GoodsController.php | zhanghaowei0620/week | 2c485470ef0a44e7e53dc61a92bf1bfd9e92fa99 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Kaoshi;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;
class GoodsController extends Controller
{
public function index() //首页展示
{
return view('kaoshi.index');
}
public function lis() //商品列表
{
... | 28.686869 | 90 | 0.502289 |
e74c46b6486b4f756c2e19bb4b7a4fc55d7c12d3 | 191 | js | JavaScript | lib/remove.js | garbados/spare | aabda94f90e774fab369d064d77d6b84efc1d20d | [
"MIT"
] | 2 | 2016-11-08T15:12:51.000Z | 2018-01-18T22:08:21.000Z | lib/remove.js | garbados/spare | aabda94f90e774fab369d064d77d6b84efc1d20d | [
"MIT"
] | null | null | null | lib/remove.js | garbados/spare | aabda94f90e774fab369d064d77d6b84efc1d20d | [
"MIT"
] | null | null | null | var PouchDB = require('pouchdb'),
util = require('./util');
module.exports = function (remote, target, date, done) {
PouchDB.destroy(target || util.get_db_name(remote, date), done);
}; | 31.833333 | 66 | 0.675393 |
e76902050e44c79f66218da7eea48f0407a77132 | 6,084 | js | JavaScript | app/tests/unit/components/validators/validators.customValidators.spec.js | parc-jason/common-logging | 9c658fb4f326e8d5af9614a35d9004405d7b5587 | [
"Apache-2.0"
] | null | null | null | app/tests/unit/components/validators/validators.customValidators.spec.js | parc-jason/common-logging | 9c658fb4f326e8d5af9614a35d9004405d7b5587 | [
"Apache-2.0"
] | 4 | 2020-11-04T21:41:11.000Z | 2021-03-18T21:47:04.000Z | app/tests/unit/components/validators/validators.customValidators.spec.js | parc-jason/common-logging | 9c658fb4f326e8d5af9614a35d9004405d7b5587 | [
"Apache-2.0"
] | 4 | 2020-01-28T15:57:30.000Z | 2020-01-29T00:50:42.000Z | const helper = require('../../../common/helper');
const { customValidators } = require('../../../../src/components/validators');
helper.logHelper();
describe('customValidators.logging', () => {
const loggingEntryBase = {
level: 'info',
pattern: '%{GREEDYDATA:data}',
retention: 'default'
};
it('sho... | 30.118812 | 102 | 0.629684 |
40d164f39b9c2e8f759f040ddc52014d35869d1f | 4,454 | py | Python | keras_textclassification/keras_layers/attention_dot.py | wyq0706/Keras-TextClassification | 595468120feacb9b3b037a57f80425b408685298 | [
"MIT"
] | 1 | 2020-06-22T09:49:44.000Z | 2020-06-22T09:49:44.000Z | keras_textclassification/keras_layers/attention_dot.py | wyq0706/Keras-TextClassification | 595468120feacb9b3b037a57f80425b408685298 | [
"MIT"
] | null | null | null | keras_textclassification/keras_layers/attention_dot.py | wyq0706/Keras-TextClassification | 595468120feacb9b3b037a57f80425b408685298 | [
"MIT"
] | null | null | null | # !/usr/bin/python
# -*- coding: utf-8 -*-
# @time : 2020/3/31 19:10
# @author : Mo
# @function:
from keras.regularizers import L1L2, Regularizer
# from keras.engine.topology import Layer
from keras.layers import Layer
from keras import backend as K
import tensorflow as tf
class AttentionDot(Layer):
def __i... | 42.419048 | 111 | 0.534351 |
9bd490a3b70c9fd61a357f6fbfb8171507945619 | 4,487 | js | JavaScript | app-web/src/pages/index.js | dkelsey/devhub-app-web | c1198c117e45d24b4013547d6e2471ef08c2eb4a | [
"Apache-2.0"
] | null | null | null | app-web/src/pages/index.js | dkelsey/devhub-app-web | c1198c117e45d24b4013547d6e2471ef08c2eb4a | [
"Apache-2.0"
] | null | null | null | app-web/src/pages/index.js | dkelsey/devhub-app-web | c1198c117e45d24b4013547d6e2471ef08c2eb4a | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import queryString from 'query-string';
import intersectionBy from 'lodash/intersectionBy';
import isNull from 'lodash/isNull';
import styled from '@emotion/styled';
import { Alert } from 'reactstrap';
import { MAIN_NAV_ROUTES } from '../constants/routes';
import { flattenGatsbyGraphQL } fr... | 29.519737 | 110 | 0.680856 |
906c97ada7fe717c3af6eaf4e4cefedc965b6847 | 656 | py | Python | src/masonite/notification/drivers/MailDriver.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 35 | 2018-01-08T01:20:16.000Z | 2018-02-06T02:37:14.000Z | src/masonite/notification/drivers/MailDriver.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 55 | 2018-01-03T02:42:03.000Z | 2018-02-06T13:35:54.000Z | src/masonite/notification/drivers/MailDriver.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 4 | 2018-01-08T13:13:14.000Z | 2018-01-12T19:35:32.000Z | """Mail notification driver."""
from .BaseDriver import BaseDriver
class MailDriver(BaseDriver):
def __init__(self, application):
self.application = application
self.options = {}
def set_options(self, options):
self.options = options
return self
def send(self, notifiable... | 29.818182 | 70 | 0.653963 |
9c2f4741e474a70ec60444ee6a954c6823c658c7 | 1,237 | js | JavaScript | client/src/components/Posts/PostCard/LikesContent.js | FMI-Projects/jitter | e7edccb4552ff4739d1a90779ec7b04c39c63e4f | [
"Apache-2.0"
] | 1 | 2020-07-27T20:00:48.000Z | 2020-07-27T20:00:48.000Z | client/src/components/Posts/PostCard/LikesContent.js | FMI-Projects/jitter | e7edccb4552ff4739d1a90779ec7b04c39c63e4f | [
"Apache-2.0"
] | 11 | 2020-07-16T03:56:31.000Z | 2022-02-17T15:50:58.000Z | client/src/components/Posts/PostCard/LikesContent.js | FMI-Projects/jitter | e7edccb4552ff4739d1a90779ec7b04c39c63e4f | [
"Apache-2.0"
] | null | null | null | import React from "react";
import PropTypes from "prop-types";
import IconButton from "material-ui/IconButton";
import ThumbUpIcon from "@material-ui/icons/ThumbUp";
import ThumbDownIcon from "@material-ui/icons/ThumbDown";
import { withStyles } from "material-ui/styles";
import styles from "./LikesContent.styles";
... | 27.488889 | 79 | 0.683913 |
131095c467c6fc0e2e98e4444ff9bd6b07ba4392 | 469 | h | C | StatTag/View Controllers/WordDocProperty.h | StatTag/StatTagMac | 5b5b9affe86db01a759ad063055a6c7ebead6b8b | [
"MIT"
] | 2 | 2018-05-24T17:44:00.000Z | 2020-07-15T16:07:00.000Z | StatTag/View Controllers/WordDocProperty.h | StatTag/StatTagMac | 5b5b9affe86db01a759ad063055a6c7ebead6b8b | [
"MIT"
] | 41 | 2019-09-06T07:01:44.000Z | 2021-10-18T07:42:08.000Z | StatTag/View Controllers/WordDocProperty.h | StatTag/StatTagMac | 5b5b9affe86db01a759ad063055a6c7ebead6b8b | [
"MIT"
] | 1 | 2020-06-24T16:54:47.000Z | 2020-06-24T16:54:47.000Z | //
// WordDocProperty.h
// StatTag
//
// Created by Eric Whitley on 2/27/19.
// Copyright © 2019 StatTag. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface WordDocProperty : NSObject
@property NSString* propertyName;
@property NSString* propertyValue;
@property NSString* propertyType;
@propert... | 21.318182 | 94 | 0.754797 |
ad8af7beceff3d29e8652e4031006a51307d19e2 | 1,376 | kt | Kotlin | android/app/src/main/java/com/algorand/android/ui/accounts/RenameAccountNameViewModel.kt | MikeOwino/algorand-wallet | fbf93582d06dd1c46d7114a1ee686bfecca4ec18 | [
"Apache-2.0"
] | 14 | 2022-02-20T12:14:39.000Z | 2022-03-28T11:05:19.000Z | android/app/src/main/java/com/algorand/android/ui/accounts/RenameAccountNameViewModel.kt | perawallet/pera-wallet | fbf93582d06dd1c46d7114a1ee686bfecca4ec18 | [
"Apache-2.0"
] | 10 | 2022-02-23T08:48:52.000Z | 2022-03-31T08:49:11.000Z | android/app/src/main/java/com/algorand/android/ui/accounts/RenameAccountNameViewModel.kt | perawallet/algorand-wallet | ecacd9f00dd49bce912e0961c50fe77d2d071dce | [
"Apache-2.0"
] | 3 | 2022-03-03T14:19:38.000Z | 2022-03-13T14:34:47.000Z | /*
* Copyright 2022 Pera Wallet, LDA
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing,... | 36.210526 | 85 | 0.766715 |
51672df2e6ca991adfc235b7c53888caf436b38e | 9,759 | swift | Swift | Tests/CommandLineTests.swift | Lukasz2891/SwiftFormat | c313f469c5fe1038afde25034305bc123f26e59a | [
"MIT"
] | 1 | 2020-05-29T14:57:02.000Z | 2020-05-29T14:57:02.000Z | Tests/CommandLineTests.swift | Lukasz2891/SwiftFormat | c313f469c5fe1038afde25034305bc123f26e59a | [
"MIT"
] | null | null | null | Tests/CommandLineTests.swift | Lukasz2891/SwiftFormat | c313f469c5fe1038afde25034305bc123f26e59a | [
"MIT"
] | null | null | null | //
// CommandLineTests.swift
// SwiftFormat
//
// Created by Nick Lockwood on 10/01/2017.
// Copyright 2017 Nick Lockwood
//
// Distributed under the permissive MIT license
// Get the latest version from here:
//
// https://github.com/nicklockwood/SwiftFormat
//
// Permission is hereby granted, free of charge, ... | 35.616788 | 610 | 0.591557 |
50dfcd57aa927f9e5916c9c2334fa6c692107c7b | 1,430 | go | Go | pkg/ratelimit/concurrency_limiter.go | srstack/pd | 7baf94c8644ccd55930d213e298fc0104bc7a453 | [
"Apache-2.0"
] | null | null | null | pkg/ratelimit/concurrency_limiter.go | srstack/pd | 7baf94c8644ccd55930d213e298fc0104bc7a453 | [
"Apache-2.0"
] | null | null | null | pkg/ratelimit/concurrency_limiter.go | srstack/pd | 7baf94c8644ccd55930d213e298fc0104bc7a453 | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 TiKV Project Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 20.140845 | 75 | 0.711189 |
9da6a1c93b523f64bb4c1bd3d2619605fb6f1672 | 1,063 | kt | Kotlin | src/test/kotlin/com/github/mpe85/grampa/grammar/RegexRuleTests.kt | mpe85/grampa | a0470653f276f68462999813447777d0f8faa4b1 | [
"MIT"
] | null | null | null | src/test/kotlin/com/github/mpe85/grampa/grammar/RegexRuleTests.kt | mpe85/grampa | a0470653f276f68462999813447777d0f8faa4b1 | [
"MIT"
] | null | null | null | src/test/kotlin/com/github/mpe85/grampa/grammar/RegexRuleTests.kt | mpe85/grampa | a0470653f276f68462999813447777d0f8faa4b1 | [
"MIT"
] | null | null | null | package com.github.mpe85.grampa.grammar
import com.github.mpe85.grampa.parser.Parser
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.shouldBe
import io.kotest.property.Arb
import io.kotest.property.arbitrary.stringPattern
import io.kotest.property.checkAll
class RegexRuleTests : StringSpec({
... | 30.371429 | 64 | 0.531515 |
7497b4cef2ff08e74bc4459556dc0c3dfb614ff2 | 6,605 | c | C | vmdir/testing/integration_tests/ppolicy/recycle.c | debojyoti-majumder/lightwave | 1ff3beaafb7351140b9372e3a46b2a288f53832e | [
"Apache-2.0"
] | 357 | 2015-04-20T00:16:30.000Z | 2022-03-17T05:34:09.000Z | vmdir/testing/integration_tests/ppolicy/recycle.c | tdeleeuw/lightwave | baae9b03ddeeb6299ab891f9c1e2957b86d37cc5 | [
"Apache-2.0"
] | 38 | 2015-11-19T05:20:53.000Z | 2022-03-31T07:21:59.000Z | vmdir/testing/integration_tests/ppolicy/recycle.c | tdeleeuw/lightwave | baae9b03ddeeb6299ab891f9c1e2957b86d37cc5 | [
"Apache-2.0"
] | 135 | 2015-04-21T15:23:21.000Z | 2022-03-30T11:46:36.000Z | /*
* Copyright © 2097 VMware, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the “License”); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 28.842795 | 112 | 0.653596 |
e51cdbe4923a82da86916865c4458789cc8c8f69 | 811 | ts | TypeScript | src/messages/entities/message.entity.ts | droa3v/chat-app-server | 541f1d638939fea8ee0d4c313e22477fcc76cb28 | [
"MIT"
] | null | null | null | src/messages/entities/message.entity.ts | droa3v/chat-app-server | 541f1d638939fea8ee0d4c313e22477fcc76cb28 | [
"MIT"
] | null | null | null | src/messages/entities/message.entity.ts | droa3v/chat-app-server | 541f1d638939fea8ee0d4c313e22477fcc76cb28 | [
"MIT"
] | null | null | null | import { ObjectType, Field } from "@nestjs/graphql";
import { User } from "src/users/entities/user.entity";
import { Room } from "src/rooms/entities/room.entity";
import {
Column,
Entity,
PrimaryGeneratedColumn,
CreateDateColumn,
UpdateDateColumn,
ManyToOne,
} from "typeorm";
@Entity({ name: "Messages" })
... | 22.527778 | 54 | 0.64365 |
d718ebc5a82c3e5e56a598b96f8020c0a0f5e7e7 | 182 | sql | SQL | application/logs/sql/uninstall.sql | sssasdsadasdad/jyerp_plus | d778b568f662d1eba3b300629d815791d3f4757e | [
"FSFAP"
] | null | null | null | application/logs/sql/uninstall.sql | sssasdsadasdad/jyerp_plus | d778b568f662d1eba3b300629d815791d3f4757e | [
"FSFAP"
] | null | null | null | application/logs/sql/uninstall.sql | sssasdsadasdad/jyerp_plus | d778b568f662d1eba3b300629d815791d3f4757e | [
"FSFAP"
] | null | null | null | -- -----------------------------
-- 导出时间 `2018-06-06 18:15:44`
-- -----------------------------
DROP TABLE IF EXISTS `dp_personnel_daily`;
DROP TABLE IF EXISTS `dp_personnel_plan`;
| 26 | 42 | 0.478022 |
0655b47371284743c539019e55a76994691f61a0 | 4,305 | rs | Rust | src/sentences/utils.rs | scOwez/nmea | 03bc65e6f524923022bf1b757b7aff18ed432d5b | [
"Apache-2.0"
] | null | null | null | src/sentences/utils.rs | scOwez/nmea | 03bc65e6f524923022bf1b757b7aff18ed432d5b | [
"Apache-2.0"
] | null | null | null | src/sentences/utils.rs | scOwez/nmea | 03bc65e6f524923022bf1b757b7aff18ed432d5b | [
"Apache-2.0"
] | null | null | null | use std::str;
use chrono::{NaiveDate, NaiveTime};
use nom::branch::alt;
use nom::bytes::complete::{tag, take, take_until};
use nom::character::complete::{char, digit1, one_of};
use nom::combinator::{map, map_parser, map_res};
use nom::number::complete::double;
use nom::sequence::tuple;
use nom::IResult;
pub(crate) fn... | 32.613636 | 100 | 0.520557 |
b1ef2174eb416ec1f9250c2bfab1cf94afec3b46 | 41 | sql | SQL | app/server/appsmith-plugins/postgresPlugin/src/main/resources/templates/SELECT.sql | erezrokah/appsmith | c858edf7260de1811b35d4459e199fe15d18092e | [
"Apache-2.0"
] | 13,566 | 2020-07-09T16:14:45.000Z | 2022-03-31T23:53:08.000Z | app/server/appsmith-plugins/postgresPlugin/src/main/resources/templates/SELECT.sql | erezrokah/appsmith | c858edf7260de1811b35d4459e199fe15d18092e | [
"Apache-2.0"
] | 9,694 | 2020-07-10T05:24:09.000Z | 2022-03-31T22:34:42.000Z | app/server/appsmith-plugins/postgresPlugin/src/main/resources/templates/SELECT.sql | erezrokah/appsmith | c858edf7260de1811b35d4459e199fe15d18092e | [
"Apache-2.0"
] | 1,250 | 2020-07-10T05:33:31.000Z | 2022-03-31T16:27:14.000Z | SELECT * FROM users ORDER BY id LIMIT 10; | 41 | 41 | 0.756098 |
96393085715d000003e63dc8aea27af36aeb5f21 | 6,359 | php | PHP | Extensions/Upgrade/UpEntity.php | glushkovds/simplex-cms | 63e50892cbabe3d148baa39cbe759f09f607fc92 | [
"MIT"
] | null | null | null | Extensions/Upgrade/UpEntity.php | glushkovds/simplex-cms | 63e50892cbabe3d148baa39cbe759f09f607fc92 | [
"MIT"
] | null | null | null | Extensions/Upgrade/UpEntity.php | glushkovds/simplex-cms | 63e50892cbabe3d148baa39cbe759f09f607fc92 | [
"MIT"
] | null | null | null | <?php
namespace App\Extensions\Upgrade;
use App\Core\Console\Alert;
abstract class UpEntity extends UpFile
{
protected static $name = '';
public function upgrade()
{
if ($delegated = $this->upgradeDelegate()) {
return $delegated;
}
$this->upgradeInner();
$t... | 30.719807 | 120 | 0.511716 |
4546e1165aad78f4ff8b308d530a1c521ca520a1 | 591 | rs | Rust | src/q2011.rs | JoverZhang/leetcode.rust | edac5248db5df77c6d4954d69cbd4635965fbebb | [
"MIT"
] | null | null | null | src/q2011.rs | JoverZhang/leetcode.rust | edac5248db5df77c6d4954d69cbd4635965fbebb | [
"MIT"
] | null | null | null | src/q2011.rs | JoverZhang/leetcode.rust | edac5248db5df77c6d4954d69cbd4635965fbebb | [
"MIT"
] | null | null | null | pub struct Solution {}
impl Solution {
pub fn final_value_after_operations(operations: Vec<String>) -> i32 {
let mut rst = 0;
for oper in operations {
if oper.starts_with("-") || oper.ends_with("-") {
rst -= 1;
} else if oper.starts_with("+") || oper.ends_wit... | 23.64 | 73 | 0.478849 |
df81c06203c341133851d5e6860e3e3ee8cbc320 | 800 | tsx | TypeScript | www-resource/src/App.tsx | xiaoyaozi1010/image-min | d52d1e58fbec9e2168b90967df53d34ebbce2f2b | [
"MIT"
] | null | null | null | www-resource/src/App.tsx | xiaoyaozi1010/image-min | d52d1e58fbec9e2168b90967df53d34ebbce2f2b | [
"MIT"
] | null | null | null | www-resource/src/App.tsx | xiaoyaozi1010/image-min | d52d1e58fbec9e2168b90967df53d34ebbce2f2b | [
"MIT"
] | null | null | null | import * as React from 'react';
import './App.css';
import Title from './Components/Title/Title';
import UploadComponent from './Components/Upload/UploadComponent';
import { Row, Col } from 'antd';
class App extends React.Component {
state = {
title: '',
subTitle: ''
};
constructor(props: string) {
s... | 21.052632 | 77 | 0.54375 |
21e85c9d03b22139a93509be44f5039a7100ecd0 | 141 | sql | SQL | MySQL/02_IN_LIMIT_Scripts.sql | ajsamant/SampleCodeAjinkya | f7515ca879efd01c67047d2527819a1366861e94 | [
"MIT"
] | null | null | null | MySQL/02_IN_LIMIT_Scripts.sql | ajsamant/SampleCodeAjinkya | f7515ca879efd01c67047d2527819a1366861e94 | [
"MIT"
] | null | null | null | MySQL/02_IN_LIMIT_Scripts.sql | ajsamant/SampleCodeAjinkya | f7515ca879efd01c67047d2527819a1366861e94 | [
"MIT"
] | null | null | null | SELECT
title, release_year, rental_duration
FROM
film
WHERE
rental_duration IN (3 , 5)
LIMIT 7;
SELECT title FROM film LIMIT 7; | 15.666667 | 40 | 0.716312 |
16975e3afaffc48237651a60d01015f90fd5d028 | 1,828 | ts | TypeScript | src/lib/api/router/routes/games.ts | Fyrlex/bs | d91678a850689d0431a0dc59f5d35ffba2c42b57 | [
"MIT"
] | null | null | null | src/lib/api/router/routes/games.ts | Fyrlex/bs | d91678a850689d0431a0dc59f5d35ffba2c42b57 | [
"MIT"
] | null | null | null | src/lib/api/router/routes/games.ts | Fyrlex/bs | d91678a850689d0431a0dc59f5d35ffba2c42b57 | [
"MIT"
] | null | null | null | import { FastifyInstance, HookHandlerDoneFunction, RouteShorthandOptions } from 'fastify';
import * as routers from './games/index.js';
import { BS } from '../../../structures/BSClient.js';
import { Snowflake } from 'discord-api-types';
const router = async (fastify: FastifyInstance, options: RouteShorthandOptions, do... | 29.015873 | 130 | 0.612691 |
c7c0a986e33366ee13a558ca45b33525ee5bb0f3 | 207,734 | py | Python | cfdm/examplefield.py | sadielbartholomew/cfdm | 04c1e6a271a569631826e08dc69dc2884000475e | [
"MIT"
] | null | null | null | cfdm/examplefield.py | sadielbartholomew/cfdm | 04c1e6a271a569631826e08dc69dc2884000475e | [
"MIT"
] | null | null | null | cfdm/examplefield.py | sadielbartholomew/cfdm | 04c1e6a271a569631826e08dc69dc2884000475e | [
"MIT"
] | null | null | null | from .functions import CF
from .cfdmimplementation import implementation
_implementation = implementation()
def example_field(n, _implementation=_implementation):
"""Return an example field construct.
.. versionadded:: (cfdm) 1.8.0
.. seealso:: `cfdm.example_fields`, `cfdm.example_domain`
:Param... | 38.93066 | 125 | 0.374667 |
cb688bcb3b82363afbee882f18c5da6615b55dfe | 451,653 | html | HTML | docs/html/_modules/sqlalchemy/sql/schema.html | aspuru-guzik-group/mission_control | bfe930e1038e9e0d6c4bb327474766e85b2190cb | [
"Apache-2.0"
] | 3 | 2017-09-01T19:49:59.000Z | 2018-06-04T10:30:01.000Z | docs/html/_modules/sqlalchemy/sql/schema.html | aspuru-guzik-group/mission_control | bfe930e1038e9e0d6c4bb327474766e85b2190cb | [
"Apache-2.0"
] | null | null | null | docs/html/_modules/sqlalchemy/sql/schema.html | aspuru-guzik-group/mission_control | bfe930e1038e9e0d6c4bb327474766e85b2190cb | [
"Apache-2.0"
] | 1 | 2018-12-13T19:48:27.000Z | 2018-12-13T19:48:27.000Z |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>sqlalchemy.sql.schema — MissionControl... | 105.378675 | 652 | 0.612304 |
dd93512509961a31263a6be09651623db8db1dd5 | 364 | php | PHP | perfex_crm/application/views/themes/perfex/views/terms_and_conditions.php | gerekper/perfect | 280172ccfe0894b0bdfbe866529668d4c12e93f1 | [
"Unlicense"
] | null | null | null | perfex_crm/application/views/themes/perfex/views/terms_and_conditions.php | gerekper/perfect | 280172ccfe0894b0bdfbe866529668d4c12e93f1 | [
"Unlicense"
] | null | null | null | perfex_crm/application/views/themes/perfex/views/terms_and_conditions.php | gerekper/perfect | 280172ccfe0894b0bdfbe866529668d4c12e93f1 | [
"Unlicense"
] | null | null | null | <?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<div class="panel_s">
<div class="panel-body">
<h4 class="terms-and-conditions-heading"><?php echo _l('terms_and_conditions'); ?></h4>
<hr />
<div class="tc-content terms-and-conditions-content">
<?php echo ... | 33.090909 | 95 | 0.57967 |