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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
67579e585b0ed0abda5a0dc85c1db73684b5cdea | 795 | swift | Swift | Sources/StinkyKeyboard/KeyboardObserver.swift | lucamegh/StinkyKeyboard | f35ee2ba0fe539112a727c39a62c3e53a1707b88 | [
"MIT"
] | null | null | null | Sources/StinkyKeyboard/KeyboardObserver.swift | lucamegh/StinkyKeyboard | f35ee2ba0fe539112a727c39a62c3e53a1707b88 | [
"MIT"
] | null | null | null | Sources/StinkyKeyboard/KeyboardObserver.swift | lucamegh/StinkyKeyboard | f35ee2ba0fe539112a727c39a62c3e53a1707b88 | [
"MIT"
] | null | null | null | /**
* StinkyKeyboard
* Copyright (c) Luca Meghnagi 2021
* MIT license, see LICENSE file for details
*/
import Combine
import UIKit
class KeyboardObserver {
private var cancellables = Set<AnyCancellable>()
func observe(_ handler: @escaping (Keyboard) -> Void) {
NotificationCenter.default.... | 29.444444 | 91 | 0.651572 |
5253dd36e271354d2367e644fea22d9b4b975fac | 934 | rb | Ruby | lib/back_test/strategy/cbpb_days.rb | Traver1/sok | 96d91d278b7e36d59e397456672ebf235318adf2 | [
"MIT"
] | null | null | null | lib/back_test/strategy/cbpb_days.rb | Traver1/sok | 96d91d278b7e36d59e397456672ebf235318adf2 | [
"MIT"
] | null | null | null | lib/back_test/strategy/cbpb_days.rb | Traver1/sok | 96d91d278b7e36d59e397456672ebf235318adf2 | [
"MIT"
] | 1 | 2020-03-31T13:16:31.000Z | 2020-03-31T13:16:31.000Z | module Kabu
class CbPbDays
attr_accessor :n, :length
def initialize
@length = 27
end
def set_env(soks, env)
env[:soks] = soks
end
def decide(env)
code = env[:code]
date = env[:date]
soks = env[:soks]
position = env[:position]
highs = soks[-27..-2]... | 19.87234 | 62 | 0.522484 |
2bc5d8f76111bc738375eb096ff28b582e1b894d | 434 | cs | C# | src/Zenseless.ExampleFramework/SolutionAttribute.cs | danielscherzer/Zenseless | c17555d9017bbc364b7bdafeb5a4c8ee23a014db | [
"Apache-2.0"
] | 9 | 2018-01-07T19:57:48.000Z | 2022-01-30T12:09:52.000Z | src/Zenseless.ExampleFramework/SolutionAttribute.cs | danielscherzer/Zenseless | c17555d9017bbc364b7bdafeb5a4c8ee23a014db | [
"Apache-2.0"
] | null | null | null | src/Zenseless.ExampleFramework/SolutionAttribute.cs | danielscherzer/Zenseless | c17555d9017bbc364b7bdafeb5a4c8ee23a014db | [
"Apache-2.0"
] | 5 | 2018-11-03T01:03:39.000Z | 2019-11-12T18:23:52.000Z | using System;
using System.Runtime.InteropServices;
namespace Zenseless.ExampleFramework
{
/// <summary>
/// Defines an attribute that is used by Zenseless to detect if SOLUTION is defined.
/// Solution code is removed upon template generation
/// </summary>
/// <seealso cref="Attribute" />
[AttributeUsage(Attr... | 27.125 | 85 | 0.746544 |
581e3643fedd1260e0f1ad855ee6aee4329a190d | 4,796 | css | CSS | frontend/web/stylesheets/calendar.css | sbeka/abna-alux | d5ab531fc0f1aa52b57767beb6d8fb41990f7c40 | [
"BSD-3-Clause"
] | null | null | null | frontend/web/stylesheets/calendar.css | sbeka/abna-alux | d5ab531fc0f1aa52b57767beb6d8fb41990f7c40 | [
"BSD-3-Clause"
] | null | null | null | frontend/web/stylesheets/calendar.css | sbeka/abna-alux | d5ab531fc0f1aa52b57767beb6d8fb41990f7c40 | [
"BSD-3-Clause"
] | null | null | null | #calendar2 + .filter { padding: 0 13px; }
#calendar3,
#calendar2 {
width: 100%;
font: monospace;
line-height: 1.2em;
font-size: 15px;
text-align: center;
height: 350px;
}
#calendar3 { }
#calendar2 thead tr:last-child {
font-size: small;
color: rgb(85, 85, 85);
}
#calendar3... | 23.057692 | 144 | 0.623019 |
a3703f311b29fa9032040508a63efe4c35a16cca | 868 | java | Java | app/src/main/java/com/androworld/videoeditorpro/Helper.java | vimalcvs/Video-Editor-pro | c504b024e7a445e6113edc1990aa6b09ca9f2a69 | [
"Apache-2.0"
] | 2 | 2020-08-11T18:37:54.000Z | 2020-11-21T09:20:49.000Z | app/src/main/java/com/androworld/videoeditorpro/Helper.java | vimalcvs/Video-Editor-pro | c504b024e7a445e6113edc1990aa6b09ca9f2a69 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/androworld/videoeditorpro/Helper.java | vimalcvs/Video-Editor-pro | c504b024e7a445e6113edc1990aa6b09ca9f2a69 | [
"Apache-2.0"
] | 3 | 2020-08-11T18:37:56.000Z | 2021-05-16T14:25:18.000Z | package com.androworld.videoeditorpro;
import android.graphics.Typeface;
public class Helper {
public static String FontStyle = "AVENIRLTSTD-MEDIUM.OTF";
public static int ModuleId = 0;
public static String account_string = "https://play.google.com/store/apps/developer?id=androworld";
public static St... | 43.4 | 214 | 0.760369 |
832b90c13336a465b41ca48fa8aec0eb1b26f1d5 | 4,953 | tsx | TypeScript | app/packages/app/src/components/Actions/Options.tsx | williamcorsel/fiftyone | 22e34e91deb1d2e2fe6316ec81714e0c55015523 | [
"Apache-2.0"
] | null | null | null | app/packages/app/src/components/Actions/Options.tsx | williamcorsel/fiftyone | 22e34e91deb1d2e2fe6316ec81714e0c55015523 | [
"Apache-2.0"
] | null | null | null | app/packages/app/src/components/Actions/Options.tsx | williamcorsel/fiftyone | 22e34e91deb1d2e2fe6316ec81714e0c55015523 | [
"Apache-2.0"
] | null | null | null | import { Autorenew, OpacityRounded } from "@material-ui/icons";
import React from "react";
import { constSelector, useRecoilState, useRecoilValue } from "recoil";
import * as atoms from "../../recoil/atoms";
import * as selectors from "../../recoil/selectors";
import Checkbox from "../Common/Checkbox";
import { Popou... | 25.015152 | 80 | 0.538663 |
fd9d27739c7f8a59a573f7f9a08b5ffb25fcebe4 | 514 | css | CSS | index.css | eKhattak/graphcs-gen | 7f3294735750d96d5b74e359e7587df76de4b9c6 | [
"MIT"
] | 1 | 2020-09-23T15:00:23.000Z | 2020-09-23T15:00:23.000Z | index.css | khattakdev/graphcs-gen | 7f3294735750d96d5b74e359e7587df76de4b9c6 | [
"MIT"
] | null | null | null | index.css | khattakdev/graphcs-gen | 7f3294735750d96d5b74e359e7587df76de4b9c6 | [
"MIT"
] | null | null | null | .square {
height: 60px;
width: 60px;
position: absolute;
transform: translate(-50%, -50%);
background: salmon;
}
.pentagon {
position: absolute;
transform: translate(-50%, -50%);
width: 54px;
box-sizing: content-box;
border-width: 50px 18px 0;
border-style: solid;
border-color: salmon transpare... | 18.357143 | 47 | 0.669261 |
8d6e52eb2fb302c4af6578cbf46cda61b153124b | 10,994 | js | JavaScript | public/js/validaFicha.js | Muhligeer/redesFinal | 9b5a18bf6340b60160324381f794feee67e88fa8 | [
"MIT"
] | null | null | null | public/js/validaFicha.js | Muhligeer/redesFinal | 9b5a18bf6340b60160324381f794feee67e88fa8 | [
"MIT"
] | null | null | null | public/js/validaFicha.js | Muhligeer/redesFinal | 9b5a18bf6340b60160324381f794feee67e88fa8 | [
"MIT"
] | null | null | null | function vercpf(cpf)
{
cpf = tirarMask(cpf);
if (cpf.length != 11 || cpf == "00000000000" || cpf == "11111111111" || cpf == "22222222222" || cpf == "33333333333" || cpf == "44444444444" || cpf == "55555555555" || cpf == "66666666666" || cpf == "77777777777" || cpf == "88888888888" || cpf == "99999999999")
... | 35.012739 | 265 | 0.567037 |
583a2074d30f8b89f26afcbf51af6bbbc7f2fb2c | 740 | css | CSS | src/app/components/Question/question.css | ohtu-aikavali2/aikavali2-front | 921ece59fdef2713140d619752da2a9aa9d2a75f | [
"MIT"
] | null | null | null | src/app/components/Question/question.css | ohtu-aikavali2/aikavali2-front | 921ece59fdef2713140d619752da2a9aa9d2a75f | [
"MIT"
] | null | null | null | src/app/components/Question/question.css | ohtu-aikavali2/aikavali2-front | 921ece59fdef2713140d619752da2a9aa9d2a75f | [
"MIT"
] | null | null | null | .questionContainer {
height: 100%;
display: flex;
flex-direction: column;
margin: 0 20px 0 20px;
}
.titleContainer {
padding-left: 10px;
padding-right: 10px;
padding-bottom: 40px;
display: block;
text-align: center;
overflow-wrap: break-word;
justify-content: center;
}
.dragAndDropQuestion {
t... | 14.8 | 43 | 0.663514 |
dee2b58dd7923c86e6a62af8031f428ac76c0105 | 26,084 | rs | Rust | pallets/did/src/lib.rs | JAMBO-NETWORK/substrate-node | 2aa6c13ebf8e436efd25e8cc5c345701cf798175 | [
"MIT"
] | 2 | 2021-03-27T23:59:52.000Z | 2021-03-28T00:00:13.000Z | pallets/did/src/lib.rs | JAMBO-NETWORK/substrate-node | 2aa6c13ebf8e436efd25e8cc5c345701cf798175 | [
"MIT"
] | null | null | null | pallets/did/src/lib.rs | JAMBO-NETWORK/substrate-node | 2aa6c13ebf8e436efd25e8cc5c345701cf798175 | [
"MIT"
] | null | null | null | #![cfg_attr(not(feature = "std"), no_std)]
mod check;
mod harsh;
mod tests;
use codec::{Decode, Encode};
use frame_support::{
decl_error, decl_event, decl_module, decl_storage, ensure,
traits::{Currency, ExistenceRequirement, ReservableCurrency},
weights::Weight,
};
use frame_system::{ensure_root, ensure_... | 36.738028 | 176 | 0.557085 |
a9e7cd9180540a44938cf3078bc53840b59840f8 | 1,750 | php | PHP | app/Http/Middleware/CheckIP.php | thewhitewolf2411/bamboo_projec | a410546c600ff922305fcae9a09b233bf389d7bd | [
"MIT"
] | null | null | null | app/Http/Middleware/CheckIP.php | thewhitewolf2411/bamboo_projec | a410546c600ff922305fcae9a09b233bf389d7bd | [
"MIT"
] | 7 | 2020-10-16T07:56:35.000Z | 2021-11-15T11:28:48.000Z | app/Http/Middleware/CheckIP.php | thewhitewolf2411/bamboo_projec | a410546c600ff922305fcae9a09b233bf389d7bd | [
"MIT"
] | 1 | 2021-01-08T13:52:44.000Z | 2021-01-08T13:52:44.000Z | <?php
namespace App\Http\Middleware;
use App\Eloquent\WhitelistIP;
use Closure;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\URL;
class CheckIP
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mi... | 25.362319 | 128 | 0.534286 |
a4ab3f5f3f0ef5874256988adb63a4860b08a2b5 | 2,087 | php | PHP | src/Helpers/authcustomer_helper.php | adnduweb/ci4_ecommerce | 6817d71866889c4617b68f321b84668130f31c40 | [
"MIT"
] | 1 | 2020-06-23T17:06:47.000Z | 2020-06-23T17:06:47.000Z | src/Helpers/authcustomer_helper.php | adnduweb/ci4_ecommerce | 6817d71866889c4617b68f321b84668130f31c40 | [
"MIT"
] | null | null | null | src/Helpers/authcustomer_helper.php | adnduweb/ci4_ecommerce | 6817d71866889c4617b68f321b84668130f31c40 | [
"MIT"
] | 4 | 2020-06-14T05:55:19.000Z | 2021-10-06T04:11:46.000Z | <?php
use Config\Services;
if (!function_exists('customer_logged_in')) {
/**
* Checks to see if the user is logged in.
*
*
* @return bool
*/
function customer_logged_in()
{
return Services::authenticationcustomer()->check();
}
}
if (!function_exists('customer')) {
/**
* Returns the customer insta... | 21.739583 | 79 | 0.664111 |
4653f6f61df6430ba04b9d4a159b32509e6b52b0 | 3,757 | php | PHP | vendor/jolicode/jolinotif/src/Notifier/CliBasedNotifier.php | hassanbsee2071/pavyexity_docker_updated | dfd773cc5df971f3816dcf3c958fa311481e1dc7 | [
"MIT"
] | 1 | 2021-05-19T21:12:33.000Z | 2021-05-19T21:12:33.000Z | vendor/jolicode/jolinotif/src/Notifier/CliBasedNotifier.php | hassanbsee2071/pavyexity_docker_updated | dfd773cc5df971f3816dcf3c958fa311481e1dc7 | [
"MIT"
] | null | null | null | vendor/jolicode/jolinotif/src/Notifier/CliBasedNotifier.php | hassanbsee2071/pavyexity_docker_updated | dfd773cc5df971f3816dcf3c958fa311481e1dc7 | [
"MIT"
] | null | null | null | <?php
/*
* This file is part of the JoliNotif project.
*
* (c) Loïck Piera <pyrech@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Joli\JoliNotif\Notifier;
use Joli\JoliNotif\Exception\InvalidNotificationExc... | 27.224638 | 110 | 0.581581 |
1a9fb7a0f953d389b239523f3c30163590a32b81 | 354 | cs | C# | UCWASDK/UCWASDK/Models/FailedDeliveryParticipant.cs | tcs-devel/UCWA2.0-CS | 84942c321de7ee72cc3996131e290af8b16e1698 | [
"MIT"
] | 29 | 2016-11-14T16:32:54.000Z | 2020-11-17T12:23:07.000Z | UCWASDK/UCWASDK/Models/FailedDeliveryParticipant.cs | tcs-devel/UCWA2.0-CS | 84942c321de7ee72cc3996131e290af8b16e1698 | [
"MIT"
] | 56 | 2017-02-07T21:35:07.000Z | 2019-02-15T11:19:16.000Z | UCWASDK/UCWASDK/Models/FailedDeliveryParticipant.cs | tcs-devel/UCWA2.0-CS | 84942c321de7ee72cc3996131e290af8b16e1698 | [
"MIT"
] | 25 | 2017-02-28T18:06:09.000Z | 2020-11-11T14:57:12.000Z | namespace Microsoft.Skype.UCWA.Models
{
/// <summary>
/// Represents a participant that failed to receive an instant message sent by the user.
/// An application can choose to present this information to the user for a reliable messaging experience.
/// </summary>
public class FailedDeliveryPartic... | 32.181818 | 111 | 0.706215 |
8417b25637bb7204421c63e6d0f569ebf2cccc8a | 990 | ps1 | PowerShell | dev/Sonos-Kids-Controller-master/deploy.ps1 | splitti/MuPiBox | 4eeab8518dcd358c1f7834fe7dcdab08f3ba61c8 | [
"MIT"
] | 2 | 2022-02-11T07:28:31.000Z | 2022-03-05T22:29:12.000Z | dev/Sonos-Kids-Controller-master/deploy.ps1 | splitti/MuPiBox | 4eeab8518dcd358c1f7834fe7dcdab08f3ba61c8 | [
"MIT"
] | 3 | 2022-03-07T08:42:11.000Z | 2022-03-25T09:57:03.000Z | dev/Sonos-Kids-Controller-master/deploy.ps1 | splitti/MuPiBox | 4eeab8518dcd358c1f7834fe7dcdab08f3ba61c8 | [
"MIT"
] | null | null | null |
remove-item .\deploy -Recurse -Confirm:$false
Remove-Item .\deploy.zip -Confirm:$false
# build personal web app
ionic build --prod
# copy everything to deploy directory
mkdir deploy
Copy-Item www .\deploy\ -Recurse -Confirm:$false
Copy-Item server .\deploy\ -Recurse -Confirm:$false
Copy-Item server.js .\deploy\ -... | 30 | 70 | 0.632323 |
a196ca966c3afdcf7bb1b23932a67608596e2163 | 261 | ts | TypeScript | packages/vuetify/src/mixins/comparable/index.ts | alerodrod/vuetify | 1aea9629bdbe252ac0297816ac1a69d6df47448a | [
"MIT"
] | 11 | 2020-07-23T05:55:27.000Z | 2022-03-11T12:54:56.000Z | packages/vuetify/src/mixins/comparable/index.ts | alerodrod/vuetify | 1aea9629bdbe252ac0297816ac1a69d6df47448a | [
"MIT"
] | 8 | 2020-06-05T20:54:23.000Z | 2022-03-12T00:14:30.000Z | packages/vuetify/src/mixins/comparable/index.ts | alerodrod/vuetify | 1aea9629bdbe252ac0297816ac1a69d6df47448a | [
"MIT"
] | 3 | 2021-06-27T16:23:52.000Z | 2022-03-03T15:54:05.000Z | import Vue, { PropType } from 'vue'
import { deepEqual } from '../../util/helpers'
export default Vue.extend({
name: 'comparable',
props: {
valueComparator: {
type: Function as PropType<typeof deepEqual>,
default: deepEqual,
},
},
})
| 20.076923 | 51 | 0.624521 |
b2d3c8e5ab050897b56580ee534f568ece12bf59 | 9,020 | css | CSS | resources/public/main.css | CrossRef/member-domains | a34e55d2577e794b29498876073aa9b8cc3cccf6 | [
"MIT"
] | null | null | null | resources/public/main.css | CrossRef/member-domains | a34e55d2577e794b29498876073aa9b8cc3cccf6 | [
"MIT"
] | null | null | null | resources/public/main.css | CrossRef/member-domains | a34e55d2577e794b29498876073aa9b8cc3cccf6 | [
"MIT"
] | null | null | null | strong {
font-weight: bold;
}
a {
/*text-decoration: underline;*/
}
.itemTitle {
font-size: 1.5em;
}
.citeAction {
vertical-align: middle !important;
text-align: center;
}
.btn {
margin: 5px;
}
.navbar-brand {
text-decoration: none;
color: red;
}
.cr-red {
color: #c0473f;
}
.cr-grey {
c... | 22.382134 | 614 | 0.639024 |
23c1c6bfcd1b95466535958783f8fb664feb8b5c | 366 | js | JavaScript | Drivers/CMSIS/docs/DSP/html/group__Fill.js | mlecriva/TrustZone_stm32l5xx | e924d22bb2b11ac363613e372850fb1896ca3a71 | [
"MIT"
] | null | null | null | Drivers/CMSIS/docs/DSP/html/group__Fill.js | mlecriva/TrustZone_stm32l5xx | e924d22bb2b11ac363613e372850fb1896ca3a71 | [
"MIT"
] | null | null | null | Drivers/CMSIS/docs/DSP/html/group__Fill.js | mlecriva/TrustZone_stm32l5xx | e924d22bb2b11ac363613e372850fb1896ca3a71 | [
"MIT"
] | 1 | 2021-09-25T16:44:11.000Z | 2021-09-25T16:44:11.000Z | var group__Fill =
[
[ "arm_fill_f32", "group__Fill.html#ga2248e8d3901b4afb7827163132baad94", null ],
[ "arm_fill_q15", "group__Fill.html#ga76b21c32a3783a2b3334d930a646e5d8", null ],
[ "arm_fill_q31", "group__Fill.html#ga69cc781cf337bd0a31bb85c772a35f7f", null ],
[ "arm_fill_q7", "group__Fill.html#g... | 52.285714 | 85 | 0.745902 |
20e972004180c062c9dade7f535d93f168f7dd87 | 2,500 | dart | Dart | lib/services/auth.dart | pranavraagz/watcher | d4d8f43105f8e4af43cb34511ca86fcc278f1549 | [
"MIT"
] | null | null | null | lib/services/auth.dart | pranavraagz/watcher | d4d8f43105f8e4af43cb34511ca86fcc278f1549 | [
"MIT"
] | null | null | null | lib/services/auth.dart | pranavraagz/watcher | d4d8f43105f8e4af43cb34511ca86fcc278f1549 | [
"MIT"
] | null | null | null | import 'package:crosswalk/models/user.dart';
import 'package:crosswalk/services/database.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
class AuthService {
final FirebaseAuth _auth = FirebaseAuth.instance;
//
//This converts the User Object from ... | 26.88172 | 85 | 0.6532 |
6da2aeeeacfe1de36ae899760b87f85638b1b4fc | 2,066 | c | C | content/cpp/sdl2mixer.c | felixroos/blog | d753f5cfd58af28f2da0c6a839c5a83e224867e4 | [
"MIT"
] | null | null | null | content/cpp/sdl2mixer.c | felixroos/blog | d753f5cfd58af28f2da0c6a839c5a83e224867e4 | [
"MIT"
] | 3 | 2021-03-10T15:56:19.000Z | 2022-02-28T01:47:44.000Z | content/cpp/sdl2mixer.c | felixroos/blog | d753f5cfd58af28f2da0c6a839c5a83e224867e4 | [
"MIT"
] | null | null | null | #include <SDL2/SDL.h>
#define MUS_PATH "HT0D3.wav"
// prototype for our audio callback
// see the implementation for more information
void my_audio_callback(void *userdata, Uint8 *stream, int len);
// variable declarations
static Uint8 *audio_pos; // global pointer to the audio buffer to be played
static Uint32 audi... | 27.184211 | 94 | 0.708132 |
059cf30378377081cf97418bbede459f2e60708b | 2,555 | py | Python | core/lexers/lexers.py | nikitinivan/Pycycle | 4e850c6fbcf470ebabf834a8feef6c12f92ccade | [
"MIT"
] | 2 | 2017-11-04T16:56:10.000Z | 2020-01-18T10:01:09.000Z | core/lexers/lexers.py | nikitinivan/Pycycle | 4e850c6fbcf470ebabf834a8feef6c12f92ccade | [
"MIT"
] | null | null | null | core/lexers/lexers.py | nikitinivan/Pycycle | 4e850c6fbcf470ebabf834a8feef6c12f92ccade | [
"MIT"
] | null | null | null | from PyQt5.Qsci import *
__all__ = ['get_lexer_by_ext', 'set_lexer_by_menu']
LEXERS = {
('AVS', QsciLexerAVS): (),
('Bash', QsciLexerBash): ('sh', 'ksh', 'bash', 'ebuild', 'eclass', 'exheres-0', 'exlib'),
('Batch', QsciLexerBatch): ('cmd', 'btm'),
('Cmake', QsciLexerCMake): ('cmake'),
('CoffeeScri... | 36.5 | 105 | 0.551468 |
3862e0cb0572ec3896ab15da273d3e3e6c805c49 | 319 | php | PHP | tests/Application/app/AccountCollection.php | sergiy-petrov/larastan | a5a6bdae060c72a5909479fb37c04a7f9fd84533 | [
"MIT"
] | 3,703 | 2018-07-05T21:39:20.000Z | 2022-03-31T19:15:47.000Z | tests/Application/app/AccountCollection.php | sergiy-petrov/larastan | a5a6bdae060c72a5909479fb37c04a7f9fd84533 | [
"MIT"
] | 991 | 2018-07-05T21:43:56.000Z | 2022-03-30T14:26:34.000Z | tests/Application/app/AccountCollection.php | sergiy-petrov/larastan | a5a6bdae060c72a5909479fb37c04a7f9fd84533 | [
"MIT"
] | 364 | 2018-07-16T21:48:31.000Z | 2022-03-31T21:04:32.000Z | <?php
namespace App;
use Illuminate\Database\Eloquent\Collection;
/**
* @template TModel
* @extends Collection<TModel>
*/
class AccountCollection extends Collection
{
/**
* @return self<TModel>
*/
public function filterByActive(): self
{
return $this->where('active', true);
}
}
| 15.190476 | 44 | 0.636364 |
da9416ae9ddb08c743d213b86a8851ce64e04f7d | 367 | php | PHP | tests/bootstrap.php | JShadowMan/PHPDesignPatterns | 6af47598510c5848f7d4515f1174967fd60da341 | [
"MIT"
] | null | null | null | tests/bootstrap.php | JShadowMan/PHPDesignPatterns | 6af47598510c5848f7d4515f1174967fd60da341 | [
"MIT"
] | null | null | null | tests/bootstrap.php | JShadowMan/PHPDesignPatterns | 6af47598510c5848f7d4515f1174967fd60da341 | [
"MIT"
] | null | null | null | <?php
/**
* Bootstrap.php
*
* @package Here
* @author ShadowMan <shadowman@shellboot.com>
* @copyright Copyright (C) 2016-2017 ShadowMan
* @license MIT License
* @link https://github.com/JShadowMan/DesignPatterns
*/
$loader = include __DIR__ . '/../vendor/autoload.php';
$loader->addPsr4... | 26.214286 | 62 | 0.637602 |
b2c899b3b1e8e02934c62f7057ab4502f3a9707a | 984 | dart | Dart | lib/bloc/universal_link/universal_link_bloc.dart | fossabot/glacius-mobile | 7b5c64f6f4adb0c3820fa55897ea76831bb0aef6 | [
"MIT"
] | 1 | 2020-10-06T12:45:32.000Z | 2020-10-06T12:45:32.000Z | lib/bloc/universal_link/universal_link_bloc.dart | fossabot/glacius-mobile | 7b5c64f6f4adb0c3820fa55897ea76831bb0aef6 | [
"MIT"
] | 1 | 2019-12-10T08:46:07.000Z | 2019-12-10T08:46:07.000Z | lib/bloc/universal_link/universal_link_bloc.dart | fossabot/glacius-mobile | 7b5c64f6f4adb0c3820fa55897ea76831bb0aef6 | [
"MIT"
] | 2 | 2019-12-10T08:38:41.000Z | 2020-01-04T16:55:40.000Z | import 'package:bloc/bloc.dart';
import 'package:glacius_mobile/bloc/universal_link/universal_link.dart';
import 'package:uni_links/uni_links.dart';
import 'package:flutter/services.dart';
class UniversalLinkBloc extends Bloc<UniversalLinkEvent, UniversalLinkState> {
@override
UniversalLinkState get initialState =... | 32.8 | 79 | 0.697154 |
9528a3a1f0a9478e84cad21ad797e2718d03be86 | 2,497 | go | Go | cmd/oy-expose/main_test.go | o11ydev/oy-toolkit | 97c5a534e3a48bcedcec7654cd3320ad007026c1 | [
"Apache-2.0"
] | 5 | 2022-03-15T19:31:39.000Z | 2022-03-24T20:09:03.000Z | cmd/oy-expose/main_test.go | o11ydev/oy-toolkit | 97c5a534e3a48bcedcec7654cd3320ad007026c1 | [
"Apache-2.0"
] | null | null | null | cmd/oy-expose/main_test.go | o11ydev/oy-toolkit | 97c5a534e3a48bcedcec7654cd3320ad007026c1 | [
"Apache-2.0"
] | 1 | 2022-03-16T11:59:13.000Z | 2022-03-16T11:59:13.000Z | // Copyright 2022 The o11y toolkit Authors
// spdx-license-identifier: apache-2.0
//
// 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
//
//... | 23.780952 | 92 | 0.67481 |
663bcf7cbf97b88a431e5ba63e8f74a5b5e7fc19 | 6,062 | py | Python | international_data_preprocessing/money.py | emcarlson2017/international-data-preprocessing | dee729c7348ffc77547dd5ca9d4c09daba4f4c66 | [
"MIT"
] | null | null | null | international_data_preprocessing/money.py | emcarlson2017/international-data-preprocessing | dee729c7348ffc77547dd5ca9d4c09daba4f4c66 | [
"MIT"
] | null | null | null | international_data_preprocessing/money.py | emcarlson2017/international-data-preprocessing | dee729c7348ffc77547dd5ca9d4c09daba4f4c66 | [
"MIT"
] | null | null | null | """The money module includes an object representation of money,
and functions to parse strings into Money."""
from .country import Country
from ._util import check_single_row
import pandas as pd
import re
import os
import os.path
dirpath = os.path.dirname(os.path.realpath(__file__))
_country_to_currency = pd.read_csv(... | 39.881579 | 163 | 0.623062 |
798f43a0373da3bdcb71606bc62dd64805a3b397 | 4,824 | php | PHP | system/Database/DBResult.php | voyager-php/voyager | 5ea5b371d3ebadd44b9f0f6dcabd41698b52a736 | [
"MIT"
] | 13 | 2020-12-02T00:31:59.000Z | 2021-07-08T06:22:24.000Z | system/Database/DBResult.php | voyager-php/voyager | 5ea5b371d3ebadd44b9f0f6dcabd41698b52a736 | [
"MIT"
] | null | null | null | system/Database/DBResult.php | voyager-php/voyager | 5ea5b371d3ebadd44b9f0f6dcabd41698b52a736 | [
"MIT"
] | 2 | 2020-12-02T10:04:52.000Z | 2020-12-05T08:08:15.000Z | <?php
namespace Voyager\Database;
use Voyager\App\Request;
use Voyager\Util\Data\Bundle;
class DBResult extends DBResponse
{
/**
* Store result in bundle objects.
*
* @var \Voyager\Util\Data\Bundle
*/
private $bundle;
/**
* Return result bundle.
*
* @return \Voyage... | 19.219124 | 61 | 0.42869 |
b2d2cdd1ca7c5c7e19205dec4fc7550d4066fa95 | 31,242 | css | CSS | public/assets/css/style2.css | Janakh/Ei-sGallery | 75d50452ebebccf03732c562fff37ef66fe2bf67 | [
"MIT"
] | 1 | 2018-12-08T03:32:55.000Z | 2018-12-08T03:32:55.000Z | public/assets/css/style2.css | Janakh/Ei-sGallery | 75d50452ebebccf03732c562fff37ef66fe2bf67 | [
"MIT"
] | null | null | null | public/assets/css/style2.css | Janakh/Ei-sGallery | 75d50452ebebccf03732c562fff37ef66fe2bf67 | [
"MIT"
] | null | null | null | @import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro");
@-webkit-keyframes fade-in {
from {
visibility: hidden;
opacity: 0;
}
to {
visibility: visible;
opacity: 1;
}
}
@keyframes fade-in {
from {
visibility: hidden;
opacity: 0;
}
to {
visibility: visible;
op... | 51.983361 | 784 | 0.689424 |
259571f36c91e8c9fd71813bca578c70053a8a0b | 681 | js | JavaScript | plugins/ui-main/app/controller/page.js | bitorjs/ui | c6cb6624d135101594951c1ee39461367db6dd2d | [
"MIT"
] | null | null | null | plugins/ui-main/app/controller/page.js | bitorjs/ui | c6cb6624d135101594951c1ee39461367db6dd2d | [
"MIT"
] | null | null | null | plugins/ui-main/app/controller/page.js | bitorjs/ui | c6cb6624d135101594951c1ee39461367db6dd2d | [
"MIT"
] | null | null | null | import {
Controller,
Get,
Post
} from 'bitorjs-decorators';
// import Toast from '../../packages/Toast';
@Controller('/')
export default class {
@Get('/:page?')
async a(req) {
let r = await this.ctx.$service.ff.aa();
console.log(r)
const data = this.ctx.$store.state.ttt.data;
const asyncView ... | 23.482759 | 62 | 0.578561 |
435568be8b045cde271f32225527166bb1f4ab82 | 4,254 | tsx | TypeScript | src/services/userService.tsx | xmj-alliance/xmjcraft-client-react | 3300039698828b480b9c1294b410b7a6adc80d16 | [
"MIT"
] | null | null | null | src/services/userService.tsx | xmj-alliance/xmjcraft-client-react | 3300039698828b480b9c1294b410b7a6adc80d16 | [
"MIT"
] | 1 | 2022-02-13T18:58:50.000Z | 2022-02-13T18:58:50.000Z | src/services/userService.tsx | xmj-alliance/xmjcraft-client-react | 3300039698828b480b9c1294b410b7a6adc80d16 | [
"MIT"
] | null | null | null | import { loader } from "graphql.macro";
import { useQuery, useMutation } from "@apollo/client";
import User from "../models/user";
import CUDMessage from "../models/cudMessage";
const GET_USERS = loader("./userGraph/getList.graphql");
const GET_USER = loader("./userGraph/getSingle.graphql");
const ADD_USER = loader(".... | 20.354067 | 100 | 0.5315 |
0499e524bb700504d56583762a0496b66a220938 | 1,350 | kt | Kotlin | app/src/main/java/za/org/grassroot2/presenter/fragment/BaseFragmentPresenter.kt | grassrootza/grassroot-android-v2 | a5851bfe2790ea965ebb7330b8cbb48abf9c4d4c | [
"BSD-3-Clause"
] | null | null | null | app/src/main/java/za/org/grassroot2/presenter/fragment/BaseFragmentPresenter.kt | grassrootza/grassroot-android-v2 | a5851bfe2790ea965ebb7330b8cbb48abf9c4d4c | [
"BSD-3-Clause"
] | null | null | null | app/src/main/java/za/org/grassroot2/presenter/fragment/BaseFragmentPresenter.kt | grassrootza/grassroot-android-v2 | a5851bfe2790ea965ebb7330b8cbb48abf9c4d4c | [
"BSD-3-Clause"
] | 4 | 2018-02-11T11:58:59.000Z | 2018-03-06T13:52:48.000Z | package za.org.grassroot2.presenter.fragment
import io.reactivex.Scheduler
import io.reactivex.android.schedulers.AndroidSchedulers
import org.greenrobot.eventbus.EventBus
import org.greenrobot.eventbus.Subscribe
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.disposables.Disposable
import io.... | 23.684211 | 58 | 0.701481 |
b8e0b910d0f79ab66b96f3295287fcf04b5226c9 | 1,335 | h | C | src/pragma_openmp.h | mjklemm/nwchem-tce-triples-kernels | 1ad8c18d1a01e65c1a451d5640e05079fc82de80 | [
"Apache-2.0"
] | 8 | 2018-03-29T01:59:31.000Z | 2022-01-14T01:00:43.000Z | src/pragma_openmp.h | mjklemm/nwchem-tce-triples-kernels | 1ad8c18d1a01e65c1a451d5640e05079fc82de80 | [
"Apache-2.0"
] | null | null | null | src/pragma_openmp.h | mjklemm/nwchem-tce-triples-kernels | 1ad8c18d1a01e65c1a451d5640e05079fc82de80 | [
"Apache-2.0"
] | 5 | 2018-08-13T23:25:59.000Z | 2022-01-12T17:30:36.000Z | #ifndef PRAGMA_OPENMP_H
#define PRAGMA_OPENMP_H
#if defined(_OPENMP) && (( __STDC_VERSION__ >= 199901L ) || (__cplusplus >= 201103L ))
#define PRAGMA(x) _Pragma(#x)
#define OMP_PARALLEL PRAGMA(omp parallel)
#define OMP_PARALLEL_FOR PRAGMA(omp parallel for schedule(static))
#define OMP_PARALLEL_FOR_SIMD PRAGMA(omp pa... | 35.131579 | 108 | 0.820225 |
8192d4b9f65b414c43ebdcfefc6e59b2e1ae60a3 | 2,355 | sql | SQL | SQL/DevSnippets/TimeExecution.sql | badlydressedboy/ssms-extended-templates | 0461596e5e16a17bee41bf7f815cbbdae7028a20 | [
"MIT"
] | null | null | null | SQL/DevSnippets/TimeExecution.sql | badlydressedboy/ssms-extended-templates | 0461596e5e16a17bee41bf7f815cbbdae7028a20 | [
"MIT"
] | null | null | null | SQL/DevSnippets/TimeExecution.sql | badlydressedboy/ssms-extended-templates | 0461596e5e16a17bee41bf7f815cbbdae7028a20 | [
"MIT"
] | null | null | null | /******INSERT INTO TOP OF TEST CODE*****/
declare @message varchar(500)
declare @starttime datetime
declare @stepstarttime datetime
set @starttime = getdate()
set @stepstarttime = getdate()
/***************************************/
--CREATE THESE 2 PROCEDURES--------------------------------------------
alter PROCEDUR... | 32.260274 | 115 | 0.684926 |
f3dd895fd45ec8e46107b8ef19e343f3f018f9c4 | 5,007 | sql | SQL | liidimanageri_2.sql | Web-projektitII/Liidimanageri | deaf8c4eac62d6512b372e0a685dc7a01754b204 | [
"MIT"
] | null | null | null | liidimanageri_2.sql | Web-projektitII/Liidimanageri | deaf8c4eac62d6512b372e0a685dc7a01754b204 | [
"MIT"
] | null | null | null | liidimanageri_2.sql | Web-projektitII/Liidimanageri | deaf8c4eac62d6512b372e0a685dc7a01754b204 | [
"MIT"
] | 4 | 2020-04-27T06:28:42.000Z | 2021-11-06T10:31:53.000Z | -- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: 11.05.2020 klo 09:50
-- Palvelimen versio: 10.4.6-MariaDB
-- PHP Version: 7.3.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD... | 27.360656 | 146 | 0.664869 |
cc8246a434d7e641b2dd9c62ffd05621df8c410c | 599 | h | C | Windows/allegro/include/allegro5/internal/aintern_prim_soft.h | Coolcord/Trake | 3950fe2d99abcfd5e202191e4ba50e89c622e7c9 | [
"MIT"
] | 4 | 2015-04-27T01:13:05.000Z | 2018-03-26T13:27:36.000Z | Windows/allegro/include/allegro5/internal/aintern_prim_soft.h | Coolcord/Trake | 3950fe2d99abcfd5e202191e4ba50e89c622e7c9 | [
"MIT"
] | null | null | null | Windows/allegro/include/allegro5/internal/aintern_prim_soft.h | Coolcord/Trake | 3950fe2d99abcfd5e202191e4ba50e89c622e7c9 | [
"MIT"
] | null | null | null | #ifndef __al_included_allegro5_aintern_prim_soft_h
#define __al_included_allegro5_aintern_prim_soft_h
struct ALLEGRO_BITMAP;
struct ALLEGRO_VERTEX;
int _al_draw_prim_soft(ALLEGRO_BITMAP* texture, const void* vtxs, const ALLEGRO_VERTEX_DECL* decl, int start, int end, int type);
int _al_draw_prim_indexed_soft(AL... | 42.785714 | 151 | 0.814691 |
8c1e8f158ec87e1db923a951a697fb298a17c3b9 | 1,583 | cs | C# | sdk/dotnet/Azure/Outputs/OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom.cs | pulumi/pulumi-spotinst | 75592d6293d63f6cec703722f2e02ff1fb1cca44 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2019-12-21T20:50:43.000Z | 2021-12-01T20:57:38.000Z | sdk/dotnet/Azure/Outputs/OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom.cs | pulumi/pulumi-spotinst | 75592d6293d63f6cec703722f2e02ff1fb1cca44 | [
"ECL-2.0",
"Apache-2.0"
] | 103 | 2019-12-09T22:03:16.000Z | 2022-03-30T17:07:34.000Z | sdk/dotnet/Azure/Outputs/OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom.cs | pulumi/pulumi-spotinst | 75592d6293d63f6cec703722f2e02ff1fb1cca44 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 31.66 | 134 | 0.628553 |
38b2126a5a81f8a573fc523c142a3dc43384968f | 1,618 | php | PHP | custom/plugins/SwagPayPal/src/RestApi/V1/Resource/DisputeResource.php | masystech/pompidu | 9929f5cf0d1afd96c9020b95ce1d60aa3f6b1677 | [
"MIT"
] | null | null | null | custom/plugins/SwagPayPal/src/RestApi/V1/Resource/DisputeResource.php | masystech/pompidu | 9929f5cf0d1afd96c9020b95ce1d60aa3f6b1677 | [
"MIT"
] | null | null | null | custom/plugins/SwagPayPal/src/RestApi/V1/Resource/DisputeResource.php | masystech/pompidu | 9929f5cf0d1afd96c9020b95ce1d60aa3f6b1677 | [
"MIT"
] | null | null | null | <?php declare(strict_types=1);
/*
* (c) shopware AG <info@shopware.com>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Swag\PayPal\RestApi\V1\Resource;
use Swag\PayPal\RestApi\Client\PayPalClientFactoryInterface;
use Swag\P... | 31.72549 | 109 | 0.689122 |
2589b1cabe83be17fcb208ccecaade69aa9ab695 | 2,631 | js | JavaScript | assets/controllers/select/country_controller.js | benjaminjonard/koillection | 67cfbbce3726cb84ec3d4b02ce01c60039ea0cd0 | [
"MIT"
] | 1 | 2020-04-19T05:09:20.000Z | 2020-04-19T05:09:20.000Z | assets/controllers/select/country_controller.js | benjaminjonard/koillection | 67cfbbce3726cb84ec3d4b02ce01c60039ea0cd0 | [
"MIT"
] | 10 | 2017-04-28T16:12:50.000Z | 2020-05-02T15:45:23.000Z | assets/controllers/select/country_controller.js | benjaminjonard/koillection | 67cfbbce3726cb84ec3d4b02ce01c60039ea0cd0 | [
"MIT"
] | 1 | 2020-04-19T22:53:36.000Z | 2020-04-19T22:53:36.000Z | import { Controller } from 'stimulus';
import Translator from "../../js/translator.min";
import { TsSelect2 } from "../../node_modules/ts-select2/dist/core";
/* stimulusFetch: 'lazy' */
export default class extends Controller {
connect() {
let self = this;
new TsSelect2(this.element, {
... | 35.554054 | 141 | 0.45496 |
88c9a66a9a624f90f38fe9e6f1fd10a47c84682c | 897 | cs | C# | WRLDCWarehouse.Core/Entities/BusReactor.cs | POSOCO/wrldc_data_warehouse_csharp | 946a6576150f1ad32f5451fbed8fef1fcca3c8d8 | [
"MIT"
] | null | null | null | WRLDCWarehouse.Core/Entities/BusReactor.cs | POSOCO/wrldc_data_warehouse_csharp | 946a6576150f1ad32f5451fbed8fef1fcca3c8d8 | [
"MIT"
] | null | null | null | WRLDCWarehouse.Core/Entities/BusReactor.cs | POSOCO/wrldc_data_warehouse_csharp | 946a6576150f1ad32f5451fbed8fef1fcca3c8d8 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace WRLDCWarehouse.Core.Entities
{
public class BusReactor
{
public int BusReactorId { get; set; }
[Required]
public string Name { get; set; }
public int BusReactorNumber { get; s... | 28.03125 | 68 | 0.615385 |
38afc1065979195282f2886c2705df72568aeba6 | 5,151 | php | PHP | resources/views/partials/admin/header.blade.php | babakmoeinifar/acgo | 8a8abe12b08ec8d7b950be21a494e6ab8aee96f4 | [
"MIT"
] | null | null | null | resources/views/partials/admin/header.blade.php | babakmoeinifar/acgo | 8a8abe12b08ec8d7b950be21a494e6ab8aee96f4 | [
"MIT"
] | null | null | null | resources/views/partials/admin/header.blade.php | babakmoeinifar/acgo | 8a8abe12b08ec8d7b950be21a494e6ab8aee96f4 | [
"MIT"
] | null | null | null | @php
$users=\Auth::user();
$profile=asset(Storage::url('avatar/'));
$currantLang = $users->currentLanguage();
$languages=Utility::languages();
@endphp
<div class="navbar-bg"></div>
<nav class="navbar navbar-expand-lg main-navbar">
<form class="form-inline mr-auto search-element" method="post">
... | 57.233333 | 187 | 0.472141 |
d333a792b22287a53e6a8e9be7bfa42740958cef | 1,508 | css | CSS | src/modules/Dashboard/components/stateless/FilterForm/style.css | viseo-asia/cycle-hire-app-admin | a15c7ce3aa0433b266e5665bf05980d31f7bbbcc | [
"MIT"
] | null | null | null | src/modules/Dashboard/components/stateless/FilterForm/style.css | viseo-asia/cycle-hire-app-admin | a15c7ce3aa0433b266e5665bf05980d31f7bbbcc | [
"MIT"
] | 6 | 2018-04-11T03:13:12.000Z | 2018-04-23T02:54:15.000Z | src/modules/Dashboard/components/stateless/FilterForm/style.css | viseo-asia/cycle-hire-app-admin | a15c7ce3aa0433b266e5665bf05980d31f7bbbcc | [
"MIT"
] | null | null | null | /*
Extra small devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap
*/
.filter-form-container {
padding: 30px;
background-color: rgb(40, 63, 137);
color: #fff;
}
.filter-form-container .date-picker input {
color: white !important;
}
.filter-form-cont... | 24.721311 | 60 | 0.661804 |
743844b5c6848ff5e31c7a40539d7c8bc4c2e27d | 1,568 | css | CSS | public/assets/css/animate.css | garybarredaamaro/cleverpro | 52cab6cba6e2788dff9156dff2cc7a5a0ac99383 | [
"MIT"
] | null | null | null | public/assets/css/animate.css | garybarredaamaro/cleverpro | 52cab6cba6e2788dff9156dff2cc7a5a0ac99383 | [
"MIT"
] | null | null | null | public/assets/css/animate.css | garybarredaamaro/cleverpro | 52cab6cba6e2788dff9156dff2cc7a5a0ac99383 | [
"MIT"
] | null | null | null |
.animate-enter {
-webkit-animation: enter 125ms cubic-bezier(0.075, 0.820, 0.165, 1.000);
animation: enter 125ms cubic-bezier(0.075, 0.820, 0.165, 1.000);
display: block;
position: relative;
}
@-webkit-keyframes enter {
from {
opacity: 0;
height: 0px;
}
20% {
opacity: .5;
}
... | 15.223301 | 76 | 0.452806 |
f4dc0386dde98b79ba554ef6719dc82cfc2d7e6f | 641 | ts | TypeScript | src/CollisionBox.ts | PxlBuzzard/game2020 | b8bc6a9608c3925203bf086a8bddd6557c180602 | [
"MIT"
] | null | null | null | src/CollisionBox.ts | PxlBuzzard/game2020 | b8bc6a9608c3925203bf086a8bddd6557c180602 | [
"MIT"
] | 3 | 2021-06-17T13:22:22.000Z | 2022-02-13T21:42:07.000Z | src/CollisionBox.ts | PxlBuzzard/game2020 | b8bc6a9608c3925203bf086a8bddd6557c180602 | [
"MIT"
] | null | null | null | import {
useType,
useNewComponent,
Geometry,
Polygon,
Vector,
Physics,
useDraw,
} from "@hex-engine/2d";
export default function CollisionBox(
width: number,
height: number,
position: Vector
): void {
useType(CollisionBox);
const geometry = useNewComponent(() =>
... | 20.03125 | 70 | 0.578783 |
e38c1aaffde78647d3970df7c3dacc580698349c | 8,229 | rb | Ruby | nuget/lib/dependabot/nuget/file_fetcher.rb | amclin/dependabot-core | fae1ce8cba6cb33e814efc87e9691b24ac318b55 | [
"0BSD",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | nuget/lib/dependabot/nuget/file_fetcher.rb | amclin/dependabot-core | fae1ce8cba6cb33e814efc87e9691b24ac318b55 | [
"0BSD",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 346 | 2019-08-20T14:35:46.000Z | 2021-07-31T08:08:43.000Z | nuget/lib/dependabot/nuget/file_fetcher.rb | amclin/dependabot-core | fae1ce8cba6cb33e814efc87e9691b24ac318b55 | [
"0BSD",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | # frozen_string_literal: true
require "dependabot/file_fetchers"
require "dependabot/file_fetchers/base"
module Dependabot
module Nuget
class FileFetcher < Dependabot::FileFetchers::Base
require_relative "file_fetcher/import_paths_finder"
require_relative "file_fetcher/sln_project_paths_finder"
... | 31.895349 | 80 | 0.596184 |
362286ef7668881162b39da0e1e1b6c8babb3604 | 805 | go | Go | vendor/github.com/vmware/go-vmware-nsxt/upgrade/logical_switch_info.go | Kristian-ZH/gardener-extension-provider-vsphere | 61dedd9de991d0fdf9bfa3ae733216ccb30e1640 | [
"MIT"
] | 122 | 2018-02-15T14:47:55.000Z | 2022-03-28T17:17:39.000Z | vendor/github.com/vmware/go-vmware-nsxt/upgrade/logical_switch_info.go | Kristian-ZH/gardener-extension-provider-vsphere | 61dedd9de991d0fdf9bfa3ae733216ccb30e1640 | [
"MIT"
] | 100 | 2020-02-04T07:02:31.000Z | 2022-03-29T14:49:37.000Z | vendor/github.com/vmware/go-vmware-nsxt/upgrade/logical_switch_info.go | Kristian-ZH/gardener-extension-provider-vsphere | 61dedd9de991d0fdf9bfa3ae733216ccb30e1640 | [
"MIT"
] | 29 | 2020-01-31T11:50:49.000Z | 2022-03-08T10:15:59.000Z | /* Copyright © 2017 VMware, Inc. All Rights Reserved.
SPDX-License-Identifier: BSD-2-Clause
Generated by: https://github.com/swagger-api/swagger-codegen.git */
package upgrade
type LogicalSwitchInfo struct {
// Number of instances on this logical switch
InstancesCount int64 `json:"instances_count,omitempty"... | 32.2 | 87 | 0.785093 |
b5943180d070cad3863e2b6191a1171421ee98ab | 249 | rb | Ruby | kitchen-tests/cookbooks/end_to_end/recipes/_sysctl.rb | bobchaos/chef | b84d384a058d2159c610771beccfe7728c28a688 | [
"Apache-2.0"
] | 1 | 2015-08-03T23:21:15.000Z | 2015-08-03T23:21:15.000Z | kitchen-tests/cookbooks/end_to_end/recipes/_sysctl.rb | bobchaos/chef | b84d384a058d2159c610771beccfe7728c28a688 | [
"Apache-2.0"
] | null | null | null | kitchen-tests/cookbooks/end_to_end/recipes/_sysctl.rb | bobchaos/chef | b84d384a058d2159c610771beccfe7728c28a688 | [
"Apache-2.0"
] | null | null | null | #
# Cookbook:: end_to_end
# Recipe:: sysctl
#
sysctl "vm.swappiness" do
value 19
end
sysctl "kernel.msgmax" do
value 9000
end
sysctl "kernel.msgmax" do
action :remove
end
sysctl_param "bogus.sysctl_val" do
value 9000
action :remove
end | 11.857143 | 34 | 0.722892 |
e258ff324f614b881f4d977f44e64c367f14bf95 | 41 | js | JavaScript | Client/src/Redux/costants.js | porosh2002/Boilerplate-code | 409ad5c89c25d855038057b451e975c02ad54837 | [
"RSA-MD"
] | null | null | null | Client/src/Redux/costants.js | porosh2002/Boilerplate-code | 409ad5c89c25d855038057b451e975c02ad54837 | [
"RSA-MD"
] | null | null | null | Client/src/Redux/costants.js | porosh2002/Boilerplate-code | 409ad5c89c25d855038057b451e975c02ad54837 | [
"RSA-MD"
] | null | null | null | export const SET_USER_ID = 'SET_USER_ID'; | 41 | 41 | 0.804878 |
4fe5c526c6e9ac03a7fe87b042ee373c83e82f33 | 9,467 | rb | Ruby | lib/graphql/compatibility/query_parser_specification.rb | speakingcode/graphql-ruby | 90022e09d3d96031c44c6c0fe87304f36f319bbb | [
"MIT"
] | 7 | 2018-11-14T17:09:39.000Z | 2020-11-11T02:14:19.000Z | lib/graphql/compatibility/query_parser_specification.rb | bertiecroll/graphql-ruby | 7fc54bf322ed9cde9db594c519ae41539d41b33b | [
"MIT"
] | 3 | 2020-07-17T01:28:50.000Z | 2021-05-08T20:18:41.000Z | lib/graphql/compatibility/query_parser_specification.rb | bertiecroll/graphql-ruby | 7fc54bf322ed9cde9db594c519ae41539d41b33b | [
"MIT"
] | 2 | 2018-06-10T05:51:36.000Z | 2020-02-07T16:19:56.000Z | # frozen_string_literal: true
require "graphql/compatibility/query_parser_specification/query_assertions"
require "graphql/compatibility/query_parser_specification/parse_error_specification"
module GraphQL
module Compatibility
# This asserts that a given parse function turns a string into
# the proper tree o... | 35.724528 | 108 | 0.5516 |
23ef476e9cb056bdbc4b1bab4ec1d9d19d3364bd | 676 | js | JavaScript | static/js/codeinput.js | sgaist/nodebb-plugin-codeinput | aad83c61eaf2ea0d11fa5f3f0d451c9ed5526d10 | [
"MIT"
] | null | null | null | static/js/codeinput.js | sgaist/nodebb-plugin-codeinput | aad83c61eaf2ea0d11fa5f3f0d451c9ed5526d10 | [
"MIT"
] | null | null | null | static/js/codeinput.js | sgaist/nodebb-plugin-codeinput | aad83c61eaf2ea0d11fa5f3f0d451c9ed5526d10 | [
"MIT"
] | null | null | null | $('document').ready(function() {
require(['composer', 'composer/controls'], function(composer, controls) {
composer.addButton('fa fa-code', function(textarea, selectionStart, selectionEnd) {
if(selectionStart === selectionEnd){
controls.insertIntoTextarea(textarea, "```\n//your c... | 52 | 100 | 0.599112 |
e7579491809c59f1f476a2bd1f6c21e03810ff1c | 5,348 | php | PHP | login_register/exportData/ExportCustomerData/index.php | RifaiM/i-hostconf | 7b218b2c5bf5f8f56d1066a3a2f8edf0387f5e5d | [
"MIT"
] | null | null | null | login_register/exportData/ExportCustomerData/index.php | RifaiM/i-hostconf | 7b218b2c5bf5f8f56d1066a3a2f8edf0387f5e5d | [
"MIT"
] | null | null | null | login_register/exportData/ExportCustomerData/index.php | RifaiM/i-hostconf | 7b218b2c5bf5f8f56d1066a3a2f8edf0387f5e5d | [
"MIT"
] | 2 | 2020-11-04T08:20:25.000Z | 2020-11-06T07:37:01.000Z | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie-edge">
<link href="https://fonts.googleapis.com/css?family=Poppins" rel="stylesheet">
<title>Live sea... | 43.479675 | 199 | 0.489903 |
c47dd1920ebc401e7714ad43dcd2773e70a57d3d | 4,424 | cc | C++ | DQMOffline/L1Trigger/src/L1TCommon.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | DQMOffline/L1Trigger/src/L1TCommon.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | DQMOffline/L1Trigger/src/L1TCommon.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "DQMOffline/L1Trigger/interface/L1TCommon.h"
#include "DataFormats/Math/interface/deltaR.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
namespace dqmoffline {
namespace l1t {
std::vector<unsigned int>
getTriggerIndices(const std::vector<std::string> &requestedTriggers,
... | 32.529412 | 80 | 0.667043 |
1aa277be8a7c66e5d8398dd28e2a5e0dd0e5f86a | 2,585 | py | Python | Python/file.py | MarcMeinhardt/2DTerrainGeneration | 396e035ee13f96da09eeb299cde6884ea3faabcd | [
"MIT"
] | 1 | 2022-03-12T22:28:02.000Z | 2022-03-12T22:28:02.000Z | Python/file.py | MarcMeinhardt/2DTerrainGeneration | 396e035ee13f96da09eeb299cde6884ea3faabcd | [
"MIT"
] | null | null | null | Python/file.py | MarcMeinhardt/2DTerrainGeneration | 396e035ee13f96da09eeb299cde6884ea3faabcd | [
"MIT"
] | null | null | null |
#
# Author : Marc Meinhardt
# Build Date : 07/20/2021
# Title : Generative Art
#
from PIL import ImageTk, Image, ImageChops, ImageFilter
import os, os.path
# MARKUP - : Properties
imageName = "chunk1"
fileExtension = ".jpg"
mainDirPath = "."
inputPath = "input"
size_1020 = (1020,1020)
# MARKUP - : filters
# Ra... | 24.619048 | 89 | 0.629014 |
ef4d24e2b0a43a6ca1fe973a3e48ee63231ff965 | 1,077 | c | C | ui_menu.c | Ydos2/MUL_my_hunter_2019 | 27524b2ab654c675e2b6d0f1987c46cd11078867 | [
"MIT"
] | null | null | null | ui_menu.c | Ydos2/MUL_my_hunter_2019 | 27524b2ab654c675e2b6d0f1987c46cd11078867 | [
"MIT"
] | null | null | null | ui_menu.c | Ydos2/MUL_my_hunter_2019 | 27524b2ab654c675e2b6d0f1987c46cd11078867 | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2019
** ui_menu
** File description:
** ui_menu
*/
#include "include/frambuffer.h"
#include "include/my.h"
void game_over(sfRenderWindow *window, ui_t *ui_struct)
{
if (ui_struct->sound_die == 0) {
sound_die();
ui_struct->sound_die = 1;
}
display_ui_gameover(window);... | 23.933333 | 62 | 0.694522 |
141fa0517a2fd1b1d4f95ced44c3bd0af6939b1d | 6,421 | ts | TypeScript | test/test-files/brighterscript/project-with-bsfmt/node_modules/brighterscript/dist/Scope.d.ts | andersondanilo/ale | 843c8f9dfa8f8982fc455459158c55bc4bc061c2 | [
"BSD-2-Clause"
] | null | null | null | test/test-files/brighterscript/project-with-bsfmt/node_modules/brighterscript/dist/Scope.d.ts | andersondanilo/ale | 843c8f9dfa8f8982fc455459158c55bc4bc061c2 | [
"BSD-2-Clause"
] | null | null | null | test/test-files/brighterscript/project-with-bsfmt/node_modules/brighterscript/dist/Scope.d.ts | andersondanilo/ale | 843c8f9dfa8f8982fc455459158c55bc4bc061c2 | [
"BSD-2-Clause"
] | null | null | null | import type { CompletionItem, Position, Range } from 'vscode-languageserver';
import { Location } from 'vscode-languageserver';
import type { CallableContainer, BsDiagnostic, BscFile } from './interfaces';
import type { Program } from './Program';
import type { NamespaceStatement, Statement, NewExpression, FunctionStat... | 36.902299 | 129 | 0.683538 |
b33ee475b56ebbde098d5bba263d8b5d4412f847 | 539 | py | Python | website/forms.py | yx1302317313/HexoWeb | 7d37c58a1108f34795c5cbe161d3c0405ddb6795 | [
"MIT"
] | null | null | null | website/forms.py | yx1302317313/HexoWeb | 7d37c58a1108f34795c5cbe161d3c0405ddb6795 | [
"MIT"
] | 4 | 2021-03-19T11:30:54.000Z | 2021-06-09T19:11:10.000Z | website/forms.py | yx1302317313/HexoWeb | 7d37c58a1108f34795c5cbe161d3c0405ddb6795 | [
"MIT"
] | null | null | null | from django.forms import ModelForm
from .models import Website
class WebsiteForm(ModelForm):
class Meta:
model = Website
fields = ['title', 'subtitle', 'author', 'per_page', 'url', 'desc', 'keyword',
'repository', 'branch', 'git_username', 'git_email', 'git_password']
def sa... | 25.666667 | 86 | 0.595547 |
3855971b74e52a068463f49f73e830a8a0d42d6c | 433 | dart | Dart | flutterdemo/demo12/lib/tool_tips_demo.dart | qilong-io/flutter_shop | 915d62d28e4f1cde16b74f86e29fb2a9474d5c64 | [
"Apache-2.0"
] | null | null | null | flutterdemo/demo12/lib/tool_tips_demo.dart | qilong-io/flutter_shop | 915d62d28e4f1cde16b74f86e29fb2a9474d5c64 | [
"Apache-2.0"
] | null | null | null | flutterdemo/demo12/lib/tool_tips_demo.dart | qilong-io/flutter_shop | 915d62d28e4f1cde16b74f86e29fb2a9474d5c64 | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/material.dart';
class ToolTipsDemo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text('tool tips demo')),
body: Center(
child: Tooltip(
message: '不要碰我,我怕痒!',
child: Image.network(
... | 24.055556 | 80 | 0.600462 |
6ec680516eec29386c82aa4e625f7c06fbd0c5cd | 1,923 | dart | Dart | staggered_animations/lib/src/presentation/features/grid/card_grid_screen.dart | fredgrott/material_you_playground | e79e41d9cd475a040aa24ff7611f2c4ce70eba89 | [
"BSD-3-Clause"
] | 1 | 2022-02-05T02:55:43.000Z | 2022-02-05T02:55:43.000Z | staggered_animations/lib/src/presentation/features/grid/card_grid_screen.dart | fredgrott/material_you_playground | e79e41d9cd475a040aa24ff7611f2c4ce70eba89 | [
"BSD-3-Clause"
] | null | null | null | staggered_animations/lib/src/presentation/features/grid/card_grid_screen.dart | fredgrott/material_you_playground | e79e41d9cd475a040aa24ff7611f2c4ce70eba89 | [
"BSD-3-Clause"
] | 1 | 2022-02-04T10:53:39.000Z | 2022-02-04T10:53:39.000Z | // Copyright 2021 Fredrick Allan Grott. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_platform_widgets/flutter_platform_widgets.dart';
import 'package:flutter_staggered_animati... | 32.59322 | 81 | 0.590224 |
a33ba9d6b43946587c491edd6b2f89c18b26a244 | 4,404 | h | C | MeshModelingToolCP_Solution/Codes/SparseMatrixStorage.h | PacosLelouch/MeshModelingToolCP | 22965f7d0bc2dd14cfa372c023b041a0bbf152ed | [
"BSD-2-Clause"
] | null | null | null | MeshModelingToolCP_Solution/Codes/SparseMatrixStorage.h | PacosLelouch/MeshModelingToolCP | 22965f7d0bc2dd14cfa372c023b041a0bbf152ed | [
"BSD-2-Clause"
] | null | null | null | MeshModelingToolCP_Solution/Codes/SparseMatrixStorage.h | PacosLelouch/MeshModelingToolCP | 22965f7d0bc2dd14cfa372c023b041a0bbf152ed | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include "TypesCommonMinimal.h"
#include <cassert>
BEGIN_NAMESPACE(AAShapeUp)
struct RowSparseStorageData
{
void clear()
{
m_elements.clear();
m_rowAddrs.clear();
m_nRows = 0;
}
std::vector<std::pair<i32, scalar> > m_elements;
std::vector<i32> m_rowAddrs;
... | 27.525 | 119 | 0.572888 |
2a0c95463c2dddf5128595d7fedff047ae74c2f8 | 1,838 | dart | Dart | lib/src/models/MyCustomerDeliveryFeeModel.dart | anilmanchanda24M/foodboss_seller_app | 748472dffd07905e540b447d557b72dac26ac0e9 | [
"MIT"
] | null | null | null | lib/src/models/MyCustomerDeliveryFeeModel.dart | anilmanchanda24M/foodboss_seller_app | 748472dffd07905e540b447d557b72dac26ac0e9 | [
"MIT"
] | null | null | null | lib/src/models/MyCustomerDeliveryFeeModel.dart | anilmanchanda24M/foodboss_seller_app | 748472dffd07905e540b447d557b72dac26ac0e9 | [
"MIT"
] | null | null | null | // To parse this JSON data, do
//
// final myCustomerDeliveryFeeModel = myCustomerDeliveryFeeModelFromJson(jsonString);
import 'dart:convert';
MyCustomerDeliveryFeeModel myCustomerDeliveryFeeModelFromJson(String str) =>
MyCustomerDeliveryFeeModel.fromJson(json.decode(str));
String myCustomerDeliveryFeeModelT... | 25.178082 | 89 | 0.662133 |
a456a89259497f1279095aa3db570f94fecf870e | 341 | h | C | head/contrib/ntp/include/ntp_sprintf.h | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | 4 | 2017-04-06T21:39:15.000Z | 2019-10-09T17:34:14.000Z | head/contrib/ntp/include/ntp_sprintf.h | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | null | null | null | head/contrib/ntp/include/ntp_sprintf.h | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | 1 | 2020-01-04T06:36:39.000Z | 2020-01-04T06:36:39.000Z | /*
* Handle ancient char* *s*printf*() systems
*/
#ifdef SPRINTF_CHAR
# define SPRINTF(x) strlen(sprintf/**/x)
# define SNPRINTF(x) strlen(snprintf/**/x)
# define VSNPRINTF(x) strlen(vsnprintf/**/x)
#else
# define SPRINTF(x) ((size_t)sprintf x)
# define SNPRINTF(x) ((size_t)snprintf x)
# define VSNPRINTF(x) ((size_t... | 24.357143 | 44 | 0.695015 |
ed2259ed60c8c8e7b11781f06e19f16a54bf7307 | 4,088 | h | C | src/submodules/operators/int2x2.operators.h | maihd/hlslmath | 63dfc2b2de8d2e47e87282d7006b44a6b37401be | [
"Unlicense"
] | 3 | 2019-09-26T16:52:00.000Z | 2020-09-06T09:14:36.000Z | src/submodules/operators/int2x2.operators.h | maihd/hlslmath | 63dfc2b2de8d2e47e87282d7006b44a6b37401be | [
"Unlicense"
] | null | null | null | src/submodules/operators/int2x2.operators.h | maihd/hlslmath | 63dfc2b2de8d2e47e87282d7006b44a6b37401be | [
"Unlicense"
] | null | null | null | inline int2x2 operator-(const int2x2& m)
{
return int2x2(
-m[0][0], -m[0][1],
-m[1][0], -m[1][1]);
}
inline int2x2& operator++(int2x2& m)
{
++m[0][0]; ++m[0][1];
++m[1][0]; ++m[1][1];
return m;
}
inline int2x2& operator--(int2x2& m)
{
--m[0][0]; --m[0][1];
--m[1][0]; --m[1][1];... | 20.44 | 59 | 0.476027 |
14481e289291ea2b75dc3c2c7b60a5a6a08768b6 | 678 | ts | TypeScript | jest.ts | pgdesjardins/react-horizontal-scrolling-menu | 48ef6733b0f7c790d67bbd31edab62e7f1558edf | [
"MIT"
] | 2 | 2021-06-01T21:59:57.000Z | 2021-11-18T18:12:52.000Z | jest.ts | btargac/react-horizontal-scrolling-menu | c62fe0ea47781060cf6ec8c9bb9b43cd8ad25193 | [
"MIT"
] | null | null | null | jest.ts | btargac/react-horizontal-scrolling-menu | c62fe0ea47781060cf6ec8c9bb9b43cd8ad25193 | [
"MIT"
] | null | null | null | import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
const jsdom = require('jsdom');
const { JSDOM } = jsdom;
Enzyme.configure({adapter: new Adapter()});
/*
declare global {
namespace NodeJS {
interface Global {
[key: string]: any
}
}
};
*/
/* const documentHTML = '<!doctype ... | 23.37931 | 89 | 0.678466 |
4372fe8c73db2fe2d627f92317d40692972acf72 | 2,451 | ts | TypeScript | src/app/app.module.ts | sonntag-philipp/Pen-and-Paper-Web | 6e7861f6dea2a45fd8c1c0e53c65cef14bf1285b | [
"MIT"
] | null | null | null | src/app/app.module.ts | sonntag-philipp/Pen-and-Paper-Web | 6e7861f6dea2a45fd8c1c0e53c65cef14bf1285b | [
"MIT"
] | null | null | null | src/app/app.module.ts | sonntag-philipp/Pen-and-Paper-Web | 6e7861f6dea2a45fd8c1c0e53c65cef14bf1285b | [
"MIT"
] | null | null | null | import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import {AppComponent} from './app.component';
import {BrowserAnimationsModule} from "@angular/platform-browser/animations";
import {MatButtonModule, MatCardModule, MatInputModule, MatToolbarModule} from "@angular/mate... | 32.68 | 104 | 0.758466 |
c1479d246877d5f0c53998ca8f82da33ad7d6440 | 22,946 | lua | Lua | bdasm.lua | SolraBizna/bdasm | c8707023a40bd0486b32958503fba775fedb8001 | [
"Zlib"
] | null | null | null | bdasm.lua | SolraBizna/bdasm | c8707023a40bd0486b32958503fba775fedb8001 | [
"Zlib"
] | null | null | null | bdasm.lua | SolraBizna/bdasm | c8707023a40bd0486b32958503fba775fedb8001 | [
"Zlib"
] | null | null | null | #!/usr/bin/env lua5.3
-- This file is concatentated from several smaller files, to allow the
-- program's logic to be spread out without complicating its invocation
-- and/or distribution processes.
load("if not pcall(require, \"lpeg\") then\
io.write[[\
You must install the LPEG package to use this assembler.\
\
... | 30.034031 | 308 | 0.540835 |
c2ded415ede81371647e758c03fb51dd902866bf | 11,174 | asm | Assembly | intro/multifx.asm | FolkertVanVerseveld/c64 | a244b976cc650a86566b88066c0f7cb3a3915f09 | [
"MIT"
] | 1 | 2018-12-26T22:55:37.000Z | 2018-12-26T22:55:37.000Z | intro/multifx.asm | FolkertVanVerseveld/c64 | a244b976cc650a86566b88066c0f7cb3a3915f09 | [
"MIT"
] | null | null | null | intro/multifx.asm | FolkertVanVerseveld/c64 | a244b976cc650a86566b88066c0f7cb3a3915f09 | [
"MIT"
] | null | null | null | // Assembler: KickAssembler 4.4
// dancing sprites
// All made by myself (except irq code)
BasicUpstart2(start)
.var irq_line_top = $28
.var irq_line_top2 = $3a
.var irq_line_bottom = $fc
//.var spr_data = $2800
// Update this to your HVSC directory
.var music = LoadSid("/home/methos/Music/C64Music/MUSICIANS/0-9/20... | 18.228385 | 187 | 0.652855 |
a188dbaf171ef187ca8f89b43e4141ebef91bbe0 | 785 | ts | TypeScript | src/ui-kit/form-controls/date-time/date-time.spec.ts | OctoConsulting/sam-ui-elements | 5880b12b956b403dce5ca5be5bc30de01e515fcc | [
"MIT"
] | null | null | null | src/ui-kit/form-controls/date-time/date-time.spec.ts | OctoConsulting/sam-ui-elements | 5880b12b956b403dce5ca5be5bc30de01e515fcc | [
"MIT"
] | null | null | null | src/ui-kit/form-controls/date-time/date-time.spec.ts | OctoConsulting/sam-ui-elements | 5880b12b956b403dce5ca5be5bc30de01e515fcc | [
"MIT"
] | null | null | null | import { TestBed } from '@angular/core/testing';
// Load the implementations that should be tested
import { SamDateTimeComponent } from './date-time.component';
import { SamUIKitModule } from '../../index';
describe('The Sam Date Time component', () => {
let component: SamDateTimeComponent;
let fixture: any;
/... | 28.035714 | 68 | 0.68535 |
2cb1550bff9a1cf74120b2eee5eb7a4d1fdb522d | 8,536 | py | Python | improvedGAN/.ipynb_checkpoints/improvedGAN-checkpoint.py | Ontheway361/ak47GAN | 7a1b4b3c2159ab0e2662f3d0a2cedccb30e62f3c | [
"MIT"
] | null | null | null | improvedGAN/.ipynb_checkpoints/improvedGAN-checkpoint.py | Ontheway361/ak47GAN | 7a1b4b3c2159ab0e2662f3d0a2cedccb30e62f3c | [
"MIT"
] | null | null | null | improvedGAN/.ipynb_checkpoints/improvedGAN-checkpoint.py | Ontheway361/ak47GAN | 7a1b4b3c2159ab0e2662f3d0a2cedccb30e62f3c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
import pdb
import torch
import argparse
import numpy as np
import tensorboardX
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
from torch.autograd import Variable
from functional import log_sum_exp
from torch.utils.da... | 46.644809 | 170 | 0.598993 |
ff51bccf79b0d828e00a0615eabf3b3e94f43bcf | 2,691 | py | Python | src/doom/game.py | phillikus/doom-ai | ee0d49ae46321960adacc054d041377622877b10 | [
"MIT"
] | 2 | 2019-02-15T05:53:24.000Z | 2020-08-27T09:25:08.000Z | src/doom/game.py | philipp007/doom-ai | ee0d49ae46321960adacc054d041377622877b10 | [
"MIT"
] | null | null | null | src/doom/game.py | philipp007/doom-ai | ee0d49ae46321960adacc054d041377622877b10 | [
"MIT"
] | 1 | 2020-07-15T12:21:27.000Z | 2020-07-15T12:21:27.000Z | import os
import torch
import torch.multiprocessing as _mp
from models.a2c.A2C import A2C
from models.a2c.test import test as test_a2c
from models.a2c.train import train as train_a2c
from models.a3c.A3C import A3C
from models.a3c import optimizers
from models.a3c.test import test as test_a3c
from models.a3c.train imp... | 27.742268 | 92 | 0.712746 |
1a3c0e73d62ab9e8593abd0d24ea126a0211acb3 | 3,911 | py | Python | Code/Password generator.py | RIR360/Python-Password-Generator | 3ce6f201c06e6747b86e966cc7ed829f3b68dc68 | [
"MIT"
] | 2 | 2020-11-12T07:10:41.000Z | 2021-03-12T10:59:05.000Z | Code/Password generator.py | RIR360/Python-Password-Generator | 3ce6f201c06e6747b86e966cc7ed829f3b68dc68 | [
"MIT"
] | null | null | null | Code/Password generator.py | RIR360/Python-Password-Generator | 3ce6f201c06e6747b86e966cc7ed829f3b68dc68 | [
"MIT"
] | 1 | 2020-11-12T11:58:15.000Z | 2020-11-12T11:58:15.000Z | import tkinter as app
from tkinter import messagebox
from tkinter import Scrollbar
import random
#definitions
family = "sans serif"
primary_c = "#2065d4"
second_c = "#e8e8e8"
inherit = "white"
algorithm_count = 5
keywords = []
passwords = []
window = app.Tk()
window.title("Password Generator")
window.config(bg=inheri... | 26.248322 | 288 | 0.644336 |
0d3d71af42f9ed5c988dd006f70d5d623752bee5 | 2,348 | cs | C# | Assets/com.fluid.stats/Runtime/Definitions/Compiled/StatDefinitionsCompiled.cs | ashblue/fluid-stats | 6447915ec50705ea9710ab610dce7137c1d7e8c7 | [
"MIT"
] | 28 | 2021-04-11T02:19:46.000Z | 2022-02-12T05:09:59.000Z | Assets/com.fluid.stats/Runtime/Definitions/Compiled/StatDefinitionsCompiled.cs | ashblue/fluid-stats | 6447915ec50705ea9710ab610dce7137c1d7e8c7 | [
"MIT"
] | 7 | 2021-04-11T02:03:53.000Z | 2022-02-02T02:20:29.000Z | Assets/com.fluid.stats/Runtime/Definitions/Compiled/StatDefinitionsCompiled.cs | ashblue/fluid-stats | 6447915ec50705ea9710ab610dce7137c1d7e8c7 | [
"MIT"
] | 3 | 2021-04-11T11:10:06.000Z | 2021-06-19T18:54:21.000Z | using System.Collections.Generic;
namespace CleverCrow.Fluid.StatsSystem {
/// <summary>
/// A collection for caching stat defintion collections at runtime
/// </summary>
public class StatDefinitionsCompiled {
private Dictionary<StatDefinitionCollection, List<StatDefinition>> _compiled = new D... | 32.164384 | 152 | 0.584327 |
1b03a1e9a22cfa1df33d9ce837aad88c6e091b61 | 223 | swift | Swift | CombineOperatorGuideSample.playground/Pages/erase2.xcplaygroundpage/Contents.swift | usami-k/CombineOperatorGuideSample | 7a97c1b3443ba77c22807a216499b5cac193620c | [
"Apache-2.0"
] | null | null | null | CombineOperatorGuideSample.playground/Pages/erase2.xcplaygroundpage/Contents.swift | usami-k/CombineOperatorGuideSample | 7a97c1b3443ba77c22807a216499b5cac193620c | [
"Apache-2.0"
] | null | null | null | CombineOperatorGuideSample.playground/Pages/erase2.xcplaygroundpage/Contents.swift | usami-k/CombineOperatorGuideSample | 7a97c1b3443ba77c22807a216499b5cac193620c | [
"Apache-2.0"
] | null | null | null | import Combine
let publisher0 = PassthroughSubject<Int, Never>()
let publisher1 = publisher0
.filter { $0 > 0 }
.map { $0 * 2 }
let publisher2 = publisher1
.eraseToAnyPublisher()
print(type(of: publisher2))
| 17.153846 | 49 | 0.67713 |
54b6c91ccb501a2ed232446a17f97adb6ce7cd71 | 355 | c | C | C/SwapAdjacentinLRString.c | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | 1 | 2018-01-22T12:06:28.000Z | 2018-01-22T12:06:28.000Z | C/SwapAdjacentinLRString.c | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | null | null | null | C/SwapAdjacentinLRString.c | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | null | null | null | #include <stdbool.h>
bool canTransform(char *start, char *end)
{
int l = 0, r = 0;
for (int i = 0; start[i]; ++i)
{
if (start[i] != 'X')
start[i] == 'R' ? ++r : ++l;
if (l != 0 && r > 0)
return false;
if (end[i] != 'X')
end[i] == 'R' ? --r : --l;
if (l > 0 || r < 0 || (l < 0 && r > 0))
return fa... | 19.722222 | 41 | 0.419718 |
a4a26b7f952da13e011012ffe7776aa068b81359 | 4,613 | php | PHP | resources/views/branches/index.blade.php | pug3eye/loyalty | b896000f577ae1385184acd74e0f6b73f0b5ad87 | [
"MIT"
] | null | null | null | resources/views/branches/index.blade.php | pug3eye/loyalty | b896000f577ae1385184acd74e0f6b73f0b5ad87 | [
"MIT"
] | null | null | null | resources/views/branches/index.blade.php | pug3eye/loyalty | b896000f577ae1385184acd74e0f6b73f0b5ad87 | [
"MIT"
] | null | null | null | @extends('layouts.template')
@section('title', 'Branch')
@section('branch_menu', 'class="treeview active"')
@section('branch_list', 'class="active"')
@section('css')
<style>
.displayed {
displayed: block;
margin-left: auto;
margin-right: auto;
max-height: 75%;
max-width: 75%;
... | 29.012579 | 206 | 0.529807 |
58f67b15de97b0d5192fe632108060c8f12a3461 | 560 | css | CSS | css/styles-master.css | donnymays/my-first-webpage | f27a0b1ae59a91103d314ab6319e1c7b4344a1d6 | [
"MIT"
] | null | null | null | css/styles-master.css | donnymays/my-first-webpage | f27a0b1ae59a91103d314ab6319e1c7b4344a1d6 | [
"MIT"
] | null | null | null | css/styles-master.css | donnymays/my-first-webpage | f27a0b1ae59a91103d314ab6319e1c7b4344a1d6 | [
"MIT"
] | null | null | null | body {
background-color: #dee3e2;
text-align: center;
}
h1 {
color: #116979;
font-size: 5.625rem;
margin: 50px auto 0 auto;
font-family: 'Sacramento', cursive;
}
h2 {
color: #DE7119;
font-size: 2.5rem;
font-weight: normal;
font-family: 'Montserrat', sans-serif;
}
h3 {
color: #116979;
font-fam... | 14.358974 | 40 | 0.6375 |
fc44d3b03d4e58f1f241ceee01d72c7e6185dad5 | 4,353 | sql | SQL | bokuno_database.sql | MengDeC4o/MedicalSystem | e534c00dd5be9105dfc312cbdcb8a077d0a947a9 | [
"MIT"
] | 1 | 2021-11-11T08:00:44.000Z | 2021-11-11T08:00:44.000Z | bokuno_database.sql | MengDeC4o/MedicalSystem | e534c00dd5be9105dfc312cbdcb8a077d0a947a9 | [
"MIT"
] | null | null | null | bokuno_database.sql | MengDeC4o/MedicalSystem | e534c00dd5be9105dfc312cbdcb8a077d0a947a9 | [
"MIT"
] | 1 | 2021-11-12T06:05:18.000Z | 2021-11-12T06:05:18.000Z | /*
SQLyog v10.2
MySQL - 5.6.24-log : Database - db_appapidemo
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREI... | 40.682243 | 337 | 0.690788 |
1f4ab735880c45a1577730ec6ca1d4beebd83516 | 10,516 | cs | C# | sources/Interop/Windows/um/winnt/SYSTEM_CPU_SET_INFORMATION.cs | mfkl/terrafx.interop.windows | 6c19a547b972ff6dcbb5456b0e5ac3e38b1c59ca | [
"MIT"
] | null | null | null | sources/Interop/Windows/um/winnt/SYSTEM_CPU_SET_INFORMATION.cs | mfkl/terrafx.interop.windows | 6c19a547b972ff6dcbb5456b0e5ac3e38b1c59ca | [
"MIT"
] | null | null | null | sources/Interop/Windows/um/winnt/SYSTEM_CPU_SET_INFORMATION.cs | mfkl/terrafx.interop.windows | 6c19a547b972ff6dcbb5456b0e5ac3e38b1c59ca | [
"MIT"
] | null | null | null | // Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winnt.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.CompilerService... | 37.159011 | 170 | 0.431057 |
540425ea201d5015ee81188751670ca258d1b08f | 100 | css | CSS | resources/css/app.css | ofemmy/eventbryte | e71adfa27dece63e15a02b16e1b5494ce6848893 | [
"MIT"
] | null | null | null | resources/css/app.css | ofemmy/eventbryte | e71adfa27dece63e15a02b16e1b5494ce6848893 | [
"MIT"
] | null | null | null | resources/css/app.css | ofemmy/eventbryte | e71adfa27dece63e15a02b16e1b5494ce6848893 | [
"MIT"
] | null | null | null | .public-DraftStyleDefault-block {
margin: 0px;
}
.react-datepicker-wrapper {
width: 100%;
}
| 14.285714 | 33 | 0.67 |
a7bbfcab764fb85bd2d5081e877671fb8f0f6ced | 568 | css | CSS | server/mod/hvp/embed.css | mohitjangra6017/tx_data | 8adcb777a0b5e18d2ac66ec6dffda11572a91fc8 | [
"PostgreSQL"
] | null | null | null | server/mod/hvp/embed.css | mohitjangra6017/tx_data | 8adcb777a0b5e18d2ac66ec6dffda11572a91fc8 | [
"PostgreSQL"
] | null | null | null | server/mod/hvp/embed.css | mohitjangra6017/tx_data | 8adcb777a0b5e18d2ac66ec6dffda11572a91fc8 | [
"PostgreSQL"
] | null | null | null | body.h5p-embed {
font-family: Sans-Serif;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
body.h5p-embed.h5p-resizing {
overflow: hidden;
}
body.h5p-embed .h5p-container {
overflow: hidden;
}
body.h5p-embed .h5p-content {
font-size: 16px;
line-height: 1.5em;
width: 100%;
... | 17.212121 | 50 | 0.649648 |
663c98d5d490d31eedc1cb7a82a2dd348974d23d | 520 | py | Python | chainercv/utils/image/write_image.py | souravsingh/chainercv | 8f76510472bc95018c183e72f37bc6c34a89969c | [
"MIT"
] | 1 | 2018-12-05T04:30:10.000Z | 2018-12-05T04:30:10.000Z | chainercv/utils/image/write_image.py | souravsingh/chainercv | 8f76510472bc95018c183e72f37bc6c34a89969c | [
"MIT"
] | null | null | null | chainercv/utils/image/write_image.py | souravsingh/chainercv | 8f76510472bc95018c183e72f37bc6c34a89969c | [
"MIT"
] | 2 | 2019-12-16T02:20:26.000Z | 2022-01-17T02:00:49.000Z | import numpy as np
from PIL import Image
def write_image(img, path):
"""Save an image to a file.
This function saves an image to given file. The image is in CHW format and
the range of its value is :math:`[0, 255]`.
Args:
image (~numpy.ndarray): An image to be saved.
path (string): T... | 21.666667 | 78 | 0.598077 |
37565a7f1d222de3a8e9d4a6774be6611b720360 | 280 | dart | Dart | lib/core/providers/home_settings_provider.dart | mataide/acs-nft-viewer | ba019986534e98d0ffc88b03ba4e09f4a60ede93 | [
"Apache-2.0"
] | 1 | 2022-02-16T04:02:03.000Z | 2022-02-16T04:02:03.000Z | lib/core/providers/home_settings_provider.dart | mataide/acs-nft-viewer | ba019986534e98d0ffc88b03ba4e09f4a60ede93 | [
"Apache-2.0"
] | null | null | null | lib/core/providers/home_settings_provider.dart | mataide/acs-nft-viewer | ba019986534e98d0ffc88b03ba4e09f4a60ede93 | [
"Apache-2.0"
] | null | null | null | import 'package:faktura_nft_viewer/controllers/home/home_settings_controller.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
final homeSettingsProvider = StateNotifierProvider<HomeSettingsController, HomeSettingsState>(
(ref) => HomeSettingsController(),
); | 46.666667 | 94 | 0.832143 |
1e6dabada7325790cf68629ba0c4a60e7ba82794 | 15,646 | css | CSS | public/css/styles.min.css | pernalin/pernalin.github.io | 5923616e40e389f11d4291c7f619dc7a624f93af | [
"MIT"
] | null | null | null | public/css/styles.min.css | pernalin/pernalin.github.io | 5923616e40e389f11d4291c7f619dc7a624f93af | [
"MIT"
] | null | null | null | public/css/styles.min.css | pernalin/pernalin.github.io | 5923616e40e389f11d4291c7f619dc7a624f93af | [
"MIT"
] | null | null | null | @font-face{font-family:'Modern-UI-Icons---Social';src:url('/public/fonts/Modern-UI-Icons---Social.eot');src:url('/public/fonts/Modern-UI-Icons---Social.eot?#iefix') format('embedded-opentype'),url('/public/fonts/Modern-UI-Icons---Social.woff') format('woff'),url('/public/fonts/Modern-UI-Icons---Social.ttf') format('tru... | 15,646 | 15,646 | 0.78397 |
3876ff8a17f98109597ff055c384182fa214aec8 | 2,001 | php | PHP | routes/super/inventory.php | dev-project-info/e-grocery | 7239ad3ea8fbeb28e570196039840c328405e8d2 | [
"MIT"
] | null | null | null | routes/super/inventory.php | dev-project-info/e-grocery | 7239ad3ea8fbeb28e570196039840c328405e8d2 | [
"MIT"
] | null | null | null | routes/super/inventory.php | dev-project-info/e-grocery | 7239ad3ea8fbeb28e570196039840c328405e8d2 | [
"MIT"
] | null | null | null | <?php
Route::get('inventory','InventoryController@inventoryIndex')
->name('inventory');
Route::get('create_inventory','InventoryController@createInventory')
->name('inventory_create');
Route::post('store_inventory','InventoryController@storeInventory')
->name('inventory_store');
Route::get('inventory_show{id}... | 43.5 | 79 | 0.743628 |
c9819eeb703829d067a2fad0b60657a007600991 | 970 | ts | TypeScript | src/fetchProvider.ts | shy2850/area | f837d7358c57a85ce629a6a14e1e0300b703abb7 | [
"MIT"
] | null | null | null | src/fetchProvider.ts | shy2850/area | f837d7358c57a85ce629a6a14e1e0300b703abb7 | [
"MIT"
] | null | null | null | src/fetchProvider.ts | shy2850/area | f837d7358c57a85ce629a6a14e1e0300b703abb7 | [
"MIT"
] | 1 | 2019-09-17T09:21:18.000Z | 2019-09-17T09:21:18.000Z | import { getNode, TreeNode } from './MultiSelect'
const CALLBACK_NAME = 'area-jsonp'
let AreaTree: TreeNode[] = []
window[CALLBACK_NAME] = (paths: string[], children: TreeNode[]) => {
if (!paths.length) {
AreaTree = children
} else {
const node = getNode(AreaTree, paths)
if (node) {
... | 31.290323 | 98 | 0.587629 |
dd983300a01b49a5a1f50c3900304ca1dd32a741 | 131 | java | Java | CSC455-Game-Programming/ShootThemCircles/core/src/com/jeff/game/util/Function.java | jregistr/Academia | 4a52c3e74c6a8451b557d0f8f2e08b682eae0760 | [
"MIT"
] | null | null | null | CSC455-Game-Programming/ShootThemCircles/core/src/com/jeff/game/util/Function.java | jregistr/Academia | 4a52c3e74c6a8451b557d0f8f2e08b682eae0760 | [
"MIT"
] | null | null | null | CSC455-Game-Programming/ShootThemCircles/core/src/com/jeff/game/util/Function.java | jregistr/Academia | 4a52c3e74c6a8451b557d0f8f2e08b682eae0760 | [
"MIT"
] | null | null | null | package com.jeff.game.util;
/**
* Function class so not to use java 8
*/
public interface Function<T,R> {
R apply(T t);
}
| 11.909091 | 38 | 0.633588 |
e2d559a3ca341530971501bcc976d147a40ae603 | 962 | py | Python | tests/st/utils/network.py | PushkarJ/node | 097d86c82a57b274a1a5d02de967cad4ee4c0efc | [
"Apache-2.0"
] | 3,973 | 2015-07-29T21:13:46.000Z | 2022-03-31T09:27:38.000Z | tests/st/utils/network.py | PushkarJ/node | 097d86c82a57b274a1a5d02de967cad4ee4c0efc | [
"Apache-2.0"
] | 4,584 | 2015-07-29T08:47:22.000Z | 2022-03-31T22:54:26.000Z | tests/st/utils/network.py | PushkarJ/node | 097d86c82a57b274a1a5d02de967cad4ee4c0efc | [
"Apache-2.0"
] | 1,066 | 2015-07-30T06:29:18.000Z | 2022-03-31T20:01:47.000Z | # Copyright (c) 2015-2016 Tigera, 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 applicabl... | 31.032258 | 74 | 0.709979 |
a35f451e294bf98861d24e9dc337af6bbc73bb63 | 1,196 | java | Java | src/main/java/com/kiddo/eshop/servlet3/MyWebInitializer.java | KiddoThe2B/shopfinder | 41ae0ca132dbdedcbc26d9822a6edbbba11e6dcd | [
"MIT"
] | null | null | null | src/main/java/com/kiddo/eshop/servlet3/MyWebInitializer.java | KiddoThe2B/shopfinder | 41ae0ca132dbdedcbc26d9822a6edbbba11e6dcd | [
"MIT"
] | null | null | null | src/main/java/com/kiddo/eshop/servlet3/MyWebInitializer.java | KiddoThe2B/shopfinder | 41ae0ca132dbdedcbc26d9822a6edbbba11e6dcd | [
"MIT"
] | null | null | null | package com.kiddo.eshop.servlet3;
import com.kiddo.eshop.config.SpringWebConfig;
import com.kiddo.eshop.config.HibernateConfig;
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;
import javax.servlet.FilterRegistration;
import javax.servlet.ServletContext;
import java... | 33.222222 | 100 | 0.804348 |
0ad7305941ef72266d69d81b559d1382cfabc2f0 | 292 | cs | C# | Assets/_Project/Scripts/Game/Util/LoggerAsset.cs | chris-m-cann/LDJam48 | e8683179d18c727fead5d842323dbde191c5f5ef | [
"MIT"
] | null | null | null | Assets/_Project/Scripts/Game/Util/LoggerAsset.cs | chris-m-cann/LDJam48 | e8683179d18c727fead5d842323dbde191c5f5ef | [
"MIT"
] | null | null | null | Assets/_Project/Scripts/Game/Util/LoggerAsset.cs | chris-m-cann/LDJam48 | e8683179d18c727fead5d842323dbde191c5f5ef | [
"MIT"
] | null | null | null | using UnityEngine;
namespace Util
{
// simple logging SO to adding to unity event chains to check they are firing
[CreateAssetMenu(menuName = "Custom/Logger")]
public class LoggerAsset: ScriptableObject
{
public void Log(string message) => Debug.Log(message);
}
} | 26.545455 | 81 | 0.69863 |
33e00e6bfceb01b1f02eb4f21adcef22a214f4f8 | 8,573 | sql | SQL | e-filing.sql | ridosimbolon98/project-e-filing-menggunakan-framewaork-codeigniter | 252e238026d31667aebd1872eb11c3ceb3dc1c1f | [
"MIT"
] | 1 | 2021-09-13T07:31:32.000Z | 2021-09-13T07:31:32.000Z | e-filing.sql | ridosimbolon98/project-e-filing-menggunakan-framewaork-codeigniter | 252e238026d31667aebd1872eb11c3ceb3dc1c1f | [
"MIT"
] | null | null | null | e-filing.sql | ridosimbolon98/project-e-filing-menggunakan-framewaork-codeigniter | 252e238026d31667aebd1872eb11c3ceb3dc1c1f | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 01 Apr 2019 pada 09.16
-- Versi Server: 10.1.16-MariaDB
-- PHP Version: 7.0.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT ... | 35.279835 | 146 | 0.648548 |
8eee9fc4406c3bd1e7f250574f3a42746f965d74 | 5,165 | swift | Swift | AlertDemo/ViewController.swift | ByteSlinger/AlertDemo | 7b4ca8b2b76138ddb37135050717eb4e4e7c2f0d | [
"MIT"
] | null | null | null | AlertDemo/ViewController.swift | ByteSlinger/AlertDemo | 7b4ca8b2b76138ddb37135050717eb4e4e7c2f0d | [
"MIT"
] | 1 | 2018-01-20T23:24:08.000Z | 2018-01-20T23:29:08.000Z | AlertDemo/ViewController.swift | ByteSlinger/AlertDemo | 7b4ca8b2b76138ddb37135050717eb4e4e7c2f0d | [
"MIT"
] | null | null | null | //
// ViewController.swift
// AlertDemo - Display and dismiss UIAlertControllers with UIControl (no action buttons)
// (similar to Toast on Android OS)
//
// 4 different ways to close a UIAlertController popup window:
//
// 1) Timeout - dismiss an Alert Window after a number of seconds (like An... | 41.99187 | 127 | 0.667764 |
46b0a9f70924da5a60b719bba641f474ac717ba7 | 588 | sql | SQL | openGaussBase/testcase/KEYWORDS/parameter_specific_catalog/Opengauss_Function_Keyword_Parameter_specific_catalog_Case0026.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/parameter_specific_catalog/Opengauss_Function_Keyword_Parameter_specific_catalog_Case0026.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/parameter_specific_catalog/Opengauss_Function_Keyword_Parameter_specific_catalog_Case0026.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint:opengauss关键字parameter_specific_catalog(非保留),作为模式名
--关键字不带引号-成功
drop schema if exists parameter_specific_catalog;
create schema parameter_specific_catalog;
drop schema parameter_specific_catalog;
--关键字带双引号-成功
drop schema if exists "parameter_specific_catalog";
create schema "parameter_specific_catalog"... | 28 | 64 | 0.841837 |
5ac3e2a60b6fe844b89246e4eda72f1926d9374c | 282 | sql | SQL | li.strolch.persistence.postgresql/src/main/resources/strolch_db_schema_0.3.0_migration.sql | strolch-li/strolch | f5a33ea8b2106cf4d2410ab59cf459de8b93cf37 | [
"Apache-2.0"
] | 3 | 2021-07-15T07:48:06.000Z | 2022-01-06T11:30:17.000Z | li.strolch.persistence.postgresql/src/main/resources/strolch_db_schema_0.3.0_migration.sql | 4treesCH/strolch | 74cddd997d92c9cc9a97daaa468f7c7e11b4a9bc | [
"Apache-2.0"
] | 6 | 2017-02-23T12:38:01.000Z | 2020-09-29T09:02:02.000Z | li.strolch.persistence.postgresql/src/main/resources/strolch_db_schema_0.3.0_migration.sql | 4treesCH/strolch | 74cddd997d92c9cc9a97daaa468f7c7e11b4a9bc | [
"Apache-2.0"
] | 5 | 2017-02-20T12:18:03.000Z | 2019-12-14T14:03:15.000Z |
-- DB_VERSION
ALTER TABLE audits ADD COLUMN element_sub_type character varying(255) NOT NULL DEFAULT '-';
INSERT INTO db_version
(version, app, description, created)
values(
'0.3.0',
'strolch',
'Added new column element_sub_type to table audits',
CURRENT_TIMESTAMP
);
| 21.692308 | 91 | 0.737589 |
e56c9f28ddbd5f7bbfe15b1d584e0a1bc6642ed7 | 323 | dart | Dart | lib/bitbucket_code_coverage.dart | arturdm/bitbucket_code_coverage | b3aded230215332d070549e264cd3a640aa3c61f | [
"Apache-2.0"
] | 3 | 2019-06-02T14:43:42.000Z | 2020-10-07T08:52:52.000Z | lib/bitbucket_code_coverage.dart | arturdm/bitbucket_code_coverage | b3aded230215332d070549e264cd3a640aa3c61f | [
"Apache-2.0"
] | 6 | 2019-03-04T01:26:03.000Z | 2020-10-06T16:02:18.000Z | lib/bitbucket_code_coverage.dart | arturdm/bitbucket_code_coverage | b3aded230215332d070549e264cd3a640aa3c61f | [
"Apache-2.0"
] | 1 | 2020-12-02T16:22:15.000Z | 2020-12-02T16:22:15.000Z | export 'src/client/code_coverage_service.dart';
export 'src/client/coverage_converter/coverage_converter.dart';
export 'src/client/coverage_converter/lcov_coverage_converter.dart';
export 'src/client/model/commit_coverage.dart';
export 'src/client/model/coverage_string.dart';
export 'src/client/model/file_coverage.dart... | 46.142857 | 68 | 0.835913 |
eb144cb6d418962a0ddafda387a8942b1600619b | 6,882 | swift | Swift | Sources/Compiler/Implementation/CompilerImpl+Call.swift | LiarPrincess/Violet | 0a4268649b0eec3ab631d19015d7043394c6571e | [
"MIT"
] | null | null | null | Sources/Compiler/Implementation/CompilerImpl+Call.swift | LiarPrincess/Violet | 0a4268649b0eec3ab631d19015d7043394c6571e | [
"MIT"
] | 6 | 2021-10-14T15:55:16.000Z | 2022-03-31T14:04:02.000Z | Sources/Compiler/Implementation/CompilerImpl+Call.swift | LiarPrincess/Violet | 0a4268649b0eec3ab631d19015d7043394c6571e | [
"MIT"
] | null | null | null | import Foundation
import VioletCore
import VioletParser
import VioletBytecode
// In CPython:
// Python -> compile.c
// swiftlint:disable function_body_length
// swiftlint:disable cyclomatic_complexity
// cSpell:ignore ssize subkwargs
extension CompilerImpl {
/// compiler_call(struct compiler *c, expr_ty e)
inte... | 32.009302 | 83 | 0.609125 |
1453bd167b3ae061f91bca3e8cc4070975d57b7b | 172 | ts | TypeScript | src/lib/repository/operators/save/base/save-operators-type.ts | techmmunity/compassorm | d90a2fdc9a3a02169d802bb3baf0f61a9018aa60 | [
"Apache-2.0"
] | 11 | 2021-08-02T23:51:39.000Z | 2021-08-17T18:41:36.000Z | src/lib/repository/operators/save/base/save-operators-type.ts | techmmunity-symbiosis/symbiosis | d9c9841fcacb98d81b7aced233a1355014bf002c | [
"Apache-2.0"
] | 203 | 2021-11-18T12:33:05.000Z | 2022-03-28T15:08:15.000Z | src/lib/repository/operators/save/base/save-operators-type.ts | techmmunity/symbiosis | d90a2fdc9a3a02169d802bb3baf0f61a9018aa60 | [
"Apache-2.0"
] | null | null | null | /**
* List of types that SaveOperator can be.
*/
export type SaveOperatorType =
| "append"
| "ifNotExists"
| "max"
| "min"
| "minus"
| "plus"
| "pop"
| "remove";
| 13.230769 | 42 | 0.575581 |
643fdd1b895e36b331549eb024cdf360905a38fa | 2,651 | py | Python | fastsrv/src/build-conf.py | lingluadmin/operwrt-fast-cli | 8f7ad9f9138bea3fd89749aaff37f325ea0aa5a5 | [
"Apache-2.0"
] | 1 | 2018-03-08T08:14:08.000Z | 2018-03-08T08:14:08.000Z | fastsrv/src/build-conf.py | lingluadmin/operwrt-fast-cli | 8f7ad9f9138bea3fd89749aaff37f325ea0aa5a5 | [
"Apache-2.0"
] | null | null | null | fastsrv/src/build-conf.py | lingluadmin/operwrt-fast-cli | 8f7ad9f9138bea3fd89749aaff37f325ea0aa5a5 | [
"Apache-2.0"
] | null | null | null | import yaml
import socket
import os
import shutil
import sys
from jinja2 import Template
CONFIG_FILE='/fastsrv/sites-config/sites-config.yaml'
TEMPLATES_DIR='/fastsrv/templates'
OUTPUT_DIR='/fastsrv/output'
class AppConfigRender:
def __init__(self, app, basic_data):
self.app = app
data = dict(basi... | 30.471264 | 74 | 0.580158 |
daa572678291f3425b14ae6eba5c85dae685ee30 | 289 | php | PHP | install/include/version/2.0.5.php | Elshara/PHPFox-Legacy | df0cbf2be0b807d17f3c9fca8cde0ed03492e563 | [
"MIT"
] | null | null | null | install/include/version/2.0.5.php | Elshara/PHPFox-Legacy | df0cbf2be0b807d17f3c9fca8cde0ed03492e563 | [
"MIT"
] | null | null | null | install/include/version/2.0.5.php | Elshara/PHPFox-Legacy | df0cbf2be0b807d17f3c9fca8cde0ed03492e563 | [
"MIT"
] | 2 | 2017-04-27T02:27:28.000Z | 2018-10-03T10:06:31.000Z | <?php
$this->_db()->query('ALTER TABLE ' . Phpfox::getT('ad') . ' CHANGE ad_id ad_id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT');
$this->_db()->delete(Phpfox::getT('component'), 'module_id = \'core\' AND component = \'guest\'');
$this->_upgradeDatabase('2.0.5');
$bCompleted = true;
?> | 28.9 | 122 | 0.643599 |
200e78dddfb6afdb1087411920738008a0205022 | 8,430 | py | Python | py/tests/integration/test_unsigned_tx.py | AndyHongSir/epoch | 3ac26ee08c12d5d923c88eb5db5479f3b9d9b294 | [
"ISC"
] | null | null | null | py/tests/integration/test_unsigned_tx.py | AndyHongSir/epoch | 3ac26ee08c12d5d923c88eb5db5479f3b9d9b294 | [
"ISC"
] | null | null | null | py/tests/integration/test_unsigned_tx.py | AndyHongSir/epoch | 3ac26ee08c12d5d923c88eb5db5479f3b9d9b294 | [
"ISC"
] | null | null | null | # coding: utf-8
import tempfile
import os
import shutil
import time
from nose.tools import assert_equals, assert_not_equals, with_setup
import common
from waiting import wait
from swagger_client.rest import ApiException
from swagger_client.models.tx import Tx
from swagger_client.models.spend_tx import SpendTx
from sw... | 40.724638 | 129 | 0.722776 |
a371a321f83947087f91155e18a17b7605fdb7f8 | 5,130 | java | Java | Projeto3/src/projeto3/GameView.java | LuisFLCCQ/base_cod_java | 8a19086ab2e0c0e27f7f2a5dd616c0a49b40accb | [
"MIT"
] | 1 | 2019-03-06T02:51:08.000Z | 2019-03-06T02:51:08.000Z | Projeto3/src/projeto3/GameView.java | LuisFLCCQ/base_cod_java | 8a19086ab2e0c0e27f7f2a5dd616c0a49b40accb | [
"MIT"
] | null | null | null | Projeto3/src/projeto3/GameView.java | LuisFLCCQ/base_cod_java | 8a19086ab2e0c0e27f7f2a5dd616c0a49b40accb | [
"MIT"
] | 2 | 2021-03-17T18:01:06.000Z | 2021-12-08T15:10:17.000Z | package projeto3;
import javafx.application.Application;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.ToolBar;
import javafx.scene.layout... | 32.264151 | 95 | 0.537232 |
f4a67a7d9191fa0e20b4a92a370720bcf35902c5 | 6,775 | tsx | TypeScript | client/src/CraftingProfits/RunResultDisplay.tsx | hschimke/WorldOfWarcraft_CraftingProfitCalculator | a179d2f0230aff3ffbefff99c7fca4915479cdfe | [
"MIT"
] | 2 | 2021-09-10T03:28:12.000Z | 2021-09-10T13:39:44.000Z | client/src/CraftingProfits/RunResultDisplay.tsx | hschimke/WorldOfWarcraft_CraftingProfitCalculator | a179d2f0230aff3ffbefff99c7fca4915479cdfe | [
"MIT"
] | null | null | null | client/src/CraftingProfits/RunResultDisplay.tsx | hschimke/WorldOfWarcraft_CraftingProfitCalculator | a179d2f0230aff3ffbefff99c7fca4915479cdfe | [
"MIT"
] | null | null | null | import { useState } from 'react';
import { textFriendlyOutputFormat } from '../Shared/text-output-helpers';
import './RunResultDisplay.css';
import { GoldFormatter, VendorItemPrice, AHItemPrice } from '../Shared/GoldFormatter';
import { ShoppingLists } from './ShoppingLists';
const hidden_recipe_listing_header = {};
... | 37.225275 | 103 | 0.516458 |
729321551c65f2b831ce881b676c31b7291cc236 | 235 | cs | C# | src/Service/Service.Core.DefinedTypes/Pkcs11UserType.cs | myNameIsAndrew00/Playground | c90238c1e6f8dae4a5a352742d9ee9075555e844 | [
"MIT"
] | null | null | null | src/Service/Service.Core.DefinedTypes/Pkcs11UserType.cs | myNameIsAndrew00/Playground | c90238c1e6f8dae4a5a352742d9ee9075555e844 | [
"MIT"
] | null | null | null | src/Service/Service.Core.DefinedTypes/Pkcs11UserType.cs | myNameIsAndrew00/Playground | c90238c1e6f8dae4a5a352742d9ee9075555e844 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace Service.Core.DefinedTypes
{
public enum Pkcs11UserType : ulong
{
SecurityOfficer = 0,
User = 1,
ContextSpecific = 2
}
}
| 16.785714 | 38 | 0.651064 |