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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
af516fa3ba27b060e07e80c89c7397cde58dac91 | 1,863 | py | Python | dfvo/libs/geometry/reprojection.py | best-of-acrv/toposlam | 3ec1dda210722d86bf77f101dca57ba27baa5833 | [
"BSD-3-Clause"
] | 26 | 2021-06-21T09:31:30.000Z | 2022-03-22T12:08:58.000Z | dfvo/libs/geometry/reprojection.py | best-of-acrv/toposlam | 3ec1dda210722d86bf77f101dca57ba27baa5833 | [
"BSD-3-Clause"
] | 1 | 2021-06-22T12:47:13.000Z | 2021-06-30T23:17:57.000Z | dfvo/libs/geometry/reprojection.py | best-of-acrv/toposlam | 3ec1dda210722d86bf77f101dca57ba27baa5833 | [
"BSD-3-Clause"
] | 2 | 2021-09-02T06:04:12.000Z | 2021-12-17T05:44:25.000Z | ''''''
'''
@Author: Huangying Zhan (huangying.zhan.work@gmail.com)
@Date: 2019-09-01
@Copyright: Copyright (C) Huangying Zhan 2020. All rights reserved. Please refer to the license file.
@LastEditTime: 2020-05-27
@LastEditors: Huangying Zhan
@Description: Layer to transform pixel coordinates from one view to another vi... | 32.684211 | 101 | 0.634461 |
340e2b3653c545c7594d8f8cb78996f04b2ed4ef | 3,120 | lua | Lua | src/game_over.lua | krisds/love-the-blue-whale | d427236ed606c38f7aa5841d6cac69e02c7be99c | [
"BSD-3-Clause"
] | null | null | null | src/game_over.lua | krisds/love-the-blue-whale | d427236ed606c38f7aa5841d6cac69e02c7be99c | [
"BSD-3-Clause"
] | null | null | null | src/game_over.lua | krisds/love-the-blue-whale | d427236ed606c38f7aa5841d6cac69e02c7be99c | [
"BSD-3-Clause"
] | null | null | null | game_over = {}
local initialized = false
local big_font = nil
local small_font = nil
local wait_for_input = 3
local blue_heart = nil
local pinky_heart = nil
local blue = nil
local pinky = nil
local score = 0
local function initialize()
-- https://www.dafont.com/pecita.font
big_font = love.graphics.newFont("a... | 29.158879 | 95 | 0.65 |
af33022a9edd8d9c8719ff26c3a7ddaf95e1b94c | 423 | py | Python | test/testserver.py | hulingfeng211/weixin | e3b869ffa2bf54366d561535c84e118db0e9827e | [
"Apache-2.0"
] | null | null | null | test/testserver.py | hulingfeng211/weixin | e3b869ffa2bf54366d561535c84e118db0e9827e | [
"Apache-2.0"
] | null | null | null | test/testserver.py | hulingfeng211/weixin | e3b869ffa2bf54366d561535c84e118db0e9827e | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
from tornado.ioloop import IOLoop
from tornado.web import RequestHandler, Application
__author__ = 'george'
class IndexHandler(RequestHandler):
def post(self, *args, **kwargs):
print
self.request.body
if __name__ == "__main__":
app = Application([
(r'/message'... | 19.227273 | 51 | 0.647754 |
ab921eb08b48dd3f26d616db7cc1e0735d728712 | 4,780 | ps1 | PowerShell | src/Public/LogRhythm/Admin/Get-LrLists.ps1 | Jt3kt/SmartResponse.Framework | 036b90d914cf419b7b87f000a3c2cd5225634f98 | [
"MS-PL"
] | 1 | 2020-03-24T16:31:39.000Z | 2020-03-24T16:31:39.000Z | src/Public/LogRhythm/Admin/Get-LrLists.ps1 | Jt3kt/SmartResponse.Framework | 036b90d914cf419b7b87f000a3c2cd5225634f98 | [
"MS-PL"
] | null | null | null | src/Public/LogRhythm/Admin/Get-LrLists.ps1 | Jt3kt/SmartResponse.Framework | 036b90d914cf419b7b87f000a3c2cd5225634f98 | [
"MS-PL"
] | null | null | null | using namespace System
using namespace System.IO
using namespace System.Collections.Generic
Function Get-LrLists {
<#
.SYNOPSIS
Retrieve a list of lists from LogRhythm.
.DESCRIPTION
Get-LrList returns a full LogRhythm List object, including it's details and list items.
[NOTE]: Due ... | 34.388489 | 120 | 0.584728 |
1a3c8f589a4ff067bd5b38cf6872bd87d7fd2869 | 1,414 | py | Python | ssh_botnet.py | CyberCommands/ssh-botnet | 4e0ef22542eefd572f8e5dd194030e899d713885 | [
"MIT"
] | null | null | null | ssh_botnet.py | CyberCommands/ssh-botnet | 4e0ef22542eefd572f8e5dd194030e899d713885 | [
"MIT"
] | null | null | null | ssh_botnet.py | CyberCommands/ssh-botnet | 4e0ef22542eefd572f8e5dd194030e899d713885 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Coded by CyberCommands
import os
import optparse
from pexpect import pxssh
os.system('cls' if os.name == 'nt' else 'clear')
print('''
======================================
THIS IS A SIMPLE SSH BOT CONTROL UNIT.
--------------------------------------
Coded by CyberCommands
============... | 28.28 | 73 | 0.56082 |
54c23e1572efd5679392fd01a3979200f89c53bb | 9,541 | rb | Ruby | app/controllers/orchestration_stack_controller.rb | vfebvre/manageiq-ui-classic | ad4a5f42f7c87032de2bd3049d79ff8d0a366da9 | [
"Apache-2.0"
] | 54 | 2016-12-23T07:21:56.000Z | 2022-03-31T16:59:24.000Z | app/controllers/orchestration_stack_controller.rb | vfebvre/manageiq-ui-classic | ad4a5f42f7c87032de2bd3049d79ff8d0a366da9 | [
"Apache-2.0"
] | 8,062 | 2016-12-22T13:00:42.000Z | 2022-03-31T19:21:07.000Z | app/controllers/orchestration_stack_controller.rb | isabella232/manageiq-ui-classic | 168f013f2761d7aa6174c613cbb4c2363f4e6e16 | [
"Apache-2.0"
] | 389 | 2016-12-22T12:33:48.000Z | 2022-03-31T06:25:29.000Z | class OrchestrationStackController < ApplicationController
before_action :check_privileges
before_action :get_session_data
after_action :cleanup_action
after_action :set_session_data
include Mixins::GenericSessionMixin
include Mixins::GenericShowMixin
include Mixins::BreadcrumbsMixin
def self.table_na... | 33.477193 | 117 | 0.666178 |
1a9b8571b43db87177d0f190df07cb15483af09b | 1,772 | py | Python | scpi_shell/cli.py | fakegit/mo-han-toolbox | 9d5bbc1fe7f12040715d3a0d3f320a1ad617aed8 | [
"MIT"
] | 24 | 2019-12-08T03:56:32.000Z | 2021-10-02T13:26:37.000Z | scpi_shell/cli.py | fakegit/mo-han-toolbox | 9d5bbc1fe7f12040715d3a0d3f320a1ad617aed8 | [
"MIT"
] | 2 | 2020-04-27T14:20:01.000Z | 2020-07-17T06:05:33.000Z | scpi_shell/cli.py | fakegit/mo-han-toolbox | 9d5bbc1fe7f12040715d3a0d3f320a1ad617aed8 | [
"MIT"
] | 10 | 2019-08-06T01:11:28.000Z | 2021-07-19T08:45:11.000Z | #!/usr/bin/env python3
# encoding=utf8
import argparse
from core import win32_ctrl_c
try:
from extra import SCPIShellCustom as SCPIShell
except ImportError as e:
from core import SCPIShell
def run_cli_app():
parser = argparse.ArgumentParser(description=SCPIShell.intro, formatter_class=argparse.RawDescri... | 32.814815 | 119 | 0.628104 |
d86347107e41bbf9af4f59e11b8791058e6dfef8 | 6,523 | kt | Kotlin | graphene-writer/src/test/kotlin/com/graphene/writer/store/key/property/TimeBasedRotationStrategyTest.kt | jacek-bakowski/graphene | 5293693acbb1bf0a4240d735980c3efe880fa796 | [
"MIT"
] | null | null | null | graphene-writer/src/test/kotlin/com/graphene/writer/store/key/property/TimeBasedRotationStrategyTest.kt | jacek-bakowski/graphene | 5293693acbb1bf0a4240d735980c3efe880fa796 | [
"MIT"
] | null | null | null | graphene-writer/src/test/kotlin/com/graphene/writer/store/key/property/TimeBasedRotationStrategyTest.kt | jacek-bakowski/graphene | 5293693acbb1bf0a4240d735980c3efe880fa796 | [
"MIT"
] | null | null | null | package com.graphene.writer.store.key.property
import com.graphene.common.key.RotationProperty
import com.graphene.common.key.TimeBasedRotationStrategy
import io.kotlintest.tables.forAll
import io.kotlintest.tables.headers
import io.kotlintest.tables.row
import io.kotlintest.tables.table
import java.text.SimpleDateFor... | 43.486667 | 214 | 0.705657 |
6949c51ac047aef1dc7b49a01cae4f85e26d8813 | 552 | rb | Ruby | app/controllers/api/v1/forums_controller.rb | MisterMur/RideShare-Backend | 76dba2774788b000ae0a86b32fc39e99feba5462 | [
"MIT"
] | 1 | 2020-01-03T03:16:31.000Z | 2020-01-03T03:16:31.000Z | app/controllers/api/v1/forums_controller.rb | MisterMur/RideShare-Backend | 76dba2774788b000ae0a86b32fc39e99feba5462 | [
"MIT"
] | 10 | 2019-11-12T22:43:53.000Z | 2022-03-31T00:06:11.000Z | app/controllers/api/v1/forums_controller.rb | MisterMur/RideShare-Backend | 76dba2774788b000ae0a86b32fc39e99feba5462 | [
"MIT"
] | null | null | null | class Api::V1::ForumsController < ApplicationController
def index
@forums=Forum.all
render json: @forums, :include => [:messages]
end
def show
@forum = get_forum
render json: @forum, :include => [:messages]
end
def create
@forum = Forum.create(forum_params)
render json: @forum
en... | 15.333333 | 55 | 0.661232 |
383dc9e6691b56b7eb69f16875069931a4327bf1 | 917 | php | PHP | application/views/greetings.blade.php | putrawitama/resto-app | 6bc6ece0d569b217f56cc6c49cb9ba23b74f28d7 | [
"MIT"
] | 1 | 2018-12-07T17:17:39.000Z | 2018-12-07T17:17:39.000Z | application/views/greetings.blade.php | putrawitama/resto-app | 6bc6ece0d569b217f56cc6c49cb9ba23b74f28d7 | [
"MIT"
] | 1 | 2020-06-06T05:23:47.000Z | 2020-06-06T05:23:47.000Z | application/views/greetings.blade.php | putrawitama/resto-app | 6bc6ece0d569b217f56cc6c49cb9ba23b74f28d7 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="{{ base_url() }}assets/css/bootstrap.min.css">
<link rel="stylesheet" href="{{... | 36.68 | 94 | 0.584515 |
f23d5cdcfb39b3f8714e2511a3478d2d6211dd7b | 22,502 | php | PHP | addons/Sales/services/OrderService.php | Donsilor/gdzb | 5f30d6c6bdcaae16b71012f21e6948c172801330 | [
"Apache-2.0"
] | null | null | null | addons/Sales/services/OrderService.php | Donsilor/gdzb | 5f30d6c6bdcaae16b71012f21e6948c172801330 | [
"Apache-2.0"
] | null | null | null | addons/Sales/services/OrderService.php | Donsilor/gdzb | 5f30d6c6bdcaae16b71012f21e6948c172801330 | [
"Apache-2.0"
] | null | null | null | <?php
namespace addons\Sales\services;
use addons\Purchase\common\enums\PurchaseCateEnum;
use addons\Purchase\common\enums\PurchaseGoodsTypeEnum;
use addons\Sales\common\models\OrderGoods;
use addons\Sales\common\models\OrderGoodsAttribute;
use addons\Style\common\enums\QibanTypeEnum;
use Yii;
use common\components\S... | 39.826549 | 255 | 0.525731 |
af7c854655125060fbf72a37c565150cac6c997f | 170 | py | Python | sm16.py | Preeti-Barua/Python | 76d168617f2a92fa41d6af4ddf62450b6272ff84 | [
"bzip2-1.0.6"
] | null | null | null | sm16.py | Preeti-Barua/Python | 76d168617f2a92fa41d6af4ddf62450b6272ff84 | [
"bzip2-1.0.6"
] | null | null | null | sm16.py | Preeti-Barua/Python | 76d168617f2a92fa41d6af4ddf62450b6272ff84 | [
"bzip2-1.0.6"
] | null | null | null | a=int(input("enter a number""))
sum=0
temp=a
while(a>0):
r=a%10
sum=sum*10+r
a=a//10
a=temp
if(a==sum):
print("its palindrome")
else:
print("no")
| 12.142857 | 31 | 0.552941 |
43f16fbe9bfc4657997dd62f240b97499b58dd65 | 5,373 | ts | TypeScript | src/classLibrary/EleFact.ts | kirinnee/tslib.elefact | b300e668c3aeecb76bbb71fd707ebda49ff7d0d0 | [
"MIT"
] | 3 | 2018-12-20T05:03:12.000Z | 2019-11-23T03:27:21.000Z | src/classLibrary/EleFact.ts | kirinnee/tslib.elefact | b300e668c3aeecb76bbb71fd707ebda49ff7d0d0 | [
"MIT"
] | null | null | null | src/classLibrary/EleFact.ts | kirinnee/tslib.elefact | b300e668c3aeecb76bbb71fd707ebda49ff7d0d0 | [
"MIT"
] | 1 | 2022-02-22T11:36:23.000Z | 2022-02-22T11:36:23.000Z | import {DOMEx} from "@kirinnee/domex";
import {ElementData, ElementFactory} from "../index";
class EleFact implements ElementFactory {
private $: Document = document;
private namespace: string;
constructor(domex: DOMEx, namespace: string) {
domex.AssertExtend();
this.namespace = namespace;
}
get Namespa... | 34.006329 | 114 | 0.622929 |
2acbabcda1b2f341b2bbbf3288268af5bbbd33b0 | 376 | kt | Kotlin | logger/src/main/java/ru/surfstudio/android/logger/remote_logging_strategies/RemoteLoggingStrategy.kt | eltray/SurfAndroidStandard | 69d435621d90954102af7424b4b309213d9bc95d | [
"Apache-2.0"
] | null | null | null | logger/src/main/java/ru/surfstudio/android/logger/remote_logging_strategies/RemoteLoggingStrategy.kt | eltray/SurfAndroidStandard | 69d435621d90954102af7424b4b309213d9bc95d | [
"Apache-2.0"
] | null | null | null | logger/src/main/java/ru/surfstudio/android/logger/remote_logging_strategies/RemoteLoggingStrategy.kt | eltray/SurfAndroidStandard | 69d435621d90954102af7424b4b309213d9bc95d | [
"Apache-2.0"
] | null | null | null | package ru.surfstudio.android.logger.remote_logging_strategies
/**
* Интерфейс для стратегий логгирования на удаленный сервер
*/
interface RemoteLoggingStrategy {
fun setUser(id: String?, username: String?, email: String?)
fun clearUser()
fun logError(e: Throwable?)
fun logMessage(message: String... | 20.888889 | 63 | 0.726064 |
b77dc2cfd8a13eae8ca31ff82bd41c19e3f759a0 | 1,618 | cs | C# | Shaver/ColorSchemeButton.cs | lambdacasserole/shaver | ec3b6cdac4d372bc1ac6cbf186899afd5324d0cd | [
"MIT"
] | null | null | null | Shaver/ColorSchemeButton.cs | lambdacasserole/shaver | ec3b6cdac4d372bc1ac6cbf186899afd5324d0cd | [
"MIT"
] | null | null | null | Shaver/ColorSchemeButton.cs | lambdacasserole/shaver | ec3b6cdac4d372bc1ac6cbf186899afd5324d0cd | [
"MIT"
] | null | null | null | using System.Drawing;
using System.Windows.Forms;
namespace Shaver
{
/// <summary>
/// A color scheme keyboard button control.
/// </summary>
class ColorSchemeButton : KeyboardButton
{
private int iconSize;
/// <summary>
/// Gets or sets the icon size on the button.
... | 29.962963 | 118 | 0.525958 |
f4bbd7ab7a23b6bf894549544c79b77ce88a7aa9 | 1,818 | ts | TypeScript | samples/deckgl-arclayer/src/index.ts | MHASgamer/js-samples | 56ec58ca91a48da09b62a390efb8c5095a54d06f | [
"Apache-2.0"
] | 535 | 2015-08-06T18:30:26.000Z | 2022-03-30T08:34:35.000Z | samples/deckgl-arclayer/src/index.ts | MHASgamer/js-samples | 56ec58ca91a48da09b62a390efb8c5095a54d06f | [
"Apache-2.0"
] | 915 | 2015-08-05T05:36:03.000Z | 2022-03-28T17:08:42.000Z | samples/deckgl-arclayer/src/index.ts | MHASgamer/js-samples | 56ec58ca91a48da09b62a390efb8c5095a54d06f | [
"Apache-2.0"
] | 790 | 2015-08-05T13:51:17.000Z | 2022-03-31T16:56:59.000Z | /*
* Copyright 2021 Google LLC. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 30.3 | 85 | 0.687569 |
482644b4fc1e34019ed1fa1f2ac433a988919a83 | 4,418 | asm | Assembly | resources/retrogamedev.chapters/chapter17/gameEnemies.asm | brawnydawg/retrojam4 | 28293e3348cdf5b2d844438689f43a8853e3508d | [
"MIT"
] | null | null | null | resources/retrogamedev.chapters/chapter17/gameEnemies.asm | brawnydawg/retrojam4 | 28293e3348cdf5b2d844438689f43a8853e3508d | [
"MIT"
] | null | null | null | resources/retrogamedev.chapters/chapter17/gameEnemies.asm | brawnydawg/retrojam4 | 28293e3348cdf5b2d844438689f43a8853e3508d | [
"MIT"
] | null | null | null | ;==============================================================================
; Constants
EnemiesMax = 7
EnemyAnimDelay = 10
;===============================================================================
; Variables
enemiesXCharArray byte 21, 37, 55, 79, 113, 151, 189
enemiesXChar ... | 27.271605 | 104 | 0.565188 |
f46efff9cf3835df525e2f07f5bfcaa1d44e8fe8 | 2,762 | cs | C# | test/Detached.Mappers.EntityFramework.Tests/MapAssociatedListTests.cs | Jogai/Detached-Mapper | 2a1011d850406531b30eb9123ff1b23bd876d1ae | [
"MIT"
] | 28 | 2020-10-11T03:52:26.000Z | 2022-03-09T18:44:54.000Z | test/Detached.Mappers.EntityFramework.Tests/MapAssociatedListTests.cs | Jogai/Detached-Mapper | 2a1011d850406531b30eb9123ff1b23bd876d1ae | [
"MIT"
] | 17 | 2020-10-19T23:59:57.000Z | 2022-03-21T09:10:25.000Z | test/Detached.Mappers.EntityFramework.Tests/MapAssociatedListTests.cs | leonardoporro/EntityFrameworkCore.Detached | 22ea222c05e4149014a1cc0effe108311a518c78 | [
"MIT"
] | 3 | 2021-06-29T20:44:43.000Z | 2022-01-13T16:16:35.000Z | using Detached.Mappers.EntityFramework.Tests.Context;
using Detached.Mappers.EntityFramework.Tests.Model;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Detached.Mappers.EntityFramework.Tests
{
public class MapAssociatedListTests... | 34.098765 | 99 | 0.509051 |
1b014a2076a7609e689dc8dcba77e39cf243544a | 1,332 | rb | Ruby | spec/checks/mongodb_spec.rb | RohitRox/hcheck | f1867350d63fb06271528a5220d81e84a0115791 | [
"MIT"
] | null | null | null | spec/checks/mongodb_spec.rb | RohitRox/hcheck | f1867350d63fb06271528a5220d81e84a0115791 | [
"MIT"
] | null | null | null | spec/checks/mongodb_spec.rb | RohitRox/hcheck | f1867350d63fb06271528a5220d81e84a0115791 | [
"MIT"
] | null | null | null | RSpec.describe Hcheck::Checks::Mongodb do
include Hcheck::Checks::Mongodb
describe '#status' do
let(:test_config) do
{
hosts: ['MONGO_DB_HOST', nil]
}
end
let(:mongo_connection) { double('Mongo::Client', database_names: [], close: true) }
before do
allow(Mongo::Client).to... | 30.976744 | 125 | 0.626877 |
e74da3a33e78a018c5c5e51cdec541c0754352fb | 1,264 | php | PHP | app/database/migrations/2015_04_17_083358_create_schools_table.php | summmmit/schoolopedia | d97d002c36b3ec5be99f5b1717004e28f30acf0c | [
"MIT"
] | null | null | null | app/database/migrations/2015_04_17_083358_create_schools_table.php | summmmit/schoolopedia | d97d002c36b3ec5be99f5b1717004e28f30acf0c | [
"MIT"
] | null | null | null | app/database/migrations/2015_04_17_083358_create_schools_table.php | summmmit/schoolopedia | d97d002c36b3ec5be99f5b1717004e28f30acf0c | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateSchoolsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('schools', function(Blueprint $table)
{
$table->integer('id', true);
$tab... | 22.981818 | 54 | 0.638449 |
7bf5f708382ae8e594df3687f8fdd31bf1b71cf0 | 6,652 | cpp | C++ | examples/lite/cv/test_lite_fsanet.cpp | IgiArdiyanto/litehub | 54a43690d80e57f16bea1efc698e7d30f06b9d4f | [
"MIT"
] | null | null | null | examples/lite/cv/test_lite_fsanet.cpp | IgiArdiyanto/litehub | 54a43690d80e57f16bea1efc698e7d30f06b9d4f | [
"MIT"
] | null | null | null | examples/lite/cv/test_lite_fsanet.cpp | IgiArdiyanto/litehub | 54a43690d80e57f16bea1efc698e7d30f06b9d4f | [
"MIT"
] | null | null | null | //
// Created by DefTruth on 2021/6/24.
//
#include "lite/lite.h"
static void test_default()
{
std::string var_onnx_path = "../../../hub/onnx/cv/fsanet-var.onnx";
std::string conv_onnx_path = "../../../hub/onnx/cv/fsanet-1x1.onnx";
std::string test_img_path = "../../../examples/lite/resources/test_lite_fsanet.j... | 34.112821 | 95 | 0.683403 |
b0360dd3917a6f12c739211b1b5ee649da8fca78 | 4,629 | sql | SQL | database/create.sql | BlueflameLi/Ticket_reservation_system | c459aefd3fa346ed7b2119cdecdcc8c5bac01d34 | [
"MIT"
] | 3 | 2021-06-20T12:47:19.000Z | 2021-06-27T03:31:43.000Z | database/create.sql | BlueflameLi/Ticket_reservation_system | c459aefd3fa346ed7b2119cdecdcc8c5bac01d34 | [
"MIT"
] | null | null | null | database/create.sql | BlueflameLi/Ticket_reservation_system | c459aefd3fa346ed7b2119cdecdcc8c5bac01d34 | [
"MIT"
] | null | null | null | CREATE DATABASE Ticket_reservation
GO
USE Ticket_reservation
GO
-- 用户
CREATE TABLE [User] (
[Uname] varchar(20) NOT NULL, -- 用户名
[Passwd] varchar(20) NOT NULL, -- 密码
[Phone] char(11), -- 手机号
[Sex] char(2) DEFAULT '男', -- 性别
[Name] varchar(30), -- 姓名
[Email] varchar(320), -- 邮箱
PRIMARY KEY ([Uname]),
C... | 28.574074 | 71 | 0.653921 |
e446779fd621fd88f2df579e4cdbada62e17e6d9 | 14,523 | rs | Rust | execution/executor/src/lib.rs | davidbarsky/diem | 00f54fe75299874593ed3ee0c87dfe09fd74ef40 | [
"Apache-2.0"
] | null | null | null | execution/executor/src/lib.rs | davidbarsky/diem | 00f54fe75299874593ed3ee0c87dfe09fd74ef40 | [
"Apache-2.0"
] | 277 | 2021-05-11T05:34:08.000Z | 2022-03-31T10:03:48.000Z | execution/executor/src/lib.rs | davidbarsky/diem | 00f54fe75299874593ed3ee0c87dfe09fd74ef40 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) The Diem Core Contributors
// SPDX-License-Identifier: Apache-2.0
#![forbid(unsafe_code)]
use std::{
collections::{hash_map, HashMap, HashSet},
convert::TryFrom,
marker::PhantomData,
sync::Arc,
};
use anyhow::{bail, ensure, format_err, Result};
use components::speculation_cache::Spec... | 36.860406 | 100 | 0.555051 |
38425339e8c58aa840c1190514f9ed17886cdc3a | 760 | php | PHP | database/seeders/AdminSeeder.php | mostafaelneemr/Project_laravel_POS | f57e2bebe19f289e0e29d5bc05cdb6bc495b60b2 | [
"MIT"
] | null | null | null | database/seeders/AdminSeeder.php | mostafaelneemr/Project_laravel_POS | f57e2bebe19f289e0e29d5bc05cdb6bc495b60b2 | [
"MIT"
] | null | null | null | database/seeders/AdminSeeder.php | mostafaelneemr/Project_laravel_POS | f57e2bebe19f289e0e29d5bc05cdb6bc495b60b2 | [
"MIT"
] | null | null | null | <?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Spatie\Permission\Models\Permission;
use Spatie\Permission\Models\Role;
class AdminSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public ... | 22.352941 | 61 | 0.565789 |
14cb71cc40d14ef1e958fd5124b9172f5598e54f | 1,048 | ts | TypeScript | src/utils/HttpClient.ts | hknc/pop-repos | 0c031b7e2951be0a75df85ea08b71f5fb4f9c2a1 | [
"MIT"
] | null | null | null | src/utils/HttpClient.ts | hknc/pop-repos | 0c031b7e2951be0a75df85ea08b71f5fb4f9c2a1 | [
"MIT"
] | null | null | null | src/utils/HttpClient.ts | hknc/pop-repos | 0c031b7e2951be0a75df85ea08b71f5fb4f9c2a1 | [
"MIT"
] | 1 | 2021-08-29T05:06:59.000Z | 2021-08-29T05:06:59.000Z | import axios, { AxiosInstance } from "axios"
import { stringify } from "qs"
import Env from "./Env"
const GITHUB_BASE_URL = Env.get("GITHUB_BASE_URL", "")
class HttpClient {
private instance: AxiosInstance
private baseURL: string
constructor(baseURL: string) {
this.baseURL = baseURL
const axiosInstance... | 25.560976 | 95 | 0.699427 |
ed0d974972f5b9830fb21fb8b08ab52d77424d15 | 3,257 | h | C | ngraph_bridge/ngraph_builder.h | levanpon98/ngraph-bridge | 5a63194e094a345685b4676fe0abb923718c529a | [
"Apache-2.0"
] | 142 | 2019-02-21T00:53:06.000Z | 2022-03-11T07:46:28.000Z | ngraph_bridge/ngraph_builder.h | tensorflow/ngraph | ea6422491ec75504e78a63db029e7f74ec3479a5 | [
"Apache-2.0"
] | 252 | 2019-03-11T19:27:59.000Z | 2021-03-19T10:58:17.000Z | ngraph_bridge/ngraph_builder.h | tensorflow/ngraph | ea6422491ec75504e78a63db029e7f74ec3479a5 | [
"Apache-2.0"
] | 65 | 2019-03-13T15:27:29.000Z | 2021-07-16T07:09:16.000Z | /*******************************************************************************
* Copyright 2017-2020 Intel Corporation
*
* 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://... | 40.7125 | 81 | 0.619896 |
12eb9d3f94431b8a41b061608d04a9144386d570 | 5,445 | cs | C# | src/SharpDiff.Tests/TwoChunkDiffTests.cs | jagregory/sharpdiff | 9c6d1995c7db1dbe49d9d1f7699dd85f94de2a04 | [
"BSD-3-Clause"
] | 9 | 2015-04-30T07:57:03.000Z | 2021-11-20T02:28:37.000Z | src/SharpDiff.Tests/TwoChunkDiffTests.cs | jagregory/sharpdiff | 9c6d1995c7db1dbe49d9d1f7699dd85f94de2a04 | [
"BSD-3-Clause"
] | null | null | null | src/SharpDiff.Tests/TwoChunkDiffTests.cs | jagregory/sharpdiff | 9c6d1995c7db1dbe49d9d1f7699dd85f94de2a04 | [
"BSD-3-Clause"
] | 4 | 2016-08-11T21:20:27.000Z | 2019-10-28T12:20:46.000Z | using System.Linq;
using NUnit.Framework;
using SharpDiff.FileStructure;
namespace SharpDiff.Tests
{
[TestFixture]
public class TwoChunkDiffTests
{
const string fileOneContent = "one\r\ntwo\r\nthree\r\nfour\r\nfive\r\nsix\r\nseven\r\neight\r\nnine\r\nten";
const string fileTwoCon... | 40.036765 | 136 | 0.614692 |
c4585d1e07681d3a230d3c0090b46f530f443b90 | 168 | cpp | C++ | server_linux.cpp | OsasAzamegbe/http-server | 2c728d4f1a46f45aa534bb32e60c20ea631b1d37 | [
"MIT",
"Unlicense"
] | null | null | null | server_linux.cpp | OsasAzamegbe/http-server | 2c728d4f1a46f45aa534bb32e60c20ea631b1d37 | [
"MIT",
"Unlicense"
] | null | null | null | server_linux.cpp | OsasAzamegbe/http-server | 2c728d4f1a46f45aa534bb32e60c20ea631b1d37 | [
"MIT",
"Unlicense"
] | null | null | null | #include <http_tcpServer_linux.h>
int main()
{
using namespace http;
TcpServer server = TcpServer("0.0.0.0", 8080);
server.startListen();
return 0;
} | 15.272727 | 50 | 0.64881 |
d38c9b569a1225a1b9f4f5d6959d921277351eaf | 16,018 | rs | Rust | src/drawable.rs | disiamylborane/draw-i16 | 056b0bea2203c26bb54af5ba4527f0ceb0269220 | [
"MIT"
] | 4 | 2021-04-25T05:26:01.000Z | 2021-04-25T09:58:35.000Z | src/drawable.rs | disiamylborane/draw-i16 | 056b0bea2203c26bb54af5ba4527f0ceb0269220 | [
"MIT"
] | null | null | null | src/drawable.rs | disiamylborane/draw-i16 | 056b0bea2203c26bb54af5ba4527f0ceb0269220 | [
"MIT"
] | null | null | null | //! Drawable module: a set of painting algorithms
use crate::V2;
use crate::{Colour};
use core::cmp::{min, max};
/// A Drawable is an object one can paint something on
///
/// The trait consists of basic drawing functions including setting pixels,
/// horizontal/vertical lines and filled rectangle. It also reports ... | 36.321995 | 141 | 0.491572 |
9fe0c3e55237ae1a6b07343eeaec55d0c2e90bd3 | 789 | py | Python | envs/d4rl/oracle/dummy_advice.py | AliengirlLiv/babyai | 51421ee11538bf110c5b2d0c84a15f783d854e7d | [
"MIT"
] | 2 | 2022-02-24T08:47:48.000Z | 2022-03-23T09:44:22.000Z | envs/d4rl/oracle/dummy_advice.py | AliengirlLiv/babyai | 51421ee11538bf110c5b2d0c84a15f783d854e7d | [
"MIT"
] | null | null | null | envs/d4rl/oracle/dummy_advice.py | AliengirlLiv/babyai | 51421ee11538bf110c5b2d0c84a15f783d854e7d | [
"MIT"
] | 1 | 2021-12-27T19:03:38.000Z | 2021-12-27T19:03:38.000Z | import numpy as np
from envs.d4rl.oracle.teacher import Teacher
class DummyAdvice(Teacher):
def __init__(self, *args, **kwargs):
super(DummyAdvice, self).__init__(*args, **kwargs)
# self.next_action = None
def empty_feedback(self):
"""
Return a tensor corresponding to no feedb... | 24.65625 | 60 | 0.595691 |
ef5d12defdcfca8b3ef6c417741abd429388befe | 5,241 | js | JavaScript | resources/assets/js/app/modules/member/feed/index.js | VamsiMudunuri/LocalAmbition | 1d2af8657f82e6f572c9adf1e7949a2a604e00c1 | [
"MIT"
] | null | null | null | resources/assets/js/app/modules/member/feed/index.js | VamsiMudunuri/LocalAmbition | 1d2af8657f82e6f572c9adf1e7949a2a604e00c1 | [
"MIT"
] | null | null | null | resources/assets/js/app/modules/member/feed/index.js | VamsiMudunuri/LocalAmbition | 1d2af8657f82e6f572c9adf1e7949a2a604e00c1 | [
"MIT"
] | null | null | null | $(function() {
var $module = $('.member-feed-index');
var $infinite = $module.find('.infinite');
var $formSearch = $module.find('.form-search');
var $formSearchContainer = $formSearch.find('.form-search-container');
var $formSearchInputContainer = $formSearchContainer.find('.form-search-input-conta... | 32.153374 | 251 | 0.503721 |
a3cecc90962edbd313304aedbdb187885a3d8ded | 976,952 | java | Java | elasticsearch/59cb67c7bd0ab6311115b20954e013412b676b29/randoop-modified_4/RegressionTest9.java | leusonmario/2022PhDThesis | 22969dccdafbc02f022633e9b4c4346821da1402 | [
"MIT"
] | null | null | null | elasticsearch/59cb67c7bd0ab6311115b20954e013412b676b29/randoop-modified_4/RegressionTest9.java | leusonmario/2022PhDThesis | 22969dccdafbc02f022633e9b4c4346821da1402 | [
"MIT"
] | null | null | null | elasticsearch/59cb67c7bd0ab6311115b20954e013412b676b29/randoop-modified_4/RegressionTest9.java | leusonmario/2022PhDThesis | 22969dccdafbc02f022633e9b4c4346821da1402 | [
"MIT"
] | null | null | null | import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class RegressionTest9 {
public static boolean debug = false;
@Test
public void test04501() throws Throwable {
if (debug)
System.out.form... | 69.027909 | 198 | 0.727761 |
8eaf535355e9277a4f035c728482d7d64b7f6bbc | 926 | js | JavaScript | lambdas/get-all-ip-addresses/index.js | ReeceRose/home-network-proxy | 928de6c2f06fd4634dc0e7e90528476c221f0314 | [
"MIT"
] | null | null | null | lambdas/get-all-ip-addresses/index.js | ReeceRose/home-network-proxy | 928de6c2f06fd4634dc0e7e90528476c221f0314 | [
"MIT"
] | 8 | 2021-08-14T02:50:07.000Z | 2021-09-09T15:32:33.000Z | lambdas/get-all-ip-addresses/index.js | ReeceRose/home-network-proxy | 928de6c2f06fd4634dc0e7e90528476c221f0314 | [
"MIT"
] | null | null | null | // Lambda function code
const { DynamoDBClient, ScanCommand } = require("@aws-sdk/client-dynamodb");
exports.handler = async (event) => {
const userId = event.requestContext.authorizer.claims.sub;
const { TABLE_NAME } = process.env;
const headers = {
"Content-Type": "application/json",
};
const client... | 22.047619 | 76 | 0.598272 |
dda601d2cbc9fe2925f67850d3096afcd2d23c5f | 13,896 | java | Java | enterprise/backup/src/main/java/org/neo4j/backup/log/VerifyingTransactionInterceptor.java | rebaze/neo4j | f9118756110bc69b514b576ae85c9544d59f704a | [
"CNRI-Python",
"Apache-1.1"
] | 1 | 2015-12-14T07:35:29.000Z | 2015-12-14T07:35:29.000Z | enterprise/backup/src/main/java/org/neo4j/backup/log/VerifyingTransactionInterceptor.java | baojie/neo4j | c37df367ec501185f34f817a6774883702761b8c | [
"CNRI-Python",
"Apache-1.1"
] | null | null | null | enterprise/backup/src/main/java/org/neo4j/backup/log/VerifyingTransactionInterceptor.java | baojie/neo4j | c37df367ec501185f34f817a6774883702761b8c | [
"CNRI-Python",
"Apache-1.1"
] | null | null | null | /**
* Copyright (c) 2002-2013 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software F... | 38.280992 | 120 | 0.541739 |
6df2c0d01a19b5114654c910dfca4646cda380fb | 624 | h | C | map_normalizer/logging/inc/ConsoleOutputFunctions.h | AFlyingCar/HoI4-Map-Normalizer-Tool | d94d2f37e731d96455c368f3a0e0075b9c14edfe | [
"MIT"
] | null | null | null | map_normalizer/logging/inc/ConsoleOutputFunctions.h | AFlyingCar/HoI4-Map-Normalizer-Tool | d94d2f37e731d96455c368f3a0e0075b9c14edfe | [
"MIT"
] | 47 | 2021-04-28T01:15:35.000Z | 2022-03-16T06:00:21.000Z | map_normalizer/logging/inc/ConsoleOutputFunctions.h | AFlyingCar/HoI4-Map-Normalizer-Tool | d94d2f37e731d96455c368f3a0e0075b9c14edfe | [
"MIT"
] | null | null | null | /**
* @file ConsoleOutputFunctions.h
*
* @brief Defines functions for writing to the console
*/
#ifndef CONSOLE_OUTPUT_FUNCTIONS_H
# define CONSOLE_OUTPUT_FUNCTIONS_H
# include <functional>
# include <ostream>
namespace MapNormalizer::Log {
class Message;
bool outputToConsole(const Message&, bool, bool)... | 22.285714 | 69 | 0.647436 |
f6ffccb4dbac37bb747c6df909e5e865ffd6d851 | 6,160 | dart | Dart | lib/resources/names_fo_FO.dart | Firelands128/locale_names | b6e7d8bd59283b4c9fdd004a2842bbb277a284b2 | [
"BSD-3-Clause"
] | 1 | 2021-02-10T04:47:01.000Z | 2021-02-10T04:47:01.000Z | lib/resources/names_fo_FO.dart | Firelands128/locale_names | b6e7d8bd59283b4c9fdd004a2842bbb277a284b2 | [
"BSD-3-Clause"
] | null | null | null | lib/resources/names_fo_FO.dart | Firelands128/locale_names | b6e7d8bd59283b4c9fdd004a2842bbb277a284b2 | [
"BSD-3-Clause"
] | null | null | null | const names = {
"MK": "North Macedonia",
"aa": "Afar",
"ab": "abkhaziskt",
"ace": "Achinese",
"ada": "Adangme",
"ady": "Adyghe",
"af": "afríska",
"agq": "Aghem",
"ain": "Ainu",
"ak": "Akan",
"ale": "Aleut",
"alt": "Southern Altai",
"an": "Aragonese",
"anp": "Angika",
"ar_001": "Modern Stan... | 20.740741 | 39 | 0.510065 |
4057840d897078c09d07e4c27ec4f8560c6fdad1 | 762 | rb | Ruby | db/seeds.rb | lushiyun/teamwork-backend | dd691efab9e020947fc7c4c0132f5396d6fc3769 | [
"MIT"
] | 1 | 2022-01-11T04:38:14.000Z | 2022-01-11T04:38:14.000Z | db/seeds.rb | lushiyun/teamwork-backend | dd691efab9e020947fc7c4c0132f5396d6fc3769 | [
"MIT"
] | null | null | null | db/seeds.rb | lushiyun/teamwork-backend | dd691efab9e020947fc7c4c0132f5396d6fc3769 | [
"MIT"
] | 1 | 2021-03-27T04:45:00.000Z | 2021-03-27T04:45:00.000Z | # This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
# Ch... | 36.285714 | 111 | 0.732283 |
ddbe01fd0b305de54566450166860dfbe3cffa58 | 2,517 | java | Java | src/test/java/io/vertx/core/impl/launcher/DefaultCommandTest.java | julien3/vert.x | a8abdfa1eb21c4ce8218e8bd279eac5b33dc8d1c | [
"Apache-2.0"
] | null | null | null | src/test/java/io/vertx/core/impl/launcher/DefaultCommandTest.java | julien3/vert.x | a8abdfa1eb21c4ce8218e8bd279eac5b33dc8d1c | [
"Apache-2.0"
] | null | null | null | src/test/java/io/vertx/core/impl/launcher/DefaultCommandTest.java | julien3/vert.x | a8abdfa1eb21c4ce8218e8bd279eac5b33dc8d1c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2011-2015 The original author or authors
* ------------------------------------------------------
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distr... | 37.014706 | 92 | 0.716329 |
b77600df104fd31428fba0a77359347819a4dbbc | 1,166 | cs | C# | src/SFA.DAS.EmployerAccounts/Queries/GetInvitation/GetInvitationQueryHandler.cs | uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice | b6778ed20b0438acab7c1a14600288a250db8d23 | [
"MIT"
] | 8 | 2016-09-14T08:31:59.000Z | 2021-08-19T11:13:59.000Z | src/SFA.DAS.EmployerAccounts/Queries/GetInvitation/GetInvitationQueryHandler.cs | uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice | b6778ed20b0438acab7c1a14600288a250db8d23 | [
"MIT"
] | 319 | 2016-07-20T07:52:08.000Z | 2022-03-31T18:07:09.000Z | src/SFA.DAS.EmployerAccounts/Queries/GetInvitation/GetInvitationQueryHandler.cs | uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice | b6778ed20b0438acab7c1a14600288a250db8d23 | [
"MIT"
] | 8 | 2016-11-08T16:30:23.000Z | 2022-03-23T19:45:38.000Z | using System;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EmployerAccounts.Data;
using SFA.DAS.HashingService;
namespace SFA.DAS.EmployerAccounts.Queries.GetInvitation
{
//TODO tests and validator
public class GetInvitationQueryHandler : IAsyncRequestHandler<GetInvitationRequest, GetInvitationR... | 35.333333 | 116 | 0.709262 |
2ffd5bae6902624615c9356f6a9cf35e5dfa177c | 1,004 | kt | Kotlin | app/src/main/java/com/thisaay/youtuber/di/module/ActivityModule.kt | thisAAY/Youtube-Channel-Videos | 64c7af926ababe1e63b41f212bb893f2c9888afd | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/thisaay/youtuber/di/module/ActivityModule.kt | thisAAY/Youtube-Channel-Videos | 64c7af926ababe1e63b41f212bb893f2c9888afd | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/thisaay/youtuber/di/module/ActivityModule.kt | thisAAY/Youtube-Channel-Videos | 64c7af926ababe1e63b41f212bb893f2c9888afd | [
"Apache-2.0"
] | null | null | null | package com.thisaay.youtuber.di.module
import androidx.lifecycle.ViewModelProviders
import com.thisaay.youtuber.data.remote.NetworkService
import com.thisaay.youtuber.ui.MainActivity
import com.thisaay.youtuber.ui.MainViewModel
import com.thisaay.youtuber.utils.ViewModelProviderFactory
import com.thisaay.youtuber.uti... | 31.375 | 119 | 0.77988 |
e05b9eadca20ce7c2b93c7bff444889f76541980 | 6,949 | c | C | test/include/gmp-6.1.2/mpn/jacbase.c | kcpikkt/apa | 9e84491ff58666b273ef50faea086e43abb89ab1 | [
"MIT"
] | 184 | 2020-04-15T14:28:37.000Z | 2020-09-22T15:57:55.000Z | homomorphic_evaluation/gmp-6.1.2/mpn/jacbase.c | dklee0501/Lobster | f2b73df9165c76e8b521d8ebd639d68321e3862b | [
"MIT"
] | 4 | 2020-03-07T21:13:11.000Z | 2020-04-28T07:23:42.000Z | homomorphic_evaluation/gmp-6.1.2/mpn/jacbase.c | dklee0501/Lobster | f2b73df9165c76e8b521d8ebd639d68321e3862b | [
"MIT"
] | 6 | 2020-11-07T07:31:27.000Z | 2022-01-09T18:48:19.000Z | /* mpn_jacobi_base -- limb/limb Jacobi symbol with restricted arguments.
THIS INTERFACE IS PRELIMINARY AND MIGHT DISAPPEAR OR BE SUBJECT TO
INCOMPATIBLE CHANGES IN A FUTURE RELEASE OF GMP.
Copyright 1999-2002, 2010 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is f... | 28.479508 | 75 | 0.525687 |
7e20f563f456836d1255157b56867d6c49954bf7 | 4,748 | kt | Kotlin | app/src/main/java/com/forcetower/uefs/feature/reminders/CreateReminderDialog.kt | Matoro17/Melon | 34b0b27a888014f47fe45ed9b990b39a6a99ffd9 | [
"MIT"
] | null | null | null | app/src/main/java/com/forcetower/uefs/feature/reminders/CreateReminderDialog.kt | Matoro17/Melon | 34b0b27a888014f47fe45ed9b990b39a6a99ffd9 | [
"MIT"
] | null | null | null | app/src/main/java/com/forcetower/uefs/feature/reminders/CreateReminderDialog.kt | Matoro17/Melon | 34b0b27a888014f47fe45ed9b990b39a6a99ffd9 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2019.
* João Paulo Sena <joaopaulo761@gmail.com>
*
* This file is part of the UNES Open Source Project.
*
* UNES is licensed under the MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (... | 41.649123 | 129 | 0.706403 |
717964ed86cd82f7e892be796ca261697b1480a7 | 1,360 | sql | SQL | whereLike.sql | MikeMwambia-TrojanSystem/sql_summary_notes | fc1c016fdc83896cdd2fe948e2154ca8b177769e | [
"MIT"
] | null | null | null | whereLike.sql | MikeMwambia-TrojanSystem/sql_summary_notes | fc1c016fdc83896cdd2fe948e2154ca8b177769e | [
"MIT"
] | null | null | null | whereLike.sql | MikeMwambia-TrojanSystem/sql_summary_notes | fc1c016fdc83896cdd2fe948e2154ca8b177769e | [
"MIT"
] | null | null | null |
-- Selects the condition where there's a like
-- % Wildcards returns thos that have that character
-- e.g '%the%' returns those that have 'the' in second_name;
-- the% returns those that start with 'the'
-- %the returns thos that end with 'the'
SELECT second_name FROM peoplesTable
WHERE second_name LIKE '%the%';
-- ... | 25.660377 | 61 | 0.728676 |
545004b0c44db1fdd90818893706349b31413847 | 7,436 | asm | Assembly | src/kernel/arch/x86_64/asm/boot.asm | aryanmaurya1/ArvernOS | a8452c01cd180ffbdabf949c80329ccfcc84d2e9 | [
"MIT"
] | 229 | 2017-05-22T16:48:19.000Z | 2021-11-18T18:43:03.000Z | src/kernel/arch/x86_64/asm/boot.asm | aryanmaurya1/ArvernOS | a8452c01cd180ffbdabf949c80329ccfcc84d2e9 | [
"MIT"
] | 95 | 2017-05-22T16:35:44.000Z | 2021-11-17T22:28:36.000Z | src/kernel/arch/x86_64/asm/boot.asm | aryanmaurya1/ArvernOS | a8452c01cd180ffbdabf949c80329ccfcc84d2e9 | [
"MIT"
] | 28 | 2017-05-23T16:06:42.000Z | 2021-11-15T07:15:15.000Z | ; cf. https://intermezzos.github.io/book/hello-world.html
global start ; exports a label (makes it public). As start will be the entry
; point of our kernel, it needs to be public.
global gdt64 ; exports the GDT as well
global tss ; ...and the TSS
section .text ; executable code
bits 32 ; specifies tha... | 25.121622 | 79 | 0.608661 |
d02ed29d017f4d5ae9e34d673e71ea75c16edc9b | 8,243 | rb | Ruby | lib/remap/base.rb | oleander/remap | a6b234f25e87b2dbe396683355273e229213e49e | [
"MIT"
] | 1 | 2021-12-08T23:29:22.000Z | 2021-12-08T23:29:22.000Z | lib/remap/base.rb | oleander/remap | a6b234f25e87b2dbe396683355273e229213e49e | [
"MIT"
] | 43 | 2021-12-07T21:30:55.000Z | 2021-12-20T21:52:36.000Z | lib/remap/base.rb | oleander/remap | a6b234f25e87b2dbe396683355273e229213e49e | [
"MIT"
] | 1 | 2021-12-23T21:43:11.000Z | 2021-12-23T21:43:11.000Z | # frozen_string_literal: true
require "active_support/configurable"
require "active_support/core_ext/object/with_options"
module Remap
# @example Select all elements
# class Mapper < Remap::Base
# define do
# map [all, :name]
# end
# end
#
# Mapper.call([{ name: "John" }, { name: "... | 25.285276 | 101 | 0.531724 |
b0b5b2e2cd6f5d3e97455df4843046f9542a58a5 | 165 | py | Python | problem0034.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0034.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0034.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #34 Digit factorials - Project Euler
# https://projecteuler.net/problem=34
#
# Code by Kevin Marciniak
#
###########################
| 18.333333 | 38 | 0.472727 |
7fd0a2137221925d0a61d5d5cc757207fa401456 | 1,429 | php | PHP | protected/views/account/storagelogin.php | tvitcom/yii-inventory | 4136fdd1fab8b3c6fd3ce1b14d7ccac1ef9bc2e5 | [
"Apache-2.0"
] | null | null | null | protected/views/account/storagelogin.php | tvitcom/yii-inventory | 4136fdd1fab8b3c6fd3ce1b14d7ccac1ef9bc2e5 | [
"Apache-2.0"
] | null | null | null | protected/views/account/storagelogin.php | tvitcom/yii-inventory | 4136fdd1fab8b3c6fd3ce1b14d7ccac1ef9bc2e5 | [
"Apache-2.0"
] | null | null | null | <?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm */
$this->pageTitle = Yii::app()->name . ' - Get Storage Password';
$this->breadcrumbs = array(
Yii::t('site', 'Login'),
);
?>
<h1><?php echo Yii::t('site', 'Login'); ?></h1>
<p><?php echo Yii::t('site', 'Please fill mas... | 28.019608 | 95 | 0.526942 |
591b00f1ae94fc8f7fb7d6b4ca60e51067d8fa5b | 9,866 | swift | Swift | Sources/WWCropViewController/Extension+.swift | William-Weng/WWCropViewController | d255a565266e62630b95b7a44bad4c156a8a2d26 | [
"MIT"
] | null | null | null | Sources/WWCropViewController/Extension+.swift | William-Weng/WWCropViewController | d255a565266e62630b95b7a44bad4c156a8a2d26 | [
"MIT"
] | null | null | null | Sources/WWCropViewController/Extension+.swift | William-Weng/WWCropViewController | d255a565266e62630b95b7a44bad4c156a8a2d26 | [
"MIT"
] | null | null | null | //
// Extension+.swift
// WWCropViewController
//
// Created by William.Weng on 2021/12/15.
//
import UIKit
// MARK: - Collection (override class function)
extension Collection {
/// [為Array加上安全取值特性 => nil](https://stackoverflow.com/questions/25329186/safe-bounds-checked-array-lookup-in-swift-through-optional... | 35.876364 | 156 | 0.625481 |
dd882efbc18919115d7d044fcf4cc0b82677ec64 | 1,845 | java | Java | drools-workbench-models/drools-workbench-models-datamodel-api/src/main/java/org/drools/workbench/models/datamodel/rule/ActionWorkItemFieldValue.java | bxf12315/drools | 73c1ee5f3339c4acf4e270b67963085c9357813a | [
"Apache-2.0"
] | 1 | 2019-02-15T02:33:45.000Z | 2019-02-15T02:33:45.000Z | drools-workbench-models/drools-workbench-models-datamodel-api/src/main/java/org/drools/workbench/models/datamodel/rule/ActionWorkItemFieldValue.java | bxf12315/drools | 73c1ee5f3339c4acf4e270b67963085c9357813a | [
"Apache-2.0"
] | null | null | null | drools-workbench-models/drools-workbench-models-datamodel-api/src/main/java/org/drools/workbench/models/datamodel/rule/ActionWorkItemFieldValue.java | bxf12315/drools | 73c1ee5f3339c4acf4e270b67963085c9357813a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2012 JBoss 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 ... | 31.810345 | 75 | 0.669377 |
e22516126faad7980966ce82d1f65f429081f7a4 | 5,593 | py | Python | scripts/tile-add-gold-flags.py | sweverett/Balrog-GalSim | 10373b6166f0507a59315908b4123bffef0a4370 | [
"MIT"
] | 4 | 2019-05-23T21:26:33.000Z | 2021-09-07T17:15:42.000Z | scripts/tile-add-gold-flags.py | sweverett/Balrog-GalSim | 10373b6166f0507a59315908b4123bffef0a4370 | [
"MIT"
] | 81 | 2017-08-31T19:15:12.000Z | 2020-04-16T19:56:57.000Z | scripts/tile-add-gold-flags.py | sweverett/Balrog-GalSim | 10373b6166f0507a59315908b4123bffef0a4370 | [
"MIT"
] | 9 | 2017-08-30T14:46:16.000Z | 2022-03-15T14:29:20.000Z | #!/usr/bin/env python
'''
tile-add-gold-flags.py
This script will append a FLAGS_GOLD column according to Y3 Gold definitions
Usage: python tile-add-gold-flags.py -d [merged_files_dir]
Author: Nacho Sevilla (nsevilla@gmail.com)
Further edited by Spencer Everett
'''
import sys
import numpy as np
import fitsio
... | 38.572414 | 126 | 0.574468 |
0fbf3b40c8acb9038dde2fa7ed12189d595e63b0 | 1,393 | swift | Swift | wand/ViewControllers/Home/HomeViewController.swift | justnaa/wand | cb30f57698533b441367220aac5a34fa861bd191 | [
"MIT"
] | null | null | null | wand/ViewControllers/Home/HomeViewController.swift | justnaa/wand | cb30f57698533b441367220aac5a34fa861bd191 | [
"MIT"
] | null | null | null | wand/ViewControllers/Home/HomeViewController.swift | justnaa/wand | cb30f57698533b441367220aac5a34fa861bd191 | [
"MIT"
] | null | null | null | //
// HomeViewController.swift
// wand
//
// Created by Juliette on 5/9/21.
//
import Foundation
import UIKit
import WandKit
class HomeViewController : UITabBarController {
override func viewDidLoad () {
super.viewDidLoad()
let spellsViewController = SpellsViewController()
... | 32.395349 | 104 | 0.681981 |
d7fb6256dc31c7374727ba3ab0bd696f7f4dbfe7 | 5,676 | rb | Ruby | spec/helpers/service_helper_spec.rb | TransformCore/trade-tariff-duty-calculator | 482ba5a8b03c5c0dee605cd4f1d8ba51ee403429 | [
"MIT"
] | 1 | 2021-02-04T18:44:16.000Z | 2021-02-04T18:44:16.000Z | spec/helpers/service_helper_spec.rb | TransformCore/trade-tariff-duty-calculator | 482ba5a8b03c5c0dee605cd4f1d8ba51ee403429 | [
"MIT"
] | 1 | 2021-02-22T13:04:14.000Z | 2021-02-22T13:04:14.000Z | spec/helpers/service_helper_spec.rb | TransformCore/trade-tariff-duty-calculator | 482ba5a8b03c5c0dee605cd4f1d8ba51ee403429 | [
"MIT"
] | null | null | null | RSpec.describe ServiceHelper, :user_session do
before do
allow(Rails.configuration).to receive(:trade_tariff_frontend_url).and_return(frontend_url)
allow(controller).to receive(:params).and_return(params)
end
let(:params) do
ActionController::Parameters.new(
referred_service: service,
).pe... | 27.687805 | 99 | 0.643763 |
2360986be1f1565e5696d927becedbb35acd3fe8 | 3,082 | css | CSS | styles/pages/Login.module.css | BrunoAngeloti/Avaliacao360 | 8980975cf93b89fa04eed4dcb647d148f8048398 | [
"MIT"
] | 1 | 2022-02-16T10:06:34.000Z | 2022-02-16T10:06:34.000Z | styles/pages/Login.module.css | BrunoAngeloti/Avaliacao360 | 8980975cf93b89fa04eed4dcb647d148f8048398 | [
"MIT"
] | null | null | null | styles/pages/Login.module.css | BrunoAngeloti/Avaliacao360 | 8980975cf93b89fa04eed4dcb647d148f8048398 | [
"MIT"
] | null | null | null | .container {
padding: 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
height: 100vh;
background-color: var(--White-Background);
}
.container img {
width: 60%;
}
.boxLog {
display:flex;
width: 40%;
flex-direction: column;
justify-content: center;
align-ite... | 13.945701 | 44 | 0.595717 |
a34be6f2c60e5a827814915a7808d0fe0a88e500 | 250 | java | Java | aula10/logica/ProgramaPrincipal.java | anachavesrs/desenvolvimento_de_software-java | e918669b23c7b5fa7fdb3460527cbf3e0d76c9a2 | [
"MIT"
] | null | null | null | aula10/logica/ProgramaPrincipal.java | anachavesrs/desenvolvimento_de_software-java | e918669b23c7b5fa7fdb3460527cbf3e0d76c9a2 | [
"MIT"
] | null | null | null | aula10/logica/ProgramaPrincipal.java | anachavesrs/desenvolvimento_de_software-java | e918669b23c7b5fa7fdb3460527cbf3e0d76c9a2 | [
"MIT"
] | null | null | null |
package logica;
import grafica.FrmCalculadoraGeometrica;
public class ProgramaPrincipal{
public static void main(String[] args) {
FrmCalculadoraGeometrica frm = new FrmCalculadoraGeometrica();
frm.setVisible(true);
}
} | 20.833333 | 70 | 0.716 |
df9bfbdfc60c285a0451b0436ddedc811fa6de57 | 1,324 | cs | C# | src/ERPWeb.DAL/WorkSpace/LocationDAL.cs | jeffery1010/WXZL | ddfb6bd00ecac77a5bbcfd756aad8d00ad07cf07 | [
"Apache-2.0"
] | null | null | null | src/ERPWeb.DAL/WorkSpace/LocationDAL.cs | jeffery1010/WXZL | ddfb6bd00ecac77a5bbcfd756aad8d00ad07cf07 | [
"Apache-2.0"
] | null | null | null | src/ERPWeb.DAL/WorkSpace/LocationDAL.cs | jeffery1010/WXZL | ddfb6bd00ecac77a5bbcfd756aad8d00ad07cf07 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ERPWeb.Entity.IMGX;
using ERPWeb.Util.Helper;
namespace ERPWeb.DAL.IMGX
{
public class LocationDAL
{
private LocationDAL() { }
public static List<Locati... | 33.1 | 92 | 0.608761 |
872dfa79b9763d452f1f5ea2e839e402903f0f1d | 16,417 | sql | SQL | fma_csa poblacion test.sql | SrLezhuga/CentroServicio | 262c6f85a0af9e3d18a300856638e34cefd4c9ed | [
"MIT"
] | null | null | null | fma_csa poblacion test.sql | SrLezhuga/CentroServicio | 262c6f85a0af9e3d18a300856638e34cefd4c9ed | [
"MIT"
] | null | null | null | fma_csa poblacion test.sql | SrLezhuga/CentroServicio | 262c6f85a0af9e3d18a300856638e34cefd4c9ed | [
"MIT"
] | null | null | null | # Host: localhost (Version 5.5.5-10.4.14-MariaDB)
# Date: 2020-11-28 07:09:09
# Generator: MySQL-Front 6.0 (Build 2.20)
CREATE DATABASE fma_csa;
USE fma_csa;
#
# Structure for table "tab_cliente"
#
DROP TABLE IF EXISTS `tab_cliente`;
CREATE TABLE `tab_cliente` (
`id_cliente` int(11) NOT NULL AUTO_INCREMENT,
`... | 57.202091 | 2,921 | 0.725955 |
a10e1c002036608f604b6aca77a8d9bbf6d75fee | 2,492 | ts | TypeScript | src/tools/filesize/index.ts | Himenon/performance-report | 765179338bc8a0fe30b6543876cebb0291894a91 | [
"MIT"
] | null | null | null | src/tools/filesize/index.ts | Himenon/performance-report | 765179338bc8a0fe30b6543876cebb0291894a91 | [
"MIT"
] | 9 | 2020-11-17T16:11:43.000Z | 2020-12-15T07:26:49.000Z | src/tools/filesize/index.ts | Himenon/performance-report | 765179338bc8a0fe30b6543876cebb0291894a91 | [
"MIT"
] | null | null | null | import * as fs from "fs";
import * as zlib from "zlib";
import * as Calculator from "../calculator";
import { decorateDiffText, decorateUnit } from "../decorator";
export interface Item {
/** File name */
name: string;
/** file path from repository root */
path: string;
/** file size (bytes)) */
sizeByte: ... | 27.086957 | 95 | 0.682183 |
254d83eeb1f9e694d1bc9a4480b59412366a477c | 213 | cs | C# | src/StartupIdentity.Core.Domain.Entities/UserToken.cs | isilveira/StartUpIdentity | 576a7a835d6d3f25c54f6898f80d13e6cc2059bd | [
"MIT"
] | 1 | 2020-01-20T14:09:20.000Z | 2020-01-20T14:09:20.000Z | src/StartupIdentity.Core.Domain.Entities/UserToken.cs | isilveira/startup-identity | 576a7a835d6d3f25c54f6898f80d13e6cc2059bd | [
"MIT"
] | null | null | null | src/StartupIdentity.Core.Domain.Entities/UserToken.cs | isilveira/startup-identity | 576a7a835d6d3f25c54f6898f80d13e6cc2059bd | [
"MIT"
] | null | null | null | using Microsoft.AspNetCore.Identity;
namespace StartupIdentity.Core.Domain.Entities
{
public class UserToken : IdentityUserToken<string>
{
public UserToken() : base()
{
}
}
}
| 17.75 | 54 | 0.638498 |
e1de6d0046baf2d4bd02dd351a1a9e8e0b7f16e4 | 434 | rb | Ruby | app/workers/namespaces/onboarding_pipeline_created_worker.rb | samg/a-gl | dc46bfcc8c5ac83d878c3eb236619423faf9cd9d | [
"MIT"
] | null | null | null | app/workers/namespaces/onboarding_pipeline_created_worker.rb | samg/a-gl | dc46bfcc8c5ac83d878c3eb236619423faf9cd9d | [
"MIT"
] | 21 | 2020-05-19T00:04:51.000Z | 2022-03-30T22:05:57.000Z | app/workers/namespaces/onboarding_pipeline_created_worker.rb | rohitesh1/gitlab | 4a797e9fc8f222853549151c50656de5bd999f53 | [
"MIT"
] | 2 | 2020-11-04T05:27:00.000Z | 2021-04-01T11:21:10.000Z | # frozen_string_literal: true
module Namespaces
class OnboardingPipelineCreatedWorker
include ApplicationWorker
feature_category :subgroups
urgency :low
deduplicate :until_executing
idempotent!
def perform(namespace_id)
namespace = Namespace.find_by_id(namespace_id)
return unle... | 20.666667 | 81 | 0.760369 |
c94510303f3990e6c070ec907f203d6a5908790e | 310 | tsx | TypeScript | src/StructuredData.tsx | Shlizer/new-www | 3ef44ec58862ac54a8dccc59a889c5cc7d5520b3 | [
"MIT"
] | null | null | null | src/StructuredData.tsx | Shlizer/new-www | 3ef44ec58862ac54a8dccc59a889c5cc7d5520b3 | [
"MIT"
] | null | null | null | src/StructuredData.tsx | Shlizer/new-www | 3ef44ec58862ac54a8dccc59a889c5cc7d5520b3 | [
"MIT"
] | null | null | null | import { Thing, WithContext } from 'schema-dts'
import React from 'react'
export const StructuredData: <T extends Thing>(props: WithContext<T>) => ReturnType<React.FC> = (props) => {
return <script type='application/ld+json'
dangerouslySetInnerHTML={{ __html: JSON.stringify(props) }} />
}
| 38.75 | 108 | 0.683871 |
0782b674f67dcee673888c475f9f9f9d292cb572 | 828 | cpp | C++ | Debouncer/Debouncer.cpp | apechinsky/arduino-libs | 64a62695c7f77f72f7e54f3715071ba42056534c | [
"Apache-2.0"
] | 1 | 2016-12-02T16:49:13.000Z | 2016-12-02T16:49:13.000Z | Debouncer/Debouncer.cpp | apechinsky/arduino-libs | 64a62695c7f77f72f7e54f3715071ba42056534c | [
"Apache-2.0"
] | 1 | 2018-06-12T07:54:17.000Z | 2018-06-12T07:54:17.000Z | Debouncer/Debouncer.cpp | apechinsky/arduino-libs | 64a62695c7f77f72f7e54f3715071ba42056534c | [
"Apache-2.0"
] | null | null | null | /*
Debouncer library
Copyright (c) 2016 Anton Pechinsky. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the Apache License v2.0.
See file LICENSE for further informations on licensing terms.
*/
#include "Arduino.h"
#include "Debou... | 22.378378 | 67 | 0.649758 |
d1c5c34407ebffb8be26187d1c26b1b2eacb4f7a | 1,159 | swift | Swift | TethysAppSpecs/Helpers/Fakes/FakeArticleUseCase.swift | younata/RSSClient | 8a04936d0941973232e57cbb981e063d39258ced | [
"MIT"
] | 10 | 2015-05-15T07:04:18.000Z | 2016-11-28T20:11:42.000Z | TethysAppSpecs/Helpers/Fakes/FakeArticleUseCase.swift | younata/RSSClient | 8a04936d0941973232e57cbb981e063d39258ced | [
"MIT"
] | 17 | 2015-01-06T06:14:06.000Z | 2016-11-06T22:46:28.000Z | TethysAppSpecs/Helpers/Fakes/FakeArticleUseCase.swift | younata/RSSClient | 8a04936d0941973232e57cbb981e063d39258ced | [
"MIT"
] | 1 | 2015-06-23T13:23:13.000Z | 2015-06-23T13:23:13.000Z | import TethysKit
import Tethys
import CBGPromise
import Result
final class FakeArticleUseCase: ArticleUseCase {
private(set) var readArticleCallCount : Int = 0
var readArticleStub : ((Article) -> (String))?
private var readArticleArgs : Array<(Article)> = []
func readArticleReturns(_ stubbedValues: (St... | 34.088235 | 70 | 0.683348 |
fd431e4ff9babd75b9dc8aedd8316703c26811c9 | 1,610 | rs | Rust | src/sequence1.rs | muzudho/iterator-rust | 718b67b95f609bc3ccf248e8cc02029fa5a58139 | [
"MIT"
] | null | null | null | src/sequence1.rs | muzudho/iterator-rust | 718b67b95f609bc3ccf248e8cc02029fa5a58139 | [
"MIT"
] | null | null | null | src/sequence1.rs | muzudho/iterator-rust | 718b67b95f609bc3ccf248e8cc02029fa5a58139 | [
"MIT"
] | null | null | null | use std::fmt;
/// イテレートできるもの。 Clone derive を外せない。
#[derive(Clone)]
pub struct Sequence1 {
/// String型は Unicodeなのでイテレートが案外難しい。 `Vec<char>` にしたのが工夫。
pub sequence: Vec<char>,
/// イテレートで使う配列のインデックスのようなもの。
/// しかし `&mut self` でないと イテレートできない(`iter_mut()相当`)よな。
pub curr: usize,
}
/// 普段よく見る `for ... | 29.272727 | 73 | 0.520497 |
a9235797bfeb675788131118425403c959e429e0 | 46 | sql | SQL | src/test/modules/test_csn/sql/test_csn.sql | qiuwenhuifx/PolarDB-for-PostgreSQL | 398902a8ba8cc3a89dc581f3d681971e887e7ebd | [
"Apache-2.0"
] | 202 | 2021-10-13T09:21:34.000Z | 2022-03-31T09:52:47.000Z | src/test/modules/test_csn/sql/test_csn.sql | qiuwenhuifx/PolarDB-for-PostgreSQL | 398902a8ba8cc3a89dc581f3d681971e887e7ebd | [
"Apache-2.0"
] | 9 | 2021-11-01T09:10:56.000Z | 2022-03-28T14:24:23.000Z | src/test/modules/test_csn/sql/test_csn.sql | qiuwenhuifx/PolarDB-for-PostgreSQL | 398902a8ba8cc3a89dc581f3d681971e887e7ebd | [
"Apache-2.0"
] | 47 | 2021-10-21T07:15:26.000Z | 2022-03-29T11:37:15.000Z | CREATE EXTENSION test_csn;
SELECT test_csn(); | 15.333333 | 26 | 0.804348 |
60090b560f2b8cca5751f60639df768d67be53f4 | 354 | sql | SQL | BBScoreboard.Database/dbo/Tables/UCPlayer.sql | dsalunga/BBScoreboard | d71f171d20c5942495195cc4ee63aa647ea976bb | [
"MIT"
] | null | null | null | BBScoreboard.Database/dbo/Tables/UCPlayer.sql | dsalunga/BBScoreboard | d71f171d20c5942495195cc4ee63aa647ea976bb | [
"MIT"
] | null | null | null | BBScoreboard.Database/dbo/Tables/UCPlayer.sql | dsalunga/BBScoreboard | d71f171d20c5942495195cc4ee63aa647ea976bb | [
"MIT"
] | 1 | 2022-02-02T03:39:05.000Z | 2022-02-02T03:39:05.000Z | CREATE TABLE [dbo].[UCPlayer] (
[Id] INT IDENTITY (1, 1) NOT NULL,
[FirstName] NVARCHAR (500) NOT NULL,
[LastName] NVARCHAR (500) NOT NULL,
[PlayerNumber] INT NOT NULL,
[PositionId] INT NOT NULL,
[TeamId] INT NOT NULL,
PRI... | 32.181818 | 59 | 0.50565 |
e3f4ae3b15620b9f27a83cfed326c8c84fee5bce | 977 | rb | Ruby | vendor/plugins/rails_sql_views/lib/rails_sql_views/connection_adapters/sqlserver_adapter.rb | NESCent/max-bodysize-evol | 943385c4bf571888a4b3ab4d02e19669d427978a | [
"MIT"
] | null | null | null | vendor/plugins/rails_sql_views/lib/rails_sql_views/connection_adapters/sqlserver_adapter.rb | NESCent/max-bodysize-evol | 943385c4bf571888a4b3ab4d02e19669d427978a | [
"MIT"
] | null | null | null | vendor/plugins/rails_sql_views/lib/rails_sql_views/connection_adapters/sqlserver_adapter.rb | NESCent/max-bodysize-evol | 943385c4bf571888a4b3ab4d02e19669d427978a | [
"MIT"
] | 1 | 2019-03-05T12:53:59.000Z | 2019-03-05T12:53:59.000Z | module ActiveRecord
module ConnectionAdapters
class SQLServerAdapter
# Returns true as this adapter supports views.
def supports_views?
true
end
# Returns all the view names from the currently connected schema.
def views(name = nil)
select_values("SELECT table_... | 27.138889 | 78 | 0.594678 |
0f5a5b9eab791bfa60c211944bb0ea4c00988ca6 | 2,140 | css | CSS | src/main/web/css/mxjs.css | ghode/gwrbms | 3f80af3f78c2ee01d2b55af076516f01e4262ea5 | [
"Apache-2.0"
] | 1 | 2019-11-10T09:34:48.000Z | 2019-11-10T09:34:48.000Z | src/main/web/css/mxjs.css | ghode/gwrbms | 3f80af3f78c2ee01d2b55af076516f01e4262ea5 | [
"Apache-2.0"
] | 2 | 2019-11-30T16:26:51.000Z | 2019-12-14T13:26:07.000Z | src/main/web/css/mxjs.css | ghode/gwrbms | 3f80af3f78c2ee01d2b55af076516f01e4262ea5 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019. The copyright is reserved by Ghode of Harbin Institute
* of Technology. Users are free to copy, change or remove. Because no one
* will read this. Only I know is that Repeaters are the best of the world.
* Only I know is that Repeaters are the best of the world. Only I know is
* that Repea... | 22.765957 | 105 | 0.681308 |
a312d077856b3aabfd4398c6be432e858c774001 | 1,623 | ts | TypeScript | server/src/resources/debug/debug_base.ts | eGust/visualgorithms | a78d759bff46e484a0d79c61a91115c48359f8c2 | [
"MIT"
] | 1 | 2021-05-28T20:12:28.000Z | 2021-05-28T20:12:28.000Z | server/src/resources/debug/debug_base.ts | eGust/visualgorithms | a78d759bff46e484a0d79c61a91115c48359f8c2 | [
"MIT"
] | 19 | 2020-09-04T18:21:01.000Z | 2022-03-08T22:47:53.000Z | server/src/resources/debug/debug_base.ts | eGust/visualgorithms | a78d759bff46e484a0d79c61a91115c48359f8c2 | [
"MIT"
] | null | null | null | import WebSocket from 'ws';
import { MethodMessage, ResponseMessage } from '../../types';
const defaultMessageHandler = (message: MethodMessage): void => {
console.info('defaultMessageHandler', message);
};
const defaultResponseHandler = (response: ResponseMessage): void => {
console.info('defaultResponseHandler'... | 27.982759 | 90 | 0.694393 |
a7b755977b3c15c08ed678f68b8195833d0c3bc8 | 1,068 | css | CSS | client/src/app/components/tweet-form/tweet-form.component.css | arevi/utica-tweets | 20496f5d17c4061f4dc50fc6d008fcc8b5e87cfd | [
"MIT"
] | null | null | null | client/src/app/components/tweet-form/tweet-form.component.css | arevi/utica-tweets | 20496f5d17c4061f4dc50fc6d008fcc8b5e87cfd | [
"MIT"
] | 1 | 2020-05-27T16:08:53.000Z | 2020-05-27T16:19:24.000Z | client/src/app/components/tweet-form/tweet-form.component.css | arevi/utica-tweets | 20496f5d17c4061f4dc50fc6d008fcc8b5e87cfd | [
"MIT"
] | null | null | null | .container{
margin-top: 2em;
display: flex;
justify-content: center;
}
.tweet-form{
width: 50vw;
display: flex;
flex-flow: column;
align-items: center;
border: 1px solid #1DA1F2;
border-radius: 2px;
min-width: 350px;
max-width: 500px;
}
.tweet-prompt{
color: white;
width: 100%;
text-align:... | 14.052632 | 28 | 0.64794 |
870257486e2cbbb24aed7b7485a08b2bc8fdf308 | 8,791 | dart | Dart | flutter_map_example/lib/main.dart | HninNwayNwayHlaing/flutter_map | cde77a0791c4bbe268b3d8ceea678bbdd3c3bd2f | [
"BSD-2-Clause"
] | 1 | 2018-10-22T18:35:07.000Z | 2018-10-22T18:35:07.000Z | flutter_map_example/lib/main.dart | HninNwayNwayHlaing/flutter_map | cde77a0791c4bbe268b3d8ceea678bbdd3c3bd2f | [
"BSD-2-Clause"
] | null | null | null | flutter_map_example/lib/main.dart | HninNwayNwayHlaing/flutter_map | cde77a0791c4bbe268b3d8ceea678bbdd3c3bd2f | [
"BSD-2-Clause"
] | 1 | 2018-08-17T13:51:10.000Z | 2018-08-17T13:51:10.000Z | import 'package:flutter/material.dart';
import 'package:latlong/latlong.dart';
import 'package:flutter_map/flutter_map.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return new Ma... | 28.449838 | 123 | 0.502787 |
7445085b3b4204e94876c11bc5068884c2cad734 | 6,640 | h | C | pkgs/apps/facesim/src/Public_Library/Geometry/TETRAHEDRALIZED_VOLUME.h | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 64 | 2015-03-06T00:30:56.000Z | 2022-03-24T13:26:53.000Z | pkgs/apps/facesim/src/Public_Library/Geometry/TETRAHEDRALIZED_VOLUME.h | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 12 | 2020-12-15T08:30:19.000Z | 2022-03-13T03:54:24.000Z | pkgs/apps/facesim/src/Public_Library/Geometry/TETRAHEDRALIZED_VOLUME.h | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 40 | 2015-02-26T15:31:16.000Z | 2022-03-03T23:23:37.000Z | //#####################################################################
// Copyright 2002-2004, Ron Fedkiw, Eilene Hao, Geoffrey Irving, Neil Molino, Joseph Teran, Robert Bridson, Andrew Selle, Zhaosheng Bao.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying fil... | 38.381503 | 140 | 0.744428 |
23a6c0f59612460f91b157d114dbec4fcc1f7413 | 5,425 | js | JavaScript | rich-mini/src/mixins/goods_detail.js | Ethereal-Coder/RichEC | 347d12cbd854deb471bd372b8eb34225b6f81882 | [
"MIT"
] | 1 | 2019-09-03T03:04:24.000Z | 2019-09-03T03:04:24.000Z | rich-mini/src/mixins/goods_detail.js | Ethereal-Coder/RichEC | 347d12cbd854deb471bd372b8eb34225b6f81882 | [
"MIT"
] | 5 | 2021-05-10T09:32:00.000Z | 2022-02-26T16:57:11.000Z | rich-mini/src/mixins/goods_detail.js | Ethereal-Coder/RichEC | 347d12cbd854deb471bd372b8eb34225b6f81882 | [
"MIT"
] | null | null | null | import wepy from 'wepy'
import * as echarts from '@/components/ec-canvas/echarts';
import util from '@/utils/util.js'
export default class extends wepy.mixin {
data = {
goods_id: '',
vid: '',
goodsInfo: {},
ec: {
onInit: ''
},
showPriceHistory: false,
... | 27.820513 | 114 | 0.359816 |
3f41782cec5d481570720084e1337efe3ab72276 | 1,367 | php | PHP | resources/views/makePayment.blade.php | LooJiaChen0908/WebBasedSystem_Project | 3dc2a939a6dbb3787ae358341da89fb02498cfee | [
"MIT"
] | null | null | null | resources/views/makePayment.blade.php | LooJiaChen0908/WebBasedSystem_Project | 3dc2a939a6dbb3787ae358341da89fb02498cfee | [
"MIT"
] | null | null | null | resources/views/makePayment.blade.php | LooJiaChen0908/WebBasedSystem_Project | 3dc2a939a6dbb3787ae358341da89fb02498cfee | [
"MIT"
] | null | null | null | @extends('layout')
@section('content')
<div class="container">
<div class="row">
<div class="col-sm-3"></div>
<div class="col-sm-6">
<h2 class="text-center p-3">Make Payment</h2>
<form method="POST" , action="{{ route('addPayment') }}">
@CSRF
<... | 42.71875 | 108 | 0.463058 |
3a27db4e4e2b6cdda7a5caaf432cbc55839ba426 | 1,583 | lua | Lua | leinwand.lua | c3e/ShinyLongitude | 028f925c2ec2c9ef8ca301c10f173b096cdf9b17 | [
"BSD-2-Clause"
] | null | null | null | leinwand.lua | c3e/ShinyLongitude | 028f925c2ec2c9ef8ca301c10f173b096cdf9b17 | [
"BSD-2-Clause"
] | 2 | 2017-01-30T20:09:36.000Z | 2017-02-20T17:07:16.000Z | leinwand.lua | c3e/ShinyLongitude | 028f925c2ec2c9ef8ca301c10f173b096cdf9b17 | [
"BSD-2-Clause"
] | null | null | null | oc_up = 7
oc_stop = 6
oc_down = 5
duration = 42*1000
gpio.mode(oc_up, gpio.OUTPUT)
gpio.write(oc_up, gpio.LOW)
gpio.mode(oc_stop, gpio.OUTPUT)
gpio.write(oc_stop, gpio.LOW)
gpio.mode(oc_down, gpio.OUTPUT)
gpio.write(oc_down, gpio.LOW)
-- Beamer Serial Codes
--* 0 IR 001 //on
--* 0 IR 002 //off
function lower_lein... | 26.830508 | 107 | 0.723942 |
596413a519f808b973c7998038b35fa9751582ba | 2,904 | kt | Kotlin | Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/keydownload/ui/KeyFileDownloadAdapter.kt | grnet/exo-app-android | 7549397240489c860470dd780ecb96aa73a6c4d4 | [
"Apache-2.0"
] | 1 | 2021-01-12T19:11:08.000Z | 2021-01-12T19:11:08.000Z | Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/keydownload/ui/KeyFileDownloadAdapter.kt | grnet/exo-app-android | 7549397240489c860470dd780ecb96aa73a6c4d4 | [
"Apache-2.0"
] | null | null | null | Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/keydownload/ui/KeyFileDownloadAdapter.kt | grnet/exo-app-android | 7549397240489c860470dd780ecb96aa73a6c4d4 | [
"Apache-2.0"
] | null | null | null | package de.rki.coronawarnapp.test.keydownload.ui
import android.text.format.Formatter
import android.view.ViewGroup
import de.rki.coronawarnapp.R
import de.rki.coronawarnapp.databinding.FragmentTestKeydownloadAdapterLineBinding
import de.rki.coronawarnapp.diagnosiskeys.storage.CachedKeyInfo
import de.rki.coronawarnapp... | 40.901408 | 119 | 0.720386 |
68a9a44ae0c9dc6989050672f30b21278403f721 | 2,348 | rb | Ruby | spec/xpathquery/nokogiri_spec.rb | gioele/xpathquery | ba4b04ee3418d68695794d113630f49c103bbeee | [
"CC0-1.0"
] | 1 | 2017-09-20T02:05:49.000Z | 2017-09-20T02:05:49.000Z | spec/xpathquery/nokogiri_spec.rb | gioele/xpathquery | ba4b04ee3418d68695794d113630f49c103bbeee | [
"CC0-1.0"
] | null | null | null | spec/xpathquery/nokogiri_spec.rb | gioele/xpathquery | ba4b04ee3418d68695794d113630f49c103bbeee | [
"CC0-1.0"
] | null | null | null | require 'spec_helpers'
require 'xpathquery/nokogiri'
describe XPathQuery::Nokogiri do
describe "#query" do
let(:nokogiri) { XPathQuery::Nokogiri.new(fixture_file(:library)) }
it "works for simple queries" do
results = nokogiri.query('//book')
results.should have(3).items
end
it "takes namespaces into... | 30.102564 | 81 | 0.682709 |
5531f603fa154eb47603c9f82d88e519c8ae8659 | 1,320 | sql | SQL | KoerierService/src/main/resources/mykoeriers.sql | AlexisMartens/SystemDesignPostNL | 73b80b7143d6f8911e5152b46e59d0a8313ed319 | [
"MIT"
] | 1 | 2021-01-18T10:51:40.000Z | 2021-01-18T10:51:40.000Z | KoerierService/src/main/resources/mykoeriers.sql | AlexisMartens/SystemDesignPostNL | 73b80b7143d6f8911e5152b46e59d0a8313ed319 | [
"MIT"
] | null | null | null | KoerierService/src/main/resources/mykoeriers.sql | AlexisMartens/SystemDesignPostNL | 73b80b7143d6f8911e5152b46e59d0a8313ed319 | [
"MIT"
] | null | null | null | INSERT INTO koerier_data_model(koerier_id, naam, postcode_ronde, vervoercapaciteit)
VALUES
('1','Jonny','9900','150'),
('2','James','9000','80'),
('3','Betty','9000','100'),
('4','Jamie','4000','90');
INSERT INTO order_data_model(order_id, koerier_id, naam_afzender, postcode_afzender, straat_afzender, plaats_afzende... | 66 | 287 | 0.569697 |
57f34c8185f53a74152a444f9de8456177289778 | 357 | php | PHP | application/common/model/LiveCourseRecord.php | cyxsissie/blog | 8002b734d9266a78cea2f25783339593d873c160 | [
"Apache-2.0"
] | null | null | null | application/common/model/LiveCourseRecord.php | cyxsissie/blog | 8002b734d9266a78cea2f25783339593d873c160 | [
"Apache-2.0"
] | null | null | null | application/common/model/LiveCourseRecord.php | cyxsissie/blog | 8002b734d9266a78cea2f25783339593d873c160 | [
"Apache-2.0"
] | null | null | null | <?php
namespace app\common\model;
class LiveCourseRecord extends BaseModel
{
public function user()
{
//一对一关联ea_live_user表 参数一表示关联的表名,参数二表示本表关联的字段名,参数三表示关联表的关联字段名
return $this->belongsTo("LiveUser", "user_id", "id");
}
public function course()
{
return $this->belongsTo("... | 17.85 | 68 | 0.638655 |
a328122dbc86e32a74977940ad54ae02736e2a40 | 1,262 | java | Java | message-service/src/main/java/com/github/mgramin/funny_microservices_sns/message_service/Message.java | mgramin/funny-microservices-sns | 7371a88d0c3241d20e90ea33bebe2516a28512b7 | [
"MIT"
] | null | null | null | message-service/src/main/java/com/github/mgramin/funny_microservices_sns/message_service/Message.java | mgramin/funny-microservices-sns | 7371a88d0c3241d20e90ea33bebe2516a28512b7 | [
"MIT"
] | 10 | 2018-02-02T07:00:52.000Z | 2018-03-04T20:39:42.000Z | message-service/src/main/java/com/github/mgramin/funny_microservices_sns/message_service/Message.java | mgramin/funny-microservices-sns | 7371a88d0c3241d20e90ea33bebe2516a28512b7 | [
"MIT"
] | null | null | null | package com.github.mgramin.funny_microservices_sns.message_service;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.cassandra.core.cql.Ordering;
import org.springframework.data.cassandra.core.cql.PrimaryKeyType;
import org.springframewo... | 31.55 | 100 | 0.76149 |
3877563783c16d241f5c6244705896ad4ba2e21d | 1,132 | php | PHP | app/Http/Controllers/UserController.php | TeamSolutionsSict/Solutions_backend | f3f5828e02e57d3276e69bb965295a728439c600 | [
"MIT"
] | null | null | null | app/Http/Controllers/UserController.php | TeamSolutionsSict/Solutions_backend | f3f5828e02e57d3276e69bb965295a728439c600 | [
"MIT"
] | null | null | null | app/Http/Controllers/UserController.php | TeamSolutionsSict/Solutions_backend | f3f5828e02e57d3276e69bb965295a728439c600 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
class UserController extends Controller
{
public function getListUser(){
$user= User::selectRaw('tb_user.username,tb_user.phone, tb_user.id, tb_user.email, tb_user.avatar, tb_user.status, tb_user.level, count(tb_post.id) ... | 36.516129 | 209 | 0.612191 |
46d606485c86562f3b1889e101a8bba2a6c49954 | 1,050 | py | Python | run/pair-filtering.py | ai-ku/uwsd | a74c5c8ebb668a2a1e6156a4b1570dfaa762e931 | [
"MIT"
] | 3 | 2015-08-23T04:12:38.000Z | 2022-02-05T23:30:06.000Z | run/pair-filtering.py | ai-ku/uwsd | a74c5c8ebb668a2a1e6156a4b1570dfaa762e931 | [
"MIT"
] | null | null | null | run/pair-filtering.py | ai-ku/uwsd | a74c5c8ebb668a2a1e6156a4b1570dfaa762e931 | [
"MIT"
] | null | null | null | #! /usr/bin/python
# -*- coding: utf-8 -*-
__author__ = "Osman Baskaya"
"""
This module is for filtering issues for scode input. on.all.gz file contains
all instaances in Ontonotes dataset. However, we'd like to use some subset of
it. For instance, we may use only the subset of instances where all instances
have at l... | 26.923077 | 81 | 0.698095 |
966a6547ae2791cd533c5750cb7707b57616facd | 2,503 | ps1 | PowerShell | Final dashboard/Pages/Home-Page.ps1 | bahahmidi/ud-powershell | c53be25f0aa9d5d7d8cbc4bc27b393da2d4922d3 | [
"MIT"
] | null | null | null | Final dashboard/Pages/Home-Page.ps1 | bahahmidi/ud-powershell | c53be25f0aa9d5d7d8cbc4bc27b393da2d4922d3 | [
"MIT"
] | null | null | null | Final dashboard/Pages/Home-Page.ps1 | bahahmidi/ud-powershell | c53be25f0aa9d5d7d8cbc4bc27b393da2d4922d3 | [
"MIT"
] | null | null | null | # Parent Root Path
$ParentRootPath = Split-Path -path $PSScriptRoot -Parent
New-UDPage -name "Home" -DefaultHomePage -Content{
# Table
$Table = New-UDTable -Title "Domain information" -Headers @(" ", " ") -Endpoint {
$DomainInfo = Get-ADDomain
$ForestInfo = Get-ADForest
@{... | 36.808824 | 135 | 0.594487 |
2fd555999127be8ea1f80b52299a580a547988c9 | 9,714 | py | Python | tests/interpret/juster/event_model.py | juster-finance/juster-core | c45ce1a9c6588e5518d3fdc8e2383e55f7aa1a61 | [
"MIT"
] | 3 | 2021-11-23T22:08:35.000Z | 2021-12-23T19:43:36.000Z | tests/interpret/juster/event_model.py | juster-finance/juster-core | c45ce1a9c6588e5518d3fdc8e2383e55f7aa1a61 | [
"MIT"
] | null | null | null | tests/interpret/juster/event_model.py | juster-finance/juster-core | c45ce1a9c6588e5518d3fdc8e2383e55f7aa1a61 | [
"MIT"
] | null | null | null | import json
def calc_liquidity_bonus_multiplier(
current_time, start_time, close_time):
""" Returns multiplier that applied to reduce bets """
return (current_time - start_time) / (close_time - start_time)
def calc_bet_return(top, bottom, amount, fee=0):
""" Calculates the amount that would be ... | 31.035144 | 90 | 0.62971 |
4594d5e9c6171b900540cc9f0d141171ef10e9d4 | 23,620 | py | Python | tupan/lib/extensions.py | ggf84/tupan | 67d3aa103d77248a04e8f112930ba7bdb55024b2 | [
"MIT"
] | 1 | 2016-06-12T19:43:51.000Z | 2016-06-12T19:43:51.000Z | tupan/lib/extensions.py | ggf84/tupan | 67d3aa103d77248a04e8f112930ba7bdb55024b2 | [
"MIT"
] | 1 | 2021-09-24T13:28:57.000Z | 2021-09-24T13:28:57.000Z | tupan/lib/extensions.py | ggf84/tupan | 67d3aa103d77248a04e8f112930ba7bdb55024b2 | [
"MIT"
] | 3 | 2015-11-03T15:35:31.000Z | 2021-03-02T17:41:27.000Z | # -*- coding: utf-8 -*-
#
"""This module implements highlevel interfaces for C/CL-extensions.
"""
from __future__ import print_function, division
import sys
import logging
from .utils import ctype
from .utils.timing import decallmethods, timings
__all__ = ["Phi", "phi",
"Acc", "acc",
"AccJer... | 35.253731 | 75 | 0.545766 |
dbaeb39cd6ec24ae3da36981eebfdcc724bff5b1 | 712 | php | PHP | core/anomaly/multiple-field_type/src/Table/LookupTableColumns.php | vileopratama/portal-toyotadjakarta | 25478d5940fcd724d4d37018de9493684d9539cf | [
"MIT"
] | null | null | null | core/anomaly/multiple-field_type/src/Table/LookupTableColumns.php | vileopratama/portal-toyotadjakarta | 25478d5940fcd724d4d37018de9493684d9539cf | [
"MIT"
] | 21 | 2015-06-18T03:17:25.000Z | 2020-01-31T04:48:55.000Z | core/anomaly/multiple-field_type/src/Table/LookupTableColumns.php | vileopratama/portal-toyotadjakarta | 25478d5940fcd724d4d37018de9493684d9539cf | [
"MIT"
] | 29 | 2015-06-17T13:57:43.000Z | 2020-12-08T22:36:51.000Z | <?php namespace Anomaly\MultipleFieldType\Table;
/**
* Class LookupTableColumns
*
* @link http://pyrocms.com/
* @author PyroCMS, Inc. <support@pyrocms.com>
* @author Ryan Thompson <ryan@pyrocms.com>
*/
class LookupTableColumns
{
/**
* Handle the command.
*
* @param Lo... | 18.25641 | 55 | 0.519663 |
2c8d5e267d7b8d613a2c1c6def6003b81ec2976d | 9,668 | py | Python | functions/SeasonalARIMA.py | mmfink/raster-functions | 55a33bdd2ac4f3333eca6ccd49de6f3d5d21f7ba | [
"Apache-2.0"
] | 173 | 2015-01-21T03:10:13.000Z | 2022-02-16T17:16:45.000Z | functions/SeasonalARIMA.py | mmfink/raster-functions | 55a33bdd2ac4f3333eca6ccd49de6f3d5d21f7ba | [
"Apache-2.0"
] | 34 | 2015-02-18T10:58:31.000Z | 2021-09-20T17:24:34.000Z | functions/SeasonalARIMA.py | mmfink/raster-functions | 55a33bdd2ac4f3333eca6ccd49de6f3d5d21f7ba | [
"Apache-2.0"
] | 78 | 2015-01-30T16:26:31.000Z | 2022-03-22T10:59:13.000Z | import numpy as np
import statsmodels.api as sm
import pandas as pd
import datetime
# For Debugging
import os
import sys
import pickle
debug_logs_directory = r'C:\PROJECTS\gbrunner-raster-functions\pickles\daymet'
class SeasonalARIMA():
def __init__(self):
self.name = "Seasonal ARIMA"
self.descr... | 42.590308 | 136 | 0.537443 |
8d959a0c88de5cb739372b57ba0d5f246b721ccc | 66 | js | JavaScript | demo/todomvc/Components/TodoMVC/Todos/TodosUiBox/TodoList/Todo/RemoveTodo/RemoveTodo.events.js | webextensions/kins | 257e9d29229029231942a26be478a2849a597927 | [
"MIT"
] | 1 | 2019-06-02T04:10:56.000Z | 2019-06-02T04:10:56.000Z | demo/todomvc/Components/TodoMVC/Todos/TodosUiBox/TodoList/Todo/RemoveTodo/RemoveTodo.events.js | webextensions/kins | 257e9d29229029231942a26be478a2849a597927 | [
"MIT"
] | null | null | null | demo/todomvc/Components/TodoMVC/Todos/TodosUiBox/TodoList/Todo/RemoveTodo/RemoveTodo.events.js | webextensions/kins | 257e9d29229029231942a26be478a2849a597927 | [
"MIT"
] | null | null | null | export const
TODOS__REMOVE_CLICKED = 'TODOS__REMOVE_CLICKED';
| 22 | 52 | 0.80303 |
d9cda0ef4d0df6dfd6f8388403b746f2aa73b0f1 | 18,605 | lua | Lua | love2d/lua/blanke/util.lua | xharris/blankejs | 5ff05f82607e2a2ac370a8f56c1ce70545cfb1ed | [
"MIT"
] | 1 | 2020-07-21T03:58:29.000Z | 2020-07-21T03:58:29.000Z | love2d/lua/blanke/util.lua | xharris/blankejs | 5ff05f82607e2a2ac370a8f56c1ce70545cfb1ed | [
"MIT"
] | 25 | 2019-07-03T17:00:09.000Z | 2022-03-25T19:05:40.000Z | love2d/lua/blanke/util.lua | xharris/blankejs | 5ff05f82607e2a2ac370a8f56c1ce70545cfb1ed | [
"MIT"
] | 1 | 2019-07-18T15:45:30.000Z | 2019-07-18T15:45:30.000Z | local tbl_to_str
tbl_to_str = function(t, str)
local empty = true
str = str or ''
str = str .. "["
for i = 1, #t, 1 do
if i ~= 1 then
str = str .. ','
end
if type(t[i]) == "table" then
str = str .. tbl_to_str(t[i], str)
else
str = s... | 29.161442 | 177 | 0.563397 |
4d2ed82efcbcad530ac561da8b082208c3713a1c | 3,320 | asm | Assembly | programs/oeis/201/A201553.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/201/A201553.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/201/A201553.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A201553: Number of arrays of 6 integers in -n..n with sum zero.
; 1,141,1751,9331,32661,88913,204763,418503,782153,1363573,2248575,3543035,5375005,7896825,11287235,15753487,21533457,28897757,38151847,49638147,63738149,80874529,101513259,126165719,155390809,189797061,230044751,276848011,330976941,393259721,464584723,5... | 474.285714 | 3,145 | 0.903614 |
2c9906f2412fb99fe815cd8e0bf6f588ffaa072a | 2,660 | py | Python | website/addons/dataverse/client.py | lbanner/osf.io | 1898ef0ff8bd91713e94c60e7463b5f81ac62caa | [
"Apache-2.0"
] | null | null | null | website/addons/dataverse/client.py | lbanner/osf.io | 1898ef0ff8bd91713e94c60e7463b5f81ac62caa | [
"Apache-2.0"
] | null | null | null | website/addons/dataverse/client.py | lbanner/osf.io | 1898ef0ff8bd91713e94c60e7463b5f81ac62caa | [
"Apache-2.0"
] | null | null | null | import httplib as http
from dataverse import Connection
from framework.exceptions import HTTPError
from website.addons.dataverse import settings
def connect(username, password, host=settings.HOST):
connection = Connection(
username=username,
password=password,
host=host,
disable_s... | 25.576923 | 69 | 0.716541 |
798cfdaefe05cc0746340d8f21b2b8b38e2d616b | 7,439 | php | PHP | src/Wallabag/ImportBundle/Import/PocketImport.php | delyriand/wallabag | a707643ef1a0d5f1cf4ab9826492f4c9cb2d8c09 | [
"MIT"
] | null | null | null | src/Wallabag/ImportBundle/Import/PocketImport.php | delyriand/wallabag | a707643ef1a0d5f1cf4ab9826492f4c9cb2d8c09 | [
"MIT"
] | null | null | null | src/Wallabag/ImportBundle/Import/PocketImport.php | delyriand/wallabag | a707643ef1a0d5f1cf4ab9826492f4c9cb2d8c09 | [
"MIT"
] | null | null | null | <?php
namespace Wallabag\ImportBundle\Import;
use Psr\Log\NullLogger;
use Doctrine\ORM\EntityManager;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\RequestException;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\... | 27.966165 | 152 | 0.517812 |
a4a4ef941af394f5e98a4b01832c72ba268d6724 | 108 | sql | SQL | src/MariaDB/examples/Kap07/Mitarbeiter.sql | YodaCh96/sql | d7a4f3fe92e22a91191b23e884b652d3b32f01a3 | [
"MIT"
] | null | null | null | src/MariaDB/examples/Kap07/Mitarbeiter.sql | YodaCh96/sql | d7a4f3fe92e22a91191b23e884b652d3b32f01a3 | [
"MIT"
] | null | null | null | src/MariaDB/examples/Kap07/Mitarbeiter.sql | YodaCh96/sql | d7a4f3fe92e22a91191b23e884b652d3b32f01a3 | [
"MIT"
] | null | null | null | CREATE TABLE ma
(id INTEGER NOT NULL,
vname VARCHAR(100),
name VARCHAR(100),
adr TEXT);
| 18 | 25 | 0.601852 |
ddc787c96e609527f1cebf60098913dabe471e5c | 2,179 | java | Java | src/main/java/top/chenxin/mc/service/impl/CustomerServiceImpl.java | zhchenxin/mc | 4a29d863dea2c8c8c8702a92be0f0bdd76a60d31 | [
"MIT"
] | 3 | 2018-11-02T06:11:37.000Z | 2021-11-07T20:23:49.000Z | src/main/java/top/chenxin/mc/service/impl/CustomerServiceImpl.java | zhchenxin/mc | 4a29d863dea2c8c8c8702a92be0f0bdd76a60d31 | [
"MIT"
] | null | null | null | src/main/java/top/chenxin/mc/service/impl/CustomerServiceImpl.java | zhchenxin/mc | 4a29d863dea2c8c8c8702a92be0f0bdd76a60d31 | [
"MIT"
] | null | null | null | package top.chenxin.mc.service.impl;
import com.github.pagehelper.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.chenxin.mc.core.ResourceCollection;
import top.chenxin.mc.entity.FailedMessage;
import top.chenxin.mc.resource.CustomerResourc... | 30.263889 | 115 | 0.702157 |
6613784465fbe681eca8f0c3cf2705afe08e720c | 308 | py | Python | test.py | Adelved/synth-cube | 4f7f8af5140edd3b5da61dfe391085e32d9fb034 | [
"MIT"
] | null | null | null | test.py | Adelved/synth-cube | 4f7f8af5140edd3b5da61dfe391085e32d9fb034 | [
"MIT"
] | null | null | null | test.py | Adelved/synth-cube | 4f7f8af5140edd3b5da61dfe391085e32d9fb034 | [
"MIT"
] | null | null | null |
import numpy as np
import matplotlib.pyplot as plt
import scipy as sp
import scipy.ndimage
from fault_utils import *
vol = Cube(128)
vol.fold_with_gaussian(10)
vol.single_normal_fault(dip=20,position=10,throw=5,orientation=40,strike_type="linear")
print(np.unique(vol.fault))
plt.imshow(vol.seis[0,:,:])
| 20.533333 | 87 | 0.779221 |
a498267b6962e3b7ec8515368851c7f4d0304a56 | 1,236 | php | PHP | tests/ManuxiGoogleReviewsExtensionTest.php | RosskoDCA/google-reviews-bundle | d80865c9eb67433725e9158e01b891e1889ab101 | [
"MIT"
] | 1 | 2022-01-11T20:24:46.000Z | 2022-01-11T20:24:46.000Z | tests/ManuxiGoogleReviewsExtensionTest.php | RosskoDCA/google-reviews-bundle | d80865c9eb67433725e9158e01b891e1889ab101 | [
"MIT"
] | null | null | null | tests/ManuxiGoogleReviewsExtensionTest.php | RosskoDCA/google-reviews-bundle | d80865c9eb67433725e9158e01b891e1889ab101 | [
"MIT"
] | 2 | 2022-01-11T20:14:37.000Z | 2022-01-11T20:18:12.000Z | <?php
namespace Manuxi\GoogleReviewsBundle\Tests;
use Manuxi\GoogleReviewsBundle\DependencyInjection\ManuxiGoogleReviewsExtension;
use Manuxi\GoogleReviewsBundle\ManuxiGoogleReviews;
use Manuxi\GoogleReviewsBundle\Service\Cache;
use Manuxi\GoogleReviewsBundle\Service\CurlConnector;
use Manuxi\GoogleReviewsBundle\Twig... | 38.625 | 114 | 0.788835 |
7554d89a39025db72c3f553eddbb5e765e4fce15 | 1,687 | swift | Swift | BeerFinder/BeerFinder/LocationPermitter.swift | jeffreybergier/beerfinder | 85a9adf7fef09804830adc6558245514dd41fa73 | [
"MIT"
] | null | null | null | BeerFinder/BeerFinder/LocationPermitter.swift | jeffreybergier/beerfinder | 85a9adf7fef09804830adc6558245514dd41fa73 | [
"MIT"
] | null | null | null | BeerFinder/BeerFinder/LocationPermitter.swift | jeffreybergier/beerfinder | 85a9adf7fef09804830adc6558245514dd41fa73 | [
"MIT"
] | null | null | null | //
// LocationPermitter.swift
// BeerFinder
//
// Created by Jeffrey Bergier on 4/17/17.
// Copyright © 2017 Jeffrey Bergier. All rights reserved.
//
import CoreLocation
internal protocol LocationPermittable: Resettable {
var permission: CLAuthorizationStatus { get }
func requestPermission(_ completionHan... | 30.125 | 125 | 0.716064 |
9d36511a2e3e1b758f74f889626e5e82e0c8e9c2 | 5,451 | dart | Dart | lib/SdpTransform/Parser.dart | NicolaiLassen/mediasoup-client-flutter | 419a9603ef8b36475c4a218cf12bb4cec40e6be3 | [
"MIT"
] | null | null | null | lib/SdpTransform/Parser.dart | NicolaiLassen/mediasoup-client-flutter | 419a9603ef8b36475c4a218cf12bb4cec40e6be3 | [
"MIT"
] | null | null | null | lib/SdpTransform/Parser.dart | NicolaiLassen/mediasoup-client-flutter | 419a9603ef8b36475c4a218cf12bb4cec40e6be3 | [
"MIT"
] | null | null | null | import 'dart:convert';
import 'Grammer.dart' show grammer;
dynamic tryToParseInt(String testNumber) {
if (testNumber is String && testNumber.isNotEmpty) {
return int.tryParse(testNumber) ?? testNumber;
}
return null;
}
void attachProperties(Iterable<RegExpMatch> matchs,
Map<String, dynamic> location, n... | 26.852217 | 80 | 0.554944 |
c1597a4a47bb52be286af13e2bcba501d753aa43 | 1,953 | ps1 | PowerShell | PowerShell.ps1 | drmohundro/PowerShellEnv | 5c42b56bd713b909e6a9e200b0121f71904a9215 | [
"MIT"
] | 4 | 2015-10-16T20:08:26.000Z | 2017-06-20T20:08:34.000Z | PowerShell.ps1 | drmohundro/PowerShellEnv | 5c42b56bd713b909e6a9e200b0121f71904a9215 | [
"MIT"
] | null | null | null | PowerShell.ps1 | drmohundro/PowerShellEnv | 5c42b56bd713b909e6a9e200b0121f71904a9215 | [
"MIT"
] | 1 | 2017-01-11T15:10:53.000Z | 2017-01-11T15:10:53.000Z | Push-Location $ProfileDir
Import-Module posh-git
Import-Module Terminal-Icons
function Write-VcsPrompt {
$git = Get-GitStatus -WarningAction SilentlyContinue
if ($null -ne $git) {
$text = " $($git.Branch)"
if ($git.HasWorking) {
$text = $text + " +"
}
if ($git.Ha... | 27.507042 | 124 | 0.661034 |
bdadced50228e655bd0e8000c5b3269a751c7d1d | 627 | lua | Lua | _userpanel/files/data/monitor/monitor_s.lua | emanuelbernardes/MTA-RACE | 30095ccb9b9d66310272f5bbff76b3f1aba73c41 | [
"Unlicense"
] | null | null | null | _userpanel/files/data/monitor/monitor_s.lua | emanuelbernardes/MTA-RACE | 30095ccb9b9d66310272f5bbff76b3f1aba73c41 | [
"Unlicense"
] | null | null | null | _userpanel/files/data/monitor/monitor_s.lua | emanuelbernardes/MTA-RACE | 30095ccb9b9d66310272f5bbff76b3f1aba73c41 | [
"Unlicense"
] | null | null | null | monTimers = {}
function getInfosMonitor(player)
local rows = {}
local info = {}
_,rows = getPerformanceStats("Server info")
for i=1,5 do
table.insert(info,{rows[i][1]..":",rows[i][2]})
end
table.insert(info,{rows[1][3],rows[1][4]})
table.insert(info,{rows[2][3],rows[2][4]})
table.insert(info,{rows[8][3],rows[... | 29.857143 | 60 | 0.698565 |
43b291c7473a42df5a01dcb62dc085f13d21df69 | 1,625 | ts | TypeScript | packages/arco-lib/src/generated/types/Collapse.ts | webzard-io/sunmao-ui | 6e5a1e19cba3e5f69951c85229eee23d0a8e11f8 | [
"MIT"
] | 7 | 2021-12-01T02:20:07.000Z | 2022-02-21T07:00:16.000Z | packages/arco-lib/src/generated/types/Collapse.ts | webzard-io/sunmao-ui | 6e5a1e19cba3e5f69951c85229eee23d0a8e11f8 | [
"MIT"
] | 247 | 2021-11-21T07:46:44.000Z | 2022-03-31T08:02:13.000Z | packages/arco-lib/src/generated/types/Collapse.ts | webzard-io/sunmao-ui | 6e5a1e19cba3e5f69951c85229eee23d0a8e11f8 | [
"MIT"
] | 2 | 2021-11-23T08:47:46.000Z | 2021-12-29T01:49:02.000Z | import { Type } from '@sinclair/typebox';
import { Category } from '../../constants/category';
import { StringUnion } from '../../sunmao-helper';
export const CollapseItemPropsSpec = {
key: Type.String({
title: 'Key',
category: Category.Basic,
weight: 2,
}),
header: Type.String({
title: 'Header',... | 24.253731 | 75 | 0.638769 |