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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e9431c6fad841550f40fefe3e434f928ae6e5756 | 8,136 | go | Go | src/pkg/crypto/tls/handshake_server.go | SDpower/golang | 8fd1bf1941d6fec1b1b5015578b23deadf1714c4 | [
"BSD-3-Clause"
] | 3 | 2016-08-12T18:47:59.000Z | 2021-12-18T03:11:35.000Z | src/pkg/crypto/tls/handshake_server.go | SDpower/golang | 8fd1bf1941d6fec1b1b5015578b23deadf1714c4 | [
"BSD-3-Clause"
] | null | null | null | src/pkg/crypto/tls/handshake_server.go | SDpower/golang | 8fd1bf1941d6fec1b1b5015578b23deadf1714c4 | [
"BSD-3-Clause"
] | 4 | 2016-03-17T06:53:07.000Z | 2021-12-18T03:11:35.000Z | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package tls
import (
"crypto"
"crypto/rsa"
"crypto/subtle"
"crypto/x509"
"io"
"os"
)
func (c *Conn) serverHandshake() os.Error {
config := c.config
ms... | 27.210702 | 119 | 0.720379 |
e1f2f6a3ab5d05a48d595234500c103d4faa09b4 | 556 | swift | Swift | TodoList/UserInterface/Cells+Headers/Tableview/Cells/Task/Assignee/AssigneeCell.swift | musamaj/MVVMDemo | 7d47a63f964e00c7366f75af93b8c3fe5a8b9a3e | [
"MIT"
] | null | null | null | TodoList/UserInterface/Cells+Headers/Tableview/Cells/Task/Assignee/AssigneeCell.swift | musamaj/MVVMDemo | 7d47a63f964e00c7366f75af93b8c3fe5a8b9a3e | [
"MIT"
] | null | null | null | TodoList/UserInterface/Cells+Headers/Tableview/Cells/Task/Assignee/AssigneeCell.swift | musamaj/MVVMDemo | 7d47a63f964e00c7366f75af93b8c3fe5a8b9a3e | [
"MIT"
] | null | null | null | //
// AssigneeCell.swift
// TodoList
//
// Created by Usama Jamil on 02/08/2019.
// Copyright © 2019 Usama Jamil. All rights reserved.
//
import UIKit
class AssigneeCell: UITableViewCell {
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
override func setS... | 19.172414 | 65 | 0.640288 |
977d850e536e89b8c4bb152d18cecce2ed07d6e2 | 5,845 | dart | Dart | lib/src/ios/MAAnimatedAnnotation.g.dart | sen-Cai/amap_map_fluttify | 2dd7d8ea42886db5803fab14d8010d8e7b5a0177 | [
"Apache-2.0"
] | null | null | null | lib/src/ios/MAAnimatedAnnotation.g.dart | sen-Cai/amap_map_fluttify | 2dd7d8ea42886db5803fab14d8010d8e7b5a0177 | [
"Apache-2.0"
] | null | null | null | lib/src/ios/MAAnimatedAnnotation.g.dart | sen-Cai/amap_map_fluttify | 2dd7d8ea42886db5803fab14d8010d8e7b5a0177 | [
"Apache-2.0"
] | null | null | null | //////////////////////////////////////////////////////////
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
//////////////////////////////////////////////////////////
import 'dart:typed_data';
import 'package:amap_map_fluttify/src/ios/ios.export.g.dart';
import 'package:amap_map_fluttify/src/android/android.export.g.dart';
... | 40.590278 | 324 | 0.659025 |
0893c79098c3a92e408525d17ab9ce3fb608675b | 256 | go | Go | goFile/goImports/needImport.go | mathbalduino/go-codegen | b9ca2e9a860ed27000ae4bbc8ed073b0fc21f9a4 | [
"MIT"
] | null | null | null | goFile/goImports/needImport.go | mathbalduino/go-codegen | b9ca2e9a860ed27000ae4bbc8ed073b0fc21f9a4 | [
"MIT"
] | 6 | 2021-11-19T11:31:08.000Z | 2021-11-30T19:03:08.000Z | goFile/goImports/needImport.go | mathbalduino/go-codegen | b9ca2e9a860ed27000ae4bbc8ed073b0fc21f9a4 | [
"MIT"
] | null | null | null | package goImports
// NeedImport will return true if the given package path needs
// to be imported, when called inside the import list host package
func (i *GoImports) NeedImport(otherPackagePath string) bool {
return i.packagePath != otherPackagePath
}
| 32 | 66 | 0.789063 |
0522fcf5ab5d4128b63f6fbcf846595d987059b6 | 1,319 | rb | Ruby | ruby/SymmetryBySize.rb | wmatthew/hendecagon | 91002e82e5b104d7b5e37d00b7502f63596a6131 | [
"BSD-3-Clause"
] | 1 | 2016-04-26T06:44:40.000Z | 2016-04-26T06:44:40.000Z | ruby/SymmetryBySize.rb | wmatthew/hendecagon | 91002e82e5b104d7b5e37d00b7502f63596a6131 | [
"BSD-3-Clause"
] | null | null | null | ruby/SymmetryBySize.rb | wmatthew/hendecagon | 91002e82e5b104d7b5e37d00b7502f63596a6131 | [
"BSD-3-Clause"
] | null | null | null | =begin
If you flip X coins and arrange them in a circle, what are
the odds the pattern will be symmetrical?
Size Sym Total Percent Symmetrical
1 1 1 100.0% <-- always symmetrical
2 2 2 100.0%
3 4 4 100.0%
4 8 8 100.0%
5 16 16 100.0%
6 26 32 81.25%
7 50 64 78.125%
8 80 128 62.5%
9 130 256 50.78125% ... | 21.983333 | 65 | 0.664898 |
90dc18286b085cc12f3c63609fcb5d16a18a4bfd | 2,283 | py | Python | dotnet.py | Gutem/scans-exploits | 657f0058fd29daaa3ff084e00f61c1d0c5590007 | [
"MIT"
] | 3 | 2021-01-17T11:02:59.000Z | 2021-08-30T19:55:46.000Z | dotnet.py | Gutem/scans-exploits | 657f0058fd29daaa3ff084e00f61c1d0c5590007 | [
"MIT"
] | null | null | null | dotnet.py | Gutem/scans-exploits | 657f0058fd29daaa3ff084e00f61c1d0c5590007 | [
"MIT"
] | 2 | 2021-01-30T05:56:09.000Z | 2021-08-30T19:55:49.000Z | #!/usr/bin/python3
"""
################################################################################
This script checks for CVE-2017-9248
https://nvd.nist.gov/vuln/detail/CVE-2017-9248
Telerik Web UI's Cryptographic Weakness
################################################################################
"""
import... | 44.764706 | 80 | 0.579501 |
1bf16fcff53a37d3e2ef97166e83d9870072512c | 2,897 | py | Python | jetten.py | AndrewQuijano/Treespace_REU_2017 | e1aff2224ad5152d82f529675444146a70623bca | [
"MIT"
] | 2 | 2021-06-07T12:22:46.000Z | 2021-09-14T00:19:03.000Z | jetten.py | AndrewQuijano/Treespace_REU_2017 | e1aff2224ad5152d82f529675444146a70623bca | [
"MIT"
] | null | null | null | jetten.py | AndrewQuijano/Treespace_REU_2017 | e1aff2224ad5152d82f529675444146a70623bca | [
"MIT"
] | null | null | null | import networkx as nx
from misc import maximum_matching_all
from networkx import get_node_attributes
from drawing import draw_bipartite
import platform
plt = platform.system()
def is_tree_based(graph, name=None, draw=False):
unmatched_omnian = jetten_graph(graph, name, draw)
if len(unmatched_omnian) == 0:
... | 28.126214 | 90 | 0.602002 |
26b89eede24b954e54cb6797fb2e21d56aed8eb1 | 1,988 | java | Java | packages/dashbuilder/dashbuilder-client/dashbuilder-widgets/src/main/java/org/dashbuilder/client/widgets/dataset/editor/DataSetDefColumnsFilterEditorView.java | zdrapela/kie-tools | 2ecbb7bf39024d8618f40fc3a7d8e0328a3e24a8 | [
"Apache-2.0"
] | 4 | 2022-01-30T16:49:34.000Z | 2022-03-28T13:24:32.000Z | packages/dashbuilder/dashbuilder-client/dashbuilder-widgets/src/main/java/org/dashbuilder/client/widgets/dataset/editor/DataSetDefColumnsFilterEditorView.java | zdrapela/kie-tools | 2ecbb7bf39024d8618f40fc3a7d8e0328a3e24a8 | [
"Apache-2.0"
] | 86 | 2022-01-26T19:08:09.000Z | 2022-03-31T07:40:37.000Z | packages/dashbuilder/dashbuilder-client/dashbuilder-widgets/src/main/java/org/dashbuilder/client/widgets/dataset/editor/DataSetDefColumnsFilterEditorView.java | zdrapela/kie-tools | 2ecbb7bf39024d8618f40fc3a7d8e0328a3e24a8 | [
"Apache-2.0"
] | 6 | 2022-02-06T15:22:38.000Z | 2022-03-31T05:59:50.000Z | package org.dashbuilder.client.widgets.dataset.editor;
import javax.enterprise.context.Dependent;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.I... | 28.4 | 112 | 0.747485 |
ff465224cb743260302b454e3e1e2f4d69e47829 | 817 | kt | Kotlin | src/main/kotlin/no/nav/klage/util/StringToLanguageEnumConverter.kt | navikt/klage-dittnav-api | c8b3dff51796ff170aef6d6d48d9d33f98a328a2 | [
"MIT"
] | null | null | null | src/main/kotlin/no/nav/klage/util/StringToLanguageEnumConverter.kt | navikt/klage-dittnav-api | c8b3dff51796ff170aef6d6d48d9d33f98a328a2 | [
"MIT"
] | 6 | 2020-05-12T13:26:56.000Z | 2021-01-26T06:21:17.000Z | src/main/kotlin/no/nav/klage/util/StringToLanguageEnumConverter.kt | navikt/klage-dittnav-api | c8b3dff51796ff170aef6d6d48d9d33f98a328a2 | [
"MIT"
] | null | null | null | package no.nav.klage.util
import no.nav.klage.domain.LanguageEnum
import no.nav.klage.domain.titles.TitleEnum
import org.springframework.core.convert.converter.Converter
import java.util.*
class StringToLanguageEnumConverter : Converter<String?, LanguageEnum?> {
override fun convert(source: String): LanguageEnum ... | 31.423077 | 78 | 0.671971 |
d288e95596916410c49f1fcf96e6166d8a4c6c08 | 985 | lua | Lua | MMOCoreORB/bin/scripts/mobile/rori/ravenous_torton.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/mobile/rori/ravenous_torton.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/mobile/rori/ravenous_torton.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | ravenous_torton = Creature:new {
objectName = "@mob/creature_names:ravenous_torton",
socialGroup = "torton",
faction = "",
level = 34,
chanceHit = 0.4,
damageMin = 325,
damageMax = 360,
baseXp = 3370,
baseHAM = 8600,
baseHAMmax = 10500,
armor = 0,
resists = {20,20,20,-1,-1,145,145,180,-1},
meatType = "meat... | 23.452381 | 73 | 0.677157 |
595c956238f94fe83f1c9962ac4b1f4e459fdda3 | 15,684 | c | C | framework/driver/gfx/src/drv_gfx_sh1101a_ssd1303.c | jerry-james/mla_gfx | 9783cd987034c7bdd9c185188ef2bfdf98f9e0cb | [
"Apache-2.0"
] | null | null | null | framework/driver/gfx/src/drv_gfx_sh1101a_ssd1303.c | jerry-james/mla_gfx | 9783cd987034c7bdd9c185188ef2bfdf98f9e0cb | [
"Apache-2.0"
] | 1 | 2019-02-28T23:17:08.000Z | 2019-02-28T23:17:08.000Z | framework/driver/gfx/src/drv_gfx_sh1101a_ssd1303.c | jerry-james/mla_gfx | 9783cd987034c7bdd9c185188ef2bfdf98f9e0cb | [
"Apache-2.0"
] | 4 | 2018-12-08T12:18:17.000Z | 2019-05-08T16:38:14.000Z | /*******************************************************************************
Display Driver for Microchip Graphics Library - Display Driver Layer
Company:
Microchip Technology Inc.
File Name:
drv_gfx_sh1101a_ssd1303.c
Summary:
Display Driver for use with the Microchip Graphics Library.
Desc... | 33.512821 | 129 | 0.531242 |
75eea81491aa1c5b43eeef5737b9826aeaa1b923 | 3,794 | php | PHP | config/initializeDB.php | Akalanka47000/Online-Pharmacy-Portal | dc23f0eb4a35b82b3cb7a54d39a34269f77bb177 | [
"MIT"
] | null | null | null | config/initializeDB.php | Akalanka47000/Online-Pharmacy-Portal | dc23f0eb4a35b82b3cb7a54d39a34269f77bb177 | [
"MIT"
] | null | null | null | config/initializeDB.php | Akalanka47000/Online-Pharmacy-Portal | dc23f0eb4a35b82b3cb7a54d39a34269f77bb177 | [
"MIT"
] | null | null | null | <?php
function initializeDB(){
$servername = "localhost";
$username = "root";
$password = "";
$conn = new mysqli($servername, $username, $password);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "CREATE ... | 39.113402 | 98 | 0.515814 |
5b0f2eee3450349558ace1c599260bcd817363aa | 1,942 | h | C | Example/Pods/Headers/Private/libffi_iOS/ffi_cfi.h | wangwanjie/libffi-iOS | 157a26d1fa7d4202b1518fb3af3eded4a5ac8255 | [
"MIT"
] | 1 | 2020-09-18T09:29:27.000Z | 2020-09-18T09:29:27.000Z | Example/Pods/Headers/Public/libffi_iOS/ffi_cfi.h | wangwanjie/libffi_iOS | 157a26d1fa7d4202b1518fb3af3eded4a5ac8255 | [
"MIT"
] | null | null | null | Example/Pods/Headers/Public/libffi_iOS/ffi_cfi.h | wangwanjie/libffi_iOS | 157a26d1fa7d4202b1518fb3af3eded4a5ac8255 | [
"MIT"
] | null | null | null | /* -----------------------------------------------------------------------
ffi_cfi.h - Copyright (c) 2014 Red Hat, Inc.
Conditionally assemble cfi directives. Only necessary for building libffi.
----------------------------------------------------------------------- */
#ifndef FFI_CFI_H
#define FFI_CFI_H
#... | 34.678571 | 77 | 0.722451 |
998be636209919553863e761ec7fe86ccd76c094 | 3,027 | swift | Swift | Swift-Playgrounds/Blogs/NSHipster/2014-08-18-SwiftLiteralConvertibles.playground/section-1.swift | cyrsis/SwiftSandBox | 82bf7b4aaed4e3c4a7f82a9b92fa163753d5526c | [
"MIT"
] | 204 | 2015-01-19T21:34:11.000Z | 2022-03-27T17:14:35.000Z | Swift-Playgrounds/Blogs/NSHipster/2014-08-18-SwiftLiteralConvertibles.playground/section-1.swift | jeroendesloovere/examples-swift | da427aadfd84011d73801ab8f25b85d49e9d442c | [
"MIT"
] | 2 | 2015-11-10T02:18:20.000Z | 2017-08-08T22:51:41.000Z | Swift-Playgrounds/Blogs/NSHipster/2014-08-18-SwiftLiteralConvertibles.playground/section-1.swift | jeroendesloovere/examples-swift | da427aadfd84011d73801ab8f25b85d49e9d442c | [
"MIT"
] | 61 | 2015-01-28T09:58:57.000Z | 2022-02-10T08:23:11.000Z | // Swift Literal Convertibles from NSHipster http://nshipster.com/swift-literal-convertible/
import Foundation
/*
enum Optional<T> : Reflectable, NilLiteralConvertible {
case None
case Some(T)
init()
init(_ some: T)
var hasValue: Bool { get }
func map<U>(f: (T) -> U) -> U?
func getMir... | 23.284615 | 124 | 0.644863 |
9d1225c8c9de5d8f59b201a0fe143d00512aafc0 | 10,853 | html | HTML | public/resume/cv/old/resume_teaching.html | tjmonsi/begrafic | 7155f964b2b357cb9cf8c0bae2edd1b820e28152 | [
"MIT"
] | 2 | 2017-09-05T06:33:31.000Z | 2017-09-05T06:33:35.000Z | public/resume/cv/old/resume_teaching.html | tjmonsi/begrafic | 7155f964b2b357cb9cf8c0bae2edd1b820e28152 | [
"MIT"
] | 1 | 2017-09-06T02:28:03.000Z | 2017-09-06T04:15:06.000Z | public/resume/cv/old/resume_teaching.html | tjmonsi/begrafic | 7155f964b2b357cb9cf8c0bae2edd1b820e28152 | [
"MIT"
] | null | null | null | <html><head><title>a i s p u r o -- d e s i g n e r</title></head>
<body bgcolor="ffffff" text="000000" link="#333366" vlink="#666666" alink="#669999">
<center>
<table border=0 cellpadding=9 width=600 align="center">
<tr>
<td colspan=4 align=left><img src="../../images/aispuro.gif" width=374 height=62></t... | 10,853 | 10,853 | 0.5932 |
af41b8292d960cd01b4e5240250d4af4dd103aae | 996 | rb | Ruby | spec/lib/fantasy-event_spec.rb | donSchoe/fantasy-irc | d2b6daa4be9a48d548b09738d43c9fbaff98129a | [
"MIT"
] | 1 | 2015-11-10T13:03:12.000Z | 2015-11-10T13:03:12.000Z | spec/lib/fantasy-event_spec.rb | donSchoe/fantasy-irc | d2b6daa4be9a48d548b09738d43c9fbaff98129a | [
"MIT"
] | 4 | 2016-02-07T02:23:54.000Z | 2021-04-03T13:49:52.000Z | spec/lib/fantasy-event_spec.rb | donSchoe/fantasy-irc | d2b6daa4be9a48d548b09738d43c9fbaff98129a | [
"MIT"
] | 1 | 2016-02-07T02:13:56.000Z | 2016-02-07T02:13:56.000Z | require 'spec_helper'
describe Fantasy::Event do
describe Fantasy::Event::Event do
describe "#new" do
it "takes a name as arument and returns a Fantasy::Event::Event object" do
e = Fantasy::Event::Event.new("rspec_event")
e.should be_an_instance_of Fantasy::Event... | 31.125 | 107 | 0.582329 |
e7e82052be7f7b60018df8e2041434f37eb840c1 | 13,410 | swift | Swift | Storefront/CollectionsViewController.swift | CareUSolutions/mobile-buy-sdk-ios-sample | 681abc0389a5c97a540e898b4b69e927fb33cdc6 | [
"MIT"
] | null | null | null | Storefront/CollectionsViewController.swift | CareUSolutions/mobile-buy-sdk-ios-sample | 681abc0389a5c97a540e898b4b69e927fb33cdc6 | [
"MIT"
] | null | null | null | Storefront/CollectionsViewController.swift | CareUSolutions/mobile-buy-sdk-ios-sample | 681abc0389a5c97a540e898b4b69e927fb33cdc6 | [
"MIT"
] | null | null | null | //
// CollectionsViewController.swift
// Storefront
//
// Created by Shopify.
// Copyright (c) 2017 Shopify Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Softw... | 41.775701 | 403 | 0.639896 |
414deb82abcb88c4dc8f0ab718093622e3175e0e | 484 | kt | Kotlin | src/ii_collections/n16FlatMap.kt | gokhanaliccii/kotlin-koans | afc7a4e95af680859b0c512397b7a9d718d5fcb7 | [
"MIT"
] | null | null | null | src/ii_collections/n16FlatMap.kt | gokhanaliccii/kotlin-koans | afc7a4e95af680859b0c512397b7a9d718d5fcb7 | [
"MIT"
] | null | null | null | src/ii_collections/n16FlatMap.kt | gokhanaliccii/kotlin-koans | afc7a4e95af680859b0c512397b7a9d718d5fcb7 | [
"MIT"
] | null | null | null | package ii_collections
import java.util.*
fun example() {
val result = listOf("abc", "12").flatMap { it.toList() }
result == listOf('a', 'b', 'c', '1', '2')
}
val Customer.orderedProducts: Set<Product>
get() {
val flatMap = this.orders.flatMap { it.products }
return flatMap.toSet()
... | 21.043478 | 60 | 0.588843 |
4db014f1f9a51a83c1a3454ad0c39df3ab0ebc7a | 6,613 | kt | Kotlin | app/src/main/java/com/albertkhang/vietnamdateconverter/MainActivity.kt | albertkhang/VietnamDateConverter | c67f7f4f0ff050c0b31e8dd9cff682f0aae29a8e | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/albertkhang/vietnamdateconverter/MainActivity.kt | albertkhang/VietnamDateConverter | c67f7f4f0ff050c0b31e8dd9cff682f0aae29a8e | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/albertkhang/vietnamdateconverter/MainActivity.kt | albertkhang/VietnamDateConverter | c67f7f4f0ff050c0b31e8dd9cff682f0aae29a8e | [
"Apache-2.0"
] | null | null | null | package com.albertkhang.vietnamdateconverter
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Button
import com.albertkhang.vietnamdateconverter.utils.LunarDate
import com.albertkhang.vietnamdateconverter.utils.SolarDate
import java.util.*
class Ma... | 32.737624 | 100 | 0.661727 |
35679c969bbbbc1c4fdd6024ff51c18c5d4024b1 | 88 | sql | SQL | INDEX/PREF_AGENT_NAME.sql | MCZbase/DDL | 2537cdbcc6037c263c605562994ff82505f33dc7 | [
"Apache-2.0"
] | 2 | 2020-06-24T21:23:27.000Z | 2020-07-27T21:31:40.000Z | INDEX/PREF_AGENT_NAME.sql | MCZbase/DDL | 2537cdbcc6037c263c605562994ff82505f33dc7 | [
"Apache-2.0"
] | null | null | null | INDEX/PREF_AGENT_NAME.sql | MCZbase/DDL | 2537cdbcc6037c263c605562994ff82505f33dc7 | [
"Apache-2.0"
] | null | null | null |
CREATE INDEX "PREF_AGENT_NAME" ON "AGENT" ("AGENT_ID", "PREFERRED_AGENT_NAME_ID")
| 29.333333 | 84 | 0.727273 |
281e9f8be04c9d6266d7edaaccde8a82669f3d01 | 1,752 | rb | Ruby | Library/Homebrew/formula_versions.rb | ylht/brew | 75a38b7187788b61461a0b76b7033bf96a33c1c1 | [
"BSD-2-Clause"
] | 34,807 | 2016-03-08T05:08:28.000Z | 2022-03-31T18:48:38.000Z | Library/Homebrew/formula_versions.rb | jakechristman/brew | 633202dac6be86b1cbae88e5640acfcb7d2ea743 | [
"BSD-2-Clause"
] | 9,228 | 2016-03-06T17:09:02.000Z | 2022-03-31T17:04:42.000Z | Library/Homebrew/formula_versions.rb | jakechristman/brew | 633202dac6be86b1cbae88e5640acfcb7d2ea743 | [
"BSD-2-Clause"
] | 10,309 | 2016-03-06T05:54:41.000Z | 2022-03-31T20:32:32.000Z | # typed: true
# frozen_string_literal: true
require "formula"
# Helper class for traversing a formula's previous versions.
#
# @api private
class FormulaVersions
include Context
IGNORED_EXCEPTIONS = [
ArgumentError, NameError, SyntaxError, TypeError,
FormulaSpecificationError, FormulaValidationError,
... | 28.258065 | 89 | 0.708904 |
f7ca55da9f10fbae355388288b570aa893065360 | 19,711 | a51 | Assembly | avengers/toolkit/compilers/asem-51/examples/boot51.a51 | Arkh42/hardhack | 33057b88cf6a782f201e2bfc84f1ad1359d9ddc7 | [
"ECL-2.0"
] | 1 | 2021-09-20T14:19:38.000Z | 2021-09-20T14:19:38.000Z | avengers/toolkit/compilers/asem-51/examples/boot51.a51 | Arkh42/hardhack | 33057b88cf6a782f201e2bfc84f1ad1359d9ddc7 | [
"ECL-2.0"
] | null | null | null | avengers/toolkit/compilers/asem-51/examples/boot51.a51 | Arkh42/hardhack | 33057b88cf6a782f201e2bfc84f1ad1359d9ddc7 | [
"ECL-2.0"
] | null | null | null | ; *************************
; * B O O T - 5 1 *
; *************************
;
; A Bootstrap Program for the MCS-51 Microcontroller Family
;
; Version 1.1 by W.W. Heinz 15. 12. 2002
;
;------------------------------------------------------------------... | 33.636519 | 74 | 0.549084 |
04ce7daebe682795b898e23bcb70f030dddbb313 | 287 | sql | SQL | Employee table.sql | alex-d-bondarev/sql-practice | 6b9c51c3102a48d093b14dff3078280d1aeaa77e | [
"MIT"
] | null | null | null | Employee table.sql | alex-d-bondarev/sql-practice | 6b9c51c3102a48d093b14dff3078280d1aeaa77e | [
"MIT"
] | null | null | null | Employee table.sql | alex-d-bondarev/sql-practice | 6b9c51c3102a48d093b14dff3078280d1aeaa77e | [
"MIT"
] | null | null | null | INSERT INTO `tutorial`.`employee`
(`sJob`, `nSalary`, `company_id`, `user_id`)
VALUES
#('job1', 1000, 1, 8),
#('job2', 2000, 1, 9),
('manager1', 3000, 1, 14),
('manager2', 5000, 3, 15),
('manager3', 1000, 3, 16);
Delete from `tutorial`.`employee`;
select * from `tutorial`.`employee`;
| 22.076923 | 44 | 0.616725 |
d250eb81fe7c00331cb5fdd8fa49c055143e2ecc | 164 | php | PHP | app/models/InventoryCategory.php | abdulawal/vault-designer-delivery | 65861264370793747ac5577bb65eff0fb2a7c66d | [
"MIT"
] | null | null | null | app/models/InventoryCategory.php | abdulawal/vault-designer-delivery | 65861264370793747ac5577bb65eff0fb2a7c66d | [
"MIT"
] | null | null | null | app/models/InventoryCategory.php | abdulawal/vault-designer-delivery | 65861264370793747ac5577bb65eff0fb2a7c66d | [
"MIT"
] | null | null | null | <?php
class InventoryCategory extends Eloquent {
protected $guarded = array();
protected $table = 'inventory_category';
protected $primaryKey = 'id';
} | 23.428571 | 44 | 0.695122 |
82eac4ea0f964295598ecb1f96bd5091e71847ac | 656 | kt | Kotlin | bloom/src/main/java/com/fjoglar/composechallenge/bloom/MainActivity.kt | fjoglar/jetpack-compose-challenge | 435b20825ee38a11c7e5770269f2b2f049c73df8 | [
"MIT"
] | null | null | null | bloom/src/main/java/com/fjoglar/composechallenge/bloom/MainActivity.kt | fjoglar/jetpack-compose-challenge | 435b20825ee38a11c7e5770269f2b2f049c73df8 | [
"MIT"
] | null | null | null | bloom/src/main/java/com/fjoglar/composechallenge/bloom/MainActivity.kt | fjoglar/jetpack-compose-challenge | 435b20825ee38a11c7e5770269f2b2f049c73df8 | [
"MIT"
] | null | null | null | package com.fjoglar.composechallenge.bloom
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.core.view.WindowCompat
import com.fjoglar.composechallenge.bloom.navigation.BloomNavigation
import com.fjoglar.composechallenge.bloom.ui.components.... | 29.818182 | 69 | 0.745427 |
518ea56b2fc2f577504b0e1940ddde8a48dad41e | 47,744 | asm | Assembly | rm.asm | philiphossu/CS450-xv6 | d79ae29de77b5c21b303975b7d3d7ed1169f2707 | [
"MIT-0"
] | null | null | null | rm.asm | philiphossu/CS450-xv6 | d79ae29de77b5c21b303975b7d3d7ed1169f2707 | [
"MIT-0"
] | null | null | null | rm.asm | philiphossu/CS450-xv6 | d79ae29de77b5c21b303975b7d3d7ed1169f2707 | [
"MIT-0"
] | 2 | 2019-10-19T06:41:17.000Z | 2021-11-27T23:18:33.000Z |
_rm: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push %edi
4: 56 push %esi
... | 28.317912 | 60 | 0.422252 |
fee9cc508df74d59667ca43492d19aacf760299c | 365 | html | HTML | Martin.html | anachlas/w209FinalProject | dde3ccb3986c28f9d7de4fafbb689059bd1bab0e | [
"Apache-2.0"
] | null | null | null | Martin.html | anachlas/w209FinalProject | dde3ccb3986c28f9d7de4fafbb689059bd1bab0e | [
"Apache-2.0"
] | null | null | null | Martin.html | anachlas/w209FinalProject | dde3ccb3986c28f9d7de4fafbb689059bd1bab0e | [
"Apache-2.0"
] | null | null | null | <html>
<h1>Martin</h1><br>
<a href='http://www.irishcentral.com/news/irishvoice/Fianna-Fail-still-playing-games.html'>Fianna Fail still playing games</a><br>
<a href='http://www.4-traders.com/CITIGROUP-INC-4818/news/Citigroup-Economist-Saunders-Joins-Bank-s-Rate-Setters-22180082/'>Citigroup : Economist Saunders Joins B... | 73 | 200 | 0.761644 |
f70c997044dba1f12366cdd9cd24d3637e610c6d | 21,111 | c | C | drivers/CMSIS/DSP/examples/ARM/arm_signal_converge_example/arm_signal_converge_data.c | kutei/stm32_base_project | d8ffbe7d30e1126fdb7864755c9a259b96ded0c2 | [
"MIT"
] | null | null | null | drivers/CMSIS/DSP/examples/ARM/arm_signal_converge_example/arm_signal_converge_data.c | kutei/stm32_base_project | d8ffbe7d30e1126fdb7864755c9a259b96ded0c2 | [
"MIT"
] | 2 | 2020-05-06T19:10:21.000Z | 2020-06-02T16:33:10.000Z | drivers/CMSIS/DSP/examples/ARM/arm_signal_converge_example/arm_signal_converge_data.c | kutei/motor-driver | 5abeba6acc98d3d1fd96a4097c9e4b87eebedeee | [
"MIT"
] | null | null | null | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_signal_converge_data.c
*
* Description: Test input data for Float... | 111.698413 | 146 | 0.614561 |
b8f0a398cdbdadc163a60add784843d98af87cc2 | 998 | dart | Dart | test/actions_test.dart | grahamsmith/analyticsx | 7fe9cbd5fc27df729e1ea357f79e0e59b127f839 | [
"MIT"
] | 3 | 2021-08-24T08:23:25.000Z | 2021-08-24T13:39:19.000Z | test/actions_test.dart | grahamsmith/analyticsx | 7fe9cbd5fc27df729e1ea357f79e0e59b127f839 | [
"MIT"
] | 1 | 2021-09-04T11:24:54.000Z | 2021-09-04T11:24:54.000Z | test/actions_test.dart | grahamsmith/analyticsx | 7fe9cbd5fc27df729e1ea357f79e0e59b127f839 | [
"MIT"
] | 1 | 2021-08-17T11:58:05.000Z | 2021-08-17T11:58:05.000Z | import 'package:analyticsx/analytics_x.dart';
import 'package:test/test.dart';
import 'util/vendors_and_actions.dart';
void main() {
late AnalyticsX ax;
setUp(() {
ax = AnalyticsX();
});
tearDown(() {
ax.reset();
});
group('TrackEvent', () {
test('TrackEvent is recorded', () async {
c... | 24.95 | 80 | 0.658317 |
d24f4b07adfc887099578d50c6648e67053617c0 | 784 | php | PHP | application/models/Forgot_password_model.php | jamesl1500/sitelyftstudios | 2294b1b6d735a9e284bad4e7031a6987c96e9b2f | [
"MIT"
] | null | null | null | application/models/Forgot_password_model.php | jamesl1500/sitelyftstudios | 2294b1b6d735a9e284bad4e7031a6987c96e9b2f | [
"MIT"
] | null | null | null | application/models/Forgot_password_model.php | jamesl1500/sitelyftstudios | 2294b1b6d735a9e284bad4e7031a6987c96e9b2f | [
"MIT"
] | null | null | null | <?php
class Forgot_password_model extends CI_Model
{
function __construct()
{
parent::__construct();
$this->load->library('ForgotPasswordSystem');
}
public function makeRequest($string)
{
$password = new ForgotPasswordSystem();
$password->makePasswordRequest($string)... | 27.034483 | 92 | 0.637755 |
32c960a7730c18f7ac25a96fb49bb164214508cf | 1,260 | kt | Kotlin | src/main/kotlin/me/steven/indrev/items/energy/MachineBlockItem.kt | MCrafterzz/Industrial-Revolution | ba42d48c601e754ff3a263e98837bf8f4f531d2a | [
"Apache-2.0"
] | 152 | 2020-06-28T16:38:46.000Z | 2022-03-12T12:30:23.000Z | src/main/kotlin/me/steven/indrev/items/energy/MachineBlockItem.kt | MCrafterzz/Industrial-Revolution | ba42d48c601e754ff3a263e98837bf8f4f531d2a | [
"Apache-2.0"
] | 355 | 2020-06-29T11:06:16.000Z | 2022-03-31T22:43:30.000Z | src/main/kotlin/me/steven/indrev/items/energy/MachineBlockItem.kt | MCrafterzz/Industrial-Revolution | ba42d48c601e754ff3a263e98837bf8f4f531d2a | [
"Apache-2.0"
] | 70 | 2020-06-28T16:10:46.000Z | 2022-03-13T15:52:39.000Z | package me.steven.indrev.items.energy
import me.steven.indrev.api.machines.Tier
import me.steven.indrev.blocks.machine.MachineBlock
import me.steven.indrev.gui.tooltip.energy.EnergyTooltipDataProvider
import me.steven.indrev.utils.buildMachineTooltip
import net.minecraft.block.Block
import net.minecraft.client.item.To... | 38.181818 | 143 | 0.761111 |
4045b6386447c61868dabc592d76d2b351f1fe27 | 865 | py | Python | scarlet/scheduling/migrations/0001_initial.py | ff0000/scarlet | 6c37befd810916a2d7ffff2cdb2dab57bcb6d12e | [
"MIT"
] | 9 | 2015-10-13T04:35:56.000Z | 2017-03-16T19:00:44.000Z | scarlet/scheduling/migrations/0001_initial.py | ff0000/scarlet | 6c37befd810916a2d7ffff2cdb2dab57bcb6d12e | [
"MIT"
] | 32 | 2015-02-10T21:09:18.000Z | 2017-07-18T20:26:51.000Z | scarlet/scheduling/migrations/0001_initial.py | ff0000/scarlet | 6c37befd810916a2d7ffff2cdb2dab57bcb6d12e | [
"MIT"
] | 3 | 2017-07-13T13:32:21.000Z | 2019-04-08T20:18:58.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import scarlet.scheduling.fields
class Migration(migrations.Migration):
dependencies = [
('contenttypes', '0002_remove_content_type_name'),
]
operations = [
migrations.CreateModel(
... | 32.037037 | 114 | 0.603468 |
c7fa0df0b44ae364fd49aeacf76d44fe3d152dda | 25,914 | java | Java | src/main/java/org/ednovo/gooru/client/mvp/shelf/collection/tab/collaborators/CollectionCollaboratorsTabView.java | mitraj/Gooru-Web | 230d05e12bd3f5960b05bbe9687ecb5823f9c874 | [
"MIT"
] | null | null | null | src/main/java/org/ednovo/gooru/client/mvp/shelf/collection/tab/collaborators/CollectionCollaboratorsTabView.java | mitraj/Gooru-Web | 230d05e12bd3f5960b05bbe9687ecb5823f9c874 | [
"MIT"
] | null | null | null | src/main/java/org/ednovo/gooru/client/mvp/shelf/collection/tab/collaborators/CollectionCollaboratorsTabView.java | mitraj/Gooru-Web | 230d05e12bd3f5960b05bbe9687ecb5823f9c874 | [
"MIT"
] | null | null | null | /*******************************************************************************
* Copyright 2013 Ednovo d/b/a Gooru. All rights reserved.
*
* http://www.goorulearning.org/
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (... | 33.138107 | 215 | 0.734043 |
5d841f0b53f8f099f93e792b8b2f70f4ad338158 | 336 | go | Go | api/example/main.go | albertoleal/gofeature | 59e7d7e853e4288bc6e01b91adbd22efd5796f27 | [
"BSD-2-Clause"
] | 69 | 2015-11-04T14:56:44.000Z | 2022-01-13T06:12:17.000Z | api/example/main.go | albertoleal/gofeature | 59e7d7e853e4288bc6e01b91adbd22efd5796f27 | [
"BSD-2-Clause"
] | 15 | 2015-11-01T16:58:42.000Z | 2020-11-14T15:12:43.000Z | api/example/main.go | albertoleal/gofeature | 59e7d7e853e4288bc6e01b91adbd22efd5796f27 | [
"BSD-2-Clause"
] | 5 | 2015-11-17T01:42:06.000Z | 2016-08-13T12:32:27.000Z | // Copyright 2015 Features authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"github.com/albertoleal/features/api"
"github.com/albertoleal/features/engine/memory"
)
func main() {
api := api.NewApi(memory.New(... | 21 | 56 | 0.729167 |
2746092d16d12f0d43587b9e32b54c68668d1865 | 1,983 | kt | Kotlin | skiko/src/commonMain/kotlin/org/jetbrains/skia/paragraph/Shadow.kt | smallshen/Skiko_Open_Modifier | 04860cfe6d481b2d8ad2f8cd05d0efe931997f34 | [
"Apache-2.0"
] | null | null | null | skiko/src/commonMain/kotlin/org/jetbrains/skia/paragraph/Shadow.kt | smallshen/Skiko_Open_Modifier | 04860cfe6d481b2d8ad2f8cd05d0efe931997f34 | [
"Apache-2.0"
] | null | null | null | skiko/src/commonMain/kotlin/org/jetbrains/skia/paragraph/Shadow.kt | smallshen/Skiko_Open_Modifier | 04860cfe6d481b2d8ad2f8cd05d0efe931997f34 | [
"Apache-2.0"
] | null | null | null | package org.jetbrains.skia.paragraph
import org.jetbrains.skia.Point
class Shadow(val color: Int, val offsetX: Float, val offsetY: Float, val blurSigma: Double) {
constructor(color: Int, offset: Point, blurSigma: Double) : this(color, offset.x, offset.y, blurSigma) {}
val offset: Point
get() = Point... | 34.789474 | 109 | 0.637922 |
626ad0dba4ca562a84a6550f10eb2aa309676b55 | 17,571 | lua | Lua | source/liquid.lua | Ranguna/liq-d | 2f58c20bee1fb7af0351a15c5df3534d4db3fac0 | [
"MIT"
] | 9 | 2015-01-18T14:16:47.000Z | 2018-06-03T14:15:36.000Z | source/liquid.lua | Ranguna/liq-d | 2f58c20bee1fb7af0351a15c5df3534d4db3fac0 | [
"MIT"
] | null | null | null | source/liquid.lua | Ranguna/liq-d | 2f58c20bee1fb7af0351a15c5df3534d4db3fac0 | [
"MIT"
] | 1 | 2016-07-22T17:46:23.000Z | 2016-07-22T17:46:23.000Z | local liquid = {}
local dist = function(x1,y1,x2,y2)
if x2 and y2 then --two points
return math.sqrt((x1-x2)^2 + (y1-y2)^2)
else --vector
return math.sqrt(x1^2 + y1^2)
end
end
liquid._vars = {}
liquid._vars.touch = love.system.getOS() == 'Android' and {}
liquid._vars.threads = {}
-----
liquid._vars.maxParti... | 36.006148 | 206 | 0.704627 |
8a5a27b5ea84bba8cbca3d2e725aee3ea3c05ca3 | 12,142 | rs | Rust | src/sys/device_settings/src/main.rs | liexusong/fuchsia | 81897680af92a1848a063e3c20ff3a4892ccff07 | [
"BSD-2-Clause"
] | 3 | 2021-09-02T07:21:06.000Z | 2022-03-12T03:20:10.000Z | src/sys/device_settings/src/main.rs | liexusong/fuchsia | 81897680af92a1848a063e3c20ff3a4892ccff07 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/sys/device_settings/src/main.rs | liexusong/fuchsia | 81897680af92a1848a063e3c20ff3a4892ccff07 | [
"BSD-2-Clause"
] | 2 | 2022-02-25T12:22:49.000Z | 2022-03-12T03:20:10.000Z | // Copyright 2017 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 anyhow::{Context as _, Error};
use fuchsia_async as fasync;
use fuchsia_component::server::ServiceFs;
use fuchsia_syslog as syslog;
use fuchsia_syslog:... | 38.302839 | 98 | 0.504942 |
7fe2a04bcb9926c7cfbff683e31c8d7a2fe5b183 | 4,869 | go | Go | dec_calibrate_test.go | db47h/decimal | 83ef17a6ceecac491abc5b1ee4c7d62b3bd1913d | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 26 | 2020-05-28T02:00:20.000Z | 2022-01-24T07:16:12.000Z | dec_calibrate_test.go | db47h/decimal | 83ef17a6ceecac491abc5b1ee4c7d62b3bd1913d | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2020-05-28T14:06:39.000Z | 2020-05-28T14:41:30.000Z | dec_calibrate_test.go | db47h/decimal | 83ef17a6ceecac491abc5b1ee4c7d62b3bd1913d | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 3 | 2021-12-04T13:26:38.000Z | 2022-03-20T11:19:43.000Z | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Calibration used to determine thresholds for using
// different algorithms. Ideally, this would be converted
// to go generate to create thresholds.go
// T... | 27.664773 | 103 | 0.699733 |
5c3c55a432ef583f8ce1b3e78f2931672959f5c2 | 865 | h | C | tools/brcm/hndtools-mipsel-uclibc-0.9.19/include/linux/netfilter_ipv4/ipt_mport.h | enfoTek/tomato.linksys.e2000.nvram-mod | 2ce3a5217def49d6df7348522e2bfda702b56029 | [
"FSFAP"
] | 278 | 2015-11-03T03:01:20.000Z | 2022-01-20T18:21:05.000Z | tools/brcm/hndtools-mipsel-uclibc-0.9.19/include/linux/netfilter_ipv4/ipt_mport.h | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 374 | 2015-11-03T12:37:22.000Z | 2021-12-17T14:18:08.000Z | tools/brcm/hndtools-mipsel-uclibc-0.9.19/include/linux/netfilter_ipv4/ipt_mport.h | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 96 | 2015-11-22T07:47:26.000Z | 2022-01-20T19:52:19.000Z | #ifndef _IPT_MPORT_H
#define _IPT_MPORT_H
#include <linux/netfilter_ipv4/ip_tables.h>
#define IPT_MPORT_SOURCE (1<<0)
#define IPT_MPORT_DESTINATION (1<<1)
#define IPT_MPORT_EITHER (IPT_MPORT_SOURCE|IPT_MPORT_DESTINATION)
#define IPT_MULTI_PORTS 15
/* Must fit inside union ipt_matchinfo: 32 bytes */
/* every entry in... | 34.6 | 72 | 0.742197 |
3a06161849c1542a0824d0f5898b88923b62d454 | 4,869 | asm | Assembly | coverage/IN_CTS/0470-COVERAGE-brw-nir-opt-peephole-ffma-231/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 6a3672040dcfa0d164d313224446496d1775a15e | [
"Apache-2.0"
] | null | null | null | coverage/IN_CTS/0470-COVERAGE-brw-nir-opt-peephole-ffma-231/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 6a3672040dcfa0d164d313224446496d1775a15e | [
"Apache-2.0"
] | 47 | 2021-03-11T07:42:51.000Z | 2022-03-14T06:30:14.000Z | coverage/IN_CTS/0470-COVERAGE-brw-nir-opt-peephole-ffma-231/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 6a3672040dcfa0d164d313224446496d1775a15e | [
"Apache-2.0"
] | 4 | 2021-03-09T13:37:19.000Z | 2022-02-25T07:32:11.000Z | ; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 88
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %69
OpExecutionMode %4 OriginUp... | 34.778571 | 61 | 0.479154 |
8fc7de74b82bcc02dcb2e2f5fd2f76a87bc75a74 | 12,827 | swift | Swift | WePeiYang/PartyService/Controller/QuizTakingViewController.swift | twtstudio/WePeiYang-iOS-old | cf93f2ac090553d2d3ac5d9f5d2e7377723c4aef | [
"MIT"
] | 19 | 2016-08-11T04:08:10.000Z | 2020-10-16T23:47:28.000Z | WePeiYang/PartyService/Controller/QuizTakingViewController.swift | twtstudio/WePeiYang-iOS-old | cf93f2ac090553d2d3ac5d9f5d2e7377723c4aef | [
"MIT"
] | 1 | 2017-01-14T16:09:10.000Z | 2017-01-14T16:09:10.000Z | WePeiYang/PartyService/Controller/QuizTakingViewController.swift | twtstudio/WePeiYang-iOS-old | cf93f2ac090553d2d3ac5d9f5d2e7377723c4aef | [
"MIT"
] | 2 | 2016-08-13T03:03:02.000Z | 2017-06-08T06:56:30.000Z | //
// QuizTakingViewController.swift
// WePeiYang
//
// Created by Allen X on 8/24/16.
// Copyright © 2016 Qin Yubo. All rights reserved.
//
class QuizTakingViewController: UIViewController {
typealias Quiz = Courses.Study20.Quiz
var courseID: String? = nil
var currentQuizIndex = 0
//stat... | 38.635542 | 214 | 0.629609 |
90c650cd1a5d5efc781549309236edb6cd9b31e7 | 3,325 | dart | Dart | lib/main.dart | vikas-0/Distoptim | 1b0ea9d275f4798bdde54357f46c52e58a2807a1 | [
"MIT"
] | null | null | null | lib/main.dart | vikas-0/Distoptim | 1b0ea9d275f4798bdde54357f46c52e58a2807a1 | [
"MIT"
] | null | null | null | lib/main.dart | vikas-0/Distoptim | 1b0ea9d275f4798bdde54357f46c52e58a2807a1 | [
"MIT"
] | null | null | null | import 'package:dist_guesser_application/screen/about.dart';
import 'package:dist_guesser_application/screen/game.dart';
import 'package:dist_guesser_application/screen/leaderboard.dart';
import 'package:dist_guesser_application/screen/welcome.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:go... | 33.25 | 76 | 0.538947 |
0bc80f63508ab7bf37d2b65ca6150615bcbcc537 | 625 | js | JavaScript | resources/adminapp/js/store/store.js | Vong3432/webdev_test | 0ae804ce80ea8df9a0b5ffe0f133753f465ab1fb | [
"MIT"
] | null | null | null | resources/adminapp/js/store/store.js | Vong3432/webdev_test | 0ae804ce80ea8df9a0b5ffe0f133753f465ab1fb | [
"MIT"
] | 4 | 2021-02-02T18:10:05.000Z | 2022-02-27T10:09:18.000Z | resources/adminapp/js/store/store.js | petrcz26/laravel-php | 9aa8d6754b909139ac0a9c01640efc651b518aa4 | [
"MIT"
] | null | null | null | import Vue from 'vue'
import Vuex from 'vuex'
import Alert from './modules/alert'
import PermissionsIndex from './cruds/Permissions'
import PermissionsSingle from './cruds/Permissions/single'
import RolesIndex from './cruds/Roles'
import RolesSingle from './cruds/Roles/single'
import UsersIndex from './cruds/Users'
i... | 21.551724 | 58 | 0.7312 |
67213270dceb26b6f57fc532ab33daee0066bb87 | 2,100 | asm | Assembly | libs/CPC_V1_SimplePalette.asm | CurlyPaul/cpc-z80-twisting-tower | 7cdab1cb9871cd6248ae41e8e201f280d9bc1031 | [
"MIT"
] | 2 | 2021-07-06T14:03:11.000Z | 2021-07-06T22:16:43.000Z | libs/CPC_V1_SimplePalette.asm | CurlyPaul/cpc-z80-twisting-tower | 7cdab1cb9871cd6248ae41e8e201f280d9bc1031 | [
"MIT"
] | null | null | null | libs/CPC_V1_SimplePalette.asm | CurlyPaul/cpc-z80-twisting-tower | 7cdab1cb9871cd6248ae41e8e201f280d9bc1031 | [
"MIT"
] | null | null | null | ;;********************************************************************************************
;; Originally based an example at http://www.cpcwiki.eu/index.php/Programming An_example_loader
;;********************************************************************************************
ColourPalette: ; hardware colours... | 31.343284 | 95 | 0.612381 |
83d924271ecdc5c5d8442e70bf9d2baf9b133a53 | 1,422 | rs | Rust | crypto-primitives/src/commitment/injective_map/mod.rs | AleoHQ/zexe | d190054f587791da790d372be62867809e251f12 | [
"Apache-2.0",
"MIT"
] | 3 | 2020-03-29T19:59:17.000Z | 2020-09-10T02:53:31.000Z | crypto-primitives/src/commitment/injective_map/mod.rs | AleoHQ/zexe | d190054f587791da790d372be62867809e251f12 | [
"Apache-2.0",
"MIT"
] | null | null | null | crypto-primitives/src/commitment/injective_map/mod.rs | AleoHQ/zexe | d190054f587791da790d372be62867809e251f12 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-11-17T07:29:00.000Z | 2021-11-17T07:29:00.000Z | use crate::Error;
use core::marker::PhantomData;
use rand::Rng;
use super::{
pedersen::{PedersenCommitment, PedersenParameters, PedersenRandomness, PedersenWindow},
CommitmentScheme,
};
pub use crate::crh::injective_map::InjectiveMap;
use algebra_core::groups::Group;
#[cfg(feature = "r1cs")]
pub mod constrain... | 29.625 | 91 | 0.644163 |
e9cc0f00615f859f2b812a0f14a79897624a8ca8 | 2,885 | rb | Ruby | Formula/gst-plugins-rs.rb | gerardbosch/homebrew-core | c6001df23bacf2ee9c42896733d8ceb921043649 | [
"BSD-2-Clause"
] | null | null | null | Formula/gst-plugins-rs.rb | gerardbosch/homebrew-core | c6001df23bacf2ee9c42896733d8ceb921043649 | [
"BSD-2-Clause"
] | null | null | null | Formula/gst-plugins-rs.rb | gerardbosch/homebrew-core | c6001df23bacf2ee9c42896733d8ceb921043649 | [
"BSD-2-Clause"
] | null | null | null | class GstPluginsRs < Formula
desc "GStreamer plugins written in Rust"
homepage "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
url "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/archive/0.8.4/gst-plugins-rs-0.8.4.tar.bz2"
sha256 "c3499bb73d44f93f0d5238a09e121bef96750e8869651e09daaee5777c2e... | 41.214286 | 164 | 0.697747 |
40082050b9c3faca6067b136031f88848ae20ba2 | 5,651 | py | Python | ooobuild/csslo/beans/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/csslo/beans/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/csslo/beans/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
#
# Copyright 2022 :Barry-Thomas-Paul: Moss
#
# 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 applicab... | 75.346667 | 126 | 0.860379 |
c473594572b3f66fe685a26a1ed340f0247a0266 | 15,700 | c | C | devices-framework/riot-app/riot/cpu/nrf5x_common/radio/nrfmin/nrfmin.c | bench-os/bench-os | 38ade08e097ca215f7465047dfa70503af11d612 | [
"MIT"
] | 1 | 2020-02-21T09:16:17.000Z | 2020-02-21T09:16:17.000Z | extension-framework/riot-app/riot/cpu/nrf5x_common/radio/nrfmin/nrfmin.c | bench-os/bench-os | 38ade08e097ca215f7465047dfa70503af11d612 | [
"MIT"
] | null | null | null | extension-framework/riot-app/riot/cpu/nrf5x_common/radio/nrfmin/nrfmin.c | bench-os/bench-os | 38ade08e097ca215f7465047dfa70503af11d612 | [
"MIT"
] | 1 | 2020-02-21T09:21:45.000Z | 2020-02-21T09:21:45.000Z | /*
* Copyright (C) 2015-2017 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_nrf5x_nrfmin
* @{
*
* @file
* @brief Implementat... | 27.836879 | 80 | 0.609936 |
d2ac4d7eae9a3ea569d5e5eab3a05a9c89ccc975 | 4,765 | php | PHP | tests/ResponseTest.php | IngeniozIT/psr-http-message | aefc35110274b631d9c1cabec83872ea6fbf5b76 | [
"MIT"
] | null | null | null | tests/ResponseTest.php | IngeniozIT/psr-http-message | aefc35110274b631d9c1cabec83872ea6fbf5b76 | [
"MIT"
] | 1 | 2019-09-07T17:14:21.000Z | 2019-09-07T17:14:21.000Z | tests/ResponseTest.php | IngeniozIT/psr-http-message | aefc35110274b631d9c1cabec83872ea6fbf5b76 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace IngeniozIT\Http\Message\Tests;
use IngeniozIT\Http\Message\Tests\MessageTest;
use Psr\Http\Message\ResponseInterface;
/**
* @coversDefaultClass \IngeniozIT\Http\Message\Response
*/
class ResponseTest extends MessageTest
{
// ========================================== /... | 34.528986 | 94 | 0.59937 |
e9c4a9b3119218eb8b428f815de1fd48df366702 | 2,020 | go | Go | service/excel/excel.go | wimgithub/filfox_data | fae3af4ac720889137b4599bba10e88cdc22f0ba | [
"MIT"
] | 2 | 2021-01-05T06:35:04.000Z | 2021-07-08T08:19:02.000Z | service/excel/excel.go | wimgithub/filfox_data | fae3af4ac720889137b4599bba10e88cdc22f0ba | [
"MIT"
] | null | null | null | service/excel/excel.go | wimgithub/filfox_data | fae3af4ac720889137b4599bba10e88cdc22f0ba | [
"MIT"
] | 1 | 2021-05-24T16:14:37.000Z | 2021-05-24T16:14:37.000Z | package excel
import (
model "filfox_data/models"
"filfox_data/models/mysql"
"fmt"
"github.com/gin-gonic/gin"
"github.com/tealeg/xlsx"
"sort"
"time"
)
func (a Datas) Len() int { return len(a) }
func (a Datas) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
func (a Datas) Less(i, j int) bool { return ... | 33.666667 | 92 | 0.451485 |
8a4712e12723d26b5f4c5ac422325cc090852ec3 | 710 | kt | Kotlin | src/commonTest/kotlin/com/soywiz/kpspemu/format/PbpTest.kt | soywiz/kpspemu | 5ad15d161bef8baa40961ee508643306d933a50a | [
"MIT"
] | 63 | 2017-10-29T23:49:58.000Z | 2022-03-27T10:47:11.000Z | src/commonTest/kotlin/com/soywiz/kpspemu/format/PbpTest.kt | soywiz/kpspemu | 5ad15d161bef8baa40961ee508643306d933a50a | [
"MIT"
] | 16 | 2017-11-21T19:09:41.000Z | 2017-12-07T16:13:02.000Z | src/commonTest/kotlin/com/soywiz/kpspemu/format/PbpTest.kt | soywiz/kpspemu | 5ad15d161bef8baa40961ee508643306d933a50a | [
"MIT"
] | 6 | 2018-03-10T01:28:20.000Z | 2021-11-18T20:04:30.000Z | package com.soywiz.kpspemu.format
import com.soywiz.korio.file.std.*
import com.soywiz.korio.stream.*
import com.soywiz.kpspemu.*
import com.soywiz.kpspemu.format.elf.*
import kotlin.test.*
class PbpTest : BaseTest() {
@Test
fun name() = pspSuspendTest {
val pbp = Pbp.load(resourcesVfs["lines.pbp"].op... | 37.368421 | 97 | 0.666197 |
39c12c35921ad75a0f2459108d88ef875c82f4a2 | 2,215 | js | JavaScript | lib/templates/default_player.js | jsa-research/embedza | ae14d877833e5f0b0c9d01b95431883ce171ea23 | [
"MIT"
] | 54 | 2015-09-28T20:01:38.000Z | 2021-12-16T14:11:43.000Z | lib/templates/default_player.js | jsa-research/embedza | ae14d877833e5f0b0c9d01b95431883ce171ea23 | [
"MIT"
] | 6 | 2015-08-20T14:42:10.000Z | 2017-06-08T01:43:44.000Z | lib/templates/default_player.js | jsa-research/embedza | ae14d877833e5f0b0c9d01b95431883ce171ea23 | [
"MIT"
] | 6 | 2018-07-07T10:51:30.000Z | 2021-04-30T21:35:17.000Z | 'use strict';
module.exports = `<%
var player = _.find(self.snippets, snippet => {
return snippet.tags.indexOf('player') !== -1 && snippet.tags.indexOf('html5') !== -1;
});
var desiredThumbnailWidth = 480;
var thumbnail = _.chain(self.snippets)
// Get thumbnails
.filter(snippet => snippet.tags.indexOf('thumbna... | 31.642857 | 128 | 0.609029 |
f9d57aa5a20834b102eda661ef7aface04360667 | 200 | sql | SQL | core/src/main/resources/schema/app/20160628142654_CLOUD-59100_remove_service_componenttype.sql | anmolnar/cloudbreak | 81e18cca143c30389ecf4958b1a4dcae211bddf4 | [
"Apache-2.0"
] | 174 | 2017-07-14T03:20:42.000Z | 2022-03-25T05:03:18.000Z | core/src/main/resources/schema/app/20160628142654_CLOUD-59100_remove_service_componenttype.sql | anmolnar/cloudbreak | 81e18cca143c30389ecf4958b1a4dcae211bddf4 | [
"Apache-2.0"
] | 2,242 | 2017-07-12T05:52:01.000Z | 2022-03-31T15:50:08.000Z | core/src/main/resources/schema/app/20160628142654_CLOUD-59100_remove_service_componenttype.sql | anmolnar/cloudbreak | 81e18cca143c30389ecf4958b1a4dcae211bddf4 | [
"Apache-2.0"
] | 172 | 2017-07-12T08:53:48.000Z | 2022-03-24T12:16:33.000Z | -- // CLOUD-61094_remove_service_componenttype
-- Migration SQL that makes the change goes here.
DELETE FROM component WHERE componenttype='SERVICE';
-- //@UNDO
-- SQL to undo the change goes here.
| 25 | 52 | 0.755 |
05c0afd45cd7671e84fa6f67815b314e8517fa5a | 188 | rb | Ruby | test/mailers/previews/vehicle_report_card_mailer_preview.rb | JohnRenzone/AutoTracker | 35ee6de18a3b0ef6817d316627161f4ed853614a | [
"MIT"
] | 1 | 2019-01-08T18:59:23.000Z | 2019-01-08T18:59:23.000Z | test/mailers/previews/vehicle_report_card_mailer_preview.rb | JohnRenzone/AutoTracker | 35ee6de18a3b0ef6817d316627161f4ed853614a | [
"MIT"
] | null | null | null | test/mailers/previews/vehicle_report_card_mailer_preview.rb | JohnRenzone/AutoTracker | 35ee6de18a3b0ef6817d316627161f4ed853614a | [
"MIT"
] | null | null | null | class VehicleReportCardMailerPreview < ActionMailer::Preview
def email_report_card
VehicleReportCardMailer.email_report_card(VehicleReportCard.first,nil, Dealership.first)
end
end | 31.333333 | 92 | 0.851064 |
fe46da7d06d23aad9b38e8dc9d9a6ef2652cef98 | 217 | h | C | Samples/Objc-Sample01/iOS-Sample01/ViewController.h | IngeoSDK/ingeo-ios-sdk | d4e2c10da7dd20877e018c41222cd6cd5d42740a | [
"Apache-2.0"
] | 116 | 2015-02-13T17:29:21.000Z | 2021-12-24T10:19:28.000Z | Samples/Objc-Sample01/iOS-Sample01/ViewController.h | IngeoSDK/ingeo-ios-sdk | d4e2c10da7dd20877e018c41222cd6cd5d42740a | [
"Apache-2.0"
] | 4 | 2016-09-29T07:07:57.000Z | 2019-06-23T10:28:45.000Z | Samples/Objc-Sample01/iOS-Sample01/ViewController.h | IngeoSDK/ingeo-ios-sdk | d4e2c10da7dd20877e018c41222cd6cd5d42740a | [
"Apache-2.0"
] | 12 | 2015-02-16T16:09:21.000Z | 2019-06-15T19:30:18.000Z | //
// ViewController.h
// iOS-Sample01
//
// Created by Amit Palomo on 12/29/14.
// Copyright (c) 2014 Ingeo. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 13.5625 | 50 | 0.682028 |
ffa37904f4582edb22ad8a2c84a5d31327ae5749 | 136 | sql | SQL | src/main/resources/liquibase/harness/change/expectedSql/mariadb/alterSequenceCycleProperty.sql | kevin-at-datical/liquibase-test-harness | b3625d7429d092ab70508f9f92442e9e449918a7 | [
"Apache-2.0"
] | null | null | null | src/main/resources/liquibase/harness/change/expectedSql/mariadb/alterSequenceCycleProperty.sql | kevin-at-datical/liquibase-test-harness | b3625d7429d092ab70508f9f92442e9e449918a7 | [
"Apache-2.0"
] | null | null | null | src/main/resources/liquibase/harness/change/expectedSql/mariadb/alterSequenceCycleProperty.sql | kevin-at-datical/liquibase-test-harness | b3625d7429d092ab70508f9f92442e9e449918a7 | [
"Apache-2.0"
] | null | null | null | CREATE SEQUENCE lbcat.test_sequence INCREMENT BY 1 MINVALUE 1 MAXVALUE 100 START WITH 1 CYCLE
ALTER SEQUENCE lbcat.test_sequence NOCYCLE | 68 | 93 | 0.860294 |
56de9fecb0432cc63e82f0189d27a993a3c92655 | 435 | go | Go | pkg/forwarder/audit_log.go | jjfallete/cb-event-forwarder | b6db42f5253f3376ff0fda42d408ca9d13b12c60 | [
"MIT"
] | 73 | 2015-09-29T20:05:40.000Z | 2022-02-28T04:02:21.000Z | pkg/forwarder/audit_log.go | jjfallete/cb-event-forwarder | b6db42f5253f3376ff0fda42d408ca9d13b12c60 | [
"MIT"
] | 144 | 2015-07-20T16:43:37.000Z | 2022-03-14T17:13:12.000Z | pkg/forwarder/audit_log.go | jjfallete/cb-event-forwarder | b6db42f5253f3376ff0fda42d408ca9d13b12c60 | [
"MIT"
] | 50 | 2015-09-28T21:17:35.000Z | 2022-03-14T16:18:01.000Z | package forwarder
import (
"encoding/json"
)
type AuditLogEvent struct {
Message string `json:"message"`
Type string `json:"type"`
CbServer string `json:"cb_server"`
}
func (auditLogEvent AuditLogEvent) asJson() ([]byte, error) {
return json.Marshal(auditLogEvent)
}
func NewAuditLogEvent(message, logType,... | 21.75 | 76 | 0.749425 |
1fce3a9b691ff70af026eec74770fdc90e57fffe | 929 | swift | Swift | SberbankHomeworks/Lection 11/Lection 11/Lection 11/ViewController.swift | KirstonMoon/SberbankHomeworks | 59eb5dab256e39d2cc16f1513ad353df4ec13720 | [
"MIT"
] | null | null | null | SberbankHomeworks/Lection 11/Lection 11/Lection 11/ViewController.swift | KirstonMoon/SberbankHomeworks | 59eb5dab256e39d2cc16f1513ad353df4ec13720 | [
"MIT"
] | null | null | null | SberbankHomeworks/Lection 11/Lection 11/Lection 11/ViewController.swift | KirstonMoon/SberbankHomeworks | 59eb5dab256e39d2cc16f1513ad353df4ec13720 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// Lection 11
//
// Created by Kirill Magerya on 19.05.2021.
//
import UIKit
final class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = .systemBackground
navigationItem.leftBarButt... | 29.967742 | 117 | 0.594187 |
9938b49b12c78a62440a8b51ded84f1374e7d5c5 | 1,720 | h | C | text/class_hierarchy_serialization.h | melardev/CppBoostSerializationSnippets | e87d30719311a318f2505bdfc5bead843ed4f3b0 | [
"MIT"
] | null | null | null | text/class_hierarchy_serialization.h | melardev/CppBoostSerializationSnippets | e87d30719311a318f2505bdfc5bead843ed4f3b0 | [
"MIT"
] | null | null | null | text/class_hierarchy_serialization.h | melardev/CppBoostSerializationSnippets | e87d30719311a318f2505bdfc5bead843ed4f3b0 | [
"MIT"
] | null | null | null | #pragma once
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <iostream>
#include <sstream>
namespace ClassHierarchySerialization
{
const int PACKET_TYPE_MOVEMENT = 1;
const int PACKET_TYPE_SHOT = 2;
const int PACKET_TYPE_EXIT_GAME = 3;
std::stringstream ss;
class ... | 19.325843 | 80 | 0.684302 |
dd4d94cc37f5e3ddbbc301d2e84c21e6c02a492d | 1,089 | dart | Dart | lib/presentation/common/selectable/cupertino_selectable.dart | abe2602/comic_organizer | 87e236398b2a7129867135c5692967fd77fafc0f | [
"MIT"
] | null | null | null | lib/presentation/common/selectable/cupertino_selectable.dart | abe2602/comic_organizer | 87e236398b2a7129867135c5692967fd77fafc0f | [
"MIT"
] | null | null | null | lib/presentation/common/selectable/cupertino_selectable.dart | abe2602/comic_organizer | 87e236398b2a7129867135c5692967fd77fafc0f | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
/// Makes the child widget selectable and gives it the visual feedback of
/// the selection.
class CupertinoSelectable extends StatefulWidget {
const CupertinoSelectable({@required this.child, Key key, this.onTap})
: assert(child !=... | 26.560976 | 73 | 0.679522 |
b95fbfcbb614fc92154b92abcbc43aecaf7800d1 | 1,237 | asm | Assembly | src/menu_items.asm | onslaught-demogroup/ons_paddo_music_disk | 6a945f918fd1220b325385d14327b5e1ee86295d | [
"MIT"
] | null | null | null | src/menu_items.asm | onslaught-demogroup/ons_paddo_music_disk | 6a945f918fd1220b325385d14327b5e1ee86295d | [
"MIT"
] | null | null | null | src/menu_items.asm | onslaught-demogroup/ons_paddo_music_disk | 6a945f918fd1220b325385d14327b5e1ee86295d | [
"MIT"
] | null | null | null | .var menu_x = 2
.var menu_y = 3
.var menu_h = 20
.var menu_w = 11
.var item_w = 50
menu_screen_lo:
.pc=* "menu_screen_lo"
.for(var i=0;i<menu_h;i++){
.byte <($0400 + (menu_y * $28) + menu_x + (i * $28))
}
menu_screen_hi:
.pc=* "menu_screen_hi"
.for(var i=0;i<menu_h;i++){
.byte >($0400 + (menu_y * $28) + menu_... | 19.951613 | 57 | 0.549717 |
44cce064cccff3040b53ee9c32ad961566e75bd4 | 30 | cql | SQL | blog/src/main/resources/config/cql/drop-keyspace.cql | mraible/devoxxus-jhipster-microservices-demo | 286f5644ab5b717049db3d66f4a2b152a7397d78 | [
"Apache-2.0"
] | 10 | 2017-03-23T03:29:09.000Z | 2019-04-14T04:31:08.000Z | blog/src/main/resources/config/cql/drop-keyspace.cql | mraible/devoxxus-jhipster-microservices-demo | 286f5644ab5b717049db3d66f4a2b152a7397d78 | [
"Apache-2.0"
] | null | null | null | blog/src/main/resources/config/cql/drop-keyspace.cql | mraible/devoxxus-jhipster-microservices-demo | 286f5644ab5b717049db3d66f4a2b152a7397d78 | [
"Apache-2.0"
] | 4 | 2017-06-12T16:30:08.000Z | 2017-10-04T20:27:36.000Z | DROP KEYSPACE IF EXISTS blog;
| 15 | 29 | 0.8 |
ddadc3c94f9f3088e18b4b5e8857bc1dad7c9fdf | 3,195 | php | PHP | console/run.php | oyym123/oyym | 0c058677a5e1cfcda8f0ab997d1e7e6d9002226c | [
"BSD-3-Clause"
] | 1 | 2020-06-02T16:37:25.000Z | 2020-06-02T16:37:25.000Z | console/run.php | oyym123/oyym | 0c058677a5e1cfcda8f0ab997d1e7e6d9002226c | [
"BSD-3-Clause"
] | null | null | null | console/run.php | oyym123/oyym | 0c058677a5e1cfcda8f0ab997d1e7e6d9002226c | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* PHP crontab
* 使用方法:在config.ini中配置要执行的计划任务
* 在php-cli执行run.php
* @author Devil
**/
while(true){
$config = parse_ini_file('./config/crontab.php',true);
foreach($config as $cronName=>$info){
if(array_key_exists('log_dir',$info) && !empty($info['log_dir'])){
$outputCom... | 27.076271 | 91 | 0.546166 |
28144a9e146f5d9d4e6707a9dab9cf11b376d98c | 203 | go | Go | src/tools/dnsenum/programName_test.go | Asymmetric-Effort/asymmetric-toolkit | 64dab0a64b274ade31f14e1d8c0be0a58b33726c | [
"MIT"
] | 1 | 2021-01-28T19:44:02.000Z | 2021-01-28T19:44:02.000Z | src/tools/dnsenum/programName_test.go | Asymmetric-Effort/asymmetric-toolkit | 64dab0a64b274ade31f14e1d8c0be0a58b33726c | [
"MIT"
] | null | null | null | src/tools/dnsenum/programName_test.go | Asymmetric-Effort/asymmetric-toolkit | 64dab0a64b274ade31f14e1d8c0be0a58b33726c | [
"MIT"
] | 1 | 2021-01-30T02:42:09.000Z | 2021-01-30T02:42:09.000Z | package main
import (
"asymmetric-effort/asymmetric-toolkit/src/common/errors"
"testing"
)
func TestProgramName(t *testing.T){
errors.Assert(ProgramName=="dnsName","dnsName program name mismatch")
} | 20.3 | 70 | 0.768473 |
7ba4a118e97d0b5cf1bcb6e89bf10da6753c347f | 160 | css | CSS | styles.css | microhod/ball-simulator | 62a35962d307459ef6b69f3ffab3dbfeb76793aa | [
"MIT"
] | null | null | null | styles.css | microhod/ball-simulator | 62a35962d307459ef6b69f3ffab3dbfeb76793aa | [
"MIT"
] | 1 | 2022-02-13T22:01:15.000Z | 2022-02-13T22:01:15.000Z | styles.css | microhod/ball-simulator | 62a35962d307459ef6b69f3ffab3dbfeb76793aa | [
"MIT"
] | null | null | null | h1 {
text-align: center;
}
body {
background: gray;
color: white;
}
canvas {
background: white;
padding: 0;
margin: 0 auto;
display: block;
}
| 10 | 21 | 0.60625 |
5f10558e08319c71626f8a220362b61ae7c77b43 | 481 | sql | SQL | typz-all/typz-web/src/main/resources/dbmigrate/mysql/shop/V0_0_4__t_sh_goods_price.sql | prayjourney/typz-backend | 4d8fbecc31eeb15f39e7cb800a1672df78eb078c | [
"Apache-2.0"
] | 39 | 2016-05-04T09:11:39.000Z | 2021-06-12T11:37:08.000Z | typz-all/typz-web/src/main/resources/dbmigrate/mysql/shop/V0_0_4__t_sh_goods_price.sql | prayjourney/typz-backend | 4d8fbecc31eeb15f39e7cb800a1672df78eb078c | [
"Apache-2.0"
] | 1 | 2016-05-04T01:17:31.000Z | 2016-05-04T01:17:31.000Z | typz-all/typz-web/src/main/resources/dbmigrate/mysql/shop/V0_0_4__t_sh_goods_price.sql | izhbg/typz | 4d8fbecc31eeb15f39e7cb800a1672df78eb078c | [
"Apache-2.0"
] | 32 | 2016-05-04T09:35:54.000Z | 2020-03-08T06:40:23.000Z | CREATE TABLE `t_sh_goods_price` (
`id` varchar(50) NOT NULL,
`goods_id` varchar(50) DEFAULT NULL,
`version` int(11) DEFAULT NULL,
`price_type` int(11) DEFAULT NULL,
`price` double DEFAULT NULL,
`del_status` int(11) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`create_user` varchar(50) DEFA... | 28.294118 | 42 | 0.694387 |
c3bf259354f78d93c30e5a289627a76c0494e9db | 1,571 | go | Go | engine/engine_manager.go | qingmingliang/baudengine | 6f1a1790033c54414af56ac220cb3a0de016c9ca | [
"Apache-2.0"
] | null | null | null | engine/engine_manager.go | qingmingliang/baudengine | 6f1a1790033c54414af56ac220cb3a0de016c9ca | [
"Apache-2.0"
] | null | null | null | engine/engine_manager.go | qingmingliang/baudengine | 6f1a1790033c54414af56ac220cb3a0de016c9ca | [
"Apache-2.0"
] | null | null | null | package engine
import (
"errors"
"fmt"
)
var (
engines map[string]EngineBuilder
ErrorNameInvalid = errors.New("Registration name is invalid")
)
func init() {
engines = make(map[string]EngineBuilder, 8)
}
// EngineBuilder is used to build the engine.
type EngineBuilder func(cfg EngineConfig) (Engine, error)
/... | 23.102941 | 94 | 0.714831 |
502eafc92ada65166056ff9b6f4fce16b3df7677 | 371 | go | Go | pkg/harbor_test.go | spotmaxtech/mcrepo | 2e46da49652932d815b0c36e9168cfd7b8a587c4 | [
"MIT"
] | 1 | 2022-02-18T01:28:34.000Z | 2022-02-18T01:28:34.000Z | pkg/harbor_test.go | spotmaxtech/mcrepo | 2e46da49652932d815b0c36e9168cfd7b8a587c4 | [
"MIT"
] | null | null | null | pkg/harbor_test.go | spotmaxtech/mcrepo | 2e46da49652932d815b0c36e9168cfd7b8a587c4 | [
"MIT"
] | null | null | null | package pkg
import (
"testing"
)
func TestHarborRegistry_ListRepo(t *testing.T) {
InitConfig()
InitHarborRegistryMap(GMcrepoConfig.Harbor)
HarborRegistryMap["second"].ListRepo()
}
func TestHarborRegistry_ListRepoTag(t *testing.T) {
InitConfig()
InitHarborRegistryMap(GMcrepoConfig.Harbor)
HarborRegistryMap["se... | 21.823529 | 71 | 0.797844 |
550f70defe3ad5f0e9f3fbae7f0943faa33de2b5 | 3,004 | swift | Swift | Sources/TensorFlow/Epochs/Slices.swift | vguerra/swift-apis | 215c1380874c55d2f12ae81ce78968f9e25ed723 | [
"Apache-2.0"
] | 848 | 2019-02-12T00:27:29.000Z | 2022-01-26T04:41:50.000Z | Sources/TensorFlow/Epochs/Slices.swift | BradLarson/swift-apis | 02f31d531cbbfbd72de2b2f288f24f8645ee5bcb | [
"Apache-2.0"
] | 698 | 2019-02-12T12:35:54.000Z | 2022-01-25T00:48:53.000Z | Sources/TensorFlow/Epochs/Slices.swift | ProfFan/swift-apis | f51ee4618d652a2419e998bf9418ad80bda67454 | [
"Apache-2.0"
] | 181 | 2019-02-12T00:33:34.000Z | 2021-12-05T19:15:55.000Z | // Copyright 2020 The TensorFlow Authors. 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 b... | 35.341176 | 80 | 0.688748 |
3c04d02a1594adb67758ef9b7bbabd6719e68ba3 | 1,663 | dart | Dart | flutter/lib/module_auth/ui/states/login_states/login_state_error.dart | aliomom/tourist | a187fd724c0a607d3f28981abfe2a4154197dac0 | [
"MIT"
] | null | null | null | flutter/lib/module_auth/ui/states/login_states/login_state_error.dart | aliomom/tourist | a187fd724c0a607d3f28981abfe2a4154197dac0 | [
"MIT"
] | 1 | 2020-07-19T13:04:49.000Z | 2020-07-19T13:04:49.000Z | flutter/lib/module_auth/ui/states/login_states/login_state_error.dart | aliomom/tourist | a187fd724c0a607d3f28981abfe2a4154197dac0 | [
"MIT"
] | 2 | 2021-03-14T19:09:03.000Z | 2021-04-29T18:55:47.000Z | import 'package:tourists/module_auth/enums/user_type.dart';
import 'package:tourists/module_auth/ui/screen/login_screen/login_screen.dart';
import 'package:tourists/module_auth/ui/states/login_states/login_state.dart';
import 'package:tourists/module_auth/ui/widget/phone_email_link_login/phone_email_link_login.dart';
i... | 30.796296 | 99 | 0.603127 |
393ef164b5a04b6ac1b5c03f92fb406145d7a89b | 589 | html | HTML | src/app/components/svg/svg-video/svg-video.component.html | AshleyJSheridan/a11y-checklist | afe36d79c04b47d68b2cad2de5cd1fd7f8f449f0 | [
"MIT"
] | 1 | 2021-05-05T07:07:05.000Z | 2021-05-05T07:07:05.000Z | src/app/components/svg/svg-video/svg-video.component.html | AshleyJSheridan/a11y-checklist | afe36d79c04b47d68b2cad2de5cd1fd7f8f449f0 | [
"MIT"
] | 10 | 2020-12-07T23:53:58.000Z | 2022-02-27T06:53:13.000Z | src/app/components/svg/svg-video/svg-video.component.html | AshleyJSheridan/a11y-checklist | afe36d79c04b47d68b2cad2de5cd1fd7f8f449f0 | [
"MIT"
] | 2 | 2021-02-01T13:50:24.000Z | 2021-05-05T07:07:11.000Z | <svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="0 0 300 300" version="1.1" fill="none" stroke="#000000" stroke-linejoin="round" role="img" aria-hidden="true">
<g transform="scale(.9), translate(15,0)">
<rect width="284.62003" height="169.65601" x="10.525463" y="121.13264" ry="0.1311852"/>
... | 73.625 | 184 | 0.665535 |
b9683f4055e4ce2131547f9f56e936b497bf2d8c | 2,312 | h | C | src/comet/core/engine.h | m4jr0/gameengine | 8b63893ac65c5853852c1418550d2772c22cd10f | [
"MIT"
] | 2 | 2018-09-15T21:18:26.000Z | 2018-10-03T14:28:26.000Z | src/comet/core/engine.h | m4jr0/gameengine | 8b63893ac65c5853852c1418550d2772c22cd10f | [
"MIT"
] | null | null | null | src/comet/core/engine.h | m4jr0/gameengine | 8b63893ac65c5853852c1418550d2772c22cd10f | [
"MIT"
] | null | null | null | // Copyright 2021 m4jr0. All Rights Reserved.
// Use of this source code is governed by the MIT
// license that can be found in the LICENSE file.
#ifndef COMET_COMET_CORE_ENGINE_H_
#define COMET_COMET_CORE_ENGINE_H_
#include "comet/event/event_manager.h"
#include "comet/game_object/camera/camera.h"
#include "comet/ga... | 30.826667 | 76 | 0.757785 |
92ea1daa3f1ef029ceae99ea45737d0196b3a8be | 22,357 | c | C | patricialib/Patricia.c | trijezdci/C-Collections | 0d5671846f59f3bba69793004648cc1c3bf78800 | [
"BSD-3-Clause"
] | 1 | 2021-08-06T02:47:18.000Z | 2021-08-06T02:47:18.000Z | patricialib/Patricia.c | trijezdci/C-Collections | 0d5671846f59f3bba69793004648cc1c3bf78800 | [
"BSD-3-Clause"
] | null | null | null | patricialib/Patricia.c | trijezdci/C-Collections | 0d5671846f59f3bba69793004648cc1c3bf78800 | [
"BSD-3-Clause"
] | 2 | 2021-08-06T02:47:37.000Z | 2021-12-16T12:25:48.000Z | /* Patricia Trie Library
*
* @file Patricia.h
* Patricia implementation
*
* Universal Patricia Trie
*
* Author: Benjamin Kowarsch
*
* Copyright (C) 2009 Benjamin Kowarsch. All rights reserved.
*
* License:
*
* Redistribution and use in source and binary forms, with or without
* modificatio... | 34.028919 | 78 | 0.528425 |
90ed2a5b899de00b1000351d64609b10108834bb | 7,137 | py | Python | db_utils.py | timwoj/tlmbot | 4a4a4f4db18dc6e1e49cf549644d980211e5fe8a | [
"MIT"
] | null | null | null | db_utils.py | timwoj/tlmbot | 4a4a4f4db18dc6e1e49cf549644d980211e5fe8a | [
"MIT"
] | 9 | 2021-12-17T03:02:10.000Z | 2022-03-16T04:52:46.000Z | db_utils.py | timwoj/tlmbot | 4a4a4f4db18dc6e1e49cf549644d980211e5fe8a | [
"MIT"
] | null | null | null | import os
import sqlite3
import sys
import unittest
from furl import furl
from urllib.parse import urlparse,parse_qs
from datetime import datetime
def connect(path, read_only):
full_path = path
if read_only:
full_path = f'file:{path}?mode=ro'
conn = None
try:
conn = sqlite3.connect(f... | 29.491736 | 146 | 0.593667 |
fcb72d7db73df5923c991fc1da23a93973eeb2b4 | 589 | dart | Dart | lib/src/api/model/connect/settings_payouts_schedule.dart | DeadBryam/stripe-dart | 3b15e1f07329e75bb795cb6930c957096bd0543d | [
"MIT"
] | 8 | 2020-08-20T06:49:39.000Z | 2021-04-27T17:20:51.000Z | lib/src/api/model/connect/settings_payouts_schedule.dart | DeadBryam/stripe-dart | 3b15e1f07329e75bb795cb6930c957096bd0543d | [
"MIT"
] | 6 | 2020-05-25T15:44:41.000Z | 2021-02-22T18:35:17.000Z | lib/src/api/model/connect/settings_payouts_schedule.dart | DeadBryam/stripe-dart | 3b15e1f07329e75bb795cb6930c957096bd0543d | [
"MIT"
] | 6 | 2020-07-15T22:41:42.000Z | 2021-12-13T17:39:32.000Z | import 'package:json_annotation/json_annotation.dart';
part 'settings_payouts_schedule.g.dart';
@JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)
class SettingsPayoutsSchedule {
int? delayDays;
String? interval;
int? monthlyAnchor;
String? weeklyAnchor;
SettingsPayoutsSchedule(
... | 32.722222 | 78 | 0.782683 |
2a8ea255e03078fb2f3c8e73ed2cd777e02330e2 | 2,335 | java | Java | src/model/Book.java | Arique69/perpustakaan-pbo | 63db2fcd2b770f0ab9a388c239bd9b6407c2f666 | [
"MIT"
] | null | null | null | src/model/Book.java | Arique69/perpustakaan-pbo | 63db2fcd2b770f0ab9a388c239bd9b6407c2f666 | [
"MIT"
] | null | null | null | src/model/Book.java | Arique69/perpustakaan-pbo | 63db2fcd2b770f0ab9a388c239bd9b6407c2f666 | [
"MIT"
] | 1 | 2020-08-29T09:47:10.000Z | 2020-08-29T09:47:10.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package model;
/**
*
* @author ganjarggt
*/
public class Book {
private String title, author, publisher, bookCode, ... | 23.35 | 113 | 0.577302 |
2a3852c588d3a5d6388f0be20e8774e19ae14616 | 415 | java | Java | TimoCloud-API/src/main/java/cloud/timo/TimoCloud/api/events/proxyGroup/ProxyGroupProxyChooseStrategyChangeEvent.java | TheMagBum/TimoCloud | fdae67efe288be6bbcab260932f273910268f8f2 | [
"BSD-3-Clause"
] | 123 | 2018-02-24T17:41:31.000Z | 2022-03-13T18:54:43.000Z | TimoCloud-API/src/main/java/cloud/timo/TimoCloud/api/events/proxyGroup/ProxyGroupProxyChooseStrategyChangeEvent.java | TheMagBum/TimoCloud | fdae67efe288be6bbcab260932f273910268f8f2 | [
"BSD-3-Clause"
] | 86 | 2018-02-24T16:55:29.000Z | 2022-01-24T20:10:41.000Z | TimoCloud-API/src/main/java/cloud/timo/TimoCloud/api/events/proxyGroup/ProxyGroupProxyChooseStrategyChangeEvent.java | TheMagBum/TimoCloud | fdae67efe288be6bbcab260932f273910268f8f2 | [
"BSD-3-Clause"
] | 73 | 2018-02-24T17:05:06.000Z | 2022-02-25T19:37:49.000Z | package cloud.timo.TimoCloud.api.events.proxyGroup;
import cloud.timo.TimoCloud.api.events.Event;
import cloud.timo.TimoCloud.api.objects.ProxyChooseStrategy;
import cloud.timo.TimoCloud.api.objects.ProxyGroupObject;
public interface ProxyGroupProxyChooseStrategyChangeEvent extends Event {
ProxyGroupObject getPr... | 25.9375 | 73 | 0.821687 |
f02c314c5aaf915e5619ee218d99196ba7494309 | 184 | js | JavaScript | modal/node_modules/axe-core/lib/checks/label/implicit.js | maze-runnar/modal-component | bb4a146b0473d3524552e379d5bbdbfcca49e6be | [
"MIT"
] | 6 | 2020-09-04T23:52:01.000Z | 2021-05-02T10:10:37.000Z | modal/node_modules/axe-core/lib/checks/label/implicit.js | maze-runnar/modal-component | bb4a146b0473d3524552e379d5bbdbfcca49e6be | [
"MIT"
] | 32 | 2020-11-14T03:41:58.000Z | 2022-02-27T10:44:09.000Z | modal/node_modules/axe-core/lib/checks/label/implicit.js | maze-runnar/modal-component | bb4a146b0473d3524552e379d5bbdbfcca49e6be | [
"MIT"
] | 5 | 2020-10-12T11:46:25.000Z | 2022-02-21T07:09:41.000Z | const { dom, text } = axe.commons;
var label = dom.findUpVirtual(virtualNode, 'label');
if (label) {
return !!text.accessibleText(label, { inControlContext: true });
}
return false;
| 23 | 65 | 0.701087 |
9390581ae6ee0c07e3edf882139e0ebcc168a3ba | 29,707 | rs | Rust | system-node/core/pvf-checker/src/tests.rs | elexeum/elexeum-node | 19e350dff9b4c790fe6746773007d3250a5a9b2e | [
"Apache-2.0"
] | 1 | 2022-03-23T06:29:04.000Z | 2022-03-23T06:29:04.000Z | system-node/core/pvf-checker/src/tests.rs | elexeum/elexeum-node | 19e350dff9b4c790fe6746773007d3250a5a9b2e | [
"Apache-2.0"
] | null | null | null | system-node/core/pvf-checker/src/tests.rs | elexeum/elexeum-node | 19e350dff9b4c790fe6746773007d3250a5a9b2e | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Parity Technologies (UK) Ltd.
// This file is part of Polkadot.
// Polkadot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any late... | 31.704376 | 98 | 0.719292 |
5cbad5a4ef516c07ff418d29fce91b6b62fcbfc7 | 504 | lua | Lua | src/app/objects/gameplay/level/environment/logic/checkpoint.lua | Greentwip/WhateverTheFuck | 8fb922bd1acf598f8ff273a78a160f4e19c635ad | [
"MIT"
] | 1 | 2015-09-24T12:48:29.000Z | 2015-09-24T12:48:29.000Z | src/app/objects/gameplay/level/environment/logic/checkpoint.lua | Greentwip/WhateverTheFuck | 8fb922bd1acf598f8ff273a78a160f4e19c635ad | [
"MIT"
] | null | null | null | src/app/objects/gameplay/level/environment/logic/checkpoint.lua | Greentwip/WhateverTheFuck | 8fb922bd1acf598f8ff273a78a160f4e19c635ad | [
"MIT"
] | null | null | null | -- Copyright 2014-2015 Greentwip. All Rights Reserved.
local block = import("app.objects.gameplay.level.environment.core.block")
local checkpoint = class("checkpoint", block)
function checkpoint:ctor(position, size)
self:setup(position, size)
self:getPhysicsBody():getShapes()[1]:setTag(cc.tags.check_point)
en... | 22.909091 | 73 | 0.748016 |
8348ba7b1a32d0208cae2080b70788a45ad3c343 | 183 | sql | SQL | HousingManager.DB/HousingManager.DB.SqlServer/Batch/BatchType.sql | revaturelabs/housing-manager | a27258dff42f9053735b57cd985db47415b59520 | [
"MIT"
] | null | null | null | HousingManager.DB/HousingManager.DB.SqlServer/Batch/BatchType.sql | revaturelabs/housing-manager | a27258dff42f9053735b57cd985db47415b59520 | [
"MIT"
] | null | null | null | HousingManager.DB/HousingManager.DB.SqlServer/Batch/BatchType.sql | revaturelabs/housing-manager | a27258dff42f9053735b57cd985db47415b59520 | [
"MIT"
] | null | null | null | create table Batch.BatchType(
BatchTypeId int primary key clustered IDENTITY(1,1) not null,
Type nvarchar(50) not null,
[Guid] UNIQUEIDENTIFIER DEFAULT NEWID() not null
); | 36.6 | 66 | 0.737705 |
fbba0a97507a77c32bd2a7cb3468eec5d657c9c2 | 2,236 | h | C | media/capture/video/chromeos/mock_camera_module.h | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | media/capture/video/chromeos/mock_camera_module.h | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | media/capture/video/chromeos/mock_camera_module.h | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"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.
#ifndef MEDIA_CAPTURE_VIDEO_CHROMEOS_MOCK_CAMERA_MODULE_H_
#define MEDIA_CAPTURE_VIDEO_CHROMEOS_MOCK_CAMERA_MODULE_H_
#include <stddef.h>
#include <stdin... | 33.373134 | 76 | 0.7339 |
292924b8a9afed3122d104fc8674aeec7034734c | 16,127 | py | Python | sphinxcontrib/needs/services/github.py | twodrops/sphinxcontrib-needs | c2081bd499fe7d36840d29ca3fb05c80e7bf2284 | [
"MIT"
] | null | null | null | sphinxcontrib/needs/services/github.py | twodrops/sphinxcontrib-needs | c2081bd499fe7d36840d29ca3fb05c80e7bf2284 | [
"MIT"
] | null | null | null | sphinxcontrib/needs/services/github.py | twodrops/sphinxcontrib-needs | c2081bd499fe7d36840d29ca3fb05c80e7bf2284 | [
"MIT"
] | null | null | null | import os
import requests
import textwrap
import time
from urllib.parse import urlparse
from sphinxcontrib.needs.api import add_need_type
from sphinxcontrib.needs.api.exceptions import NeedsApiConfigException
from sphinxcontrib.needs.services.base import BaseService
# Additional needed options, which are not defined... | 42.664021 | 118 | 0.529919 |
6fc57f3abc4da021c1e64c9cb80dced320db8cdf | 965 | swift | Swift | Examples/Memory/Sources/AlertRoute.swift | Woods99/Boomerang | ec05ba3e4f04ee161995a8c4cb89647195b2ed44 | [
"MIT"
] | 34 | 2017-01-04T06:21:06.000Z | 2021-06-15T18:53:57.000Z | Examples/Memory/Sources/AlertRoute.swift | Woods99/Boomerang | ec05ba3e4f04ee161995a8c4cb89647195b2ed44 | [
"MIT"
] | 32 | 2017-02-15T08:29:59.000Z | 2021-12-29T16:57:19.000Z | Examples/Memory/Sources/AlertRoute.swift | Woods99/Boomerang | ec05ba3e4f04ee161995a8c4cb89647195b2ed44 | [
"MIT"
] | 10 | 2017-08-13T11:05:17.000Z | 2021-12-06T08:36:22.000Z | //
// AlertRoute.swift
// GameOfFifteen_iOS
//
// Created by Stefano Mondino on 05/12/21.
//
import Foundation
import Boomerang
import UIKit
struct AlertRoute: UIKitRoute {
struct Action {
let title: String
let callback: () -> Void
}
let createViewController: () -> UIViewController?
... | 26.081081 | 102 | 0.598964 |
128559effd0f75bfafba3275841ddbb37678b29a | 285 | h | C | src/ClosestHit.h | szellmann/fakeOwl | f938504b9dbb218aa0aad0b47513cebd79e47e13 | [
"MIT"
] | 4 | 2021-05-01T20:53:27.000Z | 2021-05-05T00:35:55.000Z | src/ClosestHit.h | szellmann/fakeOwl | f938504b9dbb218aa0aad0b47513cebd79e47e13 | [
"MIT"
] | null | null | null | src/ClosestHit.h | szellmann/fakeOwl | f938504b9dbb218aa0aad0b47513cebd79e47e13 | [
"MIT"
] | null | null | null |
#pragma once
#include "Program.h"
namespace fake
{
struct ClosestHit : Program
{
std::string entryPointPrefix();
int rayType = 0;
// Symbol to prepare an intersection program call
void* fakePrepareClosestHitSym = nullptr;
};
} // fake
| 15 | 57 | 0.617544 |
26b43fcc8f59efc697072cc7df950db40c6e238a | 239 | java | Java | com/sun/jna/platform/win32/COM/IStream.java | MewX/contendo-viewer-v1.6.3 | 69fba3cea4f9a43e48f43148774cfa61b388e7de | [
"Apache-2.0"
] | 2 | 2021-07-16T10:43:25.000Z | 2021-12-15T13:54:10.000Z | com/sun/jna/platform/win32/COM/IStream.java | MewX/contendo-viewer-v1.6.3 | 69fba3cea4f9a43e48f43148774cfa61b388e7de | [
"Apache-2.0"
] | 1 | 2021-10-12T22:24:55.000Z | 2021-10-12T22:24:55.000Z | com/sun/jna/platform/win32/COM/IStream.java | MewX/contendo-viewer-v1.6.3 | 69fba3cea4f9a43e48f43148774cfa61b388e7de | [
"Apache-2.0"
] | null | null | null | package com.sun.jna.platform.win32.COM;
public interface IStream {}
/* Location: /mnt/r/ConTenDoViewer.jar!/com/sun/jna/platform/win32/COM/IStream.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 1.1.3
*/ | 26.555556 | 97 | 0.665272 |
97c2531d4482588084cd09107999a1ecd41902e1 | 2,073 | kt | Kotlin | yat-lib/src/main/java/yat/android/sdk/models/AdminNewLootBoxTypeConfig.kt | alexandrVakhtinTari/yat-lib-android | 122a3ef6897279e58965891e1820c1fdc31c5224 | [
"BSD-3-Clause"
] | null | null | null | yat-lib/src/main/java/yat/android/sdk/models/AdminNewLootBoxTypeConfig.kt | alexandrVakhtinTari/yat-lib-android | 122a3ef6897279e58965891e1820c1fdc31c5224 | [
"BSD-3-Clause"
] | 2 | 2021-06-11T06:49:26.000Z | 2021-06-14T12:23:05.000Z | yat-lib/src/main/java/yat/android/sdk/models/AdminNewLootBoxTypeConfig.kt | alexandrVakhtinTari/yat-lib-android | 122a3ef6897279e58965891e1820c1fdc31c5224 | [
"BSD-3-Clause"
] | null | null | null | /**
* Emoji ID API server
* Emoji ID is a directory service that associates almost any type of structured data with a short, memorable identifier the emoji id.
*
* The version of the OpenAPI document: 0.2.262
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://open... | 36.368421 | 133 | 0.718765 |
70e23c2c108f2b40a8bc15e1670f6ccf61527580 | 907 | go | Go | dyndns/external.go | tommedge/name-dyndns | 27d65b9113260c7fad286568cefe81e753806efc | [
"MIT"
] | null | null | null | dyndns/external.go | tommedge/name-dyndns | 27d65b9113260c7fad286568cefe81e753806efc | [
"MIT"
] | null | null | null | dyndns/external.go | tommedge/name-dyndns | 27d65b9113260c7fad286568cefe81e753806efc | [
"MIT"
] | null | null | null | package dyndns
import (
"errors"
"io/ioutil"
"net/http"
"strings"
)
// Urls contains a set of mirrors in which a
// raw IP string can be retreived. It is exported
// for the intent of modification.
var (
Urls = []string{"http://myexternalip.com/raw"}
)
func tryMirror(url string) (string, error) {
resp, err := ... | 19.717391 | 58 | 0.669239 |
5639f081c8b1c45b1abaa20f889914fa758100d9 | 3,919 | go | Go | pkg/app/flow.go | gabstv/go-app | 025112d6e21fdfbcf31106c54de1660b38342ec7 | [
"MIT"
] | 6 | 2021-04-02T18:26:58.000Z | 2021-04-10T17:00:39.000Z | pkg/app/flow.go | gabstv/go-app | 025112d6e21fdfbcf31106c54de1660b38342ec7 | [
"MIT"
] | null | null | null | pkg/app/flow.go | gabstv/go-app | 025112d6e21fdfbcf31106c54de1660b38342ec7 | [
"MIT"
] | null | null | null | package app
import (
"strconv"
"time"
"github.com/google/uuid"
"github.com/maxence-charriere/go-app/v8/pkg/errors"
)
const (
flowItemBaseWidth = 300
flowResizeSizeDelay = time.Millisecond * 100
)
// UIFlow is the interface that describes a container that displays its items as
// a flow.
//
// EXPERIMENTAL W... | 18.661905 | 80 | 0.65578 |
5f3e61532bd695b34c9aa62a189bb254bdb67c40 | 576 | ts | TypeScript | app/components/travelingExpenses/components/details/components/kreirajNalogeZaPrenosModal/kreirajNalogeZaPrenosModal.actions.ts | BogMil/racunovodja | 1ba95eafb2a04056ea279f7a93fb1b034564060a | [
"MIT"
] | 1 | 2020-09-19T19:21:58.000Z | 2020-09-19T19:21:58.000Z | app/components/travelingExpenses/components/details/components/kreirajNalogeZaPrenosModal/kreirajNalogeZaPrenosModal.actions.ts | BogMil/racunovodja | 1ba95eafb2a04056ea279f7a93fb1b034564060a | [
"MIT"
] | 3 | 2021-01-28T21:01:59.000Z | 2022-02-08T17:50:37.000Z | app/components/travelingExpenses/components/details/components/kreirajNalogeZaPrenosModal/kreirajNalogeZaPrenosModal.actions.ts | BogMil/racunovodja | 1ba95eafb2a04056ea279f7a93fb1b034564060a | [
"MIT"
] | null | null | null | import { Action } from '../../../../../../reducers/types';
export const OPEN = 'OPEN';
export const CLOSE = 'CLOSE';
export const HANDLE_CHANGE = 'HANDLE_CHANGE';
export const NAMESPACE = 'KREIRAJ_NALOGE_ZA_PRENOS_MODAL';
export function open(): Action {
return {
namespace: NAMESPACE,
type: OPEN
};
}
ex... | 19.2 | 64 | 0.654514 |
5d59bc2298688126d5a3eccd96c03d54d6c8f549 | 6,191 | go | Go | internal/library/category_component_test.go | akbarpambudi/go-point-of-sales | 337bbefca57a62e9be6697579e6cd4204262f8e0 | [
"Apache-2.0"
] | 1 | 2021-04-06T08:50:30.000Z | 2021-04-06T08:50:30.000Z | internal/library/category_component_test.go | akbarpambudi/go-point-of-sales | 337bbefca57a62e9be6697579e6cd4204262f8e0 | [
"Apache-2.0"
] | null | null | null | internal/library/category_component_test.go | akbarpambudi/go-point-of-sales | 337bbefca57a62e9be6697579e6cd4204262f8e0 | [
"Apache-2.0"
] | null | null | null | //+build component_test
package library_test
import (
"context"
"fmt"
"net/http"
"testing"
"github.com/akbarpambudi/go-point-of-sales/internal/common/errors"
"github.com/akbarpambudi/go-point-of-sales/internal/common/testinghelper"
"github.com/akbarpambudi/go-point-of-sales/internal/library"
"github.com/akba... | 30.053398 | 103 | 0.698433 |
5fd843f85598c99f2199c1fa3793067fbde187e8 | 2,114 | c | C | src/main.c | dseguin/steg-image | ac3babda00eefd58d3c895eb2c455f5c99f8f31f | [
"MIT"
] | null | null | null | src/main.c | dseguin/steg-image | ac3babda00eefd58d3c895eb2c455f5c99f8f31f | [
"MIT"
] | null | null | null | src/main.c | dseguin/steg-image | ac3babda00eefd58d3c895eb2c455f5c99f8f31f | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "libsteg/steganography.h"
#define SET_ENCODE 0x01
#define SET_DECODE 0x02
/*steg operation to perform*/
unsigned char op;
const char *e_file = NULL;
const char *i_file = NULL;
const char *o_file = NULL;
unsigned num_bits = 0;
void print_usage(const char *prog_name)
{
... | 23.488889 | 111 | 0.610691 |
a56718dd8f16ae81787004b5dead266f597efd04 | 18,728 | sql | SQL | db/forum_db.sql | uutbudiarto/forum | a38f89416bd03c5fce816706a64a9dcf69860c37 | [
"MIT"
] | null | null | null | db/forum_db.sql | uutbudiarto/forum | a38f89416bd03c5fce816706a64a9dcf69860c37 | [
"MIT"
] | null | null | null | db/forum_db.sql | uutbudiarto/forum | a38f89416bd03c5fce816706a64a9dcf69860c37 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 12, 2020 at 09:25 AM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.2.30
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 38.935551 | 356 | 0.619714 |
95c2926a0d50d2fe0e51d338f36f73a400dab7e0 | 408 | sql | SQL | create.sql | jondam1985/human-inventory-management-system | 51fd953c394a2f8a49d72bad68055acdae2f1bb0 | [
"MIT"
] | null | null | null | create.sql | jondam1985/human-inventory-management-system | 51fd953c394a2f8a49d72bad68055acdae2f1bb0 | [
"MIT"
] | 1 | 2021-05-10T21:07:10.000Z | 2021-05-10T21:07:10.000Z | create.sql | jondam1985/human-inventory-management-system | 51fd953c394a2f8a49d72bad68055acdae2f1bb0 | [
"MIT"
] | null | null | null | CREATE database hr_management;
USE hr_management;
CREATE table employee (
id int not null,
first_name varchar(30) not null,
last_name varchar(30) not null,
role_id int,
manager_id int,
primary key(id));
CREATE TABLE role (
id int not null,
title varchar(30),
salary decimal default 0.0,
department_id int,
primary key... | 16.32 | 32 | 0.757353 |
d2d136e7fa073c19fcbbd1130b97973eae444f80 | 2,680 | php | PHP | app/Http/Controllers/ChambreController.php | haidaraKarara/codification | e8a7ef7beffaab3cd5eec525a61068a3cdfd0aa8 | [
"MIT"
] | null | null | null | app/Http/Controllers/ChambreController.php | haidaraKarara/codification | e8a7ef7beffaab3cd5eec525a61068a3cdfd0aa8 | [
"MIT"
] | null | null | null | app/Http/Controllers/ChambreController.php | haidaraKarara/codification | e8a7ef7beffaab3cd5eec525a61068a3cdfd0aa8 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\TransferException;
class ChambreController extends Controller
{
private $user;
private $response;
private $body;
... | 31.529412 | 113 | 0.595896 |
b96737f1c0f4e23b84d108b42cb97bb80cc5c2cf | 2,188 | lua | Lua | Slipe/Core/Lua/Compiled/Client/Source/SlipeClient/Gui/GuiBrowser.lua | DezZolation/trains | 0ed198bf6f314860b13e045f06714c644de55686 | [
"Apache-2.0"
] | 1 | 2020-08-29T20:34:10.000Z | 2020-08-29T20:34:10.000Z | Slipe/Core/Lua/Compiled/Client/Source/SlipeClient/Gui/GuiBrowser.lua | DezZolation/trains | 0ed198bf6f314860b13e045f06714c644de55686 | [
"Apache-2.0"
] | null | null | null | Slipe/Core/Lua/Compiled/Client/Source/SlipeClient/Gui/GuiBrowser.lua | DezZolation/trains | 0ed198bf6f314860b13e045f06714c644de55686 | [
"Apache-2.0"
] | null | null | null | -- Generated by CSharp.lua Compiler
local System = System
local SlipeClientBrowsers
local SlipeClientGui
local SlipeMtaDefinitions
System.import(function (out)
SlipeClientBrowsers = Slipe.Client.Browsers
SlipeClientGui = Slipe.Client.Gui
SlipeMtaDefinitions = Slipe.MtaDefinitions
end)
System.namespace("Slipe.Clie... | 34.730159 | 177 | 0.656307 |
e79a1e21558bedbf4d334999ed98f00e8c0104dd | 7,700 | sql | SQL | cps_atlas.sql | QuietLearn/contentPay | 540731fbefd9f19461da369f03c8a3c657dc8426 | [
"Apache-2.0"
] | 1 | 2019-07-10T09:14:06.000Z | 2019-07-10T09:14:06.000Z | cps_atlas.sql | QuietLearn/contentPay | 540731fbefd9f19461da369f03c8a3c657dc8426 | [
"Apache-2.0"
] | null | null | null | cps_atlas.sql | QuietLearn/contentPay | 540731fbefd9f19461da369f03c8a3c657dc8426 | [
"Apache-2.0"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : mysql
Source Server Version : 50554
Source Host : 127.0.0.1:3306
Source Database : guns
Target Server Type : MYSQL
Target Server Version : 50554
File Encoding : 65001
Date: 2018-10-15 08:43:16
*/
SET FOREIGN_KEY_CHECKS=... | 38.308458 | 223 | 0.592468 |
963a5f8cad9da5ddfe49047ba3c198428fd8489e | 927 | php | PHP | app/Models/SupplierOrder.php | Sander0542-School/Avans-VINPRJ1 | 62bcf4fd10ca77ed1177ace4018dc78d7adb866e | [
"MIT"
] | null | null | null | app/Models/SupplierOrder.php | Sander0542-School/Avans-VINPRJ1 | 62bcf4fd10ca77ed1177ace4018dc78d7adb866e | [
"MIT"
] | null | null | null | app/Models/SupplierOrder.php | Sander0542-School/Avans-VINPRJ1 | 62bcf4fd10ca77ed1177ace4018dc78d7adb866e | [
"MIT"
] | null | null | null | <?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class SupplierOrder
*
* @property int $id
* @property int $supplier_id
* @property int $product_id
* @property int $amount
* @property float $price
* @property Carbon $date
*
*... | 15.196721 | 43 | 0.648328 |
305560bc5bfc87dd9b4f797ca97d86837ab6e093 | 85 | lua | Lua | NativeLibraries/iOS/HERE_iOS_SDK_Premium_v3.15.2_92/framework/NMAKit.framework/NMABundle.bundle/diskcache/voices/en-US_generic_platform/skin.lua | KarinBerg/Xamarin.HEREMaps | 87927ba567892528d1251ee83ffaab34fe201899 | [
"MIT"
] | 15 | 2020-07-06T00:42:33.000Z | 2022-02-23T21:55:05.000Z | NativeLibraries/iOS/HERE_iOS_SDK_Premium_v3.15.2_92/framework/NMAKit.framework/NMABundle.bundle/diskcache/voices/en-US_generic_platform/skin.lua | KarinBerg/Xamarin.HEREMaps | 87927ba567892528d1251ee83ffaab34fe201899 | [
"MIT"
] | 1 | 2021-09-22T05:48:37.000Z | 2021-09-29T20:35:43.000Z | NativeLibraries/iOS/HERE_iOS_SDK_Premium_v3.15.2_92/framework/NMAKit.framework/NMABundle.bundle/diskcache/voices/en-US_generic_platform/skin.lua | KarinBerg/Xamarin.HEREMaps | 87927ba567892528d1251ee83ffaab34fe201899 | [
"MIT"
] | 3 | 2020-08-09T06:06:40.000Z | 2021-11-14T12:23:32.000Z | require("manifest")
require("ruleset")
require("prompts")
require("platform_format")
| 17 | 26 | 0.764706 |
2a11eb66d95689ae109d59e6d0fa352cfaca69f8 | 267 | java | Java | src/main/java/pl/sda/weatherman/model/WeatherRequestModel.java | jackverone/weatherman | e921f66f20e2304dda10d768d1b686fe9ccf71df | [
"MIT"
] | null | null | null | src/main/java/pl/sda/weatherman/model/WeatherRequestModel.java | jackverone/weatherman | e921f66f20e2304dda10d768d1b686fe9ccf71df | [
"MIT"
] | null | null | null | src/main/java/pl/sda/weatherman/model/WeatherRequestModel.java | jackverone/weatherman | e921f66f20e2304dda10d768d1b686fe9ccf71df | [
"MIT"
] | null | null | null | package pl.sda.weatherman.model;
public class WeatherRequestModel {
private String city;
private String countryCode;
public WeatherRequestModel(String city, String countryCode) {
this.city = city;
this.countryCode = countryCode;
}
}
| 22.25 | 65 | 0.70412 |