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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
40b372d2230aed9f784021dc63b2cec284825796 | 3,612 | py | Python | tests/test_cosmo_rates.py | Raimer/flarestack | 60659d368db93ead7b53addf3af9f1e8ac3a52bc | [
"MIT"
] | 1 | 2021-04-19T06:26:03.000Z | 2021-04-19T06:26:03.000Z | tests/test_cosmo_rates.py | Raimer/flarestack | 60659d368db93ead7b53addf3af9f1e8ac3a52bc | [
"MIT"
] | null | null | null | tests/test_cosmo_rates.py | Raimer/flarestack | 60659d368db93ead7b53addf3af9f1e8ac3a52bc | [
"MIT"
] | null | null | null | import logging
import unittest
import numpy as np
from astropy import units as u
from flarestack.cosmo import get_rate
from flarestack.cosmo.rates import source_maps
from flarestack.cosmo.rates.tde_rates import tde_evolutions, local_tde_rates
from flarestack.cosmo.rates.sfr_rates import sfr_evolutions, local_sfr_rates
... | 32.836364 | 85 | 0.612126 |
a52ae84554a8810aaddd160a90be63482d6984e4 | 2,637 | kt | Kotlin | mbcarkit/src/test/java/com/daimler/mbcarkit/network/model/ApiRifabilityTest.kt | mercedes-benz/MBSDK-Mobile-Android | 3721af583408721b9cd5cf89dd7b99256e9d7dda | [
"MIT"
] | 15 | 2019-09-09T15:48:51.000Z | 2021-12-25T16:51:50.000Z | mbcarkit/src/test/java/com/daimler/mbcarkit/network/model/ApiRifabilityTest.kt | mercedes-benz/MBSDK-Mobile-Android | 3721af583408721b9cd5cf89dd7b99256e9d7dda | [
"MIT"
] | 2 | 2020-03-25T13:28:05.000Z | 2021-01-01T19:04:57.000Z | mbcarkit/src/test/java/com/daimler/mbcarkit/network/model/ApiRifabilityTest.kt | Daimler/MBSDK-Mobile-Android | 3721af583408721b9cd5cf89dd7b99256e9d7dda | [
"MIT"
] | 7 | 2019-09-17T08:17:00.000Z | 2021-07-20T14:30:38.000Z | package com.daimler.mbcarkit.network.model
import org.assertj.core.api.SoftAssertions
import org.assertj.core.api.junit.jupiter.SoftAssertionsExtension
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.p... | 30.662791 | 159 | 0.660978 |
64d62d5869a46b85c284d6b017c0a725e75667a9 | 975 | java | Java | src/main/java/com/lb_stuff/bukkit/command/PluginInfoCommand.java | LB--/NameHist | 1cdb9006cd35b991de7b57f05a4ad834f2090d99 | [
"Unlicense"
] | 1 | 2015-02-19T04:02:28.000Z | 2015-02-19T04:02:28.000Z | src/main/java/com/lb_stuff/bukkit/command/PluginInfoCommand.java | LB--/NameHist | 1cdb9006cd35b991de7b57f05a4ad834f2090d99 | [
"Unlicense"
] | 4 | 2015-02-19T04:02:26.000Z | 2015-08-20T23:19:59.000Z | src/main/java/com/lb_stuff/bukkit/command/PluginInfoCommand.java | LB--/KataParty | 4043f981fb5e819caabbf0d8359f04472543cc71 | [
"Unlicense"
] | null | null | null | package com.lb_stuff.bukkit.command;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginDescriptionFile;
import static org.bukkit.ChatColor.*;
public class PluginInfoCommand implements C... | 26.351351 | 98 | 0.72 |
34a23162f509ef4f1b56dcf6658fae927890befc | 143 | kt | Kotlin | robotframework-kolib-core/src/main/kotlin/de/qualersoft/robotframework/library/annotation/KeywordTag.kt | qualersoft/robotframework-kolib | 4b37d24658295207085232b53bb415368b39542f | [
"Apache-2.0"
] | null | null | null | robotframework-kolib-core/src/main/kotlin/de/qualersoft/robotframework/library/annotation/KeywordTag.kt | qualersoft/robotframework-kolib | 4b37d24658295207085232b53bb415368b39542f | [
"Apache-2.0"
] | 16 | 2021-06-20T15:51:52.000Z | 2022-02-14T20:04:28.000Z | robotframework-kolib-core/src/main/kotlin/de/qualersoft/robotframework/library/annotation/KeywordTag.kt | qualersoft/robotframework-kolib | 4b37d24658295207085232b53bb415368b39542f | [
"Apache-2.0"
] | null | null | null | package de.qualersoft.robotframework.library.annotation
@Retention(AnnotationRetention.RUNTIME)
annotation class KeywordTag(val value:String)
| 28.6 | 55 | 0.867133 |
6bba88f64db346f604999d9d57fc6896dfbac880 | 1,049 | swift | Swift | NineNews/NineNews/Models/News.swift | pakidanish/ninenews | 1cd0d1c2c724bd4a88c21fbe9ab41d96a5dafec2 | [
"MIT"
] | null | null | null | NineNews/NineNews/Models/News.swift | pakidanish/ninenews | 1cd0d1c2c724bd4a88c21fbe9ab41d96a5dafec2 | [
"MIT"
] | null | null | null | NineNews/NineNews/Models/News.swift | pakidanish/ninenews | 1cd0d1c2c724bd4a88c21fbe9ab41d96a5dafec2 | [
"MIT"
] | null | null | null | //
// News.swift
// NineNews
//
// Created by Danish Aziz on 19/10/19.
// Copyright © 2019 Danish Aziz. All rights reserved.
//
import UIKit
struct News: Codable {
let id: Int?
let categories: [Category]?
let authors: [Author]?
let url: String?
let lastModified: Int?
let onTime: Int?
l... | 24.97619 | 54 | 0.617731 |
5f5e5288aa16303de8773ee3c17c139171168dad | 942 | swift | Swift | Example/RxService/Network/ImageSearch/ImageSearchCell.swift | DragonCherry/RxService | 15f4e87046447e4232793bef972df263b9b09b06 | [
"MIT"
] | 3 | 2017-07-05T09:23:07.000Z | 2021-09-20T05:46:28.000Z | Example/RxService/Network/ImageSearch/ImageSearchCell.swift | DragonCherry/RxService | 15f4e87046447e4232793bef972df263b9b09b06 | [
"MIT"
] | null | null | null | Example/RxService/Network/ImageSearch/ImageSearchCell.swift | DragonCherry/RxService | 15f4e87046447e4232793bef972df263b9b09b06 | [
"MIT"
] | null | null | null | //
// ImageSearchCell.swift
// RxService_Example
//
// Created by DragonCherry on 7/10/17.
// Copyright © 2017 CocoaPods. All rights reserved.
//
import RxSwift
import RxCocoa
import RxSwiftExt
import RxService
class ImageSearchCell: UITableViewCell {
@IBOutlet weak var thumbnailView: UIImageView!
@I... | 23.55 | 64 | 0.575372 |
2a7d0f51ae7b79d6cd2fb97d62ae3641923e01ca | 1,080 | java | Java | src/test/java/com/mn/modules/api/BaseTest.java | qinfuji/mn | d0041edb976bc20645d6c093e4cc410d75ca3da2 | [
"Apache-2.0"
] | null | null | null | src/test/java/com/mn/modules/api/BaseTest.java | qinfuji/mn | d0041edb976bc20645d6c093e4cc410d75ca3da2 | [
"Apache-2.0"
] | 7 | 2020-09-06T02:02:08.000Z | 2022-02-26T14:08:14.000Z | src/test/java/com/mn/modules/api/BaseTest.java | qinfuji/mn | d0041edb976bc20645d6c093e4cc410d75ca3da2 | [
"Apache-2.0"
] | null | null | null | package com.mn.modules.api;
import com.github.jsonzou.jmockdata.JMockData;
import com.github.jsonzou.jmockdata.MockConfig;
import com.mn.MNBIApplication;
import com.mn.modules.api.entity.ChancePoint;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.runner.RunWith;
import org.springframework.boot.tes... | 33.75 | 70 | 0.8 |
70adb7d08b2256f79ecb7f417f744f7f521f7a44 | 1,426 | h | C | Plugins/SPlanner/Source/SPlanner/Public/SPlanner/AI/LOD/SP_AILODComponent.h | mrouffet/SPlanner | a2a72b979e33d276a119fffc6728ad5524891171 | [
"MIT"
] | 2 | 2020-03-25T12:13:23.000Z | 2021-06-15T15:00:42.000Z | Plugins/SPlanner/Source/SPlanner/Public/SPlanner/AI/LOD/SP_AILODComponent.h | mrouffet/SPlanner | a2a72b979e33d276a119fffc6728ad5524891171 | [
"MIT"
] | null | null | null | Plugins/SPlanner/Source/SPlanner/Public/SPlanner/AI/LOD/SP_AILODComponent.h | mrouffet/SPlanner | a2a72b979e33d276a119fffc6728ad5524891171 | [
"MIT"
] | null | null | null | // Copyright 2020 Maxime ROUFFET. All Rights Reserved.
#pragma once
#include <Curves/CurveFloat.h>
#include <SPlanner/Base/LOD/SP_LODComponent.h>
#include "SP_AILODComponent.generated.h"
UCLASS(BlueprintType, Blueprintable, DisplayName = "SP_AILODComponent", ClassGroup = "SPlanner|LOD|AI", meta = (BlueprintSpawnabl... | 31 | 141 | 0.774194 |
5f3ad771738aed63ee4ff5dff933ac6dd00eb51f | 3,000 | ts | TypeScript | src/lib/custom-resources/cdk-security-hub-send-invites/runtime/src/index.ts | Amrib24/aws-secure-environment-accelerator | 48e4aceed58748b55fa11e62e62a9326131ffe6b | [
"Apache-2.0"
] | 454 | 2020-10-28T16:54:11.000Z | 2022-03-30T14:01:50.000Z | src/lib/custom-resources/cdk-security-hub-send-invites/runtime/src/index.ts | Amrib24/aws-secure-environment-accelerator | 48e4aceed58748b55fa11e62e62a9326131ffe6b | [
"Apache-2.0"
] | 227 | 2020-10-29T19:20:02.000Z | 2022-03-30T16:01:01.000Z | src/lib/custom-resources/cdk-security-hub-send-invites/runtime/src/index.ts | Amrib24/aws-secure-environment-accelerator | 48e4aceed58748b55fa11e62e62a9326131ffe6b | [
"Apache-2.0"
] | 169 | 2020-10-28T16:54:15.000Z | 2022-03-31T22:26:12.000Z | /**
* Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
* with the License. A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or ... | 36.585366 | 117 | 0.715 |
964144d1cfe58b22900a36cecb2ce5d6774fab74 | 290 | php | PHP | eds-www/aula04/tipo.php | IvanIndaia/php | bcd66a1f3b132968bd17d53df9a09aadd1d1f75a | [
"MIT"
] | null | null | null | eds-www/aula04/tipo.php | IvanIndaia/php | bcd66a1f3b132968bd17d53df9a09aadd1d1f75a | [
"MIT"
] | null | null | null | eds-www/aula04/tipo.php | IvanIndaia/php | bcd66a1f3b132968bd17d53df9a09aadd1d1f75a | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang=""pt-br">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="_css/estilo.css"
<title></title>
</head>
<div>
<?php
$n = 4.5;
$no = "Ivan Alex";
$n = 31;
echo "$no tem $n anos"
?>
</div>
</body>
</html> | 16.111111 | 49 | 0.472414 |
bd9223f358deb1612719c0d7bc624a4a659556bc | 4,716 | sql | SQL | gestao_produtos/loja.sql | univer30/gestao-produto | 24bc7bf61a118dd6a1af4eced43363b3d1e6ef39 | [
"MIT"
] | null | null | null | gestao_produtos/loja.sql | univer30/gestao-produto | 24bc7bf61a118dd6a1af4eced43363b3d1e6ef39 | [
"MIT"
] | null | null | null | gestao_produtos/loja.sql | univer30/gestao-produto | 24bc7bf61a118dd6a1af4eced43363b3d1e6ef39 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Tempo de geração: 23-Jun-2021 às 18:19
-- Versão do servidor: 10.4.19-MariaDB
-- versão do PHP: 7.3.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_C... | 27.103448 | 117 | 0.639525 |
0a46196499749d403ed95c7f2468c51f96c78eb7 | 126 | asm | Assembly | tests/rule_deferred.asm | clubby789/customasm | c85b2422d933e6266dd817e0ec3cbb9e30b181fa | [
"Apache-2.0"
] | 1 | 2021-01-02T13:38:01.000Z | 2021-01-02T13:38:01.000Z | tests/rule_deferred.asm | clubby789/customasm | c85b2422d933e6266dd817e0ec3cbb9e30b181fa | [
"Apache-2.0"
] | null | null | null | tests/rule_deferred.asm | clubby789/customasm | c85b2422d933e6266dd817e0ec3cbb9e30b181fa | [
"Apache-2.0"
] | null | null | null | ; ::: include
#ruledef test
{
ld {x} => 0x55 @ x`8
}
; :::
ld label ; = 0x5502
label:
; :::
ld var ; = 0x5511
var = 0x11 | 9.692308 | 24 | 0.5 |
cb5789a0c3dc7787195c77457e68c75a8bcbd11e | 114 | html | HTML | web/feedmetatitle.html | seriousbusinessbe/java-brusselnieuws-rss | a18183e1122fce6f5389446b096085ff081b98c3 | [
"MIT"
] | null | null | null | web/feedmetatitle.html | seriousbusinessbe/java-brusselnieuws-rss | a18183e1122fce6f5389446b096085ff081b98c3 | [
"MIT"
] | null | null | null | web/feedmetatitle.html | seriousbusinessbe/java-brusselnieuws-rss | a18183e1122fce6f5389446b096085ff081b98c3 | [
"MIT"
] | null | null | null | <!--<h3>-->
{{feedmeta.name | uppercase}}
<em class="pull-right">{{feedmeta.price | currency}}</em>
<!--</h3>--> | 28.5 | 58 | 0.561404 |
e50787b34ed6423c6cda906971de3dd447ecbc58 | 43 | sql | SQL | api/db/migrations/20210921094124_add-organizaton-table.down.sql | wearedevx/keystone | 9568c07442cfc242274ec20f8784cd5fd24c7146 | [
"MIT"
] | 22 | 2020-01-15T14:22:15.000Z | 2022-03-31T21:49:29.000Z | api/db/migrations/20210921094124_add-organizaton-table.down.sql | wearedevx/keystone | 9568c07442cfc242274ec20f8784cd5fd24c7146 | [
"MIT"
] | 119 | 2020-01-29T15:04:31.000Z | 2022-03-22T15:22:21.000Z | api/db/migrations/20210921094124_add-organizaton-table.down.sql | wearedevx/keystone | 9568c07442cfc242274ec20f8784cd5fd24c7146 | [
"MIT"
] | 5 | 2020-01-04T00:56:14.000Z | 2020-02-14T21:53:44.000Z | DROP TABLE IF EXISTS public.organizations;
| 21.5 | 42 | 0.837209 |
5bd12b539cdcb98c79e6858730abcfb01bbd702b | 262 | swift | Swift | MovieSwift/MovieSwift/flux/models/Keyword.swift | dreampiggy/MovieSwiftUI | 21fd16b564bcab2afc0a9986a1f38d1990c8609b | [
"Apache-2.0"
] | 6,327 | 2019-06-07T17:56:10.000Z | 2022-03-28T09:28:11.000Z | MovieSwift/MovieSwift/flux/models/Keyword.swift | dreampiggy/MovieSwiftUI | 21fd16b564bcab2afc0a9986a1f38d1990c8609b | [
"Apache-2.0"
] | 57 | 2019-06-21T16:48:03.000Z | 2022-01-05T17:12:54.000Z | MovieSwift/MovieSwift/flux/models/Keyword.swift | dreampiggy/MovieSwiftUI | 21fd16b564bcab2afc0a9986a1f38d1990c8609b | [
"Apache-2.0"
] | 650 | 2019-06-13T04:37:46.000Z | 2022-03-31T06:16:19.000Z | //
// Keyword.swift
// MovieSwift
//
// Created by Thomas Ricouard on 16/06/2019.
// Copyright © 2019 Thomas Ricouard. All rights reserved.
//
import Foundation
import SwiftUI
struct Keyword: Codable, Identifiable {
let id: Int
let name: String
}
| 15.411765 | 58 | 0.69084 |
0c995cb75529ea456e281ad4b7103361577ad5f9 | 2,693 | sql | SQL | src/db/dbscript/TienNghiBenChoThue.sql | longshaww/RentApartment | 74f7de0da4a3e0a4c2c85d64d7788ee7d6df6b86 | [
"MIT"
] | null | null | null | src/db/dbscript/TienNghiBenChoThue.sql | longshaww/RentApartment | 74f7de0da4a3e0a4c2c85d64d7788ee7d6df6b86 | [
"MIT"
] | 12 | 2022-03-30T00:52:10.000Z | 2022-03-30T01:58:47.000Z | src/db/dbscript/TienNghiBenChoThue.sql | longshaww/RentApartment | 74f7de0da4a3e0a4c2c85d64d7788ee7d6df6b86 | [
"MIT"
] | null | null | null | INSERT INTO apartment.dbo.TienNghiBenChoThue (MaTienNghiBCT,TenTienNghiBCT) VALUES
(N'TNBCT1',N'Nhân viên xách hành lý'),
(N'TNBCT10',N'Bảo vệ 24 giờ'),
(N'TNBCT11',N'Dịch vụ trả phòng muộn'),
(N'TNBCT12',N'Dịch vụ chăm sóc y tế'),
(N'TNBCT13',N'Điện thoại di động'),
(N'TNBCT14',N'Nhật báo tại sảnh'),
(N'... | 42.746032 | 82 | 0.67397 |
4d8f27c1d517e6b0734975cb613674cf1afe7b16 | 200 | html | HTML | src/app/game-board/game-board.component.html | jlardani93/enhanced-angular-rpg | dddf6681ce29eb1f95fd4b17ed9210517bf7c628 | [
"MIT"
] | null | null | null | src/app/game-board/game-board.component.html | jlardani93/enhanced-angular-rpg | dddf6681ce29eb1f95fd4b17ed9210517bf7c628 | [
"MIT"
] | null | null | null | src/app/game-board/game-board.component.html | jlardani93/enhanced-angular-rpg | dddf6681ce29eb1f95fd4b17ed9210517bf7c628 | [
"MIT"
] | null | null | null | <div [ngStyle]="renderGameContainer()">
<div *ngFor="let square of childGameBoard.board; let i = index" [ngStyle]="renderSquare(i)">
<div [ngStyle]="renderSprite(i)">
</div>
</div>
</div>
| 28.571429 | 94 | 0.64 |
e756776ad007654e5eb338322bedf51f4c8a907b | 616 | js | JavaScript | test/controller/mock.js | gailagbana/e-commerce-node-template | 9359611b4c9c54f85ed18214c0ec262f170eeef2 | [
"ISC"
] | 2 | 2021-03-09T07:40:47.000Z | 2021-05-04T10:12:54.000Z | test/controller/mock.js | gailagbana/e-commerce-node-template | 9359611b4c9c54f85ed18214c0ec262f170eeef2 | [
"ISC"
] | 5 | 2020-08-12T22:23:26.000Z | 2021-05-10T11:29:19.000Z | test/controller/mock.js | gailagbana/e-commerce-node-template | 9359611b4c9c54f85ed18214c0ec262f170eeef2 | [
"ISC"
] | 5 | 2020-10-30T15:14:34.000Z | 2021-08-09T10:00:47.000Z | /** */
const sinon = require('sinon');
module.exports = {
createRecord: sinon.spy((data) => ({
id: 1, _id: "sjdhflkjasdf32uiw7p",
})),
readRecords: sinon.spy(() => {
return [{
id: 1, _id: "jdfhlksdhf837qyh",
}, {
id: 2, _id: "hf3289jdwuy90"
}];
})... | 22.814815 | 52 | 0.478896 |
87647e9081b279b4400f7f3950e5a0ce310c5d85 | 606 | swift | Swift | Framework/src/Array-safe-get.swift | jmcintyre/metaz | fe9ae078e72f3a93f8f31270beaf1b4735d0221d | [
"MIT"
] | 235 | 2015-01-05T00:01:04.000Z | 2022-03-20T20:43:15.000Z | Framework/src/Array-safe-get.swift | jmcintyre/metaz | fe9ae078e72f3a93f8f31270beaf1b4735d0221d | [
"MIT"
] | 132 | 2015-01-02T16:23:33.000Z | 2022-03-16T22:17:26.000Z | Framework/src/Array-safe-get.swift | jmcintyre/metaz | fe9ae078e72f3a93f8f31270beaf1b4735d0221d | [
"MIT"
] | 38 | 2015-01-03T21:56:05.000Z | 2021-04-15T19:40:37.000Z | //
// File.swift
// MetaZKit
//
// Created by Brian Olsen on 22/02/2020.
//
import Foundation
extension Array {
// Safely lookup an index that might be out of bounds,
// returning nil if it does not exist
public func safeGet(index: Int) -> Element? {
if 0 <= index && index < count {
... | 22.444444 | 88 | 0.570957 |
3d2657c6f04907a995f810d68e38389f6585edc5 | 270 | rs | Rust | resources/icons/vscode/data/double_extension_to_icon_name_map.rs | lstwn/broot | 12a54018af817353fc0d42b7c8c08a454449856b | [
"MIT"
] | 7,101 | 2018-11-27T15:50:46.000Z | 2022-03-31T20:06:49.000Z | resources/icons/vscode/data/double_extension_to_icon_name_map.rs | lstwn/broot | 12a54018af817353fc0d42b7c8c08a454449856b | [
"MIT"
] | 467 | 2019-01-07T19:33:40.000Z | 2022-03-31T23:46:14.000Z | resources/icons/vscode/data/double_extension_to_icon_name_map.rs | lstwn/broot | 12a54018af817353fc0d42b7c8c08a454449856b | [
"MIT"
] | 206 | 2018-12-02T20:44:30.000Z | 2022-03-30T22:44:22.000Z | // SEE ./README on how to edit this file
[
( "tar.gz" , "file_type_zip" ) ,
( "tar.xz" , "file_type_zip" ) ,
( "tar.zst" , "file_type_zip" ) ,
]
| 38.571429 | 74 | 0.307407 |
20617fe85b6f19f94d4ddd5ee080cacc5ec98431 | 2,710 | kts | Kotlin | sample-compose/build.gradle.kts | chRyNaN/chords | 5a2e21c9b4789c878f0459e3d5c6fcfcbc66658d | [
"Apache-2.0"
] | 20 | 2020-01-18T18:35:36.000Z | 2021-05-02T01:43:02.000Z | sample-compose/build.gradle.kts | chRyNaN/GuitarChords | 5a2e21c9b4789c878f0459e3d5c6fcfcbc66658d | [
"Apache-2.0"
] | 8 | 2020-03-21T12:14:27.000Z | 2021-12-29T23:43:17.000Z | sample-compose/build.gradle.kts | chRyNaN/chords | 5a2e21c9b4789c878f0459e3d5c6fcfcbc66658d | [
"Apache-2.0"
] | 4 | 2020-01-26T18:45:12.000Z | 2020-12-28T21:21:20.000Z | import com.chrynan.chords.buildSrc.LibraryConstants
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("multiplatform")
id("com.android.application")
id("org.jetbrains.compose")
}
group = LibraryConstants.group
version = LibraryConstants.versionName
kotlin {
targets {
and... | 29.78022 | 95 | 0.644649 |
8435b20dad61d829369f0f5dafa35729bbf89e8f | 1,227 | html | HTML | share/templates/preferences.html | bricas/rubric | 9d60d867042bf941951b7dbd30c0d2e06f2ec8a8 | [
"Artistic-1.0"
] | 1 | 2016-05-09T06:11:14.000Z | 2016-05-09T06:11:14.000Z | share/templates/preferences.html | bricas/rubric | 9d60d867042bf941951b7dbd30c0d2e06f2ec8a8 | [
"Artistic-1.0"
] | null | null | null | share/templates/preferences.html | bricas/rubric | 9d60d867042bf941951b7dbd30c0d2e06f2ec8a8 | [
"Artistic-1.0"
] | null | null | null | <h2>preferences / settings</h2>
[% IF email_missing %]
<h3 class='error'>You must provide an email address!</h3>
[% END %]
[% IF email_invalid %]
<h3 class='error'>That isn't a valid email address!</h3>
[% END %]
[% IF password_missing %]
<h3 class='error'>You must supply your current password!</h3>
[% END %]... | 28.534884 | 70 | 0.568867 |
b3c62c713c55c9ddd8810c8b8d1f4678fc64af7a | 108 | sql | SQL | schema/revert/receiving/enrollment.sql | UWIT-IAM/uw-redcap-client | 38a1eb426fa80697446df7a466a41e0305382606 | [
"MIT"
] | 21 | 2019-04-19T22:45:22.000Z | 2022-01-28T01:32:09.000Z | schema/revert/receiving/enrollment.sql | sonali-mhihim/id3c | 1e3967d6c24e9cadb34cae1c5e1e79415a2250dc | [
"MIT"
] | 219 | 2019-04-19T21:42:24.000Z | 2022-03-29T21:41:04.000Z | schema/revert/receiving/enrollment.sql | sonali-mhihim/id3c | 1e3967d6c24e9cadb34cae1c5e1e79415a2250dc | [
"MIT"
] | 9 | 2020-03-11T20:07:26.000Z | 2022-03-05T00:36:11.000Z | -- Revert seattleflu/schema:receiving/enrollment from pg
begin;
drop table receiving.enrollment;
commit;
| 13.5 | 56 | 0.796296 |
26149daa3dca087dadfeca3f3c06a69cf8ab49ab | 315 | java | Java | artifacts/DamageSourceSword.java | SDF-Bramble/Artifacts-Reloaded | fe573e9b0e5265220122ff82752f894c420a985b | [
"MIT"
] | 2 | 2018-06-21T09:15:11.000Z | 2018-07-08T19:29:33.000Z | artifacts/DamageSourceSword.java | SDF-Bramble/Artifacts-Reloaded | fe573e9b0e5265220122ff82752f894c420a985b | [
"MIT"
] | null | null | null | artifacts/DamageSourceSword.java | SDF-Bramble/Artifacts-Reloaded | fe573e9b0e5265220122ff82752f894c420a985b | [
"MIT"
] | 1 | 2018-05-28T15:19:19.000Z | 2018-05-28T15:19:19.000Z | package com.draco18s.artifacts;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.util.DamageSource;
import net.minecraft.util.StatCollector;
public class DamageSourceSword extends DamageSource {
public static DamageSource instance;
public DamageSourceSword(String name) {
super(name);
}
}
| 22.5 | 53 | 0.815873 |
71cf5bf3b1e4cb25e4811264574717a53d06e8b8 | 9,127 | sql | SQL | queries/log4shell/log4shell.search.MD5.sql | lizardlabs/Log-Parser-Lizard-Queries | c20068d50fbd0784413e411de8ec64b49bc8e2e9 | [
"Unlicense"
] | 5 | 2018-09-03T12:33:13.000Z | 2021-12-11T07:15:36.000Z | queries/log4shell/log4shell.search.MD5.sql | lizardlabs/Log-Parser-Lizard-Queries | c20068d50fbd0784413e411de8ec64b49bc8e2e9 | [
"Unlicense"
] | null | null | null | queries/log4shell/log4shell.search.MD5.sql | lizardlabs/Log-Parser-Lizard-Queries | c20068d50fbd0784413e411de8ec64b49bc8e2e9 | [
"Unlicense"
] | null | null | null | /*
Log4Shell (CVE-2021-44228) helper
This SQL query will search for log4j*.jar files on your system, vulnerable to CVE-2021-44228 (nicknamed
Log4Shell), by using Microsoft Logparser 2.2. It will calculated MD5 hashes of every log4*j.jar file that
will be found in the selected folders and compare their hash with a l... | 58.50641 | 182 | 0.741207 |
90c2fd51663ea230c9e1dd1141d4141d2f154625 | 946 | py | Python | download.py | mlux86/bytefm-downloader | 9ea734fce35edeb2819b340575669b9021a345f9 | [
"MIT"
] | null | null | null | download.py | mlux86/bytefm-downloader | 9ea734fce35edeb2819b340575669b9021a345f9 | [
"MIT"
] | null | null | null | download.py | mlux86/bytefm-downloader | 9ea734fce35edeb2819b340575669b9021a345f9 | [
"MIT"
] | null | null | null | import json
import os
from urllib.parse import urlparse, quote
import urllib3
def cookies_to_header(cookies):
if cookies is None:
return {}
return {
'Cookie': ';'.join(map(lambda cookie: f'{cookie["name"]}={cookie["value"]}', cookies))
}
def get_json(url, cookies=None):
headers = co... | 24.25641 | 94 | 0.636364 |
718b679c89170ac78a6b677ff705f8db2282a5ef | 194 | ts | TypeScript | src/locales/index.ts | bobolinks/haohaochifan | 525feb89a75529ca70ae4d9a1788bb35203cf8bd | [
"MIT"
] | null | null | null | src/locales/index.ts | bobolinks/haohaochifan | 525feb89a75529ca70ae4d9a1788bb35203cf8bd | [
"MIT"
] | null | null | null | src/locales/index.ts | bobolinks/haohaochifan | 525feb89a75529ca70ae4d9a1788bb35203cf8bd | [
"MIT"
] | null | null | null | import zh from './zh-CN';
import en from './en-US';
import { appData } from '../store';
export const $s = appData.lang === 'en-US' ? en : zh;
export default {
'zh-CN': zh,
'en-US': en,
};
| 17.636364 | 53 | 0.56701 |
f761f5cc5dfe7575d1e7d7fdbc3244562c5b15d8 | 10,466 | c | C | Windsolar/commands.c | itay-raveh/windsolar | 8516f321bc983e6d748b40dfd0eb0a12171f5638 | [
"Apache-2.0"
] | 2 | 2022-01-14T20:49:03.000Z | 2022-01-15T22:35:26.000Z | Windsolar/commands.c | itay-raveh/windsolar | 8516f321bc983e6d748b40dfd0eb0a12171f5638 | [
"Apache-2.0"
] | null | null | null | Windsolar/commands.c | itay-raveh/windsolar | 8516f321bc983e6d748b40dfd0eb0a12171f5638 | [
"Apache-2.0"
] | null | null | null | //
// Created by itay on 1/2/22.
//
#include <stdio.h>
#include <string.h>
#include <math.h>
#ifdef WIN32
#include <Windows.h>
#else
#include <unistd.h>
#endif
#include "commands.h"
#include "frames.h"
#include "utils.h"
void printCommandRuntimeError(char *command, char *msg)
{
fprintf(stderr, "Runtime Error... | 24.683962 | 117 | 0.55752 |
06b1b6ae7e8b328480b3d7a25d93bb1bab2f08e7 | 1,936 | kt | Kotlin | android/src/main/kotlin/dev/jeremyko/proximity_sensor/ProximityStreamHandler.kt | jeremyko/flutter-proximity-sensor-plugin | 01632a07f39ac35c8c3d60b28e69deac548057ae | [
"MIT"
] | 1 | 2021-12-23T15:45:23.000Z | 2021-12-23T15:45:23.000Z | android/src/main/kotlin/dev/jeremyko/proximity_sensor/ProximityStreamHandler.kt | jeremyko/flutter-proximity-sensor-plugin | 01632a07f39ac35c8c3d60b28e69deac548057ae | [
"MIT"
] | 3 | 2021-09-27T07:54:17.000Z | 2022-03-23T14:48:24.000Z | android/src/main/kotlin/dev/jeremyko/proximity_sensor/ProximityStreamHandler.kt | jeremyko/flutter-proximity-sensor-plugin | 01632a07f39ac35c8c3d60b28e69deac548057ae | [
"MIT"
] | null | null | null | package dev.jeremyko.proximity_sensor
import android.content.Context
import android.hardware.Sensor
import android.hardware.SensorEvent
import android.hardware.SensorEventListener
import android.hardware.SensorManager
import io.flutter.plugin.common.BinaryMessenger
import io.flutter.plugin.common.EventChannel
import j... | 37.230769 | 101 | 0.670455 |
4b8affbcb3818cf5b58c9ca9b503248fbc9d96df | 1,029 | dart | Dart | 05-functions/projects/starter/bin/starter.dart | YojerLiu/da-materials | 9e45ce671dd1ec544e01711ffdb610e59c017c80 | [
"Apache-2.0"
] | null | null | null | 05-functions/projects/starter/bin/starter.dart | YojerLiu/da-materials | 9e45ce671dd1ec544e01711ffdb610e59c017c80 | [
"Apache-2.0"
] | null | null | null | 05-functions/projects/starter/bin/starter.dart | YojerLiu/da-materials | 9e45ce671dd1ec544e01711ffdb610e59c017c80 | [
"Apache-2.0"
] | null | null | null | import 'dart:math';
void main() {
challenge1();
challenge2();
}
/// Write a function that checks if a number is prime.
void challenge1() {
final list = [144, 125, 13, 98, 37];
list.forEach((element) => print('Is $element prime? ${isPrime(element)}'));
}
/// Write a function named `repeatTask` with the follow... | 22.369565 | 77 | 0.596696 |
4c22a3e1df8f2f85cc35bc80b353943158e41cae | 3,852 | dart | Dart | note_it/lib/components/navigation.dart | MartienJun/flutter_note_it | 6ca49588f31fecdbb71589f6f18d2da09dd1b9a2 | [
"Apache-2.0"
] | 1 | 2021-03-25T12:43:11.000Z | 2021-03-25T12:43:11.000Z | note_it/lib/components/navigation.dart | MartienJun/flutter_note_it | 6ca49588f31fecdbb71589f6f18d2da09dd1b9a2 | [
"Apache-2.0"
] | null | null | null | note_it/lib/components/navigation.dart | MartienJun/flutter_note_it | 6ca49588f31fecdbb71589f6f18d2da09dd1b9a2 | [
"Apache-2.0"
] | 2 | 2020-10-13T06:06:10.000Z | 2021-03-25T12:43:15.000Z | import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
// Components
import 'package:note_it/components/constants.dart';
// Screens
import 'package:note_it/screens/home_screen.dart';
import 'package:note_it/screens/user_screen.dart';
import 'package:note_it/screens/reminder_screen.dart... | 29.40458 | 78 | 0.562305 |
5b26e406b94b640128f36a73c3e147e62b0aca3b | 6,996 | asm | Assembly | Appl/FileMgrs2/CommonDesktop/CTool/ctoolProcess.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Appl/FileMgrs2/CommonDesktop/CTool/ctoolProcess.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Appl/FileMgrs2/CommonDesktop/CTool/ctoolProcess.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: File Managers
MODULE: Installable Tools -- Process Class Methods
FILE: ctoolProcess.asm
AUTHOR: Adam de Boor, Aug 25, 1992
ROUTINES:
Name Description
---- ... | 26.104478 | 89 | 0.581618 |
b530a7485ea6bb3037fbff30cb4494b911225b6c | 5,948 | rs | Rust | src/udma0/cfg.rs | jeandudey/cc13x2-rs | 215918099301ec75e9dfad531f5cf46e13077a39 | [
"MIT"
] | null | null | null | src/udma0/cfg.rs | jeandudey/cc13x2-rs | 215918099301ec75e9dfad531f5cf46e13077a39 | [
"MIT"
] | null | null | null | src/udma0/cfg.rs | jeandudey/cc13x2-rs | 215918099301ec75e9dfad531f5cf46e13077a39 | [
"MIT"
] | null | null | null | #[doc = "Reader of register CFG"]
pub type R = crate::R<u32, super::CFG>;
#[doc = "Writer for register CFG"]
pub type W = crate::W<u32, super::CFG>;
#[doc = "Register CFG `reset()`'s with value 0"]
impl crate::ResetValue for super::CFG {
type Type = u32;
#[inline(always)]
fn reset_value() -> Self::Type {
... | 38.875817 | 223 | 0.634331 |
79fda9a15d364aad8ef1a5d43f78a78fff6fbbb5 | 2,057 | asm | Assembly | programs/oeis/172/A172076.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/172/A172076.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/172/A172076.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A172076: a(n) = n*(n+1)*(14*n-11)/6.
; 0,1,17,62,150,295,511,812,1212,1725,2365,3146,4082,5187,6475,7960,9656,11577,13737,16150,18830,21791,25047,28612,32500,36725,41301,46242,51562,57275,63395,69936,76912,84337,92225,100590,109446,118807,128687,139100,150060,161581,173677,186362,199650,213555,228091,243272,259112,27... | 187 | 1,946 | 0.849295 |
4d98b755a12024014c1a5bab2079bf05995348bc | 20,291 | html | HTML | enc/enc_rus/meta/other/dict.html | MKadaner/FarManager | c99a14c12e3481dd25ce71451ecd264656f631bb | [
"BSD-3-Clause"
] | 1,256 | 2015-07-07T12:19:17.000Z | 2022-03-31T18:41:41.000Z | enc/enc_rus/meta/other/dict.html | MKadaner/FarManager | c99a14c12e3481dd25ce71451ecd264656f631bb | [
"BSD-3-Clause"
] | 305 | 2017-11-01T18:58:50.000Z | 2022-03-22T11:07:23.000Z | enc/enc_rus/meta/other/dict.html | MKadaner/FarManager | c99a14c12e3481dd25ce71451ecd264656f631bb | [
"BSD-3-Clause"
] | 183 | 2017-10-28T11:31:14.000Z | 2022-03-30T16:46:24.000Z | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Словарь</title>
<meta http-equiv="Content-Type" Content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../styles/styles.css">
</head>
<body>
<img src="../../images/bookmarks.png" align=right width=48 height... | 49.490244 | 283 | 0.745404 |
74546666fb932b1ccc942882b77f2f6032cdb570 | 4,208 | sql | SQL | DBMS-05-Company Database/Company-Insert Scripts.sql | 001anisa/vtu-dbms-lab | b3a9516c2a7ab41dabd62a664b59614c33afd8a5 | [
"MIT"
] | 20 | 2020-12-03T13:28:44.000Z | 2022-03-30T07:27:21.000Z | DBMS-05-Company Database/Company-Insert Scripts.sql | 001anisa/vtu-dbms-lab | b3a9516c2a7ab41dabd62a664b59614c33afd8a5 | [
"MIT"
] | 1 | 2022-02-21T07:27:30.000Z | 2022-02-21T07:28:13.000Z | DBMS-05-Company Database/Company-Insert Scripts.sql | 001anisa/vtu-dbms-lab | b3a9516c2a7ab41dabd62a664b59614c33afd8a5 | [
"MIT"
] | 40 | 2020-12-04T06:56:49.000Z | 2022-02-24T17:46:30.000Z | --Inserting records into EMPLOYEE table
INSERT INTO EMPLOYEE (SSN, NAME, ADDRESS, SEX, SALARY) VALUES
('ABC01','BEN SCOTT','BANGALORE','M', 450000);
INSERT INTO EMPLOYEE (SSN, NAME, ADDRESS, SEX, SALARY) VALUES
('ABC02','HARRY SMITH','BANGALORE','M', 500000);
INSERT INTO EMPLOYEE (SSN, NAME, ADDRESS, SEX, SALARY) VA... | 30.057143 | 70 | 0.681321 |
e96c47d2f50d0bf3aff2534ff6211ee34a2e95a9 | 3,091 | kt | Kotlin | src/test/java/org/tokend/sdk/test/jsonapi/OffersModelTest.kt | TamaraGambarova/kotlin-sdk | 941186aee243d0639d72e7ee189d509afc6292b9 | [
"Apache-2.0"
] | null | null | null | src/test/java/org/tokend/sdk/test/jsonapi/OffersModelTest.kt | TamaraGambarova/kotlin-sdk | 941186aee243d0639d72e7ee189d509afc6292b9 | [
"Apache-2.0"
] | null | null | null | src/test/java/org/tokend/sdk/test/jsonapi/OffersModelTest.kt | TamaraGambarova/kotlin-sdk | 941186aee243d0639d72e7ee189d509afc6292b9 | [
"Apache-2.0"
] | null | null | null | package org.tokend.sdk.test.jsonapi
import org.junit.Assert
import org.junit.Test
import org.tokend.sdk.api.generated.resources.OfferResource
import org.tokend.sdk.factory.JsonApiToolsProvider
class OffersModelTest {
@Test
fun singleOffer() {
val document = JsonApiToolsProvider.getResourceConverter().... | 40.142857 | 100 | 0.354254 |
847f9c8cb8dcb85f29de080839133d8b6fd8d311 | 43 | sql | SQL | mysql_commands/basic_table_queries/all_users.sql | mkallgren08/rpg-characters-sr | fcc33683168c57c7114416a79d53d628363bf370 | [
"MIT"
] | null | null | null | mysql_commands/basic_table_queries/all_users.sql | mkallgren08/rpg-characters-sr | fcc33683168c57c7114416a79d53d628363bf370 | [
"MIT"
] | null | null | null | mysql_commands/basic_table_queries/all_users.sql | mkallgren08/rpg-characters-sr | fcc33683168c57c7114416a79d53d628363bf370 | [
"MIT"
] | null | null | null | USE wg5icchmkdst975b;
SELECT * FROM users; | 14.333333 | 21 | 0.790698 |
7091ad8a8911606d6b2d6d64657f89b3f4b13037 | 2,442 | h | C | mvp_tips/CPUID/CPUID/BlockDiagram.h | allen7575/The-CPUID-Explorer | 77d0feef70482b2e36cff300ea24271384329f60 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 9 | 2017-08-31T06:03:18.000Z | 2019-01-06T05:07:26.000Z | mvp_tips/CPUID/CPUID/BlockDiagram.h | allen7575/The-CPUID-Explorer | 77d0feef70482b2e36cff300ea24271384329f60 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | mvp_tips/CPUID/CPUID/BlockDiagram.h | allen7575/The-CPUID-Explorer | 77d0feef70482b2e36cff300ea24271384329f60 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 8 | 2017-08-31T06:23:22.000Z | 2022-01-24T06:47:19.000Z | #pragma once
#include "Block.h"
#include "Arrow.h"
#include "CPUCoreRegion.h"
#include "LogicalAddressLines.h"
#include "PhysicalAddressLines.h"
#include "CacheTLBInfo.h"
// CBlockDiagram dialog
class CBlockDiagram : public CPropertyPage
{
DECLARE_DYNCREATE(CBlockDiagram)
public:
CBlockDiagram();
... | 35.911765 | 166 | 0.732187 |
9c0e477a9b895b1253cfcaaf775a82ed239995c8 | 15,029 | js | JavaScript | framework/src/main/webapp/js/suredy-list.js | ynbz/framework | 65effc284952e9f8ab99bfffb627d7e0d10cd79f | [
"MIT"
] | null | null | null | framework/src/main/webapp/js/suredy-list.js | ynbz/framework | 65effc284952e9f8ab99bfffb627d7e0d10cd79f | [
"MIT"
] | null | null | null | framework/src/main/webapp/js/suredy-list.js | ynbz/framework | 65effc284952e9f8ab99bfffb627d7e0d10cd79f | [
"MIT"
] | null | null | null | /**
* This is list plugin
*
* @author VIVID.G
* @since 2015-6-30
* @version v0.1
*/
// var btns = [ {
// text : 'button1',
// icon : 'icon-user',
// style : 'btn-default',
// click : function(page, pageSize, key) {
// }
// }, {
// text : '按钮组2',
// icon : 'icon-key',
// style : 'btn-primary',
// click : functio... | 27.677716 | 239 | 0.588462 |
5cc5b82263a6535f166f515fb7921f434f957895 | 7,809 | css | CSS | public/css/master.css | ypn/livefootball | f3551b1a8e54a3c6c539f44dfdcab4596a5ccf90 | [
"MIT"
] | null | null | null | public/css/master.css | ypn/livefootball | f3551b1a8e54a3c6c539f44dfdcab4596a5ccf90 | [
"MIT"
] | null | null | null | public/css/master.css | ypn/livefootball | f3551b1a8e54a3c6c539f44dfdcab4596a5ccf90 | [
"MIT"
] | null | null | null | @import url(https://fonts.googleapis.com/css?family=Ubuntu);body {
font-family: 'Roboto', sans-serif;
}
.box {
height: 100vh;
}
.red {
background: #222635;
}
.green {
background: #101117;
overflow: hidden;
}
.green .g-content {
height: 100%;
overflow-y: auto;
}
.no-gutters {
margin-right: 0;
marg... | 18.288056 | 108 | 0.642336 |
9b98464aed39a67dfa86492a500d66d1e67c6993 | 2,104 | js | JavaScript | src/objects/Craftable.js | PersonofNote/phaserjs | 2783df840f031ad76e2a36719e51e9f4e93e1fc1 | [
"MIT"
] | null | null | null | src/objects/Craftable.js | PersonofNote/phaserjs | 2783df840f031ad76e2a36719e51e9f4e93e1fc1 | [
"MIT"
] | null | null | null | src/objects/Craftable.js | PersonofNote/phaserjs | 2783df840f031ad76e2a36719e51e9f4e93e1fc1 | [
"MIT"
] | null | null | null | export default class Craftable extends Phaser.GameObjects.Sprite {
constructor(scene, x, y, texture, frame, name, description){
super(scene, x, y, texture, frame, name, description);
this.name = name;
this.description = description;
this.scene = scene;
this.pickedUp = false;
... | 32.369231 | 155 | 0.514734 |
5b5c18c0b7242c700e8af15d2a9cd86266ca928e | 315 | asm | Assembly | programs/oeis/092/A092598.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/092/A092598.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/092/A092598.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A092598: Natural numbers n for which sum of decimal digits is greater than n/4.
; 1,2,3,4,5,6,7,8,9,13,14,15,16,17,18,19,25,26,27,28,29,37,38,39,49
mov $2,$0
add $0,5
mov $1,$0
add $1,42
mov $3,$0
mov $0,1
add $3,1
mov $4,42
sub $4,$3
lpb $0,1
sub $0,1
add $1,4
add $4,2
div $1,$4
lpe
pow $1,2
add $1,$2
| 15 | 81 | 0.6 |
c112d5b2851b4dbe613c90ca458f12e1ff85d824 | 1,982 | swift | Swift | PNRefresh/RefreshNormalHeader.swift | pszertlek/PNRefresh | fd8bc402b44e6fc8794fd20afaa5bb572174c6ec | [
"MIT"
] | null | null | null | PNRefresh/RefreshNormalHeader.swift | pszertlek/PNRefresh | fd8bc402b44e6fc8794fd20afaa5bb572174c6ec | [
"MIT"
] | null | null | null | PNRefresh/RefreshNormalHeader.swift | pszertlek/PNRefresh | fd8bc402b44e6fc8794fd20afaa5bb572174c6ec | [
"MIT"
] | null | null | null | //
// RefreshNormalHeader.swift
// PNRefresh
//
// Created by apple on 2018/3/15.
// Copyright © 2018年 Pszertlek. All rights reserved.
//
import Foundation
public class RefreshNormalHeader: RefreshHeader {
var activityIndicatorViewStyle: UIActivityIndicatorViewStyle = .gray {
didSet {
self... | 38.115385 | 127 | 0.586781 |
40b41f2c0cafa1e47c1ed6bb963ba65d9a45677a | 25,674 | py | Python | src/pss_crew.py | herzbube/YaDc | 1efec27162635c15588525013ec9f9174585fcf9 | [
"Apache-2.0"
] | null | null | null | src/pss_crew.py | herzbube/YaDc | 1efec27162635c15588525013ec9f9174585fcf9 | [
"Apache-2.0"
] | null | null | null | src/pss_crew.py | herzbube/YaDc | 1efec27162635c15588525013ec9f9174585fcf9 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
import discord
import os
from typing import Dict, List, Set, Tuple
from cache import PssCache
import emojis
import pss_assert
import pss_entity as entity
import pss_core as core
import pss_lookups as lookups
import settings
import utility as util
# ---------- Constants ... | 34.095618 | 177 | 0.697554 |
291864a9f70adccb40c2460cf98f86ea4e0f1e74 | 21,425 | py | Python | trove/tests/fakes/swift.py | ISCAS-VDI/trove-base | 6a13b8771f8c9f259577e79d12355f9142964169 | [
"Apache-2.0"
] | null | null | null | trove/tests/fakes/swift.py | ISCAS-VDI/trove-base | 6a13b8771f8c9f259577e79d12355f9142964169 | [
"Apache-2.0"
] | null | null | null | trove/tests/fakes/swift.py | ISCAS-VDI/trove-base | 6a13b8771f8c9f259577e79d12355f9142964169 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICEN... | 39.897579 | 79 | 0.625624 |
b2cf11ab3d7e9318bb55599575d25a729b83ace2 | 319 | py | Python | mayan/apps/dependencies/permissions.py | CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons | 0e4e919fd2e1ded6711354a0330135283e87f8c7 | [
"Apache-2.0"
] | 2 | 2021-09-12T19:41:19.000Z | 2021-09-12T19:41:20.000Z | mayan/apps/dependencies/permissions.py | CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons | 0e4e919fd2e1ded6711354a0330135283e87f8c7 | [
"Apache-2.0"
] | 37 | 2021-09-13T01:00:12.000Z | 2021-10-02T03:54:30.000Z | mayan/apps/dependencies/permissions.py | CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons | 0e4e919fd2e1ded6711354a0330135283e87f8c7 | [
"Apache-2.0"
] | 1 | 2021-09-22T13:17:30.000Z | 2021-09-22T13:17:30.000Z | from django.utils.translation import ugettext_lazy as _
from mayan.apps.permissions import PermissionNamespace
namespace = PermissionNamespace(label=_('Dependencies'), name='dependencies')
permission_dependencies_view = namespace.add_permission(
label=_('View dependencies'), name='dependencies_view'
)
| 31.9 | 78 | 0.793103 |
857b57a76f7b09469d84979c778cf9d5bb62a9a0 | 770 | js | JavaScript | lib/datastore.js | sjlu/deploy | 3a37b87a9cd30dd41b25283b7949b9fec91d6abb | [
"MIT"
] | 2 | 2015-10-09T17:30:37.000Z | 2015-10-09T18:59:33.000Z | lib/datastore.js | sjlu/deploy | 3a37b87a9cd30dd41b25283b7949b9fec91d6abb | [
"MIT"
] | null | null | null | lib/datastore.js | sjlu/deploy | 3a37b87a9cd30dd41b25283b7949b9fec91d6abb | [
"MIT"
] | 1 | 2015-10-09T17:18:58.000Z | 2015-10-09T17:18:58.000Z | var Promise = require('bluebird')
var Datastore = require('nedb')
Promise.promisifyAll(Datastore.prototype);
var path = require('path')
var Promise = require('bluebird')
var _ = require('lodash')
var ds = {}
ds.repos = new Datastore({
filename: path.join(__dirname, '../.data/repos.db'),
autoload: true
})
ds.repo... | 22.647059 | 57 | 0.680519 |
7db66b2f6735faf28f2bf708e49067e1cfa1a30d | 1,867 | asm | Assembly | lib/trs80_crt0.asm | grancier/z180 | e83f35e36c9b4d1457e40585019430e901c86ed9 | [
"ClArtistic"
] | null | null | null | lib/trs80_crt0.asm | grancier/z180 | e83f35e36c9b4d1457e40585019430e901c86ed9 | [
"ClArtistic"
] | null | null | null | lib/trs80_crt0.asm | grancier/z180 | e83f35e36c9b4d1457e40585019430e901c86ed9 | [
"ClArtistic"
] | 1 | 2019-12-03T23:57:48.000Z | 2019-12-03T23:57:48.000Z | ; TRS 80 Program boot
;
; Stefano Bodrato 2008
;
; $Id: trs80_crt0.asm,v 1.21 2016/07/15 21:03:25 dom Exp $
;
MODULE trs80_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
defc crt0 = 1
INCLUDE "zcc_opt.def"
;--------
; Some scope definitions
;--------
... | 19.247423 | 73 | 0.58436 |
849e9d3cbf590721c0fe851104c8416dbce19692 | 3,844 | kt | Kotlin | app/src/main/java/com/roshastudio/roshastu/utils/edittextValid.kt | sepandd97/Roshastu | 1f840c763e4be909afcb6af98d52b5542de43e09 | [
"MIT"
] | null | null | null | app/src/main/java/com/roshastudio/roshastu/utils/edittextValid.kt | sepandd97/Roshastu | 1f840c763e4be909afcb6af98d52b5542de43e09 | [
"MIT"
] | null | null | null | app/src/main/java/com/roshastudio/roshastu/utils/edittextValid.kt | sepandd97/Roshastu | 1f840c763e4be909afcb6af98d52b5542de43e09 | [
"MIT"
] | null | null | null | package com.roshastudio.roshastu.utils
import android.text.Editable
import android.text.TextWatcher
import android.util.Patterns
import androidx.databinding.BindingAdapter
import kotlin.properties.Delegates
object edittextValid {
var name: String? = null
var regstatus = false
var status = false
var mo... | 31.252033 | 95 | 0.403226 |
dddeb8608bde592332acc22f10ed9aede75cc362 | 4,309 | php | PHP | app/scope/UserWechat.php | hunzsig/phpure | 98e00292f19089a9002e16112b62ddf6b759ca36 | [
"MIT"
] | 1 | 2019-05-29T09:13:36.000Z | 2019-05-29T09:13:36.000Z | app/scope/UserWechat.php | hunzsig/phpure | 98e00292f19089a9002e16112b62ddf6b759ca36 | [
"MIT"
] | null | null | null | app/scope/UserWechat.php | hunzsig/phpure | 98e00292f19089a9002e16112b62ddf6b759ca36 | [
"MIT"
] | null | null | null | <?php
namespace App\Scope;
use Yonna\Database\DB;
use Yonna\Foundation\Str;
use Yonna\Log\Log;
use App\Helper\Assets;
use App\Mapping\User\AccountType;
use App\Mapping\User\UserStatus;
use Yonna\Throwable\Exception;
use Yonna\Validator\ArrayValidator;
/**
* Class UserWechat
* @package App\Scope
*/
class UserWecha... | 34.75 | 88 | 0.467626 |
c425aa8f9707f863b42ba5039ad76021ec15987a | 3,644 | c | C | src/main.c | pierresaid/nbody-simulation | 99094f9285208d551bd2266d3c421f18be77d5d7 | [
"MIT"
] | null | null | null | src/main.c | pierresaid/nbody-simulation | 99094f9285208d551bd2266d3c421f18be77d5d7 | [
"MIT"
] | null | null | null | src/main.c | pierresaid/nbody-simulation | 99094f9285208d551bd2266d3c421f18be77d5d7 | [
"MIT"
] | null | null | null | #include <math.h>
#include "../include/setup.h"
#include "../include/data.h"
//#include <GL/glut.h>
//#include <GL/freeglut.h>
size_t globalWorkSize[] = {1, 0, 0};
cl_command_queue queue;
cl_kernel kernel;
s_data data;
cl_mem bodies_buffer;
int paused = 0;
void process();
void display() {
glClear(GL_COLOR_BUFFER... | 26.794118 | 118 | 0.560099 |
83b71e9456035e4d92297d05578ee6e22c3700ae | 1,837 | swift | Swift | SwellAR/Particle Simulation/WeatherMap.swift | alexandergovoni/SwellAR | e479e139ab2b32606af645fa757701da3c01963e | [
"BSD-3-Clause"
] | null | null | null | SwellAR/Particle Simulation/WeatherMap.swift | alexandergovoni/SwellAR | e479e139ab2b32606af645fa757701da3c01963e | [
"BSD-3-Clause"
] | null | null | null | SwellAR/Particle Simulation/WeatherMap.swift | alexandergovoni/SwellAR | e479e139ab2b32606af645fa757701da3c01963e | [
"BSD-3-Clause"
] | 2 | 2018-11-06T14:11:47.000Z | 2019-04-15T12:30:13.000Z | // Copyright © 2018 Refrakt <info@refrakt.org>
// All rights reserved.
//
// This source code is licensed under the BSD 3-Clause license found in the
// LICENSE file in the root directory of this source tree.
import Foundation
/// A particle simulation of actual ocean currents.
///
/// Based on https://github.com/map... | 35.326923 | 141 | 0.692433 |
ec171db6b01a096f14075e3c1959a890397072be | 5,413 | kt | Kotlin | jetbrains-core/src/software/aws/toolkits/jetbrains/ui/AsyncComboBox.kt | drakejin/aws-toolkit-jetbrains | fec0dbb39f5dfabf2f3abc617805c2a592bd3714 | [
"Apache-2.0"
] | 610 | 2018-09-18T17:15:44.000Z | 2022-03-02T11:29:45.000Z | jetbrains-core/src/software/aws/toolkits/jetbrains/ui/AsyncComboBox.kt | drakejin/aws-toolkit-jetbrains | fec0dbb39f5dfabf2f3abc617805c2a592bd3714 | [
"Apache-2.0"
] | 2,639 | 2018-09-18T17:16:42.000Z | 2022-03-29T14:06:05.000Z | jetbrains-core/src/software/aws/toolkits/jetbrains/ui/AsyncComboBox.kt | drakejin/aws-toolkit-jetbrains | fec0dbb39f5dfabf2f3abc617805c2a592bd3714 | [
"Apache-2.0"
] | 142 | 2018-09-18T17:27:00.000Z | 2022-03-05T21:00:52.000Z | // Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.aws.toolkits.jetbrains.ui
import com.intellij.openapi.Disposable
import com.intellij.openapi.application.ModalityState
import com.intellij.openapi.progress.EmptyProgressIndicator
import c... | 33.83125 | 135 | 0.61537 |
0bb8618a64cd74cacaa43f4d1d49f5d2a220b49c | 1,189 | js | JavaScript | js/ChessBox.js | bubblecigar/chicken | c9136928e0ae6a03d58ddd4e929e647bbfa5ed3c | [
"MIT"
] | null | null | null | js/ChessBox.js | bubblecigar/chicken | c9136928e0ae6a03d58ddd4e929e647bbfa5ed3c | [
"MIT"
] | null | null | null | js/ChessBox.js | bubblecigar/chicken | c9136928e0ae6a03d58ddd4e929e647bbfa5ed3c | [
"MIT"
] | null | null | null | import React from 'react'
import styled from 'styled-components'
import { GlobalContext } from './app'
import Chess from './Chess'
const ChessBoxStyle = styled.div`
margin: 20px;
position: relative;
width: calc(50% - 40px);
background: white;
animation-name: ${props => props.inTurn ? 'bordering' : ''};
an... | 25.847826 | 107 | 0.624054 |
883bed4fdc63f6454fea3b958283244c287b8dfc | 8,388 | kt | Kotlin | app/src/main/kotlin/de/uni_marburg/mathematik/ds/serval/utils/Utils.kt | Thames1990/aardvark | 9cb9c7de4a6075f800e84a612a07c8e2efaa5c1a | [
"MIT"
] | null | null | null | app/src/main/kotlin/de/uni_marburg/mathematik/ds/serval/utils/Utils.kt | Thames1990/aardvark | 9cb9c7de4a6075f800e84a612a07c8e2efaa5c1a | [
"MIT"
] | null | null | null | app/src/main/kotlin/de/uni_marburg/mathematik/ds/serval/utils/Utils.kt | Thames1990/aardvark | 9cb9c7de4a6075f800e84a612a07c8e2efaa5c1a | [
"MIT"
] | null | null | null | package de.uni_marburg.mathematik.ds.serval.utils
import android.annotation.SuppressLint
import android.arch.lifecycle.LifecycleOwner
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.Observer
import android.content.Context
import android.location.Address
import android.support.constraint.Constraint... | 35.392405 | 96 | 0.713162 |
b338b387e9ebf4b3b022de9218d5dc0b0343347f | 2,290 | rb | Ruby | spec/unit/influxdb_rails_spec.rb | restaumatic/influxdb-rails | b26aa7282428cdc6e53838440b29da524d36c628 | [
"MIT"
] | null | null | null | spec/unit/influxdb_rails_spec.rb | restaumatic/influxdb-rails | b26aa7282428cdc6e53838440b29da524d36c628 | [
"MIT"
] | null | null | null | spec/unit/influxdb_rails_spec.rb | restaumatic/influxdb-rails | b26aa7282428cdc6e53838440b29da524d36c628 | [
"MIT"
] | null | null | null | require "spec_helper"
RSpec.describe InfluxDB::Rails do
before do
InfluxDB::Rails.configure do |config|
config.application_name = "my-rails-app"
config.ignored_environments = []
config.client.time_precision = "ms"
end
end
describe ".current_timestamp" do
let(:timestamp) { 1_513_009... | 28.987342 | 77 | 0.695633 |
bcc59aa3add8e60aec2ea33f03bff84ab238eb79 | 7,383 | js | JavaScript | docs/api/output/dr.handler.js | gnovos/gnovos.github.io | 63a88367bcfe0a7e1ca105a667c4aff92d852956 | [
"MIT"
] | null | null | null | docs/api/output/dr.handler.js | gnovos/gnovos.github.io | 63a88367bcfe0a7e1ca105a667c4aff92d852956 | [
"MIT"
] | null | null | null | docs/api/output/dr.handler.js | gnovos/gnovos.github.io | 63a88367bcfe0a7e1ca105a667c4aff92d852956 | [
"MIT"
] | null | null | null | Ext.data.JsonP.dr_handler({"tagname":"class","name":"dr.handler","autodetected":{},"files":[{"filename":"layout.js","href":"layout.html#dr-handler"}],"members":[{"name":"args","tagname":"attribute","owner":"dr.handler","id":"attribute-args","meta":{}},{"name":"event","tagname":"attribute","owner":"dr.handler","id":"att... | 7,383 | 7,383 | 0.692808 |
fb3dbeab48ac7bd0ea03d295522d421c0191255b | 2,789 | java | Java | src/main/java/com/db/convert/domain/Species.java | chanakaDe/ensembl-db-convert | d6ae2faf8947ae5819a7241f231145c702adb9e3 | [
"Apache-2.0"
] | 1 | 2020-03-16T06:44:51.000Z | 2020-03-16T06:44:51.000Z | src/main/java/com/db/convert/domain/Species.java | chanakaDe/ensembl-db-convert | d6ae2faf8947ae5819a7241f231145c702adb9e3 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/db/convert/domain/Species.java | chanakaDe/ensembl-db-convert | d6ae2faf8947ae5819a7241f231145c702adb9e3 | [
"Apache-2.0"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.db.convert.domain;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Basic;
import javax.persis... | 25.354545 | 137 | 0.656508 |
2ad343018621a63c3d075dc05f4d452249f686fc | 5,515 | sql | SQL | lcb.sql | MilanOdavic/lcb3 | 70a05842cce787da4f216d64fea0c9adbdbdc2ea | [
"MIT"
] | null | null | null | lcb.sql | MilanOdavic/lcb3 | 70a05842cce787da4f216d64fea0c9adbdbdc2ea | [
"MIT"
] | null | null | null | lcb.sql | MilanOdavic/lcb3 | 70a05842cce787da4f216d64fea0c9adbdbdc2ea | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jan 04, 2020 at 10:25 AM
-- Server version: 10.4.6-MariaDB
-- PHP Version: 7.3.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OL... | 24.842342 | 132 | 0.642792 |
00d4e0318280664c18b402d192f0b11639b01b7c | 858 | swift | Swift | Notflix/Sources/Services/APIService/APIError.swift | qeude/Notflix | ea6fb99a79dabfaa4421705707d6d624937ff511 | [
"MIT"
] | 77 | 2020-05-15T12:19:36.000Z | 2022-03-16T17:57:00.000Z | Notflix/Sources/Services/APIService/APIError.swift | qeude/NetflixLike | f3ba7ee026d8d703b906e665405686a04998f95a | [
"MIT"
] | 2 | 2020-05-21T21:22:26.000Z | 2020-09-10T15:54:33.000Z | Notflix/Sources/Services/APIService/APIError.swift | qeude/NetflixLike | f3ba7ee026d8d703b906e665405686a04998f95a | [
"MIT"
] | 12 | 2020-05-20T03:33:32.000Z | 2022-02-16T23:07:03.000Z | //
// APIError.swift
// Notflix
//
// Created by Quentin Eude on 26/01/2020.
// Copyright © 2020 Quentin Eude. All rights reserved.
//
protocol LocalizedError: Error {
var localizedDescription: String { get }
}
enum APIError: LocalizedError {
case encoding
case decoding
case server(message: String)
... | 28.6 | 95 | 0.678322 |
56f9896d15fddcc9b9c4b5f0acff8624b677f312 | 45 | ts | TypeScript | node_modules/@coreui/icons/js/free/cil-comment-square.d.ts | yashn007/nodejs | d15b0a52a043172321b9abc6761fabf235832cca | [
"MIT"
] | 1,950 | 2018-05-09T13:26:46.000Z | 2022-03-31T00:32:37.000Z | node_modules/@coreui/icons/js/free/cil-comment-square.d.ts | yashn007/nodejs | d15b0a52a043172321b9abc6761fabf235832cca | [
"MIT"
] | 41 | 2020-07-21T23:11:07.000Z | 2022-01-30T23:58:12.000Z | node_modules/@coreui/icons/js/free/cil-comment-square.d.ts | yashn007/nodejs | d15b0a52a043172321b9abc6761fabf235832cca | [
"MIT"
] | 175 | 2018-05-11T22:01:22.000Z | 2022-03-27T16:49:12.000Z | export declare const cilCommentSquare: any[]; | 45 | 45 | 0.822222 |
a34cc0b450b84c6dde21a71cb52ec047f72db659 | 756 | asm | Assembly | programs/oeis/152/A152579.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/152/A152579.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/152/A152579.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A152579: a(n) = (10*n+3)*(10*n+17).
; 51,351,851,1551,2451,3551,4851,6351,8051,9951,12051,14351,16851,19551,22451,25551,28851,32351,36051,39951,44051,48351,52851,57551,62451,67551,72851,78351,84051,89951,96051,102351,108851,115551,122451,129551,136851,144351,152051,159951,168051,176351,184851,193551,202451,211551,220... | 75.6 | 656 | 0.801587 |
9bdec73026e5bbdac106055c96216f40bbe49a03 | 703 | js | JavaScript | backend/core/services/admin_svs/searchlocationsvs.js | StealthAdder/AVS-RFID_TEC | 00d9e05ab6692243298ca86a950d7b0051f8e869 | [
"MIT"
] | 9 | 2020-10-17T20:05:34.000Z | 2022-03-10T02:02:12.000Z | backend/core/services/admin_svs/searchlocationsvs.js | StealthAdder/AVS-RFID_TEC | 00d9e05ab6692243298ca86a950d7b0051f8e869 | [
"MIT"
] | 9 | 2020-10-21T04:20:17.000Z | 2021-08-08T20:28:21.000Z | backend/core/services/admin_svs/searchlocationsvs.js | StealthAdder/AVS-RFID_TEC | 00d9e05ab6692243298ca86a950d7b0051f8e869 | [
"MIT"
] | null | null | null | const speedLimitRef = require('../../../api/models/speedLimitRef');
const searchlocationsvs = () => {
return async (req, res, next) => {
// console.log(req.body.location.toUpperCase());
try {
let result = await speedLimitRef.findOne({
zipcode: req.body.location.toUpperCase(),
});
if... | 24.241379 | 67 | 0.544808 |
0b729c6af7d440093ab2706bff962e7602e418a9 | 1,327 | py | Python | integration/phore/tests/shardsynctest.py | phoreproject/synapse | 77d10ca2eb7828ca9f7c8e29b72a73cf2c07f954 | [
"MIT"
] | 9 | 2018-09-30T18:56:26.000Z | 2019-10-30T23:09:07.000Z | integration/phore/tests/shardsynctest.py | phoreproject/synapse | 77d10ca2eb7828ca9f7c8e29b72a73cf2c07f954 | [
"MIT"
] | 102 | 2018-11-09T16:17:59.000Z | 2020-11-04T19:06:01.000Z | integration/phore/tests/shardsynctest.py | phoreproject/graphene | 77d10ca2eb7828ca9f7c8e29b72a73cf2c07f954 | [
"MIT"
] | 5 | 2018-11-05T14:29:24.000Z | 2020-06-08T19:26:05.000Z | import logging
from phore.framework import tester, validatornode, shardnode
from phore.pb import common_pb2
class ShardSyncTest(tester.Tester):
def __init__(self):
logging.info(logging.INFO)
super().__init__()
def _do_run(self):
beacon_nodes = [self.create_beacon_node() for _ in ran... | 26.54 | 105 | 0.667671 |
fbb6dbbfc12ec57b4a1173b98063000195417f5a | 1,464 | java | Java | src/main/java/offer/sort/MergeSort.java | physicsLoveJava/algorithms-practice-record | d0ad21214b2e008d81ba07717da3dca062a7071b | [
"MIT"
] | null | null | null | src/main/java/offer/sort/MergeSort.java | physicsLoveJava/algorithms-practice-record | d0ad21214b2e008d81ba07717da3dca062a7071b | [
"MIT"
] | null | null | null | src/main/java/offer/sort/MergeSort.java | physicsLoveJava/algorithms-practice-record | d0ad21214b2e008d81ba07717da3dca062a7071b | [
"MIT"
] | null | null | null | package offer.sort;
import java.util.Comparator;
public class MergeSort {
public static <E extends Comparable> void sort(E[] arr, Comparator<E> comparator) {
if(arr == null) {
return ;
}
sort(arr, 0, arr.length - 1, comparator);
}
private static <E extends Comparable>... | 28.153846 | 118 | 0.452186 |
5c881d41707ae670e2244d42a7f639380c82c9d9 | 168 | h | C | YZOpenSDKDemo/YouzanBaseDemo/YZBaseDemo/Features/ViewControllers/YZBaseDemo-Bridging-Header.h | cluesblues/YouzanMobileSDK-iOS | a57813a344670a9b9f8ca9cd8afb6e34d71a1070 | [
"MIT"
] | 62 | 2017-08-02T05:31:08.000Z | 2021-09-06T09:06:13.000Z | YZOpenSDKDemo/YouzanBaseDemo/YZBaseDemo/Features/ViewControllers/YZBaseDemo-Bridging-Header.h | seasaliu/YouzanMobileSDK-iOS | 5f64cf42aa369da74f326805c34a5c0b58468629 | [
"MIT"
] | 28 | 2017-11-09T02:36:18.000Z | 2021-12-10T07:01:36.000Z | YZOpenSDKDemo/YouzanBaseDemo/YZBaseDemo/Features/ViewControllers/YZBaseDemo-Bridging-Header.h | seasaliu/YouzanMobileSDK-iOS | 5f64cf42aa369da74f326805c34a5c0b58468629 | [
"MIT"
] | 20 | 2017-07-26T03:15:32.000Z | 2021-05-25T06:41:42.000Z | //
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import <YZSDKCore/YZSDKCore.h>
#import <YZBaseSDK/YZBaseSDK.h>
| 24 | 96 | 0.738095 |
22623be062e338a218203836b3bc945a0858b1b6 | 198 | kt | Kotlin | app/src/main/java/bootcamp/snt/bootcampsantandertodo/data/TodosCallback.kt | fernandosantis/dio-kotlin-api-interation-santander | 068e486ca0607f61ccbc58827a90c6233d56b2cf | [
"Apache-2.0"
] | null | null | null | app/src/main/java/bootcamp/snt/bootcampsantandertodo/data/TodosCallback.kt | fernandosantis/dio-kotlin-api-interation-santander | 068e486ca0607f61ccbc58827a90c6233d56b2cf | [
"Apache-2.0"
] | null | null | null | app/src/main/java/bootcamp/snt/bootcampsantandertodo/data/TodosCallback.kt | fernandosantis/dio-kotlin-api-interation-santander | 068e486ca0607f61ccbc58827a90c6233d56b2cf | [
"Apache-2.0"
] | null | null | null | package bootcamp.snt.bootcampsantandertodo.data
import bootcamp.snt.bootcampsantandertodo.model.Todo
interface TodosCallback {
fun onSucesso(todos: List<Todo>?)
fun onFalha(t: Throwable)
} | 24.75 | 52 | 0.792929 |
04b4bd72079c20876a01250f5c67397a14a640d9 | 464 | dart | Dart | example/lib/mvc/route_test/two/controller.dart | lxiuyuan/flutter_mvc | bbefd61f50ead028d43d8a95a4af1d2adf0c3692 | [
"BSD-2-Clause"
] | 11 | 2020-04-10T02:14:20.000Z | 2021-08-03T03:23:44.000Z | example/lib/mvc/route_test/two/controller.dart | lxiuyuan/flutter_mvc | bbefd61f50ead028d43d8a95a4af1d2adf0c3692 | [
"BSD-2-Clause"
] | null | null | null | example/lib/mvc/route_test/two/controller.dart | lxiuyuan/flutter_mvc | bbefd61f50ead028d43d8a95a4af1d2adf0c3692 | [
"BSD-2-Clause"
] | 1 | 2021-11-06T08:43:39.000Z | 2021-11-06T08:43:39.000Z | import 'package:flutter_mvc_example/mvc/route_test/three/controller.dart';
import 'view.dart';
import 'package:flutter_mvc/flutter_mvc.dart';
///Description:第二个界面
///Author:djy
///date created 2020/07/13
class RouteTwoController extends BaseController {
RouteTwoController():super(RouteTwoPage());
@overri... | 20.173913 | 74 | 0.700431 |
aee1ba1a79892562d43396b11583523cbc5a9b80 | 1,505 | rs | Rust | core/fuzz/fuzz_targets/fuzz_copy.rs | sanpii/elephantry | 7fe5597ba08aa7d315c75122797757507e4558ad | [
"MIT"
] | 1 | 2020-05-31T21:17:37.000Z | 2020-05-31T21:17:37.000Z | core/fuzz/fuzz_targets/fuzz_copy.rs | sanpii/elephantry | 7fe5597ba08aa7d315c75122797757507e4558ad | [
"MIT"
] | null | null | null | core/fuzz/fuzz_targets/fuzz_copy.rs | sanpii/elephantry | 7fe5597ba08aa7d315c75122797757507e4558ad | [
"MIT"
] | null | null | null | #![no_main]
use libfuzzer_sys::fuzz_target;
#[derive(Debug, arbitrary::Arbitrary, elephantry::Entity)]
#[elephantry(model="Model", structure="Structure")]
struct Entity {
bigint: i64,
bit: u8,
boolean: bool,
r#box: elephantry::Box,
bytea: elephantry::Bytea,
char: char,
varchar: String,
... | 25.508475 | 93 | 0.612625 |
9e6710324b2e551725ea5e039664e26333f0c7c6 | 752 | rs | Rust | src/lib.rs | HaruxOS/static_assert | 8af903e6710e4dbbc4788948f22eb4792ca33f0e | [
"Apache-2.0"
] | 1 | 2021-09-10T06:38:40.000Z | 2021-09-10T06:38:40.000Z | src/lib.rs | HaruxOS/static_assert | 8af903e6710e4dbbc4788948f22eb4792ca33f0e | [
"Apache-2.0"
] | null | null | null | src/lib.rs | HaruxOS/static_assert | 8af903e6710e4dbbc4788948f22eb4792ca33f0e | [
"Apache-2.0"
] | null | null | null | // SPDX-License-Identifier: Apache-2.0
/*
* File: src/lib.rs
*
* Static assertions for Rust.
*
* Author: HTG-YT
* Copyright (c) 2021 The HaruxOS Project Team
*/
#![no_std]
#![feature(decl_macro)]
/// Statically asserts that an expression is true.
pub macro static_assert {
($($arguments:tt)*) => {
... | 22.117647 | 65 | 0.597074 |
1344ce3cfe0d0671816187324b89fcc2915ba676 | 8,291 | h | C | clang/Type.h | djp952/tools-llvm | 01503ab630354dc7196a8dfe15f4525bf9a0e1ec | [
"MIT"
] | 1 | 2016-09-11T11:32:08.000Z | 2016-09-11T11:32:08.000Z | clang/Type.h | djp952/tools-llvm | 01503ab630354dc7196a8dfe15f4525bf9a0e1ec | [
"MIT"
] | 3 | 2016-06-04T03:55:58.000Z | 2016-06-09T03:13:15.000Z | clang/Type.h | djp952/tools-llvm | 01503ab630354dc7196a8dfe15f4525bf9a0e1ec | [
"MIT"
] | null | null | null | //---------------------------------------------------------------------------
// Copyright (c) 2016 Michael G. Brehm
//
// 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 restri... | 23.962428 | 88 | 0.619346 |
d2ea4d8357fd1974097b4e8887c3ac09c4b35ebe | 1,104 | swift | Swift | Sources/SystemKit/Time/Timer.swift | apparata/SystemK | a08bfef8e8343aca3a0ccd0372c6a81ef3dfb86d | [
"MIT"
] | 1 | 2022-01-17T07:39:04.000Z | 2022-01-17T07:39:04.000Z | Sources/SystemKit/Time/Timer.swift | apparata/SystemKit | a08bfef8e8343aca3a0ccd0372c6a81ef3dfb86d | [
"MIT"
] | null | null | null | Sources/SystemKit/Time/Timer.swift | apparata/SystemKit | a08bfef8e8343aca3a0ccd0372c6a81ef3dfb86d | [
"MIT"
] | null | null | null | //
// Copyright © 2016 Apparata AB. All rights reserved.
//
import Foundation
public class Timer {
public typealias TimerHandler = (_ timer: Timer) -> Void
public var handler: TimerHandler?
private var timer: Foundation.Timer?
public init() {
}
deinit {
timer?... | 24 | 172 | 0.622283 |
ed179f8c4547823fc060a7082cf7a7956284f513 | 1,908 | kt | Kotlin | src/main/kotlin/no/nav/helse/Saksbehandling.kt | navikt/helse-spa | b838e0d48529231ed95beb91e780bdb2f15f99fe | [
"MIT"
] | 1 | 2019-09-11T10:18:17.000Z | 2019-09-11T10:18:17.000Z | src/main/kotlin/no/nav/helse/Saksbehandling.kt | navikt/helse-spa | b838e0d48529231ed95beb91e780bdb2f15f99fe | [
"MIT"
] | 7 | 2018-12-10T12:17:46.000Z | 2019-09-23T12:54:35.000Z | src/main/kotlin/no/nav/helse/Saksbehandling.kt | navikt/helse-spa | b838e0d48529231ed95beb91e780bdb2f15f99fe | [
"MIT"
] | null | null | null | package no.nav.helse
import arrow.core.Either
import arrow.core.flatMap
import arrow.core.left
import arrow.core.right
import no.nav.helse.Behandlingsfeil.Companion.mvpFilter
import no.nav.helse.behandling.*
import no.nav.helse.behandling.mvp.MVPFeil
import no.nav.helse.behandling.søknad.Sykepengesøknad
import no.nav.... | 38.16 | 118 | 0.736373 |
49e4f8407ad61268e461ff38fda371bd49f1c388 | 322 | sql | SQL | sql1_persediaan/buku_pengeluaran_barang_sql/buku_pengeluaran_dinkes.sql | muntaza/Open_Persediaan | 8010839926cc6a357faf40481c7d7f43c1f66a3e | [
"BSD-2-Clause"
] | 4 | 2020-05-26T07:52:34.000Z | 2022-01-09T17:02:21.000Z | sql1_persediaan/buku_pengeluaran_barang_sql/buku_pengeluaran_dinkes.sql | muntaza/Open_Persediaan | 8010839926cc6a357faf40481c7d7f43c1f66a3e | [
"BSD-2-Clause"
] | null | null | null | sql1_persediaan/buku_pengeluaran_barang_sql/buku_pengeluaran_dinkes.sql | muntaza/Open_Persediaan | 8010839926cc6a357faf40481c7d7f43c1f66a3e | [
"BSD-2-Clause"
] | 1 | 2020-05-26T07:52:36.000Z | 2020-05-26T07:52:36.000Z | DROP VIEW IF EXISTS view_buku_pengeluaran_dinkes;
CREATE VIEW view_buku_pengeluaran_dinkes AS
SELECT
*
FROM
view_buku_pengeluaran_kabupaten
WHERE
1 = 1 AND
id_skpd = 5;
GRANT ALL PRIVILEGES ON view_buku_pengeluaran_dinkes TO lap_dinkes;
REVOKE INSERT, UPDATE, DELETE ON view_buku_pengeluaran_dinkes FROM lap_dinkes... | 18.941176 | 78 | 0.841615 |
04f557ebd4cd0e99c514db517fb64c514d2c5775 | 3,139 | java | Java | DesignPattern/src/m2i/formation/java/Personne.java | anouvene/JAVA | 067fbf78c3f844406e9aeba1b89a9248b5fc7651 | [
"MIT"
] | null | null | null | DesignPattern/src/m2i/formation/java/Personne.java | anouvene/JAVA | 067fbf78c3f844406e9aeba1b89a9248b5fc7651 | [
"MIT"
] | 1 | 2019-04-27T13:51:31.000Z | 2019-04-27T13:51:31.000Z | DesignPattern/src/m2i/formation/java/Personne.java | anouvene/JAVA | 067fbf78c3f844406e9aeba1b89a9248b5fc7651 | [
"MIT"
] | 1 | 2019-05-05T13:19:38.000Z | 2019-05-05T13:19:38.000Z | package m2i.formation.java;
public class Personne {
private int _idPersonne;
private String _nom;
private String _prenom;
private float _poids;
private float _taille;
private Genre _sexe;
private int _idSociete;
public Personne(int _idPersonne, String _nom, String _prenom, float _poids, float _... | 19.867089 | 116 | 0.63842 |
ddf894d0753bb6fa6816d1cea0d90f55d7a66c62 | 3,263 | php | PHP | core/helpers/php/validator.class.php | JVillator0/MonstersUniversity | 96627c26c67c1c57dea2a60428c132474ac8fe56 | [
"MIT"
] | 2 | 2020-10-21T00:35:38.000Z | 2020-10-24T23:15:53.000Z | core/helpers/php/validator.class.php | JVillator0/MonstersUniversity | 96627c26c67c1c57dea2a60428c132474ac8fe56 | [
"MIT"
] | null | null | null | core/helpers/php/validator.class.php | JVillator0/MonstersUniversity | 96627c26c67c1c57dea2a60428c132474ac8fe56 | [
"MIT"
] | null | null | null | <?php
class cls_validator{
//remueve los espacios de todas las posiones del arreglo
public function validateForm($fields){
foreach($fields as $index => $value){
$value = trim($value);
$fields[$index] = $value;
}
return $fields;
}
//DE ESTA MANERA SE VALIDA EL XSS, ya que le aplicamos a todas las posi... | 41.833333 | 157 | 0.724487 |
d26a7dea28ca5834ae32b895ce39f5737291cf4f | 2,280 | php | PHP | resources/views/admin/types/index.blade.php | mo3auya91/oreganoapps | 100acdcd4c5b8eccda9ce807300e09eae5ecfdd1 | [
"MIT"
] | null | null | null | resources/views/admin/types/index.blade.php | mo3auya91/oreganoapps | 100acdcd4c5b8eccda9ce807300e09eae5ecfdd1 | [
"MIT"
] | 4 | 2021-02-02T18:01:32.000Z | 2022-02-27T03:22:16.000Z | resources/views/admin/types/index.blade.php | mo3auya91/oreganoapps | 100acdcd4c5b8eccda9ce807300e09eae5ecfdd1 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-header">Types</div>
<div class="card-body">
<a... | 47.5 | 117 | 0.307895 |
724011447c932af693b76ee2c604637aa6bd4f60 | 388 | asm | Assembly | programs/oeis/093/A093918.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/093/A093918.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/093/A093918.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A093918: a(2k-1)=(2k-1)^2+k, a(2k)=6k^2+k+1: Last term in rows of triangle A093915.
; 2,8,11,27,28,58,53,101,86,156,127,223,176,302,233,393,298,496,371,611,452,738,541,877,638,1028,743,1191,856,1366,977,1553,1106,1752,1243,1963,1388,2186,1541,2421,1702,2668,1871,2927,2048,3198,2233,3481,2426,3776
mov $1,$0
add $0,1
... | 29.846154 | 213 | 0.675258 |
86680a803d7b8d09b5e3f6aa459400dbbfcc0a5c | 213 | swift | Swift | Source/Extensions/UIEdgeInsets+Utils.swift | tingxins/SwiftEntryKit | 59b4a1fe18cb4a48ffe226dd14c8dce2767c3a54 | [
"MIT"
] | 5,899 | 2018-04-23T07:51:35.000Z | 2022-03-31T18:43:11.000Z | Source/Extensions/UIEdgeInsets+Utils.swift | tingxins/SwiftEntryKit | 59b4a1fe18cb4a48ffe226dd14c8dce2767c3a54 | [
"MIT"
] | 720 | 2015-01-01T03:06:30.000Z | 2021-08-06T18:44:14.000Z | Source/Extensions/UIEdgeInsets+Utils.swift | tingxins/SwiftEntryKit | 59b4a1fe18cb4a48ffe226dd14c8dce2767c3a54 | [
"MIT"
] | 535 | 2018-05-06T07:38:33.000Z | 2022-03-25T15:40:49.000Z | //
// UIEdgeInsets.swift
// FBSnapshotTestCase
//
// Created by Daniel Huri on 4/21/18.
//
import UIKit
extension UIEdgeInsets {
var hasVerticalInsets: Bool {
return top > 0 || bottom > 0
}
}
| 14.2 | 38 | 0.629108 |
b290559efcb0f7f8b18eeaa3e6bbd8b389814fc0 | 188 | kt | Kotlin | presentation/src/test/java/com/raiden/karpukhinomgupsdiplom/screens/info/InfoViewModelTest.kt | Raiden18/Integrity-control | a076b7b8ebb47d336c4c8a62992b860b29710e92 | [
"Apache-2.0"
] | 2 | 2019-05-09T17:44:48.000Z | 2019-05-14T10:38:50.000Z | presentation/src/test/java/com/raiden/karpukhinomgupsdiplom/screens/info/InfoViewModelTest.kt | Raiden18/Integrity-control | a076b7b8ebb47d336c4c8a62992b860b29710e92 | [
"Apache-2.0"
] | null | null | null | presentation/src/test/java/com/raiden/karpukhinomgupsdiplom/screens/info/InfoViewModelTest.kt | Raiden18/Integrity-control | a076b7b8ebb47d336c4c8a62992b860b29710e92 | [
"Apache-2.0"
] | null | null | null | package com.raiden.karpukhinomgupsdiplom.screens.info
import junitparams.JUnitParamsRunner
import org.junit.runner.RunWith
@RunWith(JUnitParamsRunner::class)
open class InfoViewModelTest | 26.857143 | 53 | 0.87234 |
a8f822aeb1475e28a75676c28aea0ac1ecd6c8a9 | 2,198 | rs | Rust | lib/src/util/pid.rs | forbjok/chandler3 | d6addb6da67f9973a678e9caea11858a7ac37e64 | [
"Apache-2.0",
"MIT"
] | null | null | null | lib/src/util/pid.rs | forbjok/chandler3 | d6addb6da67f9973a678e9caea11858a7ac37e64 | [
"Apache-2.0",
"MIT"
] | null | null | null | lib/src/util/pid.rs | forbjok/chandler3 | d6addb6da67f9973a678e9caea11858a7ac37e64 | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::fs;
use std::io::{Read, Write};
use std::path::{Path, PathBuf};
use sysinfo::{Pid, ProcessRefreshKind};
use tracing::{debug, error};
use crate::util;
pub struct PidLock {
path: PathBuf,
}
impl PidLock {
pub fn acquire(path: impl AsRef<Path>) -> Option<Self> {
let path = util::normalize_path... | 30.957746 | 103 | 0.510919 |
3ea76c2a5fd7d5c744fa282d7ff9c1f5882f202e | 2,651 | h | C | Jx3Full/Source/Source/Server/SO3GameCenter/KFellowshipCenter.h | RivenZoo/FullSource | cfd7fd7ad422fd2dae5d657a18839c91ff9521fd | [
"MIT"
] | 2 | 2021-07-31T15:35:01.000Z | 2022-02-28T05:54:54.000Z | Jx3Full/Source/Source/Server/SO3GameCenter/KFellowshipCenter.h | RivenZoo/FullSource | cfd7fd7ad422fd2dae5d657a18839c91ff9521fd | [
"MIT"
] | null | null | null | Jx3Full/Source/Source/Server/SO3GameCenter/KFellowshipCenter.h | RivenZoo/FullSource | cfd7fd7ad422fd2dae5d657a18839c91ff9521fd | [
"MIT"
] | 5 | 2021-02-03T10:25:39.000Z | 2022-02-23T07:08:37.000Z | ////////////////////////////////////////////////////////////////////////////////
//
// FileName : KFellowshipCenter.h
// Version : 1.0
// Creator : Lin Jiaqi
// Create Date : 2007-07-19 15:04:58
// Comment :
// Reconstructed by Jeffrey Chen, 2007-11-29.
//
///////////////... | 28.202128 | 106 | 0.577518 |
ee1b9a5db6b8feeb19af2ffc5fce2af1c9d491c8 | 918 | asm | Assembly | EngineHacks/CoreHacks/CombatArt/AnimeEffect/BattleGenerateHitFix.asm | MokhaLeee/FE16re-Proto | a3bf9ea299f117de0dc90aa4b139bd4f8167418e | [
"MIT"
] | 5 | 2021-11-28T19:51:03.000Z | 2021-12-25T06:15:13.000Z | EngineHacks/CoreHacks/CombatArt/AnimeEffect/BattleGenerateHitFix.asm | MokhaLeee/FE16re-Proto | a3bf9ea299f117de0dc90aa4b139bd4f8167418e | [
"MIT"
] | null | null | null | EngineHacks/CoreHacks/CombatArt/AnimeEffect/BattleGenerateHitFix.asm | MokhaLeee/FE16re-Proto | a3bf9ea299f117de0dc90aa4b139bd4f8167418e | [
"MIT"
] | null | null | null | .thumb
.macro blh to,reg=r4
push {\reg}
ldr \reg,=\to
mov r14,\reg
pop {\reg}
.short 0xF800
.endm
.macro SET_FUNC name, value
.global \name
.type \name, function
.set \name, \value
.endm
.macro SET_DATA name, value
.global \name
.type \name, object
.set \name, \value
.endm
SET_DATA gBattleHitIt... | 13.304348 | 55 | 0.653595 |
f97e32d6db1e5ddfb74f4d30672fa5f7cd6d6587 | 1,968 | dart | Dart | lib/widgets/item_list/items/subclass/subclass_image.widget.dart | TheBrenny/littlelight | 8b3aed001beb8eee61b4897a606a920f2ae59d99 | [
"MIT"
] | 140 | 2019-04-04T02:35:15.000Z | 2022-03-27T09:52:36.000Z | lib/widgets/item_list/items/subclass/subclass_image.widget.dart | TheBrenny/littlelight | 8b3aed001beb8eee61b4897a606a920f2ae59d99 | [
"MIT"
] | 123 | 2019-04-04T15:51:56.000Z | 2022-03-30T01:30:04.000Z | lib/widgets/item_list/items/subclass/subclass_image.widget.dart | TheBrenny/littlelight | 8b3aed001beb8eee61b4897a606a920f2ae59d99 | [
"MIT"
] | 30 | 2019-04-04T09:53:12.000Z | 2022-03-27T07:21:15.000Z | import 'package:bungie_api/models/destiny_inventory_item_definition.dart';
import 'package:bungie_api/models/destiny_item_component.dart';
import 'package:bungie_api/models/destiny_item_instance_component.dart';
import 'package:bungie_api/models/destiny_talent_grid_definition.dart';
import 'package:flutter/material.dar... | 32.8 | 80 | 0.748476 |
1e88262ce8b9b4c3b00ba6e6eecc8f1dd11f9181 | 39 | lua | Lua | [models]/JStreamer3/Settings/settings_S.lua | BesteerHU/mtavc | b125c26cbc06afb24f0cfc32d508bf370440f5ca | [
"MIT"
] | null | null | null | [models]/JStreamer3/Settings/settings_S.lua | BesteerHU/mtavc | b125c26cbc06afb24f0cfc32d508bf370440f5ca | [
"MIT"
] | null | null | null | [models]/JStreamer3/Settings/settings_S.lua | BesteerHU/mtavc | b125c26cbc06afb24f0cfc32d508bf370440f5ca | [
"MIT"
] | null | null | null | unloadMap = true
AllowInteriors = false | 19.5 | 22 | 0.820513 |
1674a6a1835db0163c030e79b182aa4edbc86a90 | 138 | h | C | include/core/ds.h | FelixLee1995/Jupiter | 90db14069f121248d392aeb1bb9f60a4d0175f93 | [
"BSD-3-Clause"
] | 1 | 2021-07-14T17:05:16.000Z | 2021-07-14T17:05:16.000Z | include/core/ds.h | FelixLee1995/Jupiter | 90db14069f121248d392aeb1bb9f60a4d0175f93 | [
"BSD-3-Clause"
] | null | null | null | include/core/ds.h | FelixLee1995/Jupiter | 90db14069f121248d392aeb1bb9f60a4d0175f93 | [
"BSD-3-Clause"
] | 1 | 2021-07-15T06:23:15.000Z | 2021-07-15T06:23:15.000Z | //
// Created by felix lee on 2020/12/14.
//
#ifndef JUPITER_DS_H
#define JUPITER_DS_H
#include "CBaseType.h"
#endif //JUPITER_DS_H
| 9.857143 | 38 | 0.702899 |
d6b2aaa0271b009739118d0ff1ef901e370745f0 | 2,595 | swift | Swift | Archive/Manager/InstagramStoryShareManager.swift | TTOzzi/Archive_iOS | 9bd8096be02de50b9d75bb48619c56e4f0fcd782 | [
"MIT"
] | 6 | 2021-10-25T00:59:48.000Z | 2022-02-14T13:38:04.000Z | Archive/Manager/InstagramStoryShareManager.swift | TTOzzi/Archive_iOS | 9bd8096be02de50b9d75bb48619c56e4f0fcd782 | [
"MIT"
] | 23 | 2021-09-16T13:25:21.000Z | 2022-03-18T12:30:06.000Z | Archive/Manager/InstagramStoryShareManager.swift | TTOzzi/Archive_iOS | 9bd8096be02de50b9d75bb48619c56e4f0fcd782 | [
"MIT"
] | 2 | 2021-09-11T08:00:10.000Z | 2021-09-30T14:35:06.000Z | //
// InstagramStoryShareManager.swift
// Archive
//
// Created by hanwe on 2021/11/10.
//
import UIKit
class InstagramStoryShareManager: NSObject {
// MARK: private property
private let instagramStoryScheme: String = "instagram-stories://share"
private let stickerImageKey: String = "com.inst... | 37.608696 | 166 | 0.60501 |
e9b278cbc56cfa38ac9441681c3ec97494681134 | 1,702 | dart | Dart | lib/src/parser/json/post.dart | Wetbikeboy2500/web_content_parser | c63c6087c1d866bd39a564aafb580678d0b0f8e7 | [
"MIT"
] | 1 | 2022-01-05T03:55:31.000Z | 2022-01-05T03:55:31.000Z | lib/src/parser/json/post.dart | Wetbikeboy2500/web_content_parser | c63c6087c1d866bd39a564aafb580678d0b0f8e7 | [
"MIT"
] | 2 | 2021-08-10T00:12:15.000Z | 2021-12-07T03:08:03.000Z | lib/src/parser/json/post.dart | Wetbikeboy2500/web_content_parser | c63c6087c1d866bd39a564aafb580678d0b0f8e7 | [
"MIT"
] | null | null | null | import 'package:json_annotation/json_annotation.dart';
import './author.dart';
import './id.dart';
part 'post.g.dart';
@JsonSerializable(explicitToJson: true)
class Post {
final String coverurl;
final bool completed;
final String altnames;
final List<String> categories;
final String type;
final String des... | 24.666667 | 106 | 0.650411 |
c3c4450b1aa89ae0cbf113ed25212664f80ea935 | 108 | go | Go | server.go | QPixel/youtube-irc | fd612bd5aeb85e346add5cd6eba95b277e3183db | [
"MIT"
] | null | null | null | server.go | QPixel/youtube-irc | fd612bd5aeb85e346add5cd6eba95b277e3183db | [
"MIT"
] | null | null | null | server.go | QPixel/youtube-irc | fd612bd5aeb85e346add5cd6eba95b277e3183db | [
"MIT"
] | null | null | null | package youtubeirc
// server.go
// This contains all the logic for operating the WebSocket and IRC servers
| 21.6 | 74 | 0.787037 |
951c890b9f4c4c94e2285d5fb09781748be55a12 | 2,238 | lua | Lua | Framework/EsoUi/ingame/help/gamepad/help_itemassistance_gamepad.lua | martin-repo/eso-addon-framework | 5a0873e624abee2b560b47cdd8571bb24b526663 | [
"MIT"
] | 3 | 2021-09-19T00:31:05.000Z | 2021-12-22T07:30:15.000Z | Framework/EsoUi/ingame/help/gamepad/help_itemassistance_gamepad.lua | martin-repo/eso-addon-framework | 5a0873e624abee2b560b47cdd8571bb24b526663 | [
"MIT"
] | null | null | null | Framework/EsoUi/ingame/help/gamepad/help_itemassistance_gamepad.lua | martin-repo/eso-addon-framework | 5a0873e624abee2b560b47cdd8571bb24b526663 | [
"MIT"
] | null | null | null | --[[
This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:26' using the latest game version.
NOTE: This file should only be used as IDE support; it should NOT be distributed with addons!
****************************************************************************
CONTENTS OF THIS FILE IS COPYRI... | 39.263158 | 100 | 0.773905 |
764619f0b73b0d21a2057c5e0dc9c2c90b0fa6a8 | 102 | sql | SQL | gpdb/contrib/postgis/raster/test/regress/check_gdal.sql | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 3 | 2017-12-10T16:41:21.000Z | 2020-07-08T12:59:12.000Z | gpdb/contrib/postgis/raster/test/regress/check_gdal.sql | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | gpdb/contrib/postgis/raster/test/regress/check_gdal.sql | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 4 | 2017-12-10T16:41:35.000Z | 2020-11-28T12:20:30.000Z | SELECT
CASE
WHEN strpos(postgis_gdal_version(), 'GDAL_DATA') <> 0
THEN false
ELSE NULL
END;
| 14.571429 | 55 | 0.686275 |
85afe719135ec10d180bf5789cde8c71bac03895 | 763 | js | JavaScript | Resources/config/file_list.js | loop-recur/neotvremote | 4bb18fd71a3d945140c9768c956288fcd6e569a0 | [
"Apache-2.0"
] | null | null | null | Resources/config/file_list.js | loop-recur/neotvremote | 4bb18fd71a3d945140c9768c956288fcd6e569a0 | [
"Apache-2.0"
] | null | null | null | Resources/config/file_list.js | loop-recur/neotvremote | 4bb18fd71a3d945140c9768c956288fcd6e569a0 | [
"Apache-2.0"
] | null | null | null | FileList = [
"config/channels.js",
"controllers/favorites.js",
"controllers/remote.js",
"controllers/searches.js",
"controllers/hosts.js",
"controllers/settings.js",
"controllers/feedback.js",
"helpers/application.js",
"helpers/ui.js",
"lib/benchmarker.js",
"lib/bonjour.js",
"lib/channel.js",
"lib/channel_... | 22.441176 | 28 | 0.697248 |
c2706045dd40332319f02aab71d29e0bc6afc105 | 1,492 | go | Go | main.go | kjlyon/snap-relay | ee1d22b9a6021279549beca706966618d2f12028 | [
"Apache-2.0"
] | null | null | null | main.go | kjlyon/snap-relay | ee1d22b9a6021279549beca706966618d2f12028 | [
"Apache-2.0"
] | null | null | null | main.go | kjlyon/snap-relay | ee1d22b9a6021279549beca706966618d2f12028 | [
"Apache-2.0"
] | null | null | null | /*
http://www.apache.org/licenses/LICENSE-2.0.txt
Copyright 2017 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by a... | 30.44898 | 72 | 0.782842 |
cb5bbf2000272ee72e147197b55b88d334d87d08 | 115 | kt | Kotlin | src/main/kotlin/javabot/operations/throttle/NickServViolationException.kt | topriddy/javabot | cd21e5a9408190a065fbf6d284744188f2b00089 | [
"BSD-3-Clause"
] | 31 | 2015-01-06T16:03:04.000Z | 2019-04-12T21:55:57.000Z | src/main/kotlin/javabot/operations/throttle/NickServViolationException.kt | topriddy/javabot | cd21e5a9408190a065fbf6d284744188f2b00089 | [
"BSD-3-Clause"
] | 172 | 2015-01-11T13:23:02.000Z | 2021-07-20T11:55:58.000Z | src/main/kotlin/javabot/operations/throttle/NickServViolationException.kt | topriddy/javabot | cd21e5a9408190a065fbf6d284744188f2b00089 | [
"BSD-3-Clause"
] | 26 | 2015-01-06T16:03:05.000Z | 2021-08-06T13:14:56.000Z | package javabot.operations.throttle
class NickServViolationException(message: String) : RuntimeException(message)
| 28.75 | 77 | 0.86087 |
c23501e1bba2e9fa64ef6f4f24b96d68faaeb1fa | 1,664 | go | Go | sink/filter.go | chatoooo/logoon | 4f3cafa6fcd40fb8c1d4f4669eae72b792338776 | [
"MIT"
] | null | null | null | sink/filter.go | chatoooo/logoon | 4f3cafa6fcd40fb8c1d4f4669eae72b792338776 | [
"MIT"
] | null | null | null | sink/filter.go | chatoooo/logoon | 4f3cafa6fcd40fb8c1d4f4669eae72b792338776 | [
"MIT"
] | null | null | null | package sink
import (
"github.com/chatoooo/logoon/core"
//"fmt"
)
type StandardSinkFilter struct {
severityComparator SeverityComparator
filter core.Filter
}
func (this *StandardSinkFilter) SetFilter(filter core.Filter) {
this.filter = filter
//fmt.Printf("Setting filter: %#v,\n%#v\n\n", filter, th... | 25.6 | 97 | 0.722356 |
0fa0b3715c54dd55a52e71a712bdae22942e2067 | 727 | swift | Swift | Sources/Date+StartEnd.swift | chipp/DateUtilities | 0823f2fee83ba76e2cf8de0c694632452e9b076c | [
"MIT"
] | null | null | null | Sources/Date+StartEnd.swift | chipp/DateUtilities | 0823f2fee83ba76e2cf8de0c694632452e9b076c | [
"MIT"
] | 2 | 2018-01-17T10:26:04.000Z | 2020-01-21T08:30:23.000Z | Sources/Date+StartEnd.swift | chipp/DateUtilities | 0823f2fee83ba76e2cf8de0c694632452e9b076c | [
"MIT"
] | null | null | null | //
// Created by Vladimir Burdukov on 8/26/16.
//
import Foundation
public extension Date {
public func start(of unit: Calendar.Component) -> Date {
var date = Date()
var interval: TimeInterval = 0
guard Context.calendar.dateInterval(of: unit, start: &date, interval: &interval, for: self) else {
... | 22.030303 | 102 | 0.656121 |
017d53ffaeb978292587dee33c510829c6a10efd | 1,105 | kt | Kotlin | corekit/src/main/java/com/laohu/kit/extensions/FragmentExtension.kt | huyongli/AndroidKit | 36990176c66902a30606636f469743f3ac94a480 | [
"Apache-2.0"
] | null | null | null | corekit/src/main/java/com/laohu/kit/extensions/FragmentExtension.kt | huyongli/AndroidKit | 36990176c66902a30606636f469743f3ac94a480 | [
"Apache-2.0"
] | null | null | null | corekit/src/main/java/com/laohu/kit/extensions/FragmentExtension.kt | huyongli/AndroidKit | 36990176c66902a30606636f469743f3ac94a480 | [
"Apache-2.0"
] | null | null | null | package com.laohu.kit.extensions
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModel
import androidx.lifecy... | 38.103448 | 116 | 0.761086 |
f9ff195b5248d536c70e0099f9092456ab97d98a | 383 | go | Go | event_test.go | echocat/slf4g | 6522a0078041ea12c4487b992b3ba766f24ce0ab | [
"MIT"
] | null | null | null | event_test.go | echocat/slf4g | 6522a0078041ea12c4487b992b3ba766f24ce0ab | [
"MIT"
] | null | null | null | event_test.go | echocat/slf4g | 6522a0078041ea12c4487b992b3ba766f24ce0ab | [
"MIT"
] | null | null | null | package log
type entries []entry
func (instance *entries) add(key string, value interface{}) {
*instance = append(*instance, entry{key, value})
}
func (instance *entries) consumer() func(key string, value interface{}) error {
return func(key string, value interface{}) error {
instance.add(key, value)
return ni... | 19.15 | 79 | 0.70235 |
fba161d43df5848924ece6bcdd1dc7fdc61d2d57 | 17,819 | java | Java | src/main/java/carpet/helpers/FeatureGenerator.java | Oliver-makes-code/fabric-carpet | f12b2d819d4b6b8580ab5229d096cdd583e6bd80 | [
"MIT"
] | 1 | 2022-03-09T03:35:27.000Z | 2022-03-09T03:35:27.000Z | src/main/java/carpet/helpers/FeatureGenerator.java | Oliver-makes-code/fabric-carpet | f12b2d819d4b6b8580ab5229d096cdd583e6bd80 | [
"MIT"
] | null | null | null | src/main/java/carpet/helpers/FeatureGenerator.java | Oliver-makes-code/fabric-carpet | f12b2d819d4b6b8580ab5229d096cdd583e6bd80 | [
"MIT"
] | null | null | null | package carpet.helpers;
import carpet.CarpetSettings;
import carpet.fakes.ChunkGeneratorInterface;
import com.mojang.datafixers.util.Pair;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.OptionalInt;
import java.util.Random;
import net.minecraft.core.... | 49.635097 | 404 | 0.659184 |