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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
24f7b4aaa4c08298300742408e67f3db4443435a | 27,936 | hpp | C++ | plugins/community/repos/ErraticInstruments/src/QuadMPEToCV.hpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 233 | 2018-07-02T16:49:36.000Z | 2022-02-27T21:45:39.000Z | plugins/community/repos/ErraticInstruments/src/QuadMPEToCV.hpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-09T11:32:15.000Z | 2022-01-07T01:45:43.000Z | plugins/community/repos/ErraticInstruments/src/QuadMPEToCV.hpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-14T21:55:30.000Z | 2021-05-04T04:20:34.000Z | #include "global_pre.hpp"
#include "Erratic.hpp"
#include "midi.hpp"
#include "dsp/digital.hpp"
#include "MPEBaseWidget.hpp"
#include "global_ui.hpp"
struct MidiValue {
int val = 0; // Controller value
// TransitionSmoother tSmooth;
bool changed = false; // Value has been changed by midi message (only if it is in s... | 32.827262 | 165 | 0.655248 |
daaef7ef3f307f0a96b9a901ef2491e70e2d7d0d | 3,906 | php | PHP | magento2ce/app/code/Magento/Sales/Block/Order/Items.php | downjse/magento2 | 7bebd5c24d613426159638cd5f7b6b927a017fb4 | [
"MIT"
] | null | null | null | magento2ce/app/code/Magento/Sales/Block/Order/Items.php | downjse/magento2 | 7bebd5c24d613426159638cd5f7b6b927a017fb4 | [
"MIT"
] | null | null | null | magento2ce/app/code/Magento/Sales/Block/Order/Items.php | downjse/magento2 | 7bebd5c24d613426159638cd5f7b6b927a017fb4 | [
"MIT"
] | null | null | null | <?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Sales order view items block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Sales\Block\Order;
class Items extends \Magento\Sales\Block\Items\AbstractItems
{
... | 30.046154 | 116 | 0.636457 |
e26d2f4814f8400cddd48edd4d557ae5c4aa2336 | 341 | py | Python | source/python/SortingWithoutDuplicates.py | JoHyukJun/algorithm-analysis | 3eda22ce0eeb52490702206d73c04cff1eb3e72d | [
"Apache-2.0"
] | null | null | null | source/python/SortingWithoutDuplicates.py | JoHyukJun/algorithm-analysis | 3eda22ce0eeb52490702206d73c04cff1eb3e72d | [
"Apache-2.0"
] | null | null | null | source/python/SortingWithoutDuplicates.py | JoHyukJun/algorithm-analysis | 3eda22ce0eeb52490702206d73c04cff1eb3e72d | [
"Apache-2.0"
] | null | null | null | '''
main.py
Created by Jo Hyuk Jun on 2020
Copyright © 2020 Jo Hyuk Jun. All rights reserved.
'''
import sys
n = int(sys.stdin.readline())
coordinate = (list(map(int, sys.stdin.readline().rstrip().split(' '))))
coordinate = sorted(list(set(coordinate)))
for i in range(len(coordinate)):
print(coo... | 17.05 | 71 | 0.648094 |
ed5ed03cb00e46594e59b69a8155eba56d12bcd9 | 439 | go | Go | Lesson3/concise-switch.go | huegli/GetProgramingWithGo | fc704c2068521afc9a781f8c306b37335d8d11a9 | [
"MIT"
] | null | null | null | Lesson3/concise-switch.go | huegli/GetProgramingWithGo | fc704c2068521afc9a781f8c306b37335d8d11a9 | [
"MIT"
] | null | null | null | Lesson3/concise-switch.go | huegli/GetProgramingWithGo | fc704c2068521afc9a781f8c306b37335d8d11a9 | [
"MIT"
] | null | null | null | package main
import "fmt"
func main() {
fmt.Println("There is a cavern entrance here and a path to the east.")
var command = "go inside"
switch command {
case "go east":
fmt.Println("You head further up the mountain.")
case "enter cave", "go inside":
fmt.Println("You find yourself in a dimly lit cavern.")
... | 20.904762 | 71 | 0.678815 |
c94b4cd22b9b42b75c30042b3757660e88490302 | 646 | ts | TypeScript | src/tweet/rocketman.ts | UpsidePotential/SlickBot | ba917f88e358944b03c081f3bc1c76c8cc555733 | [
"WTFPL"
] | 4 | 2020-08-17T13:29:52.000Z | 2020-08-20T00:30:47.000Z | src/tweet/rocketman.ts | UpsidePotential/SlickBot | ba917f88e358944b03c081f3bc1c76c8cc555733 | [
"WTFPL"
] | 21 | 2020-08-17T13:51:18.000Z | 2021-03-01T21:49:13.000Z | src/tweet/rocketman.ts | SlickyCorp-Heavy-Manufacturing/SlickBot | ae5163f53f56b45863cd58add70e0ac393e14e02 | [
"WTFPL"
] | 8 | 2020-08-17T13:30:05.000Z | 2020-08-20T00:32:27.000Z | import { Message } from 'discord.js';
import { ICommand } from '../icommand';
import { TweetGen } from './tweet-generator';
const commandString = '!elon';
export const RocketManCommand: ICommand = {
name: commandString,
helpDescription: 'Bot will respond with a tweet from the rocket man',
showInHelp: true,
tr... | 26.916667 | 71 | 0.667183 |
dd58ccae1cd1d4aafbbec9ccee168ac8e53de89c | 5,769 | java | Java | src/dateCalculator/AniversaryList.java | kejsardamberg/AniversaryCalculator | 4fc0b664da07b689e9dbc32a17cee184abd2e8da | [
"Apache-2.0"
] | null | null | null | src/dateCalculator/AniversaryList.java | kejsardamberg/AniversaryCalculator | 4fc0b664da07b689e9dbc32a17cee184abd2e8da | [
"Apache-2.0"
] | null | null | null | src/dateCalculator/AniversaryList.java | kejsardamberg/AniversaryCalculator | 4fc0b664da07b689e9dbc32a17cee184abd2e8da | [
"Apache-2.0"
] | null | null | null | package dateCalculator;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.Date;
import java.util.List;
public class AniversaryList
{
public DateOfImportance dateOfImportance;
public boolean includeEventsInThePast = false;
publi... | 35.611111 | 177 | 0.746577 |
b283f1ac689bb2cf922b69238b71e8355413b63e | 1,388 | css | CSS | css/register.css | douglasCajueiro/PI-SpaceTrip | 6524aed1bf7a69a2b8a11daef003c2a580c8af9a | [
"MIT"
] | null | null | null | css/register.css | douglasCajueiro/PI-SpaceTrip | 6524aed1bf7a69a2b8a11daef003c2a580c8af9a | [
"MIT"
] | 4 | 2020-10-11T19:15:54.000Z | 2020-10-13T23:23:25.000Z | css/register.css | douglasCajueiro/PI-SpaceTrip | 6524aed1bf7a69a2b8a11daef003c2a580c8af9a | [
"MIT"
] | null | null | null | @import url('https://fonts.googleapis.com/css2?family=Gugi&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
font-family: 'swap', sans-serif;
overflow: hidden;
}
body {
background-image: url("../imagens/index/fundo.jpg");
background-size: cov... | 18.506667 | 75 | 0.571326 |
8c366b5cd4d242e37b11cb4412e34373f22356cc | 1,863 | rb | Ruby | apache_kafka/recipes/configure.rb | albertcbrown/cookbooks | abea254a529dad892e369b2aaad56723996c59b9 | [
"Apache-2.0"
] | null | null | null | apache_kafka/recipes/configure.rb | albertcbrown/cookbooks | abea254a529dad892e369b2aaad56723996c59b9 | [
"Apache-2.0"
] | null | null | null | apache_kafka/recipes/configure.rb | albertcbrown/cookbooks | abea254a529dad892e369b2aaad56723996c59b9 | [
"Apache-2.0"
] | null | null | null | # encoding: UTF-8
# Cookbook Name:: apache_kafka
# Recipe:: configure
#
[
node["apache_kafka"]["config_dir"],
node["apache_kafka"]["bin_dir"],
node["apache_kafka"]["data_dir"],
node["apache_kafka"]["log_dir"]
].each do |dir|
directory dir do
recursive true
owner node["apache_kafka"]["user"]
end
end... | 28.227273 | 76 | 0.653247 |
2244896e44c1c285ddc72fc5b411b05b1a54e647 | 342 | cs | C# | Net45/SuperSocketClient1.6/SuperSocket.ClientEngine-master/Core/SecurityOption.Silverlight.cs | AelousDing/Mature.WPF | 7b01d84f34803b037707098c7ceee87df0cb963d | [
"MIT"
] | 3 | 2021-09-27T01:37:44.000Z | 2022-02-20T12:41:21.000Z | Libraries/WebSocket4Net/SuperSocket.ClientEngine/Core/SecurityOption.Silverlight.cs | WamWooWam/Unicord.Legacy | dd7dd8d591217fffa6e7e2bc85102848d6cdf22b | [
"MIT"
] | null | null | null | Libraries/WebSocket4Net/SuperSocket.ClientEngine/Core/SecurityOption.Silverlight.cs | WamWooWam/Unicord.Legacy | dd7dd8d591217fffa6e7e2bc85102848d6cdf22b | [
"MIT"
] | 1 | 2021-06-16T07:28:47.000Z | 2021-06-16T07:28:47.000Z | using System;
using System.Collections.Generic;
namespace SuperSocket.ClientEngine
{
/// <summary>
/// Security options
/// </summary>
public class SecurityOption
{
/// <summary>
/// The SslProtocols want to be enabled
/// </summary>
public bool EnabledSslProtocols ... | 20.117647 | 53 | 0.599415 |
fd673ef66f87727dcac4c4cd802ac36140d28f7f | 2,253 | css | CSS | regenesis/static/css/style.css | crijke/regenesis | e53a0c6302aa458ff9ae95f573d5594351e5434c | [
"MIT"
] | 16 | 2015-04-09T14:40:53.000Z | 2021-07-13T15:03:35.000Z | regenesis/static/css/style.css | crijke/regenesis | e53a0c6302aa458ff9ae95f573d5594351e5434c | [
"MIT"
] | 1 | 2018-06-25T07:51:18.000Z | 2018-06-25T07:51:18.000Z | regenesis/static/css/style.css | crijke/regenesis | e53a0c6302aa458ff9ae95f573d5594351e5434c | [
"MIT"
] | 3 | 2015-12-20T18:24:21.000Z | 2018-06-24T16:57:25.000Z | /*
* Palette:
*
* Purple: #46336B
* Red: #BA4B37
* Yellow: #F5DE14
* Green: #4C9923
* Blue: #265475 (Dark: #08c)
* #0F81FE
*/
html, body {
background-color: #fff;
color: #222;
line-height: 1.4em;
}
body, h1, h2, h3, h4, h5, h6 {
font-family: 'Open Sans', sans-serif;
font-weight: 400;
}
@media (min... | 11.795812 | 39 | 0.592099 |
f4499837ca895933f55ed7dc4990c1048ad29964 | 1,261 | cs | C# | src/HeavenlyWind.Base/Preference.Data.cs | ly931003/ing | 440e191cd8d4d532435e496d19dff64099e92bdc | [
"MIT"
] | null | null | null | src/HeavenlyWind.Base/Preference.Data.cs | ly931003/ing | 440e191cd8d4d532435e496d19dff64099e92bdc | [
"MIT"
] | null | null | null | src/HeavenlyWind.Base/Preference.Data.cs | ly931003/ing | 440e191cd8d4d532435e496d19dff64099e92bdc | [
"MIT"
] | null | null | null | using Sakuno.KanColle.Amatsukaze.Models.Preferences;
namespace Sakuno.KanColle.Amatsukaze
{
partial class Preference
{
public Property<string> Language { get; } = new Property<string>("main.language", StringResources.Instance.GetDefaultLanguage().Directory);
public Property<string> ExtraResou... | 39.40625 | 179 | 0.702617 |
822c9025a3788ba6ca316080bf7b0910bf4acf88 | 1,166 | swift | Swift | TMDSample/TMDSample/Networking/Services/ConfigurationService.swift | arslanFaisal/TMDMovies | 3138d942532573143d11b28261f3fa2f955c094a | [
"MIT"
] | null | null | null | TMDSample/TMDSample/Networking/Services/ConfigurationService.swift | arslanFaisal/TMDMovies | 3138d942532573143d11b28261f3fa2f955c094a | [
"MIT"
] | null | null | null | TMDSample/TMDSample/Networking/Services/ConfigurationService.swift | arslanFaisal/TMDMovies | 3138d942532573143d11b28261f3fa2f955c094a | [
"MIT"
] | null | null | null | //
// ConfigurationService.swift
// TMDSample
//
// Created by Arslan Faisal on 23/10/2019.
// Copyright © 2019 Arslan Faisal. All rights reserved.
//
import Foundation
typealias ConfigurationCompletionBlock = (_ configuration: configuration?,_ error: String?)-> ()
struct ConfigurationService {
var networkHa... | 31.513514 | 99 | 0.644082 |
eb1b37eba68d8fab7e3927636923e140f25632ef | 127 | css | CSS | EmyTestGame/Tool/LogStyle.css | TheJemy191/EmyGameEngine | cbefe9bc8e59533e4de96623a5916835846af8cd | [
"MIT"
] | null | null | null | EmyTestGame/Tool/LogStyle.css | TheJemy191/EmyGameEngine | cbefe9bc8e59533e4de96623a5916835846af8cd | [
"MIT"
] | null | null | null | EmyTestGame/Tool/LogStyle.css | TheJemy191/EmyGameEngine | cbefe9bc8e59533e4de96623a5916835846af8cd | [
"MIT"
] | 1 | 2019-09-03T16:49:50.000Z | 2019-09-03T16:49:50.000Z | .Message
{
color: skyblue;
}
.Warning
{
color: yellow;
}
.Error
{
color: orange;
}
.Fatal_Error
{
color: red;
} | 7.9375 | 19 | 0.566929 |
d075e389e5d1cce583be41b567b3f6b92397a942 | 6,831 | cc | C++ | CalibCalorimetry/CastorCalib/plugins/CastorDbProducer.cc | Nik-Menendez/L1Trigger | 5336631cc0a517495869279ed7d3a4cac8d4e5e5 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | CalibCalorimetry/CastorCalib/plugins/CastorDbProducer.cc | Nik-Menendez/L1Trigger | 5336631cc0a517495869279ed7d3a4cac8d4e5e5 | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | CalibCalorimetry/CastorCalib/plugins/CastorDbProducer.cc | Nik-Menendez/L1Trigger | 5336631cc0a517495869279ed7d3a4cac8d4e5e5 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | // -*- C++ -*-
//
// Package: CastorDbProducer
// Class: CastorDbProducer
//
/**\class CastorDbProducer CastorDbProducer.h CalibFormats/CastorDbProducer/interface/CastorDbProducer.h
Description: <one line class summary>
Implementation:
<Notes on implementation>
*/
//
// Original Author: Fedor Ratnikov... | 38.8125 | 117 | 0.693456 |
2c6c5166c533f27f5d4191386ad1210f82de7b26 | 777 | py | Python | stocks_api/views/company.py | IndigoShock/stocks_api | 8d0b1fea8fc9637d9580e0f69d9a6585c04472d8 | [
"MIT"
] | null | null | null | stocks_api/views/company.py | IndigoShock/stocks_api | 8d0b1fea8fc9637d9580e0f69d9a6585c04472d8 | [
"MIT"
] | null | null | null | stocks_api/views/company.py | IndigoShock/stocks_api | 8d0b1fea8fc9637d9580e0f69d9a6585c04472d8 | [
"MIT"
] | null | null | null | from pyramid_restful.viewsets import APIViewSet
from pyramid.response import Response
class CompanyAPIViewset(APIViewSet):
def retrieve(self, request, id=None):
"""this will retrieve the company's API view. And populate into the
database. At the moment, this will show whether the user correctly
... | 32.375 | 75 | 0.634492 |
cdc9fbae9988ffcd00cdf7a880753597c1eb7372 | 11,488 | cs | C# | src/csharp/Intel/Generator/TypeIds.cs | q60/iced | 200439b3b30527102313d92643e3c6ab8a81e1c1 | [
"MIT"
] | 2 | 2022-01-02T16:16:58.000Z | 2022-01-09T09:39:08.000Z | src/csharp/Intel/Generator/TypeIds.cs | q60/iced | 200439b3b30527102313d92643e3c6ab8a81e1c1 | [
"MIT"
] | null | null | null | src/csharp/Intel/Generator/TypeIds.cs | q60/iced | 200439b3b30527102313d92643e3c6ab8a81e1c1 | [
"MIT"
] | null | null | null | // SPDX-License-Identifier: MIT
// Copyright (C) 2018-present iced project and contributors
namespace Generator {
static class TypeIds {
public static readonly TypeId OrigCodeValues = new(nameof(OrigCodeValues));
public static readonly TypeId RemovedCodeValues = new(nameof(RemovedCodeValues));
public static rea... | 72.251572 | 101 | 0.802054 |
41e87f9913be369270cc6c1329d6a1f396c53092 | 520 | sql | SQL | gretljobs/afu_grundwassergeometrie/grundwasser_tiefstand.sql | sogis/migration-sogis-db | be5437259cccfce6cc8ea760950111dec1e6749c | [
"MIT"
] | null | null | null | gretljobs/afu_grundwassergeometrie/grundwasser_tiefstand.sql | sogis/migration-sogis-db | be5437259cccfce6cc8ea760950111dec1e6749c | [
"MIT"
] | 13 | 2020-08-31T12:23:05.000Z | 2020-11-12T13:18:07.000Z | gretljobs/afu_grundwassergeometrie/grundwasser_tiefstand.sql | sogis/migration-sogis-db | be5437259cccfce6cc8ea760950111dec1e6749c | [
"MIT"
] | null | null | null | SELECT
wkb_geometry AS geometrie,
CASE
WHEN maechtigke = '2-10m'
THEN 'm_2_10'
WHEN maechtigke = '10-20m'
THEN 'm_10_20'
WHEN maechtigke = '20-30m'
THEN 'm_20_30'
WHEN maechtigke = '30-40m'
THEN 'm_30_40'
WHEN maechtigke = '... | 23.636364 | 56 | 0.538462 |
f154dc06ce00e2bfaf6b3d05960ce89ec6a14f16 | 4,455 | kt | Kotlin | nugu-login-kit/src/main/java/com/skt/nugu/sdk/platform/android/login/auth/Credentials.kt | Yuseon-Han/nugu-android | 51155b9e6c3811f9f6d1566ea15ad8d96da65335 | [
"Apache-2.0"
] | null | null | null | nugu-login-kit/src/main/java/com/skt/nugu/sdk/platform/android/login/auth/Credentials.kt | Yuseon-Han/nugu-android | 51155b9e6c3811f9f6d1566ea15ad8d96da65335 | [
"Apache-2.0"
] | null | null | null | nugu-login-kit/src/main/java/com/skt/nugu/sdk/platform/android/login/auth/Credentials.kt | Yuseon-Han/nugu-android | 51155b9e6c3811f9f6d1566ea15ad8d96da65335 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2019 SK Telecom Co., Ltd. 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 requir... | 29.7 | 97 | 0.552637 |
729ce67b319a21b9b557df3f31eeef64eb8c9c82 | 11,914 | cs | C# | src/Core.Tests/Threading/PartitionedTaskSchedulerTests.cs | cbaxter/infrastructure | 508a9cc59c046c0fb615df717a484df58cc66a82 | [
"MIT"
] | null | null | null | src/Core.Tests/Threading/PartitionedTaskSchedulerTests.cs | cbaxter/infrastructure | 508a9cc59c046c0fb615df717a484df58cc66a82 | [
"MIT"
] | null | null | null | src/Core.Tests/Threading/PartitionedTaskSchedulerTests.cs | cbaxter/infrastructure | 508a9cc59c046c0fb615df717a484df58cc66a82 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Spark.Threading;
using Xunit;
/* Copyright (c) 2015 Spark Software Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated doc... | 45.64751 | 236 | 0.58234 |
14faf0f651a7a300fecc5f5d09654c6fe4dd5772 | 9,128 | ts | TypeScript | tests/unit/Private/Functionalities.spec.ts | gimyboya/Apostille-library | 19c68e37e54de061df2d52a31635c54900f9ea8e | [
"MIT"
] | null | null | null | tests/unit/Private/Functionalities.spec.ts | gimyboya/Apostille-library | 19c68e37e54de061df2d52a31635c54900f9ea8e | [
"MIT"
] | null | null | null | tests/unit/Private/Functionalities.spec.ts | gimyboya/Apostille-library | 19c68e37e54de061df2d52a31635c54900f9ea8e | [
"MIT"
] | null | null | null | import { Account, NetworkType, TransactionType } from 'nem2-sdk';
import { Apostille, Initiator } from '../../../index';
import { Errors } from '../../../src/Errors';
const seed = '.N:@N%5SVjj3Wkmr-';
// A funny but valid private key
const sk = 'aaaaaaaaaaeeeeeeeeeebbbbbbbbbb5555555555dddddddddd1111111111aaee';
const ... | 42.654206 | 103 | 0.711547 |
db9d9b55c68deafd5dd619b497fc26f420433f5e | 1,641 | php | PHP | resources/views/welcome.blade.php | Scelvin/LCRUD | 70919fd1747af5b4bfa2771d046baee8fa060e42 | [
"MIT"
] | null | null | null | resources/views/welcome.blade.php | Scelvin/LCRUD | 70919fd1747af5b4bfa2771d046baee8fa060e42 | [
"MIT"
] | null | null | null | resources/views/welcome.blade.php | Scelvin/LCRUD | 70919fd1747af5b4bfa2771d046baee8fa060e42 | [
"MIT"
] | null | null | null | @extends('layouts.main')
@section('content')
@if (session('successMsg'))
<div class="alert alert-success" role="alert">
{{ session('successMsg') }}
</div>
@endif
<div class="container">
<h1>Dashboard</h1>
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="... | 30.962264 | 131 | 0.493601 |
388da5e4e2d982840560f3943c92e64238a567bc | 484 | php | PHP | resources/views/home.blade.php | inf1nitev0id/inf1nite_v0ids_site | 7a85963f79662c3dab01f488a817e7d39f2ddf2b | [
"MIT"
] | null | null | null | resources/views/home.blade.php | inf1nitev0id/inf1nite_v0ids_site | 7a85963f79662c3dab01f488a817e7d39f2ddf2b | [
"MIT"
] | null | null | null | resources/views/home.blade.php | inf1nitev0id/inf1nite_v0ids_site | 7a85963f79662c3dab01f488a817e7d39f2ddf2b | [
"MIT"
] | null | null | null | @extends('layouts.main')
@section('title') Главная @endsection
@section('content')
<h5>Добро пожаловать на мой личный сайт!</h5>
<p>
И всего хорошего, потому что тут нет абсолютно ничего интересного, так что лучше идите займитесь своими делами.<br />
Возможно когда-нибудь тут что-то и появится, но только не сегодня... | 34.571429 | 118 | 0.735537 |
cdd9b740acaf0cfc0679434ec64e613dc655427f | 3,228 | swift | Swift | Demo/Demo/ContentView.swift | damienvieira/BottomSheet | 782b470a2980ff6230ee4ff690b1d54984119710 | [
"MIT"
] | null | null | null | Demo/Demo/ContentView.swift | damienvieira/BottomSheet | 782b470a2980ff6230ee4ff690b1d54984119710 | [
"MIT"
] | null | null | null | Demo/Demo/ContentView.swift | damienvieira/BottomSheet | 782b470a2980ff6230ee4ff690b1d54984119710 | [
"MIT"
] | null | null | null | //
// ContentView.swift
// Demo
//
// Created by Daniel Saidi on 2021-05-11.
// Copyright © 2021 Daniel Saidi. All rights reserved.
//
import SwiftUI
import BottomSheet
struct ContentView: View {
@State private var isExpanded = false
@State private var useTallerMinHeight = false
@State private va... | 33.978947 | 102 | 0.566914 |
028b1367da7d6732cf3b5ecc7b50b8a429414aa5 | 747 | sql | SQL | Database/Tables/EntityProjectMeasureValue.sql | gianadda/ZenPRM | 3fb4ef986ad01d3a1604226282dcb81892f145d0 | [
"WTFPL"
] | 1 | 2021-07-31T19:02:54.000Z | 2021-07-31T19:02:54.000Z | Database/Tables/EntityProjectMeasureValue.sql | gianadda/ZenPRM | 3fb4ef986ad01d3a1604226282dcb81892f145d0 | [
"WTFPL"
] | null | null | null | Database/Tables/EntityProjectMeasureValue.sql | gianadda/ZenPRM | 3fb4ef986ad01d3a1604226282dcb81892f145d0 | [
"WTFPL"
] | 2 | 2016-09-19T01:59:48.000Z | 2016-09-21T13:28:18.000Z | IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'EntityProjectMeasureValue')
AND OBJECTPROPERTY(id, N'IsUserTable') = 1)
DROP TABLE EntityProjectMeasureValue
GO
CREATE TABLE EntityProjectMeasureValue (
Ident BIGINT IDENTITY (1,1) ,
EntityProjectMeasureIdent BIGINT ,
Value1 NVARCHAR(MAX),
ValueCount... | 32.478261 | 141 | 0.840696 |
820652696214b0053d560e63ef5eb77a8689379f | 4,366 | dart | Dart | lib/src/index_service/index_service.dart | uris77/firesearch_sdk | 6a6c0c171c679f532ccafae4090f821315c2eca5 | [
"Apache-2.0"
] | 1 | 2021-07-18T14:38:16.000Z | 2021-07-18T14:38:16.000Z | lib/src/index_service/index_service.dart | uris77/firesearch_sdk | 6a6c0c171c679f532ccafae4090f821315c2eca5 | [
"Apache-2.0"
] | null | null | null | lib/src/index_service/index_service.dart | uris77/firesearch_sdk | 6a6c0c171c679f532ccafae4090f821315c2eca5 | [
"Apache-2.0"
] | null | null | null | import 'dart:convert';
import 'package:firesearch_sdk/firesearch_sdk.dart';
import 'package:firesearch_sdk/src/index_service/put_doc_request.dart';
/// IndexService provides the ability to create and manage full-text indexes, as
/// well as populate them with data, and perform searches.
class IndexService {
/// Def... | 35.495935 | 91 | 0.696519 |
6405adc42dcd7f2f4a6a096a4b0fe06d93f65c53 | 4,144 | py | Python | project/plant_fight/game/plane.py | Firekiss/python_learn | 15922af566a08924834ff924982a36a65b724bbf | [
"MIT"
] | null | null | null | project/plant_fight/game/plane.py | Firekiss/python_learn | 15922af566a08924834ff924982a36a65b724bbf | [
"MIT"
] | null | null | null | project/plant_fight/game/plane.py | Firekiss/python_learn | 15922af566a08924834ff924982a36a65b724bbf | [
"MIT"
] | null | null | null | import pygame
import constants
import re, random
from game.bullet import Bullet
frame_regex = re.compile(r'^\d*[0-4]$')
class Plane(pygame.sprite.Sprite):
# 飞机的绘制图片列表
plane_imgs = []
# 飞机毁灭时用来绘制的图片
destory_imgs = []
# 飞机毁灭时的音乐
destory_sound = None
# 飞机当前的状态
active = True
# 飞机的子弹组
... | 27.443709 | 72 | 0.594353 |
b8f96d0a59d72054cb247c9164d55f6a0646911c | 1,230 | h | C | 24. 2022-05-21-2022-06-06 (ShadowMap)/header/CubeRenderTarget.h | Mawi1e/DirectX12Study | 82e4ae728b58087e75b85be09bc87d089691cdca | [
"MIT"
] | null | null | null | 24. 2022-05-21-2022-06-06 (ShadowMap)/header/CubeRenderTarget.h | Mawi1e/DirectX12Study | 82e4ae728b58087e75b85be09bc87d089691cdca | [
"MIT"
] | null | null | null | 24. 2022-05-21-2022-06-06 (ShadowMap)/header/CubeRenderTarget.h | Mawi1e/DirectX12Study | 82e4ae728b58087e75b85be09bc87d089691cdca | [
"MIT"
] | null | null | null | #pragma once
#include "VertexBuffer.h"
template <class _Tp> _Tp& unmove(_Tp&& __val) { return __val; }
class CubeRenderTarget {
public:
CubeRenderTarget(ID3D12Device* Device, UINT ScreenWidth, UINT ScreenHeight, DXGI_FORMAT RtvFormat);
CubeRenderTarget(const CubeRenderTarget&) = delete;
CubeRenderTarget& operator... | 25.625 | 100 | 0.813821 |
c63dbb815b72e0c97f379011ac8a60ab61426d81 | 143 | rb | Ruby | lib/paper_trail_globalid/rails/controller.rb | hajder/paper_trail-globalid | c2ef6ebd87f32945ec011b49676ceacd0cfa9664 | [
"MIT"
] | null | null | null | lib/paper_trail_globalid/rails/controller.rb | hajder/paper_trail-globalid | c2ef6ebd87f32945ec011b49676ceacd0cfa9664 | [
"MIT"
] | null | null | null | lib/paper_trail_globalid/rails/controller.rb | hajder/paper_trail-globalid | c2ef6ebd87f32945ec011b49676ceacd0cfa9664 | [
"MIT"
] | null | null | null | module PaperTrailGlobalid
module Rails
module Controller
def user_for_paper_trail
current_user
end
end
end
end
| 14.3 | 30 | 0.685315 |
0dbe8d097187a2bde64ef9512a7f9167272398fa | 655 | cs | C# | IF-Tools/Data/Types/GradeInfo.cs | gzhynko/IF-Tools | 5acd322e6c7ad1c679b41e222f196b40f1dd0e3e | [
"MIT"
] | 2 | 2021-04-16T14:43:54.000Z | 2021-04-19T23:23:12.000Z | IF-Tools/Data/Types/GradeInfo.cs | gzhynko/IF-Tools | 5acd322e6c7ad1c679b41e222f196b40f1dd0e3e | [
"MIT"
] | 1 | 2021-04-14T06:47:35.000Z | 2021-04-21T04:39:32.000Z | IF-Tools/Data/Types/GradeInfo.cs | if-tools/IF-Tools | 5acd322e6c7ad1c679b41e222f196b40f1dd0e3e | [
"MIT"
] | null | null | null | using Newtonsoft.Json;
namespace IFTools.Data.Types
{
public class GradeInfo
{
[JsonProperty("gradeDetails")]
public GradeConfiguration GradeDetails { get; set; }
[JsonProperty("reports")]
public ReportEntry[] Reports { get; set; }
[JsonProperty("violations")]... | 25.192308 | 60 | 0.574046 |
059fc2ae32f7195731da76c10336090f4ec03510 | 797 | swift | Swift | build/src/Models/ReportingTurnKnowledgeSearch.swift | MyPureCloud/platform-client-sdk-ios | d69e3deedbbe2f30c3641a5c8b4e66eb5eb6858b | [
"MIT"
] | null | null | null | build/src/Models/ReportingTurnKnowledgeSearch.swift | MyPureCloud/platform-client-sdk-ios | d69e3deedbbe2f30c3641a5c8b4e66eb5eb6858b | [
"MIT"
] | null | null | null | build/src/Models/ReportingTurnKnowledgeSearch.swift | MyPureCloud/platform-client-sdk-ios | d69e3deedbbe2f30c3641a5c8b4e66eb5eb6858b | [
"MIT"
] | 1 | 2021-05-11T21:57:38.000Z | 2021-05-11T21:57:38.000Z | //
// ReportingTurnKnowledgeSearch.swift
//
// Generated by swagger-codegen
// https://github.com/swagger-api/swagger-codegen
//
import Foundation
public class ReportingTurnKnowledgeSearch: Codable {
/** The ID of this knowledge search. */
public var searchId: String?
/** The list of search documents c... | 23.441176 | 105 | 0.675031 |
433fb3b73c73da4332e9a9009eb4ce7605777d2e | 663 | ts | TypeScript | src/facebookManager.d.ts | comapi/comapi-sdk-js-bower | ccaec077348c827ec11862a865034603316f5636 | [
"MIT"
] | null | null | null | src/facebookManager.d.ts | comapi/comapi-sdk-js-bower | ccaec077348c827ec11862a865034603316f5636 | [
"MIT"
] | null | null | null | src/facebookManager.d.ts | comapi/comapi-sdk-js-bower | ccaec077348c827ec11862a865034603316f5636 | [
"MIT"
] | null | null | null | import { IComapiConfig, IRestClient, IFacebookManager } from "./interfaces";
export declare class FacebookManager implements IFacebookManager {
private _restClient;
private _comapiConfig;
/**
* FacebookManager class constructor.
* @class FacebookManager
* @ignore
* @classdesc Class that ... | 34.894737 | 78 | 0.704374 |
785cd9150e6167e45e86ec95db660c2ded95619b | 6,978 | lua | Lua | dynamic_bcspline/dynamic-bcspline.lua | skaminp/mpv-scripts | 131df4efa07455db9f4ba37fd29a9a2267706f85 | [
"MIT"
] | 2 | 2021-05-21T00:46:12.000Z | 2021-09-15T23:14:58.000Z | dynamic_bcspline/dynamic-bcspline.lua | skaminp/mpv-scripts | 131df4efa07455db9f4ba37fd29a9a2267706f85 | [
"MIT"
] | null | null | null | dynamic_bcspline/dynamic-bcspline.lua | skaminp/mpv-scripts | 131df4efa07455db9f4ba37fd29a9a2267706f85 | [
"MIT"
] | null | null | null | local options = {
offset = 1.5,
cutoff = 0,
dscale_nearest = true,
dscale_nearest_level = -3,
debug_message = false,
}
(require 'mp.options').read_options(options)
local cutoff_check = true
local dscale_nearest_check = false
local offset_list = {
0,
0.1,
0.25,
0.333,
0.5,
0.75... | 33.38756 | 259 | 0.617512 |
258a100526a48d6723e0e0bf5ef68e668e7102dc | 1,416 | js | JavaScript | core-ui/src/resources/Secrets/SecretDetails.js | mrCherry97/busola | cb145ab3e2c52b86cc64c8f4438d8a1e07457463 | [
"Apache-2.0"
] | null | null | null | core-ui/src/resources/Secrets/SecretDetails.js | mrCherry97/busola | cb145ab3e2c52b86cc64c8f4438d8a1e07457463 | [
"Apache-2.0"
] | null | null | null | core-ui/src/resources/Secrets/SecretDetails.js | mrCherry97/busola | cb145ab3e2c52b86cc64c8f4438d8a1e07457463 | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import { useTranslation } from 'react-i18next';
import { ControlledBy } from 'shared/components/ControlledBy/ControlledBy';
import { ResourceDetails } from 'shared/components/ResourceDetails/ResourceDetails';
import SecretData from 'shared/components/Secret/SecretData';
import { HelmReleaseD... | 26.222222 | 84 | 0.675847 |
21ba7afe41b69a8822ad453482e9c0b7fce7e37d | 3,743 | js | JavaScript | aura-impl/src/test/components/expressionTest/simpleValue/simpleValueTest.js | ShekharGadewar/aura | fb6322fe7cc11d56dbae6cdf08a5bcd9828f6dd5 | [
"Apache-2.0"
] | 1 | 2016-01-20T21:24:36.000Z | 2016-01-20T21:24:36.000Z | aura-impl/src/test/components/expressionTest/simpleValue/simpleValueTest.js | ShekharGadewar/aura | fb6322fe7cc11d56dbae6cdf08a5bcd9828f6dd5 | [
"Apache-2.0"
] | null | null | null | aura-impl/src/test/components/expressionTest/simpleValue/simpleValueTest.js | ShekharGadewar/aura | fb6322fe7cc11d56dbae6cdf08a5bcd9828f6dd5 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2013 salesforce.com, inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 40.247312 | 115 | 0.688752 |
6b24dc995099e1205b1a062969566ee56719c9bd | 6,469 | cpp | C++ | CO2-Ampel/rtc.cpp | lrswss/co2ampel | 0b100135be16b2deed420f5e8bc618478783c075 | [
"Apache-2.0"
] | 2 | 2021-01-08T13:21:58.000Z | 2021-01-08T18:38:58.000Z | CO2-Ampel/rtc.cpp | lrswss/co2ampel | 0b100135be16b2deed420f5e8bc618478783c075 | [
"Apache-2.0"
] | null | null | null | CO2-Ampel/rtc.cpp | lrswss/co2ampel | 0b100135be16b2deed420f5e8bc618478783c075 | [
"Apache-2.0"
] | 1 | 2021-03-20T14:54:35.000Z | 2021-03-20T14:54:35.000Z | /***************************************************************************
Copyright (c) 2020-2021 Lars Wessels
This file a part of the "CO2-Ampel" source code.
https://github.com/lrswss/co2ampel
Published under Apache License 2.0
***************************************************************************/... | 28.248908 | 115 | 0.671356 |
8338ff6510e86b42adc157e36410bce21a91a223 | 2,728 | ts | TypeScript | src/sql/parts/queryPlan/queryPlan.ts | meonBot/azuredatastudio | 5c3eb96ffc15e04993a1b60106c31fa2e2881717 | [
"MIT"
] | 1 | 2019-01-13T23:01:07.000Z | 2019-01-13T23:01:07.000Z | src/sql/parts/queryPlan/queryPlan.ts | meonBot/azuredatastudio | 5c3eb96ffc15e04993a1b60106c31fa2e2881717 | [
"MIT"
] | 5 | 2019-01-13T23:04:43.000Z | 2022-03-28T07:27:08.000Z | src/sql/parts/queryPlan/queryPlan.ts | meonBot/azuredatastudio | 5c3eb96ffc15e04993a1b60106c31fa2e2881717 | [
"MIT"
] | 1 | 2020-10-30T02:12:49.000Z | 2020-10-30T02:12:49.000Z | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*---------------------------------------------------------------... | 22.545455 | 96 | 0.630132 |
a33d7acfa8848315be1009be373da4ca37f90f53 | 5,098 | java | Java | Bluetooth/Bluetooth_lib/src/main/java/com/ramimartin/multibluetooth/activity/BluetoothActivity.java | mingunpark/GITHUB-study | 1e7e45b88b80e88a021f3a7abe986fc6dc53d9bb | [
"Beerware"
] | null | null | null | Bluetooth/Bluetooth_lib/src/main/java/com/ramimartin/multibluetooth/activity/BluetoothActivity.java | mingunpark/GITHUB-study | 1e7e45b88b80e88a021f3a7abe986fc6dc53d9bb | [
"Beerware"
] | null | null | null | Bluetooth/Bluetooth_lib/src/main/java/com/ramimartin/multibluetooth/activity/BluetoothActivity.java | mingunpark/GITHUB-study | 1e7e45b88b80e88a021f3a7abe986fc6dc53d9bb | [
"Beerware"
] | null | null | null | package com.ramimartin.multibluetooth.activity;
import android.app.Activity;
import android.bluetooth.BluetoothDevice;
import android.content.Intent;
import android.os.Bundle;
import com.ramimartin.multibluetooth.bluetooth.mananger.BluetoothManager;
import com.ramimartin.multibluetooth.bus.BluetoothCommunicator;
impo... | 30.89697 | 86 | 0.724598 |
4407a782738ce245647a8597d2606c89bac051bb | 131 | py | Python | packages/PIPS/validation/Top-level/spaces01.py | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 51 | 2015-01-31T01:51:39.000Z | 2022-02-18T02:01:50.000Z | packages/PIPS/validation/Top-level/spaces01.py | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 7 | 2017-05-29T09:29:00.000Z | 2019-03-11T16:01:39.000Z | packages/PIPS/validation/Top-level/spaces01.py | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 12 | 2015-03-26T08:05:38.000Z | 2022-02-18T02:01:51.000Z | from pyps import workspace
workspace.delete("bb")
workspace("a a a /spaces01.c",name="bb",recoverInclude=False).fun.main.display()
| 32.75 | 80 | 0.763359 |
cf066da52586fb950f04cf1ff906e72cde817058 | 149 | php | PHP | app/Salesfly/Entities/Year.php | godsaveme/salesfly-gohard | 5a2d150206b7fe75ef70707de5e24b3ce1862cc1 | [
"MIT"
] | null | null | null | app/Salesfly/Entities/Year.php | godsaveme/salesfly-gohard | 5a2d150206b7fe75ef70707de5e24b3ce1862cc1 | [
"MIT"
] | null | null | null | app/Salesfly/Entities/Year.php | godsaveme/salesfly-gohard | 5a2d150206b7fe75ef70707de5e24b3ce1862cc1 | [
"MIT"
] | null | null | null | <?php
namespace Salesfly\Salesfly\Entities;
class Year extends \Eloquent {
protected $table = 'years';
protected $fillable = ['year'];
} | 14.9 | 37 | 0.671141 |
79beedbea03ba93738122287ddc03ea93c909f14 | 322 | php | PHP | resources/views/pages/artikel.blade.php | rabbanisidiq14/corona | a9f17eacb08e01c09621717ed4511af45e39235d | [
"MIT"
] | null | null | null | resources/views/pages/artikel.blade.php | rabbanisidiq14/corona | a9f17eacb08e01c09621717ed4511af45e39235d | [
"MIT"
] | 4 | 2021-02-02T19:21:21.000Z | 2022-02-27T06:10:14.000Z | resources/views/pages/artikel.blade.php | rabbanisidiq14/corona | a9f17eacb08e01c09621717ed4511af45e39235d | [
"MIT"
] | null | null | null | @extends('assets.app')
@section('title')
{{$konten[0]->judul}}
@endsection
@section('content')
<body class="artikel1">
<div class="row justify-content-center">
<h2>{{$konten[0]->judul}}</h2>
</div>
<div class="card">
<div class="card-body">
{{$konten[0]->konten}}
</div>
</div>
</body>
@endsecti... | 16.1 | 40 | 0.596273 |
ed447605bad24996264f9b36b00bc764e1df74b4 | 469 | h | C | context.h | cventeic/scalable-log-trace | 71a2cde2af4052c57b1553b00204d6cf6c287c5b | [
"MIT"
] | 4 | 2017-02-22T14:01:58.000Z | 2021-11-15T12:38:54.000Z | context.h | cventeic/scalable-log-trace | 71a2cde2af4052c57b1553b00204d6cf6c287c5b | [
"MIT"
] | null | null | null | context.h | cventeic/scalable-log-trace | 71a2cde2af4052c57b1553b00204d6cf6c287c5b | [
"MIT"
] | null | null | null | #include <netinet/in.h>
// global socket to communicate with trace server
struct log_context {
char *prog_name;
uint64_t prog_hash;
int pub_fd;
struct sockaddr_in pub_addr;
int pub_send_buf_size;
int publish_context_ready;
int pub_sendmsg_flags;
int discovery_fd;
int discovery_context_ready;
i... | 17.37037 | 49 | 0.75693 |
8358285b37efd05f441688fc863057d365fdfb1d | 1,397 | ts | TypeScript | src/app/app.routing.module.ts | devzom/angular-learn | afb4d68f16faf057d3bb9e4b89c034f0c57691e7 | [
"MIT"
] | null | null | null | src/app/app.routing.module.ts | devzom/angular-learn | afb4d68f16faf057d3bb9e4b89c034f0c57691e7 | [
"MIT"
] | null | null | null | src/app/app.routing.module.ts | devzom/angular-learn | afb4d68f16faf057d3bb9e4b89c034f0c57691e7 | [
"MIT"
] | null | null | null | import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {HomepageComponent} from "./views/homepage/homepage.component";
import {PageNotFoundComponent} from "./views/page-not-found/page-not-found.component";
import {CheckoutGuard} from "./guards/checkout.guard";
import {AuthG... | 34.073171 | 104 | 0.711525 |
5e5c7e8e608beaa6cfdc8cbf7d24182b827f23ee | 8,708 | lua | Lua | Spellshock2/Data/Scripts/Pyroblast Ability Server.lua | Core-Team-META/Game-Spellshock-2 | 6e51dd778c5ea078b8efe4a4aa543115dc0f2ddb | [
"Apache-2.0"
] | 1 | 2021-11-02T16:01:38.000Z | 2021-11-02T16:01:38.000Z | Spellshock2/Data/Scripts/Pyroblast Ability Server.lua | Core-Team-META/Game-Spellshock-2 | 6e51dd778c5ea078b8efe4a4aa543115dc0f2ddb | [
"Apache-2.0"
] | null | null | null | Spellshock2/Data/Scripts/Pyroblast Ability Server.lua | Core-Team-META/Game-Spellshock-2 | 6e51dd778c5ea078b8efe4a4aa543115dc0f2ddb | [
"Apache-2.0"
] | 1 | 2021-11-02T17:17:10.000Z | 2021-11-02T17:17:10.000Z | -- Author: Ooccoo - (https://www.coregames.com/user/a136c0d1d9454d539c9932354198fc29)
-- Date: 04/02/2021
-- Version: 0.0.1
--===========================================================================================
-- Module dependencies
local MODULE = require(script:GetCustomProperty("ModuleManager"))
function COM... | 33.363985 | 160 | 0.782154 |
effabe715c4ade3176706322a863866df6185d2d | 3,898 | lua | Lua | test/functional/shell/viml_system_spec.lua | bobtwinkles/neovim | 5e65e3eae079d4765124ce791ce79649444ca403 | [
"Vim"
] | null | null | null | test/functional/shell/viml_system_spec.lua | bobtwinkles/neovim | 5e65e3eae079d4765124ce791ce79649444ca403 | [
"Vim"
] | null | null | null | test/functional/shell/viml_system_spec.lua | bobtwinkles/neovim | 5e65e3eae079d4765124ce791ce79649444ca403 | [
"Vim"
] | null | null | null | -- Specs for
-- - `system()`
-- - `systemlist()`
local helpers = require('test.functional.helpers')
local eq, clear, eval, feed =
helpers.eq, helpers.clear, helpers.eval, helpers.feed
local function create_file_with_nuls(name)
return function()
feed('ipart1<C-V>000part2<C-V>000part3<ESC>:w '..name..'<CR>')
... | 30.936508 | 79 | 0.629041 |
127b29afca2def0f3955bb3cecb89305203c90e3 | 7,946 | cs | C# | WPFSKillTree/ViewModels/MetroMessageBoxViewModel.cs | nikibobi/PoESkillTree | 061d0eb01d161a0ea1b3eab3126dea2146dacf67 | [
"MIT"
] | 3 | 2021-05-18T12:17:01.000Z | 2021-05-18T23:46:01.000Z | WPFSKillTree/ViewModels/MetroMessageBoxViewModel.cs | nikibobi/PoESkillTree | 061d0eb01d161a0ea1b3eab3126dea2146dacf67 | [
"MIT"
] | null | null | null | WPFSKillTree/ViewModels/MetroMessageBoxViewModel.cs | nikibobi/PoESkillTree | 061d0eb01d161a0ea1b3eab3126dea2146dacf67 | [
"MIT"
] | null | null | null | using POESKillTree.Model;
using POESKillTree.Views;
using System.ComponentModel;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
namespace POESKillTree.ViewModels
{
public class MetroMessageBoxViewModel : Notifier, INotifyPropertyChanged
{
#region fields
... | 28.177305 | 150 | 0.427259 |
ef690cfe0aba3cacf54a12e7004dd056f4041aec | 3,647 | h | C | lib/Basics/Result.h | Deckhandfirststar01/arangodb | a8c079252f9c7127ef6860f5ad46ec38055669ce | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | lib/Basics/Result.h | Deckhandfirststar01/arangodb | a8c079252f9c7127ef6860f5ad46ec38055669ce | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | lib/Basics/Result.h | Deckhandfirststar01/arangodb | a8c079252f9c7127ef6860f5ad46ec38055669ce | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 1 | 2021-07-12T06:29:34.000Z | 2021-07-12T06:29:34.000Z | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2017 ArangoDB GmbH, Cologne, Germany
///
/// 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... | 28.944444 | 80 | 0.666575 |
f45419a18e02ff97adce89115983058960f93dc6 | 1,916 | cs | C# | Alone in Space/Alone in Space/Particles/ParticleSource.cs | AleksandarDev/LD22AloneInSpace | bcc688b450d9279fe45decd223658dfc653c31f9 | [
"MIT"
] | null | null | null | Alone in Space/Alone in Space/Particles/ParticleSource.cs | AleksandarDev/LD22AloneInSpace | bcc688b450d9279fe45decd223658dfc653c31f9 | [
"MIT"
] | null | null | null | Alone in Space/Alone in Space/Particles/ParticleSource.cs | AleksandarDev/LD22AloneInSpace | bcc688b450d9279fe45decd223658dfc653c31f9 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.In... | 26.985915 | 118 | 0.704071 |
ed0e76df566e1c781f3a5e95e6c2dff0e5f24246 | 3,889 | c | C | Estructuras-de-Datos/Estructuras-lineales/queue/t_linked_queue/t_link_queue.c | DaniFuerte/Programaci-n-en-C | 90b43ab172f41846f9f61ff2218b33c674b3cdac | [
"Apache-2.0"
] | null | null | null | Estructuras-de-Datos/Estructuras-lineales/queue/t_linked_queue/t_link_queue.c | DaniFuerte/Programaci-n-en-C | 90b43ab172f41846f9f61ff2218b33c674b3cdac | [
"Apache-2.0"
] | null | null | null | Estructuras-de-Datos/Estructuras-lineales/queue/t_linked_queue/t_link_queue.c | DaniFuerte/Programaci-n-en-C | 90b43ab172f41846f9f61ff2218b33c674b3cdac | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "t_link_queue.h"
t_link_queue new_queue () {
t_link_queue queue;
queue.head = NULL;
queue.tail = NULL;
queue.size = 0;
return queue;
}
void add_element (t_link_queue * queue, t_element e) {
t_node * ... | 22.74269 | 81 | 0.453844 |
f39bd1eec08d248b97aa17fd70e16006db1f0835 | 631 | dart | Dart | generated-sources/dart-jaguar/mojang-api/lib/model/upload_skin_request.dart | AsyncMC/Mojang-API-Libs | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | [
"Apache-2.0"
] | null | null | null | generated-sources/dart-jaguar/mojang-api/lib/model/upload_skin_request.dart | AsyncMC/Mojang-API-Libs | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | [
"Apache-2.0"
] | null | null | null | generated-sources/dart-jaguar/mojang-api/lib/model/upload_skin_request.dart | AsyncMC/Mojang-API-Libs | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | [
"Apache-2.0"
] | null | null | null | import 'package:jaguar_serializer/jaguar_serializer.dart';
import 'package:openapi/model/skin_model.dart';
part 'upload_skin_request.jser.dart';
class UploadSkinRequest {
@Alias('model')
final SkinModel model;
/* The skin image in PNG format */
@Alias('file')
final MultipartFile file;
UploadSkinRe... | 18.028571 | 108 | 0.700475 |
c6cab4a868fb10bd80c897456777eb07eff97a98 | 1,580 | py | Python | PolTools/utils/heatmap_utils/set_matrix_bounds.py | GeoffSCollins/PolTools | 1ea9b166efc56610c385802f9491b4c8ec25a1d0 | [
"MIT"
] | null | null | null | PolTools/utils/heatmap_utils/set_matrix_bounds.py | GeoffSCollins/PolTools | 1ea9b166efc56610c385802f9491b4c8ec25a1d0 | [
"MIT"
] | null | null | null | PolTools/utils/heatmap_utils/set_matrix_bounds.py | GeoffSCollins/PolTools | 1ea9b166efc56610c385802f9491b4c8ec25a1d0 | [
"MIT"
] | null | null | null | from PolTools.utils.make_random_filename import generate_random_filename
def set_matrix_bounds(matrix_filename, minimum_value, maximum_value):
"""
Sets minimum and maximum values for the matrix by replacing values smaller than the minimum value with the minimum
value and replacing values larger than the m... | 30.980392 | 118 | 0.656329 |
f6c19a3a2b1c972c0f46966aa0e94f65720ad52e | 140 | sql | SQL | sql/mysql/dex.sql | grengojbo/pipeline-installer | eef4f5cf4efac1fb876573e8d9e15b90bcc9e947 | [
"Apache-2.0"
] | null | null | null | sql/mysql/dex.sql | grengojbo/pipeline-installer | eef4f5cf4efac1fb876573e8d9e15b90bcc9e947 | [
"Apache-2.0"
] | null | null | null | sql/mysql/dex.sql | grengojbo/pipeline-installer | eef4f5cf4efac1fb876573e8d9e15b90bcc9e947 | [
"Apache-2.0"
] | null | null | null | CREATE USER 'dex'@'%' IDENTIFIED BY '${password}';
CREATE DATABASE `dex`;
GRANT ALL PRIVILEGES ON `dex`.* TO 'dex'@'%';
FLUSH PRIVILEGES; | 20 | 50 | 0.664286 |
7f33711bb26fee1ed478c3321f3a1fbe2b34deb5 | 1,362 | cs | C# | Exercice/GoogleCodeJam/2018/FieldTrip.cs | yws1988/CSharpAlgo | 1cf5253014921ccaa3e8ea4f27d09273d4d38ff2 | [
"MIT"
] | null | null | null | Exercice/GoogleCodeJam/2018/FieldTrip.cs | yws1988/CSharpAlgo | 1cf5253014921ccaa3e8ea4f27d09273d4d38ff2 | [
"MIT"
] | null | null | null | Exercice/GoogleCodeJam/2018/FieldTrip.cs | yws1988/CSharpAlgo | 1cf5253014921ccaa3e8ea4f27d09273d4d38ff2 | [
"MIT"
] | null | null | null | using System;
using System.Linq;
using input = System.Console;
namespace CodeJam.Model
{
public class FieldTrip
{
public static int T;
public static int N;
public static int[][] Nums;
public static void Start()
{
#if true
System.IO.StreamReader input = new ... | 26.705882 | 113 | 0.46696 |
eb43ae6f1651eab7e93e0efd2cb884ed4f76ebbd | 1,211 | css | CSS | examples/ClanLib/AtharonRL/Resources/Engine/GUIThemeAero/lineedit.css | ptrefall/propcomp | 35a751ae0717e5c35621200f64deb373b29341a0 | [
"MIT"
] | 2 | 2018-10-18T12:06:15.000Z | 2019-06-13T20:41:31.000Z | examples/ClanLib/AtharonRL/Resources/Engine/GUIThemeAero/lineedit.css | ptrefall/propcomp | 35a751ae0717e5c35621200f64deb373b29341a0 | [
"MIT"
] | null | null | null | examples/ClanLib/AtharonRL/Resources/Engine/GUIThemeAero/lineedit.css | ptrefall/propcomp | 35a751ae0717e5c35621200f64deb373b29341a0 | [
"MIT"
] | null | null | null |
lineedit
{
border-image-slice:2 2 2 2 fill;
border-image-width:2px 2px 2px 2px;
border-image-repeat:stretch;
border-top:0px;
border-left:6px;
border-right:16px;
border-bottom:0px;
color:black;
}
lineedit:normal
{
border-image-source:url('res:LineEditNormal');
}
lineedit:hot
{
bor... | 14.590361 | 51 | 0.679604 |
971afdb701f6276f4b06bdae3fe6826db48d4cee | 4,397 | wlua | Lua | samples/testapp.wlua | oberhofer/luawinapi | 5fa8acf01a6056b32ed45133cee98b0b29c5e07b | [
"MIT"
] | 5 | 2015-12-04T17:31:27.000Z | 2019-09-01T11:56:44.000Z | samples/testapp.wlua | LuaDist-testing/luawinapi | e8bd578481a45bcc70d95d6eb6efa6a098647927 | [
"MIT"
] | null | null | null | samples/testapp.wlua | LuaDist-testing/luawinapi | e8bd578481a45bcc70d95d6eb6efa6a098647927 | [
"MIT"
] | 2 | 2018-06-22T00:58:34.000Z | 2020-10-25T15:41:53.000Z | --[==[
luawinapi - winapi wrapper for Lua
Copyright (C) 2011 Klaus Oberhofer. See copyright notice in
LICENSE file
Simple test application for luawinapi
--]==]
winapi = require("luawinapi")
-- debugging: define assertion callback for internal window proc
function outputAssert(hwnd, msg, wParam, lParam, ex... | 26.172619 | 90 | 0.604048 |
df25e0f7040f2641a47181a43286864e27916454 | 1,637 | cs | C# | src/SimpleExporter/Writer/ReportWriterBase.cs | BartoGabriel/SimpleExporter | 9140626551b5db878793c8923597ccf891fda22d | [
"MIT"
] | null | null | null | src/SimpleExporter/Writer/ReportWriterBase.cs | BartoGabriel/SimpleExporter | 9140626551b5db878793c8923597ccf891fda22d | [
"MIT"
] | null | null | null | src/SimpleExporter/Writer/ReportWriterBase.cs | BartoGabriel/SimpleExporter | 9140626551b5db878793c8923597ccf891fda22d | [
"MIT"
] | 2 | 2019-03-12T12:44:14.000Z | 2020-12-18T08:20:34.000Z | using System.Globalization;
using System.IO;
using SimpleExporter.Definition.Elements;
namespace SimpleExporter.Writer
{
public abstract class ReportWriterBase
{
protected CultureInfo CultureInfo { get; set; } = CultureInfo.CurrentCulture;
protected SimpleExporter SimpleExporter { get; set; }
... | 36.377778 | 104 | 0.6573 |
a35cf0803c835f6963044189b00b3b8dac4adc6b | 496 | java | Java | app/src/main/java/com/asiainfo/uuom/yourhealth/AppContext.java | uuom/YourHealth | e3f52d31f7a838c6c225f2d7694d292a851135eb | [
"MIT"
] | 9 | 2016-11-23T06:40:12.000Z | 2021-09-07T16:30:31.000Z | app/src/main/java/com/asiainfo/uuom/yourhealth/AppContext.java | uuom/YourHealth | e3f52d31f7a838c6c225f2d7694d292a851135eb | [
"MIT"
] | null | null | null | app/src/main/java/com/asiainfo/uuom/yourhealth/AppContext.java | uuom/YourHealth | e3f52d31f7a838c6c225f2d7694d292a851135eb | [
"MIT"
] | 7 | 2016-06-07T03:41:05.000Z | 2022-01-22T06:15:06.000Z | package com.asiainfo.uuom.yourhealth;
import android.app.Application;
import android.content.Context;
/**
* Created by uuom on 16-1-12.
*/
public class AppContext extends Application {
private static Context appContext;
@Override
public void onCreate() {
super.onCreate();
appContext = ... | 17.103448 | 45 | 0.641129 |
506d30adc08934f5ad6b6c89bc0db3d7eea3da9d | 595 | swift | Swift | Example/Example/Modules/Login/Coordinator/LoginCoordinator.swift | ahmedkhaledss/Coordination | 2bc5e8c2345266d5a1a9d38df71426f800097d8b | [
"MIT"
] | 7 | 2020-01-10T12:30:47.000Z | 2020-01-13T12:23:23.000Z | Example/Example/Modules/Login/Coordinator/LoginCoordinator.swift | ahmedkhaledss/Coordination | 2bc5e8c2345266d5a1a9d38df71426f800097d8b | [
"MIT"
] | null | null | null | Example/Example/Modules/Login/Coordinator/LoginCoordinator.swift | ahmedkhaledss/Coordination | 2bc5e8c2345266d5a1a9d38df71426f800097d8b | [
"MIT"
] | null | null | null | //
// LoginCoordinator.swift
// Example
//
// Created by Ahmed Khaled on 1/9/20.
// Copyright © 2020 Ahmed Khaled. All rights reserved.
//
import UIKit
import Coordination
class LoginCoordinator: Coordinator {
var router: RouterType
var childCoordinators: [Coordinator] = []
var parentCoordinator: Applica... | 21.25 | 78 | 0.72605 |
f34fab1c97ea1335c460791a4e3cdd378923b3c8 | 2,988 | swift | Swift | {{cookiecutter.app_name}}/{{cookiecutter.app_name}}/Common/Abstractions/Command.swift | VitaliySavchenko/iOS-redux-project-template | 9258e221fd5910efd15f87bbc0092f1e6f73f170 | [
"MIT"
] | 1 | 2020-07-30T17:19:41.000Z | 2020-07-30T17:19:41.000Z | {{cookiecutter.app_name}}/{{cookiecutter.app_name}}/Common/Abstractions/Command.swift | VitaliySavchenko/iOS-redux-project-template | 9258e221fd5910efd15f87bbc0092f1e6f73f170 | [
"MIT"
] | null | null | null | {{cookiecutter.app_name}}/{{cookiecutter.app_name}}/Common/Abstractions/Command.swift | VitaliySavchenko/iOS-redux-project-template | 9258e221fd5910efd15f87bbc0092f1e6f73f170 | [
"MIT"
] | null | null | null | //
// Command.swift
// {{cookiecutter.app_name}}
//
// Copyright © {{cookiecutter.company_name}}. All rights reserved.
//
import Foundation
// swiftlint:disable all
final class Command {
static let nop = Command {}
private let file: StaticString
private let function: StaticString
private let line: I... | 22.636364 | 71 | 0.552209 |
a49dd12f1773cf8a516bfdcd0e257e92d9e70c99 | 638 | php | PHP | DBAL/SettingsType.php | magedan/LexxpavlovSettingsBundle | 62864331cde1f591a02293f01dc2197faedacee5 | [
"MIT"
] | 10 | 2017-02-17T09:21:29.000Z | 2019-07-08T10:10:33.000Z | DBAL/SettingsType.php | magedan/LexxpavlovSettingsBundle | 62864331cde1f591a02293f01dc2197faedacee5 | [
"MIT"
] | 13 | 2016-03-18T17:42:13.000Z | 2021-09-14T11:11:18.000Z | DBAL/SettingsType.php | magedan/LexxpavlovSettingsBundle | 62864331cde1f591a02293f01dc2197faedacee5 | [
"MIT"
] | 11 | 2016-11-14T13:19:44.000Z | 2022-01-06T11:11:05.000Z | <?php
namespace Lexxpavlov\SettingsBundle\DBAL;
use Fresh\DoctrineEnumBundle\DBAL\Types\AbstractEnumType;
class SettingsType extends AbstractEnumType
{
const Boolean = 'boolean';
const Integer = 'int';
const Float = 'float';
const String = 'string';
const Text = 'text';
const Html = ... | 23.62963 | 57 | 0.594044 |
ca8593772cb87c6766b949b334f49d3c398d33df | 2,988 | cs | C# | BrewLab.Scripts.RecipeGenerator/Program.cs | dustmouse/scripts | 23c687c486c9c348dbe3e7399f63cbba62b8d196 | [
"MIT"
] | null | null | null | BrewLab.Scripts.RecipeGenerator/Program.cs | dustmouse/scripts | 23c687c486c9c348dbe3e7399f63cbba62b8d196 | [
"MIT"
] | null | null | null | BrewLab.Scripts.RecipeGenerator/Program.cs | dustmouse/scripts | 23c687c486c9c348dbe3e7399f63cbba62b8d196 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace BrewLab.Scripts.RecipeGenerator
{
class Program
{
//Because I'm all about that Baas.
private static readonly string _baseAddress = "http://blab... | 30.489796 | 108 | 0.527443 |
e08bb45da4f6dc2e0e5b918167a425771817fb07 | 422 | h | C | RCocoa/RCCharacterMatrix.h | StatTag/RCocoa | 5a1a32a3f063e8c5f93dc926271778f74238bf66 | [
"MIT"
] | 1 | 2019-05-01T06:31:59.000Z | 2019-05-01T06:31:59.000Z | RCocoa/RCCharacterMatrix.h | StatTag/RCocoa | 5a1a32a3f063e8c5f93dc926271778f74238bf66 | [
"MIT"
] | 1 | 2019-09-06T17:57:43.000Z | 2019-09-11T15:20:52.000Z | RCocoa/RCCharacterMatrix.h | StatTag/RCocoa | 5a1a32a3f063e8c5f93dc926271778f74238bf66 | [
"MIT"
] | null | null | null | //
// RCCharacterMatrix.h
// RCocoa
//
// Created by Luke Rasmussen on 5/3/17.
// Copyright © 2017 Northwestern University. All rights reserved.
//
#import <Foundation/Foundation.h>
#ifndef RCCharacterMatrix_h
#define RCCharacterMatrix_h
#include "RCMatrix.h"
@interface RCCharacterMatrix : RCMatrix<NSString*>
{... | 16.230769 | 66 | 0.720379 |
393dfd912b2f5c76a5000a0d65ac1fa850595b61 | 682 | py | Python | uber_problems/problem_7.py | loftwah/Daily-Coding-Problem | 0327f0b4f69ef419436846c831110795c7a3c1fe | [
"MIT"
] | 129 | 2018-10-14T17:52:29.000Z | 2022-01-29T15:45:57.000Z | uber_problems/problem_7.py | loftwah/Daily-Coding-Problem | 0327f0b4f69ef419436846c831110795c7a3c1fe | [
"MIT"
] | 2 | 2019-11-30T23:28:23.000Z | 2020-01-03T16:30:32.000Z | uber_problems/problem_7.py | loftwah/Daily-Coding-Problem | 0327f0b4f69ef419436846c831110795c7a3c1fe | [
"MIT"
] | 60 | 2019-02-21T09:18:31.000Z | 2022-03-25T21:01:04.000Z | """This problem was asked by Uber.
You have N stones in a row, and would like to create from them a pyramid.
This pyramid should be constructed such that the height of each stone
increases by one until reaching the tallest stone, after which the heights
decrease by one. In addition, the start and end stones of the p... | 45.466667 | 75 | 0.747801 |
2c8ba72610f2a4b34ba30481484a1f376276e9f7 | 1,847 | py | Python | aiocloudpayments/endpoints/base.py | drforse/aiocloudpayments | 25b8827250279335d037754dca6978bc79c9b18d | [
"MIT"
] | null | null | null | aiocloudpayments/endpoints/base.py | drforse/aiocloudpayments | 25b8827250279335d037754dca6978bc79c9b18d | [
"MIT"
] | null | null | null | aiocloudpayments/endpoints/base.py | drforse/aiocloudpayments | 25b8827250279335d037754dca6978bc79c9b18d | [
"MIT"
] | null | null | null | import abc
from typing import Optional, Dict, Any, Generic, TypeVar
from pydantic import BaseModel, Field
from pydantic.generics import GenericModel
from pydantic.utils import to_camel
from ..types.transaction import Transaction
from ..types.secure_3d import Secure3D
from ..utils import json
CpType = TypeVar("CpType... | 26.385714 | 76 | 0.670276 |
2a2b45440329af1d960b931495fc1879dae0e727 | 7,336 | rs | Rust | src/ray_scanner.rs | MinkowskiMetric/raster | d356c6bc623c37ca76bc30c135cb5ff2a5948552 | [
"MIT"
] | null | null | null | src/ray_scanner.rs | MinkowskiMetric/raster | d356c6bc623c37ca76bc30c135cb5ff2a5948552 | [
"MIT"
] | null | null | null | src/ray_scanner.rs | MinkowskiMetric/raster | d356c6bc623c37ca76bc30c135cb5ff2a5948552 | [
"MIT"
] | null | null | null | use crate::{
constants,
math::*,
scene::{PreparedScene, Scene},
utils::*,
Color, Intersectable, PartialScatterResult, Ray, RenderStatsAccumulator, RenderStatsCollector,
ScatterResult, TracingStats,
};
use futures::future::join_all;
use std::{
mem::MaybeUninit,
slice::{Chunks, ChunksMut},... | 28.65625 | 99 | 0.563795 |
15d5ae6b19b2304cfcf69f38aeee434c04f2b5de | 151 | rs | Rust | src/lang/hir/src/lib.rs | Trark/slp | a74b13e5b2126cbe59888afbad0d31d48d38407e | [
"MIT"
] | null | null | null | src/lang/hir/src/lib.rs | Trark/slp | a74b13e5b2126cbe59888afbad0d31d48d38407e | [
"MIT"
] | 21 | 2015-11-25T21:37:16.000Z | 2016-01-14T02:58:55.000Z | src/lang/hir/src/lib.rs | Trark/slp | a74b13e5b2126cbe59888afbad0d31d48d38407e | [
"MIT"
] | null | null | null |
extern crate slp_shared;
extern crate slp_lang_hst;
mod ir;
mod hir_intrinsics;
pub use ir::*;
pub use hir_intrinsics::*;
pub mod globals_analysis;
| 13.727273 | 26 | 0.768212 |
32821b6c7c2dd900ee972e65f9451e809e51f88f | 204 | ps1 | PowerShell | TOOL-Test-IsLocalAdministrator/Test-IsLocalAdministrator.ps1 | Stephanevg/PowerShell | 3f7d414284695a24d993e47240b8c004f2a317ec | [
"MIT"
] | 2 | 2017-01-06T14:59:44.000Z | 2021-09-03T01:08:54.000Z | TOOL-Test-IsLocalAdministrator/Test-IsLocalAdministrator.ps1 | Stephanevg/PowerShell | 3f7d414284695a24d993e47240b8c004f2a317ec | [
"MIT"
] | null | null | null | TOOL-Test-IsLocalAdministrator/Test-IsLocalAdministrator.ps1 | Stephanevg/PowerShell | 3f7d414284695a24d993e47240b8c004f2a317ec | [
"MIT"
] | null | null | null | function Test-IsLocalAdministrator
{
return ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")
} | 51 | 164 | 0.828431 |
e40362ab71c21bcef5e1f27b79f0719f7ff86149 | 1,883 | cs | C# | src/Tests/Rsft.Identity3.CacheRedis.Tests/Unit/Serialization/PropertyInfoStoreTests.cs | Rolosoft/Rsft.Identity3.CacheRedis | b029f7923222f0dcd3c6b14f3d6a6184656a1cbc | [
"Apache-2.0"
] | 2 | 2016-10-27T16:24:37.000Z | 2019-08-15T06:09:21.000Z | src/Tests/Rsft.Identity3.CacheRedis.Tests/Unit/Serialization/PropertyInfoStoreTests.cs | Rolosoft/Rsft.Identity3.CacheRedis | b029f7923222f0dcd3c6b14f3d6a6184656a1cbc | [
"Apache-2.0"
] | null | null | null | src/Tests/Rsft.Identity3.CacheRedis.Tests/Unit/Serialization/PropertyInfoStoreTests.cs | Rolosoft/Rsft.Identity3.CacheRedis | b029f7923222f0dcd3c6b14f3d6a6184656a1cbc | [
"Apache-2.0"
] | null | null | null | // Copyright 2016 Rolosoft Ltd
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, so... | 36.921569 | 123 | 0.677642 |
d25039d1ff90e1322163a0d3d927ada5ac287336 | 1,111 | swift | Swift | Tests/MonkeyTests/compiler/MonkeyCErrorTests.swift | YamiDaisuke/rosetta-swift | 0f6d371090811a43d8e261a55e5883faa87ffc05 | [
"MIT"
] | 2 | 2021-06-05T04:44:00.000Z | 2021-06-20T15:55:31.000Z | Tests/MonkeyTests/compiler/MonkeyCErrorTests.swift | YamiDaisuke/hermes-swift | 0f6d371090811a43d8e261a55e5883faa87ffc05 | [
"MIT"
] | 14 | 2021-04-01T15:34:02.000Z | 2021-06-04T19:26:15.000Z | Tests/MonkeyTests/compiler/MonkeyCErrorTests.swift | YamiDaisuke/rosetta-swift | 0f6d371090811a43d8e261a55e5883faa87ffc05 | [
"MIT"
] | null | null | null | //
// MonkeyCErrorTests.swift
// MonkeyTests
//
// Created by Franklin Cruz on 07-04-21.
//
import XCTest
@testable import Hermes
@testable import MonkeyLang
class MonkeyCErrorTests: XCTestCase, CompilerTestsHelpers {
func testErrors() throws {
let tests = [
(
"let a = 10;\n... | 27.097561 | 83 | 0.483348 |
8e6f3be3da9a7d39b219814654cbdcf73e298558 | 1,115 | js | JavaScript | database/server/ClanGameLogModel.js | Eronisch/GunZ-CMS | 6142f76338c34bda33c6a91b886ea8bcffae108d | [
"Unlicense"
] | 3 | 2016-08-28T11:22:49.000Z | 2019-05-19T01:07:25.000Z | database/server/ClanGameLogModel.js | Eronisch/GunZ-CMS | 6142f76338c34bda33c6a91b886ea8bcffae108d | [
"Unlicense"
] | null | null | null | database/server/ClanGameLogModel.js | Eronisch/GunZ-CMS | 6142f76338c34bda33c6a91b886ea8bcffae108d | [
"Unlicense"
] | 3 | 2016-08-28T11:19:59.000Z | 2020-03-15T02:37:27.000Z | var DataContent = require('./../DataContent.js');
var Tedious = require('tedious');
var ClanModel = require('../../database/server/ClanModel.js');
var MapModel = require('../../database/server/MapModel.js');
var ClanGameLog = DataContent.define('ClanGameLog', {
id: {
type: Number,
primaryKey: true,... | 26.547619 | 84 | 0.616143 |
2cfb21e42761745c3f4e7815b099a7683693c697 | 6,504 | lua | Lua | addons/pac3/lua/pac3/editor/client/shortcuts.lua | lechu2375/GM-DayZ | 35beb8cc80bc1673f45be8385b56c654fb066e8d | [
"MIT"
] | 4 | 2021-12-01T15:57:30.000Z | 2022-01-28T11:10:24.000Z | addons/pac3/lua/pac3/editor/client/shortcuts.lua | lechu2375/GM-DayZ | 35beb8cc80bc1673f45be8385b56c654fb066e8d | [
"MIT"
] | null | null | null | addons/pac3/lua/pac3/editor/client/shortcuts.lua | lechu2375/GM-DayZ | 35beb8cc80bc1673f45be8385b56c654fb066e8d | [
"MIT"
] | 3 | 2021-08-20T15:19:34.000Z | 2021-12-07T00:34:33.000Z |
function pace.OnShortcutSave()
if not IsValid(pace.current_part) then return end
local part = pace.current_part:GetRootPart()
surface.PlaySound("buttons/button9.wav")
pace.SaveParts(nil, "part " .. (part:GetName() or "my outfit"), part, true)
end
function pace.OnShortcutWear()
if IsValid(pace.current_part) then... | 24.268657 | 151 | 0.727706 |
c971875f866c661d7a4a6962f9dbd9522a490a66 | 2,500 | ts | TypeScript | src/Scan.ts | JoshHiles/secret-scanner | 9006c22cbf378188f0eb22296c63bf2c1f0d29b5 | [
"MIT"
] | null | null | null | src/Scan.ts | JoshHiles/secret-scanner | 9006c22cbf378188f0eb22296c63bf2c1f0d29b5 | [
"MIT"
] | 51 | 2021-10-16T15:00:54.000Z | 2022-03-25T05:23:39.000Z | src/Scan.ts | JoshHiles/secret-scanner | 9006c22cbf378188f0eb22296c63bf2c1f0d29b5 | [
"MIT"
] | null | null | null | import { parse } from 'path';
import chalk from 'chalk';
import { StopWatch } from 'stopwatch-node';
import { Duration } from 'luxon';
import Baseline from './types/Baseline';
import ConfigurationHelper from './helpers/Configuration.Helper';
import BaselineHelper from './helpers/Baseline.Helper';
import PluginHelper ... | 32.467532 | 109 | 0.6896 |
72e1fb25df9e16c3b18f00b0c84f84c71fd05241 | 12,130 | cs | C# | HZH_Controls/HZH_Controls/Controls/Roll/UCRollText.cs | HappyQuQu/NetWinformControl | eaff6160e85cc235558f091b92eaa99120d35e7f | [
"Apache-2.0"
] | 1,841 | 2019-08-21T01:35:10.000Z | 2022-03-31T21:52:12.000Z | HZH_Controls/HZH_Controls/Controls/Roll/UCRollText.cs | HappyQuQu/NetWinformControl | eaff6160e85cc235558f091b92eaa99120d35e7f | [
"Apache-2.0"
] | 38 | 2019-08-28T09:44:49.000Z | 2022-03-31T23:24:32.000Z | HZH_Controls/HZH_Controls/Controls/Roll/UCRollText.cs | HappyQuQu/NetWinformControl | eaff6160e85cc235558f091b92eaa99120d35e7f | [
"Apache-2.0"
] | 564 | 2019-08-21T01:33:41.000Z | 2022-03-31T13:03:19.000Z | // ***********************************************************************
// Assembly : HZH_Controls
// Created : 08-31-2019
//
// ***********************************************************************
// <copyright file="UCRollText.cs">
// Copyright by Huang Zhenghui(黄正辉) All, QQ group:56801549... | 32.961957 | 215 | 0.487387 |
1bb0488fe38a777e9b69c410886b73c29c1634fb | 7,994 | lua | Lua | rom/programs/turtle/excavate.lua | LoganDark/craftos2-rom | 7fa2e8f86c4442fb2d25acd1f12b40f813160640 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 5 | 2021-07-19T23:39:07.000Z | 2022-02-07T00:06:08.000Z | rom/programs/turtle/excavate.lua | LoganDark/craftos2-rom | 7fa2e8f86c4442fb2d25acd1f12b40f813160640 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 3 | 2020-12-25T08:51:50.000Z | 2020-12-30T02:13:27.000Z | rom/programs/turtle/excavate.lua | LoganDark/craftos2-rom | 7fa2e8f86c4442fb2d25acd1f12b40f813160640 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 7 | 2019-10-15T00:41:35.000Z | 2022-02-07T00:04:23.000Z | if not turtle then
printError("Requires a Turtle")
return
end
local tArgs = { ... }
if #tArgs ~= 1 then
local programName = arg[0] or fs.getName(shell.getRunningProgram())
print("Usage: " .. programName .. " <diameter>")
return
end
-- Mine in a quarry pattern until we hit something we can't dig
lo... | 22.329609 | 90 | 0.491869 |
1a8873be93de083b38229d99d7ecff8709e3ba89 | 228 | py | Python | todo/celery.py | DipeshYogi/MyTodoList_backend | 0b4103e791857b7e95981bd8c3d580b28b80e9eb | [
"MIT"
] | null | null | null | todo/celery.py | DipeshYogi/MyTodoList_backend | 0b4103e791857b7e95981bd8c3d580b28b80e9eb | [
"MIT"
] | 1 | 2021-03-22T19:07:43.000Z | 2021-03-22T19:07:43.000Z | todo/celery.py | DipeshYogi/MyTodoList_backend | 0b4103e791857b7e95981bd8c3d580b28b80e9eb | [
"MIT"
] | null | null | null | # import os
# from celery import Celery
# os.environ.setdefault("DJANGO_SETTINGS_MODULE", "todo.settings")
# app = Celery("todo")
# app.config_from_object("django.conf:settings", namespace="CELERY")
# app.autodiscover_tasks()
| 25.333333 | 68 | 0.75 |
0bf3d8f4320b70ded7ec7aee049879ed23f6d8e2 | 2,232 | sql | SQL | SQL/indecsi-view.sql | stefan-platon/JustForKids | b74ba6b07bf54c1b833ca486f933bb47fac222a3 | [
"MIT"
] | 1 | 2017-05-29T09:32:20.000Z | 2017-05-29T09:32:20.000Z | SQL/indecsi-view.sql | stefan-platon/Proiect-TW | b74ba6b07bf54c1b833ca486f933bb47fac222a3 | [
"MIT"
] | null | null | null | SQL/indecsi-view.sql | stefan-platon/Proiect-TW | b74ba6b07bf54c1b833ca486f933bb47fac222a3 | [
"MIT"
] | null | null | null | --sterg toti indecsii creati
ALTER TABLE tutor drop CONSTRAINT tutor_unique1;
DROP INDEX tutor_username;
ALTER TABLE player drop CONSTRAINT player_unique1;
DROP INDEX player_username;
ALTER TABLE admins drop CONSTRAINT admins_unique1;
DROP INDEX admin_username;
DROP INDEX games_cauta;
DROP INDEX achievements_ca... | 48.521739 | 205 | 0.768817 |
36944c824cdcbccfe7aa863bbc8901849eafab42 | 942 | swift | Swift | testdemo/xib/ProgressBarView.swift | Changzw/every-case-demo | 0ba08146fee2904bd2151fcea8041f03b8b86e71 | [
"Apache-2.0"
] | null | null | null | testdemo/xib/ProgressBarView.swift | Changzw/every-case-demo | 0ba08146fee2904bd2151fcea8041f03b8b86e71 | [
"Apache-2.0"
] | null | null | null | testdemo/xib/ProgressBarView.swift | Changzw/every-case-demo | 0ba08146fee2904bd2151fcea8041f03b8b86e71 | [
"Apache-2.0"
] | null | null | null | //
// ProgressBarView.swift
// testdemo
//
// Created by 常仲伟 on 2020/12/20.
// Copyright © 2020 常仲伟. All rights reserved.
//
import UIKit
@IBDesignable
class ProgressBarView: UIView {
override class var layerClass: AnyClass { CAGradientLayer.self }
private var _layer: CAGradientLayer { layer as! CAGradient... | 19.22449 | 67 | 0.640127 |
4ce0bad6c5dd5960e892ea6985bc11b045b45541 | 1,973 | py | Python | keyboard_listener.py | aodendaal/ai-stunt-driver | fb47dfdd907d73dd97c0df64ef8a5a0b8e894038 | [
"MIT"
] | null | null | null | keyboard_listener.py | aodendaal/ai-stunt-driver | fb47dfdd907d73dd97c0df64ef8a5a0b8e894038 | [
"MIT"
] | null | null | null | keyboard_listener.py | aodendaal/ai-stunt-driver | fb47dfdd907d73dd97c0df64ef8a5a0b8e894038 | [
"MIT"
] | null | null | null | from __future__ import absolute_import, division, print_function, unicode_literals
import numpy as np
from pynput import keyboard
from pynput.keyboard import Key, Controller
has_started = True
is_listening = False
current_keys = set()
pressed_keys = set()
def on_press(key):
global has_started
global is_liste... | 22.420455 | 82 | 0.597567 |
977790f0380dbd3ed2ce06415d209a7df0674097 | 1,945 | swift | Swift | Demo/Demo/ContentView.swift | anikaseibezeder/MultiPicker | 86a5a90e12157d6a69c5ef110194130c711836ae | [
"MIT"
] | 1 | 2021-05-15T11:28:42.000Z | 2021-05-15T11:28:42.000Z | Demo/Demo/ContentView.swift | anikaseibezeder/MultiPicker | 86a5a90e12157d6a69c5ef110194130c711836ae | [
"MIT"
] | null | null | null | Demo/Demo/ContentView.swift | anikaseibezeder/MultiPicker | 86a5a90e12157d6a69c5ef110194130c711836ae | [
"MIT"
] | null | null | null | //
// ContentView.swift
// Demo
//
// Created by Anika Seibezeder on 15.05.21.
//
import SwiftUI
import MultiPicker
struct ContentView: View {
@State private var selectedOptionsDefaultStyle = Set<String>()
@State private var selectedOptionsGridStyle = Set<String>()
@State private var allowsMultipl... | 34.732143 | 125 | 0.550129 |
a388757977e254385cf289ca31c1b7321c216e76 | 1,055 | java | Java | MATF-Computer-Networks-4R/c06_URL_URLConnection/r02_post/Poster.java | Nevena1997/Computer-Networks | 80ecfed9af0ba815de64d8c9665832f19932b25f | [
"MIT"
] | null | null | null | MATF-Computer-Networks-4R/c06_URL_URLConnection/r02_post/Poster.java | Nevena1997/Computer-Networks | 80ecfed9af0ba815de64d8c9665832f19932b25f | [
"MIT"
] | null | null | null | MATF-Computer-Networks-4R/c06_URL_URLConnection/r02_post/Poster.java | Nevena1997/Computer-Networks | 80ecfed9af0ba815de64d8c9665832f19932b25f | [
"MIT"
] | null | null | null | package r02_post;
// Using QueryBuilder from previous example
import r06_query_builder.QueryBuilder;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.net.URL;
import java.net.URLConnection;
import java.nio.charset.StandardCharsets;
final class Poster {
private ... | 22.934783 | 96 | 0.743128 |
b7537079cfb01614bd2fe684074a4fa7ac1e729b | 2,590 | cs | C# | CoinTime/CoinTime/Input/AmazonFireGameController.cs | forcemax/mobile-samples | a4ca7e7bf3ceda66107ce5b9049ea52e94afc214 | [
"Apache-2.0"
] | 1,222 | 2015-01-12T12:11:07.000Z | 2022-03-31T07:22:32.000Z | CoinTime/CoinTime/Input/AmazonFireGameController.cs | forcemax/mobile-samples | a4ca7e7bf3ceda66107ce5b9049ea52e94afc214 | [
"Apache-2.0"
] | 61 | 2015-01-19T09:18:54.000Z | 2021-09-08T10:58:43.000Z | CoinTime/CoinTime/Input/AmazonFireGameController.cs | forcemax/mobile-samples | a4ca7e7bf3ceda66107ce5b9049ea52e94afc214 | [
"Apache-2.0"
] | 2,758 | 2015-01-01T00:17:56.000Z | 2022-03-28T15:11:25.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using CoinTimeShared;
using Android.Views;
namespace CoinTimeGame.Input
{
public class AmazonFireGameController : IGameController, IMenuController
{
// The Xamarin component for controllers doesn't seem to work
// with CocosSharp, so we're going... | 18.368794 | 73 | 0.660618 |
979446305057c8c231cbd78010348fcf5dd69b4c | 5,553 | rb | Ruby | google-cloud-video_intelligence/samples/video_samples_helper.rb | doodzik/google-cloud-ruby | a28225ff4637df3bfb264467c02214fcb89d6c23 | [
"Apache-2.0"
] | 8 | 2021-04-24T02:35:09.000Z | 2022-01-29T03:05:45.000Z | google-cloud-video_intelligence/samples/video_samples_helper.rb | doodzik/google-cloud-ruby | a28225ff4637df3bfb264467c02214fcb89d6c23 | [
"Apache-2.0"
] | 1 | 2021-02-24T07:42:47.000Z | 2021-02-24T07:42:47.000Z | google-cloud-video_intelligence/samples/video_samples_helper.rb | doodzik/google-cloud-ruby | a28225ff4637df3bfb264467c02214fcb89d6c23 | [
"Apache-2.0"
] | 2 | 2021-06-02T18:47:14.000Z | 2021-09-18T07:08:17.000Z | # Copyright 2020 Google, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 35.369427 | 97 | 0.709346 |
b35d6bda31e836ac1bc51b7bdb4d7924dffd3c21 | 453 | py | Python | python-lab-file/08_multiplymatrix.py | zshashz/py1729 | 3281ae2a20c665ebcc0d53840cc95143cbe6861b | [
"MIT"
] | 1 | 2021-01-22T09:03:59.000Z | 2021-01-22T09:03:59.000Z | python-lab-file/08_multiplymatrix.py | zshashz/py1729 | 3281ae2a20c665ebcc0d53840cc95143cbe6861b | [
"MIT"
] | null | null | null | python-lab-file/08_multiplymatrix.py | zshashz/py1729 | 3281ae2a20c665ebcc0d53840cc95143cbe6861b | [
"MIT"
] | 2 | 2021-05-04T11:29:38.000Z | 2021-11-03T13:09:48.000Z | # Program 8 : multiply two matrices
# take a 3x3 matrix
A = [[12, 7, 3],
[4, 5, 6],
[7, 8, 9]]
# take a 3x4 matrix
B = [[5, 8, 1, 2],
[6, 7, 3, 0],
[4, 5, 9, 1]]
result = [[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0]]
# iterating by row of A
for i in range(len(A)):
# iterating by coloum by B
for j in rang... | 15.62069 | 36 | 0.507726 |
e23c77889b1d5e423e123d82732c2a2f795da683 | 908 | py | Python | deployment/flask_v1/client.py | atwork2/pytorch_classification | eafd8cfdee53d353f9678c1465e0a05862f58884 | [
"MIT"
] | 841 | 2020-04-21T01:19:45.000Z | 2022-03-30T02:50:11.000Z | deployment/flask_v1/client.py | Curdboycc/torch-template-for-deep-learning | da1ebc527d44c8c5a524e757a1d784ba37ec2d5c | [
"Apache-2.0"
] | 42 | 2020-04-20T02:42:31.000Z | 2022-03-30T04:06:49.000Z | deployment/flask_v1/client.py | Curdboycc/torch-template-for-deep-learning | da1ebc527d44c8c5a524e757a1d784ba37ec2d5c | [
"Apache-2.0"
] | 235 | 2020-04-24T08:24:01.000Z | 2022-03-29T06:37:15.000Z | # -*- coding:utf-8 -*-
# @time :2020.04.05
# @IDE : pycharm
# @author :lxztju
# @github : https://github.com/lxztju
import requests
import time
# Initialize the keras REST API endpoint URL.
REST_API_URL = 'http://127.0.0.1:5000/predict'
def predict_result(image_path):
# Initialize image path
image = open(im... | 22.146341 | 57 | 0.637665 |
14607552497eec11488b23e0d4eec6d4c327b37e | 1,052 | swift | Swift | SafetySwitch/Switch/CircleShapeLayer.swift | flymg/SafetySwitch | 315a7eaf734adf7ca8a9ea96f26e40cb88d4d2b4 | [
"MIT"
] | null | null | null | SafetySwitch/Switch/CircleShapeLayer.swift | flymg/SafetySwitch | 315a7eaf734adf7ca8a9ea96f26e40cb88d4d2b4 | [
"MIT"
] | null | null | null | SafetySwitch/Switch/CircleShapeLayer.swift | flymg/SafetySwitch | 315a7eaf734adf7ca8a9ea96f26e40cb88d4d2b4 | [
"MIT"
] | null | null | null | //
// created 11.11.20
// lumibit.io
import UIKit
class CircleShapeLayer: CAShapeLayer {
override init(layer: Any) {
self.x = 0
self.y = 0
self.diameter = 0
super.init(layer: layer)
}
override init() {
self.x = 0
self.y = 0
self.diameter = 0
... | 21.469388 | 92 | 0.548479 |
a1079afee85172f7091e31498408cb7718a699ba | 125 | ts | TypeScript | dist/word.entity.d.ts | xvs32x/nsv-dictionary-nestjs | f414183377992757b7b72d5fe647a5ce30abe725 | [
"MIT"
] | null | null | null | dist/word.entity.d.ts | xvs32x/nsv-dictionary-nestjs | f414183377992757b7b72d5fe647a5ce30abe725 | [
"MIT"
] | null | null | null | dist/word.entity.d.ts | xvs32x/nsv-dictionary-nestjs | f414183377992757b7b72d5fe647a5ce30abe725 | [
"MIT"
] | null | null | null | export declare class WordEntity {
id?: number;
term: string;
translate: string;
readonly createdAt?: Date;
}
| 17.857143 | 33 | 0.656 |
a4dac7bad98931039df49e8e9b599bd756440602 | 1,378 | ps1 | PowerShell | Tests/New-DirkConfigExampleItem.Tests.ps1 | LockstepGroup/Dirk | 7b4e406454058847b15d84e0e292f640b01cac9a | [
"MIT"
] | null | null | null | Tests/New-DirkConfigExampleItem.Tests.ps1 | LockstepGroup/Dirk | 7b4e406454058847b15d84e0e292f640b01cac9a | [
"MIT"
] | null | null | null | Tests/New-DirkConfigExampleItem.Tests.ps1 | LockstepGroup/Dirk | 7b4e406454058847b15d84e0e292f640b01cac9a | [
"MIT"
] | null | null | null | if (-not $ENV:BHProjectPath) {
Set-BuildEnvironment -Path $PSScriptRoot\..
}
Remove-Module $ENV:BHProjectName -ErrorAction SilentlyContinue
Import-Module (Join-Path $ENV:BHProjectPath $ENV:BHProjectName) -Force
InModuleScope $ENV:BHProjectName {
$PSVersion = $PSVersionTable.PSVersion.Major
$ProjectRoot = ... | 32.046512 | 89 | 0.632801 |
96cc4d1c63474c2e1b94980eccbb63907eb4321e | 350 | cs | C# | Assets/Scripts/Common/SplashScreen/FullScreenVideoDisplayer.cs | blacksmokersen/starwheels | b765705760c430ce89d51e1d271da8a6a08cf202 | [
"MIT"
] | null | null | null | Assets/Scripts/Common/SplashScreen/FullScreenVideoDisplayer.cs | blacksmokersen/starwheels | b765705760c430ce89d51e1d271da8a6a08cf202 | [
"MIT"
] | null | null | null | Assets/Scripts/Common/SplashScreen/FullScreenVideoDisplayer.cs | blacksmokersen/starwheels | b765705760c430ce89d51e1d271da8a6a08cf202 | [
"MIT"
] | 1 | 2020-11-26T21:51:44.000Z | 2020-11-26T21:51:44.000Z | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
namespace Common.UI
{
public class FullScreenVideoDisplayer : MonoBehaviour
{
[Header("Video Settings")]
[SerializeField] private VideoClip _videoClip;
[SerializeField] private Video... | 21.875 | 58 | 0.731429 |
f57dfe00b3ab8c3cb53fbc63a63615cfb6cb25a5 | 640 | sh | Shell | install-tensorflow.sh | Tiryoh/jetson-nano-tools | d6cf927b918927cb8017568746a86dcb3b5610e5 | [
"MIT"
] | null | null | null | install-tensorflow.sh | Tiryoh/jetson-nano-tools | d6cf927b918927cb8017568746a86dcb3b5610e5 | [
"MIT"
] | null | null | null | install-tensorflow.sh | Tiryoh/jetson-nano-tools | d6cf927b918927cb8017568746a86dcb3b5610e5 | [
"MIT"
] | null | null | null | #!/bin/bash
# Reference Site
# https://docs.nvidia.com/deeplearning/dgx/install-tf-xavier/index.html
sudo apt-get update
# Install HDF5
sudo apt-get -y install libhdf5-serial-dev hdf5-tools
# Install pip
sudo apt-get -y install python3-pip
# Update
# pip3 install -U pip
# Install required packages
sudo apt-get -y ... | 29.090909 | 127 | 0.776563 |
a15deb0740ab963fca1a9cedc8139c574a70208c | 1,106 | ts | TypeScript | src/modules/baskets/schemas/basket.schema.ts | rezabaratvand/shop-panel | ae216b4110fb2bafed312f7fe669e71517fa0612 | [
"MIT"
] | 1 | 2021-11-27T11:59:25.000Z | 2021-11-27T11:59:25.000Z | src/modules/baskets/schemas/basket.schema.ts | rezabaratvand/shop-panel | ae216b4110fb2bafed312f7fe669e71517fa0612 | [
"MIT"
] | null | null | null | src/modules/baskets/schemas/basket.schema.ts | rezabaratvand/shop-panel | ae216b4110fb2bafed312f7fe669e71517fa0612 | [
"MIT"
] | null | null | null | import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose';
import { Document } from 'mongoose';
import * as mongoose from 'mongoose';
import { Product } from '../../products/schemas/product.schema';
import { Coupon } from '../../coupons/schemas/coupon.schema';
import { User } from '../../users/schemas/user.schema'... | 30.722222 | 81 | 0.690778 |
a43933c6a1126689d7a3cce7341c418179c84588 | 3,184 | php | PHP | src/Utilities/Licenses/Ops/CleanDuplicatedSiteActivations.php | FernleafSystems/Utilities-EDD | d6a4e84865e14be9c18ffd6efb9bc622d7f2c7c7 | [
"MIT"
] | null | null | null | src/Utilities/Licenses/Ops/CleanDuplicatedSiteActivations.php | FernleafSystems/Utilities-EDD | d6a4e84865e14be9c18ffd6efb9bc622d7f2c7c7 | [
"MIT"
] | null | null | null | src/Utilities/Licenses/Ops/CleanDuplicatedSiteActivations.php | FernleafSystems/Utilities-EDD | d6a4e84865e14be9c18ffd6efb9bc622d7f2c7c7 | [
"MIT"
] | null | null | null | <?php
namespace FernleafSystems\Integrations\Edd\Utilities\Licenses\Ops;
use FernleafSystems\Integrations\Edd\Consumers;
use FernleafSystems\Integrations\Edd\Utilities\Licenses\Activations\EddActivationVO;
use FernleafSystems\Integrations\Edd\Utilities\Licenses\Activations\Retrieve;
use FernleafSystems\Integrations\E... | 34.236559 | 104 | 0.639761 |
24bfc0a418f87e8ff8f5e1c0e64f7f69d33607ac | 813 | php | PHP | htdocs/magento/vendor/magento/magento-coding-standard/Magento2/Sniffs/PHP/GotoSniff.php | Nikhilsb/Xampp-Magento | 554443597eaf3249724743efe54514d46e3d4884 | [
"Apache-2.0"
] | null | null | null | htdocs/magento/vendor/magento/magento-coding-standard/Magento2/Sniffs/PHP/GotoSniff.php | Nikhilsb/Xampp-Magento | 554443597eaf3249724743efe54514d46e3d4884 | [
"Apache-2.0"
] | null | null | null | htdocs/magento/vendor/magento/magento-coding-standard/Magento2/Sniffs/PHP/GotoSniff.php | Nikhilsb/Xampp-Magento | 554443597eaf3249724743efe54514d46e3d4884 | [
"Apache-2.0"
] | null | null | null | <?php
/**
* Copyright © Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento2\Sniffs\PHP;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
/**
* Detects use of GOTO.
*/
class GotoSniff implements Sniff
{
/**
* String representation of warning.
*... | 17.673913 | 79 | 0.590406 |
48683008210b57161881fd025dfb0cfd0b6b6c91 | 2,126 | swift | Swift | Potatso/NotificationHandler.swift | yumumu/Potatso-swift5 | 2fc450952cf111290565331ecb5097e5253cd8bd | [
"MIT"
] | 101 | 2019-06-23T12:23:56.000Z | 2022-02-02T02:29:53.000Z | Potatso/Potatso/NotificationHandler.swift | 547/Potatso_SW | 5f04a52e1fa26216852e4dbc6ce11814686d0ed5 | [
"MIT"
] | 8 | 2019-06-30T09:15:19.000Z | 2022-03-31T08:49:03.000Z | Potatso/Potatso/NotificationHandler.swift | 547/Potatso_SW | 5f04a52e1fa26216852e4dbc6ce11814686d0ed5 | [
"MIT"
] | 85 | 2019-06-22T09:16:26.000Z | 2022-03-31T08:47:22.000Z | //
// NotificationHandler.swift
// Potatso
//
// Created by LEI on 7/23/16.
// Copyright © 2016 TouchingApp. All rights reserved.
//
import Foundation
import ICSMainFramework
import CloudKit
class NotificationHandler: NSObject, AppLifeCycleProtocol {
func application(_ application: UIApplication, didFinishLa... | 37.298246 | 198 | 0.704139 |
f7a4a30c0e3b9c6a6cb99df9f2317a892d8bc283 | 4,496 | rb | Ruby | spec/kosapi_cli/kosapi_token_loader_spec.rb | simactom/kosapi_cli.rb | cb19e6dd61a2c47c14124394414bf808638dff75 | [
"MIT"
] | null | null | null | spec/kosapi_cli/kosapi_token_loader_spec.rb | simactom/kosapi_cli.rb | cb19e6dd61a2c47c14124394414bf808638dff75 | [
"MIT"
] | null | null | null | spec/kosapi_cli/kosapi_token_loader_spec.rb | simactom/kosapi_cli.rb | cb19e6dd61a2c47c14124394414bf808638dff75 | [
"MIT"
] | null | null | null | RSpec.describe KOSapiCLI::KOSapiTokenLoader do
let(:broken) do
{ 'broken' => { 'env' => 'file' } }
end
let(:valid) do
{ 'config' => { 'client_token' => { 'access_token' => 'fas4f68sef486sef4',
'refresh_token' => '',
'expires_... | 33.552239 | 85 | 0.581628 |
e71c79208914f346d6524cfee5fa6513687d1ad8 | 340 | php | PHP | UQTheme/scss/components/previous-next-links/previous_next_links.tpl.php | CalvinLowe/HPC-Portal | 5b7e6aaa63512680b9be612784a5a9848810a414 | [
"MIT"
] | 2 | 2021-03-05T17:34:57.000Z | 2022-02-25T01:16:14.000Z | UQTheme/scss/components/previous-next-links/previous_next_links.tpl.php | CalvinLowe/HPC-Portal | 5b7e6aaa63512680b9be612784a5a9848810a414 | [
"MIT"
] | 103 | 2021-01-13T06:29:33.000Z | 2022-03-24T01:13:14.000Z | public/styles/uq/scss/components/previous-next-links/previous_next_links.tpl.php | UQ-RCC/ipp | b1d3d0cbc6f3cb662f0085d90166b85ba093c806 | [
"MIT"
] | null | null | null | <?php
/**
* @file
*/
?>
<div class="previous-next-links">
<div class="row">
<div class="columns medium-6">
<?php
if (isset($prev)) {
print $prev;
}
?>
</div>
<div class="columns medium-6">
<?php
if (isset($next)) {
print $next;
}
?>
</... | 14.166667 | 34 | 0.426471 |
0bb366080557d20595967b03a363969f4bcd191d | 3,287 | swift | Swift | Sources/BSKAppCore/UIBase/Router/Route/BSKRoute.swift | bluesky335/BSKAppCore | 0d33f8e5912b5fb7ec0d0f0816720a4ec1d9a798 | [
"MIT"
] | 6 | 2019-08-03T12:10:36.000Z | 2022-03-08T12:47:51.000Z | Sources/BSKAppCore/UIBase/Router/Route/BSKRoute.swift | bluesky335/BSKAppCore | 0d33f8e5912b5fb7ec0d0f0816720a4ec1d9a798 | [
"MIT"
] | null | null | null | Sources/BSKAppCore/UIBase/Router/Route/BSKRoute.swift | bluesky335/BSKAppCore | 0d33f8e5912b5fb7ec0d0f0816720a4ec1d9a798 | [
"MIT"
] | 1 | 2022-02-21T02:02:41.000Z | 2022-02-21T02:02:41.000Z | //
// CLDRoute.swift
//
// Created by BlueSky335 on 2019/4/15.
//
import UIKit
public struct BSKRoute {
static var RouteSchem:String = ""
static var BundleID:String = ""
/// 传递的参数,主要是一些基本数据类型的参数,传递对象类型的参数请在下面的RouteParameters配置
public var queryParameters: [String: QueryValueProtocol]?
... | 33.20202 | 189 | 0.597201 |
1774c2f6e1cfd94b90010e35c7474cd32b67e963 | 438 | swift | Swift | examples/benchmarks/array_filler/Sources/array_filler.swift | jpedrosa/sua | c7f04f0e4dd7c41f3a9b8c9ea37a2b7f557ccf27 | [
"Apache-2.0"
] | 49 | 2015-12-30T19:16:24.000Z | 2019-04-16T05:42:22.000Z | examples/benchmarks/array_filler/Sources/array_filler.swift | jpedrosa/sua_swift | c7f04f0e4dd7c41f3a9b8c9ea37a2b7f557ccf27 | [
"Apache-2.0"
] | 2 | 2016-01-13T16:09:25.000Z | 2018-07-17T16:42:01.000Z | examples/benchmarks/array_filler/Sources/array_filler.swift | jpedrosa/sua_swift | c7f04f0e4dd7c41f3a9b8c9ea37a2b7f557ccf27 | [
"Apache-2.0"
] | 6 | 2016-01-14T02:16:28.000Z | 2019-05-16T02:46:52.000Z |
let ITERATIONS = 1000000
func fillArray(_ a: inout [Int]) {
var n = 0
for _ in 0..<ITERATIONS {
a.append(n)
n += 1
if n > 15 {
n = 0
}
}
}
func fillArray2(_ a: inout [Int]) {
var n = 0
for i in 0..<ITERATIONS {
a[i] = n
n += 1
if n > 15 {
n = 0
}
}
}
func coun... | 12.514286 | 47 | 0.442922 |
c6a614791b278e999b67693c9a9be6e1817e38df | 156 | py | Python | pfr_api/__init__.py | aadamson/pfr-api | b5cab2763db71e57e231507e03747fc0922cdba3 | [
"MIT"
] | 1 | 2021-10-12T01:39:04.000Z | 2021-10-12T01:39:04.000Z | pfr_api/__init__.py | aadamson/pfr-api | b5cab2763db71e57e231507e03747fc0922cdba3 | [
"MIT"
] | null | null | null | pfr_api/__init__.py | aadamson/pfr-api | b5cab2763db71e57e231507e03747fc0922cdba3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Top-level package for pfr_api."""
__author__ = """Alex Adamson"""
__email__ = 'alex.b.adamson@gmail.com'
__version__ = '0.1.0'
| 19.5 | 38 | 0.634615 |
4bfab9bf1787391d55797f7ea1e99ca6415a43bb | 2,847 | h | C | inc/matrix_2d_bl_cpu.h | hshi/matrix_lib_hao_0 | 1988119ef9200c7f642966e2f8c1b5d5cc813bf0 | [
"MIT"
] | null | null | null | inc/matrix_2d_bl_cpu.h | hshi/matrix_lib_hao_0 | 1988119ef9200c7f642966e2f8c1b5d5cc813bf0 | [
"MIT"
] | null | null | null | inc/matrix_2d_bl_cpu.h | hshi/matrix_lib_hao_0 | 1988119ef9200c7f642966e2f8c1b5d5cc813bf0 | [
"MIT"
] | null | null | null | #ifndef MATRIX_HAO_BL_CPU_H
#define MATRIX_HAO_BL_CPU_H
#include<vector>
namespace matrix_hao_lib
{
/*************************************/
/*Matrix Multiply C=alpha*A.B+beta*C */
/*************************************/
void gmm_cpu(const Matrix<float,2>& A, const Matrix<float,2>& B, Matrix<float,2>& C,
... | 42.492537 | 130 | 0.51563 |
dc3a0287c0ded3ab34c1348f4487c9a5b125e646 | 1,155 | ts | TypeScript | packages/api/src/services/v1/user/user.service.ts | chase-adams/accelerate-starter | b9458abd88f20d91db4272e5d1bacb3cabad49b7 | [
"MIT"
] | 4 | 2019-02-21T18:34:06.000Z | 2020-09-05T05:27:39.000Z | packages/api/src/services/v1/user/user.service.ts | chase-adams/accelerate-starter | b9458abd88f20d91db4272e5d1bacb3cabad49b7 | [
"MIT"
] | 118 | 2019-02-21T04:06:17.000Z | 2020-03-04T03:39:55.000Z | packages/api/src/services/v1/user/user.service.ts | chase-adams/accelerate-starter | b9458abd88f20d91db4272e5d1bacb3cabad49b7 | [
"MIT"
] | 2 | 2019-09-05T02:04:36.000Z | 2019-09-17T09:51:32.000Z | // Initializes the `cbsa` service on path `/cbsa`
import { ServiceAddons } from '@feathersjs/feathers';
import { v1UserModel } from '@accelerate-starter/core';
import newPassword from './services/new-password';
import passwordReset from './services/password-reset';
import verify from './services/verify';
import { Us... | 26.860465 | 62 | 0.687446 |
bb5402debc937a19a21351067d93af71f05376f8 | 3,778 | cs | C# | WoTUtil/Api/Player.cs | negri/WCLUtility | adfd7bac587ef6d7390afac362fa2b37eecfcf92 | [
"MIT"
] | 1 | 2018-06-25T20:18:03.000Z | 2018-06-25T20:18:03.000Z | WoTUtil/Api/Player.cs | Versolato/WCLUtility | adfd7bac587ef6d7390afac362fa2b37eecfcf92 | [
"MIT"
] | null | null | null | WoTUtil/Api/Player.cs | Versolato/WCLUtility | adfd7bac587ef6d7390afac362fa2b37eecfcf92 | [
"MIT"
] | 1 | 2018-06-25T20:17:55.000Z | 2018-06-25T20:17:55.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using Negri.Wot.Tanks;
namespace Negri.Wot.Api
{
/// <summary>
/// A player
/// </summary>
public class Player
{
/// <summary>
/// Player Id
/// </summary>
public long Id { get; set; }
/// <... | 28.406015 | 133 | 0.514029 |