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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
704d0e99305c46e61220db8ac17232c1c61a50e7 | 761 | swift | Swift | SwiftAudioPlayer/Extensions/FileManager+MusicFiles.swift | dun198/SwiftAudioPlayer | 3ec6da3b33dcff1823bd665441a6402be73773d5 | [
"MIT"
] | 34 | 2018-07-27T15:58:29.000Z | 2022-01-26T00:59:45.000Z | SwiftAudioPlayer/Extensions/FileManager+MusicFiles.swift | Dunkeeel/SwiftAudioPlayer | 3ec6da3b33dcff1823bd665441a6402be73773d5 | [
"MIT"
] | 2 | 2020-11-02T20:22:39.000Z | 2021-09-25T18:41:38.000Z | SwiftAudioPlayer/Extensions/FileManager+MusicFiles.swift | Dunkeeel/SwiftAudioPlayer | 3ec6da3b33dcff1823bd665441a6402be73773d5 | [
"MIT"
] | 12 | 2018-08-07T08:20:04.000Z | 2021-05-04T02:49:03.000Z | //
// FileManager.swift
// SwiftAudioPlayer
//
// Created by Tobias Dunkel on 01.04.18.
// Copyright © 2018 Tobias Dunkel. All rights reserved.
//
import Foundation
extension FileManager {
internal func filteredMusicFileURLs(inDirectory directory: String) -> [URL] {
guard let enumerator = enumerator(at: URL... | 24.548387 | 146 | 0.647832 |
53d099e7c97e07131771d85d34b071ba1d91ab6c | 890 | java | Java | src/main/java/com/trsearch/trsearch/service/UserDetailsServiceImpl.java | Daniel-Fonseca-da-Silva/Tr-Search-Back | 6593529693da60666a33f94651a20ac490e941d5 | [
"MIT"
] | 1 | 2021-09-20T17:04:34.000Z | 2021-09-20T17:04:34.000Z | src/main/java/com/trsearch/trsearch/service/UserDetailsServiceImpl.java | Daniel-Fonseca-da-Silva/Tr-Search-Back | 6593529693da60666a33f94651a20ac490e941d5 | [
"MIT"
] | null | null | null | src/main/java/com/trsearch/trsearch/service/UserDetailsServiceImpl.java | Daniel-Fonseca-da-Silva/Tr-Search-Back | 6593529693da60666a33f94651a20ac490e941d5 | [
"MIT"
] | null | null | null | package com.trsearch.trsearch.service;
import com.trsearch.trsearch.model.UserCorp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.securi... | 32.962963 | 93 | 0.796629 |
de897c1092ff09aa7a5f0e5591308e89dc7d5d9c | 1,402 | rs | Rust | build.rs | bcully/wezterm | ea401e1f58ca5a088ac5d5e1d7963f36269afb76 | [
"MIT"
] | null | null | null | build.rs | bcully/wezterm | ea401e1f58ca5a088ac5d5e1d7963f36269afb76 | [
"MIT"
] | null | null | null | build.rs | bcully/wezterm | ea401e1f58ca5a088ac5d5e1d7963f36269afb76 | [
"MIT"
] | 1 | 2021-07-08T22:07:02.000Z | 2021-07-08T22:07:02.000Z | use vergen::{generate_cargo_keys, ConstantsFlags};
fn main() {
let mut flags = ConstantsFlags::all();
flags.remove(ConstantsFlags::SEMVER_FROM_CARGO_PKG);
// Generate the 'cargo:' key output
generate_cargo_keys(ConstantsFlags::all()).expect("Unable to generate the cargo keys!");
// If a file named... | 34.195122 | 92 | 0.601284 |
9e3ef4e85b3a4f91b0a6e18916c28691493af965 | 457 | swift | Swift | Sources/sandbox/Sandbox/Models/Database/CompanyModelObject.swift | Incetro/service-autograph | 3a5fbc76e838743ee8184b1a20c12291cfa7f910 | [
"MIT"
] | null | null | null | Sources/sandbox/Sandbox/Models/Database/CompanyModelObject.swift | Incetro/service-autograph | 3a5fbc76e838743ee8184b1a20c12291cfa7f910 | [
"MIT"
] | null | null | null | Sources/sandbox/Sandbox/Models/Database/CompanyModelObject.swift | Incetro/service-autograph | 3a5fbc76e838743ee8184b1a20c12291cfa7f910 | [
"MIT"
] | null | null | null | //
// CompanyModelObject.swift
// Sandbox
//
// Generated automatically by dao-autograph
// https://github.com/Incetro/dao-autograph
//
// Copyright © 2020 Incetro Inc. All rights reserved.
//
import SDAO
import RealmSwift
// MARK: - CompanyModelObject
final class CompanyModelObject: RealmModel {
// MARK: ... | 17.576923 | 54 | 0.678337 |
1fcba09a49f28c15af86dba01622483b0e891ca8 | 168 | dart | Dart | lib/utils/variaveis.dart | wilkerdn/atividade-revisao | 34b6e925818d84a80ec5b0b79cf40df7cf87da63 | [
"MIT"
] | null | null | null | lib/utils/variaveis.dart | wilkerdn/atividade-revisao | 34b6e925818d84a80ec5b0b79cf40df7cf87da63 | [
"MIT"
] | null | null | null | lib/utils/variaveis.dart | wilkerdn/atividade-revisao | 34b6e925818d84a80ec5b0b79cf40df7cf87da63 | [
"MIT"
] | null | null | null | class Variaveis {
static const BACKURL = 'basemagic-d1744-default-rtdb.firebaseio.com';
static const KEYFIREBASE = 'AIzaSyAmBScDaOVjpC_KWf0jMphHn-EISMcxNGo';
}
| 33.6 | 72 | 0.77381 |
9f12153d910f6715be02d187d211cc7aa5d07aa7 | 3,092 | sql | SQL | metastore/scripts/upgrade/derby/046-HIVE-17566.derby.sql | zhihu/hive | 812d75718eacec4d086e987fcf1e575a8f5bbd9b | [
"Apache-2.0"
] | 2 | 2017-11-30T02:34:10.000Z | 2017-11-30T02:34:11.000Z | metastore/scripts/upgrade/derby/046-HIVE-17566.derby.sql | zhihu/hive | 812d75718eacec4d086e987fcf1e575a8f5bbd9b | [
"Apache-2.0"
] | null | null | null | metastore/scripts/upgrade/derby/046-HIVE-17566.derby.sql | zhihu/hive | 812d75718eacec4d086e987fcf1e575a8f5bbd9b | [
"Apache-2.0"
] | 1 | 2020-03-02T13:55:33.000Z | 2020-03-02T13:55:33.000Z | CREATE TABLE "APP"."WM_RESOURCEPLAN" (RP_ID BIGINT NOT NULL, NAME VARCHAR(128) NOT NULL, QUERY_PARALLELISM INTEGER, STATUS VARCHAR(20) NOT NULL, DEFAULT_POOL_ID BIGINT);
CREATE UNIQUE INDEX "APP"."UNIQUE_WM_RESOURCEPLAN" ON "APP"."WM_RESOURCEPLAN" ("NAME");
ALTER TABLE "APP"."WM_RESOURCEPLAN" ADD CONSTRAINT "WM_RESOURC... | 114.518519 | 213 | 0.767464 |
0c9646550e91efca615eedc91a6895d4f88c0e06 | 276 | py | Python | fdk_client/common/date_helper.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | fdk_client/common/date_helper.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | fdk_client/common/date_helper.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | from datetime import datetime
import pytz
from .constants import TIMEZONE
timezone = pytz.timezone(TIMEZONE)
def get_ist_now():
"""Returns Indian Standard Time datetime object.
Returns:
object -- Datetime object
"""
return datetime.now(timezone)
| 16.235294 | 52 | 0.710145 |
fa461c6aecd236b1093b9d05dd53074fd667bd27 | 2,001 | sql | SQL | sql/10073.sql | harsh481/stratascratch-daily | f4d5f190b5d89c4ed77d5243a727cdbc12894e1b | [
"MIT"
] | 3 | 2021-10-03T21:56:36.000Z | 2022-03-25T07:45:54.000Z | sql/10073.sql | harsh481/stratascratch-daily | f4d5f190b5d89c4ed77d5243a727cdbc12894e1b | [
"MIT"
] | null | null | null | sql/10073.sql | harsh481/stratascratch-daily | f4d5f190b5d89c4ed77d5243a727cdbc12894e1b | [
"MIT"
] | 9 | 2021-11-24T04:12:08.000Z | 2022-03-07T12:03:39.000Z | /*
Favorite Host Nationality
https://platform.stratascratch.com/coding/10073-favorite-host-nationality?python&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
Difficulty: Medium
For each guest reviewer, find the nationality of the reviewer’s favorite host based on the guest’s highest review score... | 30.784615 | 214 | 0.697151 |
19cc666861c4d30a622deb74356faa8ffedf5dde | 1,490 | swift | Swift | Example/LvJing/AffineTransformFilter/AffineTransformFilter.swift | keyOfVv/LvJing | 19f38142de70a6c2a69d54289c54948f244cf3f3 | [
"MIT"
] | null | null | null | Example/LvJing/AffineTransformFilter/AffineTransformFilter.swift | keyOfVv/LvJing | 19f38142de70a6c2a69d54289c54948f244cf3f3 | [
"MIT"
] | null | null | null | Example/LvJing/AffineTransformFilter/AffineTransformFilter.swift | keyOfVv/LvJing | 19f38142de70a6c2a69d54289c54948f244cf3f3 | [
"MIT"
] | null | null | null | //
// AffineTransformFilter.swift
// LvJing_Example
//
// Created by Ke Yang on 2020/7/25.
// Copyright © 2020 CocoaPods. All rights reserved.
//
import MetalKit
import LvJing
public final class AffineTransformFilter: LvJing {
public var transform: CGAffineTransform = .identity
public init(resolutio... | 34.651163 | 83 | 0.671812 |
53541d0919368fb2f1598ab113d67e954afcc62f | 4,074 | dart | Dart | lib/features/home/ui/widgets/file_explorer_table_row_tile.dart | ganeshrvel/squash_archiver | f5a457e2d321dbdfb10daef61a9a2caf73613b41 | [
"MIT"
] | null | null | null | lib/features/home/ui/widgets/file_explorer_table_row_tile.dart | ganeshrvel/squash_archiver | f5a457e2d321dbdfb10daef61a9a2caf73613b41 | [
"MIT"
] | null | null | null | lib/features/home/ui/widgets/file_explorer_table_row_tile.dart | ganeshrvel/squash_archiver | f5a457e2d321dbdfb10daef61a9a2caf73613b41 | [
"MIT"
] | null | null | null | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_mobx/flutter_mobx.dart';
import 'package:squash_archiver/common/helpers/provider_helpers.dart';
import 'package:squash_archiver/features/home/data/enums/file_explorer_source.... | 35.12069 | 100 | 0.686794 |
21d4e7822b029725fa74b181074382404cb9840e | 4,987 | kt | Kotlin | app/src/main/java/com/divij/credittracker/view/HomeFragment.kt | divijgupta970/CreditTracker | 40f47c3cd97e8810c3614d9c36077eb09d779f9e | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/divij/credittracker/view/HomeFragment.kt | divijgupta970/CreditTracker | 40f47c3cd97e8810c3614d9c36077eb09d779f9e | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/divij/credittracker/view/HomeFragment.kt | divijgupta970/CreditTracker | 40f47c3cd97e8810c3614d9c36077eb09d779f9e | [
"Apache-2.0"
] | null | null | null | package com.divij.credittracker.view
import android.content.DialogInterface
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.EditText
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import androidx... | 38.960938 | 103 | 0.632645 |
263c6440af2022ddcfaa154fa7160046219b27b7 | 902 | swift | Swift | Targets/TMBuddy/Sources/Checkpoints/Analytics/Standalone/AnalyticsCheckpoint+View.swift | grigorye/TMBuddy | b1358c5c7b0369e4f4bbe75b591ade7d55eef603 | [
"MIT"
] | 6 | 2022-01-17T04:52:42.000Z | 2022-03-28T20:29:12.000Z | Targets/TMBuddy/Sources/Checkpoints/Analytics/Standalone/AnalyticsCheckpoint+View.swift | grigorye/TMBuddy | b1358c5c7b0369e4f4bbe75b591ade7d55eef603 | [
"MIT"
] | null | null | null | Targets/TMBuddy/Sources/Checkpoints/Analytics/Standalone/AnalyticsCheckpoint+View.swift | grigorye/TMBuddy | b1358c5c7b0369e4f4bbe75b591ade7d55eef603 | [
"MIT"
] | 1 | 2022-02-17T03:21:28.000Z | 2022-02-17T03:21:28.000Z | import SwiftUI
struct AnalyticsCheckpointView: View {
struct State {
let analyticsEnabled: Bool
}
let state: State
let actions: AnalyticsCheckpointActions?
var body: some View {
CheckpointView(
title: "Analytics",
subtitle: "Let \(appName) gather i... | 27.333333 | 101 | 0.533259 |
56dc9c7481bdcb5b4c0c0e38f89b791b453c8df8 | 2,329 | lua | Lua | build/premake4.lua | erwincoumans/enet | eea4dced9ae2c617857d7c221551f36a475582ac | [
"MIT"
] | 22 | 2015-02-01T15:31:09.000Z | 2021-03-17T16:19:07.000Z | build/premake4.lua | erwincoumans/enet | eea4dced9ae2c617857d7c221551f36a475582ac | [
"MIT"
] | 2 | 2017-04-23T11:48:33.000Z | 2017-04-23T15:17:20.000Z | build/premake4.lua | erwincoumans/enet | eea4dced9ae2c617857d7c221551f36a475582ac | [
"MIT"
] | 7 | 2016-02-26T00:53:37.000Z | 2021-03-17T16:19:10.000Z |
solution "0MySolution"
-- Multithreaded compiling
if _ACTION == "vs2010" or _ACTION=="vs2008" then
buildoptions { "/MP" }
end
act = ""
if _ACTION then
act = _ACTION
end
newoption
{
trigger = "ios",
description = "Enable iOS target (requires xcode4)"
}
newopt... | 22.180952 | 92 | 0.5921 |
6785249f8fbe96100a3bfbded141e1fa459f94dd | 773 | lua | Lua | stubs/wifi.lua | amolenaar/wort-warden | 91bffbb4f2f797a6af4ce89870c3acf259227379 | [
"MIT"
] | 2 | 2018-02-20T23:26:02.000Z | 2018-11-28T22:01:43.000Z | stubs/wifi.lua | amolenaar/wort-warden | 91bffbb4f2f797a6af4ce89870c3acf259227379 | [
"MIT"
] | null | null | null | stubs/wifi.lua | amolenaar/wort-warden | 91bffbb4f2f797a6af4ce89870c3acf259227379 | [
"MIT"
] | null | null | null | -- # Stub implementation for NodeMCU wifi module
--
-- https://nodemcu.readthedocs.io/en/master/en/modules/wifi/
--
-- Only part of the module has been implemented.
local wifi = {
STATION="STATION",
SOFTAP="SOFTAP",
STATIONAP="STATIONAP",
sta={},
ap={},
eventmon={
STA_CONNECTED="STA_CONNECTED"
}
}
l... | 16.804348 | 60 | 0.725744 |
ee7ddf02ab6d1e0cd5511886acdcca6540cf228a | 1,485 | asm | Assembly | src/draw/draw_board.asm | daullmer/tic-tac-toe | 2d84db8ca338a81eda7ab600dd1a9fff8df977a8 | [
"MIT"
] | 1 | 2021-11-09T21:34:20.000Z | 2021-11-09T21:34:20.000Z | src/draw/draw_board.asm | daullmer/tic-tac-toe | 2d84db8ca338a81eda7ab600dd1a9fff8df977a8 | [
"MIT"
] | null | null | null | src/draw/draw_board.asm | daullmer/tic-tac-toe | 2d84db8ca338a81eda7ab600dd1a9fff8df977a8 | [
"MIT"
] | 1 | 2021-11-08T12:55:44.000Z | 2021-11-08T12:55:44.000Z | #######
# DRAW GAME BOARD INCLUDING NUMBERS
# ------------
# inputs: none
#######
draw_board:
# save variables
addi sp, sp, -36
sw ra 32(sp)
sw a1 28(sp)
sw a2 24(sp)
sw a3 20(sp)
sw a4 16(sp)
sw a5 12(sp)
sw t1 8(sp)
sw t2 4(sp)
sw t3 0(sp)
li a3 0xffffff # store color white in a3
addi t1, zero, DISPLAY_WIDTH # t1=... | 19.038462 | 72 | 0.688889 |
fb8c8fa0dff4950678c9265b9d671490a9c9a8ba | 2,825 | java | Java | src/test/java/org/csanchez/jenkins/plugins/kubernetes/KubernetesCloudTest.java | sixtyeight/kubernetes-plugin | 2bc877913ec79ee72ff7c5bdc42b03ee04893d2f | [
"Apache-2.0"
] | 2 | 2016-11-28T15:32:10.000Z | 2017-10-20T11:56:29.000Z | src/test/java/org/csanchez/jenkins/plugins/kubernetes/KubernetesCloudTest.java | sixtyeight/kubernetes-plugin | 2bc877913ec79ee72ff7c5bdc42b03ee04893d2f | [
"Apache-2.0"
] | null | null | null | src/test/java/org/csanchez/jenkins/plugins/kubernetes/KubernetesCloudTest.java | sixtyeight/kubernetes-plugin | 2bc877913ec79ee72ff7c5bdc42b03ee04893d2f | [
"Apache-2.0"
] | 8 | 2016-12-06T11:49:22.000Z | 2020-12-02T09:32:29.000Z | package org.csanchez.jenkins.plugins.kubernetes;
import java.util.Arrays;
import java.util.Collections;
import jenkins.model.JenkinsLocationConfiguration;
import org.csanchez.jenkins.plugins.kubernetes.volumes.EmptyDirVolume;
import org.csanchez.jenkins.plugins.kubernetes.volumes.PodVolume;
import org.junit.After;
im... | 34.876543 | 100 | 0.706195 |
968fb7905d0f916c41206880fde9fee596e369a9 | 1,047 | html | HTML | manuscript/page-715/body.html | marvindanig/Sense-and-Sensibility | 9ca3dbab123fde9ec42221daf9fc53446efac69f | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-715/body.html | marvindanig/Sense-and-Sensibility | 9ca3dbab123fde9ec42221daf9fc53446efac69f | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-715/body.html | marvindanig/Sense-and-Sensibility | 9ca3dbab123fde9ec42221daf9fc53446efac69f | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | <div class="leaf "><div class="inner justify"><p class="no-indent ">proportion, as she soon acknowledged within herself—to his wishes than to his merits. She felt that his influence over her mind was heightened by circumstances which ought not in reason to have weight; by that person of uncommon attraction, that open,... | 1,047 | 1,047 | 0.77937 |
ffe0a560908adfede56a8d6b771335669a4e6628 | 86 | html | HTML | assets/date.html | JuliaPackageMirrors/Escher.jl | 72c0f85c0908b1d08c47ebe75ef045462220a197 | [
"MIT"
] | null | null | null | assets/date.html | JuliaPackageMirrors/Escher.jl | 72c0f85c0908b1d08c47ebe75ef045462220a197 | [
"MIT"
] | null | null | null | assets/date.html | JuliaPackageMirrors/Escher.jl | 72c0f85c0908b1d08c47ebe75ef045462220a197 | [
"MIT"
] | null | null | null | <link rel="import" href="bower_components/paper-date-picker/paper-date-picker2.html">
| 43 | 85 | 0.790698 |
04a5091cc03c51403e7defdfdad6f680cede2592 | 2,001 | java | Java | OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/syntax/lang/expr/FunctionExpr.java | Klkoenig217/openroberta-lab | eb2cab36809fe0d97f717c08588e4089bf8f2028 | [
"Apache-2.0"
] | 3 | 2020-01-24T18:29:16.000Z | 2020-09-30T10:54:09.000Z | OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/syntax/lang/expr/FunctionExpr.java | rohit-bindal/openroberta-lab | 7ed823538e34b3dbee93a902b61630c39f8909a3 | [
"Apache-2.0"
] | 24 | 2020-04-19T20:12:22.000Z | 2020-08-02T09:13:04.000Z | OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/syntax/lang/expr/FunctionExpr.java | rohit-bindal/openroberta-lab | 7ed823538e34b3dbee93a902b61630c39f8909a3 | [
"Apache-2.0"
] | 1 | 2020-05-08T20:06:23.000Z | 2020-05-08T20:06:23.000Z | package de.fhg.iais.roberta.syntax.lang.expr;
import de.fhg.iais.roberta.blockly.generated.Block;
import de.fhg.iais.roberta.syntax.BlockTypeContainer;
import de.fhg.iais.roberta.syntax.Phrase;
import de.fhg.iais.roberta.syntax.lang.functions.Function;
import de.fhg.iais.roberta.typecheck.BlocklyType;
import de.fhg.ia... | 27.410959 | 108 | 0.665167 |
047f21d496e9b8595428f122f3d65db0832eca39 | 778 | java | Java | net.lecousin.core/src/main/java/net/lecousin/framework/io/AbstractIO.java | lecousin/java-framework-core | 6f177baf44e1275f77caf770c6c278f32739d771 | [
"Apache-2.0"
] | 3 | 2018-01-02T01:17:47.000Z | 2020-03-08T11:41:02.000Z | net.lecousin.core/src/main/java/net/lecousin/framework/io/AbstractIO.java | lecousin/java-framework-core | 6f177baf44e1275f77caf770c6c278f32739d771 | [
"Apache-2.0"
] | 1 | 2020-10-12T17:54:30.000Z | 2020-10-12T18:14:36.000Z | net.lecousin.core/src/main/java/net/lecousin/framework/io/AbstractIO.java | lecousin/java-framework-core | 6f177baf44e1275f77caf770c6c278f32739d771 | [
"Apache-2.0"
] | 1 | 2022-02-24T14:36:35.000Z | 2022-02-24T14:36:35.000Z | package net.lecousin.framework.io;
import java.io.IOException;
import net.lecousin.framework.concurrent.threads.Task.Priority;
import net.lecousin.framework.util.ConcurrentCloseable;
/** Utility class as a base for IO implementations. */
public abstract class AbstractIO extends ConcurrentCloseable<IOException> imple... | 21.611111 | 89 | 0.769923 |
2f27ce045fa457c04dd1daab6b92b6928b8882ce | 15,124 | php | PHP | app/Http/Controllers/TrialBalanceController.php | fmunashe/Insta | 56394be613717275e73782149e88cc48c30eb901 | [
"MIT"
] | null | null | null | app/Http/Controllers/TrialBalanceController.php | fmunashe/Insta | 56394be613717275e73782149e88cc48c30eb901 | [
"MIT"
] | null | null | null | app/Http/Controllers/TrialBalanceController.php | fmunashe/Insta | 56394be613717275e73782149e88cc48c30eb901 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Product;
use App\PurchaseOrder;
use App\Requisition;
use App\Revenue;
use App\Sale;
use Carbon\Carbon;
use Illuminate\Http\Request;
class TrialBalanceController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\... | 83.558011 | 263 | 0.644538 |
170538124442bdee46cd8f3c476403b6d804f2b3 | 5,683 | h | C | host/src/cc3x_sbromlib/bsv_crypto_driver.h | QPC-database/cryptocell-312-runtime | 91539d62a67662e40e7d925694e55bbc7e679f84 | [
"BSD-3-Clause"
] | 1 | 2021-07-04T00:08:54.000Z | 2021-07-04T00:08:54.000Z | host/src/cc3x_sbromlib/bsv_crypto_driver.h | QPC-database/cryptocell-312-runtime | 91539d62a67662e40e7d925694e55bbc7e679f84 | [
"BSD-3-Clause"
] | null | null | null | host/src/cc3x_sbromlib/bsv_crypto_driver.h | QPC-database/cryptocell-312-runtime | 91539d62a67662e40e7d925694e55bbc7e679f84 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause OR Arm’s non-OSI source license
*/
#ifndef _BSV_CRYPTO_DRIVER_H
#define _BSV_CRYPTO_DRIVER_H
#ifdef __cplusplus
extern "C"
{
#endif
#include "cc_sec_defs.h"
#include "bsv_crypto_defs.h"
/... | 27.454106 | 148 | 0.710892 |
fb95cc8e851efb92c6880291e1f69232ff643dff | 649 | java | Java | src/main/java/com/github/ansonliao/selenium/utils/AnnotationUtils.java | ansonliao/Selenium-Extensions | c5e37b68c33993b403cc2d4d715d541094a2843e | [
"Apache-2.0"
] | 15 | 2017-07-03T04:01:39.000Z | 2021-05-02T06:41:55.000Z | src/main/java/com/github/ansonliao/selenium/utils/AnnotationUtils.java | ansonliao/Selenium-Extensions | c5e37b68c33993b403cc2d4d715d541094a2843e | [
"Apache-2.0"
] | 20 | 2017-09-15T09:35:31.000Z | 2021-10-07T08:40:49.000Z | src/main/java/com/github/ansonliao/selenium/utils/AnnotationUtils.java | ansonliao/Selenium-Extensions | c5e37b68c33993b403cc2d4d715d541094a2843e | [
"Apache-2.0"
] | 7 | 2017-09-27T05:39:47.000Z | 2019-08-30T15:34:02.000Z | package com.github.ansonliao.selenium.utils;
import com.google.common.collect.Sets;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.Set;
public class AnnotationUtils {
private static Logger logger = LoggerFactory.g... | 29.5 | 84 | 0.773498 |
2dbb7fc0e4400e5c0d3dbeea1a9f1c96282af2a0 | 1,571 | html | HTML | application/wap/view/index/index.html | Catfeeds/xiaowu | 541ef71ca6c50ef7705e2654dba814b0e652ec47 | [
"Apache-2.0"
] | null | null | null | application/wap/view/index/index.html | Catfeeds/xiaowu | 541ef71ca6c50ef7705e2654dba814b0e652ec47 | [
"Apache-2.0"
] | null | null | null | application/wap/view/index/index.html | Catfeeds/xiaowu | 541ef71ca6c50ef7705e2654dba814b0e652ec47 | [
"Apache-2.0"
] | 1 | 2019-06-11T06:21:35.000Z | 2019-06-11T06:21:35.000Z | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>学习资料</title>
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">... | 31.42 | 108 | 0.562062 |
c1b67ce9a5f8358de8ac7da035c3397b666830ff | 4,279 | rs | Rust | src/config.rs | hioki/gatekeeper | 90f4fcf40fe6be0a45f35d96d2c8aa4e61d087ea | [
"Apache-2.0"
] | null | null | null | src/config.rs | hioki/gatekeeper | 90f4fcf40fe6be0a45f35d96d2c8aa4e61d087ea | [
"Apache-2.0"
] | null | null | null | src/config.rs | hioki/gatekeeper | 90f4fcf40fe6be0a45f35d96d2c8aa4e61d087ea | [
"Apache-2.0"
] | null | null | null | use std::fs::File;
use std::path::Path;
use std::time::Duration;
use crate::error::{Error, ErrorKind};
use crate::model::{ConnectRule, IpAddr, Ipv4Addr, SocketAddr};
use failure::ResultExt;
use serde_yaml;
/// Server configuration
#[derive(Debug, Clone)]
pub struct ServerConfig {
/// ip address for listening con... | 30.133803 | 107 | 0.574667 |
95c80bdfbe44391eabecd23ea583305c7373ec0e | 1,823 | html | HTML | src/blocks/main-nav/main-nav.html | des-yogi/utels | ede23fbd9f1be56c8ddd8b60ff8461edc2c3931a | [
"WTFPL"
] | null | null | null | src/blocks/main-nav/main-nav.html | des-yogi/utels | ede23fbd9f1be56c8ddd8b60ff8461edc2c3931a | [
"WTFPL"
] | 1 | 2021-08-20T15:25:21.000Z | 2021-08-20T15:25:21.000Z | src/blocks/main-nav/main-nav.html | des-yogi/utels | ede23fbd9f1be56c8ddd8b60ff8461edc2c3931a | [
"WTFPL"
] | null | null | null | <!--DEV
@ @include('blocks/main-nav/main-nav.html')
-->
<nav id="main-nav" class="container main-nav">
<ul class="list-nostyled main-nav__list">
<li class="main-nav__item">
<a href="#" class="main-nav__link">Для дому</a>
</li>
<li class="main-nav__item main-nav__item--has-children active">
... | 35.745098 | 75 | 0.562809 |
5d7e89ecc21b42634102f6c6e559b8a4a6c8b0d0 | 864 | go | Go | main.go | NexClipper/curlbee | 6276ac1e6974012a4bb2847a8918db3ca75d0707 | [
"Apache-2.0"
] | 1 | 2021-09-03T23:00:14.000Z | 2021-09-03T23:00:14.000Z | main.go | NexClipper/curlbee | 6276ac1e6974012a4bb2847a8918db3ca75d0707 | [
"Apache-2.0"
] | null | null | null | main.go | NexClipper/curlbee | 6276ac1e6974012a4bb2847a8918db3ca75d0707 | [
"Apache-2.0"
] | null | null | null | package main
import (
"flag"
"io/ioutil"
"log"
"gopkg.in/yaml.v2"
"github.com/nexclipper/curlbee/cmd"
"github.com/nexclipper/curlbee/pkg/config"
)
func main() {
fileName := flag.String("filename", "", "yaml file name")
execType := flag.String("type", "cli", "specifies the type of execution process[cli(defau... | 19.2 | 101 | 0.636574 |
0cb626407dc59dff1be601a5e0499c7a012ea0ad | 75 | py | Python | app/database/base.py | CabetoDP/fastapi-crud | bbeef58b74b7a010037ca8503a7f05f8b4db2ab4 | [
"MIT"
] | null | null | null | app/database/base.py | CabetoDP/fastapi-crud | bbeef58b74b7a010037ca8503a7f05f8b4db2ab4 | [
"MIT"
] | null | null | null | app/database/base.py | CabetoDP/fastapi-crud | bbeef58b74b7a010037ca8503a7f05f8b4db2ab4 | [
"MIT"
] | null | null | null | from app.database.base_class import Base
from app.models.place import Place | 37.5 | 40 | 0.853333 |
5423049a0cff9d9e8c8ae9caac54386b38c07570 | 6,225 | go | Go | roxctl/common/printer/objectprinter_factory_test.go | stackrox/stackrox | 3b2929fd5f2bc68d5742bd958a22e03202ae6be4 | [
"Apache-2.0"
] | 22 | 2022-03-31T14:32:18.000Z | 2022-03-31T22:11:30.000Z | roxctl/common/printer/objectprinter_factory_test.go | stackrox/stackrox | 3b2929fd5f2bc68d5742bd958a22e03202ae6be4 | [
"Apache-2.0"
] | 5 | 2022-03-31T14:35:28.000Z | 2022-03-31T22:40:13.000Z | roxctl/common/printer/objectprinter_factory_test.go | stackrox/stackrox | 3b2929fd5f2bc68d5742bd958a22e03202ae6be4 | [
"Apache-2.0"
] | 4 | 2022-03-31T16:33:58.000Z | 2022-03-31T22:19:26.000Z | package printer
import (
"strings"
"testing"
"github.com/spf13/cobra"
"github.com/stackrox/rox/pkg/errox"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestNewObjectPrinterFactory(t *testing.T) {
cases := map[string]struct {
defaultFormat string
shouldFail bool
e... | 27.065217 | 116 | 0.670361 |
37c90d322cec845bf7ba001c6a51daf7aa9b5cc0 | 913 | kt | Kotlin | src/main/kotlin/com/xfastgames/witness/utils/Collections.kt | prodzpod/fabric-witness | 72ac307406307a26d44f271f3865da3a6bd8aaec | [
"Apache-2.0"
] | 3 | 2020-09-11T09:38:02.000Z | 2022-03-18T18:22:53.000Z | src/main/kotlin/com/xfastgames/witness/utils/Collections.kt | prodzpod/fabric-witness | 72ac307406307a26d44f271f3865da3a6bd8aaec | [
"Apache-2.0"
] | 8 | 2020-05-10T12:51:29.000Z | 2021-01-27T22:54:59.000Z | src/main/kotlin/com/xfastgames/witness/utils/Collections.kt | prodzpod/fabric-witness | 72ac307406307a26d44f271f3865da3a6bd8aaec | [
"Apache-2.0"
] | 1 | 2021-08-08T01:43:11.000Z | 2021-08-08T01:43:11.000Z | package com.xfastgames.witness.utils
fun <T> Collection<T>.containsOnly(vararg others: T): Boolean =
this.containsAll(others.toSet()) &&
this.subtract(others.toList()).isEmpty()
/**
* Zip the collection with itself where each entry is paired with the next element.
* Pairs are returned in the order o... | 38.041667 | 83 | 0.651698 |
59987bf7c002955fb668cd2550422e80916138ff | 2,244 | sql | SQL | system-database/test-data/h2_create_tables.sql | deleidos/digitaledge-platform | 1eafdb92f6a205936ab4e08ef62be6bb0b9c9ec9 | [
"Apache-2.0"
] | 4 | 2015-07-09T14:57:07.000Z | 2022-02-23T17:48:24.000Z | system-database/test-data/h2_create_tables.sql | deleidos/digitaledge-platform | 1eafdb92f6a205936ab4e08ef62be6bb0b9c9ec9 | [
"Apache-2.0"
] | 1 | 2016-04-20T01:13:29.000Z | 2016-04-20T01:13:29.000Z | system-database/test-data/h2_create_tables.sql | deleidos/digitaledge-platform | 1eafdb92f6a205936ab4e08ef62be6bb0b9c9ec9 | [
"Apache-2.0"
] | 4 | 2016-03-10T00:23:17.000Z | 2022-03-02T11:17:02.000Z | CREATE TABLE IF NOT EXISTS APPLICATION.H2_TYPE_TEST(
PK_COL_1 NUMBER NOT NULL PRIMARY KEY,
INT_COL_1_INT INT,
INT_COL_2_INTEGER INTEGER,
INT_COL_3_MEDIUMINT MEDIUMINT,
INT_COL_4_INT4 INT4,
INT_COL_5_SIGNED SIGNED,
BOOL_COL_1_BOOLEAN BOOLEAN,
BOOL_COL_2_BIT BIT,
BOOL_COL_3_BOOL BOOL,
TINYINT_COL_1 TI... | 32.057143 | 70 | 0.83467 |
f05b41f74caaec27151fc5801f63f5f0ab734624 | 2,086 | js | JavaScript | src/ChipWithPopover.js | GCHQDeveloper911/material-multi-picker | a2a15f8818b3368630dddac53269abd804db16d3 | [
"MIT"
] | null | null | null | src/ChipWithPopover.js | GCHQDeveloper911/material-multi-picker | a2a15f8818b3368630dddac53269abd804db16d3 | [
"MIT"
] | null | null | null | src/ChipWithPopover.js | GCHQDeveloper911/material-multi-picker | a2a15f8818b3368630dddac53269abd804db16d3 | [
"MIT"
] | null | null | null | import React, { PureComponent } from "react";
import { Popover, Chip } from "@material-ui/core";
import { func } from "prop-types";
const TOP_MIDDLE = { vertical: "top", horizontal: "center" };
const BOTTOM_MIDDLE = { vertical: "bottom", horizontal: "center" };
class ChipWithPopover extends PureComponent {
constr... | 34.196721 | 96 | 0.50767 |
128d88c636205bc9d37b9990dc05b115ed32da29 | 434 | lua | Lua | lua/gf/utils.lua | chau-bao-long/java-kotlin-gf | e8be1e94c5a552a414ebad17e724d8ef5541ba04 | [
"Apache-2.0"
] | 3 | 2020-05-29T14:09:10.000Z | 2020-06-09T15:57:16.000Z | lua/gf/utils.lua | chau-bao-long/java-kotlin-gf | e8be1e94c5a552a414ebad17e724d8ef5541ba04 | [
"Apache-2.0"
] | null | null | null | lua/gf/utils.lua | chau-bao-long/java-kotlin-gf | e8be1e94c5a552a414ebad17e724d8ef5541ba04 | [
"Apache-2.0"
] | null | null | null | local M = {}
function M.file_exists(name)
local f = io.open(name, "r")
return f ~= nil and io.close(f)
end
function M.esc(x)
return (x:gsub('%%', '%%%%')
:gsub('^%^', '%%^')
:gsub('%$$', '%%$')
:gsub('%(', '%%(')
:gsub('%)', '%%)')
:gsub('%.', '%%.')
:gsub('%[', '%%[')
:gsub('%]', ... | 18.083333 | 34 | 0.343318 |
8cab27cede900697c385551fc11266c14ea4179c | 3,445 | swift | Swift | validation-test/stdlib/StringBreadcrumbs.swift | patmosxx-v2/swift | cbce1608733d7c707699666d114590b1b2f756ad | [
"Apache-2.0"
] | 2 | 2017-04-26T19:33:07.000Z | 2022-03-28T05:43:08.000Z | validation-test/stdlib/StringBreadcrumbs.swift | saeta/swift | 1c91dd4933f805b9b2510c49127db8e437803b55 | [
"Apache-2.0"
] | null | null | null | validation-test/stdlib/StringBreadcrumbs.swift | saeta/swift | 1c91dd4933f805b9b2510c49127db8e437803b55 | [
"Apache-2.0"
] | 1 | 2019-10-31T04:48:41.000Z | 2019-10-31T04:48:41.000Z | // RUN: %target-run-stdlib-swift
// REQUIRES: executable_test
// Some targetted tests for the breadcrumbs path. There is some overlap with
// UTF16View tests for huge strings, but we want a simpler suite that targets
// some corner cases specifically.
import Swift
import StdlibUnittest
let smallASCII = "abcdefg"
let... | 29.956522 | 79 | 0.722787 |
43b8694b66a7b17db4481a3bb1447c77a4e00c25 | 3,104 | go | Go | handlers/http.go | shuoyenl/floop | 0477a66a373abf1356543a4dd0dcdd2390fd6f24 | [
"Apache-2.0"
] | 2 | 2018-03-26T09:38:28.000Z | 2018-03-26T09:56:38.000Z | handlers/http.go | shuoyenl/floop | 0477a66a373abf1356543a4dd0dcdd2390fd6f24 | [
"Apache-2.0"
] | null | null | null | handlers/http.go | shuoyenl/floop | 0477a66a373abf1356543a4dd0dcdd2390fd6f24 | [
"Apache-2.0"
] | null | null | null | package handlers
import (
"bytes"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"time"
"github.com/d3sw/floop/resolver"
"github.com/d3sw/floop/types"
)
var (
errInvalidURI = "invalid uri: %s"
errInvalidMethod = "invalid method: %d"
)
type endpointConfig struct {
//URI string
Method st... | 22.823529 | 121 | 0.679124 |
e1f839acbe9622797a0a6b683dd7b25da334697c | 369 | asm | Assembly | oeis/106/A106043.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/106/A106043.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/106/A106043.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A106043: First digit other than 9 in the fractional part of the decimal expansion of (1/1000^n)^(1/1000^n).
; 0,3,8,7,7,6,5,5,4,3,3,2,1,1,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4
mul $0,62298
lpb $0
mov $2,$0
... | 30.75 | 175 | 0.571816 |
ccfa36b98a99d714e7b02775dd6d509e3180293c | 12,922 | ps1 | PowerShell | source/Classes/003.AzDevOpsDscResourceBase.ps1 | kilasuit/AzureDevOpsDsc | 5cd23a05bbf64c2e91ee1f535bda25d799939465 | [
"MIT"
] | 1 | 2020-07-05T15:07:27.000Z | 2020-07-05T15:07:27.000Z | source/Classes/003.AzDevOpsDscResourceBase.ps1 | johlju/AzureDevOpsDsc | f1d8097305621a8915eb51c31a25451389144330 | [
"MIT"
] | 30 | 2020-07-05T08:33:51.000Z | 2022-02-23T16:49:07.000Z | source/Classes/003.AzDevOpsDscResourceBase.ps1 | johlju/AzureDevOpsDsc | f1d8097305621a8915eb51c31a25451389144330 | [
"MIT"
] | 6 | 2020-07-05T08:49:52.000Z | 2022-01-07T03:13:04.000Z | <#
.SYNOPSIS
Defines a base class from which other AzureDevOps DSC resources inherit from.
#>
class AzDevOpsDscResourceBase : AzDevOpsApiDscResourceBase
{
[DscProperty()]
[Alias('Uri')]
[System.String]
$ApiUri
[DscProperty()]
[Alias('PersonalAccessToken')]
[System.S... | 41.022222 | 169 | 0.595651 |
83ebf27cd5f12d7a23756c3f01768b2ec85fa41a | 12,171 | go | Go | db/sql-parser.go | prorochestvo/grest | efebd6011e1cd9920ddc5af4b3516036bcfeb2b6 | [
"MIT"
] | null | null | null | db/sql-parser.go | prorochestvo/grest | efebd6011e1cd9920ddc5af4b3516036bcfeb2b6 | [
"MIT"
] | null | null | null | db/sql-parser.go | prorochestvo/grest | efebd6011e1cd9920ddc5af4b3516036bcfeb2b6 | [
"MIT"
] | null | null | null | package db
import (
"github.com/prorochestvo/grest/internal/helper"
"net/http"
"net/url"
"regexp"
"sort"
"strconv"
"strings"
)
//func SQLSelect(r *http.Request) string {
// result := ""
// return result
//}
var instructions = []string{
"between",
"is_null",
"like",
"cmp_be", ">=",
"cmp_b", ">",
"cmp_l",... | 27.661364 | 245 | 0.518938 |
7632a63e5367763204fcdc4dae4b0e3764d4bbe1 | 3,215 | go | Go | test/outputgenerator_test/output_generator_test.go | Jungbusch-Softwareschmiede/jungbusch-auditorium | caac4fba9dd3af3c5fad6f8d2d62c1c290253fc2 | [
"MIT"
] | null | null | null | test/outputgenerator_test/output_generator_test.go | Jungbusch-Softwareschmiede/jungbusch-auditorium | caac4fba9dd3af3c5fad6f8d2d62c1c290253fc2 | [
"MIT"
] | null | null | null | test/outputgenerator_test/output_generator_test.go | Jungbusch-Softwareschmiede/jungbusch-auditorium | caac4fba9dd3af3c5fad6f8d2d62c1c290253fc2 | [
"MIT"
] | null | null | null | package outputgenerator_test
import (
"github.com/Jungbusch-Softwareschmiede/jungbusch-auditorium/auditorium/auditconfig/interpreter"
"github.com/Jungbusch-Softwareschmiede/jungbusch-auditorium/auditorium/modulecontroller"
"github.com/Jungbusch-Softwareschmiede/jungbusch-auditorium/auditorium/outputgenerator"
. "g... | 31.519608 | 140 | 0.66563 |
9a6b2a0b8f6eb39b88fd00e7ab3d308255c35f7c | 294 | sql | SQL | docker/sql/users.sql | rchavarria/driftphp-homework | f6d60ec19ed70d1272a7371609cc4daacdcac0bb | [
"MIT"
] | null | null | null | docker/sql/users.sql | rchavarria/driftphp-homework | f6d60ec19ed70d1272a7371609cc4daacdcac0bb | [
"MIT"
] | null | null | null | docker/sql/users.sql | rchavarria/driftphp-homework | f6d60ec19ed70d1272a7371609cc4daacdcac0bb | [
"MIT"
] | null | null | null | --
-- Create database and table for Users
--
create database usersdb;
use usersdb;
create table users
(
uid varchar(64) default '' not null primary key,
name varchar(255) not null
);
-- initial users
insert into users (uid, name)
values ('plnctn', 'Plancton, el origen');
| 17.294118 | 53 | 0.666667 |
03956e219cbe560bec5807cbdd3335ee3c9342e4 | 9,912 | kt | Kotlin | android/beagle/src/test/java/br/com/zup/beagle/android/data/serializer/serializerDataFactory.kt | BizarreNULL/beagle | e1b0a87f9d1fd8c0c123aac7d5fb98b0bfdb7d2c | [
"Apache-2.0"
] | null | null | null | android/beagle/src/test/java/br/com/zup/beagle/android/data/serializer/serializerDataFactory.kt | BizarreNULL/beagle | e1b0a87f9d1fd8c0c123aac7d5fb98b0bfdb7d2c | [
"Apache-2.0"
] | null | null | null | android/beagle/src/test/java/br/com/zup/beagle/android/data/serializer/serializerDataFactory.kt | BizarreNULL/beagle | e1b0a87f9d1fd8c0c123aac7d5fb98b0bfdb7d2c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* 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... | 22.578588 | 79 | 0.475585 |
dc09e31490cc94606b01c53b7cb11dab4c2f38ce | 1,012 | py | Python | payment/migrations/0001_initial.py | Nezale/Cloud_Warehouse_Project | 505dd073862b9f2e49ae76eea255dc7a38175f79 | [
"MIT"
] | 2 | 2018-12-05T00:17:35.000Z | 2018-12-05T00:17:41.000Z | payment/migrations/0001_initial.py | Nezale/Cloud_Warehouse_Project | 505dd073862b9f2e49ae76eea255dc7a38175f79 | [
"MIT"
] | 12 | 2019-01-14T22:57:23.000Z | 2022-03-11T23:38:37.000Z | payment/migrations/0001_initial.py | Nezale/Cloud_Warehouse_Project | 505dd073862b9f2e49ae76eea255dc7a38175f79 | [
"MIT"
] | 3 | 2019-01-24T11:32:09.000Z | 2019-08-26T11:30:31.000Z | # Generated by Django 2.1.4 on 2019-01-23 15:01
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('payment_method', '0001_initial'),
]
operations = [
migrations.CreateModel(
... | 34.896552 | 133 | 0.621542 |
9c22561b07a7107112198fbcf7e19bbc4234d960 | 896 | js | JavaScript | src/components/Dialog/Dialog.js | georgemunyoro/nonagon | 9e9491cc759a188c257d5c5380b9452f1fa86814 | [
"MIT"
] | null | null | null | src/components/Dialog/Dialog.js | georgemunyoro/nonagon | 9e9491cc759a188c257d5c5380b9452f1fa86814 | [
"MIT"
] | 5 | 2021-10-30T10:22:07.000Z | 2022-02-19T11:55:54.000Z | src/components/Dialog/Dialog.js | georgemunyoro/nonagon | 9e9491cc759a188c257d5c5380b9452f1fa86814 | [
"MIT"
] | null | null | null | import React from "react";
import { Backdrop, Box, Container, Hidden } from "../index";
import "./Dialog.css";
const Dialog = ({
isOpen = false,
onClose = () => {},
children,
width = "50%",
height = "initial",
containerComponentProps,
hiddenComponentProps,
backdropComponentProps,
dialogMessageContain... | 23.578947 | 80 | 0.575893 |
aeb41288fb17a1cd5ad71720350b37b2d9209012 | 9,651 | swift | Swift | Sabbath School/Read/View/ReadView.swift | perdodi/sabbath-school-ios | 6c56fad6c19db35cf464926d429cb363bdeee1b3 | [
"MIT"
] | null | null | null | Sabbath School/Read/View/ReadView.swift | perdodi/sabbath-school-ios | 6c56fad6c19db35cf464926d429cb363bdeee1b3 | [
"MIT"
] | null | null | null | Sabbath School/Read/View/ReadView.swift | perdodi/sabbath-school-ios | 6c56fad6c19db35cf464926d429cb363bdeee1b3 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017 Adventech <info@adventech.io>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modi... | 38.604 | 162 | 0.695265 |
ea631c77eb722c66820b070c743a4cd5dd9e0bd0 | 552 | asm | Assembly | Chapter_4/Program 4.2/x86/Program_4.2_MASM.asm | chen150182055/Assembly | e5e76bea438a3752b59775098205a77aa7087110 | [
"MIT"
] | 272 | 2016-12-28T02:24:21.000Z | 2022-03-30T21:05:37.000Z | Chapter_4/Program 4.2/x86/Program_4.2_MASM.asm | chen150182055/Assembly | e5e76bea438a3752b59775098205a77aa7087110 | [
"MIT"
] | 1 | 2018-04-17T19:47:52.000Z | 2018-04-17T19:47:52.000Z | Chapter_4/Program 4.2/x86/Program_4.2_MASM.asm | chen150182055/Assembly | e5e76bea438a3752b59775098205a77aa7087110 | [
"MIT"
] | 62 | 2017-02-02T14:39:37.000Z | 2022-01-04T09:02:07.000Z | ; Program 4.2
; Multiplication and Division - MASM (32-bit)
; Copyright (c) 2017 Hall & Slonka
.386
.MODEL FLAT, stdcall
.STACK 4096
ExitProcess PROTO, dwExitCode:DWORD
.data
mval DWORD 664751
dval DWORD 8
.code
_main PROC
; MUL 1-op
mov eax, mval
mov ebx, 8
mul ebx
; IMUL 1-op
mov eax, mval
mov ebx, 8
imul ebx
;... | 11.265306 | 45 | 0.702899 |
0be4f6082ce5383431a1aa70d5e37fef310a8c77 | 536 | js | JavaScript | src/index.js | classmatewu/toy-webpack-hmr | b2020b293cd0ad83d35845c271cd13f2973bbcbe | [
"MIT"
] | 4 | 2021-10-31T14:21:32.000Z | 2021-12-09T16:04:31.000Z | src/index.js | classmatewu/toy-webpack-hmr | b2020b293cd0ad83d35845c271cd13f2973bbcbe | [
"MIT"
] | null | null | null | src/index.js | classmatewu/toy-webpack-hmr | b2020b293cd0ad83d35845c271cd13f2973bbcbe | [
"MIT"
] | null | null | null | const content1 = require('./content1')
const content2 = require('./content2')
// 输入框
const inputDom = document.createElement('input')
document.body.appendChild(inputDom)
// div1
const div1Dom = document.createElement('div')
document.body.appendChild(div1Dom)
const setDiv1DomInnerHTML = () => {
div1Dom.innerHTML = ... | 20.615385 | 48 | 0.751866 |
045b95ef7494abe5d2d71997f2ac1b841869094c | 2,171 | java | Java | test/mireka/transmission/immediate/UpstreamTest.java | pablomelo/mireka | 8001494df592e6f5ff692410b98f1dfbaf1518a7 | [
"Apache-2.0"
] | 39 | 2015-03-31T00:09:30.000Z | 2021-11-01T10:15:35.000Z | test/mireka/transmission/immediate/UpstreamTest.java | pablomelo/mireka | 8001494df592e6f5ff692410b98f1dfbaf1518a7 | [
"Apache-2.0"
] | 2 | 2016-02-21T08:05:02.000Z | 2018-03-21T10:58:57.000Z | test/mireka/transmission/immediate/UpstreamTest.java | pablomelo/mireka | 8001494df592e6f5ff692410b98f1dfbaf1518a7 | [
"Apache-2.0"
] | 18 | 2015-04-02T20:06:31.000Z | 2021-11-01T10:15:38.000Z | package mireka.transmission.immediate;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import java.util.List;
import mireka.smtp.client.BackendServer;
import org.junit.Test;
public class UpstreamTest {
private BackendServer server66 = new BackendServer();
private BackendServer server33... | 32.893939 | 69 | 0.6117 |
a17878099cabaf3d92dc0a903be4194caba2029c | 332 | go | Go | pkg/mock/deployment.go | Meetic/blackbeard | 540a46789704f828a2d1a8b0ea46f1cb051202dc | [
"Apache-2.0"
] | 27 | 2018-01-10T12:55:26.000Z | 2021-08-30T15:42:32.000Z | pkg/mock/deployment.go | Meetic/blackbeard | 540a46789704f828a2d1a8b0ea46f1cb051202dc | [
"Apache-2.0"
] | 63 | 2017-12-05T09:51:28.000Z | 2021-01-27T17:05:57.000Z | pkg/mock/deployment.go | Meetic/blackbeard | 540a46789704f828a2d1a8b0ea46f1cb051202dc | [
"Apache-2.0"
] | 2 | 2018-09-06T16:09:04.000Z | 2018-12-06T14:59:04.000Z | package mock
import (
"github.com/stretchr/testify/mock"
"github.com/Meetic/blackbeard/pkg/resource"
)
type DeploymentRepository struct {
mock.Mock
}
func (m *DeploymentRepository) List(namespace string) (resource.Deployments, error) {
args := m.Called(namespace)
return args.Get(0).(resource.Deployments), args... | 19.529412 | 85 | 0.753012 |
90e8e040bbdfbbcacec9bcc13ff915c618c92313 | 133 | py | Python | stages/apps.py | mohamedba01/RH_SOlution_-StagePFE | 0638b889f4fb75e714a470d18907720fa37b2d14 | [
"Unlicense"
] | null | null | null | stages/apps.py | mohamedba01/RH_SOlution_-StagePFE | 0638b889f4fb75e714a470d18907720fa37b2d14 | [
"Unlicense"
] | null | null | null | stages/apps.py | mohamedba01/RH_SOlution_-StagePFE | 0638b889f4fb75e714a470d18907720fa37b2d14 | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class StagesConfig(AppConfig):
name = 'stages'
verbose_name = 'Pratique professionnelle'
| 19 | 45 | 0.75188 |
ebc118c36be60570da3d57a721bd5c9fc6366a36 | 16,975 | lua | Lua | kong/plugins/keystone/fernet.lua | lenaaxenova/keystone_plugin | 912498905dae39da3a687ae95d5d13a436bf05c3 | [
"Apache-2.0"
] | 2 | 2018-12-11T02:48:56.000Z | 2019-04-15T07:53:36.000Z | kong/plugins/keystone/fernet.lua | ispras/keystone_plugin | 912498905dae39da3a687ae95d5d13a436bf05c3 | [
"Apache-2.0"
] | null | null | null | kong/plugins/keystone/fernet.lua | ispras/keystone_plugin | 912498905dae39da3a687ae95d5d13a436bf05c3 | [
"Apache-2.0"
] | 3 | 2017-10-27T07:03:36.000Z | 2018-04-27T13:07:41.000Z | local responses = require "kong.tools.responses"
local struct = require "struct"
local os = require "os"
local urandom = require 'randbytes'
local kutils = require ("kong.plugins.keystone.utils")
local msgpack = require "MessagePack"
local methods_represent = {oauth1 = 1, password = 2, token = 3}
local uuid_default = ... | 36.349036 | 224 | 0.708159 |
79fce73342b067facd92ede7bcd79888bd15b1d9 | 2,376 | ps1 | PowerShell | tests/Unit/Private/Assert-TimeSpan.Tests.ps1 | matthew-dupre/DnsServerDsc | 9ac3399e026e51e0ea4f06fed8c34484dd9a6eb3 | [
"MIT"
] | 37 | 2015-06-24T06:08:45.000Z | 2019-09-26T18:18:33.000Z | tests/Unit/Private/Assert-TimeSpan.Tests.ps1 | matthew-dupre/DnsServerDsc | 9ac3399e026e51e0ea4f06fed8c34484dd9a6eb3 | [
"MIT"
] | 126 | 2019-12-10T17:08:47.000Z | 2021-03-26T19:43:43.000Z | tests/Unit/Private/Assert-TimeSpan.Tests.ps1 | matthew-dupre/DnsServerDsc | 9ac3399e026e51e0ea4f06fed8c34484dd9a6eb3 | [
"MIT"
] | 80 | 2015-04-21T19:38:39.000Z | 2019-09-24T19:49:08.000Z | $ProjectPath = "$PSScriptRoot\..\..\.." | Convert-Path
$ProjectName = (Get-ChildItem $ProjectPath\*\*.psd1 | Where-Object -FilterScript {
($_.Directory.Name -match 'source|src' -or $_.Directory.Name -eq $_.BaseName) -and
$(try
{
Test-ModuleManifest $_.FullName -ErrorActi... | 41.684211 | 142 | 0.559343 |
133b9cab94d10b93b25cd2acec06eaac55b4a581 | 5,068 | h | C | include/Config.h | avenhaus/ESP32_ROS_Robot_Remote | 07aa878590f95699e0bb7ac7f4bd52368c7a1f6b | [
"BSD-Source-Code"
] | null | null | null | include/Config.h | avenhaus/ESP32_ROS_Robot_Remote | 07aa878590f95699e0bb7ac7f4bd52368c7a1f6b | [
"BSD-Source-Code"
] | null | null | null | include/Config.h | avenhaus/ESP32_ROS_Robot_Remote | 07aa878590f95699e0bb7ac7f4bd52368c7a1f6b | [
"BSD-Source-Code"
] | null | null | null | #ifndef CONFIG_H
#define CONFIG_H
#include <Arduino.h>
/********************************************\
|* Pin Definitions
\********************************************/
/*
https://drive.google.com/file/d/1gbKM7DA7PI7s1-ne_VomcjOrb0bE2TPZ/view
---+------+----+-----+-----+-----------+-----------------------... | 29.126437 | 71 | 0.576559 |
0c93992159c77c279e8541bafd3b789955b4b418 | 473 | py | Python | 3/node.py | Pavel3P/Machine-Learning | 441da7de69ebf6cef9ebe54a0b3992918faf1d40 | [
"MIT"
] | null | null | null | 3/node.py | Pavel3P/Machine-Learning | 441da7de69ebf6cef9ebe54a0b3992918faf1d40 | [
"MIT"
] | null | null | null | 3/node.py | Pavel3P/Machine-Learning | 441da7de69ebf6cef9ebe54a0b3992918faf1d40 | [
"MIT"
] | null | null | null | import numpy as np
class Node:
def __init__(self,
gini: float,
num_samples_per_class: np.ndarray,
) -> None:
self.gini: float = gini
self.num_samples_per_class: np.ndarray = num_samples_per_class
self.predicted_class: int = np.argmax(num_s... | 26.277778 | 70 | 0.587738 |
169bacf9d121404c4650553fc0f4ae2c6145d9e5 | 1,267 | ts | TypeScript | utils/parseTitle.ts | staddi99/AdventOfCode | a44e6d5288d82543f2e789584eb8a40c0e7ca1d7 | [
"Unlicense"
] | null | null | null | utils/parseTitle.ts | staddi99/AdventOfCode | a44e6d5288d82543f2e789584eb8a40c0e7ca1d7 | [
"Unlicense"
] | null | null | null | utils/parseTitle.ts | staddi99/AdventOfCode | a44e6d5288d82543f2e789584eb8a40c0e7ca1d7 | [
"Unlicense"
] | null | null | null | const axios = require('axios');
const cheerio = require('cheerio');
const args = process.argv.slice(2);
let year = args[0] ? args[0] : 2020;
let day = args[1] ? args[1] : 1;
let only = args[2] ? args[2] : 0;
const getTitle = async (year, day) => {
let postTitle;
try {
const { status, data } = await axios.get... | 23.462963 | 76 | 0.497238 |
e8ef256cd90a45f756f9b6bac7615546b4352096 | 7,475 | py | Python | app/wall_e/models/canvas_api.py | dbwebb-se/umbridge | 76dd1a15f2f481c1fc3819990ab41e20ca65afe3 | [
"MIT"
] | null | null | null | app/wall_e/models/canvas_api.py | dbwebb-se/umbridge | 76dd1a15f2f481c1fc3819990ab41e20ca65afe3 | [
"MIT"
] | 12 | 2021-09-07T12:11:31.000Z | 2022-03-22T10:05:03.000Z | app/wall_e/models/canvas_api.py | dbwebb-se/umbridge | 76dd1a15f2f481c1fc3819990ab41e20ca65afe3 | [
"MIT"
] | null | null | null | """
"""
import os
from flask import current_app
from canvasapi import submission, requester
from app.wall_e.models.requester import Requester
from app.settings import settings
class Canvas(Requester):
"""
Model class for wall_e.fetch
"""
def __init__(self, base_url, api_token, course_id, course_name)... | 34.447005 | 147 | 0.597458 |
4a2a1a8072ddc682f0648e0ee2b2660f462c8c1d | 6,091 | js | JavaScript | assets/angular/ng-movies.js | octopuscart/mticketmanage | 6882bbcc208fbf3d78dd68f0b058937ccc840730 | [
"MIT"
] | null | null | null | assets/angular/ng-movies.js | octopuscart/mticketmanage | 6882bbcc208fbf3d78dd68f0b058937ccc840730 | [
"MIT"
] | null | null | null | assets/angular/ng-movies.js | octopuscart/mticketmanage | 6882bbcc208fbf3d78dd68f0b058937ccc840730 | [
"MIT"
] | null | null | null |
Admin.controller('theaterController', function ($scope, $http, $timeout, $interval, $filter) {
$scope.theaterLayout = {"layout": {}, "suggetion": [], "wheelchair": {}};
var url = rootBaseUrl + "Api/" + layoutgbl;
$http.get(url).then(function (rdata) {
$scope.theaterLayout.layout = rdata.data;
... | 34.412429 | 163 | 0.571499 |
3b27cec2befa6572d4a1ba293087ad1983b74297 | 1,968 | swift | Swift | ForecastModuleTests/Presenter/ForecastModulePresenterTests.swift | menabebawy/Weather-For-Three-Days | 2f808464a05d6394a3f446f13991463c26d37b29 | [
"MIT"
] | null | null | null | ForecastModuleTests/Presenter/ForecastModulePresenterTests.swift | menabebawy/Weather-For-Three-Days | 2f808464a05d6394a3f446f13991463c26d37b29 | [
"MIT"
] | null | null | null | ForecastModuleTests/Presenter/ForecastModulePresenterTests.swift | menabebawy/Weather-For-Three-Days | 2f808464a05d6394a3f446f13991463c26d37b29 | [
"MIT"
] | null | null | null | //
// ForecastModulePresenterTests.swift
// ForecastModuleTests
//
// Created by Mena Bebawy on 2/9/20.
// Copyright © 2020 Mena. All rights reserved.
//
import XCTest
import Entities
class ForecastModulePresenterTests: XCTestCase {
let presenter = ForecastModulePresenter()
var interactor: MockInteractor ... | 24.296296 | 63 | 0.613821 |
9b7a7fdcd1fbad3e58c002fa12626ccaf4d6f16c | 1,849 | kts | Kotlin | data/RF02482/rnartist.kts | fjossinet/Rfam-for-RNArtist | 3016050675602d506a0e308f07d071abf1524b67 | [
"MIT"
] | null | null | null | data/RF02482/rnartist.kts | fjossinet/Rfam-for-RNArtist | 3016050675602d506a0e308f07d071abf1524b67 | [
"MIT"
] | null | null | null | data/RF02482/rnartist.kts | fjossinet/Rfam-for-RNArtist | 3016050675602d506a0e308f07d071abf1524b67 | [
"MIT"
] | null | null | null | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF02482"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
6 to 9... | 15.408333 | 48 | 0.273121 |
5fa1cb5f3ff403c76eb777e33c74f10e35dd2e50 | 245 | h | C | AnyThinkUnitySDK/Assets/AnyThinkAds/Platform/iOS/Internal/C/ATRewardedVideoWrapper.h | anythinkteam/demo_unity | f9f5d2bac265b7e313662a4bc0a1225073d6f5bb | [
"Apache-2.0"
] | 9 | 2019-11-28T07:26:34.000Z | 2020-09-24T05:15:41.000Z | AnyThinkUnitySDK/Assets/AnyThinkAds/Platform/iOS/Internal/C/ATRewardedVideoWrapper.h | anythinkteam/demo_unity | f9f5d2bac265b7e313662a4bc0a1225073d6f5bb | [
"Apache-2.0"
] | null | null | null | AnyThinkUnitySDK/Assets/AnyThinkAds/Platform/iOS/Internal/C/ATRewardedVideoWrapper.h | anythinkteam/demo_unity | f9f5d2bac265b7e313662a4bc0a1225073d6f5bb | [
"Apache-2.0"
] | 1 | 2020-06-27T05:37:32.000Z | 2020-06-27T05:37:32.000Z | //
// ATRewardedVideoWrapper.h
// UnityContainer
//
// Created by Martin Lau on 08/08/2018.
// Copyright © 2018 Martin Lau. All rights reserved.
//
#import "ATBaseUnityWrapper.h"
@interface ATRewardedVideoWrapper : ATBaseUnityWrapper
@end
| 18.846154 | 54 | 0.738776 |
292399f9c3b97ec85618deebdfd297911dcc17cc | 316 | py | Python | pyamg/krylov/__init__.py | Alexey-Voronin/pyamg-1 | 59d35010e4bd660aae3526e8a206a42cb1a54bfa | [
"MIT"
] | null | null | null | pyamg/krylov/__init__.py | Alexey-Voronin/pyamg-1 | 59d35010e4bd660aae3526e8a206a42cb1a54bfa | [
"MIT"
] | null | null | null | pyamg/krylov/__init__.py | Alexey-Voronin/pyamg-1 | 59d35010e4bd660aae3526e8a206a42cb1a54bfa | [
"MIT"
] | null | null | null | "Krylov Solvers"
from .info import __doc__
from ._gmres import *
from ._fgmres import *
from ._cg import *
from ._cr import *
from ._cgnr import *
from ._cgne import *
from ._bicgstab import *
from ._steepest_descent import *
from ._minimal_residual import *
__all__ = [s for s in dir() if not s.startswith('_')]
| 19.75 | 53 | 0.727848 |
777d6ca62638a67ce4e2bd5ccbb52e1f5ee75b34 | 1,858 | rs | Rust | src/lib.rs | mihirsamdarshi/rust-core-video-sys | a5c566961dd1d4066d9ae2039b2108f38ecc9ca4 | [
"MIT"
] | null | null | null | src/lib.rs | mihirsamdarshi/rust-core-video-sys | a5c566961dd1d4066d9ae2039b2108f38ecc9ca4 | [
"MIT"
] | null | null | null | src/lib.rs | mihirsamdarshi/rust-core-video-sys | a5c566961dd1d4066d9ae2039b2108f38ecc9ca4 | [
"MIT"
] | null | null | null | #![allow(
non_snake_case,
non_camel_case_types,
non_upper_case_globals,
improper_ctypes
)]
#[macro_use]
extern crate cfg_if;
pub use self::base::*;
pub use self::buffer::*;
pub use self::image_buffer::*;
pub use self::open_gl_es_texture::*;
pub use self::open_gl_es_texture_cache::*;
pub use self::pixel_buffer::*;
pub... | 22.119048 | 51 | 0.658773 |
968718dfcf3015161c5b6847e51225e4c1e895a1 | 8,720 | php | PHP | app/Controllers/Member/Jawabantryout.php | lutfiarfianto/ci4crud | efb0222695071aec0f86fffd458275e40bcdd79e | [
"MIT"
] | null | null | null | app/Controllers/Member/Jawabantryout.php | lutfiarfianto/ci4crud | efb0222695071aec0f86fffd458275e40bcdd79e | [
"MIT"
] | null | null | null | app/Controllers/Member/Jawabantryout.php | lutfiarfianto/ci4crud | efb0222695071aec0f86fffd458275e40bcdd79e | [
"MIT"
] | null | null | null | <?php
namespace App\Controllers\Member;
use App\Controllers\BaseController;
class Jawabantryout extends BaseController
{
public function __construct()
{
$this->jawabantryoutModel = new \App\Models\JawabantryoutModel();
}
/*
public function session($id)
{
$soal_tryout_i... | 26.107784 | 185 | 0.494954 |
beefcf92978672f26e181cdf204603f0ca58aa3d | 3,554 | lua | Lua | Modules/Network/Protocol.lua | HeladoDeBrownie/Nexus | c0bc3fe34b50bbb429eb73699bfd72dbc42aff2f | [
"MIT"
] | 4 | 2020-06-16T23:49:47.000Z | 2020-12-05T03:54:11.000Z | Modules/Network/Protocol.lua | HeladoDeBrownie/Nexus | c0bc3fe34b50bbb429eb73699bfd72dbc42aff2f | [
"MIT"
] | 114 | 2020-09-15T01:54:26.000Z | 2021-05-18T17:51:25.000Z | Modules/Network/Protocol.lua | HeladoDeBrownie/Nexus | c0bc3fe34b50bbb429eb73699bfd72dbc42aff2f | [
"MIT"
] | 1 | 2020-11-24T19:48:32.000Z | 2020-11-24T19:48:32.000Z | local NetworkProtocol = {}
--# Helpers
--## Renderers
local function render_hello_message(sprite_byte_string)
return ('HELLO %s'):format(sprite_byte_string)
end
local function render_welcome_message(origin)
return ('WELCOME %s'):format(origin)
end
local function render_place_message(x, y)
return ('PLAC... | 25.568345 | 91 | 0.658413 |
56d5a9e61ca016f989b065ea375c99d05bc5645a | 2,853 | go | Go | device/gpio/relay/relay.go | disaster37/go-arest | e3d25729875d7c4990f257049d5f3c3393d044e1 | [
"MIT"
] | null | null | null | device/gpio/relay/relay.go | disaster37/go-arest | e3d25729875d7c4990f257049d5f3c3393d044e1 | [
"MIT"
] | null | null | null | device/gpio/relay/relay.go | disaster37/go-arest | e3d25729875d7c4990f257049d5f3c3393d044e1 | [
"MIT"
] | null | null | null | package relay
import (
"github.com/disaster37/go-arest"
)
// Relay represent relay device
type Relay interface {
// On enable the relay output
On() (err error)
// Off disable the relay output
Off() (err error)
// State return the current relay state
State() (state State)
// OutputState return the current ... | 17.503067 | 119 | 0.654048 |
5672365f70a896cb7ba4e2e808ae289505f1406a | 891 | go | Go | vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/web/parse/function_app_slot.go | suhanime/installer | 9c8baf2f69c50a9d745d86f4784bdd6b426040af | [
"Apache-2.0"
] | 3 | 2021-03-03T17:50:29.000Z | 2022-03-04T16:25:57.000Z | vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/web/parse/function_app_slot.go | suhanime/installer | 9c8baf2f69c50a9d745d86f4784bdd6b426040af | [
"Apache-2.0"
] | 9 | 2021-03-10T18:24:13.000Z | 2021-05-27T21:58:26.000Z | vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/web/parse/function_app_slot.go | suhanime/installer | 9c8baf2f69c50a9d745d86f4784bdd6b426040af | [
"Apache-2.0"
] | 3 | 2020-05-28T11:02:15.000Z | 2021-03-16T13:23:04.000Z | package parse
import (
"fmt"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure"
)
type FunctionAppSlotResourceID struct {
ResourceGroup string
FunctionAppName string
Name string
}
func FunctionAppSlotID(input string) (*FunctionAppSlotResourceID, error) {
id, err := ... | 21.731707 | 91 | 0.689113 |
bfa5bbc413a9d4109af8bd5c41764e29f71a08c5 | 973 | asm | Assembly | data/templates/src/pe/exe/template_x64_windows.asm | OsmanDere/metasploit-framework | b7a014a5d22d3b57157e301d4af57e3a31ad03a9 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 26,932 | 2015-01-01T00:04:51.000Z | 2022-03-31T22:51:38.000Z | data/templates/src/pe/exe/template_x64_windows.asm | Kilo-411/metasploit-framework | aaf27d7fa51390895dea63c58cb3b76e959d36f8 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 11,048 | 2015-01-01T00:05:44.000Z | 2022-03-31T21:49:52.000Z | data/templates/src/pe/exe/template_x64_windows.asm | Kilo-411/metasploit-framework | aaf27d7fa51390895dea63c58cb3b76e959d36f8 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 12,593 | 2015-01-01T01:01:20.000Z | 2022-03-31T22:13:32.000Z | ; Author: Stephen Fewer (stephen_fewer[at]harmonysecurity[dot]com)
; Architecture: x64
;
; Assemble and link with the following command:
; "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\x86_amd64\ml64" template_x64_windows.asm /link /subsystem:windows /defaultlib:"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib... | 29.484848 | 214 | 0.655704 |
62ca2ed7f63ab1a58d64de032d246fb309480fa7 | 7,462 | lua | Lua | power_meters/mercury_230/firmware.lua | JDEnapter/marketplace | 2ca307ca785b6a453892d7b248b144755d63aa45 | [
"MIT"
] | null | null | null | power_meters/mercury_230/firmware.lua | JDEnapter/marketplace | 2ca307ca785b6a453892d7b248b144755d63aa45 | [
"MIT"
] | null | null | null | power_meters/mercury_230/firmware.lua | JDEnapter/marketplace | 2ca307ca785b6a453892d7b248b144755d63aa45 | [
"MIT"
] | null | null | null | function main()
local result_comm = rs485.init(9600, 8, 'N', 2)
if result_comm ~= 0 then
enapter.log("RS485 init failed: " .. rs485.err_to_str(result_comm), "error")
end
scheduler.add(30000, properties)
scheduler.add(1000, metrics)
end
function properties()
enapter.send_properties({vendor = "Mercury",... | 29.967871 | 99 | 0.676494 |
b95c6e0d2ea6c800b96ee5d94033fc15b085e9a1 | 1,654 | h | C | lean/header/lean/concurrent/semaphore.h | dgu123/lean-cpp-lib | e4698699a743e567f287f5592af0f23219657929 | [
"MIT"
] | null | null | null | lean/header/lean/concurrent/semaphore.h | dgu123/lean-cpp-lib | e4698699a743e567f287f5592af0f23219657929 | [
"MIT"
] | null | null | null | lean/header/lean/concurrent/semaphore.h | dgu123/lean-cpp-lib | e4698699a743e567f287f5592af0f23219657929 | [
"MIT"
] | null | null | null | /*****************************************************/
/* lean Concurrent (c) Tobias Zirr 2011 */
/*****************************************************/
#pragma once
#ifndef LEAN_CONCURRENT_SEMAPHORE
#define LEAN_CONCURRENT_SEMAPHORE
#include "../lean.h"
#include "../tags/noncopyable.h"
#incl... | 23.628571 | 121 | 0.64873 |
04a5c666b0b7fb655fbc20e8da635f99d2833a8a | 1,143 | java | Java | src/control/ControlNumpad.java | alkolhar/OST_Sudoku | 8419c889b0c3f73543b2f80d0e71c4ff55d415b3 | [
"MIT"
] | null | null | null | src/control/ControlNumpad.java | alkolhar/OST_Sudoku | 8419c889b0c3f73543b2f80d0e71c4ff55d415b3 | [
"MIT"
] | null | null | null | src/control/ControlNumpad.java | alkolhar/OST_Sudoku | 8419c889b0c3f73543b2f80d0e71c4ff55d415b3 | [
"MIT"
] | null | null | null | package control;
import java.util.EventListener;
import java.util.Hashtable;
import control.listener.ControlNumpadListener;
import enums.ListenerKey1D;
/**
* class for controlling the events concerning the numpad
*/
public class ControlNumpad {
private ControlNumpadListener[] listeners;
private final ControlMain ... | 25.4 | 82 | 0.72266 |
74b12893fcae6d5ddffb818dc44e559596d7ba07 | 1,791 | js | JavaScript | app/modules/modules/supporters.js | thehelvijs/Caffeinated | 387287df666cc554bbbe8c5bcf03b366896e78fe | [
"MIT"
] | 10 | 2020-04-21T01:06:04.000Z | 2021-04-23T14:00:33.000Z | app/modules/modules/supporters.js | thehelvijs/Caffeinated | 387287df666cc554bbbe8c5bcf03b366896e78fe | [
"MIT"
] | 7 | 2020-05-06T15:59:48.000Z | 2021-03-19T00:30:40.000Z | app/modules/modules/supporters.js | thehelvijs/Caffeinated | 387287df666cc554bbbe8c5bcf03b366896e78fe | [
"MIT"
] | 3 | 2020-05-15T05:22:10.000Z | 2020-10-04T22:49:47.000Z |
MODULES.uniqueModuleClasses["casterlabs_supporters"] = class {
constructor(id) {
this.namespace = "casterlabs_supporters";
this.displayname = "caffeinated.supporters.title";
this.type = "application";
this.id = id;
this.icon = "star";
this.persist = true;
}
... | 31.982143 | 265 | 0.521496 |
1658133e1d3513f4890fd1c1cd4e662d8c38b4e0 | 7,433 | ts | TypeScript | HTML5SharedGUI/SimulationViewer/Scripts/Spatial2DTableView.ts | Biological-Computation/crn-engine | a03387ff9c7042339dc54cf3c7177955e924e6d3 | [
"MIT"
] | 10 | 2021-09-27T10:13:27.000Z | 2021-11-19T06:45:34.000Z | HTML5SharedGUI/SimulationViewer/Scripts/Spatial2DTableView.ts | Biological-Computation/crn-engine | a03387ff9c7042339dc54cf3c7177955e924e6d3 | [
"MIT"
] | 3 | 2022-03-09T14:19:05.000Z | 2022-03-21T18:18:32.000Z | HTML5SharedGUI/SimulationViewer/Scripts/Spatial2DTableView.ts | microsoft/crn-engine | 2d470206e8929e5719d473919e926c4d536d181a | [
"MIT"
] | 3 | 2021-09-27T10:13:57.000Z | 2021-10-09T13:30:05.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// (FP) This file implements the table view (specifically for simulation results). Note that this does not implement the actual table: it makes use of the table component that's implemented in KnockoutGrid.js (found in HTML5SharedGUI).
import ... | 36.258537 | 235 | 0.597471 |
b6be2556d0722653e7e9f2a36fbe3ba04028fbc9 | 361 | rb | Ruby | db/migrate/20191220085352_create_compose_projects.rb | yunbowang328/gitlink | 4fa10a3683f8079ac877fa2b12b0ab767164f30f | [
"MulanPSL-1.0"
] | null | null | null | db/migrate/20191220085352_create_compose_projects.rb | yunbowang328/gitlink | 4fa10a3683f8079ac877fa2b12b0ab767164f30f | [
"MulanPSL-1.0"
] | null | null | null | db/migrate/20191220085352_create_compose_projects.rb | yunbowang328/gitlink | 4fa10a3683f8079ac877fa2b12b0ab767164f30f | [
"MulanPSL-1.0"
] | null | null | null | class CreateComposeProjects < ActiveRecord::Migration[5.2]
def change
# create_table :compose_projects do |t|
# t.integer :user_id
# t.integer :project_id
# t.integer :compose_id
# t.integer :position , default: 0
#
# t.timestamps
# end
# add_index :compose_projects, [:user... | 25.785714 | 71 | 0.65374 |
86391661ff4fc90157132c5c386cfe48c7c20bba | 8,977 | go | Go | data/types/insulin/concentration_test.go | mdblp/platform | e4b64e58e4aa26a2d43ba4f1013b4038828d7750 | [
"BSD-2-Clause"
] | 27 | 2016-04-14T01:02:58.000Z | 2022-01-27T05:07:55.000Z | data/types/insulin/concentration_test.go | tidepool-org/platform | b4bfe923daa083642d4778795734fd8906e1d048 | [
"BSD-2-Clause"
] | 423 | 2015-12-13T23:20:53.000Z | 2022-03-10T14:57:58.000Z | data/types/insulin/concentration_test.go | mdblp/platform | e4b64e58e4aa26a2d43ba4f1013b4038828d7750 | [
"BSD-2-Clause"
] | 9 | 2015-12-11T01:03:49.000Z | 2019-08-29T15:33:13.000Z | package insulin_test
import (
"math"
. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/extensions/table"
. "github.com/onsi/gomega"
dataNormalizer "github.com/tidepool-org/platform/data/normalizer"
"github.com/tidepool-org/platform/data/types/insulin"
dataTypesInsulinTest "github.com/tidepool-org/platform/... | 37.404167 | 122 | 0.687312 |
bf38abd328d7349d215cb9fe31280ed077ee6b80 | 5,824 | sql | SQL | Databases/Set-FKConstraints.sql | reubensultana/DBAScripts | 5ffae3a1d46bd72aae0cc390c16d8a888fe58928 | [
"MIT"
] | 2 | 2021-11-12T13:22:47.000Z | 2022-03-04T09:33:47.000Z | Databases/Set-FKConstraints.sql | reubensultana/DBAScripts | 5ffae3a1d46bd72aae0cc390c16d8a888fe58928 | [
"MIT"
] | null | null | null | Databases/Set-FKConstraints.sql | reubensultana/DBAScripts | 5ffae3a1d46bd72aae0cc390c16d8a888fe58928 | [
"MIT"
] | 2 | 2018-11-23T18:12:44.000Z | 2020-10-12T05:50:23.000Z | /* Source: https://github.com/reubensultana/DBAScripts/blob/master/Databases/Set-FKConstraints.sql */
-- Enable, Disable, Drop and Recreate FKs based on Primary Key table
-- Written 2007-11-18
-- Edgewood Solutions / MSSQLTips.com
-- Works for SQL Server 2005
SET NOCOUNT ON
DECLARE @operation VARCHAR(10)
DECLA... | 31.311828 | 101 | 0.580872 |
71ef26647facd3305caf0c9a73dcea7a8def2f13 | 56,619 | swift | Swift | EasyGameCenter.swift | psmejkal/Easy-Game-Center-Swift | 33414d0aaea1fe2f936514d15dca3d1795e70829 | [
"MIT"
] | null | null | null | EasyGameCenter.swift | psmejkal/Easy-Game-Center-Swift | 33414d0aaea1fe2f936514d15dca3d1795e70829 | [
"MIT"
] | null | null | null | EasyGameCenter.swift | psmejkal/Easy-Game-Center-Swift | 33414d0aaea1fe2f936514d15dca3d1795e70829 | [
"MIT"
] | null | null | null | //
// GameCenter.swift
//
// Created by Yannick Stephan DaRk-_-D0G on 19/12/2014.
// YannickStephan.com
//
// iOS 7.0+ & iOS 8.0+ & iOS 9.0+ & TvOS 9.0+
//
// The MIT License (MIT)
// Copyright (c) 2015 Red Wolf Studio & Yannick Stephan
// http://www.redwolfstudio.fr
// http://yannickstephan.com
// Version 2.3 ... | 36.364162 | 265 | 0.529893 |
dd841d372155e054c075c44ed9d2c7b851501d51 | 1,011 | php | PHP | web/profiles/opigno_lms/modules/contrib/entity_print/src/Renderer/RendererFactory.php | andyhawks/cmcschools-d8 | 83efdc42e4262f4cc4164cb07efbaf577a0e1f04 | [
"MIT"
] | null | null | null | web/profiles/opigno_lms/modules/contrib/entity_print/src/Renderer/RendererFactory.php | andyhawks/cmcschools-d8 | 83efdc42e4262f4cc4164cb07efbaf577a0e1f04 | [
"MIT"
] | 4 | 2020-04-07T06:37:51.000Z | 2022-03-26T07:01:46.000Z | web/profiles/opigno_lms/modules/contrib/entity_print/src/Renderer/RendererFactory.php | andyhawks/cmcschools-d8 | 83efdc42e4262f4cc4164cb07efbaf577a0e1f04 | [
"MIT"
] | null | null | null | <?php
namespace Drupal\entity_print\Renderer;
use Drupal\Core\Entity\EntityInterface;
use Drupal\entity_print\PrintEngineException;
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
/**
* The RendererFactory class.
*/
class RendererFactory implements RendererFactoryInterface {
use ContainerAwareTra... | 28.885714 | 166 | 0.714144 |
bfe10b241c59ac21cee0dc5fa358ae3f0720bf21 | 688 | rs | Rust | src/board.rs | Robotics-BUT/DCMotor-firmware | ac88b29e103717a73370015dfe0f3ce805ea8998 | [
"MIT"
] | null | null | null | src/board.rs | Robotics-BUT/DCMotor-firmware | ac88b29e103717a73370015dfe0f3ce805ea8998 | [
"MIT"
] | null | null | null | src/board.rs | Robotics-BUT/DCMotor-firmware | ac88b29e103717a73370015dfe0f3ce805ea8998 | [
"MIT"
] | null | null | null | use stm32f0xx_hal::gpio::gpioa::*;
use stm32f0xx_hal::gpio::gpiob::*;
use stm32f0xx_hal::gpio::{Alternate, Output, PushPull, AF1, AF2, AF4};
use stm32f0xx_hal::stm32;
pub type PWM1P = PA8<Alternate<AF2>>;
pub type PWM1N = PB13<Alternate<AF2>>;
pub type PWM2P = PA9<Alternate<AF2>>;
pub type PWM2N = PB14<Alternate<AF2>>... | 32.761905 | 70 | 0.71657 |
c36829716665f6be9c7dfb9aacf6b9be8642d242 | 1,514 | go | Go | cmd/examples/firespiral/main.go | johnfercher/taleslab | 40a3e2a25dc531ec576d5b55acf1ca31c99c0f5b | [
"MIT"
] | 10 | 2021-04-24T04:32:05.000Z | 2021-06-02T14:03:03.000Z | cmd/examples/firespiral/main.go | johnfercher/taleslab | 40a3e2a25dc531ec576d5b55acf1ca31c99c0f5b | [
"MIT"
] | 11 | 2021-05-01T18:44:00.000Z | 2021-05-09T22:31:40.000Z | cmd/examples/firespiral/main.go | johnfercher/taleslab | 40a3e2a25dc531ec576d5b55acf1ca31c99c0f5b | [
"MIT"
] | 1 | 2021-04-26T01:49:01.000Z | 2021-04-26T01:49:01.000Z | package main
import (
"fmt"
"github.com/johnfercher/taleslab/internal/bytecompressor"
"github.com/johnfercher/taleslab/internal/talespireadapter/talespirecoder"
"github.com/johnfercher/taleslab/pkg/taleslab/taleslabdomain/taleslabentities"
"github.com/johnfercher/taleslab/pkg/taleslab/taleslabmappers"
"github.co... | 22.264706 | 79 | 0.72325 |
2e86067cbd23fe1cd133fbee7263609da8c8add0 | 5,742 | swift | Swift | Example/JKSwiftExtension/Class/UIKitExtensionViewController/Controller/UIControlExtensionViewController.swift | lilin87788/JKSwiftExtension | 096cb83699a7736ef3aa7ee67cd1dc1597eb5a02 | [
"Apache-2.0"
] | null | null | null | Example/JKSwiftExtension/Class/UIKitExtensionViewController/Controller/UIControlExtensionViewController.swift | lilin87788/JKSwiftExtension | 096cb83699a7736ef3aa7ee67cd1dc1597eb5a02 | [
"Apache-2.0"
] | null | null | null | Example/JKSwiftExtension/Class/UIKitExtensionViewController/Controller/UIControlExtensionViewController.swift | lilin87788/JKSwiftExtension | 096cb83699a7736ef3aa7ee67cd1dc1597eb5a02 | [
"Apache-2.0"
] | null | null | null | //
// UIControlExtensionViewController.swift
// JKSwiftExtension_Example
//
// Created by IronMan on 2020/11/9.
// Copyright © 2020 CocoaPods. All rights reserved.
//
import UIKit
class UIControlExtensionViewController: BaseViewController {
override func viewDidLoad() {
super.viewDidLoad()
... | 32.811429 | 164 | 0.577325 |
da6ec1ed5f8ab9ba4a9bda6d9fff4f4d99d43e43 | 4,568 | lua | Lua | Data/Scripts/AI/SpaceMode/SpaceScout.lua | UEaWDevTeam/ultimate-empire-at-war | e6a874d6d7f2c84c4c4b2eb8e508d7fff8e645b9 | [
"CC-BY-3.0"
] | null | null | null | Data/Scripts/AI/SpaceMode/SpaceScout.lua | UEaWDevTeam/ultimate-empire-at-war | e6a874d6d7f2c84c4c4b2eb8e508d7fff8e645b9 | [
"CC-BY-3.0"
] | null | null | null | Data/Scripts/AI/SpaceMode/SpaceScout.lua | UEaWDevTeam/ultimate-empire-at-war | e6a874d6d7f2c84c4c4b2eb8e508d7fff8e645b9 | [
"CC-BY-3.0"
] | null | null | null | --[[
The contents of this file are subject to the Common Public Attribution
License Version 1.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://ultimate-empire-at-war.com/cpal. The License is based on the Mozilla
Public License Versio... | 40.070175 | 119 | 0.468914 |
85bc7d881eb880e0325f016a48abaf8b775e846d | 1,335 | js | JavaScript | back/model.js | tigran-bayburtsyan/oneday | e293b371c2f782468a7fde3e1ad9a0c9f51f1174 | [
"MIT"
] | null | null | null | back/model.js | tigran-bayburtsyan/oneday | e293b371c2f782468a7fde3e1ad9a0c9f51f1174 | [
"MIT"
] | null | null | null | back/model.js | tigran-bayburtsyan/oneday | e293b371c2f782468a7fde3e1ad9a0c9f51f1174 | [
"MIT"
] | null | null | null | /**
* Created by tigran on 7/20/15.
*/
var mongoose = require('mongoose')
, Schema = mongoose.Schema;
mongoose.connect('mongodb://localhost/oneday');
var Country = mongoose.model("Country", {
name: String,
code: String,
// TODO: Add some additional fields to describe country
});
var City = mongoose... | 29.021739 | 67 | 0.629963 |
6b4a9769f89dda21439c6562f9a6ff41bc493c33 | 1,083 | htm | HTML | Teensy41/src/home.htm | lovettchris/SmartGarden | fd2e06102548ffeac80f8fc0dffc84767f778938 | [
"MIT"
] | null | null | null | Teensy41/src/home.htm | lovettchris/SmartGarden | fd2e06102548ffeac80f8fc0dffc84767f778938 | [
"MIT"
] | null | null | null | Teensy41/src/home.htm | lovettchris/SmartGarden | fd2e06102548ffeac80f8fc0dffc84767f778938 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML>
<html>
<meta name='viewport' content='width=device-width, minimum-scale=1.0, maximum-scale=1.0' />
<style>
body { background-color: #1E1E1E; color: #D4D4D4;}
button { min-width:80px; min-height:30px; -webkit-appearence: button; padding: 5px;}
.big { font-size:48pt; border-style: solid; border-width: ... | 27.075 | 102 | 0.65928 |
fb9f0cbbf4ae1ee8b360094ce052e1d339ad9b83 | 726 | lua | Lua | Script/Lua/ui/ui_util.lua | gitter-badger/ZeloEngine | 22a15783d58a9c1d5b2bad30d1544f13ac07ce2b | [
"MIT"
] | 98 | 2019-09-13T16:00:57.000Z | 2022-03-25T05:15:36.000Z | Script/Lua/ui/ui_util.lua | gitter-badger/ZeloEngine | 22a15783d58a9c1d5b2bad30d1544f13ac07ce2b | [
"MIT"
] | 269 | 2019-08-22T01:47:09.000Z | 2021-12-01T14:47:47.000Z | Script/Lua/ui/ui_util.lua | gitter-badger/ZeloEngine | 22a15783d58a9c1d5b2bad30d1544f13ac07ce2b | [
"MIT"
] | 5 | 2021-05-07T11:11:40.000Z | 2022-03-29T08:38:33.000Z | -- ui_util
-- created on 2021/8/24
-- author @zoloypzuo
function ParseFlags(enumTable, flag)
local names = {}
for name, val in pairs(enumTable) do
if bit.band(flag, val) ~= 0 then
names[#names + 1] = name
end
end
return names
end
function GenFlagFromTable(imguiFlags, setting... | 22 | 55 | 0.553719 |
05abda051465ec58445bc5e8e24a49ef1f9be888 | 19 | asm | Assembly | src/main/fragment/mos6502-common/vwum1=vbuyy_word_vbuxx.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/main/fragment/mos6502-common/vwum1=vbuyy_word_vbuxx.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/main/fragment/mos6502-common/vwum1=vbuyy_word_vbuxx.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | sty {m1}+1
stx {m1} | 9.5 | 10 | 0.578947 |
145c50978f8c398db72f002c4e688a61a40a0959 | 852 | swift | Swift | SmartColony/Nodes/TouchableSpriteNode.swift | mrommel/Colony | 7cd79957baffa56e098324eef7ed8a8bf6e33644 | [
"MIT"
] | 9 | 2020-03-10T05:22:09.000Z | 2022-02-08T09:53:43.000Z | SmartColony/Nodes/TouchableSpriteNode.swift | mrommel/Colony | 7cd79957baffa56e098324eef7ed8a8bf6e33644 | [
"MIT"
] | 117 | 2020-07-20T11:28:07.000Z | 2022-03-31T18:51:17.000Z | SmartColony/Nodes/TouchableSpriteNode.swift | mrommel/Colony | 7cd79957baffa56e098324eef7ed8a8bf6e33644 | [
"MIT"
] | null | null | null | //
// TouchableSpriteNode.swift
// SmartColony
//
// Created by Michael Rommel on 04.04.20.
// Copyright © 2020 Michael Rommel. All rights reserved.
//
import SpriteKit
protocol TouchableDelegate: class {
func clicked(on identifier: String)
}
class TouchableSpriteNode: SKSpriteNode {
var touchHandler: ... | 23.666667 | 79 | 0.660798 |
134dfe2a918da567786cd48d5a70082588b58500 | 632 | c | C | C/myPrintf/mpfMain.c | afatom/core-program | 7886acf67f6b81bd06edef41f6ddab83cc993927 | [
"MIT"
] | null | null | null | C/myPrintf/mpfMain.c | afatom/core-program | 7886acf67f6b81bd06edef41f6ddab83cc993927 | [
"MIT"
] | null | null | null | C/myPrintf/mpfMain.c | afatom/core-program | 7886acf67f6b81bd06edef41f6ddab83cc993927 | [
"MIT"
] | null | null | null | #include "mpf.h"
#include <string.h> /*string manpulation functions*/
#include <stdio.h> /*puts func*/
#include <stdarg.h>
int main (int argc, char* argv[])
{
int numOfChars1, numOfChars2;
char str[7]="adham";
char sstr[25] = "C language Programming";
double f = 100000.212;
int x = 32;
numO... | 28.727273 | 116 | 0.620253 |
7ac5497bd1ad6150f8d0bf91764410a776e3f0a5 | 484 | rb | Ruby | test/helper.rb | h3h/serum | 119534c35569a209650ebf4dc2b9b3716571e4cb | [
"MIT"
] | 1 | 2015-01-30T16:36:18.000Z | 2015-01-30T16:36:18.000Z | test/helper.rb | h3h/serum | 119534c35569a209650ebf4dc2b9b3716571e4cb | [
"MIT"
] | null | null | null | test/helper.rb | h3h/serum | 119534c35569a209650ebf4dc2b9b3716571e4cb | [
"MIT"
] | null | null | null | require 'rubygems'
require 'test/unit'
require 'serum'
require 'redgreen' if RUBY_VERSION < '1.9'
require 'shoulda'
require 'rr'
include Serum
# Send STDERR into the void to suppress program output messages
STDERR.reopen(test(?e, '/dev/null') ? '/dev/null' : 'NUL:')
class Test::Unit::TestCase
include RR::Adapter... | 17.925926 | 63 | 0.706612 |
4985fbb0b5241d37cf3127201ecb3628ed086786 | 1,356 | html | HTML | _jobs/other-teachers-and-instructors.html | LesterGallagher/salary-comparison | d6f7bba18575bc6b04c2eb1fe2245d3ec1f1015b | [
"CC-BY-4.0"
] | null | null | null | _jobs/other-teachers-and-instructors.html | LesterGallagher/salary-comparison | d6f7bba18575bc6b04c2eb1fe2245d3ec1f1015b | [
"CC-BY-4.0"
] | null | null | null | _jobs/other-teachers-and-instructors.html | LesterGallagher/salary-comparison | d6f7bba18575bc6b04c2eb1fe2245d3ec1f1015b | [
"CC-BY-4.0"
] | null | null | null | ---
occupation_code: 25-3000
occupation_title: Other Teachers and Instructors
level: minor
employment: 1,204,930
employment_rse: 0.9%
employment_per_jobs: "8.453"
median_hourly_wage: $15.60
mean_hourly_wage: $18.89
annual_mean_wage: $39,290
mean_wage_rse: 0.7%
parent:
title: Education, Training, and Library Occupatio... | 37.666667 | 89 | 0.784661 |
9164bea21eba985dd79272b6ede26c125444d531 | 14,201 | html | HTML | 2-resources/BLOG/ciriculumn/Extra/html-files/media-queries.html | impastasyndrome/Lambda-Resource-Static-Assets | 7070672038620d29844991250f2476d0f1a60b0a | [
"MIT"
] | null | null | null | 2-resources/BLOG/ciriculumn/Extra/html-files/media-queries.html | impastasyndrome/Lambda-Resource-Static-Assets | 7070672038620d29844991250f2476d0f1a60b0a | [
"MIT"
] | null | null | null | 2-resources/BLOG/ciriculumn/Extra/html-files/media-queries.html | impastasyndrome/Lambda-Resource-Static-Assets | 7070672038620d29844991250f2476d0f1a60b0a | [
"MIT"
] | 1 | 2021-11-05T07:48:26.000Z | 2021-11-05T07:48:26.000Z | <h1 id="media-queries">Media Queries</h1>
<h3 id="projected-time">Projected Time</h3>
<p>45-60 minutes</p>
<ul>
<li>20-30 min interactive lesson</li>
<li>10-15 min for independent practice</li>
<li>20-30 min check for understanding</li>
</ul>
<h3 id="prerequisites">Prerequisites</h3>
<ul>
<li><a href="/web/html.md">HTM... | 88.204969 | 883 | 0.715372 |
0f00d32165a03e49168ca5bc94cab3adc32fe0be | 193 | kt | Kotlin | app/src/main/java/io/redgreen/benchpress/hellostranger/HelloStrangerEvent.kt | Aryan210/bench-mark | 51335bba348794403cca58d0aa9bcea224daeb8b | [
"Apache-2.0"
] | null | null | null | app/src/main/java/io/redgreen/benchpress/hellostranger/HelloStrangerEvent.kt | Aryan210/bench-mark | 51335bba348794403cca58d0aa9bcea224daeb8b | [
"Apache-2.0"
] | null | null | null | app/src/main/java/io/redgreen/benchpress/hellostranger/HelloStrangerEvent.kt | Aryan210/bench-mark | 51335bba348794403cca58d0aa9bcea224daeb8b | [
"Apache-2.0"
] | null | null | null | package io.redgreen.benchpress.hellostranger
sealed class HelloStrangerEvent
data class EnterNameEvent(val name : String) : HelloStrangerEvent()
object DeleteNameEvent : HelloStrangerEvent() | 27.571429 | 67 | 0.839378 |
899378847bf54d999d34bb903918bfc0fd073207 | 1,182 | kt | Kotlin | app/src/main/java/com/gram/pictory/adapter/FeedAdapter.kt | notmyfault02/Pictory_Master | 503ee703d906ee61c90ac737f3cfad86d662c20d | [
"MIT"
] | 1 | 2019-10-25T10:41:07.000Z | 2019-10-25T10:41:07.000Z | app/src/main/java/com/gram/pictory/adapter/FeedAdapter.kt | notmyfault02/Pictory_Master | 503ee703d906ee61c90ac737f3cfad86d662c20d | [
"MIT"
] | 1 | 2019-06-11T16:43:26.000Z | 2019-09-14T14:17:38.000Z | app/src/main/java/com/gram/pictory/adapter/FeedAdapter.kt | notmyfault02/Pictory_Master | 503ee703d906ee61c90ac737f3cfad86d662c20d | [
"MIT"
] | 1 | 2019-05-09T12:49:02.000Z | 2019-05-09T12:49:02.000Z | package com.gram.pictory.adapter
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.ViewGroup
import com.gram.pictory.databinding.ItemFeedRecyclerviewBinding
import com.gram.pictory.model.FeedModel
import com.gram.pictory.ui.main.feed.FeedViewModel
class FeedAdapter(v... | 35.818182 | 114 | 0.71912 |
ddb950564ba8cec4ae1bee6e2b75c4776c2173e9 | 816 | php | PHP | resources/views/home.blade.php | FSPZ/Perpustakaan | 9dfa5975f321eb826d9457e8c6e3c106bb34016b | [
"MIT"
] | null | null | null | resources/views/home.blade.php | FSPZ/Perpustakaan | 9dfa5975f321eb826d9457e8c6e3c106bb34016b | [
"MIT"
] | null | null | null | resources/views/home.blade.php | FSPZ/Perpustakaan | 9dfa5975f321eb826d9457e8c6e3c106bb34016b | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
<div class="home">
<style>
html, body {
background-image: url("https://static.republika.co.id/uploads/images/inpicture_slide/buku_200723162025-452.jpg");
background-size: 100% 100%;
color: #636b6f;
... | 30.222222 | 129 | 0.487745 |
43b2e56bbae6502f8a13955cb8f81b67784090a5 | 1,495 | go | Go | test/e2e/controller_plugins_test.go | hcp-sre-cq/argo-workflows | 2680956ffc06404988dce3cc9307c725a5609eed | [
"Apache-2.0"
] | null | null | null | test/e2e/controller_plugins_test.go | hcp-sre-cq/argo-workflows | 2680956ffc06404988dce3cc9307c725a5609eed | [
"Apache-2.0"
] | null | null | null | test/e2e/controller_plugins_test.go | hcp-sre-cq/argo-workflows | 2680956ffc06404988dce3cc9307c725a5609eed | [
"Apache-2.0"
] | null | null | null | //go:build plugins
// +build plugins
package e2e
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
wfv1 "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1"
"github.com/argoproj/argo-workflows/v3/test/e2e/fix... | 26.22807 | 84 | 0.744482 |
0c4e89cc27333630ebd2fa00c3198a2cb03eba20 | 667 | lua | Lua | resources/[qb]/qb-policejob/fxmanifest.lua | p4zinee/server-data | b523650fc4b5a3465c7ffc1dde7330a16bb62d05 | [
"CC0-1.0"
] | 1 | 2022-01-05T15:17:06.000Z | 2022-01-05T15:17:06.000Z | resources/[qb]/qb-policejob/fxmanifest.lua | p4zinee/server-data | b523650fc4b5a3465c7ffc1dde7330a16bb62d05 | [
"CC0-1.0"
] | null | null | null | resources/[qb]/qb-policejob/fxmanifest.lua | p4zinee/server-data | b523650fc4b5a3465c7ffc1dde7330a16bb62d05 | [
"CC0-1.0"
] | null | null | null | fx_version 'cerulean'
game 'gta5'
description 'QB-PoliceJob'
version '1.0.0'
shared_script {
'config.lua',
'@qb-core/import.lua'
}
client_scripts {
'client/main.lua',
'client/camera.lua',
'client/interactions.lua',
'client/job.lua',
'client/gui.lua',
'client/heli.lua',
--'client/anpr.lua',
'client/evidenc... | 14.822222 | 31 | 0.685157 |
2c7bb952966b2a8c8b9472d9920de28bbc6a5c8c | 135 | swift | Swift | first_project/Model/User.swift | tk-daisuke/swift_ui_halloworld | 301559244f9b75f174bede4e76d0487d85dd2929 | [
"MIT"
] | null | null | null | first_project/Model/User.swift | tk-daisuke/swift_ui_halloworld | 301559244f9b75f174bede4e76d0487d85dd2929 | [
"MIT"
] | null | null | null | first_project/Model/User.swift | tk-daisuke/swift_ui_halloworld | 301559244f9b75f174bede4e76d0487d85dd2929 | [
"MIT"
] | null | null | null | //
// User.swift
// first_project
//
// Created by 佐藤 大輔 on 2021/12/19.
//
import Foundation
struct User {
var name: String
}
| 10.384615 | 35 | 0.622222 |
5fd91b1892045b15c4b50961dfd43ffc9c045864 | 311 | sql | SQL | src/main/resources/db/migration/V06__create_bloqueio.sql | MarciaMartins/orange-talents-06-template-proposta | 3c979e32eb9fd4c5e608d0d679b38429b75cea73 | [
"Apache-2.0"
] | 1 | 2021-07-23T22:10:53.000Z | 2021-07-23T22:10:53.000Z | src/main/resources/db/migration/V06__create_bloqueio.sql | MarciaMartins/orange-talents-06-template-proposta | 3c979e32eb9fd4c5e608d0d679b38429b75cea73 | [
"Apache-2.0"
] | null | null | null | src/main/resources/db/migration/V06__create_bloqueio.sql | MarciaMartins/orange-talents-06-template-proposta | 3c979e32eb9fd4c5e608d0d679b38429b75cea73 | [
"Apache-2.0"
] | null | null | null | CREATE TABLE bloqueio(
id BIGINT(20) PRIMARY KEY AUTO_INCREMENT,
codigo_proposta BIGINT(20),
IP VARCHAR(200),
criacao datetime not null
) ENGINE=InnoDB DEFAULT charset=utf8;
ALTER TABLE `bloqueio` ADD CONSTRAINT `fk_codigo_cartao_bloqueio` FOREIGN KEY ( `codigo_proposta` )
REFERENCES `proposta` ( `id` ); | 34.555556 | 100 | 0.77492 |
1691d954564578a88feede8aeb8fdc164034aa47 | 533 | ts | TypeScript | src/AppModule/app.module.ts | HelloThien/DADN | e8d2ef1d5deb5df902f311060feff8752b520e9f | [
"MIT"
] | null | null | null | src/AppModule/app.module.ts | HelloThien/DADN | e8d2ef1d5deb5df902f311060feff8752b520e9f | [
"MIT"
] | null | null | null | src/AppModule/app.module.ts | HelloThien/DADN | e8d2ef1d5deb5df902f311060feff8752b520e9f | [
"MIT"
] | null | null | null | import { MongoModule } from '../mongo';
import { Module } from '@nestjs/common';
import { AppController } from './controllers';
import { AppService } from './services'
import { CommonModule } from '../common';
import { MQTTModule } from '../mqtt';
import { AppRepository } from './repositories';
import { AuthModu... | 35.533333 | 64 | 0.673546 |
70f38a7244641bfb5ab49cd2619d66bc39dd7284 | 830 | go | Go | 092.reverse-linked-list-ii/solution.go | ZacharyChang/leetcode | 82090587c7b9a943989e1a8120d46057583d5b7f | [
"MIT"
] | 1 | 2018-03-14T12:38:00.000Z | 2018-03-14T12:38:00.000Z | 092.reverse-linked-list-ii/solution.go | ZacharyChang/leetcode | 82090587c7b9a943989e1a8120d46057583d5b7f | [
"MIT"
] | 2 | 2020-03-09T02:46:02.000Z | 2022-02-11T03:02:00.000Z | 092.reverse-linked-list-ii/solution.go | ZacharyChang/leetcode | 82090587c7b9a943989e1a8120d46057583d5b7f | [
"MIT"
] | null | null | null | package leetcode
/**
* Definition for singly-linked list.
*
*/
type ListNode struct {
Val int
Next *ListNode
}
func reverseBetween(head *ListNode, m int, n int) *ListNode {
if m == n {
return head
}
count := 0
cur := head
var start, end, pre, after *ListNode
for cur != nil {
count++
if count < m {
... | 15.090909 | 61 | 0.615663 |
a189ab0a9a5289071c297e46006d8d454e4b98aa | 2,862 | asm | Assembly | programs/oeis/214/A214944.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/214/A214944.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/214/A214944.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A214944: Number of squarefree words of length 5 in an (n+1)-ary alphabet.
; 0,30,264,1140,3480,8610,18480,35784,64080,107910,172920,265980,395304,570570,803040,1105680,1493280,1982574,2592360,3343620,4259640,5366130,6691344,8266200,10124400,12302550,14840280,17780364,21168840,25055130,29492160,34536480,40248384,46692... | 52.036364 | 2,313 | 0.837876 |
fb6d1ec77614013dda226744412a80ebcbe903c6 | 268 | java | Java | leylines/src/main/java/oxy/leylines/item/ItemMaterial.java | oxyCabhru/leylines | 44dfc5fce5d7c9ec715db2e3684b8b768d457e02 | [
"MIT"
] | null | null | null | leylines/src/main/java/oxy/leylines/item/ItemMaterial.java | oxyCabhru/leylines | 44dfc5fce5d7c9ec715db2e3684b8b768d457e02 | [
"MIT"
] | null | null | null | leylines/src/main/java/oxy/leylines/item/ItemMaterial.java | oxyCabhru/leylines | 44dfc5fce5d7c9ec715db2e3684b8b768d457e02 | [
"MIT"
] | null | null | null | package oxy.leylines.item;
public class ItemMaterial extends ItemBase {
private String name; private final double source = 100;
public ItemMaterial(String name) {
super(name);
}
public double getSource() {
return this.source;
}
}
| 20.615385 | 59 | 0.664179 |