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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4a040cec30b410f0438c932d31b2e99b9b0ac0a4 | 387,010 | sql | SQL | rosterdb_19th_sep.sql | scloss/roster2 | 8dad83631554ab5a125d8e93a7eb91e5bb176810 | [
"MIT"
] | null | null | null | rosterdb_19th_sep.sql | scloss/roster2 | 8dad83631554ab5a125d8e93a7eb91e5bb176810 | [
"MIT"
] | null | null | null | rosterdb_19th_sep.sql | scloss/roster2 | 8dad83631554ab5a125d8e93a7eb91e5bb176810 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.4.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Sep 19, 2016 at 01:04 PM
-- Server version: 5.6.26
-- PHP Version: 5.6.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;... | 60.347731 | 226 | 0.603258 |
9bc573ebff3b35593d0f5b102da056949d77d231 | 651 | js | JavaScript | js/index.js | vladimka/pwa-test | 28bc7794261fef891b6b01740447ba63baf04b77 | [
"MIT"
] | null | null | null | js/index.js | vladimka/pwa-test | 28bc7794261fef891b6b01740447ba63baf04b77 | [
"MIT"
] | null | null | null | js/index.js | vladimka/pwa-test | 28bc7794261fef891b6b01740447ba63baf04b77 | [
"MIT"
] | null | null | null | let balanceTx = document.getElementById('balance');
let upgrade1CostTx = document.querySelector('#upgrade1>p>span#cost');
document.getElementById('work').addEventListener('click', () => config.balance += config.coinsPerClick);
document.querySelector('#upgrade1>.upgrade-button').addEventListener('click', e => {
if(con... | 34.263158 | 104 | 0.737327 |
8604b8080dda6e76b4ee4d19361b65b45339b982 | 2,438 | rs | Rust | src/tracking_messages.rs | dmweis/openvr-tracker | 2b72c6666f2e07201f7609557e25ad85f8f76acc | [
"Apache-2.0",
"MIT"
] | null | null | null | src/tracking_messages.rs | dmweis/openvr-tracker | 2b72c6666f2e07201f7609557e25ad85f8f76acc | [
"Apache-2.0",
"MIT"
] | null | null | null | src/tracking_messages.rs | dmweis/openvr-tracker | 2b72c6666f2e07201f7609557e25ad85f8f76acc | [
"Apache-2.0",
"MIT"
] | null | null | null | use crate::openvr_adaptor;
use nalgebra as na;
use serde::Serialize;
use std::usize;
#[derive(Debug, Serialize)]
pub struct TrackedObjects {
ts: u128,
trackers: Vec<VrDevice>,
}
impl TrackedObjects {
pub fn new(ts: u128, trackers: Vec<VrDevice>) -> Self {
Self { ts, trackers }
}
}
#[derive(De... | 24.877551 | 99 | 0.559065 |
dc0e7c7ba3cef17e1053631cf14e61be56327e8f | 226 | py | Python | blog/forms.py | jarnalyrkar/DjangoUnleashed | a073e567f3e8c67debb368967b667e307e4c312c | [
"BSD-2-Clause"
] | null | null | null | blog/forms.py | jarnalyrkar/DjangoUnleashed | a073e567f3e8c67debb368967b667e307e4c312c | [
"BSD-2-Clause"
] | null | null | null | blog/forms.py | jarnalyrkar/DjangoUnleashed | a073e567f3e8c67debb368967b667e307e4c312c | [
"BSD-2-Clause"
] | null | null | null | from django import forms
from .models import Post
class PostForm(forms.ModelForm):
class Meta:
model = Post
fields = '__all__'
def clean_slug(self):
return self.cleaned_data['slug'].lower()
| 17.384615 | 48 | 0.650442 |
9cf954a6bfbf380e058df5e9e1486db75831da7e | 719 | css | CSS | src/components/utility/tooltip/style.css | Hazelfire/guesstimate-app | c7ff9ed19ff5f26d2ae6958be8d6fba312909268 | [
"MIT"
] | 2,384 | 2015-09-06T18:18:23.000Z | 2022-03-13T19:26:43.000Z | src/components/utility/tooltip/style.css | Hazelfire/guesstimate-app | c7ff9ed19ff5f26d2ae6958be8d6fba312909268 | [
"MIT"
] | 481 | 2015-08-21T19:53:46.000Z | 2022-02-24T05:43:45.000Z | src/components/utility/tooltip/style.css | Hazelfire/guesstimate-app | c7ff9ed19ff5f26d2ae6958be8d6fba312909268 | [
"MIT"
] | 182 | 2015-10-13T04:43:04.000Z | 2022-02-22T22:30:06.000Z | @import './variables.css';
.ToolTip {
position: absolute;
top: 100%;
margin-top: 10px;
padding: 0.75em;
border-radius: 2px;
z-index: 100;
left: -3px;
color: #111;
min-height: 40px;
font-size: 1.15rem;
line-height: 1.5rem;
font-weight: 400;
}
.ToolTip.SMALL {
background-color: white;
width:... | 15.297872 | 43 | 0.639777 |
92a9dd0b832e3ea4abcede0d845df4cca506d368 | 5,860 | c | C | trunk/SaltyOS/HAL/HardSPI.c | wtywtykk/STM32Framework_SaltyProject | ba52576006a9c4bdb3c0e6b0dbef2d261359da50 | [
"MIT"
] | 1 | 2019-04-03T12:17:25.000Z | 2019-04-03T12:17:25.000Z | trunk/SaltyOS/HAL/HardSPI.c | wtywtykk/STM32Framework_SaltyProject | ba52576006a9c4bdb3c0e6b0dbef2d261359da50 | [
"MIT"
] | null | null | null | trunk/SaltyOS/HAL/HardSPI.c | wtywtykk/STM32Framework_SaltyProject | ba52576006a9c4bdb3c0e6b0dbef2d261359da50 | [
"MIT"
] | 1 | 2021-06-09T11:20:08.000Z | 2021-06-09T11:20:08.000Z | #include "HCommon.h"
#include "HAL\UniGPIO.h"
#include "UniSPI.h"
#include "HardSPI.h"
STATUS HardSPI_TransmitWord(UniSPI_Handle* SPI_Handle, UniGPIO_Handle* CSPin, u16 Data, u32 TimeOut);
STATUS HardSPI_TransmitBytes(UniSPI_Handle* SPI_Handle, UniGPIO_Handle* CSPin, void* Data, u16 Size, u32 TimeOut);
STATUS HardSPI_... | 28.309179 | 197 | 0.749488 |
5fea165b7d70417a4e4493fc924b03b31376123c | 1,520 | h | C | core/utils/src/ElapsedTimer.h | Tazura/ngrest | b5ab161b5b96641e3eeb2e00e15e8c7d38e43e97 | [
"Apache-2.0"
] | 458 | 2016-02-05T15:07:48.000Z | 2022-03-26T09:48:08.000Z | core/utils/src/ElapsedTimer.h | DaniilOkrug/REST-Server | 853ebaca28b1a7344677165e0c8abf2a8a1193c5 | [
"Apache-2.0"
] | 81 | 2016-03-16T14:43:46.000Z | 2022-02-28T05:50:12.000Z | core/utils/src/ElapsedTimer.h | DaniilOkrug/REST-Server | 853ebaca28b1a7344677165e0c8abf2a8a1193c5 | [
"Apache-2.0"
] | 100 | 2016-04-18T06:14:08.000Z | 2022-03-25T07:01:35.000Z | /*
* Copyright 2016 Utkin Dmitry <loentar@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 22.028986 | 84 | 0.664474 |
e71eda4861d8578828bc288e709c39c97c08b6dd | 527 | js | JavaScript | resources/js/luckyNumber.js | Gabeujin/Gabeujin.github.io | ff677fa6e7c590d31efb1d704bd534df204e41a0 | [
"MIT"
] | 1 | 2019-03-11T10:31:24.000Z | 2019-03-11T10:31:24.000Z | resources/js/luckyNumber.js | Gabeujin/Gabeujin.github.io | ff677fa6e7c590d31efb1d704bd534df204e41a0 | [
"MIT"
] | 7 | 2019-03-11T10:31:42.000Z | 2020-04-28T05:49:52.000Z | resources/js/luckyNumber.js | Gabeujin/Gabeujin.github.io | ff677fa6e7c590d31efb1d704bd534df204e41a0 | [
"MIT"
] | null | null | null | const luckyNum = (isRtn)=>{
let number = new Array();
let temp;
for(let i=0;i<6;i++){
temp = Math.floor(Math.random()*45)+1;
if(i>0){
while(number.includes(temp)){
temp = Math.floor(Math.random()*45)+1;
}
}
number.push(temp);
}
console.log('%c오늘도 좋은 하루:D\t\t\t\t\t'+'\nlucky... | 29.277778 | 141 | 0.573055 |
26ff95a49e172c37cc2c9b91ab905d6eaf9321c7 | 12,987 | sql | SQL | farrago/unitsql/ddl/med.sql | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 14 | 2015-07-21T06:31:22.000Z | 2020-05-13T14:18:33.000Z | farrago/unitsql/ddl/med.sql | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 1 | 2020-05-04T23:08:51.000Z | 2020-05-04T23:08:51.000Z | farrago/unitsql/ddl/med.sql | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 22 | 2015-01-03T14:27:36.000Z | 2021-09-14T02:09:13.000Z | -- $Id$
-- Test SQL/MED DDL
-- create a private wrapper for mdr (don't use the standard mdr wrapper
-- because we're going to drop it)
create foreign data wrapper test_mdr
library 'class net.sf.farrago.namespace.mdr.MedMdrForeignDataWrapper'
language java
description 'private data wrapper for mdr';
-- test name uniqu... | 29.718535 | 93 | 0.775853 |
f3352c6e3c3ccf972d3092eae4f7b12e192e11f9 | 2,368 | kt | Kotlin | builder/app/src/main/kotlin/org/promethist/core/builder/IllusionistModelBuilder.kt | petrLorenc/core | a2b699ecc6f28dbf215fd54145ae642b086676dd | [
"Apache-2.0"
] | null | null | null | builder/app/src/main/kotlin/org/promethist/core/builder/IllusionistModelBuilder.kt | petrLorenc/core | a2b699ecc6f28dbf215fd54145ae642b086676dd | [
"Apache-2.0"
] | null | null | null | builder/app/src/main/kotlin/org/promethist/core/builder/IllusionistModelBuilder.kt | petrLorenc/core | a2b699ecc6f28dbf215fd54145ae642b086676dd | [
"Apache-2.0"
] | 1 | 2021-08-10T13:53:34.000Z | 2021-08-10T13:53:34.000Z | package org.promethist.core.builder
import org.promethist.common.RestClient
import org.promethist.core.builder.IntentModelBuilder.Output
import org.promethist.core.dialogue.AbstractDialogue
import org.promethist.core.model.DialogueSourceCode
import org.promethist.core.model.IntentModel
import org.promethist.util.Logge... | 40.827586 | 165 | 0.699747 |
a175060c8d5f4bc9e1832a00b9a67f3ec2ae6d6b | 2,485 | h | C | graphics_test/graphics_test/src/ngl/rhi/d3d12/rhi_command_list.d3d12.h | nagakagachi/sample_projct | 300fcdaf65a009874ce1964a64682aeb6a6ef82e | [
"MIT"
] | null | null | null | graphics_test/graphics_test/src/ngl/rhi/d3d12/rhi_command_list.d3d12.h | nagakagachi/sample_projct | 300fcdaf65a009874ce1964a64682aeb6a6ef82e | [
"MIT"
] | null | null | null | graphics_test/graphics_test/src/ngl/rhi/d3d12/rhi_command_list.d3d12.h | nagakagachi/sample_projct | 300fcdaf65a009874ce1964a64682aeb6a6ef82e | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include <vector>
#include "ngl/util/types.h"
#include "ngl/rhi/rhi.h"
#include "rhi.d3d12.h"
#include "rhi_util.d3d12.h"
#include "rhi_descriptor.d3d12.h"
namespace ngl
{
namespace rhi
{
class TextureDep;
class RenderTargetViewDep;
class DepthStencilViewDep;
// Comma... | 28.238636 | 161 | 0.765795 |
1f95ae53ea84e099690be2d0de439fc67660f0a8 | 441 | swift | Swift | Sources/Substrate/RPC/payment/RuntimeDispatchInfo.swift | sbgiri/Substrate | bc7f33a187d8e33af41c5b43fb148f2f84ae8b0f | [
"Apache-2.0"
] | 9 | 2020-10-15T07:24:38.000Z | 2022-03-18T14:43:43.000Z | Sources/Substrate/RPC/payment/RuntimeDispatchInfo.swift | sbgiri/Substrate | bc7f33a187d8e33af41c5b43fb148f2f84ae8b0f | [
"Apache-2.0"
] | 6 | 2020-11-30T09:28:07.000Z | 2022-01-24T12:30:19.000Z | Sources/Substrate/RPC/payment/RuntimeDispatchInfo.swift | sbgiri/Substrate | bc7f33a187d8e33af41c5b43fb148f2f84ae8b0f | [
"Apache-2.0"
] | 6 | 2020-11-03T03:13:40.000Z | 2022-01-05T08:47:44.000Z | //
// RuntimeDispatchInfo.swift
//
//
// Created by Yehor Popovych on 06.08.2021.
//
import Foundation
public struct RuntimeDispatchInfo<Balance: Decodable, Weight: WeightProtocol>: Decodable {
public let weight: Weight
public let clazz: DispatchInfo<Weight>.Class
public let partialFee: Balance
... | 21 | 90 | 0.678005 |
b1c7dc59154b16fc05558bb91522ce1bc67a9beb | 2,665 | h | C | DFRobot_GravityTDS.h | cdjq/DFRobot_GravityTDS | 0378e8e90410e8e41a560b41af649cfa16b0978e | [
"MIT"
] | null | null | null | DFRobot_GravityTDS.h | cdjq/DFRobot_GravityTDS | 0378e8e90410e8e41a560b41af649cfa16b0978e | [
"MIT"
] | null | null | null | DFRobot_GravityTDS.h | cdjq/DFRobot_GravityTDS | 0378e8e90410e8e41a560b41af649cfa16b0978e | [
"MIT"
] | null | null | null | /*!
* @file DFRobot_GravityTDS.h
* @brief DFRobot_GravityTDS 类的基础结构
* @copyright Copyright (c) 2021 DFRobot Co.Ltd (http://www.dfrobot.com)
* @license The MIT License (MIT)
* @author [TangJie](jie.tang@dfrobot.com)
* @version V1.0.1
* @date 2021-12-21
* @url https://github.com/DFRobot/DFRobot... | 24.009009 | 118 | 0.610507 |
39426a8b5d2ba97f66ca701f0dfb699f39b84868 | 775 | sql | SQL | sqls/ASIR2.ASGBD.Examen.4.sql | gonzaleztroyano/ASIR2-ASGBD-Examples | 604d856a3612436c3f4977b1d7bc830b49249b35 | [
"CC-BY-4.0"
] | null | null | null | sqls/ASIR2.ASGBD.Examen.4.sql | gonzaleztroyano/ASIR2-ASGBD-Examples | 604d856a3612436c3f4977b1d7bc830b49249b35 | [
"CC-BY-4.0"
] | null | null | null | sqls/ASIR2.ASGBD.Examen.4.sql | gonzaleztroyano/ASIR2-ASGBD-Examples | 604d856a3612436c3f4977b1d7bc830b49249b35 | [
"CC-BY-4.0"
] | 1 | 2022-03-05T19:18:58.000Z | 2022-03-05T19:18:58.000Z | -- Queremos que cada vez que se inserte una nueva cuenta en la tabla cuenta, si el
-- cliente que abre la nueva cuenta tiene ya una cuenta en el banco, se le sume 200
-- euros al saldo con el que se abre esa cuenta.
DELIMITER $$
DROP TRIGGER IF EXISTS cuenta_cli_existente $$
CREATE TRIGGER cuenta_cli_existente BEFORE... | 36.904762 | 125 | 0.691613 |
0a3f318305fffcb313e25fbc04c97758be2e51d0 | 1,708 | ts | TypeScript | src/decorators/watch.test.ts | TomasLight/app-redux-utils | ed0e2a1ccf8d27d2729048e496719b6b326b47fd | [
"MIT"
] | null | null | null | src/decorators/watch.test.ts | TomasLight/app-redux-utils | ed0e2a1ccf8d27d2729048e496719b6b326b47fd | [
"MIT"
] | 3 | 2020-10-11T13:43:14.000Z | 2021-09-18T17:00:13.000Z | src/decorators/watch.test.ts | TomasLight/app-redux-utils | ed0e2a1ccf8d27d2729048e496719b6b326b47fd | [
"MIT"
] | null | null | null | import { ControllerBase } from '../controller';
import { createAction } from '../createAction';
import { Reducer } from '../Reducer';
import { controllerWatcherSymbol, watchersSymbol } from '../symbols';
import { Action, WatchedConstructor, DecoratedWatchedController } from '../types';
import { watch } from './watch';
... | 31.054545 | 96 | 0.694379 |
263cc7a87157818e60b7e22edb4fae1197897979 | 891 | java | Java | oauth2-server/src/main/java/io/github/tiscs/demos/oauth2/entities/OAuth2AccountId.java | Tiscs/spring-cloud-oauth2-demo | fdbc08b3890a0e23429da8ca5aa806d255e0cb48 | [
"MIT"
] | 17 | 2017-02-15T09:14:00.000Z | 2019-08-03T04:15:29.000Z | oauth2-server/src/main/java/io/github/tiscs/demos/oauth2/entities/OAuth2AccountId.java | Tiscs/spring-cloud-oauth2-demo | fdbc08b3890a0e23429da8ca5aa806d255e0cb48 | [
"MIT"
] | null | null | null | oauth2-server/src/main/java/io/github/tiscs/demos/oauth2/entities/OAuth2AccountId.java | Tiscs/spring-cloud-oauth2-demo | fdbc08b3890a0e23429da8ca5aa806d255e0cb48 | [
"MIT"
] | 5 | 2017-02-15T09:20:05.000Z | 2018-08-24T01:53:26.000Z | package io.github.tiscs.demos.oauth2.entities;
import java.io.Serializable;
import java.util.Objects;
public class OAuth2AccountId implements Serializable {
private Long oauth2ClientId;
private Long userAccountId;
public OAuth2AccountId() {
}
public OAuth2AccountId(Long oauth2ClientId, Long user... | 27.84375 | 69 | 0.67789 |
8a1b2867866255862db68a723c1774194d6c2df3 | 1,610 | swift | Swift | dracoon-sdk/Model/CreateDownloadShareRequest.swift | rikapsu2018/dracoon-swift-sdk | b0b169991bcc29742e87a7db68d52156b8031dce | [
"Apache-2.0"
] | null | null | null | dracoon-sdk/Model/CreateDownloadShareRequest.swift | rikapsu2018/dracoon-swift-sdk | b0b169991bcc29742e87a7db68d52156b8031dce | [
"Apache-2.0"
] | null | null | null | dracoon-sdk/Model/CreateDownloadShareRequest.swift | rikapsu2018/dracoon-swift-sdk | b0b169991bcc29742e87a7db68d52156b8031dce | [
"Apache-2.0"
] | null | null | null | //
// CreateDownloadShareRequest.swift
//
// Generated by swagger-codegen
// https://github.com/swagger-api/swagger-codegen
//
import Foundation
import crypto_sdk
public struct CreateDownloadShareRequest: Codable {
/** Source node ID */
public var nodeId: Int64
/** Alias name */
public var name: Str... | 30.377358 | 63 | 0.677019 |
32aa16faaacefd6f117c2add05d26aac0c0c901b | 10,379 | lua | Lua | mods/noita-mp/files/scripts/net/client_class.lua | Ismoh/NoitaMP | 10c0c970f409ae77f67b9c40ec685979f9b8da1c | [
"MIT"
] | 8 | 2021-12-17T17:21:22.000Z | 2022-02-19T22:51:45.000Z | mods/noita-mp/files/scripts/net/client_class.lua | Ismoh/NoitaMP | 10c0c970f409ae77f67b9c40ec685979f9b8da1c | [
"MIT"
] | 17 | 2021-11-25T00:44:22.000Z | 2022-03-11T21:55:49.000Z | mods/noita-mp/files/scripts/net/client_class.lua | Ismoh/NoitaMP | 10c0c970f409ae77f67b9c40ec685979f9b8da1c | [
"MIT"
] | 1 | 2022-01-18T08:54:14.000Z | 2022-01-18T08:54:14.000Z | local fu = require("file_util")
local sock = require("sock")
local Guid = require("guid")
local em = require("entity_manager")
local util = require("util")
-- https://www.tutorialspoint.com/lua/lua_object_oriented.htm
-- Meta class
Client = {
super = nil,
address = nil,
port = nil
}
-- Derived class metho... | 34.712375 | 146 | 0.576549 |
df4f8bdaaa283949234362692204acf55f1abfcc | 14,668 | rb | Ruby | db/migrate/20210221112059_add_companies.rb | Josalmer/MiComercio_API | a0eabbdb56d7f571cdaff4e727b68cc648f06b79 | [
"Apache-2.0"
] | null | null | null | db/migrate/20210221112059_add_companies.rb | Josalmer/MiComercio_API | a0eabbdb56d7f571cdaff4e727b68cc648f06b79 | [
"Apache-2.0"
] | null | null | null | db/migrate/20210221112059_add_companies.rb | Josalmer/MiComercio_API | a0eabbdb56d7f571cdaff4e727b68cc648f06b79 | [
"Apache-2.0"
] | null | null | null | class AddCompanies < ActiveRecord::Migration[6.0]
def change
# Categorias
["Ocio y Restauración", "Deportes", "Salud", "Belleza", "Moda", "Alimentación", "Educación"].each do |name|
CompanyCategory.create(category: name)
end
# Tipos
category = CompanyCategory.where(category: "Ocio y Restau... | 58.672 | 322 | 0.722525 |
5bab36bd9d94f61b18002702fe3f4a83c3e9f56e | 361 | sql | SQL | src/Persistence/MySQL/schema/patch-1000801.sql | frantzcy/snuze | da8bda3b1c194372b61f4ad3e16345f0fb046002 | [
"Apache-2.0"
] | 2 | 2020-02-14T23:10:10.000Z | 2021-01-29T13:18:26.000Z | src/Persistence/MySQL/schema/patch-1000801.sql | frantzcy/snuze | da8bda3b1c194372b61f4ad3e16345f0fb046002 | [
"Apache-2.0"
] | 7 | 2019-08-19T22:17:34.000Z | 2022-03-16T22:17:45.000Z | src/Persistence/MySQL/schema/patch-1000801.sql | frantzcy/snuze | da8bda3b1c194372b61f4ad3e16345f0fb046002 | [
"Apache-2.0"
] | 1 | 2022-03-16T00:58:51.000Z | 2022-03-16T00:58:51.000Z | /**
* These DDL statements implement the changes made to the Snuze MySQL schema in
* version: 1000801 (Snuze 0.8.1).
*/
--
ALTER TABLE `links`
ADD COLUMN `steward_reports` TEXT NULL AFTER `spoiler`;
--
ALTER TABLE `subreddits`
ADD COLUMN `is_crosspostable_subreddit` BIT(1) NULL DEFAULT 0 AFTER `icon_size`;
--
UPDATE... | 27.769231 | 80 | 0.734072 |
456ee3255149bd17907d6b2106aa5be35fc2c791 | 140,453 | swift | Swift | Sources/Soto/Services/SSM/SSM_Paginator.swift | axtonpitt/soto | c6495f8d54529121db22f5dd9f12d67e3a2fdfd2 | [
"Apache-2.0"
] | null | null | null | Sources/Soto/Services/SSM/SSM_Paginator.swift | axtonpitt/soto | c6495f8d54529121db22f5dd9f12d67e3a2fdfd2 | [
"Apache-2.0"
] | null | null | null | Sources/Soto/Services/SSM/SSM_Paginator.swift | axtonpitt/soto | c6495f8d54529121db22f5dd9f12d67e3a2fdfd2 | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// This source file is part of the Soto for AWS open source project
//
// Copyright (c) 2017-2021 the Soto project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for t... | 47.402295 | 1,111 | 0.667974 |
0ba9712fc123430212c77ba9226c68e992d537af | 2,238 | js | JavaScript | WorkerFunction.js | arqex/worker-function | 1ffcc04b513b9ee186d354f35376326a4f54a70b | [
"MIT"
] | 8 | 2017-06-25T15:33:06.000Z | 2021-04-27T08:48:15.000Z | WorkerFunction.js | arqex/worker-function | 1ffcc04b513b9ee186d354f35376326a4f54a70b | [
"MIT"
] | 1 | 2021-05-11T11:55:00.000Z | 2021-05-11T11:55:00.000Z | WorkerFunction.js | arqex/worker-function | 1ffcc04b513b9ee186d354f35376326a4f54a70b | [
"MIT"
] | null | null | null | (function( glob ) {
var WORKER_ENABLED = areWorkersAvailable();
var wrapper = function(){
// user function already defined as uf
var done = function( result ){
self.postMessage( result );
self.close();
}
self.onmessage = function( msg ){
var args = msg.data.slice();
args.... | 25.146067 | 95 | 0.537534 |
5bb07bbfc31038a7415aad18a2d5bb21f9a19b7f | 18,332 | rs | Rust | src/backend/built_ins.rs | Shafin098/pakhi-bhasha | 9805017f595169a9b49c9f36d9b30bbbee3e7b28 | [
"MIT"
] | 120 | 2020-10-11T07:55:50.000Z | 2022-02-28T12:36:20.000Z | src/backend/built_ins.rs | Shafin098/pakhi-bhasha | 9805017f595169a9b49c9f36d9b30bbbee3e7b28 | [
"MIT"
] | 1 | 2021-07-08T01:57:34.000Z | 2021-07-08T06:04:54.000Z | src/backend/built_ins.rs | Shafin098/pakhi-bhasha | 9805017f595169a9b49c9f36d9b30bbbee3e7b28 | [
"MIT"
] | 1 | 2021-07-08T00:00:04.000Z | 2021-07-08T00:00:04.000Z | use std::collections::HashMap;
use std::path::Path;
use crate::backend::interpreter::DataType;
// Contains all built-in function and constant names
pub struct BuiltInFunctionList {
built_in_functions: HashMap<Vec<char>, String>,
}
impl BuiltInFunctionList {
pub(crate) fn new() -> Self {
let mut functi... | 42.932084 | 126 | 0.493345 |
060500b86fdd41bc41db21b0a63385e27975ec14 | 1,343 | sql | SQL | docker/postgres/records.sql | jpolgins/track-me | a20369e8aeee604039c3d29eacd52710b7ae2564 | [
"WTFPL"
] | null | null | null | docker/postgres/records.sql | jpolgins/track-me | a20369e8aeee604039c3d29eacd52710b7ae2564 | [
"WTFPL"
] | 1 | 2020-04-05T16:48:25.000Z | 2020-04-05T16:48:25.000Z | docker/postgres/records.sql | jpolgins/track-me | a20369e8aeee604039c3d29eacd52710b7ae2564 | [
"WTFPL"
] | null | null | null | CREATE TABLE records (
id SERIAL NOT NULL,
time_spent varchar(20) NOT NULL,
description text NOT NULL,
createdat TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL,
PRIMARY KEY(id)
);
INSERT INTO records (time_spent, description, createdat) VALUES
('6h', 'Working on task', '2018-11-01 20:07:53'),
('1h', 'Writing and pu... | 61.045455 | 148 | 0.71035 |
5b10ca53cb24739d55dc2bda7c87f43327c15012 | 778 | h | C | oactobjs32/include/qc.h | codeforboston/anypia-emscripten | d4d1d154bae6b97acc619d5588d9a7515d220338 | [
"CC0-1.0"
] | 1 | 2020-09-23T21:46:55.000Z | 2020-09-23T21:46:55.000Z | oactobjs32/include/qc.h | codeforboston/anypia-emscripten | d4d1d154bae6b97acc619d5588d9a7515d220338 | [
"CC0-1.0"
] | 16 | 2020-05-07T18:53:55.000Z | 2021-03-24T03:16:29.000Z | oactobjs32/include/qc.h | codeforboston/anypia-emscripten | d4d1d154bae6b97acc619d5588d9a7515d220338 | [
"CC0-1.0"
] | 6 | 2020-04-19T23:04:22.000Z | 2021-03-17T01:40:10.000Z | // Declarations for the <see cref="Qc"/> class to manage one annual quarters
// of coverage number.
//
// $Id: qc.h 1.17 2011/08/09 14:58:42EDT 044579 Development $
#pragma once
/// <summary>Handles calculations with quarters of coverage for one year.
/// </summary>
///
/// <remarks>The number of quarters ... | 29.923077 | 80 | 0.672237 |
963821d2677f6a1de9dbc09131759d501466d9db | 1,182 | php | PHP | vendor/laminas/laminas-oauth/library/Laminas/OAuth/Signature/Rsa.php | zhangshoushen/myRoad | 7505adcabc490ea45510e910eec9df5d8aff32c2 | [
"BSD-3-Clause"
] | null | null | null | vendor/laminas/laminas-oauth/library/Laminas/OAuth/Signature/Rsa.php | zhangshoushen/myRoad | 7505adcabc490ea45510e910eec9df5d8aff32c2 | [
"BSD-3-Clause"
] | null | null | null | vendor/laminas/laminas-oauth/library/Laminas/OAuth/Signature/Rsa.php | zhangshoushen/myRoad | 7505adcabc490ea45510e910eec9df5d8aff32c2 | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* @see https://github.com/laminas/laminas-oauth for the canonical source repository
* @copyright https://github.com/laminas/laminas-oauth/blob/master/COPYRIGHT.md
* @license https://github.com/laminas/laminas-oauth/blob/master/LICENSE.md New BSD License
*/
namespace Laminas\OAuth\Signature;
use... | 24.625 | 95 | 0.628596 |
40c3210235a84a579477391a3e248774f0292f44 | 6,272 | py | Python | portfolios/stats/basics.py | ahwkuepper/portfolio | 4ab6eebbb36c6064d58df62dbe931ead3b297be4 | [
"BSD-3-Clause"
] | 4 | 2020-08-18T09:52:37.000Z | 2021-03-26T19:59:03.000Z | portfolios/stats/basics.py | ahwkuepper/portfolio | 4ab6eebbb36c6064d58df62dbe931ead3b297be4 | [
"BSD-3-Clause"
] | 4 | 2019-07-06T17:48:46.000Z | 2020-05-11T01:40:18.000Z | portfolios/stats/basics.py | ahwkuepper/portfolio | 4ab6eebbb36c6064d58df62dbe931ead3b297be4 | [
"BSD-3-Clause"
] | 2 | 2019-02-28T08:02:47.000Z | 2019-07-09T04:23:23.000Z | # -*- coding: utf-8 -*-
import numpy as np
from scipy.stats import linregress
from portfolios.utils.helpers import restrict_to_trading_days
def runrate_column(df=None, column=None, window=5, win_type=None):
"""
Calculate the run rate, that is, the moving average,
of a column, and add it as a new column... | 28 | 116 | 0.63058 |
d5a1f3f192c6470ee9ab3f140ccef61a5a99f9f9 | 10,734 | lua | Lua | Data/Script/Lua/Classes/UTActivity.Ui.ManualLaunch.lua | tkdrob/Battle-Tag | 84f857d9ef55db94fc0c54833d12453f7dfc9ff0 | [
"MIT"
] | 2 | 2017-10-13T06:28:19.000Z | 2019-08-11T23:30:33.000Z | Data/Script/Lua/Classes/UTActivity.Ui.ManualLaunch.lua | tkdrob/Battle-Tag | 84f857d9ef55db94fc0c54833d12453f7dfc9ff0 | [
"MIT"
] | null | null | null | Data/Script/Lua/Classes/UTActivity.Ui.ManualLaunch.lua | tkdrob/Battle-Tag | 84f857d9ef55db94fc0c54833d12453f7dfc9ff0 | [
"MIT"
] | 3 | 2016-12-13T10:26:27.000Z | 2020-08-25T21:08:17.000Z |
--[[--------------------------------------------------------------------------
--
-- File: UTActivity.Ui.ManualLaunch.lua
-- Copyright (c) Ubisoft Entertainment. All rights reserved.
--
-- Project: Ubitoys.Tag
-- Date: September 20s, 2010
--
---------------------... | 29.570248 | 218 | 0.642072 |
0cac991dc2d4d32121af9b2da9f1960fba266638 | 917 | py | Python | benchmark_constructor/file_normalizers/ContactSelectFileNormalizer.py | Kortemme-Lab/benchmark_set_construct | ee6c9e097ff49d370936b41f102ada006fb4441a | [
"MIT"
] | null | null | null | benchmark_constructor/file_normalizers/ContactSelectFileNormalizer.py | Kortemme-Lab/benchmark_set_construct | ee6c9e097ff49d370936b41f102ada006fb4441a | [
"MIT"
] | null | null | null | benchmark_constructor/file_normalizers/ContactSelectFileNormalizer.py | Kortemme-Lab/benchmark_set_construct | ee6c9e097ff49d370936b41f102ada006fb4441a | [
"MIT"
] | null | null | null | import os
from .FileNormalizer import FileNormalizer
class ContactSelectFileNormalizer(FileNormalizer):
'''ContactSelectFileNormalizer creates a pymol script that selects
residues which have contacts to asymmetric units.
'''
def __init__(self):
pass
def normalize_one_file(self, path, crystal_con... | 31.62069 | 94 | 0.691385 |
2f6b97b643bfe933ce406ef268e17da49f340a7b | 930 | php | PHP | src/Entity/EventSeoTranslation.php | manuxi/SuluEventBundle | 6842d8dd543fc0e81c43d2cc9c45b7563624a9e3 | [
"MIT"
] | 2 | 2021-07-27T06:25:02.000Z | 2022-01-07T09:18:11.000Z | src/Entity/EventSeoTranslation.php | manuxi/SuluEventBundle | 6842d8dd543fc0e81c43d2cc9c45b7563624a9e3 | [
"MIT"
] | null | null | null | src/Entity/EventSeoTranslation.php | manuxi/SuluEventBundle | 6842d8dd543fc0e81c43d2cc9c45b7563624a9e3 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace Manuxi\SuluEventBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Manuxi\SuluEventBundle\Entity\Interfaces\SeoTranslationInterface;
use Manuxi\SuluEventBundle\Entity\Traits\SeoTranslationTrait;
/**
* @ORM\Entity
* @ORM\Table(name="app_event_seo_translation")
* @ORM\Enti... | 24.473684 | 103 | 0.727957 |
2689c6dd1366dba58dc6ef9c558d39ead0a1ff7a | 1,039 | java | Java | bysj-admin/src/main/java/com/bysj/web/controller/mobile/service/ITMobileService.java | zyk492322922/bysj | 052dada63603a824c2bcdb79f47a38741e8127ae | [
"MIT"
] | null | null | null | bysj-admin/src/main/java/com/bysj/web/controller/mobile/service/ITMobileService.java | zyk492322922/bysj | 052dada63603a824c2bcdb79f47a38741e8127ae | [
"MIT"
] | 1 | 2021-09-20T20:56:55.000Z | 2021-09-20T20:56:55.000Z | bysj-admin/src/main/java/com/bysj/web/controller/mobile/service/ITMobileService.java | zyk492322922/bysj | 052dada63603a824c2bcdb79f47a38741e8127ae | [
"MIT"
] | null | null | null | package com.bysj.web.controller.mobile.service;
import com.bysj.web.controller.mobile.domain.TMobile;
import java.util.List;
/**
* 手机终端Service接口
*
* @author bysj
* @date 2020-03-17
*/
public interface ITMobileService
{
/**
* 查询手机终端
*
* @param id 手机终端ID
* @return 手机终端
*/
publi... | 16.492063 | 60 | 0.563041 |
56933322cd83f06d50b39edbe2f6228e5794ec7f | 1,041 | ts | TypeScript | src/classes/Member/MemberData.ts | APixelVisuals/aeracord | 8abb77b6bfaeb4ff3f72dad77c74aaed9eb941aa | [
"MIT"
] | 3 | 2021-04-24T20:33:47.000Z | 2022-02-18T18:56:14.000Z | src/classes/Member/MemberData.ts | aeracord/aeracord | 8abb77b6bfaeb4ff3f72dad77c74aaed9eb941aa | [
"MIT"
] | null | null | null | src/classes/Member/MemberData.ts | aeracord/aeracord | 8abb77b6bfaeb4ff3f72dad77c74aaed9eb941aa | [
"MIT"
] | null | null | null | import { UserData } from "../../internal";
/**
* Member Data
*
* Represents a `Member`
*/
export interface MemberData {
/**
* Guild ID
*
* The ID of the guild this member is in
*/
guildID: string;
/**
* Nickname
*
* The member's nickname
*/
nickname: string... | 16.015385 | 73 | 0.519693 |
92d9d1165fbe3a835e37841c1bcd08b7f9d41ad2 | 216 | c | C | 1_Ex Ricorsione/ES_1/es_1_michele_giarletta.c | mich2k/Fond-INF-2- | 2b5496e9ba1188afce2819666a26d999662455bc | [
"MIT"
] | null | null | null | 1_Ex Ricorsione/ES_1/es_1_michele_giarletta.c | mich2k/Fond-INF-2- | 2b5496e9ba1188afce2819666a26d999662455bc | [
"MIT"
] | null | null | null | 1_Ex Ricorsione/ES_1/es_1_michele_giarletta.c | mich2k/Fond-INF-2- | 2b5496e9ba1188afce2819666a26d999662455bc | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdint.h>
int somma(unsigned int n)
{
if (n<=0) return -1;
return n+somma(n-1);
/* ricorsione */
}
int main(void)
{
unsigned int n = 5;
uint64_t tot = somma(n);
}
| 13.5 | 28 | 0.569444 |
c7b5c563557eadc570007ee201e786c34f15bf37 | 12,155 | py | Python | hourglass_transformer_pytorch/hourglass_transformer_pytorch.py | dumpmemory/hourglass-transformer-pytorch | 4be33bb41adfedf1b739cd24bec9481bc83a93e2 | [
"MIT"
] | null | null | null | hourglass_transformer_pytorch/hourglass_transformer_pytorch.py | dumpmemory/hourglass-transformer-pytorch | 4be33bb41adfedf1b739cd24bec9481bc83a93e2 | [
"MIT"
] | null | null | null | hourglass_transformer_pytorch/hourglass_transformer_pytorch.py | dumpmemory/hourglass-transformer-pytorch | 4be33bb41adfedf1b739cd24bec9481bc83a93e2 | [
"MIT"
] | null | null | null | import torch
from torch import nn, einsum
import torch.nn.functional as F
from einops import rearrange, reduce, repeat
# helpers
def exists(val):
return val is not None
def default(val, d):
return val if exists(val) else d
def pad_to_multiple(tensor, multiple, dim = -1, value = 0):
seq_len = tensor.shap... | 32.07124 | 223 | 0.590539 |
f0468dc014eafb01e69ffc6248b5e5de49dc570a | 3,376 | py | Python | tools/nntool/interpreter/commands/imageformat.py | gemenerik/gap_sdk | afae64d239db6d73f79c90c2ca2c832b6361f109 | [
"Apache-2.0"
] | null | null | null | tools/nntool/interpreter/commands/imageformat.py | gemenerik/gap_sdk | afae64d239db6d73f79c90c2ca2c832b6361f109 | [
"Apache-2.0"
] | null | null | null | tools/nntool/interpreter/commands/imageformat.py | gemenerik/gap_sdk | afae64d239db6d73f79c90c2ca2c832b6361f109 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2020 GreenWaves Technologies, SAS
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
# This progr... | 43.844156 | 98 | 0.672393 |
7f84b53008caf3de2b3b44ee20acdb6c880fd433 | 2,797 | go | Go | src/mysqlib/mysqlib.go | cndjp/qicoo-api | 81b66433d0cfc50937d1398f01ffcbf81e8071d7 | [
"MIT"
] | 4 | 2018-11-06T13:37:18.000Z | 2019-01-13T10:40:39.000Z | src/mysqlib/mysqlib.go | cndjp/qicoo-api | 81b66433d0cfc50937d1398f01ffcbf81e8071d7 | [
"MIT"
] | 35 | 2018-09-27T02:27:34.000Z | 2018-12-02T11:33:17.000Z | src/mysqlib/mysqlib.go | cndjp/qicoo-api | 81b66433d0cfc50937d1398f01ffcbf81e8071d7 | [
"MIT"
] | 4 | 2018-10-08T14:12:01.000Z | 2019-10-08T08:03:50.000Z | package mysqlib
import (
"database/sql"
"os"
"strconv"
"strings"
"github.com/cndjp/qicoo-api/src/loglib"
"github.com/go-gorp/gorp"
_ "github.com/go-sql-driver/mysql"
)
var qicooDB *sql.DB
// GetMySQLdbmap Dbmapの取得
func GetMySQLdbmap() (dbmap *gorp.DbMap) {
return &gorp.DbMap{Db: qicooDB, Dialect: gorp.MySQL... | 20.566176 | 81 | 0.65892 |
81f37268900038732bb2f433f4e38bb42b79dbcf | 6,287 | rs | Rust | src/connectivity/lowpan/drivers/lowpan-ot-driver/src/config.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 2 | 2022-02-24T16:24:29.000Z | 2022-02-25T22:33:10.000Z | src/connectivity/lowpan/drivers/lowpan-ot-driver/src/config.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | null | null | null | src/connectivity/lowpan/drivers/lowpan-ot-driver/src/config.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use crate::prelude::*;
use anyhow::Error;
use fuchsia_syslog::levels::LogLevel;
use serde::Deserialize;
use std::io;
use std::path;
/// Arguments decoded ... | 30.818627 | 101 | 0.593606 |
9969cf2e8e5964e1f46521939d67063c1be519e3 | 1,155 | kt | Kotlin | fuzzer/fuzzing_output/crashing_tests/verified/wrappingForCallableReferences.kt757502383.kt | ItsLastDay/KotlinFuzzer | 56f50fc307709443bb0c53972d0c239e709ce8f2 | [
"MIT"
] | 11 | 2017-12-16T15:21:37.000Z | 2021-09-30T14:02:36.000Z | fuzzer/fuzzing_output/crashing_tests/verified/wrappingForCallableReferences.kt757502383.kt | ItsLastDay/KotlinFuzzer | 56f50fc307709443bb0c53972d0c239e709ce8f2 | [
"MIT"
] | 1 | 2022-01-04T16:31:34.000Z | 2022-01-04T16:31:34.000Z | fuzzer/fuzzing_output/crashing_tests/verified/wrappingForCallableReferences.kt757502383.kt | ItsLastDay/KotlinFuzzer | 56f50fc307709443bb0c53972d0c239e709ce8f2 | [
"MIT"
] | 1 | 2018-08-01T07:16:22.000Z | 2018-08-01T07:16:22.000Z | import kotlin.reflect.KClass
import kotlin.test.assertEquals
annotation sealed class Anno(
val klass: KClass<*>,
val kClasses: Array<KClass<*>>,
vararg val kClassesVararg: KClass<*>
)
@Anno(String::class,arrayOf(Int::class),Double::class)
operator fun foo(): Unit {
}
fun Anno.checkReference(expected: (Any)?, x: (A... | 31.216216 | 93 | 0.690909 |
fffe8bc2141ef0ff77b5abb9015ccc97d6054ee0 | 5,945 | html | HTML | Apps/HelloWorld.html | KlavierCat/opposite-poles | 67aade14a096bc7105b766792789212583446b0e | [
"Zlib",
"Apache-2.0"
] | null | null | null | Apps/HelloWorld.html | KlavierCat/opposite-poles | 67aade14a096bc7105b766792789212583446b0e | [
"Zlib",
"Apache-2.0"
] | null | null | null | Apps/HelloWorld.html | KlavierCat/opposite-poles | 67aade14a096bc7105b766792789212583446b0e | [
"Zlib",
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<!-- Use correct character set. -->
<meta charset="utf-8">
<!-- Tell IE to use the latest, best version. -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Make the application on mobile take up the full browser screen and disable user scaling. -->
<meta n... | 34.766082 | 168 | 0.651976 |
39eac5ff30681b90e6a2199e76195267fa857844 | 1,483 | java | Java | src/main/java/dev/fastgql/FastGQL.java | kbobrowski/fastGQL | cbcdf0f4e777d40a6ca46cc035b84ba21cd6b605 | [
"Apache-2.0"
] | null | null | null | src/main/java/dev/fastgql/FastGQL.java | kbobrowski/fastGQL | cbcdf0f4e777d40a6ca46cc035b84ba21cd6b605 | [
"Apache-2.0"
] | null | null | null | src/main/java/dev/fastgql/FastGQL.java | kbobrowski/fastGQL | cbcdf0f4e777d40a6ca46cc035b84ba21cd6b605 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright fastGQL Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package dev.fastgql;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Key;
import dev.fastgql.modules.DatabaseModule;
im... | 29.078431 | 114 | 0.728254 |
40c4b314b82cc6ad701d1c76b9ec230d5028af03 | 7,662 | py | Python | tests/STDFRecordTest.py | bunbury86/STDF | b6321ef90266e0c779230022fa851a66c194737e | [
"MIT"
] | null | null | null | tests/STDFRecordTest.py | bunbury86/STDF | b6321ef90266e0c779230022fa851a66c194737e | [
"MIT"
] | null | null | null | tests/STDFRecordTest.py | bunbury86/STDF | b6321ef90266e0c779230022fa851a66c194737e | [
"MIT"
] | null | null | null | import pytest
import struct
import math
class STDFRecordTest:
def __init__(self , file, endian, debug = False):
self.file = file
self.endian = endian
self.debug = debug
if (endian == '>'):
self.byteorder = 'big'
elif (endian == '<'):
... | 37.930693 | 135 | 0.596842 |
4776baf55c0d210d69dbce5cb775e290e5485bfa | 1,464 | html | HTML | templates/home/login.html | yousufsa33d/GANJANK | 7fc4ea4bde9ed6fd4bf9f3dfd51fd3293a6f2034 | [
"Apache-2.0"
] | null | null | null | templates/home/login.html | yousufsa33d/GANJANK | 7fc4ea4bde9ed6fd4bf9f3dfd51fd3293a6f2034 | [
"Apache-2.0"
] | 8 | 2021-03-30T14:04:30.000Z | 2022-03-12T00:40:58.000Z | templates/home/login.html | yousufsa33d/GANJANK | 7fc4ea4bde9ed6fd4bf9f3dfd51fd3293a6f2034 | [
"Apache-2.0"
] | null | null | null | {% extends 'basic.html' %}
{% block title %} لوگ اِن | گنجانک
{% endblock title %}
{% block body %}
<div class="container mt-3 p-3">
<form method="post" action="/login" name="login" id="login">
{% csrf_token %}
<div class="form-group">
<label for="username_email">یوزرنیم / ای - میل اڈریس</label>
<input type="... | 29.877551 | 108 | 0.624317 |
bdc4ff002cb1ac5e3b69fe574e95df051e4e130e | 3,487 | kt | Kotlin | vpn/src/main/java/com/duckduckgo/mobile/android/vpn/breakage/ReportBreakageSingleChoiceFormViewModel.kt | Leessy/Android | 26204dc5ca08751ee31910e03f029d8821e85536 | [
"Apache-2.0"
] | 1 | 2021-12-20T02:09:45.000Z | 2021-12-20T02:09:45.000Z | vpn/src/main/java/com/duckduckgo/mobile/android/vpn/breakage/ReportBreakageSingleChoiceFormViewModel.kt | Leessy/Android | 26204dc5ca08751ee31910e03f029d8821e85536 | [
"Apache-2.0"
] | null | null | null | vpn/src/main/java/com/duckduckgo/mobile/android/vpn/breakage/ReportBreakageSingleChoiceFormViewModel.kt | Leessy/Android | 26204dc5ca08751ee31910e03f029d8821e85536 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 DuckDuckGo
*
* 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.318681 | 117 | 0.72039 |
89b930e8c3539760e7de1eb864bdc202993c0e94 | 184 | swift | Swift | LYCNews/Classes/General/ViewModels/LYBaseViewModel.swift | ly541349042/LYCNews | 1ee3f1d648ae38247713b9545db99d274c817f26 | [
"MIT"
] | null | null | null | LYCNews/Classes/General/ViewModels/LYBaseViewModel.swift | ly541349042/LYCNews | 1ee3f1d648ae38247713b9545db99d274c817f26 | [
"MIT"
] | null | null | null | LYCNews/Classes/General/ViewModels/LYBaseViewModel.swift | ly541349042/LYCNews | 1ee3f1d648ae38247713b9545db99d274c817f26 | [
"MIT"
] | null | null | null | //
// LYBaseViewModel.swift
// LYCNews
//
// Created by test on 2018/06/08.
// Copyright © 2018 iStack. All rights reserved.
//
import UIKit
class LYBaseViewModel: NSObject {
}
| 13.142857 | 49 | 0.679348 |
53874cbdb74a422a08afacf127665d9f730eecc9 | 100 | pks | SQL | sf_sn_log_deathstar/app/feuertips_13.pks | BrenPatF/oracle_unit_test_examples | edafe1247b2db565ef9a4f7f734f8ab96a19ad88 | [
"MIT"
] | null | null | null | sf_sn_log_deathstar/app/feuertips_13.pks | BrenPatF/oracle_unit_test_examples | edafe1247b2db565ef9a4f7f734f8ab96a19ad88 | [
"MIT"
] | null | null | null | sf_sn_log_deathstar/app/feuertips_13.pks | BrenPatF/oracle_unit_test_examples | edafe1247b2db565ef9a4f7f734f8ab96a19ad88 | [
"MIT"
] | null | null | null | CREATE OR REPLACE PACKAGE Feuertips_13 IS
PROCEDURE feuertips_13_poc;
END Feuertips_13;
/
SHO ERR | 20 | 41 | 0.82 |
1b9f4d4d96fd362a1a206c265ac40f795c154e4c | 1,134 | kt | Kotlin | android-kotlin/app/src/main/java/com/hour/hour/SplashActivity.kt | blindoskar14/FYP | 9c6fe288541ccb5a3a54f59278fe2b7b077afb6c | [
"Apache-2.0"
] | null | null | null | android-kotlin/app/src/main/java/com/hour/hour/SplashActivity.kt | blindoskar14/FYP | 9c6fe288541ccb5a3a54f59278fe2b7b077afb6c | [
"Apache-2.0"
] | null | null | null | android-kotlin/app/src/main/java/com/hour/hour/SplashActivity.kt | blindoskar14/FYP | 9c6fe288541ccb5a3a54f59278fe2b7b077afb6c | [
"Apache-2.0"
] | 1 | 2021-07-06T15:38:11.000Z | 2021-07-06T15:38:11.000Z | package com.hour.hour
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.support.v7.app.AppCompatActivity
import android.view.Gravity
import android.widget.FrameLayout
import android.widget.ImageView
import com.hour.hour.helper.LP
import com.hour.hour.helper.ResourceHelper
... | 27.658537 | 79 | 0.698413 |
2f517f5b85d03e84785137e57dd177d30b23b598 | 7,536 | php | PHP | application/controllers/Dinas.php | alibudi/emergencycall | e882186e9d4c1002a2747e0624f41906d95d2469 | [
"MIT"
] | null | null | null | application/controllers/Dinas.php | alibudi/emergencycall | e882186e9d4c1002a2747e0624f41906d95d2469 | [
"MIT"
] | null | null | null | application/controllers/Dinas.php | alibudi/emergencycall | e882186e9d4c1002a2747e0624f41906d95d2469 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Dinas extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->model("dokterModel");
$this->load->model("MemberModel");
$this->load->model("dinasModel");
if(!$this->ion_auth->in_group(5)){
re... | 33.793722 | 95 | 0.600584 |
6b7ea5c9bb9b0bb59c595cf16ab931f604bef566 | 174 | h | C | Projects/RealityEngine/include/Rendering/Opengl/GLModel.h | Volta948/RealityEngine | 1a9e4b7db00617176d06004af934d6602dd5920a | [
"BSD-3-Clause"
] | null | null | null | Projects/RealityEngine/include/Rendering/Opengl/GLModel.h | Volta948/RealityEngine | 1a9e4b7db00617176d06004af934d6602dd5920a | [
"BSD-3-Clause"
] | null | null | null | Projects/RealityEngine/include/Rendering/Opengl/GLModel.h | Volta948/RealityEngine | 1a9e4b7db00617176d06004af934d6602dd5920a | [
"BSD-3-Clause"
] | 1 | 2021-11-05T02:55:27.000Z | 2021-11-05T02:55:27.000Z | // Copyright Reality Engine. All Rights Reserved.
#pragma once
#include <vector>
namespace Reality {
struct GLModel {
std::vector<class GLMesh*> Meshes;
};
} | 15.818182 | 50 | 0.672414 |
90b80c070864380b29518225bb737e3e88953d9b | 13,797 | py | Python | spyder/plugins/findinfiles/widgets/search_thread.py | Earthman100/spyder | 949ce0f9100a69504c70a5678e8589a05aee7d38 | [
"MIT"
] | 1 | 2022-02-08T08:53:56.000Z | 2022-02-08T08:53:56.000Z | spyder/plugins/findinfiles/widgets/search_thread.py | Earthman100/spyder | 949ce0f9100a69504c70a5678e8589a05aee7d38 | [
"MIT"
] | null | null | null | spyder/plugins/findinfiles/widgets/search_thread.py | Earthman100/spyder | 949ce0f9100a69504c70a5678e8589a05aee7d38 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright © Spyder Project Contributors
# Licensed under the terms of the MIT License
# (see spyder/__init__.py for details)
"""Search thread."""
# Standard library imports
import os
import os.path as osp
import re
import stat
import traceback
# Third party imports
from qtpy.QtCore import... | 35.10687 | 79 | 0.469812 |
5f9f5f2fc3f71f3762ec0ffedf31f5e5d6620193 | 3,668 | h | C | 3rdparty/wangle/service/ClientDispatcher.h | MMOPrototyp/mmo-proxy-server | 459d01e0ccc58fff98aa9d34709d23aaff407786 | [
"Apache-2.0"
] | 1 | 2020-02-15T06:37:34.000Z | 2020-02-15T06:37:34.000Z | 3rdparty/wangle/service/ClientDispatcher.h | MMOPrototyp/mmo-proxy-server | 459d01e0ccc58fff98aa9d34709d23aaff407786 | [
"Apache-2.0"
] | null | null | null | 3rdparty/wangle/service/ClientDispatcher.h | MMOPrototyp/mmo-proxy-server | 459d01e0ccc58fff98aa9d34709d23aaff407786 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 27.373134 | 75 | 0.681025 |
fb5a52c20aa3ecdd420e8d455b7ba9653dade4bd | 5,020 | c | C | chap09/https_simple.c | releung/Hands-On-Network-Programming-with-C | 73d35bb5628b9300c6e3d461e078edd617e9e114 | [
"MIT"
] | 246 | 2019-04-28T05:38:53.000Z | 2022-03-26T08:27:40.000Z | chap09/https_simple.c | releung/Hands-On-Network-Programming-with-C | 73d35bb5628b9300c6e3d461e078edd617e9e114 | [
"MIT"
] | 16 | 2019-09-08T08:16:26.000Z | 2022-03-02T01:21:37.000Z | chap09/https_simple.c | releung/Hands-On-Network-Programming-with-C | 73d35bb5628b9300c6e3d461e078edd617e9e114 | [
"MIT"
] | 118 | 2019-07-18T09:57:37.000Z | 2022-03-24T02:59:01.000Z | /*
* MIT License
*
* Copyright (c) 2018 Lewis Van Winkle
*
* 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 without limitation the rights
* to use, copy,... | 28.685714 | 81 | 0.626892 |
f5e801c803563ab79f21cba7de08c5b5493710f3 | 33,022 | rs | Rust | src/utils/base64.rs | manbu-00/wx-sdk | ee707e3ee9afda5f2a28b95bda83a6d860d9c069 | [
"MIT"
] | 78 | 2020-10-20T13:16:14.000Z | 2020-11-19T09:07:03.000Z | src/encoding/base64.rs | LuoZijun/crypto | f32eccf5ef588206017ee47c29614e727d8b1183 | [
"MIT"
] | 4 | 2020-10-27T03:53:20.000Z | 2020-11-01T15:32:31.000Z | src/encoding/base64.rs | LuoZijun/crypto | f32eccf5ef588206017ee47c29614e727d8b1183 | [
"MIT"
] | 8 | 2020-10-20T23:21:49.000Z | 2020-11-13T01:16:09.000Z | // The Base16, Base32, and Base64 Data Encodings
// https://tools.ietf.org/html/rfc3548
// 4. Base 64 Encoding
// https://tools.ietf.org/html/rfc4648#section-4
//
// Table 1: The Base 64 Alphabet
//
// Value Encoding Value Encoding Value Encoding Value Encoding
// 0 A ... | 35.204691 | 130 | 0.476743 |
9eb6c21b76814ce155d1e4ab541a60682fc10a4d | 168 | sql | SQL | sql/0002_CREATE_template_table.sql | tremaina/postgresql-docker-template | 3276454574087e152e251343765b1e9e58de28f1 | [
"MIT"
] | null | null | null | sql/0002_CREATE_template_table.sql | tremaina/postgresql-docker-template | 3276454574087e152e251343765b1e9e58de28f1 | [
"MIT"
] | null | null | null | sql/0002_CREATE_template_table.sql | tremaina/postgresql-docker-template | 3276454574087e152e251343765b1e9e58de28f1 | [
"MIT"
] | null | null | null | CREATE SEQUENCE template.template_id_seq;
CREATE TABLE template.templates(
id int PRIMARY KEY DEFAULT nextval('template.template_id_seq'),
name varchar(255)
);
| 28 | 67 | 0.779762 |
03284455c60788e79b895965f198f68488c893ab | 345 | asm | Assembly | educational-material/3sem/demo/sem3-07/helloworld.asm | AOrps/SigMal | 35d006aa5947061116f35cc583c0236df9c1d200 | [
"WTFPL"
] | 3 | 2021-09-06T14:46:13.000Z | 2021-12-14T17:50:06.000Z | educational-material/3sem/demo/sem3-07/helloworld.asm | AOrps/SigMal | 35d006aa5947061116f35cc583c0236df9c1d200 | [
"WTFPL"
] | 14 | 2020-08-24T22:59:35.000Z | 2021-12-13T00:44:15.000Z | educational-material/3sem/demo/sem3-07/helloworld.asm | AOrps/SigMal | 35d006aa5947061116f35cc583c0236df9c1d200 | [
"WTFPL"
] | 2 | 2021-01-22T15:09:23.000Z | 2021-03-22T23:30:31.000Z | section .data ; data segment
msg db "Hello, World!", 0x0a ; String and Newline Char
section .text ; text segment
global _start ; Default entry point for ELF Linking
_start:
mov rax, 4
mov rbx, 1
mov rcx, msg
mov rdx, 14
int 0x80
mov rax, 1
mov rbx, 0
int 0x80
; To Compile:
; nasm -f elf64 helloworld.asm
; ld -o... | 15.681818 | 54 | 0.713043 |
7491067606024eaba9016c190724a2fe20e9d8d4 | 5,212 | h | C | engine/public/host/host.h | pikacuh/ink | 08c2abb5a40a3c75fbaa636d39e572dea3547960 | [
"Apache-2.0"
] | 1 | 2021-03-02T22:22:38.000Z | 2021-03-02T22:22:38.000Z | engine/public/host/host.h | pikacuh/ink | 08c2abb5a40a3c75fbaa636d39e572dea3547960 | [
"Apache-2.0"
] | null | null | null | engine/public/host/host.h | pikacuh/ink | 08c2abb5a40a3c75fbaa636d39e572dea3547960 | [
"Apache-2.0"
] | 1 | 2021-03-02T22:23:12.000Z | 2021-03-02T22:23:12.000Z | /*
* 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 agreed to ... | 41.365079 | 82 | 0.720453 |
097ba9916edd315984e256ff63f1b280094c534b | 495 | swift | Swift | V-45/Vision45/Util/Components/Buttons/RegisterButton.swift | shndrs/Generic-Tutorial | a4d776193fcac2e31f656535e18d17b463390028 | [
"MIT"
] | 3 | 2018-12-18T13:14:47.000Z | 2019-01-20T22:44:04.000Z | V-45/Vision45/Util/Components/Buttons/RegisterButton.swift | shndrs/Gent | a4d776193fcac2e31f656535e18d17b463390028 | [
"MIT"
] | null | null | null | V-45/Vision45/Util/Components/Buttons/RegisterButton.swift | shndrs/Gent | a4d776193fcac2e31f656535e18d17b463390028 | [
"MIT"
] | null | null | null | //
// RegisterButton.swift
// WTFUserInterface
//
// Created by shndrs on 5/26/20.
// Copyright © 2020 shndrs. All rights reserved.
//
import UIKit
final class RegisterButton: UIButton {
override func layoutSubviews() {
super.layoutSubviews()
setup()
}
}
// MARK: - Methods
file... | 16.5 | 58 | 0.622222 |
b50d9f444a29d56bfafc94d445f7b200146815a4 | 3,827 | lua | Lua | Core/Lib/Model/Table.lua | kapresoft/wow-addon-devtools | 91b1807ed437add07aeef86998375f96aaa38f44 | [
"MIT"
] | null | null | null | Core/Lib/Model/Table.lua | kapresoft/wow-addon-devtools | 91b1807ed437add07aeef86998375f96aaa38f44 | [
"MIT"
] | null | null | null | Core/Lib/Model/Table.lua | kapresoft/wow-addon-devtools | 91b1807ed437add07aeef86998375f96aaa38f44 | [
"MIT"
] | null | null | null | local table, tostring, format, pairs, print, ipairs, type, unpack =
table, tostring, string.format, pairs, print, ipairs, type, unpack
-- #############################################################
local T = {}
DEVT_Table = T
-- ###################### Start Here ###########################
local function Trim(s... | 24.221519 | 76 | 0.57434 |
74d16372f22728716bd0ead6a7ecd4846eaa84be | 682 | rs | Rust | clients/rust/src/models/agent_health_response.rs | rivet-gg/Nomad.OAS | d8b03dbe3ddc8ec5e85a60406661f504b184f746 | [
"MIT"
] | 2 | 2021-06-11T17:02:34.000Z | 2021-10-10T14:39:34.000Z | clients/rust/src/models/agent_health_response.rs | mrmstn/Nomad.OAS | 48e5d048c842359178544db04c53e14ad5e39509 | [
"MIT"
] | null | null | null | clients/rust/src/models/agent_health_response.rs | mrmstn/Nomad.OAS | 48e5d048c842359178544db04c53e14ad5e39509 | [
"MIT"
] | 1 | 2021-09-04T13:08:30.000Z | 2021-09-04T13:08:30.000Z | /*
* Nomad
*
* Nomad OpenApi specification
*
* The version of the OpenAPI document: 0.11.0
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct AgentHealthResponse {
#[serde(rename = "Client", skip_serializing_if = "Option::is_none")]... | 21.3125 | 72 | 0.645161 |
90573d0460805d7638f3210fcfd7460f52a04f7e | 9,119 | py | Python | W4/task2.py | mcv-m6-video/mcv-m6-2021-team6 | 701fc1420930342f3b3733e8f8fc4675c21d8f3f | [
"Unlicense"
] | null | null | null | W4/task2.py | mcv-m6-video/mcv-m6-2021-team6 | 701fc1420930342f3b3733e8f8fc4675c21d8f3f | [
"Unlicense"
] | 2 | 2021-03-23T10:34:33.000Z | 2021-03-23T18:54:28.000Z | W4/task2.py | mcv-m6-video/mcv-m6-2021-team6 | 701fc1420930342f3b3733e8f8fc4675c21d8f3f | [
"Unlicense"
] | 1 | 2021-03-08T21:13:15.000Z | 2021-03-08T21:13:15.000Z | from Video import *
import cv2
import numpy as np
from tqdm import trange
def task2_1(video_test = 'video', mode_stabilization = 'mean'):
video = Video(f"videos/{video_test}_test.mp4", 500, 250)
out = cv2.VideoWriter(f'{video.resultsPath}/stabilization_{video_test}_{mode_stabilization}_result.mp4',
... | 33.281022 | 116 | 0.578572 |
c572d654da8aeaa732d3e3239a9fbeee92ffcd34 | 2,483 | kt | Kotlin | app/src/main/java/io/korti/muffle/listener/VolumeSeekBarChangeListener.kt | korti11/muffle | d97e3dc9ab8f275a1b3f036c47d3a779be631177 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/io/korti/muffle/listener/VolumeSeekBarChangeListener.kt | korti11/muffle | d97e3dc9ab8f275a1b3f036c47d3a779be631177 | [
"Apache-2.0"
] | 10 | 2020-02-06T13:23:53.000Z | 2020-02-26T22:01:33.000Z | app/src/main/java/io/korti/muffle/listener/VolumeSeekBarChangeListener.kt | korti11/muffle | d97e3dc9ab8f275a1b3f036c47d3a779be631177 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 Korti
*
* 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... | 38.2 | 120 | 0.692308 |
893bf6f354e417601e9cd06b79e624922d426d41 | 153 | kt | Kotlin | src/main/kotlin/com/severett/kotlincalculator/util/DoubleUtil.kt | severn-everett/KotlinCalculator | ee41b8b6847527bf4d64bd852786bec7c6f8e5e6 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/severett/kotlincalculator/util/DoubleUtil.kt | severn-everett/KotlinCalculator | ee41b8b6847527bf4d64bd852786bec7c6f8e5e6 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/severett/kotlincalculator/util/DoubleUtil.kt | severn-everett/KotlinCalculator | ee41b8b6847527bf4d64bd852786bec7c6f8e5e6 | [
"Apache-2.0"
] | null | null | null | package com.severett.kotlincalculator.util
import kotlin.math.floor
fun Double.checkForInt(): Number = if (this == floor(this)) this.toInt() else this
| 25.5 | 82 | 0.764706 |
40d65cce3621164640a4361b7755eeffcc2c1b84 | 328 | py | Python | section-18-poo/7-multi-inheritance/calendar.py | mugan86/bootcamp-basic-to-expert-from-scratch | 028aab243386e5a75d84aea319c480ec54913c53 | [
"MIT"
] | 31 | 2022-01-19T18:33:40.000Z | 2022-03-29T16:24:44.000Z | section-18-poo/7-multi-inheritance/calendar.py | mugan86/bootcamp-basic-to-expert-from-scratch | 028aab243386e5a75d84aea319c480ec54913c53 | [
"MIT"
] | 1 | 2022-02-09T17:47:17.000Z | 2022-02-09T17:47:17.000Z | section-18-poo/7-multi-inheritance/calendar.py | mugan86/bootcamp-basic-to-expert-from-scratch | 028aab243386e5a75d84aea319c480ec54913c53 | [
"MIT"
] | 4 | 2022-01-20T15:41:09.000Z | 2022-03-29T16:25:08.000Z | class Calendar:
def __init__(self, day, month, year):
print("Clase Base - Calendar")
self.day = day
self.month = month
self.year = year
def __str__(self):
return "{}-{}-{}".format(self.day,
self.month,
se... | 27.333333 | 44 | 0.45122 |
497d91b3b48be684f177df2865c6962e2dc4a27c | 29 | html | HTML | test/dummy/app/views/white_vision/test_1.html | rogercampos/white_vision | 320f1ef13277eb8f522b67c9c4590840369402df | [
"MIT"
] | null | null | null | test/dummy/app/views/white_vision/test_1.html | rogercampos/white_vision | 320f1ef13277eb8f522b67c9c4590840369402df | [
"MIT"
] | null | null | null | test/dummy/app/views/white_vision/test_1.html | rogercampos/white_vision | 320f1ef13277eb8f522b67c9c4590840369402df | [
"MIT"
] | null | null | null | <h1>This is test email 1</h1> | 29 | 29 | 0.689655 |
afe76c263901ee617914f8eab7fd495963c7f360 | 763 | rb | Ruby | delivery/demonic.rb | kmindspark/bud-sandbox | 76d77685ed52abf358deb910fa52fa4e444c432c | [
"BSD-3-Clause"
] | 24 | 2015-02-11T11:31:53.000Z | 2021-10-31T20:25:22.000Z | delivery/demonic.rb | bloom-lang/bud-sandbox | 4f654bfa1f20e2e52a574c034c4ec12c3a71875d | [
"BSD-3-Clause"
] | null | null | null | delivery/demonic.rb | bloom-lang/bud-sandbox | 4f654bfa1f20e2e52a574c034c4ec12c3a71875d | [
"BSD-3-Clause"
] | 4 | 2016-10-31T19:54:07.000Z | 2020-12-10T02:45:17.000Z | require 'delivery/delivery'
#intentionally drops messages, but reports success
module DemonicDeliveryControl
state do
#percentage chance of message loss, 0 to 100
interface input, :set_drop_pct, [] => [:pct]
end
end
module DemonicDelivery
include DeliveryProtocol
include DemonicDeliveryControl
sta... | 16.955556 | 59 | 0.647444 |
ead8918fbe842bc0dd8031f550df55aab5a695aa | 1,901 | swift | Swift | Example/MapperNativeSDK/Qr/UIView+Anchors.swift | btsdigital/MapperNativeSDK | ddea438551ddd4c8be4a9e60f588ca4f1f063e52 | [
"MIT"
] | 1 | 2021-05-04T07:31:10.000Z | 2021-05-04T07:31:10.000Z | Example/MapperNativeSDK/Qr/UIView+Anchors.swift | btsdigital/MapperNativeSDK | ddea438551ddd4c8be4a9e60f588ca4f1f063e52 | [
"MIT"
] | null | null | null | Example/MapperNativeSDK/Qr/UIView+Anchors.swift | btsdigital/MapperNativeSDK | ddea438551ddd4c8be4a9e60f588ca4f1f063e52 | [
"MIT"
] | null | null | null | import UIKit
extension UIView {
/**
Create constraint from this view to the second view using anchors
- Parameters:
- anchorPath: this view anchor
- to view: second view
- viewAnchorPath: second view anchor
- constant: new constraint constant
*/
func anchor<Ancho... | 39.604167 | 101 | 0.585481 |
c37cfe582fbfbf77cb61fc36b0cd6857fe42e512 | 947 | kt | Kotlin | utilsLibrary/src/main/java/com/zeropercenthappy/utilslibrary/ext/Common.kt | zeropercenthappy/ZPHAndroidUtils | 81e23b347e9a81b708aa44d80ef4451769398735 | [
"Apache-2.0"
] | null | null | null | utilsLibrary/src/main/java/com/zeropercenthappy/utilslibrary/ext/Common.kt | zeropercenthappy/ZPHAndroidUtils | 81e23b347e9a81b708aa44d80ef4451769398735 | [
"Apache-2.0"
] | 1 | 2018-11-20T09:31:58.000Z | 2018-11-20T09:31:58.000Z | utilsLibrary/src/main/java/com/zeropercenthappy/utilslibrary/ext/Common.kt | zeropercenthappy/ZPHAndroidUtils | 81e23b347e9a81b708aa44d80ef4451769398735 | [
"Apache-2.0"
] | 1 | 2020-05-05T23:19:12.000Z | 2020-05-05T23:19:12.000Z | package com.zeropercenthappy.utilslibrary.ext
fun <T1, T2, R> notNullLet(t1: T1?, t2: T2?, block: (T1, T2) -> R): R? {
return if (t1 != null && t2 != null) {
block(t1, t2)
} else {
null
}
}
fun <T1, T2, T3, R> notNullLet(t1: T1?, t2: T2?, t3: T3?, block: (T1, T2, T3) -> R): R? {
return... | 28.69697 | 123 | 0.457233 |
e58aef55e7aca4e122ec7e7e3758c601502fef46 | 1,890 | ts | TypeScript | src/table/transform-table.ts | xunge0613/antd-utils-lib | 9f6f34e6708ec218c60ac36b4c942b0fda3de1c5 | [
"MIT"
] | 1 | 2020-06-08T07:41:10.000Z | 2020-06-08T07:41:10.000Z | src/table/transform-table.ts | xunge0613/antd-utils-lib | 9f6f34e6708ec218c60ac36b4c942b0fda3de1c5 | [
"MIT"
] | 3 | 2020-07-21T01:00:15.000Z | 2022-03-02T08:59:01.000Z | src/table/transform-table.ts | xunge0613/antd-utils-lib | 9f6f34e6708ec218c60ac36b4c942b0fda3de1c5 | [
"MIT"
] | null | null | null | import { ColumnProps } from 'antd/lib/table'
/**
* 表格倒置:行转列
* @description transform table Row into table Col
* @param oldColumns ColumnProps<T>[] old columns
* @param oldData T[] old dataSource
* @param options?
* @returns newColumns, newData
* @author Tony.Xu https://github.com/xunge0613
*/
// 处理数据,生成新表格字段... | 28.208955 | 108 | 0.551852 |
a9bfdd6b0ecd2afd84c16449a46e243d4a6ea21d | 7,591 | html | HTML | app/views/manage-blue-badges/view-badge-full.html | uk-gov-dft/bluebadge-prototype-webapps | bbad87c536aa6fb699289fbec7e0c7603271fe55 | [
"MIT"
] | null | null | null | app/views/manage-blue-badges/view-badge-full.html | uk-gov-dft/bluebadge-prototype-webapps | bbad87c536aa6fb699289fbec7e0c7603271fe55 | [
"MIT"
] | null | null | null | app/views/manage-blue-badges/view-badge-full.html | uk-gov-dft/bluebadge-prototype-webapps | bbad87c536aa6fb699289fbec7e0c7603271fe55 | [
"MIT"
] | null | null | null | {% extends "admin_layout.html" %}
{% block back_link %}
<div class="back-link-container">
{{ govukBackLink({
"text": "Back",
"href": "javascript: window.history.go(-1)"
}) }}
</div>
{% endblock %}
{% block page_header %}
<div class="check-answers-heading-with-change">
<div class="check-... | 28.863118 | 89 | 0.593334 |
26baa2d437ed0ed8bc8415c8e54501b7c5c82ce0 | 2,647 | java | Java | moviebookapp/src/main/java/moviebookservice/util/JwtUtil.java | doslindos/moviebook_springrest | 0615a717e0c101b6220d84799c0c09c7f9875463 | [
"MIT"
] | null | null | null | moviebookapp/src/main/java/moviebookservice/util/JwtUtil.java | doslindos/moviebook_springrest | 0615a717e0c101b6220d84799c0c09c7f9875463 | [
"MIT"
] | null | null | null | moviebookapp/src/main/java/moviebookservice/util/JwtUtil.java | doslindos/moviebook_springrest | 0615a717e0c101b6220d84799c0c09c7f9875463 | [
"MIT"
] | null | null | null | package moviebookservice.util;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SignatureAlgorithm;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
... | 38.926471 | 140 | 0.721949 |
7747d8026ed85ccdda27fd3664b8fae98219b639 | 3,569 | html | HTML | lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-October/075703.html | zcorpan/whatwg.org | 3374e69f013e5939abc5f3fffaae50bb6eaf0bd3 | [
"CC-BY-4.0"
] | 1 | 2022-02-14T23:44:51.000Z | 2022-02-14T23:44:51.000Z | lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-October/075703.html | Seanpm2001-Google/whatwg.org | 33ad837c0dc53b68865f4a35ccdc1c68dc07fce6 | [
"BSD-3-Clause"
] | 1 | 2021-01-31T11:51:12.000Z | 2021-01-31T11:51:12.000Z | lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-October/075703.html | Seanpm2001-Google/whatwg.org | 33ad837c0dc53b68865f4a35ccdc1c68dc07fce6 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [whatwg] HTMLLinkElement.disabled and HTMLLinkElement.sheet behavior
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20HTMLLinkElement.di... | 42.488095 | 205 | 0.663211 |
e524af1121a6186b2533d6420c0187c1df7a93d5 | 1,081 | swift | Swift | MovieListTestApp/MovieListTestApp/Classes/CustomViews/CellUIConfigModels/MovieCellViewModel.swift | Rupesh17/MovieListSampleTest | 203ef9453ea627fcf9e655d50bf2545a416041b4 | [
"MIT"
] | null | null | null | MovieListTestApp/MovieListTestApp/Classes/CustomViews/CellUIConfigModels/MovieCellViewModel.swift | Rupesh17/MovieListSampleTest | 203ef9453ea627fcf9e655d50bf2545a416041b4 | [
"MIT"
] | 1 | 2018-12-07T22:09:14.000Z | 2018-12-07T22:09:14.000Z | MovieListTestApp/MovieListTestApp/Classes/CustomViews/CellUIConfigModels/MovieCellViewModel.swift | Rupesh17/MovieListSampleTest | 203ef9453ea627fcf9e655d50bf2545a416041b4 | [
"MIT"
] | null | null | null | //
// MovieCellViewModel.swift
// MovieListTestApp
//
// Created by Rupesh Kumar on 07/12/18.
// Copyright © 2018 Rupesh Kumar. All rights reserved.
//
import Foundation
struct MovieCellViewModel
{
var title:String!
var year:String!
var rated:String!
var genre:String!
var actors:String!
va... | 23.5 | 55 | 0.638298 |
0c4c5729b1c7f99b4a6ad3f158c18d9c9226b6d3 | 2,062 | swift | Swift | Sources/Advent 2019/Day 13.swift | djbe/Advent-Of-Code-2020 | 08d2ca54e54f7804362bff71d76c820d1ad18b7e | [
"MIT"
] | null | null | null | Sources/Advent 2019/Day 13.swift | djbe/Advent-Of-Code-2020 | 08d2ca54e54f7804362bff71d76c820d1ad18b7e | [
"MIT"
] | null | null | null | Sources/Advent 2019/Day 13.swift | djbe/Advent-Of-Code-2020 | 08d2ca54e54f7804362bff71d76c820d1ad18b7e | [
"MIT"
] | null | null | null | //
// Advent
// Copyright © 2020 David Jennes
//
import Algorithms
import Common
import Foundation
private struct Pixel {
typealias Point = Vector2<Int>
enum Tile: Int {
case empty
case wall
case block
case paddle
case ball
}
let point: Point
let tile: Tile
init(_ data: ArraySlice<Int>) {
point = ... | 18.410714 | 105 | 0.665373 |
64339837e763bed8cb4f46e6d6f914ddf405e188 | 2,878 | kt | Kotlin | interactor/src/test/java/nl/elements/mobilization/interactor/test/InteractorTest.kt | elementsinteractive/android-mobilization | c6d0eeaebd697ec028ade05ae860fdc5b79d3c25 | [
"BSD-3-Clause"
] | 9 | 2020-06-25T07:28:27.000Z | 2022-02-04T01:06:08.000Z | interactor/src/test/java/nl/elements/mobilization/interactor/test/InteractorTest.kt | elementsinteractive/android-mobilization | c6d0eeaebd697ec028ade05ae860fdc5b79d3c25 | [
"BSD-3-Clause"
] | 98 | 2020-06-24T13:54:26.000Z | 2022-03-31T01:07:42.000Z | interactor/src/test/java/nl/elements/mobilization/interactor/test/InteractorTest.kt | elementsinteractive/android-mobilization | c6d0eeaebd697ec028ade05ae860fdc5b79d3c25 | [
"BSD-3-Clause"
] | 1 | 2021-10-04T10:37:04.000Z | 2021-10-04T10:37:04.000Z | /*
* Copyright 2020 Elements
*
* Licensed under the BSD-3 license:
* https://opensource.org/licenses/BSD-3-Clause
*/
package nl.elements.mobilization.interactor.test
import kotlinx.coroutines.TimeoutCancellationException
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.launchIn
import kotlinx.corout... | 31.282609 | 116 | 0.59173 |
6e4cd70bfc164214c2cde93ae30291db324b2d3c | 41,415 | html | HTML | input2/gap-html/gap_y-AvAAAAYAAJ/00000391.html | mjjackey/Individual_CW_DM_Soton | e6bded0428835dda79a8eab4fb58259a205ebf2b | [
"MIT"
] | null | null | null | input2/gap-html/gap_y-AvAAAAYAAJ/00000391.html | mjjackey/Individual_CW_DM_Soton | e6bded0428835dda79a8eab4fb58259a205ebf2b | [
"MIT"
] | null | null | null | input2/gap-html/gap_y-AvAAAAYAAJ/00000391.html | mjjackey/Individual_CW_DM_Soton | e6bded0428835dda79a8eab4fb58259a205ebf2b | [
"MIT"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>OCR Output</title>
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
<meta http-equiv='content-style-type' content='text/css' />
<meta name='ocr-capabilities' content='ocr_page... | 1,150.416667 | 17,221 | 0.729736 |
0b5db17336f788ad1d51e0ebfedab480c4c72a7e | 2,068 | py | Python | quiz/models.py | jzi040941/django_quiz | 465d29c74e3ff6814f686296d225f18a50c99b9a | [
"MIT"
] | 1 | 2018-03-14T16:43:00.000Z | 2018-03-14T16:43:00.000Z | quiz/models.py | jzi040941/django_quiz | 465d29c74e3ff6814f686296d225f18a50c99b9a | [
"MIT"
] | null | null | null | quiz/models.py | jzi040941/django_quiz | 465d29c74e3ff6814f686296d225f18a50c99b9a | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class quiz_short(models.Model):
AssignNum = models.ForeignKey('teacher.Assignment', on_delete=models.CASCADE)
Question = models.TextField()
Answer = models.TextField()
def __str__(self):
return "AssignNum : %s, question: %s Answer: %s" % ... | 35.655172 | 113 | 0.696325 |
52d58dd2e8d1b47ca3b318c52803539e7cec4d4c | 664 | sql | SQL | src/Sfa.Tl.Find.Provider.Api.Database/Tables/Provider.sql | SkillsFundingAgency/tl-find-provider-api | 5c580f9f5f61c526a93a2edf6a2cec05c42bc23b | [
"MIT"
] | null | null | null | src/Sfa.Tl.Find.Provider.Api.Database/Tables/Provider.sql | SkillsFundingAgency/tl-find-provider-api | 5c580f9f5f61c526a93a2edf6a2cec05c42bc23b | [
"MIT"
] | 2 | 2021-08-20T10:03:33.000Z | 2021-12-29T09:13:43.000Z | src/Sfa.Tl.Find.Provider.Api.Database/Tables/Provider.sql | SkillsFundingAgency/tl-find-provider-api | 5c580f9f5f61c526a93a2edf6a2cec05c42bc23b | [
"MIT"
] | null | null | null | CREATE TABLE [dbo].[Provider]
(
[Id] INT IDENTITY(1,1) NOT NULL,
[UkPrn] BIGINT NOT NULL,
[Name] NVARCHAR(400) NOT NULL,
[AddressLine1] NVARCHAR(100) NULL,
[AddressLine2] NVARCHAR(100) NULL,
[Town] NVARCHAR(100) NULL,
[County] NVARCHAR(50) NULL,
[Postcode] NVARCHAR(10) NULL,
[Email] NVARCHAR(320) NULL,
[Tele... | 31.619048 | 59 | 0.709337 |
fe0013c367334100de1fdcf730ecc941f68fdec6 | 130 | sql | SQL | schema/revert/tables/ciip_application_wizard.sql | bcgov/cas-ciip-portal | dceb5331fa17902b1100e6faccac9d36eeb8b4a5 | [
"Apache-2.0"
] | 9 | 2019-10-09T20:57:34.000Z | 2020-11-19T15:32:32.000Z | schema/revert/tables/ciip_application_wizard.sql | bcgov/cas-ciip-portal | dceb5331fa17902b1100e6faccac9d36eeb8b4a5 | [
"Apache-2.0"
] | 1,282 | 2019-08-21T20:43:34.000Z | 2022-03-30T16:46:46.000Z | schema/revert/tables/ciip_application_wizard.sql | bcgov/cas-ciip-portal | dceb5331fa17902b1100e6faccac9d36eeb8b4a5 | [
"Apache-2.0"
] | 2 | 2019-10-16T22:27:43.000Z | 2021-01-26T20:05:13.000Z | -- Revert ggircs-portal:table_ciip_application_wizard from pg
begin;
drop table ggircs_portal.ciip_application_wizard;
commit;
| 16.25 | 61 | 0.838462 |
febf9ac3a3ea189a4c6136cdd0345f8b928b00b1 | 13,982 | html | HTML | public/index.html | stayradiated/totalcarpetservicesrotorua.co.nz | adc66aceafcd9a30e14c01725959cb9c72f717bc | [
"MIT"
] | null | null | null | public/index.html | stayradiated/totalcarpetservicesrotorua.co.nz | adc66aceafcd9a30e14c01725959cb9c72f717bc | [
"MIT"
] | null | null | null | public/index.html | stayradiated/totalcarpetservicesrotorua.co.nz | adc66aceafcd9a30e14c01725959cb9c72f717bc | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="preload" href="/totalcarpetservices.com/component---src-layouts-index-js-9ece3664cb06afbc427e.js" as="script"/><link rel="... | 451.032258 | 10,969 | 0.765842 |
42e3faa8485dee100073649cd053588ea9931257 | 6,923 | sql | SQL | SQL/master/form/D001/SPC_D001_ACT1.sql | ndq809/EPLUS | 5123917de7a65b791564c1ba8db2be42366061c6 | [
"MIT"
] | 1 | 2021-08-17T04:49:08.000Z | 2021-08-17T04:49:08.000Z | SQL/master/form/D001/SPC_D001_ACT1.sql | ndq809/EPLUS | 5123917de7a65b791564c1ba8db2be42366061c6 | [
"MIT"
] | 1 | 2022-02-27T22:20:10.000Z | 2022-02-27T22:20:10.000Z | SQL/master/form/D001/SPC_D001_ACT1.sql | ndq809/EPLUS | 5123917de7a65b791564c1ba8db2be42366061c6 | [
"MIT"
] | null | null | null | IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[SPC_D001_ACT1]') AND type IN (N'P', N'PC'))
/****** Object: StoredProcedure [dbo].[SPC_M001_ACT2] Script Date: 2017/11/23 15:16:49 ******/
DROP PROCEDURE [dbo].[SPC_D001_ACT1]
GO
/****** Object: StoredProcedure [dbo].[SPC_M001_ACT2] ... | 25.174545 | 126 | 0.608985 |
2f78c934fe4f6700c41f96bcf1721efb0410b1e6 | 470 | php | PHP | app/Models/User.php | amcms/cms | 3555a6d855a184c6d293ffe708a69de5f60e166b | [
"MIT"
] | null | null | null | app/Models/User.php | amcms/cms | 3555a6d855a184c6d293ffe708a69de5f60e166b | [
"MIT"
] | null | null | null | app/Models/User.php | amcms/cms | 3555a6d855a184c6d293ffe708a69de5f60e166b | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Amcms\Models\Model as Model;
class User extends Model
{
protected $fillable = [
'name',
'email',
'password',
'hash',
];
// public function __construct($container)
// {
// $this->container = $container;
// }
// public fu... | 17.407407 | 49 | 0.502128 |
53e0d35168bb94e71b602972e5c38f3f47a9cc03 | 1,376 | java | Java | odersystem/src/main/java/com/bobo/ordersystem/entity/OrderEntity.java | danielnie001/WxOrderBackEnd | 78a006435e0a9e7493f44b235f3b702f6d10e85b | [
"Apache-2.0"
] | null | null | null | odersystem/src/main/java/com/bobo/ordersystem/entity/OrderEntity.java | danielnie001/WxOrderBackEnd | 78a006435e0a9e7493f44b235f3b702f6d10e85b | [
"Apache-2.0"
] | null | null | null | odersystem/src/main/java/com/bobo/ordersystem/entity/OrderEntity.java | danielnie001/WxOrderBackEnd | 78a006435e0a9e7493f44b235f3b702f6d10e85b | [
"Apache-2.0"
] | null | null | null | package com.bobo.ordersystem.entity;
import lombok.*;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
/**
* @author : danielNie
* @Description : IntelliJ IDEA
* @PackageName : com.bobo.odersystem.entity
* @ClassName : OrderEntity
* @addTime : 2021/10/26 21:25
*/
@EqualsAndHashCod... | 19.380282 | 71 | 0.630814 |
56d2b9dbc3a5be77ce2b44b19cff421fd240886a | 6,297 | ts | TypeScript | src/electronApp/angularApp/services/printerService.ts | Gaweringo/AdventurerClientJS | 155c5581ec6e68dd5c5340226fed1f2055398d53 | [
"MIT"
] | 16 | 2020-08-31T10:12:47.000Z | 2022-03-17T19:55:32.000Z | src/electronApp/angularApp/services/printerService.ts | Gaweringo/AdventurerClientJS | 155c5581ec6e68dd5c5340226fed1f2055398d53 | [
"MIT"
] | 198 | 2020-09-12T10:01:51.000Z | 2022-03-10T15:23:20.000Z | src/electronApp/angularApp/services/printerService.ts | Gaweringo/AdventurerClientJS | 155c5581ec6e68dd5c5340226fed1f2055398d53 | [
"MIT"
] | 6 | 2020-12-06T20:32:53.000Z | 2021-12-29T03:09:34.000Z | import { Injectable } from '@angular/core';
import { IPrinterService } from './iPrinterService';
import { PrinterStatus, TemperatureResponse, FirmwareVersionResponse, PrinterDebugMonitor, } from '../../printerSdk/entities';
import { Printer } from '../../printerSdk/printer';
import { PrinterCamera } from '../../printe... | 27.025751 | 127 | 0.70351 |
9bc7df97281297300f21b0440379e4a0720d4176 | 1,342 | js | JavaScript | src/screens/error/Error.js | OluwaferanmiLove/linklly | 3614ce963c4935f8de41c80f863710002c4378e3 | [
"MIT"
] | null | null | null | src/screens/error/Error.js | OluwaferanmiLove/linklly | 3614ce963c4935f8de41c80f863710002c4378e3 | [
"MIT"
] | null | null | null | src/screens/error/Error.js | OluwaferanmiLove/linklly | 3614ce963c4935f8de41c80f863710002c4378e3 | [
"MIT"
] | null | null | null | import React from 'react';
import Navbar from '../../components/Navbar';
function Error() {
return (
<div className='flex items-center justify-center bg-mainBg'>
<div className="flex flex-col h-screen w-screen overflow-hidden max-w-7xl lg:px-20">
<Navbar />
<div className="flex flex-col ite... | 41.9375 | 136 | 0.611773 |
f02b99e570e34c492dfa67856d0fa0c1f2043178 | 1,664 | js | JavaScript | build/lint.js | xianlubird/web-simulator | 51fc660b7da78c90789d06e007daa392cb69e025 | [
"Apache-2.0"
] | 8 | 2015-01-14T23:24:25.000Z | 2017-09-06T22:22:58.000Z | build/lint.js | xianlubird/web-simulator | 51fc660b7da78c90789d06e007daa392cb69e025 | [
"Apache-2.0"
] | 1 | 2021-02-24T04:38:34.000Z | 2021-02-24T04:38:34.000Z | build/lint.js | xianlubird/web-simulator | 51fc660b7da78c90789d06e007daa392cb69e025 | [
"Apache-2.0"
] | 7 | 2015-01-13T09:31:56.000Z | 2018-02-15T04:29:52.000Z | /*
* Copyright 2011 Research In Motion Limited.
*
* 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 ... | 32.627451 | 83 | 0.652043 |
4161bb1e5184ae5fdee31776a9b4b90437542388 | 549 | h | C | include/MockPublish.h | tompatman/zmqplus | efea491f2e9ca8f531ec7e102564fb56b1d62e0f | [
"MIT"
] | null | null | null | include/MockPublish.h | tompatman/zmqplus | efea491f2e9ca8f531ec7e102564fb56b1d62e0f | [
"MIT"
] | null | null | null | include/MockPublish.h | tompatman/zmqplus | efea491f2e9ca8f531ec7e102564fb56b1d62e0f | [
"MIT"
] | null | null | null | //
// Created by service on 6/17/16.
//
#ifndef MASTERPROJECT_MOCKPUBLISH_H_H
#define MASTERPROJECT_MOCKPUBLISH_H_H
#include <gmock/gmock.h>
#include "IPublish.h"
#include <Poco/Types.h>
namespace ZMQ {
template<typename msgData>
class MockPublish : public ZMQ::IPublish <msgData> {
public:
MOCK_METHOD1( ... | 19.607143 | 73 | 0.721311 |
e52503e686381384949426694899d4afa3fe2a6b | 244 | kt | Kotlin | app/src/main/java/com/syleiman/gingermoney/ui/activities/add_edit_payment/common/named_items_keyboard/NamedListItem.kt | AlShevelev/ginger-money | 91ef2b9bd5c19043104734b588940841fa6f9f4f | [
"MIT"
] | null | null | null | app/src/main/java/com/syleiman/gingermoney/ui/activities/add_edit_payment/common/named_items_keyboard/NamedListItem.kt | AlShevelev/ginger-money | 91ef2b9bd5c19043104734b588940841fa6f9f4f | [
"MIT"
] | null | null | null | app/src/main/java/com/syleiman/gingermoney/ui/activities/add_edit_payment/common/named_items_keyboard/NamedListItem.kt | AlShevelev/ginger-money | 91ef2b9bd5c19043104734b588940841fa6f9f4f | [
"MIT"
] | null | null | null | package com.syleiman.gingermoney.ui.activities.add_edit_payment.common.named_items_keyboard
import com.syleiman.gingermoney.ui.common.recycler_view.ListItem
data class NamedListItem(
override val id: Long,
val name: String
): ListItem | 30.5 | 91 | 0.819672 |
292cb154f038b351320ef2c398c31d8c1d76f07b | 279 | py | Python | robot-tests/remoteapplications/start_simple_java_app.py | robotframework/RemoteApplications | 90e38112e25441f7e5e1818eab3ebd63875ef20a | [
"Apache-2.0"
] | 3 | 2015-01-27T14:31:39.000Z | 2020-04-13T06:25:08.000Z | robot-tests/remoteapplications/start_simple_java_app.py | robotframework/RemoteApplications | 90e38112e25441f7e5e1818eab3ebd63875ef20a | [
"Apache-2.0"
] | 1 | 2017-03-13T07:23:27.000Z | 2017-03-13T10:49:09.000Z | robot-tests/remoteapplications/start_simple_java_app.py | robotframework/RemoteApplications | 90e38112e25441f7e5e1818eab3ebd63875ef20a | [
"Apache-2.0"
] | 2 | 2019-04-09T09:36:32.000Z | 2019-04-23T02:32:10.000Z | #!/usr/bin/env python
import os
if __name__ == '__main__':
os.environ['CLASSPATH'] = ''
jar = os.path.join(os.path.dirname(__file__), '..', '..', 'src', 'test',
'resources', 'test-app', 'test-application.jar')
os.popen2('java -jar %s' % jar) | 31 | 77 | 0.548387 |
39db495df899a237510e6e6736f231b95861b280 | 1,016 | java | Java | src/net/acomputerdog/map/image/EmptyingColorModel.java | warriordog/MapMaster | 4c6053e51fe2a14c96eef0c71608d7531478360b | [
"MIT"
] | 3 | 2015-08-23T02:41:19.000Z | 2019-09-16T08:32:24.000Z | src/net/acomputerdog/map/image/EmptyingColorModel.java | warriordog/MapMaster | 4c6053e51fe2a14c96eef0c71608d7531478360b | [
"MIT"
] | 2 | 2015-08-23T02:43:34.000Z | 2017-03-29T00:20:34.000Z | src/net/acomputerdog/map/image/EmptyingColorModel.java | warriordog/MapMaster | 4c6053e51fe2a14c96eef0c71608d7531478360b | [
"MIT"
] | null | null | null | package net.acomputerdog.map.image;
import java.awt.color.ColorSpace;
import java.awt.image.DirectColorModel;
public class EmptyingColorModel extends DirectColorModel {
public EmptyingColorModel(int bits, int rmask, int gmask, int bmask) {
super(bits, rmask, gmask, bmask);
}
public EmptyingColorM... | 35.034483 | 151 | 0.645669 |
b765f9c62a1c57f70093ddd065ec25cec9a09fff | 518 | asm | Assembly | oeis/213/A213394.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/213/A213394.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/213/A213394.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A213394: The difference between n and the product of the digits of the n-th prime.
; Submitted by Jon Maiga
; -1,-1,-2,-3,4,3,0,-1,3,-8,8,-9,9,2,-13,1,-28,12,-23,13,0,-41,-1,-48,-38,26,27,28,29,27,17,29,12,7,-1,31,2,20,-3,19,-22,34,34,17,-18,-35,45,36,21,14,33,-2,45,44,-15,20,-51,44,-39,44,13,8,63,61,56,45,58,5,-15,-... | 51.8 | 319 | 0.61583 |
4a411da24e2164e87b8e48a271a05d0588e32191 | 1,155 | js | JavaScript | basic-js/to-do-list/tdl.js | apflores/june-html-js | 4eca19ce4629b918ea1c32d7e7ad729dcee67a81 | [
"Apache-2.0"
] | null | null | null | basic-js/to-do-list/tdl.js | apflores/june-html-js | 4eca19ce4629b918ea1c32d7e7ad729dcee67a81 | [
"Apache-2.0"
] | null | null | null | basic-js/to-do-list/tdl.js | apflores/june-html-js | 4eca19ce4629b918ea1c32d7e7ad729dcee67a81 | [
"Apache-2.0"
] | null | null | null | "use strict";
var c = console;
window.onload = function () {
var add = document.getElementById("add");
var task = document.getElementById("task");
var list = document.getElementById("list");
var finished = document.getElementById("finished");
add.addEventListener("click", function () {
va... | 31.216216 | 104 | 0.572294 |
4992fdd939ad8ec448c87202d79a81b0007a0639 | 5,592 | html | HTML | projects.html | undisputedcoder/riazamin | 53a28a4cd3260c868a42ab46fda98a9234081804 | [
"CC-BY-3.0"
] | null | null | null | projects.html | undisputedcoder/riazamin | 53a28a4cd3260c868a42ab46fda98a9234081804 | [
"CC-BY-3.0"
] | null | null | null | projects.html | undisputedcoder/riazamin | 53a28a4cd3260c868a42ab46fda98a9234081804 | [
"CC-BY-3.0"
] | null | null | null | <!DOCTYPE HTML>
<!--
Editorial by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Projects - Riaz Amin</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=... | 40.230216 | 168 | 0.561695 |
2db509cd97998e46400fbd613038d8dbc03d2910 | 9,717 | html | HTML | davidovichandassociates/services.html | DaniaGn/WebDesign2 | f537b48c29cdb13753afe9834c6e7d45be61ffd0 | [
"CC0-1.0"
] | null | null | null | davidovichandassociates/services.html | DaniaGn/WebDesign2 | f537b48c29cdb13753afe9834c6e7d45be61ffd0 | [
"CC0-1.0"
] | null | null | null | davidovichandassociates/services.html | DaniaGn/WebDesign2 | f537b48c29cdb13753afe9834c6e7d45be61ffd0 | [
"CC0-1.0"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/4d745172d2.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapi... | 90.813084 | 1,467 | 0.667696 |
850adcf6746f52c0ccbaa431f3930be04e978090 | 230 | rs | Rust | src/test/run-pass/use.rs | dckc/rust | 07edf9036715bde27cc7bbc0feb3ee6e461130da | [
"MIT"
] | null | null | null | src/test/run-pass/use.rs | dckc/rust | 07edf9036715bde27cc7bbc0feb3ee6e461130da | [
"MIT"
] | 4 | 2015-07-22T02:27:23.000Z | 2021-06-14T22:17:21.000Z | src/test/run-pass/use.rs | dckc/rust | 07edf9036715bde27cc7bbc0feb3ee6e461130da | [
"MIT"
] | null | null | null | #[no_core];
extern mod core;
extern mod zed(name = "core");
extern mod bar(name = "core", vers = "0.5");
use core::str;
use x = zed::str;
mod baz {
#[legacy_exports];
use bar::str;
use x = core::str;
}
fn main() { } | 15.333333 | 44 | 0.573913 |
a861de659c5431af85e921859a6ecaa6d45a145f | 2,197 | swift | Swift | tests/dat/actions/SwiftyRequest/Sources/main.swift | Luke-Roy-IBM/runtime-swift | 7c29bffe3726313d64973314df5809ded2881416 | [
"Apache-2.0"
] | 4 | 2018-06-06T03:07:52.000Z | 2019-07-03T04:15:47.000Z | tests/dat/actions/SwiftyRequest/Sources/main.swift | Luke-Roy-IBM/runtime-swift | 7c29bffe3726313d64973314df5809ded2881416 | [
"Apache-2.0"
] | 29 | 2018-02-15T01:55:12.000Z | 2021-08-30T15:05:13.000Z | tests/dat/actions/SwiftyRequest/Sources/main.swift | Luke-Roy-IBM/runtime-swift | 7c29bffe3726313d64973314df5809ded2881416 | [
"Apache-2.0"
] | 10 | 2018-02-15T03:32:12.000Z | 2021-05-25T08:35:05.000Z | import SwiftyRequest
import Dispatch
import Foundation
import LanguageTranslatorV2
func main(args: [String:Any]) -> [String:Any] {
var resp :[String:Any] = ["error":"Action failed"]
var echoURL:String
if let echoUrlValue = args["url"] {
echoURL = echoUrlValue as! String
} else {
echoUR... | 35.435484 | 106 | 0.638143 |
331716acfd5f9717ca8ca44120a0bc65248ee1dc | 6,108 | py | Python | tfx/experimental/pipeline_testing/pipeline_recorder_utils_test.py | Anon-Artist/tfx | 2692c9ab437d76b5d9517996bfe2596862e0791d | [
"Apache-2.0"
] | 2 | 2021-05-10T21:39:48.000Z | 2021-11-17T11:24:29.000Z | tfx/experimental/pipeline_testing/pipeline_recorder_utils_test.py | Anon-Artist/tfx | 2692c9ab437d76b5d9517996bfe2596862e0791d | [
"Apache-2.0"
] | 1 | 2021-01-28T13:44:51.000Z | 2021-04-28T16:15:47.000Z | tfx/experimental/pipeline_testing/pipeline_recorder_utils_test.py | Anon-Artist/tfx | 2692c9ab437d76b5d9517996bfe2596862e0791d | [
"Apache-2.0"
] | 1 | 2021-01-28T13:41:51.000Z | 2021-01-28T13:41:51.000Z | # Lint as: python3
# Copyright 2020 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | 40.184211 | 77 | 0.708906 |
2670a634cfb847001c159137a75eddab05bfd336 | 121 | java | Java | Java-DB-Fundamentals/DatabasesFrameworks-Hibernate&SpringData/03.OOPPrinciples/src/P05/Human.java | yangra/SoftUni | 2fe8ac059fe398f8bf229200c5406840f026fb88 | [
"MIT"
] | null | null | null | Java-DB-Fundamentals/DatabasesFrameworks-Hibernate&SpringData/03.OOPPrinciples/src/P05/Human.java | yangra/SoftUni | 2fe8ac059fe398f8bf229200c5406840f026fb88 | [
"MIT"
] | null | null | null | Java-DB-Fundamentals/DatabasesFrameworks-Hibernate&SpringData/03.OOPPrinciples/src/P05/Human.java | yangra/SoftUni | 2fe8ac059fe398f8bf229200c5406840f026fb88 | [
"MIT"
] | null | null | null | package P05;
/**
* Created by Yana on 7/5/2017.
*/
public interface Human {
String getName();
int getAge();
}
| 12.1 | 31 | 0.603306 |
12e825ea0f09935c00b40ed2f9befcb417739552 | 3,436 | html | HTML | _includes/regional_coordinator_template.html | slel/carpentries.org | 7118b5fb3491d821a251a6824e89ef7adb54f1ae | [
"MIT"
] | null | null | null | _includes/regional_coordinator_template.html | slel/carpentries.org | 7118b5fb3491d821a251a6824e89ef7adb54f1ae | [
"MIT"
] | null | null | null | _includes/regional_coordinator_template.html | slel/carpentries.org | 7118b5fb3491d821a251a6824e89ef7adb54f1ae | [
"MIT"
] | 1 | 2021-02-07T10:58:50.000Z | 2021-02-07T10:58:50.000Z | <div class="container">
<h1>The Carpentries in {{ region }}</h1>
<!-- BEGIN Set RC as singular or plural -->
{% if regional_coordinators.size > 1 %}
{% assign plural = true %}
{% else %}
{% assign plural = false %}
{% endif %}
<!-- END Set RC as singular or plural -->
<!-- BEGIN Section: About the Admin -->
<!-- ... | 30.40708 | 379 | 0.602154 |
f06bdd64fa4945ff8e5891389cfe92e567635897 | 468 | js | JavaScript | packages/test/node_modules/@crux/router/src/lib/parser/param-name.js | andyjessop/vs-app | f1bac47c0204d77bd47477c2b7eee51f00f35964 | [
"MIT"
] | null | null | null | packages/test/node_modules/@crux/router/src/lib/parser/param-name.js | andyjessop/vs-app | f1bac47c0204d77bd47477c2b7eee51f00f35964 | [
"MIT"
] | null | null | null | packages/test/node_modules/@crux/router/src/lib/parser/param-name.js | andyjessop/vs-app | f1bac47c0204d77bd47477c2b7eee51f00f35964 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paramName = void 0;
const is_list_1 = require("./is-list");
const is_optional_1 = require("./is-optional");
/**
* Get the parameter name from a path parameter.
*/
function paramName(n) {
if ((0, is_optional_1.isOptional)(n) || (0... | 29.25 | 71 | 0.668803 |
40d030c6db19a916f1772b2968dd8ea45b35ad61 | 25,551 | html | HTML | docs/index-files/index-15.html | kartverket/BorderGo | 7fe616feb41453ce336b20f8a9e14ea3ac3ce0c6 | [
"MIT"
] | 21 | 2017-10-26T14:02:32.000Z | 2021-09-21T12:40:58.000Z | docs/index-files/index-15.html | kartverket/BorderGo | 7fe616feb41453ce336b20f8a9e14ea3ac3ce0c6 | [
"MIT"
] | 1 | 2017-11-15T22:28:44.000Z | 2017-11-24T15:34:40.000Z | docs/index-files/index-15.html | kartverket/BorderGo | 7fe616feb41453ce336b20f8a9e14ea3ac3ce0c6 | [
"MIT"
] | 4 | 2018-11-02T10:14:33.000Z | 2021-09-04T18:55:45.000Z | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="no">
<head>
<!-- Generated by javadoc (1.8.0_112-release) on Wed Oct 25 16:04:29 CEST 2017 -->
<title>P-Index</title>
<meta name="date" content="2017-10-25">
<link rel="stylesheet" type="t... | 94.98513 | 945 | 0.741615 |
dd7ae292f65f47cd12ad157d5f49967e3320e500 | 1,455 | swift | Swift | Sources/Request/Helpers/Auth.swift | cris20000/swift-request | 138fd3a94b3feb0a4fac16c17e4434b6a8a9a6a6 | [
"MIT"
] | 659 | 2019-07-14T05:32:20.000Z | 2022-03-30T01:48:29.000Z | Sources/Request/Helpers/Auth.swift | cris20000/swift-request | 138fd3a94b3feb0a4fac16c17e4434b6a8a9a6a6 | [
"MIT"
] | 53 | 2019-07-14T17:22:30.000Z | 2022-01-13T08:18:49.000Z | Sources/Request/Helpers/Auth.swift | cris20000/swift-request | 138fd3a94b3feb0a4fac16c17e4434b6a8a9a6a6 | [
"MIT"
] | 43 | 2019-07-24T04:11:02.000Z | 2022-03-20T14:19:38.000Z | //
// Authorization.swift
// PackageTests
//
// Created by Carson Katri on 7/2/19.
// Copyright © 2019 Carson Katri. All rights reserved.
//
import Foundation
/// The type of `Authentication` to use in the `Request`
///
/// Used with `Auth`
public enum AuthType: String {
case basic = "Basic"
case bearer =... | 26.454545 | 98 | 0.624742 |