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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b3405882ccda2994494e98c34e76fd38241fdaf3 | 1,732 | rs | Rust | src/utils/withdraw.rs | l1h3r/scarab | 7af418f39862632a8f01ba636d31572206e5485f | [
"Apache-2.0",
"MIT"
] | 4 | 2021-03-08T06:56:19.000Z | 2021-03-11T15:57:36.000Z | src/utils/withdraw.rs | l1h3r/scarab | 7af418f39862632a8f01ba636d31572206e5485f | [
"Apache-2.0",
"MIT"
] | null | null | null | src/utils/withdraw.rs | l1h3r/scarab | 7af418f39862632a8f01ba636d31572206e5485f | [
"Apache-2.0",
"MIT"
] | null | null | null | use wasmlib::ScAgentId;
use wasmlib::ScBalances;
use wasmlib::ScBaseContext;
use wasmlib::ScColor;
use wasmlib::ScFuncContext;
use wasmlib::ScTransfers;
use crate::traits::core::Array;
use crate::traits::extension::ColorExt;
/// Withdraw all L2 tokens of the specified `color` to the caller's L1 address.
///
/// * The... | 28.866667 | 79 | 0.683603 |
f7cfaef3033d714c5decaba3bc91257d62881f01 | 2,689 | kt | Kotlin | code/string/AhoCorasick.kt | ZeInhumane/Kotlinaughts | e45de387a43ae5784e2d82dd599c434466dcc281 | [
"MIT"
] | 2 | 2021-08-23T04:46:16.000Z | 2021-09-23T23:39:18.000Z | code/string/AhoCorasick.kt | ZeInhumane/Kotlinaughts | e45de387a43ae5784e2d82dd599c434466dcc281 | [
"MIT"
] | null | null | null | code/string/AhoCorasick.kt | ZeInhumane/Kotlinaughts | e45de387a43ae5784e2d82dd599c434466dcc281 | [
"MIT"
] | 1 | 2021-08-17T03:11:06.000Z | 2021-08-17T03:11:06.000Z | import java.util.*
/**
* Add all the words you need with the add function
* then call build failures once you're done setting up the dictionary
*
* You'll likely need to mess with countMatches to make it do exactly what you need for your current problem
*/
private class AhoCorasick(n: Int) {
val trie = Array(... | 27.721649 | 108 | 0.467832 |
a32aeff97f9b52fd7788b0cc39901f16bb8f15c8 | 3,655 | java | Java | GediCore/src/gedi/util/datastructure/collections/intcollections/AbstractIntCollection.java | erhard-lab/gedi | 4d045235873a720f12bd7799d136c2e1fa70af83 | [
"Apache-2.0"
] | 17 | 2018-03-13T11:02:02.000Z | 2021-12-31T06:30:39.000Z | GediCore/src/gedi/util/datastructure/collections/intcollections/AbstractIntCollection.java | erhard-lab/gedi | 4d045235873a720f12bd7799d136c2e1fa70af83 | [
"Apache-2.0"
] | 67 | 2018-03-14T00:47:12.000Z | 2022-03-16T12:03:42.000Z | GediCore/src/gedi/util/datastructure/collections/intcollections/AbstractIntCollection.java | erhard-lab/gedi | 4d045235873a720f12bd7799d136c2e1fa70af83 | [
"Apache-2.0"
] | 7 | 2018-07-28T15:39:10.000Z | 2021-12-04T01:32:21.000Z | /**
*
* Copyright 2017 Florian Erhard
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 23.132911 | 106 | 0.665116 |
7ad57f3a51e88af4fb7de9d32129b57b930db4d3 | 9,499 | cs | C# | EN-us/examples/NPC.mwherman2000.NeoExpenses1/NPC.mwherman2000.NeoExpenses1.TestEncryption/Form1.Designer.cs | mwherman2000/neo-dotnetquickstart | 25653c7bed2967eef66c9f597443868b19f1e818 | [
"MIT"
] | 12 | 2018-02-24T18:25:33.000Z | 2021-03-19T20:36:35.000Z | EN-us/examples/NPC.mwherman2000.NeoExpenses1/NPC.mwherman2000.NeoExpenses1.TestEncryption/Form1.Designer.cs | mwherman2000/neo-dotnetquickstart | 25653c7bed2967eef66c9f597443868b19f1e818 | [
"MIT"
] | 1 | 2018-02-28T12:28:33.000Z | 2018-02-28T12:28:33.000Z | EN-us/examples/NPC.mwherman2000.NeoExpenses1/NPC.mwherman2000.NeoExpenses1.TestEncryption/Form1.Designer.cs | mwherman2000/neo-dotnetquickstart | 25653c7bed2967eef66c9f597443868b19f1e818 | [
"MIT"
] | 13 | 2018-02-23T22:52:15.000Z | 2021-08-18T05:28:28.000Z | namespace NPC.mwherman2000.NeoExpenses1.TestEncryption
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/... | 48.712821 | 107 | 0.624908 |
f20b868e48bb8f137149fb5738f649cd3fc27c95 | 1,991 | cpp | C++ | main.cpp | GabriellaXue/Cashier-Line-Sim | ae0984e02db0df40aa7d0effcad45e1039712614 | [
"MIT"
] | 1 | 2021-04-14T10:06:50.000Z | 2021-04-14T10:06:50.000Z | main.cpp | GabriellaXue/Cashier-Line-Sim | ae0984e02db0df40aa7d0effcad45e1039712614 | [
"MIT"
] | 1 | 2021-04-13T15:59:43.000Z | 2021-04-13T15:59:43.000Z | main.cpp | GabriellaXue/Cashier-Line-Sim | ae0984e02db0df40aa7d0effcad45e1039712614 | [
"MIT"
] | null | null | null | #include <iostream>
using std::cout;
using std::endl;
#include <fstream>
using std::ifstream;
#include <string>
using std::string;
#include <vector>
using std::vector;
#include <tuple>
using std::tuple;
#include <sstream>
using std::stringstream;
#include <queue>
using std::queue;
#include "simulation.h"
int m... | 29.279412 | 107 | 0.551482 |
7b3c43cd673172eed6f7fca51a7d0b6276944cca | 314 | rb | Ruby | app/models/command.rb | craymaru/keypon | a3c0c1794d2fbe3cf2482a1357432ea3b21e95ad | [
"MIT"
] | 1 | 2021-05-02T15:55:48.000Z | 2021-05-02T15:55:48.000Z | app/models/command.rb | craymaru/keypon | a3c0c1794d2fbe3cf2482a1357432ea3b21e95ad | [
"MIT"
] | 56 | 2020-03-02T10:17:52.000Z | 2022-02-27T00:14:40.000Z | app/models/command.rb | craymaru/keypon | a3c0c1794d2fbe3cf2482a1357432ea3b21e95ad | [
"MIT"
] | null | null | null | class Command < ApplicationRecord
# ASSOCIATIONS
belongs_to :keymap
has_many :keybindings, dependent: :destroy
# VALIDATES
validates :keymap_id, presence: true
validates :category_name, length: { maximum: 128 }
validates :name, length: { maximum: 64 }
validates :when, length: { maximum: 64 }
end
| 26.166667 | 52 | 0.726115 |
88a27472aa19658507e411b30922eb41cc876599 | 4,012 | rs | Rust | examples/custom_schema/src/error.rs | Plato-solutions/okapi | 4721bea83b7c17f795db879657592fd3f850016e | [
"MIT"
] | 273 | 2019-08-27T22:01:33.000Z | 2022-03-16T07:34:05.000Z | examples/custom_schema/src/error.rs | Plato-solutions/okapi | 4721bea83b7c17f795db879657592fd3f850016e | [
"MIT"
] | 77 | 2019-09-05T23:40:10.000Z | 2022-03-25T15:13:43.000Z | examples/custom_schema/src/error.rs | Plato-solutions/okapi | 4721bea83b7c17f795db879657592fd3f850016e | [
"MIT"
] | 43 | 2019-12-02T21:11:04.000Z | 2022-03-31T11:16:55.000Z | use rocket::{
http::{ContentType, Status},
request::Request,
response::{self, Responder, Response},
};
use rocket_okapi::okapi::openapi3::Responses;
use rocket_okapi::okapi::schemars::{self, Map};
use rocket_okapi::{gen::OpenApiGenerator, response::OpenApiResponderInner, OpenApiError};
/// Error messages r... | 34 | 110 | 0.536889 |
bb838714e702b011ace15823197f7298e5e61bed | 3,174 | cs | C# | flex-js-sample/Controllers/HomeController.cs | jasonycw/cybersource-flex-samples-dotnet | 81dda33546c8241debab831803a3ac4f793bab37 | [
"MIT"
] | 4 | 2020-06-05T18:23:23.000Z | 2021-02-13T19:39:43.000Z | flex-js-sample/Controllers/HomeController.cs | jasonycw/cybersource-flex-samples-dotnet | 81dda33546c8241debab831803a3ac4f793bab37 | [
"MIT"
] | 5 | 2019-06-03T21:54:08.000Z | 2020-06-25T17:40:54.000Z | flex-js-sample/Controllers/HomeController.cs | jasonycw/cybersource-flex-samples-dotnet | 81dda33546c8241debab831803a3ac4f793bab37 | [
"MIT"
] | 6 | 2020-05-01T08:20:35.000Z | 2021-08-25T09:23:31.000Z | using CyberSource.Api;
using CyberSource.Model;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Web.Mvc;
namespace flex_js_sample.Controllers
{
public class HomeController : Controller
{
public ActionResult Checkout()
{
// Call the .NET Cyb... | 37.785714 | 112 | 0.628859 |
23c2eab5fbc269f46dc54cf94493461b8a546ac0 | 576 | js | JavaScript | Medical/healthraise-io/client/src/navigation/MainRouter.js | ConsenSys/Labs-Test | 0866f3451fe06b8423fa6beb4c06d2196bf0de96 | [
"MIT"
] | 17 | 2019-06-24T17:43:14.000Z | 2021-12-27T22:11:06.000Z | Medical/healthraise-io/client/src/navigation/MainRouter.js | ConsenSys/Labs-Test | 0866f3451fe06b8423fa6beb4c06d2196bf0de96 | [
"MIT"
] | 28 | 2019-06-17T20:55:38.000Z | 2022-02-18T05:19:05.000Z | Medical/healthraise-io/client/src/navigation/MainRouter.js | ConsenSys/Labs-Test | 0866f3451fe06b8423fa6beb4c06d2196bf0de96 | [
"MIT"
] | 36 | 2019-06-20T20:14:43.000Z | 2020-03-23T15:15:25.000Z | import React, { useState, useEffect } from 'react';
import { BrowserRouter as Router, Route, Link } from "react-router-dom";
import '../App.css';
import {
Home,
Profile,
Settings,
Individuals
} from '../screens';
export default function MainRouter() {
return (
<Router>
<div className="container">
... | 24 | 72 | 0.614583 |
690e2bf990af0242d3d39242e1cc0a827562390a | 783 | rb | Ruby | app/serializers/word_serializer.rb | sylwiavargas/The-Code-Bending-Dictionary | 0c10087c3972b9dea8f99c0ca8e02b80bcf41c82 | [
"PostgreSQL",
"Ruby",
"Unlicense"
] | 21 | 2020-09-26T16:53:24.000Z | 2021-12-09T03:53:03.000Z | app/serializers/word_serializer.rb | sylwiavargas/The-Code-Bending-Dictionary | 0c10087c3972b9dea8f99c0ca8e02b80bcf41c82 | [
"PostgreSQL",
"Ruby",
"Unlicense"
] | 37 | 2020-09-26T12:31:56.000Z | 2020-12-06T05:17:05.000Z | app/serializers/word_serializer.rb | sylwiavargas/The-Code-Bending-Dictionary | 0c10087c3972b9dea8f99c0ca8e02b80bcf41c82 | [
"PostgreSQL",
"Ruby",
"Unlicense"
] | 12 | 2020-09-26T15:00:23.000Z | 2020-11-25T19:26:18.000Z | # frozen_string_literal: true
class WordSerializer < ActiveModel::Serializer
attributes :id, :content, :definitions, #:relatedWords # , :technologies
# this one is there for the future when we introduce "see related words"
# def relatedWords
# return if object.related_words.e... | 31.32 | 85 | 0.550447 |
332d33e36bb4b3a24405060101bf5291c1ac325f | 120 | sql | SQL | src/test/resources/fts1o.test_19.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 131 | 2015-03-31T18:59:14.000Z | 2022-03-09T09:51:06.000Z | src/test/resources/fts1o.test_19.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 20 | 2015-03-31T21:35:38.000Z | 2018-07-02T16:15:51.000Z | src/test/resources/fts1o.test_19.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 43 | 2015-04-28T02:01:55.000Z | 2021-06-06T09:33:38.000Z | -- fts1o.test
--
-- execsql { SELECT a, b, c FROM t1 WHERE c MATCH 'two'; }
SELECT a, b, c FROM t1 WHERE c MATCH 'two'; | 30 | 58 | 0.616667 |
4355fd65865f5b5ff19834be794722fd966589ec | 3,024 | tsx | TypeScript | example/tuya-panel-kit/src/pages/navigation/tab-bar/index.tsx | sunny-ali/tuya-panel-kit | 52d82c6a878b37be0c18ea92b1bb036a640fbf18 | [
"MIT"
] | 60 | 2020-11-23T10:44:42.000Z | 2022-03-04T18:43:02.000Z | example/tuya-panel-kit/src/pages/navigation/tab-bar/index.tsx | sunny-ali/tuya-panel-kit | 52d82c6a878b37be0c18ea92b1bb036a640fbf18 | [
"MIT"
] | 130 | 2020-11-23T12:13:43.000Z | 2022-03-16T08:00:36.000Z | example/tuya-panel-kit/src/pages/navigation/tab-bar/index.tsx | sunny-ali/tuya-panel-kit | 52d82c6a878b37be0c18ea92b1bb036a640fbf18 | [
"MIT"
] | 30 | 2020-12-24T06:51:20.000Z | 2022-03-17T11:30:19.000Z | import React from 'react';
import { TabBar, Utils } from 'tuya-panel-kit';
import { ListView } from '#components';
import Strings from '#i18n';
const { convertX: cx } = Utils.RatioUtils;
export default () => {
const [tab, setTab] = React.useState('2');
const tabs = Array.from(Array(10), (v, k) => k + 1).map(v =>... | 26.761062 | 74 | 0.450397 |
6226b6ff9a9521a191433c04909a5ac2457a8206 | 1,425 | py | Python | data_access/qso_data.py | yishayv/lyacorr | deed114b4cadd4971caec68e2838a5fac39827b1 | [
"MIT"
] | 2 | 2017-03-21T14:18:35.000Z | 2020-03-30T20:51:33.000Z | data_access/qso_data.py | yishayv/lyacorr | deed114b4cadd4971caec68e2838a5fac39827b1 | [
"MIT"
] | null | null | null | data_access/qso_data.py | yishayv/lyacorr | deed114b4cadd4971caec68e2838a5fac39827b1 | [
"MIT"
] | null | null | null | """
Helper classes for encapsulating QSO metadata and spectrum data.
"""
import astropy.table as table
class QSORecord:
def __init__(self, index, spec_obj_id, z, ra, dec, plate, mjd, fiber_id, extinction_g):
self.index = index
self.specObjID = spec_obj_id
self.z = z
self.ra = ra
... | 30.978261 | 104 | 0.596491 |
b311ea96ee1dc93b477e74249819ddcc783fae2b | 2,683 | py | Python | tests/plugins/__init__.py | kyldery/streamlink | ef36240408c194a543557fb31e4535b0426ec153 | [
"BSD-2-Clause"
] | 1 | 2022-02-25T20:14:03.000Z | 2022-02-25T20:14:03.000Z | tests/plugins/__init__.py | kyldery/streamlink | ef36240408c194a543557fb31e4535b0426ec153 | [
"BSD-2-Clause"
] | 1 | 2018-07-12T18:18:05.000Z | 2018-07-12T18:18:05.000Z | tests/plugins/__init__.py | kyldery/streamlink | ef36240408c194a543557fb31e4535b0426ec153 | [
"BSD-2-Clause"
] | 12 | 2022-01-30T23:34:18.000Z | 2022-03-26T17:09:43.000Z | from streamlink.plugin import Plugin
generic_negative_matches = [
"http://example.com/",
"https://example.com/",
"https://example.com/index.html",
]
class PluginCanHandleUrl:
__plugin__ = None
# A list of URLs that should match any of the plugin's URL regexes.
# ["https://foo", "https://b... | 38.884058 | 128 | 0.620201 |
a343ee027e1248338d7e8ae0f58b12f2ccf789fa | 460 | c | C | libsrc/poly1305aes-20050218/poly1305aes_macos_authenticate.c | iotcoop/pfff | c8d7bbb271320c6a5088b3d5ca810a172555884d | [
"BSD-3-Clause"
] | 22 | 2015-03-21T21:23:47.000Z | 2019-06-05T22:40:52.000Z | libsrc/poly1305aes-20050218/poly1305aes_macos_authenticate.c | iotcoop/pfff | c8d7bbb271320c6a5088b3d5ca810a172555884d | [
"BSD-3-Clause"
] | 3 | 2015-07-20T09:28:23.000Z | 2015-07-20T09:31:51.000Z | libsrc/poly1305aes-20050218/poly1305aes_macos_authenticate.c | iotcoop/pfff | c8d7bbb271320c6a5088b3d5ca810a172555884d | [
"BSD-3-Clause"
] | 6 | 2015-03-21T21:23:48.000Z | 2021-07-19T19:17:40.000Z | /*
poly1305aes_macos_authenticate.c version 20050207
D. J. Bernstein
Public domain.
*/
#include "poly1305aes_macos.h"
#include "poly1305_macos.h"
#include "aes_macos.h"
void poly1305aes_macos_authenticate(unsigned char out[16],
const unsigned char kr[32],
#define k (kr + 0)
#define r (kr + 16)
const unsigned char... | 20.909091 | 58 | 0.730435 |
a37ad64246592cf74ade0ba1f32c46363efc70d7 | 2,340 | java | Java | java/example_code/ec2/src/main/java/aws/example/ec2/DescribeRegionsAndZones.java | onehitcombo/aws-doc-sdk-examples | 03e2e0c5dee75c5decbbb99e849c51417521fd82 | [
"Apache-2.0"
] | 3 | 2021-01-19T20:23:17.000Z | 2021-01-19T21:38:59.000Z | java/example_code/ec2/src/main/java/aws/example/ec2/DescribeRegionsAndZones.java | onehitcombo/aws-doc-sdk-examples | 03e2e0c5dee75c5decbbb99e849c51417521fd82 | [
"Apache-2.0"
] | null | null | null | java/example_code/ec2/src/main/java/aws/example/ec2/DescribeRegionsAndZones.java | onehitcombo/aws-doc-sdk-examples | 03e2e0c5dee75c5decbbb99e849c51417521fd82 | [
"Apache-2.0"
] | 2 | 2019-12-27T13:58:00.000Z | 2020-05-21T18:35:40.000Z | //snippet-sourcedescription:[DescribeRegionsAndZones.java demonstrates how to get a description of all regions and zones.]
//snippet-keyword:[Java]
//snippet-keyword:[Code Sample]
//snippet-keyword:[Amazon EC2]
//snippet-service:[ec2]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[2018-05-22]
//snippe... | 36.5625 | 123 | 0.665385 |
a3b54aa69713fc71871a248eb64254983f602b60 | 2,703 | java | Java | java/idea-ui/src/com/intellij/framework/library/DownloadableLibraryTypeBase.java | liveqmock/platform-tools-idea | 1c4b76108add6110898a7e3f8f70b970e352d3d4 | [
"Apache-2.0"
] | 2 | 2015-05-08T15:07:10.000Z | 2022-03-09T05:47:53.000Z | java/idea-ui/src/com/intellij/framework/library/DownloadableLibraryTypeBase.java | lshain-android-source/tools-idea | b37108d841684bcc2af45a2539b75dd62c4e283c | [
"Apache-2.0"
] | null | null | null | java/idea-ui/src/com/intellij/framework/library/DownloadableLibraryTypeBase.java | lshain-android-source/tools-idea | b37108d841684bcc2af45a2539b75dd62c4e283c | [
"Apache-2.0"
] | 2 | 2017-04-24T15:48:40.000Z | 2022-03-09T05:48:05.000Z | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* 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 agre... | 37.027397 | 112 | 0.72438 |
7bf4ca71c0cac35c1094277049e6065f8b3ac439 | 7,938 | lua | Lua | src/app.module.ysz.view.ccs.YszBetMenuCcsView.lua | lvqier/fishingjoy | a5569e7074664a9ca72f88d6bd0dcff9282db627 | [
"Unlicense"
] | null | null | null | src/app.module.ysz.view.ccs.YszBetMenuCcsView.lua | lvqier/fishingjoy | a5569e7074664a9ca72f88d6bd0dcff9282db627 | [
"Unlicense"
] | null | null | null | src/app.module.ysz.view.ccs.YszBetMenuCcsView.lua | lvqier/fishingjoy | a5569e7074664a9ca72f88d6bd0dcff9282db627 | [
"Unlicense"
] | 1 | 2022-01-18T03:26:33.000Z | 2022-01-18T03:26:33.000Z | slot2 = "YszBetMenuCcsView"
YszBetMenuCcsView = class(slot1)
YszBetMenuCcsView.LVEL_1 = 3
YszBetMenuCcsView.LVEL_2 = 5
YszBetMenuCcsView.LVEL_3 = 8
YszBetMenuCcsView.LVEL_4 = 10
YszBetMenuCcsView.onCreationComplete = function (slot0)
slot3 = slot0
slot0.init(slot2)
end
YszBetMenuCcsView.init = function (slot0)
sl... | 22.05 | 150 | 0.738725 |
e2c647feafa962b123b480f32e9151056ca70a0f | 1,094 | py | Python | setup.py | Uberspace/nestedfacts | ee453e4cccb579e233ce813005a3597588765eb1 | [
"MIT"
] | 20 | 2016-10-06T11:38:32.000Z | 2021-11-09T20:26:23.000Z | setup.py | Uberspace/nestedfacts | ee453e4cccb579e233ce813005a3597588765eb1 | [
"MIT"
] | 1 | 2019-03-13T22:47:16.000Z | 2019-03-14T08:43:21.000Z | setup.py | Uberspace/nestedfacts | ee453e4cccb579e233ce813005a3597588765eb1 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='nestedfacts',
description='This library enables users of Ansible to load nested'
'directories as local facts. Refer to the README for'
'more details.',
author='uberspace.de',
author_email='hallo@uberspace.de',
url='htt... | 35.290323 | 72 | 0.570384 |
24be0ed76e9dfb5a4b81597e8594c63689b6b911 | 4,686 | php | PHP | routes/api.php | sakuriki/banhang | d861b89c0308c94a4c63a97a936e3ff593dbca14 | [
"MIT"
] | 5 | 2021-03-03T15:45:33.000Z | 2021-11-26T08:41:22.000Z | routes/api.php | sakuriki/banhang | d861b89c0308c94a4c63a97a936e3ff593dbca14 | [
"MIT"
] | null | null | null | routes/api.php | sakuriki/banhang | d861b89c0308c94a4c63a97a936e3ff593dbca14 | [
"MIT"
] | 11 | 2021-03-04T05:46:10.000Z | 2022-02-09T19:23:46.000Z | <?php
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... | 57.851852 | 96 | 0.692061 |
f5e80b21db019ecd3f5cadfa972910bfb847a325 | 1,331 | css | CSS | example/src/index.css | fozg/fozg-ui | 048e521bd6177ea8f3f9002d3423f328ee6036b8 | [
"MIT"
] | null | null | null | example/src/index.css | fozg/fozg-ui | 048e521bd6177ea8f3f9002d3423f328ee6036b8 | [
"MIT"
] | null | null | null | example/src/index.css | fozg/fozg-ui | 048e521bd6177ea8f3f9002d3423f328ee6036b8 | [
"MIT"
] | null | null | null | body {
margin: 0;
padding: 0;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}
.container {
max-width: 1000px;
margin: auto;
}
strong {
font-weight: 600;
}
h1 {
color: rgb(191, 94, 114);
}
h1, h2, h3, h4... | 20.166667 | 141 | 0.677686 |
01d9ae0da7728f4ef53c8ad6a1f6aa0ff210654d | 1,106 | gemspec | Ruby | gersberms.gemspec | josephglanville/gersberms | 7192e0d43fedb5bb75157209fd2074d1cccd0646 | [
"MIT"
] | 2 | 2015-03-15T07:32:42.000Z | 2015-03-28T05:16:11.000Z | gersberms.gemspec | josephglanville/gersberms | 7192e0d43fedb5bb75157209fd2074d1cccd0646 | [
"MIT"
] | null | null | null | gersberms.gemspec | josephglanville/gersberms | 7192e0d43fedb5bb75157209fd2074d1cccd0646 | [
"MIT"
] | null | null | null | $LOAD_PATH.push File.expand_path('../lib', __FILE__)
require 'gersberms/version'
Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new('> 0') if s.respond_to? :required_rubygems_version=
s.version = Gersberms::VERSION
s.name = 'gersberms'
s.summary = 'Build AMIs with Chef and Berkshe... | 38.137931 | 104 | 0.664557 |
3771e7b2e9aaccd32be830a81182f840e37506ce | 309 | swift | Swift | instagator-prototype/instagator-prototype/MidwayStartViewController.swift | amcnary/cs147_instagator | 853ed263f9378bfad999407ed278674bcc0f8ab1 | [
"Apache-2.0"
] | null | null | null | instagator-prototype/instagator-prototype/MidwayStartViewController.swift | amcnary/cs147_instagator | 853ed263f9378bfad999407ed278674bcc0f8ab1 | [
"Apache-2.0"
] | null | null | null | instagator-prototype/instagator-prototype/MidwayStartViewController.swift | amcnary/cs147_instagator | 853ed263f9378bfad999407ed278674bcc0f8ab1 | [
"Apache-2.0"
] | null | null | null | //
// MidwayStartViewController.swift
// instagator-prototype
//
// Created by Amanda McNary on 11/16/15.
// Copyright © 2015 ThePenguins. All rights reserved.
//
import Foundation
import UIKit
class MidwayStartViewController: UIViewController {
@IBOutlet weak var getStartedButton: UIButton!
} | 20.6 | 54 | 0.747573 |
6b747a9ba4d27aa28effe286ed22787e180adeaf | 3,390 | js | JavaScript | src/controllers/user.js | xdigu/api-tickets | 5b515a3b633f078899521bcd5c094ad3345d0402 | [
"MIT"
] | null | null | null | src/controllers/user.js | xdigu/api-tickets | 5b515a3b633f078899521bcd5c094ad3345d0402 | [
"MIT"
] | 1 | 2021-09-02T01:25:47.000Z | 2021-09-02T01:25:47.000Z | src/controllers/user.js | xdigu/api-tickets | 5b515a3b633f078899521bcd5c094ad3345d0402 | [
"MIT"
] | 1 | 2019-10-31T19:56:49.000Z | 2019-10-31T19:56:49.000Z | const { User } = require('../models');
const responseHandler = require('../constants/responseHandler');
class UserController {
async create(req, res) {
const { name, email } = req.body;
await User.create({ name, email })
.then(user => {
const data = user;
... | 30.267857 | 70 | 0.449263 |
84772671348c1c88db63e08366f397958d4ceb76 | 5,327 | kt | Kotlin | backend/src/apiTest/kotlin/metrik/PipelineApiTest.kt | ashishsoni123/metrik | c0b3c101a12b95396d4918bdc6e2c08fde21a99e | [
"MIT"
] | 169 | 2021-03-27T02:52:09.000Z | 2022-03-24T19:15:09.000Z | backend/src/apiTest/kotlin/metrik/PipelineApiTest.kt | ashishsoni123/metrik | c0b3c101a12b95396d4918bdc6e2c08fde21a99e | [
"MIT"
] | 41 | 2021-03-30T09:21:02.000Z | 2022-02-12T15:58:30.000Z | backend/src/apiTest/kotlin/metrik/PipelineApiTest.kt | ashishsoni123/metrik | c0b3c101a12b95396d4918bdc6e2c08fde21a99e | [
"MIT"
] | 42 | 2021-03-27T02:52:14.000Z | 2022-03-31T11:20:38.000Z | package metrik
import io.restassured.RestAssured
import io.restassured.http.ContentType
import metrik.base.ApiTestBase
import metrik.project.domain.model.PipelineConfiguration
import metrik.project.domain.model.PipelineType
import org.hamcrest.CoreMatchers.`is`
import org.hamcrest.CoreMatchers.notNullValue
import org.... | 35.513333 | 168 | 0.577811 |
4339d676887c4a840449ad701419cec5f19995e9 | 2,940 | ts | TypeScript | types/resources/Route53Resolver/ResolverEndpoint.ts | gabrielmoreira/typed-aws | fc6e969f7f905114ca7811b4ab96aa0fb09630c8 | [
"MIT"
] | 1 | 2022-02-12T12:28:39.000Z | 2022-02-12T12:28:39.000Z | types/resources/Route53Resolver/ResolverEndpoint.ts | gabrielmoreira/typed-aws | fc6e969f7f905114ca7811b4ab96aa0fb09630c8 | [
"MIT"
] | null | null | null | types/resources/Route53Resolver/ResolverEndpoint.ts | gabrielmoreira/typed-aws | fc6e969f7f905114ca7811b4ab96aa0fb09630c8 | [
"MIT"
] | null | null | null | // CloudFormation Resource AWS::Route53Resolver::ResolverEndpoint
import { CfnResource, Resolvable } from '../../base';
export type ResolverEndpoint_Type = 'AWS::Route53Resolver::ResolverEndpoint';
export const ResolverEndpoint_Type = 'AWS::Route53Resolver::ResolverEndpoint';
/**
* Resource Type definition for AWS:... | 37.692308 | 200 | 0.767687 |
04589b98ff212cfbbce1161c364cab41847f9cf7 | 14,240 | sql | SQL | SQL/script_base_datos.sql | realvarez/ProjectDB | 21b25119219c1a73007f1c654129847ed60582b0 | [
"MIT"
] | null | null | null | SQL/script_base_datos.sql | realvarez/ProjectDB | 21b25119219c1a73007f1c654129847ed60582b0 | [
"MIT"
] | null | null | null | SQL/script_base_datos.sql | realvarez/ProjectDB | 21b25119219c1a73007f1c654129847ed60582b0 | [
"MIT"
] | null | null | null |
/*==============================================================*/
/* Table: REGION */
/*==============================================================*/
create table REGIONS (
ID SERIAL not null,
NOMBRE VARCHAR(255) not ... | 36.050633 | 127 | 0.461868 |
4556c1af93caec5ff0b8f7cf7907d2be48c7c2a0 | 151 | py | Python | Hello World Programs/Python/Hayloworld.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 256 | 2020-09-30T19:31:34.000Z | 2021-11-20T18:09:15.000Z | Hello World Programs/Python/Hayloworld.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 293 | 2020-09-30T19:14:54.000Z | 2021-06-06T02:34:47.000Z | Hello World Programs/Python/Hayloworld.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 1,620 | 2020-09-30T18:37:44.000Z | 2022-03-03T20:54:22.000Z | # Using list to print hello world
my_list = ["H", "e", "l", "l", "o", " ", "W", "o", "r", "l", "d"]
s = ""
for i in my_list:
s = s + i
print(s)
| 15.1 | 65 | 0.437086 |
45a15006ad087869f30300bca8e4712962c1e859 | 286 | py | Python | ExamPrep/Assignments 2014-15/A2/Py2Q3.py | FHomewood/ScientificComputing | bc3477b4607b25a700f2d89ca4f01cb3ea0998c4 | [
"IJG"
] | null | null | null | ExamPrep/Assignments 2014-15/A2/Py2Q3.py | FHomewood/ScientificComputing | bc3477b4607b25a700f2d89ca4f01cb3ea0998c4 | [
"IJG"
] | null | null | null | ExamPrep/Assignments 2014-15/A2/Py2Q3.py | FHomewood/ScientificComputing | bc3477b4607b25a700f2d89ca4f01cb3ea0998c4 | [
"IJG"
] | null | null | null | print 'Question 3b'
import math as m
#Variables
h1=0.5
h2=0.1
m.tanh(1+h1)
def G(h):
x=1.0
return (((4*m.tanh(x+(h/2)))-(4*m.tanh(x-(h/2))))/(3*h))-((m.tanh(x+h)-m.tanh(x-h))/(6*h))
print "at x=1 and h=0.5"
print "G(0.5) =",G(h1)
print "at x=1 and h=0.1"
print "G(0.1) =",G(h2)
| 14.3 | 91 | 0.541958 |
209c858933eb341a4e7af21e53fb51724d7f92c1 | 575 | cs | C# | DDD.Infrastructure/ApplicationDbContextFactory.cs | raminrahimzada/DDD | 44bbe48ef6bec24a3e77ff62a894bba0c7e15717 | [
"Apache-2.0"
] | 1 | 2021-02-22T14:54:44.000Z | 2021-02-22T14:54:44.000Z | DDD.Infrastructure/ApplicationDbContextFactory.cs | raminrahimzada/DDD | 44bbe48ef6bec24a3e77ff62a894bba0c7e15717 | [
"Apache-2.0"
] | null | null | null | DDD.Infrastructure/ApplicationDbContextFactory.cs | raminrahimzada/DDD | 44bbe48ef6bec24a3e77ff62a894bba0c7e15717 | [
"Apache-2.0"
] | null | null | null | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
namespace DDD.Infrastructure
{
public class ApplicationDbContextFactory : IDesignTimeDbContextFactory<AppDatabaseContext>
{
public AppDatabaseContext CreateDbContext(string[] args)
{
var optionsBuilder ... | 35.9375 | 116 | 0.742609 |
f77f8e113e57423d09fff0514057cbb725ec37e7 | 4,840 | swift | Swift | BarcodeTracker/ViewController.swift | eldare/BarcodeTracker | 7653ac6b2c5cef1c27eb9c80dfc122a33552d920 | [
"BSD-3-Clause"
] | 3 | 2021-07-06T17:49:50.000Z | 2021-07-13T07:14:26.000Z | BarcodeTracker/ViewController.swift | eldare/BarcodeTracker | 7653ac6b2c5cef1c27eb9c80dfc122a33552d920 | [
"BSD-3-Clause"
] | null | null | null | BarcodeTracker/ViewController.swift | eldare/BarcodeTracker | 7653ac6b2c5cef1c27eb9c80dfc122a33552d920 | [
"BSD-3-Clause"
] | null | null | null | //
// ViewController.swift
// BarcodeTracker
//
// Created by Eldar Eliav on 07/08/2020.
// Copyright © 2020 none. All rights reserved.
//
import UIKit
import SceneKit
import ARKit
protocol ViewProtocol: class {
func addNode(_ node: SCNNode)
}
class ViewController: UIViewController {
@IBOutlet var scene... | 31.025641 | 109 | 0.671281 |
09fc6f58ba339e06dd9a29de17226f9537e1eac6 | 1,061 | rs | Rust | src/operations/rgb/accept_transaction.rs | rgb-products/bitmask-core | 208b21ebf1b29e637c1167245dec35fedd736367 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 6 | 2022-03-16T21:27:12.000Z | 2022-03-31T23:50:17.000Z | src/operations/rgb/accept_transaction.rs | diba-io/bitmask-core | 067a394ab1c41fd3590964b805bd3868c746b89e | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11 | 2022-03-08T10:57:40.000Z | 2022-03-31T12:41:45.000Z | src/operations/rgb/accept_transaction.rs | rgb-products/bitmask-core | 208b21ebf1b29e637c1167245dec35fedd736367 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | use anyhow::{Context, Result};
use gloo_console::log;
use gloo_net::http::Request;
use crate::{
data::{constants::NODE_SERVER_BASE_URL, structs::AcceptRequest},
OutPoint,
};
pub async fn accept_transfer(
consignment: String,
outpoint: OutPoint,
blinding_factor: String,
) -> Result<String> {
le... | 25.261905 | 78 | 0.593779 |
0df2aa82ee8c47c27a3ef679e5ab5baea5b10ade | 1,485 | cs | C# | HaberSitesi.Service/YorumServis.cs | mhnds44/HaberSitesiV2 | 8e60d1c56be416e05b60e0cd4a5b627481c95ea8 | [
"MIT"
] | 5 | 2016-11-08T03:29:14.000Z | 2021-01-10T13:30:45.000Z | HaberSitesi.Service/YorumServis.cs | mhnds44/HaberSitesiV2 | 8e60d1c56be416e05b60e0cd4a5b627481c95ea8 | [
"MIT"
] | null | null | null | HaberSitesi.Service/YorumServis.cs | mhnds44/HaberSitesiV2 | 8e60d1c56be416e05b60e0cd4a5b627481c95ea8 | [
"MIT"
] | 2 | 2016-11-08T03:29:22.000Z | 2017-05-02T16:27:30.000Z | using HaberSitesi.Data.Context;
using HaberSitesi.Domain.DomainModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HaberSitesi.Service
{
public class YorumServis
{
private HaberSitesiDbContext db;
public YorumSer... | 26.517857 | 83 | 0.546128 |
a315d00aa0a1febf4d75a21c77809d736060e244 | 3,839 | h | C | MBBaseProject/MBBaseProject/Class/System/Base/BaseViewController/MBBaseViewController.h | MarioBiuuuu/MBProject | 7f7ff1c3f3f2718de74ed55b2d419ae5b5d4a6fa | [
"MIT"
] | 3 | 2017-03-17T10:08:47.000Z | 2020-03-06T06:12:11.000Z | MBBaseProject/MBBaseProject/Class/System/Base/BaseViewController/MBBaseViewController.h | MarioBiuuuu/MBProject | 7f7ff1c3f3f2718de74ed55b2d419ae5b5d4a6fa | [
"MIT"
] | null | null | null | MBBaseProject/MBBaseProject/Class/System/Base/BaseViewController/MBBaseViewController.h | MarioBiuuuu/MBProject | 7f7ff1c3f3f2718de74ed55b2d419ae5b5d4a6fa | [
"MIT"
] | null | null | null | //
// BaseViewController.h
// Dangdang
//
// Created by ZhangXiaofei on 16/9/13.
// Copyright © 2016年 Yuri. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "UIViewController+BackButtonHandler.h"
#import "UINavigationController_ShouldPopOnBackButton.h"
#import "MBBaseConfigure.h"
typedef void(^MBBaseViewCo... | 19.687179 | 175 | 0.701745 |
14c9af1ce102b4cda254f38b7b400bb3c4ed93ca | 168 | ts | TypeScript | libs/shared/src/lib/models/search/search-kind.enum.ts | OffprintStudios/pulp-fiction | 71c9283751cef9f3e4226782bfdbf60e892c43db | [
"Apache-2.0"
] | 5 | 2020-08-03T10:48:49.000Z | 2021-01-26T20:44:13.000Z | libs/shared/src/lib/models/search/search-kind.enum.ts | OffprintStudios/pulp-fiction | 457b65fc1bf55b57c4e2f28ead5908d4d365d2ad | [
"Apache-2.0"
] | 263 | 2020-07-23T06:22:20.000Z | 2021-01-30T08:57:59.000Z | libs/shared/src/lib/models/search/search-kind.enum.ts | OffprintStudios/dragonfish | c0341184013201e5457ff4a41f0b8891a218c6ba | [
"Apache-2.0"
] | 7 | 2021-02-08T20:56:34.000Z | 2022-02-14T09:47:47.000Z | export enum SearchKind {
ProseAndPoetry = "Prose and Poetry",
Prose = "Prose",
Poetry = "Poetry",
Blog = "Blog",
News = "News",
User = "User",
} | 21 | 40 | 0.559524 |
c571c96fd8d1c2a75d2b4195aa4c42bcbfefa0f1 | 10,086 | css | CSS | web/css/6bb0b8d.css | trycatch-au/Informative-Workspaces | 87e4afecd5b2f4d9f7ad094d2ec85a74f9f3386a | [
"MIT"
] | null | null | null | web/css/6bb0b8d.css | trycatch-au/Informative-Workspaces | 87e4afecd5b2f4d9f7ad094d2ec85a74f9f3386a | [
"MIT"
] | 1 | 2017-07-04T23:08:42.000Z | 2017-07-04T23:08:42.000Z | web/css/6bb0b8d.css | trycatch-au/Informative-Workspaces | 87e4afecd5b2f4d9f7ad094d2ec85a74f9f3386a | [
"MIT"
] | 1 | 2018-03-30T08:55:08.000Z | 2018-03-30T08:55:08.000Z | html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody,... | 49.684729 | 596 | 0.558398 |
451fd6ddeb68b724bb2259cdbf3ec4dc91f657f4 | 597 | lua | Lua | StarterPlayer/CoreGuiEvents.lua | myn55/the | 0843c9ec4207b3727b2c21b1a85b21a34e99bd92 | [
"MIT"
] | null | null | null | StarterPlayer/CoreGuiEvents.lua | myn55/the | 0843c9ec4207b3727b2c21b1a85b21a34e99bd92 | [
"MIT"
] | null | null | null | StarterPlayer/CoreGuiEvents.lua | myn55/the | 0843c9ec4207b3727b2c21b1a85b21a34e99bd92 | [
"MIT"
] | null | null | null | -- Author: Coronhaus
local ReplicatedStorage = game:GetService('ReplicatedStorage')
local RemoteEvents = ReplicatedStorage:WaitForChild('Remotes')
local StarterGui = RemoteEvents:WaitForChild('StarterGui')
local SetCore = StarterGui:WaitForChild('SetCore')
local SetCoreGuiEnabled = StarterGui:WaitForChild('SetCoreG... | 35.117647 | 70 | 0.795645 |
b71cb15b2080a24f2fad9a995118b727c71ab4a1 | 572 | cs | C# | Assets/_Scripts/UI_Scripts/AnalyzingBarUI.cs | avmakesthings/Face2Face_V1 | e2d58476b31926627fe63a988d9af10dc158ea4a | [
"MIT"
] | null | null | null | Assets/_Scripts/UI_Scripts/AnalyzingBarUI.cs | avmakesthings/Face2Face_V1 | e2d58476b31926627fe63a988d9af10dc158ea4a | [
"MIT"
] | 1 | 2021-06-01T23:11:55.000Z | 2021-06-01T23:11:55.000Z | Assets/_Scripts/UI_Scripts/AnalyzingBarUI.cs | avmakesthings/Face2Face_V1 | e2d58476b31926627fe63a988d9af10dc158ea4a | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class AnalyzingBarUI : MonoBehaviour {
public Image analyzeBar;
public bool analyzing;
public float waitTime = 5.0f;
// Update is called once per frame
void Update()
{
if (anal... | 22 | 70 | 0.634615 |
0a00c2cdd53820b238956f8062aec4e924080719 | 149 | rs | Rust | actix-producer/tests/verify.rs | beltram/stubr | c140fd6a0f32c8bccdd1f7c7c7fb18692f27eac3 | [
"Apache-2.0"
] | 25 | 2020-11-06T13:37:16.000Z | 2022-02-16T16:03:06.000Z | actix-producer/tests/verify.rs | beltram/stubr | c140fd6a0f32c8bccdd1f7c7c7fb18692f27eac3 | [
"Apache-2.0"
] | 265 | 2021-02-06T11:16:34.000Z | 2022-03-29T10:10:09.000Z | actix-producer/tests/verify.rs | beltram/stubr | c140fd6a0f32c8bccdd1f7c7c7fb18692f27eac3 | [
"Apache-2.0"
] | 2 | 2021-03-08T14:50:50.000Z | 2022-03-23T10:45:02.000Z | use actix_web::App;
use actix_producer::ok;
use stubr::*;
#[actix_rt::test]
async fn should_verify() {
App::new().service(ok).verify().await;
} | 16.555556 | 42 | 0.671141 |
05f33de780e71bdb02f7cd76af10bcc1d902c7dd | 601 | py | Python | Builder/products.py | HOWZ1T/learning-design-patterns | 73a844f9d8ea00bae711fb0d90b93ca652b2b039 | [
"MIT"
] | 1 | 2018-09-24T12:05:06.000Z | 2018-09-24T12:05:06.000Z | Builder/products.py | HOWZ1T/learning-design-patterns | 73a844f9d8ea00bae711fb0d90b93ca652b2b039 | [
"MIT"
] | null | null | null | Builder/products.py | HOWZ1T/learning-design-patterns | 73a844f9d8ea00bae711fb0d90b93ca652b2b039 | [
"MIT"
] | null | null | null | from Builder import abstract_objects
class VeggieBurger(abstract_objects.Burger):
def price(self):
return float(25.0)
def name(self):
return "Veggie Burger"
class ChickenBurger(abstract_objects.Burger):
def price(self):
return float(50.5)
def name(self):
return "Chi... | 17.676471 | 45 | 0.643927 |
49db352e6e64e64c9140da2b9727d8f91bae85af | 1,928 | lua | Lua | packages/l/libvorbis/xmake.lua | SoapyMan/xmake-repo | a8bcd72dcb062818c57ade09eb06ca42f4450328 | [
"Apache-2.0"
] | 1 | 2020-12-16T16:31:50.000Z | 2020-12-16T16:31:50.000Z | packages/l/libvorbis/xmake.lua | SoapyMan/xmake-repo | a8bcd72dcb062818c57ade09eb06ca42f4450328 | [
"Apache-2.0"
] | null | null | null | packages/l/libvorbis/xmake.lua | SoapyMan/xmake-repo | a8bcd72dcb062818c57ade09eb06ca42f4450328 | [
"Apache-2.0"
] | null | null | null | package("libvorbis")
set_homepage("https://xiph.org/vorbis")
set_description("Reference implementation of the Ogg Vorbis audio format.")
set_license("BSD-3")
set_urls("https://ftp.osuosl.org/pub/xiph/releases/vorbis/libvorbis-$(version).tar.gz",
"https://github.com/xiph/vorbis/releases/do... | 49.435897 | 104 | 0.651452 |
b3aae293717e30e9c8ff2f13f46a8e31defabe5f | 66 | psd1 | PowerShell | GitHub/On/IssueOpenedOrEdited.psd1 | Jalalhejazi/PSDevOps | d0608a13046502816434653c8e12fe864ca06003 | [
"MIT"
] | 1 | 2022-03-09T09:22:49.000Z | 2022-03-09T09:22:49.000Z | GitHub/On/IssueOpenedOrEdited.psd1 | Jalalhejazi/PSDevOps | d0608a13046502816434653c8e12fe864ca06003 | [
"MIT"
] | null | null | null | GitHub/On/IssueOpenedOrEdited.psd1 | Jalalhejazi/PSDevOps | d0608a13046502816434653c8e12fe864ca06003 | [
"MIT"
] | null | null | null | @{
issues = @{
types =@('opened','edited')
}
}
| 8.25 | 35 | 0.348485 |
8b3bcc2cada7cc977361cf95e48debf29043ce55 | 578 | rb | Ruby | lib/rulers.rb | jsimpson/rulers | 173a4f0b95793a3a4237982e1b7a56efdf889ad2 | [
"MIT"
] | null | null | null | lib/rulers.rb | jsimpson/rulers | 173a4f0b95793a3a4237982e1b7a56efdf889ad2 | [
"MIT"
] | null | null | null | lib/rulers.rb | jsimpson/rulers | 173a4f0b95793a3a4237982e1b7a56efdf889ad2 | [
"MIT"
] | null | null | null | require 'rulers/routing'
require 'rulers/util'
require 'rulers/dependencies'
require 'rulers/version'
module Rulers
class Error < StandardError; end
class Application
def call(env)
return [404, { 'Content-Type' => 'text/html' }, []] if env['PATH_INFO'] == '/favicon.ico'
klass, act = get_controll... | 19.266667 | 95 | 0.636678 |
e277c3002e51ca795d9dfc26f35ed970b46fd18c | 1,188 | py | Python | HAL/util/stats.py | cagrell/HAL | 3dd7df1d2d7f6b6bd2c6bf95e3773d1ef7219a4d | [
"MIT"
] | null | null | null | HAL/util/stats.py | cagrell/HAL | 3dd7df1d2d7f6b6bd2c6bf95e3773d1ef7219a4d | [
"MIT"
] | null | null | null | HAL/util/stats.py | cagrell/HAL | 3dd7df1d2d7f6b6bd2c6bf95e3773d1ef7219a4d | [
"MIT"
] | null | null | null | import numpy as np
import scipy as sp
def norm_cdf_int(mu, std, LB, UB):
""" Return P(LB < X < UB) for X Normal(mu, std) """
rv = sp.stats.norm(mu, std)
return rv.cdf(UB) - rv.cdf(LB)
def norm_cdf_int_approx(mu, std, LB, UB):
"""
Return P(LB < X < UB) for X Normal(mu, std) using approximation of ... | 27 | 82 | 0.56229 |
84b5d2c265a49e798c91060b1e8471d45d987534 | 550 | cs | C# | MTN/Patches/GameServerPatch/GameServer.Patch.cs | Dawilly/MTN | 5af669b102da5f3919d2cbb0bf6298958d1092d8 | [
"MIT"
] | 3 | 2018-10-14T19:38:48.000Z | 2021-01-15T17:14:17.000Z | MTN/Patches/GameServerPatch/GameServer.Patch.cs | Dawilly/MTN | 5af669b102da5f3919d2cbb0bf6298958d1092d8 | [
"MIT"
] | null | null | null | MTN/Patches/GameServerPatch/GameServer.Patch.cs | Dawilly/MTN | 5af669b102da5f3919d2cbb0bf6298958d1092d8 | [
"MIT"
] | 6 | 2018-10-31T20:29:04.000Z | 2021-08-07T20:53:20.000Z | using StardewValley;
using StardewValley.Network;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Harmony;
using StardewValley.Locations;
using System.Reflection.Emit;
namespace MTN.Patches.GameServerPatch
{
class GameServerPatch
{
... | 22 | 97 | 0.729091 |
43b130f8cc78b5919227936e40ec152343819b60 | 210 | ts | TypeScript | src/typing.ts | drsugiaichigo00781vn/togo | 0c4ae340203328dda58ab8b57d579734ceaf0ff8 | [
"MIT"
] | null | null | null | src/typing.ts | drsugiaichigo00781vn/togo | 0c4ae340203328dda58ab8b57d579734ceaf0ff8 | [
"MIT"
] | null | null | null | src/typing.ts | drsugiaichigo00781vn/togo | 0c4ae340203328dda58ab8b57d579734ceaf0ff8 | [
"MIT"
] | null | null | null | type TTask = {
id: number
name: string
isFinished: number
assignedUserId: number
assignedDate: number
}
type TUser = {
id: number
name: string
limitTask: number
}
export {
TTask,
TUser,
}
| 11.052632 | 24 | 0.661905 |
38c0c5ffc514eaeffbb8bc9a51884a8cc43af1f8 | 537 | php | PHP | app/Http/Controllers/AdminControllers/NoticeController.php | eunah3693/w_dnd | 1e67572eac035c4b95202e5893d250cf4eb6dbe1 | [
"MIT"
] | null | null | null | app/Http/Controllers/AdminControllers/NoticeController.php | eunah3693/w_dnd | 1e67572eac035c4b95202e5893d250cf4eb6dbe1 | [
"MIT"
] | null | null | null | app/Http/Controllers/AdminControllers/NoticeController.php | eunah3693/w_dnd | 1e67572eac035c4b95202e5893d250cf4eb6dbe1 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\AdminControllers;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class NoticeController extends Controller
{
//
public function getBoardNoticeList(){
}
public function getBoardNoticeOne(){
}
public function getBoardNoticeDetail(){
... | 13.097561 | 48 | 0.692737 |
e3220238bf268099b278c71b3288afef0827bc34 | 2,866 | ps1 | PowerShell | Powershell/scripts/Day1-PowerShell/HelloWorld-Explained.ps1 | martincho5/vscode | 7d9568590d307de5319e7f7c94cc6a88ca0563d0 | [
"MIT"
] | null | null | null | Powershell/scripts/Day1-PowerShell/HelloWorld-Explained.ps1 | martincho5/vscode | 7d9568590d307de5319e7f7c94cc6a88ca0563d0 | [
"MIT"
] | null | null | null | Powershell/scripts/Day1-PowerShell/HelloWorld-Explained.ps1 | martincho5/vscode | 7d9568590d307de5319e7f7c94cc6a88ca0563d0 | [
"MIT"
] | null | null | null | ##############################################################################
# Script: HelloWorld-Explained.ps1
# Date: 27.Mar.2007
# Version: 1.0
# Author: Jason Fossen (www.WindowsPowerShellTraining.com)
# Purpose: Explains how the traditional "Hello World!" script in PowerShell
# actually works under... | 33.325581 | 99 | 0.672017 |
7bce22766185f7a2e5cf180f54fecab8eb7d57fa | 443 | cpp | C++ | baekjoon/stack/10799-iron-stick.cpp | honux77/algorithm | 2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee | [
"MIT"
] | 2 | 2019-02-08T01:23:07.000Z | 2020-11-19T12:23:52.000Z | baekjoon/stack/10799-iron-stick.cpp | honux77/algorithm | 2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee | [
"MIT"
] | null | null | null | baekjoon/stack/10799-iron-stick.cpp | honux77/algorithm | 2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee | [
"MIT"
] | null | null | null | #include <iostream>
#include <stack>
using namespace std;
int main() {
int res = 0;
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
stack<char> st;
string p;
cin >> p;
bool prev = false;
for (auto c: p) {
if (c=='(') {
st.push(c);
prev = true;
} else if (c == ')' && prev) {
st.pop();
res +... | 14.766667 | 34 | 0.528217 |
df618fef55dd08394e714f921b23e1c270fa2600 | 382 | cs | C# | WebDriver.SpecFlow.Demos/Pages/CelsiusFahrenheitPage/KilowattHoursPageAsserter.cs | sheirali/TestAutomationATPLevel2 | 87447e8e052bdc43c8ebbd1a704dac9c5b2a8642 | [
"Apache-2.0"
] | 1 | 2021-02-27T15:26:05.000Z | 2021-02-27T15:26:05.000Z | WebDriver.SpecFlow.Demos/Pages/CelsiusFahrenheitPage/KilowattHoursPageAsserter.cs | sheirali/TestAutomationATPLevel2 | 87447e8e052bdc43c8ebbd1a704dac9c5b2a8642 | [
"Apache-2.0"
] | null | null | null | WebDriver.SpecFlow.Demos/Pages/CelsiusFahrenheitPage/KilowattHoursPageAsserter.cs | sheirali/TestAutomationATPLevel2 | 87447e8e052bdc43c8ebbd1a704dac9c5b2a8642 | [
"Apache-2.0"
] | null | null | null | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace WebDriver.SpecFlow.Demos.Pages
{
public static class KilowattHoursPageAsserter
{
public static void AssertFahrenheit(this KilowattHoursPage page, string expectedNewtonMeters)
{
Assert.IsTrue(page.Answer.Text.Contains(str... | 31.833333 | 101 | 0.722513 |
f23d104278860b524d10a71be6a2d787e81d3fbf | 3,275 | php | PHP | resources/views/auth/login.blade.php | ericf196/proyectoDomino | fe9d02f261bd0e51dee2afd24b4e63e2cb03f819 | [
"MIT"
] | null | null | null | resources/views/auth/login.blade.php | ericf196/proyectoDomino | fe9d02f261bd0e51dee2afd24b4e63e2cb03f819 | [
"MIT"
] | null | null | null | resources/views/auth/login.blade.php | ericf196/proyectoDomino | fe9d02f261bd0e51dee2afd24b4e63e2cb03f819 | [
"MIT"
] | null | null | null | @extends('layout.homePanel')
@section('contentPanel')
<div class="page login-page">
<div class="container">
<div class="form-outer text-center d-flex align-items-center">
<div class="form-inner">
<div class="logo text-uppercase"><span>Dash</span><strong class="text-primary">Express... | 38.529412 | 212 | 0.41313 |
e3a158bacda541d0ab471db93dff5b9b776f111a | 169 | rb | Ruby | app/models/todo.rb | kevinah95/todos-api | 3d3ea39bf9a404dd4622027d61f397bfda56efc7 | [
"MIT"
] | null | null | null | app/models/todo.rb | kevinah95/todos-api | 3d3ea39bf9a404dd4622027d61f397bfda56efc7 | [
"MIT"
] | null | null | null | app/models/todo.rb | kevinah95/todos-api | 3d3ea39bf9a404dd4622027d61f397bfda56efc7 | [
"MIT"
] | null | null | null | class Todo < ApplicationRecord
# model association
has_many :items, dependent: :destroy
# validations
validates_presence_of :title, :created_by
end
| 21.125 | 45 | 0.715976 |
c41f51c3be2e0a6a58bc01a94f7758223e06cbbb | 4,903 | dart | Dart | database/lib/src/database/adapters/caching.dart | Jack-Beattie/database | 6bd0d939ef0ab6ace3102060b090b85147bb4270 | [
"Apache-2.0"
] | 60 | 2020-01-14T00:59:04.000Z | 2022-02-03T09:12:07.000Z | database/lib/src/database/adapters/caching.dart | Jack-Beattie/database | 6bd0d939ef0ab6ace3102060b090b85147bb4270 | [
"Apache-2.0"
] | 23 | 2020-01-23T17:14:08.000Z | 2021-12-26T10:31:47.000Z | database/lib/src/database/adapters/caching.dart | terrier989/datastore | bb9f1650b191498e25d2f4c3c5ca74e9119ee1d7 | [
"Apache-2.0"
] | 17 | 2020-03-11T07:13:23.000Z | 2022-03-01T19:23:20.000Z | // Copyright 2019 Gohilla Ltd.
//
// 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 wri... | 30.265432 | 79 | 0.696308 |
ef5c0e1fb848a6a9751373fe2e4d74eab913cba7 | 2,214 | js | JavaScript | chrome/test/data/webui/test_api.js | meego-tablet-ux/meego-app-browser | 0f4ef17bd4b399c9c990a2f6ca939099495c2b9c | [
"BSD-3-Clause"
] | 1 | 2015-10-12T09:14:22.000Z | 2015-10-12T09:14:22.000Z | chrome/test/data/webui/test_api.js | meego-tablet-ux/meego-app-browser | 0f4ef17bd4b399c9c990a2f6ca939099495c2b9c | [
"BSD-3-Clause"
] | null | null | null | chrome/test/data/webui/test_api.js | meego-tablet-ux/meego-app-browser | 0f4ef17bd4b399c9c990a2f6ca939099495c2b9c | [
"BSD-3-Clause"
] | 1 | 2020-11-04T07:22:28.000Z | 2020-11-04T07:22:28.000Z | // Copyright (c) 2011 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.
// Library providing basic test framework functionality.
(function() {
// Indicates a pass to the C++ backend.
function pass() {
chrome.send(... | 27.333333 | 77 | 0.611563 |
25590037fee03780d8406df0237873984834928a | 256 | cs | C# | src/MvcClient/ImageGallery.MvcClient.ViewModels/OrderFrameViewModel.cs | VahidN/IdentityServerImageGallery | b160e21e5cb5f914808d4b7ad20b39794fda4c46 | [
"Apache-2.0"
] | 61 | 2018-09-02T11:29:24.000Z | 2022-02-19T11:40:25.000Z | src/MvcClient/ImageGallery.MvcClient.ViewModels/OrderFrameViewModel.cs | VahidN/IdentityServerImageGallery | b160e21e5cb5f914808d4b7ad20b39794fda4c46 | [
"Apache-2.0"
] | 4 | 2018-12-18T15:10:31.000Z | 2019-12-15T20:41:31.000Z | src/MvcClient/ImageGallery.MvcClient.ViewModels/OrderFrameViewModel.cs | VahidN/IdentityServerImageGallery | b160e21e5cb5f914808d4b7ad20b39794fda4c46 | [
"Apache-2.0"
] | 14 | 2018-09-21T17:32:36.000Z | 2022-03-03T12:19:12.000Z | namespace ImageGallery.MvcClient.ViewModels
{
public class OrderFrameViewModel
{
public string Address { get; } = string.Empty;
public OrderFrameViewModel(string address)
{
Address = address;
}
}
}
| 19.692308 | 54 | 0.605469 |
0d398d0ab9cf47de9f622e459790f6c7aebced56 | 10,078 | cs | C# | BCReaderDemo/BCReaderDemo/BCReaderDemo/CreateNewGroupPage.xaml.cs | LEADTOOLS/business-card-reader-demo-xamarin | fb45fbdaee5847f74f22bee55f6fe370548e5d9b | [
"AML",
"RSA-MD"
] | 3 | 2020-02-18T08:23:42.000Z | 2021-06-16T08:49:19.000Z | BCReaderDemo/BCReaderDemo/BCReaderDemo/CreateNewGroupPage.xaml.cs | LEADTOOLS/business-card-reader-demo-xamarin | fb45fbdaee5847f74f22bee55f6fe370548e5d9b | [
"AML",
"RSA-MD"
] | null | null | null | BCReaderDemo/BCReaderDemo/BCReaderDemo/CreateNewGroupPage.xaml.cs | LEADTOOLS/business-card-reader-demo-xamarin | fb45fbdaee5847f74f22bee55f6fe370548e5d9b | [
"AML",
"RSA-MD"
] | 1 | 2020-08-06T08:35:32.000Z | 2020-08-06T08:35:32.000Z | // *************************************************************
// Copyright (c) 1991-2020 LEAD Technologies, Inc.
// All Rights Reserved.
// *************************************************************
using BCReaderDemo.Models;
using BCReaderDemo.Utils;
using ... | 34.993056 | 211 | 0.630085 |
cd4193edd82ea0fd17a35499d86e66c3fc92f8e2 | 219 | cs | C# | Exercises-Interfaces/8.MilitaryElite/Interfaces/ICommando.cs | giggals/Software-University | 23ebecdc06911db80e1ed0d28ed27f58993f737a | [
"MIT"
] | null | null | null | Exercises-Interfaces/8.MilitaryElite/Interfaces/ICommando.cs | giggals/Software-University | 23ebecdc06911db80e1ed0d28ed27f58993f737a | [
"MIT"
] | null | null | null | Exercises-Interfaces/8.MilitaryElite/Interfaces/ICommando.cs | giggals/Software-University | 23ebecdc06911db80e1ed0d28ed27f58993f737a | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
public interface ICommando
{
List<string> Missions { get; set; }
string MissionCode { get; set; }
string MissionStade { get; set; }
}
| 14.6 | 39 | 0.684932 |
f481bf412ffccc48137b7ad408b0b9cd7d9731ac | 311 | ts | TypeScript | apps/api/src/config/graphql/config.service.ts | huddle-up/huddle-up | cf747d91baf03c485a4642457034f0ba43b63d89 | [
"MIT"
] | null | null | null | apps/api/src/config/graphql/config.service.ts | huddle-up/huddle-up | cf747d91baf03c485a4642457034f0ba43b63d89 | [
"MIT"
] | null | null | null | apps/api/src/config/graphql/config.service.ts | huddle-up/huddle-up | cf747d91baf03c485a4642457034f0ba43b63d89 | [
"MIT"
] | null | null | null | import { Injectable } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
@Injectable()
export class GraphqlConfigService {
constructor(private configService: ConfigService) {}
get playground(): boolean {
return Boolean(this.configService.get<boolean>('graphql.playground'));
}
}
| 25.916667 | 74 | 0.736334 |
af7aa26676f98adc34c9ceb35f062983c9cbc3bf | 1,129 | py | Python | dan/layers/affine_image.py | justusschock/deep_alignment_network_pytorch | 2371715c2d79b754fede9dfb181957378aeb02d9 | [
"BSD-2-Clause"
] | 36 | 2019-03-05T20:41:01.000Z | 2021-05-10T18:41:34.000Z | dan/layers/affine_image.py | BOOLMANOR/deep_alignment_network_pytorch | 2371715c2d79b754fede9dfb181957378aeb02d9 | [
"BSD-2-Clause"
] | 5 | 2019-04-09T08:52:29.000Z | 2020-10-21T15:05:33.000Z | dan/layers/affine_image.py | BOOLMANOR/deep_alignment_network_pytorch | 2371715c2d79b754fede9dfb181957378aeb02d9 | [
"BSD-2-Clause"
] | 10 | 2019-05-21T12:16:51.000Z | 2020-10-26T18:33:28.000Z | import torch
class AffineImageTransformation(torch.nn.Module):
"""
Layer to transform an input image by a given affine transformation matrix
"""
def __init__(self, img_size: tuple):
"""
Parameters
----------
img_size : tuple
the output image size
... | 24.021277 | 77 | 0.576616 |
afddc361f0e6c200576ed6ed8260f87b601ff8ee | 473 | lua | Lua | projects/flower-extensions/flower-tasker/src/flower/tasker/AbortCommand.lua | rammie/Hanappe | 9e084c478e104ac5669cb33c73516f0606ab93f3 | [
"Apache-2.0"
] | null | null | null | projects/flower-extensions/flower-tasker/src/flower/tasker/AbortCommand.lua | rammie/Hanappe | 9e084c478e104ac5669cb33c73516f0606ab93f3 | [
"Apache-2.0"
] | null | null | null | projects/flower-extensions/flower-tasker/src/flower/tasker/AbortCommand.lua | rammie/Hanappe | 9e084c478e104ac5669cb33c73516f0606ab93f3 | [
"Apache-2.0"
] | null | null | null | ----------------------------------------------------------------------------------------------------
-- TODO:LuaDoc
----------------------------------------------------------------------------------------------------
-- import
local class = require "flower.class"
local BaseCommand = require "flower.tasker.BaseCommand"... | 26.277778 | 100 | 0.435518 |
4d506e65ae42bf41670413b5af8d087fa924a153 | 890 | lua | Lua | luaui/widgets/gui_spectate_selected.lua | techannihilation/TA | 2b70333fd2617d0372cc0c9795f5f3b9c158205b | [
"CC-BY-4.0"
] | 38 | 2017-01-20T08:12:28.000Z | 2022-03-05T16:50:40.000Z | luaui/widgets/gui_spectate_selected.lua | techannihilation/TA | 2b70333fd2617d0372cc0c9795f5f3b9c158205b | [
"CC-BY-4.0"
] | 1,067 | 2016-12-09T20:14:49.000Z | 2022-02-20T12:57:29.000Z | luaui/widgets/gui_spectate_selected.lua | techannihilation/TA | 2b70333fd2617d0372cc0c9795f5f3b9c158205b | [
"CC-BY-4.0"
] | 68 | 2016-12-10T09:20:25.000Z | 2021-09-07T10:44:52.000Z |
function widget:GetInfo()
return {
name = 'Spectate Selected',
desc = 'Automatically spectates owner of selected unit',
author = 'Niobium',
version = '1.0',
date = 'April 2011',
license = 'GNU GPL v2',
layer = 0,
enabled = true
}
end
local spGetSpectat... | 27.8125 | 64 | 0.634831 |
db6a91478e8959ea9fc21fb417df08ea4e92cec0 | 631 | php | PHP | app/Http/Controllers/ChapterController.php | nyatto-io/backend | 1a3657deec7c66a5158823717711293be146c899 | [
"MIT"
] | null | null | null | app/Http/Controllers/ChapterController.php | nyatto-io/backend | 1a3657deec7c66a5158823717711293be146c899 | [
"MIT"
] | null | null | null | app/Http/Controllers/ChapterController.php | nyatto-io/backend | 1a3657deec7c66a5158823717711293be146c899 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Models\Chapter;
use App\Models\Manga;
use Illuminate\Http\Request;
class ChapterController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(Manga $manga)
{
... | 19.71875 | 62 | 0.610143 |
c1bbe1e4496d08e00dde67ab2ac77b0963a911f2 | 794 | lua | Lua | total-power-consumption.lua | ppx17/domoticz-scripts | c9837f971a7132904ad13ccad5ca0a4e3040550a | [
"MIT"
] | null | null | null | total-power-consumption.lua | ppx17/domoticz-scripts | c9837f971a7132904ad13ccad5ca0a4e3040550a | [
"MIT"
] | null | null | null | total-power-consumption.lua | ppx17/domoticz-scripts | c9837f971a7132904ad13ccad5ca0a4e3040550a | [
"MIT"
] | null | null | null | -- regluar expression that matches all power meter devices, BUT NOT the virtual power meter
powerMeterRegex = "^.*%(watt%)$"
-- find the idx property of your virtual power meter at /json.htm?type=devices
totalConsumptionMeterId = 310
commandArray = {}
tc=next(devicechanged)
deviceChangedName=tostring(tc)
if not devic... | 29.407407 | 91 | 0.775819 |
b15e45ebd98b5e0cb369efd18c74290e80eb5ffc | 4,564 | asm | Assembly | Transynther/x86/_processed/US/_ht_zr_un_/i7-7700_9_0xca.log_14418_1699.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_ht_zr_un_/i7-7700_9_0xca.log_14418_1699.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_ht_zr_un_/i7-7700_9_0xca.log_14418_1699.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r15
push %r9
push %rax
push %rdi
push %rdx
push %rsi
// Load
lea addresses_A+0x5f5c, %r15
clflush (%r15)
nop
nop
nop
nop
cmp %rsi, %rsi
movb (%r15), %al
nop
nop
nop
nop
and $36727, %rdx
// Store
lea addresses_WT... | 48.553191 | 2,999 | 0.652498 |
443c8ee4761244880c161ee31234d63fc34c202e | 1,921 | py | Python | uspto/pbd/document.py | Velpeo/uspto-opendata-python | fbfe292d0b9dd01e541744d654d051ede8b4ed9b | [
"MIT"
] | 55 | 2017-10-26T19:46:57.000Z | 2022-03-06T20:23:49.000Z | uspto/pbd/document.py | Velpeo/uspto-opendata-python | fbfe292d0b9dd01e541744d654d051ede8b4ed9b | [
"MIT"
] | 13 | 2017-11-17T08:52:27.000Z | 2019-06-01T13:37:42.000Z | uspto/pbd/document.py | Velpeo/uspto-opendata-python | fbfe292d0b9dd01e541744d654d051ede8b4ed9b | [
"MIT"
] | 19 | 2017-11-08T04:16:21.000Z | 2022-03-06T20:24:40.000Z | # -*- coding: utf-8 -*-
# (c) 2017 Andreas Motl <andreas@ip-tools.org>
import logging
from uspto.util.document import GenericDocument
logger = logging.getLogger(__name__)
class UsptoPairBulkDataDocument(GenericDocument):
XML_NAMESPACES = {
'pat': 'http://www.wipo.int/standards/XMLSchema/ST96/Patent',
... | 40.87234 | 143 | 0.680895 |
2bb1bc8292d93453b67c43687317c61c0d204a0d | 2,854 | swift | Swift | Classes/Views/Modular/AccessorizedLabelView.swift | starcraft3D/Meetpoint | ce81be0108bb0053c3d67ca3bbf051405df9e965 | [
"Apache-2.0"
] | 28 | 2018-08-16T12:25:49.000Z | 2018-09-27T14:08:46.000Z | Classes/Views/Modular/AccessorizedLabelView.swift | mohsinalimat/Meetpoint | ce81be0108bb0053c3d67ca3bbf051405df9e965 | [
"Apache-2.0"
] | null | null | null | Classes/Views/Modular/AccessorizedLabelView.swift | mohsinalimat/Meetpoint | ce81be0108bb0053c3d67ca3bbf051405df9e965 | [
"Apache-2.0"
] | 3 | 2018-08-19T13:09:24.000Z | 2018-09-01T06:40:50.000Z | //
// AccessorizedLabelView.swift
// MeetPoint
//
// Created by PowerMobile Team on 16/09/2017.
// Copyright © 2017 PowerMobile Team. All rights reserved.
//
import UIKit
import PureLayout
enum AccessoryImagePosition {
case left
case right
}
let AccessorizedLabelViewDefaultHeight: CGFloat = 20.0
class A... | 26.924528 | 111 | 0.607919 |
2cc353fa410e03b4f6591d6f133993064384cadf | 449 | py | Python | gantt/migrations/0003_activity_progress.py | diacepanbimbo/colectivo_panal | 0412be67f60dafb50138930dafb244cededf731c | [
"MIT"
] | null | null | null | gantt/migrations/0003_activity_progress.py | diacepanbimbo/colectivo_panal | 0412be67f60dafb50138930dafb244cededf731c | [
"MIT"
] | null | null | null | gantt/migrations/0003_activity_progress.py | diacepanbimbo/colectivo_panal | 0412be67f60dafb50138930dafb244cededf731c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-02-10 03:02
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('gantt', '0002_auto_20160209_2347'),
]
operations = [
migrations.AddField(
... | 21.380952 | 49 | 0.612472 |
7adeb94577bdbd20964d88339b7fb7460a13b374 | 2,428 | cs | C# | src/Sarif.Viewer.VisualStudio.Core/ErrorList/ColumnFilterer.cs | microsoft/sarif-visualstudio-extension | 5f9b4651e958fbfec0eac5d2031491902897c1e4 | [
"MIT"
] | 18 | 2020-04-14T15:00:05.000Z | 2022-03-18T21:09:38.000Z | src/Sarif.Viewer.VisualStudio/ErrorList/ColumnFilterer.cs | ConnectionMaster/sarif-visualstudio-extension | 17eb68b795b824bd114499fa79cdc07cc4745afa | [
"MIT"
] | 231 | 2019-05-09T15:54:35.000Z | 2022-03-21T13:53:50.000Z | src/Sarif.Viewer.VisualStudio/ErrorList/ColumnFilterer.cs | ConnectionMaster/sarif-visualstudio-extension | 17eb68b795b824bd114499fa79cdc07cc4745afa | [
"MIT"
] | 15 | 2020-06-04T02:09:12.000Z | 2022-01-13T03:25:51.000Z | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Shell.TableControl;
na... | 37.9375 | 114 | 0.635502 |
8ea37166f1609ba6e493f12df751d4ce6b1b37f3 | 2,570 | swift | Swift | Tweeter/postViewController.swift | aboudreauxa/Tweeter | 3f098d9d8504a464d89f9f6c5d83ab792ca46469 | [
"Apache-2.0"
] | null | null | null | Tweeter/postViewController.swift | aboudreauxa/Tweeter | 3f098d9d8504a464d89f9f6c5d83ab792ca46469 | [
"Apache-2.0"
] | 1 | 2016-07-02T01:59:40.000Z | 2016-07-05T22:24:00.000Z | Tweeter/postViewController.swift | aboudreauxa/Tweeter | 3f098d9d8504a464d89f9f6c5d83ab792ca46469 | [
"Apache-2.0"
] | null | null | null | //
// postViewController.swift
// Tweeter
//
// Created by Alexina Boudreaux-Allen on 6/29/16.
// Copyright © 2016 Alexina Boudreaux-Allen. All rights reserved.
//
import UIKit
import AFNetworking
class postViewController: UIViewController, UITextViewDelegate {
@IBOutlet weak var characterCount: UILabel!
... | 32.125 | 133 | 0.662257 |
a4601f2173b56173388705599e7ff6b914816c77 | 98 | php | PHP | resources/views/detalles_especialistas/create.blade.php | branddcast/control_pacientes | 69d5bf684e8555ad88087d3480e670679bfb426c | [
"MIT"
] | 1 | 2019-01-19T00:50:49.000Z | 2019-01-19T00:50:49.000Z | resources/views/detalles_especialistas/edit.blade.php | branddcast/control_pacientes | 69d5bf684e8555ad88087d3480e670679bfb426c | [
"MIT"
] | null | null | null | resources/views/detalles_especialistas/edit.blade.php | branddcast/control_pacientes | 69d5bf684e8555ad88087d3480e670679bfb426c | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
@include('detalles_especialistas.fields')
@endsection | 19.6 | 41 | 0.77551 |
b03894890c5f131278ce44847380c4c8ad35e2fe | 411 | py | Python | FatherSon/HelloWorld2_source_code/listing_22-6.py | axetang/AxePython | 3b517fa3123ce2e939680ad1ae14f7e602d446a6 | [
"Apache-2.0"
] | 1 | 2019-01-04T05:47:50.000Z | 2019-01-04T05:47:50.000Z | FatherSon/HelloWorld2_source_code/listing_22-6.py | axetang/AxePython | 3b517fa3123ce2e939680ad1ae14f7e602d446a6 | [
"Apache-2.0"
] | null | null | null | FatherSon/HelloWorld2_source_code/listing_22-6.py | axetang/AxePython | 3b517fa3123ce2e939680ad1ae14f7e602d446a6 | [
"Apache-2.0"
] | null | null | null | # Listing_22-6.py
# Copyright Warren & Csrter Sande, 2013
# Released under MIT license http://www.opensource.org/licenses/mit-license.php
# Version $version ----------------------------
# Using pickle to store a list to a file
import pickle
my_list = ['Fred', 73, 'Hello there', 81.9876e-13]
pickle_file =... | 31.615385 | 82 | 0.664234 |
445fc9c2fbcc52252f1dece336d9634dde1a0676 | 32,563 | py | Python | pysnmp_mibs/IPMROUTE-STD-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2017-04-21T13:48:08.000Z | 2022-01-06T19:42:52.000Z | pysnmp_mibs/IPMROUTE-STD-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 1 | 2020-05-05T16:42:25.000Z | 2020-05-05T16:42:25.000Z | pysnmp_mibs/IPMROUTE-STD-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2020-02-08T20:28:49.000Z | 2021-09-14T13:36:46.000Z | #
# PySNMP MIB module IPMROUTE-STD-MIB (http://pysnmp.sf.net)
# ASN.1 source http://mibs.snmplabs.com:80/asn1/IPMROUTE-STD-MIB
# Produced by pysmi-0.0.7 at Sun Feb 14 00:18:06 2016
# On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose
# Using Python version 3.5.0 (default, Jan 5 2016, 17:11:52)... | 201.006173 | 3,289 | 0.746522 |
14733e1f2d24f016e7f5ce9b867efafe47c1eca9 | 362 | ts | TypeScript | src/to-image.ts | jeetiss/image-fns | deea29c4f7790775888fe6a1264df83790f8a43f | [
"MIT"
] | 4 | 2019-02-10T06:29:59.000Z | 2019-04-05T10:51:50.000Z | src/to-image.ts | jeetiss/image-fns | deea29c4f7790775888fe6a1264df83790f8a43f | [
"MIT"
] | 5 | 2019-02-07T14:44:29.000Z | 2019-04-05T10:52:35.000Z | src/to-image.ts | jeetiss/image-fns | deea29c4f7790775888fe6a1264df83790f8a43f | [
"MIT"
] | 1 | 2019-02-08T11:10:52.000Z | 2019-02-08T11:10:52.000Z | import { Formats, getMimeType } from './supported-formats'
const toImage = (
canvas: HTMLCanvasElement,
options: {
format?: Formats | string
}
): HTMLImageElement => {
const { format } = options
const realImage = new Image()
const mime = getMimeType(format)
realImage.src = canvas.toDataURL(mime)
r... | 20.111111 | 58 | 0.698895 |
c136da14fa512498c82c9159fb63e6d60e4b5925 | 634 | swift | Swift | programmers/42579/swift/gon125.swift | algorithm-everyday/algorithm-everyday | b79a34b4db626c15b540443b8c929edc21992e14 | [
"MIT"
] | 2 | 2021-03-29T14:30:39.000Z | 2021-03-29T15:08:55.000Z | programmers/42579/swift/gon125.swift | algorithm-everyday/algorithm-everyday | b79a34b4db626c15b540443b8c929edc21992e14 | [
"MIT"
] | 50 | 2021-02-16T13:50:33.000Z | 2021-06-15T04:33:46.000Z | programmers/42579/swift/gon125.swift | gon125/algorithm-everyday | b79a34b4db626c15b540443b8c929edc21992e14 | [
"MIT"
] | 5 | 2021-02-08T14:12:10.000Z | 2021-02-24T13:21:22.000Z | import Foundation
func solution(_ genres:[String], _ plays:[Int]) -> [Int] {
var hashTable = [String: ([Int], count: Int)]()
for song in plays.indices {
if hashTable[genres[song]] == nil {
hashTable[genres[song]] = ([Int](), count: 0)
}
hashTable[genres[song]]!.0.append... | 30.190476 | 85 | 0.531546 |
76a44b24965d81762ae03a6802a2b2e1ca052926 | 73 | sql | SQL | scripts/impala/sql/count_store_sales_remainder.sql | umbrant/caching_benchmarking | 53fc4159d02b7c979ed4f3c9ef633416448615aa | [
"Apache-2.0"
] | 1 | 2017-12-11T18:37:21.000Z | 2017-12-11T18:37:21.000Z | scripts/impala/sql/count_store_sales_remainder.sql | umbrant/caching_benchmarking | 53fc4159d02b7c979ed4f3c9ef633416448615aa | [
"Apache-2.0"
] | null | null | null | scripts/impala/sql/count_store_sales_remainder.sql | umbrant/caching_benchmarking | 53fc4159d02b7c979ed4f3c9ef633416448615aa | [
"Apache-2.0"
] | null | null | null | select count(*) from tpcds1000gb.store_sales where ss_date<'2002-11-22';
| 36.5 | 72 | 0.780822 |
79664680561389460cbf4a2366ddfb89e5fa1416 | 5,942 | php | PHP | resources/views/vendor/adminlte/master.blade.php | egormalcev98/radioavtomat | 649a52f45e1e8a942308596f8271e1b58be42bec | [
"MIT"
] | null | null | null | resources/views/vendor/adminlte/master.blade.php | egormalcev98/radioavtomat | 649a52f45e1e8a942308596f8271e1b58be42bec | [
"MIT"
] | 1 | 2021-02-02T19:49:26.000Z | 2021-02-02T19:49:26.000Z | resources/views/vendor/adminlte/master.blade.php | egormalcev98/radioavtomat | 649a52f45e1e8a942308596f8271e1b58be42bec | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{csrf_token()}}">
<title>@yield('ti... | 40.421769 | 156 | 0.627903 |
e02a05bbc30f412eda5446414c977187f6807e69 | 572 | h | C | DevelopmentIOS/Manager/Contact/ABPerson.h | liuboshuo/LSDevelopmentIOS | 90ee7886f31cf3e8571e9dcb9dc7417e25362008 | [
"MIT"
] | 3 | 2016-09-26T08:36:58.000Z | 2017-08-11T05:54:59.000Z | DevelopmentIOS/Manager/Contact/ABPerson.h | liuboshuo/LSDevelopmentIOS | 90ee7886f31cf3e8571e9dcb9dc7417e25362008 | [
"MIT"
] | null | null | null | DevelopmentIOS/Manager/Contact/ABPerson.h | liuboshuo/LSDevelopmentIOS | 90ee7886f31cf3e8571e9dcb9dc7417e25362008 | [
"MIT"
] | 1 | 2018-09-05T07:05:17.000Z | 2018-09-05T07:05:17.000Z | //
// ABPersonModel.h
// LSDevelopmentIOS
//
// Created by 刘硕 on 16/4/15.
// Copyright © 2016年 liushuo. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <AddressBook/AddressBook.h>
@interface ABPerson : NSObject
@property(nonatomic , assign)ABRecordID personId;
@property(... | 20.428571 | 117 | 0.736014 |
46ccf3e004b85fcb622981bc020b326365c85229 | 451 | py | Python | rgcn/data/aifb/strip_targets.py | PatriciaXiao/relational-gcn | 9f90af3b325c04d28f934b367416b6b84a663a12 | [
"MIT"
] | 712 | 2018-02-20T18:37:35.000Z | 2022-03-30T16:41:17.000Z | rgcn/data/aifb/strip_targets.py | miselico/relational-gcn | c6f29f0c9986d62e41176f9c66acb9f9f76557a0 | [
"MIT"
] | 22 | 2018-03-09T11:00:37.000Z | 2022-02-15T12:50:30.000Z | rgcn/data/aifb/strip_targets.py | miselico/relational-gcn | c6f29f0c9986d62e41176f9c66acb9f9f76557a0 | [
"MIT"
] | 129 | 2018-02-20T18:37:36.000Z | 2022-01-20T22:20:41.000Z | import rdflib as rdf
import gzip
g = rdf.Graph()
g.parse('./aifb_fixed_complete.n3', format='n3')
employs = rdf.term.URIRef("http://swrc.ontoware.org/ontology#employs")
affiliation = rdf.term.URIRef("http://swrc.ontoware.org/ontology#affiliation")
rels = set(g.predicates())
g.remove((None, employs, None))
g.remove... | 23.736842 | 78 | 0.713969 |
38dbd67db80a0d2c3aed74921b1c030094f2b5ba | 5,796 | php | PHP | vendor/symfony/symfony/src/Symfony/Component/Form/Tests/Extension/Core/Type/CheckboxTypeTest.php | Fenozo/symfony-ecom | 62cc7828ca6102d08f41ea86ac116baa43cbc3f1 | [
"MIT"
] | null | null | null | vendor/symfony/symfony/src/Symfony/Component/Form/Tests/Extension/Core/Type/CheckboxTypeTest.php | Fenozo/symfony-ecom | 62cc7828ca6102d08f41ea86ac116baa43cbc3f1 | [
"MIT"
] | null | null | null | vendor/symfony/symfony/src/Symfony/Component/Form/Tests/Extension/Core/Type/CheckboxTypeTest.php | Fenozo/symfony-ecom | 62cc7828ca6102d08f41ea86ac116baa43cbc3f1 | [
"MIT"
] | 2 | 2020-11-04T03:03:26.000Z | 2020-11-05T08:14:20.000Z | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
use Symfony\Component... | 28.411765 | 98 | 0.575569 |
3585f844fa75b2003a8b103f126786985d4ce34e | 7,662 | kt | Kotlin | src/test/kotlin/no/nav/familie/ef/sak/service/VedtaksbrevServiceTest.kt | blommish/familie-ef-sak | 0e850df593c82a910c68c2393e6d2f30fc49eaa7 | [
"MIT"
] | null | null | null | src/test/kotlin/no/nav/familie/ef/sak/service/VedtaksbrevServiceTest.kt | blommish/familie-ef-sak | 0e850df593c82a910c68c2393e6d2f30fc49eaa7 | [
"MIT"
] | null | null | null | src/test/kotlin/no/nav/familie/ef/sak/service/VedtaksbrevServiceTest.kt | blommish/familie-ef-sak | 0e850df593c82a910c68c2393e6d2f30fc49eaa7 | [
"MIT"
] | null | null | null | package no.nav.familie.ef.sak.service
import io.mockk.every
import io.mockk.mockk
import io.mockk.slot
import io.mockk.verify
import no.nav.familie.ef.sak.OppslagSpringRunnerTest
import no.nav.familie.ef.sak.integration.FamilieIntegrasjonerClient
import no.nav.familie.ef.sak.integration.JournalpostClient
import no.nav... | 47.590062 | 119 | 0.694466 |
e82d09cbe3b7e5dc07e2556be9866e106373afb3 | 1,425 | cs | C# | Projet-Tangram/Assets/UMI3D SDK/environment dev kit/Editor/Object/UIImageEditor.cs | UMI3D/UMI3D-Tangram | 355137e2131ccaaa62010953d72e0f560245465c | [
"Apache-2.0"
] | null | null | null | Projet-Tangram/Assets/UMI3D SDK/environment dev kit/Editor/Object/UIImageEditor.cs | UMI3D/UMI3D-Tangram | 355137e2131ccaaa62010953d72e0f560245465c | [
"Apache-2.0"
] | null | null | null | Projet-Tangram/Assets/UMI3D SDK/environment dev kit/Editor/Object/UIImageEditor.cs | UMI3D/UMI3D-Tangram | 355137e2131ccaaa62010953d72e0f560245465c | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2019 Gfi Informatique
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, softwa... | 27.403846 | 72 | 0.690526 |
974bebcfca794dd3f010f09e3f581db53ce4c743 | 945 | rb | Ruby | spec/acceptance/ambari_agent_class_spec.rb | disaster37/puppet-hm_ambari | 6717ee3a6e30416e5d3008389e688d28b1cc4ad2 | [
"MIT"
] | null | null | null | spec/acceptance/ambari_agent_class_spec.rb | disaster37/puppet-hm_ambari | 6717ee3a6e30416e5d3008389e688d28b1cc4ad2 | [
"MIT"
] | null | null | null | spec/acceptance/ambari_agent_class_spec.rb | disaster37/puppet-hm_ambari | 6717ee3a6e30416e5d3008389e688d28b1cc4ad2 | [
"MIT"
] | null | null | null | require 'spec_helper_acceptance'
apply_manifest_opts = {
catch_failures: true,
debug: true,
trace: true,
}
describe 'ambari agent class:' do
describe 'Deploy ambari agent' do
it 'runs successfully' do
pp = <<-EOS
class { 'hm_ambari::agent':
}
EOS
result = apply_manifest(p... | 23.04878 | 63 | 0.648677 |
da7fee6bcf3aee4d2c41e6cc8e371f587a62ccbc | 112 | ts | TypeScript | src/environments/environment.prod.ts | feredean/node-api-starter-angular-app | 8bca1330a6f9285e3d3b55b7d7894c161ac6ac44 | [
"MIT"
] | 8 | 2019-10-14T13:36:48.000Z | 2020-10-21T20:18:53.000Z | src/environments/environment.prod.ts | feredean/node-api-starter-angular-app | 8bca1330a6f9285e3d3b55b7d7894c161ac6ac44 | [
"MIT"
] | 14 | 2019-10-11T13:27:00.000Z | 2021-05-09T05:12:41.000Z | src/environments/environment.prod.ts | feredean/node-api-starter-angular-app | 8bca1330a6f9285e3d3b55b7d7894c161ac6ac44 | [
"MIT"
] | 1 | 2021-07-03T13:14:45.000Z | 2021-07-03T13:14:45.000Z | export const environment = {
API: 'https://node-api-starter.experiments.explabs.io/v1',
production: true
};
| 22.4 | 60 | 0.714286 |
6b1bc4177b6d7f153bc0af5ec5753dc373735ec6 | 631 | js | JavaScript | src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js | piejanssens/openui5 | c684d949766e05522cdb56dc1a3333ef7210fe05 | [
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 2,724 | 2015-01-02T22:36:10.000Z | 2022-03-30T10:48:25.000Z | src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js | piejanssens/openui5 | c684d949766e05522cdb56dc1a3333ef7210fe05 | [
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 2,991 | 2015-01-03T17:00:12.000Z | 2022-03-31T15:56:23.000Z | src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js | piejanssens/openui5 | c684d949766e05522cdb56dc1a3333ef7210fe05 | [
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1,620 | 2015-01-01T00:01:02.000Z | 2022-03-14T23:31:35.000Z | sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/DataType'], function (DataType) { 'use strict';
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
var DataType__default = /*#__PURE__*/_interopDefaultLegacy(DataType);
const CalendarSelectionModes... | 28.681818 | 111 | 0.730586 |
1a72f4e34dd866fe964431892ab5836a3f7109e7 | 12,655 | py | Python | test_single_3d.py | SSurprising/ISBI2018_PETCT_Segmentation | d403df7cd6e284711a8cbdc9dc13d4df2bb47746 | [
"MIT"
] | 4 | 2018-10-28T07:08:19.000Z | 2018-10-29T08:51:54.000Z | test_single_3d.py | SSurprising/ISBI2018_PETCT_Segmentation | d403df7cd6e284711a8cbdc9dc13d4df2bb47746 | [
"MIT"
] | null | null | null | test_single_3d.py | SSurprising/ISBI2018_PETCT_Segmentation | d403df7cd6e284711a8cbdc9dc13d4df2bb47746 | [
"MIT"
] | 1 | 2018-10-28T07:12:02.000Z | 2018-10-28T07:12:02.000Z | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
import argparse
import SimpleITK as sitk
import tensorflow as tf
import os
import numpy as np
import pandas as pd
import time
import itertools
import random
import sys
im... | 42.753378 | 122 | 0.640379 |
404d7cf5a3e079ae3d9ecdfb1c37ea4e0aaaf2ce | 615 | jbuilder | Ruby | app/views/users/orders.json.jbuilder | luckypike/golovina | e26e7e1ca1f22751947b2ae600965960ed166c21 | [
"Apache-2.0"
] | null | null | null | app/views/users/orders.json.jbuilder | luckypike/golovina | e26e7e1ca1f22751947b2ae600965960ed166c21 | [
"Apache-2.0"
] | 29 | 2019-11-11T09:04:15.000Z | 2022-03-22T12:42:13.000Z | app/views/users/orders.json.jbuilder | luckypike/golovina | e26e7e1ca1f22751947b2ae600965960ed166c21 | [
"Apache-2.0"
] | null | null | null | json.orders @orders do |order|
json.partial! 'orders/order', order: order
json.user order.user, partial: 'users/user', as: :user
json.items order.order_items do |item|
json.extract! item, :id, :quantity
json.variant item.variant, partial: 'variants/variant', as: :variant
json.color item.variant.color,... | 34.166667 | 72 | 0.718699 |
a92617b4476fb92e1f4c202643869714a1df9b92 | 8,615 | css | CSS | src/main/resources/static/css/css2/admin_style.css | jiusni0cara/caocao | 666bdff1d1b871e2a58477894eb0fb9c08f5830a | [
"Apache-2.0"
] | null | null | null | src/main/resources/static/css/css2/admin_style.css | jiusni0cara/caocao | 666bdff1d1b871e2a58477894eb0fb9c08f5830a | [
"Apache-2.0"
] | null | null | null | src/main/resources/static/css/css2/admin_style.css | jiusni0cara/caocao | 666bdff1d1b871e2a58477894eb0fb9c08f5830a | [
"Apache-2.0"
] | null | null | null | *{
margin:0;
padding:0
}
body{
font-size:12px; font-family:Tahoma; color:#000000; margin:0; padding:0;height:100%;
background:#f1f1f1;
}
ul{
list-style-type:none;
}
a{
text-decoration:none;
}
img{
border:none
}
.field{
margin:10px;
}
.field label{
float:left;
padding:6px;
}
.field input.text{
border:1px soli... | 17.653689 | 84 | 0.700871 |
2fe95ac5ad6850056ec5d4d764a60b3bb96cbf2d | 1,500 | py | Python | archives/migrations/0018_auto_20220122_1014.py | mofadweb/Website | 2df3fd531b8fd0b47c2c2ca67e74692383352c71 | [
"MIT"
] | null | null | null | archives/migrations/0018_auto_20220122_1014.py | mofadweb/Website | 2df3fd531b8fd0b47c2c2ca67e74692383352c71 | [
"MIT"
] | 1 | 2022-02-18T11:01:43.000Z | 2022-02-18T11:01:43.000Z | archives/migrations/0018_auto_20220122_1014.py | mofadweb/Website | 2df3fd531b8fd0b47c2c2ca67e74692383352c71 | [
"MIT"
] | null | null | null | # Generated by Django 3.2 on 2022-01-22 10:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('archives', '0017_alter_report_type'),
]
operations = [
migrations.CreateModel(
name='AgencyDivision',
fields=[
... | 32.608696 | 117 | 0.550667 |
e2e99842b831905ba47d97227700cd77d18ad77b | 1,273 | py | Python | src/pyscript/puretest.py | JohndeVostok/tftest | b63123357b935db155394ccec156862f0cacee6e | [
"MIT"
] | null | null | null | src/pyscript/puretest.py | JohndeVostok/tftest | b63123357b935db155394ccec156862f0cacee6e | [
"MIT"
] | null | null | null | src/pyscript/puretest.py | JohndeVostok/tftest | b63123357b935db155394ccec156862f0cacee6e | [
"MIT"
] | null | null | null | import os
import json
import tensorflow as tf
from tensorflow.python.client import timeline
import time
if __name__ == "__main__":
# os.environ["CUDA_VISIBLE_DEVICES"]="-1"
a = tf.random_normal([32, 224, 224, 3])
b = tf.truncated_normal([11, 11, 3, 64], mean=0, stddev=0.1, dtype=tf.float32)
c = tf.nn.co... | 31.04878 | 98 | 0.644933 |
bb44368a2c92a8a9e0759a7a27a7d3d13c598bca | 15,925 | cs | C# | Pipeline/RoyalCode.PipelineFlow.Tests/T10_PipelineFactory_Decorators_Tests.cs | Royal-Code/Pipeline | 805ea5021ad0ac4e558c618d71de91d32c798803 | [
"MIT"
] | null | null | null | Pipeline/RoyalCode.PipelineFlow.Tests/T10_PipelineFactory_Decorators_Tests.cs | Royal-Code/Pipeline | 805ea5021ad0ac4e558c618d71de91d32c798803 | [
"MIT"
] | null | null | null | Pipeline/RoyalCode.PipelineFlow.Tests/T10_PipelineFactory_Decorators_Tests.cs | Royal-Code/Pipeline | 805ea5021ad0ac4e558c618d71de91d32c798803 | [
"MIT"
] | 1 | 2022-03-11T01:11:40.000Z | 2022-03-11T01:11:40.000Z | using RoyalCode.PipelineFlow.Configurations;
using System;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace RoyalCode.PipelineFlow.Tests
{
[Collection("Pipeline tests")]
public class T10_PipelineFactory_Decorators_Tests
{
[Fac... | 33.882979 | 137 | 0.544741 |
a92289bc927627e57ff289602780eb99e53c262e | 1,001 | css | CSS | src/styles/_user-management.css | vijayasankar/ML2.0 | 8715949b3c99527a7d2685563e0e832909feec86 | [
"MIT"
] | null | null | null | src/styles/_user-management.css | vijayasankar/ML2.0 | 8715949b3c99527a7d2685563e0e832909feec86 | [
"MIT"
] | null | null | null | src/styles/_user-management.css | vijayasankar/ML2.0 | 8715949b3c99527a7d2685563e0e832909feec86 | [
"MIT"
] | null | null | null | /* .user-management__current-user-title { */
/* color: var(--black-4); */
/* font-size: 16px; */
/* line-height: 20px; */
/* } */
/* */
/* .user-management__current-user-text { */
/* color: var(--black-2); */
/* font-size: 16px; */
/* font-weight: var(--bold); */
/* line-height: 20px; */
/* padding-bot... | 21.297872 | 54 | 0.62038 |
f62ea6aed389d2f91dcc32f5992bb286e7a61b01 | 2,636 | cpp | C++ | modules/core/engine/src/EngineServiceManager.cpp | syl22-00/aac-sdk | 79696da55b0bca09a4c68f361ef1f47efb8f717e | [
"Apache-2.0"
] | 4 | 2018-08-29T08:16:52.000Z | 2019-05-17T02:04:56.000Z | modules/core/engine/src/EngineServiceManager.cpp | syl22-00/aac-sdk | 79696da55b0bca09a4c68f361ef1f47efb8f717e | [
"Apache-2.0"
] | null | null | null | modules/core/engine/src/EngineServiceManager.cpp | syl22-00/aac-sdk | 79696da55b0bca09a4c68f361ef1f47efb8f717e | [
"Apache-2.0"
] | 1 | 2020-05-18T02:02:47.000Z | 2020-05-18T02:02:47.000Z | /*
* Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "... | 31.380952 | 181 | 0.724583 |
25526653162e39662f5472801cae59fe18637026 | 78,826 | cs | C# | backend/Thread .NET.DAL/Migrations/20200920081719_Change_Coords_Type.Designer.cs | denispostilnyak/web-technology | f86114130f23552b1882c3c01bfda429c3ba24f9 | [
"MIT"
] | 1 | 2021-02-22T14:48:44.000Z | 2021-02-22T14:48:44.000Z | backend/Thread .NET.DAL/Migrations/20200920081719_Change_Coords_Type.Designer.cs | denispostilnyak/web-technology | f86114130f23552b1882c3c01bfda429c3ba24f9 | [
"MIT"
] | null | null | null | backend/Thread .NET.DAL/Migrations/20200920081719_Change_Coords_Type.Designer.cs | denispostilnyak/web-technology | f86114130f23552b1882c3c01bfda429c3ba24f9 | [
"MIT"
] | null | null | null | // <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Thread_.NET.DAL.Context;
namespa... | 53.405149 | 214 | 0.396443 |
da1fe7fe74fbc4d954a9e1e6727402b9d4639354 | 3,900 | php | PHP | resources/views/contact/index.blade.php | asatbek2000/Uzbekisatan | 3998ad029a23887bc21be39749d029d4cde9ffaf | [
"MIT"
] | 1 | 2021-05-11T10:20:03.000Z | 2021-05-11T10:20:03.000Z | resources/views/contact/index.blade.php | asatbek2000/Uzbekisatan | 3998ad029a23887bc21be39749d029d4cde9ffaf | [
"MIT"
] | null | null | null | resources/views/contact/index.blade.php | asatbek2000/Uzbekisatan | 3998ad029a23887bc21be39749d029d4cde9ffaf | [
"MIT"
] | null | null | null | @extends('layouts.body')
@section('title')
<title>{{__('lang.uzbekistan')}} | {{__('lang.contact')}}</title>
@endsection
@section('content')
<section class="contact">
<div class="container">
<div class="contact__main">
<div class="row">
<div class="c... | 51.315789 | 363 | 0.401026 |
7fc73e701b59e3a484d9a7f266ce8458a7446861 | 237 | sql | SQL | Famoser.Telemetry.Api/src/Assets/sql/applications/test.sql | famoser/Telemetry | 5d35808b706bc109a56ddb8f64bdbbdabf36ff01 | [
"MIT"
] | null | null | null | Famoser.Telemetry.Api/src/Assets/sql/applications/test.sql | famoser/Telemetry | 5d35808b706bc109a56ddb8f64bdbbdabf36ff01 | [
"MIT"
] | null | null | null | Famoser.Telemetry.Api/src/Assets/sql/applications/test.sql | famoser/Telemetry | 5d35808b706bc109a56ddb8f64bdbbdabf36ff01 | [
"MIT"
] | null | null | null | INSERT INTO applications (id, guid, name, description, projectUrl) VALUES
(0, '29685dba-b863-4538-9127-2b4612034fdc', 'Test Application',
'This Application is used to test the telemetry API', 'https://github.com/famoser/Telemetry')
| 59.25 | 96 | 0.755274 |
0597ae74f246c6e783fe9f84a6702109ad2f556d | 1,627 | swift | Swift | Project 03 - FacebookMe/FacebookMe/TableKeys.swift | elppaaa/Study-Swift-30-Projects | d5b941755668e5a0b891c5bde2e00318995c90c7 | [
"Apache-2.0"
] | null | null | null | Project 03 - FacebookMe/FacebookMe/TableKeys.swift | elppaaa/Study-Swift-30-Projects | d5b941755668e5a0b891c5bde2e00318995c90c7 | [
"Apache-2.0"
] | null | null | null | Project 03 - FacebookMe/FacebookMe/TableKeys.swift | elppaaa/Study-Swift-30-Projects | d5b941755668e5a0b891c5bde2e00318995c90c7 | [
"Apache-2.0"
] | null | null | null | //
// TableKeys.swift
// FacebookMe
//
// Copyright © 2017 Yi Gu. All rights reserved.
//
import Foundation
public struct TableKeys {
init() { }
static let image = RowKey.image
static let title = RowKey.title
static let subtitle = RowKey.subTitle
static func populate2(withUser user: FBMeUser) -> [T... | 27.116667 | 82 | 0.646589 |
3d564088bd852573fa0521ea749cbbf37a1d4c08 | 13,954 | sql | SQL | db/e-healt.sql | irfanard27/e-healt | 36db53148f2d65bc60409a9f70745c38e9c77b8b | [
"BSD-3-Clause"
] | null | null | null | db/e-healt.sql | irfanard27/e-healt | 36db53148f2d65bc60409a9f70745c38e9c77b8b | [
"BSD-3-Clause"
] | null | null | null | db/e-healt.sql | irfanard27/e-healt | 36db53148f2d65bc60409a9f70745c38e9c77b8b | [
"BSD-3-Clause"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jan 04, 2018 at 04:01 PM
-- Server version: 10.1.13-MariaDB
-- PHP Version: 7.0.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLI... | 26.88632 | 269 | 0.623477 |
878183b53e239175f5efdcec10922a9977d7c62e | 5,906 | sql | SQL | sql/_27_banana_qa/issue_5765_timezone_support/_04_existing_functions/_02_type_casting_functions/_02_to_char/cases/_11_vi_VN_ts.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 9 | 2016-03-24T09:51:52.000Z | 2022-03-23T10:49:47.000Z | sql/_27_banana_qa/issue_5765_timezone_support/_04_existing_functions/_02_type_casting_functions/_02_to_char/cases/_11_vi_VN_ts.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 173 | 2016-04-13T01:16:54.000Z | 2022-03-16T07:50:58.000Z | sql/_27_banana_qa/issue_5765_timezone_support/_04_existing_functions/_02_type_casting_functions/_02_to_char/cases/_11_vi_VN_ts.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 38 | 2016-03-24T17:10:31.000Z | 2021-10-30T22:55:45.000Z | --test to_char function with TIMESTAMP(L)TZ columns, with vi_VN language
--+ holdcas on;
set system parameters 'tz_leap_second_support=yes';
set system parameters 'intl_date_lang=vi_VN';
set names utf8;
create table tz_test(id int primary key, ts timestamp, tsltz timestamp with local time zone, tstz timestamp with t... | 64.901099 | 190 | 0.673552 |
4b446b279ff75ca89e0b5f0006220913a7103f83 | 5,807 | rs | Rust | src/document/mod.rs | nanocryk/arquery | 1941394f144689e0e0f8ef840d3c0aa1d492cb9f | [
"MIT"
] | 3 | 2020-05-14T15:46:30.000Z | 2020-08-13T05:44:38.000Z | src/document/mod.rs | nanocryk/arquery | 1941394f144689e0e0f8ef840d3c0aa1d492cb9f | [
"MIT"
] | null | null | null | src/document/mod.rs | nanocryk/arquery | 1941394f144689e0e0f8ef840d3c0aa1d492cb9f | [
"MIT"
] | null | null | null | use std::{
collections::HashMap,
fs::File,
io::{BufReader, Read},
path::Path,
};
use xml::reader::{EventReader, XmlEvent};
use super::{Element, SelectError};
/// The various errors that can happen when creating a document.
#[derive(Clone, Debug)]
pub enum DocumentError {
UnableToOpenFile(String),... | 29.627551 | 87 | 0.482349 |
c3514f256074864e13d5b137a8a83e82d0d04845 | 920 | cs | C# | src/Lumina/Data/Attributes/FileExtensionAttribute.cs | attickdoor/Lumina | c6967c7294666ca187c2940fed057f9b634bfe71 | [
"WTFPL"
] | 48 | 2019-10-26T03:47:48.000Z | 2022-03-23T15:58:37.000Z | src/Lumina/Data/Attributes/FileExtensionAttribute.cs | attickdoor/Lumina | c6967c7294666ca187c2940fed057f9b634bfe71 | [
"WTFPL"
] | 15 | 2020-03-17T16:48:42.000Z | 2021-12-28T00:32:17.000Z | src/Lumina/Data/Attributes/FileExtensionAttribute.cs | attickdoor/Lumina | c6967c7294666ca187c2940fed057f9b634bfe71 | [
"WTFPL"
] | 36 | 2020-02-16T09:16:44.000Z | 2022-03-02T21:44:36.000Z | using System;
namespace Lumina.Data.Attributes
{
/// <summary>
/// Allows for a <see cref="FileResource"/> to indicate what the extension of the file it reads is
/// </summary>
[AttributeUsage( AttributeTargets.Class )]
public class FileExtensionAttribute : Attribute
{
/// <summary>
... | 36.8 | 145 | 0.625 |