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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cbe1e2e5db3347f7625493f8b079c84b340d976a | 1,528 | go | Go | ast/operation.go | emajcher/gq | edb4305bb06d61380422e1885298b3e2c369b247 | [
"Apache-2.0"
] | null | null | null | ast/operation.go | emajcher/gq | edb4305bb06d61380422e1885298b3e2c369b247 | [
"Apache-2.0"
] | null | null | null | ast/operation.go | emajcher/gq | edb4305bb06d61380422e1885298b3e2c369b247 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 HouseCanary, 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 law or agreed... | 25.898305 | 99 | 0.708115 |
e992973c4f828b2f60743a0668deb3b6a4aec82c | 242 | rb | Ruby | src/brain/decision.rb | jyoder/ultra-robo-blasters | c1b1ce5f54cd4861cd7c3303b3f8e814161053fd | [
"Unlicense"
] | null | null | null | src/brain/decision.rb | jyoder/ultra-robo-blasters | c1b1ce5f54cd4861cd7c3303b3f8e814161053fd | [
"Unlicense"
] | null | null | null | src/brain/decision.rb | jyoder/ultra-robo-blasters | c1b1ce5f54cd4861cd7c3303b3f8e814161053fd | [
"Unlicense"
] | null | null | null | module Brain
class Decision
attr_reader :up, :down, :left, :right
def initialize(
up:,
down:,
left:,
right:
)
@up = up
@down = down
@left = left
@right = right
end
end
end
| 12.736842 | 41 | 0.483471 |
5c976af14cb37f8eafa37143b000f380b09e445d | 1,300 | h | C | include/Mesh.h | LamWS/ClothSimulation | 008b24fa96005cbe7ccae27a765d19e5f68a3ef2 | [
"MIT"
] | 5 | 2021-11-10T08:39:34.000Z | 2022-03-06T10:21:49.000Z | include/Mesh.h | LamWS/ClothSimulation | 008b24fa96005cbe7ccae27a765d19e5f68a3ef2 | [
"MIT"
] | null | null | null | include/Mesh.h | LamWS/ClothSimulation | 008b24fa96005cbe7ccae27a765d19e5f68a3ef2 | [
"MIT"
] | null | null | null | //
// Created by lamws on 2021/9/1.
//
#ifndef CLOTHSIMULATION_MESH_H
#define CLOTHSIMULATION_MESH_H
#include <string>
#include <vector>
#include <set>
#include <Eigen/Core>
#include <Eigen/Sparse>
#include <Eigen/Geometry>
#include <fast_obj.h>
#include "fstream"
class Mesh {
public:
Mesh(const std::string &pat... | 22.413793 | 69 | 0.702308 |
5819fdf06c38ffe59065098a575b677692038662 | 7,076 | sql | SQL | database/hktool.sql | pavanpawar4591/AWS-House-Keeping-Tool | f03b5f22c57ac4fc6c51dd63ad0ccf78cd2a0ee2 | [
"Apache-2.0"
] | null | null | null | database/hktool.sql | pavanpawar4591/AWS-House-Keeping-Tool | f03b5f22c57ac4fc6c51dd63ad0ccf78cd2a0ee2 | [
"Apache-2.0"
] | 11 | 2017-04-12T04:58:03.000Z | 2017-10-04T11:51:31.000Z | database/hktool.sql | pavanpawar4591/AWS-House-Keeping-Tool | f03b5f22c57ac4fc6c51dd63ad0ccf78cd2a0ee2 | [
"Apache-2.0"
] | 1 | 2021-11-24T07:47:43.000Z | 2021-11-24T07:47:43.000Z | -- MySQL dump 10.13 Distrib 5.7.14, for Win64 (x86_64)
--
-- Host: localhost Database: hktool
-- ------------------------------------------------------
-- Server version 5.7.14
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!4... | 43.679012 | 442 | 0.723431 |
95e113803e44b214bf794fe59f49c0399ddc0e4c | 79 | css | CSS | test/fixtures/css-http-dep/index.out.css | rlugojr/duo | a01cfa748619c963d5c9824273db2e7390c92eb2 | [
"Unlicense"
] | 1,257 | 2015-01-01T05:29:33.000Z | 2021-11-06T13:26:22.000Z | test/fixtures/css-http-dep/index.out.css | ioncodes/duo | a01cfa748619c963d5c9824273db2e7390c92eb2 | [
"Unlicense"
] | 117 | 2015-01-05T19:56:54.000Z | 2018-08-01T19:11:28.000Z | test/fixtures/css-http-dep/index.out.css | ioncodes/duo | a01cfa748619c963d5c9824273db2e7390c92eb2 | [
"Unlicense"
] | 105 | 2015-01-07T08:36:21.000Z | 2021-03-26T13:45:34.000Z | @import "http://github.com";
body {
background: url('http://google.com');
}
| 13.166667 | 39 | 0.620253 |
1319686955ba09230de5afe821a9026e67b22c02 | 1,248 | h | C | components/enhanced_bookmarks/android/enhanced_bookmarks_bridge.h | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/enhanced_bookmarks/android/enhanced_bookmarks_bridge.h | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/enhanced_bookmarks/android/enhanced_bookmarks_bridge.h | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:23:37.000Z | 2020-11-04T07:23:37.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARKS_BRIDGE_H_
#define COMPONENTS_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARKS_BRIDGE_H_
#in... | 28.363636 | 78 | 0.71875 |
f016663abaaca777953a37d629e3e996752fe3d9 | 1,438 | js | JavaScript | test/modules/util.js | stalniy/cytoscape.js | 67d18c735a8c6b9a45974cf7cfff53ce4c6dcba2 | [
"MIT"
] | 2 | 2019-06-12T09:46:40.000Z | 2020-01-19T00:51:23.000Z | test/modules/util.js | stalniy/cytoscape.js | 67d18c735a8c6b9a45974cf7cfff53ce4c6dcba2 | [
"MIT"
] | null | null | null | test/modules/util.js | stalniy/cytoscape.js | 67d18c735a8c6b9a45974cf7cfff53ce4c6dcba2 | [
"MIT"
] | null | null | null | import { expect } from 'chai';
import { hashString, hashInt, hashIntsArray } from '../../src/util';
describe('util', function(){
describe('hash', function(){
it('gives same result with seed for one-char strings', function(){
var h1 = hashString('a');
var h2 = hashString('b', h1);
var h3 = hash... | 23.966667 | 75 | 0.560501 |
5a7579f2f300cb7c1a1dcb275658951f8e4f84b3 | 594 | sql | SQL | db/views/audit_master.sql | anykeyh/cocca-api | 61b06d38f5556cd7bd8fb1baab4d35bbce984393 | [
"Apache-2.0"
] | null | null | null | db/views/audit_master.sql | anykeyh/cocca-api | 61b06d38f5556cd7bd8fb1baab4d35bbce984393 | [
"Apache-2.0"
] | null | null | null | db/views/audit_master.sql | anykeyh/cocca-api | 61b06d38f5556cd7bd8fb1baab4d35bbce984393 | [
"Apache-2.0"
] | 2 | 2018-08-10T22:08:47.000Z | 2020-10-28T18:52:10.000Z | DROP VIEW IF EXISTS audit_master;
DROP TABLE IF EXISTS audit_master;
CREATE VIEW audit_master AS
SELECT
audit_transaction,
audit_user,
audit_login,
audit_time,
audit_ip
FROM dblink('dbname=registry user=coccauser password=coccauser', '
SELECT
audit_transaction,
audit_user,
audit_login,
audi... | 22.846154 | 66 | 0.710438 |
95bf303a35d58da299c6b0ef27e34f83d2a91583 | 972 | css | CSS | src/js/components/bui-weex/css/actionsheet.css | laohanW/LivePlayer | 75cc2392b0fe01b744f6f6621ecb3444a840f06f | [
"MIT"
] | null | null | null | src/js/components/bui-weex/css/actionsheet.css | laohanW/LivePlayer | 75cc2392b0fe01b744f6f6621ecb3444a840f06f | [
"MIT"
] | null | null | null | src/js/components/bui-weex/css/actionsheet.css | laohanW/LivePlayer | 75cc2392b0fe01b744f6f6621ecb3444a840f06f | [
"MIT"
] | 1 | 2020-06-10T02:09:24.000Z | 2020-06-10T02:09:24.000Z | .bui-actionsheet-box {
position: fixed;
left: 0px;
right: 0px;
margin: 50px;
margin-top: 0px;
flex-direction: column;
overflow: hidden; }
.bui-actionsheet-top {
border-radius: 10px;
overflow: hidden;
background-color: #ffffff; }
.bui-actionsheet-bottom {
margin-top: 15px; }
.bui-actionsheet-tit... | 18.692308 | 43 | 0.675926 |
b175298db68309e77e8083c0c0084297e11be8ef | 706 | css | CSS | web2py/applications/ControleEstoque/static/css/padrao_Nav.css | GuizaoBR/Controle-Estoque | b4d7e3c665a14ea77224fa448aaf7e3d4d6fe4ed | [
"Apache-2.0"
] | null | null | null | web2py/applications/ControleEstoque/static/css/padrao_Nav.css | GuizaoBR/Controle-Estoque | b4d7e3c665a14ea77224fa448aaf7e3d4d6fe4ed | [
"Apache-2.0"
] | null | null | null | web2py/applications/ControleEstoque/static/css/padrao_Nav.css | GuizaoBR/Controle-Estoque | b4d7e3c665a14ea77224fa448aaf7e3d4d6fe4ed | [
"Apache-2.0"
] | null | null | null | @font-face{
font-family: 'Font_Nav';
src: url("../fonts/tartinescriptregular.ttf");
}
@font-face{
font-family: 'Font_Prod';
src: url("../fonts/CANDARA.TTF");
}
body{
background-image: url('../imagens/CacauBack.png') ;
}
/*
MENU
*/
.BarraNav{
font-family:... | 17.219512 | 56 | 0.558074 |
134fb76a4559c783cb63ef7a5afc2d5a06f9c2a1 | 227 | h | C | Pods/Headers/Public/XA_Category/CTMediator+XA.h | linkking/XMainProject | a95737cb810dc6c39e19e182f21a23a80031db97 | [
"MIT"
] | null | null | null | Pods/Headers/Public/XA_Category/CTMediator+XA.h | linkking/XMainProject | a95737cb810dc6c39e19e182f21a23a80031db97 | [
"MIT"
] | null | null | null | Pods/Headers/Public/XA_Category/CTMediator+XA.h | linkking/XMainProject | a95737cb810dc6c39e19e182f21a23a80031db97 | [
"MIT"
] | null | null | null | //
// CTMediator+XA.h
// XA_Category
//
// Created by zhulei on 2018/4/26.
// Copyright © 2018年 zs. All rights reserved.
//
#import "CTMediator.h"
@interface CTMediator (XA)
-(UIViewController *)XA_viewController;
@end
| 14.1875 | 46 | 0.682819 |
a1802b735b79a33a07b587b7a14a15136031d8dd | 16,409 | h | C | include/seqan/align/gaps_iterator_base.h | h-2/SeqAnHTS | a1923897fe1bd359136cfd09f0d4c245978c0fce | [
"BSD-3-Clause"
] | 7 | 2017-04-06T12:36:23.000Z | 2021-06-07T11:11:23.000Z | include/seqan/align/gaps_iterator_base.h | DecodeGenetics/SeqAnHTS | 957e8586bf12d49310cbfa7958ad4e6c9402f7a3 | [
"BSD-3-Clause"
] | 3 | 2017-11-22T10:02:27.000Z | 2022-02-21T21:56:03.000Z | include/seqan/align/gaps_iterator_base.h | DecodeGenetics/SeqAnHTS | 957e8586bf12d49310cbfa7958ad4e6c9402f7a3 | [
"BSD-3-Clause"
] | 2 | 2015-06-17T11:44:36.000Z | 2015-11-20T13:09:16.000Z | // ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2015, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... | 32.687251 | 92 | 0.51033 |
c589fccf332a279e8e558a81a69b3d63fb9df7a3 | 963 | sql | SQL | db/migrations/20191102100059_upgrade_activity_log.sql | shardbox/shardbox-core | f6feed28afe49bccf7b018c7dc46940c15f00071 | [
"MIT"
] | 13 | 2019-05-13T13:28:58.000Z | 2021-08-17T05:47:38.000Z | db/migrations/20191102100059_upgrade_activity_log.sql | shardbox/shardbox-core | f6feed28afe49bccf7b018c7dc46940c15f00071 | [
"MIT"
] | 2 | 2020-05-16T13:14:22.000Z | 2021-06-24T12:03:57.000Z | db/migrations/20191102100059_upgrade_activity_log.sql | shardbox/shardbox-core | f6feed28afe49bccf7b018c7dc46940c15f00071 | [
"MIT"
] | null | null | null | -- migrate:up
ALTER TABLE sync_log RENAME TO activity_log;
ALTER TABLE activity_log
ADD COLUMN shard_id bigint REFERENCES shards(id),
ALTER COLUMN repo_id DROP NOT NULL;
ALTER SEQUENCE sync_log_id_seq RENAME TO activity_log_id_seq;
ALTER TABLE activity_log RENAME CONSTRAINT sync_log_pkey TO activity_log_pkey;
AL... | 26.027027 | 94 | 0.824507 |
70c7d24cd7b9337953db42e205f92d665ca7b9ee | 95 | go | Go | content/methods/error-handling.go | brunoborges/golang-vs-java | 28d39b75bf8ce03fb34099844b00c6d8559383c3 | [
"MIT"
] | 19 | 2020-01-28T20:08:18.000Z | 2022-03-19T15:17:54.000Z | content/methods/error-handling.go | brunoborges/golang-vs-java | 28d39b75bf8ce03fb34099844b00c6d8559383c3 | [
"MIT"
] | 1 | 2020-02-06T19:05:55.000Z | 2020-02-06T19:05:55.000Z | content/methods/error-handling.go | brunoborges/golang-vs-java | 28d39b75bf8ce03fb34099844b00c6d8559383c3 | [
"MIT"
] | 6 | 2020-01-30T00:19:31.000Z | 2020-07-22T04:16:59.000Z | i, err := strconv.Atoi("96")
if err != nil {
fmt.Printf("couldn't convert: %v", err)
return
} | 19 | 40 | 0.610526 |
da750f0688ec44ff5a0a72c6d3e2df6795b47e0f | 90,871 | sql | SQL | src/main/resources/db/migration/V18__Data_Load_Project.sql | zhufeilong/c4sg-services | 6a874753d16674bbf070f714a6bf91d7cb06b245 | [
"MIT"
] | 25 | 2017-03-16T23:38:46.000Z | 2020-12-10T02:03:57.000Z | src/main/resources/db/migration/V18__Data_Load_Project.sql | fumba/c4sg-services | 6a874753d16674bbf070f714a6bf91d7cb06b245 | [
"MIT"
] | 302 | 2017-03-14T20:06:30.000Z | 2018-05-24T18:13:50.000Z | src/main/resources/db/migration/V18__Data_Load_Project.sql | fumba/c4sg-services | 6a874753d16674bbf070f714a6bf91d7cb06b245 | [
"MIT"
] | 166 | 2017-03-12T19:32:54.000Z | 2019-05-21T17:58:57.000Z | -- Test data load: Project
INSERT INTO project (name, description, image, organization_id, address, city, state, country, zip, remote, contact_name, contact_phone, contact_email, status)
VALUES ('0Q0rhZ^s0rt&^zgN$cM$lgGlNRV5X#20NgGsz59N6@PKt7TCe@Aw96B!0KLw3!CeojhNZUdY3^Xry#ZF^hW$qC', 'LNiVpIKbnzk0V5KrNJs0f0qdS5yR3FVTi... | 226.610973 | 1,056 | 0.825577 |
f5e212675aaf483723f59113ce0a315255256e18 | 920 | swift | Swift | Sources/UIKitToolbox/Text/Text Field Formatter/TextFieldFormat.swift | apparata/UIKitToolbox | 6a95d7bbfdff0012018b5be3d6d512ffd09750df | [
"MIT"
] | null | null | null | Sources/UIKitToolbox/Text/Text Field Formatter/TextFieldFormat.swift | apparata/UIKitToolbox | 6a95d7bbfdff0012018b5be3d6d512ffd09750df | [
"MIT"
] | null | null | null | Sources/UIKitToolbox/Text/Text Field Formatter/TextFieldFormat.swift | apparata/UIKitToolbox | 6a95d7bbfdff0012018b5be3d6d512ffd09750df | [
"MIT"
] | null | null | null | //
// Copyright © 2016 Apparata AB. All rights reserved.
//
import Foundation
/// Adopt the format protocol to create a format that TextFieldFormatter
/// can use to format a text field on the fly.
///
/// NOTE: The filteredString method will be called before the formattedString
/// method.
public protocol Tex... | 38.333333 | 103 | 0.708696 |
0a28db46a16be002b6c5f8754dc27dd3ed28f2d0 | 414 | h | C | Include/ECGamal/ECGamalVerify.h | vikvych/hierarchy_base | fa2cfed8ca1ffe82b5665d4a615bd205849ae609 | [
"MIT"
] | null | null | null | Include/ECGamal/ECGamalVerify.h | vikvych/hierarchy_base | fa2cfed8ca1ffe82b5665d4a615bd205849ae609 | [
"MIT"
] | null | null | null | Include/ECGamal/ECGamalVerify.h | vikvych/hierarchy_base | fa2cfed8ca1ffe82b5665d4a615bd205849ae609 | [
"MIT"
] | null | null | null | #ifndef HIERARCHY_ECGAMAL_VERIFY_H
#define HIERARCHY_ECGAMAL_VERIFY_H
#include "ECGamal.h"
#include "ECGamalContext.h"
ErrnoT ECContextVerify(bool *Verified,
ECGamalContextT* ECContext);
ErrnoT ECGamalVerify(bool *Verified,
ECGamalContextT* ECContext,
MemoryBuff... | 24.352941 | 51 | 0.649758 |
2177c7ea67774efaaf40ae2e1f2d69288f5b22a4 | 1,475 | rs | Rust | src/api/return_code.rs | Siprj/screeps-rust | ce312f1ed34fdfad588770d3ff5c511277368fd6 | [
"MIT"
] | 1 | 2021-12-27T13:33:38.000Z | 2021-12-27T13:33:38.000Z | src/api/return_code.rs | Siprj/screeps-rust | ce312f1ed34fdfad588770d3ff5c511277368fd6 | [
"MIT"
] | null | null | null | src/api/return_code.rs | Siprj/screeps-rust | ce312f1ed34fdfad588770d3ff5c511277368fd6 | [
"MIT"
] | 1 | 2021-12-27T13:38:43.000Z | 2021-12-27T13:38:43.000Z | use num_derive::FromPrimitive;
use num_traits::FromPrimitive;
#[derive(Debug, PartialEq, Eq, Clone, Copy, Hash, FromPrimitive)]
#[repr(i8)]
/// Type corresponding to `ERR_*` constants. This type is usually return by
/// Screeps API functions.
///
/// Note: Due to Screeps API constants not being injective we had to mer... | 25.877193 | 93 | 0.627119 |
98fab2de363a39e9ede8a5ba6ecb034d3d9a3716 | 7,936 | asm | Assembly | z80/dzx0_fast.asm | pfusik/ZX0 | dcbb75d404c9a438ceab6b082afe37e79d4fa0b1 | [
"BSD-3-Clause"
] | 1 | 2021-09-23T02:28:20.000Z | 2021-09-23T02:28:20.000Z | z80/dzx0_fast.asm | pfusik/ZX0 | dcbb75d404c9a438ceab6b082afe37e79d4fa0b1 | [
"BSD-3-Clause"
] | null | null | null | z80/dzx0_fast.asm | pfusik/ZX0 | dcbb75d404c9a438ceab6b082afe37e79d4fa0b1 | [
"BSD-3-Clause"
] | null | null | null | ;
; Speed-optimized ZX0 decompressor by spke (191 bytes)
;
; ver.00 by spke (27/01-23/03/2021, 191 bytes)
; ver.01 by spke (24/03/2021, 193(+2) bytes - fixed a bug in the initialization)
; ver.01patch2 by uniabis (25/03/2021, 191(-2) bytes - fixed a bug with elias over 8bits)
; ver.01patch3 by uniabis (27/03/2021,... | 31.61753 | 111 | 0.529108 |
97888b128ae4f415b0b4791def3ac20714dac868 | 1,839 | kt | Kotlin | co2Chart/src/main/java/com/alessandro/co2chart/ui/chart/Co2MarkerView.kt | Alexs784/co2-client-android | 2659c1f2109097030572a9e8f05f06cb08103f40 | [
"MIT"
] | null | null | null | co2Chart/src/main/java/com/alessandro/co2chart/ui/chart/Co2MarkerView.kt | Alexs784/co2-client-android | 2659c1f2109097030572a9e8f05f06cb08103f40 | [
"MIT"
] | null | null | null | co2Chart/src/main/java/com/alessandro/co2chart/ui/chart/Co2MarkerView.kt | Alexs784/co2-client-android | 2659c1f2109097030572a9e8f05f06cb08103f40 | [
"MIT"
] | null | null | null | package com.alessandro.co2chart.ui.chart
import android.content.Context
import android.graphics.Typeface
import android.text.SpannableString
import android.text.style.StyleSpan
import com.alessandro.co2chart.R
import com.github.mikephil.charting.components.MarkerView
import com.github.mikephil.charting.data.Entry
impo... | 36.058824 | 95 | 0.682436 |
f7214e46e7451355a00aee57b9fbd461d78cdff6 | 1,522 | h | C | Broadcast/Broadcast/Tools/MyTools/PopView/LJAlertView.h | DistanceLe/Broadcast | f3ff3304ffe423c52c4ab77b7b268494142fff5a | [
"MIT"
] | null | null | null | Broadcast/Broadcast/Tools/MyTools/PopView/LJAlertView.h | DistanceLe/Broadcast | f3ff3304ffe423c52c4ab77b7b268494142fff5a | [
"MIT"
] | null | null | null | Broadcast/Broadcast/Tools/MyTools/PopView/LJAlertView.h | DistanceLe/Broadcast | f3ff3304ffe423c52c4ab77b7b268494142fff5a | [
"MIT"
] | null | null | null | //
// LJAlertView.h
// 7dmallStore
//
// Created by celink on 15/6/30.
// Copyright (c) 2015年 celink. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void(^CommitBlock)(NSInteger flag);
@interface LJAlertView : UIView
/** cancel 不回调, 其他从1开始依次累加 */
+(void)showAlertWithTitle:(NSString*)title
... | 31.061224 | 77 | 0.638633 |
ce888cba909b64c183b0e4af677fdc6720723aa2 | 838 | lua | Lua | Publisher-CombatLogDeaths.lua | DanTup/RareShare | 0cf415d95a9642723511dd4503171f70cbfce6f5 | [
"MIT"
] | null | null | null | Publisher-CombatLogDeaths.lua | DanTup/RareShare | 0cf415d95a9642723511dd4503171f70cbfce6f5 | [
"MIT"
] | null | null | null | Publisher-CombatLogDeaths.lua | DanTup/RareShare | 0cf415d95a9642723511dd4503171f70cbfce6f5 | [
"MIT"
] | null | null | null | local function handleCombatLogDeaths(timeStamp, event, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags)
if event ~= "UNIT_DIED" then return end
local rareID = RareShare:UnitIDFromGuid(destGUID)
local rare = {
ID = RareShare:ToInt(rareID),
Name = d... | 28.896552 | 167 | 0.76253 |
4e5a879f6ce051315b661a856ed671d4456695c1 | 1,289 | swift | Swift | ARQuest/Modules/Profile Flow/EditProfile/Presenter/EditProfilePresenter.swift | AntonPoltoratskyi/AR-Quest | bbe223329ec5c6933781ec32fcef5d95f747b4f3 | [
"MIT"
] | null | null | null | ARQuest/Modules/Profile Flow/EditProfile/Presenter/EditProfilePresenter.swift | AntonPoltoratskyi/AR-Quest | bbe223329ec5c6933781ec32fcef5d95f747b4f3 | [
"MIT"
] | 1 | 2018-07-19T23:12:50.000Z | 2018-07-19T23:12:50.000Z | ARQuest/Modules/Profile Flow/EditProfile/Presenter/EditProfilePresenter.swift | AntonPoltoratskyi/AR-Quest | bbe223329ec5c6933781ec32fcef5d95f747b4f3 | [
"MIT"
] | null | null | null | //
// EditProfilePresenter.swift
// ARQuest
//
// Created by Anton Poltoratskyi on 22.04.2018.
// Copyright © 2018 Anton Poltoratskyi. All rights reserved.
//
import UIKit
final class EditProfilePresenter: Presenter, EditProfileModuleInput {
typealias View = EditProfileViewInput
typealias Interactor ... | 22.614035 | 69 | 0.660978 |
2f4637f21a4c56a3a6c3aebad2e6a0d73f99c7a7 | 1,548 | php | PHP | app/application/views/projects/index.php | coffee4code/simple-issue | d8def38b8aa4e8e0280575e60ce871893d82af28 | [
"MIT"
] | 93 | 2015-01-07T14:26:35.000Z | 2021-02-03T17:36:54.000Z | app/application/views/projects/index.php | smallyin/simple-issue | d8def38b8aa4e8e0280575e60ce871893d82af28 | [
"MIT"
] | 64 | 2015-02-07T13:30:22.000Z | 2021-05-08T17:33:51.000Z | app/application/views/projects/index.php | smallyin/simple-issue | d8def38b8aa4e8e0280575e60ce871893d82af28 | [
"MIT"
] | 68 | 2015-01-30T09:35:40.000Z | 2022-03-25T00:27:38.000Z | <h3>
<?php echo __('tinyissue.projects');?>
<span><?php echo __('tinyissue.projects_description');?></span>
</h3>
<div class="pad">
<ul class="tabs">
<li <?php echo $active == 'active' ? 'class="active"' : ''; ?>>
<a href="<?php echo URL::to('projects'); ?>">
<?php echo $active_count == 1 ? '1 '.__('tinyi... | 29.769231 | 177 | 0.537468 |
48fe4e985ff55a9aaf6b65baf387af8589d6f8d8 | 9,658 | c | C | mi8/drivers/spmi/spmi-pmic-arb-debug.c | wqk317/mi8_kernel_source | e3482d1a7ea6021de2fc8f3178496b4b043bb727 | [
"MIT"
] | null | null | null | mi8/drivers/spmi/spmi-pmic-arb-debug.c | wqk317/mi8_kernel_source | e3482d1a7ea6021de2fc8f3178496b4b043bb727 | [
"MIT"
] | null | null | null | mi8/drivers/spmi/spmi-pmic-arb-debug.c | wqk317/mi8_kernel_source | e3482d1a7ea6021de2fc8f3178496b4b043bb727 | [
"MIT"
] | 1 | 2020-03-28T11:26:15.000Z | 2020-03-28T11:26:15.000Z | /*
* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in ... | 25.962366 | 91 | 0.710499 |
989e0a6d2fda484da887ade1dc6969cf75bf993f | 1,355 | html | HTML | Lab3/Lab3/templates/index.html | sanchaez/python_labs | b90ab02c0fae82511c3db5a054b7ea8dda5d0a22 | [
"MIT"
] | null | null | null | Lab3/Lab3/templates/index.html | sanchaez/python_labs | b90ab02c0fae82511c3db5a054b7ea8dda5d0a22 | [
"MIT"
] | null | null | null | Lab3/Lab3/templates/index.html | sanchaez/python_labs | b90ab02c0fae82511c3db5a054b7ea8dda5d0a22 | [
"MIT"
] | null | null | null | <!doctype html>
<html>
<head>
<title>lab 2</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="/lab2/static/theme.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="/lab2/static/scripts.js... | 34.74359 | 104 | 0.590406 |
75f2eb99e3f3af9365f8345a90deec0ccbf80804 | 1,783 | php | PHP | hphp/test/slow/parser/extension/body_namespaces.php | donsbot/hhvm | ac98a590f75c569e1249b6c1145c7512c7bd240e | [
"PHP-3.01",
"Zend-2.0"
] | 9,491 | 2015-01-01T00:30:28.000Z | 2022-03-31T20:22:11.000Z | hphp/test/slow/parser/extension/body_namespaces.php | donsbot/hhvm | ac98a590f75c569e1249b6c1145c7512c7bd240e | [
"PHP-3.01",
"Zend-2.0"
] | 4,796 | 2015-01-01T00:26:31.000Z | 2022-03-31T01:09:05.000Z | hphp/test/slow/parser/extension/body_namespaces.php | donsbot/hhvm | ac98a590f75c569e1249b6c1145c7512c7bd240e | [
"PHP-3.01",
"Zend-2.0"
] | 2,126 | 2015-01-01T11:13:29.000Z | 2022-03-28T19:58:15.000Z | <?hh
namespace {
class SomethingElse {}
}
namespace N1 {
trait T1 { public function ignoreme1() {} }
interface I1 { public function ignoreme2(); }
interface I2 { public function ignoreme3(); }
interface I3 extends I1, I2 { public function ignoreme4(); }
class C1 { public function ignoreme5() {} }
abs... | 26.220588 | 68 | 0.711722 |
39c4395ab44f73de22a611ba3438d01d3351c39a | 1,153 | js | JavaScript | node_modules/@wordpress/rich-text/build/is-active-list-type.js | ajchdev/outside-event | edaa958d74d5a1431f617bcbcef0d2e838103bd2 | [
"MIT"
] | null | null | null | node_modules/@wordpress/rich-text/build/is-active-list-type.js | ajchdev/outside-event | edaa958d74d5a1431f617bcbcef0d2e838103bd2 | [
"MIT"
] | null | null | null | node_modules/@wordpress/rich-text/build/is-active-list-type.js | ajchdev/outside-event | edaa958d74d5a1431f617bcbcef0d2e838103bd2 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isActiveListType = isActiveListType;
var _getLineIndex = require("./get-line-index");
/**
* Internal dependencies
*/
/** @typedef {import('./create').RichTextValue} RichTextValue */
/**
* Whether or not the selected list has ... | 29.564103 | 80 | 0.673027 |
47ee4b6ff2134e349df3aa16df1fecd517c79c7e | 2,838 | css | CSS | src/Ufuturelabs/Ufuturedesk/MainBundle/Resources/public/css/styles.css | avegao/ufuturedesk-server | aeefc8a5591f0e72840d81a590a6517e1a21be6b | [
"Apache-2.0"
] | 1 | 2018-02-20T17:54:41.000Z | 2018-02-20T17:54:41.000Z | src/Ufuturelabs/Ufuturedesk/MainBundle/Resources/public/css/styles.css | avegao/ufuturedesk-server | aeefc8a5591f0e72840d81a590a6517e1a21be6b | [
"Apache-2.0"
] | null | null | null | src/Ufuturelabs/Ufuturedesk/MainBundle/Resources/public/css/styles.css | avegao/ufuturedesk-server | aeefc8a5591f0e72840d81a590a6517e1a21be6b | [
"Apache-2.0"
] | null | null | null | body {
font-family: Helvetica, sans-serif;
background-color: white;
margin: 0px;
}
nav {
color: #7f9cff;
background-color: #525252;
width: 25%;
max-width: 250px;
min-width: 130px;
min-height: 100%;
font-size: 12px;
position: fixed;
top: 0px;
left: 0px;
z-index: 2;
}
nav ul {
list-style-t... | 14.479592 | 48 | 0.675476 |
4f731343665b1927a4318c7cd36a5a07b039ab8c | 1,445 | sql | SQL | api/api_sources/schema-migration-sql/CountrySchema/CountrySchema.sql | boost-entropy-repos-org/lucy-web | fddff7bb8167a0c54d4784d78259115f33ee0706 | [
"Apache-2.0"
] | 2 | 2020-04-14T19:10:37.000Z | 2020-07-27T22:20:20.000Z | api/api_sources/schema-migration-sql/CountrySchema/CountrySchema.sql | boost-entropy-repos-org/lucy-web | fddff7bb8167a0c54d4784d78259115f33ee0706 | [
"Apache-2.0"
] | 589 | 2019-04-17T19:07:01.000Z | 2022-03-08T23:40:35.000Z | api/api_sources/schema-migration-sql/CountrySchema/CountrySchema.sql | boost-entropy-repos-org/lucy-web | fddff7bb8167a0c54d4784d78259115f33ee0706 | [
"Apache-2.0"
] | 8 | 2020-07-13T23:30:43.000Z | 2022-02-02T16:13:35.000Z | -- ### Creating Table: country ### --
CREATE TABLE country ();
ALTER TABLE country ADD COLUMN country_code VARCHAR(3) PRIMARY KEY;
ALTER TABLE country ADD COLUMN description VARCHAR(100) NOT NULL;
-- ### Creating Comments on table ### --
COMMENT ON TABLE country IS 'Standard ISO-3166 code... | 40.138889 | 133 | 0.743253 |
c59a4e6c1999a6c7cd7b9b4553f9e2db4274eabd | 31 | kts | Kotlin | settings.gradle.kts | kortov/spring-boot-telegram-bot | efa84e83a62bac0d64faef573558255b2e534d48 | [
"MIT"
] | null | null | null | settings.gradle.kts | kortov/spring-boot-telegram-bot | efa84e83a62bac0d64faef573558255b2e534d48 | [
"MIT"
] | 23 | 2019-11-07T06:34:00.000Z | 2020-04-25T06:00:41.000Z | settings.gradle.kts | kortov/spring-boot-telegram-bot | efa84e83a62bac0d64faef573558255b2e534d48 | [
"MIT"
] | 3 | 2019-11-12T13:08:34.000Z | 2020-04-09T18:22:16.000Z | rootProject.name = "bootigram"
| 15.5 | 30 | 0.774194 |
332c81f4c480a3b1d74e9ed525d3b78c37420632 | 8,717 | py | Python | xos/synchronizer/pull_steps/test_pull_olts.py | iecedge/olt-service | 0aac847ca228f2c20a2b57c783a414f185a0116c | [
"Apache-2.0"
] | null | null | null | xos/synchronizer/pull_steps/test_pull_olts.py | iecedge/olt-service | 0aac847ca228f2c20a2b57c783a414f185a0116c | [
"Apache-2.0"
] | null | null | null | xos/synchronizer/pull_steps/test_pull_olts.py | iecedge/olt-service | 0aac847ca228f2c20a2b57c783a414f185a0116c | [
"Apache-2.0"
] | null | null | null | # Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 39.265766 | 110 | 0.609958 |
f04fe6a0ae66518e152066d2f7472e765f8bd343 | 2,173 | py | Python | tests/test_cli.py | KoichiYasuoka/pynlpir | 8d5e994796a2b5d513f7db8d76d7d24a85d531b1 | [
"MIT"
] | 537 | 2015-01-12T09:59:57.000Z | 2022-03-29T09:22:30.000Z | tests/test_cli.py | KoichiYasuoka/pynlpir | 8d5e994796a2b5d513f7db8d76d7d24a85d531b1 | [
"MIT"
] | 110 | 2015-01-02T13:17:56.000Z | 2022-03-24T07:43:02.000Z | tests/test_cli.py | KoichiYasuoka/pynlpir | 8d5e994796a2b5d513f7db8d76d7d24a85d531b1 | [
"MIT"
] | 150 | 2015-01-21T01:58:56.000Z | 2022-02-23T16:16:40.000Z | """Unit tests for pynlpir's cli.py file."""
import os
import shutil
import stat
import unittest
try:
from urllib.error import URLError
from urllib.request import urlopen
except ImportError:
from urllib2 import URLError, urlopen
from click.testing import CliRunner
from pynlpir import cli
TEST_DIR = os.pat... | 32.432836 | 73 | 0.645651 |
7e727219bf56d284651d3c22a09348ca616fc77b | 640 | swift | Swift | Tests/JasonTests/Models/Emoji.swift | VaslD/Jason | da4c466083318e7595a5d924037cb4822640af76 | [
"ISC"
] | null | null | null | Tests/JasonTests/Models/Emoji.swift | VaslD/Jason | da4c466083318e7595a5d924037cb4822640af76 | [
"ISC"
] | null | null | null | Tests/JasonTests/Models/Emoji.swift | VaslD/Jason | da4c466083318e7595a5d924037cb4822640af76 | [
"ISC"
] | null | null | null | import Foundation
import Jason
public struct Emoji: Decodable {
public let character: Character
public let string: String
public init(from decoder: Decoder) throws {
let json = try Jason(from: decoder)
guard let string = json["string"].rawValue as? String, !string.isEmpty else {
... | 30.47619 | 85 | 0.628125 |
3df03b9d4c435818081e1766842ba7330aa778fc | 169 | kt | Kotlin | app/src/main/kotlin/me/mataha/misaki/repository/Module.kt | mataha/puzzle-solutions | 82fac9dae62136da8217e21ef5a0d6984d6310e0 | [
"MIT"
] | null | null | null | app/src/main/kotlin/me/mataha/misaki/repository/Module.kt | mataha/puzzle-solutions | 82fac9dae62136da8217e21ef5a0d6984d6310e0 | [
"MIT"
] | null | null | null | app/src/main/kotlin/me/mataha/misaki/repository/Module.kt | mataha/puzzle-solutions | 82fac9dae62136da8217e21ef5a0d6984d6310e0 | [
"MIT"
] | null | null | null | package me.mataha.misaki.repository
import org.koin.dsl.module
internal val module = module {
single<PuzzleRepository> {
DefaultPuzzleRepository()
}
}
| 16.9 | 35 | 0.715976 |
3b6f5743674ea792be381245817a398020372db4 | 8,949 | c | C | d/magic/temples/gab/urgoth.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/magic/temples/gab/urgoth.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/magic/temples/gab/urgoth.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | #include <std.h>
#include <daemons.h>
#include "../loviatar.h"
inherit MONSTER;
int FLAG,FLAG1,num,timer,timer1;
object ob;
void do_check();
void faith_ck(object targ);
void create(){
::create();
set_name("Urgoth");
set_short("Urgoth, Head Inquisitor");
set_id(({"monster","Urgoth","head inquisitor","urgoth",
... | 30.542662 | 89 | 0.618058 |
c7e4634788b596714ea41ac53c6355eb29eadd4e | 2,179 | java | Java | src/me/buhlmann/isoengine/ui/text/TrueTypeFont.java | SomeDudeOnThisPage/isoengine | 2dd3e75e39ec042a0f8590e2557224152436d802 | [
"WTFPL"
] | null | null | null | src/me/buhlmann/isoengine/ui/text/TrueTypeFont.java | SomeDudeOnThisPage/isoengine | 2dd3e75e39ec042a0f8590e2557224152436d802 | [
"WTFPL"
] | null | null | null | src/me/buhlmann/isoengine/ui/text/TrueTypeFont.java | SomeDudeOnThisPage/isoengine | 2dd3e75e39ec042a0f8590e2557224152436d802 | [
"WTFPL"
] | null | null | null | package me.buhlmann.isoengine.ui.text;
import me.buhlmann.isoengine.gfx.texture.TextureAtlas;
import me.buhlmann.isoengine.gfx.util.GFXUtil;
import me.buhlmann.isoengine.gfx.util.InstancedRenderingVertexArray;
import org.joml.Vector2f;
import java.io.IOException;
import java.nio.ByteBuffer;
import static org.lwjgl.o... | 20.951923 | 92 | 0.627811 |
e517bdc49bb720bd510df9c5770f2a6d3856daac | 191 | ts | TypeScript | src/app/config/index.ts | sparshpstpl/AngularAssessment | 0af9f72edc364e7c070866ba1a4a2117afb13b16 | [
"MIT"
] | null | null | null | src/app/config/index.ts | sparshpstpl/AngularAssessment | 0af9f72edc364e7c070866ba1a4a2117afb13b16 | [
"MIT"
] | null | null | null | src/app/config/index.ts | sparshpstpl/AngularAssessment | 0af9f72edc364e7c070866ba1a4a2117afb13b16 | [
"MIT"
] | null | null | null | export const Endpoints = {
login: 'login',
register: 'register',
userassessments: 'userassessments',
userassessmentGraph: 'userassessment/graph',
users: 'users',
}; | 23.875 | 48 | 0.649215 |
26a750f97e1f311e49152d6886b0aa6086b1147b | 2,291 | java | Java | Sunno-Android-Client/app/src/main/java/com/sunno/Main/ui/Fragment/Album/AlbumResponseFragment.java | safeer2978/sunno | 724e3051870665bd4ad8c5c9a9ff67b1636bd8ca | [
"Unlicense"
] | 1 | 2022-03-03T10:37:26.000Z | 2022-03-03T10:37:26.000Z | Sunno-Android-Client/app/src/main/java/com/sunno/Main/ui/Fragment/Album/AlbumResponseFragment.java | safeer2978/sunno | 724e3051870665bd4ad8c5c9a9ff67b1636bd8ca | [
"Unlicense"
] | null | null | null | Sunno-Android-Client/app/src/main/java/com/sunno/Main/ui/Fragment/Album/AlbumResponseFragment.java | safeer2978/sunno | 724e3051870665bd4ad8c5c9a9ff67b1636bd8ca | [
"Unlicense"
] | null | null | null | package com.sunno.Main.ui.Fragment.Album;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import andro... | 31.383562 | 132 | 0.699694 |
fcf9bf00a3fe7834fade55b7dfc5d87812ea4dfe | 601 | css | CSS | src/components/App/GizmoTranslateOffset.css | seleb/boxboxhtml | a66f2e1c337a18a6a9250ad7795a7e350696c146 | [
"MIT"
] | 1 | 2019-01-13T13:33:20.000Z | 2019-01-13T13:33:20.000Z | src/components/App/GizmoTranslateOffset.css | seleb/boxboxhtml | a66f2e1c337a18a6a9250ad7795a7e350696c146 | [
"MIT"
] | null | null | null | src/components/App/GizmoTranslateOffset.css | seleb/boxboxhtml | a66f2e1c337a18a6a9250ad7795a7e350696c146 | [
"MIT"
] | null | null | null | .gizmo-translate-offset .gizmo-offset {
position: absolute;
bottom: 50%;
left: 50%;
opacity: 0.75;
pointer-events: initial;
cursor: move;
}
.gizmo-translate-offset .left.right.top.bottom {
width: 35px;
height: 35px;
background: cyan;
border-bottom: solid 5px red;
border-left: solid 5px green;
}
.gizmo-tran... | 17.676471 | 55 | 0.712146 |
e78006120b490df936bc9f3aa06e9b531388904b | 701 | js | JavaScript | httpdocs/assets/js/src/main.js | WsCandy/Floppy | 84c59987a789a822f3b80fcd978d1a8c98396874 | [
"MIT"
] | null | null | null | httpdocs/assets/js/src/main.js | WsCandy/Floppy | 84c59987a789a822f3b80fcd978d1a8c98396874 | [
"MIT"
] | null | null | null | httpdocs/assets/js/src/main.js | WsCandy/Floppy | 84c59987a789a822f3b80fcd978d1a8c98396874 | [
"MIT"
] | null | null | null | window.propFuncs = {
isVisible__ready: function() {
this.init = function(element, tolerance) {
if(!element || 1 !== element.nodeType) {
return false;
}
tolerance = tolerance || 0;
var html =... | 23.366667 | 111 | 0.392297 |
0cec7a7b14ee446e6efc190805ad0c86fcf9567d | 2,565 | py | Python | test/python/transpiler/test_transpile.py | filemaster/qiskit-terra | 8672c407a5a0e34405315f82d5ad5847916e857e | [
"Apache-2.0"
] | null | null | null | test/python/transpiler/test_transpile.py | filemaster/qiskit-terra | 8672c407a5a0e34405315f82d5ad5847916e857e | [
"Apache-2.0"
] | null | null | null | test/python/transpiler/test_transpile.py | filemaster/qiskit-terra | 8672c407a5a0e34405315f82d5ad5847916e857e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2018, IBM.
#
# This source code is licensed under the Apache License, Version 2.0 found in
# the LICENSE.txt file in the root directory of this source tree.
# pylint: disable=redefined-builtin
"""Tests basic functionality of the transpile function"""
from qiskit import QuantumReg... | 34.2 | 100 | 0.665107 |
ff51085f58c226a60a507a0f80eceb824c3c0590 | 452 | sql | SQL | tests/queries/0_stateless/01548_uncomparable_columns_in_keys.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 15,577 | 2019-09-23T11:57:53.000Z | 2022-03-31T18:21:48.000Z | tests/queries/0_stateless/01548_uncomparable_columns_in_keys.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 16,476 | 2019-09-23T11:47:00.000Z | 2022-03-31T23:06:01.000Z | tests/queries/0_stateless/01548_uncomparable_columns_in_keys.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 3,633 | 2019-09-23T12:18:28.000Z | 2022-03-31T15:55:48.000Z | DROP TABLE IF EXISTS uncomparable_keys;
CREATE TABLE foo (id UInt64, key AggregateFunction(max, UInt64)) ENGINE MergeTree ORDER BY key; --{serverError 549}
CREATE TABLE foo (id UInt64, key AggregateFunction(max, UInt64)) ENGINE MergeTree PARTITION BY key; --{serverError 549}
CREATE TABLE foo (id UInt64, key Aggregat... | 45.2 | 131 | 0.780973 |
859a455846966e8f8b7db4a095d8673b195b4ae5 | 568 | js | JavaScript | test.js | sjlevine/swank-client-js | e5c82f459d278fb97c085547755139f701afdbd5 | [
"MIT"
] | 16 | 2015-09-11T04:36:12.000Z | 2020-02-11T12:55:39.000Z | test.js | sjlevine/swank-client-js | e5c82f459d278fb97c085547755139f701afdbd5 | [
"MIT"
] | 4 | 2016-07-25T20:21:28.000Z | 2018-07-06T02:52:33.000Z | test.js | neil-lindquist/swank-client | 8d4355ab1fb55b5d15c4c0497a91860b3b87fb05 | [
"MIT"
] | 6 | 2016-06-29T10:41:22.000Z | 2018-07-22T16:16:30.000Z | var Swank = require('./lib/client.js');
var sc = new Swank.Client("localhost", 4005);
sc.on('disconnect', function() {
console.log("Disconnected!")
})
sc.connect("localhost", 4005)
.then(function() {
console.log("Connected!!");
return sc.initialize();})
.then(function() {
console.log("Autodoc");
// retur... | 23.666667 | 70 | 0.635563 |
041d6889890d7273fe499d15e86cc595325def51 | 15,051 | js | JavaScript | public/js/audio/nwffacim/2006/092306.js | Christ-Mind-Teachings/cmi-original | 4397a750b7d9ec7e234f091d3acbaae73b40e9ad | [
"MIT"
] | null | null | null | public/js/audio/nwffacim/2006/092306.js | Christ-Mind-Teachings/cmi-original | 4397a750b7d9ec7e234f091d3acbaae73b40e9ad | [
"MIT"
] | null | null | null | public/js/audio/nwffacim/2006/092306.js | Christ-Mind-Teachings/cmi-original | 4397a750b7d9ec7e234f091d3acbaae73b40e9ad | [
"MIT"
] | null | null | null | var cmiAudioTimingData = {
"base": "/nwffacim/2006/092306/",
"title": "Sep 23, 2006 T12.4 The Two Emotions",
"time": [{
"id": "p0",
"seconds": 0
}, {
"id": "p1",
"seconds": 10.979425472
}, {
"id": "p2",
"seconds": 36.106335865
}, {
... | 22.397321 | 52 | 0.376719 |
9681609d96bb53fc86882639125c93383de5ba4c | 1,279 | php | PHP | tests/Model/ExpectedDispatchedEventCollection.php | webignition/basil-worker | 8d42fb0f3978df0f2e37fb62d1351dcd6e722234 | [
"MIT"
] | null | null | null | tests/Model/ExpectedDispatchedEventCollection.php | webignition/basil-worker | 8d42fb0f3978df0f2e37fb62d1351dcd6e722234 | [
"MIT"
] | 567 | 2020-09-15T09:21:07.000Z | 2021-06-24T09:31:26.000Z | tests/Model/ExpectedDispatchedEventCollection.php | webignition/basil-worker-web | f0d773070bb9337f345292adefda270c826ae8f1 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace App\Tests\Model;
/**
* @implements \ArrayAccess<int, ExpectedDispatchedEvent>
*/
class ExpectedDispatchedEventCollection implements \ArrayAccess
{
/**
* @var ExpectedDispatchedEvent[]
*/
private array $expectedDispatchedEvents;
/**
* @param array... | 23.254545 | 106 | 0.634871 |
969375d83840d6063cecc51cd02a922b99dc16a1 | 4,602 | html | HTML | test.html | belowthetree/WWW | aa02fb6e024a5a3c8eb48c52c6f295fee538a9b4 | [
"MIT"
] | null | null | null | test.html | belowthetree/WWW | aa02fb6e024a5a3c8eb48c52c6f295fee538a9b4 | [
"MIT"
] | null | null | null | test.html | belowthetree/WWW | aa02fb6e024a5a3c8eb48c52c6f295fee538a9b4 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>c语言</title>
<link rel="stylesheet" href="../bootstrap-4.3.1-dist/bootstrap-4.3.1-dist/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="../bootstrap-4.3.1-dist/bootstrap-4.3.1-dist/css/bootstrap-grid.css... | 52.896552 | 124 | 0.472186 |
a17f7170177562ceffb919eb286ae3529c9a4dfc | 464 | h | C | YubiKit/YubiKit/Connections/Shared/Errors/YKFManagementError.h | boxatom/yubikit-ios | b0b1b0a39c8c06512e87555e679d7c71b7b46da3 | [
"Apache-2.0"
] | 1 | 2021-06-19T05:39:43.000Z | 2021-06-19T05:39:43.000Z | YubiKit/YubiKit/Connections/Shared/Errors/YKFManagementError.h | boxatom/yubikit-ios | b0b1b0a39c8c06512e87555e679d7c71b7b46da3 | [
"Apache-2.0"
] | null | null | null | YubiKit/YubiKit/Connections/Shared/Errors/YKFManagementError.h | boxatom/yubikit-ios | b0b1b0a39c8c06512e87555e679d7c71b7b46da3 | [
"Apache-2.0"
] | null | null | null | //
// YKFManagementError.h
// YubiKit
//
// Created by Irina Makhalova on 2/10/20.
// Copyright © 2020 Yubico. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "YKFSessionError.h"
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, YKFManagementErrorCode) {
/*! Key returned malformed response... | 19.333333 | 53 | 0.752155 |
27dddc3842db2620f99690f4bbc3bb37f7a9a4a7 | 3,964 | css | CSS | css/navigation.css | viv-b/footprints-preschool | c256ecd4b874e70a4aa6151be6ab90eef868c809 | [
"MIT"
] | null | null | null | css/navigation.css | viv-b/footprints-preschool | c256ecd4b874e70a4aa6151be6ab90eef868c809 | [
"MIT"
] | null | null | null | css/navigation.css | viv-b/footprints-preschool | c256ecd4b874e70a4aa6151be6ab90eef868c809 | [
"MIT"
] | null | null | null | .navigation-wrapper {
display: none;
}
.toggle-container {
background: #fff;
}
/* See button.css for rest of styling for this button */
#mobile-menu-toggle {
cursor: pointer;
}
#mobile-logo {
max-height: 60px;
}
.mobile-icon img {
margin-bottom: 2rem;
padding: 20px 60px 0 0;
}
.position-left.is-tr... | 21.543478 | 56 | 0.556509 |
498bd09aa83c1ab40022021bc95c4010235e3e34 | 11,776 | html | HTML | portfolio/src/main/webapp/index.html | Tochukwuibe/software-product-sprint | 2794b0c49d35e027152bc35daba01f845b1724e1 | [
"Apache-2.0"
] | null | null | null | portfolio/src/main/webapp/index.html | Tochukwuibe/software-product-sprint | 2794b0c49d35e027152bc35daba01f845b1724e1 | [
"Apache-2.0"
] | 1 | 2020-03-02T01:04:36.000Z | 2020-03-02T01:04:36.000Z | portfolio/src/main/webapp/index.html | Tochukwuibe/software-product-sprint | 2794b0c49d35e027152bc35daba01f845b1724e1 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Toch's Portfolio</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1a... | 40.467354 | 120 | 0.460258 |
1701b3f4d43e7fa84db6799526d217d5fe10a640 | 993 | h | C | Software/LautIO/src/util/interfaces/interfaces.h | olell/LautIO | 3f3d597898e63726776e36444001607660b2d9c7 | [
"MIT"
] | 3 | 2021-04-19T16:21:47.000Z | 2021-07-09T18:26:39.000Z | Software/LautIO/src/util/interfaces/interfaces.h | olell/LautIO | 3f3d597898e63726776e36444001607660b2d9c7 | [
"MIT"
] | 8 | 2021-03-16T20:57:51.000Z | 2021-07-15T21:37:17.000Z | Software/LautIO/src/util/interfaces/interfaces.h | olell/LautIO | 3f3d597898e63726776e36444001607660b2d9c7 | [
"MIT"
] | null | null | null | /*
*
* This file is part of LautIO
*
* Copyright 2021 - olel
* LautIO is licensed under MIT License
* See LICENSE file for more information
*
*/
#pragma once
#include "ArduinoJson.h"
#include "util/interfaces/dsp.h"
#include "util/interfaces/amp.h"
#include "util/interfaces/config.h"
#include "util/interfac... | 24.825 | 58 | 0.64149 |
d90a791ae0c1045fdfd93bc853bbca99faa35522 | 638 | asm | Assembly | malban/Release/VRelease/Release.History/VRelease_2017_04_23/Song/track_09_08.asm | mikepea/vectrex-playground | 0de7d2d6db0914d915f4334402f747ab3bcdc7e6 | [
"0BSD"
] | 5 | 2018-01-14T10:03:50.000Z | 2020-01-17T13:53:49.000Z | malban/Release/VRelease/Release.History/VRelease_2017_04_23/Song/track_09_08.asm | mikepea/vectrex-playground | 0de7d2d6db0914d915f4334402f747ab3bcdc7e6 | [
"0BSD"
] | null | null | null | malban/Release/VRelease/Release.History/VRelease_2017_04_23/Song/track_09_08.asm | mikepea/vectrex-playground | 0de7d2d6db0914d915f4334402f747ab3bcdc7e6 | [
"0BSD"
] | null | null | null | dw $0040
track_09_08:
db $FF, $18, $97, $DE, $63, $FE, $1A, $7E, $E6, $34
db $ED, $FC, $70, $30, $FF, $BC, $9E, $3F, $18, $F9
db $DE, $8E, $3D, $6F, $27, $8F, $FD, $E8, $E9, $C4
db $BE, $EA, $A3, $EE, $FD, $2F, $3F, $A8, $F6, $8C
db $4B, $AC, $E1, $D3, $48, $FF, $18, $7D, $E6, $3F
db $E1, $A7, $EE, $63, $4E, $DF... | 45.571429 | 52 | 0.4279 |
2dcba41341bfa6bd37b035ea8d49671f64935180 | 142 | htm | HTML | etc/docflex-doclet-1.6.1/templates/JavadocPro/help/params/filter.byTags.include.htm | fharenheit/template-mapreduce | 9fb02335e184f36adb14b0f3d475939045e795f4 | [
"Info-ZIP"
] | 4 | 2015-05-22T06:30:02.000Z | 2016-05-22T08:22:50.000Z | etc/docflex-doclet-1.6.1/templates/JavadocPro/help/params/filter.byTags.include.htm | fharenheit/template-mapreduce | 9fb02335e184f36adb14b0f3d475939045e795f4 | [
"Info-ZIP"
] | 1 | 2016-05-22T03:02:12.000Z | 2016-05-22T08:29:39.000Z | etc/docflex-doclet-1.6.1/templates/JavadocPro/help/params/filter.byTags.include.htm | fharenheit/template-mapreduce | 9fb02335e184f36adb14b0f3d475939045e795f4 | [
"Info-ZIP"
] | 10 | 2015-05-22T06:30:03.000Z | 2020-12-28T12:00:35.000Z | This group of parameters allows you to include in the generated documentation only
classes, fields and methods marked with the specified tags. | 71 | 82 | 0.838028 |
8e18a8ebf135fe3b866fb70a4da1fd31bbf9600e | 896 | rb | Ruby | features/support/hooks.rb | yurkapur/wikipedia_appium | fbf43ba857458c390c592e4051f107bc4740b350 | [
"MIT"
] | null | null | null | features/support/hooks.rb | yurkapur/wikipedia_appium | fbf43ba857458c390c592e4051f107bc4740b350 | [
"MIT"
] | null | null | null | features/support/hooks.rb | yurkapur/wikipedia_appium | fbf43ba857458c390c592e4051f107bc4740b350 | [
"MIT"
] | null | null | null | def screenshots_dir
File.expand_path(File.join(File.dirname(__FILE__),"..","..","screenshots"))
end
AfterConfiguration do
FileUtils.rm_r(screenshots_dir) if File.directory?(screenshots_dir)
end
Before do
$driver.start_driver
end
After do |scenario|
if scenario.failed?
unless File.directory?(screenshots_d... | 34.461538 | 147 | 0.709821 |
d50f6abd083ca3763eb9c316d2abb348f2d54e5b | 907 | asm | Assembly | src/test/ref/pcea-pointer-1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/test/ref/pcea-pointer-1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/test/ref/pcea-pointer-1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | // These pointers lives on zeropage
// KickAss should be able to add .z to the STAs
// Commodore 64 PRG executable file
.file [name="pcea-pointer-1.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [s... | 20.613636 | 65 | 0.589857 |
dde7f0d0530e5d429916010771b60a3bd4d90edb | 1,145 | c | C | Programming-Lab/Assignment-05/two_matrix_multiplication.c | soham0-0/Coursework-DSA-and-Programming-Labs | e2245e40d9c752903716450de27f289b4eb882eb | [
"MIT"
] | null | null | null | Programming-Lab/Assignment-05/two_matrix_multiplication.c | soham0-0/Coursework-DSA-and-Programming-Labs | e2245e40d9c752903716450de27f289b4eb882eb | [
"MIT"
] | null | null | null | Programming-Lab/Assignment-05/two_matrix_multiplication.c | soham0-0/Coursework-DSA-and-Programming-Labs | e2245e40d9c752903716450de27f289b4eb882eb | [
"MIT"
] | null | null | null | /*
Q.a) Write a program to multiply two given matrices.
*/
#include<stdio.h>
int main(){
int m1, n1, m2, n2;
printf("Enter m and n for mxn matrix A :");
scanf("%d %d", &m1, &n1);
int A[m1][n1];
printf("Enter Matric A: \n");
for(int i=0; i<m1; i++){
for(int j=0; j<n1; j++) scanf("%d"... | 26.022727 | 62 | 0.406114 |
9649ae1d4fdb755b3a6fd00bd8f2d088d0ec10e4 | 215 | php | PHP | inventory v9.2/php/selected_search_year.php | keshav9316/inventory-management-system | 7a070edf0d293e6d5a4f6205515579026bc4bc84 | [
"MIT"
] | 1 | 2020-01-07T12:16:06.000Z | 2020-01-07T12:16:06.000Z | inventory v9.2/php/selected_search_year.php | keshav9316/inventory-management-system | 7a070edf0d293e6d5a4f6205515579026bc4bc84 | [
"MIT"
] | null | null | null | inventory v9.2/php/selected_search_year.php | keshav9316/inventory-management-system | 7a070edf0d293e6d5a4f6205515579026bc4bc84 | [
"MIT"
] | null | null | null | <?php
require 'connect.php';
$sql = "SELECT * FROM `device_out` where (device_out.date_out like '%$year%') order by appno desc; ";
$result = mysqli_query($conn, $sql);
require 'closeconnection.php';
?> | 21.5 | 103 | 0.651163 |
bde79e6579e4fc85f554baae177e4375ad9418fe | 3,627 | lua | Lua | tmplt/components/pageXXX/page_screenshot.lua | nyamamoto-neos/Tiled_Sample | 45fd6b613b04fa56342cd2c20a9b2580443efaa5 | [
"MIT"
] | null | null | null | tmplt/components/pageXXX/page_screenshot.lua | nyamamoto-neos/Tiled_Sample | 45fd6b613b04fa56342cd2c20a9b2580443efaa5 | [
"MIT"
] | null | null | null | tmplt/components/pageXXX/page_screenshot.lua | nyamamoto-neos/Tiled_Sample | 45fd6b613b04fa56342cd2c20a9b2580443efaa5 | [
"MIT"
] | 1 | 2021-07-08T01:31:53.000Z | 2021-07-08T01:31:53.000Z | -- Code created by Kwik - Copyright: kwiksher.com {{year}}
-- Version: {{vers}}
-- Project: {{ProjName}}
--
local json = require('json')
local _M = {}
local _K = require("Application")
_K.screenshot = _M
local needle = "Storage"
-- Helper function that determines if a value is inside of a given table.
local functio... | 30.225 | 153 | 0.628343 |
39fc7e77ebdd2e592e847c007bdcf566160c80b6 | 1,625 | java | Java | Mage.Sets/src/mage/cards/h/HeavyInfantry.java | FateRevoked/mage | 90418ddafda100a3b4e57597aad31af5428d7116 | [
"MIT"
] | 2 | 2019-07-03T07:54:13.000Z | 2019-07-03T07:54:28.000Z | Mage.Sets/src/mage/cards/h/HeavyInfantry.java | FateRevoked/mage | 90418ddafda100a3b4e57597aad31af5428d7116 | [
"MIT"
] | 7 | 2020-03-04T21:58:30.000Z | 2022-01-21T23:15:47.000Z | Mage.Sets/src/mage/cards/h/HeavyInfantry.java | FateRevoked/mage | 90418ddafda100a3b4e57597aad31af5428d7116 | [
"MIT"
] | 3 | 2018-07-26T19:00:47.000Z | 2020-04-30T23:12:14.000Z |
package mage.cards.h;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.TapTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.... | 31.25 | 119 | 0.732308 |
48cb712e724ccca15c1fe4791071fc4d7b4786f3 | 271 | h | C | Engine/src/Scripting/Lua/LuaBindings.h | mfkiwl/Cross-Platform-Game-Engine | 72e6c1adc4fc78fdd0e326cc47ed819d6aa06d3b | [
"MIT"
] | null | null | null | Engine/src/Scripting/Lua/LuaBindings.h | mfkiwl/Cross-Platform-Game-Engine | 72e6c1adc4fc78fdd0e326cc47ed819d6aa06d3b | [
"MIT"
] | null | null | null | Engine/src/Scripting/Lua/LuaBindings.h | mfkiwl/Cross-Platform-Game-Engine | 72e6c1adc4fc78fdd0e326cc47ed819d6aa06d3b | [
"MIT"
] | null | null | null | #pragma once
#include "sol/sol.hpp"
namespace Lua
{
void BindLogging(sol::state& state);
void BindApp(sol::state& state);
void BindScene(sol::state& state);
void BindEntity(sol::state& state);
void BindInput(sol::state& state);
void BindMath(sol::state& state);
}
| 20.846154 | 37 | 0.715867 |
e0ca03c36db6f0775c1325eb76f8d6dec5c4901c | 2,025 | kt | Kotlin | db-async-common/src/main/java/com/github/jasync/sql/db/util/NettyUtils.kt | andy-yx-chen/jasync-sql | 1936057a0f12845814cd801eadaa578c2b9528e2 | [
"Apache-2.0"
] | null | null | null | db-async-common/src/main/java/com/github/jasync/sql/db/util/NettyUtils.kt | andy-yx-chen/jasync-sql | 1936057a0f12845814cd801eadaa578c2b9528e2 | [
"Apache-2.0"
] | null | null | null | db-async-common/src/main/java/com/github/jasync/sql/db/util/NettyUtils.kt | andy-yx-chen/jasync-sql | 1936057a0f12845814cd801eadaa578c2b9528e2 | [
"Apache-2.0"
] | null | null | null | package com.github.jasync.sql.db.util
import io.netty.channel.EventLoopGroup
import io.netty.channel.epoll.Epoll
import io.netty.channel.epoll.EpollEventLoopGroup
import io.netty.channel.epoll.EpollSocketChannel
import io.netty.channel.kqueue.KQueue
import io.netty.channel.kqueue.KQueueEventLoopGroup
import io.netty.c... | 38.942308 | 113 | 0.710617 |
2f1c3eeb2bc7885a331288406be5325e56c23017 | 103 | php | PHP | tests/Stub/MessageStub.php | CodeJetNet/Http | 7c80a33fc00359c1d6d106bdc447ff929f0ce7c6 | [
"MIT"
] | null | null | null | tests/Stub/MessageStub.php | CodeJetNet/Http | 7c80a33fc00359c1d6d106bdc447ff929f0ce7c6 | [
"MIT"
] | null | null | null | tests/Stub/MessageStub.php | CodeJetNet/Http | 7c80a33fc00359c1d6d106bdc447ff929f0ce7c6 | [
"MIT"
] | null | null | null | <?php
namespace CodeJet\Http\Stub;
use CodeJet\Http\Message;
class MessageStub extends Message
{
}
| 9.363636 | 33 | 0.757282 |
6b3db3e1f5212fb9c18425ae18d0e246fdc9c296 | 3,569 | h | C | source/tak/playtak.h | Allybag/takbag | 4557755e676f05b3db9850a482a60fae16a4db21 | [
"BSL-1.0"
] | null | null | null | source/tak/playtak.h | Allybag/takbag | 4557755e676f05b3db9850a482a60fae16a4db21 | [
"BSL-1.0"
] | null | null | null | source/tak/playtak.h | Allybag/takbag | 4557755e676f05b3db9850a482a60fae16a4db21 | [
"BSL-1.0"
] | 1 | 2021-05-06T12:56:14.000Z | 2021-05-06T12:56:14.000Z | #pragma once
#include "log/Logger.h"
#include "playtak/PlaytakClient.h"
#include "Game.h"
#include "engine/Engine.h"
#include <vector>
#include <string>
#include <cassert>
void playtak(const OptionMap& options)
{
Logger logger("player");
PlaytakClient client;
std::vector<std::string> loginDetails;
i... | 37.568421 | 113 | 0.561502 |
b2bf04c3b73ed2e5d7a5d3616651ad7a3f22eac7 | 1,170 | py | Python | buffers/introspective_buffer.py | GittiHab/mbrl-thesis-code | 10ecd6ef7cbb2df4bd03ce9928e344eab4238a2e | [
"MIT"
] | null | null | null | buffers/introspective_buffer.py | GittiHab/mbrl-thesis-code | 10ecd6ef7cbb2df4bd03ce9928e344eab4238a2e | [
"MIT"
] | null | null | null | buffers/introspective_buffer.py | GittiHab/mbrl-thesis-code | 10ecd6ef7cbb2df4bd03ce9928e344eab4238a2e | [
"MIT"
] | null | null | null | import numpy as np
from typing import Union, Optional, List, Dict, Any
from buffers.chunk_buffer import ChunkReplayBuffer
class IntrospectiveChunkReplayBuffer(ChunkReplayBuffer):
def __init__(self, buffer_size: int, *args, **kwargs):
super().__init__(buffer_size, *args, **kwargs)
self.sam... | 35.454545 | 70 | 0.638462 |
6b4809d1ce89bedbc8e482e8b31da5a3a21b2b10 | 919 | h | C | keccak.h | Titaniumtown/mkp224o | 609f48ed165aa27c63175e130b6e11cb1c4da285 | [
"CC0-1.0"
] | 704 | 2017-09-24T19:59:51.000Z | 2022-03-31T19:57:04.000Z | keccak.h | Titaniumtown/mkp224o | 609f48ed165aa27c63175e130b6e11cb1c4da285 | [
"CC0-1.0"
] | 69 | 2017-10-24T07:00:32.000Z | 2022-03-27T19:42:20.000Z | keccak.h | Titaniumtown/mkp224o | 609f48ed165aa27c63175e130b6e11cb1c4da285 | [
"CC0-1.0"
] | 104 | 2017-10-03T09:44:37.000Z | 2022-03-31T17:33:07.000Z |
void Keccak(u32 r, const u8 *in, u64 inLen, u8 sfx, u8 *out, u64 outLen);
#define FIPS202_SHA3_224_LEN 28
#define FIPS202_SHA3_256_LEN 32
#define FIPS202_SHA3_384_LEN 48
#define FIPS202_SHA3_512_LEN 64
static inline void FIPS202_SHAKE128(const u8 *in, u64 inLen, u8 *out, u64 outLen) { Keccak(1344, in, inLen, 0x1F, o... | 61.266667 | 129 | 0.724701 |
1667d5526cdac9dce88f035b2ed4fd3433de2b56 | 262 | ts | TypeScript | src/internal/__test__/first.spec.ts | jacobwgillespie/metamorphosis | ecec56a01bf4d8b2913c1328bb7bd76f21d2d4f2 | [
"MIT"
] | null | null | null | src/internal/__test__/first.spec.ts | jacobwgillespie/metamorphosis | ecec56a01bf4d8b2913c1328bb7bd76f21d2d4f2 | [
"MIT"
] | 6 | 2020-01-01T01:44:01.000Z | 2020-09-04T06:41:30.000Z | src/internal/__test__/first.spec.ts | jacobwgillespie/metamorphosis | ecec56a01bf4d8b2913c1328bb7bd76f21d2d4f2 | [
"MIT"
] | null | null | null | import {first} from '../first'
import {of} from '../of'
test('first', async () => {
expect(await first(of(1, 2, 3))).toBe(1)
expect(await first(of(1, 2, 3), i => i % 2 === 0)).toBe(2)
expect(await first(of<number>(), i => i % 2 === 0)).toBe(undefined)
})
| 29.111111 | 69 | 0.553435 |
a14ff207a8490ef6345e6ddc4a092ac29d7c2ae7 | 847 | swift | Swift | CleanExample/Authentication/DI/AuthenticationServiceLocator.swift | feliperuzg/CleanExample | 20bc2aab5dbfa021593b4338440044de658bc870 | [
"MIT"
] | 7 | 2017-12-14T22:44:18.000Z | 2021-08-19T18:19:04.000Z | CleanExample/Authentication/DI/AuthenticationServiceLocator.swift | feliperuzg/CleanExample | 20bc2aab5dbfa021593b4338440044de658bc870 | [
"MIT"
] | 1 | 2017-12-15T19:49:10.000Z | 2017-12-19T13:36:13.000Z | CleanExample/Authentication/DI/AuthenticationServiceLocator.swift | feliperuzg/CleanExample | 20bc2aab5dbfa021593b4338440044de658bc870 | [
"MIT"
] | 2 | 2019-06-29T14:41:21.000Z | 2019-10-16T05:07:13.000Z | //
// AuthenticationServiceLocator.swift
// CleanExample
//
// Created by Felipe Ruz on 19-07-17.
// Copyright © 2017 Felipe Ruz. All rights reserved.
//
import Foundation
class AuthenticationServiceLocator {
let storageLocator = StorageServiceLocator()
let networkConfiguration = NetworkConfiguration()
... | 27.322581 | 106 | 0.753247 |
e92a40c21a3bc5830fe8d9c56291c53069da0197 | 1,859 | lua | Lua | Lua/Buildings/MoistureVaporator.lua | startrail/SurvivingMars | b58abe8393497bb07210ce974baa7ea70dbb5a88 | [
"BSD-Source-Code"
] | 1 | 2019-05-21T03:01:00.000Z | 2019-05-21T03:01:00.000Z | Lua/Buildings/MoistureVaporator.lua | startrail/SurvivingMars | b58abe8393497bb07210ce974baa7ea70dbb5a88 | [
"BSD-Source-Code"
] | null | null | null | Lua/Buildings/MoistureVaporator.lua | startrail/SurvivingMars | b58abe8393497bb07210ce974baa7ea70dbb5a88 | [
"BSD-Source-Code"
] | null | null | null | DefineClass.MoistureVaporator =
{
__parents = { "WaterProducer", "ElectricityConsumer", "OutsideBuildingWithShifts" },
--Number of other MoistureVaporators within the penalty radius
nearby_vaporators = 0,
overlap_penalty_modifier = false,
}
local vaporator_search = {
class = "MoistureVaporator",
hexradius = con... | 30.47541 | 104 | 0.80043 |
083b93e126d58893681c006617b7ef6dced6f7c1 | 1,181 | asm | Assembly | _build/dispatcher/jmp_ippsECCPNegativePoint_7c0d7feb.asm | zyktrcn/ippcp | b0bbe9bbb750a7cf4af5914dd8e6776a8d544466 | [
"Apache-2.0"
] | 1 | 2021-10-04T10:21:54.000Z | 2021-10-04T10:21:54.000Z | _build/dispatcher/jmp_ippsECCPNegativePoint_7c0d7feb.asm | zyktrcn/ippcp | b0bbe9bbb750a7cf4af5914dd8e6776a8d544466 | [
"Apache-2.0"
] | null | null | null | _build/dispatcher/jmp_ippsECCPNegativePoint_7c0d7feb.asm | zyktrcn/ippcp | b0bbe9bbb750a7cf4af5914dd8e6776a8d544466 | [
"Apache-2.0"
] | null | null | null | extern m7_ippsECCPNegativePoint:function
extern n8_ippsECCPNegativePoint:function
extern y8_ippsECCPNegativePoint:function
extern e9_ippsECCPNegativePoint:function
extern l9_ippsECCPNegativePoint:function
extern n0_ippsECCPNegativePoint:function
extern k0_ippsECCPNegativePoint:function
extern ippcpJumpIndexForMergedLib... | 30.282051 | 111 | 0.813717 |
5589d83f79e0c518ab69e6c17e8a34c8fcb3966e | 65 | html | HTML | app/partials/actions/action.html | TechAtNYU/intranet | e118ffb51e687ceebbcdd94848863740289aedfa | [
"MIT"
] | 7 | 2015-04-04T17:33:42.000Z | 2016-02-11T06:21:26.000Z | app/partials/actions/action.html | TechAtNYU/intranet | e118ffb51e687ceebbcdd94848863740289aedfa | [
"MIT"
] | 123 | 2015-02-15T23:51:13.000Z | 2018-04-15T15:58:07.000Z | app/partials/actions/action.html | TechAtNYU/intranet | e118ffb51e687ceebbcdd94848863740289aedfa | [
"MIT"
] | 3 | 2016-10-05T17:13:31.000Z | 2017-10-31T04:57:17.000Z | <div ng-include="pp.getTemplateUrl(action, resourceName)"></div>
| 32.5 | 64 | 0.753846 |
98d62df011e37c08c76d81f299ab74578ea76697 | 3,136 | html | HTML | src/pages/naviroute/naviroute.html | RoseGeorge719/MyActivity | 9ad0a7712da09ddca7417534bf88c902a23bd2ed | [
"MIT"
] | null | null | null | src/pages/naviroute/naviroute.html | RoseGeorge719/MyActivity | 9ad0a7712da09ddca7417534bf88c902a23bd2ed | [
"MIT"
] | null | null | null | src/pages/naviroute/naviroute.html | RoseGeorge719/MyActivity | 9ad0a7712da09ddca7417534bf88c902a23bd2ed | [
"MIT"
] | null | null | null | <ion-header>
<ion-navbar>
<button ion-button menuToggle>
<ion-icon class="nav-icon">
<img src="assets/icon/nav-menu.png">
</ion-icon>
</button>
<ion-title>
<ion-col center text-center>
<img src="assets/img/logo.png" class="logo-nav">
</ion-col>
</ion-title>
</... | 46.117647 | 168 | 0.617985 |
b967437d37067c27700a12114e697de73cac577f | 12,356 | c | C | vlc_linux/vlc-3.0.16/modules/codec/twolame.c | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | vlc_linux/vlc-3.0.16/modules/codec/twolame.c | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | vlc_linux/vlc-3.0.16/modules/codec/twolame.c | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | /*****************************************************************************
* twolame.c: libtwolame encoder (MPEG-1/2 layer II) module
* (using libtwolame from http://www.twolame.org/)
*****************************************************************************
* Copyright (C) 2004-2005 VLC authors a... | 34.038567 | 83 | 0.554548 |
57555672de741d21a0abea7bf0b28ac7216fd2c3 | 2,554 | h | C | wc3/libwww/Library/src/acconfig.h | Uvacoder/html-demo-code-and-experiments | 1bd2ab50afe8f331396c37822301afa8e4903bcd | [
"Apache-2.0"
] | 3 | 2021-11-15T07:54:37.000Z | 2021-11-29T03:09:12.000Z | wc3/libwww/Library/src/acconfig.h | Uvacoder/html-demo-code-and-experiments | 1bd2ab50afe8f331396c37822301afa8e4903bcd | [
"Apache-2.0"
] | 26 | 2021-11-15T04:26:39.000Z | 2021-11-17T00:17:06.000Z | wc3/libwww/Library/src/acconfig.h | Uvacoder/html-demo-code-and-experiments | 1bd2ab50afe8f331396c37822301afa8e4903bcd | [
"Apache-2.0"
] | null | null | null | /* Always define this. */
#undef DEBUG
/* Define to enable multithreading code. */
#undef EVENT_LOOP
/* Define to enable direct WAIS access. */
#undef DIRECT_WAIS
/* Define to enable SOCKS firewall-breaching code. */
#undef SOCKS
/* Define this to be the version string. */
#undef VC
/* Define this to be the prefix... | 26.061224 | 77 | 0.737275 |
073bf0f938eb406b543902f1e7a98812571db7c8 | 2,211 | asm | Assembly | engine/phone/scripts/tiffany.asm | Trap-Master/spacworld97-thingy | a144827abecacdfec6cdc3baa32098e9290adf70 | [
"blessing"
] | null | null | null | engine/phone/scripts/tiffany.asm | Trap-Master/spacworld97-thingy | a144827abecacdfec6cdc3baa32098e9290adf70 | [
"blessing"
] | null | null | null | engine/phone/scripts/tiffany.asm | Trap-Master/spacworld97-thingy | a144827abecacdfec6cdc3baa32098e9290adf70 | [
"blessing"
] | null | null | null | TiffanyPhoneCalleeScript:
gettrainername STRING_BUFFER_3, PICNICKER, TIFFANY3
checkflag ENGINE_TIFFANY
iftrue .WantsBattle
farscall PhoneScript_AnswerPhone_Female
checkflag ENGINE_TIFFANY_TUESDAY_AFTERNOON
iftrue .NotTuesday
checkflag ENGINE_TIFFANY_HAS_PINK_BOW
iftrue .HasItem
readvar VAR_WEEKDAY
ifnotequal ... | 22.333333 | 52 | 0.85346 |
3b7ca3e3dbd64b811c2ad3d7fba6bd234f81b9fa | 5,687 | c | C | sc-kpm/scp/scp_lib/scp_iterator3.c | irinagrigorjewa/sc-machine | 732434a179711d8e49066723bd994309235b9ab0 | [
"MIT"
] | 13 | 2016-11-15T07:22:51.000Z | 2021-10-02T10:11:09.000Z | sc-kpm/scp/scp_lib/scp_iterator3.c | irinagrigorjewa/sc-machine | 732434a179711d8e49066723bd994309235b9ab0 | [
"MIT"
] | 136 | 2016-11-08T20:29:39.000Z | 2021-11-27T14:14:29.000Z | sc-kpm/scp/scp_lib/scp_iterator3.c | irinagrigorjewa/sc-machine | 732434a179711d8e49066723bd994309235b9ab0 | [
"MIT"
] | 23 | 2015-04-18T15:11:56.000Z | 2021-12-21T14:43:22.000Z | /*
-----------------------------------------------------------------------------
This source file is part of OSTIS (Open Semantic Technology for Intelligent Systems)
For the latest info, see http://www.ostis.net
Copyright (c) 2010-2013 OSTIS
OSTIS is free software: you can redistribute it and/or modify
it under the t... | 34.676829 | 141 | 0.56761 |
fb2c885c08cc9d7c61fc9798ed2675ae3535e38f | 8,420 | go | Go | server/sqlstore/migrations.go | Manimaran11/mattermost-plugin-incident-response | 4aa1ef166aecb881a27239a5f6e3bdfaf9c31802 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | server/sqlstore/migrations.go | Manimaran11/mattermost-plugin-incident-response | 4aa1ef166aecb881a27239a5f6e3bdfaf9c31802 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | server/sqlstore/migrations.go | Manimaran11/mattermost-plugin-incident-response | 4aa1ef166aecb881a27239a5f6e3bdfaf9c31802 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | package sqlstore
import (
"encoding/json"
"fmt"
sq "github.com/Masterminds/squirrel"
"github.com/blang/semver"
"github.com/jmoiron/sqlx"
"github.com/mattermost/mattermost-plugin-incident-response/server/playbook"
"github.com/mattermost/mattermost-server/v5/model"
"github.com/pkg/errors"
)
type Migration stru... | 33.815261 | 180 | 0.669002 |
84b514b0b1213eb5f04436d2f2e46fd222819eb8 | 2,254 | h | C | src/knotificationjobuidelegate.h | pasnox/knotifications | ef2871b2a485be5abe393e61c6cd93867420f896 | [
"BSD-3-Clause"
] | null | null | null | src/knotificationjobuidelegate.h | pasnox/knotifications | ef2871b2a485be5abe393e61c6cd93867420f896 | [
"BSD-3-Clause"
] | null | null | null | src/knotificationjobuidelegate.h | pasnox/knotifications | ef2871b2a485be5abe393e61c6cd93867420f896 | [
"BSD-3-Clause"
] | null | null | null | /* This file is part of the KDE Frameworks
Copyright (C) 2020 Kai Uwe Broulik <kde@broulik.de>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This library is distri... | 30.053333 | 157 | 0.74756 |
f00ff90a15569e736314d9e7505d121e6996f894 | 4,216 | py | Python | json_replacer.py | MrMusicMan/json-item-replacer | 04362b5e5ecf3cf9dd12ef3e72a7a1474a5239fa | [
"Apache-2.0"
] | null | null | null | json_replacer.py | MrMusicMan/json-item-replacer | 04362b5e5ecf3cf9dd12ef3e72a7a1474a5239fa | [
"Apache-2.0"
] | null | null | null | json_replacer.py | MrMusicMan/json-item-replacer | 04362b5e5ecf3cf9dd12ef3e72a7a1474a5239fa | [
"Apache-2.0"
] | null | null | null | import os
import json
import string
from tkinter import filedialog, simpledialog
from tkinter import *
class CsvImporter(object):
def __init__(self):
self.csv_data = None
self.languages = []
def import_csv(self, csv_filename):
with open(csv_filename, 'r') as file:
self.csv... | 34.842975 | 89 | 0.57851 |
427ca624ff1177d0526e32c79a2dd113db63dbec | 436 | asm | Assembly | oeis/333/A333695.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/333/A333695.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/333/A333695.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A333695: Numerators of coefficients in expansion of Sum_{k>=1} phi(k) * log(1/(1 - x^k)).
; Submitted by Christian Krause
; 1,3,7,11,21,7,43,43,61,63,111,77,157,129,49,171,273,61,343,231,43,333,507,301,521,471,547,473,813,147,931,683,259,819,129,671,1333,1029,1099,903,1641,43,1807,111,427,1521,2163,399,2101,1563,637,... | 39.636364 | 214 | 0.674312 |
b17f71aa063c7c9b6f811ab6a888349bc08c135c | 809 | css | CSS | renderer/pdfreader/index.css | GG2002/live2dpet-v4 | 6a67e7b34b87b406814d3acb98da4baf351b24a8 | [
"CC0-1.0"
] | null | null | null | renderer/pdfreader/index.css | GG2002/live2dpet-v4 | 6a67e7b34b87b406814d3acb98da4baf351b24a8 | [
"CC0-1.0"
] | null | null | null | renderer/pdfreader/index.css | GG2002/live2dpet-v4 | 6a67e7b34b87b406814d3acb98da4baf351b24a8 | [
"CC0-1.0"
] | null | null | null | #pdf {
margin: auto 0;
margin-top: 2em;
width: fit-content;
column-gap: 30px;
padding-left: 10px;
}
.pdf-list {
width: 200px;
box-sizing: content-box;
padding: 5px;
margin-top: 20px;
box-shadow: 0 0px 5px #000;
margin-bottom: 10px;
display: inline-block;
}
.pdf-list:hove... | 20.225 | 141 | 0.619283 |
43bd985c839b7696f421c9a0e1f88769bad8924c | 1,024 | go | Go | interview_preparation_kit/linked_lists/insert_into_doubly_linked_list.go | mbauny/hackerrank | 90d1ccc5a109093ba999756e56cc1ac419f5abef | [
"Unlicense"
] | null | null | null | interview_preparation_kit/linked_lists/insert_into_doubly_linked_list.go | mbauny/hackerrank | 90d1ccc5a109093ba999756e56cc1ac419f5abef | [
"Unlicense"
] | null | null | null | interview_preparation_kit/linked_lists/insert_into_doubly_linked_list.go | mbauny/hackerrank | 90d1ccc5a109093ba999756e56cc1ac419f5abef | [
"Unlicense"
] | null | null | null | // https://www.hackerrank.com/challenges/insert-a-node-into-a-sorted-doubly-linked-list
package linkedlists
// Complete the sortedInsert function below.
type DoublyLinkedListNode struct {
data int32
next *DoublyLinkedListNode
prev *DoublyLinkedListNode
}
func sortedInsert(head *DoublyLinkedListNode, data int32) *... | 21.787234 | 87 | 0.724609 |
6547bff0921c0fa8bf1ae4180062d6c76818b672 | 3,553 | py | Python | stochastic_hill_climbing/src/AdalineSGD.py | Wookhwang/Machine-Learning | 8eaf8517057d4beb3272081cb2f2092687123f3d | [
"Apache-2.0"
] | null | null | null | stochastic_hill_climbing/src/AdalineSGD.py | Wookhwang/Machine-Learning | 8eaf8517057d4beb3272081cb2f2092687123f3d | [
"Apache-2.0"
] | 1 | 2020-01-19T10:14:41.000Z | 2020-01-19T10:14:41.000Z | stochastic_hill_climbing/src/AdalineSGD.py | Wookhwang/Machine-Learning | 8eaf8517057d4beb3272081cb2f2092687123f3d | [
"Apache-2.0"
] | null | null | null | import numpy as np
# gradient descent는 tensorflow에 이미 구현이 되어있다.
# 확률적 선형 뉴런 분석기는 각 훈련 샘플에 대해서 조금씩 가중치를 업데이트 한다.
class AdalineSGD(object):
"""Adaptive Linear Neuron 분류기
매개변수
------------
eta : float
학습률 (0.0과 1.0 사이)
n_iter : int
훈련 데이터셋 반복 횟수
shuffle : bool (default ... | 30.110169 | 77 | 0.509992 |
2a08530a71692fefc3c821e1e90aac70f054ee99 | 5,261 | java | Java | dev/ShopMall/src/com/yq/controller/CartCtrl.java | shi6265408/NewShop | 2f2297cec2675c9973472a5979de2bfd5ae2625e | [
"0BSD"
] | null | null | null | dev/ShopMall/src/com/yq/controller/CartCtrl.java | shi6265408/NewShop | 2f2297cec2675c9973472a5979de2bfd5ae2625e | [
"0BSD"
] | null | null | null | dev/ShopMall/src/com/yq/controller/CartCtrl.java | shi6265408/NewShop | 2f2297cec2675c9973472a5979de2bfd5ae2625e | [
"0BSD"
] | null | null | null | package com.yq.controller;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import ... | 33.724359 | 152 | 0.727238 |
40cbd5bb549eeb48105e9ffd05808cf66db039ef | 191 | html | HTML | app/templates/index.html | pahumadad/flask-oauth | 309e235da8d72bb4e33d6fb68eb90b2f5392823a | [
"MIT"
] | 1 | 2017-04-27T09:23:48.000Z | 2017-04-27T09:23:48.000Z | app/templates/index.html | pahumadad/flask-oauth | 309e235da8d72bb4e33d6fb68eb90b2f5392823a | [
"MIT"
] | null | null | null | app/templates/index.html | pahumadad/flask-oauth | 309e235da8d72bb4e33d6fb68eb90b2f5392823a | [
"MIT"
] | null | null | null | <!-- extends base layout -->
{% extends "base.html" %}
{% block content %}
<h1>Index Page</h1>
<div class="well">
<h2>Hello, {{ user.name }}!</h2>
</div>
{% endblock %}
| 17.363636 | 40 | 0.507853 |
0403d8f57af5cb1a56ed78e4828f2a755d6269aa | 4,550 | js | JavaScript | extension/app.js | Petingo/youtube-button-clicker | 99d85b893420b2af6e8b1c36028120851d3c52b3 | [
"MIT"
] | 6 | 2018-12-02T06:49:54.000Z | 2019-07-23T11:28:42.000Z | extension/app.js | Petingo/youtube-button-clicker | 99d85b893420b2af6e8b1c36028120851d3c52b3 | [
"MIT"
] | 1 | 2019-11-14T08:12:17.000Z | 2019-11-14T08:43:41.000Z | extension/app.js | Petingo/youtube-button-clicker | 99d85b893420b2af6e8b1c36028120851d3c52b3 | [
"MIT"
] | 1 | 2021-03-09T14:06:52.000Z | 2021-03-09T14:06:52.000Z | ; (function () {
console.log("1")
let videoAdDelay = 5;
let overlayAdDelay = 3;
let nextVideoDelay = 10;
chrome.storage.sync.get({
videoAdDelay: 5,
overlayAdDelay: 3,
nextVideoDelay: 10
}, function (config) {
console.log("retrived config:", config)
video... | 38.888889 | 211 | 0.509231 |
432a85f9c3f619695ed512f92325dee0579c37e6 | 183 | kts | Kotlin | gen-util/build.gradle.kts | pak3nuh/java-lang-compiler-extensions | 1d1ccaae151283b1df3b0a6556d4737223d29e79 | [
"MIT"
] | 2 | 2020-09-25T14:04:37.000Z | 2020-09-28T08:52:45.000Z | gen-util/build.gradle.kts | pak3nuh/java-lang-compiler-extensions | 1d1ccaae151283b1df3b0a6556d4737223d29e79 | [
"MIT"
] | 6 | 2020-09-17T07:53:14.000Z | 2021-11-21T11:37:25.000Z | gen-util/build.gradle.kts | pak3nuh/java-lang-compiler-extensions | 1d1ccaae151283b1df3b0a6556d4737223d29e79 | [
"MIT"
] | null | null | null | group = Projects.baseGroupId
description = "Generator util"
plugins {
kotlin("jvm")
`maven-publish`
signing
}
dependencies {
implementation(Dependencies.javaPoet)
}
| 14.076923 | 41 | 0.704918 |
5032a70e1bebf1c4d5ce24c83a69a10c09dd255a | 15,993 | go | Go | tests/e2e/tests/mixer/mixer_test.go | lookuptable/istio | 8413b0cd1d1239598d02bd046f190cfc1141117c | [
"Apache-2.0"
] | null | null | null | tests/e2e/tests/mixer/mixer_test.go | lookuptable/istio | 8413b0cd1d1239598d02bd046f190cfc1141117c | [
"Apache-2.0"
] | null | null | null | tests/e2e/tests/mixer/mixer_test.go | lookuptable/istio | 8413b0cd1d1239598d02bd046f190cfc1141117c | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 Istio Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 28.107206 | 148 | 0.682549 |
d5e8065a87a5298e5b79b6c7f092cfcc3a52877f | 872 | h | C | src/Node1/driv_CAN.h | helgeanl/vigilant-robot | 4578efe80a30417f1d8ac8d398a3ab30c817d588 | [
"MIT"
] | 1 | 2016-05-17T18:30:15.000Z | 2016-05-17T18:30:15.000Z | src/Node1/driv_CAN.h | helgeanl/vigilant-robot | 4578efe80a30417f1d8ac8d398a3ab30c817d588 | [
"MIT"
] | 1 | 2016-05-17T18:32:32.000Z | 2016-05-17T18:33:21.000Z | src/Node1/driv_CAN.h | helgeanl/vigilant-robot | 4578efe80a30417f1d8ac8d398a3ab30c817d588 | [
"MIT"
] | null | null | null |
/*
* driv_CAN.h
*
* Created: 01.10.2015 11:17:26
* Author: helgeanl
*/
#ifndef DRIV_CAN_H_
#define DRIV_CAN_H_
#include <avr/io.h>
// Message
typedef struct{
uint16_t id;
uint8_t data_length;
uint8_t data[8];
} can_message_t;
// CAN IDs
#define JOY_ID 256
#define RESET_I... | 17.098039 | 53 | 0.633028 |
141016a6906809293d670449b84a3601b329eeaf | 357 | css | CSS | src/app/astronaut/astronaut-level-up/astronaut-level-up.component.css | danielkleebinder/cryptonauts | a6ca3b27013eb40e159b57417e6e7d8a05e60c1c | [
"Apache-2.0"
] | 1 | 2021-11-08T01:24:03.000Z | 2021-11-08T01:24:03.000Z | src/app/astronaut/astronaut-level-up/astronaut-level-up.component.css | danielkleebinder/cryptonauts | a6ca3b27013eb40e159b57417e6e7d8a05e60c1c | [
"Apache-2.0"
] | null | null | null | src/app/astronaut/astronaut-level-up/astronaut-level-up.component.css | danielkleebinder/cryptonauts | a6ca3b27013eb40e159b57417e6e7d8a05e60c1c | [
"Apache-2.0"
] | 1 | 2021-11-27T12:47:58.000Z | 2021-11-27T12:47:58.000Z | .specializations {
display: flex;
justify-content: center;
align-items: center;
}
app-info-card {
width: 140px;
height: 200px;
border: 5px solid transparent;
transition-property: border-color;
transition-duration: 400ms;
}
app-info-card.selected {
border: 5px solid #7b1fa2;
}
mat-dialog-actions {... | 14.875 | 36 | 0.705882 |
47128bfe741acef270619ae7a0643f6430b9e6c2 | 1,836 | kt | Kotlin | contracts/src/main/kotlin/demo/Stock.kt | lkjh3111/busanTest | fcf8e44fe9e089fc68e7054436fbadf56c57dab6 | [
"Apache-2.0"
] | null | null | null | contracts/src/main/kotlin/demo/Stock.kt | lkjh3111/busanTest | fcf8e44fe9e089fc68e7054436fbadf56c57dab6 | [
"Apache-2.0"
] | null | null | null | contracts/src/main/kotlin/demo/Stock.kt | lkjh3111/busanTest | fcf8e44fe9e089fc68e7054436fbadf56c57dab6 | [
"Apache-2.0"
] | null | null | null | package demo
import com.r3.corda.lib.tokens.contracts.states.EvolvableTokenType
import com.r3.corda.lib.tokens.contracts.types.TokenType
import com.r3.corda.lib.tokens.contracts.utilities.of
import com.template.ExampleEvolvableTokenTypeContract
import net.corda.core.contracts.Amount
import net.corda.core.contracts.Bel... | 32.785714 | 83 | 0.704793 |
fe365b2fc05ed6c7c85ce972119c55ea105c128e | 2,148 | h | C | Base/QTGUI/qSlicerStyle.h | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Base/QTGUI/qSlicerStyle.h | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Base/QTGUI/qSlicerStyle.h | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | /*==============================================================================
Program: 3D Slicer
Copyright (c) Kitware Inc.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to in writing, software
distributed under the License... | 34.095238 | 99 | 0.670391 |
2daff949a8602405fd72da1c3e69ff549288ab4c | 840 | html | HTML | manuscript/page-534/body.html | marvindanig/the-last-man | c71790f2ec4c36070aae0a9b1c17ca276679fed6 | [
"CECILL-B"
] | null | null | null | manuscript/page-534/body.html | marvindanig/the-last-man | c71790f2ec4c36070aae0a9b1c17ca276679fed6 | [
"CECILL-B"
] | null | null | null | manuscript/page-534/body.html | marvindanig/the-last-man | c71790f2ec4c36070aae0a9b1c17ca276679fed6 | [
"CECILL-B"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p> as a building, whose props are loosened, and whose foundations rock, totters and falls, so when enthusiasm and hope deserted me, did my strength fail. I sat on the sole remaining step of an edifice, which even in its downfall, was huge and magnificent; a few broken ... | 840 | 840 | 0.771429 |
2a4dd8fea28152dbc66d18e22379493ca96ec061 | 743 | java | Java | Challange_Viaggio/src/test/java/com/garone/ChallangeViaggioApplicationTests.java | ggarone/Challanges | b2adbfbda8b0976366f10552e7adf77a66447a0c | [
"MIT"
] | null | null | null | Challange_Viaggio/src/test/java/com/garone/ChallangeViaggioApplicationTests.java | ggarone/Challanges | b2adbfbda8b0976366f10552e7adf77a66447a0c | [
"MIT"
] | null | null | null | Challange_Viaggio/src/test/java/com/garone/ChallangeViaggioApplicationTests.java | ggarone/Challanges | b2adbfbda8b0976366f10552e7adf77a66447a0c | [
"MIT"
] | null | null | null | package com.garone;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.Set;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import com.garone.entities.Documento;
import com.garone.... | 20.638889 | 68 | 0.786003 |
18cc07c97c1644dcd601eede9182cb1023d9537b | 2,378 | rb | Ruby | app/models/spree/paga_transaction.rb | jimacoff/spree_paga | d652ccba94fdbe25a90c31e747b7ead4305d2a45 | [
"BSD-3-Clause"
] | null | null | null | app/models/spree/paga_transaction.rb | jimacoff/spree_paga | d652ccba94fdbe25a90c31e747b7ead4305d2a45 | [
"BSD-3-Clause"
] | 1 | 2016-03-14T09:48:49.000Z | 2016-03-14T09:48:49.000Z | app/models/spree/paga_transaction.rb | jimacoff/spree_paga | d652ccba94fdbe25a90c31e747b7ead4305d2a45 | [
"BSD-3-Clause"
] | 1 | 2016-03-04T06:02:37.000Z | 2016-03-04T06:02:37.000Z | class Spree::PagaTransaction < ActiveRecord::Base
MINIMUM_AMT = 1
PENDING = 'Pending'
SUCCESSFUL = 'Successful'
UNSUCCESSFUL = 'Unsuccessful'
belongs_to :order
belongs_to :user
validates :amount, numericality: { greater_than_or_equal_to: MINIMUM_AMT }
validates :transaction_id, :order, presence: ... | 26.719101 | 134 | 0.748949 |
50c6df74749247568ffaf00544ea287d78090464 | 334 | lua | Lua | RoactNametagRojo/src/server/JoinHandler.server.lua | FxllenCode/RobloxNametagOS | 424cd5acf0c608fa08e2a29f48468c7d2eccd62e | [
"MIT"
] | 2 | 2021-04-22T01:56:29.000Z | 2022-01-15T01:45:23.000Z | RoactNametagRojo/src/server/JoinHandler.server.lua | FxllenCode/RobloxNametagOS | 424cd5acf0c608fa08e2a29f48468c7d2eccd62e | [
"MIT"
] | 2 | 2021-04-24T14:05:50.000Z | 2021-05-06T12:56:37.000Z | RoactNametagRojo/src/server/JoinHandler.server.lua | FxllenCode/RobloxNametagOS | 424cd5acf0c608fa08e2a29f48468c7d2eccd62e | [
"MIT"
] | null | null | null | local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
local character = player.Character
if not character or not character.Parent then
character = player.CharacterAdded:Wait()
end
character.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.... | 30.363636 | 83 | 0.745509 |
569a033177632880e327260cefa137e5904d816d | 4,831 | ts | TypeScript | tests/get-day-info.spec.ts | yasser-mas/working-time | b1f444ae1e7eef22a4beb2fe95240fecc988b2ad | [
"MIT"
] | null | null | null | tests/get-day-info.spec.ts | yasser-mas/working-time | b1f444ae1e7eef22a4beb2fe95240fecc988b2ad | [
"MIT"
] | 3 | 2020-07-18T00:10:53.000Z | 2021-09-01T17:39:05.000Z | tests/get-day-info.spec.ts | yasser-mas/working-time | b1f444ae1e7eef22a4beb2fe95240fecc988b2ad | [
"MIT"
] | null | null | null | import { expect, should, assert } from 'chai';
import TimerFactory from '../source/index';
import { Timer } from '../source/lib/timer';
import { VALID_TIMER_CONFIG } from './testing-data';
import { ITimerParams } from '../source/lib/interfaces/i-timer-params';
function getCopy(obj: ITimerParams ):ITimerParams{
retu... | 32.863946 | 157 | 0.703374 |
cb532dad23eda8ab95d06cfebbc8c8bfb0774fc6 | 2,191 | h | C | src/gdk/geventkey.h | Letargie/pggi | 031d42c22b4a346c87bad4bf84bc2a29ba67f7fe | [
"BSD-3-Clause"
] | 13 | 2017-06-18T06:35:23.000Z | 2019-11-04T06:26:13.000Z | src/gdk/geventkey.h | Letargie/pggi | 031d42c22b4a346c87bad4bf84bc2a29ba67f7fe | [
"BSD-3-Clause"
] | 13 | 2017-06-18T06:49:05.000Z | 2020-02-20T10:22:09.000Z | src/gdk/geventkey.h | Letargie/pggi | 031d42c22b4a346c87bad4bf84bc2a29ba67f7fe | [
"BSD-3-Clause"
] | 1 | 2017-10-03T05:16:00.000Z | 2017-10-03T05:16:00.000Z | /*
+-----------------------------------------------------------+
| Copyright (c) 2017 Collet Valentin |
+-----------------------------------------------------------+
| This source file is subject to version the BDS license, |
| that is bundled with this package in the file LICENSE ... | 26.719512 | 114 | 0.46691 |
514051f1c04f4fc6e85a5a42d062c40925f84032 | 17,991 | sql | SQL | database/blanja-api.sql | dimasdompit/Blanja-Backend | 7f5b453eacd1813275f2d90ffdba25aff365c505 | [
"MIT"
] | 2 | 2020-09-20T10:50:02.000Z | 2020-09-21T12:47:51.000Z | database/blanja-api.sql | dimasdompit/Blanja-Backend | 7f5b453eacd1813275f2d90ffdba25aff365c505 | [
"MIT"
] | null | null | null | database/blanja-api.sql | dimasdompit/Blanja-Backend | 7f5b453eacd1813275f2d90ffdba25aff365c505 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 27 Sep 2020 pada 13.01
-- Versi server: 10.4.13-MariaDB
-- Versi PHP: 7.4.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CH... | 34.53167 | 1,373 | 0.678673 |
0bc6a393ab88aa973e2d7df9490aba2c61743f13 | 755 | js | JavaScript | src/components/WebConsole.js | lmuench/fog-ui | 8c5d2f91ab9bc4b9d5ac4c3b6617a27bc9e8d147 | [
"MIT"
] | null | null | null | src/components/WebConsole.js | lmuench/fog-ui | 8c5d2f91ab9bc4b9d5ac4c3b6617a27bc9e8d147 | [
"MIT"
] | null | null | null | src/components/WebConsole.js | lmuench/fog-ui | 8c5d2f91ab9bc4b9d5ac4c3b6617a27bc9e8d147 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import { connect } from 'react-redux';
class WebConsole extends Component {
createWebConsoleUrl = () => {
const connection = this.props.connections[this.props.selected];
if (!connection) return null;
const host = connection.host;
if (!host) return null;
r... | 25.166667 | 72 | 0.65298 |
e3d1c05f3fa0c67ff7d00eeebee54409079150d0 | 829 | go | Go | leetgo/leetcode/p365_water-and-jug-problem/p365_1/p365_1_test.go | TeslaCN/goleetcode | 2961aa27a277883904bb843d74eeb897ef48f8b5 | [
"Unlicense"
] | null | null | null | leetgo/leetcode/p365_water-and-jug-problem/p365_1/p365_1_test.go | TeslaCN/goleetcode | 2961aa27a277883904bb843d74eeb897ef48f8b5 | [
"Unlicense"
] | null | null | null | leetgo/leetcode/p365_water-and-jug-problem/p365_1/p365_1_test.go | TeslaCN/goleetcode | 2961aa27a277883904bb843d74eeb897ef48f8b5 | [
"Unlicense"
] | null | null | null | package p365_1
import "testing"
func Test_canMeasureWater(t *testing.T) {
type args struct {
x int
y int
z int
}
tests := []struct {
name string
args args
want bool
}{
{"sample-5", args{4, 6, 8}, true},
{"sample-0", args{3, 5, 4}, true},
{"sample-1", args{2, 6, 5}, false},
{"sample-2", args{0,... | 23.027778 | 79 | 0.55006 |