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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7955716e0be7aaf90d77a69165a961ece0ee2438 | 1,780 | php | PHP | streams/controllers/admin_checker.php | eResnova/neofrag-streams | e5423d75de70bf8a9809d723582c3587b65cad18 | [
"MIT"
] | 1 | 2018-06-08T11:54:18.000Z | 2018-06-08T11:54:18.000Z | streams/controllers/admin_checker.php | eResnova/neofrag-streams | e5423d75de70bf8a9809d723582c3587b65cad18 | [
"MIT"
] | null | null | null | streams/controllers/admin_checker.php | eResnova/neofrag-streams | e5423d75de70bf8a9809d723582c3587b65cad18 | [
"MIT"
] | null | null | null | <?php if (!defined('NEOFRAG_CMS')) exit;
/**************************************************************************
Copyright © 2015 Michaël BILCOT & Jérémy VALENTIN
This file is part of NeoFrag.
NeoFrag is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Publi... | 27.384615 | 76 | 0.632022 |
97c7fe0817169c99455b1428546724b4b1ba2cb1 | 7,237 | swift | Swift | Common/Sources/OutlineType.swift | jessegrosjean/BirchOutline | 18e6e79b4fd08f64f4d2c40554371c97045930d8 | [
"MIT"
] | 60 | 2016-06-27T13:32:54.000Z | 2022-02-20T08:44:52.000Z | Common/Sources/OutlineType.swift | jessegrosjean/BirchOutline | 18e6e79b4fd08f64f4d2c40554371c97045930d8 | [
"MIT"
] | null | null | null | Common/Sources/OutlineType.swift | jessegrosjean/BirchOutline | 18e6e79b4fd08f64f4d2c40554371c97045930d8 | [
"MIT"
] | 3 | 2016-09-07T22:01:40.000Z | 2019-10-20T10:00:56.000Z | //
// OutlineType.swift
// Birch
//
// Created by Jesse Grosjean on 6/14/16.
// Copyright © 2016 Jesse Grosjean. All rights reserved.
//
import Foundation
import JavaScriptCore
public protocol OutlineType: AnyObject {
var jsOutline: JSValue { get }
var root: ItemType { get }
var items: [Item... | 34.461905 | 132 | 0.63051 |
96ed9aa77c0cf1813b0599d66a6dbae3b01e337c | 541 | cs | C# | Dev/PropertyWriter/ViewModels/Properties/IntViewModel.cs | NumAniCloud/PropertyWriter | 3549e5c1fb4724cd05701b88915893dc21501b20 | [
"MIT"
] | 1 | 2017-02-17T16:29:52.000Z | 2017-02-17T16:29:52.000Z | Dev/PropertyWriter/ViewModels/Properties/IntViewModel.cs | NumAniCloud/PropertyWriter | 3549e5c1fb4724cd05701b88915893dc21501b20 | [
"MIT"
] | 1 | 2017-01-06T03:38:55.000Z | 2017-01-06T03:38:55.000Z | Dev/PropertyWriter/ViewModels/Properties/IntViewModel.cs | NumAniCloud/PropertyWriter | 3549e5c1fb4724cd05701b88915893dc21501b20 | [
"MIT"
] | null | null | null | using PropertyWriter.Models.Properties;
using PropertyWriter.ViewModels.Properties.Common;
using Reactive.Bindings;
using System;
using System.Reactive;
using System.Reactive.Linq;
namespace PropertyWriter.ViewModels.Properties
{
public class IntViewModel : PropertyViewModel<IntProperty>
{
public ReactiveProperty... | 25.761905 | 93 | 0.772643 |
050d0010b43ea952678199d1576dbea0b79bd7e1 | 3,383 | rb | Ruby | spec/satisfy/matcher_spec.rb | jnyman/satisfy | 01b57b866ed220a03470e2ba34b0a1926feaee0f | [
"MIT"
] | null | null | null | spec/satisfy/matcher_spec.rb | jnyman/satisfy | 01b57b866ed220a03470e2ba34b0a1926feaee0f | [
"MIT"
] | null | null | null | spec/satisfy/matcher_spec.rb | jnyman/satisfy | 01b57b866ed220a03470e2ba34b0a1926feaee0f | [
"MIT"
] | null | null | null | RSpec.describe Satisfy::Matcher do
describe 'matching' do
it 'matches a simple step' do
step = Satisfy::Matcher.new('all your base are belong to us') {}
expect(step).to match('all your base are belong to us')
expect(step).not_to match('all their base are belong to us')
expect(step).not_to ... | 41.256098 | 85 | 0.650015 |
57e49a73de9176ed19fd1b60171f9dd01da9c174 | 677 | php | PHP | locale/Hungarian/admin/robots.php | Tibi02/progvill-site | f12b6a36fa4ef8dcb32b94cf56a6bf141b4f460a | [
"MIT"
] | null | null | null | locale/Hungarian/admin/robots.php | Tibi02/progvill-site | f12b6a36fa4ef8dcb32b94cf56a6bf141b4f460a | [
"MIT"
] | null | null | null | locale/Hungarian/admin/robots.php | Tibi02/progvill-site | f12b6a36fa4ef8dcb32b94cf56a6bf141b4f460a | [
"MIT"
] | null | null | null | <?php
// Titles
$locale['400'] = "robots.txt";
// Messages
$locale['410'] = "Biztos vissza szeretnéd állítani a robots.txt tartalmát az eredeti állapotra?";
$locale['411'] = "A robots.txt fájl nem létezik. Hozd létre ezt a fájlt a PHP-Fusion gyökérk9nyvtárjában, és próbáld meg újra.";
$locale['412'] = "robots.txt módos... | 42.3125 | 128 | 0.689808 |
be6f1d07431b23b782618c34489d5d271537078a | 56 | ts | TypeScript | common/reducers/transaction/broadcast/index.ts | cleanunicorn/MyCrypto | d41c326cfe1e869379953a947c6e71866622a8c4 | [
"MIT"
] | 2 | 2019-03-06T11:52:53.000Z | 2019-03-06T14:29:43.000Z | common/reducers/transaction/broadcast/index.ts | cleanunicorn/MyCrypto | d41c326cfe1e869379953a947c6e71866622a8c4 | [
"MIT"
] | 1 | 2022-03-19T19:22:58.000Z | 2022-03-19T19:22:58.000Z | common/reducers/transaction/broadcast/index.ts | cleanunicorn/MyCrypto | d41c326cfe1e869379953a947c6e71866622a8c4 | [
"MIT"
] | 1 | 2018-01-16T18:40:43.000Z | 2018-01-16T18:40:43.000Z | export * from './typings';
export * from './broadcast';
| 18.666667 | 28 | 0.642857 |
df147e3b4cc778565b94faa9487363c9414cbc00 | 2,347 | cs | C# | BusinessObjects/Resources/BusinessObjectsResourceManager.cs | roberto-taveras/MVPPattern | 6c8027e94a3fd38313e31da6b762719fd5c0e946 | [
"MIT"
] | null | null | null | BusinessObjects/Resources/BusinessObjectsResourceManager.cs | roberto-taveras/MVPPattern | 6c8027e94a3fd38313e31da6b762719fd5c0e946 | [
"MIT"
] | null | null | null | BusinessObjects/Resources/BusinessObjectsResourceManager.cs | roberto-taveras/MVPPattern | 6c8027e94a3fd38313e31da6b762719fd5c0e946 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) [2020] [Jose Roberto Taveras Galvan]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modif... | 36.671875 | 83 | 0.736685 |
6205c270cbb9489a8fdace547c69333cfd8c7a74 | 1,962 | dart | Dart | lib/main.dart | molokows/molokows | e2180175d31f9ff1e7308852899d0a879a92fb3f | [
"CC0-1.0"
] | null | null | null | lib/main.dart | molokows/molokows | e2180175d31f9ff1e7308852899d0a879a92fb3f | [
"CC0-1.0"
] | null | null | null | lib/main.dart | molokows/molokows | e2180175d31f9ff1e7308852899d0a879a92fb3f | [
"CC0-1.0"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:newnavapp/about_screen.dart';
import 'package:newnavapp/achievments_screen.dart';
import 'package:newnavapp/home_screen.dart';
import 'package:newnavapp/lessons_screen.dart';
import 'package:newnavapp/profile_screen.dart';
import 'package:newnavapp/programms_scree... | 38.470588 | 78 | 0.672783 |
2fdf88cd8ce4cf1de299648ba00f4b86c4d90efd | 21,950 | py | Python | keras/layers/rnn/time_distributed_test.py | mcx/keras | 3613c3defc39c236fb1592c4f7ba1a9cc887343a | [
"Apache-2.0"
] | null | null | null | keras/layers/rnn/time_distributed_test.py | mcx/keras | 3613c3defc39c236fb1592c4f7ba1a9cc887343a | [
"Apache-2.0"
] | null | null | null | keras/layers/rnn/time_distributed_test.py | mcx/keras | 3613c3defc39c236fb1592c4f7ba1a9cc887343a | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 The TensorFlow 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 applica... | 38.57645 | 80 | 0.572392 |
bb0a3855428ac8575217bf95f496a5b112bc09d2 | 4,006 | cs | C# | Amns.Tessen/Web/UI/WebControls/DojoBulkAttendanceEntryGrid.cs | rahodges/Tessen | bb2198eedf1e04412b7a656dda0b92439e8b6aa5 | [
"MIT"
] | null | null | null | Amns.Tessen/Web/UI/WebControls/DojoBulkAttendanceEntryGrid.cs | rahodges/Tessen | bb2198eedf1e04412b7a656dda0b92439e8b6aa5 | [
"MIT"
] | null | null | null | Amns.Tessen/Web/UI/WebControls/DojoBulkAttendanceEntryGrid.cs | rahodges/Tessen | bb2198eedf1e04412b7a656dda0b92439e8b6aa5 | [
"MIT"
] | null | null | null | using System;
using System.Data;
using System.Data.OleDb;
using System.Web.UI;
using System.ComponentModel;
using System.Web.UI.WebControls;
using System.Web;
using Amns.GreyFox.Web.UI.WebControls;
using Amns.Tessen;
namespace Amns.Tessen.Web.UI.WebControls
{
/// <summary>
/// Summary description for MemberListGrid.... | 26.529801 | 124 | 0.694958 |
af89ecde19b8ea0aa6f7eec4d787b4af1c5c28e9 | 2,564 | py | Python | VMD 3D Pose Baseline Multi-Objects/applications/VmdWriter.py | kyapp69/OpenMMD | 795d4dd660cf7e537ceb599fdb038c5388b33390 | [
"MIT"
] | 717 | 2018-10-31T16:52:42.000Z | 2022-03-31T16:13:47.000Z | VMD 3D Pose Baseline Multi-Objects/applications/VmdWriter.py | Pixis5566/OpenMMD | 795d4dd660cf7e537ceb599fdb038c5388b33390 | [
"MIT"
] | 48 | 2018-11-08T12:16:43.000Z | 2020-08-10T00:24:50.000Z | VMD 3D Pose Baseline Multi-Objects/applications/VmdWriter.py | Pixis5566/OpenMMD | 795d4dd660cf7e537ceb599fdb038c5388b33390 | [
"MIT"
] | 180 | 2018-10-31T18:41:33.000Z | 2022-03-27T23:49:06.000Z | # -*- coding: utf-8 -*-
import struct
from PyQt5.QtGui import QQuaternion, QVector3D
class VmdBoneFrame():
def __init__(self, frame=0):
self.name = ''
self.frame = frame
self.position = QVector3D(0, 0, 0)
self.rotation = QQuaternion()
def write(self, fout):
fout.write(... | 34.648649 | 95 | 0.565523 |
ccf7b8a022781d12d0a991008ebe7fde4ef9e671 | 340 | rb | Ruby | trivia-time-backend/app/services/game_serializer.rb | B0NG0FURY/trivia-time | e1d858588c4afd3e492f4c656443af3395057755 | [
"MIT"
] | 1 | 2021-11-01T23:22:49.000Z | 2021-11-01T23:22:49.000Z | trivia-time-backend/app/services/game_serializer.rb | B0NG0FURY/trivia-time | e1d858588c4afd3e492f4c656443af3395057755 | [
"MIT"
] | null | null | null | trivia-time-backend/app/services/game_serializer.rb | B0NG0FURY/trivia-time | e1d858588c4afd3e492f4c656443af3395057755 | [
"MIT"
] | null | null | null | class GameSerializer
def initialize(game)
@game = game
end
def to_serialized_json
@game.to_json(include: {
questions: {methods: [:all_answers], only: [:text, :correct_answer]},
category: {only: [:name]}
}, except: [:user_id, :category_id, :created_at, :updat... | 24.285714 | 81 | 0.591176 |
54967e6729bb6cd141674014cad222c362f63f32 | 1,158 | css | CSS | src/styles/jawbar.css | brettz9/jawbar | ab0c792d1b1af6c2b1aa0c5cc237300e1e98033f | [
"MIT"
] | null | null | null | src/styles/jawbar.css | brettz9/jawbar | ab0c792d1b1af6c2b1aa0c5cc237300e1e98033f | [
"MIT"
] | null | null | null | src/styles/jawbar.css | brettz9/jawbar | ab0c792d1b1af6c2b1aa0c5cc237300e1e98033f | [
"MIT"
] | null | null | null | .jawbar-optionContainer {
position: absolute;
visibility: visible;
z-index: 101;
background-color: #ffffff;
border: 1px solid #000000;
overflow: auto;
}
.jawbar-hidden {
visibility: hidden;
}
.jawbar-dropdownButton {
position: absolute;
border: 0px;
width: 5px;
background: u... | 21.849057 | 231 | 0.664076 |
b08ed42d8685951ada4f5234dfde4ce55f2d0c04 | 9,510 | py | Python | Clue/S3LoadingSample.py | RijulT/examples | 497bba8df9717193fbc89f038bab081c25efd972 | [
"Unlicense"
] | null | null | null | Clue/S3LoadingSample.py | RijulT/examples | 497bba8df9717193fbc89f038bab081c25efd972 | [
"Unlicense"
] | 7 | 2018-07-13T00:36:38.000Z | 2021-10-20T03:02:20.000Z | Clue/S3LoadingSample.py | RijulT/examples | 497bba8df9717193fbc89f038bab081c25efd972 | [
"Unlicense"
] | 18 | 2016-08-05T16:19:01.000Z | 2021-07-07T18:30:11.000Z | '''
Example of reading a data file and loading it into S3 bucket
Files are processed from a "queue" directory and after processing
moved to a "processed" directory
Version: 1.6
Date: 2021-04-22
Version History:
Version Description Author
----------------... | 44.027778 | 182 | 0.660883 |
ab37b9b6c1529dfd213077de12a7206ad9506c18 | 168 | swift | Swift | demo/Checkmark/Source/RootViewController.swift | Blackjacx/SignInWithApple | 275894d1130268aec832c02dff49d4a353d8146c | [
"MIT"
] | 1 | 2019-12-20T21:59:02.000Z | 2019-12-20T21:59:02.000Z | demo/Checkmark/Source/RootViewController.swift | Blackjacx/SignInWithApple | 275894d1130268aec832c02dff49d4a353d8146c | [
"MIT"
] | null | null | null | demo/Checkmark/Source/RootViewController.swift | Blackjacx/SignInWithApple | 275894d1130268aec832c02dff49d4a353d8146c | [
"MIT"
] | null | null | null | import UIKit
final class RootViewController: UITableViewController {
@IBAction func didPressSignOut(_ sender: Any) {
GlobalState.performSignOut()
}
}
| 18.666667 | 55 | 0.72619 |
97ec2f8b0f9d622bf63a14bce251e34be5021473 | 413 | rb | Ruby | app/models/user.rb | muazzamnashat/finAdvisor-backend | 612c00c68d0b512546dd7f8516f7ab3a307f44d0 | [
"Unlicense"
] | null | null | null | app/models/user.rb | muazzamnashat/finAdvisor-backend | 612c00c68d0b512546dd7f8516f7ab3a307f44d0 | [
"Unlicense"
] | null | null | null | app/models/user.rb | muazzamnashat/finAdvisor-backend | 612c00c68d0b512546dd7f8516f7ab3a307f44d0 | [
"Unlicense"
] | null | null | null | class User < ApplicationRecord
has_many :transactions
has_many :bills
has_many :budgets
has_secure_password
validates :email, uniqueness: { case_sensitive: false }
def total_spend
Transaction.where(user_id: self.id, deposit: false).group_by_month(:date).sum(:amount)
end
def total_income
Tra... | 24.294118 | 90 | 0.748184 |
b332fd69b37397305a12fadff2c3f282ba18f273 | 8,527 | py | Python | src/copy.py | swerwath/monitor_mapper | 59a1f2977212e68abd6bc4906cd6d10b0430529e | [
"BSD-2-Clause"
] | null | null | null | src/copy.py | swerwath/monitor_mapper | 59a1f2977212e68abd6bc4906cd6d10b0430529e | [
"BSD-2-Clause"
] | null | null | null | src/copy.py | swerwath/monitor_mapper | 59a1f2977212e68abd6bc4906cd6d10b0430529e | [
"BSD-2-Clause"
] | null | null | null | from flask import Markup
CHEM_NAMES = {
"PM2.5" : "PM<sub>2.5</sub>",
"SO2" : "SO<sub>2</sub>",
"NO2" : "NO<sub>2</sub>",
"OZONE" : "ozone",
}
HEALTH_RISKS = {
"PM2.5" : "Long-term exposure increases the risk of death from <a href=\"https://www.ncbi.nlm.nih.gov/pubmed/20458016\">heart disease</a> ... | 92.684783 | 578 | 0.705406 |
c9ea044a70879d4c93febf98625e9e28d5d1c862 | 2,234 | ts | TypeScript | Samples/Widgets/infor.sample.workspace/services/workspace.service.ts | infor-hl-manila/homepage-widgets | 1ff1971579ca0a6f3fbab706bbb17fe6f3a33ae4 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-01-28T16:08:47.000Z | 2020-01-28T16:08:47.000Z | Samples/Widgets/infor.sample.workspace/services/workspace.service.ts | infor-hl-manila/homepage-widgets | 1ff1971579ca0a6f3fbab706bbb17fe6f3a33ae4 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2019-01-28T06:44:10.000Z | 2020-04-04T17:40:45.000Z | Samples/Widgets/infor.sample.workspace/services/workspace.service.ts | infor-hl-manila/homepages-widget | 1ff1971579ca0a6f3fbab706bbb17fe6f3a33ae4 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | import { Injectable, ViewContainerRef } from "@angular/core";
import { PanelComponentType, SohoContextualActionPanelService, SohoMessageService } from "@infor/sohoxi-angular";
import { Observable } from "rxjs";
@Injectable({
providedIn: "root",
})
export class WorkspaceService {
constructor(private capServic... | 26.915663 | 115 | 0.643688 |
45379a53e986312abc021ee2996dabeba38d6b50 | 34 | sql | SQL | app/ThirdParty/php-sql-parser/tests/expected/creator/issue86.sql | PedrinskyXV/catastro | edc25d9074ba3cdf4dd76d94c7a6b929abafcc05 | [
"MIT"
] | 535 | 2015-01-19T18:12:48.000Z | 2022-03-30T18:54:46.000Z | app/ThirdParty/php-sql-parser/tests/expected/creator/issue86.sql | PedrinskyXV/catastro | edc25d9074ba3cdf4dd76d94c7a6b929abafcc05 | [
"MIT"
] | 287 | 2015-01-17T21:55:46.000Z | 2022-03-04T11:55:31.000Z | app/ThirdParty/php-sql-parser/tests/expected/creator/issue86.sql | PedrinskyXV/catastro | edc25d9074ba3cdf4dd76d94c7a6b929abafcc05 | [
"MIT"
] | 171 | 2015-02-17T17:34:55.000Z | 2022-03-27T03:52:05.000Z | SELECT * FROM cities GROUP BY 1, 2 | 34 | 34 | 0.735294 |
df69a0edf52d14dedf1ae1fd77350d8510fa0483 | 1,606 | asm | Assembly | samples/sms/player_cntrl_dog/player_anm.asm | 0x8BitDev/MAPeD-SPReD | da1a8a582980ea5963777a46fd3dfddc0d69aa82 | [
"MIT"
] | 23 | 2019-05-16T20:23:49.000Z | 2022-03-13T21:53:10.000Z | samples/sms/player_cntrl_dog/player_anm.asm | 0x8BitDev/MAPeD-SPReD | da1a8a582980ea5963777a46fd3dfddc0d69aa82 | [
"MIT"
] | 6 | 2021-03-30T05:51:46.000Z | 2022-01-07T13:18:44.000Z | samples/sms/player_cntrl_dog/player_anm.asm | 0x8BitDev/MAPeD-SPReD | da1a8a582980ea5963777a46fd3dfddc0d69aa82 | [
"MIT"
] | null | null | null | ;########################################################################
;
; Copyright 2019-2020 0x8BitDev ( MIT license )
;
;########################################################################
.incdir "data"
.include "dog_gfx.asm"
player_tiles_0:
.incbin "dog_gfx_chr0.bin"
player_tiles_1:
.... | 19.82716 | 74 | 0.644458 |
f1799bb67831a2ae2c5c8ce584960779d1ac592a | 3,339 | rb | Ruby | spec/mmdb_spec.rb | trevorrjohn/mmdb | a61b9b25e78d3650f9d505386d44d5163dc216f6 | [
"MIT"
] | 1 | 2021-01-23T04:54:25.000Z | 2021-01-23T04:54:25.000Z | spec/mmdb_spec.rb | trevorrjohn/mmdb | a61b9b25e78d3650f9d505386d44d5163dc216f6 | [
"MIT"
] | 1 | 2020-03-17T14:14:55.000Z | 2020-03-17T14:14:55.000Z | spec/mmdb_spec.rb | trevorrjohn/mmdb | a61b9b25e78d3650f9d505386d44d5163dc216f6 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require 'json'
RSpec.describe Mmdb do
it 'has a version number' do
expect(Mmdb::VERSION).not_to be nil
end
describe '.query' do
context 'when VPN data' do
before do
Mmdb.configure do |c|
c.file_path = './spec/data/vpn_data.mmdb'
end
en... | 26.927419 | 88 | 0.550764 |
9c9ba8afed7fe5fc1eb50b40355cbb1285f1b189 | 3,185 | rs | Rust | src/os/macos/mod.rs | ArthurKValladares/gradle-bump | ba40bac89ec2f340bbbd242c4ac58ebeeda7e184 | [
"Apache-2.0",
"MIT"
] | 614 | 2020-08-07T18:38:54.000Z | 2022-03-25T12:34:00.000Z | src/os/macos/mod.rs | ArthurKValladares/gradle-bump | ba40bac89ec2f340bbbd242c4ac58ebeeda7e184 | [
"Apache-2.0",
"MIT"
] | 38 | 2020-11-25T19:31:16.000Z | 2022-03-05T03:10:13.000Z | src/os/macos/mod.rs | ArthurKValladares/gradle-bump | ba40bac89ec2f340bbbd242c4ac58ebeeda7e184 | [
"Apache-2.0",
"MIT"
] | 31 | 2020-10-29T03:44:38.000Z | 2022-03-05T03:42:10.000Z | mod ffi;
pub(super) mod info;
use core_foundation::{
array::CFArray,
base::{OSStatus, TCFType},
error::{CFError, CFErrorRef},
string::{CFString, CFStringRef},
url::CFURL,
};
use std::{
ffi::OsStr,
fmt::{self, Display},
path::{Path, PathBuf},
ptr,
};
// This can hopefully be relied ... | 28.185841 | 99 | 0.571743 |
f753427834e605d6994fa1ee3af7a7f00f63f2e3 | 1,957 | rb | Ruby | lib/puppet/network/http/rack/xmlrpc.rb | ccaum/puppet | 941e7945925f59e33dab2a09be505ea43ae8b3f2 | [
"Apache-2.0"
] | 8 | 2015-02-23T22:47:08.000Z | 2021-08-10T18:57:43.000Z | lib/puppet/network/http/rack/xmlrpc.rb | ccaum/puppet | 941e7945925f59e33dab2a09be505ea43ae8b3f2 | [
"Apache-2.0"
] | 4 | 2015-01-03T18:02:09.000Z | 2016-05-06T02:18:10.000Z | lib/puppet/network/http/rack/xmlrpc.rb | ccaum/puppet | 941e7945925f59e33dab2a09be505ea43ae8b3f2 | [
"Apache-2.0"
] | 7 | 2016-08-20T10:11:45.000Z | 2020-12-07T10:55:00.000Z | require 'puppet/network/http/rack/httphandler'
require 'puppet/network/xmlrpc/server'
require 'resolv'
class Puppet::Network::HTTP::RackXMLRPC < Puppet::Network::HTTP::RackHttpHandler
def initialize(handlers)
@xmlrpc_server = Puppet::Network::XMLRPCServer.new
handlers.each do |name|
Puppet.debug " -> ... | 29.651515 | 100 | 0.672969 |
1417216cc211450bb7b344bda69ce4001c88f230 | 10,865 | ts | TypeScript | app/models/stainer.ts | it7-solutions/accommodation-public-plugin | acd2c83da8f781cd5e2bb7e15be66d227714e667 | [
"MIT"
] | null | null | null | app/models/stainer.ts | it7-solutions/accommodation-public-plugin | acd2c83da8f781cd5e2bb7e15be66d227714e667 | [
"MIT"
] | null | null | null | app/models/stainer.ts | it7-solutions/accommodation-public-plugin | acd2c83da8f781cd5e2bb7e15be66d227714e667 | [
"MIT"
] | null | null | null | import {Collection} from './collection';
import {Day} from './day';
import {Room} from './room';
import {Hotel} from './hotel';
/**
* Created by Buzzer on 21.11.2016.
*/
export interface DataContainer {
hotel_id: string
room_type_id: string
date_input: string
date_output: string
hotels: Hotel[];
... | 34.492063 | 118 | 0.49977 |
e26993e5b3a56108d6511112466ebdb8c5f6880b | 1,330 | py | Python | 3. Strings/URI1873.py | antuniooh/uri-resolutions | c2844a9a6e2fae350293d6d24b0551691e7c8656 | [
"MIT"
] | null | null | null | 3. Strings/URI1873.py | antuniooh/uri-resolutions | c2844a9a6e2fae350293d6d24b0551691e7c8656 | [
"MIT"
] | null | null | null | 3. Strings/URI1873.py | antuniooh/uri-resolutions | c2844a9a6e2fae350293d6d24b0551691e7c8656 | [
"MIT"
] | null | null | null | N = int(input(""))
for x in range(0, N):
if N > 0:
s = input("")
s = s.split() #separar
if s[0] == s[1]:
print("empate")
else:
if s[0] == "tesoura":
if s[1] == "papel" or s[1] =="lagarto":
print("rajesh")
... | 32.439024 | 58 | 0.347368 |
a3a39dbc04599ce701a281bd3d8c53619f613de1 | 384 | ts | TypeScript | src/core/Callout/components/CalloutTitle/style.ts | codemonkey800/sci-components | 29d31effe6e2ad5285db1dd1085151e1b1465133 | [
"MIT"
] | 10 | 2021-03-08T20:42:36.000Z | 2022-03-29T15:24:19.000Z | src/core/Callout/components/CalloutTitle/style.ts | codemonkey800/sci-components | 29d31effe6e2ad5285db1dd1085151e1b1465133 | [
"MIT"
] | 128 | 2021-03-09T04:37:38.000Z | 2022-03-28T17:56:31.000Z | src/core/Callout/components/CalloutTitle/style.ts | codemonkey800/sci-components | 29d31effe6e2ad5285db1dd1085151e1b1465133 | [
"MIT"
] | 2 | 2021-12-21T23:19:22.000Z | 2022-01-11T22:55:03.000Z | import styled from "@emotion/styled";
import { AlertTitle } from "@material-ui/lab";
import { fontBody, getSpaces } from "src/core/styles";
const fontBodyXs = fontBody("xs");
export const StyledCalloutTitle = styled(AlertTitle)`
${fontBodyXs}
${(props) => {
const spacings = getSpaces(props);
return `
... | 21.333333 | 54 | 0.658854 |
8412be7f6e0a68f511e0668454f7cff75d7f3022 | 383 | swift | Swift | LaunchDarkly/LaunchDarkly/Networking/URLResponse.swift | neklollc/ios-client-sdk | 0f99af458701fd943a4ed7c3a70f658c842496f1 | [
"Apache-2.0"
] | null | null | null | LaunchDarkly/LaunchDarkly/Networking/URLResponse.swift | neklollc/ios-client-sdk | 0f99af458701fd943a4ed7c3a70f658c842496f1 | [
"Apache-2.0"
] | null | null | null | LaunchDarkly/LaunchDarkly/Networking/URLResponse.swift | neklollc/ios-client-sdk | 0f99af458701fd943a4ed7c3a70f658c842496f1 | [
"Apache-2.0"
] | null | null | null | //
// URLResponse.swift
// LaunchDarkly
//
// Created by Mark Pokorny on 3/13/19. +JMJ
// Copyright © 2019 Catamorphic Co. All rights reserved.
//
import Foundation
extension URLResponse {
var httpStatusCode: Int? {
return (self as? HTTPURLResponse)?.statusCode
}
var httpHeaderEtag: String? {... | 19.15 | 57 | 0.663185 |
95275a7bea2f2ea42281bf60c4b19cfd116c5a0b | 10,490 | sql | SQL | bem.sql | Jerry2204/bem-project | cec6e882da2340240e56c8768cdab8a9fcea8278 | [
"MIT"
] | null | null | null | bem.sql | Jerry2204/bem-project | cec6e882da2340240e56c8768cdab8a9fcea8278 | [
"MIT"
] | 1 | 2021-02-02T20:03:36.000Z | 2021-02-02T20:03:36.000Z | bem.sql | Jerry2204/bem-project | cec6e882da2340240e56c8768cdab8a9fcea8278 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 26, 2020 at 07:25 PM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.2.31
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 30.143678 | 249 | 0.691325 |
035c1df2b0914c66348714cf6954a774e217cb5f | 300 | cpp | C++ | Fundamentals/f_STLAssociativeContainers/c_pointIsInside.cpp | KaPrimov/cpp-courses | c114e46cd570d2e987ee65baf26dd85557f929d3 | [
"MIT"
] | null | null | null | Fundamentals/f_STLAssociativeContainers/c_pointIsInside.cpp | KaPrimov/cpp-courses | c114e46cd570d2e987ee65baf26dd85557f929d3 | [
"MIT"
] | null | null | null | Fundamentals/f_STLAssociativeContainers/c_pointIsInside.cpp | KaPrimov/cpp-courses | c114e46cd570d2e987ee65baf26dd85557f929d3 | [
"MIT"
] | null | null | null | #include <iostream>
int main() {
int x1, y1, x2, y2, x3, y3;
std::cin >> x1 >> y1 >> x2 >> y2 >> x3 >> y3;
bool isInside = x3 >= x1 && x3 <= x2 && y3 >= y1 && y3 <= y2;
if (isInside) {
std::cout << "Check point is inside";
} else {
std::cout << "Check point is outside";
}
return 0;
}
| 17.647059 | 62 | 0.516667 |
4596cb527b6a0d794e9825856661f34d54238d4e | 4,702 | py | Python | HRI/TFVT_HRI/perception/common/visualize.py | WorldEditors/PaddleRobotics | d02efd74662c6f78dfb964e8beb93f1914dcb2f3 | [
"Apache-2.0"
] | 146 | 2020-12-08T11:51:38.000Z | 2022-03-23T12:58:43.000Z | HRI/TFVT_HRI/perception/common/visualize.py | WorldEditors/PaddleRobotics | d02efd74662c6f78dfb964e8beb93f1914dcb2f3 | [
"Apache-2.0"
] | 10 | 2020-12-23T03:00:31.000Z | 2022-03-23T09:55:30.000Z | HRI/TFVT_HRI/perception/common/visualize.py | WorldEditors/PaddleRobotics | d02efd74662c6f78dfb964e8beb93f1914dcb2f3 | [
"Apache-2.0"
] | 43 | 2020-12-21T09:40:39.000Z | 2022-03-31T06:41:32.000Z | import cv2
import numpy as np
from PIL import Image
from PIL import ImageDraw
from subprocess import Popen, PIPE
import pycocotools.mask as coco_mask_util
def draw_bboxes(image, bboxes, labels=None, output_file=None, fill='red'):
"""
Draw bounding boxes on image.
Return image with drawings as BGR ndarray.... | 39.512605 | 78 | 0.547639 |
7b12923e61670c519b8c442a2f643a4f56f4018e | 3,258 | rb | Ruby | vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/formatter.rb | tbkoo53/Spina | 37e780ca4f48c298d8acb36590fcf5cf6ff36f95 | [
"MIT"
] | null | null | null | vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/formatter.rb | tbkoo53/Spina | 37e780ca4f48c298d8acb36590fcf5cf6ff36f95 | [
"MIT"
] | null | null | null | vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/formatter.rb | tbkoo53/Spina | 37e780ca4f48c298d8acb36590fcf5cf6ff36f95 | [
"MIT"
] | null | null | null | # encoding: utf-8
require "tmpdir"
require "securerandom"
require "json"
require "digest/sha1"
require "simplecov"
require "code_climate/test_reporter/exception_message"
require "code_climate/test_reporter/payload_validator"
module CodeClimate
module TestReporter
class Formatter
def format(results)
... | 31.028571 | 80 | 0.60221 |
efd274fe67f76bf5e23222d2c86b1aa79c36a6c4 | 657 | sql | SQL | 01-Class-Content/14-Full-Stack/01-Activities/04-StarWars/Unsolved/schema.sql | sharpzeb/bootcamp | 358aa123c946e41afde07822109a4d4614a44614 | [
"ADSL"
] | 8 | 2020-12-08T16:56:29.000Z | 2021-07-17T18:24:38.000Z | 01-Class-Content/14-Full-Stack/01-Activities/04-StarWars/Unsolved/schema.sql | sharpzeb/bootcamp | 358aa123c946e41afde07822109a4d4614a44614 | [
"ADSL"
] | 1 | 2021-01-16T15:35:51.000Z | 2021-01-16T15:35:51.000Z | 01-Class-Content/14-Full-Stack/01-Activities/04-StarWars/Unsolved/schema.sql | sharpzeb/bootcamp | 358aa123c946e41afde07822109a4d4614a44614 | [
"ADSL"
] | 6 | 2020-12-14T17:38:24.000Z | 2021-04-13T00:12:17.000Z | /*
This file is intended to help developers get their SQL Databases setup correctly.
It is important since other developers will be unlikely to have the same database or tables setup already.
*/
/* Create and use the starwars db */
DROP DATABASE IF EXISTS `starwars`;
CREATE DATABASE `starwars`;
USE `starwars`;
/* Cr... | 28.565217 | 106 | 0.713851 |
51f8c142354c94b1ff6ce037530ecfd337dc2fb0 | 7,735 | dart | Dart | lib/message/messageRepo.dart | aruntemme/flutchat | 2a6f82d5f79bf867b39afdc5f1d3a3836adcc60e | [
"MIT"
] | null | null | null | lib/message/messageRepo.dart | aruntemme/flutchat | 2a6f82d5f79bf867b39afdc5f1d3a3836adcc60e | [
"MIT"
] | null | null | null | lib/message/messageRepo.dart | aruntemme/flutchat | 2a6f82d5f79bf867b39afdc5f1d3a3836adcc60e | [
"MIT"
] | null | null | null | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'message.dart';
import '../groupModel.dart';
class MessageRepo {
CollectionReference reference = Firestore.instance.collection("message");
//? Check if room exists else create it
setReference(Gro... | 31.70082 | 82 | 0.581513 |
a1985a97a164c19598e39213e559f614bc72d438 | 803 | ts | TypeScript | packages/trie-codec/src/stream/createBranch.ts | hskang9/common | 8fa67cdcf3452205338e37f21f8bdeb9193d2707 | [
"Apache-2.0"
] | null | null | null | packages/trie-codec/src/stream/createBranch.ts | hskang9/common | 8fa67cdcf3452205338e37f21f8bdeb9193d2707 | [
"Apache-2.0"
] | null | null | null | packages/trie-codec/src/stream/createBranch.ts | hskang9/common | 8fa67cdcf3452205338e37f21f8bdeb9193d2707 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017-2019 @polkadot/trie-codec authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { u8aConcat } from '@polkadot/util';
import { BITMAP, BRANCH_NODE_NO_VALUE, BRANCH_NODE_WITH_VALUE } from '../const... | 26.766667 | 101 | 0.666252 |
04261c99db3bf9a9e48d49ccffca3098709f464e | 335 | hpp | C++ | deps/Rack-SDK/include/engine/Param.hpp | pinting/GdRackBridge | 346616f1bee0f7a4770c81277a625ae1e5421664 | [
"MIT"
] | null | null | null | deps/Rack-SDK/include/engine/Param.hpp | pinting/GdRackBridge | 346616f1bee0f7a4770c81277a625ae1e5421664 | [
"MIT"
] | null | null | null | deps/Rack-SDK/include/engine/Param.hpp | pinting/GdRackBridge | 346616f1bee0f7a4770c81277a625ae1e5421664 | [
"MIT"
] | null | null | null | #pragma once
#include <common.hpp>
#include <math.hpp>
namespace rack {
namespace engine {
struct Param {
/** Unstable API. Use setValue() and getValue() instead. */
float value = 0.f;
float getValue() {
return value;
}
void setValue(float value) {
this->value = value;
}
};
} // namespace engine
} // ... | 12.884615 | 60 | 0.653731 |
e80451356e483d633a3ae302259e9288aa5ca00d | 12,107 | swift | Swift | Sources/Charcoal/CharcoalViewController.swift | bstien/charcoal-ios | 66667680a698eb385ce8acf9b4b422af6457574b | [
"MIT"
] | null | null | null | Sources/Charcoal/CharcoalViewController.swift | bstien/charcoal-ios | 66667680a698eb385ce8acf9b4b422af6457574b | [
"MIT"
] | null | null | null | Sources/Charcoal/CharcoalViewController.swift | bstien/charcoal-ios | 66667680a698eb385ce8acf9b4b422af6457574b | [
"MIT"
] | null | null | null | //
// Copyright © FINN.no AS, Inc. All rights reserved.
//
import UIKit
public protocol CharcoalViewControllerTextEditingDelegate: AnyObject {
func charcoalViewControllerWillBeginTextEditing(_ viewController: CharcoalViewController)
func charcoalViewControllerWillEndTextEditing(_ viewController: CharcoalView... | 39.18123 | 145 | 0.717601 |
c8cc632b9a57ce6b721d101a0ec2ce5200212eb4 | 5,968 | css | CSS | src/main/webapp/css/base.css | suguru/cassandra-webconsole | 22415f259d825880acc89b8265f16b4c9e426783 | [
"Apache-2.0"
] | 17 | 2015-01-05T02:53:29.000Z | 2020-08-31T08:38:24.000Z | src/main/webapp/css/base.css | suguru/cassandra-webconsole | 22415f259d825880acc89b8265f16b4c9e426783 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/css/base.css | suguru/cassandra-webconsole | 22415f259d825880acc89b8265f16b4c9e426783 | [
"Apache-2.0"
] | 12 | 2015-06-08T01:41:49.000Z | 2021-08-31T05:29:55.000Z |
body {
background: #fff;
margin: 0;
padding: 0;
font-family: Arial;
font-size: 0.9em;
}
h1, h2, h3, h4, h5 {
margin: 0;
padding: 0;
font-size: 1.0em;
}
h1 {
background: #333;
background: -webkit-gradient(linear, left top, left bottom, from(#555), to(#333));
background: -moz-linear-gradie... | 17.814925 | 90 | 0.620476 |
b05fb30c052341cafcc7fc10ade5c4fe2a332cf8 | 3,701 | py | Python | python/plotrecording.py | eric-wieser/4m20-coursework2 | 3b894563eb35336faa7e5f04dccb1a3fd9bfbc65 | [
"MIT"
] | null | null | null | python/plotrecording.py | eric-wieser/4m20-coursework2 | 3b894563eb35336faa7e5f04dccb1a3fd9bfbc65 | [
"MIT"
] | null | null | null | python/plotrecording.py | eric-wieser/4m20-coursework2 | 3b894563eb35336faa7e5f04dccb1a3fd9bfbc65 | [
"MIT"
] | null | null | null | #! python3
"""
Pass this program a filename as the first argument
"""
import sys
import pickle
import numpy as np
import matplotlib.pyplot as plt
from robot.base import State
import config
from logger import augment
def add_arrow(line, direction='right', size=15, color=None, n=1):
"""
add an arrow to a line.... | 30.841667 | 90 | 0.656039 |
6b81f7da587c68f08243fdccf89dc05b0f6d1e7a | 1,473 | js | JavaScript | lib/v2/disinformationindex/research.js | magicLaLa/RSSHub | 76cc2e37af112f29d8b659fa528c8e439b1457dc | [
"MIT"
] | 16 | 2018-04-02T14:57:10.000Z | 2018-04-06T13:02:50.000Z | lib/v2/disinformationindex/research.js | magicLaLa/RSSHub | 76cc2e37af112f29d8b659fa528c8e439b1457dc | [
"MIT"
] | 274 | 2021-11-26T08:27:02.000Z | 2022-03-31T21:34:27.000Z | lib/v2/disinformationindex/research.js | magicLaLa/RSSHub | 76cc2e37af112f29d8b659fa528c8e439b1457dc | [
"MIT"
] | 1 | 2020-05-10T04:04:21.000Z | 2020-05-10T04:04:21.000Z | const got = require('@/utils/got');
const cheerio = require('cheerio');
const { art } = require('@/utils/render');
const path = require('path');
module.exports = async (ctx) => {
const rootUrl = 'https://disinformationindex.org';
const currentUrl = `${rootUrl}/research`;
const response = await got({
... | 32.021739 | 97 | 0.496945 |
464f35fe9e7ebeb77b5c8f95ed59426c4675036b | 111 | php | PHP | module/Core/src/Core/Model/EntityException.php | mikesavegnago/blog | fd5e1e5b92332353dd70a2f66fe2f694cd30c57d | [
"BSD-3-Clause"
] | null | null | null | module/Core/src/Core/Model/EntityException.php | mikesavegnago/blog | fd5e1e5b92332353dd70a2f66fe2f694cd30c57d | [
"BSD-3-Clause"
] | null | null | null | module/Core/src/Core/Model/EntityException.php | mikesavegnago/blog | fd5e1e5b92332353dd70a2f66fe2f694cd30c57d | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace Core\Model;
/**
* @package Core\Model
*
*/
class EntityException extends \Exception {}
| 12.333333 | 43 | 0.657658 |
c3961826c9a55648ea15a1901983e04136c83265 | 456 | cs | C# | src/Core/LifetimeAttribute.cs | MapsysInc/Microsoft.Extensions.DependencyInjection.Attribute | 0bc6755d10f9f0736ae05f11675fecc05adfd8fa | [
"MIT"
] | null | null | null | src/Core/LifetimeAttribute.cs | MapsysInc/Microsoft.Extensions.DependencyInjection.Attribute | 0bc6755d10f9f0736ae05f11675fecc05adfd8fa | [
"MIT"
] | null | null | null | src/Core/LifetimeAttribute.cs | MapsysInc/Microsoft.Extensions.DependencyInjection.Attribute | 0bc6755d10f9f0736ae05f11675fecc05adfd8fa | [
"MIT"
] | null | null | null | namespace MapsysInc.Extensions.DependencyInjection.AttributeRegistration
{
using Microsoft.Extensions.DependencyInjection;
using System;
public abstract class LifetimeAttribute : Attribute
{
protected LifetimeAttribute(ServiceLifetime serviceLifetime)
{
ServiceLifetime = se... | 26.823529 | 73 | 0.699561 |
8c700b426ea3a27545df5ec07251d489ae3dfba4 | 1,778 | rb | Ruby | lib/omniauth-slack/debug.rb | mode/omniauth-slack | bf7c80532d45364512bfd06007ad881aa5d39e44 | [
"MIT"
] | 35 | 2016-11-11T10:23:39.000Z | 2022-03-17T22:14:41.000Z | lib/omniauth-slack/debug.rb | mode/omniauth-slack | bf7c80532d45364512bfd06007ad881aa5d39e44 | [
"MIT"
] | 17 | 2018-07-25T23:47:08.000Z | 2022-02-16T13:05:21.000Z | lib/omniauth-slack/debug.rb | mode/omniauth-slack | bf7c80532d45364512bfd06007ad881aa5d39e44 | [
"MIT"
] | 20 | 2016-11-30T23:29:42.000Z | 2021-03-07T16:02:00.000Z | require 'omniauth-slack/refinements'
require 'logger'
# Appends 'TRACE' option to Logger levels.
sev_label_new = Logger::SEV_LABEL.dup
sev_label_new << 'TRACE'
Logger::Severity::TRACE = (sev_label_new.size - 1)
Logger.send(:remove_const, :SEV_LABEL)
Logger::SEV_LABEL = sev_label_new.freeze
module OmniAuth
module Sl... | 31.192982 | 97 | 0.609674 |
55e790c6dd7aef334479db4afad027779594a374 | 2,417 | swift | Swift | Samples/EmbeddedAuthWithSDKs/EmbeddedAuth/View Controllers/TokenDetailViewController.swift | chrisdmills-okta/okta-idx-swift | 1375a45816cf95994b14b5026e0c20ca92c16d3e | [
"Apache-2.0"
] | 4 | 2021-05-11T16:00:19.000Z | 2021-11-17T09:10:53.000Z | Samples/EmbeddedAuthWithSDKs/EmbeddedAuth/View Controllers/TokenDetailViewController.swift | chrisdmills-okta/okta-idx-swift | 1375a45816cf95994b14b5026e0c20ca92c16d3e | [
"Apache-2.0"
] | 9 | 2021-03-01T22:36:39.000Z | 2021-08-04T21:57:08.000Z | Samples/EmbeddedAuthWithSDKs/EmbeddedAuth/View Controllers/TokenDetailViewController.swift | chrisdmills-okta/okta-idx-swift | 1375a45816cf95994b14b5026e0c20ca92c16d3e | [
"Apache-2.0"
] | 3 | 2021-10-11T14:01:19.000Z | 2022-01-26T19:25:30.000Z | /*
* Copyright (c) 2021-Present, Okta, Inc. and/or its affiliates. All rights reserved.
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
*
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
* Unless required b... | 39.622951 | 120 | 0.653289 |
e779aed9298ff4568e9cf72fdf2fe00d34de46f6 | 1,041 | swift | Swift | OnBoarding/OnBoarding/OnBoardingTests/OnBoardingTests.swift | tauheed94/Onboarding-SampleApp | 39cfa46050e1295d046ea79ece089cd5ac829bb4 | [
"MIT"
] | null | null | null | OnBoarding/OnBoarding/OnBoardingTests/OnBoardingTests.swift | tauheed94/Onboarding-SampleApp | 39cfa46050e1295d046ea79ece089cd5ac829bb4 | [
"MIT"
] | 1 | 2016-12-15T15:45:13.000Z | 2016-12-15T15:45:13.000Z | OnBoarding/OnBoarding/OnBoardingTests/OnBoardingTests.swift | tauheed94/Onboarding-SampleApp | 39cfa46050e1295d046ea79ece089cd5ac829bb4 | [
"MIT"
] | null | null | null | //
// OnBoardingTests.swift
// OnBoardingTests
//
// Created by iMac on 12/13/16.
// Copyright © 2016 codekindle. All rights reserved.
// Copyright © 2016 Mohd Tauheed Uddin Siddiqui. All rights reserved.
import XCTest
@testable import OnBoarding
class OnBoardingTests: XCTestCase {
override func setUp()... | 28.135135 | 111 | 0.645533 |
823866c622993947d13d44d2a93ed3a2d5c02c5f | 5,408 | rs | Rust | bindings/ergo-lib-c-core/src/constant.rs | ross-weir/sigma-rust | 90591f327e9c0d7b6811308cafe9bab094272624 | [
"CC0-1.0"
] | null | null | null | bindings/ergo-lib-c-core/src/constant.rs | ross-weir/sigma-rust | 90591f327e9c0d7b6811308cafe9bab094272624 | [
"CC0-1.0"
] | null | null | null | bindings/ergo-lib-c-core/src/constant.rs | ross-weir/sigma-rust | 90591f327e9c0d7b6811308cafe9bab094272624 | [
"CC0-1.0"
] | null | null | null | //! Ergo constant values
use std::convert::TryFrom;
use crate::{
ergo_box::{ConstErgoBoxPtr, ErgoBox, ErgoBoxPtr},
util::{const_ptr_as_ref, mut_ptr_as_mut},
Error,
};
use ergo_lib::{
ergo_chain_types::Base16DecodedBytes,
ergotree_ir::{
base16_str::Base16Str,
mir::constant::{TryExtr... | 37.296552 | 98 | 0.699519 |
46c5fc10add6f8180c6a2fbb40cb858c05fe6d93 | 5,903 | py | Python | choicer/test/core_tests.py | tonimichel/django-choicer | 69bce93585c6b3711f90c893d449e3eb3ce44eb5 | [
"MIT"
] | 3 | 2016-03-28T16:26:33.000Z | 2016-07-14T08:58:34.000Z | choicer/test/core_tests.py | tonimichel/django-choicer | 69bce93585c6b3711f90c893d449e3eb3ce44eb5 | [
"MIT"
] | null | null | null | choicer/test/core_tests.py | tonimichel/django-choicer | 69bce93585c6b3711f90c893d449e3eb3ce44eb5 | [
"MIT"
] | 2 | 2017-08-16T12:16:48.000Z | 2021-03-13T15:03:14.000Z | from __future__ import unicode_literals, print_function
import unittest
import choicer
from choicer import exceptions
class ChoicerTests(unittest.TestCase):
def setUp(self):
self.CHOICE_LIST = [
dict(
name='approved',
value=0,
verbose_name='Appr... | 30.117347 | 97 | 0.605624 |
fb39c57ce841164c41abdceedfece50172c6ecc8 | 43,524 | rs | Rust | sbp-derive/src/lib.rs | 4lDO2/sbp-rs | fba67c72a304f0c0a1d27893878633528d47eb92 | [
"Apache-2.0",
"MIT"
] | null | null | null | sbp-derive/src/lib.rs | 4lDO2/sbp-rs | fba67c72a304f0c0a1d27893878633528d47eb92 | [
"Apache-2.0",
"MIT"
] | null | null | null | sbp-derive/src/lib.rs | 4lDO2/sbp-rs | fba67c72a304f0c0a1d27893878633528d47eb92 | [
"Apache-2.0",
"MIT"
] | null | null | null | extern crate proc_macro;
use proc_macro::TokenStream;
use quote::quote;
use syn::{parse_macro_input, ItemStruct};
#[derive(Clone, Copy, Debug)]
enum Endianness {
Little,
Big,
}
fn match_single_angle_bracketed_type(args: &syn::PathArguments) -> Option<syn::Ident> {
if let syn::PathArguments::AngleBrackete... | 33.199085 | 139 | 0.461286 |
cdbf29c5cfd4068dc6e8b5913e52f2f1aeaf3b64 | 3,170 | cs | C# | src/Lucene.Net.Tests/Util/JunitCompat/TestBeforeAfterOverrides.cs | geocom-gis/lucenenet | 24c07758b99ff5cd56fe49d10cd8389f792d9c65 | [
"Apache-2.0"
] | 1,659 | 2015-01-01T18:06:38.000Z | 2022-03-29T07:44:04.000Z | src/Lucene.Net.Tests/Util/JunitCompat/TestBeforeAfterOverrides.cs | geocom-gis/lucenenet | 24c07758b99ff5cd56fe49d10cd8389f792d9c65 | [
"Apache-2.0"
] | 321 | 2015-01-03T15:44:03.000Z | 2022-03-31T22:16:25.000Z | src/Lucene.Net.Tests/Util/JunitCompat/TestBeforeAfterOverrides.cs | geocom-gis/lucenenet | 24c07758b99ff5cd56fe49d10cd8389f792d9c65 | [
"Apache-2.0"
] | 608 | 2015-01-06T03:59:33.000Z | 2022-03-16T08:05:12.000Z | using NUnit.Framework;
namespace Lucene.Net.Util.JunitCompat
{
using After = org.junit.After;
using Assert = org.junit.Assert;
using Before = org.junit.Before;
using Test = org.junit.Test;
using JUnitCore = org.junit.runner.JUnitCore;
using Result = org.junit.runner.Result;
/*
* Licensed to the Apache Softw... | 30.776699 | 104 | 0.726498 |
148d06d61d4f2850b61da0f3322a404362bbd249 | 61 | ts | TypeScript | packages/stream-node/index.d.ts | jessysaurusrex/endo | a612cd67c6087091403375b0233cffdbaa7eea34 | [
"Apache-2.0"
] | 203 | 2021-03-15T09:28:14.000Z | 2022-03-26T20:42:49.000Z | packages/stream-node/index.d.ts | jessysaurusrex/endo | a612cd67c6087091403375b0233cffdbaa7eea34 | [
"Apache-2.0"
] | 393 | 2021-03-13T00:38:24.000Z | 2022-03-25T18:47:08.000Z | packages/stream-node/index.d.ts | jessysaurusrex/endo | a612cd67c6087091403375b0233cffdbaa7eea34 | [
"Apache-2.0"
] | 29 | 2021-03-18T15:34:29.000Z | 2022-03-08T14:36:07.000Z | export { makeNodeReader, makeNodeWriter } from './index.js';
| 30.5 | 60 | 0.737705 |
ef50c8627dbd672e08c3533926394756da451ca3 | 284 | php | PHP | src/Event/CartItemRemoveEvent.php | jamesdb/cart | 7b426f9b58022f2421fece6e6b264dd8c4d9d0f7 | [
"MIT"
] | 11 | 2015-10-14T18:42:36.000Z | 2021-02-25T09:16:08.000Z | src/Event/CartItemRemoveEvent.php | jamesdb/cart | 7b426f9b58022f2421fece6e6b264dd8c4d9d0f7 | [
"MIT"
] | null | null | null | src/Event/CartItemRemoveEvent.php | jamesdb/cart | 7b426f9b58022f2421fece6e6b264dd8c4d9d0f7 | [
"MIT"
] | null | null | null | <?php
namespace jamesdb\Cart\Event;
use jamesdb\Cart\Event\AbstractCartEvent;
class CartItemRemoveEvent extends AbstractCartEvent
{
/**
* Return the Event name.
*
* @return string
*/
public function getName()
{
return 'cart.remove';
}
}
| 14.947368 | 51 | 0.630282 |
1f548fdcc5c910998bf6235ed028d85f18847193 | 2,452 | cshtml | C# | src/HCMS.Web/Themes/ARXE_ASC/Pages/projects_filter.cshtml | m-esm/HCMS | ce235266096dbc9fa3d0658a1106bd7f550e031a | [
"MIT"
] | 2 | 2017-12-26T13:01:07.000Z | 2018-01-06T19:02:31.000Z | src/HCMS.Web/Themes/ARXE_ASC/Pages/projects_filter.cshtml | m-esm/HCMS | ce235266096dbc9fa3d0658a1106bd7f550e031a | [
"MIT"
] | null | null | null | src/HCMS.Web/Themes/ARXE_ASC/Pages/projects_filter.cshtml | m-esm/HCMS | ce235266096dbc9fa3d0658a1106bd7f550e031a | [
"MIT"
] | null | null | null | @{
var projects = HCMS.Dynamics.Data.DDB.GetTable("arxe_arch", "arch_project").DRows.Where(p => p.GetValue("Confirmed").Value == "true");
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "application/javascript";
int size = 0;
int status = 0;
int program = 0;
int... | 28.847059 | 138 | 0.569739 |
c4165c13cd4a8bee3f87127c8beddb720f43bd98 | 12,157 | hpp | C++ | src/framework/shared/inc/private/common/fxirp.hpp | IT-Enthusiast-Nepal/Windows-Driver-Frameworks | bfee6134f30f92a90dbf96e98d54582ecb993996 | [
"MIT"
] | 994 | 2015-03-18T21:37:07.000Z | 2019-04-26T04:04:14.000Z | src/framework/shared/inc/private/common/fxirp.hpp | IT-Enthusiast-Nepal/Windows-Driver-Frameworks | bfee6134f30f92a90dbf96e98d54582ecb993996 | [
"MIT"
] | 9 | 2015-03-19T08:40:01.000Z | 2019-03-24T22:54:51.000Z | src/framework/shared/inc/private/common/fxirp.hpp | IT-Enthusiast-Nepal/Windows-Driver-Frameworks | bfee6134f30f92a90dbf96e98d54582ecb993996 | [
"MIT"
] | 350 | 2015-03-19T04:29:46.000Z | 2019-05-05T23:26:50.000Z | /*++
Copyright (c) Microsoft Corporation
Module Name:
FxIrp.hpp
Abstract:
This module implements a class for handling irps.
Author:
Environment:
Both kernel and user mode
Revision History:
// A function for when not assigning
... | 14.302353 | 81 | 0.591182 |
af0b15443fe2162f244831fafb7bc412b4bb4a89 | 1,107 | py | Python | igf_data/utils/seqrunutils.py | imperial-genomics-facility/data-management-python | 7b867d8d4562a49173d0b823bdc4bf374a3688f0 | [
"Apache-2.0"
] | 7 | 2018-05-08T07:28:08.000Z | 2022-02-21T14:56:49.000Z | igf_data/utils/seqrunutils.py | imperial-genomics-facility/data-management-python | 7b867d8d4562a49173d0b823bdc4bf374a3688f0 | [
"Apache-2.0"
] | 15 | 2021-08-19T12:32:20.000Z | 2022-02-09T19:52:51.000Z | igf_data/utils/seqrunutils.py | imperial-genomics-facility/data-management-python | 7b867d8d4562a49173d0b823bdc4bf374a3688f0 | [
"Apache-2.0"
] | 2 | 2017-05-12T15:20:10.000Z | 2020-05-07T16:25:11.000Z | import datetime
from igf_data.igfdb.seqrunadaptor import SeqrunAdaptor
from igf_data.utils.dbutils import read_dbconf_json, read_json_data
def load_new_seqrun_data(data_file, dbconfig):
'''
A method for loading new data for seqrun table
'''
try:
formatted_data=read_json_data(data_file)
dbparam=read_dbc... | 32.558824 | 121 | 0.69196 |
e7c97ee0d77343e9506b256168754e198486e492 | 4,664 | go | Go | server/fileserver.go | ngergs/webserver | a70ceae0d353a257b79b567242bacb28cfcce1bd | [
"MIT"
] | null | null | null | server/fileserver.go | ngergs/webserver | a70ceae0d353a257b79b567242bacb28cfcce1bd | [
"MIT"
] | null | null | null | server/fileserver.go | ngergs/webserver | a70ceae0d353a257b79b567242bacb28cfcce1bd | [
"MIT"
] | null | null | null | package server
import (
"context"
"io"
"io/fs"
"net/http"
"path"
"github.com/ngergs/websrv/utils"
"github.com/rs/zerolog/log"
)
// fileserverHandler is the main struct used for serving files
type fileserverHandler struct {
fetch fileFetch
mediaTypeMap map[string]string
}
// fileFetch is a named func... | 36.4375 | 198 | 0.735635 |
834bba1f3674a4650770a5452dbd4ca20a09ab7f | 406 | tsx | TypeScript | components/Footer.tsx | misa198/misadrop | 918b1d920f4e112c688aac35701e6d5880e0bd60 | [
"MIT"
] | 1 | 2021-11-09T16:50:45.000Z | 2021-11-09T16:50:45.000Z | components/Footer.tsx | misa198/misadrop | 918b1d920f4e112c688aac35701e6d5880e0bd60 | [
"MIT"
] | null | null | null | components/Footer.tsx | misa198/misadrop | 918b1d920f4e112c688aac35701e6d5880e0bd60 | [
"MIT"
] | null | null | null | import { FC } from 'react';
import { useAppSelector } from '../app/hooks/redux';
import User from './User';
import styles from './Footer.module.css';
const Footer: FC = () => {
const user = useAppSelector((state) => state.user);
return (
<div className={`w-full flex justify-center ${styles.footer}`}>
<U... | 23.882353 | 67 | 0.633005 |
fb56d618cde1550ff5eee56698eb738eb5946a79 | 1,641 | dart | Dart | src/third_party/dart/samples-dev/swarm/BiIterator.dart | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 8,969 | 2015-05-16T16:49:24.000Z | 2022-03-31T19:54:40.000Z | samples-dev/swarm/BiIterator.dart | Fareed-Ahmad7/sdk | 5183ba3ca4fe3787cae3c0a6cc7f8748ff01bcf5 | [
"BSD-3-Clause"
] | 30,202 | 2015-05-17T02:27:45.000Z | 2022-03-31T22:54:46.000Z | samples-dev/swarm/BiIterator.dart | Fareed-Ahmad7/sdk | 5183ba3ca4fe3787cae3c0a6cc7f8748ff01bcf5 | [
"BSD-3-Clause"
] | 1,619 | 2015-05-16T21:36:42.000Z | 2022-03-29T20:36:59.000Z | // @dart = 2.9
part of swarmlib;
/**
* An iterator that allows the user to move forward and backward though
* a set of items. (Bi-directional)
*/
class BiIterator<E> {
/**
* Provides forward and backward iterator functionality to keep track
* which item is currently selected.
*/
ObservableValue<int> c... | 23.112676 | 75 | 0.626447 |
c814bc03a4195db09ed8513475b64a57a3f8d30d | 1,758 | kt | Kotlin | src/main/kotlin/model/Model.kt | Vraiment/SSR | bc1b09e963b56ffbeb607a85a8175d7d205c7e0a | [
"MIT"
] | 1 | 2019-01-05T08:36:01.000Z | 2019-01-05T08:36:01.000Z | src/main/kotlin/model/Model.kt | Vraiment/SSR | bc1b09e963b56ffbeb607a85a8175d7d205c7e0a | [
"MIT"
] | null | null | null | src/main/kotlin/model/Model.kt | Vraiment/SSR | bc1b09e963b56ffbeb607a85a8175d7d205c7e0a | [
"MIT"
] | null | null | null | package vraiment.sage.ssr.model
data class Id(val value: Int)
data class IdInArea(val id: Id, val area: Id)
data class Conversation(val area: Id, val id: Id, val number: Byte)
data class Conversations(val conditions: Map<Condition, Boolean>, val entries: List<Conversation>) {
enum class Condition {
khak... | 21.439024 | 100 | 0.530717 |
afe6d5298da22a252d28515610529ef023c26611 | 5,324 | py | Python | examples/proof-of-concept/mkparcol.py | minireference/paralleletex | f5fe5f8b5851c8181928bb6074dbdb9eaf6311ec | [
"MIT"
] | null | null | null | examples/proof-of-concept/mkparcol.py | minireference/paralleletex | f5fe5f8b5851c8181928bb6074dbdb9eaf6311ec | [
"MIT"
] | null | null | null | examples/proof-of-concept/mkparcol.py | minireference/paralleletex | f5fe5f8b5851c8181928bb6074dbdb9eaf6311ec | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import re
LEFT_SOURCE_FILE = '11_solving_equationsFR.tex'
LEFT_LANGUAGE = 'french'
RIGHT_SOURCE_FILE = '11_solving_equationsEN.tex'
RIGHT_LANGUAGE = 'english'
PARCOL_OUT_FILE = '11_solving_equations_FR_en.tex'
CHOOSE_SHARED = 'left'
PAR_RE = re.compile('[.*]?\%\%[ ]?PAR(?P<par_id>[\d]{2,4... | 24.648148 | 95 | 0.589406 |
b2de66b1bce684dae12fb8eaee2dcd17243030c6 | 19,465 | css | CSS | assets/css/style.css | kancha05656/Brows-Design-Center | 5c932b6553bb3bef21417a41540b2a7de638dd43 | [
"MIT"
] | null | null | null | assets/css/style.css | kancha05656/Brows-Design-Center | 5c932b6553bb3bef21417a41540b2a7de638dd43 | [
"MIT"
] | null | null | null | assets/css/style.css | kancha05656/Brows-Design-Center | 5c932b6553bb3bef21417a41540b2a7de638dd43 | [
"MIT"
] | null | null | null |
/************** Default CSS **************/
:root {
--body: #fff;
--a: #5c656d;
--p: #5c656d;
--h: #202020;
--dark: #1F1F20;
--primary:#fb90b1;
}
body {
font-family: 'Roboto', sans-serif;
font-weight: normal;
font-style: normal;
background-color: var(--body);
padding:0;
margin:0;
}
a,
.butto... | 19.083333 | 141 | 0.600257 |
b7a949166a0b0b094aafdef28e98cab9985b4041 | 2,727 | cpp | C++ | src/3d/qgscamerapose.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | src/3d/qgscamerapose.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | src/3d/qgscamerapose.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | /***************************************************************************
qgscamerapose.cpp
--------------------------------------
Date : July 2018
Copyright : (C) 2018 by Martin Dobias
Email : wonder dot sk at gmail dot com
***************************************... | 47.017241 | 118 | 0.582325 |
be4129bdb5fb08b6f89c6109f3300e41f1b0856a | 152 | sql | SQL | 5.2.3/Database/Indexes/AFW_12_GROUP_GADGT_UTILS_UK1.sql | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | 1 | 2017-07-06T14:53:28.000Z | 2017-07-06T14:53:28.000Z | 5.2.3/Database/Indexes/AFW_12_GROUP_GADGT_UTILS_UK1.sql | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | null | null | null | 5.2.3/Database/Indexes/AFW_12_GROUP_GADGT_UTILS_UK1.sql | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | null | null | null | SET DEFINE OFF;
CREATE UNIQUE INDEX AFW_12_GROUP_GADGT_UTILS_UK1 ON AFW_12_GROUP_GADGT_UTILS
(REF_UTILS_DEMDR, REF_UTILS, REF_TABL_BORD, NOM)
LOGGING
/
| 25.333333 | 76 | 0.855263 |
3b647e9e5134f1d0d96549934262cf4cc616e117 | 422 | swift | Swift | Package.swift | TharinduMPerera/Nantes | c7e278e0fc8becb15037aa3ba96d49095b668afa | [
"Apache-2.0"
] | null | null | null | Package.swift | TharinduMPerera/Nantes | c7e278e0fc8becb15037aa3ba96d49095b668afa | [
"Apache-2.0"
] | null | null | null | Package.swift | TharinduMPerera/Nantes | c7e278e0fc8becb15037aa3ba96d49095b668afa | [
"Apache-2.0"
] | null | null | null | // swift-tools-version:4.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Nantes",
dependencies: [],
// Note: SPM requires 1 target to build the package
targets: [
.target(
na... | 22.210526 | 96 | 0.599526 |
6e27290d1469f081c98ea8b4005de9e833d91011 | 72 | sql | SQL | src/test/resources/sql/create_table/e258ce90.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/create_table/e258ce90.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/create_table/e258ce90.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:domain.sql ln:462 expect:true
create table ddtest2(f1 ddtest1d)
| 24 | 37 | 0.777778 |
76701484f7e2863a2b9448b845f4564271b06e54 | 2,240 | dart | Dart | lib/src/generated/vision/VNGenerateImageSaliencyRequest.dart | rodydavis/cupertino_ffi_generated | 4d59f68921a5ae1ba58831c9de83ea0d7979148f | [
"MIT"
] | 2 | 2021-05-10T01:24:08.000Z | 2021-12-13T10:24:41.000Z | lib/src/generated/vision/VNGenerateImageSaliencyRequest.dart | rodydavis/cupertino_ffi_generated | 4d59f68921a5ae1ba58831c9de83ea0d7979148f | [
"MIT"
] | null | null | null | lib/src/generated/vision/VNGenerateImageSaliencyRequest.dart | rodydavis/cupertino_ffi_generated | 4d59f68921a5ae1ba58831c9de83ea0d7979148f | [
"MIT"
] | null | null | null | // AUTOMATICALLY GENERATED. DO NOT EDIT.
part of cupertino_ffi.vision;
/// Static methods for Objective-C class `VNGenerateImageSaliencyRequest`.
/// See also instance methods in [VNGenerateImageSaliencyRequestPointer].
///
/// Find detailed documentation at: [developer.apple.com/documentation/vision?language=objc](h... | 34.461538 | 156 | 0.738839 |
6af66d75c73fa2b0ba0c3fb9ee7ac45d7df2bf7d | 20,548 | c | C | src/backend/catalog/pgxc_key_values.c | miusuncle/TBase | bdd2e750d414d091b26f927227f767af9d5e7272 | [
"BSD-3-Clause"
] | 1,303 | 2019-11-07T08:45:56.000Z | 2022-03-29T14:39:35.000Z | src/backend/catalog/pgxc_key_values.c | neobiG/TBase | 3295393cbabd6f17676c53078cf4cc03aa9dc1fd | [
"BSD-3-Clause"
] | 112 | 2019-11-07T09:17:04.000Z | 2022-03-29T12:25:56.000Z | src/backend/catalog/pgxc_key_values.c | neobiG/TBase | 3295393cbabd6f17676c53078cf4cc03aa9dc1fd | [
"BSD-3-Clause"
] | 254 | 2019-11-07T09:10:42.000Z | 2022-03-18T18:17:32.000Z | /*
* Tencent is pleased to support the open source community by making TBase available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
*
* TBase is licensed under the BSD 3-Clause License, except for the third-party component listed below.
*
* A copy of the BSD 3-Clause Li... | 33.303079 | 192 | 0.534164 |
bd337900006b6d5b0865204eb054683c10c45ea2 | 7,647 | html | HTML | _ng1_docs/0.2.14/site/partials/api/ui.router.util.$templateFactory.html | RajeshRP/ui-router.github.io | 5a98c73171ec501a7b8319bfe1d2434d676940d6 | [
"MIT"
] | 4 | 2016-09-06T08:40:16.000Z | 2018-07-18T13:48:24.000Z | _ng1_docs/0.2.14/site/partials/api/ui.router.util.$templateFactory.html | RajeshRP/ui-router.github.io | 5a98c73171ec501a7b8319bfe1d2434d676940d6 | [
"MIT"
] | 25 | 2016-10-20T23:51:56.000Z | 2020-12-21T21:14:44.000Z | _ng1_docs/0.2.14/site/partials/api/ui.router.util.$templateFactory.html | RajeshRP/ui-router.github.io | 5a98c73171ec501a7b8319bfe1d2434d676940d6 | [
"MIT"
] | 40 | 2016-08-04T14:35:29.000Z | 2020-05-08T03:13:16.000Z | <h1><code ng:non-bindable="">$templateFactory</code>
<div><span class="hint">service in module <code ng:non-bindable="">ui.router.util</code>
</span>
</div>
</h1>
<div><h2 id="description">Description</h2>
<div class="description"><div class="ui-router-util-templatefactory-page"><p>Service. Manages loading of templates... | 114.134328 | 464 | 0.717667 |
bed56554069e3f6bad6ce6e5bb7078f8e8bc50f4 | 1,383 | ts | TypeScript | src/index.ts | PSPDFKit-labs/pdfjs-web-component | 1b660f751b744cf6d74d583452e0e7a85ddfb6c8 | [
"MIT"
] | 3 | 2020-02-06T11:47:56.000Z | 2022-03-11T17:36:55.000Z | src/index.ts | PSPDFKit-labs/pdfjs-web-component | 1b660f751b744cf6d74d583452e0e7a85ddfb6c8 | [
"MIT"
] | null | null | null | src/index.ts | PSPDFKit-labs/pdfjs-web-component | 1b660f751b744cf6d74d583452e0e7a85ddfb6c8 | [
"MIT"
] | null | null | null | import pdfjs from 'pdfjs-dist';
class MyPdfElement extends HTMLElement {
readyPromise: Promise<void>
resolveReady: () => void
static get observedAttributes() {
return ['pdf'];
}
constructor() {
super();
this.readyPromise = new Promise((resolve) => {
this.resolveReady = resolve;
});
}
connectedCal... | 20.954545 | 76 | 0.665221 |
cddd7f3bbd10ca47edbf14b5337814ea2d55d287 | 1,852 | cs | C# | benchmark_runner/src/SqlOptimizerBechmark/SqlOptimizerBenchmark/Benchmark/StatementList.cs | RadimBaca/QueryOptimizerBenchmark | e4ef5ec1dcc6b92f513c1174228311f9f7987c66 | [
"Apache-2.0"
] | 1 | 2021-02-22T14:40:43.000Z | 2021-02-22T14:40:43.000Z | benchmark_runner/src/SqlOptimizerBechmark/SqlOptimizerBenchmark/Benchmark/StatementList.cs | RadimBaca/QueryOptimizerBenchmark | e4ef5ec1dcc6b92f513c1174228311f9f7987c66 | [
"Apache-2.0"
] | null | null | null | benchmark_runner/src/SqlOptimizerBechmark/SqlOptimizerBenchmark/Benchmark/StatementList.cs | RadimBaca/QueryOptimizerBenchmark | e4ef5ec1dcc6b92f513c1174228311f9f7987c66 | [
"Apache-2.0"
] | 1 | 2021-02-22T14:40:57.000Z | 2021-02-22T14:40:57.000Z | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlOptimizerBenchmark.Benchmark
{
public class StatementList : BenchmarkObject
{
private Script script;
... | 27.641791 | 131 | 0.62041 |
9b3ae6a3f2ec701373829c394bfb6468001afd83 | 16,761 | lua | Lua | flufachievements/lua/autorun/client/flufchieve_achievementui.lua | snortlines/Achievements | c42a6fa467ffd27234bb93ce52b649697233f55b | [
"MIT"
] | 4 | 2018-08-21T18:18:20.000Z | 2020-01-12T18:57:58.000Z | flufachievements/lua/autorun/client/flufchieve_achievementui.lua | snortlines/Achievements | c42a6fa467ffd27234bb93ce52b649697233f55b | [
"MIT"
] | null | null | null | flufachievements/lua/autorun/client/flufchieve_achievementui.lua | snortlines/Achievements | c42a6fa467ffd27234bb93ce52b649697233f55b | [
"MIT"
] | null | null | null | --[[----------------------------------------------------------------------
______ ________
/ __/ /_ __/ __/ __/_ __
/ /_/ / / / / /_/ /_/ / / /
/ __/ / /_/ / __/ __/ /_/ / ... | 35.814103 | 253 | 0.547879 |
a4251e7294e8ca473f03f0023b5dceebc0a48e71 | 4,862 | c | C | lua/src/luaInterpreter.c | hidetzu/lua_emeded_c | ad2c74a9ee6ad110f9b75dab93b461b0ca2aa1a3 | [
"Apache-2.0"
] | null | null | null | lua/src/luaInterpreter.c | hidetzu/lua_emeded_c | ad2c74a9ee6ad110f9b75dab93b461b0ca2aa1a3 | [
"Apache-2.0"
] | null | null | null | lua/src/luaInterpreter.c | hidetzu/lua_emeded_c | ad2c74a9ee6ad110f9b75dab93b461b0ca2aa1a3 | [
"Apache-2.0"
] | null | null | null |
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#include "luaUtil.h"
#define MAX_COLOR (255)
typedef struct _ColorTable {
char* name;
unsigned char red;
unsigned char green;
unsigned char blue;
}ColorTable... | 23.601942 | 78 | 0.541135 |
aebc1718759cb2c750698af46bf0acf8534556f7 | 1,587 | psd1 | PowerShell | eval/dsc/akshcihost/xActiveDirectory/3.0.0.0/DSCResources/MSFT_xADManagedServiceAccount/en-US/MSFT_xADManagedServiceAccount.strings.psd1 | olaseniadeniji/aks-hci | 39c54d080a5c9278903f7141be15b5e26ef9bad8 | [
"MIT"
] | 153 | 2017-09-27T14:21:28.000Z | 2022-03-11T22:56:51.000Z | eval/dsc/akshcihost/xActiveDirectory/3.0.0.0/DSCResources/MSFT_xADManagedServiceAccount/en-US/MSFT_xADManagedServiceAccount.strings.psd1 | olaseniadeniji/aks-hci | 39c54d080a5c9278903f7141be15b5e26ef9bad8 | [
"MIT"
] | 138 | 2020-09-23T13:20:48.000Z | 2022-03-29T18:27:56.000Z | eval/dsc/akshcihost/xActiveDirectory/3.0.0.0/DSCResources/MSFT_xADManagedServiceAccount/en-US/MSFT_xADManagedServiceAccount.strings.psd1 | olaseniadeniji/aks-hci | 39c54d080a5c9278903f7141be15b5e26ef9bad8 | [
"MIT"
] | 29 | 2017-08-18T14:59:00.000Z | 2021-09-23T04:26:14.000Z | # culture='en-US'
ConvertFrom-StringData @'
AddingManagedServiceAccount = Adding AD Managed Service Account '{0}'. (MSA0001)
RemovingManagedServiceAccount = Removing AD Managed Service Account '{0}'. (MSA0003)
MovingManagedServiceAccount = Moving AD Managed Service Account '{0}' ... | 93.352941 | 200 | 0.681159 |
f6bc448afe331afe6e174bafcc3f134143a999b9 | 1,388 | lua | Lua | bin/Data/LuaScripts/Test.lua | cjmxp/Urho3D | a9998c5c0231a32ce866813c181a5719dbca4fce | [
"MIT"
] | null | null | null | bin/Data/LuaScripts/Test.lua | cjmxp/Urho3D | a9998c5c0231a32ce866813c181a5719dbca4fce | [
"MIT"
] | null | null | null | bin/Data/LuaScripts/Test.lua | cjmxp/Urho3D | a9998c5c0231a32ce866813c181a5719dbca4fce | [
"MIT"
] | null | null | null | -- A simple 'HelloWorld' GUI created purely from code.
-- This sample demonstrates:
-- - Creation of controls and building a UI hierarchy
-- - Loading UI style from XML and applying it to controls
-- - Handling of global and per-control events
-- For more advanced users (beginners can skip this section):
--... | 28.916667 | 131 | 0.700288 |
8540dceae3b214596c4f744ff2f1580b2a04a1ea | 175 | cs | C# | src/Melville.Generators.INPC.Test/IntegrationTests/NameSpaceDecl.cs | JohnN6TSM/Melville | 5e8adb0d799e26d0340f5898ddda53eaf45eadc1 | [
"MIT"
] | null | null | null | src/Melville.Generators.INPC.Test/IntegrationTests/NameSpaceDecl.cs | JohnN6TSM/Melville | 5e8adb0d799e26d0340f5898ddda53eaf45eadc1 | [
"MIT"
] | null | null | null | src/Melville.Generators.INPC.Test/IntegrationTests/NameSpaceDecl.cs | JohnN6TSM/Melville | 5e8adb0d799e26d0340f5898ddda53eaf45eadc1 | [
"MIT"
] | null | null | null | using Melville.INPC;
namespace Melville.Generators.INPC.Test.IntegrationTests;
public partial class NameSpaceDecl
{
[AutoNotify] private int specialName;
}
| 19.444444 | 57 | 0.742857 |
5302e52e58ef9348ae14f0118e6c93411eb5c63b | 1,654 | rb | Ruby | test/test_append_suffix.rb | pulibrary/lcsort | 85a5c764fc2792df3c545a843283a9dbcdfecf28 | [
"MIT"
] | 18 | 2015-01-16T00:51:32.000Z | 2020-07-30T15:41:58.000Z | test/test_append_suffix.rb | pulibrary/lcsort | 85a5c764fc2792df3c545a843283a9dbcdfecf28 | [
"MIT"
] | 17 | 2015-05-28T20:32:15.000Z | 2019-09-13T14:32:13.000Z | test/test_append_suffix.rb | pulibrary/lcsort | 85a5c764fc2792df3c545a843283a9dbcdfecf28 | [
"MIT"
] | 1 | 2015-06-03T00:18:27.000Z | 2015-06-03T00:18:27.000Z | require 'minitest_helper'
# Test :append_suffix mainly to make sure it still sorts before EVERYTHING
# after the call number it's appended to.
class TestAppendSuffix < Minitest::Test
def test_append_suffix
# suffix that will sort too late if not done right
suffix = "~ZZ suffix"
# Make sure it's doing s... | 26.253968 | 124 | 0.616687 |
0b5e9befcea0a1ebaa85ca3de055f7f86b2fbdc3 | 514 | sql | SQL | sql/article.sql | Nicolac84/echelonews | f5dbff0f4fe43f7685672a8d3037ead0f4ef5438 | [
"MIT"
] | 1 | 2022-03-16T18:01:22.000Z | 2022-03-16T18:01:22.000Z | sql/article.sql | Nicolac84/echelonews | f5dbff0f4fe43f7685672a8d3037ead0f4ef5438 | [
"MIT"
] | 3 | 2021-05-11T15:45:41.000Z | 2022-01-22T12:43:39.000Z | sql/article.sql | includej/EcheloNews | a8227f71cdfa418e586a1312b43a3af0684c6b6d | [
"MIT"
] | null | null | null | -- echelonews - postgres table definitions
-- News article
CREATE TABLE Article (
id SERIAL PRIMARY KEY, -- Article univocal ID
source INTEGER NOT NULL, -- Source newspaper
title VARCHAR NOT NULL, -- Article title
preview VARCHAR NOT NULL, -- Article short description
topics VARCHAR[] NOT NULL, ... | 36.714286 | 66 | 0.715953 |
ff4e7121af623e15b4d4a863b9fcc3e2099a9e32 | 566 | py | Python | Introducing_Gemma_M0/Gemma_I2Csi7021.py | joewalk102/Adafruit_Learning_System_Guides | 2bda607f8c433c661a2d9d40b4db4fd132334c9a | [
"MIT"
] | 665 | 2017-09-27T21:20:14.000Z | 2022-03-31T09:09:25.000Z | Introducing_Gemma_M0/Gemma_I2Csi7021.py | joewalk102/Adafruit_Learning_System_Guides | 2bda607f8c433c661a2d9d40b4db4fd132334c9a | [
"MIT"
] | 641 | 2017-10-03T19:46:37.000Z | 2022-03-30T18:28:46.000Z | Introducing_Gemma_M0/Gemma_I2Csi7021.py | joewalk102/Adafruit_Learning_System_Guides | 2bda607f8c433c661a2d9d40b4db4fd132334c9a | [
"MIT"
] | 734 | 2017-10-02T22:47:38.000Z | 2022-03-30T14:03:51.000Z | # I2C sensor demo
import time
import adafruit_si7021
import board
import busio
i2c = busio.I2C(board.SCL, board.SDA)
# lock the I2C device before we try to scan
while not i2c.try_lock():
pass
print("I2C addresses found:", [hex(i) for i in i2c.scan()])
# unlock I2C now that we're done scanning.
i2c.unlock()
# ... | 20.962963 | 59 | 0.699647 |
77bddd926b43a91c2c67b6be0cd3298faabe1d49 | 4,268 | dart | Dart | lib/src/widgets/dropdown.dart | camilo1498/gallery_media_picker | 417c5ebe7a14957215bd097b39db4d56a2f7ac1f | [
"CC0-1.0"
] | null | null | null | lib/src/widgets/dropdown.dart | camilo1498/gallery_media_picker | 417c5ebe7a14957215bd097b39db4d56a2f7ac1f | [
"CC0-1.0"
] | null | null | null | lib/src/widgets/dropdown.dart | camilo1498/gallery_media_picker | 417c5ebe7a14957215bd097b39db4d56a2f7ac1f | [
"CC0-1.0"
] | 1 | 2022-03-22T06:56:28.000Z | 2022-03-22T06:56:28.000Z | import 'dart:async';
import 'package:flutter/material.dart';
typedef DropdownWidgetBuilder<T> = Widget Function(
BuildContext context, ValueSetter<T> close);
class FeatureController<T> {
final Completer<T?> completer;
final ValueSetter<T?> close;
FeatureController(this.completer, this.close);
Future<T... | 27.535484 | 80 | 0.597001 |
ae5c70c8c07b2e65560e119514090cdb227046c9 | 1,325 | cs | C# | src/Mvp24Hours.Infrastructure.Pipe/Operations/Custom/OperationMapper.cs | kallebelins/mvp24hours-netcore | 7ae2242e8db4b4c39d5d04b8b8fda932f5816815 | [
"MIT"
] | 5 | 2021-12-29T13:11:22.000Z | 2022-02-25T13:36:03.000Z | src/Mvp24Hours.Infrastructure.Pipe/Operations/Custom/OperationMapper.cs | kallebelins/mvp24hours-netcore | 7ae2242e8db4b4c39d5d04b8b8fda932f5816815 | [
"MIT"
] | 1 | 2022-02-17T18:35:57.000Z | 2022-02-17T18:35:57.000Z | src/Mvp24Hours.Infrastructure.Pipe/Operations/Custom/OperationMapper.cs | kallebelins/mvp24hours-netcore | 7ae2242e8db4b4c39d5d04b8b8fda932f5816815 | [
"MIT"
] | 3 | 2022-01-14T17:20:14.000Z | 2022-02-18T18:57:34.000Z | //=====================================================================================
// Developed by Kallebe Lins (https://github.com/kallebelins)
//=====================================================================================
// Reproduction or sharing is free! Contribute to a better world!
//==============... | 33.974359 | 87 | 0.448302 |
8d6fab7746c4fb2ce3ea2102c4b7cab875399497 | 10,774 | js | JavaScript | dist/js/register.0050d03d.js | pinkcao/customize-data-visualization | 8f8994f0075c2b545ce8f31c2697882851c2472e | [
"MIT"
] | 3 | 2020-12-03T07:08:22.000Z | 2021-03-28T16:37:52.000Z | dist/js/register.0050d03d.js | pinkcao/customize-data-visualization | 8f8994f0075c2b545ce8f31c2697882851c2472e | [
"MIT"
] | null | null | null | dist/js/register.0050d03d.js | pinkcao/customize-data-visualization | 8f8994f0075c2b545ce8f31c2697882851c2472e | [
"MIT"
] | null | null | null | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["register"],{"3c35":function(t,e){(function(e){t.exports=e}).call(this,{})},6199:function(module,exports,__webpack_require__){(function(process,global){var __WEBPACK_AMD_DEFINE_RESULT__;
/*
* [js-sha1]{@link https://github.com/emn178/js-sha1}
*
* @version 0.... | 1,077.4 | 10,304 | 0.669946 |
2e6e1ba77b788970425901b9f3825a756680f9fa | 7,643 | rs | Rust | src/kv_mdbx.rs | rust-vapory/vapdb | f2c10c4881f2e8684b1d1bc9f4d1cee190ccb449 | [
"Apache-2.0"
] | null | null | null | src/kv_mdbx.rs | rust-vapory/vapdb | f2c10c4881f2e8684b1d1bc9f4d1cee190ccb449 | [
"Apache-2.0"
] | null | null | null | src/kv_mdbx.rs | rust-vapory/vapdb | f2c10c4881f2e8684b1d1bc9f4d1cee190ccb449 | [
"Apache-2.0"
] | null | null | null | use crate::{traits, Bucket, Cursor, CursorDupSort, DupSort, MutableCursor};
use anyhow::anyhow;
use async_trait::async_trait;
use bytes::Bytes;
use futures::future::LocalBoxFuture;
use std::future::Future;
#[async_trait(?Send)]
impl traits::KV for heed::Env {
type Tx<'kv> = EnvWrapper<'kv, heed::RoTxn<'kv>>;
... | 26.264605 | 94 | 0.530943 |
6d7162b2263a47f73e951762801e440b6f8c6e64 | 3,188 | h | C | src/TritonMacroPlace/src/ParquetFP/src/parsers.h | ibrahimkhairy/OpenROAD | 399a51332ce32e816b914f38cd38b9d0fe77785f | [
"BSD-3-Clause-Clear"
] | 15 | 2019-07-21T02:15:52.000Z | 2021-04-13T01:14:18.000Z | src/TritonMacroPlace/src/ParquetFP/src/parsers.h | QuantamHD/OpenROAD | 5a8314e60cfebd07b843e91c41a13b42a22f55e4 | [
"BSD-3-Clause-Clear"
] | 6 | 2019-08-12T19:20:42.000Z | 2020-07-03T08:29:53.000Z | src/TritonMacroPlace/src/ParquetFP/src/parsers.h | QuantamHD/OpenROAD | 5a8314e60cfebd07b843e91c41a13b42a22f55e4 | [
"BSD-3-Clause-Clear"
] | 12 | 2019-12-12T02:57:08.000Z | 2021-12-21T13:18:39.000Z | /**************************************************************************
***
*** Copyright (c) 2000-2006 Regents of the University of Michigan,
*** Saurabh N. Adya, Hayward Chan, Jarrod A. Roy
*** and Igor L. Markov
***
*** Contact author(s): sadya@umich.edu, imarkov@umich.edu
*** O... | 30.951456 | 78 | 0.550816 |
3842326e423c4ba9581e48a832b4445affc83c4e | 2,220 | php | PHP | app/REST/AuthGroup.php | YanDatsiuk/social-network-rest-api-backend | 329253c0551e1e2531d13fe8ce1c08c18b50f5a7 | [
"MIT"
] | 4 | 2019-10-03T06:13:08.000Z | 2021-01-23T20:21:12.000Z | app/REST/AuthGroup.php | YanDatsiuk/social-network-rest-api-backend | 329253c0551e1e2531d13fe8ce1c08c18b50f5a7 | [
"MIT"
] | 3 | 2017-06-01T06:40:32.000Z | 2017-06-01T13:36:23.000Z | app/REST/AuthGroup.php | YanDatsiuk/apartment-rentals-rest-api-backend | 67448ba18becac176ef2c6ba49c929f15a98a74d | [
"MIT"
] | 1 | 2021-11-02T12:49:14.000Z | 2021-11-02T12:49:14.000Z | <?php
namespace App\REST;
use Illuminate\Database\Eloquent\Model;
/**
* App\REST\AuthGroup
*
* @property int $id
* @property string|null $name
* @property-read \Illuminate\Database\Eloquent\Collection|\App\REST\AuthActionGroup[] $authActionGroups
* @property-read \Illuminate\Database\Eloquent\Collection|\App\R... | 22.2 | 104 | 0.606757 |
9e2b82e30b0d292ecd32da0147345e580eb81289 | 701 | cs | C# | TCC.Core/Parsing/Messages/S_WHISPER.cs | sarisia/Tera-custom-cooldowns | 9d1cf230340252aa92543ccc063a588bbe37e252 | [
"MIT"
] | null | null | null | TCC.Core/Parsing/Messages/S_WHISPER.cs | sarisia/Tera-custom-cooldowns | 9d1cf230340252aa92543ccc063a588bbe37e252 | [
"MIT"
] | null | null | null | TCC.Core/Parsing/Messages/S_WHISPER.cs | sarisia/Tera-custom-cooldowns | 9d1cf230340252aa92543ccc063a588bbe37e252 | [
"MIT"
] | null | null | null | using TCC.TeraCommon.Game.Messages;
using TCC.TeraCommon.Game.Services;
namespace TCC.Parsing.Messages
{
public class S_WHISPER : ParsedMessage
{
public ulong PlayerId { get; private set; }
public string Author { get; private set; }
public string Recipient { get; private set; }
... | 30.478261 | 65 | 0.606277 |
c687a467871bf155c67343c044f3f07b013cbdad | 3,995 | py | Python | pybingwallpaper/webutil.py | jing5460/pybingwallpaper | 5150d72e4427cf6ca0eb441a62961682de11839f | [
"MIT"
] | 571 | 2015-01-05T16:24:18.000Z | 2022-03-27T02:13:03.000Z | pybingwallpaper/webutil.py | jing5460/pybingwallpaper | 5150d72e4427cf6ca0eb441a62961682de11839f | [
"MIT"
] | 44 | 2015-01-19T05:37:22.000Z | 2021-11-20T18:29:46.000Z | pybingwallpaper/webutil.py | jing5460/pybingwallpaper | 5150d72e4427cf6ca0eb441a62961682de11839f | [
"MIT"
] | 121 | 2015-01-09T08:30:42.000Z | 2022-03-11T02:21:33.000Z | #!/usr/bin/env python
import gzip
import ssl
from io import BytesIO
from . import log
from .ntlmauth import HTTPNtlmAuthHandler
from .py23 import get_moved_attr, import_moved
_logger = log.getChild('webutil')
Request = get_moved_attr('urllib2', 'urllib.request', 'Request')
urlopen = get_moved_attr('urllib2', 'urllib... | 35.353982 | 114 | 0.638048 |
5c9d514e9b51db530ad5ecc0efe7a3df1c1d545a | 954 | dart | Dart | application/mobile_app/lib/features/domain/entities/message.dart | quabynah-bilson/coded-dating-platform | cb179d1257de252153c95208ac92cd76682fc36e | [
"Apache-2.0"
] | 1 | 2022-03-13T14:40:39.000Z | 2022-03-13T14:40:39.000Z | application/mobile_app/lib/features/domain/entities/message.dart | quabynah-bilson/coded-dating-platform | cb179d1257de252153c95208ac92cd76682fc36e | [
"Apache-2.0"
] | null | null | null | application/mobile_app/lib/features/domain/entities/message.dart | quabynah-bilson/coded-dating-platform | cb179d1257de252153c95208ac92cd76682fc36e | [
"Apache-2.0"
] | null | null | null | import 'package:moor_flutter/moor_flutter.dart';
class
Messages extends Table {
TextColumn get key => text()();
TextColumn get message => text().withDefault(const Constant(''))();
TextColumn get sender => text()();
TextColumn get recipient => text()();
TextColumn get type =>
text().withDefault(Cons... | 27.257143 | 81 | 0.694969 |
b304a8a0ec5b6c10876a973d320e1f0fc9420547 | 12,361 | py | Python | pysnmp/CISCO-SYS-INFO-LOG-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/CISCO-SYS-INFO-LOG-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/CISCO-SYS-INFO-LOG-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module CISCO-SYS-INFO-LOG-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-SYS-INFO-LOG-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:57:12 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (d... | 124.858586 | 1,859 | 0.75633 |
2cc029785f36a64242e7cb5f91e128444d80da67 | 1,469 | cpp | C++ | core/projects/redmax/Actuator/ActuatorMotor.cpp | eanswer/DiffHand | d7b9c068b7fa364935f3dc9d964d63e1e3a774c8 | [
"MIT"
] | 36 | 2021-07-13T19:28:50.000Z | 2022-01-09T14:52:15.000Z | core/projects/redmax/Actuator/ActuatorMotor.cpp | eanswer/DiffHand | d7b9c068b7fa364935f3dc9d964d63e1e3a774c8 | [
"MIT"
] | null | null | null | core/projects/redmax/Actuator/ActuatorMotor.cpp | eanswer/DiffHand | d7b9c068b7fa364935f3dc9d964d63e1e3a774c8 | [
"MIT"
] | 6 | 2021-07-15T02:06:29.000Z | 2021-11-23T03:06:14.000Z | #include "Actuator/ActuatorMotor.h"
#include "Joint/Joint.h"
namespace redmax {
ActuatorMotor::ActuatorMotor(Joint* joint, VectorX ctrl_min, VectorX ctrl_max, std::string name)
: Actuator(joint->_ndof, ctrl_min, ctrl_max, name) {
_joint = joint;
}
ActuatorMotor::ActuatorMotor(Joint* joint, dtype ctrl_mi... | 38.657895 | 142 | 0.650783 |
c8c684ca183bc464d87097d673cdfc51e6c9ba52 | 1,185 | css | CSS | app/javascript/vendor/jquery.fluidbox.css | zwdgit/bbs-v2back | 799e0ac59b75689fc7d5932b8f514e0e627eceea | [
"Ruby",
"CC-BY-4.0",
"MIT"
] | 1,802 | 2016-10-20T09:06:17.000Z | 2022-03-31T04:45:23.000Z | app/javascript/vendor/jquery.fluidbox.css | zwdgit/bbs-v2back | 799e0ac59b75689fc7d5932b8f514e0e627eceea | [
"Ruby",
"CC-BY-4.0",
"MIT"
] | 429 | 2016-10-20T10:15:18.000Z | 2022-03-29T07:54:30.000Z | app/javascript/vendor/jquery.fluidbox.css | zwdgit/bbs-v2back | 799e0ac59b75689fc7d5932b8f514e0e627eceea | [
"Ruby",
"CC-BY-4.0",
"MIT"
] | 619 | 2016-10-20T13:22:05.000Z | 2022-03-30T09:45:33.000Z | .fluidbox {
outline: none;
}
.fluidbox-overlay {
cursor: pointer;
cursor: -webkit-zoom-out;
cursor: -moz-zoom-out;
opacity: 0;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
transition: all .25s ease-in-out;
}
.fluidbox-wrap {
background-position: center center;
background-size: cove... | 20.789474 | 60 | 0.688608 |
144b647a5cc52ee192f1a062120198509e8540ef | 35 | ts | TypeScript | src/index.ts | yardenShacham/jx-injector | 7b4b341cc47125988c9349e3d72e646a9db5242e | [
"MIT"
] | null | null | null | src/index.ts | yardenShacham/jx-injector | 7b4b341cc47125988c9349e3d72e646a9db5242e | [
"MIT"
] | null | null | null | src/index.ts | yardenShacham/jx-injector | 7b4b341cc47125988c9349e3d72e646a9db5242e | [
"MIT"
] | null | null | null | export {injector} from './injector' | 35 | 35 | 0.742857 |
581fde81790ed72c41ddc0d1504051f9c5894c0f | 898 | rb | Ruby | test/integration/verify/controls/azurerm_virtual_networks.rb | jnahelou/inspec-azure | 040d03729ab702c5604f247e86c6eab98cc14391 | [
"Apache-2.0"
] | 79 | 2018-07-12T12:08:23.000Z | 2022-03-29T05:40:10.000Z | test/integration/verify/controls/azurerm_virtual_networks.rb | jnahelou/inspec-azure | 040d03729ab702c5604f247e86c6eab98cc14391 | [
"Apache-2.0"
] | 404 | 2018-07-02T17:40:32.000Z | 2022-03-31T09:44:15.000Z | test/integration/verify/controls/azurerm_virtual_networks.rb | Rohit1509/inspec-azure | fa2e6f452c17e85cbf769ba526aee1c29086047c | [
"Apache-2.0"
] | 92 | 2018-07-04T03:48:19.000Z | 2022-03-25T21:54:45.000Z | resource_group = input('resource_group', value: nil)
vnet = input('vnet_name', value: nil)
control 'azurerm_virtual_networks' do
describe azurerm_virtual_networks(resource_group: resource_group) do
it { should exist }
its('names') { should be_a... | 29.933333 | 80 | 0.646993 |
8453be3181494a471f7adeb5c2718d6d313df89c | 1,059 | dart | Dart | lib/settings/settings_screen.dart | Lytra/calculator | 0e817d896f763e4c69fef6dbd365f328a627b2a4 | [
"MIT"
] | 1 | 2018-09-30T20:27:42.000Z | 2018-09-30T20:27:42.000Z | lib/settings/settings_screen.dart | Lytra/calculator | 0e817d896f763e4c69fef6dbd365f328a627b2a4 | [
"MIT"
] | null | null | null | lib/settings/settings_screen.dart | Lytra/calculator | 0e817d896f763e4c69fef6dbd365f328a627b2a4 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:calculator/settings/setting.dart';
import 'package:calculator/settings/settings_types.dart';
import 'package:calculator/settings/shared_preferences_settings_adapter.dart';
class SettingsScreen extends StatelessWidget {
static final _adapter = SharedPreferences... | 27.868421 | 108 | 0.661945 |
a35cd0dd31d4c54bba57b36796bb22191d9db518 | 12,395 | java | Java | app/build/generated/not_namespaced_r_class_sources/debug/r/android/support/coreui/R.java | saytoonz/YouSave | 21cac4f04f2b179b095edd738222d26e1278a0e7 | [
"MIT"
] | 6 | 2019-10-30T23:14:43.000Z | 2022-03-16T16:37:23.000Z | app/build/generated/not_namespaced_r_class_sources/release/r/android/support/coreui/R.java | saytoonz/YouSave | 21cac4f04f2b179b095edd738222d26e1278a0e7 | [
"MIT"
] | null | null | null | app/build/generated/not_namespaced_r_class_sources/release/r/android/support/coreui/R.java | saytoonz/YouSave | 21cac4f04f2b179b095edd738222d26e1278a0e7 | [
"MIT"
] | null | null | null | /* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.coreui;
public final class R {
private R() {}
public static final class attr {
private attr() ... | 58.466981 | 185 | 0.739976 |
20d134c42d2db12bf738cc2a0a0947887d9b0a4f | 7,744 | py | Python | scripts/tests/test_pypi_upload.py | brianbruggeman/ves | 6d3c237d08f1e6f6c85fe54865b56c65d9f6a77e | [
"MIT"
] | 3 | 2018-01-31T19:55:28.000Z | 2019-05-30T20:21:18.000Z | scripts/tests/test_pypi_upload.py | brianbruggeman/ves | 6d3c237d08f1e6f6c85fe54865b56c65d9f6a77e | [
"MIT"
] | 12 | 2019-01-18T16:16:19.000Z | 2019-06-14T03:26:34.000Z | scripts/tests/test_pypi_upload.py | brianbruggeman/ves | 6d3c237d08f1e6f6c85fe54865b56c65d9f6a77e | [
"MIT"
] | 1 | 2019-01-18T16:20:15.000Z | 2019-01-18T16:20:15.000Z | from dataclasses import asdict, dataclass, field
from pathlib import Path
from typing import Dict
import pytest
@dataclass
class Counts:
"""Stores call counts of various api methods and contains methods
to help capture and validate call counts
Attributes:
create: expected call count for vsh.api.... | 29.784615 | 146 | 0.656121 |
7ad8ed99f322e51a473e0451c7abb5a5c7130de5 | 596 | cs | C# | CommunityPlugin/Non Native Modifications/TopMenu/CreateCustomFields.cs | WyndhamCapital/CommunityPlugin | b8759a01451316b1d50e1e42000ce94f0eb5eaad | [
"MIT"
] | null | null | null | CommunityPlugin/Non Native Modifications/TopMenu/CreateCustomFields.cs | WyndhamCapital/CommunityPlugin | b8759a01451316b1d50e1e42000ce94f0eb5eaad | [
"MIT"
] | null | null | null | CommunityPlugin/Non Native Modifications/TopMenu/CreateCustomFields.cs | WyndhamCapital/CommunityPlugin | b8759a01451316b1d50e1e42000ce94f0eb5eaad | [
"MIT"
] | null | null | null | using CommunityPlugin.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CommunityPlugin.Non_Native_Modifications.TopMenu
{
public class CreateCustomFields : MenuItemBase
{
public override bool CanRun()
{
... | 23.84 | 74 | 0.682886 |
fe4575e0c7afeb0334739a69e7010d636171e7bc | 1,694 | swift | Swift | Timmee/TasksKit/Sources/Service layer/Entities/Todo/Subtask.swift | NoFearJoe/Timmee | 13cb056300129d252b758cb482cae8a8fbf8881f | [
"Apache-2.0"
] | null | null | null | Timmee/TasksKit/Sources/Service layer/Entities/Todo/Subtask.swift | NoFearJoe/Timmee | 13cb056300129d252b758cb482cae8a8fbf8881f | [
"Apache-2.0"
] | null | null | null | Timmee/TasksKit/Sources/Service layer/Entities/Todo/Subtask.swift | NoFearJoe/Timmee | 13cb056300129d252b758cb482cae8a8fbf8881f | [
"Apache-2.0"
] | null | null | null | //
// Subtask.swift
// Timmee
//
// Created by Ilya Kharabet on 05.10.17.
// Copyright © 2017 Mesterra. All rights reserved.
//
import Foundation
public final class Subtask {
public let id: String
public var title: String
public var isDone: Bool
public var sortPosition: Int
public let creatio... | 27.770492 | 97 | 0.551358 |
a35b30437e06ccbe3b2151c18546d96847af791c | 4,740 | java | Java | grouper-ui/java/src/edu/internet2/middleware/grouper/ui/util/SubjectAsMap.java | manasys/grouper | f6fc9e9d93768a971187289afd9df6d650a128e8 | [
"Apache-2.0"
] | 63 | 2015-02-02T17:24:08.000Z | 2022-02-18T07:20:13.000Z | grouper-ui/java/src/edu/internet2/middleware/grouper/ui/util/SubjectAsMap.java | manasys/grouper | f6fc9e9d93768a971187289afd9df6d650a128e8 | [
"Apache-2.0"
] | 92 | 2015-01-21T14:40:00.000Z | 2022-02-10T23:56:03.000Z | grouper-ui/java/src/edu/internet2/middleware/grouper/ui/util/SubjectAsMap.java | manasys/grouper | f6fc9e9d93768a971187289afd9df6d650a128e8 | [
"Apache-2.0"
] | 70 | 2015-03-23T08:50:33.000Z | 2022-03-18T07:00:57.000Z | /*******************************************************************************
* Copyright 2012 Internet2
*
* 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.ap... | 30.191083 | 89 | 0.62827 |
1a71474cb1b32cb52d07bbfaa0809f5cd9da371f | 820 | py | Python | teste_chrome.py | FranciscoACLima/Robo_NFP_Selenium | 7702854f94355fee8d78a4c04fc134cf099db5f0 | [
"MIT"
] | null | null | null | teste_chrome.py | FranciscoACLima/Robo_NFP_Selenium | 7702854f94355fee8d78a4c04fc134cf099db5f0 | [
"MIT"
] | 16 | 2020-09-05T16:03:40.000Z | 2022-03-19T17:42:05.000Z | teste_chrome.py | FranciscoACLima/Robo_NFP_Selenium | 7702854f94355fee8d78a4c04fc134cf099db5f0 | [
"MIT"
] | null | null | null |
"""teste para abertua do navegador"""
from subprocess import Popen, PIPE
from nfp.servicos.interface import abrir_popup
from nfp import CHREXEC, CHRPREFS, URLBASE
def abrir_chrome():
chrexec = '"{}" --remote-debugging-port=9222 --user-data-dir="{}" {}'.format(CHREXEC, CHRPREFS, URLBASE)
chrexec = [
C... | 28.275862 | 108 | 0.67561 |
b8953fbfd9902a32ccbaaa3c147346cbdf4652b8 | 19,849 | h | C | src/btree.h | Minooc/CSE190-Project2 | 3f32bee83c42f543770b59f77098bfbabad1a5e8 | [
"Apache-2.0"
] | 1 | 2020-04-30T11:27:37.000Z | 2020-04-30T11:27:37.000Z | src/btree.h | YYYTTT-code/CSE190-Project2 | 3f32bee83c42f543770b59f77098bfbabad1a5e8 | [
"Apache-2.0"
] | null | null | null | src/btree.h | YYYTTT-code/CSE190-Project2 | 3f32bee83c42f543770b59f77098bfbabad1a5e8 | [
"Apache-2.0"
] | 1 | 2020-04-30T11:27:33.000Z | 2020-04-30T11:27:33.000Z | /**
* @author See Contributors.txt for code contributors and overview of BadgerDB.
*
* @section LICENSE
* Copyright (c) 2012 Database Group, Computer Sciences Department, University of Wisconsin-Madison.
*/
#pragma once
#include <iostream>
#include <string>
#include "string.h"
#include <sstream>
#include "types... | 32.118123 | 253 | 0.690362 |
f1de4331a842d5f180ac4092adde068262dbd0f1 | 2,072 | kt | Kotlin | plugins/git4idea/src/git4idea/log/GitDirectoryVirtualFile.kt | NecroRayder/intellij-community | 4381105ab77263736ad7362008532b6129c0a90e | [
"Apache-2.0"
] | 1 | 2018-10-13T19:43:36.000Z | 2018-10-13T19:43:36.000Z | plugins/git4idea/src/git4idea/log/GitDirectoryVirtualFile.kt | NecroRayder/intellij-community | 4381105ab77263736ad7362008532b6129c0a90e | [
"Apache-2.0"
] | null | null | null | plugins/git4idea/src/git4idea/log/GitDirectoryVirtualFile.kt | NecroRayder/intellij-community | 4381105ab77263736ad7362008532b6129c0a90e | [
"Apache-2.0"
] | 1 | 2018-10-03T12:35:06.000Z | 2018-10-03T12:35:06.000Z | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package git4idea.log
import com.intellij.openapi.vcs.RemoteFilePath
import com.intellij.openapi.vcs.vfs.AbstractVcsVirtualFile
import com.intellij.openapi.vcs.vfs.VcsFileSystem
i... | 37.672727 | 140 | 0.730212 |
e70604027b3c79d0fdfe79f51b903bcea30a1ef0 | 17,185 | php | PHP | program.php | cybernerdie/fitnesswebsite | a33d6fff5a02de146a78d2739224b16e788aa314 | [
"MIT"
] | null | null | null | program.php | cybernerdie/fitnesswebsite | a33d6fff5a02de146a78d2739224b16e788aa314 | [
"MIT"
] | 1 | 2021-05-11T09:41:07.000Z | 2021-05-11T09:41:07.000Z | program.php | Veecthorpaul/fitnesswebsite | a33d6fff5a02de146a78d2739224b16e788aa314 | [
"MIT"
] | null | null | null | <?php require_once("Includes/DB.php"); ?>
<?php require_once("Includes/Functions.php"); ?>
<?php require_once("Includes/Sessions.php"); ?>
<?php
if(isset($_POST["Submit"])){
$Fname = $_POST["FirstName"];
$Lname = $_POST["LastName"];
$Phone = $_POST["Phone"];
$Message = $_POST["Message"];
$Date = $_PO... | 41.711165 | 317 | 0.544021 |