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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a46bee9663c83784b6794d84cf9c28ad5bda8c23 | 1,757 | php | PHP | models/Countries.php | hokode/OSA-Scorecarts-Admin-V2 | 7a092654c1503ee2dc0d6a0244a22adf56c2d0b1 | [
"BSD-3-Clause"
] | null | null | null | models/Countries.php | hokode/OSA-Scorecarts-Admin-V2 | 7a092654c1503ee2dc0d6a0244a22adf56c2d0b1 | [
"BSD-3-Clause"
] | null | null | null | models/Countries.php | hokode/OSA-Scorecarts-Admin-V2 | 7a092654c1503ee2dc0d6a0244a22adf56c2d0b1 | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace app\models;
use Yii;
use yii\helpers\ArrayHelper;
/**
* This is the model class for table "countries".
*
* @property string|null $_id
* @property string|null $active
* @property string|null $countryId
* @property string|null $countryName
* @property string|null $countryShortName
* @property s... | 24.068493 | 76 | 0.520774 |
547082059d0b0d03d258cc2773026c3f2a371c41 | 2,487 | css | CSS | apps/samples/main.css | vmturbo/flex-blazeds | 38a3280ca09213cb17331db8131789cba0d869d9 | [
"Apache-2.0"
] | null | null | null | apps/samples/main.css | vmturbo/flex-blazeds | 38a3280ca09213cb17331db8131789cba0d869d9 | [
"Apache-2.0"
] | null | null | null | apps/samples/main.css | vmturbo/flex-blazeds | 38a3280ca09213cb17331db8131789cba0d869d9 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | 18.021739 | 76 | 0.650985 |
2fb50e5b4764ca01181bd15c01a6ba221e3d8926 | 181,311 | py | Python | library/netapp-manageability-sdk-5.6/lib/python/NetApp/netapp_utils.py | Italux/python-mdszoning | e9126e5ee1f64105577db4afa74de33db88a80bf | [
"Apache-2.0"
] | null | null | null | library/netapp-manageability-sdk-5.6/lib/python/NetApp/netapp_utils.py | Italux/python-mdszoning | e9126e5ee1f64105577db4afa74de33db88a80bf | [
"Apache-2.0"
] | 2 | 2022-03-23T20:22:14.000Z | 2022-03-23T20:23:09.000Z | library/netapp-manageability-sdk-5.6/lib/python/NetApp/netapp_utils.py | italux/python-mdszoning | e9126e5ee1f64105577db4afa74de33db88a80bf | [
"Apache-2.0"
] | null | null | null | ############################################################################
# This module was auto-generated on Thu Oct 13 19:24:39 2016
# by using the 'system-api-list' api call from NetApp SDK for python.
# If you make changes to this module it will likely be broken the next time
# this file is auto-generated. If... | 31.051721 | 105 | 0.746893 |
a16960a34cd77801388be60ece4d46e570646fb9 | 3,104 | lua | Lua | packages/x/xz/xmake.lua | ImperatorS79/xmake-repo | b4cee6bcb2f8ff1ce9ab1dc1d6acccefe65f5304 | [
"Apache-2.0"
] | 241 | 2019-02-08T09:00:49.000Z | 2022-03-31T08:46:56.000Z | packages/x/xz/xmake.lua | ImperatorS79/xmake-repo | b4cee6bcb2f8ff1ce9ab1dc1d6acccefe65f5304 | [
"Apache-2.0"
] | 415 | 2019-02-08T09:25:24.000Z | 2022-03-31T07:57:04.000Z | packages/x/xz/xmake.lua | ImperatorS79/xmake-repo | b4cee6bcb2f8ff1ce9ab1dc1d6acccefe65f5304 | [
"Apache-2.0"
] | 189 | 2019-04-02T12:19:59.000Z | 2022-03-30T16:42:53.000Z | package("xz")
set_homepage("https://tukaani.org/xz/")
set_description("General-purpose data compression with high compression ratio.")
set_urls("https://downloads.sourceforge.net/project/lzmautils/xz-$(version).tar.gz",
"https://tukaani.org/xz/xz-$(version).tar.gz")
add_versions("5.2.5", ... | 41.945946 | 93 | 0.506121 |
24b009d138f4ec385f2f17d83119d4bb229caa0f | 5,906 | rs | Rust | src/core/mod.rs | nlanson/btc-hashes | cca8b416d99f50825354c9be4d8bc9c1a9bc5a58 | [
"MIT"
] | null | null | null | src/core/mod.rs | nlanson/btc-hashes | cca8b416d99f50825354c9be4d8bc9c1a9bc5a58 | [
"MIT"
] | null | null | null | src/core/mod.rs | nlanson/btc-hashes | cca8b416d99f50825354c9be4d8bc9c1a9bc5a58 | [
"MIT"
] | null | null | null | // Core module
//
// Where all the core parts of the Sha2 hash function family reside.
// This can be done because most parts are shared between the different
// hash functions.
pub mod message;
pub mod functions;
use std::ops::{
Add, Rem, BitXor, BitAnd, Not, Shr
};
use std::convert::TryFrom;
pub trait HashEngi... | 30.601036 | 222 | 0.575008 |
07801aebfacde940e90d3a787f17cb008a963c62 | 266 | css | CSS | src/themes/default/lbfUI/css/Gotop.css | webfrontzhifei/school_stytem | 89c5307c7514684860005b0e64e00944062b966b | [
"MIT"
] | 1 | 2017-06-02T10:27:45.000Z | 2017-06-02T10:27:45.000Z | src/themes/default/lbfUI/css/Gotop.css | webfrontzhifei/school_stytem | 89c5307c7514684860005b0e64e00944062b966b | [
"MIT"
] | null | null | null | src/themes/default/lbfUI/css/Gotop.css | webfrontzhifei/school_stytem | 89c5307c7514684860005b0e64e00944062b966b | [
"MIT"
] | null | null | null | .lbf-gotop {}
.lbf-gotop a { position:fixed; display:block; width:38px; height:38px; right:40px; bottom:35px; opacity:0.8; filter:alpha(opacity=80); background:url(../images/Gotop/gotop.png) no-repeat 0 0;}
.lbf-gotop a:hover { opacity:1; filter:alpha(opacity=100);} | 88.666667 | 192 | 0.729323 |
40b41e7b482068227eec19b176289c6630fadc19 | 1,862 | swift | Swift | CEF.swift/Handlers/CEFDragHandler.swift | awmcclain/CEF.swift | 620a4fdd0f2d131e9d87913dcf08d3ad96dabdf8 | [
"BSD-3-Clause"
] | 77 | 2015-09-28T08:33:06.000Z | 2022-01-26T16:05:40.000Z | CEF.swift/Handlers/CEFDragHandler.swift | awmcclain/CEF.swift | 620a4fdd0f2d131e9d87913dcf08d3ad96dabdf8 | [
"BSD-3-Clause"
] | 63 | 2015-09-03T19:18:01.000Z | 2022-01-17T12:54:58.000Z | CEF.swift/Handlers/CEFDragHandler.swift | awmcclain/CEF.swift | 620a4fdd0f2d131e9d87913dcf08d3ad96dabdf8 | [
"BSD-3-Clause"
] | 26 | 2015-09-28T08:21:58.000Z | 2021-11-11T13:51:22.000Z | //
// CEFDragHandler.swift
// CEF.swift
//
// Created by Tamas Lustyik on 2015. 08. 11..
// Copyright © 2015. Tamas Lustyik. All rights reserved.
//
import Foundation
public enum CEFOnDragEnterAction {
/// Perform the default drag handling behavior
case Accept
/// Cancel the drag event
case C... | 32.666667 | 88 | 0.690655 |
45ce5ccd85f1380d7754f2f92dc762699a2031cf | 1,152 | lua | Lua | lua/nvim-lsp-installer/servers/phpactor/init.lua | BliznyukNM/nvim-lsp-installer | 10f4fb17d982d2ced01552f3bd5bdd9987c3bb54 | [
"Apache-2.0"
] | 1,177 | 2021-04-05T00:41:15.000Z | 2022-03-31T15:31:21.000Z | lua/nvim-lsp-installer/servers/phpactor/init.lua | BliznyukNM/nvim-lsp-installer | 10f4fb17d982d2ced01552f3bd5bdd9987c3bb54 | [
"Apache-2.0"
] | 320 | 2021-04-05T16:51:05.000Z | 2022-03-31T06:08:47.000Z | lua/nvim-lsp-installer/servers/phpactor/init.lua | BliznyukNM/nvim-lsp-installer | 10f4fb17d982d2ced01552f3bd5bdd9987c3bb54 | [
"Apache-2.0"
] | 133 | 2021-04-08T08:44:01.000Z | 2022-03-31T23:15:46.000Z | local installers = require "nvim-lsp-installer.installers"
local path = require "nvim-lsp-installer.path"
local server = require "nvim-lsp-installer.server"
local composer = require "nvim-lsp-installer.installers.composer"
local std = require "nvim-lsp-installer.installers.std"
local context = require "nvim-lsp-install... | 37.16129 | 110 | 0.611111 |
cc5c121603c3eaf9c3845a5ddd7b6f593d168260 | 1,687 | ps1 | PowerShell | src/Test-ProgramInstalled.ps1 | stevenaubertin/powershell-repository | 3b238c2c633a458d3beed9d4a672163073e694c7 | [
"MIT"
] | null | null | null | src/Test-ProgramInstalled.ps1 | stevenaubertin/powershell-repository | 3b238c2c633a458d3beed9d4a672163073e694c7 | [
"MIT"
] | null | null | null | src/Test-ProgramInstalled.ps1 | stevenaubertin/powershell-repository | 3b238c2c633a458d3beed9d4a672163073e694c7 | [
"MIT"
] | null | null | null |
<#PSScriptInfo
.VERSION 1.0
.GUID 6164cc42-9e95-49eb-b8eb-d9f5285fdbb9
.AUTHOR stevenaubertin@gmail.com
.COMPANYNAME
.COPYRIGHT (c) 2018
.TAGS
.LICENSEURI https://github.com/stevenaubertin/powershell-repository/blob/master/LICENSE.md
.PROJECTURI https://github.com/stevenaubertin/powershell-repository
.ICONU... | 24.449275 | 143 | 0.7623 |
a48c277d7b0fd6617af1a1279b2c8a71e13d9590 | 1,646 | php | PHP | application/modules/transaksi/views/transaksi_read.php | purjayadi/project | a369fb0f8d7b9021bafb218bc3f73c4a766547b4 | [
"MIT"
] | null | null | null | application/modules/transaksi/views/transaksi_read.php | purjayadi/project | a369fb0f8d7b9021bafb218bc3f73c4a766547b4 | [
"MIT"
] | 1 | 2018-10-02T03:51:23.000Z | 2018-10-03T04:03:08.000Z | application/modules/transaksi/views/transaksi_read.php | purjayadi/project | a369fb0f8d7b9021bafb218bc3f73c4a766547b4 | [
"MIT"
] | 1 | 2018-09-15T05:08:17.000Z | 2018-09-15T05:08:17.000Z | <div class="col-md-6 col-xs-12" style="border: 1px solid #ccc">
<div class="x_panel">
<div class="x_title">
<h2>Detail Transaksi</h2>
<ul class="nav navbar-right panel_toolbox" style="min-width: 45px;">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></... | 51.4375 | 132 | 0.50243 |
0a6e977f4be21bbf7e87f52a4f5fc21c5af1600c | 270 | swift | Swift | Animatify/Extensions/FoundationExtensions.swift | Azzaknight/Animatify-ios | 3f328621c956e350e4e4ed6cd3285b26156fe4ac | [
"Apache-2.0"
] | null | null | null | Animatify/Extensions/FoundationExtensions.swift | Azzaknight/Animatify-ios | 3f328621c956e350e4e4ed6cd3285b26156fe4ac | [
"Apache-2.0"
] | null | null | null | Animatify/Extensions/FoundationExtensions.swift | Azzaknight/Animatify-ios | 3f328621c956e350e4e4ed6cd3285b26156fe4ac | [
"Apache-2.0"
] | 1 | 2020-07-13T13:15:23.000Z | 2020-07-13T13:15:23.000Z | //
// FoundationExtensions.swift
// Animatify
//
// Created by Shubham Singh on 27/06/20.
// Copyright © 2020 Shubham Singh. All rights reserved.
//
import UIKit
extension CGFloat {
func degreeToRadians() -> CGFloat {
return (self * .pi) / 180
}
}
| 16.875 | 56 | 0.640741 |
b8ae70c3353dce631e8c78fcfc6747774aed046d | 451 | h | C | install/halodi_msgs/include/halodi_msgs/msg/hand_command.h | AHGOverbeek/halodi-messages | 4286676cb85cc4d5b2684523c1482afc9eef6ec9 | [
"Apache-2.0"
] | null | null | null | install/halodi_msgs/include/halodi_msgs/msg/hand_command.h | AHGOverbeek/halodi-messages | 4286676cb85cc4d5b2684523c1482afc9eef6ec9 | [
"Apache-2.0"
] | 3 | 2020-11-05T14:53:41.000Z | 2021-04-27T13:40:47.000Z | install/halodi_msgs/include/halodi_msgs/msg/hand_command.h | AHGOverbeek/halodi-messages | 4286676cb85cc4d5b2684523c1482afc9eef6ec9 | [
"Apache-2.0"
] | 1 | 2021-10-05T14:08:08.000Z | 2021-10-05T14:08:08.000Z | // generated from rosidl_generator_c/resource/idl.h.em
// with input from halodi_msgs:msg/HandCommand.idl
// generated code does not contain a copyright notice
#ifndef HALODI_MSGS__MSG__HAND_COMMAND_H_
#define HALODI_MSGS__MSG__HAND_COMMAND_H_
#include "halodi_msgs/msg/hand_command__struct.h"
#include "halodi_msgs/ms... | 34.692308 | 55 | 0.842572 |
a3619d771a9cbfe040e225aedd6ad4d58a065033 | 14,912 | java | Java | src/main/scala/org/chocosolver/sat/PropSat.java | pablosjv/aco-spark | 37d33a8d8ef56b1e9e5f5b754162b7deba225cae | [
"Apache-2.0"
] | 5 | 2019-05-01T15:41:56.000Z | 2021-03-04T05:09:02.000Z | src/main/java/org/chocosolver/sat/PropSat.java | philippe3263/choco-solver | f0148cc864dac946271f5959a7e2a00ffe1d9f92 | [
"BSD-4-Clause"
] | null | null | null | src/main/java/org/chocosolver/sat/PropSat.java | philippe3263/choco-solver | f0148cc864dac946271f5959a7e2a00ffe1d9f92 | [
"BSD-4-Clause"
] | 1 | 2020-05-11T07:40:18.000Z | 2020-05-11T07:40:18.000Z | /**
* This file is part of choco-solver, http://choco-solver.org/
*
* Copyright (c) 2017, IMT Atlantique. All rights reserved.
*
* Licensed under the BSD 4-clause license.
* See LICENSE file in the project root for full license information.
*/
package org.chocosolver.sat;
import gnu.trove.list.TIntList;
import ... | 34.438799 | 136 | 0.526422 |
c99260ac37509aeffc16099f1e9eb13e13f72aca | 1,501 | tsx | TypeScript | src/components/Icons/Invention.tsx | oliversaternus/sudoku-app | 89908250f00f85bd8c007f282b6152b71dfa9231 | [
"Apache-2.0"
] | null | null | null | src/components/Icons/Invention.tsx | oliversaternus/sudoku-app | 89908250f00f85bd8c007f282b6152b71dfa9231 | [
"Apache-2.0"
] | null | null | null | src/components/Icons/Invention.tsx | oliversaternus/sudoku-app | 89908250f00f85bd8c007f282b6152b71dfa9231 | [
"Apache-2.0"
] | null | null | null | import React from 'react';
const Invention: React.FC<any> = (props) => {
return <svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
viewBox="0 0 64 64" {...props}>
<g>
<path d="M44.5,19.3c-3.7-3.5-8.5-5.1-13.6-4.8c-9.3,0.5-16.8,8.3-16.8,17.6c0,5.9,2.7,11.2,7.2,14.7v7.5... | 65.26087 | 137 | 0.541639 |
2c73725ca3b39956b4bf1a70c8be35bda0f04b78 | 3,592 | py | Python | berserker_resolver/resolver.py | DmitryFillo/berserker_resolver | 8f6aa8530b54d19de4bde3f3c84f566d875c3673 | [
"BSD-2-Clause"
] | 19 | 2015-02-28T17:45:06.000Z | 2022-03-22T10:36:44.000Z | berserker_resolver/resolver.py | DmitryFillo/berserker_resolver | 8f6aa8530b54d19de4bde3f3c84f566d875c3673 | [
"BSD-2-Clause"
] | 5 | 2015-08-08T09:57:50.000Z | 2018-01-03T15:47:48.000Z | berserker_resolver/resolver.py | DmitryFillo/berserker_resolver | 8f6aa8530b54d19de4bde3f3c84f566d875c3673 | [
"BSD-2-Clause"
] | 5 | 2015-04-09T17:09:15.000Z | 2020-11-02T15:04:46.000Z | import re
import random
import threading
import dns.resolver
import dns.exception
from berserker_resolver.utils import locked_iterator
class BaseResolver(object):
_regexp_www = re.compile(r'(?:www\.){1}(.+\..+)', re.I)
_regexp_www_combine = re.compile(r'(?:www\.)?(.+\..+)', re.I)
def __init__(self, *args... | 34.538462 | 135 | 0.552339 |
bb28a795f531bcc22d7d654b1bcc7a66c9400883 | 1,143 | cs | C# | test/Microsoft.EntityFrameworkCore.Microbenchmarks.Core/Models/Orders/Customer.cs | davidroth/EntityFrameworkCore | 7bdf5818b10389588d74ecc03ba766fe24850298 | [
"Apache-2.0"
] | null | null | null | test/Microsoft.EntityFrameworkCore.Microbenchmarks.Core/Models/Orders/Customer.cs | davidroth/EntityFrameworkCore | 7bdf5818b10389588d74ecc03ba766fe24850298 | [
"Apache-2.0"
] | null | null | null | test/Microsoft.EntityFrameworkCore.Microbenchmarks.Core/Models/Orders/Customer.cs | davidroth/EntityFrameworkCore | 7bdf5818b10389588d74ecc03ba766fe24850298 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
namespace Microsoft.EntityFrameworkCore.Microbenchmarks.Core.Models.Orders
{
public class Customer
... | 35.71875 | 111 | 0.64392 |
a8b42a6cc95fb7f4da9c07c7fcd44be70f2cee44 | 11,455 | rs | Rust | src/api/domain.rs | lightning-project/lightning | 1a1ac9e0017aab8118478059274b793597496011 | [
"Apache-2.0"
] | 1 | 2022-02-14T08:42:10.000Z | 2022-02-14T08:42:10.000Z | src/api/domain.rs | lightning-project/lightning | 1a1ac9e0017aab8118478059274b793597496011 | [
"Apache-2.0"
] | null | null | null | src/api/domain.rs | lightning-project/lightning | 1a1ac9e0017aab8118478059274b793597496011 | [
"Apache-2.0"
] | null | null | null | use crate::types::{
Dim, Dim1, Dim2, Dim3, Point, Point1, Point2, Point3, Rect1, Rect2, Rect3, MAX_DIMS,
};
use std::fmt::Debug;
use std::ops::{Bound, Range, RangeFrom, RangeFull, RangeInclusive, RangeTo, RangeToInclusive};
pub trait Shape {
fn into_dim(self) -> Dim;
fn from_dim(this: Dim) -> Self;
}
impl... | 21.056985 | 94 | 0.550153 |
d35805fa43f51d5781b3395ad5c369170cd8ab2b | 1,588 | sql | SQL | Day36-40/code/mooc_create_and_init.sql | EngrSaad2/Python-100-Days | ab0b26714b1df50d02a1433dc82f2a3fb025be5c | [
"Apache-2.0"
] | 6 | 2020-04-22T14:07:51.000Z | 2021-09-07T12:55:23.000Z | Day36-40/code/mooc_create_and_init.sql | 2462612540/Python-Language | a676d1274a04ff03f1aea0de9c58019d6ef8f5fe | [
"Apache-2.0"
] | 88 | 2019-10-31T12:30:02.000Z | 2020-08-14T12:17:12.000Z | Day36-40/code/mooc_create_and_init.sql | 2462612540/Python-Language | a676d1274a04ff03f1aea0de9c58019d6ef8f5fe | [
"Apache-2.0"
] | 4 | 2019-08-25T05:51:00.000Z | 2021-04-16T08:14:16.000Z | drop database if exists mooc1706;
create database mooc1706 default charset utf8;
use mooc1706;
create table tb_course_catalog
(
catid integer not null auto_increment,
catname varchar(20) not null,
catparent integer,
primary key (catid)
);
alter table tb_course_catalog add constraint fk_catalog_parent
foreign key (c... | 40.717949 | 64 | 0.781486 |
e234b69ab50440e7c0578315f4394c556724eb6f | 3,240 | py | Python | bench.py | Yamp/Lin-Kernighan | 88e3ef8c0f4ec91ba22a065466b2473725d86870 | [
"MIT"
] | 1 | 2021-07-24T02:50:52.000Z | 2021-07-24T02:50:52.000Z | bench.py | Lin-Kernighan/Lin-Kernighan | 88e3ef8c0f4ec91ba22a065466b2473725d86870 | [
"MIT"
] | 5 | 2020-02-01T10:44:09.000Z | 2020-05-24T10:39:14.000Z | bench.py | Yamp/Lin-Kernighan | 88e3ef8c0f4ec91ba22a065466b2473725d86870 | [
"MIT"
] | 1 | 2020-08-26T05:26:23.000Z | 2020-08-26T05:26:23.000Z | import logging
from time import time
import click
from lin_kernighan.algorithms.structures.matrix import adjacency_matrix
from lin_kernighan.algorithms.utils.generator import generator
from lin_kernighan.algorithms.utils.initial_tour import greedy
from lin_kernighan.lkh_search import LKHSearch
from lin_kernighan.tabu... | 38.117647 | 120 | 0.696605 |
71f8b7ac492b5ee033a726c710669ae944e0f170 | 10,559 | sql | SQL | parkiran.sql | izanagiwarrior/Parkiran | 304524887f707ca9aa90669580eb59559671fda8 | [
"MIT"
] | null | null | null | parkiran.sql | izanagiwarrior/Parkiran | 304524887f707ca9aa90669580eb59559671fda8 | [
"MIT"
] | null | null | null | parkiran.sql | izanagiwarrior/Parkiran | 304524887f707ca9aa90669580eb59559671fda8 | [
"MIT"
] | 1 | 2021-09-04T13:36:28.000Z | 2021-09-04T13:36:28.000Z | -- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 10, 2021 at 12:21 PM
-- Server version: 10.4.18-MariaDB
-- PHP Version: 8.0.5
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIEN... | 36.663194 | 174 | 0.655744 |
a9fbe71522aff7ddd6ae91d333e00de9b9bb312f | 3,589 | php | PHP | backend/views/layouts/main.php | madetec/map_backend | 783c6fa0e0f4def6278ff841d94ae72ebf4bf22d | [
"BSD-3-Clause"
] | null | null | null | backend/views/layouts/main.php | madetec/map_backend | 783c6fa0e0f4def6278ff841d94ae72ebf4bf22d | [
"BSD-3-Clause"
] | null | null | null | backend/views/layouts/main.php | madetec/map_backend | 783c6fa0e0f4def6278ff841d94ae72ebf4bf22d | [
"BSD-3-Clause"
] | null | null | null | <?php
use yii\helpers\Html;
/* @var $this \yii\web\View */
/* @var $content string */
if(!Yii::$app->user->isGuest){
$username = Yii::$app->user->identity->getUsername();
$userDetails = (object)Yii::$app->user->identity->getUserDetails($username);
}else{
$userDetails = null;
}
if (Yii::$app->controller-... | 38.591398 | 105 | 0.603511 |
44798f3a4674d1028faf766275f57c8d8a4eeb2d | 1,165 | py | Python | onadata/apps/main/service_health.py | BuildAMovement/whistler-kobocat | 7f61dd0761bb0aa5b27c909bcff8c29453d3311d | [
"BSD-2-Clause"
] | 1 | 2018-07-15T10:37:41.000Z | 2018-07-15T10:37:41.000Z | onadata/apps/main/service_health.py | BuildAMovement/whistler-kobocat | 7f61dd0761bb0aa5b27c909bcff8c29453d3311d | [
"BSD-2-Clause"
] | 48 | 2019-03-18T09:26:31.000Z | 2019-05-27T08:12:03.000Z | onadata/apps/main/service_health.py | BuildAMovement/whistler-kobocat | 7f61dd0761bb0aa5b27c909bcff8c29453d3311d | [
"BSD-2-Clause"
] | 1 | 2020-03-03T15:50:24.000Z | 2020-03-03T15:50:24.000Z | import requests
import time
from django.conf import settings
from django.http import HttpResponse
from onadata.apps.logger.models import Instance
def service_health(request):
''' Return a HTTP 200 if some very basic runtime tests of the application
pass. Otherwise, return HTTP 500 '''
any_failure = False... | 24.270833 | 79 | 0.618884 |
43ac9c304fd6acc0cdb630827e08e8625049aeae | 391 | tsx | TypeScript | packages/plugins/src/open-file/open-file-plugin.tsx | pmclachlan/blink-mind | f06440cad4dd42375c8badd6dfd76e6831420ec4 | [
"MIT"
] | null | null | null | packages/plugins/src/open-file/open-file-plugin.tsx | pmclachlan/blink-mind | f06440cad4dd42375c8badd6dfd76e6831420ec4 | [
"MIT"
] | null | null | null | packages/plugins/src/open-file/open-file-plugin.tsx | pmclachlan/blink-mind | f06440cad4dd42375c8badd6dfd76e6831420ec4 | [
"MIT"
] | null | null | null | import { ToolbarItemConfigs } from '@blink-mind/renderer-react';
import { ToolbarItemOpenFile } from './toolbar-item-openfile';
export function OpenFilePlugin() {
return {
customizeToolbar(props, next): ToolbarItemConfigs {
const res: ToolbarItemConfigs = next();
res.push({
order: 10,
... | 24.4375 | 64 | 0.649616 |
ff504605aee2a22e67f4ad5c4a503566aa4a2c79 | 635 | lua | Lua | content/levels/sample_animation/level.lua | Mutoxicated/ppl-utils | 302d39c380ee17bdd2cac0e1aadb20d32675e645 | [
"MIT"
] | 23 | 2020-10-12T22:17:12.000Z | 2022-03-11T01:28:38.000Z | content/levels/sample_animation/level.lua | Mutoxicated/ppl-utils | 302d39c380ee17bdd2cac0e1aadb20d32675e645 | [
"MIT"
] | 8 | 2020-10-22T19:56:41.000Z | 2022-01-28T18:34:37.000Z | content/levels/sample_animation/level.lua | Mutoxicated/ppl-utils | 302d39c380ee17bdd2cac0e1aadb20d32675e645 | [
"MIT"
] | 14 | 2020-10-22T17:40:09.000Z | 2022-03-07T19:53:56.000Z | -- Set how large the level will be.
pewpew.set_level_size(500fx, 500fx)
-- Create an entity at position (0,0) that will hold the background mesh.
local background = pewpew.new_customizable_entity(0fx, 0fx)
-- Animate the background.
local frame = 0
pewpew.add_update_callback(function()
frame = frame + 1
if frame ... | 28.863636 | 94 | 0.76063 |
38d30804609bb50f52bf628159627d18610b701e | 1,061 | php | PHP | database/migrations/2017_11_20_172948_create_feespayment_table.php | Nmwameso/drivingschool | 72a254935f9dc92951fa329204dac3bbbfb1f0de | [
"MIT"
] | 1 | 2018-01-10T17:04:46.000Z | 2018-01-10T17:04:46.000Z | database/migrations/2017_11_20_172948_create_feespayment_table.php | Nmwameso/drivingschool | 72a254935f9dc92951fa329204dac3bbbfb1f0de | [
"MIT"
] | null | null | null | database/migrations/2017_11_20_172948_create_feespayment_table.php | Nmwameso/drivingschool | 72a254935f9dc92951fa329204dac3bbbfb1f0de | [
"MIT"
] | null | null | null | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFeespaymentTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('feepayments... | 26.525 | 76 | 0.565504 |
99b5aa27634d4ea579f400a39c12e74581bb4a5f | 575 | sql | SQL | sql/project.sql | rurban/smolder | 929c6a5e14e82eb2d592f0df75e49d42f4e92fd1 | [
"BSD-3-Clause"
] | 10 | 2015-05-14T20:52:26.000Z | 2021-05-26T06:49:55.000Z | sql/project.sql | rurban/smolder | 929c6a5e14e82eb2d592f0df75e49d42f4e92fd1 | [
"BSD-3-Clause"
] | null | null | null | sql/project.sql | rurban/smolder | 929c6a5e14e82eb2d592f0df75e49d42f4e92fd1 | [
"BSD-3-Clause"
] | 2 | 2015-05-11T14:15:52.000Z | 2015-09-16T13:24:38.000Z | CREATE TABLE project (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
start_date INTEGER NOT NULL,
public INTEGER DEFAULT 1,
enable_feed INTEGER DEFAULT 1,
default_platform TEXT DEFAULT '',
default_arch TEXT ... | 33.823529 | 61 | 0.591304 |
a0dbe1e5cf98c97904cbd574edd687d0a30acd41 | 112 | sql | SQL | integration/tests/sqlite/table-column-name/fixtures.sql | pecigonzalo/schemahero | 230b52e32982e711b37c0802b85dbfb762e20a35 | [
"Apache-2.0"
] | 559 | 2019-05-01T13:56:21.000Z | 2022-03-31T19:48:01.000Z | integration/tests/sqlite/table-column-name/fixtures.sql | pecigonzalo/schemahero | 230b52e32982e711b37c0802b85dbfb762e20a35 | [
"Apache-2.0"
] | 312 | 2019-05-08T04:09:40.000Z | 2022-03-25T12:00:03.000Z | integration/tests/sqlite/table-column-name/fixtures.sql | pecigonzalo/schemahero | 230b52e32982e711b37c0802b85dbfb762e20a35 | [
"Apache-2.0"
] | 62 | 2019-07-30T01:10:11.000Z | 2022-02-14T19:48:04.000Z | CREATE TABLE `abcdefg` (`source_hash` text not null, `abcdefg` timestamp not null, primary key (`source_hash`)); | 112 | 112 | 0.75 |
79cf7fb2b95a3a7edae7f1ea114508c7715773aa | 998 | php | PHP | app/Mail/AdminOrderMail.php | krishnamishra9026/saga | 9ae912e910bb704f0190cc7181ce395560421d9d | [
"MIT"
] | null | null | null | app/Mail/AdminOrderMail.php | krishnamishra9026/saga | 9ae912e910bb704f0190cc7181ce395560421d9d | [
"MIT"
] | null | null | null | app/Mail/AdminOrderMail.php | krishnamishra9026/saga | 9ae912e910bb704f0190cc7181ce395560421d9d | [
"MIT"
] | null | null | null | <?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class AdminOrderMail extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instance.
*
* @return vo... | 21.695652 | 80 | 0.599198 |
05bb9b9ad2254542365473f8eea6244bad6729b1 | 554 | sql | SQL | openGaussBase/testcase/SQL/INNERFUNC/now/Opengauss_Function_Innerfunc_Now_Case0001.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/INNERFUNC/now/Opengauss_Function_Innerfunc_Now_Case0001.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/INNERFUNC/now/Opengauss_Function_Innerfunc_Now_Case0001.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint: now()函数用于where条件
select 1 from sys_dummy where now()<>now();
select 1 from sys_dummy where now()!=now();
select 1 from sys_dummy where now()=now();
select 1 from sys_dummy where now() > CURRENT_TIMESTAMP;
select 1 from sys_dummy where now()<CURRENT_TIMESTAMP;
select 1 from sys_dummy where now()<>CURRENT_... | 46.166667 | 56 | 0.777978 |
e03fafe7a6d2ab8fc998c6241203ce82a90d3200 | 912 | swift | Swift | Live3s/Module/StatisticModule/StatisticSession.swift | bksasuke/KTT | 0f33a3097473336aeee181a7e0b04107b815d73c | [
"MIT"
] | null | null | null | Live3s/Module/StatisticModule/StatisticSession.swift | bksasuke/KTT | 0f33a3097473336aeee181a7e0b04107b815d73c | [
"MIT"
] | null | null | null | Live3s/Module/StatisticModule/StatisticSession.swift | bksasuke/KTT | 0f33a3097473336aeee181a7e0b04107b815d73c | [
"MIT"
] | null | null | null | //
// StatisticSession.swift
// Live3s
//
// Created by codelover2 on 14/12/2015.
// Copyright © Năm 2015 com.phucnguyen. All rights reserved.
//
import Foundation
import SwiftyJSON
class StatisticSession {
let id: String?
let name: String?
let country_Id: String?
let league_logo: String?
init(... | 22.8 | 61 | 0.58443 |
12aafbd3fb273fb982fc2284a7c57408c00195b3 | 177 | cs | C# | ARMClient.Authentication/Contracts/TenantInfo.cs | jitinjohn/ARMClient | 59599e8dc166f4765a7a46b23658f4091cdbdf70 | [
"Apache-2.0"
] | 296 | 2015-01-12T04:36:54.000Z | 2022-03-09T01:26:14.000Z | ARMClient.Authentication/Contracts/TenantInfo.cs | jitinjohn/ARMClient | 59599e8dc166f4765a7a46b23658f4091cdbdf70 | [
"Apache-2.0"
] | 52 | 2015-01-12T20:07:28.000Z | 2021-11-10T03:58:38.000Z | ARMClient.Authentication/Contracts/TenantInfo.cs | jitinjohn/ARMClient | 59599e8dc166f4765a7a46b23658f4091cdbdf70 | [
"Apache-2.0"
] | 110 | 2015-01-29T01:05:51.000Z | 2022-01-26T22:37:05.000Z |
namespace ARMClient.Authentication.Contracts
{
internal class TenantInfo
{
public string id { get; set; }
public string tenantId { get; set; }
}
}
| 17.7 | 44 | 0.621469 |
55a0b3d7922c6a6c3d260ce4cb2f33be29314380 | 11,607 | sql | SQL | pp_dayup.sql | okki23/pp_dayup | beec56925c4cd020c44650f39ab4cebf019ecdfe | [
"MIT"
] | null | null | null | pp_dayup.sql | okki23/pp_dayup | beec56925c4cd020c44650f39ab4cebf019ecdfe | [
"MIT"
] | null | null | null | pp_dayup.sql | okki23/pp_dayup | beec56925c4cd020c44650f39ab4cebf019ecdfe | [
"MIT"
] | null | null | null | /*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MySQL
Source Server Version : 100132
Source Host : localhost:3306
Source Schema : pp_dayup
Target Server Type : MySQL
Target Server Version : 100132
File Encoding : 65001
Date: 06/08/2018... | 52.520362 | 1,187 | 0.696649 |
462c77f2ce34544e42fba4ef4f1c0ca27692d936 | 1,359 | php | PHP | app/Http/Controllers/PagesController.php | hossein-nas/AUSMT | 8a5ac59c1191fb9d514604c5d7aeac72b7d92d03 | [
"MIT"
] | null | null | null | app/Http/Controllers/PagesController.php | hossein-nas/AUSMT | 8a5ac59c1191fb9d514604c5d7aeac72b7d92d03 | [
"MIT"
] | null | null | null | app/Http/Controllers/PagesController.php | hossein-nas/AUSMT | 8a5ac59c1191fb9d514604c5d7aeac72b7d92d03 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Post;
use App\Incoming_event as Incoming;
use Illuminate\Http\Request;
use App\Http\Requests;
class PagesController extends Controller
{
public function about(){
$name = "Hossein Nasiri";
return view('pages.about',["first"=>"Hossein","last"=>"Nasiri"... | 27.734694 | 74 | 0.61663 |
084b1920006b744d92ade30630b3fea45eff9734 | 6,091 | lua | Lua | gamemode/modules/hud/sh_alert.lua | AlexSwift/vrzn | 1188b0a82c831ac6fc34787fad74d4d1a16f44ed | [
"MIT"
] | null | null | null | gamemode/modules/hud/sh_alert.lua | AlexSwift/vrzn | 1188b0a82c831ac6fc34787fad74d4d1a16f44ed | [
"MIT"
] | null | null | null | gamemode/modules/hud/sh_alert.lua | AlexSwift/vrzn | 1188b0a82c831ac6fc34787fad74d4d1a16f44ed | [
"MIT"
] | 1 | 2021-02-16T02:02:21.000Z | 2021-02-16T02:02:21.000Z |
AddCSLuaFile()
ALERT = {}
ALERT.__index = __index
ALERT.Items = {}
tblZones = {
rp_downtown_v2_insonic = {
{
name = "Cassino",
from = Vector(-5690, -8366, -200),
to = Vector(-3637, -7172, 500)
},
{
name = "Bairro Capitalista",
... | 32.057895 | 198 | 0.448202 |
ff5ee34cbb032159de8722c2021b6a308810f1e1 | 109 | py | Python | PW Crack #2/pass.py | AbrahamDevs/PicoCTF-WriteUps | 5277157d8af3ecebf013298aedba629ad0e38fda | [
"Unlicense"
] | null | null | null | PW Crack #2/pass.py | AbrahamDevs/PicoCTF-WriteUps | 5277157d8af3ecebf013298aedba629ad0e38fda | [
"Unlicense"
] | null | null | null | PW Crack #2/pass.py | AbrahamDevs/PicoCTF-WriteUps | 5277157d8af3ecebf013298aedba629ad0e38fda | [
"Unlicense"
] | null | null | null | #user_pw = chr(0x63) + chr(0x30) + chr(0x30) + chr(0x30)
print(chr(0x63) + chr(0x30) + chr(0x30) + chr(0x30)) | 54.5 | 56 | 0.623853 |
c69187268fb4755676c5f0a1322e1a24d93ec526 | 39 | py | Python | setup/brython/__init__.py | ranjian0/brython | 6dd5f2e3e89638d1607f118cf25f6b0375890381 | [
"BSD-3-Clause"
] | null | null | null | setup/brython/__init__.py | ranjian0/brython | 6dd5f2e3e89638d1607f118cf25f6b0375890381 | [
"BSD-3-Clause"
] | null | null | null | setup/brython/__init__.py | ranjian0/brython | 6dd5f2e3e89638d1607f118cf25f6b0375890381 | [
"BSD-3-Clause"
] | null | null | null | __version__ = implementation = "3.10.1" | 39 | 39 | 0.74359 |
da36159bad2d36fc38cecf52568fabd85bc6d29d | 1,419 | rb | Ruby | spec/unit/keyed_factory_spec.rb | yxchiwork/r10k | 29204764d7aa824801690ea388d7065a2b32e391 | [
"Apache-2.0"
] | 468 | 2015-01-04T08:14:57.000Z | 2022-03-13T14:24:15.000Z | spec/unit/keyed_factory_spec.rb | jantman/r10k | 4ec28c2178d016bb9afdbef0530e673492f068fb | [
"Apache-2.0"
] | 753 | 2015-01-02T20:30:16.000Z | 2022-03-31T18:59:18.000Z | spec/unit/keyed_factory_spec.rb | jantman/r10k | 4ec28c2178d016bb9afdbef0530e673492f068fb | [
"Apache-2.0"
] | 380 | 2015-01-06T18:23:00.000Z | 2022-03-30T09:43:31.000Z | require 'spec_helper'
require 'r10k/keyed_factory'
describe R10K::KeyedFactory do
let(:registered) { Class.new }
describe "registering implementations" do
it "can register new implementations" do
subject.register(:klass, registered)
expect(subject.retrieve(:klass)).to eq registered
end
i... | 27.288462 | 82 | 0.696265 |
10348eaab1b8150ab46744de2125f2f5fba898fb | 1,059 | dart | Dart | lib/src/flutter_danmaku_render.dart | a62527776a/flutter_danmaku | 51b7b18592b7166f519b0a27954950873dbca9ad | [
"MIT"
] | 31 | 2020-11-10T13:28:44.000Z | 2022-03-20T05:23:51.000Z | lib/src/flutter_danmaku_render.dart | a62527776a/flutter_danmaku | 51b7b18592b7166f519b0a27954950873dbca9ad | [
"MIT"
] | 2 | 2020-11-02T06:36:20.000Z | 2020-11-04T11:20:11.000Z | lib/src/flutter_danmaku_render.dart | a62527776a/flutter_danmaku | 51b7b18592b7166f519b0a27954950873dbca9ad | [
"MIT"
] | 3 | 2021-10-14T06:56:29.000Z | 2021-11-29T08:04:53.000Z | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_danmaku/src/config.dart';
import 'package:flutter_danmaku/src/flutter_danmaku_bullet.dart';
class FlutterDanmakuRenderManager {
Timer _timer;
Timer get timer => _timer;
void run(Function nextFrame, Function setState) {
_t... | 27.868421 | 137 | 0.703494 |
57ef465b608eac11ebb8798334bd1dcd10691629 | 727 | php | PHP | app/Modelos/Administracion/Destino.php | N0NameF0und/Invex | e6ff9ce22fad68099d6b0e1d958633407bb50071 | [
"MIT"
] | null | null | null | app/Modelos/Administracion/Destino.php | N0NameF0und/Invex | e6ff9ce22fad68099d6b0e1d958633407bb50071 | [
"MIT"
] | 4 | 2021-02-02T19:13:36.000Z | 2022-02-27T05:57:55.000Z | app/Modelos/Administracion/Destino.php | N0NameF0und/bod | d60c9a47b353ee2bb7cf672a0fc668f9efdcad14 | [
"MIT"
] | null | null | null | <?php
namespace App\Modelos\Administracion;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Eloquent\Model;
class Destino extends Model
{
public function Coleccionar() {
return DB::connection('sqlsrv')->select(
" Select Destino.cod_destino as Codigo,Destino.nombre_destino as Destino... | 25.068966 | 133 | 0.588721 |
8eeb6da63751551107a2d4c9e3bbc0642cb52675 | 8,472 | rs | Rust | tests/lib.rs | AxelNennker/bytebuffer-rs | 5d91ee5151cb1359a7925936d9b8b49e644e7637 | [
"Apache-2.0",
"MIT"
] | 6 | 2016-06-26T20:40:20.000Z | 2018-11-23T18:14:21.000Z | tests/lib.rs | AxelNennker/bytebuffer-rs | 5d91ee5151cb1359a7925936d9b8b49e644e7637 | [
"Apache-2.0",
"MIT"
] | 3 | 2019-08-17T10:20:14.000Z | 2020-07-23T16:35:48.000Z | tests/lib.rs | AxelNennker/bytebuffer-rs | 5d91ee5151cb1359a7925936d9b8b49e644e7637 | [
"Apache-2.0",
"MIT"
] | 6 | 2019-09-23T17:18:18.000Z | 2021-12-01T01:15:32.000Z | extern crate bytebuffer;
use bytebuffer::*;
use std::io::{Read, Write, ErrorKind};
#[test]
fn test_empty() {
let mut buffer = ByteBuffer::new();
buffer.write_u8(1);
assert_eq!(buffer.len(), 1);
}
#[test]
fn test_u8() {
let mut buffer = ByteBuffer::new();
buffer.write_u8(0xF0);
assert_eq!(buff... | 26.310559 | 119 | 0.640581 |
078d6f1eea53658e14e3b108f35d062ae09df3e4 | 31,574 | css | CSS | assets/css/hermit.css | hkmshb/lektor-theme-hermit | 9d00fd4efedd8d20fb64eacf3675512341541ae5 | [
"MIT"
] | null | null | null | assets/css/hermit.css | hkmshb/lektor-theme-hermit | 9d00fd4efedd8d20fb64eacf3675512341541ae5 | [
"MIT"
] | 1 | 2021-05-11T04:46:51.000Z | 2021-05-11T04:46:51.000Z | assets/css/hermit.css | hkmshb/lektor-theme-hermit | 9d00fd4efedd8d20fb64eacf3675512341541ae5 | [
"MIT"
] | null | null | null | @charset "UTF-8";
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
/* W... | 21.805249 | 1,105 | 0.598499 |
cf9ff3161d98d18cc5bb4cde9d88ae2270968134 | 280 | lua | Lua | src/resource/sys_script/Vec4.lua | degarashi/revenant | 9e671320a5c8790f6bdd1b14934f81c37819f7b3 | [
"MIT"
] | null | null | null | src/resource/sys_script/Vec4.lua | degarashi/revenant | 9e671320a5c8790f6bdd1b14934f81c37819f7b3 | [
"MIT"
] | null | null | null | src/resource/sys_script/Vec4.lua | degarashi/revenant | 9e671320a5c8790f6bdd1b14934f81c37819f7b3 | [
"MIT"
] | null | null | null | require("vector_common")
local tmp = {
_size = 4,
IsVec = function(a)
return VecC.IsVec(a) and a._size == 4
end,
_postfix = VecC.Postfix,
_metatable = VecC.Metatable,
_renamefunc =
RV.RenameFunc(
{"toVec2", "convert<2>"},
{"toVec3", "convert<3>"}
)
}
return tmp
| 17.5 | 39 | 0.639286 |
441df44b23a1317552d5a8d14ec3a46c96c346fa | 200 | py | Python | py_reportit/shared/repository/crawl.py | fedus/py_reportit | 46422cabb652571d8cce6c8e91a229009dcca141 | [
"MIT"
] | 1 | 2021-12-05T19:16:16.000Z | 2021-12-05T19:16:16.000Z | py_reportit/shared/repository/crawl.py | fedus/py_reportit | 46422cabb652571d8cce6c8e91a229009dcca141 | [
"MIT"
] | null | null | null | py_reportit/shared/repository/crawl.py | fedus/py_reportit | 46422cabb652571d8cce6c8e91a229009dcca141 | [
"MIT"
] | null | null | null | from py_reportit.shared.repository.abstract_repository import AbstractRepository
from py_reportit.shared.model.crawl import Crawl
class CrawlRepository(AbstractRepository[Crawl]):
model = Crawl
| 28.571429 | 80 | 0.845 |
ebea7801d8c693fd019e74cff3d2903c97401eee | 478 | css | CSS | src/components/VideoCard.css | shinheechae/shinheechae-YoutubeClone_ReactJS | 3c9171a00fee6803f57b28cfd1d81db640af8845 | [
"MIT"
] | 1 | 2022-02-20T04:34:17.000Z | 2022-02-20T04:34:17.000Z | src/components/VideoCard.css | shinheechae/shinheechae-YoutubeClone_ReactJS | 3c9171a00fee6803f57b28cfd1d81db640af8845 | [
"MIT"
] | null | null | null | src/components/VideoCard.css | shinheechae/shinheechae-YoutubeClone_ReactJS | 3c9171a00fee6803f57b28cfd1d81db640af8845 | [
"MIT"
] | null | null | null | .videoCard {
margin: 10px 10px 5px -5px;
display: flex;
flex-direction: column;
flex-wrap: wrap;
}
.videoCard__text {
width: 300px;
min-height: 120px;
}
@media screen and (max-width: 375px) {
.videoCard {
margin: 0px -200px 5px 0px;
display: flex;
flex-direction:... | 15.933333 | 38 | 0.537657 |
7f902e07a0ab9a29da73e48309424ee3de973c69 | 605 | php | PHP | framework/classes/TempFolder.php | WPPlugins/export2pdf | bf116bd63dc8622e998cd920af4e82ee84c31921 | [
"Apache-2.0",
"MIT"
] | null | null | null | framework/classes/TempFolder.php | WPPlugins/export2pdf | bf116bd63dc8622e998cd920af4e82ee84c31921 | [
"Apache-2.0",
"MIT"
] | 1 | 2018-08-01T15:44:12.000Z | 2018-08-01T15:44:12.000Z | framework/classes/TempFolder.php | export2pdf/export2pdf | 06af9d57ca678a931ce46055930854fa433a0baf | [
"Apache-2.0",
"MIT"
] | null | null | null | <?php
namespace Export2Pdf;
if ( ! defined( 'EXPORT2PDF_LOADED' ) )
die();
/**
* Temporary folder management
*/
class TempFolder extends TempFile
{
public function __construct( $extension = 'folder' )
{
parent::__construct( $extension );
@unlink( $this->path() );
@mkdir( $this->pat... | 15.125 | 84 | 0.543802 |
188da37adfa2a036bab10641b511653936823eb0 | 276 | swift | Swift | MotionCollector/Model/SensorData+CoreDataClass.swift | kursatbakis/MotionCollector | 6cce804c162058e9de23774295b5cbc03314e367 | [
"MIT"
] | 62 | 2018-04-21T11:35:20.000Z | 2022-03-16T08:51:46.000Z | MotionCollector/Model/SensorData+CoreDataClass.swift | kursatbakis/MotionCollector | 6cce804c162058e9de23774295b5cbc03314e367 | [
"MIT"
] | 7 | 2018-12-21T10:44:37.000Z | 2021-03-29T22:32:31.000Z | MotionCollector/Model/SensorData+CoreDataClass.swift | kursatbakis/MotionCollector | 6cce804c162058e9de23774295b5cbc03314e367 | [
"MIT"
] | 20 | 2018-04-21T11:35:21.000Z | 2022-02-09T14:37:24.000Z | //
// SensorData+CoreDataClass.swift
// MotionCollector
//
// Created by Aleksei Degtiarev on 05/03/2018.
// Copyright © 2018 Aleksei Degtiarev. All rights reserved.
//
//
import Foundation
import CoreData
@objc(SensorData)
public class SensorData: NSManagedObject {
}
| 16.235294 | 60 | 0.73913 |
835fe659cc6c5601c9db628f56cde2994e2d60fa | 731 | ts | TypeScript | packages/formatjs-extract-cldr-data/scripts/aggregateLocaleFiles.ts | guopengliang/formatjs | d70a27d33c8ff40cbb1b6d4ee2413b6d6bbf82ce | [
"BSD-3-Clause"
] | 1 | 2022-02-19T15:03:48.000Z | 2022-02-19T15:03:48.000Z | packages/formatjs-extract-cldr-data/scripts/aggregateLocaleFiles.ts | guopengliang/formatjs | d70a27d33c8ff40cbb1b6d4ee2413b6d6bbf82ce | [
"BSD-3-Clause"
] | null | null | null | packages/formatjs-extract-cldr-data/scripts/aggregateLocaleFiles.ts | guopengliang/formatjs | d70a27d33c8ff40cbb1b6d4ee2413b6d6bbf82ce | [
"BSD-3-Clause"
] | 1 | 2019-08-30T12:01:53.000Z | 2019-08-30T12:01:53.000Z |
import {resolve, dirname} from 'path'
import {sync as globSync} from 'glob'
import {outputFileSync} from 'fs-extra'
const dateFields: Record<string, string> = globSync('*/dateFields.json', {
cwd: resolve(
dirname(require.resolve('cldr-dates-full/package.json')),
'./main'
)
})
.reduc... | 29.24 | 83 | 0.599179 |
c24097c9f67822b892d15b89606c79a260280c6f | 4,735 | sql | SQL | database/_1364.sql | gurungr2/Leetcode | 51c21e0937dcd2c78f1fd1c665503c7f7ebd0f7e | [
"Apache-2.0"
] | 2 | 2021-04-03T17:12:12.000Z | 2021-09-28T08:13:04.000Z | database/_1364.sql | gurungr2/Leetcode | 51c21e0937dcd2c78f1fd1c665503c7f7ebd0f7e | [
"Apache-2.0"
] | null | null | null | database/_1364.sql | gurungr2/Leetcode | 51c21e0937dcd2c78f1fd1c665503c7f7ebd0f7e | [
"Apache-2.0"
] | 5 | 2020-09-29T13:32:12.000Z | 2021-10-04T15:43:05.000Z | --1364. Number of Trusted Contacts of a Customer
--
--Table: Customers
--
--+---------------+---------+
--| Column Name | Type |
--+---------------+---------+
--| customer_id | int |
--| customer_name | varchar |
--| email | varchar |
--+---------------+---------+
--customer_id is the primary key for... | 40.818966 | 174 | 0.448574 |
05fd786f14b4c86e9c09a66e55ac3ca22198d262 | 16,584 | py | Python | deploytools/drivers/gae/gae.py | LowieHuyghe/deploy-tools | b84a471adaaf86d4743075d077b7e83e0b334abf | [
"Apache-2.0"
] | null | null | null | deploytools/drivers/gae/gae.py | LowieHuyghe/deploy-tools | b84a471adaaf86d4743075d077b7e83e0b334abf | [
"Apache-2.0"
] | null | null | null | deploytools/drivers/gae/gae.py | LowieHuyghe/deploy-tools | b84a471adaaf86d4743075d077b7e83e0b334abf | [
"Apache-2.0"
] | null | null | null |
from deploytools.drivers.basedriver import BaseDriver
import os
import shutil
import re
from datetime import datetime
class Gae(BaseDriver):
def __init__(self, base_path, arguments=None):
"""
Construct the script
:param base_path: The base path
:param arguments: The arguments... | 40.154964 | 191 | 0.597745 |
5718ae88770927ad7aa41099d6a96c3079635572 | 624 | swift | Swift | FlatlandView/Utilities/KMDataPoint.swift | sjrankin/FlatlandView | e49731c36c7640dffa97b901db12675b789b7344 | [
"FSFAP"
] | null | null | null | FlatlandView/Utilities/KMDataPoint.swift | sjrankin/FlatlandView | e49731c36c7640dffa97b901db12675b789b7344 | [
"FSFAP"
] | 1 | 2020-08-24T04:22:48.000Z | 2020-08-24T04:23:41.000Z | FlatlandView/Utilities/KMDataPoint.swift | sjrankin/FlatlandView | e49731c36c7640dffa97b901db12675b789b7344 | [
"FSFAP"
] | null | null | null | //
// KMDataPoint.swift
// Flatland
//
// Created by Stuart Rankin on 7/5/20.
// Copyright © 2020 Stuart Rankin. All rights reserved.
//
import Foundation
/// K-Means clustering protocol. Algorithm adapted from _Classic Computer Science Problems in Swift_.
protocol KMDataPoint: CustomStringConvertible, Equatable
... | 24 | 101 | 0.6875 |
05e195d1cd62d5ea450782ae3389d7f3117f612c | 4,138 | rb | Ruby | spec/models/language_spec.rb | zirni/alchemy_cms | b7b56177b9108e62274c88867f27c3e642a8abfb | [
"BSD-3-Clause"
] | null | null | null | spec/models/language_spec.rb | zirni/alchemy_cms | b7b56177b9108e62274c88867f27c3e642a8abfb | [
"BSD-3-Clause"
] | null | null | null | spec/models/language_spec.rb | zirni/alchemy_cms | b7b56177b9108e62274c88867f27c3e642a8abfb | [
"BSD-3-Clause"
] | null | null | null | # encoding: UTF-8
require 'spec_helper'
module Alchemy
describe Language do
let(:default_language) { Alchemy::Language.default }
let(:language) { FactoryGirl.create(:klingonian) }
let(:page) { FactoryGirl.create(:page, language: language) }
it "should return a label for code" do
... | 33.918033 | 98 | 0.636539 |
8bd59a317ca8493d61fc81ff93b651dfcc7a743a | 2,113 | dart | Dart | test/features/todo/data/repositories/todo_reposirory_impl_test.dart | hit0907/clean_architecture_tdd_todo_flutter | 450842633739c2dd354dbc07b9379a5ed202e423 | [
"MIT"
] | null | null | null | test/features/todo/data/repositories/todo_reposirory_impl_test.dart | hit0907/clean_architecture_tdd_todo_flutter | 450842633739c2dd354dbc07b9379a5ed202e423 | [
"MIT"
] | null | null | null | test/features/todo/data/repositories/todo_reposirory_impl_test.dart | hit0907/clean_architecture_tdd_todo_flutter | 450842633739c2dd354dbc07b9379a5ed202e423 | [
"MIT"
] | null | null | null | import 'package:flutter_test/flutter_test.dart';
import 'package:clean_architecture_tdd_todo_flutter/features/todo/data/datasources/todo_data_source.dart';
import 'package:clean_architecture_tdd_todo_flutter/features/todo/data/models/todo_model.dart';
import 'package:clean_architecture_tdd_todo_flutter/features/todo/da... | 36.431034 | 111 | 0.747752 |
f60b2bff941743aab59e7234d6a06828b5cdebf4 | 2,096 | cpp | C++ | Algorithms/0140.Word_Break_II.cpp | metehkaya/LeetCode | 52f4a1497758c6f996d515ced151e8783ae4d4d2 | [
"MIT"
] | 2 | 2020-07-20T06:40:22.000Z | 2021-11-20T01:23:26.000Z | Problems/LeetCode/Problems/0140.Word_Break_II.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | Problems/LeetCode/Problems/0140.Word_Break_II.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | typedef vector<int> vi;
typedef vector<string> vs;
class Node {
public:
bool isWord;
vector<Node*> child;
Node() {
isWord = false;
child.resize(26,NULL);
}
}*root;
class Solution {
public:
void solve(int i , int n , string& s , vi& last , string& word , vs& ans) {
if(i == n... | 27.946667 | 79 | 0.354485 |
c65e7dc05596c08e9c11daf4428fa796f34a95e8 | 1,514 | py | Python | Stream-2/Back-End-Development/8.Conways-Game-Of-Life/3.Creating-&-Drawing-Cells/game_of_life.py | GunnerJnr/_CodeInstitute | efba0984a3dc71558eef97724c85e274a712798c | [
"MIT"
] | 4 | 2017-10-10T14:00:40.000Z | 2021-01-27T14:08:26.000Z | Stream-2/Back-End-Development/8.Conways-Game-Of-Life/3.Creating-&-Drawing-Cells/game_of_life.py | GunnerJnr/_CodeInstitute | efba0984a3dc71558eef97724c85e274a712798c | [
"MIT"
] | 115 | 2019-10-24T11:18:33.000Z | 2022-03-11T23:15:42.000Z | Stream-2/Back-End-Development/8.Conways-Game-Of-Life/3.Creating-&-Drawing-Cells/game_of_life.py | GunnerJnr/_CodeInstitute | efba0984a3dc71558eef97724c85e274a712798c | [
"MIT"
] | 5 | 2017-09-22T21:42:39.000Z | 2020-02-07T02:18:11.000Z | # import the system and pygame files needed
import random
import sys
import pygame
# import our newly created colours file
from colours import dark_blue, green, black
# define our grid method
def draw_grid():
for x in range(0, width, cell_size):
pygame.draw.line(screen, dark_blue, (x, 0), (x, height))
... | 29.686275 | 91 | 0.686922 |
0d83f0382768a84c1c67d2d0461f322cf1599b98 | 3,173 | c | C | talker/src/gpiotalker.c | sdkie3802dhsdkh3ioiuz/gpio_thermostat | 59fbb6d55f503c8523491b7dd37630998db27024 | [
"0BSD"
] | 2 | 2021-04-23T20:56:08.000Z | 2021-05-23T17:59:45.000Z | talker/src/gpiotalker.c | gagsports/gpio_thermostat | 84e066eb279ae0b3c262da3702dc403e9387b7f2 | [
"BSD-3-Clause"
] | null | null | null | talker/src/gpiotalker.c | gagsports/gpio_thermostat | 84e066eb279ae0b3c262da3702dc403e9387b7f2 | [
"BSD-3-Clause"
] | 2 | 2021-04-15T07:03:21.000Z | 2021-04-15T13:32:34.000Z | /* modified version of Brian "Beej Jorgensen" Hall's talker.c
** gpiotalker.c
** Compile the code below as a regular user by doing clang -o
** gpiotalker gpiotalker.c. Then copy gpiotalker to /usr/local/bin
** and /sbin/chown root._gpiotalker /usr/local/bin/gpiotalker ;
** /bin/chmod 755 /usr/local/bin/gpiotalke... | 34.11828 | 77 | 0.488182 |
07439ed5062a850ea6e07770be9c08d08a871937 | 884 | sql | SQL | EmployeeSQL/table_schemata.sql | rbvancleave/sql-challenge | 97af5f7be151fd013e9cf1efa8882b014c66f4c5 | [
"ADSL"
] | null | null | null | EmployeeSQL/table_schemata.sql | rbvancleave/sql-challenge | 97af5f7be151fd013e9cf1efa8882b014c66f4c5 | [
"ADSL"
] | null | null | null | EmployeeSQL/table_schemata.sql | rbvancleave/sql-challenge | 97af5f7be151fd013e9cf1efa8882b014c66f4c5 | [
"ADSL"
] | null | null | null | CREATE TABLE titles (
title_id VARCHAR, title VARCHAR,
PRIMARY KEY (title_id)
);
CREATE TABLE employees (
emp_no INT NOT NULL, emp_title_id VARCHAR, birth_date DATE, first_name VARCHAR,
last_name VARCHAR, sex VARCHAR, hire_date DATE, PRIMARY KEY (emp_no),
FOREIGN KEY (emp_title_id) REFERENCES titles(title_id)
);... | 24.555556 | 80 | 0.770362 |
bd817b62e5ec9cedd6a359878187ee9b466718e0 | 1,038 | swift | Swift | GameOn/UI/Screen/NewReleaseView.swift | mrandika/ios-gameon | 39610982c6bd975bbfcc13ebd4115c68f317cb89 | [
"MIT"
] | null | null | null | GameOn/UI/Screen/NewReleaseView.swift | mrandika/ios-gameon | 39610982c6bd975bbfcc13ebd4115c68f317cb89 | [
"MIT"
] | null | null | null | GameOn/UI/Screen/NewReleaseView.swift | mrandika/ios-gameon | 39610982c6bd975bbfcc13ebd4115c68f317cb89 | [
"MIT"
] | null | null | null | //
// NewReleaseView.swift
// GameOn
//
// Created by Andika on 05/08/21.
//
import SwiftUI
import SwiftUIX
struct NewReleaseView: View {
@ObservedObject var newReleaseGameViewModel: NewReleaseGameViewModel
var body: some View {
NavigationView {
ContentContainer(isLoading: $newReleaseG... | 28.054054 | 78 | 0.608863 |
c95e0bb5ddabc8a29737ed73d653d02c50d94741 | 1,754 | ts | TypeScript | src/common/logging.schema.ts | Swanee84/got_calculator | 93c75cc4e4b39cd362d1ab22e5ba5127944077ee | [
"MIT"
] | null | null | null | src/common/logging.schema.ts | Swanee84/got_calculator | 93c75cc4e4b39cd362d1ab22e5ba5127944077ee | [
"MIT"
] | null | null | null | src/common/logging.schema.ts | Swanee84/got_calculator | 93c75cc4e4b39cd362d1ab22e5ba5127944077ee | [
"MIT"
] | null | null | null | // import { Schema } from '@nestjs/mongoose'
import { Document, Schema, model } from 'mongoose';
export const LoggingSchema = new Schema({
method: { type: String, required: false },
url: { type: String, required: false },
params: { type: Object, required: false },
body: { type: Object, required: false },
que... | 28.754098 | 87 | 0.685861 |
96cfe04f3df897eada9a932d1400fa62acadc8d7 | 4,455 | kt | Kotlin | test/base/src/jvmTest/kotlin/io/realm/test/compiler/PrimaryKeyTests.kt | Reedyuk/realm-kotlin | 922029489c82ba16844263673af7296469c8b234 | [
"DOC"
] | 2 | 2021-12-20T05:32:37.000Z | 2021-12-20T05:32:44.000Z | test/base/src/jvmTest/kotlin/io/realm/test/compiler/PrimaryKeyTests.kt | Reedyuk/realm-kotlin | 922029489c82ba16844263673af7296469c8b234 | [
"DOC"
] | null | null | null | test/base/src/jvmTest/kotlin/io/realm/test/compiler/PrimaryKeyTests.kt | Reedyuk/realm-kotlin | 922029489c82ba16844263673af7296469c8b234 | [
"DOC"
] | null | null | null | /*
* Copyright 2021 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 38.73913 | 124 | 0.584961 |
e2762a4f1be918db3a2835ab9f8a0611f2920374 | 713 | py | Python | apps/core/logic/url.py | techlib/celus | f32a7a22be5f4613dcac10b8e02c5c5a9bc297cb | [
"MIT"
] | 7 | 2020-02-20T13:24:40.000Z | 2022-01-28T19:36:04.000Z | apps/core/logic/url.py | techlib/celus | f32a7a22be5f4613dcac10b8e02c5c5a9bc297cb | [
"MIT"
] | 15 | 2020-04-28T13:09:02.000Z | 2021-11-03T15:21:24.000Z | apps/core/logic/url.py | techlib/celus | f32a7a22be5f4613dcac10b8e02c5c5a9bc297cb | [
"MIT"
] | 4 | 2020-02-20T13:48:30.000Z | 2021-03-19T00:33:34.000Z | def extract_organization_id_from_request_query(request):
return request.query_params.get('organization') or request.query_params.get('organization_id')
def extract_organization_id_from_request_data(request) -> (int, bool):
"""
Returns the organization id from the request.data and a bool indicating if the ... | 39.611111 | 98 | 0.71108 |
53a18adbddb60e901f5052279bdc354c752a6454 | 1,516 | lua | Lua | src/InitializeLevel.lua | ArneSchwettmann/ArnesSpaceTaxi | 6a2791e04302b3d4755c28bc323d57714a885186 | [
"Apache-2.0"
] | 6 | 2017-05-15T18:59:42.000Z | 2021-02-14T17:50:43.000Z | src/InitializeLevel.lua | ArneSchwettmann/ArnesSpaceTaxi | 6a2791e04302b3d4755c28bc323d57714a885186 | [
"Apache-2.0"
] | 1 | 2020-02-05T06:50:51.000Z | 2021-11-24T16:05:13.000Z | src/InitializeLevel.lua | ArneSchwettmann/ArnesSpaceTaxi | 6a2791e04302b3d4755c28bc323d57714a885186 | [
"Apache-2.0"
] | 1 | 2020-02-05T06:31:13.000Z | 2020-02-05T06:31:13.000Z | -- Object order: forceField,player,passenger
function initializeLevel(levelNr)
background={}
backgroundMask={}
passengerRespawnPoints={}
playerRespawnPoints={}
loadBackgroundImages(levelNr)
timeSinceLastPassenger=50
if levelNr==1 then
objects={}
playerReferences={}
re... | 27.563636 | 61 | 0.616095 |
79c236b9b265d146f21eeaf3b2fdc617d9ee8d91 | 502 | php | PHP | app/Helpers/general.php | Vermouth5214/stok | f18e87a977cb98fe5a3ce346fde08c1686c3d88c | [
"MIT"
] | null | null | null | app/Helpers/general.php | Vermouth5214/stok | f18e87a977cb98fe5a3ce346fde08c1686c3d88c | [
"MIT"
] | null | null | null | app/Helpers/general.php | Vermouth5214/stok | f18e87a977cb98fe5a3ce346fde08c1686c3d88c | [
"MIT"
] | null | null | null | <?php
use Illuminate\Support\Facades\Cache;
use App\Model\User;
use App\Model\AccessControl;
function getUserAccess($id){
$access_control = AccessControl::with('module')->where('user_level_id', $id)->get();
$role = [];
foreach ($access_control as $data):
$role[$data->user_level_id][$data->module->slug] = $data-... | 20.916667 | 85 | 0.685259 |
e0905c05a9dfe6505b331b2b7a7c9da0d73f46db | 729 | h | C | src/tools/tools/include/halley/tools/project/build_project_task.h | mjopenglsdl/halley | 68b4bd0845569fa2bafaa72bef3926795f0a6d9b | [
"Apache-2.0"
] | null | null | null | src/tools/tools/include/halley/tools/project/build_project_task.h | mjopenglsdl/halley | 68b4bd0845569fa2bafaa72bef3926795f0a6d9b | [
"Apache-2.0"
] | null | null | null | src/tools/tools/include/halley/tools/project/build_project_task.h | mjopenglsdl/halley | 68b4bd0845569fa2bafaa72bef3926795f0a6d9b | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "halley/support/logger.h"
#include "halley/tools/tasks/editor_task.h"
#include <regex>
namespace Halley {
class Project;
class BuildProjectTask : public EditorTask, ILoggerSink {
public:
BuildProjectTask(Project& project);
protected:
void run() override;
void log(... | 20.25 | 64 | 0.707819 |
b6f21029f729d49499feae9bd58c94cd6df377c5 | 543 | rb | Ruby | generators/app/templates/rubyspec.rb | thekar22/rubytdd | 27ea60f3055e42e7464fbb2aa09a9a5bae985095 | [
"MIT"
] | null | null | null | generators/app/templates/rubyspec.rb | thekar22/rubytdd | 27ea60f3055e42e7464fbb2aa09a9a5bae985095 | [
"MIT"
] | null | null | null | generators/app/templates/rubyspec.rb | thekar22/rubytdd | 27ea60f3055e42e7464fbb2aa09a9a5bae985095 | [
"MIT"
] | null | null | null | require "<%= filename %>"
require "benchmark"
describe <%= classname %> do
before :each do
puts "before each test"
end
before :all do
puts "before all tests"
end
after :each do
puts "after each test"
end
after :all do
puts "after all tests"
end
describe "#meth1" do
context "particular scenario ... | 14.289474 | 43 | 0.64825 |
2d7968ee3a7d79f5b96d7efd3c98a04bd37846dd | 246 | css | CSS | Semifinal/speech_order/pizza/static/pizza/css/index.css | illia-v/UAWebChallenge-IX | 707abd9800c6464776b4465d363d81f4d6148e1c | [
"MIT"
] | null | null | null | Semifinal/speech_order/pizza/static/pizza/css/index.css | illia-v/UAWebChallenge-IX | 707abd9800c6464776b4465d363d81f4d6148e1c | [
"MIT"
] | null | null | null | Semifinal/speech_order/pizza/static/pizza/css/index.css | illia-v/UAWebChallenge-IX | 707abd9800c6464776b4465d363d81f4d6148e1c | [
"MIT"
] | null | null | null | form {
margin-bottom: 10px;
}
h3 {
margin-bottom: 1px;
}
p {
margin: 0;
}
input {
margin-right: 5px;
}
button {
margin: 5px 5px auto auto;
}
img {
display: inline;
vertical-align: middle;
/*margin-bottom: -6px;*/
} | 12.3 | 30 | 0.569106 |
fa00a48cd5d730f82d4e5fd8aaa7d0388128ec4d | 1,046 | kt | Kotlin | app/src/main/java/com/dolphin/traverse/database/PointDatabase.kt | oWen0019/TraverseSurvey | c7d8b23aa36a41bab76ee6840bb549ab796b4715 | [
"Apache-2.0"
] | 1 | 2022-03-22T13:17:03.000Z | 2022-03-22T13:17:03.000Z | app/src/main/java/com/dolphin/traverse/database/PointDatabase.kt | oWen0019/TraverseSurvey | c7d8b23aa36a41bab76ee6840bb549ab796b4715 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/dolphin/traverse/database/PointDatabase.kt | oWen0019/TraverseSurvey | c7d8b23aa36a41bab76ee6840bb549ab796b4715 | [
"Apache-2.0"
] | null | null | null | package com.dolphin.traverse.database
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import com.dolphin.traverse.dao.ControlPointDao
import com.dolphin.traverse.dao.DxPointDao
import com.dolphin.traverse.entitiy.ControlPoint
import com.dolphin.t... | 28.27027 | 72 | 0.66348 |
fd9c0ed5fe89f412b5ce643a4015c2e95a14d21b | 272 | css | CSS | src/app/components/quote-details/quote-details.component.css | eddygero/Quotes | 79767d3f94989587cca6b5a69b22004fba3beb1b | [
"MIT"
] | null | null | null | src/app/components/quote-details/quote-details.component.css | eddygero/Quotes | 79767d3f94989587cca6b5a69b22004fba3beb1b | [
"MIT"
] | null | null | null | src/app/components/quote-details/quote-details.component.css | eddygero/Quotes | 79767d3f94989587cca6b5a69b22004fba3beb1b | [
"MIT"
] | null | null | null | .card-footer {
padding: 1%;
margin-bottom: 0 !important;
background-color: rgb(248, 188, 188);
}
button { /*positions all buttons*/
float: right;
background: linear-gradient(90deg, rgba(61, 223, 235, 0.945) 0%, rgb(14, 250, 199) 50%, rgb(74, 238, 33) 100% );
} | 27.2 | 114 | 0.639706 |
2591b48e7804fdcc560cae929b760e63b7330643 | 2,756 | cs | C# | Defines/glLogicOpMode.cs | whaqzhzd/OpenGL.Core | 93f8d24bc901a697b5b080820cb0a83c4659c809 | [
"MIT"
] | 14 | 2015-12-26T07:47:06.000Z | 2020-12-23T10:18:10.000Z | Defines/glLogicOpMode.cs | whaqzhzd/OpenGL.Core | 93f8d24bc901a697b5b080820cb0a83c4659c809 | [
"MIT"
] | 1 | 2016-06-20T00:11:17.000Z | 2016-06-20T00:11:17.000Z | Defines/glLogicOpMode.cs | whaqzhzd/OpenGL.Core | 93f8d24bc901a697b5b080820cb0a83c4659c809 | [
"MIT"
] | 6 | 2018-04-15T03:42:33.000Z | 2022-02-16T12:20:34.000Z | #region Copyright and License
// Copyright (c) 2013-2014 The Khronos Group Inc.
// Copyright (c) of C# port 2014 by Shinta <shintadono@googlemail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and/or associated documentation files (the
// "Materials"), to de... | 24.389381 | 74 | 0.65566 |
f45126dc0b3641ebc80f0652a1b25bcf05d55551 | 3,169 | cs | C# | IosImagePickerSampleProject/Assets/ToggleGroupController.cs | lupidan/unity-ios-image-picker | af82eaf0240e3a99f1e7fb0e3c34d19d8833f381 | [
"MIT"
] | null | null | null | IosImagePickerSampleProject/Assets/ToggleGroupController.cs | lupidan/unity-ios-image-picker | af82eaf0240e3a99f1e7fb0e3c34d19d8833f381 | [
"MIT"
] | null | null | null | IosImagePickerSampleProject/Assets/ToggleGroupController.cs | lupidan/unity-ios-image-picker | af82eaf0240e3a99f1e7fb0e3c34d19d8833f381 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using UnityEngine.UI;
namespace DefaultNamespace
{
public class ToggleGroupController<T> : IInterfaceController
{
private readonly T[] values;
private readonly Text[] labels;
private readonly Toggle[] toggles;
private readonly Func... | 35.211111 | 99 | 0.546229 |
7997a2c0aa5b18aa9d02e80d99e1c931fcfa1aac | 791 | php | PHP | app/Http/Controllers/HomeController.php | RafaelMunareto/pertence_it_laravel_puro | f8b586cd6ff18878955e7771a1adb704dae929cd | [
"MIT"
] | null | null | null | app/Http/Controllers/HomeController.php | RafaelMunareto/pertence_it_laravel_puro | f8b586cd6ff18878955e7771a1adb704dae929cd | [
"MIT"
] | null | null | null | app/Http/Controllers/HomeController.php | RafaelMunareto/pertence_it_laravel_puro | f8b586cd6ff18878955e7771a1adb704dae929cd | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Usuario;
use App\Historico;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public funct... | 18.833333 | 62 | 0.585335 |
ddb1f4d5e8718bef20ec554acaa05941f85222f9 | 3,417 | java | Java | src/main/java/iti/suitceyes/ontology/TestOntology.java | Suitceyes-Project/Semantics | 17091cb85f503ce5f864f514086f37099ac4d238 | [
"Apache-2.0"
] | null | null | null | src/main/java/iti/suitceyes/ontology/TestOntology.java | Suitceyes-Project/Semantics | 17091cb85f503ce5f864f514086f37099ac4d238 | [
"Apache-2.0"
] | null | null | null | src/main/java/iti/suitceyes/ontology/TestOntology.java | Suitceyes-Project/Semantics | 17091cb85f503ce5f864f514086f37099ac4d238 | [
"Apache-2.0"
] | null | null | null | package iti.suitceyes.ontology;
import java.io.IOException;
import java.io.InputStream;
import java.util.Iterator;
import org.eclipse.rdf4j.model.Model;
import org.eclipse.rdf4j.model.Resource;
import org.eclipse.rdf4j.model.Statement;
import org.eclipse.rdf4j.model.impl.TreeModel;
import org.eclipse.rdf4j.model.voca... | 42.185185 | 121 | 0.794849 |
ddd5863627ef3c78dddadfb6e8bab86a10cfe40a | 3,482 | java | Java | sdk/arena-java-sdk/src/main/java/com/github/kubeflow/arena/model/training/TrainingJobInfo.java | thliang01/arena | 8ec9325f4927744bb10483dac0b9399faf12ef12 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/arena-java-sdk/src/main/java/com/github/kubeflow/arena/model/training/TrainingJobInfo.java | thliang01/arena | 8ec9325f4927744bb10483dac0b9399faf12ef12 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/arena-java-sdk/src/main/java/com/github/kubeflow/arena/model/training/TrainingJobInfo.java | thliang01/arena | 8ec9325f4927744bb10483dac0b9399faf12ef12 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | package com.github.kubeflow.arena.model.training;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONType;
import com.github.kubeflow.arena.enums.TrainingJobStatus;
import com.github.kubeflow.arena.enums.TrainingJo... | 26.992248 | 88 | 0.677197 |
a4a57706610e01040f86d7424541d9ec50642fb2 | 5,504 | php | PHP | templates/zoneimport.php | robertpenz/dns-ui | 15da9f79bd881e380f733f30b991a78f606848cf | [
"Apache-2.0"
] | 234 | 2017-01-24T09:59:00.000Z | 2022-03-31T02:38:01.000Z | templates/zoneimport.php | robertpenz/dns-ui | 15da9f79bd881e380f733f30b991a78f606848cf | [
"Apache-2.0"
] | 146 | 2017-01-25T19:00:33.000Z | 2022-03-08T11:56:08.000Z | templates/zoneimport.php | robertpenz/dns-ui | 15da9f79bd881e380f733f30b991a78f606848cf | [
"Apache-2.0"
] | 69 | 2017-02-13T04:16:36.000Z | 2021-10-31T21:45:04.000Z | <?php
##
## Copyright 2013-2018 Opera Software AS
##
## 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 ... | 33.766871 | 161 | 0.580305 |
06cc225b2dc29d55f06282d210a0c63f9331ce97 | 43 | py | Python | exceptions/db_exceptions.py | 0rang3max/fourinrow-bot | 3a6c8751cb66e506137a84c37d7c0de526092454 | [
"MIT"
] | 3 | 2021-12-28T21:38:31.000Z | 2022-03-05T19:03:27.000Z | exceptions/db_exceptions.py | 0rang3max/fourinrow-bot | 3a6c8751cb66e506137a84c37d7c0de526092454 | [
"MIT"
] | null | null | null | exceptions/db_exceptions.py | 0rang3max/fourinrow-bot | 3a6c8751cb66e506137a84c37d7c0de526092454 | [
"MIT"
] | null | null | null | class GameDoesNotExist(Exception):
pass | 21.5 | 34 | 0.790698 |
fa0127da60d6209d0864b825a6f2927fd44126a7 | 318 | cpp | C++ | 5e/C++11/354_bind.cpp | mallius/CppPrimer | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | [
"MIT"
] | null | null | null | 5e/C++11/354_bind.cpp | mallius/CppPrimer | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | [
"MIT"
] | null | null | null | 5e/C++11/354_bind.cpp | mallius/CppPrimer | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | [
"MIT"
] | 1 | 2022-01-25T15:51:34.000Z | 2022-01-25T15:51:34.000Z | #include <iostream>
#include <functional>
using namespace std;
using namespace std::placeholders;
bool check_size(const string& s, string::size_type sz)
{
return s.size() >= sz;
}
int main(void)
{
auto check6 = bind(check_size, _1, 6);
string s = "hello";
bool b1 = check6(s);
cout << b1 << endl;
return 0;
}
| 15.9 | 54 | 0.672956 |
c939ce837c56ff6b4969c9ba4516ae8ca97841ca | 622 | ts | TypeScript | typescript/src/tests/problem3.test.ts | shivaprasadkannoju/InterviewProblems | 0fcc787ebed228cf5ace9c9df05b42e364b2955b | [
"Apache-2.0"
] | null | null | null | typescript/src/tests/problem3.test.ts | shivaprasadkannoju/InterviewProblems | 0fcc787ebed228cf5ace9c9df05b42e364b2955b | [
"Apache-2.0"
] | null | null | null | typescript/src/tests/problem3.test.ts | shivaprasadkannoju/InterviewProblems | 0fcc787ebed228cf5ace9c9df05b42e364b2955b | [
"Apache-2.0"
] | null | null | null | import { describe, expect, test } from '@jest/globals';
import passengerLoad from '../problem3';
/**
* Problem 3 - Passenger Load Tests
*
* @group passengerLoad
*/
describe('Problem 3 - Passenger Load', () => {
test('[[10, 0], [3, 5], [5, 8]]', () => {
expect(
passengerLoad([
[10, 0],
[3, 5],
[5,... | 16.810811 | 67 | 0.438907 |
b757222d3fec4250df3a0d43e0f81db3d59429da | 795 | swift | Swift | iOS/Triggers.Item.swift | exsmoker/app | f0cb92a135651a75b8985a90ac0a1a10d94099e4 | [
"MIT"
] | null | null | null | iOS/Triggers.Item.swift | exsmoker/app | f0cb92a135651a75b8985a90ac0a1a10d94099e4 | [
"MIT"
] | null | null | null | iOS/Triggers.Item.swift | exsmoker/app | f0cb92a135651a75b8985a90ac0a1a10d94099e4 | [
"MIT"
] | null | null | null | import SwiftUI
import Core
extension Triggers {
struct Item: View {
let trigger: Smoke.Trigger
let action: () -> Void
var body: some View {
Button(action: action) {
ZStack {
GeometryReader {
RoundedRectangle(co... | 29.444444 | 85 | 0.420126 |
51b30bd2ee22daeaf7396bc41308f47fa1694eca | 2,984 | lua | Lua | addons/pac3-master/lua/pac3/core/client/parts/projected_texture.lua | Jck123/gmodserver | 584d0529f22aa11f5dc2402b1597ffdbb1c69781 | [
"Apache-2.0"
] | null | null | null | addons/pac3-master/lua/pac3/core/client/parts/projected_texture.lua | Jck123/gmodserver | 584d0529f22aa11f5dc2402b1597ffdbb1c69781 | [
"Apache-2.0"
] | null | null | null | addons/pac3-master/lua/pac3/core/client/parts/projected_texture.lua | Jck123/gmodserver | 584d0529f22aa11f5dc2402b1597ffdbb1c69781 | [
"Apache-2.0"
] | null | null | null | local PART = {}
PART.ClassName = "projected_texture"
PART.Group = "experimental"
PART.Icon = 'icon16/lightbulb.png'
pac.StartStorableVars()
pac.GetSet(PART, "Shadows", true)
pac.GetSet(PART, "Orthographic", false)
pac.GetSet(PART, "NearZ", 1)
pac.GetSet(PART, "FarZ", 2048)
pac.GetSet(PART, "FOV", 90)
pac.GetS... | 19.893333 | 84 | 0.740952 |
54e5526822337e84a0a330aa8a5498e6f56405d7 | 4,660 | css | CSS | src/css/ribbon-theme.css | fstfwd/react-ribbon | c0da61df3f6b0414a353355222124c54f82b8608 | [
"MIT"
] | 6 | 2018-03-25T01:32:48.000Z | 2020-07-01T17:11:46.000Z | src/css/ribbon-theme.css | fstfwd/react-ribbon | c0da61df3f6b0414a353355222124c54f82b8608 | [
"MIT"
] | null | null | null | src/css/ribbon-theme.css | fstfwd/react-ribbon | c0da61df3f6b0414a353355222124c54f82b8608 | [
"MIT"
] | null | null | null | /**
* @author yiskang / http://github.com/yiskang
*/
#RibbonUI li[role=ui-ribbon-tab].ui-ribbon-tab-application {
background-color: #2b579a;
color: #FFF;
border: 1px solid #2b579a !important;
}
#RibbonUI li[role=ui-ribbon-tab].ui-ribbon-tab-application:hover {
background-color: #3e6db5;
border: 1px solid #3e6d... | 76.393443 | 1,513 | 0.88691 |
c6daf8b6e740da68804abf9cc0a79d991873a84c | 602 | py | Python | bspump/file/fileblocksource.py | thatch/BitSwanPump | 98a5b8d09f9b59d5361611cee0bd45e7b4c69e3f | [
"BSD-3-Clause"
] | 17 | 2019-02-14T09:26:03.000Z | 2022-03-11T09:23:52.000Z | bspump/file/fileblocksource.py | thatch/BitSwanPump | 98a5b8d09f9b59d5361611cee0bd45e7b4c69e3f | [
"BSD-3-Clause"
] | 91 | 2019-05-06T18:59:02.000Z | 2022-01-11T06:22:32.000Z | bspump/file/fileblocksource.py | thatch/BitSwanPump | 98a5b8d09f9b59d5361611cee0bd45e7b4c69e3f | [
"BSD-3-Clause"
] | 10 | 2019-04-23T08:48:58.000Z | 2022-02-13T14:24:28.000Z | import logging
from .fileabcsource import FileABCSource
L = logging.getLogger(__file__)
class FileBlockSource(FileABCSource):
def __init__(self, app, pipeline, id=None, config=None):
super().__init__(app, pipeline, id=id, config=config)
self.ProactorService = app.get_service("asab.ProactorService")
async d... | 25.083333 | 75 | 0.740864 |
0de6e1a683af71a06dce8e9684ccd7062e47b33f | 263 | cs | C# | samples/Configuration/Test.DifferentEnvironment/StagingStartup.cs | kalintsenkov/MyTested.AspNetCore.Mvc | 06056f5f0b0b9d2fd0a3331e6b93d65ae537029f | [
"MS-PL"
] | 8 | 2015-12-02T09:40:51.000Z | 2016-03-17T19:31:59.000Z | samples/Configuration/Test.DifferentEnvironment/StagingStartup.cs | kalintsenkov/MyTested.AspNetCore.Mvc | 06056f5f0b0b9d2fd0a3331e6b93d65ae537029f | [
"MS-PL"
] | 133 | 2015-12-02T07:11:05.000Z | 2016-06-05T08:14:11.000Z | samples/Configuration/Test.DifferentEnvironment/StagingStartup.cs | ivaylokenov/MyTested.Mvc | 06056f5f0b0b9d2fd0a3331e6b93d65ae537029f | [
"MS-PL"
] | null | null | null | namespace Test.DifferentEnvironment
{
using Microsoft.Extensions.DependencyInjection;
public class StagingStartup
{
public void ConfigureStagingServices(IServiceCollection services)
{
services.AddMvc();
}
}
}
| 20.230769 | 73 | 0.665399 |
f425a4349d62d42bae3a9af273f02f4e62dd2c60 | 989 | cs | C# | FutureCube/Assets/Scripts/No Limit/ChunkHolder.cs | SolomonRosemite/Unity-FutureCube | 9f27ba06a93fff209cf74b2a2db095c9feac4553 | [
"MIT"
] | 2 | 2020-10-31T06:37:21.000Z | 2020-11-04T12:33:58.000Z | FutureCube/Assets/Scripts/No Limit/ChunkHolder.cs | SolomonRosemite/Unity-FutureCube | 9f27ba06a93fff209cf74b2a2db095c9feac4553 | [
"MIT"
] | null | null | null | FutureCube/Assets/Scripts/No Limit/ChunkHolder.cs | SolomonRosemite/Unity-FutureCube | 9f27ba06a93fff209cf74b2a2db095c9feac4553 | [
"MIT"
] | null | null | null | using System.Collections;
using UnityEngine;
public class ChunkHolder : MonoBehaviour
{
public Chunk chunk { get; private set; }
private ChunkManager chunkManager;
private bool repeated = false;
void Start()
{
if (chunk == null) { chunk = new Chunk(0, LoadJson.loadJson.Difficulty); }
... | 25.358974 | 82 | 0.64004 |
239f7b2be6448e912d50fd0c8a3d6d1cd556b25a | 516 | js | JavaScript | src/components/layout/BreadcrumbBar.js | availabs/avail_app_bootstrap | 57943a180dd36813883268f5cf37c8b8902ddaec | [
"MIT"
] | null | null | null | src/components/layout/BreadcrumbBar.js | availabs/avail_app_bootstrap | 57943a180dd36813883268f5cf37c8b8902ddaec | [
"MIT"
] | null | null | null | src/components/layout/BreadcrumbBar.js | availabs/avail_app_bootstrap | 57943a180dd36813883268f5cf37c8b8902ddaec | [
"MIT"
] | null | null | null | import React from 'react';
import { Link } from 'react-router-dom';
import './BreadcrumbBar.css';
export default props => (
<ul className="breadcrumb">
{props.items.map((item, i) => {
if (props.items.length === i + 1) {
return (
<li key={i} className="breadcrumb-item">
{item.t... | 22.434783 | 50 | 0.498062 |
c9de1397dfad708908705ca18ab0acca48eb0a29 | 8,882 | ts | TypeScript | app/models/MetaModelConst.ts | hagerupe/legend-studio | d63a00a83c2414087e6b7732db6dab463ce27c6f | [
"Apache-2.0"
] | null | null | null | app/models/MetaModelConst.ts | hagerupe/legend-studio | d63a00a83c2414087e6b7732db6dab463ce27c6f | [
"Apache-2.0"
] | null | null | null | app/models/MetaModelConst.ts | hagerupe/legend-studio | d63a00a83c2414087e6b7732db6dab463ce27c6f | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020 Goldman Sachs
*
* 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... | 38.617391 | 163 | 0.730128 |
b073ee80f9a37be5aa1459bd81c09496412acd3e | 82 | lua | Lua | _manifest.lua | krsvojte/premake-cuda | 2e4ad58f5f94b973e2dd0f745173ff44bc70d2cc | [
"BSD-3-Clause"
] | null | null | null | _manifest.lua | krsvojte/premake-cuda | 2e4ad58f5f94b973e2dd0f745173ff44bc70d2cc | [
"BSD-3-Clause"
] | 2 | 2017-10-18T13:17:28.000Z | 2018-01-25T04:08:31.000Z | _manifest.lua | TurkeyMan/premake-cuda | f140d92556a41c857b5db9ff3871eafce2d9ec67 | [
"BSD-3-Clause"
] | 2 | 2018-01-22T16:25:55.000Z | 2021-03-26T12:11:40.000Z | return {
"_preload.lua",
"cuda.lua",
-- "cuda_nvcc.lua",
"cuda_vstudio.lua",
}
| 11.714286 | 20 | 0.621951 |
1c23478fa1c06c3f3c44c375561382dc0e000df8 | 449 | dart | Dart | lib/src/apple_parameters.dart | AndrewBotalov80/flutter_pay | 53e38eabd0f85aa6a84e976e856d14f8babbb8b4 | [
"MIT"
] | null | null | null | lib/src/apple_parameters.dart | AndrewBotalov80/flutter_pay | 53e38eabd0f85aa6a84e976e856d14f8babbb8b4 | [
"MIT"
] | null | null | null | lib/src/apple_parameters.dart | AndrewBotalov80/flutter_pay | 53e38eabd0f85aa6a84e976e856d14f8babbb8b4 | [
"MIT"
] | null | null | null | part of flutter_pay;
class AppleParameters {
final String merchantIdentifier;
final List<MerchantCapability>? merchantCapabilities;
AppleParameters({
required this.merchantIdentifier,
this.merchantCapabilities,
});
Map<String, dynamic> toMap() {
return {
'merchantIdentifier': merchantIden... | 22.45 | 77 | 0.688196 |
dc4693cb3b084e3b99bf8c0d1be705085a706ff2 | 1,606 | podspec | Ruby | data/train/ruby/dc4693cb3b084e3b99bf8c0d1be705085a706ff2MokiManageSDK.podspec | aliostad/deep-learning-lang-detection | d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/train/ruby/dc4693cb3b084e3b99bf8c0d1be705085a706ff2MokiManageSDK.podspec | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/train/ruby/dc4693cb3b084e3b99bf8c0d1be705085a706ff2MokiManageSDK.podspec | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z |
Pod::Spec.new do |s|
s.name = "MokiManageSDK"
s.version = "1.0.0-rc1"
s.summary = "Integrate your application with MokiManage."
s.description = <<-DESC
Using this SDK your application can integrate with [MokiManage](http://MokiManage.com/).
This will h... | 35.688889 | 122 | 0.570984 |
72be9b838e68bc914fffeea865ea9c50bccb6dbf | 244 | cs | C# | Source/Cinder14.EchoSign/Models/Users/UsersInfo.cs | cinder14/echosign_sdk_csharp | 3e3c3a5e1e074e7ba88a8a742ff09591a92e794c | [
"MIT"
] | 1 | 2016-03-03T22:50:15.000Z | 2016-03-03T22:50:15.000Z | Source/Cinder14.EchoSign/Models/Users/UsersInfo.cs | cinder14/echosign_sdk_csharp | 3e3c3a5e1e074e7ba88a8a742ff09591a92e794c | [
"MIT"
] | 1 | 2017-03-17T00:44:10.000Z | 2017-03-17T00:44:10.000Z | Source/Cinder14.EchoSign/Models/Users/UsersInfo.cs | cinder14/echosign_sdk_csharp | 3e3c3a5e1e074e7ba88a8a742ff09591a92e794c | [
"MIT"
] | null | null | null | namespace Cinder14.EchoSign.Models
{
public class UsersInfo
{
/// <summary>
/// (UserInfo[]): The list of users in the account
/// </summary>
public virtual UserInfo[] userInfoList { get; set; }
}
} | 24.4 | 60 | 0.565574 |
d6fd670c308a59f5172b08944437ee5a8755adab | 7,676 | cpp | C++ | MultiThreaded Loader/main.cpp | AceofGrades/ImageLoader | a4b128c1e8a35d31c079b2063ad59965157bc716 | [
"Unlicense"
] | null | null | null | MultiThreaded Loader/main.cpp | AceofGrades/ImageLoader | a4b128c1e8a35d31c079b2063ad59965157bc716 | [
"Unlicense"
] | null | null | null | MultiThreaded Loader/main.cpp | AceofGrades/ImageLoader | a4b128c1e8a35d31c079b2063ad59965157bc716 | [
"Unlicense"
] | null | null | null | #include <Windows.h>
#include <vector>
#include <string>
#include <thread>
#include <mutex>
#include <chrono>
#include "resource.h"
#define WINDOW_CLASS_NAME L"MultiThreaded Loader Tool"
const unsigned int _kuiWINDOWWIDTH = 1200;
const unsigned int _kuiWINDOWHEIGHT = 1200;
#define MAX_FILES_TO_OPEN 50
#define MAX_CHAR... | 26.287671 | 205 | 0.690073 |
ef74066f70a4c50f77d9b2e2936fcf928343c03d | 1,656 | dart | Dart | lib/presentation/routes/route.gr.dart | Shadow60539/edualgo-app-demo | 9d60c3c2e37553b0373bb8452fde2e9c6bbba8bc | [
"MIT"
] | 1 | 2021-07-03T16:07:57.000Z | 2021-07-03T16:07:57.000Z | lib/presentation/routes/route.gr.dart | Shadow60539/edualgo-app-demo | 9d60c3c2e37553b0373bb8452fde2e9c6bbba8bc | [
"MIT"
] | null | null | null | lib/presentation/routes/route.gr.dart | Shadow60539/edualgo-app-demo | 9d60c3c2e37553b0373bb8452fde2e9c6bbba8bc | [
"MIT"
] | 1 | 2021-07-28T09:40:47.000Z | 2021-07-28T09:40:47.000Z | // GENERATED CODE - DO NOT MODIFY BY HAND
// **************************************************************************
// AutoRouteGenerator
// **************************************************************************
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:a... | 33.795918 | 77 | 0.606884 |
c689b3fb1c1c0a8f9c0c9eca7266286316f3657f | 9,826 | css | CSS | css/style.css | axlengblom/axelengblom | c9897c04eac6d49a3fddd7465f7b01afa19c24bd | [
"MIT"
] | null | null | null | css/style.css | axlengblom/axelengblom | c9897c04eac6d49a3fddd7465f7b01afa19c24bd | [
"MIT"
] | null | null | null | css/style.css | axlengblom/axelengblom | c9897c04eac6d49a3fddd7465f7b01afa19c24bd | [
"MIT"
] | null | null | null | .header{width:100%;margin:auto;background-color:#dbe7f6}.header__content{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:auto;padding:40px}.header__name,.header__title{margin:0 auto;padding:0 10px}.header__name{text-transform:uppercase;border-bottom:1px solid black}.header__title{font-family:'... | 4,913 | 9,825 | 0.813963 |
4bdf6adfe5867e9fce8da99061f512beb70144b9 | 4,535 | c | C | 26_CProgNum/main.c | jaisuarez/C_NumberExercises | 755ca0619130dd771d64b1cfe503020cf30ffcb1 | [
"MIT"
] | null | null | null | 26_CProgNum/main.c | jaisuarez/C_NumberExercises | 755ca0619130dd771d64b1cfe503020cf30ffcb1 | [
"MIT"
] | null | null | null | 26_CProgNum/main.c | jaisuarez/C_NumberExercises | 755ca0619130dd771d64b1cfe503020cf30ffcb1 | [
"MIT"
] | null | null | null | # include <stdio.h>
# include <math.h>
// Verify if a given number is a prime number
static int isPrime(long int inputNumber);
// Verify if a given number is a circular prime number
static int isCircularPrime(long int inputNumber);
int main()
{
long int inputNumber;
printf("\n\nCheck whether a given number ... | 29.448052 | 113 | 0.649835 |
bbeca411c7daf34c02ee18bc6d4017dbdbe89677 | 651 | rb | Ruby | lib/puppet/type/cfsystem_secure_path.rb | codingfuture/puppet-cfsystem | 609819a81010f6c12734cf6ca169dc90f0ba3052 | [
"Apache-2.0"
] | null | null | null | lib/puppet/type/cfsystem_secure_path.rb | codingfuture/puppet-cfsystem | 609819a81010f6c12734cf6ca169dc90f0ba3052 | [
"Apache-2.0"
] | null | null | null | lib/puppet/type/cfsystem_secure_path.rb | codingfuture/puppet-cfsystem | 609819a81010f6c12734cf6ca169dc90f0ba3052 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2016-2019 (c) Andrey Galkin
#
Puppet::Type.newtype(:cfsystem_secure_path) do
desc "Helper for sudo secure_path limitation"
autorequire(:cfsystem_flush_config) do
['begin']
end
autonotify(:cfsystem_flush_config) do
['commit']
end
ensurable do
defaultva... | 19.147059 | 50 | 0.597542 |
57f9e9b18dc7d2a03231528e48ee2a9360ed641f | 2,144 | php | PHP | console/migrations/m181224_081931_create_table_shop_orders.php | kalnynsh/dshop_demo | 8d0280969b99c89d727ec816404ec56a3bfb88c0 | [
"BSD-3-Clause"
] | null | null | null | console/migrations/m181224_081931_create_table_shop_orders.php | kalnynsh/dshop_demo | 8d0280969b99c89d727ec816404ec56a3bfb88c0 | [
"BSD-3-Clause"
] | null | null | null | console/migrations/m181224_081931_create_table_shop_orders.php | kalnynsh/dshop_demo | 8d0280969b99c89d727ec816404ec56a3bfb88c0 | [
"BSD-3-Clause"
] | null | null | null | <?php
use yii\db\Migration;
/**
* Class m181224_081931_create_table_shop_orders
*/
class m181224_081931_create_table_shop_orders extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$tableOptions = null;
if ($this->db->driverName === 'mysql') {
$tableO... | 27.139241 | 87 | 0.47528 |
e7847476588ec99c4d94cb49bfc371ff49c0dd22 | 81 | css | CSS | bitrix/modules/intranet/install/templates/bitrix24/themes/light/beach/style.min.css | BuildingBridge/biznet | 0e9e864be99e01bd35f4321a04736866937897b0 | [
"Unlicense"
] | 1 | 2021-08-22T19:39:29.000Z | 2021-08-22T19:39:29.000Z | local/templates/bitrix24/themes/light/beach/style.min.css | PavelcCHernyshevME/bitrix24 | f3518c0071cbc1ecb25e9952150e303b4285e3ce | [
"Apache-2.0"
] | null | null | null | local/templates/bitrix24/themes/light/beach/style.min.css | PavelcCHernyshevME/bitrix24 | f3518c0071cbc1ecb25e9952150e303b4285e3ce | [
"Apache-2.0"
] | null | null | null | body{background:#294e6a url(beach.jpg) fixed 0 0 no-repeat;background-size:cover} | 81 | 81 | 0.802469 |
8d8175c7aad15e5911c1ce7684c54606b2d7f8af | 2,345 | js | JavaScript | assets/dist/js/app/soal/detail.js | sugik0806/bimbelcpnsonline | fd15013e869458eb786c1af903cd2f2ae08d2140 | [
"MIT"
] | null | null | null | assets/dist/js/app/soal/detail.js | sugik0806/bimbelcpnsonline | fd15013e869458eb786c1af903cd2f2ae08d2140 | [
"MIT"
] | null | null | null | assets/dist/js/app/soal/detail.js | sugik0806/bimbelcpnsonline | fd15013e869458eb786c1af903cd2f2ae08d2140 | [
"MIT"
] | 1 | 2021-02-25T14:15:03.000Z | 2021-02-25T14:15:03.000Z | $(document).ready(function () {
ajaxcsrf();
load_soal();
});
function next(obj) {
console.info(obj + 1);
var no = obj + 1;
window.location.href = base_url+'soal/detail/'+ no;
}
function back(obj) {
var no = obj - 1;
window.location.href = base_url+'soal/detail/'+ no;
}
function go(o... | 25.48913 | 174 | 0.48145 |
d541291efbb8cd117aeaad5f13746514ea527a21 | 46,781 | asm | Assembly | cat.asm | lzckira/CS153-lab3 | d7c535fd189fa3444372c1fa639b19c4dca73908 | [
"MIT-0"
] | null | null | null | cat.asm | lzckira/CS153-lab3 | d7c535fd189fa3444372c1fa639b19c4dca73908 | [
"MIT-0"
] | null | null | null | cat.asm | lzckira/CS153-lab3 | d7c535fd189fa3444372c1fa639b19c4dca73908 | [
"MIT-0"
] | null | null | null |
_cat: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
}
}
int
main(int argc, char *argv[])
{
1000: 55 push %ebp
1001: 89 e5 mov %esp,%ebp
1003: 57 push %edi
1004: 56 push %esi
int fd, i;
... | 35.930108 | 70 | 0.413245 |
a9e2502ae1f79511738dda88d3bbf0bfb5c112ad | 262 | php | PHP | WEB/PHP/misreservas.php | walter-white-pr01/proyecto1 | ff78a07c4481a638b21ba1ebb19a8b98fff57a3f | [
"MIT"
] | null | null | null | WEB/PHP/misreservas.php | walter-white-pr01/proyecto1 | ff78a07c4481a638b21ba1ebb19a8b98fff57a3f | [
"MIT"
] | 1 | 2018-10-24T15:55:03.000Z | 2018-10-24T15:55:03.000Z | WEB/PHP/misreservas.php | walter-white-pr01/proyecto1 | ff78a07c4481a638b21ba1ebb19a8b98fff57a3f | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
</head>
<body>
<?php
include "header.php";
?>
<div class="centrar">
<div class="ancho">
<?php
include "misreservas.proc.php";
?>
</div>
</div>
<?php
// include "footer.php";
?>
</body>
</html> | 10.076923 | 35 | 0.515267 |
a38bcce6f2f385fc8d998bb21bea48afa46ab0d1 | 6,404 | java | Java | app/src/main/java/de/radioshuttle/mqttpushclient/dash/OptionListEditAdapter.java | RadioShuttle/MQTTPushClient_Android | a5bbe1ab088ec1edf1278bfe4c7a057bc5a803e2 | [
"Apache-2.0"
] | 7 | 2020-03-03T11:07:15.000Z | 2022-03-22T00:13:46.000Z | app/src/main/java/de/radioshuttle/mqttpushclient/dash/OptionListEditAdapter.java | RadioShuttle/MQTTPushClient_Android | a5bbe1ab088ec1edf1278bfe4c7a057bc5a803e2 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/de/radioshuttle/mqttpushclient/dash/OptionListEditAdapter.java | RadioShuttle/MQTTPushClient_Android | a5bbe1ab088ec1edf1278bfe4c7a057bc5a803e2 | [
"Apache-2.0"
] | 3 | 2020-10-12T04:15:08.000Z | 2022-03-22T00:13:48.000Z | /*
* Copyright (c) 2019 HELIOS Software GmbH
* 30827 Garbsen (Hannover) Germany
* Licensed under the Apache License, Version 2.0
*/
package de.radioshuttle.mqttpushclient.dash;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.View;
... | 32.673469 | 105 | 0.570893 |
725a90167f260261cb70808abadd00fe91a4c33a | 6,773 | c | C | src/util/win32/findfile.c | cschlack/libgit2 | 63970244fb2d49794e7b5d268a2defe4299fd3ad | [
"CC0-1.0"
] | 2 | 2016-02-26T16:36:30.000Z | 2019-11-13T17:58:03.000Z | src/util/win32/findfile.c | cschlack/libgit2 | 63970244fb2d49794e7b5d268a2defe4299fd3ad | [
"CC0-1.0"
] | 3 | 2015-01-17T15:10:29.000Z | 2016-03-23T21:26:46.000Z | src/util/win32/findfile.c | cschlack/libgit2 | 63970244fb2d49794e7b5d268a2defe4299fd3ad | [
"CC0-1.0"
] | 5 | 2015-01-15T15:55:45.000Z | 2021-12-15T00:44:15.000Z | /*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#include "findfile.h"
#include "path_w32.h"
#include "utf-conv.h"
#include "fs_path.h"
#define REG_GIT... | 23.599303 | 116 | 0.681825 |