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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
525440de8f0b4fa7b5286d76ef215b00230b8ae6 | 542 | rb | Ruby | app/controllers/api/v1/accounts/agent_histories_controller.rb | proficientDev/TextyOmni | 954cbd8c4d4aefdb7a71f3e18e0c7e2791b0c9f8 | [
"MIT"
] | null | null | null | app/controllers/api/v1/accounts/agent_histories_controller.rb | proficientDev/TextyOmni | 954cbd8c4d4aefdb7a71f3e18e0c7e2791b0c9f8 | [
"MIT"
] | null | null | null | app/controllers/api/v1/accounts/agent_histories_controller.rb | proficientDev/TextyOmni | 954cbd8c4d4aefdb7a71f3e18e0c7e2791b0c9f8 | [
"MIT"
] | null | null | null | class Api::V1::Accounts::AgentHistoriesController < ApplicationController
before_action :fetch_agent_histories, only: [:show]
def index
@agent_histories = agent_histories
end
def show
Rails.logger.info "--------------USER: #{@agent_histories}"
# return @agent_histories
render partial: 'api/v1... | 28.526316 | 105 | 0.728782 |
79db8e48d42ead5650e6ac8c620b95402188f211 | 847 | php | PHP | src/test/php/com/handlebarsjs/unittest/LookupHelperTest.class.php | xp-forge/handlebars | c7129cbba082b68710751f7d26dc6dbd3223ad72 | [
"RSA-MD"
] | null | null | null | src/test/php/com/handlebarsjs/unittest/LookupHelperTest.class.php | xp-forge/handlebars | c7129cbba082b68710751f7d26dc6dbd3223ad72 | [
"RSA-MD"
] | 12 | 2015-01-10T19:50:40.000Z | 2021-05-09T14:14:37.000Z | src/test/php/com/handlebarsjs/unittest/LookupHelperTest.class.php | xp-forge/handlebars | c7129cbba082b68710751f7d26dc6dbd3223ad72 | [
"RSA-MD"
] | null | null | null | <?php namespace com\handlebarsjs\unittest;
use unittest\Assert;
use unittest\{Test, Values};
class LookupHelperTest extends HelperTest {
#[Test]
public function should_lookup_arbitrary_content() {
Assert::equals('ZeroOne', $this->evaluate('{{#each goodbyes}}{{lookup ../data .}}{{/each}}', [
'goodbyes' ... | 30.25 | 125 | 0.586777 |
dd7094cdf5465e626696af6846d14eb1be0d4caa | 3,885 | java | Java | src/main/java/io/xjar/XEncryption.java | ilaotan/xjar | 7dc76e81f3c6eea0a50889f877baf682e6aa91aa | [
"Apache-2.0"
] | 1,054 | 2018-11-29T06:56:40.000Z | 2022-03-31T09:17:48.000Z | src/main/java/io/xjar/XEncryption.java | codeya1024/xjar | f54488ce450835bf2ae88e23de3d78552a043608 | [
"Apache-2.0"
] | 96 | 2018-12-02T06:48:07.000Z | 2022-03-30T15:01:02.000Z | src/main/java/io/xjar/XEncryption.java | codeya1024/xjar | f54488ce450835bf2ae88e23de3d78552a043608 | [
"Apache-2.0"
] | 323 | 2018-11-30T17:02:36.000Z | 2022-03-24T03:56:16.000Z | package io.xjar;
import io.xjar.filter.XAllEntryFilter;
import io.xjar.filter.XAnyEntryFilter;
import io.xjar.filter.XMixEntryFilter;
import io.xjar.key.XKey;
import org.apache.commons.compress.archivers.jar.JarArchiveEntry;
import java.io.File;
import java.security.NoSuchAlgorithmException;
import java.util.regex.Pa... | 23.834356 | 183 | 0.559588 |
4f4aa31273982e21e564dc92cdc3fc60eff0d2bc | 1,300 | php | PHP | resources/views/programar_cirugia/form.blade.php | rikardote/cirugias | 3f582bb3977c69564798828af65013bcdfc59eb5 | [
"MIT"
] | null | null | null | resources/views/programar_cirugia/form.blade.php | rikardote/cirugias | 3f582bb3977c69564798828af65013bcdfc59eb5 | [
"MIT"
] | null | null | null | resources/views/programar_cirugia/form.blade.php | rikardote/cirugias | 3f582bb3977c69564798828af65013bcdfc59eb5 | [
"MIT"
] | null | null | null | <div class="form-group">
{!! Form::label('fecha', 'Fecha') !!}
{!! Form::text('fecha', fecha_dmy($date), [
'class' => 'form-control',
'placeholder' => 'Selecciona la fecha',
'readonly'
]) !!}
</div>
<div class="form-group">
{!! Form::select('ubicacion', ['HOSP' => 'HOSP', 'EXT' => 'EXT'], null, [
'class' ... | 26 | 74 | 0.555385 |
4af994b1f5e9c8c76d19bcb98edc30e566cda5f8 | 1,757 | dart | Dart | lib/main.dart | BenjaminEarley/flutter_chat_app | 050b0ed85784e14c94f418310f1f74ac91f725bd | [
"MIT"
] | 2 | 2019-08-09T20:54:32.000Z | 2019-08-23T17:18:21.000Z | lib/main.dart | BenjaminEarley/flutter_chat_app | 050b0ed85784e14c94f418310f1f74ac91f725bd | [
"MIT"
] | 1 | 2019-08-23T19:19:58.000Z | 2019-08-23T19:19:58.000Z | lib/main.dart | BenjaminEarley/flutter_chat_app | 050b0ed85784e14c94f418310f1f74ac91f725bd | [
"MIT"
] | 1 | 2019-08-23T17:18:31.000Z | 2019-08-23T17:18:31.000Z | import 'package:chat/blocs/auth/auth_bloc.dart';
import 'package:chat/pages/chat/chat.dart';
import 'package:chat/pages/profile/profile.dart';
import 'package:chat/pages/registration/registration.dart';
import 'package:chat/pages/splash.dart';
import 'package:firebase_analytics/firebase_analytics.dart';
import 'package... | 31.375 | 66 | 0.716562 |
7983a15205a1f11a498d968bb063734d8fc4e3ea | 262 | php | PHP | cathpci_import_ajax.php | vanderbilt-redcap/VHVI_PCI | aa910801661ab7c387e911196f0fb11978022459 | [
"MIT"
] | null | null | null | cathpci_import_ajax.php | vanderbilt-redcap/VHVI_PCI | aa910801661ab7c387e911196f0fb11978022459 | [
"MIT"
] | null | null | null | cathpci_import_ajax.php | vanderbilt-redcap/VHVI_PCI | aa910801661ab7c387e911196f0fb11978022459 | [
"MIT"
] | null | null | null | <?php
header('Content-Type: application/json;charset=utf-8');
$module->llog('receieved cathpci_import_ajax reqeust: ' . date('c'));
$response = new \stdClass();
list($response->success, $response->msg) = $module->importChunk();
exit(json_encode($response));
?> | 29.111111 | 69 | 0.706107 |
a17833c6d8b87486807f59a4f3a59053aca4e920 | 133 | tsx | TypeScript | src/components/JaegerIntegration/JaegerResults/index.tsx | jadeyliu939/kiali-ui | f0fd35c6e8ca8a5b3c648db86251845e8db48e8f | [
"Apache-2.0"
] | null | null | null | src/components/JaegerIntegration/JaegerResults/index.tsx | jadeyliu939/kiali-ui | f0fd35c6e8ca8a5b3c648db86251845e8db48e8f | [
"Apache-2.0"
] | 3 | 2018-12-06T08:50:51.000Z | 2020-08-04T09:09:51.000Z | src/components/JaegerIntegration/JaegerResults/index.tsx | SmithXiong/kiali-ui-i18n | 3ff8ddef922d5dfe502d9d5da58089bbc44e7cb2 | [
"Apache-2.0"
] | null | null | null | import { JaegerItem } from './JaegerItem';
import transformTraceData from './transform';
export { JaegerItem, transformTraceData };
| 26.6 | 45 | 0.759398 |
cd15d2f4328f66c0913908292cd4152a19c8900e | 1,968 | cs | C# | test/Shared/FunctionalTests/Migrations/LoggingScenarios.cs | mariloutb/EntityFramework-Classic | b52a43d8e72b3a9afe553d4949197c1cace51d68 | [
"Apache-2.0"
] | 96 | 2018-07-08T16:32:23.000Z | 2022-03-31T20:46:21.000Z | test/Shared/FunctionalTests/Migrations/LoggingScenarios.cs | mariloutb/EntityFramework-Classic | b52a43d8e72b3a9afe553d4949197c1cace51d68 | [
"Apache-2.0"
] | 48 | 2018-08-12T19:39:31.000Z | 2021-12-29T01:06:43.000Z | test/Shared/FunctionalTests/Migrations/LoggingScenarios.cs | mariloutb/EntityFramework-Classic | b52a43d8e72b3a9afe553d4949197c1cace51d68 | [
"Apache-2.0"
] | 39 | 2018-08-02T13:00:49.000Z | 2022-02-20T06:25:35.000Z | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Migrations
{
using Moq;
using System.Data.Entity.Migrations.Infrastructure;
using System.Data.Entity.TestHelpers;
[Variant(DatabaseProvider.... | 32.262295 | 212 | 0.526931 |
6af18f5477146094ca6a468f117e1dd3746dd56b | 781 | h | C | thumbor/ext/filters/lib/image_utils.h | dynamicguy/thumbor | 4e69ec6289ef549109cdfc72bf765b9dc62f9763 | [
"MIT"
] | 6,837 | 2015-01-01T14:33:12.000Z | 2022-03-31T22:21:05.000Z | thumbor/ext/filters/lib/image_utils.h | dynamicguy/thumbor | 4e69ec6289ef549109cdfc72bf765b9dc62f9763 | [
"MIT"
] | 1,055 | 2015-01-03T22:22:05.000Z | 2022-03-31T21:56:17.000Z | thumbor/ext/filters/lib/image_utils.h | dynamicguy/thumbor | 4e69ec6289ef549109cdfc72bf765b9dc62f9763 | [
"MIT"
] | 744 | 2015-01-05T03:49:31.000Z | 2022-03-30T02:35:16.000Z | #ifndef __IMAGE_UTILS__H__
#define __IMAGE_UTILS__H__
#include <math.h>
#define MAX_RGB_DOUBLE 255.0
#define MAX_RGB 255
#define SMALL_DOUBLE 1.0e-12
#define ADJUST_COLOR(c) ((c > MAX_RGB) ? MAX_RGB : ((c < 0) ? 0 : c))
#define ADJUST_COLOR_DOUBLE(c) ((int)((c > MAX_RGB_DOUBLE) ? MAX_RGB : ((c < 0.0) ? 0 : c)))
#de... | 22.314286 | 92 | 0.637644 |
383d174b86cfef3fe279b64629a71121e22a4f1f | 481 | php | PHP | api/modules/v1/controllers/UserattendenceController.php | johnsunam/freelancer-management-system | 6866e8af923b4b3f408e4b24031718a88dbeeaae | [
"BSD-3-Clause"
] | null | null | null | api/modules/v1/controllers/UserattendenceController.php | johnsunam/freelancer-management-system | 6866e8af923b4b3f408e4b24031718a88dbeeaae | [
"BSD-3-Clause"
] | null | null | null | api/modules/v1/controllers/UserattendenceController.php | johnsunam/freelancer-management-system | 6866e8af923b4b3f408e4b24031718a88dbeeaae | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: osho
* Date: 5/4/17
* Time: 5:25 PM
*/
namespace api\modules\v1\controllers;
use yii\rest\ActiveController;
class UserattendenceController extends ActiveController
{
public $modelClass = 'api\modules\v1\models\Userattendence';
public function actions()
{
... | 20.041667 | 89 | 0.648649 |
cd12c7585a60bc6e593abd3f61fc720ab6859f06 | 1,305 | cs | C# | Datahub.Core/Model/Datahub/PBI_License_Request.cs | chuxuantinh/data-hub-chu | 1ae9b82f4781a6fa553715c6dfd5cc88627b70c2 | [
"MIT"
] | 7 | 2021-08-10T19:27:45.000Z | 2022-03-13T13:55:55.000Z | Datahub.Core/Model/Datahub/PBI_License_Request.cs | chuxuantinh/data-hub-chu | 1ae9b82f4781a6fa553715c6dfd5cc88627b70c2 | [
"MIT"
] | 20 | 2022-03-24T12:03:28.000Z | 2022-03-31T20:28:18.000Z | Datahub.Core/Model/Datahub/PBI_License_Request.cs | chuxuantinh/data-hub-chu | 1ae9b82f4781a6fa553715c6dfd5cc88627b70c2 | [
"MIT"
] | 3 | 2021-11-27T01:39:50.000Z | 2022-03-13T13:55:56.000Z | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Elemental.Components;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Graph;
namespace Datahub.Core.EFCore
{
public enum DataSourceProtection
{
Unclassified, ProtectedA, ProtectedB, Unknown
}
public class PB... | 25.096154 | 111 | 0.623755 |
586fa1da8420dc0164979c9fe718ed4286436eef | 206 | css | CSS | src/pages/Termsandcondition.module.css | sanjith-kumar-048/react-clone-hennacrafts | ceaa5fef5ef9a7d21940b3b876e4e99865bf0894 | [
"MIT"
] | null | null | null | src/pages/Termsandcondition.module.css | sanjith-kumar-048/react-clone-hennacrafts | ceaa5fef5ef9a7d21940b3b876e4e99865bf0894 | [
"MIT"
] | null | null | null | src/pages/Termsandcondition.module.css | sanjith-kumar-048/react-clone-hennacrafts | ceaa5fef5ef9a7d21940b3b876e4e99865bf0894 | [
"MIT"
] | null | null | null | .border {
width: 80%;
margin: 0 auto;
margin-top: 1em;
}
.border p {
margin-top: 1.5em;
margin-bottom: 1.5em;
}
.lastchild {
color: green;
}
.bullets {
margin-bottom: 0;
margin-left: 1em;
}
| 12.117647 | 23 | 0.601942 |
256c35d771147d3707dff8e01331578c0d255676 | 668 | cs | C# | src/Twilio.Twiml.Tests/RedirectTests.cs | clarartp/twilio-csharp | 4b0ffc066db8ba55327e0b619d7624663f6d04ac | [
"Apache-2.0"
] | null | null | null | src/Twilio.Twiml.Tests/RedirectTests.cs | clarartp/twilio-csharp | 4b0ffc066db8ba55327e0b619d7624663f6d04ac | [
"Apache-2.0"
] | null | null | null | src/Twilio.Twiml.Tests/RedirectTests.cs | clarartp/twilio-csharp | 4b0ffc066db8ba55327e0b619d7624663f6d04ac | [
"Apache-2.0"
] | 1 | 2020-07-06T23:00:26.000Z | 2020-07-06T23:00:26.000Z | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Twilio.TwiML.Tests
{
[TestClass]
public class RedirectTests : TestBase
{
[TestMethod]
public void Can_Generate_Single_Redirect()
{
... | 20.875 | 56 | 0.73503 |
f7b2661864e6a5323b7c01348597f773867fd11f | 377 | sql | SQL | migrations/sql/V2021.05.26.16.47__update_drilling_and_blasting_activity.sql | bcgov/mds | 6c427a66a5edb4196222607291adef8fd6677038 | [
"Apache-2.0"
] | 25 | 2018-07-09T19:04:37.000Z | 2022-03-15T17:27:10.000Z | migrations/sql/V2021.05.26.16.47__update_drilling_and_blasting_activity.sql | areyeslo/mds | e8c38e593e09b78e2a57009c0d003d6c4bfa32e6 | [
"Apache-2.0"
] | 983 | 2018-04-25T20:08:07.000Z | 2022-03-31T21:45:20.000Z | migrations/sql/V2021.05.26.16.47__update_drilling_and_blasting_activity.sql | areyeslo/mds | e8c38e593e09b78e2a57009c0d003d6c4bfa32e6 | [
"Apache-2.0"
] | 58 | 2018-05-15T22:35:50.000Z | 2021-11-29T19:40:52.000Z | ALTER TABLE exploration_surface_drilling ADD COLUMN IF NOT EXISTS drill_program varchar;
ALTER TABLE now_submissions.application ADD COLUMN IF NOT EXISTS expsurfacedrillprogam varchar;
ALTER TABLE now_submissions.application ADD COLUMN IF NOT EXISTS describeexplosivetosite varchar;
ALTER TABLE blasting_operation ADD ... | 62.833333 | 97 | 0.875332 |
ad75076027b4a3fd19219514e9a085f7044ef9d8 | 1,147 | lua | Lua | schema/factions/sh_shock.lua | Nytelife26/RenegadeRP-Imperial-Helix | ac71d636a98dbe91cfae07885c6920e8bca65ef0 | [
"MIT"
] | 2 | 2019-06-20T22:20:00.000Z | 2021-07-18T02:12:57.000Z | schema/factions/sh_shock.lua | Nytelife26/RenegadeRP-Imperial-Helix | ac71d636a98dbe91cfae07885c6920e8bca65ef0 | [
"MIT"
] | null | null | null | schema/factions/sh_shock.lua | Nytelife26/RenegadeRP-Imperial-Helix | ac71d636a98dbe91cfae07885c6920e8bca65ef0 | [
"MIT"
] | 1 | 2019-06-20T22:20:01.000Z | 2019-06-20T22:20:01.000Z | FACTION.name = "Shock Trooper"
FACTION.description = "The military police and detectives of the ship, tasked with investigations and counterintelligence."
FACTION.color = Color(204, 0, 0)
FACTION.pay = 50
FACTION.isDefault = false
FACTION.isGloballyRecognized = true
function FACTION:OnCharacterCreated(client, charact... | 26.674419 | 123 | 0.769834 |
3054cd842d94b71b31412211bfc037761f2ec285 | 1,265 | dart | Dart | lib/main.dart | csells/flutter_cropping | bb9eb840e4b6f46f39cc99bfa6f61cb8c1e07f78 | [
"BSD-3-Clause"
] | 37 | 2019-07-22T22:11:36.000Z | 2021-12-12T12:28:59.000Z | lib/main.dart | csells/flutter_cropping | bb9eb840e4b6f46f39cc99bfa6f61cb8c1e07f78 | [
"BSD-3-Clause"
] | null | null | null | lib/main.dart | csells/flutter_cropping | bb9eb840e4b6f46f39cc99bfa6f61cb8c1e07f78 | [
"BSD-3-Clause"
] | 3 | 2019-09-11T02:32:47.000Z | 2022-03-23T05:47:46.000Z | import 'package:flutter/material.dart';
import 'image_before_after_crop.dart';
import 'package:flutter/foundation.dart' show debugDefaultTargetPlatformOverride;
import 'dart:io';
void _desktopInitHack() {
bool isWeb = identical(0, 0.0);
if (isWeb) return;
if (Platform.isMacOS) {
debugDefaultTarget... | 29.418605 | 99 | 0.647431 |
4477f5833219d9f4e4b0ce43885c8cf135ad5195 | 2,320 | py | Python | hwtLib/examples/hierarchy/unitWrapper.py | optical-o/hwtLib | edad621f5ad4cdbea20a5751ff4468979afe2f77 | [
"MIT"
] | 24 | 2017-02-23T10:00:50.000Z | 2022-01-28T12:20:21.000Z | hwtLib/examples/hierarchy/unitWrapper.py | optical-o/hwtLib | edad621f5ad4cdbea20a5751ff4468979afe2f77 | [
"MIT"
] | 32 | 2017-04-28T10:29:34.000Z | 2021-04-27T09:16:43.000Z | hwtLib/examples/hierarchy/unitWrapper.py | optical-o/hwtLib | edad621f5ad4cdbea20a5751ff4468979afe2f77 | [
"MIT"
] | 8 | 2019-09-19T03:34:36.000Z | 2022-01-21T06:56:58.000Z | from hwt.hdl.constants import INTF_DIRECTION
from hwt.synthesizer.param import Param
from hwt.synthesizer.unit import Unit
class UnitWrapper(Unit):
"""
Class which creates wrapper around original unit instance,
original unit will be stored inside as subunit named baseUnit
:note: This is example of la... | 33.623188 | 111 | 0.638793 |
83940af38e3e8325fbec71e9c217f884d08f051b | 2,354 | rs | Rust | resources/afl/runner.rs | ntoskrnl7/hopper | 953980139c53309dd1f353ff74ab8055ff205d18 | [
"MIT"
] | 51 | 2016-12-18T03:50:11.000Z | 2021-06-14T08:04:59.000Z | resources/afl/runner.rs | ntoskrnl7/hopper | 953980139c53309dd1f353ff74ab8055ff205d18 | [
"MIT"
] | 15 | 2016-12-18T18:43:41.000Z | 2020-08-11T21:35:11.000Z | resources/afl/runner.rs | ntoskrnl7/hopper | 953980139c53309dd1f353ff74ab8055ff205d18 | [
"MIT"
] | 6 | 2016-12-18T07:26:54.000Z | 2021-06-25T15:28:08.000Z | #![feature(plugin)]
#![plugin(afl_plugin)]
extern crate afl;
extern crate tempdir;
extern crate hopper;
use self::hopper::channel_with_max_bytes;
use std::io;
use std::io::BufRead;
use std::str::FromStr;
use std::time;
use std::thread;
fn main() {
let stdin = io::stdin();
for s in stdin.lock().lines() {
... | 27.694118 | 93 | 0.430331 |
add5ecb43265fc3e678d901ae405d693353b1156 | 427 | lua | Lua | example_mods/stages/ballisticAlley.lua | Crappy-Productions/VS.-Mario-Ultra-Rebooted-Source-Code | 0673bcb83ec27d881cc2cad951f9093616c2192d | [
"Apache-2.0"
] | null | null | null | example_mods/stages/ballisticAlley.lua | Crappy-Productions/VS.-Mario-Ultra-Rebooted-Source-Code | 0673bcb83ec27d881cc2cad951f9093616c2192d | [
"Apache-2.0"
] | null | null | null | example_mods/stages/ballisticAlley.lua | Crappy-Productions/VS.-Mario-Ultra-Rebooted-Source-Code | 0673bcb83ec27d881cc2cad951f9093616c2192d | [
"Apache-2.0"
] | null | null | null | function onCreate()
-- background shit
makeAnimatedLuaSprite('bgg','BallisticBackground',-570.15, -285.45);
setLuaSpriteScrollFactor('bgg', 1, 0.95);
addAnimationByPrefix('bgg','BallisticBackground','Background Whitty Moving',24,true);
addLuaSprite('bgg',false);
close(true); --For performance reasons, close t... | 38.818182 | 151 | 0.763466 |
e26128126dc8b214e0ed3c8b14e5300c7daa8d93 | 769 | py | Python | convnet/convnetlib/convnetlib_test.py | tech-team/convnet | ee401c29349e163a95a868304e120de215158e37 | [
"MIT"
] | null | null | null | convnet/convnetlib/convnetlib_test.py | tech-team/convnet | ee401c29349e163a95a868304e120de215158e37 | [
"MIT"
] | null | null | null | convnet/convnetlib/convnetlib_test.py | tech-team/convnet | ee401c29349e163a95a868304e120de215158e37 | [
"MIT"
] | null | null | null | import convnetlib
import numpy as np
filters_count = 2
s = 1
filter_size = 5
X = np.zeros((28, 28, 1))
w = [np.zeros((filter_size, filter_size, 1)) for _ in xrange(filters_count)]
b = [0] * filters_count
out = np.zeros((24, 24, filters_count))
out2 = np.zeros((24, 24, filters_count))
pool_shape = (12, 12, filters_co... | 28.481481 | 76 | 0.703511 |
bb3d71859c206ef5f48849fc7d56e02843980bf2 | 1,399 | cs | C# | src/Tests/Windows/WindowsTests.cs | eXpandFramework/XAF | 07c52fabd91388ab858200a6853ffef9c59a74dc | [
"Apache-2.0"
] | 39 | 2019-04-20T09:16:06.000Z | 2021-01-13T14:39:39.000Z | src/Tests/Windows/WindowsTests.cs | eXpandFramework/Reactive.XAF | 783fd01dcdfd9ded619c98b73b52a5692ab3bfdf | [
"Apache-2.0"
] | 2 | 2020-06-25T12:11:48.000Z | 2020-07-28T18:10:54.000Z | src/Tests/Windows/WindowsTests.cs | eXpandFramework/DevExpress.XAF | de43d149f4e7f9e0fc5ac4f4ab79a82337aaca37 | [
"Apache-2.0"
] | 22 | 2019-03-29T07:43:10.000Z | 2020-11-18T13:04:39.000Z | using System;
using System.IO;
using System.Reactive.Linq;
using System.Threading;
using akarnokd.reactive_extensions;
using NUnit.Framework;
using Xpand.TestsLib;
using Xpand.TestsLib.Common.Attributes;
using Xpand.XAF.Modules.Reactive;
using Xpand.XAF.Modules.Reactive.Services;
namespace Xpand.XAF.Modules.Windows.T... | 32.534884 | 105 | 0.613295 |
1a79cc2c04ef5b447f7a8a400217e836d80e3ebc | 432 | cs | C# | SheepAspect/Runtime/PropertyJointPoint.cs | erhan0/aop | 02cf13b31734d07d32d8836ea50aede9b10b75c6 | [
"MIT"
] | 12 | 2017-06-08T20:01:31.000Z | 2021-08-24T01:09:39.000Z | SheepAspect/Runtime/PropertyJointPoint.cs | erhan0/aop | 02cf13b31734d07d32d8836ea50aede9b10b75c6 | [
"MIT"
] | null | null | null | SheepAspect/Runtime/PropertyJointPoint.cs | erhan0/aop | 02cf13b31734d07d32d8836ea50aede9b10b75c6 | [
"MIT"
] | 2 | 2019-12-25T02:04:06.000Z | 2020-05-28T01:42:44.000Z | using System.Reflection;
namespace SheepAspect.Runtime
{
public abstract class PropertyJointPoint : MemberJointPointBase
{
protected PropertyJointPoint(PropertyInfo property, AdviceCallback callback, object thisInstance, object[] args)
: base(property, callback, thisInstance, args)
... | 28.8 | 120 | 0.678241 |
1ac077aaa9e69bf8d2e14a668c51799aa360d0b1 | 410 | py | Python | fruering/settings/review_app.py | frueringborgerforening/fruering | cb482268272698d34482dbb956b79f0d114e1834 | [
"MIT"
] | 1 | 2018-05-14T20:19:42.000Z | 2018-05-14T20:19:42.000Z | fruering/settings/review_app.py | andreasbrakhagecarstensen/fruering | cb482268272698d34482dbb956b79f0d114e1834 | [
"MIT"
] | 78 | 2018-03-18T09:36:26.000Z | 2019-12-16T21:06:09.000Z | fruering/settings/review_app.py | andreasbrakhagecarstensen/fruering | cb482268272698d34482dbb956b79f0d114e1834 | [
"MIT"
] | null | null | null | from .base import *
HEROKU_APP_NAME = os.getenv('HEROKU_APP_NAME')
HEROKU_PARENT_APP_NAME = os.getenv('HEROKU_PARENT_APP_NAME')
SECURE_SSL_REDIRECT = True
ALLOWED_HOSTS = ['{}.herokuapp.com'.format(HEROKU_APP_NAME)]
AWS_LOCATION = 'review_app'
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
HOST_NAM... | 34.166667 | 65 | 0.785366 |
643876a5f35a46d24c82c77c04e7078059c3561f | 57 | py | Python | src/__init__.py | mahyar-osn/lung-point-generator | 58e6eaf53f40e0c6c80c63bd17e4d6d6f60d72fe | [
"Apache-2.0"
] | null | null | null | src/__init__.py | mahyar-osn/lung-point-generator | 58e6eaf53f40e0c6c80c63bd17e4d6d6f60d72fe | [
"Apache-2.0"
] | null | null | null | src/__init__.py | mahyar-osn/lung-point-generator | 58e6eaf53f40e0c6c80c63bd17e4d6d6f60d72fe | [
"Apache-2.0"
] | null | null | null | __version__ = '0.1'
from .pts_generator import generate
| 14.25 | 35 | 0.77193 |
a368516b6fecb27869fcd4d40a2e770d89ad820d | 341 | h | C | lab5/keyboard.h | reeckset/LCOM_Minix_2017 | 422068bc25d6f50aceb2341e9381af4f4194e6e6 | [
"MIT"
] | null | null | null | lab5/keyboard.h | reeckset/LCOM_Minix_2017 | 422068bc25d6f50aceb2341e9381af4f4194e6e6 | [
"MIT"
] | null | null | null | lab5/keyboard.h | reeckset/LCOM_Minix_2017 | 422068bc25d6f50aceb2341e9381af4f4194e6e6 | [
"MIT"
] | null | null | null | #ifndef _LCOM_KEYBOARD_H_
#define _LCOM_KEYBOARD_H_
int kbd_get_key(unsigned short stopCode);
int kbd_subscribe_int();
int kbd_unsubscribe_int();
int kbd_int_handler(unsigned short);
void processOutputCode(unsigned short scancode);
void processDualOutputCode(unsigned short firstByte, unsigned short scancode);
#endi... | 24.357143 | 78 | 0.824047 |
d68f93a0b39d0e7333e3cfa0d988e1a57b66fdd9 | 2,169 | cs | C# | Utilities/Utilities/Extensions/StringExtension.cs | nbouilhol/bouilhol-lib | fd4027c122397a6fc9f2fffb6c591b064e3823ff | [
"MIT"
] | 2 | 2017-08-08T11:23:22.000Z | 2017-08-08T11:23:32.000Z | Utilities/Utilities/Extensions/StringExtension.cs | nbouilhol/bouilhol-lib | fd4027c122397a6fc9f2fffb6c591b064e3823ff | [
"MIT"
] | null | null | null | Utilities/Utilities/Extensions/StringExtension.cs | nbouilhol/bouilhol-lib | fd4027c122397a6fc9f2fffb6c591b064e3823ff | [
"MIT"
] | null | null | null | using System;
using System.Globalization;
using Utilities.Helpers;
namespace Utilities.Extensions
{
public static class StringExtension
{
public static decimal DistanceToInPercent(this string source, string target)
{
return 1 - ((decimal) Levenshtein.CalculateDistance(source, targe... | 27.455696 | 115 | 0.523744 |
ef801db8c57e586c05854b99ae866dfde2383a73 | 428 | c | C | 08exer/01-soma.c | marcos-bah/language-c | ba17700d59dfdd580ccfdc23919b6c78b1d0bd88 | [
"MIT"
] | null | null | null | 08exer/01-soma.c | marcos-bah/language-c | ba17700d59dfdd580ccfdc23919b6c78b1d0bd88 | [
"MIT"
] | null | null | null | 08exer/01-soma.c | marcos-bah/language-c | ba17700d59dfdd580ccfdc23919b6c78b1d0bd88 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
int soma(int n1, int n2)
{
int soma = 0;
if (n2 >= n1)
{
for (int i = n1 + 1; i < n2; i++)
{
soma += i;
}
}
return soma;
}
int main()
{
int n1, n2;
printf("Digite n1: ");
scanf("%d", &n1);
printf("Digite n2:... | 16.461538 | 65 | 0.450935 |
87109a52c6eaf269a7e539ae0db0201a2fd4e93a | 3,184 | dart | Dart | printing/lib/src/preview/controller.dart | HazemElgohary/dart_pdf | 753c73c67d0f18e9c6090e21bb2e997e9a8f334b | [
"Apache-2.0"
] | null | null | null | printing/lib/src/preview/controller.dart | HazemElgohary/dart_pdf | 753c73c67d0f18e9c6090e21bb2e997e9a8f334b | [
"Apache-2.0"
] | null | null | null | printing/lib/src/preview/controller.dart | HazemElgohary/dart_pdf | 753c73c67d0f18e9c6090e21bb2e997e9a8f334b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2017, David PHAM-VAN <dev.nfet.net@gmail.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 require... | 29.211009 | 75 | 0.715138 |
3feeafb7a82eaf27a2b32c773234a47115d33343 | 12,042 | rb | Ruby | lib/CORL/configuration/file.rb | coralnexus/corl | 43d1e40c7e61231aaef91f7062dc832c05bebc43 | [
"Apache-2.0"
] | 1 | 2015-09-08T04:21:56.000Z | 2015-09-08T04:21:56.000Z | lib/CORL/configuration/file.rb | coralnexus/corl | 43d1e40c7e61231aaef91f7062dc832c05bebc43 | [
"Apache-2.0"
] | null | null | null | lib/CORL/configuration/file.rb | coralnexus/corl | 43d1e40c7e61231aaef91f7062dc832c05bebc43 | [
"Apache-2.0"
] | null | null | null |
module CORL
module Configuration
class File < Nucleon.plugin_class(:CORL, :configuration)
#-----------------------------------------------------------------------------
# Configuration plugin interface
def normalize(reload)
super do
_set(:search, Config.new({}, {}, true, false))
_set(:router, C... | 28.267606 | 107 | 0.571749 |
c191fa7b8969bc5cce2409efbc603612f5314ba2 | 549 | sql | SQL | src/test/resources/com/github/vr_f/sqlparser/select/with_variables.sql | vr-f/sqlparser | 4fc95f53f5781e2feaa0e9813be6bb9ef1fdc21c | [
"MIT"
] | null | null | null | src/test/resources/com/github/vr_f/sqlparser/select/with_variables.sql | vr-f/sqlparser | 4fc95f53f5781e2feaa0e9813be6bb9ef1fdc21c | [
"MIT"
] | null | null | null | src/test/resources/com/github/vr_f/sqlparser/select/with_variables.sql | vr-f/sqlparser | 4fc95f53f5781e2feaa0e9813be6bb9ef1fdc21c | [
"MIT"
] | null | null | null | SELECT category_id, entity_id
FROM (SELECT category_id,
@ce :=
(SELECT entity_id
FROM category_entity cei
WHERE cei.category_id = ced.category_id
AND NOT FIND_IN_SET(entity_id, @r)
ORDER BY RAND()
LIMIT 1) AS entity_id,
... | 39.214286 | 93 | 0.570128 |
fa07f64fd2e732f36b583c07f1bc9aa264706f7c | 7,480 | cpp | C++ | lib/djvViewApp/ViewData.cpp | belzecue/DJV | 94fb63a2f56cc0c41ab5d518ef9f2e0590c295c0 | [
"BSD-3-Clause"
] | 456 | 2018-10-06T00:07:14.000Z | 2022-03-31T06:14:22.000Z | lib/djvViewApp/ViewData.cpp | belzecue/DJV | 94fb63a2f56cc0c41ab5d518ef9f2e0590c295c0 | [
"BSD-3-Clause"
] | 438 | 2018-10-31T15:05:51.000Z | 2022-03-31T09:01:24.000Z | lib/djvViewApp/ViewData.cpp | belzecue/DJV | 94fb63a2f56cc0c41ab5d518ef9f2e0590c295c0 | [
"BSD-3-Clause"
] | 54 | 2018-10-29T10:18:36.000Z | 2022-03-23T06:56:11.000Z | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020 Darby Johnston
// All rights reserved.
#include <djvViewApp/ViewData.h>
#include <djvImage/Color.h>
using namespace djv::Core;
namespace djv
{
namespace ViewApp
{
bool GridOptions::operator == (const GridOptions& other) const
{
... | 36.487805 | 119 | 0.512299 |
99ca74158f0f567b34a22010f6bf7300ffe79a6c | 3,254 | rs | Rust | src/config.rs | camchenry/wikidump | 3a3c0711428497e9bb8cb57a669c0c6a44db8764 | [
"MIT"
] | 2 | 2020-02-24T08:54:39.000Z | 2022-03-22T14:08:55.000Z | src/config.rs | camchenry/wikidump | 3a3c0711428497e9bb8cb57a669c0c6a44db8764 | [
"MIT"
] | null | null | null | src/config.rs | camchenry/wikidump | 3a3c0711428497e9bb8cb57a669c0c6a44db8764 | [
"MIT"
] | null | null | null | //! Wiki text parsing configurations for Mediawiki sites and languages.c
//!
//! These are the currently supported Mediawiki websites and languages:
//! * Wikipedia
//! * English
//! * Simple English Wikipedia
//!
//! ## Example
//! ```rust
//! use wikidump::{config, Parser};
//! let parser = Parser::new()
//! ... | 28.79646 | 86 | 0.388138 |
217fb98e1f1e4209ffee24d7692431231e3d85d9 | 13,073 | js | JavaScript | packages/sw-cache-expiration/src/lib/plugin.js | samdutton/sw-helpers | d779765a8a92d98b552e8f6feeea19dfe30be7d2 | [
"Apache-2.0"
] | 1 | 2021-09-19T22:56:20.000Z | 2021-09-19T22:56:20.000Z | packages/sw-cache-expiration/src/lib/plugin.js | samdutton/sw-helpers | d779765a8a92d98b552e8f6feeea19dfe30be7d2 | [
"Apache-2.0"
] | null | null | null | packages/sw-cache-expiration/src/lib/plugin.js | samdutton/sw-helpers | d779765a8a92d98b552e8f6feeea19dfe30be7d2 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | 33.012626 | 80 | 0.652872 |
23056b47bc2b141b800c1b85117a80b4db3d4a04 | 4,102 | css | CSS | framework/Targets/horde_3_3_12/application/themes/tango-blue/screen.css | UncleWillis/BugBox | 25682f25fc3222db383649a4924bcd65f2ddcb34 | [
"BSD-3-Clause"
] | 1 | 2019-01-25T21:32:42.000Z | 2019-01-25T21:32:42.000Z | framework/Targets/horde_3_3_12/application/themes/tango-blue/screen.css | UncleWillis/BugBox | 25682f25fc3222db383649a4924bcd65f2ddcb34 | [
"BSD-3-Clause"
] | null | null | null | framework/Targets/horde_3_3_12/application/themes/tango-blue/screen.css | UncleWillis/BugBox | 25682f25fc3222db383649a4924bcd65f2ddcb34 | [
"BSD-3-Clause"
] | 1 | 2021-06-23T04:44:25.000Z | 2021-06-23T04:44:25.000Z | /**
* $Horde: horde/themes/tango-blue/screen.css,v 1.13.2.2 2008/06/12 12:37:10 jan Exp $
*/
*, select, body, a, input, textarea, td, td.light, {
font-family: Verdana, sans-serif;
font-size: 9pt;
line-height: 1.5;
}
body {
background: #5d7cba;
}
.smallheader {
background: #efefef none repeat sc... | 16.607287 | 86 | 0.609703 |
1a4af37cf8cda73896c1a3302e394842af811bbf | 971 | py | Python | receiver.py | i-adarsh/Live-Streaming-Video-Chat-App | 2bfac20188694265afc4b59fccae98cdce49e4a8 | [
"MIT"
] | null | null | null | receiver.py | i-adarsh/Live-Streaming-Video-Chat-App | 2bfac20188694265afc4b59fccae98cdce49e4a8 | [
"MIT"
] | null | null | null | receiver.py | i-adarsh/Live-Streaming-Video-Chat-App | 2bfac20188694265afc4b59fccae98cdce49e4a8 | [
"MIT"
] | null | null | null | import socket
import os
import cv2
import pickle
import threading
import struct
def sendImage():
os.system('python sender.py')
t1 = threading.Thread(target=sendImage)
t1.start()
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
host_ip = '192.168.43.6'
port = 9900
client_socket.connect((host_ip... | 21.577778 | 65 | 0.673532 |
daa5955d10163cf8050d4077285f25a85d103a50 | 1,565 | php | PHP | application/views/tutor/alumnos/oportunidades.php | grupodesoft/appwoori | db7f1bd5fda100974ca45e6b2fd10157fb37a7db | [
"MIT"
] | 1 | 2020-02-25T00:24:23.000Z | 2020-02-25T00:24:23.000Z | application/views/tutor/alumnos/oportunidades.php | grupodesoft/sice | db7f1bd5fda100974ca45e6b2fd10157fb37a7db | [
"MIT"
] | null | null | null | application/views/tutor/alumnos/oportunidades.php | grupodesoft/sice | db7f1bd5fda100974ca45e6b2fd10157fb37a7db | [
"MIT"
] | null | null | null | <!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="row">
<div class="col-md-12">
<div class="x_panel">
<div class="x_title">
<h2><strong><?php
if(isset($nombreoportunidad) && ... | 28.981481 | 93 | 0.410863 |
a38693f050b1f56eac624acbb0acc29a8c1b51ad | 1,370 | ts | TypeScript | src/oauth/oauth.guard.ts | open-hotel/sirius-emulator | f852fe3f7bdbd15d713bcb2cf92bb2be28649065 | [
"MIT"
] | 5 | 2020-06-09T04:38:04.000Z | 2021-10-17T22:37:36.000Z | src/oauth/oauth.guard.ts | open-hotel/sirius-emulator | f852fe3f7bdbd15d713bcb2cf92bb2be28649065 | [
"MIT"
] | 4 | 2019-10-18T01:31:50.000Z | 2022-01-22T09:03:31.000Z | src/oauth/oauth.guard.ts | open-hotel/sirius-emulator | f852fe3f7bdbd15d713bcb2cf92bb2be28649065 | [
"MIT"
] | 4 | 2020-04-30T09:09:12.000Z | 2022-03-06T10:34:49.000Z | import {
CanActivate,
ExecutionContext,
Injectable,
Inject,
} from '@nestjs/common';
import { OAuthServerProvider } from './oauth.service';
import * as OAuthServer from 'oauth2-server';
import { Request, Response } from 'express';
const getPublic = (value: Function) =>
Reflect.getMetadata('OAUTH_PUBLIC', val... | 28.541667 | 74 | 0.688321 |
c97c68e254f985faf3d8b297649937bdde7eed4b | 775 | ts | TypeScript | tests/app/validators/required-buffer.spec.ts | Leandro2585/hyperion-api | b2eb4bfc382536a42db86c7b8d3c1f25c9520675 | [
"MIT"
] | 2 | 2021-11-10T20:18:14.000Z | 2022-02-02T01:22:19.000Z | tests/app/validators/required-buffer.spec.ts | Leandro2585/hyperion-api | b2eb4bfc382536a42db86c7b8d3c1f25c9520675 | [
"MIT"
] | null | null | null | tests/app/validators/required-buffer.spec.ts | Leandro2585/hyperion-api | b2eb4bfc382536a42db86c7b8d3c1f25c9520675 | [
"MIT"
] | null | null | null | import { RequiredFieldError } from '@app/errors'
import { RequiredBufferValidator, RequiredValidator } from '@app/validators'
describe('required-buffer validator', () => {
test('should extend required validator', () => {
const sut = new RequiredBufferValidator(Buffer.from(''))
expect(sut).toBeInstanceOf(Req... | 31 | 76 | 0.698065 |
b02cc9d2c38b0fb90a84b88441ab8520e5382bbb | 11,547 | py | Python | skore/skore.py | hackorama/sandbox | 9484b0428c0bdcf5b0556406f9bf98b9d1058d28 | [
"MIT"
] | null | null | null | skore/skore.py | hackorama/sandbox | 9484b0428c0bdcf5b0556406f9bf98b9d1058d28 | [
"MIT"
] | 5 | 2021-03-19T20:18:16.000Z | 2021-06-02T03:37:39.000Z | skore/skore.py | hackorama/sandbox | 9484b0428c0bdcf5b0556406f9bf98b9d1058d28 | [
"MIT"
] | null | null | null | """
Find the DOTA 2 teams with the most combined player score,
where score is defined as the length of a player's recorded history.
"""
import heapq
import logging as log
import sys
from argparse import ArgumentParser, FileType
from datetime import datetime
from operator import itemgetter
from sys import stdout
from ty... | 40.374126 | 119 | 0.606391 |
e4c3cbbb0771ece56dba37d0e4bde7d174ba10c7 | 116 | rs | Rust | src/wild_terrain.rs | 5mattmatt1/generation_iii_rom_editor | 5aa4b6410ad6cfef74cd3609c655b748a621d440 | [
"MIT"
] | null | null | null | src/wild_terrain.rs | 5mattmatt1/generation_iii_rom_editor | 5aa4b6410ad6cfef74cd3609c655b748a621d440 | [
"MIT"
] | null | null | null | src/wild_terrain.rs | 5mattmatt1/generation_iii_rom_editor | 5aa4b6410ad6cfef74cd3609c655b748a621d440 | [
"MIT"
] | null | null | null | #[derive(Eq, PartialEq, Hash, Copy, Clone)]
pub enum WildTerrain
{
Grass,
Water,
Tree,
Fishing
} | 14.5 | 43 | 0.594828 |
75ba6a5e76b09c56aa5181420a763874fd86cfab | 1,041 | css | CSS | src/components/services-brief.module.css | Cea-Personal/IDoJAMStack | 88f9eb645792f1c18c5cbaaccfae8b29937c27a1 | [
"MIT"
] | null | null | null | src/components/services-brief.module.css | Cea-Personal/IDoJAMStack | 88f9eb645792f1c18c5cbaaccfae8b29937c27a1 | [
"MIT"
] | 3 | 2021-09-02T00:58:54.000Z | 2022-02-18T10:10:15.000Z | src/components/services-brief.module.css | basilcea/IDoJAMStack | 88f9eb645792f1c18c5cbaaccfae8b29937c27a1 | [
"MIT"
] | null | null | null |
.servicesDiv{
width:100%;
display:flex;
flex-direction: column;
align-items:center;
background-color:white;
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2),
0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.heading{
font-size:1.5rem;
color:rgb(228, 182 , 210 ,1);
padding-top:10%;
padding... | 20.411765 | 104 | 0.582133 |
a36f5b3b15d74105ecc139b409d3a25c137e92a6 | 3,402 | java | Java | src/main/java/com/github/sergueik/jprotractor/NgBy.java | sergueik/jProtractor | 00ae9dcef44533ea23527e3d83e263c5d73908f1 | [
"MIT"
] | 13 | 2015-12-25T18:19:04.000Z | 2018-10-23T17:35:09.000Z | src/main/java/com/github/sergueik/jprotractor/NgBy.java | sergueik/jProtractor | 00ae9dcef44533ea23527e3d83e263c5d73908f1 | [
"MIT"
] | null | null | null | src/main/java/com/github/sergueik/jprotractor/NgBy.java | sergueik/jProtractor | 00ae9dcef44533ea23527e3d83e263c5d73908f1 | [
"MIT"
] | 3 | 2015-12-30T04:56:02.000Z | 2018-08-23T19:17:00.000Z | package com.github.sergueik.jprotractor;
import java.util.regex.Pattern;
import org.openqa.selenium.By;
import com.github.sergueik.jprotractor.scripts.FindAllRepeaterColumns;
import com.github.sergueik.jprotractor.scripts.FindAllRepeaterRows;
import com.github.sergueik.jprotractor.scripts.FindBindings;
import com.gi... | 33.352941 | 78 | 0.773075 |
6afeaa3a4a35c6bc6375ecb382d75fb7fc6d7630 | 1,869 | h | C | bkserial.h | jnwatts/bksupply | c222e370b180c817318a6b26fb67762d8053412c | [
"MIT"
] | null | null | null | bkserial.h | jnwatts/bksupply | c222e370b180c817318a6b26fb67762d8053412c | [
"MIT"
] | null | null | null | bkserial.h | jnwatts/bksupply | c222e370b180c817318a6b26fb67762d8053412c | [
"MIT"
] | null | null | null | #ifndef BKSERIAL_H
#define BKSERIAL_H
#include <QObject>
#include <QtSerialPort/QSerialPort>
#include <QTimer>
#include <QVector>
#include <functional>
#include <QMap>
class BKSerial : public QObject
{
Q_OBJECT
public:
typedef std::function<void(QStringList)> response_handler_t;
typedef std::function<void... | 24.592105 | 103 | 0.70519 |
5e1de44943a7c8f70d732acc35c34b5c9defaed7 | 851 | rb | Ruby | spec/spec_helper.rb | ryanhouston/elasticsearch-documents | db7d175265111eae7afe27b4d522cfe630f80602 | [
"MIT"
] | null | null | null | spec/spec_helper.rb | ryanhouston/elasticsearch-documents | db7d175265111eae7afe27b4d522cfe630f80602 | [
"MIT"
] | 1 | 2015-10-26T22:23:21.000Z | 2015-10-27T13:51:03.000Z | spec/spec_helper.rb | ryanhouston/elasticsearch-documents | db7d175265111eae7afe27b4d522cfe630f80602 | [
"MIT"
] | 1 | 2018-07-20T20:53:01.000Z | 2018-07-20T20:53:01.000Z | require 'elasticsearch-documents'
def reset_configuration
Elasticsearch::Extensions::Documents.configuration = nil
configure_documents
end
def configure_documents
Elasticsearch::Extensions::Documents.configure do |config|
config.index_name = 'test_index'
config.settings = :fake_settings
config.map... | 21.275 | 76 | 0.753231 |
938aaa6453503b6d45e9d6a261691ec57c618b7a | 1,287 | cs | C# | ShiroiCutscenes-Runtime/Tokens/WaitForSecondsToken.cs | LunariStudios/ShiroiCutscenes | 77795a64b44f11183b8c5df83d805bd0694a6f58 | [
"MIT"
] | 13 | 2019-01-11T03:20:48.000Z | 2022-03-27T04:23:52.000Z | ShiroiCutscenes-Runtime/Tokens/WaitForSecondsToken.cs | BrunoSilvaFreire/ShiroiCutscenes | 77795a64b44f11183b8c5df83d805bd0694a6f58 | [
"MIT"
] | 6 | 2018-01-29T17:32:37.000Z | 2018-05-16T13:43:33.000Z | ShiroiCutscenes-Runtime/Tokens/WaitForSecondsToken.cs | BrunoSilvaFreire/ShiroiCutscenes | 77795a64b44f11183b8c5df83d805bd0694a6f58 | [
"MIT"
] | 5 | 2019-03-21T08:44:19.000Z | 2022-03-13T11:36:20.000Z | using System.Collections;
using System.Collections.Generic;
using JetBrains.Annotations;
using UnityEngine;
namespace Shiroi.Cutscenes.Tokens {
[UsedImplicitly]
public class WaitForSecondsToken : Token, ISkippable {
public float Duration;
public bool Realtime;
private readonly Dictiona... | 29.25 | 113 | 0.609946 |
4433e8419f604d8ad0a64c95181753f481dee03d | 4,315 | py | Python | teras/dataset/loader.py | chantera/nlplibs-py | 413c90ba85beeaf062cb451fdb92eb4273b4d5bf | [
"MIT"
] | 8 | 2017-07-02T14:24:18.000Z | 2021-12-18T08:17:41.000Z | teras/dataset/loader.py | chantera/nlplibs-py | 413c90ba85beeaf062cb451fdb92eb4273b4d5bf | [
"MIT"
] | 1 | 2018-03-01T10:18:45.000Z | 2018-03-01T13:59:47.000Z | teras/dataset/loader.py | chantera/nlplibs-py | 413c90ba85beeaf062cb451fdb92eb4273b4d5bf | [
"MIT"
] | 4 | 2019-01-22T01:03:05.000Z | 2020-05-26T07:45:20.000Z | from abc import ABC, abstractmethod
from teras.dataset.dataset import Dataset, BucketDataset
from teras.io.cache import Cache
from teras.preprocessing import text
class Loader(ABC):
def load(self, file):
raise NotImplementedError
class TextLoader(Loader):
def __init__(self, reader):
self.... | 30.602837 | 75 | 0.581228 |
ba41d269453ece7751b98fe1f6ec8c087f390711 | 3,032 | swift | Swift | DD_Swift4.0/Class/View/DDBaseView.swift | DanDanXiaoMu/aSwiftProject | b85588d6d4d971096738009514f233b5e01d5d8e | [
"Apache-2.0"
] | 1 | 2017-12-20T06:02:40.000Z | 2017-12-20T06:02:40.000Z | DD_Swift4.0/Class/View/DDBaseView.swift | DanDanXiaoMu/aSwiftProject | b85588d6d4d971096738009514f233b5e01d5d8e | [
"Apache-2.0"
] | null | null | null | DD_Swift4.0/Class/View/DDBaseView.swift | DanDanXiaoMu/aSwiftProject | b85588d6d4d971096738009514f233b5e01d5d8e | [
"Apache-2.0"
] | null | null | null | //
// DDBaseView.swift
// Demo
//
// Created by DDCJ_XiaoZhu on 2017/11/13.
// Copyright © 2017年 DDCJ_XiaoZhu. All rights reserved.
//
import UIKit
import MJRefresh
class DDBaseView: UIView {
var currentVc = DDBaseViewController()
public lazy var ModelMeArr : [joke] = [joke]()
lazy var DDTableView:UIT... | 34.850575 | 129 | 0.663259 |
cd49baf26c5e1d21f0240e823d84df6af8c2e929 | 151 | cs | C# | LibraCore/Components/ShooterComponent.cs | KamiNeko/Libra | 96bea89c923ed80ae9938dff4ee5e651c39402d5 | [
"MIT"
] | 2 | 2020-07-04T16:44:30.000Z | 2020-08-18T05:54:38.000Z | LibraCore/Components/ShooterComponent.cs | KamiNeko/Libra | 96bea89c923ed80ae9938dff4ee5e651c39402d5 | [
"MIT"
] | null | null | null | LibraCore/Components/ShooterComponent.cs | KamiNeko/Libra | 96bea89c923ed80ae9938dff4ee5e651c39402d5 | [
"MIT"
] | 1 | 2019-11-03T21:12:19.000Z | 2019-11-03T21:12:19.000Z | using Nez;
namespace LibraCore.Components
{
public class ShooterComponent : Component
{
public int Health { get; set; } = 5;
}
}
| 15.1 | 45 | 0.622517 |
af7eeb01ba090c1df7956b9471b4ad665d3d68af | 1,622 | py | Python | lisrd/datasets/utils/data_reader.py | liuyuzhenn/LISRD | bfd890b81defebea971db0b744be617ed58f5ffa | [
"MIT"
] | 225 | 2020-07-20T10:15:41.000Z | 2022-03-04T15:07:26.000Z | lisrd/datasets/utils/data_reader.py | liuyuzhenn/LISRD | bfd890b81defebea971db0b744be617ed58f5ffa | [
"MIT"
] | 15 | 2020-07-25T02:54:38.000Z | 2022-03-12T13:39:19.000Z | lisrd/datasets/utils/data_reader.py | liuyuzhenn/LISRD | bfd890b81defebea971db0b744be617ed58f5ffa | [
"MIT"
] | 21 | 2020-07-23T00:33:04.000Z | 2022-03-26T12:48:57.000Z | import csv
import numpy as np
import cv2
def resize_and_crop(image, img_size):
""" Resize an image to the given img_size by first rescaling it
and then applying a central crop to fit the given dimension. """
source_size = np.array(image.shape[:2], dtype=float)
target_size = np.array(img_size, dtyp... | 33.791667 | 78 | 0.606658 |
22019dd8d49129b54763de2c742999545f96c336 | 3,599 | sql | SQL | oracle/ora/ash/ashcorr.sql | hyee/dbcli | a39fdffdc5a15b9a6e17dc8e6e852003a8dedf0d | [
"MIT"
] | 44 | 2015-05-07T16:11:03.000Z | 2021-09-19T08:59:20.000Z | oracle/ora/ash/ashcorr.sql | hyee/dbcli | a39fdffdc5a15b9a6e17dc8e6e852003a8dedf0d | [
"MIT"
] | 8 | 2015-05-08T03:38:03.000Z | 2020-05-22T11:00:47.000Z | oracle/ora/ash/ashcorr.sql | hyee/dbcli | a39fdffdc5a15b9a6e17dc8e6e852003a8dedf0d | [
"MIT"
] | 24 | 2015-05-07T16:17:41.000Z | 2022-01-02T13:10:29.000Z | /*[[Show the coefficient of correlation against the ASH. Usage: @@NAME "<keyword>" [yymmddhh24mi] [yymmddhh24mi] [-dash]
--[[
&V2: default={&starttime}
&V3: default={&endtime}
&ASH: default={gv$active_Session_history} dash={dba_hist_active_sess_history}
@binst: 11={'@'|| BLOCKING_IN... | 49.986111 | 173 | 0.511531 |
fc0ed3b8da07f541c44d53b007aef87626492c45 | 3,442 | swift | Swift | Sources/GBLPing/GBLPingService/GBLPingService+PingHostnameForcingIPVersion.swift | GigabiteLabs/GBLPing | 64efe8bba973eb0db406c011ac789b23ad98e3a5 | [
"BSD-4-Clause-UC"
] | 1 | 2022-02-17T11:43:50.000Z | 2022-02-17T11:43:50.000Z | Sources/GBLPing/GBLPingService/GBLPingService+PingHostnameForcingIPVersion.swift | GigabiteLabs/GBLPing | 64efe8bba973eb0db406c011ac789b23ad98e3a5 | [
"BSD-4-Clause-UC"
] | 1 | 2020-05-09T02:24:18.000Z | 2020-05-09T02:24:18.000Z | Sources/GBLPing/GBLPingService/GBLPingService+PingHostnameForcingIPVersion.swift | GigabiteLabs/GBLPing | 64efe8bba973eb0db406c011ac789b23ad98e3a5 | [
"BSD-4-Clause-UC"
] | null | null | null | // GBLPingService+ForcingIPVersion.swift
//
// Created by GigabiteLabs on 9/29/20
// Swift Version: 5.0
// Copyright © 2020 GigabiteLabs. All rights reserved.
//
import Foundation
extension GBLPingService {
/// Pings a hostname continuously until either stopped or
/// deallocated by the operating system. Ping... | 42.493827 | 108 | 0.651365 |
a4869d665cb32361a5bd98580379b43ae3a7e7b5 | 1,039 | php | PHP | src/Dashboard/Widgets/SharpBarGraphWidget.php | Insolita/sharp | a4cfa8ca1882b8edfc410e00bdd88c2ac3d3213f | [
"MIT"
] | 582 | 2017-06-06T16:29:14.000Z | 2022-03-31T19:51:19.000Z | src/Dashboard/Widgets/SharpBarGraphWidget.php | Insolita/sharp | a4cfa8ca1882b8edfc410e00bdd88c2ac3d3213f | [
"MIT"
] | 248 | 2017-09-06T13:26:50.000Z | 2022-03-16T08:20:54.000Z | src/Dashboard/Widgets/SharpBarGraphWidget.php | Insolita/sharp | a4cfa8ca1882b8edfc410e00bdd88c2ac3d3213f | [
"MIT"
] | 83 | 2017-09-05T07:32:48.000Z | 2022-03-25T10:59:19.000Z | <?php
namespace Code16\Sharp\Dashboard\Widgets;
class SharpBarGraphWidget extends SharpGraphWidget
{
protected bool $horizontal = false;
protected bool $displayHorizontalAxisAsTimeline = false;
public static function make(string $key): SharpBarGraphWidget
{
$widget = new static($key, 'graph')... | 24.162791 | 92 | 0.596728 |
b3255969a11829d4eca51fcd63512dfdf22efcd3 | 214 | py | Python | reports/serializers.py | mohammadanarul/drf-blog-api | 25d6d72235b2d995639ac1eed5367cf6a8a1535c | [
"MIT"
] | null | null | null | reports/serializers.py | mohammadanarul/drf-blog-api | 25d6d72235b2d995639ac1eed5367cf6a8a1535c | [
"MIT"
] | null | null | null | reports/serializers.py | mohammadanarul/drf-blog-api | 25d6d72235b2d995639ac1eed5367cf6a8a1535c | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import PostReport
class PostReportSerializer(serializers.ModelSerializer):
class Meta:
model = PostReport
fields = ['post', 'user', 'body']
| 23.777778 | 56 | 0.719626 |
bebb64910598906b9cc7d54a5cd9f7c93072d3b5 | 207 | ts | TypeScript | src/ui-carto/geocoding/service.common.ts | farfromrefug/nativescript-carto | 811af23c102a03a983822342d8fc7223ccb030a1 | [
"Apache-2.0"
] | null | null | null | src/ui-carto/geocoding/service.common.ts | farfromrefug/nativescript-carto | 811af23c102a03a983822342d8fc7223ccb030a1 | [
"Apache-2.0"
] | null | null | null | src/ui-carto/geocoding/service.common.ts | farfromrefug/nativescript-carto | 811af23c102a03a983822342d8fc7223ccb030a1 | [
"Apache-2.0"
] | null | null | null | import { BaseNative } from '../BaseNative';
import { GeocodingServiceOptions } from './service';
export abstract class BaseGeocodingService<T, U extends GeocodingServiceOptions> extends BaseNative<T, U> {}
| 41.4 | 108 | 0.772947 |
7ec91fac751641be2f6eadf4d514e48e2efccce9 | 1,389 | dart | Dart | apps/modules/common/packages/widgets/lib/src/youtube/youtube_video.dart | bleonard252-forks/pangolin-mobile | 392df6c8a66d39f31d0e2512caf3d31ae40c758f | [
"Apache-2.0"
] | null | null | null | apps/modules/common/packages/widgets/lib/src/youtube/youtube_video.dart | bleonard252-forks/pangolin-mobile | 392df6c8a66d39f31d0e2512caf3d31ae40c758f | [
"Apache-2.0"
] | null | null | null | apps/modules/common/packages/widgets/lib/src/youtube/youtube_video.dart | bleonard252-forks/pangolin-mobile | 392df6c8a66d39f31d0e2512caf3d31ae40c758f | [
"Apache-2.0"
] | null | null | null | // Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:meta/meta.dart';
import 'package:widgets_meta/widgets_meta.dart';
import 'youtube_comments_list.da... | 24.803571 | 73 | 0.654428 |
8b7ef8fa2ba9b23f7639eed8448b27e73606e9f1 | 4,631 | dart | Dart | packages/firebase_performance/firebase_performance/lib/src/http_metric.dart | demirdev/flutterfire | f1fda2b661a61020e0e8ea3df9964d50a6d67c7e | [
"BSD-3-Clause"
] | 28 | 2022-03-23T23:24:24.000Z | 2022-03-31T19:54:43.000Z | packages/firebase_performance/firebase_performance/lib/src/http_metric.dart | demirdev/flutterfire | f1fda2b661a61020e0e8ea3df9964d50a6d67c7e | [
"BSD-3-Clause"
] | 94 | 2022-03-24T01:03:38.000Z | 2022-03-31T21:03:18.000Z | packages/firebase_performance/firebase_performance/lib/src/http_metric.dart | demirdev/flutterfire | f1fda2b661a61020e0e8ea3df9964d50a6d67c7e | [
"BSD-3-Clause"
] | 31 | 2022-03-24T05:28:04.000Z | 2022-03-31T21:02:03.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
part of firebase_performance;
/// Metric used to collect data for network requests/responses.
///
/// It is possible to have more than one [HttpMetric] r... | 35.623077 | 79 | 0.717556 |
d67381608fddd7fcac9e0e20279346a470b49808 | 431 | cs | C# | Antrv.FFMpeg/Interop/libavutil/frame.h/AVFrameSideData.cs | antrv/ffmpeg-net | 24d009f473fe3f5cfb01d15d5d16294e9038e82f | [
"MIT"
] | null | null | null | Antrv.FFMpeg/Interop/libavutil/frame.h/AVFrameSideData.cs | antrv/ffmpeg-net | 24d009f473fe3f5cfb01d15d5d16294e9038e82f | [
"MIT"
] | null | null | null | Antrv.FFMpeg/Interop/libavutil/frame.h/AVFrameSideData.cs | antrv/ffmpeg-net | 24d009f473fe3f5cfb01d15d5d16294e9038e82f | [
"MIT"
] | null | null | null | namespace Antrv.FFMpeg.Interop;
/// <summary>
/// Structure to hold side data for an AVFrame.
///
/// sizeof(AVFrameSideData) is not a part of the public ABI, so new fields may be added
/// to the end with a minor bump.
/// </summary>
public struct AVFrameSideData
{
public AVFrameSideDataType Type;
public Pt... | 25.352941 | 87 | 0.705336 |
147ae42f95bf6ac61bcd1d7f039063d9c8269ebe | 3,203 | tsx | TypeScript | pwa/components/common/actionmenu.tsx | ConductionNL/pwa-pip-nijmegen | 6155711498afcf979ecff71fde3ff2bc3f645b81 | [
"MIT"
] | null | null | null | pwa/components/common/actionmenu.tsx | ConductionNL/pwa-pip-nijmegen | 6155711498afcf979ecff71fde3ff2bc3f645b81 | [
"MIT"
] | null | null | null | pwa/components/common/actionmenu.tsx | ConductionNL/pwa-pip-nijmegen | 6155711498afcf979ecff71fde3ff2bc3f645b81 | [
"MIT"
] | null | null | null | import React from 'react';
import makeStyles from '@mui/styles/makeStyles';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import Divider from '@mui/material/Divider';
imp... | 32.353535 | 108 | 0.659382 |
43f27ed2ba59ec636bff8aad14ba23825f1ad0ff | 2,670 | ts | TypeScript | src/referables/Property.ts | SAP/i40-aas-objects | f3f0e3583fa93e0e3212504eba8a7608957d1f61 | [
"Apache-2.0"
] | 7 | 2019-11-13T14:27:35.000Z | 2021-06-16T09:42:33.000Z | src/referables/Property.ts | SAP/i40-aas-objects | f3f0e3583fa93e0e3212504eba8a7608957d1f61 | [
"Apache-2.0"
] | 5 | 2020-01-17T16:32:55.000Z | 2021-09-15T14:18:29.000Z | src/referables/Property.ts | SAP/i40-aas-objects | f3f0e3583fa93e0e3212504eba8a7608957d1f61 | [
"Apache-2.0"
] | 2 | 2020-01-14T21:10:37.000Z | 2022-02-27T18:41:44.000Z | import { KindEnum } from '../types/KindEnum';
import { IReference, Reference } from '../baseClasses/Reference';
import { IEmbeddedDataSpecification } from '../baseClasses/EmbeddedDataSpecification';
import { IModelType } from '../baseClasses/ModelType';
import { ILangString } from '../baseClasses/LangString';
import { ... | 30.340909 | 86 | 0.62397 |
6dd9fff25d53ffefd3ecdcae8d3b118d22beaaab | 1,866 | c | C | One/Quick_Gather.c | yellowzhou-person/Algorithm | 00c8782ac35820b88e75621685acb23001466347 | [
"MIT"
] | 70 | 2016-07-29T08:24:21.000Z | 2021-12-01T02:28:11.000Z | One/Quick_Gather.c | yellowzhou-person/Algorithm | 00c8782ac35820b88e75621685acb23001466347 | [
"MIT"
] | null | null | null | One/Quick_Gather.c | yellowzhou-person/Algorithm | 00c8782ac35820b88e75621685acb23001466347 | [
"MIT"
] | 34 | 2016-09-01T09:57:04.000Z | 2021-12-01T02:28:12.000Z |
/*当重复数值较多时,把与基准点相同的数据聚合在一起 ,不进行下一趟排序*/
#include <stdio.h>
void Quick(int *arr, int first, int end);
int main(int argc, char const *argv[])
{
int arr[10] = {10, 58, 36, 1, 45, 64, 14, 200, 11, 69};
int len = sizeof(arr) / sizeof(arr[0]);
Quick(arr, 0, len - 1);
int i = 0;
for (; i < len; i++... | 20.733333 | 81 | 0.43194 |
39254d6813611e3ab21aad6633d9ba9ebcd6f15c | 2,529 | py | Python | todb.py | HackNJIT/HackNJIT.github.io | a0cd7978f2576f28b010929c1ccea430c72cccad | [
"MIT"
] | null | null | null | todb.py | HackNJIT/HackNJIT.github.io | a0cd7978f2576f28b010929c1ccea430c72cccad | [
"MIT"
] | null | null | null | todb.py | HackNJIT/HackNJIT.github.io | a0cd7978f2576f28b010929c1ccea430c72cccad | [
"MIT"
] | null | null | null | import paho.mqtt.client as mqtt
import mysql.connector
from mysql.connector import Error
from datetime import datetime
import os
import time
add_temp = ("INSERT INTO temp "
"(temp, time) "
"VALUES (%s, %s)")
add_moist = ("INSERT INTO moisture "
"(moisture, time) "
... | 28.738636 | 71 | 0.585607 |
583872abbb8d4fc9198bbe533ea71f05a793e00c | 543 | css | CSS | src/qt/res/ewc/css/style.css | cvsae/vcoincore | 3e5c7c9989f456d9e31eac278d53029781ac7c8a | [
"MIT"
] | 7 | 2016-05-29T13:09:13.000Z | 2020-05-23T09:27:02.000Z | src/qt/res/ewc/css/style.css | cvsae/vcoincore | 3e5c7c9989f456d9e31eac278d53029781ac7c8a | [
"MIT"
] | 4 | 2016-06-02T13:27:58.000Z | 2016-07-21T16:11:23.000Z | src/qt/res/ewc/css/style.css | cvsae/vcoincore | 3e5c7c9989f456d9e31eac278d53029781ac7c8a | [
"MIT"
] | 6 | 2016-05-29T13:12:50.000Z | 2020-08-24T22:16:10.000Z | body {
margin-left: 50px;
margin-right: 50px;
}
textarea {
resize: none;
}
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out
}
@keyframes octocat-wave {
0%, 100% {
transform: rotate(0)
}
20%, 60% {
transform: rotate(-25deg)
}
40%, 80% {
... | 15.970588 | 49 | 0.561694 |
383e93f35ff1bd7fee3171068bef72198b3ff134 | 937 | php | PHP | database/migrations/2017_06_29_162730_create_reactivos_table.php | danielboy/voy | f661e8f7eb67c06c4a66133c09f32d117a6fc0a1 | [
"MIT"
] | null | null | null | database/migrations/2017_06_29_162730_create_reactivos_table.php | danielboy/voy | f661e8f7eb67c06c4a66133c09f32d117a6fc0a1 | [
"MIT"
] | null | null | null | database/migrations/2017_06_29_162730_create_reactivos_table.php | danielboy/voy | f661e8f7eb67c06c4a66133c09f32d117a6fc0a1 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateReactivosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('reactivos', f... | 22.853659 | 71 | 0.53682 |
a3288b115059ce54f8236e6c3b4a181e6eb80c8a | 966 | java | Java | src/modul3_opgaver/assignments/Assignment5_3.java | Benz56/Modul3_Opgaver | 4b748a22cfe12ce391e5801ea67bc3021ca3464f | [
"MIT"
] | null | null | null | src/modul3_opgaver/assignments/Assignment5_3.java | Benz56/Modul3_Opgaver | 4b748a22cfe12ce391e5801ea67bc3021ca3464f | [
"MIT"
] | null | null | null | src/modul3_opgaver/assignments/Assignment5_3.java | Benz56/Modul3_Opgaver | 4b748a22cfe12ce391e5801ea67bc3021ca3464f | [
"MIT"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package modul3_opgaver.assignments;
import java.util.Scanner;
public class Assignment5_3 extends AbstractAssignment {
public Ass... | 31.16129 | 97 | 0.60766 |
6b30ee727af8bcd80f69d07280c034205c645a36 | 319 | js | JavaScript | src/views/Group/common/context/GroupProvider.js | qulam/react-rbac | ae653ec52658d9a3c17edd47f41f9a0d50c4377a | [
"MIT"
] | null | null | null | src/views/Group/common/context/GroupProvider.js | qulam/react-rbac | ae653ec52658d9a3c17edd47f41f9a0d50c4377a | [
"MIT"
] | null | null | null | src/views/Group/common/context/GroupProvider.js | qulam/react-rbac | ae653ec52658d9a3c17edd47f41f9a0d50c4377a | [
"MIT"
] | 1 | 2022-01-06T07:04:55.000Z | 2022-01-06T07:04:55.000Z | import GroupContext from "./GroupContext";
import {useGroup} from "./hooks";
const GroupProvider = ({children}) => {
const providerProps = useGroup();
return (
<GroupContext.Provider value={providerProps}>
{children}
</GroupContext.Provider>
)
};
export default GroupProvider; | 22.785714 | 53 | 0.648903 |
3f30c13f2a3c6e6c9a2775b9eac93492e3684c61 | 2,060 | php | PHP | inc/story-map-page.php | aparabolica/amazon-rivers-wptheme | cc0b8db357dac814c389a80229b1d0baa60a62cf | [
"MIT"
] | null | null | null | inc/story-map-page.php | aparabolica/amazon-rivers-wptheme | cc0b8db357dac814c389a80229b1d0baa60a62cf | [
"MIT"
] | null | null | null | inc/story-map-page.php | aparabolica/amazon-rivers-wptheme | cc0b8db357dac814c389a80229b1d0baa60a62cf | [
"MIT"
] | null | null | null | <?php
/*
* ARP Story Map Page
*/
class ARP_Story_Map_Page {
function __construct() {
add_action('init', array($this, 'register_field_group'));
}
function get_text_field() {
$field = 'text';
if(function_exists('qtranxf_generateLanguageSelectCode')) {
$field = 'qtranslate_text';
}
re... | 26.410256 | 119 | 0.447573 |
b02d976d10c624b431369b3e9150b7d4b8066db4 | 6,515 | py | Python | desertbot/modules/urlfollow/Steam.py | Helle-Daryd/DesertBot | 0b497db135a4c08dfbdb59108f830ba12fdc6465 | [
"MIT",
"BSD-3-Clause"
] | 7 | 2018-03-20T17:10:10.000Z | 2021-11-17T18:58:04.000Z | desertbot/modules/urlfollow/Steam.py | Helle-Daryd/DesertBot | 0b497db135a4c08dfbdb59108f830ba12fdc6465 | [
"MIT",
"BSD-3-Clause"
] | 109 | 2015-08-20T13:16:35.000Z | 2022-01-21T19:40:35.000Z | desertbot/modules/urlfollow/Steam.py | Helle-Daryd/DesertBot | 0b497db135a4c08dfbdb59108f830ba12fdc6465 | [
"MIT",
"BSD-3-Clause"
] | 7 | 2018-03-29T05:55:01.000Z | 2021-02-05T19:19:39.000Z | """
Created on Jan 26, 2014
@author: StarlitGhost
"""
import re
from twisted.plugin import IPlugin
from twisted.words.protocols.irc import assembleFormattedText as colour, attributes as A
from zope.interface import implementer
from desertbot.message import IRCMessage
from desertbot.moduleinterface import IModule
fro... | 36.396648 | 99 | 0.540906 |
f390455d6dae396d6c425a30bfd82c292bc3af9a | 2,595 | rs | Rust | mqtt3/src/error.rs | RemakeAONTeam/rust-mq | c5ed369adcb408a690e89d458b8c097ab3209e31 | [
"MIT"
] | 210 | 2016-02-24T13:19:31.000Z | 2022-03-08T14:46:57.000Z | mqtt3/src/error.rs | RemakeAONTeam/rust-mq | c5ed369adcb408a690e89d458b8c097ab3209e31 | [
"MIT"
] | 23 | 2016-04-17T22:30:08.000Z | 2021-01-31T04:58:14.000Z | mqtt3/src/error.rs | RemakeAONTeam/rust-mq | c5ed369adcb408a690e89d458b8c097ab3209e31 | [
"MIT"
] | 42 | 2016-04-22T08:19:42.000Z | 2021-06-25T06:51:47.000Z | use std::result;
use std::io;
use std::fmt;
use std::error;
use std::string::FromUtf8Error;
use byteorder;
pub type Result<T> = result::Result<T, Error>;
#[derive(Debug)]
pub enum Error {
IncorrectPacketFormat,
InvalidTopicPath,
UnsupportedProtocolName,
UnsupportedProtocolVersion,
UnsupportedQuali... | 30.892857 | 93 | 0.633141 |
e72e1ecb7ab1c9cdd2ff3ffad47b106696caadae | 962 | php | PHP | app/Integrante.php | luiscarlosmarca/app-prae | 7b04075c778eae14da2ff3988091f7c9542f3354 | [
"MIT"
] | null | null | null | app/Integrante.php | luiscarlosmarca/app-prae | 7b04075c778eae14da2ff3988091f7c9542f3354 | [
"MIT"
] | null | null | null | app/Integrante.php | luiscarlosmarca/app-prae | 7b04075c778eae14da2ff3988091f7c9542f3354 | [
"MIT"
] | null | null | null | <?php namespace App;
use Illuminate\Database\Eloquent\Model;
use App\Integrante;
use Illuminate\Support\Facades\Session;
class Integrante extends Model {
protected $table="integrantes";
protected $fillable = ['nombre','apellido','foto','rol','tipoDoc','direccion','telefono','id','email','observaciones','numDoc'];
... | 18.862745 | 129 | 0.617464 |
d6a779815069ef262e570d3c455f29f05b18e519 | 7,046 | swift | Swift | Dailye/View/Tabs/SettingsView.swift | GeorgeiGoncharik/Itra-Coursework | 7df1c78d0548a67a385df61d1bc8d4cb48617b66 | [
"MIT"
] | null | null | null | Dailye/View/Tabs/SettingsView.swift | GeorgeiGoncharik/Itra-Coursework | 7df1c78d0548a67a385df61d1bc8d4cb48617b66 | [
"MIT"
] | null | null | null | Dailye/View/Tabs/SettingsView.swift | GeorgeiGoncharik/Itra-Coursework | 7df1c78d0548a67a385df61d1bc8d4cb48617b66 | [
"MIT"
] | null | null | null | //
// SettingsView.swift
// Dailye
//
// Created by Mac on 17.01.21.
//
import SwiftUI
struct SettingsView: View {
@StateObject private var viewModel = SettingsViewModel()
@State private var showDetailCountry = false
@State private var showDetailLanguage = false
var body: some View {
N... | 41.204678 | 194 | 0.367017 |
c999e739a08c562a756f1c71e5a3dce944beccd2 | 3,564 | ts | TypeScript | src/auth/auth.service.ts | mohdalivas/iconnect_backend | ffa2c0f88d42f6df0e7750eaa3dbb9d9c87b3bb6 | [
"MIT"
] | null | null | null | src/auth/auth.service.ts | mohdalivas/iconnect_backend | ffa2c0f88d42f6df0e7750eaa3dbb9d9c87b3bb6 | [
"MIT"
] | null | null | null | src/auth/auth.service.ts | mohdalivas/iconnect_backend | ffa2c0f88d42f6df0e7750eaa3dbb9d9c87b3bb6 | [
"MIT"
] | null | null | null | import { Injectable, UnprocessableEntityException } from '@nestjs/common';
import { CreateAuthDto } from './auth.dto';
import { UsersService } from '../users/users.service';
import { JwtService } from '@nestjs/jwt';
import * as bcrypt from 'bcryptjs';
@Injectable()
export class AuthService {
constructor(
private... | 36.367347 | 170 | 0.575758 |
e3477dce037afd74a8f9d790883788fbb45ecd74 | 919 | rb | Ruby | spec/unit/data-import/logger_spec.rb | stmichael/data-import | ef93894ec548f237ef07a3d82298f5a6975643e5 | [
"MIT"
] | 9 | 2015-01-02T14:35:18.000Z | 2020-02-21T15:43:12.000Z | spec/unit/data-import/logger_spec.rb | stmichael/data-import | ef93894ec548f237ef07a3d82298f5a6975643e5 | [
"MIT"
] | null | null | null | spec/unit/data-import/logger_spec.rb | stmichael/data-import | ef93894ec548f237ef07a3d82298f5a6975643e5 | [
"MIT"
] | 3 | 2015-04-20T14:25:17.000Z | 2018-01-31T15:15:51.000Z | require 'unit/spec_helper'
describe DataImport::Logger do
let(:important) { double }
let(:full) { double }
subject { described_class.new(full, important) }
it 'writes debug and info messages only to the full logger' do
full.should_receive(:debug).with('debug message')
full.should_receive(:info).with('... | 31.689655 | 64 | 0.718172 |
bb7434ae546438f1a499f516b02d9c09acf3218c | 1,283 | cshtml | C# | src/DunderMifflinInfinity.WebApp/Views/Sales/Index.cshtml | jordanbean-msft/AspNetCoreAppRolesFineGrainedApi | e30e68215018a29e221dab2387e7b588e19a650d | [
"MIT"
] | 2 | 2022-01-20T21:28:20.000Z | 2022-01-25T16:49:32.000Z | src/DunderMifflinInfinity.WebApp/Views/Sales/Index.cshtml | jordanbean-msft/AspNetCoreAppRolesFineGrainedApi | e30e68215018a29e221dab2387e7b588e19a650d | [
"MIT"
] | null | null | null | src/DunderMifflinInfinity.WebApp/Views/Sales/Index.cshtml | jordanbean-msft/AspNetCoreAppRolesFineGrainedApi | e30e68215018a29e221dab2387e7b588e19a650d | [
"MIT"
] | null | null | null | @model IEnumerable<DunderMifflinInfinity.WebApp.Models.Sale>
@{
ViewData["Title"] = "Index";
}
<h1>Index</h1>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Employee.Branch)
</th>
... | 26.729167 | 124 | 0.476228 |
74bce5d9f3ddb352f04f0bccd1f14a39dd43ed64 | 7,568 | css | CSS | lib/dump.css | MysticalPa/muledump-master | 771821ad76e2f040fd05ff076f148ed96e56c20c | [
"Unlicense"
] | null | null | null | lib/dump.css | MysticalPa/muledump-master | 771821ad76e2f040fd05ff076f148ed96e56c20c | [
"Unlicense"
] | null | null | null | lib/dump.css | MysticalPa/muledump-master | 771821ad76e2f040fd05ff076f148ed96e56c20c | [
"Unlicense"
] | null | null | null | body {
background-color: #363636;
color: #b3b3b3;
padding: 10px;
margin: 0;
font-size: 11px;
line-height: 1.2;
cursor: default;
font-family: Arial, sans-serif;
min-height: 100vh;
}
#bgImage {
width: 100vw;
height: 100vh;
position: fixed;
background-size: cover;
t... | 14.810176 | 94 | 0.592759 |
8323cbb4090ad8fd1f46538177e16c4161ecd67b | 1,140 | ts | TypeScript | src/blockchain/xsnx/asset.ts | xtokenmarket/xtoken-js | 86ca213c17123896017a5839ccf262905f5120f9 | [
"MIT"
] | 1 | 2021-02-02T08:01:56.000Z | 2021-02-02T08:01:56.000Z | src/blockchain/xsnx/asset.ts | xtokenmarket/xtoken-js | 86ca213c17123896017a5839ccf262905f5120f9 | [
"MIT"
] | 1 | 2021-01-05T09:55:34.000Z | 2021-01-05T12:12:33.000Z | src/blockchain/xsnx/asset.ts | xtokenmarket/xtoken-js | 86ca213c17123896017a5839ccf262905f5120f9 | [
"MIT"
] | 1 | 2021-01-25T02:11:35.000Z | 2021-01-25T02:11:35.000Z | import { BaseProvider } from '@ethersproject/providers'
import { ADDRESSES, X_SNX_A, X_SNX_ADMIN } from '@xtoken/abis'
import { Contract } from 'ethers'
import { ExchangeRates } from '../../types'
import { IAsset } from '../../types/xToken'
import { getExchangeRateContract } from '../utils'
import { getXSnxContracts ... | 24.255319 | 63 | 0.697368 |
0dd2dbb5153ff27fdfce52c89850524497d2cea3 | 1,526 | cs | C# | VinylStop/Migrations/20180516020757_ChangeRecordToAlbum.cs | davidm5963/Vinyl-Stop | 9dbe4b4b27adadd6679b3c13a9f65cd9f2e8bb7d | [
"MIT"
] | 2 | 2018-07-18T15:01:03.000Z | 2019-10-27T05:53:27.000Z | VinylStop/Migrations/20180516020757_ChangeRecordToAlbum.cs | davidm5963/Vinyl-Stop | 9dbe4b4b27adadd6679b3c13a9f65cd9f2e8bb7d | [
"MIT"
] | null | null | null | VinylStop/Migrations/20180516020757_ChangeRecordToAlbum.cs | davidm5963/Vinyl-Stop | 9dbe4b4b27adadd6679b3c13a9f65cd9f2e8bb7d | [
"MIT"
] | null | null | null | using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace VinylStop.Migrations
{
public partial class ChangeRecordToAlbum : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
... | 29.921569 | 71 | 0.529489 |
185f07f54a568141aea8f7a8483cca405c889403 | 3,670 | swift | Swift | dSRelay/Classes/Device.swift | Label305/dSRelay | 4d09dc7ec7f36a683d76667f92f1edb05354c8f6 | [
"Apache-2.0"
] | 2 | 2018-11-21T09:56:44.000Z | 2018-11-21T09:59:25.000Z | dSRelay/Classes/Device.swift | Label305/dSRelay | 4d09dc7ec7f36a683d76667f92f1edb05354c8f6 | [
"Apache-2.0"
] | null | null | null | dSRelay/Classes/Device.swift | Label305/dSRelay | 4d09dc7ec7f36a683d76667f92f1edb05354c8f6 | [
"Apache-2.0"
] | null | null | null | //
// dSRelay.swift
// dSRelay
//
// Created by Mèir Noordermeer on 12/11/2018.
// Copyright © 2018 Label305 B.V. All rights reserved.
//
import Foundation
import SwiftSocket
import then
open class Device {
let timeout: Int
var ipaddress: String
var port: Int32
var connection: TCPClient?
publi... | 29.36 | 124 | 0.479837 |
c6da3967c71835fe358f3ec4c0cf910d44461aa5 | 332 | py | Python | indifferent/__init__.py | LandRegistry/audit | f0404195b0c90d5f96c4ce523ac8a179a1b479d5 | [
"MIT"
] | null | null | null | indifferent/__init__.py | LandRegistry/audit | f0404195b0c90d5f96c4ce523ac8a179a1b479d5 | [
"MIT"
] | null | null | null | indifferent/__init__.py | LandRegistry/audit | f0404195b0c90d5f96c4ce523ac8a179a1b479d5 | [
"MIT"
] | null | null | null | import os, sys
from flask import Flask
app = Flask(__name__)
# add config
app.config.from_object('config')
if not os.environ.get('REDIS_URL'):
print "REDIS_URL not set. Using default=[%s]" % app.config['REDIS_URL']
if not os.environ.get('REDIS_NS'):
print "REDIS_NS not set. Using default=[%s]" % app.config[... | 23.714286 | 75 | 0.701807 |
da13cfe4fc93482cdffeda2c6839afa2bf82cb48 | 2,468 | rb | Ruby | spec/serializers/post_serializer_spec.rb | janzenisaac/discourse-staff-alias | 4253e92325313a83537323b8da513acc97e8cea8 | [
"MIT"
] | 4 | 2020-05-12T17:19:00.000Z | 2022-03-19T04:12:53.000Z | spec/serializers/post_serializer_spec.rb | janzenisaac/discourse-staff-alias | 4253e92325313a83537323b8da513acc97e8cea8 | [
"MIT"
] | 3 | 2020-06-26T06:19:36.000Z | 2022-01-25T04:55:31.000Z | spec/serializers/post_serializer_spec.rb | janzenisaac/discourse-staff-alias | 4253e92325313a83537323b8da513acc97e8cea8 | [
"MIT"
] | 2 | 2020-11-19T11:00:59.000Z | 2021-09-12T04:58:10.000Z | # frozen_string_literal: true
require 'rails_helper'
describe PostSerializer do
fab!(:moderator) do
user = Fabricate(:moderator)
Group.find(Group::AUTO_GROUPS[:staff]).add(user)
user
end
let(:post) do
post = Fabricate(:post, user: DiscourseStaffAlias.alias_user)
DiscourseStaffAlias::UsersP... | 25.183673 | 88 | 0.666937 |
244b62beb700e41cc88bd269201ba604a55defb3 | 4,580 | ps1 | PowerShell | Functions/Set-OneShellUserProfile.ps1 | exactmike/OneShell | 8d766e30648632c895f2c62e7904f61b1a30d9e2 | [
"MIT"
] | 11 | 2018-04-05T15:26:43.000Z | 2021-10-03T12:23:13.000Z | Functions/Set-OneShellUserProfile.ps1 | exactmike/OneShell | 8d766e30648632c895f2c62e7904f61b1a30d9e2 | [
"MIT"
] | 6 | 2016-12-14T19:40:51.000Z | 2018-12-13T22:45:07.000Z | Functions/Set-OneShellUserProfile.ps1 | exactmike/OneShell | 8d766e30648632c895f2c62e7904f61b1a30d9e2 | [
"MIT"
] | 4 | 2017-10-03T19:55:24.000Z | 2018-10-11T15:39:38.000Z | Function Set-OneShellUserProfile
{
[cmdletbinding(DefaultParameterSetName = "Identity")]
param
(
[parameter(ValueFromPipelineByPropertyName, ValueFromPipeline)]
[string[]]$Identity
,
[parameter(ValueFromPipelineByPropertyName)]
[ValidateScript( {Test-... | 42.407407 | 262 | 0.579694 |
a8c6cbd46f9eb7f02fd39b0897688e3eb036bf10 | 5,919 | ps1 | PowerShell | Tests/Unit/Module/MimeTypeRule.tests.ps1 | JakeDean3631/PowerStig | 6eaf02d7b7bae910ec8cefc8cd1f2caee8e5955e | [
"MIT"
] | 304 | 2019-05-07T19:29:43.000Z | 2022-03-27T12:58:07.000Z | Tests/Unit/Module/MimeTypeRule.tests.ps1 | JakeDean3631/PowerStig | 6eaf02d7b7bae910ec8cefc8cd1f2caee8e5955e | [
"MIT"
] | 536 | 2019-05-07T02:56:27.000Z | 2022-03-24T17:02:07.000Z | Tests/Unit/Module/MimeTypeRule.tests.ps1 | JakeDean3631/PowerStig | 6eaf02d7b7bae910ec8cefc8cd1f2caee8e5955e | [
"MIT"
] | 82 | 2019-05-10T03:35:55.000Z | 2022-01-11T19:04:04.000Z | #region Header
. $PSScriptRoot\.tests.header.ps1
#endregion
try
{
InModuleScope -ModuleName "$($global:moduleName).Convert" {
#region Test Setup
$testRuleList = @(
@{
Ensure = 'absent'
MimeType = 'application/octet-stream'
Extension = '.ex... | 35.872727 | 190 | 0.523061 |
15656795ec14294d83b8c1a912f0c2ef2b697c80 | 3,366 | rb | Ruby | spec/patch/mysql2_spec.rb | JuanitoFatas/faulty | e674f0348833d867528c56b62bbb7ac9536dc49c | [
"MIT"
] | 63 | 2020-08-28T03:15:31.000Z | 2022-03-03T14:06:07.000Z | spec/patch/mysql2_spec.rb | JuanitoFatas/faulty | e674f0348833d867528c56b62bbb7ac9536dc49c | [
"MIT"
] | 15 | 2020-12-31T13:56:02.000Z | 2022-02-24T00:55:07.000Z | spec/patch/mysql2_spec.rb | JuanitoFatas/faulty | e674f0348833d867528c56b62bbb7ac9536dc49c | [
"MIT"
] | 8 | 2020-08-28T21:47:17.000Z | 2022-01-26T13:46:48.000Z | # frozen_string_literal: true
RSpec.describe 'Faulty::Patch::Mysql2', if: defined?(Mysql2) do # rubocop:disable RSpec/DescribeClass
def new_client(opts = {})
Mysql2::Client.new({
username: ENV['MYSQL_USER'],
password: ENV['MYSQL_PASSWORD'],
host: ENV['MYSQL_HOST'],
port: ENV['MYSQL_PORT']... | 34.346939 | 110 | 0.670826 |
980e83b0412094291abeb26f6197c363c2b5f49d | 12,921 | py | Python | B2G/gecko/ipc/ipdl/ipdl/ast.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/ipc/ipdl/ipdl/ast.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/ipc/ipdl/ipdl/ast.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import sys
class Visitor:
def defaultVisit(self, node):
raise Exception, "INTERNAL ERROR: no visitor for no... | 28.150327 | 83 | 0.610092 |
258315c5596b01e0d16c0b858d81bf455304e74a | 5,021 | cs | C# | dialogflow/api/DialogflowSamples/EntityManagement.cs | leroberto8/leroberto8.gethub.io | b04338172fe9d3feafbb21fb9435c9df1a557669 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | dialogflow/api/DialogflowSamples/EntityManagement.cs | leroberto8/leroberto8.gethub.io | b04338172fe9d3feafbb21fb9435c9df1a557669 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | dialogflow/api/DialogflowSamples/EntityManagement.cs | leroberto8/leroberto8.gethub.io | b04338172fe9d3feafbb21fb9435c9df1a557669 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // Copyright(c) 2018 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 39.535433 | 121 | 0.594702 |
bf01e26a8296934e24040cba83d31b592262c1b3 | 8,587 | sql | SQL | database/facil_consulta.sql | kelvinfer4/crud-medicos-agendamentos | 508568b58eeaa49b2be7f03ec1b2612987320461 | [
"MIT"
] | null | null | null | database/facil_consulta.sql | kelvinfer4/crud-medicos-agendamentos | 508568b58eeaa49b2be7f03ec1b2612987320461 | [
"MIT"
] | 3 | 2021-03-10T10:45:15.000Z | 2022-02-27T01:06:59.000Z | database/facil_consulta.sql | kelvinfer4/crud-medicos-agendamentos | 508568b58eeaa49b2be7f03ec1b2612987320461 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Tempo de geração: 10-Mar-2020 às 21:20
-- Versão do servidor: 10.3.16-MariaDB
-- versão do PHP: 7.3.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET... | 34.211155 | 208 | 0.686736 |
4cf7b7a7524c3718e7874de514036e5a0cfd2659 | 1,210 | py | Python | urls.py | aysiu/manana | 8af8b57c72f6154affdb5f3a9a3469a49e5818fe | [
"Apache-2.0"
] | 75 | 2015-01-05T18:32:38.000Z | 2022-02-18T23:27:52.000Z | urls.py | aysiu/manana | 8af8b57c72f6154affdb5f3a9a3469a49e5818fe | [
"Apache-2.0"
] | 8 | 2015-02-02T18:15:43.000Z | 2016-03-23T23:23:10.000Z | urls.py | aysiu/manana | 8af8b57c72f6154affdb5f3a9a3469a49e5818fe | [
"Apache-2.0"
] | 22 | 2015-02-02T15:30:33.000Z | 2021-03-26T14:53:49.000Z | from django.conf.urls import patterns, include, url
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Uncomment the admin/doc line below to enable admin document... | 40.333333 | 84 | 0.695041 |
7fce30ae03967ca09cb912a072ab65d85a4d425a | 3,287 | kt | Kotlin | core/src/jsMain/kotlin/de/p7s1/qa/sevenfacette/http/HttpClientAbility.kt | PDoering/SevenFacette | f457cde54673f2fd3210d3bf9dd47d6423a07bd3 | [
"MIT"
] | 23 | 2020-02-28T13:38:31.000Z | 2020-10-07T16:01:49.000Z | core/src/jsMain/kotlin/de/p7s1/qa/sevenfacette/http/HttpClientAbility.kt | PDoering/SevenFacette | f457cde54673f2fd3210d3bf9dd47d6423a07bd3 | [
"MIT"
] | 77 | 2020-02-28T12:53:56.000Z | 2020-10-15T09:55:41.000Z | core/src/jsMain/kotlin/de/p7s1/qa/sevenfacette/http/HttpClientAbility.kt | PDoering/SevenFacette | f457cde54673f2fd3210d3bf9dd47d6423a07bd3 | [
"MIT"
] | 1 | 2020-03-10T07:55:33.000Z | 2020-03-10T07:55:33.000Z | package de.p7s1.qa.sevenfacette.http
import io.ktor.util.KtorExperimentalAPI
import kotlin.js.Promise
/**
* TODO: Add Description
*
* @author Patrick Döring
*/
@KtorExperimentalAPI
@ExperimentalJsExport
@JsName("HttpClientAbility")
open class HttpClientAbility(private val client: GenericHttpClient) {
private... | 39.130952 | 166 | 0.697901 |
5888d197a1ce63fd251f30b3339498777b50fe5b | 103 | css | CSS | public/css/admin-recipe-list-smaller.css | hergarp/Recept | aa6f39bcb15518ec9267ad5fd3d643cd61efd3e7 | [
"MIT"
] | null | null | null | public/css/admin-recipe-list-smaller.css | hergarp/Recept | aa6f39bcb15518ec9267ad5fd3d643cd61efd3e7 | [
"MIT"
] | 22 | 2022-02-06T23:58:14.000Z | 2022-03-29T19:27:24.000Z | public/css/admin-recipe-list-smaller.css | hergarp/Recept | aa6f39bcb15518ec9267ad5fd3d643cd61efd3e7 | [
"MIT"
] | null | null | null | @media screen and (max-width: 550px) {
.image {
width: 100px;
height: 66px;
}
} | 17.166667 | 38 | 0.504854 |
f23ecfa353e95633b9ee32574a274fbe7c2db37d | 2,698 | php | PHP | resources/views/tambah/tambah_user.blade.php | aldiwebprogreming/Laravel_ebunga | f74862879b113be7d79b07e7e8bcd714a9e03bd0 | [
"MIT"
] | null | null | null | resources/views/tambah/tambah_user.blade.php | aldiwebprogreming/Laravel_ebunga | f74862879b113be7d79b07e7e8bcd714a9e03bd0 | [
"MIT"
] | null | null | null | resources/views/tambah/tambah_user.blade.php | aldiwebprogreming/Laravel_ebunga | f74862879b113be7d79b07e7e8bcd714a9e03bd0 | [
"MIT"
] | null | null | null | @extends('layout.app')
@section('title','Tambah user')
@section('content')
<div class="main-content">
<section class="section">
<div class="section-header">
<h1>Tambah User</h1>
</div>
<div class="row">
<div class="col-12 col-md-12 col-lg-12... | 33.725 | 118 | 0.344329 |
d66500d3886d28b9d367328502dc736dd32ef1af | 3,985 | cs | C# | TabulateSmarterTestPackage/Utilities/ReportingUtility.cs | SmarterApp/TabulateSmarterTestAdminPackage | 2c8226b3f53c82dcc83a7b0ba3f2eaa79f30399d | [
"ECL-2.0"
] | 1 | 2021-03-30T22:46:14.000Z | 2021-03-30T22:46:14.000Z | TabulateSmarterTestPackage/Utilities/ReportingUtility.cs | SmarterApp/TabulateSmarterTestAdminPackage | 2c8226b3f53c82dcc83a7b0ba3f2eaa79f30399d | [
"ECL-2.0"
] | 4 | 2017-01-30T06:56:57.000Z | 2018-08-09T00:17:55.000Z | TabulateSmarterTestPackage/Utilities/ReportingUtility.cs | SmarterApp/TabulateSmarterTestAdminPackage | 2c8226b3f53c82dcc83a7b0ba3f2eaa79f30399d | [
"ECL-2.0"
] | 1 | 2016-09-15T16:33:49.000Z | 2016-09-15T16:33:49.000Z | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ProcessSmarterTestPackage.External;
using SmarterTestPackage.Common.Data;
namespace TabulateSmarterTestPackage.Utilities
{
public static class ReportingUtility
{
internal static CsvWriter ErrorWriter;
internal static C... | 35.580357 | 117 | 0.591719 |
996234fe7471954da2d58e0b672e60fa6be86655 | 2,718 | dart | Dart | lib/src/types/map_objects/map_object_collection.dart | FetFrumos/yandex_mapkit | 67290fd9bd46d4a2166ede218de67df5a0d8c631 | [
"MIT"
] | null | null | null | lib/src/types/map_objects/map_object_collection.dart | FetFrumos/yandex_mapkit | 67290fd9bd46d4a2166ede218de67df5a0d8c631 | [
"MIT"
] | null | null | null | lib/src/types/map_objects/map_object_collection.dart | FetFrumos/yandex_mapkit | 67290fd9bd46d4a2166ede218de67df5a0d8c631 | [
"MIT"
] | null | null | null | part of yandex_mapkit;
/// A collection of [MapObject] to be displayed on [YandexMap]
/// All [mapObjects] must be unique, i.e. each [MapObject.mapId] must be unique
class MapObjectCollection extends Equatable implements MapObject {
MapObjectCollection({
required this.mapId,
required List<MapObject> mapObjec... | 23.230769 | 79 | 0.639809 |
3194e4860f02a4a83acfa422b93a475469b7f809 | 1,749 | lua | Lua | rtklua/Accepted/Spells/mage/pestilence.lua | The-Kingdom-of-The-Winds/RTK-Server | b306c3411af42ea54c6ecaa785cea9ab4e97ff28 | [
"Xnet",
"X11"
] | 1 | 2021-03-08T06:33:34.000Z | 2021-03-08T06:33:34.000Z | rtklua/Accepted/Spells/mage/pestilence.lua | The-Kingdom-of-The-Winds/RTK-Server | b306c3411af42ea54c6ecaa785cea9ab4e97ff28 | [
"Xnet",
"X11"
] | null | null | null | rtklua/Accepted/Spells/mage/pestilence.lua | The-Kingdom-of-The-Winds/RTK-Server | b306c3411af42ea54c6ecaa785cea9ab4e97ff28 | [
"Xnet",
"X11"
] | 3 | 2020-11-19T22:01:46.000Z | 2021-03-16T21:05:37.000Z | pestilence_mage = {
cast = function(player, target)
local duration = 200000
local magicCost = 20
if (not player:canCast(1, 1, 0)) then
return
end
if (player.magic < magicCost) then
player:sendMinitext("Not enough mana.")
return
end
if (target.state == 1) then
player:sendMinitext("That is n... | 23.958904 | 90 | 0.699257 |
e2577765e2f5f7f4b23d0d55b15fa9ba7873a610 | 2,792 | py | Python | pkg/v1/providers/tests/clustergen/gencluster_params.py | ykakarap/tanzu-framework | 35a410d8ddc8b2f606a66ea0d1d696744b3c89b8 | [
"Apache-2.0"
] | 1 | 2022-03-24T12:13:01.000Z | 2022-03-24T12:13:01.000Z | pkg/v1/providers/tests/clustergen/gencluster_params.py | ykakarap/tanzu-framework | 35a410d8ddc8b2f606a66ea0d1d696744b3c89b8 | [
"Apache-2.0"
] | 5 | 2022-02-08T09:52:10.000Z | 2022-03-29T11:28:40.000Z | pkg/v1/providers/tests/clustergen/gencluster_params.py | ykakarap/tanzu-framework | 35a410d8ddc8b2f606a66ea0d1d696744b3c89b8 | [
"Apache-2.0"
] | 1 | 2021-11-10T11:01:42.000Z | 2021-11-10T11:01:42.000Z | #!/usr/bin/env python3
# Copyright 2020 The TKG Contributors.
#
# 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 applic... | 38.246575 | 103 | 0.534742 |
4211cde1dc86e74f7ec8103c6bf946910e2d9001 | 1,358 | cs | C# | 2019/advent.2019.tests/Day1Tests.cs | zmj/advent | fb0b2a609ae1dac8f672b71a1ecb65faa97aff34 | [
"MIT"
] | null | null | null | 2019/advent.2019.tests/Day1Tests.cs | zmj/advent | fb0b2a609ae1dac8f672b71a1ecb65faa97aff34 | [
"MIT"
] | null | null | null | 2019/advent.2019.tests/Day1Tests.cs | zmj/advent | fb0b2a609ae1dac8f672b71a1ecb65faa97aff34 | [
"MIT"
] | null | null | null | using advent._2019._1;
using System;
using System.Threading.Tasks;
using Xunit;
namespace advent._2019.tests
{
public class Day1Tests
{
[Theory]
[InlineData(12, 2)]
[InlineData(14, 2)]
[InlineData(1969, 654)]
[InlineData(100756, 33583)]
public void MassToFuel(ulo... | 27.16 | 70 | 0.565538 |
8beb945897c134be4c09dc4fa3aec4a4547cff31 | 665 | swift | Swift | tempestclient/Controllers/Account/AccountsViewController.swift | chriskievit/tempest-reddit-client | 444775f8bc90c2e80da8b9807d5f1819a75d1f19 | [
"MIT"
] | null | null | null | tempestclient/Controllers/Account/AccountsViewController.swift | chriskievit/tempest-reddit-client | 444775f8bc90c2e80da8b9807d5f1819a75d1f19 | [
"MIT"
] | null | null | null | tempestclient/Controllers/Account/AccountsViewController.swift | chriskievit/tempest-reddit-client | 444775f8bc90c2e80da8b9807d5f1819a75d1f19 | [
"MIT"
] | null | null | null | //
// AccountsViewController.swift
// tempestclient
//
// Created by Chris on 15/08/2019.
// Copyright © 2019 Tempest. All rights reserved.
//
import Foundation
import Cocoa
class AccountsViewController: NSViewController, NSTableViewDataSource, NSTableViewDelegate {
@IBOutlet weak var tableView: NSTableView!
... | 22.931034 | 92 | 0.66015 |
caac42c1af7432afdc11fb33b03b740d68281c93 | 780 | zsh | Shell | zsh/omz/mgmt.zsh | kevin-morgan/dotfiles | 2b7a1a614c3d13b12148d5869563f8e71f770204 | [
"MIT"
] | null | null | null | zsh/omz/mgmt.zsh | kevin-morgan/dotfiles | 2b7a1a614c3d13b12148d5869563f8e71f770204 | [
"MIT"
] | null | null | null | zsh/omz/mgmt.zsh | kevin-morgan/dotfiles | 2b7a1a614c3d13b12148d5869563f8e71f770204 | [
"MIT"
] | null | null | null | # ---------------------------------------------------------------------
# KEVIN'S OMZ V2015.04.03
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# CONFIGURATION
# ----------------------------------------------------------... | 32.5 | 71 | 0.285897 |
1fe521ba5498b34b9d878a60cfdee4280234b14f | 9,770 | lua | Lua | Engine/Includes/Lua/Modules/wxLua/samples/art.wx.lua | GCourtney27/Retina-Engine | 5358b9c499f4163a209024dc303c3efe6c520c01 | [
"MIT"
] | 141 | 2015-01-12T12:02:17.000Z | 2022-03-06T15:52:27.000Z | Engine/Includes/Lua/Modules/wxLua/samples/art.wx.lua | GCourtney27/Retina-Engine | 5358b9c499f4163a209024dc303c3efe6c520c01 | [
"MIT"
] | 15 | 2015-02-07T05:59:52.000Z | 2022-01-24T18:17:03.000Z | Engine/Includes/Lua/Modules/wxLua/samples/art.wx.lua | GCourtney27/Retina-Engine | 5358b9c499f4163a209024dc303c3efe6c520c01 | [
"MIT"
] | 72 | 2015-01-15T14:08:59.000Z | 2022-01-22T21:06:27.000Z | -----------------------------------------------------------------------------
-- Name: art.wx.lua
-- Purpose: wxArtProvider wxLua sample
-- Author: John Labenski
-- Modified by:
-- Created: 16/11/2012
-- Copyright: (c) 2012 John Labenski. All rights reserved.
-- Licence: wxWidgets licence
----... | 38.464567 | 137 | 0.547185 |
8e5da304c23de36c35857a80868656d0f6c8c329 | 983 | js | JavaScript | lib/queue.js | neil176/node-postgres | 8d619cf4775c13c660578405e44166b3b8760ef6 | [
"MIT"
] | null | null | null | lib/queue.js | neil176/node-postgres | 8d619cf4775c13c660578405e44166b3b8760ef6 | [
"MIT"
] | null | null | null | lib/queue.js | neil176/node-postgres | 8d619cf4775c13c660578405e44166b3b8760ef6 | [
"MIT"
] | null | null | null |
function Queue(){
var queue = []
var offset = 0
// Preserve array length getter and setter
Object.defineProperty(this, 'length', {
get: function getLength() {
return queue.length - offset
},
set: function setLength(len) {
queue.length = len
},
})
this.push = function push(item... | 20.061224 | 52 | 0.583927 |
0cb9284c5d3124b1d907d7b3977867c08d95ecb9 | 168 | rb | Ruby | db/migrate/20160427194353_unset_loan_lenders_address_default.rb | NaturalHistoryMuseum/taxonworks | fadf26fb3218279f625c6ce85104e3d66891f964 | [
"NCSA"
] | 61 | 2015-04-16T14:26:35.000Z | 2022-03-17T13:31:06.000Z | db/migrate/20160427194353_unset_loan_lenders_address_default.rb | NaturalHistoryMuseum/taxonworks | fadf26fb3218279f625c6ce85104e3d66891f964 | [
"NCSA"
] | 2,768 | 2015-03-13T05:44:56.000Z | 2022-03-31T22:37:43.000Z | db/migrate/20160427194353_unset_loan_lenders_address_default.rb | NaturalHistoryMuseum/taxonworks | fadf26fb3218279f625c6ce85104e3d66891f964 | [
"NCSA"
] | 22 | 2015-02-26T12:10:18.000Z | 2021-12-08T18:47:26.000Z | class UnsetLoanLendersAddressDefault < ActiveRecord::Migration[4.2]
def change
change_column :loans, :lender_address, :text, default: nil, null: false
end
end
| 24 | 75 | 0.761905 |
14b46d73c82d3064b080c0d0731c5edd24861640 | 202 | ts | TypeScript | src/client/app/helloWorld/helloWorld.routes.ts | Alayode/ngjB | 1e3856edeac39a2e097e113e029bd71dfb6437e1 | [
"MIT"
] | null | null | null | src/client/app/helloWorld/helloWorld.routes.ts | Alayode/ngjB | 1e3856edeac39a2e097e113e029bd71dfb6437e1 | [
"MIT"
] | null | null | null | src/client/app/helloWorld/helloWorld.routes.ts | Alayode/ngjB | 1e3856edeac39a2e097e113e029bd71dfb6437e1 | [
"MIT"
] | null | null | null | import { Route } from '@angular/router';
import { HelloWorldComponent } from './index';
export const HelloWorldRoutes: Route[] = [
{
path: 'helloWorld',
component: HelloWorldComponent
}
];
| 20.2 | 46 | 0.673267 |