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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e241ac5a2b50b0cfcd60db56fff48026f135f0dd | 175 | js | JavaScript | caps.js | ClementBuchanan/caps | 91d5319154527bb75ad4411b28f8546de8ea9cc3 | [
"MIT"
] | null | null | null | caps.js | ClementBuchanan/caps | 91d5319154527bb75ad4411b28f8546de8ea9cc3 | [
"MIT"
] | null | null | null | caps.js | ClementBuchanan/caps | 91d5319154527bb75ad4411b28f8546de8ea9cc3 | [
"MIT"
] | null | null | null | 'use strict';
const driver = require('./driver/driver.js');
const vendor = require('./vendor/vendor.js');
const events = require('./events/events.js');
events.emit('start');
| 25 | 45 | 0.685714 |
d2a2f470d766da81cf7988d71ef2da3df870c8ee | 866 | rs | Rust | examples/vmod_timestamp/src/lib.rs | gquintard/varnish-rs | ec44230166e20f27ff3f893a1e907f2cd1ebb3ff | [
"BSD-3-Clause"
] | 3 | 2021-12-06T01:35:42.000Z | 2021-12-28T14:42:58.000Z | examples/vmod_timestamp/src/lib.rs | gquintard/varnish-rs | ec44230166e20f27ff3f893a1e907f2cd1ebb3ff | [
"BSD-3-Clause"
] | 5 | 2021-12-14T03:08:33.000Z | 2022-03-21T17:36:16.000Z | examples/vmod_timestamp/src/lib.rs | gquintard/varnish-rs | ec44230166e20f27ff3f893a1e907f2cd1ebb3ff | [
"BSD-3-Clause"
] | null | null | null | varnish::boilerplate!();
use std::time::{Duration, Instant};
use varnish::vcl::ctx::Ctx;
use varnish::vcl::vpriv::VPriv;
varnish::vtc!(test01);
// VPriv can wrap any (possibly custom) struct, here we only need an Instand from std::time.
// Storing and getting is up to the vmod writer but this removes the worry of N... | 32.074074 | 96 | 0.658199 |
a35a9c7fa696d6b217a97e73ebf1332cde9f06f1 | 422 | ts | TypeScript | src/projectable.ts | angelsolaorbaiceta/inkgeom2d | 7efeef329f6b82710b3a08890249cfbf1b127c88 | [
"MIT"
] | 3 | 2020-11-12T18:21:43.000Z | 2021-03-13T01:51:41.000Z | src/projectable.ts | angelsolaorbaiceta/inkgeom2d | 7efeef329f6b82710b3a08890249cfbf1b127c88 | [
"MIT"
] | 10 | 2020-11-23T08:09:59.000Z | 2021-12-13T18:13:08.000Z | src/projectable.ts | angelsolaorbaiceta/inkgeom2d | 7efeef329f6b82710b3a08890249cfbf1b127c88 | [
"MIT"
] | null | null | null | export interface Projectable {
readonly x: number
readonly y: number
}
export const origin: Projectable = Object.freeze({
x: 0,
y: 0
})
export function roundProjections(p: Projectable) {
return {
x: Math.round(p.x),
y: Math.round(p.y)
}
}
export function distanceBetween(p: Projectable, q: Project... | 18.347826 | 73 | 0.651659 |
f4b6eb15abbf58a5e7518cf7779378e26b2ba677 | 872 | tsx | TypeScript | web/src/pages/Landing.tsx | jacksonsr45/nlw3_happy | 742b7649dd03b3c0864e878b28260b6dab6a0bb1 | [
"MIT"
] | null | null | null | web/src/pages/Landing.tsx | jacksonsr45/nlw3_happy | 742b7649dd03b3c0864e878b28260b6dab6a0bb1 | [
"MIT"
] | null | null | null | web/src/pages/Landing.tsx | jacksonsr45/nlw3_happy | 742b7649dd03b3c0864e878b28260b6dab6a0bb1 | [
"MIT"
] | null | null | null | import React from 'react'
import { Link } from 'react-router-dom'
import '../styles/pages/landing.css'
import logoImg from '../images/logo.svg'
import arrowRight from '../images/arrow-right.svg'
function Landing() {
return (
<div id="page-landing">
<div className="content-wrapper">
<img... | 25.647059 | 63 | 0.509174 |
fa67ae37381bdd4e1b94aa38eae0735dbf1edc5c | 1,272 | cpp | C++ | tests/vertex_pruning_test.cpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | null | null | null | tests/vertex_pruning_test.cpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | 4 | 2020-04-18T16:16:05.000Z | 2020-04-18T16:17:36.000Z | tests/vertex_pruning_test.cpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | null | null | null | #include <iostream>
#include <mtao/geometry/kdtree.hpp>
#include <mtao/geometry/prune_vertices.hpp>
#include <algorithm>
int main(int argc, char* argv[]) {
mtao::vector<mtao::Vector<double,1>> p;
p.push_back(mtao::Vector<double,1>(0.));
p.push_back(mtao::Vector<double,1>(.5));
p.push_back(mtao::Vector<... | 33.473684 | 120 | 0.58805 |
54a17042bc1b379623b9f87307f56c266b0a1d4a | 2,225 | swift | Swift | Expenses/User Interface/Add Edit Transaction/Tags/Add Tag/AddTagView.swift | nominalista/expenses-ios | 1b90452aae817b7c83056f59634e3429225da16c | [
"Apache-2.0"
] | null | null | null | Expenses/User Interface/Add Edit Transaction/Tags/Add Tag/AddTagView.swift | nominalista/expenses-ios | 1b90452aae817b7c83056f59634e3429225da16c | [
"Apache-2.0"
] | null | null | null | Expenses/User Interface/Add Edit Transaction/Tags/Add Tag/AddTagView.swift | nominalista/expenses-ios | 1b90452aae817b7c83056f59634e3429225da16c | [
"Apache-2.0"
] | null | null | null | import SwiftUI
struct AddTagView: View {
@StateObject var viewModel: AddTagViewModel
@Environment(\.dismiss) var dismiss
var body: some View {
Form {
nameRow
}
.navigationTitle("Add tag")
.navigationBarTitleDisplayMode(.inline)
.navigationB... | 28.525641 | 75 | 0.486292 |
e25a2107796ff9eaab3c149963b1ff56b90020cc | 444 | py | Python | src/1312_min_palindrome_insertions.py | soamsy/leetcode | 091f3b33e44613fac130ff1018c8b63493798f09 | [
"MIT"
] | null | null | null | src/1312_min_palindrome_insertions.py | soamsy/leetcode | 091f3b33e44613fac130ff1018c8b63493798f09 | [
"MIT"
] | null | null | null | src/1312_min_palindrome_insertions.py | soamsy/leetcode | 091f3b33e44613fac130ff1018c8b63493798f09 | [
"MIT"
] | null | null | null | def minInsertions(s: str) -> int:
dp = [[0] * len(s) for _ in range(len(s))]
for left in range(len(s) - 1, -1, -1):
for right in range(0, len(s)):
if left >= right:
continue
if s[left] == s[right]:
dp[left][right] = dp[left+1][right-1]
... | 34.153846 | 79 | 0.448198 |
06e65ba65ef82394c79328fc0c89f38e06d4e776 | 1,055 | py | Python | 2017/day01.py | bovarysme/advent | 9a7a3310984d4b7548ad23e2dfa017c6fe9e2c9c | [
"MIT"
] | 4 | 2017-12-05T00:53:21.000Z | 2018-12-03T14:00:56.000Z | 2017/day01.py | bovarysme/advent | 9a7a3310984d4b7548ad23e2dfa017c6fe9e2c9c | [
"MIT"
] | null | null | null | 2017/day01.py | bovarysme/advent | 9a7a3310984d4b7548ad23e2dfa017c6fe9e2c9c | [
"MIT"
] | null | null | null | def pairs(digits):
for i in range(len(digits) - 1):
yield digits[i], digits[i+1]
yield digits[-1], digits[0]
def halfway(digits):
half = len(digits) // 2
for i in range(half):
yield digits[i], digits[half+i]
for i in range(half, len(digits)):
yield digits[i], digits[i-hal... | 22.934783 | 61 | 0.609479 |
c747841cda2ffb42cef8b254d3c349942fe021e3 | 11,054 | swift | Swift | STPostWebView/STPostWebView.swift | shien7654321/STPostWebView | a4ce90818887dbde048eb713d1827ab8c7e414b9 | [
"MIT"
] | 8 | 2018-08-29T03:06:45.000Z | 2021-07-16T16:03:54.000Z | STPostWebView/STPostWebView.swift | shien7654321/STPostWebView | a4ce90818887dbde048eb713d1827ab8c7e414b9 | [
"MIT"
] | null | null | null | STPostWebView/STPostWebView.swift | shien7654321/STPostWebView | a4ce90818887dbde048eb713d1827ab8c7e414b9 | [
"MIT"
] | 2 | 2018-08-29T03:06:46.000Z | 2019-04-25T05:05:05.000Z | //
// STPostWebView.swift
// STPostWebView
//
// Created by Suta on 2018/8/24.
// Copyright © 2018年 Suta. All rights reserved.
//
import Foundation
import UIKit
import WebKit
public class STPostWebView: WKWebView, STPostWebViewScriptMessagePresenterDelegate {
private var posted = false
private var po... | 34.981013 | 187 | 0.600597 |
af57ebbdb444061df146a19cd7a6babc819e1eeb | 9,411 | py | Python | StudyStuff/DataAnalysis/read csv.py | MatKier/LatinIME-ebm-study-Android-Studio | 1a09013befd4327bae140ed8376d3bde93315451 | [
"Apache-2.0"
] | 1 | 2018-09-19T09:49:55.000Z | 2018-09-19T09:49:55.000Z | StudyStuff/DataAnalysis/read csv.py | MatKier/LatinIME-ebm-study-Android-Studio | 1a09013befd4327bae140ed8376d3bde93315451 | [
"Apache-2.0"
] | null | null | null | StudyStuff/DataAnalysis/read csv.py | MatKier/LatinIME-ebm-study-Android-Studio | 1a09013befd4327bae140ed8376d3bde93315451 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import numpy as np
import math as maths
import matplotlib.pyplot as plt
import os
usecols_ = ["x", "y", "offsetX", "offsetY", "keyCenterX", "keyCenterY", "holdTime", "flightTime", "pressure"]
usecols = ["offsetX", "offsetY", "keyCenterX", "keyCenterY", "holdTime", "flightTime", "pressure"]
default... | 39.049793 | 236 | 0.71714 |
0ab009f91c4cc32e89dd6c58e759ab90bcd59bd2 | 210 | cs | C# | KofteKalkan.Models/FreeGamesNotification.cs | RastgeleReyiz/KofteKalkan | 518641219d32b201cb97857943ae369d4c69915c | [
"MIT"
] | null | null | null | KofteKalkan.Models/FreeGamesNotification.cs | RastgeleReyiz/KofteKalkan | 518641219d32b201cb97857943ae369d4c69915c | [
"MIT"
] | null | null | null | KofteKalkan.Models/FreeGamesNotification.cs | RastgeleReyiz/KofteKalkan | 518641219d32b201cb97857943ae369d4c69915c | [
"MIT"
] | null | null | null | namespace KofteKalkan.Models
{
public class FreeGamesNotification
{
public int Id
{
get;
set;
}
public string Name
{
get;
set;
}
public string Summary
{
get;
set;
}
}
}
| 8.75 | 35 | 0.580952 |
3f5777ddaff0f1d03886c297c46b680629832a12 | 1,693 | rb | Ruby | lib/weese/bus/stop.rb | emma-k-alexandra/weese | 3a86f1a1308ab4575366e4a8c945caff0e629848 | [
"MIT"
] | null | null | null | lib/weese/bus/stop.rb | emma-k-alexandra/weese | 3a86f1a1308ab4575366e4a8c945caff0e629848 | [
"MIT"
] | null | null | null | lib/weese/bus/stop.rb | emma-k-alexandra/weese | 3a86f1a1308ab4575366e4a8c945caff0e629848 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require 'weese/bus/urls'
module Weese
module Bus
# A MetroBus stop.
class Stop
# @return [Integer] The WMATA Stop ID of this Stop
attr_accessor :id
#
# Create a Stop
#
# @param [Integer] id WMATA Stop ID
#
def initialize(id)
... | 23.191781 | 132 | 0.564678 |
e2567a15624b3a433c3491ee4e7e37ab221ea90d | 603 | rb | Ruby | app/models/message.rb | ArtefactGitHub/tsunagaru-clone-repo | af4cdedc31775c63485932f59c083c779feb69ca | [
"MIT"
] | null | null | null | app/models/message.rb | ArtefactGitHub/tsunagaru-clone-repo | af4cdedc31775c63485932f59c083c779feb69ca | [
"MIT"
] | null | null | null | app/models/message.rb | ArtefactGitHub/tsunagaru-clone-repo | af4cdedc31775c63485932f59c083c779feb69ca | [
"MIT"
] | null | null | null | class Message < ApplicationRecord
include RoomNotifierModule
belongs_to :user
belongs_to :room
after_create_commit {
# update_at_message の前に通知処理を走らせる(更新時刻が条件に関わるため)
send_room_notify self
update_at_message self.room
MessageBroadcastJob.perform_later self
}
default_scope -> { order(created... | 22.333333 | 75 | 0.729685 |
cd80b069a076a0e4333015e2a3bf5577548d4acc | 7,083 | cs | C# | src/System.Xml.XPath.XmlDocument/System/Xml/XPath/XmlDocumentExtensions.cs | aniono/corefx | fdd0430aece54ab7337a19335e6647654aba63c7 | [
"MIT"
] | 1 | 2021-05-26T08:22:28.000Z | 2021-05-26T08:22:28.000Z | src/System.Xml.XPath.XmlDocument/System/Xml/XPath/XmlDocumentExtensions.cs | shyamalschandra/corefx | cbd550036f510b1503b4bdbbc7dcd763e5d65ae2 | [
"MIT"
] | null | null | null | src/System.Xml.XPath.XmlDocument/System/Xml/XPath/XmlDocumentExtensions.cs | shyamalschandra/corefx | cbd550036f510b1503b4bdbbc7dcd763e5d65ae2 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics;
namespace System.Xml.XPath
{
public static class XmlDocumentExtensions
{
private class XmlDocumentNavigable : IXPathNavigable... | 36.137755 | 117 | 0.436115 |
05b6b30cd93d53473d5e66bba9111d92bf8eac54 | 3,882 | py | Python | magma/uniquification.py | leonardt/magma | d3e8c9500ec3b167df8ed067e0c0305781c94ab6 | [
"MIT"
] | 167 | 2017-10-08T00:59:22.000Z | 2022-02-08T00:14:39.000Z | magma/uniquification.py | leonardt/magma | d3e8c9500ec3b167df8ed067e0c0305781c94ab6 | [
"MIT"
] | 719 | 2017-08-29T17:58:28.000Z | 2022-03-31T23:39:18.000Z | magma/uniquification.py | leonardt/magma | d3e8c9500ec3b167df8ed067e0c0305781c94ab6 | [
"MIT"
] | 14 | 2017-09-01T03:25:16.000Z | 2021-11-05T13:30:24.000Z | from dataclasses import dataclass
from enum import Enum, auto
from magma.is_definition import isdefinition
from magma.logging import root_logger
from magma.passes import DefinitionPass
_logger = root_logger()
class MultipleDefinitionException(Exception):
pass
class UniquificationMode(Enum):
WARN = auto()... | 31.560976 | 83 | 0.658939 |
0d011da2317a73dacda5b3852c9b483199187ae0 | 1,825 | rb | Ruby | spec/factories.rb | polytene/polytene | f5d316e734b8370fdf3160640f2d83f4c2053315 | [
"MIT"
] | 1 | 2015-06-23T08:25:17.000Z | 2015-06-23T08:25:17.000Z | spec/factories.rb | Polytene/polytene | f5d316e734b8370fdf3160640f2d83f4c2053315 | [
"MIT"
] | 2 | 2021-05-18T16:21:23.000Z | 2021-11-04T19:08:20.000Z | spec/factories.rb | polytene/polytene | f5d316e734b8370fdf3160640f2d83f4c2053315 | [
"MIT"
] | null | null | null | include ActionDispatch::TestProcess
FactoryGirl.define do
sequence(:private_token) { |n| "Private_Token_#{n}" }
sequence(:gitlab_ci_token) { |n| "Gitlab-CI-Token_#{n}" }
sequence(:project_token) { |n| "Project Token_#{n}" }
sequence(:id) {|n| n}
factory :runner do
private_token
user_id 1
name... | 23.101266 | 59 | 0.69589 |
ed6840a097a60247cdc6981d7b17b5b1e3e38059 | 388 | h | C | plugin_III/game_III/CQueuedMode.h | Aleksandr-Belousov/plugin-sdk | 5ca5f7d5575ae4138a4f165410a1acf0ae922260 | [
"Zlib"
] | 3 | 2020-01-25T18:54:05.000Z | 2022-03-23T09:27:09.000Z | plugin_III/game_III/CQueuedMode.h | Kewun0/plugin-sdk-master | 561188779aaa4946ba4ab8ac3e044f2044261e4b | [
"Zlib"
] | null | null | null | plugin_III/game_III/CQueuedMode.h | Kewun0/plugin-sdk-master | 561188779aaa4946ba4ab8ac3e044f2044261e4b | [
"Zlib"
] | 3 | 2020-10-03T21:34:05.000Z | 2020-12-19T01:52:38.000Z | /*
Plugin-SDK (Grand Theft Auto 3) header file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#pragma once
#include "PluginBase.h"
struct CQueuedMode {
short Mode;
//short _pad2;
float Duration;
sho... | 19.4 | 59 | 0.685567 |
ccae221a3881b2e84176822afdead6a450171793 | 898 | swift | Swift | O3/TokenSale/TokenSaleTransactionInfoTableViewCell.swift | XuLiCC/OzoneWalletIOS | 7fe06bda30447c0562b8ef86d26dabe68ec3e792 | [
"MIT"
] | 42 | 2017-10-03T12:25:09.000Z | 2021-12-12T13:44:55.000Z | O3/TokenSale/TokenSaleTransactionInfoTableViewCell.swift | XuLiCC/OzoneWalletIOS | 7fe06bda30447c0562b8ef86d26dabe68ec3e792 | [
"MIT"
] | 42 | 2017-10-03T14:06:43.000Z | 2018-07-20T10:38:17.000Z | O3/TokenSale/TokenSaleTransactionInfoTableViewCell.swift | XuLiCC/OzoneWalletIOS | 7fe06bda30447c0562b8ef86d26dabe68ec3e792 | [
"MIT"
] | 17 | 2017-10-03T12:25:12.000Z | 2019-03-22T18:32:16.000Z | //
// TokenSaleTransactionInfoTableViewCell.swift
// O3
//
// Created by Apisit Toompakdee on 4/18/18.
// Copyright © 2018 drei. All rights reserved.
//
import UIKit
class TokenSaleTransactionInfoTableViewCell: UITableViewCell {
@IBOutlet var titleLabel: UILabel?
@IBOutlet var ValueLabel: UILabel?
s... | 24.944444 | 67 | 0.682628 |
8bfec23cb84d4ca7cd88c802baf664132c0e43ae | 1,733 | dart | Dart | example/lib/main.dart | Flutter-Italia-Developers/blur_matrix | a3e9ab786df31cb1b556d9fc6b0348b30869f3f5 | [
"BSD-2-Clause"
] | null | null | null | example/lib/main.dart | Flutter-Italia-Developers/blur_matrix | a3e9ab786df31cb1b556d9fc6b0348b30869f3f5 | [
"BSD-2-Clause"
] | null | null | null | example/lib/main.dart | Flutter-Italia-Developers/blur_matrix | a3e9ab786df31cb1b556d9fc6b0348b30869f3f5 | [
"BSD-2-Clause"
] | 1 | 2021-08-24T12:16:53.000Z | 2021-08-24T12:16:53.000Z | import 'package:blur_matrix/blur_matrix.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.... | 25.115942 | 79 | 0.59146 |
1ac47212b5a75667e8e9d4465b33f575516e2836 | 841 | py | Python | benchmark/paddle/image/provider.py | OleNet/Paddle | 59271d643b13b13346889d12355611b9a2ce4e31 | [
"Apache-2.0"
] | 1 | 2016-10-07T20:40:11.000Z | 2016-10-07T20:40:11.000Z | benchmark/paddle/image/provider.py | anuranrc/Paddle | 21fa3eb0688459d3b71141d316e8358d31882b8d | [
"Apache-2.0"
] | 1 | 2017-05-26T18:33:00.000Z | 2017-05-26T18:33:00.000Z | benchmark/paddle/image/provider.py | anuranrc/Paddle | 21fa3eb0688459d3b71141d316e8358d31882b8d | [
"Apache-2.0"
] | 1 | 2016-10-07T00:50:53.000Z | 2016-10-07T00:50:53.000Z | import io, os
import random
import numpy as np
from paddle.trainer.PyDataProvider2 import *
def initHook(settings, height, width, color, num_class, **kwargs):
settings.height = height
settings.width = width
settings.color = color
settings.num_class = num_class
if settings.color:
settings.d... | 31.148148 | 76 | 0.706302 |
91d9d393bf6900dd738177a9ef4eea33fca2afc1 | 113 | sql | SQL | users.sql | dineshredhat/terraform-mysql-azure | 296517fa430981bd1912d8ad0b281dc1141305b4 | [
"MIT"
] | null | null | null | users.sql | dineshredhat/terraform-mysql-azure | 296517fa430981bd1912d8ad0b281dc1141305b4 | [
"MIT"
] | null | null | null | users.sql | dineshredhat/terraform-mysql-azure | 296517fa430981bd1912d8ad0b281dc1141305b4 | [
"MIT"
] | null | null | null |
CREATE DATABASE books;
USE books;
CREATE TABLE authors (id INT, name VARCHAR(20), email VARCHAR(20));
| 14.125 | 68 | 0.681416 |
5a82b21e4759e4bd1aea7f243bccabdd79060c23 | 399 | kt | Kotlin | protocol/src/commonMain/kotlin/com/sourceplusplus/protocol/artifact/trace/TraceOrderType.kt | chess-equality/SourceMarker-Alpha | 7c157711d11b4836d38209daf32d4ee3b3d831de | [
"Apache-2.0"
] | null | null | null | protocol/src/commonMain/kotlin/com/sourceplusplus/protocol/artifact/trace/TraceOrderType.kt | chess-equality/SourceMarker-Alpha | 7c157711d11b4836d38209daf32d4ee3b3d831de | [
"Apache-2.0"
] | null | null | null | protocol/src/commonMain/kotlin/com/sourceplusplus/protocol/artifact/trace/TraceOrderType.kt | chess-equality/SourceMarker-Alpha | 7c157711d11b4836d38209daf32d4ee3b3d831de | [
"Apache-2.0"
] | null | null | null | package com.sourceplusplus.protocol.artifact.trace
/**
* todo: description.
*
* @since 0.0.1
* @author [Brandon Fergerson](mailto:bfergerson@apache.org)
*/
enum class TraceOrderType {
LATEST_TRACES,
SLOWEST_TRACES,
FAILED_TRACES;
//todo: not need to replace _TRACES?
val id = name.replace("_TR... | 22.166667 | 60 | 0.691729 |
cdd9fc41c617cfd895dc1c7851cd576fea8b6fd5 | 39,720 | cs | C# | Assets/Scripts/Generate/UnityEngine_Networking_UnityWebRequestWrap.cs | mx5566/ColaFrameWork | cc2b98112a280f9244002453175f39ba40cf0d19 | [
"MIT"
] | null | null | null | Assets/Scripts/Generate/UnityEngine_Networking_UnityWebRequestWrap.cs | mx5566/ColaFrameWork | cc2b98112a280f9244002453175f39ba40cf0d19 | [
"MIT"
] | null | null | null | Assets/Scripts/Generate/UnityEngine_Networking_UnityWebRequestWrap.cs | mx5566/ColaFrameWork | cc2b98112a280f9244002453175f39ba40cf0d19 | [
"MIT"
] | null | null | null | //this source code was auto-generated by tolua#, do not modify it
using System;
using LuaInterface;
public class UnityEngine_Networking_UnityWebRequestWrap
{
public static void Register(LuaState L)
{
L.BeginClass(typeof(UnityEngine.Networking.UnityWebRequest), typeof(System.Object));
L.RegFunction("ClearCookieC... | 29.248895 | 278 | 0.717649 |
cd451447fc3d8f8c4a199faf28913daa4b825a3a | 32,839 | cs | C# | MedicationMngAPI/App_Code/Service.cs | johphil/MedicationMngApp | 6e2fc996d60d1a2fcfb17aaf260b90636b25ec3f | [
"MIT"
] | null | null | null | MedicationMngAPI/App_Code/Service.cs | johphil/MedicationMngApp | 6e2fc996d60d1a2fcfb17aaf260b90636b25ec3f | [
"MIT"
] | 1 | 2021-06-12T01:45:45.000Z | 2021-06-12T01:49:06.000Z | MedicationMngAPI/App_Code/Service.cs | johphil/MedicationMngApp | 6e2fc996d60d1a2fcfb17aaf260b90636b25ec3f | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Globalization;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
using System.Tex... | 43.152431 | 183 | 0.506806 |
1451710f3d68139efd5e249cca7279f748b0b197 | 549 | ts | TypeScript | src/config/index.ts | crysfel/cc-rest-api | fd12e4989a491e092da95087bc470706628fb8c9 | [
"MIT"
] | null | null | null | src/config/index.ts | crysfel/cc-rest-api | fd12e4989a491e092da95087bc470706628fb8c9 | [
"MIT"
] | 4 | 2020-09-04T21:54:34.000Z | 2022-02-12T10:30:34.000Z | src/config/index.ts | crysfel/cc-rest-api | fd12e4989a491e092da95087bc470706628fb8c9 | [
"MIT"
] | null | null | null |
const config = {
mongo: {
url: process.env.MONGO_DATABASE_URL,
},
auth0: {
// to decode the token
frontend: {
CLIENT_ID: process.env.AUTH0_FRONTEND_CLIENT_ID,
CLIENT_SECRET: process.env.AUTH0_FRONTEND_CLIENT_SECRET,
DOMAIN: process.env.AUTH0_DOMAIN,
},
// To get access to au... | 23.869565 | 62 | 0.68306 |
69f514fed791511d6050b8ba56b4033ad51c72da | 6,649 | sh | Shell | dockerfiles/zoneminder/files/zmlinkcontent.sh | hyperbolic2346/coreos | 00509cb185c957ff93a944a92b2ff9201652234d | [
"MIT"
] | null | null | null | dockerfiles/zoneminder/files/zmlinkcontent.sh | hyperbolic2346/coreos | 00509cb185c957ff93a944a92b2ff9201652234d | [
"MIT"
] | null | null | null | dockerfiles/zoneminder/files/zmlinkcontent.sh | hyperbolic2346/coreos | 00509cb185c957ff93a944a92b2ff9201652234d | [
"MIT"
] | null | null | null | #!/bin/bash
# The purpose of this file is to create the symlinks in the web folder to the content folder. It can use an existing content folder or create a new one.
# Set the content dir default to be the one supplied to cmake
ZM_PATH_CONTENT="/var/lib/zoneminder"
echo "*** This bash script creates the nessecary syml... | 24.902622 | 152 | 0.665514 |
0ad3978a93caa0fcaf9243ef71ddef6f9384515e | 1,950 | cpp | C++ | d3d12/ScreenContext.cpp | hal1932/d3d12 | 7b52d9fab7ca0e50b820901562da427f9ef43bbf | [
"MIT"
] | 1 | 2021-06-18T19:25:38.000Z | 2021-06-18T19:25:38.000Z | d3d12/ScreenContext.cpp | hal1932/d3d12 | 7b52d9fab7ca0e50b820901562da427f9ef43bbf | [
"MIT"
] | null | null | null | d3d12/ScreenContext.cpp | hal1932/d3d12 | 7b52d9fab7ca0e50b820901562da427f9ef43bbf | [
"MIT"
] | null | null | null | #include "ScreenContext.h"
#include "common.h"
#include "Device.h"
#include "CommandQueue.h"
#include <wrl.h>
using Microsoft::WRL::ComPtr;
ScreenContext::~ScreenContext()
{
Reset();
}
void ScreenContext::Create(Device* pDevice, CommandQueue* pCommandQueue, const ScreenContextDesc& desc)
{
DXGI_SWAP_CHAIN_DESC ra... | 24.683544 | 104 | 0.774872 |
9d9bbee628b923cbc17cdd90015061e9c383438a | 4,409 | rs | Rust | src/load.rs | woojinnn/RMI | 85389f6dbc434f81ca7df964c4cd9bd049397c1e | [
"MIT"
] | 134 | 2019-12-02T13:57:25.000Z | 2022-03-31T07:28:23.000Z | src/load.rs | woojinnn/RMI | 85389f6dbc434f81ca7df964c4cd9bd049397c1e | [
"MIT"
] | 7 | 2020-02-27T19:41:05.000Z | 2021-07-13T07:06:36.000Z | src/load.rs | woojinnn/RMI | 85389f6dbc434f81ca7df964c4cd9bd049397c1e | [
"MIT"
] | 27 | 2019-12-28T17:13:18.000Z | 2022-03-22T09:27:40.000Z | // < begin copyright >
// Copyright Ryan Marcus 2020
//
// See root directory of this project for license terms.
//
// < end copyright >
use memmap::MmapOptions;
use rmi_lib::{RMITrainingData, RMITrainingDataIteratorProvider, KeyType};
use byteorder::{LittleEndian, ReadBytesExt};
use std::fs::File;
use std::con... | 27.905063 | 81 | 0.551145 |
4484a81588eb87439b6eac76283279795fdffd65 | 3,914 | py | Python | board/views/user.py | DPS0340/DjangoCRUDBoard | 0211e6aeb05c2e20af4f39a61744188eb5490534 | [
"MIT"
] | 14 | 2020-12-28T08:56:18.000Z | 2022-03-16T18:04:02.000Z | board/views/user.py | DPS0340/DjangoCRUDBoard | 0211e6aeb05c2e20af4f39a61744188eb5490534 | [
"MIT"
] | 27 | 2020-12-28T10:51:04.000Z | 2021-03-12T10:11:33.000Z | board/views/user.py | DPS0340/DjangoCRUDBoard | 0211e6aeb05c2e20af4f39a61744188eb5490534 | [
"MIT"
] | 7 | 2020-12-28T06:28:05.000Z | 2021-03-03T23:47:34.000Z | from ..responses import *
from ..utils import send_json, pop_args, byte_to_dict, get_user
from django.contrib.auth.models import User as Default_User
from ..models import User
from django.contrib.auth.hashers import make_password
from django.views import View
import sys
sys.path.append("../../")
import json
from Django... | 43.488889 | 137 | 0.642054 |
0742edbf60c178dd1c1d3d7b4ab6f17980fc34f7 | 4,735 | hpp | C++ | vif/vifIndex.hpp | thorfdbg/ssim | 7d9d1b3c2b8e4338d8cec34088d948025c23e559 | [
"Zlib"
] | 9 | 2017-04-13T19:18:03.000Z | 2021-01-21T15:29:48.000Z | vif/vifIndex.hpp | thorfdbg/ssim | 7d9d1b3c2b8e4338d8cec34088d948025c23e559 | [
"Zlib"
] | 1 | 2019-11-25T12:58:01.000Z | 2019-12-05T18:15:55.000Z | vif/vifIndex.hpp | thorfdbg/ssim | 7d9d1b3c2b8e4338d8cec34088d948025c23e559 | [
"Zlib"
] | 1 | 2017-12-31T06:57:00.000Z | 2017-12-31T06:57:00.000Z | /************************************************************************************
** Copyright (C) 2005-2007 TU Berlin, Felix Oum, Thomas Richter **
** **
** This software is provided 'as-is', without any express or... | 39.132231 | 106 | 0.56114 |
c459882e7b80214d0930a4a7dea9843803f5011d | 6,872 | hpp | C++ | examples/select/select.hpp | stevenybw/thrill | a2dc05035f4e24f64af0a22b60155e80843a5ba9 | [
"BSD-2-Clause"
] | 609 | 2015-08-27T11:09:24.000Z | 2022-03-28T21:34:05.000Z | examples/select/select.hpp | tim3z/thrill | f0e5aa2326a55af3c9a92fc418f8eb8e3cf8c5fa | [
"BSD-2-Clause"
] | 109 | 2015-09-10T21:34:42.000Z | 2022-02-15T14:46:26.000Z | examples/select/select.hpp | tim3z/thrill | f0e5aa2326a55af3c9a92fc418f8eb8e3cf8c5fa | [
"BSD-2-Clause"
] | 114 | 2015-08-27T14:54:13.000Z | 2021-12-08T07:28:35.000Z | /*******************************************************************************
* examples/select/select.hpp
*
* Part of Project Thrill - http://project-thrill.org
*
* Copyright (C) 2016 Lorenz Hübschle-Schneider <lorenz@4z2.de>
*
* All rights reserved. Published under the BSD-2 license in the LICENSE file.
**... | 34.532663 | 80 | 0.565192 |
de581a2806966955cb8231b870616831ea68ba16 | 2,183 | swift | Swift | 0025. Reverse Nodes in k-Group.swift | sergeyleschev/leetcode-swift | b73b8fa61a14849e48fb38e27e51ea6c12817d64 | [
"MIT"
] | 10 | 2021-05-16T07:19:41.000Z | 2021-08-02T19:02:00.000Z | 0025. Reverse Nodes in k-Group.swift | sergeyleschev/leetcode-swift | b73b8fa61a14849e48fb38e27e51ea6c12817d64 | [
"MIT"
] | null | null | null | 0025. Reverse Nodes in k-Group.swift | sergeyleschev/leetcode-swift | b73b8fa61a14849e48fb38e27e51ea6c12817d64 | [
"MIT"
] | 1 | 2021-08-18T05:33:00.000Z | 2021-08-18T05:33:00.000Z | /**
* Definition for singly-linked list.
* public class ListNode {
* public var val: Int
* public var next: ListNode?
* public init() { self.val = 0; self.next = nil; }
* public init(_ val: Int) { self.val = val; self.next = nil; }
* public init(_ val: Int, _ next: ListNode?) { self.val = val... | 31.185714 | 193 | 0.505268 |
da769cd019d1c67883ad2aed4c400f1496252368 | 5,548 | php | PHP | resources/views/project/add_project.blade.php | moutaz-althwabteh/HassanHome_ | a0896efb263854a48938eb60ffce5a809bf1f350 | [
"MIT"
] | null | null | null | resources/views/project/add_project.blade.php | moutaz-althwabteh/HassanHome_ | a0896efb263854a48938eb60ffce5a809bf1f350 | [
"MIT"
] | null | null | null | resources/views/project/add_project.blade.php | moutaz-althwabteh/HassanHome_ | a0896efb263854a48938eb60ffce5a809bf1f350 | [
"MIT"
] | null | null | null | @extends('project.layouts')
@section('content')
<div class="row" >
<div class="col-md-12">
<div class="portlet box blue ">
<div class="portlet-title">
<div class="caption">
<i class="fa fa-gift"></i> اضافة بيانات المشروع </div>
... | 66.047619 | 193 | 0.459084 |
a4ab72794e7b6de74c0e12bfbdd40f647bd98f6a | 584 | php | PHP | app/Http/Controllers/User/AuthController.php | master-raihan/profiler-backend-final | aeea20d843bc0dea7914048b61dff77af0fe68f3 | [
"MIT"
] | null | null | null | app/Http/Controllers/User/AuthController.php | master-raihan/profiler-backend-final | aeea20d843bc0dea7914048b61dff77af0fe68f3 | [
"MIT"
] | null | null | null | app/Http/Controllers/User/AuthController.php | master-raihan/profiler-backend-final | aeea20d843bc0dea7914048b61dff77af0fe68f3 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\User;
use App\Contracts\Services\AuthContract;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class AuthController extends Controller
{
private $authService;
protected $guard = 'user';
public function __construct(AuthContract $authService)
{
... | 22.461538 | 78 | 0.69863 |
af9802bfb415c4598595c612f388f673886cfca2 | 3,737 | py | Python | essence.py | aggixx/poe_filter_unique_generator | 1359daf862115a664f66797854ab0cefbb59384e | [
"Unlicense"
] | null | null | null | essence.py | aggixx/poe_filter_unique_generator | 1359daf862115a664f66797854ab0cefbb59384e | [
"Unlicense"
] | null | null | null | essence.py | aggixx/poe_filter_unique_generator | 1359daf862115a664f66797854ab0cefbb59384e | [
"Unlicense"
] | null | null | null | import util
class EssenceGenerator:
tiers = [
{
"minValue": 12,
"soundId": 5,
"volume": 170,
"iconShape": "Circle",
"iconColor": "Red",
"iconSize": 0,
"flareColor": "Red",
"borderColor": [255, 0, 255],
},
{
"minValue": 5,
"soundId": 8,
"volume": 150,
"iconShape": "Circle",
... | 21.477011 | 115 | 0.614397 |
5db211d52454403423f764c810f79400bea39e98 | 18,794 | rs | Rust | src/data_store.rs | meldron/psoco | 8c55de2684249f5cbdeb791844e2924eea305933 | [
"MIT"
] | 3 | 2020-06-22T14:02:59.000Z | 2021-04-29T14:27:07.000Z | src/data_store.rs | meldron/psoco | 8c55de2684249f5cbdeb791844e2924eea305933 | [
"MIT"
] | 2 | 2020-07-24T13:44:36.000Z | 2021-01-12T13:59:23.000Z | src/data_store.rs | meldron/psoco | 8c55de2684249f5cbdeb791844e2924eea305933 | [
"MIT"
] | 2 | 2021-04-29T14:27:10.000Z | 2022-03-29T07:49:58.000Z | use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use prettytable::{Cell, Row};
use serde_json::{json, Value as JSONValue};
pub use crate::crypto2::*;
pub use crate::errors::*;
pub enum PsonoItemType {
Password,
Shared,
Unknown,
}
#[allow(dead_code)]
#[derive(Clone, Debug, PartialEq)]
... | 29.137984 | 100 | 0.551293 |
8ac98c88c31c94464e09ce7de200657dae3acc35 | 1,948 | ps1 | PowerShell | code/Tools/Ops/Scripts/Remove-OBAEnvironment.ps1 | microsoft/EmbeddedSocial-SyncService-for-OBA | 7f2a33959742106a6acc63b5f41329e2ae73c4c1 | [
"MIT"
] | 2 | 2020-05-09T09:32:21.000Z | 2020-09-06T18:05:07.000Z | code/Tools/Ops/Scripts/Remove-OBAEnvironment.ps1 | microsoft/EmbeddedSocial-SyncService-for-OBA | 7f2a33959742106a6acc63b5f41329e2ae73c4c1 | [
"MIT"
] | null | null | null | code/Tools/Ops/Scripts/Remove-OBAEnvironment.ps1 | microsoft/EmbeddedSocial-SyncService-for-OBA | 7f2a33959742106a6acc63b5f41329e2ae73c4c1 | [
"MIT"
] | 3 | 2020-06-30T15:45:51.000Z | 2020-08-05T14:08:39.000Z | function Remove-OBAEnvironment {
<#
.NOTES
Name: Remove-OBAEnvironment.ps1
Requires: Azure Powershell version 2.1 or higher.
.SYNOPSIS
Removes an OBA Server Azure instance.
.DESCRIPTION
Implements all logic needed to delete an instance of the OBA Server on Azure.
... | 31.934426 | 114 | 0.623203 |
20e287e88403f91746ddb97cfd1363acafca9a0d | 7,725 | py | Python | SpaceHabitRPG/Tests/JSTests/LoginJSTest.py | joelliusp/SpaceHabit | 5656ef4d9c57f3e58d0ed756a3aa754c8a7dd6a5 | [
"MIT"
] | null | null | null | SpaceHabitRPG/Tests/JSTests/LoginJSTest.py | joelliusp/SpaceHabit | 5656ef4d9c57f3e58d0ed756a3aa754c8a7dd6a5 | [
"MIT"
] | 13 | 2016-07-19T04:13:20.000Z | 2016-08-17T06:06:47.000Z | SpaceHabitRPG/Tests/JSTests/LoginJSTest.py | joelliusp/SpaceHabit | 5656ef4d9c57f3e58d0ed756a3aa754c8a7dd6a5 | [
"MIT"
] | null | null | null | from SpaceUnitTest import SpaceUnitTest
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import SpaceHabitServer
import threading
import cherrypy
import time
import requests
import AuthenticationLayer
import DatabaseL... | 35.763889 | 116 | 0.725178 |
c6edeabef1d5d2d8a8039a8f4b9cb99f0a55ea3c | 2,709 | py | Python | test.py | pren1/DD_real_time_radar | 23c40de48b43ed78f93bdc3305598cfc378a46a4 | [
"MIT"
] | 11 | 2020-04-05T18:36:59.000Z | 2021-11-25T14:58:18.000Z | test.py | pren1/DD_real_time_radar | 23c40de48b43ed78f93bdc3305598cfc378a46a4 | [
"MIT"
] | null | null | null | test.py | pren1/DD_real_time_radar | 23c40de48b43ed78f93bdc3305598cfc378a46a4 | [
"MIT"
] | null | null | null | # # import requests
# # import pprint
# # import pdb
# #
# # contents = requests.get('https://api.vtbs.moe/v1/info').json()
# # result = []
# # for single in contents:
# # if single['liveStatus'] == 1:
# # result.append(single['roomid'])
# # print(len(result))
# # pdb.set_trace()
# #
# # s1 = [21501730,1491... | 34.291139 | 103 | 0.611296 |
148c3d83899eba8c41b564337acf5f4dcbcd171e | 1,181 | ts | TypeScript | src/app/documentation/documentation.module.ts | Mainioco/forms | 4731752a64ac1caf1b78cb4522daf6e643dfd59e | [
"MIT"
] | null | null | null | src/app/documentation/documentation.module.ts | Mainioco/forms | 4731752a64ac1caf1b78cb4522daf6e643dfd59e | [
"MIT"
] | 5 | 2018-07-18T17:38:22.000Z | 2018-07-20T07:17:50.000Z | src/app/documentation/documentation.module.ts | Mainioco/forms | 4731752a64ac1caf1b78cb4522daf6e643dfd59e | [
"MIT"
] | null | null | null | import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { WelcomeComponent } from "./welcome/welcome.component";
import { MatSidenavModule, MatButtonModule } from "@angular/material";
import { NavigationComponent } from "./navigation/navigation.component";
import { RouterModule ... | 26.840909 | 76 | 0.712108 |
3c6a09392321a37182f6d042ba04838ca059a57b | 994 | dart | Dart | example/lib/components/badge_demo.dart | flutter-jp/flutter_ui | 53d9283439186ec4226ff6375ccb772a8cb437cb | [
"MIT"
] | 20 | 2019-10-29T02:39:43.000Z | 2022-03-02T08:22:50.000Z | example/lib/components/badge_demo.dart | flutter-jp/flutter_ui | 53d9283439186ec4226ff6375ccb772a8cb437cb | [
"MIT"
] | 1 | 2019-11-22T07:21:46.000Z | 2019-11-22T07:21:46.000Z | example/lib/components/badge_demo.dart | flutter-jp/flutter_ui | 53d9283439186ec4226ff6375ccb772a8cb437cb | [
"MIT"
] | 5 | 2019-11-01T11:13:56.000Z | 2020-10-07T23:51:07.000Z | import 'package:flutter/material.dart';
import 'package:flutter_ui/entity.dart';
import 'package:flutter_ui/material.dart';
class BadgeDemo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('badge'),
),
body: ... | 22.088889 | 55 | 0.532193 |
641bda3052bba4bf9941da7364723d92a8d023d3 | 1,949 | py | Python | main.py | mrinalpande/Music-Encrypt | 95e0f128232be307c844066cdf85a39097855d47 | [
"MIT"
] | 6 | 2017-08-19T21:41:57.000Z | 2022-01-15T22:25:09.000Z | main.py | mrinalpande/Music-Encrypt | 95e0f128232be307c844066cdf85a39097855d47 | [
"MIT"
] | null | null | null | main.py | mrinalpande/Music-Encrypt | 95e0f128232be307c844066cdf85a39097855d47 | [
"MIT"
] | 2 | 2017-11-28T00:18:02.000Z | 2022-01-16T06:57:42.000Z | ### Author: Mrinal Pande
### Date: Aug,15 2017
import sys
import os.path
import encrypt
import decrypt
def main():
print("---------------------------------------------------")
print("Music Encrypt - Music Based Encryption")
print("Author: Mrinal Pande")
print("----------------------------------------... | 38.215686 | 79 | 0.473063 |
b096c910a97d50c940bb7cc9f5b1a1cb0d02d539 | 11,258 | py | Python | sitegate/south_migrations/0003_auto__add_preferences__add_emailconfirmation__chg_field_invitationcode.py | imposeren/django-sitegate | f25049b5d8c6541e4775f12e3df455376669674b | [
"BSD-3-Clause"
] | null | null | null | sitegate/south_migrations/0003_auto__add_preferences__add_emailconfirmation__chg_field_invitationcode.py | imposeren/django-sitegate | f25049b5d8c6541e4775f12e3df455376669674b | [
"BSD-3-Clause"
] | null | null | null | sitegate/south_migrations/0003_auto__add_preferences__add_emailconfirmation__chg_field_invitationcode.py | imposeren/django-sitegate | f25049b5d8c6541e4775f12e3df455376669674b | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Preferences'
db.create_table('sitegate_preferences', (
... | 75.053333 | 193 | 0.593978 |
74d48fe17c33860326858daace0ddf131c3bb43c | 329 | css | CSS | public/css/products.css | zqxhhh/item_one | a645535a58fb8dd768c3b71fe9366decc1b8b029 | [
"MIT"
] | null | null | null | public/css/products.css | zqxhhh/item_one | a645535a58fb8dd768c3b71fe9366decc1b8b029 | [
"MIT"
] | null | null | null | public/css/products.css | zqxhhh/item_one | a645535a58fb8dd768c3b71fe9366decc1b8b029 | [
"MIT"
] | null | null | null |
#top_img img{width:100%;}
#products{background:#212121}
.products::before{content: "";display: table;}
.products_ul{border:0;margin:20px 0;}
.nav-item{border:0;}
.page_ul{width:20%;margin:20px auto;}
.page_ul li{margin: 0 5px;}
.page_ul li a{border-radius: 2PX;color:#fff !important;background:#666 !important;border... | 19.352941 | 92 | 0.717325 |
b71238fe90d5bf983e82cf2e31424a232d3b3126 | 857 | cs | C# | lab/SeedingWeedingOutAndDestroyingStartup/NSeed.xUnit/UseSeedingStartupAttribute.cs | nseedio/nseed | 3312c8dcf04bdc7033d8e1b8a6c871447a911aaa | [
"MIT"
] | 1 | 2020-12-04T13:13:23.000Z | 2020-12-04T13:13:23.000Z | lab/SeedingWeedingOutAndDestroyingStartup/NSeed.xUnit/UseSeedingStartupAttribute.cs | nseedio/nseed | 3312c8dcf04bdc7033d8e1b8a6c871447a911aaa | [
"MIT"
] | 5 | 2019-08-20T20:12:56.000Z | 2020-04-09T20:13:27.000Z | lab/SeedingWeedingOutAndDestroyingStartup/NSeed.xUnit/UseSeedingStartupAttribute.cs | nseedio/nseed | 3312c8dcf04bdc7033d8e1b8a6c871447a911aaa | [
"MIT"
] | null | null | null | using NSeed.Discovery.SeedBucket.ReflectionBased;
using NSeed.Seeding;
using System;
using System.Linq;
using System.Reflection;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace NSeed.Xunit
{
/// <summary>
/// TODO.
/// </summary>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | A... | 29.551724 | 139 | 0.681447 |
dd5afa31420e09bd76bb47be1f4385ec670d40b4 | 1,747 | java | Java | test/src/main/java/lk/exame/test/dao/QuestionDAO.java | TharakaCz/Mock-Exame-Final | b0ed54d904d38abe84f3d62c2add4b4c2591d2d1 | [
"MIT"
] | null | null | null | test/src/main/java/lk/exame/test/dao/QuestionDAO.java | TharakaCz/Mock-Exame-Final | b0ed54d904d38abe84f3d62c2add4b4c2591d2d1 | [
"MIT"
] | null | null | null | test/src/main/java/lk/exame/test/dao/QuestionDAO.java | TharakaCz/Mock-Exame-Final | b0ed54d904d38abe84f3d62c2add4b4c2591d2d1 | [
"MIT"
] | null | null | null | package lk.exame.test.dao;
import java.util.ArrayList;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import lk.exame.test.entity.LanguageEntity;
import lk.exame.test.entity.QuestionEntity;
import lk.exame.test.entity.SubjectEntity;
/**
*
* @author Tharaka Chandralal
*/
pu... | 40.627907 | 235 | 0.847739 |
93fa665b08fcf055f07d071d5c5edf09546508b8 | 5,951 | cs | C# | Eliza.UI/Forms/FurnitureDataForm.cs | adiktus/Eliza | 7c5040c28c738a39692e36e95fdc80afa97662ac | [
"MIT"
] | 4 | 2021-07-04T02:49:15.000Z | 2022-03-31T12:09:55.000Z | Eliza.UI/Forms/FurnitureDataForm.cs | adiktus/Eliza | 7c5040c28c738a39692e36e95fdc80afa97662ac | [
"MIT"
] | 7 | 2021-06-27T15:28:10.000Z | 2022-03-29T05:13:37.000Z | Eliza.UI/Forms/FurnitureDataForm.cs | adiktus/Eliza | 7c5040c28c738a39692e36e95fdc80afa97662ac | [
"MIT"
] | 2 | 2022-03-23T19:56:37.000Z | 2022-03-27T12:41:38.000Z | using Eliza.Model.SaveData;
using Eliza.UI.Helpers;
using Eliza.UI.Widgets;
using Eto.Forms;
using System;
namespace Eliza.UI.Forms
{
internal class FurnitureDataForm : Form
{
public FurnitureDataForm(RF5FurnitureData furnitureData)
{
Title = "Furniture Data";
var unk1... | 51.301724 | 217 | 0.568644 |
385c0b2d09a16f8a7297543884539b07cfaea458 | 1,388 | cs | C# | src/Gemini.Demo.MonoGame/Modules/SceneViewer/ViewModels/SceneViewModel.cs | KornnerStudios/gemini | a3dbb43f14e860b4f9ae86a59523b288646b961d | [
"MS-PL"
] | 11 | 2020-01-05T19:54:13.000Z | 2022-01-22T21:00:13.000Z | src/Gemini.Demo.MonoGame/Modules/SceneViewer/ViewModels/SceneViewModel.cs | KornnerStudios/gemini | a3dbb43f14e860b4f9ae86a59523b288646b961d | [
"MS-PL"
] | 12 | 2019-06-29T17:18:33.000Z | 2019-09-12T03:07:27.000Z | src/Gemini.Demo.MonoGame/Modules/SceneViewer/ViewModels/SceneViewModel.cs | KornnerStudios/gemini | a3dbb43f14e860b4f9ae86a59523b288646b961d | [
"MS-PL"
] | 4 | 2019-10-21T21:30:36.000Z | 2022-02-28T04:08:44.000Z | using System;
using System.ComponentModel.Composition;
using Gemini.Demo.MonoGame.Modules.SceneViewer.Views;
using Gemini.Framework;
using Microsoft.Xna.Framework;
namespace Gemini.Demo.MonoGame.Modules.SceneViewer.ViewModels
{
[Export(typeof(SceneViewModel))]
[PartCreationPolicy(CreationPolicy.NonShared)]
p... | 24.350877 | 61 | 0.548271 |
6654587d82f9297e39fe40639e90ccff599a025c | 1,873 | py | Python | dungeon_game/decorators.py | erem2k/dungeon_game | 02659aa03237c48867c126fedfa123133ff6edbf | [
"MIT"
] | null | null | null | dungeon_game/decorators.py | erem2k/dungeon_game | 02659aa03237c48867c126fedfa123133ff6edbf | [
"MIT"
] | null | null | null | dungeon_game/decorators.py | erem2k/dungeon_game | 02659aa03237c48867c126fedfa123133ff6edbf | [
"MIT"
] | null | null | null | """
This module lists decorators for task 6.1 from Coding Campus 2018 Python course
(Dungeon Game)
"""
import logging
import inspect
import functools
import dungeon_game.log as log
import dungeon_game.config as config
logger = logging.getLogger(log.LOGGER_NAME)
def log_decorator(func):
"""
D... | 24.973333 | 83 | 0.625734 |
f5bf170c8fc612cd5fb3cf94fe96ff97bbfad61d | 1,478 | go | Go | rest/model/conversions.go | xdg-forks/evergreen | 012cd09d902cf600cf04929949b50be2732f449a | [
"Apache-2.0"
] | null | null | null | rest/model/conversions.go | xdg-forks/evergreen | 012cd09d902cf600cf04929949b50be2732f449a | [
"Apache-2.0"
] | null | null | null | rest/model/conversions.go | xdg-forks/evergreen | 012cd09d902cf600cf04929949b50be2732f449a | [
"Apache-2.0"
] | null | null | null | package model
import (
"go/types"
"github.com/pkg/errors"
)
type convertType string
func stringToString(in string) string {
return in
}
func stringToStringPtr(in string) *string {
return &in
}
func stringPtrToString(in *string) string {
if in == nil {
return ""
}
return *in
}
func stringPtrToStringPtr(i... | 17.388235 | 77 | 0.668471 |
bb6552d8345f0f052bd23876c0ce27c3e686b9a7 | 8,573 | cs | C# | src/ComService/Boudaries/Controllers/NewsController.cs | chumano/nextone | 7a387d7b96c7c33aa69f97be1a76ec51496c9c3c | [
"Apache-2.0"
] | null | null | null | src/ComService/Boudaries/Controllers/NewsController.cs | chumano/nextone | 7a387d7b96c7c33aa69f97be1a76ec51496c9c3c | [
"Apache-2.0"
] | null | null | null | src/ComService/Boudaries/Controllers/NewsController.cs | chumano/nextone | 7a387d7b96c7c33aa69f97be1a76ec51496c9c3c | [
"Apache-2.0"
] | null | null | null | using ComService.Domain;
using ComService.DTOs;
using ComService.DTOs.News;
using ComService.Infrastructure;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using NextOne.Infrastructure.Core;
using NextOne.Shared.Common;
us... | 33.751969 | 96 | 0.546483 |
391d2cf9d275c1adf7a44809f6d0704aa6600f81 | 1,858 | py | Python | mcpython/client/state/WorldListRenderer.py | mcpython4-coding/core | e4c4f59dab68c90e2028db3add2e5065116bf4a6 | [
"CC0-1.0",
"MIT"
] | 2 | 2019-11-02T05:26:11.000Z | 2019-11-03T08:52:18.000Z | mcpython/client/state/WorldListRenderer.py | mcpython4-coding/core | e4c4f59dab68c90e2028db3add2e5065116bf4a6 | [
"CC0-1.0",
"MIT"
] | 25 | 2019-11-02T05:24:29.000Z | 2022-02-09T14:09:08.000Z | mcpython/client/state/WorldListRenderer.py | mcpython4-coding/core | 8698efe93f5a25421bfa508d769d8fdc8e9ce24c | [
"CC0-1.0",
"MIT"
] | 5 | 2019-11-09T05:36:06.000Z | 2021-11-28T13:07:08.000Z | """
mcpython - a minecraft clone written in python licenced under the MIT-licence
(https://github.com/mcpython4-coding/core)
Contributors: uuk, xkcdjerry (inactive)
Based on the game of fogleman (https://github.com/fogleman/Minecraft), licenced under the MIT-licence
Original game "minecraft" by Mojang Studios (www.m... | 42.227273 | 103 | 0.631862 |
0d8a122507d0306c418c2a6a2560e5c1619e6adf | 149 | rb | Ruby | spec/factories/addresses.rb | janicelaset/daycare_hub | a2b75601ba451105c7b49c466d5c84bcc991b4d4 | [
"MIT",
"Unlicense"
] | 2 | 2015-11-16T00:00:05.000Z | 2017-04-28T04:39:06.000Z | spec/factories/addresses.rb | janicelaset/daycare_hub | a2b75601ba451105c7b49c466d5c84bcc991b4d4 | [
"MIT",
"Unlicense"
] | null | null | null | spec/factories/addresses.rb | janicelaset/daycare_hub | a2b75601ba451105c7b49c466d5c84bcc991b4d4 | [
"MIT",
"Unlicense"
] | null | null | null | FactoryGirl.define do
factory :address do
street '1800 SW Farmington Rd'
city 'Aloha'
state 'OR'
zip '97007'
daycare
end
end
| 14.9 | 34 | 0.644295 |
f4d6fa442cdba485eb94300a68334d45c748bed1 | 487 | lua | Lua | examples/coclinet.lua | LuaDist-testing/lluv-ssl | 10d94d0769a0a06de6f5e0e9e64251a99f6272cf | [
"MIT"
] | 7 | 2015-02-26T14:32:35.000Z | 2020-05-01T13:58:37.000Z | examples/coclinet.lua | LuaDist-testing/lluv-ssl | 10d94d0769a0a06de6f5e0e9e64251a99f6272cf | [
"MIT"
] | 2 | 2015-07-17T03:10:14.000Z | 2015-07-17T12:11:18.000Z | examples/coclinet.lua | LuaDist-testing/lluv-ssl | 10d94d0769a0a06de6f5e0e9e64251a99f6272cf | [
"MIT"
] | 4 | 2015-03-12T08:47:07.000Z | 2020-03-04T03:55:42.000Z | local uv = require "lluv"
local ut = require "lluv.utils"
local ssl = require "lluv.ssl"
local socket = require "lluv.ssl.luasocket"
local config = require "./config"
local ctx = assert(ssl.context(config))
ut.corun(function()
while true do
local cli = socket.ssl(ctx)
local ok, err = cli:connect(... | 21.173913 | 50 | 0.62423 |
cd5025f37eba7ec5b4a55f9f49529b1a6f694b6c | 5,945 | cs | C# | src/Backup/DbLinq/Util/IDataRecordExtensions.cs | RWooters/dblinq2007 | 97e1fce9260e1ee6198c01e4ddae6f393fef553c | [
"MIT"
] | null | null | null | src/Backup/DbLinq/Util/IDataRecordExtensions.cs | RWooters/dblinq2007 | 97e1fce9260e1ee6198c01e4ddae6f393fef553c | [
"MIT"
] | null | null | null | src/Backup/DbLinq/Util/IDataRecordExtensions.cs | RWooters/dblinq2007 | 97e1fce9260e1ee6198c01e4ddae6f393fef553c | [
"MIT"
] | 1 | 2018-09-30T23:46:57.000Z | 2018-09-30T23:46:57.000Z | #region MIT license
//
// MIT license
//
// Copyright (c) 2007-2008 Jiri Moudry, Pascal Craponne
//
// 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... | 36.030303 | 102 | 0.61312 |
142353b4f8fbe6fd093a5733f334bb6daba286a4 | 1,582 | ts | TypeScript | src/server/Config.ts | nuggxyz/dotnugg-vscode | 3f051012fc199b06cbb019b11365585a58e43489 | [
"MIT"
] | null | null | null | src/server/Config.ts | nuggxyz/dotnugg-vscode | 3f051012fc199b06cbb019b11365585a58e43489 | [
"MIT"
] | null | null | null | src/server/Config.ts | nuggxyz/dotnugg-vscode | 3f051012fc199b06cbb019b11365585a58e43489 | [
"MIT"
] | null | null | null | import fs from 'fs';
import { dotnugg } from '@nuggxyz/dotnugg-sdk';
import { Collection } from '@nuggxyz/dotnugg-sdk/dist/builder/types/TransformTypes';
export class Config {
public static readonly EMPTY_CONFIG = { rules: {} };
private static ideRules: any;
private static fileConfig: any;
private st... | 29.849057 | 92 | 0.6378 |
972a03a77087896128d4a59905dc0fd46482923a | 464 | rb | Ruby | lib/patterns/collection.rb | caglarcakar/pattern | d683c4b8dbdf650f21793eaec00837e64718614c | [
"MIT"
] | 529 | 2017-04-12T19:55:07.000Z | 2022-03-28T01:34:39.000Z | lib/patterns/collection.rb | caglarcakar/pattern | d683c4b8dbdf650f21793eaec00837e64718614c | [
"MIT"
] | 17 | 2017-05-16T13:18:06.000Z | 2021-12-10T07:40:37.000Z | lib/patterns/collection.rb | caglarcakar/pattern | d683c4b8dbdf650f21793eaec00837e64718614c | [
"MIT"
] | 32 | 2017-12-26T13:26:07.000Z | 2022-03-25T04:33:44.000Z | module Patterns
class Collection
include Enumerable
def initialize(*args)
@options = args.extract_options!
@subject = args.first
end
def each
collection.each do |*args|
yield(*args)
end
end
class << self
alias from new
alias for new
end
p... | 15.466667 | 62 | 0.618534 |
ca19f658881b7cb49520fb3d3f718957531f5f5d | 684 | sql | SQL | paprika-db/mysql/create/paprika/ddl/tab/chunks.sql | thunder-/paprika | af262407ec9c195dbb5a7c205510e6ad2fb65f36 | [
"MIT"
] | null | null | null | paprika-db/mysql/create/paprika/ddl/tab/chunks.sql | thunder-/paprika | af262407ec9c195dbb5a7c205510e6ad2fb65f36 | [
"MIT"
] | null | null | null | paprika-db/mysql/create/paprika/ddl/tab/chunks.sql | thunder-/paprika | af262407ec9c195dbb5a7c205510e6ad2fb65f36 | [
"MIT"
] | null | null | null | CREATE TABLE chunks
(
id int(11) NOT NULL AUTO_INCREMENT primary key,
job_name varchar(255),
pcs_id int(11),
state varchar(50),
datasource varchar(255),
tablename varchar(255),
selector varchar(4000),
options varchar(4000),... | 31.090909 | 64 | 0.532164 |
a10c301c4c7d72d4051b3ec9372009c562c730cc | 514 | lua | Lua | averages/ma_tma.lua | eortigoza5/quadcodescript-library | 6cc36e6292d47d85a584f24b482db16929351a81 | [
"Apache-2.0"
] | 13 | 2021-06-23T12:04:56.000Z | 2022-03-18T12:33:20.000Z | averages/ma_tma.lua | eortigoza5/quadcodescript-library | 6cc36e6292d47d85a584f24b482db16929351a81 | [
"Apache-2.0"
] | 3 | 2021-06-14T08:45:04.000Z | 2022-01-18T07:38:19.000Z | averages/ma_tma.lua | eortigoza5/quadcodescript-library | 6cc36e6292d47d85a584f24b482db16929351a81 | [
"Apache-2.0"
] | 17 | 2021-06-09T21:21:43.000Z | 2022-03-27T13:30:43.000Z | instrument { name = "Triangular Moving Average", short_name = "TMA", overlay = true, icon="indicators:MA" }
period = input (10, "front.period", input.integer, 1)
source = input (1, "front.ind.source", input.string_selection, inputs.titles_overlay)
input_group {
"front.ind.dpo.generalline",
color = input { def... | 34.266667 | 107 | 0.690661 |
6684f996e2070367ccc0c2285b2e4aea467da08b | 1,407 | css | CSS | src/presentational/Landing/Landing.css | varnebla/codeval-frontend | f86316c6bade2508e487bfdfa8cb83f4ec9f9faa | [
"MIT"
] | null | null | null | src/presentational/Landing/Landing.css | varnebla/codeval-frontend | f86316c6bade2508e487bfdfa8cb83f4ec9f9faa | [
"MIT"
] | null | null | null | src/presentational/Landing/Landing.css | varnebla/codeval-frontend | f86316c6bade2508e487bfdfa8cb83f4ec9f9faa | [
"MIT"
] | null | null | null | .landing-navbar{
background-color:black;
}
.navbar-logo{
color: white !important;
}
.introduction-container{
top:0;
left:0;
position: fixed;
padding-top:55px;
height:100vh;
width:100vw;
}
.introduction-background{
height: 100%;
width: 100%;
background-color:white;
display: flex;
justify-conten... | 17.810127 | 58 | 0.67022 |
239ba439788cf9c6ea58ec813b96ecdb2e4c1494 | 1,969 | js | JavaScript | server/middleware/tracing.js | NoeSamaille/inventory-management-ui-solution | 9cba419d8d3c53e4e48a94cb92e2a9715d9293e5 | [
"Apache-2.0"
] | 1 | 2022-01-22T20:28:39.000Z | 2022-01-22T20:28:39.000Z | server/middleware/tracing.js | NoeSamaille/inventory-management-ui-solution | 9cba419d8d3c53e4e48a94cb92e2a9715d9293e5 | [
"Apache-2.0"
] | 6 | 2020-11-04T03:51:11.000Z | 2021-03-10T05:22:56.000Z | server/middleware/tracing.js | NoeSamaille/inventory-management-ui-solution | 9cba419d8d3c53e4e48a94cb92e2a9715d9293e5 | [
"Apache-2.0"
] | 11 | 2019-11-19T22:53:12.000Z | 2021-03-13T12:21:14.000Z | function tracingMiddleWare (req, res, next) {
const tracer = opentracing.globalTracer();
// Extracting the tracing headers from the incoming http request
const wireCtx = tracer.extract(opentracing.FORMAT_HTTP_HEADERS, req.headers)
// Creating our span with context from incoming request
const span = ... | 41.020833 | 82 | 0.690198 |
eb23edaacbb3559ec1cb3a17a942c791bfc39c2e | 507 | css | CSS | web/js/tagit/css/master.css | sjaanus/ifresco-0.3 | d1d2b29922afbe5a247f9720e19b2673936d630f | [
"Apache-2.0"
] | null | null | null | web/js/tagit/css/master.css | sjaanus/ifresco-0.3 | d1d2b29922afbe5a247f9720e19b2673936d630f | [
"Apache-2.0"
] | null | null | null | web/js/tagit/css/master.css | sjaanus/ifresco-0.3 | d1d2b29922afbe5a247f9720e19b2673936d630f | [
"Apache-2.0"
] | null | null | null | @charset "UTF-8";
/* base */
html {
font-size: 62.5%;
}
a {
text-decoration:underline;
}
p {
margin-bottom:10px;
line-height:18px;
}
/* end of base */
body, input, a {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
color: #333;
font-size:12px;
}
#content {
width:600px;
margin:20px 0 20px... | 12.675 | 65 | 0.65286 |
15f74b5b73b37fab108841e98849accc23189fb0 | 1,888 | rb | Ruby | app/models/legal_services/upload.rb | Crown-Commercial-Service/crown-marketplace-legacy | f32c7be36ef3f680749ac1003209c4a51e37674b | [
"MIT"
] | null | null | null | app/models/legal_services/upload.rb | Crown-Commercial-Service/crown-marketplace-legacy | f32c7be36ef3f680749ac1003209c4a51e37674b | [
"MIT"
] | 19 | 2021-05-21T10:24:29.000Z | 2022-03-31T15:02:24.000Z | app/models/legal_services/upload.rb | Crown-Commercial-Service/crown-marketplace-legacy | f32c7be36ef3f680749ac1003209c4a51e37674b | [
"MIT"
] | null | null | null | module LegalServices
class Upload < ApplicationRecord
def self.upload!(suppliers)
error = all_or_none(Supplier) do
Supplier.delete_all_with_dependents
suppliers.map do |supplier_data|
create_supplier!(supplier_data)
end
create!
end
raise error if error
... | 26.971429 | 61 | 0.611758 |
91d489236e4f8355ed5e2f337e78ab57736948cf | 42,266 | html | HTML | es-AR/index.html | caidevOficial/Resume | db5604e02b16b8cac5405783e2e0557043a1bd1c | [
"MIT"
] | null | null | null | es-AR/index.html | caidevOficial/Resume | db5604e02b16b8cac5405783e2e0557043a1bd1c | [
"MIT"
] | null | null | null | es-AR/index.html | caidevOficial/Resume | db5604e02b16b8cac5405783e2e0557043a1bd1c | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="es-AR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:site_name" content="CV Facu Falcone" />
<meta property="og:title" content="Currículum" />
<meta property="og:image" content="https://cai... | 93.302428 | 396 | 0.541262 |
a007950e3f9817feb4cdc18cd5e8e5151668de55 | 1,370 | ts | TypeScript | windows-admin-center-developer-tools/src/app/hello/tree-example/testData.ts | t-literr/sdk-copy | b67434efde81bf3451ba5501794aab5eedf85648 | [
"MIT"
] | null | null | null | windows-admin-center-developer-tools/src/app/hello/tree-example/testData.ts | t-literr/sdk-copy | b67434efde81bf3451ba5501794aab5eedf85648 | [
"MIT"
] | null | null | null | windows-admin-center-developer-tools/src/app/hello/tree-example/testData.ts | t-literr/sdk-copy | b67434efde81bf3451ba5501794aab5eedf85648 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { TreeNodeDataItem } from '@microsoft/windows-admin-center-sdk/angular';
/* tslint:disable */
export var TestData = <TreeNodeDataItem>{
data: {
label: 'API Examples',
type: 'folder',
expanded... | 19.027778 | 80 | 0.431387 |
af7f95cd4be4e44e03d89a35b207c4d918a8d81d | 1,076 | py | Python | 27_36_DAYS_OF_TYPE_2020.py | eduairet/eat36daysOfType2020 | 89b35c5be102ea3afb4e19daccffe39a8c24e816 | [
"CC0-1.0"
] | 1 | 2020-07-29T22:33:39.000Z | 2020-07-29T22:33:39.000Z | 27_36_DAYS_OF_TYPE_2020.py | eduairet/eat36daysOfType2020 | 89b35c5be102ea3afb4e19daccffe39a8c24e816 | [
"CC0-1.0"
] | null | null | null | 27_36_DAYS_OF_TYPE_2020.py | eduairet/eat36daysOfType2020 | 89b35c5be102ea3afb4e19daccffe39a8c24e816 | [
"CC0-1.0"
] | null | null | null | side = 1080
thickness = side*0.4
frames = 84
def skPts():
points = []
for i in range(360):
x = cos(radians(i))
y = sin(radians(i))
points.append((x, y))
return points
def shape(step, var):
speed = var/step
fill(1, 1, 1, 0.05)
stroke(None)
shape = BezierPath()
... | 26.243902 | 74 | 0.501859 |
2fc423f893bd3252b0386c8c3d77fadc7763c6cf | 175 | py | Python | positive.py | sreeja808/area | d9356edae588cbbe1723ebb50206718bd5506e1a | [
"MIT"
] | null | null | null | positive.py | sreeja808/area | d9356edae588cbbe1723ebb50206718bd5506e1a | [
"MIT"
] | null | null | null | positive.py | sreeja808/area | d9356edae588cbbe1723ebb50206718bd5506e1a | [
"MIT"
] | 1 | 2021-05-26T03:50:29.000Z | 2021-05-26T03:50:29.000Z | list1 = [12,3,5,-5,-6,-1]
for i in list1:
if i >= 0:
print (i)
list2 = [12,4,-95,3]
for num in list2:
if num >= 0:
print (" [ ",num," ] ")
| 14.583333 | 31 | 0.405714 |
2ca90626c2839ad729800f30daddb71e9c9d17de | 699 | cpp | C++ | Math/PillaiFunction.cpp | igortakeo/Algorithms | 6608132e442df7b0fb295aa63f287fa65a941939 | [
"MIT"
] | null | null | null | Math/PillaiFunction.cpp | igortakeo/Algorithms | 6608132e442df7b0fb295aa63f287fa65a941939 | [
"MIT"
] | null | null | null | Math/PillaiFunction.cpp | igortakeo/Algorithms | 6608132e442df7b0fb295aa63f287fa65a941939 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define pb push_back
using namespace std;
// Pillai's Arithmetical Function search result to for(i = 1 until n) sum += gcd(i, n)
vector<int> Divisors(int n){
vector<int>v;
for(int i=1; i*i <= n; i++){
if(n%i == 0){
v.pb(i);
if(i != (n/i))v.pb(n/i);
}
}
return v;
}
doub... | 14.265306 | 87 | 0.515021 |
08afdfe58a6af2609a42d54a3926051542406ee9 | 4,747 | css | CSS | samples/htmlx/htmlx.css | AlecHaring/sciter-js-sdk | 6cedc57ff09404ad17e1899abc06f843a4677b69 | [
"BSD-3-Clause"
] | 1,688 | 2020-10-10T06:08:27.000Z | 2022-03-31T09:57:58.000Z | samples/htmlx/htmlx.css | AlecHaring/sciter-js-sdk | 6cedc57ff09404ad17e1899abc06f843a4677b69 | [
"BSD-3-Clause"
] | 156 | 2020-10-16T05:50:01.000Z | 2022-03-31T13:26:18.000Z | samples/htmlx/htmlx.css | AlecHaring/sciter-js-sdk | 6cedc57ff09404ad17e1899abc06f843a4677b69 | [
"BSD-3-Clause"
] | 111 | 2020-10-12T00:37:54.000Z | 2022-03-30T07:56:33.000Z |
anchor { prototype: HTMLAnchorElement url(htmlx.js); }
area { prototype: HTMLAreaElement url(htmlx.js); }
audio { prototype: HTMLAudioElement url(htmlx.js); }
base { prototype: HTMLBaseElement url(htmlx.js); }
body { prototype: HTMLBodyElement url(htmlx.js); }
br { prototype:... | 57.192771 | 65 | 0.67727 |
75e4ce731ce3dc1f49c359c7b7397b172f40b8ef | 181 | css | CSS | Timeline/webclient/static/css/AddHover.css | Lapeth/timeline | a85ca9a2e451700ff489bf5fc738b8070bf38041 | [
"Apache-2.0"
] | null | null | null | Timeline/webclient/static/css/AddHover.css | Lapeth/timeline | a85ca9a2e451700ff489bf5fc738b8070bf38041 | [
"Apache-2.0"
] | null | null | null | Timeline/webclient/static/css/AddHover.css | Lapeth/timeline | a85ca9a2e451700ff489bf5fc738b8070bf38041 | [
"Apache-2.0"
] | null | null | null | .AddHover {
width: 24px;
height: 30px;
}
.AddHover.above {
background-image: url('../img/add-above.png');
}
.AddHover.below {
background-image: url('../img/add-below.png');
}
| 13.923077 | 47 | 0.646409 |
9411451c877b8f221d81e1cccfa874db1cd5d538 | 1,625 | swift | Swift | iOS-Weather/Extension/String+Extension.swift | mdSanada/iOS-Weather | 8d9e30a0bb620b28abd57bc69dcda9e1e60f1368 | [
"MIT"
] | null | null | null | iOS-Weather/Extension/String+Extension.swift | mdSanada/iOS-Weather | 8d9e30a0bb620b28abd57bc69dcda9e1e60f1368 | [
"MIT"
] | null | null | null | iOS-Weather/Extension/String+Extension.swift | mdSanada/iOS-Weather | 8d9e30a0bb620b28abd57bc69dcda9e1e60f1368 | [
"MIT"
] | null | null | null | //
// String+Extension.swift
// iOS-Weather
//
// Created by Matheus D Sanada on 05/02/21.
//
import UIKit
extension String {
func getIcon() -> UIImage {
let str: String = self
switch str {
case "01d":
return UIImage(systemName: "sun.max")!
case "02d":
re... | 29.545455 | 67 | 0.531077 |
b7979d4151b9fc7fe8cc8bc8d2db246cdb4860fc | 2,018 | hh | C++ | include/Apertures/StandardAperturePolygon.hh | aaronbamberger/gerber_rs274x_parser | d2bbd6c66d322ab47715771642255f8302521300 | [
"BSD-2-Clause"
] | 6 | 2016-09-28T18:26:42.000Z | 2021-04-10T13:19:05.000Z | include/Apertures/StandardAperturePolygon.hh | aaronbamberger/gerber_rs274x_parser | d2bbd6c66d322ab47715771642255f8302521300 | [
"BSD-2-Clause"
] | 1 | 2021-02-09T00:24:04.000Z | 2021-02-27T22:08:05.000Z | include/Apertures/StandardAperturePolygon.hh | aaronbamberger/gerber_rs274x_parser | d2bbd6c66d322ab47715771642255f8302521300 | [
"BSD-2-Clause"
] | 5 | 2017-09-14T09:48:17.000Z | 2021-07-19T07:58:34.000Z | /*
* Copyright 2021 Aaron Bamberger
* Licensed under BSD 2-clause license
* See LICENSE file at root of source tree,
* or https://opensource.org/licenses/BSD-2-Clause
*/
#ifndef _STANDARD_APERTURE_POLYGON_H
#define _STANDARD_APERTURE_POLYGON_H
#include "Apertures/StandardAperture.hh"
#include "GlobalDefs.hh"
#in... | 38.075472 | 113 | 0.806739 |
35de929c892c7d967cb460a66b23efdf0e300918 | 585 | sql | SQL | openGaussBase/testcase/KEYWORDS/sequences/Opengauss_Function_Keyword_Sequences_Case0025.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/sequences/Opengauss_Function_Keyword_Sequences_Case0025.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/sequences/Opengauss_Function_Keyword_Sequences_Case0025.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint:opengauss关键字sequences(非保留),作为角色名
--关键字不带引号-成功
drop role if exists sequences;
create role sequences with password 'gauss@123' valid until '2020-12-31';
drop role sequences;
--关键字带双引号-成功
drop role if exists "sequences";
create role "sequences" with password 'gauss@123' valid until '2020-12-31';
drop rol... | 27.857143 | 75 | 0.752137 |
497557d0a9f291b9e68e288320172c719e075398 | 481 | py | Python | classification/views/views_autocomplete.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 5 | 2021-01-14T03:34:42.000Z | 2022-03-07T15:34:18.000Z | classification/views/views_autocomplete.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 551 | 2020-10-19T00:02:38.000Z | 2022-03-30T02:18:22.000Z | classification/views/views_autocomplete.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | null | null | null | from django.utils.decorators import method_decorator
from django.views.decorators.cache import cache_page
from classification.models import EvidenceKey
from library.constants import MINUTE_SECS
from library.django_utils.autocomplete_utils import AutocompleteView
@method_decorator(cache_page(MINUTE_SECS), name='dispa... | 32.066667 | 68 | 0.821206 |
6d03e9597d1688ef6a178397d500d15debe2cc38 | 572 | ts | TypeScript | tests/rules/non-control-statement-curly.test.ts | CyanSalt/eslint-plugin-galaxy | 17997c2d1c59ed0921d368fc652d620533841371 | [
"0BSD"
] | 2 | 2021-06-11T06:02:45.000Z | 2021-09-13T21:01:43.000Z | tests/rules/non-control-statement-curly.test.ts | CyanSalt/eslint-plugin-galaxy | 17997c2d1c59ed0921d368fc652d620533841371 | [
"0BSD"
] | null | null | null | tests/rules/non-control-statement-curly.test.ts | CyanSalt/eslint-plugin-galaxy | 17997c2d1c59ed0921d368fc652d620533841371 | [
"0BSD"
] | null | null | null | import rule from '../../src/rules/non-control-statement-curly'
import { ruleTester } from '../tester'
ruleTester.run('non-control-statement-curly', rule, {
valid: [
{
code: `
if (foo) {
bar()
}
`,
},
{
code: `function demo() { if (foo) return }`,
},
{
... | 19.066667 | 62 | 0.465035 |
3baf4bc7e4b27e54894a47ee9c1c44be69b991a6 | 58 | ps1 | PowerShell | Labo_1/Pepijn/Installatie.ps1 | ManuCardoen/hogent_sel | 5b5331594c43a3fb64315214fc31e99d76ef38e2 | [
"MIT"
] | 1 | 2021-02-22T21:37:06.000Z | 2021-02-22T21:37:06.000Z | Labo_1/Pepijn/Installatie.ps1 | ManuCardoen/hogent_sel | 5b5331594c43a3fb64315214fc31e99d76ef38e2 | [
"MIT"
] | null | null | null | Labo_1/Pepijn/Installatie.ps1 | ManuCardoen/hogent_sel | 5b5331594c43a3fb64315214fc31e99d76ef38e2 | [
"MIT"
] | 1 | 2021-02-22T21:38:18.000Z | 2021-02-22T21:38:18.000Z | Start-Transcript "logboek.txt"
Write-Host "Hello World"
| 14.5 | 31 | 0.758621 |
258a5eabb996eb09722754e024a54bf8b58debdf | 1,128 | js | JavaScript | src/components/CommandHistory/DetailsModal.js | stephb9959/wlan-cloud-ucentralgw-ui | 241827319140fdf6bf89a5b17c72dcc721db4703 | [
"BSD-3-Clause"
] | 2 | 2021-08-04T02:31:05.000Z | 2022-01-25T09:28:15.000Z | src/components/CommandHistory/DetailsModal.js | stephb9959/wlan-cloud-ucentralgw-ui | 241827319140fdf6bf89a5b17c72dcc721db4703 | [
"BSD-3-Clause"
] | 19 | 2021-06-21T18:59:04.000Z | 2021-09-28T13:12:36.000Z | src/components/CommandHistory/DetailsModal.js | stephb9959/wlan-cloud-ucentralgw-ui | 241827319140fdf6bf89a5b17c72dcc721db4703 | [
"BSD-3-Clause"
] | 3 | 2021-06-21T19:21:30.000Z | 2022-01-03T16:18:00.000Z | import React from 'react';
import PropTypes from 'prop-types';
import { CButton, CModal, CModalHeader, CModalBody, CModalTitle, CPopover } from '@coreui/react';
import CIcon from '@coreui/icons-react';
import { cilX } from '@coreui/icons';
const DetailsModal = ({ t, show, toggle, details, commandUuid }) => (
<CModal... | 33.176471 | 97 | 0.672872 |
8edecf0b087ee16a71105d05b61255cb39918ee3 | 763 | swift | Swift | Pushup/Pushup/Views/InstructionCollectionViewCell.swift | drudolpho/Pushup | 8e480caee832400c408bc65cc55ccc22ec85bf62 | [
"MIT"
] | null | null | null | Pushup/Pushup/Views/InstructionCollectionViewCell.swift | drudolpho/Pushup | 8e480caee832400c408bc65cc55ccc22ec85bf62 | [
"MIT"
] | null | null | null | Pushup/Pushup/Views/InstructionCollectionViewCell.swift | drudolpho/Pushup | 8e480caee832400c408bc65cc55ccc22ec85bf62 | [
"MIT"
] | null | null | null | //
// InstructionCollectionViewCell.swift
// Pushup
//
// Created by Dennis Rudolph on 5/8/20.
// Copyright © 2020 Lambda School. All rights reserved.
//
import UIKit
class InstructionCollectionViewCell: UICollectionViewCell {
override func awakeFromNib() {
super.awakeFromNib()
//custom log... | 29.346154 | 130 | 0.689384 |
f4c0aaa44f3018ce6934368925334267fdd79239 | 67 | ts | TypeScript | src/reducers/index.ts | umbiliko/um-react-core | 94ed3a2525db3a5385ca6cd37c8f0a81657db00f | [
"MIT"
] | null | null | null | src/reducers/index.ts | umbiliko/um-react-core | 94ed3a2525db3a5385ca6cd37c8f0a81657db00f | [
"MIT"
] | null | null | null | src/reducers/index.ts | umbiliko/um-react-core | 94ed3a2525db3a5385ca6cd37c8f0a81657db00f | [
"MIT"
] | null | null | null | // export * from './arrayReducer';
export * from './stateReducer';
| 22.333333 | 34 | 0.656716 |
0dec4f35205b6426d14734a86633dc9946e79fae | 2,780 | kt | Kotlin | kotlin/src/test/kotlin/adventofcode/codeforces/KotlinHeroesPractice3.kt | 3ygun/adventofcode | 69f95bca3d22032fba6ee7d9d6ec307d4d2163cf | [
"MIT"
] | null | null | null | kotlin/src/test/kotlin/adventofcode/codeforces/KotlinHeroesPractice3.kt | 3ygun/adventofcode | 69f95bca3d22032fba6ee7d9d6ec307d4d2163cf | [
"MIT"
] | null | null | null | kotlin/src/test/kotlin/adventofcode/codeforces/KotlinHeroesPractice3.kt | 3ygun/adventofcode | 69f95bca3d22032fba6ee7d9d6ec307d4d2163cf | [
"MIT"
] | null | null | null | package adventofcode.codeforces
import io.kotlintest.should
import io.kotlintest.shouldBe
import io.kotlintest.specs.FreeSpec
import io.kotlintest.tables.row
class KotlinHeroesPractice3Tests : FreeSpec({
"Problem A - Restoring Three Numbers" - {
listOf(
row(row(3L, 6L, 5L, 4L), Triple(1L, 2L, ... | 35.189873 | 95 | 0.449281 |
53dabf23adeb9a8e8fe4ec2b811cea58e9f7d0ac | 1,864 | rb | Ruby | lib/facebook_ads/ad_objects/instant_article_insights_query_result.rb | lookprintufc/facebook-ruby-business-sdk | 37e2f3cd3796479fb2c42c6f296b9e08b259826f | [
"Ruby"
] | 115 | 2018-05-02T10:59:45.000Z | 2022-03-24T16:00:43.000Z | lib/facebook_ads/ad_objects/instant_article_insights_query_result.rb | lookprintufc/facebook-ruby-business-sdk | 37e2f3cd3796479fb2c42c6f296b9e08b259826f | [
"Ruby"
] | 132 | 2018-05-08T12:55:02.000Z | 2022-03-30T15:52:02.000Z | lib/facebook_ads/ad_objects/instant_article_insights_query_result.rb | lookprintufc/facebook-ruby-business-sdk | 37e2f3cd3796479fb2c42c6f296b9e08b259826f | [
"Ruby"
] | 122 | 2018-05-16T14:01:09.000Z | 2022-03-08T07:59:09.000Z | # Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
# in connection with the web services and APIs provided by Facebook.
#
# As with any so... | 30.557377 | 82 | 0.703863 |
14fb1f9c87c13f54c8f9998e53fb10f8a31078b9 | 454 | ts | TypeScript | tutorials/frontend/vue-apollo/app-final/src/main.ts | Makohan/learn-graphql | ac3c0eebcc95f51c0cdcd3525d67df7c9e4ff9db | [
"MIT"
] | 2 | 2022-01-20T08:06:13.000Z | 2022-02-23T18:35:18.000Z | tutorials/frontend/vue-apollo/app-final/src/main.ts | Makohan/learn-graphql | ac3c0eebcc95f51c0cdcd3525d67df7c9e4ff9db | [
"MIT"
] | null | null | null | tutorials/frontend/vue-apollo/app-final/src/main.ts | Makohan/learn-graphql | ac3c0eebcc95f51c0cdcd3525d67df7c9e4ff9db | [
"MIT"
] | 1 | 2022-02-25T15:16:00.000Z | 2022-02-25T15:16:00.000Z | import { createApp, provide, h } from "vue"
import { DefaultApolloClient } from "@vue/apollo-composable"
// @ts-ignore
import App from "./App.vue"
import { apolloClient } from "./apollo-client"
import { router } from "./router"
import authPlugin from "./auth/authPlugin"
const app = createApp({
setup() {
... | 21.619048 | 60 | 0.669604 |
89c4dfddf3e2fe1a25a2c0ae1477e25dd6a9d85b | 604 | lua | Lua | platform/bootloader/component/scripts/bootloader_core_validation.lua | bojanpotocnik/gecko_sdk | 9e70b13fc4701459c5f8a8f5e8918ec3f5ea8903 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/bootloader/component/scripts/bootloader_core_validation.lua | bojanpotocnik/gecko_sdk | 9e70b13fc4701459c5f8a8f5e8918ec3f5ea8903 | [
"Zlib"
] | 2 | 2017-02-13T10:07:17.000Z | 2017-03-22T21:28:26.000Z | platform/bootloader/component/scripts/bootloader_core_validation.lua | bojanpotocnik/gecko_sdk | 9e70b13fc4701459c5f8a8f5e8918ec3f5ea8903 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | --Validation script for Bootloader Image Parser with no encryption component
local has_parser_noenc = slc.is_selected("bootloader_image_parser_nonenc")
local btl_enforce_signed_upgrade = slc.config('BOOTLOADER_ENFORCE_SIGNED_UPGRADE')
local btl_enforce_encryption = slc.config('BOOTLOADER_ENFORCE_ENCRYPTED_UPGRADE')
... | 50.333333 | 140 | 0.842715 |
a32ed4db844becdac04fde0bcc12d16c574649cb | 63 | ts | TypeScript | jest.init.ts | jkorrek/ionic-native-http-connection-backend | 08f523ce3808e97e32c6663753cbfab64164de9e | [
"MIT"
] | 168 | 2017-08-02T08:33:04.000Z | 2022-02-22T09:47:29.000Z | jest.init.ts | jkorrek/ionic-native-http-connection-backend | 08f523ce3808e97e32c6663753cbfab64164de9e | [
"MIT"
] | 148 | 2017-08-12T18:03:12.000Z | 2022-01-13T17:50:39.000Z | jest.init.ts | jkorrek/ionic-native-http-connection-backend | 08f523ce3808e97e32c6663753cbfab64164de9e | [
"MIT"
] | 48 | 2017-08-11T11:03:46.000Z | 2022-03-06T08:17:50.000Z | import 'zone.js';
import 'core-js/proposals/reflect-metadata';
| 21 | 44 | 0.761905 |
aa6fb8d126319461b52073ca59c5aa271c21435e | 149 | lua | Lua | Kick + Reason.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 70 | 2021-02-09T17:21:32.000Z | 2022-03-28T12:41:42.000Z | Kick + Reason.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 4 | 2021-08-19T22:05:58.000Z | 2022-03-19T18:58:01.000Z | Kick + Reason.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 325 | 2021-02-26T22:23:41.000Z | 2022-03-31T19:36:12.000Z | getglobal game
getfield -1 Players
getfield -1 LocalPlayer
getfield -1 Kick
pushvalue -2
pushstring your message goes here lol
pcall 2 0 0
emptystack | 18.625 | 37 | 0.818792 |
83535ad7d21d0cd3d8df9a18b927c44679d3ff5e | 50 | ts | TypeScript | src/shared/interfaces/BaseDomainException.ts | adziok/authorization-domain | 0afe3f09ba1bc86a8d6960f1ea531afb8debb063 | [
"MIT"
] | null | null | null | src/shared/interfaces/BaseDomainException.ts | adziok/authorization-domain | 0afe3f09ba1bc86a8d6960f1ea531afb8debb063 | [
"MIT"
] | null | null | null | src/shared/interfaces/BaseDomainException.ts | adziok/authorization-domain | 0afe3f09ba1bc86a8d6960f1ea531afb8debb063 | [
"MIT"
] | null | null | null | export class BaseDomainException extends Error {}
| 25 | 49 | 0.84 |
06caca715317e5cfe5ead1bb8633ddcb9dff7dc5 | 21,448 | py | Python | unet_methods/unet_2d/utilities/data.py | DiamondLightSource/gas-hydrate-segmentation-unets | e635c30788c58f5c56929e437cc4704f5cbf6b79 | [
"Apache-2.0"
] | null | null | null | unet_methods/unet_2d/utilities/data.py | DiamondLightSource/gas-hydrate-segmentation-unets | e635c30788c58f5c56929e437cc4704f5cbf6b79 | [
"Apache-2.0"
] | null | null | null | unet_methods/unet_2d/utilities/data.py | DiamondLightSource/gas-hydrate-segmentation-unets | e635c30788c58f5c56929e437cc4704f5cbf6b79 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Data utilities for U-net training and prediction.
"""
import glob
import logging
import os
import re
import sys
import warnings
from datetime import date
from itertools import chain, product
from pathlib import Path
import dask.array as da
import h5py as h5
import numpy as np
import yaml
fro... | 41.166987 | 112 | 0.61423 |
76fe2f78d317dbbd369ce1a2d52898040f69f0ec | 8,668 | h | C | src/events/events_MovementSubscriptionParams.h | hyena/mutgos_server | 855c154be840f70c3b878fabde23d2148ad028b3 | [
"MIT"
] | 5 | 2019-02-24T06:42:52.000Z | 2021-04-09T19:16:24.000Z | src/events/events_MovementSubscriptionParams.h | hyena/mutgos_server | 855c154be840f70c3b878fabde23d2148ad028b3 | [
"MIT"
] | 40 | 2019-02-24T15:25:54.000Z | 2021-05-17T04:22:43.000Z | src/events/events_MovementSubscriptionParams.h | hyena/mutgos_server | 855c154be840f70c3b878fabde23d2148ad028b3 | [
"MIT"
] | 2 | 2019-02-23T22:58:36.000Z | 2019-02-27T01:27:42.000Z | /*
* events_MovementSubscriptionParams.h
*/
#ifndef MUTGOS_EVENTS_MOVEMENTSUBSCRIPTIONPARAMS_H
#define MUTGOS_EVENTS_MOVEMENTSUBSCRIPTIONPARAMS_H
#include <set>
#include "dbtypes/dbtype_Id.h"
#include "dbtypes/dbtype_Entity.h"
#include "events/events_SubscriptionParams.h"
namespace mutgos
{
namespace events
{
... | 34.533865 | 86 | 0.599562 |
e0748c355082eeca7071a69909fec313af781425 | 1,135 | h | C | inc/oni-core/graphic/oni-graphic-renderer-ogl-quad.h | sina-/granite | 95b873bc545cd4925b5cea8c632a82f2d815be6e | [
"MIT"
] | 2 | 2019-08-01T09:18:49.000Z | 2020-03-26T05:59:52.000Z | inc/oni-core/graphic/oni-graphic-renderer-ogl-quad.h | sina-/granite | 95b873bc545cd4925b5cea8c632a82f2d815be6e | [
"MIT"
] | null | null | null | inc/oni-core/graphic/oni-graphic-renderer-ogl-quad.h | sina-/granite | 95b873bc545cd4925b5cea8c632a82f2d815be6e | [
"MIT"
] | 1 | 2020-03-26T05:59:53.000Z | 2020-03-26T05:59:53.000Z | #pragma once
#include <oni-core/graphic/oni-graphic-renderer-ogl.h>
namespace oni {
class Shader;
class Renderer_OpenGL_Quad : public Renderer_OpenGL {
public:
explicit Renderer_OpenGL_Quad(oniGLsizei maxSpriteCount,
TextureManager &);
~Renderer_Open... | 23.645833 | 105 | 0.577974 |
5db22772f68619ce17961d2ef93c4b6f337860c7 | 2,047 | cpp | C++ | apps/qmimicruntime/src/settingswidget.cpp | peter-kozarec/qMimic | ee8b7d2206a30569f118fe26b9b6412a5289c7de | [
"Apache-2.0"
] | 1 | 2021-08-03T20:18:40.000Z | 2021-08-03T20:18:40.000Z | apps/qmimicruntime/src/settingswidget.cpp | peter-kozarec/qMimic | ee8b7d2206a30569f118fe26b9b6412a5289c7de | [
"Apache-2.0"
] | 6 | 2021-08-04T14:56:28.000Z | 2021-11-14T15:16:01.000Z | apps/qmimicruntime/src/settingswidget.cpp | peter-kozarec/qMimic | ee8b7d2206a30569f118fe26b9b6412a5289c7de | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
* Copyright (C) 2021 Peter Kozarec *
* *
* This program is free software: you can redistribute it and/or modify *
... | 46.522727 | 91 | 0.533952 |
e83e435ea100111a05cded86dabf497d47fd74f4 | 2,965 | cs | C# | source/Htc.Vita.Core/Interop/Windows.User32.cs | ViveportSoftware/vita_core_csharp | 8cfd6fbb381b8e3b7c35017705e0204cdccb9ac8 | [
"MIT"
] | null | null | null | source/Htc.Vita.Core/Interop/Windows.User32.cs | ViveportSoftware/vita_core_csharp | 8cfd6fbb381b8e3b7c35017705e0204cdccb9ac8 | [
"MIT"
] | 2 | 2019-11-18T08:52:57.000Z | 2020-11-23T07:48:27.000Z | source/Htc.Vita.Core/Interop/Windows.User32.cs | ViveportSoftware/vita_core_csharp | 8cfd6fbb381b8e3b7c35017705e0204cdccb9ac8 | [
"MIT"
] | 3 | 2019-06-11T06:37:02.000Z | 2019-11-18T06:04:17.000Z | using System;
using System.Runtime.InteropServices;
using Htc.Vita.Core.Util;
namespace Htc.Vita.Core.Interop
{
internal static partial class Windows
{
[ExternalReference("https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-enumdisplaydevicesw")]
[DllImport(Libraries.WindowsUs... | 45.615385 | 125 | 0.599325 |
a16cf6cd9435137476594be658ed627c446dca11 | 731 | tsx | TypeScript | app-ui/src/Custom-Components/CustomLinkFactory.tsx | Kunal-2001/app-ui | e6a0d72f08a7bed60cb01bc22f41bf7124e492c0 | [
"Apache-2.0"
] | 1 | 2021-11-14T17:14:02.000Z | 2021-11-14T17:14:02.000Z | app-ui/src/Custom-Components/CustomLinkFactory.tsx | Kunal-2001/app-ui | e6a0d72f08a7bed60cb01bc22f41bf7124e492c0 | [
"Apache-2.0"
] | null | null | null | app-ui/src/Custom-Components/CustomLinkFactory.tsx | Kunal-2001/app-ui | e6a0d72f08a7bed60cb01bc22f41bf7124e492c0 | [
"Apache-2.0"
] | 1 | 2021-12-30T16:49:54.000Z | 2021-12-30T16:49:54.000Z | import { DefaultLinkFactory } from "@projectstorm/react-diagrams";
import { CustomLinkModel } from "./CustomLinkModel";
import { CustomLinkSegment } from "./CustomLinkSegment";
export class CustomLinkFactory extends DefaultLinkFactory {
constructor() {
super("advanced");
}
generateModel(): CustomLinkModel {... | 28.115385 | 89 | 0.692202 |
46ee0673924463e391a7d74db0429ea8e7ec648d | 423 | py | Python | solutions/1026_maximum_difference_between_node_and_ancestor.py | YiqunPeng/leetcode_pro | 7e6376984f9baec49a5e827d98330fe3d1b656f0 | [
"MIT"
] | null | null | null | solutions/1026_maximum_difference_between_node_and_ancestor.py | YiqunPeng/leetcode_pro | 7e6376984f9baec49a5e827d98330fe3d1b656f0 | [
"MIT"
] | null | null | null | solutions/1026_maximum_difference_between_node_and_ancestor.py | YiqunPeng/leetcode_pro | 7e6376984f9baec49a5e827d98330fe3d1b656f0 | [
"MIT"
] | null | null | null | class Solution:
def maxAncestorDiff(self, root: TreeNode) -> int:
return self._traverse(root, root.val, root.val)
def _traverse(self, root, minv, maxv):
if not root:
return maxv - minv
minv = min(minv, root.val)
maxv = max(maxv, root.val)
l = self._trave... | 32.538462 | 55 | 0.58156 |
b4f84950562573298b151eb34f6f748474e8ed80 | 45 | dart | Dart | lib/utils.dart | quetool/story_view | 358d1224984b052917f5e21f95635de5a2fb4bbf | [
"BSD-3-Clause"
] | 27 | 2020-06-11T06:55:38.000Z | 2021-12-25T15:18:54.000Z | lib/src/ui/story_view/utils.dart | codenameakshay/ariel-news-app | 2f3baaa3fd1a8eecce1f2bda3ccf5fcfe1ae7909 | [
"BSD-3-Clause"
] | 13 | 2020-05-17T18:39:50.000Z | 2020-07-28T14:55:29.000Z | lib/src/ui/story_view/utils.dart | codenameakshay/ariel-news-app | 2f3baaa3fd1a8eecce1f2bda3ccf5fcfe1ae7909 | [
"BSD-3-Clause"
] | 7 | 2020-05-26T02:01:08.000Z | 2021-09-08T09:13:12.000Z | enum LoadState { loading, success, failure }
| 22.5 | 44 | 0.755556 |
4b03973fda3d849b19772febc5c9089ab2b61d4b | 8,712 | rb | Ruby | spec/models/issue_spec.rb | technoeleganceteam/kanban_on_rails | 6f3e3900c2955d4db28cd118ea27a79c5f0e8ebd | [
"MIT"
] | 47 | 2016-06-07T19:53:53.000Z | 2021-05-29T09:28:11.000Z | spec/models/issue_spec.rb | technoeleganceteam/kanban_on_rails | 6f3e3900c2955d4db28cd118ea27a79c5f0e8ebd | [
"MIT"
] | 17 | 2016-06-08T15:03:19.000Z | 2016-07-13T17:19:57.000Z | spec/models/issue_spec.rb | technoeleganceteam/kanban_on_rails | 6f3e3900c2955d4db28cd118ea27a79c5f0e8ebd | [
"MIT"
] | 11 | 2016-06-08T15:06:42.000Z | 2020-01-08T07:31:05.000Z | require 'rails_helper'
RSpec.describe Issue, :type => :model do
let(:user) { create :user }
let(:issue) { create :issue }
let(:user_to_issue_connection) { create :user_to_issue_connection, :user => user, :issue => issue }
describe '#sync_to_github' do
context 'when new issue' do
before do
... | 41.684211 | 114 | 0.60101 |
ba99149bdb5aee74e303d589ef8dc3dbd32ad019 | 3,332 | sql | SQL | sql/wlblazers_upgrade.sql | bopopescu/Heimdallr | 793b5b0242788e7212a7b10e9e6a5bdaef7a73b2 | [
"Apache-2.0"
] | null | null | null | sql/wlblazers_upgrade.sql | bopopescu/Heimdallr | 793b5b0242788e7212a7b10e9e6a5bdaef7a73b2 | [
"Apache-2.0"
] | null | null | null | sql/wlblazers_upgrade.sql | bopopescu/Heimdallr | 793b5b0242788e7212a7b10e9e6a5bdaef7a73b2 | [
"Apache-2.0"
] | 1 | 2020-07-22T08:57:53.000Z | 2020-07-22T08:57:53.000Z | -- ------------------------------------------------------------------------------------
-- ---------------------------- Table structure modify
-- ------------------------------------------------------------------------------------
/******************************* update Date: 2019-11-04 ******************************... | 38.744186 | 90 | 0.598139 |
a478f75b51b8b0b9a41846bff3744ebf26a05802 | 666 | php | PHP | backend/services/SiteService.php | robert589/justgiveit | 50c6cf6728170764b14e18ddec40365d16f50156 | [
"BSD-3-Clause"
] | 1 | 2018-04-05T06:10:02.000Z | 2018-04-05T06:10:02.000Z | backend/services/SiteService.php | robert589/justgiveit | 50c6cf6728170764b14e18ddec40365d16f50156 | [
"BSD-3-Clause"
] | null | null | null | backend/services/SiteService.php | robert589/justgiveit | 50c6cf6728170764b14e18ddec40365d16f50156 | [
"BSD-3-Clause"
] | 1 | 2019-12-24T10:14:51.000Z | 2019-12-24T10:14:51.000Z | <?php
namespace backend\services;
use backend\vos\SiteVoBuilder;
use backend\daos\SiteDao;
class SiteService {
private $site_dao;
public function __construct() {
$this->site_dao = new SiteDao();
}
public function getHomeInfo() {
$builder = new SiteVoBuilder();
... | 30.272727 | 92 | 0.657658 |
456e3af2e6de3bd6d92f5b1c4f27afbb637bd3de | 126 | py | Python | boa3_test/test_sc/interop_test/storage/StorageDeleteStrKey.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/interop_test/storage/StorageDeleteStrKey.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/interop_test/storage/StorageDeleteStrKey.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin import public
from boa3.builtin.interop.storage import delete
@public
def Main(key: str):
delete(key)
| 15.75 | 47 | 0.761905 |
a416f29aa071d409b9e4e32f6e17dfae9c43b7f5 | 998 | rs | Rust | binrw_derive/src/parser/types/enum_error_mode.rs | dmgolembiowski/binrw | 9779ff3749d0576a46b544373442ce9d9af2914c | [
"MIT"
] | 123 | 2020-10-31T20:30:35.000Z | 2022-03-21T12:51:43.000Z | binrw_derive/src/parser/types/enum_error_mode.rs | dmgolembiowski/binrw | 9779ff3749d0576a46b544373442ce9d9af2914c | [
"MIT"
] | 72 | 2020-10-31T20:32:34.000Z | 2022-03-30T08:42:08.000Z | binrw_derive/src/parser/types/enum_error_mode.rs | dmgolembiowski/binrw | 9779ff3749d0576a46b544373442ce9d9af2914c | [
"MIT"
] | 15 | 2021-01-24T23:59:05.000Z | 2022-03-07T13:14:31.000Z | use crate::parser::{read::attrs, KeywordToken, TrySet};
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub(crate) enum EnumErrorMode {
Default,
ReturnAllErrors,
ReturnUnexpectedError,
}
impl Default for EnumErrorMode {
fn default() -> Self {
Self::Default
}
}
impl From<attrs::ReturnAllError... | 24.341463 | 73 | 0.596192 |
5d2ae93d56c7a02e788a2ad9a65b4c3e67236086 | 6,034 | cpp | C++ | lld/stm32f4x/rcc/hw_rcc_sys_ctrl.cpp | brandonbraun653/Thor_STM32 | 2aaba95728936b2d5784e99b96c208a94e3cb8df | [
"MIT"
] | null | null | null | lld/stm32f4x/rcc/hw_rcc_sys_ctrl.cpp | brandonbraun653/Thor_STM32 | 2aaba95728936b2d5784e99b96c208a94e3cb8df | [
"MIT"
] | 36 | 2019-03-24T14:43:25.000Z | 2021-01-11T00:05:30.000Z | lld/stm32f4x/rcc/hw_rcc_sys_ctrl.cpp | brandonbraun653/Thor | 46e022f1791c8644955135c630fdd12a4296e44d | [
"MIT"
] | null | null | null | /********************************************************************************
* File Name:
* hw_rcc_sys_ctrl.cpp
*
* Description:
* System clock controller implementation
*
* 2021 | Brandon Braun | brandonbraun653@gmail.com
***************************************************************************... | 31.427083 | 109 | 0.513755 |