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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b37c2b98d05a0c307f451acb9b773b4e25846fdd | 539 | asm | Assembly | pass/rt/boot32.asm | virtines/wasp | a8a9ac3b2c1369efc5a4d6ab2a7938747db34eaa | [
"MIT"
] | 4 | 2022-02-03T19:01:27.000Z | 2022-03-29T18:59:56.000Z | pass/rt/boot32.asm | virtines/wasp | a8a9ac3b2c1369efc5a4d6ab2a7938747db34eaa | [
"MIT"
] | 1 | 2022-01-28T19:16:53.000Z | 2022-02-02T21:38:17.000Z | pass/rt/boot32.asm | virtines/wasp | a8a9ac3b2c1369efc5a4d6ab2a7938747db34eaa | [
"MIT"
] | 1 | 2022-03-08T03:05:43.000Z | 2022-03-08T03:05:43.000Z | [bits 16]
[section .text]
extern __virtine_main
global _start
_start:
cli
mov eax, gdtr32
lgdt [eax]
mov eax, cr0
or al, 1
mov cr0, eax
jmp 08h:.trampoline
[bits 32]
.trampoline:
mov esp, 0x1000
mov ebp, esp
push dword 0
call __virtine_main
out 0xFA, ax ;; call the exit hypercall
global hcall
hcall:
... | 11.977778 | 40 | 0.695733 |
277f5638fdf0a4cdd837439ebc208a2d1ec7a753 | 5,801 | sql | SQL | test/sql/official-suite/boundary1-14.sql | chengwenxin/sqlite-parser | 7489d4b7885b3785c1fdbddf65fed8ea2a7b485e | [
"MIT"
] | 320 | 2015-07-04T17:11:58.000Z | 2022-03-23T04:40:29.000Z | test/sql/official-suite/boundary1-14.sql | chengwenxin/sqlite-parser | 7489d4b7885b3785c1fdbddf65fed8ea2a7b485e | [
"MIT"
] | 53 | 2015-07-09T23:27:58.000Z | 2021-01-29T13:21:45.000Z | test/sql/official-suite/boundary1-14.sql | applandinc/sql-parser | 11acbbea6b269c0bcc8b22627cc3c8572cb7a2fc | [
"MIT"
] | 68 | 2015-08-06T12:45:27.000Z | 2022-03-23T04:40:40.000Z | -- original: boundary1.test
-- credit: http://www.sqlite.org/src/tree?ci=trunk&name=test
SELECT a FROM t1 WHERE rowid < 127 ORDER BY a
;SELECT a FROM t1 WHERE rowid < 127 ORDER BY a DESC
;SELECT a FROM t1 WHERE rowid < 127 ORDER BY rowid
;SELECT a FROM t1 WHERE rowid < 127 ORDER BY rowid DESC
;SELECT a FROM t1 WHERE... | 56.320388 | 70 | 0.763489 |
165ead3a33b4beaf1ba6e12d46493049508d771f | 1,126 | ts | TypeScript | test/template/app-context.test.ts | ivorycirrus/aws-cdk-project-template-for-devops | 4c4d7aa0948ec4e2e83f22e00ae42d17f2ff5433 | [
"MIT-0"
] | 37 | 2021-09-25T03:20:11.000Z | 2022-03-31T13:52:38.000Z | test/template/app-context.test.ts | ivorycirrus/aws-cdk-project-template-for-devops | 4c4d7aa0948ec4e2e83f22e00ae42d17f2ff5433 | [
"MIT-0"
] | 2 | 2022-01-18T07:17:28.000Z | 2022-03-25T13:15:33.000Z | test/template/app-context.test.ts | ivorycirrus/aws-cdk-project-template-for-devops | 4c4d7aa0948ec4e2e83f22e00ae42d17f2ff5433 | [
"MIT-0"
] | 10 | 2021-09-25T03:42:50.000Z | 2022-03-04T09:41:59.000Z | import * as cdk from '@aws-cdk/core';
import { assert } from 'console';
import { AppContext } from '../../lib/template/app-context';
let cdkApp = new cdk.App();
test('[TESTCase01] updateContextArgs: HappyCase', () => {
// SETUP
cdkApp.node.tryGetContext = jest.fn()
.mockReturnValueOnce('test/templat... | 22.979592 | 66 | 0.565719 |
b9c6e07253bd6f046d129d03a07fd05f903d4f2f | 1,790 | h | C | PrivateFrameworks/CalendarUIKit/CUIKUserOperation.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/CalendarUIKit/CUIKUserOperation.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/CalendarUIKit/CUIKUserOperation.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSArray, NSError, NSString;
@interface CUIKUserOperation : NSObject
{
BOOL _inverseOperationPrecomputed;
NSError *_error;
NSArray *_objects... | 36.530612 | 138 | 0.782123 |
9f086f1dbdfca9a2fa3b07059824bb212baa9d5b | 7,472 | sql | SQL | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5513850_sys_gh4994_New_I_BPartner_Columns.sql | dram/metasfresh | a1b881a5b7df8b108d4c4ac03082b72c323873eb | [
"RSA-MD"
] | 1,144 | 2016-02-14T10:29:35.000Z | 2022-03-30T09:50:41.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5513850_sys_gh4994_New_I_BPartner_Columns.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 8,283 | 2016-04-28T17:41:34.000Z | 2022-03-30T13:30:12.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5513850_sys_gh4994_New_I_BPartner_Columns.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 441 | 2016-04-29T08:06:07.000Z | 2022-03-28T06:09:56.000Z |
-- 2019-02-26T16:28:50.610
-- #298 changing anz. stellen
INSERT INTO AD_Column (AD_Reference_ID,FieldLength,Version,IsKey,IsParent,IsTranslated,IsIdentifier,SeqNo,AD_Client_ID,IsActive,Created,CreatedBy,IsUpdateable,DDL_NoForeignKey,IsSelectionColumn,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,I... | 77.833333 | 1,006 | 0.785867 |
5661dd981c977057cb92406bb49c6123d9d881f7 | 1,468 | swift | Swift | Tests/LexerTests/Rules/Function/FuncCallArgsRuleTests.swift | LastSprint/T-Lang | 5346866e9d507b69e560ff57e67bb6c1a0c2eb27 | [
"MIT"
] | null | null | null | Tests/LexerTests/Rules/Function/FuncCallArgsRuleTests.swift | LastSprint/T-Lang | 5346866e9d507b69e560ff57e67bb6c1a0c2eb27 | [
"MIT"
] | null | null | null | Tests/LexerTests/Rules/Function/FuncCallArgsRuleTests.swift | LastSprint/T-Lang | 5346866e9d507b69e560ff57e67bb6c1a0c2eb27 | [
"MIT"
] | null | null | null | //
// FuncCallArgsRuleTests.swift
//
//
// Created by Александр Кравченков on 07.01.2022.
//
import Foundation
import XCTest
@testable import Lexer
// Test Cases:
// 1. Empty args will return empty array
// 2. Single arg will be parsed
// 3. Two args will be parsed
// 4. Extra coma won't be parsed
final class F... | 24.881356 | 116 | 0.578338 |
c9e98e756745f39a29ebda68ae773150eda88abb | 1,062 | kt | Kotlin | libs/ui/src/main/kotlin/com/illiarb/tmdbclient/libs/ui/base/viewmodel/BaseViewModel.kt | ilya-rb/Tmdb-Client | 6b160dbdbf5b81aa7dfec467a682cdeb14bebe28 | [
"MIT"
] | 4 | 2020-06-25T17:43:09.000Z | 2021-03-01T06:38:10.000Z | libs/ui/src/main/kotlin/com/illiarb/tmdbclient/libs/ui/base/viewmodel/BaseViewModel.kt | ilya-rb/Tmdb-Client | 6b160dbdbf5b81aa7dfec467a682cdeb14bebe28 | [
"MIT"
] | 27 | 2020-04-10T08:29:04.000Z | 2020-11-02T20:35:25.000Z | libs/ui/src/main/kotlin/com/illiarb/tmdbclient/libs/ui/base/viewmodel/BaseViewModel.kt | ilya-rb/Tmdb-Client | 6b160dbdbf5b81aa7dfec467a682cdeb14bebe28 | [
"MIT"
] | 2 | 2020-02-13T22:32:42.000Z | 2020-06-25T17:43:09.000Z | package com.illiarb.tmdbclient.libs.ui.base.viewmodel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.channels.SendChannel
import kotlinx.coroutines.channels.consumeEach
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlo... | 27.947368 | 85 | 0.770245 |
b26eca736db6ba0b8a4bec4a8b5c3b398bc615c5 | 324 | swift | Swift | validation-test/compiler_crashers_fixed/02111-swift-declcontext-lookupqualified.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 10 | 2015-12-25T02:19:46.000Z | 2021-11-14T15:37:57.000Z | validation-test/compiler_crashers_fixed/02111-swift-declcontext-lookupqualified.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 2 | 2016-02-01T08:51:00.000Z | 2017-04-07T09:04:30.000Z | validation-test/compiler_crashers_fixed/02111-swift-declcontext-lookupqualified.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 3 | 2016-04-02T15:05:27.000Z | 2019-08-19T15:25:02.000Z | // RUN: not %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
enum B : T
let g : a {
class C<h : d where B == Swift.h = 0)() { c<Int>) -> {
class func compose(e(")
fun... | 27 | 87 | 0.679012 |
8ae3fdebf5ab941d641a5a225b5dff1b29abd8c9 | 37,495 | rs | Rust | src/diagnostics/archivist/src/archive/mod.rs | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | src/diagnostics/archivist/src/archive/mod.rs | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | src/diagnostics/archivist/src/archive/mod.rs | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use {
crate::{
component_events::{
ComponentEvent, ComponentEventData, ComponentEventStream, Data, InspectReaderData,
R... | 35.272813 | 100 | 0.568529 |
2a4d159108b9e0635a4929498cd5d9411018f8ba | 501 | java | Java | src/main/java/ssll/rsm/pr/PropertyReader.java | 14104chk/ResultSetMapper | 0cc9c033b24d3af7e2bece784775c0cd401ac881 | [
"Apache-2.0"
] | 7 | 2021-07-09T08:14:08.000Z | 2021-11-25T03:24:44.000Z | src/main/java/ssll/rsm/pr/PropertyReader.java | 14104chk/SQL-Mapping | 0cc9c033b24d3af7e2bece784775c0cd401ac881 | [
"Apache-2.0"
] | null | null | null | src/main/java/ssll/rsm/pr/PropertyReader.java | 14104chk/SQL-Mapping | 0cc9c033b24d3af7e2bece784775c0cd401ac881 | [
"Apache-2.0"
] | null | null | null | package ssll.rsm.pr;
import java.sql.ResultSet;
import java.sql.SQLException;
import ssll.rsm.MappingContext;
import ssll.rsm.Property;
public interface PropertyReader {
public static final PropertyReader UNKNOWN_TYPE_READER = (MappingContext context, Property property, Class propertyRawType, ResultSet resultSet) -... | 35.785714 | 196 | 0.826347 |
c279ef383713696513ed537fb03756182291f703 | 213 | go | Go | algorithm/sort/001_bubble_sort.go | yangzhengkun/goleetcode | 4b0f612dbf0746d48583c7bf985aec3a6aa11f68 | [
"MIT"
] | null | null | null | algorithm/sort/001_bubble_sort.go | yangzhengkun/goleetcode | 4b0f612dbf0746d48583c7bf985aec3a6aa11f68 | [
"MIT"
] | null | null | null | algorithm/sort/001_bubble_sort.go | yangzhengkun/goleetcode | 4b0f612dbf0746d48583c7bf985aec3a6aa11f68 | [
"MIT"
] | null | null | null | package sort
func BubbleSort(arr []int) []int {
n := len(arr)
for i := 0; i < n; i++ {
for j := 0; j < n-i-1; j++ {
if arr[j] > arr[j+1] {
arr[j+1], arr[j] = arr[j], arr[j+1]
}
}
}
return arr
}
| 15.214286 | 39 | 0.455399 |
7010b5c29a62130924edb19c3a61e86b0029e362 | 29 | lua | Lua | Dread Scripts (v1.0.3)/romfs/packs/maps/s010_cave/subareas/actors/characters/scorpius/scripts/scorpius.lua | MrMendelli/DreadScripts | b9b1d993655ef598ccb7a72027f461f208983b50 | [
"MIT"
] | null | null | null | Dread Scripts (v1.0.3)/romfs/packs/maps/s010_cave/subareas/actors/characters/scorpius/scripts/scorpius.lua | MrMendelli/DreadScripts | b9b1d993655ef598ccb7a72027f461f208983b50 | [
"MIT"
] | null | null | null | Dread Scripts (v1.0.3)/romfs/packs/maps/s010_cave/subareas/actors/characters/scorpius/scripts/scorpius.lua | MrMendelli/DreadScripts | b9b1d993655ef598ccb7a72027f461f208983b50 | [
"MIT"
] | 1 | 2022-02-15T00:18:22.000Z | 2022-02-15T00:18:22.000Z | function Scorpius.main()
end
| 9.666667 | 24 | 0.793103 |
781dcc6305f4bce05c1da202b475164bfa6c2fe1 | 2,075 | kt | Kotlin | app/src/main/java/com/example/androiddevchallenge/util/ImagesHandler.kt | kfurjan/puppy-finder | b5c9aab39902e90593aa51be44208ed72ec2542b | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/androiddevchallenge/util/ImagesHandler.kt | kfurjan/puppy-finder | b5c9aab39902e90593aa51be44208ed72ec2542b | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/androiddevchallenge/util/ImagesHandler.kt | kfurjan/puppy-finder | b5c9aab39902e90593aa51be44208ed72ec2542b | [
"Apache-2.0"
] | null | null | null | package com.example.androiddevchallenge.util
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.Matrix
import java.io.ByteArrayOutputStream
import java.io.File
import java.io.FileOutputStream
import java.net.HttpURLConnection
private const val P... | 32.421875 | 88 | 0.699277 |
fc700603045d389b0160a6bcb769a221d54fda4b | 162 | sql | SQL | OrderList.sql | sqljared/One-Bite-at-a-Time | 0a18774eb01ff804422f84f0a12cc43460d45933 | [
"MIT"
] | 1 | 2021-12-17T11:33:03.000Z | 2021-12-17T11:33:03.000Z | OrderList.sql | sqljared/One-Bite-at-a-Time | 0a18774eb01ff804422f84f0a12cc43460d45933 | [
"MIT"
] | null | null | null | OrderList.sql | sqljared/One-Bite-at-a-Time | 0a18774eb01ff804422f84f0a12cc43460d45933 | [
"MIT"
] | null | null | null | USE WideWorldImporters
GO
CREATE TYPE Sales.OrderList
AS TABLE(
OrderID INT NOT NULL,
INDEX IX_OrderList_OrderID (OrderID)
)
WITH (MEMORY_OPTIMIZED = ON);
GO
| 16.2 | 37 | 0.783951 |
869e0b9b26f4b44c2fed50dfcbc6acfa284aeafc | 469 | go | Go | main_test.go | claretnnamocha/peer-calls | aca2d66755fe3ca10e23beed802fa39e2f501fd5 | [
"Apache-2.0"
] | 1 | 2020-05-04T04:36:22.000Z | 2020-05-04T04:36:22.000Z | main_test.go | claretnnamocha/peer-calls | aca2d66755fe3ca10e23beed802fa39e2f501fd5 | [
"Apache-2.0"
] | 2 | 2021-03-10T15:48:08.000Z | 2021-05-11T11:49:48.000Z | main_test.go | pgomez465/20 | a71616e627f5aa71d9660e7e34168003b31bf8e8 | [
"Apache-2.0"
] | null | null | null | package main
import (
"fmt"
"testing"
"github.com/stretchr/testify/require"
)
func TestPanicOnError_panic(t *testing.T) {
defer func() {
err, ok := recover().(error)
require.Equal(t, true, ok)
require.NotNil(t, err)
require.Regexp(t, "an error", err.Error())
}()
panicOnError(fmt.Errorf("test"), "an err... | 17.37037 | 45 | 0.656716 |
af283acbbe9322930611b05cea6229303e870007 | 477 | rb | Ruby | bin/dwd_observation.rb | SettRaziel/dwd_observations | 0c397787d007d97777d071c97b9f453b45fef850 | [
"MIT"
] | null | null | null | bin/dwd_observation.rb | SettRaziel/dwd_observations | 0c397787d007d97777d071c97b9f453b45fef850 | [
"MIT"
] | 9 | 2020-12-02T19:41:53.000Z | 2022-03-01T21:21:26.000Z | bin/dwd_observation.rb | SettRaziel/dwd_observations | 0c397787d007d97777d071c97b9f453b45fef850 | [
"MIT"
] | null | null | null | require "ruby_utils/string"
require "dwd_observations"
begin
DwdObservations.initialize(ARGV)
parameter_repository = DwdObservations.parameter_handler.repository
if (parameter_repository.parameters[:help])
DwdObservations.print_help
elsif (parameter_repository.parameters[:version])
DwdObservations.p... | 25.105263 | 69 | 0.813417 |
9d347deb11505d3b29deb0f9084e113434581e0e | 20,973 | lua | Lua | Games/60 Second Heist/scripts/game.lua | XeduR/Solar2D-Projects | b3e2087c77d2397ef99d8a4bfd21fd4604f31b3b | [
"MIT"
] | 6 | 2021-08-02T13:47:06.000Z | 2022-03-14T04:07:15.000Z | Games/60 Second Heist/scripts/game.lua | XeduR/Solar2D-Projects | b3e2087c77d2397ef99d8a4bfd21fd4604f31b3b | [
"MIT"
] | null | null | null | Games/60 Second Heist/scripts/game.lua | XeduR/Solar2D-Projects | b3e2087c77d2397ef99d8a4bfd21fd4604f31b3b | [
"MIT"
] | 4 | 2020-12-05T17:45:02.000Z | 2022-03-14T04:07:22.000Z | local composer = require( "composer" )
local scene = composer.newScene()
local physics = require("physics")
physics.start()
physics.setGravity( 0, 0 )
local sfx = require( "scripts.sfx" )
local screen = require( "scripts.screen" )
local levelData = require( "data.levels" )
local clock = require( "scripts.clock" )
--... | 33.132701 | 200 | 0.57574 |
e618f8bdacc7051fbadf685de3a6e57e2866d1e9 | 1,127 | go | Go | gui/jid.go | 0x27/coyim | d44546231aec54ade904f091159a4229f40c6447 | [
"BSD-3-Clause"
] | 1 | 2020-12-06T19:22:37.000Z | 2020-12-06T19:22:37.000Z | gui/jid.go | 0x27/coyim | d44546231aec54ade904f091159a4229f40c6447 | [
"BSD-3-Clause"
] | null | null | null | gui/jid.go | 0x27/coyim | d44546231aec54ade904f091159a4229f40c6447 | [
"BSD-3-Clause"
] | 2 | 2016-04-25T08:22:48.000Z | 2020-12-06T19:22:52.000Z | package gui
import (
"strings"
)
// Method to validate a jabber id is correct according to the RFC-6122
// on Address Format
// TODO: verify the resource part
func verifyXmppAddress(address string) (bool, string) {
var err string
tldIndex := strings.LastIndex(address, ".")
atIndex := strings.Index(address, "@")
... | 23.479167 | 88 | 0.708962 |
4becbd95686043c3f2fa5a4c2b5342f6740470ff | 2,832 | swift | Swift | ixy/Sources/ixy/Device/Config/DeviceStats.swift | Danappelxx/ixy.swift | 0517f7384b5fd574ed9b3f215e6d63aadb154f87 | [
"MIT"
] | 27 | 2018-10-09T14:33:59.000Z | 2021-11-10T13:51:22.000Z | ixy/Sources/ixy/Device/Config/DeviceStats.swift | Danappelxx/ixy.swift | 0517f7384b5fd574ed9b3f215e6d63aadb154f87 | [
"MIT"
] | 3 | 2019-01-01T22:11:56.000Z | 2022-03-23T06:11:24.000Z | ixy/Sources/ixy/Device/Config/DeviceStats.swift | Danappelxx/ixy.swift | 0517f7384b5fd574ed9b3f215e6d63aadb154f87 | [
"MIT"
] | 4 | 2018-12-29T21:52:30.000Z | 2022-02-22T22:30:59.000Z | //
// DeviceStats.swift
// ixy
//
// Created by Thomas Günzel on 29.09.2018.
//
import Foundation
/// small struct for the device stats
public struct DeviceStats {
/// small substruct for the stats for a line (RX/TX)
public struct LineStats {
public var packets: UInt32
public var bytes: UInt64
static let ... | 28.897959 | 110 | 0.736229 |
9e3eed74cb944c8d2a74850343d42958253ef49a | 5,173 | swift | Swift | 301085484_Assignment1/ViewController.swift | Abdeali-53/iOS_Development-Basic_Calculator_Part2 | 18b56e25b918b2ed084d16daf775c72ec36ca325 | [
"MIT"
] | null | null | null | 301085484_Assignment1/ViewController.swift | Abdeali-53/iOS_Development-Basic_Calculator_Part2 | 18b56e25b918b2ed084d16daf775c72ec36ca325 | [
"MIT"
] | null | null | null | 301085484_Assignment1/ViewController.swift | Abdeali-53/iOS_Development-Basic_Calculator_Part2 | 18b56e25b918b2ed084d16daf775c72ec36ca325 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// 301085484_Assignment1 (FILE NAME)
//
// Created by Abdeali Mody on 2020-09-30. (AUTHOR'S NAME & DATE)
// 301085484 (STUDENT ID)
// VERSION 1.0
import UIKit
class ViewController: UIViewController
{
//Declaring the variables : Datatype = value.
//abc
var operand1: Double =... | 29.392045 | 151 | 0.470133 |
40b104bc52db048368ada772fd1176a639ba9c5f | 2,904 | py | Python | SimpleApp/stylemanager.py | 0xMartin/SimpleApp-Pygame-framework | fa443c1a05d3cc87595f0c6e0e65ff4471fe9c85 | [
"MIT"
] | null | null | null | SimpleApp/stylemanager.py | 0xMartin/SimpleApp-Pygame-framework | fa443c1a05d3cc87595f0c6e0e65ff4471fe9c85 | [
"MIT"
] | null | null | null | SimpleApp/stylemanager.py | 0xMartin/SimpleApp-Pygame-framework | fa443c1a05d3cc87595f0c6e0e65ff4471fe9c85 | [
"MIT"
] | null | null | null | """
Simple library for multiple views game aplication with pygame
File: stylemanager.py
Date: 09.02.2022
Github: https://github.com/0xMartin
Email: martin.krcma1@gmail.com
Copyright (C) 2022 Martin Krcma
Permission is hereby granted, free of charge, to any person
obtaining a copy of this soft... | 32.266667 | 86 | 0.653926 |
1d117899be0b2f08386e33359074a00201b8522b | 510 | ps1 | PowerShell | ScienceLogic_SL1/internal/functions/ConvertTo-Appliance.ps1 | trir262/PowerShell_SL1 | b27c3b43bf92736b2130ada6861ff546a27b9243 | [
"MIT"
] | null | null | null | ScienceLogic_SL1/internal/functions/ConvertTo-Appliance.ps1 | trir262/PowerShell_SL1 | b27c3b43bf92736b2130ada6861ff546a27b9243 | [
"MIT"
] | 14 | 2019-04-07T22:12:03.000Z | 2020-01-04T20:36:29.000Z | ScienceLogic_SL1/internal/functions/ConvertTo-Appliance.ps1 | trir262/PowerShell_SL1 | b27c3b43bf92736b2130ada6861ff546a27b9243 | [
"MIT"
] | null | null | null | function ConvertTo-Appliance {
[CmdletBinding()]
Param(
[Parameter(Mandatory, Position=0, ValueFromPipeline)]
[ValidateNotNullOrEmpty()]
$SL1Appliance,
[Parameter(Mandatory, Position=1)]
[ValidateRange(0,([int64]::MaxValue))]
[int64]$Id
)
Process {
$SL1Appliance | Add-Member -TypeName 'appliance'
... | 26.842105 | 95 | 0.723529 |
fd31305c526b8c1c46b9f21c82f4ce2b6a82227c | 5,853 | swift | Swift | swaap/swaap/View Controllers/SignUpViewController.swift | mredig/conference-contacts-ios | e53429af5438dd6ec8d45be1b779438941bcb953 | [
"MIT"
] | 1 | 2020-05-04T16:35:47.000Z | 2020-05-04T16:35:47.000Z | swaap/swaap/View Controllers/SignUpViewController.swift | mredig/conference-contacts-ios | e53429af5438dd6ec8d45be1b779438941bcb953 | [
"MIT"
] | 14 | 2019-12-10T22:20:18.000Z | 2020-04-29T15:04:31.000Z | swaap/swaap/View Controllers/SignUpViewController.swift | mredig/conference-contacts-ios | e53429af5438dd6ec8d45be1b779438941bcb953 | [
"MIT"
] | 4 | 2020-02-08T22:25:20.000Z | 2020-09-21T17:35:57.000Z | //
// SignUpViewController.swift
// swaap
//
// Created by Michael Redig on 11/19/19.
// Copyright © 2019 swaap. All rights reserved.
//
import UIKit
import Auth0
class SignUpViewController: UIViewController {
@IBOutlet private weak var emailForm: FormInputView!
@IBOutlet private weak var passwordForm: FormInpu... | 33.83237 | 189 | 0.750555 |
71c343fa767e12038ef2eebe5ea76e587d0f93a8 | 14,199 | swift | Swift | NA Meeting Search/BMLT_MeetingSearch_PageRenderer.swift | cheefbird/BMLT-NA-Meeting-Search | 327928cff13dd8f77fb97ace7208595f46959d23 | [
"MIT"
] | null | null | null | NA Meeting Search/BMLT_MeetingSearch_PageRenderer.swift | cheefbird/BMLT-NA-Meeting-Search | 327928cff13dd8f77fb97ace7208595f46959d23 | [
"MIT"
] | 3 | 2019-09-17T08:41:19.000Z | 2021-08-15T17:22:36.000Z | NA Meeting Search/BMLT_MeetingSearch_PageRenderer.swift | cheefbird/BMLT-NA-Meeting-Search | 327928cff13dd8f77fb97ace7208595f46959d23 | [
"MIT"
] | 3 | 2018-12-28T20:48:36.000Z | 2020-03-13T20:43:07.000Z | //
// BMLT_MeetingSearch_PageRenderer.swift
// NA Meeting Search
//
// Created by BMLT-Enabled
//
// https://bmlt.app/
//
// This software is licensed under the MIT License.
// Copyright (c) 2017 BMLT-Enabled
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software ... | 47.488294 | 204 | 0.519473 |
83dc03865a3ee21bc0da6d5f14bddac61a3eaab4 | 3,781 | go | Go | pkg/executor/fuse.go | infradash/dash | dbbe6ce01a443a12316845f2ad75d4c1b3ecf972 | [
"Apache-2.0"
] | null | null | null | pkg/executor/fuse.go | infradash/dash | dbbe6ce01a443a12316845f2ad75d4c1b3ecf972 | [
"Apache-2.0"
] | null | null | null | pkg/executor/fuse.go | infradash/dash | dbbe6ce01a443a12316845f2ad75d4c1b3ecf972 | [
"Apache-2.0"
] | null | null | null | package executor
import (
"errors"
"fmt"
"github.com/golang/glog"
"github.com/qorio/maestro/pkg/registry"
"github.com/qorio/maestro/pkg/zk"
"os"
"strings"
)
type FileSystem interface {
Mount(dir string, perm os.FileMode) error
Close() error
}
var (
ErrMissingMount = errors.New("err-missing-mount-po... | 22.372781 | 97 | 0.654853 |
a60bb8f93e05cdaa6da691ade40b536048f30b9f | 652 | asm | Assembly | oeis/301/A301571.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/301/A301571.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/301/A301571.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A301571: Number of vertices at distance 2 from a given vertex in the n-Keller graph.
; 0,10,29,84,247,734,2193,6568,19691,59058,177157,531452,1594335,4782982,14348921,43046736,129140179,387420506,1162261485,3486784420,10460353223,31381059630,94143178849,282429536504,847288609467,2541865828354,7625597485013,2287679245... | 59.272727 | 496 | 0.851227 |
1688c76c844b1a82a4f30fe70167748d82aed6f3 | 899 | h | C | exp_lang/exp_lang/variables.h | Mihahanya/Exp-lang | b782093f0ce7281c32e939ccdc8e3f8e1679b68c | [
"MIT"
] | 1 | 2021-12-13T13:17:03.000Z | 2021-12-13T13:17:03.000Z | exp_lang/exp_lang/variables.h | Mihahanya/Exp-lang | b782093f0ce7281c32e939ccdc8e3f8e1679b68c | [
"MIT"
] | null | null | null | exp_lang/exp_lang/variables.h | Mihahanya/Exp-lang | b782093f0ce7281c32e939ccdc8e3f8e1679b68c | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <string>
using namespace std;
struct var {
size_t id;
int val;
string name;
};
class Variables
{
public:
vector<var> v_strg = { {0, 0, ""}, {25184, 0, "df"}, {SIZE_MAX, 0, ""}};
void choose(string name) {
if (name == this->name) return;
this->name = name;
cid = has... | 16.053571 | 73 | 0.581758 |
f4122e3964714bd05ca55ac1f3942f95c1d389a6 | 1,375 | go | Go | pkg/utils/sysctl/sysctl_test.go | intelsdi-x/swan | 851671dd1cd2508cc04b7a3075a7e1e0fb03c285 | [
"Apache-2.0"
] | 44 | 2017-05-05T09:21:01.000Z | 2021-04-02T05:30:55.000Z | pkg/utils/sysctl/sysctl_test.go | intelsdi-x/swan | 851671dd1cd2508cc04b7a3075a7e1e0fb03c285 | [
"Apache-2.0"
] | 130 | 2017-04-28T17:40:27.000Z | 2018-12-27T14:13:40.000Z | pkg/utils/sysctl/sysctl_test.go | intelsdi-x/swan | 851671dd1cd2508cc04b7a3075a7e1e0fb03c285 | [
"Apache-2.0"
] | 17 | 2017-04-28T17:45:42.000Z | 2021-07-31T16:26:48.000Z | // Copyright (c) 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 applicable law or ag... | 28.061224 | 99 | 0.685091 |
7bb0bc296f5f5b39d8816e2b14a7380df7a1c47c | 1,131 | kt | Kotlin | src/main/kotlin/yt/javi/spring/examples/springevents/user/domain/services/user/register/RegisterUserService.kt | javiyt/spring-events | b27eea4dac7cf03539caaee52c5c39ff3dd17744 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/yt/javi/spring/examples/springevents/user/domain/services/user/register/RegisterUserService.kt | javiyt/spring-events | b27eea4dac7cf03539caaee52c5c39ff3dd17744 | [
"Apache-2.0"
] | 100 | 2019-04-11T20:15:07.000Z | 2021-09-23T16:28:06.000Z | src/main/kotlin/yt/javi/spring/examples/springevents/user/domain/services/user/register/RegisterUserService.kt | javiyt/spring-events | b27eea4dac7cf03539caaee52c5c39ff3dd17744 | [
"Apache-2.0"
] | null | null | null | package yt.javi.spring.examples.springevents.user.domain.services.user.register
import yt.javi.spring.examples.springevents.user.domain.ActionEvent
import yt.javi.spring.examples.springevents.user.domain.model.user.User
import yt.javi.spring.examples.springevents.user.domain.model.user.UserEvent
import yt.javi.spring.... | 39 | 115 | 0.73298 |
7de7cc46ae570a70145ac0f2c93f0fb259e8d1d3 | 887 | lua | Lua | programs/neovim-lsp/lua/lsp/servers/sumneko_lua.lua | slaser79/dotfiles-nix | 0a42d6f7a534135010ba30154780afe454c3f9f9 | [
"BSD-3-Clause"
] | null | null | null | programs/neovim-lsp/lua/lsp/servers/sumneko_lua.lua | slaser79/dotfiles-nix | 0a42d6f7a534135010ba30154780afe454c3f9f9 | [
"BSD-3-Clause"
] | null | null | null | programs/neovim-lsp/lua/lsp/servers/sumneko_lua.lua | slaser79/dotfiles-nix | 0a42d6f7a534135010ba30154780afe454c3f9f9 | [
"BSD-3-Clause"
] | null | null | null | -- local sumneko_bin = (function()
-- for _, p in pairs(vim.split(vim.env.PATH, ":")) do
-- if string.find(p, "lua-language-server", 1, true) ~= nil then return p end
-- end
-- end)()
-- local sumneko_root = string.sub(sumneko_bin, 1, string.len(sumneko_bin) - 4)
-- local sumneko_executable = sumneko_bin.."/lua... | 26.088235 | 81 | 0.587373 |
1d42a65fd9f990ac9bd5b5ab9136c61801043760 | 1,213 | swift | Swift | Emergence/Models/Electric Objects/Image.swift | artsy/Emergence | 43c881d3cb115824143ef04bd71ab284647b295a | [
"MIT"
] | 395 | 2015-09-22T08:01:32.000Z | 2021-11-16T10:55:24.000Z | Emergence/Models/Electric Objects/Image.swift | artsy/Emergence | 43c881d3cb115824143ef04bd71ab284647b295a | [
"MIT"
] | 74 | 2015-09-22T07:59:00.000Z | 2017-09-11T06:25:44.000Z | Emergence/Models/Electric Objects/Image.swift | artsy/Emergence | 43c881d3cb115824143ef04bd71ab284647b295a | [
"MIT"
] | 47 | 2015-10-21T21:50:43.000Z | 2019-12-22T08:34:18.000Z | import Gloss
import Foundation
import CoreGraphics
struct Image: Imageable, ImageURLThumbnailable, GeminiThumbnailable {
let id: String
let imageFormatString: String
let imageVersions: [String]
let imageSize: CGSize
let aspectRatio: CGFloat?
let geminiToken: String?
let isDefault: Bool
... | 28.209302 | 106 | 0.625721 |
f792ef7a9152458c363aa400930a96eb604ef736 | 115 | h | C | src/string_p.h | lzf-lamer/BurningHttp | 048e8120513366dba9d1278ba61a2b76d11735a7 | [
"Apache-2.0"
] | null | null | null | src/string_p.h | lzf-lamer/BurningHttp | 048e8120513366dba9d1278ba61a2b76d11735a7 | [
"Apache-2.0"
] | null | null | null | src/string_p.h | lzf-lamer/BurningHttp | 048e8120513366dba9d1278ba61a2b76d11735a7 | [
"Apache-2.0"
] | null | null | null | #ifndef _STRING_P_H_
#define _STRING_P_H_
#endif
#include<string.h>
int strstr_p(char * str1,const char * str2);
| 14.375 | 44 | 0.756522 |
41cde71b9ce1b06bb7b778565d7bbb68607c62db | 3,731 | kt | Kotlin | src/main/kotlin/org/jetbrains/research/ml/tasktracker/reporting/GitHubErrorReporter.kt | nbirillo/coding-assistant-ui | 83767acd6098ad2272950917afd7937b2fb68fee | [
"MIT"
] | 1 | 2021-03-17T13:03:38.000Z | 2021-03-17T13:03:38.000Z | src/main/kotlin/org/jetbrains/research/ml/tasktracker/reporting/GitHubErrorReporter.kt | nbirillo/coding-assistant-ui | 83767acd6098ad2272950917afd7937b2fb68fee | [
"MIT"
] | 9 | 2020-07-09T16:17:08.000Z | 2020-09-21T09:45:30.000Z | src/main/kotlin/org/jetbrains/research/ml/tasktracker/reporting/GitHubErrorReporter.kt | nbirillo/coding-assistant-ui | 83767acd6098ad2272950917afd7937b2fb68fee | [
"MIT"
] | 6 | 2021-03-11T11:45:15.000Z | 2022-03-24T19:24:54.000Z | package org.jetbrains.research.ml.tasktracker.reporting
import com.intellij.diagnostic.IdeaReportingEvent
import com.intellij.diagnostic.ReportMessages
import com.intellij.ide.DataManager
import com.intellij.idea.IdeaLogger
import com.intellij.notification.NotificationListener
import com.intellij.notification.Notifica... | 38.071429 | 123 | 0.688823 |
18f7ecdb7f84adc1b626c2236c648d9e3f24762d | 169 | rb | Ruby | config/initializers/constants.rb | AleksandrKudashkin/bixi-list | c19bfd18649afecd21bf05b3e7152b67cdc1ae91 | [
"MIT"
] | null | null | null | config/initializers/constants.rb | AleksandrKudashkin/bixi-list | c19bfd18649afecd21bf05b3e7152b67cdc1ae91 | [
"MIT"
] | null | null | null | config/initializers/constants.rb | AleksandrKudashkin/bixi-list | c19bfd18649afecd21bf05b3e7152b67cdc1ae91 | [
"MIT"
] | null | null | null | FX_LAT = 45.506318.freeze
FX_LNG = -73.569021.freeze
REFRESH_TIMEOUT = 5.freeze
PAGE_LIMIT = 20.freeze
API_ENDPOINT = "https://secure.bixi.com/data/stations.json".freeze | 33.8 | 66 | 0.781065 |
40cc59239cb095d0547e109beef718f568bd2b7b | 21,325 | py | Python | src/journal/migrations/0001_initial.py | Nnonexistent/chemphys | d2f34364d006a494bb965bb83d1967d7dd56f9ba | [
"MIT"
] | null | null | null | src/journal/migrations/0001_initial.py | Nnonexistent/chemphys | d2f34364d006a494bb965bb83d1967d7dd56f9ba | [
"MIT"
] | 19 | 2015-03-08T08:46:09.000Z | 2019-10-01T05:16:43.000Z | src/journal/migrations/0001_initial.py | Nnonexistent/chemphys | d2f34364d006a494bb965bb83d1967d7dd56f9ba | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.utils.timezone
from django.conf import settings
import journal.models
class Migration(migrations.Migration):
dependencies = [
('auth', '0001_initial'),
]
operations = [
... | 55.678851 | 311 | 0.574115 |
7773d5f54cdcac110e6e28ec5e0a1244968c3587 | 814 | html | HTML | scratch/test.html | raydot/hf-ecc | ef1c733d164f2287d3cb755ca56e45540486e38f | [
"Unlicense"
] | null | null | null | scratch/test.html | raydot/hf-ecc | ef1c733d164f2287d3cb755ca56e45540486e38f | [
"Unlicense"
] | 5 | 2021-05-10T02:56:26.000Z | 2022-02-26T15:33:06.000Z | scratch/test.html | raydot/hf-ecc | ef1c733d164f2287d3cb755ca56e45540486e38f | [
"Unlicense"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" type="text/css" href="test.css" />
<title>Document</title>
</head>
<body>
Flippy card... | 28.068966 | 99 | 0.546683 |
bb47c64d690631c03fe3e8175ddd76733f0dca49 | 123,869 | html | HTML | resources/html/tema.html | ferrorenan/study-javascript | 264c15d95ceb6f42c07ccad98931da2a244ad866 | [
"MIT"
] | null | null | null | resources/html/tema.html | ferrorenan/study-javascript | 264c15d95ceb6f42c07ccad98931da2a244ad866 | [
"MIT"
] | null | null | null | resources/html/tema.html | ferrorenan/study-javascript | 264c15d95ceb6f42c07ccad98931da2a244ad866 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<title>Tema</title>
<meta name="viewport"
content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible"
content="IE=edge"/>
<link href="/css/frontend.css" rel="stylesheet">
<style>
... | 43.38669 | 712 | 0.320298 |
551121fd8f8390c0a56e063cdd58eac1129244cf | 1,162 | swift | Swift | Test/YoutubeVideoConfigTest.swift | dklamma/edx-app-ios | 7ba6ab3234bcb88bef12e095732a662c4532ef81 | [
"Apache-2.0"
] | null | null | null | Test/YoutubeVideoConfigTest.swift | dklamma/edx-app-ios | 7ba6ab3234bcb88bef12e095732a662c4532ef81 | [
"Apache-2.0"
] | 1 | 2019-10-23T13:00:09.000Z | 2019-10-23T13:00:09.000Z | Test/YoutubeVideoConfigTest.swift | dklamma/edx-app-ios | 7ba6ab3234bcb88bef12e095732a662c4532ef81 | [
"Apache-2.0"
] | 1 | 2020-06-11T13:27:00.000Z | 2020-06-11T13:27:00.000Z | //
// YoutubeVideoConfigTests.swift
// edXTests
//
// Created by Andrey Canon on 4/12/19.
// Copyright © 2018 edX. All rights reserved.
//
import Foundation
@testable import edX
class YoutubeVideoConfigTests: XCTestCase {
func testNoYoutubeVideoConfig() {
let config = OEXConfig(dictionary:[:])
... | 24.208333 | 64 | 0.609294 |
212c6d775514f7e402d36b67c8fb8da11e5d96d2 | 1,619 | rs | Rust | src/main.rs | Leafwing-Studios/bevy-momentum-platformer-template | 2c31d250314ded2546c5a764f9740227304c7e68 | [
"BlueOak-1.0.0"
] | null | null | null | src/main.rs | Leafwing-Studios/bevy-momentum-platformer-template | 2c31d250314ded2546c5a764f9740227304c7e68 | [
"BlueOak-1.0.0"
] | null | null | null | src/main.rs | Leafwing-Studios/bevy-momentum-platformer-template | 2c31d250314ded2546c5a764f9740227304c7e68 | [
"BlueOak-1.0.0"
] | null | null | null | #![allow(dead_code, unused_variables, unused_mut, unused_imports)]
use bevy::prelude::*;
use bevy::asset::LoadState;
mod physics;
mod player;
mod environment;
mod utils;
fn main() {
App::build()
.init_resource::<SpriteHandles>()
.add_plugins(DefaultPlugins)
.add_state(AssetLoadingState::Loading)
.... | 28.403509 | 106 | 0.725757 |
81092afb6848f5612ea210bf4d8db8f25e7412ea | 2,217 | go | Go | modules/hepa/services/openapi_consumer/interface.go | harverywxu/erda | 521b773a73424f514756b7bfcb515c594003b19a | [
"Apache-2.0"
] | 2,402 | 2021-03-08T00:47:58.000Z | 2022-03-31T15:15:54.000Z | modules/hepa/services/openapi_consumer/interface.go | harverywxu/erda | 521b773a73424f514756b7bfcb515c594003b19a | [
"Apache-2.0"
] | 3,828 | 2021-03-15T03:33:16.000Z | 2022-03-31T10:51:30.000Z | modules/hepa/services/openapi_consumer/interface.go | harverywxu/erda | 521b773a73424f514756b7bfcb515c594003b19a | [
"Apache-2.0"
] | 315 | 2021-03-05T09:53:24.000Z | 2022-03-31T09:48:35.000Z | // Copyright (c) 2021 Terminus, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 46.1875 | 107 | 0.797925 |
f7051a9a7ac60990c60cbdf064c2b2d7d79b8b23 | 2,032 | h | C | HF5R0x_0.1.0/src/hexabitz/BOS.h | HexabitzPlatform/HF5R0x-Firmware | c00c708c327a9de4d5bd8652e1087599a4b39177 | [
"MIT"
] | null | null | null | HF5R0x_0.1.0/src/hexabitz/BOS.h | HexabitzPlatform/HF5R0x-Firmware | c00c708c327a9de4d5bd8652e1087599a4b39177 | [
"MIT"
] | null | null | null | HF5R0x_0.1.0/src/hexabitz/BOS.h | HexabitzPlatform/HF5R0x-Firmware | c00c708c327a9de4d5bd8652e1087599a4b39177 | [
"MIT"
] | null | null | null | /*
BitzOS (BOS) V0.2.3 - Copyright (C) 2017-2020 Hexabitz
All rights reserved
File Name : BOS.h
Description : Header file for Bitz Operating System (BOS).
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef BOS_H
#define BOS_H
/* Includes -------------... | 23.905882 | 91 | 0.632874 |
d25f2a9efe2abb4f83d46090cafee77904bf3482 | 3,929 | php | PHP | application/views/admin/ekskul.php | yayanrw/siekskul | b551ee37d9fed19ebd19712ae1fb1cc2e3b8fe5d | [
"MIT"
] | null | null | null | application/views/admin/ekskul.php | yayanrw/siekskul | b551ee37d9fed19ebd19712ae1fb1cc2e3b8fe5d | [
"MIT"
] | null | null | null | application/views/admin/ekskul.php | yayanrw/siekskul | b551ee37d9fed19ebd19712ae1fb1cc2e3b8fe5d | [
"MIT"
] | null | null | null | <html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $title_page; ?></title>
<!-- CSS -->
<?php $this->load->view('assets/css'); ?>
<?php $this->load->view('assets/css_datatable'); ?>
<!-- End CSS -->
</head>
<body>
<!-- Navbar -->
... | 37.778846 | 163 | 0.372105 |
0c2bfd8d747cac76672a232be6a7f55d685fb374 | 150 | sql | SQL | sql/create_books_db.sql | vvydier/ClaimAcademy | a4666bb4498d741e03f64bc7cda0f508b26c2d37 | [
"MIT"
] | null | null | null | sql/create_books_db.sql | vvydier/ClaimAcademy | a4666bb4498d741e03f64bc7cda0f508b26c2d37 | [
"MIT"
] | null | null | null | sql/create_books_db.sql | vvydier/ClaimAcademy | a4666bb4498d741e03f64bc7cda0f508b26c2d37 | [
"MIT"
] | 1 | 2016-03-08T23:16:44.000Z | 2016-03-08T23:16:44.000Z | mysql -uusername -h 127.0.0.1 -ppassword
mysql>DROP DATABASE `books`;
mysql>create database books;
mysql>use books;
mysql>show tables;
| 13.636364 | 41 | 0.693333 |
fbb071842d5c8de5270f03ccb024a1d3d4bda4e8 | 722 | java | Java | gmall-scheduled/src/main/java/com/atguigu/gmall/scheduled/juc/ScheduleDemo.java | zhifei-BF/guli-0211 | 61fd91de7571a06d80624ff9d492d142287a14c1 | [
"Apache-2.0"
] | null | null | null | gmall-scheduled/src/main/java/com/atguigu/gmall/scheduled/juc/ScheduleDemo.java | zhifei-BF/guli-0211 | 61fd91de7571a06d80624ff9d492d142287a14c1 | [
"Apache-2.0"
] | 3 | 2021-03-19T20:25:01.000Z | 2021-09-20T21:00:52.000Z | gmall-scheduled/src/main/java/com/atguigu/gmall/scheduled/juc/ScheduleDemo.java | zhifei-BF/gmall-0211 | 61fd91de7571a06d80624ff9d492d142287a14c1 | [
"Apache-2.0"
] | null | null | null | package com.atguigu.gmall.scheduled.juc;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
public class ScheduleDemo {
public static void main(String[] args) {
ScheduledExecutorService executorService = Executors.newScheduled... | 38 | 87 | 0.695291 |
82ccc0411bf9edc4459846d7f48d7a9fd6e42dda | 9,526 | kt | Kotlin | src/test/kotlin/br/com/zupedu/pix/endpoints/RetrievePixServiceGrpcEndpointTest.kt | olucasokarin/orange-talents-05-template-pix-keymanager-grpc | 7832099ab206788de2c5ed04a69d1952e4c9201d | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/br/com/zupedu/pix/endpoints/RetrievePixServiceGrpcEndpointTest.kt | olucasokarin/orange-talents-05-template-pix-keymanager-grpc | 7832099ab206788de2c5ed04a69d1952e4c9201d | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/br/com/zupedu/pix/endpoints/RetrievePixServiceGrpcEndpointTest.kt | olucasokarin/orange-talents-05-template-pix-keymanager-grpc | 7832099ab206788de2c5ed04a69d1952e4c9201d | [
"Apache-2.0"
] | null | null | null | package br.com.zupedu.pix.endpoints
import br.com.zupedu.grpc.RetrievePixRequest
import br.com.zupedu.grpc.RetrievePixServiceGrpc
import br.com.zupedu.pix.externalConnections.bcb.ClientBcb
import br.com.zupedu.pix.externalConnections.bcb.requests.*
import br.com.zupedu.pix.model.Institution
import br.com.zupedu.pix.mo... | 32.848276 | 103 | 0.618623 |
dde172061cdf5f72188cef6f4fe3787ad3278413 | 3,107 | php | PHP | ext_localconf.php | juergenfurrer/newt-typo3-ext | be40339f72f2b0ff565bbe08871e6cceb981b5f4 | [
"MIT"
] | null | null | null | ext_localconf.php | juergenfurrer/newt-typo3-ext | be40339f72f2b0ff565bbe08871e6cceb981b5f4 | [
"MIT"
] | 1 | 2022-03-08T07:53:56.000Z | 2022-03-10T06:45:01.000Z | ext_localconf.php | juergenfurrer/newt-typo3-ext | be40339f72f2b0ff565bbe08871e6cceb981b5f4 | [
"MIT"
] | 1 | 2022-03-08T07:08:35.000Z | 2022-03-08T07:08:35.000Z | <?php
defined('TYPO3') || die();
call_user_func(
function ($extKey) {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Newt',
'Api',
[\Infonique\Newt\Controller\ApiController::class => 'endpoints, create, read, update, delete, list'],
[\Infoniqu... | 45.028986 | 135 | 0.573865 |
9164fe459b2e1cfa773f25be1f26fc0060a12b63 | 14,511 | html | HTML | docs/man/master/man1/localedef.1.html | Z5T1/fidelix.github.io | 24b1cbe95a72d0de5cebfa21e314bed28675a48d | [
"MIT"
] | null | null | null | docs/man/master/man1/localedef.1.html | Z5T1/fidelix.github.io | 24b1cbe95a72d0de5cebfa21e314bed28675a48d | [
"MIT"
] | null | null | null | docs/man/master/man1/localedef.1.html | Z5T1/fidelix.github.io | 24b1cbe95a72d0de5cebfa21e314bed28675a48d | [
"MIT"
] | null | null | null |
<!DOCTYPE HTML>
<head>
<title>/usr/share/man/man1/localedef.1</title> <link rel='stylesheet' href='/mandoc.css' />
<link rel='stylesheet' href='/style.css' />
</head>
<body>
<div class=contents>
<div class=header>
<h1>The Fidelix Linux Distribution</h1>
<h2>Simple, Stable, and Secure</h2>
</div>
<div class=men... | 42.80531 | 124 | 0.671353 |
e7223dc92cb3677e9be29ea506e0e6e936cdac61 | 761 | js | JavaScript | src/yank.js | nathanedwards/yankee-doodle | 3ea7c1c31a534a588e0f223cb9c4d8d8ef80e219 | [
"MIT"
] | null | null | null | src/yank.js | nathanedwards/yankee-doodle | 3ea7c1c31a534a588e0f223cb9c4d8d8ef80e219 | [
"MIT"
] | null | null | null | src/yank.js | nathanedwards/yankee-doodle | 3ea7c1c31a534a588e0f223cb9c4d8d8ef80e219 | [
"MIT"
] | null | null | null | const walk = require('./walk')
const isObject = require('./isObject')
function yank (object, ...args) {
if (!args.length) return object
const schemaList = args.flat()
const yanked = {}
if (!schemaList.every(arg => typeof arg === 'string')) throw 'All arguments must be strings'
for (const schema of schemaL... | 24.548387 | 94 | 0.593955 |
963e7a50e649afcf307ba965bd9836cce33edb9f | 370 | php | PHP | app/Models/Audio.php | EmadMohDev/quran | e18ad1f15801789fed5658441e45986a57a6b465 | [
"MIT"
] | null | null | null | app/Models/Audio.php | EmadMohDev/quran | e18ad1f15801789fed5658441e45986a57a6b465 | [
"MIT"
] | null | null | null | app/Models/Audio.php | EmadMohDev/quran | e18ad1f15801789fed5658441e45986a57a6b465 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Audio extends Model
{
use HasFactory;
protected $table = 'audios';
protected $fillable = ['src', 'quality', 'default_audio', 'ayah_id'];
public function ayah()
{
... | 18.5 | 73 | 0.678378 |
04cf38a30057339ad1290b6e2043c569b0faa868 | 3,537 | java | Java | sdks/java/core/src/test/java/org/apache/beam/sdk/io/SerializableAvroCodecFactoryTest.java | charithe/beam | f085cb500730cf0c67c467ac55f92b3c59f52b39 | [
"Apache-2.0"
] | 5,279 | 2016-12-29T04:00:44.000Z | 2022-03-31T22:56:45.000Z | sdks/java/core/src/test/java/org/apache/beam/sdk/io/SerializableAvroCodecFactoryTest.java | charithe/beam | f085cb500730cf0c67c467ac55f92b3c59f52b39 | [
"Apache-2.0"
] | 14,149 | 2016-12-28T00:43:50.000Z | 2022-03-31T23:50:22.000Z | sdks/java/core/src/test/java/org/apache/beam/sdk/io/SerializableAvroCodecFactoryTest.java | charithe/beam | f085cb500730cf0c67c467ac55f92b3c59f52b39 | [
"Apache-2.0"
] | 3,763 | 2016-12-29T04:06:10.000Z | 2022-03-31T22:25:49.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 37.62766 | 98 | 0.757987 |
bdbe1ab8409509af1c822347e5bbf65ebd5688d8 | 54,176 | rs | Rust | src/typechecker/typecheck.rs | GeorgeKT/nomad-lang | 5539cccbbfa7ef50172a51da78b0e7db053ddcc4 | [
"MIT"
] | null | null | null | src/typechecker/typecheck.rs | GeorgeKT/nomad-lang | 5539cccbbfa7ef50172a51da78b0e7db053ddcc4 | [
"MIT"
] | null | null | null | src/typechecker/typecheck.rs | GeorgeKT/nomad-lang | 5539cccbbfa7ef50172a51da78b0e7db053ddcc4 | [
"MIT"
] | null | null | null | use std::ops::Deref;
use ast::*;
use compileerror::{CompileResult, CompileError, type_error, unknown_type_result, unknown_name, type_error_result};
use super::typecheckercontext::{TypeCheckerContext, ImportSymbolResolver};
use super::instantiategenerics::instantiate_generics;
use super::typeresolver::{resolve_type, res... | 38.368272 | 164 | 0.57232 |
17469dbb7418539b8c23faa5008a1aa889a25409 | 176 | swift | Swift | DouYuZB/Classes/Home/Model/RZZGameModel.swift | rzz09517001/dYZB | 11dc4fd06e75e67fbecb0d814aa737256f231c98 | [
"MIT"
] | null | null | null | DouYuZB/Classes/Home/Model/RZZGameModel.swift | rzz09517001/dYZB | 11dc4fd06e75e67fbecb0d814aa737256f231c98 | [
"MIT"
] | null | null | null | DouYuZB/Classes/Home/Model/RZZGameModel.swift | rzz09517001/dYZB | 11dc4fd06e75e67fbecb0d814aa737256f231c98 | [
"MIT"
] | null | null | null | //
// RZZGameModel.swift
// DouYuZB
//
// Created by 任志忠 on 2019/1/6.
// Copyright © 2019 rzz. All rights reserved.
//
import UIKit
class RZZGameModel: RZZBaseModel {
}
| 12.571429 | 46 | 0.664773 |
76c896ca19c55938155ee64f32f45a9afaf05ab7 | 356 | h | C | Chapitre 8 - Avec Assimp/PetitMoteur3D/ITargetComponentInterface.h | KeikakuB/grand-turtle-racing | b9a19ac1d9056ff582a63e2a5e4782b6fdc4d53b | [
"Apache-2.0"
] | null | null | null | Chapitre 8 - Avec Assimp/PetitMoteur3D/ITargetComponentInterface.h | KeikakuB/grand-turtle-racing | b9a19ac1d9056ff582a63e2a5e4782b6fdc4d53b | [
"Apache-2.0"
] | null | null | null | Chapitre 8 - Avec Assimp/PetitMoteur3D/ITargetComponentInterface.h | KeikakuB/grand-turtle-racing | b9a19ac1d9056ff582a63e2a5e4782b6fdc4d53b | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Meta.h"
#include "GameObject.h"
namespace PM3D
{
class ITargetComponentInterface
{
public:
virtual GameObject* GetTarget() = 0;
virtual void SetTarget(GameObject::id_type t) = 0;
virtual ~ITargetComponentInterface() = default;
};
namespace meta
{
REGISTER_INTERFACE_H_... | 19.777778 | 55 | 0.716292 |
700f713560a9905295e45a0c01acd9601a19db93 | 585 | swift | Swift | IDFAViewer/ViewController.swift | sapphiredev/IDFAViewer | 555819a9f4d3b620d1c576b510aba8a9313d7d62 | [
"MIT"
] | null | null | null | IDFAViewer/ViewController.swift | sapphiredev/IDFAViewer | 555819a9f4d3b620d1c576b510aba8a9313d7d62 | [
"MIT"
] | null | null | null | IDFAViewer/ViewController.swift | sapphiredev/IDFAViewer | 555819a9f4d3b620d1c576b510aba8a9313d7d62 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// IDFAViewer
//
// Created by DongShin Lee on 23/05/2019.
// Copyright © 2019 sapphire. All rights reserved.
//
import UIKit
import AdSupport
class ViewController: UIViewController {
@IBOutlet weak var enabledLabel: UILabel!
@IBOutlet weak var idfaText: UITextField!
o... | 23.4 | 84 | 0.680342 |
6d99c249d861e4398e1ebb4295f22890b2eb75cf | 4,508 | sql | SQL | discovery-server/src/test/resources/sql/test_sales_datasource.sql | mondeique/metatron-discovery | b3a345d6bbfee062bb1530d276305b9a3b60d418 | [
"Apache-2.0"
] | 3,702 | 2018-07-27T07:55:44.000Z | 2022-03-16T09:20:26.000Z | discovery-server/src/test/resources/sql/test_sales_datasource.sql | ucrystal/metatron-discovery | 5864eab9783f993394ef1747f428e95aa9c8abf0 | [
"Apache-2.0"
] | 3,780 | 2018-08-12T06:11:41.000Z | 2022-03-31T03:02:33.000Z | discovery-server/src/test/resources/sql/test_sales_datasource.sql | ucrystal/metatron-discovery | 5864eab9783f993394ef1747f428e95aa9c8abf0 | [
"Apache-2.0"
] | 306 | 2018-08-10T08:00:08.000Z | 2022-03-17T01:39:40.000Z | INSERT INTO datasource(id, ds_name, ds_alias, ds_owner_id, ds_desc, ds_filter_at_select, ds_type, ds_conn_type, ds_granularity, ds_status, ds_published, version, created_time, created_by, modified_time, modified_by) values
('ds-sales-for-test', 'sale_02', 'sales', 'polaris', 'sales data (2011~2014)', true, 'MASTER', 'E... | 140.875 | 222 | 0.718722 |
3a8fffe0c0787d39bfd762aabef6ecae0711be97 | 795 | dart | Dart | lib/convert.dart | TimWhiting/commons | cc9012d9246ab1c9c965425b05753ded43c6d74c | [
"Apache-2.0"
] | null | null | null | lib/convert.dart | TimWhiting/commons | cc9012d9246ab1c9c965425b05753ded43c6d74c | [
"Apache-2.0"
] | null | null | null | lib/convert.dart | TimWhiting/commons | cc9012d9246ab1c9c965425b05753ded43c6d74c | [
"Apache-2.0"
] | null | null | null | //Copyright (C) 2013 Potix Corporation. All Rights Reserved.
//History: Mon, Mar 18, 2013 11:01:44 AM
// Author: tomyeh
library rikulo_convert;
import "dart:async" show Future, Stream;
import "dart:convert";
/** Reads the entire stream as a string using the given [Encoding].
*/
Future<String> readAsString(Stream<Li... | 29.444444 | 72 | 0.700629 |
455e95cdb859e8b3b043e306457c6d0bbad79af7 | 4,099 | ps1 | PowerShell | LZReview/scripts/start.ps1 | Azure/fta-landingzone | 2a02ab77eb14a18f92c56136b347d1d394d1076d | [
"MIT"
] | 9 | 2021-02-19T01:27:30.000Z | 2021-06-17T19:17:03.000Z | LZReview/scripts/start.ps1 | Azure/fta-landingzone | 2a02ab77eb14a18f92c56136b347d1d394d1076d | [
"MIT"
] | null | null | null | LZReview/scripts/start.ps1 | Azure/fta-landingzone | 2a02ab77eb14a18f92c56136b347d1d394d1076d | [
"MIT"
] | 7 | 2021-02-17T22:31:26.000Z | 2021-12-15T08:20:19.000Z | # Adapted from https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-data-collector-api
# gist used - https://gist.githubusercontent.com/taddison/d49bd8c6f7fc1d45aa8e7b0906c180ae/raw/a42445b25af483774a01af102dee763889141794/postToLogAnalytics.ps1
##### SCRIPT VARIABLES #####
##### Update as needed #####
... | 31.775194 | 168 | 0.688705 |
c54dfb90033f1dca2fa25001276df42a7d81a4ce | 511 | asm | Assembly | programs/oeis/025/A025710.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/025/A025710.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/025/A025710.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A025710: Index of 5^n within sequence of numbers of form 5^i*9^j.
; 1,2,4,7,10,14,19,25,31,38,46,55,64,74,85,96,108,121,135,149,164,180,197,214,232,251,271,291,312,334,356,379,403,428,453,479,506,534,562,591,621,652,683,715,748,781,815,850,886,922,959,997,1036,1075,1115,1156,1198
mov $2,$0
add $2,1
mov $6,$0
lpb $2
... | 20.44 | 214 | 0.598826 |
d247f8babffd8d5820167e4e500d3689de0cd527 | 2,032 | php | PHP | resources/views/portofolio/pengalaman/update.blade.php | ivan17051/SI_MonitoringProyek_Laravel | 84293fbe2edfbe3fe3f8f060891744ef6f8a75dc | [
"MIT"
] | null | null | null | resources/views/portofolio/pengalaman/update.blade.php | ivan17051/SI_MonitoringProyek_Laravel | 84293fbe2edfbe3fe3f8f060891744ef6f8a75dc | [
"MIT"
] | 2 | 2021-10-06T19:17:53.000Z | 2022-02-27T07:25:15.000Z | resources/views/portofolio/pengalaman/update.blade.php | ivan17051/SI_MonitoringProyek_Laravel | 84293fbe2edfbe3fe3f8f060891744ef6f8a75dc | [
"MIT"
] | null | null | null | @extends('layouts.header_footer_admin')
@section('content2')
<div class="container border rounded" style="margin-top:15vh; margin-bottom:15vh; box-shadow:0 .15rem 1.75rem 0 rgba(58,59,69,.15) !important;">
<div class="row" style="border-top:solid 5px #f39c12; border-bottom:solid 1px #bdbdbd;">
... | 53.473684 | 148 | 0.548228 |
40f5eef3fb689ce7fddfdcdf5143473a1bea5faa | 404 | py | Python | src/experiments/visualization/bipartite_graph.py | 1997alireza/Movie-Casting-Problems | df555e57401ec1b120d8e9d3c2d51b1d3a070f21 | [
"MIT"
] | 3 | 2021-04-20T06:02:34.000Z | 2021-04-24T04:16:45.000Z | src/experiments/visualization/bipartite_graph.py | 1997alireza/Movie-Casting-Problems | df555e57401ec1b120d8e9d3c2d51b1d3a070f21 | [
"MIT"
] | null | null | null | src/experiments/visualization/bipartite_graph.py | 1997alireza/Movie-Casting-Problems | df555e57401ec1b120d8e9d3c2d51b1d3a070f21 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import networkx as nx
def draw_bipartite_graph(graph, first_node_set):
pos = nx.bipartite_layout(graph, first_node_set)
# get adjacency matrix
A = nx.adjacency_matrix(graph)
A = A.toarray()
# plot adjacency matrix
plt.imshow(A, cmap='Greys')
plt.show()
#... | 25.25 | 52 | 0.69802 |
9e611272680d888f67ae32f2aa1e84d03c205e19 | 4,038 | swift | Swift | testingSnapchatCamera/ViewController.swift | Rudko/Tippy | 82ca9151931b86f7ca424e49653dbbdb57cb0dce | [
"Apache-2.0"
] | null | null | null | testingSnapchatCamera/ViewController.swift | Rudko/Tippy | 82ca9151931b86f7ca424e49653dbbdb57cb0dce | [
"Apache-2.0"
] | null | null | null | testingSnapchatCamera/ViewController.swift | Rudko/Tippy | 82ca9151931b86f7ca424e49653dbbdb57cb0dce | [
"Apache-2.0"
] | null | null | null | //
// ViewController.swift
// testingSnapchatCamera
//
// Created by Grigory Rudko on 9/5/16.
// Copyright © 2016 Grigory Rudko. All rights reserved.
//
import UIKit
import AVFoundation
//import Foundation
class ViewController: UIViewController, UIImagePickerControllerDelegate, UINavigationControllerDelegate, U... | 23.614035 | 127 | 0.598068 |
ea5deea1526ab236f6ab5306b37a92de2767734f | 388 | sql | SQL | apgdiff.tests/src/main/resources/cz/startnet/utils/pgdiff/modify_inherits_drop_oldparent_diff.sql | cb-deepak/pgcodekeeper | 71611194f163d37b456a6f377d97111f1cb23d65 | [
"Apache-2.0"
] | 96 | 2017-12-12T09:35:34.000Z | 2022-03-29T16:56:02.000Z | apgdiff.tests/src/main/resources/cz/startnet/utils/pgdiff/modify_inherits_drop_oldparent_diff.sql | cb-deepak/pgcodekeeper | 71611194f163d37b456a6f377d97111f1cb23d65 | [
"Apache-2.0"
] | 81 | 2017-12-13T08:03:47.000Z | 2022-03-16T08:57:23.000Z | apgdiff.tests/src/main/resources/cz/startnet/utils/pgdiff/modify_inherits_drop_oldparent_diff.sql | cb-deepak/pgcodekeeper | 71611194f163d37b456a6f377d97111f1cb23d65 | [
"Apache-2.0"
] | 16 | 2018-04-23T12:11:22.000Z | 2022-01-12T08:03:11.000Z | SET search_path = pg_catalog;
ALTER TABLE public.parenttable
DROP COLUMN id;
CREATE TABLE public.parenttable2 (
id bigserial NOT NULL
);
ALTER TABLE public.parenttable2 OWNER TO fordfrog;
ALTER TABLE public.testtable
NO INHERIT parenttable;
ALTER TABLE public.testtable
INHERIT parenttable2;
ALTER TABLE public... | 19.4 | 54 | 0.81701 |
0b479dbf807c903d09638149ff0de16acee169e3 | 5,827 | py | Python | apis/python_interface_helpers/stk_env.py | davetrollope-fsml/sequence_toolkit | 49495f679aad1d7c134cf8a189cca1e8acc9f4bd | [
"MIT"
] | null | null | null | apis/python_interface_helpers/stk_env.py | davetrollope-fsml/sequence_toolkit | 49495f679aad1d7c134cf8a189cca1e8acc9f4bd | [
"MIT"
] | null | null | null | apis/python_interface_helpers/stk_env.py | davetrollope-fsml/sequence_toolkit | 49495f679aad1d7c134cf8a189cca1e8acc9f4bd | [
"MIT"
] | null | null | null | from stk_sequence import *
from stk_tcp_server import *
from stk_tcp_client import *
from stk_data_flow import *
from stk_options import stk_clear_cb
import time
class stk_callback:
def __init__(self):
self._caller = None
self._mapobj = None
pass
def add_callback_ref(self,caller):
self._caller = caller
def ... | 34.276471 | 104 | 0.763686 |
ddcacb3ccecb7f7d143ac114138a3abca9d9c011 | 11,584 | php | PHP | app/Http/Controllers/HomeController.php | madhusanka2016/medonline | 1582f44810dc32c4ef859336d3b4c309f877cfdf | [
"MIT"
] | null | null | null | app/Http/Controllers/HomeController.php | madhusanka2016/medonline | 1582f44810dc32c4ef859336d3b4c309f877cfdf | [
"MIT"
] | null | null | null | app/Http/Controllers/HomeController.php | madhusanka2016/medonline | 1582f44810dc32c4ef859336d3b4c309f877cfdf | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use PDF;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
... | 31.0563 | 247 | 0.506302 |
9bad46838351277ca9576f7f21213230f07e5de4 | 378 | js | JavaScript | models/product.model.js | voidzer0-development/Blueprint | f2573b64ed0ff444a618f15455105108905eafe4 | [
"MIT"
] | 1 | 2021-10-10T21:53:30.000Z | 2021-10-10T21:53:30.000Z | models/product.model.js | voidzero-development/Blueprint | f2573b64ed0ff444a618f15455105108905eafe4 | [
"MIT"
] | null | null | null | models/product.model.js | voidzero-development/Blueprint | f2573b64ed0ff444a618f15455105108905eafe4 | [
"MIT"
] | 1 | 2021-12-19T05:50:40.000Z | 2021-12-19T05:50:40.000Z | const mongoose = require('mongoose');
const Schema = mongoose.Schema;
//create schema
const productSchema = new Schema ({
name: {
type: String,
required: true
},
weightInGrams: {
type: Number,
default: 0
},
inStock: {
type: Boolean
},
}
);
//cast schema into model
modul... | 18 | 63 | 0.626984 |
b86bd9eaab335981f3f25f52772edc3b0b455916 | 323 | asm | Assembly | programs/oeis/323/A323229.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/323/A323229.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/323/A323229.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A323229: a(n) = binomial(2*n, n+1) + 1.
; 1,2,5,16,57,211,793,3004,11441,43759,167961,646647,2496145,9657701,37442161,145422676,565722721,2203961431,8597496601,33578000611,131282408401,513791607421,2012616400081,7890371113951,30957699535777,121548660036301,477551179875953
mov $1,$0
mul $0,2
sub $1,1
bin $0,$1
add $0... | 35.888889 | 232 | 0.77709 |
f84ae37fb4bc1220a81e2c3037c00babd9b4435e | 6,694 | lua | Lua | transportation.lua | zerebubuth/ClearTables | 2ad941d226cfb441aebaa7a40514dd469f51d77a | [
"MIT"
] | 25 | 2016-07-08T05:44:54.000Z | 2019-10-11T21:14:05.000Z | transportation.lua | zerebubuth/ClearTables | 2ad941d226cfb441aebaa7a40514dd469f51d77a | [
"MIT"
] | 62 | 2016-07-08T08:05:41.000Z | 2018-04-14T11:12:04.000Z | transportation.lua | zerebubuth/ClearTables | 2ad941d226cfb441aebaa7a40514dd469f51d77a | [
"MIT"
] | 7 | 2016-09-28T15:19:47.000Z | 2019-10-11T11:14:27.000Z | --[[
This file is part of ClearTables
@author Paul Norman <penorman@mac.com>
@copyright 2015-2016 Paul Norman, MIT license
]]--
--[[
Code for the transportation layers. These are some of the most complex. There's a few principles
- Separate tables are needed for roads and rail
- A way might appear in both if it's ... | 35.417989 | 137 | 0.628921 |
ebbf711859d2955233a614dfec5910a91c0ce1c0 | 11,079 | dart | Dart | rm_graphql_client/lib/src/graphql/operations.data.gql.dart | Omar8345/recipe-management-app | f7a2d6c3384b65a46b653a4333a3a4a78280cfe3 | [
"MIT"
] | null | null | null | rm_graphql_client/lib/src/graphql/operations.data.gql.dart | Omar8345/recipe-management-app | f7a2d6c3384b65a46b653a4333a3a4a78280cfe3 | [
"MIT"
] | null | null | null | rm_graphql_client/lib/src/graphql/operations.data.gql.dart | Omar8345/recipe-management-app | f7a2d6c3384b65a46b653a4333a3a4a78280cfe3 | [
"MIT"
] | null | null | null | // GENERATED CODE - DO NOT MODIFY BY HAND
import 'package:built_collection/built_collection.dart';
import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';
import 'package:rm_graphql_client/src/graphql/serializers.gql.dart' as _i1;
part 'operations.data.gql.g.dart';
abstract class... | 40.434307 | 80 | 0.784096 |
40087ff6975d48cfe5a328743753504358b14a3e | 5,176 | py | Python | widgets/Config.py | channolanp/QtScript | 7c7f39b7018194b92c1b191bf0ccff3212d3ee53 | [
"MIT"
] | null | null | null | widgets/Config.py | channolanp/QtScript | 7c7f39b7018194b92c1b191bf0ccff3212d3ee53 | [
"MIT"
] | null | null | null | widgets/Config.py | channolanp/QtScript | 7c7f39b7018194b92c1b191bf0ccff3212d3ee53 | [
"MIT"
] | null | null | null | from PyQt5.QtWidgets import *
from PyQt5.QtCore import Qt
import json
class QConfigWidget(QWidget):
"""A widget that allows adding of QtWidgets into a QFormLayout where the
left column will always be a label matching the name supplied when adding
widgets to the right column. The values of all the QtWidgets... | 34.972973 | 95 | 0.62442 |
b2ca95eb1885e978f15d93cd274fcde44708c42a | 3,779 | swift | Swift | BMOT_T/Controllers/Juegos/SituacionesViewController.swift | RekonxCarloz/Mobile-App-For-Emotion-Managment-In-Elementary-School-Children | c0286dd0d3970c07a8037c6c0b0c88c7c002e394 | [
"MIT"
] | null | null | null | BMOT_T/Controllers/Juegos/SituacionesViewController.swift | RekonxCarloz/Mobile-App-For-Emotion-Managment-In-Elementary-School-Children | c0286dd0d3970c07a8037c6c0b0c88c7c002e394 | [
"MIT"
] | null | null | null | BMOT_T/Controllers/Juegos/SituacionesViewController.swift | RekonxCarloz/Mobile-App-For-Emotion-Managment-In-Elementary-School-Children | c0286dd0d3970c07a8037c6c0b0c88c7c002e394 | [
"MIT"
] | null | null | null | //
// SituacionesViewController.swift
// BMOT_T
//
// Created by Jonathan Garcica on 05/12/21.
//
import AVKit
import AVFoundation
import Firebase
import UIKit
class SituacionesViewController: UIViewController {
var nombrePerfil:String?
var situacion: Int = 1
var player_item = AVPlayer()
var p... | 34.045045 | 128 | 0.629267 |
2659cc8011690e6cfcab07e87b941fcff60c3e8b | 798 | java | Java | designpatterncomponent/src/main/java/com/bilibili/designpatterncomponent/strategy/Test.java | Chihiro23333/ChidoriX | 7e57171085f4230611cd51db594d3fc619a02603 | [
"Apache-2.0"
] | 2 | 2018-08-31T09:59:20.000Z | 2019-05-29T07:43:31.000Z | designpatterncomponent/src/main/java/com/bilibili/designpatterncomponent/strategy/Test.java | Chihiro23333/ChidoriX | 7e57171085f4230611cd51db594d3fc619a02603 | [
"Apache-2.0"
] | null | null | null | designpatterncomponent/src/main/java/com/bilibili/designpatterncomponent/strategy/Test.java | Chihiro23333/ChidoriX | 7e57171085f4230611cd51db594d3fc619a02603 | [
"Apache-2.0"
] | null | null | null | package com.bilibili.designpatterncomponent.strategy;
public class Test {
/**
* Strategy Pattern
* 策略模式
*
* 定义了算法族,分别封装起来,让他们之间ke可以相互替换,
* 此模式让算法独立于算法的客户
* * @param args
*/
public static void main(String[] args){
Duck redHeadDuck = new RedHeadDuck();
Duck noLi... | 23.470588 | 55 | 0.602757 |
2a235dcd4a7941ea85783bb66e5b2bd7f0966999 | 107 | java | Java | src/org/nasa/posicion/IPosicion.java | felipecardozo/marsexplorer | c399bd0f38b7b726d4a68ae6af6c95ad635b1158 | [
"Apache-2.0"
] | null | null | null | src/org/nasa/posicion/IPosicion.java | felipecardozo/marsexplorer | c399bd0f38b7b726d4a68ae6af6c95ad635b1158 | [
"Apache-2.0"
] | null | null | null | src/org/nasa/posicion/IPosicion.java | felipecardozo/marsexplorer | c399bd0f38b7b726d4a68ae6af6c95ad635b1158 | [
"Apache-2.0"
] | null | null | null | package org.nasa.posicion;
/**
* @author fcardozo
* @version 1.0
*
*/
public interface IPosicion {
}
| 9.727273 | 28 | 0.64486 |
dde21437f5bdd25d44beb1d355bdf89e00710281 | 994 | php | PHP | app/Models/Blog.php | ayao1917/lazy-back | a1a46347ec3c96d8700097f18b14315c2e09a1c5 | [
"MIT"
] | null | null | null | app/Models/Blog.php | ayao1917/lazy-back | a1a46347ec3c96d8700097f18b14315c2e09a1c5 | [
"MIT"
] | null | null | null | app/Models/Blog.php | ayao1917/lazy-back | a1a46347ec3c96d8700097f18b14315c2e09a1c5 | [
"MIT"
] | null | null | null | <?php
/**
* Created by Reliese Model.
* Date: Thu, 01 Nov 2018 09:47:17 +0000.
*/
namespace lazyworker\Models;
use Reliese\Database\Eloquent\Model as Eloquent;
/**
* Class Blog
*
* @property int $id
* @property int $product_id
* @property string $title
* @property string $content
* @property string $auth... | 17.137931 | 74 | 0.672032 |
0484113a25e0228df319daba9fcc896f2aa1403b | 841 | java | Java | src/main/java/com/ziggeo/ZiggeoWebhooks.java | Ziggeo/ZiggeoJavaSdk | 3deb8caf66ba1796356512825c06181918051047 | [
"Apache-2.0"
] | 1 | 2021-06-07T08:40:31.000Z | 2021-06-07T08:40:31.000Z | src/main/java/com/ziggeo/ZiggeoWebhooks.java | Ziggeo/ZiggeoJavaSdk | 3deb8caf66ba1796356512825c06181918051047 | [
"Apache-2.0"
] | 2 | 2015-06-26T13:30:53.000Z | 2019-04-22T12:27:11.000Z | src/main/java/com/ziggeo/ZiggeoWebhooks.java | Ziggeo/ZiggeoJavaSdk | 3deb8caf66ba1796356512825c06181918051047 | [
"Apache-2.0"
] | 6 | 2015-06-26T12:42:56.000Z | 2019-04-22T08:14:07.000Z | package com.ziggeo;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
public class ZiggeoWebhooks {
private Ziggeo application;
public ZiggeoWebhooks(Ziggeo application) {
this.applicatio... | 26.28125 | 83 | 0.726516 |
f77f1d4055822a66cb9f7d2b1c9b712869829cf8 | 1,241 | c | C | hist.c | dfjdejulio/misc | 4d5f24cfd520dd2e2ec154e312d7996a3df96a97 | [
"MIT"
] | 1 | 2017-06-24T21:22:42.000Z | 2017-06-24T21:22:42.000Z | hist.c | dfjdejulio/misc | 4d5f24cfd520dd2e2ec154e312d7996a3df96a97 | [
"MIT"
] | null | null | null | hist.c | dfjdejulio/misc | 4d5f24cfd520dd2e2ec154e312d7996a3df96a97 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <strings.h>
int
main(int argc,
char *argv[])
{
int counts[256];
int i, c;
char *name;
bzero(counts, sizeof(int) * 256);
switch (argc) {
case 2:
if (!freopen(argv[1], "r", stdin)) {
fprintf(stderr, "%s: can't open %s for reading.\n",
ar... | 15.5125 | 57 | 0.500403 |
04dbef5ae9099c4f00570ee7e2dc7006063169fb | 1,572 | java | Java | dataverse-persistence/src/main/java/edu/harvard/iq/dataverse/persistence/group/AllUsers.java | CeON/dataverse | 6e657572cf000532a8660f57e5484817f0d016c4 | [
"Apache-2.0"
] | 7 | 2019-12-13T22:30:06.000Z | 2021-12-28T20:38:48.000Z | dataverse-persistence/src/main/java/edu/harvard/iq/dataverse/persistence/group/AllUsers.java | CeON/dataverse | 6e657572cf000532a8660f57e5484817f0d016c4 | [
"Apache-2.0"
] | 1,294 | 2019-01-08T18:55:57.000Z | 2022-03-31T09:47:19.000Z | dataverse-persistence/src/main/java/edu/harvard/iq/dataverse/persistence/group/AllUsers.java | CeON/dataverse | 6e657572cf000532a8660f57e5484817f0d016c4 | [
"Apache-2.0"
] | 5 | 2020-02-22T14:30:40.000Z | 2020-02-27T18:07:02.000Z | package edu.harvard.iq.dataverse.persistence.group;
import edu.harvard.iq.dataverse.common.BundleUtil;
import edu.harvard.iq.dataverse.persistence.user.RoleAssigneeDisplayInfo;
/**
* A group containing all the users in the system - including the guest user.
* So, basically, everyone.
*
* <b>NOTE</b> this group is... | 22.782609 | 104 | 0.655852 |
2f7057ec3f644d6ea4636835e8c7c1691c6fafac | 9,383 | php | PHP | src/Controller/MenuController.php | twin-elements/menu-bundle | e906d4d9ed9cc1cbfcc9f86c3724eb8c4f2d535d | [
"MIT"
] | null | null | null | src/Controller/MenuController.php | twin-elements/menu-bundle | e906d4d9ed9cc1cbfcc9f86c3724eb8c4f2d535d | [
"MIT"
] | null | null | null | src/Controller/MenuController.php | twin-elements/menu-bundle | e906d4d9ed9cc1cbfcc9f86c3724eb8c4f2d535d | [
"MIT"
] | null | null | null | <?php
namespace TwinElements\MenuBundle\Controller;
use Symfony\Component\Cache\Adapter\AdapterInterface;
use TwinElements\Component\CrudLogger\CrudLogger;
use TwinElements\Component\CrudLogger\CrudLoggerInterface;
use TwinElements\SortableBundle\Entity\PositionInterface;
use TwinElements\AdminBundle\Helper\Breadcrum... | 36.509728 | 162 | 0.600554 |
52fe166637a36d12e255b1686508e0aaf1e2c5ef | 9,771 | asm | Assembly | gxboot/vbr/entry.asm | madd-games/glidix | 1510d9c3f159bee9d4aa942e715aedc78b7f827c | [
"BSD-2-Clause"
] | 98 | 2015-08-05T22:20:19.000Z | 2022-03-11T08:49:24.000Z | gxboot/vbr/entry.asm | madd-games/glidix | 1510d9c3f159bee9d4aa942e715aedc78b7f827c | [
"BSD-2-Clause"
] | 5 | 2016-02-23T12:49:24.000Z | 2019-10-11T18:09:47.000Z | gxboot/vbr/entry.asm | madd-games/glidix | 1510d9c3f159bee9d4aa942e715aedc78b7f827c | [
"BSD-2-Clause"
] | 11 | 2015-12-02T05:01:28.000Z | 2021-06-25T16:54:18.000Z | ; Glidix bootloader (gxboot)
;
; Copyright (c) 2014-2017, Madd Games.
; 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,... | 18.646947 | 94 | 0.640876 |
7fc723c811fa785137115d43810f5fdee33dbeae | 6,226 | swift | Swift | Eskaera/Source/HTTPRequestQueue.swift | victorrodri04/eskaera | a8d399a879c3375cd2cc2c4c059630a00c1e0def | [
"MIT"
] | null | null | null | Eskaera/Source/HTTPRequestQueue.swift | victorrodri04/eskaera | a8d399a879c3375cd2cc2c4c059630a00c1e0def | [
"MIT"
] | null | null | null | Eskaera/Source/HTTPRequestQueue.swift | victorrodri04/eskaera | a8d399a879c3375cd2cc2c4c059630a00c1e0def | [
"MIT"
] | null | null | null | //
// HTTPRequestQueue.swift
// Eskaera
//
// Created by Victor on 08/06/2016.
// Copyright © 2016 Victor Rodriguez Reche. All rights reserved.
//
import Foundation
open class Request: NSObject, NSCoding {
var task: Task?
var taskDictionary: JSON?
convenience init(task: Task) {
self.... | 32.259067 | 130 | 0.578702 |
7165218ebe9900fdea08ff4aae26d066c8135ebb | 413 | ts | TypeScript | node_modules/angular2/ts/render.ts | cobaltutby/dev0 | d15471b25d4c2c135d313797ab77aa17a096665e | [
"MIT"
] | null | null | null | node_modules/angular2/ts/render.ts | cobaltutby/dev0 | d15471b25d4c2c135d313797ab77aa17a096665e | [
"MIT"
] | null | null | null | node_modules/angular2/ts/render.ts | cobaltutby/dev0 | d15471b25d4c2c135d313797ab77aa17a096665e | [
"MIT"
] | null | null | null | /**
* @module
* @description
* This module provides advanced support for extending dom strategy.
*/
export {
RenderDirectiveMetadata,
DomRenderer,
RenderEventDispatcher,
Renderer,
RenderElementRef,
RenderViewRef,
RenderProtoViewRef,
RenderFragmentRef,
RenderViewWithFragments,
ViewDefinition,
... | 18.772727 | 68 | 0.762712 |
c3441ecc5ed4c9f4e535f0c13b48d90794e2212e | 71 | go | Go | simulation/util/package.go | andrew-edgar/auction | 79c3e4eefd43c8039fa5171a58f7d51add4bbac6 | [
"Apache-2.0"
] | 16 | 2016-08-02T01:01:12.000Z | 2021-09-04T18:34:52.000Z | simulation/util/package.go | andrew-edgar/auction | 79c3e4eefd43c8039fa5171a58f7d51add4bbac6 | [
"Apache-2.0"
] | 4 | 2015-01-01T21:26:48.000Z | 2016-01-07T15:40:58.000Z | simulation/util/package.go | andrew-edgar/auction | 79c3e4eefd43c8039fa5171a58f7d51add4bbac6 | [
"Apache-2.0"
] | 10 | 2017-08-03T06:55:37.000Z | 2020-12-10T14:43:02.000Z | package util // import "code.cloudfoundry.org/auction/simulation/util"
| 35.5 | 70 | 0.802817 |
37e65ca0fa7b8859b97bc23fd9b07c760741f8fd | 1,203 | sql | SQL | HealthCheck/Scripts_2014/TablesManyIndexes.sql | jonlabelle/HealthCheck | 37bc312631a87c5c2567eb895b6bef9cf075cc0d | [
"MIT"
] | 30 | 2015-11-18T15:23:02.000Z | 2022-01-14T20:20:03.000Z | HealthCheck/Scripts_2014/TablesManyIndexes.sql | jonlabelle/HealthCheck | 37bc312631a87c5c2567eb895b6bef9cf075cc0d | [
"MIT"
] | 3 | 2015-11-30T15:31:03.000Z | 2021-09-03T09:32:03.000Z | HealthCheck/Scripts_2014/TablesManyIndexes.sql | jonlabelle/HealthCheck | 37bc312631a87c5c2567eb895b6bef9cf075cc0d | [
"MIT"
] | 20 | 2015-11-19T02:58:42.000Z | 2020-12-29T15:40:37.000Z | /********************************************************************
Filename: TablesManyIndexes.sql
Author: Omid Afzalalghom
Date: 11/09/15
Comments: Returns a list of tables with more than five indexes
and an index count greater than half the column count.
Revisions:
****... | 26.152174 | 84 | 0.60931 |
b1833680c551ca9f1b7904ba75e7dc329b89d837 | 730 | c | C | components/zigbee/utils/crc.c | panjikuai/IoT_Gateway | 44f7c386d3428d06468d29b3d42b51d20b96b20c | [
"Apache-2.0"
] | 2 | 2020-02-16T08:07:58.000Z | 2020-08-11T15:13:18.000Z | components/zigbee/utils/crc.c | panjikuai/IoT_Gateway | 44f7c386d3428d06468d29b3d42b51d20b96b20c | [
"Apache-2.0"
] | null | null | null | components/zigbee/utils/crc.c | panjikuai/IoT_Gateway | 44f7c386d3428d06468d29b3d42b51d20b96b20c | [
"Apache-2.0"
] | 1 | 2022-02-07T12:18:57.000Z | 2022-02-07T12:18:57.000Z | #include "stdint.h"
const uint8_t crctable[16] = {0,0x07,0x0E,0x09, 0x1c,0x1b,0x12,0x15, 0x38,0x3F,0x36,0x31, 0x24,0x23,0x2A,0x2D};
const uint8_t crctable2[16] = {0,0x70,0xE0,0x90, 0xC1,0xB1,0x21,0x51, 0x83,0xF3,0x63,0x13, 0x42,0x32,0xA2,0xD2};
uint8_t FastCRC(uint8_t LastCRC, uint8_t newbyte)
{
uint8_t index;
ind... | 21.470588 | 112 | 0.689041 |
3bc353b554ce0d861ed68ed4aaf10ffe65cdbca2 | 1,526 | h | C | shared/src/shared/pixelboost/maths/matrixHelpers.h | pixelballoon/pixelboost | 085873310050ce62493df61142b7d4393795bdc2 | [
"MIT"
] | 6 | 2015-04-21T11:30:52.000Z | 2020-04-29T00:10:04.000Z | shared/src/shared/pixelboost/maths/matrixHelpers.h | pixelballoon/pixelboost | 085873310050ce62493df61142b7d4393795bdc2 | [
"MIT"
] | null | null | null | shared/src/shared/pixelboost/maths/matrixHelpers.h | pixelballoon/pixelboost | 085873310050ce62493df61142b7d4393795bdc2 | [
"MIT"
] | null | null | null | #pragma once
#include "glm/gtc/matrix_transform.hpp"
#include "glm/glm.hpp"
namespace pb
{
enum RotationOrder
{
kRotationOrder_XYZ,
};
inline glm::mat4x4 CreateTranslateMatrix(glm::vec3 translate, glm::mat4x4 transform = glm::mat4x4())
{
return glm::translate(transform, translate);
}
inline glm::mat4x4 Create... | 24.612903 | 164 | 0.63827 |
8a3fed88ce6d506b8820fb6c25804b5422806a61 | 104 | ps1 | PowerShell | build.ps1 | jasonchester/PSGremlin | a7ffaf37384c3b0654dc9791926d55bb51dc9231 | [
"MIT"
] | 2 | 2018-10-31T13:50:33.000Z | 2021-09-28T15:49:07.000Z | build.ps1 | jasonchester/PSGremlin | a7ffaf37384c3b0654dc9791926d55bb51dc9231 | [
"MIT"
] | 10 | 2019-05-08T05:55:15.000Z | 2021-07-26T10:18:15.000Z | build.ps1 | jasonchester/PSGremlin | a7ffaf37384c3b0654dc9791926d55bb51dc9231 | [
"MIT"
] | 1 | 2020-08-18T11:13:30.000Z | 2020-08-18T11:13:30.000Z | #!/usr/bin/env pwsh
Push-Location $PSScriptRoot/src
dotnet publish -o ../publish/PSGremlin
Pop-Location | 20.8 | 38 | 0.778846 |
3d5978334495d5e1eea098bed468cbc20117e722 | 224 | kt | Kotlin | arrow-libs/fx/arrow-fx/src/main/kotlin/arrow/fx/typeclasses/Environment.kt | clojj/arrow | 5eae605bbaeb2b911f69a5bccf3fa45c42578416 | [
"Apache-2.0"
] | null | null | null | arrow-libs/fx/arrow-fx/src/main/kotlin/arrow/fx/typeclasses/Environment.kt | clojj/arrow | 5eae605bbaeb2b911f69a5bccf3fa45c42578416 | [
"Apache-2.0"
] | null | null | null | arrow-libs/fx/arrow-fx/src/main/kotlin/arrow/fx/typeclasses/Environment.kt | clojj/arrow | 5eae605bbaeb2b911f69a5bccf3fa45c42578416 | [
"Apache-2.0"
] | null | null | null | package arrow.fx.typeclasses
import arrow.Kind
import arrow.fx.IODeprecation
@Deprecated(IODeprecation)
interface Environment<F> {
fun dispatchers(): Dispatchers<F>
fun handleAsyncError(e: Throwable): Kind<F, Unit>
}
| 18.666667 | 51 | 0.776786 |
40f9f69f8b49ffe50c47db5e99af1b0ccbfa8349 | 660 | py | Python | tests/test_server_protocol.py | PHT-Medic/aggregation-protocol | 44c04c692bb6ba5c180e2cd3e87ea823c6361739 | [
"MIT"
] | null | null | null | tests/test_server_protocol.py | PHT-Medic/aggregation-protocol | 44c04c692bb6ba5c180e2cd3e87ea823c6361739 | [
"MIT"
] | null | null | null | tests/test_server_protocol.py | PHT-Medic/aggregation-protocol | 44c04c692bb6ba5c180e2cd3e87ea823c6361739 | [
"MIT"
] | null | null | null | from protocol import ServerProtocol
from protocol.models.client_keys import ClientKeys
from protocol.models.server_messages import BroadCastClientKeys, ServerKeyBroadcast
def test_server_protocol_broadcast_keys():
protocol = ServerProtocol()
# generate key broadcasts
broadcasts = []
for i in range(5)... | 30 | 83 | 0.725758 |
048c5dbfd991b2f9c0fd259a5e0592315ef9984c | 1,196 | java | Java | src/test/java/serpapi/LocationApiTest.java | albertcoder/google-search-results-java | 0f103416fe173ddf73aa0fe65a2bca1fdea52b02 | [
"MIT"
] | 15 | 2018-04-24T09:15:02.000Z | 2022-02-09T13:54:34.000Z | src/test/java/serpapi/LocationApiTest.java | albertcoder/google-search-results-java | 0f103416fe173ddf73aa0fe65a2bca1fdea52b02 | [
"MIT"
] | 1 | 2021-01-05T23:27:19.000Z | 2021-01-05T23:27:19.000Z | src/test/java/serpapi/LocationApiTest.java | albertcoder/google-search-results-java | 0f103416fe173ddf73aa0fe65a2bca1fdea52b02 | [
"MIT"
] | 14 | 2018-07-02T10:53:26.000Z | 2021-12-26T16:22:43.000Z | package serpapi;
import com.google.gson.JsonArray;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentMatchers;
import java.nio.file.Paths;
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
public class LocationApiTest {
@Before
public void setUp() throws Exception ... | 31.473684 | 116 | 0.682274 |
f9f6df35ac6478504d3594ad61c3daf65deca69d | 2,628 | go | Go | pkg/ruler/compat_test.go | jbvmio/cortex | 8045f6f8d7ba4e65cab5f8ea4a14a7fa0ecf2c9a | [
"Apache-2.0"
] | null | null | null | pkg/ruler/compat_test.go | jbvmio/cortex | 8045f6f8d7ba4e65cab5f8ea4a14a7fa0ecf2c9a | [
"Apache-2.0"
] | null | null | null | pkg/ruler/compat_test.go | jbvmio/cortex | 8045f6f8d7ba4e65cab5f8ea4a14a7fa0ecf2c9a | [
"Apache-2.0"
] | null | null | null | package ruler
import (
"context"
"math"
"testing"
"time"
"github.com/prometheus/prometheus/pkg/value"
"github.com/prometheus/prometheus/promql/parser"
"github.com/stretchr/testify/require"
"github.com/cortexproject/cortex/pkg/cortexpb"
)
type fakePusher struct {
request *cortexpb.WriteRequest
response *c... | 23.256637 | 107 | 0.637747 |
476c3d8a4f6aa133dc060b68d81d124d0d89f7b3 | 279 | swift | Swift | hw-2/hw-2/hw-2/Place.swift | tylerbrockett/cse394-principles-of-mobile-applications | 4645d3691b2433b1c1f2585c8229d84c12c307e1 | [
"MIT"
] | null | null | null | hw-2/hw-2/hw-2/Place.swift | tylerbrockett/cse394-principles-of-mobile-applications | 4645d3691b2433b1c1f2585c8229d84c12c307e1 | [
"MIT"
] | null | null | null | hw-2/hw-2/hw-2/Place.swift | tylerbrockett/cse394-principles-of-mobile-applications | 4645d3691b2433b1c1f2585c8229d84c12c307e1 | [
"MIT"
] | null | null | null | //
// Place.swift
// hw-2
//
// Created by Tyler Brockett on 2/24/16.
// Copyright © 2016 Tyler Brockett. All rights reserved.
//
import Foundation
import CoreData
class Place: NSManagedObject {
// Insert code here to add functionality to your managed object subclass
}
| 15.5 | 72 | 0.713262 |
265a5f7f637d7456a9fa6814804e0b85e92fc00b | 781 | java | Java | client/src/main/java/io/pravega/keycloak/client/KeycloakConfigurationException.java | addprs/pravega-keycloak | c1bb25ae1d24b12e0c64da8931e73819c789978b | [
"Apache-2.0"
] | 4 | 2020-01-16T01:29:24.000Z | 2022-01-06T06:23:42.000Z | client/src/main/java/io/pravega/keycloak/client/KeycloakConfigurationException.java | addprs/pravega-keycloak | c1bb25ae1d24b12e0c64da8931e73819c789978b | [
"Apache-2.0"
] | 47 | 2019-10-26T21:35:59.000Z | 2022-01-06T06:25:35.000Z | client/src/main/java/io/pravega/keycloak/client/KeycloakConfigurationException.java | addprs/pravega-keycloak | c1bb25ae1d24b12e0c64da8931e73819c789978b | [
"Apache-2.0"
] | 10 | 2020-01-15T15:21:07.000Z | 2021-10-21T20:33:19.000Z | /**
* Copyright (c) 2019 Dell Inc., or its subsidiaries. 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
*/
pa... | 26.931034 | 74 | 0.706786 |
f901323c9eb097202df047bcc55c9bdedbeb7ccc | 2,995 | swift | Swift | ios/Classes/custom/uicustomization/IdenfyConfirmationViewUISettingsV2.swift | andreiavornic/idenfy | cc22848ec2969a9914db561b39aab1f3aec6ebc0 | [
"BSD-3-Clause"
] | null | null | null | ios/Classes/custom/uicustomization/IdenfyConfirmationViewUISettingsV2.swift | andreiavornic/idenfy | cc22848ec2969a9914db561b39aab1f3aec6ebc0 | [
"BSD-3-Clause"
] | null | null | null | ios/Classes/custom/uicustomization/IdenfyConfirmationViewUISettingsV2.swift | andreiavornic/idenfy | cc22848ec2969a9914db561b39aab1f3aec6ebc0 | [
"BSD-3-Clause"
] | 1 | 2022-02-03T09:41:14.000Z | 2022-02-03T09:41:14.000Z | //
// IdenfyConfirmationViewUISettings.swift
// idenfyviews
//
// Created by Viktor Vostrikov on 2020-02-10.
// Copyright © 2020 Apple. All rights reserved.
//
import Foundation
import UIKit
@objc open class IdenfyConfirmationViewUISettingsV2: NSObject {
// Idenfy Confirmation View Colors
public static va... | 71.309524 | 147 | 0.859766 |
a9ece78764a7acc79f5ba4124577569a8cbfbebe | 1,226 | swift | Swift | iOS/CIFilter.io/NonFatalManager.swift | regularberry/cifilter.io | 5e517658dd580f86a3eb8988bcea5d8ef27c019f | [
"MIT"
] | 206 | 2019-03-16T18:48:18.000Z | 2022-03-05T01:14:26.000Z | iOS/CIFilter.io/NonFatalManager.swift | RobMackintosh/cifilter.io | 8d6e4c4f02f8b4b49642f0c2938761fc640544f9 | [
"MIT"
] | 81 | 2019-03-16T17:42:18.000Z | 2022-02-26T10:06:11.000Z | iOS/CIFilter.io/NonFatalManager.swift | RobMackintosh/cifilter.io | 8d6e4c4f02f8b4b49642f0c2938761fc640544f9 | [
"MIT"
] | 19 | 2019-04-03T23:14:31.000Z | 2022-03-11T05:14:27.000Z | //
// NonFatalManager.swift
// CIFilter.io
//
// Created by Noah Gilmore on 3/23/19.
// Copyright © 2019 Noah Gilmore. All rights reserved.
//
import Foundation
import Sentry
import Mixpanel
final class NonFatalManager {
static let shared = NonFatalManager()
func log(_ identifier: String, data: Propertie... | 28.511628 | 82 | 0.619902 |
600f44334cbdf880cf7e329c8effdfcbf7a76aa3 | 5,019 | swift | Swift | IOS/ProView/ProView/loginPage.swift | sashafromlibertalia/ICT-Hack-2 | 79a0e1173680ab06b02e6b74dc9e87608f7cf07f | [
"Apache-2.0"
] | null | null | null | IOS/ProView/ProView/loginPage.swift | sashafromlibertalia/ICT-Hack-2 | 79a0e1173680ab06b02e6b74dc9e87608f7cf07f | [
"Apache-2.0"
] | null | null | null | IOS/ProView/ProView/loginPage.swift | sashafromlibertalia/ICT-Hack-2 | 79a0e1173680ab06b02e6b74dc9e87608f7cf07f | [
"Apache-2.0"
] | null | null | null | //
// loginPage.swift
// ProView
//
// Created by Patrik Duksin on 2021-05-09.
//
import SwiftUI
let lightGreyColor = Color(red: 239.0/255.0, green: 243.0/255.0, blue: 244.0/255.0, opacity: 1.0)
let storedUsername = ""
let storedPassword = ""
struct loginPage: View {
@EnvironmentObject var viewRouter: ViewRout... | 33.46 | 121 | 0.524407 |
d074b1021655165c3d3349cc2d6ba5a238074797 | 1,417 | css | CSS | public/backend/assets/css/menu.css | thecaonguyen/webgiay | ab21eb8acd2908a26db43ee453effbcd96716efd | [
"MIT"
] | null | null | null | public/backend/assets/css/menu.css | thecaonguyen/webgiay | ab21eb8acd2908a26db43ee453effbcd96716efd | [
"MIT"
] | 2 | 2021-02-03T01:51:02.000Z | 2021-04-30T12:27:53.000Z | public/backend/assets/css/menu.css | thecaonguyen/webgiay | ab21eb8acd2908a26db43ee453effbcd96716efd | [
"MIT"
] | null | null | null |
ul { list-style-type: none; }
a {
color: #b63b4d;
text-decoration: none;
}
/** =======================
* Contenedor Principal
===========================*/
h1 {
color: #FFF;
font-size: 24px;
font-weight: 400;
text-align: center;
margin-top: 80px;
}
h1 a {
color: #c12c42;
font-size: 16px;
}
.a... | 16.869048 | 51 | 0.61115 |
84348094265125821ac22dcbfdd1b9955c5670f6 | 3,202 | kt | Kotlin | android/src/main/kotlin/mingsin/fzxing/CaptureActivity.kt | trevorwang/flutter-zxing | 324473504e57d7173d5784c81e973a3c189a4aa3 | [
"MIT"
] | 26 | 2018-08-12T05:36:36.000Z | 2020-11-17T03:59:15.000Z | android/src/main/kotlin/mingsin/fzxing/CaptureActivity.kt | GlomGlom/project_final | c000533d9bf18ee5da25a131a307c2825db1647a | [
"MIT"
] | 13 | 2019-02-11T18:29:19.000Z | 2019-12-19T09:45:41.000Z | android/src/main/kotlin/mingsin/fzxing/CaptureActivity.kt | GlomGlom/project_final | c000533d9bf18ee5da25a131a307c2825db1647a | [
"MIT"
] | 7 | 2018-12-05T13:52:54.000Z | 2021-05-27T04:58:22.000Z | package mingsin.fzxing
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.view.KeyEvent
import com.google.zxing.ResultPoint
import com.google.zxing.client.android.BeepManager
import com.google.zxing.client.android.Intents
import com.journeyapps.barcodescanner.BarcodeCallb... | 33.354167 | 87 | 0.568395 |
64fd7822f3a7c969e89f33b4befff2e4101fc354 | 1,870 | java | Java | filelogger/src/main/java/fr/clementbesnier/filelogger/FLoggerWrapTagged.java | clemsciences/android-filelogger | fb42ca0c1b014b2306c57229f988302d0b882304 | [
"Apache-2.0"
] | null | null | null | filelogger/src/main/java/fr/clementbesnier/filelogger/FLoggerWrapTagged.java | clemsciences/android-filelogger | fb42ca0c1b014b2306c57229f988302d0b882304 | [
"Apache-2.0"
] | null | null | null | filelogger/src/main/java/fr/clementbesnier/filelogger/FLoggerWrapTagged.java | clemsciences/android-filelogger | fb42ca0c1b014b2306c57229f988302d0b882304 | [
"Apache-2.0"
] | null | null | null | package fr.clementbesnier.filelogger;
/**
* A logger with a hard coded tag that send logs to the supplied FLogger
*/
public class FLoggerWrapTagged {
protected final String tag;
protected final FLogger logger;
/**
* method called for every log call in case the file logger wasn't ready before
*
* @param l... | 19.479167 | 80 | 0.689305 |
64f5152e87fc235a9a0a9d64bc61f2d7b313bff6 | 807 | java | Java | src/kh75/day1908010/soso/index/Index.java | jsc520/KH75 | 9f2f1776877c79ffbd6a8976d7a4ccb9be955f02 | [
"Apache-2.0"
] | 2 | 2019-09-23T06:31:11.000Z | 2019-09-23T06:31:13.000Z | src/kh75/day1908010/soso/index/Index.java | jsc520/KH75 | 9f2f1776877c79ffbd6a8976d7a4ccb9be955f02 | [
"Apache-2.0"
] | null | null | null | src/kh75/day1908010/soso/index/Index.java | jsc520/KH75 | 9f2f1776877c79ffbd6a8976d7a4ccb9be955f02 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright © 2019 金聖聰. All rights reserved.
*
* 功能描述:
* @Package: kh75.day1908010.soso.index
* @author: 金聖聰
* @date: 2019年8月11日 下午8:05:55
*/
package kh75.day1908010.soso.index;
import org.junit.Test;
import kh75.day1908010.soso.uis.MainUI;
/**
* Copyright: Copyright (c) 2019 金聖聰
*
* @ClassNa... | 20.692308 | 61 | 0.570012 |
5be72881754853ffcc07a4d0d2c8960217192bd4 | 2,261 | h | C | IvmpDotNet.Proxy/SDK/Shared/Network/CNetClientInterface.h | purm/IvmpDotNet | 8ec3b7819aba9d806f9a95b2b87e4375fdfdefe2 | [
"MIT"
] | 1 | 2021-01-26T05:52:04.000Z | 2021-01-26T05:52:04.000Z | IvmpDotNet.Proxy/SDK/Shared/Network/CNetClientInterface.h | purm/IvmpDotNet | 8ec3b7819aba9d806f9a95b2b87e4375fdfdefe2 | [
"MIT"
] | null | null | null | IvmpDotNet.Proxy/SDK/Shared/Network/CNetClientInterface.h | purm/IvmpDotNet | 8ec3b7819aba9d806f9a95b2b87e4375fdfdefe2 | [
"MIT"
] | null | null | null | //============== IV: Multiplayer - http://code.iv-multiplayer.com ==============
//
// File: CNetClientInterface.h
// Project: Shared
// Author(s): jenksta
// License: See LICENSE in root directory
//
//==============================================================================
#pragma once
#include "CNetStats.h"
... | 38.322034 | 194 | 0.630252 |
ceb352a1af576d91f4cbea9f919acd65a730fd75 | 137 | kt | Kotlin | fuzzer/src/main/kotlin/ru/au/kotlinfuzzer/ast/entities/misc_interfaces.kt | ItsLastDay/KotlinFuzzer | 56f50fc307709443bb0c53972d0c239e709ce8f2 | [
"MIT"
] | 11 | 2017-12-16T15:21:37.000Z | 2021-09-30T14:02:36.000Z | fuzzer/src/main/kotlin/ru/au/kotlinfuzzer/ast/entities/misc_interfaces.kt | ItsLastDay/KotlinFuzzer | 56f50fc307709443bb0c53972d0c239e709ce8f2 | [
"MIT"
] | 1 | 2022-01-04T16:31:34.000Z | 2022-01-04T16:31:34.000Z | fuzzer/src/main/kotlin/ru/au/kotlinfuzzer/ast/entities/misc_interfaces.kt | ItsLastDay/KotlinFuzzer | 56f50fc307709443bb0c53972d0c239e709ce8f2 | [
"MIT"
] | 1 | 2018-08-01T07:16:22.000Z | 2018-08-01T07:16:22.000Z | package ru.au.kotlinfuzzer.ast.entities
import ru.au.kotlinfuzzer.ast.ASTNode
interface WithReceiver {
val receiverType: ASTNode?
} | 19.571429 | 39 | 0.79562 |