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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c2bdd3ff142d7473bc243d41c9b3a2775acf536b | 35 | c | C | backend/m2c/tests/end_to_end/hi-offsets-type-info/manual-out.c | ChrisNonyminus/decomp.me | b51e8d586ba95bd20f6b2e5881ecc34459e761bc | [
"MIT"
] | 47 | 2021-11-05T14:20:58.000Z | 2022-03-19T18:56:46.000Z | backend/m2c/tests/end_to_end/hi-offsets-type-info/manual-out.c | ChrisNonyminus/decomp.me | b51e8d586ba95bd20f6b2e5881ecc34459e761bc | [
"MIT"
] | 131 | 2021-10-20T09:17:16.000Z | 2022-03-31T22:22:54.000Z | backend/m2c/tests/end_to_end/hi-offsets-type-info/manual-out.c | ChrisNonyminus/decomp.me | b51e8d586ba95bd20f6b2e5881ecc34459e761bc | [
"MIT"
] | 20 | 2021-11-23T18:49:45.000Z | 2022-03-29T06:25:10.000Z | s32 test(void) {
return a.b;
}
| 8.75 | 16 | 0.542857 |
f045d86d216c12997fdeba7ede1459e7c2fe52ad | 1,389 | sql | SQL | models/intermediate/int_iterable__recurring_campaigns.sql | fivetran/dbt_iterable | 1f4f5ce7edf93fc9c9ff9ce2ba2585e5dd892551 | [
"Apache-2.0"
] | null | null | null | models/intermediate/int_iterable__recurring_campaigns.sql | fivetran/dbt_iterable | 1f4f5ce7edf93fc9c9ff9ce2ba2585e5dd892551 | [
"Apache-2.0"
] | 6 | 2021-07-01T01:36:16.000Z | 2022-01-10T20:22:17.000Z | models/intermediate/int_iterable__recurring_campaigns.sql | fivetran/dbt_iterable | 1f4f5ce7edf93fc9c9ff9ce2ba2585e5dd892551 | [
"Apache-2.0"
] | 1 | 2021-06-28T09:34:30.000Z | 2021-06-28T09:34:30.000Z | with latest_campaign as (
select *
from {{ ref('int_iterable__latest_campaign') }}
), recurring_campaign_join as (
select
latest_campaign.campaign_id,
latest_campaign.campaign_name,
latest_campaign.updated_at,
latest_campaign.campaign_state,
latest_campaign.campai... | 32.302326 | 108 | 0.75162 |
bc9db8892cfddbc26b12298e4c2ef3348d3a3246 | 352 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/static/worldbuilding/structures/mun_nboo_building_chunk_destoyed_07.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/static/worldbuilding/structures/mun_nboo_building_chunk_destoyed_07.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/static/worldbuilding/structures/mun_nboo_building_chunk_destoyed_07.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_static_worldbuilding_structures_mun_nboo_building_chunk_destoyed_07 = object_static_worldbuilding_structures_shared_mun_nboo_building_chunk_destoyed_07:new {
}
ObjectTemplates:addTemplate(object_static_worldbuilding_structures_mun_nboo_building_chunk_destoyed_07, "object/static/worldbuilding/structures/mun_nboo_... | 117.333333 | 185 | 0.940341 |
3f0ebe793088ca919aa9883528df1d5958cf53f2 | 2,122 | php | PHP | Modules/Product/Resources/views/attributes/attributes_list.blade.php | uzzwalbadal/laravelecommerce-amazcart- | d83a5f93b5b9edb4808e976c6ffc951746615a82 | [
"MIT"
] | null | null | null | Modules/Product/Resources/views/attributes/attributes_list.blade.php | uzzwalbadal/laravelecommerce-amazcart- | d83a5f93b5b9edb4808e976c6ffc951746615a82 | [
"MIT"
] | null | null | null | Modules/Product/Resources/views/attributes/attributes_list.blade.php | uzzwalbadal/laravelecommerce-amazcart- | d83a5f93b5b9edb4808e976c6ffc951746615a82 | [
"MIT"
] | null | null | null | <table class="table Crm_table_active3">
<thead>
<tr>
<th scope="col">{{__('common.sl')}}</th>
<th scope="col">{{__('product.attribute_name')}}</th>
<th scope="col" width="60%">{{__('common.description')}}</th>
<th scope="col">{{__('common.status')}}</th>
<th scope="col">{... | 43.306122 | 170 | 0.472196 |
da6d6217a93d132b81c4ae5b12d6a84b5416a08f | 5,882 | rb | Ruby | lib/ruby_aem/resources/certificate.rb | shinesolutions/ruby_aem | 35b721fdeb6aa90176cd4e9c1210ce1d77317dbb | [
"Apache-2.0"
] | 10 | 2016-10-02T06:44:57.000Z | 2019-07-06T17:20:20.000Z | lib/ruby_aem/resources/certificate.rb | shinesolutions/ruby_aem | 35b721fdeb6aa90176cd4e9c1210ce1d77317dbb | [
"Apache-2.0"
] | 21 | 2016-11-02T04:08:24.000Z | 2021-09-29T05:32:07.000Z | lib/ruby_aem/resources/certificate.rb | shinesolutions/ruby_aem | 35b721fdeb6aa90176cd4e9c1210ce1d77317dbb | [
"Apache-2.0"
] | 9 | 2017-09-01T15:03:38.000Z | 2020-11-18T11:48:49.000Z | # Copyright 2016-2018-2021 Shine Solutions Group
#
# 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 agr... | 37.948387 | 218 | 0.67222 |
15a02c10cbe0858202ef5867943e8880602fadc6 | 10,156 | dart | Dart | lib/main.dart | benitarego/E-Card-Generator | 3024f077adb9237c7176857ea880ab0111c55b39 | [
"MIT"
] | null | null | null | lib/main.dart | benitarego/E-Card-Generator | 3024f077adb9237c7176857ea880ab0111c55b39 | [
"MIT"
] | null | null | null | lib/main.dart | benitarego/E-Card-Generator | 3024f077adb9237c7176857ea880ab0111c55b39 | [
"MIT"
] | null | null | null | //import 'dart:js';
import 'package:eazzycard/Animation/FadeAnimation.dart';
import 'package:eazzycard/dashboard.dart';
//import 'package:eazzycard/navigator_drawer.dart';
import 'package:flutter/material.dart';
import 'package:eazzycard/register.dart';
import 'package:eazzycard/DrawerItems/uploadcv_screen.dart... | 44.156522 | 125 | 0.373277 |
dd60e635ad9723c45b9098d770f13e996b14c37b | 1,360 | java | Java | matrix-people-back-end/src/main/java/com/hocassian/people/mapper/web/PersonWebMapper.java | hokaso/hocassian-media-matrix | 2c2e5a4c72dfa43d2eed0f083f5b19238aea2765 | [
"MIT"
] | 141 | 2021-06-27T03:18:54.000Z | 2022-03-17T03:24:26.000Z | matrix-people-back-end/src/main/java/com/hocassian/people/mapper/web/PersonWebMapper.java | hokaso/hocassian-media-matrix | 2c2e5a4c72dfa43d2eed0f083f5b19238aea2765 | [
"MIT"
] | 1 | 2021-08-06T17:35:01.000Z | 2021-08-06T17:35:01.000Z | matrix-people-back-end/src/main/java/com/hocassian/people/mapper/web/PersonWebMapper.java | hokaso/hocassian-media-matrix | 2c2e5a4c72dfa43d2eed0f083f5b19238aea2765 | [
"MIT"
] | 24 | 2021-06-29T01:58:59.000Z | 2022-03-02T01:42:43.000Z | package com.hocassian.people.mapper.web;
import com.hocassian.people.domain.web.PersonWeb;
import org.neo4j.driver.Record;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @author Hocassian
*/
@Repository
public interface PersonWebMapper {
/**
* 查询全部
*
* @retur... | 17.894737 | 93 | 0.6 |
1a5924e6067593ef52dc6f3579f5b229420b417a | 26 | py | Python | custom_components/sshhio_door_sensor/__init__.py | sshh12/home-assistant-sshhio | 4f93b732b33f490a2364ae05b609fab8e28a84ae | [
"MIT"
] | null | null | null | custom_components/sshhio_door_sensor/__init__.py | sshh12/home-assistant-sshhio | 4f93b732b33f490a2364ae05b609fab8e28a84ae | [
"MIT"
] | null | null | null | custom_components/sshhio_door_sensor/__init__.py | sshh12/home-assistant-sshhio | 4f93b732b33f490a2364ae05b609fab8e28a84ae | [
"MIT"
] | null | null | null | "Camera based door sensor" | 26 | 26 | 0.807692 |
c401731f8ee6fcef335edaccdf03a53c2e0d7768 | 4,166 | hh | C++ | lsl/runtime/types.hh | vinzenz/lsl-emu | 3f799248ee57d0d11d6f12e6ff0f48cf359ced1e | [
"Apache-2.0"
] | 1 | 2018-03-28T19:26:44.000Z | 2018-03-28T19:26:44.000Z | lsl/runtime/types.hh | vinzenz/lsl-emu | 3f799248ee57d0d11d6f12e6ff0f48cf359ced1e | [
"Apache-2.0"
] | null | null | null | lsl/runtime/types.hh | vinzenz/lsl-emu | 3f799248ee57d0d11d6f12e6ff0f48cf359ced1e | [
"Apache-2.0"
] | null | null | null | // Copyright 2014 Vinzenz Feenstra
//
// 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 ... | 27.407895 | 94 | 0.62722 |
45dbcd585c32353a3d3252d06c6f021c1bbef733 | 640 | py | Python | n26/util.py | rxall/python-n26 | 7f20e122152553ca08d1e3567e53de5c7b6e4e53 | [
"MIT"
] | 163 | 2017-03-21T08:49:32.000Z | 2022-03-29T22:48:19.000Z | n26/util.py | rxall/python-n26 | 7f20e122152553ca08d1e3567e53de5c7b6e4e53 | [
"MIT"
] | 74 | 2017-03-21T20:23:41.000Z | 2022-03-30T18:21:31.000Z | n26/util.py | rxall/python-n26 | 7f20e122152553ca08d1e3567e53de5c7b6e4e53 | [
"MIT"
] | 28 | 2017-03-21T08:49:36.000Z | 2021-12-29T12:48:23.000Z | def create_request_url(url: str, params: dict = None):
"""
Adds query params to the given url
:param url: the url to extend
:param params: query params as a keyed dictionary
:return: the url including the given query params
"""
if params:
first_param = True
for k, v in sort... | 24.615385 | 71 | 0.501563 |
4d7379a92b082ea675f9f87f0883a365401a6ede | 676 | cs | C# | src/core/ShardingConnector.Merge/Engine/Merger/IResultMerger.cs | xuejmnet/sharding-connector | 65c6fd51cd74c32f6442bf8dfc37166c940f4161 | [
"Apache-2.0"
] | 5 | 2021-03-23T13:38:15.000Z | 2021-11-09T09:36:58.000Z | src/core/ShardingConnector.Merge/Engine/Merger/IResultMerger.cs | xuejmnet/sharding-connector | 65c6fd51cd74c32f6442bf8dfc37166c940f4161 | [
"Apache-2.0"
] | null | null | null | src/core/ShardingConnector.Merge/Engine/Merger/IResultMerger.cs | xuejmnet/sharding-connector | 65c6fd51cd74c32f6442bf8dfc37166c940f4161 | [
"Apache-2.0"
] | 2 | 2021-12-08T04:38:26.000Z | 2022-03-30T06:50:04.000Z | using System;
using System.Collections.Generic;
using System.Text;
using ShardingConnector.CommandParser.Command;
using ShardingConnector.Executor;
using ShardingConnector.Merge.Reader;
using ShardingConnector.ParserBinder.Command;
using ShardingConnector.ParserBinder.MetaData.Schema;
namespace ShardingConnector.Merg... | 27.04 | 155 | 0.758876 |
f48371db93858e2859ef72e6b0f4bd1ff20f307c | 349 | ts | TypeScript | app/extend/context.d.ts | xiangsx/egg-super-router | a8d780700f9a7ab9385e7a739516d7db903ba649 | [
"MIT"
] | 1 | 2021-12-05T10:22:16.000Z | 2021-12-05T10:22:16.000Z | app/extend/context.d.ts | xiangsx/egg-super-router | a8d780700f9a7ab9385e7a739516d7db903ba649 | [
"MIT"
] | null | null | null | app/extend/context.d.ts | xiangsx/egg-super-router | a8d780700f9a7ab9385e7a739516d7db903ba649 | [
"MIT"
] | null | null | null | import {Context} from 'egg';
import {Method, RouteInfo} from "../../lib/routes";
export interface wrapOpts {
status: number,
msg: string,
}
export default class SRContext extends Context {
reqEnd: boolean
method: Method
routeInfo: RouteInfo
userAccess: number
wrap: (data: any, errCode = Er... | 21.8125 | 59 | 0.661891 |
e264c40561157ade3fffbb3c65aa3184abf7433f | 2,229 | rb | Ruby | lib/chassis/dirty_session.rb | ahawkins/chassis | a5020318304f6158d64afbe22c00a2bc688a1bb0 | [
"MIT"
] | 34 | 2015-01-04T18:24:45.000Z | 2019-11-19T20:03:25.000Z | lib/chassis/dirty_session.rb | ahawkins/chassis | a5020318304f6158d64afbe22c00a2bc688a1bb0 | [
"MIT"
] | null | null | null | lib/chassis/dirty_session.rb | ahawkins/chassis | a5020318304f6158d64afbe22c00a2bc688a1bb0 | [
"MIT"
] | 3 | 2015-04-30T10:00:11.000Z | 2015-12-16T22:02:53.000Z | require 'set'
module Chassis
class DirtySession < Proxy
def initialize(*args)
super
@original_values = { }
@new_values = { }
end
def clean?
new_values.empty?
end
def dirty?
!clean?
end
def original_values
@original_values
end
def new_values... | 21.028302 | 91 | 0.634814 |
223502b931f90edeeb2afed2bf1c1234fe387ed6 | 8,613 | sql | SQL | app/postcode/queries/local_data_se.sql | domdomegg/coronavirus-dashboard-frontend-server | f08a7928b1b87aeea701924e8e5d2687fa6e3fab | [
"MIT"
] | 17 | 2020-10-29T20:24:32.000Z | 2022-01-23T19:11:41.000Z | app/postcode/queries/local_data_se.sql | domdomegg/coronavirus-dashboard-frontend-server | f08a7928b1b87aeea701924e8e5d2687fa6e3fab | [
"MIT"
] | 74 | 2020-11-02T09:02:16.000Z | 2022-03-29T09:05:20.000Z | app/postcode/queries/local_data_se.sql | domdomegg/coronavirus-dashboard-frontend-server | f08a7928b1b87aeea701924e8e5d2687fa6e3fab | [
"MIT"
] | 7 | 2021-01-11T09:21:30.000Z | 2022-02-28T16:20:20.000Z | CREATE TEMPORARY TABLE data AS (
SELECT *
FROM (
SELECT hash,
metric,
priority,
area_code AS area_code,
postcode AS postcode,
area_type AS area_type,
area_name AS area_name,
... | 45.094241 | 100 | 0.427609 |
79424563a98ca339a060c63de27ca196aee6eb6f | 289 | rb | Ruby | app/models/link.rb | bcncybersecurity/frab | f6d6c503b80acbad31e4d157400cd53a36438437 | [
"MIT"
] | 592 | 2015-01-01T10:20:08.000Z | 2022-03-10T16:53:56.000Z | app/models/link.rb | bcncybersecurity/frab | f6d6c503b80acbad31e4d157400cd53a36438437 | [
"MIT"
] | 485 | 2015-01-27T12:02:33.000Z | 2022-03-06T13:23:11.000Z | app/models/link.rb | bcncybersecurity/frab | f6d6c503b80acbad31e4d157400cd53a36438437 | [
"MIT"
] | 144 | 2015-01-12T22:27:47.000Z | 2022-03-15T17:36:10.000Z | class Link < ApplicationRecord
belongs_to :linkable, polymorphic: true, optional: true
validates :title, :url, presence: true
has_paper_trail meta: {
associated_id: :linkable_id,
associated_type: :linkable_type
}
def to_s
"#{model_name.human}: #{title}"
end
end
| 19.266667 | 57 | 0.705882 |
df84d4bcae6a640abf9d17a0a25f405bc80f1398 | 435 | cs | C# | Assets/UdonSpaceVehicles/Scripts/ParticleDriver.cs | esnya/UdonSpaceVehicles | ff00f234b278a3e205797cd3d4140c37cb272ca2 | [
"MIT"
] | 7 | 2021-03-16T16:44:05.000Z | 2022-02-14T13:57:09.000Z | Assets/UdonSpaceVehicles/Scripts/ParticleDriver.cs | esnya/UdonSpaceVehicles | ff00f234b278a3e205797cd3d4140c37cb272ca2 | [
"MIT"
] | 4 | 2021-03-16T15:00:11.000Z | 2021-04-07T08:10:23.000Z | Assets/UdonSpaceVehicles/Scripts/ParticleDriver.cs | esnya/UdonSpaceVehicles | ff00f234b278a3e205797cd3d4140c37cb272ca2 | [
"MIT"
] | null | null | null |
using UdonSharp;
using UdonToolkit;
using UnityEngine;
namespace UdonSpaceVehicles
{
[CustomName("USV Particle Driver")]
[HelpMessage("Emits particle by custom event \"Trigger\".")]
[RequireComponent(typeof(ParticleSystem))]
public class ParticleDriver : UdonSharpBehaviour
{
public int co... | 22.894737 | 64 | 0.664368 |
da81565cf90085faee4b04d9dd2edd6726324dff | 3,660 | php | PHP | resources/views/admin/orders/order-invoice.blade.php | charlesdazelndc/LaravelEcommerce | eabf934e8ca09e8ac02ea041bfb84c0f2ca85f3a | [
"MIT"
] | null | null | null | resources/views/admin/orders/order-invoice.blade.php | charlesdazelndc/LaravelEcommerce | eabf934e8ca09e8ac02ea041bfb84c0f2ca85f3a | [
"MIT"
] | null | null | null | resources/views/admin/orders/order-invoice.blade.php | charlesdazelndc/LaravelEcommerce | eabf934e8ca09e8ac02ea041bfb84c0f2ca85f3a | [
"MIT"
] | null | null | null | @extends('admin.master');
@section('body')
<br>
<div class="row">
<div class="invoice-box">
<table cellpadding="0" cellspacing="0">
<tr class="top">
<td colspan="2">
<table class="table table-bordered">
<tr>
... | 28.818898 | 102 | 0.253279 |
8708aa1cc68ee98af7c114dd7e6273adb2015aae | 2,701 | kt | Kotlin | YTKJsBridge/ytkjsbridge/src/androidTest/java/com/fenbi/android/ytkjsbridge/TestDynamicCallJs.kt | mrrobot97/YTKJsBridge-Android | fc428a0f33abc919ff2983680d9fcd32423d625d | [
"MIT"
] | null | null | null | YTKJsBridge/ytkjsbridge/src/androidTest/java/com/fenbi/android/ytkjsbridge/TestDynamicCallJs.kt | mrrobot97/YTKJsBridge-Android | fc428a0f33abc919ff2983680d9fcd32423d625d | [
"MIT"
] | 1 | 2019-01-03T11:12:15.000Z | 2019-01-03T11:12:15.000Z | YTKJsBridge/ytkjsbridge/src/androidTest/java/com/fenbi/android/ytkjsbridge/TestDynamicCallJs.kt | mrrobot97/YTKJsBridge-Android | fc428a0f33abc919ff2983680d9fcd32423d625d | [
"MIT"
] | null | null | null | package com.fenbi.android.ytkjsbridge
import android.support.test.InstrumentationRegistry
import android.support.test.runner.AndroidJUnit4
import android.webkit.WebChromeClient
import android.webkit.WebView
import android.webkit.WebViewClient
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.delay
import... | 32.542169 | 99 | 0.615328 |
8eb6d25e94bd8ffd2e55317510a2054ea497e502 | 42 | js | JavaScript | src/views/DashboardAnalytics/components/TopReferrals/index.js | TaHanh/reactjs_templae | 904c7d444429eeb57e24193f9c01f40706432d31 | [
"Apache-2.0"
] | null | null | null | src/views/DashboardAnalytics/components/TopReferrals/index.js | TaHanh/reactjs_templae | 904c7d444429eeb57e24193f9c01f40706432d31 | [
"Apache-2.0"
] | null | null | null | src/views/DashboardAnalytics/components/TopReferrals/index.js | TaHanh/reactjs_templae | 904c7d444429eeb57e24193f9c01f40706432d31 | [
"Apache-2.0"
] | 1 | 2021-04-28T16:30:35.000Z | 2021-04-28T16:30:35.000Z | export { default } from './TopReferrals';
| 21 | 41 | 0.690476 |
a3682f35845ff81c5742cba200d1f7aeecb886fe | 1,167 | java | Java | src/util/Score.java | dickyhermawan12/Final-Project-OOP | e7205a0228db76a10e0327d38e161c98b6c475a3 | [
"MIT"
] | null | null | null | src/util/Score.java | dickyhermawan12/Final-Project-OOP | e7205a0228db76a10e0327d38e161c98b6c475a3 | [
"MIT"
] | 12 | 2020-11-19T17:18:17.000Z | 2021-11-16T05:10:22.000Z | src/util/Score.java | dickyhermawan12/Final-Project-OOP | e7205a0228db76a10e0327d38e161c98b6c475a3 | [
"MIT"
] | 1 | 2020-11-19T18:02:22.000Z | 2020-11-19T18:02:22.000Z | package util;
import java.awt.Graphics;
public class Score extends Instances {
private int p1_score, p2_score, maxScore;
// konstruktor, keadaan awal skor
public Score() {
this.maxScore = 10;
reset();
}
// increment skor player 1
public void addP1Score() {
p1_score++;
}
// increment sko... | 20.839286 | 78 | 0.637532 |
d30593aed6f0dd27f7668154bc4f4d16f3ead43b | 27 | rb | Ruby | Languages/Ruby/Tests/Experiments/Methods/AliasLookupLoad.rb | rifraf/IronRuby_Framework_4.7.2 | f0dad68e8235cd414e08c13032eb91ab3f54b844 | [
"MIT"
] | null | null | null | Languages/Ruby/Tests/Experiments/Methods/AliasLookupLoad.rb | rifraf/IronRuby_Framework_4.7.2 | f0dad68e8235cd414e08c13032eb91ab3f54b844 | [
"MIT"
] | null | null | null | Languages/Ruby/Tests/Experiments/Methods/AliasLookupLoad.rb | rifraf/IronRuby_Framework_4.7.2 | f0dad68e8235cd414e08c13032eb91ab3f54b844 | [
"MIT"
] | null | null | null | load 'AliasLookup.rb', true | 27 | 27 | 0.777778 |
38cf1faa62a32bc740a8168ad59bb785fe90b94a | 1,317 | swift | Swift | HackathonChange/RequestManager.swift | jjcc1421/Huge-Hackathon-2017-IOS | 2aaa2781c4dc553907e7f9633e45bca1900b2a53 | [
"MIT"
] | null | null | null | HackathonChange/RequestManager.swift | jjcc1421/Huge-Hackathon-2017-IOS | 2aaa2781c4dc553907e7f9633e45bca1900b2a53 | [
"MIT"
] | null | null | null | HackathonChange/RequestManager.swift | jjcc1421/Huge-Hackathon-2017-IOS | 2aaa2781c4dc553907e7f9633e45bca1900b2a53 | [
"MIT"
] | null | null | null | //
// RequestManager.swift
// HackathonChange
//
// Created by Laura Mejia Arroyave on 1/12/17.
// Copyright © 2017 Laura Mejia Arroyave. All rights reserved.
//
import UIKit
import Alamofire
import SwiftyJSON
class RequestManager: NSObject {
let textToSpeech = TextToSpeech()
func makeRequestPo... | 28.021277 | 95 | 0.545178 |
d3bf4fb1fe9b16d4a8bc7097032b8401b70873a9 | 705 | rb | Ruby | app/models/flow_core/steps/end.rb | demillir/flow_core | 4c538193b3e6ace4af4c0a70959c9e47d1df5a54 | [
"MIT"
] | 148 | 2020-02-17T22:57:54.000Z | 2022-01-27T11:33:30.000Z | app/models/flow_core/steps/end.rb | demillir/flow_core | 4c538193b3e6ace4af4c0a70959c9e47d1df5a54 | [
"MIT"
] | 13 | 2020-05-22T17:22:38.000Z | 2022-02-11T21:51:41.000Z | app/models/flow_core/steps/end.rb | demillir/flow_core | 4c538193b3e6ace4af4c0a70959c9e47d1df5a54 | [
"MIT"
] | 8 | 2020-03-11T09:50:40.000Z | 2021-04-29T00:26:13.000Z | # frozen_string_literal: true
module FlowCore::Steps
class End < FlowCore::Step
def deploy_to_workflow!(workflow, input_place_or_transition)
target_place = workflow.end_place || workflow.create_end_place!
if input_place_or_transition.is_a? FlowCore::Transition
target_place.input_transitions ... | 21.363636 | 71 | 0.68227 |
54c190a77fb95348475d38180243a1dfb68b1007 | 486 | css | CSS | packages/ui/src/pages/Settings/SettingsPage.css | max-vorabhol-zipmex/express-app | 455efc2eaebd64b0a50fba98c19e4e8eda5a13f6 | [
"MIT"
] | null | null | null | packages/ui/src/pages/Settings/SettingsPage.css | max-vorabhol-zipmex/express-app | 455efc2eaebd64b0a50fba98c19e4e8eda5a13f6 | [
"MIT"
] | 3 | 2021-07-12T02:06:20.000Z | 2021-08-11T01:48:33.000Z | packages/ui/src/pages/Settings/SettingsPage.css | max-vorabhol-zipmex/express-app | 455efc2eaebd64b0a50fba98c19e4e8eda5a13f6 | [
"MIT"
] | null | null | null | .settings-page__content {
width: 100%;
display: flex;
flex-direction: column;
flex: 1;
overflow-y: auto;
overflow-x: hidden;
}
.settings-page__menu {
display: flex;
flex-direction: column;
}
.settings-page__footer {
flex-shrink: 0;
}
/* MEDIA QUERIES */
/* Extra Small Devices, Phones */
@media onl... | 15.677419 | 43 | 0.654321 |
a43c009ef2473d7d0b4886fd6afcd94e35eeb373 | 26,042 | dart | Dart | lib/p_main_app/utils_p/app_color.dart | dexbytes/flutter-freebs | 25f423f1d29b5ae0ee92f354ad09046bdf6c7d55 | [
"BSD-2-Clause"
] | null | null | null | lib/p_main_app/utils_p/app_color.dart | dexbytes/flutter-freebs | 25f423f1d29b5ae0ee92f354ad09046bdf6c7d55 | [
"BSD-2-Clause"
] | null | null | null | lib/p_main_app/utils_p/app_color.dart | dexbytes/flutter-freebs | 25f423f1d29b5ae0ee92f354ad09046bdf6c7d55 | [
"BSD-2-Clause"
] | null | null | null | import 'dart:ui';
import 'package:flutter/material.dart';
class AppColors {
int intWhite = 0xFFF44336;
Color colorPrimary = Color.fromARGB(255, 51, 51, 51);
Color colorPrimaryDark = Color.fromARGB(255, 41, 41, 41);
Color colorAccent = Color.fromARGB(255, 30, 198, 89);
Color orange = Color.fromARGB(255, 252,... | 25.809713 | 77 | 0.606789 |
ae80af6712a44aec0119654884e36a2be960f694 | 485 | cs | C# | src/Connections/IConnection.cs | achinn/fluentcassandra | ed23a146928c19ead356026eae2bef76a1e394ff | [
"Apache-2.0"
] | 56 | 2015-01-01T17:43:25.000Z | 2021-03-21T17:02:52.000Z | src/Connections/IConnection.cs | achinn/fluentcassandra | ed23a146928c19ead356026eae2bef76a1e394ff | [
"Apache-2.0"
] | 6 | 2015-07-28T14:57:27.000Z | 2018-03-21T07:20:11.000Z | src/Connections/IConnection.cs | achinn/fluentcassandra | ed23a146928c19ead356026eae2bef76a1e394ff | [
"Apache-2.0"
] | 23 | 2015-03-09T13:55:12.000Z | 2022-03-22T00:18:10.000Z | using FluentCassandra.Apache.Cassandra;
using System;
namespace FluentCassandra.Connections
{
public interface IConnection : IDisposable
{
DateTime Created { get; }
bool IsOpen { get; }
Server Server { get; }
Cassandra.Client Client { get; }
void SetKeyspace(string keyspace);
[Obsolete("This will be ... | 21.086957 | 112 | 0.725773 |
f468cf774e7e372a4c0f0b7913902df88340bfd6 | 1,423 | ts | TypeScript | typescript-with-angular-material/src/app/hd/hd.component.ts | fergusonjason/astro-client | 30eaef29f80ddd491f4ea6ee70c563314af4bd8d | [
"MIT"
] | null | null | null | typescript-with-angular-material/src/app/hd/hd.component.ts | fergusonjason/astro-client | 30eaef29f80ddd491f4ea6ee70c563314af4bd8d | [
"MIT"
] | 12 | 2020-09-20T10:05:46.000Z | 2022-03-02T06:15:20.000Z | typescript-with-angular-material/src/app/hd/hd.component.ts | fergusonjason/astro-client | 30eaef29f80ddd491f4ea6ee70c563314af4bd8d | [
"MIT"
] | null | null | null | import { Component, OnInit } from "@angular/core";
import { FormGroup, FormBuilder } from "@angular/forms";
import { MatTableDataSource } from "@angular/material/table";
import { AstroService } from "../astro.service";
import { IDisplaysDataTable } from "../model/DisplaysColumns";
import { IQuery } from "../model/Que... | 24.534483 | 86 | 0.657063 |
1a9a0a7194937f6c2c468824b9cea3bb2f16bdc5 | 745 | py | Python | roles/dustinspecker.vim/molecule/default/tests/test_default.py | dustinspecker/ansible-dotfiles | cada81d6ad52bd900041b72250b68a74fe3928e6 | [
"MIT"
] | 1 | 2022-03-01T13:59:13.000Z | 2022-03-01T13:59:13.000Z | roles/dustinspecker.vim/molecule/default/tests/test_default.py | dustinspecker/ansible-dotfiles | cada81d6ad52bd900041b72250b68a74fe3928e6 | [
"MIT"
] | 13 | 2019-01-22T14:52:29.000Z | 2021-12-06T17:32:13.000Z | roles/dustinspecker.vim/molecule/default/tests/test_default.py | dustinspecker/ansible-dotfiles | cada81d6ad52bd900041b72250b68a74fe3928e6 | [
"MIT"
] | null | null | null | import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
def test_vim_apt_repo_setup(host):
assert host.file('/etc/apt/sources.list.d/vim.list').exists
def test_vim_installed(host):
assert ho... | 24.032258 | 66 | 0.758389 |
7e62228852ac1e27665925a658fadaf627c1ab18 | 467 | rs | Rust | examples/custom_property.rs | hoodie/icalendar-rs | c0ffee24858e0739b9964395d0ae61f6a582aa94 | [
"MIT"
] | 44 | 2016-11-11T23:26:21.000Z | 2022-03-12T12:34:42.000Z | examples/custom_property.rs | hoodie/icalendar-rs | c0ffee24858e0739b9964395d0ae61f6a582aa94 | [
"MIT"
] | 20 | 2017-04-21T09:27:50.000Z | 2021-12-19T11:16:09.000Z | examples/custom_property.rs | hoodie/icalendar-rs | c0ffee24858e0739b9964395d0ae61f6a582aa94 | [
"MIT"
] | 13 | 2017-04-20T22:09:43.000Z | 2021-03-20T19:14:40.000Z | use icalendar::*;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let event = Event::new()
.summary("test event")
.append_property(
Property::new("TEST", "FOOBAR")
.add_parameter("IMPORTANCE", "very")
.add_parameter("DUE", "tomorrow")
... | 22.238095 | 53 | 0.477516 |
584371fe1b72bfd6a3321dca313819f0de21a9e4 | 977 | podspec | Ruby | ConfettiView-NSHipster.podspec | chepiok/ConfettiView | 07d4dd486d6cc22dd4e4b363471477b895622380 | [
"MIT"
] | null | null | null | ConfettiView-NSHipster.podspec | chepiok/ConfettiView | 07d4dd486d6cc22dd4e4b363471477b895622380 | [
"MIT"
] | null | null | null | ConfettiView-NSHipster.podspec | chepiok/ConfettiView | 07d4dd486d6cc22dd4e4b363471477b895622380 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
Pod::Spec.new do |s|
s.name = 'ConfettiView-NSHipster'
s.module_name = 'ConfettiView'
s.version = '0.2.0'
s.summary = 'A view that emits confetti.'
s.description = <<~DESC
A view that emits confetti with shapes, images, and text of yo... | 36.185185 | 123 | 0.635619 |
1439ce8b141c64abc000e56ac2894af582616883 | 1,335 | ts | TypeScript | src/controllers/carrera.controller.ts | LucasNahuel945/API_materias | 46d30764763482fa0a2bb9ca71a759426b01a48e | [
"MIT"
] | null | null | null | src/controllers/carrera.controller.ts | LucasNahuel945/API_materias | 46d30764763482fa0a2bb9ca71a759426b01a48e | [
"MIT"
] | 1 | 2021-03-23T13:02:44.000Z | 2021-03-23T13:02:44.000Z | src/controllers/carrera.controller.ts | LucasNahuel945/API_materias | 46d30764763482fa0a2bb9ca71a759426b01a48e | [
"MIT"
] | null | null | null | import { Request, Response } from 'express';
import { getRepository } from 'typeorm';
import Carrera from '../entities/carrera';
export const getCarreras = async (
req: Request,
res: Response,
): Promise<Response> => {
const carreras = await getRepository(Carrera).find();
return res.json(carreras);
};
export ... | 29.666667 | 88 | 0.709363 |
0a157bfe264bbef276ea286e5d20d542a2deff21 | 1,751 | swift | Swift | Sources/CZNetworking/StubSupport/URLProtocolMock.swift | geekaurora/CZNetworking | 8b886524ee1805eb25a2ac5159279c904c9af69d | [
"MIT"
] | 9 | 2017-10-01T04:48:23.000Z | 2017-10-24T01:31:23.000Z | Sources/CZNetworking/StubSupport/URLProtocolMock.swift | showt1me/CZNetworking | d7b96c26ceeb35b9c137428781e374ca72603af2 | [
"MIT"
] | 4 | 2021-05-30T03:15:03.000Z | 2022-01-25T13:30:36.000Z | Sources/CZNetworking/StubSupport/URLProtocolMock.swift | geekaurora/CZNetworking | 8b886524ee1805eb25a2ac5159279c904c9af69d | [
"MIT"
] | null | null | null | import Foundation
import CZUtils
/**
Mock that be used to inject data into default`URLSession` with `URLSessionConfiguration`.
- Note: Return mockData for `url` if exists, otherwise it will let other URLProtocols to handle it.
*/
public class URLProtocolMock: URLProtocol {
// TestData for url - [testURL: testD... | 30.719298 | 101 | 0.671616 |
dfa7942a5a8c0b0f788332f7739418218bd6d8d7 | 858 | cs | C# | Src/ClashClient/Net/IApiClient.cs | xDaevax/clash-client | 4c01ebd444c37e57bc687d9ebe1ff41721d6904d | [
"MIT"
] | 2 | 2016-03-22T00:25:25.000Z | 2020-10-20T20:27:42.000Z | Src/ClashClient/Net/IApiClient.cs | xDaevax/clash-client | 4c01ebd444c37e57bc687d9ebe1ff41721d6904d | [
"MIT"
] | null | null | null | Src/ClashClient/Net/IApiClient.cs | xDaevax/clash-client | 4c01ebd444c37e57bc687d9ebe1ff41721d6904d | [
"MIT"
] | 1 | 2016-03-08T19:07:14.000Z | 2016-03-08T19:07:14.000Z | namespace ClashClient.Net {
/// <summary>
/// Interface that exposes a contract for a client that can consume the clash-of-clans API.
/// </summary>
public interface IApiClient {
#region --Functions--
/// <summary>
/// Returns the data from making a call to the clash-of-clans A... | 45.157895 | 128 | 0.652681 |
7596d54b40cd2b4c01581d4881da2fd1f97dac71 | 611 | css | CSS | css/resume.css | johnholl/johnholl.github.io | 215b62368d9662def7fea20dd668af32482db052 | [
"MIT"
] | null | null | null | css/resume.css | johnholl/johnholl.github.io | 215b62368d9662def7fea20dd668af32482db052 | [
"MIT"
] | null | null | null | css/resume.css | johnholl/johnholl.github.io | 215b62368d9662def7fea20dd668af32482db052 | [
"MIT"
] | null | null | null | .highlightcolumn {
flex: 25%;
background-color: #2526A6;
color: white;
padding: 10px;
}
.highlightcolumn > * {
margin: 10px 0;
}
.detailcolumn {
flex: 50%;
padding:10px;
}
.detailcolumn > * {
margin:10px;
}
.datescolumn{
flex:10%
}
.experiencecolumn{
flex:90%
}
.detailc... | 10.910714 | 31 | 0.563011 |
cac87fbbb23b349f792885ecfd4200ba738be896 | 584 | cs | C# | Assets/Scripts/ScaleScript.cs | jotheshjolly/COVID19AR | b0b32ed71e8f713e31f0fd4072f72a9569555bd3 | [
"MIT"
] | 2 | 2020-09-27T15:45:41.000Z | 2021-06-15T04:05:10.000Z | Assets/Scripts/ScaleScript.cs | jotheshjolly/COVID19AR | b0b32ed71e8f713e31f0fd4072f72a9569555bd3 | [
"MIT"
] | null | null | null | Assets/Scripts/ScaleScript.cs | jotheshjolly/COVID19AR | b0b32ed71e8f713e31f0fd4072f72a9569555bd3 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScaleScript : MonoBehaviour
{
public float min = 0.5f;
public float max = 2.5f;
void Start() {
var recognizer = new TKPinchRecognizer();
recognizer.gestureRecognizedEvent += ( r ) =>
{
... | 25.391304 | 94 | 0.626712 |
05fa64741db475afdb8a2a8628222bd718e7bd0f | 185 | py | Python | src/api/models/article/author.py | nhardy/py-js-web-scaffold | adf3e3ada0b21cdb9620676de795579107442dd7 | [
"MIT"
] | null | null | null | src/api/models/article/author.py | nhardy/py-js-web-scaffold | adf3e3ada0b21cdb9620676de795579107442dd7 | [
"MIT"
] | null | null | null | src/api/models/article/author.py | nhardy/py-js-web-scaffold | adf3e3ada0b21cdb9620676de795579107442dd7 | [
"MIT"
] | null | null | null | from ..base import BaseModel
from ..href import HrefModel
class AuthorModel(BaseModel):
def init(self):
self.add_property('name')
self.add_model_property('link', HrefModel)
| 20.555556 | 46 | 0.740541 |
e70182bd47a12a316edad35332904ce320597335 | 10,661 | php | PHP | resources/views/manage/hosocanbo/include/luong.blade.php | mylovecoi/hsns | f39308da9a1ae84269db82129cfd73ae5f7aae4f | [
"MIT"
] | 1 | 2016-06-16T08:27:43.000Z | 2016-06-16T08:27:43.000Z | resources/views/manage/hosocanbo/include/luong.blade.php | mylovecoi/hsns | f39308da9a1ae84269db82129cfd73ae5f7aae4f | [
"MIT"
] | null | null | null | resources/views/manage/hosocanbo/include/luong.blade.php | mylovecoi/hsns | f39308da9a1ae84269db82129cfd73ae5f7aae4f | [
"MIT"
] | null | null | null | <!--form1 thông tin cơ bản -->
<div id="tab4" class="tab-pane" >
<div class="form-horizontal">
<div class="row">
<div class="col-md-4">
<div class="form-group">
<label class="col-sm-6 control-label" for="plnb">Mã ngạch <span class="require">*</span></label>
... | 42.474104 | 153 | 0.396492 |
aa8cd021798d1309d5864ea8909653353d6e9227 | 2,674 | sql | SQL | src/SFA.Apprenticeships.Data.AvmsPlus/Scripts/Data/Reference.StandardSector.Upsert.sql | BugsUK/FindApprenticeship | cd261c9199c3563031aab66582c0a10ecc055f8a | [
"MIT"
] | 2 | 2019-02-14T17:06:44.000Z | 2021-02-22T13:02:31.000Z | src/SFA.Apprenticeships.Data.AvmsPlus/Scripts/Data/Reference.StandardSector.Upsert.sql | BugsUK/FindApprenticeship | cd261c9199c3563031aab66582c0a10ecc055f8a | [
"MIT"
] | 1 | 2020-03-13T15:39:54.000Z | 2020-03-13T15:39:54.000Z | src/SFA.Apprenticeships.Data.AvmsPlus/Scripts/Data/Reference.StandardSector.Upsert.sql | BugsUK/FindApprenticeship | cd261c9199c3563031aab66582c0a10ecc055f8a | [
"MIT"
] | 2 | 2020-03-13T15:27:47.000Z | 2020-11-04T04:39:21.000Z | SET IDENTITY_INSERT [Reference].[StandardSector] ON;
MERGE INTO [Reference].[StandardSector] AS Target
USING (VALUES
(1, N'Actuarial', 1),
(2, N'Aerospace', 17),
(3, N'Automotive', 17),
(4, N'Automotive retail', 13),
(5, N'Butchery', 13),
(6, N'Conveyancing and probate', 1),
(7, N'Defence', 17),... | 33.012346 | 101 | 0.655572 |
45b0417b5ab3724d4b1cdf390370677b80510f31 | 3,229 | py | Python | utils.py | techner3/Wikipedia_Scrapper | 05a1f1799655acbc5b6b70bbd7cfe49ba1dd9049 | [
"MIT"
] | null | null | null | utils.py | techner3/Wikipedia_Scrapper | 05a1f1799655acbc5b6b70bbd7cfe49ba1dd9049 | [
"MIT"
] | null | null | null | utils.py | techner3/Wikipedia_Scrapper | 05a1f1799655acbc5b6b70bbd7cfe49ba1dd9049 | [
"MIT"
] | null | null | null | from nltk.corpus import stopwords
from nltk.tokenize import word_tokenize, sent_tokenize
import base64
import requests
import re
import pandas as pd
from logger import getLog
logger=getLog('Utils.py')
def beautifyTextData(info):
try:
text=''
for content in info:
text+=content.text
... | 29.09009 | 91 | 0.580056 |
c511b84ec45b07ebf746ccbabb1256d519bf54f9 | 107 | css | CSS | web/app/themes/theme/tailwind/custom/fonts.css | GooUlla/starter | e461445f706ac925ac6b99dc7d1c4b943f91ff97 | [
"MIT"
] | null | null | null | web/app/themes/theme/tailwind/custom/fonts.css | GooUlla/starter | e461445f706ac925ac6b99dc7d1c4b943f91ff97 | [
"MIT"
] | null | null | null | web/app/themes/theme/tailwind/custom/fonts.css | GooUlla/starter | e461445f706ac925ac6b99dc7d1c4b943f91ff97 | [
"MIT"
] | null | null | null | /**
* Custom `@font-face` rules
*
* These will be added immediately before Tailwind’s `base` layer.
*/
| 17.833333 | 66 | 0.654206 |
3901afac46ec6c84fa8df4ed80c74bb44b5c7ec9 | 2,658 | py | Python | google/cloud/pubsublite/types/paths.py | tmdiep/python-pubsublite | 8edef6708fab60ce29c040f3de60783fe31b55ae | [
"Apache-2.0"
] | null | null | null | google/cloud/pubsublite/types/paths.py | tmdiep/python-pubsublite | 8edef6708fab60ce29c040f3de60783fe31b55ae | [
"Apache-2.0"
] | null | null | null | google/cloud/pubsublite/types/paths.py | tmdiep/python-pubsublite | 8edef6708fab60ce29c040f3de60783fe31b55ae | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Google LLC
#
# 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, s... | 32.414634 | 143 | 0.651242 |
1a57ff2ab97fb14495e8b34972b20131ae84e47d | 550 | py | Python | scratch/haar_wavelets.py | hvanwyk/drifter | a08df0cef81bc6ca76084ae8cac089644e2bd56b | [
"MIT"
] | 6 | 2019-06-04T09:26:15.000Z | 2021-10-21T05:00:23.000Z | scratch/haar_wavelets.py | hvanwyk/drifter | a08df0cef81bc6ca76084ae8cac089644e2bd56b | [
"MIT"
] | 9 | 2018-02-28T22:04:43.000Z | 2022-02-18T17:14:30.000Z | scratch/haar_wavelets.py | hvanwyk/drifter | a08df0cef81bc6ca76084ae8cac089644e2bd56b | [
"MIT"
] | null | null | null | from mesh import QuadMesh, Mesh1D
from plot import Plot
from fem import QuadFE, DofHandler
from function import Explicit
import numpy as np
plot = Plot()
mesh = Mesh1D()
Q0 = QuadFE(1,'DQ0')
dh0 = DofHandler(mesh,Q0)
n_levels = 10
for l in range(n_levels):
mesh.cells.refine(new_label=l)
dh0.distribute_dofs(su... | 21.153846 | 49 | 0.734545 |
f6a4d0c57c26e51c04242c8ef1ac5b784a9dd4a7 | 7,553 | lua | Lua | asteroides/principal.lua | izaquias/Asteroides | c6d118f882269832d7b988f687be3cc7d304494c | [
"MIT"
] | null | null | null | asteroides/principal.lua | izaquias/Asteroides | c6d118f882269832d7b988f687be3cc7d304494c | [
"MIT"
] | null | null | null | asteroides/principal.lua | izaquias/Asteroides | c6d118f882269832d7b988f687be3cc7d304494c | [
"MIT"
] | null | null | null | --code here
--Cena principal
local composer = require("composer")
local scene = composer.newScene()
local widget = require("widget")
local physics = require("physics")
physics.start()
physics.setGravity( 0, 9.8)
physics.setDrawMode("normal")
math.randomseed( os.time() )
local sheetInfo = require("sprites.sprite... | 23.751572 | 96 | 0.652721 |
77a8fad285634f144ad02d5a57e54c6d1ed41890 | 4,601 | dart | Dart | lib/viewmodel/viewmodel_settings.dart | Shakibuzzaman3104/my_prayer | 9910e212efec5035e5f2823ec7aa48befe351c19 | [
"Apache-2.0"
] | 3 | 2021-02-15T15:53:16.000Z | 2021-02-18T15:02:02.000Z | lib/viewmodel/viewmodel_settings.dart | Shakibuzzaman3104/my_prayer | 9910e212efec5035e5f2823ec7aa48befe351c19 | [
"Apache-2.0"
] | null | null | null | lib/viewmodel/viewmodel_settings.dart | Shakibuzzaman3104/my_prayer | 9910e212efec5035e5f2823ec7aa48befe351c19 | [
"Apache-2.0"
] | 1 | 2021-02-14T18:10:55.000Z | 2021-02-14T18:10:55.000Z | import 'package:dio/dio.dart';
import 'package:geocoder/geocoder.dart';
import 'package:geolocator/geolocator.dart';
import 'package:my_prayer/local_database/sharedpreferences.dart';
import 'package:my_prayer/repository/repository.dart';
import 'package:my_prayer/utils/utils.dart';
import 'package:my_prayer/viewmodel/b... | 29.305732 | 80 | 0.700717 |
05c7dc4e2433a18015f8d00acc60cf062f193b23 | 21,941 | py | Python | PyFunceble/__init__.py | Centaurioun/PyFunceble | 59b809f3322118f7824195752c6015220738d4a0 | [
"Apache-2.0"
] | 213 | 2017-11-19T16:00:29.000Z | 2022-03-30T20:51:35.000Z | PyFunceble/__init__.py | Centaurioun/PyFunceble | 59b809f3322118f7824195752c6015220738d4a0 | [
"Apache-2.0"
] | 270 | 2018-01-10T12:42:41.000Z | 2022-03-22T00:03:23.000Z | PyFunceble/__init__.py | Centaurioun/PyFunceble | 59b809f3322118f7824195752c6015220738d4a0 | [
"Apache-2.0"
] | 48 | 2017-12-09T22:53:49.000Z | 2022-01-29T15:50:52.000Z | # pylint: disable=invalid-name
"""
The tool to check the availability or syntax of domain, IP or URL.
::
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ... | 28.869737 | 88 | 0.622715 |
6853edcfd75c5bcbf8f0e5051e5181c5f1e60c0c | 500 | php | PHP | app/Models/SubmissionFile.php | trs5051/BJEE | c0d1e1f6ef628323d52a0469131170a1187a3f20 | [
"MIT"
] | null | null | null | app/Models/SubmissionFile.php | trs5051/BJEE | c0d1e1f6ef628323d52a0469131170a1187a3f20 | [
"MIT"
] | null | null | null | app/Models/SubmissionFile.php | trs5051/BJEE | c0d1e1f6ef628323d52a0469131170a1187a3f20 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class SubmissionFile extends Model
{
use SoftDeletes;
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'submission_files';
protected $guarded = [];
public ... | 16.666667 | 69 | 0.702 |
c3a930dddbe406ce75d64af612c135b4fb7812e1 | 5,965 | cs | C# | AddonManager/Logic/Storage.cs | BuloZB/Addon | b37f07e08aa5110db51e35e22f4babd762d9267c | [
"MIT"
] | 3 | 2019-05-15T20:51:54.000Z | 2020-05-07T12:22:21.000Z | AddonManager/Logic/Storage.cs | BuloZB/Addon | b37f07e08aa5110db51e35e22f4babd762d9267c | [
"MIT"
] | 35 | 2019-05-15T15:41:34.000Z | 2020-01-15T19:19:18.000Z | AddonManager/Logic/Storage.cs | BuloZB/Addon | b37f07e08aa5110db51e35e22f4babd762d9267c | [
"MIT"
] | 1 | 2019-11-24T15:55:28.000Z | 2019-11-24T15:55:28.000Z | using AddonManager.Core.Helpers;
using AddonManager.Core.Models;
using AddonManager.Core.Storage;
using AddonManager.Helpers;
using AddonToolkit.Model;
using Microsoft.Toolkit.Uwp.Helpers;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Windows.ApplicationM... | 39.766667 | 149 | 0.541827 |
72d1ea38cd43edf94d02c81af99d8c50d989c5f7 | 3,475 | cs | C# | SpectraLogic.SpectraRioBrokerClient/Calls/Broker/ArchiveRequest.cs | barjonas/ep_net_sdk | 07c0f57c65fc7fa8f96e396ad3bbadfe6e774977 | [
"Apache-2.0"
] | null | null | null | SpectraLogic.SpectraRioBrokerClient/Calls/Broker/ArchiveRequest.cs | barjonas/ep_net_sdk | 07c0f57c65fc7fa8f96e396ad3bbadfe6e774977 | [
"Apache-2.0"
] | null | null | null | SpectraLogic.SpectraRioBrokerClient/Calls/Broker/ArchiveRequest.cs | barjonas/ep_net_sdk | 07c0f57c65fc7fa8f96e396ad3bbadfe6e774977 | [
"Apache-2.0"
] | null | null | null | /*
* ******************************************************************************
* Copyright 2014-2019 Spectra Logic Corporation. 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. A copy of the License ... | 37.365591 | 205 | 0.621871 |
5bf67987e04c6ae9d631de6bcd0f137cc48244c6 | 42,913 | css | CSS | src/styles/global.css | zairabbas/ceg | 7dd83c2fb9bd54f706cfd9a2f19e2a6ce94467a9 | [
"RSA-MD"
] | null | null | null | src/styles/global.css | zairabbas/ceg | 7dd83c2fb9bd54f706cfd9a2f19e2a6ce94467a9 | [
"RSA-MD"
] | null | null | null | src/styles/global.css | zairabbas/ceg | 7dd83c2fb9bd54f706cfd9a2f19e2a6ce94467a9 | [
"RSA-MD"
] | null | null | null | @import url('https://fonts.googleapis.com/css?family=Raleway:400,400i,700,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;700&display=swap');
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins... | 16.126644 | 208 | 0.610864 |
aecf6f9cf1536f0dedd3adf5daf79ad47bea23ed | 2,211 | cs | C# | SnakeConsoleGame-master/src/SimpleSnakeNoBorders/GameObjects/Point.cs | DeyanDanailov/SoftUni-OOP | 1f9fdf0704267b73c148e90ab1ba6ce014b20bfd | [
"MIT"
] | 1 | 2020-11-03T21:39:56.000Z | 2020-11-03T21:39:56.000Z | SnakeConsoleGame-master/src/SimpleSnakeNoBorders/GameObjects/Point.cs | DeyanDanailov/SoftUni-OOP | 1f9fdf0704267b73c148e90ab1ba6ce014b20bfd | [
"MIT"
] | null | null | null | SnakeConsoleGame-master/src/SimpleSnakeNoBorders/GameObjects/Point.cs | DeyanDanailov/SoftUni-OOP | 1f9fdf0704267b73c148e90ab1ba6ce014b20bfd | [
"MIT"
] | null | null | null | namespace SimpleSnakeNoBorders.GameObjects
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Point
{
private int leftX;
private int topY;
private readonly Random random;
public Point()
{
this.random = new Random()... | 24.296703 | 85 | 0.464043 |
938f671f9f92625615d14e8e1d73924b6a778ee4 | 445 | cs | C# | Sample/CQRSCode/ReadModel/Events/InventoryItemCreated.cs | mvandevy/CQRSlite | 1449c18d585475f5f2cf81951cb939dea8ae0891 | [
"Apache-2.0"
] | 1 | 2015-06-22T01:08:57.000Z | 2015-06-22T01:08:57.000Z | Sample/CQRSCode/ReadModel/Events/InventoryItemCreated.cs | mvandevy/CQRSlite | 1449c18d585475f5f2cf81951cb939dea8ae0891 | [
"Apache-2.0"
] | null | null | null | Sample/CQRSCode/ReadModel/Events/InventoryItemCreated.cs | mvandevy/CQRSlite | 1449c18d585475f5f2cf81951cb939dea8ae0891 | [
"Apache-2.0"
] | null | null | null | using System;
using CQRSlite.Events;
namespace CQRSCode.ReadModel.Events
{
public class InventoryItemCreated : IEvent
{
public readonly string Name;
public InventoryItemCreated(Guid id, string name)
{
Id = id;
Name = name;
}
public ... | 23.421053 | 59 | 0.566292 |
bb6a8fccac675c6b1faa92f0cd54076552e3034c | 750 | cs | C# | src/XUnitTestProject1/DotNetZipTest.cs | paonath/PH.RollingZipRotator.log4net | 0e5af677daa590fd5003ab8d65bc7b5b89fdba12 | [
"BSD-3-Clause"
] | null | null | null | src/XUnitTestProject1/DotNetZipTest.cs | paonath/PH.RollingZipRotator.log4net | 0e5af677daa590fd5003ab8d65bc7b5b89fdba12 | [
"BSD-3-Clause"
] | null | null | null | src/XUnitTestProject1/DotNetZipTest.cs | paonath/PH.RollingZipRotator.log4net | 0e5af677daa590fd5003ab8d65bc7b5b89fdba12 | [
"BSD-3-Clause"
] | null | null | null | using Ionic.Zip;
using Xunit;
namespace XUnitTestProject1
{
public class DotNetZipTest : BaseTest
{
[Fact]
public void Test01()
{
var filename = @"c:\temp\soffas-fms-uploadftp-sql.log";
using(ZipFile zip= new ZipFile())
{
zip.AddFi... | 17.44186 | 67 | 0.441333 |
62a16808ba042a768b8919feb1946db88a74866b | 721 | swift | Swift | MiniPedia/App/AppCoordinator.swift | balitax/MiniPedia | de9cebdbb5d5966233175591e7db19288b5a440e | [
"MIT"
] | 6 | 2020-11-26T06:38:56.000Z | 2021-01-01T14:07:47.000Z | MiniPedia/App/AppCoordinator.swift | balitax/MiniPedia | de9cebdbb5d5966233175591e7db19288b5a440e | [
"MIT"
] | null | null | null | MiniPedia/App/AppCoordinator.swift | balitax/MiniPedia | de9cebdbb5d5966233175591e7db19288b5a440e | [
"MIT"
] | 4 | 2020-11-26T07:06:44.000Z | 2021-03-11T15:56:35.000Z | //
// AppCoordinator.swift
// MiniPedia
//
// Created by Agus Cahyono on 12/10/20.
// Copyright © 2020 Agus Cahyono. All rights reserved.
//
import RxSwift
class AppCoordinator: ReactiveCoordinator<Void> {
var window: UIWindow
init(window: UIWindow) {
self.window = window
}
... | 21.848485 | 88 | 0.632455 |
38cfb9c0ca292045d882b466fff1d5d26c232a13 | 830 | php | PHP | app/Model/Customer/Service/Group/Get/Groups/GetCustomerGroups.php | timigen2010/crm | 0a3c27311292c939509b049fc757dc5f5c123cc5 | [
"MIT"
] | null | null | null | app/Model/Customer/Service/Group/Get/Groups/GetCustomerGroups.php | timigen2010/crm | 0a3c27311292c939509b049fc757dc5f5c123cc5 | [
"MIT"
] | null | null | null | app/Model/Customer/Service/Group/Get/Groups/GetCustomerGroups.php | timigen2010/crm | 0a3c27311292c939509b049fc757dc5f5c123cc5 | [
"MIT"
] | null | null | null | <?php
namespace App\Model\Customer\Service\Group\Get\Groups;
use App\Model\Customer\Entity\Group\CustomerGroup;
use App\Model\Customer\Repository\CustomerGroupRepository;
use App\Model\Customer\Service\Group\Get\GetCustomerGroupsInterface;
use Illuminate\Database\Eloquent\Collection;
class GetCustomerGroups implemen... | 28.62069 | 81 | 0.746988 |
37988844dd07ed6b4028840bee296eb844415a43 | 598 | lua | Lua | AzurLaneData/zh-CN/mod/battle/command/gate/battlegatesimulation.lua | FlandreCirno/AzurLaneWikiUtilitiesManual | b525fd9086dd716bb65848a8cd0635b261ab6fdf | [
"MIT"
] | null | null | null | AzurLaneData/zh-CN/mod/battle/command/gate/battlegatesimulation.lua | FlandreCirno/AzurLaneWikiUtilitiesManual | b525fd9086dd716bb65848a8cd0635b261ab6fdf | [
"MIT"
] | null | null | null | AzurLaneData/zh-CN/mod/battle/command/gate/battlegatesimulation.lua | FlandreCirno/AzurLaneWikiUtilitiesManual | b525fd9086dd716bb65848a8cd0635b261ab6fdf | [
"MIT"
] | null | null | null | slot0 = class("BattleGateSimulation")
ys.Battle.BattleGateSimulation = slot0
slot0.__name = "BattleGateSimulation"
slot0.Entrance = function (slot0, slot1)
slot1:sendNotification(GAME.BEGIN_STAGE_DONE, {
prefabFleet = ys.Battle.BattleDataFunction.GetDungeonTmpDataByID(slot3).fleet_prefab,
stageId = slot0.stageId,... | 26 | 87 | 0.784281 |
a012a52e4b04d880006939ea8e4e63d6773c1296 | 1,933 | ts | TypeScript | angular/projects/spark-angular/src/lib/components/sprk-autocomplete/directives/sprk-autocomplete-results/sprk-autocomplete-results.directive.spec.ts | sgowell-rm/spark-design-system | 9753543b1df06fc6a435c3662f627ca21e82eae9 | [
"MIT"
] | 101 | 2017-09-26T23:48:46.000Z | 2022-03-29T18:48:30.000Z | angular/projects/spark-angular/src/lib/components/sprk-autocomplete/directives/sprk-autocomplete-results/sprk-autocomplete-results.directive.spec.ts | sgowell-rm/spark-design-system | 9753543b1df06fc6a435c3662f627ca21e82eae9 | [
"MIT"
] | 2,737 | 2017-09-28T19:25:54.000Z | 2022-03-23T11:55:55.000Z | angular/projects/spark-angular/src/lib/components/sprk-autocomplete/directives/sprk-autocomplete-results/sprk-autocomplete-results.directive.spec.ts | sgowell-rm/spark-design-system | 9753543b1df06fc6a435c3662f627ca21e82eae9 | [
"MIT"
] | 102 | 2017-09-29T13:33:56.000Z | 2022-02-03T10:22:10.000Z | import { Component } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SprkAutocompleteResultsDirective } from './sprk-autocomplete-results.directive';
@Component({
selector: 'sprk-test',
template: `
<ul
sprkAutocompleteResults
analyticsString=... | 30.68254 | 89 | 0.687532 |
8bf93fddea375027e532286bfbf0e1d95ec51dfd | 3,580 | rb | Ruby | spec/ruby/core/encoding/converter/last_error_spec.rb | prathamesh-sonpatki/jruby | 7b25a2f75a116f87a9ef09e603fd08e415b829b6 | [
"Ruby",
"Apache-2.0"
] | 173 | 2015-01-02T11:14:08.000Z | 2022-03-05T09:54:54.000Z | spec/ruby/core/encoding/converter/last_error_spec.rb | prathamesh-sonpatki/jruby | 7b25a2f75a116f87a9ef09e603fd08e415b829b6 | [
"Ruby",
"Apache-2.0"
] | 263 | 2015-01-05T04:35:22.000Z | 2021-09-07T06:00:02.000Z | spec/ruby/core/encoding/converter/last_error_spec.rb | prathamesh-sonpatki/jruby | 7b25a2f75a116f87a9ef09e603fd08e415b829b6 | [
"Ruby",
"Apache-2.0"
] | 77 | 2015-01-12T20:57:18.000Z | 2022-02-17T15:15:14.000Z | require File.expand_path('../../../../spec_helper', __FILE__)
with_feature :encoding do
describe "Encoding::Converter#last_error" do
it "returns nil when the no conversion has been attempted" do
ec = Encoding::Converter.new('ascii','utf-8')
ec.last_error.should be_nil
end
it "returns nil whe... | 42.117647 | 118 | 0.690782 |
9e2bec041f7b47de22fe6f86957314c1516c1c75 | 3,033 | cs | C# | src/core/Jenetics/LongChromosome.cs | lvv88/jenetics.net | 7317b9bd7a07c6826880ab9f9ab5b8f45fcbf9bf | [
"Apache-2.0"
] | 6 | 2017-09-13T12:07:27.000Z | 2020-05-10T06:11:29.000Z | src/core/Jenetics/LongChromosome.cs | lvv88/jenetics.net | 7317b9bd7a07c6826880ab9f9ab5b8f45fcbf9bf | [
"Apache-2.0"
] | null | null | null | src/core/Jenetics/LongChromosome.cs | lvv88/jenetics.net | 7317b9bd7a07c6826880ab9f9ab5b8f45fcbf9bf | [
"Apache-2.0"
] | 4 | 2018-10-12T13:49:57.000Z | 2020-12-02T14:37:09.000Z | // Java Genetic Algorithm Library.
// Copyright (c) 2017 Franz Wilhelmstötter
//
// 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
//
// ... | 31.268041 | 108 | 0.620508 |
b2bf757f740ac95de0446007169030697d1295f7 | 644 | css | CSS | public/css/recipe.css | enggsuraj/Food-Recipe-App | 9241f056b8c10f8e8c50d5de8905d2498e30d678 | [
"MIT"
] | null | null | null | public/css/recipe.css | enggsuraj/Food-Recipe-App | 9241f056b8c10f8e8c50d5de8905d2498e30d678 | [
"MIT"
] | null | null | null | public/css/recipe.css | enggsuraj/Food-Recipe-App | 9241f056b8c10f8e8c50d5de8905d2498e30d678 | [
"MIT"
] | 1 | 2021-03-06T06:29:36.000Z | 2021-03-06T06:29:36.000Z | * {
margin: 0;
padding: 0;
text-decoration: none;
font-family: sans-serif;
box-sizing: border-box;
}
h1,
h2,
h3 {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
p,
span,
.nutritions {
font-family: "Source Sans Pro";
}
.container-recipe {
width: 50%;
margin: 0 auto;
padding: 20px;
... | 11.709091 | 63 | 0.628882 |
01b6125e262027617acaf7199ba8f040d62552f1 | 912 | html | HTML | js/dom/index.html | brunomichalski/Curso-Fullstack | d6bb860cfd4bd1e23e1a253fbe87a04d38fb670a | [
"MIT"
] | null | null | null | js/dom/index.html | brunomichalski/Curso-Fullstack | d6bb860cfd4bd1e23e1a253fbe87a04d38fb670a | [
"MIT"
] | null | null | null | js/dom/index.html | brunomichalski/Curso-Fullstack | d6bb860cfd4bd1e23e1a253fbe87a04d38fb670a | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="js/registro-casa.js"></script>
<title>Document</title>
</head>
<body>
<h3>Resgistro de casa</h3... | 24.648649 | 74 | 0.492325 |
aee785acda85717d145056ef1a0de664998ecbe8 | 517 | cs | C# | Assets/DMMap/Editor/DMMapPointEditor.cs | luffy-yu/DMMap | 677be1328f58e9949f9701999312fcc643cda9f5 | [
"MIT"
] | 16 | 2021-02-22T09:54:58.000Z | 2022-03-25T02:00:57.000Z | Assets/DMMap/Editor/DMMapPointEditor.cs | luffy-yu/DMMap | 677be1328f58e9949f9701999312fcc643cda9f5 | [
"MIT"
] | 1 | 2022-02-23T02:12:19.000Z | 2022-02-23T02:26:15.000Z | Assets/DMMap/Editor/DMMapPointEditor.cs | luffy-yu/DMMap | 677be1328f58e9949f9701999312fcc643cda9f5 | [
"MIT"
] | 3 | 2021-02-25T09:06:04.000Z | 2022-02-22T01:12:52.000Z | using UnityEngine;
using System.Collections;
using UnityEditor;
namespace DMM {
[CustomEditor(typeof(DMMapPoint))]
public class DMMapPointEditor : Editor {
public override void OnInspectorGUI() {
base.OnInspectorGUI();
if (GUILayout.Button("New Point")) {
... | 24.619048 | 60 | 0.574468 |
23d0c8978f76cd12d0f48f2533b10100249616d1 | 2,329 | js | JavaScript | src/components/PrettyHtml/index.js | Do-you-dream-up/CV5 | 4c2a61ccfb02dd132a989fee1c462192cd0aedab | [
"MIT"
] | 2 | 2020-12-16T10:20:28.000Z | 2021-12-09T15:55:58.000Z | src/components/PrettyHtml/index.js | Do-you-dream-up/CV5 | 4c2a61ccfb02dd132a989fee1c462192cd0aedab | [
"MIT"
] | 7 | 2022-01-14T13:20:42.000Z | 2022-03-24T14:13:03.000Z | src/components/PrettyHtml/index.js | Do-you-dream-up/CV5 | 4c2a61ccfb02dd132a989fee1c462192cd0aedab | [
"MIT"
] | 1 | 2021-11-21T08:38:48.000Z | 2021-11-21T08:38:48.000Z | import c from 'classnames';
import PropTypes from 'prop-types';
import React from 'react';
import { useTranslation } from 'react-i18next';
import { CAROUSSEL_TEMPLATE, PRODUCT_TEMPLATE, QUICK_REPLY, knownTemplates } from '../../tools/template';
import CarouselTemplate from '../CarouselTemplate';
import ProductTemplate ... | 30.644737 | 118 | 0.671962 |
149ffd6413d96efdbee91929285c850a1f017d16 | 542 | kt | Kotlin | lib/src/main/java/com/aednlaxer/lib/units/Reaumur.kt | aednlaxer/kold | 795ad3f51a5a4d8ae60e995394c26f6ba17af1f5 | [
"MIT"
] | null | null | null | lib/src/main/java/com/aednlaxer/lib/units/Reaumur.kt | aednlaxer/kold | 795ad3f51a5a4d8ae60e995394c26f6ba17af1f5 | [
"MIT"
] | null | null | null | lib/src/main/java/com/aednlaxer/lib/units/Reaumur.kt | aednlaxer/kold | 795ad3f51a5a4d8ae60e995394c26f6ba17af1f5 | [
"MIT"
] | null | null | null | package com.aednlaxer.lib.units
class Reaumur(value: Double) : TemperatureUnit(value) {
override fun toCelsius() = value * 5.0 / 4.0
override fun toFahrenheit() = value * 9.0 / 4.0 + 32.0
override fun toKelvin() = value * 5.0 / 4.0 + 273.15
override fun toRankine() = value * 9.0 / 4.0 + 491.67
override fun t... | 38.714286 | 56 | 0.642066 |
0d47e4d98f4a24b30784444c9fcfe387ef5833e8 | 687 | cs | C# | Source/StandardLibrary/StandardLibrary.Core/DeepCopying/IDeepCopyable.cs | FlightSimHelpingFramework/FlightSimInformation | 87c204ef2641ec7f6cfebb29885e340ad312d6c5 | [
"MIT"
] | null | null | null | Source/StandardLibrary/StandardLibrary.Core/DeepCopying/IDeepCopyable.cs | FlightSimHelpingFramework/FlightSimInformation | 87c204ef2641ec7f6cfebb29885e340ad312d6c5 | [
"MIT"
] | null | null | null | Source/StandardLibrary/StandardLibrary.Core/DeepCopying/IDeepCopyable.cs | FlightSimHelpingFramework/FlightSimInformation | 87c204ef2641ec7f6cfebb29885e340ad312d6c5 | [
"MIT"
] | null | null | null | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
#region Usings
using JetBrains.Annotations;
#endregion
namespace StandardLibrary.DeepCopying
{
/// <summary>
/// Interface of an object,... | 26.423077 | 84 | 0.614265 |
4c373ebdfbb1bfedd0a366e0da3cd5544b6a02b8 | 1,300 | lua | Lua | menus.lua | SamyBencherif/stephanie | c9be7e58149c6ae945524ae9fd058cab10c7f0b8 | [
"MIT"
] | null | null | null | menus.lua | SamyBencherif/stephanie | c9be7e58149c6ae945524ae9fd058cab10c7f0b8 | [
"MIT"
] | null | null | null | menus.lua | SamyBencherif/stephanie | c9be7e58149c6ae945524ae9fd058cab10c7f0b8 | [
"MIT"
] | null | null | null | -- Entity imports
local Button = require "entities/menu/button"
local Object = require("libraries/classic/classic")
local assets = require("libraries/cargo/cargo").init("assets")
-- Unit constants
-- World width
local W = 512
-- World height
local H = 512
-- Block size (both dim)
local B = 64... | 24.074074 | 62 | 0.645385 |
fb0b12c24b35b73b47c5ee3924d976397a79040b | 2,705 | h | C | inetsrv/iis/inc/iisver.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/iis/inc/iisver.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/iis/inc/iisver.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //
// Apps' rc files should look like this:
//
/**
#include "windows.h"
#include "ntverp.h"
#define VER_FILEDESCRIPTION_STR "File Description"
#define VER_INTERNALNAME_STR "Internal Name"
#define VER_ORIGINALFILENAME_STR "Original Name"
#define VER_FILETYPE VFT_DL... | 24.816514 | 120 | 0.744177 |
a3e434dbd8e9fb17462114d1429a14a03a7caf37 | 19,543 | java | Java | paas-common-dbclient/src/test/java/dbtest/ClickHouseTest.java | maoge/zzstack | aa8b356571dbb0f250057a291d76d9355a8b471b | [
"MIT"
] | null | null | null | paas-common-dbclient/src/test/java/dbtest/ClickHouseTest.java | maoge/zzstack | aa8b356571dbb0f250057a291d76d9355a8b471b | [
"MIT"
] | null | null | null | paas-common-dbclient/src/test/java/dbtest/ClickHouseTest.java | maoge/zzstack | aa8b356571dbb0f250057a291d76d9355a8b471b | [
"MIT"
] | null | null | null | package dbtest;
import java.sql.Array;
import java.util.HashMap;
import java.util.List;
import java.util.Map.Entry;
import java.util.Set;
import java.util.UUID;
import com.zzstack.paas.underlying.dbclient.CRUD;
import com.zzstack.paas.underlying.dbclient.LoadBalancedDBSrcPool;
import com.zzstack.paas.underlying.dbcli... | 70.046595 | 1,579 | 0.595917 |
249c7f7f3c345bd52f83062fb9e820c8000d1fb6 | 306 | php | PHP | tests/Fixtures/DecoratorCommand.php | zlikavac32/nsb-decorators | d47c35311f7ddd128d4d93966fb46bcd77e41e74 | [
"MIT"
] | null | null | null | tests/Fixtures/DecoratorCommand.php | zlikavac32/nsb-decorators | d47c35311f7ddd128d4d93966fb46bcd77e41e74 | [
"MIT"
] | null | null | null | tests/Fixtures/DecoratorCommand.php | zlikavac32/nsb-decorators | d47c35311f7ddd128d4d93966fb46bcd77e41e74 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace Zlikavac32\NSBDecorators\Tests\Fixtures;
class DecoratorCommand implements Command
{
private Command $command;
public function __construct(Command $command)
{
$this->command = $command;
}
public function run(): void
{
}
}
| 13.909091 | 50 | 0.669935 |
339934a79dfc3ef12adf1c5bb33fb20f3c90fb17 | 834 | h | C | contracts/libc++/upstream/include/setjmp.h | cubetrain/CubeTrain | b930a3e88e941225c2c54219267f743c790e388f | [
"MIT"
] | 1 | 2019-12-13T05:51:34.000Z | 2019-12-13T05:51:34.000Z | contracts/libc++/upstream/include/setjmp.h | cubetrain/CubeTrain | b930a3e88e941225c2c54219267f743c790e388f | [
"MIT"
] | null | null | null | contracts/libc++/upstream/include/setjmp.h | cubetrain/CubeTrain | b930a3e88e941225c2c54219267f743c790e388f | [
"MIT"
] | 1 | 2021-09-17T15:41:36.000Z | 2021-09-17T15:41:36.000Z | // -*- C++ -*-
//===--------------------------- setjmp.h ---------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===-----------------... | 18.130435 | 81 | 0.534772 |
b767de3fcf18ad1ff838a3b3ee458af38573a642 | 5,173 | cpp | C++ | test/System/Session.cpp | ntoskrnl7/win32api-ex | e91521b53745655fd8fb7d6532770f4888420814 | [
"MIT"
] | 18 | 2022-01-12T23:01:55.000Z | 2022-03-28T01:50:56.000Z | test/System/Session.cpp | ntoskrnl7/win32api-ex | e91521b53745655fd8fb7d6532770f4888420814 | [
"MIT"
] | null | null | null | test/System/Session.cpp | ntoskrnl7/win32api-ex | e91521b53745655fd8fb7d6532770f4888420814 | [
"MIT"
] | 3 | 2022-02-25T10:55:41.000Z | 2022-02-25T13:06:21.000Z | #include <Win32Ex/System/Session.hpp>
#include <gtest/gtest.h>
TEST(SessionTest, ThisSession)
{
EXPECT_EQ(Win32Ex::ThisSession::Id(), WTSGetActiveConsoleSessionId());
EXPECT_STREQ(Win32Ex::ThisSession::Name().c_str(),
Win32Ex::System::Session(Win32Ex::ThisSession::Id()).Name().c_str());
EX... | 32.534591 | 115 | 0.635028 |
d6019b51e43d1a2ec3dc292badfed7c354d7f582 | 3,150 | rs | Rust | src/lib.rs | Xe-forks/rs621 | 64cbe47e611cd2a4f1b945c74f471dfcae625309 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/lib.rs | Xe-forks/rs621 | 64cbe47e611cd2a4f1b945c74f471dfcae625309 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/lib.rs | Xe-forks/rs621 | 64cbe47e611cd2a4f1b945c74f471dfcae625309 | [
"Apache-2.0",
"MIT"
] | null | null | null | //! Wrapper crate for the [e621.net](https://e926.net) API.
//!
//! ## Usage
//!
//! First, create a [`Client`]. You have to provide a descriptive User-Agent for your project. The
//! official API encourages you to include your E621 username so that you may be contacted if your
//! project causes problems.
//!
//! ```n... | 36.627907 | 100 | 0.655556 |
e287c9beb0016455581c661dd30db0e2ddc4ee07 | 4,212 | py | Python | tests/rip/test_rip.py | My-Little-Cable-Co/rip | 7d540721fea3d76601ad8af21b307d2ef70701a1 | [
"MIT"
] | null | null | null | tests/rip/test_rip.py | My-Little-Cable-Co/rip | 7d540721fea3d76601ad8af21b307d2ef70701a1 | [
"MIT"
] | 6 | 2020-09-20T03:51:09.000Z | 2020-11-15T07:01:39.000Z | tests/rip/test_rip.py | My-Little-Cable-Co/rip | 7d540721fea3d76601ad8af21b307d2ef70701a1 | [
"MIT"
] | 1 | 2020-10-05T02:24:18.000Z | 2020-10-05T02:24:18.000Z | import pytest
import subprocess
from rip.rip import Rip
from unittest.mock import patch
@pytest.mark.usefixtures('capsys')
@patch('rip.rip.subprocess.run')
def test_requirements_check__dvd_info_not_in_path(subprocess_run, capsys):
def subprocess_run_side_effect(*args, **kwargs):
if args == (['dvd_info', '... | 40.114286 | 118 | 0.668091 |
3a942d9fb7ec561ca33ebf6535581a2d811e6bbf | 3,044 | lua | Lua | loader/TestDataLoader.lua | karmaok/im2recipe | 833e945137817f4abbc074fb733f030ce037ca1f | [
"MIT"
] | 312 | 2017-06-25T23:34:01.000Z | 2022-03-28T18:14:31.000Z | loader/TestDataLoader.lua | karmaok/im2recipe | 833e945137817f4abbc074fb733f030ce037ca1f | [
"MIT"
] | 30 | 2017-06-29T12:50:36.000Z | 2021-04-12T12:40:12.000Z | loader/TestDataLoader.lua | karmaok/im2recipe | 833e945137817f4abbc074fb733f030ce037ca1f | [
"MIT"
] | 89 | 2017-06-25T23:34:42.000Z | 2022-03-16T11:22:28.000Z | require 'paths'
require 'hdf5'
local TestDataLoader = torch.class('TestDataLoader')
require 'loader.utils'
function TestDataLoader:__init(dataTest, opts)
self.batchSize = opts.batchSize
self.data = dataTest
groupByLen(dataTest)
self.imfeatDim = opts.imfeatDim
self.stDim = opts.stDim
self.maxIngrs = opts... | 29.269231 | 96 | 0.700394 |
5682a4f7ad67992d027317d0315daf8e12f29a12 | 933 | rs | Rust | src/pgn/convert.rs | iandraves/Nymbit | 3502f9a2a698c6873d6b0c898af517cc782d76a3 | [
"CC0-1.0"
] | 2 | 2021-12-05T06:50:38.000Z | 2021-12-09T01:05:04.000Z | src/pgn/convert.rs | iandraves/Nymbit | 3502f9a2a698c6873d6b0c898af517cc782d76a3 | [
"CC0-1.0"
] | null | null | null | src/pgn/convert.rs | iandraves/Nymbit | 3502f9a2a698c6873d6b0c898af517cc782d76a3 | [
"CC0-1.0"
] | null | null | null | use pleco::{Board, PieceType};
pub fn uci_to_pgn(board: &Board, piece: PieceType) -> String {
if piece.is_some() {
let move_dest = board.last_move().unwrap().get_dest();
let move_uci = board.last_move().unwrap().stringify();
let piece_type = piece.char_upper();
let is_promo = board.... | 32.172414 | 74 | 0.517685 |
25a1f69da723eaa0893de1665b2d2dd2b509c337 | 2,765 | cs | C# | src/Biz.Dfch.CraftmanEngineer.ProtoType/TypeResolver.cs | dfensgmbh/Biz.Dfch.CraftmanEngineer.ProtoType | 056262932b5999db751f28705ab5fe7ebb187dc0 | [
"Apache-2.0"
] | null | null | null | src/Biz.Dfch.CraftmanEngineer.ProtoType/TypeResolver.cs | dfensgmbh/Biz.Dfch.CraftmanEngineer.ProtoType | 056262932b5999db751f28705ab5fe7ebb187dc0 | [
"Apache-2.0"
] | null | null | null | src/Biz.Dfch.CraftmanEngineer.ProtoType/TypeResolver.cs | dfensgmbh/Biz.Dfch.CraftmanEngineer.ProtoType | 056262932b5999db751f28705ab5fe7ebb187dc0 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2017 d-fens GmbH
*
* 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... | 33.719512 | 120 | 0.6434 |
7f2d1cc3099195bc39276ebc3a455ea8aade92ab | 482 | cs | C# | camerapitch.cs | MunirMuratovic/unity-scripts | afb0ea35b29c0232a4fda84f5dfd20175b4e3383 | [
"MIT"
] | null | null | null | camerapitch.cs | MunirMuratovic/unity-scripts | afb0ea35b29c0232a4fda84f5dfd20175b4e3383 | [
"MIT"
] | null | null | null | camerapitch.cs | MunirMuratovic/unity-scripts | afb0ea35b29c0232a4fda84f5dfd20175b4e3383 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class camerapitch : MonoBehaviour {
private float pitch;
private float pitchspeed = 2;
private int xBoxEnabled = 0;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
pi... | 17.851852 | 48 | 0.697095 |
44379af04dbcb0fc02b5addf632317252cda69d2 | 1,418 | sql | SQL | table_schemata.sql | AlvinMcCray/SQL-Challenge | a92e46283914c1c1542c2cd6548bfa74297fa11e | [
"ADSL"
] | null | null | null | table_schemata.sql | AlvinMcCray/SQL-Challenge | a92e46283914c1c1542c2cd6548bfa74297fa11e | [
"ADSL"
] | null | null | null | table_schemata.sql | AlvinMcCray/SQL-Challenge | a92e46283914c1c1542c2cd6548bfa74297fa11e | [
"ADSL"
] | null | null | null | DROP TABLE IF EXISTS departments;
CREATE TABLE departments (
dept_no VARCHAR(4) NOT NULL,
dept_name VARCHAR(40) NOT NULL,
UNIQUE (dept_name),
PRIMARY KEY (dept_no)
);
DROP TABLE IF EXISTS employees;
CREATE TABLE employees (
emp_no INT NOT NULL,
emp_title VARCHAR NOT NULL,
birth_date DATE N... | 21.815385 | 56 | 0.720028 |
7f199b9cf65658e8029c888d487335f66bb31945 | 744 | cs | C# | sketches/cqrs/sample-app/WebFrontend/Domain.cs | Slesa/Poseidon | 36a05c6f6193617226210847fa0164c4f6c414a6 | [
"Unlicense"
] | 1 | 2016-10-10T22:16:06.000Z | 2016-10-10T22:16:06.000Z | sketches/cqrs/sample-app/WebFrontend/Domain.cs | Slesa/Poseidon | 36a05c6f6193617226210847fa0164c4f6c414a6 | [
"Unlicense"
] | null | null | null | sketches/cqrs/sample-app/WebFrontend/Domain.cs | Slesa/Poseidon | 36a05c6f6193617226210847fa0164c4f6c414a6 | [
"Unlicense"
] | null | null | null | using Cafe.Infrastructure;
using Edument.CQRS;
using CafeReadModels;
using Cafe.Tab;
namespace WebFrontend
{
public static class Domain
{
public static MessageDispatcher Dispatcher;
public static IOpenTabQueries OpenTabQueries;
public static IChefTodoListQueries ChefTodoListQueries;
... | 27.555556 | 73 | 0.665323 |
2c7183575fdea134290e1296269d4c3748f2420c | 22,817 | py | Python | spacebreeder.py | SimonPreissner/semantic-fruitfly-1.0.0 | 189d946632f881f319eaed5db14f314494e3e10b | [
"MIT"
] | 3 | 2018-12-10T09:44:54.000Z | 2021-09-06T04:47:00.000Z | spacebreeder.py | SimonPreissner/semantic-fruitfly-1.0.0 | 189d946632f881f319eaed5db14f314494e3e10b | [
"MIT"
] | null | null | null | spacebreeder.py | SimonPreissner/semantic-fruitfly-1.0.0 | 189d946632f881f319eaed5db14f314494e3e10b | [
"MIT"
] | null | null | null | import os
import sys
import time
import math
import numpy as np
from tqdm import tqdm
import MEN
import utils
from Fruitfly import Fruitfly
from Incrementor import Incrementor
"""parameters (via console input)"""
# paths
global corpus_dir, testset_file, overlap_file, \
pipedir, \
count_file, fly_dir, ... | 49.71024 | 135 | 0.640049 |
c2312032ea72f7ea985def5453b704cecf61f26b | 4,727 | lua | Lua | Game/Resource/Script/PlayScene/PlayIO_Set.lua | CBE7F1F65/fb43b70cb3d36ad8b8ee3a9aed9c6493 | da25260dc8128ed66b48d391c738eb15134d7d4f | [
"Zlib",
"MIT-0",
"MIT"
] | null | null | null | Game/Resource/Script/PlayScene/PlayIO_Set.lua | CBE7F1F65/fb43b70cb3d36ad8b8ee3a9aed9c6493 | da25260dc8128ed66b48d391c738eb15134d7d4f | [
"Zlib",
"MIT-0",
"MIT"
] | null | null | null | Game/Resource/Script/PlayScene/PlayIO_Set.lua | CBE7F1F65/fb43b70cb3d36ad8b8ee3a9aed9c6493 | da25260dc8128ed66b48d391c738eb15134d7d4f | [
"Zlib",
"MIT-0",
"MIT"
] | null | null | null | function PS_SetMenuEnable(toplayer, toptag, bEnable)
local layertag = toptag + CCPSTL_Menu;
local grouptag = layertag + CCPSTM_Menu_Main;
local menunode = game.GetNode({toplayer, grouptag});
game.SetMenuEnabled(menunode, bEnable);
end
function PS_SetHPAPSP(toplayer, toptag)
local hp, ap, sp = ... | 30.895425 | 92 | 0.716734 |
74d18bef676a74cfee56024ffd87495ad8b732d9 | 940 | css | CSS | src/styles/globals/typography.css | yashsehgal-tutorial-projects/react-components-basics | f3533dcd84f43d131f782d269281d2d9572862fb | [
"MIT"
] | null | null | null | src/styles/globals/typography.css | yashsehgal-tutorial-projects/react-components-basics | f3533dcd84f43d131f782d269281d2d9572862fb | [
"MIT"
] | null | null | null | src/styles/globals/typography.css | yashsehgal-tutorial-projects/react-components-basics | f3533dcd84f43d131f782d269281d2d9572862fb | [
"MIT"
] | null | null | null | @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
:root {
--font-inter: 'Inter', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
color: inherit;
font-family: inherit;
text-decoration: none;
}
p, b, i, u, font, text, strong, sup, sub, a, a:active, a:vis... | 20.888889 | 116 | 0.659574 |
3f717ee72f050db4990318cfe8cbf34812a7cda2 | 2,194 | rb | Ruby | lib/httpclient/lru_cache.rb | glebtv/httpclient | f044de6918c007fbbac3aaa78cb233df261d3c95 | [
"Ruby"
] | null | null | null | lib/httpclient/lru_cache.rb | glebtv/httpclient | f044de6918c007fbbac3aaa78cb233df261d3c95 | [
"Ruby"
] | null | null | null | lib/httpclient/lru_cache.rb | glebtv/httpclient | f044de6918c007fbbac3aaa78cb233df261d3c95 | [
"Ruby"
] | null | null | null | # for DNS cache
# We do it manually because Ruby won't do it for us
# Taken from: https://github.com/kindkid/lrucache/blob/master/lib/lrucache.rb
# (MIT Licensed). Thanks!
require "lru_redux"
require 'thread'
class HTTPClient
class LRUCache
attr_reader :max_size, :ttl, :soft_ttl, :retry_delay
def initiali... | 27.08642 | 80 | 0.612124 |
9b092f21c1ce6da346d1215f859f02de09524560 | 634 | swift | Swift | Sources/SwiftColorGenLibrary/Asset.swift | ernestsheridan/SwiftColorGenLibrary | 30a7f2cbb31ac73c6df7cc04b126cbe6fb076f5b | [
"MIT"
] | 1 | 2017-12-10T00:07:11.000Z | 2017-12-10T00:07:11.000Z | Sources/SwiftColorGenLibrary/Asset.swift | ernestsheridan/SwiftColorGenLibrary | 30a7f2cbb31ac73c6df7cc04b126cbe6fb076f5b | [
"MIT"
] | 3 | 2017-12-10T00:04:20.000Z | 2017-12-10T00:22:28.000Z | Sources/SwiftColorGenLibrary/Asset.swift | ernestsheridan/SwiftColorGenLibrary | 30a7f2cbb31ac73c6df7cc04b126cbe6fb076f5b | [
"MIT"
] | 1 | 2019-01-18T20:54:13.000Z | 2019-01-18T20:54:13.000Z | //
// Asset.swift
// SwiftColorGen
//
// Created by Fernando del Rio (fernandomdr@gmail.com) on 24/11/17.
//
import Foundation
public enum AssetType {
case original // Generated from storyboard
case customRenamed // User renamed a color in the Assets folder
case customAdded // User added a color in the... | 25.36 | 68 | 0.712934 |
c2e147b07d84c18d6f5579d002708d755b8a6ad5 | 700 | lua | Lua | test/assets/view/user/top100.lua | skynetlua/skynetlua | c8e25b83e497f6748b1edaeecfaf551de0ad1220 | [
"Apache-2.0"
] | 5 | 2019-08-17T13:32:27.000Z | 2021-09-08T01:40:48.000Z | test/assets/view/user/top100.lua | skynetlua/skynetlua | c8e25b83e497f6748b1edaeecfaf551de0ad1220 | [
"Apache-2.0"
] | null | null | null | test/assets/view/user/top100.lua | skynetlua/skynetlua | c8e25b83e497f6748b1edaeecfaf551de0ad1220 | [
"Apache-2.0"
] | 3 | 2019-10-10T02:45:47.000Z | 2020-04-08T05:24:34.000Z | <%- partial('../sidebar') %>
<div id='content'>
<div class='panel'>
<div class='header'>
<ul class='breadcrumb'>
<li><a href='/'>主页</a><span class='divider'>/</span></li>
<li class='active'>Top100 积分榜</li>
</ul>
</div>
<div class='inner'>
<% if type(users) == 'table' and... | 25.925926 | 73 | 0.474286 |
f9cdae287eeebf6c9ed916c65c7f3035829b7bfb | 881 | sh | Shell | src/sample/run.sh | SecuritasMachina/docker-headless-securitaswall | 94fae3f8099a75229acaff3112a69c3c096f7567 | [
"Apache-2.0"
] | null | null | null | src/sample/run.sh | SecuritasMachina/docker-headless-securitaswall | 94fae3f8099a75229acaff3112a69c3c096f7567 | [
"Apache-2.0"
] | null | null | null | src/sample/run.sh | SecuritasMachina/docker-headless-securitaswall | 94fae3f8099a75229acaff3112a69c3c096f7567 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env bash
host_ip_cmd=($(echo $(hostname -I) | tr ' ' '\n'))
proxy_ip="${host_ip_cmd[0]}"
proxy_port="3128"
# Replace Proxy with company proxy:
proxy="http://$proxy_ip:$proxy_port"
echo "Using proxy: $proxy"
volume_path=/home/shared/DockerVolumes/developer-desktop
echo "Checking for $volume_path"
if [ ! -d $... | 38.304348 | 82 | 0.700341 |
bb658556a4f3e384c59aa1e8f2ca3a2d68a1471e | 679 | cs | C# | src/Services/Wms_inventoryBoxTaskService.cs | lindenrty2/KopSoftWms | e41402af81bcba9cac3e632a1782a33b274ad0c5 | [
"MIT"
] | 1 | 2019-05-17T09:22:07.000Z | 2019-05-17T09:22:07.000Z | src/Services/Wms_inventoryBoxTaskService.cs | lindenrty2/KopSoftWms | e41402af81bcba9cac3e632a1782a33b274ad0c5 | [
"MIT"
] | null | null | null | src/Services/Wms_inventoryBoxTaskService.cs | lindenrty2/KopSoftWms | e41402af81bcba9cac3e632a1782a33b274ad0c5 | [
"MIT"
] | null | null | null | using IRepository;
using IServices;
using Repository;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
using YL.Core.Entity;
namespace Services
{
public class Wms_inventoryBoxTaskServices : BaseServices<Wms_inventoryboxTask>, IWms_inventoryBoxTaskServices
{
private re... | 25.148148 | 113 | 0.71134 |
0e78ad1f512c2018a54c689c14933421724bc1dc | 2,089 | dart | Dart | lib/grid_mode_files/bloc/grid_mode_files_state.dart | air-controller/air-controller-desktop | d07ab4906bc7fbdeebb8880a83cba732498e5b6d | [
"MIT"
] | 18 | 2022-01-22T13:26:33.000Z | 2022-03-31T23:25:35.000Z | lib/grid_mode_files/bloc/grid_mode_files_state.dart | air-controller/air-controller-desktop | d07ab4906bc7fbdeebb8880a83cba732498e5b6d | [
"MIT"
] | 1 | 2022-02-14T14:31:45.000Z | 2022-03-25T14:15:30.000Z | lib/grid_mode_files/bloc/grid_mode_files_state.dart | air-controller/air-controller-desktop | d07ab4906bc7fbdeebb8880a83cba732498e5b6d | [
"MIT"
] | 1 | 2022-03-31T13:11:47.000Z | 2022-03-31T13:11:47.000Z | import 'dart:ui';
import 'package:equatable/equatable.dart';
import '../../model/file_node.dart';
class GridModeFilesMenuStatus extends Equatable {
final bool isOpened;
final Offset? position;
final FileNode? current;
const GridModeFilesMenuStatus(
{this.isOpened = false, this.position = null, this.cu... | 28.22973 | 78 | 0.737674 |
3f80f141c341aeb439edeefa1c8c606e8a3e980b | 80 | rb | Ruby | vendor/ruby/2.3.0/gems/aws-sdk-core-2.10.125/lib/aws-sdk-core/empty_structure.rb | epfl-lasa/TutorialICRA2018 | a7e03f6ee0c5ffc0cbb9d01ece40c8b23780f30f | [
"Unlicense"
] | 4 | 2017-03-07T07:55:14.000Z | 2018-08-07T04:52:39.000Z | vendor/ruby/2.3.0/gems/aws-sdk-core-2.10.125/lib/aws-sdk-core/empty_structure.rb | epfl-lasa/TutorialICRA2018 | a7e03f6ee0c5ffc0cbb9d01ece40c8b23780f30f | [
"Unlicense"
] | 8 | 2020-01-15T23:28:32.000Z | 2020-01-15T23:28:47.000Z | vendor/ruby/2.3.0/gems/aws-sdk-core-2.10.125/lib/aws-sdk-core/empty_structure.rb | epfl-lasa/TutorialICRA2018 | a7e03f6ee0c5ffc0cbb9d01ece40c8b23780f30f | [
"Unlicense"
] | 2 | 2020-07-18T12:09:36.000Z | 2020-11-04T03:22:38.000Z | module Aws
EmptyStructure = Class.new(Structure.new('AwsEmptyStructure'))
end
| 20 | 64 | 0.7875 |
99d84fac184d08eee9fac645de7c69bd3994000b | 178 | sql | SQL | src/test/resources/boundary3.test_637.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 131 | 2015-03-31T18:59:14.000Z | 2022-03-09T09:51:06.000Z | src/test/resources/boundary3.test_637.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 20 | 2015-03-31T21:35:38.000Z | 2018-07-02T16:15:51.000Z | src/test/resources/boundary3.test_637.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 43 | 2015-04-28T02:01:55.000Z | 2021-06-06T09:33:38.000Z | -- boundary3.test
--
-- db eval {
-- SELECT t1.rowid, x FROM t1 JOIN t2 ON t2.r=t1.rowid WHERE t2.a=35
-- }
SELECT t1.rowid, x FROM t1 JOIN t2 ON t2.r=t1.rowid WHERE t2.a=35 | 29.666667 | 72 | 0.646067 |
201e3389d984fcfea81f7feb61ea13a7b38d913f | 6,510 | dart | Dart | flutter/sample/lib/pages/referral_page.dart | xclud/docker-images-flutter | 5505e86dea66711be80d4a248854257ace5fa7aa | [
"MIT"
] | 1 | 2021-12-04T22:04:27.000Z | 2021-12-04T22:04:27.000Z | flutter/sample/lib/pages/referral_page.dart | xclud/docker-images-flutter | 5505e86dea66711be80d4a248854257ace5fa7aa | [
"MIT"
] | null | null | null | flutter/sample/lib/pages/referral_page.dart | xclud/docker-images-flutter | 5505e86dea66711be80d4a248854257ace5fa7aa | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:novinpay/colors.dart' as colors;
import 'package:novinpay/models/get_invitation_link_response.dart';
import 'package:novinpay/repository/response.dart';
import 'package:novinpay/strings.dart' as strings;
import 'package:novi... | 32.38806 | 80 | 0.516436 |
09b05bfec1aadc482d733d700af18728b72e0977 | 7,537 | swift | Swift | Partner/Partner/Service/Controller/ServiceMainViewController.swift | liuCodeBoy/Partner | a60602c8ed7637ecad1e13d99f9feec13f2b3a39 | [
"Apache-2.0"
] | 1 | 2018-04-18T10:00:38.000Z | 2018-04-18T10:00:38.000Z | Partner/Partner/Service/Controller/ServiceMainViewController.swift | liuCodeBoy/Partner | a60602c8ed7637ecad1e13d99f9feec13f2b3a39 | [
"Apache-2.0"
] | null | null | null | Partner/Partner/Service/Controller/ServiceMainViewController.swift | liuCodeBoy/Partner | a60602c8ed7637ecad1e13d99f9feec13f2b3a39 | [
"Apache-2.0"
] | 2 | 2017-12-25T10:52:54.000Z | 2018-01-19T07:44:10.000Z | //
// ServiceMainViewController.swift
// Partner
//
// Created by Weslie on 31/01/2018.
//
import UIKit
import SCLAlertView
class ServiceMainViewController: UIViewController {
@IBOutlet weak var serviceTableView: UITableView!
var modelArr = [ServiceProvideListModel]()
var modelSelectedArr = [Select... | 46.524691 | 224 | 0.612711 |
0a45a8a7cfaa10f77e137843fa4a39951b9e9e49 | 215 | cs | C# | tests/Simple/CSharp/Incrementing/Test7.cs | GrapeCity/pagefx | 0ab027edb818fa0913f203c9771b2aaa88fb166e | [
"MIT"
] | 18 | 2019-08-03T09:55:53.000Z | 2021-12-11T20:32:30.000Z | tests/Simple/CSharp/Incrementing/Test7.cs | GrapeCity/pagefx | 0ab027edb818fa0913f203c9771b2aaa88fb166e | [
"MIT"
] | 1 | 2021-11-22T21:39:07.000Z | 2021-11-23T04:52:41.000Z | tests/Simple/CSharp/Incrementing/Test7.cs | GrapeCity/pagefx | 0ab027edb818fa0913f203c9771b2aaa88fb166e | [
"MIT"
] | 2 | 2019-07-31T09:50:21.000Z | 2021-11-24T16:30:12.000Z | using System;
class Test7
{
static void Main()
{
int i = 0;
while (i++ < 5)
{
Console.WriteLine(i);
}
Console.WriteLine("<%END%>");
}
}
| 14.333333 | 38 | 0.386047 |
98dcc547789ef4d366605ce6cb13d847c92a8b46 | 601 | sql | SQL | src/Nether.Data.Sql.Schema/GetHighScores.sql | vflorusso/nether | 09d54e310f5cd7c48fdfdd830a6fac770edb3da5 | [
"MIT"
] | null | null | null | src/Nether.Data.Sql.Schema/GetHighScores.sql | vflorusso/nether | 09d54e310f5cd7c48fdfdd830a6fac770edb3da5 | [
"MIT"
] | null | null | null | src/Nether.Data.Sql.Schema/GetHighScores.sql | vflorusso/nether | 09d54e310f5cd7c48fdfdd830a6fac770edb3da5 | [
"MIT"
] | null | null | null | /* Copyright (c) Microsoft. All rights reserved.
Licensed under the MIT license. See LICENSE file in the project root for full license information. */
CREATE PROCEDURE [dbo].[GetHighScores]
@StartRank int = 0,
@Count int
AS
SELECT
Score,
Gamertag,
CustomTag,
Ranking
FROM
(SELECT
Score,
Gamertag,
CustomTa... | 19.387097 | 101 | 0.710483 |
239c23d0513ee6848d1e03de6e856fb50b84d607 | 1,381 | js | JavaScript | src/flux/logic/__tests__/onCatch.test.js | ZhnZhn/ZhnZhn.github.io | 5da20b779c05fb87b4d6ee569487fef1163ab4f4 | [
"BSD-3-Clause"
] | 8 | 2016-07-25T06:51:32.000Z | 2022-03-21T13:42:45.000Z | src/flux/logic/__tests__/onCatch.test.js | ZhnZhn/ZhnZhn.github.io | 5da20b779c05fb87b4d6ee569487fef1163ab4f4 | [
"BSD-3-Clause"
] | null | null | null | src/flux/logic/__tests__/onCatch.test.js | ZhnZhn/ZhnZhn.github.io | 5da20b779c05fb87b4d6ee569487fef1163ab4f4 | [
"BSD-3-Clause"
] | 1 | 2020-07-18T12:47:04.000Z | 2020-07-18T12:47:04.000Z | import onCatch from '../onCatch'
import Msg from '../../../constants/Msg';
const M = Msg.Alert;
const _crAlertDescrFrom = ({ caption, descr }) => ({
alertCaption: caption,
alertDescr: descr
});
describe('onCatch', ()=>{
test('should call onFailed with option with alertDesr', ()=>{
const onFailed = jest.fn(... | 30.688889 | 74 | 0.641564 |
f4060d600ce0192b005344f2a56c13cd5e861b03 | 2,655 | cs | C# | sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/RoleInstanceView.Serialization.cs | gjy5885/azure-sdk-for-net | 5491b723c94176509a91c340485f10009189ac72 | [
"MIT"
] | 3,268 | 2015-01-08T04:21:52.000Z | 2022-03-31T11:10:48.000Z | sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/RoleInstanceView.Serialization.cs | gjy5885/azure-sdk-for-net | 5491b723c94176509a91c340485f10009189ac72 | [
"MIT"
] | 18,748 | 2015-01-06T00:12:22.000Z | 2022-03-31T23:55:50.000Z | sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/RoleInstanceView.Serialization.cs | gjy5885/azure-sdk-for-net | 5491b723c94176509a91c340485f10009189ac72 | [
"MIT"
] | 4,179 | 2015-01-07T20:13:22.000Z | 2022-03-31T09:09:02.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Compute.Models
{
public partial class RoleInstanceView
{
... | 38.478261 | 169 | 0.52693 |
1aabb028d620244869a6b383238014bc17340a28 | 1,599 | py | Python | NN_models/models/alexnet_tanh.py | ThomasMrY/ActivationFunctionDemo | 1f75c7964e354e7593e1fe54932877feb2961488 | [
"MIT"
] | 12 | 2018-10-29T02:07:43.000Z | 2022-03-18T09:56:34.000Z | NN_models/models/alexnet_tanh.py | ThomasMrY/Activation_function_demo | 1f75c7964e354e7593e1fe54932877feb2961488 | [
"MIT"
] | null | null | null | NN_models/models/alexnet_tanh.py | ThomasMrY/Activation_function_demo | 1f75c7964e354e7593e1fe54932877feb2961488 | [
"MIT"
] | 6 | 2019-05-31T08:54:39.000Z | 2021-08-15T03:09:33.000Z | import torch
import torch.nn as nn
from torch.nn.modules.module import Module
import NN_models.ops as ops
class APX_TANH(Module):
def __init__(self,file_name,inplace=False):
super(APX_TANH, self).__init__()
self.inplace = inplace
self.file_name = file_name
def forward(self, input):
... | 34.021277 | 66 | 0.581614 |
b32feded72fb245e8cd46db51bca43f62c6ebb63 | 680 | lua | Lua | applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/contact.lua | spiccinini/luci | 1893892581707fcd83e684a7a03dd6b5d3c2c3a2 | [
"Apache-2.0"
] | 4,459 | 2015-01-03T10:01:37.000Z | 2022-03-31T23:35:44.000Z | applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/contact.lua | spiccinini/luci | 1893892581707fcd83e684a7a03dd6b5d3c2c3a2 | [
"Apache-2.0"
] | 3,636 | 2015-01-03T01:36:37.000Z | 2022-03-31T17:07:01.000Z | applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/contact.lua | spiccinini/luci | 1893892581707fcd83e684a7a03dd6b5d3c2c3a2 | [
"Apache-2.0"
] | 2,799 | 2015-01-01T03:02:58.000Z | 2022-03-31T06:33:26.000Z | -- Copyright 2010 John Crispin <blogic@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("telephony", translate("VoIP"))
m.on_after_commit = function() luci.sys.call("/etc/init.d/telephony reload") end
s = m:section(TypedSection, "contact", translate("Contact"), translate("Here You can spec... | 32.380952 | 134 | 0.707353 |
4550e07424659f10c763f7b2986b72d7f423753b | 706 | sql | SQL | scripts/setup/workspaces/instance_settings.sql | MaikMichel/bash4xcl | 9c80e217a1760e23abba8eca54dd4018c5733874 | [
"MIT"
] | null | null | null | scripts/setup/workspaces/instance_settings.sql | MaikMichel/bash4xcl | 9c80e217a1760e23abba8eca54dd4018c5733874 | [
"MIT"
] | null | null | null | scripts/setup/workspaces/instance_settings.sql | MaikMichel/bash4xcl | 9c80e217a1760e23abba8eca54dd4018c5733874 | [
"MIT"
] | null | null | null | set define '^'
set concat on
set concat .
set verify off
@../env.sql
-------------------------------------------------------------------------------------
PROMPT =============================================================================
PROMPT == Configure instance settings
PROMPT ============================... | 28.24 | 85 | 0.502833 |
8e291cc6df76b51a304144cd45de4a9b2c220c62 | 4,639 | rb | Ruby | lib/trueskill/gaussian_distribution.rb | theorygeek/trueskill-ruby | bcd23840eaee9a4c81a304a44294f840856948a6 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | lib/trueskill/gaussian_distribution.rb | theorygeek/trueskill-ruby | bcd23840eaee9a4c81a304a44294f840856948a6 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | lib/trueskill/gaussian_distribution.rb | theorygeek/trueskill-ruby | bcd23840eaee9a4c81a304a44294f840856948a6 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | module TrueSkill
class GaussianDistribution
attr_accessor :mean, :standard_deviation, :variance, :precision, :precision_mean
def initialize(mean, standard_deviation)
self.mean = mean
self.standard_deviation = standard_deviation
self.variance = standard_deviation ** 2
self.precision = ... | 31.993103 | 143 | 0.628368 |
458b4b69d1906cbf0b99d07d40a2ca9421803ccc | 181 | py | Python | BOJ/13000~13999/13700~13799/13772.py | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | 2 | 2020-01-29T06:54:41.000Z | 2021-11-07T13:23:27.000Z | BOJ/13000~13999/13700~13799/13772.py | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | BOJ/13000~13999/13700~13799/13772.py | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | s = "12010000000000111100000000"
for _ in range(int(input())):
ans = 0
k = input()
for i in k:
if i != " ":
ans += int(s[ord(i) - 65])
print(ans) | 22.625 | 38 | 0.480663 |