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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b2cabd96c3fc001d2729753488a402fc76f755f0 | 8,187 | py | Python | tests/test_skipping.py | pytask-dev/pytask | b6769b48abda44c6261b9a7b58865f8844423c13 | [
"MIT"
] | 41 | 2020-07-24T15:19:19.000Z | 2022-03-17T17:40:57.000Z | tests/test_skipping.py | pytask-dev/pytask | b6769b48abda44c6261b9a7b58865f8844423c13 | [
"MIT"
] | 240 | 2020-06-26T21:37:49.000Z | 2022-03-31T08:56:56.000Z | tests/test_skipping.py | pytask-dev/pytask | b6769b48abda44c6261b9a7b58865f8844423c13 | [
"MIT"
] | null | null | null | import textwrap
from contextlib import ExitStack as does_not_raise # noqa: N813
import pytest
from _pytask.mark import Mark
from _pytask.outcomes import Skipped
from _pytask.outcomes import SkippedAncestorFailed
from _pytask.outcomes import SkippedUnchanged
from _pytask.skipping import pytask_execute_task_setup
from ... | 30.662921 | 88 | 0.696836 |
43b552196d8130594d34c2ecab2b6297f6825b7e | 465 | go | Go | pkg/crypto/sha256/sha256.go | Shopify/goluago | fe0528d0b2041b5122b8c170dfad8a5dc86516fb | [
"MIT"
] | 67 | 2015-03-04T19:52:55.000Z | 2021-11-27T05:22:44.000Z | pkg/crypto/sha256/sha256.go | Shopify/goluago | fe0528d0b2041b5122b8c170dfad8a5dc86516fb | [
"MIT"
] | 8 | 2016-02-14T12:56:31.000Z | 2021-04-14T08:07:49.000Z | pkg/crypto/sha256/sha256.go | Shopify/goluago | fe0528d0b2041b5122b8c170dfad8a5dc86516fb | [
"MIT"
] | 11 | 2015-03-08T09:13:05.000Z | 2020-11-11T17:55:20.000Z | package sha256
import (
"crypto/sha256"
"github.com/Shopify/go-lua"
)
func Open(l *lua.State) {
open := func(l *lua.State) int {
lua.NewLibrary(l, library)
return 1
}
lua.Require(l, "goluago/crypto/sha256", open, false)
l.Pop(1)
}
var library = []lua.RegistryFunction{
{"digest", digest},
}
func digest(l ... | 15.5 | 53 | 0.655914 |
8149be46bbdcaee4e7bcb8276e89e3469a1b86ab | 29 | rs | Rust | src/server/objects/wl_callback.rs | nuta/kazari | cdbd7a2dc4e9e6e0ca6e839f8fb66cf3f077572b | [
"MIT"
] | 13 | 2021-03-10T17:14:04.000Z | 2022-02-03T07:07:33.000Z | src/server/objects/wl_callback.rs | nuta/kazari | cdbd7a2dc4e9e6e0ca6e839f8fb66cf3f077572b | [
"MIT"
] | null | null | null | src/server/objects/wl_callback.rs | nuta/kazari | cdbd7a2dc4e9e6e0ca6e839f8fb66cf3f077572b | [
"MIT"
] | null | null | null | pub struct CallbackObject {}
| 14.5 | 28 | 0.793103 |
3ee058fc9d912bc3b052cf35cd1f67403bf1d9aa | 1,763 | h | C | System/Library/Frameworks/NetworkExtension.framework/NEIKEv2EAP.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | 2 | 2020-07-26T20:30:54.000Z | 2020-08-10T04:26:23.000Z | System/Library/Frameworks/NetworkExtension.framework/NEIKEv2EAP.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | 1 | 2020-07-26T20:45:31.000Z | 2020-08-09T09:30:46.000Z | System/Library/Frameworks/NetworkExtension.framework/NEIKEv2EAP.h | lechium/tvOS135Headers | 46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:16:27 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/Frameworks/NetworkExtension.framework/NetworkExtension
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by ... | 38.326087 | 125 | 0.78616 |
310957839052c26c19f8200848e2165c45cbbf22 | 396 | swift | Swift | omokake02/omokake02/Common/Entity/AlbumInfo.swift | kokiTakashiki/omokake | 4d4617e341ccfef8d3406c128c48ca2a0224be7b | [
"MIT"
] | null | null | null | omokake02/omokake02/Common/Entity/AlbumInfo.swift | kokiTakashiki/omokake | 4d4617e341ccfef8d3406c128c48ca2a0224be7b | [
"MIT"
] | 6 | 2021-07-09T12:15:51.000Z | 2021-08-28T14:32:28.000Z | omokake02/omokake02/Common/Entity/AlbumInfo.swift | kokiTakashiki/omokake | 4d4617e341ccfef8d3406c128c48ca2a0224be7b | [
"MIT"
] | null | null | null | //
// AlbumInfo.swift
// omokake02
//
// Created by 武田孝騎 on 2021/07/15.
// Copyright © 2021 takasiki. All rights reserved.
//
import Foundation
class AlbumInfo {
var index: Int
var title: String
var photosCount: Int
init(index: Int, title: String, photosCount: Int) {
self.index = inde... | 18 | 55 | 0.623737 |
815735f0f224b12bca9b4b365d0409f9a908b0bf | 509 | sql | SQL | fluxtream-web/db/1.1.3/02_SharedChannels.sql | ahujamoh/fluxtream-app | 40c73028ecb408ef53d0581b5e1641d8d5c34da5 | [
"Apache-2.0"
] | 89 | 2015-01-21T20:15:47.000Z | 2021-11-08T09:58:39.000Z | fluxtream-web/db/1.1.3/02_SharedChannels.sql | fluxtream/fluxtream-app | 40c73028ecb408ef53d0581b5e1641d8d5c34da5 | [
"Apache-2.0"
] | 30 | 2020-01-13T05:27:46.000Z | 2021-08-02T17:08:02.000Z | fluxtream-web/db/1.1.3/02_SharedChannels.sql | ahujamoh/fluxtream-app | 40c73028ecb408ef53d0581b5e1641d8d5c34da5 | [
"Apache-2.0"
] | 31 | 2015-02-18T06:16:01.000Z | 2022-03-29T15:09:39.000Z | CREATE TABLE `SharedChannels` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`buddy_id` bigint(20) DEFAULT NULL,
`channelMapping_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FKFD3DCB7568CEBFC9` (`buddy_id`),
KEY `FKFD3DCB752E0740A3` (`channelMapping_id`),
CONSTRAINT `FKFD3DCB752E0740A3` FOREIGN KEY (... | 50.9 | 103 | 0.750491 |
27a72524e41c91f68f6108c5fc6b7cf1eeb4aa07 | 13,880 | css | CSS | www/css/model.css | palmerhargreaves/nfz | 669c124dd5cedb064c00edc6095c5b851d9ca3d8 | [
"Unlicense"
] | null | null | null | www/css/model.css | palmerhargreaves/nfz | 669c124dd5cedb064c00edc6095c5b851d9ca3d8 | [
"Unlicense"
] | 1 | 2018-09-17T11:34:55.000Z | 2018-09-17T13:06:04.000Z | www/css/model.css | palmerhargreaves/nfz | 669c124dd5cedb064c00edc6095c5b851d9ca3d8 | [
"Unlicense"
] | null | null | null | .modal.model {
top: 25px;
width: 759px;
margin-left: -361px;
padding: 0px 9px 0px;
border-radius: 4px;
display: none;
}
.modal.model .modal-header {
position: relative;
height: 54px;
margin: 0px -9px;
padding-top: 0px;
padding-bottom: 0px;
background: #ececec;
border... | 19.576869 | 123 | 0.639049 |
1cb91cc036eb8a5cd670e25c4e8090b35dc0a75d | 4,579 | css | CSS | public/css/common.css | Okamo612/atte | a36345e4f19374ed040b91a2eee04b8831a58f73 | [
"MIT"
] | null | null | null | public/css/common.css | Okamo612/atte | a36345e4f19374ed040b91a2eee04b8831a58f73 | [
"MIT"
] | null | null | null | public/css/common.css | Okamo612/atte | a36345e4f19374ed040b91a2eee04b8831a58f73 | [
"MIT"
] | null | null | null | @charset "UTF-8";
/*ヘッダー、フッター、コンポーネントをまとめてcommon.cssにコンパイル・出力する*/
/*内容の被る部分が多かったlogin,registerについてもこちらに記載*/
/*---------------header---------------*/
header {
background-color: white;
height: 40px;
padding: 20px 30px;
display: flex;
justify-content: space-between;
align-items: center;
/*スマホサイズでハンバーガーメニュー*/... | 17.344697 | 56 | 0.59489 |
b2b7e4ac8602126a7252025c382dc07c1f558b19 | 1,181 | py | Python | fabrikApi/views/assembly/list.py | demokratiefabrik/fabrikApi | a56bb57d59a5e7cbbeeb77889c02d82f2a04c682 | [
"MIT"
] | null | null | null | fabrikApi/views/assembly/list.py | demokratiefabrik/fabrikApi | a56bb57d59a5e7cbbeeb77889c02d82f2a04c682 | [
"MIT"
] | null | null | null | fabrikApi/views/assembly/list.py | demokratiefabrik/fabrikApi | a56bb57d59a5e7cbbeeb77889c02d82f2a04c682 | [
"MIT"
] | null | null | null | """ Assemblies List View. """
import logging
from datetime import datetime
from cornice.service import Service
from fabrikApi.models.assembly import DBAssembly
from fabrikApi.models.mixins import arrow
# from fabrikApi.util.cors import CORS_LOCATION, CORS_MAX_AGE
logger = logging.getLogger(__name__)
# SERVICES
as... | 25.673913 | 88 | 0.702794 |
bcb19da65b166034fbf4dcb08980de5b6f4282a9 | 505 | js | JavaScript | src/renderer/converter.js | firemiles/Snippets | 0d009da668efe73acb0e773a65beccf372026f27 | [
"MIT"
] | null | null | null | src/renderer/converter.js | firemiles/Snippets | 0d009da668efe73acb0e773a65beccf372026f27 | [
"MIT"
] | null | null | null | src/renderer/converter.js | firemiles/Snippets | 0d009da668efe73acb0e773a65beccf372026f27 | [
"MIT"
] | null | null | null | import languages from './assets/data/languages';
const converter = {
languageToExtension(language) {
if (languages.filter(l => l.name === language).length > 0) {
return languages.filter(l => l.name === language)[0].extension;
}
return 'txt';
},
extensionToLanguage(extension) {
if (languages... | 26.578947 | 70 | 0.635644 |
0c9bc7001e74f0f6fcfe78268989e2e0da68dfe9 | 884 | sql | SQL | db/computer/jeesite_cms_guestbook.sql | WDoubleQ/computer | 2aec24a1d0397e69e2c60dbadfd93b65ec1fccf0 | [
"Apache-2.0"
] | 1 | 2020-04-25T11:37:17.000Z | 2020-04-25T11:37:17.000Z | db/computer/jeesite_cms_guestbook.sql | WDoubleQ/computer | 2aec24a1d0397e69e2c60dbadfd93b65ec1fccf0 | [
"Apache-2.0"
] | null | null | null | db/computer/jeesite_cms_guestbook.sql | WDoubleQ/computer | 2aec24a1d0397e69e2c60dbadfd93b65ec1fccf0 | [
"Apache-2.0"
] | null | null | null | create table cms_guestbook
(
id varchar(64) not null comment '编号'
primary key,
type char not null comment '留言分类',
content varchar(255) not null comment '留言内容',
name varchar(100) not null comment '姓名',
email varchar(100) not null c... | 38.434783 | 57 | 0.595023 |
5fef6388718e63efd88619a5405aa8444401a121 | 94 | css | CSS | src/app/components/error-summary/error-summary.component.css | VladimirN/ang2-course | ba5f2ece4c9c55da5c3b90c6997e760ec937b49c | [
"MIT"
] | null | null | null | src/app/components/error-summary/error-summary.component.css | VladimirN/ang2-course | ba5f2ece4c9c55da5c3b90c6997e760ec937b49c | [
"MIT"
] | null | null | null | src/app/components/error-summary/error-summary.component.css | VladimirN/ang2-course | ba5f2ece4c9c55da5c3b90c6997e760ec937b49c | [
"MIT"
] | null | null | null | .error-summary {
border: 1px solid red;
}
.error-summary li {
text-transform: uppercase;
}
| 11.75 | 27 | 0.691489 |
9c206de424831909c285e68228bc188cf68f5884 | 8,393 | js | JavaScript | sources/js/ViewStates.js | heschel6/Magic_Experiment | ceb8b81e7bcb210cc9f1775323f6afe4da6bdbb1 | [
"MIT"
] | 201 | 2016-11-14T23:13:21.000Z | 2019-04-17T19:55:12.000Z | sources/js/ViewStates.js | heschel6/Magic_Experiment | ceb8b81e7bcb210cc9f1775323f6afe4da6bdbb1 | [
"MIT"
] | 10 | 2016-12-23T06:06:23.000Z | 2021-04-19T21:04:55.000Z | sources/js/ViewStates.js | heschel6/Magic_Experiment | ceb8b81e7bcb210cc9f1775323f6afe4da6bdbb1 | [
"MIT"
] | 19 | 2016-12-23T10:08:35.000Z | 2021-08-16T08:08:22.000Z | var ViewStates, ViewStatesIgnoredKeys,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__su... | 30.97048 | 290 | 0.608245 |
a05c762ea772a9aa5351f0d002e969ba7ba3c566 | 354 | sql | SQL | zs_m_3_scripts/M3_L5_ALTER.sql | morb1d/zrozumsql | cde4597a8e5c466551f45740039f9ed7038f314f | [
"MIT"
] | 1 | 2020-09-23T18:07:05.000Z | 2020-09-23T18:07:05.000Z | zs_m_3_scripts/M3_L5_ALTER.sql | morb1d/zrozumsql | cde4597a8e5c466551f45740039f9ed7038f314f | [
"MIT"
] | null | null | null | zs_m_3_scripts/M3_L5_ALTER.sql | morb1d/zrozumsql | cde4597a8e5c466551f45740039f9ed7038f314f | [
"MIT"
] | 5 | 2020-11-05T11:57:37.000Z | 2021-09-22T08:09:54.000Z | CREATE SCHEMA trainig;
ALTER SCHEMA trainig RENAME TO training;
CREATE TABLE new_table (id integer);
ALTER TABLE new_table RENAME TO newer_table;
ALTER TABLE newer_table
ADD COLUMN description TEXT;
ALTER TABLE newer_table
RENAME description TO descr;
ALTER TABLE newer_table
DROP descr;
A... | 18.631579 | 46 | 0.754237 |
0ffc26abacde359e138a8ee20c398cf430a6f014 | 2,219 | swift | Swift | ___SwiftUI-Sandbox/SwiftUI-Pure-SwiftUI/Sources/PureSwiftUI/Extensions/Convenience/SwiftUI/Angle+Convenience.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | 14 | 2020-12-09T08:53:39.000Z | 2021-12-07T09:15:44.000Z | ___SwiftUI-Sandbox/SwiftUI-Pure-SwiftUI/Sources/PureSwiftUI/Extensions/Convenience/SwiftUI/Angle+Convenience.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | null | null | null | ___SwiftUI-Sandbox/SwiftUI-Pure-SwiftUI/Sources/PureSwiftUI/Extensions/Convenience/SwiftUI/Angle+Convenience.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | 8 | 2020-12-10T05:59:26.000Z | 2022-01-03T07:49:21.000Z | //
// Angle+Convenience.swift
//
//
// Created by Adam Fordyce on 20/11/2019.
// Copyright © 2019 Adam Fordyce. All rights reserved.
//
import SwiftUI
public extension Angle {
static func *<T: UINumericType>(lhs: Angle, rhs: T) -> Angle {
Angle(degrees: lhs.degrees * rhs.asDouble)
}
stat... | 23.114583 | 71 | 0.592609 |
12b07c93e2f23fafb3e829fbbc2440bb27dbc592 | 3,658 | h | C | generalScheduler/RequestScheduler_RR.h | uwuser/MCsim | df0033e73aa7669fd89bc669ff25a659dbb253f6 | [
"MIT"
] | 1 | 2021-11-25T20:09:08.000Z | 2021-11-25T20:09:08.000Z | generalScheduler/RequestScheduler_RR.h | uwuser/MCsim | df0033e73aa7669fd89bc669ff25a659dbb253f6 | [
"MIT"
] | 1 | 2021-11-03T21:15:53.000Z | 2021-11-04T15:53:20.000Z | generalScheduler/RequestScheduler_RR.h | uwuser/MCsim | df0033e73aa7669fd89bc669ff25a659dbb253f6 | [
"MIT"
] | 1 | 2020-11-25T14:09:30.000Z | 2020-11-25T14:09:30.000Z |
#ifndef REQUESTSCHEDULER_RR_H
#define REQUESTSCHEDULER_RR_H
#include <queue>
#include "../src/RequestScheduler.h"
namespace MCsim
{
class RequestScheduler_RR : public RequestScheduler
{
private:
unsigned int slotCounter, timeSlot, dataBusSize;
unsigned int queueIndex; // Check order of queue index
st... | 27.096296 | 239 | 0.603609 |
16c2a74b8fc3f66f068acbca45de861dac36220f | 318 | h | C | BWTransitions/BWTransitions/BWPop/BWPopTransitionDelegate.h | baiwhte/BWTransitions | 48d65a66b11bf59b80dee15ba0eec36c47436dd2 | [
"MIT"
] | null | null | null | BWTransitions/BWTransitions/BWPop/BWPopTransitionDelegate.h | baiwhte/BWTransitions | 48d65a66b11bf59b80dee15ba0eec36c47436dd2 | [
"MIT"
] | null | null | null | BWTransitions/BWTransitions/BWPop/BWPopTransitionDelegate.h | baiwhte/BWTransitions | 48d65a66b11bf59b80dee15ba0eec36c47436dd2 | [
"MIT"
] | null | null | null | //
// BWPopTransitionDelegate.h
// BWTransitions
//
// Created by 陈修武 on 2017/5/10.
// Copyright © 2017年 baiwhte. All rights reserved.
//
@import UIKit;
@interface BWPopTransitionDelegate : NSObject<UINavigationControllerDelegate>
@property (nonatomic, strong) UIPanGestureRecognizer *gestureRecognizer;
@end
| 18.705882 | 77 | 0.761006 |
1850633c6cf1030d5621021614c87de3dae4fccd | 75 | rb | Ruby | app/admin/bank.rb | playpark777/spafac-test | 5ef12ff502adbcf38699cffc1f038b87705d80f4 | [
"MIT"
] | null | null | null | app/admin/bank.rb | playpark777/spafac-test | 5ef12ff502adbcf38699cffc1f038b87705d80f4 | [
"MIT"
] | null | null | null | app/admin/bank.rb | playpark777/spafac-test | 5ef12ff502adbcf38699cffc1f038b87705d80f4 | [
"MIT"
] | null | null | null | ActiveAdmin.register Bank do
permit_params :name, :code, :available
end
| 15 | 40 | 0.773333 |
74bc10f34774c3ba1d6ab4afba1574519382fcb4 | 686 | js | JavaScript | experimental/language/$_COOKIE.js | VicAMMON/phpjs | 0f7a89437869393c132f052371ae593d98cbe7f9 | [
"MIT"
] | 73 | 2017-05-26T10:51:06.000Z | 2022-03-25T22:13:37.000Z | experimental/language/$_COOKIE.js | VicAMMON/phpjs | 0f7a89437869393c132f052371ae593d98cbe7f9 | [
"MIT"
] | 1 | 2021-11-21T10:54:25.000Z | 2021-11-21T10:54:25.000Z | experimental/language/$_COOKIE.js | VicAMMON/phpjs | 0f7a89437869393c132f052371ae593d98cbe7f9 | [
"MIT"
] | 20 | 2016-08-20T01:44:09.000Z | 2021-08-23T14:08:10.000Z | function $_COOKIE(name) {
// http://kevin.vanzonneveld.net
// + original by: http://www.quirksmode.org/js/cookies.html
// + improved by: Steve
// + improved by: Brett Zamir (http://brett-zamir.me)
// * example 1: document.cookie = 'test=hello';
// * example 1: var $myVar = $_COOKIE('test'); //... | 32.666667 | 80 | 0.548105 |
3b12151316e7ab6485e95a51c8c10b6af8b184e7 | 3,799 | h | C | src/coreds/util.h | fbsgen/coreds | 516e106d019fdc79253dc22593d68a0047cb28d9 | [
"Apache-2.0"
] | null | null | null | src/coreds/util.h | fbsgen/coreds | 516e106d019fdc79253dc22593d68a0047cb28d9 | [
"Apache-2.0"
] | null | null | null | src/coreds/util.h | fbsgen/coreds | 516e106d019fdc79253dc22593d68a0047cb28d9 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <cstring>
#include <string>
#include <chrono>
namespace coreds {
template <typename T>
struct HasState
{
virtual void update(T state) = 0;
};
namespace util {
const char* const DEFAULT_HOST = "127.0.0.1";
const char* resolveIpPort(char* arg, int* port)
{
if (arg == nullptr)
{
... | 23.596273 | 133 | 0.54646 |
17b76d72d626b7bc10b41f2b341aaeac372fd907 | 176 | sql | SQL | migrations/0002-swim-mandatory.sql | x15587953/Haskellform | d6a7607c41d00495fc155d903ada5d41c998b1d6 | [
"BSD-3-Clause"
] | 9 | 2018-02-09T15:55:01.000Z | 2018-05-25T01:07:31.000Z | migrations/0002-swim-mandatory.sql | x15587953/Haskellform | d6a7607c41d00495fc155d903ada5d41c998b1d6 | [
"BSD-3-Clause"
] | null | null | null | migrations/0002-swim-mandatory.sql | x15587953/Haskellform | d6a7607c41d00495fc155d903ada5d41c998b1d6 | [
"BSD-3-Clause"
] | null | null | null | UPDATE registration SET swim = FALSE WHERE swim IS NULL;
ALTER TABLE registration ALTER COLUMN swim SET DEFAULT FALSE;
ALTER TABLE registration ALTER COLUMN swim SET NOT NULL;
| 44 | 61 | 0.818182 |
170ece534dde0f4315c4235cc0ef70132fa16108 | 767 | h | C | sw_spi.h | shuichitakano/fmsx210 | 01fe049021afd16d331cfea13afb27956b8db568 | [
"MIT"
] | 10 | 2019-10-25T11:54:42.000Z | 2021-06-06T11:01:05.000Z | sw_spi.h | shuichitakano/fmsx210 | 01fe049021afd16d331cfea13afb27956b8db568 | [
"MIT"
] | null | null | null | sw_spi.h | shuichitakano/fmsx210 | 01fe049021afd16d331cfea13afb27956b8db568 | [
"MIT"
] | 2 | 2019-09-13T14:38:51.000Z | 2021-05-30T17:32:20.000Z |
/*
* author : Shuichi TAKANO
* since : Sat May 29 2021 16:06:36
*/
#ifndef _1FC51C99_5134_634A_F51B_A20C2EA86E06
#define _1FC51C99_5134_634A_F51B_A20C2EA86E06
#include <stdint.h>
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct _SWSPIConfig
{
int pinSS;
int gpioSS;
int pinS... | 17.837209 | 64 | 0.674055 |
f6b3a66efa96de8cfdf38ac09ea7faff6caf0fa5 | 1,490 | swift | Swift | RijksmuseumTests/APIServiceTests.swift | iBachek/rijksmuseum | 15382c72783b2975e34ec2fed453e2a019698844 | [
"MIT"
] | null | null | null | RijksmuseumTests/APIServiceTests.swift | iBachek/rijksmuseum | 15382c72783b2975e34ec2fed453e2a019698844 | [
"MIT"
] | null | null | null | RijksmuseumTests/APIServiceTests.swift | iBachek/rijksmuseum | 15382c72783b2975e34ec2fed453e2a019698844 | [
"MIT"
] | null | null | null | import XCTest
@testable import Services
class APIServiceTests: XCTestCase {
lazy var apiRequestor = APIRequestorMock()
lazy var apiService: APIServiceProtocol = APIService(requestor: apiRequestor)
override func setUpWithError() throws {
apiRequestor.path = nil
apiRequestor.method = nil
... | 28.653846 | 105 | 0.65906 |
5b90715eaa847879c30ba8c7dc8bc15eae4996e4 | 2,468 | sql | SQL | teste_dev_tbEnquetes.sql | carlosbaraldi/testedevWEB | 121e88170288b5598bcc295756865dcdf98b7de5 | [
"MIT"
] | null | null | null | teste_dev_tbEnquetes.sql | carlosbaraldi/testedevWEB | 121e88170288b5598bcc295756865dcdf98b7de5 | [
"MIT"
] | null | null | null | teste_dev_tbEnquetes.sql | carlosbaraldi/testedevWEB | 121e88170288b5598bcc295756865dcdf98b7de5 | [
"MIT"
] | null | null | null | -- MySQL dump 10.13 Distrib 8.0.25, for Win64 (x86_64)
--
-- Host: teste_dev.mysql.dbaas.com.br Database: teste_dev
-- ------------------------------------------------------
-- Server version 5.7.32-35-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@C... | 43.298246 | 243 | 0.721637 |
907626e8a4e9fd647ec819c31819f096a2338e13 | 1,231 | swift | Swift | Tests/MapboxNavigationTests/NavigationLocationProviderTests.swift | VishnuNCS/mapbox-navigation-ios | 9e42a853023d9ff1c0ed5535fd693a1b8ceb8411 | [
"MIT"
] | 1 | 2022-02-19T13:25:37.000Z | 2022-02-19T13:25:37.000Z | Tests/MapboxNavigationTests/NavigationLocationProviderTests.swift | VishnuNCS/mapbox-navigation-ios | 9e42a853023d9ff1c0ed5535fd693a1b8ceb8411 | [
"MIT"
] | null | null | null | Tests/MapboxNavigationTests/NavigationLocationProviderTests.swift | VishnuNCS/mapbox-navigation-ios | 9e42a853023d9ff1c0ed5535fd693a1b8ceb8411 | [
"MIT"
] | null | null | null | import XCTest
import MapboxMaps
@testable import MapboxNavigation
import TestHelper
class NavigationLocationProviderTests: TestCase {
var navigationMapView: NavigationMapView!
override func setUp() {
super.setUp()
navigationMapView = NavigationMapView(frame: .zero)
}
override ... | 39.709677 | 150 | 0.753046 |
c6b7a184a775de182e9a1bec6bd7a26f41f75f1a | 393 | rb | Ruby | db/migrate/20120116135432_add_translator_visible_to_questionnaires.rb | unepwcmc/ORS | 6934c8e6b26a6d0cb585f5e8f342e7db73e9d914 | [
"BSD-3-Clause"
] | 3 | 2016-12-08T09:21:55.000Z | 2019-06-29T16:03:47.000Z | db/migrate/20120116135432_add_translator_visible_to_questionnaires.rb | unepwcmc/ORS | 6934c8e6b26a6d0cb585f5e8f342e7db73e9d914 | [
"BSD-3-Clause"
] | 26 | 2016-09-22T08:24:45.000Z | 2022-02-26T01:23:32.000Z | db/migrate/20120116135432_add_translator_visible_to_questionnaires.rb | unepwcmc/ORS | 6934c8e6b26a6d0cb585f5e8f342e7db73e9d914 | [
"BSD-3-Clause"
] | null | null | null | class AddTranslatorVisibleToQuestionnaires < ActiveRecord::Migration
def self.up
unless column_exists?(:questionnaires, :translator_visible)
add_column :questionnaires, :translator_visible, :boolean, default: false
end
end
def self.down
if column_exists?(:questionnaires, :translator_visible)
... | 28.071429 | 79 | 0.765903 |
56015e9fa8333eb6ce82b37e0e0bdc5c2764504a | 2,795 | kt | Kotlin | CustomViewTest/app/src/main/java/com/example/lt/customviewtest/view/CameraView.kt | maxdylan/rwx_test | db3ee7b07c8d1fd35d24d53c6d79bb8fa13eb7c8 | [
"Apache-2.0"
] | null | null | null | CustomViewTest/app/src/main/java/com/example/lt/customviewtest/view/CameraView.kt | maxdylan/rwx_test | db3ee7b07c8d1fd35d24d53c6d79bb8fa13eb7c8 | [
"Apache-2.0"
] | null | null | null | CustomViewTest/app/src/main/java/com/example/lt/customviewtest/view/CameraView.kt | maxdylan/rwx_test | db3ee7b07c8d1fd35d24d53c6d79bb8fa13eb7c8 | [
"Apache-2.0"
] | null | null | null | package com.example.lt.customviewtest.view
import android.content.Context
import android.graphics.*
import android.util.AttributeSet
import android.view.View
import androidx.core.graphics.withSave
import com.example.lt.customviewtest.R
import com.example.lt.customviewtest.extension.px
import kotlin.math.max
class Cam... | 29.734043 | 81 | 0.595707 |
c0b0cc42f770f8d160ad5d99ebe688a05d25ca3a | 128 | sql | SQL | oracle/oracle 11g/SYS/Views/USER_TAB_COMMENTS.sql | LeeBaekHaeng/sql | 12c83fb31cfdcb52058a3e577844e0a0a8a6616e | [
"Apache-2.0"
] | null | null | null | oracle/oracle 11g/SYS/Views/USER_TAB_COMMENTS.sql | LeeBaekHaeng/sql | 12c83fb31cfdcb52058a3e577844e0a0a8a6616e | [
"Apache-2.0"
] | null | null | null | oracle/oracle 11g/SYS/Views/USER_TAB_COMMENTS.sql | LeeBaekHaeng/sql | 12c83fb31cfdcb52058a3e577844e0a0a8a6616e | [
"Apache-2.0"
] | null | null | null | SELECT /* */
A.*
FROM USER_TAB_COMMENTS A
WHERE 1 = 1
-- AND A.OWNER = 'SYS'
-- AND A.VIEW_NAME LIKE 'DBA_TA%'
;
| 16 | 35 | 0.554688 |
6b445ddcb3f4d12b98c5dc17f6c4636b1fca06d4 | 4,382 | h | C | src/httpjsonapi.h | YoungMiao/deepdetcet_gpu | 0ef97f9521b0000d69f0160a94bb0da099f0d29c | [
"Apache-2.0"
] | null | null | null | src/httpjsonapi.h | YoungMiao/deepdetcet_gpu | 0ef97f9521b0000d69f0160a94bb0da099f0d29c | [
"Apache-2.0"
] | null | null | null | src/httpjsonapi.h | YoungMiao/deepdetcet_gpu | 0ef97f9521b0000d69f0160a94bb0da099f0d29c | [
"Apache-2.0"
] | null | null | null | /**
* DeepDetect
* Copyright (c) 2015 Emmanuel Benazera
* Author: Emmanuel Benazera <beniz@droidnik.fr>
*
* This file is part of deepdetect.
*
* deepdetect is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software F... | 25.776471 | 96 | 0.65267 |
3b4c2cc8fb1b2b86ba360c399ce8bb18b18c9919 | 636 | h | C | include/dioptre/window/null/window.h | tobscher/rts | 7f30faf6a13d309e4db828be8be3c05d28c05364 | [
"MIT"
] | 2 | 2015-05-14T16:07:30.000Z | 2015-07-27T21:08:48.000Z | include/dioptre/window/null/window.h | tobscher/rts | 7f30faf6a13d309e4db828be8be3c05d28c05364 | [
"MIT"
] | null | null | null | include/dioptre/window/null/window.h | tobscher/rts | 7f30faf6a13d309e4db828be8be3c05d28c05364 | [
"MIT"
] | null | null | null | #ifndef DIOPTRE_WINDOW_NULL_WINDOW_H_
#define DIOPTRE_WINDOW_NULL_WINDOW_H_
#include "dioptre/window/window_interface.h"
namespace dioptre {
namespace window {
namespace null {
class Window : public dioptre::window::WindowInterface {
public:
Window() :
shouldClose_(false) { }
int initialize() { return 0; }
... | 21.2 | 59 | 0.713836 |
6ef034483fd4b58743702a7c2ae19820c0733094 | 15,938 | html | HTML | COMP4537/API/V1/COMP4537-API-Documentation.html | dustinbrooks60/dustinbrooks | e02b5cd7645ba73f98b878141d6b08b07f869a64 | [
"MIT"
] | null | null | null | COMP4537/API/V1/COMP4537-API-Documentation.html | dustinbrooks60/dustinbrooks | e02b5cd7645ba73f98b878141d6b08b07f869a64 | [
"MIT"
] | null | null | null | COMP4537/API/V1/COMP4537-API-Documentation.html | dustinbrooks60/dustinbrooks | e02b5cd7645ba73f98b878141d6b08b07f869a64 | [
"MIT"
] | null | null | null | <!doctype html>
<html>
<head>
<title>Upgraded Quiz API for COMP4537 Term Project</title>
<style type="text/css">
body {
font-family: Trebuchet MS, sans-serif;
font-size: 15px;
color: #444;
margin-right: 24px;
}
h1 {
font-size: 25px;
}
h2 {
font-size: 20px;
... | 29.846442 | 142 | 0.627243 |
b2e84727d200add756532d87eca711fb92b61dde | 1,570 | py | Python | setup.py | Peque/mmsim | b3a78ad0119db6ee8df349a89559ea8006c85db1 | [
"BSD-3-Clause"
] | null | null | null | setup.py | Peque/mmsim | b3a78ad0119db6ee8df349a89559ea8006c85db1 | [
"BSD-3-Clause"
] | null | null | null | setup.py | Peque/mmsim | b3a78ad0119db6ee8df349a89559ea8006c85db1 | [
"BSD-3-Clause"
] | null | null | null | """
Setup module.
"""
from setuptools import setup
from mmsim import __version__
setup(
name='mmsim',
version=__version__,
description='A simple Micromouse Maze Simulator server',
long_description="""The server can load different mazes and any client
can connect to it to ask for the current po... | 26.610169 | 77 | 0.54586 |
203ed35411b708a42bd91c09eb2d47f5ad8a7d3a | 8,949 | css | CSS | myweb/mydreamer/ui/focus/skitter_slide_show/css/styles.css | zodiac-xl/node-Iacg | 4d2bd282b212b205bc137ec3d06a785f7d74cc91 | [
"MIT"
] | 1 | 2017-05-18T05:57:21.000Z | 2017-05-18T05:57:21.000Z | myweb/mydreamer/ui/focus/skitter_slide_show/css/styles.css | zodiac-xl/node-Iacg | 4d2bd282b212b205bc137ec3d06a785f7d74cc91 | [
"MIT"
] | null | null | null | myweb/mydreamer/ui/focus/skitter_slide_show/css/styles.css | zodiac-xl/node-Iacg | 4d2bd282b212b205bc137ec3d06a785f7d74cc91 | [
"MIT"
] | 1 | 2017-03-22T10:06:19.000Z | 2017-03-22T10:06:19.000Z | * { margin:0; padding:0; list-style:none; }
body { background:url(../images/bg-page.png) repeat left top; font-family:'Mako',arial,tahoma; }
a, a img { border:none; outline:none; color:#004499; }
.content-width { width:980px; margin:0 auto; }
.clear { clear:both; }
#page { background:url(../images/bg-header-repeat.... | 55.583851 | 249 | 0.661862 |
fb9c3dfda736d7d0362e7af62401ecfd5fb56ba0 | 15,483 | sql | SQL | competitions.sql | ChristopherDay/Competition | 093957fd96297f1ad4fe2fb7e0f3fabcd0473d99 | [
"MIT"
] | 1 | 2020-05-12T18:40:05.000Z | 2020-05-12T18:40:05.000Z | competitions.sql | ChristopherDay/Competition | 093957fd96297f1ad4fe2fb7e0f3fabcd0473d99 | [
"MIT"
] | null | null | null | competitions.sql | ChristopherDay/Competition | 093957fd96297f1ad4fe2fb7e0f3fabcd0473d99 | [
"MIT"
] | null | null | null | -- MySQL dump 10.13 Distrib 8.0.18, for osx10.15 (x86_64)
--
-- Host: localhost Database: competitions
-- ------------------------------------------------------
-- Server version 8.0.18
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS... | 32.527311 | 431 | 0.700833 |
bff2ea677a3ae532183518aa0017c482ad06b9be | 981 | asm | Assembly | programs/oeis/083/A083254.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/083/A083254.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/083/A083254.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A083254: a(n) = 2*phi(n) - n.
; 1,0,1,0,3,-2,5,0,3,-2,9,-4,11,-2,1,0,15,-6,17,-4,3,-2,21,-8,15,-2,9,-4,27,-14,29,0,7,-2,13,-12,35,-2,9,-8,39,-18,41,-4,3,-2,45,-16,35,-10,13,-4,51,-18,25,-8,15,-2,57,-28,59,-2,9,0,31,-26,65,-4,19,-22,69,-24,71,-2,5,-4,43,-30,77,-16,27,-2,81,-36,43,-2,25,-8,87,-42,53,-4,27,-2,49,-32,95,... | 109 | 830 | 0.557594 |
db26e9c798f706d6c99cd0c81833e618aed1bcb1 | 1,100 | sql | SQL | coffee-shop/database/create-tables.sql | fajes650yqu0n/PacktPublishingn | 709f84fb37610abf23ca498a25364cdaf073ac8d | [
"MIT"
] | 20 | 2018-07-03T22:43:53.000Z | 2021-11-08T13:12:16.000Z | coffee-shop/database/create-tables.sql | fajes650yqu0n/PacktPublishingn | 709f84fb37610abf23ca498a25364cdaf073ac8d | [
"MIT"
] | 1 | 2018-06-27T11:11:43.000Z | 2018-06-27T11:11:43.000Z | coffee-shop/database/create-tables.sql | PacktPublishing/Developing-Containerized-Java-EE-8-Apps-using-Docker-and-Kubernetes | 74e51b3c464c24bf9a1bbb3f7f4ef6df46578a84 | [
"MIT"
] | 13 | 2018-09-07T04:14:42.000Z | 2021-08-22T16:37:09.000Z | --
-- create tables
CREATE TABLE orders (
id VARCHAR(255) NOT NULL,
status VARCHAR(255) NOT NULL,
type VARCHAR(255) NOT NULL,
origin_name VARCHAR(255) NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE origin_coffee_types (
origin_name VARCHAR(255) NOT NULL,
type VARCHAR(255) NOT NUL... | 27.5 | 90 | 0.741818 |
aa45d260dafc382fd545599f83efb30aa1e2d0ca | 249 | sql | SQL | kata-files/lesson2/postgresql/expected/MYLARGESCHEMA/view/view3.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 22 | 2017-09-28T21:35:04.000Z | 2022-02-12T06:24:28.000Z | kata-files/lesson2/postgresql/expected/MYLARGESCHEMA/view/view3.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 6 | 2017-07-01T13:52:34.000Z | 2018-09-13T15:43:47.000Z | kata-files/lesson2/postgresql/expected/MYLARGESCHEMA/view/view3.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 11 | 2017-04-30T18:39:09.000Z | 2021-08-22T16:21:11.000Z | CREATE VIEW view3 AS
SELECT 1 AS c1
FROM table116
UNION
SELECT 1 AS c1
FROM table279
UNION
SELECT 1 AS c1
FROM table100
UNION
SELECT 1 AS c1
FROM view70
UNION
SELECT 1 AS c1
FROM view52
UNION
SELECT 1 AS c1
FROM view86;
GO | 11.318182 | 20 | 0.706827 |
98c8460b9b4e6efb36207ee96a0911661d101fa1 | 2,892 | html | HTML | docs/2020-12-1-146/readings/notes/jones_reckoning_with_matter.html | periode/thesis | 84a3e5631455f165634ad8f9b977d2e90f4f2a8a | [
"MIT"
] | 2 | 2020-12-27T23:08:47.000Z | 2021-06-04T02:54:09.000Z | docs/2020-12-1-146/readings/notes/jones_reckoning_with_matter.html | periode/thesis | 84a3e5631455f165634ad8f9b977d2e90f4f2a8a | [
"MIT"
] | null | null | null | docs/2020-12-1-146/readings/notes/jones_reckoning_with_matter.html | periode/thesis | 84a3e5631455f165634ad8f9b977d2e90f4f2a8a | [
"MIT"
] | null | null | null |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>works in public</title>
<link rel="stylesheet" href="style.css"/>
</head>
<body>
<style>
body {
background-color: white;
font-family: sans-serif, serif;
}
.holding{
margin: auto;
}
.tight{
width: ... | 39.081081 | 336 | 0.72787 |
9baaff69d1d21a5ac53edd2eac42e665f7c553e8 | 3,634 | js | JavaScript | src/res/js/under/extend/stage/physics/VariableGravityWorld.js | Expine/Under | 8c9f2b884b1a8ce4bdf2fff948cac4cebbd5fdc3 | [
"MIT"
] | null | null | null | src/res/js/under/extend/stage/physics/VariableGravityWorld.js | Expine/Under | 8c9f2b884b1a8ce4bdf2fff948cac4cebbd5fdc3 | [
"MIT"
] | null | null | null | src/res/js/under/extend/stage/physics/VariableGravityWorld.js | Expine/Under | 8c9f2b884b1a8ce4bdf2fff948cac4cebbd5fdc3 | [
"MIT"
] | null | null | null | // TODO: Comment
/**
* Gravity world
* - Performs a physical operation
* - Registers entities and apply a physical operation
* - Continually perform collision processing
* - ### Manages not actor by split area
* @extends {SplitWorld}
* @classdesc Gravity world to manage not actor by split area
*/
class Variable... | 32.159292 | 116 | 0.504953 |
a1218f179279b8474798c2d3b4a293887517a34f | 278 | swift | Swift | ios/RCTMGL-v10/RCTMGLMarkerViewManager.swift | NorthroomZA/maps | d35760d38fc578969e3f4cb5b6c7f02af3e7d518 | [
"MIT"
] | 36 | 2022-03-01T01:31:13.000Z | 2022-03-29T23:11:29.000Z | ios/RCTMGL-v10/RCTMGLMarkerViewManager.swift | NorthroomZA/maps | d35760d38fc578969e3f4cb5b6c7f02af3e7d518 | [
"MIT"
] | 61 | 2022-03-01T00:00:59.000Z | 2022-03-28T15:53:28.000Z | ios/RCTMGL-v10/RCTMGLMarkerViewManager.swift | NorthroomZA/maps | d35760d38fc578969e3f4cb5b6c7f02af3e7d518 | [
"MIT"
] | 21 | 2022-03-02T08:50:37.000Z | 2022-03-31T02:07:30.000Z | import Foundation
import MapboxMaps
@objc(RCTMGLMarkerViewManager)
class RCTMGLMarkerViewManager : RCTViewManager {
@objc
override static func requiresMainQueueSetup() -> Bool {
return true
}
override func view() -> UIView! {
return RCTMGLMarkerView()
}
}
| 18.533333 | 57 | 0.730216 |
450ce83545b6aa102a013482089c82d9a980885a | 2,092 | swift | Swift | box/View/GridVisorMatch/VGridVisorMatch.swift | grandiere/box | 72c9848017e2fed2b8358e2f52edbc8d21f1a4f0 | [
"MIT"
] | 7 | 2017-05-17T15:11:53.000Z | 2020-10-14T14:54:52.000Z | box/View/GridVisorMatch/VGridVisorMatch.swift | grandiere/box | 72c9848017e2fed2b8358e2f52edbc8d21f1a4f0 | [
"MIT"
] | 22 | 2017-05-16T15:43:08.000Z | 2018-02-26T07:11:18.000Z | box/View/GridVisorMatch/VGridVisorMatch.swift | grandiere/box | 72c9848017e2fed2b8358e2f52edbc8d21f1a4f0 | [
"MIT"
] | 7 | 2017-05-17T15:12:02.000Z | 2020-09-09T13:15:44.000Z | import UIKit
class VGridVisorMatch:VView
{
private(set) weak var buttonCancel:UIButton!
private(set) weak var viewBase:VGridVisorMatchBase!
private weak var controller:CGridVisorMatch!
private weak var layoutBaseTop:NSLayoutConstraint!
private let kBaseMarginHorizontal:CGFloat = 10
private let ... | 28.657534 | 70 | 0.632887 |
6cec2c466ac73fb70774aa0021f3c36454c27f28 | 4,335 | lua | Lua | KkthnxUI/Modules/Maps/Minimap.lua | Bia10/KkthnxUI-3.3.5 | 028503de668fd6f216022c59983558aec37f4dde | [
"FSFAP"
] | 1 | 2021-04-30T05:19:54.000Z | 2021-04-30T05:19:54.000Z | KkthnxUI/Modules/Maps/Minimap.lua | Bia10/KkthnxUI-3.3.5 | 028503de668fd6f216022c59983558aec37f4dde | [
"FSFAP"
] | null | null | null | KkthnxUI/Modules/Maps/Minimap.lua | Bia10/KkthnxUI-3.3.5 | 028503de668fd6f216022c59983558aec37f4dde | [
"FSFAP"
] | 1 | 2021-12-07T14:10:56.000Z | 2021-12-07T14:10:56.000Z | local K, C, L, _ = unpack(select(2, ...))
if C["minimap"].enable ~= true then return end
local _G = _G
local unpack = unpack
local pairs = pairs
local PlaySound, CreateFrame, UIParent = PlaySound, CreateFrame, UIParent
local IsAddOnLoaded = IsAddOnLoaded
-- Minimap border
local MinimapAnchor = CreateFrame("Frame", "M... | 32.111111 | 107 | 0.785236 |
bab7af2f0e03f7461ccc4f683ef6e0c28acbef97 | 261 | swift | Swift | Package.swift | azawawi/swift-zmq-examples | 0fd55373ece3c1a400460dff7cca51401e35d0e8 | [
"MIT"
] | 3 | 2016-10-03T08:22:27.000Z | 2018-11-14T15:58:32.000Z | Package.swift | azawawi/swift-zmq-examples | 0fd55373ece3c1a400460dff7cca51401e35d0e8 | [
"MIT"
] | null | null | null | Package.swift | azawawi/swift-zmq-examples | 0fd55373ece3c1a400460dff7cca51401e35d0e8 | [
"MIT"
] | 1 | 2018-11-14T15:58:35.000Z | 2018-11-14T15:58:35.000Z | import PackageDescription
let package = Package(
name: "ZMQExamples",
dependencies: [
.Package(
url : "https://github.com/azawawi/swift-zmq.git",
majorVersion : 0,
minor : 4
)
]
)
| 20.076923 | 70 | 0.494253 |
fb11b44f4e120f6b7293847da1e0e9f0133f853a | 1,649 | go | Go | app/bitcoin/transaction/build/poll.go | tracyspacy/memo | 3caf6c2c0f18086a528999ab14c32155589074ac | [
"MIT"
] | null | null | null | app/bitcoin/transaction/build/poll.go | tracyspacy/memo | 3caf6c2c0f18086a528999ab14c32155589074ac | [
"MIT"
] | null | null | null | app/bitcoin/transaction/build/poll.go | tracyspacy/memo | 3caf6c2c0f18086a528999ab14c32155589074ac | [
"MIT"
] | 1 | 2019-11-12T23:33:52.000Z | 2019-11-12T23:33:52.000Z | package build
import (
"github.com/jchavannes/jgo/jerr"
"github.com/memocash/memo/app/bitcoin/memo"
"github.com/memocash/memo/app/bitcoin/wallet"
"github.com/memocash/memo/app/db"
"sort"
)
func Poll(pollType memo.PollType, question string, options []string, privateKey *wallet.PrivateKey) ([]*memo.Tx, error) {
v... | 29.981818 | 126 | 0.730139 |
cb8ef700df14e74ec7235f8d60b33a7a0239854b | 3,275 | go | Go | conv32_test.go | sirkon/decconv | 4d07560f2c6d19d59702db9105000b4201583702 | [
"MIT"
] | null | null | null | conv32_test.go | sirkon/decconv | 4d07560f2c6d19d59702db9105000b4201583702 | [
"MIT"
] | null | null | null | conv32_test.go | sirkon/decconv | 4d07560f2c6d19d59702db9105000b4201583702 | [
"MIT"
] | null | null | null | package decconv
import (
"testing"
)
func TestDecode32(t *testing.T) {
type args struct {
precision int
scale int
input string
}
tests := []struct {
name string
args args
want int32
conv string
wantErr bool
}{
{
name: "only-integral-positive",
args: args{
precision... | 17.607527 | 80 | 0.500458 |
cb891795178501e35c9de1ce97221c22b594435c | 465 | go | Go | vendor/github.com/mkideal/log/_examples/console/main.go | kooksee/ksuv | b9dafc8370ad6f56f25a8f8810d53b1908bc65fd | [
"MIT"
] | 48 | 2016-08-13T15:36:04.000Z | 2020-11-24T07:05:04.000Z | vendor/github.com/mkideal/log/_examples/console/main.go | kooksee/ksuv | b9dafc8370ad6f56f25a8f8810d53b1908bc65fd | [
"MIT"
] | 1 | 2017-05-12T07:51:10.000Z | 2017-05-12T08:54:01.000Z | vendor/github.com/mkideal/log/_examples/console/main.go | kooksee/ksuv | b9dafc8370ad6f56f25a8f8810d53b1908bc65fd | [
"MIT"
] | 9 | 2016-08-13T10:26:09.000Z | 2018-06-29T06:57:25.000Z | package main
import (
"github.com/mkideal/log"
)
func main() {
defer log.Uninit(log.InitConsole(log.LvWARN))
log.SetLevel(log.LvDEBUG)
log.Trace("%s cannot be printed", "TRACE")
log.Debug("%s should be printed into stdout", "DEBUG")
log.Info("%s should be printed into stdout", "INFO")
log.Warn("%s should be... | 23.25 | 55 | 0.692473 |
e952d53d6ddaab9401269965b9305a7c8c0eede6 | 194 | rb | Ruby | db/migrate/20140610105752_add_to_updated_at_pq_ao.rb | saydulk/parliamentary-questions | 5a287b2886010c587c0e15499fd6b90cfa509dcc | [
"MIT"
] | null | null | null | db/migrate/20140610105752_add_to_updated_at_pq_ao.rb | saydulk/parliamentary-questions | 5a287b2886010c587c0e15499fd6b90cfa509dcc | [
"MIT"
] | null | null | null | db/migrate/20140610105752_add_to_updated_at_pq_ao.rb | saydulk/parliamentary-questions | 5a287b2886010c587c0e15499fd6b90cfa509dcc | [
"MIT"
] | 15 | 2017-01-12T10:18:11.000Z | 2019-04-19T08:15:39.000Z | class AddToUpdatedAtPqAo < ActiveRecord::Migration
def change
add_column :action_officers_pqs, :updated_at, :datetime
add_column :action_officers_pqs, :created_at, :datetime
end
end
| 27.714286 | 59 | 0.78866 |
8abcccb549281c210e9e467eff48ff3d6a4504ed | 10,682 | rs | Rust | src/lib/codec/codecs/base32.rs | bk2204/muter | 6b36874e79988e84208586a90c414e9cb077545c | [
"MIT"
] | 4 | 2021-01-10T10:13:02.000Z | 2022-03-26T08:38:25.000Z | src/lib/codec/codecs/base32.rs | bk2204/muter | 6b36874e79988e84208586a90c414e9cb077545c | [
"MIT"
] | 4 | 2017-07-05T08:59:13.000Z | 2022-01-23T18:20:52.000Z | src/lib/codec/codecs/base32.rs | bk2204/muter | 6b36874e79988e84208586a90c414e9cb077545c | [
"MIT"
] | 2 | 2017-10-26T10:37:42.000Z | 2021-12-02T15:02:48.000Z | #![allow(unknown_lints)]
#![allow(bare_trait_objects)]
use codec::helpers::codecs::ChunkedDecoder;
use codec::helpers::codecs::PaddedDecoder;
use codec::helpers::codecs::PaddedEncoder;
use codec::helpers::codecs::StatelessEncoder;
use codec::CodecSettings;
use codec::CodecTransform;
use codec::Direction;
use codec::Er... | 40.462121 | 465 | 0.500094 |
95adb2d2f51a1dc35885596c3d8d9cc923806210 | 125 | css | CSS | src/components/Nav/style.css | jkawahara/chuscanos | 5132a6d3fabbb28faabbe3a36ca0a27cd3e2a9aa | [
"MIT"
] | null | null | null | src/components/Nav/style.css | jkawahara/chuscanos | 5132a6d3fabbb28faabbe3a36ca0a27cd3e2a9aa | [
"MIT"
] | null | null | null | src/components/Nav/style.css | jkawahara/chuscanos | 5132a6d3fabbb28faabbe3a36ca0a27cd3e2a9aa | [
"MIT"
] | null | null | null | Nav {
text-align: right;
}
#navbar {
background-image: linear-gradient(120deg, steelblue 0%, skyblue 70%, white 100%);
} | 17.857143 | 83 | 0.68 |
27def78ffd41d75430a0cc0566bfcbb299a871a0 | 1,791 | kt | Kotlin | module_event/src/main/java/app/melon/event/NearbyEventsActivity.kt | biubiubiiu/Melon | 6bb52f962084674ed50ffb3f8399c1b413a5a234 | [
"Apache-2.0"
] | null | null | null | module_event/src/main/java/app/melon/event/NearbyEventsActivity.kt | biubiubiiu/Melon | 6bb52f962084674ed50ffb3f8399c1b413a5a234 | [
"Apache-2.0"
] | null | null | null | module_event/src/main/java/app/melon/event/NearbyEventsActivity.kt | biubiubiiu/Melon | 6bb52f962084674ed50ffb3f8399c1b413a5a234 | [
"Apache-2.0"
] | 1 | 2021-07-20T18:11:49.000Z | 2021-07-20T18:11:49.000Z | package app.melon.event
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.activity.viewModels
import app.melon.event.databinding.ActivityNearbyEventsBinding
import app.melon.event.nearby.NearbyEventsViewModel
impo... | 29.85 | 84 | 0.686209 |
9c04c73e3743b4b7f88cdf3f1f3e05ebbf0ae062 | 330,457 | js | JavaScript | drestpl2.js | dressroommbk/dressroommbk | 59fc9476337c2a56049717bb6aa87cd71544dcf0 | [
"MIT"
] | null | null | null | drestpl2.js | dressroommbk/dressroommbk | 59fc9476337c2a56049717bb6aa87cd71544dcf0 | [
"MIT"
] | null | null | null | drestpl2.js | dressroommbk/dressroommbk | 59fc9476337c2a56049717bb6aa87cd71544dcf0 | [
"MIT"
] | 1 | 2020-10-23T08:13:05.000Z | 2020-10-23T08:13:05.000Z | var dresserScriptVersion = 199;
var saveSetOnServerUrl = '/dressroom/?action=save&saveset=1&texttosave={0}';
var absoluteDressRoomUrl = '/dressroom';
var battleScriptId = 'battleScriptId';
var battleProviderUrl = '/cgi/dresbatl.pl';
//var getCharacterInfoUrlFormat = '/cgi/get_ci.pl?nick={0}';
var getCharacterInfoUrlF... | 26.918948 | 457 | 0.632122 |
b96bebc0b7b5b09c6b4f6739f3d94d5d7ffc0fe2 | 54,264 | c | C | testsuite/EXP_5/test116.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 34 | 2017-07-04T14:16:12.000Z | 2021-04-22T21:04:43.000Z | testsuite/EXP_5/test116.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 1 | 2017-07-06T03:43:44.000Z | 2017-07-06T03:43:44.000Z | testsuite/EXP_5/test116.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 6 | 2017-07-04T16:30:42.000Z | 2019-10-16T05:37:29.000Z |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
int8_t x13 = -2;
int8_t x14 = 2;
static volatile int32_t t0 = 80682128;
int32_t t1 = INT32_MIN;
uint8_t x45 = ... | 19.215297 | 60 | 0.600951 |
3d38d7c7f43fc6f85f5759750b13a99e6b613291 | 515 | rs | Rust | tests/wasm_tests.rs | sarahmeyer/exspork | 68b1ad1c091b5cf3c0e41c323428683f8e02515e | [
"Apache-2.0",
"MIT"
] | 5 | 2018-06-11T10:42:26.000Z | 2018-09-08T00:54:04.000Z | tests/wasm_tests.rs | sarahmeyer/exspork | 68b1ad1c091b5cf3c0e41c323428683f8e02515e | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/wasm_tests.rs | sarahmeyer/exspork | 68b1ad1c091b5cf3c0e41c323428683f8e02515e | [
"Apache-2.0",
"MIT"
] | null | null | null | extern crate exspork;
use exspork::read_cargo_toml;
#[test]
fn test_cargo_read() {
let config = read_cargo_toml("Cargo.toml").unwrap();
assert_eq!(config.package.name, "exspork".to_string());
assert_eq!(config.package.version, "0.1.0".to_string());
assert_eq!(config.package.license, Some("MIT/Apache-... | 34.333333 | 88 | 0.716505 |
124a31a43722e39a9dd4db3fd8c5cdbfd3b41b42 | 592 | h | C | iOSFactory/iOSFactory/MSDCVCVMV/APEUserSubject.h | zhangjk4859/iOSFactory | b6c15ede51778d340b085b22ba15642492d1d63e | [
"MIT"
] | 1 | 2019-09-19T03:20:03.000Z | 2019-09-19T03:20:03.000Z | iOSFactory/iOSFactory/MSDCVCVMV/APEUserSubject.h | zhangjk4859/iOSFactory | b6c15ede51778d340b085b22ba15642492d1d63e | [
"MIT"
] | null | null | null | iOSFactory/iOSFactory/MSDCVCVMV/APEUserSubject.h | zhangjk4859/iOSFactory | b6c15ede51778d340b085b22ba15642492d1d63e | [
"MIT"
] | null | null | null | //
// APEUserSubject.h
// iOSFactory
//
// Created by kevin on 2019/5/13.
// Copyright © 2019 jumu. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface APESubject : NSObject
@property (nonatomic, strong, nullable) NSNumber *id;
@property (nonatomic, strong, nullable) NSS... | 19.733333 | 62 | 0.746622 |
b6da0bb4ae81472c509218aeb58ecfda6e71bc87 | 2,940 | lua | Lua | init.lua | vincens2005/lite-xl-discord | 438d7231e95b29a46abf7d13aca3c6261d425bef | [
"MIT"
] | 2 | 2021-06-11T20:24:31.000Z | 2021-09-02T14:54:40.000Z | init.lua | vincens2005/lite-xl-discord | 438d7231e95b29a46abf7d13aca3c6261d425bef | [
"MIT"
] | 4 | 2021-06-03T02:18:14.000Z | 2021-12-15T00:39:27.000Z | init.lua | vincens2005/lite-xl-discord | 438d7231e95b29a46abf7d13aca3c6261d425bef | [
"MIT"
] | 2 | 2021-07-31T02:47:45.000Z | 2021-08-29T16:13:37.000Z | -- mod-version:1 lite-xl 2.00
local core = require "core"
local command = require "core.command"
local common = require "core.common"
local config = require "core.config"
-- function replacements:
local quit = core.quit
local restart = core.restart
local status = {filename = nil, space = nil}
-- stolen from https://s... | 30.625 | 127 | 0.677551 |
5b12f78c1fb989b7ff9ac903bf51112ef337e8e0 | 2,881 | h | C | esp8266/include/esp8266.h | Kurt-E-Clothier/Javamon | 3446bdcba067506f7462e5d32bb0f1d8b3fd0790 | [
"MIT"
] | 9 | 2015-07-01T21:57:12.000Z | 2017-03-18T21:48:43.000Z | esp8266/include/esp8266.h | Kurt-E-Clothier/Javamon | 3446bdcba067506f7462e5d32bb0f1d8b3fd0790 | [
"MIT"
] | 1 | 2021-02-24T02:43:15.000Z | 2021-02-24T02:43:15.000Z | esp8266/include/esp8266.h | Kurt-E-Clothier/Javamon | 3446bdcba067506f7462e5d32bb0f1d8b3fd0790 | [
"MIT"
] | 8 | 2016-01-04T15:39:12.000Z | 2021-01-13T11:25:31.000Z | /***************************************************************************
*
* File : esp8266.h
*
* Author : Kurt E. Clothier
* Date : June 1, 2015
* Modified : June 23, 2015
*
* Description : Header File for all Projects
*
* Compiler : Xtensa Tools - GCC
* Hardware : ESP8266-x
*
* More... | 26.431193 | 77 | 0.502256 |
a88f1e0c89a49ad71799b423e9d10ea70e8dbc11 | 5,421 | rs | Rust | src/util/bitpacker.rs | MarcoPolo/rust-sssmc39 | a3e9d53d295b249c0212d6f7ab9dc434c8210df2 | [
"Apache-2.0"
] | 19 | 2019-05-08T16:15:42.000Z | 2021-05-13T12:52:19.000Z | src/util/bitpacker.rs | MarcoPolo/rust-sssmc39 | a3e9d53d295b249c0212d6f7ab9dc434c8210df2 | [
"Apache-2.0"
] | 4 | 2019-09-26T08:01:28.000Z | 2020-01-29T16:01:25.000Z | src/util/bitpacker.rs | MarcoPolo/rust-sssmc39 | a3e9d53d295b249c0212d6f7ab9dc434c8210df2 | [
"Apache-2.0"
] | 4 | 2019-09-19T14:56:02.000Z | 2021-12-23T20:34:27.000Z | // Copyright 2019 The Grin Developers
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 25.691943 | 87 | 0.620919 |
f01546244daef76f91454218d243e57cff9b2fef | 113 | py | Python | feast/DetectionModules/__init__.py | ChandlerKemp/FEAST_PtE | 9551824932379149dd6bc9135cfac6edf60c40c8 | [
"MIT"
] | 3 | 2020-04-21T18:59:01.000Z | 2021-01-14T22:56:17.000Z | feast/DetectionModules/__init__.py | ChandlerKemp/FEAST_PtE | 9551824932379149dd6bc9135cfac6edf60c40c8 | [
"MIT"
] | null | null | null | feast/DetectionModules/__init__.py | ChandlerKemp/FEAST_PtE | 9551824932379149dd6bc9135cfac6edf60c40c8 | [
"MIT"
] | null | null | null | from . import null
from . import abstract_detection_method
from . import tech_detect
from . import tiered_detect
| 22.6 | 39 | 0.823009 |
1b1348dfc1f99c6164d813609c58f4dcc5ffd165 | 153 | lua | Lua | config.lua | AmirkhajehB/antilink_amir2030bot | c6b638352c4a8ec1557170c1b22a9e94cc425c21 | [
"MIT"
] | null | null | null | config.lua | AmirkhajehB/antilink_amir2030bot | c6b638352c4a8ec1557170c1b22a9e94cc425c21 | [
"MIT"
] | null | null | null | config.lua | AmirkhajehB/antilink_amir2030bot | c6b638352c4a8ec1557170c1b22a9e94cc425c21 | [
"MIT"
] | null | null | null | bot_token = "278369956:AAErVhLw6LeNPZEP31XMNIC4-KjFf_lbCJI"
send_api = "https://api.telegram.org/bot"..bot_token
bot_version = "1.1"
sudo_id = 216507730
| 30.6 | 59 | 0.784314 |
43d1fe48637bcc7f15df95e84a25ca9165089b7c | 4,720 | go | Go | services/lake/relay/relay.go | jancajthaml-openbank/lake | a24a0688e1b44854c720b09059982a626dbeb7aa | [
"Apache-2.0"
] | 2 | 2018-07-25T22:12:12.000Z | 2019-07-22T08:56:05.000Z | services/lake/relay/relay.go | jancajthaml-openbank/lake | a24a0688e1b44854c720b09059982a626dbeb7aa | [
"Apache-2.0"
] | 42 | 2018-01-22T09:37:25.000Z | 2022-03-21T09:56:57.000Z | services/lake/relay/relay.go | jancajthaml-openbank/lake | a24a0688e1b44854c720b09059982a626dbeb7aa | [
"Apache-2.0"
] | 2 | 2020-05-23T21:36:26.000Z | 2020-09-16T05:04:36.000Z | // Copyright (c) 2016-2021, Jan Cajthaml <jan.cajthaml@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless require... | 21.552511 | 75 | 0.683898 |
bcd76c884479cb553649a48ac3a12a61fcefd6c0 | 412 | js | JavaScript | Commands/enable.js | sam6321/DDFC-OVA-Dicsord-Bot | 939f0c1838402bdbddfb35bd250941022345d642 | [
"MIT"
] | null | null | null | Commands/enable.js | sam6321/DDFC-OVA-Dicsord-Bot | 939f0c1838402bdbddfb35bd250941022345d642 | [
"MIT"
] | null | null | null | Commands/enable.js | sam6321/DDFC-OVA-Dicsord-Bot | 939f0c1838402bdbddfb35bd250941022345d642 | [
"MIT"
] | null | null | null | exports.description = "Enables a command. Shorthand for (prefix)config remove disabled (command).";
exports.usage = "*enable (command)";
exports.info = module.exports.description;
exports.category = "administration";
exports.call = async function (context)
{
let config = require("../Commands/config.js");
conte... | 34.333333 | 99 | 0.723301 |
bef01c04293cdfa79cd2a2d37e72864aa7c7b792 | 6,997 | html | HTML | generated/ja/page265.html | tuat-static-syllabus/tuat-static-syllabus.github.io | ad70b206acee2efd03e76744f2d810527f734a6a | [
"MIT"
] | null | null | null | generated/ja/page265.html | tuat-static-syllabus/tuat-static-syllabus.github.io | ad70b206acee2efd03e76744f2d810527f734a6a | [
"MIT"
] | null | null | null | generated/ja/page265.html | tuat-static-syllabus/tuat-static-syllabus.github.io | ad70b206acee2efd03e76744f2d810527f734a6a | [
"MIT"
] | null | null | null | ---
{"title":"授業一覧","permalink":"/ja/page265.html","layout":"subject_list","texts":{"filters":"フィルタ:","results":"結果一覧 (%TOTAL%件)","semester":"開講期","title":"科目名","instructor":"担当教員","day_period":"曜日・時限","year":"対象年次","prev":"前へ","next":"次へ","filter_year":"開講年度","filter_faculty":"開講学部"},"contents":{"pages":{"now":265,"ma... | 2,332.333333 | 6,989 | 0.637845 |
8057ebb6da908ceea94a5792205e40f38dded64a | 36,716 | swift | Swift | FlexLayout/ViewController/LayoutViewController.swift | anthann/yoga-demo | bf3a539e415f76ec59e7b4dc236030381d673d77 | [
"MIT"
] | 1 | 2019-04-26T05:28:08.000Z | 2019-04-26T05:28:08.000Z | FlexLayout/ViewController/LayoutViewController.swift | anthann/yoga-demo | bf3a539e415f76ec59e7b4dc236030381d673d77 | [
"MIT"
] | null | null | null | FlexLayout/ViewController/LayoutViewController.swift | anthann/yoga-demo | bf3a539e415f76ec59e7b4dc236030381d673d77 | [
"MIT"
] | null | null | null | //
// LayoutViewController.swift
// FlexLayout
//
// Created by anthann on 2019/4/22.
// Copyright © 2019 anthann. All rights reserved.
//
import UIKit
import YogaKit
import IHKeyboardAvoiding
protocol LayoutViewControllerProtocol: AnyObject {
func onTapAddSubView(sender: LayoutViewController)
func onTapR... | 44.396614 | 133 | 0.617769 |
7502cc388a55322a4f38d0c4291c68a6cc4d8a7f | 1,368 | rs | Rust | src/stss/mod.rs | nagashi/The-Traveling-Politician-Problem | 78bdbf6759ca017a8c863505025b4db7b7734ef0 | [
"Apache-2.0",
"MIT"
] | 2 | 2020-08-14T13:58:19.000Z | 2021-04-27T17:34:21.000Z | src/stss/mod.rs | nagashi/The-Traveling-Politician-Problem | 78bdbf6759ca017a8c863505025b4db7b7734ef0 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/stss/mod.rs | nagashi/The-Traveling-Politician-Problem | 78bdbf6759ca017a8c863505025b4db7b7734ef0 | [
"Apache-2.0",
"MIT"
] | null | null | null | // function to convert String to static str.
fn string_to_static_str(s: String) -> &'static str {
Box::leak(s.into_boxed_str())
}
// function to create cypher.csv heading
pub fn title(vec_len: usize) -> Vec<String> {
let mut header: Vec<String> = Vec::new();
for i in 0..vec_len {
match i {
... | 33.365854 | 96 | 0.567982 |
85f50c2d6b06b9d4464be140bc46cae7d6113d36 | 2,398 | c | C | cmake_targets/lte_build_oai/build/CMakeFiles/X2AP_R14/X2AP_CellToReport-Item.c | Cindia-blue/openairue | 759f58ebe3fcc28600a462a4308c97eed1c8c4b1 | [
"Apache-2.0"
] | 1 | 2019-08-20T13:10:07.000Z | 2019-08-20T13:10:07.000Z | cmake_targets/lte_build_oai/build/CMakeFiles/X2AP_R14/X2AP_CellToReport-Item.c | Cindia-blue/openairue | 759f58ebe3fcc28600a462a4308c97eed1c8c4b1 | [
"Apache-2.0"
] | null | null | null | cmake_targets/lte_build_oai/build/CMakeFiles/X2AP_R14/X2AP_CellToReport-Item.c | Cindia-blue/openairue | 759f58ebe3fcc28600a462a4308c97eed1c8c4b1 | [
"Apache-2.0"
] | null | null | null | /*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "X2AP-PDU-Contents"
* found in "/home/lixh/ue_folder/openair2/X2AP/MESSAGES/ASN1/R14/x2ap-14.6.0.asn1"
* `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -fno-include-deps -D /home/lixh/ue_folder/cmake_targets/lte_b... | 37.46875 | 170 | 0.739366 |
48364bed4bda24a9b270807f43ce04b5a1bd32cd | 7,176 | swift | Swift | ShortcutsKitSwifty/ShortcutsKitSwifty/SCKeyCombo.swift | HsiangHo/ShortcutsKit-Swifty | 92964f8bf3a901d7c3b551ab6d90fd83f48ef644 | [
"MIT"
] | null | null | null | ShortcutsKitSwifty/ShortcutsKitSwifty/SCKeyCombo.swift | HsiangHo/ShortcutsKit-Swifty | 92964f8bf3a901d7c3b551ab6d90fd83f48ef644 | [
"MIT"
] | null | null | null | ShortcutsKitSwifty/ShortcutsKitSwifty/SCKeyCombo.swift | HsiangHo/ShortcutsKit-Swifty | 92964f8bf3a901d7c3b551ab6d90fd83f48ef644 | [
"MIT"
] | null | null | null | //
// SCKeyCombo.swift
// ShortcutsKitSwifty
//
// Created by Jovi on 12/7/19.
// Copyright © 2019 Jovi. All rights reserved.
//
import Cocoa
import Carbon
public class SCKeyCombo: NSObject, NSCoding {
public var keyCode: UInt32
public var keyModifiers: UInt32
public var stringForKeyCombo: String {
... | 45.707006 | 139 | 0.668757 |
f06e06965b7f1b5220c96fb081f4691448e98901 | 1,437 | kt | Kotlin | kotlin/src/main/kotlin/modules/GuestBookModule.kt | mandm-pt/languages | eecc58a631059a2f1594fe696f10c4b350ce5de0 | [
"MIT"
] | 1 | 2020-08-05T13:49:55.000Z | 2020-08-05T13:49:55.000Z | kotlin/src/main/kotlin/modules/GuestBookModule.kt | mandm-pt/languages | eecc58a631059a2f1594fe696f10c4b350ce5de0 | [
"MIT"
] | null | null | null | kotlin/src/main/kotlin/modules/GuestBookModule.kt | mandm-pt/languages | eecc58a631059a2f1594fe696f10c4b350ce5de0 | [
"MIT"
] | null | null | null | package modules
import HttpUtils.Companion.writeResponseText
import com.sun.net.httpserver.HttpExchange
import java.net.URLDecoder
import java.nio.charset.StandardCharsets
import java.text.SimpleDateFormat
import java.util.*
class GuestBookModule : BaseModule("GuestBookModule") {
private val path = "/Guest"
... | 28.74 | 92 | 0.64579 |
f06254702e8bbcfeb44e5b0efc3aafa3fdd0c1c9 | 585 | js | JavaScript | test/browser/bootstrap.js | reflectivedevelopment/image-js | 9eb6e7feee304140b6648e003e18f7497a7e7dab | [
"MIT"
] | 1 | 2020-12-01T09:18:39.000Z | 2020-12-01T09:18:39.000Z | test/browser/bootstrap.js | reflectivedevelopment/image-js | 9eb6e7feee304140b6648e003e18f7497a7e7dab | [
"MIT"
] | null | null | null | test/browser/bootstrap.js | reflectivedevelopment/image-js | 9eb6e7feee304140b6648e003e18f7497a7e7dab | [
"MIT"
] | 1 | 2021-01-05T17:37:03.000Z | 2021-01-05T17:37:03.000Z | 'use strict';
import Image from '../../src';
import {imageList, getHash} from '../test-util';
window.images = imageList;
window.getHash = getHash;
let root = '../img/';
window.load = function load(name) {
return Image.load(root + name);
};
var left = document.getElementById('left');
window.setLeft = function s... | 20.892857 | 48 | 0.671795 |
28debae7724909a4f07d42b71c9a3cf88593fc10 | 231 | rb | Ruby | app/models/user.rb | mattream15/DreamTech-Cannabis-Productions-Network | 928faad3869469ea54e0a9e4ca137019439683a5 | [
"MIT"
] | null | null | null | app/models/user.rb | mattream15/DreamTech-Cannabis-Productions-Network | 928faad3869469ea54e0a9e4ca137019439683a5 | [
"MIT"
] | 1 | 2021-09-27T23:34:29.000Z | 2021-09-27T23:34:29.000Z | app/models/user.rb | mattream15/DreamTech-Cannabis-Productions-Network | 928faad3869469ea54e0a9e4ca137019439683a5 | [
"MIT"
] | null | null | null | class User < ActiveRecord::Base
has_many :grow_rooms
has_many :cannabis_plants
has_secure_password
validates :address, uniqueness: true
validates :email, uniqueness: true
validates :name, presence: true
end | 25.666667 | 40 | 0.74026 |
9c597891f9d86312105d60285c2cb98283cbb56c | 4,320 | js | JavaScript | src/app/components/histreepage/HistreePage.js | LeonYuAng3NT/ACP | 64e46a845a38f9d4d9432a3b13f4c316e903153d | [
"MIT"
] | 1 | 2021-05-20T23:36:51.000Z | 2021-05-20T23:36:51.000Z | src/app/components/histreepage/HistreePage.js | LeonYuAng3NT/ACP | 64e46a845a38f9d4d9432a3b13f4c316e903153d | [
"MIT"
] | null | null | null | src/app/components/histreepage/HistreePage.js | LeonYuAng3NT/ACP | 64e46a845a38f9d4d9432a3b13f4c316e903153d | [
"MIT"
] | null | null | null | /*
* Craeted by Cyferouss on 03-27-2017
*/
import React from 'react';
import style from './style.css';
import 'bootstrap/less/bootstrap.less';
import Jumbotron from 'react-bootstrap/lib/Jumbotron';
import Grid from 'react-bootstrap/lib/Grid';
import Button from 'react-bootstrap/lib/Button';
import ButtonGroup from 're... | 30.20979 | 460 | 0.603009 |
cb5a672e0293b3acfe68504987cf0003fd7d8176 | 226 | h | C | Example/XTImgTitleSubTitleCell/XTViewController.h | XiangtaiCompany/-XTImgTitleSubTitleCell | e31fe879ff49e2c6133491f354cc0637bf3aed85 | [
"MIT"
] | null | null | null | Example/XTImgTitleSubTitleCell/XTViewController.h | XiangtaiCompany/-XTImgTitleSubTitleCell | e31fe879ff49e2c6133491f354cc0637bf3aed85 | [
"MIT"
] | null | null | null | Example/XTImgTitleSubTitleCell/XTViewController.h | XiangtaiCompany/-XTImgTitleSubTitleCell | e31fe879ff49e2c6133491f354cc0637bf3aed85 | [
"MIT"
] | null | null | null | //
// XTViewController.h
// XTImgTitleSubTitleCell
//
// Created by bubiqudong on 10/12/2017.
// Copyright (c) 2017 bubiqudong. All rights reserved.
//
@import UIKit;
@interface XTViewController : UIViewController
@end
| 16.142857 | 55 | 0.725664 |
3a0e5275ae03ff90595ec2c269cdc92d1f8fc683 | 302 | sql | SQL | Ejemplos Scripts MSSQL/06 Triggers/03 PruebaAfterUpdate.sql | ejpcr/lib-mssql | e6c5db444aeca24eee86a41f90deb5a38e309f7a | [
"MIT"
] | null | null | null | Ejemplos Scripts MSSQL/06 Triggers/03 PruebaAfterUpdate.sql | ejpcr/lib-mssql | e6c5db444aeca24eee86a41f90deb5a38e309f7a | [
"MIT"
] | null | null | null | Ejemplos Scripts MSSQL/06 Triggers/03 PruebaAfterUpdate.sql | ejpcr/lib-mssql | e6c5db444aeca24eee86a41f90deb5a38e309f7a | [
"MIT"
] | null | null | null | USE Aromatherapy
GO
-- Show the contents before the trigger is run
SELECT * from TriggerMessages
-- Issue the command that will invoke the trigger
UPDATE Oils
SET Description = 'New Description'
WHERE OilName = 'Clary Sage'
-- Show the contents after the trigger is run
SELECT * FROM TriggerMessages | 23.230769 | 49 | 0.781457 |
b6a7d2004364050843515c4e6534e02878014f05 | 1,233 | rb | Ruby | lib/responses/notifications.rb | JPanian/developer.github.com | a03030dea7be744a3feff20ea29f51783f37a47f | [
"CC0-1.0"
] | 793 | 2015-01-05T05:17:49.000Z | 2022-03-26T21:54:49.000Z | lib/responses/notifications.rb | sarahs/developer.github.com | b30e47ca4d9d812394fc94bdfb24daf1192dd192 | [
"CC0-1.0"
] | 165 | 2015-01-08T19:49:40.000Z | 2016-09-05T03:11:30.000Z | lib/responses/notifications.rb | sarahs/developer.github.com | b30e47ca4d9d812394fc94bdfb24daf1192dd192 | [
"CC0-1.0"
] | 827 | 2015-01-03T13:01:13.000Z | 2022-02-28T03:17:27.000Z | require_relative 'repos'
module GitHub
module Resources
module Responses
THREAD ||= {
:id => "1",
:repository => SIMPLE_REPO,
:subject => {
:title => "Greetings",
:url => "https://api.github.com/repos/octokit/octokit.rb/issues/123",
:latest_comment_url ... | 32.447368 | 103 | 0.58232 |
9bc8179212408df96a2e3a254c86879834d17912 | 136 | js | JavaScript | Unit-6/unit-6_lesson-1-code-challenge-intro-to-jquery_lee-wilson/main.js | indefinitelee/JSC | 184ef69a775b8e5da222d30841c581e6f51aaa6f | [
"MIT"
] | null | null | null | Unit-6/unit-6_lesson-1-code-challenge-intro-to-jquery_lee-wilson/main.js | indefinitelee/JSC | 184ef69a775b8e5da222d30841c581e6f51aaa6f | [
"MIT"
] | null | null | null | Unit-6/unit-6_lesson-1-code-challenge-intro-to-jquery_lee-wilson/main.js | indefinitelee/JSC | 184ef69a775b8e5da222d30841c581e6f51aaa6f | [
"MIT"
] | null | null | null | //Introducing jQuery
$(function() {
console.log("Hello world");
$("#thumbnails");
$(".thumbnail");
$("ul");
$("ul li");
}); | 15.111111 | 29 | 0.514706 |
e449b287a88e69b5759519061cf8c72a7fd34069 | 572 | asm | Assembly | oeis/058/A058344.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/058/A058344.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/058/A058344.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A058344: Difference between the sum of the odd aliquot divisors of n and the sum of the even aliquot divisors of n.
; 0,1,1,-1,1,2,1,-5,4,4,1,-8,1,6,9,-13,1,5,1,-10,11,10,1,-28,6,12,13,-12,1,6,1,-29,15,16,13,-29,1,18,17,-38,1,10,1,-16,33,22,1,-68,8,19,21,-18,1,14,17,-48,23,28,1,-60,1,30,41,-61,19,18,1,-22,27,22,1,-97... | 28.6 | 289 | 0.58042 |
bc41ecc8ce82cc253415c6421844590f5ff76b16 | 861 | sql | SQL | sql/sqlserver/view/system/create.view.bulletin.sql | ljsvn/noveltysearch | 4dc6a5dad0f4b0f1034810d9bf5b5eb5a5d4ef9d | [
"Apache-2.0"
] | 2 | 2019-11-04T05:34:46.000Z | 2020-04-17T11:13:48.000Z | sql/sqlserver/view/system/create.view.bulletin.sql | ljsvn/noveltysearch | 4dc6a5dad0f4b0f1034810d9bf5b5eb5a5d4ef9d | [
"Apache-2.0"
] | null | null | null | sql/sqlserver/view/system/create.view.bulletin.sql | ljsvn/noveltysearch | 4dc6a5dad0f4b0f1034810d9bf5b5eb5a5d4ef9d | [
"Apache-2.0"
] | null | null | null | -- =============================================
-- 使用刚创建的数据库
-- =============================================
use noveltysearch
go
-- =============================================
--用途:公告接收信息视图
-- 表名:v_bulletin_view_info
-- =============================================
if exists (select 1 from sysobjects wh... | 33.115385 | 112 | 0.591173 |
38aaf2877cc8ee06f225caff691383c5472ed597 | 562 | h | C | PMMacroKeyboard/menuoptions.h | sgilissen/PMMacroKeyboard | b721d7cedfa52adcb4d0fa20b654d8ec8b5cebcc | [
"MIT"
] | null | null | null | PMMacroKeyboard/menuoptions.h | sgilissen/PMMacroKeyboard | b721d7cedfa52adcb4d0fa20b654d8ec8b5cebcc | [
"MIT"
] | null | null | null | PMMacroKeyboard/menuoptions.h | sgilissen/PMMacroKeyboard | b721d7cedfa52adcb4d0fa20b654d8ec8b5cebcc | [
"MIT"
] | null | null | null | const static char menu_a_1[10] PROGMEM = "Ctrl+1+Alt";
const static char menu_a_2[10] PROGMEM = "Ctrl+2";
const static char menu_a_3[10] PROGMEM = "Ctrl+3";
const static char menu_a_4[10] PROGMEM = "Ctrl+4";
const char menu_a_5[10] PROGMEM = "Ctrl+5";
const char menu_a_6[10] PROGMEM = "Ctrl+6";
const char menu_a_7[10] ... | 43.230769 | 54 | 0.709964 |
e8100b95a4f886ad4690cff64d8c8b7ddb31b75d | 310 | rs | Rust | registratur/src/v2/domain/descriptor.rs | akhramov/knast | 8c9f5f481a467a22c7cc47f11a28fe52536f9950 | [
"MIT"
] | 19 | 2021-05-16T09:41:53.000Z | 2022-01-10T15:50:05.000Z | registratur/src/v2/domain/descriptor.rs | akhramov/knast | 8c9f5f481a467a22c7cc47f11a28fe52536f9950 | [
"MIT"
] | 8 | 2021-05-15T18:29:22.000Z | 2021-09-14T09:47:39.000Z | registratur/src/v2/domain/descriptor.rs | akhramov/werft | 8c9f5f481a467a22c7cc47f11a28fe52536f9950 | [
"MIT"
] | 1 | 2021-09-16T00:53:36.000Z | 2021-09-16T00:53:36.000Z | use serde::{Deserialize, Serialize};
/// Represents [OCI Content Descriptor](https://git.io/JvpqR)
#[derive(Serialize, Deserialize, Debug)]
pub struct Descriptor {
#[serde(rename = "mediaType")]
pub media_type: String,
pub digest: String,
pub size: usize,
pub urls: Option<Vec<String>>,
}
| 25.833333 | 61 | 0.680645 |
7a25c6e948d0cf4acbb78790d363083cc6433638 | 495 | rb | Ruby | Task/Standard-deviation/Ruby/standard-deviation-1.rb | djgoku/RosettaCodeData | 91df62d46142e921b3eacdb52b0316c39ee236bc | [
"Info-ZIP"
] | null | null | null | Task/Standard-deviation/Ruby/standard-deviation-1.rb | djgoku/RosettaCodeData | 91df62d46142e921b3eacdb52b0316c39ee236bc | [
"Info-ZIP"
] | null | null | null | Task/Standard-deviation/Ruby/standard-deviation-1.rb | djgoku/RosettaCodeData | 91df62d46142e921b3eacdb52b0316c39ee236bc | [
"Info-ZIP"
] | null | null | null | class StdDevAccumulator
def initialize
@n, @sum, @sumofsquares = 0, 0.0, 0.0
end
def <<(num)
# return self to make this possible: sd << 1 << 2 << 3 # => 0.816496580927726
@n += 1
@sum += num
@sumofsquares += num**2
self
end
def stddev
Math.sqrt( (@sumofsquares / @n) - (@sum / @n... | 19.038462 | 89 | 0.557576 |
d1e5a3a9addcfee4cb1e2e4e9c47ed84a15e263f | 145 | sql | SQL | lsql-core/src/test/java/com/w11k/lsql/cli/StmtsWithCustomConverter.sql | w11k/lsql | 9ed3459446ce9b1fbcf1b1cc931f85068d091581 | [
"Apache-2.0"
] | 7 | 2017-04-18T09:16:09.000Z | 2019-01-31T12:21:42.000Z | lsql-core/src/test/java/com/w11k/lsql/cli/StmtsWithCustomConverter.sql | w11k/lsql | 9ed3459446ce9b1fbcf1b1cc931f85068d091581 | [
"Apache-2.0"
] | 44 | 2016-03-11T11:57:32.000Z | 2022-02-16T00:55:07.000Z | lsql-core/src/test/java/com/w11k/lsql/cli/StmtsWithCustomConverter.sql | w11k/lsql | 9ed3459446ce9b1fbcf1b1cc931f85068d091581 | [
"Apache-2.0"
] | 5 | 2015-12-05T10:45:49.000Z | 2022-03-14T09:15:40.000Z |
--load
select * from custom_converter
where field = /*: custom =*/ 1 /**/
;
--testQueryParamter
select
*
from
person1
WHERE id = /*=*/ 1 /**/;
| 11.153846 | 35 | 0.613793 |
21e49b37e69f6a0ee96a9d0ffcb772e747177156 | 412 | kt | Kotlin | app/src/main/java/com/mityushovn/miningquiz/database/topicDao/TopicDaoAPI.kt | NikitaMityushov/MiningQuiz | 3c5982454542a7e59a2cd67727ca4534bdb2187d | [
"MIT"
] | null | null | null | app/src/main/java/com/mityushovn/miningquiz/database/topicDao/TopicDaoAPI.kt | NikitaMityushov/MiningQuiz | 3c5982454542a7e59a2cd67727ca4534bdb2187d | [
"MIT"
] | null | null | null | app/src/main/java/com/mityushovn/miningquiz/database/topicDao/TopicDaoAPI.kt | NikitaMityushov/MiningQuiz | 3c5982454542a7e59a2cd67727ca4534bdb2187d | [
"MIT"
] | null | null | null | package com.mityushovn.miningquiz.database.topicDao
import com.mityushovn.miningquiz.models.domain.Topic
import kotlinx.coroutines.flow.Flow
/**
* @author Nikita Mityushov 8.04.22
* @since 1.0
* Interface for the topic table access.
*/
interface TopicDaoAPI {
/**
* @return Flow with List of all Topic cl... | 22.888889 | 59 | 0.708738 |
0bb474c96b765835d0aa72ac2a9f55772cc64886 | 650 | js | JavaScript | doxygen/ovs_all/html/struct__OVS__USER__PACKET__QUEUE.js | vladn-ma/vladn-ovs-doc | 516974aba363d3e22613fa06ce56d2b8f1b1aadf | [
"Apache-2.0"
] | null | null | null | doxygen/ovs_all/html/struct__OVS__USER__PACKET__QUEUE.js | vladn-ma/vladn-ovs-doc | 516974aba363d3e22613fa06ce56d2b8f1b1aadf | [
"Apache-2.0"
] | null | null | null | doxygen/ovs_all/html/struct__OVS__USER__PACKET__QUEUE.js | vladn-ma/vladn-ovs-doc | 516974aba363d3e22613fa06ce56d2b8f1b1aadf | [
"Apache-2.0"
] | null | null | null | var struct__OVS__USER__PACKET__QUEUE =
[
[ "instance", "struct__OVS__USER__PACKET__QUEUE.html#aaa18fbd45f19c172c97d47cd5e03ba45", null ],
[ "numPackets", "struct__OVS__USER__PACKET__QUEUE.html#ac616e934fe6ca56238f46be9dcb71fa9", null ],
[ "packetList", "struct__OVS__USER__PACKET__QUEUE.html#a1cbb09f70afbfad... | 72.222222 | 102 | 0.804615 |
3635387696a6db32a33d2c4a13dd1f74edfcdaab | 2,407 | rs | Rust | tests/test_list.rs | alexzanderr/rust-python-objects | 2b5a9c96a3436fbb14a41d48ab61b58b524493ae | [
"MIT"
] | null | null | null | tests/test_list.rs | alexzanderr/rust-python-objects | 2b5a9c96a3436fbb14a41d48ab61b58b524493ae | [
"MIT"
] | null | null | null | tests/test_list.rs | alexzanderr/rust-python-objects | 2b5a9c96a3436fbb14a41d48ab61b58b524493ae | [
"MIT"
] | null | null | null | #![allow(
dead_code,
unused_imports,
unused_variables,
unused_macros,
unused_assignments,
unused_mut,
non_snake_case,
unused_must_use
)]
use pretty_assertions::assert_eq;
use rstest::rstest;
// crate
use python::*;
#[test]
fn test_initialization() {
let python_list = List::new();... | 22.707547 | 83 | 0.649356 |
f8c3c6390969114edfafbda877b020e6b6ce654f | 240 | kt | Kotlin | kotlinlib/kotlinlib/invertedFileRecurse.kt | JetBrains/kannotator | ef10885ba0a7c84a04dc33aa24dc2eb50abd622f | [
"Apache-2.0"
] | 23 | 2015-02-24T18:00:45.000Z | 2021-11-08T09:49:52.000Z | kotlinlib/kotlinlib/invertedFileRecurse.kt | JetBrains/kannotator | ef10885ba0a7c84a04dc33aa24dc2eb50abd622f | [
"Apache-2.0"
] | 1 | 2015-06-29T17:03:50.000Z | 2015-06-29T17:03:50.000Z | kotlinlib/kotlinlib/invertedFileRecurse.kt | JetBrains/kannotator | ef10885ba0a7c84a04dc33aa24dc2eb50abd622f | [
"Apache-2.0"
] | 8 | 2015-12-19T09:40:09.000Z | 2022-03-18T16:39:05.000Z | package kotlinlib
import java.io.File
public fun File.invertedRecurse(block: (File) -> Unit): Unit {
if (isDirectory) {
for (child in listFiles()!!) {
child.invertedRecurse(block)
}
}
block(this)
}
| 18.461538 | 62 | 0.595833 |
5596ee935ef2200eebaa6a2cc1823c9364bc398e | 2,160 | kt | Kotlin | css-gg/src/commonMain/kotlin/compose/icons/cssggicons/BorderTop.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 230 | 2020-11-11T14:52:11.000Z | 2022-03-31T05:04:52.000Z | css-gg/src/commonMain/kotlin/compose/icons/cssggicons/BorderTop.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 17 | 2021-03-02T00:00:32.000Z | 2022-03-02T16:01:03.000Z | css-gg/src/commonMain/kotlin/compose/icons/cssggicons/BorderTop.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 18 | 2021-02-08T06:18:41.000Z | 2022-03-22T21:48:23.000Z | package compose.icons.cssggicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics... | 40 | 97 | 0.611574 |
869cdee2c772390a1aadfc16aa35d7a53f38b755 | 6,704 | rs | Rust | cli/errors.rs | Preta-Crowz/deno | 2d865f7f3f4608231862610b7375ddc2e9294903 | [
"MIT"
] | 2 | 2020-03-24T08:35:11.000Z | 2020-12-29T21:08:12.000Z | cli/errors.rs | Preta-Crowz/deno | 2d865f7f3f4608231862610b7375ddc2e9294903 | [
"MIT"
] | 26 | 2021-11-22T04:24:30.000Z | 2022-03-13T01:30:44.000Z | cli/errors.rs | Preta-Crowz/deno | 2d865f7f3f4608231862610b7375ddc2e9294903 | [
"MIT"
] | 1 | 2020-07-25T18:54:10.000Z | 2020-07-25T18:54:10.000Z | // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
//! There are many types of errors in Deno:
//! - AnyError: a generic wrapper that can encapsulate any type of error.
//! - JsError: a container for the error message and stack trace for exceptions
//! thrown in JavaScript code. We use this t... | 29.021645 | 79 | 0.638276 |
6e9cb614817f5e921ef4fb7847b9c19252230097 | 997 | swift | Swift | Sources/SFSymbols/SwiftUI.Image+SFSymbol.swift | hubrioAU/SFSymbols | 4111adf185a7a65a84bf10e76e45f52662d06d0a | [
"MIT"
] | 17 | 2019-06-05T00:37:52.000Z | 2021-11-14T03:19:22.000Z | Sources/SFSymbols/SwiftUI.Image+SFSymbol.swift | HubrioAU/SFSymbols | 4111adf185a7a65a84bf10e76e45f52662d06d0a | [
"MIT"
] | 1 | 2021-11-25T17:11:41.000Z | 2021-11-25T17:11:41.000Z | Sources/SFSymbols/SwiftUI.Image+SFSymbol.swift | HubrioAU/SFSymbols | 4111adf185a7a65a84bf10e76e45f52662d06d0a | [
"MIT"
] | 1 | 2021-12-26T06:44:21.000Z | 2021-12-26T06:44:21.000Z | #if canImport(SwiftUI) && canImport(UIKit)
import SwiftUI
import UIKit
/**
Extension for `SwiftUI.Image` to initialize with a built-in SF Symbol.
*/
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
public extension Image {
/// Initialize a SF Symbol. Optionally you may provide symbol configuration... | 35.607143 | 108 | 0.702106 |
3ee2d6be42ccd609bfa7ca23cccf4540250d3fbb | 1,737 | h | C | sdk-6.5.20/libs/sdklt/bcmpkt/include/bcmpkt/flexhdr/bcmpkt_ipv6_t_defs.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmpkt/include/bcmpkt/flexhdr/bcmpkt_ipv6_t_defs.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmpkt/include/bcmpkt/flexhdr/bcmpkt_ipv6_t_defs.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | #ifndef BCMPKT_IPV6_T_DEFS_H
#define BCMPKT_IPV6_T_DEFS_H
/*****************************************************************
*
* DO NOT EDIT THIS FILE!
* This file is auto-generated by xfc_map_parser
* from the NPL output file(s) header.yml.
* Edits to this file will be lost when it is regenerated.
*
*
* This ... | 33.403846 | 134 | 0.703512 |
836de536b0d9d34657ffb927bf621811690b5fb5 | 31 | rs | Rust | core/test/step/mod.rs | clearlycloudy/e2 | 25b63e0f3426112a6ac6546168aea38a061dc33f | [
"BSD-2-Clause"
] | 4 | 2018-01-15T14:22:11.000Z | 2019-11-16T21:20:44.000Z | core/test/step/mod.rs | clearlycloudy/e2 | 25b63e0f3426112a6ac6546168aea38a061dc33f | [
"BSD-2-Clause"
] | 1 | 2018-02-28T11:37:49.000Z | 2018-02-28T11:37:49.000Z | core/test/step/mod.rs | clearlycloudy/e2r | 25b63e0f3426112a6ac6546168aea38a061dc33f | [
"BSD-2-Clause"
] | null | null | null | pub mod test_step_interpolate;
| 15.5 | 30 | 0.870968 |
9c06a6731ebaf074308c55dcd8af0200cdf4540c | 794 | js | JavaScript | src/pages/index.js | yoon7ks/yoon7ks.github.io | ea471b80e99a5ecab7e8b898e440bfc59c16cb97 | [
"MIT"
] | null | null | null | src/pages/index.js | yoon7ks/yoon7ks.github.io | ea471b80e99a5ecab7e8b898e440bfc59c16cb97 | [
"MIT"
] | 3 | 2021-05-10T16:58:31.000Z | 2022-02-18T12:40:31.000Z | src/pages/index.js | yoon7ks/yoon7ks.github.io | ea471b80e99a5ecab7e8b898e440bfc59c16cb97 | [
"MIT"
] | null | null | null | import React from "react"
import Layout from "../component/layout"
import { graphql } from "gatsby"
const IndexPage = ({ data }) => (
<Layout>
<p>하루하루 감사하며 행복한 둥고</p>
<h3>포스트 목록</h3>
{data.allMarkdownRemark.edges.map(post => (
<div>
<a
key={post.node.id}
... | 19.85 | 50 | 0.471033 |
f01d111acc2f82bd1f1d2cbac6154bff055a65f9 | 2,652 | js | JavaScript | node_modules/cypress-ntlm-auth/dist/launchers/ntlm.proxy.main.js | yuosha/TestAutomationWithCypress | b6ebb73527a816beebec35a709c308aca6303069 | [
"MIT"
] | null | null | null | node_modules/cypress-ntlm-auth/dist/launchers/ntlm.proxy.main.js | yuosha/TestAutomationWithCypress | b6ebb73527a816beebec35a709c308aca6303069 | [
"MIT"
] | null | null | null | node_modules/cypress-ntlm-auth/dist/launchers/ntlm.proxy.main.js | yuosha/TestAutomationWithCypress | b6ebb73527a816beebec35a709c308aca6303069 | [
"MIT"
] | null | null | null | #!/usr/bin/env node
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function ... | 54.122449 | 118 | 0.687029 |
a8bf88c792a5370027814c6ebb12fe2485e0eb1b | 1,346 | rs | Rust | tests/test.rs | usagi/gsj | 46e13d9c0b9c3a40c02878e16451a604a16b74b4 | [
"MIT"
] | 1 | 2020-09-12T01:09:52.000Z | 2020-09-12T01:09:52.000Z | tests/test.rs | usagi/gsj | 46e13d9c0b9c3a40c02878e16451a604a16b74b4 | [
"MIT"
] | null | null | null | tests/test.rs | usagi/gsj | 46e13d9c0b9c3a40c02878e16451a604a16b74b4 | [
"MIT"
] | null | null | null | const GSI_DEM_PNG_SCALING_FACTOR: f64 = 1.0e-2;
#[test]
fn decode()
{
let from_png = load_png();
let from_txt = load_txt();
let pairs = from_png.iter().zip(from_txt.iter());
for (actual, expected) in pairs
{
assert_eq!(actual.is_nan(), expected.is_nan());
if !actual.is_nan()
{
assert_eq!(actual.round(),... | 22.433333 | 109 | 0.659733 |
9c1eeb4dda8cfacb60430120611ad230055397b2 | 16,814 | kt | Kotlin | api/src/main/java/com/brein/domain/BreinUser.kt | Breinify/brein-api-library-android-kotlin | 055e20c35ffb722aa6c3dc78f7092106571cdd42 | [
"MIT"
] | null | null | null | api/src/main/java/com/brein/domain/BreinUser.kt | Breinify/brein-api-library-android-kotlin | 055e20c35ffb722aa6c3dc78f7092106571cdd42 | [
"MIT"
] | null | null | null | api/src/main/java/com/brein/domain/BreinUser.kt | Breinify/brein-api-library-android-kotlin | 055e20c35ffb722aa6c3dc78f7092106571cdd42 | [
"MIT"
] | null | null | null | package com.brein.domain
import android.Manifest
import android.app.Application
import android.content.Context
import android.content.Context.WIFI_SERVICE
import android.content.pm.PackageManager
import android.location.Location
import android.location.LocationManager
import android.net.wifi.SupplicantState
import and... | 28.498305 | 108 | 0.587665 |
229b101c25d73004857189502ff207cdcd9281c3 | 1,612 | html | HTML | data/projects/dotnet-compiler-platform.html | miwebst/temppagesclone | a9375db212565ce2da67a4a886cc0779fe6ccb6f | [
"MIT"
] | null | null | null | data/projects/dotnet-compiler-platform.html | miwebst/temppagesclone | a9375db212565ce2da67a4a886cc0779fe6ccb6f | [
"MIT"
] | null | null | null | data/projects/dotnet-compiler-platform.html | miwebst/temppagesclone | a9375db212565ce2da67a4a886cc0779fe6ccb6f | [
"MIT"
] | null | null | null | <h1 id="net-compiler-platform-roslyn">.NET Compiler Platform ("Roslyn")</h1>
<p>The <a href="https://github.com/dotnet/roslyn">.NET Compiler Platform ("Roslyn")</a> provides open-source C# and Visual Basic compilers with rich code analysis APIs. You can build code analysis tools with the same APIs ... | 70.086957 | 287 | 0.719603 |
9ce2459aca52f4503ac31420ab1625efb9380270 | 1,423 | css | CSS | public/css/footer.css | NicoFlecha/ecommerce-laravel-5.8 | 46372c84396bdd359b235bd3f930ce7ad0fa9efb | [
"MIT"
] | 1 | 2021-04-13T21:56:52.000Z | 2021-04-13T21:56:52.000Z | public/css/footer.css | NicoFlecha/ecommerce-laravel-5.8 | 46372c84396bdd359b235bd3f930ce7ad0fa9efb | [
"MIT"
] | 2 | 2021-06-28T17:28:51.000Z | 2021-06-28T18:48:30.000Z | public/css/footer.css | NicoFlecha/ecommerce-laravel-5.8 | 46372c84396bdd359b235bd3f930ce7ad0fa9efb | [
"MIT"
] | null | null | null | footer {
color: white;
background-attachment: fixed;
background-color:#E47F6B;
background-size: cover;
background-position: bottom;
margin-top: 30px;
}
footer p {
color: white;
}
footer a {
color: white;
}
.social-pet li {
display: inline-block;
margin-right: 10px;
}... | 19.22973 | 38 | 0.59241 |
fdbd38f86b980dedea3902fd774062733fffc115 | 5,560 | sql | SQL | sql/yjbb/601595.sql | liangzi4000/grab-share-info | 4dc632442d240c71955bbf927ecf276d570a2292 | [
"MIT"
] | null | null | null | sql/yjbb/601595.sql | liangzi4000/grab-share-info | 4dc632442d240c71955bbf927ecf276d570a2292 | [
"MIT"
] | null | null | null | sql/yjbb/601595.sql | liangzi4000/grab-share-info | 4dc632442d240c71955bbf927ecf276d570a2292 | [
"MIT"
] | null | null | null | EXEC [EST].[Proc_yjbb_Ins] @Code = N'601595',@CutoffDate = N'2017-09-30',@EPS = N'0.41',@EPSDeduct = N'0',@Revenue = N'8.21亿',@RevenueYoy = N'8.82',@RevenueQoq = N'6.82',@Profit = N'1.54亿',@ProfitYoy = N'-13.26',@ProfiltQoq = N'-19.47',@NAVPerUnit = N'5.3293',@ROE = N'7.85',@CashPerUnit = N'0.4734',@GrossProfitRate = N... | 397.142857 | 410 | 0.63723 |
5838e61bc9c42bd6426db3340d631d0484f94391 | 233 | h | C | src/SensorValuesService/src-gen/SensorValues_operations.h | teco-kit/ModelDrivenGateways | 97d661eab907e3b76ab96b4d86dd2e916088a1d8 | [
"MIT"
] | null | null | null | src/SensorValuesService/src-gen/SensorValues_operations.h | teco-kit/ModelDrivenGateways | 97d661eab907e3b76ab96b4d86dd2e916088a1d8 | [
"MIT"
] | 2 | 2021-03-23T08:05:15.000Z | 2021-03-23T08:54:39.000Z | src/SensorValuesService/src-gen/SensorValues_operations.h | teco-kit/ModelDrivenGateways | 97d661eab907e3b76ab96b4d86dd2e916088a1d8 | [
"MIT"
] | null | null | null |
#ifndef SENSORVALUES_OPERATIONS_H
#define SENSORVALUES_OPERATIONS_H
enum SensorValues_operations {
OP_SensorValues_GetSensorValues,
OP_SensorValues_SensorValuesEvent,
OP_SensorValues_Config
};
#endif //SENSORVALUES_OPERATIONS_H
| 23.3 | 35 | 0.879828 |
6b9c387a499a96e02d99bf406107306a25cfd9c1 | 939 | rs | Rust | twin-stick-shooter-core/src/test.rs | mvanbem/twin-stick-shooter | d4e21b2b994600fabd77cf619ec94ce53177f5d9 | [
"MIT"
] | null | null | null | twin-stick-shooter-core/src/test.rs | mvanbem/twin-stick-shooter | d4e21b2b994600fabd77cf619ec94ce53177f5d9 | [
"MIT"
] | null | null | null | twin-stick-shooter-core/src/test.rs | mvanbem/twin-stick-shooter | d4e21b2b994600fabd77cf619ec94ce53177f5d9 | [
"MIT"
] | null | null | null | use cgmath::{EuclideanSpace, InnerSpace};
use crate::physics::VelocityComponent;
use crate::position::PositionComponent;
#[derive(Clone, Debug)]
pub struct ReflectWithin(pub f32);
#[legion::system(for_each)]
pub fn reflect_within(
&PositionComponent(pos): &PositionComponent,
VelocityComponent(vel): &mut Velo... | 34.777778 | 99 | 0.673056 |
b2effe0f8a82275a9712cccbfe5467301c5502b1 | 4,544 | py | Python | src/title2Id_redirect_parser.py | mjstrobl/WEXEA | 0af0be1cdb93fc00cd81f885aa15ef8d6579b304 | [
"Apache-2.0"
] | 10 | 2020-06-14T15:46:53.000Z | 2021-04-29T15:02:23.000Z | src/title2Id_redirect_parser.py | mjstrobl/WEXEA | 0af0be1cdb93fc00cd81f885aa15ef8d6579b304 | [
"Apache-2.0"
] | 3 | 2021-08-25T16:16:45.000Z | 2022-02-10T04:29:10.000Z | src/title2Id_redirect_parser.py | mjstrobl/WEXEA | 0af0be1cdb93fc00cd81f885aa15ef8d6579b304 | [
"Apache-2.0"
] | 1 | 2021-02-17T17:44:06.000Z | 2021-02-17T17:44:06.000Z | import xml.sax
import re
import os
import json
import time
current_milli_time = lambda: int(round(time.time() * 1000))
RE_LINKS = re.compile(r'\[{2}(.*?)\]{2}', re.DOTALL | re.UNICODE)
IGNORED_NAMESPACES = [
'wikipedia', 'category', 'file', 'portal', 'template',
'mediaWiki', 'user', 'help', 'book', 'draft', ... | 36.352 | 150 | 0.568442 |
9c382fa42ccb92b0e8c359ed8db1094d21087ec1 | 2,666 | js | JavaScript | app/components/base_ui/StyledWrappers/styledComponents.js | mucyildiz/rysolv | f3f27d2856647649f102a21b8dbd77b4bd13c76a | [
"MIT"
] | null | null | null | app/components/base_ui/StyledWrappers/styledComponents.js | mucyildiz/rysolv | f3f27d2856647649f102a21b8dbd77b4bd13c76a | [
"MIT"
] | null | null | null | app/components/base_ui/StyledWrappers/styledComponents.js | mucyildiz/rysolv | f3f27d2856647649f102a21b8dbd77b4bd13c76a | [
"MIT"
] | null | null | null | import styled from 'styled-components';
import {
defaultFontSize,
fundingClosedBackground,
fundingOpenBackground,
fundingText,
languageBackground,
languageText,
rewardBackground,
rewardColor,
} from 'defaultStyleHelper';
import { mediaQueriesByDevice } from 'utils/breakpoints';
const { mobile, mobileX... | 20.992126 | 64 | 0.68117 |