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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6de5fede6f537d23cfb405ea62277b111806c5b8 | 9,695 | ts | TypeScript | client/src/statemachine/explore/garden.ts | stevenwaterman/NoTimeToStalk | 3884f3ad4c112b6c587e68d734f93bd68823b9bd | [
"MIT"
] | null | null | null | client/src/statemachine/explore/garden.ts | stevenwaterman/NoTimeToStalk | 3884f3ad4c112b6c587e68d734f93bd68823b9bd | [
"MIT"
] | null | null | null | client/src/statemachine/explore/garden.ts | stevenwaterman/NoTimeToStalk | 3884f3ad4c112b6c587e68d734f93bd68823b9bd | [
"MIT"
] | null | null | null | import { makeBackgrounds, MonologueNode, OptionNode } from "../controller";
import { atriumStart } from "./atrium";
import { balconyCharacters, bathroomWindowCharacters, confirmWeapon, hasBuff, isHoldingWeapon, isHostHere, loungeWindowCharacters, studyWindowCharacters } from "./explore";
import { getGlobalOptions } fro... | 39.410569 | 321 | 0.685611 |
5822fd875e6bdc77be2228cb97f5af3b614b52e8 | 5,490 | css | CSS | src/styles/App.css | playneko/playneko-firebase | d9397d7365a990bcfe04262ff0f086da332bea6a | [
"MIT"
] | 1 | 2021-01-15T02:22:13.000Z | 2021-01-15T02:22:13.000Z | src/styles/App.css | playneko/playneko-firebase | d9397d7365a990bcfe04262ff0f086da332bea6a | [
"MIT"
] | null | null | null | src/styles/App.css | playneko/playneko-firebase | d9397d7365a990bcfe04262ff0f086da332bea6a | [
"MIT"
] | null | null | null | button:focus {
outline: none;
}
.header > header {
width: 100%;
z-index: 9999;
max-width: 100%;
position: fixed;
box-shadow: unset;
color: #f1f1f1 !important;
background: #484848 !important;
}
.header-people_add {
flex: 1 1 auto;
text-align: right;
}
.header-people_back {
... | 17.428571 | 71 | 0.628233 |
c9b95c018570cab566199d405f170a24cd738e64 | 1,190 | ts | TypeScript | packages/explorer-for-endevor/src/endevor.ts | nickImbirev/che-che4z-explorer-for-endevor | 0b4616599b5d2212c31b5a99bda7aeb19ebfe445 | [
"Apache-2.0"
] | null | null | null | packages/explorer-for-endevor/src/endevor.ts | nickImbirev/che-che4z-explorer-for-endevor | 0b4616599b5d2212c31b5a99bda7aeb19ebfe445 | [
"Apache-2.0"
] | 1 | 2020-11-25T09:34:52.000Z | 2020-11-25T09:34:52.000Z | packages/explorer-for-endevor/src/endevor.ts | nickImbirev/che-che4z-explorer-for-endevor | 0b4616599b5d2212c31b5a99bda7aeb19ebfe445 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020 Broadcom.
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifi... | 37.1875 | 87 | 0.787395 |
6ba2954801d7d5501ce15f5e416668183e070596 | 60 | sql | SQL | src/test/resources/sql/fetch/b37caa18.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/fetch/b37caa18.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/fetch/b37caa18.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:rangefuncs.sql ln:54 expect:true
fetch all from foo
| 20 | 40 | 0.766667 |
d64015a5f99ccfcb04bf29f565961156fbdd8cb1 | 953 | cs | C# | Assets/Resources/Scripts/DebugHelper.cs | SchwiftyPython/PizzalikeRL | fbd4cdd5f7e6a519b9d85d401f7828c7c20d891f | [
"Apache-2.0"
] | null | null | null | Assets/Resources/Scripts/DebugHelper.cs | SchwiftyPython/PizzalikeRL | fbd4cdd5f7e6a519b9d85d401f7828c7c20d891f | [
"Apache-2.0"
] | null | null | null | Assets/Resources/Scripts/DebugHelper.cs | SchwiftyPython/PizzalikeRL | fbd4cdd5f7e6a519b9d85d401f7828c7c20d891f | [
"Apache-2.0"
] | null | null | null | using System;
using UnityEngine;
//<Summary>
// A class of functions to aid in debugging
//</Summary>
public class DebugHelper : MonoBehaviour, ISubscriber
{
public static DebugHelper Instance;
private void Start()
{
if (Instance == null)
{
Instance = this;
DontDes... | 22.690476 | 99 | 0.610703 |
ae9a9d551fec2422b166eb814c1bf01b6d9f2068 | 2,569 | cs | C# | Editor/BrushSetEditor.cs | dimaswift/Decal2D | f61c9994340427f5ecf5b9c6347ac2023c174611 | [
"MIT"
] | null | null | null | Editor/BrushSetEditor.cs | dimaswift/Decal2D | f61c9994340427f5ecf5b9c6347ac2023c174611 | [
"MIT"
] | null | null | null | Editor/BrushSetEditor.cs | dimaswift/Decal2D | f61c9994340427f5ecf5b9c6347ac2023c174611 | [
"MIT"
] | null | null | null | using UnityEngine;
using System.Collections;
using UnityEditor;
using HandyUtilities;
using System.Collections.Generic;
namespace Decal2D
{
public abstract class BrushSetEditor<T> : ReordableList<IBrushBinding> where T : IBrushBinding
{
public abstract BrushSet<T> brushSet { get; }
protected ... | 29.528736 | 149 | 0.498248 |
4b9f3cea2d12514a0b68770f7c965e39c90e1a91 | 2,838 | cpp | C++ | src/Adafruit_I2CRegister.cpp | nrobinson2000/Adafruit_VEML7700 | ad29bfb331ad08ed6e40de68abae6455f99760bf | [
"BSD-3-Clause"
] | 3 | 2019-07-19T23:47:53.000Z | 2019-07-22T03:45:10.000Z | src/Adafruit_I2CRegister.cpp | nrobinson2000/Adafruit_VEML7700 | ad29bfb331ad08ed6e40de68abae6455f99760bf | [
"BSD-3-Clause"
] | 1 | 2019-11-15T22:59:55.000Z | 2019-11-15T22:59:55.000Z | src/Adafruit_I2CRegister.cpp | nrobinson2000/Adafruit_VEML7700 | ad29bfb331ad08ed6e40de68abae6455f99760bf | [
"BSD-3-Clause"
] | null | null | null | #include "Adafruit_I2CRegister.h"
Adafruit_I2CRegister::Adafruit_I2CRegister(Adafruit_I2CDevice *device, uint16_t reg_addr, uint8_t width, uint8_t bitorder, uint8_t address_width) {
_device = device;
_addrwidth = address_width;
_address = reg_addr;
_bitorder = bitorder;
_width = width;
}
bool Adafruit_I2CR... | 22 | 147 | 0.634249 |
e255f4fbcf38cc3020404481db9cfe2d6c4be3c0 | 732 | py | Python | tests/unit/test_resources.py | LimaGuilherme/flask-boilerplate | 4053dd2d24937d405fedcd839e15d2cc45d87f01 | [
"MIT"
] | null | null | null | tests/unit/test_resources.py | LimaGuilherme/flask-boilerplate | 4053dd2d24937d405fedcd839e15d2cc45d87f01 | [
"MIT"
] | null | null | null | tests/unit/test_resources.py | LimaGuilherme/flask-boilerplate | 4053dd2d24937d405fedcd839e15d2cc45d87f01 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from tests.unit import base
from app import resources
class CasingTest(base.TestCase):
def test_should_convert_camel_to_snake(self):
self.assertEqual(resources.ResourceBase.camel_to_snake('getThisSnaked'), 'get_this_snaked')
def test_should_convert_snake_to_camel(self):
... | 38.526316 | 103 | 0.782787 |
af4d9b52a5ba17b11d26e2f5d9631d64f888767d | 1,090 | py | Python | ML_and_DL/number_clacification_basic.py | AshfakYeafi/AI_practice_code | 3d8a0b9382f5903e840ce59218ebb95ca962ab01 | [
"MIT"
] | null | null | null | ML_and_DL/number_clacification_basic.py | AshfakYeafi/AI_practice_code | 3d8a0b9382f5903e840ce59218ebb95ca962ab01 | [
"MIT"
] | null | null | null | ML_and_DL/number_clacification_basic.py | AshfakYeafi/AI_practice_code | 3d8a0b9382f5903e840ce59218ebb95ca962ab01 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import tensorflow as tf
import numpy as np
from tensorflow import keras
import pickle
path="demo_model_1"
(X_train, y_train) , (X_test, y_test) =keras.datasets.mnist.load_data()
X_train_flat=X_train.reshape(X_train.shape[0],X_train.shape[1]*X_train.shape[1])
X_train_flat=X_train_flat/2... | 30.277778 | 80 | 0.734862 |
3ac999a6086879089cb73953085b4e91c8dd3c20 | 70 | lua | Lua | Mad City - New OP GUI.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 70 | 2021-02-09T17:21:32.000Z | 2022-03-28T12:41:42.000Z | Mad City - New OP GUI.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 4 | 2021-08-19T22:05:58.000Z | 2022-03-19T18:58:01.000Z | Mad City - New OP GUI.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 325 | 2021-02-26T22:23:41.000Z | 2022-03-31T19:36:12.000Z | loadstring(game:HttpGet(('https://pastebin.com/raw/9eUprNxz'),true))() | 70 | 70 | 0.742857 |
bd9b3951a37eeef5de29a8abc00f3c773473c911 | 1,511 | rb | Ruby | spec/support/helpers/vim.rb | eugen0329/vim-easy-search | d00e5b1f29288e0d884eb523558fea891a252631 | [
"Vim"
] | 358 | 2016-04-12T12:37:48.000Z | 2022-03-04T15:53:26.000Z | spec/support/helpers/vim.rb | eugen0329/vim-esearch | 02db26e593b80c2908b25ae558c2f0db7f135051 | [
"Vim"
] | 79 | 2016-06-08T16:56:47.000Z | 2022-02-28T20:06:48.000Z | spec/support/helpers/vim.rb | eugen0329/vim-easy-search | d00e5b1f29288e0d884eb523558fea891a252631 | [
"Vim"
] | 18 | 2016-09-01T21:12:26.000Z | 2022-01-01T13:26:51.000Z | # frozen_string_literal: true
module Helpers::Vim
extend RSpec::Matchers::DSL
include VimlValue::SerializationHelpers
shared_context 'set options' do |**options|
before do
editor.command! <<~TEXT
let g:save = #{VimlValue.dump(options.keys.zip(options.keys).to_h.transform_values { |v| var("&#{v... | 23.984127 | 113 | 0.583719 |
2c3612fa5a5cdb10c96a1317f3f0dc4afb33ad89 | 166 | py | Python | simulator.py | AndreaKarlova/BLOX | f103c232009ebff61dcfb1de09a3f5df6c130877 | [
"MIT"
] | 19 | 2020-02-21T07:22:31.000Z | 2021-09-15T22:00:19.000Z | simulator.py | rob8718/BLOX | f103c232009ebff61dcfb1de09a3f5df6c130877 | [
"MIT"
] | null | null | null | simulator.py | rob8718/BLOX | f103c232009ebff61dcfb1de09a3f5df6c130877 | [
"MIT"
] | 4 | 2020-08-08T21:37:38.000Z | 2021-04-24T12:20:15.000Z | import csv
def simulation(parameter):
#Please call your simulation program with the input parameter
#and return its result
print('Simulation')
| 18.444444 | 65 | 0.698795 |
d633a9c553538df215bfc216b45e03292906d9ff | 1,366 | cs | C# | C#/Man/Division/Program.cs | Futupas/Man_1819 | 8316c02cb2b55612c4577742005c824e2017cbe6 | [
"MIT"
] | null | null | null | C#/Man/Division/Program.cs | Futupas/Man_1819 | 8316c02cb2b55612c4577742005c824e2017cbe6 | [
"MIT"
] | null | null | null | C#/Man/Division/Program.cs | Futupas/Man_1819 | 8316c02cb2b55612c4577742005c824e2017cbe6 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace Division
{
class Program
{
static void Main(string[] args)
{
try
{
int a, b, d, ch, nac; //a/b=c
... | 29.06383 | 79 | 0.402635 |
4fa32342caade5fa70002a1b767e3c2bcd6cb713 | 61 | rb | Ruby | test/integration/server/serverspec/spec_helper.rb | oneconcern/openvpn | 24de3f1bd5ec95fe6b2788ae1c0a03e8414f6e49 | [
"Apache-2.0"
] | 1 | 2020-04-06T00:33:39.000Z | 2020-04-06T00:33:39.000Z | test/integration/server/serverspec/spec_helper.rb | oneconcern/openvpn | 24de3f1bd5ec95fe6b2788ae1c0a03e8414f6e49 | [
"Apache-2.0"
] | null | null | null | test/integration/server/serverspec/spec_helper.rb | oneconcern/openvpn | 24de3f1bd5ec95fe6b2788ae1c0a03e8414f6e49 | [
"Apache-2.0"
] | null | null | null | # encoding: UTF-8
require 'serverspec'
set :backend, :exec
| 10.166667 | 20 | 0.704918 |
2c7d20c6867cd77397de2a1ebf6c9cc0dffd8c7b | 133 | py | Python | tests/results/015_simple_hash09.py | CowboyTim/python-storable | f03cf0eae60eeb9c3345e9ddf3370a49a316e472 | [
"Zlib"
] | 8 | 2015-04-24T07:27:42.000Z | 2020-10-30T20:51:40.000Z | tests/results/015_simple_hash09.py | CowboyTim/python-storable | f03cf0eae60eeb9c3345e9ddf3370a49a316e472 | [
"Zlib"
] | 7 | 2015-09-08T01:40:12.000Z | 2021-09-29T15:19:46.000Z | tests/results/015_simple_hash09.py | CowboyTim/python-storable | f03cf0eae60eeb9c3345e9ddf3370a49a316e472 | [
"Zlib"
] | 10 | 2015-07-22T13:57:04.000Z | 2020-09-03T18:32:39.000Z | result = [
[0.6, 0.7],
{'a': 'b'},
None,
[
'uu',
'ii',
[None],
[7, 8, 9, {}]
]
]
| 11.083333 | 21 | 0.203008 |
e7042aa4998314586bab106ea621f3f82fc5c3fa | 1,430 | php | PHP | database/seeders/ProductElectronicsTableSeeder.php | s1110078/Time2Share | 338968c338687bb98bb0ea10de7bb1d2491e2ae3 | [
"MIT"
] | null | null | null | database/seeders/ProductElectronicsTableSeeder.php | s1110078/Time2Share | 338968c338687bb98bb0ea10de7bb1d2491e2ae3 | [
"MIT"
] | null | null | null | database/seeders/ProductElectronicsTableSeeder.php | s1110078/Time2Share | 338968c338687bb98bb0ea10de7bb1d2491e2ae3 | [
"MIT"
] | null | null | null | <?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use DB;
class ProductElectronicsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$electronics_product_array = ["Drill", "Vacuum", "Charger"];
DB::ta... | 28.039216 | 84 | 0.471329 |
384b3322a6aac4162a447774a4d4a7ed765314f1 | 1,078 | cs | C# | CodeGenerator/Config/EntitySchemaCollection.cs | conorjgallagher/Dynamics.ExtendedSvcUtil | d058ae8c97ce46c7c1f642b9ae24b822b50be1e6 | [
"MIT"
] | 4 | 2016-06-24T20:12:57.000Z | 2020-02-26T15:08:36.000Z | CodeGenerator/Config/EntitySchemaCollection.cs | conorjgallagher/Dynamics.ExtendedSvcUtil | d058ae8c97ce46c7c1f642b9ae24b822b50be1e6 | [
"MIT"
] | 3 | 2017-01-30T14:58:53.000Z | 2019-04-02T13:44:16.000Z | CodeGenerator/Config/EntitySchemaCollection.cs | conorjgallagher/Dynamics.ExtendedSvcUtil | d058ae8c97ce46c7c1f642b9ae24b822b50be1e6 | [
"MIT"
] | 1 | 2021-08-23T08:22:16.000Z | 2021-08-23T08:22:16.000Z | using System.Collections.Generic;
using System.Configuration;
using System.Linq;
namespace CodeGenerator.Config
{
[ConfigurationCollection(typeof(EntitySchema), AddItemName = "entity")]
public class EntitySchemaCollection : ConfigurationElementCollection, IEnumerable<EntitySchema>
{
protected over... | 28.368421 | 99 | 0.601113 |
5865f3a594a40f3e9389f8f30e4c8f72a8444a48 | 826 | css | CSS | src/lib/reset.css | future-tech-learning-team/build-ssr-demo | d5b9e3e653ab6ee2380ace33667e0c7ceeec8031 | [
"MIT"
] | null | null | null | src/lib/reset.css | future-tech-learning-team/build-ssr-demo | d5b9e3e653ab6ee2380ace33667e0c7ceeec8031 | [
"MIT"
] | null | null | null | src/lib/reset.css | future-tech-learning-team/build-ssr-demo | d5b9e3e653ab6ee2380ace33667e0c7ceeec8031 | [
"MIT"
] | null | null | null |
html {
font-size: 62.5%;
}
body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
dl,
dt,
dd,
textarea,
input,
button {
margin: 0;
padding: 0;
outline: none;
font-weight: normal;
}
body {
color: #333;
}
button,
input,
select,
textarea {
font-size: 100%;
outline: none;
line-height: 1.5;
}
... | 10.589744 | 47 | 0.599274 |
22e622606e586510d2679398553ad6450f493335 | 233 | lua | Lua | MMOCoreORB/bin/scripts/loot/custom_loot/groups/wearables/g_nightsister_bicep.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/loot/custom_loot/groups/wearables/g_nightsister_bicep.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/loot/custom_loot/groups/wearables/g_nightsister_bicep.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | g_nightsister_bicep = {
description = "",
minimumLevel = 0,
maximumLevel = 0,
lootItems = {
{itemTemplate = "armor_nightsister_bicep_r", weight = 10000000}
}
}
addLootGroupTemplate("g_nightsister_bicep", g_nightsister_bicep)
| 233 | 233 | 0.746781 |
7aaec64de64daef2c70f69a8370742257e673262 | 1,521 | cs | C# | ToMigrate/Raven.Tests.MailingList/TypeConverter.cs | ryanheath/ravendb | f32ee65b73912aa1532929164d004e027d266270 | [
"Linux-OpenIB"
] | 1 | 2017-03-02T13:05:14.000Z | 2017-03-02T13:05:14.000Z | ToMigrate/Raven.Tests.MailingList/TypeConverter.cs | ryanheath/ravendb | f32ee65b73912aa1532929164d004e027d266270 | [
"Linux-OpenIB"
] | 1 | 2019-03-12T12:10:52.000Z | 2019-03-12T12:10:52.000Z | ToMigrate/Raven.Tests.MailingList/TypeConverter.cs | aviv86/ravendb | 3ee33d576fecd2c47dc7a9f5b671a46731fed659 | [
"Linux-OpenIB"
] | null | null | null | // -----------------------------------------------------------------------
// <copyright file="TypeConverter.cs" company="Hibernating Rhinos LTD">
// Copyright (c) Hibernating Rhinos LTD. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using Sy... | 28.698113 | 79 | 0.464168 |
ccd3d2170b541006497bef51730d2010e58195fb | 1,353 | rb | Ruby | spec/models/course_template_spec.rb | jayshaffer/bridge_cache | 077aa5c6336f0af916eb54fa092eb902b3988782 | [
"MIT"
] | null | null | null | spec/models/course_template_spec.rb | jayshaffer/bridge_cache | 077aa5c6336f0af916eb54fa092eb902b3988782 | [
"MIT"
] | null | null | null | spec/models/course_template_spec.rb | jayshaffer/bridge_cache | 077aa5c6336f0af916eb54fa092eb902b3988782 | [
"MIT"
] | null | null | null | require 'spec_helper'
describe BridgeCache::CourseTemplate, type: :model do
describe 'import_from_csv' do
it 'should be able to take a csv dump into a table' do
BridgeCache::CourseTemplate.import_from_csv(get_fixture_path('course_templates.csv'))
expect(BridgeCache::CourseTemplate.all.count).to(eq(10... | 41 | 104 | 0.750185 |
36acdd54b92a33a235fc3e4435a94c5177ceea53 | 1,368 | dart | Dart | system_metrics_widget/lib/src/widgets/metrics/usage_indicator/usage_indicator_widget.dart | DisDis/dslideshow | 58e9b2afbcd43c7c7f99a2382dd109bcef5c4185 | [
"MIT"
] | 1 | 2021-04-29T14:49:00.000Z | 2021-04-29T14:49:00.000Z | system_metrics_widget/lib/src/widgets/metrics/usage_indicator/usage_indicator_widget.dart | DisDis/dslideshow | 58e9b2afbcd43c7c7f99a2382dd109bcef5c4185 | [
"MIT"
] | null | null | null | system_metrics_widget/lib/src/widgets/metrics/usage_indicator/usage_indicator_widget.dart | DisDis/dslideshow | 58e9b2afbcd43c7c7f99a2382dd109bcef5c4185 | [
"MIT"
] | 1 | 2021-07-15T18:34:22.000Z | 2021-07-15T18:34:22.000Z | import 'dart:math';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:system_metrics_widget/src/environment/settings.dart';
import 'package:system_metrics_widget/src/widgets/metrics/usage_indicator/usage_bar.dart';
abstract class UsageIndicatorWidget extends StatelessWid... | 27.918367 | 90 | 0.642544 |
e757532b5c3675f95132dd20a4012873a2c5e6be | 419 | php | PHP | src/Command/FlipHorizontalCommand.php | fcomby4/ImageMerge | f528dbd5796a7ec129fd3085938843576517e088 | [
"MIT"
] | 3 | 2019-11-25T15:58:40.000Z | 2021-03-29T15:36:44.000Z | src/Command/FlipHorizontalCommand.php | fcomby4/ImageMerge | f528dbd5796a7ec129fd3085938843576517e088 | [
"MIT"
] | 2 | 2018-11-29T18:46:38.000Z | 2020-05-06T07:56:18.000Z | src/Command/FlipHorizontalCommand.php | fcomby4/ImageMerge | f528dbd5796a7ec129fd3085938843576517e088 | [
"MIT"
] | 1 | 2018-04-03T21:27:51.000Z | 2018-04-03T21:27:51.000Z | <?php
namespace Jackal\ImageMerge\Command;
use Jackal\ImageMerge\Model\Image;
/**
* Class FlipHorizontalCommand
* @package Jackal\ImageMerge\Command
*/
class FlipHorizontalCommand extends AbstractCommand
{
/**
* @param Image $image
* @return Image
*/
public function execute(Image $image)
... | 17.458333 | 62 | 0.668258 |
8e7baf6a35f59e02babf7d7f1b9d81bfce3d40f8 | 795 | js | JavaScript | diskreet-blockchain/ts/session/messages/outgoing/controlMessage/group/ClosedGroupEncryptionPairRequestMessage.js | woflydev/general-projects | 4ab637fabd2b8ff563ec1637eccefed780bce163 | [
"MIT"
] | 1 | 2022-03-13T22:46:43.000Z | 2022-03-13T22:46:43.000Z | diskreet-blockchain/ts/session/messages/outgoing/controlMessage/group/ClosedGroupEncryptionPairRequestMessage.js | woflydev/general-projects | 4ab637fabd2b8ff563ec1637eccefed780bce163 | [
"MIT"
] | null | null | null | diskreet-blockchain/ts/session/messages/outgoing/controlMessage/group/ClosedGroupEncryptionPairRequestMessage.js | woflydev/general-projects | 4ab637fabd2b8ff563ec1637eccefed780bce163 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClosedGroupEncryptionPairRequestMessage = void 0;
const protobuf_1 = require("../../../../../protobuf");
const ClosedGroupMessage_1 = require("./ClosedGroupMessage");
class ClosedGroupEncryptionPairRequestMessage extends ClosedGroupMes... | 49.6875 | 108 | 0.774843 |
5da4c4c25c5180de10e006f11ebaa79e2b4777e8 | 4,925 | cpp | C++ | Crowny/Source/Crowny/Scripting/Mono/MonoMethod.cpp | bojosos/Nworc | a59cb18412a45a101f877caedf6ed0025a9e44a9 | [
"MIT"
] | 2 | 2021-05-13T17:57:04.000Z | 2021-10-04T07:07:01.000Z | Crowny/Source/Crowny/Scripting/Mono/MonoMethod.cpp | bojosos/Crowny | 5aef056d2c95e04870d2372a87257ad9dccf168a | [
"MIT"
] | null | null | null | Crowny/Source/Crowny/Scripting/Mono/MonoMethod.cpp | bojosos/Crowny | 5aef056d2c95e04870d2372a87257ad9dccf168a | [
"MIT"
] | null | null | null | #include "cwpch.h"
#include "Crowny/Scripting/Mono/MonoClass.h"
#include "Crowny/Scripting/Mono/MonoManager.h"
#include "Crowny/Scripting/Mono/MonoMethod.h"
#include "Crowny/Scripting/Mono/MonoUtils.h"
#include <mono/metadata/attrdefs.h>
#include <mono/metadata/debug-helpers.h>
#include <mono/metadata/loader.h>
#incl... | 32.615894 | 108 | 0.643249 |
f4150d3f87fa6a55d8888e91c88b7b94104e26d5 | 496 | cs | C# | 15. DESIGN PATTERNS/03. Behavioral Patterns/11. Visitor/VisitorDemo.cs | pirocorp/Databases-Advanced---Entity-Framework | c2be979fa9a35a184bbcac87458524ad5e5f7fea | [
"MIT"
] | null | null | null | 15. DESIGN PATTERNS/03. Behavioral Patterns/11. Visitor/VisitorDemo.cs | pirocorp/Databases-Advanced---Entity-Framework | c2be979fa9a35a184bbcac87458524ad5e5f7fea | [
"MIT"
] | null | null | null | 15. DESIGN PATTERNS/03. Behavioral Patterns/11. Visitor/VisitorDemo.cs | pirocorp/Databases-Advanced---Entity-Framework | c2be979fa9a35a184bbcac87458524ad5e5f7fea | [
"MIT"
] | null | null | null | namespace _11._Visitor
{
public static class VisitorDemo
{
public static void Main()
{
// Setup employee collection
var employees = new Employees();
employees.Attach(new Clerk());
employees.Attach(new Director());
employees.Attach(new ... | 26.105263 | 52 | 0.552419 |
a35633fbaaf562d9b6354a1d5855a43f1fe56bbd | 3,733 | tsx | TypeScript | front/components/menu/accessibility.component.tsx | OMoukoko/1000jours | 1ca613176993016a2b1797e2f038d018b28bce2e | [
"Apache-2.0"
] | 8 | 2021-02-11T17:05:16.000Z | 2021-10-09T09:09:05.000Z | front/components/menu/accessibility.component.tsx | OMoukoko/1000jours | 1ca613176993016a2b1797e2f038d018b28bce2e | [
"Apache-2.0"
] | 993 | 2021-02-16T10:08:34.000Z | 2022-03-31T16:35:50.000Z | front/components/menu/accessibility.component.tsx | OMoukoko/1000jours | 1ca613176993016a2b1797e2f038d018b28bce2e | [
"Apache-2.0"
] | 6 | 2021-02-11T17:05:20.000Z | 2021-12-07T16:53:55.000Z | import type { FC } from "react";
import * as React from "react";
import { StyleSheet, View } from "react-native";
import { Paddings } from "../../constants";
import ModalHtmlContent from "../base/modalHtmlContent.component";
import A from "../html/a.component";
import H1 from "../html/h1.component";
import H2 from "..... | 33.330357 | 80 | 0.633539 |
74696dbb9cfa26e948106005a5db8b4e5781bfa6 | 506 | css | CSS | stylesheet/css/css.css | alfaben12/kprpllasttask | d47e9c9e6e1fbde5f66203fcacb3ad27fa45b062 | [
"Apache-2.0"
] | null | null | null | stylesheet/css/css.css | alfaben12/kprpllasttask | d47e9c9e6e1fbde5f66203fcacb3ad27fa45b062 | [
"Apache-2.0"
] | null | null | null | stylesheet/css/css.css | alfaben12/kprpllasttask | d47e9c9e6e1fbde5f66203fcacb3ad27fa45b062 | [
"Apache-2.0"
] | null | null | null | <head>
<style type="text/css">
* {
box-sizing:border-box;
}
.clearfix:after {
content: "";
display: table;
clear: both;
}
.divide1{
float: left;
width:50%;
padding-right: 10px;
}
.divide2{
float: left;
width:50%;
padding-left: 10px;
}
@media screen and (max-wid... | 14.457143 | 39 | 0.529644 |
f14325e7f99b05a8d9812fd7c1f0d9dd311edaea | 1,650 | rb | Ruby | db/schema.rb | vovka/echocat--ruby-kata-1 | fd70715c49271b106d2e7c8d5d0ff941535adde2 | [
"MIT"
] | null | null | null | db/schema.rb | vovka/echocat--ruby-kata-1 | fd70715c49271b106d2e7c8d5d0ff941535adde2 | [
"MIT"
] | null | null | null | db/schema.rb | vovka/echocat--ruby-kata-1 | fd70715c49271b106d2e7c8d5d0ff941535adde2 | [
"MIT"
] | null | null | null | # This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# This file is the source Rails uses to define your schema when running `rails
#... | 34.375 | 86 | 0.735152 |
b02d364fad492b49625b2e4436c0c11396e28860 | 787 | py | Python | algorithm/greedy/luck_balance/solution.py | delaanthonio/hackerrank | b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27 | [
"MIT"
] | 1 | 2017-07-02T01:35:39.000Z | 2017-07-02T01:35:39.000Z | algorithm/greedy/luck_balance/solution.py | delaanthonio/hackerrank | b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27 | [
"MIT"
] | null | null | null | algorithm/greedy/luck_balance/solution.py | delaanthonio/hackerrank | b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27 | [
"MIT"
] | 1 | 2018-04-03T15:11:56.000Z | 2018-04-03T15:11:56.000Z | #!/usr/bin/env python3
"""
Luck Balance
:author: Dela Anthonio
:hackerrank: https://hackerrank.com/delaanthonio
:problem: https://www.hackerrank.com/challenges/luck-balance
"""
import sys
from typing import List, Tuple
def luck_balance(contests: List[Tuple[int, int]], important) -> int:
important_contests = so... | 23.848485 | 76 | 0.678526 |
256e798c8115dcca363698389835221d6d074609 | 217 | cs | C# | 3-Data/Source/GameAccess_BlobStorage/GameAccess_BlobStorage/Config.cs | msimecek/Azure-Gaming-Workshop | 31ab13675392f5c2e3f07ac7dd516c784c270757 | [
"MIT"
] | null | null | null | 3-Data/Source/GameAccess_BlobStorage/GameAccess_BlobStorage/Config.cs | msimecek/Azure-Gaming-Workshop | 31ab13675392f5c2e3f07ac7dd516c784c270757 | [
"MIT"
] | null | null | null | 3-Data/Source/GameAccess_BlobStorage/GameAccess_BlobStorage/Config.cs | msimecek/Azure-Gaming-Workshop | 31ab13675392f5c2e3f07ac7dd516c784c270757 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace GameAccess_BlobStorage
{
public static class Config
{
public static string ApiUrl = "http://localhost:43551/api";
}
}
| 18.083333 | 67 | 0.709677 |
d66323862f1643a862d1c82fcb1f2fd54c83b7cf | 2,822 | cs | C# | DefaultApplicationBuilderFactory.cs | amh1979/AspNetCore.FileLog | 6f9aadd1929dae6aa0117a652db3f1329edd3834 | [
"MIT"
] | 5 | 2019-01-25T05:03:14.000Z | 2019-12-11T02:31:10.000Z | DefaultApplicationBuilderFactory.cs | amh1979/AspNetCore.FileLog | 6f9aadd1929dae6aa0117a652db3f1329edd3834 | [
"MIT"
] | null | null | null | DefaultApplicationBuilderFactory.cs | amh1979/AspNetCore.FileLog | 6f9aadd1929dae6aa0117a652db3f1329edd3834 | [
"MIT"
] | 3 | 2019-01-03T13:08:27.000Z | 2020-12-17T10:14:49.000Z | /* ===============================================
* 功能描述:AspNetCore.Extensions.Internal.ApplicationBuilderFactory
* 创 建 者:WeiGe
* 创建日期:10/16/2018 6:19:08 PM
* ===============================================*/
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Builder.Internal;
using Microsoft.AspNetCore.... | 37.131579 | 137 | 0.60489 |
0a8b2c067fab7ffe6c41f188250f1bf03498abba | 630 | cs | C# | src/Jimu.Client/ApiGateway/Core/JimuQueryStringModelBinderProvider.cs | tianweimol/jimu | e9a1651bb3ad4d98682e4a4c9f43a52f511a66b0 | [
"MIT"
] | null | null | null | src/Jimu.Client/ApiGateway/Core/JimuQueryStringModelBinderProvider.cs | tianweimol/jimu | e9a1651bb3ad4d98682e4a4c9f43a52f511a66b0 | [
"MIT"
] | null | null | null | src/Jimu.Client/ApiGateway/Core/JimuQueryStringModelBinderProvider.cs | tianweimol/jimu | e9a1651bb3ad4d98682e4a4c9f43a52f511a66b0 | [
"MIT"
] | null | null | null | using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.ModelBinding.Binders;
using Microsoft.Extensions.Logging.Abstractions;
namespace Jimu.Client.ApiGateway.Core
{
public class JimuQueryStringModelBinderProvider : IModelBinderProvider
{
private readonly IModelBinder _modelBinder... | 39.375 | 161 | 0.771429 |
23cbf7afb2fbea8a740a21a63d20bf5eff431e3a | 1,345 | js | JavaScript | pages/index.js | adeb6600/VoterQ | 67320fdaa210b3c1911922b0f495e7f9dd03b255 | [
"MIT"
] | null | null | null | pages/index.js | adeb6600/VoterQ | 67320fdaa210b3c1911922b0f495e7f9dd03b255 | [
"MIT"
] | null | null | null | pages/index.js | adeb6600/VoterQ | 67320fdaa210b3c1911922b0f495e7f9dd03b255 | [
"MIT"
] | null | null | null | import React from 'react';
import {geolocated} from 'react-geolocated'
import {Query } from 'react-apollo'
import { RegCenterList, allRegCenterQueryVars } from '../data';
import { Index } from '../containers';
const loadData = (props)=>(<Query query = {RegCenterList}
variables ={allRegCenterQueryVars... | 26.9 | 106 | 0.500372 |
15bc4f36a6c60c26755ab63c3981cf776d6ad024 | 549 | rb | Ruby | lib/terraforming.rb | aloyzio/Terraform-Granular | 5be0161fdd8d982e5869a70dd28f54b480dc77a5 | [
"MIT"
] | null | null | null | lib/terraforming.rb | aloyzio/Terraform-Granular | 5be0161fdd8d982e5869a70dd28f54b480dc77a5 | [
"MIT"
] | null | null | null | lib/terraforming.rb | aloyzio/Terraform-Granular | 5be0161fdd8d982e5869a70dd28f54b480dc77a5 | [
"MIT"
] | null | null | null | require "aws-sdk-core"
require "erb"
require "json"
require "thor"
require "zlib"
require "terraforming/version"
require "terraforming/cli"
require "terraforming/resource"
require "terraforming/resource/db_parameter_group"
require "terraforming/resource/db_security_group"
require "terraforming/resource/db_subnet_grou... | 27.45 | 50 | 0.830601 |
a005a6cd25bb1a159c0d4dc8cea11c6414d4aff5 | 404 | ts | TypeScript | src/utils/filter-unique.rxjs-pipe.ts | justerest/multi-replace | 76624112de8ff3075d2e27e3398c9c7475fb911c | [
"MIT"
] | 2 | 2020-03-10T19:41:59.000Z | 2020-05-30T09:23:23.000Z | src/utils/filter-unique.rxjs-pipe.ts | justerest/multi-replace-vsix | e181321ef3c599ec6c41cd126ee97f3895dd3947 | [
"MIT"
] | 6 | 2020-05-22T18:44:18.000Z | 2021-06-13T08:47:59.000Z | src/utils/filter-unique.rxjs-pipe.ts | justerest/multi-replace-vsix | e181321ef3c599ec6c41cd126ee97f3895dd3947 | [
"MIT"
] | 1 | 2021-08-22T19:23:01.000Z | 2021-08-22T19:23:01.000Z | import { MonoTypeOperatorFunction } from 'rxjs';
import { filter } from 'rxjs/operators';
/**
* RxJs pipable operator.
*/
export function filterUnique<T>(fn: (arg: T) => any = (data) => data): MonoTypeOperatorFunction<T> {
const cache = new Set<string>();
return filter((data) => {
const value = fn(data);
if (!... | 22.444444 | 100 | 0.638614 |
a183da5d58dba8b8f2378d0ee15225c0f620e53f | 202 | ts | TypeScript | src/types/globals.d.ts | mergemocha/remotr-backend | b94574d1ff10980ac9f05aec5c4ff1ea2e023443 | [
"MIT"
] | null | null | null | src/types/globals.d.ts | mergemocha/remotr-backend | b94574d1ff10980ac9f05aec5c4ff1ea2e023443 | [
"MIT"
] | 34 | 2021-04-26T10:11:02.000Z | 2021-05-25T08:21:52.000Z | src/types/globals.d.ts | mergemocha/remotr-backend | b94574d1ff10980ac9f05aec5c4ff1ea2e023443 | [
"MIT"
] | null | null | null | import winston from 'winston'
declare global {
// eslint-disable-next-line no-var
var logger: winston.Logger
}
declare module 'express-session' {
interface SessionData {
token: string
}
}
| 15.538462 | 36 | 0.707921 |
c6eed6d420f7564a7ea79b8560b3487f4057b0a3 | 2,685 | py | Python | main.py | georgiyermakov/mtrxpcnc | 5e697a0c968a0ca0b5dde7b60daa0c9be7511007 | [
"Apache-2.0"
] | null | null | null | main.py | georgiyermakov/mtrxpcnc | 5e697a0c968a0ca0b5dde7b60daa0c9be7511007 | [
"Apache-2.0"
] | null | null | null | main.py | georgiyermakov/mtrxpcnc | 5e697a0c968a0ca0b5dde7b60daa0c9be7511007 | [
"Apache-2.0"
] | null | null | null |
import telebot
from telebot import types
TOKEN = '403760552:AAH6R0EAKTYAvjsOX1noscBStd7XG1WSnw0'
bot = telebot.TeleBot(TOKEN)
@bot.message_handler(commands=['start'])
def start(m):
"""Отвечаем на команду /start
"""
keyboard = types.InlineKeyboardMarkup()
keyboard.row(*[types.InlineKeyboardButton(tex... | 78.970588 | 351 | 0.766108 |
9d1ef2f0ab36a21a4ea6b6e3b0cc847d349ec616 | 3,704 | h | C | examples/MobileNetV2/MobileNetV2.h | miaobin/webnn-native | a0aa73dcbc7277d31fefb2a20322d11a88678fae | [
"Apache-2.0"
] | null | null | null | examples/MobileNetV2/MobileNetV2.h | miaobin/webnn-native | a0aa73dcbc7277d31fefb2a20322d11a88678fae | [
"Apache-2.0"
] | null | null | null | examples/MobileNetV2/MobileNetV2.h | miaobin/webnn-native | a0aa73dcbc7277d31fefb2a20322d11a88678fae | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 The WebNN-native Authors
//
// 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 ... | 49.386667 | 84 | 0.528618 |
2cbb88239d05ecb172bf155a8c4485a6b8e67a30 | 1,687 | py | Python | JsonCodeTools/objects_common/enumType.py | kamlam/EAGLE-Open-Model-Profile-and-Tools-1 | 42690535de136251d8a464ad254ac0ea344d383a | [
"Apache-2.0"
] | null | null | null | JsonCodeTools/objects_common/enumType.py | kamlam/EAGLE-Open-Model-Profile-and-Tools-1 | 42690535de136251d8a464ad254ac0ea344d383a | [
"Apache-2.0"
] | null | null | null | JsonCodeTools/objects_common/enumType.py | kamlam/EAGLE-Open-Model-Profile-and-Tools-1 | 42690535de136251d8a464ad254ac0ea344d383a | [
"Apache-2.0"
] | null | null | null | class EnumType(object):
# Internal data storage uses integer running from 0 to range_end
# range_end is set to the number of possible values that the Enum can take on
# External representation of Enum starts at 1 and goes to range_end + 1
def __init__(self, initial_value):
self.set(initial_valu... | 37.488889 | 105 | 0.608773 |
79a470cd187188312100f9ca493e1a0281186a9e | 243 | php | PHP | app/Commands/ToggleRentalActivationCommand.php | olsfinest/rentgorilla | d02a201e746b316f5cff788a6b1161ceea62e7e3 | [
"MIT"
] | null | null | null | app/Commands/ToggleRentalActivationCommand.php | olsfinest/rentgorilla | d02a201e746b316f5cff788a6b1161ceea62e7e3 | [
"MIT"
] | null | null | null | app/Commands/ToggleRentalActivationCommand.php | olsfinest/rentgorilla | d02a201e746b316f5cff788a6b1161ceea62e7e3 | [
"MIT"
] | null | null | null | <?php namespace RentGorilla\Commands;
use RentGorilla\Commands\Command;
class ToggleRentalActivationCommand extends Command
{
public $rental_id;
function __construct($rental_id)
{
$this->rental_id = $rental_id;
}
}
| 16.2 | 51 | 0.711934 |
b90469d036de6fbbe6fa1b2050fae07ce7076b0f | 2,063 | swift | Swift | IDPDesign/UIKit/Generated/Lens+UINavigationItemGenerated.swift | idapgroup/IDPDesign | a4d5813f77fc000dc8fbe784de473072b487ae37 | [
"BSD-3-Clause"
] | 4 | 2017-10-15T13:27:35.000Z | 2017-12-05T11:32:47.000Z | IDPDesign/UIKit/Generated/Lens+UINavigationItemGenerated.swift | idapgroup/IDPDesign | a4d5813f77fc000dc8fbe784de473072b487ae37 | [
"BSD-3-Clause"
] | null | null | null | IDPDesign/UIKit/Generated/Lens+UINavigationItemGenerated.swift | idapgroup/IDPDesign | a4d5813f77fc000dc8fbe784de473072b487ae37 | [
"BSD-3-Clause"
] | 3 | 2017-09-27T22:07:58.000Z | 2019-03-04T13:00:22.000Z | // Generated using Sourcery 0.9.0 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT
import UIKit
public func title<Object: UINavigationItem>() -> Lens<Object, String?> {
return Lens(
get: { $0.title },
setter: { $0.title = $1 }
)
}
public func titleView<Object: UINavigationItem>(... | 27.506667 | 97 | 0.622395 |
0512dc238af505281388cdb767546c95a3ea138b | 1,010 | rb | Ruby | lib/procon_bypass_man/remote_pbm_action.rb | splaspla-hacker/procon_bypass_man | 473c03847eb4ea33a08f897cfbe933fd78a674eb | [
"MIT"
] | 6 | 2022-01-05T11:01:53.000Z | 2022-02-18T03:54:46.000Z | lib/procon_bypass_man/remote_pbm_action.rb | splaspla-hacker/procon_bypass_man | 473c03847eb4ea33a08f897cfbe933fd78a674eb | [
"MIT"
] | 20 | 2021-11-28T11:18:44.000Z | 2022-03-04T11:40:38.000Z | lib/procon_bypass_man/remote_pbm_action.rb | splaspla-hacker/procon_bypass_man | 473c03847eb4ea33a08f897cfbe933fd78a674eb | [
"MIT"
] | null | null | null | module ProconBypassMan
module RemotePbmAction
require "procon_bypass_man/remote_pbm_action/base_action"
require "procon_bypass_man/remote_pbm_action/change_pbm_version_action"
require "procon_bypass_man/remote_pbm_action/reboot_os_action"
require "procon_bypass_man/remote_pbm_action/stop_pbm_action"
... | 30.606061 | 98 | 0.773267 |
82391e9cca087717cd0b9a00c0a25aa968ffc2b9 | 13,261 | hxx | C++ | rutil/SharedPtr.hxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 1 | 2019-04-15T14:10:58.000Z | 2019-04-15T14:10:58.000Z | rutil/SharedPtr.hxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | null | null | null | rutil/SharedPtr.hxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 2 | 2019-10-31T09:11:09.000Z | 2021-09-17T01:00:49.000Z | #if !defined(RESIP_SHAREDPTR_HXX)
#define RESIP_SHAREDPTR_HXX
/**
@file
@brief Defines a reference-counted pointer class.
@note This implementation is a modified version of shared_ptr from
Boost.org. License text is below.
http://www.boost.org/libs/smart_ptr/shared_ptr.htm
*/
#include "rutil/SharedCo... | 28.396146 | 145 | 0.660131 |
dda2b90a2bd4a911ebb325dfb5248e19d573fae1 | 1,602 | py | Python | src/network_state_graph.py | RoseBay-Consulting/BlockSim | 95dcf2fde05877bdcf59610fd3c3a3314b892f6c | [
"MIT"
] | 13 | 2019-03-14T09:01:51.000Z | 2020-11-21T18:46:59.000Z | src/network_state_graph.py | RoseBay-Consulting/BlockSim | 95dcf2fde05877bdcf59610fd3c3a3314b892f6c | [
"MIT"
] | null | null | null | src/network_state_graph.py | RoseBay-Consulting/BlockSim | 95dcf2fde05877bdcf59610fd3c3a3314b892f6c | [
"MIT"
] | 12 | 2019-03-14T07:54:29.000Z | 2021-04-13T16:57:23.000Z | #import matplotlib.pyplot as plt
import networkx as nx
import numpy as np
import pandas as pd
import random
# use graphviz
def show_network(data,labels):
pass
def csv_loader():
data = pd.read_csv("config/network_model.csv")
data.set_index('node',inplace=True)
nodes=data.columns.tolist()
nodeID=[in... | 32.04 | 85 | 0.704744 |
029f7862c89879897231d107e993919270bfa276 | 1,241 | hpp | C++ | src/Event/KeyboardEvent.hpp | billy4479/BillyEngine | df7d519f740d5862c4743872dbf89b3654eeb423 | [
"MIT"
] | 1 | 2021-09-05T20:50:59.000Z | 2021-09-05T20:50:59.000Z | src/Event/KeyboardEvent.hpp | billy4479/sdl-tests | df7d519f740d5862c4743872dbf89b3654eeb423 | [
"MIT"
] | null | null | null | src/Event/KeyboardEvent.hpp | billy4479/sdl-tests | df7d519f740d5862c4743872dbf89b3654eeb423 | [
"MIT"
] | null | null | null | #pragma once
#include "Event.hpp"
#include "KeyCodes.hpp"
namespace BillyEngine {
class KeyboardEvent : public Event {
public:
KeyboardEvent(Key::KeyCode keyCode, Key::Mods::Mods mods)
: m_Key(keyCode), m_Mods(mods) {}
EVENT_CLASS_CATEGORY(EventCategory::Input | EventCategory::Keyboard)
Key::... | 24.82 | 76 | 0.65834 |
7ac1761e47a1ef5a82e37613ca5e23a15e04eacf | 666 | cs | C# | ForoshGahe Mobile/admin/AdminManageSells.aspx.cs | tebyaniyan/ForoshGahe-Mobile | f9b8ec3f0bab5e52420e158907dc9c1c92b21634 | [
"MIT"
] | null | null | null | ForoshGahe Mobile/admin/AdminManageSells.aspx.cs | tebyaniyan/ForoshGahe-Mobile | f9b8ec3f0bab5e52420e158907dc9c1c92b21634 | [
"MIT"
] | null | null | null | ForoshGahe Mobile/admin/AdminManageSells.aspx.cs | tebyaniyan/ForoshGahe-Mobile | f9b8ec3f0bab5e52420e158907dc9c1c92b21634 | [
"MIT"
] | null | null | null | using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class AdminManageSells : System.Web.UI.Pa... | 25.615385 | 110 | 0.716216 |
a5755593cdc656f8d04f194f8972fb2ecaa192d2 | 1,686 | dart | Dart | lib/src/repositories/employer_repository/employer_provider.dart | IAmRealPoca/cvideo-employer-mobile | aab821dc66d2eca9c80532c4acbafbd542031fb8 | [
"MIT"
] | null | null | null | lib/src/repositories/employer_repository/employer_provider.dart | IAmRealPoca/cvideo-employer-mobile | aab821dc66d2eca9c80532c4acbafbd542031fb8 | [
"MIT"
] | null | null | null | lib/src/repositories/employer_repository/employer_provider.dart | IAmRealPoca/cvideo-employer-mobile | aab821dc66d2eca9c80532c4acbafbd542031fb8 | [
"MIT"
] | null | null | null | import 'dart:convert';
import 'package:cvideo_employer_mobile/src/app_components/app_components.dart';
import 'package:cvideo_employer_mobile/src/models/models.dart';
class EmployerProvider {
static const successCode = 200;
static final EmployerProvider _instance = EmployerProvider._internal();
Empl... | 31.222222 | 84 | 0.692764 |
f3f97eb86f00e4480557299d4653265a5aab66fb | 2,125 | ts | TypeScript | packages/util/src/tailwind-get-classes.ts | twstyled/twstyled-contrib | 7b427c9fe6054b248ab1d0fe3583b24fb36a911e | [
"MIT"
] | 39 | 2021-02-11T15:06:19.000Z | 2022-03-25T23:27:24.000Z | packages/util/src/tailwind-get-classes.ts | twstyled/twstyled-contrib | 7b427c9fe6054b248ab1d0fe3583b24fb36a911e | [
"MIT"
] | 2 | 2021-03-10T10:31:20.000Z | 2021-05-02T05:29:49.000Z | packages/util/src/tailwind-get-classes.ts | twstyled/twstyled-contrib | 7b427c9fe6054b248ab1d0fe3583b24fb36a911e | [
"MIT"
] | 3 | 2021-08-17T13:54:31.000Z | 2021-11-25T01:57:55.000Z | import tailwindData, { createTwClassDictionary } from '@xwind/core'
import { getTwConfigCache, getTwConfigPath } from '.'
function splitAtLastOccurence(src: string, char: string) {
const pos = src.lastIndexOf(char)
return [src.substring(0, pos), src.substring(pos + 1)]
}
function splitAtLastTwoOccurences(src: str... | 32.692308 | 91 | 0.631529 |
e72e6548b80611c47189080f3619da9a38742cd6 | 22,545 | php | PHP | application/views/v_pilih_kamar.php | akhmadarief/sistem-penyewaan-rusunawa-ci | 58faa50982fb45d10797ef506fa2b77338547071 | [
"MIT"
] | null | null | null | application/views/v_pilih_kamar.php | akhmadarief/sistem-penyewaan-rusunawa-ci | 58faa50982fb45d10797ef506fa2b77338547071 | [
"MIT"
] | null | null | null | application/views/v_pilih_kamar.php | akhmadarief/sistem-penyewaan-rusunawa-ci | 58faa50982fb45d10797ef506fa2b77338547071 | [
"MIT"
] | null | null | null | <!-- START PAGE CONTENT-->
<div class="page-content fade-in-up">
<div class="row">
<div class="col-md-12">
<div class="ibox">
<div class="ibox-head">
<div class="ibox-title">De... | 71.119874 | 179 | 0.308405 |
496a326d665c5974fc1de7d72c8292ef23d83c0e | 35,701 | py | Python | text_adventure/example_games/mini_knightmare.py | TomMonks/text-adventure-engine | 9af9ea2a0fca92ffc981760f6907702822b47ae8 | [
"MIT"
] | null | null | null | text_adventure/example_games/mini_knightmare.py | TomMonks/text-adventure-engine | 9af9ea2a0fca92ffc981760f6907702822b47ae8 | [
"MIT"
] | null | null | null | text_adventure/example_games/mini_knightmare.py | TomMonks/text-adventure-engine | 9af9ea2a0fca92ffc981760f6907702822b47ae8 | [
"MIT"
] | null | null | null | '''
A mini Knightmare text adventure game.
--------------------------------------
Knightmare was a popular TV programme in the early to mid 1990s
shown on ITV in UK. This game is a text adventure version
of a mini Knightmare quest. As a text adventure the mechanics
are different from the TV show and it is intended a... | 42.755689 | 104 | 0.625529 |
2d4132d973c95349293f642504e84e266d593da3 | 170 | dart | Dart | taste_cloud_functions/functions/test/toolbox/import_mailchimp.dart | tasteapp/taste_public | b2d884b405224dd1e74b4462fac2c1f59c1f6ca2 | [
"MIT"
] | null | null | null | taste_cloud_functions/functions/test/toolbox/import_mailchimp.dart | tasteapp/taste_public | b2d884b405224dd1e74b4462fac2c1f59c1f6ca2 | [
"MIT"
] | null | null | null | taste_cloud_functions/functions/test/toolbox/import_mailchimp.dart | tasteapp/taste_public | b2d884b405224dd1e74b4462fac2c1f59c1f6ca2 | [
"MIT"
] | 1 | 2021-02-06T07:44:39.000Z | 2021-02-06T07:44:39.000Z | import '../utilities.dart';
Future importMailchimp() async => mailchimp.batch((await TasteUsers.get())
.map((u) => u.updateMailchimpUserRequest)
.withoutNulls);
| 28.333333 | 74 | 0.705882 |
05d721857319cb7f32220a3666d9ce4de8d3c451 | 228 | py | Python | python/examples/websocket/main.py | fission/environment-registry | 1ed158f60be08a597272b5e9f7466553fad53e81 | [
"Apache-2.0"
] | null | null | null | python/examples/websocket/main.py | fission/environment-registry | 1ed158f60be08a597272b5e9f7466553fad53e81 | [
"Apache-2.0"
] | null | null | null | python/examples/websocket/main.py | fission/environment-registry | 1ed158f60be08a597272b5e9f7466553fad53e81 | [
"Apache-2.0"
] | null | null | null | def main(ws, clients):
print("The number of clients is: {}".format(len(clients)))
count = 0
while not ws.closed and count < 5:
message = ws.receive()
ws.send(message)
count += 1
ws.close() | 28.5 | 62 | 0.570175 |
74e1b52bd19d40a63838e87cfb10392cf9250489 | 2,595 | go | Go | go/vt/vtgate/engine/session_primitive.go | tokikanno/vitess | 5860897b8fc91d30c480f1adb3f8dcc7d9c002ec | [
"Apache-2.0"
] | 13 | 2018-09-27T14:16:05.000Z | 2022-01-30T09:02:49.000Z | go/vt/vtgate/engine/session_primitive.go | tokikanno/vitess | 5860897b8fc91d30c480f1adb3f8dcc7d9c002ec | [
"Apache-2.0"
] | 17 | 2018-10-18T06:50:05.000Z | 2022-01-20T18:18:34.000Z | go/vt/vtgate/engine/session_primitive.go | tokikanno/vitess | 5860897b8fc91d30c480f1adb3f8dcc7d9c002ec | [
"Apache-2.0"
] | 8 | 2019-10-21T17:45:17.000Z | 2021-09-07T06:47:49.000Z | /*
Copyright 2021 The Vitess Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | 30.174419 | 151 | 0.770328 |
bd824df2a4f27a28119567722de705560bbc276a | 202 | cs | C# | Programming Basics/2016 June/CSharpProgrammingBasicDemo/Playsound/PlaySound.cs | andreykata/SoftUni | f96d6ee7df5a2ab8c688fb281e3198d132f3c1bd | [
"MIT"
] | null | null | null | Programming Basics/2016 June/CSharpProgrammingBasicDemo/Playsound/PlaySound.cs | andreykata/SoftUni | f96d6ee7df5a2ab8c688fb281e3198d132f3c1bd | [
"MIT"
] | null | null | null | Programming Basics/2016 June/CSharpProgrammingBasicDemo/Playsound/PlaySound.cs | andreykata/SoftUni | f96d6ee7df5a2ab8c688fb281e3198d132f3c1bd | [
"MIT"
] | null | null | null | using System;
class PlaySound
{
static void Main(string[] args)
{
var leva = int.Parse(Console.ReadLine());
var euro = leva / 1.95583;
Console.WriteLine(euro);
}
}
| 16.833333 | 49 | 0.574257 |
0878b7d2bea18bced93318b706eb3214038b06d4 | 222 | sql | SQL | primeri_sa_vezbi/pbp.trocas5/pbp.trocas5.zadaci/zadatak4.sql | ivana-matf-bg-ac-rs/projektovanje-baza-podataka | f9dcfc84dea7b3bbb991f7991843fda37b144f54 | [
"MIT"
] | null | null | null | primeri_sa_vezbi/pbp.trocas5/pbp.trocas5.zadaci/zadatak4.sql | ivana-matf-bg-ac-rs/projektovanje-baza-podataka | f9dcfc84dea7b3bbb991f7991843fda37b144f54 | [
"MIT"
] | null | null | null | primeri_sa_vezbi/pbp.trocas5/pbp.trocas5.zadaci/zadatak4.sql | ivana-matf-bg-ac-rs/projektovanje-baza-podataka | f9dcfc84dea7b3bbb991f7991843fda37b144f54 | [
"MIT"
] | null | null | null | /*
4. Kreirati SQL iskaz kojim se briše prethodno dodata kolona iz
zadatka 3.
*/
USE poslovanje;
-- Brise se kolona
ALTER TABLE fakture
DROP COLUMN primio;
-- Ispisuje se definicija tabele
SHOW CREATE TABLE fakture; | 14.8 | 64 | 0.752252 |
3913bf312b61dd7c1877057e91cc74c284bdbe7b | 2,514 | py | Python | producer/producer/__main__.py | HelenMel/WebsiteStatusesAggregators | 787283121b3eff3fbaf201106facf3d0f167ca8e | [
"MIT"
] | 1 | 2020-04-07T12:03:38.000Z | 2020-04-07T12:03:38.000Z | producer/producer/__main__.py | HelenMel/WebsiteStatusesAggregators | 787283121b3eff3fbaf201106facf3d0f167ca8e | [
"MIT"
] | null | null | null | producer/producer/__main__.py | HelenMel/WebsiteStatusesAggregators | 787283121b3eff3fbaf201106facf3d0f167ca8e | [
"MIT"
] | null | null | null | from producer.checkers.website_checker import WebsiteChecker
from producer.repositories.kafka import KafkaWriter
from producer.utilities.json_serializer import JsonSerializer
from producer.config.app_config import AppConfig
import schedule
from concurrent.futures import ThreadPoolExecutor
import logging
logging.basicC... | 33.972973 | 114 | 0.678202 |
3cf56ec09d117b2f65dca124ee52ec858f73ea81 | 6,648 | go | Go | test/postgres/dao/goma_date_types_gen.go | kyokomi/goma | 688904cf12b4caf16e37ebe92c8a15ee8b86ce6e | [
"Apache-2.0"
] | 25 | 2015-02-15T10:39:50.000Z | 2020-07-30T18:46:36.000Z | test/postgres/dao/goma_date_types_gen.go | kyokomi/goma | 688904cf12b4caf16e37ebe92c8a15ee8b86ce6e | [
"Apache-2.0"
] | 55 | 2015-02-16T15:04:27.000Z | 2016-02-25T08:41:24.000Z | test/postgres/dao/goma_date_types_gen.go | kyokomi/goma | 688904cf12b4caf16e37ebe92c8a15ee8b86ce6e | [
"Apache-2.0"
] | 3 | 2015-02-23T11:22:22.000Z | 2020-06-03T02:29:50.000Z | package dao
// NOTE: THIS FILE WAS PRODUCED BY THE
// GOMA CODE GENERATION TOOL (github.com/kyokomi/goma)
// DO NOT EDIT
import (
"log"
"database/sql"
"github.com/kyokomi/goma/test/postgres/entity"
)
var tableGomaDateTypes = "goma_date_types"
var columnsGomaDateTypes = []string{
"id",
"timestamp_columns",
"n... | 26.173228 | 98 | 0.731949 |
06d3d3fcbfb72b630cfccde711744699d4c5e431 | 2,274 | py | Python | maestro/container.py | kstaken/maestro | 5f7537acece4612ef0c9a5b8f59f060aa980468e | [
"MIT"
] | 113 | 2015-01-02T20:42:06.000Z | 2022-02-06T09:48:13.000Z | maestro/container.py | kstaken/maestro | 5f7537acece4612ef0c9a5b8f59f060aa980468e | [
"MIT"
] | 3 | 2015-06-12T10:25:51.000Z | 2020-11-25T04:46:37.000Z | maestro/container.py | toscanini/maestro | 5f7537acece4612ef0c9a5b8f59f060aa980468e | [
"MIT"
] | 15 | 2015-01-30T06:20:23.000Z | 2022-02-06T22:28:50.000Z | import os, sys
from exceptions import ContainerError
import utils, StringIO, logging
import py_backend
class Container:
def __init__(self, name, state, config, mounts=None):
self.log = logging.getLogger('maestro')
self.state = state
self.config = config
self.name = name
self.mounts = mou... | 33.940299 | 99 | 0.684257 |
ff6a4aca4dba8e9a2d73153671c922968adad77c | 4,423 | py | Python | tracklets/utils/utils.py | yoyomimi/TNT_pytorch | 165c5da0bc66baf84bb1ddc5fe0cf6a101555c59 | [
"Apache-2.0"
] | 20 | 2020-03-08T14:47:04.000Z | 2021-11-14T12:55:28.000Z | tracklets/utils/utils.py | Mauriyin/TNT_pytorch | fed7e182a45e5cf74d827f090d72251eedbd7cc1 | [
"Apache-2.0"
] | 13 | 2020-03-08T14:39:01.000Z | 2022-03-12T00:18:08.000Z | tracklets/utils/utils.py | Mauriyin/TNT_pytorch | fed7e182a45e5cf74d827f090d72251eedbd7cc1 | [
"Apache-2.0"
] | 6 | 2020-03-08T14:47:11.000Z | 2021-05-21T10:33:05.000Z | # -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
# Created by Mingfei Chen (lasiafly@gmail.com)
# Created On: 2020-2-25
# ------------------------------------------------------------------------------
import numpy as np
import pandas as pd
import torch
def get_e... | 42.528846 | 142 | 0.656116 |
2d1b18b5cccbc3c410b8a5fc12905b781bd1d43f | 533 | css | CSS | src/components/Welcome/components/WelcomeDevelopers/WelcomeDevelopers.css | archanaserver/ChRIS_store_ui | fa5c31cd6a4b78aa0cfd46cef0e24f4b0336bc83 | [
"MIT"
] | 1 | 2022-01-14T08:19:15.000Z | 2022-01-14T08:19:15.000Z | src/components/Welcome/components/WelcomeDevelopers/WelcomeDevelopers.css | archanaserver/ChRIS_store_ui | fa5c31cd6a4b78aa0cfd46cef0e24f4b0336bc83 | [
"MIT"
] | null | null | null | src/components/Welcome/components/WelcomeDevelopers/WelcomeDevelopers.css | archanaserver/ChRIS_store_ui | fa5c31cd6a4b78aa0cfd46cef0e24f4b0336bc83 | [
"MIT"
] | 1 | 2021-04-13T00:10:15.000Z | 2021-04-13T00:10:15.000Z | .welcome-developers {
/* display */
display:flex;
flex-direction:column;
width:70%;
padding: 6em 2em;
/* font */
font-size: 1.4em;
}
.welcome-developers-header{
/* display */
margin-bottom: 0.5em;
/* font */
font-size: 2em;
line-height: 1.3;
}
.callToAction-btn{
width: max-content;
margin:... | 16.151515 | 36 | 0.500938 |
cf3109af0d5fe0227a51b0120e380723f6b6ec82 | 1,908 | php | PHP | resources/views/home.blade.php | jahidul2018/liratextilebd | 9092a02171ce8b57dd535dae0bea18ceb4e4aa0c | [
"MIT"
] | null | null | null | resources/views/home.blade.php | jahidul2018/liratextilebd | 9092a02171ce8b57dd535dae0bea18ceb4e4aa0c | [
"MIT"
] | null | null | null | resources/views/home.blade.php | jahidul2018/liratextilebd | 9092a02171ce8b57dd535dae0bea18ceb4e4aa0c | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header"> {{ Auth::user()->name }} {{ __('Admin login Dashboard') }}</div>
<div class="card-bod... | 39.75 | 107 | 0.320231 |
f1816e68272d5e0844bfa41322a778ba59ba9ebd | 2,421 | rb | Ruby | spec/hidemyass/proxy/base_spec.rb | appPlant/hidemyass | 0df05187fc11bce4e0a44883b458716f5c1d2fcb | [
"MIT"
] | 3 | 2016-12-24T04:54:35.000Z | 2016-12-24T04:55:02.000Z | spec/hidemyass/proxy/base_spec.rb | appPlant/hidemyass | 0df05187fc11bce4e0a44883b458716f5c1d2fcb | [
"MIT"
] | 1 | 2016-07-14T12:21:05.000Z | 2016-07-19T13:14:59.000Z | spec/hidemyass/proxy/base_spec.rb | appPlant/hidemyass | 0df05187fc11bce4e0a44883b458716f5c1d2fcb | [
"MIT"
] | 1 | 2017-04-07T12:23:45.000Z | 2017-04-07T12:23:45.000Z |
describe HideMyAss::Proxy::Base do
let!(:proxy) { described_class.new(nil) }
describe 'SSL support' do
context 'when protocol is http' do
before { allow(proxy).to receive(:protocol).and_return 'http' }
it('is not supported') { expect(proxy.ssl?).to be false }
end
context 'when protocol is... | 28.482353 | 73 | 0.61297 |
5c178d0653f13283901f8a3a4b52c8d3f7354951 | 2,088 | kt | Kotlin | sample/src/main/java/com/github/terrakok/cicerone/sample/ui/start/StartActivity.kt | Gaket/Cicerone | e210e45c3633ed04940c5c65ddc4711b1d0e575c | [
"MIT"
] | 2,594 | 2016-10-04T20:11:07.000Z | 2022-03-31T05:39:40.000Z | sample/src/main/java/com/github/terrakok/cicerone/sample/ui/start/StartActivity.kt | JonerGod/Cicerone | e210e45c3633ed04940c5c65ddc4711b1d0e575c | [
"MIT"
] | 136 | 2016-10-13T05:59:46.000Z | 2022-03-29T12:31:39.000Z | sample/src/main/java/com/github/terrakok/cicerone/sample/ui/start/StartActivity.kt | JonerGod/Cicerone | e210e45c3633ed04940c5c65ddc4711b1d0e575c | [
"MIT"
] | 281 | 2016-10-10T21:14:47.000Z | 2022-03-01T19:09:31.000Z | package com.github.terrakok.cicerone.sample.ui.start
import android.os.Bundle
import android.view.View
import com.github.terrakok.cicerone.Navigator
import com.github.terrakok.cicerone.NavigatorHolder
import com.github.terrakok.cicerone.Router
import com.github.terrakok.cicerone.androidx.AppNavigator
import com.github... | 29.828571 | 76 | 0.7409 |
e7787334357093ef00c920cf8beb07e23ba85498 | 474 | php | PHP | database/factories/TekstopisacFactory.php | milicaVidic/ItehLaravel | 2fdd60112b029e32cf0e66d773797cd8a022909e | [
"MIT"
] | null | null | null | database/factories/TekstopisacFactory.php | milicaVidic/ItehLaravel | 2fdd60112b029e32cf0e66d773797cd8a022909e | [
"MIT"
] | null | null | null | database/factories/TekstopisacFactory.php | milicaVidic/ItehLaravel | 2fdd60112b029e32cf0e66d773797cd8a022909e | [
"MIT"
] | null | null | null | <?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class TekstopisacFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'ime' => $this->faker->firstName(... | 20.608696 | 80 | 0.563291 |
682ffcba06364510665a75114de068b934b667ac | 1,653 | php | PHP | tests/Helpers.php | MonkDev/monkcms-php | 4ccc8124b1a328a09fc157096cfe72de92935798 | [
"MIT"
] | 1 | 2021-01-18T16:37:22.000Z | 2021-01-18T16:37:22.000Z | tests/Helpers.php | MonkDev/monkcms-php | 4ccc8124b1a328a09fc157096cfe72de92935798 | [
"MIT"
] | 14 | 2017-01-16T20:38:37.000Z | 2019-08-26T01:37:24.000Z | tests/Helpers.php | MonkDev/monkcms-php | 4ccc8124b1a328a09fc157096cfe72de92935798 | [
"MIT"
] | 2 | 2017-06-14T23:53:36.000Z | 2017-09-25T02:32:55.000Z | <?php
namespace Tests;
use PHPUnit\Framework\TestCase;
use Requests_Session;
use Requests_Response;
class Helpers
{
public static function mockRequest(TestCase $testCase)
{
return $testCase->getMockBuilder(Requests_Session::class)
->setMethods(['get'])
-... | 25.828125 | 97 | 0.595886 |
ecdf998723117ccd73624307b65e9d26f9a56032 | 123 | rb | Ruby | db/migrate/20160119043142_add_mpaa_rating_to_movies.rb | alexwilkinson/immedialist-backend | bf00e2ab74159c92449cc59876b663d0edb86846 | [
"MIT"
] | null | null | null | db/migrate/20160119043142_add_mpaa_rating_to_movies.rb | alexwilkinson/immedialist-backend | bf00e2ab74159c92449cc59876b663d0edb86846 | [
"MIT"
] | null | null | null | db/migrate/20160119043142_add_mpaa_rating_to_movies.rb | alexwilkinson/immedialist-backend | bf00e2ab74159c92449cc59876b663d0edb86846 | [
"MIT"
] | null | null | null | class AddMpaaRatingToMovies < ActiveRecord::Migration
def change
add_column :movies, :mpaa_rating, :string
end
end
| 20.5 | 53 | 0.772358 |
e8982291cb5c8c9fee8e88ba78621982dafec74a | 850 | lua | Lua | src/program/lwaftr/alarms.lua | peahonen/snabb | 4b0c18beb86223414fcdbf0dc9e9f5fa5aaa2179 | [
"Apache-2.0"
] | 1,657 | 2016-04-01T09:04:47.000Z | 2022-03-31T18:25:24.000Z | src/program/lwaftr/alarms.lua | peahonen/snabb | 4b0c18beb86223414fcdbf0dc9e9f5fa5aaa2179 | [
"Apache-2.0"
] | 700 | 2016-04-19T17:59:51.000Z | 2020-01-13T13:03:35.000Z | src/program/lwaftr/alarms.lua | peahonen/snabb | 4b0c18beb86223414fcdbf0dc9e9f5fa5aaa2179 | [
"Apache-2.0"
] | 180 | 2016-04-04T15:04:23.000Z | 2022-02-16T23:15:33.000Z | module(..., package.seeall)
alarms = {
[{alarm_type_id='arp-resolution'}] = {
perceived_severity = 'critical',
alarm_text =
'Make sure you can resolve external-interface.next-hop.ip address '..
'manually. If it cannot be resolved, consider setting the MAC '..
'address of the ... | 40.47619 | 78 | 0.629412 |
25e516256f783873445467430704d0415390734c | 1,706 | cs | C# | VisualStudio/Sources/CentralUnitService/LevelModifier/Mapper/ControllerMapperNullObject.cs | Heinzman/DigiRcMan | a81d31871aca8c34914815ca780d2b9b4296b8ad | [
"MIT"
] | null | null | null | VisualStudio/Sources/CentralUnitService/LevelModifier/Mapper/ControllerMapperNullObject.cs | Heinzman/DigiRcMan | a81d31871aca8c34914815ca780d2b9b4296b8ad | [
"MIT"
] | null | null | null | VisualStudio/Sources/CentralUnitService/LevelModifier/Mapper/ControllerMapperNullObject.cs | Heinzman/DigiRcMan | a81d31871aca8c34914815ca780d2b9b4296b8ad | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using Heinzman.BusinessObjects;
namespace Heinzman.CentralUnitService.LevelModifier.Mapper
{
public class ControllerMapperNullObject : IControllerMapper
{
public ControllerMapperNullObject()
{
CreateMapperTable();
}
pub... | 38.772727 | 82 | 0.42204 |
bfc1193dafa07faae4737db9683a3756c577b281 | 1,778 | kt | Kotlin | backend/src/main/kotlin/es/guillermoorellana/keynotedex/backend/api/conference/GetConference.kt | wiyarmir/keynotedex | ec6d7e50d5c7285e6d26f06caaca03a279af38c6 | [
"Apache-2.0"
] | 54 | 2018-06-13T09:47:28.000Z | 2021-11-09T09:34:38.000Z | backend/src/main/kotlin/es/guillermoorellana/keynotedex/backend/api/conference/GetConference.kt | wiyarmir/keynotedex | ec6d7e50d5c7285e6d26f06caaca03a279af38c6 | [
"Apache-2.0"
] | 2 | 2019-02-12T17:20:03.000Z | 2020-12-05T22:07:33.000Z | backend/src/main/kotlin/es/guillermoorellana/keynotedex/backend/api/conference/GetConference.kt | wiyarmir/keynotedex | ec6d7e50d5c7285e6d26f06caaca03a279af38c6 | [
"Apache-2.0"
] | 5 | 2018-09-18T07:08:12.000Z | 2021-05-06T10:53:37.000Z | package es.guillermoorellana.keynotedex.backend.api.conference
import es.guillermoorellana.keynotedex.backend.JsonSerializableConverter
import es.guillermoorellana.keynotedex.backend.data.conferences.ConferenceStorage
import es.guillermoorellana.keynotedex.backend.data.conferences.toDto
import es.guillermoorellana.key... | 43.365854 | 90 | 0.755906 |
da9916fd7be9d7bc64cb34d30ed0c5ec6a50ccf1 | 1,481 | php | PHP | resources/views/publicidad/modal.blade.php | AdrianPalacios04/adminthormegait | 099508e145baa59ebc2865f74dc9e3d4fbaabd91 | [
"MIT"
] | null | null | null | resources/views/publicidad/modal.blade.php | AdrianPalacios04/adminthormegait | 099508e145baa59ebc2865f74dc9e3d4fbaabd91 | [
"MIT"
] | null | null | null | resources/views/publicidad/modal.blade.php | AdrianPalacios04/adminthormegait | 099508e145baa59ebc2865f74dc9e3d4fbaabd91 | [
"MIT"
] | null | null | null |
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Nueva Marca</h5>
<b... | 31.510638 | 125 | 0.534774 |
34044d74a5bba51555cad2916901d043660d2d2e | 289 | swift | Swift | Sources/Protocols/Identifiable.swift | useeless37/FinniversKit | 2773784238904d7013e02205ff82f42f988d737f | [
"Apache-2.0"
] | 1 | 2020-12-07T21:42:03.000Z | 2020-12-07T21:42:03.000Z | Sources/Protocols/Identifiable.swift | useeless37/FinniversKit | 2773784238904d7013e02205ff82f42f988d737f | [
"Apache-2.0"
] | null | null | null | Sources/Protocols/Identifiable.swift | useeless37/FinniversKit | 2773784238904d7013e02205ff82f42f988d737f | [
"Apache-2.0"
] | null | null | null | //
// Copyright © FINN.no AS, Inc. All rights reserved.
//
import Foundation
public protocol Identifiable {
static var reuseIdentifier: String { get }
}
public extension Identifiable {
public static var reuseIdentifier: String {
return String(describing: self)
}
}
| 18.0625 | 53 | 0.695502 |
bec0181232768205a97eb29a75a876b4e67f2174 | 1,154 | sql | SQL | db/seed.sql | SleepyJake18/Employee-Management-System | 6817be673026b9a13d54cfbc0e5fc3f33d94fb94 | [
"MIT"
] | null | null | null | db/seed.sql | SleepyJake18/Employee-Management-System | 6817be673026b9a13d54cfbc0e5fc3f33d94fb94 | [
"MIT"
] | null | null | null | db/seed.sql | SleepyJake18/Employee-Management-System | 6817be673026b9a13d54cfbc0e5fc3f33d94fb94 | [
"MIT"
] | null | null | null | USE employees_db;
INSERT INTO department (department_name) VALUES ("Sales");
INSERT INTO department (department_name) VALUES ("Hardware Development");
INSERT INTO department (department_name) VALUES ("Software Development");
INSERT INTO department (department_name) VALUES ("Recruiting");
INSERT INTO roles (title, sal... | 64.111111 | 98 | 0.753033 |
74eecd61093081a45bc80ce1d2b90d4b50c38d2d | 113 | go | Go | echo-server/common/configs.go | LaCumbancha/backup-server | 24df104ae858deb8c6bd564f619299353125ce8c | [
"MIT"
] | null | null | null | echo-server/common/configs.go | LaCumbancha/backup-server | 24df104ae858deb8c6bd564f619299353125ce8c | [
"MIT"
] | null | null | null | echo-server/common/configs.go | LaCumbancha/backup-server | 24df104ae858deb8c6bd564f619299353125ce8c | [
"MIT"
] | null | null | null | package common
type ServerConfig struct {
Port string
StoragePath string
}
const PADDING_CHARACTER = "|"
| 12.555556 | 29 | 0.743363 |
5d088baa36d8e56c9e85b240aeed3993c1dff95c | 3,138 | dart | Dart | lib/src/external/universal_http_client.dart | EdsonMello-code/uno | 636669e8ffa6d389002b2ab41e76907fd84c412d | [
"MIT"
] | 38 | 2021-11-14T10:36:41.000Z | 2022-03-12T22:14:22.000Z | lib/src/external/universal_http_client.dart | EdsonMello-code/uno | 636669e8ffa6d389002b2ab41e76907fd84c412d | [
"MIT"
] | 3 | 2021-11-15T02:56:55.000Z | 2022-01-19T19:44:06.000Z | lib/src/external/universal_http_client.dart | EdsonMello-code/uno | 636669e8ffa6d389002b2ab41e76907fd84c412d | [
"MIT"
] | 3 | 2021-11-15T07:08:26.000Z | 2021-11-16T20:12:30.000Z | import 'dart:convert';
import '../infra/infra.dart';
import 'package:universal_io/io.dart';
class UniversalHttpClient implements HttpDatasource {
final HttpClient client;
const UniversalHttpClient(this.client);
@override
Future<Response> fetch(Request unoRequest) async {
client.connectionTimeout = unoRe... | 29.327103 | 96 | 0.602932 |
20b5a3837d98800d6af3db1760c1887348c065b8 | 9,262 | py | Python | functions/socketio/video.py | VMAJSTER/openstreamingplatform | f002246db922dab9a3f019f46001f3901326feaf | [
"MIT"
] | null | null | null | functions/socketio/video.py | VMAJSTER/openstreamingplatform | f002246db922dab9a3f019f46001f3901326feaf | [
"MIT"
] | null | null | null | functions/socketio/video.py | VMAJSTER/openstreamingplatform | f002246db922dab9a3f019f46001f3901326feaf | [
"MIT"
] | null | null | null | from flask import abort
from flask_security import current_user
from classes.shared import db, socketio
from classes import RecordedVideo
from classes import settings
from classes import notifications
from classes import subscriptions
from functions import system
from functions import webhookFunc
from functions impor... | 41.164444 | 335 | 0.617361 |
c3505840fa0bc4b40a2801adea31678f4873e3c3 | 2,993 | cs | C# | EWKT.Tests/Parsers/EWKTParserTests.cs | 0xRCE/EWKT | a6d4fa0303421675d4e7ae8f51098e60496b4259 | [
"MIT"
] | null | null | null | EWKT.Tests/Parsers/EWKTParserTests.cs | 0xRCE/EWKT | a6d4fa0303421675d4e7ae8f51098e60496b4259 | [
"MIT"
] | null | null | null | EWKT.Tests/Parsers/EWKTParserTests.cs | 0xRCE/EWKT | a6d4fa0303421675d4e7ae8f51098e60496b4259 | [
"MIT"
] | null | null | null | using EWKT.Parsers;
using EWKT.Primitives;
using Microsoft.VisualStudio.TestTools.UnitTesting;
//using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EWKT.Tests.Parsers
{
[TestClass]
public class EWKTParserTests
{
[TestMethod]
... | 29.93 | 95 | 0.571667 |
a36ba66972024885edbfbbd4ae3259b213918026 | 2,902 | java | Java | chapter_005_junior_001/src/test/java/ru/job4j/map/CustomHashMapTest.java | andrebatist/job4j | cb8ad39eb6642d4d4ce9f3be4d77eadf6d8bb538 | [
"Apache-2.0"
] | 1 | 2018-11-30T19:03:44.000Z | 2018-11-30T19:03:44.000Z | chapter_005_junior_001/src/test/java/ru/job4j/map/CustomHashMapTest.java | andrebatist/job4j | cb8ad39eb6642d4d4ce9f3be4d77eadf6d8bb538 | [
"Apache-2.0"
] | 1 | 2020-10-13T10:19:40.000Z | 2020-10-13T10:19:40.000Z | chapter_005_junior_001/src/test/java/ru/job4j/map/CustomHashMapTest.java | andrebatist/job4j | cb8ad39eb6642d4d4ce9f3be4d77eadf6d8bb538 | [
"Apache-2.0"
] | null | null | null | package ru.job4j.map;
import org.junit.Test;
import java.util.Iterator;
import static org.hamcrest.core.Is.*;
import static org.junit.Assert.*;
/**
* Test.
*
* @author Plaksin Arseniy (arsp93@mail.ru)
* @version $Id$
* @since 23.04.2019
*/
public class CustomHashMapTest {
@Test
public void whenInsertT... | 32.244444 | 102 | 0.5796 |
2f4be795ebad8a78dd5fbd11b22652cf605782a0 | 594 | js | JavaScript | cmd/mailslurper/www/mailslurper/templates/helpers/pageSelector.js | aidenjude/mailslurper | 9db722857672e7192640ecfeec8923b89308f022 | [
"MIT"
] | 1,135 | 2015-05-13T04:28:10.000Z | 2022-03-30T09:43:22.000Z | cmd/mailslurper/www/mailslurper/templates/helpers/pageSelector.js | aidenjude/mailslurper | 9db722857672e7192640ecfeec8923b89308f022 | [
"MIT"
] | 141 | 2015-08-04T18:16:19.000Z | 2022-02-02T00:20:33.000Z | cmd/mailslurper/www/mailslurper/templates/helpers/pageSelector.js | aidenjude/mailslurper | 9db722857672e7192640ecfeec8923b89308f022 | [
"MIT"
] | 173 | 2015-08-23T07:30:25.000Z | 2022-02-24T03:38:49.000Z | // Copyright 2013-2018 Adam Presley. All rights reserved
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.
"use strict";
Handlebars.registerHelper("pageSelector", function (elementName, totalPages, currentPage) {
var html = "<select id=\"" + elementName + "\" class=\"... | 29.7 | 91 | 0.627946 |
40f4cc8679c0f1ae76d2475c39fa51bd5ebba8b6 | 672 | rb | Ruby | app/models/submission.rb | sirsean/skynet | 21089bc5c12368ec4fec568d0c75e4ccde67f8c4 | [
"Apache-2.0"
] | 1 | 2016-11-21T01:49:12.000Z | 2016-11-21T01:49:12.000Z | app/models/submission.rb | sirsean/skynet | 21089bc5c12368ec4fec568d0c75e4ccde67f8c4 | [
"Apache-2.0"
] | null | null | null | app/models/submission.rb | sirsean/skynet | 21089bc5c12368ec4fec568d0c75e4ccde67f8c4 | [
"Apache-2.0"
] | null | null | null | class Submission < ActiveRecord::Base
self.per_page = 10
mount_uploader :photo, PhotoUploader
belongs_to :user
has_many :votes
def can_delete?(u)
!u.nil? && (u == self.user || u.admin?)
end
def self.nearby(lat, long, miles)
find_by_sql ["SELECT *,
SQRT(
POW(69.1 * (latitud... | 29.217391 | 78 | 0.549107 |
a7eaf398134428d28a7a0f6ce1d94fb6b2cba4b0 | 238 | h | C | viewController/homeController/QuanXianViewController.h | zccdy/XBHEBProject | 62a62b9c74aa3975e15c20f821817864e81dcd04 | [
"MIT"
] | null | null | null | viewController/homeController/QuanXianViewController.h | zccdy/XBHEBProject | 62a62b9c74aa3975e15c20f821817864e81dcd04 | [
"MIT"
] | null | null | null | viewController/homeController/QuanXianViewController.h | zccdy/XBHEBProject | 62a62b9c74aa3975e15c20f821817864e81dcd04 | [
"MIT"
] | null | null | null | //
// QuanXianViewController.h
// XBHEBProject
//
// Created by xubh-note on 15/5/8.
// Copyright (c) 2015年 xu banghui. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface QuanXianViewController : UITableViewController
@end
| 17 | 57 | 0.718487 |
f46e4ecb59fec9bec762e2ac163cdcaaaa6758e3 | 1,126 | cs | C# | Scripts/Functions/Math.cs | M-T-Asagi/ScriptsUnityUtil | 52d5897486d62ed3ed235f87053904c62d80e44a | [
"MIT"
] | null | null | null | Scripts/Functions/Math.cs | M-T-Asagi/ScriptsUnityUtil | 52d5897486d62ed3ed235f87053904c62d80e44a | [
"MIT"
] | null | null | null | Scripts/Functions/Math.cs | M-T-Asagi/ScriptsUnityUtil | 52d5897486d62ed3ed235f87053904c62d80e44a | [
"MIT"
] | null | null | null | using UnityEngine;
namespace AsagiHandyScripts
{
static public class Math
{
static public Vector2Int GreatestCommonResolution(int maxOfPixels, Vector2Int originalResolution)
{
int gcd = GetGreatestCommonDivisor(originalResolution.x, originalResolution.y);
Vector2Int as... | 28.15 | 105 | 0.539964 |
e2f5e9c8a09680181641113cfaa9943a094941ba | 2,609 | py | Python | test/generate_tones.py | merlinran/acorn-precision-farming-rover | 228bbeb537550df79ae57985c427975ffa828bcd | [
"Apache-2.0"
] | 143 | 2021-02-23T16:17:32.000Z | 2022-03-30T09:42:27.000Z | test/generate_tones.py | Twisted-Fields/acorn-precision-farming-rover | 228bbeb537550df79ae57985c427975ffa828bcd | [
"Apache-2.0"
] | 19 | 2021-05-13T19:03:21.000Z | 2022-03-25T08:46:44.000Z | test/generate_tones.py | merlinran/acorn-precision-farming-rover | 228bbeb537550df79ae57985c427975ffa828bcd | [
"Apache-2.0"
] | 17 | 2021-02-23T22:02:24.000Z | 2022-03-20T15:12:20.000Z | from tones import SINE_WAVE, SAWTOOTH_WAVE
from tones.mixer import Mixer
# Create mixer, set sample rate and amplitude
mixer = Mixer(44100, 0.5)
# Create two monophonic tracks that will play simultaneously, and set
# initial values for note attack, decay and vibrato frequency (these can
# be changed again at any time... | 41.412698 | 107 | 0.721732 |
d64527b69329b479e82f2e4cfec20b40ea75c0a1 | 718 | cs | C# | mcs/tests/test-var-02.cs | lefb766/mono | 4f458a4ff72bc6c5e07f82aec9040d355cbb8f5c | [
"Apache-2.0"
] | 469 | 2019-01-23T12:21:59.000Z | 2022-03-10T15:50:42.000Z | mcs/tests/test-var-02.cs | lefb766/mono | 4f458a4ff72bc6c5e07f82aec9040d355cbb8f5c | [
"Apache-2.0"
] | 83 | 2015-07-16T01:31:41.000Z | 2016-01-13T02:15:47.000Z | mcs/tests/test-var-02.cs | lefb766/mono | 4f458a4ff72bc6c5e07f82aec9040d355cbb8f5c | [
"Apache-2.0"
] | 36 | 2019-01-23T22:17:09.000Z | 2022-01-20T15:41:34.000Z |
// Tests variable type inference with the var keyword when assigning to user-defined types
using System;
public class Class1
{
public bool Method()
{
return true;
}
public int Property = 16;
}
public class Test
{
private class Class2
{
public bool Method()
{
return true;
}
public int Property = 42... | 15.276596 | 90 | 0.622563 |
25ef47d3ca65836b091c44f369ae3380435c1732 | 449 | cs | C# | Assets/Scripts/UI/UI_Item.cs | InFaNsO/CorperateSim | bb312bf11b9cecd3aee8de2f3d7a8ea92f2d5409 | [
"MIT"
] | null | null | null | Assets/Scripts/UI/UI_Item.cs | InFaNsO/CorperateSim | bb312bf11b9cecd3aee8de2f3d7a8ea92f2d5409 | [
"MIT"
] | null | null | null | Assets/Scripts/UI/UI_Item.cs | InFaNsO/CorperateSim | bb312bf11b9cecd3aee8de2f3d7a8ea92f2d5409 | [
"MIT"
] | null | null | null | using Michsky.UI.ModernUIPack;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class UI_Item : MonoBehaviour
{
[SerializeField] public Image myImage;
[SerializeField] public TMP_Text myText;
[SerializeField] public Item myItem;
[... | 22.45 | 56 | 0.737194 |
218690c6ea0e0fc00cdf2a744c5d9e2521be9247 | 22,917 | js | JavaScript | shop/public/order/pay/header_7e581c3.js | anxuefei/anxuefeithinkphp | 05329b8c8e48743d0409e63d5ab4eb2e8e9591a6 | [
"Apache-2.0"
] | null | null | null | shop/public/order/pay/header_7e581c3.js | anxuefei/anxuefeithinkphp | 05329b8c8e48743d0409e63d5ab4eb2e8e9591a6 | [
"Apache-2.0"
] | null | null | null | shop/public/order/pay/header_7e581c3.js | anxuefei/anxuefeithinkphp | 05329b8c8e48743d0409e63d5ab4eb2e8e9591a6 | [
"Apache-2.0"
] | null | null | null | function ContentBuildFun(e,t,i,s){for(var n="<dl><dt>"+e+"(<span>"+i+"</span>)</dt>",a=0;a<t.length;a++){var o=0;switch(e){case"手机":o=1;break;case"配件":o=2;break;case"服务":o=3;break;default:o=4}var r='{cfrom:9103, name:"'+t[a].name+'", keyword: "'+s+'",result_type:'+o+", search_page:1}",l=$('<dd><a href="'+t[a].url+'">'+... | 22,917 | 22,917 | 0.716499 |
29b15538836cb22ef802320a5f54e324d55a6b34 | 17,394 | rs | Rust | src/glb/gpio_cfgctl11.rs | andelf/bl702-pac | c5a7791d304c0d7d4c665a8f92ad22e00a09db7c | [
"Apache-2.0",
"MIT"
] | 4 | 2021-06-29T05:22:00.000Z | 2021-11-06T23:45:55.000Z | src/glb/gpio_cfgctl11.rs | andelf/bl702-pac | c5a7791d304c0d7d4c665a8f92ad22e00a09db7c | [
"Apache-2.0",
"MIT"
] | null | null | null | src/glb/gpio_cfgctl11.rs | andelf/bl702-pac | c5a7791d304c0d7d4c665a8f92ad22e00a09db7c | [
"Apache-2.0",
"MIT"
] | 3 | 2021-06-29T05:22:03.000Z | 2022-03-23T12:42:47.000Z | #[doc = "Register `GPIO_CFGCTL11` reader"]
pub struct R(crate::R<GPIO_CFGCTL11_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<GPIO_CFGCTL11_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<GPIO_CFGCTL11_SPEC>> for R {
#[inline(always)]
... | 30.041451 | 408 | 0.588881 |
e7470435519be6b2ba075d750215feb35a7943ef | 9,466 | php | PHP | vistas/registrar/pedido-1.php | Pheetbag/CDA | 7b753dbaee26f7fd59f0b56fd161ee7ac8436ef0 | [
"MIT"
] | 1 | 2018-07-25T20:30:33.000Z | 2018-07-25T20:30:33.000Z | vistas/registrar/pedido-1.php | Pheetbag/CDA | 7b753dbaee26f7fd59f0b56fd161ee7ac8436ef0 | [
"MIT"
] | null | null | null | vistas/registrar/pedido-1.php | Pheetbag/CDA | 7b753dbaee26f7fd59f0b56fd161ee7ac8436ef0 | [
"MIT"
] | null | null | null | <?php include_head('CDA - Registrar'); ?>
<link rel="stylesheet" href="<?php echo HTTP ?>/vistas/registrar/style.css?v=0.5">
</head>
<body>
<?php include_header('registrar', 'Registrar', 'Pedido'); ?>
<!-- <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#agregar-proveedor">
La... | 34.929889 | 172 | 0.440735 |
759f53c3bb24cd43bd85c0415a3ef3b787507377 | 451 | css | CSS | styles/Loader.module.css | RomainGuarinoni/Osu-dashboard | f2e44de3e3dd116b96ecf4801e3658b017fb9d46 | [
"MIT"
] | null | null | null | styles/Loader.module.css | RomainGuarinoni/Osu-dashboard | f2e44de3e3dd116b96ecf4801e3658b017fb9d46 | [
"MIT"
] | 12 | 2021-05-13T15:09:52.000Z | 2021-11-24T16:44:35.000Z | styles/Loader.module.css | RomainGuarinoni/Osu-dashboard | f2e44de3e3dd116b96ecf4801e3658b017fb9d46 | [
"MIT"
] | null | null | null | .ldsDualRing {
display: inline-block;
width: 70px;
height: 70px;
}
.ldsDualRing:after {
content: " ";
display: block;
width: 54px;
height: 54px;
margin: 8px;
border-radius: 50%;
border: 6px solid #fff;
border-color: var(--hover) transparent var(--hover) transparent;
animation: lds-dual-ring 1.2s... | 18.04 | 66 | 0.643016 |
5f28cac591f79cb6c958a298126f5920bfc0b568 | 207 | rb | Ruby | lib/errors.rb | skh/toycity3 | 7f880499ea5f1755cd6722c68c7b0528a8662e8a | [
"MIT"
] | null | null | null | lib/errors.rb | skh/toycity3 | 7f880499ea5f1755cd6722c68c7b0528a8662e8a | [
"MIT"
] | null | null | null | lib/errors.rb | skh/toycity3 | 7f880499ea5f1755cd6722c68c7b0528a8662e8a | [
"MIT"
] | null | null | null | # lib/errors.rb
class DuplicateProductError < StandardError
end
class DuplicateCustomerError < StandardError
end
class OutOfStockError < StandardError
end
class NoSuchTransactionError < StandardError
end | 15.923077 | 44 | 0.845411 |
43c59e1bf87ba6b6449c3c09fcefa167e8f12370 | 961 | tsx | TypeScript | src/components/FilterForm/index.tsx | caroldartdigital/SharedModules | 63762fcd6208be15998a5a483fefeb31097eec02 | [
"MIT"
] | null | null | null | src/components/FilterForm/index.tsx | caroldartdigital/SharedModules | 63762fcd6208be15998a5a483fefeb31097eec02 | [
"MIT"
] | null | null | null | src/components/FilterForm/index.tsx | caroldartdigital/SharedModules | 63762fcd6208be15998a5a483fefeb31097eec02 | [
"MIT"
] | null | null | null | import React from 'react'
import { useIntl } from 'react-intl'
import { Tooltip } from 'antd'
import { RedoOutlined, SearchOutlined } from '@ant-design/icons'
import Button from '../Button'
import { Wrapper } from '../Form/styles'
export type FilterFormProps = {
resetFilter: () => void
}
function FilterFormCompone... | 23.439024 | 64 | 0.604579 |
c9ecff4ce3e6e6ccb56a3e1d89c70686bfa7f045 | 268 | ts | TypeScript | src/app/api/models/currency-amount-summary.ts | Kcire6/CyclosInfoUGT | 073be5c76808dc56ede015579fbc11961d573873 | [
"MIT"
] | null | null | null | src/app/api/models/currency-amount-summary.ts | Kcire6/CyclosInfoUGT | 073be5c76808dc56ede015579fbc11961d573873 | [
"MIT"
] | null | null | null | src/app/api/models/currency-amount-summary.ts | Kcire6/CyclosInfoUGT | 073be5c76808dc56ede015579fbc11961d573873 | [
"MIT"
] | null | null | null | /* tslint:disable */
import { AmountSummary } from './amount-summary';
import { Currency } from './currency';
/**
* Contains summarized statistics over amounts of a currency
*/
export interface CurrencyAmountSummary extends AmountSummary {
currency?: Currency;
}
| 24.363636 | 62 | 0.735075 |
e2da828e91dc9f0d6b0dadf185a42c8037de7454 | 4,888 | py | Python | preprocessing/functions/data_formatter.py | andygubser/data_visualisation | 406b595025f29e48bac7effdb9e9dfb19809f371 | [
"MIT"
] | null | null | null | preprocessing/functions/data_formatter.py | andygubser/data_visualisation | 406b595025f29e48bac7effdb9e9dfb19809f371 | [
"MIT"
] | null | null | null | preprocessing/functions/data_formatter.py | andygubser/data_visualisation | 406b595025f29e48bac7effdb9e9dfb19809f371 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
pd.options.display.max_rows = 500
class DataFormatter:
@classmethod
def format_data(cls, df):
df = cls._format_columns(df)
df = cls._format_booleans(df)
df = cls._format_numericals(df)
df = cls._format_rows(df)
df = cls._format_da... | 38.488189 | 111 | 0.588175 |
ebd0369a451aef5dbdab2247f74ca926def9cab8 | 23,837 | css | CSS | public/css/main.css | AngelSanz1/quieroundocv1 | 788e21a2d9fb3dc6f2222a6b5272f295876e8856 | [
"MIT"
] | null | null | null | public/css/main.css | AngelSanz1/quieroundocv1 | 788e21a2d9fb3dc6f2222a6b5272f295876e8856 | [
"MIT"
] | 2 | 2016-04-11T23:18:34.000Z | 2016-04-11T23:18:53.000Z | public/css/main.css | AngelSanz1/quieroundocv1 | 788e21a2d9fb3dc6f2222a6b5272f295876e8856 | [
"MIT"
] | null | null | null | /* FONTS */
@font-face {
font-family: Montserrat_Light ;
src : url('../fonts/Montserrat-Light.otf')format('opentype');
}
@font-face {
font-family: Raleway_Medium ;
src : url('../fonts/Raleway-Medium.ttf')format('truetype');
}
@font-face {
font-family: Raleway_Bold ;
src: url('../fonts/Raleway-Bold.t... | 19.554553 | 113 | 0.65499 |
a3787eddc4a14cbc4e39de93dacc70eb9823025a | 5,239 | java | Java | src/mod/gcewing/sg/SGInterfaceTE.java | liachmodded/SGCraft | f092b9ce8d046e3f64099c7c83ccebb7a65d5c78 | [
"MIT"
] | 12 | 2016-01-09T11:51:36.000Z | 2021-09-24T09:52:57.000Z | src/mod/gcewing/sg/SGInterfaceTE.java | liachmodded/SGCraft | f092b9ce8d046e3f64099c7c83ccebb7a65d5c78 | [
"MIT"
] | 53 | 2016-04-16T22:06:03.000Z | 2021-08-16T18:02:26.000Z | src/mod/gcewing/sg/SGInterfaceTE.java | liachmodded/SGCraft | f092b9ce8d046e3f64099c7c83ccebb7a65d5c78 | [
"MIT"
] | 25 | 2016-01-16T08:25:25.000Z | 2022-01-24T18:30:20.000Z | //------------------------------------------------------------------------------------------------
//
// SG Craft - Base class for stargate computer interface tile entities
//
//------------------------------------------------------------------------------------------------
package gcewing.sg;
import net.minecraft.... | 31 | 113 | 0.550678 |
a084240a7581c80947112e30d61feac78b67a4e3 | 1,128 | swift | Swift | KeyboardLayoutGuideSample/KeyboardLayoutGuideSample/MultipleForms/FormView.swift | Sab-swiftlin/KeyboardLayoutGuideSample | e4fb4b23654ea1f10f5426adf0df5d9e18d86aa8 | [
"MIT"
] | null | null | null | KeyboardLayoutGuideSample/KeyboardLayoutGuideSample/MultipleForms/FormView.swift | Sab-swiftlin/KeyboardLayoutGuideSample | e4fb4b23654ea1f10f5426adf0df5d9e18d86aa8 | [
"MIT"
] | null | null | null | KeyboardLayoutGuideSample/KeyboardLayoutGuideSample/MultipleForms/FormView.swift | Sab-swiftlin/KeyboardLayoutGuideSample | e4fb4b23654ea1f10f5426adf0df5d9e18d86aa8 | [
"MIT"
] | null | null | null | import UIKit
class FormView: UIView {
@IBOutlet private weak var titleLabel: UILabel!
@IBOutlet private weak var field: UITextField!
override init(frame: CGRect) {
super.init(frame: frame)
loadNib()
}
required init?(coder: NSCoder) {
super.init(coder: coder)
... | 30.486486 | 128 | 0.641844 |
ed6f284ec220ee7f20c4fb717f8f78e48fb71170 | 207 | h | C | 52jianpan/jianpan/ViewController.h | P79N6A/demo | 0286a294b8f9f83b316e75e8d996e94fb6ab6a53 | [
"Apache-2.0"
] | 4 | 2019-08-14T03:06:51.000Z | 2021-11-15T03:02:09.000Z | 52jianpan/jianpan/ViewController.h | P79N6A/demo | 0286a294b8f9f83b316e75e8d996e94fb6ab6a53 | [
"Apache-2.0"
] | null | null | null | 52jianpan/jianpan/ViewController.h | P79N6A/demo | 0286a294b8f9f83b316e75e8d996e94fb6ab6a53 | [
"Apache-2.0"
] | 2 | 2019-09-17T06:50:12.000Z | 2021-11-15T03:02:11.000Z | //
// ViewController.h
// jianpan
//
// Created by Jay on 2018/3/22.
// Copyright © 2018年 Jay. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UITableViewController
@end
| 12.9375 | 49 | 0.681159 |
e1e95e2e1dd8c052db11208b9fc40342112923b1 | 796 | rb | Ruby | app/services/stored_file_zipper.rb | robstolarz/nucore-uconn | 7e0e80919d978fa73703e261ee9319b517e89004 | [
"MIT"
] | null | null | null | app/services/stored_file_zipper.rb | robstolarz/nucore-uconn | 7e0e80919d978fa73703e261ee9319b517e89004 | [
"MIT"
] | null | null | null | app/services/stored_file_zipper.rb | robstolarz/nucore-uconn | 7e0e80919d978fa73703e261ee9319b517e89004 | [
"MIT"
] | null | null | null | class StoredFileZipper
attr_reader :files
def initialize(files)
@files = files
end
def read
return @read if @read
zip_io = build_zip
zip_io.rewind
@read = zip_io.read
end
private
def build_zip
@filenames = {}
Zip::OutputStream.write_buffer do |stream|
files.each do ... | 18.952381 | 75 | 0.61809 |
517e83be9aa1e2720023ebe4a9605576eba50eb7 | 1,071 | js | JavaScript | lib/helpers/injectCSS.js | zacharyz/react-modal-static-overlay | 1e1ec06f305f358472a975998678371a1af38ba5 | [
"MIT"
] | 2 | 2015-09-05T02:50:57.000Z | 2016-10-21T19:05:31.000Z | lib/helpers/injectCSS.js | zacharyz/react-modal-static-overlay | 1e1ec06f305f358472a975998678371a1af38ba5 | [
"MIT"
] | null | null | null | lib/helpers/injectCSS.js | zacharyz/react-modal-static-overlay | 1e1ec06f305f358472a975998678371a1af38ba5 | [
"MIT"
] | null | null | null | module.exports = function() {
injectStyle([
'.ReactModal__Overlay {',
' background-color: rgba(255, 255, 255, 0.75);',
'}',
'.ReactModal__Content {',
' position: absolute;',
' top: 40px;',
' left: 40px;',
' right: 40px;',
' bottom: 40px;',
' border: 1px solid #ccc;',
... | 24.906977 | 56 | 0.542484 |
de7ae350140c32164b66b3ce4153ce54c2bce5b5 | 3,241 | rs | Rust | kernel-ewasm/cap9-std/examples/acl_bootstrap.rs | sambacha/cap9 | 05fe5451468679efa89e93e19614bedd7b4ca349 | [
"Apache-2.0"
] | 12 | 2019-07-02T14:59:42.000Z | 2021-09-27T03:00:45.000Z | kernel-ewasm/cap9-std/examples/acl_bootstrap.rs | Daolab/beakeros | 05fe5451468679efa89e93e19614bedd7b4ca349 | [
"Apache-2.0"
] | 74 | 2018-08-13T12:55:08.000Z | 2019-03-27T12:55:31.000Z | kernel-ewasm/cap9-std/examples/acl_bootstrap.rs | Daolab/beakeros | 05fe5451468679efa89e93e19614bedd7b4ca349 | [
"Apache-2.0"
] | 8 | 2019-07-02T13:33:24.000Z | 2022-01-09T22:25:19.000Z | #![no_std]
#![allow(non_snake_case)]
extern crate cap9_std;
extern crate pwasm_std;
extern crate pwasm_abi_derive;
// When we are compiling to WASM, unresolved references are left as (import)
// expressions. However, under any other target symbols will have to be linked
// for EVM functions (blocknumber, create, etc.... | 40.012346 | 188 | 0.685282 |