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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75e6b2d3a63be721797d626fc4c7a09ad2f3a274 | 26,681 | sql | SQL | ishop.sql | yialexlee/ishop | 10912f3ac49bfedaf0a9e96f4d486ca48b5dc03b | [
"MIT"
] | null | null | null | ishop.sql | yialexlee/ishop | 10912f3ac49bfedaf0a9e96f4d486ca48b5dc03b | [
"MIT"
] | null | null | null | ishop.sql | yialexlee/ishop | 10912f3ac49bfedaf0a9e96f4d486ca48b5dc03b | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- 主机: 127.0.0.1
-- 生成日期: 2021-02-17 11:36:06
-- 服务器版本: 10.4.6-MariaDB
-- PHP 版本: 7.3.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACT... | 52.213307 | 461 | 0.704246 |
96fac2cfa1fb32ecff15676e97ea80e230f9bd6b | 19,171 | ps1 | PowerShell | OktaPosh/public/User.ps1 | Seekatar/OktaPosh | e773e52f2f1f90316362a01e2e4fdab0ab8efd0d | [
"MIT"
] | 2 | 2021-02-05T17:35:12.000Z | 2021-05-13T18:55:01.000Z | OktaPosh/public/User.ps1 | Seekatar/OktaPosh | e773e52f2f1f90316362a01e2e4fdab0ab8efd0d | [
"MIT"
] | 15 | 2020-11-01T21:25:51.000Z | 2021-12-31T18:58:09.000Z | OktaPosh/public/User.ps1 | Seekatar/OktaPosh | e773e52f2f1f90316362a01e2e4fdab0ab8efd0d | [
"MIT"
] | null | null | null | # https://developer.okta.com/docs/reference/api/users/
function addUser
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSShouldProcess", "")]
[CmdletBinding(SupportsShouldProcess)]
param(
[Parameter(Mandatory)]
[HashTable] $body,
[ValidateCount(0,20)]
[string[]] $Grou... | 32.603741 | 186 | 0.593135 |
d16657b58e1571fa249010d6e561ad87c9cfe661 | 1,879 | kt | Kotlin | core/src/main/kotlin/com/heroslender/hmf/core/ui/components/Progress.kt | heroslender/menu-framework | 603c227b4b80d0bd7f992167fee07e36678ccc25 | [
"MIT"
] | 51 | 2021-02-22T20:02:02.000Z | 2022-02-19T20:38:45.000Z | core/src/main/kotlin/com/heroslender/hmf/core/ui/components/Progress.kt | heroslender/menu-framework | 603c227b4b80d0bd7f992167fee07e36678ccc25 | [
"MIT"
] | 4 | 2021-05-12T19:41:18.000Z | 2021-06-14T18:53:53.000Z | core/src/main/kotlin/com/heroslender/hmf/core/ui/components/Progress.kt | heroslender/menu-framework | 603c227b4b80d0bd7f992167fee07e36678ccc25 | [
"MIT"
] | 4 | 2021-03-08T21:35:16.000Z | 2021-05-16T11:06:18.000Z | package com.heroslender.hmf.core.ui.components
import com.heroslender.hmf.core.Canvas
import com.heroslender.hmf.core.IColor
import com.heroslender.hmf.core.State
import com.heroslender.hmf.core.ui.Composable
import com.heroslender.hmf.core.ui.Placeable
import com.heroslender.hmf.core.ui.modifier.Modifier
import com.h... | 28.469697 | 97 | 0.690793 |
cfbe112a2710ae1beb4a732e6980849cf337eb73 | 1,357 | lua | Lua | bin/omnia.lua | tongson/OmniaJIT | d386337ebe330b09c3f29c448500a2d101b48d95 | [
"MIT"
] | 5 | 2020-12-15T03:57:06.000Z | 2021-04-26T19:08:19.000Z | bin/omnia.lua | tongson/OmniaJIT | d386337ebe330b09c3f29c448500a2d101b48d95 | [
"MIT"
] | 1 | 2021-03-18T11:02:12.000Z | 2021-03-20T11:50:43.000Z | bin/omnia.lua | tongson/OmniaJIT | d386337ebe330b09c3f29c448500a2d101b48d95 | [
"MIT"
] | null | null | null | local script = arg[1]
local lib = require "lib"
local func = lib.func
local argv = {}
argv[0] = arg[1]
if #arg > 1 then
for i = 2, #arg do
argv[i-1] = arg[i]
end
end
rawset(_G, "arg", argv)
local ENV = {
lib = lib,
argparse = require "argparse",
lfs = require "lfs",
}
local string = string
s... | 30.155556 | 97 | 0.563744 |
8f79cce95b7ef1947f46959bb95ec1b1df7c3909 | 714 | swift | Swift | WooKeyDash/Modules/Wallet management/ViewModels/WalletManagementViewModel.swift | WooKeyWallet/dash-wallet-ios-app | 1b7a9954340b4f7fbe6ee92bb4245fe04f1f082e | [
"MIT"
] | 2 | 2019-07-03T04:02:45.000Z | 2020-02-13T18:00:32.000Z | WooKeyDash/Modules/Wallet management/ViewModels/WalletManagementViewModel.swift | WooKeyWallet/dash-wallet-ios-app | 1b7a9954340b4f7fbe6ee92bb4245fe04f1f082e | [
"MIT"
] | null | null | null | WooKeyDash/Modules/Wallet management/ViewModels/WalletManagementViewModel.swift | WooKeyWallet/dash-wallet-ios-app | 1b7a9954340b4f7fbe6ee92bb4245fe04f1f082e | [
"MIT"
] | null | null | null | //
// WalletManagementViewModel.swift
import UIKit
class WalletManagementViewModel: NSObject {
// MARK: - Properties (Lazy)
// MARK: - Life Cycles
override init() {
super.init()
}
// MARK: - Methods (Public)
public func updateActive(_ walletId: Stri... | 21.636364 | 93 | 0.617647 |
f9b6c67114357ad15238ca4d2492cbeb3b4477a4 | 312 | go | Go | app/templates/_server_echo.go | yeoman-projects/generator-go-microservice | f86d8c906fdcf2a1b695e55612b91f883a06d991 | [
"MIT"
] | 12 | 2015-10-23T14:48:26.000Z | 2019-12-02T13:30:03.000Z | app/templates/_server_echo.go | yeoman-projects/generator-go-microservice | f86d8c906fdcf2a1b695e55612b91f883a06d991 | [
"MIT"
] | 1 | 2020-07-15T20:16:18.000Z | 2020-07-15T20:16:18.000Z | app/templates/_server_echo.go | yeoman-projects/generator-go-microservice | f86d8c906fdcf2a1b695e55612b91f883a06d991 | [
"MIT"
] | 3 | 2015-10-27T22:29:35.000Z | 2021-05-12T04:48:08.000Z | package main
import (
"<%= baseName %>/controllers"
"github.com/labstack/echo"
mw "github.com/labstack/echo/middleware"
)
func main() {
// Echo instance
e := echo.New()
// Middleware
e.Use(mw.Logger())
e.Use(mw.Recover())
e.Get("/", controllers.Hello)
// Start server
e.Run(":9001")
}
| 14.181818 | 42 | 0.615385 |
a2f6758cac921e9d85cb41f4d180eb66e24d2a75 | 172 | asm | Assembly | src/firmware-tests/Platform/Main/PollStubToAssertTest.asm | pete-restall/Cluck2Sesame-Prototype | 99119b6748847a7b6aeadc4bee42cbed726f7fdc | [
"MIT"
] | 1 | 2019-12-12T09:07:08.000Z | 2019-12-12T09:07:08.000Z | src/firmware-tests/Platform/Main/PollStubToAssertTest.asm | pete-restall/Cluck2Sesame-Prototype | 99119b6748847a7b6aeadc4bee42cbed726f7fdc | [
"MIT"
] | null | null | null | src/firmware-tests/Platform/Main/PollStubToAssertTest.asm | pete-restall/Cluck2Sesame-Prototype | 99119b6748847a7b6aeadc4bee42cbed726f7fdc | [
"MIT"
] | null | null | null | #include "Platform.inc"
#include "TailCalls.inc"
radix decimal
extern testAssert
PollStubToAssertTest code
global pollForWork
pollForWork:
tcall testAssert
end
| 11.466667 | 25 | 0.784884 |
d2cc7b643c2133f87e4a1c727de8236f2ddff547 | 798 | php | PHP | app/Http/Controllers/ClientMainController.php | nguyengiathanh99/Laravel_shop | 9c6c52831462f22877f18686f472b51d56868f52 | [
"MIT"
] | null | null | null | app/Http/Controllers/ClientMainController.php | nguyengiathanh99/Laravel_shop | 9c6c52831462f22877f18686f472b51d56868f52 | [
"MIT"
] | null | null | null | app/Http/Controllers/ClientMainController.php | nguyengiathanh99/Laravel_shop | 9c6c52831462f22877f18686f472b51d56868f52 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Services\Menu\MenuService;
use App\Http\Services\Slider\SliderService;
use App\Http\Services\Product\ProductService;
class ClientMainController extends Controller
{
protected $menu;
protected $slider;
protected $product;
... | 24.9375 | 98 | 0.621554 |
dddf14e9457cfef0484e366fbcc4216657f4bdde | 876 | php | PHP | src/Cocina/ComprasBundle/DataFixtures/ORM/Cambios_precio.php | viejalospelos/cocina | c32fdcb10c0c2917c604912c1755a75892945157 | [
"MIT"
] | null | null | null | src/Cocina/ComprasBundle/DataFixtures/ORM/Cambios_precio.php | viejalospelos/cocina | c32fdcb10c0c2917c604912c1755a75892945157 | [
"MIT"
] | null | null | null | src/Cocina/ComprasBundle/DataFixtures/ORM/Cambios_precio.php | viejalospelos/cocina | c32fdcb10c0c2917c604912c1755a75892945157 | [
"MIT"
] | null | null | null | <?php
namespace Cocina\ComprasBundle\DataFixtures\ORM;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
use Cocina\ComprasBundle\Entity\Cambios_precio;
class CambiosPrecio extends AbstractFixture implements Orde... | 27.375 | 78 | 0.762557 |
9ed049e9a7a30c84e555ff793ba5e04219758201 | 881 | asm | Assembly | Example/Example_Easy.asm | arnaud-carre/LSPlayer | 7187ee0be4f9da9615245c9b33e4532560ccc58b | [
"MIT"
] | 45 | 2021-03-10T21:45:45.000Z | 2022-03-20T16:52:25.000Z | Example/Example_Easy.asm | arnaud-carre/LSPlayer | 7187ee0be4f9da9615245c9b33e4532560ccc58b | [
"MIT"
] | 5 | 2021-03-11T08:37:50.000Z | 2022-02-15T21:40:03.000Z | Example/Example_Easy.asm | arnaud-carre/LSPlayer | 7187ee0be4f9da9615245c9b33e4532560ccc58b | [
"MIT"
] | 2 | 2021-03-15T13:46:33.000Z | 2021-03-15T14:29:51.000Z | ;
; LightSpeedPlayer usage example
;
code
move.w #(1<<5)|(1<<6)|(1<<7)|(1<<8),$dff096
bsr clearSprites
move.w #$0,$dff1fc
move.w #$200,$dff100 ; 0 bitplan
move.w #$04f,$dff180
; Init LSP and start replay using easy CIA toolbox
lea LSPMusic,a0
lea LSPBank,a1
suba.l a2,a2 ; su... | 16.942308 | 52 | 0.635641 |
92c672e3d0503196ff6a179333886629c6f90700 | 5,998 | c | C | SuiteSparse/GraphBLAS/Source/GB_kron_kernel.c | Jenny19880324/suitesparse-metis-for-windows | e8d953dffb8a99aa8b65ff3ff03e12a3ed72f90c | [
"BSD-3-Clause"
] | 370 | 2015-01-30T01:04:37.000Z | 2022-03-26T18:48:39.000Z | SuiteSparse/GraphBLAS/Source/GB_kron_kernel.c | nTopology/suitesparse | f9a698f35d6903e88d6daea0ca811a302963215d | [
"BSD-3-Clause"
] | 85 | 2015-02-03T22:57:35.000Z | 2021-12-17T12:39:55.000Z | SuiteSparse/GraphBLAS/Source/GB_kron_kernel.c | nTopology/suitesparse | f9a698f35d6903e88d6daea0ca811a302963215d | [
"BSD-3-Clause"
] | 234 | 2015-01-14T15:09:09.000Z | 2022-03-26T18:48:41.000Z | //------------------------------------------------------------------------------
// GB_kron_kernel: Kronecker product, C = kron (A,B)
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2018, All Rights Reserved.
// http://suitesparse.co... | 35.702381 | 80 | 0.437479 |
929d4683b9d81e81bc5214fb8fc3a2d5fc301a18 | 134 | sql | SQL | src/main/resources/db/migration/V1__inital_tables.sql | saiaku-gaming/notification-service-server | 395a0dc7a6a4dd4e998e6cdd42686c2d1364add7 | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V1__inital_tables.sql | saiaku-gaming/notification-service-server | 395a0dc7a6a4dd4e998e6cdd42686c2d1364add7 | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V1__inital_tables.sql | saiaku-gaming/notification-service-server | 395a0dc7a6a4dd4e998e6cdd42686c2d1364add7 | [
"MIT"
] | null | null | null | CREATE TABLE registered_server (
registered_server_id TEXT NOT NULL PRIMARY KEY,
ip_address TEXT NOT NULL,
port INTEGER NOT NULL
); | 26.8 | 48 | 0.80597 |
120c7ad31e3f578e3ff916a83527257c5f2c117d | 1,142 | swift | Swift | swiftui-ios-swift/SwiftUIApp/ContentView.swift | turlodales/here-ios-sdk-examples | 23d4086d6f9093d4eb2306ea405911614a0ccd67 | [
"MIT"
] | 63 | 2017-03-03T13:14:44.000Z | 2021-11-23T18:44:57.000Z | swiftui-ios-swift/SwiftUIApp/ContentView.swift | turlodales/here-ios-sdk-examples | 23d4086d6f9093d4eb2306ea405911614a0ccd67 | [
"MIT"
] | 122 | 2017-05-02T15:28:18.000Z | 2022-03-28T20:23:53.000Z | swiftui-ios-swift/SwiftUIApp/ContentView.swift | turlodales/here-ios-sdk-examples | 23d4086d6f9093d4eb2306ea405911614a0ccd67 | [
"MIT"
] | 60 | 2017-03-22T20:19:12.000Z | 2021-12-01T10:39:06.000Z | /*
* Copyright (c) 2011-2021 HERE Europe B.V.
* All rights reserved.
*/
import SwiftUI
import NMAKit
struct ContentView: View {
@EnvironmentObject var state: GlobalMapStateModel // Map Settings state
@State var activeMapScheme = NMAMapSchemeNormalDay // Scheme selected by Picker
var body: some View {... | 25.954545 | 83 | 0.652364 |
81be7b98c3c46b8a316ce0302f0aebba31019bdc | 406 | rs | Rust | src/state.rs | coco-sha/arcswap | 81a69f3933dc46a51c8e17fe09da1a7df654d2e2 | [
"Apache-2.0"
] | 3 | 2021-12-09T21:32:09.000Z | 2022-03-29T22:48:11.000Z | src/state.rs | coco-sha/arcswap | 81a69f3933dc46a51c8e17fe09da1a7df654d2e2 | [
"Apache-2.0"
] | null | null | null | src/state.rs | coco-sha/arcswap | 81a69f3933dc46a51c8e17fe09da1a7df654d2e2 | [
"Apache-2.0"
] | 2 | 2021-12-30T09:58:31.000Z | 2022-03-29T22:07:06.000Z | use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use cosmwasm_std::{Addr, Uint128};
use cw_storage_plus::Item;
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
pub struct Token {
pub reserve: Uint128,
pub address: Option<Addr>,
pub denom: String,
}
pub const TOKEN1: It... | 25.375 | 70 | 0.711823 |
a5909bc29bf4f6a9bc1c44318f011d1c3c2ccd58 | 3,337 | swift | Swift | Example/BLPay/AppPay.swift | iosRober/BLPay | b76e86de81e43b8bd3ea419e76293cf520ba5ca1 | [
"MIT"
] | null | null | null | Example/BLPay/AppPay.swift | iosRober/BLPay | b76e86de81e43b8bd3ea419e76293cf520ba5ca1 | [
"MIT"
] | null | null | null | Example/BLPay/AppPay.swift | iosRober/BLPay | b76e86de81e43b8bd3ea419e76293cf520ba5ca1 | [
"MIT"
] | null | null | null | //
// AppPay.swift
// BLPay_Example
//
// Created by lin bo on 2019/8/7.
// Copyright © 2019 CocoaPods. All rights reserved.
//
import Foundation
/// 商品列表
enum ACG_PAY_ID: BL_APP_ID {
case pay50
case pay98
case pay148
case pay198
case pay248
case pay298
func value() -> String... | 24.902985 | 110 | 0.462691 |
7a394d4b887b528825107991d91df962a38b2106 | 1,330 | ps1 | PowerShell | PS/_Tests/Team.Get-TfsTeam.Tests.ps1 | igoravl/tfscmdlets | 16b4a4f3d9f22d32c9cf9846971336c053c1542c | [
"MIT"
] | 59 | 2015-03-11T10:50:06.000Z | 2019-06-20T09:15:09.000Z | PS/_Tests/Team.Get-TfsTeam.Tests.ps1 | igoravl/tfscmdlets | 16b4a4f3d9f22d32c9cf9846971336c053c1542c | [
"MIT"
] | 51 | 2015-09-09T15:24:59.000Z | 2019-05-23T21:09:18.000Z | PS/_Tests/Team.Get-TfsTeam.Tests.ps1 | igoravl/tfscmdlets | 16b4a4f3d9f22d32c9cf9846971336c053c1542c | [
"MIT"
] | 26 | 2015-01-06T08:48:50.000Z | 2019-06-20T09:53:06.000Z | . $PSScriptRoot/_TestSetup.ps1
Describe (($MyInvocation.MyCommand.Name -split '\.')[-3]) {
Context 'Integration Tests' {
It 'Should throw on parameterless invocation' {
{ Get-TfsTeam } | Should -Throw
}
It 'Should get all teams' {
Get-TfsTeam -Project $tfsProject ... | 38 | 147 | 0.622556 |
01ea9754db84feaef2b8ba940923b8943ff7bb8e | 8,309 | rs | Rust | crates/dts/main.rs | martinohmann/dts | 3b027f4ac4f1cdf3d4b96f8c249954b85474be4b | [
"MIT"
] | 10 | 2021-12-17T16:37:36.000Z | 2022-03-16T18:58:47.000Z | crates/dts/main.rs | martinohmann/dts | 3b027f4ac4f1cdf3d4b96f8c249954b85474be4b | [
"MIT"
] | 21 | 2021-12-17T15:22:46.000Z | 2022-03-27T01:22:47.000Z | crates/dts/main.rs | martinohmann/dts | 3b027f4ac4f1cdf3d4b96f8c249954b85474be4b | [
"MIT"
] | null | null | null | #![doc = include_str!("../../README.md")]
#![deny(missing_docs)]
mod args;
#[cfg(feature = "color")]
mod highlighting;
mod output;
mod paging;
mod utils;
#[cfg(feature = "color")]
use crate::highlighting::{print_themes, ColoredStdoutWriter, HighlightingConfig};
use crate::{
args::{InputOptions, Options, OutputOpt... | 32.081081 | 100 | 0.534842 |
57a1f0768e50e35f3250bbc2418283915a50a126 | 5,397 | h | C | src/hardware_in_the_loop/HIL_sensors/HILSensor.h | skyward-er/on-board-software | b0739e27f345d6bd07f21948ee06c99757662381 | [
"MIT"
] | 4 | 2021-11-10T09:43:13.000Z | 2022-02-28T07:32:37.000Z | src/hardware_in_the_loop/HIL_sensors/HILSensor.h | skyward-er/on-board-software | b0739e27f345d6bd07f21948ee06c99757662381 | [
"MIT"
] | null | null | null | src/hardware_in_the_loop/HIL_sensors/HILSensor.h | skyward-er/on-board-software | b0739e27f345d6bd07f21948ee06c99757662381 | [
"MIT"
] | null | null | null | /* Copyright (c) 2020 Skyward Experimental Rocketry
* Author: Emilio Corigliano
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the ri... | 33.943396 | 80 | 0.65592 |
20463f65c8cb403b7a6ccd4db9ca1ff478f942e9 | 989 | sql | SQL | coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/log/Release_2_0_logs/KCAWD-271.sql | mrudulpolus/kc | 55f529e5ff0985f3bf5247e2a1e63c5dec07f560 | [
"ECL-2.0"
] | null | null | null | coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/log/Release_2_0_logs/KCAWD-271.sql | mrudulpolus/kc | 55f529e5ff0985f3bf5247e2a1e63c5dec07f560 | [
"ECL-2.0"
] | null | null | null | coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/log/Release_2_0_logs/KCAWD-271.sql | mrudulpolus/kc | 55f529e5ff0985f3bf5247e2a1e63c5dec07f560 | [
"ECL-2.0"
] | null | null | null | -- Table Script
CREATE TABLE AWARD_HIERARCHY (
ROOT_AWARD_NUMBER VARCHAR2(12) NOT NULL,
AWARD_NUMBER VARCHAR2(12) NOT NULL,
PARENT_AWARD_NUMBER VARCHAR2(12) NOT NULL,
UPDATE_TIMESTAMP DATE NOT NULL,
UPDATE_USER VARCHAR2(60) NOT NULL,
VER_NBR NUMBER(8,0) DEFAULT 1 NOT NULL,
OBJ_ID VAR... | 32.966667 | 93 | 0.767442 |
c7ba3eaba21d83b4b33669dd232e40c9720d5f55 | 4,589 | py | Python | luft/tasks/generic_embulk_task.py | profesia/luft | de3423fdad561483b1a66aa665167661adbde4e5 | [
"MIT"
] | 1 | 2020-03-20T17:51:50.000Z | 2020-03-20T17:51:50.000Z | luft/tasks/generic_embulk_task.py | profesia/luft | de3423fdad561483b1a66aa665167661adbde4e5 | [
"MIT"
] | 248 | 2020-09-15T06:00:41.000Z | 2021-08-03T05:42:14.000Z | luft/tasks/generic_embulk_task.py | Lacoz/luft_old | 3fcd92a9b9b17335e4b91ac58ef2d9ec79a5a879 | [
"MIT"
] | 2 | 2019-08-20T12:50:01.000Z | 2019-09-02T12:19:03.000Z | # -*- coding: utf-8 -*-
"""Generic Embulk Task."""
from pathlib import Path
from typing import Dict, Optional
from luft.common.config import (AWS_ACCESS_KEY_ID, AWS_BUCKET, AWS_ENDPOINT, AWS_SECRET_ACCESS_KEY,
BLOB_STORAGE, EMBULK_DEFAULT_TEMPLATE, GCS_APP_NAME,
... | 42.88785 | 99 | 0.628459 |
381dc5d01190f8c12cb3aebc9baa15cfd865f69f | 135 | ps1 | PowerShell | Chapter23/1.2.6.ArrayComparisonNotMatch.ps1 | wagnerhsu/packt-Mastering-Windows-PowerShell-Scripting-Fourth-Edition | be9f5cad2bf28de7c0a250590c65b72994800aeb | [
"MIT"
] | 27 | 2020-04-21T13:28:29.000Z | 2022-03-09T12:19:24.000Z | Chapter23/1.2.6.ArrayComparisonNotMatch.ps1 | wagnerhsu/packt-Mastering-Windows-PowerShell-Scripting-Fourth-Edition | be9f5cad2bf28de7c0a250590c65b72994800aeb | [
"MIT"
] | null | null | null | Chapter23/1.2.6.ArrayComparisonNotMatch.ps1 | wagnerhsu/packt-Mastering-Windows-PowerShell-Scripting-Fourth-Edition | be9f5cad2bf28de7c0a250590c65b72994800aeb | [
"MIT"
] | 15 | 2020-05-03T01:24:33.000Z | 2022-01-26T04:57:23.000Z | $array = @(
'Anna'
'Ben'
'Chris'
'David'
)
if ($array -notmatch '^[ab]') {
Write-Host "No names starting A or B"
}
| 13.5 | 41 | 0.496296 |
fb8be4f9f63ecc022f78675d2db109c9fd69bdcd | 11,052 | java | Java | api/src/main/java/com/gpudb/protocol/AlterTableResponse.java | pbo-cirus/kinetica-api-java | c838c1591336b3ee4fac489c1e25ff4bc2d54fcb | [
"MIT"
] | null | null | null | api/src/main/java/com/gpudb/protocol/AlterTableResponse.java | pbo-cirus/kinetica-api-java | c838c1591336b3ee4fac489c1e25ff4bc2d54fcb | [
"MIT"
] | null | null | null | api/src/main/java/com/gpudb/protocol/AlterTableResponse.java | pbo-cirus/kinetica-api-java | c838c1591336b3ee4fac489c1e25ff4bc2d54fcb | [
"MIT"
] | null | null | null | /*
* This file was autogenerated by the GPUdb schema processor.
*
* DO NOT EDIT DIRECTLY.
*/
package com.gpudb.protocol;
import org.apache.avro.Schema;
import org.apache.avro.SchemaBuilder;
import org.apache.avro.generic.GenericData;
import org.apache.avro.generic.IndexedRecord;
import java.util.LinkedHashMap;
... | 29.550802 | 104 | 0.568494 |
86fec89b6f1efc97c79f9bf4eb58b774740fe261 | 2,053 | go | Go | skynet_go/example/client2/client2.go | yefy/skp-go | c1c4e5d74bece5d81898f16ce5d33b76989176bd | [
"MIT"
] | null | null | null | skynet_go/example/client2/client2.go | yefy/skp-go | c1c4e5d74bece5d81898f16ce5d33b76989176bd | [
"MIT"
] | null | null | null | skynet_go/example/client2/client2.go | yefy/skp-go | c1c4e5d74bece5d81898f16ce5d33b76989176bd | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"runtime"
"skp-go/skynet_go/defaultConf"
log "skp-go/skynet_go/logger"
"skp-go/skynet_go/mq"
"skp-go/skynet_go/mq/client"
"skp-go/skynet_go/rpc/rpcE"
"time"
)
//taskkill /im server.test.exe /f
//taskkill /im client.test.exe /f
//go test server_test.go server.go mqMsg.pb.go vector.g... | 22.56044 | 92 | 0.665855 |
ef05e15bf8e0fe949b9652ff9869887dd8e7736d | 5,562 | swift | Swift | Contents/UserModules/Nodes.playgroundmodule/Sources/Game.swift | benjaminhtr/WWDC21 | 589d5c889bf6f0cc88f55abe8d9a6c3de169d38e | [
"MIT"
] | 4 | 2021-04-20T14:49:17.000Z | 2021-06-01T16:34:33.000Z | Contents/UserModules/Nodes.playgroundmodule/Sources/Game.swift | benjaminhtr/WWDC21 | 589d5c889bf6f0cc88f55abe8d9a6c3de169d38e | [
"MIT"
] | null | null | null | Contents/UserModules/Nodes.playgroundmodule/Sources/Game.swift | benjaminhtr/WWDC21 | 589d5c889bf6f0cc88f55abe8d9a6c3de169d38e | [
"MIT"
] | null | null | null | import SpriteKit
import Models
import Protocols
import Extensions
public class Game: SKNode {
// game stats - single source of truth for all games
private let gameStats: GameStats
// correct traffic sign for current round
private var correctTrafficSign: TrafficSign {
didSet {
... | 38.09589 | 166 | 0.65552 |
8734f513516e5f24f71f1d3f4681ea127ccb2016 | 356,927 | sql | SQL | db/structure.sql | consected/restructure | 79262471f5be6fe41b43429e1dcbe53c7beeed3d | [
"BSD-3-Clause"
] | 4 | 2021-01-20T19:20:40.000Z | 2021-11-08T16:50:14.000Z | db/structure.sql | consected/restructure | 79262471f5be6fe41b43429e1dcbe53c7beeed3d | [
"BSD-3-Clause"
] | 2 | 2021-01-07T09:03:40.000Z | 2021-02-09T10:53:55.000Z | db/structure.sql | consected/restructure | 79262471f5be6fe41b43429e1dcbe53c7beeed3d | [
"BSD-3-Clause"
] | 1 | 2021-11-01T19:58:08.000Z | 2021-11-01T19:58:08.000Z | SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row... | 27.989884 | 391 | 0.718881 |
1647a0db5018ed097b180e33898df7470f3d624d | 813 | ts | TypeScript | edm/src/app/commonmodule/accordion/accordion-group.component.ts | pagumakwana/repo_edm | 231c10d0fff1bc90076a799ec5f66473978c4950 | [
"MIT"
] | 1 | 2020-04-10T12:09:19.000Z | 2020-04-10T12:09:19.000Z | edm/src/app/commonmodule/accordion/accordion-group.component.ts | pagumakwana/repo_edm | 231c10d0fff1bc90076a799ec5f66473978c4950 | [
"MIT"
] | 130 | 2020-04-09T20:27:57.000Z | 2022-03-02T05:14:18.000Z | edm/src/app/commonmodule/accordion/accordion-group.component.ts | pagumakwana/repo_edm | 231c10d0fff1bc90076a799ec5f66473978c4950 | [
"MIT"
] | 1 | 2020-05-18T12:15:20.000Z | 2020-05-18T12:15:20.000Z | import { ChangeDetectionStrategy, Component, Input, Output, EventEmitter } from '@angular/core';
@Component({
selector: 'group',
template: `
<div class="mypanel">
<div class="title" (click)="toggle.emit()">
{{title}}
</div>
<div class="body" [ngClass]="{'hidden': !opened}">
<ng-content></... | 22.583333 | 96 | 0.626076 |
9676708f3c9030dfb946a08185465688f8a6d19e | 2,413 | php | PHP | application/models/Category_model.php | anjipavuluri21/ambition | 23760136bf0c3544172a7d77877179c0fbbebdfb | [
"MIT"
] | null | null | null | application/models/Category_model.php | anjipavuluri21/ambition | 23760136bf0c3544172a7d77877179c0fbbebdfb | [
"MIT"
] | 2 | 2021-09-29T17:33:29.000Z | 2022-02-10T20:11:38.000Z | application/models/Category_model.php | anjipavuluri21/ambition | 23760136bf0c3544172a7d77877179c0fbbebdfb | [
"MIT"
] | null | null | null | <?php
class Category_model extends CI_Model {
public function __construct() {
parent::__construct();
}
public function insertCourseCategory($insert_data) {
$category_list = array(
'course_id' => $insert_data['course_id'],
'course_category_name' => $insert_data['cou... | 32.173333 | 87 | 0.547037 |
0bb0d606495610a6af3e36a6f278f11886862d99 | 731 | js | JavaScript | src/test-runner/runner.js | nerdbeere/tower-defense | 95cafabc1bb2fa9bba1e1f288ab347360a658e78 | [
"MIT"
] | null | null | null | src/test-runner/runner.js | nerdbeere/tower-defense | 95cafabc1bb2fa9bba1e1f288ab347360a658e78 | [
"MIT"
] | null | null | null | src/test-runner/runner.js | nerdbeere/tower-defense | 95cafabc1bb2fa9bba1e1f288ab347360a658e78 | [
"MIT"
] | null | null | null | import React from 'react';
import Iframe from './iframe';
export default class TestRunner {
constructor(domNode, eventReceiver) {
this._onStats = null;
this._domNode = domNode;
(eventReceiver || window).addEventListener('message', this.handleDataReceived.bind(this), false);
}
render(iframeSrc) {
... | 21.5 | 101 | 0.663475 |
b9185570e623b7a1a18f9649b467fd9791c0c3f1 | 2,163 | go | Go | cmd/internal/install/install.go | nian8/gop | b7ebd802fb834bddfd016cf8e886788d33c73589 | [
"Apache-2.0"
] | null | null | null | cmd/internal/install/install.go | nian8/gop | b7ebd802fb834bddfd016cf8e886788d33c73589 | [
"Apache-2.0"
] | 1 | 2022-03-31T13:41:27.000Z | 2022-03-31T13:41:27.000Z | cmd/internal/install/install.go | nian8/gop | b7ebd802fb834bddfd016cf8e886788d33c73589 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2021 The GoPlus Authors (goplus.org)
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 t... | 24.303371 | 89 | 0.661119 |
565d7c08d5cdc87d4424ae313dc8edcb85a59455 | 1,031 | sql | SQL | openGaussBase/testcase/KEYWORDS/Current/Opengauss_Function_Keyword_Current_Case0028.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/Current/Opengauss_Function_Keyword_Current_Case0028.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/Current/Opengauss_Function_Keyword_Current_Case0028.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint: opengauss关键字current(非保留),作为同义词对象名,部分测试点合理报错
--前置条件
drop table if exists current_test;
create table current_test(id int,name varchar(10));
--关键字不带引号-成功
drop synonym if exists current;
create synonym current for current_test;
insert into current values (1,'ada'),(2, 'bob');
update current set current.na... | 31.242424 | 64 | 0.745878 |
569b4da6ba64cb65ff002c58724eeb7793c3c652 | 343 | ts | TypeScript | src/Tips/TipsItem/index.ts | wyj580231/ant-design-mini | 049dc7cf6b79d2618fd889db6ea43799c84bdcbf | [
"MIT"
] | 105 | 2022-02-15T09:01:53.000Z | 2022-03-30T08:39:56.000Z | src/Tips/TipsItem/index.ts | wyj580231/ant-design-mini | 049dc7cf6b79d2618fd889db6ea43799c84bdcbf | [
"MIT"
] | 5 | 2022-02-25T09:39:02.000Z | 2022-03-29T01:54:05.000Z | src/Tips/TipsItem/index.ts | wyj580231/ant-design-mini | 049dc7cf6b79d2618fd889db6ea43799c84bdcbf | [
"MIT"
] | 17 | 2022-02-15T09:12:22.000Z | 2022-03-28T09:21:23.000Z | Component({
methods: {
onButtonTap() {
const { onButtonTap } = this.props;
if (typeof onButtonTap === 'function') {
return onButtonTap();
}
},
onHideTips() {
const { onHideTips } = this.props;
if (typeof onHideTips === 'function') {
return onHideTips(false);
... | 20.176471 | 46 | 0.516035 |
a8f6b5dc2f433046a747b41d877bc4f5d8ccde13 | 3,507 | swift | Swift | JXExtensionKit_SwiftTests/FoundationTests/Data_SwiftTests.swift | Barnett2050/JXExtensionKit_Swift | e9b7029917466172420aa63c1c0c877199d071a7 | [
"MIT"
] | null | null | null | JXExtensionKit_SwiftTests/FoundationTests/Data_SwiftTests.swift | Barnett2050/JXExtensionKit_Swift | e9b7029917466172420aa63c1c0c877199d071a7 | [
"MIT"
] | null | null | null | JXExtensionKit_SwiftTests/FoundationTests/Data_SwiftTests.swift | Barnett2050/JXExtensionKit_Swift | e9b7029917466172420aa63c1c0c877199d071a7 | [
"MIT"
] | null | null | null | //
// Data_SwiftTests.swift
// JXExtensionKit_SwiftTests
//
// Created by Barnett on 2021/3/11.
// Copyright © 2021 Barnett. All rights reserved.
//
import XCTest
import Foundation
class Data_SwiftTests: XCTestCase {
override func setUpWithError() throws {
}
override func tearDownWithError() throws ... | 51.573529 | 207 | 0.750499 |
0a4f4ef8cbae09fc3c36ca0b75ba2b150a7fe37e | 446 | kt | Kotlin | src/jvmMain/kotlin/com/bkahlert/kommons/text/anyContainsAll.kt | bkahlert/koodies | 35e2ac1c4246decdf7e7a1160bfdd5c9e28fd066 | [
"MIT"
] | 7 | 2020-12-20T10:47:06.000Z | 2021-08-03T14:21:57.000Z | src/jvmMain/kotlin/com/bkahlert/kommons/text/anyContainsAll.kt | bkahlert/koodies | 35e2ac1c4246decdf7e7a1160bfdd5c9e28fd066 | [
"MIT"
] | 42 | 2021-08-25T16:22:09.000Z | 2022-03-21T16:22:37.000Z | src/jvmMain/kotlin/com/bkahlert/kommons/text/anyContainsAll.kt | bkahlert/koodies | 35e2ac1c4246decdf7e7a1160bfdd5c9e28fd066 | [
"MIT"
] | null | null | null | package com.bkahlert.kommons.text
/**
* Returns `true` if any of the character sequences contains all of the specified [others] as a substring.
*
* @param ignoreCase `true` to ignore character case when comparing strings. By default `false`.
*/
public fun <T : CharSequence, U : CharSequence> Iterable<T>.anyContain... | 44.6 | 135 | 0.737668 |
674e5a338d402e7f10618d8601bcd44dbb7a1857 | 3,023 | sql | SQL | prisma/migrations/20211013164156_national_park_v1/migration.sql | abdmmar/tn-ql | 16b53755d4f0faf4be66bd2c85e72b5475ad8257 | [
"MIT"
] | 1 | 2021-12-04T09:36:17.000Z | 2021-12-04T09:36:17.000Z | prisma/migrations/20211013164156_national_park_v1/migration.sql | Rizqi7180/tn-ql | cf780b811549df35bdae24254f29aa4bf812c261 | [
"MIT"
] | null | null | null | prisma/migrations/20211013164156_national_park_v1/migration.sql | Rizqi7180/tn-ql | cf780b811549df35bdae24254f29aa4bf812c261 | [
"MIT"
] | 1 | 2022-01-10T02:23:52.000Z | 2022-01-10T02:23:52.000Z | -- CreateTable
CREATE TABLE "NationalPark" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"name" TEXT NOT NULL,
"link" TEXT NOT NULL,
"year" INTEGER NOT NULL,
"total_area" TEXT NOT NULL,
"waters_percentages" TEXT,
"region" TEXT NOT NULL,
"description" TEXT NOT NULL,
"map" TEXT NO... | 30.535354 | 148 | 0.707244 |
8251a631feb7e799e8659dbd29bec3ce05c4c713 | 5,093 | dart | Dart | lib/mk_splash_screen.dart | dev-mgkaung/Mk-SplashScreen | 797849fcb27c1a147a1b23df9de8075228289065 | [
"MIT"
] | null | null | null | lib/mk_splash_screen.dart | dev-mgkaung/Mk-SplashScreen | 797849fcb27c1a147a1b23df9de8075228289065 | [
"MIT"
] | null | null | null | lib/mk_splash_screen.dart | dev-mgkaung/Mk-SplashScreen | 797849fcb27c1a147a1b23df9de8075228289065 | [
"MIT"
] | null | null | null | library mk_splash_screen;
import 'dart:core';
import 'dart:async';
import 'package:flutter/material.dart';
class MkSplashScreen extends StatefulWidget {
final int seconds;
final Text title;
final Color backgroundColor;
final dynamic navigateAfterSeconds;
final double photoSize;
final dynamic onClick;
f... | 32.858065 | 79 | 0.520126 |
7b58c78b33bfa5511c0c7d92973ab62fba3b33fa | 10,545 | rb | Ruby | app/models/chemistry/page.rb | croucherfoundation/chemistry | a2cb16b8532d76aa09fd9f9579957e31b6cd50b2 | [
"MIT"
] | null | null | null | app/models/chemistry/page.rb | croucherfoundation/chemistry | a2cb16b8532d76aa09fd9f9579957e31b6cd50b2 | [
"MIT"
] | 11 | 2018-06-29T13:05:01.000Z | 2020-08-07T16:49:33.000Z | app/models/chemistry/page.rb | spanner/chemistry | a2cb16b8532d76aa09fd9f9579957e31b6cd50b2 | [
"MIT"
] | null | null | null | # TODO: History of previous paths for redirection
#. history of edits by users...
require 'mustache'
module Chemistry
class Page < Chemistry::ApplicationRecord
PUBLISHED_ATTRIBUTES = [:slug, :path, :title, :masthead, :content, :byline, :summary, :excerpt, :terms, :style, :image_id]
acts_as_list column... | 28.577236 | 157 | 0.634139 |
3f9f078d8a4342891732443cf5a533346d8398ff | 5,116 | swift | Swift | Sources/UIKit/Display/UIColorExtensions.swift | hefeijinbo/SwiftExtensions | 7a27754b5373ecbb684e4919b0205dc65c35ee89 | [
"MIT"
] | 4 | 2020-08-08T00:16:09.000Z | 2021-01-27T06:44:45.000Z | Sources/UIKit/Display/UIColorExtensions.swift | hefeijinbo/SwiftExtensions | 7a27754b5373ecbb684e4919b0205dc65c35ee89 | [
"MIT"
] | null | null | null | Sources/UIKit/Display/UIColorExtensions.swift | hefeijinbo/SwiftExtensions | 7a27754b5373ecbb684e4919b0205dc65c35ee89 | [
"MIT"
] | null | null | null | //
// UIColorExtensions.swift
// SwiftExtensions
//
// Created by jinbo on 2020/8/9.
// Copyright © 2020 SwiftExtensions. All rights reserved.
//
import UIKit
public extension UIColor {
@objc static func whiteWithAlpha(_ alpha: CGFloat) -> UIColor {
return UIColor.white.withAlphaComponent(alpha)
}... | 36.028169 | 117 | 0.582291 |
0b74a2d6dbfc76ec355ef8ff8e62599cfa40e389 | 13,196 | py | Python | asyncorm/models/models.py | kejkz/asyncorm | 6342e2d5fbaa22fb368aead772ac4f255df7562a | [
"Apache-2.0"
] | 1 | 2017-02-27T05:37:39.000Z | 2017-02-27T05:37:39.000Z | asyncorm/models/models.py | kejkz/asyncorm | 6342e2d5fbaa22fb368aead772ac4f255df7562a | [
"Apache-2.0"
] | null | null | null | asyncorm/models/models.py | kejkz/asyncorm | 6342e2d5fbaa22fb368aead772ac4f255df7562a | [
"Apache-2.0"
] | null | null | null | import inspect
import os
from collections import Callable
from asyncorm.application.configure import get_model
from asyncorm.exceptions import AsyncOrmFieldError, AsyncOrmModelDoesNotExist, AsyncOrmModelError
from asyncorm.manager import ModelManager
from asyncorm.models.fields import AutoField, Field, ForeignKey, Man... | 35.761518 | 118 | 0.572674 |
cb9d3fb3fb39a5f4afece1cca9e921583177ad53 | 943 | go | Go | stream/service/stream_addrs.go | skyformat99/gomqtt-1 | b4c7771c386c1eaf312b2d11a98feed451e2969f | [
"Apache-2.0"
] | 5 | 2016-12-06T01:19:59.000Z | 2019-09-22T00:28:48.000Z | stream/service/stream_addrs.go | gitsunwenhao/gomqtt | ba18479303d88c744570b7f141fd18a5b6ddf685 | [
"Apache-2.0"
] | null | null | null | stream/service/stream_addrs.go | gitsunwenhao/gomqtt | ba18479303d88c744570b7f141fd18a5b6ddf685 | [
"Apache-2.0"
] | 5 | 2018-03-09T09:32:43.000Z | 2021-08-23T16:31:33.000Z | package service
import "sync"
import "github.com/uber-go/zap"
type StreamAddrs struct {
sync.RWMutex
Addrs map[string]string
}
func NewStreamAddrs() *StreamAddrs {
sa := &StreamAddrs{
Addrs: make(map[string]string),
}
return sa
}
// Init 将本机stream 自己的grpc地址保存进map
func (sa *StreamAddrs) Init(key, addr string)... | 17.462963 | 79 | 0.674443 |
a61312b5baa9d027a4eaa97dc61359e7dc774dce | 4,002 | swift | Swift | Swift/Gesture_3By3Grid/Gesture_3By3Grid/ViewController/ViewController.swift | William-Weng/- | 8905ba05e6a4082501dd04249f9e7240d38f2e2a | [
"MIT"
] | 1 | 2018-08-23T03:03:59.000Z | 2018-08-23T03:03:59.000Z | Swift/Gesture_3By3Grid/Gesture_3By3Grid/ViewController/ViewController.swift | William-Weng/Problem | 8905ba05e6a4082501dd04249f9e7240d38f2e2a | [
"MIT"
] | null | null | null | Swift/Gesture_3By3Grid/Gesture_3By3Grid/ViewController/ViewController.swift | William-Weng/Problem | 8905ba05e6a4082501dd04249f9e7240d38f2e2a | [
"MIT"
] | null | null | null | //
// ViewController.swift
// Gesture_3By3Grid
//
// Created by William-Weng on 2018/12/5.
// Copyright © 2018年 William-Weng. All rights reserved.
//
/// [UIBezierPath 的基本使用方法](http://furnacedigital.blogspot.tw/2011/07/uibezierpath.html)
import UIKit
class ViewController: UIViewController {
@IBOutlet wea... | 27.410959 | 130 | 0.555722 |
04363ad69fd90c19a66bb27d0c4531690de78288 | 1,107 | java | Java | matching-jena-matchers/src/test/java/de/uni_mannheim/informatik/dws/melt/matching_jena_matchers/external/services/labelToConcept/stringModifiers/TokenizeConcatSpaceCapitalizeFirstLetterLowercaseRestModifierTest.java | DixitAditya95/melt | 2fac28ed05930f1204db946a4d9e15b52ccf78c4 | [
"MIT"
] | 30 | 2019-05-15T14:08:37.000Z | 2022-03-13T13:51:36.000Z | matching-jena-matchers/src/test/java/de/uni_mannheim/informatik/dws/melt/matching_jena_matchers/external/services/labelToConcept/stringModifiers/TokenizeConcatSpaceCapitalizeFirstLetterLowercaseRestModifierTest.java | DixitAditya95/melt | 2fac28ed05930f1204db946a4d9e15b52ccf78c4 | [
"MIT"
] | 91 | 2020-07-07T10:59:50.000Z | 2022-03-23T04:15:43.000Z | matching-jena-matchers/src/test/java/de/uni_mannheim/informatik/dws/melt/matching_jena_matchers/external/services/labelToConcept/stringModifiers/TokenizeConcatSpaceCapitalizeFirstLetterLowercaseRestModifierTest.java | DixitAditya95/melt | 2fac28ed05930f1204db946a4d9e15b52ccf78c4 | [
"MIT"
] | 11 | 2020-04-21T13:22:27.000Z | 2022-02-25T01:44:43.000Z | package de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.external.services.labelToConcept.stringModifiers;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class TokenizeConcatSpaceCapitalizeFirstLetterLowercaseRestModifierTest {
@Test
void modifyString() {
... | 44.28 | 149 | 0.780488 |
9c1072c5e6fe916c54938df564f698159be7b4f9 | 7,364 | js | JavaScript | repos/tap-resolver/src/tap/setupTap.js | simpleviewinc/sv-keg | 337f1b07675d646641e7e283bb4964f1ec7b8879 | [
"MIT"
] | 2 | 2020-10-08T20:23:01.000Z | 2020-11-18T15:44:13.000Z | repos/tap-resolver/src/tap/setupTap.js | simpleviewinc/sv-keg | 337f1b07675d646641e7e283bb4964f1ec7b8879 | [
"MIT"
] | 85 | 2020-09-02T18:35:50.000Z | 2022-03-29T05:51:10.000Z | repos/tap-resolver/src/tap/setupTap.js | KegHub/keg-hub | 11c59a21f409355337decb34b549f679cb82a925 | [
"MIT"
] | 4 | 2020-08-27T16:04:00.000Z | 2021-01-06T07:25:38.000Z | const path = require('path')
const fs = require('fs')
const rimraf = require('rimraf')
const { logData, get } = require('@keg-hub/jsutils')
const {
validateApp,
ensureDirSync,
isDirectory,
checkTapKegPath,
} = require('../helpers')
const tapConstants = require('./tapConstants')
const { configKeys } = tapConstan... | 31.20339 | 94 | 0.695953 |
8c2a7f0d1beb45e72a85d8f7f0f1b6fe801868bd | 450 | swift | Swift | AudioKit/Common/MIDI/AKMIDITransformer.swift | SeanEmbrace/AudioKit | f99e45103f42b02f995df7271264828d9d3e1dc1 | [
"MIT"
] | 1 | 2018-01-14T05:51:47.000Z | 2018-01-14T05:51:47.000Z | AudioKit/Common/MIDI/AKMIDITransformer.swift | CheckThisCodeCarefully/AudioKit | f99e45103f42b02f995df7271264828d9d3e1dc1 | [
"MIT"
] | 1 | 2015-04-26T17:10:55.000Z | 2015-04-26T17:10:55.000Z | AudioKit/Common/MIDI/AKMIDITransformer.swift | CheckThisCodeCarefully/AudioKit | f99e45103f42b02f995df7271264828d9d3e1dc1 | [
"MIT"
] | 2 | 2018-02-03T01:45:05.000Z | 2018-04-02T19:33:49.000Z | //
// AKMIDITransformer.swift
// AudioKit
//
// Created by Eric George on 7/5/17.
// Copyright © 2017 AudioKit. All rights reserved.
//
public protocol AKMIDITransformer {
func transform(eventList: [AKMIDIEvent]) -> [AKMIDIEvent]
}
/// Default transformer function
public extension AKMIDITransformer {
func... | 22.5 | 63 | 0.691111 |
5f1a1317714de4394b79b38ec19ec3d923292ab2 | 22,194 | sql | SQL | db/kulbon (1).sql | veridetta/kulbon_api | 00021b57a6cd4b9086aa85394acb4533262857fc | [
"MIT"
] | null | null | null | db/kulbon (1).sql | veridetta/kulbon_api | 00021b57a6cd4b9086aa85394acb4533262857fc | [
"MIT"
] | null | null | null | db/kulbon (1).sql | veridetta/kulbon_api | 00021b57a6cd4b9086aa85394acb4533262857fc | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 04 Jun 2021 pada 20.50
-- Versi server: 10.4.17-MariaDB
-- Versi PHP: 8.0.0
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CH... | 41.718045 | 849 | 0.702037 |
b5c0c833d88bbd8aa7dec2996abb604d17424dc3 | 549 | sql | SQL | LogIn.sql | fesabelilla/Park-Kori | ef39a0059d3c49666f557df4b121e899e157cefa | [
"MIT"
] | null | null | null | LogIn.sql | fesabelilla/Park-Kori | ef39a0059d3c49666f557df4b121e899e157cefa | [
"MIT"
] | null | null | null | LogIn.sql | fesabelilla/Park-Kori | ef39a0059d3c49666f557df4b121e899e157cefa | [
"MIT"
] | null | null | null | clear screen;
set serveroutput on;
set verify off;
declare
userName users.uname@site_link%TYPE ;
pass users.password@site_link%TYPE ;
lin number := 0 ;
--s users.id@site_link%TYPE := 0 ;
loc location.area@site_link%TYPE;
locid number;
begin
userName := '&x';
pass := '&y';
lin := myPackage.login(userName,... | 18.931034 | 62 | 0.686703 |
f4c35c6e933b597fa72216f50c3e4eff3a79e115 | 908 | kt | Kotlin | src/test/kotlin/raptor/commands/admin/ShutdownCommand.kt | Nallaka/raptor | 541594afbb321405b5679e5042cdac6069c24b97 | [
"MIT"
] | null | null | null | src/test/kotlin/raptor/commands/admin/ShutdownCommand.kt | Nallaka/raptor | 541594afbb321405b5679e5042cdac6069c24b97 | [
"MIT"
] | null | null | null | src/test/kotlin/raptor/commands/admin/ShutdownCommand.kt | Nallaka/raptor | 541594afbb321405b5679e5042cdac6069c24b97 | [
"MIT"
] | 1 | 2017-11-01T03:14:51.000Z | 2017-11-01T03:14:51.000Z | package raptor.commands.admin
import raptor.RaptorBot
import raptor.handlers.CommandHandler
import raptor.utils.BotProperties
import raptor.utils.commandmeta.Command
import raptor.utils.commandmeta.ICommand
import raptor.utils.permissionmeta.PermissionLevel
@ICommand(
name = "Shutdown",
emoji = ":radi... | 33.62963 | 101 | 0.715859 |
3c3e9cb4a40c12dbd25a4c4c19530600ba4b9fd3 | 3,073 | rs | Rust | backend/src/models.rs | notgull/dnd-calculator | b4bf787e349ce84d0e29a1bf6b4107aa0060318b | [
"MIT"
] | 1 | 2021-01-01T10:24:16.000Z | 2021-01-01T10:24:16.000Z | backend/src/models.rs | not-a-seagull/dnd-calculator | b4bf787e349ce84d0e29a1bf6b4107aa0060318b | [
"MIT"
] | 3 | 2021-03-10T13:14:01.000Z | 2021-10-06T14:51:38.000Z | backend/src/models.rs | notgull/dnd-calculator | b4bf787e349ce84d0e29a1bf6b4107aa0060318b | [
"MIT"
] | null | null | null | /*
* Copyright 2020 not_a_seagull
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without
* limitation the rights to use, copy, modify, merge, publish, dis... | 30.127451 | 112 | 0.712008 |
9a42d843a4aee377bcc08e2b9fea947c42f045bc | 7,763 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1746.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1746.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1746.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x117e6, %rsi
lea addresses_normal_ht+0xb0e6, %rdi
nop
nop
nop
nop
nop
dec %r10
mov $85, %rcx
rep movsw
nop
nop
nop
nop
nop
and %r14, %r14
lea addresses_A_ht+0xa926, %r9
nop
nop
... | 34.811659 | 2,999 | 0.658895 |
40ec25b7e99fa6334b636594ac76ef61617dbe80 | 348 | py | Python | docfmt/docstring.py | skasch/docfmt | 9eeb1d6fc614424cb02125c95ef4a5758104535b | [
"MIT"
] | null | null | null | docfmt/docstring.py | skasch/docfmt | 9eeb1d6fc614424cb02125c95ef4a5758104535b | [
"MIT"
] | null | null | null | docfmt/docstring.py | skasch/docfmt | 9eeb1d6fc614424cb02125c95ef4a5758104535b | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
The docstring module.
Represent a docstring.
Created by Romain Mondon-Cancel on 2019/10/08 20:14.
"""
import abc
class Docstring(abc.ABC):
@abc.abstractmethod
def __init__(self, docstring: str) -> None:
pass
@abc.abstractmethod
def __str__... | 15.818182 | 52 | 0.640805 |
7604bdf1355f850126e9946daf187ffbeb877b0d | 1,634 | go | Go | fsm/fsm.go | KnifeFly/toykv | 6e5d7c2cbcf52c4828e9daa0eaa40d16984db37d | [
"Apache-2.0"
] | null | null | null | fsm/fsm.go | KnifeFly/toykv | 6e5d7c2cbcf52c4828e9daa0eaa40d16984db37d | [
"Apache-2.0"
] | null | null | null | fsm/fsm.go | KnifeFly/toykv | 6e5d7c2cbcf52c4828e9daa0eaa40d16984db37d | [
"Apache-2.0"
] | null | null | null | package fsm
import (
"encoding/json"
"fmt"
"io"
"log"
"os"
"strings"
"github.com/hashicorp/raft"
)
// RaftFsm Raft fsm
type RaftFsm struct {
store Store
logger *log.Logger
}
// NewFSM return new instances of raft fsm
func NewFSM(dir string) *RaftFsm {
os.MkdirAll(dir, 0755)
return &RaftFsm{
store: N... | 19.926829 | 69 | 0.675031 |
25e7803de1e8ec21af5221b222127a64aa9b266e | 1,772 | swift | Swift | CorporateCup/Corporate-Cup/Core/Cells/PalmaresRankTableViewCell.swift | wesleyaurore/Groupe6_WebP2019 | 5eacad50ae40000e782c2c7d646c2bb824020d59 | [
"MIT"
] | null | null | null | CorporateCup/Corporate-Cup/Core/Cells/PalmaresRankTableViewCell.swift | wesleyaurore/Groupe6_WebP2019 | 5eacad50ae40000e782c2c7d646c2bb824020d59 | [
"MIT"
] | null | null | null | CorporateCup/Corporate-Cup/Core/Cells/PalmaresRankTableViewCell.swift | wesleyaurore/Groupe6_WebP2019 | 5eacad50ae40000e782c2c7d646c2bb824020d59 | [
"MIT"
] | null | null | null | //
// RankingTableViewCell.swift
// Corporate-Cup
//
// Created by wesley on 13/05/2019.
// Copyright © 2019 corporate-cup. All rights reserved.
//
import UIKit
class PalmaresRankTableViewCell: UITableViewCell {
// Properties
@IBOutlet weak var rank: UILabel!
@IBOutlet weak var avatar: UIImageView!
... | 29.04918 | 102 | 0.621896 |
4298ad902896b7f305c7773aa62ad22dd4ce68aa | 457 | asm | Assembly | oeis/101/A101669.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/101/A101669.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/101/A101669.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A101669: Fixed point of morphism 0 -> 01, 1 -> 20, 2 -> 01.
; Submitted by Jon Maiga
; 0,1,2,0,0,1,0,1,0,1,2,0,0,1,2,0,0,1,2,0,0,1,0,1,0,1,2,0,0,1,0,1,0,1,2,0,0,1,0,1,0,1,2,0,0,1,2,0,0,1,2,0,0,1,0,1,0,1,2,0,0,1,2,0,0,1,2,0,0,1,0,1,0,1,2,0,0,1,2,0,0,1,2,0,0,1,0,1,0,1,2,0,0,1,0,1,0,1,2,0
mov $2,$0
mod $0,2
add $0,12
m... | 26.882353 | 201 | 0.571116 |
ff7b2766a4c7cc1d2efaf4ad4e1ea155b6a11c11 | 859 | ps1 | PowerShell | Create Certificate.ps1 | nhs-digital-gp-it-futures/BuyingCatalogueIdentity | d30b923e3ba1bce059e40ddd2366623d34ec1fd1 | [
"MIT"
] | 1 | 2020-07-03T12:08:52.000Z | 2020-07-03T12:08:52.000Z | Create Certificate.ps1 | nhs-digital-gp-it-futures/BuyingCatalogueIdentity | d30b923e3ba1bce059e40ddd2366623d34ec1fd1 | [
"MIT"
] | 119 | 2020-03-12T11:08:33.000Z | 2021-12-13T11:08:08.000Z | Create Certificate.ps1 | nhs-digital-gp-it-futures/BuyingCatalogueIdentity | d30b923e3ba1bce059e40ddd2366623d34ec1fd1 | [
"MIT"
] | 1 | 2020-07-03T12:08:54.000Z | 2020-07-03T12:08:54.000Z | $mkcertVersion = 'v1.4.3';
$mkcertDir = Get-Location | Join-Path -ChildPath 'mkcert';
$outFile = Join-Path $mkcertDir -ChildPath 'mkcert.exe';
New-Item -ItemType Directory -Path $mkcertDir -ErrorAction SilentlyContinue;
if (-not(Test-Path $outFile -PathType Leaf))
{
Invoke-WebRequest -Uri "https://github.com/FiloSo... | 39.045455 | 156 | 0.750873 |
dfee80902caed69c98d8eca6aee3ec1d930b175f | 974 | ts | TypeScript | src/modules/nav-persistence/nav-persistence-adapter.service.ts | AlexSamarkin/alexsamarkin.com-server | d10020209592f7ac21e4885451f47e5a3fbb0cb8 | [
"MIT"
] | null | null | null | src/modules/nav-persistence/nav-persistence-adapter.service.ts | AlexSamarkin/alexsamarkin.com-server | d10020209592f7ac21e4885451f47e5a3fbb0cb8 | [
"MIT"
] | null | null | null | src/modules/nav-persistence/nav-persistence-adapter.service.ts | AlexSamarkin/alexsamarkin.com-server | d10020209592f7ac21e4885451f47e5a3fbb0cb8 | [
"MIT"
] | null | null | null | import {LoadNavPort} from "../../domain/ports/out/load-navigation.port";
import {GraphqlRequestService} from "../graphql-request/graphql-request.service";
import {Locale} from "../../domain/entities/locale";
import {Navigation} from "../../domain/entities/navigation";
import navsQuery from "../../graphql/queries/extern... | 37.461538 | 81 | 0.655031 |
39790030953dd3a22ebd5c76118c429f791a4af3 | 770 | html | HTML | dest/html/b.html | build-future/build-future-simple-template | 312759721e2d92b09088f6b0e38da310f7f54cba | [
"MIT"
] | null | null | null | dest/html/b.html | build-future/build-future-simple-template | 312759721e2d92b09088f6b0e38da310f7f54cba | [
"MIT"
] | null | null | null | dest/html/b.html | build-future/build-future-simple-template | 312759721e2d92b09088f6b0e38da310f7f54cba | [
"MIT"
] | null | null | null | <!DOCTYPE html><html lang=en><meta charset=UTF-8><title>Build Future -- SimpleTemplate</title><link href=css/animate.css rel=stylesheet><link href=css/index.css rel=stylesheet><div class="spin block"><span style="vertical-align: top;line-height: 50px">S</span></div><div class="spin block"><span style="vertical-align: t... | 770 | 770 | 0.731169 |
20f2f51da2866f362a55f7b04daa15f2202dd958 | 878 | css | CSS | TributePage/css/style.css | mtevfik41/FCC-ResponsiveDesignProjects | 92170b0dcf5dc3f3f5a30c54d1b4b540378f7b89 | [
"MIT",
"Unlicense"
] | null | null | null | TributePage/css/style.css | mtevfik41/FCC-ResponsiveDesignProjects | 92170b0dcf5dc3f3f5a30c54d1b4b540378f7b89 | [
"MIT",
"Unlicense"
] | null | null | null | TributePage/css/style.css | mtevfik41/FCC-ResponsiveDesignProjects | 92170b0dcf5dc3f3f5a30c54d1b4b540378f7b89 | [
"MIT",
"Unlicense"
] | null | null | null | @import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
* {
margin: 0;
padding: 0;
}
body {
background-color: #b59c89;
font-family: 'Roboto', sans-serif;
line-height: 1.2;
}
#main {
text-align: center;
margin: 2rem;
}
#main #title {
padding: 2rem;
}
#main #title h1,
#main #titl... | 12.194444 | 76 | 0.612756 |
4c76dafe021278dd8ad2362ad0fc11d988983e95 | 149 | sql | SQL | integration_tests/projects/001_flow_run_with_selectors/models/agent_wait_time.sql | emekdahl/fal | 8a6670a2a1940cdd3e838073894d643e1050b654 | [
"Apache-2.0"
] | 360 | 2021-11-10T18:43:03.000Z | 2022-03-31T14:57:19.000Z | integration_tests/projects/001_flow_run_with_selectors/models/agent_wait_time.sql | emekdahl/fal | 8a6670a2a1940cdd3e838073894d643e1050b654 | [
"Apache-2.0"
] | 64 | 2021-11-11T22:05:53.000Z | 2022-03-30T18:14:05.000Z | integration_tests/projects/001_flow_run_with_selectors/models/agent_wait_time.sql | emekdahl/fal | 8a6670a2a1940cdd3e838073894d643e1050b654 | [
"Apache-2.0"
] | 9 | 2021-12-17T02:49:36.000Z | 2022-03-31T14:57:21.000Z | {{ config(materialized='table', tags='daily') }}
with source_data as (
select y, ds from {{ ref('time_series') }}
)
select *
from source_data
| 14.9 | 48 | 0.651007 |
e7ea53499a1036ff66a19b087caa1e1bd3155a2f | 14,582 | lua | Lua | lua/gDuel/vgui/cl_vgui.lua | DidVaitel/gDuels | 5bd19e5ca2d4402d438e3a448679bf05dce38b7d | [
"Apache-2.0"
] | null | null | null | lua/gDuel/vgui/cl_vgui.lua | DidVaitel/gDuels | 5bd19e5ca2d4402d438e3a448679bf05dce38b7d | [
"Apache-2.0"
] | null | null | null | lua/gDuel/vgui/cl_vgui.lua | DidVaitel/gDuels | 5bd19e5ca2d4402d438e3a448679bf05dce38b7d | [
"Apache-2.0"
] | 2 | 2020-05-16T09:10:24.000Z | 2022-02-27T23:35:56.000Z | --[[
Created by DidVaitel (http://steamcommunity.com/profiles/76561198108670811)
]]
gDuel.vgui = gDuel.vgui or {}
local function gDuelMenu()
local w, h = ScrW() * .7, ScrH() * .7
local selectedPlayer = nil
local selectedDuel = 1
local curWager = 0
local Leaders = net.ReadTable()
// Our main frame
local... | 36.183623 | 251 | 0.502469 |
e1b463cfcbc4efdd9547d7e4a999f4a91e497d41 | 2,607 | sql | SQL | ETL_Select.sql | nletcher/SQL-Challenge | d1b3f4e1146735e8d994f5249604f4d59aee76ec | [
"ADSL"
] | null | null | null | ETL_Select.sql | nletcher/SQL-Challenge | d1b3f4e1146735e8d994f5249604f4d59aee76ec | [
"ADSL"
] | null | null | null | ETL_Select.sql | nletcher/SQL-Challenge | d1b3f4e1146735e8d994f5249604f4d59aee76ec | [
"ADSL"
] | null | null | null | -- List the following details of each employee: employee number, last name, first name, sex, and salary.
SELECT e.emp_no, e.last_name, e.first_name, e.sex, s.salary
FROM Employee AS e
INNER JOIN Salaries AS s
ON e.emp_no = s.emp_no;
-- List first name, last name, and hire date for Employee who were hired in 1986.
SELE... | 34.76 | 160 | 0.764097 |
d25dd3490f735a69ae588e529ca3d202d1b765a7 | 2,782 | dart | Dart | lib/data/providers/exam_provider.dart | enzanumo/CustedNG | 2964bc01ab3949df379b1a7564d0a61b0fee2f99 | [
"Apache-2.0"
] | 38 | 2020-02-03T01:34:23.000Z | 2022-03-22T09:20:00.000Z | lib/data/providers/exam_provider.dart | enzanumo/CustedNG | 2964bc01ab3949df379b1a7564d0a61b0fee2f99 | [
"Apache-2.0"
] | 5 | 2020-10-01T05:31:59.000Z | 2022-02-18T12:13:40.000Z | lib/data/providers/exam_provider.dart | enzanumo/CustedNG | 2964bc01ab3949df379b1a7564d0a61b0fee2f99 | [
"Apache-2.0"
] | 14 | 2020-02-03T01:34:28.000Z | 2021-12-11T07:23:13.000Z | import 'dart:async';
import 'package:custed2/core/provider/busy_provider.dart';
import 'package:custed2/data/models/jw_exam.dart';
import 'package:custed2/data/store/exam_store.dart';
import 'package:custed2/locator.dart';
import 'package:custed2/service/custed_service.dart';
import 'package:custed2/service/jw_service... | 23.982759 | 77 | 0.624012 |
0c500c135387d8339d1d902a0311c7491fcd1364 | 249 | lua | Lua | src/utils/Shaders.lua | eniallator/2D-Random-Terrain-RPG | d70e741d2c39f0930fb40d0c711801866f6d3aba | [
"MIT"
] | null | null | null | src/utils/Shaders.lua | eniallator/2D-Random-Terrain-RPG | d70e741d2c39f0930fb40d0c711801866f6d3aba | [
"MIT"
] | null | null | null | src/utils/Shaders.lua | eniallator/2D-Random-Terrain-RPG | d70e741d2c39f0930fb40d0c711801866f6d3aba | [
"MIT"
] | null | null | null | return {
blackAndWhite = love.graphics.newShader('src/shaders/BlackAndWhite.frag'),
HSColourPicker = love.graphics.newShader('src/shaders/HSColourPicker.frag'),
VColourPicker = love.graphics.newShader('src/shaders/VColourPicker.frag')
}
| 41.5 | 80 | 0.767068 |
b1e01c26dd13ce399d4bc494f921eb82dde5d290 | 2,183 | h | C | Linux/Sources/Application/Rules/Dialog/CUploadScriptDialog.h | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2015-04-21T16:10:43.000Z | 2021-11-05T13:41:46.000Z | Linux/Sources/Application/Rules/Dialog/CUploadScriptDialog.h | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-11-02T13:32:11.000Z | 2019-07-10T21:11:21.000Z | Linux/Sources/Application/Rules/Dialog/CUploadScriptDialog.h | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-01-12T08:49:12.000Z | 2021-03-27T09:11:10.000Z | /*
Copyright (c) 2007 Cyrus Daboo. 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 re... | 22.978947 | 76 | 0.746221 |
d3a7693c76f89f265865138755475318e783193b | 2,427 | ps1 | PowerShell | tasks/winbuildscripts/unittests.ps1 | kaarolch/datadog-agent | 88d2d9bdc262f3dba3f2b222557f67026bc6f59b | [
"Apache-2.0"
] | null | null | null | tasks/winbuildscripts/unittests.ps1 | kaarolch/datadog-agent | 88d2d9bdc262f3dba3f2b222557f67026bc6f59b | [
"Apache-2.0"
] | null | null | null | tasks/winbuildscripts/unittests.ps1 | kaarolch/datadog-agent | 88d2d9bdc262f3dba3f2b222557f67026bc6f59b | [
"Apache-2.0"
] | null | null | null | $Password = ConvertTo-SecureString "dummyPW_:-gch6Rejae9" -AsPlainText -Force
New-LocalUser -Name "ddagentuser" -Description "Test user for the secrets feature on windows." -Password $Password
$Env:Python2_ROOT_DIR=$Env:TEST_EMBEDDED_PY2
$Env:Python3_ROOT_DIR=$Env:TEST_EMBEDDED_PY3
if ($Env:NEW_BUILDER -eq "true") {
... | 34.671429 | 214 | 0.710342 |
e1fcb795aaf7b92172a4bd6ddd027df3ab2203fc | 3,333 | sql | SQL | dmsdev/get_psutil_cpu.sql | PNNL-Comp-Mass-Spec/DBSchema_PgSQL_DMS | ef47cf47622522159ed1a670dfa14d020482cf6a | [
"Apache-2.0"
] | 3 | 2020-02-15T13:31:39.000Z | 2022-01-30T20:59:54.000Z | dmsdev/get_psutil_cpu.sql | PNNL-Comp-Mass-Spec/DBSchema_PgSQL_DMS | ef47cf47622522159ed1a670dfa14d020482cf6a | [
"Apache-2.0"
] | null | null | null | dmsdev/get_psutil_cpu.sql | PNNL-Comp-Mass-Spec/DBSchema_PgSQL_DMS | ef47cf47622522159ed1a670dfa14d020482cf6a | [
"Apache-2.0"
] | null | null | null | --
-- Name: get_psutil_cpu(); Type: FUNCTION; Schema: public; Owner: d3l243
--
CREATE OR REPLACE FUNCTION public.get_psutil_cpu(OUT cpu_utilization double precision, OUT load_1m_norm double precision, OUT load_1m double precision, OUT load_5m_norm double precision, OUT load_5m double precision, OUT "user" double p... | 68.020408 | 416 | 0.782478 |
53df4101e63f61e24a99d64ea64ec3f05c0aba5e | 404 | java | Java | src/backend/math/ProductNode.java | matt-mosca/slogo | d18daea1b4b52e89e795eda71c045a4b569a5ef8 | [
"MIT"
] | null | null | null | src/backend/math/ProductNode.java | matt-mosca/slogo | d18daea1b4b52e89e795eda71c045a4b569a5ef8 | [
"MIT"
] | null | null | null | src/backend/math/ProductNode.java | matt-mosca/slogo | d18daea1b4b52e89e795eda71c045a4b569a5ef8 | [
"MIT"
] | null | null | null | package backend.math;
import backend.VarArgNode;
import java.util.Arrays;
/**
* Syntax node for computing the product of all its operands, of which there can be an arbitrary number.
*
* @author Ben Schwennesen
*/
public class ProductNode extends VarArgNode {
@Override
public double executeSelf(double... o... | 19.238095 | 104 | 0.70297 |
6466d5d953f8e727df141d562ed74ba04ba5416b | 3,240 | dart | Dart | lib/main.dart | jerolimov/yo-flutter | 5dfc6893e446374a5fe922c349140a98f4df6ec4 | [
"Apache-2.0"
] | null | null | null | lib/main.dart | jerolimov/yo-flutter | 5dfc6893e446374a5fe922c349140a98f4df6ec4 | [
"Apache-2.0"
] | null | null | null | lib/main.dart | jerolimov/yo-flutter | 5dfc6893e446374a5fe922c349140a98f4df6ec4 | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:scoped_model/scoped_model.dart';
import 'session_model.dart';
import 'friends_model.dart';
import 'person.dart';
Future<void> main() async {
var sessionModel = SessionModel();
runApp(ScopedModel<SessionModel>(
model: sessionModel,
child: ScopedModel<... | 27.226891 | 88 | 0.551852 |
4035236012b28c475e949ea7b823a940d73dbb36 | 3,643 | py | Python | tests/proto_dir/exonum_modules/main/exonum/key_value_sequence_pb2.py | aleksuss/exonum-python-client | 5e7ff330440cd2fe2c5b707a0cff46048b311ea2 | [
"Apache-2.0"
] | 5 | 2019-10-04T13:16:06.000Z | 2022-01-06T08:53:28.000Z | tests/proto_dir/exonum_modules/main/exonum/key_value_sequence_pb2.py | aleksuss/exonum-python-client | 5e7ff330440cd2fe2c5b707a0cff46048b311ea2 | [
"Apache-2.0"
] | 30 | 2019-11-28T07:06:36.000Z | 2022-02-11T02:59:05.000Z | tests/proto_dir/exonum_modules/main/exonum/key_value_sequence_pb2.py | aleksuss/exonum-python-client | 5e7ff330440cd2fe2c5b707a0cff46048b311ea2 | [
"Apache-2.0"
] | 11 | 2019-10-03T10:58:42.000Z | 2022-01-06T07:29:12.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: exonum/key_value_sequence.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_dat... | 31.136752 | 298 | 0.751578 |
56defc31107935e455e201d30492777023d2d83b | 713 | ts | TypeScript | src/libs/createCtx.ts | HongodoriDEVs/cappuccino-app | 824cf2295cebae85b762b6c7a21cbbe94bf1d0ee | [
"MIT"
] | 16 | 2021-03-30T09:22:05.000Z | 2022-03-06T06:43:53.000Z | src/libs/createCtx.ts | HongodoriDEVs/cappuccino-app | 824cf2295cebae85b762b6c7a21cbbe94bf1d0ee | [
"MIT"
] | 110 | 2021-04-03T10:06:17.000Z | 2022-02-27T09:10:04.000Z | src/libs/createCtx.ts | HongodoriDEVs/cappuccino-app | 824cf2295cebae85b762b6c7a21cbbe94bf1d0ee | [
"MIT"
] | 1 | 2022-03-08T07:16:01.000Z | 2022-03-08T07:16:01.000Z | import { Provider, createContext, useContext } from "react";
/**
* undefined を許さない createContext の wrapper
* <br>
* [【React】デフォルト値もundefinedチェックもいらないcreateContext【Typescript】 \- Qiita](https://qiita.com/johnmackay150/items/88654e5064290c24a32a)
*
* @return `[useCtx, CtxProvider]`
*
* @throws useCtx must be insi... | 29.708333 | 131 | 0.706872 |
d09b9fdff2a771acd791000c748a4ffff128d506 | 5,224 | sql | SQL | DMS5/UpdateMaterialLocations.sql | viswaratha12/dbwarden | 3931accda4fb401d21b6cb272fe3d6959915ceb8 | [
"Apache-2.0"
] | 2 | 2018-04-03T05:18:15.000Z | 2020-04-23T04:00:25.000Z | DMS5/UpdateMaterialLocations.sql | viswaratha12/dbwarden | 3931accda4fb401d21b6cb272fe3d6959915ceb8 | [
"Apache-2.0"
] | null | null | null | DMS5/UpdateMaterialLocations.sql | viswaratha12/dbwarden | 3931accda4fb401d21b6cb272fe3d6959915ceb8 | [
"Apache-2.0"
] | 4 | 2016-05-14T17:56:55.000Z | 2020-01-23T12:02:25.000Z | /****** Object: StoredProcedure [dbo].[UpdateMaterialLocations] ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE Procedure dbo.UpdateMaterialLocations
/****************************************************
**
** Desc:
** Change properties of given set of material locations
**
** @locationLis... | 31.095238 | 87 | 0.5067 |
92a66f5c4992b9af5267ac8b5d6edfa196f66486 | 1,924 | dart | Dart | lib/src/ui/c_controller_impl/pineaple_pos_controller_impl.dart | Root-101/pineaple_pos_client | cfcbf7f1f7102175a3c0e5a9d4f43729166d9a3a | [
"Apache-2.0"
] | 2 | 2022-03-22T23:47:50.000Z | 2022-03-24T15:15:54.000Z | lib/src/ui/c_controller_impl/pineaple_pos_controller_impl.dart | Root-101/pineaple_pos_client | cfcbf7f1f7102175a3c0e5a9d4f43729166d9a3a | [
"Apache-2.0"
] | null | null | null | lib/src/ui/c_controller_impl/pineaple_pos_controller_impl.dart | Root-101/pineaple_pos_client | cfcbf7f1f7102175a3c0e5a9d4f43729166d9a3a | [
"Apache-2.0"
] | null | null | null | import 'package:get/get.dart';
import 'package:pineaple_pos_client/clean/controller/default_crud_controller_async.dart';
import 'package:pineaple_pos_client/pineaple_exporter.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
class PineaplePosControllerImpl
extends DefaultCRUDControllerAsync<PineaplePos... | 32.610169 | 95 | 0.752079 |
86807f971a8db1f95bcb23866165cf23594b5856 | 1,418 | go | Go | main.go | Dewberry/mcat-hms | 6caa76b4beb66442d1774774aa7cfc3c76c9f9ee | [
"MIT"
] | null | null | null | main.go | Dewberry/mcat-hms | 6caa76b4beb66442d1774774aa7cfc3c76c9f9ee | [
"MIT"
] | 1 | 2022-03-08T20:34:33.000Z | 2022-03-08T20:34:33.000Z | main.go | Dewberry/mcat-hms | 6caa76b4beb66442d1774774aa7cfc3c76c9f9ee | [
"MIT"
] | null | null | null | package main
// @title HMS MCAT API
// @version 1.0
// @description API for the HMS MCAT
// @termsOfService http://swagger.io/terms/
// @contact.name API Support
// @contact.email slawler@dewberry.com
// @host localhost:5900
import (
"app/config"
// _ "app/docs"
"app/handlers"
"app/pgdb"
"github.com/labstack/ec... | 26.259259 | 71 | 0.722144 |
53bfb6d5dc6705ff01378fb0a712b80ff17486f5 | 1,430 | java | Java | Classwork/Object-Oriented Programming/Chapter4/src/Calculator.java | narlock/java-archive | 4910d42d54f3d3dfb333727a70d8a9d9ffa5b03d | [
"MIT"
] | null | null | null | Classwork/Object-Oriented Programming/Chapter4/src/Calculator.java | narlock/java-archive | 4910d42d54f3d3dfb333727a70d8a9d9ffa5b03d | [
"MIT"
] | null | null | null | Classwork/Object-Oriented Programming/Chapter4/src/Calculator.java | narlock/java-archive | 4910d42d54f3d3dfb333727a70d8a9d9ffa5b03d | [
"MIT"
] | null | null | null | /*
* Calculator Example
* By: Anthony Narlock
* Date: January 28th, 2020
*/
import java.util.Scanner;
public class Calculator {
public static double getSum(double num1, double num2) {
return num1 + num2;
}
public static double getSubSum(double num1, double num2) {
return num1 - num2;
}
public stat... | 20.724638 | 61 | 0.622378 |
acd7b50fdbfad21489eedbe7326e6432ff61d966 | 470 | asm | Assembly | session_02/02-array4/array4.asm | DigiOhhh/LabArchitettura2-2017-2018 | da34b9a75ab2945ac70d5cbf69395d0db5172f6f | [
"MIT"
] | 1 | 2019-03-06T13:26:10.000Z | 2019-03-06T13:26:10.000Z | session_02/02-array4/array4.asm | DigiOhhh/LabArchitettura2-2017-2018 | da34b9a75ab2945ac70d5cbf69395d0db5172f6f | [
"MIT"
] | null | null | null | session_02/02-array4/array4.asm | DigiOhhh/LabArchitettura2-2017-2018 | da34b9a75ab2945ac70d5cbf69395d0db5172f6f | [
"MIT"
] | 1 | 2019-03-06T13:25:28.000Z | 2019-03-06T13:25:28.000Z | .data
A: .space 16 # Alloca 16 bytes per A
.text
.globl main
main:
la $t0, A # Scrive base address di A in $t0
addi $t1, $zero, 0 # $t1 = 0
sw $t1, 0($t0) # A[0] = 0
addi $t1, $zero, 4 # $t1 = 4
addi $t0, $t0, 4 # indirizzo di A[1]
sw $t1, 0($t0) # A[1] = 4
addi $t1, $zero, 8 # $t1 = 8
addi $t0, $t0,... | 22.380952 | 45 | 0.510638 |
04f70fea466ae8be8d81f5d34945dae7f33931e9 | 4,293 | java | Java | adventure-editor/src/main/java/com/bladecoder/engineeditor/ui/components/ActorAnimationInputPanel.java | leereilly/bladecoder-adventure-engine | f696e84821cf26f6ccb2e3b2cc732f41102c9598 | [
"Apache-2.0"
] | 1 | 2021-05-12T06:08:03.000Z | 2021-05-12T06:08:03.000Z | adventure-editor/src/main/java/com/bladecoder/engineeditor/ui/components/ActorAnimationInputPanel.java | leereilly/bladecoder-adventure-engine | f696e84821cf26f6ccb2e3b2cc732f41102c9598 | [
"Apache-2.0"
] | null | null | null | adventure-editor/src/main/java/com/bladecoder/engineeditor/ui/components/ActorAnimationInputPanel.java | leereilly/bladecoder-adventure-engine | f696e84821cf26f6ccb2e3b2cc732f41102c9598 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2014 Rafael Garcia Moreno.
*
* 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://w... | 27.696774 | 117 | 0.676683 |
81c1c493ece3de263c969d6b612ab1f852df3ef1 | 394 | html | HTML | NewsPaper/templates/news/post_edit.html | alsigna/skillfactory_fpw | 1f5b59cddc7d53a826ea623b3191e6a9bdc056be | [
"MIT"
] | null | null | null | NewsPaper/templates/news/post_edit.html | alsigna/skillfactory_fpw | 1f5b59cddc7d53a826ea623b3191e6a9bdc056be | [
"MIT"
] | null | null | null | NewsPaper/templates/news/post_edit.html | alsigna/skillfactory_fpw | 1f5b59cddc7d53a826ea623b3191e6a9bdc056be | [
"MIT"
] | null | null | null | {% extends "default.html" %}
{% block title %}
Пост
{% endblock title %}
{% block content %}
<h1>Пост</h1>
<form action="" method="POST">
{% csrf_token %}
{{ form.as_p }}
<!-- <input type="submit" value="Save"> -->
<a class="btn btn-secondary" href="{{ return_url }}">Cancel</a>
<input class="btn b... | 21.888889 | 67 | 0.583756 |
043b569636f0ba1f6bc10353c79291a010e409cf | 7,159 | java | Java | src/main/java/net/sourceforge/pebble/event/response/IpAddressListener.java | Mantheshmanju/pebble | 9bc1c98d15e5f09f51a00611c3cbc51084d26907 | [
"Apache-1.1",
"BSD-3-Clause"
] | 43 | 2015-02-09T12:17:01.000Z | 2022-02-20T17:46:51.000Z | src/main/java/net/sourceforge/pebble/event/response/IpAddressListener.java | Mantheshmanju/pebble | 9bc1c98d15e5f09f51a00611c3cbc51084d26907 | [
"Apache-1.1",
"BSD-3-Clause"
] | 3 | 2015-07-08T06:50:27.000Z | 2020-04-06T15:38:40.000Z | src/main/java/net/sourceforge/pebble/event/response/IpAddressListener.java | Mahesh0390/test1 | 5987999d80f5a099ee70d0491487d1c140438051 | [
"Apache-1.1",
"BSD-3-Clause"
] | 51 | 2015-02-10T12:31:52.000Z | 2020-08-20T09:53:55.000Z | /*
* Copyright (c) 2003-2011, Simon Brown
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of ... | 34.921951 | 134 | 0.684453 |
d76ef4b65d60f059a97483f2f8d15d92e7797d82 | 851 | swift | Swift | 10-all-playgrounds-for-part-2/begin/Part 2 - (ALL EPISODES) Beginning Collections - Begin.playground/Pages/04 - Arrays.xcplaygroundpage/Contents.swift | ucwealth/video-ps1-materials | b64796d4a039633645f3acf77584610d9863fa3c | [
"Apache-2.0"
] | null | null | null | 10-all-playgrounds-for-part-2/begin/Part 2 - (ALL EPISODES) Beginning Collections - Begin.playground/Pages/04 - Arrays.xcplaygroundpage/Contents.swift | ucwealth/video-ps1-materials | b64796d4a039633645f3acf77584610d9863fa3c | [
"Apache-2.0"
] | null | null | null | 10-all-playgrounds-for-part-2/begin/Part 2 - (ALL EPISODES) Beginning Collections - Begin.playground/Pages/04 - Arrays.xcplaygroundpage/Contents.swift | ucwealth/video-ps1-materials | b64796d4a039633645f3acf77584610d9863fa3c | [
"Apache-2.0"
] | null | null | null | //: [⇐ Previous: 03 - Challenge - Tuples](@previous)
//: ## Episode 04: Arrays
var pastries: [String] = ["buns", "cake", "donut", "chocolate"]
pastries[0]
let firstThree = Array(pastries[1...3])
firstThree[0]
pastries.append("juma")
//pastries.removeAll()
pastries.insert("popcorn", at: 2)
pastries.remove(at: 0)
pastrie... | 27.451613 | 107 | 0.685076 |
4ca70f0a16f64826af94df1cf96c659f9961b19d | 1,973 | swift | Swift | Source/Node+References.swift | s4cha/Komponents | 2a69b49bd7e00fc61f0887455205fd102b3b105a | [
"MIT"
] | 9 | 2020-01-05T14:51:27.000Z | 2021-09-19T15:15:14.000Z | Source/Node+References.swift | freshOS/Komponents-Deprecated | 2a69b49bd7e00fc61f0887455205fd102b3b105a | [
"MIT"
] | null | null | null | Source/Node+References.swift | freshOS/Komponents-Deprecated | 2a69b49bd7e00fc61f0887455205fd102b3b105a | [
"MIT"
] | null | null | null | //
// Node+References.swift
// Komponents
//
// Created by Sacha Durand Saint Omer on 12/05/2017.
// Copyright © 2017 freshOS. All rights reserved.
//
import UIKit
import MapKit
func linkReference(of node: IsNode, to view: UIView) {
if let node = node as? View {
node.ref?.pointee = view
}
if l... | 31.822581 | 95 | 0.603142 |
420be3711fd299f69dbc3e5c80c3650f29ac6fe6 | 2,708 | kt | Kotlin | src/main/java/com/mrkirby153/tgabot/commands/AdminCommands.kt | mrkirby153/TGABot | 12ea81ce527749ab7637db36a42adfd5829782c4 | [
"MIT"
] | 1 | 2019-02-21T12:38:52.000Z | 2019-02-21T12:38:52.000Z | src/main/java/com/mrkirby153/tgabot/commands/AdminCommands.kt | mrkirby153/TGABot | 12ea81ce527749ab7637db36a42adfd5829782c4 | [
"MIT"
] | null | null | null | src/main/java/com/mrkirby153/tgabot/commands/AdminCommands.kt | mrkirby153/TGABot | 12ea81ce527749ab7637db36a42adfd5829782c4 | [
"MIT"
] | null | null | null | package com.mrkirby153.tgabot.commands
import com.mrkirby153.botcore.command.Command
import com.mrkirby153.botcore.command.Context
import com.mrkirby153.botcore.command.args.CommandContext
import com.mrkirby153.tgabot.Bot
import com.mrkirby153.tgabot.listener.PollListener
import com.mrkirby153.tgabot.listener.Reaction... | 45.133333 | 134 | 0.67836 |
498a1190454f67e243a8081cd6418f860de30eaf | 2,699 | html | HTML | angular-demos/lists/list-chat-sample/src/app/list-chat-sample/list-chat-sample.component.html | IgniteUI/igniteui-live-editing-samples | e5f2c29fa4fbe5c288f731f27f91a684a136bd43 | [
"Apache-2.0"
] | 4 | 2020-09-28T00:04:33.000Z | 2022-01-07T07:12:00.000Z | angular-demos/lists/list-chat-sample/src/app/list-chat-sample/list-chat-sample.component.html | IgniteUI/igniteui-live-editing-samples | e5f2c29fa4fbe5c288f731f27f91a684a136bd43 | [
"Apache-2.0"
] | 2 | 2020-09-18T11:53:58.000Z | 2021-11-12T11:16:08.000Z | angular-demos/lists/list-chat-sample/src/app/list-chat-sample/list-chat-sample.component.html | IgniteUI/igniteui-live-editing-samples | e5f2c29fa4fbe5c288f731f27f91a684a136bd43 | [
"Apache-2.0"
] | 4 | 2020-08-10T09:12:30.000Z | 2022-01-08T05:10:45.000Z | <div class="chat-sample-wrapper">
<form class="chat-sample__form">
<igx-list #list>
<ng-template #othersMessage let-message="message" let-contact="contact" let-messageIndex="index">
<igx-list-item class="contact" *ngIf="isFirstMessage(messageIndex)">
<div clas... | 49.981481 | 172 | 0.51093 |
2682408cba10f4eb0202d4cd7bc9d33fcfae94f6 | 961 | java | Java | Libreria/src/vista/BarraMenuUs.java | jesusds7/Libreria | 475261d718e75e8134207ad6feb739f9d827fa4e | [
"Artistic-2.0"
] | null | null | null | Libreria/src/vista/BarraMenuUs.java | jesusds7/Libreria | 475261d718e75e8134207ad6feb739f9d827fa4e | [
"Artistic-2.0"
] | null | null | null | Libreria/src/vista/BarraMenuUs.java | jesusds7/Libreria | 475261d718e75e8134207ad6feb739f9d827fa4e | [
"Artistic-2.0"
] | null | null | null | package vista;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import controlador.Controlador;
public class BarraMenuUs extends JMenuBar{
private static final long serialVersionUID = 1L;
private JMenu menuArchivo;
private JMenuItem itemComprar;
private JMenuItem it... | 28.264706 | 74 | 0.782518 |
04e5673279d4d58bd073adf0bc1517500d0e3c2d | 646 | java | Java | Spring-Projects/EXAM PREP 3/ColonialCouncilBank/src/main/java/app/ccb/repositories/EmployeeRepository.java | DenislavVelichkov/Java-DBS-Module-June-2019 | 643422bf41d99af1e0bbd3898fa5adfba8b2c36c | [
"MIT"
] | null | null | null | Spring-Projects/EXAM PREP 3/ColonialCouncilBank/src/main/java/app/ccb/repositories/EmployeeRepository.java | DenislavVelichkov/Java-DBS-Module-June-2019 | 643422bf41d99af1e0bbd3898fa5adfba8b2c36c | [
"MIT"
] | 1 | 2020-09-09T19:43:19.000Z | 2020-09-09T19:43:19.000Z | Spring-Projects/EXAM PREP 3/ColonialCouncilBank/src/main/java/app/ccb/repositories/EmployeeRepository.java | DenislavVelichkov/Java-DBS-Module-June-2019 | 643422bf41d99af1e0bbd3898fa5adfba8b2c36c | [
"MIT"
] | null | null | null | package app.ccb.repositories;
import app.ccb.domain.entities.Employee;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Optional;
@Repository
public interface E... | 30.761905 | 83 | 0.786378 |
6f461d547801298e8aea52752602a89f8b8692e9 | 3,278 | lua | Lua | 6_setup/additional_files/zh/mm8/zh_update/Scripts/Structs/After/RemoveOutdoorLimits.lua | might-and-magic/mm678_i18n | ddc37c743ac37169908641dcd5328a7ccae5138f | [
"MIT"
] | 17 | 2020-02-25T14:37:23.000Z | 2022-02-21T15:33:09.000Z | 6_setup/additional_files/zh/mm8/zh_update/Scripts/Structs/After/RemoveOutdoorLimits.lua | might-and-magic/mm678_i18n | ddc37c743ac37169908641dcd5328a7ccae5138f | [
"MIT"
] | 1 | 2022-01-09T02:14:56.000Z | 2022-02-13T10:08:11.000Z | 6_setup/additional_files/zh/mm8/zh_update/Scripts/Structs/After/RemoveOutdoorLimits.lua | might-and-magic/mm678_i18n | ddc37c743ac37169908641dcd5328a7ccae5138f | [
"MIT"
] | 3 | 2020-10-06T20:38:13.000Z | 2021-02-17T02:11:17.000Z | local i4, i2, i1, u4, u2, u1, i8, u8 = mem.i4, mem.i2, mem.i1, mem.u4, mem.u2, mem.u1, mem.i8, mem.u8
local mmver = offsets.MMVersion
mem.IgnoreProtection(true)
local OldCount = 2000
local NewCount = (FacetRefsLimit or 8192) + 6000
if mmver == 6 then
local PolySize = 84
local dn = NewCount - OldCount
local Offse... | 29.00885 | 194 | 0.721171 |
26975674f6cb51ec4f7e647175c122823f9432b9 | 675 | java | Java | nico-nolog/src/main/java/org/nico/log/extra/Log4j.java | ainilili/NoFramework | 44a56dc1b885d9e3293e910df68392b3bf95e7c3 | [
"Apache-2.0"
] | 4 | 2018-11-13T02:29:36.000Z | 2019-10-29T03:13:38.000Z | nico-nolog/src/main/java/org/nico/log/extra/Log4j.java | ainilili/no-framework | 44a56dc1b885d9e3293e910df68392b3bf95e7c3 | [
"Apache-2.0"
] | null | null | null | nico-nolog/src/main/java/org/nico/log/extra/Log4j.java | ainilili/no-framework | 44a56dc1b885d9e3293e910df68392b3bf95e7c3 | [
"Apache-2.0"
] | 1 | 2018-06-29T09:22:34.000Z | 2018-06-29T09:22:34.000Z | package org.nico.log.extra;
import org.apache.log4j.Logger;
import org.apache.log4j.spi.LoggerFactory;
import org.nico.log.Logging;
public class Log4j implements Logging{
private Logger logger;
public Log4j(Class<?> clazz){
this.logger = Logger.getLogger(clazz);
}
public Log4j(String sign){
this.logger =... | 14.673913 | 42 | 0.691852 |
ed63ec1b3cb8cd0728cfd0b1fa1fa703dc82c8dd | 4,880 | swift | Swift | app/ChessAggregator/Modules/ForgotPassword/Views/ForgotPasswordView.swift | NickPuchko/ChessTournamentAggregator_IOS | 7a2f709a01b9ebdac4a6bdc8ddba2fa62f37760a | [
"MIT"
] | 4 | 2020-10-12T10:26:41.000Z | 2021-03-24T19:50:50.000Z | app/ChessAggregator/Modules/ForgotPassword/Views/ForgotPasswordView.swift | NickPuchko/ChessTournamentAggregator_IOS | 7a2f709a01b9ebdac4a6bdc8ddba2fa62f37760a | [
"MIT"
] | null | null | null | app/ChessAggregator/Modules/ForgotPassword/Views/ForgotPasswordView.swift | NickPuchko/ChessTournamentAggregator_IOS | 7a2f709a01b9ebdac4a6bdc8ddba2fa62f37760a | [
"MIT"
] | 2 | 2020-10-13T14:50:24.000Z | 2020-11-01T20:11:09.000Z | //
// Created by Максим Сурков on 07.12.2020.
//
import UIKit
class ForgotPasswordView: AutoLayoutView {
let scrollableStackView: ScrollableStackView = {
var result: ScrollableStackView
let config: ScrollableStackView.Config = ScrollableStackView.Config(
stack: ScrollableStackVie... | 34.609929 | 119 | 0.679303 |
b64c7d40bd0d05731d7a27fe5e53dc366daf6e5f | 2,183 | rb | Ruby | config/deploy.rb | jay16/demo.solife | 9b417a927c2f8b62e26e6d0569cf3cce5d51a1c2 | [
"MIT"
] | null | null | null | config/deploy.rb | jay16/demo.solife | 9b417a927c2f8b62e26e6d0569cf3cce5d51a1c2 | [
"MIT"
] | null | null | null | config/deploy.rb | jay16/demo.solife | 9b417a927c2f8b62e26e6d0569cf3cce5d51a1c2 | [
"MIT"
] | null | null | null | #encoding: utf-8
set :domain, "solife.us"
set :application, "carder"
set :scm, :git
set :repository, "https://github.com/jay16/carder"
set :branch, 'master'
# set :scm, :git # You can set :scm explicitly or Capistrano will make an intelligent guess based on known version control directory names
# Or: `accurev`, `bzr... | 34.650794 | 167 | 0.677966 |
f4a0a6e8eb679f3da7c2219263df16986393dc25 | 1,005 | go | Go | solutions/380.go | TheDoctor0/leetcode-golang | ef17559c4646e798db6cd68ff01e4d7c553c4262 | [
"MIT"
] | 1 | 2020-02-12T17:12:46.000Z | 2020-02-12T17:12:46.000Z | solutions/380.go | TheDoctor0/leetcode-golang | ef17559c4646e798db6cd68ff01e4d7c553c4262 | [
"MIT"
] | null | null | null | solutions/380.go | TheDoctor0/leetcode-golang | ef17559c4646e798db6cd68ff01e4d7c553c4262 | [
"MIT"
] | 2 | 2020-03-25T22:32:13.000Z | 2020-08-08T14:32:42.000Z | package solutions
import (
"math/rand"
)
type RandomizedSet struct {
nums []int
numberToIndex map[int]int
}
func Constructor() RandomizedSet {
return RandomizedSet{[]int{}, make(map[int]int)}
}
func (this *RandomizedSet) Insert(val int) bool {
if _, ok := this.numberToIndex[val]; ok {
... | 19.326923 | 56 | 0.60597 |
fb59552cbd7c82d5db55d6208850e1960ec15985 | 4,302 | java | Java | aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/DescribeActivationsResponse.java | rnarla123/aliyun-openapi-java-sdk | 8dc187b1487d2713663710a1d97e23d72a87ffd9 | [
"Apache-2.0"
] | 1 | 2022-02-12T06:01:36.000Z | 2022-02-12T06:01:36.000Z | aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/DescribeActivationsResponse.java | rnarla123/aliyun-openapi-java-sdk | 8dc187b1487d2713663710a1d97e23d72a87ffd9 | [
"Apache-2.0"
] | null | null | null | aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/DescribeActivationsResponse.java | rnarla123/aliyun-openapi-java-sdk | 8dc187b1487d2713663710a1d97e23d72a87ffd9 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | 22.52356 | 84 | 0.725941 |
fb8024daddbf63ec37a3c3261d34767948bb0246 | 1,281 | c | C | src/common/ealloc.c | kalyanam-FMTGA/ray-original | f4f57896015c1c29ca571069b007c409d74824e0 | [
"BSD-3-Clause-LBNL"
] | 154 | 2015-01-27T15:02:36.000Z | 2022-01-06T18:14:18.000Z | src/common/ealloc.c | kalyanam-FMTGA/ray-original | f4f57896015c1c29ca571069b007c409d74824e0 | [
"BSD-3-Clause-LBNL"
] | 35 | 2015-05-11T21:41:31.000Z | 2021-12-17T13:23:57.000Z | src/common/ealloc.c | kalyanam-FMTGA/ray-original | f4f57896015c1c29ca571069b007c409d74824e0 | [
"BSD-3-Clause-LBNL"
] | 64 | 2015-01-21T00:52:40.000Z | 2022-02-07T12:15:09.000Z | #ifndef lint
static const char RCSid[] = "$Id: ealloc.c,v 2.9 2004/03/28 20:33:12 schorsch Exp $";
#endif
/*
* ealloc.c - memory routines which call quit on error.
*/
#include "copyright.h"
#include <stdio.h>
#include <stdlib.h>
#include "rterror.h"
#include "rtmisc.h"
extern void * /* return pointer to n uni... | 15.621951 | 85 | 0.600312 |
5b119af4edd33adef10ccb31e71a5aaf66b1e893 | 5,817 | ps1 | PowerShell | Learning Modules/Utilities/Demo-LoadGenerator.ps1 | JeffBarnard/WingtipTicketsSaaS-MultiTenantDB | fa21ad4f0afcc2d4c44899d3fbe05acbccb0f255 | [
"MIT"
] | 46 | 2019-05-15T15:53:41.000Z | 2022-03-27T18:04:33.000Z | Learning Modules/Utilities/Demo-LoadGenerator.ps1 | JeffBarnard/WingtipTicketsSaaS-MultiTenantDB | fa21ad4f0afcc2d4c44899d3fbe05acbccb0f255 | [
"MIT"
] | 3 | 2018-01-08T01:19:15.000Z | 2018-12-05T02:36:11.000Z | Learning Modules/Utilities/Demo-LoadGenerator.ps1 | JeffBarnard/WingtipTicketsSaaS-MultiTenantDB | fa21ad4f0afcc2d4c44899d3fbe05acbccb0f255 | [
"MIT"
] | 28 | 2019-05-28T19:20:22.000Z | 2022-02-08T05:17:00.000Z | # Invokes load generation on the tenants currently defined in the catalog.
# Duration of the load generation session. Some activity may continue after this time.
$DurationMinutes = 120
# For the Single Tenant burst scenario (scenario 4), this specifies the tenant to be overloaded.
$SingleTenantName = "Contoso C... | 35.907407 | 130 | 0.672684 |
ddb6727acba24e3cfd9abec2166f877d9fc1bc54 | 992 | php | PHP | app/Http/Controllers/AuthenticateController.php | danyalSh/employeeSystem | d890abbd3adf74e705057b9543aa29dedbd7be18 | [
"MIT"
] | null | null | null | app/Http/Controllers/AuthenticateController.php | danyalSh/employeeSystem | d890abbd3adf74e705057b9543aa29dedbd7be18 | [
"MIT"
] | null | null | null | app/Http/Controllers/AuthenticateController.php | danyalSh/employeeSystem | d890abbd3adf74e705057b9543aa29dedbd7be18 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Requests\LoginUserRequest;
use Illuminate\Support\Facades\Auth;
class AuthenticateController extends Controller
{
//
public function login(){
return view('auth.login');
}
public function logi... | 26.810811 | 145 | 0.590726 |
9305a8a0b496db517b22f503987a98f495d15be4 | 11,499 | rs | Rust | crates/client/src/vulkan.rs | wosim-net/wosim | 84b5ea77c304471a68f4345b04a2799e61de6412 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-09-24T16:13:33.000Z | 2021-09-26T02:51:50.000Z | crates/client/src/vulkan.rs | wosim-net/wosim | 84b5ea77c304471a68f4345b04a2799e61de6412 | [
"Apache-2.0",
"MIT"
] | null | null | null | crates/client/src/vulkan.rs | wosim-net/wosim | 84b5ea77c304471a68f4345b04a2799e61de6412 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-26T04:51:23.000Z | 2021-09-26T04:51:23.000Z | use std::{
cmp::{Ordering, Reverse},
sync::Arc,
};
use crate::renderer::RenderConfiguration;
use eyre::eyre;
use vulkan::{
cmp_device_types, contains_extension, ApiLevel, ColorSpaceKHR, Device, DeviceConfiguration,
Extent2D, Format, FormatFeatureFlags, ImageTiling, KhrPortabilitySubsetFn,
KhrShader... | 34.531532 | 97 | 0.581964 |
83d04331a5a7782173cc96b030b5ad5891d50a02 | 9,684 | go | Go | qjson/engine.go | qjson/qjson-go | 170c47e2db4633ef7b8cdc63ef43d47b803f4e95 | [
"BSD-3-Clause"
] | null | null | null | qjson/engine.go | qjson/qjson-go | 170c47e2db4633ef7b8cdc63ef43d47b803f4e95 | [
"BSD-3-Clause"
] | null | null | null | qjson/engine.go | qjson/qjson-go | 170c47e2db4633ef7b8cdc63ef43d47b803f4e95 | [
"BSD-3-Clause"
] | null | null | null | package qjson
import (
"bytes"
"fmt"
"strconv"
)
// Version returns the version of the code and the supported
// syntax (e.g. "qjson-go: v0.1.1 syntax: v0.0.0").
func Version() string {
return "qjson-go: v0.0.0 syntax: v0.0.0"
}
// Decode accept QJSON text as input and return a JSON text or return an error.
func... | 22.416667 | 132 | 0.549773 |
dfc4a329ce5034e7732ba2ff7f8f13fef58af9f0 | 1,367 | ts | TypeScript | training01_udemy/sec.03/src/js/001.ts | y-uchiida/Angular_handson | 4e7d0669eac8cf081ec2f8acb5e5c3319e40b9e8 | [
"MIT"
] | null | null | null | training01_udemy/sec.03/src/js/001.ts | y-uchiida/Angular_handson | 4e7d0669eac8cf081ec2f8acb5e5c3319e40b9e8 | [
"MIT"
] | null | null | null | training01_udemy/sec.03/src/js/001.ts | y-uchiida/Angular_handson | 4e7d0669eac8cf081ec2f8acb5e5c3319e40b9e8 | [
"MIT"
] | null | null | null | /* 001_変数と型
* 変数宣言の際にコロンに続けて型名を指定できる
* let {変数名}: {型名} = {値}
* 宣言時に指定した方以外のデータ型を代入しようとするとエラーになる
*/
export module exec {
/* 文字列型: string */
let str: string = "hello world"
console.log(`typeof str is: ${typeof str}`) // -> string
/* string にnumber を代入しようとするとエラーが出る:
* Type 'number' is not assignable to type '... | 26.803922 | 70 | 0.613021 |
28478e0f2aed512a3bd7f040803389d7ffd629b2 | 947 | rb | Ruby | lib/hydra/roles/role_defs.rb | duke-libraries/hydra-roles | d03d0dfbeeadc504de9e064e338ee45c2e08628c | [
"MIT"
] | 1 | 2015-10-30T04:12:26.000Z | 2015-10-30T04:12:26.000Z | lib/hydra/roles/role_defs.rb | duke-libraries/hydra-roles | d03d0dfbeeadc504de9e064e338ee45c2e08628c | [
"MIT"
] | null | null | null | lib/hydra/roles/role_defs.rb | duke-libraries/hydra-roles | d03d0dfbeeadc504de9e064e338ee45c2e08628c | [
"MIT"
] | null | null | null | require 'singleton'
module Hydra
module Roles
class RoleDefs
include Singleton
attr_reader :role_defs
def initialize
@role_defs = {}
end
def define_role role, &block
add_role_def RoleDefBuilder.build(role, &block)
end
def freeze!
role_defs.fr... | 19.326531 | 95 | 0.592397 |
d6c59bc7fb3cc1e6557a1e55d8b922911e26671b | 1,508 | swift | Swift | example/music_app/View/Common/MediaItemListView.swift | tsuruken0802/MusicPlayer | 8df7df2a1d0dd2bb2c82f4805f0e6677dae2ca90 | [
"Unlicense"
] | null | null | null | example/music_app/View/Common/MediaItemListView.swift | tsuruken0802/MusicPlayer | 8df7df2a1d0dd2bb2c82f4805f0e6677dae2ca90 | [
"Unlicense"
] | 1 | 2022-03-10T08:43:59.000Z | 2022-03-10T08:43:59.000Z | example/music_app/View/Common/MediaItemListView.swift | TsurumotoKentarou/MusicPlayer | 6aea82ac67e31c1a9a6fd3984de4218e8c8ec254 | [
"Unlicense"
] | null | null | null | //
// MediaItemListView.swift
// music_app
//
// Created by 鶴本賢太朗 on 2022/03/06.
//
import SwiftUI
import MediaPlayer
enum MediaListType {
case artwork
case number
}
struct MediaItemListView: View {
let items: [MPSongItem]
let listType: MediaListType
let onTap: (_ item: MPSongItem, _... | 24.322581 | 150 | 0.546419 |
4008519b13a3a680ac054ed8d9b843ed748be384 | 1,705 | py | Python | pre-process-inference.py | safoinme/Mnist-MLFlow-dvc-Argo | 811a1a940dbb3e1650a6e05ef273dd61e4ac68c5 | [
"MIT"
] | 1 | 2022-02-12T13:24:55.000Z | 2022-02-12T13:24:55.000Z | pre-process-inference.py | safoinme/mnist-dvc | 811a1a940dbb3e1650a6e05ef273dd61e4ac68c5 | [
"MIT"
] | null | null | null | pre-process-inference.py | safoinme/mnist-dvc | 811a1a940dbb3e1650a6e05ef273dd61e4ac68c5 | [
"MIT"
] | 1 | 2022-02-28T00:47:04.000Z | 2022-02-28T00:47:04.000Z | import numpy as np
from PIL import ImageOps
from PIL import Image
import json
import requests
import os
def process_image(image):
# Resize the image to MNIST size 28 x 28 pixels
image = image.resize((28, 28))
# Make the image grayscale
image = image.convert('L')
# If the image looks like it's da... | 39.651163 | 174 | 0.690909 |
d7404c51114f72c0fe30025438fef13b63e8b1f6 | 2,527 | swift | Swift | GEDebugKit/Debugging.swift | grigorye/GEDebugKit | c68b9817d121dea78a8ecad9de38f5f674b3c12f | [
"MIT"
] | null | null | null | GEDebugKit/Debugging.swift | grigorye/GEDebugKit | c68b9817d121dea78a8ecad9de38f5f674b3c12f | [
"MIT"
] | null | null | null | GEDebugKit/Debugging.swift | grigorye/GEDebugKit | c68b9817d121dea78a8ecad9de38f5f674b3c12f | [
"MIT"
] | null | null | null | //
// Debugging.swift
// RSSReader
//
// Created by Grigory Entin on 01.12.2017.
// Copyright © 2017 Grigory Entin. All rights reserved.
//
import FBAllocationTracker
import FBMemoryProfiler
import FPSCounter
#if LOGGY_ENABLED
import Loggy
#endif
import Foundation
private let debugError = NSError(domain: "com.gri... | 23.398148 | 87 | 0.586466 |
d1323763ef0c9ccbd8bcea4a4738624394b4406d | 54 | rs | Rust | build/classes/visao/jasperreports-6.15.0/src/net/sf/jasperreports/extensions/ListExtensionRegistry.rs | EuKaique/Projeto-Diagnostico-Medico | cf7cc535ff31992b7568dba777c8faafafa6920c | [
"MIT"
] | null | null | null | build/classes/visao/jasperreports-6.15.0/src/net/sf/jasperreports/extensions/ListExtensionRegistry.rs | EuKaique/Projeto-Diagnostico-Medico | cf7cc535ff31992b7568dba777c8faafafa6920c | [
"MIT"
] | null | null | null | build/classes/visao/jasperreports-6.15.0/src/net/sf/jasperreports/extensions/ListExtensionRegistry.rs | EuKaique/Projeto-Diagnostico-Medico | cf7cc535ff31992b7568dba777c8faafafa6920c | [
"MIT"
] | null | null | null | net.sf.jasperreports.extensions.ListExtensionRegistry
| 27 | 53 | 0.907407 |
045f0321a9554099112e86b392f033cf226e79d5 | 652 | java | Java | transcoder-status/src/main/java/es/videotranscoding/transcoder/status/dto/TranscodeMediaDTO.java | MasterCloudApps-Projects/ElasticTranscoder | c8ca85fb33595783e3caa403fb9caabb6d1d7cf8 | [
"Apache-2.0"
] | 2 | 2020-09-30T15:50:58.000Z | 2020-09-30T17:25:24.000Z | transcoder-status/src/main/java/es/videotranscoding/transcoder/status/dto/TranscodeMediaDTO.java | MasterCloudApps-Projects/ElasticTranscoder | c8ca85fb33595783e3caa403fb9caabb6d1d7cf8 | [
"Apache-2.0"
] | null | null | null | transcoder-status/src/main/java/es/videotranscoding/transcoder/status/dto/TranscodeMediaDTO.java | MasterCloudApps-Projects/ElasticTranscoder | c8ca85fb33595783e3caa403fb9caabb6d1d7cf8 | [
"Apache-2.0"
] | 2 | 2020-09-29T15:01:21.000Z | 2021-07-17T14:00:33.000Z | package es.videotranscoding.transcoder.status.dto;
import lombok.*;
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class TranscodeMediaDTO {
private String id;
private String flatMediaId;
private String type;
private String name;
private String path;
private String audioCod... | 14.173913 | 50 | 0.719325 |