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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1cd841a2624ef617bccc406bbc78759d18f15304 | 1,690 | sql | SQL | Dump/ci4app.sql | NathandeNascimento/CadastroAlunoCodeignaiter4 | 312148b5f19a6bd98004c12ed37fda8fda9e9725 | [
"MIT"
] | null | null | null | Dump/ci4app.sql | NathandeNascimento/CadastroAlunoCodeignaiter4 | 312148b5f19a6bd98004c12ed37fda8fda9e9725 | [
"MIT"
] | null | null | null | Dump/ci4app.sql | NathandeNascimento/CadastroAlunoCodeignaiter4 | 312148b5f19a6bd98004c12ed37fda8fda9e9725 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Tempo de geração: 03-Fev-2022 às 09:14
-- Versão do servidor: 10.4.22-MariaDB
-- versão do PHP: 8.0.13
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_C... | 24.492754 | 104 | 0.686391 |
258bc87e745ec2094c9d19a33d4c2ad60f4628ca | 1,612 | cs | C# | src/Trakx.Coinbase.Custody.Client/Models/AddressResponse.cs | fakecoinbase/trakxslashtrakx-tools | 69b8be79d5218bb44dcc997237da5ccfe79ec9dd | [
"MIT"
] | null | null | null | src/Trakx.Coinbase.Custody.Client/Models/AddressResponse.cs | fakecoinbase/trakxslashtrakx-tools | 69b8be79d5218bb44dcc997237da5ccfe79ec9dd | [
"MIT"
] | null | null | null | src/Trakx.Coinbase.Custody.Client/Models/AddressResponse.cs | fakecoinbase/trakxslashtrakx-tools | 69b8be79d5218bb44dcc997237da5ccfe79ec9dd | [
"MIT"
] | null | null | null | using System;
using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace Trakx.Coinbase.Custody.Client.Models
{
public class AddressResponse
{
#nullable disable
[JsonPropertyName("address")]
public string Address { get; set; }
/// <summary>
/// Stat... | 28.280702 | 80 | 0.597395 |
8ba4a511637d2448ba6440eb90f5ea3ddaa4a467 | 734 | rb | Ruby | app/controllers/explore/posts_controller.rb | hahaluckyme/e621ng | 7c667897ce3a9bfecea073222aa02000e5f9b933 | [
"BSD-2-Clause-FreeBSD"
] | 115 | 2019-02-02T23:07:11.000Z | 2022-03-17T21:18:51.000Z | app/controllers/explore/posts_controller.rb | hahaluckyme/e621ng | 7c667897ce3a9bfecea073222aa02000e5f9b933 | [
"BSD-2-Clause-FreeBSD"
] | 232 | 2019-02-06T00:38:49.000Z | 2022-03-28T13:44:26.000Z | app/controllers/explore/posts_controller.rb | hahaluckyme/e621ng | 7c667897ce3a9bfecea073222aa02000e5f9b933 | [
"BSD-2-Clause-FreeBSD"
] | 49 | 2019-02-16T22:39:09.000Z | 2022-03-25T04:44:31.000Z | module Explore
class PostsController < ApplicationController
respond_to :html, :json
before_action :set_date, only: [:searches]
def popular
@post_set = PostSets::Popular.new(params[:date], params[:scale])
@posts = @post_set.posts
respond_with(@posts)
end
def searches
@sea... | 20.388889 | 70 | 0.649864 |
ea3e7ed5f87147247776cc081a8c9e163ddaa739 | 616 | swift | Swift | Sources/HTTP/Responder/Responder.swift | dequelabs/HTTP | d663a6aa06a8cba890e40b5dbd147fa6c5eabfba | [
"MIT"
] | 38 | 2015-11-28T11:30:17.000Z | 2016-10-26T06:32:10.000Z | Sources/HTTP/Responder/Responder.swift | dequelabs/HTTP | d663a6aa06a8cba890e40b5dbd147fa6c5eabfba | [
"MIT"
] | 9 | 2015-12-23T01:31:42.000Z | 2016-10-20T19:10:37.000Z | Sources/HTTP/Responder/Responder.swift | Zewo/HTTP | d663a6aa06a8cba890e40b5dbd147fa6c5eabfba | [
"MIT"
] | 27 | 2015-12-02T19:24:39.000Z | 2017-04-21T17:26:06.000Z | public protocol Responder : ResponderRepresentable {
func respond(to request: Request) throws -> Response
}
extension Responder {
public var responder: Responder {
return self
}
}
public protocol ResponderRepresentable {
var responder: Responder { get }
}
public typealias Respond = (_ to: Req... | 22 | 65 | 0.688312 |
259054b42751383304bb607ecc3690be6cda40f2 | 6,319 | swift | Swift | Connect/NetworkClient/ConnectApiClient.swift | higish/connect-ios-sdk | cf95607b3ae9ae0177378e50e67a8fdf88812203 | [
"Apache-2.0"
] | null | null | null | Connect/NetworkClient/ConnectApiClient.swift | higish/connect-ios-sdk | cf95607b3ae9ae0177378e50e67a8fdf88812203 | [
"Apache-2.0"
] | null | null | null | Connect/NetworkClient/ConnectApiClient.swift | higish/connect-ios-sdk | cf95607b3ae9ae0177378e50e67a8fdf88812203 | [
"Apache-2.0"
] | 1 | 2021-06-08T15:54:24.000Z | 2021-06-08T15:54:24.000Z | /*
* Copyright (c) 2018 Zendesk. All rights reserved.
*
* By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master
* Subscription Agreement https://www.zendesk.com/company/customers-partners/master-subscription-agreement and Application Developer and API License
* Agreement https://www.z... | 39.006173 | 149 | 0.589967 |
e21d75679132d74b39bcae22491423a3a35bb4b5 | 1,937 | py | Python | ngs_tools/chemistry/__init__.py | Lioscro/ngsutils | 8896e26213704de4e20bb27443f53bc655fd2bc2 | [
"MIT"
] | 1 | 2021-12-16T14:07:34.000Z | 2021-12-16T14:07:34.000Z | ngs_tools/chemistry/__init__.py | Lioscro/ngsutils | 8896e26213704de4e20bb27443f53bc655fd2bc2 | [
"MIT"
] | 10 | 2021-05-27T01:39:35.000Z | 2022-03-28T13:20:50.000Z | ngs_tools/chemistry/__init__.py | Lioscro/ngsutils | 8896e26213704de4e20bb27443f53bc655fd2bc2 | [
"MIT"
] | null | null | null | import re
from .Chemistry import (
SubSequenceDefinition,
SubSequenceDefinitionError,
SubSequenceParser,
SubSequenceParserError,
Chemistry,
ChemistryError,
)
from .SingleCellChemistry import (
SingleCellChemistry,
SingleCellChemistryError,
SINGLE_CELL_CHEMISTRIES,
)
from .SpatialChe... | 25.486842 | 82 | 0.674239 |
74a44945dda2dd5256720bf1d019621a10af10a5 | 3,249 | css | CSS | src/assets/style/iconfont.css | gaoyakang/blog | 43d9860a281f3ef3177eb9eda611f6a6439f69d2 | [
"MIT"
] | null | null | null | src/assets/style/iconfont.css | gaoyakang/blog | 43d9860a281f3ef3177eb9eda611f6a6439f69d2 | [
"MIT"
] | 5 | 2021-03-09T14:22:12.000Z | 2022-02-26T16:15:47.000Z | src/assets/style/iconfont.css | gaoyakang/blog | 43d9860a281f3ef3177eb9eda611f6a6439f69d2 | [
"MIT"
] | null | null | null | @font-face {font-family: "iconfont";
src: url('../iconfont/iconfont.eot?t=1565772508803'); /* IE9 */
src: url('../iconfont/iconfont.eot?t=1565772508803#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAZIAAsAAAAADJgAAAX6AAEAAAAAAAAAAAAAAAAAAAA... | 64.98 | 2,221 | 0.864266 |
46cc8b9783d0035dde25620fe1b0d132709e4bd9 | 1,617 | py | Python | galho/main.py | joaopalmeiro/galho | ad68d760ccb8200ec547a151408a53c4a30435c6 | [
"MIT"
] | null | null | null | galho/main.py | joaopalmeiro/galho | ad68d760ccb8200ec547a151408a53c4a30435c6 | [
"MIT"
] | 1 | 2020-09-05T17:17:09.000Z | 2020-09-05T17:17:09.000Z | galho/main.py | joaopalmeiro/galho | ad68d760ccb8200ec547a151408a53c4a30435c6 | [
"MIT"
] | null | null | null | # main.py
from pathlib import Path
from .utils import clean_terminal
SPACE = " " * 4
ONE_PART = "│ "
TWO_PARTS = "└── "
THREE_PARTS = "├── "
def tree_generator(root, pre_indentation_line):
"""
Based on: https://stackoverflow.com/questions/9727673/list-directory-tree-structure-in-python
"""
file_a... | 28.368421 | 97 | 0.670996 |
dd82a07e89da9b0f12b31c133bb4f4c1f90290f4 | 11,163 | java | Java | src/org/opensha/gem/GEM1/calc/gemModelParsers/gscFrisk/canada/GscFriskSourceData02.java | opensha/opensha-svn-archive | 77203dab6745320a5130fda85978ebe1a4e097c8 | [
"Apache-2.0"
] | null | null | null | src/org/opensha/gem/GEM1/calc/gemModelParsers/gscFrisk/canada/GscFriskSourceData02.java | opensha/opensha-svn-archive | 77203dab6745320a5130fda85978ebe1a4e097c8 | [
"Apache-2.0"
] | null | null | null | src/org/opensha/gem/GEM1/calc/gemModelParsers/gscFrisk/canada/GscFriskSourceData02.java | opensha/opensha-svn-archive | 77203dab6745320a5130fda85978ebe1a4e097c8 | [
"Apache-2.0"
] | null | null | null | package org.opensha.gem.GEM1.calc.gemModelParsers.gscFrisk.canada;
import java.io.BufferedReader;
import java.util.ArrayList;
import org.opensha.sha.earthquake.rupForecastImpl.GEM1.SourceData.GEMAreaSourceData;
import org.opensha.commons.data.function.ArbitrarilyDiscretizedFunc;
import org.opensha.commons.geo.Region;... | 35.664537 | 107 | 0.595539 |
9fec2a5997ad717ca0080f1dbd00ec25ea248e76 | 7,307 | py | Python | descarteslabs/common/proto/visualization/visualization_pb2.py | descarteslabs/descarteslabs-python | efc874d6062603dc424c9646287a9b1f8636e7ac | [
"Apache-2.0"
] | 167 | 2017-03-23T22:16:58.000Z | 2022-03-08T09:19:30.000Z | descarteslabs/common/proto/visualization/visualization_pb2.py | descarteslabs/descarteslabs-python | efc874d6062603dc424c9646287a9b1f8636e7ac | [
"Apache-2.0"
] | 93 | 2017-03-23T22:11:40.000Z | 2021-12-13T18:38:53.000Z | descarteslabs/common/proto/visualization/visualization_pb2.py | descarteslabs/descarteslabs-python | efc874d6062603dc424c9646287a9b1f8636e7ac | [
"Apache-2.0"
] | 46 | 2017-03-25T19:12:14.000Z | 2021-08-15T18:04:29.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: descarteslabs/common/proto/visualization/visualization.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf impor... | 45.385093 | 684 | 0.76023 |
ef09c9c4df748fbd4bcb110543f8a1bc877ada42 | 6,003 | c | C | SampleCode/StdDriver/USBD_MassStorage_SDCard/main.c | OpenNuvoton/NUC1262BSP | ccaf69bcfadad314a3c9b78147c6dbfeedef4b3f | [
"Apache-2.0"
] | null | null | null | SampleCode/StdDriver/USBD_MassStorage_SDCard/main.c | OpenNuvoton/NUC1262BSP | ccaf69bcfadad314a3c9b78147c6dbfeedef4b3f | [
"Apache-2.0"
] | null | null | null | SampleCode/StdDriver/USBD_MassStorage_SDCard/main.c | OpenNuvoton/NUC1262BSP | ccaf69bcfadad314a3c9b78147c6dbfeedef4b3f | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
* @file main.c
* @version V3.00
* @brief
* Use SD card as storage to implement a USB mass storage device.
* @note
* @copyright SPDX-License-Identifier: Apache-2.0
* @copyright Copyright (C) 2021 Nuvoton Technology Corp... | 35.105263 | 117 | 0.523238 |
a016503ed30e5ba1999c9a0e16fdb221a6993803 | 1,543 | rs | Rust | guessing_game/src/main.rs | qgervacio/rust-learn | de7515ddd2679bf76a6e4c643cf7145329e8220c | [
"MIT"
] | null | null | null | guessing_game/src/main.rs | qgervacio/rust-learn | de7515ddd2679bf76a6e4c643cf7145329e8220c | [
"MIT"
] | null | null | null | guessing_game/src/main.rs | qgervacio/rust-learn | de7515ddd2679bf76a6e4c643cf7145329e8220c | [
"MIT"
] | null | null | null | use std::io;
use rand::Rng;
use std::cmp::Ordering;
fn main() {
println!("----------------");
println!("Guess the number");
println!("----------------\n");
// able to infer that secret_number is a type of integer
let secret_number = rand::thread_rng().gen_range(1, 6);
loop {
print... | 31.489796 | 76 | 0.515878 |
af20abd1f16cef13ab282cc8b087377465786388 | 4,780 | py | Python | armor.py | brodyhill9/dnd-ascension-api | dd1a31f52fe4fa696a792b21442d498d9b5aad1e | [
"MIT"
] | null | null | null | armor.py | brodyhill9/dnd-ascension-api | dd1a31f52fe4fa696a792b21442d498d9b5aad1e | [
"MIT"
] | null | null | null | armor.py | brodyhill9/dnd-ascension-api | dd1a31f52fe4fa696a792b21442d498d9b5aad1e | [
"MIT"
] | null | null | null | import mysql_connector
import json
def handler(event, context):
q = """
select
armor_id,
armor_name,
armor_desc,
armor_type,
cost,
armor_class,
strength,
IF(stealth_dis, 'true', 'false') stealth_dis,
... | 34.890511 | 84 | 0.380126 |
a442568abba6408c5aad26a4438899e4baa0230f | 3,293 | php | PHP | resources/views/client/layouts/footer.blade.php | vanhieu20/doancuoicap | a56ab641276293762996e1ab70f81f37a65363a6 | [
"MIT"
] | null | null | null | resources/views/client/layouts/footer.blade.php | vanhieu20/doancuoicap | a56ab641276293762996e1ab70f81f37a65363a6 | [
"MIT"
] | null | null | null | resources/views/client/layouts/footer.blade.php | vanhieu20/doancuoicap | a56ab641276293762996e1ab70f81f37a65363a6 | [
"MIT"
] | null | null | null | <footer class="footer-section">
<div class="container">
<div class="partner-logo owl-carousel">
<a href="#" class="pl-table">
<div class="pl-tablecell">
<img src="{{ asset('themes/clients/img/partner-logo/logo-1.png') }}" alt="">
... | 53.983607 | 249 | 0.387792 |
e2a2928092d3720ae862fb2a05e898206e178ec6 | 1,584 | py | Python | setup.py | UCBerkeleySETI/blipss | dba5c6724701abcc95b59aa016adf2582ecc69f3 | [
"MIT"
] | null | null | null | setup.py | UCBerkeleySETI/blipss | dba5c6724701abcc95b59aa016adf2582ecc69f3 | [
"MIT"
] | null | null | null | setup.py | UCBerkeleySETI/blipss | dba5c6724701abcc95b59aa016adf2582ecc69f3 | [
"MIT"
] | null | null | null | """
setup.py -- setup script for installation and use of packages
"""
import os
from setuptools import setup, find_packages, Command
from setuptools.command import install
__version__ = '0.1.0'
class CleanCommand(Command):
"""Custom clean command to tidy up the project root."""
user_options = []
def initi... | 28.8 | 84 | 0.616793 |
c97730bbb2fb02c043b97cddcb073001bc9b89d2 | 439 | ts | TypeScript | packages/line/src/components/popover/popover-interface.ts | zeng450026937/skyline | 780e26197d8a6cc5cc410cdc7e1bdd8fbeecb0e6 | [
"MIT"
] | null | null | null | packages/line/src/components/popover/popover-interface.ts | zeng450026937/skyline | 780e26197d8a6cc5cc410cdc7e1bdd8fbeecb0e6 | [
"MIT"
] | 8 | 2020-04-06T13:53:42.000Z | 2021-06-16T09:32:45.000Z | packages/line/src/components/popover/popover-interface.ts | zeng450026937/line-ui | 780e26197d8a6cc5cc410cdc7e1bdd8fbeecb0e6 | [
"MIT"
] | null | null | null | import { Mode } from '@line-ui/line/src/types';
import { AnimationBuilder } from '@line-ui/line/src/utils/animation';
export interface PopoverOptions {
showBackdrop?: boolean;
backdropDismiss?: boolean;
translucent?: boolean;
cssClass?: string | string[];
event?: Event;
animated?: boolean;
mode?: Mode;
... | 23.105263 | 69 | 0.715262 |
a9e5ae083542d2c9615509d06f8f9cc53c25c9ae | 35,856 | php | PHP | wp-content/plugins/give/includes/admin/forms/class-metabox-form-data.php | 5ctechforgood/projectcaring | e902e4924d0673648528da0c53e7417bf83f6b3f | [
"MIT"
] | null | null | null | wp-content/plugins/give/includes/admin/forms/class-metabox-form-data.php | 5ctechforgood/projectcaring | e902e4924d0673648528da0c53e7417bf83f6b3f | [
"MIT"
] | null | null | null | wp-content/plugins/give/includes/admin/forms/class-metabox-form-data.php | 5ctechforgood/projectcaring | e902e4924d0673648528da0c53e7417bf83f6b3f | [
"MIT"
] | null | null | null | <?php
/**
* Donation Form Data
*
* Displays the form data box, tabbed, with several panels.
*
* @package Give
* @subpackage Classes/Give_MetaBox_Form_Data
* @copyright Copyright (c) 2016, WordImpress
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 1.8
*/
/**... | 30.080537 | 306 | 0.536423 |
b08d228841050c6dbf17dec8426a650d2bf8cba3 | 3,999 | py | Python | utils.py | sisl/terminal-airspace-models | 212d7daeac8606e16b3eb3a1593a71845bbcc749 | [
"MIT"
] | 12 | 2018-05-14T05:39:48.000Z | 2022-01-21T09:45:33.000Z | utils.py | sisl/terminal-airspace-models | 212d7daeac8606e16b3eb3a1593a71845bbcc749 | [
"MIT"
] | null | null | null | utils.py | sisl/terminal-airspace-models | 212d7daeac8606e16b3eb3a1593a71845bbcc749 | [
"MIT"
] | 3 | 2018-06-30T06:17:54.000Z | 2020-03-11T10:57:11.000Z | """
utils.py
Author: Shane Barratt
This script provides coordinate transformations from Geodetic -> ECEF, ECEF -> ENU
and Geodetic -> ENU (the composition of the two previous functions). Running the script
by itself runs tests.
based on https://gist.github.com/govert/1b373696c9a27ff4c72a.
It also provides some other u... | 28.564286 | 90 | 0.606152 |
146da4a84dc0441d1f058226fabf14449b546ea9 | 1,089 | ts | TypeScript | example/app/src/reducers/todo.ts | 4074/redux-use | 5e1df39d478641df861dc9f1a53141b2a97688bc | [
"MIT"
] | 6 | 2021-05-01T04:46:41.000Z | 2022-03-24T04:00:34.000Z | example/app/src/reducers/todo.ts | 4074/redux-use | 5e1df39d478641df861dc9f1a53141b2a97688bc | [
"MIT"
] | null | null | null | example/app/src/reducers/todo.ts | 4074/redux-use | 5e1df39d478641df861dc9f1a53141b2a97688bc | [
"MIT"
] | null | null | null | import reduxu, { PayloadAction } from 'redux-use'
import createRequest from './createRequest'
const add = reduxu.async(createRequest<any, any>('todos', 'POST'))
export const useTodoAdd = add.hook
export const updateFetcher = createRequest<any, any>('todos', 'PATCH')
const update = reduxu.async(updateFetcher)
export c... | 28.657895 | 74 | 0.656566 |
e344be8a8fb0352c01664b7c665103da7ca23fe7 | 1,404 | rb | Ruby | test/requests/compute/test_redeploy_virtual_machine.rb | marcosteixeira/fog-azure-rm | 3f037f0d69ec8a70a65aed376f4ec6acabe1eeec | [
"MIT"
] | null | null | null | test/requests/compute/test_redeploy_virtual_machine.rb | marcosteixeira/fog-azure-rm | 3f037f0d69ec8a70a65aed376f4ec6acabe1eeec | [
"MIT"
] | null | null | null | test/requests/compute/test_redeploy_virtual_machine.rb | marcosteixeira/fog-azure-rm | 3f037f0d69ec8a70a65aed376f4ec6acabe1eeec | [
"MIT"
] | null | null | null | require File.expand_path '../../test_helper', __dir__
# Test class for Redeploy Virtual Machine Request
class TestRedeployVirtualMachine < Minitest::Test
def setup
@service = Fog::AzureRM::Compute.new(credentials)
compute_client = @service.instance_variable_get(:@compute_mgmt_client)
@virtual_machines = ... | 41.294118 | 132 | 0.748575 |
1f48f37f852529e19b3cd8dc50d920bb61ca2ed1 | 1,073 | cs | C# | Alpaca.Markets/Messages/JsonClock.cs | Dav-id/alpaca-trade-api-csharp | fc31b3605ca5ee4e6920bc9522affb2d83f5d0ad | [
"Apache-2.0"
] | 179 | 2018-08-15T00:41:55.000Z | 2022-03-24T10:30:23.000Z | Alpaca.Markets/Messages/JsonClock.cs | Dav-id/alpaca-trade-api-csharp | fc31b3605ca5ee4e6920bc9522affb2d83f5d0ad | [
"Apache-2.0"
] | 388 | 2018-07-17T12:46:56.000Z | 2022-03-30T16:29:09.000Z | Alpaca.Markets/Messages/JsonClock.cs | Dav-id/alpaca-trade-api-csharp | fc31b3605ca5ee4e6920bc9522affb2d83f5d0ad | [
"Apache-2.0"
] | 72 | 2018-11-01T22:29:30.000Z | 2022-03-29T03:17:33.000Z | using System;
using System.Diagnostics.CodeAnalysis;
using Newtonsoft.Json;
namespace Alpaca.Markets
{
[SuppressMessage(
"Microsoft.Performance", "CA1812:Avoid uninstantiated internal classes",
Justification = "Object instances of this class will be created by Newtonsoft.JSON library.")]
inter... | 38.321429 | 102 | 0.701771 |
5eef2072cb18c61bb006569da68e5ba9b918075c | 805 | php | PHP | action/login.php | JoseLuisIc/VerificacionVehiculos | bb0e39e5c213c17c000185f46fc3f11979f6c760 | [
"MIT"
] | null | null | null | action/login.php | JoseLuisIc/VerificacionVehiculos | bb0e39e5c213c17c000185f46fc3f11979f6c760 | [
"MIT"
] | null | null | null | action/login.php | JoseLuisIc/VerificacionVehiculos | bb0e39e5c213c17c000185f46fc3f11979f6c760 | [
"MIT"
] | null | null | null | <?php
session_start();
if (isset($_POST['token']) && $_POST['token']!=='') {
//Contiene las variables de configuracion para conectar a la base de datos
include "../config/config.php";
$email=mysqli_real_escape_string($con,(strip_tags($_POST["email"],ENT_QUOTES)));
$password=sha1(md5(mysqli_real_escape_strin... | 27.758621 | 130 | 0.643478 |
da1ddfb96a0ec556bd487d698c9a07e747eca8f7 | 2,229 | php | PHP | src/Metadata/Driver/AnnotationDriver.php | eikona-media/open-graph | 113f6f5ccd8db0492da17c99d3df158f63fad9b3 | [
"MIT"
] | null | null | null | src/Metadata/Driver/AnnotationDriver.php | eikona-media/open-graph | 113f6f5ccd8db0492da17c99d3df158f63fad9b3 | [
"MIT"
] | null | null | null | src/Metadata/Driver/AnnotationDriver.php | eikona-media/open-graph | 113f6f5ccd8db0492da17c99d3df158f63fad9b3 | [
"MIT"
] | null | null | null | <?php
namespace Novaway\Component\OpenGraph\Metadata\Driver;
use Doctrine\Common\Annotations\Reader;
use Metadata\Driver\DriverInterface;
use Novaway\Component\OpenGraph\Annotation\GraphNode;
use Novaway\Component\OpenGraph\Annotation\NamespaceNode;
use Novaway\Component\OpenGraph\Metadata\ClassMetadata;
use Novaway\... | 31.842857 | 119 | 0.638403 |
dd30dac90072a2279586525f004b00a091ea40c4 | 287 | swift | Swift | LeetCode/PlusOne/PlusOneTest.swift | z251257144/Leetcode_Swift | 2823b81fb15fceb52099399bdaf9585b6127df2e | [
"Apache-2.0"
] | null | null | null | LeetCode/PlusOne/PlusOneTest.swift | z251257144/Leetcode_Swift | 2823b81fb15fceb52099399bdaf9585b6127df2e | [
"Apache-2.0"
] | null | null | null | LeetCode/PlusOne/PlusOneTest.swift | z251257144/Leetcode_Swift | 2823b81fb15fceb52099399bdaf9585b6127df2e | [
"Apache-2.0"
] | null | null | null | //
// PlusOneTest.swift
// LeetCode
//
// Created by zhoumin on 2019/11/22.
// Copyright © 2019 ZhouMin. All rights reserved.
//
import Cocoa
class PlusOneTest: NSObject {
override init() {
let arr = [9]
let a = PlusOne2().plusOne(arr)
print(a)
}
}
| 15.944444 | 50 | 0.58885 |
7f48ae1d883348c5de00ada7e1e05e9c008a6e98 | 2,671 | php | PHP | resources/views/admin/pages/blog/index.blade.php | andv95/web-shopping | 085918b5fa5f53ee0653053a71e406e638fc4c52 | [
"MIT"
] | null | null | null | resources/views/admin/pages/blog/index.blade.php | andv95/web-shopping | 085918b5fa5f53ee0653053a71e406e638fc4c52 | [
"MIT"
] | null | null | null | resources/views/admin/pages/blog/index.blade.php | andv95/web-shopping | 085918b5fa5f53ee0653053a71e406e638fc4c52 | [
"MIT"
] | 1 | 2021-04-02T09:42:17.000Z | 2021-04-02T09:42:17.000Z | @extends('admin.layouts.full_content')
@section('content')
<div class="card">
<div class="card-header">
<h3 class="card-title">Danh sách thuộc tính</h3>
{{--<input type="text" id="search_name">--}}
<a href="{{ @$routeAdd }}" class="btn btn-success float-right">Thêm mới</a... | 40.469697 | 104 | 0.366529 |
6b19cf8f845a3523308e5dcf44ee967374f85273 | 1,334 | js | JavaScript | resources/js/network/request.js | CleanFeather/paubo | bcfe3fdc177d008f88fc13bc52fcf1afe22c2da4 | [
"MIT"
] | null | null | null | resources/js/network/request.js | CleanFeather/paubo | bcfe3fdc177d008f88fc13bc52fcf1afe22c2da4 | [
"MIT"
] | null | null | null | resources/js/network/request.js | CleanFeather/paubo | bcfe3fdc177d008f88fc13bc52fcf1afe22c2da4 | [
"MIT"
] | null | null | null | import axios from 'axios';
export const request = config => {
let instance = axios.create({
baseURL: '/api',
timeout: 5000,
headers: {
'Authorization': localStorage.getItem('access_token')
}
})
instance.interceptors.response.use(response => {
if ('authori... | 33.35 | 87 | 0.509745 |
ef625e3ba92c59f8fba497d163091e0739abe852 | 3,529 | js | JavaScript | mobile/App/Components/Welcome.js | DimitriMikadze/react-native-game | e6dc55aaf02e30bd04bd1e7da826ed3d96e996ee | [
"MIT"
] | 115 | 2015-12-15T20:28:17.000Z | 2018-02-28T12:54:16.000Z | mobile/App/Components/Welcome.js | DimitriMikadze/react-native-game | e6dc55aaf02e30bd04bd1e7da826ed3d96e996ee | [
"MIT"
] | null | null | null | mobile/App/Components/Welcome.js | DimitriMikadze/react-native-game | e6dc55aaf02e30bd04bd1e7da826ed3d96e996ee | [
"MIT"
] | 34 | 2015-12-16T15:06:15.000Z | 2018-02-28T12:54:18.000Z | var React = require('react-native');
var Choose = require('./Choose');
var {
StyleSheet,
Text,
View,
TouchableHighlight,
TextInput,
ActivityIndicatorIOS
} = React;
class Welcome extends React.Component {
constructor(props) {
super(props);
this.state = {
player:... | 24.506944 | 142 | 0.465004 |
864bb3805502571adc06988234ece13133d8c44a | 98 | sql | SQL | 5.2.3/Database/Indexes/AFW_17_SMS_TWILI_FK1.sql | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | 1 | 2017-07-06T14:53:28.000Z | 2017-07-06T14:53:28.000Z | 5.2.3/Database/Indexes/AFW_17_SMS_TWILI_FK1.sql | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | null | null | null | 5.2.3/Database/Indexes/AFW_17_SMS_TWILI_FK1.sql | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | null | null | null | SET DEFINE OFF;
CREATE INDEX AFW_17_SMS_TWILI_FK1 ON AFW_17_SMS_TWILI
(REF_COMPT_TWILI)
LOGGING
/
| 16.333333 | 53 | 0.846939 |
ed0c3c03fbb67cff0ee1388b756b66c43544abc8 | 2,403 | c | C | watch/src/Puddle.c | jonspeicher/Puddle | 10713f7afd24dd68501fe357eb749d79e14e31d9 | [
"MIT"
] | null | null | null | watch/src/Puddle.c | jonspeicher/Puddle | 10713f7afd24dd68501fe357eb749d79e14e31d9 | [
"MIT"
] | null | null | null | watch/src/Puddle.c | jonspeicher/Puddle | 10713f7afd24dd68501fe357eb749d79e14e31d9 | [
"MIT"
] | null | null | null | // TBD: Screen is 144 px wide x 168 px tall, status bar is 16 px tall
#include <pebble_os.h>
#include <pebble_app.h>
#include <pebble_fonts.h>
#include "forecast.h"
#include "forecast_bridge.h"
PBL_APP_INFO(FORECAST_BRIDGE_APP_UUID,
"Puddle", "Jon Speicher",
0, 1, /* App version */
... | 30.0375 | 89 | 0.737828 |
bb133494f1b834f650a27d1f7826ab1e6a6040cb | 4,439 | cs | C# | System.Windows.Controls.WPFPropertyGrid/WPFPropertyGrid.cs | ferventdesert/WPFPropertyGrid | ebf2be56ff311ea54d49c041df775233d25c7164 | [
"Apache-2.0"
] | 5 | 2019-01-28T09:57:00.000Z | 2022-03-29T03:31:40.000Z | System.Windows.Controls.WPFPropertyGrid/WPFPropertyGrid.cs | ferventdesert/WPFPropertyGrid | ebf2be56ff311ea54d49c041df775233d25c7164 | [
"Apache-2.0"
] | null | null | null | System.Windows.Controls.WPFPropertyGrid/WPFPropertyGrid.cs | ferventdesert/WPFPropertyGrid | ebf2be56ff311ea54d49c041df775233d25c7164 | [
"Apache-2.0"
] | 5 | 2018-04-24T13:14:57.000Z | 2021-11-13T13:35:55.000Z | using System.Windows.Controls.WpfPropertyGrid.Design;
using System.Windows.Media;
namespace System.Windows.Controls.WpfPropertyGrid
{
/// <summary>
/// 属性工厂
/// </summary>
public class PropertyGridFactory
{
private static ResourceDictionary dictionary;
/// <summary>
//... | 31.041958 | 106 | 0.543366 |
4593a3ffcee1627c3cdcaa7160acb77dddadb4ac | 2,158 | py | Python | leetcode/1220.py | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | leetcode/1220.py | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | leetcode/1220.py | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | """
File: 1220.py
Title: Count Vowels Permutation
Difficulty: Hard
URL: https://leetcode.com/problems/count-vowels-permutation/
"""
import unittest
from collections import defaultdict
class Solution:
MOD = 10**9 + 7
def __init__(self):
self.cache = defaultdict(dict)
def count... | 24.247191 | 67 | 0.507414 |
c692d18861e644fb677d567ff36aadbc1246048e | 424 | py | Python | 2020-05-17-python-pytest/examples/test_code.py | Cheukting/python02hero | da6f0f0c1455237b47923a9a1ac6f10562034f9f | [
"MIT"
] | 12 | 2020-05-12T06:56:00.000Z | 2021-07-06T11:43:46.000Z | 2020-05-17-python-pytest/examples/test_code.py | Cheukting/python02hero | da6f0f0c1455237b47923a9a1ac6f10562034f9f | [
"MIT"
] | 1 | 2021-01-30T16:48:42.000Z | 2021-04-03T00:40:12.000Z | 2020-05-17-python-pytest/examples/test_code.py | Cheukting/python02hero | da6f0f0c1455237b47923a9a1ac6f10562034f9f | [
"MIT"
] | 3 | 2020-04-27T07:02:19.000Z | 2021-07-06T11:43:48.000Z | import pytest
from .code import *
class TestPub:
def test_serve_beer_legal(self):
adult = 25
assert serve_beer(adult) == "Have beer"
def test_serve_beer_illegal(self):
child = 10
assert serve_beer(child) == "No beer"
def test_serve_beer_no_age(self):
with ... | 23.555556 | 65 | 0.610849 |
4b7415838596cae7fdb9101e92160b495319b9b4 | 570 | cpp | C++ | 13-stencil-buffered/project/src/stencil.cpp | walkieq/fccm2021-tutorial | f0eb2976a657f5a7c5a54be0ebb5d19b79fe93ee | [
"Apache-2.0"
] | 2 | 2021-05-07T22:12:42.000Z | 2021-05-09T04:36:28.000Z | 13-stencil-buffered/project/src/stencil.cpp | yluo39github/fccm2021-tutorial | af341027d6302deead2a6666254c60d3a46dc6d2 | [
"Apache-2.0"
] | null | null | null | 13-stencil-buffered/project/src/stencil.cpp | yluo39github/fccm2021-tutorial | af341027d6302deead2a6666254c60d3a46dc6d2 | [
"Apache-2.0"
] | 2 | 2021-05-09T14:42:51.000Z | 2021-12-05T22:32:10.000Z | #define DATA_SIZE 1024
#define STENCIL_SIZE 16
extern "C" {
void stencil(int *in1, int *out) {
int buffer[STENCIL_SIZE];
for(unsigned int i = 0; i < (STENCIL_SIZE - 1); i++)
buffer[i + 1] = in1[i];
for(unsigned int i = 0; i < DATA_SIZE; i++) {
for(unsigned int j = 0; j < (STENCIL_SIZE - ... | 22.8 | 61 | 0.519298 |
970d2233cadbdbb49c2c6e8d54be64f5c1e4407a | 741 | dart | Dart | lib/models/movie_video_response.dart | Edsan7/movies-app-flutter | 1b92014d59e717dfc46e1da36fbd1df23ab66c67 | [
"MIT"
] | 1 | 2021-07-13T18:32:04.000Z | 2021-07-13T18:32:04.000Z | lib/models/movie_video_response.dart | Edsan7/movies-app-flutter | 1b92014d59e717dfc46e1da36fbd1df23ab66c67 | [
"MIT"
] | null | null | null | lib/models/movie_video_response.dart | Edsan7/movies-app-flutter | 1b92014d59e717dfc46e1da36fbd1df23ab66c67 | [
"MIT"
] | null | null | null | import 'dart:convert';
import 'movie_video_model.dart';
class MovieVideoResponse {
MovieVideoResponse({
this.id,
this.movieVideos,
});
final int id;
final List<MovieVideoModel> movieVideos;
factory MovieVideoResponse.fromJson(String str) => MovieVideoResponse.fromMap(json.decode(... | 24.7 | 104 | 0.642375 |
267234b8075b8dbbf707d9147e9098b4bcaf7da6 | 2,776 | dart | Dart | lib/screens/member/detailsmember.dart | JefryMiftakhul/admin-panel-perpus | 061e5a394041f6377335ed00d4800f00eebb7c6f | [
"MIT"
] | null | null | null | lib/screens/member/detailsmember.dart | JefryMiftakhul/admin-panel-perpus | 061e5a394041f6377335ed00d4800f00eebb7c6f | [
"MIT"
] | null | null | null | lib/screens/member/detailsmember.dart | JefryMiftakhul/admin-panel-perpus | 061e5a394041f6377335ed00d4800f00eebb7c6f | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import '/networkapi.dart';
import '/models/Member.dart';
import './editmember.dart';
class Detailsmember extends StatefulWidget {
final Member member;
Detailsmember({this.member});
@override
_DetailsmemberState createState() =>... | 26.692308 | 81 | 0.530259 |
c6db42c6c3df830350c47907f3379aa11436da4b | 123 | py | Python | core/slack/util/__init__.py | ryanolee/pager-duty-sync | 1fd88634e461b5db647d856bc6b59f990944685e | [
"MIT"
] | null | null | null | core/slack/util/__init__.py | ryanolee/pager-duty-sync | 1fd88634e461b5db647d856bc6b59f990944685e | [
"MIT"
] | 2 | 2020-09-27T18:19:17.000Z | 2021-06-29T09:21:04.000Z | core/slack/util/__init__.py | ryanolee/pager-duty-sync | 1fd88634e461b5db647d856bc6b59f990944685e | [
"MIT"
] | null | null | null | from .text_utils import get_all_users_from_blocks, get_date_range_from_string
from .user_utils import get_all_user_profiles | 61.5 | 77 | 0.910569 |
46ba5ea6591710db9adbee61624bad374c2a3527 | 3,225 | dart | Dart | test/streams/from_callable_test.dart | tlb-miyagiyuki/rxdart | ce05687703ae269ac65108fc1196145c20c705c3 | [
"Apache-2.0"
] | 3,159 | 2017-02-07T20:00:14.000Z | 2022-03-31T14:26:38.000Z | test/streams/from_callable_test.dart | tlb-miyagiyuki/rxdart | ce05687703ae269ac65108fc1196145c20c705c3 | [
"Apache-2.0"
] | 576 | 2017-02-07T19:02:13.000Z | 2022-03-01T16:48:34.000Z | test/streams/from_callable_test.dart | tlb-miyagiyuki/rxdart | ce05687703ae269ac65108fc1196145c20c705c3 | [
"Apache-2.0"
] | 293 | 2017-02-07T23:50:02.000Z | 2022-03-29T00:16:27.000Z | import 'package:rxdart/rxdart.dart';
import 'package:test/test.dart';
void main() {
test('Rx.fromCallable.sync', () {
var called = false;
var stream = Rx.fromCallable(() {
called = true;
return 2;
});
expect(called, false);
expectLater(stream, emitsInOrder(<dynamic>[2, emitsDone]));... | 24.618321 | 79 | 0.584496 |
b601da2fd91c8acb5f80fcb4b07d73ddd8a83356 | 487 | rb | Ruby | peerstreet-client/lib/peerstreet/client.rb | beppu/peerstreet-server | af5c4b7213fba90d464fc9e3c0f4773b5274d0ac | [
"MIT"
] | 1 | 2018-12-26T11:44:38.000Z | 2018-12-26T11:44:38.000Z | peerstreet-client/lib/peerstreet/client.rb | beppu/peerstreet-server | af5c4b7213fba90d464fc9e3c0f4773b5274d0ac | [
"MIT"
] | null | null | null | peerstreet-client/lib/peerstreet/client.rb | beppu/peerstreet-server | af5c4b7213fba90d464fc9e3c0f4773b5274d0ac | [
"MIT"
] | 1 | 2020-03-04T04:58:02.000Z | 2020-03-04T04:58:02.000Z | require 'httparty'
require_relative 'version'
DEFAULT_BASE_URI = 'http://peerstreet.bavl.org'
class PeerStreet::Client
include HTTParty
#base_uri 'https://peerstreet.bavl.org'
attr_accessor :base_uri
def initialize(options={ :base_uri => DEFAULT_BASE_URI })
if options[:base_uri]
self.base_uri = op... | 18.730769 | 60 | 0.687885 |
16155a09591490b060551293658463468b28d5d6 | 2,142 | swift | Swift | Tests/FilesystemTests/FileOutputStreamerTests.swift | swixbase/filesystem | 7d68a7f818fe1eeb12eb94c217edf64e481c1d83 | [
"Apache-2.0"
] | null | null | null | Tests/FilesystemTests/FileOutputStreamerTests.swift | swixbase/filesystem | 7d68a7f818fe1eeb12eb94c217edf64e481c1d83 | [
"Apache-2.0"
] | null | null | null | Tests/FilesystemTests/FileOutputStreamerTests.swift | swixbase/filesystem | 7d68a7f818fe1eeb12eb94c217edf64e481c1d83 | [
"Apache-2.0"
] | null | null | null | /// Copyright 2017 Sergei Egorov
///
/// 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... | 31.970149 | 92 | 0.672736 |
3bd4078589661c4e3bdae77a0e4dd81177a087d7 | 828 | dart | Dart | example/lib/main.dart | NelsonCloudWalk/flutter_facebook_app_events | 7f357925824cfb6cfd81664b37d7b535d05169a5 | [
"Apache-2.0"
] | null | null | null | example/lib/main.dart | NelsonCloudWalk/flutter_facebook_app_events | 7f357925824cfb6cfd81664b37d7b535d05169a5 | [
"Apache-2.0"
] | null | null | null | example/lib/main.dart | NelsonCloudWalk/flutter_facebook_app_events | 7f357925824cfb6cfd81664b37d7b535d05169a5 | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:facebook_app_events/facebook_app_events.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
static final facebookAppEvents = FacebookAppEvents();
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Sc... | 25.090909 | 62 | 0.531401 |
b0da6b2e0eeed2fb6296dc97922b44ec158d8b59 | 248 | py | Python | vfmgui/fonts.py | sharkwouter/vaporos-flatpak-manager | da1dce2a806fdb51aa9366408ace50c28fbc3ff6 | [
"MIT"
] | null | null | null | vfmgui/fonts.py | sharkwouter/vaporos-flatpak-manager | da1dce2a806fdb51aa9366408ace50c28fbc3ff6 | [
"MIT"
] | 21 | 2019-09-15T08:42:58.000Z | 2021-08-28T16:48:54.000Z | vfmgui/fonts.py | sharkwouter/vaporos-flatpak-manager | da1dce2a806fdb51aa9366408ace50c28fbc3ff6 | [
"MIT"
] | null | null | null | import pygame
pygame.font.init()
class Fonts:
_font = pygame.font.match_font('liberationsansnarrow')
print(_font)
REGULAR = pygame.font.Font(_font, 64)
SMALL = pygame.font.Font(_font, 32)
LARGE = pygame.font.Font(_font, 96)
| 19.076923 | 58 | 0.689516 |
0d35c51a825cdb0e2e3c9da4c69894a640285c3f | 4,991 | cs | C# | MVCProject/Form1.Designer.cs | david-hilles/GitCsharp | b9bec1fa96ea5dc71a25279e9817879eabb468fa | [
"MIT"
] | null | null | null | MVCProject/Form1.Designer.cs | david-hilles/GitCsharp | b9bec1fa96ea5dc71a25279e9817879eabb468fa | [
"MIT"
] | null | null | null | MVCProject/Form1.Designer.cs | david-hilles/GitCsharp | b9bec1fa96ea5dc71a25279e9817879eabb468fa | [
"MIT"
] | null | null | null | namespace MVCProject
{
partial class Form1
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo usados.
/// </summa... | 41.941176 | 167 | 0.562012 |
2b9fb7f70df3960cdc75ca834e114ae47379af1f | 10,552 | rb | Ruby | lib/command_lion/app.rb | picatz/command_lion | a101056a72c481e30a23c159e836e7b532c9b004 | [
"MIT"
] | 4 | 2017-08-28T02:12:50.000Z | 2018-04-22T12:00:00.000Z | lib/command_lion/app.rb | picatz/command_lion | a101056a72c481e30a23c159e836e7b532c9b004 | [
"MIT"
] | 4 | 2017-09-02T21:57:54.000Z | 2020-02-20T23:51:49.000Z | lib/command_lion/app.rb | picatz/command_lion | a101056a72c481e30a23c159e836e7b532c9b004 | [
"MIT"
] | null | null | null | module CommandLion
class App < Base
def self.default_help(app)
flagz = []
app.commands.each do |_, cmd|
if cmd.options?
cmd.options.each do |_, opt|
if opt.flags?
if opt.flags.long?
flagz << opt.flags.short + opt.flags.long
e... | 29.977273 | 102 | 0.559799 |
daa445ac83193da6bb5fa97cf88795fb73a2e0a1 | 8,926 | ts | TypeScript | dev/state/EntityState.ts | stockbal/quick-data-reporter | 394d6686ebc95bc0ef5a0284a4b0d7f64a85d78a | [
"MIT"
] | 10 | 2021-09-22T16:20:12.000Z | 2022-01-10T19:32:20.000Z | dev/state/EntityState.ts | stockbal/quick-data-reporter | 394d6686ebc95bc0ef5a0284a4b0d7f64a85d78a | [
"MIT"
] | 4 | 2021-07-04T16:53:20.000Z | 2021-10-01T14:04:41.000Z | dev/state/EntityState.ts | stockbal/quick-data-reporter | 394d6686ebc95bc0ef5a0284a4b0d7f64a85d78a | [
"MIT"
] | 2 | 2021-09-22T16:20:17.000Z | 2021-10-02T13:20:21.000Z | import Log from "sap/base/Log";
import ValueHelpUtil from "../helper/valuehelp/ValueHelpUtil";
import { DataResult } from "../model/AjaxJSONModel";
import Entity, { ConfigurableEntity, TableFilters } from "../model/Entity";
import { DEFAULT_VISIBLE_COL_COUNT } from "../model/globalConsts";
import {
EntityType,
... | 40.026906 | 137 | 0.57607 |
9fda260f9b08d615f542158e59dd64c5f3686659 | 8,620 | py | Python | tests/test_sampling.py | AndrewRook/polling_simulator | df390b26bb7f2f6fd019813de1ab188489a68d61 | [
"MIT"
] | null | null | null | tests/test_sampling.py | AndrewRook/polling_simulator | df390b26bb7f2f6fd019813de1ab188489a68d61 | [
"MIT"
] | null | null | null | tests/test_sampling.py | AndrewRook/polling_simulator | df390b26bb7f2f6fd019813de1ab188489a68d61 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import pytest
from functools import partial
from polling_simulator import sampling
from polling_simulator import Variable, Demographic
from polling_simulator.distributions import truncated_gaussian_distribution
class TestPredefinedSample:
def test_fails_when_asked_for_too_... | 44.205128 | 118 | 0.665545 |
25a288886259792316c644363e16ae121f3044dc | 492 | js | JavaScript | src/index.js | Deshan-Charuka/fronend-AdminLte | eaa5520c71f7a86fcc0c327ece7bd1514689c4b8 | [
"MIT"
] | null | null | null | src/index.js | Deshan-Charuka/fronend-AdminLte | eaa5520c71f7a86fcc0c327ece7bd1514689c4b8 | [
"MIT"
] | null | null | null | src/index.js | Deshan-Charuka/fronend-AdminLte | eaa5520c71f7a86fcc0c327ece7bd1514689c4b8 | [
"MIT"
] | null | null | null | //js files
import '../node_modules/admin-lte/plugins/jquery/jquery.min.js';
import '../node_modules/admin-lte/plugins/jquery-ui/jquery-ui.min.js';
// $.widget.bridge('uibutton', $.ui.button);
import '../node_modules/admin-lte/plugins/bootstrap/js/bootstrap.bundle.min.js';
import '../node_modules/admin-lte/plugins/overl... | 41 | 96 | 0.75 |
79c49cb2d7fe9f7dbe44ce1f7c3221bce2fc1c58 | 3,613 | php | PHP | Datatable/DatatableFactory.php | RedWeb/DatatablesBundle | cbf3c4e0d2c8ef175e93e6f8896b1645cb7ae378 | [
"MIT"
] | null | null | null | Datatable/DatatableFactory.php | RedWeb/DatatablesBundle | cbf3c4e0d2c8ef175e93e6f8896b1645cb7ae378 | [
"MIT"
] | null | null | null | Datatable/DatatableFactory.php | RedWeb/DatatablesBundle | cbf3c4e0d2c8ef175e93e6f8896b1645cb7ae378 | [
"MIT"
] | 1 | 2020-01-29T14:44:32.000Z | 2020-01-29T14:44:32.000Z | <?php
/*
* This file is part of the SgDatatablesBundle package.
*
* (c) stwe <https://github.com/stwe/DatatablesBundle>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sg\DatatablesBundle\Datatable;
use Doctrine\ORM\En... | 27.371212 | 241 | 0.613064 |
b772059e29c36f6fae62de9e01eb9f0647deba2a | 8,831 | cs | C# | openvpn-auth-ldap/Program.cs | laozhanga/openvpn-auth-ldap-win | 40500a525574a6b066c605e4c2636696be43b399 | [
"MIT"
] | 3 | 2019-12-10T07:52:19.000Z | 2020-03-06T03:45:08.000Z | openvpn-auth-ldap/Program.cs | laozhanga/openvpn-auth-ldap-win | 40500a525574a6b066c605e4c2636696be43b399 | [
"MIT"
] | 1 | 2020-03-27T13:36:32.000Z | 2020-04-03T07:21:48.000Z | openvpn-auth-ldap/Program.cs | laozhanga/openvpn-auth-ldap-win | 40500a525574a6b066c605e4c2636696be43b399 | [
"MIT"
] | 1 | 2022-03-04T14:31:21.000Z | 2022-03-04T14:31:21.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.DirectoryServices;
using System.Configuration;
using System.Collections.Specialized;
using System.IO;
namespace WindowsADLogin
{
public class Logs
{
private static string _logPath = Path.Combine(AppDomain.CurrentDomain.Bas... | 38.229437 | 141 | 0.478428 |
ed1f1ca5b4109e3525c10b9d39630a4ae659c03e | 220 | h | C | DetoxInstruments/DetoxInstruments/Views/DTXChevronButton.h | LeoNatan/DetoxInstruments | 9bdf0ffb217714f3396dbf2051484181a0114375 | [
"MIT"
] | 1 | 2021-11-12T11:38:30.000Z | 2021-11-12T11:38:30.000Z | DetoxInstruments/DetoxInstruments/Views/DTXChevronButton.h | LeoNatan/DetoxInstruments | 9bdf0ffb217714f3396dbf2051484181a0114375 | [
"MIT"
] | null | null | null | DetoxInstruments/DetoxInstruments/Views/DTXChevronButton.h | LeoNatan/DetoxInstruments | 9bdf0ffb217714f3396dbf2051484181a0114375 | [
"MIT"
] | null | null | null | //
// DTXChevronButton.h
// DetoxInstruments
//
// Created by Leo Natan on 11/27/19.
// Copyright © 2017-2022 Leo Natan. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface DTXChevronButton : NSButton
@end
| 15.714286 | 57 | 0.695455 |
e05f3c333bb4607cfcd6cdf84a9e996c5358a4a4 | 174,214 | h | C | TinyScreenClockAndDisplay/font.h | SammyDuino/Watch-2.0 | 8bc0af8724d6a23ad3e4f7e76c64bc9a2cbc600d | [
"Apache-2.0"
] | null | null | null | TinyScreenClockAndDisplay/font.h | SammyDuino/Watch-2.0 | 8bc0af8724d6a23ad3e4f7e76c64bc9a2cbc600d | [
"Apache-2.0"
] | 1 | 2015-08-17T19:03:49.000Z | 2015-08-17T19:03:49.000Z | TinyScreenClockAndDisplay/font.h | SammyDuino/Watch-2.0 | 8bc0af8724d6a23ad3e4f7e76c64bc9a2cbc600d | [
"Apache-2.0"
] | null | null | null | /*
Generated by The Dot Factory, written by Eran Duchan, currently available at
http://www.eran.io/the-dot-factory-an-lcd-font-and-image-generator/
using the configuration xml included with this library. Just put the
configuration file in the same directory as the executable, and copy and paste
the output to the end of... | 30.758121 | 121 | 0.332189 |
146cfb1aab0afb036fd9f774ed8323c9848de776 | 204 | ts | TypeScript | src/types/simple-readable-stream.ts | Originate/node-text-stream-search | 80456929c97e99652448c7a62bec35e7ec4c6629 | [
"ISC"
] | 3 | 2018-02-09T12:02:55.000Z | 2019-02-06T16:48:26.000Z | src/types/simple-readable-stream.ts | Originate/node-text-stream-search | 80456929c97e99652448c7a62bec35e7ec4c6629 | [
"ISC"
] | 7 | 2016-02-16T01:02:14.000Z | 2018-11-15T10:42:15.000Z | src/types/simple-readable-stream.ts | kevgo/node-text-stream-search | 2b81b3b793bfb7541b0da915172528f1af870b30 | [
"0BSD"
] | null | null | null | /**
* SimpleReadableStream describes the API that this library uses
* on the streams it consumes.
*/
export interface SimpleReadableStream {
on(eventName: string, cb: (data: Buffer) => void): void
}
| 25.5 | 64 | 0.72549 |
388604f18ae0c77974489811a7fb0bc3fcdf6cc6 | 975 | php | PHP | database/migrations/2022_03_10_000932_create_channels_table.php | floaeza/boffice | 3c4fe3af3cd1500ef8be88293fa693c981d14382 | [
"MIT"
] | null | null | null | database/migrations/2022_03_10_000932_create_channels_table.php | floaeza/boffice | 3c4fe3af3cd1500ef8be88293fa693c981d14382 | [
"MIT"
] | null | null | null | database/migrations/2022_03_10_000932_create_channels_table.php | floaeza/boffice | 3c4fe3af3cd1500ef8be88293fa693c981d14382 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('channels', function (Bl... | 25 | 85 | 0.562051 |
db81baf7d084d750c7c68d0420777623db59be12 | 1,476 | php | PHP | resources/views/customers/form.blade.php | muhtarudinsiregar/laravel-happy | c986e35588520668f75b236697f60cb2d10b15c5 | [
"MIT"
] | null | null | null | resources/views/customers/form.blade.php | muhtarudinsiregar/laravel-happy | c986e35588520668f75b236697f60cb2d10b15c5 | [
"MIT"
] | 5 | 2021-03-10T01:21:07.000Z | 2022-02-26T21:03:39.000Z | resources/views/customers/form.blade.php | muhtarudinsiregar/laravel-happy | c986e35588520668f75b236697f60cb2d10b15c5 | [
"MIT"
] | null | null | null | <div class="form-group pb-2">
<label for="">Name</label>
<input type="text" name="name" placeholder="Fullname" class="form-control"
value="{{ old('name')?? $customer->name }}">
<div class="text-danger">{{ $errors->first('name') }}</div>
</div>
<div class="form-group pb-2">
<label for="">Email</l... | 42.171429 | 112 | 0.597561 |
815f4e8a2112d28064aaeb4e0411d314e0fceffa | 463 | lua | Lua | entities/FBullet.lua | JunoNgx/p8wonyun | e9ba60d509ee94fafe415dae8d751e07dfa1da2a | [
"MIT"
] | 4 | 2020-06-28T10:21:35.000Z | 2020-10-31T13:59:11.000Z | entities/FBullet.lua | JunoNgx/p8wonyun | e9ba60d509ee94fafe415dae8d751e07dfa1da2a | [
"MIT"
] | null | null | null | entities/FBullet.lua | JunoNgx/p8wonyun | e9ba60d509ee94fafe415dae8d751e07dfa1da2a | [
"MIT"
] | 1 | 2020-09-14T02:45:16.000Z | 2020-09-14T02:45:16.000Z | -- friendly bullet
function FBullet(_x, _y)
add(world, {
id = {
class = "bullet",
subclass = "fbullet"
},
pos = {
x=_x,
y=_y
},
vel = {
x=0,
y=C.FBULLET_SPEED
},
box = {
w = 5,
h = ... | 17.148148 | 40 | 0.408207 |
e1f8ab48bb772f16ec66f04ac0fcd398347f0e73 | 4,367 | rb | Ruby | tests/units/test_index_ops.rb | naveenmora/ruby-git | a6b776787c129d094fa67ef2671c9da9333d83c1 | [
"MIT"
] | null | null | null | tests/units/test_index_ops.rb | naveenmora/ruby-git | a6b776787c129d094fa67ef2671c9da9333d83c1 | [
"MIT"
] | null | null | null | tests/units/test_index_ops.rb | naveenmora/ruby-git | a6b776787c129d094fa67ef2671c9da9333d83c1 | [
"MIT"
] | null | null | null | #!/usr/bin/env ruby
require_relative '../test_helper'
class TestIndexOps < Test::Unit::TestCase
def setup
set_file_paths
@git = Git.open(@wdir)
end
def test_add
in_temp_dir do |path|
g = Git.clone(@wbare, 'new')
Dir.chdir('new') do
assert_equal('100644', g.status['example.txt']... | 27.465409 | 75 | 0.588963 |
67794e254228cbae8a7e348e6e1f4dc08a2a0dad | 1,799 | sql | SQL | node_employees.sql | srmishra/node-mysql-employee-crud | a0eb81ea8ac7ad559bf28802b2899617c06ad177 | [
"MIT"
] | null | null | null | node_employees.sql | srmishra/node-mysql-employee-crud | a0eb81ea8ac7ad559bf28802b2899617c06ad177 | [
"MIT"
] | null | null | null | node_employees.sql | srmishra/node-mysql-employee-crud | a0eb81ea8ac7ad559bf28802b2899617c06ad177 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Sep 28, 2016 at 04:23 PM
-- Server version: 10.1.8-MariaDB
-- PHP Version: 5.6.14
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLI... | 25.338028 | 67 | 0.667037 |
ea8b71c5e4d0280138c7a5e60fe052c983dac2e6 | 640 | dart | Dart | DostiPak/lib/widgets/loading_card.dart | ABDULKARIMALBAIK/DostiPak | 823ba14db1821ff2c51e5f571346b4dee73efa69 | [
"MIT"
] | 8 | 2022-02-07T07:28:39.000Z | 2022-03-26T01:05:32.000Z | DostiPak/lib/widgets/loading_card.dart | Van-Lang-University/Dating-App | 823ba14db1821ff2c51e5f571346b4dee73efa69 | [
"MIT"
] | 1 | 2022-03-13T19:28:10.000Z | 2022-03-26T01:08:29.000Z | DostiPak/lib/widgets/loading_card.dart | Van-Lang-University/Dating-App | 823ba14db1821ff2c51e5f571346b4dee73efa69 | [
"MIT"
] | 3 | 2022-02-07T07:28:39.000Z | 2022-02-08T20:23:00.000Z | import 'package:flutter/material.dart';
import 'package:rishtpak/widgets/default_card_border.dart';
import 'package:shimmer/shimmer.dart';
class LoadingCard extends StatelessWidget {
final double? iconSize;
const LoadingCard({this.iconSize});
@override
Widget build(BuildContext context) {
return Card(
... | 27.826087 | 68 | 0.698438 |
b04b23ef95ebcf76239af5412f5ebe44fc0db15a | 472 | sql | SQL | pargres/src/pl/plpython/sql/plpython_error.sql | mzym/thesis | 4099fbfc6ccf82acd86001aeb8202dafe8fb499f | [
"MIT"
] | 450 | 2015-09-05T09:12:51.000Z | 2018-08-30T01:45:36.000Z | pargres/src/pl/plpython/sql/plpython_error.sql | mzym/thesis | 4099fbfc6ccf82acd86001aeb8202dafe8fb499f | [
"MIT"
] | 1,274 | 2015-09-22T20:06:16.000Z | 2018-08-31T22:14:00.000Z | pargres/src/pl/plpython/sql/plpython_error.sql | mzym/thesis | 4099fbfc6ccf82acd86001aeb8202dafe8fb499f | [
"MIT"
] | 278 | 2015-09-21T19:15:06.000Z | 2018-08-31T00:36:51.000Z |
-- test error handling, i forgot to restore Warn_restart in
-- the trigger handler once. the errors and subsequent core dump were
-- interesting.
SELECT invalid_type_uncaught('rick');
SELECT invalid_type_caught('rick');
SELECT invalid_type_reraised('rick');
SELECT valid_type('rick');
--
-- Test Unicode error handlin... | 24.842105 | 69 | 0.773305 |
af83923c9100dc6ae4a0fe867d6f85a13ad53bef | 2,396 | py | Python | week_two_quiz.py | Ronlin1/cit_quiz_two | afb9cd676b833caf7f9f65a16ba8c857d6d72b6b | [
"MIT"
] | null | null | null | week_two_quiz.py | Ronlin1/cit_quiz_two | afb9cd676b833caf7f9f65a16ba8c857d6d72b6b | [
"MIT"
] | null | null | null | week_two_quiz.py | Ronlin1/cit_quiz_two | afb9cd676b833caf7f9f65a16ba8c857d6d72b6b | [
"MIT"
] | null | null | null | """
WEEK TWO QUIZ AS AT 05 MARCH 2020 ___PYTHON-BLOCKCHAIN-AWS-CIT-CLASS 2021___
"""
# WELCOME SCREEN
print('------------------------- WEEK TWO QUIZ --------------------------')
# TODO: QUIZ ANSWERS
# Global variable --->End of question separator in the ---- terminal ----
end_of_answer = '-----------------------------... | 35.761194 | 120 | 0.699499 |
3f5b33d5eaab17f299671cbfe66bc702a7e6638b | 6,277 | php | PHP | resources/views/v_direktoriCare.blade.php | faikarghas/one-onco | b7c92f0f18340f97498fb0e3ddca4af8228d196c | [
"MIT"
] | null | null | null | resources/views/v_direktoriCare.blade.php | faikarghas/one-onco | b7c92f0f18340f97498fb0e3ddca4af8228d196c | [
"MIT"
] | null | null | null | resources/views/v_direktoriCare.blade.php | faikarghas/one-onco | b7c92f0f18340f97498fb0e3ddca4af8228d196c | [
"MIT"
] | null | null | null | @extends('components/layouts.layout')
@section('content')
@include('components/presentational/header',['path'=>'direktori'])
<main>
{{-- <section class="direktoriDet__header forMobile">
<div class="container">
<div class="row">
<div class="col-12">
... | 44.51773 | 344 | 0.476979 |
2501016563e0f56214e4471e51c67fd7906b8a15 | 98 | rb | Ruby | spec/support/cookie_helper.rb | gsmlg/peatio | 6a5e3362754de5de810502dbd35ae4ce6841d752 | [
"MIT"
] | 3,436 | 2015-01-02T02:49:24.000Z | 2022-03-31T23:19:00.000Z | spec/support/cookie_helper.rb | xinfushe/peatio | 6fe7e960a12c40053370cb25cdd0968b67041aa0 | [
"MIT"
] | 471 | 2015-01-01T00:20:54.000Z | 2019-03-24T05:07:50.000Z | spec/support/cookie_helper.rb | computeus/peatio | db0667ab2788fd7c3ca75b4fb024ef90e818afac | [
"MIT"
] | 2,084 | 2015-01-02T05:32:13.000Z | 2022-03-31T23:19:25.000Z | def clear_cookie
page.driver.cookies.each do |k, v|
page.driver.remove_cookie k
end
end
| 14 | 37 | 0.714286 |
e2b54474a33da4e72c5ff99192fe2687b9f4d1ce | 5,534 | py | Python | Section_4/expense_tracker/main.py | PacktPublishing/Software-Engineering-with-Python-3.x | 056e4c89e4f8d7fc4a4095ee0671d6944a86630e | [
"MIT"
] | 1 | 2020-02-02T13:55:29.000Z | 2020-02-02T13:55:29.000Z | Section_4/expense_tracker/main.py | PacktPublishing/Software-Engineering-with-Python-3.x | 056e4c89e4f8d7fc4a4095ee0671d6944a86630e | [
"MIT"
] | null | null | null | Section_4/expense_tracker/main.py | PacktPublishing/Software-Engineering-with-Python-3.x | 056e4c89e4f8d7fc4a4095ee0671d6944a86630e | [
"MIT"
] | 2 | 2020-02-09T12:41:40.000Z | 2020-09-21T02:16:06.000Z | from source.expense import Expense
from source.user import User
from source.group import UserGroup
from source.utilities import initialize_data, print_menu, print_users, print_expenses, get_user_id
if __name__ == "__main__":
# Initialize Dummy data
users_list, groups_list, expense_list = initialize_data()
... | 34.372671 | 98 | 0.489881 |
ce4aa5ef248811b9bf0d342e5f0bc4dd2a150d3b | 3,823 | rs | Rust | components/pkg-export-helm/src/chartfile.rs | jeremymv2/habitat | 79a9ed4df3be36f7e4f84b73cf4270c3acbb57ab | [
"Apache-2.0"
] | 1 | 2018-12-21T01:31:50.000Z | 2018-12-21T01:31:50.000Z | components/pkg-export-helm/src/chartfile.rs | jeremymv2/habitat | 79a9ed4df3be36f7e4f84b73cf4270c3acbb57ab | [
"Apache-2.0"
] | null | null | null | components/pkg-export-helm/src/chartfile.rs | jeremymv2/habitat | 79a9ed4df3be36f7e4f84b73cf4270c3acbb57ab | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2018 Chef Software Inc. and/or applicable contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless r... | 32.12605 | 80 | 0.584619 |
57767f6e35411d5cbf64c8b4dab2e8fa9d7ee69b | 445 | sql | SQL | sql/updates/0.0.3/sql_r577.sql | uzmcoco/Cotonti | ef7451118587deca574e58f1c96119deb7eca83b | [
"BSD-3-Clause"
] | 2 | 2015-06-03T10:17:02.000Z | 2017-10-26T16:40:25.000Z | sql/updates/0.0.3/sql_r577.sql | uzmcoco/Cotonti | ef7451118587deca574e58f1c96119deb7eca83b | [
"BSD-3-Clause"
] | null | null | null | sql/updates/0.0.3/sql_r577.sql | uzmcoco/Cotonti | ef7451118587deca574e58f1c96119deb7eca83b | [
"BSD-3-Clause"
] | 1 | 2019-07-14T18:23:27.000Z | 2019-07-14T18:23:27.000Z | /* r577 Tags plugin update */
INSERT INTO sed_config (`config_owner`, `config_cat`, `config_order`, `config_name`, `config_type`, `config_value`, `config_default`, `config_text`) VALUES ('plug', 'tags', '10', 'more', 3, '1', '', 'Show All Tags link in tag clouds');
INSERT INTO `sed_plugins` (`pl_hook`, `pl_code`, `pl_p... | 148.333333 | 235 | 0.669663 |
79cb0d9b1df2afa58bd8d9646b37da0697f90de4 | 1,187 | php | PHP | resources/views/chat.blade.php | prakashgithub4/chatExample | aed9e303d03397367e61405fe12ff6e0a032ac9f | [
"MIT"
] | null | null | null | resources/views/chat.blade.php | prakashgithub4/chatExample | aed9e303d03397367e61405fe12ff6e0a032ac9f | [
"MIT"
] | null | null | null | resources/views/chat.blade.php | prakashgithub4/chatExample | aed9e303d03397367e61405fe12ff6e0a032ac9f | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<title>Pusher Test</title>
<link rel="stylesheet" type="text/css" href="{{url('public/assets/css/style.css')}}">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap" rel="stylesheet">
<style>
/* body{
background-color: red;
} */
</style>
<... | 25.804348 | 112 | 0.6369 |
d15385fc1b0c6da8e5b6fb500910e5d08710c936 | 2,439 | html | HTML | python/cli/kwidgzwzz.html | kodingwindow/kodingwindow.github.io | af4e0a234858d1882ec49802f911665be4ef662e | [
"MIT"
] | 2 | 2020-09-12T11:52:46.000Z | 2021-01-26T04:31:49.000Z | python/cli/kwidgzwzz.html | kodingwindow/kodingwindow.github.io | af4e0a234858d1882ec49802f911665be4ef662e | [
"MIT"
] | null | null | null | python/cli/kwidgzwzz.html | kodingwindow/kodingwindow.github.io | af4e0a234858d1882ec49802f911665be4ef662e | [
"MIT"
] | 1 | 2020-10-02T08:38:02.000Z | 2020-10-02T08:38:02.000Z | ---
layout: kw
title: Python Built-in Functions
---
<div class="blackwell"><mark>Title: </mark>{{ page.title }}</div>
<div class="terminalwell">type() function</div>
<span><pre>
kodingwindow@kw:~$ <mark>python3</mark>
Python 3.8.6 (default, Sep 25 2020, 09:36:53)
[GCC 10.2.0] on linux
Type "help", "copyright", "credi... | 19.204724 | 70 | 0.569906 |
5d39cab3b556780aef1711a198c517b9d0a095ce | 1,619 | kt | Kotlin | androidBreakingBad/src/main/java/com/czech/breakingbad/android/presentation/theme/Theme.kt | Czeach/Breaking-Bad | 55d074a8cf9c3bf6907e5a25b45c308259e050d4 | [
"MIT"
] | null | null | null | androidBreakingBad/src/main/java/com/czech/breakingbad/android/presentation/theme/Theme.kt | Czeach/Breaking-Bad | 55d074a8cf9c3bf6907e5a25b45c308259e050d4 | [
"MIT"
] | null | null | null | androidBreakingBad/src/main/java/com/czech/breakingbad/android/presentation/theme/Theme.kt | Czeach/Breaking-Bad | 55d074a8cf9c3bf6907e5a25b45c308259e050d4 | [
"MIT"
] | null | null | null | package com.czech.breakingbad.android.presentation.theme
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
im... | 29.981481 | 80 | 0.685608 |
da15594b1b9f3f9b788a8f0a453a8cabfb25064a | 463 | php | PHP | tests/unit/Grav/Console/Gpm/InstallCommandTest.php | spirojess/Spiro2021 | 2b5881d58d1cd7be15493ef58cf128d0e0905aac | [
"MIT"
] | 3 | 2017-01-10T13:40:17.000Z | 2019-01-17T06:51:53.000Z | tests/unit/Grav/Console/Gpm/InstallCommandTest.php | Die-Greifen/die-greifen-webseite | cf9339258706e214487ad4daca441a543700d5a7 | [
"Unlicense"
] | 31 | 2020-04-05T22:18:40.000Z | 2022-03-02T21:27:11.000Z | tests/unit/Grav/Console/Gpm/InstallCommandTest.php | Die-Greifen/die-greifen-webseite | cf9339258706e214487ad4daca441a543700d5a7 | [
"Unlicense"
] | 20 | 2016-06-08T16:43:08.000Z | 2021-07-28T09:32:06.000Z | <?php
use Codeception\Util\Fixtures;
use Grav\Common\Grav;
/**
* Class InstallCommandTest
*/
class InstallCommandTest extends \Codeception\TestCase\Test
{
/** @var Grav $grav */
protected $grav;
/** @var InstallCommand */
protected $installCommand;
protected function _before()
{
$... | 16.535714 | 59 | 0.62851 |
9a03fd8c41576ebbf355a7a7477103d67ab0adc8 | 8,389 | asm | Assembly | dv3/q40/hd/fpart.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | dv3/q40/hd/fpart.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | dv3/q40/hd/fpart.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; DV3 Q40 Find Partition (Atari root) 1999 Tony Tebby
; 2020-04-29 V3.05 fix for atari partition check (wl)
; 2020-03-24 V3.04 fix for direct QLWA formatted CF cards, can use other partitions on FAT32 cards (wl)
; 2018-02-06 V3.03 fix for *d2d access to fat16 CF cards (wl)
; 2017-11-21 V3.02 LBA access to Q... | 28.245791 | 104 | 0.688401 |
e7734de156a185757fe58abff3a36514c86be109 | 1,727 | php | PHP | application/api/controller/v1/home/Producter.php | jiangbowen1995/TP5.1-GatewayWorker | acd1b9630ee4576ac46ceb80a0180aca9b8f3f00 | [
"Apache-2.0"
] | 1 | 2019-10-27T09:48:36.000Z | 2019-10-27T09:48:36.000Z | application/api/controller/v1/home/Producter.php | jiangbowen1995/TP5.1-GatewayWorker | acd1b9630ee4576ac46ceb80a0180aca9b8f3f00 | [
"Apache-2.0"
] | null | null | null | application/api/controller/v1/home/Producter.php | jiangbowen1995/TP5.1-GatewayWorker | acd1b9630ee4576ac46ceb80a0180aca9b8f3f00 | [
"Apache-2.0"
] | null | null | null | <?php
namespace app\api\controller\v1\home;
use think\Controller;
use PhpAmqpLib\Connection\AMQPConnection;
use PhpAmqpLib\Message\AMQPMessage;
use think\Request;
class Producter extends Controller
{
public function __construct()
{
parent::__construct();
}
public function sendMessage()
{
... | 40.162791 | 149 | 0.630573 |
c9cba2d1cadcd9151baa8f08dcc165c75f8ea3fa | 2,234 | ts | TypeScript | src/gql/handleSubgraphError.ts | elmurci/tribute-ui | 6272c48aad0b530280e0aba3000623211ae719a0 | [
"Apache-2.0"
] | 27 | 2021-07-01T21:45:02.000Z | 2022-03-28T21:53:41.000Z | src/gql/handleSubgraphError.ts | elmurci/tribute-ui | 6272c48aad0b530280e0aba3000623211ae719a0 | [
"Apache-2.0"
] | 105 | 2021-05-05T16:02:17.000Z | 2022-03-15T12:27:28.000Z | src/gql/handleSubgraphError.ts | elmurci/tribute-ui | 6272c48aad0b530280e0aba3000623211ae719a0 | [
"Apache-2.0"
] | 19 | 2021-07-07T03:30:17.000Z | 2022-03-14T03:12:04.000Z | import {ApolloLink} from '@apollo/client';
import {onError} from '@apollo/client/link/error';
import {Store} from 'redux';
import {setSubgraphNetworkStatus} from '../store/actions';
import {SubgraphNetworkStatus} from '../store/subgraphNetworkStatus/types';
import {StoreState} from '../store/types';
/**
* handleSubg... | 32.852941 | 90 | 0.685765 |
a33cf49db97348fca9d046bc7c239142dfee2d6f | 3,193 | java | Java | nerve/nerve-consensus-pocbft/src/main/java/network/nerve/pocbft/storage/impl/AgentStorageServiceImpl.java | LaudateCorpus1/nerve-2 | 4980c66ae7fc66b21399e374c778fd84273dd7de | [
"MIT"
] | 103 | 2020-02-07T03:55:21.000Z | 2022-01-21T16:13:48.000Z | nerve/nerve-consensus-pocbft/src/main/java/network/nerve/pocbft/storage/impl/AgentStorageServiceImpl.java | LaudateCorpus1/nerve-2 | 4980c66ae7fc66b21399e374c778fd84273dd7de | [
"MIT"
] | 59 | 2020-04-07T10:14:29.000Z | 2021-07-29T04:08:23.000Z | nerve/nerve-consensus-pocbft/src/main/java/network/nerve/pocbft/storage/impl/AgentStorageServiceImpl.java | LaudateCorpus1/nerve-2 | 4980c66ae7fc66b21399e374c778fd84273dd7de | [
"MIT"
] | 30 | 2020-04-13T10:08:36.000Z | 2022-03-22T10:33:42.000Z | package network.nerve.pocbft.storage.impl;
import network.nerve.pocbft.constant.ConsensusConstant;
import network.nerve.pocbft.model.po.AgentPo;
import network.nerve.pocbft.storage.AgentStorageService;
import io.nuls.base.data.NulsHash;
import io.nuls.core.core.annotation.Component;
import io.nuls.core.rockdb.model.En... | 31.613861 | 142 | 0.592233 |
25a1099ced5b0c64328b522eb2127ef8e90d8f1b | 3,262 | js | JavaScript | core/test/header.spec.js | jesusreal/luigi | 0eba0f1bafd10f38e4d92f2edcafafdc321dc358 | [
"Apache-2.0"
] | null | null | null | core/test/header.spec.js | jesusreal/luigi | 0eba0f1bafd10f38e4d92f2edcafafdc321dc358 | [
"Apache-2.0"
] | null | null | null | core/test/header.spec.js | jesusreal/luigi | 0eba0f1bafd10f38e4d92f2edcafafdc321dc358 | [
"Apache-2.0"
] | null | null | null | const headerService = require('../src/navigation/services/header');
const assert = require('chai').assert;
const sinon = require('sinon');
describe('Header', function() {
afterEach(() => {
sinon.restore();
});
describe('processHeaderSettings', function() {
let component;
const setHeaderSettings = he... | 24.343284 | 80 | 0.55886 |
8e5d95620960b1d63e827d576419d0fd08a1759e | 521 | js | JavaScript | server/modules/domain/controllers/domain-controller.js | detis46901/postgres | 930f65dbb9a560fd58300d648a1fb8b1b5afc5a6 | [
"MIT"
] | null | null | null | server/modules/domain/controllers/domain-controller.js | detis46901/postgres | 930f65dbb9a560fd58300d648a1fb8b1b5afc5a6 | [
"MIT"
] | 6 | 2020-07-15T23:24:40.000Z | 2022-02-14T04:21:06.000Z | server/modules/domain/controllers/domain-controller.js | detis46901/API | 930f65dbb9a560fd58300d648a1fb8b1b5afc5a6 | [
"MIT"
] | null | null | null | "use strict";
var domainService = require('../services/domain-service');
var DomainModel = require('../models/domain-model');
var stream = require('stream');
var express = require('express');
var router = express.Router();
var service = new domainService();
router.get('/test', function (req, res) {
console.log('tes... | 32.5625 | 93 | 0.696737 |
dd80ff8e32eef0104273a54632a8098e0dbb1f6f | 2,263 | java | Java | src/main/java/com/wyl/xue/system/controller/MenuController.java | cangshantiannan/xue | 2a35770e8489d198055ab6334b12ad663440121a | [
"Apache-2.0"
] | null | null | null | src/main/java/com/wyl/xue/system/controller/MenuController.java | cangshantiannan/xue | 2a35770e8489d198055ab6334b12ad663440121a | [
"Apache-2.0"
] | null | null | null | src/main/java/com/wyl/xue/system/controller/MenuController.java | cangshantiannan/xue | 2a35770e8489d198055ab6334b12ad663440121a | [
"Apache-2.0"
] | null | null | null | /**
* @Author wangyl
* @E-mail wangyl0629@foxmail.com
**/
package com.wyl.xue.system.controller;
import com.wyl.xue.system.mybatis.entity.SystemMenu;
import com.wyl.xue.system.mybatis.service.SystemMenuService;
import com.wyl.xue.system.vo.MenuTree;
import com.wyl.xue.util.result.WebResponse;
import com.wyl.xue.uti... | 32.797101 | 84 | 0.726027 |
e3bd9e64f8a06ce88e5bdbddf1ef6490a22c39f3 | 173 | swift | Swift | Sources/Casimir/SwiftUI/Extensions/NavigationLink+omittedParamsInit.swift | przemek-jablonski/Casimir | 4c86faf44690b81bdfd447ee99d948cb9aa90ee8 | [
"MIT"
] | null | null | null | Sources/Casimir/SwiftUI/Extensions/NavigationLink+omittedParamsInit.swift | przemek-jablonski/Casimir | 4c86faf44690b81bdfd447ee99d948cb9aa90ee8 | [
"MIT"
] | null | null | null | Sources/Casimir/SwiftUI/Extensions/NavigationLink+omittedParamsInit.swift | przemek-jablonski/Casimir | 4c86faf44690b81bdfd447ee99d948cb9aa90ee8 | [
"MIT"
] | null | null | null | import SwiftUI
public extension NavigationLink {
init(_ label: Label, destination: Destination) {
self.init(destination: destination, label: { label })
}
}
| 21.625 | 61 | 0.687861 |
24bfd20ec385f8d6cc98a6e6ceb312b153cbc275 | 1,080 | php | PHP | resources/views/user/pre_reservations/cfm.blade.php | daiki-kudou/test_smg_3 | 2f4426367046ff0474df0fb618184e997345be85 | [
"MIT"
] | null | null | null | resources/views/user/pre_reservations/cfm.blade.php | daiki-kudou/test_smg_3 | 2f4426367046ff0474df0fb618184e997345be85 | [
"MIT"
] | null | null | null | resources/views/user/pre_reservations/cfm.blade.php | daiki-kudou/test_smg_3 | 2f4426367046ff0474df0fb618184e997345be85 | [
"MIT"
] | null | null | null | @extends('layouts.user.app')
@section('content')
<link href="{{ asset('/css/template.css') }}" rel="stylesheet">
<script src="{{ asset('/js/template.js') }}"></script>
<div class="container-fluid">
<div class="container-field mt-3 d-md-flex justify-content-md-between">
<h2 class="mt-3 mb-md-5">本予約 申込み 完了</h2>
... | 27 | 73 | 0.567593 |
3762e35bb0a529086078279c1ee5750a88e72b06 | 6,801 | lua | Lua | src/open_weather_parser.lua | maciejmiklas/LuaTutorial | 04309432b7dfac97f5119e1e0a724d4d9472de4f | [
"Apache-2.0"
] | 10 | 2017-02-05T16:23:13.000Z | 2019-06-14T08:42:54.000Z | src/open_weather_parser.lua | maciejmiklas/LuaTutorial | 04309432b7dfac97f5119e1e0a724d4d9472de4f | [
"Apache-2.0"
] | null | null | null | src/open_weather_parser.lua | maciejmiklas/LuaTutorial | 04309432b7dfac97f5119e1e0a724d4d9472de4f | [
"Apache-2.0"
] | 2 | 2017-08-15T13:25:41.000Z | 2019-09-17T04:21:29.000Z | require "json_list_parser"
-- parser api
owe_p = {
forecast_days = 3,
-- forecast for next 3 days. Contains only weather for the day from 6:00 to 21:00.
-- Forecast for the first day reflects weather for current day, and if it's a night for a next day.
forecast = {},
-- forecast text for 3 days
... | 26.670588 | 132 | 0.618733 |
256f216a8b11064aef45c264c1450e147f9498e5 | 180 | js | JavaScript | helpers/pqd.js | phuquocdog/wallet | 0433bc358f53ae4f42ef2eb2b64fdecd547c34d1 | [
"MIT"
] | 1 | 2021-09-01T14:09:54.000Z | 2021-09-01T14:09:54.000Z | helpers/pqd.js | phuquocdog/wallet | 0433bc358f53ae4f42ef2eb2b64fdecd547c34d1 | [
"MIT"
] | null | null | null | helpers/pqd.js | phuquocdog/wallet | 0433bc358f53ae4f42ef2eb2b64fdecd547c34d1 | [
"MIT"
] | null | null | null |
const formatBalance = (balance) => {
return balance + 'PQD';
}
const formatAmountFiat = (balance) => {
return balance*0.0001;
}
export {
formatBalance,
formatAmountFiat
} | 15 | 39 | 0.677778 |
6adcf811189ed5f8c0c3d3e396c539a7d9be19c6 | 468 | swift | Swift | SwiftyShare/Classes/Connector.swift | FuYouFang/SwiftyShare | 5923e57514c73a832f820ceb0a3064305164bd8c | [
"MIT"
] | null | null | null | SwiftyShare/Classes/Connector.swift | FuYouFang/SwiftyShare | 5923e57514c73a832f820ceb0a3064305164bd8c | [
"MIT"
] | null | null | null | SwiftyShare/Classes/Connector.swift | FuYouFang/SwiftyShare | 5923e57514c73a832f820ceb0a3064305164bd8c | [
"MIT"
] | null | null | null | //
// Connector.swift
// SwiftyShare
//
// Created by fuyoufang on 2020/12/10.
//
import Foundation
// 微信平台
protocol WechatConnectorType {
static func register(appid: String, universalLink: String)
}
// QQ
protocol QQConnectorType {
static func register(appid: String, enableUniveralLink: Bool, universalLi... | 19.5 | 88 | 0.741453 |
db8879dd215e687ece52ee53ecb13b6b459d4561 | 14,871 | php | PHP | tests/old_api/Risk/RiskModelCreateCest.php | rashmi8105/Synapse | 1213821588b459b81f6ca73f7a4be023f5ee28fe | [
"MIT"
] | null | null | null | tests/old_api/Risk/RiskModelCreateCest.php | rashmi8105/Synapse | 1213821588b459b81f6ca73f7a4be023f5ee28fe | [
"MIT"
] | null | null | null | tests/old_api/Risk/RiskModelCreateCest.php | rashmi8105/Synapse | 1213821588b459b81f6ca73f7a4be023f5ee28fe | [
"MIT"
] | null | null | null | <?php
require_once 'tests/api/SynapseTestHelper.php';
class RiskModelCreateCest extends SynapseTestHelper
{
private $token;
public function _before(ApiTester $I)
{
$this->token = $this->authenticate($I);
}
public function testCreateRiskGroup(ApiTester $I)
{
$I->wantTo('Create... | 33.120267 | 66 | 0.412413 |
25501f8c416114dbee9d6faa5559461f3bf05638 | 1,732 | cs | C# | src/Identity/Beer.Identity.Shared/Requests/ClientRequests.cs | just-the-benno/Beer | e0c6b0ba2f0b615d8f2aa0c0ad44add62cdfef14 | [
"MIT"
] | 2 | 2022-01-20T18:38:54.000Z | 2022-03-01T14:15:46.000Z | src/Identity/Beer.Identity.Shared/Requests/ClientRequests.cs | just-the-benno/Beer | e0c6b0ba2f0b615d8f2aa0c0ad44add62cdfef14 | [
"MIT"
] | null | null | null | src/Identity/Beer.Identity.Shared/Requests/ClientRequests.cs | just-the-benno/Beer | e0c6b0ba2f0b615d8f2aa0c0ad44add62cdfef14 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Beer.Identity.Shared.Requests
{
public static class ClientRequests
{
public static class V1
{
public abstract class CreateOrUpdate... | 28.866667 | 79 | 0.524249 |
ed6ba510a7b13fd8940ca104231698f730c8c528 | 3,346 | h | C | mtrace/mtrace.h | david-grs/boost_multi_index_container | 8cb22a98c4d514260d45c8fefa34e113dd1d3aa8 | [
"MIT"
] | 8 | 2016-11-21T02:55:32.000Z | 2021-01-26T12:49:11.000Z | mtrace/mtrace.h | david-grs/boost_multi_index_container | 8cb22a98c4d514260d45c8fefa34e113dd1d3aa8 | [
"MIT"
] | null | null | null | mtrace/mtrace.h | david-grs/boost_multi_index_container | 8cb22a98c4d514260d45c8fefa34e113dd1d3aa8 | [
"MIT"
] | 4 | 2018-09-25T09:44:45.000Z | 2021-01-26T12:59:01.000Z | #pragma once
#include <tuple>
#include <utility>
extern "C"
{
#include <malloc.h>
}
namespace
{
using malloc_hook = void*(*)(size_t, const void*);
using free_hook = void(*)(void*, const void*);
using realloc_hook = void*(*)(void*, size_t, const void*);
}
namespace detail
{
template<typename T, typen... | 23.56338 | 93 | 0.592648 |
6506b72e14d82e985c0eca48a6e920bb08315669 | 6,113 | css | CSS | src/u-line-chart.vue/module.css | rainfore/vision-ui | 953379f35b0a150a4d5daaee1702cdf875860024 | [
"MIT"
] | 9 | 2019-04-12T01:52:25.000Z | 2020-08-28T08:25:50.000Z | src/u-line-chart.vue/module.css | rainfore/vision-ui | 953379f35b0a150a4d5daaee1702cdf875860024 | [
"MIT"
] | 1 | 2018-09-17T11:11:16.000Z | 2018-10-10T08:19:53.000Z | src/u-line-chart.vue/module.css | vusion/vusion-ui | 953379f35b0a150a4d5daaee1702cdf875860024 | [
"MIT"
] | null | null | null | $axis-y_width: 40px;
$axis-x_height: 30px;
$axis_border: #ccc;
$axis-y_offset: 10px;
$axis-x_offset: 6px;
$line_border: #eee;
$line_width: 2px;
$line_offset: 6px;
.wrap {
height: 100%;
}
.grid {
position: absolute;
bottom: $axis-x_height;
top: 15px;
left: $axis-y_width;
right: 20px;
font-s... | 20.792517 | 102 | 0.611647 |
141d52942b4ff4a9fc096ff3f3cbe232a1b3c367 | 115 | ts | TypeScript | src/constants/index.ts | thecuriousbig/nateekul | b73251bb0bff0f0782aa9086e19ce7ffc8178f1e | [
"MIT"
] | null | null | null | src/constants/index.ts | thecuriousbig/nateekul | b73251bb0bff0f0782aa9086e19ce7ffc8178f1e | [
"MIT"
] | null | null | null | src/constants/index.ts | thecuriousbig/nateekul | b73251bb0bff0f0782aa9086e19ce7ffc8178f1e | [
"MIT"
] | null | null | null | import COMMON from './common'
import COLORS from './color'
import MAP from './map'
export { COMMON, COLORS, MAP }
| 19.166667 | 30 | 0.695652 |
b0908c633f0709f6002f5e1414100bb8b82462ba | 3,494 | py | Python | scripts/mkcpio.py | comptuzus/alchemy | 4e9423193422d212b718c0f95dc31e2fc6d004a3 | [
"BSD-3-Clause"
] | 17 | 2015-11-06T10:00:04.000Z | 2021-11-14T03:43:29.000Z | scripts/mkcpio.py | comptuzus/alchemy | 4e9423193422d212b718c0f95dc31e2fc6d004a3 | [
"BSD-3-Clause"
] | 5 | 2015-11-06T09:59:20.000Z | 2021-10-04T07:42:50.000Z | scripts/mkcpio.py | comptuzus/alchemy | 4e9423193422d212b718c0f95dc31e2fc6d004a3 | [
"BSD-3-Clause"
] | 20 | 2015-11-03T06:12:49.000Z | 2021-07-07T21:43:22.000Z | #===============================================================================
# Generate a file system image in 'cpio' format.
#===============================================================================
import os
import stat
#===============================================================================
#===... | 34.254902 | 80 | 0.398397 |
b0faea051e37499a50ef92a2362b1600ce64afee | 7,831 | py | Python | 00_Miscellaneous/text-similarity-analysis/etl/modules/pipeline.py | bmjhit/tf-estimator-tutorials | c6801e178b2a2c12286f49cb92ad81ae51743958 | [
"Apache-2.0"
] | 685 | 2018-01-18T03:25:08.000Z | 2022-03-19T06:54:02.000Z | 00_Miscellaneous/text-similarity-analysis/etl/modules/pipeline.py | bmjhit/tf-estimator-tutorials | c6801e178b2a2c12286f49cb92ad81ae51743958 | [
"Apache-2.0"
] | 9 | 2020-09-26T01:26:59.000Z | 2022-02-10T02:09:25.000Z | 00_Miscellaneous/text-similarity-analysis/etl/modules/pipeline.py | bmjhit/tf-estimator-tutorials | c6801e178b2a2c12286f49cb92ad81ae51743958 | [
"Apache-2.0"
] | 259 | 2018-01-22T12:00:44.000Z | 2022-03-12T22:57:10.000Z | #!/usr/bin/python
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 31.449799 | 94 | 0.659047 |
a42a08cffb3a8903f43a0ac9f86a70297567b51a | 700 | php | PHP | src/Domain/Event/ImageRegistered.php | Innmind/Library | 500048a0cb751ed821e7bc50a82e945453fae619 | [
"MIT"
] | null | null | null | src/Domain/Event/ImageRegistered.php | Innmind/Library | 500048a0cb751ed821e7bc50a82e945453fae619 | [
"MIT"
] | 8 | 2019-06-07T09:08:14.000Z | 2022-03-29T22:34:07.000Z | src/Domain/Event/ImageRegistered.php | Innmind/Library | 500048a0cb751ed821e7bc50a82e945453fae619 | [
"MIT"
] | null | null | null | <?php
declare(strict_types = 1);
namespace Domain\Event;
use Domain\Entity\Image\Identity;
use Innmind\Url\{
Path,
Query
};
final class ImageRegistered
{
private Identity $identity;
private Path $path;
private Query $query;
public function __construct(
Identity $identity,
Pat... | 16.27907 | 40 | 0.572857 |
54bff11757910d43e534ff08db95639366a3b782 | 3,847 | h | C | Engine/Source/Editor/Sequencer/Public/ISequencerKeyCollection.h | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Editor/Sequencer/Public/ISequencerKeyCollection.h | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Editor/Sequencer/Public/ISequencerKeyCollection.h | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class UMovieSceneSection;
class FSequencerDisplayNode;
class IKeyArea;
enum class EFindKeyDirection
{
Forwards, Backwards
};
struct FSequencerKeyCollectionSignature
{
FSequencerKeyCollectionSignature()
{}
/** In... | 39.255102 | 167 | 0.788407 |
f46d6b7092c5321dcf1b36ce725cf5d2818ef09c | 3,608 | cs | C# | TencentCloud/As/V20180419/Models/InternetAccessible.cs | TencentCloud/tencentcloud-sdk-dotnet-intl-en | 0cf98d17d670b8ba00c6ceb41f856b3d100572ae | [
"Apache-2.0"
] | 1 | 2020-12-07T13:02:41.000Z | 2020-12-07T13:02:41.000Z | TencentCloud/As/V20180419/Models/InternetAccessible.cs | TencentCloud/tencentcloud-sdk-dotnet-intl-en | 0cf98d17d670b8ba00c6ceb41f856b3d100572ae | [
"Apache-2.0"
] | 20 | 2021-04-26T00:59:24.000Z | 2021-04-26T00:59:43.000Z | TencentCloud/As/V20180419/Models/InternetAccessible.cs | TencentCloud/tencentcloud-sdk-dotnet-intl-en | 0cf98d17d670b8ba00c6ceb41f856b3d100572ae | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 52.289855 | 367 | 0.693736 |
45463c9983ef77308c2d9879bef9ecc62d62de8e | 1,905 | py | Python | hw1/code/VBEM.py | shinshiner/CS420-Machine-Learning | dacb1b5e5caef2be523a0b56af81db3f449049d0 | [
"MIT"
] | 6 | 2019-05-07T02:38:43.000Z | 2022-03-14T07:46:59.000Z | hw1/code/VBEM.py | shinshiner/CS420-Machine-Learning | dacb1b5e5caef2be523a0b56af81db3f449049d0 | [
"MIT"
] | null | null | null | hw1/code/VBEM.py | shinshiner/CS420-Machine-Learning | dacb1b5e5caef2be523a0b56af81db3f449049d0 | [
"MIT"
] | null | null | null | from sklearn.mixture import BayesianGaussianMixture
from dataset import Dataset
import numpy as np
import matplotlib.pyplot as plt
from copy import deepcopy
class VBEM(object):
def __init__(self, n_components = 1, verbose = 2, verbose_interval = 1,
Data = None):
'''
:param n_compon... | 28.863636 | 75 | 0.564829 |
e38db037220a0dd049e23e7fdd62e5045a71e7e0 | 5,858 | rb | Ruby | spec/models/ovrs/newborn_record_spec.rb | CDCgov/artemis | 57767f8a213212894873c38807937c9b95850592 | [
"Apache-2.0"
] | 1 | 2020-10-15T01:35:46.000Z | 2020-10-15T01:35:46.000Z | spec/models/ovrs/newborn_record_spec.rb | CDCgov/artemis | 57767f8a213212894873c38807937c9b95850592 | [
"Apache-2.0"
] | 2 | 2017-11-30T16:14:33.000Z | 2018-03-19T19:45:48.000Z | spec/models/ovrs/newborn_record_spec.rb | CDCgov/GaTech-Fall2017-Newborn-FHIRFighters | c9172b5ffcf9303811b98b4bb53421f0aaf6be9e | [
"Apache-2.0"
] | 1 | 2020-12-21T22:23:14.000Z | 2020-12-21T22:23:14.000Z | require 'rails_helper'
RSpec.describe OVRS::NewbornRecord, type: :model do
before { described_class.reload }
describe '.collection_cache_key' do
it 'returns a cacheable string' do
expect(described_class.collection_cache_key).to match %r{OVRS\/\d+}
end
end
it 'correctly loads the records from th... | 32.186813 | 84 | 0.639467 |
7f2b9506fe907aaede1cbda5876df7ed7521f67c | 187 | cs | C# | CommonAssemblyInfo.cs | thirkcircus/Obsolete | 68a96575eda0f3226b2f2e8333a302f1c13cafcc | [
"MIT"
] | null | null | null | CommonAssemblyInfo.cs | thirkcircus/Obsolete | 68a96575eda0f3226b2f2e8333a302f1c13cafcc | [
"MIT"
] | null | null | null | CommonAssemblyInfo.cs | thirkcircus/Obsolete | 68a96575eda0f3226b2f2e8333a302f1c13cafcc | [
"MIT"
] | null | null | null | using System.Reflection;
[assembly: AssemblyTitle("Obsolete")]
[assembly: AssemblyProduct("Obsolete")]
[assembly: AssemblyVersion("3.0.1")]
[assembly: AssemblyFileVersion("3.0.1")]
| 31.166667 | 41 | 0.73262 |
9c1d246ec6161c2b1b7e9ce77b0889fcb21f130d | 1,484 | lua | Lua | share/user_script.lua | paolofrb/cotson | 1289b58ecc5d8279bc1124495ca0042f9586af11 | [
"MIT"
] | null | null | null | share/user_script.lua | paolofrb/cotson | 1289b58ecc5d8279bc1124495ca0042f9586af11 | [
"MIT"
] | null | null | null | share/user_script.lua | paolofrb/cotson | 1289b58ecc5d8279bc1124495ca0042f9586af11 | [
"MIT"
] | null | null | null | #!/usr/bin/env lua
-- (C) Copyright 2009 Hewlett-Packard Development Company, L.P.
--
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-- TH... | 26.035088 | 77 | 0.650943 |
ffa89d65ac7556506d5cfedfa200390670df68be | 4,363 | py | Python | code/models/concrete_dropout.py | yannick-t/probabilistic_forecasting_of_energy_time_series_using_deep_learning | 98a2b12270e79045b8704e9d9cc506ffadb95127 | [
"CNRI-Python"
] | 2 | 2021-04-12T10:52:40.000Z | 2021-11-28T21:39:34.000Z | code/models/concrete_dropout.py | yannick-t/probabilistic_forecasting_of_energy_time_series_using_deep_learning | 98a2b12270e79045b8704e9d9cc506ffadb95127 | [
"CNRI-Python"
] | null | null | null | code/models/concrete_dropout.py | yannick-t/probabilistic_forecasting_of_energy_time_series_using_deep_learning | 98a2b12270e79045b8704e9d9cc506ffadb95127 | [
"CNRI-Python"
] | 1 | 2021-07-07T17:17:59.000Z | 2021-07-07T17:17:59.000Z | # Code based on https://github.com/yaringal/ConcreteDropout
# License:
# MIT License
#
# Copyright (c) 2017
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including wi... | 36.974576 | 137 | 0.654825 |
ccc974be19d548278ac9c66b09c01fcf1640af5b | 426 | sql | SQL | Databases Basics/07.FunctionsProcedures/13.ScalarFunction.sql | borisbotev/SoftUni | c5526bd7af209cc4d526d2d67ac6bf361b6b6e84 | [
"MIT"
] | null | null | null | Databases Basics/07.FunctionsProcedures/13.ScalarFunction.sql | borisbotev/SoftUni | c5526bd7af209cc4d526d2d67ac6bf361b6b6e84 | [
"MIT"
] | null | null | null | Databases Basics/07.FunctionsProcedures/13.ScalarFunction.sql | borisbotev/SoftUni | c5526bd7af209cc4d526d2d67ac6bf361b6b6e84 | [
"MIT"
] | null | null | null | CREATE FUNCTION dbo.ufn_CashInUsersGames (@gameName VARCHAR(MAX))
RETURNS @oddRowsTable TABLE (SumCash MONEY)
AS
BEGIN
INSERT INTO @oddRowsTable
SELECT SUM(ugg.Cash) AS Sum
FROM (
SELECT ug.Cash,
ROW_NUMBER() OVER (ORDER BY ug.Cash DESC) AS RowNumber,
g.Name
FROM UsersGames as ug
INNER JOIN Games as... | 23.666667 | 65 | 0.711268 |
45d6e8fc5196bec03798ec495a1ff8618b56f0f5 | 4,200 | py | Python | models/data/common.py | giorking/CenterNet_Pro_Max | dc50e7dd4b10eff5ad8f428641cc2f9a7ba01ce6 | [
"Apache-2.0"
] | 2 | 2020-05-05T07:08:05.000Z | 2020-06-19T03:20:21.000Z | models/data/common.py | cavalleria/CenterNet_Pro_Max | bf2f6708c83ca2cb716315bb1aaf71039f458746 | [
"Apache-2.0"
] | null | null | null | models/data/common.py | cavalleria/CenterNet_Pro_Max | bf2f6708c83ca2cb716315bb1aaf71039f458746 | [
"Apache-2.0"
] | 2 | 2020-03-29T01:41:18.000Z | 2020-04-19T04:06:31.000Z | #
# Copyright (c) 2020 jintian.
#
# This file is part of CenterNet_Pro_Max
# (see jinfagang.github.io).
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. ... | 31.818182 | 93 | 0.642619 |
b0e0509d819a7690d43c33a6a6ef1b7817c6a95a | 12,495 | py | Python | mlonmcu/setup/task.py | tum-ei-eda/mlonmcu | 0d5c114b85f2ae9e48e7d815bfce8df04c2bdb46 | [
"Apache-2.0"
] | 3 | 2022-03-07T09:38:12.000Z | 2022-03-24T09:28:36.000Z | mlonmcu/setup/task.py | tum-ei-eda/mlonmcu | 0d5c114b85f2ae9e48e7d815bfce8df04c2bdb46 | [
"Apache-2.0"
] | 24 | 2022-03-07T16:09:32.000Z | 2022-03-31T08:08:51.000Z | mlonmcu/setup/task.py | tum-ei-eda/mlonmcu | 0d5c114b85f2ae9e48e7d815bfce8df04c2bdb46 | [
"Apache-2.0"
] | 1 | 2022-03-07T09:38:17.000Z | 2022-03-07T09:38:17.000Z | #
# Copyright (c) 2022 TUM Department of Electrical and Computer Engineering.
#
# This file is part of MLonMCU.
# See https://github.com/tum-ei-eda/mlonmcu.git for further info.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You m... | 33.679245 | 108 | 0.504682 |
0a3617a47de3d3fb39eaeef306a28e7b1fc3d93a | 893 | sql | SQL | 03.TableRelationships/UniversityDatabase.sql | llukanov/SoftUni-Database-Basics | 5395d4d3e749884be7e028d445d24e148d6bc630 | [
"MIT"
] | null | null | null | 03.TableRelationships/UniversityDatabase.sql | llukanov/SoftUni-Database-Basics | 5395d4d3e749884be7e028d445d24e148d6bc630 | [
"MIT"
] | null | null | null | 03.TableRelationships/UniversityDatabase.sql | llukanov/SoftUni-Database-Basics | 5395d4d3e749884be7e028d445d24e148d6bc630 | [
"MIT"
] | null | null | null | CREATE DATABASE University
USE University
CREATE TABLE Majors (
[MajorID] INT IDENTITY NOT NULL PRIMARY KEY,
[Name] NVARCHAR(50) NOT NULL,
)
CREATE TABLE Students (
[StudentID] INT IDENTITY NOT NULL PRIMARY KEY,
[StudentNumber] INT NOT NULL,
[StudentName] NVARCHAR(50) NOT NULL,
[MajorID] INT NOT NULL FOREIGN K... | 27.060606 | 71 | 0.753639 |
a9dafc21b66b546ef1740fc86296da6c3ae5f540 | 3,182 | php | PHP | app/Http/Controllers/Admin/MenuController.php | yeniref/laravel-8-blog | ea570ec50c3512b122dcf6a0e6c32ed9fa29de8f | [
"MIT"
] | null | null | null | app/Http/Controllers/Admin/MenuController.php | yeniref/laravel-8-blog | ea570ec50c3512b122dcf6a0e6c32ed9fa29de8f | [
"MIT"
] | null | null | null | app/Http/Controllers/Admin/MenuController.php | yeniref/laravel-8-blog | ea570ec50c3512b122dcf6a0e6c32ed9fa29de8f | [
"MIT"
] | 1 | 2021-09-20T22:49:42.000Z | 2021-09-20T22:49:42.000Z | <?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Menu;
class MenuController extends Controller
{
public $timestamps = false;
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
pu... | 28.159292 | 101 | 0.548712 |