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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
796f87d53d9c60daea0adfc6758c35cacba2d8ab | 1,830 | swift | Swift | MEGameTracker/Views/Common/Spinnerable/SpinnerNib.swift | mleiv/MEGameTracker | cef2c76b62fffe9ac662b9a820a6ebd54962ef5f | [
"MIT"
] | 2 | 2020-03-08T20:15:21.000Z | 2021-07-19T21:43:05.000Z | MEGameTracker/Views/Common/Spinnerable/SpinnerNib.swift | mleiv/MEGameTracker | cef2c76b62fffe9ac662b9a820a6ebd54962ef5f | [
"MIT"
] | 1 | 2021-12-25T05:38:14.000Z | 2021-12-25T15:23:48.000Z | MEGameTracker/Views/Common/Spinnerable/SpinnerNib.swift | mleiv/MEGameTracker | cef2c76b62fffe9ac662b9a820a6ebd54962ef5f | [
"MIT"
] | 1 | 2021-06-02T20:45:22.000Z | 2021-06-02T20:45:22.000Z | //
// SpinnerNib.swift
// MEGameTracker
//
// Created by Emily Ivie on 5/14/2016.
// Copyright © 2016 urdnot. All rights reserved.
//
import UIKit
final public class SpinnerNib: UIView {
@IBOutlet weak var spinner: UIActivityIndicatorView?
@IBOutlet weak var spinnerLabel: MarkupLabel?
@IBOutlet weak var space... | 21.27907 | 100 | 0.69071 |
d03a88b7728e86d272d6bb5102124e7fec41ee7e | 940 | dart | Dart | test/iteration/utils.dart | duytruong27/rrule | 9589ec06818b383b97819f57602845e4ac01f8af | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2021-03-26T21:57:19.000Z | 2021-03-26T21:57:19.000Z | test/iteration/utils.dart | duytruong27/rrule | 9589ec06818b383b97819f57602845e4ac01f8af | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | test/iteration/utils.dart | duytruong27/rrule | 9589ec06818b383b97819f57602845e4ac01f8af | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | import 'package:meta/meta.dart';
import 'package:rrule/rrule.dart';
import 'package:test/test.dart';
import 'package:time_machine/time_machine.dart';
@isTest
void testRecurring(
String description, {
@required RecurrenceRule rrule,
@required LocalDateTime start,
Iterable<LocalDate> expectedDates,
Iterable<Lo... | 27.647059 | 80 | 0.668085 |
39c0272cdee86e89d1226991dd16cbe2c23b93d9 | 747 | js | JavaScript | lib/utils/requestLogger.js | mwergles/node-api-skeleton | 8a45bfd80439ea1c31bbaeee4c387b7998594067 | [
"MIT"
] | 1 | 2018-06-28T16:39:04.000Z | 2018-06-28T16:39:04.000Z | lib/utils/requestLogger.js | mwergles/node-api-skeleton | 8a45bfd80439ea1c31bbaeee4c387b7998594067 | [
"MIT"
] | null | null | null | lib/utils/requestLogger.js | mwergles/node-api-skeleton | 8a45bfd80439ea1c31bbaeee4c387b7998594067 | [
"MIT"
] | null | null | null | const winston = require('winston')
const format = winston.format.combine(
winston.format.colorize(),
winston.format.timestamp(),
winston.format.align(),
winston.format.printf((info) => {
const {timestamp, level, message} = info
const ts = timestamp.replace(/(.*?)T(.*?)\..*/, '$1 $2')
return `${ts}... | 20.75 | 61 | 0.5917 |
9c5107422190198f3aa7499ba1fcff51b38253a8 | 4,138 | js | JavaScript | Masteradvanced/src/commands/globalwork.js | LadJay/ohinljn | 8da5177fd6e5b7be917805924ef92b31eed31470 | [
"MIT"
] | null | null | null | Masteradvanced/src/commands/globalwork.js | LadJay/ohinljn | 8da5177fd6e5b7be917805924ef92b31eed31470 | [
"MIT"
] | null | null | null | Masteradvanced/src/commands/globalwork.js | LadJay/ohinljn | 8da5177fd6e5b7be917805924ef92b31eed31470 | [
"MIT"
] | null | null | null |
exports.run = (client, message) => {
var cookies = require('cookiesdb')
const moment = require('moment')
require('moment-duration-format')
var lolrandom = Math.floor(Math.random() * 90);
const { RichEmbed } = require('discord.js')
const fs = require("fs")
let upgrade = JSON.parse(fs.readFil... | 37.279279 | 379 | 0.541083 |
9c287fd8e507d5143611708c76e84eb404049b8e | 3,245 | ts | TypeScript | examples/authentication/cli/src/commands/login.ts | playhaste/haste-sdk | ced86c6c5e33b32376f435857ed2099d8781814e | [
"MIT"
] | 3 | 2021-08-20T12:38:47.000Z | 2021-10-05T16:56:14.000Z | examples/authentication/cli/src/commands/login.ts | playhaste/haste-sdk | ced86c6c5e33b32376f435857ed2099d8781814e | [
"MIT"
] | 1 | 2021-11-05T15:30:51.000Z | 2021-11-05T15:30:51.000Z | examples/authentication/cli/src/commands/login.ts | playhaste/haste-sdk | ced86c6c5e33b32376f435857ed2099d8781814e | [
"MIT"
] | null | null | null | import { flags } from '@oclif/command';
import cli from 'cli-ux';
import os from 'os';
import axios from 'axios';
import { config } from 'dotenv';
import BaseCommand from '../common/base-command';
import Netrc from 'netrc-parser';
import jwtDecode, { JwtPayload } from 'jwt-decode';
interface NetrcEntry {
login: stri... | 30.046296 | 155 | 0.6453 |
3e22dbb458b8ffb3c2c05a164849448e6aa1850a | 521 | swift | Swift | MicroNetworkMocks/Sources/Core/MockNetwork.swift | lexorus/MicroNetwork | 8b49d3c2d5712d62d074b1f9d3004a1d7c6abb3d | [
"MIT"
] | null | null | null | MicroNetworkMocks/Sources/Core/MockNetwork.swift | lexorus/MicroNetwork | 8b49d3c2d5712d62d074b1f9d3004a1d7c6abb3d | [
"MIT"
] | 2 | 2020-04-14T18:30:10.000Z | 2020-06-07T21:09:18.000Z | MicroNetworkMocks/Sources/Core/MockNetwork.swift | lexorus/MicroNetwork | 8b49d3c2d5712d62d074b1f9d3004a1d7c6abb3d | [
"MIT"
] | null | null | null | import Foundation
import MicroNetwork
public final class MockNetwork: Network {
public init() {}
public private(set) var dataTaskURL: URLRequest?
public private(set) var dataTaskCompletion: NetworkResult<Data>?
public var dataTaskStub: NetworkTask = MockNetworkTask()
@discardableResult
publi... | 28.944444 | 106 | 0.723608 |
68f96aff415e76c1070339fbd052c417bbb69aab | 4,771 | swift | Swift | Project5/Project5/ViewController.swift | walkmanaly/100daysOfSwift | 20e5e36245cbe43028b8f9b53f41a771844ae8f6 | [
"MIT"
] | null | null | null | Project5/Project5/ViewController.swift | walkmanaly/100daysOfSwift | 20e5e36245cbe43028b8f9b53f41a771844ae8f6 | [
"MIT"
] | null | null | null | Project5/Project5/ViewController.swift | walkmanaly/100daysOfSwift | 20e5e36245cbe43028b8f9b53f41a771844ae8f6 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// Project5
//
// Created by Nick on 2019/4/21.
// Copyright © 2019 Nick. All rights reserved.
//
import UIKit
class ViewController: UITableViewController {
var allWords = [String]()
var useWords = [String]()
override func viewDidLoad() {
super.viewDidLoad()
... | 33.598592 | 133 | 0.576189 |
401a10e510fd888a0e80ae7b17e7f43702e5703c | 10,258 | py | Python | cad/application.py | rugleb/cad | 0fd3732b57398e4eacfbc4872286254068d1754a | [
"MIT"
] | 3 | 2019-01-28T14:20:23.000Z | 2020-09-09T20:19:23.000Z | cad/application.py | rugleb/cad | 0fd3732b57398e4eacfbc4872286254068d1754a | [
"MIT"
] | 7 | 2019-01-15T08:30:59.000Z | 2019-01-25T17:11:43.000Z | cad/application.py | rugleb/CAD | 0fd3732b57398e4eacfbc4872286254068d1754a | [
"MIT"
] | 1 | 2021-07-19T07:28:25.000Z | 2021-07-19T07:28:25.000Z | import os
from PyQt5.QtGui import QIcon
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import *
from cad.sketch import Sketch
from cad.solver import *
directory = os.path.dirname(__file__)
def icon_path(name: str) -> str:
return os.path.join(directory, 'icons', name)
class Application(QMainWindow):
de... | 30.990937 | 83 | 0.626633 |
90c0f8e071591a3b8d26ca3393876afd952fc285 | 1,875 | py | Python | alipay/aop/api/domain/SummaryInvoiceBillOpenDTO.py | antopen/alipay-sdk-python-all | 8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c | [
"Apache-2.0"
] | null | null | null | alipay/aop/api/domain/SummaryInvoiceBillOpenDTO.py | antopen/alipay-sdk-python-all | 8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c | [
"Apache-2.0"
] | null | null | null | alipay/aop/api/domain/SummaryInvoiceBillOpenDTO.py | antopen/alipay-sdk-python-all | 8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.constant.ParamConstants import *
class SummaryInvoiceBillOpenDTO(object):
def __init__(self):
self._bill_no = None
self._buyer_user_id = None
self._pay_type = None
@property
def bill_no(self):
... | 26.408451 | 77 | 0.585067 |
4562adcff5decc3d0071e9dd52c0bbfd930248fb | 1,404 | swift | Swift | ADCoordinator/Classes/NativeNavigator.swift | emanuelef/Coordinator | cd47f94bbaa792eb48b833a5efe3069a9cd729ee | [
"MIT"
] | 1 | 2020-04-24T08:36:19.000Z | 2020-04-24T08:36:19.000Z | ADCoordinator/Classes/NativeNavigator.swift | emanuelef/Coordinator | cd47f94bbaa792eb48b833a5efe3069a9cd729ee | [
"MIT"
] | 1 | 2020-11-19T07:04:37.000Z | 2020-11-19T07:04:37.000Z | ADCoordinator/Classes/NativeNavigator.swift | emanuelef/Coordinator | cd47f94bbaa792eb48b833a5efe3069a9cd729ee | [
"MIT"
] | 2 | 2020-11-18T15:39:21.000Z | 2021-05-14T15:02:20.000Z | //
// NativeNavigator.swift
// ADCoordinator
//
// Created by Pierre Felgines on 14/02/2020.
//
import Foundation
public protocol NativeNavigator: AnyObject {}
private enum ContextAssociatedKeys {
fileprivate static var deallocObserver: UInt8 = 0
}
extension NativeNavigator where Self: NSObject {
privat... | 26 | 76 | 0.61396 |
8d6ff1de1154ef3de113e5203f6c2b748ef63812 | 1,121 | swift | Swift | LS/ChildDetailHeader.swift | codetodayorg/leyladan-sonra-ios | af890093f190679b0f144fe8206edc19cff26e33 | [
"MIT"
] | 1 | 2017-06-24T23:02:14.000Z | 2017-06-24T23:02:14.000Z | LS/ChildDetailHeader.swift | codetodayorg/leyladan-sonra-ios | af890093f190679b0f144fe8206edc19cff26e33 | [
"MIT"
] | 4 | 2017-06-11T00:58:37.000Z | 2017-06-11T01:03:45.000Z | LS/ChildDetailHeader.swift | EnesCakir/leyladan-sonra-ios | af890093f190679b0f144fe8206edc19cff26e33 | [
"MIT"
] | null | null | null | //
// ChildDetailHeader.swift
// LS
//
// Created by Mustafa Enes Cakir on 6/12/16.
// Copyright © 2016 EnesCakir. All rights reserved.
//
import UIKit
import MXParallaxHeader
import AlamofireImage
class ChildDetailHeader: UIView, MXParallaxHeaderProtocol {
@IBOutlet weak var childPhoto: UIImageView!
... | 26.690476 | 108 | 0.685995 |
3085d842506316eeba3bcf4a716e9886a24d3cc9 | 1,820 | html | HTML | files/realtime.html | Fantastic-4-Devs/at_Aura | 6b9e617e0af19460c39a867a413a4aa57a447858 | [
"MIT"
] | null | null | null | files/realtime.html | Fantastic-4-Devs/at_Aura | 6b9e617e0af19460c39a867a413a4aa57a447858 | [
"MIT"
] | 2 | 2022-02-18T14:10:30.000Z | 2022-02-18T14:13:17.000Z | files/realtime.html | Fantastic-4-Devs/at_Aura | 6b9e617e0af19460c39a867a413a4aa57a447858 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>@ Aura</title>
<link href="css/style.css" rel="stylesheet">
<link href="css/schedule.css" rel="stylesheet">
<link rel="stylesheet" href="css/stylesheets.css">
<link rel='stylesheet' href='https://cdn.quilljs.com/1.3.4/quill.snow.css'>
<l... | 31.929825 | 131 | 0.657143 |
81e829e9565587b10eec31b78e6e44bd5e40d998 | 748 | go | Go | conoha/identity_api_versions.go | is2ei/conoha-api-go-client | 40c4b26bcecb5b65c97dd6987e545611a05b1db5 | [
"MIT"
] | 2 | 2020-01-24T01:54:08.000Z | 2020-04-25T09:49:59.000Z | conoha/identity_api_versions.go | is2ei/conoha-api-go-client | 40c4b26bcecb5b65c97dd6987e545611a05b1db5 | [
"MIT"
] | null | null | null | conoha/identity_api_versions.go | is2ei/conoha-api-go-client | 40c4b26bcecb5b65c97dd6987e545611a05b1db5 | [
"MIT"
] | 1 | 2021-02-03T20:38:03.000Z | 2021-02-03T20:38:03.000Z | package conoha
import (
"context"
"encoding/json"
"net/http"
)
type getIdentityAPIVersionsResponseParam struct {
Versions identityVersionsValues `json:"versions"`
}
type identityVersionsValues struct {
Values []*Version `json:"values"`
}
// IdentityAPIVersions fetches Identity API versions list.
//
// ConoHa A... | 22.666667 | 94 | 0.748663 |
7ff36df611a6432c060676da786af23d58754cbf | 11,446 | rs | Rust | execution_engine/src/core/resolvers/v1_resolver.rs | arcolife/casper-node | 82c95c06a1b762304ff8c766ac7473dee819b337 | [
"Apache-2.0"
] | 1 | 2021-10-02T11:46:03.000Z | 2021-10-02T11:46:03.000Z | execution_engine/src/core/resolvers/v1_resolver.rs | arcolife/casper-node | 82c95c06a1b762304ff8c766ac7473dee819b337 | [
"Apache-2.0"
] | 1 | 2020-10-09T23:25:54.000Z | 2020-10-10T00:10:18.000Z | execution_engine/src/core/resolvers/v1_resolver.rs | CasperLabs/test-casper-node-cicd | 92d927f7c91de305f60dc8188a37041a3f50a071 | [
"Apache-2.0"
] | null | null | null | use std::cell::RefCell;
use wasmi::{
memory_units::Pages, Error as InterpreterError, FuncInstance, FuncRef, MemoryDescriptor,
MemoryInstance, MemoryRef, ModuleImportResolver, Signature, ValueType,
};
use super::{
error::ResolverError, memory_resolver::MemoryResolver, v1_function_index::FunctionIndex,
};
... | 45.241107 | 92 | 0.538267 |
f12352b8552bc37209a52ea8f0f5866e4261782a | 226 | rb | Ruby | lib/syscase/example/optee_smc/example6.rb | syscase/syscase-webui | 3a9e8ebb85745760d7058f003483fef609067079 | [
"MIT"
] | null | null | null | lib/syscase/example/optee_smc/example6.rb | syscase/syscase-webui | 3a9e8ebb85745760d7058f003483fef609067079 | [
"MIT"
] | 9 | 2020-05-22T15:37:49.000Z | 2022-03-30T22:48:14.000Z | lib/syscase/example/optee_smc/example6.rb | syscase/syscase-webui | 3a9e8ebb85745760d7058f003483fef609067079 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
class Syscase
class Example
class OPTEESMC
# OPTEE SMC Example 6
class Example6 < self
def describe
[[optee_revision]]
end
end
end
end
end
| 15.066667 | 29 | 0.597345 |
56b3947580188a3942a65363b83473752aa6b721 | 1,552 | swift | Swift | Sources/surfgen/Helpers/Logger.swift | surfstudio/SurfGen | b1899597a8b16683b7dc6bed5702c5b2348ca3e7 | [
"MIT"
] | 10 | 2021-03-14T08:50:27.000Z | 2022-03-30T09:18:58.000Z | Sources/surfgen/Helpers/Logger.swift | surfstudio/SurfGen | b1899597a8b16683b7dc6bed5702c5b2348ca3e7 | [
"MIT"
] | 36 | 2020-11-16T14:10:45.000Z | 2022-03-13T12:38:26.000Z | Sources/surfgen/Helpers/Logger.swift | surfstudio/SurfGen | b1899597a8b16683b7dc6bed5702c5b2348ca3e7 | [
"MIT"
] | 2 | 2021-11-28T17:56:16.000Z | 2021-12-26T08:06:13.000Z | //
// Logger.swift
//
//
// Created by Dmitry Demyanov on 01.12.2020.
//
import Foundation
import SwiftCLI
import SurfGenKit
import PathKit
class Logger {
func print(_ string: String) {
Term.stdout <<< string
}
func printAsList(_ list: [String]) {
Term.stdout <<< "-------------------... | 27.714286 | 114 | 0.547036 |
d9d4cd4fd1b166475bd811bfa04b31353e3cece6 | 114 | sql | SQL | 07_RestWithASPNET _migrations_and_seeders/RestWithASPNET/RestWithASPNET/db/dataset/V2__Populate_Table_Person .sql | Ramos03/RestWithASP-NET5 | 894a4ca4a97c90116b70eb18150fa19c5b07c2b3 | [
"Apache-2.0"
] | null | null | null | 07_RestWithASPNET _migrations_and_seeders/RestWithASPNET/RestWithASPNET/db/dataset/V2__Populate_Table_Person .sql | Ramos03/RestWithASP-NET5 | 894a4ca4a97c90116b70eb18150fa19c5b07c2b3 | [
"Apache-2.0"
] | null | null | null | 07_RestWithASPNET _migrations_and_seeders/RestWithASPNET/RestWithASPNET/db/dataset/V2__Populate_Table_Person .sql | Ramos03/RestWithASP-NET5 | 894a4ca4a97c90116b70eb18150fa19c5b07c2b3 | [
"Apache-2.0"
] | null | null | null | INSERT INTO `person` VALUES (1,'São Paulo','Vinicius','Male','Ramos'),(2,'São Paulo','Vitoria','Female','Alves'); | 114 | 114 | 0.657895 |
39eca703972519ba53bc5d0282765867d0454b7f | 5,024 | java | Java | app/src/main/java/com/Syrine/mnart/Controllers/Fragments/AllPosts.java | Houssem-Esprit/Mnart | a58990cae117affe8e37e083ef3411bb4da9be7f | [
"Apache-2.0"
] | 5 | 2021-07-16T06:36:08.000Z | 2022-02-14T23:50:55.000Z | app/src/main/java/com/Syrine/mnart/Controllers/Fragments/AllPosts.java | Houssem-Esprit/Mnart | a58990cae117affe8e37e083ef3411bb4da9be7f | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/Syrine/mnart/Controllers/Fragments/AllPosts.java | Houssem-Esprit/Mnart | a58990cae117affe8e37e083ef3411bb4da9be7f | [
"Apache-2.0"
] | null | null | null | package com.Syrine.mnart.Controllers.Fragments;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import and... | 36.671533 | 201 | 0.604299 |
970d051e6e1fc1f190b965ddae064a4304f8e322 | 4,199 | lua | Lua | sample/common/shared_modules/tostring.lua | zsutxz/skynet | 22ee65d28f8c1de64f1fd3d7facca658490d4ad1 | [
"MIT"
] | 5 | 2015-01-05T04:46:53.000Z | 2019-04-15T08:07:56.000Z | sample/common/shared_modules/tostring.lua | zsutxz/skynet | 22ee65d28f8c1de64f1fd3d7facca658490d4ad1 | [
"MIT"
] | 2 | 2019-05-05T09:01:42.000Z | 2019-05-05T10:05:17.000Z | sample/common/shared_modules/tostring.lua | zsutxz/skynet | 22ee65d28f8c1de64f1fd3d7facca658490d4ad1 | [
"MIT"
] | null | null | null | -- This script makes tostring convert tables to a
-- representation of their contents.
-- The real tostring:
_tostring = _tostring or tostring
-- Characters that have non-numeric backslash-escaped versions:
local BsChars = {
["\a"] = "\\a",
["\b"] = "\\b",
["\f"] = "\\f",
["\n"] = "\\n",
... | 32.053435 | 78 | 0.552036 |
26835370c6e244fc761f76d359b6520e6128102f | 11,438 | java | Java | core/src/test/java/org/elasticsearch/node/NodeTests.java | tidharm/elasticsearch | a34f5fa8127595534d919646d73dd7a88c21fa65 | [
"Apache-2.0"
] | null | null | null | core/src/test/java/org/elasticsearch/node/NodeTests.java | tidharm/elasticsearch | a34f5fa8127595534d919646d73dd7a88c21fa65 | [
"Apache-2.0"
] | null | null | null | core/src/test/java/org/elasticsearch/node/NodeTests.java | tidharm/elasticsearch | a34f5fa8127595534d919646d73dd7a88c21fa65 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | 46.877049 | 139 | 0.649414 |
90c6677d9ad90cb18c00684288f369057ef0552c | 2,181 | py | Python | src/Luogu_user.py | haohaoh4/Luogu_difficulty | 365f3169dc57f24969fe90cdcff5127ab95dadc7 | [
"MIT"
] | 2 | 2018-08-29T07:15:46.000Z | 2018-08-29T07:53:46.000Z | src/Luogu_user.py | haohaoh4/Luogu_difficulty | 365f3169dc57f24969fe90cdcff5127ab95dadc7 | [
"MIT"
] | 1 | 2018-09-15T01:13:40.000Z | 2018-09-15T01:13:40.000Z | src/Luogu_user.py | haohaoh4/Luogu_difficulty | 365f3169dc57f24969fe90cdcff5127ab95dadc7 | [
"MIT"
] | 1 | 2018-08-29T07:18:03.000Z | 2018-08-29T07:18:03.000Z | import requests
import logging
from src.Luogu_problem import Problem
logger = logging.getLogger(__name__)
header = {
'Host': 'www.luogu.org',
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.... | 30.291667 | 108 | 0.652453 |
fec59dd0f0a6f2ad5511052414483a57445fa595 | 75,594 | html | HTML | docs/html/class_i_ty_actor.html | ostera/Toasty | 26f062e22cc5c68c04d848a5a6e1326280430408 | [
"MIT"
] | null | null | null | docs/html/class_i_ty_actor.html | ostera/Toasty | 26f062e22cc5c68c04d848a5a6e1326280430408 | [
"MIT"
] | null | null | null | docs/html/class_i_ty_actor.html | ostera/Toasty | 26f062e22cc5c68c04d848a5a6e1326280430408 | [
"MIT"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Toasty!: ITyActor Class Reference</title>
<link href="tabs.css" rel="st... | 50.598394 | 1,100 | 0.649126 |
a17acfac3bcf74e6ec4c8e5738134c66975c438b | 2,113 | go | Go | cmd/rollback/main.go | lgray/gowaves | 86b30fcdc3480fd2952b82a36909350361c291a5 | [
"MIT"
] | 72 | 2018-10-01T14:14:53.000Z | 2022-03-25T21:06:56.000Z | cmd/rollback/main.go | lgray/gowaves | 86b30fcdc3480fd2952b82a36909350361c291a5 | [
"MIT"
] | 110 | 2018-10-19T15:09:03.000Z | 2022-03-24T09:56:56.000Z | cmd/rollback/main.go | lgray/gowaves | 86b30fcdc3480fd2952b82a36909350361c291a5 | [
"MIT"
] | 31 | 2018-10-30T15:07:03.000Z | 2022-03-29T23:57:11.000Z | package main
import (
"flag"
"github.com/wavesplatform/gowaves/pkg/settings"
"github.com/wavesplatform/gowaves/pkg/state"
"github.com/wavesplatform/gowaves/pkg/util/common"
"github.com/wavesplatform/gowaves/pkg/util/fdlimit"
"go.uber.org/zap"
)
var (
logLevel = flag.String("log-level", "INFO", "Loggin... | 26.746835 | 166 | 0.683862 |
a20df74851686bffa59aadf87858d6daff6d1fe6 | 7,521 | dart | Dart | lib/ui/screens/home.dart | 04burhanuddin/App-Covid19-Flutter | 091e4f3fc255ed1095dfca7312f4aa1d7ae47b69 | [
"BSD-2-Clause"
] | 1 | 2021-04-03T05:53:08.000Z | 2021-04-03T05:53:08.000Z | lib/ui/screens/home.dart | 04burhanuddin/App-Covid19-Flutter | 091e4f3fc255ed1095dfca7312f4aa1d7ae47b69 | [
"BSD-2-Clause"
] | null | null | null | lib/ui/screens/home.dart | 04burhanuddin/App-Covid19-Flutter | 091e4f3fc255ed1095dfca7312f4aa1d7ae47b69 | [
"BSD-2-Clause"
] | null | null | null | part of 'screens.dart';
class HomePage extends StatefulWidget {
@override
_HomePageState createState() => _HomePageState();
}
class _HomePageState extends State<HomePage> {
Future<DataIndonesia> dataIndonesia;
Future<DataIndonesia> getDataIndonesia() async {
var dio = Dio();
final response = await di... | 37.232673 | 77 | 0.341843 |
e648af8acf42bae5f57be7319aaf2f5750ddf83a | 651 | go | Go | log/zap_test.go | sqjian/toolkit | 75f50aadbdaff3b1566ca21561108ec65283c086 | [
"Apache-2.0"
] | null | null | null | log/zap_test.go | sqjian/toolkit | 75f50aadbdaff3b1566ca21561108ec65283c086 | [
"Apache-2.0"
] | 1 | 2022-03-09T14:23:03.000Z | 2022-03-09T14:23:05.000Z | log/zap_test.go | sqjian/toolkit | 75f50aadbdaff3b1566ca21561108ec65283c086 | [
"Apache-2.0"
] | null | null | null | package log
import (
"testing"
)
func TestLogger(t *testing.T) {
logger, loggerErr := newZapLogger(&Meta{
FileName: "go-kit.log",
MaxSize: 3,
MaxBackups: 3,
MaxAge: 3,
Level: Debug,
Console: true,
})
if loggerErr != nil {
t.Fatal(loggerErr)
}
{
t.Log(logger.SetLevelOTF(Warn))
... | 18.083333 | 41 | 0.628264 |
866b8b9f4ccfd874c34b9134ccfb76f518332059 | 7,634 | go | Go | internal/mail/rfc2822/date_test.go | robdefeo/mailchain | 26cae20e86d526468adefc332e612f7e2431c523 | [
"Apache-2.0"
] | null | null | null | internal/mail/rfc2822/date_test.go | robdefeo/mailchain | 26cae20e86d526468adefc332e612f7e2431c523 | [
"Apache-2.0"
] | null | null | null | internal/mail/rfc2822/date_test.go | robdefeo/mailchain | 26cae20e86d526468adefc332e612f7e2431c523 | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 Mailchain Ltd
//
// 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 agreed to ... | 30.055118 | 90 | 0.581478 |
84f019dd2b84170056cc560e653bad8dbd5d7644 | 3,068 | h | C | src/web_curl.h | paladin-t/bitty | a09d45ba5b0f038d19d80ef7b98d8342d328bccc | [
"BSD-3-Clause"
] | 63 | 2020-10-22T10:31:00.000Z | 2022-03-25T15:54:14.000Z | src/web_curl.h | paladin-t/bitty | a09d45ba5b0f038d19d80ef7b98d8342d328bccc | [
"BSD-3-Clause"
] | 1 | 2021-05-08T18:14:06.000Z | 2021-05-08T18:14:06.000Z | src/web_curl.h | paladin-t/bitty | a09d45ba5b0f038d19d80ef7b98d8342d328bccc | [
"BSD-3-Clause"
] | 6 | 2021-03-09T07:20:53.000Z | 2022-02-13T05:23:52.000Z | /*
** Bitty
**
** An itty bitty game engine.
**
** Copyright (C) 2020 - 2021 Tony Wang, all rights reserved
**
** For the latest info, see https://github.com/paladin-t/bitty/
*/
#ifndef __WEB_CURL_H__
#define __WEB_CURL_H__
#include "web.h"
#if BITTY_WEB_ENABLED
# include "../lib/curl/include/curl/curl... | 24.741935 | 83 | 0.644068 |
a9abd5543ebb901d3bf23dcddb982e846e488f1f | 5,377 | html | HTML | 500E/ijs.0.025718-0-000.pbm/results/phylotree/001.hocr.html | ContentMine/ijsem | 1235b5eab144ff152ea0ae21570f3323c3b8e57c | [
"CC0-1.0"
] | 1 | 2015-09-14T19:11:29.000Z | 2015-09-14T19:11:29.000Z | 500E/ijs.0.025718-0-000.pbm/results/phylotree/001.hocr.html | ContentMine/ijsem | 1235b5eab144ff152ea0ae21570f3323c3b8e57c | [
"CC0-1.0"
] | 3 | 2015-08-28T11:31:39.000Z | 2015-09-15T06:49:26.000Z | 500E/ijs.0.025718-0-000.pbm/results/phylotree/001.hocr.html | ContentMine/ijsem | 1235b5eab144ff152ea0ae21570f3323c3b8e57c | [
"CC0-1.0"
] | null | null | null | <body xmlns="http://www.w3.org/1999/xhtml"><div class="ocr_page" id="page_1" title="image "/Users/pm286/workspace/ami-plugin/../ijsem/500E/ijs.0.025718-0-000.pbm/image/ijs.0.025718-0-000.pbm.png"; bbox 0 0 1775 1205; ppageno 0"><div id="block_1_1" title="bbox 830 0 1491 30" class="block"><p class="ocr_par" di... | 5,377 | 5,377 | 0.715269 |
658f17c7e112a10aa4cbdea2cb29c502a74fbdc2 | 1,091 | lua | Lua | main.lua | Rio-PUC-Games/LovelEditor | 5f7c8741a3e157d458c4053752f83d018a0ddda8 | [
"MIT"
] | null | null | null | main.lua | Rio-PUC-Games/LovelEditor | 5f7c8741a3e157d458c4053752f83d018a0ddda8 | [
"MIT"
] | null | null | null | main.lua | Rio-PUC-Games/LovelEditor | 5f7c8741a3e157d458c4053752f83d018a0ddda8 | [
"MIT"
] | null | null | null | io.stdout:setvbuf("no")
local screen
local str
function love.load()
require('src.DAO').start()
screen = require ('src.MainScreen')
--love.keyboard.setKeyRepeat(true)
local img = love.graphics.newImage('bil1.png')
love.mouse.setCursor(love.mouse.newCursor(img:getData(), img:getWidth()/2,img:getHeight()/2))
str =... | 20.584906 | 94 | 0.719523 |
32d9ae46bade139fb5c3a9f0aa2e2e99bde6213e | 68 | swift | Swift | Sources/SwiftKitUI/Generic/NerverView.swift | swiftkitui/SwiftKitUI | 9084aff3b48283c4cc6cd627a47926d1fe4dbfb6 | [
"MIT"
] | 7 | 2019-07-09T02:39:16.000Z | 2021-04-12T07:02:46.000Z | Sources/SwiftKitUI/Generic/NerverView.swift | swiftkitui/SwiftKitUI | 9084aff3b48283c4cc6cd627a47926d1fe4dbfb6 | [
"MIT"
] | 1 | 2020-08-24T10:35:43.000Z | 2020-08-24T10:35:43.000Z | Sources/SwiftKitUI/Generic/NerverView.swift | swiftkitui/SwiftKitUI | 9084aff3b48283c4cc6cd627a47926d1fe4dbfb6 | [
"MIT"
] | 1 | 2020-05-04T01:44:32.000Z | 2020-05-04T01:44:32.000Z | //
// NerverView.swift
//
//
// Created by 张行 on 2019/7/8.
//
| 7.555556 | 30 | 0.5 |
d2907ddbf439605b80f1f11e6f43bf8eb7de44c5 | 2,383 | php | PHP | src/Models/PreviewOapiProcessinstanceCspaceParams/request.php | sdk-team/-php-test | b7c652901d9af6a76959bdb249e5c45dfae3ac64 | [
"Apache-2.0"
] | null | null | null | src/Models/PreviewOapiProcessinstanceCspaceParams/request.php | sdk-team/-php-test | b7c652901d9af6a76959bdb249e5c45dfae3ac64 | [
"Apache-2.0"
] | null | null | null | src/Models/PreviewOapiProcessinstanceCspaceParams/request.php | sdk-team/-php-test | b7c652901d9af6a76959bdb249e5c45dfae3ac64 | [
"Apache-2.0"
] | null | null | null | <?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\SDK_DATA_1598238000612\Models\PreviewOapiProcessinstanceCspaceParams;
use AlibabaCloud\Tea\Model;
class request extends Model {
protected $_name = [
'agentid' => 'agentid',
'processInstanceId' => 'process_inst... | 25.084211 | 96 | 0.508183 |
15f6a9213b997cbdf7914a726f2077ac87d7ae14 | 52 | rb | Ruby | app/models/presentation/seminar.rb | naofumi/ponzu | ee685824a6876b71ac768067bb6d2c04738a9601 | [
"BSD-Source-Code"
] | null | null | null | app/models/presentation/seminar.rb | naofumi/ponzu | ee685824a6876b71ac768067bb6d2c04738a9601 | [
"BSD-Source-Code"
] | null | null | null | app/models/presentation/seminar.rb | naofumi/ponzu | ee685824a6876b71ac768067bb6d2c04738a9601 | [
"BSD-Source-Code"
] | null | null | null | class Presentation::Seminar < Presentation::Oral
end | 26 | 48 | 0.826923 |
39c5ef82012fa95a5792da2ed9999839cf137b9a | 820 | js | JavaScript | test/specs/aws/dynamo/schema/serialization/attributes/MapSerializerSpec.js | barchart/common-node-js | b3cf32f07d9a8a93b3485ad11170d542b2a1c371 | [
"MIT"
] | 1 | 2020-04-02T20:05:13.000Z | 2020-04-02T20:05:13.000Z | test/specs/aws/dynamo/schema/serialization/attributes/MapSerializerSpec.js | barchart/common-node-js | b3cf32f07d9a8a93b3485ad11170d542b2a1c371 | [
"MIT"
] | 1 | 2018-01-26T09:08:28.000Z | 2019-07-25T20:13:36.000Z | test/specs/aws/dynamo/schema/serialization/attributes/MapSerializerSpec.js | barchart/barchart-common-node-js | 391a5f19c36b4505ad38696d2f52b541af0b44cb | [
"MIT"
] | 1 | 2021-02-01T04:47:15.000Z | 2021-02-01T04:47:15.000Z | const MapSerializer = require('../../../../../../../aws/dynamo/schema/serialization/attributes/NestedSerializers').MapSerializer;
describe('When a MapSerializer is instantiated', () => {
'use strict';
let serializer;
beforeEach(() => {
serializer = new MapSerializer();
});
it('it serializes { "Name": "Joe", ... | 34.166667 | 129 | 0.547561 |
48de592d49c987a4f121a56a0e2253fd170b1487 | 10,524 | c | C | sys/src/cmd/disk/prep/edit.c | ekaitz-zarraga/jehanne | 431c7ae36521d0d931a21e1100d8522893d22a35 | [
"RSA-MD"
] | null | null | null | sys/src/cmd/disk/prep/edit.c | ekaitz-zarraga/jehanne | 431c7ae36521d0d931a21e1100d8522893d22a35 | [
"RSA-MD"
] | null | null | null | sys/src/cmd/disk/prep/edit.c | ekaitz-zarraga/jehanne | 431c7ae36521d0d931a21e1100d8522893d22a35 | [
"RSA-MD"
] | null | null | null | /*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, prop... | 18.59364 | 99 | 0.592645 |
f05f3d26056a6f24ec4198f8e3f11a1da995bc57 | 7,555 | js | JavaScript | pohlig-hellman/bin/index.js | ReSource-Network/secrets.js | 243e447581a9b98fa22e951ce0d1b8afe0a36fe6 | [
"MIT"
] | 3 | 2021-05-19T03:18:56.000Z | 2021-06-27T04:11:39.000Z | pohlig-hellman/bin/index.js | ReSource-Network/secrets.js | 243e447581a9b98fa22e951ce0d1b8afe0a36fe6 | [
"MIT"
] | null | null | null | pohlig-hellman/bin/index.js | ReSource-Network/secrets.js | 243e447581a9b98fa22e951ce0d1b8afe0a36fe6 | [
"MIT"
] | 2 | 2020-06-19T20:22:40.000Z | 2021-05-25T22:59:32.000Z | "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(gene... | 40.61828 | 151 | 0.530245 |
2a2029e9fe59fec7ac422210692cafe137fc3fe9 | 1,087 | java | Java | src/main/java/se/mickelus/tetra/data/deserializer/ItemPredicateDeserializer.java | LordGrimmauld/tetra | f083a963de952d5a60d96f4706a97557b0737fe8 | [
"MIT"
] | null | null | null | src/main/java/se/mickelus/tetra/data/deserializer/ItemPredicateDeserializer.java | LordGrimmauld/tetra | f083a963de952d5a60d96f4706a97557b0737fe8 | [
"MIT"
] | null | null | null | src/main/java/se/mickelus/tetra/data/deserializer/ItemPredicateDeserializer.java | LordGrimmauld/tetra | f083a963de952d5a60d96f4706a97557b0737fe8 | [
"MIT"
] | null | null | null | package se.mickelus.tetra.data.deserializer;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import net.minecraft.advancements.critereon.ItemPredicate;
import org.apache.logging.log4j.LogManager;
... | 32.939394 | 129 | 0.799448 |
5039ccb1e8b7b50b67ffb1728f3312e3ea652404 | 1,017 | go | Go | pkg/snowflake/scim_integration.go | gouline/terraform-provider-snowflake | d8616f2100421fe4e3b4734b40ae28801e4193ac | [
"MIT"
] | 274 | 2019-02-13T18:10:52.000Z | 2022-03-31T17:49:07.000Z | pkg/snowflake/scim_integration.go | gouline/terraform-provider-snowflake | d8616f2100421fe4e3b4734b40ae28801e4193ac | [
"MIT"
] | 767 | 2019-01-17T21:36:54.000Z | 2022-03-31T23:08:35.000Z | pkg/snowflake/scim_integration.go | scottnguyen/terraform-provider-snowflake | 3f310a38c26931d0d33bee19797ec32c13add121 | [
"MIT"
] | 237 | 2019-04-05T21:22:16.000Z | 2022-03-16T19:01:31.000Z | package snowflake
import (
"database/sql"
"github.com/jmoiron/sqlx"
"github.com/pkg/errors"
)
// ScimIntegration returns a pointer to a Builder that abstracts the DDL operations for an api integration.
//
// Supported DDL operations are:
// - CREATE SECURITY INTEGRATION
// - ALTER SECURITY INTEGRATION
// - ... | 26.763158 | 114 | 0.718781 |
a00ab9fc928ef50e627730e71c5dd2206aca13ce | 691 | kt | Kotlin | src/commonMain/kotlin/guru/zoroark/lixy/matchers/LixyTokenRecognizerIgnored.kt | utybo/Lixy | 1849bb1d75c1c775c28b4e411fb705a4d642fc89 | [
"Apache-2.0"
] | 35 | 2020-01-19T00:19:21.000Z | 2022-01-12T05:43:24.000Z | src/commonMain/kotlin/guru/zoroark/lixy/matchers/LixyTokenRecognizerIgnored.kt | utybo/Lixy | 1849bb1d75c1c775c28b4e411fb705a4d642fc89 | [
"Apache-2.0"
] | 3 | 2020-01-26T00:02:49.000Z | 2020-05-03T20:20:08.000Z | src/commonMain/kotlin/guru/zoroark/lixy/matchers/LixyTokenRecognizerIgnored.kt | utybo/Lixy | 1849bb1d75c1c775c28b4e411fb705a4d642fc89 | [
"Apache-2.0"
] | 2 | 2020-04-21T00:53:25.000Z | 2020-05-03T09:01:35.000Z | package guru.zoroark.lixy.matchers
/**
* A type of matcher that ignores anything that matches the recognizer and
* provides no result otherwise.
*/
class LixyTokenRecognizerIgnored(
/**
* The recognizer this matcher will use
*/
val recognizer: LixyTokenRecognizer,
/**
* The behavior to fo... | 30.043478 | 74 | 0.701881 |
e72d960c096cf522fd060fc5ed13f58e7adb1d20 | 240 | js | JavaScript | index.js | SoraJin424/eslint-config | 7582c847b5f3652881ffd3707d50dc9b65bfdac9 | [
"MIT"
] | null | null | null | index.js | SoraJin424/eslint-config | 7582c847b5f3652881ffd3707d50dc9b65bfdac9 | [
"MIT"
] | null | null | null | index.js | SoraJin424/eslint-config | 7582c847b5f3652881ffd3707d50dc9b65bfdac9 | [
"MIT"
] | null | null | null | const { hasAnyDep } = require('ptils');
const typescript = hasAnyDep('typescript') && 'nineko/typescript';
const vue2 = hasAnyDep('vue') && 'nineko/vue2';
module.exports = {
extends: ['nineko/base', typescript, vue2].filter(Boolean)
};
| 26.666667 | 66 | 0.683333 |
75feaa51c25d19afbcd67f35c2a4428afb91dd7a | 54 | php | PHP | include/Zend/Gdata/Books/PaxHeader/CollectionEntry.php | Bvdldf/ABP | 245d36043db59568fc373951dc477ba4c8454c77 | [
"PHP-3.0",
"Apache-2.0",
"ECL-2.0"
] | null | null | null | include/Zend/Gdata/Books/PaxHeader/CollectionEntry.php | Bvdldf/ABP | 245d36043db59568fc373951dc477ba4c8454c77 | [
"PHP-3.0",
"Apache-2.0",
"ECL-2.0"
] | null | null | null | include/Zend/Gdata/Books/PaxHeader/CollectionEntry.php | Bvdldf/ABP | 245d36043db59568fc373951dc477ba4c8454c77 | [
"PHP-3.0",
"Apache-2.0",
"ECL-2.0"
] | null | null | null | 30 mtime=1556801605.588341484
24 SCHILY.fflags=extent
| 18 | 29 | 0.851852 |
719b9d760f77e5e5859d96d8593a3aa176dc5190 | 73 | ts | TypeScript | src/types/imports.ts | patsissons/webrx-react | 227b83b91aa8a247db9b8f450e7cfa7dd47ec09c | [
"MIT"
] | 23 | 2016-11-09T19:12:05.000Z | 2018-10-27T15:19:53.000Z | src/types/imports.ts | patsissons/webrx-react | 227b83b91aa8a247db9b8f450e7cfa7dd47ec09c | [
"MIT"
] | 105 | 2016-11-10T02:01:38.000Z | 2018-04-23T22:11:15.000Z | src/types/imports.ts | patsissons/webrx-react | 227b83b91aa8a247db9b8f450e7cfa7dd47ec09c | [
"MIT"
] | 6 | 2016-12-22T09:03:49.000Z | 2021-04-02T12:02:30.000Z | // no imports at the moment so just export an empty structure
export {};
| 24.333333 | 61 | 0.739726 |
797bfa4f2602aaa7c0ad4ff0b048d2cb9e925d0f | 967 | dart | Dart | lib/widgets/cabin/cabin_dropdown.dart | albertmir/cabin_booking | bf99e1d512a2c282ea43988fd047ab3480f60606 | [
"MIT"
] | null | null | null | lib/widgets/cabin/cabin_dropdown.dart | albertmir/cabin_booking | bf99e1d512a2c282ea43988fd047ab3480f60606 | [
"MIT"
] | null | null | null | lib/widgets/cabin/cabin_dropdown.dart | albertmir/cabin_booking | bf99e1d512a2c282ea43988fd047ab3480f60606 | [
"MIT"
] | null | null | null | import 'package:cabin_booking/model/cabin_manager.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:provider/provider.dart';
class CabinDropdown extends StatelessWidget {
final String value;
final void Function(String) onChanged;
const C... | 26.135135 | 74 | 0.601861 |
92b241df8b93d7f38b369b2b0d3cf903f05a86f3 | 304 | h | C | src/util/dl.h | dburkart/nord | 9b7d671e5ab223e23799e0af1341568392990339 | [
"BSD-2-Clause"
] | 1 | 2021-12-04T09:33:08.000Z | 2021-12-04T09:33:08.000Z | src/util/dl.h | gideonw/nord | a0615d913d577f509bbe7a4e59910c5dafc9813b | [
"BSD-2-Clause"
] | null | null | null | src/util/dl.h | gideonw/nord | a0615d913d577f509bbe7a4e59910c5dafc9813b | [
"BSD-2-Clause"
] | 1 | 2021-12-04T09:33:02.000Z | 2021-12-04T09:33:02.000Z | /*
* Copyright (c) 2021, Dana Burkart <dana.burkart@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#ifndef DL_H
#define DL_H
#include "util/platform.h"
/*
* Platform-agnostic way to load in symbols from the current
* executable.
*/
void *dynamic_load_self(const char *symbol);
#endif
| 16 | 60 | 0.703947 |
9bd9872a2febeac93c5a0f7e0d06f9b2ee5f50e9 | 406 | js | JavaScript | src/js/day3/systems/9_extras/plotters/plotSimpleGraph.js | Matoseb/2112-ecal | 0eea6ad09c8db213715700691a1073c30e7a2d55 | [
"MIT"
] | 1 | 2022-01-14T07:33:46.000Z | 2022-01-14T07:33:46.000Z | src/js/day3/systems/9_extras/plotters/plotSimpleGraph.js | Matoseb/2112-ecal | 0eea6ad09c8db213715700691a1073c30e7a2d55 | [
"MIT"
] | null | null | null | src/js/day3/systems/9_extras/plotters/plotSimpleGraph.js | Matoseb/2112-ecal | 0eea6ad09c8db213715700691a1073c30e7a2d55 | [
"MIT"
] | 2 | 2021-12-08T09:43:40.000Z | 2021-12-09T07:43:30.000Z | //dessine les séries de valeurs sous forme de lignes
function simpleGraph( ctx, values0, values1 )
{
//assigne le contexte à l'utilistaire de dessin
G.ctx = ctx;
//trace le graphe des températures en rouge
ctx.strokeStyle = "#F00";
G.polyline( values0 );
//scatterplot des vitesse du vent en bl... | 27.066667 | 52 | 0.662562 |
dd6de5c688763b832b873a575bae0edc4be0ea6a | 1,977 | php | PHP | resources/views/posts/index.blade.php | giorgian96/gestionarea_cheltuielilor | 04399161ef2c540402f87135e431cfbaaaf8847e | [
"MIT"
] | null | null | null | resources/views/posts/index.blade.php | giorgian96/gestionarea_cheltuielilor | 04399161ef2c540402f87135e431cfbaaaf8847e | [
"MIT"
] | null | null | null | resources/views/posts/index.blade.php | giorgian96/gestionarea_cheltuielilor | 04399161ef2c540402f87135e431cfbaaaf8847e | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
@if(count($days) > 0)
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Selectați luna
</button... | 42.06383 | 166 | 0.41477 |
2dc9539ba527b2875d13060d0588dfeec7cf9ab5 | 222 | rs | Rust | src/test/ui/consts/auxiliary/issue-63226.rs | mbc-git/rust | 2c7bc5e33c25e29058cbafefe680da8d5e9220e9 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 66,762 | 2015-01-01T08:32:03.000Z | 2022-03-31T23:26:40.000Z | src/test/ui/consts/auxiliary/issue-63226.rs | maxrovskyi/rust | 51558ccb8e7cea87c6d1c494abad5451e5759979 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 76,993 | 2015-01-01T00:06:33.000Z | 2022-03-31T23:59:15.000Z | src/test/ui/consts/auxiliary/issue-63226.rs | maxrovskyi/rust | 51558ccb8e7cea87c6d1c494abad5451e5759979 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11,787 | 2015-01-01T00:01:19.000Z | 2022-03-31T19:03:42.000Z | pub struct VTable{
state:extern "C" fn(),
}
impl VTable{
pub const fn vtable()->&'static VTable{
Self::VTABLE
}
const VTABLE: &'static VTable =
&VTable{state};
}
extern "C" fn state() {}
| 14.8 | 43 | 0.563063 |
6e3ec0de96d4c105500ad9174bb47298fbe5addb | 196 | kt | Kotlin | app/src/main/java/com/rorpage/purtyweather/ui/theme/Color.kt | rorpage/purty-weather | c093616d527d5a8d10a49b281f8c33399b1f4910 | [
"MIT"
] | null | null | null | app/src/main/java/com/rorpage/purtyweather/ui/theme/Color.kt | rorpage/purty-weather | c093616d527d5a8d10a49b281f8c33399b1f4910 | [
"MIT"
] | 16 | 2020-10-12T18:46:13.000Z | 2021-10-20T23:22:48.000Z | app/src/main/java/com/rorpage/purtyweather/ui/theme/Color.kt | rorpage/purty-weather | c093616d527d5a8d10a49b281f8c33399b1f4910 | [
"MIT"
] | 4 | 2020-10-05T19:16:23.000Z | 2020-10-30T13:58:12.000Z | package com.rorpage.purtyweather.ui.theme
import androidx.compose.ui.graphics.Color
val PurtyBlue = Color(0xFF87CEEB)
val PurtyBlueLight = Color(0xFFb9ffff)
val PurtyBlueDark = Color(0xFF539db8) | 28 | 41 | 0.826531 |
9cf813bc3a041f971d8e652ab507a733107171a4 | 719 | kt | Kotlin | ui/kotlinx-coroutines-android/android-unit-tests/test/ordered/tests/TestComponent.kt | jura73/kotlinx.coroutines | 64be7952806a0e7211ba3e513317a2772f6aacb5 | [
"Apache-2.0"
] | 4 | 2019-08-07T12:45:20.000Z | 2021-06-30T09:40:35.000Z | ui/kotlinx-coroutines-android/android-unit-tests/test/ordered/tests/TestComponent.kt | jura73/kotlinx.coroutines | 64be7952806a0e7211ba3e513317a2772f6aacb5 | [
"Apache-2.0"
] | 6 | 2019-01-28T14:38:29.000Z | 2019-01-28T15:55:22.000Z | ui/kotlinx-coroutines-android/android-unit-tests/test/ordered/tests/TestComponent.kt | jura73/kotlinx.coroutines | 64be7952806a0e7211ba3e513317a2772f6aacb5 | [
"Apache-2.0"
] | 1 | 2020-05-18T13:59:30.000Z | 2020-05-18T13:59:30.000Z | /*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package ordered.tests
import kotlinx.coroutines.*
public class TestComponent {
internal lateinit var caughtException: Throwable
private val scope =
CoroutineScope(SupervisorJob() + Dispatcher... | 24.793103 | 117 | 0.655076 |
d1d0046e041b1c87e68d259098295b2060b6dc29 | 753 | swift | Swift | Sources/Ultramarine/Extensions/Result.swift | niaeashes/ultramarine | e3b18ae6c5cd02244098726fbfbfb60fcdee19b8 | [
"MIT"
] | 1 | 2020-07-13T00:50:53.000Z | 2020-07-13T00:50:53.000Z | Sources/Ultramarine/Extensions/Result.swift | niaeashes/ultramarine | e3b18ae6c5cd02244098726fbfbfb60fcdee19b8 | [
"MIT"
] | null | null | null | Sources/Ultramarine/Extensions/Result.swift | niaeashes/ultramarine | e3b18ae6c5cd02244098726fbfbfb60fcdee19b8 | [
"MIT"
] | null | null | null | //
// Result.swift
// Ultramarine
//
// MARK: - Result.
extension Transmit {
public func ifSuccess<S, F>(_ completion: @escaping (S) -> Void) -> Transmit<Value> where Value == Result<S, F> {
return map {
switch $0 {
case .success(let value):
completion(value)... | 22.147059 | 117 | 0.450199 |
f3fc16f6471115372789be85c91628ca67259709 | 1,351 | kt | Kotlin | android/watchface/src/main/java/com/benoitletondor/pixelminimalwatchface/drawer/digital/SecondsRingDrawer.kt | t-st92/PixelMinimalWatchFace | b806a2b892d1ab3716594b9890c7d83c83b8011c | [
"Apache-2.0"
] | null | null | null | android/watchface/src/main/java/com/benoitletondor/pixelminimalwatchface/drawer/digital/SecondsRingDrawer.kt | t-st92/PixelMinimalWatchFace | b806a2b892d1ab3716594b9890c7d83c83b8011c | [
"Apache-2.0"
] | null | null | null | android/watchface/src/main/java/com/benoitletondor/pixelminimalwatchface/drawer/digital/SecondsRingDrawer.kt | t-st92/PixelMinimalWatchFace | b806a2b892d1ab3716594b9890c7d83c83b8011c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 Benoit LETONDOR
*
* 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 la... | 31.418605 | 107 | 0.702443 |
c7e2040ee0f462d19e9f5dd0797cd8871716f381 | 1,447 | java | Java | net.qnenet.flowOSGiBasicStarter/src/com/example/starter/base/osgi/VaadinServletRegistration.java | QNENet/qne-flow-0.0.2 | 3a9d2f5355a3d1c79cb0b6904956c6007469ba36 | [
"Apache-2.0"
] | null | null | null | net.qnenet.flowOSGiBasicStarter/src/com/example/starter/base/osgi/VaadinServletRegistration.java | QNENet/qne-flow-0.0.2 | 3a9d2f5355a3d1c79cb0b6904956c6007469ba36 | [
"Apache-2.0"
] | null | null | null | net.qnenet.flowOSGiBasicStarter/src/com/example/starter/base/osgi/VaadinServletRegistration.java | QNENet/qne-flow-0.0.2 | 3a9d2f5355a3d1c79cb0b6904956c6007469ba36 | [
"Apache-2.0"
] | null | null | null | package com.example.starter.base.osgi;
import java.util.Hashtable;
import javax.servlet.Servlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import org.osgi.framework.BundleContext;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Co... | 30.145833 | 80 | 0.710435 |
d28dbe75e6988cac01bae3097aef1ed5b8f4e2b0 | 5,567 | php | PHP | resources/views/hoadon/create.blade.php | Phamngoan1999/-qlcuahang | f605829d71196291bdeb3433f49892d53eea2409 | [
"MIT"
] | null | null | null | resources/views/hoadon/create.blade.php | Phamngoan1999/-qlcuahang | f605829d71196291bdeb3433f49892d53eea2409 | [
"MIT"
] | null | null | null | resources/views/hoadon/create.blade.php | Phamngoan1999/-qlcuahang | f605829d71196291bdeb3433f49892d53eea2409 | [
"MIT"
] | null | null | null | @extends('header.quanly')
@section('content')
<div class="content-wrapper">
<div class="row">
<div class="col-lg-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<h4 class="card-title">Thêm phụ tùng sửa chữa</h4>... | 56.806122 | 161 | 0.346147 |
38996219cd42b864e0e74c7d07f27a63da5b8929 | 975 | h | C | Source/Ocean.Core/OceanCell.h | AndreyTalanin/Ocean | 81de89c501cda56a21fa20816250a930c6c1acfe | [
"MIT"
] | null | null | null | Source/Ocean.Core/OceanCell.h | AndreyTalanin/Ocean | 81de89c501cda56a21fa20816250a930c6c1acfe | [
"MIT"
] | null | null | null | Source/Ocean.Core/OceanCell.h | AndreyTalanin/Ocean | 81de89c501cda56a21fa20816250a930c6c1acfe | [
"MIT"
] | null | null | null | // Ocean - Copyright © Andrey Talanin 2020
// This file is subject to the terms and conditions defined in the
// file 'LICENSE.md', which is a part of this source code package.
#ifndef _OCEANCELL_H_
#define _OCEANCELL_H_
#include <cstdint>
#include "OceanObject.h"
class Ocean;
class OceanCell
{
private:
int32... | 21.666667 | 66 | 0.704615 |
8743bdfed0f315d7cf7de9bd1ca33496a04f653f | 4,413 | html | HTML | example/layouts/partials/home/benefits.html | johnatasjmo/dashcore-theme | 36fc98f313e64bfe09a7c8bc55e6ce00c900771d | [
"MIT"
] | null | null | null | example/layouts/partials/home/benefits.html | johnatasjmo/dashcore-theme | 36fc98f313e64bfe09a7c8bc55e6ce00c900771d | [
"MIT"
] | null | null | null | example/layouts/partials/home/benefits.html | johnatasjmo/dashcore-theme | 36fc98f313e64bfe09a7c8bc55e6ce00c900771d | [
"MIT"
] | null | null | null | <!-- ./Tons of benefits -->
<section class="section overflow-hidden">
<div class="container bring-to-front">
<div class="row gap-y align-items-center">
<div class="col-md-6 col-lg-5 mr-lg-auto">
<div class="center-xy op-1">
... | 72.344262 | 203 | 0.410605 |
580786a1bc384b6107648301c7c2c58881f647e7 | 575 | h | C | blatSrc/inc/rainbow.h | zrhanna/blatq | 52aca91382dd17255e83bc95a9fa567c11a29d1f | [
"MIT"
] | 3 | 2019-06-12T15:21:58.000Z | 2021-07-16T00:48:21.000Z | blatSrc/inc/rainbow.h | calacademy-research/BLATq | 52aca91382dd17255e83bc95a9fa567c11a29d1f | [
"MIT"
] | 3 | 2016-12-26T15:47:06.000Z | 2019-06-28T01:29:47.000Z | lib/kent/src/inc/rainbow.h | ma-compbio/DESCHRAMBLER | a5ab2d8649f7b594aefb0e3d20de9b18854d24cc | [
"MIT"
] | 3 | 2018-10-26T21:45:32.000Z | 2020-03-08T21:35:13.000Z | /* rainbow - stuff to generate rainbow colors. */
#ifndef RAINBOW_H
#define RAINBOW_H
#ifndef MEMGFX_H
#include "memgfx.h"
#endif
struct rgbColor saturatedRainbowAtPos(double pos);
/* Given pos, a number between 0 and 1, return a saturated rainbow rgbColor
* where 0 maps to red, 0.1 is orange, and 0.9 is violet an... | 30.263158 | 83 | 0.728696 |
2ca3b04c1bfcba101be613708e949fe3e6e30f6c | 625 | kt | Kotlin | modules/ui/src/main/kotlin/com/harleyoconnor/gitdesk/ui/menubar/SelectableGenericStyledArea.kt | Harleyoc1/GitDesk | 88e49e1e3f1072fd16e7651dc716b891c50cfa71 | [
"MIT"
] | null | null | null | modules/ui/src/main/kotlin/com/harleyoconnor/gitdesk/ui/menubar/SelectableGenericStyledArea.kt | Harleyoc1/GitDesk | 88e49e1e3f1072fd16e7651dc716b891c50cfa71 | [
"MIT"
] | null | null | null | modules/ui/src/main/kotlin/com/harleyoconnor/gitdesk/ui/menubar/SelectableGenericStyledArea.kt | Harleyoc1/GitDesk | 88e49e1e3f1072fd16e7651dc716b891c50cfa71 | [
"MIT"
] | null | null | null | package com.harleyoconnor.gitdesk.ui.menubar
import org.fxmisc.richtext.GenericStyledArea
/**
*
* @author Harley O'Connor
*/
data class SelectableGenericStyledArea(
private val styledArea: GenericStyledArea<*, *, *>
) : Selectable {
override fun isFocused(): Boolean = styledArea.isFocused
override fu... | 26.041667 | 83 | 0.728 |
fbc59c39e1a5a013f8bba256409131a18b7f5747 | 384 | h | C | src/utils/DragonPID.h | Team302/2017Steamworks | 757a5332c47dd007482e30ee067852d13582ba39 | [
"MIT"
] | null | null | null | src/utils/DragonPID.h | Team302/2017Steamworks | 757a5332c47dd007482e30ee067852d13582ba39 | [
"MIT"
] | 1 | 2018-09-07T14:14:28.000Z | 2018-09-13T04:01:33.000Z | src/utils/DragonPID.h | Team302/2017Steamworks | 757a5332c47dd007482e30ee067852d13582ba39 | [
"MIT"
] | null | null | null | /*
* DragonPID.h
*
* Created on: Sep 15, 2016
* Author: Eric and Mike
*/
#ifndef SRC_DragonPID_H_
#define SRC_DragonPID_H_
namespace Team302 //HI I FIX UR CODE XDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
{
class DragonPID {
public:
DragonPID();
virtual ~DragonPID();
static float PControl(float currentVal,... | 19.2 | 79 | 0.729167 |
8e21683935e711cc69e0c8c7cf757d625a7b8073 | 299 | asm | Assembly | try/boot_sect_main.asm | benediktweihs/os-tutorial | 629db14e01141622fce72e12d17ddb56f0e98312 | [
"BSD-3-Clause"
] | null | null | null | try/boot_sect_main.asm | benediktweihs/os-tutorial | 629db14e01141622fce72e12d17ddb56f0e98312 | [
"BSD-3-Clause"
] | null | null | null | try/boot_sect_main.asm | benediktweihs/os-tutorial | 629db14e01141622fce72e12d17ddb56f0e98312 | [
"BSD-3-Clause"
] | null | null | null | [org 0x7c00]
mov [BOOT_ENTRY], dl
mov bp, 0x9000 ; stack
mov sp, bp
mov bx, MSG_REAL_MODE
call print
;activate 32-bit protected mode
;
MSG_REAL_MODE db "Started in 16-bit Real Mode", 0
len equ $ - MSG_REAL_MODE
BOOT_ENTRY db 0
%include "./boot_print_16real.asm"
times 510-($-$$) db 0
dw 0xaa55
| 14.95 | 49 | 0.722408 |
5b09cf8266db8bdf3289746c788492d65040dad9 | 326 | asm | Assembly | programs/oeis/121/A121201.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/121/A121201.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/121/A121201.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A121201: 7^n+5^n-2n.
; 2,10,70,462,3018,19922,133262,901654,6155410,42306714,292240854,2026154846,14085427802,98109713506,684326588446,4778079088038,33385518460194,233393453440298,1632228295176038,11417968671701230
mov $2,$0
cal $0,81188 ; 6th binomial transform of (1,0,1,0,1,.....), A059841.
sub $0,$2
mov $1,$0
mul... | 36.222222 | 193 | 0.760736 |
2392ea900ba56777cf97ea476dc007b3b94ed3a3 | 83 | kt | Kotlin | app/src/main/java/me/hufman/androidautoidrive/music/RepeatMode.kt | einarjegorov/AndroidAutoIdrive | fff6878aae4be8278d08723707d1b15e241b432a | [
"MIT"
] | 300 | 2019-02-28T17:41:46.000Z | 2021-08-25T12:18:49.000Z | app/src/main/java/me/hufman/androidautoidrive/music/RepeatMode.kt | einarjegorov/AndroidAutoIdrive | fff6878aae4be8278d08723707d1b15e241b432a | [
"MIT"
] | 287 | 2019-03-12T20:33:19.000Z | 2021-08-28T10:26:35.000Z | app/src/main/java/me/hufman/androidautoidrive/music/RepeatMode.kt | einarjegorov/AndroidAutoIdrive | fff6878aae4be8278d08723707d1b15e241b432a | [
"MIT"
] | 64 | 2019-03-12T19:37:17.000Z | 2021-08-08T18:04:15.000Z | package me.hufman.androidautoidrive.music
enum class RepeatMode {
ALL, ONE, OFF
} | 16.6 | 41 | 0.783133 |
fb24d99ae7e2784a434356828e2d949d8670859c | 2,518 | kt | Kotlin | vknews/src/main/java/com/stacktivity/vknews/adapter/fingerprints/NewsVerticalImageFingerprint.kt | FireTiger33/VkCup_2021_android | 1a1677790fab113fb00c314b5a46f96bae1542ab | [
"Apache-2.0"
] | null | null | null | vknews/src/main/java/com/stacktivity/vknews/adapter/fingerprints/NewsVerticalImageFingerprint.kt | FireTiger33/VkCup_2021_android | 1a1677790fab113fb00c314b5a46f96bae1542ab | [
"Apache-2.0"
] | null | null | null | vknews/src/main/java/com/stacktivity/vknews/adapter/fingerprints/NewsVerticalImageFingerprint.kt | FireTiger33/VkCup_2021_android | 1a1677790fab113fb00c314b5a46f96bae1542ab | [
"Apache-2.0"
] | null | null | null | package com.stacktivity.vknews.adapter.fingerprints
import android.graphics.drawable.Drawable
import android.view.Gravity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.stacktivity.vknews.R.layout.news_card_with_background_image
import com.stacktivity.vknews.adapte... | 34.972222 | 104 | 0.74305 |
2f7cbdce379f39d1b19452735c82e0fd4b7701eb | 1,108 | swift | Swift | iOS_Swift_Learning/LNFTabBarController.swift | MrLiu163/iOS_Swift_Learning | 5c718a5473005763d3f38358adfe60652bd2de3c | [
"MIT"
] | null | null | null | iOS_Swift_Learning/LNFTabBarController.swift | MrLiu163/iOS_Swift_Learning | 5c718a5473005763d3f38358adfe60652bd2de3c | [
"MIT"
] | null | null | null | iOS_Swift_Learning/LNFTabBarController.swift | MrLiu163/iOS_Swift_Learning | 5c718a5473005763d3f38358adfe60652bd2de3c | [
"MIT"
] | null | null | null | //
// LNFTabBarController.swift
// iOS_Swift_Learning
//
// Created by mrliu on 2020/12/6.
//
import UIKit
class LNFTabBarController: UITabBarController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
self.vie... | 34.625 | 111 | 0.697653 |
f99eecd4b9674b4c0c8b7e7401a92decf821432d | 5,771 | go | Go | src/builder/pkg.go | KevinParnell/solbuild | c894514bafcdf7944f4067f9f78a2421b1add669 | [
"Apache-2.0"
] | 1 | 2019-07-16T07:22:50.000Z | 2019-07-16T07:22:50.000Z | src/builder/pkg.go | KevinParnell/solbuild | c894514bafcdf7944f4067f9f78a2421b1add669 | [
"Apache-2.0"
] | null | null | null | src/builder/pkg.go | KevinParnell/solbuild | c894514bafcdf7944f4067f9f78a2421b1add669 | [
"Apache-2.0"
] | null | null | null | //
// Copyright © 2016 Ikey Doherty <ikey@solus-project.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | 24.875 | 85 | 0.680991 |
86c3c69e03538ab20c98e61c6dd1553038f0f35a | 5,919 | go | Go | gooxml/docx_test.go | carmel/go-demo | 0857edec44b1b2610b9b312306e2e0b3e742f75f | [
"Apache-2.0"
] | null | null | null | gooxml/docx_test.go | carmel/go-demo | 0857edec44b1b2610b9b312306e2e0b3e742f75f | [
"Apache-2.0"
] | null | null | null | gooxml/docx_test.go | carmel/go-demo | 0857edec44b1b2610b9b312306e2e0b3e742f75f | [
"Apache-2.0"
] | null | null | null | package gooxml
import (
"fmt"
"log"
"testing"
"time"
"github.com/carmel/gooxml/color"
"github.com/carmel/gooxml/common"
"github.com/carmel/gooxml/document"
"github.com/carmel/gooxml/measurement"
"github.com/carmel/gooxml/schema/soo/wml"
)
var lorem = "我是一段很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长... | 30.045685 | 109 | 0.701977 |
d26f116c5c0c8f2bc6a0f74a3ce3aa4d4002434a | 956 | php | PHP | app/Http/Controllers/Api/ShoppingCartController.php | PamelaPz/Laravel_CRM | bca25ad900b3c0bdcd75b04b1f4005e73e460972 | [
"MIT"
] | 4 | 2020-06-18T21:05:04.000Z | 2021-07-01T06:55:42.000Z | app/Http/Controllers/Api/ShoppingCartController.php | PamelaPz/Laravel_CRM | bca25ad900b3c0bdcd75b04b1f4005e73e460972 | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/ShoppingCartController.php | PamelaPz/Laravel_CRM | bca25ad900b3c0bdcd75b04b1f4005e73e460972 | [
"MIT"
] | 2 | 2020-06-11T21:32:37.000Z | 2021-03-11T00:58:05.000Z | <?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Utils\ShoppingCartUtil;
use Illuminate\Http\Request;
class ShoppingCartController extends Controller
{
public function products(Request $request)
{
$sCartUtil = new ShoppingCartUtil($request->user());
return response()->jso... | 21.727273 | 80 | 0.708159 |
8225c6b03a0202703f23b02688ea1f5dda071ddc | 5,169 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2923.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2923.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2923.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x16975, %rbx
nop
nop
cmp %rax, %rax
mov $0x6162636465666768, %r10
movq %r10, %xmm3
vmovups %ymm3, (%rbx)
nop
nop
cmp %r9, %r9
lea addresses_UC_ht+0x156c5, %rsi
lea addresses_D... | 44.179487 | 2,999 | 0.66183 |
747364c32ea972e2084f25087e6f00d93647054f | 50,940 | h | C | Zmeya.h | sthagen/Zmeya | 36ddd2104044aa5cbdb7bd83fd6bf373d3f9f4a3 | [
"MIT"
] | 89 | 2021-03-18T05:09:51.000Z | 2022-02-27T12:38:34.000Z | Zmeya.h | sthagen/Zmeya | 36ddd2104044aa5cbdb7bd83fd6bf373d3f9f4a3 | [
"MIT"
] | null | null | null | Zmeya.h | sthagen/Zmeya | 36ddd2104044aa5cbdb7bd83fd6bf373d3f9f4a3 | [
"MIT"
] | 2 | 2021-09-15T09:58:39.000Z | 2022-02-16T05:23:33.000Z | // The MIT License (MIT)
//
// Copyright (c) 2021 Sergey Makeev
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, c... | 36.594828 | 138 | 0.654083 |
85f35e09b7a59a1fd368b2fdfcc7277a60b5cf82 | 1,156 | c | C | src/qemu/src-pmp/tests/virtio-serial-test.c | pmp-tool/PMP | ef5e05fb4612bb622a9e1039f772c6234b87df7d | [
"MIT"
] | 8 | 2020-09-06T12:49:00.000Z | 2022-03-09T04:02:06.000Z | src/qemu/src-pmp/tests/virtio-serial-test.c | newthis/PMP | ef5e05fb4612bb622a9e1039f772c6234b87df7d | [
"MIT"
] | null | null | null | src/qemu/src-pmp/tests/virtio-serial-test.c | newthis/PMP | ef5e05fb4612bb622a9e1039f772c6234b87df7d | [
"MIT"
] | 7 | 2020-09-08T15:14:34.000Z | 2021-06-24T18:03:49.000Z | /*
* QTest testcase for VirtIO Serial
*
* Copyright (c) 2014 SUSE LINUX Products GmbH
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "libqtest.h"
#include "libqos/virtio-serial.h"
/* Tests only... | 29.641026 | 78 | 0.725779 |
89bca97b7adc23e23a89d0afa2478e93a312905b | 80 | dart | Dart | lib/qr_scanner.dart | rajveermalviya/qr_scanner_flutter | 160aa81f7a236b95fb3ad95c6c4729977c333e51 | [
"Apache-2.0"
] | 3 | 2021-09-01T17:53:46.000Z | 2022-01-28T10:18:24.000Z | lib/qr_scanner.dart | rajveermalviya/qr_scanner_flutter | 160aa81f7a236b95fb3ad95c6c4729977c333e51 | [
"Apache-2.0"
] | null | null | null | lib/qr_scanner.dart | rajveermalviya/qr_scanner_flutter | 160aa81f7a236b95fb3ad95c6c4729977c333e51 | [
"Apache-2.0"
] | null | null | null | export 'src/qr_scanner_controller.dart';
export 'src/qr_scanner_preview.dart';
| 20 | 40 | 0.8125 |
cfeb97742a575097c51598bd82f455d942b7420f | 11,486 | dart | Dart | packages/flutter/test/material/circle_avatar_test.dart | devansh12b2/flutter | ba01ec8faae9a9be3cd90ee2b7357a803b7a7178 | [
"BSD-3-Clause"
] | 13 | 2021-09-30T10:31:12.000Z | 2022-03-23T06:20:21.000Z | packages/flutter/test/material/circle_avatar_test.dart | devansh12b2/flutter | ba01ec8faae9a9be3cd90ee2b7357a803b7a7178 | [
"BSD-3-Clause"
] | 31 | 2020-08-18T13:19:33.000Z | 2022-03-31T07:35:08.000Z | packages/flutter/test/material/circle_avatar_test.dart | Cruising0904/flutter | 5f105a6ca7a5ac7b8bc9b241f4c2d86f4188cf5c | [
"BSD-3-Clause"
] | 6 | 2020-07-29T15:15:17.000Z | 2021-01-01T05:31:09.000Z | // Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is run as part of a reduced test set in CI on Mac and Windows
// machines.
@Tags(<String>['reduced-test-set'])
import 'dart:typed_data';
impo... | 35.89375 | 117 | 0.671426 |
d9fb849406d6086e6b6e0b5ba780d399028081c2 | 867 | kt | Kotlin | src/main/kotlin/org/devmpv/telebot/service/WeatherCacheService.kt | devmpv/telebot | 1172b6531cd7708da1f872d2bd52807b64da63f8 | [
"MIT"
] | null | null | null | src/main/kotlin/org/devmpv/telebot/service/WeatherCacheService.kt | devmpv/telebot | 1172b6531cd7708da1f872d2bd52807b64da63f8 | [
"MIT"
] | null | null | null | src/main/kotlin/org/devmpv/telebot/service/WeatherCacheService.kt | devmpv/telebot | 1172b6531cd7708da1f872d2bd52807b64da63f8 | [
"MIT"
] | null | null | null | package org.devmpv.telebot.service
import mu.KotlinLogging
import org.devmpv.telebot.client.openweather.OpenWeatherClient
import org.devmpv.telebot.config.properties.CacheProperties
import org.devmpv.telebot.domain.weather.WeatherReport
import org.devmpv.telebot.utils.toWeatherReport
import org.springframework.cache.a... | 36.125 | 91 | 0.787774 |
37eb929e64d93c06d318775df498585fb97a3891 | 1,334 | sql | SQL | src/1-Phenotype-web/ext/wgetdl/curation.sql | glasgowm148/osgenome_rccx | 08f82ddf85253f3911ca5f7ccfdc5ef6cd2b3220 | [
"MIT",
"Unlicense"
] | 8 | 2019-09-17T10:22:40.000Z | 2022-03-30T22:22:19.000Z | src/1-Phenotype-web/ext/wgetdl/curation.sql | glasgowm148/osgenome_rccx | 08f82ddf85253f3911ca5f7ccfdc5ef6cd2b3220 | [
"MIT",
"Unlicense"
] | 4 | 2021-02-02T10:36:55.000Z | 2021-11-30T13:17:52.000Z | src/1-Phenotype-web/ext/wgetdl/curation.sql | glasgowm148/osgenome_rccx | 08f82ddf85253f3911ca5f7ccfdc5ef6cd2b3220 | [
"MIT",
"Unlicense"
] | 2 | 2019-09-11T00:10:26.000Z | 2021-01-21T22:38:01.000Z | use pgvis_for_get;
DROP TABLE IF EXISTS entry_tag;
DROP TABLE IF EXISTS entry_variant;
DROP TABLE IF EXISTS save_info;
DROP TABLE IF EXISTS variant;
DROP TABLE IF EXISTS category;
DROP TABLE IF EXISTS saved_variant;
DROP TABLE IF EXISTS entry;
DROP TABLE IF EXISTS tag;
DROP TABLE IF EXISTS saved_tag;
CREATE TABLE var... | 17.786667 | 35 | 0.74063 |
428b51a920e8e2bbb0986ba6045b54449eb6b10e | 3,325 | swift | Swift | Dispatcher-SwiftUI-Core/Dispatcher-SwiftUI-Core/ Diagram Components/Thread.swift | almaleh/Dispatcher | 56a950b46d50a0a6da3bfa2535a2006414e5c7e8 | [
"MIT"
] | 77 | 2020-01-28T16:43:54.000Z | 2022-03-15T04:13:04.000Z | Dispatcher-SwiftUI-Core/Dispatcher-SwiftUI-Core/ Diagram Components/Thread.swift | almaleh/Dispatcher | 56a950b46d50a0a6da3bfa2535a2006414e5c7e8 | [
"MIT"
] | null | null | null | Dispatcher-SwiftUI-Core/Dispatcher-SwiftUI-Core/ Diagram Components/Thread.swift | almaleh/Dispatcher | 56a950b46d50a0a6da3bfa2535a2006414e5c7e8 | [
"MIT"
] | 14 | 2020-04-09T18:13:48.000Z | 2022-03-15T12:08:21.000Z | //
// Thread.swift
// Dispatcher
//
// Created by Besher on 2020-01-17.
// Copyright © 2020 Besher Al Maleh. All rights reserved.
//
import SwiftUI
struct Thread: View {
@State private var emojiOpacity: Double = 0.0
@State private var emojiScale: CGFloat = 0.5
@State private var threadLength: CGF... | 31.367925 | 109 | 0.493835 |
52c4e34597a4b3707a49f0621fdf8d0f96533988 | 1,163 | asm | Assembly | playWithNumbers/primeNumber/PrimeNumberHaunting.asm | MinhasKamal/AlgorithmsImplementation | 29e45b8b19aaea9a1946fbdfa2da585c5f09b118 | [
"MIT"
] | 70 | 2016-11-21T10:28:30.000Z | 2022-03-15T08:38:10.000Z | playWithNumbers/primeNumber/PrimeNumberHaunting.asm | amitkarn/AlgorithmImplementations | 29e45b8b19aaea9a1946fbdfa2da585c5f09b118 | [
"MIT"
] | null | null | null | playWithNumbers/primeNumber/PrimeNumberHaunting.asm | amitkarn/AlgorithmImplementations | 29e45b8b19aaea9a1946fbdfa2da585c5f09b118 | [
"MIT"
] | 36 | 2016-11-28T08:07:42.000Z | 2022-03-15T08:38:13.000Z | ##Writer: Minhas Kamal
##Date: 01-MAY-2014
##Function: Finds prime numbers in a certain range.
#####**data**#####
.data
prompt: .asciiz "Enter your range: "
new_line: .asciiz "\n"
#####**text**#####
.text
main:
la $a0, prompt #prompt for user input
li $v0, 4
syscall
li $v0, 5 #take start integer
sysca... | 16.855072 | 57 | 0.598452 |
9c7bc8e625c2f80b023de4150e0e816c0a57f69a | 3,648 | js | JavaScript | apps/native-component-list/screens/HapticsScreen.js | ThakurKarthik/expo | ed78ed4f07c950184a59422ebd95645253f44e3d | [
"Apache-2.0",
"MIT"
] | 2 | 2019-05-23T20:39:18.000Z | 2019-05-24T14:00:32.000Z | apps/native-component-list/screens/HapticsScreen.js | ThakurKarthik/expo | ed78ed4f07c950184a59422ebd95645253f44e3d | [
"Apache-2.0",
"MIT"
] | null | null | null | apps/native-component-list/screens/HapticsScreen.js | ThakurKarthik/expo | ed78ed4f07c950184a59422ebd95645253f44e3d | [
"Apache-2.0",
"MIT"
] | null | null | null | import React from 'react';
import { SectionList, StyleSheet, Text, View } from 'react-native';
import { Haptics } from 'expo';
import Button from '../components/Button';
import Colors from '../constants/Colors';
import MonoText from '../components/MonoText';
const sections = [
{
method: Haptics.notificationAsyn... | 22.943396 | 87 | 0.609649 |
b91431bf3406fbe8ef1a25b3bf8521601873e13a | 3,767 | sql | SQL | create.sql | plain16mtd/database | fef48a14dc0ca004a23845c497246458901a37cf | [
"Apache-2.0"
] | null | null | null | create.sql | plain16mtd/database | fef48a14dc0ca004a23845c497246458901a37cf | [
"Apache-2.0"
] | null | null | null | create.sql | plain16mtd/database | fef48a14dc0ca004a23845c497246458901a37cf | [
"Apache-2.0"
] | null | null | null | # ---------------------------------------------------------------------- #
# Script generated with: DeZign for Databases V9.1.0 #
# Target DBMS: MySQL 5 #
# Project file: Project1.dez #
# Project name: ... | 42.806818 | 80 | 0.351473 |
7bca1812fec87ed1aa679f9646177c1eac2530a7 | 1,353 | css | CSS | client/src/assets/styles.css | anyrange/enis2 | 738a61b19228e791ae9b0cf45b9dba33a49282b0 | [
"MIT"
] | 5 | 2021-07-16T15:55:47.000Z | 2022-02-19T12:18:29.000Z | client/src/assets/styles.css | anyrange/enis2 | 738a61b19228e791ae9b0cf45b9dba33a49282b0 | [
"MIT"
] | null | null | null | client/src/assets/styles.css | anyrange/enis2 | 738a61b19228e791ae9b0cf45b9dba33a49282b0 | [
"MIT"
] | null | null | null | body {
@apply text-black dark:text-white antialiased;
@apply bg-gray-50 dark:bg-gray-900-spotify;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-... | 21.822581 | 81 | 0.689579 |
58ba1b4814bc3cb56ef47b62c9c0d7884df00327 | 2,122 | kt | Kotlin | libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/internal/navigation/DepartEventFactory.kt | pouzadf/mapbox-navigation-android | a72b132e5339dcb7f7298b1970748678e5b18838 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | 1 | 2019-11-26T01:58:28.000Z | 2019-11-26T01:58:28.000Z | libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/internal/navigation/DepartEventFactory.kt | pouzadf/mapbox-navigation-android | a72b132e5339dcb7f7298b1970748678e5b18838 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | null | null | null | libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/internal/navigation/DepartEventFactory.kt | pouzadf/mapbox-navigation-android | a72b132e5339dcb7f7298b1970748678e5b18838 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | null | null | null | package com.mapbox.services.android.navigation.v5.internal.navigation
import com.mapbox.services.android.navigation.v5.internal.location.MetricsLocation
import com.mapbox.services.android.navigation.v5.internal.navigation.metrics.SessionState
import com.mapbox.services.android.navigation.v5.internal.navigation.routepr... | 33.68254 | 103 | 0.721489 |
7f727a6b2c0d63d63d974aa8c47df251961e4bf4 | 250 | swift | Swift | UIWindow+Ex.swift | JemesL/SaePlayer | a4433d0d42d5a1b5d0448728d85433a59f1a1835 | [
"MIT"
] | null | null | null | UIWindow+Ex.swift | JemesL/SaePlayer | a4433d0d42d5a1b5d0448728d85433a59f1a1835 | [
"MIT"
] | null | null | null | UIWindow+Ex.swift | JemesL/SaePlayer | a4433d0d42d5a1b5d0448728d85433a59f1a1835 | [
"MIT"
] | null | null | null | //
// UIWindow+Ex.swift
// SaePlayer
//
// Created by Jemesl on 2020/7/9.
//
import Foundation
extension UIWindow {
static func getKeyWindow() -> UIWindow? {
return UIApplication.shared.windows.filter({ $0.isKeyWindow }).last
}
}
| 17.857143 | 75 | 0.656 |
b8e9e6b09dfc5f1fd53b9095ee4626e47f4baa73 | 1,257 | swift | Swift | UdacityMentorDashboard/Models/Project.swift | dnKaratzas/udacity-mentor-dashboard | 1eda6f69faaa6c577c72487d3f3af0e10b6b17d6 | [
"Apache-2.0"
] | 8 | 2018-07-12T19:42:42.000Z | 2020-08-03T02:37:49.000Z | UdacityMentorDashboard/Models/Project.swift | dnKaratzas/udacity-mentor-dashboard | 1eda6f69faaa6c577c72487d3f3af0e10b6b17d6 | [
"Apache-2.0"
] | null | null | null | UdacityMentorDashboard/Models/Project.swift | dnKaratzas/udacity-mentor-dashboard | 1eda6f69faaa6c577c72487d3f3af0e10b6b17d6 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 Dionysios Karatzas
*
* 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 agr... | 24.647059 | 75 | 0.608592 |
e600688c92bb3eb85d20588588415f8b3531ad2b | 631 | go | Go | message/bundle.go | tribalwarshelp/dcbot | 38d24b59beec3e8da100b0dad789350f1e90e3c2 | [
"MIT"
] | 1 | 2021-01-25T23:16:57.000Z | 2021-01-25T23:16:57.000Z | message/bundle.go | tribalwarshelp/dcbot | 38d24b59beec3e8da100b0dad789350f1e90e3c2 | [
"MIT"
] | 3 | 2021-07-06T07:06:44.000Z | 2021-08-30T08:21:01.000Z | message/bundle.go | tribalwarshelp/dcbot | 38d24b59beec3e8da100b0dad789350f1e90e3c2 | [
"MIT"
] | null | null | null | package message
import (
"os"
"path/filepath"
"github.com/nicksnyder/go-i18n/v2/i18n"
"golang.org/x/text/language"
)
var lang = language.English
var bundle = i18n.NewBundle(lang)
func GetDefaultLanguage() language.Tag {
return lang
}
func NewLocalizer(l ...string) *i18n.Localizer {
return i18n.NewLocalizer(... | 18.028571 | 82 | 0.716323 |
f4c03e3cd89113551411fe45f9cbdf3638c6711e | 4,190 | go | Go | modules/hbs/cache/agents.go | bbaobelief/falcon-plus | d149b70307a9b9677adbe26e282aa4ce4a31170f | [
"Apache-2.0"
] | 37 | 2020-04-22T08:52:44.000Z | 2022-01-09T02:48:03.000Z | modules/hbs/cache/agents.go | bbaobelief/falcon-plus | d149b70307a9b9677adbe26e282aa4ce4a31170f | [
"Apache-2.0"
] | 4 | 2020-04-23T03:23:40.000Z | 2020-04-23T04:56:38.000Z | modules/hbs/cache/agents.go | bbaobelief/falcon-plus | d149b70307a9b9677adbe26e282aa4ce4a31170f | [
"Apache-2.0"
] | 7 | 2020-04-23T03:52:26.000Z | 2021-11-22T06:51:51.000Z | // Copyright 2017 Xiaomi, 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 agreed to in... | 23.021978 | 103 | 0.704296 |
d2ad9512d851e7f922b9a8d432684fd36ded0723 | 2,506 | php | PHP | resources/views/dashboard.blade.php | tnaffh/iob | fa305af0b093e789e56b748c77a4c820f65c9c90 | [
"MIT"
] | null | null | null | resources/views/dashboard.blade.php | tnaffh/iob | fa305af0b093e789e56b748c77a4c820f65c9c90 | [
"MIT"
] | null | null | null | resources/views/dashboard.blade.php | tnaffh/iob | fa305af0b093e789e56b748c77a4c820f65c9c90 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
<div class="container">
<div class="row profile">
<div class="col-md-3">
<div class="profile-sidebar">
<!-- SIDEBAR USERPIC -->
<div class="profile-userpic">
<img src="https://api.adorable.io/avatars... | 39.777778 | 127 | 0.373105 |
928262739262ed5749ac1e36bbc045c87a4a8580 | 954 | h | C | stingray_sdk/plugin_foundation/color.h | stefanseibert/interactive-ml | c9af95678264c9da9b6041b96be0a474d724aae0 | [
"Apache-2.0"
] | 1 | 2018-02-19T22:15:05.000Z | 2018-02-19T22:15:05.000Z | stingray_sdk/plugin_foundation/color.h | stefanseibert/interactive-ml | c9af95678264c9da9b6041b96be0a474d724aae0 | [
"Apache-2.0"
] | null | null | null | stingray_sdk/plugin_foundation/color.h | stefanseibert/interactive-ml | c9af95678264c9da9b6041b96be0a474d724aae0 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "platform.h"
#include "math.h"
namespace stingray_plugin_foundation {
typedef unsigned int Color8;
__forceinline Color8 color8(unsigned char a, unsigned char r, unsigned char g, unsigned char b)
{
return (a << 24) | (r << 16) | (g << 8) | b;
}
__forceinline unsigned char alpha(Color8 c) {re... | 26.5 | 96 | 0.667715 |
0ecdab71b4325a78814cb94e8715db242a58794d | 1,734 | ts | TypeScript | src/useLocalStorage/useLocalStorage.ts | kaansey/react-localstorage-hook | 1124cbdd027ff29460226ccc0d0ebfcbae1da163 | [
"MIT"
] | 2 | 2020-11-16T07:20:09.000Z | 2020-11-17T00:49:05.000Z | src/useLocalStorage/useLocalStorage.ts | kaansey/react-localstorage-hook | 1124cbdd027ff29460226ccc0d0ebfcbae1da163 | [
"MIT"
] | 1 | 2020-10-02T13:55:57.000Z | 2020-10-02T13:55:57.000Z | src/useLocalStorage/useLocalStorage.ts | kaansey/react-localstorage-hook | 1124cbdd027ff29460226ccc0d0ebfcbae1da163 | [
"MIT"
] | null | null | null | import { useState, useLayoutEffect, useCallback } from 'react'
const localStorageHook = (key: string, defaultValue: any) => {
const [value, setValue] = useState(() => {
const storageValue = localStorage.getItem(key)
return storageValue === null ? defaultValue : JSON.parse(storageValue)
})
const updateVa... | 24.771429 | 77 | 0.626874 |
ad97e06fc3e8943eb8f85ef946e4be3619a8d0b8 | 12,242 | rs | Rust | cranelift/codegen/src/legalizer/mod.rs | 1Crazymoney/wasmtime | 76afcab0c2bc9568b01a9aff09b90cb1641e9674 | [
"Apache-2.0"
] | 2 | 2021-10-02T02:57:57.000Z | 2021-10-02T14:26:24.000Z | cranelift/codegen/src/legalizer/mod.rs | 1Crazymoney/wasmtime | 76afcab0c2bc9568b01a9aff09b90cb1641e9674 | [
"Apache-2.0"
] | null | null | null | cranelift/codegen/src/legalizer/mod.rs | 1Crazymoney/wasmtime | 76afcab0c2bc9568b01a9aff09b90cb1641e9674 | [
"Apache-2.0"
] | null | null | null | //! Legalize instructions.
//!
//! A legal instruction is one that can be mapped directly to a machine code instruction for the
//! target ISA. The `legalize_function()` function takes as input any function and transforms it
//! into an equivalent function using only legal instructions.
//!
//! The characteristics of l... | 36.762763 | 99 | 0.540516 |
398c1c53fd572f6afdaf7503179dfb351bfc1eb3 | 744 | swift | Swift | NHS-COVID-19/Core/Sources/Domain/ExposureNotification/Feature.swift | faberga/covid-19-app-ios-ag-public | ee43e47aa1c082ea0bbfb0a971327dea807e4533 | [
"MIT"
] | null | null | null | NHS-COVID-19/Core/Sources/Domain/ExposureNotification/Feature.swift | faberga/covid-19-app-ios-ag-public | ee43e47aa1c082ea0bbfb0a971327dea807e4533 | [
"MIT"
] | null | null | null | NHS-COVID-19/Core/Sources/Domain/ExposureNotification/Feature.swift | faberga/covid-19-app-ios-ag-public | ee43e47aa1c082ea0bbfb0a971327dea807e4533 | [
"MIT"
] | null | null | null | //
// Copyright © 2020 NHSX. All rights reserved.
//
import Foundation
public enum Feature: CaseIterable {
/// Allows people to tell the app they have had a negative test result from a
/// daily contact testing programme. This will release them from self-isolation
/// so that exposure notifications c... | 33.818182 | 83 | 0.717742 |
e3f441d10241b721d4bd58e71eed700747dfd13e | 3,111 | sql | SQL | sql/test_site.sql | cybervictimssl/MrRobotCTF | 86e37e1cc767740171ef9e8b2db2e1ec92be1fb0 | [
"Apache-2.0"
] | null | null | null | sql/test_site.sql | cybervictimssl/MrRobotCTF | 86e37e1cc767740171ef9e8b2db2e1ec92be1fb0 | [
"Apache-2.0"
] | null | null | null | sql/test_site.sql | cybervictimssl/MrRobotCTF | 86e37e1cc767740171ef9e8b2db2e1ec92be1fb0 | [
"Apache-2.0"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Sep 28, 2020 at 10:29 PM
-- Server version: 10.4.14-MariaDB
-- PHP Version: 7.4.10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 28.805556 | 183 | 0.657988 |
5c555ff80d28b536d51064769bc0c35916f431f1 | 1,283 | h | C | src/imagestoreupdatesource.h | hemeraos/gravity-software-manager-plugin | 952845567f9eeeae6856d4d83ff55a823d943ab2 | [
"Apache-2.0"
] | null | null | null | src/imagestoreupdatesource.h | hemeraos/gravity-software-manager-plugin | 952845567f9eeeae6856d4d83ff55a823d943ab2 | [
"Apache-2.0"
] | null | null | null | src/imagestoreupdatesource.h | hemeraos/gravity-software-manager-plugin | 952845567f9eeeae6856d4d83ff55a823d943ab2 | [
"Apache-2.0"
] | 1 | 2021-02-08T17:53:35.000Z | 2021-02-08T17:53:35.000Z | /*
*
*/
#ifndef GRAVITY_NETWORKENDPOINTUPDATESOURCE_H
#define GRAVITY_NETWORKENDPOINTUPDATESOURCE_H
#include "updatesource.h"
#include <QtCore/QUrl>
#include <QtNetwork/QSslConfiguration>
class QNetworkAccessManager;
class QNetworkRequest;
namespace Hemera {
class Operation;
}
class ImageStoreUpdateSourcePriva... | 23.327273 | 136 | 0.792673 |
855ad0719dca60666f526ae68d8108439f8cb381 | 261 | js | JavaScript | static/api/cpp/search/classes_a.js | jadarve/lluvia-docs | 0f4c77998377bf56515f1fce81c5c7905ff172c4 | [
"MIT"
] | null | null | null | static/api/cpp/search/classes_a.js | jadarve/lluvia-docs | 0f4c77998377bf56515f1fce81c5c7905ff172c4 | [
"MIT"
] | 13 | 2020-06-03T00:04:25.000Z | 2022-01-25T01:00:39.000Z | static/api/cpp/search/classes_a.js | jadarve/lluvia-docs | 0f4c77998377bf56515f1fce81c5c7905ff172c4 | [
"MIT"
] | 1 | 2021-06-04T22:49:56.000Z | 2021-06-04T22:49:56.000Z | var searchData=
[
['vec3_449',['vec3',['../structll_1_1vec3.html',1,'ll']]],
['vec3_3c_20uint32_5ft_20_3e_450',['vec3< uint32_t >',['../structll_1_1vec3.html',1,'ll']]],
['vkheapinfo_451',['VkHeapInfo',['../structll_1_1VkHeapInfo.html',1,'ll']]]
];
| 37.285714 | 100 | 0.651341 |
c4ab3d6d3ac154bd58adacc354251f40be3ecdcb | 21,155 | h | C | net.ssa/xr_3da/Collide/cl_intersect.h | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:19.000Z | 2022-03-26T17:00:19.000Z | xr_3da/Collide/cl_intersect.h | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | null | null | null | xr_3da/Collide/cl_intersect.h | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:21.000Z | 2022-03-26T17:00:21.000Z | //---------------------------------------------------------------------------
#ifndef intersectH
#define intersectH
#include "cl_defs.h"
namespace RAPID {
//----------------------------------------------------------------------
// Name : intersectRaySphere()
// Input : rO - origin of ray in world space
// ... | 35.258333 | 114 | 0.489104 |
0a198b45c79d3602ed9ba5869eaea3849e73c54d | 447 | swift | Swift | SkyUtils/Locking.swift | skylarsch/SkyUtils | 59255c2e28145ee0d7a8fb8513b901738c8c1e40 | [
"MIT"
] | null | null | null | SkyUtils/Locking.swift | skylarsch/SkyUtils | 59255c2e28145ee0d7a8fb8513b901738c8c1e40 | [
"MIT"
] | null | null | null | SkyUtils/Locking.swift | skylarsch/SkyUtils | 59255c2e28145ee0d7a8fb8513b901738c8c1e40 | [
"MIT"
] | null | null | null | //
// Locking.swift
// SkyUtils
//
// Created by Skylar Schipper on 8/24/16.
// Copyright © 2016 Skylar Schipper. All rights reserved.
//
public protocol Locking {
mutating func lock()
mutating func unlock()
mutating func tryLock() -> Bool
}
public extension Locking {
mutating func sync<T>(_ block... | 20.318182 | 72 | 0.612975 |
06ebbddc4638dc47a6af4852b7d4006de626ce6d | 10,728 | kt | Kotlin | app/src/main/java/com/uiuang/cloudknowledge/ui/fragment/home/WanHomeFragment.kt | uiuang/CloudKnowledge | 0a5d9e980f24abc6067392fc83fd930047b7d85e | [
"Apache-2.0"
] | 2 | 2020-08-04T05:19:00.000Z | 2021-01-17T08:39:11.000Z | app/src/main/java/com/uiuang/cloudknowledge/ui/fragment/home/WanHomeFragment.kt | uiuang/CloudKnowledge | 0a5d9e980f24abc6067392fc83fd930047b7d85e | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/uiuang/cloudknowledge/ui/fragment/home/WanHomeFragment.kt | uiuang/CloudKnowledge | 0a5d9e980f24abc6067392fc83fd930047b7d85e | [
"Apache-2.0"
] | null | null | null | package com.uiuang.cloudknowledge.ui.fragment.home
import android.os.Bundle
import android.view.View
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import androidx.recyclerview.widget.Divide... | 40.029851 | 171 | 0.603747 |
e8db7b8afe28efde2a5b3d53186f27fb42108a8d | 1,912 | py | Python | src/test/tests/hybrid/missingdata.py | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 226 | 2018-12-29T01:13:49.000Z | 2022-03-30T19:16:31.000Z | src/test/tests/hybrid/missingdata.py | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 5,100 | 2019-01-14T18:19:25.000Z | 2022-03-31T23:08:36.000Z | src/test/tests/hybrid/missingdata.py | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 84 | 2019-01-24T17:41:50.000Z | 2022-03-10T10:01:46.000Z | # ----------------------------------------------------------------------------
# CLASSES: nightly
#
# Test Case: missingdata.py
#
# Tests: missing data
#
# Programmer: Brad Whitlock
# Date: Thu Jan 19 09:49:15 PST 2012
#
# Modifications:
#
# ------------------------------------------------------------... | 26.555556 | 78 | 0.619247 |
c8c89346e89883c82d2f0a0df4831a54ad6aa594 | 905 | swift | Swift | build/src/Models/WfmBuShortTermForecastUpdateCompleteTopicBuShortTermForecastNotification.swift | MyPureCloud/platform-client-sdk-ios | d69e3deedbbe2f30c3641a5c8b4e66eb5eb6858b | [
"MIT"
] | null | null | null | build/src/Models/WfmBuShortTermForecastUpdateCompleteTopicBuShortTermForecastNotification.swift | MyPureCloud/platform-client-sdk-ios | d69e3deedbbe2f30c3641a5c8b4e66eb5eb6858b | [
"MIT"
] | null | null | null | build/src/Models/WfmBuShortTermForecastUpdateCompleteTopicBuShortTermForecastNotification.swift | MyPureCloud/platform-client-sdk-ios | d69e3deedbbe2f30c3641a5c8b4e66eb5eb6858b | [
"MIT"
] | 1 | 2021-05-11T21:57:38.000Z | 2021-05-11T21:57:38.000Z | //
// WfmBuShortTermForecastUpdateCompleteTopicBuShortTermForecastNotification.swift
//
// Generated by swagger-codegen
// https://github.com/swagger-api/swagger-codegen
//
import Foundation
public class WfmBuShortTermForecastUpdateCompleteTopicBuShortTermForecastNotification: Codable {
public enum Status: Str... | 24.459459 | 127 | 0.704972 |
5c741a769388db4baf147eac11e9d0323cbe2550 | 475 | h | C | CC98Lite/Models/CC98Forum.h | xueshoulai/CC98Lite | 830612d1c102c3acd90c47f157df67ef9a217aa8 | [
"Unlicense"
] | 1 | 2016-01-04T11:46:14.000Z | 2016-01-04T11:46:14.000Z | CC98Lite/Models/CC98Forum.h | xueshoulai/CC98Lite | 830612d1c102c3acd90c47f157df67ef9a217aa8 | [
"Unlicense"
] | null | null | null | CC98Lite/Models/CC98Forum.h | xueshoulai/CC98Lite | 830612d1c102c3acd90c47f157df67ef9a217aa8 | [
"Unlicense"
] | null | null | null | //
// CC98Forum.h
// CC98Lite
//
// Created by S on 15/6/8.
// Copyright (c) 2015年 zju. All rights reserved.
//
#import <Foundation/Foundation.h>
@class UIImage;
@class CC98PersonalPartition;
@interface CC98Forum : NSObject
@property (weak, readonly) UIImage *logo;
@property (nonatomic, readonly) CC98PersonalP... | 19.791667 | 87 | 0.730526 |
0b306e809cb7c5ad319eabca404494268373c70e | 13,195 | py | Python | ml/association/apriori.py | thorwhalen/ut | 353a4629c35a2cca76ef91a4d5209afe766433b4 | [
"MIT"
] | 4 | 2016-12-17T20:06:10.000Z | 2021-11-19T04:45:29.000Z | ml/association/apriori.py | thorwhalen/ut | 353a4629c35a2cca76ef91a4d5209afe766433b4 | [
"MIT"
] | 11 | 2021-01-06T05:35:11.000Z | 2022-03-11T23:28:31.000Z | ml/association/apriori.py | thorwhalen/ut | 353a4629c35a2cca76ef91a4d5209afe766433b4 | [
"MIT"
] | 3 | 2015-06-12T10:44:16.000Z | 2021-07-26T18:39:47.000Z | """Association mining -- apriori algo"""
__author__ = 'thor'
from numpy import *
# Modified from:
# Everaldo Aguiar & Reid Johnson (https://github.com/cse40647/cse40647/blob/sp.14/10%20-%20Apriori.ipynb)
#
# Itself Modified from:
# Marcel Caraciolo (https://gist.github.com/marcelcaraciolo/1423287)
#
# Functions to c... | 35.093085 | 117 | 0.617582 |
956be369536396461b046d09849fdd2a2b8ee7d8 | 865 | css | CSS | css/style.css | fdezcaminero/Microverse-Project-Number-3 | e103587c2b5d7327317ec7050f97ef255a36a2e2 | [
"MIT"
] | null | null | null | css/style.css | fdezcaminero/Microverse-Project-Number-3 | e103587c2b5d7327317ec7050f97ef255a36a2e2 | [
"MIT"
] | null | null | null | css/style.css | fdezcaminero/Microverse-Project-Number-3 | e103587c2b5d7327317ec7050f97ef255a36a2e2 | [
"MIT"
] | null | null | null | html, body{
margin: 0;
padding: 0;
}
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}
#welcome-section {
height: 100vh;
background-color: lightseagreen;
margin-top: 100px;
display: flex;
flex-direction: column;
align-items:... | 13.307692 | 43 | 0.560694 |
3a09c966b5abae1c57dad4424d8e1625182823f0 | 1,647 | swift | Swift | Mobile/CarWashService/Views/ClientCar/CarBrandModelSelector.swift | GUSAR1T0/CarWashSystem | 61f69c9ed4b71cd734762db925da35b8392c6946 | [
"MIT"
] | 1 | 2020-03-26T03:54:05.000Z | 2020-03-26T03:54:05.000Z | Mobile/CarWashService/Views/ClientCar/CarBrandModelSelector.swift | GUSAR1T0/CarWashSystem | 61f69c9ed4b71cd734762db925da35b8392c6946 | [
"MIT"
] | 48 | 2019-10-30T18:40:59.000Z | 2020-01-17T09:20:37.000Z | Mobile/CarWashService/Views/ClientCar/CarBrandModelSelector.swift | GUSAR1T0/CarWashSystem | 61f69c9ed4b71cd734762db925da35b8392c6946 | [
"MIT"
] | null | null | null | //
// Created by Roman Mashenkin on 13.12.2019.
// Copyright (c) 2019 VXDESIGN.STORE. All rights reserved.
//
import SwiftUI
struct CarBrandModelSelector: View {
@EnvironmentObject private var lookupStorage: LookupStorage
private var isCarModelChooseModalActive: Binding<Bool>
private var modelId: Binding<... | 38.302326 | 98 | 0.508804 |
918d742ed5c64fcf1539391216491fd32c62e7c1 | 2,125 | html | HTML | app/index.html | torvalde/mjolfjell-homepage | 2e618bb352d70ffd6c75822c87fc094674900bbc | [
"MIT"
] | null | null | null | app/index.html | torvalde/mjolfjell-homepage | 2e618bb352d70ffd6c75822c87fc094674900bbc | [
"MIT"
] | null | null | null | app/index.html | torvalde/mjolfjell-homepage | 2e618bb352d70ffd6c75822c87fc094674900bbc | [
"MIT"
] | null | null | null | <!doctype html>
<html lang="nb">
<head>
<!-- The first thing in any HTML file should be the charset -->
<meta charset="utf-8">
<!-- Make the page mobile compatible -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="8QavdBnJmoPyrn... | 51.829268 | 286 | 0.656941 |