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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
589ab671f4f37bcc504294fec304b10c0ceb46dd | 3,953 | css | CSS | css/carousel-gallery.css | NardiniA/Design-Test | 7c1ccc248d1d8371a2a8dfcb79155972c9e0f22c | [
"MIT"
] | null | null | null | css/carousel-gallery.css | NardiniA/Design-Test | 7c1ccc248d1d8371a2a8dfcb79155972c9e0f22c | [
"MIT"
] | null | null | null | css/carousel-gallery.css | NardiniA/Design-Test | 7c1ccc248d1d8371a2a8dfcb79155972c9e0f22c | [
"MIT"
] | null | null | null | @import url("https://fonts.googleapis.com/css?family=Heebo:800");
* {
margin: 0;
padding: 0;
box-sizing: border-box; }
.parent {
width: 681px;
height: 384px;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto auto;
overflow: hidden;
position: absolute;
border-radius: 16px;
-webkit-box-shado... | 20.376289 | 199 | 0.660005 |
dcc9ccd60b9a414c4ea41d4dd0233025d0e10355 | 198 | rb | Ruby | lib/keras/normalization.rb | xiantotikui/Keras.rb | 806a46c2e51d5eb9c0623ae459093d9b221a1009 | [
"MIT"
] | 1 | 2019-10-23T12:54:08.000Z | 2019-10-23T12:54:08.000Z | lib/keras/normalization.rb | xiantotikui/Keras.rb | 806a46c2e51d5eb9c0623ae459093d9b221a1009 | [
"MIT"
] | null | null | null | lib/keras/normalization.rb | xiantotikui/Keras.rb | 806a46c2e51d5eb9c0623ae459093d9b221a1009 | [
"MIT"
] | null | null | null | module Keras::Normalization
extend self
pyfrom 'keras.layers', import: 'BatchNormalization'
def batch_normalization(axis: -1, **args)
BatchNormalization.new(axis: axis, **args)
end
end
| 22 | 53 | 0.732323 |
9b0a67d6e42a0440ac2a53c52e561f88b04c4d75 | 5,453 | dart | Dart | example/lib/page/home_page.dart | Tonigt/flutter_photo_manager | a53b0bf5fb2eaca7d86731955fb08aeb862718c3 | [
"Apache-2.0"
] | null | null | null | example/lib/page/home_page.dart | Tonigt/flutter_photo_manager | a53b0bf5fb2eaca7d86731955fb08aeb862718c3 | [
"Apache-2.0"
] | null | null | null | example/lib/page/home_page.dart | Tonigt/flutter_photo_manager | a53b0bf5fb2eaca7d86731955fb08aeb862718c3 | [
"Apache-2.0"
] | null | null | null | import 'dart:io';
import 'package:flutter/material.dart';
import 'package:image_scanner_example/model/photo_provider.dart';
import 'package:image_scanner_example/page/gallery_list_page.dart';
import 'package:image_scanner_example/widget/change_notifier_builder.dart';
import 'package:photo_manager/photo_manager.dart';
... | 25.721698 | 77 | 0.596736 |
25a4d88aba91aa92bb6bc98705a91c8c9031b501 | 788 | js | JavaScript | test.js | jamestalmage/blind-bind | 93e1ca9f9fb0388469d0085c30a5b2494954f087 | [
"MIT"
] | null | null | null | test.js | jamestalmage/blind-bind | 93e1ca9f9fb0388469d0085c30a5b2494954f087 | [
"MIT"
] | null | null | null | test.js | jamestalmage/blind-bind | 93e1ca9f9fb0388469d0085c30a5b2494954f087 | [
"MIT"
] | null | null | null | 'use strict';
var assert = require('assert');
var sinon = require('sinon');
var bind = require('./');
it('should bind args ahead of time', function () {
var spy = sinon.spy();
var bound = bind('a', 'b');
bound(spy);
assert.strictEqual(spy.callCount, 1);
assert.deepEqual(spy.firstCall.args, ['a', 'b']);
});
it('s... | 24.625 | 60 | 0.624365 |
f4581d827fe481d27ddbfa359d1ce4bd7376c67a | 1,074 | cs | C# | OctoAwesome/OctoAwesome/SimulationComponent.cs | HierGibtEsDrachen/octoawesome | 39222dd6ffdd3cd4a8f421908f92a11b6874a37e | [
"MIT"
] | null | null | null | OctoAwesome/OctoAwesome/SimulationComponent.cs | HierGibtEsDrachen/octoawesome | 39222dd6ffdd3cd4a8f421908f92a11b6874a37e | [
"MIT"
] | null | null | null | OctoAwesome/OctoAwesome/SimulationComponent.cs | HierGibtEsDrachen/octoawesome | 39222dd6ffdd3cd4a8f421908f92a11b6874a37e | [
"MIT"
] | null | null | null | using engenious;
using OctoAwesome.Entities;
namespace OctoAwesome
{
/// <summary>
/// Base class for World wide (web) simulations
/// </summary>
public abstract class SimulationComponent : Component
{
/// <summary>
/// Defaultconstructor
/// </summary>
public Simula... | 29.027027 | 104 | 0.564246 |
abd3068e87ed29099523ed84f7a9235ad4eb99bd | 2,426 | swift | Swift | Sources/SwiftCF/CFTypeExt/CFNumber.swift | ddddxxx/SwiftCF | 72775c4b4dfceba8f6f43820d50f9286dc97160d | [
"MIT"
] | 11 | 2019-08-30T05:05:28.000Z | 2021-06-30T15:13:33.000Z | Sources/SwiftCF/CFTypeExt/CFNumber.swift | ddddxxx/SwiftCF | 72775c4b4dfceba8f6f43820d50f9286dc97160d | [
"MIT"
] | 1 | 2020-09-09T02:31:35.000Z | 2020-09-09T02:31:35.000Z | Sources/SwiftCF/CFTypeExt/CFNumber.swift | ddddxxx/SwiftCF | 72775c4b4dfceba8f6f43820d50f9286dc97160d | [
"MIT"
] | 4 | 2019-08-30T05:26:14.000Z | 2021-06-11T07:29:05.000Z | import Foundation
import CoreFoundation
public extension CFNumber {
static let positiveInfinity = kCFNumberPositiveInfinity!
static let negativeInfinity = kCFNumberNegativeInfinity!
static let nan = kCFNumberNaN!
@inlinable var type: CFNumberType {
return CFNumberGetType(self)
}
... | 26.369565 | 77 | 0.73413 |
2f32aa36bc92fde1e69633be56054a616c5d5c89 | 730 | js | JavaScript | www/js/character-data/character-type.js | webbestmaster/mk-11-kombo-guide | 5ea2a4d9800df319f17d4f12fbc53be9fe05bd72 | [
"MIT"
] | null | null | null | www/js/character-data/character-type.js | webbestmaster/mk-11-kombo-guide | 5ea2a4d9800df319f17d4f12fbc53be9fe05bd72 | [
"MIT"
] | null | null | null | www/js/character-data/character-type.js | webbestmaster/mk-11-kombo-guide | 5ea2a4d9800df319f17d4f12fbc53be9fe05bd72 | [
"MIT"
] | null | null | null | // @flow
import type {ComboType} from '../move-type/combo-type';
export type CharacterMoveType = {|
+basicList: Array<ComboType>,
+jumpingAttackList: Array<ComboType>,
+hopAttackList: Array<ComboType>,
+getUpAttackList: Array<ComboType>,
+flawlessBlockAttacksList: Array<ComboType>,
+throwsList... | 27.037037 | 55 | 0.689041 |
4cfcb0afa7992dd0b7457355243d41f833cb00da | 2,210 | py | Python | rl_agent/tambet/AlphaGZ.py | AntonPotapchuk/playground | e29cbc974c4d08f27a2078d47d1a79080e712efe | [
"Apache-2.0"
] | null | null | null | rl_agent/tambet/AlphaGZ.py | AntonPotapchuk/playground | e29cbc974c4d08f27a2078d47d1a79080e712efe | [
"Apache-2.0"
] | null | null | null | rl_agent/tambet/AlphaGZ.py | AntonPotapchuk/playground | e29cbc974c4d08f27a2078d47d1a79080e712efe | [
"Apache-2.0"
] | null | null | null | from Basic import BasicModel
from keras.layers import Input,Conv2D,Dense,Activation,BatchNormalization,add
from keras.layers.core import Flatten
from keras.models import Model
from keras.utils import to_categorical
import numpy as np
class AlphaGZ(BasicModel):
def ConvBlock(self,mod):
mod = Conv2D(filters=... | 36.229508 | 161 | 0.629412 |
f45a108d31b0beab4129fbaaa175d222202e6629 | 874 | cs | C# | src/PowerShellEditorServices.VSCode/CustomViews/HtmlContent.cs | mavaddat/PowerShellEditorServices | 912fa9d0af7cdf315dc119adbfa02fa2a8604eb3 | [
"MIT"
] | 492 | 2015-11-18T16:09:02.000Z | 2022-03-23T20:23:52.000Z | src/PowerShellEditorServices.VSCode/CustomViews/HtmlContent.cs | mavaddat/PowerShellEditorServices | 912fa9d0af7cdf315dc119adbfa02fa2a8604eb3 | [
"MIT"
] | 1,185 | 2015-11-18T16:17:02.000Z | 2022-03-31T22:35:44.000Z | src/PowerShellEditorServices.VSCode/CustomViews/HtmlContent.cs | LaudateCorpus1/PowerShellEditorServices | 5ded791cace223fe5cc32a5fd002e2cbf8f7a8f9 | [
"MIT"
] | 213 | 2015-11-18T17:00:53.000Z | 2022-03-18T04:38:09.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.PowerShell.EditorServices.VSCode.CustomViews
{
/// <summary>
/// Contains details about the HTML content to be
/// displayed in an IHtmlContentView.
/// </summary>
public class HtmlContent
{
/... | 29.133333 | 64 | 0.585812 |
583a8167a1e887db09d74642f91b8c8f7be70c80 | 5,023 | css | CSS | public/css/style.css | mwangangievans/k | f2113fa7a00b1ca565f615b34f1958a2cd404aed | [
"MIT"
] | null | null | null | public/css/style.css | mwangangievans/k | f2113fa7a00b1ca565f615b34f1958a2cd404aed | [
"MIT"
] | null | null | null | public/css/style.css | mwangangievans/k | f2113fa7a00b1ca565f615b34f1958a2cd404aed | [
"MIT"
] | null | null | null | .navbar {
background: linear-gradient(to right, white 15%, #e6b3e6);
position: fixed;
z-index: 2;
width: 100%;
}
.try {
margin-top: 30px;
margin-bottom: 30px;
max-width: 100%;
}
.spacer {
width: 100%;
height: 170px;
}
.navbar-brand {
font-family: 'Kaushan Script', cursive;
... | 14.517341 | 70 | 0.577941 |
386806fa21d44ecb288bb9d23e0f556a3bc13e94 | 791 | php | PHP | resources/views/admin/multiupload.blade.php | AleksejSinchuk/LaravelIvolga | 0ec1ef2eb53935688108241c2b9203e025588157 | [
"MIT"
] | null | null | null | resources/views/admin/multiupload.blade.php | AleksejSinchuk/LaravelIvolga | 0ec1ef2eb53935688108241c2b9203e025588157 | [
"MIT"
] | 1 | 2021-02-02T21:18:07.000Z | 2021-02-02T21:18:07.000Z | resources/views/admin/multiupload.blade.php | AleksejSinchuk/LaravelIvolga | 0ec1ef2eb53935688108241c2b9203e025588157 | [
"MIT"
] | null | null | null | @extends('layouts.admin')
@section('admin_content')
<div class="container">
<form action="{{route('image.multiupload')}}" method="post" multipart="" enctype="multipart/form-data">
{{csrf_field()}}
<div class="form-group">
<input type="file" name="image[]" multiple>
... | 32.958333 | 112 | 0.527181 |
b05768ef31201e9ef0dddc140d0afc31a878625a | 818 | py | Python | cloudentries/tencentcloud/query/constants.py | CloudChef/CloudEntries | a890e2eb96cc537db131e7ca8a0e6e1edc0b6ebd | [
"Apache-2.0"
] | null | null | null | cloudentries/tencentcloud/query/constants.py | CloudChef/CloudEntries | a890e2eb96cc537db131e7ca8a0e6e1edc0b6ebd | [
"Apache-2.0"
] | null | null | null | cloudentries/tencentcloud/query/constants.py | CloudChef/CloudEntries | a890e2eb96cc537db131e7ca8a0e6e1edc0b6ebd | [
"Apache-2.0"
] | 1 | 2021-03-26T05:45:00.000Z | 2021-03-26T05:45:00.000Z | # Copyright (c) 2021 Qianyun, Inc. All rights reserved.
INSTANCE_STATUSES = {
"LAUNCHING": "starting,POWERED_ON",
"RUNNING": "started,POWERED_ON",
"RESTARTING": "starting,POWERED_ON",
"REBOOTING": "starting,POWERED_ON",
"SHUTTINGDOWN": "stopping,POWERED_ON",
"SHUTDOWN": "stopped,POWERED_OFF",
... | 35.565217 | 86 | 0.518337 |
7cd83c3608cb5ed149db3c4e1027728504e1c94c | 2,601 | js | JavaScript | app/setup/security-controls/show/route.js | chasballew/dashboard.aptible.com | 2260f373a2df4439d966d328b0fd72ad5d6255a9 | [
"MIT"
] | null | null | null | app/setup/security-controls/show/route.js | chasballew/dashboard.aptible.com | 2260f373a2df4439d966d328b0fd72ad5d6255a9 | [
"MIT"
] | null | null | null | app/setup/security-controls/show/route.js | chasballew/dashboard.aptible.com | 2260f373a2df4439d966d328b0fd72ad5d6255a9 | [
"MIT"
] | null | null | null | import Ember from 'ember';
import SPDRouteMixin from 'diesel/mixins/routes/spd-route';
export default Ember.Route.extend(SPDRouteMixin, {
stepName: 'security-controls',
model(params) {
let securityControlGroups = this.modelFor('setup.security-controls');
return securityControlGroups.findBy('handle', param... | 28.582418 | 96 | 0.654748 |
b0e0d6df21aca22cac1fcc5be6f5d694c8c35cd9 | 492 | py | Python | strategy/auto_spider/autospider_strategy.py | yfsoftcom/crawler | 37b48285a74d587024f9f6b88de0de2f5dbc9d1d | [
"MIT"
] | null | null | null | strategy/auto_spider/autospider_strategy.py | yfsoftcom/crawler | 37b48285a74d587024f9f6b88de0de2f5dbc9d1d | [
"MIT"
] | null | null | null | strategy/auto_spider/autospider_strategy.py | yfsoftcom/crawler | 37b48285a74d587024f9f6b88de0de2f5dbc9d1d | [
"MIT"
] | null | null | null | import re
from strategy.strategy import Strategy
from strategy.parser.unknown_parser import UnknownParser
from strategy.parser.autospider_parser import DefaultAutoSpiderParser
class AutoSpiderStrategy(Strategy):
def __init__(self, spider = None):
self._spider = spider
def get_parser(self, url, is_html = True... | 27.333333 | 77 | 0.760163 |
90f813a70db086f4ab8ebc408b69f261db9d6b3a | 918 | rb | Ruby | app/models/custom_field.rb | 1vasari/Dashwork | f6ba5dcf5010a7ff61eeab14155b023f46e5a5dc | [
"MIT"
] | null | null | null | app/models/custom_field.rb | 1vasari/Dashwork | f6ba5dcf5010a7ff61eeab14155b023f46e5a5dc | [
"MIT"
] | null | null | null | app/models/custom_field.rb | 1vasari/Dashwork | f6ba5dcf5010a7ff61eeab14155b023f46e5a5dc | [
"MIT"
] | null | null | null | # == Schema Information
#
# Table name: custom_fields
#
# id :integer not null, primary key
# domain :string
# name :string
# type :string
# created_at :datetime not null
# updated_at :datetime not null
# tenant_id :bigint
# user_id :bigint
#
# Indexes
#
# i... | 27 | 79 | 0.711329 |
148f1824090d45f091e57bbc4e708ef443b7dcf1 | 1,443 | ts | TypeScript | src/identity.ts | AdExNetwork/subgraph-v2 | 5ae88c06807eba6e6e6ec0e580fe5bfda370e171 | [
"MIT"
] | null | null | null | src/identity.ts | AdExNetwork/subgraph-v2 | 5ae88c06807eba6e6e6ec0e580fe5bfda370e171 | [
"MIT"
] | 1 | 2022-01-22T12:08:32.000Z | 2022-01-22T12:08:32.000Z | src/identity.ts | AdExNetwork/subgraph-v2 | 5ae88c06807eba6e6e6ec0e580fe5bfda370e171 | [
"MIT"
] | 1 | 2020-05-22T09:48:57.000Z | 2020-05-22T09:48:57.000Z | import { LogPrivilegeChanged, LogRoutineAuth } from "../generated/templates/Identity/Identity"
import { IdentityPrivilege, IdentityRoutine } from '../generated/schema'
export function handleLogPrivilegeChanged(event: LogPrivilegeChanged): void {
let id = event.address.toHexString() + ":" + event.params.addr.toHexStr... | 37.973684 | 94 | 0.730423 |
5d7b647819062eb4fabe69a419d03fe39d751b64 | 1,351 | dart | Dart | lib/helpers/model.dart | antoniosequeira/mobile_application_old | ef7ce2acf164bdf68ae6f5e9e02f05c44a8a7f0d | [
"MIT"
] | null | null | null | lib/helpers/model.dart | antoniosequeira/mobile_application_old | ef7ce2acf164bdf68ae6f5e9e02f05c44a8a7f0d | [
"MIT"
] | null | null | null | lib/helpers/model.dart | antoniosequeira/mobile_application_old | ef7ce2acf164bdf68ae6f5e9e02f05c44a8a7f0d | [
"MIT"
] | null | null | null | import 'dart:async';
import 'package:meta/meta.dart';
import 'package:flutter/services.dart';
class Model {
//To call the tflite plugin
static const MethodChannel _channel = const MethodChannel('tflite');
//Method that loads the mobilenet model
static Future<String> loadModel({
@required Strin... | 25.018519 | 115 | 0.592894 |
e2ac22db94156ce13b64b0df4ca22b85a912e64f | 1,118 | py | Python | src/storager/CategoryStorager.py | skaneko-0311/irasutoya-searcher | 8463f8434594acae2c1ecf60076448107c2f2de1 | [
"Unlicense"
] | null | null | null | src/storager/CategoryStorager.py | skaneko-0311/irasutoya-searcher | 8463f8434594acae2c1ecf60076448107c2f2de1 | [
"Unlicense"
] | null | null | null | src/storager/CategoryStorager.py | skaneko-0311/irasutoya-searcher | 8463f8434594acae2c1ecf60076448107c2f2de1 | [
"Unlicense"
] | null | null | null | import mysql.connector
from urllib.parse import urlparse
class CategoryStorager:
def __init__(self):
pass
def connect(self):
url = urlparse('mysql://irasutoya_user:Irasutoya@20190901@localhost:3306/irasutoya')
self.conn = mysql.connector.connect(
host = url.hostname or 'loc... | 30.216216 | 92 | 0.581395 |
9c7cdc349fb441ed1eb2bf76a7041f4425c4c5d8 | 4,861 | rs | Rust | src/main.rs | CodeSandwich/n_body | 47ec6ee61e065fa0e01d878f764d07616de48a7b | [
"MIT"
] | null | null | null | src/main.rs | CodeSandwich/n_body | 47ec6ee61e065fa0e01d878f764d07616de48a7b | [
"MIT"
] | null | null | null | src/main.rs | CodeSandwich/n_body | 47ec6ee61e065fa0e01d878f764d07616de48a7b | [
"MIT"
] | null | null | null | use std::env;
use std::f64::consts::PI;
const SOLAR_MASS: f64 = 4. * PI * PI;
const DAYS_PER_YEAR: f64 = 365.24;
const TIME_STEP: f64 = 0.01;
fn main() {
let steps: u32 = env::args()
.nth(1)
.and_then(|a| a.parse().ok())
.unwrap_or(1000);
let mut bodies = Bodies::new();
println!("{... | 29.107784 | 113 | 0.513269 |
77ac49b07f481f35204ce0213bc1b4bf8dc31811 | 4,146 | h | C | include/pre/hidden/utility/ranges_iota.h | mgradysaunders/Precept | 0677c70ac4ed9e0a8c5aad7b049daad22998de9e | [
"BSD-2-Clause"
] | null | null | null | include/pre/hidden/utility/ranges_iota.h | mgradysaunders/Precept | 0677c70ac4ed9e0a8c5aad7b049daad22998de9e | [
"BSD-2-Clause"
] | null | null | null | include/pre/hidden/utility/ranges_iota.h | mgradysaunders/Precept | 0677c70ac4ed9e0a8c5aad7b049daad22998de9e | [
"BSD-2-Clause"
] | null | null | null | /*-*- C++ -*-*/
#pragma once
#include "./concepts.h"
namespace pre::ranges {
template <std::integral Int>
struct iota : enable_view {
using value_type = Int;
using reference = Int;
using difference_type = std::make_signed_t<Int>;
struct Sentinel {};
struct Iterator {
using value_type ... | 26.922078 | 76 | 0.580801 |
7e779c16dbaca28245a2b0145c39b6e6b29c9629 | 535 | rb | Ruby | old_spec/lib/carbonmu/internationalization_spec.rb | tkrajcar/carbonmu | edbd0fa8a2d80e6b5dc626453cff2c9a664dc49e | [
"MIT"
] | 12 | 2015-04-25T22:20:51.000Z | 2020-11-22T17:18:28.000Z | old_spec/lib/carbonmu/internationalization_spec.rb | tkrajcar/carbonmu | edbd0fa8a2d80e6b5dc626453cff2c9a664dc49e | [
"MIT"
] | 21 | 2015-02-23T05:57:55.000Z | 2016-02-23T02:32:06.000Z | old_spec/lib/carbonmu/internationalization_spec.rb | tkrajcar/carbonmu | edbd0fa8a2d80e6b5dc626453cff2c9a664dc49e | [
"MIT"
] | 10 | 2015-02-28T08:07:57.000Z | 2020-09-11T04:14:16.000Z | require "spec_helper"
describe Internationalization do
context ".setup" do
it "loads the core locale files" do
CarbonMU::Internationalization.setup
core_locales_dir = File.expand_path("../../../../config/locales", __FILE__)
expect(I18n.load_path).to include("#{core_locales_dir}/en.yml")
e... | 23.26087 | 81 | 0.64486 |
769be0c4cad1e8de76f7567c3bcfde66468907df | 2,116 | rs | Rust | src/linear_reusable.rs | EVaillant/lockfree-object-pool | e3d11553426ba4091c8a4443369446ba03bc6459 | [
"BSL-1.0"
] | 18 | 2021-01-21T13:39:38.000Z | 2022-02-17T03:33:07.000Z | src/linear_reusable.rs | EVaillant/lockfree-object-pool | e3d11553426ba4091c8a4443369446ba03bc6459 | [
"BSL-1.0"
] | 3 | 2021-01-22T07:59:11.000Z | 2021-02-15T07:46:57.000Z | src/linear_reusable.rs | EVaillant/lockfree-object-pool | e3d11553426ba4091c8a4443369446ba03bc6459 | [
"BSL-1.0"
] | 1 | 2021-01-21T15:38:45.000Z | 2021-01-21T15:38:45.000Z | use crate::linear_object_pool::LinearObjectPool;
use crate::page::{Page, PageId};
use std::ops::{Deref, DerefMut};
/// Wrapper over T used by [`LinearObjectPool`].
///
/// Access is allowed with [`std::ops::Deref`] or [`std::ops::DerefMut`]
/// # Example
/// ```rust
/// use lockfree_object_pool::LinearObjectPool;
///... | 24.604651 | 80 | 0.534499 |
f426a516e303d2fe050bc95df31f8585e682d193 | 455 | cs | C# | tests/cs/return/Return.cs | jonathanvdc/ecsc | 8cd825f3e53e8416c7ff84a90e6cf30937d4b92c | [
"MIT"
] | 2 | 2018-03-30T18:59:59.000Z | 2018-10-02T22:02:08.000Z | tests/cs/return/Return.cs | jonathanvdc/ecsc | 8cd825f3e53e8416c7ff84a90e6cf30937d4b92c | [
"MIT"
] | null | null | null | tests/cs/return/Return.cs | jonathanvdc/ecsc | 8cd825f3e53e8416c7ff84a90e6cf30937d4b92c | [
"MIT"
] | null | null | null |
public static class ReturnTest
{
public static void ReturnVoid()
{
return;
}
public static int ReturnValue(int Value)
{
return Value;
}
public static T ReturnGeneric<T>(T Value)
{
return Value;
}
public static void Main()
{
ReturnTest.Retur... | 17.5 | 67 | 0.595604 |
d19e71204b2e5ca29adbbb2349d351e35640fc95 | 15,429 | sql | SQL | smmp_ser/target/classes/smmp.sql | feichailianmeng/sm | 0d51505a4e45fa131b95b25ad5395d3b3669fed9 | [
"Apache-2.0"
] | null | null | null | smmp_ser/target/classes/smmp.sql | feichailianmeng/sm | 0d51505a4e45fa131b95b25ad5395d3b3669fed9 | [
"Apache-2.0"
] | null | null | null | smmp_ser/target/classes/smmp.sql | feichailianmeng/sm | 0d51505a4e45fa131b95b25ad5395d3b3669fed9 | [
"Apache-2.0"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : smpp
Source Server Version : 50722
Source Host : 192.168.140.36:3306
Source Database : smmp
Target Server Type : MYSQL
Target Server Version : 50722
File Encoding : 65001
Date: 2018-08-03 18:56:59
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----... | 62.21371 | 222 | 0.658695 |
c3542c92adfb929cba74a956f1f098a50bc9f0dc | 2,676 | lua | Lua | InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/Packages/UIBlox/App/Container/__stories__/HorizontalPageMargin/Resizing.story.lua | MirayXS/avatar | 7c78513fbe9587915700a0a5fd3c15d5f23596d2 | [
"RSA-MD"
] | 41 | 2021-04-30T18:27:45.000Z | 2022-03-23T21:12:57.000Z | InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/Packages/UIBlox/App/Container/__stories__/HorizontalPageMargin/Resizing.story.lua | MirayXS/avatar | 7c78513fbe9587915700a0a5fd3c15d5f23596d2 | [
"RSA-MD"
] | 3 | 2021-08-24T20:07:47.000Z | 2022-02-15T19:40:13.000Z | InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/Packages/UIBlox/App/Container/__stories__/HorizontalPageMargin/Resizing.story.lua | MirayXS/avatar | 7c78513fbe9587915700a0a5fd3c15d5f23596d2 | [
"RSA-MD"
] | 25 | 2021-05-02T14:33:04.000Z | 2022-03-17T20:28:07.000Z | -- DEPRECATED: This story is provided for backwards compatibility with horsecat and will be removed.
-- Please only make changes to `src\Stories\Private\App\Container\HorizontalPageMargin\Resizing.story.lua`
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local StoryComponents = ReplicatedStorage.Packag... | 33.45 | 106 | 0.704783 |
dd608b717f69133cfbe33599fa4b37f4a510de9e | 4,120 | java | Java | com.ibm.team.rtc.extensions.workitem.copy/src/com/ibm/team/rtc/extensions/workitem/copy/internal/WorkItemsResolver.java | sandy081/Copy-Work-Items | 042f3cc31757b59966dcadb81ad9ee040f835813 | [
"MIT"
] | 3 | 2015-03-30T11:44:33.000Z | 2021-06-07T04:10:10.000Z | com.ibm.team.rtc.extensions.workitem.copy/src/com/ibm/team/rtc/extensions/workitem/copy/internal/WorkItemsResolver.java | sandy081/Copy-Work-Items | 042f3cc31757b59966dcadb81ad9ee040f835813 | [
"MIT"
] | 3 | 2015-03-09T20:36:48.000Z | 2016-02-05T07:43:19.000Z | com.ibm.team.rtc.extensions.workitem.copy/src/com/ibm/team/rtc/extensions/workitem/copy/internal/WorkItemsResolver.java | sandy081/Copy-Work-Items | 042f3cc31757b59966dcadb81ad9ee040f835813 | [
"MIT"
] | 3 | 2016-02-05T09:10:47.000Z | 2017-09-17T17:58:39.000Z | /**
* The MIT License (MIT)
*
* Copyright (c) 2015 Sandeep Somavarapu
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* ... | 35.213675 | 195 | 0.780825 |
38b4f3b3fa424ed566a07f2759dcb4c9a371c105 | 1,644 | php | PHP | app/Http/Controllers/QuestionnaireController.php | MarkLester10/Survey-Web-Application | 6bf4abf80af02cd34e09355c8866c09cf31698b5 | [
"MIT"
] | null | null | null | app/Http/Controllers/QuestionnaireController.php | MarkLester10/Survey-Web-Application | 6bf4abf80af02cd34e09355c8866c09cf31698b5 | [
"MIT"
] | 1 | 2022-02-19T00:10:34.000Z | 2022-02-19T00:10:34.000Z | app/Http/Controllers/QuestionnaireController.php | MarkLester10/Survey-Web-Application | 6bf4abf80af02cd34e09355c8866c09cf31698b5 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Questionnaire;
class QuestionnaireController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function create()
{
return view('questionnaire.create');
}
public function store()
{
... | 25.6875 | 90 | 0.624696 |
5af381e1ff1d8f4814e492a93f72912322c02a88 | 1,279 | cs | C# | System/compmod/system/componentmodel/RunWorkerCompletedEventArgs.cs | cnork/referencesource | d4b0506aea0b2ad7dc81864a8fd0a486ae800d25 | [
"MIT"
] | 911 | 2019-05-07T03:19:15.000Z | 2022-03-30T16:02:56.000Z | System/compmod/system/componentmodel/RunWorkerCompletedEventArgs.cs | cnork/referencesource | d4b0506aea0b2ad7dc81864a8fd0a486ae800d25 | [
"MIT"
] | 63 | 2019-05-09T09:51:57.000Z | 2022-03-27T06:57:52.000Z | System/compmod/system/componentmodel/RunWorkerCompletedEventArgs.cs | cnork/referencesource | d4b0506aea0b2ad7dc81864a8fd0a486ae800d25 | [
"MIT"
] | 665 | 2019-05-07T08:29:23.000Z | 2022-03-31T12:53:12.000Z | //------------------------------------------------------------------------------
// <copyright file="RunWorkerCompletedEventArgs.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
na... | 28.422222 | 80 | 0.455043 |
b933d16b8c069d4ed658dbb55b8fc502f20168a7 | 43,369 | css | CSS | web/assets/template2/css/main.css | amelhamoudi/CrtStage | 1bc15c19363a7a11f46a8807746de2b2d6fd8734 | [
"MIT"
] | null | null | null | web/assets/template2/css/main.css | amelhamoudi/CrtStage | 1bc15c19363a7a11f46a8807746de2b2d6fd8734 | [
"MIT"
] | null | null | null | web/assets/template2/css/main.css | amelhamoudi/CrtStage | 1bc15c19363a7a11f46a8807746de2b2d6fd8734 | [
"MIT"
] | null | null | null | /* ==========================================================================
1. IMPORT GOOGLE FONTS
========================================================================== */
@import url("https://fonts.googleapis.com/css?family=Montserrat:500,700|Open+Sans");
/* ===============================================... | 18.108142 | 105 | 0.589615 |
6fc73c88cde4d9265b87ad8a9cd9961d09829d28 | 1,772 | ps1 | PowerShell | src/Public/Add-StorageTableRow.ps1 | rdbartram/AzStorageTable | b52aeb672c9340883a814352ea543f1edc1274c2 | [
"MIT"
] | 1 | 2019-03-19T04:54:16.000Z | 2019-03-19T04:54:16.000Z | src/Public/Add-StorageTableRow.ps1 | rdbartram/AzStorageTable | b52aeb672c9340883a814352ea543f1edc1274c2 | [
"MIT"
] | 1 | 2019-02-01T17:22:28.000Z | 2019-02-01T17:22:28.000Z | src/Public/Add-StorageTableRow.ps1 | rdbartram/AzStorageTable | b52aeb672c9340883a814352ea543f1edc1274c2 | [
"MIT"
] | 2 | 2019-01-31T21:20:51.000Z | 2019-03-26T17:34:46.000Z | function Add-StorageTableRow
{
<#
.SYNOPSIS
Adds a row/entity to a specified table
.DESCRIPTION
Adds a row/entity to a specified table
.PARAMETER Table
Table object of type Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageTable where the entity will be added
.PARAMETER PartitionKey
... | 31.642857 | 173 | 0.731941 |
54722a7fe2bc347feb1e3019819b7a9c0aa7e3e8 | 553 | css | CSS | react-app/src/index.css | moesalih/dapp-limo | 204f0ae6346595d503f39589b67d6b9039b4d890 | [
"MIT"
] | 1 | 2022-02-12T14:55:46.000Z | 2022-02-12T14:55:46.000Z | react-app/src/index.css | moesalih/dapp-limo | 204f0ae6346595d503f39589b67d6b9039b4d890 | [
"MIT"
] | null | null | null | react-app/src/index.css | moesalih/dapp-limo | 204f0ae6346595d503f39589b67d6b9039b4d890 | [
"MIT"
] | null | null | null | body {
font-family: ui-rounded, "SF Pro Rounded", system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" !important;
}
.fw-200 { font-weight: 200; }
.fw-300 { font-weight: 300; }
.fw-500 { font... | 29.105263 | 235 | 0.65642 |
25e89b7f0694e7c4c32501382651a32cb55bebe6 | 5,766 | cs | C# | bencode/TorrentMetadata.cs | tomatobot/bencode | 440080514ff47bab4b422fa60272699de2962802 | [
"MIT"
] | null | null | null | bencode/TorrentMetadata.cs | tomatobot/bencode | 440080514ff47bab4b422fa60272699de2962802 | [
"MIT"
] | null | null | null | bencode/TorrentMetadata.cs | tomatobot/bencode | 440080514ff47bab4b422fa60272699de2962802 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Security.Cryptography;
namespace bencode
{
public class TorrentMetadata
{
private TorrentMetadataInfo Load(Stream stream)
{
TorrentMetad... | 38.697987 | 144 | 0.479709 |
ef766e72276ce6e64b45079867cfe866aca65b32 | 1,310 | c | C | client/src/request_handlers/edit_message.c | High-Voltaged/Ucode-Uchat | ce61241af5c518e8e60b7e016bcc90e01d0c9252 | [
"MIT"
] | null | null | null | client/src/request_handlers/edit_message.c | High-Voltaged/Ucode-Uchat | ce61241af5c518e8e60b7e016bcc90e01d0c9252 | [
"MIT"
] | null | null | null | client/src/request_handlers/edit_message.c | High-Voltaged/Ucode-Uchat | ce61241af5c518e8e60b7e016bcc90e01d0c9252 | [
"MIT"
] | null | null | null | #include "../../inc/client.h"
static void edit_global_messages(int message_id, const char* new_msg_text) {
t_msg* msg_to_edit = mx_get_msg_by_id(utils->current_chat->messages, message_id);
if (msg_to_edit) {
mx_strdel(&msg_to_edit->text);
msg_to_edit->text = mx_strdup(new_msg_text);
up... | 30.465116 | 89 | 0.716794 |
b7876393208cc4dee3f36665fff3a0b43b884549 | 1,303 | cs | C# | DigitallyImported.Components/Base/ChannelCollection.cs | jaypatrick/dica | f3d90c7e894db7d861183bcff1e324ec557afdf1 | [
"BSD-3-Clause"
] | null | null | null | DigitallyImported.Components/Base/ChannelCollection.cs | jaypatrick/dica | f3d90c7e894db7d861183bcff1e324ec557afdf1 | [
"BSD-3-Clause"
] | null | null | null | DigitallyImported.Components/Base/ChannelCollection.cs | jaypatrick/dica | f3d90c7e894db7d861183bcff1e324ec557afdf1 | [
"BSD-3-Clause"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace DigitallyImported.Components
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
///
[Serializable]
public class ChannelCollection<T>: ContentCollection<T> where T: IChannel
{
priv... | 22.859649 | 85 | 0.513431 |
7bcaa7dab52e901730b34cc0f6c1d474f25ac60f | 129 | cc | C++ | Blob_Lib/assimp-5.2.3/assimp/contrib/draco/src/draco/compression/mesh/mesh_encoder.cc | antholuo/Blob_Traffic | 5d6acf88044e9abc63c0ff356714179eaa4b75bf | [
"MIT"
] | null | null | null | Blob_Lib/assimp-5.2.3/assimp/contrib/draco/src/draco/compression/mesh/mesh_encoder.cc | antholuo/Blob_Traffic | 5d6acf88044e9abc63c0ff356714179eaa4b75bf | [
"MIT"
] | null | null | null | Blob_Lib/assimp-5.2.3/assimp/contrib/draco/src/draco/compression/mesh/mesh_encoder.cc | antholuo/Blob_Traffic | 5d6acf88044e9abc63c0ff356714179eaa4b75bf | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:8c8bd90ea92d058b67832d126b5441f74ba246aed3a678bf4d3dd60d66de283a
size 1068
| 32.25 | 75 | 0.883721 |
e2962ac2e4f14b12a996a128b77bd879fdb6eca9 | 1,577 | js | JavaScript | packages/track-navigator/src/NavigatorTrack.js | monkollek/mito_browser | 01bd0326bcb17357232cf47098f63f6ce549dbeb | [
"MIT"
] | 2 | 2019-07-18T18:12:16.000Z | 2019-07-25T15:23:09.000Z | packages/track-navigator/src/NavigatorTrack.js | monkollek/mito_browser | 01bd0326bcb17357232cf47098f63f6ce549dbeb | [
"MIT"
] | 25 | 2020-10-21T21:16:24.000Z | 2022-02-28T04:09:52.000Z | packages/track-navigator/src/NavigatorTrack.js | monkollek/mito_browser | 01bd0326bcb17357232cf47098f63f6ce549dbeb | [
"MIT"
] | 2 | 2019-08-04T14:13:32.000Z | 2020-01-22T13:39:02.000Z | import PropTypes from 'prop-types'
import React from 'react'
import ReactCursorPosition from 'react-cursor-position'
import styled from 'styled-components'
import { Track } from '@broad/region-viewer'
import { Navigator } from './Navigator'
const TitlePanel = styled.div`
display: flex;
flex-direction: column;
... | 24.640625 | 106 | 0.667724 |
44579ed4f06dfc7a7315c83a29faf288272baba5 | 9,761 | py | Python | tests/test_dockerspawner.py | Prussia/dockerspawner | b842330f9f7cdb9dc443d64bf82592d0b21f962d | [
"BSD-3-Clause"
] | null | null | null | tests/test_dockerspawner.py | Prussia/dockerspawner | b842330f9f7cdb9dc443d64bf82592d0b21f962d | [
"BSD-3-Clause"
] | null | null | null | tests/test_dockerspawner.py | Prussia/dockerspawner | b842330f9f7cdb9dc443d64bf82592d0b21f962d | [
"BSD-3-Clause"
] | null | null | null | """Tests for DockerSpawner class"""
import asyncio
import json
import logging
import os
from unittest import mock
import docker
import pytest
import traitlets
from jupyterhub.tests.mocking import public_url
from jupyterhub.tests.test_api import add_user
from jupyterhub.tests.test_api import api_request
from jupyterhub... | 32.321192 | 88 | 0.654646 |
772c6c6643986d2cba098e62f74c493e84080443 | 586 | sh | Shell | scripts/ipnotifier.sh | gitter-badger/NetCoreRover | 3b2783d5565e23354436e7bfa53296ac77b0bb41 | [
"MIT"
] | 2 | 2020-03-02T03:50:26.000Z | 2020-03-04T13:19:05.000Z | scripts/ipnotifier.sh | gitter-badger/NetCoreRover | 3b2783d5565e23354436e7bfa53296ac77b0bb41 | [
"MIT"
] | 9 | 2020-03-05T19:45:33.000Z | 2020-03-22T06:12:03.000Z | scripts/ipnotifier.sh | gitter-badger/NetCoreRover | 3b2783d5565e23354436e7bfa53296ac77b0bb41 | [
"MIT"
] | 2 | 2020-03-07T13:20:42.000Z | 2021-08-16T11:08:54.000Z | #!/bin/sh
cd /home/pi/scripts/
currentIp=$(hostname -I)
read oldIp < ip.txt
if [ $currentIp = $oldIp ]
then
exit
else
echo $currentIp > ip.txt
curl --request POST \
--url https://api.sendgrid.com/v3/mail/send \
--header "Authorization: Bearer <yout api key>" \
--header 'Content-Type: application/... | 27.904762 | 253 | 0.622867 |
c3df993bc5f95b26be3c38a3bce3554348107ead | 408 | cs | C# | GalvanizedBeethoven/Extensions/PropertyInfoExtensions.cs | GalvanizedSoftware/Beethoven | 44ffa7d95202019569d09e813a9dd448482150bf | [
"Apache-2.0"
] | 3 | 2018-05-18T16:54:48.000Z | 2020-11-08T19:02:24.000Z | GalvanizedBeethoven/Extensions/PropertyInfoExtensions.cs | GalvanizedSoftware/Beethoven | 44ffa7d95202019569d09e813a9dd448482150bf | [
"Apache-2.0"
] | null | null | null | GalvanizedBeethoven/Extensions/PropertyInfoExtensions.cs | GalvanizedSoftware/Beethoven | 44ffa7d95202019569d09e813a9dd448482150bf | [
"Apache-2.0"
] | 1 | 2019-08-04T03:31:06.000Z | 2019-08-04T03:31:06.000Z | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using GalvanizedSoftware.Beethoven.Core.Properties;
namespace GalvanizedSoftware.Beethoven.Extensions
{
internal static class PropertyInfoExtensions
{
internal static IEnumerable<PropertyInfo> DistinctProperties(this IEnumerable<Pro... | 29.142857 | 110 | 0.813725 |
af89bc48c4fea06c35f8ad93e7b05cd06f829436 | 525 | py | Python | python/setup.py | kriskall/Zeeguu-Exercises | 87241b43c94fa8bcf75dd41498f173f37339ec3d | [
"MIT"
] | 1 | 2021-05-02T07:32:57.000Z | 2021-05-02T07:32:57.000Z | python/setup.py | kriskall/Zeeguu-Exercises | 87241b43c94fa8bcf75dd41498f173f37339ec3d | [
"MIT"
] | 89 | 2017-02-13T09:30:25.000Z | 2017-08-23T12:25:48.000Z | python/setup.py | kriskall/Zeeguu-Exercises | 87241b43c94fa8bcf75dd41498f173f37339ec3d | [
"MIT"
] | 2 | 2017-12-04T18:10:11.000Z | 2018-11-22T17:48:37.000Z | #!/usr/bin/env python
# -*- coding: utf8 -*-
import os
import setuptools
setuptools.setup(
name="zeeguu_exercises",
version="0.1",
packages=setuptools.find_packages(),
include_package_data=True,
zip_safe=False,
author="Martin Avagyan",
author_email="zeeguu_team@zeeguu.com",
description... | 25 | 54 | 0.638095 |
58f1d61a8dc59cbdd9784ae6fcd559dd6eca38ed | 22,678 | sql | SQL | penyimpanan database/kemahasiswaandua.sql | kadaiapak/sibpartnership | 563c00ed3750ef6bf5b298a77a280c6ff5c7561e | [
"MIT"
] | null | null | null | penyimpanan database/kemahasiswaandua.sql | kadaiapak/sibpartnership | 563c00ed3750ef6bf5b298a77a280c6ff5c7561e | [
"MIT"
] | null | null | null | penyimpanan database/kemahasiswaandua.sql | kadaiapak/sibpartnership | 563c00ed3750ef6bf5b298a77a280c6ff5c7561e | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 06, 2021 at 07:37 AM
-- Server version: 10.4.13-MariaDB
-- PHP Version: 7.4.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIEN... | 34.517504 | 961 | 0.65213 |
14a771596af669cfc0f144e46f37d44855656b90 | 919 | ts | TypeScript | src/roles/worker.ts | SugarF0x/Screeps | d21bd0e661b62c9a811ed095f5e405286809646b | [
"Unlicense"
] | null | null | null | src/roles/worker.ts | SugarF0x/Screeps | d21bd0e661b62c9a811ed095f5e405286809646b | [
"Unlicense"
] | null | null | null | src/roles/worker.ts | SugarF0x/Screeps | d21bd0e661b62c9a811ed095f5e405286809646b | [
"Unlicense"
] | null | null | null | import { findProxy, findSpawn } from "utils"
export const workerLogic = (creep: Creep) => {
if (shouldSleep(creep)) return
if (creep.store.getFreeCapacity() > 0) harvest(creep)
else deposit(creep)
}
const harvest = (creep: Creep) => {
const proxy = findProxy(creep.room)
if (creep.harvest(proxy) === ERR_NO... | 27.848485 | 87 | 0.725789 |
e73b7f5a98eabd569b53d5db84e93748256b924b | 1,182 | php | PHP | lab-09/q3/login.php | aghorler/sec-labs | bf7124961acc104ae899d318fc32f47739d59dd6 | [
"MIT"
] | 2 | 2018-08-06T16:14:26.000Z | 2019-07-31T03:10:23.000Z | lab-09/q3/login.php | aghorler/sec-labs | bf7124961acc104ae899d318fc32f47739d59dd6 | [
"MIT"
] | null | null | null | lab-09/q3/login.php | aghorler/sec-labs | bf7124961acc104ae899d318fc32f47739d59dd6 | [
"MIT"
] | 1 | 2019-05-26T11:46:29.000Z | 2019-05-26T11:46:29.000Z | <!DOCTYPE html>
<html>
<body>
<?php
include('rsa.php');
$username = $_POST['username'];
$password = $_POST['password'];
echo "<p><strong>POSTed password: </strong>" . $password . "</p>";
$privateKey = get_rsa_privatekey('private.key');
$decrypted = rsa_decryption($password, $privateKey);
ech... | 23.64 | 82 | 0.544839 |
dd7c28baa7a8f02460f8d38dff652aa9f264c65b | 3,784 | java | Java | clients/java/src/main/java/io/zeebe/client/api/command/PublishMessageCommandStep1.java | bcgov/zeebe-camunda | d53741b799022bca7c4209abf11fa5e6fd690733 | [
"Apache-2.0"
] | null | null | null | clients/java/src/main/java/io/zeebe/client/api/command/PublishMessageCommandStep1.java | bcgov/zeebe-camunda | d53741b799022bca7c4209abf11fa5e6fd690733 | [
"Apache-2.0"
] | 1 | 2020-04-17T21:58:37.000Z | 2020-04-17T21:58:37.000Z | clients/java/src/main/java/io/zeebe/client/api/command/PublishMessageCommandStep1.java | bcgov/zeebe-camunda | d53741b799022bca7c4209abf11fa5e6fd690733 | [
"Apache-2.0"
] | 2 | 2020-07-16T17:15:03.000Z | 2022-03-16T14:12:51.000Z | /*
* Copyright © 2017 camunda services GmbH (info@camunda.com)
*
* 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 ... | 35.037037 | 98 | 0.683668 |
3f4fcbd29da83d8cad48cdbbea4967d5b920cdc9 | 741 | php | PHP | application/views/home.php | Piusin/Collegems | 75c2c6a099d99cb05b25aa52567a0828e20a952b | [
"MIT"
] | null | null | null | application/views/home.php | Piusin/Collegems | 75c2c6a099d99cb05b25aa52567a0828e20a952b | [
"MIT"
] | null | null | null | application/views/home.php | Piusin/Collegems | 75c2c6a099d99cb05b25aa52567a0828e20a952b | [
"MIT"
] | null | null | null | <?php include("include/header.php");?>
<div class="container">
<div class="jumbotron">
<h2 class="display-3" style="text align: center;"> ADMIN & CO ADMIN LOGIN</h2>
<hr>
<div class="my-4">
<div class="row">
<?php if(count($chkAdminExist)):?>
<?php else:?>
... | 30.875 | 111 | 0.492578 |
2cbcbf06bc2d170744d660890740960491444f2d | 871 | c++ | C++ | 9.1.two.arrays.c++ | Sambitcr-7/DSA-C- | f3c80f54fa6160a99f39a934f330cdf40711de50 | [
"Apache-2.0"
] | null | null | null | 9.1.two.arrays.c++ | Sambitcr-7/DSA-C- | f3c80f54fa6160a99f39a934f330cdf40711de50 | [
"Apache-2.0"
] | null | null | null | 9.1.two.arrays.c++ | Sambitcr-7/DSA-C- | f3c80f54fa6160a99f39a934f330cdf40711de50 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
#ifndef ONLINE_JUDGE
freopen("input.txt", "r",stdin);
freopen("output.txt","w", stdout);
#endif
int n,m;
cin>>n>>m;
int arr[n][m];
for( int i=0; i<n;i++){
for(int j=0;j<m;j++){
cin>>arr[i][j];
... | 15.836364 | 38 | 0.375431 |
8e8722caaaec4a17260ef4eaaea14c0cd0fc73ad | 73 | rb | Ruby | lib/driver.rb | wyattp23/cs362-exam-practice | 890ce2dbd42490ba7e85f11b0fc3b68b3cd96e1f | [
"FSFAP"
] | null | null | null | lib/driver.rb | wyattp23/cs362-exam-practice | 890ce2dbd42490ba7e85f11b0fc3b68b3cd96e1f | [
"FSFAP"
] | null | null | null | lib/driver.rb | wyattp23/cs362-exam-practice | 890ce2dbd42490ba7e85f11b0fc3b68b3cd96e1f | [
"FSFAP"
] | 61 | 2020-06-04T15:12:13.000Z | 2022-03-17T22:17:50.000Z | #! /usr/bin/env ruby
require_relative 'game'
game = Game.new
game.start
| 12.166667 | 23 | 0.726027 |
456c7876c9e495052b4d059448fc14036e36379f | 93 | py | Python | peco/parser/read_end_for.py | Tikubonn/peco | c77fc163ad31d3c271d299747914ce4ef3386987 | [
"MIT"
] | null | null | null | peco/parser/read_end_for.py | Tikubonn/peco | c77fc163ad31d3c271d299747914ce4ef3386987 | [
"MIT"
] | null | null | null | peco/parser/read_end_for.py | Tikubonn/peco | c77fc163ad31d3c271d299747914ce4ef3386987 | [
"MIT"
] | null | null | null |
from .end_for import EndFor
def read_end_for(preread, stream, parser):
raise EndFor()
| 13.285714 | 42 | 0.731183 |
df1599fa46e127e12af2a1bd7fe22a0c09014700 | 62 | rb | Ruby | app/controllers/admin/dashboards_controller.rb | OpenIntelligence/PolicyAlpha | acea77b5eaf691a094ceb50324ca2b04cb416f1a | [
"MIT"
] | null | null | null | app/controllers/admin/dashboards_controller.rb | OpenIntelligence/PolicyAlpha | acea77b5eaf691a094ceb50324ca2b04cb416f1a | [
"MIT"
] | null | null | null | app/controllers/admin/dashboards_controller.rb | OpenIntelligence/PolicyAlpha | acea77b5eaf691a094ceb50324ca2b04cb416f1a | [
"MIT"
] | null | null | null | class Admin::DashboardsController < Admin::BaseController
end
| 20.666667 | 57 | 0.83871 |
ef471f38004be78cf252a23e96a25ba0e4430ea0 | 5,352 | php | PHP | PembrokePSui/php/managed_files.php | jpsider/PembrokePSui | 2a0ed60053593a0de0d8e260985940b7f27e2653 | [
"MIT"
] | null | null | null | PembrokePSui/php/managed_files.php | jpsider/PembrokePSui | 2a0ed60053593a0de0d8e260985940b7f27e2653 | [
"MIT"
] | 4 | 2018-02-25T21:43:47.000Z | 2018-04-01T03:36:17.000Z | PembrokePSui/php/managed_files.php | jpsider/PembrokePSui | 2a0ed60053593a0de0d8e260985940b7f27e2653 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<?php
require_once 'components/header.php';
?>
<!-- Insert Head PHP -->
<?php
if (!empty($_GET['NewManagedFile'])) {
$FILE_NAME=$_GET['FILE_NAME'];
$FILE_PATH=$_GET['FILE_PATH'];
$REBOOT_REQUIRED=$_GET['REBOOT_REQUIRED'];
include 'components/database.php';
$sql = "INSERT INT... | 36.657534 | 170 | 0.551196 |
ae4c706cb08b63ab8d129668a3cde1f1ef7ae104 | 103 | sql | SQL | 004_cte_view_query.sql | awksedgreep/pg_jsonb | ca742140e92a8ac396e6ccfaa8d5b2dba5305140 | [
"BSD-2-Clause"
] | 1 | 2022-01-28T20:10:07.000Z | 2022-01-28T20:10:07.000Z | 004_cte_view_query.sql | awksedgreep/pg_jsonb | ca742140e92a8ac396e6ccfaa8d5b2dba5305140 | [
"BSD-2-Clause"
] | null | null | null | 004_cte_view_query.sql | awksedgreep/pg_jsonb | ca742140e92a8ac396e6ccfaa8d5b2dba5305140 | [
"BSD-2-Clause"
] | null | null | null | SELECT jsonb_pretty(artist_data)
FROM v_json_artist_data
WHERE artist_data->>'name' = 'Miles Davis';
| 25.75 | 43 | 0.786408 |
e70312b8c21fd38d8597147a8c8a03576714db9a | 2,027 | lua | Lua | Game/Scripts/Entities/Others/VisRegPoint.lua | Vondoe90/AngryBoids | 9f6739958a16b450196b28c4533a040a9bc03eb1 | [
"MIT"
] | 1 | 2016-07-04T15:02:50.000Z | 2016-07-04T15:02:50.000Z | Game/Scripts/Entities/Others/VisRegPoint.lua | Vondoe90/AngryBoids | 9f6739958a16b450196b28c4533a040a9bc03eb1 | [
"MIT"
] | null | null | null | Game/Scripts/Entities/Others/VisRegPoint.lua | Vondoe90/AngryBoids | 9f6739958a16b450196b28c4533a040a9bc03eb1 | [
"MIT"
] | 1 | 2021-02-12T07:29:14.000Z | 2021-02-12T07:29:14.000Z | ----------------------------------------------------------------------------------------------------
-- Crytek Source File.
-- Copyright (C), Crytek Studios, 2010
----------------------------------------------------------------------------------------------------
-- $Id$
-- $DateTime$
-- Description: Visual Regres... | 21.336842 | 100 | 0.546621 |
a712811b1ac5685769e40a8a17a0cd6e788c2f80 | 8,798 | lua | Lua | src/engine/game/battle/ui/tensionbar.lua | Fussmatte/kristal | fcbaf241123f80f91b1c525624345b1f7fb64c48 | [
"BSD-3-Clause"
] | 1 | 2021-12-26T01:11:43.000Z | 2021-12-26T01:11:43.000Z | src/engine/game/battle/ui/tensionbar.lua | Fussmatte/kristal | fcbaf241123f80f91b1c525624345b1f7fb64c48 | [
"BSD-3-Clause"
] | null | null | null | src/engine/game/battle/ui/tensionbar.lua | Fussmatte/kristal | fcbaf241123f80f91b1c525624345b1f7fb64c48 | [
"BSD-3-Clause"
] | null | null | null | local TensionBar, super = Class(Object)
function TensionBar:init(x, y)
super:init(self, x, y)
self.layer = LAYERS["ui"] - 1
self.tp_bar_fill = Assets.getTexture("ui/battle/tp_bar_fill")
self.tp_bar_outline = Assets.getTexture("ui/battle/tp_bar_outline")
self.apparent = 0
self.current = 0
... | 34.501961 | 152 | 0.609798 |
4563f83c19a4fbf5202fd6315a422e4104952ea4 | 3,995 | py | Python | fixture/project.py | vyacheslavmarkov/python_training_mantis | 0818f9705733169efdfd6f2b5762a3a9e0b979eb | [
"Apache-2.0"
] | null | null | null | fixture/project.py | vyacheslavmarkov/python_training_mantis | 0818f9705733169efdfd6f2b5762a3a9e0b979eb | [
"Apache-2.0"
] | null | null | null | fixture/project.py | vyacheslavmarkov/python_training_mantis | 0818f9705733169efdfd6f2b5762a3a9e0b979eb | [
"Apache-2.0"
] | null | null | null | from model.project import Project
from selenium.webdriver.support.select import Select
import string
import random
import re
class ProjectHelper:
def __init__(self, app):
self.app = app
project_cache = None
def random_string(self, prefix, maxlen):
symbols = string.ascii_letters + string... | 42.5 | 107 | 0.643554 |
df19fe9f658c05bd1a16f012303c1be79465bdf5 | 1,064 | rb | Ruby | wearlog/app/models/image.rb | hoshinari/FK_1809 | 403d581d3062133e0fc0fac93dd0a3cb0a7ad065 | [
"MIT"
] | 2 | 2018-10-28T00:55:59.000Z | 2018-12-25T10:12:08.000Z | wearlog/app/models/image.rb | hoshinari/FK_1809 | 403d581d3062133e0fc0fac93dd0a3cb0a7ad065 | [
"MIT"
] | null | null | null | wearlog/app/models/image.rb | hoshinari/FK_1809 | 403d581d3062133e0fc0fac93dd0a3cb0a7ad065 | [
"MIT"
] | 1 | 2018-10-28T05:49:12.000Z | 2018-10-28T05:49:12.000Z | class Image < ApplicationRecord
require 'net/http'
require 'uri'
def self.send_notify
event = Event.find_by(start_date: Date.current)
return unless event
token = ""
File.open("#{Rails.root.to_s}/lib/assets/token.txt", mode = "rt"){|f|
token = f.read
}
uri = URI.parse("https://notif... | 32.242424 | 109 | 0.644737 |
88fb70762128a91c540b352d79373b5e1335dc07 | 1,756 | cs | C# | DistancesTranslator/Program.cs | rdanigo/DistanceTranslator | a7d42448df44176fadcc7e17b4309c96bc1e1498 | [
"MIT"
] | null | null | null | DistancesTranslator/Program.cs | rdanigo/DistanceTranslator | a7d42448df44176fadcc7e17b4309c96bc1e1498 | [
"MIT"
] | null | null | null | DistancesTranslator/Program.cs | rdanigo/DistanceTranslator | a7d42448df44176fadcc7e17b4309c96bc1e1498 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DistancesTranslator
{
public class Program
{
public string OriginDistance;
public string DestinyDistance;
public string[] parts;
public string InputPath... | 31.927273 | 120 | 0.587699 |
bb0f3a14af9b6c119387553dfb8b78a54f5d3b49 | 1,948 | cs | C# | src/Spark/Compiler/NodeVisitors/NameUtility.cs | Yoshi325/spark | da58c19574c88cca9685ce7c25f58d876a21cfe3 | [
"Apache-2.0"
] | 99 | 2015-01-02T14:15:29.000Z | 2021-09-11T16:28:02.000Z | src/Spark/Compiler/NodeVisitors/NameUtility.cs | dtabuenc/spark | 5488c035f5690a80cf5c167e85efee73855b3855 | [
"Apache-2.0"
] | 13 | 2015-02-02T23:00:34.000Z | 2021-08-24T15:12:13.000Z | src/Spark/Compiler/NodeVisitors/NameUtility.cs | dtabuenc/spark | 5488c035f5690a80cf5c167e85efee73855b3855 | [
"Apache-2.0"
] | 44 | 2015-02-02T22:56:44.000Z | 2021-11-12T21:09:27.000Z | // Copyright 2008-2009 Louis DeJardin - http://whereslou.com
//
// 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 r... | 33.016949 | 122 | 0.604209 |
9403e04cf13c9c3e38c349fc8e57354e7263f097 | 5,803 | dart | Dart | test/src/validators/compare_validator_test.dart | derolf/reactive_forms | ca17771bd9cd49f03b9694a37e4109d4b8d1b296 | [
"MIT"
] | null | null | null | test/src/validators/compare_validator_test.dart | derolf/reactive_forms | ca17771bd9cd49f03b9694a37e4109d4b8d1b296 | [
"MIT"
] | 1 | 2021-03-01T23:17:10.000Z | 2021-03-01T23:17:10.000Z | test/src/validators/compare_validator_test.dart | derolf/reactive_forms | ca17771bd9cd49f03b9694a37e4109d4b8d1b296 | [
"MIT"
] | 2 | 2021-02-22T10:07:58.000Z | 2021-03-21T02:21:50.000Z | import 'package:flutter_test/flutter_test.dart';
import 'package:reactive_forms/reactive_forms.dart';
void main() {
group('Compare Validator Tests', () {
test('Lower compare', () {
// Given: a valid form
final form = fb.group({
'amount': 10,
'balance': 20,
}, [
Validato... | 26.865741 | 80 | 0.534896 |
0a6c57ee682b35488f92669bb8774e1ec9da0cf6 | 840 | cs | C# | SmartValley.WebApi/Feedbacks/FeedbackService.cs | SmartValleyEcosystem/smartvalley | fa279a8ffcb2957030c3df6fb0d037c2f0840f34 | [
"MIT"
] | 4 | 2018-04-04T14:39:31.000Z | 2021-03-06T09:36:21.000Z | SmartValley.WebApi/Feedbacks/FeedbackService.cs | SmartValleyEcosystem/smartvalley | fa279a8ffcb2957030c3df6fb0d037c2f0840f34 | [
"MIT"
] | null | null | null | SmartValley.WebApi/Feedbacks/FeedbackService.cs | SmartValleyEcosystem/smartvalley | fa279a8ffcb2957030c3df6fb0d037c2f0840f34 | [
"MIT"
] | 4 | 2018-04-06T20:14:48.000Z | 2019-11-20T06:23:51.000Z | using System.Threading.Tasks;
using SmartValley.Domain.Core;
using SmartValley.Domain.Entities;
using SmartValley.Domain.Interfaces;
using SmartValley.WebApi.Feedbacks.Requests;
namespace SmartValley.WebApi.Feedbacks
{
public class FeedbackService : IFeedbackService
{
private readonly IFeedbackReposit... | 31.111111 | 108 | 0.704762 |
2fa1084a1feeed4394f0865ef6038f23e9ec3185 | 570 | py | Python | src/webdev/server-side/hello/application.py | tangaw/cs50 | 1ed09b3199f6a366c43d3b0ecd89481b1650af17 | [
"MIT"
] | null | null | null | src/webdev/server-side/hello/application.py | tangaw/cs50 | 1ed09b3199f6a366c43d3b0ecd89481b1650af17 | [
"MIT"
] | 6 | 2021-02-07T21:47:03.000Z | 2021-03-04T20:56:34.000Z | src/webdev/server-side/hello/application.py | tangaw/cs50 | 1ed09b3199f6a366c43d3b0ecd89481b1650af17 | [
"MIT"
] | null | null | null | from flask import Flask, render_template, request
app = Flask(__name__) # Turns current file into an application
# Specifying URL path/route
@app.route("/") # `@` is a specialy Python declarator
def index():
# Render HTML template
# Use the `request` library to parse URL input "name" and store in variable `n... | 31.666667 | 84 | 0.712281 |
a9decaed9ac3759a341711d90983c0c1cff3e82a | 3,491 | php | PHP | app/lang/en/messages.php | ashah-kaira/laravel-4.2-Test | cc8ee1eefab61df7c9fd99759f9bc149869367d7 | [
"MIT"
] | null | null | null | app/lang/en/messages.php | ashah-kaira/laravel-4.2-Test | cc8ee1eefab61df7c9fd99759f9bc149869367d7 | [
"MIT"
] | null | null | null | app/lang/en/messages.php | ashah-kaira/laravel-4.2-Test | cc8ee1eefab61df7c9fd99759f9bc149869367d7 | [
"MIT"
] | null | null | null | <?php
return array(
"PropertyRequired"=>":attribute is required",
"MobileAlreadyRegistered"=>"Oops, this mobile number is already in use. Try entering a different one.",
"EmailAlreadyRegistered"=>"Oops, this email is already in use. Try entering a different one.",
"UserCreationSuccess"=>"User creation successfully",
... | 51.338235 | 137 | 0.737897 |
da58d526ccb9ab6ecd883b1af4c8ef2f378daf29 | 839 | php | PHP | wordpress-material-design.php | wissile/wordpress-material-design | fb5190f9ec81efecf4e8585848c3f5d1107214fb | [
"MIT"
] | null | null | null | wordpress-material-design.php | wissile/wordpress-material-design | fb5190f9ec81efecf4e8585848c3f5d1107214fb | [
"MIT"
] | null | null | null | wordpress-material-design.php | wissile/wordpress-material-design | fb5190f9ec81efecf4e8585848c3f5d1107214fb | [
"MIT"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: wissilesogoyou
* Date: 9/11/15
* Time: 4:12 PM
*
* Plugin Name: Material Design
* Plugin URI: http://www.sogoyou.org
* Description: Material Design
* Author: Wissile Sogoyou
* Author URI: http://www.sogoyou.org
* Version: 1.0
*/
// function for wordpress script & st... | 31.074074 | 146 | 0.718713 |
628a989702c63e95ada0197a316a476491d35a02 | 616 | lua | Lua | test/test.lua | crowleaj/ApolloParser | 135ca7aec83e7f44dadc3c81989e7cb362bbc216 | [
"MIT"
] | null | null | null | test/test.lua | crowleaj/ApolloParser | 135ca7aec83e7f44dadc3c81989e7cb362bbc216 | [
"MIT"
] | null | null | null | test/test.lua | crowleaj/ApolloParser | 135ca7aec83e7f44dadc3c81989e7cb362bbc216 | [
"MIT"
] | null | null | null | require "parser"
runfile("capabilities/04_arrays",true)
--[[
A = {
b = function() B.b() end
}
B = {
b = function() print "hi" end
}
A.b()
--]]
--runfile("../scripts/controller.ns",false)
--print(m.x)
--[[Entity = {
__init = function (self,name)
local this = {x=0,y=0}
this.name = name
setmetatable(o,self)... | 13.106383 | 43 | 0.592532 |
3f1eb3fa89ba100b1afade25a08879ec2cafdf59 | 204 | php | PHP | application/views/include/style/categories_style.php | andresetiawan-as/allsensor | dd798878b88858b2e11458c31cf64de8266569d1 | [
"MIT"
] | null | null | null | application/views/include/style/categories_style.php | andresetiawan-as/allsensor | dd798878b88858b2e11458c31cf64de8266569d1 | [
"MIT"
] | null | null | null | application/views/include/style/categories_style.php | andresetiawan-as/allsensor | dd798878b88858b2e11458c31cf64de8266569d1 | [
"MIT"
] | null | null | null | <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/categories.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/categories_responsive.css"> | 102 | 107 | 0.730392 |
a8cb06b394ad639a2b0aa7eb6f5348141695e82a | 592 | go | Go | converter/lower.go | go-ee/kazaam | 3bdf947c1706647211ab4a340f8de2908475b8a2 | [
"MIT"
] | 3 | 2019-03-15T16:28:34.000Z | 2019-06-04T21:45:32.000Z | converter/lower.go | mbordner/kazaam | f1b2166f5ff70858d4b39a0c7477385e996982f5 | [
"MIT"
] | null | null | null | converter/lower.go | mbordner/kazaam | f1b2166f5ff70858d4b39a0c7477385e996982f5 | [
"MIT"
] | null | null | null | package converter
import (
"errors"
"github.com/mbordner/kazaam/transform"
"strconv"
"strings"
)
type Lower struct {
ConverterBase
}
func (c *Lower) Convert(jsonData []byte, value []byte, args []byte) (newValue []byte, err error) {
newValue = value
var jsonValue *transform.JSONValue
jsonValue, err = c.NewJS... | 17.411765 | 98 | 0.702703 |
0d2ac9eb01335a079cbafef31b4551f7594a0517 | 1,846 | cs | C# | MHWMasterDataUtils/Builders/Equipment/CharmEquipmentBuilder.cs | TanukiSharp/MHWMasterDataUtils | 8c25b6256f1a604183c386e2211900f53d24019f | [
"MIT"
] | 4 | 2019-08-13T09:14:35.000Z | 2022-03-28T07:48:24.000Z | MHWMasterDataUtils/Builders/Equipment/CharmEquipmentBuilder.cs | TanukiSharp/MHWMasterDataUtils | 8c25b6256f1a604183c386e2211900f53d24019f | [
"MIT"
] | null | null | null | MHWMasterDataUtils/Builders/Equipment/CharmEquipmentBuilder.cs | TanukiSharp/MHWMasterDataUtils | 8c25b6256f1a604183c386e2211900f53d24019f | [
"MIT"
] | 1 | 2021-04-01T04:22:31.000Z | 2021-04-01T04:22:31.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MHWMasterDataUtils.Core;
using MHWMasterDataUtils.Equipment;
using MHWMasterDataUtils.Languages;
namespace MHWMasterDataUtils.Builders.Equipment
{
public class CharmEquipmentBuilder : EquipmentBuilderBase<Charm>
{
... | 34.830189 | 118 | 0.660347 |
0ad1f33e1adc5d1a5999e294957a1e246a7d39f9 | 6,253 | dart | Dart | lib/src/features/home_tops/presentation/widgets/series_month_widget.dart | bunkalogic/BunkaList-Flutter-Version | ad52c68ba145040839306aa3d1d2d3a3857e7f97 | [
"Apache-2.0"
] | 2 | 2019-09-29T12:46:45.000Z | 2019-10-24T21:17:44.000Z | lib/src/features/home_tops/presentation/widgets/series_month_widget.dart | bunkalogic/BunkaList-Flutter-Version | ad52c68ba145040839306aa3d1d2d3a3857e7f97 | [
"Apache-2.0"
] | null | null | null | lib/src/features/home_tops/presentation/widgets/series_month_widget.dart | bunkalogic/BunkaList-Flutter-Version | ad52c68ba145040839306aa3d1d2d3a3857e7f97 | [
"Apache-2.0"
] | null | null | null |
import 'package:bunkalist/src/core/constans/constants_top_id.dart';
import 'package:bunkalist/src/core/constans/object_type_code.dart';
import 'package:bunkalist/src/core/reusable_widgets/icon_empty_widget.dart';
import 'package:bunkalist/src/core/reusable_widgets/loading_custom_widget.dart';
import 'package:bunkalist... | 30.207729 | 119 | 0.587558 |
f42f57c86c6fecf09746849bc17e9813ea540d64 | 1,539 | tsx | TypeScript | components/sections/service/ServiceSection.tsx | pokornyd/fintech-demo-site | 5f7d8195e0f807f66869cc9e6398c75e485c75df | [
"MIT"
] | null | null | null | components/sections/service/ServiceSection.tsx | pokornyd/fintech-demo-site | 5f7d8195e0f807f66869cc9e6398c75e485c75df | [
"MIT"
] | 4 | 2021-03-11T04:35:26.000Z | 2022-02-10T23:48:10.000Z | components/sections/service/ServiceSection.tsx | pokornyd/fintech-demo-site | 5f7d8195e0f807f66869cc9e6398c75e485c75df | [
"MIT"
] | null | null | null | import { ContentItem } from 'kentico-cloud-delivery';
import { NextFC } from 'next';
import PropTypes, { ValidationMap } from 'prop-types';
import React from 'react';
import {
Description,
PreTitle,
Title,
} from '../../sectionIntroductionRenderers';
import { ServiceFeature } from './ServiceFeature';
export int... | 24.822581 | 96 | 0.590643 |
53afc21ca3fb37dabe6386863f4b10c53ffdb613 | 24 | dart | Dart | syncit_flutter/lib/data/data.dart | amgugu111/syncit | fb6a92263c8394f10a2f7212e5e429a3053fab88 | [
"MIT"
] | null | null | null | syncit_flutter/lib/data/data.dart | amgugu111/syncit | fb6a92263c8394f10a2f7212e5e429a3053fab88 | [
"MIT"
] | null | null | null | syncit_flutter/lib/data/data.dart | amgugu111/syncit | fb6a92263c8394f10a2f7212e5e429a3053fab88 | [
"MIT"
] | null | null | null | export 'constants.dart'; | 24 | 24 | 0.791667 |
fe9864dcad354e311b9a5721dff5c2c66e123582 | 42,407 | go | Go | vendor/github.com/projectatomic/libpod/libpod/runtime_img.go | kubic-project/container-feeder | 066ce5398544eab35b7d46d460f67950e30ad466 | [
"Apache-2.0"
] | 8 | 2017-02-27T11:48:43.000Z | 2019-03-20T22:36:46.000Z | vendor/github.com/projectatomic/libpod/libpod/runtime_img.go | SUSE/container-feeder | 066ce5398544eab35b7d46d460f67950e30ad466 | [
"Apache-2.0"
] | 26 | 2017-03-13T09:55:59.000Z | 2018-09-10T18:53:30.000Z | vendor/github.com/projectatomic/libpod/libpod/runtime_img.go | kubic-project/container-feeder | 066ce5398544eab35b7d46d460f67950e30ad466 | [
"Apache-2.0"
] | 8 | 2017-03-09T09:26:01.000Z | 2018-12-21T10:33:12.000Z | package libpod
import (
"fmt"
"io"
"net"
"os"
"strings"
"syscall"
"time"
cp "github.com/containers/image/copy"
"github.com/containers/image/directory"
"github.com/containers/image/docker"
dockerarchive "github.com/containers/image/docker/archive"
"github.com/containers/image/docker/reference"
"github.com... | 28.946758 | 202 | 0.694225 |
c424bb1d9916145c4ecfbcf3106ff97b6794b842 | 809 | cpp | C++ | mp2/main.cpp | Atrifex/ECE-438 | fbf2c3f51291bfa347abaa06f843e2d20d5239f6 | [
"MIT"
] | 2 | 2019-04-25T00:24:55.000Z | 2019-04-25T04:35:05.000Z | mp2/main.cpp | Atrifex/ECE-438 | fbf2c3f51291bfa347abaa06f843e2d20d5239f6 | [
"MIT"
] | null | null | null | mp2/main.cpp | Atrifex/ECE-438 | fbf2c3f51291bfa347abaa06f843e2d20d5239f6 | [
"MIT"
] | 1 | 2020-10-02T21:32:34.000Z | 2020-10-02T21:32:34.000Z |
#include <iostream>
#include <utility>
#include <thread>
#include <chrono>
#include <functional>
#include <atomic>
#include "ls_router.h"
using std::thread;
using std::ref;
void announceToNeighbors(LS_Router & router) {
router.announceToNeighbors();
}
void generateLSP(LS_Router & router) {
router.generateL... | 19.731707 | 84 | 0.672435 |
41644075b9fe991eb77604429344aac7012e44f6 | 1,346 | dart | Dart | lib/src/models/User.dart | pectoraux/EMSRwanda-Web | 59f15b93b79a87a49fc4235ef94e7e27f3d61c98 | [
"MIT"
] | null | null | null | lib/src/models/User.dart | pectoraux/EMSRwanda-Web | 59f15b93b79a87a49fc4235ef94e7e27f3d61c98 | [
"MIT"
] | null | null | null | lib/src/models/User.dart | pectoraux/EMSRwanda-Web | 59f15b93b79a87a49fc4235ef94e7e27f3d61c98 | [
"MIT"
] | 1 | 2019-06-18T15:44:05.000Z | 2019-06-18T15:44:05.000Z | import 'package:angular/angular.dart';
import 'package:angular_components/angular_components.dart';
class mUser {
final String userName;
String userRole, firstName, lastName, dob, country, nationalID, passportNo, mainPhone, sex, altPhone1, altPhone2, email1, email2, tin, cvStatusElec;
// mUser(this.userName, thi... | 29.26087 | 228 | 0.638187 |
53d192440a35ce8460e472cb1ee9981dfd07229d | 2,701 | dart | Dart | packages/mobx_resource_bloc/lib/src/computed_resource_bloc.dart | brianrobles204/resource_bloc | df28d772d58bb64e17ebae0f81a2a9d18f93cf3e | [
"MIT"
] | null | null | null | packages/mobx_resource_bloc/lib/src/computed_resource_bloc.dart | brianrobles204/resource_bloc | df28d772d58bb64e17ebae0f81a2a9d18f93cf3e | [
"MIT"
] | 2 | 2021-10-10T08:19:30.000Z | 2021-12-16T22:34:00.000Z | packages/mobx_resource_bloc/lib/src/computed_resource_bloc.dart | brianrobles204/resource_bloc | df28d772d58bb64e17ebae0f81a2a9d18f93cf3e | [
"MIT"
] | null | null | null | import 'package:mobx/mobx.dart';
import 'package:mobx_resource_bloc/mobx_resource_bloc.dart';
import 'package:resource_bloc/resource_bloc.dart';
abstract class ComputedBaseResourceBloc<K extends Object, V>
extends BaseResourceBloc<K, V> with ComputedResourceBlocMixin<K, V> {
ComputedBaseResourceBloc({
requir... | 30.011111 | 79 | 0.711218 |
c4badfa74e68b7a750e380f0295c21575f1b9a23 | 7,552 | cpp | C++ | BMA400.cpp | akita11/Grove_3Axis_Digital_Accelerometer_BMA400 | f32641a877cf6a73dfe8badc66796205d9e5fd96 | [
"MIT"
] | 3 | 2020-02-06T10:05:21.000Z | 2020-08-16T01:57:51.000Z | BMA400.cpp | akita11/Grove_3Axis_Digital_Accelerometer_BMA400 | f32641a877cf6a73dfe8badc66796205d9e5fd96 | [
"MIT"
] | 1 | 2021-08-15T22:04:05.000Z | 2021-08-15T22:04:05.000Z | BMA400.cpp | akita11/Grove_3Axis_Digital_Accelerometer_BMA400 | f32641a877cf6a73dfe8badc66796205d9e5fd96 | [
"MIT"
] | 8 | 2019-03-26T19:08:08.000Z | 2021-10-12T00:06:48.000Z | /*
A library for Grove - 3-Axis Digital Accelerometer ±2g to 16g Ultra-low Power(BMA400)
Copyright (c) 2018 seeed technology co., ltd.
Author : Wayen Weng
Create Time : June 2018
Change Log :
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining... | 22.017493 | 89 | 0.639433 |
756d6b9a95878f9ebf10fb97e2c51eba5f2ca51d | 30,794 | css | CSS | vendor/onmotion/yii2-survey/assets/css/survey.css | Kodynska/SurveyAnn | bffb8c0ddc0c6944f15c12deab04e26494727895 | [
"BSD-3-Clause"
] | null | null | null | vendor/onmotion/yii2-survey/assets/css/survey.css | Kodynska/SurveyAnn | bffb8c0ddc0c6944f15c12deab04e26494727895 | [
"BSD-3-Clause"
] | null | null | null | vendor/onmotion/yii2-survey/assets/css/survey.css | Kodynska/SurveyAnn | bffb8c0ddc0c6944f15c12deab04e26494727895 | [
"BSD-3-Clause"
] | null | null | null | .survey-container{max-width:900px;margin:10px auto 0 auto}#survey-questions-pjax{-webkit-transition:all .2s;transition:all .2s}.survey-container .btn,.kv-editable-popover .btn,#survey-index .btn{-webkit-transition:all .3s;transition:all .3s;background-color:transparent;color:#393939;border-radius:5px;min-width:28px;-we... | 15,397 | 30,793 | 0.802494 |
027bb391c109eb9866ead92e51ab438cc9d42def | 3,066 | cc | C++ | ecs/src/model/DescribeDiskMonitorDataRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 3 | 2020-01-06T08:23:14.000Z | 2022-01-22T04:41:35.000Z | ecs/src/model/DescribeDiskMonitorDataRequest.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | ecs/src/model/DescribeDiskMonitorDataRequest.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | 1 | 2020-11-27T09:13:12.000Z | 2020-11-27T09:13:12.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 25.983051 | 102 | 0.771363 |
c47bb1b899688d92bd0727ca8cfe6e5159f48e7a | 5,428 | cpp | C++ | emulator/src/lib/util/strformat.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/lib/util/strformat.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/lib/util/strformat.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:Vas Crabb
/***************************************************************************
strformat.h
type-safe printf substitutes
***************************************************************************/
#include "strformat.h"
#include "vecstream.h"
#include <i... | 57.744681 | 127 | 0.792373 |
259c980b782a5d9bfcaadc50bb3b24b8fb9ef344 | 603 | cs | C# | source/VitNX3_net5/UI/ControlsV2/VitNX2_MessageBoxType2/VitNX2_MessageBoxType2_Form.cs | Zalexanninev15/VitNX | 43f2dd04b8ba97c4a78ae51a99e7980a6b9b85a9 | [
"MIT"
] | 2 | 2022-01-25T12:09:46.000Z | 2022-01-27T11:26:48.000Z | source/VitNX3_netframework45/UI/ControlsV2/VitNX2_MessageBoxType2/VitNX2_MessageBoxType2_Form.cs | Zalexanninev15/VitNX | 43f2dd04b8ba97c4a78ae51a99e7980a6b9b85a9 | [
"MIT"
] | null | null | null | source/VitNX3_netframework45/UI/ControlsV2/VitNX2_MessageBoxType2/VitNX2_MessageBoxType2_Form.cs | Zalexanninev15/VitNX | 43f2dd04b8ba97c4a78ae51a99e7980a6b9b85a9 | [
"MIT"
] | null | null | null | using System;
using System.Windows.Forms;
using VitNX3.Functions.WindowAndControls;
namespace VitNX2.UI.ControlsV2
{
public partial class VitNX2_MessageBoxType2 : Form
{
public static string MessageText { get; set; }
public VitNX2_MessageBoxType2()
{
InitializeComponent()... | 26.217391 | 74 | 0.655058 |
3f97c6c97ce2147b53b6b9012fc1e548c8b0136e | 1,698 | rb | Ruby | spec/bitly/http/client_spec.rb | CodingFu/bitly | d8b1ac1f7237a325c39ddfc746dd4c1da936982c | [
"MIT"
] | 167 | 2015-01-01T12:04:00.000Z | 2022-03-19T10:06:28.000Z | spec/bitly/http/client_spec.rb | CodingFu/bitly | d8b1ac1f7237a325c39ddfc746dd4c1da936982c | [
"MIT"
] | 23 | 2015-01-01T21:41:32.000Z | 2020-08-26T15:31:46.000Z | spec/bitly/http/client_spec.rb | CodingFu/bitly | d8b1ac1f7237a325c39ddfc746dd4c1da936982c | [
"MIT"
] | 51 | 2015-01-23T20:01:32.000Z | 2021-02-19T01:09:40.000Z | # frozen_string_literal: true
RSpec.describe Bitly::HTTP::Client do
it "can be initialized with no arguments" do
expect { Bitly::HTTP::Client.new }.not_to raise_error
end
it "can be initialized with an adapter (that has a request method)" do
expect do
Bitly::HTTP::Client.new(Bitly::HTTP::Adapters:... | 39.488372 | 89 | 0.685512 |
ddf7f3da73180fc37ba77d6ea0ca2b195998ab0b | 712 | c | C | aoapcbac2nd/exercise3-2_molarmass.c | aoibird/pc | b72c0b10117f95d45e2e7423614343b5936b260a | [
"MIT"
] | null | null | null | aoapcbac2nd/exercise3-2_molarmass.c | aoibird/pc | b72c0b10117f95d45e2e7423614343b5936b260a | [
"MIT"
] | null | null | null | aoapcbac2nd/exercise3-2_molarmass.c | aoibird/pc | b72c0b10117f95d45e2e7423614343b5936b260a | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <ctype.h>
void solve()
{
int c;
double sum = 0;
while ((c = getchar()) != '\n' && c != EOF) {
//printf("%c\n", c);
int t;
int cx = getchar();
ungetc(cx, stdin);
if (!isdigit(cx)) {
t = 1;
}
else {
scanf("%d", &t);
//printf("%d", t);
}
... | 14.24 | 47 | 0.365169 |
5fdb05e639003b30452d5676f12be4c7860066e8 | 1,524 | rb | Ruby | spec/features/user_creates_new_clinician_spec.rb | Kamilleski/NMF_Tool | ee535263d0473a45a583680948126a849df637dd | [
"MIT"
] | 2 | 2019-02-04T18:17:17.000Z | 2019-02-13T16:34:51.000Z | spec/features/user_creates_new_clinician_spec.rb | kamillamagna/marfan-registry | ee535263d0473a45a583680948126a849df637dd | [
"MIT"
] | 6 | 2016-10-19T17:42:36.000Z | 2016-11-21T20:53:00.000Z | spec/features/user_creates_new_clinician_spec.rb | Kamilleski/NMF_Tool | ee535263d0473a45a583680948126a849df637dd | [
"MIT"
] | null | null | null | require 'rails_helper'
feature 'user can add new clinician' do
background do
visit new_clinician_path
end
scenario "user adds new clinician with valid information" do
expect(page).to have_content("New Clinician Information")
fill_in "clinician_first_name", with: "David"
fill_in "clinician_las... | 34.636364 | 128 | 0.748031 |
7aa7479d7c658cd53830b0eddb46d516f2bccefb | 1,378 | cs | C# | src/OWSPublicAPI/Requests/Users/LoginAndCreateSessionRequest.cs | Sinidious/OWS | 1295d2ffe30d4852a990cf75cd8c4ea7c63d7616 | [
"MIT"
] | 102 | 2021-02-14T15:34:28.000Z | 2022-03-29T23:52:44.000Z | src/OWSPublicAPI/Requests/Users/LoginAndCreateSessionRequest.cs | Sinidious/OWS | 1295d2ffe30d4852a990cf75cd8c4ea7c63d7616 | [
"MIT"
] | 5 | 2021-08-09T22:16:50.000Z | 2022-03-11T01:20:57.000Z | src/OWSPublicAPI/Requests/Users/LoginAndCreateSessionRequest.cs | Sinidious/OWS | 1295d2ffe30d4852a990cf75cd8c4ea7c63d7616 | [
"MIT"
] | 36 | 2021-03-10T08:42:59.000Z | 2022-03-29T12:58:02.000Z | using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using OWSData.Models.StoredProcs;
using OWSData.Repositories.Interfaces;
using OWSShared.Interfaces;
namespace OWSPublicAPI.Requests.Users
{
public class LoginAndCreateSessionRequest : ... | 33.609756 | 118 | 0.689405 |
dd68f2c4bb420412b2af3033335556946ab81c73 | 1,311 | java | Java | src/com/easimer/Monster.java | Easimer/LD32 | e537ed466145488323511a7a0b4bdd8bd1d66cd1 | [
"CC0-1.0"
] | null | null | null | src/com/easimer/Monster.java | Easimer/LD32 | e537ed466145488323511a7a0b4bdd8bd1d66cd1 | [
"CC0-1.0"
] | null | null | null | src/com/easimer/Monster.java | Easimer/LD32 | e537ed466145488323511a7a0b4bdd8bd1d66cd1 | [
"CC0-1.0"
] | null | null | null | package com.easimer;
import org.jsfml.graphics.RenderTarget;
/**
*
* @author easimer
*/
public class Monster implements Entity {
public AI ai;
private int hp = 100;
private int maxhp = 100;
int x, y;
boolean dead = false;
public Monster(){}
public Monster(int x, int y)
... | 13.65625 | 55 | 0.485889 |
6d8c7e889ee97e1c3a72c856e67dfc6f9f87b227 | 10,920 | c | C | src/protocols/rdp/error.c | dev-ddoe/guacamole-server | 8ecdedb05aed4aa9c282ce11d0d1fc8b247265cb | [
"Apache-2.0"
] | 1,450 | 2017-11-29T07:18:10.000Z | 2022-03-30T04:20:50.000Z | src/protocols/rdp/error.c | dev-ddoe/guacamole-server | 8ecdedb05aed4aa9c282ce11d0d1fc8b247265cb | [
"Apache-2.0"
] | 122 | 2017-12-19T09:17:49.000Z | 2022-03-22T19:58:49.000Z | src/protocols/rdp/error.c | dev-ddoe/guacamole-server | 8ecdedb05aed4aa9c282ce11d0d1fc8b247265cb | [
"Apache-2.0"
] | 431 | 2017-12-05T16:35:42.000Z | 2022-03-31T22:49:20.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 34.77707 | 88 | 0.671703 |
24a845ef85f0e76c82077dbbafae4c64c2fc2964 | 3,837 | php | PHP | app/Article.php | lpx20000/laravel-blog | e4be24130b9453763335b468b51d581fa20d7479 | [
"MIT"
] | 1 | 2017-03-09T09:51:22.000Z | 2017-03-09T09:51:22.000Z | app/Article.php | lpx20000/laravel-blog | e4be24130b9453763335b468b51d581fa20d7479 | [
"MIT"
] | null | null | null | app/Article.php | lpx20000/laravel-blog | e4be24130b9453763335b468b51d581fa20d7479 | [
"MIT"
] | null | null | null | <?php
namespace App;
use App\Traits\RelationTrait\ArticleTrait;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Overtrue\Pinyin\Pinyin;
/**
* App\Article
*
* @property int $id
* @property string $title 文章标题
* @property string $s... | 32.794872 | 121 | 0.670055 |
e0e9d45ffc23b35b73f822ef8b72436231451015 | 1,916 | kt | Kotlin | app/src/main/java/co/omisego/omgshop/base/BaseDialogFragment.kt | vaibhav-payr/sample-android | 3508cf1bc3a9e07c79a8c98daa2e22a6d26a4db1 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/co/omisego/omgshop/base/BaseDialogFragment.kt | vaibhav-payr/sample-android | 3508cf1bc3a9e07c79a8c98daa2e22a6d26a4db1 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/co/omisego/omgshop/base/BaseDialogFragment.kt | vaibhav-payr/sample-android | 3508cf1bc3a9e07c79a8c98daa2e22a6d26a4db1 | [
"Apache-2.0"
] | null | null | null | package co.omisego.omgshop.base
/*
* OmiseGO
*
* Created by Phuchit Sirimongkolsathien on 11/28/2017 AD.
* Copyright © 2017-2018 OmiseGO. All rights reserved.
*/
import android.content.Context
import android.graphics.Color
import android.graphics.Point
import android.graphics.drawable.ColorDrawable
import androi... | 28.176471 | 178 | 0.703027 |
ef38044da6933ab222c3292cae10dc0ce828a84f | 3,606 | h | C | clients/RemoteDisplay/input_sender.h | marcusaz/ias | 0735feec2adf467135d071886a4265df105eda93 | [
"MIT"
] | 18 | 2018-07-31T05:58:31.000Z | 2021-05-13T16:12:23.000Z | clients/RemoteDisplay/input_sender.h | marcusaz/ias | 0735feec2adf467135d071886a4265df105eda93 | [
"MIT"
] | 69 | 2018-08-06T21:33:39.000Z | 2021-10-07T11:56:00.000Z | clients/RemoteDisplay/input_sender.h | marcusaz/ias | 0735feec2adf467135d071886a4265df105eda93 | [
"MIT"
] | 35 | 2018-09-20T04:48:10.000Z | 2022-02-23T08:04:51.000Z | /*
* Copyright © 2018 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, pub... | 24.69863 | 72 | 0.797282 |
3557b6c410c914f5c05399d59d5e7389a3bf94f1 | 1,847 | lua | Lua | Corona/main.lua | CoronaCards/sample-ios-OverlayChildView | c7d2e2f22c50a8bf133ac7dac2b9f2adca7230d9 | [
"MIT"
] | null | null | null | Corona/main.lua | CoronaCards/sample-ios-OverlayChildView | c7d2e2f22c50a8bf133ac7dac2b9f2adca7230d9 | [
"MIT"
] | null | null | null | Corona/main.lua | CoronaCards/sample-ios-OverlayChildView | c7d2e2f22c50a8bf133ac7dac2b9f2adca7230d9 | [
"MIT"
] | null | null | null | --
-- Abstract: SnapshotPaint sample app
--
-- Version: 2.0
--
-- Sample code is MIT licensed, see http://www.coronalabs.com/links/code/license
-- Copyright (C) 2013 Corona Labs Inc. All Rights Reserved.
--
-- Supports Graphics 2.0
------------------------------------------------------------
local w = display.actu... | 27.161765 | 80 | 0.686519 |
9e64c71ab2a2aceb64ba99b235206a5101bc3065 | 316 | sql | SQL | JDBCDataSourceTomcat/src/resources/OracleSetup.sql | ashish246/j2ee-labs | f87367ef000d207d26314c57e5260885e555aeaa | [
"MIT"
] | null | null | null | JDBCDataSourceTomcat/src/resources/OracleSetup.sql | ashish246/j2ee-labs | f87367ef000d207d26314c57e5260885e555aeaa | [
"MIT"
] | null | null | null | JDBCDataSourceTomcat/src/resources/OracleSetup.sql | ashish246/j2ee-labs | f87367ef000d207d26314c57e5260885e555aeaa | [
"MIT"
] | null | null | null | CREATE TABLE "EMPLOYEE"
(
"EMPID" NUMBER NOT NULL ENABLE,
"NAME" VARCHAR2(10 BYTE) DEFAULT NULL,
PRIMARY KEY ("EMPID")
);
Insert into EMPLOYEE (EMPID,NAME) values (10,'Ashish');
Insert into EMPLOYEE (EMPID,NAME) values (5,'Tripathi');
Insert into EMPLOYEE (EMPID,NAME) values (1,'AT');
commit; | 28.727273 | 56 | 0.670886 |
c9a06cb79b940a320024e38f575f26efd33b7922 | 294 | ts | TypeScript | src/pages/api/sections/index.ts | sawbeanraz/eskoolportal | fae30b7cca12ae40729413de5dc02ccc0627b2e3 | [
"MIT"
] | null | null | null | src/pages/api/sections/index.ts | sawbeanraz/eskoolportal | fae30b7cca12ae40729413de5dc02ccc0627b2e3 | [
"MIT"
] | null | null | null | src/pages/api/sections/index.ts | sawbeanraz/eskoolportal | fae30b7cca12ae40729413de5dc02ccc0627b2e3 | [
"MIT"
] | null | null | null | import { NextApiResponse } from "next";
import prisma from "~/lib/prisma";
import { secureRoute } from "~/lib/secureRoute";
export default secureRoute(async function handler(_, res: NextApiResponse) {
const sections = await prisma.section.findMany();
res.status(200).json(sections);
});
| 26.727273 | 76 | 0.731293 |
14258e092196086cb4519405215aaac6d1714baa | 4,341 | tsx | TypeScript | src/app/components/pages/confirmation-page/ConfirmationPage.tsx | navikt/omsorgspengerutbetaling-arbeidstaker-soknad | 06cd986385f125322688f89ae8d88dbff1cfe7f0 | [
"MIT"
] | null | null | null | src/app/components/pages/confirmation-page/ConfirmationPage.tsx | navikt/omsorgspengerutbetaling-arbeidstaker-soknad | 06cd986385f125322688f89ae8d88dbff1cfe7f0 | [
"MIT"
] | 189 | 2020-07-28T14:47:10.000Z | 2022-03-09T10:09:31.000Z | src/app/components/pages/confirmation-page/ConfirmationPage.tsx | navikt/omsorgspengerutbetaling-arbeidstaker-soknad | 06cd986385f125322688f89ae8d88dbff1cfe7f0 | [
"MIT"
] | null | null | null | import * as React from 'react';
import { FormattedMessage, useIntl } from 'react-intl';
import { SIFCommonPageKey, useLogSidevisning } from '@navikt/sif-common-amplitude/lib';
import AlertStripe from 'nav-frontend-alertstriper';
import { Knapp } from 'nav-frontend-knapper';
import Panel from 'nav-frontend-paneler/lib';... | 41.740385 | 118 | 0.522 |
1aaf585c17b3f7509128ab84cd47623dfb0e8f9a | 3,080 | py | Python | tests/long_running/db_disk_growth.py | AlexTalker/integrated-manager-for-lustre | 251099e5c776f3c1898af50bb7cc77924c7cf7c7 | [
"MIT"
] | 1 | 2021-02-08T16:59:14.000Z | 2021-02-08T16:59:14.000Z | tests/long_running/db_disk_growth.py | AlexTalker/integrated-manager-for-lustre | 251099e5c776f3c1898af50bb7cc77924c7cf7c7 | [
"MIT"
] | null | null | null | tests/long_running/db_disk_growth.py | AlexTalker/integrated-manager-for-lustre | 251099e5c776f3c1898af50bb7cc77924c7cf7c7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Copyright (c) 2018 DDN. All rights reserved.
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file.
# chroma-sampling is a commandline command. Use it to periodically sample
# logs and disk usage for long periods of time.
# Install by copying to... | 33.478261 | 160 | 0.684416 |
ff4ae0fb493ff3a426fea0f383a07b7ed27fd160 | 2,984 | py | Python | init.py | vherrin/MatrixNTFScan | 0f9fb0a8f8f262786456726a00dde9ba31ba54fa | [
"MIT"
] | null | null | null | init.py | vherrin/MatrixNTFScan | 0f9fb0a8f8f262786456726a00dde9ba31ba54fa | [
"MIT"
] | null | null | null | init.py | vherrin/MatrixNTFScan | 0f9fb0a8f8f262786456726a00dde9ba31ba54fa | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[1]:
import pandas as pd
import glob
import numpy as np
import cloudscraper
import re
import math
import shutil
import os
import sys
import cfscrape
import time
import requests
import IPython
import webbrowser
import json
import logging
from requests.adapters import HTTPAda... | 28.692308 | 93 | 0.732909 |
40e0f7c74f838c15dddd80912a57c266102e5ac3 | 1,833 | ts | TypeScript | packages/@ngx-cache/platform-server/src/fs-cache.service.ts | m1kl/ngx-cache | bbaac5239cb4bcab1aadaac624aae352d77f8b9c | [
"MIT"
] | 131 | 2017-08-29T14:23:19.000Z | 2022-02-07T09:21:56.000Z | packages/@ngx-cache/platform-server/src/fs-cache.service.ts | m1kl/ngx-cache | bbaac5239cb4bcab1aadaac624aae352d77f8b9c | [
"MIT"
] | 77 | 2017-08-18T16:17:02.000Z | 2021-07-21T01:14:05.000Z | packages/@ngx-cache/platform-server/src/fs-cache.service.ts | m1kl/ngx-cache | bbaac5239cb4bcab1aadaac624aae352d77f8b9c | [
"MIT"
] | 19 | 2017-09-26T23:22:59.000Z | 2022-03-02T20:11:15.000Z | import { isPlatformServer } from '@angular/common';
import { Inject, Injectable, Injector, PLATFORM_ID } from '@angular/core';
import { Cache, CacheValue, STORAGE, Storage } from '@ngx-cache/core';
@Injectable()
export class FsCacheService implements Cache {
protected readonly fsStorage: Storage;
private get isEn... | 20.829545 | 107 | 0.610475 |
850ea355a6e7b172b13bbd2037cb75957e7e517a | 51 | lua | Lua | [ui]/dpChat/client/exports.lua | dcr30/drive-crew-mta | 1bc6b1bf6520b1818c54b7fb9b75f97f9b290e69 | [
"Apache-2.0"
] | 16 | 2017-09-02T20:31:49.000Z | 2020-06-07T20:59:55.000Z | [ui]/dpChat/client/exports.lua | dcr30/drive-crew-mta | 1bc6b1bf6520b1818c54b7fb9b75f97f9b290e69 | [
"Apache-2.0"
] | 1 | 2019-05-21T18:35:44.000Z | 2019-05-21T18:35:44.000Z | [ui]/dpChat/client/exports.lua | JluHeuKa/driftparadise-legacy | 570ff6350a1960d531448c62ec10a0708f429c31 | [
"Apache-2.0"
] | 16 | 2018-02-18T16:39:35.000Z | 2020-05-18T16:15:01.000Z | setVisible = Chat.setVisible
message = Chat.message | 25.5 | 28 | 0.823529 |
e7e0ff7d797c739cb45244c5ebaa29c4430c6814 | 203 | ps1 | PowerShell | hsp3-debug-window-adapter/vscode-ext/install.ps1 | honobonosun/hsp3-ginger | d2788085d71c8d8fdf31e445a8e262c08e18fba8 | [
"CC0-1.0"
] | 2 | 2019-04-20T00:57:54.000Z | 2019-11-23T06:02:14.000Z | hsp3-debug-window-adapter/vscode-ext/install.ps1 | honobonosun/hsp3-ginger | d2788085d71c8d8fdf31e445a8e262c08e18fba8 | [
"CC0-1.0"
] | 7 | 2020-01-11T12:35:38.000Z | 2021-11-01T12:25:11.000Z | hsp3-debug-window-adapter/vscode-ext/install.ps1 | honobonosun/hsp3-ginger | d2788085d71c8d8fdf31e445a8e262c08e18fba8 | [
"CC0-1.0"
] | 2 | 2020-06-24T07:51:40.000Z | 2022-01-04T03:17:54.000Z | #!/bin/pwsh
npm --version
if (!$?) {
echo 'Node.js をインストールしてください。'
exit 1
}
npm install
npm run build
npm run vsce:package
code --install-extension 'hsp3-debug-window-adapter.vsix'
| 15.615385 | 58 | 0.64532 |
a32c18472853df19ee2daf9e56df0a2038a80b57 | 3,254 | java | Java | data-protocols/ids/ids-core/src/main/java/org/eclipse/dataspaceconnector/ids/core/policy/CustomIdsConstraintDeserializer.java | saudkhan116/DataSpaceConnector | ff0cf33fa6c0994f8eb7d76877bbd2271510c9cd | [
"Apache-2.0"
] | 3 | 2021-11-25T10:57:45.000Z | 2022-03-29T11:18:32.000Z | data-protocols/ids/ids-core/src/main/java/org/eclipse/dataspaceconnector/ids/core/policy/CustomIdsConstraintDeserializer.java | sovity/EDC | 52f028017aeea68c8efa6f6a45f0ded38db7b110 | [
"Apache-2.0"
] | 180 | 2022-02-07T07:56:53.000Z | 2022-03-31T13:01:13.000Z | data-protocols/ids/ids-core/src/main/java/org/eclipse/dataspaceconnector/ids/core/policy/CustomIdsConstraintDeserializer.java | mercedes-benz/EclipseDataSpaceConnector | 14009c9f0032a15e9317a3a99b8dba18b4989995 | [
"Apache-2.0"
] | 2 | 2021-11-12T12:01:28.000Z | 2021-11-23T12:04:10.000Z | /*
* Copyright (c) 2022 Fraunhofer Institute for Software and Systems Engineering
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.... | 36.977273 | 151 | 0.693301 |
e747d4127f08dfba0208e6b55c1f93bf2e58c43a | 2,763 | php | PHP | application/company/command/Subversion.php | H-Jack/Project | 2f790af553c978efae735f88c495c4467bbc729d | [
"MIT"
] | null | null | null | application/company/command/Subversion.php | H-Jack/Project | 2f790af553c978efae735f88c495c4467bbc729d | [
"MIT"
] | null | null | null | application/company/command/Subversion.php | H-Jack/Project | 2f790af553c978efae735f88c495c4467bbc729d | [
"MIT"
] | null | null | null | <?php
namespace app\company\command;
use think\console\Command;
use think\console\Input;
use think\console\Output;
use think\Db;
/**
* SVN 版本指令
* Class Subversion
* @package app\company\command
*/
class Subversion extends Command
{
/**
* 账号授权文件位置
* @var string
*/
protected $authzFile = 'p... | 30.032609 | 145 | 0.535288 |
c66a80983956187f6f659ba746fae561571e823a | 935 | rb | Ruby | app/models/user.rb | tanaka51-jp/haruno | ae572bd7aeb55eee0005792dfb7d750bde57139d | [
"MIT"
] | null | null | null | app/models/user.rb | tanaka51-jp/haruno | ae572bd7aeb55eee0005792dfb7d750bde57139d | [
"MIT"
] | null | null | null | app/models/user.rb | tanaka51-jp/haruno | ae572bd7aeb55eee0005792dfb7d750bde57139d | [
"MIT"
] | null | null | null | class User < ActiveRecord::Base
authenticates_with_sorcery!
belongs_to :organization
validates :family_name, presence: true
validates :given_name, presence: true
validates :email, presence: true, uniqueness: { scope: :organization_id }, email: true
validates :password, length: { minimum: 6 }, co... | 26.714286 | 112 | 0.71123 |
4cbc92b22b91b0c7a8265d125f6c3d5c9f8814c7 | 2,337 | dart | Dart | lib/74_marquee/marquee.dart | md-siam/package_of_the_day | 7e712f8c857b5c1ea4848d321810d1c13f1ce4c3 | [
"MIT"
] | 5 | 2022-02-25T15:38:00.000Z | 2022-03-30T05:51:05.000Z | lib/74_marquee/marquee.dart | md-siam/package_of_the_day | 7e712f8c857b5c1ea4848d321810d1c13f1ce4c3 | [
"MIT"
] | null | null | null | lib/74_marquee/marquee.dart | md-siam/package_of_the_day | 7e712f8c857b5c1ea4848d321810d1c13f1ce4c3 | [
"MIT"
] | 6 | 2022-02-25T15:38:26.000Z | 2022-03-19T07:31:02.000Z | import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:marquee/marquee.dart';
class MyMarquee extends StatelessWidget {
const MyMarquee({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBa... | 32.013699 | 74 | 0.438596 |