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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d77f3e8e48235e4fc42ea6db04cf21100ecf869b | 982 | asm | Assembly | maps/DiglettsCave.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 28 | 2019-11-08T07:19:00.000Z | 2021-12-20T10:17:54.000Z | maps/DiglettsCave.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 13 | 2020-01-11T17:00:40.000Z | 2021-09-14T01:27:38.000Z | maps/DiglettsCave.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 22 | 2020-05-28T17:31:38.000Z | 2022-03-07T20:49:35.000Z | object_const_def ; object_event constants
const DIGLETTSCAVE_POKEFAN_M
DiglettsCave_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
DiglettsCavePokefanMScript:
jumptextfaceplayer DiglettsCavePokefanMText
DiglettsCaveHiddenMaxRevive:
hiddenitem MAX_REVIVE, EVENT_DIGLETTS_CAVE_HIDDEN_MAX_REVIVE
DiglettsCaveP... | 23.95122 | 139 | 0.775967 |
166b6e12f27de43351b7452827dcb4154312ffe0 | 3,075 | ps1 | PowerShell | scripts/CodePackageToDockerPackage/CreateDockerPackage.ps1 | rwike77/service-fabric-scripts-and-templates | 7681106da4b8fcd8f5e46bad178a84541bee955e | [
"MIT"
] | null | null | null | scripts/CodePackageToDockerPackage/CreateDockerPackage.ps1 | rwike77/service-fabric-scripts-and-templates | 7681106da4b8fcd8f5e46bad178a84541bee955e | [
"MIT"
] | null | null | null | scripts/CodePackageToDockerPackage/CreateDockerPackage.ps1 | rwike77/service-fabric-scripts-and-templates | 7681106da4b8fcd8f5e46bad178a84541bee955e | [
"MIT"
] | null | null | null | param (
[Parameter(Mandatory=$true, ParameterSetName = "Exe")]
[Parameter(Mandatory=$true, ParameterSetName = "Dll")]
[string] $CodePackageDirectoryPath,
[Parameter(Mandatory=$true, ParameterSetName = "Exe")]
[Parameter(Mandatory=$true, ParameterSetName = "Dll")]
[string] $DockerPackageOutputDi... | 37.048193 | 120 | 0.767154 |
392d594d9e24a21a98e412a6abdefb914cfb8526 | 187 | dart | Dart | node/tablestore_node/lib/src/import.dart | tekartik/aliyun.dart | cf810c5db36e0e33b319b5abc9cb9f94549544fc | [
"BSD-2-Clause"
] | null | null | null | node/tablestore_node/lib/src/import.dart | tekartik/aliyun.dart | cf810c5db36e0e33b319b5abc9cb9f94549544fc | [
"BSD-2-Clause"
] | null | null | null | node/tablestore_node/lib/src/import.dart | tekartik/aliyun.dart | cf810c5db36e0e33b319b5abc9cb9f94549544fc | [
"BSD-2-Clause"
] | null | null | null | export 'package:tekartik_aliyun_tablestore/src/mixin/ts_tablestore_mixin.dart';
export 'package:tekartik_common_utils/common_utils_import.dart';
export 'package:tekartik_http/http.dart';
| 46.75 | 79 | 0.860963 |
c5c31c58088532fd2158e70040978e5ee8e05b08 | 745 | cpp | C++ | src/CreditCard.cpp | tyoungjr/Catch2Practice | 6c602b0b57edaf2299043b4ef3c11d9507ce167b | [
"MIT"
] | null | null | null | src/CreditCard.cpp | tyoungjr/Catch2Practice | 6c602b0b57edaf2299043b4ef3c11d9507ce167b | [
"MIT"
] | null | null | null | src/CreditCard.cpp | tyoungjr/Catch2Practice | 6c602b0b57edaf2299043b4ef3c11d9507ce167b | [
"MIT"
] | null | null | null | //
// Created by tyoun on 10/24/2021.
//
#include "CreditCard.h"
CreditCard::CreditCard(const std::string &no, const std::string &nm, int lim, double bal):
number(no), name(nm), limit(lim), balance(bal){ }
bool CreditCard::chargeIt(double price) {
if(price + balance > double(limit))
return false;
... | 26.607143 | 90 | 0.546309 |
ca13fb8023513de4c485099acac9f2ac85f834c5 | 924 | java | Java | src/main/java/com/pushtechnology/load/client/action/LimitedAction.java | adam-push/load-test-client | 2d5ba7c30407f802043ee754b37e60825af18024 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/pushtechnology/load/client/action/LimitedAction.java | adam-push/load-test-client | 2d5ba7c30407f802043ee754b37e60825af18024 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/pushtechnology/load/client/action/LimitedAction.java | adam-push/load-test-client | 2d5ba7c30407f802043ee754b37e60825af18024 | [
"Apache-2.0"
] | null | null | null | /*
* Push Technology Ltd. ("Push") CONFIDENTIAL
* Unpublished Copyright © 2017 Push Technology Ltd., All Rights Reserved.
*/
package com.pushtechnology.load.client.action;
import java.util.concurrent.CountDownLatch;
/**
* Wraps an existing Action to provide the ability to terminate it once it has
* been run a pr... | 23.692308 | 78 | 0.634199 |
180c1c20443386c1f7f93839eb4e35f6b19625f7 | 6,911 | sql | SQL | pos.sql | nipunann1991/pharmacy_system | 9f2064811838a45b0035ddee574f0845dc41635c | [
"MIT"
] | null | null | null | pos.sql | nipunann1991/pharmacy_system | 9f2064811838a45b0035ddee574f0845dc41635c | [
"MIT"
] | null | null | null | pos.sql | nipunann1991/pharmacy_system | 9f2064811838a45b0035ddee574f0845dc41635c | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Sep 24, 2017 at 07:37 PM
-- Server version: 10.1.19-MariaDB
-- PHP Version: 5.6.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CL... | 27.101961 | 271 | 0.63001 |
b04a49a292721d8e6662442ae5dbb645912079f2 | 392 | html | HTML | src/app/components/search/search.component.html | maapteh/workshop-openflight | 58d0bdb13314858ad7281d1f7ebe9e0310be3fe4 | [
"MIT"
] | 1 | 2018-06-24T13:59:13.000Z | 2018-06-24T13:59:13.000Z | src/app/components/search/search.component.html | maapteh/workshop-openflight | 58d0bdb13314858ad7281d1f7ebe9e0310be3fe4 | [
"MIT"
] | null | null | null | src/app/components/search/search.component.html | maapteh/workshop-openflight | 58d0bdb13314858ad7281d1f7ebe9e0310be3fe4 | [
"MIT"
] | null | null | null | <div class="c-search">
<input
type="text"
placeholder="Departure from"
class="c-search__input"
#departure
(keydown.enter)="toggleOpen()"
(keydown.tab)="toggleOpen()"
[attr.aria-hidden]="isOpen === false">
<div
class="c-search__toggle"
(click)="toggleOpen()"
tabindex="0"
... | 18.666667 | 42 | 0.571429 |
4c228dffed43ead08c485ac2c07153d14d9e5cbd | 458 | php | PHP | app/Src/Category/Repository/CategoryRepositoryRead.php | mpijierro/devoogle | 6b678887d820696c0104bc61058da7ffe3447c3a | [
"MIT"
] | 2 | 2019-05-27T23:05:18.000Z | 2019-06-06T13:51:00.000Z | app/Src/Category/Repository/CategoryRepositoryRead.php | mpijierro/devoogle | 6b678887d820696c0104bc61058da7ffe3447c3a | [
"MIT"
] | 7 | 2019-02-21T09:27:51.000Z | 2021-03-30T12:18:08.000Z | app/Src/Category/Repository/CategoryRepositoryRead.php | mpijierro/devoogle | 6b678887d820696c0104bc61058da7ffe3447c3a | [
"MIT"
] | 2 | 2019-02-21T12:31:52.000Z | 2019-06-07T09:21:35.000Z | <?php
namespace Devoogle\Src\Category\Repository;
use Devoogle\Src\Category\Model\Category;
class CategoryRepositoryRead
{
public function find($aCategoryId)
{
return Category::find($aCategoryId);
}
public function allOrderByName()
{
return Category::orderBy('name', 'asc')->get... | 17.615385 | 61 | 0.650655 |
7d7a6eda0f4a343dad7c1dfb81429401870dac28 | 36 | psm1 | PowerShell | modules/AWSPowerShell/Cmdlets/SSO/AWS.Tools.SSO.Aliases.psm1 | ajsing/aws-tools-for-powershell | 25372542f23afd465fc419c4ec1f6175d7f3dee2 | [
"Apache-2.0"
] | 181 | 2019-03-29T16:45:16.000Z | 2022-03-24T22:46:45.000Z | modules/AWSPowerShell/Cmdlets/SSO/AWS.Tools.SSO.Aliases.psm1 | lukeenterprise/aws-tools-for-powershell | acc809bc80d092fc1fb2c21780ff9ea06f3d104c | [
"Apache-2.0"
] | 233 | 2019-03-29T12:22:54.000Z | 2022-03-30T08:14:56.000Z | modules/AWSPowerShell/Cmdlets/SSO/AWS.Tools.SSO.Aliases.psm1 | lukeenterprise/aws-tools-for-powershell | acc809bc80d092fc1fb2c21780ff9ea06f3d104c | [
"Apache-2.0"
] | 70 | 2019-05-09T05:43:10.000Z | 2022-02-22T15:09:32.000Z | # SSO
Export-ModuleMember -Alias * | 12 | 28 | 0.722222 |
3952e1970c18bb794e3e4207cbcacbe91db08224 | 129,726 | html | HTML | Task 1.2/dataset/page_95/4722.html | cosmin-z/ADM-HW3 | fac8cb2288c734b0c1e30e23757a0c0e14268544 | [
"MIT"
] | null | null | null | Task 1.2/dataset/page_95/4722.html | cosmin-z/ADM-HW3 | fac8cb2288c734b0c1e30e23757a0c0e14268544 | [
"MIT"
] | null | null | null | Task 1.2/dataset/page_95/4722.html | cosmin-z/ADM-HW3 | fac8cb2288c734b0c1e30e23757a0c0e14268544 | [
"MIT"
] | null | null | null |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<link rel="preconnect" href="//fonts.gstatic.com/" crossorigin="anonymous" />
<link rel="... | 77.080214 | 9,422 | 0.6567 |
4b720790d41a736b62d5475d55025c0e206c4dda | 6,122 | sql | SQL | api/src/main/resources/db/migration/1.0/V1.0.10__DML-INSERT_DATA-LETTER_GRADE.sql | bcgov/EDUC-GRAD-STUDENT-GRADUATION-API | 5192dad013a7cda6d01a3ea22534379cc069b4cc | [
"Apache-2.0"
] | null | null | null | api/src/main/resources/db/migration/1.0/V1.0.10__DML-INSERT_DATA-LETTER_GRADE.sql | bcgov/EDUC-GRAD-STUDENT-GRADUATION-API | 5192dad013a7cda6d01a3ea22534379cc069b4cc | [
"Apache-2.0"
] | 20 | 2021-07-12T17:35:58.000Z | 2022-03-30T23:57:07.000Z | api/src/main/resources/db/migration/1.0/V1.0.10__DML-INSERT_DATA-LETTER_GRADE.sql | bcgov/EDUC-GRAD-STUDENT-GRADUATION-API | 5192dad013a7cda6d01a3ea22534379cc069b4cc | [
"Apache-2.0"
] | null | null | null | INSERT INTO LETTER_GRADE (LETTER_GRADE,PASS_FLAG,GPA_MARK_VALUE,DESCRIPTION,PERCENT_RANGE_HIGH,PERCENT_RANGE_LOW,LABEL,EXPIRY_DATE) VALUES ('W','N',0,'According to the policy of the board, and upon request of the parent of the student or, when appropriate, the student, the principal, vice principal or director of instr... | 382.625 | 670 | 0.812806 |
c364e13918f7daaf9cecc36e4c358ddd6c87a875 | 3,361 | lua | Lua | prototypes/hatch.lua | manmen-mi/Renai-Transportation | 64e1a26f1f116747d3aff137af6a0e91d8ebe62f | [
"MIT"
] | 13 | 2020-05-06T17:43:23.000Z | 2022-01-21T14:26:42.000Z | prototypes/hatch.lua | manmen-mi/Renai-Transportation | 64e1a26f1f116747d3aff137af6a0e91d8ebe62f | [
"MIT"
] | 27 | 2020-08-11T16:56:01.000Z | 2022-01-12T14:08:20.000Z | prototypes/hatch.lua | manmen-mi/Renai-Transportation | 64e1a26f1f116747d3aff137af6a0e91d8ebe62f | [
"MIT"
] | 6 | 2020-06-14T15:47:53.000Z | 2022-01-24T15:40:07.000Z | local nothing = {
filename = "__RenaiTransportation__/graphics/nothing.png",
width = 1,
height = 1
}
data:extend({
{
type = "simple-entity-with-owner",
name = "HatchRT",
icon = "__RenaiTransportation__/graphics/hatch/icon.png",
icon_size = 16,
flags = {"placeable-neutral", "player-creation", "not-ro... | 24.896296 | 72 | 0.628682 |
e81c248e68a18591ddb007eb325ce03a8a1e8ee7 | 1,853 | hpp | C++ | engine/core/genoptns.hpp | Venkster123/Zhetapi | 9a034392c06733c57d892afde300e90c4b7036f9 | [
"MIT"
] | 27 | 2020-06-05T15:39:31.000Z | 2022-01-07T05:03:01.000Z | engine/core/genoptns.hpp | Venkster123/Zhetapi | 9a034392c06733c57d892afde300e90c4b7036f9 | [
"MIT"
] | 1 | 2021-02-12T04:51:40.000Z | 2021-02-12T04:51:40.000Z | engine/core/genoptns.hpp | Venkster123/Zhetapi | 9a034392c06733c57d892afde300e90c4b7036f9 | [
"MIT"
] | 4 | 2021-02-12T04:39:55.000Z | 2021-11-15T08:00:06.000Z | #ifndef GENOPTNS_H_
#define GENOPTNS_H_
// Standard headers
#include <iostream>
// Engine headers
#include "operations.hpp"
#include "variant.hpp"
#include "primoptns.hpp"
namespace zhetapi {
namespace core {
// operation type
using Operation = Variant (*)(const Variant, const Variant);
struct Overload {
OID ov... | 20.362637 | 89 | 0.64436 |
b7ac4e333889f9d7d1fea9f3e25bf7465139f4b4 | 69 | lua | Lua | bin/script/test_path.lua | brinkqiang/luapb | a8532650ee44cd00cda3a7a4d0077c2290a9692d | [
"MIT"
] | 3 | 2020-12-15T04:50:58.000Z | 2021-09-03T07:17:27.000Z | bin/script/test_path.lua | brinkqiang/luapb | a8532650ee44cd00cda3a7a4d0077c2290a9692d | [
"MIT"
] | null | null | null | bin/script/test_path.lua | brinkqiang/luapb | a8532650ee44cd00cda3a7a4d0077c2290a9692d | [
"MIT"
] | 1 | 2019-06-27T13:41:33.000Z | 2019-06-27T13:41:33.000Z | -- lua script
local pb = require("luapb")
print(pb.getmodulepath()) | 13.8 | 27 | 0.695652 |
9d43c7f00a98d97b72e464cd50c20f7306a580a6 | 3,899 | html | HTML | public/test/login.html | amcsi/lycdb | 16b7d174306d42559daffab0ce0bbb574da6db79 | [
"BSD-3-Clause"
] | null | null | null | public/test/login.html | amcsi/lycdb | 16b7d174306d42559daffab0ce0bbb574da6db79 | [
"BSD-3-Clause"
] | null | null | null | public/test/login.html | amcsi/lycdb | 16b7d174306d42559daffab0ce0bbb574da6db79 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="../style.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
</head>
<body>
<div id='header'>
</di... | 43.322222 | 99 | 0.452937 |
ef1a6a8d1e1dd1c942acaa990af30a8a44e3fe92 | 838 | sql | SQL | src/main/resources/db/migration/courtcase/V2100__fix_probation_status.sql | ministryofjustice/court-case-service | 58729d390414569f6e0f842a2997c6d92a79b0e3 | [
"MIT"
] | null | null | null | src/main/resources/db/migration/courtcase/V2100__fix_probation_status.sql | ministryofjustice/court-case-service | 58729d390414569f6e0f842a2997c6d92a79b0e3 | [
"MIT"
] | 92 | 2019-11-27T14:28:25.000Z | 2022-03-28T02:02:46.000Z | src/main/resources/db/migration/courtcase/V2100__fix_probation_status.sql | ministryofjustice/court-case-service | 58729d390414569f6e0f842a2997c6d92a79b0e3 | [
"MIT"
] | 3 | 2020-02-28T14:55:47.000Z | 2021-12-20T10:39:56.000Z | BEGIN;
-- Similar SQL has been applied before in V1122__alter_probation_status.sql
-- Need to do this on defendant now. Bug fix in this changeset which should transform incoming "No record" and such to NO_RECORD from now on
update court_case set probation_status = 'CURRENT' where LOWER(probation_status) = 'current';
up... | 69.833333 | 140 | 0.801909 |
42c35008089ff1aeb2efc9a8bb0960cf84169500 | 4,323 | swift | Swift | CID Gamified Training/CID Gamified Training/Assignments/Assignments.swift | enyaxing/arl-gamified-training | 2dcbecba790ee3a8ef37f548438479af6e658cb8 | [
"MIT"
] | 1 | 2020-09-12T23:01:14.000Z | 2020-09-12T23:01:14.000Z | CID Gamified Training/CID Gamified Training/Assignments/Assignments.swift | enyaxing/arl-gamified-training | 2dcbecba790ee3a8ef37f548438479af6e658cb8 | [
"MIT"
] | null | null | null | CID Gamified Training/CID Gamified Training/Assignments/Assignments.swift | enyaxing/arl-gamified-training | 2dcbecba790ee3a8ef37f548438479af6e658cb8 | [
"MIT"
] | null | null | null | //
// Assignments.swift
// CID Gamified Training
//
// Created by Kyle Lui on 7/6/20.
// Copyright © 2020 X-Force. All rights reserved.
//
import SwiftUI
import Firebase
/** View that lets you see existing assignments. */
struct Assignments: View {
/** Reference to global user variable. */
@Environme... | 37.267241 | 227 | 0.52718 |
bdba715e70e77a9add61661ed285e5eb5558f40d | 292 | kt | Kotlin | ktchism-rx/src/main/java/ktchism/rx/useCase/UseCaseCompletable.kt | AndreyRusSprint/Ktchism | 8f3a1ef13d6ae7183ec5e69688381fe98d2cb01d | [
"MIT"
] | null | null | null | ktchism-rx/src/main/java/ktchism/rx/useCase/UseCaseCompletable.kt | AndreyRusSprint/Ktchism | 8f3a1ef13d6ae7183ec5e69688381fe98d2cb01d | [
"MIT"
] | null | null | null | ktchism-rx/src/main/java/ktchism/rx/useCase/UseCaseCompletable.kt | AndreyRusSprint/Ktchism | 8f3a1ef13d6ae7183ec5e69688381fe98d2cb01d | [
"MIT"
] | null | null | null | package ktchism.rx.useCase
import io.reactivex.Completable
import ktchism.core.UseCase
/**
* [UseCase] with [Completable] result.
*
* @param Params the type of input parameters.
*/
interface UseCaseCompletable<in Params> : UseCase<Completable, Params>
where Params : UseCase.Params
| 22.461538 | 70 | 0.756849 |
ddfd1d910c17076a655e2a799721270180b71211 | 1,535 | php | PHP | src/WorkerTrait.php | JieAnthony/laravel-octane-workerman | 9cf73078c2d26488c3f8289f7e4e3f9e2ee6bcbd | [
"MIT"
] | 48 | 2021-12-14T08:54:55.000Z | 2022-03-29T08:37:10.000Z | src/WorkerTrait.php | mouyong/laravel-octane-workerman | fd8187d943812956e54476aef10529d074a15894 | [
"MIT"
] | 3 | 2022-03-24T14:46:25.000Z | 2022-03-31T01:29:19.000Z | src/WorkerTrait.php | JieAnthony/laravel-octane-workerman | 9cf73078c2d26488c3f8289f7e4e3f9e2ee6bcbd | [
"MIT"
] | 6 | 2021-12-16T08:04:42.000Z | 2022-03-27T16:27:32.000Z | <?php
namespace JieAnthony\LaravelOctaneWorkerman;
use Illuminate\Support\Arr;
trait WorkerTrait
{
protected static $_bindInstance = [];
protected static $_instance = null;
public static function bindInstance(...$property)
{
foreach ($property as $prop) {
static::setProp($prop);... | 23.257576 | 108 | 0.548534 |
04dd07d03efd822341657eabeba3b109374bd65d | 1,723 | java | Java | core/src/main/java/com/dtolabs/rundeck/core/execution/workflow/NodeDispatchedWorkflowExecutionItemImpl.java | LarsFronius/rundeck | dc9dcc35441fb59f74436b768f172f9d049637ae | [
"Apache-2.0"
] | null | null | null | core/src/main/java/com/dtolabs/rundeck/core/execution/workflow/NodeDispatchedWorkflowExecutionItemImpl.java | LarsFronius/rundeck | dc9dcc35441fb59f74436b768f172f9d049637ae | [
"Apache-2.0"
] | null | null | null | core/src/main/java/com/dtolabs/rundeck/core/execution/workflow/NodeDispatchedWorkflowExecutionItemImpl.java | LarsFronius/rundeck | dc9dcc35441fb59f74436b768f172f9d049637ae | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2012 DTO Labs, Inc. (http://dtolabs.com)
*
* 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 app... | 33.784314 | 110 | 0.717934 |
893c1f6518b3d5429725398d3f77c80ae4248c9d | 67 | lua | Lua | system/shell.lua | ShadowKatStudios/amie | 725dd47cee4c5d385217f8c4dfb9842ff52bfafb | [
"MIT"
] | 5 | 2015-07-11T18:05:34.000Z | 2021-04-07T13:38:16.000Z | system/shell.lua | ShadowKatStudios/amie | 725dd47cee4c5d385217f8c4dfb9842ff52bfafb | [
"MIT"
] | 2 | 2015-04-16T17:41:50.000Z | 2015-04-16T18:31:58.000Z | system/shell.lua | shadowkatstudios/amie | 725dd47cee4c5d385217f8c4dfb9842ff52bfafb | [
"MIT"
] | 2 | 2020-09-13T10:21:39.000Z | 2020-09-17T01:54:29.000Z | while true do
local text=syscall("readln")
pcall(load(text))
end
| 13.4 | 29 | 0.731343 |
05c2c83dedd7ca094b5347e9b65534b2829eeddd | 422 | sql | SQL | SQLQueryT_Peoples.sql | S0L4/2s2019-t2-sprint-2-backend-Peoples | 11c35f43b8e046a100ef22a5cebfdecf0645ff80 | [
"MIT"
] | null | null | null | SQLQueryT_Peoples.sql | S0L4/2s2019-t2-sprint-2-backend-Peoples | 11c35f43b8e046a100ef22a5cebfdecf0645ff80 | [
"MIT"
] | null | null | null | SQLQueryT_Peoples.sql | S0L4/2s2019-t2-sprint-2-backend-Peoples | 11c35f43b8e046a100ef22a5cebfdecf0645ff80 | [
"MIT"
] | null | null | null | CREATE DATABASE T_Peoples
USE T_Peoples
-- DDL
CREATE TABLE Funcionarios
(
IdFuncionario INT PRIMARY KEY IDENTITY
,Nome VARCHAR(255) NOT NULL
,Sobrenome VARCHAR(255) NOT NULL
)
-- DML
INSERT INTO Funcionarios (Nome, Sobrenome) VALUES ('Catarina','Strada')
,('Tadeu','Vitelli')
UPDATE Funcion... | 17.583333 | 79 | 0.701422 |
5063d4ef9278676bd223f7fd06b04ff4d6b920f1 | 3,918 | html | HTML | pipermail/antlr-interest/2010-March/037974.html | hpcc-systems/website-antlr3 | aa6181595356409f8dc624e54715f56bd10707a8 | [
"BSD-3-Clause"
] | null | null | null | pipermail/antlr-interest/2010-March/037974.html | hpcc-systems/website-antlr3 | aa6181595356409f8dc624e54715f56bd10707a8 | [
"BSD-3-Clause"
] | null | null | null | pipermail/antlr-interest/2010-March/037974.html | hpcc-systems/website-antlr3 | aa6181595356409f8dc624e54715f56bd10707a8 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [antlr-interest] Factorization of Logic Expressions
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:antlr-interest%40antlr.org?Subject=Re:%20%5Bantlr-interest%5D%20Factorization%20of%20Logic%20Expressions&I... | 49.594937 | 423 | 0.686575 |
c59524e5cb189338711cbfb82b465760fc8ddfb3 | 214,266 | cc | C++ | content/browser/webauth/authenticator_impl_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/webauth/authenticator_impl_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/webauth/authenticator_impl_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 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.
#include "content/browser/webauth/authenticator_impl.h"
#include <algorithm>
#include <list>
#include <memory>
#include <string>
#include <utility>
#incl... | 40.245304 | 85 | 0.71779 |
81d33193e33ed0040bc616ae0c5be07e823c8332 | 1,296 | html | HTML | src/app/components/user-list/user-list.component.html | kkolada/heroku-test-app | 0e433bf91d12148daa9e65c1f107f325ff6d48ef | [
"MIT"
] | null | null | null | src/app/components/user-list/user-list.component.html | kkolada/heroku-test-app | 0e433bf91d12148daa9e65c1f107f325ff6d48ef | [
"MIT"
] | null | null | null | src/app/components/user-list/user-list.component.html | kkolada/heroku-test-app | 0e433bf91d12148daa9e65c1f107f325ff6d48ef | [
"MIT"
] | null | null | null | <div id="employee-list" class="container">
<h2>
<i class="fa fa-users extra-space"></i>List of employees
</h2>
<hr>
<div class="row">
<div class="col-sm-12 col-center">
<div class="row">
<div class="col-sm-4" *ngFor="let user of _users">
<div class="card">
<div cla... | 30.857143 | 119 | 0.456019 |
22ff93687a86bcf307411a8eb91600bfcb75f150 | 4,156 | h | C | src/components/application_manager/test/state_controller/include/application_manager_mock.h | jacobkeeler/sdl_core | ad68c5d08986bb134651d06d22b4860c610b1f0f | [
"BSD-3-Clause"
] | null | null | null | src/components/application_manager/test/state_controller/include/application_manager_mock.h | jacobkeeler/sdl_core | ad68c5d08986bb134651d06d22b4860c610b1f0f | [
"BSD-3-Clause"
] | null | null | null | src/components/application_manager/test/state_controller/include/application_manager_mock.h | jacobkeeler/sdl_core | ad68c5d08986bb134651d06d22b4860c610b1f0f | [
"BSD-3-Clause"
] | 1 | 2017-02-15T07:49:12.000Z | 2017-02-15T07:49:12.000Z | /*
* Copyright (c) 2015, Ford Motor Company
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of condit... | 51.308642 | 103 | 0.779836 |
12cb9ba5eb17069b05751e43c0cecf94d8824aa8 | 17,263 | html | HTML | snapshots/memberships.html | alphagov/govuk-content-best-practices | c4ee9dc4b43f9f4fb4343926a16cf18731e0fc7c | [
"MIT"
] | 4 | 2015-05-13T16:23:58.000Z | 2018-01-15T22:22:51.000Z | snapshots/memberships.html | alphagov/govuk-content-best-practices | c4ee9dc4b43f9f4fb4343926a16cf18731e0fc7c | [
"MIT"
] | 3 | 2015-10-27T15:14:53.000Z | 2017-08-04T12:58:11.000Z | snapshots/memberships.html | alphagov/govuk-content-best-practices | c4ee9dc4b43f9f4fb4343926a16cf18731e0fc7c | [
"MIT"
] | 7 | 2015-04-29T10:43:39.000Z | 2021-04-10T19:31:49.000Z | <!DOCTYPE html>
<!--[if lt IE 9]>
<html class="lte-ie8" lang="en">
<![endif]-->
<!--[if gt IE 8]><!-->
<html lang="en">
<!--<![endif]-->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>GOV.UK best practice example</title>
<script type="text/javascript">
(funct... | 71.929167 | 306 | 0.643863 |
404fd2c791e7328ae5d3f47fe4b6b19e86d0f5f4 | 356 | py | Python | examples/counter.py | pmatigakis/metricslib | cf7c6e781bea444a3495f87465ead48f7ec1de57 | [
"MIT"
] | 1 | 2020-01-07T00:04:02.000Z | 2020-01-07T00:04:02.000Z | examples/counter.py | pmatigakis/metricslib | cf7c6e781bea444a3495f87465ead48f7ec1de57 | [
"MIT"
] | null | null | null | examples/counter.py | pmatigakis/metricslib | cf7c6e781bea444a3495f87465ead48f7ec1de57 | [
"MIT"
] | null | null | null | from metricslib.config import configure_from_dict
from metricslib.utils import get_metrics
def main():
config = {
"STATSD_HOST": "localhost",
"STATSD_PORT": 8125
}
configure_from_dict(config)
metrics = get_metrics()
counter = metrics.counter("myapp.count")
counter.incr()
if... | 17.8 | 49 | 0.662921 |
53dbf82b3650dfe4282459732926397b4dbc5810 | 31 | java | Java | 39_repository/src/IEntity.java | HaNuNa42/JavaCrashCourse | fbe69048f13865a496f1818fc1c7808619871956 | [
"Apache-2.0"
] | null | null | null | 39_repository/src/IEntity.java | HaNuNa42/JavaCrashCourse | fbe69048f13865a496f1818fc1c7808619871956 | [
"Apache-2.0"
] | null | null | null | 39_repository/src/IEntity.java | HaNuNa42/JavaCrashCourse | fbe69048f13865a496f1818fc1c7808619871956 | [
"Apache-2.0"
] | null | null | null | public interface IEntity {
}
| 10.333333 | 27 | 0.709677 |
4770bc63afe69a9b3394f2e7c2fc3513542133a0 | 8,085 | swift | Swift | PKMainMenu/PKMainMenuTableViewController.swift | pralancer/PKSideMenuDetailContainerController | eaaf7bc44eaababc3716ecdfe02482f608d1a155 | [
"Apache-2.0"
] | null | null | null | PKMainMenu/PKMainMenuTableViewController.swift | pralancer/PKSideMenuDetailContainerController | eaaf7bc44eaababc3716ecdfe02482f608d1a155 | [
"Apache-2.0"
] | null | null | null | PKMainMenu/PKMainMenuTableViewController.swift | pralancer/PKSideMenuDetailContainerController | eaaf7bc44eaababc3716ecdfe02482f608d1a155 | [
"Apache-2.0"
] | null | null | null | /*
// BackgroundAudioPlayer.h
Copyright 2015 Pralancer. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applic... | 38.870192 | 162 | 0.697712 |
e66ef56bd834680e938f4a015aa03ceb53ab7256 | 711 | asm | Assembly | oeis/254/A254645.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/254/A254645.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/254/A254645.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A254645: Fourth partial sums of sixth powers (A001014).
; Submitted by Christian Krause
; 1,68,995,7672,40614,166992,571626,1701480,4534959,11050468,24997973,53113424,106959580,205628736,379603812,676144944,1166649837,1956528420,3198236503,5108229896,7988730530,12255340240,18471696750,27392540760,40016753595,57652132... | 54.692308 | 490 | 0.83263 |
88030bd0a7ce0485911c686a76bcc7fe28c16cc3 | 2,088 | swift | Swift | ComponentBaseDependencyInjection/First/FirstScreenViewController.swift | ilyadaberdil/Component-Base-Dependency-Injection-Architecture | f768799bec94a4a0f3c2646a49aac24fdd6b9919 | [
"Apache-2.0"
] | 1 | 2020-02-14T12:02:12.000Z | 2020-02-14T12:02:12.000Z | ComponentBaseDependencyInjection/First/FirstScreenViewController.swift | ilyadaberdil/Component-Base-Dependency-Injection-Architecture | f768799bec94a4a0f3c2646a49aac24fdd6b9919 | [
"Apache-2.0"
] | null | null | null | ComponentBaseDependencyInjection/First/FirstScreenViewController.swift | ilyadaberdil/Component-Base-Dependency-Injection-Architecture | f768799bec94a4a0f3c2646a49aac24fdd6b9919 | [
"Apache-2.0"
] | null | null | null | //
// ViewController.swift
// ComponentBaseDependencyInjection
//
// Created by Berdil İlyada Karacam on 8.02.2020.
// Copyright © 2020 Berdil İlyada Karacam. All rights reserved.
//
import UIKit
protocol FirstScreenViewControllerRouterProtocol: AnyObject {
func present(viewController: UIViewController)
}
pr... | 29 | 84 | 0.702586 |
b0d5043a2660f8b8bd5d495a7b2e91f4fb69d847 | 1,768 | dart | Dart | analog_clock/lib/clock_legs.dart | norraell/flutter_clock_challenge | 499d74b27ef24992629a587d8d919fd81d9138a5 | [
"MIT"
] | null | null | null | analog_clock/lib/clock_legs.dart | norraell/flutter_clock_challenge | 499d74b27ef24992629a587d8d919fd81d9138a5 | [
"MIT"
] | null | null | null | analog_clock/lib/clock_legs.dart | norraell/flutter_clock_challenge | 499d74b27ef24992629a587d8d919fd81d9138a5 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'dart:math' as math;
class ClockLegs extends StatelessWidget {
const ClockLegs({
@required this.color,
}) : assert(color != null);
final Color color;
@override
Widget build(BuildContext context) {
return Center(
child: SizedBox.expand(
c... | 25.623188 | 80 | 0.640837 |
f052efa23ff0effd67d63001195791b3ab503886 | 6,545 | js | JavaScript | spec/utils-spec.js | vt5491/multi-theme-applicator | df71d9d340ceaf31d074e49129c6a18530e77583 | [
"MIT"
] | 8 | 2016-12-01T12:03:29.000Z | 2020-02-12T22:54:25.000Z | spec/utils-spec.js | vt5491/multi-theme-applicator | df71d9d340ceaf31d074e49129c6a18530e77583 | [
"MIT"
] | 11 | 2017-01-20T00:53:04.000Z | 2022-03-30T05:59:39.000Z | spec/utils-spec.js | vt5491/multi-theme-applicator | df71d9d340ceaf31d074e49129c6a18530e77583 | [
"MIT"
] | null | null | null | /*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/
let jQuery;
const Utils = require('../lib/utils');
const Base = require('../lib/base');
const $ = (jQuery = require('jquery... | 36.977401 | 134 | 0.668296 |
90ed75d34064135f6912da1fdba594802496c584 | 1,446 | py | Python | tests/examples/AclContentCacheSimpleTest.py | apanda/modeling | e032abd413bb3325ad6e5995abadeef74314f383 | [
"BSD-3-Clause"
] | 3 | 2017-08-30T05:24:11.000Z | 2021-02-25T12:17:19.000Z | tests/examples/AclContentCacheSimpleTest.py | apanda/modeling | e032abd413bb3325ad6e5995abadeef74314f383 | [
"BSD-3-Clause"
] | null | null | null | tests/examples/AclContentCacheSimpleTest.py | apanda/modeling | e032abd413bb3325ad6e5995abadeef74314f383 | [
"BSD-3-Clause"
] | 2 | 2017-11-15T07:00:48.000Z | 2020-12-13T17:29:03.000Z | import components
def AclContentCacheSimpleTest ():
"""ACL content cache test"""
ctx = components.Context (['a', 'b', 'cc'],\
['ip_a', 'ip_b', 'ip_cc'])
net = components.Network (ctx)
a = components.EndHost(ctx.a, net, ctx)
b = components.EndHost(ctx.b, net, ctx)
... | 38.052632 | 67 | 0.571231 |
a83b7d5f4f2b4272c386f2619edc19c0691c3219 | 153 | rs | Rust | candy-machine/program/tests/utils/mod.rs | exromany/metaplex-program-library | dadf07d0dab3c3fc4fdeb9d3f0a030e4a5e679a1 | [
"Apache-2.0"
] | 1 | 2022-02-22T18:54:12.000Z | 2022-02-22T18:54:12.000Z | candy-machine/program/tests/utils/mod.rs | exromany/metaplex-program-library | dadf07d0dab3c3fc4fdeb9d3f0a030e4a5e679a1 | [
"Apache-2.0"
] | null | null | null | candy-machine/program/tests/utils/mod.rs | exromany/metaplex-program-library | dadf07d0dab3c3fc4fdeb9d3f0a030e4a5e679a1 | [
"Apache-2.0"
] | 1 | 2022-01-04T09:47:46.000Z | 2022-01-04T09:47:46.000Z | pub use candy_manager::*;
pub use configs::*;
pub use helper_transactions::*;
mod candy_manager;
mod configs;
mod helper_transactions;
pub mod helpers;
| 17 | 31 | 0.771242 |
64e8bca5e09ba668446455e6a2158b61b7a03ee5 | 13,758 | java | Java | modules/chiron/middle/src/main/java/com/otcdlink/chiron/command/automatic/CommandCooker.java | OTCdLink/Chiron | 310d61577e98e54fa05309b260b089f1b87ed229 | [
"Apache-2.0"
] | null | null | null | modules/chiron/middle/src/main/java/com/otcdlink/chiron/command/automatic/CommandCooker.java | OTCdLink/Chiron | 310d61577e98e54fa05309b260b089f1b87ed229 | [
"Apache-2.0"
] | null | null | null | modules/chiron/middle/src/main/java/com/otcdlink/chiron/command/automatic/CommandCooker.java | OTCdLink/Chiron | 310d61577e98e54fa05309b260b089f1b87ed229 | [
"Apache-2.0"
] | null | null | null | package com.otcdlink.chiron.command.automatic;
import com.google.common.base.CaseFormat;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.otcdlink.chiron.buffer.PositionalFieldReader;
import com.otcdlink.chiron.buffer.PositionalFieldWriter;
import com.otcdlink.c... | 40.584071 | 130 | 0.709914 |
9c88e55a03192855e26b44b77c380933376dfd11 | 4,668 | ps1 | PowerShell | deploy-bginfo.ps1 | cetechllc/sysinternals-bginfo | f5e5ef075d256e2612d1ef3270017e7150c71d2f | [
"MIT"
] | null | null | null | deploy-bginfo.ps1 | cetechllc/sysinternals-bginfo | f5e5ef075d256e2612d1ef3270017e7150c71d2f | [
"MIT"
] | null | null | null | deploy-bginfo.ps1 | cetechllc/sysinternals-bginfo | f5e5ef075d256e2612d1ef3270017e7150c71d2f | [
"MIT"
] | null | null | null | ## Variables
$bgInfoFolder = "C:\BgInfo"
$bgInfoFolderContent = $bgInfoFolder + "\*"
$itemType = "Directory"
$bgInfoUrl = "https://download.sysinternals.com/files/BGInfo.zip"
$bgInfoZip = "C:\BgInfo\BGInfo.zip"
$bgInfoEula = "C:\BgInfo\Eula.txt"
$logonBgiUrl = "https://github.com/cetechllc/sysinternals-bginfo/raw/main... | 50.193548 | 154 | 0.562554 |
12f7e4231df53bf3043fc3883ab2cd57a5f3b4cf | 2,351 | html | HTML | index.html | telega/MuxTool | 3b381b095c2d259b4338f839c1e8b56c9367b5d6 | [
"MIT"
] | null | null | null | index.html | telega/MuxTool | 3b381b095c2d259b4338f839c1e8b56c9367b5d6 | [
"MIT"
] | null | null | null | index.html | telega/MuxTool | 3b381b095c2d259b4338f839c1e8b56c9367b5d6 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<title>MuxTool</title>
<!-- Stylesheets -->
<link rel="stylesheet" href="css/photon.min.css">
<link rel="stylesheet" href="css/app.css">
<!-- Electron Javascript -->
<script src="app.js" charset="utf-8"></script>
<!--<script src="js/menu.js" charset="utf-8">... | 32.652778 | 100 | 0.524883 |
fb89ee70f9e2eb452b2c967b937f0b8a042a918c | 2,868 | java | Java | src/main/java/pythagoras/f/Transforms.java | Lai999/pythagoras | b8fea743ee8a7d742ad9c06ee4f11f50571fbd32 | [
"Apache-2.0"
] | 23 | 2015-02-26T10:54:14.000Z | 2021-02-26T20:33:54.000Z | src/main/java/pythagoras/f/Transforms.java | Lai999/pythagoras | b8fea743ee8a7d742ad9c06ee4f11f50571fbd32 | [
"Apache-2.0"
] | 3 | 2015-02-04T19:26:30.000Z | 2018-11-19T09:03:58.000Z | src/main/java/pythagoras/f/Transforms.java | Lai999/pythagoras | b8fea743ee8a7d742ad9c06ee4f11f50571fbd32 | [
"Apache-2.0"
] | 8 | 2015-02-04T07:28:59.000Z | 2019-07-30T17:07:56.000Z | //
// Pythagoras - a collection of geometry classes
// http://github.com/samskivert/pythagoras
package pythagoras.f;
/**
* {@link Transform} related utility methods.
*/
public class Transforms
{
/**
* Creates and returns a new shape that is the supplied shape transformed by this transform's
* matrix.
... | 38.24 | 100 | 0.581241 |
b843aad1b858923a62150be4131d1b5a370f4403 | 3,969 | rs | Rust | src/dfx/src/lib/ledger_types/mod.rs | jzxchiang1/sdk | f6f5322380fdc2fe9d88847494d249939fab6f03 | [
"Apache-2.0"
] | null | null | null | src/dfx/src/lib/ledger_types/mod.rs | jzxchiang1/sdk | f6f5322380fdc2fe9d88847494d249939fab6f03 | [
"Apache-2.0"
] | null | null | null | src/dfx/src/lib/ledger_types/mod.rs | jzxchiang1/sdk | f6f5322380fdc2fe9d88847494d249939fab6f03 | [
"Apache-2.0"
] | null | null | null | // DISCLAIMER:
// Do not modify this file arbitrarily.
// The contents are borrowed from:
// https://gitlab.com/dfinity-lab/public/ic/-/blob/master/rs/rosetta-api/ledger_canister/src/lib.rs
use crate::lib::nns_types::account_identifier::Subaccount;
use crate::lib::nns_types::icpts::ICPTs;
use crate::lib::nns_types::{a... | 28.970803 | 115 | 0.633409 |
c283136ca46080bae7c83b0ced9ce5d9e04ab751 | 694 | go | Go | day01/main_test.go | fleaz/AoC-2019 | 5a4cbbce158be03a38e434bd19ffa04693426928 | [
"MIT"
] | 2 | 2019-12-02T23:36:21.000Z | 2019-12-04T16:34:30.000Z | day01/main_test.go | fleaz/AoC-2019 | 5a4cbbce158be03a38e434bd19ffa04693426928 | [
"MIT"
] | 1 | 2019-12-02T17:20:20.000Z | 2019-12-02T21:52:24.000Z | day01/main_test.go | fleaz/AoC-2019 | 5a4cbbce158be03a38e434bd19ffa04693426928 | [
"MIT"
] | null | null | null | package main
import "testing"
type testpair struct {
mass int
wantFuel int
}
func TestCalculateFuel(t *testing.T) {
pairs := []testpair{
{12, 2},
{14, 2},
{1969, 654},
{100756, 33583},
}
for _, p := range pairs {
isFuel := calculateFuel(p.mass)
if isFuel != p.wantFuel {
t.Errorf("Wanted %d f... | 15.772727 | 80 | 0.60951 |
4a2c8488f78d940bea2dccee2cc144f21f90f2cf | 1,463 | js | JavaScript | test/03-ep-extension.setup.js | stefanwalther/qrs | 772d7d7dc48552d419d062c312da18c6ef08c885 | [
"MIT"
] | 19 | 2015-10-02T05:44:17.000Z | 2020-06-04T02:29:00.000Z | test/03-ep-extension.setup.js | stefanwalther/qrs | 772d7d7dc48552d419d062c312da18c6ef08c885 | [
"MIT"
] | 19 | 2015-10-19T12:06:15.000Z | 2019-11-23T22:27:51.000Z | test/03-ep-extension.setup.js | stefanwalther/qrs | 772d7d7dc48552d419d062c312da18c6ef08c885 | [
"MIT"
] | 7 | 2015-10-13T17:59:41.000Z | 2022-02-27T23:16:56.000Z | 'use strict';
var zipper = require( 'zip-local' );
var fs = require( 'fs' );
var path = require( 'path' );
var rimraf = require( 'rimraf' );
var async = require( 'async' );
var ExtensionSetup = function () {
var extensions = [];
var init = function ( callback ) {
var dirToScan = path.join( __dirname, './fixtur... | 23.222222 | 73 | 0.595352 |
e878363c6eefa27176062a04ba177b9e5ee6b882 | 3,586 | cpp | C++ | Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter27Exercise8.cpp | Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | 9 | 2018-10-24T15:16:47.000Z | 2021-12-14T13:53:50.000Z | Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter27Exercise8.cpp | ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | null | null | null | Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter27Exercise8.cpp | ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | 7 | 2018-10-29T15:30:37.000Z | 2021-01-18T15:15:09.000Z | /*
TITLE Machine Lexicographical Order Chapter27Exercise8.cpp
COMMENT
Objective: What is the lexicographical order on your machine?
Write out every character on your keyboard together with its
integer value;
then, write the characters out in the order determined
by th... | 36.222222 | 120 | 0.618516 |
96176edd01baab777bd2a346ceabae9d79b90529 | 4,777 | swift | Swift | 09-1.ObjModelLoader/ObjModelLoader/ObjLoader/Geometry.swift | newpolaris/LearningOpenGLES2 | 8fdf880f27c971984096b0fc1dc549c461fedb0c | [
"MIT"
] | null | null | null | 09-1.ObjModelLoader/ObjModelLoader/ObjLoader/Geometry.swift | newpolaris/LearningOpenGLES2 | 8fdf880f27c971984096b0fc1dc549c461fedb0c | [
"MIT"
] | null | null | null | 09-1.ObjModelLoader/ObjModelLoader/ObjLoader/Geometry.swift | newpolaris/LearningOpenGLES2 | 8fdf880f27c971984096b0fc1dc549c461fedb0c | [
"MIT"
] | null | null | null | //
// Geometry.swift
// SwiftObjLoader
//
// Created by Hugo Tunius on 02/09/15.
// Copyright © 2015 Hugo Tunius. All rights reserved.
//
import Foundation
#if os(Linux)
import Glibc
#else
import Darwin.C
#endif
// An n dimensional vector
// repreented by a double array
public typealias Vector = [Double]... | 25.010471 | 95 | 0.575047 |
d2d329b99180ba6a94043eabacf7c7ba6f4c03c3 | 2,471 | php | PHP | database/seeders/RoleSeeder.php | alinemone/zaer | 529772f32dcd735c0744cd752e05d99d175e0da9 | [
"MIT"
] | null | null | null | database/seeders/RoleSeeder.php | alinemone/zaer | 529772f32dcd735c0744cd752e05d99d175e0da9 | [
"MIT"
] | null | null | null | database/seeders/RoleSeeder.php | alinemone/zaer | 529772f32dcd735c0744cd752e05d99d175e0da9 | [
"MIT"
] | null | null | null | <?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Spatie\Permission\Models\Permission;
use Spatie\Permission\Models\Role;
class RoleSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$admin = Role::create(['na... | 26.569892 | 61 | 0.491299 |
04b7e95148afcf0e3bb1c63c2f2a3d3aa325fd9b | 68 | java | Java | src/test/resources/miniJava/pa1_tests/pass133.java | eric-unc/520-compiler | 6ff258bf3eae79db237f71832aec6b3f8926350b | [
"Unlicense"
] | null | null | null | src/test/resources/miniJava/pa1_tests/pass133.java | eric-unc/520-compiler | 6ff258bf3eae79db237f71832aec6b3f8926350b | [
"Unlicense"
] | null | null | null | src/test/resources/miniJava/pa1_tests/pass133.java | eric-unc/520-compiler | 6ff258bf3eae79db237f71832aec6b3f8926350b | [
"Unlicense"
] | null | null | null | // PA1 lex comment pass
class // comment followed by \r only
id {}
| 22.666667 | 36 | 0.676471 |
12d759ed78315543a064c0331548ac68471b19e9 | 24,580 | html | HTML | docs/index.html | ibeeliot/ReacTypeWeb | 1ef606dfea4d78df91a1230b10498e3a1ce09d48 | [
"MIT"
] | 1 | 2020-04-03T20:07:47.000Z | 2020-04-03T20:07:47.000Z | docs/index.html | ibeeliot/ReacTypeWeb | 1ef606dfea4d78df91a1230b10498e3a1ce09d48 | [
"MIT"
] | null | null | null | docs/index.html | ibeeliot/ReacTypeWeb | 1ef606dfea4d78df91a1230b10498e3a1ce09d48 | [
"MIT"
] | 2 | 2020-04-08T19:33:27.000Z | 2020-04-09T17:05:43.000Z | <!DOCTYPE html>
<html>
<head>
<title>ReacType has arrived</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, user-scalable=no"
/>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min... | 36.962406 | 126 | 0.470504 |
e90330c5ed3c97bf626ed1d81ffe0d586f7118b0 | 1,896 | sql | SQL | Archiv/skaffold-test/Docker_Image_Postgres/kranichairline_db.sql | LennartFertig/BigData | e74761b16812fd034519c06897329ea9ba9968df | [
"Apache-2.0"
] | null | null | null | Archiv/skaffold-test/Docker_Image_Postgres/kranichairline_db.sql | LennartFertig/BigData | e74761b16812fd034519c06897329ea9ba9968df | [
"Apache-2.0"
] | null | null | null | Archiv/skaffold-test/Docker_Image_Postgres/kranichairline_db.sql | LennartFertig/BigData | e74761b16812fd034519c06897329ea9ba9968df | [
"Apache-2.0"
] | 1 | 2021-10-19T07:45:12.000Z | 2021-10-19T07:45:12.000Z | --
-- PostgreSQL database dump
--
-- Dumped from database version 13.1
-- Dumped by pg_dump version 13.1
-- Started on 2021-06-25 17:55:08
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalo... | 23.407407 | 94 | 0.665612 |
04673e3f5e2eb69f8aa6155c6b93304cbf5b9b48 | 6,970 | sql | SQL | Create_Aquarium_DB.sql | kaylamuraoka/Waikiki-Aquarium-Database | 5d3bb7cce13923aba2ef79b5916a0ce4196101b7 | [
"MIT"
] | null | null | null | Create_Aquarium_DB.sql | kaylamuraoka/Waikiki-Aquarium-Database | 5d3bb7cce13923aba2ef79b5916a0ce4196101b7 | [
"MIT"
] | null | null | null | Create_Aquarium_DB.sql | kaylamuraoka/Waikiki-Aquarium-Database | 5d3bb7cce13923aba2ef79b5916a0ce4196101b7 | [
"MIT"
] | null | null | null | -- Create Database named "Aquarium_DB"
CREATE DATABASE IF NOT EXISTS Aquarium_DB;
USE Aquarium_DB;
-- Create Staff Tab
CREATE TABLE Staff_T (
StaffID CHAR(4) NOT NULL,
StaffName VARCHAR(50) NOT NULL,
StaffPhoneNumber VARCHAR(10),
StaffStreet VARCHAR(50),
StaffCity VARCHAR(20),
StaffState VARCHAR(2),
StatePostal... | 33.033175 | 120 | 0.804448 |
2fac3903b0049552100bd84cbe27e2f7dadc4289 | 35 | dart | Dart | lib/domain/use-cases/search-service.dart | Cyberneom/Cyberneom | bea32edfc5cbdb3947b9d375bb5f5fa3014c3bb6 | [
"Apache-2.0"
] | 1 | 2021-08-03T16:00:17.000Z | 2021-08-03T16:00:17.000Z | lib/domain/use-cases/search-service.dart | Cyberneom/Cyberneom | bea32edfc5cbdb3947b9d375bb5f5fa3014c3bb6 | [
"Apache-2.0"
] | null | null | null | lib/domain/use-cases/search-service.dart | Cyberneom/Cyberneom | bea32edfc5cbdb3947b9d375bb5f5fa3014c3bb6 | [
"Apache-2.0"
] | 1 | 2021-11-03T03:21:23.000Z | 2021-11-03T03:21:23.000Z |
abstract class SearchService {
} | 7 | 30 | 0.742857 |
411f3f8a98de239454ae156a5b03e46b41fc70d0 | 2,530 | lua | Lua | crawl-ref/source/dat/dlua/layout/procedural_transform.lua | petercordia/crawl | c18c9092ac65e4306219b2c8d675610b0e127db0 | [
"CC0-1.0"
] | 1,921 | 2015-04-01T00:23:38.000Z | 2022-03-31T23:42:29.000Z | crawl-ref/source/dat/dlua/layout/procedural_transform.lua | petercordia/crawl | c18c9092ac65e4306219b2c8d675610b0e127db0 | [
"CC0-1.0"
] | 1,768 | 2015-04-06T15:16:31.000Z | 2022-03-31T13:16:47.000Z | crawl-ref/source/dat/dlua/layout/procedural_transform.lua | petercordia/crawl | c18c9092ac65e4306219b2c8d675610b0e127db0 | [
"CC0-1.0"
] | 1,150 | 2015-04-04T01:07:27.000Z | 2022-03-28T23:54:55.000Z | ------------------------------------------------------------------------------
-- procedural_transform.lua: Complex transforms
--
------------------------------------------------------------------------------
crawl_require("dlua/layout/procedural.lua")
procedural.transform = {}
function procedural.transform.wrapped_... | 31.234568 | 112 | 0.651383 |
95ca05328d7fcf5378fcbaac29e492e264534afb | 163 | dart | Dart | lib/repositories/notification/base_notification_repository.dart | KorolevSoftware/Lenta-flatter | bb03658ed67f93aa8a0a1aeb27fdc2dc25106c17 | [
"Apache-2.0"
] | null | null | null | lib/repositories/notification/base_notification_repository.dart | KorolevSoftware/Lenta-flatter | bb03658ed67f93aa8a0a1aeb27fdc2dc25106c17 | [
"Apache-2.0"
] | null | null | null | lib/repositories/notification/base_notification_repository.dart | KorolevSoftware/Lenta-flatter | bb03658ed67f93aa8a0a1aeb27fdc2dc25106c17 | [
"Apache-2.0"
] | 1 | 2021-11-10T03:51:31.000Z | 2021-11-10T03:51:31.000Z | import 'package:artstation/models/models.dart';
abstract class BaseNotificationRepository {
Stream<List<Future<Notif>>> getUserNotifications({String userId});
} | 32.6 | 68 | 0.803681 |
fb4a265ad993d40ffc21e725c9f68a3aff46a4d5 | 22,607 | c | C | legacy/maze-timer-ajw/SG2 Software/sg2_201_32.c | davidhannaford/timing-system | d260a32c53bd9b503fa7769b0210fa9c049d2bc7 | [
"MIT"
] | null | null | null | legacy/maze-timer-ajw/SG2 Software/sg2_201_32.c | davidhannaford/timing-system | d260a32c53bd9b503fa7769b0210fa9c049d2bc7 | [
"MIT"
] | 1 | 2022-01-01T18:20:36.000Z | 2022-01-01T18:55:25.000Z | legacy/maze-timer-ajw/SG2 Software/sg2_201_32.c | davidhannaford/timing-system | d260a32c53bd9b503fa7769b0210fa9c049d2bc7 | [
"MIT"
] | 2 | 2022-01-01T17:55:55.000Z | 2022-01-03T19:57:01.000Z | // AJW 0506 : V106 Modified to include drag race
// Tried 20 MHz version to see if PLL clock is causing reset problems
// Answer - makes NO difference to reset ....
// turned off interrupts for test : NO difference to reset ....
// Not a reset problem ... it's an LCD reset problem!
// The LCD is crashing on re-ini... | 23.746849 | 100 | 0.538992 |
983f14ae8991b687e96df6ffed5addef633ffafa | 2,302 | html | HTML | _includes/footer.html | hypest/skgtech.github.io | 5bbbfe6aa6c54025eeb085af6a82c7933ffcc753 | [
"MIT"
] | null | null | null | _includes/footer.html | hypest/skgtech.github.io | 5bbbfe6aa6c54025eeb085af6a82c7933ffcc753 | [
"MIT"
] | null | null | null | _includes/footer.html | hypest/skgtech.github.io | 5bbbfe6aa6c54025eeb085af6a82c7933ffcc753 | [
"MIT"
] | null | null | null | <footer class="site-footer">
<div class="row text-center">
<ul class="social-links list-inline">
<li><a href="https://www.facebook.com/skgtech.io" title="SKGTech on Facebook" target="_blank"><i class="fa fa-facebook"></i></a></li>
<li><a href="https://github.com/skgtech" title="SKGTech on Github" targ... | 60.578947 | 246 | 0.652476 |
949e793f53701abcce1abf45ef2a6994fb5c07eb | 2,188 | swift | Swift | ObjectOrientedSwiftChallenges.playground/Pages/07-inheritance.xcplaygroundpage/Contents.swift | Product-College-Labs/oop-rpg | a39d9ff293bfb07b77b1526354a60c7c6bac2d71 | [
"MIT"
] | null | null | null | ObjectOrientedSwiftChallenges.playground/Pages/07-inheritance.xcplaygroundpage/Contents.swift | Product-College-Labs/oop-rpg | a39d9ff293bfb07b77b1526354a60c7c6bac2d71 | [
"MIT"
] | null | null | null | ObjectOrientedSwiftChallenges.playground/Pages/07-inheritance.xcplaygroundpage/Contents.swift | Product-College-Labs/oop-rpg | a39d9ff293bfb07b77b1526354a60c7c6bac2d71 | [
"MIT"
] | 3 | 2021-07-21T23:22:18.000Z | 2021-08-29T02:22:27.000Z | //: Playground - noun: a place where people can play
import Foundation
// Define some protocols
protocol Casts {
var name: String {get}
func castSpell()
}
protocol Fights {
var name: String {get}
func melee()
}
// Define some protocol extensions.
extension Casts {
func castSpell() {
pr... | 17.504 | 77 | 0.609232 |
4661b938db8446d8f1da8bbe0671daf173bf92f0 | 1,569 | lua | Lua | CDump/Minecraft/src/lua/RepeatedStates.lua | YushchenkoAndrew/template | 35c6bcd2121647015308f0cc110da71aa148d5fb | [
"MIT"
] | 5 | 2020-08-25T11:35:04.000Z | 2021-12-25T18:57:58.000Z | CDump/Minecraft/src/lua/RepeatedStates.lua | YushchenkoAndrew/template | 35c6bcd2121647015308f0cc110da71aa148d5fb | [
"MIT"
] | null | null | null | CDump/Minecraft/src/lua/RepeatedStates.lua | YushchenkoAndrew/template | 35c6bcd2121647015308f0cc110da71aa148d5fb | [
"MIT"
] | 3 | 2020-10-08T07:51:33.000Z | 2021-12-29T10:19:24.000Z |
-- One of the RepeatedStates state
Node = {
id = -1,
condition = "return false",
callback = nil
}
-- Execute condition code at runtime
function Node:Load(params)
local varInit = ""
for key, value in pairs(params) do
varInit = varInit .. key .. " = " .. value .. "\n"
end
return load(varInit .. "ret... | 20.376623 | 88 | 0.671765 |
27dcd17280767949ac8ead95eb93418a8ebaa059 | 4,620 | css | CSS | extras/www/static/css/core.css | dicato/crits | 8d500f7175855f1aeefa94caa783f981062ba869 | [
"MIT"
] | null | null | null | extras/www/static/css/core.css | dicato/crits | 8d500f7175855f1aeefa94caa783f981062ba869 | [
"MIT"
] | null | null | null | extras/www/static/css/core.css | dicato/crits | 8d500f7175855f1aeefa94caa783f981062ba869 | [
"MIT"
] | null | null | null | /* expand/collapse */
table .collapsible {
padding: 0 0 3px 0;
}
table.chart tbody td.collapsible a { /*, th a#toggleAll {*/
margin: 2px;
display: block;
width: 15px;
height: 15px;
outline: 0;
/*background: url(/css/images/ui-icons_222222_256x240.png) no-repeat -32px -16px; */
}
table.chart tbody td.collapsi... | 21.588785 | 182 | 0.647403 |
4c7a818a3dc777d75b40523d9a40f6ebb3ed6877 | 1,740 | asm | Assembly | programs/oeis/083/A083593.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/083/A083593.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/083/A083593.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A083593: Expansion of 1/((1-2*x)*(1-x^4)).
; 1,2,4,8,17,34,68,136,273,546,1092,2184,4369,8738,17476,34952,69905,139810,279620,559240,1118481,2236962,4473924,8947848,17895697,35791394,71582788,143165576,286331153,572662306,1145324612,2290649224,4581298449,9162596898,18325193796,36650387592,73300775185,146601550370,293... | 193.333333 | 1,644 | 0.916667 |
262457e18553e3d20c53e26f52a0ada6c2d63dd1 | 7,883 | java | Java | luffy.event.message/src/main/java/org/noear/luffy/event/message/dso/DbMsgApi.java | noear/luffy | 35b779bc040e8fd96a283b14679c396920d7ecc5 | [
"MIT"
] | 6 | 2021-05-14T08:58:55.000Z | 2021-09-13T08:40:59.000Z | luffy.event.message/src/main/java/org/noear/luffy/event/message/dso/DbMsgApi.java | noear/luffy | 35b779bc040e8fd96a283b14679c396920d7ecc5 | [
"MIT"
] | null | null | null | luffy.event.message/src/main/java/org/noear/luffy/event/message/dso/DbMsgApi.java | noear/luffy | 35b779bc040e8fd96a283b14679c396920d7ecc5 | [
"MIT"
] | 4 | 2021-05-17T01:26:27.000Z | 2021-07-01T10:11:02.000Z | package org.noear.luffy.event.message.dso;
import org.noear.luffy.dso.LogLevel;
import org.noear.luffy.dso.LogUtil;
import org.noear.luffy.model.AFileModel;
import org.noear.luffy.event.message.Config;
import org.noear.luffy.utils.Datetime;
import org.noear.luffy.utils.ExceptionUtils;
import org.noear.weed.DataItem;
i... | 33.121849 | 119 | 0.516935 |
3b9f753967d4abbdcee8f9d9c37865a86670d24c | 548 | c | C | src/mmt_tcpip/lib/protocols/proto_nytimes.c | Montimage/mmt-dpi | 92ce3808ffc7f3d392e598e9e3db6433bae9b645 | [
"Apache-2.0"
] | 3 | 2022-01-31T09:38:29.000Z | 2022-02-13T19:58:16.000Z | src/mmt_tcpip/lib/protocols/proto_nytimes.c | Montimage/mmt-dpi | 92ce3808ffc7f3d392e598e9e3db6433bae9b645 | [
"Apache-2.0"
] | 1 | 2022-02-24T10:04:10.000Z | 2022-03-07T10:59:42.000Z | src/mmt_tcpip/lib/protocols/proto_nytimes.c | Montimage/mmt-dpi | 92ce3808ffc7f3d392e598e9e3db6433bae9b645 | [
"Apache-2.0"
] | null | null | null | #include "mmt_core.h"
#include "plugin_defs.h"
#include "extraction_lib.h"
#include "../mmt_common_internal_include.h"
/////////////// PROTOCOL INTERNAL CODE GOES HERE ///////////////////
/////////////// END OF PROTOCOL INTERNAL CODE ///////////////////
int init_proto_nytimes_struct() {
protocol_t * protocol... | 26.095238 | 109 | 0.638686 |
129b7755e2eafa370c5d9eeeaad71ce1fe52bf0b | 971 | h | C | platform/mcu/haas1000/drivers/apps/common/app_spec_ostimer.h | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 4,538 | 2017-10-20T05:19:03.000Z | 2022-03-30T02:29:30.000Z | platform/mcu/haas1000/drivers/apps/common/app_spec_ostimer.h | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 1,088 | 2017-10-21T07:57:22.000Z | 2022-03-31T08:15:49.000Z | hardware/chip/haas1000/drivers/apps/common/app_spec_ostimer.h | willianchanlovegithub/AliOS-Things | 637c0802cab667b872d3b97a121e18c66f256eab | [
"Apache-2.0"
] | 1,860 | 2017-10-20T05:22:35.000Z | 2022-03-27T10:54:14.000Z | /*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#ifndef __APP_SPEC_OSTIMER__
#define __APP_SPEC_OSTIMER__
#include "cmsis_os.h"
typedef struct{
osTimerId timerid;
os_timer_type type;
os_ptimer ptimer;
uint32_t interval;
uint32_t ctx;
void *argument;
}SPEC_TIMER_CTX_T;
#defi... | 28.558824 | 133 | 0.791967 |
fb8ffd054f4e79a2e9ef762c024c06416020b8ae | 2,911 | h | C | vendor/common/blt_led.h | telink-semi/telink_b91_ble_single_connection_sdk | ca449423fc5ea3b0bee16aab32bb4cef7b2638d8 | [
"Apache-2.0"
] | null | null | null | vendor/common/blt_led.h | telink-semi/telink_b91_ble_single_connection_sdk | ca449423fc5ea3b0bee16aab32bb4cef7b2638d8 | [
"Apache-2.0"
] | null | null | null | vendor/common/blt_led.h | telink-semi/telink_b91_ble_single_connection_sdk | ca449423fc5ea3b0bee16aab32bb4cef7b2638d8 | [
"Apache-2.0"
] | null | null | null | /********************************************************************************************************
* @file blt_led.h
*
* @brief This is the header file for BLE SDK
*
* @author BLE GROUP
* @date 2020.06
*
* @par Copyright (c) 2020, Telink Semiconductor (Shanghai) Co., Ltd. ("TELINK")
*
* Li... | 25.094828 | 105 | 0.635177 |
76fa0ba3486c361bae84a301b79fa25a67c30493 | 398 | h | C | code/cpp/rec/util/Deletable.h | rec/echomesh | be668971a687b141660fd2e5635d2fd598992a01 | [
"MIT"
] | 30 | 2015-02-18T14:07:00.000Z | 2021-12-11T15:19:01.000Z | code/cpp/rec/util/Deletable.h | silky/echomesh | 2fe5a00a79c215b4aca4083e5252fcdcbd0507aa | [
"MIT"
] | 16 | 2015-01-01T23:17:24.000Z | 2015-04-18T23:49:27.000Z | code/cpp/rec/util/Deletable.h | silky/echomesh | 2fe5a00a79c215b4aca4083e5252fcdcbd0507aa | [
"MIT"
] | 31 | 2015-03-11T20:04:07.000Z | 2020-11-02T13:56:59.000Z | #ifndef __REC_UTIL_DELETABLE__
#define __REC_UTIL_DELETABLE__
#include "rec/base/base.h"
// A class with only a virtual destructor.
namespace rec {
namespace util {
class Deletable {
public:
Deletable() {}
virtual ~Deletable() {}
private:
DISALLOW_COPY_ASSIGN_AND_LEAKS(Deletable);
};
} ... | 16.583333 | 45 | 0.690955 |
70da7f76ec6e0b38fa034fc9a59064334bf95a49 | 490 | kt | Kotlin | jmusicbot/src/main/java/com/ivoberger/jmusicbot/exceptions/AuthenticationExceptions.kt | fossabot/JMusicBotAndroid | 1ab66c1455369896d24084911b824680af6b5738 | [
"Apache-2.0"
] | null | null | null | jmusicbot/src/main/java/com/ivoberger/jmusicbot/exceptions/AuthenticationExceptions.kt | fossabot/JMusicBotAndroid | 1ab66c1455369896d24084911b824680af6b5738 | [
"Apache-2.0"
] | null | null | null | jmusicbot/src/main/java/com/ivoberger/jmusicbot/exceptions/AuthenticationExceptions.kt | fossabot/JMusicBotAndroid | 1ab66c1455369896d24084911b824680af6b5738 | [
"Apache-2.0"
] | null | null | null | package com.ivoberger.jmusicbot.exceptions
class AuthException : Exception {
val reason: Reason
constructor(reason: Reason) {
this.reason = reason
}
constructor(reason: Reason, message: String) : super(message) {
this.reason = reason
}
enum class Reason() {
NEEDS_AUTH... | 21.304348 | 71 | 0.685714 |
875937c3129d4edb4140c0d970f2313888dc103c | 8,168 | html | HTML | genlib/bookstore/templates/bookstore/cart.html | KushajveerSingh/genlib | c348c1e9d2de9e9f722e41b8a7c451557ce0338e | [
"Apache-2.0"
] | null | null | null | genlib/bookstore/templates/bookstore/cart.html | KushajveerSingh/genlib | c348c1e9d2de9e9f722e41b8a7c451557ce0338e | [
"Apache-2.0"
] | null | null | null | genlib/bookstore/templates/bookstore/cart.html | KushajveerSingh/genlib | c348c1e9d2de9e9f722e41b8a7c451557ce0338e | [
"Apache-2.0"
] | null | null | null | <!doctype html>
<html lang="en">
<head>
<title>Shopping Cart</title>
<!-- CSS Stylesheets -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<link ... | 44.391304 | 214 | 0.561949 |
1b243e0a54a917acd9915a610e941df80144ad6b | 10,767 | swift | Swift | Platform/macOS/Display/VMMetalView.swift | 454053205/UTM | fae7ed83d79e784845e79a9cf92cc4ba494e1585 | [
"Apache-2.0"
] | null | null | null | Platform/macOS/Display/VMMetalView.swift | 454053205/UTM | fae7ed83d79e784845e79a9cf92cc4ba494e1585 | [
"Apache-2.0"
] | null | null | null | Platform/macOS/Display/VMMetalView.swift | 454053205/UTM | fae7ed83d79e784845e79a9cf92cc4ba494e1585 | [
"Apache-2.0"
] | null | null | null | //
// Copyright © 2020 osy. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | 31.57478 | 191 | 0.626916 |
7384dad7a2ad8e6a9b9011ec4b24476206d24681 | 10,450 | rs | Rust | storage/src/archives/package_entry_id.rs | HomonidXXX/ton-labs-node | a5c0a2ebda1e93c3c596d7705aa2a60f0a227633 | [
"Apache-2.0"
] | null | null | null | storage/src/archives/package_entry_id.rs | HomonidXXX/ton-labs-node | a5c0a2ebda1e93c3c596d7705aa2a60f0a227633 | [
"Apache-2.0"
] | null | null | null | storage/src/archives/package_entry_id.rs | HomonidXXX/ton-labs-node | a5c0a2ebda1e93c3c596d7705aa2a60f0a227633 | [
"Apache-2.0"
] | null | null | null | use std::borrow::Borrow;
use std::collections::hash_map::DefaultHasher;
use std::fmt::{Display, Formatter};
use std::hash::{Hash, Hasher};
use std::str::FromStr;
use lazy_static::lazy_static;
use regex::Regex;
use ton_api::ton::PublicKey;
use ton_block::{BlockIdExt, ShardIdent};
use ton_types::{error, fail, Result, U... | 32.758621 | 145 | 0.563828 |
6bf72e1413731ffeae0458f4098afb24ab91f81a | 2,358 | kt | Kotlin | OSTKitWrapperSDK/src/main/java/capo/ostkit/sdk/wrapper/OpenWrapper.kt | tinhuit89/OSTKitWrapperSDK | c47e86b8d2301bc62475def22f0814140826d792 | [
"MIT"
] | 2 | 2018-05-18T06:39:18.000Z | 2018-05-18T06:39:19.000Z | OSTKitWrapperSDK/src/main/java/capo/ostkit/sdk/wrapper/OpenWrapper.kt | tinhuit89/OSTKitWrapperSDK | c47e86b8d2301bc62475def22f0814140826d792 | [
"MIT"
] | null | null | null | OSTKitWrapperSDK/src/main/java/capo/ostkit/sdk/wrapper/OpenWrapper.kt | tinhuit89/OSTKitWrapperSDK | c47e86b8d2301bc62475def22f0814140826d792 | [
"MIT"
] | null | null | null | package capo.ostkit.sdk.wrapper
import android.content.Context
import capo.ostkit.sdk.service.VolleyRequestCallback
import capo.ostkit.sdk.service.VolleyRequestQueue
import com.android.volley.Request
/**
* Created by TinhVC on 5/17/18.
*/
open class OpenWrapper {
protected var context: Context? = null
prot... | 36.276923 | 102 | 0.672604 |
29d72db53ba72aeb7314e59926d448084fa0f05f | 576 | swift | Swift | Library/Sources/Sessions/SessionState.swift | javabird25/SwiftyVK | b8b3f2e585de1ca6112e7b659b2b10e4354cad20 | [
"MIT"
] | 165 | 2017-10-21T08:58:21.000Z | 2022-02-21T12:51:39.000Z | Library/Sources/Sessions/SessionState.swift | javabird25/SwiftyVK | b8b3f2e585de1ca6112e7b659b2b10e4354cad20 | [
"MIT"
] | 97 | 2017-10-21T13:44:19.000Z | 2021-09-04T11:17:42.000Z | Library/Sources/Sessions/SessionState.swift | javabird25/SwiftyVK | b8b3f2e585de1ca6112e7b659b2b10e4354cad20 | [
"MIT"
] | 53 | 2017-10-20T19:55:02.000Z | 2022-03-27T15:57:06.000Z | /// State of user session
/// initiated: Session is created and user not authorized ywt
/// authorized: Session is created and user authorized
/// destroyed: User logged out and session destroyed
public enum SessionState: Int, Comparable, Codable {
case destroyed = -1
case initiated = 0
case authorized = 1
... | 32 | 74 | 0.678819 |
087281f08540690bcf5ba6afb8930fa4e11328e7 | 845 | swift | Swift | BeaverCounter/Game.swift | roger-wetzel/BeaverCounter | 8418ca7956f19d0877a7ce2c3f5d4a6a60656246 | [
"MIT"
] | null | null | null | BeaverCounter/Game.swift | roger-wetzel/BeaverCounter | 8418ca7956f19d0877a7ce2c3f5d4a6a60656246 | [
"MIT"
] | null | null | null | BeaverCounter/Game.swift | roger-wetzel/BeaverCounter | 8418ca7956f19d0877a7ce2c3f5d4a6a60656246 | [
"MIT"
] | null | null | null | //
// Game.swift
// Beaver Counter
//
// Copyright © 2020 Roger Wetzel. All rights reserved.
//
import Foundation
class Game {
let maxRounds = 6
var players = [Player]()
var round: Int?
var numberOfPlayers: Int? {
didSet {
players = [Player]()
for _ in 0..<num... | 17.978723 | 55 | 0.47929 |
97d6699997e3102135191ee03616210630b9c1e2 | 891 | lua | Lua | modules/gamelib/util.lua | PokemonUFC/Client | 331f12fff8853eb29d5a038eaf36fba8ab9e75c4 | [
"MIT"
] | null | null | null | modules/gamelib/util.lua | PokemonUFC/Client | 331f12fff8853eb29d5a038eaf36fba8ab9e75c4 | [
"MIT"
] | null | null | null | modules/gamelib/util.lua | PokemonUFC/Client | 331f12fff8853eb29d5a038eaf36fba8ab9e75c4 | [
"MIT"
] | null | null | null | function postostring(pos)
return pos.x .. " " .. pos.y .. " " .. pos.z
end
function dirtostring(dir)
for k,v in pairs(Directions) do
if v == dir then
return k
end
end
end
function getVocationNameById(vocation)
if (vocation >= 10 and vocation <= 15) then
return "blaze"
elseif (vocation >= 2... | 25.457143 | 49 | 0.64422 |
4a05211d7a42ab3ac011117328f955935e1cf545 | 2,776 | hpp | C++ | src/lib/client/FavoritesStateChangeNotifications.hpp | gerickson/openhlx | f23a825ca56ee226db393da14d81a7d4e9ae0b33 | [
"Apache-2.0"
] | 1 | 2021-05-21T21:10:09.000Z | 2021-05-21T21:10:09.000Z | src/lib/client/FavoritesStateChangeNotifications.hpp | gerickson/openhlx | f23a825ca56ee226db393da14d81a7d4e9ae0b33 | [
"Apache-2.0"
] | 12 | 2021-06-12T16:42:30.000Z | 2022-02-01T18:44:42.000Z | src/lib/client/FavoritesStateChangeNotifications.hpp | gerickson/openhlx | f23a825ca56ee226db393da14d81a7d4e9ae0b33 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019-2021 Grant Erickson
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | 27.485149 | 113 | 0.747118 |
2a0c810000a2d50216d5bd2ee93fb64759b25318 | 3,194 | java | Java | src/net/frapu/code/visualization/petrinets/Comment.java | frapu78/processeditor | 7a608d7fcc9a172a768a9907c9365a466164a7b1 | [
"Apache-2.0"
] | 5 | 2015-12-29T00:56:12.000Z | 2021-03-27T15:52:37.000Z | src/net/frapu/code/visualization/petrinets/Comment.java | frapu78/processeditor | 7a608d7fcc9a172a768a9907c9365a466164a7b1 | [
"Apache-2.0"
] | 32 | 2015-02-26T21:09:45.000Z | 2018-06-18T19:34:53.000Z | src/net/frapu/code/visualization/petrinets/Comment.java | frapu78/processeditor | 7a608d7fcc9a172a768a9907c9365a466164a7b1 | [
"Apache-2.0"
] | 6 | 2015-02-24T11:15:41.000Z | 2021-12-26T07:01:44.000Z | /**
*
* Process Editor - Petri net Package
*
* (C) 2008,2009 Frank Puhlmann
*
* http://frapu.net
*
*/
package net.frapu.code.visualization.petrinets;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.Shape;
import ... | 26.180328 | 96 | 0.600501 |
4040927a9780f1087bfd41762b291efceb3f9e84 | 10,695 | py | Python | vmraid/integrations/doctype/google_contacts/google_contacts.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | vmraid/integrations/doctype/google_contacts/google_contacts.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | vmraid/integrations/doctype/google_contacts/google_contacts.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2019, VMRaid Technologies and contributors
# For license information, please see license.txt
import google.oauth2.credentials
import requests
from googleapiclient.discovery import build
from googleapiclient.errors import HttpError
import vmraid
from vmraid import _
from vmraid... | 37.135417 | 215 | 0.756241 |
bc991a90230b690623da37fd00e4a2783971f996 | 1,992 | asm | Assembly | programs/oeis/268/A268586.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/268/A268586.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/268/A268586.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A268586: Expansion of (x^3*(3*x - 2))/(2*x - 1)^3.
; 0,0,0,2,9,30,88,240,624,1568,3840,9216,21760,50688,116736,266240,602112,1351680,3014656,6684672,14745600,32374784,70778880,154140672,334495744,723517440,1560281088,3355443200,7197425664,15401484288,32883343360,70061654016,148981678080,316216967168,670014898176,1417... | 132.8 | 1,810 | 0.903614 |
41409e92946a2be96f5e66605c7d2eb86bae38e0 | 1,699 | c | C | tests/old_prefs/init.c | khval/BetterFakeMode | aace8a1355e36a6cf2591a88c2859987f506c4bc | [
"MIT"
] | 1 | 2021-05-30T19:48:11.000Z | 2021-05-30T19:48:11.000Z | tests/old_prefs/init.c | khval/BetterFakeMode | aace8a1355e36a6cf2591a88c2859987f506c4bc | [
"MIT"
] | 25 | 2021-04-23T21:02:44.000Z | 2021-08-03T22:15:51.000Z | tests/old_prefs/init.c | khval/BetterFakeMode | aace8a1355e36a6cf2591a88c2859987f506c4bc | [
"MIT"
] | null | null | null |
#include <stdbool.h>
#include <proto/exec.h>
#include <proto/dos.h>
#include <proto/intuition.h>
#include <proto/graphics.h>
#include <proto/gadtools.h>
#include <proto/asl.h>
#include "init.h"
struct Library *IntuitionBase;
struct IntuitionIFace *IIntuition;
struct Library *GraphicsBase;
struct GraphicsIFace... | 24.623188 | 124 | 0.678046 |
22c9d7814fff0088d3e78d76f8f8605e33b76728 | 5,300 | cpp | C++ | MarkupLanguageParser/output.cpp | QuantumWarpCode/simple-markup | 5b23a68d8a062e33e47e5adbd3b003fe75e5778d | [
"MIT"
] | null | null | null | MarkupLanguageParser/output.cpp | QuantumWarpCode/simple-markup | 5b23a68d8a062e33e47e5adbd3b003fe75e5778d | [
"MIT"
] | null | null | null | MarkupLanguageParser/output.cpp | QuantumWarpCode/simple-markup | 5b23a68d8a062e33e47e5adbd3b003fe75e5778d | [
"MIT"
] | null | null | null | //output.cpp
#include "stdafx.hpp"
#include <windows.h>
#include "output.hpp"
void Output::show()
{
#ifdef _WIN32
HWND hWnd = GetConsoleWindow();
ShowWindow(hWnd, SW_SHOW);
return;
#else
Output::expectedError("No linux equivalent of SW_SHOW", 502);
return;
#endif
}
void Output::hide()
{
#ifdef _WIN32
HWND hWnd... | 18.531469 | 85 | 0.630189 |
e80fbe7c9113e8ba7d620ffb0c4e0b8c89e49bd4 | 336 | cc | C++ | lcof/qing-wa-tiao-tai-jie-wen-ti-lcof.cc | phiysng/leetcode | 280e8b1a0b45233deb2262ceec85b8174e9b2ced | [
"BSD-3-Clause"
] | 3 | 2019-04-12T19:12:55.000Z | 2020-05-29T07:55:16.000Z | lcof/qing-wa-tiao-tai-jie-wen-ti-lcof.cc | phiysng/leetcode | 280e8b1a0b45233deb2262ceec85b8174e9b2ced | [
"BSD-3-Clause"
] | null | null | null | lcof/qing-wa-tiao-tai-jie-wen-ti-lcof.cc | phiysng/leetcode | 280e8b1a0b45233deb2262ceec85b8174e9b2ced | [
"BSD-3-Clause"
] | null | null | null | #include "../leetcode/leetcode/cpp/oj_header.h"
/// 面试题10- II. 青蛙跳台阶问题
class Solution
{
public:
int numWays(int n)
{
vector<int> v{1, 1, 2};
v.reserve(n + 1);
for (int i = 3; i <= n; ++i)
{
v.push_back((v[i - 1] + v[i - 2]) % 1000000007);
}
return... | 15.272727 | 60 | 0.449405 |
46cadc8740d67ee92b1e3d7a4caf899d583593e5 | 1,438 | ps1 | PowerShell | Src/Private/Set-LabVMDiskFileResource.ps1 | valainisgt/Lability | 695004eaa90c7539b9390792801c418f6d86020c | [
"MIT"
] | 267 | 2016-01-27T19:02:25.000Z | 2022-03-24T14:21:07.000Z | Src/Private/Set-LabVMDiskFileResource.ps1 | valainisgt/Lability | 695004eaa90c7539b9390792801c418f6d86020c | [
"MIT"
] | 184 | 2016-01-27T13:57:43.000Z | 2022-01-02T20:10:51.000Z | Src/Private/Set-LabVMDiskFileResource.ps1 | valainisgt/Lability | 695004eaa90c7539b9390792801c418f6d86020c | [
"MIT"
] | 75 | 2016-01-27T12:53:11.000Z | 2022-03-29T09:03:09.000Z | function Set-LabVMDiskFileResource {
<#
.SYNOPSIS
Copies a node's defined resources to VHD(X) file.
#>
[CmdletBinding()]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseShouldProcessForStateChangingFunctions','')]
param (
## Lab VM/Node name
[Parameter(Mandatory, ValueFr... | 35.073171 | 109 | 0.67733 |
35c0510ea245368593b01e6bbf9398c9b3782002 | 38 | dart | Dart | resources/components/widget.dart | DinithHerath/flutter-bloc-generator-vscode-extension | c55ee615a55ab185474c7dc1f14e75052ed71185 | [
"MIT"
] | 3 | 2021-12-14T06:25:05.000Z | 2022-01-19T04:52:59.000Z | resources/components/widget.dart | DinithHerath/flutter-bloc-generator-vscode-extension | c55ee615a55ab185474c7dc1f14e75052ed71185 | [
"MIT"
] | 1 | 2022-01-14T20:12:36.000Z | 2022-01-15T05:42:45.000Z | resources/components/widget.dart | DinithHerath/flutter-bloc-generator-vscode-extension | c55ee615a55ab185474c7dc1f14e75052ed71185 | [
"MIT"
] | null | null | null | // TODO: Add componenets widgets here
| 19 | 37 | 0.763158 |
909c471ec0bf8cdc9f941f8279fc3dc032d04dd6 | 6,569 | py | Python | backend/webserver/api/images.py | AdanMora/coco-annotator | 481969e065aabd4ed595f5b2e52fe6041880e5c0 | [
"MIT"
] | null | null | null | backend/webserver/api/images.py | AdanMora/coco-annotator | 481969e065aabd4ed595f5b2e52fe6041880e5c0 | [
"MIT"
] | null | null | null | backend/webserver/api/images.py | AdanMora/coco-annotator | 481969e065aabd4ed595f5b2e52fe6041880e5c0 | [
"MIT"
] | null | null | null | from flask_restplus import Namespace, Resource, reqparse
from flask_login import login_required, current_user
from werkzeug.datastructures import FileStorage
from flask import send_file
from ..util import query_util, coco_util
from database import (
ImageModel,
DatasetModel,
AnnotationModel
)
from PIL imp... | 31.430622 | 102 | 0.633582 |
af9082c4d96b9c4ee33af4ab7d10a60622d441da | 7,480 | lua | Lua | macos/hammerspoon/space-management.lua | lgo/dotfiles | 6c4311200c41e0d7832e40874495b9ad36381031 | [
"MIT"
] | null | null | null | macos/hammerspoon/space-management.lua | lgo/dotfiles | 6c4311200c41e0d7832e40874495b9ad36381031 | [
"MIT"
] | 2 | 2018-11-04T02:39:28.000Z | 2018-11-04T02:41:21.000Z | macos/hammerspoon/space-management.lua | lgo/dotfiles | 6c4311200c41e0d7832e40874495b9ad36381031 | [
"MIT"
] | null | null | null | -- Space management is a module for automatic layout management of spaces and
-- screens. It supports a setup with either 1 (laptop) display or 2 (laptop +
-- external) displays.
--
-- It is motivated by xmonad-like configuration, where it is possible to
-- configure which screens windows will move to and also specific... | 30.909091 | 129 | 0.660561 |
ad8ce64f9035b7862101780a5f91c45cbd7cb682 | 1,339 | dart | Dart | lib/src/elements/GalleryItemWidget.dart | revoxservices/flutter | fef934e8f4a6b92dbba096585bb2a79a54c621a1 | [
"MIT"
] | null | null | null | lib/src/elements/GalleryItemWidget.dart | revoxservices/flutter | fef934e8f4a6b92dbba096585bb2a79a54c621a1 | [
"MIT"
] | null | null | null | lib/src/elements/GalleryItemWidget.dart | revoxservices/flutter | fef934e8f4a6b92dbba096585bb2a79a54c621a1 | [
"MIT"
] | null | null | null | import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'package:food_delivery_app/src/elements/CircularLoadingWidget.dart';
import 'package:food_delivery_app/src/models/gallery.dart';
class GalleryItemWidget extends StatelessWidget {
Gallery gallery;
Galler... | 35.236842 | 119 | 0.584765 |
b46b714abad279b64dd841de23d46388422672a1 | 4,776 | lua | Lua | scripts/lmkutil.lua | dmzgroup/lmk | 134c9237e48fc17a2252a2a705f5c36a467b40ac | [
"MIT"
] | 3 | 2015-11-05T03:03:37.000Z | 2018-09-18T13:38:46.000Z | scripts/lmkutil.lua | rharder/lmk | 134c9237e48fc17a2252a2a705f5c36a467b40ac | [
"MIT"
] | null | null | null | scripts/lmkutil.lua | rharder/lmk | 134c9237e48fc17a2252a2a705f5c36a467b40ac | [
"MIT"
] | null | null | null | require "lmkbase"
local print = print
local pairs = pairs
local string = string
local tostring = tostring
local type = type
local lmkbase = lmkbase
local table = table
module (...)
local dirStack = {}
function pushd (dir)
if not dir then dir = "."
elseif not lmkbase.is_dir (dir) then
local s = dir:find ... | 26.241758 | 89 | 0.559045 |
5dce77cb039a686197ac81bd0074867d806607e1 | 1,083 | go | Go | build/gc/cmd/license/licenseroot.go | MyPureCloud/platform-client-sdk-cli | 5ba43d0b7ae035bbc32518a0d1151cadf22fdae1 | [
"MIT"
] | 3 | 2021-11-06T07:14:25.000Z | 2022-03-15T20:38:44.000Z | build/gc/cmd/license/licenseroot.go | MyPureCloud/platform-client-sdk-cli | 5ba43d0b7ae035bbc32518a0d1151cadf22fdae1 | [
"MIT"
] | null | null | null | build/gc/cmd/license/licenseroot.go | MyPureCloud/platform-client-sdk-cli | 5ba43d0b7ae035bbc32518a0d1151cadf22fdae1 | [
"MIT"
] | 3 | 2021-01-19T14:23:31.000Z | 2022-02-17T08:44:37.000Z | package license
import (
"github.com/mypurecloud/platform-client-sdk-cli/build/gc/utils"
"github.com/mypurecloud/platform-client-sdk-cli/build/gc/cmd/license_definitions"
"github.com/mypurecloud/platform-client-sdk-cli/build/gc/cmd/license_infer"
"github.com/mypurecloud/platform-client-sdk-cli/build/gc/cmd/license... | 51.571429 | 221 | 0.839335 |
afb5d89d45d5910411f803f2c9c137ccde795949 | 6,966 | html | HTML | Repurcussions.html | kelscjohnson/MethEffectBucketPages | 2b7a514ea67ca1baa8f8ff0c3e85171612db74bd | [
"CC-BY-3.0"
] | null | null | null | Repurcussions.html | kelscjohnson/MethEffectBucketPages | 2b7a514ea67ca1baa8f8ff0c3e85171612db74bd | [
"CC-BY-3.0"
] | null | null | null | Repurcussions.html | kelscjohnson/MethEffectBucketPages | 2b7a514ea67ca1baa8f8ff0c3e85171612db74bd | [
"CC-BY-3.0"
] | null | null | null | <!DOCTYPE HTML>
<!--
Forty by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>The Meth Effect | Repurcussions</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=... | 38.065574 | 400 | 0.555699 |
5be8f920d9185a2263f535c7b87a8b639bb5ea94 | 1,417 | c | C | third_party/Phigs/PVT/PVT_c/LAYER/ngse.c | n1ckfg/Telidon | f4e2c693ec7d67245974b73a602d5d40df6a6d69 | [
"MIT"
] | 18 | 2017-07-08T02:34:02.000Z | 2022-01-08T03:42:48.000Z | third_party/Phigs/PVT/PVT_c/LAYER/ngse.c | n1ckfg/Telidon | f4e2c693ec7d67245974b73a602d5d40df6a6d69 | [
"MIT"
] | null | null | null | third_party/Phigs/PVT/PVT_c/LAYER/ngse.c | n1ckfg/Telidon | f4e2c693ec7d67245974b73a602d5d40df6a6d69 | [
"MIT"
] | 3 | 2018-02-03T04:44:00.000Z | 2020-08-05T15:31:18.000Z | #include <phigs.h>
#include "f2c.h"
#include "struct.h"
/**************************************************************************
NAME
GENERALIZED STRUCTURE ELEMENT - create generalized structure
element
FORTRAN Syntax
SUBROUTINE pgse ( GSEID, LDR, DATREC )
INTEGER GSEID GSE id... | 28.34 | 82 | 0.440367 |
143f9753358d2088b29ee4eb5a2d66ca815da2fb | 6,266 | lua | Lua | definitive_lighting_improvements/WDC_pc_WalkingDead201_data/TruckStopBathroom.lua | changemymindpls/TTDS-PlaygroundProject | b880d124352fe8d2e86e8a4c7e1cc4b11d280279 | [
"MIT"
] | null | null | null | definitive_lighting_improvements/WDC_pc_WalkingDead201_data/TruckStopBathroom.lua | changemymindpls/TTDS-PlaygroundProject | b880d124352fe8d2e86e8a4c7e1cc4b11d280279 | [
"MIT"
] | null | null | null | definitive_lighting_improvements/WDC_pc_WalkingDead201_data/TruckStopBathroom.lua | changemymindpls/TTDS-PlaygroundProject | b880d124352fe8d2e86e8a4c7e1cc4b11d280279 | [
"MIT"
] | null | null | null | -- Decompiled using luadec 2.2 rev: for Lua 5.2 from https://github.com/viruscamp/luadec
-- Command line: A:\Steam\twd-definitive\scripteditor-10-31-20\definitive_lighting_improvements\WDC_pc_WalkingDead201_data\TruckStopBathroom_temp.lua
-- params : ...
-- function num : 0 , upvalues : _ENV
local kScript = "TruckSt... | 49.338583 | 150 | 0.742898 |
e83faf06217113b15d6a1fb0dfbfd37c746564ea | 1,980 | cpp | C++ | DSA/huffman.cpp | priyanka-gh/hacktoberfest2021 | 9d48da4d84457288e113ed19e1f559e4501d3bef | [
"CC0-1.0"
] | null | null | null | DSA/huffman.cpp | priyanka-gh/hacktoberfest2021 | 9d48da4d84457288e113ed19e1f559e4501d3bef | [
"CC0-1.0"
] | null | null | null | DSA/huffman.cpp | priyanka-gh/hacktoberfest2021 | 9d48da4d84457288e113ed19e1f559e4501d3bef | [
"CC0-1.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
class node
{
public:
char data;
int freq;
node *left, *right;
node(char data, int freq)
{
left = right = nullptr;
this -> data = data;
this -> freq = freq;
}
};
class custom_comp
... | 18.504673 | 71 | 0.488889 |
96777b4be273d8dce058a88bafc415d7d6269a49 | 1,557 | php | PHP | database/migrations/2014_10_12_000000_create_users_table.php | trisamsul/TaskPoll | 9294fd7f34d12d511e55d1891ba4e5d82f7dce67 | [
"MIT"
] | null | null | null | database/migrations/2014_10_12_000000_create_users_table.php | trisamsul/TaskPoll | 9294fd7f34d12d511e55d1891ba4e5d82f7dce67 | [
"MIT"
] | null | null | null | database/migrations/2014_10_12_000000_create_users_table.php | trisamsul/TaskPoll | 9294fd7f34d12d511e55d1891ba4e5d82f7dce67 | [
"MIT"
] | null | null | null | <!--
Migration Table: Users
Table to save Users Data
-->
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/... | 26.844828 | 102 | 0.506744 |
264bab82d1385412210d6e855a6e79cb3b9dc49e | 1,531 | java | Java | src/sorts/bogo/ExchangeBojoSort.java | PCBoyGames/ArrayV-v4.0 | 238e28bcfca74dfd514b19fffa73829b51edd098 | [
"MIT"
] | 1 | 2021-12-16T16:52:39.000Z | 2021-12-16T16:52:39.000Z | src/sorts/bogo/ExchangeBojoSort.java | PCBoyGames/ArrayV-v4.0 | 238e28bcfca74dfd514b19fffa73829b51edd098 | [
"MIT"
] | 1 | 2021-11-30T22:03:44.000Z | 2021-12-31T02:08:54.000Z | src/sorts/bogo/ExchangeBojoSort.java | PCBoyGames/ArrayV-v4.0 | 238e28bcfca74dfd514b19fffa73829b51edd098 | [
"MIT"
] | 1 | 2021-10-05T16:39:39.000Z | 2021-10-05T16:39:39.000Z | package sorts.bogo;
import main.ArrayVisualizer;
import sorts.templates.BogoSorting;
/*
CODED FOR ARRAYV BY PCBOYGAMES
------------------------------
- SORTING ALGORITHM MADHOUSE -
------------------------------
*/
public final class ExchangeBojoSort extends BogoSorting {
public ExchangeBojoSort(ArrayVisualize... | 30.019608 | 75 | 0.536904 |
89948fa0e8ee182eb5a4ae1262858f04c6b185af | 123,814 | sql | SQL | database/imunisasi.sql | Mrtnis/imunisasi_bayi | ba20ad9c696ad62aa3fb9067b61f44e405bba195 | [
"MIT"
] | null | null | null | database/imunisasi.sql | Mrtnis/imunisasi_bayi | ba20ad9c696ad62aa3fb9067b61f44e405bba195 | [
"MIT"
] | null | null | null | database/imunisasi.sql | Mrtnis/imunisasi_bayi | ba20ad9c696ad62aa3fb9067b61f44e405bba195 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 15, 2021 at 06:37 AM
-- Server version: 10.4.13-MariaDB
-- PHP Version: 7.4.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIEN... | 163.558785 | 258 | 0.59276 |
131786447d1347a0cf0030cb5dc6b57df9884953 | 1,589 | h | C | netlibcc/core/TimeAnchor.h | kohakus/tiny-netlib | da9998ee06f4e2eb5ebcaf0e383196269dea1f33 | [
"MIT"
] | 1 | 2021-03-05T10:14:27.000Z | 2021-03-05T10:14:27.000Z | netlibcc/core/TimeAnchor.h | kohakus/tiny-netlib | da9998ee06f4e2eb5ebcaf0e383196269dea1f33 | [
"MIT"
] | null | null | null | netlibcc/core/TimeAnchor.h | kohakus/tiny-netlib | da9998ee06f4e2eb5ebcaf0e383196269dea1f33 | [
"MIT"
] | null | null | null | #ifndef NETLIBCC_CORE_TIMEANCHOR_H_
#define NETLIBCC_CORE_TIMEANCHOR_H_
#include <string>
namespace netlibcc {
// simple UTC time stamp class
class TimeAnchor {
public:
TimeAnchor() : stamp_(0) {}
TimeAnchor(int64_t stamp) : stamp_(stamp) {}
// get string of stamp_ value
std::string toStr() const;
... | 26.04918 | 86 | 0.705475 |
31a73eb1670ecee7fe6488e9a28547a01ed26bbc | 1,645 | ps1 | PowerShell | tests/IAM/IAM.Tests.ps1 | ajsing/aws-tools-for-powershell | 25372542f23afd465fc419c4ec1f6175d7f3dee2 | [
"Apache-2.0"
] | 181 | 2019-03-29T16:45:16.000Z | 2022-03-24T22:46:45.000Z | tests/IAM/IAM.Tests.ps1 | lukeenterprise/aws-tools-for-powershell | acc809bc80d092fc1fb2c21780ff9ea06f3d104c | [
"Apache-2.0"
] | 233 | 2019-03-29T12:22:54.000Z | 2022-03-30T08:14:56.000Z | tests/IAM/IAM.Tests.ps1 | lukeenterprise/aws-tools-for-powershell | acc809bc80d092fc1fb2c21780ff9ea06f3d104c | [
"Apache-2.0"
] | 70 | 2019-05-09T05:43:10.000Z | 2022-02-22T15:09:32.000Z | . (Join-Path (Join-Path (Get-Location) "Include") "TestIncludes.ps1")
. (Join-Path (Join-Path (Get-Location) "Include") "TestHelper.ps1")
. (Join-Path (Join-Path (Get-Location) "Include") "ServiceTestHelper.ps1")
$helper = New-Object ServiceTestHelper
Describe -Tag "Smoke" "IAM" {
BeforeAll {
$helper.Befor... | 26.111111 | 97 | 0.519757 |
48dc3a728a66c4bebc4012341396012e06863041 | 121 | sql | SQL | src/test/tinc/tincmmgr/test/e2e/expected_test_scripts/test_insert_metadata_method_level/sql/query01.sql | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 9 | 2018-04-20T03:31:01.000Z | 2020-05-13T14:10:53.000Z | src/test/tinc/tincmmgr/test/e2e/expected_test_scripts/test_insert_metadata_method_level/sql/query01.sql | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 36 | 2017-09-21T09:12:27.000Z | 2020-06-17T16:40:48.000Z | src/test/tinc/tincmmgr/test/e2e/expected_test_scripts/test_insert_metadata_method_level/sql/query01.sql | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 32 | 2017-08-31T12:50:52.000Z | 2022-03-01T07:34:53.000Z | -- @tags tag1 tag2 tag3 bug-3
-- comment
--@bugs MPP-1
-- @newmetadata newvalue
-- @anothernewmd newvalue
select 'foo';
| 17.285714 | 29 | 0.68595 |
5b4c039447d2cc25f5fcaefa67a7a8637f479d16 | 207 | kt | Kotlin | app/src/main/java/com/prerna/newsappkotlin/util/Output.kt | Prernaakumaree/NewsAppKotlin | 5b978217026b703c98bd2d420d6f8139e166af84 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/prerna/newsappkotlin/util/Output.kt | Prernaakumaree/NewsAppKotlin | 5b978217026b703c98bd2d420d6f8139e166af84 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/prerna/newsappkotlin/util/Output.kt | Prernaakumaree/NewsAppKotlin | 5b978217026b703c98bd2d420d6f8139e166af84 | [
"Apache-2.0"
] | null | null | null | package com.prerna.newsappkotlin.util
sealed class Output<out T : Any> {
data class Success<out T : Any>(val output: T) : Output<T>()
data class Error(val exception: Exception) : Output<Nothing>()
} | 34.5 | 66 | 0.700483 |
471b85a1682b188c16eb056e324f54da57bcdbd5 | 2,904 | sql | SQL | e2e_samples/parking_sensors_synapse/application_layer/healthcare_infoProtection/synapse/sqlScripts/4a HealthCare SQL Pool Security DDM.sql | Alegandi83/modern-data-warehouse-dataops | 5a44ad1e99e1cc9a97b86b306c503b817798e54e | [
"MIT"
] | null | null | null | e2e_samples/parking_sensors_synapse/application_layer/healthcare_infoProtection/synapse/sqlScripts/4a HealthCare SQL Pool Security DDM.sql | Alegandi83/modern-data-warehouse-dataops | 5a44ad1e99e1cc9a97b86b306c503b817798e54e | [
"MIT"
] | null | null | null | e2e_samples/parking_sensors_synapse/application_layer/healthcare_infoProtection/synapse/sqlScripts/4a HealthCare SQL Pool Security DDM.sql | Alegandi83/modern-data-warehouse-dataops | 5a44ad1e99e1cc9a97b86b306c503b817798e54e | [
"MIT"
] | null | null | null | /******Important – Do not use in production, for demonstration purposes only – please review the legal notices by clicking the following link****/
---DisclaimerLink: https://healthcaredemoapp.azurewebsites.net/#/disclaimer
---License agreement: https://github.com/microsoft/Azure-Analytics-and-AI-Engagement/blob/main/H... | 60.5 | 990 | 0.78168 |
64f5398ad13a658cbc0cbe411822870be76d3c72 | 195 | java | Java | Program/Java/DubboDemo/UserService/src/main/java/com/gavinshark/userservice/UserService.java | gavinshark/stayHungryStayFoolish | 2333b9eb4cf0316bf439e3738935940ac16b42ba | [
"MIT"
] | 1 | 2021-01-25T05:43:52.000Z | 2021-01-25T05:43:52.000Z | Program/Java/DubboDemo/UserService/src/main/java/com/gavinshark/userservice/UserService.java | gavinshark/stayHungryStayFoolish | 2333b9eb4cf0316bf439e3738935940ac16b42ba | [
"MIT"
] | null | null | null | Program/Java/DubboDemo/UserService/src/main/java/com/gavinshark/userservice/UserService.java | gavinshark/stayHungryStayFoolish | 2333b9eb4cf0316bf439e3738935940ac16b42ba | [
"MIT"
] | null | null | null | package com.gavinshark.userservice;
import org.springframework.stereotype.Component;
import java.util.*;
public interface UserService {
public List<String> getUserAddress (String userId);
} | 24.375 | 55 | 0.8 |
5b6fc6567473516f3f18bbb9530888c5ae3e9623 | 10,110 | cc | C++ | chrome/browser/safe_browsing/certificate_reporting_service.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chrome/browser/safe_browsing/certificate_reporting_service.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/safe_browsing/certificate_reporting_service.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2016 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.
#include "chrome/browser/safe_browsing/certificate_reporting_service.h"
#include <memory>
#include "base/bind.h"
#include "base/callback_helpers.h"
#incl... | 35.226481 | 80 | 0.756578 |