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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6f1c77d6d5b552654970ef97e022e0dee974bef9 | 966 | sh | Shell | user.sh | omkantmant54/omkantmani | 23b7aa91c278868384eabaee62046633be9b2d01 | [
"Apache-2.0"
] | null | null | null | user.sh | omkantmant54/omkantmani | 23b7aa91c278868384eabaee62046633be9b2d01 | [
"Apache-2.0"
] | null | null | null | user.sh | omkantmant54/omkantmani | 23b7aa91c278868384eabaee62046633be9b2d01 | [
"Apache-2.0"
] | null | null | null | #!/data/data/com.termux/files/usr/bin/bash
clear
echo " "
echo " "
echo -e "\e[33mEnter Your Terminal Name(e.g. @thedumpedone) \e[32m \n\n"
read varterm
echo " "
echo "cowsay -f kiss ' $varterm' |lolcat" > t-ban.txt
echo -e "\e[33mEnter Your Banner Name(e.g. DUMPED ONE) \e[32m \n\n"
read varbanner
ech... | 26.833333 | 73 | 0.601449 |
72950d63eefd8135336436688cf8f7326a01a701 | 7,232 | cs | C# | DTQA/Form1.cs | ISDHN/DTQA | d6a2525dd4ec48b1216f0cd027b459fa298574ec | [
"MIT"
] | null | null | null | DTQA/Form1.cs | ISDHN/DTQA | d6a2525dd4ec48b1216f0cd027b459fa298574ec | [
"MIT"
] | null | null | null | DTQA/Form1.cs | ISDHN/DTQA | d6a2525dd4ec48b1216f0cd027b459fa298574ec | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml;
namespace DTQA
{
public partial class Form1 : Form
{
private int questionNumber;... | 23.633987 | 169 | 0.633296 |
11ddb216339f0be3c8952948d30cfa6497ec25ed | 2,176 | go | Go | service/worker/scanner/executions/invariants/test_util.go | backwardn/cadence | 6fcee79ea3a6be7e33dff3ab15cfe3f31eef4b89 | [
"MIT"
] | 1 | 2020-06-13T21:03:53.000Z | 2020-06-13T21:03:53.000Z | service/worker/scanner/executions/invariants/test_util.go | backwardn/cadence | 6fcee79ea3a6be7e33dff3ab15cfe3f31eef4b89 | [
"MIT"
] | null | null | null | service/worker/scanner/executions/invariants/test_util.go | backwardn/cadence | 6fcee79ea3a6be7e33dff3ab15cfe3f31eef4b89 | [
"MIT"
] | null | null | null | // The MIT License (MIT)
//
// Copyright (c) 2017-2020 Uber Technologies Inc.
//
// 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 right... | 31.085714 | 81 | 0.721967 |
e231e928df62fe1d218c56b3a09788c7da0e4643 | 42 | js | JavaScript | src/page/LendingPage/LendingPage.js | ShengminQuan/GleichWeb | 0b1be649b22b9033754bc80bb71c7c9010c25820 | [
"MIT"
] | null | null | null | src/page/LendingPage/LendingPage.js | ShengminQuan/GleichWeb | 0b1be649b22b9033754bc80bb71c7c9010c25820 | [
"MIT"
] | null | null | null | src/page/LendingPage/LendingPage.js | ShengminQuan/GleichWeb | 0b1be649b22b9033754bc80bb71c7c9010c25820 | [
"MIT"
] | null | null | null | export default {
name: 'LendingPage',
};
| 10.5 | 21 | 0.666667 |
9fbd1720b346ab2e070b69e39fe0124605b4a8b9 | 393 | lua | Lua | lovr-api/data/TextureData/getBlob.lua | jmiskovic/aquadeck | d9f1efa31cd9ac445ee5aa39339a5671ee80ff8b | [
"Unlicense"
] | 1 | 2022-02-20T19:11:59.000Z | 2022-02-20T19:11:59.000Z | lovr-api/data/TextureData/getBlob.lua | jmiskovic/aquadeck | d9f1efa31cd9ac445ee5aa39339a5671ee80ff8b | [
"Unlicense"
] | 8 | 2022-01-15T03:19:30.000Z | 2022-01-15T04:20:30.000Z | lovr-api/data/TextureData/getBlob.lua | jmiskovic/aquadeck | d9f1efa31cd9ac445ee5aa39339a5671ee80ff8b | [
"Unlicense"
] | null | null | null | return {
summary = 'Get the bytes backing this TextureData as a `Blob`.',
description = 'Returns a Blob containing the raw bytes of the TextureData.',
arguments = {},
returns = {
{
name = 'blob',
type = 'Blob',
description = 'The Blob instance containing the bytes for the `TextureData`.'
... | 23.117647 | 83 | 0.608142 |
2fee5f742d887b7d519294f80a61d2209321bb48 | 4,100 | py | Python | tests/test_circuit/test_new_style_syntax.py | leonardt/magma | d3e8c9500ec3b167df8ed067e0c0305781c94ab6 | [
"MIT"
] | 167 | 2017-10-08T00:59:22.000Z | 2022-02-08T00:14:39.000Z | tests/test_circuit/test_new_style_syntax.py | leonardt/magma | d3e8c9500ec3b167df8ed067e0c0305781c94ab6 | [
"MIT"
] | 719 | 2017-08-29T17:58:28.000Z | 2022-03-31T23:39:18.000Z | tests/test_circuit/test_new_style_syntax.py | leonardt/magma | d3e8c9500ec3b167df8ed067e0c0305781c94ab6 | [
"MIT"
] | 14 | 2017-09-01T03:25:16.000Z | 2021-11-05T13:30:24.000Z | import magma as m
from magma.testing.utils import has_warning, has_error
def _check_foo_interface(Foo):
assert list(Foo.interface.ports.keys()) == ["I", "O"]
assert isinstance(Foo.interface.ports["I"], m.Bit)
assert Foo.interface.ports["I"].is_output()
assert isinstance(Foo.interface.ports["O"], m.Bit... | 27.516779 | 90 | 0.597805 |
f4945fcd79ca0f16adbdf8e3c10bd6db51de7c88 | 162 | ts | TypeScript | src/decorators/index.ts | UserOfficeProject/user-office-backend | dc69dfd7332d96b28cd28134478b0a7c1abff932 | [
"BSD-3-Clause"
] | 4 | 2020-08-27T15:25:12.000Z | 2021-12-13T16:12:28.000Z | src/decorators/index.ts | UserOfficeProject/user-office-backend | dc69dfd7332d96b28cd28134478b0a7c1abff932 | [
"BSD-3-Clause"
] | 60 | 2020-09-17T06:37:33.000Z | 2022-03-29T05:30:31.000Z | src/decorators/index.ts | UserOfficeProject/user-office-backend | dc69dfd7332d96b28cd28134478b0a7c1abff932 | [
"BSD-3-Clause"
] | 1 | 2021-04-07T12:19:36.000Z | 2021-04-07T12:19:36.000Z | export { default as ValidateArgs } from './ValidateArgs';
export { default as EventBus } from './EventBus';
export { default as Authorized } from './Authorized';
| 40.5 | 57 | 0.722222 |
662f90b16d97cf62514584fe720421996bf9a56a | 4,749 | py | Python | open_cli/completer.py | dennislwm/open-cli | dad66ee6a0b494c7a7f983ff43a030ea8ffc291d | [
"MIT"
] | 55 | 2018-05-11T20:14:51.000Z | 2022-02-16T18:08:19.000Z | open_cli/completer.py | dennislwm/open-cli | dad66ee6a0b494c7a7f983ff43a030ea8ffc291d | [
"MIT"
] | 3 | 2018-05-17T14:44:03.000Z | 2018-08-29T07:44:49.000Z | open_cli/completer.py | dennislwm/open-cli | dad66ee6a0b494c7a7f983ff43a030ea8ffc291d | [
"MIT"
] | 5 | 2019-10-26T00:16:09.000Z | 2021-07-22T15:13:44.000Z | import shlex
from prompt_toolkit.completion import Completer, Completion
class CommandCompleter(Completer):
"""Manage completion suggestions to the CLI."""
def __init__(self, client):
"""Create a CLI commands completer based on the client object."""
self.client = client
self.definiti... | 35.440299 | 90 | 0.608549 |
afa008fa3636a4fda9344f5f425591dcd3ce2b35 | 2,250 | py | Python | robobet/bet_placer/site_routers.py | Toffooo/robobet | e3522be66b963bec1439a0e06dde3ae2edbcf22c | [
"MIT"
] | null | null | null | robobet/bet_placer/site_routers.py | Toffooo/robobet | e3522be66b963bec1439a0e06dde3ae2edbcf22c | [
"MIT"
] | null | null | null | robobet/bet_placer/site_routers.py | Toffooo/robobet | e3522be66b963bec1439a0e06dde3ae2edbcf22c | [
"MIT"
] | null | null | null | import time
from abc import ABC, abstractmethod
from contextlib import contextmanager
from selenium import webdriver
from settings import Bet1X
from .schemas import RouterResponse, create_router_response
class AbstractRouter(ABC):
def __init__(self, username: int, password: str) -> None:
self.username ... | 28.125 | 80 | 0.572889 |
2c64be6c48e872ca2725e3d2f655ea8319d5bdcb | 10,090 | py | Python | cooler/cli/load.py | mimakaev/cooler | 84b0d510dc3baf0b9ef3592f9d27ba795e1802ee | [
"BSD-3-Clause"
] | 106 | 2016-01-15T21:24:41.000Z | 2020-09-24T12:15:13.000Z | cooler/cli/load.py | mimakaev/cooler | 84b0d510dc3baf0b9ef3592f9d27ba795e1802ee | [
"BSD-3-Clause"
] | 190 | 2016-02-16T03:35:30.000Z | 2020-09-25T19:16:28.000Z | cooler/cli/load.py | mimakaev/cooler | 84b0d510dc3baf0b9ef3592f9d27ba795e1802ee | [
"BSD-3-Clause"
] | 43 | 2016-08-26T18:51:21.000Z | 2020-09-08T13:38:50.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
import simplejson as json
import sys
import numpy as np
import pandas as pd
from ._util import parse_bins, parse_field_param, parse_kv_list_param
from . import cli, get_logger
import click
from ..create import (
create_from_... | 30.029762 | 80 | 0.603072 |
4d9b3d8204168da6ff885d41b9a5f9bcea9cd42f | 2,947 | cs | C# | AsyncTwitch2/Models/ChatUser.cs | lolPants/AsyncTwitch2 | c887a3ea15f29313eb217c607fdd5d0c098e628d | [
"0BSD"
] | 1 | 2020-06-20T08:40:05.000Z | 2020-06-20T08:40:05.000Z | AsyncTwitch2/Models/ChatUser.cs | lolPants/AsyncTwitch2 | c887a3ea15f29313eb217c607fdd5d0c098e628d | [
"0BSD"
] | null | null | null | AsyncTwitch2/Models/ChatUser.cs | lolPants/AsyncTwitch2 | c887a3ea15f29313eb217c607fdd5d0c098e628d | [
"0BSD"
] | null | null | null | using System.Text;
namespace AsyncTwitch.Models
{
public struct ChatUser
{
/// <summary>
/// Twitch Username.
/// </summary>
public string Username;
/// <summary>
/// Twitch Username as displayed in chat.
/// </summary>
public string DisplayName... | 30.381443 | 175 | 0.534102 |
004edcc84acf226a31f955d90d4e92d8648f56f7 | 1,347 | swift | Swift | Ribbon/Extensions/NSToolbar.swift | chriszielinski/Ribbon | e4a93bdcf945839f48d61a27045d1e53a86f3a30 | [
"MIT"
] | 297 | 2019-08-11T07:33:09.000Z | 2022-03-26T02:41:03.000Z | Ribbon/Extensions/NSToolbar.swift | mohsinalimat/Ribbon | a69fbd14dbe05dfdd92128c1de7d53501bfba270 | [
"MIT"
] | null | null | null | Ribbon/Extensions/NSToolbar.swift | mohsinalimat/Ribbon | a69fbd14dbe05dfdd92128c1de7d53501bfba270 | [
"MIT"
] | 21 | 2019-08-13T13:47:32.000Z | 2022-01-29T16:11:43.000Z | //
// NSToolbar.swift
// Ribbon 🎀
//
// Created by Chris Zielinski on 7/26/19.
// Copyright © 2019 Big Z Labs. All rights reserved.
//
#if canImport(AppKit)
import AppKit
extension NSToolbar {
// MARK: - Initializers
// MARK: Convenience
convenience init(ribbon: Ribbon) {
self.init(identif... | 29.933333 | 101 | 0.639941 |
37858200586dbcdec25a789fae40f6ec357ab102 | 1,260 | kts | Kotlin | build.gradle.kts | AndrewReitz/zwift-workout-creator | 302c2e2b2b5e0c42651d9cc456609ee15a007372 | [
"MIT"
] | null | null | null | build.gradle.kts | AndrewReitz/zwift-workout-creator | 302c2e2b2b5e0c42651d9cc456609ee15a007372 | [
"MIT"
] | null | null | null | build.gradle.kts | AndrewReitz/zwift-workout-creator | 302c2e2b2b5e0c42651d9cc456609ee15a007372 | [
"MIT"
] | null | null | null | plugins {
application
kotlin("jvm") version "1.3.71"
id("com.palantir.graal") version "0.6.0"
id("com.github.ben-manes.versions") version "0.28.0"
}
repositories {
jcenter()
}
dependencies {
implementation(kotlin("stdlib"))
implementation(kotlin("main-kts"))
implementation(kotlin("refl... | 25.714286 | 88 | 0.702381 |
6d8836946e1791a8561d51a5408991bdc678da22 | 15,242 | h | C | bsp/imx6sx/iMX6_Platform_SDK/sdk/common/usb_stack/Device/source/class/usb_msc.h | Davidfind/rt-thread | 56f1a8af4f9e8bad0a0fdc5cea7112767267b243 | [
"Apache-2.0"
] | 7,482 | 2015-01-01T09:23:08.000Z | 2022-03-31T19:34:05.000Z | platform/mcu/imx6/imx6_platform_sdk/sdk/common/usb_stack/Device/source/class/usb_msc.h | IamBaoMouMou/AliOS-Things | 195a9160b871b3d78de6f8cf6c2ab09a71977527 | [
"Apache-2.0"
] | 2,543 | 2015-01-09T02:01:34.000Z | 2022-03-31T23:10:14.000Z | platform/mcu/imx6/imx6_platform_sdk/sdk/common/usb_stack/Device/source/class/usb_msc.h | IamBaoMouMou/AliOS-Things | 195a9160b871b3d78de6f8cf6c2ab09a71977527 | [
"Apache-2.0"
] | 4,645 | 2015-01-06T07:05:31.000Z | 2022-03-31T18:21:50.000Z | /******************************************************************************
*
* Freescale Semiconductor Inc.
* (c) Copyright 2004-2009 Freescale Semiconductor, Inc.
* ALL RIGHTS RESERVED.
*
******************************************************************************
*
* THIS SOFTWARE IS PROVIDED BY FREESC... | 40.322751 | 134 | 0.542186 |
3f9152a0549f5c150230ffa4aad69453d9cc63b8 | 5,724 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_246.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_246.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_246.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x14142, %rsi
lea addresses_D_ht+0x7db6, %rdi
nop
nop
nop
nop
nop
and %r14, %r14
mov $92, %rcx
rep movsq
nop
nop
nop
nop
xor %rsi, %rsi
lea addresses_WT_ht+0x67c2, %rsi
lea addresses_WC_ht+0x1... | 37.907285 | 2,999 | 0.657757 |
0d5d3f5ab01e892a45f4154a217332c9b5b8f371 | 1,280 | h | C | panda/src/physx/physxRaycastReport.h | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/physx/physxRaycastReport.h | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/physx/physxRaycastReport.h | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file physxRaycastReport.h
*... | 23.703704 | 73 | 0.757031 |
d01cb6e182d81c9a1b8ecedc5d95be9a285351d3 | 3,751 | rb | Ruby | spec/spec_helper.rb | zph/buff | d07c9febe2d4d901fcb6728f41f66206c53e33c2 | [
"MIT"
] | 1 | 2016-01-06T10:57:43.000Z | 2016-01-06T10:57:43.000Z | spec/spec_helper.rb | zph/buff | d07c9febe2d4d901fcb6728f41f66206c53e33c2 | [
"MIT"
] | 1 | 2015-04-05T04:32:06.000Z | 2015-04-05T04:32:06.000Z | spec/spec_helper.rb | zph/buff | d07c9febe2d4d901fcb6728f41f66206c53e33c2 | [
"MIT"
] | null | null | null | require 'buff'
require 'rspec'
require 'webmock/rspec'
require 'json'
require 'coveralls'
Coveralls.wear!
def travis?
ENV['TRAVIS_CI']
end
def fixture_path
File.expand_path(File.join("..", "fixtures"), __FILE__)
end
def fixture(file)
File.new(File.join(fixture_path, file))
end
def post_data
<<EOF
schedules[0... | 21.80814 | 159 | 0.569448 |
a3decf6ef96903a8d48b94a8e67064daa0b067e8 | 1,934 | java | Java | simulator/src/test/java/com/hazelcast/simulator/protocol/handler/ResponseHandlerTest.java | hasancelik/hazelcast-stabilizer | 2e3016ef6bdeeb39069ddcb6be6ff16ec97c1fb8 | [
"Apache-2.0"
] | null | null | null | simulator/src/test/java/com/hazelcast/simulator/protocol/handler/ResponseHandlerTest.java | hasancelik/hazelcast-stabilizer | 2e3016ef6bdeeb39069ddcb6be6ff16ec97c1fb8 | [
"Apache-2.0"
] | null | null | null | simulator/src/test/java/com/hazelcast/simulator/protocol/handler/ResponseHandlerTest.java | hasancelik/hazelcast-stabilizer | 2e3016ef6bdeeb39069ddcb6be6ff16ec97c1fb8 | [
"Apache-2.0"
] | null | null | null | package com.hazelcast.simulator.protocol.handler;
import com.hazelcast.simulator.protocol.core.AddressLevel;
import com.hazelcast.simulator.protocol.core.Response;
import com.hazelcast.simulator.protocol.core.ResponseFuture;
import com.hazelcast.simulator.protocol.core.SimulatorAddress;
import org.junit.Before;
import... | 35.814815 | 114 | 0.775595 |
83589b04b3f9bc7f463ff1534ce878e9603fc4f6 | 1,829 | tsx | TypeScript | src/Slices/DesiredStateResourceDetails/UI/DetailsProvider.test.tsx | inmanta/web-console | 0cab0e3a6c65ea578b3ab29f0c0998762946ae44 | [
"Apache-2.0"
] | null | null | null | src/Slices/DesiredStateResourceDetails/UI/DetailsProvider.test.tsx | inmanta/web-console | 0cab0e3a6c65ea578b3ab29f0c0998762946ae44 | [
"Apache-2.0"
] | 1,201 | 2021-11-24T14:50:56.000Z | 2022-03-31T17:56:51.000Z | src/Slices/DesiredStateResourceDetails/UI/DetailsProvider.test.tsx | inmanta/web-console | 0cab0e3a6c65ea578b3ab29f0c0998762946ae44 | [
"Apache-2.0"
] | null | null | null | import React from "react";
import { MemoryRouter } from "react-router-dom";
import { render, screen } from "@testing-library/react";
import { StoreProvider } from "easy-peasy";
import { act } from "react-dom/test-utils";
import { Either } from "@/Core";
import {
getStoreInstance,
QueryManagerResolver,
QueryResolv... | 31.534483 | 104 | 0.694369 |
ddbbee37fe851629088ccfb06c73a0bf315ceedb | 447 | java | Java | LACCPlus/Hadoop/2644_1.java | sgholamian/log-aware-clone-detection | 9993cb081c420413c231d1807bfff342c39aa69a | [
"MIT"
] | null | null | null | LACCPlus/Hadoop/2644_1.java | sgholamian/log-aware-clone-detection | 9993cb081c420413c231d1807bfff342c39aa69a | [
"MIT"
] | null | null | null | LACCPlus/Hadoop/2644_1.java | sgholamian/log-aware-clone-detection | 9993cb081c420413c231d1807bfff342c39aa69a | [
"MIT"
] | null | null | null | //,temp,HistoryServerFileSystemStateStoreService.java,201,211,temp,ZKRMStateStore.java,1140,1152
//,3
public class xxx {
@Override
public void removeTokenMasterKey(DelegationKey key)
throws IOException {
if (LOG.isDebugEnabled()) {
LOG.debug("Removing master key " + key.getKeyId());
}
Path ... | 27.9375 | 96 | 0.709172 |
ff931001fd3276c447a35be0ad2c4ac9072f8ef2 | 477 | py | Python | persons/models.py | jrosczyk/addressbook | fab640a3398b99fd1a2fe376b21707fb3457a731 | [
"MIT"
] | null | null | null | persons/models.py | jrosczyk/addressbook | fab640a3398b99fd1a2fe376b21707fb3457a731 | [
"MIT"
] | 2 | 2021-04-08T21:56:11.000Z | 2021-09-22T19:41:23.000Z | persons/models.py | jrosczyk/addressbook | fab640a3398b99fd1a2fe376b21707fb3457a731 | [
"MIT"
] | null | null | null | from django.db import models
from phone_field import PhoneField
# Create your models here.
class Person(models.Model):
first_name = models.CharField(max_length=100)
last_name = models.CharField(max_length=100)
email = models.EmailField(max_length=254)
phone = PhoneField(help_text='Contact phone number')
created ... | 31.8 | 53 | 0.786164 |
84bb7f50be52c95fe4362698a4fcb538a2f5113c | 6,113 | cs | C# | Lazurite/LazuriteUI.Windows.Main/Statistics/StatisticsMainView.xaml.cs | noant/Pyrite2 | f8575b9de67a86cb28040c8db34052900a726641 | [
"Apache-2.0"
] | 55 | 2018-09-27T09:49:32.000Z | 2021-09-30T06:32:14.000Z | Lazurite/LazuriteUI.Windows.Main/Statistics/StatisticsMainView.xaml.cs | noant/Pyrite2 | f8575b9de67a86cb28040c8db34052900a726641 | [
"Apache-2.0"
] | 6 | 2018-03-05T12:28:37.000Z | 2019-05-12T15:44:37.000Z | Lazurite/LazuriteUI.Windows.Main/Statistics/StatisticsMainView.xaml.cs | noant/Pyrite2 | f8575b9de67a86cb28040c8db34052900a726641 | [
"Apache-2.0"
] | 4 | 2018-09-27T17:34:09.000Z | 2019-09-09T22:06:45.000Z | using Lazurite.IOC;
using Lazurite.Logging;
using Lazurite.MainDomain;
using Lazurite.MainDomain.Statistics;
using Lazurite.Scenarios.ScenarioTypes;
using LazuriteUI.Icons;
using LazuriteUI.Windows.Controls;
using LazuriteUI.Windows.Main.Common;
using LazuriteUI.Windows.Main.Statistics.Settings;
using LazuriteUI.Windo... | 39.694805 | 183 | 0.535743 |
8c4406d816e98354ed5f91a58171894d799ef60c | 115 | sql | SQL | src/test/resources/sql/insert/8e1cc98e.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/insert/8e1cc98e.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/insert/8e1cc98e.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:subselect.sql ln:308 expect:true
insert into numeric_table values (1), (1.000000000000000000001), (2), (3)
| 38.333333 | 73 | 0.73913 |
e0065b42ce270fdd12509ac3cc9eb29538330d14 | 2,683 | php | PHP | resources/views/notes/index.blade.php | maksenajeit33/Notes_app | 5fadce0759c2a3c54ead6de6767907bb16b39b34 | [
"MIT"
] | null | null | null | resources/views/notes/index.blade.php | maksenajeit33/Notes_app | 5fadce0759c2a3c54ead6de6767907bb16b39b34 | [
"MIT"
] | null | null | null | resources/views/notes/index.blade.php | maksenajeit33/Notes_app | 5fadce0759c2a3c54ead6de6767907bb16b39b34 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
<div class="container">
<div class="jumbotron container">
<h1>All Notes!</h1>
<hr>
<a class="btn btn-primary btn-lg" href="{{route('notes.create')}}" role="button">Create note</a>
</div>
@if ($message = Session::get('success'))
<div ... | 32.325301 | 110 | 0.447633 |
852345c7d33a2967b6f1b8324fe7ab3b20b9e032 | 1,002 | cs | C# | Amazon.ApplicationLoadBalancer.Identity.AspNetCore.Tests/TestStartup.cs | rwarr627/aws-alb-identity-aspnetcore | 9e8cf7839edbd6d83aa25f1fb69b6448062708a1 | [
"Apache-2.0"
] | 6 | 2019-12-19T13:12:46.000Z | 2021-02-17T12:41:26.000Z | Amazon.ApplicationLoadBalancer.Identity.AspNetCore.Tests/TestStartup.cs | rwarr627/aws-alb-identity-aspnetcore | 9e8cf7839edbd6d83aa25f1fb69b6448062708a1 | [
"Apache-2.0"
] | 1 | 2020-03-20T15:00:14.000Z | 2020-03-20T15:00:14.000Z | Amazon.ApplicationLoadBalancer.Identity.AspNetCore.Tests/TestStartup.cs | rwarr627/aws-alb-identity-aspnetcore | 9e8cf7839edbd6d83aa25f1fb69b6448062708a1 | [
"Apache-2.0"
] | 6 | 2019-12-08T20:19:30.000Z | 2021-09-02T17:56:55.000Z | namespace Amazon.ApplicationLoadBalancer.Identity.AspNetCore.Tests
{
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
public class TestStartup
{
public void Configu... | 31.3125 | 83 | 0.592814 |
3372e0775975711dc816f044e24f83a2c01f1ac3 | 9,268 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca_notsx.log_21829_1315.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca_notsx.log_21829_1315.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca_notsx.log_21829_1315.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x99a7, %rsi
xor %r10, %r10
movb $0x61, (%rsi)
nop
nop
nop
nop
add $60807, %rsi
lea addresses_A_ht+0x166a7, %r10
cmp %r11, %r11
mov (%r10), %esi
sub $23505, %rsi
lea addresses_... | 29.993528 | 2,999 | 0.651165 |
14ca315f68109ba57e9c41f0d097b3ac04362e25 | 306,482 | ts | TypeScript | packages/stentor-handler/src/HandlerGraph/__test__/assets/handlers.ts | stentorium/stentor | f49b51e8b4f82012d1ac8ddd15af279bd4619229 | [
"Apache-2.0"
] | 2 | 2019-12-30T19:23:17.000Z | 2021-07-06T02:47:39.000Z | packages/stentor-handler/src/HandlerGraph/__test__/assets/handlers.ts | stentorium/stentor | f49b51e8b4f82012d1ac8ddd15af279bd4619229 | [
"Apache-2.0"
] | 74 | 2020-01-07T00:25:16.000Z | 2022-02-23T04:06:56.000Z | packages/stentor-handler/src/HandlerGraph/__test__/assets/handlers.ts | stentorium/stentor | f49b51e8b4f82012d1ac8ddd15af279bd4619229 | [
"Apache-2.0"
] | 1 | 2021-01-01T08:57:23.000Z | 2021-01-01T08:57:23.000Z | /*! Copyright (c) 2019, XAPPmedia */
/* tslint:disable:no-magic-numbers */
export const handlers: any = [
{
action: [],
helpData: [],
responseData: [],
slots: [],
createdAt: "2018-07-06T17:58:07.293Z",
name: "Al Is Telling The Truth",
"aws:rep:deleting": fals... | 51.182699 | 3,386 | 0.537399 |
8e6eea5ec8ae986adfdac5a6fbb760ffe244e6ab | 4,838 | rb | Ruby | modules/health_quest/spec/services/lighthouse/token_spec.rb | darkbushido/vets-api | b436ad3cbcb35821995a3fd2499b8e0859179842 | [
"CC0-1.0"
] | 150 | 2016-07-01T18:52:26.000Z | 2022-03-30T11:30:31.000Z | modules/health_quest/spec/services/lighthouse/token_spec.rb | darkbushido/vets-api | b436ad3cbcb35821995a3fd2499b8e0859179842 | [
"CC0-1.0"
] | 3,372 | 2016-07-15T14:28:16.000Z | 2022-03-31T17:18:40.000Z | modules/health_quest/spec/services/lighthouse/token_spec.rb | darkbushido/vets-api | b436ad3cbcb35821995a3fd2499b8e0859179842 | [
"CC0-1.0"
] | 63 | 2016-09-14T14:29:27.000Z | 2022-03-30T20:48:10.000Z | # frozen_string_literal: true
require 'rails_helper'
describe HealthQuest::Lighthouse::Token do
subject { described_class }
let(:user) { double('User', account_uuid: 'abc123', icn: '1008596379V859838') }
let(:token) { subject.build(user: user, api: 'pgd_api') }
describe 'constants' do
it 'has an ACCESS_... | 31.212903 | 115 | 0.708351 |
b34eadf4d81579fb600a710e3a3db935cbce1a41 | 1,862 | py | Python | bot_modules/py/help_mgr.py | cumdata/irc_bot | 6593215acb7850f435389ae64652d831279f3332 | [
"WTFPL"
] | 2 | 2021-09-30T03:19:15.000Z | 2021-12-30T04:18:46.000Z | bot_modules/py/help_mgr.py | deacon-ralph/irc_bot | 62c8a6d0f9890b3fbfd356f533e9d58c38bbc176 | [
"WTFPL"
] | 7 | 2021-10-01T02:38:39.000Z | 2022-02-17T04:58:48.000Z | bot_modules/py/help_mgr.py | cumdata/irc_bot | 6593215acb7850f435389ae64652d831279f3332 | [
"WTFPL"
] | null | null | null | """Help module, which displays help info for plugins"""
import colors
import plugin_api
class Plugin(plugin_api.LocalPlugin):
"""Help plugin"""
@property
def enabled(self):
"""ALWAYS ENABLED!"""
return True
def help_msg(self):
return {
'usage': '.help <module> <de... | 32.666667 | 80 | 0.39957 |
a517f4770a7ef0abd61d18957b1c5a97ce6e4cc4 | 4,946 | asm | Assembly | asm/giepy/load.asm | boldowa/GIEPY | 5aa326b264ef19f71d2e0ab5513b08fac7bca941 | [
"MIT"
] | 8 | 2018-03-15T22:01:35.000Z | 2019-07-13T18:04:41.000Z | asm/giepy/load.asm | telinc1/GIEPY | 9c87ad1070e519637fc4b11b6bef01f998961678 | [
"MIT"
] | 21 | 2018-02-18T06:25:40.000Z | 2018-07-13T17:54:40.000Z | asm/giepy/load.asm | telinc1/GIEPY | 9c87ad1070e519637fc4b11b6bef01f998961678 | [
"MIT"
] | 2 | 2018-07-25T21:04:23.000Z | 2022-01-01T08:40:13.000Z | @include
;-------------------------------------------------------------------------------
; GIEPY Sprite load code hijacks
;-------------------------------------------------------------------------------
; Sprite type bit mask
!SprTypeMask := $07
pushpc
%org_assert_long2($02a837, 0285,1029)
autoclean jsl... | 17.855596 | 81 | 0.558431 |
0822338dcfc0203ec52707d3753b51f37f534ebd | 103 | swift | Swift | TestProject/RequiredInitializerClassMock.swift | vlondon/SwiftMockGeneratorForXcode | cf07c748e41b057fa2e1854d90c05323c7881c06 | [
"MIT"
] | 1 | 2018-11-07T10:14:05.000Z | 2018-11-07T10:14:05.000Z | TestProject/RequiredInitializerClassMock.swift | vlondon/SwiftMockGeneratorForXcode | cf07c748e41b057fa2e1854d90c05323c7881c06 | [
"MIT"
] | null | null | null | TestProject/RequiredInitializerClassMock.swift | vlondon/SwiftMockGeneratorForXcode | cf07c748e41b057fa2e1854d90c05323c7881c06 | [
"MIT"
] | null | null | null | @testable import TestProject
class RequiredInitializerClassMock: RequiredInitializerClass {
<caret>
}
| 17.166667 | 62 | 0.84466 |
2c8ab7b83bee2c78b41b84b226e641253abbe4ed | 7,356 | py | Python | pyscf/lo/iao.py | BoothGroup/pyscf | 32b632eb5ceae907eb537e0a728a0f2e73244bbb | [
"Apache-2.0"
] | null | null | null | pyscf/lo/iao.py | BoothGroup/pyscf | 32b632eb5ceae907eb537e0a728a0f2e73244bbb | [
"Apache-2.0"
] | 1 | 2021-05-02T16:10:10.000Z | 2021-05-02T16:10:10.000Z | pyscf/lo/iao.py | BoothGroup/pyscf | 32b632eb5ceae907eb537e0a728a0f2e73244bbb | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright 2014-2018 The PySCF Developers. 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
#
# U... | 41.094972 | 128 | 0.637711 |
9bdc6ce2d8d2441cc418ede593bb0c200103e262 | 3,038 | swift | Swift | passKitTests/Models/PasswordStoreTest.swift | sysbot/passforios | 78d6e6013361cc762a98271b54fbf88301240140 | [
"MIT"
] | null | null | null | passKitTests/Models/PasswordStoreTest.swift | sysbot/passforios | 78d6e6013361cc762a98271b54fbf88301240140 | [
"MIT"
] | null | null | null | passKitTests/Models/PasswordStoreTest.swift | sysbot/passforios | 78d6e6013361cc762a98271b54fbf88301240140 | [
"MIT"
] | null | null | null | //
// PasswordStoreTest.swift
// passKitTests
//
// Copyright © 2020 Bob Sun. All rights reserved.
//
import Foundation
import XCTest
import ObjectiveGit
@testable import passKit
class PasswordStoreTest: XCTestCase {
let cloneOptions: [String : GTCredentialProvider] = {
let credentialProvider = GTC... | 41.054054 | 144 | 0.684332 |
96f4895b4bc56a450347701e1a1599ebf43b0d2c | 3,927 | cs | C# | dotnet/src/extensions/Azure/Handlers/Helpers/FunctionMetadata.cs | genexuslabs/DotNetClasses | cffe3676981248bf77964cf0483a9e61a1146351 | [
"Apache-2.0"
] | 9 | 2020-04-25T01:30:35.000Z | 2021-12-24T00:28:18.000Z | dotnet/src/extensions/Azure/Handlers/Helpers/FunctionMetadata.cs | genexuslabs/DotNetClasses | cffe3676981248bf77964cf0483a9e61a1146351 | [
"Apache-2.0"
] | 444 | 2020-04-21T21:10:35.000Z | 2022-03-31T22:24:22.000Z | dotnet/src/extensions/Azure/Handlers/Helpers/FunctionMetadata.cs | genexuslabs/DotNetClasses | cffe3676981248bf77964cf0483a9e61a1146351 | [
"Apache-2.0"
] | 5 | 2020-04-30T15:12:08.000Z | 2022-02-06T17:40:32.000Z | using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace GeneXus.Deploy.AzureFunctions.Handlers.Helpers
{
public class FunctionMetadata
{
public const string directionIn = "In";
public const string directionOut = "Out";
public class TriggerTypes
{
public const string TimerTr... | 29.088889 | 162 | 0.67176 |
6b0312d95c3cae9b4484c473828d7adacf9ebf4e | 1,432 | cpp | C++ | src/ConsoleReader.cpp | mjiricka/gongfu-tea-timer | f4bec066d7c5955a7338603ecf10079ccf5a661e | [
"MIT"
] | null | null | null | src/ConsoleReader.cpp | mjiricka/gongfu-tea-timer | f4bec066d7c5955a7338603ecf10079ccf5a661e | [
"MIT"
] | null | null | null | src/ConsoleReader.cpp | mjiricka/gongfu-tea-timer | f4bec066d7c5955a7338603ecf10079ccf5a661e | [
"MIT"
] | null | null | null | #include "ConsoleReader.h"
#include <termios.h>
#include <unistd.h>
#include <stdio.h>
#include <cassert>
// Inspiration: https://gist.github.com/whyrusleeping/3983293
static void setKeyboardNonBlock(termios *initialSettings)
{
struct termios new_settings;
tcgetattr(STDIN_FILENO, initialSettings);
new... | 20.753623 | 61 | 0.689246 |
457e4d13ac801ec0309ee076530ee1df2010d1f6 | 1,159 | py | Python | problems/617.Merge_Two_Binary_Trees/li.py | subramp-prep/leetcode | d125201d9021ab9b1eea5e5393c2db4edd84e740 | [
"Unlicense"
] | null | null | null | problems/617.Merge_Two_Binary_Trees/li.py | subramp-prep/leetcode | d125201d9021ab9b1eea5e5393c2db4edd84e740 | [
"Unlicense"
] | null | null | null | problems/617.Merge_Two_Binary_Trees/li.py | subramp-prep/leetcode | d125201d9021ab9b1eea5e5393c2db4edd84e740 | [
"Unlicense"
] | null | null | null | # coding=utf-8
# Author: Jianghan LI
# Question: 617.Merge_Two_Binary_Trees
# Complexity: O(N)
# Date: 2017-06-12 10:52 - 10:54, 0 wrong try
# Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class ... | 28.268293 | 87 | 0.57981 |
6e5c8d5e5490f9fc0e74a4b1cec1cb3687b989b3 | 1,844 | swift | Swift | test/PCMacro/func_decls.swift | francisvm/swift | 15e209ea2fde679ee78438d4ba949144acb7fee4 | [
"Apache-2.0"
] | 427 | 2018-05-29T14:21:02.000Z | 2022-03-16T03:17:54.000Z | test/PCMacro/func_decls.swift | francisvm/swift | 15e209ea2fde679ee78438d4ba949144acb7fee4 | [
"Apache-2.0"
] | 153 | 2018-01-21T15:24:47.000Z | 2018-09-13T12:46:16.000Z | test/PCMacro/func_decls.swift | francisvm/swift | 15e209ea2fde679ee78438d4ba949144acb7fee4 | [
"Apache-2.0"
] | 52 | 2018-07-19T19:57:32.000Z | 2022-03-11T16:05:38.000Z | // RUN: rm -rf %t
// RUN: mkdir -p %t
// RUN: cp %s %t/main.swift
// RUN: %target-build-swift -Xfrontend -pc-macro -o %t/main %S/Inputs/PCMacroRuntime.swift %t/main.swift
// RUN: %target-run %t/main | %FileCheck %s
// RUN: %target-build-swift -Xfrontend -pc-macro -Xfrontend -playground -Xfrontend -debugger-support -o %... | 30.733333 | 197 | 0.664317 |
3f7ed57e442aed7bc9f49bd4d18b64e2cabd0ff6 | 1,877 | rb | Ruby | spec/features/store_admin/authentication/admin_can_visit_dashboard_spec.rb | kelleyjenkins/le-pivot | 1306412666966a0b344d99f9dbf6c551fc45ac1a | [
"MIT"
] | 1 | 2021-01-06T00:03:44.000Z | 2021-01-06T00:03:44.000Z | spec/features/store_admin/authentication/admin_can_visit_dashboard_spec.rb | kelleyjenkins/le-pivot | 1306412666966a0b344d99f9dbf6c551fc45ac1a | [
"MIT"
] | null | null | null | spec/features/store_admin/authentication/admin_can_visit_dashboard_spec.rb | kelleyjenkins/le-pivot | 1306412666966a0b344d99f9dbf6c551fc45ac1a | [
"MIT"
] | null | null | null |
#need to update paths to be store/admin/dashboard, etc!
require 'rails_helper'
feature "admin dashboard" do
describe "admin can visit the admin dashboard" do
it "I will see a heading on the page that says Store Dashboard" do
store = create(:store)
admin_user = create(:store_admin, store:... | 27.602941 | 102 | 0.6878 |
7fc1825b5ba08b0933fb987a5fb7069b0b0a20e0 | 4,705 | php | PHP | app/Controllers/VentasController.php | Chelsea9803/api-toycenter | e0b1ad8c15869cc35a2babd22f9e3f90d4d269fe | [
"MIT"
] | null | null | null | app/Controllers/VentasController.php | Chelsea9803/api-toycenter | e0b1ad8c15869cc35a2babd22f9e3f90d4d269fe | [
"MIT"
] | null | null | null | app/Controllers/VentasController.php | Chelsea9803/api-toycenter | e0b1ad8c15869cc35a2babd22f9e3f90d4d269fe | [
"MIT"
] | null | null | null | <?php namespace App\Controllers;
use App\Models\VentasModel;
use CodeIgniter\API\ResponseTrait;
use CodeIgniter\RESTful\ResourceController;
class VentasController extends ResourceController
{
use ResponseTrait;
public function getHome()
{
$model = new VentasModel();
$data = [
... | 26.138889 | 73 | 0.419129 |
c58147c59c65593b7d0e664e4247f2e8eee4dfa2 | 6,782 | css | CSS | fire/css/styles.css | luvuong-le/css-illustrations | e9b60969f394d7233ed47f8db6220d0dfc392019 | [
"MIT"
] | 4 | 2020-05-31T08:23:35.000Z | 2021-07-03T03:25:15.000Z | fire/css/styles.css | luvuong-le/css-illustrations | e9b60969f394d7233ed47f8db6220d0dfc392019 | [
"MIT"
] | null | null | null | fire/css/styles.css | luvuong-le/css-illustrations | e9b60969f394d7233ed47f8db6220d0dfc392019 | [
"MIT"
] | null | null | null | /* Bonfire */
.bonfire {
position: relative;
top: 50%;
left: 50%;
width: 200px;
height: 200px;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
/* Fire */
.fire {
background: #ED2D22;
-webkit-box-shadow: 0 0 10px #ED2D22;
box-shadow: 0 0 10px #ED2D22;
... | 23.305842 | 58 | 0.607785 |
5d184b089a0766b1185c34f8932657fda107ae31 | 12,451 | cpp | C++ | dali/internal/event/actors/layer-impl.cpp | vcebollada/dali-core | 1f880695d4f6cb871db7f946538721e882ba1633 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | dali/internal/event/actors/layer-impl.cpp | vcebollada/dali-core | 1f880695d4f6cb871db7f946538721e882ba1633 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-03-22T10:19:17.000Z | 2020-03-22T10:19:17.000Z | dali/internal/event/actors/layer-impl.cpp | fayhot/dali-core | a69ea317f30961164520664a645ac36c387055ef | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 25.410204 | 145 | 0.674886 |
e252d2e263e9d49542db4ad58d8a2790aa10a1f2 | 185 | rs | Rust | hesoyam_core/src/query_builder/clause/mod.rs | andrew528i/hesoyam | 3ecb77e7457db9b97255758d655d17322f9448cb | [
"MIT"
] | 13 | 2020-07-17T04:46:30.000Z | 2021-12-21T06:47:10.000Z | hesoyam_core/src/query_builder/clause/mod.rs | mashuai/hesoyam | ab8ad716a289469ea254e4683433a9764129de8c | [
"MIT"
] | null | null | null | hesoyam_core/src/query_builder/clause/mod.rs | mashuai/hesoyam | ab8ad716a289469ea254e4683433a9764129de8c | [
"MIT"
] | 2 | 2020-08-04T14:10:41.000Z | 2020-08-06T01:03:13.000Z | pub use delete::*;
pub use insert::*;
pub use select::*;
pub use update::*;
pub use where_::*;
pub use limit::*;
mod select;
mod update;
mod where_;
mod delete;
mod insert;
mod limit;
| 13.214286 | 18 | 0.67027 |
52119cdbeee6141aaa06bb86dde67771ba707795 | 435 | lua | Lua | game/scripts/vscripts/units/undead/abomination.lua | PetarTilevRusev/EndlessWar | 77a02ff64263c331ddfcbbef21fa41f1b3920a3c | [
"MIT"
] | null | null | null | game/scripts/vscripts/units/undead/abomination.lua | PetarTilevRusev/EndlessWar | 77a02ff64263c331ddfcbbef21fa41f1b3920a3c | [
"MIT"
] | null | null | null | game/scripts/vscripts/units/undead/abomination.lua | PetarTilevRusev/EndlessWar | 77a02ff64263c331ddfcbbef21fa41f1b3920a3c | [
"MIT"
] | null | null | null | function DiseaseCloudStartSound( keys )
local caster = keys.caster
local sound = "Hero_Pudge.Rot"
StartSoundEvent(sound, caster)
Timers:CreateTimer( function()
if not caster:HasModifier("abomination_disease_cloud_debuff_modifier") then
DiseaseCloudStopSound(sound, caster)
else
re... | 24.166667 | 80 | 0.726437 |
0d2dfe29e3910a766846aecfeac36aed5afe5219 | 460 | cs | C# | Squalr.Engine.Debugger/CodeTraceInfo.cs | Xen0byte/Squalr | be300f2bf9d4129751b6c2f21f62c7bfe7e3f852 | [
"MIT"
] | null | null | null | Squalr.Engine.Debugger/CodeTraceInfo.cs | Xen0byte/Squalr | be300f2bf9d4129751b6c2f21f62c7bfe7e3f852 | [
"MIT"
] | null | null | null | Squalr.Engine.Debugger/CodeTraceInfo.cs | Xen0byte/Squalr | be300f2bf9d4129751b6c2f21f62c7bfe7e3f852 | [
"MIT"
] | null | null | null | namespace Squalr.Engine.Debuggers
{
using Squalr.Engine.Architecture;
using System;
using System.Collections.Generic;
public class CodeTraceInfo
{
public CodeTraceInfo()
{
this.IntRegisters = new Dictionary<String, UInt64>();
}
public Instruction Instru... | 21.904762 | 68 | 0.623913 |
db985aa25c37fa8f2f39f00aa12a4b8d2b31f7f2 | 24,627 | php | PHP | bitrix/modules/forum/install/components/bitrix/forum.rss/component.php | votanko/Bitrix_tutorial | 2fcc045ec827ac08d9dcdbefa1f6ff822730c2b2 | [
"MIT"
] | 1 | 2020-10-05T04:28:40.000Z | 2020-10-05T04:28:40.000Z | bitrix/modules/forum/install/components/bitrix/forum.rss/component.php | votanko/Bitrix_tutorial | 2fcc045ec827ac08d9dcdbefa1f6ff822730c2b2 | [
"MIT"
] | null | null | null | bitrix/modules/forum/install/components/bitrix/forum.rss/component.php | votanko/Bitrix_tutorial | 2fcc045ec827ac08d9dcdbefa1f6ff822730c2b2 | [
"MIT"
] | null | null | null | <?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
if (!CModule::IncludeModule("forum")):
ShowError(GetMessage("F_NO_MODULE"));
return 0;
elseif (is_set($arParams, "USE_RSS") && $arParams["USE_RSS"] == "N"): // out-of-date params
return 0;
endif;
if (!function_exists("__create_uuid"))
{
function... | 49.751515 | 180 | 0.5885 |
b0ac85e0fa01cbadc612fb96cbc40f40d316c1ff | 8,934 | py | Python | sh_coding_challenge/sh_server/itertools_ext_lib.py | Plumbob/PythonDemos | fb008651ad72e5f07ded5da44a04ab996571fb4d | [
"Unlicense"
] | null | null | null | sh_coding_challenge/sh_server/itertools_ext_lib.py | Plumbob/PythonDemos | fb008651ad72e5f07ded5da44a04ab996571fb4d | [
"Unlicense"
] | null | null | null | sh_coding_challenge/sh_server/itertools_ext_lib.py | Plumbob/PythonDemos | fb008651ad72e5f07ded5da44a04ab996571fb4d | [
"Unlicense"
] | null | null | null | # Provides itertools-related functions not available in the Python3 intertools library
# Requires Python3
import itertools
def grouper(items, n):
"""
Collect data into fixed-length chunks or blocks.
@param itr $items - List to be split into M N-length chunks
If len('i... | 28.912621 | 90 | 0.563465 |
0da1dfd97186dcaaaadd5feb64b4b378ed18d637 | 1,391 | cs | C# | samples/ri/Storage.IntegrationTests/LocalMachineFileRepositorySpec .cs | jezzsantos/queryany | 1c5baf79f13fe4d6719bb1565f1189275dcfe6e2 | [
"Apache-2.0"
] | 1 | 2020-06-29T04:30:45.000Z | 2020-06-29T04:30:45.000Z | samples/ri/Storage.IntegrationTests/LocalMachineFileRepositorySpec .cs | jezzsantos/queryany | 1c5baf79f13fe4d6719bb1565f1189275dcfe6e2 | [
"Apache-2.0"
] | 9 | 2020-07-19T20:03:00.000Z | 2021-05-15T22:52:08.000Z | samples/ri/Storage.IntegrationTests/LocalMachineFileRepositorySpec .cs | jezzsantos/queryany | 1c5baf79f13fe4d6719bb1565f1189275dcfe6e2 | [
"Apache-2.0"
] | null | null | null | using System;
using Microsoft.Extensions.Configuration;
using ServiceStack;
using Xunit;
namespace Storage.IntegrationTests
{
public class LocalMachineFileRepositorySpecSetup : IDisposable
{
public LocalMachineFileRepositorySpecSetup()
{
var config = new ConfigurationBuilder().AddJs... | 31.613636 | 115 | 0.700216 |
98b821323d0bd2fc5c5dad64dbba3cbda5b99511 | 9,151 | kt | Kotlin | src/test/kotlin/net/lfn3/leth/LogTest.kt | lfn3/leth | 4c123098b1fccea9e3cea7220ea449df94a5703b | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/net/lfn3/leth/LogTest.kt | lfn3/leth | 4c123098b1fccea9e3cea7220ea449df94a5703b | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/net/lfn3/leth/LogTest.kt | lfn3/leth | 4c123098b1fccea9e3cea7220ea449df94a5703b | [
"Apache-2.0"
] | null | null | null | package net.lfn3.leth
import net.lfn3.leth.unsafe.InMemoryPartitionedLog
import org.junit.jupiter.api.Assertions.assertThrows
import org.junit.jupiter.api.Nested
import java.util.concurrent.atomic.AtomicInteger
import java.util.concurrent.atomic.AtomicLong
import java.util.stream.Collectors
import java.util.stream.Int... | 27.89939 | 117 | 0.535242 |
ca998185591068122e57601d0d09395b33fb4903 | 747 | cs | C# | Assets/UnityExtensions.DependencyInjection/InstantiationInjector.cs | KuraiAndras/UnityExtensions.DependencyInjection | d25099adb1076c8b5680b294aa07e04e2be83432 | [
"MIT"
] | 5 | 2020-03-31T12:26:29.000Z | 2020-03-31T16:37:16.000Z | Assets/UnityExtensions.DependencyInjection/InstantiationInjector.cs | KuraiAndras/UnityExtensions.DependencyInjection | d25099adb1076c8b5680b294aa07e04e2be83432 | [
"MIT"
] | 3 | 2020-04-01T08:20:51.000Z | 2020-04-02T19:30:56.000Z | Assets/UnityExtensions.DependencyInjection/InstantiationInjector.cs | KuraiAndras/UnityExtensions.DependencyInjection | d25099adb1076c8b5680b294aa07e04e2be83432 | [
"MIT"
] | null | null | null | using Injecter;
using Microsoft.Extensions.DependencyInjection;
using System;
using Object = UnityEngine.Object;
namespace UnityExtensions.DependencyInjection
{
public static class InstantiationInjector
{
public static IServiceCollection AddInjectorServices(this IServiceCollection services, Action<Inj... | 33.954545 | 141 | 0.729585 |
24c05297b2ed9046caf888c8f404abe4aa9bebeb | 260 | php | PHP | application/helpers/new_helper.php | Abdullah1404111/cicrud | a189094307088ef5a12349b33c89e88a55853f9d | [
"MIT"
] | null | null | null | application/helpers/new_helper.php | Abdullah1404111/cicrud | a189094307088ef5a12349b33c89e88a55853f9d | [
"MIT"
] | null | null | null | application/helpers/new_helper.php | Abdullah1404111/cicrud | a189094307088ef5a12349b33c89e88a55853f9d | [
"MIT"
] | null | null | null | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if ( ! function_exists('standard_time')){
function standard_time($time){
$dateTime = gmdate("F d, Y - H:i", strtotime($time));
return $dateTime;
}
}
| 26 | 74 | 0.584615 |
df0a041e214cfb200eaae6816756ee6e948bf74f | 1,039 | cs | C# | 1. Base/Workflow.Basic.Presentation/BasicModel/SessionUser.cs | kamilRepo/Workflow-App-Based-On-DDD | 42dd8a507795af794c9e752416931fb30347f2e0 | [
"MIT"
] | null | null | null | 1. Base/Workflow.Basic.Presentation/BasicModel/SessionUser.cs | kamilRepo/Workflow-App-Based-On-DDD | 42dd8a507795af794c9e752416931fb30347f2e0 | [
"MIT"
] | null | null | null | 1. Base/Workflow.Basic.Presentation/BasicModel/SessionUser.cs | kamilRepo/Workflow-App-Based-On-DDD | 42dd8a507795af794c9e752416931fb30347f2e0 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Workflow.Basic.Presentation.BasicModels
{
[Serializable]
public class SessionUser
{
public int Id { get; private set; }
public string Name { get; private set; }
public string Surname { ... | 24.738095 | 87 | 0.595765 |
28777b5d4dd9f28e1ac724598fec0fa4820a5f57 | 5,832 | swift | Swift | AtalasDream/ShowTipController.swift | DarmBeene/GuoAltas | 456d6cabb5d75a256a5a4905a80897e6cf16f1c7 | [
"MIT"
] | null | null | null | AtalasDream/ShowTipController.swift | DarmBeene/GuoAltas | 456d6cabb5d75a256a5a4905a80897e6cf16f1c7 | [
"MIT"
] | null | null | null | AtalasDream/ShowTipController.swift | DarmBeene/GuoAltas | 456d6cabb5d75a256a5a4905a80897e6cf16f1c7 | [
"MIT"
] | null | null | null | //
// ShowTipController.swift
// AtalasDream
//
// Created by GuoGongbin on 7/8/17.
// Copyright © 2017 GuoGongbin. All rights reserved.
//
import UIKit
private let cellId = "cellId"
class ShowTipController: UICollectionViewController, UICollectionViewDelegateFlowLayout, UITabBarDelegate {
var course: Course?... | 39.14094 | 160 | 0.655178 |
fa7dba3908b35bf14a87cfe638101b39a1dd2dce | 6,743 | cpp | C++ | src/make_detect.cpp | cschreib/qdeblend | dceee75f3ff475995dbbb8660a6665ece205494f | [
"MIT"
] | null | null | null | src/make_detect.cpp | cschreib/qdeblend | dceee75f3ff475995dbbb8660a6665ece205494f | [
"MIT"
] | null | null | null | src/make_detect.cpp | cschreib/qdeblend | dceee75f3ff475995dbbb8660a6665ece205494f | [
"MIT"
] | null | null | null | #include <vif.hpp>
#include <vif/astro/ds9.hpp>
using namespace vif;
using namespace vif::astro;
int vif_main(int argc, char* argv[]) {
vec1s files = {"acs-f435w", "acs-f606w", "acs-f775w", "acs-f814w", "acs-f850lp",
"wfc3-f105w", "wfc3-f125w", "wfc3-f140w", "wfc3-f160w"};
files += ".fits";
std::... | 30.102679 | 103 | 0.547976 |
7b0b6f6dde03cc77373bfd8ca76a96a50bcf619c | 890 | lua | Lua | server/server.lua | Guccirp2/Redline-Fuel | 208afcaa6d9f36f9aed0d6b667615a2616d09d09 | [
"MIT"
] | null | null | null | server/server.lua | Guccirp2/Redline-Fuel | 208afcaa6d9f36f9aed0d6b667615a2616d09d09 | [
"MIT"
] | null | null | null | server/server.lua | Guccirp2/Redline-Fuel | 208afcaa6d9f36f9aed0d6b667615a2616d09d09 | [
"MIT"
] | null | null | null | ESX = nil
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
ESX.RegisterServerCallback('gucci:cmoney', function(source, callback)
local xPlayer = ESX.GetPlayerFromID(source)
local money = xPlayer.getInventoryItem('money').count
if money >= 60 then
callback(true)
els... | 27.8125 | 75 | 0.682022 |
daaa983bb22e95f07ca68466de91f2bcb35d5b66 | 19,029 | php | PHP | http-api-page/src/ModuleConfigZrcms.php | reliv/rcms | b4f6b993e4e1ece730ffea6329de872706e6007f | [
"0BSD"
] | null | null | null | http-api-page/src/ModuleConfigZrcms.php | reliv/rcms | b4f6b993e4e1ece730ffea6329de872706e6007f | [
"0BSD"
] | null | null | null | http-api-page/src/ModuleConfigZrcms.php | reliv/rcms | b4f6b993e4e1ece730ffea6329de872706e6007f | [
"0BSD"
] | 3 | 2017-09-28T22:15:19.000Z | 2018-06-27T23:00:00.000Z | <?php
namespace Zrcms\HttpApiPage;
use Zrcms\Acl\Api\IsAllowedRcmUserSitesAdmin;
use Zrcms\Core\Api\CmsResource\CmsResourcesToArray;
use Zrcms\Core\Api\CmsResource\CmsResourceToArray;
use Zrcms\Core\Api\Content\ContentVersionsToArray;
use Zrcms\Core\Api\Content\ContentVersionToArray;
use Zrcms\CorePage\Api\CmsResourc... | 45.199525 | 97 | 0.374586 |
4b7ede277a45c884ce5e14d1107c6e531948d4ab | 371 | cpp | C++ | C++ Contribution/Possible Combination Problem.cpp | katsuNakajima/Hacktoberfest | ecd09627c5ca2defd08d048d11b5660a78df481c | [
"MIT"
] | 1 | 2021-10-31T11:28:29.000Z | 2021-10-31T11:28:29.000Z | C++ Contribution/Possible Combination Problem.cpp | katsuNakajima/Hacktoberfest | ecd09627c5ca2defd08d048d11b5660a78df481c | [
"MIT"
] | 1 | 2021-11-13T18:27:21.000Z | 2021-11-13T18:27:21.000Z | C++ Contribution/Possible Combination Problem.cpp | katsuNakajima/Hacktoberfest | ecd09627c5ca2defd08d048d11b5660a78df481c | [
"MIT"
] | 1 | 2021-10-31T11:28:31.000Z | 2021-10-31T11:28:31.000Z | #include <iostream>
using namespace std;
int main()
{
int factorial = 1;
int num1,num2,arrangements,i;
cout<<"Enter Number of Guests: ";
cin>>num1;
cout<<"Enter Number of Chairs: ";
cin>>num2;
for (i = 1; i<=num1; i++)
{
factorial = factorial*i;
}
arrangements = factorial/(num1-num2);
cout<<"Possib... | 19.526316 | 51 | 0.638814 |
62144a8808cb111722dc9e1418945de5f0712f93 | 1,730 | lua | Lua | lua/includes/sdkgen/enums.lua | McSimp/Borderlands2SDK | 89a6cecfa9c17293a8ebea45b7016fbc56c64fb1 | [
"MIT"
] | 4 | 2016-01-15T11:07:49.000Z | 2020-07-04T16:24:59.000Z | lua/includes/sdkgen/enums.lua | McSimp/Borderlands2SDK | 89a6cecfa9c17293a8ebea45b7016fbc56c64fb1 | [
"MIT"
] | null | null | null | lua/includes/sdkgen/enums.lua | McSimp/Borderlands2SDK | 89a6cecfa9c17293a8ebea45b7016fbc56c64fb1 | [
"MIT"
] | 2 | 2018-05-29T23:34:25.000Z | 2020-07-04T16:50:52.000Z | local ffi = require("ffi")
local engine = engine
local Package = SDKGen.Package
local DefaultEnum = engine.FindObject("Enum Core.Default__Enum", engine.Classes.UEnum)
function Package:ProcessEnum(enum)
if enum == DefaultEnum then return end
SDKGen.DebugPrint("[SDKGen] Enum " .. enum:GetFullName())
local enumText... | 24.714286 | 88 | 0.694798 |
43a1b192c5802969bcb3083a2d559f544fec7c45 | 326 | ts | TypeScript | sdk/core/core-http/src/util/typeguards.ts | yifan-zhou922/azure-sdk-for-js | 48ecf32b6029d4eb4ef397bbe5f15d35a539007e | [
"MIT"
] | 1,273 | 2018-09-12T22:17:39.000Z | 2022-03-30T00:46:27.000Z | sdk/core/core-http/src/util/typeguards.ts | yifan-zhou922/azure-sdk-for-js | 48ecf32b6029d4eb4ef397bbe5f15d35a539007e | [
"MIT"
] | 12,787 | 2018-08-27T22:28:48.000Z | 2022-03-31T22:23:19.000Z | sdk/core/core-http/src/util/typeguards.ts | yifan-zhou922/azure-sdk-for-js | 48ecf32b6029d4eb4ef397bbe5f15d35a539007e | [
"MIT"
] | 832 | 2018-08-30T21:18:03.000Z | 2022-03-31T11:57:53.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
/**
* Helper TypeGuard that checks if the value is not null or undefined.
* @param thing - Anything
* @internal
*/
export function isDefined<T>(thing: T | undefined | null): thing is T {
return typeof thing !== "undefined" && thing !== nu... | 27.166667 | 71 | 0.684049 |
afea4b536e618cb520246e81772f2873c30233cf | 1,605 | py | Python | examples/tensorflow/inference/tf-serving/inception/inference.py | FinchZHU/uai-sdk | 78e06bebba2d18233ce6dcb5be619e940f7a7ef3 | [
"Apache-2.0"
] | 38 | 2017-04-26T04:00:09.000Z | 2022-02-10T02:51:05.000Z | examples/tensorflow/inference/tf-serving/inception/inference.py | FinchZHU/uai-sdk | 78e06bebba2d18233ce6dcb5be619e940f7a7ef3 | [
"Apache-2.0"
] | 17 | 2017-11-20T20:47:09.000Z | 2022-02-09T23:48:46.000Z | examples/tensorflow/inference/tf-serving/inception/inference.py | FinchZHU/uai-sdk | 78e06bebba2d18233ce6dcb5be619e940f7a7ef3 | [
"Apache-2.0"
] | 28 | 2017-07-08T05:23:13.000Z | 2020-08-18T03:12:27.000Z | # Copyright 2017 The UAI-SDK Authors. 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 a... | 34.891304 | 81 | 0.67352 |
c9cefee8a168803352c655d4e233de9b1175ff23 | 3,054 | ts | TypeScript | src/pudeuko-service.ts | Deseteral/pudeuko | 6010d65d36f03ece99df7b416b76e48bb3b55f0b | [
"MIT"
] | 4 | 2019-02-21T19:19:43.000Z | 2021-01-22T14:23:27.000Z | src/pudeuko-service.ts | Deseteral/pudeuko | 6010d65d36f03ece99df7b416b76e48bb3b55f0b | [
"MIT"
] | 6 | 2019-02-23T21:15:11.000Z | 2021-11-02T23:25:14.000Z | src/pudeuko-service.ts | Deseteral/pudeuko | 6010d65d36f03ece99df7b416b76e48bb3b55f0b | [
"MIT"
] | 1 | 2019-02-27T18:41:20.000Z | 2019-02-27T18:41:20.000Z | import cheerio from 'cheerio';
import getUrls from 'get-urls';
import { nanoid } from 'nanoid';
import fetch from 'node-fetch';
import { URL } from 'url';
import DropboxStorage from './dropbox-storage';
import Logger from './logger';
import { PudeukoItem, PudeukoLink, PudeukoObject } from './model';
class PudeukoItemN... | 27.513514 | 83 | 0.662083 |
79d78188d3e628a5ad7cc87d233c2bec6892c224 | 2,284 | php | PHP | resources/views/admin/auth/register.blade.php | BrianRuchiadi/resep_bangsa | f014b9bfc0983fa66c415057ba670d0c5d447aaf | [
"MIT"
] | null | null | null | resources/views/admin/auth/register.blade.php | BrianRuchiadi/resep_bangsa | f014b9bfc0983fa66c415057ba670d0c5d447aaf | [
"MIT"
] | null | null | null | resources/views/admin/auth/register.blade.php | BrianRuchiadi/resep_bangsa | f014b9bfc0983fa66c415057ba670d0c5d447aaf | [
"MIT"
] | null | null | null | @extends('layouts.admin.app')
@section('content')
<div class="header">
<div class="logo"></div>
</div>
<div class="login-body">
<div class="login-box">
<div class="login-box-title">Admin Register</div>
<form method="post" action="{{ url('/admin/register') }}">
... | 38.711864 | 104 | 0.32268 |
b7919637242c503f2e2d26342b5b56d84824bc24 | 14,642 | cpp | C++ | depricated/acyclic_graph_nodes.cpp | imikejackson/bingocpp | 6ba00a490c8cb46edebfd78f56b1604a76d668e9 | [
"Apache-2.0"
] | 13 | 2019-03-14T09:54:02.000Z | 2021-09-26T14:01:30.000Z | depricated/acyclic_graph_nodes.cpp | imikejackson/bingocpp | 6ba00a490c8cb46edebfd78f56b1604a76d668e9 | [
"Apache-2.0"
] | 35 | 2019-08-29T19:12:05.000Z | 2021-07-15T22:17:53.000Z | depricated/acyclic_graph_nodes.cpp | imikejackson/bingocpp | 6ba00a490c8cb46edebfd78f56b1604a76d668e9 | [
"Apache-2.0"
] | 9 | 2018-10-18T02:43:03.000Z | 2021-09-02T22:08:39.000Z | /*!
* \file acyclic_graph_nodes.cc
*
* \author Ethan Adams
* \date 2/6/2018
*
* This file contains the functions associated with each class
* implementation of Operation.
*/
#include "BingoCpp/acyclic_graph_nodes.h"
namespace agraphnodes{
namespace {
void x_load_evaluate(const Eigen::ArrayX3i &stack,
... | 46.044025 | 99 | 0.523562 |
bf4eea16f74715eeb9afd178ee99ce7707ba5a23 | 227 | rb | Ruby | db/migrate/20160511001608_add_activation_to_users.rb | kissaah1/345 | a370339116d522f44fa07c2a55863bafb6daa3d1 | [
"FSFAP"
] | null | null | null | db/migrate/20160511001608_add_activation_to_users.rb | kissaah1/345 | a370339116d522f44fa07c2a55863bafb6daa3d1 | [
"FSFAP"
] | null | null | null | db/migrate/20160511001608_add_activation_to_users.rb | kissaah1/345 | a370339116d522f44fa07c2a55863bafb6daa3d1 | [
"FSFAP"
] | null | null | null | class AddActivationToUsers < ActiveRecord::Migration
def change
add_column :users, :activation_digest, :string
add_column :users, :activated, :boolean, default: false
add_column :users, :activated_at, :datetime
end
end
| 28.375 | 57 | 0.779736 |
a014b26110881a2342def7a7e9fc678fb096e270 | 9,828 | tsx | TypeScript | src/RenderController.tsx | alexseitsinger/data-controller | 37fa4333ae0b1f0df7ec0e8e68a038be12002505 | [
"BSD-2-Clause"
] | null | null | null | src/RenderController.tsx | alexseitsinger/data-controller | 37fa4333ae0b1f0df7ec0e8e68a038be12002505 | [
"BSD-2-Clause"
] | 2 | 2021-05-09T00:26:18.000Z | 2021-09-01T05:59:57.000Z | src/RenderController.tsx | alexseitsinger/react-render-controller | 37fa4333ae0b1f0df7ec0e8e68a038be12002505 | [
"BSD-2-Clause"
] | null | null | null | import React, { ReactNode } from "react"
//import PropTypes from "prop-types"
import { debounce, isEqual, isFunction } from "underscore"
import { RenderControllerRenderProps } from "./RenderControllerContext"
import { RenderControllerWithContextInitialProps } from "./RenderControllerWithContext"
//import { resetAttemp... | 29.337313 | 107 | 0.665344 |
21c3440089dcca962af41985939d3ee5e23cdba7 | 840 | js | JavaScript | src/Components/Post/CardAvatar.js | snwolak/steemblr | 004eb56c1497457833afbe586d3bc9821f7a0003 | [
"MIT"
] | 11 | 2018-09-04T11:58:55.000Z | 2022-02-22T19:10:55.000Z | src/Components/Post/CardAvatar.js | snwolak/steemblr | 004eb56c1497457833afbe586d3bc9821f7a0003 | [
"MIT"
] | 14 | 2019-02-21T07:58:07.000Z | 2021-05-27T21:28:40.000Z | src/Components/Post/CardAvatar.js | snwolak/steemblr | 004eb56c1497457833afbe586d3bc9821f7a0003 | [
"MIT"
] | 5 | 2018-06-25T23:40:12.000Z | 2019-05-06T00:56:59.000Z | import React, { Component } from "react";
import styled from "styled-components";
import getAvatarURL from "../../Functions/getAvatarURL";
// Component to load profile picture accordingly to the platform
export const Avatar = styled.div`
background: url(${props => props.url});
width: 40px;
height: 40px;
backgr... | 22.702703 | 64 | 0.652381 |
6756577f51ee89ed72ddb77368797697dd18dd72 | 9,737 | dart | Dart | packages/flutter/test/material/navigation_bar_theme_test.dart | KKimj/flutter | 6755ba59f43644cfeb82116b9b5595a8ddf464be | [
"BSD-3-Clause"
] | 3 | 2020-08-25T19:44:45.000Z | 2020-09-17T17:27:47.000Z | packages/flutter/test/material/navigation_bar_theme_test.dart | KKimj/flutter | 6755ba59f43644cfeb82116b9b5595a8ddf464be | [
"BSD-3-Clause"
] | 15 | 2022-02-07T20:06:06.000Z | 2022-03-30T16:30:03.000Z | packages/flutter/test/material/navigation_bar_theme_test.dart | KKimj/flutter | 6755ba59f43644cfeb82116b9b5595a8ddf464be | [
"BSD-3-Clause"
] | 1 | 2019-12-23T15:06:59.000Z | 2019-12-23T15:06:59.000Z | // Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('co... | 36.468165 | 151 | 0.689432 |
ce9788e66534b60df094ef6cdfd1f9135385bafa | 265 | swift | Swift | Sources/VDRegex/QuantifierType.swift | dankinsoid/VDRegex | 1a35bf3b760d817c64c046a59be87e712a95534b | [
"MIT"
] | null | null | null | Sources/VDRegex/QuantifierType.swift | dankinsoid/VDRegex | 1a35bf3b760d817c64c046a59be87e712a95534b | [
"MIT"
] | null | null | null | Sources/VDRegex/QuantifierType.swift | dankinsoid/VDRegex | 1a35bf3b760d817c64c046a59be87e712a95534b | [
"MIT"
] | null | null | null | //
// File.swift
//
//
// Created by Данил Войдилов on 14.06.2021.
//
import Foundation
extension Regex {
public enum QuantifierType: String {
case lazy = "?", possessive = "+", greedy = ""
public static var `default`: QuantifierType { .greedy }
}
}
| 15.588235 | 57 | 0.630189 |
bb69936c6e85ce7cfb880515d0ac42c22593f60d | 88,573 | cs | C# | SMI/Interface/frmCharacter.cs | mustafakemalgilor/kol-administration-tool | 40b5d997e1f9b921abafc6b8dd983f981dcab882 | [
"MIT"
] | null | null | null | SMI/Interface/frmCharacter.cs | mustafakemalgilor/kol-administration-tool | 40b5d997e1f9b921abafc6b8dd983f981dcab882 | [
"MIT"
] | null | null | null | SMI/Interface/frmCharacter.cs | mustafakemalgilor/kol-administration-tool | 40b5d997e1f9b921abafc6b8dd983f981dcab882 | [
"MIT"
] | 1 | 2021-05-16T14:45:05.000Z | 2021-05-16T14:45:05.000Z | /**
* ______________________________________________________
* This file is part of ko-administration-tool project.
*
* @author Mustafa Kemal Gılor <mustafagilor@gmail.com> (2017)
* .
* SPDX-License-Identifier: MIT
* ______________________________________________________
*/
using System;
using System.C... | 38.864853 | 184 | 0.520971 |
da5e914169bb436b8c31e10e999ad33ce17e47df | 2,893 | php | PHP | inc/sidebar.php | arman77262/blog1 | dddcf4328a54880924c10941396b5bdf34bd58cc | [
"MIT"
] | null | null | null | inc/sidebar.php | arman77262/blog1 | dddcf4328a54880924c10941396b5bdf34bd58cc | [
"MIT"
] | null | null | null | inc/sidebar.php | arman77262/blog1 | dddcf4328a54880924c10941396b5bdf34bd58cc | [
"MIT"
] | null | null | null | <?php
require_once 'config/config.php';
require_once 'lib/Database.php';
$db = new Database();
?>
<!-- Sidebar Widgets Column -->
<div class="col-md-4">
<!-- Search Widget -->
<div class="card my-4">
<h5 class="card-header">Search</h5>
<div class="card-body">
<div class="input-group... | 35.716049 | 142 | 0.374006 |
e7746fa979c88accedf379f3d62ab0c089f0912c | 222 | php | PHP | src/LocalesResolvers/ResolverInterface.php | freiondrej/translation | 27bc66c94043ed64c2dcd46a2ec680dc6bf502cb | [
"MIT"
] | null | null | null | src/LocalesResolvers/ResolverInterface.php | freiondrej/translation | 27bc66c94043ed64c2dcd46a2ec680dc6bf502cb | [
"MIT"
] | 1 | 2020-12-19T08:16:46.000Z | 2020-12-19T08:16:46.000Z | src/LocalesResolvers/ResolverInterface.php | freiondrej/translation | 27bc66c94043ed64c2dcd46a2ec680dc6bf502cb | [
"MIT"
] | null | null | null | <?php declare(strict_types = 1);
namespace Contributte\Translation\LocalesResolvers;
use Contributte;
interface ResolverInterface
{
public function resolve(Contributte\Translation\Translator $translator): ?string;
}
| 17.076923 | 82 | 0.806306 |
168ad0a3f54de27b6b08f55f2b84c53e7f52f891 | 1,528 | dart | Dart | lib/src/transaction.dart | golfzimpligital/flutter_callkit | 5d407c9330afb5ca4da4dbca79da1190e6352621 | [
"MIT"
] | 41 | 2020-03-23T17:35:32.000Z | 2022-02-02T19:02:36.000Z | lib/src/transaction.dart | golfzimpligital/flutter_callkit | 5d407c9330afb5ca4da4dbca79da1190e6352621 | [
"MIT"
] | 22 | 2020-03-28T08:50:21.000Z | 2022-03-31T01:50:44.000Z | lib/src/transaction.dart | golfzimpligital/flutter_callkit | 5d407c9330afb5ca4da4dbca79da1190e6352621 | [
"MIT"
] | 14 | 2020-08-28T18:20:30.000Z | 2022-01-30T22:59:17.000Z | /// Copyright (c) 2011-2020, Zingaya, Inc. All rights reserved.
part of flutter_callkit_voximplant;
/// Dart representation of CXTransaction from iOS CallKit Framework.
///
/// An object that contains zero or more action objects to be performed
/// by a call controller.
class FCXTransaction {
/// The unique identi... | 30.56 | 75 | 0.63089 |
05d9cd5cedb26bcc0deeb7a804d1a0b3fa9ca67c | 2,590 | py | Python | integration/combination/test_intrinsic_function_support.py | hawflau/serverless-application-model | d2cf4b7e23d26cdf677c564d53bb58e6a5b6cac2 | [
"Apache-2.0"
] | 1,279 | 2020-08-25T03:33:15.000Z | 2022-03-31T09:49:22.000Z | integration/combination/test_intrinsic_function_support.py | hawflau/serverless-application-model | d2cf4b7e23d26cdf677c564d53bb58e6a5b6cac2 | [
"Apache-2.0"
] | 797 | 2020-08-24T23:30:05.000Z | 2022-03-31T22:28:29.000Z | integration/combination/test_intrinsic_function_support.py | hawflau/serverless-application-model | d2cf4b7e23d26cdf677c564d53bb58e6a5b6cac2 | [
"Apache-2.0"
] | 431 | 2020-08-27T20:47:26.000Z | 2022-03-31T23:57:55.000Z | from parameterized import parameterized
from integration.helpers.base_test import BaseTest
class TestIntrinsicFunctionsSupport(BaseTest):
# test code definition uri object and serverless function properties support
@parameterized.expand(
[
"combination/intrinsics_code_definition_uri",
... | 42.459016 | 106 | 0.705405 |
05d3c3dfc4ceb4fb3b5834e4d8509a7a271d59d6 | 3,285 | py | Python | datasource/management/commands/import_tracks.py | nkalfa/argophonica | ef712fc97ecea139079d78aeb6253e017f946c88 | [
"BSD-3-Clause"
] | null | null | null | datasource/management/commands/import_tracks.py | nkalfa/argophonica | ef712fc97ecea139079d78aeb6253e017f946c88 | [
"BSD-3-Clause"
] | null | null | null | datasource/management/commands/import_tracks.py | nkalfa/argophonica | ef712fc97ecea139079d78aeb6253e017f946c88 | [
"BSD-3-Clause"
] | null | null | null | from .import_albums import clean_artist_album_names, extract_track_name_number
from datasource.models import Album, Artist, Track
from django.conf import settings
from django.core.management.base import BaseCommand
import glob
import os
PATH = '/argophonica/argophonica/media'
def construct_audio_link(path_string, ... | 39.107143 | 123 | 0.629224 |
73c22163ca36b61f220c45a92babdd775b5edac8 | 1,102 | swift | Swift | Sources/SwiftHtml/Tags/Picture.swift | robertschmid/swift-html | 896e1bdd23432f9ca828f0c184c5bd636caeef73 | [
"MIT"
] | null | null | null | Sources/SwiftHtml/Tags/Picture.swift | robertschmid/swift-html | 896e1bdd23432f9ca828f0c184c5bd636caeef73 | [
"MIT"
] | null | null | null | Sources/SwiftHtml/Tags/Picture.swift | robertschmid/swift-html | 896e1bdd23432f9ca828f0c184c5bd636caeef73 | [
"MIT"
] | null | null | null | //
// Picture.swift
// SwiftHtml
//
// Created` by Tibor Bodecs on 2021. 07. 19..
//
/// The `<picture>` tag gives web developers more flexibility in specifying image resources.
///
/// The most common use of the `<picture>` element will be for art direction in responsive designs.
/// Instead of having one image th... | 50.090909 | 193 | 0.715064 |
0dcc51db5f6f705ebd483cb207dd56a2732453ed | 865 | cs | C# | Assets/Scripts/Terrain/NoiseMesh.cs | chrislugram/HuntRebels | c7ad4bb7f4f1a28a05477f7bce78fd6b22ba7617 | [
"MIT"
] | null | null | null | Assets/Scripts/Terrain/NoiseMesh.cs | chrislugram/HuntRebels | c7ad4bb7f4f1a28a05477f7bce78fd6b22ba7617 | [
"MIT"
] | null | null | null | Assets/Scripts/Terrain/NoiseMesh.cs | chrislugram/HuntRebels | c7ad4bb7f4f1a28a05477f7bce78fd6b22ba7617 | [
"MIT"
] | null | null | null | using UnityEngine;
using System;
using System.Collections;
[Serializable]
public class NoiseMesh {
#region STATIC_ENUM_CONSTANTS
#endregion
#region FIELDS
public float power = 3.0f;
public float scale = 1.0f;
private Vector2 v2SampleStart = new Vector2(0f, 0f);
#endregion
#region METHODS_CUSTOM
public M... | 24.714286 | 112 | 0.701734 |
ef2964f426c1223b004c8c49b5314cafda68b87f | 351 | h | C | PushAnimaDemo/ViewController.h | rickywbl/RSTransition | e20ff1af8a51dcc70f718ee214adf2cfadf0d6e4 | [
"Apache-2.0"
] | null | null | null | PushAnimaDemo/ViewController.h | rickywbl/RSTransition | e20ff1af8a51dcc70f718ee214adf2cfadf0d6e4 | [
"Apache-2.0"
] | null | null | null | PushAnimaDemo/ViewController.h | rickywbl/RSTransition | e20ff1af8a51dcc70f718ee214adf2cfadf0d6e4 | [
"Apache-2.0"
] | null | null | null | //
// ViewController.h
// PushAnimaDemo
//
// Created by 王保霖 on 16/5/30.
// Copyright © 2016年 Ricky. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController<UIViewControllerTransitioningDelegate>
@property(nonatomic,strong)UIImageView *musicImageView;
@property(nonatomic,stro... | 18.473684 | 83 | 0.757835 |
58fec8b596a8f9d0d4d8b6917d317b6e3b9aa629 | 7,321 | lua | Lua | autorepair.lua | jrowles/Vendorer | b993223fff5a5405ab53ba9da7aecf7afc8eba33 | [
"MIT"
] | 1 | 2017-03-18T12:43:27.000Z | 2017-03-18T12:43:27.000Z | autorepair.lua | jrowles/Vendorer | b993223fff5a5405ab53ba9da7aecf7afc8eba33 | [
"MIT"
] | 24 | 2016-07-26T07:46:19.000Z | 2022-03-22T21:01:05.000Z | autorepair.lua | jrowles/Vendorer | b993223fff5a5405ab53ba9da7aecf7afc8eba33 | [
"MIT"
] | 4 | 2018-07-10T07:09:14.000Z | 2021-03-13T06:13:06.000Z | ------------------------------------------------------------
-- Vendorer by Sonaza (https://sonaza.com)
-- Licensed under MIT License
-- See attached license text in file LICENSE
------------------------------------------------------------
local ADDON_NAME, Addon = ...;
local _;
function Addon:GetGuildAllowance(trigg... | 28.049808 | 96 | 0.73296 |
a11e7a9a500b5c14700a4d1cca4d8067f6b97e42 | 242 | lua | Lua | Mods/LeaderLib_543d653f-446c-43d8-8916-54670ce24dd9/Story/RawFiles/Lua/Shared/Classes/_Init.lua | LaughingLeader-DOS2-Mods/LeaderLib | 2a7ba51839eefe7bdc1dec15861fd33c1fdfafa1 | [
"MIT"
] | 5 | 2018-04-17T19:50:44.000Z | 2020-08-31T05:49:01.000Z | Mods/LeaderLib_543d653f-446c-43d8-8916-54670ce24dd9/Story/RawFiles/Lua/Shared/Classes/_Init.lua | LaughingLeader-DOS2-Mods/LeaderLib | 2a7ba51839eefe7bdc1dec15861fd33c1fdfafa1 | [
"MIT"
] | 2 | 2019-10-18T15:04:28.000Z | 2020-04-26T14:59:00.000Z | Mods/LeaderLib_543d653f-446c-43d8-8916-54670ce24dd9/Story/RawFiles/Lua/Shared/Classes/_Init.lua | LaughingLeader-DOS2-Mods/LeaderLib | 2a7ba51839eefe7bdc1dec15861fd33c1fdfafa1 | [
"MIT"
] | 6 | 2018-04-17T19:37:47.000Z | 2021-11-17T18:02:10.000Z | Ext.Require("Shared/Classes/TranslatedString.lua")
Ext.Require("Shared/Classes/MessageData.lua")
Ext.Require("Shared/Classes/ClientData.lua")
Ext.Require("Shared/Classes/DeltaModGroup.lua")
Ext.Require("Shared/Classes/ModSettingsClasses.lua") | 48.4 | 52 | 0.818182 |
23afb5e8ff5b9c9bc54712869b6295e57ceb63e8 | 316 | js | JavaScript | frontend/src/js/components/UtilComponents/ProgressAnimation.js | guardian/giant | 0db27dc28468e92574adfdb1d4089ce1cf25879e | [
"Apache-2.0"
] | 22 | 2021-05-14T17:22:16.000Z | 2022-03-29T07:27:02.000Z | frontend/src/js/components/UtilComponents/ProgressAnimation.js | guardian/giant | 0db27dc28468e92574adfdb1d4089ce1cf25879e | [
"Apache-2.0"
] | 15 | 2021-05-25T07:50:45.000Z | 2022-03-28T15:57:18.000Z | frontend/src/js/components/UtilComponents/ProgressAnimation.js | guardian/giant | 0db27dc28468e92574adfdb1d4089ce1cf25879e | [
"Apache-2.0"
] | null | null | null | import React from 'react';
export function ProgressAnimation() {
return <div className='progress-animation'>
<div className='progress-animation__cube cube1'></div>
<div className='progress-animation__cube cube2'></div>
<div className='progress-animation__cube cube3'></div>
</div>;
} | 35.111111 | 62 | 0.689873 |
38d34ce9f5c25dc8b7bd8e6752479275f402fdd1 | 357 | dart | Dart | lib/models/china_chart_model.dart | umaersharief/coronavirus_tracker | add7854e471e135df95f902ea7381a619b997cfa | [
"CC0-1.0"
] | null | null | null | lib/models/china_chart_model.dart | umaersharief/coronavirus_tracker | add7854e471e135df95f902ea7381a619b997cfa | [
"CC0-1.0"
] | null | null | null | lib/models/china_chart_model.dart | umaersharief/coronavirus_tracker | add7854e471e135df95f902ea7381a619b997cfa | [
"CC0-1.0"
] | null | null | null | import 'package:charts_flutter/flutter.dart' as charts;
import 'package:flutter/foundation.dart';
//import 'model.dart';
class ChinaChartModel {
final DateTime reportDate;
final int mainlandChina;
final charts.Color barColor;
ChinaChartModel(
{@required this.reportDate,
@required this.mainlandChin... | 25.5 | 55 | 0.742297 |
b867680b7aa463a442aa8de970fdb12a3d45c303 | 1,506 | h | C | src/mxml/dom/DirectionType.h | dkun7944/mxml | 6450e7cab88eb6ee0ac469f437047072e1868ea4 | [
"MIT"
] | 18 | 2016-05-22T00:55:28.000Z | 2021-03-29T08:44:23.000Z | src/mxml/dom/DirectionType.h | dkun7944/mxml | 6450e7cab88eb6ee0ac469f437047072e1868ea4 | [
"MIT"
] | 6 | 2017-05-17T13:20:09.000Z | 2018-10-22T20:00:57.000Z | src/mxml/dom/DirectionType.h | dkun7944/mxml | 6450e7cab88eb6ee0ac469f437047072e1868ea4 | [
"MIT"
] | 14 | 2016-05-12T22:54:34.000Z | 2021-10-19T12:43:16.000Z | // Copyright © 2016 Venture Media Labs.
//
// This file is part of mxml. The full mxml copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#pragma once
#include "Node.h"
#include "Optional.h"
#includ... | 19.063291 | 77 | 0.634794 |
a424884a6bc27a4645cd1f9325a6291e71ed94d5 | 1,325 | php | PHP | shtoDege.php | DionIslami1/UMAB-Moduli-Administratorit | 34875d1210f3fefbc07e04b1d3a1a79f40b8a9de | [
"CC-BY-3.0"
] | null | null | null | shtoDege.php | DionIslami1/UMAB-Moduli-Administratorit | 34875d1210f3fefbc07e04b1d3a1a79f40b8a9de | [
"CC-BY-3.0"
] | null | null | null | shtoDege.php | DionIslami1/UMAB-Moduli-Administratorit | 34875d1210f3fefbc07e04b1d3a1a79f40b8a9de | [
"CC-BY-3.0"
] | null | null | null | <html>
<head>
<title>Moduli Administraotirt</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
</... | 27.604167 | 98 | 0.603774 |
45c52f54c79c285fdecfd0840c1c9b98b51d438b | 17,067 | py | Python | Lib/site-packages/qutebrowser/misc/crashsignal.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | null | null | null | Lib/site-packages/qutebrowser/misc/crashsignal.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | 20 | 2021-05-03T18:02:23.000Z | 2022-03-12T12:01:04.000Z | Lib/site-packages/qutebrowser/misc/crashsignal.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | null | null | null | # vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
# Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
# This file is part of qutebrowser.
#
# qutebrowser is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free S... | 36.861771 | 79 | 0.619968 |
144b5eba995f2c2fdb6e83e81596566f1ba0e120 | 5,242 | ts | TypeScript | libs/packages/components/src/lib/search/search.component.ts | GSA/sam-design-system | 3da5561d8386b89c9562a556c6d9d5a9cc6fb705 | [
"CC0-1.0"
] | 7 | 2019-02-19T18:02:01.000Z | 2021-07-28T15:45:55.000Z | libs/packages/components/src/lib/search/search.component.ts | GSA/sam-design-system | 3da5561d8386b89c9562a556c6d9d5a9cc6fb705 | [
"CC0-1.0"
] | 198 | 2019-07-29T18:41:31.000Z | 2022-03-31T17:15:46.000Z | libs/packages/components/src/lib/search/search.component.ts | GSA/sam-design-system | 3da5561d8386b89c9562a556c6d9d5a9cc6fb705 | [
"CC0-1.0"
] | 15 | 2019-10-31T20:18:07.000Z | 2021-12-16T17:59:55.000Z | import {
Component,
ViewChild,
ElementRef,
Input,
AfterViewInit,
forwardRef,
ChangeDetectionStrategy,
ChangeDetectorRef,
Output,
EventEmitter,
} from '@angular/core';
import { FocusMonitor } from '@angular/cdk/a11y';
import { ViewportRuler } from '@angular/cdk/overlay';
import { NG_VALUE_ACCESSOR, C... | 27.302083 | 80 | 0.663106 |
ef521ec333897d4a4cfd080026eb5c1dc0934aae | 395 | h | C | storage/source/net/message/storage/mirroring/StorageResyncStartedMsgEx.h | TomatoYoung/beegfs | edf287940175ecded493183209719d2d90d45374 | [
"BSD-3-Clause"
] | null | null | null | storage/source/net/message/storage/mirroring/StorageResyncStartedMsgEx.h | TomatoYoung/beegfs | edf287940175ecded493183209719d2d90d45374 | [
"BSD-3-Clause"
] | null | null | null | storage/source/net/message/storage/mirroring/StorageResyncStartedMsgEx.h | TomatoYoung/beegfs | edf287940175ecded493183209719d2d90d45374 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STORAGERESYNCSTARTEDMSGEX_H_
#define STORAGERESYNCSTARTEDMSGEX_H_
#include <common/net/message/storage/mirroring/StorageResyncStartedMsg.h>
class StorageResyncStartedMsgEx : public StorageResyncStartedMsg
{
public:
virtual bool processIncoming(ResponseContext& ctx);
private:
void deleteMirr... | 24.6875 | 73 | 0.810127 |
134bcea13f12f1d5e4cd4c44597dc75759cd8c23 | 3,411 | h | C | parse/parse.h | mniip/nanohc | 162660d7447b370a26b6ad79f816a41a00aa5bd9 | [
"BSD-3-Clause"
] | null | null | null | parse/parse.h | mniip/nanohc | 162660d7447b370a26b6ad79f816a41a00aa5bd9 | [
"BSD-3-Clause"
] | null | null | null | parse/parse.h | mniip/nanohc | 162660d7447b370a26b6ad79f816a41a00aa5bd9 | [
"BSD-3-Clause"
] | null | null | null | #ifndef PARSER_H_
#define PARSER_H_
#include "lex.h"
/* Tags for the AST (in parentheses the children values are listed) */
enum ast_tag {
/* Expressions: */
/* Function application (function, arg) */
AST_APPLY,
/* Not-yet-associated operator (operator, arg1, arg2) */
AST_UOPERATOR,
/* Parenthesized expression ... | 23.524138 | 77 | 0.682205 |
ae8d195d2053bed2b7cc823965f7f2712c77b3ea | 1,520 | cs | C# | src/JsonKnownTypes/JsonDiscriminatorAttribute.cs | ibebbs/JsonKnownTypes | 9e47bdd56d3232cf377888349495bd96f3d7b189 | [
"MIT"
] | null | null | null | src/JsonKnownTypes/JsonDiscriminatorAttribute.cs | ibebbs/JsonKnownTypes | 9e47bdd56d3232cf377888349495bd96f3d7b189 | [
"MIT"
] | null | null | null | src/JsonKnownTypes/JsonDiscriminatorAttribute.cs | ibebbs/JsonKnownTypes | 9e47bdd56d3232cf377888349495bd96f3d7b189 | [
"MIT"
] | null | null | null | using System;
namespace JsonKnownTypes
{
/// <summary>
/// Manage discriminator settings
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
public class JsonDiscriminatorAttribute : Attribute
{
/// <summary>
/// Discriminator field name in json... | 33.777778 | 120 | 0.6125 |
5878eef7669c057fcb6e9c2adf828e2cca4d70d6 | 862 | swift | Swift | Example/Pods/Sluthware/Sluthware/Classes/Foundation/NSObjectProtocol+NSKeyValueObservation.swift | patsluth/KeyPath-Theme-Manager | 43f232191f3d797610c2f2bd5f76d5156907c852 | [
"MIT"
] | 1 | 2020-03-17T08:04:14.000Z | 2020-03-17T08:04:14.000Z | Example/Pods/Sluthware/Sluthware/Classes/Foundation/NSObjectProtocol+NSKeyValueObservation.swift | patsluth/KeyPath-Theme-Manager | 43f232191f3d797610c2f2bd5f76d5156907c852 | [
"MIT"
] | null | null | null | Example/Pods/Sluthware/Sluthware/Classes/Foundation/NSObjectProtocol+NSKeyValueObservation.swift | patsluth/KeyPath-Theme-Manager | 43f232191f3d797610c2f2bd5f76d5156907c852 | [
"MIT"
] | null | null | null | //
// NSObjectProtocol+NSKeyValueObservation.swift
// Sluthware
//
// Created by Pat Sluth on 2017-11-28.
// Copyright © 2017 patsluth. All rights reserved.
//
import Foundation
import ObjectiveC
fileprivate var _keyValueObservations = Selector(("_keyValueObservations"))
public extension NSObjectProtocol
wh... | 19.155556 | 91 | 0.734339 |
1a8c70801b227da912d563669e63a937d187d2eb | 13,135 | cs | C# | test/Cuemon.Runtime.Caching.Tests/SlimMemoryCacheTest.cs | gimlichael/cuemoncore | 7750a3bd67200924b9cfa4dddccf54c765453c24 | [
"MIT"
] | 11 | 2018-05-30T05:46:59.000Z | 2020-04-30T11:44:57.000Z | test/Cuemon.Runtime.Caching.Tests/SlimMemoryCacheTest.cs | gimlichael/cuemoncore | 7750a3bd67200924b9cfa4dddccf54c765453c24 | [
"MIT"
] | 4 | 2021-02-28T00:24:26.000Z | 2021-04-01T17:58:20.000Z | test/Cuemon.Runtime.Caching.Tests/SlimMemoryCacheTest.cs | gimlichael/cuemoncore | 7750a3bd67200924b9cfa4dddccf54c765453c24 | [
"MIT"
] | 3 | 2018-08-29T15:19:47.000Z | 2019-10-14T20:47:39.000Z | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Cuemon.Extensions.Xunit.Hosting;
using Cuemon.Runtime.Caching.Assets;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
using Xunit.Abstractions;
using Xunit.Priority;
namespace... | 47.078853 | 204 | 0.630758 |
e23947524a298e0ac78cea08c360d608c8162ab3 | 606 | py | Python | src/convert_base.py | yxtay/data-structures-algorithms | a28f0b7a727192c121579ed51d44d00e09cc1b9a | [
"MIT"
] | 1 | 2020-06-23T16:08:51.000Z | 2020-06-23T16:08:51.000Z | src/convert_base.py | yxtay/data-structures-algorithms | a28f0b7a727192c121579ed51d44d00e09cc1b9a | [
"MIT"
] | null | null | null | src/convert_base.py | yxtay/data-structures-algorithms | a28f0b7a727192c121579ed51d44d00e09cc1b9a | [
"MIT"
] | null | null | null | DIGITS = "0123456789abcdef"
def convert_base_stack(decimal_number, base):
remainder_stack = []
while decimal_number > 0:
remainder = decimal_number % base
remainder_stack.append(remainder)
decimal_number = decimal_number // base
new_digits = []
while remainder_stack:
... | 25.25 | 89 | 0.70297 |
bd7be98f54763716c2303917c354da7c5f71feb6 | 724 | asm | Assembly | programs/oeis/109/A109235.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/109/A109235.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/109/A109235.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A109235: a(n) = floor(n*(e^2-1)/(e^2-2*e-1)).
; 6,13,20,26,33,40,46,53,60,67,73,80,87,93,100,107,114,120,127,134,140,147,154,160,167,174,181,187,194,201,207,214,221,228,234,241,248,254,261,268,275,281,288,295,301,308,315,321,328,335,342,348
mov $2,$0
add $2,1
mov $8,$0
lpb $2
mov $0,$8
sub $2,1
sub $0,$2
mov... | 16.454545 | 194 | 0.498619 |
58592e6fceb6797def6c5cb95c2cfab2b20edb15 | 414 | css | CSS | public/trevr/node_modules/grunt-rigger/node_modules/rigger/test/output/local-styl2css-withnib.css | msurguy/codepad | 4efcc4fdd07236aa1b5651cf277d7b31cf681586 | [
"MIT"
] | 1 | 2021-01-02T04:12:24.000Z | 2021-01-02T04:12:24.000Z | public/trevr/node_modules/grunt-rigger/node_modules/rigger/test/output/local-styl2css-withnib.css | msurguy/codepad | 4efcc4fdd07236aa1b5651cf277d7b31cf681586 | [
"MIT"
] | null | null | null | public/trevr/node_modules/grunt-rigger/node_modules/rigger/test/output/local-styl2css-withnib.css | msurguy/codepad | 4efcc4fdd07236aa1b5651cf277d7b31cf681586 | [
"MIT"
] | null | null | null | body {
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #000));
background: -webkit-linear-gradient(top, #fff 0%, #000 100%);
background: -moz-linear-gradient(top, #fff 0%, #000 100%);
background: -o-linear-gradient(top, #fff 0%, #000 100%);
background: -ms-linear... | 46 | 104 | 0.661836 |
f4db7d185510952ddf0ca820ffd13d5091196371 | 2,401 | ts | TypeScript | src/core/cache.ts | Okabe-Kurisu/kube-topo | 078076491bd9be006ca3fabbb0ad685c916de5cb | [
"MIT"
] | null | null | null | src/core/cache.ts | Okabe-Kurisu/kube-topo | 078076491bd9be006ca3fabbb0ad685c916de5cb | [
"MIT"
] | 8 | 2020-05-15T01:46:11.000Z | 2020-06-11T09:17:53.000Z | src/core/cache.ts | Okabe-Kurisu/kube-topo | 078076491bd9be006ca3fabbb0ad685c916de5cb | [
"MIT"
] | 1 | 2020-06-11T08:36:18.000Z | 2020-06-11T08:36:18.000Z | import { intersectionSet } from "../utils";
import { TopologyNode, TopologyNodeTypes, TopologyNodeType } from "../type";
import { GroupConfig } from "@antv/g6/lib/types";
export let cache: { [key: string]: { [value: string]: Set<TopologyNode> } },
links: { [source: string]: { [target: string]: string } },
gr... | 25.542553 | 77 | 0.579342 |
1aacbd706dfb1e05d3e56149a68e9b937808e3cd | 47,298 | cs | C# | Programing EF DbContext/AfterCompletingChapter6/BreakAwayConsole/Program.cs | julielerman/ProgrammingEntityFrameworkBook | 641fa5203925b0eaf1cce0791cc0d05043776ad4 | [
"MIT"
] | 3 | 2021-05-11T17:48:34.000Z | 2021-09-08T19:41:21.000Z | Programing EF DbContext/AfterCompletingChapter6/BreakAwayConsole/Program.cs | julielerman/ProgrammingEntityFrameworkBook | 641fa5203925b0eaf1cce0791cc0d05043776ad4 | [
"MIT"
] | null | null | null | Programing EF DbContext/AfterCompletingChapter6/BreakAwayConsole/Program.cs | julielerman/ProgrammingEntityFrameworkBook | 641fa5203925b0eaf1cce0791cc0d05043776ad4 | [
"MIT"
] | 1 | 2021-11-29T15:08:09.000Z | 2021-11-29T15:08:09.000Z | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Text;
using DataAccess;
using Model;
using System.Data.Objects.DataClasses;
using System.Data;
using System.Data.Entity.Validation;
namespace BreakAwayConsole
{
class Pr... | 27.789659 | 112 | 0.563174 |
144a077a184796e7356b1440c66fe441d7513ee0 | 1,387 | dart | Dart | lib/icon_resizer.dart | thruthesky/icon_resizer | 4224ff903ae364f3fc2346f9ca260daaa70e81d3 | [
"MIT"
] | null | null | null | lib/icon_resizer.dart | thruthesky/icon_resizer | 4224ff903ae364f3fc2346f9ca260daaa70e81d3 | [
"MIT"
] | null | null | null | lib/icon_resizer.dart | thruthesky/icon_resizer | 4224ff903ae364f3fc2346f9ca260daaa70e81d3 | [
"MIT"
] | null | null | null | library icon_resizer;
import 'dart:async';
import 'package:flutter/material.dart';
class IconResize {
IconResize(
{@required this.size, this.color, @required this.duration, this.icon});
final double size;
final Color color;
final int duration;
final IconData icon;
}
class IconResizer extends Statefu... | 21.338462 | 77 | 0.625811 |
34d7c2103f0bebc437b67ccc1012131123c18215 | 1,879 | lua | Lua | projects/flower-extensions/flower-widget/src/flower/widget/ListViewLayout.lua | rammie/Hanappe | 9e084c478e104ac5669cb33c73516f0606ab93f3 | [
"Apache-2.0"
] | null | null | null | projects/flower-extensions/flower-widget/src/flower/widget/ListViewLayout.lua | rammie/Hanappe | 9e084c478e104ac5669cb33c73516f0606ab93f3 | [
"Apache-2.0"
] | null | null | null | projects/flower-extensions/flower-widget/src/flower/widget/ListViewLayout.lua | rammie/Hanappe | 9e084c478e104ac5669cb33c73516f0606ab93f3 | [
"Apache-2.0"
] | null | null | null | --------------------------------------------------------------------------------
-- Layout class for the ListView.
--
-- <h4>Extends:</h4>
-- <ul>
-- <li><a href="flower.widget.UILayout.html">UILayout</a><l/i>
-- </ul>
--
-- @author Makoto
-- @release V3.0.0
-----------------------------------------------------------... | 27.632353 | 80 | 0.641831 |
e6a3d0f96ef91fd255386f49e6ce250e1f4bbe4f | 6,047 | c | C | threads/stampa.c | hex7c0/university-projects | 3b938f05c42870f43f92509145438fa37592254a | [
"MIT"
] | null | null | null | threads/stampa.c | hex7c0/university-projects | 3b938f05c42870f43f92509145438fa37592254a | [
"MIT"
] | null | null | null | threads/stampa.c | hex7c0/university-projects | 3b938f05c42870f43f92509145438fa37592254a | [
"MIT"
] | null | null | null | /*********************
Punto 8
/********************/
#include "mylib.h" /* definizione mylib */
#include <string.h> /* stringhe */
#include <stdlib.h> /* exit */
#include <stdio.h> /* I/O */
#include <unistd.h>
#include <pthread.h>
struct arg {
char file[25];
char file2[25];
msg *m;
};
void *pr(void *data) {
c... | 20.638225 | 61 | 0.561766 |
dbe559fb8eea16d540addf40dbb2a52beb973f95 | 298 | php | PHP | toitest/catalog/language/fr-Fr/extension/shipping/usps.php | pass-services/OToitPhaseTest | 390aa1eb1ad417bc94b35b4cd06498cf399d042e | [
"MIT"
] | null | null | null | toitest/catalog/language/fr-Fr/extension/shipping/usps.php | pass-services/OToitPhaseTest | 390aa1eb1ad417bc94b35b4cd06498cf399d042e | [
"MIT"
] | null | null | null | toitest/catalog/language/fr-Fr/extension/shipping/usps.php | pass-services/OToitPhaseTest | 390aa1eb1ad417bc94b35b4cd06498cf399d042e | [
"MIT"
] | null | null | null | <?php
// Text
$_['text_title'] = 'Service Postal des Etats-Unis';
$_['text_weight'] = 'Poids:';
$_['text_eta'] = 'Temps estimé:';
/*
Copyright (C) 2016-2017 Apptiko.
Created by Apptiko - http://extension.apptiko.com.
Time-stamp-code:Sat1117071304
*/ | 18.625 | 57 | 0.57047 |
13ba5335b4bafa2bf49fbd7721e10bfc4b133933 | 9,188 | lua | Lua | Recurrence.lua | petrjanda/rnn | 5acdf20c02427088096cfb97d43487989987454a | [
"BSD-3-Clause"
] | 1 | 2018-02-01T08:23:17.000Z | 2018-02-01T08:23:17.000Z | Recurrence.lua | douwekiela/rnn | bec9fa9f76e91a3c7a80700f6ef722d2f710c0b2 | [
"BSD-3-Clause"
] | null | null | null | Recurrence.lua | douwekiela/rnn | bec9fa9f76e91a3c7a80700f6ef722d2f710c0b2 | [
"BSD-3-Clause"
] | null | null | null | ------------------------------------------------------------------------
--[[ Recurrence ]]--
-- A general container for implementing a recurrence.
-- Unlike Recurrent, this module doesn't manage a separate input layer,
-- nor does it have a startModule. Instead for the first step, it
-- just forwards a zero tensor th... | 38.932203 | 110 | 0.679909 |
d08e2e76cacbee170f9b2f433cc0de062fe28c14 | 271 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/item/beast/converted_thune_decoration.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/item/beast/converted_thune_decoration.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/item/beast/converted_thune_decoration.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_tangible_item_beast_converted_thune_decoration = object_tangible_item_beast_shared_converted_thune_decoration:new {
}
ObjectTemplates:addTemplate(object_tangible_item_beast_converted_thune_decoration, "object/tangible/item/beast/converted_thune_decoration.iff")
| 45.166667 | 143 | 0.911439 |