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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bd4cd9511cdbaa21beceacf38a8b8caddc8a0663 | 3,898 | kt | Kotlin | src/main/kotlin/com/ybznek/searchTree/SearchTree.kt | ybznek/searchtree | 14e67d0cd300b92116f2969a154e5c3d4798c24e | [
"MIT"
] | null | null | null | src/main/kotlin/com/ybznek/searchTree/SearchTree.kt | ybznek/searchtree | 14e67d0cd300b92116f2969a154e5c3d4798c24e | [
"MIT"
] | null | null | null | src/main/kotlin/com/ybznek/searchTree/SearchTree.kt | ybznek/searchtree | 14e67d0cd300b92116f2969a154e5c3d4798c24e | [
"MIT"
] | null | null | null | package com.ybznek.searchTree
import com.ybznek.searchTree.node.Node
import java.lang.Integer.max
import java.lang.Integer.min
/**
* Allows to search multiple strings in one large string
*/
abstract class SearchTree<V : Any> {
data class ValueWithKey<V>(
/**
* Search key
*/
va... | 26.882759 | 125 | 0.528989 |
afc87f48744cac8e1357e880e89901d775182ca1 | 9,995 | html | HTML | week4/w04_01_bootstrap_essentials/index.html | Roshika753/website-bootcamp | 66ef0c859648d198fd1fa2bbaebb5aaef3c2291d | [
"MIT"
] | 2 | 2020-12-29T10:18:43.000Z | 2021-02-18T09:41:46.000Z | week4/w04_01_bootstrap_essentials/index.html | Roshika753/website-bootcamp | 66ef0c859648d198fd1fa2bbaebb5aaef3c2291d | [
"MIT"
] | 3 | 2020-12-18T12:52:08.000Z | 2021-01-03T10:30:45.000Z | week4/w04_01_bootstrap_essentials/index.html | Roshika753/website-bootcamp | 66ef0c859648d198fd1fa2bbaebb5aaef3c2291d | [
"MIT"
] | 13 | 2020-12-14T11:52:52.000Z | 2021-06-08T14:07:16.000Z | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Week 04 - Bootstrap Architecture</title>
<!-- Bootstrap 4 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" inte... | 35.953237 | 212 | 0.576488 |
2dcd0f45a0ebe7b4139fa56d7ef467e132c5e5a6 | 4,413 | html | HTML | files/en-us/web/api/rtcicecandidate/relatedport/index.html | RahulWeb12/content | 6afb9b44a1dc6a0856fd637d7f43ff11c68cf1d5 | [
"RSA-MD",
"Linux-OpenIB",
"CECILL-B"
] | 1 | 2021-09-03T19:04:00.000Z | 2021-09-03T19:04:00.000Z | files/en-us/web/api/rtcicecandidate/relatedport/index.html | RahulWeb12/content | 6afb9b44a1dc6a0856fd637d7f43ff11c68cf1d5 | [
"RSA-MD",
"Linux-OpenIB",
"CECILL-B"
] | null | null | null | files/en-us/web/api/rtcicecandidate/relatedport/index.html | RahulWeb12/content | 6afb9b44a1dc6a0856fd637d7f43ff11c68cf1d5 | [
"RSA-MD",
"Linux-OpenIB",
"CECILL-B"
] | null | null | null | ---
title: RTCIceCandidate.relatedPort
slug: Web/API/RTCIceCandidate/relatedPort
tags:
- API
- Address
- Candidate
- ICE
- IP
- Media
- Property
- RTCIceCandidate
- Reference
- SDP
- WebRTC
- WebRTC API
- relatedPort
browser-compat: api.RTCIceCandidate.relatedPort
---
<div>{{APIRef("WebRTC")}}... | 40.118182 | 134 | 0.711987 |
ebe6a6a5b20aab71d758e04c16364ba650208342 | 6,998 | kt | Kotlin | app/src/main/java/com/phaggu/filetracker/camera/Camera.kt | DepPhil/File-Tracker | cfc448a02d1d6444f1df4c1767bae9d4e036ac83 | [
"MIT"
] | null | null | null | app/src/main/java/com/phaggu/filetracker/camera/Camera.kt | DepPhil/File-Tracker | cfc448a02d1d6444f1df4c1767bae9d4e036ac83 | [
"MIT"
] | null | null | null | app/src/main/java/com/phaggu/filetracker/camera/Camera.kt | DepPhil/File-Tracker | cfc448a02d1d6444f1df4c1767bae9d4e036ac83 | [
"MIT"
] | null | null | null | package com.phaggu.filetracker.camera
import android.Manifest
import android.app.Activity
import android.content.Context
import android.content.pm.PackageManager
import androidx.camera.core.*
import androidx.camera.core.Camera
import androidx.camera.core.ImageCapture.CAPTURE_MODE_MINIMIZE_LATENCY
import androidx.camer... | 37.223404 | 111 | 0.620749 |
30afaaec72791c11c17e75c419d1f1de23f74786 | 1,189 | lua | Lua | packages/o/optix/xmake.lua | ImperatorS79/xmake-repo | b4cee6bcb2f8ff1ce9ab1dc1d6acccefe65f5304 | [
"Apache-2.0"
] | 241 | 2019-02-08T09:00:49.000Z | 2022-03-31T08:46:56.000Z | packages/o/optix/xmake.lua | ImperatorS79/xmake-repo | b4cee6bcb2f8ff1ce9ab1dc1d6acccefe65f5304 | [
"Apache-2.0"
] | 415 | 2019-02-08T09:25:24.000Z | 2022-03-31T07:57:04.000Z | packages/o/optix/xmake.lua | ImperatorS79/xmake-repo | b4cee6bcb2f8ff1ce9ab1dc1d6acccefe65f5304 | [
"Apache-2.0"
] | 189 | 2019-04-02T12:19:59.000Z | 2022-03-30T16:42:53.000Z | package("optix")
set_homepage("https://developer.nvidia.com/optix")
set_description("NVIDIA OPTIX™ RAY TRACING ENGINE")
on_fetch(function (package, opt)
if opt.system then
import("lib.detect.find_path")
local paths = {"$(env OptiX_ROOT)"}
if package:is_plat("wi... | 37.15625 | 137 | 0.537426 |
0c95623c137182126a1a4fd83075fdae8d05e65e | 904 | html | HTML | manuscript/page-40/body.html | marvindanig/apology | 989408252536fd0a9a23f7de97035b77e1427725 | [
"CECILL-B"
] | null | null | null | manuscript/page-40/body.html | marvindanig/apology | 989408252536fd0a9a23f7de97035b77e1427725 | [
"CECILL-B"
] | null | null | null | manuscript/page-40/body.html | marvindanig/apology | 989408252536fd0a9a23f7de97035b77e1427725 | [
"CECILL-B"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p>It has been remarked that the prophecy of a new generation of teachers who would rebuke and exhort the Athenian people in harsher and more violent terms was, as far as we know, never fulfilled. No inference can be drawn from this circumstance as to the probability of... | 904 | 904 | 0.798673 |
afadbbcac44ad45de4ccb7243f9d94330ae8050a | 16,418 | html | HTML | lib/javadoc/com/hoodcomputing/natpmp/ResultCode.html | lights0123/Waked | 5ba0335fa86a42283e7d4d8dca4809651b75518c | [
"MIT"
] | null | null | null | lib/javadoc/com/hoodcomputing/natpmp/ResultCode.html | lights0123/Waked | 5ba0335fa86a42283e7d4d8dca4809651b75518c | [
"MIT"
] | null | null | null | lib/javadoc/com/hoodcomputing/natpmp/ResultCode.html | lights0123/Waked | 5ba0335fa86a42283e7d4d8dca4809651b75518c | [
"MIT"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Thu Jul 01 19:44:15 EDT 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
ResultCode
</TITLE>
<META NAME="... | 39.090476 | 213 | 0.659703 |
c1f12f2bd5ba27f5313c96ceb93cdcf31bce702a | 4,840 | lua | Lua | controls/topbar.lua | airstruck/lps | be13e6964a21abc54c0fa3a25969f5c508a034b1 | [
"MIT"
] | 2 | 2017-02-09T22:58:01.000Z | 2018-05-20T19:26:28.000Z | controls/topbar.lua | airstruck/lps | be13e6964a21abc54c0fa3a25969f5c508a034b1 | [
"MIT"
] | null | null | null | controls/topbar.lua | airstruck/lps | be13e6964a21abc54c0fa3a25969f5c508a034b1 | [
"MIT"
] | null | null | null | local lf = love.filesystem
return function (editor)
return {
{
icon = 'file.plugin',
tip = 'Manage Plugins',
press = function (self, cx, cy, cw, ch)
local ui = editor.ui
local panels = ui.panels
local panel = ui.Panel(c... | 36.666667 | 76 | 0.345868 |
778d85f51ddc37d72d14f3dac81725ab192e77c3 | 13,257 | swift | Swift | Sources/Doggie/ImageCodec/Algorithm/JPEG/JPEGQuantization.swift | adamnemecek/Doggie | 237d22797fd201a013464ae3ed3680674ca07ee7 | [
"MIT"
] | null | null | null | Sources/Doggie/ImageCodec/Algorithm/JPEG/JPEGQuantization.swift | adamnemecek/Doggie | 237d22797fd201a013464ae3ed3680674ca07ee7 | [
"MIT"
] | null | null | null | Sources/Doggie/ImageCodec/Algorithm/JPEG/JPEGQuantization.swift | adamnemecek/Doggie | 237d22797fd201a013464ae3ed3680674ca07ee7 | [
"MIT"
] | null | null | null | //
// JPEGQuantization.swift
//
// The MIT License
// Copyright (c) 2015 - 2019 Susan Cheng. All rights reserved.
//
// 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 restricti... | 49.651685 | 175 | 0.61575 |
828e2dc6ace86622458a614ee6c7796041fe82e0 | 65 | sql | SQL | test/JDBC/input/views/sys-xml_schema_collections.sql | babelfish-for-postgresql/babelfish_extensions | 5d99ceee2dc1e1d1a18744a4405a6a86125631f0 | [
"PostgreSQL",
"Apache-2.0",
"BSD-3-Clause"
] | 115 | 2021-10-29T18:17:24.000Z | 2022-03-28T01:05:20.000Z | test/JDBC/input/views/sys-xml_schema_collections.sql | 3manuek/babelfish_extensions | 39a0318ac96b8e44705473e93579d356f11802b6 | [
"PostgreSQL",
"Apache-2.0",
"BSD-3-Clause"
] | 81 | 2021-10-29T19:22:51.000Z | 2022-03-31T19:31:12.000Z | test/JDBC/input/views/sys-xml_schema_collections.sql | 3manuek/babelfish_extensions | 39a0318ac96b8e44705473e93579d356f11802b6 | [
"PostgreSQL",
"Apache-2.0",
"BSD-3-Clause"
] | 53 | 2021-10-30T01:26:50.000Z | 2022-03-22T00:12:47.000Z | -- Test function stub
SELECT * FROM sys.xml_schema_collections
GO | 21.666667 | 40 | 0.815385 |
721ec5b12c6dde8d365aed7cd5f1a424f52a208c | 3,497 | swift | Swift | Sources/NotionSwift/NotionClientType.swift | MartinW/NotionSwift | 316f3f89735d1f885353247b653ff78fea4cd10d | [
"MIT"
] | 21 | 2021-06-05T14:19:38.000Z | 2022-03-30T09:25:53.000Z | Sources/NotionSwift/NotionClientType.swift | MartinW/NotionSwift | 316f3f89735d1f885353247b653ff78fea4cd10d | [
"MIT"
] | 11 | 2021-06-04T07:26:34.000Z | 2022-03-24T22:45:51.000Z | Sources/NotionSwift/NotionClientType.swift | MartinW/NotionSwift | 316f3f89735d1f885353247b653ff78fea4cd10d | [
"MIT"
] | 13 | 2021-07-10T14:57:46.000Z | 2022-03-31T11:58:34.000Z | //
// Created by Wojciech Chojnacki on 06/06/2021.
//
import Foundation
public protocol NotionClientType: AnyObject {
// MARK: - block
func blockChildren(
blockId: Block.Identifier,
params: BaseQueryParams,
completed: @escaping (Result<ListResponse<ReadBlock>, NotionClientError>) ->... | 26.9 | 89 | 0.643981 |
782b6cf84001721e1cdfb7a140353d65a7f5f14e | 204 | swift | Swift | Sources/music-notation/Striking.swift | DownMoney/music-notation | 07f71e3cfe4e3d6e4e48150c8f6bddadc9218028 | [
"MIT"
] | 21 | 2021-03-23T00:20:17.000Z | 2022-03-24T17:53:45.000Z | Sources/music-notation/Striking.swift | DownMoney/music-notation | 07f71e3cfe4e3d6e4e48150c8f6bddadc9218028 | [
"MIT"
] | null | null | null | Sources/music-notation/Striking.swift | DownMoney/music-notation | 07f71e3cfe4e3d6e4e48150c8f6bddadc9218028 | [
"MIT"
] | 3 | 2021-05-05T06:53:03.000Z | 2021-12-27T11:38:28.000Z | //
// Striking.swift
// MusicNotation
//
// Created by Steven Woolgar on 2021-04-06.
// Copyright © 2021 Steven Woolgar. All rights reserved.
//
public enum Striking {
case left, up
case right, down
}
| 15.692308 | 56 | 0.696078 |
67c9fdaaa66bfadc356935b55446c0300edab615 | 772 | sql | SQL | src/main/resources/db/migration/V3__DDL_create_user_table.sql | rongcloud/rongcloud-scene-server-demo | 619793ecd02754824ba6549ec1b0e65498802918 | [
"MIT"
] | 1 | 2021-08-09T07:15:10.000Z | 2021-08-09T07:15:10.000Z | src/main/resources/db/migration/V3__DDL_create_user_table.sql | rongcloud/rongcloud-scene-server-demo | 619793ecd02754824ba6549ec1b0e65498802918 | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V3__DDL_create_user_table.sql | rongcloud/rongcloud-scene-server-demo | 619793ecd02754824ba6549ec1b0e65498802918 | [
"MIT"
] | null | null | null | CREATE TABLE `t_user` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增id',
`uid` varchar(64) NOT NULL COMMENT '自定义用户唯一标识',
`name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '用户名称',
`portrait` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '用户头像',
`mobile` varchar... | 51.466667 | 88 | 0.718912 |
685bd31be0303a2d741d8ebf12ae5f8e9ae81bbe | 659,600 | html | HTML | Partial_obs/Rmd/2021_0208.html | statKim/FDA-Lab | 3c4260a89683bf599cea1bba9d5191eaeb566755 | [
"MIT"
] | null | null | null | Partial_obs/Rmd/2021_0208.html | statKim/FDA-Lab | 3c4260a89683bf599cea1bba9d5191eaeb566755 | [
"MIT"
] | null | null | null | Partial_obs/Rmd/2021_0208.html | statKim/FDA-Lab | 3c4260a89683bf599cea1bba9d5191eaeb566755 | [
"MIT"
] | 1 | 2022-03-08T13:41:51.000Z | 2022-03-08T13:41:51.000Z | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Hyunsung Kim" />
<meta name="date" content="20... | 1,029.017161 | 128,580 | 0.954106 |
8f0b6d8bee86304991059970349b3c5ea20572a8 | 10,235 | sql | SQL | sip.sql | Ristrikris/sip_web | 8359a5142f4d1e70473dd0d7621619e561e2fcf7 | [
"MIT"
] | null | null | null | sip.sql | Ristrikris/sip_web | 8359a5142f4d1e70473dd0d7621619e561e2fcf7 | [
"MIT"
] | null | null | null | sip.sql | Ristrikris/sip_web | 8359a5142f4d1e70473dd0d7621619e561e2fcf7 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 16, 2021 at 11:53 PM
-- Server version: 10.4.19-MariaDB
-- PHP Version: 7.4.20
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 28.994334 | 293 | 0.678554 |
b9a10c3845394df97799f6958567cf3914681bcc | 52,851 | c | C | testsuite/EXP_4/test2633.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 34 | 2017-07-04T14:16:12.000Z | 2021-04-22T21:04:43.000Z | testsuite/EXP_4/test2633.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 1 | 2017-07-06T03:43:44.000Z | 2017-07-06T03:43:44.000Z | testsuite/EXP_4/test2633.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 6 | 2017-07-04T16:30:42.000Z | 2019-10-16T05:37:29.000Z |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
static uint16_t x10 = 458U;
volatile int64_t x11 = INT64_MIN;
volatile int16_t x19 = -1;
volatile int8_t x28 =... | 18.714943 | 60 | 0.585911 |
81610f7656ae00f525254539047bafe87a749e8d | 744 | asm | Assembly | oeis/294/A294286.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/294/A294286.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/294/A294286.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A294286: Sum of the squares of the parts in the partitions of n into two distinct parts.
; 0,0,5,10,30,46,91,124,204,260,385,470,650,770,1015,1176,1496,1704,2109,2370,2870,3190,3795,4180,4900,5356,6201,6734,7714,8330,9455,10160,11440,12240,13685,14586,16206,17214,19019,20140,22140,23380,25585,26950,29370,30866,33511,... | 39.157895 | 495 | 0.736559 |
7d57ffae9609bc243c9329c921493195c798a679 | 691 | swift | Swift | iOSEngineerCodeCheck/Helper/TextHelper.swift | shusuke0812/ios-engineer-codecheck | f0128e0e7a4c72b5de974086e57e1734eea303f9 | [
"Apache-2.0"
] | 2 | 2021-12-17T02:09:16.000Z | 2021-12-18T13:48:36.000Z | iOSEngineerCodeCheck/Helper/TextHelper.swift | shusuke0812/ios-engineer-codecheck | f0128e0e7a4c72b5de974086e57e1734eea303f9 | [
"Apache-2.0"
] | 27 | 2020-11-25T13:23:56.000Z | 2022-02-27T15:49:58.000Z | iOSEngineerCodeCheck/Helper/TextHelper.swift | shusuke0812/ios-engineer-codecheck | f0128e0e7a4c72b5de974086e57e1734eea303f9 | [
"Apache-2.0"
] | null | null | null | //
// TextHelper.swift
// iOSEngineerCodeCheck
//
// Created by Shusuke Ota on 2021/1/25.
// Copyright © 2021 YUMEMI Inc. All rights reserved.
//
import Foundation
class TextHelper {
private let formatter: NumberFormatter
static let shared = TextHelper()
private init() {
self.formatter = Num... | 23.033333 | 80 | 0.655572 |
a3960a047b85388421f7a973613c3bf424f641fe | 35,875 | kt | Kotlin | notificare-geo/src/main/java/re/notifica/geo/internal/NotificareGeoImpl.kt | Notificare/notificare-sdk-android | 1f6d2cec60366f1af93852eedbdfe02766a3c89c | [
"MIT"
] | null | null | null | notificare-geo/src/main/java/re/notifica/geo/internal/NotificareGeoImpl.kt | Notificare/notificare-sdk-android | 1f6d2cec60366f1af93852eedbdfe02766a3c89c | [
"MIT"
] | 1 | 2022-01-05T08:30:43.000Z | 2022-01-05T14:22:30.000Z | notificare-geo/src/main/java/re/notifica/geo/internal/NotificareGeoImpl.kt | Notificare/notificare-sdk-android | 1f6d2cec60366f1af93852eedbdfe02766a3c89c | [
"MIT"
] | null | null | null | package re.notifica.geo.internal
import android.Manifest
import android.bluetooth.BluetoothManager
import android.content.Context
import android.content.pm.PackageManager
import android.location.Geocoder
import android.location.Location
import android.os.Build
import android.widget.Toast
import androidx.core.content.C... | 36.984536 | 147 | 0.592223 |
64d4692e766e27245f3b421927d7f33ca4f50881 | 3,176 | java | Java | app/src/androidTest/java/com/example/gautamkarnik/onyourbike/application/ApplicationTest.java | gautamkarnik/OnYourBike | 05bfafd2d59202db8bbde384fabdfea0a0babe01 | [
"Apache-2.0"
] | null | null | null | app/src/androidTest/java/com/example/gautamkarnik/onyourbike/application/ApplicationTest.java | gautamkarnik/OnYourBike | 05bfafd2d59202db8bbde384fabdfea0a0babe01 | [
"Apache-2.0"
] | null | null | null | app/src/androidTest/java/com/example/gautamkarnik/onyourbike/application/ApplicationTest.java | gautamkarnik/OnYourBike | 05bfafd2d59202db8bbde384fabdfea0a0babe01 | [
"Apache-2.0"
] | null | null | null | package com.example.gautamkarnik.onyourbike.application;
import android.app.Application;
import android.app.Instrumentation;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.res.Configuration;
import ... | 32.080808 | 99 | 0.71631 |
c58b4c7ddba405d34e66006346b15dd55b3abe2e | 249 | lua | Lua | arc_of_elements_script.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 70 | 2021-02-09T17:21:32.000Z | 2022-03-28T12:41:42.000Z | arc_of_elements_script.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 4 | 2021-08-19T22:05:58.000Z | 2022-03-19T18:58:01.000Z | arc_of_elements_script.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 325 | 2021-02-26T22:23:41.000Z | 2022-03-31T19:36:12.000Z | game.ReplicatedStorage.USERNAMEHERELevel.Value = DESIREDLEVEL --i.e game.ReplicatedStorage.hxs_rizzitLevel.Value = 999
game.ReplicatedStorage.USERNAMEHEREElement.Value = "DESIREDARC" --i.e game.ReplicatedStorage.hxs_rizzitElement.Value = "Phoenix"
| 62.25 | 128 | 0.835341 |
b64d400dc303ebff3c64ba4b2ecb9f8de57f319b | 2,049 | dart | Dart | example/lib/main_issue_21.dart | AndyDavidJoyce/flutter_staggered_grid_view | 9332ad2a7a34b608cc6fab6c5f8a05e35398c93b | [
"MIT"
] | 2,528 | 2018-02-19T20:00:26.000Z | 2022-03-30T06:43:36.000Z | example/lib/main_issue_21.dart | AndyDavidJoyce/flutter_staggered_grid_view | 9332ad2a7a34b608cc6fab6c5f8a05e35398c93b | [
"MIT"
] | 232 | 2018-02-20T01:04:25.000Z | 2022-03-29T11:25:37.000Z | example/lib/main_issue_21.dart | AndyDavidJoyce/flutter_staggered_grid_view | 9332ad2a7a34b608cc6fab6c5f8a05e35398c93b | [
"MIT"
] | 471 | 2018-02-22T08:19:16.000Z | 2022-03-31T06:29:36.000Z | import 'package:flutter/material.dart';
import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'StaggeredGridView Demo',
theme: Th... | 22.766667 | 78 | 0.632992 |
39cfb93da7dfabf001387ca89e4b0ebd8a990ef9 | 2,205 | js | JavaScript | gatsby-config.js | longyarnz/missive | 420768d2d672b489e1179af27638e3e0273c0008 | [
"MIT"
] | 1 | 2020-02-18T10:58:03.000Z | 2020-02-18T10:58:03.000Z | gatsby-config.js | longyarnz/missive | 420768d2d672b489e1179af27638e3e0273c0008 | [
"MIT"
] | 4 | 2021-09-21T15:26:21.000Z | 2022-02-27T10:15:37.000Z | gatsby-config.js | longyarnz/missive | 420768d2d672b489e1179af27638e3e0273c0008 | [
"MIT"
] | null | null | null | module.exports = {
siteMetadata: {
title: `Missive App`,
description: `Missive is a fully integrated email management app supporting Gmail, Yahoo and Outlook. It pulls emails and connected mailboxes and offers a platform to manage all from one app.`,
author: `@longyarnz`,
},
pathPrefix: "/missive/",
... | 32.426471 | 197 | 0.585488 |
90a508cf94ba885fcffb956b8ea47169313d5e16 | 803 | py | Python | Mundo 3/ex087.py | adonaifariasdev/cursoemvideo-python3 | 1fd35e45b24c52013fa3bc98e723971db8e6b7d1 | [
"MIT"
] | null | null | null | Mundo 3/ex087.py | adonaifariasdev/cursoemvideo-python3 | 1fd35e45b24c52013fa3bc98e723971db8e6b7d1 | [
"MIT"
] | null | null | null | Mundo 3/ex087.py | adonaifariasdev/cursoemvideo-python3 | 1fd35e45b24c52013fa3bc98e723971db8e6b7d1 | [
"MIT"
] | null | null | null | # Aprimore o desafio anterior, mostrando no final:
# A) A soma de todos os valores pares digitados.
# B) A soma dos valores da terceira coluna.
# C) O maior valor da segunda linha.
matriz = [[0, 0, 0], [0, 0, 0], [0, 0, 0]]
somaPar = 0
somaCol = 0
for l in range(0, 3):
for c in range(0, 3):
matriz[l][c] = i... | 30.884615 | 71 | 0.581569 |
fb72096f9f74031e99bfaf00484e7da4369775ce | 28,344 | java | Java | src/main/java/me/ryan/models/reward/RewardAdapter.java | EnderPluser/cpi-web-service | e4ecacef6a62678e9617875f8eef3fcd98f5b4d4 | [
"MIT"
] | 5 | 2021-08-30T23:33:57.000Z | 2021-12-22T12:21:11.000Z | src/main/java/me/ryan/models/reward/RewardAdapter.java | EnderPluser/cpi-web-service | e4ecacef6a62678e9617875f8eef3fcd98f5b4d4 | [
"MIT"
] | 1 | 2021-08-29T23:06:20.000Z | 2021-11-07T23:08:48.000Z | src/main/java/me/ryan/models/reward/RewardAdapter.java | EnderPluser/cpi-web-service | e4ecacef6a62678e9617875f8eef3fcd98f5b4d4 | [
"MIT"
] | 4 | 2021-09-12T01:01:31.000Z | 2022-03-25T19:56:28.000Z | package me.legit.models.reward;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import com.google.gson.stream.JsonWriter;
import me.legit.models.equipment.CustomEquipment;
import me.legit.models.equipment.CustomEquipmentCustomization;
import me.leg... | 39.808989 | 153 | 0.38636 |
2a1f20fac1b037b7771d5c85913362d8f1933713 | 7,829 | java | Java | core/src/androidTest/java/de/unipassau/isl/evs/ssh/core/naming/NamingManagerTest.java | SecureSmartHome/SecureSmartHome | de10fd95c9806aa00814d5658ef639f1d1840a08 | [
"MIT"
] | 11 | 2016-04-04T11:38:35.000Z | 2019-10-02T21:30:30.000Z | core/src/androidTest/java/de/unipassau/isl/evs/ssh/core/naming/NamingManagerTest.java | SecureSmartHome/SecureSmartHome | de10fd95c9806aa00814d5658ef639f1d1840a08 | [
"MIT"
] | 1 | 2020-04-14T12:03:15.000Z | 2020-04-14T14:29:48.000Z | core/src/androidTest/java/de/unipassau/isl/evs/ssh/core/naming/NamingManagerTest.java | SecureSmartHome/SecureSmartHome | de10fd95c9806aa00814d5658ef639f1d1840a08 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2016.
* Bucher Andreas, Fink Simon Dominik, Fraedrich Christoph, Popp Wolfgang,
* Sell Leon, Werli Philemon
*
* 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 th... | 41.86631 | 123 | 0.735982 |
72f77f05f9c0cf6020bd33a35b6c1f97a8c7fc37 | 889 | html | HTML | insta/templates/navbar.html | dan-jugz/theGram | 894f9f16f43b70661e4f6dd705bb84f39c4f1a07 | [
"MIT"
] | null | null | null | insta/templates/navbar.html | dan-jugz/theGram | 894f9f16f43b70661e4f6dd705bb84f39c4f1a07 | [
"MIT"
] | 10 | 2020-06-05T23:54:17.000Z | 2022-02-10T10:50:44.000Z | insta/templates/navbar.html | dan-jugz/theGram | 894f9f16f43b70661e4f6dd705bb84f39c4f1a07 | [
"MIT"
] | null | null | null | <header>
<div class="navigation">
<div class="instalogo">
<a href="{% url 'insta:post_list' %}"><i class="fab fa-instagram"></i> </a>
<a class="vl"></a>
<a href="/">Instagrampy</a>
</div>
<div class="search_bar">
<input type="text" plac... | 40.409091 | 102 | 0.461192 |
53be99c52c3589543a7c29442f5a5fc4395c02a6 | 189 | java | Java | src/main/java/au/gov/nehta/model/clinical/etp/common/participation/ProviderIndividualDateOfBirthDetail.java | AuDigitalHealth/clinical-document-library-java | 217483c9a2dc18aa7aa262bb22a7175888550839 | [
"Apache-2.0"
] | 5 | 2019-08-13T13:58:36.000Z | 2021-12-07T07:45:57.000Z | src/main/java/au/gov/nehta/model/clinical/etp/common/participation/ProviderIndividualDateOfBirthDetail.java | AuDigitalHealth/clinical-document-library-java | 217483c9a2dc18aa7aa262bb22a7175888550839 | [
"Apache-2.0"
] | 1 | 2020-04-27T02:22:19.000Z | 2020-04-27T02:22:19.000Z | src/main/java/au/gov/nehta/model/clinical/etp/common/participation/ProviderIndividualDateOfBirthDetail.java | AuDigitalHealth/clinical-document-library-java | 217483c9a2dc18aa7aa262bb22a7175888550839 | [
"Apache-2.0"
] | 4 | 2019-10-24T03:48:01.000Z | 2022-03-14T13:21:08.000Z | package au.gov.nehta.model.clinical.etp.common.participation;
import java.time.ZonedDateTime;
public interface ProviderIndividualDateOfBirthDetail {
ZonedDateTime getDateOfBirth();
}
| 23.625 | 61 | 0.825397 |
1a3f47641e9aff1f3faa37a05dee366e1e2602ee | 14,017 | rs | Rust | src/contract.rs | Xiphiar/cloak | 04dfcaa64cf042e4797558a95890c77d645ad322 | [
"Apache-2.0"
] | null | null | null | src/contract.rs | Xiphiar/cloak | 04dfcaa64cf042e4797558a95890c77d645ad322 | [
"Apache-2.0"
] | null | null | null | src/contract.rs | Xiphiar/cloak | 04dfcaa64cf042e4797558a95890c77d645ad322 | [
"Apache-2.0"
] | null | null | null | use cosmwasm_std::{
from_binary, log, to_binary, Api, BankMsg, Binary, Coin, CosmosMsg, Env, Extern,
HandleResponse, HandleResult, HumanAddr, InitResponse, Querier, StdError, StdResult, Storage,
Uint128,
};
use crate::msg::{
ConfigResponse, ExistsResponse, HandleMsg, HandleReceiveMsg, InitMsg, PoolSize... | 29.509474 | 99 | 0.63052 |
50fa617163ac3f6d95637685ad749ed5f73f3f2a | 188 | ps1 | PowerShell | aks-cli/aks/devops/service-connection/list.ps1 | ChristianPejrup/aks-cli | 53d450dfb1ef31904ddcb156495f36b8b30135e6 | [
"MIT"
] | 1 | 2020-04-27T20:07:49.000Z | 2020-04-27T20:07:49.000Z | aks-cli/aks/devops/service-connection/list.ps1 | BoSoeborgPetersen/azure-kubernetes-service-cli | e5acc1bcd39a62c03e6f8a78b3c2349b3bba2a31 | [
"MIT"
] | null | null | null | aks-cli/aks/devops/service-connection/list.ps1 | BoSoeborgPetersen/azure-kubernetes-service-cli | e5acc1bcd39a62c03e6f8a78b3c2349b3bba2a31 | [
"MIT"
] | 2 | 2021-12-29T14:45:17.000Z | 2022-01-18T11:36:24.000Z | param($query)
WriteAndSetUsage ([ordered]@{
"[query]" = "Azure CLI JsonPath Query"
})
Write-Info "List Service Connections"
AzDevOpsCommand "service-endpoint list" -q $query | 20.888889 | 49 | 0.691489 |
ba9807c6cbb2d822c7e7ba1bb768cbf9c2eaaa6f | 8,562 | swift | Swift | Sources/PubNubCSM/Membership/MembershipAction.swift | Allogy/pubnub-swift-csm | e01f531a6cfd260d3fbdb88d78271a03fcd41668 | [
"MIT"
] | 2 | 2020-04-08T07:50:29.000Z | 2021-06-12T05:33:39.000Z | Sources/PubNubCSM/Membership/MembershipAction.swift | Allogy/pubnub-swift-csm | e01f531a6cfd260d3fbdb88d78271a03fcd41668 | [
"MIT"
] | 4 | 2020-07-27T23:23:53.000Z | 2022-02-26T07:01:30.000Z | Sources/PubNubCSM/Membership/MembershipAction.swift | isabella232/pubnub-swift-csm | e01f531a6cfd260d3fbdb88d78271a03fcd41668 | [
"MIT"
] | 2 | 2021-01-13T10:08:20.000Z | 2021-04-17T00:05:29.000Z | //
// MembershipAction.swift
//
// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks
// Copyright © 2020 PubNub Inc.
// https://www.pubnub.com/
// https://www.pubnub.com/terms
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and ... | 42.81 | 120 | 0.722728 |
60fb5c9ac08d15346587cf82820abc54113229cc | 1,175 | ps1 | PowerShell | provisioning/Octopus-Destroy.ps1 | jordangillespie/random-powershell | f1417e362eface5ee65430f46404a0de0fb1541a | [
"Apache-2.0"
] | null | null | null | provisioning/Octopus-Destroy.ps1 | jordangillespie/random-powershell | f1417e362eface5ee65430f46404a0de0fb1541a | [
"Apache-2.0"
] | null | null | null | provisioning/Octopus-Destroy.ps1 | jordangillespie/random-powershell | f1417e362eface5ee65430f46404a0de0fb1541a | [
"Apache-2.0"
] | null | null | null | function OctopusDestroyMachine {
[CmdletBinding()]
param(
[Parameter(mandatory=$true)][String]$VMName,
[Parameter(mandatory=$false)][String]$OctopusServer = 'https://octopus.netdocuments.com',
[Parameter(mandatory=$true)][String]$ApiKey
)
$validation = $true
# Validate can... | 32.638889 | 98 | 0.649362 |
a7ae075787c28addba066fc3555d65011bd7afd2 | 9,090 | kt | Kotlin | app/src/main/java/com/celzero/bravedns/util/Constants.kt | codelegger/rethink-app | 609a3eef1a63d75bd63fd325862bf66e4b63aafc | [
"Apache-2.0"
] | 486 | 2020-10-29T12:05:08.000Z | 2022-03-30T21:56:27.000Z | app/src/main/java/com/celzero/bravedns/util/Constants.kt | codelegger/rethink-app | 609a3eef1a63d75bd63fd325862bf66e4b63aafc | [
"Apache-2.0"
] | 388 | 2020-10-27T07:29:58.000Z | 2022-03-29T07:16:53.000Z | app/src/main/java/com/celzero/bravedns/util/Constants.kt | codelegger/rethink-app | 609a3eef1a63d75bd63fd325862bf66e4b63aafc | [
"Apache-2.0"
] | 49 | 2020-11-14T09:42:27.000Z | 2022-03-10T16:17:50.000Z | /*
Copyright 2020 RethinkDNS and its 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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | 43.701923 | 115 | 0.689769 |
eafbc404c6c12f54532448f61659a7359a2b870b | 1,627 | dart | Dart | lib/validators/MinLenght.dart | MikeMitterer/objectvalidator.dart | 539e2c18f3cc5d91c6472ca9d41e6f16e988fac7 | [
"Apache-2.0"
] | 1 | 2019-10-06T23:57:21.000Z | 2019-10-06T23:57:21.000Z | lib/validators/MinLenght.dart | MikeMitterer/objectvalidator.dart | 539e2c18f3cc5d91c6472ca9d41e6f16e988fac7 | [
"Apache-2.0"
] | null | null | null | lib/validators/MinLenght.dart | MikeMitterer/objectvalidator.dart | 539e2c18f3cc5d91c6472ca9d41e6f16e988fac7 | [
"Apache-2.0"
] | null | null | null | part of objectvalidator.validators;
class MinLength extends Validator<dynamic,MinLength> {
/// Field name for error message
final String _fieldName;
final num minLength;
const MinLength(this.minLength, {final String fieldName = Validator.UNDEFINED_FIELD_NAME,
CheckAgainstOnError<MinLength> on... | 30.12963 | 106 | 0.562385 |
5710487363a016d8871312aa19070cb637c065fb | 287 | h | C | MFC Demo/AliRTCSdk/include/AliLog.h | yhang/AliRtcAppSample_Windows | 068989e1e4790276c7a36551f7a1f76b6963fb68 | [
"MIT"
] | null | null | null | MFC Demo/AliRTCSdk/include/AliLog.h | yhang/AliRtcAppSample_Windows | 068989e1e4790276c7a36551f7a1f76b6963fb68 | [
"MIT"
] | null | null | null | MFC Demo/AliRTCSdk/include/AliLog.h | yhang/AliRtcAppSample_Windows | 068989e1e4790276c7a36551f7a1f76b6963fb68 | [
"MIT"
] | null | null | null | #ifndef _ALI_LOG_H_
#define _ALI_LOG_H_
#include "AliRtcEngine.h"
#include "ali_rtc_interface.h"
ALI_RTC_API void AliLogEx(const char* file, int line, const char* tag,
AliRtcLogLevel level, const char *fmt, ...);
ALI_RTC_API void AliLog(const char *fmt, ...);
#endif
| 22.076923 | 71 | 0.707317 |
107fafea657fb8cf29f8924696414d0e43327d57 | 1,283 | lua | Lua | src/app.module.plaza.view.ccs.sub.PlazaSubBuYuCcsView.lua | lvqier/fishingjoy | a5569e7074664a9ca72f88d6bd0dcff9282db627 | [
"Unlicense"
] | null | null | null | src/app.module.plaza.view.ccs.sub.PlazaSubBuYuCcsView.lua | lvqier/fishingjoy | a5569e7074664a9ca72f88d6bd0dcff9282db627 | [
"Unlicense"
] | null | null | null | src/app.module.plaza.view.ccs.sub.PlazaSubBuYuCcsView.lua | lvqier/fishingjoy | a5569e7074664a9ca72f88d6bd0dcff9282db627 | [
"Unlicense"
] | 1 | 2022-01-18T03:26:33.000Z | 2022-01-18T03:26:33.000Z | PlazaSubBuYuCcsView = class("PlazaSubBuYuCcsView")
PlazaSubBuYuCcsView.onCreationComplete = function (slot0)
slot0._buttonSubFishTd = ({
{
btn = slot0.layerTabs.gameDaNaoTianGong,
gameKind = GameKind_DNTG
},
{
btn = slot0.layerTabs.gameDaNaoTianGongLatest,
gameKind = GameKind_DNTGTEST
},
{
bt... | 25.156863 | 101 | 0.742011 |
2486cf84b7ac973acb5a57afeb772eafc632ad72 | 3,745 | kt | Kotlin | module/test/src/commonTest/kotlin/CleanupTest.kt | softappeal/yass2 | f7da57a9e4799a060196fc0a190b17984d97e886 | [
"BSD-3-Clause"
] | 13 | 2019-08-09T05:29:00.000Z | 2022-03-06T02:46:31.000Z | module/test/src/commonTest/kotlin/CleanupTest.kt | softappeal/yass2 | f7da57a9e4799a060196fc0a190b17984d97e886 | [
"BSD-3-Clause"
] | null | null | null | module/test/src/commonTest/kotlin/CleanupTest.kt | softappeal/yass2 | f7da57a9e4799a060196fc0a190b17984d97e886 | [
"BSD-3-Clause"
] | null | null | null | package ch.softappeal.yass2
import kotlin.test.*
class CleanupTest {
@Test
fun addSuppressedWithoutException() {
val e = Exception()
var called = false
val e2 = e.addSuppressed { called = true }
assertTrue(called)
assertSame(e, e2)
}
@Test
fun addSuppressed... | 25.134228 | 81 | 0.524166 |
fbb83f85c47f47f5f26fe005154505ff45c05b57 | 2,743 | java | Java | inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/pojo/transform/deduplication/DeDuplicationDefinition.java | Balley2/incubator-inlong | 7ea54dd6c098981623bf7588fe5297a214a1b847 | [
"Apache-2.0"
] | 3 | 2022-01-24T10:03:02.000Z | 2022-02-10T04:52:33.000Z | inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/pojo/transform/deduplication/DeDuplicationDefinition.java | crancchen/incubator-inlong | b0b81976ac53b947aae21eec0b11abf62d3a1cdc | [
"Apache-2.0"
] | null | null | null | inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/pojo/transform/deduplication/DeDuplicationDefinition.java | crancchen/incubator-inlong | b0b81976ac53b947aae21eec0b11abf62d3a1cdc | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | 32.654762 | 75 | 0.734233 |
7a51d25a9078fc393dd18accd1d0904bbd3bc605 | 1,100 | rb | Ruby | platform-hub-api/app/controllers/concerns/api_json_error_handler.rb | UKHomeOffice/platform-hub | 59c576342df48c805addde9e1b9fe21e17194673 | [
"MIT"
] | 6 | 2017-01-13T14:41:20.000Z | 2022-03-30T11:57:17.000Z | platform-hub-api/app/controllers/concerns/api_json_error_handler.rb | UKHomeOffice/platform-hub | 59c576342df48c805addde9e1b9fe21e17194673 | [
"MIT"
] | 82 | 2017-01-18T13:57:20.000Z | 2022-03-30T11:31:49.000Z | platform-hub-api/app/controllers/concerns/api_json_error_handler.rb | UKHomeOffice/platform-hub | 59c576342df48c805addde9e1b9fe21e17194673 | [
"MIT"
] | 4 | 2020-02-26T18:07:56.000Z | 2021-06-20T18:23:02.000Z | module ApiJsonErrorHandler
extend ActiveSupport::Concern
included do
rescue_from ActiveRecord::RecordNotFound, with: :not_found_error
rescue_from ActiveRecord::ReadOnlyRecord, with: :readonly_error
rescue_from ActionController::ParameterMissing, with: :missing_parameter_error
end
def render_error ... | 23.913043 | 82 | 0.757273 |
7fa27f719172bd4f556a5857eee7f29e4496be3e | 405 | lua | Lua | data/item.lua | nicolas-lang/factorio.InserterCranes | 34417c1a14bd66339199cbd64e3fabf947a806a8 | [
"MIT"
] | 1 | 2022-02-06T22:45:11.000Z | 2022-02-06T22:45:11.000Z | data/item.lua | nicolas-lang/factorio.InserterCranes | 34417c1a14bd66339199cbd64e3fabf947a806a8 | [
"MIT"
] | 3 | 2021-12-19T20:10:08.000Z | 2022-02-05T04:45:04.000Z | data/item.lua | nicolas-lang/factorio.InserterCranes | 34417c1a14bd66339199cbd64e3fabf947a806a8 | [
"MIT"
] | null | null | null | local make_layered_icon = require("icon")
local function make_crane_item(itemName, newName, wide)
local item = util.table.deepcopy(data.raw["item"][itemName])
make_layered_icon(item,wide)
item.name = newName
item.place_result = newName
item.stack_size = 10
item.localised_name = nil
-- ToDo layered icon
... | 27 | 62 | 0.74321 |
f668505afad9c58ef31aab40177254a410982800 | 3,567 | ps1 | PowerShell | src/Functions/Modify-ADGroupMembers.ps1 | jveldhuijzen/AD-Lab-Generator | 7f6e197d887d4456b38762f563d2a97a6d3677fc | [
"MIT"
] | 16 | 2019-06-25T12:55:19.000Z | 2022-01-04T15:59:34.000Z | AD LDS Functions/Function Modify-ADGroupMembers.ps1 | KevOtt/AD-Tools | 49762c3927526a183f99b9c191deaa6e5df6e886 | [
"MIT"
] | null | null | null | AD LDS Functions/Function Modify-ADGroupMembers.ps1 | KevOtt/AD-Tools | 49762c3927526a183f99b9c191deaa6e5df6e886 | [
"MIT"
] | 6 | 2020-09-15T12:05:23.000Z | 2022-01-26T18:25:54.000Z | # Copyright (c) 2018 Kevin Ott
# Licensed under the MIT License
# See the LICENSE file in the project root for more information.
Function Modify-ADGroupMembers{
<#
.SYNOPSIS
Add or remove a member from an AD Group
.DESCRIPTION
This is a function for modifying the membership of an AD group... | 43.5 | 173 | 0.695262 |
9f0a3f3367bffd79998b58ce17ef19c60bb33593 | 25,623 | go | Go | orderer/common/blockcutter/scheduler/occsharpscheduler/scheduler_test.go | ooibc88/Hyperledger-Fabric- | b6011f90c41b79d670fc52d6ee6f92f8046c6674 | [
"Apache-2.0"
] | 103 | 2019-08-23T05:59:14.000Z | 2022-02-16T08:53:08.000Z | orderer/common/blockcutter/scheduler/occsharpscheduler/scheduler_test.go | ooibc88/Hyperledger-Fabric- | b6011f90c41b79d670fc52d6ee6f92f8046c6674 | [
"Apache-2.0"
] | 18 | 2020-04-29T19:25:54.000Z | 2022-03-14T15:27:15.000Z | orderer/common/blockcutter/scheduler/occsharpscheduler/scheduler_test.go | ooibc88/Hyperledger-Fabric- | b6011f90c41b79d670fc52d6ee6f92f8046c6674 | [
"Apache-2.0"
] | 40 | 2019-09-03T10:22:20.000Z | 2022-03-05T12:30:14.000Z | /*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package occsharpscheduler
import (
"fmt"
"os"
"sort"
"strconv"
"testing"
"github.com/stretchr/testify/assert"
)
func TestSort(t *testing.T) {
sorted := []string{"a", "b", "c", "d", "e"}
toBeSorted := []string{"e", "b", "d"}
... | 35.439834 | 115 | 0.616438 |
411aaba252435574a76606d66dff5e8e641b9084 | 2,406 | ps1 | PowerShell | SQLDWSchemaMigrate/Public/Export-SchemaDDLStatements.ps1 | sabinio/MigrateAzureSQLDW | 6e3be5337001b2ee33bbb2c8e08f921e337877af | [
"MIT"
] | 5 | 2018-02-23T10:55:15.000Z | 2019-07-23T10:55:17.000Z | SQLDWSchemaMigrate/Public/Export-SchemaDDLStatements.ps1 | sabinio/MigrateAzureSQLDW | 6e3be5337001b2ee33bbb2c8e08f921e337877af | [
"MIT"
] | 4 | 2018-02-01T11:21:22.000Z | 2018-09-20T11:47:25.000Z | SQLDWSchemaMigrate/Public/Export-SchemaDDLStatements.ps1 | sabinio/SQLDWSchemaMigrate | 6e3be5337001b2ee33bbb2c8e08f921e337877af | [
"MIT"
] | null | null | null |
Function Export-SchemaDDLStatements {
[CmdletBinding()]
<#
.Synopsis
Gets the DDL statements to update the schema in the target database and exports them to a file (or files)
.Description
All DDL statements executed against a target database within the module are stored in a table called "DDLStatements" on the... | 32.08 | 140 | 0.660848 |
e86406bd9fd159030bce44f7d6f0387a03c08362 | 312 | cpp | C++ | c++/Climbing Stairs/Climbing Stairs.cpp | tonardo2015/leetcode | 02e659f0415158b02f1e9cdb3f63ac0870b109af | [
"MIT"
] | null | null | null | c++/Climbing Stairs/Climbing Stairs.cpp | tonardo2015/leetcode | 02e659f0415158b02f1e9cdb3f63ac0870b109af | [
"MIT"
] | null | null | null | c++/Climbing Stairs/Climbing Stairs.cpp | tonardo2015/leetcode | 02e659f0415158b02f1e9cdb3f63ac0870b109af | [
"MIT"
] | null | null | null | class Solution {
public:
int climbStairs(int n) {
int *dp = new int[n+1]; //dp[i]是到达第i个阶梯的方法数
dp[0] = 1;
dp[1] = 1;
for(int i = 2; i <= n; i++){
dp[i] = dp[i-1] + dp[i-2];
}
int res = dp[n];
delete [] dp;
return res;
}
};
| 18.352941 | 55 | 0.387821 |
8465f582c3a56348ffdb67ae9529c51aa9a6c42d | 15,438 | asm | Assembly | compiler/ti-cgt-arm_18.12.4.LTS/lib/src/fd_add16.asm | JosiahCraw/TI-Arm-Docker | 23c0f4caf1638512bf53241531c69289c4e82488 | [
"MIT"
] | null | null | null | compiler/ti-cgt-arm_18.12.4.LTS/lib/src/fd_add16.asm | JosiahCraw/TI-Arm-Docker | 23c0f4caf1638512bf53241531c69289c4e82488 | [
"MIT"
] | null | null | null | compiler/ti-cgt-arm_18.12.4.LTS/lib/src/fd_add16.asm | JosiahCraw/TI-Arm-Docker | 23c0f4caf1638512bf53241531c69289c4e82488 | [
"MIT"
] | null | null | null | ;******************************************************************************
;* FS_ADD16.ASM - 16 BIT STATE - *
;* *
;* Copyright (c) 1996 Texas Instruments Incorporated *
... | 39.083544 | 80 | 0.463855 |
1d26e7e5583f452422d7df92a4d10512c5fd69e3 | 513 | lua | Lua | src/api-output/BaseData.lua | al1020119/cocos2dx-lua-Tetris | 764d06f54e821e2e44336d9a497375aa07fcc07a | [
"Apache-2.0"
] | 2 | 2018-10-16T06:17:06.000Z | 2020-04-04T06:15:28.000Z | src/api-output/BaseData.lua | al1020119/cocos2dx-C-C-Lua- | ec8df92b5d353cbe7682d45d05eec26897e604a6 | [
"Apache-2.0"
] | null | null | null | src/api-output/BaseData.lua | al1020119/cocos2dx-C-C-Lua- | ec8df92b5d353cbe7682d45d05eec26897e604a6 | [
"Apache-2.0"
] | 5 | 2019-09-05T12:30:07.000Z | 2021-10-14T04:51:30.000Z | ccs = ccs or {}
---BaseData object
---@class BaseData : Ref
local BaseData = {}
ccs.BaseData = BaseData
--------------------------------
--
---@return color4b_table
function BaseData:getColor() end
--------------------------------
--
---@param color
---@return BaseData
function BaseData:setColor(color) end
--------... | 18.321429 | 37 | 0.530214 |
7111f434089bc47c288524a0b3d20c1e201ff1f9 | 1,418 | ts | TypeScript | src/Creep/States/DeliverEnergy.ts | WaveHack/Screeps | 74ea41284677360ec49257d6216ab62bce8182cb | [
"MIT"
] | 1 | 2021-11-02T23:07:31.000Z | 2021-11-02T23:07:31.000Z | src/Creep/States/DeliverEnergy.ts | WaveHack/Screeps | 74ea41284677360ec49257d6216ab62bce8182cb | [
"MIT"
] | null | null | null | src/Creep/States/DeliverEnergy.ts | WaveHack/Screeps | 74ea41284677360ec49257d6216ab62bce8182cb | [
"MIT"
] | null | null | null | import {State} from "./State";
import {StateManager} from "../../Colony/Managers/StateManager";
export class DeliverEnergy implements State {
public id: string = 'deliver_energy';
public Tick(creep: Creep): void {
if (creep.store[RESOURCE_ENERGY] === 0) {
return StateManager.PushState(cre... | 32.976744 | 111 | 0.588858 |
6623a1b13de6933b0589bef4e9bbdfcd05437fdd | 1,153 | hpp | C++ | src/AssimpWorker/connection/QueueConsumer.hpp | dfki-asr/atlas-worker | e6c0ba828e8e99172e70e721f2d7fbe5e2882f3f | [
"Apache-2.0"
] | null | null | null | src/AssimpWorker/connection/QueueConsumer.hpp | dfki-asr/atlas-worker | e6c0ba828e8e99172e70e721f2d7fbe5e2882f3f | [
"Apache-2.0"
] | 3 | 2015-08-26T09:05:58.000Z | 2016-11-17T12:26:58.000Z | src/AssimpWorker/connection/QueueConsumer.hpp | dfki-asr/atlas-worker | e6c0ba828e8e99172e70e721f2d7fbe5e2882f3f | [
"Apache-2.0"
] | 1 | 2021-11-05T12:51:38.000Z | 2021-11-05T12:51:38.000Z | /*
* This file is part of ATLAS. It is subject to the license terms in
* the LICENSE file found in the top-level directory of this distribution.
* (Also avialable at http://www.apache.org/licenses/LICENSE-2.0.txt)
* You may not use this file except in compliance with the License.
*/
#pragma once
#pragma warning (push,... | 27.452381 | 151 | 0.74588 |
759c56440a6d6d86288bc702c859a2c9c8dc6cd9 | 1,143 | h | C | System/Library/PrivateFrameworks/ITMLKit.framework/_IKJSRestrictions.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 12 | 2019-06-02T02:42:41.000Z | 2021-04-13T07:22:20.000Z | System/Library/PrivateFrameworks/ITMLKit.framework/_IKJSRestrictions.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/ITMLKit.framework/_IKJSRestrictions.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 3 | 2019-06-11T02:46:10.000Z | 2019-12-21T14:58:16.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:45:34 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/ITMLKit.framework/ITMLKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Li... | 34.636364 | 81 | 0.804899 |
a912f843eed90da482d2adc4556f60b62d4ed31e | 132 | kt | Kotlin | android/app/src/main/kotlin/com/example/restaurant_menu/MainActivity.kt | Eroo36/restaruant-menu | 8ebdd0764c479f2e9f39b51b81ae264ebe80a681 | [
"Apache-2.0"
] | null | null | null | android/app/src/main/kotlin/com/example/restaurant_menu/MainActivity.kt | Eroo36/restaruant-menu | 8ebdd0764c479f2e9f39b51b81ae264ebe80a681 | [
"Apache-2.0"
] | null | null | null | android/app/src/main/kotlin/com/example/restaurant_menu/MainActivity.kt | Eroo36/restaruant-menu | 8ebdd0764c479f2e9f39b51b81ae264ebe80a681 | [
"Apache-2.0"
] | null | null | null | package com.example.restaurant_menu
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 18.857143 | 51 | 0.833333 |
8e1bbeae7e2eaf99ba4c7dcb5258ad14b4fca1e0 | 2,581 | rb | Ruby | lib/language_pack/helpers/bundler_wrapper.rb | ukd1/heroku-buildpack-turbo-sprockets | 124bb191e6f9b404d3204856a6ff180d66189779 | [
"MIT"
] | 1 | 2015-08-05T14:44:25.000Z | 2015-08-05T14:44:25.000Z | lib/language_pack/helpers/bundler_wrapper.rb | ukd1/heroku-buildpack-turbo-sprockets | 124bb191e6f9b404d3204856a6ff180d66189779 | [
"MIT"
] | null | null | null | lib/language_pack/helpers/bundler_wrapper.rb | ukd1/heroku-buildpack-turbo-sprockets | 124bb191e6f9b404d3204856a6ff180d66189779 | [
"MIT"
] | 2 | 2015-08-05T14:44:28.000Z | 2021-04-25T05:17:18.000Z | class LanguagePack::Helpers::BundlerWrapper
class GemfileParseError < StandardError
def initialize(error)
msg = "There was an error parsing your Gemfile, we cannot continue\n"
msg << error.message
self.set_backtrace(error.backtrace)
super msg
end
end
VENDOR_URL = LanguageP... | 25.81 | 88 | 0.647036 |
d5e3971e002af1df4e564e549a1027993feaca41 | 2,052 | lua | Lua | dotfiles/nvim/lua/configs/lsp/init.lua | saurabhchardereal/env | dffe4c1d50ab64a6176ea87ca5f1e4e236391860 | [
"MIT"
] | null | null | null | dotfiles/nvim/lua/configs/lsp/init.lua | saurabhchardereal/env | dffe4c1d50ab64a6176ea87ca5f1e4e236391860 | [
"MIT"
] | null | null | null | dotfiles/nvim/lua/configs/lsp/init.lua | saurabhchardereal/env | dffe4c1d50ab64a6176ea87ca5f1e4e236391860 | [
"MIT"
] | null | null | null | -- Set global updatetime (null-ls and nvim-cmp also depends on it)
vim.opt.updatetime = 400
local lspconfig = require("lspconfig")
local handlers = require("configs.lsp.handlers")
local on_attach = require("configs.lsp.events").on_attach
-- List of servers to install and setup automatically
local servers = {
"css... | 25.65 | 73 | 0.641813 |
b861137a39c6f3c16ae1c71c189b26f85f9b737c | 235 | asm | Assembly | libsrc/_DEVELOPMENT/l/z80/integer/l_neg_bc.asm | ahjelm/z88dk | c4de367f39a76b41f6390ceeab77737e148178fa | [
"ClArtistic"
] | 4 | 2021-12-23T15:34:05.000Z | 2021-12-23T15:36:16.000Z | libsrc/_DEVELOPMENT/l/z80/integer/l_neg_bc.asm | ahjelm/z88dk | c4de367f39a76b41f6390ceeab77737e148178fa | [
"ClArtistic"
] | 2 | 2022-03-20T22:17:35.000Z | 2022-03-24T16:10:00.000Z | libsrc/_DEVELOPMENT/l/z80/integer/l_neg_bc.asm | ahjelm/z88dk | c4de367f39a76b41f6390ceeab77737e148178fa | [
"ClArtistic"
] | null | null | null |
SECTION code_clib
SECTION code_l
PUBLIC l_neg_bc
; negate bc
;
; enter : bc = int
;
; exit : bc = -bc
;
; uses : af, bc, carry unaffected
.l_neg_bc
ld a,c
cpl
ld c,a
ld a,b
cpl
ld b,a
inc bc
ret
| 9.038462 | 34 | 0.553191 |
81f81872d950236ca7345e3c2fa36729a0048199 | 1,830 | dart | Dart | packages/instrumentation_adapter/lib/instrumentation_adapter.dart | abhikumar08/plugins | 90aaca84a697fb1cf714e8570cdde0c38c2fda11 | [
"BSD-3-Clause"
] | 6 | 2019-09-22T20:40:35.000Z | 2021-08-19T20:53:06.000Z | packages/instrumentation_adapter/lib/instrumentation_adapter.dart | abhikumar08/plugins | 90aaca84a697fb1cf714e8570cdde0c38c2fda11 | [
"BSD-3-Clause"
] | 3 | 2019-09-22T17:44:57.000Z | 2019-10-10T14:00:21.000Z | packages/instrumentation_adapter/lib/instrumentation_adapter.dart | abhikumar08/plugins | 90aaca84a697fb1cf714e8570cdde0c38c2fda11 | [
"BSD-3-Clause"
] | 14 | 2019-09-10T14:13:45.000Z | 2021-12-02T09:09:03.000Z | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:flutter... | 37.346939 | 77 | 0.736612 |
1a6e08cd6da0224f4f461b44e78af5e0ea8a9b48 | 5,890 | rs | Rust | src/utils.rs | AlexKhomich/WoffDecoderLib | c87faf94ccfd5d3021db86fa146c6fd9b0938b06 | [
"Apache-2.0"
] | null | null | null | src/utils.rs | AlexKhomich/WoffDecoderLib | c87faf94ccfd5d3021db86fa146c6fd9b0938b06 | [
"Apache-2.0"
] | null | null | null | src/utils.rs | AlexKhomich/WoffDecoderLib | c87faf94ccfd5d3021db86fa146c6fd9b0938b06 | [
"Apache-2.0"
] | null | null | null | use std::io::Cursor;
use byteorder::{BigEndian, ReadBytesExt};
use std::fs::File;
use std::io::{BufReader, Read, Write};
use bytebuffer::ByteBuffer;
/// Reads data from file to buffer
/// If error occurs - prints path to file and err description to stdout
pub fn read_file(path: &str, buf: &mut Vec<u8>) -> crate::File... | 32.541436 | 99 | 0.602377 |
9b0aaf3ca76e56c9947067e381cdc261a038c662 | 297 | sql | SQL | examples/init.sql | sjansen/pgutil | d9ab845dad9d577e1c1682467a9a3c7a5784c523 | [
"MIT"
] | null | null | null | examples/init.sql | sjansen/pgutil | d9ab845dad9d577e1c1682467a9a3c7a5784c523 | [
"MIT"
] | 40 | 2019-02-27T15:00:12.000Z | 2022-02-12T04:06:58.000Z | examples/init.sql | sjansen/pgutil | d9ab845dad9d577e1c1682467a9a3c7a5784c523 | [
"MIT"
] | 1 | 2020-07-28T16:12:46.000Z | 2020-07-28T16:12:46.000Z | CREATE SCHEMA IF NOT EXISTS pgutil_demo
;
CREATE TABLE IF NOT EXISTS pgutil_demo.words (
id BIGSERIAL NOT NULL,
timestamp TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
value VARCHAR(10) NOT NULL
)
;
DELETE FROM pgutil_demo.words
WHERE timestamp < now() - '1 minutes'::interval
;
| 24.75 | 57 | 0.707071 |
cf7a8a54dc1f0739999b847c443e0a6b5f41ea07 | 67 | css | CSS | docs/app_threeJSScene/main.css | fsereno/portfolio | ec9df5e1678de906dedaa03e325ee1faa11ecc3b | [
"MIT"
] | 1 | 2019-02-14T21:32:08.000Z | 2019-02-14T21:32:08.000Z | docs/app_threeJSScene/main.css | fsereno/portfolio | ec9df5e1678de906dedaa03e325ee1faa11ecc3b | [
"MIT"
] | 6 | 2020-07-08T13:40:45.000Z | 2022-02-27T21:16:41.000Z | docs/app_threeJSScene/main.css | fsereno/portfolio | ec9df5e1678de906dedaa03e325ee1faa11ecc3b | [
"MIT"
] | null | null | null | body{height:100vh;margin:0}body h1{color:#000}canvas{display:block} | 67 | 67 | 0.80597 |
dd848d724adbc3071a1dfd45d72042ffb111660e | 7,680 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_123.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_123.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_123.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xa730, %rsi
lea addresses_normal_ht+0x5390, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
xor %rax, %rax
mov $127, %rcx
rep movsb
nop
nop
nop
cmp $56080, %r8
lea addresses_normal_ht+0x14690, %... | 34.439462 | 2,999 | 0.653906 |
f1b3c9f86238b4cac998561cf2f211700729b196 | 1,855 | rb | Ruby | lib/libyui_client/http/widget_controller.rb | sofiasyria/libyui_client | 40c4d7ed5ab8cebf23c7f99b116b65a6d4b54d59 | [
"MIT"
] | null | null | null | lib/libyui_client/http/widget_controller.rb | sofiasyria/libyui_client | 40c4d7ed5ab8cebf23c7f99b116b65a6d4b54d59 | [
"MIT"
] | null | null | null | lib/libyui_client/http/widget_controller.rb | sofiasyria/libyui_client | 40c4d7ed5ab8cebf23c7f99b116b65a6d4b54d59 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module LibyuiClient
module Http
class WidgetController
def initialize(host:, port:)
@host = host
@port = port
end
# Find a widget using the filter.
# @param filter [Hash] identifiers to find a widget
# @param timeout [Numeric] how long ... | 32.54386 | 94 | 0.621563 |
e9b716f3dc1b576750cced8757d801b022767ceb | 449 | rb | Ruby | app/models/closest_time_zone_finder.rb | hackaru-app/api | 9cc93ec48864829cb43ac10520f44dbaaf435c69 | [
"MIT"
] | 7 | 2020-02-19T03:25:34.000Z | 2021-12-01T23:33:05.000Z | app/models/closest_time_zone_finder.rb | hackaru-app/api | 9cc93ec48864829cb43ac10520f44dbaaf435c69 | [
"MIT"
] | 732 | 2020-03-19T17:01:31.000Z | 2022-03-26T05:24:17.000Z | app/models/closest_time_zone_finder.rb | hackaru-app/api | 9cc93ec48864829cb43ac10520f44dbaaf435c69 | [
"MIT"
] | 2 | 2021-04-05T12:09:15.000Z | 2021-09-26T16:10:39.000Z | # frozen_string_literal: true
class ClosestTimeZoneFinder
def initialize(time_zone)
@time_zone = time_zone
end
def find
return @time_zone unless should_find?
period = TZInfo::Timezone.get(@time_zone).period_for_utc(Time.now.utc)
ActiveSupport::TimeZone[period.utc_offset].tzinfo.identifier
end... | 20.409091 | 74 | 0.74833 |
719e06c53d594589644e17f7481c90fed4aa1335 | 407 | ts | TypeScript | packages/gaspy-tool/src/index.ts | Joshwoooooooooooooooooooooooooooooooong/mege | 783711f96af50c94481e421c3d71b28fb0f28715 | [
"MIT"
] | 3 | 2020-12-25T11:09:20.000Z | 2021-01-16T14:08:18.000Z | packages/gaspy-tool/src/index.ts | Joshwoooooooooooooooooooooooooooooooong/mege | 783711f96af50c94481e421c3d71b28fb0f28715 | [
"MIT"
] | null | null | null | packages/gaspy-tool/src/index.ts | Joshwoooooooooooooooooooooooooooooooong/mege | 783711f96af50c94481e421c3d71b28fb0f28715 | [
"MIT"
] | 1 | 2020-12-25T11:09:42.000Z | 2020-12-25T11:09:42.000Z | import color from './tools/color'
import log from './tools/log'
import exit from './tools/exit'
import getPkgs from './tools/get_pkgs'
import findPkg from './tools/find_pkg'
import getPort from './tools/get_port'
import getRootPkg from './tools/get_root_pkg'
import Defer from './tools/Defer'
import env from './variable... | 33.916667 | 78 | 0.744472 |
04dccb60b23eddcebe9fa1f7d596cffc6de0c023 | 246 | java | Java | PowerRpc/src/main/java/tn/threadnew/powerrpc/register/loadblance/LoadBlance.java | ThreadNew/PowerRPC | 5067abf9ead16a81d5b9b4de54a1a53532c84ef8 | [
"Apache-2.0"
] | 2 | 2020-12-26T03:42:23.000Z | 2020-12-26T03:42:25.000Z | PowerRpc/src/main/java/tn/threadnew/powerrpc/register/loadblance/LoadBlance.java | ThreadNew/PowerRPC | 5067abf9ead16a81d5b9b4de54a1a53532c84ef8 | [
"Apache-2.0"
] | null | null | null | PowerRpc/src/main/java/tn/threadnew/powerrpc/register/loadblance/LoadBlance.java | ThreadNew/PowerRPC | 5067abf9ead16a81d5b9b4de54a1a53532c84ef8 | [
"Apache-2.0"
] | null | null | null | package tn.threadnew.powerrpc.register.loadblance;
/**
* @Author: ThreadNew
* @Description: TODO 通用的负载均衡的算法
* @Date: 2020/10/25 8:46
* @Version: 1.0
*/
public interface LoadBlance<T> {
public T loadBlance(Object obj) throws Exception;
} | 22.363636 | 53 | 0.711382 |
e123f94453fc1d7ba3821b4ea1b2a4131bca9e1d | 747 | kt | Kotlin | base/src/main/kotlin/com/tuanhv/mvvmarch/base/ui/BaseDialog.kt | oHoangVanTuan/mvvm_arch_base | 6e93d618e29eb2f9f607c746e305e79b662cc9ac | [
"MIT"
] | null | null | null | base/src/main/kotlin/com/tuanhv/mvvmarch/base/ui/BaseDialog.kt | oHoangVanTuan/mvvm_arch_base | 6e93d618e29eb2f9f607c746e305e79b662cc9ac | [
"MIT"
] | null | null | null | base/src/main/kotlin/com/tuanhv/mvvmarch/base/ui/BaseDialog.kt | oHoangVanTuan/mvvm_arch_base | 6e93d618e29eb2f9f607c746e305e79b662cc9ac | [
"MIT"
] | 1 | 2020-12-16T13:54:42.000Z | 2020-12-16T13:54:42.000Z | package com.tuanhv.mvvmarch.base.ui
import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.view.Window
/**
* Created by hoang.van.tuan on 8/7/18.
*/
abstract class BaseDialog : Dialog {
constructor(context: Context) : super(context)
constructor(context: Context, th... | 25.758621 | 79 | 0.737617 |
dcfa9f65ddbeb7028c26de42d3e8c84894bdda77 | 308 | swift | Swift | Twidere/Models/UserKey.swift | MaxSmile/Twidere-iOS | ec75ae704e5f63c6177015a4527c22643cdd79ae | [
"Apache-2.0"
] | null | null | null | Twidere/Models/UserKey.swift | MaxSmile/Twidere-iOS | ec75ae704e5f63c6177015a4527c22643cdd79ae | [
"Apache-2.0"
] | null | null | null | Twidere/Models/UserKey.swift | MaxSmile/Twidere-iOS | ec75ae704e5f63c6177015a4527c22643cdd79ae | [
"Apache-2.0"
] | 1 | 2018-08-10T01:00:45.000Z | 2018-08-10T01:00:45.000Z | //
// UserKey.swift
// Twidere
//
// Created by Mariotaku Lee on 16/7/12.
// Copyright © 2016年 Mariotaku Dev. All rights reserved.
//
import Foundation
struct UserKey {
var id: String
var host: String?
init(id: String, host: String?) {
self.id = id
self.host = host
}
} | 16.210526 | 57 | 0.600649 |
1bf4b7f8d29312209402e324373ac9b44e7cb578 | 1,921 | py | Python | virtcam/fade.py | badmonkey/virtual-camera | 712fb6126f407304940ff678159a50695a848093 | [
"MIT"
] | null | null | null | virtcam/fade.py | badmonkey/virtual-camera | 712fb6126f407304940ff678159a50695a848093 | [
"MIT"
] | null | null | null | virtcam/fade.py | badmonkey/virtual-camera | 712fb6126f407304940ff678159a50695a848093 | [
"MIT"
] | null | null | null | import signal
import cv2
import numpy as np
from pipey import Pipeable
import virtcam.debug as debug
from virtcam.base import Frame, FrameFilter, FrameProcessor, Image, Mask
class CrossFade(FrameFilter):
def __init__(self, source: FrameProcessor, other: FrameProcessor, fade: int = 100):
super().__init__(... | 29.553846 | 96 | 0.549714 |
c09956f6572310268904ebfb3129676de7d19c08 | 249 | sql | SQL | CREATE_TABLE_Connection_Issues.sql | code-sire/netgear_cm1000_scraper | a45c279ad8ac66d9fcda08320f3c63b57015bd9b | [
"CC0-1.0"
] | 1 | 2021-04-30T03:35:29.000Z | 2021-04-30T03:35:29.000Z | CREATE_TABLE_Connection_Issues.sql | code-sire/netgear_cm1000_scraper | a45c279ad8ac66d9fcda08320f3c63b57015bd9b | [
"CC0-1.0"
] | null | null | null | CREATE_TABLE_Connection_Issues.sql | code-sire/netgear_cm1000_scraper | a45c279ad8ac66d9fcda08320f3c63b57015bd9b | [
"CC0-1.0"
] | null | null | null | CREATE TABLE `Connection_Issues` (
`RecordID` int(11) NOT NULL AUTO_INCREMENT,
`Downtime` int(11) DEFAULT NULL,
`Capture_DT` datetime DEFAULT NULL,
PRIMARY KEY (`RecordID`)
) ENGINE = InnoDB AUTO_INCREMENT = 4 DEFAULT CHARSET = utf8; | 41.5 | 60 | 0.714859 |
0e4f2cc8ef008c0bcfe1aca2c96de64b14a5e59d | 935 | html | HTML | index.html | amelia123456789/amelia123456789.github.io | d01a85b5092f6d5c57c960e36a29f20f7d8cb65b | [
"MIT"
] | null | null | null | index.html | amelia123456789/amelia123456789.github.io | d01a85b5092f6d5c57c960e36a29f20f7d8cb65b | [
"MIT"
] | null | null | null | index.html | amelia123456789/amelia123456789.github.io | d01a85b5092f6d5c57c960e36a29f20f7d8cb65b | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>NEGG #2</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id = "top">
<div id = "negg">
<title>NEGG#2</title>
<h1>NEGG#2</h1>
<p>Hello this NEGG#2 I am here with Orignal NEGG and Princess NEGG, Sadly Archer N... | 28.333333 | 106 | 0.68877 |
ff91ad0831a328a347bd66fe7daa747948bff945 | 988 | lua | Lua | lua/actions/toggle_ability.lua | kimbring2/MOBA_RL | f3a02142e9125ee959eedd792b52d64545f5a3a5 | [
"MIT"
] | 8 | 2021-11-01T15:38:25.000Z | 2022-03-14T04:41:41.000Z | lua/actions/toggle_ability.lua | kimbring2/MOBA_RL | f3a02142e9125ee959eedd792b52d64545f5a3a5 | [
"MIT"
] | null | null | null | lua/actions/toggle_ability.lua | kimbring2/MOBA_RL | f3a02142e9125ee959eedd792b52d64545f5a3a5 | [
"MIT"
] | 1 | 2022-03-16T05:26:00.000Z | 2022-03-16T05:26:00.000Z | -------------------------------------------------------------------------------
--- AUTHOR: Nostrademous
-------------------------------------------------------------------------------
local ToggleAbility = {}
ToggleAbility.Name = "Toggle Ability"
ToggleAbility.NumArgs = 2
-------------------------------------------... | 29.058824 | 102 | 0.5 |
8386af58d68647cb11fde8ac51e1a87e1a038885 | 1,327 | rs | Rust | src/decoded_swf.rs | iirelu/swf-headers | 0d195c69bd9bcd0f9af6cd9a8ec4c727d37e1a9c | [
"MIT"
] | 3 | 2015-08-22T03:56:07.000Z | 2016-10-09T06:06:56.000Z | src/decoded_swf.rs | iirelu/swf-headers | 0d195c69bd9bcd0f9af6cd9a8ec4c727d37e1a9c | [
"MIT"
] | 2 | 2015-08-20T23:41:38.000Z | 2016-01-10T19:00:37.000Z | src/decoded_swf.rs | iirelu/swf-headers | 0d195c69bd9bcd0f9af6cd9a8ec4c727d37e1a9c | [
"MIT"
] | 1 | 2018-11-22T00:40:56.000Z | 2018-11-22T00:40:56.000Z | use std::io;
use std::io::Read;
use std::fs::File;
use flate2::FlateReadExt;
use flate2::read::ZlibDecoder;
use lzma;
use super::Signature;
use error::Error;
enum Inner<R: Read> {
Raw(File),
Zlib(ZlibDecoder<R>),
Lzma(lzma::Reader<R>)
}
/// Handles decompressing swf innards and reading the results.
///
... | 26.54 | 84 | 0.608892 |
c4531bc3aadbc2fff9f30d71dc05a45daa47c696 | 40,987 | h | C | Sources/Elastos/Frameworks/Droid/DevSamples/bak/Snowfox/CGeckoSurfaceView.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/DevSamples/bak/Snowfox/CGeckoSurfaceView.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/DevSamples/bak/Snowfox/CGeckoSurfaceView.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z |
#ifndef __GECKOSURFACEVIEW_H__
#define __GECKOSURFACEVIEW_H__
#include "_CGeckoSurfaceView.h"
//#include "ReentrantLock.h"
#include "CGeckoInputConnection.h"
//#include <elastos/ElRefBase.h>
using Elastos::IO::IBuffer;
using Elastos::Utility::IObjectInt32Map;
using Elastos::Droid::Content::IContext;
using Elastos::D... | 25.681078 | 81 | 0.590992 |
3944a326a2bf14ca3046127a47424cb35e1cd2a2 | 384 | kt | Kotlin | Training/BaseFunction/Arrgument.kt | koichi210/Kotlin | a8d01a47fab084ebc77004a8375a41b4b37eff0a | [
"MIT"
] | null | null | null | Training/BaseFunction/Arrgument.kt | koichi210/Kotlin | a8d01a47fab084ebc77004a8375a41b4b37eff0a | [
"MIT"
] | null | null | null | Training/BaseFunction/Arrgument.kt | koichi210/Kotlin | a8d01a47fab084ebc77004a8375a41b4b37eff0a | [
"MIT"
] | null | null | null | fun main(args: Array<String>) {
// 引数がカラっぽかチェック
if (args.isNotEmpty()) {
// カラでなければ引数を利用
println("Hello, ${args[0]}!")
} else {
println("No arrgument")
}
//三項演算子も使える?書き方はExcelに似ている
// val name = if(args.isNotEmpty() args[0... | 25.6 | 69 | 0.473958 |
64ff6fa0485a3b0164749bf450eabfa1fb683083 | 7,195 | java | Java | PhotoGallery_v4.3_9.0.1/src/xilodyne/photo_gallery/threads/Queue.java | xilodyne/PhotoGallery | d237e914083b45cd0e4aee34c027f088bbacf4ae | [
"Unlicense"
] | null | null | null | PhotoGallery_v4.3_9.0.1/src/xilodyne/photo_gallery/threads/Queue.java | xilodyne/PhotoGallery | d237e914083b45cd0e4aee34c027f088bbacf4ae | [
"Unlicense"
] | null | null | null | PhotoGallery_v4.3_9.0.1/src/xilodyne/photo_gallery/threads/Queue.java | xilodyne/PhotoGallery | d237e914083b45cd0e4aee34c027f088bbacf4ae | [
"Unlicense"
] | null | null | null | package xilodyne.photo_gallery.threads;
import java.util.ArrayList;
import java.util.Vector;
import xilodyne.photo_gallery.globals.Globals;
import xilodyne.photo_gallery.globals.Logging;
public class Queue extends Thread {
private final static boolean TRUE = true;
//private final static int EMPTY = 0;
private st... | 21.541916 | 77 | 0.641557 |
623d5ecf85499a44f96806ae5f8f200e8b60095b | 1,761 | asm | Assembly | Borland/CBuilder5/Source/RTL/source/cstrings/strcmp.asm | TrevorDArcyEvans/DivingMagpieSoftware | 7ffcfef653b110e514d5db735d11be0aae9953ec | [
"MIT"
] | 1 | 2021-05-27T10:27:25.000Z | 2021-05-27T10:27:25.000Z | Borland/CBuilder5/Source/RTL/source/cstrings/strcmp.asm | TrevorDArcyEvans/Diving-Magpie-Software | 7ffcfef653b110e514d5db735d11be0aae9953ec | [
"MIT"
] | null | null | null | Borland/CBuilder5/Source/RTL/source/cstrings/strcmp.asm | TrevorDArcyEvans/Diving-Magpie-Software | 7ffcfef653b110e514d5db735d11be0aae9953ec | [
"MIT"
] | null | null | null | ;[]-----------------------------------------------------------------[]
;| STRCMP.ASM -- compare one string to another |
;[]-----------------------------------------------------------------[]
;
; C/C++ Run Time Library - Version 10.0
;
; Copyright (c) 1991, 2000 by Inprise Corporation... | 19.786517 | 72 | 0.529245 |
724932939ca39e4745bec25dfab6d35bffdf39dc | 2,362 | rs | Rust | exercise/g_collections_enums/src/main.rs | godsmith99x/ultimate_rust_crash_course | f6fc2b6dc67cdd48bd207b44396bcb5895a4a668 | [
"MIT"
] | 598 | 2020-04-11T08:48:03.000Z | 2022-03-31T14:39:39.000Z | exercise/g_collections_enums/src/main.rs | godsmith99x/ultimate_rust_crash_course | f6fc2b6dc67cdd48bd207b44396bcb5895a4a668 | [
"MIT"
] | 12 | 2020-04-01T09:48:17.000Z | 2022-02-21T20:02:26.000Z | exercise/g_collections_enums/src/main.rs | godsmith99x/ultimate_rust_crash_course | f6fc2b6dc67cdd48bd207b44396bcb5895a4a668 | [
"MIT"
] | 308 | 2020-04-17T16:38:03.000Z | 2022-03-31T14:38:32.000Z | // Silence some warnings that could distract from the exercise
#![allow(unused_variables, unused_mut, dead_code)]
// Someone is shooting arrows at a target. We need to classify the shots.
//
// 1a. Create an enum called `Shot` with variants:
// - `Bullseye`
// - `Hit`, containing the distance from the center (an f64)... | 30.675325 | 97 | 0.583827 |
261d77927ca2d256b307d103a1717ba9efe15319 | 749 | java | Java | src/test/java/sword/collections/TestUtils.java | carlos-sancho-ramirez/lib-java-collections | 24210017cf9eb2a765dfe9fef7a91d6804233bf7 | [
"MIT"
] | null | null | null | src/test/java/sword/collections/TestUtils.java | carlos-sancho-ramirez/lib-java-collections | 24210017cf9eb2a765dfe9fef7a91d6804233bf7 | [
"MIT"
] | null | null | null | src/test/java/sword/collections/TestUtils.java | carlos-sancho-ramirez/lib-java-collections | 24210017cf9eb2a765dfe9fef7a91d6804233bf7 | [
"MIT"
] | null | null | null | package sword.collections;
final class TestUtils {
private static final int[] INT_VALUES = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 17, 22, 46, 124, 1023, 16678, 65535,
-1, -2, -7, -24, -65535, Integer.MAX_VALUE, Integer.MIN_VALUE
};
private static final String[] STRING_VALUES = {
... | 26.75 | 86 | 0.538051 |
cd2aa8d8fd09ab37135c74df1d1f2595e90e2ecb | 3,129 | lua | Lua | source/01_detector/4_test.lua | shopping-tang/kaggle_10th_detect_tired | 83952663c43d1437a5656d5a673820f9c482f35b | [
"MIT"
] | 77 | 2016-08-03T11:19:38.000Z | 2022-03-18T06:04:30.000Z | source/01_detector/4_test.lua | omar-florez/kaggle-distracted-driver-detection | 83952663c43d1437a5656d5a673820f9c482f35b | [
"MIT"
] | 2 | 2017-01-04T03:49:48.000Z | 2019-04-11T17:30:14.000Z | source/01_detector/4_test.lua | omar-florez/kaggle-distracted-driver-detection | 83952663c43d1437a5656d5a673820f9c482f35b | [
"MIT"
] | 34 | 2016-08-03T15:11:27.000Z | 2019-05-26T06:45:49.000Z |
------------------------------
-- library
------------------------------
require 'torch'
require 'xlua'
require 'cunn'
------------------------------
-- function
------------------------------
function test()
collectgarbage()
print("")
path.mkdir("preprocess")
path.mkdir("../../dataset/test_mask_pred")
local... | 28.445455 | 89 | 0.669543 |
a12fa2772805bafd60175fc654b8828335a1454c | 954 | sql | SQL | sql/_01_object/_09_partition/_004_manipulation/cases/1341.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 9 | 2016-03-24T09:51:52.000Z | 2022-03-23T10:49:47.000Z | sql/_01_object/_09_partition/_004_manipulation/cases/1341.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 173 | 2016-04-13T01:16:54.000Z | 2022-03-16T07:50:58.000Z | sql/_01_object/_09_partition/_004_manipulation/cases/1341.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 38 | 2016-03-24T17:10:31.000Z | 2021-10-30T22:55:45.000Z | --test insert(string) for list partition(have NULL value) with null value.
create table list_test(id int ,
test_char char(50),
test_varchar varchar(2000),
test_bit bit(16),
test_varbit bit varying(20), ... | 47.7 | 89 | 0.479036 |
b624981b8b5266eb1fb987cfeb7280e157b76366 | 16,958 | lua | Lua | resources/[vehicles]/caue-vehicles/client/cl_fuel.lua | Cheathh/caue-base | 26188e62e0f48d87e5f3e12b208f0ef3161b77e7 | [
"WTFPL"
] | 1 | 2022-03-29T21:15:23.000Z | 2022-03-29T21:15:23.000Z | resources/[vehicles]/caue-vehicles/client/cl_fuel.lua | BenSaponar/caue-base | 26188e62e0f48d87e5f3e12b208f0ef3161b77e7 | [
"WTFPL"
] | null | null | null | resources/[vehicles]/caue-vehicles/client/cl_fuel.lua | BenSaponar/caue-base | 26188e62e0f48d87e5f3e12b208f0ef3161b77e7 | [
"WTFPL"
] | null | null | null | --[[
Variables
]]
DecorRegister("Vehicle-Fuel", 3)
local Fuel = 50
local DrivingSet = false
local LastVehicle = nil
local lastupdate = 0
local fuelMulti = 0
--[[
Functions
]]
function SetVehicleFuel(vehicle, fuel, random)
if not DoesEntityExist(vehicle) then return end
if fuel and type(fuel) == "numb... | 27.937397 | 154 | 0.534969 |
90891619972a6771246633be4344d055307abd34 | 644 | py | Python | linux/ui/appserver/chatrobot_restful_api.py | elastos/Elastos.Service.CarrierGroup | 235904845c2548274e0d87eb29a424716a60cbf8 | [
"MIT"
] | null | null | null | linux/ui/appserver/chatrobot_restful_api.py | elastos/Elastos.Service.CarrierGroup | 235904845c2548274e0d87eb29a424716a60cbf8 | [
"MIT"
] | null | null | null | linux/ui/appserver/chatrobot_restful_api.py | elastos/Elastos.Service.CarrierGroup | 235904845c2548274e0d87eb29a424716a60cbf8 | [
"MIT"
] | 1 | 2019-08-07T07:55:00.000Z | 2019-08-07T07:55:00.000Z | from ctypes import cdll, string_at,create_string_buffer
carrierManager = cdll.LoadLibrary("./libcarrierManager.so")
def start(ip, port, data_dir):
hostname = bytes(ip, encoding='utf-8')
data_dir = bytes(data_dir, encoding='utf-8')
print(hostname, port, data_dir)
carrierManager.start(hostname,port,data... | 29.272727 | 59 | 0.71118 |
362b578c6e0a1408fb90a664479189e4a52daf31 | 784 | dart | Dart | lib/src/models/text_pron.g.dart | edusun/wordnik-dart | c77a02870fc3f0f9aec8e7f3d21b3bf7093b8694 | [
"MIT"
] | 5 | 2018-07-03T19:46:42.000Z | 2021-01-06T00:50:23.000Z | lib/src/models/text_pron.g.dart | edusun/wordnik-dart | c77a02870fc3f0f9aec8e7f3d21b3bf7093b8694 | [
"MIT"
] | 1 | 2020-03-11T20:41:58.000Z | 2020-03-11T20:41:58.000Z | lib/src/models/text_pron.g.dart | edusun/wordnik-dart | c77a02870fc3f0f9aec8e7f3d21b3bf7093b8694 | [
"MIT"
] | 1 | 2020-03-11T19:45:26.000Z | 2020-03-11T19:45:26.000Z | // GENERATED CODE - DO NOT MODIFY BY HAND
part of 'text_pron.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
TextPron _$TextPronFromJson(Map<String, dynamic> json) {
retur... | 26.133333 | 77 | 0.529337 |
74d64c37fedfd09708ae1c4c7e6ae0ac300c27a0 | 3,885 | js | JavaScript | src/components/FocusManager.js | cAttte/ink-focus | 700680d603158aafd485c40f4f278819fda9f3d7 | [
"MIT"
] | 4 | 2020-10-18T20:17:34.000Z | 2022-03-12T13:43:01.000Z | src/components/FocusManager.js | cAttte/ink-focus | 700680d603158aafd485c40f4f278819fda9f3d7 | [
"MIT"
] | null | null | null | src/components/FocusManager.js | cAttte/ink-focus | 700680d603158aafd485c40f4f278819fda9f3d7 | [
"MIT"
] | null | null | null | const React = require("react")
const Ink = require("ink")
module.exports = class FocusManager extends React.Component {
constructor(props) {
super(props)
if (!props.children) throw new Error("FocusManagers must not be empty.")
const isFM = c => c.type === FocusManager
const childre... | 36.650943 | 85 | 0.561647 |
64fe01f99be7ef8220bce55666bb3ed64f1775d4 | 279 | dart | Dart | mini_sistema_bancario/db/enderecos.dart | Juliano-OC/Flutter-Bancario | cd54e15f29b71f38c8c28751ad17c58cee3b351e | [
"MIT"
] | null | null | null | mini_sistema_bancario/db/enderecos.dart | Juliano-OC/Flutter-Bancario | cd54e15f29b71f38c8c28751ad17c58cee3b351e | [
"MIT"
] | null | null | null | mini_sistema_bancario/db/enderecos.dart | Juliano-OC/Flutter-Bancario | cd54e15f29b71f38c8c28751ad17c58cee3b351e | [
"MIT"
] | null | null | null | import '../endereco.dart';
class Enderecos {
static List<Endereco> _enderecos = [];
void cadastrar(Endereco endereco) {
_enderecos.add(endereco);
}
Iterable<Endereco> buscar(String cep) {
return _enderecos.where((objEndereco) => objEndereco.cep == cep);
}
}
| 19.928571 | 69 | 0.681004 |
e866f4af793a010ee661fea1b78f2a6e04fb77a8 | 1,046 | cpp | C++ | Plugins/RealSensePlugin/Source/RealSensePlugin/Private/RealSenseFaceExpressions.cpp | getnamo/realsense-ue4 | 13db568209baf4699dc74e04d4e79d84391afa24 | [
"MIT"
] | 47 | 2015-01-08T05:15:08.000Z | 2021-12-29T07:53:35.000Z | Plugins/RealSensePlugin/Source/RealSensePlugin/Private/RealSenseFaceExpressions.cpp | getnamo/realsense-ue4 | 13db568209baf4699dc74e04d4e79d84391afa24 | [
"MIT"
] | 4 | 2015-07-27T10:50:47.000Z | 2016-05-01T16:28:11.000Z | Plugins/RealSensePlugin/Source/RealSensePlugin/Private/RealSenseFaceExpressions.cpp | getnamo/realsense-ue4 | 13db568209baf4699dc74e04d4e79d84391afa24 | [
"MIT"
] | 16 | 2015-06-17T15:37:20.000Z | 2021-04-04T15:40:19.000Z | #include "RealSensePluginPrivatePCH.h"
#include "RealSenseFaceExpressions.h"
#include "pxcsensemanager.h"
#include "pxcfacedata.h"
#include "RealSenseUtility.h"
URealSenseFaceExpressions::URealSenseFaceExpressions(const FObjectInitializer &init) : UObject(init)
{
expression = init.CreateDefaultSubobject<URealSenseFac... | 40.230769 | 101 | 0.842256 |
ef6d6bec56ab36922ee972352d2bf921b69cbbae | 3,574 | sql | SQL | Data/MeetHubDatabase_UserProfile.sql | adiiaditya/MeetHub | 4df4d7fa51b0c1b0ce97c57ec9ad49f4f8da1ed5 | [
"Apache-2.0"
] | 1 | 2017-01-22T18:20:56.000Z | 2017-01-22T18:20:56.000Z | Data/MeetHubDatabase_UserProfile.sql | adiiaditya/MeetHub | 4df4d7fa51b0c1b0ce97c57ec9ad49f4f8da1ed5 | [
"Apache-2.0"
] | null | null | null | Data/MeetHubDatabase_UserProfile.sql | adiiaditya/MeetHub | 4df4d7fa51b0c1b0ce97c57ec9ad49f4f8da1ed5 | [
"Apache-2.0"
] | 1 | 2021-03-10T17:06:26.000Z | 2021-03-10T17:06:26.000Z | -- MySQL dump 10.13 Distrib 5.7.12, for osx10.9 (x86_64)
--
-- Host: localhost Database: MeetHubDatabase
-- ------------------------------------------------------
-- Server version 5.7.15
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESUL... | 56.730159 | 1,273 | 0.714326 |
40c72d8c13019c8adb4e58014aea773d5b1d59b1 | 2,362 | py | Python | bucket_throttling/integrations/rest_framework.py | atten/django-bucket-throttling | 1a80ec9474d783d1010826c02b66f723c0d690c4 | [
"MIT"
] | 2 | 2017-02-28T10:01:48.000Z | 2017-03-10T14:00:31.000Z | bucket_throttling/integrations/rest_framework.py | atten/bucket_throttling | 1a80ec9474d783d1010826c02b66f723c0d690c4 | [
"MIT"
] | null | null | null | bucket_throttling/integrations/rest_framework.py | atten/bucket_throttling | 1a80ec9474d783d1010826c02b66f723c0d690c4 | [
"MIT"
] | null | null | null | from rest_framework.exceptions import Throttled
from ..utils import *
from .django import HttpResponseThrottled
from ..translation import localize_timedelta
class ThrottledViewSetMixIn:
"""
Позволяет применять правила троттлинга перед выполнением запросов.
В пользовательских классах можно задавать правил... | 38.721311 | 103 | 0.686283 |
8c5b4f7b95f2de923e061bc2196b874732308fb1 | 292 | kt | Kotlin | app/src/test/java/org/rhinoonabus/stackoverflowbrowser/repository/GitHubSearchForRepositoryUsersResponseEntityFactory.kt | rainqer/StackOverflowBrowser | 0bb1122cc95f598e35bd78d6634cc1c7ab34544d | [
"MIT"
] | null | null | null | app/src/test/java/org/rhinoonabus/stackoverflowbrowser/repository/GitHubSearchForRepositoryUsersResponseEntityFactory.kt | rainqer/StackOverflowBrowser | 0bb1122cc95f598e35bd78d6634cc1c7ab34544d | [
"MIT"
] | null | null | null | app/src/test/java/org/rhinoonabus/stackoverflowbrowser/repository/GitHubSearchForRepositoryUsersResponseEntityFactory.kt | rainqer/StackOverflowBrowser | 0bb1122cc95f598e35bd78d6634cc1c7ab34544d | [
"MIT"
] | null | null | null | package org.rhinoonabus.stackoverflowbrowser.repository
object GitHubSearchForRepositoryUsersResponseEntityFactory {
val SEARCH_FOR_USER_RESPONSE_A = GitHubSearchForRepositoryUsersResponseEntity(
1,
listOf(GitHubRepositoryUserEntityFactory.USER_ENTITY_A)
)
} | 32.444444 | 82 | 0.80137 |
bcc031cedeb8cdffd92b354b02670566ffc884d3 | 753 | js | JavaScript | src/comprador.test.js | Services4All/Services4All-FrontEnd | 4ea19155acbc055e0277bb1a22dd3bbad9f926ad | [
"Apache-2.0"
] | null | null | null | src/comprador.test.js | Services4All/Services4All-FrontEnd | 4ea19155acbc055e0277bb1a22dd3bbad9f926ad | [
"Apache-2.0"
] | 40 | 2021-02-17T16:49:15.000Z | 2021-05-21T00:18:26.000Z | src/comprador.test.js | Services4All/Services4All-FrontEnd | 4ea19155acbc055e0277bb1a22dd3bbad9f926ad | [
"Apache-2.0"
] | null | null | null | import { render, screen } from '@testing-library/react';
import { BrowserRouter as Router } from 'react-router-dom';
import Comprador from "./components/comprador";
test('renders new component', () => {
render(<Router><Comprador /></Router>);
const divElement = screen.getByText(/BIENVENIDO Comprador/i);
ex... | 35.857143 | 65 | 0.674635 |
ec01edc439483f17563c57e557c77c468e477f7f | 2,378 | ps1 | PowerShell | test/Split-XLRange.Tests.ps1 | redoz/ExtraLarge | b6740f72822d508ae367bae67dc9e1f6525c258b | [
"MIT"
] | 2 | 2016-04-05T19:41:54.000Z | 2016-12-31T08:21:45.000Z | test/Split-XLRange.Tests.ps1 | redoz/ExtraLarge | b6740f72822d508ae367bae67dc9e1f6525c258b | [
"MIT"
] | 7 | 2016-04-07T09:00:27.000Z | 2016-04-26T19:34:58.000Z | test/Split-XLRange.Tests.ps1 | redoz/ExtraLarge | b6740f72822d508ae367bae67dc9e1f6525c258b | [
"MIT"
] | 1 | 2016-04-26T19:24:25.000Z | 2016-04-26T19:24:25.000Z | BeforeAll {
. $PSScriptRoot\Setup.ps1
function Test-Range {
param ($Sheet)
$worksheet = $Sheet.Worksheet
$worksheet.MergedCells | Where-Object -FilterScript {$_ -ne $null} | Should -Be $null
}
}
Describe "Split-XLRange/Sheet" {
Context "With -PassThru" {
BeforeAll {
... | 36.030303 | 136 | 0.536585 |
81ae65e7444023e1fbdeda8d6ecfa753d6fdad99 | 380 | go | Go | solutions/1-1000/901-1000/921-930/925/main_test.go | mats9693/leetcode | 650b9119482710478bde61a7adea95a6e9241025 | [
"Unlicense"
] | 9 | 2019-04-24T15:18:10.000Z | 2022-03-09T06:27:40.000Z | solutions/1-1000/901-1000/921-930/925/main_test.go | mats9693/leetcode | 650b9119482710478bde61a7adea95a6e9241025 | [
"Unlicense"
] | null | null | null | solutions/1-1000/901-1000/921-930/925/main_test.go | mats9693/leetcode | 650b9119482710478bde61a7adea95a6e9241025 | [
"Unlicense"
] | 1 | 2019-05-30T15:32:50.000Z | 2019-05-30T15:32:50.000Z | package mario
import "testing"
var testCase = []struct {
In []string
Expect bool
}{
// test cases here
{[]string{"vtkgn", "vttkgnn"}, true},
}
func TestIsLongPressedName(t *testing.T) {
tcs := testCase
for i := range tcs {
if isLongPressedName(tcs[i].In[0], tcs[i].In[1]) != tcs[i].Expect {
t.Errorf("i... | 18.095238 | 69 | 0.626316 |
46ae82140db00c7ecdc75c9171e18c7472d831be | 16,890 | html | HTML | src/main/resources/templates/esb/sender.html | hankli1985/boot-code | 8e9d59a56a35e7a805c55a66e9716dff870ad7eb | [
"MIT"
] | null | null | null | src/main/resources/templates/esb/sender.html | hankli1985/boot-code | 8e9d59a56a35e7a805c55a66e9716dff870ad7eb | [
"MIT"
] | null | null | null | src/main/resources/templates/esb/sender.html | hankli1985/boot-code | 8e9d59a56a35e7a805c55a66e9716dff870ad7eb | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>Title</title>
<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
<link rel="stylesheet" href="/css/custom.form.css" />
</head>
<body>
... | 34.469388 | 119 | 0.504796 |
6c5b768238a8c685d5f8bb34c7b12b5a931ca74a | 17,955 | sql | SQL | hakeem.sql | AhmedRabea0302/Hakeem | 9011115840edc23efffe996134140892a0d197e7 | [
"MIT"
] | null | null | null | hakeem.sql | AhmedRabea0302/Hakeem | 9011115840edc23efffe996134140892a0d197e7 | [
"MIT"
] | null | null | null | hakeem.sql | AhmedRabea0302/Hakeem | 9011115840edc23efffe996134140892a0d197e7 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.7.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 16, 2018 at 07:06 PM
-- Server version: 10.1.25-MariaDB
-- PHP Version: 7.1.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD... | 34.265267 | 464 | 0.691729 |
f4ba54eea8bc417ebdc1bdd9df3471dba9631bdb | 7,750 | asm | Assembly | Transynther/x86/_processed/NONE/_st_un_/i7-7700_9_0x48.log_21829_2263.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_st_un_/i7-7700_9_0x48.log_21829_2263.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_st_un_/i7-7700_9_0x48.log_21829_2263.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x173b0, %rdi
nop
nop
nop
nop
dec %r14
movb $0x61, (%rdi)
nop
nop
nop
nop
inc %rcx
lea addresses_UC_ht+0x4a26, %rbp
clflush (%rbp)
nop
xor $59768, %rdx
movl $0x61626364, (%rbp... | 34.598214 | 2,999 | 0.654968 |
18b65537d30d08fb366f38c1e3b26819bbd6b0cc | 3,169 | swift | Swift | AudioRecBetaUIKit/LoadingModalView.swift | arigo7/front-end-avium-sonus-beta | 0f8d6c9bd687087497d30716e6ea1bd4ee1ba982 | [
"MIT"
] | null | null | null | AudioRecBetaUIKit/LoadingModalView.swift | arigo7/front-end-avium-sonus-beta | 0f8d6c9bd687087497d30716e6ea1bd4ee1ba982 | [
"MIT"
] | null | null | null | AudioRecBetaUIKit/LoadingModalView.swift | arigo7/front-end-avium-sonus-beta | 0f8d6c9bd687087497d30716e6ea1bd4ee1ba982 | [
"MIT"
] | null | null | null | //
// SwiftUIView.swift
// AudioRecBetaUIKit
//
// Created by Ari on 8/7/21.
//
import SwiftUI
struct ModalView2: View {
/// ****** loading ball! - true - when it opens I want it there ******
@State var isLoading: Bool = true
@State var audioURL: URL
/// ***** to close modal view - (from ... | 30.471154 | 122 | 0.412117 |
7567f2ea4adb0b222cd30431fea7efced515b7db | 2,105 | h | C | CompilerTechnology/src/assembly.h | LittleNyima/BUAA-cs-core | 468e8e0bcbb65171df7299455352bf119b05c627 | [
"MIT"
] | 5 | 2021-03-04T07:24:46.000Z | 2021-11-03T10:24:38.000Z | CompilerTechnology/src/assembly.h | LittleNyima/BUAA-cs-core | 468e8e0bcbb65171df7299455352bf119b05c627 | [
"MIT"
] | null | null | null | CompilerTechnology/src/assembly.h | LittleNyima/BUAA-cs-core | 468e8e0bcbb65171df7299455352bf119b05c627 | [
"MIT"
] | 1 | 2021-09-26T03:58:07.000Z | 2021-09-26T03:58:07.000Z | #ifndef ASSEMBLY_H
#define ASSEMBLY_H
#include <vector>
#include "pseudo.h"
#include "gtree.h"
#include "optlevel.h"
class SimpleAssembler
{
private:
vector<Pseudo> codes;
map<string, vector<Var>*> symtable;
vector<string> mips_text;
vector<string> mips_data;
map<string, int> func_addr;
map<string, int> frame_s... | 20.436893 | 58 | 0.739667 |
9457600e7aa5f0170a7c78e05b79e1c47851ee8f | 753 | cpp | C++ | Algorithms/LC/cpp/0869 Reordered Power of 2/Reordered_Power_of_2.cpp | tjzhym/LeetCode-solution | 06bd35bae619caaf8153b81849dae9dcc7bc9491 | [
"MIT"
] | null | null | null | Algorithms/LC/cpp/0869 Reordered Power of 2/Reordered_Power_of_2.cpp | tjzhym/LeetCode-solution | 06bd35bae619caaf8153b81849dae9dcc7bc9491 | [
"MIT"
] | null | null | null | Algorithms/LC/cpp/0869 Reordered Power of 2/Reordered_Power_of_2.cpp | tjzhym/LeetCode-solution | 06bd35bae619caaf8153b81849dae9dcc7bc9491 | [
"MIT"
] | null | null | null | // Problem : https://leetcode.com/problems/reordered-power-of-2/
// Solution: https://github.com/tjzhym/LeetCode-solution
// Author : zhym (tjzhym)
// Date : 2021-8-11
#include <algorithm>
#include <string>
using namespace std;
class Solution {
public:
bool reorderedPowerOf2(int n) {
strin... | 25.965517 | 67 | 0.568393 |
4953d065d0b66473d5511418f2c882e25ed6c1fe | 198,436 | asm | Assembly | platforms/m3/pre_v21e/software/TSstack_ondemand_v1.4b_CISv2/TSstack_ondemand_v1.4b_CISv2.asm | lab11/M-ulator | 95b49c6194678c74accca4a20af71380efbcac5f | [
"Apache-2.0",
"MIT"
] | 19 | 2015-01-26T10:47:23.000Z | 2021-08-13T11:07:54.000Z | platforms/m3/pre_v21e/software/TSstack_ondemand_v1.4b_CISv2/TSstack_ondemand_v1.4b_CISv2.asm | lab11/M-ulator | 95b49c6194678c74accca4a20af71380efbcac5f | [
"Apache-2.0",
"MIT"
] | 14 | 2015-08-24T02:35:46.000Z | 2021-05-05T03:53:44.000Z | platforms/m3/pre_v21e/software/TSstack_ondemand_v1.4b_CISv2/TSstack_ondemand_v1.4b_CISv2.asm | lab11/M-ulator | 95b49c6194678c74accca4a20af71380efbcac5f | [
"Apache-2.0",
"MIT"
] | 9 | 2015-05-27T23:27:35.000Z | 2020-10-05T22:02:43.000Z |
TSstack_ondemand_v1.4b_CISv2/TSstack_ondemand_v1.4b_CISv2.elf: file format elf32-littlearm
Disassembly of section .text:
00000000 <hang-0xa0>:
0: 00004000 andeq r4, r0, r0
4: 000000a3 andeq r0, r0, r3, lsr #1
...
10: 000000a0 andeq r0, r0, r0, lsr #1
14: 000000a0 andeq r0, r0, r0, lsr #1
18: 00... | 41.340833 | 202 | 0.596066 |
9195a13c8ad52ba3178f8edef47750ae25eacfcf | 16,445 | html | HTML | Unordered-javascript-examples/deeplearnjs-examples/mymodel/deep2.html | hpssjellis/deeplearnjs-javascript-examples | 1888c1313d977e18837fa6fea3be272bfc79830e | [
"MIT"
] | 10 | 2017-12-07T15:53:45.000Z | 2021-02-19T10:08:51.000Z | Unordered-javascript-examples/deeplearnjs-examples/mymodel/deep2.html | hpssjellis/deeplearnjs-javascript-examples | 1888c1313d977e18837fa6fea3be272bfc79830e | [
"MIT"
] | null | null | null | Unordered-javascript-examples/deeplearnjs-examples/mymodel/deep2.html | hpssjellis/deeplearnjs-javascript-examples | 1888c1313d977e18837fa6fea3be272bfc79830e | [
"MIT"
] | 2 | 2017-11-18T04:00:06.000Z | 2019-10-24T09:37:54.000Z | <!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta -->
<title>Deeplearnjs Practice -- MNIST Digit Recognition</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.4.0/Chart.bundle.min.js"></script>
</head>
<body onload="start()">
go1
<!--Navigation bar-->
<div ... | 45.428177 | 167 | 0.449194 |
41a78b1b5af9058d0669e630b00b0324b929b980 | 5,361 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_1210.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_1210.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_1210.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x12652, %r8
nop
nop
add $10051, %r12
mov (%r8), %rbp
nop
nop
nop
nop
xor %rbx, %rbx
lea addresses_UC_ht+0x19792, %rsi
lea addresses_A_ht+0x1db2, %rdi
clflush (%rdi)
nop
nop
nop
xor ... | 45.432203 | 2,999 | 0.649692 |
47b45d30069c4c0c0a1fb9dc23159cbcee5dfb07 | 174 | kt | Kotlin | src/main/kotlin/eu/wojciechzurek/pwnedpasswordchecker/PwnedPasswordRepository.kt | wojciech-zurek/pwned-password-checker | aabcd8fd5dfbfc757fc8305ac05c052bb82e908f | [
"MIT"
] | 6 | 2019-07-23T08:58:33.000Z | 2019-11-07T09:03:30.000Z | src/main/kotlin/eu/wojciechzurek/pwnedpasswordchecker/PwnedPasswordRepository.kt | wojciech-zurek/pwned-password-checker | aabcd8fd5dfbfc757fc8305ac05c052bb82e908f | [
"MIT"
] | null | null | null | src/main/kotlin/eu/wojciechzurek/pwnedpasswordchecker/PwnedPasswordRepository.kt | wojciech-zurek/pwned-password-checker | aabcd8fd5dfbfc757fc8305ac05c052bb82e908f | [
"MIT"
] | null | null | null | package eu.wojciechzurek.pwnedpasswordchecker
import java.util.stream.Stream
interface PwnedPasswordRepository {
fun findByPrefix(prefix: Int): Stream<PwnedPassword>
} | 21.75 | 56 | 0.821839 |
12f61dbfcb8abae769e948ac23d710ee6d38c816 | 1,229 | html | HTML | application/index/view/aboutus/duty_detail.html | youyingxiang/zkjp | 9d5ee5b1c5a649aad4cfed1e019dc7b7565bce58 | [
"Apache-2.0"
] | null | null | null | application/index/view/aboutus/duty_detail.html | youyingxiang/zkjp | 9d5ee5b1c5a649aad4cfed1e019dc7b7565bce58 | [
"Apache-2.0"
] | null | null | null | application/index/view/aboutus/duty_detail.html | youyingxiang/zkjp | 9d5ee5b1c5a649aad4cfed1e019dc7b7565bce58 | [
"Apache-2.0"
] | null | null | null | {include file="layout/top" /}
{include file="layout/header" /}
<div class="page-content02">
<div class="page-banner check-banner" style="background-image:url({$detailData.banner});"><div class="txt"></div></div>
<div class="w1400"><div class="position"><a href="{:url('/')}">{$Think.lang.home}</a> >... | 49.16 | 211 | 0.5476 |