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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
43cd0db94095acf332866fe969383985d7ef2a71 | 2,087 | go | Go | runsc/boot/compat_amd64.go | zhangningdlut/gvisor | a2956163267e253f614dd2d6d8151614b9b0dc77 | [
"Apache-2.0"
] | 2 | 2020-07-24T04:06:44.000Z | 2021-06-28T00:49:20.000Z | runsc/boot/compat_amd64.go | zhangningdlut/gvisor | a2956163267e253f614dd2d6d8151614b9b0dc77 | [
"Apache-2.0"
] | null | null | null | runsc/boot/compat_amd64.go | zhangningdlut/gvisor | a2956163267e253f614dd2d6d8151614b9b0dc77 | [
"Apache-2.0"
] | 2 | 2018-09-16T21:15:29.000Z | 2020-05-12T15:12:50.000Z | // Copyright 2018 The gVisor Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 26.75641 | 79 | 0.723047 |
a1f1cfc62a913cbc528f75cea1d2ee6e24d0b84a | 92,645 | c | C | sdk-6.5.20/src/shared/swstate/access/sw_state_dpp_soc_arad_pp_dbal_info_access.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/shared/swstate/access/sw_state_dpp_soc_arad_pp_dbal_info_access.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/shared/swstate/access/sw_state_dpp_soc_arad_pp_dbal_info_access.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*
*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*
* DO NOT EDIT THIS FILE!
* This file is auto-generated.
* Edits to this file will be lost when it is regener... | 47.051803 | 219 | 0.80748 |
16b49ce32730e0ab340682a1bfd467e8c4913d39 | 158 | h | C | ref/frame.h | uucidl/exp.rendering-api | 46e0789b06bd20629a63678d7988317d0a2f0dd7 | [
"MIT"
] | null | null | null | ref/frame.h | uucidl/exp.rendering-api | 46e0789b06bd20629a63678d7988317d0a2f0dd7 | [
"MIT"
] | null | null | null | ref/frame.h | uucidl/exp.rendering-api | 46e0789b06bd20629a63678d7988317d0a2f0dd7 | [
"MIT"
] | null | null | null | #pragma once
class DisplayFrameImpl;
void display_frame_define(DisplayFrameImpl* frame, void* context);
void display_frame_commit(DisplayFrameImpl* frame);
| 22.571429 | 66 | 0.835443 |
cb5a33c3d57b0ba687e50a07f12daae827d36de1 | 2,006 | go | Go | feeder/neo4jDao.go | mateuszdyminski/flights-analyzer | 53b6ba5890c944952a6d68b4f144e5a4288bbf49 | [
"MIT"
] | 1 | 2015-11-11T21:40:45.000Z | 2015-11-11T21:40:45.000Z | feeder/neo4jDao.go | mateuszdyminski/flights-analyzer | 53b6ba5890c944952a6d68b4f144e5a4288bbf49 | [
"MIT"
] | null | null | null | feeder/neo4jDao.go | mateuszdyminski/flights-analyzer | 53b6ba5890c944952a6d68b4f144e5a4288bbf49 | [
"MIT"
] | null | null | null | package feeder
import (
"fmt"
"log"
"github.com/jmcvetta/neoism"
)
// NeoDao struct for accessing neo4j db.
type neoDao struct {
db *neoism.Database
}
// NewGraphDao creates new access struct for manipulating neo4j db.
func NewGraphDao(address string) GraphDao {
db, err := neoism.Connect(address)
if err != ni... | 23.057471 | 129 | 0.632104 |
d2e6e6c2288ff8dcf23c1ec312cf0aa67b4b48bc | 125 | php | PHP | web7/drush/fordschool_d7.aliases.drushrc.php | shaal/fordschool | 8d52b12a19b00bc8c3ccc956a01f241251c6c0eb | [
"MIT"
] | null | null | null | web7/drush/fordschool_d7.aliases.drushrc.php | shaal/fordschool | 8d52b12a19b00bc8c3ccc956a01f241251c6c0eb | [
"MIT"
] | null | null | null | web7/drush/fordschool_d7.aliases.drushrc.php | shaal/fordschool | 8d52b12a19b00bc8c3ccc956a01f241251c6c0eb | [
"MIT"
] | null | null | null | <?php
$aliases['local'] = array(
'root' => '/var/www/fordschool.local/web7/docroot',
'uri' => 'd7.fordschool.local',
);
| 17.857143 | 53 | 0.608 |
6257d965b06cccaaaf45b2e072cb1fe27842a4e4 | 5,698 | rs | Rust | src/source/nonblocking.rs | postmates/cernan | 7f3f72ab0c785b260d9df5367f9658287d6891d0 | [
"MIT"
] | 331 | 2017-01-13T18:24:11.000Z | 2021-11-14T20:07:57.000Z | src/source/nonblocking.rs | postmates/cernan | 7f3f72ab0c785b260d9df5367f9658287d6891d0 | [
"MIT"
] | 221 | 2017-01-13T19:46:54.000Z | 2019-03-19T22:32:50.000Z | src/source/nonblocking.rs | postmates/cernan | 7f3f72ab0c785b260d9df5367f9658287d6891d0 | [
"MIT"
] | 15 | 2017-01-13T20:46:26.000Z | 2018-09-10T19:10:55.000Z | //! Handy interfaces for nonblocking streams.
use byteorder::{BigEndian, ReadBytesExt};
use mio;
use std::io::{Read, Write};
use std::{io, mem};
/// Like `std::net::TcpStream::write_all`, except it handles `WouldBlock` too.
pub fn write_all(
mut stream: &mio::net::TcpStream,
bytes: &[u8],
) -> Result<(), io::... | 31.832402 | 86 | 0.568621 |
2a712b9688efed8a2ddb6a5db42ffa226cb95eb5 | 7,748 | java | Java | src/Eclipse-IDE/org.robotframework.ide.eclipse.main.plugin/src/org/robotframework/ide/eclipse/main/plugin/launch/tabs/LaunchConfigurationExecutorTab.java | alex729/RED | 128bf203cf035892c02805aabd0c915f96006bb0 | [
"Apache-2.0"
] | null | null | null | src/Eclipse-IDE/org.robotframework.ide.eclipse.main.plugin/src/org/robotframework/ide/eclipse/main/plugin/launch/tabs/LaunchConfigurationExecutorTab.java | alex729/RED | 128bf203cf035892c02805aabd0c915f96006bb0 | [
"Apache-2.0"
] | null | null | null | src/Eclipse-IDE/org.robotframework.ide.eclipse.main.plugin/src/org/robotframework/ide/eclipse/main/plugin/launch/tabs/LaunchConfigurationExecutorTab.java | alex729/RED | 128bf203cf035892c02805aabd0c915f96006bb0 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 Nokia Solutions and Networks
* Licensed under the Apache License, Version 2.0,
* see license.txt file for details.
*/
package org.robotframework.ide.eclipse.main.plugin.launch.tabs;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.ecl... | 45.576471 | 138 | 0.748451 |
c30b171ef545b4d7b13eae9d2feb85ace2994720 | 2,385 | go | Go | notaryapi/merkle.go | jweden/FactomCode | dfac9708b6f2dcd91db224367ed7c99e8b5c2e41 | [
"MIT"
] | null | null | null | notaryapi/merkle.go | jweden/FactomCode | dfac9708b6f2dcd91db224367ed7c99e8b5c2e41 | [
"MIT"
] | null | null | null | notaryapi/merkle.go | jweden/FactomCode | dfac9708b6f2dcd91db224367ed7c99e8b5c2e41 | [
"MIT"
] | 1 | 2022-03-07T17:07:40.000Z | 2022-03-07T17:07:40.000Z |
package notaryapi
import (
"math"
)
// nextPowerOfTwo returns the next highest power of two from a given number if
// it is not already a power of two. This is a helper function used during the
// calculation of a merkle tree.
func nextPowerOfTwo(n int) int {
// Return the number if it's already a powe... | 31.8 | 94 | 0.674214 |
75e65371bf509b4a6205ae301d4019c48253dd0b | 8,885 | php | PHP | App/Models/ProductModel.php | mustafa220/eOyuncak | a6031eb2f69e4547e59beb72a4ad08472687ece7 | [
"MIT"
] | null | null | null | App/Models/ProductModel.php | mustafa220/eOyuncak | a6031eb2f69e4547e59beb72a4ad08472687ece7 | [
"MIT"
] | null | null | null | App/Models/ProductModel.php | mustafa220/eOyuncak | a6031eb2f69e4547e59beb72a4ad08472687ece7 | [
"MIT"
] | 1 | 2017-11-12T18:20:12.000Z | 2017-11-12T18:20:12.000Z | <?php
namespace App\Models;
use System\Libraries\Model;
use System\Libraries\Config;
use IOModel as io;
class ProductModel extends Model{
function create(){
$userId = $_SESSION["userId"];
$newProduct = $this->db->table("urunler")->insert([
"UyeId" => $userId
]);
return $this->db->insertId();
}
... | 33.655303 | 183 | 0.607428 |
74dcf809bdd64b2a05c5caeb9e7889c2afafbb8b | 1,614 | js | JavaScript | test/sjcl-ecdsa-canonical-test.js | stm-open/stmjs | 15580c26e296ddabee7eeda4cd0e13bb8c59d88f | [
"MIT"
] | null | null | null | test/sjcl-ecdsa-canonical-test.js | stm-open/stmjs | 15580c26e296ddabee7eeda4cd0e13bb8c59d88f | [
"MIT"
] | null | null | null | test/sjcl-ecdsa-canonical-test.js | stm-open/stmjs | 15580c26e296ddabee7eeda4cd0e13bb8c59d88f | [
"MIT"
] | null | null | null | var assert = require('assert');
var utils = require('./testutils');
var sjcl = require('../build/sjcl');
var Seed = require('../src/js/stream/seed').Seed;
describe('SJCL ECDSA Canonicalization', function() {
describe('canonicalizeSignature', function() {
it('should canonicalize non-canonical signatures', fu... | 55.655172 | 186 | 0.781908 |
4047eb1d781c8526a98f69d37582b323b2265cfd | 910 | py | Python | 4. Weekday_Data wk5.py | colmhiggs11/Prog-Scrip-Problems | 64503965cf8d40ed4e46d4710df4f790f2d5ccc4 | [
"MIT"
] | null | null | null | 4. Weekday_Data wk5.py | colmhiggs11/Prog-Scrip-Problems | 64503965cf8d40ed4e46d4710df4f790f2d5ccc4 | [
"MIT"
] | 1 | 2020-04-29T17:54:20.000Z | 2020-04-29T17:54:20.000Z | 4. Weekday_Data wk5.py | colmhiggs11/Prog-Scrip-Problems | 64503965cf8d40ed4e46d4710df4f790f2d5ccc4 | [
"MIT"
] | null | null | null | # Colm Higgins
# Program to output whether or not today is a weekday or weekend.
# There are no date types in python but by importing the datetime module
# dates can be used as objects.
import datetime
# This will get the current date
datetime.datetime.now()
# Assigning that value to "now"
now = datetime.datetime.now()... | 36.4 | 96 | 0.685714 |
a25b9a8bb5fd140a54544a87b002befcbc91c29b | 1,280 | swift | Swift | AlgorithmPractice/DataStruct/Queue/CircleQueue.swift | yangchao0033/ALGOPractice | 124c2a61d8ec672603df72ec4dbb1e107bf9cf2b | [
"MIT"
] | null | null | null | AlgorithmPractice/DataStruct/Queue/CircleQueue.swift | yangchao0033/ALGOPractice | 124c2a61d8ec672603df72ec4dbb1e107bf9cf2b | [
"MIT"
] | null | null | null | AlgorithmPractice/DataStruct/Queue/CircleQueue.swift | yangchao0033/ALGOPractice | 124c2a61d8ec672603df72ec4dbb1e107bf9cf2b | [
"MIT"
] | null | null | null | //
// CircleQueue.swift
// AlgorithmPractice
//
// Created by 超杨 on 2020/8/19.
// Copyright © 2020 superYang. All rights reserved.
//
import Cocoa
class CircleQueue {
static let maxSize = 100
var data = [Int](repeating: 0, count: maxSize)
var front = 0
var rear = 0
init() {
}
... | 17.534247 | 52 | 0.459375 |
5528f729d9bd514c5c2c4f7353c292191ad656f7 | 1,127 | swift | Swift | RouteTracker/UI/Views/CustomeView.swift | djestat/RouteTracker | 14bd26979b44d290abe21774815a777d19a31229 | [
"Unlicense"
] | 1 | 2022-01-31T17:17:36.000Z | 2022-01-31T17:17:36.000Z | RouteTracker/UI/Views/CustomeView.swift | djestat/RouteTracker | 14bd26979b44d290abe21774815a777d19a31229 | [
"Unlicense"
] | null | null | null | RouteTracker/UI/Views/CustomeView.swift | djestat/RouteTracker | 14bd26979b44d290abe21774815a777d19a31229 | [
"Unlicense"
] | null | null | null | //
// CustomeView.swift
// RouteTracker
//
// Created by Igor on 15.08.2020.
// Copyright © 2020 Igor Gapanovich. All rights reserved.
//
import UIKit
class CustomeView: UIView {
let pathDrawer = ViewPathDrawing()
override init(frame: CGRect) {
super.init(frame: frame)
setup(fram... | 25.613636 | 101 | 0.636202 |
26925ebc529bb1326f2ffeadf0f21032375bdac4 | 3,887 | java | Java | server/src/main/java/bio/knowledge/server/api/ExactmatchesApi.java | meera-gd/ndex | eede8627447900b19d17cec5d5c57a2a12ca5247 | [
"MIT"
] | null | null | null | server/src/main/java/bio/knowledge/server/api/ExactmatchesApi.java | meera-gd/ndex | eede8627447900b19d17cec5d5c57a2a12ca5247 | [
"MIT"
] | null | null | null | server/src/main/java/bio/knowledge/server/api/ExactmatchesApi.java | meera-gd/ndex | eede8627447900b19d17cec5d5c57a2a12ca5247 | [
"MIT"
] | null | null | null | package bio.knowledge.server.api;
import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springfra... | 97.175 | 648 | 0.758426 |
28dc2bebe774026c6892ea8a2c25c909506b611c | 64 | jbuilder | Ruby | app/views/acticles/index.json.jbuilder | dnhthooi/blog_markdown | bf0e5d1667fed29988cd47ee68376817ba386df4 | [
"Apache-2.0"
] | null | null | null | app/views/acticles/index.json.jbuilder | dnhthooi/blog_markdown | bf0e5d1667fed29988cd47ee68376817ba386df4 | [
"Apache-2.0"
] | null | null | null | app/views/acticles/index.json.jbuilder | dnhthooi/blog_markdown | bf0e5d1667fed29988cd47ee68376817ba386df4 | [
"Apache-2.0"
] | null | null | null | json.array! @acticles, partial: 'acticles/acticle', as: :acticle | 64 | 64 | 0.75 |
0cae22d507612da85bffdebd4c0b6e85283e36dc | 2,621 | kt | Kotlin | libraries/VastSwipeListView/src/main/java/com/gcode/vastswipelistview/adapter/VastMergeListItemAdapter.kt | SakurajimaMaii/GUtils | 545dc2bab4653b7647dbb5f426a5e4fe842dfa4d | [
"MIT"
] | 1 | 2021-03-31T03:31:43.000Z | 2021-03-31T03:31:43.000Z | libraries/VastSwipeListView/src/main/java/com/gcode/vastswipelistview/adapter/VastMergeListItemAdapter.kt | SakurajimaMaii/GStyleUtils | 545dc2bab4653b7647dbb5f426a5e4fe842dfa4d | [
"MIT"
] | 1 | 2021-03-31T03:32:00.000Z | 2021-03-31T03:32:00.000Z | libraries/VastSwipeListView/src/main/java/com/gcode/vastswipelistview/adapter/VastMergeListItemAdapter.kt | SakurajimaMaii/GUtils | 545dc2bab4653b7647dbb5f426a5e4fe842dfa4d | [
"MIT"
] | null | null | null | package com.gcode.vastswipelistview.adapter
import android.content.Context
import android.database.DataSetObserver
import android.view.View
import android.view.ViewGroup
import android.widget.ListAdapter
import android.widget.WrapperListAdapter
import com.gcode.vastswipelistview.VastSwipeMenuMgr
import com.gcode.vasts... | 31.202381 | 83 | 0.719573 |
0ef90a33dbf11f8606bf553d9cabbc74344e2e2e | 5,871 | asm | Assembly | Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1415.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1415.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1415.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x795d, %r15
nop
dec %r10
mov $0x6162636465666768, %r12
movq %r12, %xmm6
movups %xmm6, (%r15)
nop
nop
inc %r13
lea addresses_normal_ht+0x191e9, %rsi
lea addresses_D_ht+0x130bd, %rdi
sub ... | 35.581818 | 2,999 | 0.654233 |
6d48aecd58c5227990e58a9b300ec4698c810615 | 1,364 | swift | Swift | RxHttpClientTests/NSURLTests.swift | RxSwiftCommunity/RxHttpClient | 7048f21f14d26bc326065760926e2d680a18b1da | [
"MIT"
] | 37 | 2016-12-22T09:20:56.000Z | 2022-03-26T17:04:31.000Z | RxHttpClientTests/NSURLTests.swift | RxSwiftCommunity/RxHttpClient | 7048f21f14d26bc326065760926e2d680a18b1da | [
"MIT"
] | 14 | 2016-12-20T19:37:59.000Z | 2019-02-25T17:15:54.000Z | RxHttpClientTests/NSURLTests.swift | RxSwiftCommunity/RxHttpClient | 7048f21f14d26bc326065760926e2d680a18b1da | [
"MIT"
] | 8 | 2016-12-22T09:21:00.000Z | 2021-05-20T16:49:34.000Z | import XCTest
@testable import RxHttpClient
class NSURLTests: XCTestCase {
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
}
override func tearDown() {
// Put teardown code here. This method is called after the inv... | 33.268293 | 105 | 0.706012 |
cb5f8fc06dc562c7566a2c6729c246129567e48d | 7,902 | html | HTML | index.html | michaelperez08/muebleriaarroyowebpage | f0b5ce8affb29a0f7ddbf9dd5790a9937dc95334 | [
"MIT"
] | null | null | null | index.html | michaelperez08/muebleriaarroyowebpage | f0b5ce8affb29a0f7ddbf9dd5790a9937dc95334 | [
"MIT"
] | null | null | null | index.html | michaelperez08/muebleriaarroyowebpage | f0b5ce8affb29a0f7ddbf9dd5790a9937dc95334 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/>
<meta name="description" content="Mueblería Arroyo Sarchí, Fabricantes de Muebles">
<meta name="keywords" content=... | 45.154286 | 247 | 0.596178 |
f834f087adc8864056b36f62a0221beafab5c34c | 570 | kt | Kotlin | step06-creatures-silhouette/src/main/java/tech/salvatore/livro_android_kotlin_paulo_salvatore/viewmodel/UserViewModel.kt | FabricaDeSinapse/livro-android-casa-do-codigo | 29543698aa5e45e62640cc8ffc64b053e6765d98 | [
"MIT"
] | null | null | null | step06-creatures-silhouette/src/main/java/tech/salvatore/livro_android_kotlin_paulo_salvatore/viewmodel/UserViewModel.kt | FabricaDeSinapse/livro-android-casa-do-codigo | 29543698aa5e45e62640cc8ffc64b053e6765d98 | [
"MIT"
] | null | null | null | step06-creatures-silhouette/src/main/java/tech/salvatore/livro_android_kotlin_paulo_salvatore/viewmodel/UserViewModel.kt | FabricaDeSinapse/livro-android-casa-do-codigo | 29543698aa5e45e62640cc8ffc64b053e6765d98 | [
"MIT"
] | null | null | null | package tech.salvatore.livro_android_kotlin_paulo_salvatore.viewmodel
import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import tech.salvatore.livro_android_kotlin_paulo_salvatore.model.repository.UserRepository
import javax.inject.Inject
@HiltViewModel
class UserViewModel @Inject ... | 28.5 | 90 | 0.812281 |
0c8d8ebe08a6b4445a731df985a3abbe390f7b84 | 11,465 | py | Python | src/visaplan/plone/tools/setup/_get_object.py | visaplan/plone.tools | 080da21af710334033540cd2e7e0c63358d234d2 | [
"Apache-2.0"
] | 1 | 2021-01-04T01:30:50.000Z | 2021-01-04T01:30:50.000Z | src/visaplan/plone/tools/setup/_get_object.py | visaplan/plone.tools | 080da21af710334033540cd2e7e0c63358d234d2 | [
"Apache-2.0"
] | null | null | null | src/visaplan/plone/tools/setup/_get_object.py | visaplan/plone.tools | 080da21af710334033540cd2e7e0c63358d234d2 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*- äöü vim: sw=4 sts=4 et tw=79
"""
Tools für Produkt-Setup (Migrationsschritte, "upgrade steps"): _tree
"""
# Python compatibility:
from __future__ import absolute_import
# Standard library:
from posixpath import normpath
# Zope:
from Products.CMFCore.utils import getToolByName
# Plone:
from p... | 35.495356 | 84 | 0.527955 |
1644a074b7479c1cd4fb196de4cd1d5f1202cee3 | 806 | ts | TypeScript | wwwroot/js/Lavine-master/Framework/routesEngine.d.ts | formiga-tecnologia/FOS | 23f14312e1d95f8a56498103615f18cf799a9b68 | [
"MIT"
] | null | null | null | wwwroot/js/Lavine-master/Framework/routesEngine.d.ts | formiga-tecnologia/FOS | 23f14312e1d95f8a56498103615f18cf799a9b68 | [
"MIT"
] | null | null | null | wwwroot/js/Lavine-master/Framework/routesEngine.d.ts | formiga-tecnologia/FOS | 23f14312e1d95f8a56498103615f18cf799a9b68 | [
"MIT"
] | null | null | null | export class Routes{
goToLink(link:any):void
getUpdateRoutes():void
getRouteVars():void
getRoutesOutside(routetarget:any):void
removeVarsOfRoute(route:any):any
registerRoute(routePathRegister:any, compEvent:any):void
runRoute(initialPage:any, InitialPageRedirect:any):voisd
whenUpdat... | 38.380952 | 80 | 0.766749 |
b98256866cf94b9d78d4686823e65102dc7f2e20 | 3,377 | c | C | lib/generateCode/example1/rtos/sdfchannel/sdfchanel.c | Rojods/CInTSyDe | b026d7e59b7707b0d43032a74a085875b43dd281 | [
"MIT"
] | 1 | 2022-03-29T13:16:25.000Z | 2022-03-29T13:16:25.000Z | lib/generateCode/example1/rtos/sdfchannel/sdfchanel.c | Rojods/CInTSyDe | b026d7e59b7707b0d43032a74a085875b43dd281 | [
"MIT"
] | null | null | null | lib/generateCode/example1/rtos/sdfchannel/sdfchanel.c | Rojods/CInTSyDe | b026d7e59b7707b0d43032a74a085875b43dd281 | [
"MIT"
] | null | null | null | #include "FreeRTOS.h"
#include "semphr.h"
#include "timers.h"
#include "queue.h"
#include "../datatype/datatype_definition.h"
/*
============================================
SDFChannel GrayScaleToAbs Message Queue
============================================
*/
/* msg queue */
QueueHandle_t msg_queue_GrayScaleToAbs;
/... | 26.382813 | 53 | 0.550785 |
3bc3cb64de9eb2439fb62dccc1f9e90b3935a6df | 1,180 | h | C | iOSOpenDev/frameworks/CoreDAV.framework/Headers/CoreDAVGetTask.h | bzxy/cydia | f8c838cdbd86e49dddf15792e7aa56e2af80548d | [
"MIT"
] | 678 | 2017-11-17T08:33:19.000Z | 2022-03-26T10:40:20.000Z | iOSOpenDev/frameworks/CoreDAV.framework/Headers/CoreDAVGetTask.h | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 22 | 2019-04-16T05:51:53.000Z | 2021-11-08T06:18:45.000Z | iOSOpenDev/frameworks/CoreDAV.framework/Headers/CoreDAVGetTask.h | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 170 | 2018-06-10T07:59:20.000Z | 2022-03-22T16:19:33.000Z | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/CoreDAV.framework/CoreDAV
*/
#import <CoreDAV/CoreDAVTask.h>
@protocol CoreDAVTaskDelegate;
@interface CoreDAVGetTask : CoreDAVTask {
id _appSpecificDataItemResult; // 120 = 0x78
BOOL _forceNoCache; // 124 = 0x7c... | 39.333333 | 111 | 0.755085 |
2885647d1860ab78c8db537b830c16f0f52f1d8f | 5,035 | rb | Ruby | spec/ebay_trading/sax_handler_spec.rb | leralle/ebay_trader | 3d4525ba577691cb40118a131fc0408c61caf118 | [
"MIT"
] | 5 | 2015-09-08T13:42:58.000Z | 2017-05-13T03:28:15.000Z | spec/ebay_trading/sax_handler_spec.rb | leralle/ebay_trader | 3d4525ba577691cb40118a131fc0408c61caf118 | [
"MIT"
] | 1 | 2016-07-29T12:25:34.000Z | 2016-07-29T12:25:34.000Z | spec/ebay_trading/sax_handler_spec.rb | leralle/ebay_trader | 3d4525ba577691cb40118a131fc0408c61caf118 | [
"MIT"
] | 7 | 2016-05-16T16:21:41.000Z | 2019-01-01T17:06:30.000Z | # frozen_string_literal: true
require 'json'
require 'ox'
require 'ebay_trader/sax_handler'
include EbayTrader
describe SaxHandler do
let(:xml) do
<<-XML
<?xml version="1.0" encoding="UTF-8"?>
<GetItemResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Item>
<StartPrice currencyID="USD">24.99</StartPrice... | 31.666667 | 114 | 0.684806 |
21d0b61e84de4e23c2debdb89034463860031839 | 29,335 | html | HTML | test/data/VoterRegUrls/VR__ Vermont Election Division __.html | votedotorg/votedotorg-state-site-tracking | 850e41f0431c02858e085db5fe0b3acc32263163 | [
"MIT"
] | 3 | 2020-09-16T21:46:22.000Z | 2020-09-17T11:42:54.000Z | test/data/VoterRegUrls/VR__ Vermont Election Division __.html | votedotorg/votedotorg-state-site-tracking | 850e41f0431c02858e085db5fe0b3acc32263163 | [
"MIT"
] | 5 | 2020-09-26T01:18:19.000Z | 2020-10-08T17:21:16.000Z | test/data/VoterRegUrls/VR__ Vermont Election Division __.html | votedotorg/votedotorg-state-site-tracking | 850e41f0431c02858e085db5fe0b3acc32263163 | [
"MIT"
] | 1 | 2020-09-16T22:42:23.000Z | 2020-09-16T22:42:23.000Z | <!DOCTYPE html>
<!-- saved from url=(0025)https://olvr.vermont.gov/ -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>:: Vermont Ele... | 41.609929 | 579 | 0.509664 |
2f68c1faa200a5f5b2cd9d9d79b63e7b430dbdb6 | 6,423 | php | PHP | resources/views/importar.blade.php | chrissierra/liquidaciondesueldo_cl | 1f503e907ab84a66312cfbcb7601140fa9aa6286 | [
"MIT"
] | null | null | null | resources/views/importar.blade.php | chrissierra/liquidaciondesueldo_cl | 1f503e907ab84a66312cfbcb7601140fa9aa6286 | [
"MIT"
] | 5 | 2021-03-10T04:12:52.000Z | 2022-02-26T22:18:54.000Z | resources/views/importar.blade.php | chrissierra/liquidaciondesueldo_cl | 1f503e907ab84a66312cfbcb7601140fa9aa6286 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-154973674-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLa... | 40.14375 | 192 | 0.476569 |
5de2a7461b06f77b16769190ca1ab06f8c16ba57 | 3,073 | h | C | resource/px_sparkfun.h | AcceleratingVector/SFAward | 97fc8f21400f327daf88602b1e51d9f96c01e88b | [
"MIT"
] | null | null | null | resource/px_sparkfun.h | AcceleratingVector/SFAward | 97fc8f21400f327daf88602b1e51d9f96c01e88b | [
"MIT"
] | null | null | null | resource/px_sparkfun.h | AcceleratingVector/SFAward | 97fc8f21400f327daf88602b1e51d9f96c01e88b | [
"MIT"
] | null | null | null | /*
* From the Sparkfun Library for this display.
*/
/** \brief MicroOLED screen buffer.
Page buffer 64 x 48 divided by 8 = 384 bytes
Page buffer is required because in SPI mode, the host cannot read the SSD1306's GDRAM of the controller. This page buffer serves as a scratch RAM for graphical functions. All drawing... | 60.254902 | 340 | 0.678815 |
74628061c18d74744c6dd92f395b5b81ea240cd2 | 5,228 | rs | Rust | src/http.rs | lebai-robotics/aiot-rust | b91d284256733c0bdf64483237d6a05826966d81 | [
"MIT"
] | 3 | 2021-08-16T08:03:56.000Z | 2021-12-31T02:56:10.000Z | src/http.rs | lebai-robotics/aiot-rust | b91d284256733c0bdf64483237d6a05826966d81 | [
"MIT"
] | null | null | null | src/http.rs | lebai-robotics/aiot-rust | b91d284256733c0bdf64483237d6a05826966d81 | [
"MIT"
] | 1 | 2022-02-19T14:22:32.000Z | 2022-02-19T14:22:32.000Z | //! HTTPS 接入。
use crate::util::auth;
use crate::ThreeTuple;
use log::*;
use reqwest::{Certificate, ClientBuilder};
use serde::{Deserialize, Serialize};
type Result<T> = core::result::Result<T, HttpError>;
#[derive(Debug)]
pub struct Http {
pub host: String,
pub three: ThreeTuple,
pub token: Option<String... | 30.045977 | 95 | 0.525057 |
0ed43b3eafc4db7a921bb8829f9dc1403003dfb0 | 5,737 | h | C | external/unbound/iterator/iter_hints.h | sohanlaxmicoin/laxmi | 05f8500b000359f78dd19f90062d586f4e9beb4e | [
"BSD-3-Clause"
] | null | null | null | external/unbound/iterator/iter_hints.h | sohanlaxmicoin/laxmi | 05f8500b000359f78dd19f90062d586f4e9beb4e | [
"BSD-3-Clause"
] | 1 | 2018-08-21T01:16:19.000Z | 2018-08-21T01:16:19.000Z | external/unbound/iterator/iter_hints.h | sohanlaxmicoin/laxmi | 05f8500b000359f78dd19f90062d586f4e9beb4e | [
"BSD-3-Clause"
] | null | null | null | /*
* iterator/iter_hints.h - iterative resolver module stub and root hints.
*
* Copyright (c) 2007, NLnet Labs. All rights reserved.
*
* This software is open source.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... | 35.41358 | 78 | 0.715356 |
fd584b7a5cf577bc3cfbd457a2d10ca1c9e3cf5a | 1,815 | c | C | src/utils.c | tomasz-lisowski/functional-dependency-tool | 7cc87e1edaef2e8ee50fa461a4374e54ae66db8d | [
"MIT"
] | null | null | null | src/utils.c | tomasz-lisowski/functional-dependency-tool | 7cc87e1edaef2e8ee50fa461a4374e54ae66db8d | [
"MIT"
] | null | null | null | src/utils.c | tomasz-lisowski/functional-dependency-tool | 7cc87e1edaef2e8ee50fa461a4374e54ae66db8d | [
"MIT"
] | null | null | null | #include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "utils.h"
bool subset_sorted(void *set_a, void *set_b, uint32_t set_a_len, uint32_t set_b_len, uint32_t el_size)
{
uint32_t set_a_idx = 0;
for (uint32_t set_b_idx = 0; set_b_idx < set_b_len; set_b_idx += 1)
{
i... | 31.842105 | 118 | 0.559229 |
20579dce8c370b7351fe642c332a111a82d743ff | 1,160 | css | CSS | web/assets/front/css/MalekCSS.css | MedBenHadid/reactorsbenevolat | dd06261e8ab090b84f897b813b8cc7882e9a8412 | [
"MIT"
] | 1 | 2021-05-30T15:08:19.000Z | 2021-05-30T15:08:19.000Z | web/assets/front/css/MalekCSS.css | MedBenHadid/reactorsbenevolat | dd06261e8ab090b84f897b813b8cc7882e9a8412 | [
"MIT"
] | null | null | null | web/assets/front/css/MalekCSS.css | MedBenHadid/reactorsbenevolat | dd06261e8ab090b84f897b813b8cc7882e9a8412 | [
"MIT"
] | null | null | null | :root {
--teal-color: grey;
--purple-color: #9E41CC;
}
body {
color: var(--teal-color);
}
ul {
padding: 0;
list-style: none;
}
.topics-table {
margin-top: 1rem;
padding: 8px;
border: 2px solid var(--teal-color);
border-radius: 10px;
}
.topics-table a {
/*color: var(--purple-... | 15.064935 | 53 | 0.589655 |
5c8a5aabd37f72121dd8848ac682c4dd0e297968 | 4,755 | c | C | src/io.c | MatthewZito/tabloid | bdfa4b13e558edb10d47044fbc1ac75c63f76119 | [
"MIT"
] | null | null | null | src/io.c | MatthewZito/tabloid | bdfa4b13e558edb10d47044fbc1ac75c63f76119 | [
"MIT"
] | null | null | null | src/io.c | MatthewZito/tabloid | bdfa4b13e558edb10d47044fbc1ac75c63f76119 | [
"MIT"
] | null | null | null | /**
* @file io.c
* @author goldmund
* @brief Handles file I/O to program
* @version 0.1
* @date 2021-07-05
*
* @copyright Copyright (c) 2021 Matthew Zito (goldmund)
*
*/
/* Feature Test Macros */
#define _DEFAULT_SOURCE // ea. handles `getline` resolution
#define _BSD_SOURCE
#define _GNU_SOURCE
#include "io.... | 20.49569 | 97 | 0.612618 |
ae718edc75ac8edf8a86ef807e91857005b9638f | 451 | asm | Assembly | libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshc_pxy2saddr.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshc_pxy2saddr.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshc_pxy2saddr.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; ===============================================================
; May 2017
; ===============================================================
;
; void *tshc_pxy2saddr(uchar x, uchar y)
;
; Screen address of byte containing pixel at coordinate x, y.
;
; ===============================================================
S... | 23.736842 | 65 | 0.445676 |
4065251b7e6601cbdb4a826ad5325db34dee3b4c | 1,040 | py | Python | tests/ts4/contracts/service.py | tonred/tonclick | 942c1012a1112616da0887437a93912e3dd537b9 | [
"Apache-2.0"
] | null | null | null | tests/ts4/contracts/service.py | tonred/tonclick | 942c1012a1112616da0887437a93912e3dd537b9 | [
"Apache-2.0"
] | null | null | null | tests/ts4/contracts/service.py | tonred/tonclick | 942c1012a1112616da0887437a93912e3dd537b9 | [
"Apache-2.0"
] | 2 | 2021-10-17T14:08:16.000Z | 2022-01-12T10:55:33.000Z | from tonos_ts4 import ts4
class Service(ts4.BaseContract):
def __init__(self, address: ts4.Address):
super().__init__('Service', {}, nickname='Service', address=address)
def get_subscription_plans(self) -> list[ts4.Address]:
return self.call_getter('getSubscriptionPlans', {'_answer_id': 0})
... | 30.588235 | 76 | 0.602885 |
2009ecb93d989b902816c7f2f92491c49a4dc15a | 2,419 | css | CSS | wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/css/tools-partials-BackupSettings-vue.rtl.css | david-berruezo/wp-rentals-theme-modified | 4e81adc68b1c6e3f11c1006c3573a106dca29790 | [
"Apache-2.0"
] | null | null | null | wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/css/tools-partials-BackupSettings-vue.rtl.css | david-berruezo/wp-rentals-theme-modified | 4e81adc68b1c6e3f11c1006c3573a106dca29790 | [
"Apache-2.0"
] | 21 | 2021-05-13T13:10:04.000Z | 2022-03-14T13:13:29.000Z | wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/css/tools-partials-BackupSettings-vue.rtl.css | david-berruezo/wp-rentals-theme-modified | 4e81adc68b1c6e3f11c1006c3573a106dca29790 | [
"Apache-2.0"
] | null | null | null | .aioseo-backup-settings .aioseo-alert{margin-bottom:20px}.aioseo-backup-settings .backups-table{border:1px solid #d0d1d7;border-radius:3px;margin-bottom:20px;font-size:16px}.aioseo-backup-settings .backups-table .backup-actions{max-width:50px}.aioseo-backup-settings .backups-table .backup-actions .aioseo-tooltip{displa... | 2,419 | 2,419 | 0.815213 |
8f01c0766e6fe908a41972b098932492cbfcd60e | 2,276 | rs | Rust | maistra/vendor/proxy_wasm_cpp_host__regalloc__0_0_31/src/pretty_print.rs | knm3000/proxy | f2bb57b7294aea2cb344824785be42849d7d63c9 | [
"Apache-2.0"
] | 70 | 2020-04-04T18:47:24.000Z | 2022-02-20T00:05:56.000Z | maistra/vendor/proxy_wasm_cpp_host__regalloc__0_0_31/src/pretty_print.rs | knm3000/proxy | f2bb57b7294aea2cb344824785be42849d7d63c9 | [
"Apache-2.0"
] | 54 | 2020-06-23T17:34:04.000Z | 2022-03-31T02:04:06.000Z | maistra/vendor/proxy_wasm_cpp_host__regalloc__0_0_31/src/pretty_print.rs | knm3000/proxy | f2bb57b7294aea2cb344824785be42849d7d63c9 | [
"Apache-2.0"
] | 16 | 2020-04-09T22:37:24.000Z | 2022-03-20T19:15:25.000Z | //! Pretty-printing for the main data structures.
use crate::data_structures::WritableBase;
use crate::{RealRegUniverse, Reg, Writable};
/// A trait for printing instruction bits and pieces, with the the ability to take a
/// contextualising `RealRegUniverse` that is used to give proper names to registers.
pub trait ... | 39.929825 | 99 | 0.661248 |
2f0e3960616ebbe8c4e363fda70c0cb6393f9317 | 51,480 | php | PHP | seller/application/views/preview.php | admin731/craftsindian | ecc1e6e8ebb0e016b3790e6bfb01f5771dc7276d | [
"MIT"
] | null | null | null | seller/application/views/preview.php | admin731/craftsindian | ecc1e6e8ebb0e016b3790e6bfb01f5771dc7276d | [
"MIT"
] | null | null | null | seller/application/views/preview.php | admin731/craftsindian | ecc1e6e8ebb0e016b3790e6bfb01f5771dc7276d | [
"MIT"
] | null | null | null | <?php
if($details['is_variant'] == 1){
$price = '';
$discount = '';
$net = '';
}else{
$price = $details['product_price'];
$discount = $details['discount'];
$net = $details['net'];
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
... | 36.330275 | 1,182 | 0.568998 |
dc0545906ed842c9dc7137b6832079b7caeaed30 | 645 | py | Python | setup.py | deresmos/gssetting | 6c6a30bc048194930337b3253b14aba65144e06a | [
"MIT"
] | null | null | null | setup.py | deresmos/gssetting | 6c6a30bc048194930337b3253b14aba65144e06a | [
"MIT"
] | null | null | null | setup.py | deresmos/gssetting | 6c6a30bc048194930337b3253b14aba65144e06a | [
"MIT"
] | null | null | null | from setuptools import find_packages, setup
requires = ["google-auth", "gspread", "requests"]
with open("README.md", "r", encoding="utf-8") as f:
readme = f.read()
setup(
name="gssetting",
version="0.0.1",
description="Load setting value from Google Sheets",
long_description=readme,
long_desc... | 26.875 | 56 | 0.685271 |
1d916b17ba410da2b26080d394981367de8e6746 | 262 | swift | Swift | ios/Lift/LiftServer/NotificationModel.swift | muvr/open-muvr | eb2e6ed1966ce9f2dc56dc2bc2e3a7f80a300d2c | [
"Apache-2.0"
] | 59 | 2015-03-08T17:32:22.000Z | 2018-07-08T04:04:29.000Z | ios/Lift/LiftServer/NotificationModel.swift | muvr/open-muvr | eb2e6ed1966ce9f2dc56dc2bc2e3a7f80a300d2c | [
"Apache-2.0"
] | 1 | 2015-03-29T17:11:11.000Z | 2015-03-29T17:11:11.000Z | ios/Lift/LiftServer/NotificationModel.swift | muvr/open-muvr | eb2e6ed1966ce9f2dc56dc2bc2e3a7f80a300d2c | [
"Apache-2.0"
] | 17 | 2015-03-12T18:40:50.000Z | 2018-03-10T00:49:33.000Z | import Foundation
struct Notification {
struct Notification {
var alert: String
var category: String
var title: String?
}
struct AmbiguousExerciseNotification {
var notification: Notification
var exercises: [Exercise.Exercise]
}
} | 16.375 | 40 | 0.71374 |
c7fa898578b52bf1146ee451c2354400ad617a4f | 9,969 | lua | Lua | entities/entities/bw_base_moneyprinter.lua | CaveeJohnson/basewars-2015-final | a86b9848be126977c19f6e2b5654b02d183c30c4 | [
"MIT"
] | null | null | null | entities/entities/bw_base_moneyprinter.lua | CaveeJohnson/basewars-2015-final | a86b9848be126977c19f6e2b5654b02d183c30c4 | [
"MIT"
] | 1 | 2020-06-26T00:03:26.000Z | 2020-06-26T12:06:42.000Z | entities/entities/bw_base_moneyprinter.lua | CaveeJohnson/basewars-2015-final | a86b9848be126977c19f6e2b5654b02d183c30c4 | [
"MIT"
] | 2 | 2020-06-02T22:15:09.000Z | 2021-02-10T22:11:50.000Z | local fontName = "BaseWars.MoneyPrinter"
ENT.Base = "bw_base_electronics"
ENT.Model = "models/props_lab/reciever01a.mdl"
ENT.Skin = 0
ENT.Capacity = 10000
ENT.Money = 0
ENT.MaxPaper = 2500
ENT.PrintInterval = 1
ENT.PrintAmount = 8
ENT.MaxLevel = 25
ENT.UpgradeCost = 1000
ENT.PrintName = "Basic Printer"... | 27.538674 | 141 | 0.680108 |
d991536bfe348977f255994c8ac81b15acaf9bce | 8,218 | rs | Rust | glib/src/key_file.rs | jf2048/gtk-rs-core | 02de84c94e50145604a9187fdfa1460a155bb723 | [
"MIT-0",
"MIT"
] | null | null | null | glib/src/key_file.rs | jf2048/gtk-rs-core | 02de84c94e50145604a9187fdfa1460a155bb723 | [
"MIT-0",
"MIT"
] | null | null | null | glib/src/key_file.rs | jf2048/gtk-rs-core | 02de84c94e50145604a9187fdfa1460a155bb723 | [
"MIT-0",
"MIT"
] | null | null | null | // Take a look at the license at the top of the repository in the LICENSE file.
use crate::error::Error;
use crate::gstring::GString;
use crate::translate::*;
use crate::KeyFileFlags;
use std::mem;
use std::path;
use std::ptr;
use crate::KeyFile;
impl KeyFile {
#[doc(alias = "g_key_file_save_to_file")]
pub f... | 32.101563 | 97 | 0.480774 |
a5a7491e826a080769ba1377ad47f541c9cb5f73 | 985 | swift | Swift | Sources/macOS/Extensions/AppKit/NSCollectionView+.swift | AQUArchitect/MyKit | a9d4c8f15e178fab959b6032c411a7a08e688435 | [
"MIT"
] | null | null | null | Sources/macOS/Extensions/AppKit/NSCollectionView+.swift | AQUArchitect/MyKit | a9d4c8f15e178fab959b6032c411a7a08e688435 | [
"MIT"
] | null | null | null | Sources/macOS/Extensions/AppKit/NSCollectionView+.swift | AQUArchitect/MyKit | a9d4c8f15e178fab959b6032c411a7a08e688435 | [
"MIT"
] | null | null | null | //
// NSCollectionView+.swift
// MyKit
//
// Created by Hai Nguyen.
// Copyright (c) 2017 Hai Nguyen.
//
import AppKit
@available(OSX 10.11, *)
public extension NSCollectionView {
/// Return an estimated range of item indexes that are visible in bounds.
///
/// The calculation uses `estimatedNumberOfVisi... | 30.78125 | 86 | 0.701523 |
777f14bc6d9345a1a427307d7d1592f125892f01 | 919 | asm | Assembly | cards/bn5/ItemCards/136-F003 Sal's Lunch Freebies.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | d591ddca5566dbb323dc19c11e69410fa4073d1b | [
"Unlicense"
] | 10 | 2017-12-05T14:25:38.000Z | 2022-02-21T04:28:00.000Z | cards/bn5/ItemCards/136-F003 Sal's Lunch Freebies.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | d591ddca5566dbb323dc19c11e69410fa4073d1b | [
"Unlicense"
] | null | null | null | cards/bn5/ItemCards/136-F003 Sal's Lunch Freebies.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | d591ddca5566dbb323dc19c11e69410fa4073d1b | [
"Unlicense"
] | null | null | null | .include "defaults_item.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 0
card_id equ 23
card_no equ "023"
card_sub equ "Item Card 023"
card_sub_... | 30.633333 | 47 | 0.797606 |
16fbff51bfdc4953b99aade1fedb2c076001e686 | 61 | tsx | TypeScript | src/views/ThankYouAndExistPage/hooks/index.tsx | tinkerhub/jenga-ui | 75c7d863cd1323bafd7d80a5ea63f9afcd27f8a3 | [
"MIT"
] | 5 | 2020-11-26T14:21:33.000Z | 2021-05-31T10:34:31.000Z | src/views/ThankYouAndExistPage/hooks/index.tsx | tinkerhub-org/jenga-ui | 75c7d863cd1323bafd7d80a5ea63f9afcd27f8a3 | [
"MIT"
] | null | null | null | src/views/ThankYouAndExistPage/hooks/index.tsx | tinkerhub-org/jenga-ui | 75c7d863cd1323bafd7d80a5ea63f9afcd27f8a3 | [
"MIT"
] | 3 | 2021-08-04T17:09:30.000Z | 2021-08-11T15:05:24.000Z | export { useThankYouAndExist } from './useThankYouAndExist';
| 30.5 | 60 | 0.786885 |
0ba563c5f1a8e8092fcd4bece03a89610c759cd4 | 2,801 | py | Python | tests/test_sa.py | mariushelf/sa2django | 936b0a70b0ccc8faf3ca26ff241b0b6dac13f204 | [
"MIT"
] | null | null | null | tests/test_sa.py | mariushelf/sa2django | 936b0a70b0ccc8faf3ca26ff241b0b6dac13f204 | [
"MIT"
] | null | null | null | tests/test_sa.py | mariushelf/sa2django | 936b0a70b0ccc8faf3ca26ff241b0b6dac13f204 | [
"MIT"
] | null | null | null | import sqlite3
import pytest
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
import tests.testsite.testapp.models as dm
from tests.sa_models import Base, Car, Child, Dog, Parent
@pytest.fixture(scope="session")
def engine():
print("NEW ENGINE")
engine = create_engine(
"s... | 27.194175 | 71 | 0.687612 |
605042a1f75827d9aedd746f4702801a99184d46 | 11,621 | html | HTML | mousepawmedia.com/ratscript.html | mousepawmedia/mpm-websites | b4fc1f41ddb3d32f9c0bfe7e7ee59b3a5284d8c6 | [
"BSD-3-Clause"
] | null | null | null | mousepawmedia.com/ratscript.html | mousepawmedia/mpm-websites | b4fc1f41ddb3d32f9c0bfe7e7ee59b3a5284d8c6 | [
"BSD-3-Clause"
] | null | null | null | mousepawmedia.com/ratscript.html | mousepawmedia/mpm-websites | b4fc1f41ddb3d32f9c0bfe7e7ee59b3a5284d8c6 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE HTML>
<html lang='en-US'>
<head>
<!--#include virtual='/common/commonhead.html' -->
<!--Display information-->
<title>Ratscript</title>
<meta name='author' content='MousePaw Media'>
<meta name='description' content="Ratscript is a brand new programming language with an
original syntax... | 40.491289 | 110 | 0.45478 |
a18d146c0f78a254988b2e24be996d54388fb17d | 570 | c | C | drivers/uart/uart.c | kaightasa/mcube | 545c32f318ae08c4104a3e32e254cba0f45ca6bc | [
"BSD-2-Clause"
] | 40 | 2018-11-23T12:11:54.000Z | 2022-02-14T11:33:33.000Z | drivers/uart/uart.c | kaightasa/mcube | 545c32f318ae08c4104a3e32e254cba0f45ca6bc | [
"BSD-2-Clause"
] | null | null | null | drivers/uart/uart.c | kaightasa/mcube | 545c32f318ae08c4104a3e32e254cba0f45ca6bc | [
"BSD-2-Clause"
] | 8 | 2019-05-19T15:23:17.000Z | 2021-05-14T08:09:47.000Z | /**
* @file drivers/uart/uart.c
*
* @author Hiroyuki Chishiro
*/
#include <mcube/mcube.h>
uint8_t uart_getc(uint8_t ch)
{
uint8_t c;
c = uart_pol_getc(ch);
return c;
}
void uart_putc(char c, uint8_t ch)
{
if (c == '\n') {
uart_pol_putc('\r', ch);
}
uart_pol_putc(c, ch);
}
size_t uart_write(con... | 13.255814 | 62 | 0.62807 |
2910adbd61c746388cec1515daf9408697fa4c9a | 647,730 | py | Python | lib/ovirtsdk4/types.py | oliel/python-ovirt-engine-sdk4 | c0b13982b45dee664ebc063bda7686124b402c14 | [
"Apache-2.0"
] | null | null | null | lib/ovirtsdk4/types.py | oliel/python-ovirt-engine-sdk4 | c0b13982b45dee664ebc063bda7686124b402c14 | [
"Apache-2.0"
] | null | null | null | lib/ovirtsdk4/types.py | oliel/python-ovirt-engine-sdk4 | c0b13982b45dee664ebc063bda7686124b402c14 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (c) 2016 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 24.006894 | 117 | 0.574781 |
e95e7dbd4389a897ceba5e7e0489f685491ba2e1 | 4,537 | lua | Lua | addons/death-marker.lua | hidden-relic/OARC_hidden_relic_WIP | 8dd725018b15d6c882514ba8279e1605643f52a3 | [
"MIT"
] | null | null | null | addons/death-marker.lua | hidden-relic/OARC_hidden_relic_WIP | 8dd725018b15d6c882514ba8279e1605643f52a3 | [
"MIT"
] | null | null | null | addons/death-marker.lua | hidden-relic/OARC_hidden_relic_WIP | 8dd725018b15d6c882514ba8279e1605643f52a3 | [
"MIT"
] | null | null | null | --[[
Copyright 2017-2018 "Kovus" <kovus@soulless.wtf>
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following discl... | 36.007937 | 94 | 0.708398 |
5733856081210d8974b7b873850ea6519110aa16 | 6,209 | kt | Kotlin | app/src/main/java/de/p72b/geo/demo/showcase/MainViewModel.kt | P72B/geo-library | 38818f5fbc43ff4cc2502e0d3fde495c11bfbb75 | [
"MIT"
] | 4 | 2020-07-02T09:03:36.000Z | 2021-02-11T14:50:45.000Z | app/src/main/java/de/p72b/geo/demo/showcase/MainViewModel.kt | P72B/geo-library | 38818f5fbc43ff4cc2502e0d3fde495c11bfbb75 | [
"MIT"
] | null | null | null | app/src/main/java/de/p72b/geo/demo/showcase/MainViewModel.kt | P72B/geo-library | 38818f5fbc43ff4cc2502e0d3fde495c11bfbb75 | [
"MIT"
] | null | null | null | package de.p72b.geo.demo.showcase
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.MutableLiveData
import com.google.android.gms.maps.model.LatLng
import de.p72b.geo.demo.usecase.*
import de.p72b.geo.demo.util.BaseViewModel
import de.p72b.geo.demo.util.ConverterHelper
import de.p72b.geo.google.Dir... | 33.562162 | 96 | 0.62506 |
596cc5d1dc897ef2f8baa65f80c8a448f4a7a997 | 1,012 | sql | SQL | Four2One/Four2One/Scripts/VersionUpdate/v205/16_getPatientVitals.sql | kccb-karp/IQCareMigration | df35dc31e47d3f84cb09a541e22fbe071f4fe995 | [
"Apache-2.0"
] | null | null | null | Four2One/Four2One/Scripts/VersionUpdate/v205/16_getPatientVitals.sql | kccb-karp/IQCareMigration | df35dc31e47d3f84cb09a541e22fbe071f4fe995 | [
"Apache-2.0"
] | 14 | 2018-06-13T09:55:38.000Z | 2018-07-21T15:32:00.000Z | Four2One/Four2One/Scripts/VersionUpdate/v205/16_getPatientVitals.sql | kccb-karp/IQCareMigration | df35dc31e47d3f84cb09a541e22fbe071f4fe995 | [
"Apache-2.0"
] | 1 | 2019-07-05T05:52:22.000Z | 2019-07-05T05:52:22.000Z | IF EXISTS (SELECT * FROM sys.objects WHERE object_id
= OBJECT_ID(N'[dbo].[getPatientVitals]') AND type in (N'P', N'PC'))
DROP PROCEDURE [dbo].getPatientVitals
GO
CREATE PROCEDURE [dbo].[getPatientVitals]
(
@PatientMasterVisitID int, @PatientID INT
)
AS
BEGIN
SELECT distinct
PatientId
, cast(visitdate as date) Visit... | 31.625 | 85 | 0.763834 |
41c055935fe0e82e4a6afa358593cd399b63290f | 3,428 | kt | Kotlin | modules/editing/src/main/kotlin/silentorb/mythic/editing/updating/UpdateCamera.kt | silentorb/mythic-kotlin | 74462fcba9e7805dddec1bfcb3431665df7d0dee | [
"MIT"
] | 1 | 2020-06-24T02:01:23.000Z | 2020-06-24T02:01:23.000Z | modules/editing/src/main/kotlin/silentorb/mythic/editing/updating/UpdateCamera.kt | silentorb/mythic-kotlin | 74462fcba9e7805dddec1bfcb3431665df7d0dee | [
"MIT"
] | 5 | 2019-12-24T17:14:43.000Z | 2021-01-26T22:33:47.000Z | modules/editing/src/main/kotlin/silentorb/mythic/editing/updating/UpdateCamera.kt | silentorb/mythic-kotlin | 74462fcba9e7805dddec1bfcb3431665df7d0dee | [
"MIT"
] | null | null | null | package silentorb.mythic.editing.updating
import silentorb.mythic.editing.general.MouseState
import silentorb.mythic.editing.main.*
import silentorb.mythic.editing.panels.defaultViewportId
import silentorb.mythic.ent.scenery.getAbsoluteNodeTransform
import silentorb.mythic.happenings.Command
import silentorb.mythic.sc... | 40.809524 | 126 | 0.745333 |
6bf4fcd396726b10b2e4a602740d923cd048b649 | 1,348 | lua | Lua | boilerplate.lua | ccheever/zcao | ba454cb6baabe6f64578a33ad29c37501f089ae5 | [
"MIT"
] | 1 | 2020-10-09T13:14:42.000Z | 2020-10-09T13:14:42.000Z | boilerplate.lua | ccheever/zcao | ba454cb6baabe6f64578a33ad29c37501f089ae5 | [
"MIT"
] | null | null | null | boilerplate.lua | ccheever/zcao | ba454cb6baabe6f64578a33ad29c37501f089ae5 | [
"MIT"
] | null | null | null | local powerMultipliers = {
[2] = function(a)
return a * a
end,
[3] = function(a)
return a * a * a
end,
[4] = function(a)
return a * a * a * a
end,
[5] = function(a)
return a * a * a * a * a
end
}
return {
tau = math.pi * 2,
lerp = function(a, b, t... | 24.962963 | 79 | 0.52003 |
76ec645417d5d523515b1c1c9bf4e43986b951c3 | 233 | sql | SQL | lib/db/orig/charttimes.sql | CodeRancher/offcenter_trading | 68526fdc0f27d611f748b2fa20f49e743d3ee5eb | [
"Apache-2.0"
] | null | null | null | lib/db/orig/charttimes.sql | CodeRancher/offcenter_trading | 68526fdc0f27d611f748b2fa20f49e743d3ee5eb | [
"Apache-2.0"
] | 4 | 2021-12-27T17:56:21.000Z | 2022-01-05T00:05:01.000Z | lib/db/orig/charttimes.sql | CodeRancher/offcenter_trading | 68526fdc0f27d611f748b2fa20f49e743d3ee5eb | [
"Apache-2.0"
] | null | null | null | USE jody;
CREATE TABLE ChartTimes (
Name varchar(30) NOT NULL,
HTF varchar(10) NOT NULL,
HTFMinutes int,
ITF varchar(10) NOT NULL,
ITFMinutes int,
STF varchar(10) NOT NULL,
STFMinutes int,
PRIMARY KEY (Name) USING BTREE
)
| 16.642857 | 31 | 0.72103 |
cb58ac7e6e2235d5fd92ab6e82337b78be0dc0a9 | 11,666 | html | HTML | assets/js/app/routes/partials/form-route-015.html | xiaojun207/konga | f13bf7268bae3988fc1b8a9c62d1d2504f6863a2 | [
"MIT"
] | null | null | null | assets/js/app/routes/partials/form-route-015.html | xiaojun207/konga | f13bf7268bae3988fc1b8a9c62d1d2504f6863a2 | [
"MIT"
] | null | null | null | assets/js/app/routes/partials/form-route-015.html | xiaojun207/konga | f13bf7268bae3988fc1b8a9c62d1d2504f6863a2 | [
"MIT"
] | null | null | null | <div class="col col-sm-offset-3">
<div class="alert alert-info">
<small
>* For hosts, paths, methods and protocols, snis, sources, headers and destinations
press enter to apply every value you type</small
>
</div>
</div>
<div class="form-group" ng-class="{'has-error' : errors.name}">
<label cl... | 32.861972 | 106 | 0.593348 |
c640a07b173a3fdce37328819ac37bfbcdc2918c | 21 | rb | Ruby | axle/lib/axle/rails.rb | cheokman/code_lab_2016 | 2fb152734d98ed6a904562e038d4ea7257375305 | [
"MIT"
] | null | null | null | axle/lib/axle/rails.rb | cheokman/code_lab_2016 | 2fb152734d98ed6a904562e038d4ea7257375305 | [
"MIT"
] | null | null | null | axle/lib/axle/rails.rb | cheokman/code_lab_2016 | 2fb152734d98ed6a904562e038d4ea7257375305 | [
"MIT"
] | null | null | null | require 'axle/engine' | 21 | 21 | 0.809524 |
0ba620be4d73b92a7785647ce66d121461107963 | 2,169 | js | JavaScript | src/pages/publisher/nft-create-rights.js | KrisMit/vine-dev-static | c60d15f9b9e591608eb54f72e79071dbb61f3707 | [
"RSA-MD"
] | null | null | null | src/pages/publisher/nft-create-rights.js | KrisMit/vine-dev-static | c60d15f9b9e591608eb54f72e79071dbb61f3707 | [
"RSA-MD"
] | null | null | null | src/pages/publisher/nft-create-rights.js | KrisMit/vine-dev-static | c60d15f9b9e591608eb54f72e79071dbb61f3707 | [
"RSA-MD"
] | null | null | null | import React from 'react'
import VineLayout from "../../components/vineLayout"
import Seo from "../../components/seo"
import Box from '@mui/material/Box';
import TableRights from "../../components/tableRights";
import UploadButtons from '../../components/uploadButtons';
import Input from '@mui/material/Input';
import D... | 50.44186 | 232 | 0.64592 |
5236fb383323ce4cd061c6749b5659b5a83b6a81 | 79 | sql | SQL | Example/src/main/resources/schema.sql | edtoktay/DynamicCompiler | ce25767fe400be81cc6c38c1a5dd1ee1f3aa7aa2 | [
"MIT"
] | 4 | 2017-11-30T03:32:29.000Z | 2021-11-09T02:45:56.000Z | Example/src/main/resources/schema.sql | fucora/DynamicCompiler | ce25767fe400be81cc6c38c1a5dd1ee1f3aa7aa2 | [
"MIT"
] | null | null | null | Example/src/main/resources/schema.sql | fucora/DynamicCompiler | ce25767fe400be81cc6c38c1a5dd1ee1f3aa7aa2 | [
"MIT"
] | 3 | 2019-04-28T12:40:22.000Z | 2021-11-09T02:45:57.000Z | create table if not exists app_users (
username varchar,
password varchar
);
| 15.8 | 38 | 0.772152 |
e6af9221ffbcf7c585e566360b4e0b31c701ac79 | 95 | sql | SQL | tests/queries/049-unusable-constraint-4.sql | pydemo/spv_14.4 | ad3b62d6bdbbfc29e56391f512ba0ee17dad4eb7 | [
"Apache-2.0"
] | null | null | null | tests/queries/049-unusable-constraint-4.sql | pydemo/spv_14.4 | ad3b62d6bdbbfc29e56391f512ba0ee17dad4eb7 | [
"Apache-2.0"
] | null | null | null | tests/queries/049-unusable-constraint-4.sql | pydemo/spv_14.4 | ad3b62d6bdbbfc29e56391f512ba0ee17dad4eb7 | [
"Apache-2.0"
] | null | null | null | select nn1.int8_1 from no_nulls1 nn1 join no_nulls1 nn2 using (int8_1) where nn1.int8_1 = 0;
0
| 31.666667 | 92 | 0.778947 |
874fc1041e0b6446558f8d9eb26c12111a55d72b | 2,595 | html | HTML | resources/www/templates/header.html | ankurkotwal/metarefcard | 06e8b11640ed00985af7cc136b47bf5c8a46b364 | [
"Apache-2.0"
] | null | null | null | resources/www/templates/header.html | ankurkotwal/metarefcard | 06e8b11640ed00985af7cc136b47bf5c8a46b364 | [
"Apache-2.0"
] | 2 | 2020-11-05T11:25:11.000Z | 2021-10-06T03:57:14.000Z | resources/www/templates/header.html | ankurkotwal/metarefcard | 06e8b11640ed00985af7cc136b47bf5c8a46b364 | [
"Apache-2.0"
] | 1 | 2020-11-04T14:06:27.000Z | 2020-11-04T14:06:27.000Z | <!doctype html>
<html lang="en">
<link rel="stylesheet" href="main.css">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{ .Title }} ({{ .Version }})</title>
<!-- Bootswatch Cosmo CSS -->
<link rel="s... | 43.983051 | 129 | 0.684393 |
86cc28299c0636c1de7a6abecc5166df288954ca | 29,059 | rs | Rust | src/mcan0/mcan_ir.rs | ju6ge/atsame70q21 | 328e7a7aa4b69f164acb1ebb7f4a0bea300e6723 | [
"MIT"
] | 1 | 2020-04-07T19:47:23.000Z | 2020-04-07T19:47:23.000Z | src/mcan0/mcan_ir.rs | ju6ge/atsame70q21 | 328e7a7aa4b69f164acb1ebb7f4a0bea300e6723 | [
"MIT"
] | null | null | null | src/mcan0/mcan_ir.rs | ju6ge/atsame70q21 | 328e7a7aa4b69f164acb1ebb7f4a0bea300e6723 | [
"MIT"
] | null | null | null | #[doc = "Reader of register MCAN_IR"]
pub type R = crate::R<u32, super::MCAN_IR>;
#[doc = "Writer for register MCAN_IR"]
pub type W = crate::W<u32, super::MCAN_IR>;
#[doc = "Register MCAN_IR `reset()`'s with value 0"]
impl crate::ResetValue for super::MCAN_IR {
type Type = u32;
#[inline(always)]
fn reset_va... | 28.022179 | 86 | 0.515606 |
27027a4ece7701ae3a5a0c0acbea3e6542bd9c2d | 957 | h | C | 6_obj_viewer/Engine/render/World.h | hyunjun529/WIN_VS_GL_Setups | 8f49c7889a102f9b48dffd6caf189932032a2bd7 | [
"MIT"
] | 2 | 2019-02-07T06:50:43.000Z | 2020-07-07T01:00:21.000Z | 6_obj_viewer/Engine/render/World.h | hyunjun529/WIN_VS_GL_Setups | 8f49c7889a102f9b48dffd6caf189932032a2bd7 | [
"MIT"
] | null | null | null | 6_obj_viewer/Engine/render/World.h | hyunjun529/WIN_VS_GL_Setups | 8f49c7889a102f9b48dffd6caf189932032a2bd7 | [
"MIT"
] | 5 | 2018-08-28T03:11:04.000Z | 2020-06-09T07:01:12.000Z | #ifndef KATA_RENDER_WINDOW_H_
#define KATA_RENDER_WINDOW_H_
#include <GL/gl3w.h>
#include <GLFW/glfw3.h>
#include "ShaderUtil.h"
namespace kata
{
namespace render
{
class World
{
private:
ShaderUtil shaderUtil;
int m_windowWidth = 400;
int m_windowHeight = 400;
char windowTitle[64] = "??";
p... | 19.530612 | 88 | 0.682341 |
d2d9095681d6944ada8285efcbeed30f95dd2824 | 9,580 | php | PHP | resources/views/frontend/manages/news.blade.php | AliHossainRingku/hospital_cox | 98bace96a7f70cb261cf4b5d20ebffc64631b49f | [
"MIT"
] | null | null | null | resources/views/frontend/manages/news.blade.php | AliHossainRingku/hospital_cox | 98bace96a7f70cb261cf4b5d20ebffc64631b49f | [
"MIT"
] | null | null | null | resources/views/frontend/manages/news.blade.php | AliHossainRingku/hospital_cox | 98bace96a7f70cb261cf4b5d20ebffc64631b49f | [
"MIT"
] | null | null | null | @extends('frontend.home_layout')
@section('content')
<!-- Inne Page Banner Area Start Here -->
<section class="inner-page-banner bg-common inner-page-top-margin" data-bg-image="frontend/img/figure/figure2.jpg">
<div class="container">
<div class="row">
<div clas... | 49.128205 | 123 | 0.281733 |
90e5a3c2f658934cbf13a8422e77a8a7a8150e59 | 1,955 | py | Python | confusionMatrix.py | anirbanghoshsbi/pandas-technical-indicators | 8e342117866dec85e1b47d263225ef12812e7df7 | [
"MIT"
] | null | null | null | confusionMatrix.py | anirbanghoshsbi/pandas-technical-indicators | 8e342117866dec85e1b47d263225ef12812e7df7 | [
"MIT"
] | null | null | null | confusionMatrix.py | anirbanghoshsbi/pandas-technical-indicators | 8e342117866dec85e1b47d263225ef12812e7df7 | [
"MIT"
] | null | null | null |
import matplotlib.pyplot as plt
from sklearn.metrics import confusion_matrix, plot_confusion_matrix
import numpy as np
def confus_matrix(signalflag , prediction , model=False ,X_test=False,y_test=False ,plot=False , test=True):
''' #cm.confus_matrix(actual_results,predictions,model,<test data(or new_data for pred... | 51.447368 | 150 | 0.707417 |
26427e941ca958b404608a5d17094b7e03cf3af7 | 342,181 | java | Java | y/src/Y.java | ywanes/utility_y | e62671086cf90a03ea2f39883d13d3902152768d | [
"MIT"
] | null | null | null | y/src/Y.java | ywanes/utility_y | e62671086cf90a03ea2f39883d13d3902152768d | [
"MIT"
] | null | null | null | y/src/Y.java | ywanes/utility_y | e62671086cf90a03ea2f39883d13d3902152768d | [
"MIT"
] | null | null | null | //
// curl https://www.datanucleus.org/downloads/maven2/oracle/ojdbc6/11.2.0.3/ojdbc6-11.2.0.3.jar > ojdbc6.jar
// curl https://repo.clojars.org/com/microsoft/sqljdbc4/3.0/sqljdbc4-3.0.jar > sqljdbc4-3.0.jar
// curl http://121.42.227.72:8081/nexus/content/groups/public/mysql/mysql-connector-java/8.0.26/mysql-connector-... | 48.848108 | 4,017 | 0.487511 |
abfd867642ac4f1ea9a725b0eefa09c0b0a5ab0d | 138 | rb | Ruby | db/migrate/20200511150020_rename_journey_details_to_vehicle.rb | ministryofjustice/hmpps-book-secure-move-api | 79e1012dfdc535dfcab0e2540896cdae63e09b9c | [
"MIT"
] | 11 | 2020-01-09T13:12:09.000Z | 2022-02-14T15:04:52.000Z | db/migrate/20200511150020_rename_journey_details_to_vehicle.rb | ministryofjustice/hmpps-book-secure-move-api | 79e1012dfdc535dfcab0e2540896cdae63e09b9c | [
"MIT"
] | 305 | 2019-08-06T08:10:01.000Z | 2022-03-28T08:59:43.000Z | db/migrate/20200511150020_rename_journey_details_to_vehicle.rb | ministryofjustice/hmpps-book-secure-move-api | 79e1012dfdc535dfcab0e2540896cdae63e09b9c | [
"MIT"
] | 4 | 2020-02-21T13:42:10.000Z | 2021-04-11T06:13:57.000Z | class RenameJourneyDetailsToVehicle < ActiveRecord::Migration[5.2]
def change
rename_column :journeys, :details, :vehicle
end
end
| 23 | 66 | 0.775362 |
7343b75f05740b80f3f3c800bca4072fb6609e71 | 1,441 | swift | Swift | TimeRecorder/TimeRecorder/Common/View/TableViewCell/EditDateTableViewCell.swift | LeoZhou1986/TimeRecorder | 219cd3e81cc780ce0f06bbee1d18dc1b49ed1fff | [
"MIT"
] | 1 | 2019-03-13T21:18:35.000Z | 2019-03-13T21:18:35.000Z | TimeRecorder/TimeRecorder/Common/View/TableViewCell/EditDateTableViewCell.swift | LeoZhou1986/TimeRecorder | 219cd3e81cc780ce0f06bbee1d18dc1b49ed1fff | [
"MIT"
] | null | null | null | TimeRecorder/TimeRecorder/Common/View/TableViewCell/EditDateTableViewCell.swift | LeoZhou1986/TimeRecorder | 219cd3e81cc780ce0f06bbee1d18dc1b49ed1fff | [
"MIT"
] | null | null | null | //
// EditDateTableViewCell.swift
// TimeRecorder
//
// Created by Leo Zhou on 2019/3/22.
// Copyright © 2019 LeoZhou. All rights reserved.
//
import UIKit
class EditDateTableViewCell: BaseEditRecordTableViewCell {
var date: Date? {
didSet {
// 判断日期是今天
let formatter = DateForm... | 30.659574 | 96 | 0.648161 |
76c9ff60f64cbd89491e4d213b5f5d9e62c10fd5 | 1,179 | h | C | Validation/Performance/bin/constants.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Validation/Performance/bin/constants.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Validation/Performance/bin/constants.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #ifndef CONSTANTS_H_
#define CONSTANTS_H_
const double RESOLUTION_DEFAULT = 2.0; /* secs (normally 2.0) */
const int RANDOM_SEED = 101010;
/* default: small (cache-contained) problem sizes */
const int FFT_SIZE = 1024; /* must be a power of two */
const int SOR_SIZE = 100; /* NxN grid */
const int SPARSE_SIZE_M = 1... | 33.685714 | 71 | 0.638677 |
2a23d261066241d914746c7901a436c17be200c5 | 11,625 | java | Java | src/main/java/hobby/wei/c/remote/api/Api.java | bdo-cash/assoid | 5f02d57c5ff4e83de8c8d03aa8d1840a6a90c288 | [
"Apache-2.0"
] | 1 | 2017-11-10T10:00:11.000Z | 2017-11-10T10:00:11.000Z | src/main/java/hobby/wei/c/remote/api/Api.java | bdo-cash/assoid | 5f02d57c5ff4e83de8c8d03aa8d1840a6a90c288 | [
"Apache-2.0"
] | null | null | null | src/main/java/hobby/wei/c/remote/api/Api.java | bdo-cash/assoid | 5f02d57c5ff4e83de8c8d03aa8d1840a6a90c288 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2017-present, Chenai Nakam(chenai.nakam@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 43.703008 | 145 | 0.557075 |
2db307652d5e8558b6d3f2205abcdb0495560a9b | 260 | html | HTML | _doc/en/0.17.0/rpc/wallet/listreceivedbyaccount.html | Keyare/syscoincore.org | 77d51b04d5b18a5d0579005cee3f473cd5524457 | [
"MIT"
] | null | null | null | _doc/en/0.17.0/rpc/wallet/listreceivedbyaccount.html | Keyare/syscoincore.org | 77d51b04d5b18a5d0579005cee3f473cd5524457 | [
"MIT"
] | 2 | 2020-02-26T11:52:33.000Z | 2021-05-20T11:29:50.000Z | _doc/en/0.17.0/rpc/wallet/listreceivedbyaccount.html | Keyare/syscoincore.org | 77d51b04d5b18a5d0579005cee3f473cd5524457 | [
"MIT"
] | null | null | null | ---
name: listreceivedbyaccount
btcversion: 0.17.0
btcgroup: wallet
permalink: en/doc/0.17.0/rpc/wallet/listreceivedbyaccount/
---
listreceivedbyaccount (Deprecated, will be removed in V0.18. To use this command, start syscoind with -deprecatedrpc=accounts)
| 26 | 126 | 0.788462 |
fb4bdf0add85d9900943c68385d5eff7bba10c53 | 4,376 | swift | Swift | Tests/ColorComponentsTests/RGBA/Platforms/RGBA+UIKitTests.swift | sersoft-gmbh/color-components | b8858c3a29848c6a178bce2aacedc46f878604f0 | [
"Apache-2.0"
] | 4 | 2021-01-14T13:34:11.000Z | 2021-11-29T23:54:55.000Z | Tests/ColorComponentsTests/RGBA/Platforms/RGBA+UIKitTests.swift | sersoft-gmbh/color-components | b8858c3a29848c6a178bce2aacedc46f878604f0 | [
"Apache-2.0"
] | 36 | 2021-02-08T07:46:48.000Z | 2022-03-31T05:09:47.000Z | Tests/ColorComponentsTests/RGBA/Platforms/RGBA+UIKitTests.swift | sersoft-gmbh/color-components | b8858c3a29848c6a178bce2aacedc46f878604f0 | [
"Apache-2.0"
] | null | null | null | import XCTest
import XCHelpers
#if canImport(UIKit)
import UIKit
#endif
import ColorComponents
final class RGBA_UIKitTests: XCTestCase {
func testUIColorCreationWithFloatingPoint() throws {
#if canImport(UIKit)
let rgb = RGB<CGFloat>(red: 0.5, green: 0.25, blue: 0.75)
let rgba = RGBA(rgb: r... | 38.725664 | 114 | 0.622943 |
12ca503bfb494e5351f273b5442996f5258f3da5 | 1,159 | html | HTML | app/views/pages/catalogo/_item_1823.html | pulibrary/cicognara-rails | d47e8868b35dd4db5f3a28b623735d3be519b71d | [
"Apache-2.0"
] | 3 | 2017-02-22T20:03:52.000Z | 2019-05-24T21:57:59.000Z | app/views/pages/catalogo/_item_1823.html | pulibrary/cicognara-rails | d47e8868b35dd4db5f3a28b623735d3be519b71d | [
"Apache-2.0"
] | 343 | 2016-04-26T15:12:00.000Z | 2022-03-21T16:29:22.000Z | app/views/pages/catalogo/_item_1823.html | pulibrary/cicognara-rails | d47e8868b35dd4db5f3a28b623735d3be519b71d | [
"Apache-2.0"
] | 2 | 2016-04-26T14:56:50.000Z | 2016-04-26T22:03:09.000Z | <section xmlns="http://www.w3.org/1999/xhtml" class="catalogo-item" id="1823">
<span class="catalogo-item-label">1823.</span> <span class="catalogo-bibl"><span class="catalogo-author">Del VOLO</span>, <span class="catalogo-title"><a class="catalog-link" href="/catalog/1823">Dialogo diviso in tre matti... | 128.777778 | 295 | 0.746333 |
1e279655a33ea7b1f595d02432b5dea1e061ce0d | 2,072 | swift | Swift | XLsn0wQuora/Swift/BlockLoopViewController.swift | XLsn0w/XLsn0wQuora | 93d803a321b1696d0507df8294581c85058a2a3e | [
"MIT"
] | 10 | 2017-10-25T08:49:59.000Z | 2018-06-16T01:21:24.000Z | XLsn0wQuora/Swift/BlockLoopViewController.swift | XLsn0w/XLsn0wQuora | 93d803a321b1696d0507df8294581c85058a2a3e | [
"MIT"
] | null | null | null | XLsn0wQuora/Swift/BlockLoopViewController.swift | XLsn0w/XLsn0wQuora | 93d803a321b1696d0507df8294581c85058a2a3e | [
"MIT"
] | 1 | 2018-03-05T07:21:09.000Z | 2018-03-05T07:21:09.000Z |
import UIKit
import Dispatch
class BlockLoopViewController: UIViewController {
var block_One: ((_ text:String) -> String?)?
var closureA: ()?
override func viewDidLoad() {
super.viewDidLoad()
self.view.backgroundColor = UIColor.red
typealias MyClosureType = (In... | 23.022222 | 109 | 0.440637 |
48038413916701482f03057aee6d23b86ff40a39 | 418 | asm | Assembly | oeis/323/A323641.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/323/A323641.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/323/A323641.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A323641: Triangle read by rows in which row n lists the first 2^n terms of A323642, n >= 1.
; Submitted by Jamie Morken(s1)
; 1,2,1,2,3,6,1,2,3,6,3,6,9,18,1,2,3,6,3,6,9,18,3,6,9,18,9,18,27,54,1,2,3,6,3,6,9,18,3,6,9,18,9,18,27,54,3,6,9,18,9,18,27,54,9,18,27,54,27,54,81,162,1,2,3,6,3,6,9,18,3,6,9,18,9,18,27,54,3,6,9,18... | 52.25 | 210 | 0.636364 |
e9ed5bed0fda4cb8bf56ceacb70e7b4dce96a198 | 1,144 | rb | Ruby | spec/models/locations/delivery_location_spec.rb | pulibrary/locations | 925f11b45eee576d7e701b1657c185de933d4ea6 | [
"MIT"
] | 3 | 2015-07-01T16:20:25.000Z | 2019-11-01T17:21:01.000Z | spec/models/locations/delivery_location_spec.rb | pulibrary/locations | 925f11b45eee576d7e701b1657c185de933d4ea6 | [
"MIT"
] | 52 | 2015-06-04T21:05:57.000Z | 2021-07-09T16:48:01.000Z | spec/models/locations/delivery_location_spec.rb | pulibrary/locations | 925f11b45eee576d7e701b1657c185de933d4ea6 | [
"MIT"
] | null | null | null | require 'spec_helper'
module Locations
describe DeliveryLocation, type: :model do
subject { FactoryGirl.create(:delivery_location) }
describe 'validations' do
it 'factory produces a valid subject' do
expect(subject.valid?).to be_truthy
end
[:label, :address, :phone_number, :conta... | 27.902439 | 130 | 0.652098 |
2060c5218516f89ee15e1def25d4cf6e8761fe76 | 2,530 | lua | Lua | Tasks/SemanticVoxelLabeling/torch/model.lua | hero9968/ScanNet | f40fa107e35407afaee792e601effed349da270f | [
"MIT"
] | null | null | null | Tasks/SemanticVoxelLabeling/torch/model.lua | hero9968/ScanNet | f40fa107e35407afaee792e601effed349da270f | [
"MIT"
] | null | null | null | Tasks/SemanticVoxelLabeling/torch/model.lua | hero9968/ScanNet | f40fa107e35407afaee792e601effed349da270f | [
"MIT"
] | null | null | null |
-- from net-orig, add more to fc and make another deconv layer
require 'nn'
require 'cunn'
require 'cudnn'
local net = nn.Sequential()
local function MSRinit(net)
local function init(name)
for k,v in pairs(net:findModules(name)) do
local n = v.kT*v.kW*v.kH*v.nOutputPlane
v.weight... | 30.853659 | 93 | 0.666403 |
85a6e923a49d3d319485cbf98f676169e64fe808 | 1,159 | js | JavaScript | misc/buffer-open-salary.js | hmisty/coding | 83bc320ba781d40c298a79c1d5b769b3df1bffb5 | [
"Unlicense"
] | 3 | 2017-08-24T01:34:58.000Z | 2021-04-22T09:21:20.000Z | misc/buffer-open-salary.js | hmisty/coding | 83bc320ba781d40c298a79c1d5b769b3df1bffb5 | [
"Unlicense"
] | 10 | 2020-01-10T08:39:16.000Z | 2022-02-15T06:57:29.000Z | misc/buffer-open-salary.js | hmisty/coding | 83bc320ba781d40c298a79c1d5b769b3df1bffb5 | [
"Unlicense"
] | 1 | 2021-04-22T09:21:24.000Z | 2021-04-22T09:21:24.000Z | /**
* Print all salaries of Buffer inc.
* Evan 2015
*/
var unit = "USD";
var role = {
"Happiness Hero": 45000,
"Content Crafter": 50000,
"Engineer": 60000,
"Desinger": 60000,
"Operations Officer": 70000,
"Executive Officer": 75000
};
var revenue = 1; //million USD
var seniority = {
"-": [0, 0],
"Seni... | 20.696429 | 104 | 0.509922 |
3ac03b6077c3f616fae88d28549f5c246db08fd3 | 12,577 | swift | Swift | ios/engine/KMEI/KeymanEngineTests/AssociatingPackageInstallerTests.swift | ermshiperete/keyman | 0eeef1b5794fd698447584e531e2a6c1ef4c05aa | [
"MIT"
] | 1 | 2021-03-08T09:31:47.000Z | 2021-03-08T09:31:47.000Z | ios/engine/KMEI/KeymanEngineTests/AssociatingPackageInstallerTests.swift | ermshiperete/keyman | 0eeef1b5794fd698447584e531e2a6c1ef4c05aa | [
"MIT"
] | null | null | null | ios/engine/KMEI/KeymanEngineTests/AssociatingPackageInstallerTests.swift | ermshiperete/keyman | 0eeef1b5794fd698447584e531e2a6c1ef4c05aa | [
"MIT"
] | null | null | null | //
// AssociatingPackageInstallerTests.swift
// KeymanEngineTests
//
// Created by Joshua Horton on 8/6/20.
// Copyright © 2020 SIL International. All rights reserved.
//
import XCTest
@testable import KeymanEngine
class AssociatingPackageInstallerTests: XCTestCase {
var mockedURLSession: TestUtils.Downloading.... | 38.227964 | 148 | 0.667727 |
233ef1659395dcff9d5b2257d0164794daed6cf0 | 1,794 | kt | Kotlin | vgscheckout/src/test/java/com/verygoodsecurity/vgscheckout/view/address/country/VGSCountryEditTextTest.kt | verygoodsecurity/vgs-checkout-android | 3f558c7bde3fa46c763d144c81c90bb83d2c9390 | [
"MIT"
] | 2 | 2021-12-28T11:50:56.000Z | 2021-12-30T12:30:21.000Z | vgscheckout/src/test/java/com/verygoodsecurity/vgscheckout/view/address/country/VGSCountryEditTextTest.kt | verygoodsecurity/vgs-checkout-android | 3f558c7bde3fa46c763d144c81c90bb83d2c9390 | [
"MIT"
] | 4 | 2021-12-20T09:15:38.000Z | 2022-01-26T12:16:18.000Z | vgscheckout/src/test/java/com/verygoodsecurity/vgscheckout/view/address/country/VGSCountryEditTextTest.kt | verygoodsecurity/vgs-checkout-android | 3f558c7bde3fa46c763d144c81c90bb83d2c9390 | [
"MIT"
] | 2 | 2021-10-23T00:57:28.000Z | 2022-02-17T15:26:32.000Z | package com.verygoodsecurity.vgscheckout.view.address.country
import android.app.Activity
import com.verygoodsecurity.vgscheckout.TestApplication
import com.verygoodsecurity.vgscheckout.collect.view.card.FieldType
import com.verygoodsecurity.vgscheckout.collect.view.internal.CountryInputField
import com.verygoodsecuri... | 28.935484 | 79 | 0.753066 |
477b10f00e6303bedd75a6263e19f76f14e96ee5 | 3,114 | html | HTML | blog/c4-daily-mindfulness.html | ranjit03/Old-blog- | d5a199a2cf1d6e81485ef9ebbd80d1fe3220e2ef | [
"MIT"
] | null | null | null | blog/c4-daily-mindfulness.html | ranjit03/Old-blog- | d5a199a2cf1d6e81485ef9ebbd80d1fe3220e2ef | [
"MIT"
] | null | null | null | blog/c4-daily-mindfulness.html | ranjit03/Old-blog- | d5a199a2cf1d6e81485ef9ebbd80d1fe3220e2ef | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<title>Home </title>
<meta charset="UTF-8">
<link href = "../styles/main.css" rel = "stylesheet" type = "text/css"/>
<link href = "https://cdnjs.cloudflare.com/ajax/libs/normalize/3... | 43.859155 | 190 | 0.598908 |
2d81a1c621ae5c2ef03eeb0d2d56982c708af498 | 2,504 | html | HTML | src/app/app-nav/app-nav.component.html | acme-bank/acme-bank-webpage | b365f766a6ce134ab2e6869c3d79b474553b8a6f | [
"Apache-2.0"
] | null | null | null | src/app/app-nav/app-nav.component.html | acme-bank/acme-bank-webpage | b365f766a6ce134ab2e6869c3d79b474553b8a6f | [
"Apache-2.0"
] | null | null | null | src/app/app-nav/app-nav.component.html | acme-bank/acme-bank-webpage | b365f766a6ce134ab2e6869c3d79b474553b8a6f | [
"Apache-2.0"
] | null | null | null | <nav class="navbar navbar-toggleable-md navbar-inverse bg-inverse">
<div class="container">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#appNavbar" aria-controls="appNavbar"
aria-expanded="false" aria-label="Toggle navigation">
<span class="nav... | 45.527273 | 147 | 0.586661 |
99d98a16d293244f2a6babbd29bd392061498666 | 4,883 | kt | Kotlin | SeanOxfordResume/app/src/main/java/com/oxford/resume/views/MenuFragmentGridRecyclerView.kt | SeanOxford/Sean-Oxford-Resume | 9676f8fd483b6a9498a20bb4b4957f94b484540d | [
"Apache-2.0"
] | null | null | null | SeanOxfordResume/app/src/main/java/com/oxford/resume/views/MenuFragmentGridRecyclerView.kt | SeanOxford/Sean-Oxford-Resume | 9676f8fd483b6a9498a20bb4b4957f94b484540d | [
"Apache-2.0"
] | null | null | null | SeanOxfordResume/app/src/main/java/com/oxford/resume/views/MenuFragmentGridRecyclerView.kt | SeanOxford/Sean-Oxford-Resume | 9676f8fd483b6a9498a20bb4b4957f94b484540d | [
"Apache-2.0"
] | null | null | null | package com.oxford.resume.views
import android.animation.Animator
import android.animation.AnimatorSet
import android.animation.ObjectAnimator
import android.content.Context
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import androidx.recyclerview.widget.GridLayoutManager
im... | 30.905063 | 109 | 0.673766 |
ade91c458277d5cb36e4206be2f9ddf1e5060aaa | 32 | rs | Rust | src/alg/search.rs | dvshapkin/toolbox | 15704704183bebe9f87bccd2e4986abb8820b405 | [
"MIT"
] | null | null | null | src/alg/search.rs | dvshapkin/toolbox | 15704704183bebe9f87bccd2e4986abb8820b405 | [
"MIT"
] | null | null | null | src/alg/search.rs | dvshapkin/toolbox | 15704704183bebe9f87bccd2e4986abb8820b405 | [
"MIT"
] | null | null | null | pub use alg_ds::alg::search::*;
| 16 | 31 | 0.65625 |
3dd961220275d0ba8afb5de70a242024a0fd4a4b | 383 | kt | Kotlin | amadeus-android/src/main/java/com/amadeus/android/referenceData/Urls.kt | amadeus4dev/amadeus-android | fe782bc1343fa80e9f08e9c787f9421b1da0bff7 | [
"MIT"
] | 15 | 2020-04-07T10:25:07.000Z | 2022-02-19T15:58:48.000Z | amadeus-android/src/main/java/com/amadeus/android/referenceData/Urls.kt | amadeus4dev/amadeus-android | fe782bc1343fa80e9f08e9c787f9421b1da0bff7 | [
"MIT"
] | 35 | 2020-04-23T09:30:40.000Z | 2022-03-31T12:35:20.000Z | amadeus-android/src/main/java/com/amadeus/android/referenceData/Urls.kt | amadeus4dev/amadeus-android | fe782bc1343fa80e9f08e9c787f9421b1da0bff7 | [
"MIT"
] | 8 | 2020-05-15T03:17:54.000Z | 2021-12-08T09:27:09.000Z | package com.amadeus.android.referenceData
import kotlinx.coroutines.CoroutineDispatcher
import retrofit2.Retrofit
class Urls internal constructor(
retrofit: Retrofit,
dispatcher: CoroutineDispatcher
) {
/**
* A namespaced client for the
* `/v2/reference-data/urls/checkin-links` endpoints.
... | 22.529412 | 57 | 0.738903 |
5d47d15958fee7f5a6f1946a0afda18f0ae2bf31 | 258 | swift | Swift | crashes-duplicates/23752-swift-valuedecl-getoverloadsignature.swift | greg/swift-compiler-crashes | c27c975aa95e7f0e511919fc508d24101c03a13b | [
"MIT"
] | null | null | null | crashes-duplicates/23752-swift-valuedecl-getoverloadsignature.swift | greg/swift-compiler-crashes | c27c975aa95e7f0e511919fc508d24101c03a13b | [
"MIT"
] | null | null | null | crashes-duplicates/23752-swift-valuedecl-getoverloadsignature.swift | greg/swift-compiler-crashes | c27c975aa95e7f0e511919fc508d24101c03a13b | [
"MIT"
] | null | null | null | // Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
let b{
struct Q{class A{
struct d{
class c
func b{struct c<T where h:d
var:e
{
}enum e:c
| 19.846154 | 87 | 0.74031 |
7557012d9248f90816ab0a342cf6597cbca44158 | 3,167 | c | C | Support_Software/server-002.c | MarkO-555/CoCoIO-NIC-Base-Code | f3084e1f1a351d950812ea351f777b279a2a2110 | [
"BSD-3-Clause"
] | 1 | 2021-12-12T04:03:37.000Z | 2021-12-12T04:03:37.000Z | Support_Software/server-002.c | MarkO-555/CoCoIO-NIC-Base-Code | f3084e1f1a351d950812ea351f777b279a2a2110 | [
"BSD-3-Clause"
] | null | null | null | Support_Software/server-002.c | MarkO-555/CoCoIO-NIC-Base-Code | f3084e1f1a351d950812ea351f777b279a2a2110 | [
"BSD-3-Clause"
] | 1 | 2021-12-14T04:18:19.000Z | 2021-12-14T04:18:19.000Z | /* A simple server in the internet domain using TCP
The port number is passed as an argument */
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#define NUM_THREADS 5
char functions_list[NUM... | 21.691781 | 85 | 0.586675 |
40c26c5ee2a6f27e6102c213ab1871ff184d46ca | 9,642 | py | Python | test/interfaces/test_shc_client.py | mhthies/smarthomeconnect | d93d1038145285af66769ebf10589c1088b323ed | [
"Apache-2.0"
] | 5 | 2021-07-02T21:48:45.000Z | 2021-12-12T21:55:42.000Z | test/interfaces/test_shc_client.py | mhthies/smarthomeconnect | d93d1038145285af66769ebf10589c1088b323ed | [
"Apache-2.0"
] | 49 | 2020-09-18T20:05:55.000Z | 2022-03-05T19:51:33.000Z | test/interfaces/test_shc_client.py | mhthies/smarthomeconnect | d93d1038145285af66769ebf10589c1088b323ed | [
"Apache-2.0"
] | 1 | 2021-12-10T14:50:43.000Z | 2021-12-10T14:50:43.000Z | # Copyright 2020 Michael Thies <mail@mhthies.de>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | 41.205128 | 120 | 0.68129 |
85c45ab98334fa54bb13717b5d851cea8d5d59d4 | 3,063 | js | JavaScript | js/d3map_setup.js | nimishgautam/covid19sweden | 0a7067779f95c67d558abfc2173200c3bcc16869 | [
"MIT"
] | 1 | 2020-05-28T15:11:45.000Z | 2020-05-28T15:11:45.000Z | js/d3map_setup.js | nimishgautam/covid19sweden | 0a7067779f95c67d558abfc2173200c3bcc16869 | [
"MIT"
] | null | null | null | js/d3map_setup.js | nimishgautam/covid19sweden | 0a7067779f95c67d558abfc2173200c3bcc16869 | [
"MIT"
] | null | null | null | var svg = d3.select("#sv_map");
var width = svg.node().getBoundingClientRect().width;
var height = svg.node().getBoundingClientRect().height;
//width = +svg.attr("width"),
//height = +svg.attr("height");
countyValues = d3.map();
countyText = d3.map();
countyMin = Number.MAX_SAFE_INTEGER;
countyMax = Number.MIN_SAFE_... | 31.57732 | 119 | 0.618675 |
5f26b36bc960a314ee0407e3b6cef33fbe826c42 | 283 | ts | TypeScript | src/main/Client/src/app/entidades/email/email.ts | vinnypinheiro/midiafacil | 6f1557b6f53f0a17bce510a8f63159007884e2bd | [
"MIT"
] | null | null | null | src/main/Client/src/app/entidades/email/email.ts | vinnypinheiro/midiafacil | 6f1557b6f53f0a17bce510a8f63159007884e2bd | [
"MIT"
] | null | null | null | src/main/Client/src/app/entidades/email/email.ts | vinnypinheiro/midiafacil | 6f1557b6f53f0a17bce510a8f63159007884e2bd | [
"MIT"
] | null | null | null | import {DomainBase} from '../../utils/utils';
import { Cliente } from '../cliente/cliente';
import { Veiculo } from '../veiculo/veiculo';
export interface Email extends DomainBase {
tipoemail: string;
email: string;
cliente_id: Cliente;
veiculo_id: Veiculo;
} | 25.727273 | 46 | 0.667845 |
f80c9158ef4b5947241f40e410eecd0251dfa432 | 4,824 | sql | SQL | legalquiz_es.sql | kevintsukii/migrantacts | c7076c7cffad26cbafdc8e96201ee9093df9aaf0 | [
"Apache-2.0"
] | null | null | null | legalquiz_es.sql | kevintsukii/migrantacts | c7076c7cffad26cbafdc8e96201ee9093df9aaf0 | [
"Apache-2.0"
] | null | null | null | legalquiz_es.sql | kevintsukii/migrantacts | c7076c7cffad26cbafdc8e96201ee9093df9aaf0 | [
"Apache-2.0"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.2.5
-- http://www.phpmyadmin.net
--
-- Host: localhost:8889
-- Generation Time: May 04, 2015 at 06:27 AM
-- Server version: 5.5.38
-- PHP Version: 5.5.14
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `j555s2`
--
-- ------------------------------... | 74.215385 | 754 | 0.753731 |
1f997dd2b1999b88c13e0ff60593a47e15099511 | 15,152 | css | CSS | public/dist/styles.min.css | AndrewHaine/hain.ee | 8dd1f95edb6d7e2c1b42b244a512bca7b1786cb3 | [
"MIT"
] | null | null | null | public/dist/styles.min.css | AndrewHaine/hain.ee | 8dd1f95edb6d7e2c1b42b244a512bca7b1786cb3 | [
"MIT"
] | 1 | 2018-01-30T18:51:20.000Z | 2018-02-11T22:12:45.000Z | public/dist/styles.min.css | AndrewHaine/hain.ee | 8dd1f95edb6d7e2c1b42b244a512bca7b1786cb3 | [
"MIT"
] | null | null | null | /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.15}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{-webkit-box-sizin... | 7,576 | 15,110 | 0.781481 |
70743c633a659a26be21a5a5ffaa1bbae1460b0f | 8,571 | lua | Lua | bin/splice_genes_at_gaps.lua | WenchaoLin/annot-nf | be254ae3f9d063c02343ba698a3b241917c626ed | [
"0BSD"
] | null | null | null | bin/splice_genes_at_gaps.lua | WenchaoLin/annot-nf | be254ae3f9d063c02343ba698a3b241917c626ed | [
"0BSD"
] | null | null | null | bin/splice_genes_at_gaps.lua | WenchaoLin/annot-nf | be254ae3f9d063c02343ba698a3b241917c626ed | [
"0BSD"
] | 2 | 2015-09-22T04:22:45.000Z | 2021-07-24T23:59:20.000Z | #!/usr/bin/env gt
--[[
Copyright (c) 2014 Sascha Steinbiss <ss34@sanger.ac.uk>
Copyright (c) 2014 Genome Research Ltd
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appea... | 32.71374 | 85 | 0.567028 |
269789ead1e7e40e24f9e9f31badae99363d3318 | 277 | java | Java | app/jobs/InitJob.java | Telson/dcs-http | a838f6f8bf4d2b1cc8bf15b21ae907a5e349129f | [
"MIT"
] | 29 | 2015-08-14T03:18:45.000Z | 2022-02-19T23:48:04.000Z | app/jobs/InitJob.java | FlightControl-Master/dcs-http | a838f6f8bf4d2b1cc8bf15b21ae907a5e349129f | [
"MIT"
] | 1 | 2016-12-02T11:44:52.000Z | 2018-07-10T02:45:20.000Z | app/jobs/InitJob.java | FlightControl-Master/dcs-http | a838f6f8bf4d2b1cc8bf15b21ae907a5e349129f | [
"MIT"
] | 6 | 2017-08-09T23:22:02.000Z | 2022-02-19T23:48:07.000Z | package jobs;
import play.jobs.Job;
import play.jobs.OnApplicationStart;
import util.DcsSocket;
@OnApplicationStart
public class InitJob extends Job
{
@Override
public void doJob()
{
DcsSocket socket = new DcsSocket();
new Thread(socket).start();
}
}
| 16.294118 | 38 | 0.703971 |
12ae77ddfdacc2ea3e18d9dd1760c4797540b44a | 197 | kt | Kotlin | tmp/arrays/youTrackTests/158.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | 1 | 2021-04-06T16:59:24.000Z | 2021-04-06T16:59:24.000Z | tmp/arrays/youTrackTests/158.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | null | null | null | tmp/arrays/youTrackTests/158.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | 11 | 2020-03-23T08:28:36.000Z | 2022-03-22T07:04:42.000Z | // Original bug: KT-28233
//Foo.kt
interface Foo {
val values: Type
}
//FooImpl.kt
class FooImpl : Foo {
override val values: Type
get() = "0"
}
//types.kt
typealias Type = String
| 14.071429 | 29 | 0.624365 |
5cc64c30c97b88d27b469471224d2dd82239d186 | 554 | css | CSS | src/style.css | leotranq/Random-Poker-card | 29d5c50307268fae3d73d204b98633b47345905b | [
"MIT"
] | null | null | null | src/style.css | leotranq/Random-Poker-card | 29d5c50307268fae3d73d204b98633b47345905b | [
"MIT"
] | null | null | null | src/style.css | leotranq/Random-Poker-card | 29d5c50307268fae3d73d204b98633b47345905b | [
"MIT"
] | null | null | null | @import "~bootstrap/dist/css/bootstrap.min.css";
body {
background-color: rgb(76, 167, 76);
}
#card-body {
border: solid black !important;
border-width: 1px;
max-width: 18rem;
background-color: rgb(49, 250, 59);
padding: 10px;
}
#top-card {
text-align: left;
background-color: rgb(106, 208, 255);
font... | 19.103448 | 48 | 0.65704 |
fd6be0edab7fd4d7df47e53f65675f108723fe75 | 4,422 | h | C | src/utils.h | coronin/CRISPR-Analyser | 8093a920696f6bf03708d2c8cdb83d9107fd1488 | [
"MIT"
] | 1 | 2018-01-16T16:48:36.000Z | 2018-01-16T16:48:36.000Z | src/utils.h | coronin/CRISPR-Analyser | 8093a920696f6bf03708d2c8cdb83d9107fd1488 | [
"MIT"
] | null | null | null | src/utils.h | coronin/CRISPR-Analyser | 8093a920696f6bf03708d2c8cdb83d9107fd1488 | [
"MIT"
] | null | null | null | #ifndef __UTILS__
#define __UTILS__
#include <vector>
#include <string>
#include <sstream>
#include <deque>
#define ERROR_STR 0xFFFFFFFFFFFFFFFFull
namespace std {
string to_string(const string & str);
}
namespace util {
//unsigned int pop_count(uint64_t x);
std::vector<std::string> split(const std::str... | 32.043478 | 96 | 0.597015 |
4dc1eebce17e5baa7dcda039392c6debe6dcb3cb | 8,541 | swift | Swift | Sources/SwiftSDAIcore/SDAI/DataTypes/SdaiGeneric.swift | tsun7170/SwiftSDAIcore | 335267a76b026e353078d9de3572d6f54704298d | [
"MIT"
] | 1 | 2021-11-23T08:46:34.000Z | 2021-11-23T08:46:34.000Z | Sources/SwiftSDAIcore/SDAI/DataTypes/SdaiGeneric.swift | tsun7170/SwiftSDAIcore | 335267a76b026e353078d9de3572d6f54704298d | [
"MIT"
] | null | null | null | Sources/SwiftSDAIcore/SDAI/DataTypes/SdaiGeneric.swift | tsun7170/SwiftSDAIcore | 335267a76b026e353078d9de3572d6f54704298d | [
"MIT"
] | null | null | null | //
// SdaiGeneric.swift
//
//
// Created by Yoshida on 2021/02/07.
// Copyright © 2021 Tsutomu Yoshida, Minokamo, Japan. All rights reserved.
//
import Foundation
// abstruct superclass
fileprivate class _AnyGenericBox: Hashable {
static func == (lhs: _AnyGenericBox, rhs: _AnyGenericBox) -> Bool {
return lhs... | 42.073892 | 163 | 0.74359 |
70f0bf2b0688e3953232960186bbb7edc2688fb8 | 1,434 | c | C | Week 4/majority_element.c | fontesrp/Algorithmic-Toolbox | c27b803bb79a42bfdfbe55eb64458d93b8ac588b | [
"MIT"
] | null | null | null | Week 4/majority_element.c | fontesrp/Algorithmic-Toolbox | c27b803bb79a42bfdfbe55eb64458d93b8ac588b | [
"MIT"
] | null | null | null | Week 4/majority_element.c | fontesrp/Algorithmic-Toolbox | c27b803bb79a42bfdfbe55eb64458d93b8ac588b | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
unsigned long ulBoyerMooreMajority(unsigned long * prgulVotes, unsigned long ulLen) {
unsigned long ulCandidate;
unsigned long ulLead = 0;
unsigned long ulIdx;
for (ulIdx = 0; ulIdx < ulLen; ulIdx++) {
if (ulLead == 0) {
ulCandidate = ulIdx;
... | 22.761905 | 90 | 0.60251 |
5f903ec8c40ab1407ad36bfe363b0c860491aea5 | 449 | css | CSS | Spa2/nakedobjectsspa/gemini/src/view-parameter/view-parameter.component.css | sebastianslutzky/NakedObjectsFramework | f2ee81ba1adbd54762d555e1a455ed18a0f9213c | [
"Apache-2.0"
] | 207 | 2015-01-29T22:37:11.000Z | 2022-03-17T17:34:29.000Z | Spa2/nakedobjectsspa/gemini/src/view-parameter/view-parameter.component.css | sebastianslutzky/NakedObjectsFramework | f2ee81ba1adbd54762d555e1a455ed18a0f9213c | [
"Apache-2.0"
] | 407 | 2016-05-09T10:50:24.000Z | 2022-03-25T10:47:25.000Z | Spa2/nakedobjectsspa/gemini/src/view-parameter/view-parameter.component.css | sebastianslutzky/NakedObjectsFramework | f2ee81ba1adbd54762d555e1a455ed18a0f9213c | [
"Apache-2.0"
] | 53 | 2015-01-31T16:40:54.000Z | 2021-11-29T04:00:20.000Z | :host {
width: var(--field-value-width);
padding-left: var(--space-3);
padding-right: var(--space-3);
padding-top: var(--space-1);
margin-top: var(--space-1);
margin-bottom: var(--space-1);
}
:host.multilinedialog {
padding-left: var(--space-4);
width: var(--field-value-width);
disp... | 19.521739 | 36 | 0.610245 |