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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f4c3935d5c53f5dc38eedd44dcb2dfa28372811e | 5,245 | ts | TypeScript | workspaces/sengi-express/src/errors/requestErrors.ts | karlhulme/sen | 316070efe463a507afaa6d7f81dc9cfbe10a7167 | [
"MIT"
] | null | null | null | workspaces/sengi-express/src/errors/requestErrors.ts | karlhulme/sen | 316070efe463a507afaa6d7f81dc9cfbe10a7167 | [
"MIT"
] | 5 | 2021-06-27T08:43:59.000Z | 2021-06-27T08:52:33.000Z | workspaces/sengi-express/src/errors/requestErrors.ts | karlhulme/sengi | 316070efe463a507afaa6d7f81dc9cfbe10a7167 | [
"MIT"
] | null | null | null | export class SengiExpressError extends Error {
constructor (message: string) {
super(message)
Object.setPrototypeOf(this, new.target.prototype)
this.name = this.constructor.name
}
}
export class SengiExpressRequestError extends SengiExpressError {
constructor (message: string) {
super(message)
... | 38.284672 | 143 | 0.768351 |
38f5aa463225ecc42e32c48139ad85a98140e9ee | 705 | ps1 | PowerShell | build/scripts/setmanifestpaths.ps1 | skynode/roslyn | a3fc4fe5d1222f9554ca3bdaaed87c6439cfa3de | [
"Apache-2.0"
] | null | null | null | build/scripts/setmanifestpaths.ps1 | skynode/roslyn | a3fc4fe5d1222f9554ca3bdaaed87c6439cfa3de | [
"Apache-2.0"
] | null | null | null | build/scripts/setmanifestpaths.ps1 | skynode/roslyn | a3fc4fe5d1222f9554ca3bdaaed87c6439cfa3de | [
"Apache-2.0"
] | 1 | 2018-12-06T04:17:27.000Z | 2018-12-06T04:17:27.000Z | # Take care to return nothing if we don't yet have any vsman files
# as will occur at the start of the build.
# This will allow us to set it after the build when called again.
$vsmanpath = "Binaries/VSSetup/$Env:BuildConfiguration/Insertion"
if (Test-Path $vsmanpath) {
$SetupManifests = [string]::Join(',', (Get-Ch... | 47 | 119 | 0.744681 |
0ce350327410bd52386dc4f52ad7e13532c7b32f | 1,626 | swift | Swift | happyshop/Classes/Common/ShopStorage.swift | pushm0v/HappyShopiOS | 1752d6c33fc519eb79febab07f5eec97a28288b8 | [
"MIT"
] | null | null | null | happyshop/Classes/Common/ShopStorage.swift | pushm0v/HappyShopiOS | 1752d6c33fc519eb79febab07f5eec97a28288b8 | [
"MIT"
] | null | null | null | happyshop/Classes/Common/ShopStorage.swift | pushm0v/HappyShopiOS | 1752d6c33fc519eb79febab07f5eec97a28288b8 | [
"MIT"
] | null | null | null | //
// ShopStorage.swift
// happyshop
//
// Created by Bherly Novrandy on 3/3/17.
// Copyright © 2017 Bherly Novrandy. All rights reserved.
//
import Foundation
import FirebaseStorage
import UIKit
protocol IShopStorage: class {
var firebaseStorageRef: FIRStorageReference { get }
var delegate: IShopStorageD... | 32.52 | 115 | 0.682042 |
795b893e82ef67bccecdccd9ddd3cde130418e5c | 2,295 | php | PHP | PokemonMarketplace/app/views/includes/navbar.php | KrikorAstour/eCommerce22 | ffaa9945c3c1f9c01f41ae4827b5df4c65cc3aa4 | [
"MIT"
] | 1 | 2022-02-13T20:13:35.000Z | 2022-02-13T20:13:35.000Z | PokemonMarketplace/app/views/includes/navbar.php | KrikorAstour/eCommerce22 | ffaa9945c3c1f9c01f41ae4827b5df4c65cc3aa4 | [
"MIT"
] | null | null | null | PokemonMarketplace/app/views/includes/navbar.php | KrikorAstour/eCommerce22 | ffaa9945c3c1f9c01f41ae4827b5df4c65cc3aa4 | [
"MIT"
] | null | null | null |
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-5">
<div class="container">
<a class="navbar-brand" href="<?= URLROOT ?>">PokeMarket</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expan... | 49.891304 | 208 | 0.59695 |
8ea1c16ade22bae4e418199a2ed19b19adfc60bd | 112 | js | JavaScript | testrandom/aoo.js | Qasem-moh/LSInJS | 7ec17285efef291eb0b843cfa394b74ed0e4e15f | [
"MIT"
] | null | null | null | testrandom/aoo.js | Qasem-moh/LSInJS | 7ec17285efef291eb0b843cfa394b74ed0e4e15f | [
"MIT"
] | null | null | null | testrandom/aoo.js | Qasem-moh/LSInJS | 7ec17285efef291eb0b843cfa394b74ed0e4e15f | [
"MIT"
] | null | null | null | 'use strict'
async function matRan(num) {
return console.log(Math.floor(Math.random() * num));
}
matRan(100); | 18.666667 | 54 | 0.696429 |
22bdf1f157195a0af6c1fa2e12a54f4b6529e236 | 1,497 | lua | Lua | travel/travel.lua | dennisjenkins75/pandorabox_custom | 98bddc836483ab6fa42e397859aa1e2771366a39 | [
"MIT"
] | null | null | null | travel/travel.lua | dennisjenkins75/pandorabox_custom | 98bddc836483ab6fa42e397859aa1e2771366a39 | [
"MIT"
] | null | null | null | travel/travel.lua | dennisjenkins75/pandorabox_custom | 98bddc836483ab6fa42e397859aa1e2771366a39 | [
"MIT"
] | null | null | null | -- current world height limit
local max_height = 18000
-- generic travel check
-- returns (success, error_message)
pandorabox.can_travel = function(player, pos)
-- world height limit
if pos.y > max_height then
return false, "The area above " .. max_height .. " is reserved for future use, sorry..."
end
-- moon... | 28.245283 | 103 | 0.728123 |
d9e08927a5ef81eedc0f1a19d4d9d62b0814df6a | 1,714 | sql | SQL | postgres/postgresql-8.3.9/contrib/hstore/uninstall_hstore.sql | KMU-embedded/mosbench-ext | 721d789576cd7fdd8a90b3833a67d4cf3de46036 | [
"MIT"
] | 3 | 2017-12-10T16:41:21.000Z | 2020-07-08T12:59:12.000Z | postgres/postgresql-8.3.9/contrib/hstore/uninstall_hstore.sql | KMU-embedded/mosbench-ext | 721d789576cd7fdd8a90b3833a67d4cf3de46036 | [
"MIT"
] | null | null | null | postgres/postgresql-8.3.9/contrib/hstore/uninstall_hstore.sql | KMU-embedded/mosbench-ext | 721d789576cd7fdd8a90b3833a67d4cf3de46036 | [
"MIT"
] | 4 | 2017-12-10T16:41:35.000Z | 2020-11-28T12:20:30.000Z | /* $PostgreSQL: pgsql/contrib/hstore/uninstall_hstore.sql,v 1.6 2007/11/13 04:24:28 momjian Exp $ */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR CLASS gist_hstore_ops USING gist CASCADE;
DROP OPERATOR CLASS gin_hstore_ops USING gin CASCADE;
DROP OPERATOR ?... | 36.468085 | 100 | 0.792882 |
c3cc24e2f3f6d3853e41e29943b8f68b8a2e763f | 292 | cs | C# | MinecraftRegion.Business/Models/ChunkSector.cs | mhollebecq/MinecraftRegion.net | 5aedfdf2f2c78237a1970176e73f5c58d1204804 | [
"MIT"
] | 1 | 2019-01-16T08:42:00.000Z | 2019-01-16T08:42:00.000Z | MinecraftRegion.Business/Models/ChunkSector.cs | mhollebecq/MinecraftRegion.net | 5aedfdf2f2c78237a1970176e73f5c58d1204804 | [
"MIT"
] | null | null | null | MinecraftRegion.Business/Models/ChunkSector.cs | mhollebecq/MinecraftRegion.net | 5aedfdf2f2c78237a1970176e73f5c58d1204804 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MinecraftRegion.Business.Models
{
public class ChunkSector
{
public int DataVersion { get; set; }
public Level Level { get; set; }
}
}
| 18.25 | 44 | 0.695205 |
587c4695d3319f7ca0838e2ab3bc53f9cce3e965 | 626 | css | CSS | assets/css/style.css | manukutty74/TriviaGame | 2f3ea30b3f47eff264542cac9e00237fbd6f6dc9 | [
"MIT"
] | null | null | null | assets/css/style.css | manukutty74/TriviaGame | 2f3ea30b3f47eff264542cac9e00237fbd6f6dc9 | [
"MIT"
] | null | null | null | assets/css/style.css | manukutty74/TriviaGame | 2f3ea30b3f47eff264542cac9e00237fbd6f6dc9 | [
"MIT"
] | 1 | 2019-07-19T19:27:51.000Z | 2019-07-19T19:27:51.000Z | body{
background: url('../images/cloudBG.jpeg');
background-repeat:no-repeat;
font-family: 'Raleway', sans-serif;
font-size: 25px;
}
header{
margin-bottom: 20px;
}
.btn-primary,.reset{
background-color: #313477;
color: white;
font-family: 'Sigmar One', sans-serif;
font-size: 30px;
padding: 20px;
margin-... | 14.227273 | 43 | 0.683706 |
21910c92f82ad76f929fe86a3f89b0579b54a279 | 3,259 | js | JavaScript | src/components/Footer.js | mattyc246/datocms-Cerulean-Diamond | f0edaa943f7723d2439f02f7dc53fe3b8bf75a6f | [
"MIT"
] | null | null | null | src/components/Footer.js | mattyc246/datocms-Cerulean-Diamond | f0edaa943f7723d2439f02f7dc53fe3b8bf75a6f | [
"MIT"
] | null | null | null | src/components/Footer.js | mattyc246/datocms-Cerulean-Diamond | f0edaa943f7723d2439f02f7dc53fe3b8bf75a6f | [
"MIT"
] | null | null | null | import React from 'react'
import styled from 'styled-components'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faCaretSquareUp } from '@fortawesome/free-regular-svg-icons'
import { faFacebook, faInstagram } from '@fortawesome/free-brands-svg-icons'
import { useStaticQuery, graphql, Link } fr... | 24.689394 | 76 | 0.506597 |
d3cce82284af90e799e82751a431a89b68a82b00 | 553 | swift | Swift | Sources/TensorBoxifyUI/AppDelegate.swift | dhushon/TensorBoxify | fdacc1e254c80f79f41920da92586ce0757918e7 | [
"Apache-2.0"
] | null | null | null | Sources/TensorBoxifyUI/AppDelegate.swift | dhushon/TensorBoxify | fdacc1e254c80f79f41920da92586ce0757918e7 | [
"Apache-2.0"
] | null | null | null | Sources/TensorBoxifyUI/AppDelegate.swift | dhushon/TensorBoxify | fdacc1e254c80f79f41920da92586ce0757918e7 | [
"Apache-2.0"
] | null | null | null | //
// AppDelegate.swift
// MetaMerge
//
// Created by Dan Hushon on 9/6/17.
// Copyright © 2017 Dan Hushon. All rights reserved.
//
#if os(OSX)
import Cocoa
#elseif os(iOS)
import UIKit
#endif
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
func applicationDidFinishLaunching(_ ... | 19.75 | 71 | 0.701627 |
f73e69d4c893458845403faf4eb7169ce8645e06 | 1,403 | rb | Ruby | spec/support/matchers/delayed_job_matchers.rb | s030827/peoplefinder | 3bd2516a069044e121e34fd9d48d40a41c5e020b | [
"MIT"
] | null | null | null | spec/support/matchers/delayed_job_matchers.rb | s030827/peoplefinder | 3bd2516a069044e121e34fd9d48d40a41c5e020b | [
"MIT"
] | 1 | 2021-09-28T05:46:12.000Z | 2021-09-28T05:46:12.000Z | spec/support/matchers/delayed_job_matchers.rb | s030827/peoplefinder | 3bd2516a069044e121e34fd9d48d40a41c5e020b | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require 'rspec/expectations'
module DelayedJobHelper
RSpec::Matchers.define :delay_method do |expected|
def supports_block_expectations?
true
end
match do |proc|
Delayed::Worker.new.work_off
proc.call
job = Delayed::Job.last
@actual = job.payl... | 26.980769 | 109 | 0.669993 |
e243cfd94e6e6534fb7283752c0cffc484097d90 | 339 | js | JavaScript | src/components/AboutCard.js | Alvarg27/grupo-farma | 1253ba451ec72984aa5bdd44c24fb27d720e027e | [
"RSA-MD"
] | null | null | null | src/components/AboutCard.js | Alvarg27/grupo-farma | 1253ba451ec72984aa5bdd44c24fb27d720e027e | [
"RSA-MD"
] | null | null | null | src/components/AboutCard.js | Alvarg27/grupo-farma | 1253ba451ec72984aa5bdd44c24fb27d720e027e | [
"RSA-MD"
] | null | null | null | import React from "react";
import "../style.css";
export default function AboutCard(props) {
return (
<div className="card-container">
<div className="about-card">
<img src={props.img} loading="lazy" alt="about-image" />
<h3>{props.title}</h3>
<p>{props.description}</p>
</div>... | 22.6 | 64 | 0.581121 |
34a9269115f3aa314c513ca3b5bb2e9376b50200 | 17,726 | rs | Rust | plumber_core/src/vmf/types.rs | lasa01/plumber_core | 056b42a7f0b29793407153cf8b52c6a0ca2e6076 | [
"Apache-2.0",
"MIT"
] | 4 | 2022-02-06T22:01:00.000Z | 2022-02-12T14:03:47.000Z | plumber_core/src/vmf/types.rs | lasa01/plumber_core | 056b42a7f0b29793407153cf8b52c6a0ca2e6076 | [
"Apache-2.0",
"MIT"
] | null | null | null | plumber_core/src/vmf/types.rs | lasa01/plumber_core | 056b42a7f0b29793407153cf8b52c6a0ca2e6076 | [
"Apache-2.0",
"MIT"
] | null | null | null | #![allow(clippy::wildcard_imports)]
use crate::parsers::{bracketed, parenthesed, space_separated};
use std::fmt::{self, Display};
use glam::{Vec2, Vec3};
use nom::sequence::tuple;
use rgb::RGB8;
use serde::{
de::{self, Visitor},
Deserialize, Deserializer, Serialize, Serializer,
};
pub mod color {
use su... | 31.881295 | 98 | 0.447873 |
cfad8b0bc435329691b00b8519b6744026b6936d | 1,058 | swift | Swift | beginning-ios-alien-adventure-alien-adventure-2/Alien Adventure/RarityOfItems.swift | alirsamar/BiOS | d7980f6570cfb61b7711af3a4331d8b55bb0d9f5 | [
"MIT"
] | null | null | null | beginning-ios-alien-adventure-alien-adventure-2/Alien Adventure/RarityOfItems.swift | alirsamar/BiOS | d7980f6570cfb61b7711af3a4331d8b55bb0d9f5 | [
"MIT"
] | null | null | null | beginning-ios-alien-adventure-alien-adventure-2/Alien Adventure/RarityOfItems.swift | alirsamar/BiOS | d7980f6570cfb61b7711af3a4331d8b55bb0d9f5 | [
"MIT"
] | null | null | null | //
// RarityOfItems.swift
// Alien Adventure
//
// Created by Jarrod Parkes on 10/4/15.
// Copyright © 2015 Udacity. All rights reserved.
//
extension Hero {
func rarityOfItems(inventory: [UDItem]) -> [UDItemRarity:Int] {
var rarityCount = [UDItemRarity.Common: 0, .Uncommon: 0, .Rare: 0, .Legendar... | 36.482759 | 235 | 0.60397 |
79a44951fc4e573dbcd79c6568c756f5f34c6398 | 394 | php | PHP | application/admin/validate/User.php | rauwang/m_blog | 78b440ba61677a207a4ae93645523527c384043e | [
"Apache-2.0"
] | null | null | null | application/admin/validate/User.php | rauwang/m_blog | 78b440ba61677a207a4ae93645523527c384043e | [
"Apache-2.0"
] | null | null | null | application/admin/validate/User.php | rauwang/m_blog | 78b440ba61677a207a4ae93645523527c384043e | [
"Apache-2.0"
] | null | null | null | <?php
namespace app\admin\validate;
use think\Validate;
class User extends Validate
{
/**
* 定义验证规则
* 格式:'字段名' => ['规则1','规则2'...]
*
* @var array
*/
protected $rule = [
'username|用户名' => 'require|min:5',
'password|密码' => 'require|min:5',
];
public function scen... | 15.76 | 53 | 0.515228 |
4b54cf8b15adccd3e061e56992b047716e6b0ae3 | 1,153 | swift | Swift | ShortcutsSwift.playgroundbook/Contents/Sources/InterpolatedText.swift | mohsinalimat/shortcuts-swift | af8413edeb270943a85a3ea3690fab8880d440f9 | [
"MIT"
] | 1 | 2018-12-26T06:19:22.000Z | 2018-12-26T06:19:22.000Z | ShortcutsSwift.playgroundbook/Contents/Sources/InterpolatedText.swift | mohsinalimat/shortcuts-swift | af8413edeb270943a85a3ea3690fab8880d440f9 | [
"MIT"
] | null | null | null | ShortcutsSwift.playgroundbook/Contents/Sources/InterpolatedText.swift | mohsinalimat/shortcuts-swift | af8413edeb270943a85a3ea3690fab8880d440f9 | [
"MIT"
] | null | null | null | import Foundation
func withInterpolatedText(_ string: String) -> Any {
var result = string
var attachments = [String: Any]()
let objectReplacementCharacter = "\u{fffc}"
let replacementCharacter = "\u{fffd}"
var rangeStart = result.startIndex
while let orcRange = result.range(of: objectReplace... | 33.911765 | 113 | 0.656548 |
1a92756df2d0ad4c90fc6eb076cff6a6788db682 | 1,288 | py | Python | src/python/backends/py/runtime/currylib/prelude/math.py | andyjost/Sprite | 7ecd6fc7d48d7f62da644e48c12c7b882e1a2929 | [
"MIT"
] | 1 | 2022-03-16T16:37:11.000Z | 2022-03-16T16:37:11.000Z | src/python/backends/py/runtime/currylib/prelude/math.py | andyjost/Sprite | 7ecd6fc7d48d7f62da644e48c12c7b882e1a2929 | [
"MIT"
] | null | null | null | src/python/backends/py/runtime/currylib/prelude/math.py | andyjost/Sprite | 7ecd6fc7d48d7f62da644e48c12c7b882e1a2929 | [
"MIT"
] | null | null | null | from ...... import inspect
from six.moves import range
import operator as op
__all__ = [
'apply_unboxed', 'modInt', 'prim_divFloat', 'prim_minusFloat'
, 'prim_roundFloat', 'quotInt', 'remInt'
]
def apply_unboxed(rts, unboxedfunc, _0):
'''Apply an unboxed function to the successors of _0 and box the result.'... | 24.769231 | 77 | 0.656832 |
b8b4cebde3a050876733ce2c8f13ef6377fe3e47 | 5,112 | c | C | cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/WLAN-Identifiers-r12.c | davidraditya/OAI-Powder | a082c3e8af06cd7583c003a69ec517eb73d175b3 | [
"Apache-2.0"
] | null | null | null | cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/WLAN-Identifiers-r12.c | davidraditya/OAI-Powder | a082c3e8af06cd7583c003a69ec517eb73d175b3 | [
"Apache-2.0"
] | null | null | null | cmake_targets/lte_build_oai/build/CMakeFiles/Rel14/WLAN-Identifiers-r12.c | davidraditya/OAI-Powder | a082c3e8af06cd7583c003a69ec517eb73d175b3 | [
"Apache-2.0"
] | null | null | null | /*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "fixed_grammar.asn"
* `asn1c -gen-PER`
*/
#include "WLAN-Identifiers-r12.h"
static int
memb_ssid_r12_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailc... | 28.558659 | 77 | 0.698357 |
570d26383fdf6084bce61e293387ccf7ae9d6431 | 899 | js | JavaScript | server.js | tr8b5/Club-Social | c7aa50ee0326e79252adc930e6e80a4fee09862e | [
"Unlicense"
] | null | null | null | server.js | tr8b5/Club-Social | c7aa50ee0326e79252adc930e6e80a4fee09862e | [
"Unlicense"
] | null | null | null | server.js | tr8b5/Club-Social | c7aa50ee0326e79252adc930e6e80a4fee09862e | [
"Unlicense"
] | 3 | 2021-02-03T16:46:14.000Z | 2021-02-04T13:46:44.000Z |
//Require express
const express = require("express");
const handlebars = require("handlebars");
const {
allowInsecurePrototypeAccess,
} = require("@handlebars/allow-prototype-access");
//Create an instance of express
const app = express();
//Create a PORT
const PORT = process.env.PORT || 8080;
//Require models
co... | 23.051282 | 61 | 0.696329 |
25a590dd055a5e96ef109161e3f7626515dcce39 | 3,661 | js | JavaScript | package_scraper/package_scraper.js | Mercotui/qt-installer-package-lister | 40f2ed837b679e6c846aaf06de949a88b48b8403 | [
"MIT"
] | null | null | null | package_scraper/package_scraper.js | Mercotui/qt-installer-package-lister | 40f2ed837b679e6c846aaf06de949a88b48b8403 | [
"MIT"
] | 3 | 2019-12-06T16:46:55.000Z | 2019-12-06T22:46:29.000Z | package_scraper/package_scraper.js | Mercotui/qt-installer-package-lister | 40f2ed837b679e6c846aaf06de949a88b48b8403 | [
"MIT"
] | null | null | null | const util = require('util');
const fs = require('fs');
const child_process = require('child_process');
const axios = require('axios');
const readline = require('readline');
const DATAKEY = 'MercotuisComponentList'
const installer_base_url = 'http://download.qt.io/official_releases/online_installers/';
const installer... | 31.025424 | 140 | 0.671128 |
932fab6ea5facd219bc320e7a7961f769fff0f4c | 2,446 | rs | Rust | xpc-sys/src/objects/xpc_shmem.rs | mach-kernel/launchk | ef9b8708696c1affd9510fe333e1a4fa597947e8 | [
"MIT"
] | 40 | 2021-03-01T14:40:55.000Z | 2022-03-26T16:36:42.000Z | xpc-sys/src/objects/xpc_shmem.rs | mach-kernel/launchk | ef9b8708696c1affd9510fe333e1a4fa597947e8 | [
"MIT"
] | 7 | 2021-03-01T15:06:58.000Z | 2021-10-06T03:18:32.000Z | xpc-sys/src/objects/xpc_shmem.rs | mach-kernel/launchk | ef9b8708696c1affd9510fe333e1a4fa597947e8 | [
"MIT"
] | 1 | 2021-03-08T11:52:40.000Z | 2021-03-08T11:52:40.000Z | use crate::objects::xpc_error::XPCError;
use crate::objects::xpc_object::XPCObject;
use crate::{
mach_port_t, mach_task_self_, rs_strerror, vm_address_t, vm_allocate, vm_deallocate, vm_size_t,
xpc_shmem_create,
};
use std::ffi::c_void;
use std::os::raw::c_int;
use std::ptr::null_mut;
use std::sync::Arc;
/// Wr... | 27.795455 | 99 | 0.546198 |
347b9542f048246b0032f44a98b22859a9873b80 | 2,714 | swift | Swift | SwiftToolkitTests/Extensions/CALayerTests.swift | avery-pierce/SwiftToolkit | 038f9b17bf2006ab4d0c797e13a9debc0a6fb82f | [
"MIT"
] | null | null | null | SwiftToolkitTests/Extensions/CALayerTests.swift | avery-pierce/SwiftToolkit | 038f9b17bf2006ab4d0c797e13a9debc0a6fb82f | [
"MIT"
] | null | null | null | SwiftToolkitTests/Extensions/CALayerTests.swift | avery-pierce/SwiftToolkit | 038f9b17bf2006ab4d0c797e13a9debc0a6fb82f | [
"MIT"
] | null | null | null | //
// CALayerTests.swift
// SwiftToolkitTests
//
// Created by Avery Pierce on 12/18/18.
// Copyright © 2018 Avery Pierce. All rights reserved.
//
import XCTest
@testable import SwiftToolkit
class CALayerTests: XCTestCase {
var layer: CALayer!
override func setUp() {
let view = UIView()
... | 28.568421 | 75 | 0.626013 |
c3c3994fc86fdddf557bf0f46b24313c17c3cb8f | 915 | cs | C# | Models/Models.Dynamic/ReversibleConstant.cs | NMFCode/NMF | 91de1ee87c1def37e7d013b1d2e62f6dcb6aa83d | [
"BSD-3-Clause"
] | 35 | 2015-10-16T12:10:01.000Z | 2022-03-07T12:25:27.000Z | Models/Models.Dynamic/ReversibleConstant.cs | NMFCode/NMF | 91de1ee87c1def37e7d013b1d2e62f6dcb6aa83d | [
"BSD-3-Clause"
] | 45 | 2016-02-03T17:13:32.000Z | 2022-01-27T17:52:31.000Z | Models/Models.Dynamic/ReversibleConstant.cs | NMFCode/NMF | 91de1ee87c1def37e7d013b1d2e62f6dcb6aa83d | [
"BSD-3-Clause"
] | 20 | 2016-02-03T16:02:27.000Z | 2021-12-12T21:21:05.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NMF.Expressions;
namespace NMF.Models.Dynamic
{
internal class ReversibleConstant<T> : NotifyExpression<T>, INotifyReversableExpression<T>
{
public ReversibleConstant(T value) : base(value)
{
}
... | 26.911765 | 152 | 0.665574 |
be164a1e3a8592327b3815f1addadadfdfce5981 | 761 | ts | TypeScript | src/app/chat/conversation/input-bar/input-bar.component.ts | kullo/chat-web | 7039c317292d6beabd33f09fba2a84bad78e60d2 | [
"BSD-3-Clause"
] | null | null | null | src/app/chat/conversation/input-bar/input-bar.component.ts | kullo/chat-web | 7039c317292d6beabd33f09fba2a84bad78e60d2 | [
"BSD-3-Clause"
] | null | null | null | src/app/chat/conversation/input-bar/input-bar.component.ts | kullo/chat-web | 7039c317292d6beabd33f09fba2a84bad78e60d2 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2017–2018 Kullo GmbH
*
* This source code is licensed under the 3-clause BSD license. See LICENSE.txt
* in the root directory of this source tree for details.
*/
import { Component, EventEmitter, OnInit, Output } from '@angular/core';
@Component({
selector: 'app-input-bar',
templateUrl: './inpu... | 23.78125 | 79 | 0.684625 |
dd5f3620ab42ccc1507f810684d728127fff4165 | 14,792 | java | Java | aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/AbstractAmazonEKSAsync.java | rbalamohan/aws-sdk-java | 82799b422d209879e56ca861efb0380a7961d532 | [
"Apache-2.0"
] | 1 | 2021-02-12T03:35:28.000Z | 2021-02-12T03:35:28.000Z | aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/AbstractAmazonEKSAsync.java | rbalamohan/aws-sdk-java | 82799b422d209879e56ca861efb0380a7961d532 | [
"Apache-2.0"
] | null | null | null | aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/AbstractAmazonEKSAsync.java | rbalamohan/aws-sdk-java | 82799b422d209879e56ca861efb0380a7961d532 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | 38.824147 | 137 | 0.771836 |
0dade68f5cba80851f22f02a3555f8ed12da1ba2 | 868 | cs | C# | .NETCore/ASP.NETCore/v5.0/AutoLot50/AutoLot.Web/TagHelpers/ItemDetailsTagHelper.cs | djoshi001Personal/presentations | da2198aaef595e5fa44bf71263fc418d833a4a12 | [
"BSD-3-Clause",
"MIT"
] | 349 | 2017-01-17T19:58:13.000Z | 2022-03-28T15:28:45.000Z | .NETCore/ASP.NETCore/v5.0/AutoLot50/AutoLot.Web/TagHelpers/ItemDetailsTagHelper.cs | MalikWaseemJaved/presentations | 49c5229e9cd8b117d226fac6b2ddb8d4e3711eef | [
"BSD-3-Clause",
"MIT"
] | 6 | 2017-04-13T09:02:16.000Z | 2020-05-01T12:53:27.000Z | .NETCore/ASP.NETCore/v5.0/AutoLot50/AutoLot.Web/TagHelpers/ItemDetailsTagHelper.cs | MalikWaseemJaved/presentations | 49c5229e9cd8b117d226fac6b2ddb8d4e3711eef | [
"BSD-3-Clause",
"MIT"
] | 278 | 2017-03-27T22:43:55.000Z | 2022-03-21T21:36:54.000Z | // Copyright Information
// ==================================
// AutoLot - AutoLot.Web - ItemDetailsTagHelper.cs
// All samples copyright Philip Japikse
// http://www.skimedic.com 2020/12/13
// ==================================
using AutoLot.Web.TagHelpers.Base;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using ... | 34.72 | 112 | 0.680876 |
01d725fb31097836b98bd8e97d0c517bc2ab9532 | 504 | c | C | C/signal/sigtest.c | jiaoqiyuan/Tests | a3595b0e4b430d910f90e428d6b6b4465f67a059 | [
"Apache-2.0"
] | null | null | null | C/signal/sigtest.c | jiaoqiyuan/Tests | a3595b0e4b430d910f90e428d6b6b4465f67a059 | [
"Apache-2.0"
] | null | null | null | C/signal/sigtest.c | jiaoqiyuan/Tests | a3595b0e4b430d910f90e428d6b6b4465f67a059 | [
"Apache-2.0"
] | null | null | null | #include "apue.h"
static void sig_usr(int);
int main(void) {
if (signal(SIGUSR1, sig_usr) == SIG_ERR)
printf("can't catch SIGUSR1");
if (signal(SIGUSR2, sig_usr) == SIG_ERR)
printf("can't catch SIGUSR2");
for ( ; ;)
pause();
return 0;
}
static void sig_usr(int signo) {
if... | 22.909091 | 46 | 0.579365 |
319423c0d3e8c3f82381e9487fe3e6f07ae6f88d | 5,429 | swift | Swift | ESCore/Core/Views/Loader View/ESLoaderView.swift | EslamHanafy/ESCore | 92728b9e73ca36e64cbfb54696884a09b10adf45 | [
"MIT"
] | null | null | null | ESCore/Core/Views/Loader View/ESLoaderView.swift | EslamHanafy/ESCore | 92728b9e73ca36e64cbfb54696884a09b10adf45 | [
"MIT"
] | null | null | null | ESCore/Core/Views/Loader View/ESLoaderView.swift | EslamHanafy/ESCore | 92728b9e73ca36e64cbfb54696884a09b10adf45 | [
"MIT"
] | null | null | null | //
// ESLoaderView.swift
// EslamCore
//
// Created by Eslam on 11/14/16.
// Copyright © 2016 Eslam. All rights reserved.
//
import UIKit
import NVActivityIndicatorView
import Alamofire
import SDWebImage
typealias LoaderView = ESLoaderView
open class ESLoaderView: UIView {
public static let shared: ESLoaderV... | 28.129534 | 132 | 0.588506 |
e24d9f946b79be582b94d3191f42364fa4bdf6da | 479 | py | Python | 003BranchSums/branchSums.py | GitProfAn/100DaysOfAlgo | 966b2b45e46ddcace4d7e374eb0ab9a03f1787c0 | [
"MIT"
] | null | null | null | 003BranchSums/branchSums.py | GitProfAn/100DaysOfAlgo | 966b2b45e46ddcace4d7e374eb0ab9a03f1787c0 | [
"MIT"
] | null | null | null | 003BranchSums/branchSums.py | GitProfAn/100DaysOfAlgo | 966b2b45e46ddcace4d7e374eb0ab9a03f1787c0 | [
"MIT"
] | 1 | 2021-05-15T19:42:15.000Z | 2021-05-15T19:42:15.000Z | # Solution 1
# O(n) time / O(n) space
def branchSums(root):
sums = []
calculateBranchSums(root, 0, sums)
return sums
def calculateBranchSums(node, runningSum, sums):
if node is None:
return sums
newRunningSum = runningSum + node.value
if node.left is None and node.right is None:
... | 23.95 | 56 | 0.682672 |
351609689f7ca71d6760d89b1de68d1896066c3d | 1,855 | kt | Kotlin | app/src/main/java/com/sumera/sample/ui/waituntil/WaitUntilCoreactor.kt | SumeraMartin/coreactor | ce065d6a0a6573d63ca3262ef4dee11fb3c565af | [
"MIT"
] | 4 | 2019-10-07T06:21:21.000Z | 2019-11-11T07:56:00.000Z | app/src/main/java/com/sumera/sample/ui/waituntil/WaitUntilCoreactor.kt | SumeraMartin/Coreactor | ce065d6a0a6573d63ca3262ef4dee11fb3c565af | [
"MIT"
] | null | null | null | app/src/main/java/com/sumera/sample/ui/waituntil/WaitUntilCoreactor.kt | SumeraMartin/Coreactor | ce065d6a0a6573d63ca3262ef4dee11fb3c565af | [
"MIT"
] | null | null | null | package com.sumera.sample.ui.waituntil
import com.sumera.coreactor.Coreactor
import com.sumera.coreactor.contract.action.Action
import com.sumera.sample.ui.waituntil.contract.ConfirmAction
import com.sumera.sample.ui.waituntil.contract.EnableConfirmButtonsReducer
import com.sumera.sample.ui.waituntil.contract.EnableSe... | 36.372549 | 74 | 0.709434 |
8518dcff46a1c9e5316e62c85054db31cd52591f | 1,555 | cs | C# | Assets/Scripts/Contador.cs | PalaciosIgn/Unity-CS-0.1 | 90ea68ae4430a89d6300ef9943bbaf16c58650b6 | [
"MIT"
] | null | null | null | Assets/Scripts/Contador.cs | PalaciosIgn/Unity-CS-0.1 | 90ea68ae4430a89d6300ef9943bbaf16c58650b6 | [
"MIT"
] | null | null | null | Assets/Scripts/Contador.cs | PalaciosIgn/Unity-CS-0.1 | 90ea68ae4430a89d6300ef9943bbaf16c58650b6 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Contador : MonoBehaviour
{
[Tooltip("Tiempo iniciar en Segundos")]
public int tiempoinicial;
[Tooltip("Escala del Tiempo del Reloj")]
[Range(-10.0f, 10.0f)]
public float escalaDeTiempo ... | 28.796296 | 118 | 0.664952 |
1a8e27474bc3a28cfed5db70340810bed09007a6 | 1,795 | py | Python | script.py | clock21am/download_quotesandshare | c7614c2a28a32ece08bbf353bedf60d89bdd07ac | [
"Apache-2.0"
] | null | null | null | script.py | clock21am/download_quotesandshare | c7614c2a28a32ece08bbf353bedf60d89bdd07ac | [
"Apache-2.0"
] | null | null | null | script.py | clock21am/download_quotesandshare | c7614c2a28a32ece08bbf353bedf60d89bdd07ac | [
"Apache-2.0"
] | null | null | null | #!usr/bin/python
import tweepy
from bs4 import BeautifulSoup
from urllib2 import urlopen
import urllib
import os
import cv2
import signal
#key delecrations
consumer_key = ''
consumer_secret_key = ''
access_key = ''
access_key_secret = ''
url = 'http://www.wookmark.com'
path = '/home/bugeater/Documents/Jugnoo/downlo... | 21.369048 | 70 | 0.652368 |
5833bbfec467d5c2f42a5293ec0cf0f2d0f336b9 | 834 | css | CSS | static/css/space-mono.css | bgrnwd/cartographer | 162a4d675a36b2fa9b8b7870034dae20289e868d | [
"MIT"
] | null | null | null | static/css/space-mono.css | bgrnwd/cartographer | 162a4d675a36b2fa9b8b7870034dae20289e868d | [
"MIT"
] | null | null | null | static/css/space-mono.css | bgrnwd/cartographer | 162a4d675a36b2fa9b8b7870034dae20289e868d | [
"MIT"
] | null | null | null | @font-face {
font-family: 'Space Mono';
font-style: italic;
font-weight: 400;
src: local('Space Mono Italic'), local('SpaceMono-Italic'), url(/font/SpaceMono-Italic) format('truetype');
}
@font-face {
font-family: 'Space Mono';
font-style: italic;
font-weight: 700;
src: local('Space ... | 34.75 | 125 | 0.648681 |
1bc8cabbc8f88342c6982a3039efb4b3eb28ac7f | 1,430 | php | PHP | resources/views/dashboard/provider/list.blade.php | jostyftm/pos_system_api | 2fc3038f70a9fdc6fd3ff1f0bf05d541c418a1db | [
"MIT"
] | null | null | null | resources/views/dashboard/provider/list.blade.php | jostyftm/pos_system_api | 2fc3038f70a9fdc6fd3ff1f0bf05d541c418a1db | [
"MIT"
] | null | null | null | resources/views/dashboard/provider/list.blade.php | jostyftm/pos_system_api | 2fc3038f70a9fdc6fd3ff1f0bf05d541c418a1db | [
"MIT"
] | null | null | null | @extends('layouts.dashboard')
@section('title', 'Prooveedores')
@section('main')
<div>
<div class="d-flex my-3 justify-content-between">
<div></div>
<a href="{{route('providers.create')}}" class="btn btn-primary btn-sm">Nuevo proovedor</a>
</div>
@include('messages')
<div>
<tab... | 30.425532 | 98 | 0.344056 |
1a300feeb1489d80c5e1aa38555ac20a50c24d8e | 34 | py | Python | cdot/hgvs/dataproviders/__init__.py | SACGF/seedot | 1f525b163b3e2f15fc8437c4f71acc15b804cccb | [
"MIT"
] | 6 | 2022-02-03T06:38:11.000Z | 2022-02-22T08:46:56.000Z | cdot/hgvs/dataproviders/__init__.py | SACGF/seedot | 1f525b163b3e2f15fc8437c4f71acc15b804cccb | [
"MIT"
] | 8 | 2022-01-19T23:06:47.000Z | 2022-02-02T06:43:09.000Z | cdot/hgvs/dataproviders/__init__.py | SACGF/cdot | 1f525b163b3e2f15fc8437c4f71acc15b804cccb | [
"MIT"
] | null | null | null | from .json_data_provider import *
| 17 | 33 | 0.823529 |
2defb711e5cc59d2181a33c5448c40a804240138 | 55,580 | cpp | C++ | src/graphx_dx9.cpp | juce/taksi | 154ce405d5c51429d66c5e160891afa60dd23044 | [
"BSD-3-Clause"
] | 2 | 2020-10-23T02:42:18.000Z | 2021-12-08T14:01:46.000Z | src/graphx_dx9.cpp | juce/taksi | 154ce405d5c51429d66c5e160891afa60dd23044 | [
"BSD-3-Clause"
] | null | null | null | src/graphx_dx9.cpp | juce/taksi | 154ce405d5c51429d66c5e160891afa60dd23044 | [
"BSD-3-Clause"
] | null | null | null | #include <windows.h>
#include "d3d9types.h"
#include "d3d9.h"
#define _COMPILING_MYDLL
#include "mydll.h"
#include "config.h"
#include "log.h"
#include "dinp.h"
#include "shared.h"
#include "util.h"
#include "heap.h"
#include "graphx_dx9.h"
extern HINSTANCE hInst;
HMODULE hD3D9 = NULL;
extern HMODUL... | 31.277434 | 111 | 0.617722 |
a3449f4c0463b3312a4c660d2cbb7e257e2db4a7 | 6,911 | h | C | System/Library/Frameworks/ModelIO.framework/MDLCamera.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | 2 | 2021-04-15T10:50:21.000Z | 2021-08-19T19:00:09.000Z | System/Library/Frameworks/ModelIO.framework/MDLCamera.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | null | null | null | System/Library/Frameworks/ModelIO.framework/MDLCamera.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:23:12 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/Frameworks/ModelIO.framework... | 47.993056 | 183 | 0.746636 |
08a68ed8bc019cc95fbe565da575f741fde38fa1 | 744 | css | CSS | demo/iniziativa/css/style.css | obujor/PalMaS | 229e565072b4783bbe09b6a635219347f3be40e5 | [
"MIT"
] | 3 | 2016-11-21T21:10:42.000Z | 2022-01-22T16:25:44.000Z | demo/iniziativa/css/style.css | obujor/PalMaS | 229e565072b4783bbe09b6a635219347f3be40e5 | [
"MIT"
] | null | null | null | demo/iniziativa/css/style.css | obujor/PalMaS | 229e565072b4783bbe09b6a635219347f3be40e5 | [
"MIT"
] | null | null | null | body {
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.node {
cursor: pointer;
}
.node:hover {
stroke: #000;
stroke-width: 1.5px;
}
.node--leaf {
fill: white;
}
.label {
font: 11px "Helvetica Neue", Helvetica, Arial, sans-serif;
text-anchor: middle;
text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, -1... | 11.446154 | 72 | 0.630376 |
c448de0cde57393a668990a66beed745ce0007ac | 3,075 | cpp | C++ | ad_map_access/src/point/BoundingSphereOperation.cpp | woojinjjang/map-1 | d12bb410f03d078a995130b4e671746ace8b6287 | [
"MIT"
] | 61 | 2019-12-19T20:57:24.000Z | 2022-03-29T15:20:51.000Z | ad_map_access/src/point/BoundingSphereOperation.cpp | woojinjjang/map-1 | d12bb410f03d078a995130b4e671746ace8b6287 | [
"MIT"
] | 54 | 2020-04-05T05:32:47.000Z | 2022-03-15T18:42:33.000Z | ad_map_access/src/point/BoundingSphereOperation.cpp | woojinjjang/map-1 | d12bb410f03d078a995130b4e671746ace8b6287 | [
"MIT"
] | 31 | 2019-12-20T07:37:39.000Z | 2022-03-16T13:06:16.000Z | // ----------------- BEGIN LICENSE BLOCK ---------------------------------
//
// Copyright (C) 2018-2021 Intel Corporation
//
// SPDX-License-Identifier: MIT
//
// ----------------- END LICENSE BLOCK -----------------------------------
#include "ad/map/point/BoundingSphereOperation.hpp"
namespace ad {
namespace map {... | 28.211009 | 112 | 0.663415 |
90c1b5cb1b39f3407894878cf18b044293db1e85 | 4,228 | rs | Rust | src/system/system_logger.rs | kanishkarj/harsark.rs | 83187c10ff1fbc0542390db90a29cee2af3d498d | [
"MIT"
] | 10 | 2020-03-26T16:27:38.000Z | 2022-01-04T06:45:05.000Z | src/system/system_logger.rs | GourinathBanda/HarSaRK_RS_Multicore | f9cef0d8f7d73060977dcc42c59ab9929ae0f908 | [
"MIT"
] | 8 | 2019-11-26T10:47:04.000Z | 2019-11-26T10:48:31.000Z | src/system/system_logger.rs | GourinathBanda/HarSaRK_RS_Multicore | f9cef0d8f7d73060977dcc42c59ab9929ae0f908 | [
"MIT"
] | 6 | 2020-03-28T10:11:40.000Z | 2021-12-11T12:25:27.000Z | use crate::system::scheduler::{BooleanVector,TaskId};
use crate::config::MAX_LOGS;
use core::fmt;
#[cfg(any(feature = "events_32", feature = "events_16", feature = "events_64"))]
use crate::system::event::EventId;
pub type Logs = [Option<LogEvent>; MAX_LOGS];
#[derive(Clone, Copy)]
pub enum LogEventType {
Releas... | 33.824 | 105 | 0.611873 |
851e71f6f3fe33d4b87f21d61c156df0ad2393aa | 1,242 | cs | C# | Source/AccidentalFish.ApplicationSupport.Core/Configuration/IConfiguration.cs | JamesRandall/AccidentalFish.ApplicationSupport | a66cb1b6f863cfe0fba141325c5ce30dfacee45d | [
"MIT"
] | 11 | 2015-04-12T16:50:19.000Z | 2021-02-02T02:43:33.000Z | Source/AccidentalFish.ApplicationSupport.Core/Configuration/IConfiguration.cs | JamesRandall/AccidentalFish.ApplicationSupport | a66cb1b6f863cfe0fba141325c5ce30dfacee45d | [
"MIT"
] | 2 | 2015-08-04T12:19:00.000Z | 2015-09-07T07:21:47.000Z | Source/AccidentalFish.ApplicationSupport.Core/Configuration/IConfiguration.cs | JamesRandall/AccidentalFish.ApplicationSupport | a66cb1b6f863cfe0fba141325c5ce30dfacee45d | [
"MIT"
] | 7 | 2015-03-12T21:47:42.000Z | 2020-11-04T04:29:45.000Z | using System;
using System.Threading.Tasks;
namespace AccidentalFish.ApplicationSupport.Core.Configuration
{
/// <summary>
/// Interface for supplying global configuration information
/// </summary>
public interface IConfiguration
{
/// <summary>
/// Storage account connection stri... | 31.05 | 139 | 0.591787 |
9592a876dd59a4ae5d09293e50e38c85b10dd809 | 2,717 | dart | Dart | web/test_media_devices.dart | flutter-webrtc/dart-webrtc | d77e93eb097b3cd2b0f0155185fa0b4fcccd9a6c | [
"MIT"
] | 17 | 2020-10-28T15:43:24.000Z | 2022-01-10T01:01:32.000Z | web/test_media_devices.dart | flutter-webrtc/dart-webrtc | d77e93eb097b3cd2b0f0155185fa0b4fcccd9a6c | [
"MIT"
] | 6 | 2020-11-01T15:21:19.000Z | 2022-03-31T05:28:51.000Z | web/test_media_devices.dart | flutter-webrtc/dart-webrtc | d77e93eb097b3cd2b0f0155185fa0b4fcccd9a6c | [
"MIT"
] | 9 | 2020-11-15T23:24:48.000Z | 2022-03-31T15:21:55.000Z | import 'package:dart_webrtc/dart_webrtc.dart';
import 'package:dart_webrtc/src/media_devices.dart';
import 'package:test/test.dart';
MediaDevices mediaDevices;
void closeMediaStream(MediaStream stream) {
stream.getTracks().forEach((element) {
element.stop();
});
}
List<void Function()> testFunctions = <void ... | 35.285714 | 83 | 0.614649 |
a325ad9f1ee7d2cb3908825a7f386a52e0753812 | 24,371 | java | Java | src/main/java/edu/mit/spacenet/gui/demand/DemandsTab.java | ptgrogan/spacenet | 0a9523fb293eafa6f60b0c1a78bf4b4868b84da2 | [
"Apache-2.0"
] | 1 | 2022-03-07T19:54:14.000Z | 2022-03-07T19:54:14.000Z | src/main/java/edu/mit/spacenet/gui/demand/DemandsTab.java | ptgrogan/spacenet | 0a9523fb293eafa6f60b0c1a78bf4b4868b84da2 | [
"Apache-2.0"
] | null | null | null | src/main/java/edu/mit/spacenet/gui/demand/DemandsTab.java | ptgrogan/spacenet | 0a9523fb293eafa6f60b0c1a78bf4b4868b84da2 | [
"Apache-2.0"
] | 1 | 2018-08-21T17:07:37.000Z | 2018-08-21T17:07:37.000Z | /*
* Copyright 2010 MIT Strategic Engineering Research Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | 34.766049 | 124 | 0.722252 |
74cdd1c93ac6c6b23a53a36c61b4b4f5393f5298 | 272 | css | CSS | public/stylesheets/style_list.css | AldenisFranca/sistema-cadastro | 08a05e874e34c726278d17b45e1a903a22347765 | [
"MIT"
] | null | null | null | public/stylesheets/style_list.css | AldenisFranca/sistema-cadastro | 08a05e874e34c726278d17b45e1a903a22347765 | [
"MIT"
] | null | null | null | public/stylesheets/style_list.css | AldenisFranca/sistema-cadastro | 08a05e874e34c726278d17b45e1a903a22347765 | [
"MIT"
] | null | null | null | html, body{
margin: 0;
height: 100%;
background-image: url(../images/pc.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
}
.container{
height: 100%;
align-content: center;
} | 19.428571 | 44 | 0.665441 |
e6c5dd9092d7c4600c345373280b1ffaaf84d83e | 130 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/log2_fastcall.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/log2_fastcall.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/log2_fastcall.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
SECTION code_fp_math48
PUBLIC _log2_fastcall
EXTERN cm48_sdccix_log2_fastcall
defc _log2_fastcall = cm48_sdccix_log2_fastcall
| 14.444444 | 47 | 0.884615 |
0fe41504c8a3b4506d4e904b6f6d3deeebd3788c | 12,800 | go | Go | repo/blob/s3/s3_storage_test.go | kopia/kopia | 52837d12dd70169c5f831b83788e98e1b61da828 | [
"Apache-2.0"
] | 1,592 | 2016-08-18T18:24:30.000Z | 2022-03-31T23:04:17.000Z | repo/blob/s3/s3_storage_test.go | kopia/kopia | 52837d12dd70169c5f831b83788e98e1b61da828 | [
"Apache-2.0"
] | 1,315 | 2016-07-11T12:15:16.000Z | 2022-03-31T08:21:29.000Z | repo/blob/s3/s3_storage_test.go | kopia/kopia | 52837d12dd70169c5f831b83788e98e1b61da828 | [
"Apache-2.0"
] | 126 | 2016-11-30T14:29:30.000Z | 2022-03-26T15:42:13.000Z | package s3
import (
"context"
"encoding/json"
"errors"
"fmt"
"net/http"
"os"
"strings"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/sts"
"github.com/google/uuid"
"github.com/minio/... | 27.586207 | 162 | 0.707656 |
a3c5a3bab972bd7ac8dbb395d4a5582621a097cb | 4,974 | java | Java | mysql-binlog-reader-common/src/main/java/com/github/mysqlbinlogreader/SimpleMysqlBinlogClient.java | dwolgar/mysql-binlog-processor | 75b3ff13731522c09d904bac1f333e4a87cece1e | [
"Apache-2.0"
] | 2 | 2018-12-23T19:52:42.000Z | 2018-12-23T19:55:49.000Z | mysql-binlog-reader-common/src/main/java/com/github/mysqlbinlogreader/SimpleMysqlBinlogClient.java | dwolgar2git/mysql-binlog-processor | 75b3ff13731522c09d904bac1f333e4a87cece1e | [
"Apache-2.0"
] | null | null | null | mysql-binlog-reader-common/src/main/java/com/github/mysqlbinlogreader/SimpleMysqlBinlogClient.java | dwolgar2git/mysql-binlog-processor | 75b3ff13731522c09d904bac1f333e4a87cece1e | [
"Apache-2.0"
] | 1 | 2019-12-04T06:06:04.000Z | 2019-12-04T06:06:04.000Z | /*
*
* 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 writing, software
* distribut... | 39.792 | 103 | 0.645155 |
05f95e2af6de14575c5e2a61d09d1dce5b1a1e4d | 162 | py | Python | CSCI3104_Question1_O(n^2).py | shng5175/Random-Python-Stuff | 6b6687da9195a36244f7b22de7ba2984ce78995d | [
"bzip2-1.0.6"
] | null | null | null | CSCI3104_Question1_O(n^2).py | shng5175/Random-Python-Stuff | 6b6687da9195a36244f7b22de7ba2984ce78995d | [
"bzip2-1.0.6"
] | null | null | null | CSCI3104_Question1_O(n^2).py | shng5175/Random-Python-Stuff | 6b6687da9195a36244f7b22de7ba2984ce78995d | [
"bzip2-1.0.6"
] | null | null | null | a = [8, 10, 2, 5, 20, 1]
count = 0
for i in range(len(a)):
for j in range(i + 1, len(a)):
if (a[i] > a[j]):
count += 1
print count
| 20.25 | 35 | 0.425926 |
9421ec43cf812c25d16dbe1cda7c886ac9defae0 | 224 | sql | SQL | db/migrations/20210506044603_short_login_codes.sql | jackrr/bubble | 963e1227128fe16784fe15ec1ac6bb525bc15b63 | [
"MIT"
] | 1 | 2021-03-17T03:00:00.000Z | 2021-03-17T03:00:00.000Z | db/migrations/20210506044603_short_login_codes.sql | jackrr/bubble | 963e1227128fe16784fe15ec1ac6bb525bc15b63 | [
"MIT"
] | 28 | 2021-04-25T15:56:59.000Z | 2022-01-19T01:14:25.000Z | db/migrations/20210506044603_short_login_codes.sql | jackrr/bubble | 963e1227128fe16784fe15ec1ac6bb525bc15b63 | [
"MIT"
] | null | null | null | -- migrate:up
alter table login_codes add column short boolean;
alter table login_codes add column short_code TEXT;
-- migrate:down
alter table login_codes drop column short;
alter table login_codes drop column short_code;
| 28 | 51 | 0.816964 |
146c1075c7f061a4320587420694ff0215dc241f | 101 | ts | TypeScript | packages/react-component-library/src/components/CheckboxRadioBase/index.ts | defencedigital/defence-design-system | ad2fb36c647e6cc61addafc527d7cb68685ab59a | [
"Apache-2.0"
] | 16 | 2019-06-18T10:06:25.000Z | 2020-02-12T11:25:35.000Z | packages/react-component-library/src/components/CheckboxRadioBase/index.ts | defencedigital/mod-uk-design-system | f0abe3fa91b6971f6458c1ae50b843173772162e | [
"Apache-2.0"
] | 470 | 2021-09-30T15:08:26.000Z | 2022-03-30T14:31:20.000Z | packages/react-component-library/src/components/CheckboxRadioBase/index.ts | defencedigital/design-system | 9396d1a87207417b6bf1654adec0df34536668fa | [
"Apache-2.0"
] | 5 | 2021-11-02T12:41:43.000Z | 2022-03-29T13:01:55.000Z | export * from './CheckboxRadioBase'
export * from './CheckboxRadioBaseProps'
export * from './types'
| 25.25 | 40 | 0.732673 |
051a50a2fb6a56baa9c9652f22d3d4057818600c | 799 | rs | Rust | src/ui/utils.rs | yaguozhou/rmd | 868cc7a1333bc74d17aebb46d2cf518471f30956 | [
"MulanPSL-1.0"
] | null | null | null | src/ui/utils.rs | yaguozhou/rmd | 868cc7a1333bc74d17aebb46d2cf518471f30956 | [
"MulanPSL-1.0"
] | null | null | null | src/ui/utils.rs | yaguozhou/rmd | 868cc7a1333bc74d17aebb46d2cf518471f30956 | [
"MulanPSL-1.0"
] | null | null | null | /*
* Copyright (c) 2020 Yaguo Zhou
* rmd is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
* http://license.coscl.org.cn/MulanPSL2
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARR... | 33.291667 | 87 | 0.674593 |
7063ab64e4690b1a2e704deeb5bf08bc22da80f1 | 2,421 | cpp | C++ | day22/main.cpp | Kazhuu/advent-of-code-2020 | 6478c412788dfc6111477127b27957d4f5a8553d | [
"MIT"
] | 8 | 2020-12-01T18:02:52.000Z | 2021-11-30T10:44:26.000Z | day22/main.cpp | Kazhuu/advent-of-code-2020 | 6478c412788dfc6111477127b27957d4f5a8553d | [
"MIT"
] | null | null | null | day22/main.cpp | Kazhuu/advent-of-code-2020 | 6478c412788dfc6111477127b27957d4f5a8553d | [
"MIT"
] | 3 | 2020-12-03T05:16:06.000Z | 2021-01-25T20:49:41.000Z | #include <vector>
#include <string>
#include <deque>
#include <iostream>
#include <cassert>
std::pair<std::deque<int64_t>, std::deque<int64_t>> parse_input() {
std::deque<int64_t> player1;
std::deque<int64_t> player2;
std::string line;
std::getline(std::cin, line);
while(std::getline(std::cin, line... | 28.151163 | 76 | 0.565882 |
a91200df2403bc87cbba43cdffd238ba69cc60e0 | 1,215 | css | CSS | css/contact.css | jmatejekmorris/jmatejekmorris.github.io | c829435c4968f9c9ed92b60e10177257636aa890 | [
"MIT"
] | null | null | null | css/contact.css | jmatejekmorris/jmatejekmorris.github.io | c829435c4968f9c9ed92b60e10177257636aa890 | [
"MIT"
] | null | null | null | css/contact.css | jmatejekmorris/jmatejekmorris.github.io | c829435c4968f9c9ed92b60e10177257636aa890 | [
"MIT"
] | null | null | null | .contact-vertical-bar {
margin-left: 39rem;
}
.contact-first-bar {
top: 1rem;
}
.contact-second-bar {
top: 12rem;
}
.contact-third-bar {
top: 16rem;
}
.contact-menu-option:hover, .contact-menu-selected:hover {
background-image:url('/images/bars/maroon-horizontal-contact-matte-menu-dark.png');
backgr... | 15.779221 | 86 | 0.685597 |
2187278d6961418d350097535cd0ae9b11ff2a15 | 718 | js | JavaScript | vue_frontend/src/store/modules/logger.js | TuftsVALT/Snowcat | 4ff1a8ce32e172325a7be7f0095c8659f8709d18 | [
"MIT"
] | 2 | 2021-01-21T10:32:37.000Z | 2021-05-04T11:36:29.000Z | vue_frontend/src/store/modules/logger.js | TuftsVALT/Snowcat | 4ff1a8ce32e172325a7be7f0095c8659f8709d18 | [
"MIT"
] | 2 | 2020-10-16T18:14:00.000Z | 2021-01-05T07:31:55.000Z | vue_frontend/src/store/modules/logger.js | TuftsVALT/Snowcat | 4ff1a8ce32e172325a7be7f0095c8659f8709d18 | [
"MIT"
] | null | null | null | // import phases from '@/store/settings/full_eval/phases'
// import layouts from '@/store/settings/full_eval/layouts'
// import style from '@/store/settings/full_eval/style'
import _ from 'lodash'
import Vue from "vue";
// initial state
const state = {
'vast20ExpLog': {}
}
// getters
const getters = {
}
// actions... | 18.410256 | 59 | 0.654596 |
e00478dd7fa1d570784385880120b2f127b95247 | 4,845 | php | PHP | resources/views/admin/dashboard.blade.php | coderkhayrul/tech-blog-website | 5504d199439d1cc5950960e6795daa174cdeab4a | [
"MIT"
] | null | null | null | resources/views/admin/dashboard.blade.php | coderkhayrul/tech-blog-website | 5504d199439d1cc5950960e6795daa174cdeab4a | [
"MIT"
] | null | null | null | resources/views/admin/dashboard.blade.php | coderkhayrul/tech-blog-website | 5504d199439d1cc5950960e6795daa174cdeab4a | [
"MIT"
] | null | null | null | @extends('admin.admin_master')
@section('title')
Admin Panel || Dashboard
@endsection
@section('content')
<!-- Total Post Start -->
<div class="col-12 col-sm-6 col-xl-4 mb-4">
<div class="card border-light shadow-sm">
<div class="card-body">
<div class="row d-block d-xl-flex align-items-cente... | 44.449541 | 124 | 0.444376 |
3377e81e38cc1cded2140c297170c0445184185c | 344 | rb | Ruby | spec/support/devise_helpers.rb | pulibrary/dpul | e8b6720201bfb1dd7ad30f871b556e827195f6a5 | [
"Apache-2.0"
] | 9 | 2016-08-12T18:50:07.000Z | 2020-06-01T21:08:41.000Z | spec/support/devise_helpers.rb | pulibrary/pomegranate | 7d6dcb1e7f088085523f8662bc6509081b710d4a | [
"Apache-2.0"
] | 742 | 2016-01-11T18:21:09.000Z | 2021-02-26T19:02:27.000Z | spec/support/devise_helpers.rb | pulibrary/dpul | e8b6720201bfb1dd7ad30f871b556e827195f6a5 | [
"Apache-2.0"
] | 1 | 2016-01-11T18:08:19.000Z | 2016-01-11T18:08:19.000Z | # frozen_string_literal: true
require_relative 'request_spec_helper'
RSpec.configure do |config|
config.include Devise::Test::ControllerHelpers, type: :view
config.include Devise::Test::ControllerHelpers, type: :controller
config.include RequestSpecHelper, type: :request
config.include RequestSpecHelper, type:... | 34.4 | 67 | 0.799419 |
12dc38079eee23927591b3cb3f8f6416709f30f9 | 3,734 | cs | C# | Oak.Tests/describe_DynamicModels/eager_loading_for_belongs_to_with_duplicates.cs | ronaldnsabiyera/Oak | 5aaeb583f60910d707c084a8c7db60d87636f822 | [
"MIT"
] | 50 | 2015-01-05T18:32:33.000Z | 2021-05-12T06:37:13.000Z | Oak.Tests/describe_DynamicModels/eager_loading_for_belongs_to_with_duplicates.cs | ronaldnsabiyera/Oak | 5aaeb583f60910d707c084a8c7db60d87636f822 | [
"MIT"
] | 4 | 2016-01-08T01:43:59.000Z | 2016-08-16T15:17:12.000Z | Oak.Tests/describe_DynamicModels/eager_loading_for_belongs_to_with_duplicates.cs | ronaldnsabiyera/Oak | 5aaeb583f60910d707c084a8c7db60d87636f822 | [
"MIT"
] | 23 | 2015-02-08T01:53:24.000Z | 2017-06-16T13:57:48.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NSpec;
using Oak.Tests.describe_DynamicModels.Classes;
using Massive;
namespace Oak.Tests.describe_DynamicModels
{
class eager_loading_for_belongs_to_with_duplicates : nspec
{
Players players;
Seed see... | 31.378151 | 136 | 0.539636 |
a48879bb25c3b7dc1ea1c8ba341c858f9a38d334 | 1,465 | php | PHP | src/DatabaseMigrateTestListener.php | softonic/laravel-database-migrate-test-listener | b647640ea019406ae36303b2299d37acaf786866 | [
"Apache-2.0"
] | 1 | 2019-07-26T12:03:00.000Z | 2019-07-26T12:03:00.000Z | src/DatabaseMigrateTestListener.php | softonic/laravel-database-migrate-test-listener | b647640ea019406ae36303b2299d37acaf786866 | [
"Apache-2.0"
] | null | null | null | src/DatabaseMigrateTestListener.php | softonic/laravel-database-migrate-test-listener | b647640ea019406ae36303b2299d37acaf786866 | [
"Apache-2.0"
] | null | null | null | <?php
namespace Softonic\DatabaseMigrateTestListener;
use Composer\Autoload\ClassLoader;
use PHPUnit\Framework\TestListener;
use PHPUnit\Framework\TestListenerDefaultImplementation;
use PHPUnit\Framework\TestSuite;
use ReflectionClass;
class DatabaseMigrateTestListener implements TestListener
{
use TestListenerD... | 27.641509 | 124 | 0.649147 |
259abbfe7cd5f1de4a758da6627b3136163c9c91 | 2,241 | cs | C# | LocWarden.Core/LocalizedLanguage.cs | aschearer/locwarden | eee1440bc2f9f84f48062e8f8887a503c32eee12 | [
"MIT"
] | 1 | 2018-02-22T20:27:23.000Z | 2018-02-22T20:27:23.000Z | LocWarden.Core/LocalizedLanguage.cs | aschearer/locwarden | eee1440bc2f9f84f48062e8f8887a503c32eee12 | [
"MIT"
] | 14 | 2018-02-19T02:19:45.000Z | 2018-06-19T00:17:09.000Z | LocWarden.Core/LocalizedLanguage.cs | aschearer/LocWarden | eee1440bc2f9f84f48062e8f8887a503c32eee12 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
namespace LocWarden.Core
{
/// <summary>
/// Represents a language to be validated.
/// </summary>
public sealed class LocalizedLanguage : IEquatable<LocalizedLanguage>
{
private ILanguageDefinition definition;
/// <summary>
... | 28.0125 | 107 | 0.56805 |
078229a330bf41a3cf1b1c703388beb0cf5e6408 | 2,541 | css | CSS | styles/translator.css | juanuribe28/travelcssi | 76a47863dc930d9006c3beb42e3fe2b00922ce7a | [
"MIT"
] | null | null | null | styles/translator.css | juanuribe28/travelcssi | 76a47863dc930d9006c3beb42e3fe2b00922ce7a | [
"MIT"
] | 1 | 2019-08-14T21:27:49.000Z | 2019-08-14T21:27:49.000Z | styles/translator.css | JuanJUribe/travelcssi | 76a47863dc930d9006c3beb42e3fe2b00922ce7a | [
"MIT"
] | 2 | 2019-12-01T10:22:17.000Z | 2020-05-08T19:45:44.000Z | .translate{
margin: 50px;
grid-column: 1;
grid-row: 1;
align-items: left;
text-align: left;
font-size: 80px;
height: 1px;
width: 100%;
color: #8BACB9;
font-family: josefin-sans,sans-serif;
font-weight: 700;
font-style: normal;
}
section{
margin-top: 60px;
text-align: center;
gri... | 15.88125 | 66 | 0.57497 |
a1548509a32eaadf1e81c2566ec590c42b1047bb | 752 | tsx | TypeScript | client/src/pages/NotFound/index.tsx | leoronne/seeker | 0c0b91a65fc73dd90a2d191641f030abed93aa63 | [
"MIT"
] | 1 | 2020-11-13T01:14:00.000Z | 2020-11-13T01:14:00.000Z | client/src/pages/NotFound/index.tsx | leoronne/seeker | 0c0b91a65fc73dd90a2d191641f030abed93aa63 | [
"MIT"
] | null | null | null | client/src/pages/NotFound/index.tsx | leoronne/seeker | 0c0b91a65fc73dd90a2d191641f030abed93aa63 | [
"MIT"
] | null | null | null | import React from 'react';
import { useTranslation } from 'react-i18next';
import { Link } from 'react-router-dom';
import { Container, Content, HomeIcon, Left, Main, Right } from './styles';
const NotFound: React.FC = () => {
const { t } = useTranslation();
return (
<Container data-testid="not-found-page">
... | 22.787879 | 75 | 0.482713 |
cd51b568d3d861ad6f72a9d45c361319850e31a2 | 226 | cs | C# | Packages/Core/Runtime/Actions/IntAction.cs | lucasrferreira/unity-atoms | b51de335e0fb3568a478a7cbd0561a5649f01cf3 | [
"MIT"
] | null | null | null | Packages/Core/Runtime/Actions/IntAction.cs | lucasrferreira/unity-atoms | b51de335e0fb3568a478a7cbd0561a5649f01cf3 | [
"MIT"
] | null | null | null | Packages/Core/Runtime/Actions/IntAction.cs | lucasrferreira/unity-atoms | b51de335e0fb3568a478a7cbd0561a5649f01cf3 | [
"MIT"
] | null | null | null | namespace UnityAtoms
{
/// <summary>
/// Action of type `int`. Inherits from `AtomAction<int>`.
/// </summary>
[EditorIcon("atom-icon-purple")]
public abstract class IntAction : AtomAction<int> { }
}
| 25.111111 | 68 | 0.628319 |
9e0d0bd4cd94414ad3b128f6e0e3958c94dbcac7 | 3,835 | cs | C# | Assets/Scripts/ggj2018/UI/PlayerHUDCard.cs | pdxpartyparrot/ggj2018 | 92e1bf305e60b61b95848c1d881bed48f736343e | [
"Apache-2.0"
] | 1 | 2018-02-14T07:02:54.000Z | 2018-02-14T07:02:54.000Z | Assets/Scripts/ggj2018/UI/PlayerHUDCard.cs | pdxparrot/ggj2018 | 92e1bf305e60b61b95848c1d881bed48f736343e | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/ggj2018/UI/PlayerHUDCard.cs | pdxparrot/ggj2018 | 92e1bf305e60b61b95848c1d881bed48f736343e | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using pdxpartyparrot.Core.Util;
using pdxpartyparrot.ggj2018.GameState;
using pdxpartyparrot.ggj2018.GameTypes;
using pdxpartyparrot.ggj2018.Players;
using pdxpartyparrot.Game.State;
using UnityEngine;
using UnityEngine.UI;
namespace pdxpartyparrot.ggj2018.UI
{
public class PlayerHUDCa... | 26.631944 | 117 | 0.641199 |
332678828f321da4b31703af127b13daf03c5207 | 2,200 | html | HTML | index.html | mugai17/a-mmd | 9a39fb96b33bf2e874015be6b1a7bdec0dce46ae | [
"MIT"
] | 83 | 2016-11-12T17:39:13.000Z | 2021-12-02T06:57:16.000Z | index.html | mugai17/a-mmd | 9a39fb96b33bf2e874015be6b1a7bdec0dce46ae | [
"MIT"
] | 4 | 2017-04-26T02:28:09.000Z | 2020-03-05T11:40:15.000Z | index.html | mugai17/a-mmd | 9a39fb96b33bf2e874015be6b1a7bdec0dce46ae | [
"MIT"
] | 20 | 2017-02-15T03:06:36.000Z | 2021-06-02T16:54:19.000Z | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>MMD Models</title>
<meta name="description" content="A-Frame MMD loader component">
<script src="https://aframe.io/releases/0.7.1/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/kripken/ammo.js/dcab07bf0e7f2b4b64c01dc45da8463... | 37.931034 | 144 | 0.570455 |
c50059f9b52f5d48c141e3dac61f2e044c1a8df7 | 554 | css | CSS | Content/Rotator/API.css | syncfusion/aspnet-ej1-demos | 2b6f8494be547cdf44b778e92cdf8952f23d7b24 | [
"Net-SNMP",
"NBPL-1.0",
"Xnet",
"Info-ZIP"
] | 3 | 2018-11-14T12:05:16.000Z | 2022-01-24T04:43:37.000Z | Content/Rotator/API.css | syncfusion/aspnet-ej1-demos | 2b6f8494be547cdf44b778e92cdf8952f23d7b24 | [
"Net-SNMP",
"NBPL-1.0",
"Xnet",
"Info-ZIP"
] | null | null | null | Content/Rotator/API.css | syncfusion/aspnet-ej1-demos | 2b6f8494be547cdf44b778e92cdf8952f23d7b24 | [
"Net-SNMP",
"NBPL-1.0",
"Xnet",
"Info-ZIP"
] | 5 | 2019-04-04T15:55:39.000Z | 2021-04-08T11:00:44.000Z |
.frame {
width: 100%;
box-sizing : border-box;
}
.e-rotator > li img {
width: 100%;
height: 165px;
}
input {
line-height: normal;
width: 113px;
}
input.ejinputtext {
text-... | 17.3125 | 36 | 0.351986 |
c37dfe2915816f710282ad58d932df3eb8a0eacf | 561 | cs | C# | tests/Sharpliner.Tests/AzureDevOps/TestPipeline.cs | TopperDEL/sharpliner | ebdabc83952997ccf5fc2d6cce968a5600ef1379 | [
"MIT"
] | null | null | null | tests/Sharpliner.Tests/AzureDevOps/TestPipeline.cs | TopperDEL/sharpliner | ebdabc83952997ccf5fc2d6cce968a5600ef1379 | [
"MIT"
] | null | null | null | tests/Sharpliner.Tests/AzureDevOps/TestPipeline.cs | TopperDEL/sharpliner | ebdabc83952997ccf5fc2d6cce968a5600ef1379 | [
"MIT"
] | null | null | null | using Sharpliner.AzureDevOps;
namespace Sharpliner.Tests.AzureDevOps
{
internal abstract class TestPipeline : PipelineDefinition
{
public override string TargetFile => "azure-pipelines.yml";
public override TargetPathType TargetPathType => TargetPathType.RelativeToGitRoot;
}
internal... | 29.526316 | 90 | 0.748663 |
43d02b7306d8acf3f6336c97d601d5df4d37fa13 | 1,581 | ts | TypeScript | src/styles/global.ts | PitzTech/suno-movies | 1fde25d6a173d49227fd566eceda09b7d7468e1c | [
"MIT"
] | null | null | null | src/styles/global.ts | PitzTech/suno-movies | 1fde25d6a173d49227fd566eceda09b7d7468e1c | [
"MIT"
] | null | null | null | src/styles/global.ts | PitzTech/suno-movies | 1fde25d6a173d49227fd566eceda09b7d7468e1c | [
"MIT"
] | null | null | null | import { createGlobalStyle } from "styled-components"
export default createGlobalStyle`
:root {
--primary-background: #1B1B1F;
--secondary-background: #212125;
--secondary-background-light-contrast: #2e2d31;
--secondary-background-contrast: #2e2e35;
--primary-text: #EAEAEA;
--secondary-text: #9... | 17.764045 | 58 | 0.568627 |
dbac556a9ff5547c522ef5c2b91ccfc3aff50711 | 12,941 | kt | Kotlin | Corona-Warn-App/src/test/java/de/rki/coronawarnapp/presencetracing/checkins/split/CheckInSplitterTest.kt | rkw95/cwa-app-android | a1110d3d0906273936ef1db7e8024ec581f8dfbc | [
"Apache-2.0"
] | 2,775 | 2020-05-30T15:29:21.000Z | 2022-03-31T06:36:40.000Z | Corona-Warn-App/src/test/java/de/rki/coronawarnapp/presencetracing/checkins/split/CheckInSplitterTest.kt | rkw95/cwa-app-android | a1110d3d0906273936ef1db7e8024ec581f8dfbc | [
"Apache-2.0"
] | 4,520 | 2020-05-30T16:21:20.000Z | 2022-03-31T19:08:12.000Z | Corona-Warn-App/src/test/java/de/rki/coronawarnapp/presencetracing/checkins/split/CheckInSplitterTest.kt | rkw95/cwa-app-android | a1110d3d0906273936ef1db7e8024ec581f8dfbc | [
"Apache-2.0"
] | 759 | 2020-05-30T17:57:24.000Z | 2022-03-31T07:36:28.000Z | package de.rki.coronawarnapp.presencetracing.checkins.split
import de.rki.coronawarnapp.presencetracing.checkins.CheckIn
import io.kotest.matchers.shouldBe
import okio.ByteString.Companion.encode
import org.joda.time.Instant
import org.junit.jupiter.api.Test
import testhelpers.BaseTest
/**
* Test examples reference ... | 33.876963 | 118 | 0.530871 |
e13717e5abd31be1ae23e9a1b91918a6bdcb814e | 8,427 | rs | Rust | src/librustc/middle/borrowck/gather_loans/lifetime.rs | rust-highfive/rust | 3212d70302074bb6fc28d077e1cc4ed870fcb091 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2019-04-01T19:51:22.000Z | 2022-03-19T22:44:50.000Z | src/librustc/middle/borrowck/gather_loans/lifetime.rs | rust-highfive/rust | 3212d70302074bb6fc28d077e1cc4ed870fcb091 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/librustc/middle/borrowck/gather_loans/lifetime.rs | rust-highfive/rust | 3212d70302074bb6fc28d077e1cc4ed870fcb091 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2018-07-29T22:20:48.000Z | 2021-02-10T10:21:24.000Z | // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 41.107317 | 81 | 0.495194 |
26e3b1f5f77b5abe1f957064e5f2e489d53767a2 | 145 | dart | Dart | flutter_ipanda/lib/main.dart | 7449/flutter-zhihu_zhuanlan | dd23523114bf786ad73087e18ac1051030d2de33 | [
"Apache-2.0"
] | 93 | 2018-05-02T11:16:35.000Z | 2021-09-02T08:07:53.000Z | flutter_ipanda/lib/main.dart | 7449/flutter-zhihu_zhuanlan | dd23523114bf786ad73087e18ac1051030d2de33 | [
"Apache-2.0"
] | 2 | 2018-05-21T12:33:57.000Z | 2019-02-28T10:38:05.000Z | flutter_ipanda/lib/main.dart | 7449/flutter-zhihu_zhuanlan | dd23523114bf786ad73087e18ac1051030d2de33 | [
"Apache-2.0"
] | 16 | 2018-05-10T07:00:37.000Z | 2021-11-10T06:14:51.000Z | import 'package:flutter/material.dart';
import 'package:flutter_ipanda/app_screen.dart';
void main() => runApp(MaterialApp(home: AppScreen()));
| 29 | 54 | 0.765517 |
235e381296ee98fffe036480f491e9aab7ab22b4 | 686 | css | CSS | src/index/index.css | 1549664680/train-ticket | def5e8ffc6f60891b5e68b208dbe8cb9f2111cdd | [
"MIT"
] | 5 | 2019-10-22T07:14:24.000Z | 2021-06-02T09:02:14.000Z | src/ticket/index.css | kongdexiaochina/react-hooks | a55e4cab44e377530a51ff7099110cbf738c2e20 | [
"MIT"
] | 10 | 2020-09-07T06:49:25.000Z | 2022-03-08T23:03:08.000Z | src/ticket/index.css | kongdexiaochina/react-hooks | a55e4cab44e377530a51ff7099110cbf738c2e20 | [
"MIT"
] | 2 | 2020-09-07T05:15:34.000Z | 2021-11-13T13:41:50.000Z | html {
background: #f5f5f5;
color: #333;
font-size: 32px;
}
body,
ul,
ol,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
form,
fieldset,
legend,
input,
textarea,
button,
p,
blockquote,
th,
td,
pre,
xmp {
margin: 0;
padding: 0;
}
body,
input,
textarea,
button,
select,
pre,
tt,
code,
kbd,
samp,
optgroup,
option {
... | 9.527778 | 79 | 0.635569 |
06d7298424246a81e9d0832bc337f68a707f857a | 635 | py | Python | services/burnurl.py | joshthecoder/shorty-python | 35687d010683944d75e3f0dce7799903296172c5 | [
"MIT"
] | 11 | 2015-05-29T04:58:28.000Z | 2020-05-31T17:07:52.000Z | services/burnurl.py | joshthecoder/shorty-python | 35687d010683944d75e3f0dce7799903296172c5 | [
"MIT"
] | null | null | null | services/burnurl.py | joshthecoder/shorty-python | 35687d010683944d75e3f0dce7799903296172c5 | [
"MIT"
] | 2 | 2015-03-10T06:22:31.000Z | 2018-06-18T18:20:59.000Z | ## Shorty
## Copyright 2009 Joshua Roesslein
## See LICENSE
## @url burnurl.com
class Burnurl(Service):
def _test(self):
# all we can test is shrink
turl = self.shrink('http://test.com')
if turl.startswith('http://burnurl.com'):
return True
else:
return Fals... | 25.4 | 81 | 0.593701 |
17f85bb5d116afe26f0fa24cb42978cc65872494 | 2,780 | rb | Ruby | db/schema.rb | TwilioDevEd/automated-survey-rails | 1c7a890bd2868740cd1c5501eee82b1991b5fb03 | [
"MIT"
] | 10 | 2016-05-31T01:57:05.000Z | 2022-02-26T20:05:03.000Z | db/schema.rb | TwilioDevEd/automated-survey-rails | 1c7a890bd2868740cd1c5501eee82b1991b5fb03 | [
"MIT"
] | 100 | 2016-04-08T15:37:43.000Z | 2022-03-08T20:14:42.000Z | db/schema.rb | TwilioDevEd/automated-survey-rails | 1c7a890bd2868740cd1c5501eee82b1991b5fb03 | [
"MIT"
] | 10 | 2016-05-31T02:27:50.000Z | 2019-11-28T18:09:01.000Z | # encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative sou... | 44.126984 | 101 | 0.673381 |
fd76c112e478eebee7fc3c77ce3778835fe08b97 | 653 | css | CSS | src/styles.css | langlk/boardgame-manager | 446f5d6d96640f44191a4fccd8d592da94ca5908 | [
"MIT"
] | null | null | null | src/styles.css | langlk/boardgame-manager | 446f5d6d96640f44191a4fccd8d592da94ca5908 | [
"MIT"
] | null | null | null | src/styles.css | langlk/boardgame-manager | 446f5d6d96640f44191a4fccd8d592da94ca5908 | [
"MIT"
] | null | null | null | /* You can add global styles to this file, and also import other style files */
.container {
color: #094361;
max-width: 700px;
}
.checkboxes h5 {
font-weight: bolder;
margin-top: 0px;
}
.checkboxes label {
font-weight: normal;
}
#navbar {
background-color: #1e4b73;
}
#navbar a {
color: #88a6bf;
}
#n... | 13.604167 | 79 | 0.623277 |
45948ed9e00183ba5b99f8f8fce9be7b7648bd2b | 25,843 | py | Python | Grp22A-5 SprintProject 1.py | DeToxFox/MidtermSprintGrp22A-5 | 42505c155152a233b66139dd85c4fcad2a41035e | [
"MIT"
] | null | null | null | Grp22A-5 SprintProject 1.py | DeToxFox/MidtermSprintGrp22A-5 | 42505c155152a233b66139dd85c4fcad2a41035e | [
"MIT"
] | null | null | null | Grp22A-5 SprintProject 1.py | DeToxFox/MidtermSprintGrp22A-5 | 42505c155152a233b66139dd85c4fcad2a41035e | [
"MIT"
] | null | null | null | # Employee Claims Processing System (work trips) at the NL Chocolate Company
# Written by: Group 22A-5, Makenzie Roberts, Neil Stratton, and David Turner
# Date written: Feb 25, 2022
# Project ID: Midterm Sprint Week. Project 1: NL Chocolate Company, Claims Processing System
# Libraries imported
import matplotlib.py... | 37.024355 | 141 | 0.564989 |
0dd53c338fb4ee5a9a014f4cc16dfcd2203cf0bf | 5,121 | sql | SQL | database/denormalized/index_4.sql | Espigah/index_performance_improvement | 78f4408141e37a8eb1807417af51f32bcaaa3c40 | [
"Apache-2.0"
] | null | null | null | database/denormalized/index_4.sql | Espigah/index_performance_improvement | 78f4408141e37a8eb1807417af51f32bcaaa3c40 | [
"Apache-2.0"
] | null | null | null | database/denormalized/index_4.sql | Espigah/index_performance_improvement | 78f4408141e37a8eb1807417af51f32bcaaa3c40 | [
"Apache-2.0"
] | null | null | null | --------------------------------------------------------
--mode4 - index parcial
--------------------------------------------------------
-- active_clients_last_year
-- drop index denormalized.purchase_purchase_created_idx;
-- drop index denormalized.purchase_purchase_updated_idx;
CREATE INDEX IF NOT EXISTS purchas... | 37.654412 | 239 | 0.73345 |
8ed2f33875ce6f31b07bbb2d7ad44a0b01ff6c6f | 838 | js | JavaScript | public/assets/filters/comma-split.filter.spec.js | coryellenberger/mean-blog | 1a2daa6987bc430ad53fc8557e1102691827ece8 | [
"MIT"
] | 1 | 2016-07-24T15:48:40.000Z | 2016-07-24T15:48:40.000Z | public/assets/filters/comma-split.filter.spec.js | coryellenberger/mean-blog | 1a2daa6987bc430ad53fc8557e1102691827ece8 | [
"MIT"
] | null | null | null | public/assets/filters/comma-split.filter.spec.js | coryellenberger/mean-blog | 1a2daa6987bc430ad53fc8557e1102691827ece8 | [
"MIT"
] | null | null | null | describe('commaSplit', function () {
beforeEach(module('meanBlog'))
var commaSplitFilter
var _TEST1 = 'TEST1'
var _TEST2 = 'TEST2'
var _TEST3 = 'TEST3'
var _INPUT = _TEST1 + ',' + _TEST2 + ',' + _TEST3
var _ARRAY = [_TEST1, _TEST2, _TEST3]
beforeEach(inject(function (_commaSplitFilter_) {
commaSpl... | 27.933333 | 70 | 0.682578 |
a16641b2cefe6e15201f5a8365548d56fa11c0d5 | 125 | ts | TypeScript | node_modules/standardized-audio-context/src/types/wrap-event-listener-function.ts | SamueleDelMoro/ACTAM.Project2122-TraningGame | 73a5070ea619abcb155a3e0a892f410866af49ed | [
"MIT"
] | 411 | 2016-02-02T11:30:13.000Z | 2022-03-30T01:58:04.000Z | node_modules/standardized-audio-context/src/types/wrap-event-listener-function.ts | SamueleDelMoro/ACTAM.Project2122-TraningGame | 73a5070ea619abcb155a3e0a892f410866af49ed | [
"MIT"
] | 710 | 2016-02-04T01:15:47.000Z | 2022-02-08T07:30:58.000Z | node_modules/standardized-audio-context/src/types/wrap-event-listener-function.ts | SamueleDelMoro/ACTAM.Project2122-TraningGame | 73a5070ea619abcb155a3e0a892f410866af49ed | [
"MIT"
] | 33 | 2016-02-04T01:16:54.000Z | 2022-02-09T14:53:34.000Z | export type TWrapEventListenerFunction = <T>(target: T, eventListener: EventListenerOrEventListenerObject) => EventListener;
| 62.5 | 124 | 0.832 |
e74c3b8f1a642772f947f8f14ede52f52d0ebd76 | 1,136 | php | PHP | src/Chinese/Driver/Pinyin/Base.php | Luke2486/ChineseUtil | 81ec4e42ff3182f8bba8fac596138b63c84c1a9c | [
"MIT"
] | 1 | 2020-07-13T13:38:00.000Z | 2020-07-13T13:38:00.000Z | src/Chinese/Driver/Pinyin/Base.php | Luke2486/ChineseUtil | 81ec4e42ff3182f8bba8fac596138b63c84c1a9c | [
"MIT"
] | null | null | null | src/Chinese/Driver/Pinyin/Base.php | Luke2486/ChineseUtil | 81ec4e42ff3182f8bba8fac596138b63c84c1a9c | [
"MIT"
] | null | null | null | <?php
namespace Yurun\Util\Chinese\Driver\Pinyin;
abstract class Base implements BaseInterface
{
/**
* 把字符串转为拼音结果,返回的数组成员为字符串
* @param string $string
* @param int $mode
* @param string $wordSplit
* @return array
*/
public function convert($string, $mode = Pinyin::CONVERT_MODE_FULL... | 23.183673 | 91 | 0.579225 |
851d99192b4e2de8d8e142dc0a331916e0a94102 | 906 | cs | C# | src/ImageSharp.Textures/Formats/Ktx/Enums/GlType.cs | prophetl33t/ImageSharp.Textures | 683910200051bec46b389ff281d57e3a717954da | [
"Apache-2.0"
] | 25 | 2020-01-08T01:37:13.000Z | 2022-02-14T21:45:25.000Z | src/ImageSharp.Textures/Formats/Ktx/Enums/GlType.cs | prophetl33t/ImageSharp.Textures | 683910200051bec46b389ff281d57e3a717954da | [
"Apache-2.0"
] | 4 | 2020-06-12T23:28:28.000Z | 2021-08-08T07:49:06.000Z | src/ImageSharp.Textures/Formats/Ktx/Enums/GlType.cs | prophetl33t/ImageSharp.Textures | 683910200051bec46b389ff281d57e3a717954da | [
"Apache-2.0"
] | 4 | 2020-05-15T11:11:23.000Z | 2022-03-14T07:10:29.000Z | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Textures.Formats.Ktx.Enums
{
internal enum GlType : uint
{
/// <summary>
/// Zero indicates, that the texture is compressed.
/// </summary>
Compressed = 0,
Byt... | 17.423077 | 59 | 0.571744 |
048443841b54eba8824a5ac478fce0d0b71ff272 | 1,155 | h | C | sources/mog/mog.h | tkyaji/mog2d | c3bc3ef62162352311282bce453afe20bd9814e5 | [
"MIT"
] | null | null | null | sources/mog/mog.h | tkyaji/mog2d | c3bc3ef62162352311282bce453afe20bd9814e5 | [
"MIT"
] | null | null | null | sources/mog/mog.h | tkyaji/mog2d | c3bc3ef62162352311282bce453afe20bd9814e5 | [
"MIT"
] | null | null | null | #ifndef mog_h
#define mog_h
#include "mog/Constants.h"
#include "mog/core/plain_objects.h"
#include "mog/core/Tween.h"
#include "mog/core/Touch.h"
#include "mog/core/TouchEventListener.h"
#include "mog/core/AudioPlayer.h"
#include "mog/core/FileUtils.h"
#include "mog/core/Preference.h"
#include "mog/core/Data.h"
#incl... | 27.5 | 40 | 0.742857 |
445bec9b38004e45288026720448ad6618ff4b60 | 497 | py | Python | code/CGAN_Patterns/loader.py | skababji/ElecLoadsSim_V1 | d383c5c31e9533a10de87a9d74c4c5780a01fbe5 | [
"MIT"
] | 2 | 2020-07-25T15:09:45.000Z | 2020-07-28T15:34:47.000Z | code/CGAN_Patterns/loader.py | skababji/ElecLoads_V1 | d383c5c31e9533a10de87a9d74c4c5780a01fbe5 | [
"MIT"
] | null | null | null | code/CGAN_Patterns/loader.py | skababji/ElecLoads_V1 | d383c5c31e9533a10de87a9d74c4c5780a01fbe5 | [
"MIT"
] | 2 | 2020-07-24T23:31:25.000Z | 2020-07-27T09:27:27.000Z | import numpy as np
class Loader():
def __init__(self, features,labels):
self.x = features
self.y = labels
def shuffle_x(self,batch_size, ):
features=self.x
labels=self.y
idx = np.arange(0, len(features))
np.random.shuffle(idx)
idx = idx[:batch_size]
... | 27.611111 | 52 | 0.595573 |
2183b930905f15121d7c950eb530f85541cf0b7d | 248 | js | JavaScript | js/src/TwoWays/util/makeGetter.js | cfv1984/two-ways | 54191e62a14af02e57fddaf9fa6668a6473ca112 | [
"MIT"
] | 2 | 2017-04-20T05:28:58.000Z | 2020-06-11T18:34:56.000Z | js/src/TwoWays/util/makeGetter.js | cfv1984/two-ways | 54191e62a14af02e57fddaf9fa6668a6473ca112 | [
"MIT"
] | null | null | null | js/src/TwoWays/util/makeGetter.js | cfv1984/two-ways | 54191e62a14af02e57fddaf9fa6668a6473ca112 | [
"MIT"
] | null | null | null | module.exports = function makeGetter(expr){
if(expr.indexOf('$') > -1){ //special case the fuck out of this
expr = expr.replace(/\$/g,'scope.\$');
}
else{
expr = 'scope.'+expr;
}
return new Function('scope', `return ${expr}`);
}
| 24.8 | 65 | 0.58871 |
8d8b5416ab36eaf422562d663efe10f9d50d54aa | 4,760 | js | JavaScript | test/b_handler.js | hcphoon01/VATSIM-Data-Handler | 9c6463761a6502cdb24a37f500ae18871ede8d35 | [
"MIT"
] | 10 | 2019-10-09T16:57:51.000Z | 2022-01-04T05:14:25.000Z | test/b_handler.js | hcphoon01/VATSIM-Data-Handler | 9c6463761a6502cdb24a37f500ae18871ede8d35 | [
"MIT"
] | 6 | 2019-10-09T20:20:49.000Z | 2021-03-10T21:19:30.000Z | test/b_handler.js | hcphoon01/VATSIM-Data-Handler | 9c6463761a6502cdb24a37f500ae18871ede8d35 | [
"MIT"
] | 4 | 2019-10-09T18:41:32.000Z | 2020-04-21T12:26:39.000Z | const { handler } = require("../build/cjs/methods");
const chai = require("chai");
const chaiAsPromised = require("chai-as-promised");
chai.use(chaiAsPromised);
chai.should();
const fs = require("fs");
const path = require("path");
const jsonFile = path.basename("../vatsimData.json");
const controller = {
cid: 999... | 28 | 114 | 0.615756 |
c5660ecb0a2d357ffad5435abece8709767ec2e1 | 2,151 | swift | Swift | ZwaaiLogic/Backend/CombineLocationWithTime.swift | Zwaai-app/zwaai-ios | 6123bb889d6ce0b0f4d73e7c2896d45f7d3676f3 | [
"MIT"
] | null | null | null | ZwaaiLogic/Backend/CombineLocationWithTime.swift | Zwaai-app/zwaai-ios | 6123bb889d6ce0b0f4d73e7c2896d45f7d3676f3 | [
"MIT"
] | 2 | 2020-07-31T06:07:03.000Z | 2020-07-31T06:11:51.000Z | ZwaaiLogic/Backend/CombineLocationWithTime.swift | Zwaai-app/zwaai-ios | 6123bb889d6ce0b0f4d73e7c2896d45f7d3676f3 | [
"MIT"
] | null | null | null | import Foundation
protocol CombineLocationWithTimeProto {
func run(
encryptedLocation: GroupElement,
completion: @escaping (Result<[GroupElement], AppError>) -> Void
)
}
class CombineLocationWithTime: Backend, CombineLocationWithTimeProto {
func run(
encryptedLocation: GroupElement... | 39.833333 | 107 | 0.572757 |
0d58f6b3eacb2b769ca2be3e6bb6f3be9cc9461c | 967 | cs | C# | Components/ResetPositionOnEnable.cs | Deepscorn/DeepLabs | 90f19d86da944fe123b7fd085562645676941630 | [
"Apache-2.0"
] | 2 | 2016-06-08T22:15:15.000Z | 2018-09-21T11:00:49.000Z | Components/ResetPositionOnEnable.cs | Deepscorn/DeepLabs | 90f19d86da944fe123b7fd085562645676941630 | [
"Apache-2.0"
] | 1 | 2017-01-27T12:14:27.000Z | 2017-01-27T12:14:27.000Z | Components/ResetPositionOnEnable.cs | Deepscorn/DeepLabs | 90f19d86da944fe123b7fd085562645676941630 | [
"Apache-2.0"
] | null | null | null | // Copyright 2014 Tokarev Mikhail (also known as Deepscorn)
// http://www.apache.org/licenses/LICENSE-2.0
using UnityEngine;
namespace Assets.Sources.Scripts.Basic
{
public class ResetPositionOnEnable: MonoBehaviour
{
private Vector3 startPosition;
public void Awake()
{
var... | 25.447368 | 63 | 0.534643 |
389615b835aff0ca544b9127d562731cc305a066 | 1,801 | php | PHP | dmFrontPlugin/lib/action/base/dmFrontBaseComponents.php | PolibudaInfo/diem | 463d67bb936ff2b2486ff54e836b2e3070935e09 | [
"MIT",
"BSD-3-Clause"
] | 12 | 2015-04-10T14:00:25.000Z | 2021-11-08T11:21:48.000Z | dmFrontPlugin/lib/action/base/dmFrontBaseComponents.php | PolibudaInfo/diem | 463d67bb936ff2b2486ff54e836b2e3070935e09 | [
"MIT",
"BSD-3-Clause"
] | 5 | 2015-04-01T09:12:04.000Z | 2020-07-15T12:41:43.000Z | dmFrontPlugin/lib/action/base/dmFrontBaseComponents.php | PolibudaInfo/diem | 463d67bb936ff2b2486ff54e836b2e3070935e09 | [
"MIT",
"BSD-3-Clause"
] | 10 | 2015-01-15T20:20:47.000Z | 2021-11-23T12:15:46.000Z | <?php
class dmFrontBaseComponents extends dmBaseComponents
{
protected
$forms;
/**
* Initializes this component.
*
* @param sfContext $context The current application context.
* @param string $moduleName The module name.
* @param string $actionName The action name.
*
* @return bo... | 20.465909 | 84 | 0.6191 |
581a91fab2184bd557c2fe2f61855362d73403e4 | 2,138 | css | CSS | Formulario/style.css | leosilvalg/Projeto-Trybewarts-Trybe | 10c7279aa82cefa9eb11ec125ad1a551438d65d3 | [
"CECILL-B"
] | null | null | null | Formulario/style.css | leosilvalg/Projeto-Trybewarts-Trybe | 10c7279aa82cefa9eb11ec125ad1a551438d65d3 | [
"CECILL-B"
] | null | null | null | Formulario/style.css | leosilvalg/Projeto-Trybewarts-Trybe | 10c7279aa82cefa9eb11ec125ad1a551438d65d3 | [
"CECILL-B"
] | null | null | null | @font-face {
font-family:'harry';
src: url('./fonts/MagicSchoolOne-ovYz.ttf') format('truetype');
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap');
* {
margin: 0;
color: #f0ffffde;
font-family: 'Noto Sans', sans-serif;
}
body * {
box-sizing: border-box;
}
.main {
width:... | 18.118644 | 149 | 0.659495 |
38d587a3dc388b46a6472d8666db67ee96fc04f5 | 5,720 | php | PHP | src/Cli/Command.php | ghispi/tombstone-analyzer | f698aa38b944794ed763cfa8ece99e5e9b128786 | [
"MIT"
] | null | null | null | src/Cli/Command.php | ghispi/tombstone-analyzer | f698aa38b944794ed763cfa8ece99e5e9b128786 | [
"MIT"
] | null | null | null | src/Cli/Command.php | ghispi/tombstone-analyzer | f698aa38b944794ed763cfa8ece99e5e9b128786 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace Scheb\Tombstone\Analyzer\Cli;
use Scheb\Tombstone\Analyzer\Analyzer;
use Scheb\Tombstone\Analyzer\Config\ConfigurationLoader;
use Scheb\Tombstone\Analyzer\Config\YamlConfigProvider;
use Scheb\Tombstone\Analyzer\Log\AnalyzerLogDirectoryReader;
use Scheb\Tombstone\Analyzer\Log\... | 34.666667 | 127 | 0.637063 |
d4e90ffe985d5c35a670f06d3ca7b2ca8f6d7477 | 418 | ts | TypeScript | src/main.ts | any-design/vite-plugin-gfont | fc1d641a26aca0b348650fc328cab4d582638c5d | [
"MIT"
] | null | null | null | src/main.ts | any-design/vite-plugin-gfont | fc1d641a26aca0b348650fc328cab4d582638c5d | [
"MIT"
] | null | null | null | src/main.ts | any-design/vite-plugin-gfont | fc1d641a26aca0b348650fc328cab4d582638c5d | [
"MIT"
] | null | null | null | import type { Plugin } from 'vite';
import { getInjector } from './injector';
import { UserPluginConfig } from './types';
export default function Plugin(config: UserPluginConfig): Plugin {
const injector = getInjector(config);
return {
name: 'vite-plugin-gfont',
transformIndexHtml: (html: string) => {
... | 24.588235 | 66 | 0.636364 |
cf09cfe570d39e1b593f88d582827ec327992100 | 148 | php | PHP | test/_files/json.php | zendframework/ZendService_Api | 7c781ba6da0592882acdece02e1d8910fb62aa42 | [
"BSD-3-Clause"
] | 18 | 2015-04-09T19:29:26.000Z | 2019-04-12T12:39:08.000Z | test/_files/json.php | zendframework/ZendService_Api | 7c781ba6da0592882acdece02e1d8910fb62aa42 | [
"BSD-3-Clause"
] | 1 | 2017-12-14T10:25:33.000Z | 2018-05-14T17:52:36.000Z | test/_files/json.php | zendframework/ZendService_Api | 7c781ba6da0592882acdece02e1d8910fb62aa42 | [
"BSD-3-Clause"
] | 5 | 2017-02-27T14:45:59.000Z | 2022-02-24T19:02:47.000Z | <?php
return array(
'method' => 'GET',
'response' => array(
'format' => 'json',
'valid_codes' => array('200')
)
);
| 16.444444 | 37 | 0.439189 |
557f535f666a6c7f843b5287959c1545426971e8 | 1,371 | dart | Dart | gesture_demo/lib/main.dart | ryanlid/flutter-demos | f067cbec46400cecad5aae6163281c1b5aa82326 | [
"MIT"
] | null | null | null | gesture_demo/lib/main.dart | ryanlid/flutter-demos | f067cbec46400cecad5aae6163281c1b5aa82326 | [
"MIT"
] | null | null | null | gesture_demo/lib/main.dart | ryanlid/flutter-demos | f067cbec46400cecad5aae6163281c1b5aa82326 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
// void mian()=>runApp(myApp());
void main() => runApp(MaterialApp(
title: '按下手势',
home: MyApp(),
));
class MyButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: () {
final snackba... | 24.052632 | 55 | 0.563822 |
5faae1e878bddb697bd24d1942542f62cd15cb88 | 55 | ps1 | PowerShell | Chapter-4/Install-hybrid-worker.ps1 | srmchem/Azure-for-Architects-Third-Edition | d4f3d8bb45ed69738de6fe41c03f633753ed2dbc | [
"MIT"
] | 23 | 2020-04-05T09:00:37.000Z | 2022-03-13T02:17:09.000Z | Chapter-4/Install-hybrid-worker.ps1 | srmchem/Azure-for-Architects-Third-Edition | d4f3d8bb45ed69738de6fe41c03f633753ed2dbc | [
"MIT"
] | 1 | 2021-09-25T19:27:11.000Z | 2021-09-25T19:27:11.000Z | Chapter-4/Install-hybrid-worker.ps1 | srmchem/Azure-for-Architects-Third-Edition | d4f3d8bb45ed69738de6fe41c03f633753ed2dbc | [
"MIT"
] | 31 | 2020-07-05T00:30:21.000Z | 2022-02-28T02:33:09.000Z | Install-Script -Name New-OnPremiseHybridWorker -verbose | 55 | 55 | 0.872727 |
ba7636651241d7b2ddfd5a8c9f30d114529c114c | 4,401 | lua | Lua | bin/data/engine/editor/text-editor/text-editor-error-list.lua | mackron/GTGameEngine | 380d1e01774fe6bc2940979e4e5983deef0bf082 | [
"BSD-3-Clause"
] | 31 | 2015-03-19T08:44:48.000Z | 2021-12-15T20:52:31.000Z | bin/data/engine/editor/text-editor/text-editor-error-list.lua | mackron/GTGameEngine | 380d1e01774fe6bc2940979e4e5983deef0bf082 | [
"BSD-3-Clause"
] | 19 | 2015-07-09T09:02:44.000Z | 2016-06-09T03:51:03.000Z | bin/data/engine/editor/text-editor/text-editor-error-list.lua | mackron/GTGameEngine | 380d1e01774fe6bc2940979e4e5983deef0bf082 | [
"BSD-3-Clause"
] | 3 | 2017-10-04T23:38:18.000Z | 2022-03-07T08:27:13.000Z | -- Copyright (C) 2011 - 2013 David Reid. See included LICENCE file.
function GTGUI.Element:TextEditorErrorListBoxItem(lineNumber, message)
self.LineNumberBox = GTGUI.Server.CreateElement(self, "text-editor-error-list-box-item-linenumber");
self.LineNumberBox:SetText(tostring(lineNumber));
self.Message... | 28.211538 | 106 | 0.629857 |
a534c49c86c3ebba99bd8266090a3accc0ce1982 | 1,999 | kt | Kotlin | app/src/main/java/com/cyrilpillai/androidthingsdemo/MainActivity.kt | cyrilpillai/AndroidThingsDemo | 2cc9dbfe300fb85c317577dcb3f162940633d4d6 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/cyrilpillai/androidthingsdemo/MainActivity.kt | cyrilpillai/AndroidThingsDemo | 2cc9dbfe300fb85c317577dcb3f162940633d4d6 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/cyrilpillai/androidthingsdemo/MainActivity.kt | cyrilpillai/AndroidThingsDemo | 2cc9dbfe300fb85c317577dcb3f162940633d4d6 | [
"Apache-2.0"
] | null | null | null | package com.cyrilpillai.androidthingsdemo
import android.Manifest
import android.app.Activity
import android.content.ContentValues.TAG
import android.content.pm.PackageManager
import android.graphics.BitmapFactory
import android.media.ImageReader
import android.os.Bundle
import android.os.Handler
import android.os.Han... | 31.730159 | 99 | 0.678339 |
a452952f7f038da1fc17281536a59ad3a1e2648e | 1,880 | php | PHP | resources/views/buyerdashboard.blade.php | adityav2008/bubiland | c85dbee723e4e843dfbff0f2ea656f70c5bdf418 | [
"MIT"
] | null | null | null | resources/views/buyerdashboard.blade.php | adityav2008/bubiland | c85dbee723e4e843dfbff0f2ea656f70c5bdf418 | [
"MIT"
] | null | null | null | resources/views/buyerdashboard.blade.php | adityav2008/bubiland | c85dbee723e4e843dfbff0f2ea656f70c5bdf418 | [
"MIT"
] | null | null | null | @extends('layouts.buyerdashboardlayout')
@section('content')
<div class = "box">
<div class="box-heading">Weather</div>
<div class="right_col" role="main">
<div class="col-md-12 col-sm-12 col-xs-12">
@if (session('error'))
... | 41.777778 | 296 | 0.484043 |
ccc645ac077586910c071ff7dc0d574f4abc58db | 795 | sh | Shell | .config/polybar/herbstluftwm.sh | shikikan-neko08/neko-hlwm-dotfiles | 92a76f2abba0985b8e4124d3d7e62ff8ca4d135d | [
"MIT"
] | null | null | null | .config/polybar/herbstluftwm.sh | shikikan-neko08/neko-hlwm-dotfiles | 92a76f2abba0985b8e4124d3d7e62ff8ca4d135d | [
"MIT"
] | null | null | null | .config/polybar/herbstluftwm.sh | shikikan-neko08/neko-hlwm-dotfiles | 92a76f2abba0985b8e4124d3d7e62ff8ca4d135d | [
"MIT"
] | null | null | null | #!/bin/sh
hash herbstclient xrandr
print_tags() {
for tag in $(herbstclient tag_status "$1"); do
name=${tag#?}
state=${tag%$name}
case "$state" in
'#')
printf '%%{R} %s %%{R}' "$name"
;;
'+')
printf '%%{F#cccccc}%%{R} %s %%{R}%%{F-}' "$name"
;;
'!')
printf '%%{R} %s! %%{R}' "$name"
;;
... | 18.928571 | 70 | 0.516981 |
b71f1c6c3a7f59c2ff60328502cc41b8afff443a | 12,054 | cpp | C++ | ESP8266/libraries/UPnP/UPnP.cpp | fabiomendescom/ioteey | 3d3cbf7be4c2fd35816898e7c4f300efe8f4f643 | [
"MIT"
] | null | null | null | ESP8266/libraries/UPnP/UPnP.cpp | fabiomendescom/ioteey | 3d3cbf7be4c2fd35816898e7c4f300efe8f4f643 | [
"MIT"
] | null | null | null | ESP8266/libraries/UPnP/UPnP.cpp | fabiomendescom/ioteey | 3d3cbf7be4c2fd35816898e7c4f300efe8f4f643 | [
"MIT"
] | null | null | null | /*
* ESP8266 Simple UPnP framework
* There's no separate class for multiple devices,
* also currently we allocate only one service,
* because we assume one (IoT) device is all we do.
*
* Copyright (c) 2015 Hristo Gochkov
* Copyright (c) 2015 Danny Backx
*
* Original (Arduino) version by Filippo Sallemi,... | 33.483333 | 313 | 0.605359 |
a9ea1b82a23035f6904c72b60dfce6764bd7c22d | 2,890 | php | PHP | resources/views/empleado/ajax/contactoEmergencia.blade.php | BryantOrtega10/gesath | 2dd9771baf08458525f5eb4fd2055d5215fc0780 | [
"MIT"
] | null | null | null | resources/views/empleado/ajax/contactoEmergencia.blade.php | BryantOrtega10/gesath | 2dd9771baf08458525f5eb4fd2055d5215fc0780 | [
"MIT"
] | null | null | null | resources/views/empleado/ajax/contactoEmergencia.blade.php | BryantOrtega10/gesath | 2dd9771baf08458525f5eb4fd2055d5215fc0780 | [
"MIT"
] | null | null | null | <div class="emergencia" data-id="{{$num}}">
<div class="row">
<div class="col-11"></div>
<div class="col-1 text-right">
<a href="#" class="btn btn-outline-danger quitarContactoEmergencia" data-id="{{$num}}">Quitar</a>
</div>
</div>
<input type="hidden" name="idContactoEme... | 49.827586 | 159 | 0.489273 |