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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9d199b0011771855cd69d876fc7807a16afd234c | 1,049 | html | HTML | site/layouts/partials/reader/main_how_it_works.html | larrylai0121/ponddy-website-ai | 5b08906e0dd7f55cc8e7a34f2c09af18ce5c7897 | [
"MIT"
] | 1 | 2018-12-19T08:14:03.000Z | 2018-12-19T08:14:03.000Z | site/layouts/partials/reader/main_how_it_works.html | larrylai0121/ponddy-website-ai | 5b08906e0dd7f55cc8e7a34f2c09af18ce5c7897 | [
"MIT"
] | null | null | null | site/layouts/partials/reader/main_how_it_works.html | larrylai0121/ponddy-website-ai | 5b08906e0dd7f55cc8e7a34f2c09af18ce5c7897 | [
"MIT"
] | 1 | 2019-01-19T06:40:09.000Z | 2019-01-19T06:40:09.000Z | <section class="content how-it-works">
<div class="container">
<div class="row product">
<div class="col-md-6 product-pictures no-gutters">
<img src="{{.show.mac_image | absURL }}" class="mac" id="mac">
<img src="{{.show.iphone_image | absURL }}" class="iPhone-Xs"... | 32.78125 | 78 | 0.391802 |
9bffe734cf6ccb66beb1bed9bae8dd667b117f22 | 3,731 | js | JavaScript | spec/jasmine/OwnerSpec.js | fossabot/thinx-device-api | d6ef10e7938039e3879b2fa87c2c05c51c7d17e3 | [
"MIT"
] | null | null | null | spec/jasmine/OwnerSpec.js | fossabot/thinx-device-api | d6ef10e7938039e3879b2fa87c2c05c51c7d17e3 | [
"MIT"
] | null | null | null | spec/jasmine/OwnerSpec.js | fossabot/thinx-device-api | d6ef10e7938039e3879b2fa87c2c05c51c7d17e3 | [
"MIT"
] | null | null | null | describe("Owner", function() {
var generated_key_hash = null;
var User = require('../../lib/thinx/owner');
var envi = require("./_envi.json");
var owner = envi.oid;
var avatar_image = envi.test_avatar;
var email = envi.email;
var test_info = envi.test_info;
var activation_key;
var reset_key;
// ... | 28.052632 | 79 | 0.600643 |
d5c3f62442802851e7a244d4f30ffd6178daa85c | 2,618 | c | C | server/src/services/pathogenomics/src/files_metadata.c | TGAC/grassroots-api | 9692dcb428fc7a2a93b22a8510abff05deda1234 | [
"Apache-2.0"
] | 2 | 2017-12-30T14:39:48.000Z | 2019-11-20T23:49:38.000Z | server/src/services/pathogenomics/src/files_metadata.c | TGAC/grassroots-api | 9692dcb428fc7a2a93b22a8510abff05deda1234 | [
"Apache-2.0"
] | null | null | null | server/src/services/pathogenomics/src/files_metadata.c | TGAC/grassroots-api | 9692dcb428fc7a2a93b22a8510abff05deda1234 | [
"Apache-2.0"
] | null | null | null | /*
** Copyright 2014-2016 The Earlham Institute
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable... | 25.920792 | 102 | 0.60084 |
c07d45d6f80667cedbb846720c0824bb96b80062 | 1,415 | html | HTML | _legacy/tools/0.3.0/src/test/resources/cpptest/input/gendoc/CODSTA-CPP-36.html | cittools/checking-rules-extractor | 4c40b856ce8bb0a8e2fa862a0ba2f6c85f851a57 | [
"MIT"
] | null | null | null | _legacy/tools/0.3.0/src/test/resources/cpptest/input/gendoc/CODSTA-CPP-36.html | cittools/checking-rules-extractor | 4c40b856ce8bb0a8e2fa862a0ba2f6c85f851a57 | [
"MIT"
] | null | null | null | _legacy/tools/0.3.0/src/test/resources/cpptest/input/gendoc/CODSTA-CPP-36.html | cittools/checking-rules-extractor | 4c40b856ce8bb0a8e2fa862a0ba2f6c85f851a57 | [
"MIT"
] | null | null | null | <HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<LINK REL="stylesheet" HREF="book.css" TYPE="text/css">
<TITLE>
Avoid using global variables, global functions, and class in file outside namespaces
</TITLE>
</HEAD>
<BODY BGCOLOR=#FFFFFF>
<STRONG>
Avoid using global variables, global func... | 15.898876 | 102 | 0.657244 |
fbb483cfb58e821bc01c4423c6cb3f64b88c6298 | 4,305 | sql | SQL | mysql-pawolanmwen_alwaysdata_net.sql | BettaSplendid/Neo_Noodcat | 849e1f938ad5a1af2f177da618f84f4e6136cdff | [
"MIT"
] | null | null | null | mysql-pawolanmwen_alwaysdata_net.sql | BettaSplendid/Neo_Noodcat | 849e1f938ad5a1af2f177da618f84f4e6136cdff | [
"MIT"
] | null | null | null | mysql-pawolanmwen_alwaysdata_net.sql | BettaSplendid/Neo_Noodcat | 849e1f938ad5a1af2f177da618f84f4e6136cdff | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: mysql-pawolanmwen.alwaysdata.net
-- Generation Time: Feb 04, 2022 at 10:39 AM
-- Server version: 10.4.22-MariaDB
-- PHP Version: 7.4.19
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET ... | 24.460227 | 105 | 0.66597 |
40c6a6caf1d9d769d9189ccc84e3cfc6cc94ff3c | 103 | sql | SQL | migrations/1615409192551_alter_small_group_mentors_users_foreign_key/down.sql | rcos/rcos-ap | 5ea4072f0593fe034a90fdc44baae22ae94863e6 | [
"MIT"
] | null | null | null | migrations/1615409192551_alter_small_group_mentors_users_foreign_key/down.sql | rcos/rcos-ap | 5ea4072f0593fe034a90fdc44baae22ae94863e6 | [
"MIT"
] | 2 | 2021-01-05T18:14:53.000Z | 2021-01-11T07:21:18.000Z | migrations/1615409192551_alter_small_group_mentors_users_foreign_key/down.sql | rcos/rcos-ap | 5ea4072f0593fe034a90fdc44baae22ae94863e6 | [
"MIT"
] | null | null | null | -- Drop user_id column from small_group_mentors.
ALTER TABLE small_group_mentors DROP COLUMN user_id;
| 25.75 | 52 | 0.834951 |
0b8f097eaf823137c79c39a4fcd3c6e49316ae19 | 8,456 | py | Python | src/sadie/renumbering/clients/g3.py | jwillis0720/pybody | 2d7c68650ac1ef5f3003ccb67171898eac1f63eb | [
"MIT"
] | null | null | null | src/sadie/renumbering/clients/g3.py | jwillis0720/pybody | 2d7c68650ac1ef5f3003ccb67171898eac1f63eb | [
"MIT"
] | null | null | null | src/sadie/renumbering/clients/g3.py | jwillis0720/pybody | 2d7c68650ac1ef5f3003ccb67171898eac1f63eb | [
"MIT"
] | null | null | null | from functools import lru_cache
from itertools import product
from pathlib import Path
from typing import Optional, List, Tuple
from pydantic import validate_arguments
import pyhmmer
import requests as r
from yarl import URL
from sadie.typing import Species, Chain, Source
class G3:
"""API Wrapper with OpenAPI f... | 33.555556 | 119 | 0.561968 |
bd3cf7545eeff5a2b64cbeba0e6971ebcf7758ee | 386 | rs | Rust | openraft/src/engine/mod.rs | datafuselabs/openraft | 3718311cecf9166afb6b846d9d85698ae365822d | [
"Apache-2.0",
"MIT"
] | 446 | 2021-12-29T06:28:40.000Z | 2022-03-31T12:21:12.000Z | openraft/src/engine/mod.rs | datafuselabs/openraft | 3718311cecf9166afb6b846d9d85698ae365822d | [
"Apache-2.0",
"MIT"
] | 135 | 2021-12-29T04:51:43.000Z | 2022-03-21T02:57:56.000Z | openraft/src/engine/mod.rs | datafuselabs/openraft | 3718311cecf9166afb6b846d9d85698ae365822d | [
"Apache-2.0",
"MIT"
] | 48 | 2021-12-29T19:08:39.000Z | 2022-03-28T06:05:03.000Z | mod command;
mod engine_impl;
mod log_id_list;
#[cfg(test)] mod elect_test;
#[cfg(test)] mod handle_vote_req_test;
#[cfg(test)] mod handle_vote_resp_test;
#[cfg(test)] mod initialize_test;
#[cfg(test)] mod log_id_list_test;
#[cfg(test)] mod purge_log_test;
#[cfg(test)] mod testing;
pub(crate) use command::Command;
pu... | 24.125 | 39 | 0.751295 |
90a8feec75fa8b831be4458a88c167175ba9e791 | 5,695 | py | Python | apps/netconfig/manager.py | eocho1105/developer-badge-2018-apps | dfc4cb8fd95c15328ff28684fdfc7057002430f8 | [
"Apache-2.0"
] | 9 | 2018-12-25T06:57:39.000Z | 2019-09-29T00:29:16.000Z | apps/netconfig/manager.py | eocho1105/developer-badge-2018-apps | dfc4cb8fd95c15328ff28684fdfc7057002430f8 | [
"Apache-2.0"
] | 1 | 2019-04-11T07:23:04.000Z | 2019-04-11T08:05:29.000Z | apps/netconfig/manager.py | eocho1105/developer-badge-2018-apps | dfc4cb8fd95c15328ff28684fdfc7057002430f8 | [
"Apache-2.0"
] | 9 | 2018-12-25T06:57:41.000Z | 2019-09-29T00:29:20.000Z | import machine
import network
import time
import ugfx
import util
from home.launcher import ButtonGroup, Button, Display
class ConfigManager(Display):
def __init__(self, parent=None):
self.parent = parent
super().__init__()
def reload(self):
if self.parent:
self.parent... | 30.61828 | 113 | 0.581914 |
b6547d823a4623674b8a149e48c214dea25c006a | 772 | rb | Ruby | spec/grpc_mock_spec.rb | eisuke/grpc_mock | b2a5bd1868c0df18ad3e4dc537a4b5db58df5a8b | [
"MIT"
] | null | null | null | spec/grpc_mock_spec.rb | eisuke/grpc_mock | b2a5bd1868c0df18ad3e4dc537a4b5db58df5a8b | [
"MIT"
] | null | null | null | spec/grpc_mock_spec.rb | eisuke/grpc_mock | b2a5bd1868c0df18ad3e4dc537a4b5db58df5a8b | [
"MIT"
] | null | null | null | require 'examples/hello/hello_client'
RSpec.describe GrpcMock do
describe '.enable!' do
let(:client) do
HelloClient.new
end
before do
described_class.disable_net_connect!
described_class.enable!
end
it { expect { client.send_message('hello!') } .to raise_error(GrpcMock::NetCon... | 23.393939 | 108 | 0.654145 |
90df72772a6b330fe80dd309ac7a128cbf3a93a6 | 12,901 | py | Python | optimal_stopping/run/run_algo.py | AYUSH-ISHAN/OptStopRandNN | 8c02d2d1971e8a6e13dbc2cf008c33fe7cca49ed | [
"MIT"
] | 9 | 2021-04-30T10:08:53.000Z | 2022-03-26T18:08:59.000Z | optimal_stopping/run/run_algo.py | AYUSH-ISHAN/OptStopRandNN | 8c02d2d1971e8a6e13dbc2cf008c33fe7cca49ed | [
"MIT"
] | null | null | null | optimal_stopping/run/run_algo.py | AYUSH-ISHAN/OptStopRandNN | 8c02d2d1971e8a6e13dbc2cf008c33fe7cca49ed | [
"MIT"
] | 4 | 2021-09-28T09:10:16.000Z | 2022-03-13T12:50:17.000Z | # Lint as: python3
"""
Main module to run the algorithms.
"""
import os
import atexit
import csv
import itertools
import multiprocessing
import socket
import random
import time
import psutil
# absl needs to be upgraded to >= 0.10.0, otherwise joblib might not work
from absl import app
from absl import flags
import nu... | 35.442308 | 80 | 0.674211 |
becc5dc2c2130b0ed001068df686239c246c1ee2 | 188 | sql | SQL | DeleteOlddata.sql | mkaraki/CCS | 809994055ba411de3d8ce61b33c922ceda3b7021 | [
"Apache-2.0"
] | null | null | null | DeleteOlddata.sql | mkaraki/CCS | 809994055ba411de3d8ce61b33c922ceda3b7021 | [
"Apache-2.0"
] | null | null | null | DeleteOlddata.sql | mkaraki/CCS | 809994055ba411de3d8ce61b33c922ceda3b7021 | [
"Apache-2.0"
] | null | null | null | DELETE FROM ChatLog WHERE senttime < UNIX_TIMESTAMP() - 259200;
DELETE FROM Rooms WHERE lastjoin < UNIX_TIMESTAMP() - 604800;
DELETE FROM Users WHERE lastlogin < UNIX_TIMESTAMP() - 604800; | 62.666667 | 63 | 0.781915 |
75f3d2a03973059e0f931eea074d316497ebe746 | 7,321 | php | PHP | vufind/web/sys/MaterialsRequest/MaterialsRequest.php | MarmotLibraryNetwork/Pika | f6c03bf1025d0b1da63fcd1219829a34500357a7 | [
"Unlicense"
] | 5 | 2018-10-11T11:18:54.000Z | 2021-08-20T14:06:17.000Z | vufind/web/sys/MaterialsRequest/MaterialsRequest.php | MarmotLibraryNetwork/Pika | f6c03bf1025d0b1da63fcd1219829a34500357a7 | [
"Unlicense"
] | 9 | 2019-04-30T16:00:52.000Z | 2022-01-12T22:50:36.000Z | vufind/web/sys/MaterialsRequest/MaterialsRequest.php | MarmotLibraryNetwork/Pika | f6c03bf1025d0b1da63fcd1219829a34500357a7 | [
"Unlicense"
] | 4 | 2019-02-11T23:32:53.000Z | 2019-05-15T19:38:00.000Z | <?php
/**
* Copyright (C) 2020 Marmot Library Network
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This prog... | 32.829596 | 126 | 0.719574 |
b22ed2b92bf59799a82e5bc23fa18f9678a389e2 | 853 | sql | SQL | Sample/SQL Server 2016 Demo/16.Advanced Analytics/01.R スクリプトの実行.sql | MasayukiOzawa/SQLServer-Util | 7dd1f9ab411955b85026c78e6e901ea4c57788f8 | [
"MIT"
] | 64 | 2016-06-15T07:39:40.000Z | 2022-03-22T02:19:50.000Z | Sample/SQL Server 2016 Demo/16.Advanced Analytics/01.R スクリプトの実行.sql | MasayukiOzawa/SQLServer-Util | 7dd1f9ab411955b85026c78e6e901ea4c57788f8 | [
"MIT"
] | 1 | 2016-09-24T17:41:04.000Z | 2016-11-09T01:31:17.000Z | Sample/SQL Server 2016 Demo/16.Advanced Analytics/01.R スクリプトの実行.sql | MasayukiOzawa/SQLServer-Util | 7dd1f9ab411955b85026c78e6e901ea4c57788f8 | [
"MIT"
] | 20 | 2017-03-07T19:20:00.000Z | 2022-03-22T02:34:50.000Z | -- インスタンスインストール時にAdvanced Analytics Extensions をインストール
-- RRO-3.2.2-for-RRE-7.5.0-Windows.exe のインストール
-- Revolution-R-Enterprise-Node-SQL-7.5.0-Windows.exe のインストール
-- R スクリプト実行の有効化
EXEC sp_configure 'external scripts enabled', 1
RECONFIGURE
GO
-- "C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\R_SERVICES\... | 27.516129 | 129 | 0.737397 |
48cb5b235a754f7111f01fa2074ef491d9585db8 | 1,504 | lua | Lua | samples/projects/IsometricComposer/main.lua | jsykes/million-tile-engine | a23fc96b17c37e3991bed8e934e0ae1cc94df9aa | [
"MIT"
] | 12 | 2017-02-12T23:38:00.000Z | 2021-04-20T11:09:59.000Z | samples/projects/IsometricComposer/main.lua | jsykes/million-tile-engine | a23fc96b17c37e3991bed8e934e0ae1cc94df9aa | [
"MIT"
] | 2 | 2017-02-20T04:20:32.000Z | 2018-05-01T08:36:30.000Z | samples/projects/IsometricComposer/main.lua | jsykes/million-tile-engine | a23fc96b17c37e3991bed8e934e0ae1cc94df9aa | [
"MIT"
] | 8 | 2017-02-18T14:46:18.000Z | 2021-06-23T19:46:26.000Z | -- MTE "CASTLE DEMO" ----------------------------------------------------------
local composer = require("composer")
local myData = require("IsometricComposer.mydata")
myData.prevMap = "IsoMap3"
myData.nextMap = "IsoMap1"
--SETUP D-PAD ------------------------------------------------------------
myData.controlGroup ... | 34.976744 | 100 | 0.613032 |
62fc9a6630c7777d643f878b93a9da4de6a75d36 | 5,295 | sql | SQL | Banco_dados/cria_banco_praticas_GS.sql | dvictori/GarantiaSafBancodeDados | add99117ac450605b0fa491bd97661fa5483223e | [
"MIT"
] | null | null | null | Banco_dados/cria_banco_praticas_GS.sql | dvictori/GarantiaSafBancodeDados | add99117ac450605b0fa491bd97661fa5483223e | [
"MIT"
] | null | null | null | Banco_dados/cria_banco_praticas_GS.sql | dvictori/GarantiaSafBancodeDados | add99117ac450605b0fa491bd97661fa5483223e | [
"MIT"
] | null | null | null | -- tabela dos sistemas
CREATE TABLE sistema (
id_sistema INTEGER PRIMARY KEY NOT NULL,
nome TEXT,
descricao TEXT,
complexidade TEXT,
referencias TEXT,
cartilha TEXT
);
CREATE TABLE sistema_midia (
id_midia INTEGER PRIMARY KEY NOT NULL,
id_sistema INTEGER,
tipo INTEGER,
arquivo TEXT,
FOREIGN key(i... | 25.214286 | 91 | 0.767328 |
db167f96055486f988ff76c895a20ed6b9d3e956 | 1,203 | sql | SQL | store/postgres/migrations/2018-07-10-061659_create_history_tables/up.sql | Tumble17/graph-node | a4315a33652391f453031a5412b6c51ba4ce084c | [
"Apache-2.0",
"MIT"
] | 1,811 | 2018-08-01T00:52:11.000Z | 2022-03-31T17:56:57.000Z | store/postgres/migrations/2018-07-10-061659_create_history_tables/up.sql | Tumble17/graph-node | a4315a33652391f453031a5412b6c51ba4ce084c | [
"Apache-2.0",
"MIT"
] | 1,978 | 2018-08-01T17:00:43.000Z | 2022-03-31T23:59:29.000Z | store/postgres/migrations/2018-07-10-061659_create_history_tables/up.sql | Tumble17/graph-node | a4315a33652391f453031a5412b6c51ba4ce084c | [
"Apache-2.0",
"MIT"
] | 516 | 2018-08-01T05:26:27.000Z | 2022-03-31T14:04:19.000Z | /**************************************************************
* CREATE TABLES
**************************************************************/
-- Stores the metadata from each SQL transaction
CREATE TABLE IF NOT EXISTS event_meta_data (
id SERIAL PRIMARY KEY,
db_transaction_id BIGINT NOT NULL UNIQUE,
db_tr... | 33.416667 | 72 | 0.583541 |
8d226633baae5f0d076ac90f6da2871f04a75e2e | 1,837 | sql | SQL | data/dzproject.dump.sqlite.sql | adrien-desfourneaux/DzProjectModule | fa39aca1ed2b2762fbf600af74a093cced6d3d6f | [
"MIT"
] | null | null | null | data/dzproject.dump.sqlite.sql | adrien-desfourneaux/DzProjectModule | fa39aca1ed2b2762fbf600af74a093cced6d3d6f | [
"MIT"
] | null | null | null | data/dzproject.dump.sqlite.sql | adrien-desfourneaux/DzProjectModule | fa39aca1ed2b2762fbf600af74a093cced6d3d6f | [
"MIT"
] | null | null | null | INSERT INTO project (
project_id,
display_name,
begin_date,
end_date
) VALUES (
1,
'Projet non débuté',
strftime('%s', 'now', 'start of day', '-1 hour', '+6 months'),
strftime('%s', 'now', 'start of day', '-1 hour', '+1 year')
);
INSERT INTO project (
project_id,
display_name,
... | 21.869048 | 66 | 0.55362 |
f38ffb325097c5ebb3a59569d2510bff323cbeda | 4,008 | swift | Swift | ARLoad/ShareViewController.swift | DenisZubkov/ARClient | 18538255507841088e5f39201ba25d0a5b395472 | [
"MIT"
] | null | null | null | ARLoad/ShareViewController.swift | DenisZubkov/ARClient | 18538255507841088e5f39201ba25d0a5b395472 | [
"MIT"
] | null | null | null | ARLoad/ShareViewController.swift | DenisZubkov/ARClient | 18538255507841088e5f39201ba25d0a5b395472 | [
"MIT"
] | null | null | null | //
// ShareViewController.swift
// ARLoad
//
// Created by Dennis Zubkoff on 08.02.2020.
// Copyright © 2020 Denis Zubkov. All rights reserved.
//
import UIKit
import Social
import MobileCoreServices
import CoreData
class ShareViewController: SLComposeServiceViewController {
private var urlString: Strin... | 41.75 | 179 | 0.533184 |
2a5e27e24c9ed38dacebc890eac45fdef560118d | 2,028 | java | Java | BlockTraceClient/src/main/java/me/alexanderhodes/blocktrace/client/model/ShipmentType.java | alexanderhodes/blocktrace | d014c2b25bff4b40b26363f8112e2c679e315a05 | [
"Apache-2.0"
] | 1 | 2022-03-02T13:42:29.000Z | 2022-03-02T13:42:29.000Z | BlockTraceClient/src/main/java/me/alexanderhodes/blocktrace/client/model/ShipmentType.java | alexanderhodes/blocktrace | d014c2b25bff4b40b26363f8112e2c679e315a05 | [
"Apache-2.0"
] | null | null | null | BlockTraceClient/src/main/java/me/alexanderhodes/blocktrace/client/model/ShipmentType.java | alexanderhodes/blocktrace | d014c2b25bff4b40b26363f8112e2c679e315a05 | [
"Apache-2.0"
] | null | null | null | package me.alexanderhodes.blocktrace.client.model;
import java.io.Serializable;
/**
* Created by alexa on 23.09.2017.
*/
public class ShipmentType implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
private String name;
private int height;
private int width;
... | 19.314286 | 115 | 0.577416 |
e9370ec7dd5429f4e4d55962d8fc2dba44f2b5f7 | 1,029 | go | Go | internal/app/controller/auth.go | Clivern/Hamster | b318bc4c138d091150185038992ca3ea13aa5e05 | [
"MIT"
] | 44 | 2018-10-02T21:11:46.000Z | 2020-09-26T23:41:34.000Z | internal/app/controller/auth.go | Clivern/Hamster | b318bc4c138d091150185038992ca3ea13aa5e05 | [
"MIT"
] | 47 | 2018-09-23T19:30:21.000Z | 2022-03-26T15:14:29.000Z | internal/app/controller/auth.go | Clivern/Hamster | b318bc4c138d091150185038992ca3ea13aa5e05 | [
"MIT"
] | 4 | 2018-11-27T14:30:03.000Z | 2020-07-06T19:45:01.000Z | // Copyright 2018 Clivern. All rights reserved.
// Use of this source code is governed by the MIT
// license that can be found in the LICENSE file.
package controller
import (
"github.com/clivern/hamster/internal/app/pkg/github"
"github.com/gin-gonic/gin"
"os"
)
// Auth controller
func Auth(c *gin.Context) {
gi... | 21.893617 | 53 | 0.655977 |
e72cc58a2bf8c954d6b8c47a1f01168119cf53ee | 251 | js | JavaScript | reducers/index.js | EnzoAliatis/Little-boy | 2196a3490e54332d87fbef10a156f64da0b57c09 | [
"MIT"
] | 21 | 2019-01-21T23:31:28.000Z | 2019-03-18T17:20:23.000Z | reducers/index.js | EnzoAliatis/Little-boy | 2196a3490e54332d87fbef10a156f64da0b57c09 | [
"MIT"
] | 2 | 2019-02-03T18:11:25.000Z | 2019-02-04T20:50:34.000Z | reducers/index.js | EnzoAliatis/Little-boy | 2196a3490e54332d87fbef10a156f64da0b57c09 | [
"MIT"
] | null | null | null | import { combineReducers } from 'redux'
import navigation from './navigation'
import diaSemana from './diaSemana'
import infoUser from './infoUser'
const reducer = combineReducers({
navigation,
diaSemana,
infoUser
})
export default reducer
| 15.6875 | 39 | 0.749004 |
fffd689592239c1c891cca7d922ae74ccde02a1d | 902 | html | HTML | manuscript/page-176/body.html | marvindanig/strange-case-of-dr-jekyll-and-mr-hyde | 5cea7c3602de61d09775ae12b91f4caf9a503572 | [
"CECILL-B"
] | 2 | 2018-10-22T03:46:08.000Z | 2019-01-19T23:03:27.000Z | manuscript/page-176/body.html | marvindanig/the-strange-case-of-dr-jekyll-and-mr-hyde | 5cea7c3602de61d09775ae12b91f4caf9a503572 | [
"CECILL-B"
] | null | null | null | manuscript/page-176/body.html | marvindanig/the-strange-case-of-dr-jekyll-and-mr-hyde | 5cea7c3602de61d09775ae12b91f4caf9a503572 | [
"CECILL-B"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p>The pleasures which I made haste to seek in my disguise were, as I have said, undignified; I would scarce use a harder term. But in the hands of Edward Hyde, they soon began to turn toward the monstrous. When I would come back from these excursions, I was often plung... | 902 | 902 | 0.782705 |
f07fc415bef3771ca87fd201519c50fb72b463fd | 2,965 | js | JavaScript | web/src/pages/HomePage/HomePage.js | zackmckenna/hackathon-7-13 | a1367ea3d198e1aabedf7931928acc2886d9e75a | [
"MIT"
] | null | null | null | web/src/pages/HomePage/HomePage.js | zackmckenna/hackathon-7-13 | a1367ea3d198e1aabedf7931928acc2886d9e75a | [
"MIT"
] | null | null | null | web/src/pages/HomePage/HomePage.js | zackmckenna/hackathon-7-13 | a1367ea3d198e1aabedf7931928acc2886d9e75a | [
"MIT"
] | null | null | null | import { useState } from 'react'
import { Link } from '@redwoodjs/router'
import WikiCell from 'src/components/WikiCell'
import PrettySearchButton from 'src/components/PrettySearchButton'
import NavLayout from 'src/layouts/NavLayout'
import PrettyHeader from 'src/components/PrettyHeader/PrettyHeader'
import PrettyInpu... | 34.08046 | 80 | 0.51602 |
98b637335b5806f30c0d480c004d4cfd363cf456 | 3,070 | html | HTML | doc/html/protocol_m_b_progress_h_u_d_delegate-p.html | sunnycmf/MBProgressHUD | b45bc95c7098881910cac09c5b6b687b6312dda7 | [
"MIT"
] | 1 | 2015-08-29T09:04:55.000Z | 2015-08-29T09:04:55.000Z | doc/html/protocol_m_b_progress_h_u_d_delegate-p.html | sunnycmf/MBProgressHUD | b45bc95c7098881910cac09c5b6b687b6312dda7 | [
"MIT"
] | null | null | null | doc/html/protocol_m_b_progress_h_u_d_delegate-p.html | sunnycmf/MBProgressHUD | b45bc95c7098881910cac09c5b6b687b6312dda7 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MBProgressHUD: < MBProgressHUDDelegate > Protocol Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet... | 60.196078 | 316 | 0.705537 |
dec0bee2fa0a4d5c95cd810ba014607abab7c339 | 8,800 | rs | Rust | lib/rust/ensogl/core/src/display/scene/dom.rs | luna/luna | a1bf0974ceec6e1a47f371956598f81d18596e88 | [
"Apache-2.0"
] | 3,834 | 2015-01-05T08:24:37.000Z | 2020-06-23T08:20:38.000Z | lib/rust/ensogl/core/src/display/scene/dom.rs | luna/luna | a1bf0974ceec6e1a47f371956598f81d18596e88 | [
"Apache-2.0"
] | 808 | 2015-02-19T03:43:32.000Z | 2020-06-23T12:25:47.000Z | lib/rust/ensogl/core/src/display/scene/dom.rs | luna/luna | a1bf0974ceec6e1a47f371956598f81d18596e88 | [
"Apache-2.0"
] | 147 | 2015-02-06T09:39:34.000Z | 2020-06-17T09:23:51.000Z | //! This module defines a DOM management utilities.
use crate::display::object::traits::*;
use crate::prelude::*;
use web::traits::*;
use crate::display::camera::camera2d::Projection;
use crate::display::camera::Camera2d;
use crate::display::symbol::dom::eps;
use crate::display::symbol::dom::inverse_y_translation;
us... | 35.059761 | 104 | 0.635682 |
667feb4336fae34632eef1b8d84cfa11f1cb2c55 | 1,181 | sql | SQL | data/gl/postgres/subdivisions_PL.postgres.sql | timshadel/subdivision-list | 869415cee0886e34a1cb44e8a545a2e5a82aeb8c | [
"MIT"
] | 26 | 2017-04-14T16:15:13.000Z | 2021-11-20T17:41:39.000Z | data/gl/postgres/subdivisions_PL.postgres.sql | timshadel/subdivision-list | 869415cee0886e34a1cb44e8a545a2e5a82aeb8c | [
"MIT"
] | null | null | null | data/gl/postgres/subdivisions_PL.postgres.sql | timshadel/subdivision-list | 869415cee0886e34a1cb44e8a545a2e5a82aeb8c | [
"MIT"
] | 15 | 2018-05-23T14:36:47.000Z | 2021-11-04T08:26:20.000Z | CREATE TABLE subdivision_PL (id VARCHAR(6) NOT NULL, name VARCHAR(255), level VARCHAR(64) NOT NULL, PRIMARY KEY(id));
INSERT INTO "subdivision_PL" ("id", "name", "level") VALUES (E'PL-WP', E'Gran Polonia', E'voivodship');
INSERT INTO "subdivision_PL" ("id", "name", "level") VALUES (E'PL-KP', E'Cuiavia-Pomerania', E'vo... | 90.846154 | 117 | 0.677392 |
85c7ef14d55f006a8af50d72b515058588436044 | 655 | js | JavaScript | src/router/index.js | cplasabas/davoh_admin | 902111965776ad24f79d511be1fa1d45889dce95 | [
"MIT"
] | null | null | null | src/router/index.js | cplasabas/davoh_admin | 902111965776ad24f79d511be1fa1d45889dce95 | [
"MIT"
] | null | null | null | src/router/index.js | cplasabas/davoh_admin | 902111965776ad24f79d511be1fa1d45889dce95 | [
"MIT"
] | null | null | null | import Vue from 'vue';
import store from '@/store/store';
import Router from 'vue-router';
import paths from './paths';
import NProgress from 'nprogress';
import 'nprogress/nprogress.css';
Vue.use(Router);
const router = new Router({
base: '/',
mode: 'history',
linkActiveClass: 'active',
routes: paths
});
//... | 19.848485 | 68 | 0.60916 |
33abd84ad6f622d8dabdc15fae57ce95b5458d47 | 5,692 | swift | Swift | VisionSample/Controllers/ViewController.swift | davidiny/ShoeSleuth | 2a1909f7b941d27085cafb8a588e4602f877a197 | [
"MIT"
] | 1 | 2019-12-06T02:30:13.000Z | 2019-12-06T02:30:13.000Z | VisionSample/Controllers/ViewController.swift | davidiny/ShoeSleuth | 2a1909f7b941d27085cafb8a588e4602f877a197 | [
"MIT"
] | null | null | null | VisionSample/Controllers/ViewController.swift | davidiny/ShoeSleuth | 2a1909f7b941d27085cafb8a588e4602f877a197 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// VisionSample
//
// Created by chris on 19/06/2017.
// Copyright © 2017 MRM Brand Ltd. All rights reserved.
//
import UIKit
import AVFoundation
import Vision
class ViewController: UIViewController, AVCaptureVideoDataOutputSampleBufferDelegate {
// video capture session
let session... | 34.289157 | 130 | 0.694308 |
e52bd12107e35b84a6202129ae95bd6a73fb6739 | 360 | tsx | TypeScript | src/components/Header.tsx | zrh617/PocketBookkeeping | e51a2d9f33ee930d4bc94fc71ab9739607f4f966 | [
"MIT"
] | null | null | null | src/components/Header.tsx | zrh617/PocketBookkeeping | e51a2d9f33ee930d4bc94fc71ab9739607f4f966 | [
"MIT"
] | null | null | null | src/components/Header.tsx | zrh617/PocketBookkeeping | e51a2d9f33ee930d4bc94fc71ab9739607f4f966 | [
"MIT"
] | null | null | null | import React from 'react';
import styled from 'styled-components';
const Head = styled.div`
line-height: 40px;
background:cadetblue;
`
const Content = styled.div`
text-align: center;
font-size: 20px;
padding: 10px 0;
color: #fff;
`
export const Header = () => {
return(
<Head>
<Content>
... | 15.652174 | 39 | 0.611111 |
6db06acdd68081b851b2d8e309c6e9996878ec04 | 326 | swift | Swift | Atsam/Preference/IPreference.swift | IniongunIsaac/Atsam-iOS | fa7f0471913aed0d09aea2e59196827207b584ce | [
"Unlicense"
] | null | null | null | Atsam/Preference/IPreference.swift | IniongunIsaac/Atsam-iOS | fa7f0471913aed0d09aea2e59196827207b584ce | [
"Unlicense"
] | null | null | null | Atsam/Preference/IPreference.swift | IniongunIsaac/Atsam-iOS | fa7f0471913aed0d09aea2e59196827207b584ce | [
"Unlicense"
] | null | null | null | //
// IPreference.swift
// Tiv Bible
//
// Created by Isaac Iniongun on 22/05/2020.
// Copyright © 2020 Iniongun Group. All rights reserved.
//
import Foundation
protocol IPreference {
var isDBInitialized: Bool { get set }
var stayAwake: Bool { get set }
var appVersion: String { get }
... | 16.3 | 57 | 0.631902 |
3f1ffcb38be42b9cce6fc6e2c14e350512319ddf | 1,697 | sql | SQL | config/database/migrations/000010_create_migrations_table.up.sql | MohammedAl-Mahdawi/bnkr | 2ee08790d729719ca3dd91ae712e4bba6903d8c8 | [
"MIT"
] | 3 | 2021-06-20T20:40:15.000Z | 2022-01-11T06:42:34.000Z | config/database/migrations/000010_create_migrations_table.up.sql | MohammedAl-Mahdawi/bnkr | 2ee08790d729719ca3dd91ae712e4bba6903d8c8 | [
"MIT"
] | null | null | null | config/database/migrations/000010_create_migrations_table.up.sql | MohammedAl-Mahdawi/bnkr | 2ee08790d729719ca3dd91ae712e4bba6903d8c8 | [
"MIT"
] | null | null | null | CREATE TABLE IF NOT EXISTS public.migrations (
id bigserial NOT NULL,
created_at timestamptz NULL,
updated_at timestamptz NULL,
deleted_at timestamptz NULL,
started_at timestamptz NULL,
completed_at timestamptz NULL,
"name" text NOT NULL,
"user" int8 NOT NULL,
timezone text NULL,
emails text NULL,
... | 28.283333 | 99 | 0.773718 |
8304acf2e3b53b1816684efc13cde37061ad4ea5 | 337 | sql | SQL | orcas_core/build_source/orcas_db_objects/packages/h_pa_orcas_clean.sql | llsand/orcas | 273bb591432d8bdbd535ccd3086e18e927ee9b38 | [
"Apache-2.0"
] | null | null | null | orcas_core/build_source/orcas_db_objects/packages/h_pa_orcas_clean.sql | llsand/orcas | 273bb591432d8bdbd535ccd3086e18e927ee9b38 | [
"Apache-2.0"
] | null | null | null | orcas_core/build_source/orcas_db_objects/packages/h_pa_orcas_clean.sql | llsand/orcas | 273bb591432d8bdbd535ccd3086e18e927ee9b38 | [
"Apache-2.0"
] | null | null | null | CREATE OR REPLACE package pa_orcas_clean authid current_user is
/**
* Loescht alle DDL daten zu der Tabelle, bis auf Saplten und die Tabelle selbst.
*/
procedure clean_table( p_table_name in varchar2 );
/**
* Loescht alle DDL daten zu allen Tabelle, bis auf Saplten und die Tabellen selbst.
*/
procedure clean_all_... | 21.0625 | 84 | 0.756677 |
a9fe2f1c4a41a16f102ec8128fdd6a2aaad0b58b | 99 | sql | SQL | microservices/ga/datamgr/dev/db/organizationAdmin.sql | shgayle/templates | d62a6bde70768ea02f14a3f145bbe024a1f73033 | [
"Apache-2.0"
] | null | null | null | microservices/ga/datamgr/dev/db/organizationAdmin.sql | shgayle/templates | d62a6bde70768ea02f14a3f145bbe024a1f73033 | [
"Apache-2.0"
] | null | null | null | microservices/ga/datamgr/dev/db/organizationAdmin.sql | shgayle/templates | d62a6bde70768ea02f14a3f145bbe024a1f73033 | [
"Apache-2.0"
] | null | null | null | {{define "dev/db/organizationAdmin.sql"}}
CREATE USER IF NOT EXISTS {{.OrgSQLSafe}}Admin;
{{end}}
| 19.8 | 47 | 0.707071 |
86427ff283a01ca0a4ea30a3536c33d5a8d7b3be | 1,029 | rs | Rust | crates/mun_codegen/src/ir/adt.rs | joshuawarner32/mun | 519b8b10e9c9d93c94af1ea4e6e3899b85f6f537 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | crates/mun_codegen/src/ir/adt.rs | joshuawarner32/mun | 519b8b10e9c9d93c94af1ea4e6e3899b85f6f537 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | crates/mun_codegen/src/ir/adt.rs | joshuawarner32/mun | 519b8b10e9c9d93c94af1ea4e6e3899b85f6f537 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | //use crate::ir::module::Types;
use inkwell::context::Context;
use crate::ir::try_convert_any_to_basic;
use crate::{CodeGenParams, CodegenContext};
use inkwell::types::{BasicTypeEnum, StructType};
pub(super) fn gen_struct_decl<'ink, D: hir::HirDatabase>(context: &'ink Context, db: &mut CodegenContext<'ink, D>, s: hir:... | 34.3 | 152 | 0.550049 |
f0e7349c2b633b411ca8d58d4269d5af44a19dc4 | 434 | kt | Kotlin | Compose/CryptoCurrencyApp/app/src/main/java/com/example/cryptocurrency/data/remote/CoinPaprikaApi.kt | PierreVieira/AndroidApps | a59c8149dfe04893701ba9afa3454e1a32a4b453 | [
"MIT"
] | null | null | null | Compose/CryptoCurrencyApp/app/src/main/java/com/example/cryptocurrency/data/remote/CoinPaprikaApi.kt | PierreVieira/AndroidApps | a59c8149dfe04893701ba9afa3454e1a32a4b453 | [
"MIT"
] | null | null | null | Compose/CryptoCurrencyApp/app/src/main/java/com/example/cryptocurrency/data/remote/CoinPaprikaApi.kt | PierreVieira/AndroidApps | a59c8149dfe04893701ba9afa3454e1a32a4b453 | [
"MIT"
] | null | null | null | package com.example.cryptocurrency.data.remote
import com.example.cryptocurrency.data.remote.dto.CoinDto
import com.example.cryptocurrency.data.remote.dto.coinDetail.CoinDetailDto
import retrofit2.http.GET
import retrofit2.http.Path
interface CoinPaprikaApi {
@GET("v1/coins")
suspend fun getCoins(): List<Coi... | 28.933333 | 74 | 0.774194 |
b9a2daa4c2149a1bbcfc778e13f309d3e25a2893 | 1,084 | h | C | msf_localization_ros/src/include/msf_localization_ros/ros_imu_input_interface.h | Ahrovan/msf_localization | a78ba2473115234910789617e9b45262ebf1d13d | [
"BSD-3-Clause"
] | 1 | 2021-02-27T15:23:13.000Z | 2021-02-27T15:23:13.000Z | msf_localization_ros/src/include/msf_localization_ros/ros_imu_input_interface.h | Ahrovan/msf_localization | a78ba2473115234910789617e9b45262ebf1d13d | [
"BSD-3-Clause"
] | null | null | null | msf_localization_ros/src/include/msf_localization_ros/ros_imu_input_interface.h | Ahrovan/msf_localization | a78ba2473115234910789617e9b45262ebf1d13d | [
"BSD-3-Clause"
] | null | null | null |
#ifndef _ROS_IMU_INPUT_INTERFACE_H
#define _ROS_IMU_INPUT_INTERFACE_H
// ROS Msg sensor_msgs::Imu
#include <sensor_msgs/Imu.h>
// Time Stamp
#include "time_stamp/time_stamp.h"
#include "msf_localization_ros/ros_input_interface.h"
#include "msf_localization_core/imu_input_core.h"
#include "pugixml/pugixml.hpp... | 18.066667 | 146 | 0.76845 |
719fed96c6b50df7fdac3467a48cc6d0ef98bf01 | 154 | ts | TypeScript | src/core/tags/embed.ts | the-yamiteru/susskind | c19176d3506264e4788c8a87aa436a27d54eeaf1 | [
"MIT"
] | null | null | null | src/core/tags/embed.ts | the-yamiteru/susskind | c19176d3506264e4788c8a87aa436a27d54eeaf1 | [
"MIT"
] | 16 | 2021-08-18T20:18:54.000Z | 2021-08-23T20:56:52.000Z | src/core/tags/embed.ts | the-yamiteru/susskind | c19176d3506264e4788c8a87aa436a27d54eeaf1 | [
"MIT"
] | null | null | null | import { DoubleTag } from "../utils";
export const Embed = DoubleTag<{
height?: number;
src: string;
type?: string;
width?: number;
}>("embed");
| 17.111111 | 37 | 0.623377 |
0bd46f530ce829b26b935590a2340424d2f14991 | 379 | js | JavaScript | demos/01-installation/app.js | Remi-Potvin/node-advanced-2020 | 889979942a4c5b13f4089c4d7d28b639c60f1962 | [
"MIT"
] | null | null | null | demos/01-installation/app.js | Remi-Potvin/node-advanced-2020 | 889979942a4c5b13f4089c4d7d28b639c60f1962 | [
"MIT"
] | null | null | null | demos/01-installation/app.js | Remi-Potvin/node-advanced-2020 | 889979942a4c5b13f4089c4d7d28b639c60f1962 | [
"MIT"
] | null | null | null | const express = require('express');
const app = express();
//Définition d'une route
app.get('/', (req,res,next) => {
console.log(req.hostname);
res.send('Hello world')
})
app.get('/users/:name/:id', (req,res) => {
// res.send('user' + req.params.name)
res.json(req.params)
})
app.listen(8001,()=> {
consol... | 19.947368 | 64 | 0.633245 |
e8eddcc6db8f095a1b5c31a80b5070f8e6370b63 | 4,995 | swift | Swift | EnglishCommunity-swift-master/EnglishCommunity-swift/Classes/Module/Profile/Controller/Message/JFMessageListViewController.swift | BobJing/Just-a-test | 2016b0f5b87b2686820a6bc9e2405fa77617dc69 | [
"MIT"
] | 3 | 2016-10-10T02:48:28.000Z | 2017-12-28T16:30:55.000Z | EnglishCommunity-swift-master/EnglishCommunity-swift/Classes/Module/Profile/Controller/Message/JFMessageListViewController.swift | BobJing/Just-a-test | 2016b0f5b87b2686820a6bc9e2405fa77617dc69 | [
"MIT"
] | null | null | null | EnglishCommunity-swift-master/EnglishCommunity-swift/Classes/Module/Profile/Controller/Message/JFMessageListViewController.swift | BobJing/Just-a-test | 2016b0f5b87b2686820a6bc9e2405fa77617dc69 | [
"MIT"
] | null | null | null | //
// JFMessageListViewController.swift
// BaoKanIOS
//
// Created by zhoujianfeng on 16/5/23.
// Copyright © 2016年 六阿哥. All rights reserved.
//
import UIKit
import MJRefresh
class JFMessageListViewController: UITableViewController {
var messageRecords = [JFMessageRecord]()
let messageRecordIdentifie... | 32.861842 | 118 | 0.624424 |
76e75997a039e6db92c66038c239d4c38bf5ceec | 954 | h | C | src/rendering/utility/containers/VertexAttributeInfo.h | halfmvsq/antropy | 41e6f485a3914bae6a5ad90d60578b028b573d01 | [
"Apache-2.0"
] | null | null | null | src/rendering/utility/containers/VertexAttributeInfo.h | halfmvsq/antropy | 41e6f485a3914bae6a5ad90d60578b028b573d01 | [
"Apache-2.0"
] | null | null | null | src/rendering/utility/containers/VertexAttributeInfo.h | halfmvsq/antropy | 41e6f485a3914bae6a5ad90d60578b028b573d01 | [
"Apache-2.0"
] | null | null | null | #ifndef VERTEX_ATTRIBUTE_INFO_H
#define VERTEX_ATTRIBUTE_INFO_H
#include "rendering/utility/gl/GLBufferTypes.h"
#include "rendering/utility/gl/GLDrawTypes.h"
class VertexAttributeInfo
{
public:
VertexAttributeInfo(
BufferComponentType componentType,
BufferNormalizeValues normalizeValues,
... | 23.85 | 50 | 0.725367 |
9a2997f80da149a91a4f8af2760a28405c4708ca | 2,287 | css | CSS | src/assets/thirdIcon/iconfont.css | CrazyJack262/vue-admin-jack | 38d9f33457c5f36f2aa270fadd886b892e23b857 | [
"MIT"
] | 5 | 2020-07-02T07:17:47.000Z | 2021-02-23T09:30:05.000Z | src/assets/thirdIcon/iconfont.css | CrazyJack262/vue-admin-jack | 38d9f33457c5f36f2aa270fadd886b892e23b857 | [
"MIT"
] | null | null | null | src/assets/thirdIcon/iconfont.css | CrazyJack262/vue-admin-jack | 38d9f33457c5f36f2aa270fadd886b892e23b857 | [
"MIT"
] | 1 | 2020-09-29T15:56:49.000Z | 2020-09-29T15:56:49.000Z | @font-face {font-family: "iconfont";
src: url('iconfont.eot?t=1592384894566'); /* IE9 */
src: url('iconfont.eot?t=1592384894566#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAOUAAsAAAAAB+QAAANIAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDHAqDIIJ... | 60.184211 | 1,301 | 0.831657 |
40e44163d610e4ed85228af51784dd8b8fc44616 | 387 | py | Python | src/test/resources/beta_1_1_1/Sample.py | hyamamoto/hackerrank-core | e38abdf2b9466ce5f064136bf73f7fb7f2b96c65 | [
"MS-PL",
"Naumen",
"Condor-1.1",
"Apache-1.1"
] | 1 | 2015-10-01T09:11:01.000Z | 2015-10-01T09:11:01.000Z | src/test/resources/beta_1_1_1/Sample.py | hyamamoto/hackerrank-core | e38abdf2b9466ce5f064136bf73f7fb7f2b96c65 | [
"MS-PL",
"Naumen",
"Condor-1.1",
"Apache-1.1"
] | 1 | 2021-06-04T01:03:42.000Z | 2021-06-04T01:03:42.000Z | src/test/resources/beta_1_1_1/Sample.py | hyamamoto/hackerrank-core | e38abdf2b9466ce5f064136bf73f7fb7f2b96c65 | [
"MS-PL",
"Naumen",
"Condor-1.1",
"Apache-1.1"
] | 2 | 2015-10-01T09:11:04.000Z | 2016-08-31T07:49:14.000Z | #!/bin/python
#If player is X, I'm the first player.
#If player is O, I'm the second player.
player = raw_input()
#Read the board now. The board is a 3x3 array filled with X, O or _.
board = []
for i in xrange(0, 3):
board.append(raw_input())
#Proceed with processing and print 2 integers separated by a single ... | 22.764706 | 74 | 0.697674 |
bdcd94bfd06332f98de1f6147352bd6c45dd291f | 202 | kt | Kotlin | app/src/main/java/com/ilab/yougetmobiledl/model/BangumiDualStream.kt | zhushenwudi/YougetMobileDL | 1755a1e5971a017b0f44c4df3e9491ae46a8d2fc | [
"MIT"
] | null | null | null | app/src/main/java/com/ilab/yougetmobiledl/model/BangumiDualStream.kt | zhushenwudi/YougetMobileDL | 1755a1e5971a017b0f44c4df3e9491ae46a8d2fc | [
"MIT"
] | null | null | null | app/src/main/java/com/ilab/yougetmobiledl/model/BangumiDualStream.kt | zhushenwudi/YougetMobileDL | 1755a1e5971a017b0f44c4df3e9491ae46a8d2fc | [
"MIT"
] | null | null | null | package com.ilab.yougetmobiledl.model
data class BangumiDualStream(
val code: Int,
val message: String,
val result: DualStream?
) {
fun isSuccess() = message == "success" && code == 0
} | 22.444444 | 55 | 0.668317 |
0bf6e2eae5393de54821d836bd3c0929a3aa9d74 | 500 | js | JavaScript | src/store/index.js | blueYufisher/syb_index | 8f8c22090cdd7762704d5354b5ac1bb243133515 | [
"MIT"
] | null | null | null | src/store/index.js | blueYufisher/syb_index | 8f8c22090cdd7762704d5354b5ac1bb243133515 | [
"MIT"
] | null | null | null | src/store/index.js | blueYufisher/syb_index | 8f8c22090cdd7762704d5354b5ac1bb243133515 | [
"MIT"
] | null | null | null | import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import action from './action'
Vue.use(Vuex)
const state = {
login: false, // 是否登录
user: null, // 用户信息
cartList: [], // 加入购物车列表
showMoveImg: false, // 显示飞入图片
elLeft: 0,
elTop: 0,
moveImgUrl: null,
cartPositionT: 0, // ... | 18.518519 | 35 | 0.658 |
40fbc750a19b0f3f087c51579d5851b22624c038 | 1,866 | py | Python | source/_static/code/aiyagari/aiyagari_compute_equilibrium.py | tuttugu-ryo/lecture-source-py | 9ce84044c2cc421775ea63a004556d7ae3b4e504 | [
"BSD-3-Clause"
] | 56 | 2017-05-09T10:45:23.000Z | 2022-01-20T20:33:27.000Z | source/_static/code/aiyagari/aiyagari_compute_equilibrium.py | tuttugu-ryo/lecture-source-py | 9ce84044c2cc421775ea63a004556d7ae3b4e504 | [
"BSD-3-Clause"
] | 7 | 2017-06-30T01:52:46.000Z | 2019-05-01T20:09:47.000Z | source/_static/code/aiyagari/aiyagari_compute_equilibrium.py | tuttugu-ryo/lecture-source-py | 9ce84044c2cc421775ea63a004556d7ae3b4e504 | [
"BSD-3-Clause"
] | 117 | 2017-04-25T16:09:17.000Z | 2022-03-23T02:30:29.000Z | A = 1.0
N = 1.0
α = 0.33
β = 0.96
δ = 0.05
def r_to_w(r):
"""
Equilibrium wages associated with a given interest rate r.
"""
return A * (1 - α) * (A * α / (r + δ))**(α / (1 - α))
def rd(K):
"""
Inverse demand curve for capital. The interest rate associated with a
given demand for capital... | 25.916667 | 76 | 0.661308 |
1b0c480acd6fd08cd8813e281f33194b2a19b3c7 | 3,748 | sql | SQL | drawSQL-mysql-export-2022-04-04.sql | Javier-Alfonso-DS/S13_T01_Relational_Databases | f29e15a023a757ff48d87ab290079ed7d4d3aac7 | [
"MIT"
] | null | null | null | drawSQL-mysql-export-2022-04-04.sql | Javier-Alfonso-DS/S13_T01_Relational_Databases | f29e15a023a757ff48d87ab290079ed7d4d3aac7 | [
"MIT"
] | null | null | null | drawSQL-mysql-export-2022-04-04.sql | Javier-Alfonso-DS/S13_T01_Relational_Databases | f29e15a023a757ff48d87ab290079ed7d4d3aac7 | [
"MIT"
] | null | null | null | CREATE TABLE `ShoppingTable`(
`id` INT UNSIGNED NOT NULL,
`ProviderId` INT UNSIGNED NOT NULL,
`ProductId` INT UNSIGNED NOT NULL,
`EstablishmentId` INT UNSIGNED NOT NULL
);
ALTER TABLE
`ShoppingTable` ADD PRIMARY KEY `shoppingtable_id_primary`(`id`);
ALTER TABLE
`ShoppingTable` ADD INDEX `shoppin... | 40.301075 | 143 | 0.746798 |
9817414a9711cd08d62b79465128286ad882b617 | 497 | sql | SQL | db/remove_mms_schema_objects.sql | camsys/transam_mms | 20257120a8b3de3092a69058537632db6d13a44f | [
"MIT"
] | null | null | null | db/remove_mms_schema_objects.sql | camsys/transam_mms | 20257120a8b3de3092a69058537632db6d13a44f | [
"MIT"
] | null | null | null | db/remove_mms_schema_objects.sql | camsys/transam_mms | 20257120a8b3de3092a69058537632db6d13a44f | [
"MIT"
] | null | null | null | DROP TABLE IF EXISTS maintenance_activity_types
;
DROP TABLE IF EXISTS maintenance_repeat_interval_types
;
DROP TABLE IF EXISTS maintenance_service_interval_types
;
DROP TABLE IF EXISTS maintenance_schedules
;
DROP TABLE IF EXISTS maintenance_activities
;
DROP TABLE IF EXISTS maintenance_events
;
DROP TABLE IF EXISTS a... | 23.666667 | 55 | 0.859155 |
5a36d2f774a3e4bdcdd8f5240b5175eb79371396 | 11,630 | rs | Rust | src/node.rs | cyberfined/splay-tree-rs | 22380e21748433dbf62bf40b253895ea8dfa8eac | [
"WTFPL"
] | null | null | null | src/node.rs | cyberfined/splay-tree-rs | 22380e21748433dbf62bf40b253895ea8dfa8eac | [
"WTFPL"
] | null | null | null | src/node.rs | cyberfined/splay-tree-rs | 22380e21748433dbf62bf40b253895ea8dfa8eac | [
"WTFPL"
] | null | null | null | #[cfg(feature = "recursive_debug")]
use std::fmt;
use std::mem;
use std::fmt::Debug;
use std::ptr::NonNull;
use std::cmp::Ordering;
pub(crate) type NodePtr<K, V> = Option<NonNull<Node<K, V>>>;
/// Splay tree's node.
#[cfg_attr(not(feature = "recursive_debug"), derive(Debug))]
pub struct Node<K: Ord, V> {
key: K,... | 28.091787 | 90 | 0.463199 |
fc1d21d0626822cf2477edb44c26f4a13eada425 | 2,196 | sql | SQL | old_ddl/run/truncate_tables.sql | datarttu/sujuikoDB | 4e206395683b9670e0a7c82e86f366e756176bfb | [
"MIT"
] | 1 | 2020-05-27T07:17:02.000Z | 2020-05-27T07:17:02.000Z | old_ddl/run/truncate_tables.sql | datarttu/sujuikoDB | 4e206395683b9670e0a7c82e86f366e756176bfb | [
"MIT"
] | 102 | 2020-04-30T14:21:49.000Z | 2021-11-10T15:06:12.000Z | old_ddl/run/truncate_tables.sql | datarttu/sujuikoDB | 4e206395683b9670e0a7c82e86f366e756176bfb | [
"MIT"
] | 1 | 2021-04-01T07:35:13.000Z | 2021-04-01T07:35:13.000Z | /*
* TRUNCATE commands in correct order:
* execute these to revert to a certain state in the data import process.
* WARNING: Executing the entire script will empty all the tables!
* Normally you will want to pick just the necessary commands.
* Consider BEGINning a transaction first and only then ... | 32.294118 | 81 | 0.821494 |
adbda06cc0ba7b022823973e6e57108eb973fa4f | 5,541 | pkb | SQL | sources/packages/bmap_builder.pkb | jgebal/bitmap_set_index | 7c7a2961055deacfa240d5c56425d31c75185a66 | [
"MIT"
] | 2 | 2016-08-31T11:34:19.000Z | 2017-03-29T09:53:25.000Z | sources/packages/bmap_builder.pkb | jgebal/bitmap_set_index | 7c7a2961055deacfa240d5c56425d31c75185a66 | [
"MIT"
] | null | null | null | sources/packages/bmap_builder.pkb | jgebal/bitmap_set_index | 7c7a2961055deacfa240d5c56425d31c75185a66 | [
"MIT"
] | null | null | null | ALTER SESSION SET PLSQL_WARNINGS = 'ENABLE:ALL';
ALTER SESSION SET PLSQL_CODE_TYPE = NATIVE;
/
ALTER SESSION SET PLSQL_OPTIMIZE_LEVEL = 3;
/
CREATE OR REPLACE PACKAGE BODY bmap_builder AS
PROCEDURE initialize( p_int_aarray IN OUT NOCOPY BIN_INT_ARRAY, p_height BINARY_INTEGER := C_BITMAP_HEIGHT ) IS
BEGIN
... | 42.953488 | 192 | 0.724598 |
9bed0f94a69cbd9b54991a9893483808cdd9531c | 4,410 | js | JavaScript | resources/js/src/util/forms/mixins/Create.js | michee1367/ibuzz_front_original | a53fe95a2f4d7d73ed3665c403d213e62d4f9c1c | [
"MIT"
] | null | null | null | resources/js/src/util/forms/mixins/Create.js | michee1367/ibuzz_front_original | a53fe95a2f4d7d73ed3665c403d213e62d4f9c1c | [
"MIT"
] | null | null | null | resources/js/src/util/forms/mixins/Create.js | michee1367/ibuzz_front_original | a53fe95a2f4d7d73ed3665c403d213e62d4f9c1c | [
"MIT"
] | null | null | null |
import Axios from 'axios';
import MixinLoadable from "../../mixins/MixinLoadable";
import { BModal } from 'bootstrap-vue';
import { BOverlay } from 'bootstrap-vue'
import RenderToken from "../../mixins/RenderToken";
import loaderData from "../../mixins/loaderData";
import { postMethod } from "../../request";
export de... | 31.056338 | 95 | 0.297279 |
53d00c9cddb9f9a315f59b5f47824b3d3cd434c6 | 5,378 | java | Java | src/main/java/org/whitesource/jenkins/model/WhiteSourceDescriptor.java | slaboure/whitesource-plugin | c89430ad6e787f64a048d02d37be3d1ad48710e3 | [
"Apache-2.0"
] | 4 | 2017-11-23T19:01:50.000Z | 2019-04-26T19:53:22.000Z | src/main/java/org/whitesource/jenkins/model/WhiteSourceDescriptor.java | slaboure/whitesource-plugin | c89430ad6e787f64a048d02d37be3d1ad48710e3 | [
"Apache-2.0"
] | 6 | 2018-08-23T13:15:47.000Z | 2021-12-09T19:27:09.000Z | src/main/java/org/whitesource/jenkins/model/WhiteSourceDescriptor.java | slaboure/whitesource-plugin | c89430ad6e787f64a048d02d37be3d1ad48710e3 | [
"Apache-2.0"
] | 11 | 2017-07-19T14:15:28.000Z | 2021-10-01T12:14:48.000Z | package org.whitesource.jenkins.model;
import hudson.util.Secret;
import org.whitesource.jenkins.WhiteSourcePublisher;
import org.whitesource.jenkins.pipeline.WhiteSourcePipelineStep;
/**
* Holds global configuration of the plugin
*
* @author artiom.petrov
*/
public class WhiteSourceDescriptor {
/* --- Membe... | 30.556818 | 135 | 0.693752 |
7fd0727796e97824c52b4339f561f3c14e317159 | 3,926 | go | Go | pkg/websocketutil/client.go | giantswarm/confetti-backend | 63952dd0e5259104d2f92dd94685973448275c17 | [
"Apache-2.0"
] | null | null | null | pkg/websocketutil/client.go | giantswarm/confetti-backend | 63952dd0e5259104d2f92dd94685973448275c17 | [
"Apache-2.0"
] | 8 | 2020-12-14T16:03:27.000Z | 2021-09-20T04:08:50.000Z | pkg/websocketutil/client.go | giantswarm/confetti-backend | 63952dd0e5259104d2f92dd94685973448275c17 | [
"Apache-2.0"
] | 1 | 2021-10-20T18:56:30.000Z | 2021-10-20T18:56:30.000Z | package websocketutil
import (
"sync"
"time"
"github.com/atreugo/websocket"
"github.com/giantswarm/microerror"
)
const (
// Time allowed to write a message to the peer.
writeWait = 10 * time.Second
// Time allowed to read the next pong message from the peer.
pongWait = 60 * time.Second
// Send pings to pe... | 22.306818 | 97 | 0.694345 |
dd036956b2642af10209fa3716e42d337ec6fa4c | 772 | go | Go | utils/substring.go | Daedliy/tsc-language-server | 49f9001d8e2293495a0d9117259a5ad806c97498 | [
"MIT"
] | 1 | 2020-10-21T23:06:19.000Z | 2020-10-21T23:06:19.000Z | utils/substring.go | Daedliy/tsc-language-server | 49f9001d8e2293495a0d9117259a5ad806c97498 | [
"MIT"
] | 5 | 2021-04-03T01:11:51.000Z | 2021-11-03T21:52:46.000Z | utils/substring.go | Daedliy/tsc-language-server | 49f9001d8e2293495a0d9117259a5ad806c97498 | [
"MIT"
] | 5 | 2020-11-25T14:45:42.000Z | 2021-11-03T17:11:52.000Z | package utils
import "math"
// Substring will return a substring of given length from a given index. If
// the from index is bigger than the length of the string, it will return an
// empty string. If the given length would result in an OOB error, the function
// will return the substring up to the length of the stri... | 32.166667 | 79 | 0.709845 |
6616025c340fcb373f83e711f7b78b5a51cc4142 | 7,608 | swift | Swift | Tests/SwiftStringTests/StringURLTests.swift | neilabdev/SwiftString | 8017b12c3e20cf8fe4f9b5538a3aaf89562036c2 | [
"MIT"
] | 127 | 2016-09-21T05:23:34.000Z | 2021-07-30T02:14:05.000Z | Tests/SwiftStringTests/StringURLTests.swift | keshavakarthik/SwiftString | eb1c723503736a8c5d24a4e7408d69e5f06b3094 | [
"MIT"
] | 5 | 2016-12-16T04:35:38.000Z | 2018-08-06T11:08:11.000Z | Tests/SwiftStringTests/StringURLTests.swift | keshavakarthik/SwiftString | eb1c723503736a8c5d24a4e7408d69e5f06b3094 | [
"MIT"
] | 39 | 2016-09-21T01:05:33.000Z | 2020-09-01T07:21:32.000Z | //
// StringURLTests.swift
// SwiftString
//
// Created by thislooksfun on 1/3/17.
//
//
import XCTest
@testable import SwiftString
class StringURLTests: XCTestCase {
let rootPathToDir = "/foo/bar/baz/"
let rootPathToDirNoTrail = "/foo/bar/baz"
let rootPathToFile = "/foo/bar/baz.txt"
let roo... | 31.966387 | 89 | 0.757755 |
4931e6514e71eb7af6593209020b44d2e4b0aed9 | 3,824 | swift | Swift | SwiftTweaks/StringOptionViewController.swift | turlodales/SwiftTweaks | 7c06030f1db8acce3b641218ff16feab7ff20e2f | [
"MIT"
] | null | null | null | SwiftTweaks/StringOptionViewController.swift | turlodales/SwiftTweaks | 7c06030f1db8acce3b641218ff16feab7ff20e2f | [
"MIT"
] | null | null | null | SwiftTweaks/StringOptionViewController.swift | turlodales/SwiftTweaks | 7c06030f1db8acce3b641218ff16feab7ff20e2f | [
"MIT"
] | null | null | null | //
// StringOptionViewController.swift
// SwiftTweaks
//
// Created by Bryan Clark on 6/22/17.
// Copyright © 2017 Khan Academy. All rights reserved.
//
import Foundation
import UIKit
internal protocol StringOptionViewControllerDelegate: AnyObject {
func stringOptionViewControllerDidPressDismissButton(_ tweakSel... | 36.419048 | 200 | 0.774582 |
e521c74c42dc73065210ed20f0c9331b19ff28a3 | 3,196 | html | HTML | _site/notes/quicksort.html | switchkiller/switchkiller.github.io | 7ec0b6390ef3665d8448a0a3e914aafb9ace36de | [
"MIT"
] | null | null | null | _site/notes/quicksort.html | switchkiller/switchkiller.github.io | 7ec0b6390ef3665d8448a0a3e914aafb9ace36de | [
"MIT"
] | null | null | null | _site/notes/quicksort.html | switchkiller/switchkiller.github.io | 7ec0b6390ef3665d8448a0a3e914aafb9ace36de | [
"MIT"
] | null | null | null | <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1" /><title>Quicksort</title><meta name="twitter:card" content="summary" /><meta name="twitter:site" content="@varunnurab" /><meta name="twitte... | 127.84 | 2,146 | 0.682416 |
2616228c8c2d79026737544bb86b5ca5a5f5f929 | 1,196 | java | Java | src/slogo/view/canvas/CanvasHolder.java | blucifer22/slow-go | ab32f2462b95faa8d3bf379fd5b4d37b78078754 | [
"MIT"
] | null | null | null | src/slogo/view/canvas/CanvasHolder.java | blucifer22/slow-go | ab32f2462b95faa8d3bf379fd5b4d37b78078754 | [
"MIT"
] | null | null | null | src/slogo/view/canvas/CanvasHolder.java | blucifer22/slow-go | ab32f2462b95faa8d3bf379fd5b4d37b78078754 | [
"MIT"
] | null | null | null | package slogo.view.canvas;
import java.util.function.Consumer;
import javafx.geometry.Insets;
import javafx.scene.layout.Background;
import javafx.scene.layout.BackgroundFill;
import javafx.scene.layout.CornerRadii;
import javafx.scene.layout.StackPane;
import javafx.scene.paint.Color;
import slogo.view.SelectorTarget... | 24.408163 | 99 | 0.742475 |
d31849ebe5f145e47b26f3aeecda74d55da467fc | 16,929 | kt | Kotlin | workspace/src/main/kotlin/club/itsp/elang/agmob/workspace/App.kt | Linsho/AgMob | 8c2285e0c4cb461ca13038ad74dca400147e8812 | [
"MIT"
] | 1 | 2020-09-14T10:45:57.000Z | 2020-09-14T10:45:57.000Z | workspace/src/main/kotlin/club/itsp/elang/agmob/workspace/App.kt | Linsho/AgMob | 8c2285e0c4cb461ca13038ad74dca400147e8812 | [
"MIT"
] | 9 | 2020-09-06T14:57:37.000Z | 2022-03-25T18:45:32.000Z | workspace/src/main/kotlin/club/itsp/elang/agmob/workspace/App.kt | LiC0ng/AgMob | 19b38ba1ce68b959a573cd80781dd59ca0b2b722 | [
"MIT"
] | 1 | 2019-11-08T05:01:11.000Z | 2019-11-08T05:01:11.000Z | package club.itsp.elang.agmob.workspace
import io.ktor.application.call
import io.ktor.application.install
import io.ktor.application.log
import io.ktor.http.ContentType
import io.ktor.http.HttpStatusCode
import io.ktor.http.cio.websocket.*
import io.ktor.request.receiveText
import io.ktor.response.respondText
import ... | 42.535176 | 120 | 0.527615 |
a2d1762ee59d4ac5106098428764a717900ee316 | 1,442 | swift | Swift | DJExtensionDemo/DJExtensionDemo/DJExtension/DJConstants.swift | iwufan/DJExtension | 05272b6191fce7c059c2417ec18e10fac3d4cc1c | [
"MIT"
] | 3 | 2018-08-06T07:53:55.000Z | 2020-09-13T19:52:35.000Z | DJExtensionDemo/DJExtensionDemo/DJExtension/DJConstants.swift | iwufan/DJExtension | 05272b6191fce7c059c2417ec18e10fac3d4cc1c | [
"MIT"
] | null | null | null | DJExtensionDemo/DJExtensionDemo/DJExtension/DJConstants.swift | iwufan/DJExtension | 05272b6191fce7c059c2417ec18e10fac3d4cc1c | [
"MIT"
] | null | null | null | //
// Constants.swift
// DJExtension
//
// Created by David Jia on 15/8/2017.
// Copyright © 2017 David Jia. All rights reserved.
//
import UIKit
// common values
public let djScreenWidth = UIScreen.main.bounds.width
public let djScreenHeight = UIScreen.main.bounds.height
// colors
public let djCoverC... | 36.974359 | 119 | 0.643551 |
e75ab7927efc4328f80acc7512104f429a4b52b9 | 3,424 | js | JavaScript | src/brink/main.js | gigafied/brink.js | a53fce00c923cab37356816ccd16694a51821855 | [
"MIT",
"Unlicense"
] | null | null | null | src/brink/main.js | gigafied/brink.js | a53fce00c923cab37356816ccd16694a51821855 | [
"MIT",
"Unlicense"
] | null | null | null | src/brink/main.js | gigafied/brink.js | a53fce00c923cab37356816ccd16694a51821855 | [
"MIT",
"Unlicense"
] | null | null | null | 'use strict';
var $b,
_global,
CONFIG,
IS_NODE,
EMPTY_FN;
/*jshint ignore : start */
IS_NODE = typeof module !== 'undefined' && module.exports;
/*jshint ignore : end */
EMPTY_FN = function () {};
_global = IS_NODE ? global : window;
CONFIG = _global.Brink || _global.$b || {};
$b = _global.$b = _gl... | 20.878049 | 69 | 0.451519 |
24be93f271c8e2b4347cdb0bc07871a1e4802389 | 636 | asm | Assembly | ch07/32 bit/Multiply.asm | William0Friend/my_masm | e8073266c03c01424ad84b9ed9cf13e9da1eabb1 | [
"Apache-2.0"
] | null | null | null | ch07/32 bit/Multiply.asm | William0Friend/my_masm | e8073266c03c01424ad84b9ed9cf13e9da1eabb1 | [
"Apache-2.0"
] | null | null | null | ch07/32 bit/Multiply.asm | William0Friend/my_masm | e8073266c03c01424ad84b9ed9cf13e9da1eabb1 | [
"Apache-2.0"
] | null | null | null | ; Multiplication Examples (Multiply.asm)
; This program shows examples of both signed and unsigned multiplication.
INCLUDE Irvine32.inc
.code
main PROC
mov ax,255
mov bx,255
imul bx
;Example 1
mov al,5h
mov bl,10h
mul bl ; CF = 0
;Example 2
.data
val1 WORD 2000h
va... | 14.133333 | 74 | 0.625786 |
7aba976f8e04dd8ffbd9c1f112f2b697445f910f | 1,009 | rs | Rust | src/pricingengines/traits.rs | surfertas/quantlib | 5b2634b1cacae23e7201a786b479d429f186437f | [
"MIT"
] | 68 | 2020-04-12T15:48:25.000Z | 2022-03-08T17:14:52.000Z | src/pricingengines/traits.rs | rafalpiotrowski/quantlib | 5b2634b1cacae23e7201a786b479d429f186437f | [
"MIT"
] | 4 | 2021-02-27T13:26:05.000Z | 2021-04-15T13:56:44.000Z | src/pricingengines/traits.rs | rafalpiotrowski/quantlib | 5b2634b1cacae23e7201a786b479d429f186437f | [
"MIT"
] | 16 | 2020-06-19T07:35:21.000Z | 2022-01-17T13:25:41.000Z | use crate::definitions::Money;
use crate::time::Date;
use std::collections::HashMap;
pub trait PricingEngine {
type R: Results;
type A: Arguments;
fn get_results(&self) -> Self::R;
fn get_arguments(&self) -> Self::A;
fn reset(&self);
fn update(&self);
fn calculate(&self);
}
pub trait Resu... | 21.468085 | 59 | 0.607532 |
40c89078b0fd4bcca4fe39acf06dbdc315d11f2b | 67 | py | Python | ptsr/config/__init__.py | prateek-77/rcan-it | 587904556d8127bca83690deaaa26e34e051a576 | [
"MIT"
] | 57 | 2022-01-28T04:44:42.000Z | 2022-03-31T13:26:35.000Z | ptsr/config/__init__.py | chisyliu/rcan-it | eb1794777ffef4eadd8a6a06f4419380a0b17435 | [
"MIT"
] | 6 | 2022-02-08T11:17:19.000Z | 2022-03-27T07:40:18.000Z | ptsr/config/__init__.py | chisyliu/rcan-it | eb1794777ffef4eadd8a6a06f4419380a0b17435 | [
"MIT"
] | 10 | 2022-01-28T07:31:12.000Z | 2022-03-15T01:35:03.000Z | from .defaults import get_cfg_defaults
from .utils import load_cfg | 33.5 | 39 | 0.850746 |
47d0c3e469af82a26b7b003836d29c5289e1f43e | 98 | sql | SQL | apex/page/54/region/Data Load Wizard Progress/sub_region/Data Load Results/page_item/P54_ERROR_COUNT/P54_ERROR_COUNT[sourceQuery].sql | vincentmorneau/insum-insider-demo | f359a5fe205a6598a226c0e90f56cb1f93b2d9b0 | [
"CC0-1.0"
] | 2 | 2020-04-30T11:20:35.000Z | 2020-05-03T22:22:02.000Z | apex/page/54/region/Data Load Wizard Progress/sub_region/Data Load Results/page_item/P54_ERROR_COUNT/P54_ERROR_COUNT[sourceQuery].sql | vincentmorneau/insum-insider-demo | f359a5fe205a6598a226c0e90f56cb1f93b2d9b0 | [
"CC0-1.0"
] | 8 | 2020-04-29T18:23:56.000Z | 2020-08-24T18:39:32.000Z | apex/page/54/region/Data Load Wizard Progress/sub_region/Data Load Results/page_item/P54_ERROR_COUNT/P54_ERROR_COUNT[sourceQuery].sql | vincentmorneau/insum-insider-demo | f359a5fe205a6598a226c0e90f56cb1f93b2d9b0 | [
"CC0-1.0"
] | null | null | null | select count(*) c from apex_collections where collection_name = 'LOAD_CONTENT' and c047 = 'FAILED' | 98 | 98 | 0.785714 |
16d69b036fac464e51def8c876d1b4c662c6195b | 1,148 | ts | TypeScript | client/styles/boxshadows.ts | JungKyuHyun/guest-book | 7186a1e40568436af9edfe887f004c4cc5137800 | [
"MIT"
] | 3 | 2021-08-04T17:59:30.000Z | 2021-08-05T06:37:05.000Z | client/styles/boxshadows.ts | JungKyuHyun/guest-book | 7186a1e40568436af9edfe887f004c4cc5137800 | [
"MIT"
] | 1 | 2021-08-08T06:29:51.000Z | 2021-08-08T11:44:10.000Z | client/styles/boxshadows.ts | JungKyuHyun/guest-book | 7186a1e40568436af9edfe887f004c4cc5137800 | [
"MIT"
] | 1 | 2021-08-08T06:26:25.000Z | 2021-08-08T06:26:25.000Z | export const boxShadows = {
dp0: 'none',
dp1: '0 1px 1px 0 rgba(0,0,0,0.14),0 2px 1px -1px rgba(0,0,0,0.12),0 1px 3px 0 rgba(0,0,0,0.20)',
dp2: '0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.20)',
dp3: '0 3px 4px 0 rgba(0,0,0,0.14),0 3px 3px -2px rgba(0,0,0,0.12),0 1px 8p... | 71.75 | 109 | 0.616725 |
4b0348078988be29e3d28124d7fc4ce29f52bdcc | 63 | kt | Kotlin | app/src/main/java/io/de4l/app/ui/event/TokenInfoClickedEvent.kt | DE4L-Project/de4l-sensor-android-app | 11040a53ba7760b987eade68b46d048d5f83569f | [
"MIT"
] | null | null | null | app/src/main/java/io/de4l/app/ui/event/TokenInfoClickedEvent.kt | DE4L-Project/de4l-sensor-android-app | 11040a53ba7760b987eade68b46d048d5f83569f | [
"MIT"
] | null | null | null | app/src/main/java/io/de4l/app/ui/event/TokenInfoClickedEvent.kt | DE4L-Project/de4l-sensor-android-app | 11040a53ba7760b987eade68b46d048d5f83569f | [
"MIT"
] | 1 | 2022-02-17T11:06:30.000Z | 2022-02-17T11:06:30.000Z | package io.de4l.app.ui.event
class TokenInfoClickedEvent {
}
| 10.5 | 29 | 0.777778 |
abfbb0d952e0074613db6afaeac2223914044f6d | 624 | rb | Ruby | lib/cinebase/title_sanitizer.rb | andycroll/cinebase | 5011c487c28ef1d0bad2216fdad696de5cfa9c7c | [
"MIT"
] | 2 | 2016-08-12T06:35:09.000Z | 2017-02-10T22:11:39.000Z | lib/cinebase/title_sanitizer.rb | andycroll/cinebase | 5011c487c28ef1d0bad2216fdad696de5cfa9c7c | [
"MIT"
] | null | null | null | lib/cinebase/title_sanitizer.rb | andycroll/cinebase | 5011c487c28ef1d0bad2216fdad696de5cfa9c7c | [
"MIT"
] | null | null | null | module Cinebase
# Sabitize titles base class
TitleSanitizer = Struct.new(:title) do
def sanitized
@sanitized ||= begin
sanitized = title
remove.each do |pattern|
sanitized.gsub! pattern, ''
end
replace.each do |pattern, prefix|
sanitized.gsub!(pattern) {... | 22.285714 | 72 | 0.597756 |
7d5bb2713fb9d148204a6d822b729aea91bdc648 | 61,093 | html | HTML | _site/assets/notes/summary_of_git_usage.html | weiSupreme/weiSupreme.github.io | 59d419f2d8207c7da0a427330b21546f4f0d85d0 | [
"CC-BY-4.0"
] | 3 | 2018-09-15T05:47:35.000Z | 2019-04-08T07:00:02.000Z | _site/assets/notes/summary_of_git_usage.html | weiSupreme/weiSupreme.github.io | 59d419f2d8207c7da0a427330b21546f4f0d85d0 | [
"CC-BY-4.0"
] | null | null | null | _site/assets/notes/summary_of_git_usage.html | weiSupreme/weiSupreme.github.io | 59d419f2d8207c7da0a427330b21546f4f0d85d0 | [
"CC-BY-4.0"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Git 命令总结_枝叶飞扬_新浪博客</title>
<meta name="keywords" content="Git&nbs... | 87.275714 | 1,395 | 0.687313 |
393140ff60d5efff67d0345134b81ece3cff3d86 | 10,820 | html | HTML | public/faster/lua-yarv.html | 4creators/BenchmarksGame | 89d83531dbfcdbbbafd2ad06f2fd9eb54a39b193 | [
"BSD-3-Clause"
] | null | null | null | public/faster/lua-yarv.html | 4creators/BenchmarksGame | 89d83531dbfcdbbbafd2ad06f2fd9eb54a39b193 | [
"BSD-3-Clause"
] | null | null | null | public/faster/lua-yarv.html | 4creators/BenchmarksGame | 89d83531dbfcdbbbafd2ad06f2fd9eb54a39b193 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE html>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="robots" content="all" />
<meta name="description" content="Lua Ruby - Which programs are faster?" />
<title>Lua vs Ruby - Which programs are faster? | Computer Language Benchmarks Game </title>
<style><!--
a{color... | 34.903226 | 1,965 | 0.545749 |
e28e566f11a5d4a374d8ced7f3d32c73de994765 | 341 | swift | Swift | Sources/fusionauth-swift-client/domain/io/fusionauth/domain/api/IPAccessControlListRequest.swift | f0rever-johnson/fusionauth-swift-client | 0a810db9a995ec8962657c1033a6f89dc0a92bfe | [
"Apache-2.0"
] | null | null | null | Sources/fusionauth-swift-client/domain/io/fusionauth/domain/api/IPAccessControlListRequest.swift | f0rever-johnson/fusionauth-swift-client | 0a810db9a995ec8962657c1033a6f89dc0a92bfe | [
"Apache-2.0"
] | null | null | null | Sources/fusionauth-swift-client/domain/io/fusionauth/domain/api/IPAccessControlListRequest.swift | f0rever-johnson/fusionauth-swift-client | 0a810db9a995ec8962657c1033a6f89dc0a92bfe | [
"Apache-2.0"
] | 1 | 2021-04-04T10:04:19.000Z | 2021-04-04T10:04:19.000Z | //
// File.swift
//
//
// Created by Everaldlee Johnson on 8/20/21.
//
import Foundation
public struct IPAccessControlListRequest:Codable{
public var ipAccessControlList:IPAccessControlList?
public init(ipAccessControlList: IPAccessControlList? = nil) {
self.ipAccessControlList = ipAcces... | 18.944444 | 66 | 0.71261 |
1c87ba9ec0c8ac8c4f0c5f5b50edba6af36dbf66 | 1,718 | sql | SQL | schema.sql | jkelly101/employee-tracker | cd61fd6276460c200f63891b5828e5d41a1438db | [
"MIT"
] | null | null | null | schema.sql | jkelly101/employee-tracker | cd61fd6276460c200f63891b5828e5d41a1438db | [
"MIT"
] | null | null | null | schema.sql | jkelly101/employee-tracker | cd61fd6276460c200f63891b5828e5d41a1438db | [
"MIT"
] | 1 | 2021-03-15T14:48:17.000Z | 2021-03-15T14:48:17.000Z | DROP DATABASE IF EXISTS employee_db;
CREATE DATABASE employee_db;
USE employee_db;
CREATE TABLE departments(
id INTEGER auto_increment NOT NULL,
department VARCHAR(30) NOT NULL,
PRIMARY KEY(id)
);
CREATE TABLE roles(
id INTEGER auto_increment NOT NULL,
title VARCHAR(30) NOT NULL,
salary DECIMAL(8, 2) NOT NULL,
dep... | 34.36 | 199 | 0.77532 |
c7f8cb65405bfb60febc17a6a933b0cd29c7079b | 13,799 | java | Java | pankti-extract/src/test/java/se/kth/castor/pankti/extract/processors/CandidateTaggerTest.java | castor-software/pankti | 1b93443e3013b947937ec5304769c85c0a77816a | [
"MIT"
] | 8 | 2020-08-10T17:44:52.000Z | 2021-04-06T11:58:28.000Z | pankti-extract/src/test/java/se/kth/castor/pankti/extract/processors/CandidateTaggerTest.java | castor-software/pankti | 1b93443e3013b947937ec5304769c85c0a77816a | [
"MIT"
] | 40 | 2020-03-20T10:51:16.000Z | 2022-01-21T09:45:51.000Z | pankti-extract/src/test/java/se/kth/castor/pankti/extract/processors/CandidateTaggerTest.java | castor-software/pankti | 1b93443e3013b947937ec5304769c85c0a77816a | [
"MIT"
] | 2 | 2020-04-24T13:09:33.000Z | 2021-09-27T07:00:19.000Z | package se.kth.castor.pankti.extract.processors;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import se.kth.castor.pankti.extract.launchers.PanktiLauncher;
import se.kth.castor.pankti.extract.runners.PanktiMain;
import spoon.MavenLauncher;
import spoon.reflect.CtModel;
import spoon.reflec... | 46.618243 | 123 | 0.696572 |
915f342e04eb8b0ae20aa7b963e8c6180ade0d7d | 12,341 | html | HTML | static/sample.html | rickysahu/mpngen | da8b2f46fa293e6f12b41a3e2413ceb238d83bb6 | [
"MIT"
] | 5 | 2017-06-06T15:08:01.000Z | 2020-08-21T03:41:00.000Z | static/sample.html | rickysahu/mpngen | da8b2f46fa293e6f12b41a3e2413ceb238d83bb6 | [
"MIT"
] | null | null | null | static/sample.html | rickysahu/mpngen | da8b2f46fa293e6f12b41a3e2413ceb238d83bb6 | [
"MIT"
] | null | null | null | <style>
body {
margin: 10px;
font-family: system-ui, Roboto, Helvetica, sans-serif;
line-height: 1.5rem;
}
h2 {
color: #3dace3;
font-weight: 400;
background-color: #ebebeb;
padding: 1.5rem;
margin-bottom: 0px;
}
a {
color: #3dace3;
}
/* Table styles */
table {
wi... | 35.875 | 310 | 0.671096 |
0bad2da3e1dacf427841f734f0e1eaaf1149a295 | 432 | swift | Swift | Geometris/Core/UDRVResponse.swift | geometris/geometrisIOS | 81f341dae5695c8d28209402eb66abd3c19a748f | [
"MIT"
] | null | null | null | Geometris/Core/UDRVResponse.swift | geometris/geometrisIOS | 81f341dae5695c8d28209402eb66abd3c19a748f | [
"MIT"
] | null | null | null | Geometris/Core/UDRVResponse.swift | geometris/geometrisIOS | 81f341dae5695c8d28209402eb66abd3c19a748f | [
"MIT"
] | 1 | 2021-08-20T08:13:53.000Z | 2021-08-20T08:13:53.000Z | //
// UDRVResponse.swift
// Geometris
//
// Created by Bipin Kadel on 3/22/18.
// Copyright © 2018 geometris. All rights reserved.
//
import Foundation
public class UDRVResponse: BaseResponse {
/// ReqType
public internal(set) var address:String?
init(requestId reqId: ReqType, address add: String?... | 22.736842 | 81 | 0.668981 |
c2555ecef729d5bbd11b9aa0cba8369b484200d9 | 1,204 | lua | Lua | src/apis/proc.lua | Brenden2008/sPhone | c50a5dfbfa460123ae60ee33c20bb83ed6a37932 | [
"MIT"
] | 1 | 2016-10-14T13:10:40.000Z | 2016-10-14T13:10:40.000Z | src/apis/proc.lua | Brenden2008/sPhone | c50a5dfbfa460123ae60ee33c20bb83ed6a37932 | [
"MIT"
] | null | null | null | src/apis/proc.lua | Brenden2008/sPhone | c50a5dfbfa460123ae60ee33c20bb83ed6a37932 | [
"MIT"
] | null | null | null | -- "multitasking"
local _proc = {}
local _killProc = {}
function signal(pid, sig)
local p = _proc[pid]
if p then
if not p.filter or p.filter == "signal" then
local ok, rtn = coroutine.resume(p.co, "signal", tostring(sig))
if ok then
p.filter = rtn
end
end
return true
end
re... | 20.758621 | 71 | 0.58887 |
7d922a09d1772692622fd3dc4607c53aba34aa21 | 23,700 | html | HTML | plugins/testmanagement/scripts/testmanagement/src/execution/execution-detail.tpl.html | yasir2000/brown-bear | 03ebf384d27013b60f1469a230b3523322e192c9 | [
"MIT"
] | 6 | 2022-03-06T15:48:13.000Z | 2022-03-07T16:27:29.000Z | plugins/testmanagement/scripts/testmanagement/src/execution/execution-detail.tpl.html | yasir2000/brown-bear | 03ebf384d27013b60f1469a230b3523322e192c9 | [
"MIT"
] | null | null | null | plugins/testmanagement/scripts/testmanagement/src/execution/execution-detail.tpl.html | yasir2000/brown-bear | 03ebf384d27013b60f1469a230b3523322e192c9 | [
"MIT"
] | null | null | null | <div class="tlp-alert-danger" ng-if="execution.error">{{ execution.error }}</div>
<div class="tuleap-modal-loading"
ng-if="artifact_links_graph_modal_loading.is_loading || edit_artifact_modal_loading.loading"></div>
<div class="linked-issue-alert tlp-alert-success" ng-if="linkedIssueAlertVisible">
<span clas... | 54.861111 | 204 | 0.500422 |
7b24d2e9b95a0dea221ef6f523e24cbf39fb098f | 104 | rb | Ruby | app/controllers/admin/base_controller.rb | NYCMOTI/open-bid | 518335e8f3622e318af287426b1d3b083b7569b4 | [
"CC0-1.0"
] | 74 | 2015-10-23T10:53:29.000Z | 2021-11-14T22:01:52.000Z | app/controllers/admin/base_controller.rb | NYCMOTI/open-bid | 518335e8f3622e318af287426b1d3b083b7569b4 | [
"CC0-1.0"
] | 1,196 | 2015-10-21T13:59:49.000Z | 2019-02-11T17:33:26.000Z | app/controllers/admin/base_controller.rb | NYCMOTI/open-bid | 518335e8f3622e318af287426b1d3b083b7569b4 | [
"CC0-1.0"
] | 41 | 2015-11-16T19:19:54.000Z | 2021-02-14T11:25:44.000Z | class Admin::BaseController < ApplicationController
layout 'admin'
before_action :require_admin
end
| 20.8 | 51 | 0.817308 |
b1135fc669630a9cc0ec97971fc899017ea9de3e | 552 | css | CSS | src/styles/Header.css | lorddesert/robotum-game | 45e1ef2d66c29a13898f730c6a7a713c7461ebeb | [
"MIT"
] | 1 | 2020-05-19T20:21:07.000Z | 2020-05-19T20:21:07.000Z | src/styles/Header.css | lorddesert/robotum-game | 45e1ef2d66c29a13898f730c6a7a713c7461ebeb | [
"MIT"
] | 5 | 2021-03-10T04:45:51.000Z | 2022-02-26T22:31:55.000Z | src/styles/Header.css | lorddesert/robotum-game | 45e1ef2d66c29a13898f730c6a7a713c7461ebeb | [
"MIT"
] | null | null | null | .Header {
height: 100px;
background: #FFFF;
color: #272727;
box-shadow: 0 0 5px black;
}
.Header-container {
display: flex;
height: 100%;
gap: 10px;
background-color: #efefef;
}
.Header-item {
margin: auto;
justify-content: center;
}
h1 {
margin: 0 auto;
text-align: center;
margin: 0 auto;
f... | 17.806452 | 59 | 0.650362 |
b680b4d7996c733273be19da3c22855e82dac68f | 3,035 | rb | Ruby | 2019/day4/solution.rb | jibarra/advent-of-code | 9be56354f59c8279e13a4b89348e32fdfffd4677 | [
"MIT"
] | null | null | null | 2019/day4/solution.rb | jibarra/advent-of-code | 9be56354f59c8279e13a4b89348e32fdfffd4677 | [
"MIT"
] | null | null | null | 2019/day4/solution.rb | jibarra/advent-of-code | 9be56354f59c8279e13a4b89348e32fdfffd4677 | [
"MIT"
] | null | null | null | # TODO: not the best method name
def digits_never_decrease(number)
i = 0
digits = number.digits.reverse
digits.all? do |digit|
i += 1
if i >= digits.size
true
else
digit <= digits[i]
end
end
end
def has_adjacent_same_digit(number)
i = 0
digits = number.digits
digits.any? do |d... | 24.877049 | 79 | 0.737397 |
a4c01aecd47aa61501093cc8cbbd3c8f6a2a8d3d | 1,508 | kt | Kotlin | list_repos/app/src/main/java/com/sheraz/listrepos/internal/Extensions.kt | sheraz-nadeem/ListGitHubRepos | 2b6583bb1b5895daabb17bd7c2bd6cdd4dbb8d1b | [
"Apache-2.0"
] | 5 | 2020-02-03T09:44:41.000Z | 2021-06-25T19:08:08.000Z | list_repos/app/src/main/java/com/sheraz/listrepos/internal/Extensions.kt | sheraz-nadeem/ListGitHubRepos | 2b6583bb1b5895daabb17bd7c2bd6cdd4dbb8d1b | [
"Apache-2.0"
] | null | null | null | list_repos/app/src/main/java/com/sheraz/listrepos/internal/Extensions.kt | sheraz-nadeem/ListGitHubRepos | 2b6583bb1b5895daabb17bd7c2bd6cdd4dbb8d1b | [
"Apache-2.0"
] | 3 | 2019-03-11T23:02:03.000Z | 2021-09-15T09:56:15.000Z | package com.sheraz.listrepos.internal
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.DialogFragment
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.ViewModelProviders
import com.sheraz.listrepo... | 36.780488 | 187 | 0.755968 |
4d01f88d52de74990373ff4224a5660a7662fbf6 | 363 | kt | Kotlin | mobile-ui/src/main/java/com/playone/mobile/ui/injection/module/NavigatorModule.kt | lekaha/playone-android | 15ca77cbe9189554723b9b5cd4302946fd4675a8 | [
"MIT"
] | 1 | 2018-08-11T08:44:30.000Z | 2018-08-11T08:44:30.000Z | mobile-ui/src/main/java/com/playone/mobile/ui/injection/module/NavigatorModule.kt | lekaha/playone-android | 15ca77cbe9189554723b9b5cd4302946fd4675a8 | [
"MIT"
] | 56 | 2018-02-13T14:18:17.000Z | 2018-07-10T13:56:24.000Z | mobile-ui/src/main/java/com/playone/mobile/ui/injection/module/NavigatorModule.kt | lekaha/playone-android | 15ca77cbe9189554723b9b5cd4302946fd4675a8 | [
"MIT"
] | null | null | null | package com.playone.mobile.ui.injection.module
import android.content.Context
import com.playone.mobile.ui.Navigator
import com.playone.mobile.ui.injection.qualifier.ApplicationContext
import dagger.Module
import dagger.Provides
@Module
class NavigatorModule {
@Provides
fun provideNavigator(@ApplicationConte... | 25.928571 | 83 | 0.823691 |
0ccc2e5ca0664e29a1337110f68367598882b29e | 3,936 | py | Python | azure-iot-device/azure/iot/device/iothub/models/message.py | elhorton/azure-iot-sdk-python | 484b804a64c245bd92930c13b970ff86f868b5fe | [
"MIT"
] | 1 | 2019-02-06T06:52:44.000Z | 2019-02-06T06:52:44.000Z | azure-iot-device/azure/iot/device/iothub/models/message.py | elhorton/azure-iot-sdk-python | 484b804a64c245bd92930c13b970ff86f868b5fe | [
"MIT"
] | null | null | null | azure-iot-device/azure/iot/device/iothub/models/message.py | elhorton/azure-iot-sdk-python | 484b804a64c245bd92930c13b970ff86f868b5fe | [
"MIT"
] | 1 | 2019-12-17T17:50:43.000Z | 2019-12-17T17:50:43.000Z | # -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
"""This mo... | 50.461538 | 298 | 0.649644 |
81919675581fbfc6d9196c6ac599332d89683d31 | 11,541 | rs | Rust | examples/vendored/complicated_cargo_library/cargo/vendor/libc-0.2.53/src/cloudabi/mod.rs | tommilligan/cargo-raze | b20c29f8f6a0902a7aadf5424dd830cd045ac92d | [
"Apache-2.0"
] | 77 | 2019-06-17T07:05:07.000Z | 2022-03-07T03:26:27.000Z | examples/vendored/complicated_cargo_library/cargo/vendor/libc-0.2.53/src/cloudabi/mod.rs | tommilligan/cargo-raze | b20c29f8f6a0902a7aadf5424dd830cd045ac92d | [
"Apache-2.0"
] | 22 | 2019-07-18T02:32:10.000Z | 2022-03-24T03:39:11.000Z | examples/vendored/complicated_cargo_library/cargo/vendor/libc-0.2.53/src/cloudabi/mod.rs | tommilligan/cargo-raze | b20c29f8f6a0902a7aadf5424dd830cd045ac92d | [
"Apache-2.0"
] | 49 | 2019-06-18T03:31:56.000Z | 2022-03-13T05:23:10.000Z | pub type int8_t = i8;
pub type int16_t = i16;
pub type int32_t = i32;
pub type int64_t = i64;
pub type uint8_t = u8;
pub type uint16_t = u16;
pub type uint32_t = u32;
pub type uint64_t = u64;
pub type c_schar = i8;
pub type c_uchar = u8;
pub type c_short = i16;
pub type c_ushort = u16;
pub type c_int = i32;
pub type c... | 34.450746 | 80 | 0.600468 |
e9b1a7d21b0e98b4584662d8408ebca8b9d55868 | 753 | go | Go | internal/identity/identity.go | ayakovlenko/zit | 5330640806fa01c0c1b08dd80e42594195c0b95a | [
"MIT"
] | 15 | 2020-04-13T22:35:14.000Z | 2022-01-21T22:45:56.000Z | internal/identity/identity.go | ayakovlenko/zit | 5330640806fa01c0c1b08dd80e42594195c0b95a | [
"MIT"
] | 13 | 2020-04-10T13:53:11.000Z | 2021-06-30T23:21:40.000Z | internal/identity/identity.go | ayakovlenko/zit | 5330640806fa01c0c1b08dd80e42594195c0b95a | [
"MIT"
] | 1 | 2020-04-11T13:10:18.000Z | 2020-04-11T13:10:18.000Z | package identity
import (
"zit/internal/config"
"zit/internal/git"
)
func findBestMatch(conf config.HostV2, repo git.RepoInfo) (user *config.User) {
if conf.Default != nil {
user = &config.User{
Name: conf.Default.Name,
Email: conf.Default.Email,
}
}
if conf.Overrides != nil {
for _, override := ra... | 17.928571 | 79 | 0.602922 |
2915748c1cadf8aea2ef964a5084baf9dd90101e | 2,016 | py | Python | custom_components/gazpar/util.py | Vebryn/home-assistant-gazpar | 2d9998b7ba2d5bf089b045488b59f23f8f4b4d8d | [
"MIT"
] | 4 | 2022-01-21T23:35:09.000Z | 2022-02-17T13:31:24.000Z | custom_components/gazpar/util.py | Vebryn/home-assistant-gazpar | 2d9998b7ba2d5bf089b045488b59f23f8f4b4d8d | [
"MIT"
] | 3 | 2022-01-26T08:34:18.000Z | 2022-01-27T12:44:39.000Z | custom_components/gazpar/util.py | Vebryn/home-assistant-gazpar | 2d9998b7ba2d5bf089b045488b59f23f8f4b4d8d | [
"MIT"
] | 1 | 2022-01-25T21:47:38.000Z | 2022-01-25T21:47:38.000Z | from pygazpar.enum import PropertyName
from pygazpar.enum import Frequency
from homeassistant.const import CONF_USERNAME, ATTR_ATTRIBUTION, ATTR_UNIT_OF_MEASUREMENT, ATTR_FRIENDLY_NAME, ATTR_ICON, ENERGY_KILO_WATT_HOUR
# --------------------------------------------------------------------------------------------
clas... | 38.037736 | 143 | 0.58879 |
40b69de7c43fb5091d2c9782be25e478c8d9e267 | 4,076 | html | HTML | docs/io.paymenthighway.sdk/-backend-adapter/index.html | PaymentHighway/paymenthighway-android-sdk | dfa236724490a58e5e234e7b2ece3003099c879e | [
"MIT"
] | null | null | null | docs/io.paymenthighway.sdk/-backend-adapter/index.html | PaymentHighway/paymenthighway-android-sdk | dfa236724490a58e5e234e7b2ece3003099c879e | [
"MIT"
] | null | null | null | docs/io.paymenthighway.sdk/-backend-adapter/index.html | PaymentHighway/paymenthighway-android-sdk | dfa236724490a58e5e234e7b2ece3003099c879e | [
"MIT"
] | null | null | null | <HTML>
<HEAD>
<meta charset="UTF-8">
<title>BackendAdapter - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">io.paymenthighway.sdk</a> / <a href="./index.html">BackendAdapter</a><br/>
<br/>
<h1>BackendAdapter</h1>
<code><span class="keyword">interface </span><spa... | 97.047619 | 1,751 | 0.72105 |
1604d014514ec6bf27e915eeccd18a56088f71a7 | 1,965 | c | C | NHL95DBEditor/src/file_utils.c | peruukki/NHL95DBEditor | d85f4cd73380577217d886a2ec871a223f359e2f | [
"MIT"
] | null | null | null | NHL95DBEditor/src/file_utils.c | peruukki/NHL95DBEditor | d85f4cd73380577217d886a2ec871a223f359e2f | [
"MIT"
] | null | null | null | NHL95DBEditor/src/file_utils.c | peruukki/NHL95DBEditor | d85f4cd73380577217d886a2ec871a223f359e2f | [
"MIT"
] | null | null | null | #include <errno.h>
#include "file_utils.h"
#include "output.h"
static size_t read_db_data(db_data_t *data, const char *file_name)
{
FILE *fp;
if ((fp = fopen(file_name, "rb")) == NULL)
{
INFO("Failed to open file '%s' for reading", file_name);
return 0;
}
data->length = fread(data->data, 1,... | 20.05102 | 69 | 0.652417 |
d2e07f0d243d4540e6af4de96d499d2f6cdd0965 | 1,680 | php | PHP | resources/views/partials/navbar.blade.php | dhaferbakri/klnaMaswuwl | 0f39a249d39bcffcd2e631e68e1482f61945c3a9 | [
"MIT"
] | 1 | 2020-05-05T01:34:34.000Z | 2020-05-05T01:34:34.000Z | resources/views/partials/navbar.blade.php | dhaferbakri/klnaMaswuwl | 0f39a249d39bcffcd2e631e68e1482f61945c3a9 | [
"MIT"
] | 3 | 2021-02-02T18:03:36.000Z | 2022-02-27T03:46:41.000Z | resources/views/partials/navbar.blade.php | dhaferbakri/klnaMaswuwl | 0f39a249d39bcffcd2e631e68e1482f61945c3a9 | [
"MIT"
] | null | null | null |
<div class="inner">
<h3 class="masthead-brand"><a href="/">klnaMaswuwl - كلنا مسؤول</a></h3>
<nav class="nav nav-masthead justify-content-center">
<a class="nav-link active" href="/">الرئيسية</a>
<a class="nav-link" href="/about">عنا</a>
<a class="nav-link" href=... | 54.193548 | 175 | 0.43869 |
3e8d0aac7e7ee8f5fc1f578b62ec2f6d52772ff9 | 2,019 | kt | Kotlin | app/src/main/java/io/henrikhorbovyi/moviesapp/navigation/MainGraph.kt | henrikhorbovyi/movies-app | e5a03e6f2140379f565fc725f39b082dab8802af | [
"MIT"
] | null | null | null | app/src/main/java/io/henrikhorbovyi/moviesapp/navigation/MainGraph.kt | henrikhorbovyi/movies-app | e5a03e6f2140379f565fc725f39b082dab8802af | [
"MIT"
] | null | null | null | app/src/main/java/io/henrikhorbovyi/moviesapp/navigation/MainGraph.kt | henrikhorbovyi/movies-app | e5a03e6f2140379f565fc725f39b082dab8802af | [
"MIT"
] | null | null | null | package io.henrikhorbovyi.moviesapp.navigation
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import androidx.compose.foundation.layout.padding
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavTy... | 35.421053 | 80 | 0.706786 |
75db59825111cb9a76dcb2e5ab838a13da2660b9 | 871 | php | PHP | application/libraries/Layout.php | gavinhouse/blog | 37cd058121c69f132a66a15a93a76a1fad1b67ec | [
"MIT"
] | null | null | null | application/libraries/Layout.php | gavinhouse/blog | 37cd058121c69f132a66a15a93a76a1fad1b67ec | [
"MIT"
] | null | null | null | application/libraries/Layout.php | gavinhouse/blog | 37cd058121c69f132a66a15a93a76a1fad1b67ec | [
"MIT"
] | null | null | null | <?php
/**
* The Layout class is used in order to load pages and pass data to said pages.
*
*
* @property CI_Loader $load
*/
class Layout{
private $viewVars = [];
//initialize a CI instance to use CI_Loader
public function __construct()
{
$this->CI =& get_instance();
}
//Sets valu... | 20.738095 | 79 | 0.562572 |
703000ceb160ccd1619aded5c822e738809b91b9 | 3,461 | kt | Kotlin | kronos/src/test/java/com/ironsource/aura/kronos/defaultValue/DefaultProviderTest.kt | hananrh/Kronos | 08c71c5c7da6965484377fd9d9d1128e388320ea | [
"MIT"
] | null | null | null | kronos/src/test/java/com/ironsource/aura/kronos/defaultValue/DefaultProviderTest.kt | hananrh/Kronos | 08c71c5c7da6965484377fd9d9d1128e388320ea | [
"MIT"
] | 1 | 2021-03-30T12:56:44.000Z | 2021-04-26T06:34:14.000Z | kronos/src/test/java/com/ironsource/aura/kronos/defaultValue/DefaultProviderTest.kt | hananrh/Kronos | 08c71c5c7da6965484377fd9d9d1128e388320ea | [
"MIT"
] | null | null | null | package com.ironsource.aura.kronos.defaultValue
import android.graphics.Color
import com.ironsource.aura.kronos.common.Label
import com.ironsource.aura.kronos.common.kronosTest
import com.ironsource.aura.kronos.common.mapConfig
import com.ironsource.aura.kronos.config.FeatureRemoteConfig
import com.ironsource.aura.kro... | 30.359649 | 103 | 0.611384 |
925d9b56abd0680d681fd7c9185478058e19c347 | 236 | kt | Kotlin | src/main/kotlin/no/nav/personbruker/minesaker/api/common/exception/CommunicationException.kt | joakibj/mine-saker-api | 51dd522799ecbd53207a55a44c8378ecdb819547 | [
"MIT"
] | null | null | null | src/main/kotlin/no/nav/personbruker/minesaker/api/common/exception/CommunicationException.kt | joakibj/mine-saker-api | 51dd522799ecbd53207a55a44c8378ecdb819547 | [
"MIT"
] | null | null | null | src/main/kotlin/no/nav/personbruker/minesaker/api/common/exception/CommunicationException.kt | joakibj/mine-saker-api | 51dd522799ecbd53207a55a44c8378ecdb819547 | [
"MIT"
] | 1 | 2022-02-11T12:11:46.000Z | 2022-02-11T12:11:46.000Z | package no.nav.personbruker.minesaker.api.common.exception
open class CommunicationException(message: String, cause: Throwable?) : AbstractMineSakerException(message, cause) {
constructor(message: String) : this(message, null)
}
| 29.5 | 116 | 0.788136 |
56ff69bea8fb59e8cd185a7d8e7bd4e0a0d91b26 | 274 | ts | TypeScript | app/src/apps/SnowmanApp/components/TabBar/TabBarProps.ts | HPI-Information-Systems/snowman | 2b518b5f22950c7171c50c5313e0d73162a40644 | [
"MIT"
] | 20 | 2021-02-24T13:38:34.000Z | 2022-03-31T02:54:56.000Z | app/src/apps/SnowmanApp/components/TabBar/TabBarProps.ts | HPI-Information-Systems/snowman | 2b518b5f22950c7171c50c5313e0d73162a40644 | [
"MIT"
] | 122 | 2021-02-24T15:41:02.000Z | 2022-02-28T11:09:03.000Z | app/src/apps/SnowmanApp/components/TabBar/TabBarProps.ts | HPI-Information-Systems/snowman | 2b518b5f22950c7171c50c5313e0d73162a40644 | [
"MIT"
] | 3 | 2021-02-25T17:15:58.000Z | 2021-03-02T08:14:42.000Z | import { ViewIDs } from 'types/ViewIDs';
export interface TabBarDispatchProps {
openSubApp(viewID: ViewIDs): void;
}
export interface TabBarStateProps {
activeSubApp: ViewIDs;
showTabBar: boolean;
}
export type TabBarProps = TabBarDispatchProps & TabBarStateProps;
| 21.076923 | 65 | 0.777372 |
5c5ee8ac63956b28d835ee0e7cd7aa92ff7378a7 | 207 | h | C | Demo/CheckViewController.h | zhang28602/ZZYQRCode | 7a16b4557f9cc8fd704f80acb31ec6d372b0c19d | [
"MIT"
] | 494 | 2017-05-20T22:21:10.000Z | 2019-10-25T12:16:56.000Z | Demo/CheckViewController.h | threeWolf/ZZYQRCode | 7a16b4557f9cc8fd704f80acb31ec6d372b0c19d | [
"MIT"
] | 4 | 2017-08-13T11:02:54.000Z | 2018-05-21T03:50:13.000Z | Demo/CheckViewController.h | threeWolf/ZZYQRCode | 7a16b4557f9cc8fd704f80acb31ec6d372b0c19d | [
"MIT"
] | 27 | 2017-05-20T22:46:28.000Z | 2019-06-24T18:07:30.000Z | //
// CheckViewController.h
// Demo
//
// Created by 张泽宇 on 2017/5/20.
// Copyright © 2017年 zzy. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CheckViewController : UIViewController
@end
| 14.785714 | 49 | 0.690821 |
d27990ce5265d0431365428e8cc9d2c03178e854 | 12,435 | php | PHP | application/api/controller/dormitory2020/Api.php | Li-Jiadong/yiban-app | 19d13bc6b271a8fb0b6c2445407aa773dc8d0327 | [
"Apache-2.0"
] | null | null | null | application/api/controller/dormitory2020/Api.php | Li-Jiadong/yiban-app | 19d13bc6b271a8fb0b6c2445407aa773dc8d0327 | [
"Apache-2.0"
] | null | null | null | application/api/controller/dormitory2020/Api.php | Li-Jiadong/yiban-app | 19d13bc6b271a8fb0b6c2445407aa773dc8d0327 | [
"Apache-2.0"
] | 1 | 2018-03-26T16:30:01.000Z | 2018-03-26T16:30:01.000Z | <?php
namespace app\api\controller\dormitory2020;
use app\common\library\Token;
use think\exception\HttpResponseException;
use think\exception\ValidateException;
use think\Loader;
use think\Request;
use think\Response;
use app\api\model\dormitory2020\User as userModel;
use app\api\model\dormitory2020\Wxuser as wxUser... | 26.513859 | 117 | 0.473181 |
f1a2be3eaeca593130eadc6f1752f813e8561a69 | 103 | rb | Ruby | ruby/grains/grains.rb | gchan/exercism-code-samples | c10ceb007fafa72eca969aae846922932db8ecb4 | [
"MIT"
] | 13 | 2015-04-30T09:24:58.000Z | 2021-02-04T15:25:47.000Z | ruby/grains/grains.rb | gchan/exercism-code-samples | c10ceb007fafa72eca969aae846922932db8ecb4 | [
"MIT"
] | null | null | null | ruby/grains/grains.rb | gchan/exercism-code-samples | c10ceb007fafa72eca969aae846922932db8ecb4 | [
"MIT"
] | 4 | 2017-03-28T11:05:05.000Z | 2018-10-18T21:01:22.000Z | class Grains
def square(squares)
1 << squares - 1
end
def total
(1 << 64) - 1
end
end
| 10.3 | 21 | 0.553398 |
2f770471f68331231e5ecb391df124e5bc6810ae | 2,055 | sql | SQL | L10_insertInto.sql | jkatsioloudes/SQLTutorial | 07d346dab4e1cf20f6886884ec6fb3c374762fc5 | [
"MIT"
] | null | null | null | L10_insertInto.sql | jkatsioloudes/SQLTutorial | 07d346dab4e1cf20f6886884ec6fb3c374762fc5 | [
"MIT"
] | null | null | null | L10_insertInto.sql | jkatsioloudes/SQLTutorial | 07d346dab4e1cf20f6886884ec6fb3c374762fc5 | [
"MIT"
] | null | null | null | # LESSON 10 (A).
# Please DO try the following queries yourselves but most importantly try different variations and always ask yourself: "Why am I getting this back?".
# The INSERT INTO statement.
# It is used to insert new records in a table and is possible to write it in two ways.
# The first way specifies both the... | 60.441176 | 339 | 0.768856 |
db0c7893aea34ad8f0f75a9f528e045b22b32da9 | 402 | kt | Kotlin | android/core/src/main/java/app/visly/shard/ShardContext.kt | 0xflotus/shard-mobile | b6928831f5f8112284078ab284d19b1e4d35aa71 | [
"MIT"
] | null | null | null | android/core/src/main/java/app/visly/shard/ShardContext.kt | 0xflotus/shard-mobile | b6928831f5f8112284078ab284d19b1e4d35aa71 | [
"MIT"
] | null | null | null | android/core/src/main/java/app/visly/shard/ShardContext.kt | 0xflotus/shard-mobile | b6928831f5f8112284078ab284d19b1e4d35aa71 | [
"MIT"
] | 1 | 2020-07-10T12:25:42.000Z | 2020-07-10T12:25:42.000Z | package app.visly.shard
import android.content.Context
import android.content.ContextWrapper
internal interface ActionDelegate {
fun on(action: String, value: JsonValue?)
}
class ShardContext(ctx: Context) : ContextWrapper(ctx) {
internal var actionDelegate: ActionDelegate? = null
fun dispatch(action: S... | 25.125 | 56 | 0.741294 |