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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c38c92556fc455a9104e20d37e5f0aac18f268af | 29,475 | rs | Rust | src/app/states.rs | GuillaumeGomez/bottom | 398d52af2e6b001256adef71be8e7c85a943066c | [
"MIT"
] | null | null | null | src/app/states.rs | GuillaumeGomez/bottom | 398d52af2e6b001256adef71be8e7c85a943066c | [
"MIT"
] | null | null | null | src/app/states.rs | GuillaumeGomez/bottom | 398d52af2e6b001256adef71be8e7c85a943066c | [
"MIT"
] | null | null | null | use std::{collections::HashMap, time::Instant};
use unicode_segmentation::GraphemeCursor;
use tui::widgets::TableState;
use crate::{
app::{layout_manager::BottomWidgetType, query::*},
constants,
data_harvester::processes::{self, ProcessSorting},
};
use ProcessSorting::*;
#[derive(Debug)]
pub enum Scroll... | 31.190476 | 192 | 0.56916 |
b2dc609945782154da069152ac5405f35cce2d2b | 25 | py | Python | SWSIdentity/Controllers/__init__.py | vanzhiganov/identity | 90936482cc23251ba06121658e6a0a9251e30b3b | [
"Apache-2.0"
] | 1 | 2018-03-26T21:18:52.000Z | 2018-03-26T21:18:52.000Z | SWSIdentity/Controllers/__init__.py | vanzhiganov/identity | 90936482cc23251ba06121658e6a0a9251e30b3b | [
"Apache-2.0"
] | null | null | null | SWSIdentity/Controllers/__init__.py | vanzhiganov/identity | 90936482cc23251ba06121658e6a0a9251e30b3b | [
"Apache-2.0"
] | null | null | null | __all__ = [
'Users'
] | 8.333333 | 11 | 0.48 |
9bd7efdd2505312e91c27fc71b3ed5a5555a0741 | 2,068 | js | JavaScript | offroad/js/store/updater/actions.js | berno22/openpilot-apks | 52dfd61552e4a80702890ba1386ad01bf86fd462 | [
"MIT"
] | 4 | 2020-07-22T10:53:11.000Z | 2021-04-08T14:32:41.000Z | offroad/js/store/updater/actions.js | berno22/openpilot-apks | 52dfd61552e4a80702890ba1386ad01bf86fd462 | [
"MIT"
] | 5 | 2020-02-03T06:19:54.000Z | 2020-05-07T23:40:26.000Z | offroad/js/store/updater/actions.js | berno22/openpilot-apks | 52dfd61552e4a80702890ba1386ad01bf86fd462 | [
"MIT"
] | 15 | 2020-01-31T08:14:16.000Z | 2020-05-05T17:39:20.000Z | import { NavigationActions } from 'react-navigation';
import { resetToLaunch } from '../nav/actions';
import ChffrPlus from '../../native/ChffrPlus';
import Logging from '../../native/Logging';
import { Params } from '../../config';
export const ACTION_UPDATE_CHECKED = 'ACTION_UPDATE_CHECKED';
export const ACTION_UPDA... | 35.050847 | 113 | 0.59236 |
15bd4f3e467957c3df3e573882c990370613e873 | 1,005 | rb | Ruby | hello.rb | joycedelatorre/SWPM | eabaae832941301072b5af1938bfbee9bdabb132 | [
"MIT"
] | null | null | null | hello.rb | joycedelatorre/SWPM | eabaae832941301072b5af1938bfbee9bdabb132 | [
"MIT"
] | null | null | null | hello.rb | joycedelatorre/SWPM | eabaae832941301072b5af1938bfbee9bdabb132 | [
"MIT"
] | null | null | null | puts "Hello World"
require 'open-uri'
require 'httparty'
require 'json'
$pictures=[]
def take_picture(num_to_take, num_sleep)
picture_container = []
num_of_pictures = 0
while num_of_pictures < num_to_take
@urlstring_to_post = 'http://10.0.0.1:10000/sony/camera'
@result = HTTParty.post(@urlstring_to_post.... | 23.928571 | 62 | 0.58806 |
993f0fc6cc47d894128876f54bc4401fe2737f5e | 657 | h | C | aws-cpp-sdk-workspaces/include/aws/workspaces/model/ReconnectEnum.h | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-workspaces/include/aws/workspaces/model/ReconnectEnum.h | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-workspaces/include/aws/workspaces/model/ReconnectEnum.h | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/workspaces/WorkSpaces_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace WorkSpaces
{
namespace Model
{
enum class ReconnectEnum
{
... | 20.53125 | 82 | 0.759513 |
5fa6c02ef416ffb10b2b4b0c1a86f24c13a92f44 | 1,581 | css | CSS | public/css/st_sample.css | jimmy210792/Jayaam | ecb9997fc48fc1d45216f609f699346b0d0f9138 | [
"MIT"
] | null | null | null | public/css/st_sample.css | jimmy210792/Jayaam | ecb9997fc48fc1d45216f609f699346b0d0f9138 | [
"MIT"
] | null | null | null | public/css/st_sample.css | jimmy210792/Jayaam | ecb9997fc48fc1d45216f609f699346b0d0f9138 | [
"MIT"
] | null | null | null | body {
font-family: 'Roboto Condensed', sans-serif;
}
h1
{
text-align: center;
background-color: #FEFFED;
height: 70px;
color: rgb(95, 89, 89);
margin: 0 0 -29px 0;
padding-top: 14px;
border-radius: 10px 10px 0 0;
font-size: 35px;
}
.main {
position: absolute;
top: 50px;
left: 20%;
width: 450px;
height:530px;
border: 2... | 14.372727 | 54 | 0.707147 |
9e0932e759006fabae25a32e0f5eb1755ddedeee | 16,073 | lua | Lua | lua/kakoge/panels/cropper_strip.lua | Cryotheus/kakoge | 5f3e9c6d3dbe6f372bf2622b161b36c68d957c0c | [
"MIT"
] | null | null | null | lua/kakoge/panels/cropper_strip.lua | Cryotheus/kakoge | 5f3e9c6d3dbe6f372bf2622b161b36c68d957c0c | [
"MIT"
] | null | null | null | lua/kakoge/panels/cropper_strip.lua | Cryotheus/kakoge | 5f3e9c6d3dbe6f372bf2622b161b36c68d957c0c | [
"MIT"
] | null | null | null | local PANEL = {}
--accessor functions
AccessorFunc(PANEL, "Font", "Font", FORCE_STRING)
AccessorFunc(PANEL, "MinimumCropSize", "MinimumCropSize", FORCE_NUMBER)
--local functions
local function get_power(result) return math.ceil(math.log(result, 2)) end
--post function setup
if not KAKOGE.CropperFontMade then
surfa... | 33.837895 | 214 | 0.745225 |
18ec6a13ace86b5dbff85d26fc384b4096c79b66 | 2,052 | css | CSS | WebApp/Styles/MarkupPanel.css | jsmeyers/GPV | 86ac68ed135e2d4fa16d2fb83e22680093fea06c | [
"Apache-2.0"
] | null | null | null | WebApp/Styles/MarkupPanel.css | jsmeyers/GPV | 86ac68ed135e2d4fa16d2fb83e22680093fea06c | [
"Apache-2.0"
] | null | null | null | WebApp/Styles/MarkupPanel.css | jsmeyers/GPV | 86ac68ed135e2d4fa16d2fb83e22680093fea06c | [
"Apache-2.0"
] | null | null | null | /* Copyright 2012 Applied Geographics, 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 applicable... | 18.321429 | 76 | 0.680799 |
b96b4a3b22d22dcf62f9c4f5109f781911322574 | 5,823 | h | C | YLCleaner/Xcode-RuntimeHeaders/IDELogNavigator/IDEBotEditorTestDetailWrapperView.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | 1 | 2019-02-15T02:16:35.000Z | 2019-02-15T02:16:35.000Z | YLCleaner/Xcode-RuntimeHeaders/IDELogNavigator/IDEBotEditorTestDetailWrapperView.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | null | null | null | YLCleaner/Xcode-RuntimeHeaders/IDELogNavigator/IDEBotEditorTestDetailWrapperView.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | null | null | null | /*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSView.h"
#import "NSTableViewDataSource-Protocol.h"
#import "NSTableViewDelegate-Protocol.h"
@class DVTBorderedView, IDEBotEditorTestDetailHeaderTableView, IDEBotEdit... | 53.916667 | 194 | 0.818478 |
58374ac411f643cd9d641daf193fd22943afa51c | 1,248 | swift | Swift | Swift/LeetCode/LeetCode/PermutationsII.swift | TonnyL/Windary | 39f85cdedaaf5b85f7ce842ecef975301fc974cf | [
"MIT"
] | 205 | 2017-11-16T08:38:46.000Z | 2022-03-06T05:50:03.000Z | Swift/LeetCode/LeetCode/PermutationsII.swift | santosh241/Windary | 39f85cdedaaf5b85f7ce842ecef975301fc974cf | [
"MIT"
] | 3 | 2018-04-10T10:17:52.000Z | 2020-12-11T08:00:09.000Z | Swift/LeetCode/LeetCode/PermutationsII.swift | santosh241/Windary | 39f85cdedaaf5b85f7ce842ecef975301fc974cf | [
"MIT"
] | 28 | 2018-04-10T06:42:42.000Z | 2021-09-14T14:15:39.000Z | //
// PermutationsII.swift
// LeetCode
//
// Created by 黎赵太郎 on 05/12/2017.
// Copyright © 2017 lizhaotailang. All rights reserved.
//
// Given a collection of numbers that might contain duplicates, return all possible unique permutations.
//
// For example,
// [1,1,2] have the following unique permutations:
// ... | 23.54717 | 105 | 0.526442 |
84f4b5d60e5b65ecfd8049a38b39b65f7c8e8a56 | 3,120 | h | C | firmware/LightControl.h | csjall/LightControl | 1f1a7cb4e91dc8c00b5b15c521ea92c2e900019c | [
"MIT"
] | null | null | null | firmware/LightControl.h | csjall/LightControl | 1f1a7cb4e91dc8c00b5b15c521ea92c2e900019c | [
"MIT"
] | null | null | null | firmware/LightControl.h | csjall/LightControl | 1f1a7cb4e91dc8c00b5b15c521ea92c2e900019c | [
"MIT"
] | null | null | null | #ifndef LightControl_h
#define LightControl_h
#include <Particle.h>
//----------------------------------------------------------------------------
#define IMPLEMENT_REGISTER(name, type, offset, mask) \
type get##name() const \
{ \
type value; \
memcpy(&value, &buffer[offset], sizeof(type)); \
value &= mask; ... | 27.857143 | 78 | 0.697115 |
6f41343ddd5b8a87549d292306a404506e1d7ef2 | 3,589 | rs | Rust | src/affine.rs | sradley/cipher | 6af859b6e0d204b5904d0cbd8a31ab12d3b7ed63 | [
"MIT"
] | 2 | 2019-08-22T17:23:37.000Z | 2019-08-25T11:07:39.000Z | src/affine.rs | sradley/cipher | 6af859b6e0d204b5904d0cbd8a31ab12d3b7ed63 | [
"MIT"
] | 1 | 2019-08-24T17:45:47.000Z | 2019-08-24T17:45:47.000Z | src/affine.rs | sradley/cipher | 6af859b6e0d204b5904d0cbd8a31ab12d3b7ed63 | [
"MIT"
] | null | null | null | //! # Affine Cipher
//!
//! Implements the functionality for the Affine cipher.
//!
//! The following is an excerpt from [Wikipedia](https://en.wikipedia.org/wiki/Affine_cipher).
//! > The affine cipher is a type of monoalphabetic substitution cipher, wherein each letter in an
//! alphabet is mapped to its numeric equi... | 30.675214 | 100 | 0.561716 |
7aa9938049f00fed20f14858e051842cbf18568d | 892 | swift | Swift | VK-Light-presentation/Controller/Friends/AllFriendDataTableView.swift | DarskiyDanil/VK-Light-presentation | 7fa68f2982f3cab7a5adbe44736c6af2069a9ac8 | [
"MIT"
] | null | null | null | VK-Light-presentation/Controller/Friends/AllFriendDataTableView.swift | DarskiyDanil/VK-Light-presentation | 7fa68f2982f3cab7a5adbe44736c6af2069a9ac8 | [
"MIT"
] | null | null | null | VK-Light-presentation/Controller/Friends/AllFriendDataTableView.swift | DarskiyDanil/VK-Light-presentation | 7fa68f2982f3cab7a5adbe44736c6af2069a9ac8 | [
"MIT"
] | null | null | null | //
// AllFriendDataTableView.swift
// VK-Light-presentation
//
// Created by Данил Дарский on 02.01.2020.
// Copyright © 2020 Данил Дарский. All rights reserved.
//
import UIKit
class AllFriendDataTableView: UITableView, UITableViewDataSource, UITableViewDelegate {
var allFriend: [AllFriendCoreData]?
... | 28.774194 | 120 | 0.680493 |
ec71720c1dc094ac5d33958d8b3c3b60cb1418cc | 1,213 | sql | SQL | sql/tdoer.table/fw/fw_tenant_product.sql | t-doer/tdoer-core-data | 6d232deb6d9ab5cebb5c10aec3a37fa41b4f5c11 | [
"Apache-2.0"
] | 1 | 2020-02-16T06:54:26.000Z | 2020-02-16T06:54:26.000Z | sql/tdoer.table/fw/fw_tenant_product.sql | t-doer/tdoer-core-data | 6d232deb6d9ab5cebb5c10aec3a37fa41b4f5c11 | [
"Apache-2.0"
] | null | null | null | sql/tdoer.table/fw/fw_tenant_product.sql | t-doer/tdoer-core-data | 6d232deb6d9ab5cebb5c10aec3a37fa41b4f5c11 | [
"Apache-2.0"
] | null | null | null | drop table if exists fw_tenant_product;
/*==============================================================*/
/* Table: fw_tenant_product */
/*==============================================================*/
create table fw_tenant_product
(
ID bigint not null comme... | 50.541667 | 118 | 0.584501 |
5f2c4ec227b30ffc450facc3aaa9bcf4febd6d86 | 3,443 | sql | SQL | sqlnexus/SQLNexus_PostProcessing.sql | asavioli/SqlNexus | f0980dd6095ed64a112d130ac7fb456a9b5bd6dc | [
"MIT"
] | null | null | null | sqlnexus/SQLNexus_PostProcessing.sql | asavioli/SqlNexus | f0980dd6095ed64a112d130ac7fb456a9b5bd6dc | [
"MIT"
] | null | null | null | sqlnexus/SQLNexus_PostProcessing.sql | asavioli/SqlNexus | f0980dd6095ed64a112d130ac7fb456a9b5bd6dc | [
"MIT"
] | null | null | null | set nocount on
--add extra columns that represent local server time, computed based on offset if the data is available
--these will facilitation joins between ReadTrace.* tables and other tbl_* tables - the latter storing datetime in local server time
if (OBJECT_ID('[ReadTrace].[tblBatches]') is not null)
begin
-... | 42.506173 | 133 | 0.75138 |
c37d4a531b0ce97c79d458189f298f40a8426545 | 6,710 | go | Go | lib/config_test.go | CallMeFoxie/cri-o | 7a329fc0a6198e611ad862a67aca3380406dfc83 | [
"Apache-2.0"
] | 1 | 2019-07-15T16:37:01.000Z | 2019-07-15T16:37:01.000Z | lib/config_test.go | CallMeFoxie/cri-o | 7a329fc0a6198e611ad862a67aca3380406dfc83 | [
"Apache-2.0"
] | null | null | null | lib/config_test.go | CallMeFoxie/cri-o | 7a329fc0a6198e611ad862a67aca3380406dfc83 | [
"Apache-2.0"
] | null | null | null | package lib_test
import (
"io/ioutil"
"os"
"github.com/kubernetes-sigs/cri-o/lib"
"github.com/kubernetes-sigs/cri-o/oci"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
// The actual test suite
var _ = t.Describe("Config", func() {
// The system under test
var sut *lib.Config
BeforeEach(func() {
... | 20.333333 | 73 | 0.623249 |
f5cb970fce28f0b44845194a2e71a96bd488bbb0 | 745 | swift | Swift | Pod/Classes/UtmModel.swift | segmentify/mobile-sdk-ios | 89b71b7f90dad953783fa4e78d9eb45aec52e3bd | [
"BSD-2-Clause"
] | 5 | 2018-01-25T08:59:03.000Z | 2020-04-09T14:35:08.000Z | Pod/Classes/UtmModel.swift | segmentify/mobile-sdk-ios | 89b71b7f90dad953783fa4e78d9eb45aec52e3bd | [
"BSD-2-Clause"
] | 4 | 2020-04-24T16:46:40.000Z | 2020-05-08T06:36:51.000Z | Pod/Classes/UtmModel.swift | segmentify/mobile-sdk-ios | 89b71b7f90dad953783fa4e78d9eb45aec52e3bd | [
"BSD-2-Clause"
] | 4 | 2018-02-05T07:40:23.000Z | 2020-11-26T14:18:25.000Z | //
// ProductModel.swift
// Segmentify
import Foundation
public class UtmModel{
public var utm_source:String?
public var utm_medium:String?
public var utm_campaign:String?
public var utm_content:String?
public init() {
self.utm_source = "segmentify"
self.utm_medium = "push"
... | 23.28125 | 110 | 0.645638 |
8f96062d689611adb09f8fa2c4045d586dd7e5d2 | 609 | lua | Lua | cocos2d/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_controller_auto_api.lua | weiDDD/particleSystem | 32652b09da35e025956999227f08be83b5d79cb1 | [
"Apache-2.0"
] | 34 | 2017-08-16T13:58:24.000Z | 2022-03-31T11:50:25.000Z | cocos2d/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_controller_auto_api.lua | weiDDD/particleSystem | 32652b09da35e025956999227f08be83b5d79cb1 | [
"Apache-2.0"
] | null | null | null | cocos2d/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_controller_auto_api.lua | weiDDD/particleSystem | 32652b09da35e025956999227f08be83b5d79cb1 | [
"Apache-2.0"
] | 17 | 2017-08-18T07:42:44.000Z | 2022-01-02T02:43:06.000Z | --------------------------------
-- @module cc
--------------------------------------------------------
-- the cc Controller
-- @field [parent=#cc] Controller#Controller Controller preloaded module
--------------------------------------------------------
-- the cc EventController
-- @field [parent=#cc] Eve... | 30.45 | 112 | 0.505747 |
18b84858a0c0f3c05ddff8df5b50fbb737197d83 | 27 | rs | Rust | src/commands/text/mod.rs | TheBotCrator/Life | 15e905db7764bc721f420bf9a689e443e4607dc4 | [
"0BSD"
] | 24 | 2018-02-14T20:48:40.000Z | 2020-08-26T02:32:14.000Z | src/commands/text/mod.rs | TheBotCrator/Life | 15e905db7764bc721f420bf9a689e443e4607dc4 | [
"0BSD"
] | 9 | 2018-03-21T01:47:24.000Z | 2020-08-01T17:31:43.000Z | src/commands/text/mod.rs | TheBotCrator/Life | 15e905db7764bc721f420bf9a689e443e4607dc4 | [
"0BSD"
] | 5 | 2018-03-13T01:25:34.000Z | 2020-07-19T09:23:49.000Z | pub mod hug;
pub mod ship;
| 9 | 13 | 0.703704 |
f0946ea2bf53c1ae92d330d9dbabf6c8b74df40e | 1,420 | js | JavaScript | src/index.js | tensegrity666/clone-wars-gta | 4b3baeac2673b8c7ce50e677d004e5e87a010e02 | [
"MIT"
] | null | null | null | src/index.js | tensegrity666/clone-wars-gta | 4b3baeac2673b8c7ce50e677d004e5e87a010e02 | [
"MIT"
] | 4 | 2021-08-31T21:26:45.000Z | 2022-02-27T10:56:01.000Z | src/index.js | tensegrity666/clone-wars-gta | 4b3baeac2673b8c7ce50e677d004e5e87a010e02 | [
"MIT"
] | null | null | null | /* eslint-disable no-console */
import './index.css';
import Phaser from 'phaser';
import PROPERTIES from './game-props';
import GameScene from './scenes';
import MenuScene from './scenes/menu';
import LoadScene from './scenes/load';
import GameOverScene from './scenes/gameover';
import UIScene from './scenes/player-... | 23.278689 | 76 | 0.683803 |
6b4b2f9993b2b22245a99d1ced4a9b9b5fa1b2bf | 5,917 | c | C | helsing/src/vampire/vargs.c | plerros/Helsing | 468a745ce98e00aa64d4a3eac8ad5d40cb2ea5a1 | [
"BSD-3-Clause"
] | 1 | 2022-01-02T15:55:50.000Z | 2022-01-02T15:55:50.000Z | helsing/src/vampire/vargs.c | plerros/helsing | 468a745ce98e00aa64d4a3eac8ad5d40cb2ea5a1 | [
"BSD-3-Clause"
] | 15 | 2021-05-04T03:43:39.000Z | 2022-03-22T14:03:15.000Z | helsing/src/vampire/vargs.c | plerros/helsing | 468a745ce98e00aa64d4a3eac8ad5d40cb2ea5a1 | [
"BSD-3-Clause"
] | null | null | null | // SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2012 Jens Kruse Andersen
* Copyright (c) 2021 Pierro Zachareas
*/
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
#include "configuration.h"
#include "configuration_adv.h"
#include "helper.h"
#include "llnode.h"
#include "array.h"
#include "ca... | 22.244361 | 92 | 0.617205 |
1664285912d53daa28d104e4efa0c83a6d7acf79 | 7,552 | c | C | Integration/ECUone1_finalintegration/Rte/Rte_SeatHeater.c | ukpkmkkcrypto/communication-stack | f9ee3656a9b1c11a61585668fa7e985acdf4f2cb | [
"Apache-2.0"
] | 80 | 2019-07-14T22:32:10.000Z | 2022-03-30T05:28:59.000Z | Integration/ECUone1_finalintegration/Rte/Rte_SeatHeater.c | lihaixu0628/communication-stack | 2e126df8fee16b6ca56e62feac1ede19615dcf29 | [
"Apache-2.0"
] | 8 | 2019-08-01T20:41:11.000Z | 2022-03-25T18:58:00.000Z | Integration/ECUone1_finalintegration/Rte/Rte_SeatHeater.c | lihaixu0628/communication-stack | 2e126df8fee16b6ca56e62feac1ede19615dcf29 | [
"Apache-2.0"
] | 51 | 2019-07-15T15:59:50.000Z | 2022-03-25T22:59:07.000Z | #include "Rte.h"
#include "Rtetypes.h"
#include "Rte_SeatHeater.h"
uint8 controlright;
uint8 controlleft;
//int temp=0;
int*l;
int s=0 ;
uint8_t si=0 ;
uint8_t su=0 ;
uint8_t arrray[2];
void SeatHeaterRunnable( )
{
Rte_Read_LeftLevelReceiver_Left_Level_Heater(&controlleft);
Rte_Read_RightLevelReceiver_Righ... | 33.564444 | 78 | 0.249603 |
c4ad1507fc7eda61e2a474fd9aab652863b11a49 | 3,083 | h | C | ligra/edgeMapReduce.h | muwyse/ligra | d87dfa5d60a7d3307315a77401083c5187d391c3 | [
"MIT"
] | 389 | 2015-04-16T00:35:29.000Z | 2022-03-16T10:33:24.000Z | ligra/edgeMapReduce.h | muwyse/ligra | d87dfa5d60a7d3307315a77401083c5187d391c3 | [
"MIT"
] | 27 | 2016-04-03T03:50:06.000Z | 2021-07-29T08:00:20.000Z | ligra/edgeMapReduce.h | muwyse/ligra | d87dfa5d60a7d3307315a77401083c5187d391c3 | [
"MIT"
] | 148 | 2015-01-08T13:55:10.000Z | 2022-03-10T17:35:38.000Z | #pragma once
#include "ligra.h"
#include "histogram.h"
// edgeMapInduced
// Version of edgeMapSparse that maps over the one-hop frontier and returns it as
// a sparse array, without filtering.
template <class E, class vertex, class VS, class F>
inline vertexSubsetData<E> edgeMapInduced(graph<vertex>& GA, VS& V, F& f)... | 35.436782 | 114 | 0.631528 |
a05c00cc3f3ae859c2931b3a0626730570768417 | 757 | asm | Assembly | data/mapObjects/seafoamislands5.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 16 | 2018-08-28T21:47:01.000Z | 2022-02-20T20:29:59.000Z | data/mapObjects/seafoamislands5.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 5 | 2019-04-03T19:53:11.000Z | 2022-03-11T22:49:34.000Z | data/mapObjects/seafoamislands5.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 2 | 2019-12-09T19:46:02.000Z | 2020-12-05T21:36:30.000Z | SeafoamIslands5Object:
db $7d ; border block
db $4 ; warps
db $11, $14, $5, SEAFOAM_ISLANDS_4
db $11, $15, $6, SEAFOAM_ISLANDS_4
db $7, $b, $1, SEAFOAM_ISLANDS_4
db $4, $19, $2, SEAFOAM_ISLANDS_4
db $2 ; signs
db $f, $9, $4 ; SeafoamIslands5Text4
db $1, $17, $5 ; SeafoamIslands5Text5
db $3 ; objects
objec... | 31.541667 | 65 | 0.709379 |
f0827ff350329e8456da34903e3aafb85e4c8ff7 | 10,707 | py | Python | blueprints/finance/views.py | shuxiang/MT-WMS | 38ef18baed6d9eddb88d43da2eeed55988410daf | [
"Apache-2.0"
] | 1 | 2022-03-11T05:42:25.000Z | 2022-03-11T05:42:25.000Z | blueprints/finance/views.py | shuxiang/MT-WMS | 38ef18baed6d9eddb88d43da2eeed55988410daf | [
"Apache-2.0"
] | null | null | null | blueprints/finance/views.py | shuxiang/MT-WMS | 38ef18baed6d9eddb88d43da2eeed55988410daf | [
"Apache-2.0"
] | null | null | null | #coding=utf8
import json
from sqlalchemy import func, or_
from pprint import pprint
from datetime import datetime, timedelta
from random import randint
from flask import Blueprint, g, request, jsonify
from flask_login import LoginManager, login_user, logout_user, login_required, current_user
from extensions.database ... | 39.21978 | 161 | 0.631082 |
628c303fbc8fbbfb32e3832e8c50c5da77ffe438 | 385 | rs | Rust | src/error.rs | duncandean/luno-rust | 28498862f8088e68272407d6999558baa43b16fd | [
"MIT"
] | 2 | 2019-12-10T10:47:07.000Z | 2021-04-17T17:35:08.000Z | src/error.rs | duncandean/luno-rust | 28498862f8088e68272407d6999558baa43b16fd | [
"MIT"
] | 58 | 2019-08-19T08:49:11.000Z | 2021-06-25T15:24:37.000Z | src/error.rs | dunxen/luno-rust | 28498862f8088e68272407d6999558baa43b16fd | [
"MIT"
] | 4 | 2019-07-09T19:01:29.000Z | 2020-09-10T08:05:03.000Z | use thiserror::Error;
/// LunoError is the wrapper error type for this crate to help differentiate it from
/// more generic errors in your application.
#[derive(Error, Debug)]
pub enum LunoError {
#[error("Network error encountered")]
HttpError(reqwest::Error),
}
impl From<reqwest::Error> for LunoError {
fn from(i... | 24.0625 | 84 | 0.724675 |
857eba492ba1131fa75e48be9b87af1600e17493 | 8,090 | js | JavaScript | src/App/Market/index.js | cyptoman/NexusInterface | b2b654a79c696d6249b8cd438ae86679aea1e264 | [
"MIT"
] | null | null | null | src/App/Market/index.js | cyptoman/NexusInterface | b2b654a79c696d6249b8cd438ae86679aea1e264 | [
"MIT"
] | null | null | null | src/App/Market/index.js | cyptoman/NexusInterface | b2b654a79c696d6249b8cd438ae86679aea1e264 | [
"MIT"
] | null | null | null | // External Dependencies
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { shell } from 'electron';
import styled from '@emotion/styled';
import Tooltip from 'components/Tooltip';
import Button from 'components/Button';
import syncingIcon from 'icons/syncing.svg';
import GA from ... | 24.815951 | 79 | 0.529419 |
6063078219bec497541ddfeb2be4eb8d4e73181e | 3,031 | kt | Kotlin | app/src/main/java/com/beone/bestpractice/ui/CountryFragment.kt | daisukikancolle/Corona | 36916a05c90e24b352fb4d28b217e059ca5b9416 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/beone/bestpractice/ui/CountryFragment.kt | daisukikancolle/Corona | 36916a05c90e24b352fb4d28b217e059ca5b9416 | [
"Apache-2.0"
] | 1 | 2021-09-24T09:36:18.000Z | 2021-09-24T09:36:27.000Z | app/src/main/java/com/beone/bestpractice/ui/CountryFragment.kt | BAndersonMatjik/Corona | 0d02278cf91412e86e201c48bb43d9ba53208361 | [
"Apache-2.0"
] | null | null | null | package com.beone.bestpractice.ui
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatDelegate
import androidx.fragment.app.Fragment
import androidx.lifecycle.Obse... | 36.963415 | 120 | 0.669746 |
7ab857df6228e94f4f6040cdaca17ab8ee9be679 | 1,667 | rs | Rust | src/compiler/support.rs | PascalPrecht/vibranium | 9da0008166cd6c026f2bd838f92b70b6994c6f5e | [
"MIT"
] | 12 | 2019-04-20T16:01:24.000Z | 2020-09-08T17:08:10.000Z | src/compiler/support.rs | PascalPrecht/vibranium | 9da0008166cd6c026f2bd838f92b70b6994c6f5e | [
"MIT"
] | 43 | 2019-04-06T14:08:51.000Z | 2022-02-22T14:33:08.000Z | src/compiler/support.rs | PascalPrecht/vibranium | 9da0008166cd6c026f2bd838f92b70b6994c6f5e | [
"MIT"
] | 2 | 2019-08-22T09:18:54.000Z | 2020-01-17T07:26:17.000Z | use super::error;
use std::str::FromStr;
use std::string::ToString;
const SOLC_COMPILER_BINARY_UNIX: &str = "solc";
const SOLC_COMPILER_BINARY_WINDOWS: &str = "solc.exe";
const SOLC_JS_COMPILER_BINARY: &str = "solcjs";
pub enum SupportedCompilers {
Solc,
SolcJs,
}
impl SupportedCompilers {
pub fn executable(&... | 24.15942 | 74 | 0.629874 |
77733b3e8607ff3c82c9da06ba10dba5e11bd6e8 | 1,115 | swift | Swift | HeartRateApp/HeartRateApp/Extensions/UIImage/UIImage+AverageColor.swift | morarivasile/PET_Heart-Rate-App | 16bf13ecee0d66abca6a2c9dcc96eda6d8ed4f9c | [
"MIT"
] | null | null | null | HeartRateApp/HeartRateApp/Extensions/UIImage/UIImage+AverageColor.swift | morarivasile/PET_Heart-Rate-App | 16bf13ecee0d66abca6a2c9dcc96eda6d8ed4f9c | [
"MIT"
] | null | null | null | HeartRateApp/HeartRateApp/Extensions/UIImage/UIImage+AverageColor.swift | morarivasile/PET_Heart-Rate-App | 16bf13ecee0d66abca6a2c9dcc96eda6d8ed4f9c | [
"MIT"
] | 1 | 2021-04-02T02:27:24.000Z | 2021-04-02T02:27:24.000Z | //
// UIImage+AverageColor.swift
// HeartRateApp
//
// Created by Vasile Morari on 20/07/2020.
// Copyright © 2020 Vasile Morari. All rights reserved.
//
import UIKit
extension UIImage {
var averageColor: UIColor? {
guard let inputImage = self.ciImage ?? CIImage(image: self) else { return nil }
... | 41.296296 | 158 | 0.66278 |
aba5c0577f2fb2cafeb18be3688b237b599098c3 | 160 | sql | SQL | src/test/resources/aggerror.test_2.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 131 | 2015-03-31T18:59:14.000Z | 2022-03-09T09:51:06.000Z | src/test/resources/aggerror.test_2.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 20 | 2015-03-31T21:35:38.000Z | 2018-07-02T16:15:51.000Z | src/test/resources/aggerror.test_2.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 43 | 2015-04-28T02:01:55.000Z | 2021-06-06T09:33:38.000Z | -- aggerror.test
--
-- execsql {
-- INSERT INTO t1 VALUES(40);
-- SELECT x_count(*) FROM t1;
-- }
INSERT INTO t1 VALUES(40);
SELECT x_count(*) FROM t1; | 20 | 33 | 0.60625 |
be56969506f630096ab16c990f4605efac6d6c4a | 1,718 | sql | SQL | src/main/resources/resources/evidence/sql/negativecontrols/findDrugIndications.sql | shukia/WebAPI-unsafe | aadce01f167efc5bd129cd9eddfca83f030d2bba | [
"Apache-2.0"
] | null | null | null | src/main/resources/resources/evidence/sql/negativecontrols/findDrugIndications.sql | shukia/WebAPI-unsafe | aadce01f167efc5bd129cd9eddfca83f030d2bba | [
"Apache-2.0"
] | null | null | null | src/main/resources/resources/evidence/sql/negativecontrols/findDrugIndications.sql | shukia/WebAPI-unsafe | aadce01f167efc5bd129cd9eddfca83f030d2bba | [
"Apache-2.0"
] | null | null | null | SELECT DISTINCT DESCENDANT_CONCEPT_ID AS CONCEPT_ID
INTO #TEMP_COI
FROM @vocabulary.CONCEPT_ANCESTOR WHERE ANCESTOR_CONCEPT_ID IN ( @conceptsOfInterest );
CREATE INDEX IDX_TEMP_COI ON #TEMP_COI (CONCEPT_ID);
{@outcomeOfInterest == 'condition'}?{
SELECT DISTINCT c3.CONCEPT_ID
INTO #NC_INDICATIONS
FROM @vocabular... | 35.791667 | 87 | 0.739232 |
befc221ae94220937570e9f42b42f3a888b81013 | 1,675 | html | HTML | zzzphp/plugins/ad/show_up/index.html | Earth-Online/poc_test | 5936f18e614c667b66be67a27a2ea29267c0014f | [
"Apache-2.0"
] | null | null | null | zzzphp/plugins/ad/show_up/index.html | Earth-Online/poc_test | 5936f18e614c667b66be67a27a2ea29267c0014f | [
"Apache-2.0"
] | null | null | null | zzzphp/plugins/ad/show_up/index.html | Earth-Online/poc_test | 5936f18e614c667b66be67a27a2ea29267c0014f | [
"Apache-2.0"
] | 2 | 2019-01-29T06:31:53.000Z | 2020-05-19T13:37:13.000Z | <style type="text/css">
.advbox{width:100%;margin:0 auto;}
.advbox .dt_toBig, .advbox .dt_toSmall{position:absolute;left:50%;margin:5px 0px 0px 460px;width:49px;height:21px; text-align:center; background:#FFF;cursor:pointer;}
.dt_toBiga{ display:block; width:100%;height:60px; background-repeat:no-repeat}
.dt_toSma... | 32.211538 | 167 | 0.625075 |
9b9d8004b238fe2819acc560796f82bf8eaf03ed | 4,544 | js | JavaScript | ForumArchive/acc/post_11959_page_2.js | doc22940/Extensions | d8dbc9be08e0b8c0bd6b72e068ef73223d2799a8 | [
"Apache-2.0"
] | 136 | 2015-01-01T17:33:35.000Z | 2022-02-26T16:38:08.000Z | ForumArchive/acc/post_11959_page_2.js | doc22940/Extensions | d8dbc9be08e0b8c0bd6b72e068ef73223d2799a8 | [
"Apache-2.0"
] | 60 | 2015-06-20T00:39:16.000Z | 2021-09-02T22:55:27.000Z | ForumArchive/acc/post_11959_page_2.js | doc22940/Extensions | d8dbc9be08e0b8c0bd6b72e068ef73223d2799a8 | [
"Apache-2.0"
] | 141 | 2015-04-29T09:50:11.000Z | 2022-03-18T09:20:44.000Z | [{"Owner":"davrous","Date":"2015-02-02T18:12:48Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_Hi Vousk_co__lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_ No_co_ the idea is to export from Unity to Babylon.js (like from Blender or 3DS Max). Lot of people are using Unity because it_t_s cross-platforms but als... | 4,544 | 4,544 | 0.827025 |
a11828acca39466190d8840ccfb701c620b9f8e7 | 2,981 | go | Go | x/gamm/client/testutil/test_helpers.go | CrackLord/osmosis | 2e3966f5bfc799d9fa70f4e7faf0cb9963eda92e | [
"Apache-2.0"
] | 426 | 2021-02-19T09:49:00.000Z | 2022-03-31T01:53:18.000Z | x/gamm/client/testutil/test_helpers.go | CrackLord/osmosis | 2e3966f5bfc799d9fa70f4e7faf0cb9963eda92e | [
"Apache-2.0"
] | 928 | 2021-02-20T00:22:27.000Z | 2022-03-31T22:52:28.000Z | x/gamm/client/testutil/test_helpers.go | CrackLord/osmosis | 2e3966f5bfc799d9fa70f4e7faf0cb9963eda92e | [
"Apache-2.0"
] | 160 | 2021-02-21T00:34:45.000Z | 2022-03-28T01:40:15.000Z | package testutil
import (
"fmt"
"testing"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/testutil"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
sdk "github.com/cosmos/cosmos-sdk/types"
gammcli "github.com/osmosis-labs/osmosis/x/gamm/c... | 30.418367 | 174 | 0.706474 |
85935346b836436ae3cd1f5a51315516120a01c1 | 237 | js | JavaScript | node-js/node-express/HW1/hw-lior/public/dist/js.dev.js | talyaron/fullstack-int-aug20 | 802c0920f3a78e570a5d9fa411336f19f778eda3 | [
"Artistic-2.0"
] | 1 | 2021-01-26T13:04:04.000Z | 2021-01-26T13:04:04.000Z | node-js/node-express/HW1/hw-lior/public/dist/js.dev.js | talyaron/fullstack-int-aug20 | 802c0920f3a78e570a5d9fa411336f19f778eda3 | [
"Artistic-2.0"
] | null | null | null | node-js/node-express/HW1/hw-lior/public/dist/js.dev.js | talyaron/fullstack-int-aug20 | 802c0920f3a78e570a5d9fa411336f19f778eda3 | [
"Artistic-2.0"
] | 1 | 2020-11-22T12:21:19.000Z | 2020-11-22T12:21:19.000Z | "use strict";
setInterval(function () {
fetch('/get-jokes').then(function (response) {
return response.json();
}).then(function (data) {
document.getElementById('root').innerText = "".concat(data.randomJoke);
});
}, 1000); | 26.333333 | 75 | 0.649789 |
01edb56298fe98d15043545dd7b84fd617d1fbd5 | 2,214 | rs | Rust | src/day1.rs | peterdn/advent-of-code-2020 | fd820e57c591f207ceaaacd078aa9c61cc344d53 | [
"BSD-2-Clause"
] | null | null | null | src/day1.rs | peterdn/advent-of-code-2020 | fd820e57c591f207ceaaacd078aa9c61cc344d53 | [
"BSD-2-Clause"
] | null | null | null | src/day1.rs | peterdn/advent-of-code-2020 | fd820e57c591f207ceaaacd078aa9c61cc344d53 | [
"BSD-2-Clause"
] | null | null | null | extern crate aoc_macros;
use aoc_macros::aoc_main;
mod aoc;
aoc_main!(parse_expenses);
fn parse_expenses(input: &str) -> Vec<u32> {
let mut expenses = input
.trim()
.lines()
.map(|line| line.trim().parse::<u32>().unwrap())
.collect::<Vec<u32>>();
expenses.sort();
expenses
... | 23.553191 | 78 | 0.485095 |
bcac93b63b8d137c83f12aeb51a4fce7d3845f6b | 934 | js | JavaScript | day4-2/route1.js | AmosZhang77/nodeJsLearnBase | a0cb3ad1377385a0e7651934b91215a16b8d7edd | [
"MIT"
] | null | null | null | day4-2/route1.js | AmosZhang77/nodeJsLearnBase | a0cb3ad1377385a0e7651934b91215a16b8d7edd | [
"MIT"
] | null | null | null | day4-2/route1.js | AmosZhang77/nodeJsLearnBase | a0cb3ad1377385a0e7651934b91215a16b8d7edd | [
"MIT"
] | null | null | null | let express = require('express')
let app = express()
app.listen(8070)
function bodyParser(){
return function (req,res,next) {
let str =''
req.on('data',function (chunk) {
str += chunk
})
req.on('end',function (chunk) {
// console.log(str)
req.body = require('querystring').parse(str... | 19.87234 | 111 | 0.617773 |
24efa7173343b2742cfc87fe69bc835e4b083697 | 290 | go | Go | src/group_models.go | newnius/YAO-scheduler | 28533a9f6397b3079340dd5dc39571d2971cdc72 | [
"Apache-2.0"
] | null | null | null | src/group_models.go | newnius/YAO-scheduler | 28533a9f6397b3079340dd5dc39571d2971cdc72 | [
"Apache-2.0"
] | null | null | null | src/group_models.go | newnius/YAO-scheduler | 28533a9f6397b3079340dd5dc39571d2971cdc72 | [
"Apache-2.0"
] | 1 | 2021-10-19T06:58:33.000Z | 2021-10-19T06:58:33.000Z | package main
type Group struct {
Name string `json:"name"`
Weight int `json:"weight"`
Reserved bool `json:"reserved"`
NumGPU int `json:"quota_gpu"`
MemoryGPU int `json:"quota_gpu_mem"`
CPU int `json:"quota_cpu"`
Memory int `json:"quota_mem"`
}
| 24.166667 | 40 | 0.617241 |
0ba5476dbd46ffd166a1142eaeb53f0b271aa5d2 | 418 | kt | Kotlin | src/Basics/Section3/Closures.kt | yavuzBahceci/KotlinLearningDocumentation | 95fc673cf85917a75b1fce940ec5e66ac2aaf209 | [
"Apache-2.0"
] | null | null | null | src/Basics/Section3/Closures.kt | yavuzBahceci/KotlinLearningDocumentation | 95fc673cf85917a75b1fce940ec5e66ac2aaf209 | [
"Apache-2.0"
] | null | null | null | src/Basics/Section3/Closures.kt | yavuzBahceci/KotlinLearningDocumentation | 95fc673cf85917a75b1fce940ec5e66ac2aaf209 | [
"Apache-2.0"
] | null | null | null | package Basics.Section3
// Closures are variables defined in outer scope of lambda expressions
fun main(args: Array<String>) {
var result = 0
println(result)
val lambda: (Int, Int) -> Unit = { x, y -> result = x + y } // We can use result in lambda expression
add(2,4,lambda)
println(result)
}
... | 22 | 105 | 0.629187 |
488382a7539869c62ccd65ca1c0d267f2815ab18 | 3,530 | swift | Swift | CSMobileBase/Classes/CSSettingsStore.swift | Mayank-Bhayana/CSMobileBase | 8ff6229a030cb82c727a0fbe33a48d8c1512358d | [
"MIT"
] | null | null | null | CSMobileBase/Classes/CSSettingsStore.swift | Mayank-Bhayana/CSMobileBase | 8ff6229a030cb82c727a0fbe33a48d8c1512358d | [
"MIT"
] | null | null | null | CSMobileBase/Classes/CSSettingsStore.swift | Mayank-Bhayana/CSMobileBase | 8ff6229a030cb82c727a0fbe33a48d8c1512358d | [
"MIT"
] | null | null | null | //
// CSSettingsStore.swift
// CSMobileBase
//
// Created by Mayank Bhayana on 10/01/19.
//
import Foundation
import SmartStore
import SwiftyJSON
public let CSSettingsChangedNotification = "CSSettingsChangedNotification"
open class CSSettingsStore {
open static let instance: CSSettingsStore = CSSetting... | 41.046512 | 154 | 0.635694 |
3e3aaf57b3beac61b0115aea62daca4a7fe86fd7 | 1,731 | h | C | include/core/MicroscopeProperties.h | TASBE/ImageAnalytics | 5d6fc1a64b4c17e263451fa4252c94dc86193d14 | [
"CC-BY-3.0"
] | 1 | 2019-08-29T20:48:32.000Z | 2019-08-29T20:48:32.000Z | include/core/MicroscopeProperties.h | TASBE/ImageAnalytics | 5d6fc1a64b4c17e263451fa4252c94dc86193d14 | [
"CC-BY-3.0"
] | 1 | 2021-11-02T18:14:21.000Z | 2021-11-02T18:19:50.000Z | include/core/MicroscopeProperties.h | TASBE/ImageAnalytics | 5d6fc1a64b4c17e263451fa4252c94dc86193d14 | [
"CC-BY-3.0"
] | null | null | null | /*
* MicrscopeProperties.h
*
* Created on: Jan 10, 2018
* Author: nwalczak
*/
#ifndef INCLUDE_CORE_MICROSCOPEPROPERTIES_H_
#define INCLUDE_CORE_MICROSCOPEPROPERTIES_H_
#include <string>
#include <ostream>
#include <iomanip>
struct MicroscopeProperties {
double pixelWidth;
double pixelHeight;
double pix... | 29.338983 | 85 | 0.662623 |
6a7b4c526fe904a81e2b5afbde2ad93cb86e8ae6 | 108 | sql | SQL | insertUserTest.sql | meganpowers3/PhotoWebsite | 9791292a7149308f93ada788e1031b693583050b | [
"MIT"
] | null | null | null | insertUserTest.sql | meganpowers3/PhotoWebsite | 9791292a7149308f93ada788e1031b693583050b | [
"MIT"
] | null | null | null | insertUserTest.sql | meganpowers3/PhotoWebsite | 9791292a7149308f93ada788e1031b693583050b | [
"MIT"
] | null | null | null | INSERT INTO `csc317db`.`users`
(`username`,
`email`,
`password`)
VALUES
("test",
"test@mail.com",
"test");
| 10.8 | 30 | 0.638889 |
7a5f635df2eda24b97db87def6b9738a2a33765c | 1,209 | sql | SQL | sql/N184_department_highest_salary.sql | MikuSugar/LeetCode | 2b87898853bf48a1f94e7b35dd0584047481801f | [
"Apache-2.0"
] | 3 | 2019-01-19T03:01:25.000Z | 2020-06-06T12:11:29.000Z | sql/N184_department_highest_salary.sql | MikuSugar/LeetCode | 2b87898853bf48a1f94e7b35dd0584047481801f | [
"Apache-2.0"
] | null | null | null | sql/N184_department_highest_salary.sql | MikuSugar/LeetCode | 2b87898853bf48a1f94e7b35dd0584047481801f | [
"Apache-2.0"
] | null | null | null | select d.Name as Department, e.Name as Employee, e.Salary as Salary
from Employee e join Department d on e.DepartmentId=d.Id
where (DepartmentId,Salary) in (
select DepartmentId,max(Salary)
from Employee
group by DepartmentId
)
--Employee 表包含所有员工信息,每个员工有其对应的 Id, salary 和 department Id。
--
--+----+-------+... | 32.675676 | 80 | 0.445823 |
9c239feef4c9b523dbbf3eb8cd4b4d28593d13df | 240 | js | JavaScript | angular/directives/myFiles.js | adio87/taskman | 4c92ae8e0764bffcd4d4b037bbc91ca088e1d9da | [
"MIT"
] | null | null | null | angular/directives/myFiles.js | adio87/taskman | 4c92ae8e0764bffcd4d4b037bbc91ca088e1d9da | [
"MIT"
] | null | null | null | angular/directives/myFiles.js | adio87/taskman | 4c92ae8e0764bffcd4d4b037bbc91ca088e1d9da | [
"MIT"
] | null | null | null | export function MyFilesDirective() {
return (scope, elem, attrs) => {
elem.on("change", function (e) {
scope.$eval(attrs.myFiles + "=$files", {$files: e.target.files});
scope.$apply();
});
}
} | 30 | 77 | 0.516667 |
5ed032dfb39244f61adcce867432e4cfc1cede40 | 585 | asm | Assembly | oeis/134/A134636.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/134/A134636.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/134/A134636.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A134636: Triangle formed by Pascal's rule given borders = 2n+1.
; Submitted by Jon Maiga
; 1,3,3,5,6,5,7,11,11,7,9,18,22,18,9,11,27,40,40,27,11,13,38,67,80,67,38,13,15,51,105,147,147,105,51,15,17,66,156,252,294,252,156,66,17,19,83,222,408,546,546,408,222,83,19,21,102,305,630,954,1092,954,630,305,102,21,23,123,407,935... | 30.789474 | 362 | 0.676923 |
9bf5f25315e73651bb35d5e8bb5f6f6ba505d4d9 | 1,874 | js | JavaScript | src/modules/auth/login/index.js | farhadrbb/saham-time | b715699fe9efd9d42a2736fd93b8c2225c0875cd | [
"MIT"
] | null | null | null | src/modules/auth/login/index.js | farhadrbb/saham-time | b715699fe9efd9d42a2736fd93b8c2225c0875cd | [
"MIT"
] | null | null | null | src/modules/auth/login/index.js | farhadrbb/saham-time | b715699fe9efd9d42a2736fd93b8c2225c0875cd | [
"MIT"
] | null | null | null | import React, { useState } from 'react';
import Login from './components/cardLogin';
import { useFormik } from "formik";
import * as Yup from "yup";
import { login } from './../../../redux/auth/login/index';
import { useHistory } from "react-router-dom";
import { setLocalStorageLogin } from './components/localstorage';... | 22.309524 | 65 | 0.52508 |
330e3ca54e42e429e7b117d2305fd38be4387ed0 | 17 | py | Python | pytuber/version.py | tefra/pytube.fm | d8e8d5dfe928497f69d208df4c21b049a726dbda | [
"MIT"
] | 8 | 2019-01-27T00:52:20.000Z | 2021-07-15T15:57:19.000Z | pytuber/version.py | tefra/pytube.fm | d8e8d5dfe928497f69d208df4c21b049a726dbda | [
"MIT"
] | 22 | 2019-01-25T14:57:08.000Z | 2021-12-13T19:55:04.000Z | pytuber/version.py | tefra/pytube.fm | d8e8d5dfe928497f69d208df4c21b049a726dbda | [
"MIT"
] | 4 | 2019-02-17T09:56:30.000Z | 2021-04-17T17:53:13.000Z | version = "20.1"
| 8.5 | 16 | 0.588235 |
6118e66ff0a2f7f253afabf5f52b45aa5e603fe6 | 330 | asm | Assembly | wof/lcs/base/1CB.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | 6 | 2020-10-14T15:29:10.000Z | 2022-02-12T18:58:54.000Z | wof/lcs/base/1CB.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | null | null | null | wof/lcs/base/1CB.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | 1 | 2020-12-17T08:59:10.000Z | 2020-12-17T08:59:10.000Z | copyright zengfr site:http://github.com/zengfr/romhack
003C88 bne $3caa
004150 bne $4144
00544C bne $5486
01550C st ($1c9,A5) [base+1CB]
0155F0 bra $16f20 [base+1CB]
01568C move.w #$20, (-$4de,A5) [base+1CB]
01572E bra $16f20 [base+1CB]
copyright zengfr site:http://github.com/zengfr... | 27.5 | 54 | 0.654545 |
7211ab5655d96dfaaf79e18408750770298c0c93 | 9,510 | sql | SQL | demo.sql | ImShobhitPundir/LaravelCURD | c59ee01065acce87f6bbcd070d7c2d76667d75cd | [
"MIT"
] | null | null | null | demo.sql | ImShobhitPundir/LaravelCURD | c59ee01065acce87f6bbcd070d7c2d76667d75cd | [
"MIT"
] | null | null | null | demo.sql | ImShobhitPundir/LaravelCURD | c59ee01065acce87f6bbcd070d7c2d76667d75cd | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 23, 2020 at 02:48 PM
-- Server version: 10.1.37-MariaDB
-- PHP Version: 7.2.14
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OL... | 31.386139 | 303 | 0.68286 |
4a3f473ef512b9ce11ab519362466b1fdbec2de5 | 1,973 | js | JavaScript | web/gui/js/mqtt.js | NuwanJ/co326-project | 4dbd4766ad43a7b31d17aae5bde3e17c662d6f60 | [
"Apache-2.0"
] | null | null | null | web/gui/js/mqtt.js | NuwanJ/co326-project | 4dbd4766ad43a7b31d17aae5bde3e17c662d6f60 | [
"Apache-2.0"
] | null | null | null | web/gui/js/mqtt.js | NuwanJ/co326-project | 4dbd4766ad43a7b31d17aae5bde3e17c662d6f60 | [
"Apache-2.0"
] | 2 | 2020-10-05T15:08:13.000Z | 2020-10-20T06:21:59.000Z |
var client = new Paho.MQTT.Client(mqtt_server, mqtt_port,"/socket.io");
function mqttConnect(){
client.connect({onSuccess:onConnect});
const txtSendBox = document.getElementById("serialSend");
txtSendBox.innerHTML = "Trying to connect...";
}
function onConnect(){
document.getElementById("serialSend").in... | 29.014706 | 107 | 0.675621 |
5b4702eead5012fb237555649ecbdd9946c81c09 | 5,555 | h | C | WebLayoutCore/Source/WebCore/html/HTMLImageElement.h | gubaojian/trylearn | 74dd5c6c977f8d867d6aa360b84bc98cb82f480c | [
"MIT"
] | 1 | 2020-05-25T16:06:49.000Z | 2020-05-25T16:06:49.000Z | WebLayoutCore/Source/WebCore/html/HTMLImageElement.h | gubaojian/trylearn | 74dd5c6c977f8d867d6aa360b84bc98cb82f480c | [
"MIT"
] | null | null | null | WebLayoutCore/Source/WebCore/html/HTMLImageElement.h | gubaojian/trylearn | 74dd5c6c977f8d867d6aa360b84bc98cb82f480c | [
"MIT"
] | 1 | 2018-07-10T10:53:18.000Z | 2018-07-10T10:53:18.000Z | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2004, 2008, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the ... | 34.937107 | 130 | 0.761116 |
bb7a7cab2f641d46f26cd7347d4e39d3b2d020fb | 1,894 | rs | Rust | xrpl_cli/src/account/balances.rs | gmosx/xrpl_sdk_rust | f45f61da1d059c4db90a52fb947740a8e9b67d84 | [
"Apache-2.0"
] | 3 | 2022-03-05T09:37:21.000Z | 2022-03-07T06:50:37.000Z | xrpl_cli/src/account/balances.rs | gmosx/xrpl_sdk_rust | f45f61da1d059c4db90a52fb947740a8e9b67d84 | [
"Apache-2.0"
] | null | null | null | xrpl_cli/src/account/balances.rs | gmosx/xrpl_sdk_rust | f45f61da1d059c4db90a52fb947740a8e9b67d84 | [
"Apache-2.0"
] | null | null | null | use clap::ArgMatches;
use std::collections::HashMap;
use xrpl_sdk_jsonrpc::Client;
// #TODO should be `balance` or `balances`?
// #TODO add error handling
pub fn account_balances(account_matches: &ArgMatches, balances_matches: &ArgMatches) {
let account = account_matches.value_of("ACCOUNT").unwrap();
let rt ... | 35.735849 | 86 | 0.546463 |
b19ca8054d930168a0ac9f4386f5706c7a0037b8 | 713 | h | C | KSPlayer/KSPlayer/Scripts/Custom/FFmpeg/Video/Decoder/XDXVideoDecoder.h | saeipi/KSFFmpeg | 14665810f2fd5bf3b4dc78495e38b9b4f45ebfbb | [
"MIT"
] | 7 | 2020-05-19T02:06:56.000Z | 2021-06-07T08:22:35.000Z | KSPlayer/Scripts/Custom/FFmpeg/Video/Decoder/XDXVideoDecoder.h | saeipi/KSPlayer | 101b042458a47e73a636cbd181e2d82023e16c75 | [
"MIT"
] | null | null | null | KSPlayer/Scripts/Custom/FFmpeg/Video/Decoder/XDXVideoDecoder.h | saeipi/KSPlayer | 101b042458a47e73a636cbd181e2d82023e16c75 | [
"MIT"
] | 2 | 2021-05-26T01:56:41.000Z | 2021-06-07T08:22:40.000Z | //
// XDXVideoDecoder.h
// XDXVideoDecoder
//
// Created by 小东邪 on 2019/6/4.
// Copyright © 2019 小东邪. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "XDXAVParseHandler.h"
@protocol XDXVideoDecoderDelegate <NSObject>
@optional
- (void)getVideoDecodeDataCallback:(CMSampleBufferRef)sampleBuffer i... | 20.371429 | 99 | 0.746143 |
987812dbd6ab2eacd1e946d4f017b4ebdb7d1e68 | 100 | sql | SQL | springboot-mybatis-mysql/src/main/resources/schema.sql | Neyzoter/spring-example | f8479e5f8433266476f3c00138236e6cfd715a01 | [
"MIT"
] | 1 | 2020-04-28T08:32:10.000Z | 2020-04-28T08:32:10.000Z | springboot-mybatis-mysql/src/main/resources/schema.sql | Neyzoter/spring-example | f8479e5f8433266476f3c00138236e6cfd715a01 | [
"MIT"
] | 1 | 2020-02-16T15:06:13.000Z | 2020-02-16T15:06:13.000Z | springboot-mybatis-mysql/src/main/resources/schema.sql | Neyzoter/spring-example | f8479e5f8433266476f3c00138236e6cfd715a01 | [
"MIT"
] | 2 | 2020-08-05T03:47:58.000Z | 2020-10-11T08:15:24.000Z | CREATE TABLE IF NOT EXISTS user (
userName VARCHAR(256),
password VARCHAR(256),
); | 25 | 33 | 0.62 |
7a3bccf7692cdefc86706559cef0b8de8574c2df | 248 | rb | Ruby | 2017/1230_ABC084/B.rb | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | 7 | 2019-03-24T14:06:29.000Z | 2020-09-17T21:16:36.000Z | 2017/1230_ABC084/B.rb | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | null | null | null | 2017/1230_ABC084/B.rb | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | 1 | 2020-07-22T17:27:09.000Z | 2020-07-22T17:27:09.000Z | a, b = gets.chomp.split(" ").map{|i| i.to_i}
s = gets.chomp
ok = true
for i in 0...a+b+1
if i == a
if s[i] != '-'
ok = false
end
else
if s[i] == '-'
ok = false
end
end
end
if ok
puts "Yes"
else
puts "No"
end
| 11.272727 | 44 | 0.471774 |
d4acc2118402344ff9c1bda51ffb16957ebe35b0 | 2,367 | rs | Rust | src/lantern_db.rs | temochka/lantern | fb1f4e4b7df9bff58a39a210a852f0dc3670e025 | [
"Apache-2.0"
] | null | null | null | src/lantern_db.rs | temochka/lantern | fb1f4e4b7df9bff58a39a210a852f0dc3670e025 | [
"Apache-2.0"
] | null | null | null | src/lantern_db.rs | temochka/lantern | fb1f4e4b7df9bff58a39a210a852f0dc3670e025 | [
"Apache-2.0"
] | null | null | null | use actix::{Actor};
use rusqlite::{params, Connection, OptionalExtension};
pub mod entities;
pub mod queries;
pub struct LanternDb {
pub connection: Connection
}
impl LanternDb {
fn create_session(&self, query: &queries::CreateSession) -> rusqlite::Result<()>
{
let mut stmt = self.connection.prep... | 34.808824 | 171 | 0.648078 |
2dd714ced7567586490239be637198733a1953e1 | 6,124 | swift | Swift | Swift/Apply/Apply/FDUtils.swift | FandyLiu/SwiftDemoCollection | ea93f3b9cfe6bcf0e9993837409561631947902b | [
"MIT"
] | null | null | null | Swift/Apply/Apply/FDUtils.swift | FandyLiu/SwiftDemoCollection | ea93f3b9cfe6bcf0e9993837409561631947902b | [
"MIT"
] | null | null | null | Swift/Apply/Apply/FDUtils.swift | FandyLiu/SwiftDemoCollection | ea93f3b9cfe6bcf0e9993837409561631947902b | [
"MIT"
] | null | null | null | //
// FDUtils.swift
// Apply
//
// Created by QianTuFD on 2017/3/28.
// Copyright © 2017年 fandy. All rights reserved.
//
import UIKit
// int -> float
extension Int {
var f: CGFloat {
return CGFloat(self)
}
}
// 16进制颜色转换 不带透明度得到
extension UIColor {
class func rgbColorWith(hexValue: Int) -> UIC... | 34.022222 | 145 | 0.648596 |
cccc56b69fb0c53c0da6ceb892de905d6edf88b7 | 131 | kt | Kotlin | core/src/main/java/com/android/sample/core/database/dashboard/DbLink.kt | alirezaeiii/SampleDaggerRx | 2220bb35cce7cb77339f9b14b02097b152a7c1b7 | [
"Unlicense"
] | 4 | 2021-12-14T17:05:57.000Z | 2022-02-28T18:35:47.000Z | core/src/main/java/com/android/sample/core/database/dashboard/DbLink.kt | alirezaeiii/Hilt-MultiModule-Cache | 882deeb6f6640ea6616ef7b846b7c6aa33e8747a | [
"Unlicense"
] | null | null | null | core/src/main/java/com/android/sample/core/database/dashboard/DbLink.kt | alirezaeiii/Hilt-MultiModule-Cache | 882deeb6f6640ea6616ef7b846b7c6aa33e8747a | [
"Unlicense"
] | null | null | null | package com.android.sample.core.database.dashboard
class DbLink(
val id: String,
val title: String,
val href: String
) | 18.714286 | 50 | 0.709924 |
0b50f65ab450a9b3ceab99052365e46e13aa2bac | 2,726 | asm | Assembly | ioctl/Cat08.asm | osfree-project/FamilyAPI | 2119a95cb2bbe6716ecacff4171866f6ea51b8d7 | [
"BSD-3-Clause"
] | 1 | 2021-11-25T14:01:48.000Z | 2021-11-25T14:01:48.000Z | ioctl/Cat08.asm | osfree-project/FamilyAPI | 2119a95cb2bbe6716ecacff4171866f6ea51b8d7 | [
"BSD-3-Clause"
] | null | null | null | ioctl/Cat08.asm | osfree-project/FamilyAPI | 2119a95cb2bbe6716ecacff4171866f6ea51b8d7 | [
"BSD-3-Clause"
] | 2 | 2021-11-05T06:48:43.000Z | 2021-12-06T08:07:38.000Z | ;/*!
; @file
;
; @ingroup fapi
;
; @brief DosDevIOCtl Category 8 Functions
;
; (c) osFree Project 2021, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri ... | 26.211538 | 95 | 0.68562 |
856a1c833364df8e4fe128a23a5c6d306d8b971d | 976 | js | JavaScript | frontend/src/router/dashboard.routes.js | nomadicsoft/saas | 94865b3e6b6ab0ae24276f12603b277173a13bde | [
"MIT"
] | 1 | 2021-06-17T05:54:06.000Z | 2021-06-17T05:54:06.000Z | frontend/src/router/dashboard.routes.js | nomadicsoft/saas | 94865b3e6b6ab0ae24276f12603b277173a13bde | [
"MIT"
] | null | null | null | frontend/src/router/dashboard.routes.js | nomadicsoft/saas | 94865b3e6b6ab0ae24276f12603b277173a13bde | [
"MIT"
] | null | null | null |
export default [
{
path: '/dashboard',
name: 'dashboard.index',
component: () => import('../views/dashboard/Index.vue'),
meta: { auth: true }
},
{
path: '/dashboard/profile',
name: 'dashboard.profile',
component: () => import('../views/dashboard/Profi... | 28.705882 | 77 | 0.528689 |
5f295ae1b02cf81227d1509eedd6bb348c958ca3 | 888 | swift | Swift | Sources/Web/Templating/Template.swift | OmnijarStudio/naamio | d8572f543c8454ea22f21552a203e3b63bd22938 | [
"MIT"
] | null | null | null | Sources/Web/Templating/Template.swift | OmnijarStudio/naamio | d8572f543c8454ea22f21552a203e3b63bd22938 | [
"MIT"
] | 11 | 2016-09-17T12:26:11.000Z | 2016-09-18T10:17:31.000Z | Sources/Web/Templating/Template.swift | OmnijarStudio/naamio | d8572f543c8454ea22f21552a203e3b63bd22938 | [
"MIT"
] | null | null | null | import Foundation
import Malline
enum RouteType: String {
case id = "id"
case page
case root = "index"
}
protocol TemplateCachable {
var template: Template { get set }
var stencil: Stencil { get set }
}
struct Template {
var name: String {
get {
return NSSt... | 17.411765 | 85 | 0.591216 |
182eaaca430323e84363f6c435302d42e818343f | 1,654 | kt | Kotlin | server/src/test/kotlin/com/lsdconsulting/exceptionhandling/server/time/DefaultTimeProviderConfigurationShould.kt | lsd-consulting/spring-http-exception-handling-library | 7e1f222ddc037dfe022abf23765de80ac781a2ea | [
"MIT"
] | null | null | null | server/src/test/kotlin/com/lsdconsulting/exceptionhandling/server/time/DefaultTimeProviderConfigurationShould.kt | lsd-consulting/spring-http-exception-handling-library | 7e1f222ddc037dfe022abf23765de80ac781a2ea | [
"MIT"
] | null | null | null | server/src/test/kotlin/com/lsdconsulting/exceptionhandling/server/time/DefaultTimeProviderConfigurationShould.kt | lsd-consulting/spring-http-exception-handling-library | 7e1f222ddc037dfe022abf23765de80ac781a2ea | [
"MIT"
] | null | null | null | package com.lsdconsulting.exceptionhandling.server.time
import org.exparity.hamcrest.date.ZonedDateTimeMatchers
import org.hamcrest.CoreMatchers.`is`
import org.hamcrest.MatcherAssert.assertThat
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Test
import org.springframework.context.annotation.Annot... | 33.755102 | 101 | 0.712817 |
de065ca6a59822d6645155f0020916071abe09f3 | 1,748 | rs | Rust | src/param/param_supported_extensions.rs | algesten/sctp | 1b609a582a126ae564b37679449359143e6292f5 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/param/param_supported_extensions.rs | algesten/sctp | 1b609a582a126ae564b37679449359143e6292f5 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/param/param_supported_extensions.rs | algesten/sctp | 1b609a582a126ae564b37679449359143e6292f5 | [
"Apache-2.0",
"MIT"
] | null | null | null | use super::{param_header::*, param_type::*, *};
use crate::chunk::chunk_type::*;
use anyhow::Result;
use bytes::{Buf, BufMut, Bytes, BytesMut};
#[derive(Default, Debug, Clone, PartialEq)]
pub(crate) struct ParamSupportedExtensions {
pub(crate) chunk_types: Vec<ChunkType>,
}
impl fmt::Display for ParamSupportedEx... | 25.333333 | 93 | 0.544622 |
9c4fa3b46522f4cdde3b0a4a9ae7aa1d3a86f32a | 754 | js | JavaScript | bp/config.js | benedictDD/odrl | d6eabca248f3777de5686f56cc0a9d142cef84a8 | [
"W3C-20150513"
] | 9 | 2018-06-25T12:28:49.000Z | 2021-06-07T20:28:28.000Z | bp/config.js | benedictDD/odrl | d6eabca248f3777de5686f56cc0a9d142cef84a8 | [
"W3C-20150513"
] | 18 | 2018-06-25T12:41:00.000Z | 2022-03-10T13:21:39.000Z | bp/config.js | benedictDD/odrl | d6eabca248f3777de5686f56cc0a9d142cef84a8 | [
"W3C-20150513"
] | 5 | 2019-05-14T19:30:34.000Z | 2021-04-12T11:18:19.000Z | var respecConfig = {
specStatus: "CG-DRAFT",
shortName: "odrl-bp",
editors: [ { name: "Benedict Whittam Smith",
company: "Thomson Reuters"},
{ name: "Víctor Rodríguez-Doncel",
url: "https://www.linkedin.com/in/victor-rodriguez-doncel-554b5213... | 34.272727 | 98 | 0.533156 |
85f3d078a0eed7f3399498739746003d65e6836e | 1,175 | sql | SQL | managed/src/main/resources/db/migration/default/postgres/V128__Create_Missing_Default_Destinations.sql | bllewell/yugabyte-db | b757f8d8c0c10854754a17f63db007a0874eaf1f | [
"Apache-2.0",
"CC0-1.0"
] | 2,759 | 2017-10-05T22:15:20.000Z | 2019-09-16T13:16:21.000Z | managed/src/main/resources/db/migration/default/postgres/V128__Create_Missing_Default_Destinations.sql | bllewell/yugabyte-db | b757f8d8c0c10854754a17f63db007a0874eaf1f | [
"Apache-2.0",
"CC0-1.0"
] | 2,195 | 2017-11-06T23:38:44.000Z | 2019-09-16T20:24:31.000Z | managed/src/main/resources/db/migration/default/postgres/V128__Create_Missing_Default_Destinations.sql | bllewell/yugabyte-db | b757f8d8c0c10854754a17f63db007a0874eaf1f | [
"Apache-2.0",
"CC0-1.0"
] | 257 | 2017-10-06T02:23:19.000Z | 2019-09-13T18:01:15.000Z | -- Copyright (c) YugaByte, Inc.
DO $$
DECLARE
row record;
BEGIN
FOR row IN
SELECT uuid,
gen_random_uuid() AS default_destination_uuid,
gen_random_uuid() AS default_channel_uuid FROM customer
LOOP
-- We are going to create default destination and channel if no default destination
... | 39.166667 | 166 | 0.709787 |
ec076b8d8d406ccf24b6dd0f5e1241f981fd975d | 573 | kt | Kotlin | app/src/main/java/xyz/sentrionic/harmony/api/main/responses/CommentResponse.kt | sentrionic/HarmonyApp | 0751148a2566ad11098ddd7f122cade7c1792dc3 | [
"MIT"
] | null | null | null | app/src/main/java/xyz/sentrionic/harmony/api/main/responses/CommentResponse.kt | sentrionic/HarmonyApp | 0751148a2566ad11098ddd7f122cade7c1792dc3 | [
"MIT"
] | null | null | null | app/src/main/java/xyz/sentrionic/harmony/api/main/responses/CommentResponse.kt | sentrionic/HarmonyApp | 0751148a2566ad11098ddd7f122cade7c1792dc3 | [
"MIT"
] | null | null | null | package xyz.sentrionic.harmony.api.main.responses
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
class CommentResponse(
@SerializedName("pk")
@Expose
var pk: Int,
@SerializedName("comment")
@Expose
var comment: String,
@SerializedName("image")... | 18.483871 | 49 | 0.685864 |
2f2db1efca6598a0d50757399e4f39053085ecfc | 162 | sql | SQL | data/021-rresv_service.sql | cicorias/njit-dbms-final | fec77a0d5cfbcd72489a01bdea73400a9abb544a | [
"MIT"
] | null | null | null | data/021-rresv_service.sql | cicorias/njit-dbms-final | fec77a0d5cfbcd72489a01bdea73400a9abb544a | [
"MIT"
] | 16 | 2020-11-05T02:21:43.000Z | 2020-12-03T02:07:48.000Z | data/021-rresv_service.sql | cicorias/njit-dbms-final | fec77a0d5cfbcd72489a01bdea73400a9abb544a | [
"MIT"
] | null | null | null | INSERT INTO rresv_service (sprice,rr_id,sid) VALUES
(2.0,1,1),
(20.0,2,1),
(40.0,3,3),
(11.0,3,4),
(99.0,3,5),
(40.0,4,3),
(11.0,4,4),
(99.0,4,5); | 18 | 51 | 0.506173 |
dd7d2c380795f343078a0cc81d743a15f6531724 | 722 | go | Go | heatmap.go | chrismccluskey/rf-heatmap | d4d64044e36cfb1ea4b20845506355ca1e04e11b | [
"MIT"
] | 1 | 2019-08-07T16:08:31.000Z | 2019-08-07T16:08:31.000Z | heatmap.go | chrismccluskey/rf-heatmap | d4d64044e36cfb1ea4b20845506355ca1e04e11b | [
"MIT"
] | null | null | null | heatmap.go | chrismccluskey/rf-heatmap | d4d64044e36cfb1ea4b20845506355ca1e04e11b | [
"MIT"
] | null | null | null | package main
import (
// "fmt"
"image"
"image/color"
"image/png"
"os"
)
type heatmap struct {
data_set DataSet
config Config
}
func (h *heatmap) draw() {
var img = image.NewRGBA(image.Rect(0, 0, int(h.data_set.hz_width), h.data_set.rows))
var col color.Color
// draw
x := -1
y := -1
for _, reading := ran... | 16.409091 | 85 | 0.613573 |
a5df8570f276a42683ed72cd502b62dbdd5bc3bf | 9,679 | sql | SQL | src/main/resources/sql/init.sql | xiaoxiao-xx/Iwater | 19a625bc0c27c6ad086e3d6b34cbd04529c0bb0a | [
"MIT"
] | 2 | 2019-11-22T06:29:53.000Z | 2020-01-22T02:50:18.000Z | src/main/resources/sql/init.sql | xiaoxiao-xx/Iwater | 19a625bc0c27c6ad086e3d6b34cbd04529c0bb0a | [
"MIT"
] | 1 | 2022-03-31T21:01:16.000Z | 2022-03-31T21:01:16.000Z | src/main/resources/sql/init.sql | xiaoxiao-xx/Iwater | 19a625bc0c27c6ad086e3d6b34cbd04529c0bb0a | [
"MIT"
] | null | null | null | /*
Navicat Premium Data Transfer
Source Server : xiaoxiao
Source Server Type : MySQL
Source Server Version : 50725
Source Host : localhost:3306
Source Schema : iwater
Target Server Type : MySQL
Target Server Version : 50725
File Encoding : 65001
Date: 22/11/2019 14:2... | 50.411458 | 214 | 0.675276 |
58412ea0a3fc23e0c4ddd1016bfbf0cafc836a39 | 801 | c | C | src/mc_build/mc_build_json_generated.c | campbellhome/mc_common | 71d388c28995c8e0f7d9b4d4a780f5fb820ff7dd | [
"MIT"
] | null | null | null | src/mc_build/mc_build_json_generated.c | campbellhome/mc_common | 71d388c28995c8e0f7d9b4d4a780f5fb820ff7dd | [
"MIT"
] | null | null | null | src/mc_build/mc_build_json_generated.c | campbellhome/mc_common | 71d388c28995c8e0f7d9b4d4a780f5fb820ff7dd | [
"MIT"
] | null | null | null | // Copyright (c) 2012-2019 Matt Campbell
// MIT license (see License.txt)
// AUTOGENERATED FILE - DO NOT EDIT
// clang-format off
#include "mc_build/mc_build_json_generated.h"
#include "bb_array.h"
#include "json_utils.h"
#include "va.h"
#include "mc_build/mc_build_commands.h"
#include "mc_build/mc_bui... | 28.607143 | 75 | 0.36829 |
1aeb989be88c6f5ecd26710b3900038ff35a0d26 | 402 | kt | Kotlin | src/kotlin/kt_101/Main_101.kt | iJKENNEDY/kotlin_code_101 | 08f08f782264b0f173eea4dc235aebe4492e4536 | [
"MIT"
] | null | null | null | src/kotlin/kt_101/Main_101.kt | iJKENNEDY/kotlin_code_101 | 08f08f782264b0f173eea4dc235aebe4492e4536 | [
"MIT"
] | null | null | null | src/kotlin/kt_101/Main_101.kt | iJKENNEDY/kotlin_code_101 | 08f08f782264b0f173eea4dc235aebe4492e4536 | [
"MIT"
] | null | null | null | package kt_101
import Basicos_222
fun main() {
val estrDatos = Estructuras_datos()
//estrDatos.sepPostNegat()
val lambdas111 = Lambdas_111()
// lambdas111.lambda_basico()
val addLambda = {a:Int, b:Int ->a+b}
//lambdas111.operateOnNumbers(5,10,operation = addLambda )
val basicos222 = Basi... | 22.333333 | 62 | 0.646766 |
9c4244bf354617d5de519c01606ec4e95a20f921 | 810 | js | JavaScript | app/containers/Charts/Line/index.js | hurrtz/covid19dashboard | df33276baae49b35e86cd381acf5e4d2eff700e3 | [
"MIT"
] | null | null | null | app/containers/Charts/Line/index.js | hurrtz/covid19dashboard | df33276baae49b35e86cd381acf5e4d2eff700e3 | [
"MIT"
] | 8 | 2020-03-26T23:47:45.000Z | 2021-09-03T00:53:41.000Z | app/containers/Charts/Line/index.js | hurrtz/covid19dashboard | df33276baae49b35e86cd381acf5e4d2eff700e3 | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { makeCountryDataForLineChart as makeData } from 'containers/HomePage/selectors';
import ChartLineComponent from 'components/Charts/Line';
const LineChart = (props) ... | 27.931034 | 88 | 0.7 |
ed3cb575592a45df52c53d8bdd7f445d08d0793c | 1,868 | lua | Lua | project/Resources/Lib/CCSceneEx.lua | pigpigyyy/Dorothy | 81dbf800d0e3b15c96d67e1fb72b88d3deae780f | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | 3 | 2020-01-29T02:22:14.000Z | 2022-03-03T08:13:45.000Z | project/Resources/Lib/CCSceneEx.lua | pigpigyyy/Dorothy | 81dbf800d0e3b15c96d67e1fb72b88d3deae780f | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | project/Resources/Lib/CCSceneEx.lua | pigpigyyy/Dorothy | 81dbf800d0e3b15c96d67e1fb72b88d3deae780f | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | 1 | 2021-05-20T09:04:32.000Z | 2021-05-20T09:04:32.000Z | --[[
CCScene:transition("cf",{"crossFade",1,CCOrientation.Left})
CCScene:add("firstScene",CCScene())
CCScene:run("firstScene","fadeIn")
CCScene:forward("firstScene","cf")
CCScene:back("crossFade")
CCScene:clearHistory()
--]]
local CCScene = require("CCScene")
local CCDirector = require("CCDirector")
local s... | 20.988764 | 60 | 0.706638 |
9cf5ea645ca452c420e8cb46b2c890a94f490ef0 | 84 | sql | SQL | src/basic_select/weather_observation_station_10.sql | djeada/Sql-HackerRank | 3c96cdf4fe43db438f67fd53f121c79668a12ea2 | [
"MIT"
] | null | null | null | src/basic_select/weather_observation_station_10.sql | djeada/Sql-HackerRank | 3c96cdf4fe43db438f67fd53f121c79668a12ea2 | [
"MIT"
] | null | null | null | src/basic_select/weather_observation_station_10.sql | djeada/Sql-HackerRank | 3c96cdf4fe43db438f67fd53f121c79668a12ea2 | [
"MIT"
] | null | null | null | SELECT
DISTINCT CITY
FROM
STATION
WHERE
REGEXP_LIKE(CITY, '[^AEIOU]$');
| 10.5 | 33 | 0.642857 |
184bd10042f105fa2605ff557487bcbea6c7211e | 2,484 | css | CSS | css/vog.css | Efrgds/2 | e20fad299ef7adcc88bd1974f3ee6efa8663a500 | [
"MIT"
] | null | null | null | css/vog.css | Efrgds/2 | e20fad299ef7adcc88bd1974f3ee6efa8663a500 | [
"MIT"
] | null | null | null | css/vog.css | Efrgds/2 | e20fad299ef7adcc88bd1974f3ee6efa8663a500 | [
"MIT"
] | null | null | null | body {
font-family: sans-serif;
}
.header nav{
position: fixed;
top: 0;
left: 0;
width: 100%;
background: rgba(0,0,0,.50);
box-shadow: 0 3px 10px -2px rgba(0,0,0,.1);
border: 1px solid rgba(0,0,0,.1);
}
.header nav ul{
list-style: none;
position: relative;
float... | 23.214953 | 56 | 0.514895 |
e9025dbbce4fe091f5d3b603898ea3d6a12ac001 | 98 | sql | SQL | layouts/db/mysql/schema/2016-02-09_15-34-14_layer_cluster_maxdistance.sql | tewksbg/kvwmap-en | 92d232f70c438c5a1b9c18ef06b65382716bdc7b | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | layouts/db/mysql/schema/2016-02-09_15-34-14_layer_cluster_maxdistance.sql | tewksbg/kvwmap-en | 92d232f70c438c5a1b9c18ef06b65382716bdc7b | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | layouts/db/mysql/schema/2016-02-09_15-34-14_layer_cluster_maxdistance.sql | tewksbg/kvwmap-en | 92d232f70c438c5a1b9c18ef06b65382716bdc7b | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | BEGIN;
ALTER TABLE `layer` ADD `cluster_maxdistance` INT( 11 ) NULL AFTER `filteritem`;
COMMIT;
| 16.333333 | 80 | 0.734694 |
11e72c1e5a3ce04a3ebc71ea0faac4ece61646c0 | 5,151 | html | HTML | source/app/main/views/New folder/offer.html | realsungroup/KingofOffer | 799e6b9ccc6b2d0be18e6efaaf16a880b8633394 | [
"MIT"
] | null | null | null | source/app/main/views/New folder/offer.html | realsungroup/KingofOffer | 799e6b9ccc6b2d0be18e6efaaf16a880b8633394 | [
"MIT"
] | null | null | null | source/app/main/views/New folder/offer.html | realsungroup/KingofOffer | 799e6b9ccc6b2d0be18e6efaaf16a880b8633394 | [
"MIT"
] | null | null | null | <form id="form1" class="opp">
<table align="center">
<!--border='1'cellspacing="0" cellpadding="0"-->
<input type="button" value="New Offer Proposal" class="btn btn-success mtaii fbb" onclick= "newOp()">
<thead>
<tr>
<th colspan="8">
<input ... | 48.59434 | 192 | 0.465541 |
b6d51658f20fcbb5a7f239bd7ad346e5a542c5af | 691 | asm | Assembly | oeis/092/A092985.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/092/A092985.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/092/A092985.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A092985: a(n) is the product of first n terms of an arithmetic progression with the first term 1 and common difference n.
; 1,1,3,28,585,22176,1339975,118514880,14454403425,2326680294400,478015854767451,122087424094272000,37947924636264267625,14105590169042424729600,6178966019176767549393375,3150334059785191453342744... | 53.153846 | 481 | 0.861071 |
94832f1b10f2331c6e953131dcab43ab874ba815 | 10,699 | kt | Kotlin | src/main/kotlin/net/inherency/finances/domain/reconcile/rule/BudgetCategoryRuleService.kt | scottygaydos/finances | 825dd8a5e36ce88b45aa3585871faee8734ae750 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/net/inherency/finances/domain/reconcile/rule/BudgetCategoryRuleService.kt | scottygaydos/finances | 825dd8a5e36ce88b45aa3585871faee8734ae750 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/net/inherency/finances/domain/reconcile/rule/BudgetCategoryRuleService.kt | scottygaydos/finances | 825dd8a5e36ce88b45aa3585871faee8734ae750 | [
"Apache-2.0"
] | null | null | null | package net.inherency.finances.domain.reconcile.rule
import me.xdrop.fuzzywuzzy.FuzzySearch
import net.inherency.finances.domain.account.Account
import net.inherency.finances.domain.account.AccountService
import net.inherency.finances.domain.account.AccountService.Companion.GLOBAL_EXTERNAL_DEBIT_ACCOUNT_NAME
import ne... | 47.977578 | 147 | 0.656884 |
86cb2f3827df188e00e7abd1b0d34d1cb06d573e | 4,907 | rs | Rust | amethyst_assets/src/prefab/system.rs | Techno-coder/amethyst | 4d1067cf500b823c8b72ad265ff57fd445dcfad6 | [
"MIT"
] | null | null | null | amethyst_assets/src/prefab/system.rs | Techno-coder/amethyst | 4d1067cf500b823c8b72ad265ff57fd445dcfad6 | [
"MIT"
] | null | null | null | amethyst_assets/src/prefab/system.rs | Techno-coder/amethyst | 4d1067cf500b823c8b72ad265ff57fd445dcfad6 | [
"MIT"
] | null | null | null | use std::{marker::PhantomData, ops::Deref};
use amethyst_core::{
specs::{
BitSet, Entities, Entity, InsertedFlag, Join, Read, ReadExpect, ReadStorage, ReaderId,
Resources, System, Write, WriteStorage,
},
ArcThreadPool, Parent, Time,
};
use {AssetStorage, Completion, Handle, HotReloadStrate... | 33.841379 | 99 | 0.481557 |
2a12b5d6c63c95ec169a271f8f57167667a87d1d | 70 | html | HTML | examples/browser/index.html | ssbc/ssb-tunnel | 184c94b324b3ae6ace35f95d385d711741d7e631 | [
"MIT"
] | 13 | 2019-01-29T07:33:57.000Z | 2022-03-19T06:01:08.000Z | examples/browser/index.html | dominictarr/ssb-tunnel | 184c94b324b3ae6ace35f95d385d711741d7e631 | [
"MIT"
] | 10 | 2019-05-14T19:31:34.000Z | 2019-12-05T20:13:01.000Z | examples/browser/index.html | dominictarr/ssb-tunnel | 184c94b324b3ae6ace35f95d385d711741d7e631 | [
"MIT"
] | 2 | 2018-07-17T08:53:37.000Z | 2018-07-24T10:59:23.000Z | <html>
<script>
</script>
<script src=./bundle.js></script>
</html>
| 8.75 | 33 | 0.614286 |
0ceb15471ca6941f1a3c2803a1bcd3575ac7f39e | 5,306 | py | Python | PyPowerStore/utils/helpers.py | dell/python-powerstore | 04d6d73e4c926cf0d347cf68b24f8f11ff80f565 | [
"Apache-2.0"
] | 15 | 2020-05-06T23:46:44.000Z | 2021-12-14T08:04:48.000Z | PyPowerStore/utils/helpers.py | dell/python-powerstore | 04d6d73e4c926cf0d347cf68b24f8f11ff80f565 | [
"Apache-2.0"
] | 2 | 2020-06-09T15:19:25.000Z | 2020-08-18T18:58:59.000Z | PyPowerStore/utils/helpers.py | dell/python-powerstore | 04d6d73e4c926cf0d347cf68b24f8f11ff80f565 | [
"Apache-2.0"
] | 5 | 2020-05-06T23:46:22.000Z | 2021-05-08T03:03:07.000Z | # -*- coding: utf-8 -*-
# Copyright: (c) 2019-2021, Dell EMC
"""Helper module for PowerStore"""
import logging
from pkg_resources import parse_version
provisioning_obj = None
def set_provisioning_obj(val):
global provisioning_obj
provisioning_obj = val
def prepare_querystring(*query_arguments, **kw_query_... | 35.373333 | 78 | 0.602714 |
15b5932cc63989c32839a93b49e61e708d29120f | 326 | rb | Ruby | app/mailers/spree/abandoned_cart_mailer.rb | reertech/spree_abandoned_carts | 3de04f689ede384c09a8e1efb15e0d0dd8cd6be8 | [
"BSD-3-Clause"
] | 1 | 2021-11-29T17:07:49.000Z | 2021-11-29T17:07:49.000Z | app/mailers/spree/abandoned_cart_mailer.rb | reertech/spree_abandoned_carts | 3de04f689ede384c09a8e1efb15e0d0dd8cd6be8 | [
"BSD-3-Clause"
] | null | null | null | app/mailers/spree/abandoned_cart_mailer.rb | reertech/spree_abandoned_carts | 3de04f689ede384c09a8e1efb15e0d0dd8cd6be8 | [
"BSD-3-Clause"
] | 1 | 2020-07-03T03:26:04.000Z | 2020-07-03T03:26:04.000Z | module Spree
class AbandonedCartMailer < BaseMailer
def abandoned_cart_email(order)
if order.email.present?
@order = order
subject = "#{Spree::Store.current.name} - #{Spree.t(:abandoned_cart_subject)}"
mail(to: order.email, from: from_address, subject: subject)
end
end
en... | 27.166667 | 86 | 0.662577 |
228376cc1453516a3a4eb1c4ee27cfa9aa4d80ae | 1,125 | html | HTML | layouts/index.html | tsingson/tsinghugo | 772d33d9d4f116febceedaf59570b0dba4c5e14a | [
"MIT"
] | null | null | null | layouts/index.html | tsingson/tsinghugo | 772d33d9d4f116febceedaf59570b0dba4c5e14a | [
"MIT"
] | null | null | null | layouts/index.html | tsingson/tsinghugo | 772d33d9d4f116febceedaf59570b0dba4c5e14a | [
"MIT"
] | null | null | null | {{ define "header" }}
{{ partial "site-navbar.html" . }}
{{ partial "homepage-header.html" . }}
{{ end }}
{{ define "main" }}
<!-- Main layout -->
<div class="container-fluid">
<div class="row">
<!-- Sidebar -->
<div class="col-12 col-md-3 col-lg-3 col-xl-2 bg-white">
<!-- <hr> -->
... | 31.25 | 95 | 0.462222 |
160da5377f5b352a6f1eecaecb29030c4defff33 | 1,228 | h | C | GeneratedModels/MSGraphConsentRequestFilterByCurrentUserOptions.h | phil1995/msgraph-sdk-objc-models | 383c764009fcaf29dfdc07e7feaa59ab67b42876 | [
"MIT"
] | 11 | 2019-02-13T08:21:45.000Z | 2021-11-14T15:45:25.000Z | GeneratedModels/MSGraphConsentRequestFilterByCurrentUserOptions.h | phil1995/msgraph-sdk-objc-models | 383c764009fcaf29dfdc07e7feaa59ab67b42876 | [
"MIT"
] | 40 | 2019-09-10T23:25:31.000Z | 2021-09-17T19:50:38.000Z | GeneratedModels/MSGraphConsentRequestFilterByCurrentUserOptions.h | phil1995/msgraph-sdk-objc-models | 383c764009fcaf29dfdc07e7feaa59ab67b42876 | [
"MIT"
] | 7 | 2019-02-13T08:21:46.000Z | 2021-10-10T09:41:03.000Z | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
#include <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, MSGraphConsentRequestFilterByCurrentUserOptionsValue){
MSGraphConsentRequestFilterByCurrentUserOpti... | 36.117647 | 164 | 0.874593 |
27cdc09af93db0427eb9d014fdf5ca73d00dcd12 | 15,097 | css | CSS | oort/server/app/static/css/main.css | arcsecond-io/oort | 9a0ffe5b45e3fced7e240b25738e6f11e00f6ce7 | [
"MIT"
] | 2 | 2020-01-22T20:34:45.000Z | 2020-02-04T21:02:14.000Z | oort/server/app/static/css/main.css | arcsecond-io/oort | 9a0ffe5b45e3fced7e240b25738e6f11e00f6ce7 | [
"MIT"
] | 10 | 2020-04-03T12:27:06.000Z | 2022-02-22T08:42:17.000Z | oort/server/app/static/css/main.css | arcsecond-io/oort | 9a0ffe5b45e3fced7e240b25738e6f11e00f6ce7 | [
"MIT"
] | null | null | null | @font-face {
font-family: 'DS-Digital';
src: url('../fonts/DS-DIGI.ttf') format('ttf');
font-weight: normal;
font-style: normal;
}
html {
overflow-y: hidden;
}
.page {
margin-top: 40px;
height: 100%;
}
.page-content {
height: calc(100% - 40px);
}
.page-full {
height: 100%;
overflow: hidden;
}
.... | 17.11678 | 71 | 0.650394 |
bee9569e522d5a867b980bb0749d9bc50e0437e9 | 263 | kt | Kotlin | app/src/main/java/com/yogeshpaliyal/keypass/listener/UniversalClickListener.kt | eldad/KeyPass | 879a01a3e71069817a79e11015f13ae0d2f6bc33 | [
"MIT"
] | 88 | 2021-03-01T13:34:20.000Z | 2022-03-30T10:22:02.000Z | app/src/main/java/com/yogeshpaliyal/keypass/listener/UniversalClickListener.kt | eldad/KeyPass | 879a01a3e71069817a79e11015f13ae0d2f6bc33 | [
"MIT"
] | 39 | 2021-03-02T03:36:10.000Z | 2022-03-29T15:02:26.000Z | app/src/main/java/com/yogeshpaliyal/keypass/listener/UniversalClickListener.kt | eldad/KeyPass | 879a01a3e71069817a79e11015f13ae0d2f6bc33 | [
"MIT"
] | 14 | 2021-07-05T06:59:54.000Z | 2022-03-16T09:33:22.000Z | package com.yogeshpaliyal.keypass.listener
import android.view.View
/*
* @author Yogesh Paliyal
* techpaliyal@gmail.com
* https://techpaliyal.com
* created on 31-01-2021 09:00
*/
interface UniversalClickListener<T> {
fun onItemClick(view: View, model: T)
}
| 18.785714 | 42 | 0.749049 |
d06864a7e5dbcd876088ea5e16c0666638542d78 | 650 | swift | Swift | NewsAppSwiftMVVM/NewsAppSwiftMVVM/EntryViewController.swift | tjnet/NewsAppSwiftMVVM | 49420cce245fc6d1755bd0a3e12872981945c14d | [
"MIT"
] | 15 | 2016-06-06T09:35:13.000Z | 2021-11-26T21:15:07.000Z | NewsAppSwiftMVVM/NewsAppSwiftMVVM/EntryViewController.swift | masakiki-take/NewsAppSwiftMVVM | 49420cce245fc6d1755bd0a3e12872981945c14d | [
"MIT"
] | 10 | 2016-02-29T14:01:51.000Z | 2016-09-24T05:19:03.000Z | NewsAppSwiftMVVM/NewsAppSwiftMVVM/EntryViewController.swift | masakiki-take/NewsAppSwiftMVVM | 49420cce245fc6d1755bd0a3e12872981945c14d | [
"MIT"
] | 3 | 2016-07-08T04:34:34.000Z | 2019-02-05T00:58:36.000Z | //
// File.swift
// NewsAppSwiftMVVM
//
// Created by TanakaJun on 2016/09/22.
// Copyright © 2016年 edu.self. All rights reserved.
//
import UIKit
class EntryViewController: UIViewController, UIWebViewDelegate {
lazy var url: NSURL = NSURL()
@IBOutlet weak var contentWeb: UIWebView!
ove... | 19.69697 | 64 | 0.615385 |
d001592636cd34479d34aee88de56da602db1ba3 | 41 | rb | Ruby | lib/regex_sieve/version.rb | gnilrets/regex_sieve | 4d1610a89636f734cb50081dcd5328a31d49256b | [
"MIT"
] | null | null | null | lib/regex_sieve/version.rb | gnilrets/regex_sieve | 4d1610a89636f734cb50081dcd5328a31d49256b | [
"MIT"
] | null | null | null | lib/regex_sieve/version.rb | gnilrets/regex_sieve | 4d1610a89636f734cb50081dcd5328a31d49256b | [
"MIT"
] | null | null | null | class RegexSieve
VERSION = '0.1.0'
end
| 10.25 | 19 | 0.682927 |
2a205fb421a74f835ad463178de2f1da504b4ae9 | 1,008 | html | HTML | es6_aPartOfImpoertantTechnology/destructuringTest.html | hsj-xiaokang/react_study-demo | fbb87ba6c0d363ff94c8d4b2d9ad6f3c56d51505 | [
"Apache-2.0"
] | null | null | null | es6_aPartOfImpoertantTechnology/destructuringTest.html | hsj-xiaokang/react_study-demo | fbb87ba6c0d363ff94c8d4b2d9ad6f3c56d51505 | [
"Apache-2.0"
] | null | null | null | es6_aPartOfImpoertantTechnology/destructuringTest.html | hsj-xiaokang/react_study-demo | fbb87ba6c0d363ff94c8d4b2d9ad6f3c56d51505 | [
"Apache-2.0"
] | null | null | null | <!--destructuring->es6新特性之结构语法
@author heshengjin qq:2356899074-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>destructuring->es6新特性之结构语法</title>
</head>
<body>
<script type="text/javascript">
//这里win在window上面,下面的<script type="text/javascript">可以拿到
var win = "win";
... | 21.913043 | 62 | 0.510913 |
0241dac1277c9b93cb329a25e5931d78270c35e5 | 5,487 | swift | Swift | Decred Wallet/Features/History/TransactionTableViewCell.swift | itswisdomagain/dcrios | 90f3e8594e48b9230500cc18229ceb5283dd534a | [
"ISC"
] | null | null | null | Decred Wallet/Features/History/TransactionTableViewCell.swift | itswisdomagain/dcrios | 90f3e8594e48b9230500cc18229ceb5283dd534a | [
"ISC"
] | 4 | 2019-05-23T15:05:21.000Z | 2019-09-02T15:27:16.000Z | Decred Wallet/Features/History/TransactionTableViewCell.swift | itswisdomagain/dcrios | 90f3e8594e48b9230500cc18229ceb5283dd534a | [
"ISC"
] | null | null | null | //
// TransactionTableViewCell.swift
// Decred Wallet
//
// Copyright (c) 2018-2019 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
import Foundation
import UIKit
class TransactionTableViewCell: BaseTableViewCell {
@IBOutlet weak var ... | 49.881818 | 164 | 0.58994 |
e2dd31a9057c081b1587baf21e3fb82d03abb12e | 709 | lua | Lua | lfframework/framework/env/convert/from_human.lua | ddouglascarr/rooset | f127cf32f560d1e31e8eaa7f712a119255fa6f8a | [
"MIT"
] | 3 | 2017-02-06T00:44:45.000Z | 2020-01-12T02:58:08.000Z | lfframework/framework/env/convert/from_human.lua | ddouglascarr/rooset | f127cf32f560d1e31e8eaa7f712a119255fa6f8a | [
"MIT"
] | 37 | 2017-01-26T09:28:05.000Z | 2022-02-26T22:19:48.000Z | lfframework/framework/env/convert/from_human.lua | ddouglascarr/rooset | f127cf32f560d1e31e8eaa7f712a119255fa6f8a | [
"MIT"
] | null | null | null | function convert.from_human(str, typ)
if not typ then
error("Using convert.from_human(...) to convert a human readable string to an internal data type needs a type to be specified as second parameter.")
end
if not str then return nil end -- TODO: decide, if an error should be raised instead
local type_symb... | 47.266667 | 152 | 0.750353 |
cb9ce067d81bf6c8c99fc622bada4bee0058280a | 820 | swift | Swift | Sources/AuthUser/AuthUserSupporting.swift | m-housh/auth-user | c5224a632c2a13df0a0d289302aca20077e8a295 | [
"MIT"
] | null | null | null | Sources/AuthUser/AuthUserSupporting.swift | m-housh/auth-user | c5224a632c2a13df0a0d289302aca20077e8a295 | [
"MIT"
] | null | null | null | Sources/AuthUser/AuthUserSupporting.swift | m-housh/auth-user | c5224a632c2a13df0a0d289302aca20077e8a295 | [
"MIT"
] | null | null | null | //
// AuthUserSupporting.swift
// AuthUser
//
// Created by Michael Housh on 8/10/18.
//
import Vapor
import Authentication
import Fluent
public protocol AuthUserSupporting: Model, Parameter, Content, PasswordAuthenticatable, SessionAuthenticatable {
var id: UUID? { get set }
var username: String { g... | 24.117647 | 112 | 0.692683 |
99446ca746ba9a2679d9507530c33a5ecc3a2c98 | 5,827 | h | C | platform/mcu/haas1000/drivers/services/bt_if_enhanced/inc/avdtp_api.h | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 1 | 2021-04-09T03:18:41.000Z | 2021-04-09T03:18:41.000Z | platform/mcu/haas1000/drivers/services/bt_if_enhanced/inc/avdtp_api.h | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | null | null | null | platform/mcu/haas1000/drivers/services/bt_if_enhanced/inc/avdtp_api.h | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 1 | 2021-06-20T06:43:12.000Z | 2021-06-20T06:43:12.000Z | /*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#ifndef _AVDTP_API_H
#define _AVDTP_API_H
#include "stdint.h"
#include "bluetooth.h"
/* Signal Commands */
#define BTIF_AVDTP_SIG_DISCOVER 0x01
#define BTIF_AVDTP_SIG_GET_CAPABILITIES 0x02
#define BTIF_AVDTP_SIG_SET_CONFIG 0x03
... | 27.485849 | 91 | 0.747211 |
d5ca7b46b02223ed21d65698a349ee3bee2e465b | 170 | h | C | examples/KPRCA_00003/src/dct.h | li-xin-yi/cgc-cbs | eda14dc564ab0e57b44dfcd38a77d95086fee96f | [
"MIT"
] | 5 | 2019-06-11T13:06:42.000Z | 2022-02-21T15:37:22.000Z | examples/KPRCA_00003/src/dct.h | li-xin-yi/cgc-cbs | eda14dc564ab0e57b44dfcd38a77d95086fee96f | [
"MIT"
] | 1 | 2021-11-20T03:46:09.000Z | 2021-11-22T16:42:52.000Z | examples/KPRCA_00003/src/dct.h | li-xin-yi/cgc-cbs | eda14dc564ab0e57b44dfcd38a77d95086fee96f | [
"MIT"
] | 2 | 2020-11-06T23:16:00.000Z | 2022-02-20T01:12:40.000Z | #include <stdint.h>
void dct(const int8_t input[], int16_t output[], const uint8_t scaler[]);
void idct(const int16_t input[], int8_t output[], const uint8_t scaler[]);
| 34 | 74 | 0.723529 |
7a350c07bb9816c4298cb5f44322428a0ae8094e | 392 | rb | Ruby | app/models/category.rb | jaspreet-singh-sahota/dev-blog | a16acd6c9689ff47e1aefeff94ff8cd623a6cd02 | [
"MIT"
] | 9 | 2020-06-18T17:56:42.000Z | 2020-11-20T04:59:16.000Z | app/models/category.rb | jaspreet-singh-sahota/dev-blog | a16acd6c9689ff47e1aefeff94ff8cd623a6cd02 | [
"MIT"
] | 8 | 2021-03-10T22:09:49.000Z | 2022-03-31T01:28:38.000Z | app/models/category.rb | jaspreet-singh-sahota/dev-blog | a16acd6c9689ff47e1aefeff94ff8cd623a6cd02 | [
"MIT"
] | 1 | 2020-11-04T03:19:10.000Z | 2020-11-04T03:19:10.000Z | class Category < ApplicationRecord
has_many :article_categories
has_many :articles, through: :article_categories
has_many :ordered_by_most_recent, -> { order(created_at: :desc).includes(:votes) },
through: :article_categories, source: :article
validates :name, presence: true,
uniqu... | 39.2 | 85 | 0.668367 |
a837de479e223b3cd4a565b33677bec9026cbf36 | 787 | rs | Rust | src/utils.rs | zutils/create-protocols-plugin | 048f49bd9651750a5139054debbf68a98aa029d9 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/utils.rs | zutils/create-protocols-plugin | 048f49bd9651750a5139054debbf68a98aa029d9 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/utils.rs | zutils/create-protocols-plugin | 048f49bd9651750a5139054debbf68a98aa029d9 | [
"Apache-2.0",
"MIT"
] | null | null | null | extern crate failure;
use std::path::PathBuf;
use failure::Error;
pub fn sleep_ms(ms: u64) {
use std::{thread, time};
let time = time::Duration::from_millis(ms);
thread::sleep(time);
}
pub fn append_to_file(new_file: &PathBuf, contents: &str) -> Result<(), Error> {
use std::fs::OpenOptions;
use ... | 24.59375 | 80 | 0.559085 |
2ebd57a2a7742a62edd98aaad9ebdb092b7f1ee1 | 34 | lua | Lua | openresty/lua/hello.lua | zhixin9001/2021_Nginx | ac033a005b4786c6bb34cd4dae14dfad798c131f | [
"Apache-2.0"
] | null | null | null | openresty/lua/hello.lua | zhixin9001/2021_Nginx | ac033a005b4786c6bb34cd4dae14dfad798c131f | [
"Apache-2.0"
] | null | null | null | openresty/lua/hello.lua | zhixin9001/2021_Nginx | ac033a005b4786c6bb34cd4dae14dfad798c131f | [
"Apache-2.0"
] | null | null | null | ngx.say("<p>Hello, ngx_lua1!</p>") | 34 | 34 | 0.617647 |
c8ed539ddfb498c54fd97ce7184fadaf1afcf08c | 469 | asm | Assembly | mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/bright.asm | gb-archive/really-old-stuff | ffb39a518cad47e23353b3420b88e2f3521fd3d7 | [
"Apache-2.0"
] | 10 | 2016-10-27T20:46:02.000Z | 2021-11-01T15:49:13.000Z | mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/bright.asm | gb-archive/really-old-stuff | ffb39a518cad47e23353b3420b88e2f3521fd3d7 | [
"Apache-2.0"
] | null | null | null | mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/bright.asm | gb-archive/really-old-stuff | ffb39a518cad47e23353b3420b88e2f3521fd3d7 | [
"Apache-2.0"
] | 2 | 2015-03-11T14:28:08.000Z | 2017-11-02T10:57:57.000Z | ; Sets bright flag in ATTR_P permanently
; Parameter: Paper color in A register
#include once <const.asm>
BRIGHT:
ld de, ATTR_P
__SET_BRIGHT:
; Another entry. This will set the bright flag at location pointer by DE
and 1 ; # Convert to 0/1
rrca
rrca
ld b, a ; Saves the color
ld a, (de)
and 0BFh ; Clears pre... | 16.75 | 73 | 0.716418 |