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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
daa0844e5aed430b4a6c90f11a1c5ab16b16c7b7 | 1,086 | php | PHP | src/query/QueryEmpty.php | buizcore/BuizCore | 9e56f7b7f9a7045d530b2a343d1876c0524b089f | [
"BSD-3-Clause"
] | null | null | null | src/query/QueryEmpty.php | buizcore/BuizCore | 9e56f7b7f9a7045d530b2a343d1876c0524b089f | [
"BSD-3-Clause"
] | null | null | null | src/query/QueryEmpty.php | buizcore/BuizCore | 9e56f7b7f9a7045d530b2a343d1876c0524b089f | [
"BSD-3-Clause"
] | null | null | null | <?php
/*******************************************************************************
*
* @author : Dominik Bonsch <d.bonsch@buizcore.com>
* @date :
* @copyright : BuizCore GmbH <contact@buizcore.com>
* @project : BuizCore the business core
* @projectUrl : http://buizcore.net
*
* @licence : BSD ... | 24.681818 | 80 | 0.459484 |
32333e9f6bb62d150f5325de4201003418dbe86a | 10,699 | dart | Dart | lib/src/constant/unit/acceleration_unit_details.dart | joojaesook/unit_converter | 89d127c8fd16dd57eed70e9290011ba4cdded468 | [
"BSD-3-Clause"
] | null | null | null | lib/src/constant/unit/acceleration_unit_details.dart | joojaesook/unit_converter | 89d127c8fd16dd57eed70e9290011ba4cdded468 | [
"BSD-3-Clause"
] | null | null | null | lib/src/constant/unit/acceleration_unit_details.dart | joojaesook/unit_converter | 89d127c8fd16dd57eed70e9290011ba4cdded468 | [
"BSD-3-Clause"
] | 1 | 2019-12-14T08:12:43.000Z | 2019-12-14T08:12:43.000Z | import 'dart:math' show pow;
import '../../enum/acceleration_unit.dart';
import '../../enum/converter.dart';
import '../../enum/length_unit.dart';
import '../../enum/symbol_part.dart';
import '../../enum/time_unit.dart';
import '../../misc/global.dart';
import '../others/misc.dart';
final _hourToSecond = conversionFa... | 24.823666 | 74 | 0.670623 |
dde9bd8f5c5b189b33f3aa42e10252d221e62def | 1,194 | java | Java | modules/chiron/fixture/src/main/java/com/otcdlink/chiron/fixture/BlockingMonolist.java | OTCdLink/Chiron | 310d61577e98e54fa05309b260b089f1b87ed229 | [
"Apache-2.0"
] | null | null | null | modules/chiron/fixture/src/main/java/com/otcdlink/chiron/fixture/BlockingMonolist.java | OTCdLink/Chiron | 310d61577e98e54fa05309b260b089f1b87ed229 | [
"Apache-2.0"
] | null | null | null | modules/chiron/fixture/src/main/java/com/otcdlink/chiron/fixture/BlockingMonolist.java | OTCdLink/Chiron | 310d61577e98e54fa05309b260b089f1b87ed229 | [
"Apache-2.0"
] | null | null | null | package com.otcdlink.chiron.fixture;
import static com.google.common.base.Preconditions.checkState;
/**
* A {@code List} which contains at most one element.
* This is useful for capturing arguments with JMockit. Using {@link #getOrWait()} we can wait
* for the effective call of the method, and got passed argument ... | 23.411765 | 94 | 0.636516 |
b27533bf4815dfd99830c1f88f3e5af8716bd81e | 3,264 | py | Python | facebook_business/adobjects/instagraminsightsresult.py | MyrikLD/facebook-python-business-sdk | a53c8ba0e8f7d0b41b385c60089f6ba00fa5c814 | [
"CNRI-Python"
] | 576 | 2018-05-01T19:09:32.000Z | 2022-03-31T11:45:11.000Z | facebook_business/adobjects/instagraminsightsresult.py | MyrikLD/facebook-python-business-sdk | a53c8ba0e8f7d0b41b385c60089f6ba00fa5c814 | [
"CNRI-Python"
] | 217 | 2018-05-03T07:31:59.000Z | 2022-03-29T14:19:52.000Z | facebook_business/adobjects/instagraminsightsresult.py | MyrikLD/facebook-python-business-sdk | a53c8ba0e8f7d0b41b385c60089f6ba00fa5c814 | [
"CNRI-Python"
] | 323 | 2018-05-01T20:32:26.000Z | 2022-03-29T07:05:12.000Z | # Copyright 2014 Facebook, Inc.
# You are hereby granted a non-exclusive, worldwide, royalty-free license to
# use, copy, modify, and distribute this software in source code or binary
# form for use in connection with the web services and APIs provided by
# Facebook.
# As with any software that integrates with the Fa... | 36.266667 | 84 | 0.709252 |
a9ff89c5a14934da7dea47c11bff89a3217b37b3 | 553 | php | PHP | wp-app/wp-content/plugins/acf-theme-code-pro/pro/render/icon-picker.php | davidsautoapp/davidsautoservicewp | 4519ba08725691c3eb1092239dace159bccaa9ee | [
"MIT"
] | null | null | null | wp-app/wp-content/plugins/acf-theme-code-pro/pro/render/icon-picker.php | davidsautoapp/davidsautoservicewp | 4519ba08725691c3eb1092239dace159bccaa9ee | [
"MIT"
] | null | null | null | wp-app/wp-content/plugins/acf-theme-code-pro/pro/render/icon-picker.php | davidsautoapp/davidsautoservicewp | 4519ba08725691c3eb1092239dace159bccaa9ee | [
"MIT"
] | null | null | null | <?php
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
// ACF Icon Selector Field - https://github.com/houke/acf-icon-picker/
echo $this->indent . htmlspecialchars("<?php if ( " . $this->get_field_method . "( '" . $this->name ."'". $this->location . " ) ) { ?>\n");
echo $this->indent . htmlspecialchar... | 61.444444 | 213 | 0.609403 |
540ab10d0456bdde2b447ff13ab162e60645be9b | 566 | swift | Swift | samples/getting-started/DemoApp/AppDelegate.swift | chenyunguiMilook/UIKit-cross-platform | 0e44ce485bf0e85fc161e1427970760dc2ff951e | [
"Apache-2.0",
"MIT"
] | 498 | 2018-07-19T14:14:29.000Z | 2022-03-25T04:23:57.000Z | samples/getting-started/DemoApp/AppDelegate.swift | chenyunguiMilook/UIKit-cross-platform | 0e44ce485bf0e85fc161e1427970760dc2ff951e | [
"Apache-2.0",
"MIT"
] | 88 | 2018-07-19T17:04:45.000Z | 2022-03-18T16:09:01.000Z | samples/getting-started/DemoApp/AppDelegate.swift | chenyunguiMilook/UIKit-cross-platform | 0e44ce485bf0e85fc161e1427970760dc2ff951e | [
"Apache-2.0",
"MIT"
] | 38 | 2018-07-21T07:04:36.000Z | 2022-03-30T06:35:16.000Z | //
// AppDelegate.swift
// DemoApp
//
// Created by Michael Knoch on 16.07.18.
// Copyright © 2018 flowkey. All rights reserved.
//
import UIKit
final class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(
_ application: UIApplication,
didFinishLa... | 19.517241 | 61 | 0.659011 |
25e0fd5230b5518276c683ddcdf5c6207498dfb4 | 5,666 | cs | C# | Source/EntityFramework.Extended/Audit/AuditLog.cs | StasPerekrestov/EntityFramework.Extended | ef14ba4d16d851018cbf9333cb49add6442cd43e | [
"BSD-3-Clause"
] | 336 | 2017-06-20T15:00:14.000Z | 2022-03-31T09:55:13.000Z | Source/EntityFramework.Extended/Audit/AuditLog.cs | StasPerekrestov/EntityFramework.Extended | ef14ba4d16d851018cbf9333cb49add6442cd43e | [
"BSD-3-Clause"
] | 26 | 2017-06-19T15:30:15.000Z | 2020-10-19T03:18:50.000Z | Source/EntityFramework.Extended/Audit/AuditLog.cs | StasPerekrestov/EntityFramework.Extended | ef14ba4d16d851018cbf9333cb49add6442cd43e | [
"BSD-3-Clause"
] | 96 | 2017-07-11T02:05:28.000Z | 2022-03-31T02:37:11.000Z | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using EntityFramework.Reflection;
namespace EntityFramework.Audit
{
/// <summary>
/// A class representing a log of the c... | 32.94186 | 111 | 0.529474 |
796387c0c403ecbc6b4e599f99c8ed0c5dfed088 | 1,497 | php | PHP | app/Http/Controllers/Api/TicketController.php | Bahrom554/Ticket | fc626f758871c7738db957ad2644207720e4bcb3 | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/TicketController.php | Bahrom554/Ticket | fc626f758871c7738db957ad2644207720e4bcb3 | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/TicketController.php | Bahrom554/Ticket | fc626f758871c7738db957ad2644207720e4bcb3 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Api;
use App\Order;
use App\Region;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Ticket;
class TicketController extends Controller
{
public function allregion()
{
$regions=Region::all();
return response()->json(['regions'=>$reg... | 28.245283 | 128 | 0.583166 |
24af5f02641b2e767ae83480dd08508e419f6769 | 6,780 | php | PHP | resources/views/registers/show.blade.php | Lateefat99/registration | 0dd4862735e9032b2caa755ba4a8f66e32e81170 | [
"MIT"
] | 1 | 2021-05-04T16:02:25.000Z | 2021-05-04T16:02:25.000Z | resources/views/registers/show.blade.php | Lateefat99/registration | 0dd4862735e9032b2caa755ba4a8f66e32e81170 | [
"MIT"
] | null | null | null | resources/views/registers/show.blade.php | Lateefat99/registration | 0dd4862735e9032b2caa755ba4a8f66e32e81170 | [
"MIT"
] | null | null | null | <x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Student Information') }}
</h2>
</x-slot>
<div>
<div class="max-w-7xl mx-auto py-10 sm:px-6 lg:px-8">
<div class="mt-5 md:mt-0 md:col-span-2">
... | 46.122449 | 137 | 0.237168 |
e042dd1dfe0ab7becd28024a5423608f7f6d1b46 | 1,663 | h | C | Terrain/chunk.h | marcgpuig/FrozenEngine | 0abb8a15bc68efff8865f06523bc1d7b6f255175 | [
"MIT"
] | 2 | 2021-02-05T17:26:26.000Z | 2022-02-16T06:18:04.000Z | Terrain/chunk.h | marcgpuig/FrozenEngine | 0abb8a15bc68efff8865f06523bc1d7b6f255175 | [
"MIT"
] | null | null | null | Terrain/chunk.h | marcgpuig/FrozenEngine | 0abb8a15bc68efff8865f06523bc1d7b6f255175 | [
"MIT"
] | null | null | null | /**********************************************************************
** chunk.h
** Hi ha arrays amb +2 al tamany, aixo es perque es necesiten els
** vertex contigus dels chunks adjacents per calcular les normals
** dels vertex dels laterals
**********************************************************************/
#p... | 26.396825 | 163 | 0.677691 |
b94d5d9fbdb87c6e03e57c436cfac32cc8bf14d3 | 188 | ps1 | PowerShell | Generate.ps1 | saigiridhar21/stachschema-sdks | 8da7f84307eed2e7fd49658b72a258a2a7f485b1 | [
"Apache-2.0"
] | null | null | null | Generate.ps1 | saigiridhar21/stachschema-sdks | 8da7f84307eed2e7fd49658b72a258a2a7f485b1 | [
"Apache-2.0"
] | 6 | 2020-12-14T14:08:49.000Z | 2022-01-07T09:47:06.000Z | Generate.ps1 | saigiridhar21/stachschema-sdks | 8da7f84307eed2e7fd49658b72a258a2a7f485b1 | [
"Apache-2.0"
] | 6 | 2021-01-05T15:16:33.000Z | 2021-03-19T13:33:33.000Z | git clone --depth 1 https://github.com/factset/stachschema.git schema
$env:SCHEMA="$(pwd)/schema/proto"
docker-compose -f docker-compose.generate.yml up --remove-orphans
rm /s /q schema | 26.857143 | 69 | 0.75 |
e0011628329d9ba699aba8f8ea6709e79c72b56c | 13,279 | c | C | programs/Xserver/randr/rroutput.c | sourcecode-reloaded/Xming | b9f2e99d00f9445a29803d622d24b5314ee35991 | [
"X11",
"MIT"
] | 4 | 2020-08-21T04:21:14.000Z | 2022-01-15T11:26:11.000Z | programs/Xserver/randr/rroutput.c | sourcecode-reloaded/Xming | b9f2e99d00f9445a29803d622d24b5314ee35991 | [
"X11",
"MIT"
] | 1 | 2020-02-23T19:22:52.000Z | 2020-02-23T19:22:52.000Z | programs/Xserver/randr/rroutput.c | talregev/Xming | e7a997e3c6441c572df6953468fd8e88ca9e07e7 | [
"X11",
"MIT"
] | 3 | 2020-12-18T06:33:36.000Z | 2022-02-22T16:25:50.000Z | /*
* Copyright © 2006 Keith Packard
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that copyright
* notice and this permission notice appear... | 24.409926 | 79 | 0.646359 |
8c1265f8b71b2b90fa62bbbb04ec2695627eb005 | 1,076 | cs | C# | src/Stump.DofusProtocol/Messages/Messages/Game/Context/Fight/GameFightTurnResumeMessage.cs | Daymortel/Stump | 52ef6d4d565467f117fbd92b2827041d97044180 | [
"Apache-2.0"
] | 2 | 2021-11-03T04:33:50.000Z | 2022-01-01T00:08:37.000Z | src/Stump.DofusProtocol/Messages/Messages/Game/Context/Fight/GameFightTurnResumeMessage.cs | Daymortel/Stump | 52ef6d4d565467f117fbd92b2827041d97044180 | [
"Apache-2.0"
] | 1 | 2021-09-11T21:18:14.000Z | 2021-09-11T21:18:14.000Z | src/Stump.DofusProtocol/Messages/Messages/Game/Context/Fight/GameFightTurnResumeMessage.cs | Daymortel/Stump | 52ef6d4d565467f117fbd92b2827041d97044180 | [
"Apache-2.0"
] | 2 | 2021-09-11T08:42:53.000Z | 2021-12-23T00:30:48.000Z | namespace Stump.DofusProtocol.Messages
{
using System;
using System.Linq;
using System.Text;
using Stump.DofusProtocol.Types;
using Stump.Core.IO;
[Serializable]
public class GameFightTurnResumeMessage : GameFightTurnStartMessage
{
public new const uint Id = 6307;
publi... | 25.619048 | 93 | 0.606877 |
2a6bb1e6927262ba291c37cbdd6b925527a663d8 | 108 | sql | SQL | fdb-sql-layer-core/src/test/resources/com/foundationdb/sql/optimizer/rule/aggregate/subquery-2.sql | geophile/sql-layer | 0eab8b596b729081b9265631230a6703b854a4ec | [
"MIT"
] | null | null | null | fdb-sql-layer-core/src/test/resources/com/foundationdb/sql/optimizer/rule/aggregate/subquery-2.sql | geophile/sql-layer | 0eab8b596b729081b9265631230a6703b854a4ec | [
"MIT"
] | null | null | null | fdb-sql-layer-core/src/test/resources/com/foundationdb/sql/optimizer/rule/aggregate/subquery-2.sql | geophile/sql-layer | 0eab8b596b729081b9265631230a6703b854a4ec | [
"MIT"
] | null | null | null | SELECT (SELECT name FROM customers WHERE customers.cid = orders.cid), COUNT(*)
FROM orders
GROUP BY cid
| 27 | 78 | 0.740741 |
4e4988965a5dc92b0eacc883d342b79f2dc76a59 | 3,389 | ps1 | PowerShell | RocketCyberAPI/Resources/Office.ps1 | Celerium/RocketCyber-PowerShellWrapper | 97664acb9c40cba55863131155310245573bb7f0 | [
"MIT"
] | 1 | 2022-03-22T02:01:33.000Z | 2022-03-22T02:01:33.000Z | RocketCyberAPI/Resources/Office.ps1 | Celerium/RocketCyber-PowerShellWrapper | 97664acb9c40cba55863131155310245573bb7f0 | [
"MIT"
] | null | null | null | RocketCyberAPI/Resources/Office.ps1 | Celerium/RocketCyber-PowerShellWrapper | 97664acb9c40cba55863131155310245573bb7f0 | [
"MIT"
] | null | null | null | function Get-RocketCyberOffice {
<#
.SYNOPSIS
Gets Office365 integration information for a given ID from the RocketCyber API.
.DESCRIPTION
The Get-RocketCyberOffice cmdlet gets Office365 integration information for a given ID from the RocketCyber API.
.PARAMETER id
Data will be ret... | 31.091743 | 133 | 0.514901 |
a146f18acea90f67952936faa6d5814427776544 | 229 | ts | TypeScript | src/set/union/union.ts | zefiros-software/axioms | c797b76a1b7210843759b3b665ff23dc7f59d55b | [
"MIT"
] | null | null | null | src/set/union/union.ts | zefiros-software/axioms | c797b76a1b7210843759b3b665ff23dc7f59d55b | [
"MIT"
] | 32 | 2021-11-28T15:17:54.000Z | 2022-03-28T01:44:37.000Z | src/set/union/union.ts | zefiros-software/axioms | c797b76a1b7210843759b3b665ff23dc7f59d55b | [
"MIT"
] | null | null | null | import type { Traversable } from '../../type/traversable'
export function union<T>(xs: Traversable<T>, ys: Traversable<T>): Set<T> {
const sxs = new Set(xs)
const sys = new Set(ys)
return new Set([...sxs, ...sys])
}
| 28.625 | 74 | 0.620087 |
8c8521a4a5d2e722c855409bb16a1a3518cf4fbf | 3,146 | dart | Dart | lib/screens/welcome.dart | ghostdev7/booksi-app | a15474574fe458960b4046dd0aca75ec64cc0249 | [
"MIT"
] | null | null | null | lib/screens/welcome.dart | ghostdev7/booksi-app | a15474574fe458960b4046dd0aca75ec64cc0249 | [
"MIT"
] | null | null | null | lib/screens/welcome.dart | ghostdev7/booksi-app | a15474574fe458960b4046dd0aca75ec64cc0249 | [
"MIT"
] | null | null | null | import 'package:booksi/screens/home.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
class Welcome extends StatelessWidget {
Welcome({Key key, this.title}) : super(key: key);
final String title;
@override
Widget build(BuildContext context) {
return Scaffold(
bod... | 30.543689 | 93 | 0.4822 |
e2992c394330d2b226aa0b4dd7a226029f5f3f01 | 890 | py | Python | script/skin/color_preview.py | UnnamedOrange/Vivado-Term-Project | ab847a24c7f910445e93d7c6112fe2c1f9fa7334 | [
"MIT"
] | 1 | 2021-07-14T02:39:52.000Z | 2021-07-14T02:39:52.000Z | script/skin/color_preview.py | UnnamedOrange/Vivado-Term-Project | ab847a24c7f910445e93d7c6112fe2c1f9fa7334 | [
"MIT"
] | null | null | null | script/skin/color_preview.py | UnnamedOrange/Vivado-Term-Project | ab847a24c7f910445e93d7c6112fe2c1f9fa7334 | [
"MIT"
] | null | null | null | # Copyright (c) UnnamedOrange and Jack-Lyu. Licensed under the MIT License.
# See the LICENSE file in the repository root for full license text.
import numpy as np
from PIL import Image
if __name__ == '__main__':
width = 10
image = np.zeros((256 * width, 16 * width, 3), dtype=np.uint8)
i, j = 0, 0
for... | 35.6 | 75 | 0.45618 |
ae7264eca601d177502a5eb65f67b83ea9355e49 | 3,975 | cs | C# | InClass/3DMath/Assets/Scenes/CamreaLook.cs | Lea-0821/CodeLab1 | 5f98eee731e88dce21406a2d0afd90c9ac517581 | [
"Unlicense"
] | null | null | null | InClass/3DMath/Assets/Scenes/CamreaLook.cs | Lea-0821/CodeLab1 | 5f98eee731e88dce21406a2d0afd90c9ac517581 | [
"Unlicense"
] | null | null | null | InClass/3DMath/Assets/Scenes/CamreaLook.cs | Lea-0821/CodeLab1 | 5f98eee731e88dce21406a2d0afd90c9ac517581 | [
"Unlicense"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CamreaLook : MonoBehaviour
{
public float sphereRadius = 0.1f;
// The offset of grabed object
[SerializeField]private float zOffset =3f;
[SerializeField] private float xOffset = 0f;
[SerializeField] private... | 30.113636 | 127 | 0.603774 |
e943e1789cd3265cd67261eb239671a0b40b866d | 726 | swift | Swift | DYZB/DYZB/Classes/Home/Model/DYCycleItem.swift | Resoulte/DYZB | e7e8c1e5df1f8bef39f2d30611137f5feca9056b | [
"MIT"
] | 1 | 2016-10-24T05:23:18.000Z | 2016-10-24T05:23:18.000Z | DYZB/DYZB/Classes/Home/Model/DYCycleItem.swift | Resoulte/DYZB | e7e8c1e5df1f8bef39f2d30611137f5feca9056b | [
"MIT"
] | null | null | null | DYZB/DYZB/Classes/Home/Model/DYCycleItem.swift | Resoulte/DYZB | e7e8c1e5df1f8bef39f2d30611137f5feca9056b | [
"MIT"
] | null | null | null | //
// DYCycleItem.swift
// DYZB
//
// Created by ma c on 16/10/30.
// Copyright © 2016年 shifei. All rights reserved.
//
import UIKit
class DYCycleItem: NSObject {
/// 标题
var title = ""
/// 展示的图片地址
var pic_url = ""
/// 主播信息对应的字典
var room : [String : Any]? {
didSet {
... | 17.707317 | 72 | 0.498623 |
46bb4ab6a81f86804bb7f29608c3356a8eab36ff | 4,534 | py | Python | dAAMs/utils.py | yuxiang-zhou/DenseDeformableModel | 0239d32f7694894c1dc564d4fd7131d0b7862ebc | [
"MIT"
] | null | null | null | dAAMs/utils.py | yuxiang-zhou/DenseDeformableModel | 0239d32f7694894c1dc564d4fd7131d0b7862ebc | [
"MIT"
] | null | null | null | dAAMs/utils.py | yuxiang-zhou/DenseDeformableModel | 0239d32f7694894c1dc564d4fd7131d0b7862ebc | [
"MIT"
] | null | null | null | import os
import glob
import numpy as np
import cv2
import menpo.io as mio
from menpo.image import Image, BooleanImage
from menpo.shape import TriMesh, PointCloud
from .lineerror import interpolate
from skimage import filters
# IO
def import_image(img_path):
img = cv2.imread(str(img_path))
original_image =... | 30.635135 | 137 | 0.604764 |
c64fb860bb26e7fe999c0bb309c8f68a96570e9b | 738 | ps1 | PowerShell | Plugins/20 Cluster/38 Cluster Configuration Issues.ps1 | scotland81/vCheck-vSphere | e4340f1681547929d90517deb9062aaa38bf59e9 | [
"MIT"
] | 586 | 2015-01-01T07:58:11.000Z | 2022-03-29T12:53:42.000Z | Plugins/20 Cluster/38 Cluster Configuration Issues.ps1 | scotland81/vCheck-vSphere | e4340f1681547929d90517deb9062aaa38bf59e9 | [
"MIT"
] | 376 | 2015-01-01T12:31:32.000Z | 2022-03-23T17:45:50.000Z | Plugins/20 Cluster/38 Cluster Configuration Issues.ps1 | scotland81/vCheck-vSphere | e4340f1681547929d90517deb9062aaa38bf59e9 | [
"MIT"
] | 308 | 2015-01-01T12:21:53.000Z | 2022-03-03T09:20:39.000Z | $Title = "Cluster Configuration Issues"
$Header = "Cluster(s) Config Issue(s): [count]"
$Comments = "The following alarms have been registered against clusters in vCenter"
$Display = "Table"
$Author = "Alan Renouf"
$PluginVersion = 1.1
$PluginCategory = "vSphere"
# Start of Settings
# End of Settings
$clualarms = @... | 29.52 | 83 | 0.663957 |
147b9605430915f5321f94be269377c817476159 | 1,128 | ts | TypeScript | src/app/app.component.ts | takemurakimio/qualifyed-web | ccd52727a5f0c59f482eb0712ebad17299e72514 | [
"Apache-2.0"
] | 1 | 2021-10-05T10:04:01.000Z | 2021-10-05T10:04:01.000Z | src/app/app.component.ts | takemurakimio/qualifyed-web | ccd52727a5f0c59f482eb0712ebad17299e72514 | [
"Apache-2.0"
] | null | null | null | src/app/app.component.ts | takemurakimio/qualifyed-web | ccd52727a5f0c59f482eb0712ebad17299e72514 | [
"Apache-2.0"
] | null | null | null |
import { HttpClient,HttpHeaders} from '@angular/common/http';
import * as $ from 'jquery';
import * as myGlobals from './global';
import { Router } from '@angular/router';
import { UserService } from './user.service';
import { Component, Input, ElementRef, ViewChild } from '@angular/core';
import {COMMA, ENTER} fro... | 21.692308 | 92 | 0.70656 |
e715f1a82e3dfbd9c6c28256bad6559cf007ca05 | 1,390 | php | PHP | src/Armd/MkCommentBundle/Acl/AclCommentManager.php | damedia/culture.ru | bfccba9f70f17d5cf201d25ed2858081afbb4865 | [
"MIT"
] | 1 | 2015-03-20T16:11:37.000Z | 2015-03-20T16:11:37.000Z | src/Armd/MkCommentBundle/Acl/AclCommentManager.php | damedia/culture.ru | bfccba9f70f17d5cf201d25ed2858081afbb4865 | [
"MIT"
] | null | null | null | src/Armd/MkCommentBundle/Acl/AclCommentManager.php | damedia/culture.ru | bfccba9f70f17d5cf201d25ed2858081afbb4865 | [
"MIT"
] | null | null | null | <?php
namespace Armd\MkCommentBundle\Acl;
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
use FOS\UserBundle\Model\UserInterface;
use FOS\CommentBundle\Acl\AclCommentManager as BaseManager;
class AclCommentManager extends BaseManager
{
/**
* {@inheritDoc}
*/
public function... | 23.166667 | 70 | 0.600719 |
266f9bc04bf6827d22bceec2fb2aa16f8b3a4154 | 964 | lua | Lua | utils/stack.lua | waldr/learning_to_add | d6238a8a7130e800407e7a64577e9f42efac87d4 | [
"Apache-2.0"
] | 480 | 2015-01-06T21:00:37.000Z | 2022-03-02T00:50:02.000Z | utils/stack.lua | waldr/learning_to_add | d6238a8a7130e800407e7a64577e9f42efac87d4 | [
"Apache-2.0"
] | 10 | 2015-05-09T10:07:08.000Z | 2018-12-02T15:16:24.000Z | utils/stack.lua | waldr/learning_to_add | d6238a8a7130e800407e7a64577e9f42efac87d4 | [
"Apache-2.0"
] | 145 | 2015-01-02T13:41:07.000Z | 2022-01-05T18:28:23.000Z | --[[
Copyright 2014 Google Inc. 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 applicable law or... | 24.1 | 74 | 0.727178 |
249633434c303744fc8455cd440f665b536b5727 | 1,745 | kt | Kotlin | app/src/main/java/com/android/itrip/viewModels/HomeViewModel.kt | UTN-FRBA-Mobile/iTrip | eedae3ec26b590677c6495d894b24ab5c6439461 | [
"MIT"
] | 3 | 2019-10-15T23:09:09.000Z | 2019-12-08T14:56:21.000Z | app/src/main/java/com/android/itrip/viewModels/HomeViewModel.kt | UTN-FRBA-Mobile/iTrip | eedae3ec26b590677c6495d894b24ab5c6439461 | [
"MIT"
] | null | null | null | app/src/main/java/com/android/itrip/viewModels/HomeViewModel.kt | UTN-FRBA-Mobile/iTrip | eedae3ec26b590677c6495d894b24ab5c6439461 | [
"MIT"
] | 2 | 2019-10-17T23:05:25.000Z | 2019-12-08T14:57:03.000Z | package com.android.itrip.viewModels
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.android.itrip.dependencyInjection.ContextModule
import com.android.itrip.dependencyInjection.DaggerApiComponent
import c... | 29.576271 | 91 | 0.676218 |
d1879b56b246aa6cc00f355a26e3c78a900f0da7 | 371 | cshtml | C# | Krompaco.CloudAccelerator/Views/Proxy/Index.cshtml | krompaco/cloud-accelerator | 1dfa88a8bf4bd55ff4df33c5523806dd5113f49c | [
"MIT"
] | 8 | 2015-04-22T08:02:21.000Z | 2021-02-11T20:59:27.000Z | Krompaco.CloudAccelerator/Views/Proxy/Index.cshtml | krompaco/cloud-accelerator | 1dfa88a8bf4bd55ff4df33c5523806dd5113f49c | [
"MIT"
] | 2 | 2015-04-29T12:29:25.000Z | 2019-04-11T20:37:31.000Z | Krompaco.CloudAccelerator/Views/Proxy/Index.cshtml | krompaco/cloud-accelerator | 1dfa88a8bf4bd55ff4df33c5523806dd5113f49c | [
"MIT"
] | 2 | 2015-04-29T11:00:40.000Z | 2016-05-03T04:39:51.000Z | @{
ViewBag.Title = Request.Url.Host;
}
<h2>Examples</h2>
<ul>
<li><a href="/k.nu/gui/i/krompaco.png">/k.nu/gui/i/krompaco.png</a> - Fetched and outputted with no compression and far future expiry</li>
<li><a href="/k.nu/files/samples/cd-catalog.xml">/k.nu/files/samples/cd-catalog.xml</a> - Compresses if compre... | 33.727273 | 155 | 0.692722 |
a11692d90f1e248abccc219fb74d0863d046a86f | 510 | tsx | TypeScript | src/lib/open-page.tsx | fliegwerk/search-popup-component | a691e4eacb239045bebb40f5ac9db82618da67f9 | [
"MIT"
] | 2 | 2021-01-12T10:35:48.000Z | 2021-01-24T13:58:00.000Z | src/lib/open-page.tsx | fliegwerk/search-popup-component | a691e4eacb239045bebb40f5ac9db82618da67f9 | [
"MIT"
] | 185 | 2021-01-23T01:47:49.000Z | 2022-03-29T23:16:50.000Z | src/lib/open-page.tsx | fliegwerk/search-popup-component | a691e4eacb239045bebb40f5ac9db82618da67f9 | [
"MIT"
] | null | null | null | function notOnSamePage(pathname: string) {
return (
(window.location.pathname.endsWith('/')
? window.location.pathname
: window.location.pathname + '/') !==
(pathname.endsWith('/') ? pathname : pathname + '/')
);
}
export function openPage(pathname: string, hash: string) {
if (notOnSamePage(pathname)) {
... | 26.842105 | 58 | 0.67451 |
3886e07630e3970bb681b42ddc5336768448cb2e | 4,943 | php | PHP | app/Http/Controllers/ServicoController.php | urnauzao/melhor-saude-webservice | e71f5dd44d1267093a41bbc856dc93004dccc7f6 | [
"MIT"
] | null | null | null | app/Http/Controllers/ServicoController.php | urnauzao/melhor-saude-webservice | e71f5dd44d1267093a41bbc856dc93004dccc7f6 | [
"MIT"
] | null | null | null | app/Http/Controllers/ServicoController.php | urnauzao/melhor-saude-webservice | e71f5dd44d1267093a41bbc856dc93004dccc7f6 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Models\Clinica;
use App\Models\Servico;
use Illuminate\Http\Request;
class ServicoController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return "S... | 29.248521 | 137 | 0.480477 |
14ca16934983c97c3321c42f266b41f3e2ebcfd4 | 1,786 | ts | TypeScript | clausewitz-eu4-ui/src/app/services/province.service.ts | primislas/oikoumene | 15130217b2e87bf183310f0c1d40e394029ee135 | [
"MIT"
] | 4 | 2018-10-06T04:40:45.000Z | 2022-01-03T13:34:59.000Z | clausewitz-eu4-ui/src/app/services/province.service.ts | primislas/oikoumene | 15130217b2e87bf183310f0c1d40e394029ee135 | [
"MIT"
] | 134 | 2018-01-29T08:33:17.000Z | 2022-03-02T04:00:32.000Z | clausewitz-eu4-ui/src/app/services/province.service.ts | primislas/oikoumene | 15130217b2e87bf183310f0c1d40e394029ee135 | [
"MIT"
] | 1 | 2021-11-25T17:55:37.000Z | 2021-11-25T17:55:37.000Z | import {Injectable} from '@angular/core';
import {HttpClient} from '@angular/common/http';
import {RestConstantsService} from './rest-constants.service';
import {Observable} from 'rxjs';
import {SearchResult} from '../model/search/search.result';
import {ProvinceListEntity} from '../model/province/province.list.entity'... | 33.698113 | 100 | 0.711646 |
e713c93adc9a875cf71fe432f40b59b83946cc9a | 2,091 | php | PHP | resources/views/login.blade.php | Cloumus30/class-api | cfae38663e6e0b6cf796ec3d8057d32d28cf56f3 | [
"MIT"
] | null | null | null | resources/views/login.blade.php | Cloumus30/class-api | cfae38663e6e0b6cf796ec3d8057d32d28cf56f3 | [
"MIT"
] | null | null | null | resources/views/login.blade.php | Cloumus30/class-api | cfae38663e6e0b6cf796ec3d8057d32d28cf56f3 | [
"MIT"
] | null | null | null | @extends('layouts.main')
@section('head')
<link rel="stylesheet" href="{{url('style2.css')}}">
@endsection
@section('title')
Login Page
@endsection
@section('body')
<div class="container">
<div class="d-flex flex-column justify-content-center align-item-center" style="height:50em;">
<div class="j... | 41 | 123 | 0.46198 |
a44aa3eda028285f14e1de6cb6291b638a415591 | 3,220 | php | PHP | application/models/M_room.php | kokowijanarko/asrama | cfe97e0caf11278f7beecfef19360010777306fa | [
"MIT",
"Unlicense"
] | null | null | null | application/models/M_room.php | kokowijanarko/asrama | cfe97e0caf11278f7beecfef19360010777306fa | [
"MIT",
"Unlicense"
] | null | null | null | application/models/M_room.php | kokowijanarko/asrama | cfe97e0caf11278f7beecfef19360010777306fa | [
"MIT",
"Unlicense"
] | null | null | null | <?php
if(!defined('BASEPATH')) exit('No direct script access allowed');
class M_room extends CI_Model
{
public function __construct()
{
parent::__construct();
$this->load->database();
$this->load->library('session');
}
function get(){
$query = $this->db->query... | 23.333333 | 85 | 0.579814 |
572565c831c72a4f261856acf21404fb7abeecca | 37 | js | JavaScript | node_modules/dolober/src/js/dolober.js | Taiqo/lagrume-builder | 928b51152e6f9b95842a206de940463382fa13aa | [
"MIT"
] | null | null | null | node_modules/dolober/src/js/dolober.js | Taiqo/lagrume-builder | 928b51152e6f9b95842a206de940463382fa13aa | [
"MIT"
] | 7 | 2020-07-21T03:41:58.000Z | 2022-02-13T16:00:23.000Z | node_modules/dolober/src/js/dolober.js | Taiqo/lagrume-builder | 928b51152e6f9b95842a206de940463382fa13aa | [
"MIT"
] | null | null | null | // TODO: add all scripts in one file
| 18.5 | 36 | 0.702703 |
05d8dfd6c354978c05856be514a4809f0e264445 | 1,989 | py | Python | sdca4crf/parameters/sparse_weights.py | remilepriol/sdca4crf | 13e7fbd741f6f4530de1983ca10e1760aa702207 | [
"MIT"
] | 3 | 2018-06-25T23:16:18.000Z | 2020-11-11T00:45:49.000Z | sdca4crf/parameters/sparse_weights.py | remilepriol/sdca4crf | 13e7fbd741f6f4530de1983ca10e1760aa702207 | [
"MIT"
] | null | null | null | sdca4crf/parameters/sparse_weights.py | remilepriol/sdca4crf | 13e7fbd741f6f4530de1983ca10e1760aa702207 | [
"MIT"
] | null | null | null | import numpy as np
from sdca4crf.parameters.weights import WeightsWithoutEmission
class SparsePrimalDirection(WeightsWithoutEmission):
def __init__(self, sparse_emission=None, bias=None, transition=None,
nb_labels=0):
super().__init__(bias, transition, nb_labels)
self.sparse_emi... | 32.080645 | 93 | 0.6727 |
5d5c8d61bbc841b1940469f71093a39bc9c1dfc1 | 3,994 | cc | C++ | tce/src/base/bem/DestinationField.cc | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 74 | 2015-10-22T15:34:10.000Z | 2022-03-25T07:57:23.000Z | tce/src/base/bem/DestinationField.cc | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 79 | 2015-11-19T09:23:08.000Z | 2022-01-12T14:15:16.000Z | tce/src/base/bem/DestinationField.cc | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 38 | 2015-11-17T10:12:23.000Z | 2022-03-25T07:57:24.000Z | /*
Copyright (c) 2002-2009 Tampere University.
This file is part of TTA-Based Codesign Environment (TCE).
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, ... | 32.737705 | 79 | 0.705058 |
f432c9c683728cf5896104b2fce877fe40247b8a | 2,793 | cshtml | C# | src/Web/CookingHub.Web/Views/Shared/_FooterPartial.cshtml | dimitarpashov99/CookingHub | 03781d1cedafc60c380c877ddc647397ef8ea173 | [
"MIT"
] | 4 | 2020-12-20T15:41:22.000Z | 2022-03-23T04:25:22.000Z | src/Web/CookingHub.Web/Views/Shared/_FooterPartial.cshtml | IvanMihovpz/CookingHub | df50076757066695069914e18e421cdcd8815c8f | [
"MIT"
] | 16 | 2020-11-03T15:52:58.000Z | 2021-01-28T13:07:54.000Z | src/Web/CookingHub.Web/Views/Shared/_FooterPartial.cshtml | IvanMihovpz/CookingHub | df50076757066695069914e18e421cdcd8815c8f | [
"MIT"
] | 5 | 2020-10-21T16:49:00.000Z | 2021-01-25T13:55:37.000Z | @using CookingHub.Common
<div class="container">
<div class="row">
<div class="col-lg-6 col-md-6">
<h3>About Us</h3>
<p>Cooking Hub's goal is to solve all your desires for fresh food ideas.The website's catalog is full of community gathered recipes and articles for you to read. If y... | 58.1875 | 237 | 0.562836 |
98dd3fd4dbd773e2b12d3be12b8b1d8063320f90 | 335 | kt | Kotlin | spring/webflux-kotlin/src/main/kotlin/de/welcz/hello/Application.kt | enolive/learning | 075b714bd7bea6de58a8da16cf142fc6c8535e11 | [
"MIT"
] | 8 | 2016-10-18T09:30:12.000Z | 2021-12-08T13:28:28.000Z | spring/webflux-kotlin/src/main/kotlin/de/welcz/hello/Application.kt | enolive/learning | 075b714bd7bea6de58a8da16cf142fc6c8535e11 | [
"MIT"
] | 29 | 2019-12-28T06:09:07.000Z | 2022-03-02T03:44:19.000Z | spring/webflux-kotlin/src/main/kotlin/de/welcz/hello/Application.kt | enolive/learning | 075b714bd7bea6de58a8da16cf142fc6c8535e11 | [
"MIT"
] | 4 | 2018-07-23T22:20:58.000Z | 2020-09-19T09:46:41.000Z | package de.welcz.hello
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
open class Application
fun main(args: Array<String>) {
runApplication<Application>(*args)
val client = GreetingWebClient()
println(client.retri... | 22.333333 | 67 | 0.8 |
5d802c3e90fa60aa4ed35c964b88a2074c7250a5 | 895 | hpp | C++ | addons/goko_BI/cfgFunctions.hpp | Nilia119/ballistic-impact | c9958190cef6cf6fea77e64e0d8319f59031e3ef | [
"MIT"
] | 3 | 2018-04-05T14:33:55.000Z | 2019-07-09T21:49:50.000Z | addons/goko_BI/cfgFunctions.hpp | Nilia119/ballistic-impact | c9958190cef6cf6fea77e64e0d8319f59031e3ef | [
"MIT"
] | null | null | null | addons/goko_BI/cfgFunctions.hpp | Nilia119/ballistic-impact | c9958190cef6cf6fea77e64e0d8319f59031e3ef | [
"MIT"
] | 3 | 2018-10-08T15:57:30.000Z | 2019-06-08T07:29:01.000Z | /*
function classes for add-on goko ballistic impact mod
Author: Gokmen
website: github.com/the0utsider
*/
class CfgFunctions
{
class goko
{
class ballisticImpact
{
class BallisticImpactMain
{
file = "goko_BI\functions\fn_gokoBI_main.sqf";
preInit = 1
};
class particlefx... | 19.888889 | 63 | 0.631285 |
a45ea16664465549d37e21b2bf637c9e0221fd44 | 8,411 | php | PHP | resources/views/auth/passwords/reset.blade.php | KevinCeferino/intra | 6160f3f460fa7943445491a74ca8ef2111d4cb44 | [
"MIT"
] | null | null | null | resources/views/auth/passwords/reset.blade.php | KevinCeferino/intra | 6160f3f460fa7943445491a74ca8ef2111d4cb44 | [
"MIT"
] | 2 | 2021-05-12T23:27:24.000Z | 2021-05-12T23:28:11.000Z | resources/views/auth/passwords/reset.blade.php | KevinCeferino/intra | 6160f3f460fa7943445491a74ca8ef2111d4cb44 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<?php
$page = Illuminate\Support\Facades\DB::table('settings-page')->select('*')->first();
?>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Cambiar contraseña</title>
<!-- Favicon -->
<link rel="... | 56.073333 | 148 | 0.410653 |
2cb160031efbfbd4c732cd7067c12adbb78cef10 | 105 | py | Python | enthought/appscripting/lazy_namespace.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/appscripting/lazy_namespace.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/appscripting/lazy_namespace.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from apptools.appscripting.lazy_namespace import *
| 26.25 | 50 | 0.857143 |
2c35d8bee675fa1f9a42cd2585db579b4a98e190 | 133 | py | Python | moonleap/outputpath/resources.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | moonleap/outputpath/resources.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | moonleap/outputpath/resources.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from moonleap.resource import Resource
@dataclass
class OutputPath(Resource):
location: str
| 14.777778 | 38 | 0.804511 |
fd8385f8a4e74a93d73e7abc14be30e335d228c8 | 165,769 | css | CSS | build/public/css/main.css | petronbot/petragulicher.com | 6a9f3aff89c6efed0f8fb65247097626d5ea6d32 | [
"MIT"
] | null | null | null | build/public/css/main.css | petronbot/petragulicher.com | 6a9f3aff89c6efed0f8fb65247097626d5ea6d32 | [
"MIT"
] | null | null | null | build/public/css/main.css | petronbot/petragulicher.com | 6a9f3aff89c6efed0f8fb65247097626d5ea6d32 | [
"MIT"
] | null | null | null | @charset "UTF-8";
/**
* This file compiles down into the single css file used by the site. Here we just include compass and the
* HTML5Boilerplate css template. The rest of our css is included at the appropriate place
*/
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */
/* ================================... | 83.848761 | 114,821 | 0.873897 |
0dde5f225429c13d0590447b0405cc6eb5ff14dc | 4,104 | cs | C# | Assets/Scripts/Behavior/TreeSharpPlus/LeafInvoke.cs | TonyPwny/CS428P1 | 23e288be5fbfa22618b672da3e6c9e7696ac067d | [
"MIT"
] | null | null | null | Assets/Scripts/Behavior/TreeSharpPlus/LeafInvoke.cs | TonyPwny/CS428P1 | 23e288be5fbfa22618b672da3e6c9e7696ac067d | [
"MIT"
] | null | null | null | Assets/Scripts/Behavior/TreeSharpPlus/LeafInvoke.cs | TonyPwny/CS428P1 | 23e288be5fbfa22618b672da3e6c9e7696ac067d | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
using System.Reflection;
using System.Reflection.Emit;
using System.Collections;
using UnityEngine;
namespace TreeSharpPlus
{
/// <summary>
/// Executes a lambda function in a node. If the given lambda returns a
... | 29.73913 | 81 | 0.538255 |
7aa62798e4722c77f44bc872fad4688138133473 | 702 | cs | C# | CoreWiki/Configuration/Startup/ConfigureAutomapperServices.cs | spboyer/CoreWiki | 5ef376c0d5557b620ff2ac9670195c7b5fc86ec5 | [
"MIT"
] | 379 | 2018-03-27T15:45:38.000Z | 2022-02-24T21:26:49.000Z | CoreWiki/Configuration/Startup/ConfigureAutomapperServices.cs | spboyer/CoreWiki | 5ef376c0d5557b620ff2ac9670195c7b5fc86ec5 | [
"MIT"
] | 415 | 2018-03-27T15:50:01.000Z | 2021-07-15T10:16:20.000Z | CoreWiki/Configuration/Startup/ConfigureAutomapperServices.cs | spboyer/CoreWiki | 5ef376c0d5557b620ff2ac9670195c7b5fc86ec5 | [
"MIT"
] | 193 | 2018-03-29T15:03:40.000Z | 2022-02-09T03:49:34.000Z | using AutoMapper;
using CoreWiki.Application.Articles.Managing;
using CoreWiki.Application.Articles.Reading;
using Microsoft.Extensions.DependencyInjection;
namespace CoreWiki.Configuration.Startup
{
public static class ConfigureAutomapperServices
{
public static IMapper ConfigureAutomapper(this IServi... | 24.206897 | 80 | 0.742165 |
6648189ff800ca95b7ca4cb5c79135aec1d19a3e | 2,213 | py | Python | authenticate/migrations/0001_initial.py | PatrickCmd/flight-booking-application | a521932530d622c6eef46ea6a0f968c8267b622e | [
"MIT"
] | null | null | null | authenticate/migrations/0001_initial.py | PatrickCmd/flight-booking-application | a521932530d622c6eef46ea6a0f968c8267b622e | [
"MIT"
] | 8 | 2020-02-12T01:01:51.000Z | 2022-03-11T23:59:40.000Z | authenticate/migrations/0001_initial.py | PatrickCmd/flight-booking-application | a521932530d622c6eef46ea6a0f968c8267b622e | [
"MIT"
] | 1 | 2019-08-13T19:04:11.000Z | 2019-08-13T19:04:11.000Z | # Generated by Django 2.2.3 on 2019-07-15 00:36
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="User",
fields=[
(
... | 35.126984 | 88 | 0.437415 |
a7c3cd60a3663e3a95908580620b39e282d8c4db | 4,868 | lua | Lua | credits.lua | MaiaLucas/Run-Square | 61a675b4e25a4946810c90efb600001b609618ac | [
"MIT"
] | null | null | null | credits.lua | MaiaLucas/Run-Square | 61a675b4e25a4946810c90efb600001b609618ac | [
"MIT"
] | 4 | 2019-02-26T19:50:39.000Z | 2019-03-15T15:18:00.000Z | credits.lua | MaiaLucas/Run-Cube-Game | 61a675b4e25a4946810c90efb600001b609618ac | [
"MIT"
] | null | null | null | local composer = require( "composer" )
local scene = composer.newScene()
math.randomseed( os.time() )
-- Set physics
local physics = require("physics")
physics.start()
----------------------------------------------------------
W = display.contentWidth
H = display.contentHeight
X = display.contentCenterX
Y = displa... | 29.682927 | 83 | 0.474733 |
e1d402e77cd40ed47f1c17ff6a71a157a8bdc765 | 21,496 | pkb | SQL | src/plsql/flow_engine_util.pkb | flowsforapex/apex-flowsforapex | f63568cf25fc40ea8c1465d9d0770b7b67f23311 | [
"MIT"
] | 5 | 2022-02-05T12:18:01.000Z | 2022-03-20T23:07:44.000Z | src/plsql/flow_engine_util.pkb | flowsforapex/apex-flowsforapex | f63568cf25fc40ea8c1465d9d0770b7b67f23311 | [
"MIT"
] | 38 | 2022-01-20T17:48:48.000Z | 2022-03-30T11:03:58.000Z | src/plsql/flow_engine_util.pkb | flowsforapex/apex-flowsforapex | f63568cf25fc40ea8c1465d9d0770b7b67f23311 | [
"MIT"
] | 5 | 2022-02-05T08:58:25.000Z | 2022-03-27T20:28:26.000Z | /*
-- Flows for APEX - flow_engine_util.pkb
--
-- (c) Copyright Oracle Corporation and / or its affiliates, 2022.
-- (c) Copyright MT AG, 2021-2022.
--
-- Created April-2021 Richard Allen (Flowquest) - from flow_engine.pkb
--
*/
create or replace package body flow_engine_util
as
lock_timeout exception;
pragma ... | 33.905363 | 178 | 0.663054 |
a13a468bc592c443a9c422f2cdefe17d9b5e8b6d | 578 | ts | TypeScript | app/config/configuration.ts | davidu2d/api-nodejs-nestjs-cypress | 677ed204bbfe2098f622b40e60d880a3fb44b02a | [
"MIT"
] | null | null | null | app/config/configuration.ts | davidu2d/api-nodejs-nestjs-cypress | 677ed204bbfe2098f622b40e60d880a3fb44b02a | [
"MIT"
] | null | null | null | app/config/configuration.ts | davidu2d/api-nodejs-nestjs-cypress | 677ed204bbfe2098f622b40e60d880a3fb44b02a | [
"MIT"
] | null | null | null | export const configuration = () => ({
/*NODE_ENV: process.env.NODE_ENV,
port: parseInt(process.env.PORT, 10) || 3001,
jwt: {
secret: process.env.JWT_SECRET,
expiresIn: process.env.JWT_EXPIRES_IN,
},*/
database: {
host: process.env.MSSQL_HOST,
port: parseInt(process.env.MSSQL_PORT, 1... | 27.52381 | 49 | 0.66436 |
c9f5022ced7057aa30a3d6c00e96cd04a3d82d1a | 1,850 | ts | TypeScript | src/app/members/members.module.ts | inidaname/ADPWebApp | cefec992b5d3b4c23a047e364ac65fd2e489df5d | [
"MIT"
] | null | null | null | src/app/members/members.module.ts | inidaname/ADPWebApp | cefec992b5d3b4c23a047e364ac65fd2e489df5d | [
"MIT"
] | null | null | null | src/app/members/members.module.ts | inidaname/ADPWebApp | cefec992b5d3b4c23a047e364ac65fd2e489df5d | [
"MIT"
] | null | null | null | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AgmCoreModule } from '@agm/core';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { FileUploadModule } from 'ng2-file-upload';
import { CloudinaryModule } from '@cloudinary/angular-5.x';
impor... | 37 | 102 | 0.742703 |
6260910cf19d3c6447fcda3977324a1ae916e07f | 290 | sql | SQL | internal/endtoend/testdata/copyfrom_imports/postgresql/pgx/query.sql | jakoguta/sqlc | 895f4e15db8bd5ff493bc0aa4c94cdc02781801f | [
"MIT"
] | 28 | 2019-07-09T22:48:48.000Z | 2019-08-17T00:20:18.000Z | internal/endtoend/testdata/copyfrom_imports/postgresql/pgx/query.sql | jakoguta/sqlc | 895f4e15db8bd5ff493bc0aa4c94cdc02781801f | [
"MIT"
] | 16 | 2019-07-19T19:53:44.000Z | 2019-08-19T01:57:18.000Z | internal/endtoend/testdata/copyfrom_imports/postgresql/pgx/query.sql | jakoguta/sqlc | 895f4e15db8bd5ff493bc0aa4c94cdc02781801f | [
"MIT"
] | 2 | 2019-07-22T08:10:34.000Z | 2019-08-01T20:30:19.000Z | CREATE SCHEMA myschema;
CREATE TABLE myschema.foo (a text, b integer);
-- name: InsertValues :copyfrom
INSERT INTO myschema.foo (a, b) VALUES ($1, $2);
-- name: InsertSingleValue :exec
INSERT INTO myschema.foo (a) VALUES ($1);
-- name: DeleteValues :execresult
DELETE
FROM myschema.foo;
| 22.307692 | 48 | 0.727586 |
84a8503d3db3fcff69d917b8613aa7658845c6e3 | 11,036 | cs | C# | Libraries/Slf/Ast/Properties/AssemblyInfo.cs | AlexanderMorou/AbstractionProject | 13ed52268973df3ac12e6ccdd13fec88880fa346 | [
"MS-PL"
] | null | null | null | Libraries/Slf/Ast/Properties/AssemblyInfo.cs | AlexanderMorou/AbstractionProject | 13ed52268973df3ac12e6ccdd13fec88880fa346 | [
"MS-PL"
] | null | null | null | Libraries/Slf/Ast/Properties/AssemblyInfo.cs | AlexanderMorou/AbstractionProject | 13ed52268973df3ac12e6ccdd13fec88880fa346 | [
"MS-PL"
] | null | null | null | using AllenCopeland.Abstraction;
using AllenCopeland.Abstraction.Slf.Abstract;
using AllenCopeland.Abstraction.Slf.Ast;
using AllenCopeland.Abstraction.Slf.Ast.Expressions;
using AllenCopeland.Abstraction.Slf.Ast.Expressions.Linq;
using AllenCopeland.Abstraction.Slf.Ast.Members;
using AllenCopeland.Abstraction.S... | 53.057692 | 394 | 0.760058 |
a403056b6717dd930ce0604f40b3a9d029cb52ce | 3,946 | sql | SQL | SQL Scripts/BaseTables/DETAILVIEWS_FIELDS.2.sql | mr-bwnz/SplendidAppBuilder | 79ec92d4cb805ccf408ff95103a1a0a78bc765b7 | [
"MIT"
] | 1 | 2022-03-01T10:27:25.000Z | 2022-03-01T10:27:25.000Z | SQL Scripts/BaseTables/DETAILVIEWS_FIELDS.2.sql | mr-bwnz/SplendidAppBuilder | 79ec92d4cb805ccf408ff95103a1a0a78bc765b7 | [
"MIT"
] | null | null | null | SQL Scripts/BaseTables/DETAILVIEWS_FIELDS.2.sql | mr-bwnz/SplendidAppBuilder | 79ec92d4cb805ccf408ff95103a1a0a78bc765b7 | [
"MIT"
] | 3 | 2022-02-21T13:28:37.000Z | 2022-03-18T06:42:07.000Z | /**********************************************************************************************************************
* Copyright (C) 2005-2022 SplendidCRM Software, Inc.
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentat... | 64.688525 | 132 | 0.603903 |
ae590034ad02c605b03b3cea8da6a995bda23fa3 | 12,585 | cs | C# | itext/itext.forms/itext/forms/fields/PdfTextFormField.cs | Excalib88/itext7-dotnet | 45a465c558f844510e369016e190529e6dff2d41 | [
"RSA-MD"
] | null | null | null | itext/itext.forms/itext/forms/fields/PdfTextFormField.cs | Excalib88/itext7-dotnet | 45a465c558f844510e369016e190529e6dff2d41 | [
"RSA-MD"
] | null | null | null | itext/itext.forms/itext/forms/fields/PdfTextFormField.cs | Excalib88/itext7-dotnet | 45a465c558f844510e369016e190529e6dff2d41 | [
"RSA-MD"
] | null | null | null | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: Bruno Lowagie, Paulo Soares, et al.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation wit... | 46.611111 | 136 | 0.649344 |
38dd898fd9e47a6318e4080ccfad3fe76f42d128 | 1,563 | php | PHP | tests/test_large_input/test.php | termbox/termbox2 | 00c017b261de809400a789ebadccda3059bdecbc | [
"MIT"
] | 30 | 2021-09-22T14:09:54.000Z | 2022-03-24T09:19:27.000Z | tests/test_large_input/test.php | termbox/termbox2 | 00c017b261de809400a789ebadccda3059bdecbc | [
"MIT"
] | 17 | 2021-11-22T06:16:02.000Z | 2022-02-27T22:41:55.000Z | tests/test_large_input/test.php | termbox/termbox2 | 00c017b261de809400a789ebadccda3059bdecbc | [
"MIT"
] | 8 | 2021-10-02T11:00:29.000Z | 2022-02-06T11:00:10.000Z | <?php
declare(strict_types=1);
// init termbox with a "fake" tty backed by memfds
$libc = FFI::cdef(
'int memfd_create(const char *name, unsigned int flags);' .
'int close(int fd);'
);
$ttyin = $libc->memfd_create('ttyin', 0);
$ttyout = $libc->memfd_create('ttyout', 0);
$test->ffi->tb_init_rwfd($ttyin, $ttyout... | 33.255319 | 78 | 0.675624 |
7dbd097bfa8edc9aac85e5e8d358d5e4c4b8b9dc | 341 | css | CSS | src/styles/spacing.css | ShaleeQureshi/Personal-Website-V2 | 9d4ee1c6acb43b1101599402bbc65c7b2dc0c0ec | [
"MIT"
] | null | null | null | src/styles/spacing.css | ShaleeQureshi/Personal-Website-V2 | 9d4ee1c6acb43b1101599402bbc65c7b2dc0c0ec | [
"MIT"
] | null | null | null | src/styles/spacing.css | ShaleeQureshi/Personal-Website-V2 | 9d4ee1c6acb43b1101599402bbc65c7b2dc0c0ec | [
"MIT"
] | null | null | null | .center {
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
}
.left {
position: absolute;
top: 50%;
left: 30%;
transform: translateX(-30%) translateY(-50%);
}
.margin-bottom {
display: inline-block;
padding-bottom: 2%;
}
.margin-top {
display: inline-block;
... | 14.208333 | 47 | 0.621701 |
02863f574abf469cd4bd2879025f5780ccce32cb | 1,034 | rs | Rust | src/models/claim.rs | xorxornop/oidc-rs | 4ac09b43676e93487a1fb0886a0d160892b3542a | [
"Apache-2.0"
] | 5 | 2017-11-03T03:54:36.000Z | 2021-10-20T20:53:59.000Z | src/models/claim.rs | xorxornop/oidc-rs | 4ac09b43676e93487a1fb0886a0d160892b3542a | [
"Apache-2.0"
] | null | null | null | src/models/claim.rs | xorxornop/oidc-rs | 4ac09b43676e93487a1fb0886a0d160892b3542a | [
"Apache-2.0"
] | null | null | null | use std::collections::HashMap;
use std::hash::{Hash, Hasher};
use super::claims_identity::*;
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct Claim {
/// The issuer of the claim
issuer: String,
/// The original issuer of the claim
original_issuer: String,
/// Additional ... | 22.977778 | 62 | 0.617021 |
8e871965dc01f34efdc886c03e6cfe8b68d09748 | 1,133 | rb | Ruby | db/migrate/20110601194123_create_github_contacts.rb | codeforamerica/geek_corps | 17e8ff02f0335674c6e3d43c82108afbc3831d87 | [
"Ruby"
] | null | null | null | db/migrate/20110601194123_create_github_contacts.rb | codeforamerica/geek_corps | 17e8ff02f0335674c6e3d43c82108afbc3831d87 | [
"Ruby"
] | 1 | 2021-04-17T15:41:06.000Z | 2021-04-17T15:41:06.000Z | db/migrate/20110601194123_create_github_contacts.rb | isabella232/geek_corps | 17e8ff02f0335674c6e3d43c82108afbc3831d87 | [
"Ruby"
] | 1 | 2021-04-17T14:58:56.000Z | 2021-04-17T14:58:56.000Z | class CreateGithubContacts < ActiveRecord::Migration
def self.up
create_table :contact_sources do |t|
t.string :name
end
create_table :github_contacts do |t|
t.string :gravatar_id
t.string :company
t.string :name
t.datetime :created_at
t.string :location
... | 26.97619 | 54 | 0.677846 |
5496536a04b742b454267346afe4eb37b8bcbde8 | 3,334 | css | CSS | Virtual Candle Light ( web )/css/mystyle.css | Shubhamrawat5/projects-and-projects | 3bb0be00f9a9553537d0eb8917af9b3e8438c941 | [
"MIT"
] | 10 | 2021-09-30T22:50:54.000Z | 2022-01-10T09:06:36.000Z | Virtual Candle Light ( web )/css/mystyle.css | Shubhamrawat5/projects-and-projects | 3bb0be00f9a9553537d0eb8917af9b3e8438c941 | [
"MIT"
] | 5 | 2021-09-30T23:05:35.000Z | 2021-10-01T16:33:19.000Z | Virtual Candle Light ( web )/css/mystyle.css | Shubhamrawat5/projects-and-projects | 3bb0be00f9a9553537d0eb8917af9b3e8438c941 | [
"MIT"
] | 28 | 2021-09-30T22:50:38.000Z | 2021-10-17T14:14:36.000Z | * {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #07252d;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
color: #fff;
}
h4 {
color: #e4e4e4;
margin-top: 40px;
font-weight: 350;
text-align: center;
font-size: 20px;
}
.fas {
color: rgb(255, 58, 58);
}
.name... | 15.579439 | 77 | 0.60048 |
33d0fe5cac9ab0dea36d88bf9b07550cee6e0261 | 55 | sql | SQL | persistence/sql/migrations/sql/20210410175418000063_network.sqlite3.down.sql | radekg/kratos | 1bfd22bd51100453645006f77da3593926844cda | [
"Apache-2.0"
] | 5,207 | 2019-11-06T15:13:30.000Z | 2022-03-31T21:07:46.000Z | persistence/sql/migrations/sql/20210410175418000063_network.sqlite3.down.sql | radekg/kratos | 1bfd22bd51100453645006f77da3593926844cda | [
"Apache-2.0"
] | 1,248 | 2019-11-06T11:36:50.000Z | 2022-03-31T18:49:03.000Z | persistence/sql/migrations/sql/20210410175418000063_network.sqlite3.down.sql | radekg/kratos | 1bfd22bd51100453645006f77da3593926844cda | [
"Apache-2.0"
] | 641 | 2019-11-14T13:05:05.000Z | 2022-03-31T21:04:17.000Z | DROP INDEX IF EXISTS "selfservice_login_flows_nid_idx"; | 55 | 55 | 0.872727 |
bae244708689dd710e7efa7147f038fdb141b1d0 | 504 | sh | Shell | scripts/30-disk.sh | michael-slx/vagrant-arch64-base | 368620b4cf38ace623be25dd549b691468905b2d | [
"Apache-2.0"
] | 2 | 2020-10-24T20:57:37.000Z | 2020-10-24T20:58:02.000Z | scripts/30-disk.sh | michael-slx/vagrant-arch64-base | 368620b4cf38ace623be25dd549b691468905b2d | [
"Apache-2.0"
] | null | null | null | scripts/30-disk.sh | michael-slx/vagrant-arch64-base | 368620b4cf38ace623be25dd549b691468905b2d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$1"
FILES_DIR="$2"
echo "[Disk] Partitioning disk"
sfdisk /dev/sda < $FILES_DIR/disk/disk-parts.dump > /dev/null
sync
echo "[Disk] Creating file systems"
mkfs.fat -F32 -n "EFI" /dev/sda1 > /dev/null
mkfs.ext4 -L "ROOT" /dev/sda2 > /dev/null
mkswap -L "SWAP" /dev/sda... | 21.913043 | 61 | 0.686508 |
e002fcee1555626589e6a8ef6510b2930c131943 | 3,257 | php | PHP | resources/views/reseller/pengiriman.blade.php | zakythr/veggo_sayur | 09eec854d3152c9e736d1dbbea06a3a8e095158f | [
"MIT"
] | null | null | null | resources/views/reseller/pengiriman.blade.php | zakythr/veggo_sayur | 09eec854d3152c9e736d1dbbea06a3a8e095158f | [
"MIT"
] | null | null | null | resources/views/reseller/pengiriman.blade.php | zakythr/veggo_sayur | 09eec854d3152c9e736d1dbbea06a3a8e095158f | [
"MIT"
] | null | null | null | @extends('reseller.layouts.layout')
@section('title')
Paket Akan Dikirim
@endsection
@section('content')
<div class="container-fluid">
<div class="row">
@if($data['transaksi'] != null)
<div class="col-12">
<div class="card">
<div class="card-body">
... | 45.236111 | 194 | 0.354007 |
dbca9ca323fb9e0cb01103e16ed7c06314cbd8cb | 94 | swift | Swift | BankWallet/BankWallet/Models/CurrencyValue.swift | akaravind/bank-wallet-ios | 50032b756b3dd490b148c8fb669b1af17358eafc | [
"MIT"
] | 1 | 2022-03-23T19:13:25.000Z | 2022-03-23T19:13:25.000Z | BankWallet/BankWallet/Models/CurrencyValue.swift | cryptobuks/bank-wallet-ios-multiple-coins | 80c5e37d069645e3d0fb1c1383539291753200fd | [
"MIT"
] | null | null | null | BankWallet/BankWallet/Models/CurrencyValue.swift | cryptobuks/bank-wallet-ios-multiple-coins | 80c5e37d069645e3d0fb1c1383539291753200fd | [
"MIT"
] | null | null | null | import Foundation
struct CurrencyValue {
let currency: Currency
let value: Decimal
}
| 13.428571 | 26 | 0.734043 |
2fcaa216027e124c0296f7d075047c948f06e37e | 100 | py | Python | tests/runbook/roles/slow_output/main.py | acoomans/prvsn | af6b313c2e779ae4e3a9cdba0b1c3a1f4b4c085e | [
"BSD-2-Clause"
] | null | null | null | tests/runbook/roles/slow_output/main.py | acoomans/prvsn | af6b313c2e779ae4e3a9cdba0b1c3a1f4b4c085e | [
"BSD-2-Clause"
] | null | null | null | tests/runbook/roles/slow_output/main.py | acoomans/prvsn | af6b313c2e779ae4e3a9cdba0b1c3a1f4b4c085e | [
"BSD-2-Clause"
] | null | null | null |
bash('''
echo "hello"
''')
bash('''
for i in $(seq 1 10);
do
echo $i
sleep 2
done
''')
| 6.25 | 21 | 0.46 |
c548260b8318c74f0c1a2be988488589c278aed6 | 33,926 | css | CSS | app/client/lib/lens/lens.css | bencevans/sciencefair | 15ee3c323f5737fecc20e34b10a1464db74a590b | [
"MIT"
] | 561 | 2016-02-26T08:54:01.000Z | 2019-10-03T11:34:31.000Z | app/client/lib/lens/lens.css | bencevans/sciencefair | 15ee3c323f5737fecc20e34b10a1464db74a590b | [
"MIT"
] | 171 | 2016-02-26T22:30:50.000Z | 2019-07-29T11:49:31.000Z | app/client/lib/lens/lens.css | bencevans/sciencefair | 15ee3c323f5737fecc20e34b10a1464db74a590b | [
"MIT"
] | 70 | 2016-02-28T16:51:44.000Z | 2019-10-14T12:03:54.000Z | @charset "UTF-8";
/* Lens Base styles */
/* Textish Styles
-------------------------------------------------------------------------------*/
.content-node.text .content {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap; }
/* When rendered in main panel */
.document .content-node.text {
... | 24.54848 | 122 | 0.63158 |
0decb6d5711f78e0842f10d7c72e8ea349bdb3cf | 1,021 | cs | C# | sdk/storage/Azure.Storage.Blobs/src/Generated/Models/KeyInfo.cs | gjy5885/azure-sdk-for-net | 5491b723c94176509a91c340485f10009189ac72 | [
"MIT"
] | 3,268 | 2015-01-08T04:21:52.000Z | 2022-03-31T11:10:48.000Z | sdk/storage/Azure.Storage.Blobs/src/Generated/Models/KeyInfo.cs | gjy5885/azure-sdk-for-net | 5491b723c94176509a91c340485f10009189ac72 | [
"MIT"
] | 18,748 | 2015-01-06T00:12:22.000Z | 2022-03-31T23:55:50.000Z | sdk/storage/Azure.Storage.Blobs/src/Generated/Models/KeyInfo.cs | gjy5885/azure-sdk-for-net | 5491b723c94176509a91c340485f10009189ac72 | [
"MIT"
] | 4,179 | 2015-01-07T20:13:22.000Z | 2022-03-31T09:09:02.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.Storage.Blobs.Models
{
/// <summary> Key information. </summary>
internal partial class KeyInfo
{
/// <summary> Initializes a new i... | 30.029412 | 100 | 0.602351 |
89ff8234c70a65406445f5549f2eed2cebcd8b9a | 1,986 | swift | Swift | i2app/i2app/UI/ViewControllers/NibConfigurable.swift | wl-net/arcusios | 9ab7cfe04555c72212ffb9073c7919d1f910849e | [
"Apache-2.0"
] | null | null | null | i2app/i2app/UI/ViewControllers/NibConfigurable.swift | wl-net/arcusios | 9ab7cfe04555c72212ffb9073c7919d1f910849e | [
"Apache-2.0"
] | 1 | 2020-07-13T01:02:56.000Z | 2020-07-13T01:02:56.000Z | i2app/i2app/UI/ViewControllers/NibConfigurable.swift | t1minator/arcus-smart-home-arcusios | 7d432f6911db74d36f7d19a342f81850b414a6c5 | [
"Apache-2.0"
] | null | null | null | //
// NibConfigurable.swift
// i2app
//
// Created by Arcus Team on 6/7/17.
/*
* Copyright 2019 Arcus Project
*
* 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... | 27.205479 | 110 | 0.703927 |
4aa2609f19b3403f65047952466b01b33e876595 | 3,015 | dart | Dart | lib/widgets/buttons/basf_button.dart | cgutierr-zgz/basf_flutter_components | bb77a8cbd944f566ab57dc607609b87c78c385f5 | [
"BSD-3-Clause"
] | 2 | 2022-01-21T18:41:51.000Z | 2022-01-25T05:33:58.000Z | lib/widgets/buttons/basf_button.dart | BASF-Mobile-Solutions/basf_flutter_components | 2ff6b4df89f6f1dd7c1f50efa45d87ece6ed3b73 | [
"BSD-3-Clause"
] | null | null | null | lib/widgets/buttons/basf_button.dart | BASF-Mobile-Solutions/basf_flutter_components | 2ff6b4df89f6f1dd7c1f50efa45d87ece6ed3b73 | [
"BSD-3-Clause"
] | null | null | null | import 'package:flutter/material.dart';
enum ButtonType { text, outlined }
abstract class BasfButton extends StatelessWidget {
/// Use this to show text on the button directly.
final String? text;
/// Icon on the left
final IconData? leadingIcon;
/// Icon on the right˜
final IconData? trailingIcon;
/... | 25.125 | 77 | 0.649751 |
39274db22b413cc2b26c567ed79759c0478bee0a | 833 | py | Python | matury/2020/zad41.py | bartekpacia/informatyka | 04a290282df2dc052b3e1dff54b556b563fd8cb5 | [
"MIT"
] | 2 | 2021-12-23T21:39:10.000Z | 2022-01-17T17:38:30.000Z | matury/2020/zad41.py | bartekpacia/informatyka | 04a290282df2dc052b3e1dff54b556b563fd8cb5 | [
"MIT"
] | 1 | 2021-07-03T10:23:30.000Z | 2021-07-03T10:23:30.000Z | matury/2020/zad41.py | bartekpacia/informatyka | 04a290282df2dc052b3e1dff54b556b563fd8cb5 | [
"MIT"
] | 1 | 2021-07-02T20:13:06.000Z | 2021-07-02T20:13:06.000Z | pairs = []
with open("dane/pary.txt") as f:
for line in f:
parsed_line = line.strip().split()
num = int(parsed_line[0])
text = parsed_line[1]
pairs.append(tuple([num, text]))
def is_prime(num: int) -> bool:
for i in range(2, num):
if num % i == 0:
return F... | 20.317073 | 57 | 0.569028 |
2cc27cb992859eb5727ef822e9cba65ff0a0c08d | 1,991 | py | Python | scripts/s02.read_sel.py | nzhang89/Ribomake | 644358adf89532a19fbd597fa3c1bd8d42be6c9f | [
"MIT"
] | 2 | 2021-12-08T09:49:28.000Z | 2021-12-27T12:33:14.000Z | scripts/s02.read_sel.py | nzhang89/Ribomake | 644358adf89532a19fbd597fa3c1bd8d42be6c9f | [
"MIT"
] | null | null | null | scripts/s02.read_sel.py | nzhang89/Ribomake | 644358adf89532a19fbd597fa3c1bd8d42be6c9f | [
"MIT"
] | null | null | null | import gzip
import os, sys
# filter read length
# in_fq should be a text file (*.fastq or *.fq) or gzipped file (*.fastq.gz or *.fq.gz)
# out_fq is always a gzipped file (*.fastq.gz)
def filter_reads(in_fq, min_read_len, max_read_len, out_fq, chunk_size=10000000, n=4):
# support either text or gzip file
try:
fi = ... | 22.625 | 93 | 0.660472 |
2db825f1e184753204ff550088bde4dc3443e132 | 5,311 | go | Go | prog/checksum.go | Rrooach/Hyperkaller | dd1e1f73123515be104c153d07fc345ff9c14dad | [
"Apache-2.0"
] | 11 | 2021-09-22T11:55:21.000Z | 2022-03-20T10:16:15.000Z | prog/checksum.go | Rrooach/Hyperkaller | dd1e1f73123515be104c153d07fc345ff9c14dad | [
"Apache-2.0"
] | 2 | 2021-10-01T08:51:13.000Z | 2022-02-15T02:27:58.000Z | prog/checksum.go | Rrooach/Hyperkaller | dd1e1f73123515be104c153d07fc345ff9c14dad | [
"Apache-2.0"
] | 4 | 2021-06-02T06:07:16.000Z | 2022-02-23T07:41:16.000Z | // Copyright 2017 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
package prog
import (
"fmt"
)
type CsumChunkKind int
const (
CsumChunkArg CsumChunkKind = iota
CsumChunkConst
)
type CsumInfo struct {
Kind CsumK... | 31.241176 | 111 | 0.700433 |
a9f7b52553980c39beb991e3735b134c78bb15fb | 1,128 | php | PHP | src/Validation/Rules/DisableIntrospection.php | joonlabs/php-graphql | 91384be84abf56b0243060bbe50b111ea4aeee46 | [
"MIT"
] | 53 | 2021-05-14T15:28:24.000Z | 2022-01-12T15:13:33.000Z | src/Validation/Rules/DisableIntrospection.php | joonlabs/php-graphql | 91384be84abf56b0243060bbe50b111ea4aeee46 | [
"MIT"
] | 3 | 2021-05-14T15:31:16.000Z | 2021-05-18T18:03:43.000Z | src/Validation/Rules/DisableIntrospection.php | joonlabs/php-graphql | 91384be84abf56b0243060bbe50b111ea4aeee46 | [
"MIT"
] | 2 | 2021-06-03T19:06:20.000Z | 2021-07-03T19:05:55.000Z | <?php
namespace GraphQL\Validation\Rules;
use GraphQL\Errors\ValidationError;
use GraphQL\Validation\ValidationContext;
class DisableIntrospection extends ValidationRule
{
/**
* This rule disables the introspection of the graphql api
* @param ValidationContext $validationContext
* @return void
... | 30.486486 | 75 | 0.523936 |
a457552d5b5fc6386ad8bf9caa751baa47555cd8 | 1,482 | php | PHP | src/Schema/Directives/Fields/EventDirective.php | TGNThump/lighthouse | 74aa1d2369180853a5a8b1b7dfb0b1fe909273d2 | [
"MIT"
] | null | null | null | src/Schema/Directives/Fields/EventDirective.php | TGNThump/lighthouse | 74aa1d2369180853a5a8b1b7dfb0b1fe909273d2 | [
"MIT"
] | null | null | null | src/Schema/Directives/Fields/EventDirective.php | TGNThump/lighthouse | 74aa1d2369180853a5a8b1b7dfb0b1fe909273d2 | [
"MIT"
] | null | null | null | <?php
namespace Nuwave\Lighthouse\Schema\Directives\Fields;
use Closure;
use GraphQL\Language\AST\FieldDefinitionNode;
use Nuwave\Lighthouse\Schema\Values\FieldValue;
use Nuwave\Lighthouse\Support\Contracts\FieldMiddleware;
use Nuwave\Lighthouse\Support\Traits\HandlesDirectives;
class EventDirective implements Field... | 22.8 | 72 | 0.580297 |
b2cc851b3c91b0bfab8b98ab23debc90c83df21e | 1,197 | css | CSS | O3656 Sharepoint/O3656-5 SharePoint 2013 Remote Event Receivers/Demos/DebuggingRemoteEvents/RemoteEventsLabWeb/Content/Site.css | patbosc/officedevts2015 | c2d55907886cbf53ed7340e639f6fde808451d46 | [
"MIT"
] | 2 | 2020-11-10T08:37:40.000Z | 2021-08-30T21:20:22.000Z | O3656 Sharepoint/O3656-5 SharePoint 2013 Remote Event Receivers/Demos/DebuggingRemoteEvents/RemoteEventsLabWeb/Content/Site.css | patbosc/officedevts2015 | c2d55907886cbf53ed7340e639f6fde808451d46 | [
"MIT"
] | null | null | null | O3656 Sharepoint/O3656-5 SharePoint 2013 Remote Event Receivers/Demos/DebuggingRemoteEvents/RemoteEventsLabWeb/Content/Site.css | patbosc/officedevts2015 | c2d55907886cbf53ed7340e639f6fde808451d46 | [
"MIT"
] | 2 | 2020-04-17T15:05:11.000Z | 2020-11-17T19:03:44.000Z | body {
padding-top: 0px;
padding-bottom: 0px;
background-color: #DDD;
}
#top_nav {
background-color: #000;
}
#top_nav a:link, #top_nav a:visited, #top_nav a:active, #top_nav a:hover {
text-decoration: none;
color: #FFF;
padding: 2px;
padding-left: 6px;
font-size: 0.7em;
font-weight... | 19.306452 | 78 | 0.679198 |
2c839bc6adfb05ffbfb0ba27d42a0b486edec3f3 | 4,970 | py | Python | tests/test_topyn.py | lleites/topyn | 69e2bd100e71bb0323adadb857aea724647f456e | [
"MIT"
] | 10 | 2019-11-21T22:25:34.000Z | 2022-01-13T13:44:54.000Z | tests/test_topyn.py | lleites/topyn | 69e2bd100e71bb0323adadb857aea724647f456e | [
"MIT"
] | null | null | null | tests/test_topyn.py | lleites/topyn | 69e2bd100e71bb0323adadb857aea724647f456e | [
"MIT"
] | null | null | null | from unittest.mock import patch
import py
import pytest
from _pytest.capture import CaptureFixture
from topyn import __version__
from topyn.console import run
def test_version() -> None:
assert __version__ == "0.7.0.dev"
def _run_system_exit(path: str, expected_code: int = 1) -> None:
with pytest.raises(S... | 29.583333 | 79 | 0.676258 |
e727a2d53ee67dffdfe74dcba45ad4175ae6143c | 238 | php | PHP | app/Model/ShippingAddress.php | abo3ish/shop-api | 51964a4f172c40118e320de856d7d75a1dc391c6 | [
"MIT"
] | null | null | null | app/Model/ShippingAddress.php | abo3ish/shop-api | 51964a4f172c40118e320de856d7d75a1dc391c6 | [
"MIT"
] | 7 | 2020-09-16T15:59:17.000Z | 2022-03-23T20:37:33.000Z | app/Model/ShippingAddress.php | abo3ish/shop-api | 51964a4f172c40118e320de856d7d75a1dc391c6 | [
"MIT"
] | null | null | null | <?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class ShippingAddress extends Model
{
protected $fillable = [
'user_id', 'address', 'mobile_number', 'city', 'area', 'street', 'building', 'floor'
];
}
| 18.307692 | 92 | 0.659664 |
0fcf71b5a446c10a9f8456800fea4f975a50ffae | 1,384 | go | Go | openstack/autoscaling/v1/instances/results.go | niuzhenguo/golangsdk | bfef50238f46de47826175009cb291c1cd99e530 | [
"Apache-2.0"
] | 5 | 2021-08-31T09:42:20.000Z | 2021-09-03T07:07:42.000Z | openstack/autoscaling/v1/instances/results.go | niuzhenguo/golangsdk | bfef50238f46de47826175009cb291c1cd99e530 | [
"Apache-2.0"
] | 15 | 2021-09-09T02:19:11.000Z | 2022-03-28T03:27:33.000Z | openstack/autoscaling/v1/instances/results.go | niuzhenguo/golangsdk | bfef50238f46de47826175009cb291c1cd99e530 | [
"Apache-2.0"
] | 7 | 2021-08-31T09:50:25.000Z | 2021-09-07T02:45:42.000Z | package instances
import (
"github.com/chnsz/golangsdk"
"github.com/chnsz/golangsdk/pagination"
)
//Instance is a struct which represents all the infromation of a instance
type Instance struct {
ID string `json:"instance_id"`
Name string `json:"instance_name"`
GroupID string... | 29.446809 | 75 | 0.740607 |
e27457518eeb1a3dc4de45828d6bde4711ddd1d2 | 292 | py | Python | src/stackoverflow/64550935/64550935-b.py | mrdulin/python-codelab | 3d960a14a96b3a673b7dc2277d202069b1f8e778 | [
"MIT"
] | null | null | null | src/stackoverflow/64550935/64550935-b.py | mrdulin/python-codelab | 3d960a14a96b3a673b7dc2277d202069b1f8e778 | [
"MIT"
] | null | null | null | src/stackoverflow/64550935/64550935-b.py | mrdulin/python-codelab | 3d960a14a96b3a673b7dc2277d202069b1f8e778 | [
"MIT"
] | 3 | 2020-02-19T08:02:04.000Z | 2021-06-08T13:27:51.000Z | import time
import unittest
from unittest.mock import patch
class Tests(unittest.TestCase):
def test_sleep(self):
with patch("time.sleep") as sleepMock:
time.sleep(0.01)
sleepMock.assert_called_with(0.01)
if __name__ == '__main__':
unittest.main()
| 19.466667 | 46 | 0.667808 |
ef71ad6b5e3d073b99c2624ad475a396512d0e09 | 261 | dart | Dart | lib/physics2d.dart | fraog/dart-physics2d | 88eb077427329e277315966a23cff1c1d4683a40 | [
"BSD-3-Clause"
] | null | null | null | lib/physics2d.dart | fraog/dart-physics2d | 88eb077427329e277315966a23cff1c1d4683a40 | [
"BSD-3-Clause"
] | null | null | null | lib/physics2d.dart | fraog/dart-physics2d | 88eb077427329e277315966a23cff1c1d4683a40 | [
"BSD-3-Clause"
] | null | null | null | ///The physics2d library simulates simple 2d rigidbody dynamics.
library physics2d;
export 'src/physics2d_base.dart';
export 'src/vector2d.dart';
export 'src/edge2d.dart';
export 'src/rect2d.dart';
export 'src/rigidbody2d.dart';
export 'src/collision2d.dart';
| 26.1 | 64 | 0.777778 |
4f793a435ae714a1c4cc9d977b5fe400acf87b98 | 13,180 | gemspec | Ruby | omokake02/vendor/bundle/ruby/2.6.0/specifications/fastlane-2.134.0.gemspec | kokiTakashiki/omokake | 4d4617e341ccfef8d3406c128c48ca2a0224be7b | [
"MIT"
] | null | null | null | omokake02/vendor/bundle/ruby/2.6.0/specifications/fastlane-2.134.0.gemspec | kokiTakashiki/omokake | 4d4617e341ccfef8d3406c128c48ca2a0224be7b | [
"MIT"
] | 6 | 2021-07-09T12:15:51.000Z | 2021-08-28T14:32:28.000Z | omokake02/vendor/bundle/ruby/2.6.0/specifications/fastlane-2.134.0.gemspec | kokiTakashiki/omokake | 4d4617e341ccfef8d3406c128c48ca2a0224be7b | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
# stub: fastlane 2.134.0 ruby credentials_manager/lib pem/lib snapshot/lib frameit/lib match/lib fastlane_core/lib deliver/lib scan/lib supply/lib cert/lib fastlane/lib spaceship/lib pilot/lib gym/lib precheck/lib screengrab/lib sigh/lib produce/lib
Gem::Specification.new do |s|
s.name = "f... | 67.244898 | 520 | 0.61305 |
e71a0dfa77155ffad8ec64469c675bb27bbe9f5c | 2,092 | php | PHP | app/views/user/tutor_search.blade.php | Sukhobok/tutoring | a7f0352ce712493f13d174da28a6f939a69cc3bd | [
"MIT"
] | 1 | 2019-10-20T20:19:22.000Z | 2019-10-20T20:19:22.000Z | app/views/user/tutor_search.blade.php | Sukhobok/tutoring | a7f0352ce712493f13d174da28a6f939a69cc3bd | [
"MIT"
] | null | null | null | app/views/user/tutor_search.blade.php | Sukhobok/tutoring | a7f0352ce712493f13d174da28a6f939a69cc3bd | [
"MIT"
] | null | null | null | <div class="content">
<div class="layout">
<div class="layout-sidebar">
@if (Auth::check())
@include('templates.left_sidebar')
@else
@endif
</div>
<div class="layout-main-ext">
<div class="ss-search-name">
<span class="ss-search-title">ALREADY KNOW SOMEONE?</span>
<input type... | 30.318841 | 120 | 0.576004 |
7b332abf8b114acd688276c1b0047de9c55ff995 | 969 | rb | Ruby | lib/string_joiner.rb | Swarzkopf314/string_joiner | 30674239ea70e867452d45ded9ada40e8ea5cec8 | [
"MIT"
] | null | null | null | lib/string_joiner.rb | Swarzkopf314/string_joiner | 30674239ea70e867452d45ded9ada40e8ea5cec8 | [
"MIT"
] | null | null | null | lib/string_joiner.rb | Swarzkopf314/string_joiner | 30674239ea70e867452d45ded9ada40e8ea5cec8 | [
"MIT"
] | null | null | null | require "string_joiner/version"
# does not override String#concat nor String#+
class StringJoiner < String
module BlankToString # disperse with active_support
BLANK_RE = /\A[[:space:]]*\z/
refine String do
def blank?; BLANK_RE === self end
end
end
using BlankToString
def initialize(str = "", separ... | 23.071429 | 130 | 0.708978 |
14cc68bd85d520b35cfe443412d7a11bc9afe731 | 682 | ts | TypeScript | src/auth/auth.service.ts | tannerdak/store-be | 0cac70ccd0431fc5c265484fc94a6a14c2b4680e | [
"MIT"
] | null | null | null | src/auth/auth.service.ts | tannerdak/store-be | 0cac70ccd0431fc5c265484fc94a6a14c2b4680e | [
"MIT"
] | null | null | null | src/auth/auth.service.ts | tannerdak/store-be | 0cac70ccd0431fc5c265484fc94a6a14c2b4680e | [
"MIT"
] | null | null | null | import { Injectable } from '@nestjs/common';
import { ClientService } from 'src/client/client.service';
import { AddClientDto } from 'src/client/dto/add-client.dto';
@Injectable()
export class AuthService {
constructor(private readonly clinetService: ClientService) {}
async ValidateClient(username: string, pass: ... | 31 | 70 | 0.706745 |
238fb5d11061738dcc9f7b4ca9accb1ea55c5c5a | 3,498 | js | JavaScript | resources/assets/js/pages/home_products.js | PhilipSada/ecommerce-app | 91a6d5fe9f71486ac024e1c86991cc61f398c0df | [
"MIT"
] | null | null | null | resources/assets/js/pages/home_products.js | PhilipSada/ecommerce-app | 91a6d5fe9f71486ac024e1c86991cc61f398c0df | [
"MIT"
] | 4 | 2021-03-10T09:59:13.000Z | 2022-02-27T00:39:54.000Z | resources/assets/js/pages/home_products.js | PhilipSada/ecommerce-app | 91a6d5fe9f71486ac024e1c86991cc61f398c0df | [
"MIT"
] | null | null | null | import Axios from "axios";
(function(){
'use strict';
PHEELFRESH.homeslider.homePageProducts = function(){
var app = new Vue({
el:'#root',
data: {
featured:[],
products:[],
count:0,
loading:false,
... | 39.303371 | 102 | 0.45283 |
2c72f62217c42856a54d7fcc7df043a068d1d541 | 5,129 | py | Python | day-13/part-2/youyoun.py | TPXP/adventofcode-2019 | ee653d6bfb510d14f2c2b3efc730d328c16b3f71 | [
"MIT"
] | 8 | 2019-12-01T08:56:46.000Z | 2019-12-05T21:21:12.000Z | day-13/part-2/youyoun.py | TPXP/adventofcode-2019 | ee653d6bfb510d14f2c2b3efc730d328c16b3f71 | [
"MIT"
] | 10 | 2019-11-25T09:56:20.000Z | 2021-05-10T19:57:48.000Z | day-13/part-2/youyoun.py | TPXP/adventofcode-2019 | ee653d6bfb510d14f2c2b3efc730d328c16b3f71 | [
"MIT"
] | 5 | 2019-12-01T08:19:57.000Z | 2020-11-23T09:50:19.000Z | from tool.runners.python import SubmissionPy
from typing import List
from collections import defaultdict
MAX_PARAM_NUM = 3
class Program:
def __init__(self, intcode: List):
self.intcode = defaultdict(int)
for i in range(len(intcode)):
self.intcode[i] = intcode[i]
self.pos = 0
... | 37.713235 | 116 | 0.472997 |
5b9541bca12e407d19cfb6134d2f667a1b20c4d5 | 6,032 | sql | SQL | db/CreateDB.sql | gazinaft/DB-kursach | 46a06e3d02195f0ccb8e28f33bc63e0c89f629b6 | [
"MIT"
] | 1 | 2021-01-11T06:48:09.000Z | 2021-01-11T06:48:09.000Z | db/CreateDB.sql | gazinaft/DB-kursach | 46a06e3d02195f0ccb8e28f33bc63e0c89f629b6 | [
"MIT"
] | null | null | null | db/CreateDB.sql | gazinaft/DB-kursach | 46a06e3d02195f0ccb8e28f33bc63e0c89f629b6 | [
"MIT"
] | null | null | null | CREATE DATABASE MovieRate
GO;
-- CREATING TABLES
CREATE TABLE Genre (
GenreId INT PRIMARY KEY IDENTITY(1, 1),
GenreName NVARCHAR(32) NOT NULL
)
GO;
CREATE TABLE Studio (
StudioId INT PRIMARY KEY IDENTITY(1, 1),
StudioTitle NVARCHAR(128) NOT NULL,
StudioOwner NVARCHAR(128) NOT NULL,
Country NVARCHAR(32) NOT NULL... | 23.936508 | 132 | 0.771054 |
854557c445571e1fb57a123543412c1bbdd2c19f | 799 | cs | C# | VndbSharp/Extensions/StringExtensions.cs | micah686/VndbSharp | f70abc4ae326d2fbcf1e6cc8abc1b5a143e96091 | [
"MIT"
] | 15 | 2016-12-05T02:07:40.000Z | 2021-09-03T07:35:52.000Z | VndbSharp/Extensions/StringExtensions.cs | micah686/VndbSharp | f70abc4ae326d2fbcf1e6cc8abc1b5a143e96091 | [
"MIT"
] | 57 | 2017-01-06T06:10:57.000Z | 2021-05-25T14:29:36.000Z | VndbSharp/Extensions/StringExtensions.cs | micah686/VndbSharp | f70abc4ae326d2fbcf1e6cc8abc1b5a143e96091 | [
"MIT"
] | 8 | 2017-01-06T02:10:17.000Z | 2021-09-04T19:14:29.000Z | using System;
using Newtonsoft.Json;
using VndbSharp.Json;
namespace VndbSharp.Extensions
{
internal static class StringExtensions
{
public static String[] ToVndbResults(this String response)
=> response.Split(new[] { ' ' }, 2, StringSplitOptions.RemoveEmptyEntries); // Ensure we only split the first space
... | 30.730769 | 124 | 0.745932 |
aa244b147337b13b9b13348eda54ca199a9a2660 | 246 | rb | Ruby | spec/factories/user_factory.rb | shredder-rull/structor | cc5bb40c4b65030c7d44bff7a1616495aae433ce | [
"MIT"
] | 1 | 2017-05-11T02:47:59.000Z | 2017-05-11T02:47:59.000Z | spec/factories/user_factory.rb | shredder-rull/structor | cc5bb40c4b65030c7d44bff7a1616495aae433ce | [
"MIT"
] | null | null | null | spec/factories/user_factory.rb | shredder-rull/structor | cc5bb40c4b65030c7d44bff7a1616495aae433ce | [
"MIT"
] | null | null | null | FactoryGirl.define do
factory :user do
email { FFaker::Internet.email }
first_name { FFaker::Name.first_name }
last_name { FFaker::Name.last_name }
trait :address do
address{ FactoryGirl.build(:address) }
end
end
end | 24.6 | 44 | 0.678862 |
dfb5441349e13786c91fe67dc08aa80736981c15 | 432 | podspec | Ruby | ZinkSkin.podspec | zinkLin/ZinkSkin | 8b314cc91b1d903f6aae328455633e6e6f92100d | [
"MIT"
] | 1 | 2016-07-26T14:53:30.000Z | 2016-07-26T14:53:30.000Z | ZinkSkin.podspec | zinkLin/ZinkSkin | 8b314cc91b1d903f6aae328455633e6e6f92100d | [
"MIT"
] | null | null | null | ZinkSkin.podspec | zinkLin/ZinkSkin | 8b314cc91b1d903f6aae328455633e6e6f92100d | [
"MIT"
] | null | null | null | Pod::Spec.new do |s|
s.name = 'ZinkSkin'
s.version = '1.0.2'
s.license = 'MIT'
s.summary = '即时皮肤切换'
s.homepage = 'https://github.com/zinkLin'
s.authors = { 'Zink' => '418175138@qq.com' }
s.source = { :git => "https://github.com/zinkLin/ZinkSkin", :tag => "1.0.2"}
s.requires_arc = true
s.ios.deployment_target = '7.0'
s.... | 28.8 | 81 | 0.643519 |
8c8a20d8ac3781dc7191c56b74a6b906e24866a0 | 5,079 | lua | Lua | entities/entities/sent_scanner/init.lua | tucono/thestalker | 23519138a06fe876199075cecd38ce157bb12193 | [
"MIT"
] | 1 | 2021-05-29T22:52:13.000Z | 2021-05-29T22:52:13.000Z | entities/entities/sent_scanner/init.lua | nuke-makes-games/thestalker | 23519138a06fe876199075cecd38ce157bb12193 | [
"MIT"
] | null | null | null | entities/entities/sent_scanner/init.lua | nuke-makes-games/thestalker | 23519138a06fe876199075cecd38ce157bb12193 | [
"MIT"
] | 1 | 2021-03-27T13:53:39.000Z | 2021-03-27T13:53:39.000Z |
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include( 'shared.lua' )
ENT.Fly = Sound( "npc/scanner/scanner_alert1.wav" )
ENT.Zap = Sound( "npc/scanner/scanner_electric1.wav" )
ENT.Beep = Sound( "npc/scanner/cbot_servoscared.wav" )
ENT.Explode = { Sound( "npc/scanner/cbot_energyexplosion1.wav" ), Sound( ... | 22.878378 | 130 | 0.705257 |
5892bc3141b00cb76a75008e30dc50821b2aeb1e | 18 | css | CSS | Boxes/Boxes_style.css | kahtras/TSQUI | 93aa8858aa9592e81974f7b57b8713cd4f720ef5 | [
"MIT"
] | null | null | null | Boxes/Boxes_style.css | kahtras/TSQUI | 93aa8858aa9592e81974f7b57b8713cd4f720ef5 | [
"MIT"
] | null | null | null | Boxes/Boxes_style.css | kahtras/TSQUI | 93aa8858aa9592e81974f7b57b8713cd4f720ef5 | [
"MIT"
] | null | null | null | div {
float:left
} | 6 | 10 | 0.666667 |
790cb82abf16db29a70d6077e5dddcc36b358337 | 665 | sql | SQL | 30_type_name.sql | aporlov/rpc | f640340614c43d1a3b186b8fce2f4238091f9f06 | [
"MIT"
] | null | null | null | 30_type_name.sql | aporlov/rpc | f640340614c43d1a3b186b8fce2f4238091f9f06 | [
"MIT"
] | 6 | 2018-06-09T05:00:37.000Z | 2018-08-15T05:50:14.000Z | 30_type_name.sql | aporlov/rpc | f640340614c43d1a3b186b8fce2f4238091f9f06 | [
"MIT"
] | 3 | 2018-06-08T12:34:08.000Z | 2019-08-25T22:46:05.000Z | /*
Ф-и, используемые в представлениях
*/
-- -----------------------------------------------------------------------------
CREATE OR REPLACE FUNCTION pg_type_name(a_oid oid) RETURNS TEXT STABLE LANGUAGE 'sql' AS
$_$
-- Ф-я аналогична format_type, но не обрезает схему когда она в пути поиска
-- TODO: сравни... | 47.5 | 120 | 0.627068 |
00b682489925e8efe863a5bd1ca2071c8e0b003e | 496 | sql | SQL | sql/autotask_task.sql | fatdba/oracle-script-lib | efa9f5623bc3f27cea37a815f5bc3766d21b1b19 | [
"MIT"
] | null | null | null | sql/autotask_task.sql | fatdba/oracle-script-lib | efa9f5623bc3f27cea37a815f5bc3766d21b1b19 | [
"MIT"
] | null | null | null | sql/autotask_task.sql | fatdba/oracle-script-lib | efa9f5623bc3f27cea37a815f5bc3766d21b1b19 | [
"MIT"
] | 2 | 2022-01-16T20:34:08.000Z | 2022-02-10T16:45:46.000Z |
@@autotask_sql_setup
select
client_name
, task_name
, task_target_type
, task_target_name
, operation_name
, attributes
, status
, deferred_window_name
, current_job_name
, job_scheduler_status
, retry_count
, last_good_date at time zone sessiontimezone last_good_date
, next_try_date at time zone session... | 19.84 | 61 | 0.814516 |
7fb11ccee9a19eaddf07d677ef4181af0c707693 | 154 | php | PHP | master.php | gautwe/frelsi | 984686143c0593ceaa2039c3092fd0ff08c8de27 | [
"CC0-1.0"
] | null | null | null | master.php | gautwe/frelsi | 984686143c0593ceaa2039c3092fd0ff08c8de27 | [
"CC0-1.0"
] | null | null | null | master.php | gautwe/frelsi | 984686143c0593ceaa2039c3092fd0ff08c8de27 | [
"CC0-1.0"
] | null | null | null | <?php
// Here is the request for the note, the update and others.
if($v_version != $w_version){
exec(update.php);
} else {
// nothing.
}
?>
| 17.111111 | 61 | 0.590909 |
ec592fbcc3054956b44ac9e1d5929acd1397eb27 | 33 | ps1 | PowerShell | Chapter01/6.1.5.ProviderHelpFiles_All.ps1 | wagnerhsu/packt-Mastering-Windows-PowerShell-Scripting-Fourth-Edition | be9f5cad2bf28de7c0a250590c65b72994800aeb | [
"MIT"
] | 27 | 2020-04-21T13:28:29.000Z | 2022-03-09T12:19:24.000Z | Chapter01/6.1.5.ProviderHelpFiles_All.ps1 | wagnerhsu/packt-Mastering-Windows-PowerShell-Scripting-Fourth-Edition | be9f5cad2bf28de7c0a250590c65b72994800aeb | [
"MIT"
] | null | null | null | Chapter01/6.1.5.ProviderHelpFiles_All.ps1 | wagnerhsu/packt-Mastering-Windows-PowerShell-Scripting-Fourth-Edition | be9f5cad2bf28de7c0a250590c65b72994800aeb | [
"MIT"
] | 15 | 2020-05-03T01:24:33.000Z | 2022-01-26T04:57:23.000Z | Get-Help -Name About_*_Provider
| 16.5 | 32 | 0.787879 |
a103927e3e7c78b315ffe22a4d39f3d707a66976 | 1,908 | ts | TypeScript | src/resources/ModifierTemplates/ModifierTemplateInterfaces.ts | tcarrio/platform-client | 8f78a8c8724ffe5845dcb07152df9e3fc5490b93 | [
"Apache-2.0"
] | 15 | 2018-05-17T15:49:28.000Z | 2022-01-11T17:15:11.000Z | src/resources/ModifierTemplates/ModifierTemplateInterfaces.ts | tcarrio/platform-client | 8f78a8c8724ffe5845dcb07152df9e3fc5490b93 | [
"Apache-2.0"
] | 480 | 2018-03-03T01:39:54.000Z | 2022-03-30T20:46:31.000Z | src/resources/ModifierTemplates/ModifierTemplateInterfaces.ts | tcarrio/platform-client | 8f78a8c8724ffe5845dcb07152df9e3fc5490b93 | [
"Apache-2.0"
] | 3 | 2020-12-15T20:04:17.000Z | 2022-02-15T18:58:36.000Z | export interface ModifierModel {
/**
* Unique identifier
*/
id: string;
/**
* English human friendly name
*/
displayName: string;
/**
* Category the modifier belongs to.
* LICENSE and SYSTEM are more for internal use and might need to be filtered out from display
*... | 24.779221 | 98 | 0.646226 |
2cc9a79c262288ad95e343d064956ab32acb2b58 | 479 | asm | Assembly | programs/oeis/143/A143538.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/143/A143538.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/143/A143538.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A143538: Triangle read by rows, T(n,k) = 1 if k is prime, 0 otherwise; 1 <= k <= n.
; 0,0,1,0,1,1,0,1,1,0,0,1,1,0,1,0,1,1,0,1,0,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,0,1,1,0,1,0,1,0,0,0,1,1,0,1,0,1,0,0,0,0,1,1,0,1,0,1,0,0,0,1,0,1,1,0,1,0,1,0,0,0,1,0,0,1,1,0,1,0,1,0,0,0,1,0,1,0,1,1,0,1,0,1,0,0
seq $0,2262 ; Triangle read by ... | 79.833333 | 201 | 0.592902 |
5bd3087688b75a70c61595777cdbceb5ed811ff9 | 117 | css | CSS | src/components/leaderboard.css | tackettnathant/3000_in_30 | 7c80c74649efc9cc720fa3c264cf77d5f1f40798 | [
"MIT"
] | null | null | null | src/components/leaderboard.css | tackettnathant/3000_in_30 | 7c80c74649efc9cc720fa3c264cf77d5f1f40798 | [
"MIT"
] | null | null | null | src/components/leaderboard.css | tackettnathant/3000_in_30 | 7c80c74649efc9cc720fa3c264cf77d5f1f40798 | [
"MIT"
] | null | null | null | table {
background-color:white;
}
thead tr td{
background:#CDD3D5;
color:#343633;
font-weight: bold;
}
| 11.7 | 24 | 0.641026 |
9c77ce52015fbe5219da5eba95356c00caee9e90 | 448 | dart | Dart | clean_architecture/lib/src/config/routes/app_routes.dart | vaughan189/flutter_learning | 15907df65041993a2d0ab0aa93f309276346fdf8 | [
"MIT"
] | 1 | 2021-01-31T17:50:51.000Z | 2021-01-31T17:50:51.000Z | clean_architecture/lib/src/config/routes/app_routes.dart | vaughan189/flutter-learning | 15907df65041993a2d0ab0aa93f309276346fdf8 | [
"MIT"
] | null | null | null | clean_architecture/lib/src/config/routes/app_routes.dart | vaughan189/flutter-learning | 15907df65041993a2d0ab0aa93f309276346fdf8 | [
"MIT"
] | 1 | 2020-12-04T12:56:45.000Z | 2020-12-04T12:56:45.000Z | import 'package:flutter/material.dart';
// ignore: avoid_classes_with_only_static_members
class AppRoutes {
static Route onGenerateRoutes(RouteSettings settings) {
switch (settings.name) {
case '/':
return _materialRoute(const Scaffold());
default:
return _materialRoute(const Scaffold... | 24.888889 | 57 | 0.691964 |
05b84f2dd2313aa28b1b72dd19185a178a9a85b1 | 1,195 | rb | Ruby | app/controllers/todo_items_controller.rb | literatesnow/rails-specific-spa | 0a22e2593ea4e9e6fca737436ccc843e9d0ad406 | [
"Unlicense"
] | null | null | null | app/controllers/todo_items_controller.rb | literatesnow/rails-specific-spa | 0a22e2593ea4e9e6fca737436ccc843e9d0ad406 | [
"Unlicense"
] | 10 | 2020-02-25T10:37:13.000Z | 2022-03-30T22:36:49.000Z | app/controllers/todo_items_controller.rb | literatesnow/rails-specific-spa | 0a22e2593ea4e9e6fca737436ccc843e9d0ad406 | [
"Unlicense"
] | null | null | null | class TodoItemsController < ApplicationController
before_action :set_todo_item, only: [:show, :update, :destroy]
# GET /todo_items
def index
@todo_items = TodoItem.order('completed asc, created_at asc')
render json: @todo_items
end
# GET /todo_items/1
def show
render json: @todo_item
end
... | 22.980769 | 75 | 0.693724 |
dbc4d641781993144caeb4c12e8a54ed226fe543 | 13,351 | php | PHP | application/views/harinas_free.php | rodrigoCastroReyes/Cereales-La-Pradera | b275532c2088730a2b23b1ced7b71fd4577685bd | [
"MIT"
] | null | null | null | application/views/harinas_free.php | rodrigoCastroReyes/Cereales-La-Pradera | b275532c2088730a2b23b1ced7b71fd4577685bd | [
"MIT"
] | null | null | null | application/views/harinas_free.php | rodrigoCastroReyes/Cereales-La-Pradera | b275532c2088730a2b23b1ced7b71fd4577685bd | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');?>
<!DOCTYPE html>
<html>
<head>
<title>La Pradera</title>
<meta charset="UTF-8">
<link rel='shortcut icon' type='image/x-icon' href='<?php echo base_url('assets/images/logo.ico')?>' />
<meta name="viewport" content="width=device-width... | 65.446078 | 220 | 0.580181 |