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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bef3f4dc471e0fbfc5829c6209375357ec0cb312 | 5,783 | html | HTML | cart.html | Yars-Company/Yars | 096e50ee89fa98e8ccab5826b9881958a441a3c7 | [
"MIT"
] | null | null | null | cart.html | Yars-Company/Yars | 096e50ee89fa98e8ccab5826b9881958a441a3c7 | [
"MIT"
] | 1 | 2020-03-08T22:12:10.000Z | 2020-03-08T22:12:10.000Z | cart.html | Yars-Company/Yars | 096e50ee89fa98e8ccab5826b9881958a441a3c7 | [
"MIT"
] | 1 | 2020-03-16T08:35:39.000Z | 2020-03-16T08:35:39.000Z | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Yars - Shopping Cart</title>
<link rel="stylesheet" href="./css/reset.css">
<link href="https://cdn.rawgit.com/michalsnik/aos/2.1.1/dist/aos.css" rel=... | 41.905797 | 139 | 0.424347 |
76ca919a533417371a288177d4fa4770593058de | 2,198 | h | C | src/drivers/xf86-video-guac/daemon.h | tkiapril/guacamole-server | d1e287b9fde60457dec71739c6f063129f912c87 | [
"Apache-2.0"
] | null | null | null | src/drivers/xf86-video-guac/daemon.h | tkiapril/guacamole-server | d1e287b9fde60457dec71739c6f063129f912c87 | [
"Apache-2.0"
] | null | null | null | src/drivers/xf86-video-guac/daemon.h | tkiapril/guacamole-server | d1e287b9fde60457dec71739c6f063129f912c87 | [
"Apache-2.0"
] | null | null | null |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 34.888889 | 80 | 0.759782 |
129c7cb54f5406e481c2f2d4725ad827ea3716f1 | 432 | h | C | demo/CVConfigurationDemo/Pods/UITextView-Kuah/source/KTextViewDelegateTransition.h | Chan4iOS/CVConfiguration | 115d84fff4f85e8bb5cf707156654e1129dc0dd6 | [
"MIT"
] | 7 | 2016-07-23T09:29:23.000Z | 2017-04-13T07:06:32.000Z | demo/CVConfigurationDemo/Pods/UITextView-Kuah/source/KTextViewDelegateTransition.h | kuah/CVConfiguration | 115d84fff4f85e8bb5cf707156654e1129dc0dd6 | [
"MIT"
] | null | null | null | demo/CVConfigurationDemo/Pods/UITextView-Kuah/source/KTextViewDelegateTransition.h | kuah/CVConfiguration | 115d84fff4f85e8bb5cf707156654e1129dc0dd6 | [
"MIT"
] | null | null | null | //
// KTextViewDelegateTransition.h
// UITextView-Kuah
//
// Created by 陈世翰 on 2018/2/11.
// Copyright © 2018年 Kuah. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface KTextViewDelegateTransition : NSObject<UITextViewDelegate>
-(instancetype)initWithTarget:(id)target place... | 28.8 | 95 | 0.777778 |
e7ee6d842483ab8133f076264eb1658607e7ec98 | 5,558 | py | Python | FMWKubernetesMAA/OracleEnterpriseDeploymentAutomation/OracleWebCenterSites/charts/wc-sites/unicast.py | rishiagarwal-oracle/fmw-kubernetes | cf53d0aac782cacaa26cb1f8f1cdb7130f69d64f | [
"UPL-1.0",
"MIT"
] | null | null | null | FMWKubernetesMAA/OracleEnterpriseDeploymentAutomation/OracleWebCenterSites/charts/wc-sites/unicast.py | rishiagarwal-oracle/fmw-kubernetes | cf53d0aac782cacaa26cb1f8f1cdb7130f69d64f | [
"UPL-1.0",
"MIT"
] | null | null | null | FMWKubernetesMAA/OracleEnterpriseDeploymentAutomation/OracleWebCenterSites/charts/wc-sites/unicast.py | rishiagarwal-oracle/fmw-kubernetes | cf53d0aac782cacaa26cb1f8f1cdb7130f69d64f | [
"UPL-1.0",
"MIT"
] | null | null | null | # Copyright (c) 2022, Oracle and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at
# https://oss.oracle.com/licenses/upl
import xml.dom.minidom
import re
import sys
def getManagedServerCount(domainHome):
# use the parse() function to load and parse an XML file
doc = xml.dom.... | 45.933884 | 161 | 0.737496 |
22f3dffcc980373149603902969367ff7995ee31 | 5,539 | c | C | skymodel/sm-01_mod2/src/estmultiscat.c | sdss/lvmsky | 3d612f37af71f08b1423d28a6bbe6351ca41ae0f | [
"BSD-3-Clause"
] | null | null | null | skymodel/sm-01_mod2/src/estmultiscat.c | sdss/lvmsky | 3d612f37af71f08b1423d28a6bbe6351ca41ae0f | [
"BSD-3-Clause"
] | null | null | null | skymodel/sm-01_mod2/src/estmultiscat.c | sdss/lvmsky | 3d612f37af71f08b1423d28a6bbe6351ca41ae0f | [
"BSD-3-Clause"
] | null | null | null | /*
* This file is part of the Sky Background software package.
* Copyright (C) 2009-2018 European Southern Observatory
*
* This program 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 2 ... | 34.403727 | 79 | 0.633869 |
4dcbe713253aecc9be0ec2ce1700fc3fbbbc3637 | 626 | swift | Swift | Example/Tests/emptyTests.swift | FunctioningFunctionalists/ramda.swift | 7fa24ffe3f3ee404d721c5a6f6573621f3e646cf | [
"MIT"
] | 16 | 2016-09-16T05:26:20.000Z | 2021-04-25T15:53:01.000Z | Example/Tests/emptyTests.swift | FunctioningFunctionalists/ramda.swift | 7fa24ffe3f3ee404d721c5a6f6573621f3e646cf | [
"MIT"
] | 12 | 2016-09-08T16:34:15.000Z | 2019-09-28T06:57:19.000Z | Example/Tests/emptyTests.swift | FunctioningFunctionalists/ramda.swift | 7fa24ffe3f3ee404d721c5a6f6573621f3e646cf | [
"MIT"
] | 4 | 2016-09-18T09:43:57.000Z | 2019-06-23T06:16:29.000Z | import Foundation
import XCTest
import Ramda
class EmptyTests: XCTestCase {
func testArrayEmpty() {
let result = R.empty(value: ["3", "2", "1"])
XCTAssertEqual(result, [])
}
func testDictionaryEmpty() {
let result = R.empty(value: ["x": 1, "y": 2])
XCTAssertEqual(result, [... | 21.586207 | 58 | 0.57508 |
7f4a1c69cd37f0351599371abc3dfbf991ae8c59 | 4,773 | go | Go | pkg/volume/overlay/overlay.go | huiwq1990/mydocker | 6bf6b3ea8f0a15efb8ab196d9af807e51c4d5390 | [
"Apache-2.0"
] | null | null | null | pkg/volume/overlay/overlay.go | huiwq1990/mydocker | 6bf6b3ea8f0a15efb8ab196d9af807e51c4d5390 | [
"Apache-2.0"
] | null | null | null | pkg/volume/overlay/overlay.go | huiwq1990/mydocker | 6bf6b3ea8f0a15efb8ab196d9af807e51c4d5390 | [
"Apache-2.0"
] | null | null | null | package overlay
import (
"errors"
"github.com/huiwq1990/mydocker/pkg/image"
"github.com/huiwq1990/mydocker/pkg/types"
"github.com/huiwq1990/mydocker/pkg/util"
log "github.com/sirupsen/logrus"
"path"
"os"
"os/exec"
"strings"
)
func NewWorkSpace(volume, imageName, containerName string) (string,error) {
err :... | 29.462963 | 137 | 0.679656 |
dd66441eedebfe0254d99311c95c8a8497028daa | 3,372 | php | PHP | Projeto/view/adicionarDisciplina.php | Layravbf/EngenhariaDeSoftware | 49fa1297548848221c15b160dd154bb17ef9c61c | [
"MIT"
] | null | null | null | Projeto/view/adicionarDisciplina.php | Layravbf/EngenhariaDeSoftware | 49fa1297548848221c15b160dd154bb17ef9c61c | [
"MIT"
] | null | null | null | Projeto/view/adicionarDisciplina.php | Layravbf/EngenhariaDeSoftware | 49fa1297548848221c15b160dd154bb17ef9c61c | [
"MIT"
] | null | null | null | <?php
session_start();
?>
<!doctype html>
<html lang="pt">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/meusDados.css">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr... | 36.652174 | 214 | 0.536773 |
b2e37635f83fbc719c3828b77b744bc8d962608e | 870 | py | Python | ddtrace/contrib/aiobotocore/__init__.py | tophatmonocle/dd-trace-py | 7db12f1c398c07cd5baf91c571aed672dbb6496d | [
"BSD-3-Clause"
] | null | null | null | ddtrace/contrib/aiobotocore/__init__.py | tophatmonocle/dd-trace-py | 7db12f1c398c07cd5baf91c571aed672dbb6496d | [
"BSD-3-Clause"
] | null | null | null | ddtrace/contrib/aiobotocore/__init__.py | tophatmonocle/dd-trace-py | 7db12f1c398c07cd5baf91c571aed672dbb6496d | [
"BSD-3-Clause"
] | null | null | null | """
The aiobotocore integration will trace all AWS calls made with the ``aiobotocore``
library. This integration isn't enabled when applying the default patching.
To enable it, you must run ``patch_all(botocore=True)``
::
import aiobotocore.session
from ddtrace import patch
# If not patched yet, you can ... | 28.064516 | 82 | 0.74023 |
de92a0b107631b8c62283b965b40f5425f6fa2f3 | 408 | sql | SQL | ActivityAnalysisStage/Stage/Stored Procedures/TransformAppleAppDownloads.sql | BryceStPierre/ActivityAnalysis | 659beb9cc5a171cb518600883790ab99dce34179 | [
"MIT"
] | null | null | null | ActivityAnalysisStage/Stage/Stored Procedures/TransformAppleAppDownloads.sql | BryceStPierre/ActivityAnalysis | 659beb9cc5a171cb518600883790ab99dce34179 | [
"MIT"
] | null | null | null | ActivityAnalysisStage/Stage/Stored Procedures/TransformAppleAppDownloads.sql | BryceStPierre/ActivityAnalysis | 659beb9cc5a171cb518600883790ab99dce34179 | [
"MIT"
] | null | null | null | CREATE PROCEDURE [Stage].[TransformAppleAppDownloads]
AS
TRUNCATE TABLE [Stage].[AppleAppDownloads];
INSERT INTO [Stage].[AppleAppDownloads] (
[Date],
[Name],
[Version],
[Developer],
[DeviceIPAddress]
) SELECT
[Activity Date] AS Date,
[Item Description] AS Name,
[Version Text] AS Version,
[Seller... | 22.666667 | 54 | 0.723039 |
fd84462940674d3a7c0a6c5e48f48dbdf540e014 | 2,563 | h | C | WKC/WebKit/WKC/helpers/privates/WKCResourceErrorPrivate.h | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | WKC/WebKit/WKC/helpers/privates/WKCResourceErrorPrivate.h | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | WKC/WebKit/WKC/helpers/privates/WKCResourceErrorPrivate.h | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
* Copyright (c) 2011 ACCESS CO., LTD. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later ve... | 29.45977 | 184 | 0.751853 |
ffad42a9910d17f5e5d73d395893924633bafc9c | 669 | kt | Kotlin | keel-api/src/main/kotlin/com/netflix/spinnaker/keel/api/artifacts/GitMetadata.kt | saimadineni/keel | 098c93e284141e073af20f6b2fc8b8a9ad11cce8 | [
"Apache-2.0"
] | 93 | 2017-10-24T17:58:52.000Z | 2022-03-30T14:04:12.000Z | keel-api/src/main/kotlin/com/netflix/spinnaker/keel/api/artifacts/GitMetadata.kt | saimadineni/keel | 098c93e284141e073af20f6b2fc8b8a9ad11cce8 | [
"Apache-2.0"
] | 811 | 2017-11-06T21:06:14.000Z | 2022-03-24T22:04:10.000Z | keel-api/src/main/kotlin/com/netflix/spinnaker/keel/api/artifacts/GitMetadata.kt | saimadineni/keel | 098c93e284141e073af20f6b2fc8b8a9ad11cce8 | [
"Apache-2.0"
] | 123 | 2017-10-24T17:58:58.000Z | 2022-03-28T18:34:04.000Z | package com.netflix.spinnaker.keel.api.artifacts
/**
* The git metadata of an artifact.
*/
data class GitMetadata(
val commit: String, // commit hash, can be short or long sha
val author: String? = null,
val project: String? = null, // the project name, like SPKR
val branch: String? = null,
val repo: Repo?... | 21.580645 | 62 | 0.671151 |
3cb7363e68981e8e993aeb5bade506ec9280cd60 | 561 | lua | Lua | build/AdiBags_ByExpansion_Legion/dungeons/cos.lua | mariocki/Adibags_ByExpansion | 97a106de380c33c55b530387ad7b92d29a64cd62 | [
"Unlicense"
] | 1 | 2020-10-26T17:55:01.000Z | 2020-10-26T17:55:01.000Z | build/AdiBags_ByExpansion_Legion/dungeons/cos.lua | mariocki/Adibags_ByExpansion | 97a106de380c33c55b530387ad7b92d29a64cd62 | [
"Unlicense"
] | 12 | 2018-09-03T12:02:27.000Z | 2021-07-19T13:36:06.000Z | build/AdiBags_ByExpansion_Legion/dungeons/cos.lua | mariocki/Adibags_ByExpansion | 97a106de380c33c55b530387ad7b92d29a64cd62 | [
"Unlicense"
] | 5 | 2020-06-21T14:04:07.000Z | 2021-07-19T09:44:17.000Z | local AddonName, AddonTable = ...
-- Court of Stars
AddonTable.cos = {
-- Patrol Captain Gerdo
137483,
137480,
137490,
134415,
134480,
137482,
137484,
134280,
134308,
134296,
134268,
-- Talixae Flamewreath
134529,
137492,
134460,
134473,
137485,
... | 13.357143 | 33 | 0.543672 |
f05fa2e5d0af65105ee15330ab3880d71692e1c4 | 2,820 | js | JavaScript | src/widget/downlist/item.downlist.js | CaijinChen/fineui | da60956e16a6660981044255980c6b3021230bfb | [
"Apache-2.0"
] | 99 | 2017-04-01T03:14:16.000Z | 2022-03-14T02:34:26.000Z | src/widget/downlist/item.downlist.js | CaijinChen/fineui | da60956e16a6660981044255980c6b3021230bfb | [
"Apache-2.0"
] | 5 | 2017-06-15T06:08:37.000Z | 2021-06-23T07:35:05.000Z | src/widget/downlist/item.downlist.js | CaijinChen/fineui | da60956e16a6660981044255980c6b3021230bfb | [
"Apache-2.0"
] | 44 | 2017-03-30T09:10:49.000Z | 2021-08-23T14:59:37.000Z | BI.DownListItem = BI.inherit(BI.BasicButton, {
_defaultConfig: function () {
var conf = BI.DownListItem.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active",
cls: "",
height: 24,
lo... | 28.77551 | 122 | 0.522695 |
a87e6d0e50de0b00cd01f000e03682bec4b6c7c1 | 201 | sql | SQL | db/seeds.sql | kyleward92/Eat-Da-Burger | 373e6150931737f6c36ba73ae6d9de6ae1f97596 | [
"Unlicense"
] | null | null | null | db/seeds.sql | kyleward92/Eat-Da-Burger | 373e6150931737f6c36ba73ae6d9de6ae1f97596 | [
"Unlicense"
] | 2 | 2021-01-16T05:53:10.000Z | 2021-01-16T07:34:21.000Z | db/seeds.sql | kyleward92/Eat-Da-Burger | 373e6150931737f6c36ba73ae6d9de6ae1f97596 | [
"Unlicense"
] | null | null | null | INSERT INTO burgers (burger_name,devoured) VALUES ('Bison',False);
INSERT INTO burgers (burger_name,devoured) VALUES ('Turkey',False);
INSERT INTO burgers (burger_name,devoured) VALUES ('Bacon',False); | 67 | 67 | 0.781095 |
7a14cd53f63a01c67e5cb52a682cbe221a636ae1 | 562 | kt | Kotlin | library/src/main/java/com/github/javiersantos/piracychecker/activities/ActivityUtils.kt | ryankr/PiracyChecker | c6cfb6997b2a87f47b4f0dc3687ffac66ecae632 | [
"Apache-2.0"
] | 1 | 2021-08-24T12:59:11.000Z | 2021-08-24T12:59:11.000Z | library/src/main/java/com/github/javiersantos/piracychecker/activities/ActivityUtils.kt | Acidburn0zzz/PiracyChecker | 9a0768365527b74e58288458d3faf8d1afecd2ae | [
"Apache-2.0"
] | null | null | null | library/src/main/java/com/github/javiersantos/piracychecker/activities/ActivityUtils.kt | Acidburn0zzz/PiracyChecker | 9a0768365527b74e58288458d3faf8d1afecd2ae | [
"Apache-2.0"
] | null | null | null | package com.github.javiersantos.piracychecker.activities
import android.content.Context
import android.os.Build
import android.view.View
fun Context.getAppName(): String = getString(applicationInfo.labelRes)
fun View.setupLightStatusBar(enable: Boolean) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
... | 31.222222 | 70 | 0.729537 |
5f35ad4fa6545e1e29ee218c4763de8157d8bd6f | 4,038 | kt | Kotlin | app/src/main/java/me/jscheah/christsmeal/main/TransactionRecyclerViewAdapter.kt | cheahjs/ChristsMeal | d3ed5dc92efb5ede9d1b1c92dea90dd13deb8fce | [
"MIT"
] | null | null | null | app/src/main/java/me/jscheah/christsmeal/main/TransactionRecyclerViewAdapter.kt | cheahjs/ChristsMeal | d3ed5dc92efb5ede9d1b1c92dea90dd13deb8fce | [
"MIT"
] | null | null | null | app/src/main/java/me/jscheah/christsmeal/main/TransactionRecyclerViewAdapter.kt | cheahjs/ChristsMeal | d3ed5dc92efb5ede9d1b1c92dea90dd13deb8fce | [
"MIT"
] | null | null | null | package me.jscheah.christsmeal.main
import android.os.Bundle
import android.support.v7.widget.RecyclerView
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import com.brandongogetap.stickyheaders.exposed.StickyHeaderHandler... | 35.113043 | 125 | 0.607974 |
4a53f9d980b625a5003ce4f57512ee6a89ac4151 | 419 | js | JavaScript | index.js | janis-kra/express-readbody | de41a56bfc2697bd87d70b64d5fc9c0e5bc85d8a | [
"MIT"
] | 1 | 2017-01-03T23:13:18.000Z | 2017-01-03T23:13:18.000Z | index.js | janis-kra/express-readbody | de41a56bfc2697bd87d70b64d5fc9c0e5bc85d8a | [
"MIT"
] | null | null | null | index.js | janis-kra/express-readbody | de41a56bfc2697bd87d70b64d5fc9c0e5bc85d8a | [
"MIT"
] | null | null | null | module.exports = function readBody (req) {
if (typeof req !== 'object' || typeof req.on !== 'function') {
throw new TypeError(`expected an instance of stream.Readable, got ${typeof req} instead`);
}
return new Promise((resolve, reject) => {
let body = '';
req.on('data', (chunk) => {
body += chu... | 26.1875 | 94 | 0.558473 |
752e197cbbdb11c309cdf9eb595773fce8912711 | 13,748 | c | C | source/atascii.c | mtatton/qodem | 0b95200f30efb4e29f646b9df1dd770b46ddd3c2 | [
"CC0-1.0"
] | null | null | null | source/atascii.c | mtatton/qodem | 0b95200f30efb4e29f646b9df1dd770b46ddd3c2 | [
"CC0-1.0"
] | null | null | null | source/atascii.c | mtatton/qodem | 0b95200f30efb4e29f646b9df1dd770b46ddd3c2 | [
"CC0-1.0"
] | null | null | null | /*
* atascii.c
*
* qodem - Qodem Terminal Emulator
*
* Written 2003-2017 by Kevin Lamonte
*
* To the extent possible under law, the author(s) have dedicated all
* copyright and related and neighboring rights to this software to the
* public domain worldwide. This software is distributed without any
* warranty... | 26.90411 | 80 | 0.578266 |
bb4f9900883444ce373d05106e244ceb1ac3162d | 1,441 | html | HTML | popup.html | waterxjw/NJU-GPA-Calculator | dd8d16137a5ebcc2d2527718b0ae8db1dd3ba8b4 | [
"MIT"
] | 1 | 2019-08-16T10:58:05.000Z | 2019-08-16T10:58:05.000Z | popup.html | waterxjw/NJU-GPA-Calculator | dd8d16137a5ebcc2d2527718b0ae8db1dd3ba8b4 | [
"MIT"
] | 1 | 2019-09-02T03:13:09.000Z | 2019-09-02T04:45:40.000Z | popup.html | waterxjw/NJU-GPA-Calculator | dd8d16137a5ebcc2d2527718b0ae8db1dd3ba8b4 | [
"MIT"
] | null | null | null | <!doctype html>
<!--
This page is shown when the extension button is clicked, because the
"browser_action" field in manifest.json contains the "default_popup" key with
value "popup.html".
-->
<html>
<head>
<meta charset="UTF-8">
<title>GPA计算器</title>
<link href="https://cdn.staticfile.org/twitter-boot... | 26.2 | 113 | 0.622484 |
85d35649bd8f34da71027af39c20521018372d47 | 794 | js | JavaScript | packages/icons/es/play--filled/16.js | freight-trust/carbon | 0ac8d6efd902f6b537cc0db62f91d6fe34158345 | [
"Apache-2.0"
] | null | null | null | packages/icons/es/play--filled/16.js | freight-trust/carbon | 0ac8d6efd902f6b537cc0db62f91d6fe34158345 | [
"Apache-2.0"
] | 1 | 2020-08-10T04:11:40.000Z | 2020-08-10T04:11:40.000Z | packages/icons/es/play--filled/16.js | freight-trust/carbon | 0ac8d6efd902f6b537cc0db62f91d6fe34158345 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright IBM Corp. 2016, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
var _16 = {
"elem": "svg",
"attrs": {
"xmlns": "http://www.w3.org/200... | 27.37931 | 244 | 0.566751 |
b2f7f4cc70879c961d4345ed522c0b9c510c8bf6 | 5,218 | py | Python | scratch/movielens-mongodb.py | crcsmnky/movielens-data-exports | f316f1367abef80a1abce64d3adb3bd3effc6365 | [
"Apache-2.0"
] | 1 | 2022-02-01T19:44:36.000Z | 2022-02-01T19:44:36.000Z | scratch/movielens-mongodb.py | crcsmnky/movielens-data-exports | f316f1367abef80a1abce64d3adb3bd3effc6365 | [
"Apache-2.0"
] | null | null | null | scratch/movielens-mongodb.py | crcsmnky/movielens-data-exports | f316f1367abef80a1abce64d3adb3bd3effc6365 | [
"Apache-2.0"
] | null | null | null | """
usage: python movielens-mongodb.py [movies] [ratings] [links]
"""
import sys
import re
import csv
import os
# import tmdbsimple as tmdb
from pymongo import MongoClient
from pymongo import ASCENDING, DESCENDING
from datetime import datetime
from time import sleep
def import_movies(db, mfile):
movies = []
... | 26.622449 | 116 | 0.526639 |
07fd096fb0f39553b1269fe8db770d09818fa04f | 2,515 | h | C | tensorflow/stream_executor/cl/cl_platform.h | pint1022/tensorflow | 92e437b36ae58ea22910dbed67e2c238c869c09f | [
"Apache-2.0"
] | 2 | 2019-04-15T23:07:00.000Z | 2020-03-11T16:09:02.000Z | tensorflow/stream_executor/cl/cl_platform.h | pint1022/tensorflow | 92e437b36ae58ea22910dbed67e2c238c869c09f | [
"Apache-2.0"
] | null | null | null | tensorflow/stream_executor/cl/cl_platform.h | pint1022/tensorflow | 92e437b36ae58ea22910dbed67e2c238c869c09f | [
"Apache-2.0"
] | 2 | 2020-03-04T13:59:48.000Z | 2020-03-09T13:11:45.000Z | // copyright Hugh Perkins 2016, Tensorflow authors 2015. All rights reserved
/*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ap... | 34.930556 | 82 | 0.757058 |
3d5ca4c081bf0077c0e41380d10d79e1af6f1cb7 | 1,305 | rs | Rust | cargo-subcommand/src/artifact.rs | andrewpedia/android-ndk-rs | c0841a53d2fbb90ca2ff73eb6347608dac03d57d | [
"Apache-2.0",
"MIT"
] | 3 | 2020-02-14T16:54:21.000Z | 2021-01-22T12:16:36.000Z | cargo-subcommand/src/artifact.rs | andrewpedia/android-ndk-rs | c0841a53d2fbb90ca2ff73eb6347608dac03d57d | [
"Apache-2.0",
"MIT"
] | 15 | 2020-05-31T15:04:37.000Z | 2022-03-29T19:37:23.000Z | cargo-subcommand/src/artifact.rs | andrewpedia/android-ndk-rs | c0841a53d2fbb90ca2ff73eb6347608dac03d57d | [
"Apache-2.0",
"MIT"
] | 5 | 2020-05-30T18:06:38.000Z | 2022-02-25T00:52:12.000Z | use std::path::Path;
#[derive(Clone, Debug, Eq, Hash, PartialEq)]
pub enum Artifact {
Root(String),
Example(String),
}
impl AsRef<Path> for Artifact {
fn as_ref(&self) -> &Path {
Path::new(match self {
Self::Root(_) => "",
Self::Example(_) => "examples",
})
}
}
... | 25.588235 | 86 | 0.463602 |
2281318dc1fb5de10c3fb5ee46d2dfe5d40d544f | 7,590 | html | HTML | AWS_CloudFormation_Template_Reference.docset/Contents/Resources/Documents/aws-properties-dynamodb-projectionobject.html | pdhodgkinson/AWSCloudFormationTemplateReference-dash-docset | 57436ef0bfe6f8b6dd000512c4bb56dac06d72a4 | [
"MIT"
] | 12 | 2018-09-19T10:18:44.000Z | 2022-01-07T20:01:09.000Z | AWS_CloudFormation_Template_Reference.docset/Contents/Resources/Documents/aws-properties-dynamodb-projectionobject.html | pdhodgkinson/AWSCloudFormationTemplateReference-dash-docset | 57436ef0bfe6f8b6dd000512c4bb56dac06d72a4 | [
"MIT"
] | 5 | 2017-11-08T21:49:43.000Z | 2021-09-01T01:19:08.000Z | AWS_CloudFormation_Template_Reference.docset/Contents/Resources/Documents/aws-properties-dynamodb-projectionobject.html | pdhodgkinson/AWSCloudFormationTemplateReference-dash-docset | 57436ef0bfe6f8b6dd000512c4bb56dac06d72a4 | [
"MIT"
] | 5 | 2017-11-08T08:34:43.000Z | 2019-02-21T22:22:28.000Z | <!DOCTYPE html>
<html>
<head>
<link href="css/awsdocs.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/awsdocs.min.js"></script>
<meta charset="utf-8">
</head>
<body>
<div id="content" style="padding: 10px 3... | 63.25 | 379 | 0.425692 |
3e7d869e1243c4afc7b09278802ca3d4f4a926a3 | 637 | h | C | my-c++17-ThreadSafe-StringClass-Lib/StaticLib1/StaticLib1.h | guruvishnu2/programming-language-notes | 768849c315f39e29b01d784735fc8651a118c1b4 | [
"MIT"
] | 63 | 2019-03-02T18:31:29.000Z | 2022-03-30T20:06:23.000Z | my-c++17-ThreadSafe-StringClass-Lib/StaticLib1/StaticLib1.h | manoharreddyporeddy/my-nodejs-notes | 144cbd996a9f928e073eb48eeb6a8ec0b2f85d1e | [
"MIT"
] | 1 | 2020-10-04T07:05:26.000Z | 2020-10-24T08:23:46.000Z | my-c++17-ThreadSafe-StringClass-Lib/StaticLib1/StaticLib1.h | manoharreddyporeddy/my-nodejs-notes | 144cbd996a9f928e073eb48eeb6a8ec0b2f85d1e | [
"MIT"
] | 246 | 2019-02-20T06:36:46.000Z | 2022-03-31T20:04:52.000Z | // StaticLib1.h
#ifndef __STATICLIB1_H
#define __STATICLIB1_H
#include "cstdio"
#include "iostream"
#include "mutex"
using namespace std;
namespace NsString {
// TODO: template based for unicode & others? // template <class charT>
class String {
mutex _mut1;
char *_buf = NULL;
size_t _len;
public:
St... | 15.536585 | 72 | 0.66719 |
2f92551012db16de6f528c671f8f15a06eecbc88 | 208,607 | lua | Lua | Data/top.lua | Provokingface/pagleWclPlayerScore-TBC | 887d1474631a7835d6bb0e1db06f5c475ba6df45 | [
"MIT"
] | null | null | null | Data/top.lua | Provokingface/pagleWclPlayerScore-TBC | 887d1474631a7835d6bb0e1db06f5c475ba6df45 | [
"MIT"
] | null | null | null | Data/top.lua | Provokingface/pagleWclPlayerScore-TBC | 887d1474631a7835d6bb0e1db06f5c475ba6df45 | [
"MIT"
] | null | null | null | CTOP_Database = {
["Gillys_Pagle"] = "美服全明星第9暗牧",
["Winch_Pagle"] = "美服全明星第29兽王猎",
["Raiköu_Pagle"] = "美服全明星第15生存猎",
["Yoso_Pagle"] = "美服全明星第16奥法",
["Pinneous_Pagle"] = "美服全明星第27暗牧",
["Kimmy_Pagle"] = "美服全明星第28暗牧",
["Andy_Pagle"] = "美服全明星第6火法",
["Graykin_Pagle"] = "美服全明星第8野德",
["Freezypops_Pagle"] = "美服全明星第2冰法",
["Nigh... | 28.28186 | 40 | 0.546003 |
74e25c49306863ca568da2ea28775673566f1870 | 9,402 | rs | Rust | languages/rust/oso/src/query.rs | srenatus/oso | f5ee73c195d0e381841bb1916ae9b223f6332f09 | [
"Apache-2.0"
] | null | null | null | languages/rust/oso/src/query.rs | srenatus/oso | f5ee73c195d0e381841bb1916ae9b223f6332f09 | [
"Apache-2.0"
] | null | null | null | languages/rust/oso/src/query.rs | srenatus/oso | f5ee73c195d0e381841bb1916ae9b223f6332f09 | [
"Apache-2.0"
] | null | null | null | use std::collections::HashMap;
use std::sync::{Arc, Mutex};
use crate::host::{Instance, PolarResultIter};
use crate::{FromPolar, ToPolar};
use polar_core::events::*;
use polar_core::terms::*;
impl Iterator for Query {
type Item = crate::Result<ResultSet>;
fn next(&mut self) -> Option<Self::Item> {
Qu... | 32.088737 | 98 | 0.507871 |
c4a9a494f71925930663849b71c52b8c931dcbe4 | 147 | c | C | test/structs3.c | andersfischernielsen/eba | ceb42493d995120cc266f15fc85c0e07fea3d9b7 | [
"BSD-3-Clause"
] | 16 | 2017-01-30T02:45:41.000Z | 2022-03-14T03:23:04.000Z | test/structs3.c | andersfischernielsen/eba | ceb42493d995120cc266f15fc85c0e07fea3d9b7 | [
"BSD-3-Clause"
] | 7 | 2018-05-11T08:50:11.000Z | 2020-06-22T09:34:45.000Z | test/structs3.c | andersfischernielsen/eba | ceb42493d995120cc266f15fc85c0e07fea3d9b7 | [
"BSD-3-Clause"
] | 2 | 2019-04-21T10:30:25.000Z | 2019-09-13T07:37:29.000Z |
struct bar;
struct foo {
int x;
struct bar *b;
};
struct bar {
int y;
struct foo *a;
};
int main(void) {
struct foo s;
return 0;
}
| 8.166667 | 16 | 0.564626 |
611c9d5970eabe688994886a5a67ff38d0bcd2f1 | 9,201 | css | CSS | public/Public/css/pager.css | mysisd/ytrx | cde13ef256151b966dcc8026e76aeef10cf78a0c | [
"Apache-2.0"
] | null | null | null | public/Public/css/pager.css | mysisd/ytrx | cde13ef256151b966dcc8026e76aeef10cf78a0c | [
"Apache-2.0"
] | null | null | null | public/Public/css/pager.css | mysisd/ytrx | cde13ef256151b966dcc8026e76aeef10cf78a0c | [
"Apache-2.0"
] | null | null | null |
.w-pageline {
display: table;
margin: 0 auto;
float: none;
padding: 12px 0px 20px;
font-family: Arial,"Lucida Grande","Microsoft Yahei","Hiragino Sans GB","Hiragino Sans GB W3",SimSun,STHeiti;
font-size: 12px;
}
.w-pagemore {
margin: 16px 0 20px 0;
font-family: Arial,"Lucida Grande","M... | 22.064748 | 172 | 0.630149 |
4c38c7f976200727a7a8ccf54ede33654c6e5d72 | 832 | php | PHP | app/GraphQL/Types/Config.php | joonlabs/MapNode | 152fdd7a404940af5d36cc0d9738540ee9dc8441 | [
"MIT"
] | null | null | null | app/GraphQL/Types/Config.php | joonlabs/MapNode | 152fdd7a404940af5d36cc0d9738540ee9dc8441 | [
"MIT"
] | null | null | null | app/GraphQL/Types/Config.php | joonlabs/MapNode | 152fdd7a404940af5d36cc0d9738540ee9dc8441 | [
"MIT"
] | null | null | null | <?php
namespace App\GraphQL\Types;
use App\GraphQL\Utilities\Definition;
use GraphQL\Fields\GraphQLTypeField;
use GraphQL\Types\GraphQLBoolean;
use GraphQL\Types\GraphQLFloat;
use GraphQL\Types\GraphQLInt;
use GraphQL\Types\GraphQLNonNull;
use GraphQL\Types\GraphQLObjectType;
use GraphQL\Types\GraphQLString;
class C... | 23.111111 | 64 | 0.574519 |
f6f18c6c468c0e7544e25e8894a1a5b8f3b51208 | 1,458 | sql | SQL | services/db/init/seed/008-order-History.sql | spencerborgg/buy-site | f3142e2965f12ff7b1f60696fb6c52a38153d105 | [
"MIT"
] | null | null | null | services/db/init/seed/008-order-History.sql | spencerborgg/buy-site | f3142e2965f12ff7b1f60696fb6c52a38153d105 | [
"MIT"
] | 11 | 2020-09-04T19:59:11.000Z | 2022-03-08T22:43:41.000Z | services/db/init/seed/008-order-History.sql | spencerborgg/buy-site | f3142e2965f12ff7b1f60696fb6c52a38153d105 | [
"MIT"
] | null | null | null | insert into order_history (order_id, item_handle, quantity ) values
('0893e1d5-80bf-4cb2-a762-61bca694d057', 'e9535a51-5d84-4622-8a7e-fe815f0bc938', '2'),
('0893e1d5-80bf-4cb2-a762-61bca694d057', 'a73d3a85-49f3-42f3-9266-fe2cdbf4b125', '1'),
('0893e1d5-80bf-4cb2-a762-61bca694d057', 'b6d062af-b762-4a5a-9966-... | 85.764706 | 90 | 0.720165 |
c38dfe84cc1e43b51eebeba0f3d8b5817fa43fc0 | 2,197 | rs | Rust | day-03/src/main.rs | huzecong/advent-of-code-2018 | c9c161e5aa45f25bace51dea68b909b2f3dd479a | [
"MIT"
] | 1 | 2018-12-23T00:50:00.000Z | 2018-12-23T00:50:00.000Z | day-03/src/main.rs | huzecong/advent-of-code-2018 | c9c161e5aa45f25bace51dea68b909b2f3dd479a | [
"MIT"
] | null | null | null | day-03/src/main.rs | huzecong/advent-of-code-2018 | c9c161e5aa45f25bace51dea68b909b2f3dd479a | [
"MIT"
] | null | null | null | extern crate utils;
use std::fs;
struct Rectange {
id: i32,
x: usize,
y: usize,
w: usize,
h: usize,
}
fn parse_numeric<'a, T, I>(iter: I) -> Vec<T> where
T: std::str::FromStr,
I: Iterator<Item=&'a str> {
iter.map(|x| x.parse::<T>().ok().unwrap()).collect()
}
fn parse(s: &str)... | 30.513889 | 126 | 0.514793 |
13852f1da40e1e1a390cb3b2c1a796577bb5fd29 | 393 | swift | Swift | PaginationWithCollectionViewandTableView/CollectionView/ReusableCollectionView/LoadingReusableView.swift | abdullah1107/TableViewandCollectionViewPagination | 456f0cbc94c5d52d7a53df3970fe719a8db9bb46 | [
"MIT"
] | null | null | null | PaginationWithCollectionViewandTableView/CollectionView/ReusableCollectionView/LoadingReusableView.swift | abdullah1107/TableViewandCollectionViewPagination | 456f0cbc94c5d52d7a53df3970fe719a8db9bb46 | [
"MIT"
] | null | null | null | PaginationWithCollectionViewandTableView/CollectionView/ReusableCollectionView/LoadingReusableView.swift | abdullah1107/TableViewandCollectionViewPagination | 456f0cbc94c5d52d7a53df3970fe719a8db9bb46 | [
"MIT"
] | null | null | null | //
// LoadingReusableView.swift
// PaginationWithCollectionViewandTableView
//
// Created by Muhammad Abdullah Al Mamun on 11/10/20.
//
import UIKit
class LoadingReusableView: UICollectionReusableView {
@IBOutlet weak var activityIndicator: UIActivityIndicatorView!
override func awakeFromNib() {
... | 19.65 | 66 | 0.704835 |
15d678ca304577716513a2877a4b027a147f187a | 840 | rb | Ruby | db/migrate/20160122134119_create_contacts.rb | arvindnaidu/contacts | 5431553aae307898e9dab3fba5e4dfd202a15eb7 | [
"Apache-2.0"
] | null | null | null | db/migrate/20160122134119_create_contacts.rb | arvindnaidu/contacts | 5431553aae307898e9dab3fba5e4dfd202a15eb7 | [
"Apache-2.0"
] | null | null | null | db/migrate/20160122134119_create_contacts.rb | arvindnaidu/contacts | 5431553aae307898e9dab3fba5e4dfd202a15eb7 | [
"Apache-2.0"
] | null | null | null | class CreateContacts < ActiveRecord::Migration
def up
execute <<-EOSQL
CREATE TABLE contacts (
id bigint(11) NOT NULL AUTO_INCREMENT,
account_id bigint(11) NOT NULL,
name varchar(100) NOT NULL,
email varchar(100),
mobile varchar(100),
dob varchar... | 28 | 94 | 0.607143 |
27d1e4a1827ccf65023b4d1888865c8784819a6c | 944 | css | CSS | src/styles/content/Footer.css | weblogixx/ssh-gui-helper | fcc137bf5358c85007d8f9baa4cacbf905aec32d | [
"BSD-3-Clause"
] | null | null | null | src/styles/content/Footer.css | weblogixx/ssh-gui-helper | fcc137bf5358c85007d8f9baa4cacbf905aec32d | [
"BSD-3-Clause"
] | null | null | null | src/styles/content/Footer.css | weblogixx/ssh-gui-helper | fcc137bf5358c85007d8f9baa4cacbf905aec32d | [
"BSD-3-Clause"
] | null | null | null | .footer-component {
padding: 0 25px 10px;
}
.footer-component button {
padding: 0;
border: none;
background: none;
}
.footer-component button:active,
.footer-component button:focus {
outline: none;
}
.footer-component button span {
padding: 2px 8px;
border: 1px solid #dadada;
border-radius: 6px;
co... | 15.733333 | 41 | 0.679025 |
f06b6a8f83b37ecd3f54491ae4baf5c423b23607 | 3,052 | js | JavaScript | public/js/client.js | JasonShin/HELP-yo | d1922defb43adc9b5cd77eac614d99c9f90bac45 | [
"MIT"
] | null | null | null | public/js/client.js | JasonShin/HELP-yo | d1922defb43adc9b5cd77eac614d99c9f90bac45 | [
"MIT"
] | null | null | null | public/js/client.js | JasonShin/HELP-yo | d1922defb43adc9b5cd77eac614d99c9f90bac45 | [
"MIT"
] | 1 | 2016-12-07T23:59:47.000Z | 2016-12-07T23:59:47.000Z | import React from 'react';
import ReactDOM from 'react-dom';
import { Router, Route, IndexRoute, browserHistory, routes } from 'react-router';
var createBrowserHistory = require('history/lib/createBrowserHistory'); //TODO: Find browserHistory compatibility and if it's not compatible, role back to hashHistory
import Fir... | 49.225806 | 166 | 0.722149 |
01de910401e571516b9bf0d37bc5526a32a838fb | 5,190 | rs | Rust | src/lib.rs | hermitcore/multiboot | 3f784ac6ba11909fa35e7b114c442d6c76431d35 | [
"MIT"
] | null | null | null | src/lib.rs | hermitcore/multiboot | 3f784ac6ba11909fa35e7b114c442d6c76431d35 | [
"MIT"
] | null | null | null | src/lib.rs | hermitcore/multiboot | 3f784ac6ba11909fa35e7b114c442d6c76431d35 | [
"MIT"
] | null | null | null | // Copyright (c) 2018 Colin Finck, RWTH Aachen University
//
// MIT License
//
// 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 righ... | 24.481132 | 73 | 0.702697 |
06444198f1edb7b129a838f535b93752bed98c83 | 75 | sql | SQL | 2 - SELECT from world/q4.sql | cjporteo/sql-zoo-solns | 71834caeee3e9fffc26bca2869523289f6c77c90 | [
"Unlicense"
] | null | null | null | 2 - SELECT from world/q4.sql | cjporteo/sql-zoo-solns | 71834caeee3e9fffc26bca2869523289f6c77c90 | [
"Unlicense"
] | null | null | null | 2 - SELECT from world/q4.sql | cjporteo/sql-zoo-solns | 71834caeee3e9fffc26bca2869523289f6c77c90 | [
"Unlicense"
] | null | null | null | SELECT name, population/1000000
FROM world
WHERE continent='South America'
| 18.75 | 31 | 0.826667 |
39b98442ced12b4a006fffba017aba7b1aaa4b4c | 106 | js | JavaScript | server/helpers/create-query-from-req.js | Rod-rig/predictor | 101708b1778d19c36c1e37f72c70591caae60925 | [
"MIT"
] | 2 | 2021-01-10T03:24:16.000Z | 2021-04-12T18:21:43.000Z | server/helpers/create-query-from-req.js | Rod-rig/pl | 718789f9506a610fabd967cb8cc195fc2f11f981 | [
"MIT"
] | 10 | 2019-07-14T17:45:15.000Z | 2019-08-17T17:13:23.000Z | server/helpers/create-query-from-req.js | Rod-rig/pl | 718789f9506a610fabd967cb8cc195fc2f11f981 | [
"MIT"
] | 2 | 2019-10-24T19:41:43.000Z | 2021-03-01T16:31:00.000Z | exports.createQuery = (body, field) => {
return body.map(item => ({
[field]: item[field],
}));
};
| 17.666667 | 40 | 0.54717 |
2608105767895a8f9419a40a74b1d1bec1ed0e6d | 11,240 | java | Java | project/src/simulatore/Avvio.java | Luke035/bayesANDjess | 137c99ed42c0042808c3059e48b522230afa55f0 | [
"MIT"
] | null | null | null | project/src/simulatore/Avvio.java | Luke035/bayesANDjess | 137c99ed42c0042808c3059e48b522230afa55f0 | [
"MIT"
] | null | null | null | project/src/simulatore/Avvio.java | Luke035/bayesANDjess | 137c99ed42c0042808c3059e48b522230afa55f0 | [
"MIT"
] | null | null | null | package simulatore;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.GregorianCalendar;
import java.util.List;
import Wrapper.ComposedProbability;
import Wrapper.JayesException;
import Wrapper.NodeProbability;
import Wrapper.Wrapper;
i... | 30.710383 | 134 | 0.691548 |
502b7387e246f1b08344e46560cd84d472547b6d | 1,198 | go | Go | utils/recover.go | Treblex/simple-daily | 011315e6247afdd7dfd06815b6c4a3feef751a0b | [
"MIT"
] | 1 | 2020-11-14T07:12:12.000Z | 2020-11-14T07:12:12.000Z | utils/recover.go | LazyFury/simple-daily | 011315e6247afdd7dfd06815b6c4a3feef751a0b | [
"MIT"
] | null | null | null | utils/recover.go | LazyFury/simple-daily | 011315e6247afdd7dfd06815b6c4a3feef751a0b | [
"MIT"
] | 1 | 2020-11-14T07:12:14.000Z | 2020-11-14T07:12:14.000Z | package utils
import (
"log"
"net/http"
"github.com/getsentry/sentry-go"
"github.com/gin-gonic/gin"
)
// GinRecover Recover
func GinRecover(c *gin.Context) {
if r := recover(); r != nil {
result := JSON(http.StatusInternalServerError, "", nil)
//普通错误
if err, ok := r.(error); ok {
result.Message = err.... | 19.639344 | 116 | 0.60601 |
2695f28095952d5c619103d63d2f6403254c84a8 | 2,522 | java | Java | simplity/core/src/main/java/org/simplity/core/app/IAttachmentAssistant.java | simplity/simplity | 3d67e612c112917f8567c5ec6f00bb10e894a459 | [
"MIT"
] | 3 | 2017-02-03T05:19:53.000Z | 2021-05-24T22:24:06.000Z | simplity/core/src/main/java/org/simplity/core/app/IAttachmentAssistant.java | simplity/simplity | 3d67e612c112917f8567c5ec6f00bb10e894a459 | [
"MIT"
] | 124 | 2016-08-27T05:14:14.000Z | 2017-12-28T02:30:36.000Z | simplity/core/src/main/java/org/simplity/core/app/IAttachmentAssistant.java | simplity/simplity | 3d67e612c112917f8567c5ec6f00bb10e894a459 | [
"MIT"
] | 2 | 2021-11-27T10:15:25.000Z | 2022-01-01T20:07:34.000Z | /*
* Copyright (c) 2016 simplity.org
*
* 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, copy, modify, merge, publis... | 36.028571 | 99 | 0.732355 |
0a4b84cef6ad813a8ae0f09788ea7af645aef03a | 940 | h | C | junkbox/Classes/JBLoginOperation.h | kenzan8000/junky | 99fccc9b414e3eb15772c5ce3268226a19c7a5a7 | [
"WTFPL"
] | 1 | 2016-02-08T15:30:41.000Z | 2016-02-08T15:30:41.000Z | junkbox/Classes/JBLoginOperation.h | kenzan8000/junky | 99fccc9b414e3eb15772c5ce3268226a19c7a5a7 | [
"WTFPL"
] | null | null | null | junkbox/Classes/JBLoginOperation.h | kenzan8000/junky | 99fccc9b414e3eb15772c5ce3268226a19c7a5a7 | [
"WTFPL"
] | null | null | null | /// Pods
#import "ISHTTPOperation.h"
#pragma mark - JBLoginOperation
/// ログイン
@interface JBLoginOperation : ISHTTPOperation {
}
#pragma mark - property
/// ユーザー名
@property (strong) NSString *username;
/// パスワード
@property (strong) NSString *password;
/// クッキー名
@property (strong) NSArray *cookieNames;
/// クッキードメイン名
@... | 22.380952 | 96 | 0.693617 |
cf104d769bc381a1f2c84990ee55ceba22b13a7b | 582 | css | CSS | css2/fonts.css | Cookies-Cafe/phpVersion | e518513ef17e2922fecccb84611ff5b8d5dec0a6 | [
"Apache-2.0"
] | 2 | 2021-12-30T23:00:47.000Z | 2021-12-31T15:03:52.000Z | css2/fonts.css | Dagi5/CookiesCafe | e518513ef17e2922fecccb84611ff5b8d5dec0a6 | [
"Apache-2.0"
] | null | null | null | css2/fonts.css | Dagi5/CookiesCafe | e518513ef17e2922fecccb84611ff5b8d5dec0a6 | [
"Apache-2.0"
] | null | null | null | @font-face {
font-family: Abel;
src: url(../fonts2/Abel/Abel-Regular.ttf)
}
@font-face {
font-family: Anton;
src: url(../fonts2/Anton/Anton-Regular.ttf)
}
@font-face {
font-family: Herr;
src: url(../fonts2/Herr_Von_Muellerhoff/HerrVonMuellerhoff-Regular.ttf)
}
@font-face {
font-family: Jo... | 18.1875 | 75 | 0.659794 |
715a41dc18da0873ec18b95e500216e342afe05e | 180 | ts | TypeScript | src/types/GetPorfolioConfigType.ts | martijndierckx/degiro-api | ef46c60dbee42f6722cef683d93ad2ba3a772213 | [
"MIT"
] | 123 | 2020-05-23T17:20:51.000Z | 2022-03-27T11:55:39.000Z | src/types/GetPorfolioConfigType.ts | martijndierckx/degiro-api | ef46c60dbee42f6722cef683d93ad2ba3a772213 | [
"MIT"
] | 21 | 2020-06-26T15:52:15.000Z | 2022-01-13T18:55:10.000Z | src/types/GetPorfolioConfigType.ts | martijndierckx/degiro-api | ef46c60dbee42f6722cef683d93ad2ba3a772213 | [
"MIT"
] | 22 | 2020-06-17T16:51:47.000Z | 2022-03-27T12:06:51.000Z | import { PORTFOLIO_POSITIONS_TYPE_ENUM } from '../enums/DeGiroEnums'
export type GetPorfolioConfigType = {
type: PORTFOLIO_POSITIONS_TYPE_ENUM,
getProductDetails?: boolean,
}
| 25.714286 | 68 | 0.794444 |
fb24fbd0a30aca6c87b184c8f61aca26c90928da | 789 | h | C | Applications/Setup/BuddyPasscodeBaseViewControllerDelegate-Protocol.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | 1 | 2020-11-04T15:43:01.000Z | 2020-11-04T15:43:01.000Z | Applications/Setup/BuddyPasscodeBaseViewControllerDelegate-Protocol.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | Applications/Setup/BuddyPasscodeBaseViewControllerDelegate-Protocol.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
@class BuddyPasscodeBaseViewController, NSString;
@protocol BuddyPasscodeBaseViewControllerDelegate
- (void)passcodeViewController:(BuddyPasscodeB... | 41.526316 | 120 | 0.820025 |
befb076f93fa329061ebe0bb0f372e2188720790 | 21,442 | htm | HTML | books/JFB-UPD3/JFB00B.htm | lsforusual/lsforusual.github.io | d8a5c9b12b15d188b09ac306a39262941f3cd86f | [
"MIT"
] | null | null | null | books/JFB-UPD3/JFB00B.htm | lsforusual/lsforusual.github.io | d8a5c9b12b15d188b09ac306a39262941f3cd86f | [
"MIT"
] | null | null | null | books/JFB-UPD3/JFB00B.htm | lsforusual/lsforusual.github.io | d8a5c9b12b15d188b09ac306a39262941f3cd86f | [
"MIT"
] | null | null | null | <HTML>
<HEAD>
<TITLE>Jamieson-Fausset-Brown Commentary: Introduction to the Poetical Books.</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<HR>
<CENTER>
<I>This expanded electronic edition of the J-F-B Commentary is in the public domain.</I>
</CENTER>
<HR>
<TABLE WIDTH="100%">
<TR>
<TD ALIGN="LEFT" V... | 45.427966 | 141 | 0.711128 |
7d7878740cddfa2e80ee15121898ee3c7a1885ea | 130 | html | HTML | Projects/Math/Data Collection/Pit/201906061448/org.apache.commons.math3.analysis.function/Atanh.java.html | yashgolwala/Software_Measurement_Team_M | 3d2aef4c0711b7a02155a42ca6b08bb6c2693d4c | [
"Unlicense"
] | null | null | null | Projects/Math/Data Collection/Pit/201906061448/org.apache.commons.math3.analysis.function/Atanh.java.html | yashgolwala/Software_Measurement_Team_M | 3d2aef4c0711b7a02155a42ca6b08bb6c2693d4c | [
"Unlicense"
] | null | null | null | Projects/Math/Data Collection/Pit/201906061448/org.apache.commons.math3.analysis.function/Atanh.java.html | yashgolwala/Software_Measurement_Team_M | 3d2aef4c0711b7a02155a42ca6b08bb6c2693d4c | [
"Unlicense"
] | 2 | 2019-06-24T22:57:32.000Z | 2019-06-26T16:58:52.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:c534f8f7971b4a59102a5b0f98f17e398c3b8a597708047382ec1922cf141631
size 20752
| 32.5 | 75 | 0.884615 |
b997e22d6d8595712b27ef6181be82df53f618fe | 336 | h | C | FlexboxCanvas/Foundation/Components/Image/FCImageStyle.h | mymong/FlexboxCanvas | 8b3681c5e549f014071ed68082dd2bc1e67dee9e | [
"MIT"
] | 1 | 2021-08-03T10:05:54.000Z | 2021-08-03T10:05:54.000Z | FlexboxCanvas/Foundation/Components/Image/FCImageStyle.h | mymong/FlexboxCanvas | 8b3681c5e549f014071ed68082dd2bc1e67dee9e | [
"MIT"
] | null | null | null | FlexboxCanvas/Foundation/Components/Image/FCImageStyle.h | mymong/FlexboxCanvas | 8b3681c5e549f014071ed68082dd2bc1e67dee9e | [
"MIT"
] | null | null | null | //
// FCImageStyle.h
// FlexboxCanvas
//
// Created by Guang Yang on 2021/8/14.
//
#import "FCViewStyle.h"
NS_ASSUME_NONNULL_BEGIN
@interface FCImageStyle : FCViewStyle
@property (nonatomic, readonly) UIColor *tintColor; //为所有非透明的像素指定一个颜色
@property (nonatomic, readonly) UIViewContentMode contentMode;
@end
NS_ASS... | 18.666667 | 69 | 0.770833 |
746ffbc3e52d45c98a0c21d045dd2490f8769510 | 75,210 | h | C | WorldEditor/resource.h | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 1 | 2022-02-14T15:46:44.000Z | 2022-02-14T15:46:44.000Z | WorldEditor/resource.h | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | null | null | null | WorldEditor/resource.h | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 2 | 2022-01-10T22:17:06.000Z | 2022-01-17T09:34:08.000Z | //{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by WorldEditor.rc
//
#define ID_LOAD_PREFERENCES 3
#define ID_SELECT_ALL 3
#define ID_SAVE_GAME_SETTINGS 3
#define ID_GENERATE_TERRAIN_BRUSH 3
#define ID_CLEAR_WATER 3
#defi... | 45.144058 | 63 | 0.608895 |
b6fd562d6bcb45bb0d5ebbf6f3723fb0b617329a | 284 | rb | Ruby | lib/qiniu/storage.rb | longbai/qiniu-ruby | 48e8a9134c9f90c32ea33fd5f0a31e851ec5873f | [
"MIT"
] | null | null | null | lib/qiniu/storage.rb | longbai/qiniu-ruby | 48e8a9134c9f90c32ea33fd5f0a31e851ec5873f | [
"MIT"
] | null | null | null | lib/qiniu/storage.rb | longbai/qiniu-ruby | 48e8a9134c9f90c32ea33fd5f0a31e851ec5873f | [
"MIT"
] | null | null | null | module Qiniu
# ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
# SRC = ROOT + '/lib/qiniu'
module Storage
require 'qiniu/storage/upload'
autoload :BucketManager, "qiniu/storage/bucket"
autoload :ObjectManager, 'qiniu/storage/object'
end
end
| 28.4 | 74 | 0.683099 |
9c00c9d4b05df5ffe74b5d81910bafc54326b166 | 1,082 | js | JavaScript | src/screens/Game/components/DealerArea/DealerArea.js | sukhijaa/blackjack_reactNative | 3b29cf61fc79ff093107602d43999ef9fd9cce58 | [
"MIT"
] | null | null | null | src/screens/Game/components/DealerArea/DealerArea.js | sukhijaa/blackjack_reactNative | 3b29cf61fc79ff093107602d43999ef9fd9cce58 | [
"MIT"
] | null | null | null | src/screens/Game/components/DealerArea/DealerArea.js | sukhijaa/blackjack_reactNative | 3b29cf61fc79ff093107602d43999ef9fd9cce58 | [
"MIT"
] | null | null | null | import React from 'react';
import { View, Image } from 'react-native';
import { Headline } from 'react-native-paper';
import styles from './styles';
import { createStructuredSelector } from 'reselect';
import { dealerCardsSelector, gameStatusSelector } from '../../selector';
import { useSelector } from 'react-redux';
i... | 30.914286 | 73 | 0.678373 |
b1c8dc8bd90e1bddba9c36479721d48ed5f0bba9 | 3,543 | h | C | third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | /*
* Copyright (C) 2008 Alex Mathews <possessedpenguinbob@gmail.com>
* Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
*... | 32.209091 | 79 | 0.759244 |
7463768bb02e14f51208d8c5ad6fe71df8c99f6b | 2,543 | c | C | src/piof_globals.c | Ingenuity-Fainting-Goats/piof-iast | d5430c4ca29935ee1a0ef2a6d00d891824ade483 | [
"BSD-3-Clause"
] | 4 | 2020-05-22T10:38:23.000Z | 2021-09-29T06:21:42.000Z | src/piof_globals.c | Ingenuity-Fainting-Goats/piof-iast | d5430c4ca29935ee1a0ef2a6d00d891824ade483 | [
"BSD-3-Clause"
] | null | null | null | src/piof_globals.c | Ingenuity-Fainting-Goats/piof-iast | d5430c4ca29935ee1a0ef2a6d00d891824ade483 | [
"BSD-3-Clause"
] | 1 | 2020-01-29T04:53:45.000Z | 2020-01-29T04:53:45.000Z | #include "piof_globals.h"
bool piof_is_function_hooked(char *function_name) {
zend_string *name;
zval *header;
name =
zend_string_init("HTTP_X_PIOF_IAST", sizeof("HTTP_X_PIOF_IAST") - 1, 0);
zval *carrier = NULL, *ret;
zend_bool jit_initialization = PG(auto_globals_jit);
if (jit_initialization) {
... | 22.307018 | 78 | 0.639009 |
e500929425bed87f4c51af4f94ae87105fe32047 | 508 | ts | TypeScript | libs/angular-components/avatar/src/initials.pipe.ts | jwarzocha/finastra-design-system | 8fddafb3f56c98df37927d9507b1c3cf6beaa955 | [
"MIT"
] | 46 | 2019-07-11T08:19:02.000Z | 2021-03-31T21:06:08.000Z | libs/angular-components/avatar/src/initials.pipe.ts | jwarzocha/finastra-design-system | 8fddafb3f56c98df37927d9507b1c3cf6beaa955 | [
"MIT"
] | 108 | 2019-08-12T09:56:06.000Z | 2021-03-23T21:59:07.000Z | libs/angular-components/avatar/src/initials.pipe.ts | jwarzocha/finastra-design-system | 8fddafb3f56c98df37927d9507b1c3cf6beaa955 | [
"MIT"
] | 32 | 2019-09-25T14:42:12.000Z | 2021-03-16T15:16:32.000Z | import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'initials'
})
export class InitialsPipe implements PipeTransform {
transform(fullName: string, dense?: any): string {
const [name, surname] = fullName.split(' ');
let initials = name.charAt(0).toUpperCase();
if (!dense) {
if (surn... | 25.4 | 52 | 0.608268 |
9bc3b82a0eb639f6684dbd7fa9c283186cfe4cb5 | 375 | js | JavaScript | src/apps/crm/db/migrations/20200312112227_add_phone_number_id_to_enrollment.js | ccetc/mahaplatform.com | 6e8610fe6e835e071492784655dbb5502863d031 | [
"MIT"
] | null | null | null | src/apps/crm/db/migrations/20200312112227_add_phone_number_id_to_enrollment.js | ccetc/mahaplatform.com | 6e8610fe6e835e071492784655dbb5502863d031 | [
"MIT"
] | 52 | 2019-10-28T15:38:35.000Z | 2022-02-28T04:23:48.000Z | src/apps/crm/db/migrations/20200312112227_add_phone_number_id_to_enrollment.js | mahaplatform/mahaplatform.com | a96d8f7b12288c7cb01b036077182238c77d5b03 | [
"MIT"
] | null | null | null | const AddPhoneNumberIdToEnrollment = {
databaseName: 'maha',
up: async (knex) => {
await knex.schema.table('crm_workflow_enrollments', (table) => {
table.integer('phone_number_id').unsigned()
table.foreign('phone_number_id').references('crm_phone_numbers.id')
})
},
down: async (knex) =>... | 18.75 | 73 | 0.677333 |
45809341e9292be9debd98b84cb51a01e713af26 | 837 | lua | Lua | data.lua | alercah/quick-item-scroll | 0459316b68703245225ff5185fc6f2f213a3760d | [
"MIT"
] | null | null | null | data.lua | alercah/quick-item-scroll | 0459316b68703245225ff5185fc6f2f213a3760d | [
"MIT"
] | null | null | null | data.lua | alercah/quick-item-scroll | 0459316b68703245225ff5185fc6f2f213a3760d | [
"MIT"
] | null | null | null | -- Add keybindings
data:extend({
{
type = "custom-input",
name = "quick-item-scroll-item-prev",
key_sequence = "CONTROL + Y",
consuming = "game-only"
},
{
type = "custom-input",
name = "quick-item-scroll-item-next",
key_sequence = "Y",
consumi... | 23.914286 | 51 | 0.500597 |
5bafccfe179c3a0c492643f1756b21d068733042 | 2,375 | rs | Rust | src/lib.rs | awsomearvinder/flac-bound | 19431890f5803e4d19ee582ccb553f3ff813b8a7 | [
"MIT"
] | 5 | 2020-02-26T06:32:41.000Z | 2021-05-08T11:02:10.000Z | src/lib.rs | awsomearvinder/flac-bound | 19431890f5803e4d19ee582ccb553f3ff813b8a7 | [
"MIT"
] | 3 | 2019-11-28T20:38:56.000Z | 2020-11-05T16:23:27.000Z | src/lib.rs | awsomearvinder/flac-bound | 19431890f5803e4d19ee582ccb553f3ff813b8a7 | [
"MIT"
] | 2 | 2020-09-02T00:12:05.000Z | 2022-02-07T02:46:17.000Z | //! FLAC encoding via libFLAC FFI
//!
//! # Building <!-- also update README -->
//!
//! There are two supported libFLAC back-ends:
//! * [`flac-sys`](https://crates.io/crates/flac-sys), under the `"flac"` feature, the default, and
//! * [`libflac-sys`](https://crates.io/crates/libflac-sys), under the `"libflac"` f... | 38.934426 | 144 | 0.649684 |
419a5bf2b2af1ffa432786a5fb8b0f8282084cec | 5,776 | c | C | src/clingo/io/print.c | aiq/clingo | 3ccdec52894f35230c4a42f89c108bf084ab8e1d | [
"MIT"
] | 2 | 2022-01-09T21:43:33.000Z | 2022-01-12T19:16:06.000Z | src/clingo/io/print.c | aiq/clingo | 3ccdec52894f35230c4a42f89c108bf084ab8e1d | [
"MIT"
] | null | null | null | src/clingo/io/print.c | aiq/clingo | 3ccdec52894f35230c4a42f89c108bf084ab8e1d | [
"MIT"
] | null | null | null | #include "clingo/io/print.h"
#include "_/io/read_write_util.h"
#include "clingo/io/file.h"
/*******************************************************************************
********************************************************************* Functions
*****************************************************************... | 27.504762 | 83 | 0.453774 |
0a0b7e54da11d3dbf09aa549cf01a2dc3949ad5a | 835 | tsx | TypeScript | umbo-gamification/src/picker/answer.tsx | RHoKAustralia/umbo-gamification-prototype | 9c5415269012629699e85e8d2d962ca363c7cf77 | [
"Apache-2.0"
] | null | null | null | umbo-gamification/src/picker/answer.tsx | RHoKAustralia/umbo-gamification-prototype | 9c5415269012629699e85e8d2d962ca363c7cf77 | [
"Apache-2.0"
] | null | null | null | umbo-gamification/src/picker/answer.tsx | RHoKAustralia/umbo-gamification-prototype | 9c5415269012629699e85e8d2d962ca363c7cf77 | [
"Apache-2.0"
] | null | null | null | import React from "react";
import { Answer } from "../question-data";
import { Button } from "reactstrap";
import Styles from "./answer.module.scss";
type Props = { answer: Answer; onClick: (answerId: string) => void };
export default function AnswerComponent(props: Props) {
const onClick = () => {
prop... | 26.935484 | 80 | 0.534132 |
75c6bf8938fdca079301f46661f466f83dfed727 | 2,397 | rs | Rust | src/font/mod.rs | BarePotato/figglebit | d0a6e279ff29cbef82df4b765ba07d4470e48146 | [
"MIT"
] | null | null | null | src/font/mod.rs | BarePotato/figglebit | d0a6e279ff29cbef82df4b765ba07d4470e48146 | [
"MIT"
] | null | null | null | src/font/mod.rs | BarePotato/figglebit | d0a6e279ff29cbef82df4b765ba07d4470e48146 | [
"MIT"
] | 1 | 2021-03-17T16:17:51.000Z | 2021-03-17T16:17:51.000Z | // flf2a$ 6 5 20 15 3 0 143 229 NOTE: The first five characters in
// | | | | | | | | | | the entire file must be "flf2a".
// / / | | | | | | | \
// Signature / / | | | | | \ Codetag_Count
// Hardblank / / | | | \ Full_Layout*
// Height / ... | 28.535714 | 80 | 0.497705 |
7b1584d39805283e8b170137d006b0f37fd6fa1a | 1,259 | rb | Ruby | support/generators/halcyon/templates/config/init.rb | mtodd/halcyon | c4cb414bf7b05176c844ff589a580aacf82d5748 | [
"MIT"
] | 9 | 2015-11-05T12:12:57.000Z | 2021-09-05T21:45:51.000Z | support/generators/halcyon/templates/config/init.rb | albertobraschi/halcyon | c4cb414bf7b05176c844ff589a580aacf82d5748 | [
"MIT"
] | null | null | null | support/generators/halcyon/templates/config/init.rb | albertobraschi/halcyon | c4cb414bf7b05176c844ff589a580aacf82d5748 | [
"MIT"
] | 4 | 2015-08-15T10:31:04.000Z | 2021-07-13T19:16:02.000Z | Halcyon.config.use do |c|
# = Framework
#
# <tt>allow_from</tt>: specifies what connections to accept;
# * <tt>all</tt>: allow connections from all clients
# * <tt>local</tt>: only allow connections from the same host (localhost et al)
# * <tt>halcyon_clients</tt>: only Halcyon clients (tests the User-A... | 29.27907 | 81 | 0.633042 |
9538a8c6b7f4499e69b160a649eb29e2350bb51a | 572 | css | CSS | src/components/footer.module.css | BlinkTagInc/gtfs.org | 6714c64149487f9bb35d2ef3920a3158d25f6f9d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | src/components/footer.module.css | BlinkTagInc/gtfs.org | 6714c64149487f9bb35d2ef3920a3158d25f6f9d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | src/components/footer.module.css | BlinkTagInc/gtfs.org | 6714c64149487f9bb35d2ef3920a3158d25f6f9d | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | .footer-container {
position: absolute;
bottom: 0;
height: 75px;
width: 100vw;
box-shadow: inset 0 7px 10px -15px rgba(0,0,0,1);
background-color: #444444;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 0 10px;
}
.footer-contai... | 17.875 | 51 | 0.687063 |
b4fc1c48476df4566e2aaf2393dc5e1227d09daa | 6,524 | lua | Lua | lua/autorun/kswep_shared.lua | VurtualRuler98/kswep2 | b9292403ccf5681bf023d7765389a6ca76ada5c6 | [
"Apache-2.0"
] | null | null | null | lua/autorun/kswep_shared.lua | VurtualRuler98/kswep2 | b9292403ccf5681bf023d7765389a6ca76ada5c6 | [
"Apache-2.0"
] | null | null | null | lua/autorun/kswep_shared.lua | VurtualRuler98/kswep2 | b9292403ccf5681bf023d7765389a6ca76ada5c6 | [
"Apache-2.0"
] | null | null | null | if (SERVER) then
AddCSLuaFile()
end
sound.Add({
name="kswep.supersonic",
volume = 0.8,
pitch = {175,205},
sound = "weapons/scout/scout_fire-1.wav",
level = 140,
channel = CHAN_WEAPON
})
kswep_kspawnergrenades = {--[[
weapon_kgreni2_m67={name="M67 Frag Grenade",effect=1},
weapon_kgreni2_m68={name="M68 Impac... | 44.081081 | 131 | 0.756438 |
3e6df0b8bb261b0c7df500f3529cbaa552e004d2 | 1,365 | h | C | Example/Pods/YouboraLib/YouboraLib/YouboraLib.h | cruiz666/MediastreamPlatformSDKAppleTV | 777c1458cf8dc6f1e863e5fd6b576c0828a8e104 | [
"MIT"
] | 3 | 2018-03-13T08:49:43.000Z | 2022-03-28T10:13:00.000Z | Example/Pods/YouboraLib/YouboraLib/YouboraLib.h | cruiz666/MediastreamPlatformSDKAppleTV | 777c1458cf8dc6f1e863e5fd6b576c0828a8e104 | [
"MIT"
] | 2 | 2018-10-29T05:13:40.000Z | 2020-05-26T14:04:33.000Z | Example/Pods/YouboraLib/YouboraLib/YouboraLib.h | cruiz666/MediastreamPlatformSDKAppleTV | 777c1458cf8dc6f1e863e5fd6b576c0828a8e104 | [
"MIT"
] | 2 | 2019-07-16T00:40:21.000Z | 2020-05-25T08:37:59.000Z | //
// YouboraLib.h
// YouboraLib
//
// Created by Joan on 14/03/2017.
// Copyright © 2017 NPAW. All rights reserved.
//
//#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <sqlite3.h>
//! Project version number for YouboraLib.
FOUNDATION_EXPORT double YouboraLibVersionNumber;
//! Project version ... | 30.333333 | 64 | 0.794872 |
261194722df6d6289db3c7213e4d360ec7da2468 | 1,314 | java | Java | src/main/java/io/github/suxil/rsql/util/StringUtils.java | suxil/rsql | ddcd275efdd2acf85673b20d7980ee9498816b5c | [
"MIT"
] | 3 | 2021-06-29T14:40:39.000Z | 2022-02-14T06:23:48.000Z | src/main/java/io/github/suxil/rsql/util/StringUtils.java | suxil/rsql | ddcd275efdd2acf85673b20d7980ee9498816b5c | [
"MIT"
] | null | null | null | src/main/java/io/github/suxil/rsql/util/StringUtils.java | suxil/rsql | ddcd275efdd2acf85673b20d7980ee9498816b5c | [
"MIT"
] | null | null | null | package io.github.suxil.rsql.util;
import java.util.List;
/**
* 字符串工具类
*
* @author lu_it
* @since V1.0
*/
public class StringUtils {
public static boolean isBlank(String str) {
int strLen;
if (str != null && (strLen = str.length()) != 0) {
for(int i = 0; i < strLen; ++i) {
... | 22.271186 | 70 | 0.468037 |
7169d494286e3a36ab98e29cd8aebf0b6f5ee5aa | 3,892 | ts | TypeScript | src/common/query.ts | rolandbernard/marvin | 60be93f622b65652d07e659eaf81dd763cf8b3eb | [
"MIT"
] | 5 | 2020-11-30T11:48:12.000Z | 2022-02-21T15:48:49.000Z | src/common/query.ts | rolandbernard/marvin | 60be93f622b65652d07e659eaf81dd763cf8b3eb | [
"MIT"
] | 4 | 2020-10-06T19:17:18.000Z | 2021-10-31T17:08:19.000Z | src/common/query.ts | rolandbernard/marvin | 60be93f622b65652d07e659eaf81dd763cf8b3eb | [
"MIT"
] | null | null | null |
const MAX_MATCH_LENGTH = 200;
export class Query {
readonly advanced: boolean;
readonly raw: string;
readonly text: string;
readonly regex: RegExp;
normalizeString(text: string): string {
return text.normalize('NFKD')
.replace(/[\u0300-\u036F]/g, '')
.replace(/\s+/... | 32.433333 | 123 | 0.443731 |
616397d53684dd4c78b84ddb26292f26015e7941 | 3,381 | swift | Swift | Tests/SourcingTests/AnyReusableViewConfiguringTest.swift | lightsprint09/Sourcing | 247e6fc53ff142c84e59e17d594c80c871e46921 | [
"MIT"
] | 15 | 2016-12-14T17:49:59.000Z | 2020-02-27T15:36:57.000Z | Tests/SourcingTests/AnyReusableViewConfiguringTest.swift | lightsprint09/Sourcing | 247e6fc53ff142c84e59e17d594c80c871e46921 | [
"MIT"
] | 68 | 2017-01-29T12:13:33.000Z | 2021-08-16T12:13:52.000Z | Tests/SourcingTests/AnyReusableViewConfiguringTest.swift | lightsprint09/Sourcing | 247e6fc53ff142c84e59e17d594c80c871e46921 | [
"MIT"
] | 5 | 2017-01-07T19:38:58.000Z | 2018-11-15T11:59:42.000Z | //
// Copyright (C) DB Systel GmbH.
//
// 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, copy, modify, merge, ... | 40.73494 | 111 | 0.686779 |
411397bf402c2d8dd3e71c3621c0bc56de2e9605 | 2,374 | c | C | GraphBLAS/Source/GB_Matrix_clear.c | puckbee/suitesparse | 306d7f11792aca524571f4ae142bcd8b7e38c362 | [
"Apache-2.0"
] | 29 | 2019-11-27T00:43:07.000Z | 2020-02-25T14:35:54.000Z | GraphBLAS/Source/GB_Matrix_clear.c | puckbee/suitesparse | 306d7f11792aca524571f4ae142bcd8b7e38c362 | [
"Apache-2.0"
] | null | null | null | GraphBLAS/Source/GB_Matrix_clear.c | puckbee/suitesparse | 306d7f11792aca524571f4ae142bcd8b7e38c362 | [
"Apache-2.0"
] | 4 | 2019-11-27T05:19:03.000Z | 2020-03-23T22:49:53.000Z | //------------------------------------------------------------------------------
// GB_Matrix_clear: clears the content of a matrix
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2018, All Rights Reserved.
// http://suitesparse.com ... | 35.969697 | 80 | 0.486942 |
d481203ebf62b4097a736f6769a1dbddf3a9a82a | 4,139 | swift | Swift | MGDS_Swift/MGDS_Swift/Class/Extesion/Category(扩展)/UIBUtton+Extension.swift | LYM-mg/MGDS_Swift | b84be581909e7470540ce9baab2022b8fe5d99f4 | [
"MIT"
] | 96 | 2017-02-07T11:19:37.000Z | 2021-11-22T02:52:20.000Z | MGDS_Swift/MGDS_Swift/Class/Extesion/Category(扩展)/UIBUtton+Extension.swift | LYM-mg/MGDS_Swift | b84be581909e7470540ce9baab2022b8fe5d99f4 | [
"MIT"
] | 2 | 2017-07-27T09:41:12.000Z | 2017-08-24T03:01:42.000Z | MGDS_Swift/MGDS_Swift/Class/Extesion/Category(扩展)/UIBUtton+Extension.swift | LYM-mg/MGDS_Swift | b84be581909e7470540ce9baab2022b8fe5d99f4 | [
"MIT"
] | 33 | 2017-01-17T15:53:04.000Z | 2021-01-15T01:52:01.000Z | //
// UIBUtton+Extension.swift
// chart2
//
// Created by i-Techsys.com on 16/12/7.
// Copyright © 2016年 i-Techsys. All rights reserved.
//
import UIKit
extension UIButton {
/// 遍历构造函数
// convenience init(imageName:String, bgImageName:String){
// self.init()
//
// // 1.设置按钮的属性
// ... | 33.650407 | 122 | 0.628654 |
fb0add0f33a456011831c975836fdaf72b83f0dd | 1,223 | php | PHP | scripts/patchExamples.php | mrgoldy/textformatter | ab86c9c6c2ececd13abcc9a1aaf8fb503550a500 | [
"MIT"
] | null | null | null | scripts/patchExamples.php | mrgoldy/textformatter | ab86c9c6c2ececd13abcc9a1aaf8fb503550a500 | [
"MIT"
] | null | null | null | scripts/patchExamples.php | mrgoldy/textformatter | ab86c9c6c2ececd13abcc9a1aaf8fb503550a500 | [
"MIT"
] | null | null | null | #!/usr/bin/php
<?php
include __DIR__ . '/../vendor/autoload.php';
function patchDir($dirpath)
{
$dirpath = realpath($dirpath);
array_map('patchDir', glob($dirpath . '/*', GLOB_ONLYDIR));
array_map('patchFile', glob($dirpath . '/*.md'));
}
function patchFile($filepath)
{
$file = file_get_contents($filepath);
/... | 20.383333 | 114 | 0.553557 |
70a73761380ff86a0493d7ed968308a04e1582c6 | 5,095 | go | Go | master/ApiServer.go | sanjiOP/goodjob | c8bda3eeb059124493abe2d254c4613863ded0af | [
"Apache-2.0"
] | null | null | null | master/ApiServer.go | sanjiOP/goodjob | c8bda3eeb059124493abe2d254c4613863ded0af | [
"Apache-2.0"
] | null | null | null | master/ApiServer.go | sanjiOP/goodjob | c8bda3eeb059124493abe2d254c4613863ded0af | [
"Apache-2.0"
] | null | null | null | package master
import (
"net/http"
"net"
"time"
"strconv"
"github.com/sanjiOP/goodjob/common"
"encoding/json"
"fmt"
)
//
type ApiServer struct {
httpServer *http.Server
}
// route /job/save
// param job = {"name":"echo","command":"echo hello","CronExpr":"* * * * * *"}
func handleJobSave(w http.ResponseWrit... | 16.92691 | 81 | 0.675368 |
33aef593380cb2c4a0581b496febb1bf2d60ef5a | 962 | kt | Kotlin | beetle/src/main/java/com/karacce/beetle/utils/Lifecycle.kt | TayfunCesur/Beetle | aa3671c6731c861a7802aef9a9024e32f4b94669 | [
"Apache-2.0"
] | null | null | null | beetle/src/main/java/com/karacce/beetle/utils/Lifecycle.kt | TayfunCesur/Beetle | aa3671c6731c861a7802aef9a9024e32f4b94669 | [
"Apache-2.0"
] | null | null | null | beetle/src/main/java/com/karacce/beetle/utils/Lifecycle.kt | TayfunCesur/Beetle | aa3671c6731c861a7802aef9a9024e32f4b94669 | [
"Apache-2.0"
] | null | null | null | package com.karacce.beetle.utils
import android.app.Activity
import android.app.Application
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.karacce.beetle.Beetle
/**
* @user: omerkaraca
* @date: 2019-07-06
*/
class Lifecycle(private var beetle: Beetle): Application.ActivityLife... | 27.485714 | 88 | 0.731809 |
faf0700ebcd33e517325c8bf4a98d28ab28384c2 | 2,228 | sql | SQL | db_functions/partitioned_tables_active_trigger_function.sql | rubik-ai/koku | 3255d1c217b7b6685cb2e130bf4e025946e76fac | [
"Apache-2.0"
] | 157 | 2018-04-30T16:27:53.000Z | 2022-03-31T08:17:21.000Z | db_functions/partitioned_tables_active_trigger_function.sql | rubik-ai/koku | 3255d1c217b7b6685cb2e130bf4e025946e76fac | [
"Apache-2.0"
] | 3,250 | 2018-04-26T14:14:25.000Z | 2022-03-31T23:49:15.000Z | db_functions/partitioned_tables_active_trigger_function.sql | rubik-ai/koku | 3255d1c217b7b6685cb2e130bf4e025946e76fac | [
"Apache-2.0"
] | 65 | 2018-05-10T14:11:50.000Z | 2022-03-18T19:22:58.000Z | --
-- Copyright 2021 Red Hat Inc.
-- SPDX-License-Identifier: Apache-2.0
--
DROP FUNCTION IF EXISTS public.trfn_attach_date_range_partition();
CREATE OR REPLACE FUNCTION public.trfn_attach_date_range_partition() RETURNS TRIGGER AS $$
DECLARE
alter_stmt text = '';
msg text = '';
BEGIN
IF NEW.active != OLD.a... | 42.037736 | 106 | 0.516607 |
b579f4f2dcbd811631c0c06a67f1d7f543c15421 | 32,586 | sql | SQL | db_kesequl.sql | TesyarRAz/KeseQul-Web-Alpha | ece3fcde9bea5d5bd8a821a7bf95316c37b5fa02 | [
"MIT"
] | null | null | null | db_kesequl.sql | TesyarRAz/KeseQul-Web-Alpha | ece3fcde9bea5d5bd8a821a7bf95316c37b5fa02 | [
"MIT"
] | null | null | null | db_kesequl.sql | TesyarRAz/KeseQul-Web-Alpha | ece3fcde9bea5d5bd8a821a7bf95316c37b5fa02 | [
"MIT"
] | null | null | null | -- MySQL dump 10.16 Distrib 10.1.30-MariaDB, for Win32 (AMD64)
--
-- Host: localhost Database: db_kesequl
-- ------------------------------------------------------
-- Server version 10.1.30-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER... | 42.932806 | 1,660 | 0.700577 |
bee9230aca19a8940652ed6ae21dd2fa59d54712 | 184,691 | html | HTML | docker-build/9.0.5.x/licenses/notices.html | BradleyMayo/ci.docker.websphere-traditional | 353fc041690d21850c75fda0408b4294c35e6154 | [
"Apache-2.0"
] | null | null | null | docker-build/9.0.5.x/licenses/notices.html | BradleyMayo/ci.docker.websphere-traditional | 353fc041690d21850c75fda0408b4294c35e6154 | [
"Apache-2.0"
] | null | null | null | docker-build/9.0.5.x/licenses/notices.html | BradleyMayo/ci.docker.websphere-traditional | 353fc041690d21850c75fda0408b4294c35e6154 | [
"Apache-2.0"
] | null | null | null | <HTML>
<HEAD>
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"/>
<TITLE>Software License</TITLE>
</HEAD>
<BODY>
NOTICES AND INFORMATION<br>
<br>
IBM WebSphere Application Server V9.0.5.10<br>
<br>
The IBM license agreement and any applicable information on
the web<br>
download page for I... | 37.161167 | 116 | 0.716337 |
d2640e2abf185def5406b4cd869adc13026ba1ec | 6,351 | php | PHP | application/views/admin/index.php | Lestariutm/Shop_Hijaber | ee1dfe723bf742ea0481a5af1fc33f22b9633d9c | [
"MIT"
] | null | null | null | application/views/admin/index.php | Lestariutm/Shop_Hijaber | ee1dfe723bf742ea0481a5af1fc33f22b9633d9c | [
"MIT"
] | null | null | null | application/views/admin/index.php | Lestariutm/Shop_Hijaber | ee1dfe723bf742ea0481a5af1fc33f22b9633d9c | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bootsrtap Free Admin Template - SIMINTA | Admin Dashboad Template</title>
<!-- Core CSS - Include with every page -->
<link href="<?php echo base_url(); ?>admin/plugins/... | 46.021739 | 136 | 0.454259 |
3bad77a08049512d5799ab4384ad3a673ef129c5 | 1,563 | h | C | src/GFSAdminClient.h | pauldardeau/lachepas | 72dfd805d6df319156a7b8954c571b96acf5c1bf | [
"BSD-3-Clause"
] | null | null | null | src/GFSAdminClient.h | pauldardeau/lachepas | 72dfd805d6df319156a7b8954c571b96acf5c1bf | [
"BSD-3-Clause"
] | 1 | 2016-08-06T03:24:30.000Z | 2016-08-06T03:24:30.000Z | src/GFSAdminClient.h | pauldardeau/lachepas | 72dfd805d6df319156a7b8954c571b96acf5c1bf | [
"BSD-3-Clause"
] | null | null | null | // Copyright Paul Dardeau, 2016
#ifndef LACHEPAS_GFSADMINCLIENT_H
#define LACHEPAS_GFSADMINCLIENT_H
#include <string>
#include <vector>
#include <map>
#include <memory>
#include "GFSOptions.h"
#include "KeyValuePairs.h"
#include "Vault.h"
namespace lachepas {
class DataAccess;
class LocalDirectory;
class StorageNo... | 13.955357 | 70 | 0.564939 |
fb77291add525462caa1770f12a2ebe3d2b5bef0 | 15,202 | h | C | src/NodeLink.h | 2kranki/libCmn | 4f9db4c9c8e2dff64e1c741dc1c11e9f3b5d07ce | [
"Unlicense"
] | 2 | 2017-03-23T15:23:56.000Z | 2021-03-04T09:54:54.000Z | src/NodeLink.h | 2kranki/libCmn | 4f9db4c9c8e2dff64e1c741dc1c11e9f3b5d07ce | [
"Unlicense"
] | null | null | null | src/NodeLink.h | 2kranki/libCmn | 4f9db4c9c8e2dff64e1c741dc1c11e9f3b5d07ce | [
"Unlicense"
] | null | null | null | // vi:nu:et:sts=4 ts=4 sw=4
//****************************************************************
// Node with Integer Links (NodeLink) Header
//****************************************************************
/*
* Program
* Node with Integer Links (NodeLink)
* Purpose
* This object... | 24.880524 | 85 | 0.539797 |
ae2301b96ace00cb86628b313b608b1616117aed | 207 | rs | Rust | src/main.rs | strainger/candlelight-text-rust | 7f6d5df35b4df3dc0693b5f2a7299a43139c36d4 | [
"MIT"
] | null | null | null | src/main.rs | strainger/candlelight-text-rust | 7f6d5df35b4df3dc0693b5f2a7299a43139c36d4 | [
"MIT"
] | null | null | null | src/main.rs | strainger/candlelight-text-rust | 7f6d5df35b4df3dc0693b5f2a7299a43139c36d4 | [
"MIT"
] | null | null | null | mod entity;
use entity::Entity;
use entity::EntityFunctionality;
fn main() {
let mut player = Entity { name: "Player 1", ..Default::default() };
player.level_up();
player.display_all_stats();
}
| 20.7 | 71 | 0.666667 |
b2b2c142b45b87b8147bfd47d58eb146d6e75472 | 610 | py | Python | schoolport/app_core/migrations/0024_auto_20210513_1020.py | yotink522/schoolport | c6cfd0230ca05fb44f77c2f27c7e200828547bd5 | [
"MIT"
] | null | null | null | schoolport/app_core/migrations/0024_auto_20210513_1020.py | yotink522/schoolport | c6cfd0230ca05fb44f77c2f27c7e200828547bd5 | [
"MIT"
] | null | null | null | schoolport/app_core/migrations/0024_auto_20210513_1020.py | yotink522/schoolport | c6cfd0230ca05fb44f77c2f27c7e200828547bd5 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.7 on 2021-05-13 02:20
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app_core', '0023_auto_20210513_1004'),
]
operations = [
migrations.AlterField(
model_name='tb_course',
name='pricing... | 25.416667 | 75 | 0.603279 |
605d029c5a72387824f17fe0587c60f8e9434cf5 | 1,156 | html | HTML | resources/views/blog/hubspot_site_export_Tue_Jun_16_17_26_01_GMT_2020/styles/source/generated_global_groups/19253781163.html | kevenClayton/estudo_vue | 5cc410939720ce3108360901796b86fa39922f46 | [
"MIT"
] | null | null | null | resources/views/blog/hubspot_site_export_Tue_Jun_16_17_26_01_GMT_2020/styles/source/generated_global_groups/19253781163.html | kevenClayton/estudo_vue | 5cc410939720ce3108360901796b86fa39922f46 | [
"MIT"
] | null | null | null | resources/views/blog/hubspot_site_export_Tue_Jun_16_17_26_01_GMT_2020/styles/source/generated_global_groups/19253781163.html | kevenClayton/estudo_vue | 5cc410939720ce3108360901796b86fa39922f46 | [
"MIT"
] | null | null | null | <div class="" data-global-widget-path="generated_global_groups/19253781163.html"><div class="row-fluid-wrapper row-depth-1 row-number-1 ">
<div class="row-fluid ">
<div class="span12 widget-span widget-type-logo " style="" data-widget-type="logo" data-x="0" data-w="12">
<div class="cell-wrapper layout-widget-wrapper">
... | 128.444444 | 748 | 0.749135 |
864aaceafbd5b811bb01daee9d887399bf3e8c6e | 1,292 | rs | Rust | src/byte_trie.rs | jimberlage/vawk | 6c24b5379492ff32338e4b057dd520de01e52bd8 | [
"MIT"
] | 6 | 2021-08-03T14:43:38.000Z | 2022-02-24T14:53:36.000Z | src/byte_trie.rs | jimberlage/shble | 6c24b5379492ff32338e4b057dd520de01e52bd8 | [
"MIT"
] | 10 | 2021-08-03T03:29:59.000Z | 2021-09-07T01:55:56.000Z | src/byte_trie.rs | jimberlage/vawk | 6c24b5379492ff32338e4b057dd520de01e52bd8 | [
"MIT"
] | null | null | null | use std::collections::HashMap;
#[derive(Debug, PartialEq)]
pub struct ByteTrie {
children: HashMap<u8, ByteTrie>,
}
pub enum Membership {
NotIncluded,
Included,
IncludedAndTerminal,
}
impl ByteTrie {
pub fn new() -> ByteTrie {
ByteTrie {
children: HashMap::new(),
}
... | 23.071429 | 98 | 0.52322 |
8e58081749f3b7a636391c0b88730b98f2cc81ad | 1,466 | swift | Swift | Sources/Private/Experimental/Animations/RectangleAnimation.swift | Kyle-Ye/lottie-ios | cb6bf4e49f6b55cf7da6e602e6d66fadc3137ed1 | [
"Apache-2.0"
] | null | null | null | Sources/Private/Experimental/Animations/RectangleAnimation.swift | Kyle-Ye/lottie-ios | cb6bf4e49f6b55cf7da6e602e6d66fadc3137ed1 | [
"Apache-2.0"
] | null | null | null | Sources/Private/Experimental/Animations/RectangleAnimation.swift | Kyle-Ye/lottie-ios | cb6bf4e49f6b55cf7da6e602e6d66fadc3137ed1 | [
"Apache-2.0"
] | null | null | null | // Created by Cal Stephens on 12/21/21.
// Copyright © 2021 Airbnb Inc. All rights reserved.
import QuartzCore
extension CALayer {
/// Adds animations for the given `Rectangle` to this `CALayer`
func addAnimations(
for rectangle: Rectangle,
context: LayerAnimationContext)
{
addAnimation(
for: ... | 34.904762 | 120 | 0.662347 |
1c79eb68089ec49e91815c0213841aae1f9c9dd5 | 713 | css | CSS | src/assets/app.css | azrulafiq/statuside | dfae660ee3f0adcd567bb426603709f52681f694 | [
"Apache-2.0"
] | 1 | 2021-10-30T13:22:03.000Z | 2021-10-30T13:22:03.000Z | src/assets/app.css | azrulafiq/statuside | dfae660ee3f0adcd567bb426603709f52681f694 | [
"Apache-2.0"
] | null | null | null | src/assets/app.css | azrulafiq/statuside | dfae660ee3f0adcd567bb426603709f52681f694 | [
"Apache-2.0"
] | 2 | 2021-10-31T14:59:07.000Z | 2022-01-11T14:39:35.000Z | .systems {
@apply flex flex-row justify-between p-4 border-b
}
.systems:last-child {
@apply border-0
}
.open-incidents {
@apply flex flex-col p-4 border-b
}
.open-incidents:last-child {
@apply border-0
}
.incidents-timeline {
@apply pl-8 pb-8 border-l-2 border-gray-200 relative
}
.incidents-tim... | 17.825 | 95 | 0.661992 |
bb5f46450e9fea4b7433395581524228527beff7 | 2,525 | html | HTML | login.html | sandysh/material | e6c31d6f0d770c3e0eb1ad025970b33f7da2cf63 | [
"MIT"
] | null | null | null | login.html | sandysh/material | e6c31d6f0d770c3e0eb1ad025970b33f7da2cf63 | [
"MIT"
] | null | null | null | login.html | sandysh/material | e6c31d6f0d770c3e0eb1ad025970b33f7da2cf63 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<link ty... | 39.453125 | 106 | 0.529505 |
109a2882473e7538336cd273cb3c50a5d1051253 | 49,760 | sql | SQL | database/psjznxpm_school.sql | IwayRiway/akademik | 2b37cedc79d4b4363fc46e7a5104f3babc89af5d | [
"MIT"
] | null | null | null | database/psjznxpm_school.sql | IwayRiway/akademik | 2b37cedc79d4b4363fc46e7a5104f3babc89af5d | [
"MIT"
] | null | null | null | database/psjznxpm_school.sql | IwayRiway/akademik | 2b37cedc79d4b4363fc46e7a5104f3babc89af5d | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Waktu pembuatan: 28 Nov 2020 pada 16.35
-- Versi server: 10.3.27-MariaDB
-- Versi PHP: 7.3.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_... | 34.175824 | 314 | 0.602613 |
ddc63cac3ee069b0b94c9975155897a6b2f5d52b | 1,125 | php | PHP | tests/Skeetr/Tests/Client/MethodTest.php | skeetr/skeetr | eb4ae5f7a6d3fed322041bbce830961e81ed6e20 | [
"MIT"
] | null | null | null | tests/Skeetr/Tests/Client/MethodTest.php | skeetr/skeetr | eb4ae5f7a6d3fed322041bbce830961e81ed6e20 | [
"MIT"
] | 1 | 2015-04-17T22:24:51.000Z | 2015-04-17T22:24:51.000Z | tests/Skeetr/Tests/Client/MethodTest.php | skeetr/skeetr | eb4ae5f7a6d3fed322041bbce830961e81ed6e20 | [
"MIT"
] | null | null | null | <?php
/*
* This file is part of the Skeetr package.
*
* (c) Máximo Cuadros <mcuadros@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Skeetr\Tests;
use Skeetr\Client;
use Skeetr\Client\Method;
use Skeetr\Mocks... | 22.959184 | 74 | 0.649778 |
c7e6cd72df6aa3fcfe1f751e78cea36c4a511c38 | 1,791 | java | Java | src/test/java/data_access/DatabaseItemDaoTest.java | antarcticturtle/Lukuvinkkikirjasto | 3df699d1275b0ce45f1a657d32fc01c8b7df2a72 | [
"MIT"
] | null | null | null | src/test/java/data_access/DatabaseItemDaoTest.java | antarcticturtle/Lukuvinkkikirjasto | 3df699d1275b0ce45f1a657d32fc01c8b7df2a72 | [
"MIT"
] | 6 | 2018-11-27T22:39:42.000Z | 2018-12-10T12:30:34.000Z | src/test/java/data_access/DatabaseItemDaoTest.java | antarcticturtle/Lukuvinkkikirjasto | 3df699d1275b0ce45f1a657d32fc01c8b7df2a72 | [
"MIT"
] | 2 | 2018-11-15T17:04:35.000Z | 2018-12-08T23:18:30.000Z | package data_access;
import io.Color;
import io.IO;
import item.*;
import java.io.File;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
public class DatabaseItemDaoTest {
File testDatabase;
DatabaseItemDao dao;
@Before
public void set... | 27.553846 | 151 | 0.603015 |
c72501ec5b0b8e15fae836aa2b1ee18c0648723a | 2,655 | kt | Kotlin | compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/declaration/FirMethodOfAnyImplementedInInterfaceChecker.kt | Mu-L/kotlin | 5c3ce66e9979d2b3592d06961e181fa27fa88431 | [
"ECL-2.0",
"Apache-2.0"
] | 151 | 2019-11-06T03:32:39.000Z | 2022-03-25T15:06:58.000Z | compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/declaration/FirMethodOfAnyImplementedInInterfaceChecker.kt | Mu-L/kotlin | 5c3ce66e9979d2b3592d06961e181fa27fa88431 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-07-27T00:44:27.000Z | 2021-12-30T20:21:23.000Z | compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/declaration/FirMethodOfAnyImplementedInInterfaceChecker.kt | Mu-L/kotlin | 5c3ce66e9979d2b3592d06961e181fa27fa88431 | [
"ECL-2.0",
"Apache-2.0"
] | 69 | 2019-11-18T10:25:35.000Z | 2021-12-27T14:15:47.000Z | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fir.analysis.checkers.declaration
import org.jetbrains.kotlin.builtins.StandardN... | 45 | 115 | 0.736723 |
151fadb2ebfb57588dc195f40364a30b9c34289a | 737 | swift | Swift | LocationExampleTests/Mocks/CLLocationManagerMock.swift | tpalmer/location-example | 3af18f7058647b1b1b738aecc3f569da84a02627 | [
"MIT"
] | null | null | null | LocationExampleTests/Mocks/CLLocationManagerMock.swift | tpalmer/location-example | 3af18f7058647b1b1b738aecc3f569da84a02627 | [
"MIT"
] | null | null | null | LocationExampleTests/Mocks/CLLocationManagerMock.swift | tpalmer/location-example | 3af18f7058647b1b1b738aecc3f569da84a02627 | [
"MIT"
] | null | null | null | //
// CLLocationManagerMock.swift
// LocationExampleTests
//
// Created by Travis Palmer on 9/7/18.
// Copyright © 2019 Travis Palmer. All rights reserved.
//
@testable import LocationExample
import CoreLocation
class CLLocationManagerMock: CLLocationManager {
var requestAlwaysAuthorizationCallCount = 0
v... | 25.413793 | 56 | 0.746269 |
00df2dba0f6bade6718f0d4cbd655ab0cb05ac48 | 394 | swift | Swift | Modules/Main/AppBuilderDelegate.swift | uypoko/CleanBuddyCoffee | 34593a43b54a9b2ef6fa281a4909a7fbc2367c01 | [
"MIT"
] | null | null | null | Modules/Main/AppBuilderDelegate.swift | uypoko/CleanBuddyCoffee | 34593a43b54a9b2ef6fa281a4909a7fbc2367c01 | [
"MIT"
] | null | null | null | Modules/Main/AppBuilderDelegate.swift | uypoko/CleanBuddyCoffee | 34593a43b54a9b2ef6fa281a4909a7fbc2367c01 | [
"MIT"
] | 1 | 2019-09-02T09:33:20.000Z | 2019-09-02T09:33:20.000Z | //
// AppBuilderDelegate.swift
// CleanBuddyCoffee
//
// Created by Ryan on 8/26/19.
// Copyright © 2019 Daylighter. All rights reserved.
//
import UIKit
protocol AppBuilderDelegate {
func configureDrinkDetailModule(drinkId: String) -> UIViewController
func configureEnterDeliveryAddressModule() -> UIViewC... | 24.625 | 72 | 0.761421 |
b1e08fcbfbd1cc925f8bb137361675c3851a2c29 | 9,246 | c | C | src/cairo--structs.c | coolbutuseless/cairocore | 5bf9f2f170f3c7ee81e0b5c709946745950115d4 | [
"MIT"
] | 11 | 2020-08-17T10:06:04.000Z | 2021-11-15T11:22:45.000Z | src/cairo--structs.c | coolbutuseless/cairocore | 5bf9f2f170f3c7ee81e0b5c709946745950115d4 | [
"MIT"
] | null | null | null | src/cairo--structs.c | coolbutuseless/cairocore | 5bf9f2f170f3c7ee81e0b5c709946745950115d4 | [
"MIT"
] | 1 | 2020-08-24T01:17:19.000Z | 2020-08-24T01:17:19.000Z |
#include <R.h>
#include <Rinternals.h>
#include <Rdefines.h>
#include <cairo/cairo.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "aaa.h"
#include "R-finalizers.h"
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Create a point to a cairo_text_extents_t str... | 36.545455 | 101 | 0.59377 |
8562b5f9add260b56a9899e4ccaa1509b2331587 | 1,291 | js | JavaScript | src/components/CircleLogo.js | hajadelmas/studio-haja-agency | 7e9950f9c4d1bd040288b9b6d9308e79676d295f | [
"RSA-MD"
] | null | null | null | src/components/CircleLogo.js | hajadelmas/studio-haja-agency | 7e9950f9c4d1bd040288b9b6d9308e79676d295f | [
"RSA-MD"
] | null | null | null | src/components/CircleLogo.js | hajadelmas/studio-haja-agency | 7e9950f9c4d1bd040288b9b6d9308e79676d295f | [
"RSA-MD"
] | null | null | null | import React, { useEffect, useRef } from "react"
import CircleType from 'circletype'
import { gsap } from 'gsap'
import { ScrollTrigger } from 'gsap/ScrollTrigger'
import './CircleLogo.scss'
function CircleLogo() {
const circleInstance = useRef();
useEffect(() => {
new CircleType(circleInstance.... | 21.163934 | 112 | 0.503486 |
9c739ccc860e3e02841a850301d696f095acdedf | 195 | js | JavaScript | config/server.js | mattshax/interactive-react-md | 0d84a0c9f26d4b66e36aab5115e7e8dde94133e6 | [
"MIT",
"Unlicense"
] | 5 | 2017-06-12T17:51:43.000Z | 2019-02-20T14:18:15.000Z | config/server.js | mattshax/interactive-react-md | 0d84a0c9f26d4b66e36aab5115e7e8dde94133e6 | [
"MIT",
"Unlicense"
] | null | null | null | config/server.js | mattshax/interactive-react-md | 0d84a0c9f26d4b66e36aab5115e7e8dde94133e6 | [
"MIT",
"Unlicense"
] | null | null | null |
const config = {
apiPath: process.env.API_PATH || '/api/v1',
database: process.env.DATABASE_URI || 'postgres://matthewshaxted:postgres@localhost:5432/postgres',
};
module.exports = config;
| 24.375 | 101 | 0.723077 |
39fef573fea5138b95db9af28d48870a72c13e28 | 1,188 | java | Java | src/main/java/com/fuhu/java/iostream/ObjectOutputStreamDemo.java | hufuan/unit_test | 180002967bf57eec87c199c16ed32b6d6e99dbe7 | [
"MIT"
] | null | null | null | src/main/java/com/fuhu/java/iostream/ObjectOutputStreamDemo.java | hufuan/unit_test | 180002967bf57eec87c199c16ed32b6d6e99dbe7 | [
"MIT"
] | null | null | null | src/main/java/com/fuhu/java/iostream/ObjectOutputStreamDemo.java | hufuan/unit_test | 180002967bf57eec87c199c16ed32b6d6e99dbe7 | [
"MIT"
] | null | null | null | package com.fuhu.java.iostream;
import java.io.*;
import java.net.URL;
public class ObjectOutputStreamDemo {
public static void main(String[] args) {
String s = "hello world";
int i = 897648764;
String fileName = "test.txt";
try {
URL url = Thread.currentThre... | 33 | 86 | 0.549663 |
07657231d2a204641d8348b7a32823321b3a1d46 | 12,695 | swift | Swift | zhuishushenqi/TXTReader/Controllers/BookDetailViewController.swift | rrj51591753/zhuishushenqi | b9f68bedacea7b04890e01589d9c8ee99c0b00e0 | [
"MIT"
] | 2 | 2018-07-17T06:43:24.000Z | 2018-07-17T06:43:35.000Z | zhuishushenqi/TXTReader/Controllers/BookDetailViewController.swift | rrj51591753/zhuishushenqi | b9f68bedacea7b04890e01589d9c8ee99c0b00e0 | [
"MIT"
] | null | null | null | zhuishushenqi/TXTReader/Controllers/BookDetailViewController.swift | rrj51591753/zhuishushenqi | b9f68bedacea7b04890e01589d9c8ee99c0b00e0 | [
"MIT"
] | null | null | null | //
// BookDetailViewController.swift
// zhuishushenqi
//
// Created by Nory Cao on 16/10/4.
// Copyright © 2016年 QS. All rights reserved.
//
import UIKit
import QSNetwork
class BookDetailViewController: BaseViewController,UITableViewDataSource,UITableViewDelegate {
var id:String = ""
var tagColor = ... | 40.174051 | 242 | 0.583852 |
0c9682abb64f3ba26f9ba369881899db7f3b759b | 3,440 | py | Python | tests/test_py4gh.py | iCAN-PCM/py4gh | 192e62d531b5fd8c4c9a04a83c98bd63795578b8 | [
"Apache-2.0"
] | null | null | null | tests/test_py4gh.py | iCAN-PCM/py4gh | 192e62d531b5fd8c4c9a04a83c98bd63795578b8 | [
"Apache-2.0"
] | null | null | null | tests/test_py4gh.py | iCAN-PCM/py4gh | 192e62d531b5fd8c4c9a04a83c98bd63795578b8 | [
"Apache-2.0"
] | null | null | null | import subprocess
from pathlib import Path
import pytest
# from py4gh import __version__
from py4gh.utility import decrypt_files, encrypt_files, get_files
# def test_version():
# assert __version__ == "0.1.0"
@pytest.fixture(scope="session")
def keys(tmpdir_factory):
test_pub1 = tmpdir_factory.mktemp("data... | 31.559633 | 79 | 0.636047 |
3e52a3b5d45791f90f6d63c396a251d7c97ad225 | 1,434 | c | C | SD/TP1/mult_mat2/client.c | pallamidessi/Courses | ac5573cefc4c307c1a9f16a2c4e016a201dabece | [
"MIT"
] | null | null | null | SD/TP1/mult_mat2/client.c | pallamidessi/Courses | ac5573cefc4c307c1a9f16a2c4e016a201dabece | [
"MIT"
] | null | null | null | SD/TP1/mult_mat2/client.c | pallamidessi/Courses | ac5573cefc4c307c1a9f16a2c4e016a201dabece | [
"MIT"
] | null | null | null | #include "include.h"
int main (int argc, char **argv) {
char *host = argv[1];
enum clnt_stat stat;
matrix res;
int i,j;
char choix;
matrix_couple donnee;
srand(time(NULL));
for (i = 0; i < 2; i++) {
for (j = 0; j < 2; j++) {
donnee.a[i][j]=rand()%10;
donnee.b[i][j]=rand()%10;
}
... | 24.724138 | 62 | 0.516039 |