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
e25bd724e631d4851260b743bc2098646d4412f7
728
js
JavaScript
src/routes.js
adornodev/gostack-fastfeet
d288b0e49b8376945bcefe0931d672e1c9e2ff70
[ "MIT" ]
null
null
null
src/routes.js
adornodev/gostack-fastfeet
d288b0e49b8376945bcefe0931d672e1c9e2ff70
[ "MIT" ]
1
2021-05-11T01:51:12.000Z
2021-05-11T01:51:12.000Z
src/routes.js
adornodev/gostack-fastfeet
d288b0e49b8376945bcefe0931d672e1c9e2ff70
[ "MIT" ]
null
null
null
import { Router } from 'express'; import RecipientController from './app/controllers/RecipientController'; import SessionController from './app/controllers/SessionController'; import UserController from './app/controllers/UserController'; import authMiddleware from './app/middlewares/auth'; const routes = Router(); r...
38.315789
74
0.791209
8db65c02ea5a5594928235ea696b7e401c81fe4f
3,324
js
JavaScript
src/components/layout.js
seandolinar/stats-seandolinar-gatsby
9036ab9ca5e70874edf8a258e815b1d94453b079
[ "MIT" ]
null
null
null
src/components/layout.js
seandolinar/stats-seandolinar-gatsby
9036ab9ca5e70874edf8a258e815b1d94453b079
[ "MIT" ]
null
null
null
src/components/layout.js
seandolinar/stats-seandolinar-gatsby
9036ab9ca5e70874edf8a258e815b1d94453b079
[ "MIT" ]
null
null
null
import React, { useState } from 'react'; import PropTypes from 'prop-types'; import Helmet from 'react-helmet'; import { StaticQuery, graphql } from 'gatsby'; import AdSense from 'react-adsense'; import ErrorBoundary from './ErrorBoundary'; import Header from './header'; import MenuCategory from './MenuCategory'; impo...
29.945946
108
0.566185
c6de1529b185b3a64ab927082f7d9a4dcddd85c1
3,698
py
Python
examples/face_detection/main.py
Ishticode/kornia
974abb43ec72d12dbd244a2fb247bbbab8498de0
[ "ECL-2.0", "Apache-2.0" ]
418
2018-10-02T22:31:36.000Z
2019-01-16T14:15:45.000Z
examples/face_detection/main.py
Ishticode/kornia
974abb43ec72d12dbd244a2fb247bbbab8498de0
[ "ECL-2.0", "Apache-2.0" ]
94
2019-01-17T22:10:45.000Z
2019-05-22T23:47:58.000Z
examples/face_detection/main.py
Ishticode/kornia
974abb43ec72d12dbd244a2fb247bbbab8498de0
[ "ECL-2.0", "Apache-2.0" ]
25
2018-10-02T22:50:04.000Z
2019-01-13T18:14:11.000Z
"""Script that finds faces and blurs using FaceDetection and blurring APIs.""" import argparse import cv2 import numpy as np import torch import kornia as K from kornia.contrib import FaceDetector, FaceDetectorResult, FaceKeypoint def draw_keypoint(img: np.ndarray, det: FaceDetectorResult, kpt_type: FaceKeypoint) -...
35.557692
106
0.659275
e27a10678e1e2d06fcfe824a0a7ea04d55e074cb
1,497
js
JavaScript
src/components/layout.js
Quentin0292/TravelMountains
60ecf4ab88ce47a9a8c9905e727f1a9972c5dc73
[ "MIT" ]
null
null
null
src/components/layout.js
Quentin0292/TravelMountains
60ecf4ab88ce47a9a8c9905e727f1a9972c5dc73
[ "MIT" ]
null
null
null
src/components/layout.js
Quentin0292/TravelMountains
60ecf4ab88ce47a9a8c9905e727f1a9972c5dc73
[ "MIT" ]
null
null
null
/** * Layout component that queries for data * with Gatsby's useStaticQuery component * * See: https://www.gatsbyjs.org/docs/use-static-query/ */ import React from "react" import PropTypes from "prop-types" import { useStaticQuery, graphql } from "gatsby" import { FaTwitter, FaFacebook, FaSnapchatGhost } from "re...
21.385714
79
0.490314
b61b5acd3a06f38834a7ff1f0a91cdd227a73d71
358
rb
Ruby
spec/factories/access_policies.rb
process-project/iee
4137286d53cfdb52ce74353d199dc1ce16e75da0
[ "MIT" ]
null
null
null
spec/factories/access_policies.rb
process-project/iee
4137286d53cfdb52ce74353d199dc1ce16e75da0
[ "MIT" ]
4
2021-05-20T07:14:38.000Z
2022-02-12T01:50:21.000Z
spec/factories/access_policies.rb
process-project/iee
4137286d53cfdb52ce74353d199dc1ce16e75da0
[ "MIT" ]
null
null
null
# frozen_string_literal: true FactoryBot.define do factory :access_policy do access_method resource trait :user_access_policy do user end trait :group_access_policy do group end factory :user_access_policy, traits: [:user_access_policy] factory :group_access_policy, tra...
17.9
64
0.72067
a16c7de2daacc27634406cccadfa284484b65ad4
384
tsx
TypeScript
CoreReact/clientapp/src/__tests__/home/AppComponent.test.tsx
chesteryang/CoreReact
1e0ad6ca4495506b5e1c79ee4f59be140ab39c0f
[ "MIT" ]
1
2019-05-03T16:41:49.000Z
2019-05-03T16:41:49.000Z
CoreReact/clientapp/src/__tests__/home/AppComponent.test.tsx
chesteryang/CoreReact
1e0ad6ca4495506b5e1c79ee4f59be140ab39c0f
[ "MIT" ]
6
2021-03-01T21:29:54.000Z
2022-03-03T22:02:28.000Z
CoreReact/clientapp/src/__tests__/home/AppComponent.test.tsx
chesteryang/CoreReact
1e0ad6ca4495506b5e1c79ee4f59be140ab39c0f
[ "MIT" ]
1
2021-01-03T08:38:09.000Z
2021-01-03T08:38:09.000Z
import * as React from 'react' import * as ReactDOM from 'react-dom' import App from '../../home/AppComponent' import { mount } from 'enzyme' it('renders without crashing', () => { const div = document.createElement('div') ReactDOM.render(<App />, div) ReactDOM.unmountComponentAtNode(div) }) it('passed snapshot...
27.428571
43
0.679688
e474188f7eb2b6db2d3224b571f65870ba583f22
4,310
rs
Rust
client/src/client.rs
oguzbilgener/noxious
c33f420c8aa9b46b23b1d5325d31ba3ec15e98e7
[ "Apache-2.0", "MIT" ]
47
2021-03-10T12:38:46.000Z
2022-03-22T09:14:34.000Z
client/src/client.rs
oguzbilgener/noxious
c33f420c8aa9b46b23b1d5325d31ba3ec15e98e7
[ "Apache-2.0", "MIT" ]
1
2021-11-02T21:20:00.000Z
2021-11-02T21:20:00.000Z
client/src/client.rs
oguzbilgener/noxious
c33f420c8aa9b46b23b1d5325d31ba3ec15e98e7
[ "Apache-2.0", "MIT" ]
null
null
null
use std::collections::HashMap; use crate::{ error::{ApiErrorResponse, ClientError}, proxy::Proxy, }; use noxious::proxy::{ProxyConfig, ProxyWithToxics}; use reqwest::{Client as HttpClient, Response, StatusCode}; /// A client for Noxious and Toxiproxy /// It follows the same naming conventions for the methods....
31.459854
98
0.555684
a4a31771f65944e9739597e2b64e22c01cd88e6d
417
php
PHP
resources/views/freearticles/show_fields.blade.php
devyassinepro/blogpro
cf18ccd0c7aef0e7e5cf53332e1118b0a023d3d3
[ "MIT" ]
null
null
null
resources/views/freearticles/show_fields.blade.php
devyassinepro/blogpro
cf18ccd0c7aef0e7e5cf53332e1118b0a023d3d3
[ "MIT" ]
null
null
null
resources/views/freearticles/show_fields.blade.php
devyassinepro/blogpro
cf18ccd0c7aef0e7e5cf53332e1118b0a023d3d3
[ "MIT" ]
null
null
null
<!-- Id Field --> <div class="form-group"> {!! Form::label('id', 'Id:') !!} <p>{{ $freearticles->id }}</p> </div> <!-- Title Field --> <div class="form-group"> {!! Form::label('title', 'Title:') !!} <p>{{ $freearticles->title }}</p> </div> <!-- Description Field --> <div class="form-group"> {!! Fo...
21.947368
54
0.517986
36c9f1abf987c5262d29f8cf069043f24dcfab9c
591
sh
Shell
.docker/gencrt.sh
magmaticlabs/obsidian
1cb1a8b66d5805f5a263b174dfec683aedca87f2
[ "MIT" ]
6
2019-06-07T21:26:32.000Z
2020-02-18T08:11:01.000Z
.docker/gencrt.sh
magmaticlabs/obsidian
1cb1a8b66d5805f5a263b174dfec683aedca87f2
[ "MIT" ]
1
2019-07-26T05:26:22.000Z
2019-07-26T05:26:22.000Z
.docker/gencrt.sh
magmaticlabs/obsidian
1cb1a8b66d5805f5a263b174dfec683aedca87f2
[ "MIT" ]
null
null
null
#!/bin/bash # Create the root key openssl genrsa -out nginx/rootCA.key 2048 # Create the root cert openssl req -x509 -new -nodes -key nginx/rootCA.key -sha256 -days 1024 -subj "/C=US/ST=NC/O=localhost/OU=localhost/CN=localhost" -out nginx/rootCA.pem # Create the CSR openssl req -new -nodes -out nginx/server.csr -new...
42.214286
155
0.751269
98c6356ebedbe885c1649fe8a67fb6f7406812b5
781
lua
Lua
sv_criminalDoctor.lua
itschip/chip_criminalDoctor
3b31f95945a55444e56807a12c1fc61a6f08fed2
[ "MIT" ]
4
2020-07-11T17:51:50.000Z
2022-01-05T18:17:13.000Z
sv_criminalDoctor.lua
itschip/chip_criminalDoctor
3b31f95945a55444e56807a12c1fc61a6f08fed2
[ "MIT" ]
null
null
null
sv_criminalDoctor.lua
itschip/chip_criminalDoctor
3b31f95945a55444e56807a12c1fc61a6f08fed2
[ "MIT" ]
3
2020-10-06T21:59:38.000Z
2021-07-27T20:37:00.000Z
ESX = nil TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) RegisterServerEvent("chip_cDoc:takeMoney") AddEventHandler("chip_cDoc:takeMoney", function() local _source = source local xPlayer = ESX.GetPlayerFromId(_source) if xPlayer.getMoney() > Config.toPay then xPlayer.removeMoney(Con...
30.038462
80
0.65557
bee78c314ffe5745683106ea650964cb8993faed
31
ts
TypeScript
src/components/CookieBanner/index.ts
jr-duboc/erreur-200
807d245ce90c9f6294ec6d1921748758b5bb1a11
[ "MIT" ]
1
2021-02-07T17:27:21.000Z
2021-02-07T17:27:21.000Z
src/components/CookieBanner/index.ts
jr-duboc/erreur-200
807d245ce90c9f6294ec6d1921748758b5bb1a11
[ "MIT" ]
8
2021-02-09T20:12:15.000Z
2022-01-31T12:02:46.000Z
src/components/CookieBanner/index.ts
jr-duboc/erreur-200
807d245ce90c9f6294ec6d1921748758b5bb1a11
[ "MIT" ]
1
2022-01-27T21:19:29.000Z
2022-01-27T21:19:29.000Z
export * from './CookieBanner'
15.5
30
0.709677
ccb37acfc76c157b1b3a858d6e6f43bceab0db56
2,549
swift
Swift
UnitTests/Generated/TypeErase.generated.swift
LaudateCorpus1/SourceryTemplates
faf42897266c43fac2a19e90ca473984c0aeec80
[ "MIT" ]
96
2017-05-15T01:17:25.000Z
2022-03-19T12:27:23.000Z
UnitTests/Generated/TypeErase.generated.swift
LaudateCorpus1/SourceryTemplates
faf42897266c43fac2a19e90ca473984c0aeec80
[ "MIT" ]
2
2017-05-18T23:03:39.000Z
2017-06-02T20:38:48.000Z
UnitTests/Generated/TypeErase.generated.swift
LaudateCorpus1/SourceryTemplates
faf42897266c43fac2a19e90ca473984c0aeec80
[ "MIT" ]
15
2017-05-16T20:58:38.000Z
2021-11-30T05:07:21.000Z
// Generated using Sourcery 0.13.1 — https://github.com/krzysztofzablocki/Sourcery // DO NOT EDIT // MARK: - Type Eraser for Pokemon private class _AnyPokemonBase<PokemonType>: Pokemon { init() { guard type(of: self) != _AnyPokemonBase.self else { fatalError("_AnyPokemonBase<PokemonType> ins...
25.237624
119
0.651236
9690440647b512a252808f66c6c6d3ebfd94a099
1,866
lua
Lua
crosshair_built_in/client.lua
XenoS-ITA/crosshair_built_in
ef14aa3bc8cb2c7affbfe3e0cafc8353a3da0804
[ "MIT" ]
1
2022-02-18T11:54:25.000Z
2022-02-18T11:54:25.000Z
crosshair_built_in/client.lua
XenoS-ITA/crosshair_built_in
ef14aa3bc8cb2c7affbfe3e0cafc8353a3da0804
[ "MIT" ]
null
null
null
crosshair_built_in/client.lua
XenoS-ITA/crosshair_built_in
ef14aa3bc8cb2c7affbfe3e0cafc8353a3da0804
[ "MIT" ]
null
null
null
local resName = GetCurrentResourceName() local active = false Citizen.CreateThread(function() if GetResourceKvpString(resName..":checked") == "false" then active = true DisableDefaultCrosshair() end Citizen.Wait(500) SendNuiMessage(json.encode({ crosshair = GetResource...
28.707692
69
0.651125
346f601f8635ff0a482b015ca7f93176f0a8f048
452
rs
Rust
src/types/mod.rs
lmy441900/iota-client-v2
33ca8fdb3d3318480011d108680794e235b0324a
[ "Apache-2.0" ]
null
null
null
src/types/mod.rs
lmy441900/iota-client-v2
33ca8fdb3d3318480011d108680794e235b0324a
[ "Apache-2.0" ]
null
null
null
src/types/mod.rs
lmy441900/iota-client-v2
33ca8fdb3d3318480011d108680794e235b0324a
[ "Apache-2.0" ]
null
null
null
//! Types used across the library. mod core; mod error; mod node; mod preset_node; // Exports. pub use self::core::*; pub use self::error::Error; pub use self::node::{Auth, Node}; pub use self::preset_node::PresetNode; /// The canonical [Result] type used across the library, with [Error] as the error type. /// /// [...
23.789474
88
0.676991
f9cd5764e431cd582246590fd0920deef0af150d
164
sql
SQL
medium/_05_err_x/cases/deriv3.sql
Zhaojia2019/cubrid-testcases
475a828e4d7cf74aaf2611fcf791a6028ddd107d
[ "BSD-3-Clause" ]
9
2016-03-24T09:51:52.000Z
2022-03-23T10:49:47.000Z
medium/_05_err_x/cases/deriv3.sql
Zhaojia2019/cubrid-testcases
475a828e4d7cf74aaf2611fcf791a6028ddd107d
[ "BSD-3-Clause" ]
173
2016-04-13T01:16:54.000Z
2022-03-16T07:50:58.000Z
medium/_05_err_x/cases/deriv3.sql
Zhaojia2019/cubrid-testcases
475a828e4d7cf74aaf2611fcf791a6028ddd107d
[ "BSD-3-Clause" ]
38
2016-03-24T17:10:31.000Z
2021-10-30T22:55:45.000Z
autocommit off; select * from product_v p , (select baa.code from inventory_v i where p.product_code=i.product_code) as baa(code); rollback;
20.5
58
0.670732
a16f5f7b96b81304430feceb97b2a7198fc42bf1
813
tsx
TypeScript
frontend/src/site/HomePage.tsx
credo-science/credo-classify
1cc5e00a4df36c4069c0d0fbc19f579780b79ca5
[ "MIT" ]
null
null
null
frontend/src/site/HomePage.tsx
credo-science/credo-classify
1cc5e00a4df36c4069c0d0fbc19f579780b79ca5
[ "MIT" ]
8
2021-03-30T12:52:01.000Z
2022-03-12T00:19:45.000Z
frontend/src/site/HomePage.tsx
credo-science/credo-classify
1cc5e00a4df36c4069c0d0fbc19f579780b79ca5
[ "MIT" ]
1
2020-06-12T13:29:34.000Z
2020-06-12T13:29:34.000Z
import React from "react"; import { Jumbotron } from "react-bootstrap"; import { useI18n } from "../utils"; import { Link } from "react-router-dom"; const HomePage: React.FC = () => { const _ = useI18n(); return ( <Jumbotron> <h1 className="display-4">{_("home.title")}</h1> <p className="lead">{_(...
28.034483
132
0.567036
14500b88030086e25e4d015a46767c500e2d812d
245
ts
TypeScript
apps/api-server/src/enums/WriteRoomPublicMessageFailureType.ts
flocon-trpg/servers
5f6ed37c7db5b10e163904b2b9f3858c96264658
[ "MIT" ]
5
2021-12-10T04:33:15.000Z
2022-02-22T03:22:58.000Z
apps/api-server/src/enums/WriteRoomPublicMessageFailureType.ts
flocon-trpg/servers
5f6ed37c7db5b10e163904b2b9f3858c96264658
[ "MIT" ]
65
2021-11-03T22:41:41.000Z
2022-03-19T18:43:46.000Z
apps/api-server/src/enums/WriteRoomPublicMessageFailureType.ts
flocon-trpg/servers
5f6ed37c7db5b10e163904b2b9f3858c96264658
[ "MIT" ]
1
2021-12-17T09:25:03.000Z
2021-12-17T09:25:03.000Z
export enum WriteRoomPublicMessageFailureType { RoomNotFound = 'RoomNotFound', NotAuthorized = 'NotAuthorized', NotParticipant = 'NotParticipant', NotAllowedChannelKey = 'NotAllowedChannelKey', SyntaxError = 'SyntaxError', }
30.625
50
0.746939
a3e81727e903d0e5f4a86e30d70b533a85a40f63
8,720
java
Java
tangram/src/main/java/com/tmall/wireless/tangram3/support/async/CardLoadSupport.java
SubinVane/Tangram-Android
90f85a121d0625236ba95f2853b7224d177dd921
[ "MIT" ]
1
2020-06-16T09:12:02.000Z
2020-06-16T09:12:02.000Z
tangram/src/main/java/com/tmall/wireless/tangram3/support/async/CardLoadSupport.java
SubinVane/Tangram-Android
90f85a121d0625236ba95f2853b7224d177dd921
[ "MIT" ]
null
null
null
tangram/src/main/java/com/tmall/wireless/tangram3/support/async/CardLoadSupport.java
SubinVane/Tangram-Android
90f85a121d0625236ba95f2853b7224d177dd921
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2018 Alibaba Group * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mo...
32.177122
93
0.572477
d0586b91c9610e5377da9c79d103b39b507b5ff8
1,732
cpp
C++
src/napc-core/HAL/arduino/HAL_napc_getFreeMemory.cpp
nap-software/libnapc-arduino-releases
f8f4447422b38ee7e8bb494e341cea7e64d03f02
[ "MIT" ]
null
null
null
src/napc-core/HAL/arduino/HAL_napc_getFreeMemory.cpp
nap-software/libnapc-arduino-releases
f8f4447422b38ee7e8bb494e341cea7e64d03f02
[ "MIT" ]
null
null
null
src/napc-core/HAL/arduino/HAL_napc_getFreeMemory.cpp
nap-software/libnapc-arduino-releases
f8f4447422b38ee7e8bb494e341cea7e64d03f02
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2022 nap.software * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
36.851064
80
0.729215
b0bc973f2a51a87bf18f8614c9fcb313b63606ab
62
py
Python
wsgi.py
yoophi/flask-login-sample
ae76e2c396896f99b1ba8add44c752d5abc22c01
[ "MIT" ]
null
null
null
wsgi.py
yoophi/flask-login-sample
ae76e2c396896f99b1ba8add44c752d5abc22c01
[ "MIT" ]
null
null
null
wsgi.py
yoophi/flask-login-sample
ae76e2c396896f99b1ba8add44c752d5abc22c01
[ "MIT" ]
null
null
null
from flask_login_sample import create_app app = create_app()
15.5
41
0.822581
15bfd6c2bfb3339d52db67022e6ce7987787b412
44
rb
Ruby
lib/state_machine-mongoid.rb
martinciu/state_machine-mongoid
33cc3103d0308058735af71f464e786da257e290
[ "MIT" ]
1
2015-11-05T15:24:07.000Z
2015-11-05T15:24:07.000Z
lib/state_machine-mongoid.rb
martinciu/state_machine-mongoid
33cc3103d0308058735af71f464e786da257e290
[ "MIT" ]
null
null
null
lib/state_machine-mongoid.rb
martinciu/state_machine-mongoid
33cc3103d0308058735af71f464e786da257e290
[ "MIT" ]
null
null
null
require 'state_machine/integrations/mongoid'
44
44
0.886364
7bcf92faf4120d40cff902712e7f64451cdc89aa
93
cpp
C++
tools/stb_image.cpp
ShirokoSama/ShadingSandbox
b407aea1c018bcb46061f3d165c9671d2cb3c139
[ "MIT" ]
null
null
null
tools/stb_image.cpp
ShirokoSama/ShadingSandbox
b407aea1c018bcb46061f3d165c9671d2cb3c139
[ "MIT" ]
null
null
null
tools/stb_image.cpp
ShirokoSama/ShadingSandbox
b407aea1c018bcb46061f3d165c9671d2cb3c139
[ "MIT" ]
1
2019-12-05T11:50:24.000Z
2019-12-05T11:50:24.000Z
// // Created by Srf on 2017/10/5. // #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h"
18.6
32
0.731183
e24082ed5aff5ab1870b55dfa05dc96db817674d
1,613
js
JavaScript
www/service-worker.js
ahmedavid/dwHeroku
26c216ff1017619d1a9b405a78002cefcb776d04
[ "MIT" ]
null
null
null
www/service-worker.js
ahmedavid/dwHeroku
26c216ff1017619d1a9b405a78002cefcb776d04
[ "MIT" ]
null
null
null
www/service-worker.js
ahmedavid/dwHeroku
26c216ff1017619d1a9b405a78002cefcb776d04
[ "MIT" ]
null
null
null
// /** // * Check out https://googlechrome.github.io/sw-toolbox/ for // * more info on how to use sw-toolbox to custom configure your service worker. // */ // // // 'use strict'; // importScripts('./build/sw-toolbox.js'); // // self.toolbox.options.cache = { // name: 'ionic-cache' // }; // // // pre-cache our key ...
23.720588
81
0.591445
339ee8dd4f70adbf16f3b63fea947d43f858dc97
6,103
c
C
multiProcess_pipeComm_task2/utils.c
Nikoletos-K/Disease-Monitor
e1cf0c971276887fc8b1c639b2bea8dd13fba20f
[ "MIT" ]
1
2021-03-11T18:35:31.000Z
2021-03-11T18:35:31.000Z
multiProcess_pipeComm_task2/utils.c
Nikoletos-K/Disease-Monitor
e1cf0c971276887fc8b1c639b2bea8dd13fba20f
[ "MIT" ]
null
null
null
multiProcess_pipeComm_task2/utils.c
Nikoletos-K/Disease-Monitor
e1cf0c971276887fc8b1c639b2bea8dd13fba20f
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "utils.h" int input(char * inputStr){ if(!strcmp(inputStr,"-w")) return w; else if(!strcmp(inputStr,"-b")) return b; else if(!strcmp(inputStr,"-i")) return i; else return inputError; } int Prompt(char * inputStr){ if(inputStr==NULL) ...
22.192727
148
0.656071
06abd83c3dad840e73ad92563d65ec64c7de44b3
158
lua
Lua
world/Plugins/Docker/error.lua
yangchuansheng/dockercraft
b606ddae081a2c461de243f3a0c0acaa9103df9c
[ "Apache-2.0" ]
119
2015-11-24T04:29:15.000Z
2022-03-23T06:43:14.000Z
world/Plugins/Docker/error.lua
rtannert/dockercraft
520171a32a84bad7bbd2eb5cc27ab0166b46bbc4
[ "Apache-2.0" ]
1
2016-05-26T21:47:38.000Z
2016-05-26T21:47:38.000Z
world/Plugins/Docker/error.lua
rtannert/dockercraft
520171a32a84bad7bbd2eb5cc27ab0166b46bbc4
[ "Apache-2.0" ]
16
2016-09-26T07:38:00.000Z
2022-01-07T21:15:37.000Z
-- NewError returns an error object. -- An error has a code and a message function NewError(code, message) err = {code=code, message=message} return err end
26.333333
36
0.746835
23c075124eb1c4544cce52a637bdf685f17f4e0a
676
js
JavaScript
js/components/Article/__tests__/Article-test.js
everdimension/relay-newslist
b73398094c98feb2e7beeb49698db4e1c42ed116
[ "BSD-3-Clause" ]
null
null
null
js/components/Article/__tests__/Article-test.js
everdimension/relay-newslist
b73398094c98feb2e7beeb49698db4e1c42ed116
[ "BSD-3-Clause" ]
null
null
null
js/components/Article/__tests__/Article-test.js
everdimension/relay-newslist
b73398094c98feb2e7beeb49698db4e1c42ed116
[ "BSD-3-Clause" ]
null
null
null
import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; import Article from '../Article'; describe('Article', () => { const mockArticle = { title: 'rnd', id: '1', content: 'rnd', type: 'rnd', }; it('renders with an .Article class', () => { const wrapper = ...
27.04
67
0.609467
db4173158968d81e6da1b7b4073218d7569122e5
11,042
sql
SQL
contrib/tablefunc/sql/tablefunc.sql
credativ/postgresql-lts
e74962afb643a2e0798fabffe941557470775d49
[ "PostgreSQL" ]
2
2015-01-30T06:26:26.000Z
2017-11-04T14:42:58.000Z
contrib/tablefunc/sql/tablefunc.sql
credativ/postgresql-lts
e74962afb643a2e0798fabffe941557470775d49
[ "PostgreSQL" ]
null
null
null
contrib/tablefunc/sql/tablefunc.sql
credativ/postgresql-lts
e74962afb643a2e0798fabffe941557470775d49
[ "PostgreSQL" ]
null
null
null
-- -- first, define the functions. Turn off echoing so that expected file -- does not depend on contents of tablefunc.sql. -- SET client_min_messages = warning; \set ECHO none \i tablefunc.sql \set ECHO all RESET client_min_messages; -- -- normal_rand() -- no easy way to do this for regression testing -- SELECT avg(n...
51.12037
174
0.733472
a3c7ea976cf91377f1c225c52682f4e7ecefb84b
6,519
java
Java
redef/src/main/java/com/prime/redef/flatui/FlatLoadingLayout.java
SemihCatal/RecipeJungle-Android
cec4b3428338277f2f02c8e7588905b296d29e01
[ "Apache-2.0" ]
null
null
null
redef/src/main/java/com/prime/redef/flatui/FlatLoadingLayout.java
SemihCatal/RecipeJungle-Android
cec4b3428338277f2f02c8e7588905b296d29e01
[ "Apache-2.0" ]
27
2019-07-19T16:25:34.000Z
2019-07-24T17:26:12.000Z
redef/src/main/java/com/prime/redef/flatui/FlatLoadingLayout.java
SemihCatal/RecipeJungle-Android
cec4b3428338277f2f02c8e7588905b296d29e01
[ "Apache-2.0" ]
1
2020-01-09T13:29:54.000Z
2020-01-09T13:29:54.000Z
package com.prime.redef.flatui; import android.content.Context; import android.os.Handler; import android.util.AttributeSet; import android.view.View; import android.view.animation.AccelerateInterpolator; import android.view.animation.AlphaAnimation; import android.view.animation.Animation; import android.view.animati...
28.718062
102
0.618807
cd66d98b61c55aef2e812cd831df9dcefcf6ad0f
14,305
cs
C#
ECode.Core/Utility/NetworkUtil.cs
gz-chenzd/ECode
4b7e9914d3de52b2a04244e8695e67ac666feb78
[ "MIT" ]
10
2020-03-23T10:01:25.000Z
2020-12-09T09:32:36.000Z
ECode.Core/Utility/NetworkUtil.cs
gz-chenzd/ECode
4b7e9914d3de52b2a04244e8695e67ac666feb78
[ "MIT" ]
null
null
null
ECode.Core/Utility/NetworkUtil.cs
gz-chenzd/ECode
4b7e9914d3de52b2a04244e8695e67ac666feb78
[ "MIT" ]
4
2020-03-27T09:24:16.000Z
2021-04-22T10:21:59.000Z
using System; using System.Collections.Generic; using System.Net; using System.Net.NetworkInformation; using System.Net.Sockets; using ECode.Core; namespace ECode.Utility { public static class NetworkUtil { /// <summary> /// Gets local host name. /// </summary> public static st...
36.679487
116
0.484656
697218f938739e780f715397f051fdec3a5a90b1
217
rb
Ruby
lib/adroll/api/service.rb
springbot/adroller
f7023e0287c8b93ba83551bb420222f1e83ac538
[ "MIT" ]
5
2016-08-30T20:41:05.000Z
2020-08-25T15:37:00.000Z
lib/adroll/api/service.rb
springbot/adroller
f7023e0287c8b93ba83551bb420222f1e83ac538
[ "MIT" ]
17
2016-07-25T16:19:34.000Z
2018-05-08T15:38:58.000Z
lib/adroll/api/service.rb
springbot/adroller
f7023e0287c8b93ba83551bb420222f1e83ac538
[ "MIT" ]
2
2016-10-12T19:33:56.000Z
2017-05-05T15:59:44.000Z
require 'adroll/service' module AdRoll module Api class Service < AdRoll::Service def service_url File.join(AdRoll.api_base_url, self.class.name.demodulize.underscore) end end end end
18.083333
77
0.695853
0d6d9058e8a384dbd90805014bf05f2fbc953e26
6,817
cshtml
C#
web/Views/Home/Index.cshtml
ONLYOFFICE/OneClickInstall
f2f60159ce58007debc68d1e9b408d3f1378cda3
[ "Apache-2.0" ]
60
2015-05-28T15:49:39.000Z
2021-11-07T20:18:41.000Z
web/Views/Home/Index.cshtml
ONLYOFFICE/OneClickInstall
f2f60159ce58007debc68d1e9b408d3f1378cda3
[ "Apache-2.0" ]
2
2015-10-03T15:09:31.000Z
2016-07-06T14:50:12.000Z
web/Views/Home/Index.cshtml
ONLYOFFICE/OneClickInstall
f2f60159ce58007debc68d1e9b408d3f1378cda3
[ "Apache-2.0" ]
60
2015-05-30T08:19:32.000Z
2020-11-19T13:59:25.000Z
@{ ViewBag.Title = OneClickHomePageResource.InstallationPageTitle; } @section leftSide { @Html.Partial("_IndexLeftSidePartial") } @section rightSide { @Html.Partial("_IndexRightSidePartial") } <div id="connectionErrorPop" class="popup"> <div class="popup-caption"> <div class="popup-error"></...
46.691781
172
0.595717
f2035d55167952bad1b2980f66af46a14e20d846
268
cpp
C++
lldb/packages/Python/lldbsuite/test/commands/process/launch/main.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
packages/Python/lldbsuite/test/functionalities/process_launch/main.cpp
DalavanCloud/lldb
e913eaf2468290fb94c767d474d611b41a84dd69
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
packages/Python/lldbsuite/test/functionalities/process_launch/main.cpp
DalavanCloud/lldb
e913eaf2468290fb94c767d474d611b41a84dd69
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
#include <stdio.h> #include <stdlib.h> int main (int argc, char **argv) { char buffer[1024]; fgets (buffer, sizeof (buffer), stdin); fprintf (stdout, "%s", buffer); fgets (buffer, sizeof (buffer), stdin); fprintf (stderr, "%s", buffer); return 0; }
14.888889
41
0.619403
5ad1496f59241213c07bfe72fabe11b808197cd2
2,166
cs
C#
Commands/CommandList.cs
VHonzik/gash
d79648b256eb583457faf02b354f38cf11fb846c
[ "MIT" ]
10
2017-04-20T06:48:44.000Z
2022-02-06T00:59:15.000Z
Commands/CommandList.cs
VHonzik/gash
d79648b256eb583457faf02b354f38cf11fb846c
[ "MIT" ]
7
2017-04-30T22:11:17.000Z
2017-05-17T00:11:26.000Z
Commands/CommandList.cs
VHonzik/gash
d79648b256eb583457faf02b354f38cf11fb846c
[ "MIT" ]
3
2019-04-08T23:37:09.000Z
2021-08-18T07:31:14.000Z
using System; using System.Collections; using System.Collections.Generic; namespace Gash.Commands { internal class CommandList : IEnumerable<ICommand> { private List<ICommand> KnownCommands = new List<ICommand>(); private Dictionary<string, ICommand> KnownCommandsMap = new Dictionary<...
31.852941
118
0.545706
9e06f133f1210ee5da0ea93ab0607a099132dce5
6,287
swift
Swift
GlowingRemote/DevicesViewController.swift
Shark/GlowingRemote
bee9f09b9724dac845fb99c3cb97c74382e98339
[ "0BSD" ]
null
null
null
GlowingRemote/DevicesViewController.swift
Shark/GlowingRemote
bee9f09b9724dac845fb99c3cb97c74382e98339
[ "0BSD" ]
null
null
null
GlowingRemote/DevicesViewController.swift
Shark/GlowingRemote
bee9f09b9724dac845fb99c3cb97c74382e98339
[ "0BSD" ]
null
null
null
// // ViewController.swift // GlowingRemote // // Created by Felix Seidel on 17/07/15. // Copyright © 2015 Felix Seidel. All rights reserved. // import UIKit import WatchConnectivity class DevicesViewController: UITableViewController { var devices : Array<Device>? var stateManager : StateManager? ...
34.543956
159
0.577541
b28fb7a4d9306748ae20068a6bc9b05472bb8b29
3,462
css
CSS
get started style.css
sn262000/casetools-car-rental
c6f8439703fb5e2480ee680389f63973bb51bd13
[ "CC-BY-3.0" ]
null
null
null
get started style.css
sn262000/casetools-car-rental
c6f8439703fb5e2480ee680389f63973bb51bd13
[ "CC-BY-3.0" ]
null
null
null
get started style.css
sn262000/casetools-car-rental
c6f8439703fb5e2480ee680389f63973bb51bd13
[ "CC-BY-3.0" ]
null
null
null
* { margin: 0; padding: 0; } .hero{ height: 100vh; width: 100%; background-image: url(sky.jpg); background-position: center; position: relative; overflow: hidden; } .highway { height: 200px; width: 500%; display: block; background-image: url(road.jpg); position: absolute; bottom: 0; left: 0; right: 0; z-...
14.669492
77
0.657423
c61fe484c1d44414412e4c5f1b12d185255c8a39
68
rb
Ruby
lib/rotas/version.rb
trombik/rotas
552eb990bad38c47d2ca6f99a13afa2ab4442747
[ "MIT" ]
null
null
null
lib/rotas/version.rb
trombik/rotas
552eb990bad38c47d2ca6f99a13afa2ab4442747
[ "MIT" ]
null
null
null
lib/rotas/version.rb
trombik/rotas
552eb990bad38c47d2ca6f99a13afa2ab4442747
[ "MIT" ]
null
null
null
# frozen_string_literal: true module Rotas VERSION = "0.1.0" end
11.333333
29
0.720588
ff309fdd5a997b5d53c2fabfa2c08b9af650c2aa
176
py
Python
fibonacci.py
leantab/algorithms
63648855da19d41904da39dfeca9ab1094d9c9a1
[ "MIT" ]
null
null
null
fibonacci.py
leantab/algorithms
63648855da19d41904da39dfeca9ab1094d9c9a1
[ "MIT" ]
null
null
null
fibonacci.py
leantab/algorithms
63648855da19d41904da39dfeca9ab1094d9c9a1
[ "MIT" ]
null
null
null
memo = { 0: 0, 1: 1, 2: 1, } def fib(n): if n in memo: return memo[n] val = fib(n-1) + fib(n-2) memo[n] = val return val print(fib(35))
10.352941
29
0.4375
bb81bd020f00b13965236a56db0f197fa8169f3c
6,980
swift
Swift
ShoB/Model/Order.swift
iDara09/ShoB
ae5a6a9094f93f1c0e847c45f0d96bb5be52dbd7
[ "MIT" ]
114
2019-07-27T18:16:48.000Z
2022-01-09T13:41:46.000Z
ShoB/Model/Order.swift
bdaralan/ShoB
ae5a6a9094f93f1c0e847c45f0d96bb5be52dbd7
[ "MIT" ]
2
2019-09-29T01:12:51.000Z
2019-09-29T01:19:34.000Z
ShoB/Model/Order.swift
bdaralan/ShoB
ae5a6a9094f93f1c0e847c45f0d96bb5be52dbd7
[ "MIT" ]
13
2019-08-12T15:37:58.000Z
2021-12-25T21:21:37.000Z
// // Order+CoreDataClass.swift // ShoB // // Created by Dara Beng on 6/13/19. // Copyright © 2019 Dara Beng. All rights reserved. // // import CoreData import SwiftUI import Combine /// An order of a store or a customer. class Order: NSManagedObject, ObjectValidatable { @NSManaged var orderDate: Date! ...
33.557692
121
0.631948
1a5b41b689e4aa8d1b2ce5c205f818e03edf6738
4,542
py
Python
redis_metrics/tests/test_forms.py
bradmontgomery/django-redis-metrics
b1466b5742f3f1e3aac4264cb8b73e25e765e972
[ "MIT" ]
52
2015-01-03T19:40:50.000Z
2022-01-23T14:08:43.000Z
redis_metrics/tests/test_forms.py
bradmontgomery/django-redis-metrics
b1466b5742f3f1e3aac4264cb8b73e25e765e972
[ "MIT" ]
31
2015-01-05T10:28:50.000Z
2020-03-30T15:42:35.000Z
redis_metrics/tests/test_forms.py
bradmontgomery/django-redis-metrics
b1466b5742f3f1e3aac4264cb8b73e25e765e972
[ "MIT" ]
11
2015-03-07T12:15:53.000Z
2019-11-03T15:31:59.000Z
from __future__ import unicode_literals from django.test import TestCase try: from unittest.mock import call, patch except ImportError: from mock import call, patch from ..forms import AggregateMetricForm, MetricCategoryForm class TestAggregateMetricForm(TestCase): def test_form(self): """Test t...
38.491525
79
0.580581
da1a800eacdca4a42a94bb58647ec0be23453283
795
php
PHP
resources/views/page/showcat.blade.php
akibhasan50/laravel-crud
fca0e11b570ad1819fd8a3185957757c5dc6025a
[ "MIT" ]
null
null
null
resources/views/page/showcat.blade.php
akibhasan50/laravel-crud
fca0e11b570ad1819fd8a3185957757c5dc6025a
[ "MIT" ]
null
null
null
resources/views/page/showcat.blade.php
akibhasan50/laravel-crud
fca0e11b570ad1819fd8a3185957757c5dc6025a
[ "MIT" ]
null
null
null
@extends('welcome') @section('content') <div class="container"> <h1 class="text-center">Single Catagories</h1> <div class="row justify-content-center"> <div class="col-lg-10"> <div class="nav"> <a href="{{route('addcatagory')}}" class="btn btn-outline-success mr-3">...
30.576923
104
0.493082
cd8aca0041ae8a4a3446f96afdf3eea0e3130564
9,811
cs
C#
AmerFamilyPlayoffs.Api.Tests/ApiContextTest.cs
sewright22/AmerFamilyPlayoffs
66cff549a4fd22d1d7bbbcd3f834f214fa1d5c22
[ "MIT" ]
1
2020-12-04T08:40:22.000Z
2020-12-04T08:40:22.000Z
AmerFamilyPlayoffs.Api.Tests/ApiContextTest.cs
sewright22/AmerFamilyPlayoffs
66cff549a4fd22d1d7bbbcd3f834f214fa1d5c22
[ "MIT" ]
2
2020-12-12T01:14:34.000Z
2020-12-12T18:04:07.000Z
AmerFamilyPlayoffs.Api.Tests/ApiContextTest.cs
sewright22/AmerFamilyPlayoffs
66cff549a4fd22d1d7bbbcd3f834f214fa1d5c22
[ "MIT" ]
1
2020-12-12T01:12:04.000Z
2020-12-12T01:12:04.000Z
namespace AmerFamilyPlayoffs.Api.Tests { using AmerFamilyPlayoffs.Data; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using Xunit; public class ApiContextTest { protected ApiContextTest(DbContextOptions<AmerFamilyPlayoffC...
48.569307
135
0.579859
6faf554c9e8c358a0c5c8e68c9e7b6e1a0e14cfc
917
rb
Ruby
app/controllers/application_controller.rb
nbert100/sinatra_places
b026a5c68cb30ee8d06c5f6663b97b14b0c5c033
[ "Unlicense" ]
null
null
null
app/controllers/application_controller.rb
nbert100/sinatra_places
b026a5c68cb30ee8d06c5f6663b97b14b0c5c033
[ "Unlicense" ]
3
2020-06-25T07:43:38.000Z
2022-02-26T05:33:34.000Z
app/controllers/application_controller.rb
nbert100/sinatra_places
b026a5c68cb30ee8d06c5f6663b97b14b0c5c033
[ "Unlicense" ]
null
null
null
require './config/environment' class ApplicationController < Sinatra::Base configure do set :public_folder, 'public' set :views, 'app/views' enable :sessions set :session_secret, "places_app" register Sinatra::Flash set :show_exceptions, false end error do "404 ERROR PAGE: Well! ...
17.634615
81
0.613959
aea243a7b0b6c5d11dc412ceeaf199ebbd64c829
4,399
cs
C#
Samples/HtcMockSymphony/ArmoniK.Samples.HtcMockSymphonyPackage/ServiceContainer.cs
aneoconsulting/ArmoniK.Samples
4aff75a3ef73a5fc04402e25250c349397c6cf43
[ "Apache-2.0" ]
5
2021-12-19T22:56:47.000Z
2022-01-17T13:19:33.000Z
Samples/HtcMockSymphony/ArmoniK.Samples.HtcMockSymphonyPackage/ServiceContainer.cs
aneoconsulting/ArmoniK.Samples
4aff75a3ef73a5fc04402e25250c349397c6cf43
[ "Apache-2.0" ]
null
null
null
Samples/HtcMockSymphony/ArmoniK.Samples.HtcMockSymphonyPackage/ServiceContainer.cs
aneoconsulting/ArmoniK.Samples
4aff75a3ef73a5fc04402e25250c349397c6cf43
[ "Apache-2.0" ]
null
null
null
// This file is part of the ArmoniK project // // Copyright (C) ANEO, 2021-2022. // W. Kirschenmann <wkirschenmann@aneo.fr> // J. Gurhem <jgurhem@aneo.fr> // D. Dubuc <ddubuc@aneo.fr> // L. Ziane Khodja <lzianekhodja@aneo.fr> // F. Lemaitre <flemaitre@aneo.fr> // S. Djebbar ...
32.345588
105
0.622414
029ab28c0d8d12a4cebdeb14483fe8731bda23ad
17,991
cxx
C++
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimSpaceBoundary.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
3
2016-05-30T15:12:16.000Z
2022-03-22T08:11:13.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimSpaceBoundary.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
21
2016-06-13T11:33:45.000Z
2017-05-23T09:46:52.000Z
SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimSpaceBoundary.cxx
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
null
null
null
// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Fre...
29.835821
132
0.617642
65b251e46399748335df9fa09ee9fd776196f642
577
lua
Lua
samples/demo_next_block.lua
gberger/malu
36fc6c6bf6db2cd18fb39397262038cf4f14a1f3
[ "MIT" ]
1
2016-12-13T15:53:53.000Z
2016-12-13T15:53:53.000Z
samples/demo_next_block.lua
gberger/malu
36fc6c6bf6db2cd18fb39397262038cf4f14a1f3
[ "MIT" ]
null
null
null
samples/demo_next_block.lua
gberger/malu
36fc6c6bf6db2cd18fb39397262038cf4f14a1f3
[ "MIT" ]
null
null
null
@dofile "samples/def_defmacro.lua" @defmacro demo_next_block do print('Reading block...') local block = macros.next_block(next_char) print('Read block is:') print(macros.stringify_tokens(block)) return '' end @demo_next_block do local a = 1 local b = 2 if a > b then repeat ...
17.484848
45
0.514731
c6af7936d1037219b9dc7a79657866759751c6fe
2,579
py
Python
chess-dictionary-validator/chess-dictionary-validator.py
valeriybercha/automate-the-boring-stuff
dbd66f9640596d975be4bd808dc6fa22e47ec407
[ "MIT" ]
1
2022-02-20T14:02:37.000Z
2022-02-20T14:02:37.000Z
chess-dictionary-validator/chess-dictionary-validator.py
valeriybercha/automate-the-boring-stuff
dbd66f9640596d975be4bd808dc6fa22e47ec407
[ "MIT" ]
null
null
null
chess-dictionary-validator/chess-dictionary-validator.py
valeriybercha/automate-the-boring-stuff
dbd66f9640596d975be4bd808dc6fa22e47ec407
[ "MIT" ]
null
null
null
# Chess Dictionary Validator Practice Project # Chapter 5 - Dictionary and Structuing Data (Automate the Boring Stuff with Python) # Developer: Valeriy B. def chess_dictionary_validator(inp): # Creating a blank chess dictionary chess_dictionary = dict() # Creating a chess board chess_board = list...
37.376812
86
0.578131
bac025618a16186bb10a22a2656fe3d362d54a98
6,900
swift
Swift
about.iOS/about.Swift/10.Properties.playground/Contents.swift
skyfe79/TIL-iOS
00b4f4410aa22efca2e27257ea9b5554e0f2f9d4
[ "MIT" ]
null
null
null
about.iOS/about.Swift/10.Properties.playground/Contents.swift
skyfe79/TIL-iOS
00b4f4410aa22efca2e27257ea9b5554e0f2f9d4
[ "MIT" ]
null
null
null
about.iOS/about.Swift/10.Properties.playground/Contents.swift
skyfe79/TIL-iOS
00b4f4410aa22efca2e27257ea9b5554e0f2f9d4
[ "MIT" ]
null
null
null
/*: # Properties */ import UIKit /*: ## Stored Properties */ do { struct FixedLengthRange { var firstValue: Int let length: Int } var rangeOfThreeItems = FixedLengthRange(firstValue: 0, length: 3) // the range represents integer values 0, 1, and 2 rangeOfThreeItems.firstValue = 6 ...
27.272727
296
0.588406
e27df7fa86884987e3603996a03b931bce3f828c
1,494
py
Python
merge_data_and_k-mer_hsp90s.py
jacksonh1/54-2018-07-28-k_mer_coverage_overlay_redo
c5d1581bb77c0cd6e6afbb55281957b98c5a31df
[ "MIT" ]
null
null
null
merge_data_and_k-mer_hsp90s.py
jacksonh1/54-2018-07-28-k_mer_coverage_overlay_redo
c5d1581bb77c0cd6e6afbb55281957b98c5a31df
[ "MIT" ]
null
null
null
merge_data_and_k-mer_hsp90s.py
jacksonh1/54-2018-07-28-k_mer_coverage_overlay_redo
c5d1581bb77c0cd6e6afbb55281957b98c5a31df
[ "MIT" ]
null
null
null
#!//Users/Jackson/miniconda3/bin/python ''' Created by: Jackson Halpin Date: 5/15/18 ''' import numpy as np import pandas as pd import glob import os np.set_printoptions(suppress=True) import sys import os # %% # ============================================================================== # // TITLE # =============...
29.88
85
0.466533
1473a09cb62842b11049c997f6780d49e23a6fe5
863
ts
TypeScript
src/tapped-type.ts
yaroslavya/type-vein
f896047d616415e82e7f70e7f981037de63a76e1
[ "MIT" ]
null
null
null
src/tapped-type.ts
yaroslavya/type-vein
f896047d616415e82e7f70e7f981037de63a76e1
[ "MIT" ]
null
null
null
src/tapped-type.ts
yaroslavya/type-vein
f896047d616415e82e7f70e7f981037de63a76e1
[ "MIT" ]
null
null
null
import { SourceType } from "./source-type"; export const TappedTypeSymbol: unique symbol = Symbol(); /** * A TappedType is a SourceType in an altered form. Its metadata contains a reference to the SourceType it was tapped from. */ export interface TappedType<T extends SourceType = SourceType> { [TappedT...
28.766667
124
0.634994
accbc79ead86ecdcdcf2f740befaaa81f6f76bc0
82
sql
SQL
fbwiki/mediawiki/extensions/OATHAuth/sql/mysql/patch-remove_module_specific_fields.sql
FrederickOberg/frederickoberg.github.io
a1ba4076482dbdba8a0b717db6034d138f01cabe
[ "CC-BY-3.0" ]
1
2020-10-26T00:55:50.000Z
2020-10-26T00:55:50.000Z
fbwiki/mediawiki/extensions/OATHAuth/sql/mysql/patch-remove_module_specific_fields.sql
FrederickOberg/frederickoberg.github.io
a1ba4076482dbdba8a0b717db6034d138f01cabe
[ "CC-BY-3.0" ]
1
2020-11-09T22:18:02.000Z
2020-11-09T22:18:02.000Z
fbwiki/mediawiki/extensions/OATHAuth/sql/mysql/patch-remove_module_specific_fields.sql
FrederickOberg/frederickoberg.github.io
a1ba4076482dbdba8a0b717db6034d138f01cabe
[ "CC-BY-3.0" ]
1
2020-10-26T01:00:32.000Z
2020-10-26T01:00:32.000Z
ALTER TABLE /*_*/oathauth_users DROP COLUMN secret, DROP COLUMN scratch_tokens;
20.5
31
0.792683
df0767d6540a305876a928d87b0367ef7e16fb8d
10,717
rb
Ruby
lib/dart-rb.rb
target/dart-rb
627f8a55f13b1611ada54e1640c76a0942a07d77
[ "Apache-2.0" ]
null
null
null
lib/dart-rb.rb
target/dart-rb
627f8a55f13b1611ada54e1640c76a0942a07d77
[ "Apache-2.0" ]
null
null
null
lib/dart-rb.rb
target/dart-rb
627f8a55f13b1611ada54e1640c76a0942a07d77
[ "Apache-2.0" ]
null
null
null
require 'dart/version' require 'dart/errors' require 'dart/bindings' require 'dart/helpers' require 'dart/convert' require 'dart/cached' module Dart module Common #----- Introspection Methods -----# def obj? @impl.obj? end def object? obj? end def arr? @impl.arr? en...
18.351027
116
0.567603
53f20dca67aa4bbff4bb7d694b32f1ad8fb2b861
1,269
lua
Lua
src/utils/Constants.lua
striver-ing/WuZiQi
0372cbbea0c8e8c02adc625eda5b745c0faad8f8
[ "MIT" ]
4
2020-06-09T17:05:41.000Z
2021-08-21T06:19:35.000Z
src/utils/Constants.lua
striver-ing/WuZiQi
0372cbbea0c8e8c02adc625eda5b745c0faad8f8
[ "MIT" ]
null
null
null
src/utils/Constants.lua
striver-ing/WuZiQi
0372cbbea0c8e8c02adc625eda5b745c0faad8f8
[ "MIT" ]
null
null
null
---------------------------- --版权: 564773807@qq.com --作用: 全局变量 --作者: liubo --时间: 20160129 --备注: ---------------------------- --帧数 FPS = 60 --棋盘 -- 左下角坐标 CHESS_OFFSETX = 25 CHESS_OFFSETY = 51 --棋盘格子的宽度 CHESS_SETP = 48 CHESS_GRID_NUM = 15 --棋子类型 NO_CHESS = -1 WHITE = 0 BLACK ...
17.383562
57
0.51773
cf0666c2251ebcbe3928de349930ee837c4d0e70
2,259
php
PHP
database/migrations/2020_03_16_014330_create_table_products.php
codersharer/wantgains
44b4a3db54a7bfb79951d41a25641cd165d52867
[ "MIT" ]
null
null
null
database/migrations/2020_03_16_014330_create_table_products.php
codersharer/wantgains
44b4a3db54a7bfb79951d41a25641cd165d52867
[ "MIT" ]
null
null
null
database/migrations/2020_03_16_014330_create_table_products.php
codersharer/wantgains
44b4a3db54a7bfb79951d41a25641cd165d52867
[ "MIT" ]
null
null
null
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTableProducts extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('products', fun...
41.833333
103
0.582559
719563ccb71108ab470a75eb967edd15cb55f6c5
4,827
rs
Rust
pallets/provider/src/tests.rs
LwwL-123/hamster
3766d19a742421b8b7eb0a545c69de19f3b6ac13
[ "Apache-2.0" ]
3
2022-01-10T03:32:04.000Z
2022-03-18T06:43:05.000Z
pallets/provider/src/tests.rs
LwwL-123/hamster
3766d19a742421b8b7eb0a545c69de19f3b6ac13
[ "Apache-2.0" ]
null
null
null
pallets/provider/src/tests.rs
LwwL-123/hamster
3766d19a742421b8b7eb0a545c69de19f3b6ac13
[ "Apache-2.0" ]
4
2022-01-10T10:27:01.000Z
2022-03-28T05:45:56.000Z
use crate::{Error, mock::*}; use frame_support::{assert_ok, assert_noop}; use primitives::p_provider::ResourceStatus; #[test] fn it_works_for_default_value() { new_test_pub().execute_with(|| { // Dispatch a signed extrinsic. // Read pallet storage and assert an expected result. assert_eq!(...
36.293233
113
0.671639
0276aff95eb79ef76baddcf8dac2319d4bf66be9
1,986
cpp
C++
parts/Drive.cpp
fdekruijff/Group-Project-TICT-V1GP-15
ec1de58bf3e5f22066f563e0014760e54d779159
[ "MIT" ]
null
null
null
parts/Drive.cpp
fdekruijff/Group-Project-TICT-V1GP-15
ec1de58bf3e5f22066f563e0014760e54d779159
[ "MIT" ]
null
null
null
parts/Drive.cpp
fdekruijff/Group-Project-TICT-V1GP-15
ec1de58bf3e5f22066f563e0014760e54d779159
[ "MIT" ]
null
null
null
#include <cmath> #include <iostream> #include <unistd.h> #include "./piprograms/BrickPi3.cpp" #include <thread> #include <signal.h> #include <vector> using namespace std; BrickPi3 BP; uint8_t s_contrast = PORT_2; // Light sensor uint8_t m_head = PORT_A; // Head motor uint8_t m_left = PORT_B;...
24.219512
117
0.666163
7daf4a3bbd9019d62aa1c45f353f1f17f54bf242
3,981
rb
Ruby
spec/support/shared_contexts/searches/regulations/base_context.rb
steveholmes/trade-tariff-management
e0693f91976116c24cc6513a165a07e27dabc0c5
[ "MIT" ]
4
2018-11-05T17:33:01.000Z
2020-12-21T11:38:04.000Z
spec/support/shared_contexts/searches/regulations/base_context.rb
steveholmes/trade-tariff-management
e0693f91976116c24cc6513a165a07e27dabc0c5
[ "MIT" ]
97
2018-02-19T16:42:16.000Z
2020-11-06T12:18:26.000Z
spec/support/shared_contexts/searches/regulations/base_context.rb
steveholmes/trade-tariff-management
e0693f91976116c24cc6513a165a07e27dabc0c5
[ "MIT" ]
3
2019-01-10T09:55:32.000Z
2019-07-16T11:31:02.000Z
require 'rails_helper' shared_context "regulations_search_base_context" do let(:group_aaa) do create(:regulation_group, regulation_group_id: "AAA") end let(:group_bbb) do create(:regulation_group, regulation_group_id: "BBB") end let(:base_i1111111) do create(:base_regulation, base_regulat...
30.389313
74
0.731726
7d3a6e742567d844b90b360859d1e0ff374e2fee
6,570
sql
SQL
Utility Scripts/Decrypt All Encrypted Objects in Server.sql
Tovli/MadeiraToolbox
6945a7a2a36eba3f1ea9808263d27f3b87efde71
[ "MIT" ]
72
2020-04-18T14:29:16.000Z
2022-03-25T09:20:20.000Z
Utility Scripts/Decrypt All Encrypted Objects in Server.sql
Tovli/MadeiraToolbox
6945a7a2a36eba3f1ea9808263d27f3b87efde71
[ "MIT" ]
7
2020-12-05T07:10:47.000Z
2022-03-12T09:29:31.000Z
Utility Scripts/Decrypt All Encrypted Objects in Server.sql
Tovli/MadeiraToolbox
6945a7a2a36eba3f1ea9808263d27f3b87efde71
[ "MIT" ]
36
2020-06-13T16:57:48.000Z
2022-03-24T11:58:18.000Z
-- Must connect to SQL Server using the Dedicate Admin Connection, eg "admin:localhost". Verified with SQL Server 2012. -- Originally from Williams Orellana's blog: http://williamsorellana.org/2012/02/decrypt-sql-stored-procedures/ -- Adapted from Jason Stangroome: https://gist.github.com/jstangroome/4020443 -- The res...
35.13369
174
0.771385
43da14ef1d231fb06005266481c6713cbfdc3e12
565
tsx
TypeScript
hooks/useRelativeYMotion/useRelativeYMotion.tsx
andy-hook/andyhook.dev
383cb512392a3bcda268a2c347f16d7983029f4a
[ "MIT" ]
9
2021-04-13T20:28:34.000Z
2022-03-02T12:54:15.000Z
hooks/useRelativeYMotion/useRelativeYMotion.tsx
andy-hook/2021
d8b3c42ae337903720554229f3049b3ac7e98810
[ "MIT" ]
2
2021-01-03T15:54:50.000Z
2021-01-03T16:05:38.000Z
hooks/useRelativeYMotion/useRelativeYMotion.tsx
andy-hook/andyhook.dev
383cb512392a3bcda268a2c347f16d7983029f4a
[ "MIT" ]
null
null
null
import { useMemo } from 'react' import { useBreakpoint } from 'styled-breakpoints/react-styled' import { inclusiveDown } from '../../style/responsive' import { getRelativeMotionProps, RelativeMotionProps, } from './getRelativeMotionProps' function useRelativeYMotion(offsetValue: number): RelativeMotionProps { co...
29.736842
80
0.771681
234b2ca0158891f86692b7384cf4b9f67f37f7bc
3,713
dart
Dart
lib/src/widget/tooltip.dart
CalsRanna/ant_design_flutter
ced75b9859b9081306ba1dde16ef206efb8516ac
[ "MIT" ]
null
null
null
lib/src/widget/tooltip.dart
CalsRanna/ant_design_flutter
ced75b9859b9081306ba1dde16ef206efb8516ac
[ "MIT" ]
null
null
null
lib/src/widget/tooltip.dart
CalsRanna/ant_design_flutter
ced75b9859b9081306ba1dde16ef206efb8516ac
[ "MIT" ]
null
null
null
import 'dart:math'; import 'package:ant_design_flutter/src/enum/placement.dart'; import 'package:ant_design_flutter/src/enum/trigger.dart'; import 'package:ant_design_flutter/src/style/color.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart' show Material; import 'package:flutter/wid...
25.965035
80
0.594129
41646cff5a0df96c00f9ff2475473d6737910e8c
5,859
rs
Rust
src/data_type.rs
segfo/qrcode
ffb9a41e9c31e5a97bb0b329e57758914e79b68f
[ "Apache-2.0" ]
null
null
null
src/data_type.rs
segfo/qrcode
ffb9a41e9c31e5a97bb0b329e57758914e79b68f
[ "Apache-2.0" ]
null
null
null
src/data_type.rs
segfo/qrcode
ffb9a41e9c31e5a97bb0b329e57758914e79b68f
[ "Apache-2.0" ]
1
2018-12-02T20:32:36.000Z
2018-12-02T20:32:36.000Z
use std; use std::ops::Deref; use std::iter::FromIterator; #[derive(PartialEq)] pub enum DataKind{ Binary,Text } trait AsciiCharType{ fn get_chartype_count(&self)->usize; } struct CharVec{ v:Vec<char>, } impl Deref for CharVec{ type Target=Vec<char>; fn deref(&self)-> &Self::Target{ &self...
25.810573
84
0.465096
afa1582486062513f0f1eb75735134e1ec84de21
4,904
py
Python
parameter_estimation.py
squeegene/SEIR_CT
78e7f5788d62a53b68eb19827ff9dc4bac0bd205
[ "Apache-2.0" ]
null
null
null
parameter_estimation.py
squeegene/SEIR_CT
78e7f5788d62a53b68eb19827ff9dc4bac0bd205
[ "Apache-2.0" ]
null
null
null
parameter_estimation.py
squeegene/SEIR_CT
78e7f5788d62a53b68eb19827ff9dc4bac0bd205
[ "Apache-2.0" ]
null
null
null
# Parameter Estimation import matplotlib.pyplot as plt import numpy import os import pandas import scipy import scipy.integrate # GLOBAL CONSTANTS delta = 2.703e-5 # Natural Birth Rate (unrelated to disease) gamma = 0.07 # Rate of Removal [days^-1] mu = 2.403e-5 # Natural Death Rate (unrelated to disease) si...
35.79562
113
0.577692
3fce782791ace40fa83b0fd2f37763784ee0d381
5,960
asm
Assembly
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_4003_213.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_4003_213.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_4003_213.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x13c01, %rsi nop nop cmp %r14, %r14 mov (%rsi), %r15 nop xor %r9, %r9 lea addresses_normal_ht+0x1169d, %r9 cmp %rsi, %rsi mov $0x6162636465666768, %r15 movq %r15, %xmm2 vm...
42.571429
2,999
0.657718
ddc4971e8276539bde5c7d9b89d9f3b959c66787
3,005
java
Java
src/authoring/displaydeprecated/AuthoringDisplayDeprecated.java
YashasManjunatha/voogasalad
fb33d06458ca22bf36d0866c8776ff85dd6b2943
[ "MIT" ]
null
null
null
src/authoring/displaydeprecated/AuthoringDisplayDeprecated.java
YashasManjunatha/voogasalad
fb33d06458ca22bf36d0866c8776ff85dd6b2943
[ "MIT" ]
null
null
null
src/authoring/displaydeprecated/AuthoringDisplayDeprecated.java
YashasManjunatha/voogasalad
fb33d06458ca22bf36d0866c8776ff85dd6b2943
[ "MIT" ]
null
null
null
package authoring.displaydeprecated; import java.util.ResourceBundle; import authoring.Game; import javafx.scene.Node; import javafx.scene.Scene; import javafx.scene.layout.BorderPane; import javafx.stage.Stage; /** * @author Maddie Wilkinson * */ public class AuthoringDisplayDeprecated { public static final Stri...
31.968085
130
0.797338
7f3acfc89c8103f61f4c8612fbb10ab72639c005
1,317
cs
C#
Assets/Scripts/MapElements/TerrainElement.cs
dmdSpirit/Tactical
58c81bbad7213f2b0c49978f204cf46216f2bed7
[ "MIT" ]
3
2019-07-19T11:19:07.000Z
2021-07-03T16:08:59.000Z
Assets/Scripts/MapElements/TerrainElement.cs
dmdSpirit/Tactical
58c81bbad7213f2b0c49978f204cf46216f2bed7
[ "MIT" ]
null
null
null
Assets/Scripts/MapElements/TerrainElement.cs
dmdSpirit/Tactical
58c81bbad7213f2b0c49978f204cf46216f2bed7
[ "MIT" ]
1
2021-09-04T22:11:26.000Z
2021-09-04T22:11:26.000Z
using UnityEngine; namespace dmdspirit.Tactical { // Basically this enum contains terrain material names for easier inEditor map editing. public enum TerrainType { Empty, Grass, Rock } [System.Serializable] public class TerrainElement { public MapEle...
34.657895
187
0.654518
9f53825b60cd1c571e56f09889e8e7785d543751
3,751
swift
Swift
Example/Tests/AircraftTests.swift
zingdrones/AirMapSDK-Swift
8ad647767f02ac31705373381f929490b74c5eef
[ "Apache-2.0" ]
43
2016-08-09T08:38:43.000Z
2021-03-08T23:28:41.000Z
Example/Tests/AircraftTests.swift
zingdrones/AirMapSDK-Swift
8ad647767f02ac31705373381f929490b74c5eef
[ "Apache-2.0" ]
37
2016-08-12T18:26:46.000Z
2021-04-26T05:59:33.000Z
Example/Tests/AircraftTests.swift
isabella232/AirMapSDK-Swift
63d9d4e72f84cfdd465fe1958da61eb27af3b0b3
[ "Apache-2.0" ]
18
2017-04-04T23:06:49.000Z
2022-02-02T04:02:11.000Z
// // AircraftTests.swift // AirMapSDK // // Created by Adolfo Martinelli on 7/18/16. // Copyright © 2016 AirMap, Inc. All rights reserved. // @testable import AirMap import Nimble import RxSwift class AircraftTests: TestCase { func testCreateAircraft() { let aircraft = AircraftFactory.defaultAircraft() s...
32.617391
116
0.68675
a9edb6a84fb56292b2a8635f56c19db17d4adc19
4,724
php
PHP
resources/views/settings/feeds.blade.php
webstylecenter/feednews
6048f54ee2c7f7a486f3069fbc34ea540ec26001
[ "MIT" ]
1
2021-02-15T18:35:43.000Z
2021-02-15T18:35:43.000Z
resources/views/settings/feeds.blade.php
webstylecenter/feednews
6048f54ee2c7f7a486f3069fbc34ea540ec26001
[ "MIT" ]
18
2021-02-02T19:23:27.000Z
2022-02-16T10:34:27.000Z
resources/views/settings/feeds.blade.php
webstylecenter/feednews
6048f54ee2c7f7a486f3069fbc34ea540ec26001
[ "MIT" ]
null
null
null
@php $values = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f']; @endphp <div class="content-left"> <div class="form"> <h1>Add RSS Feed</h1> <p> <input type="text" name="url" value="" placeholder="Insert RSS feed url" /><br /> or ...
45.423077
325
0.433743
9c11622ad5360672763ee08fb99262f1a136dbf2
960
swift
Swift
Pod/Classes/ui/CardKit/SetPassCodeModule/SetPassCodeInteractor.swift
ShiftFinancial/apto-ui-sdk-ios
64e9f3632cd6ff78e9c2343a4c78552883f7f87a
[ "MIT" ]
null
null
null
Pod/Classes/ui/CardKit/SetPassCodeModule/SetPassCodeInteractor.swift
ShiftFinancial/apto-ui-sdk-ios
64e9f3632cd6ff78e9c2343a4c78552883f7f87a
[ "MIT" ]
null
null
null
Pod/Classes/ui/CardKit/SetPassCodeModule/SetPassCodeInteractor.swift
ShiftFinancial/apto-ui-sdk-ios
64e9f3632cd6ff78e9c2343a4c78552883f7f87a
[ "MIT" ]
null
null
null
import AptoSDK import Foundation class SetPassCodeInteractor: SetCodeInteractorProtocol { private let platform: AptoPlatformProtocol private let card: Card private let verification: Verification? init(platform: AptoPlatformProtocol, card: Card, verification: Verification?) { self.platform = pl...
33.103448
102
0.605208
f4cdc8840ec1d264f11e0e4ec48fbc598ca85e21
65
ts
TypeScript
Interface/src/index.ts
agentx-cgn/Automaton
5ab80a6139b9a35361d9c16a81fa468c07b439fa
[ "MIT" ]
null
null
null
Interface/src/index.ts
agentx-cgn/Automaton
5ab80a6139b9a35361d9c16a81fa468c07b439fa
[ "MIT" ]
null
null
null
Interface/src/index.ts
agentx-cgn/Automaton
5ab80a6139b9a35361d9c16a81fa468c07b439fa
[ "MIT" ]
null
null
null
import m from "mithril"; m.render(document.body, "hello world");
21.666667
39
0.723077
67d0b3db4733cd961f91f8098e817bd186e141d7
2,016
psd1
PowerShell
eval/dsc/akshcihost/xHyper-V/3.17.0.0/DSCResources/MSFT_xVMHyperV/en-US/MSFT_xVMHyperV.psd1
olaseniadeniji/aks-hci
39c54d080a5c9278903f7141be15b5e26ef9bad8
[ "MIT" ]
267
2016-01-27T19:02:25.000Z
2022-03-24T14:21:07.000Z
DSCResources/MSFT_xVMHyperV/en-US/MSFT_xVMHyperV.psd1
TheGitHubBro/xHyper-V
e68e33892ab63996ab98665b7c9eab6b0a1a9c97
[ "MIT" ]
184
2016-01-27T13:57:43.000Z
2022-01-02T20:10:51.000Z
DSCResources/MSFT_xVMHyperV/en-US/MSFT_xVMHyperV.psd1
TheGitHubBro/xHyper-V
e68e33892ab63996ab98665b7c9eab6b0a1a9c97
[ "MIT" ]
75
2016-01-27T12:53:11.000Z
2022-03-29T09:03:09.000Z
ConvertFrom-StringData @' RoleMissingError = Please ensure that '{0}' role is installed with its PowerShell module. MoreThanOneVMExistsError = More than one VM with the name '{0}' exists. PathDoesNotExistError = Path '{0}' does not exist. VhdPathDoesNotExistError ...
69.517241
134
0.606151
7f1a6ad6912ded0dc1e143d595ae2eeaf8df308e
266
cs
C#
BeatSaber99Client/Packets/EventLogPacket.cs
Guad/beatsaber99
c5aff73f5a574aa0e547a6ab9c673efc31eebd84
[ "MIT" ]
10
2020-04-20T21:13:16.000Z
2020-06-17T05:49:37.000Z
BeatSaber99Client/Packets/EventLogPacket.cs
Guad/beatsaber99
c5aff73f5a574aa0e547a6ab9c673efc31eebd84
[ "MIT" ]
5
2020-04-20T18:41:05.000Z
2021-04-06T09:57:58.000Z
BeatSaber99Client/Packets/EventLogPacket.cs
Guad/beatsaber99
c5aff73f5a574aa0e547a6ab9c673efc31eebd84
[ "MIT" ]
1
2020-04-24T16:58:06.000Z
2020-04-24T16:58:06.000Z
using BeatSaber99Client.UI; namespace BeatSaber99Client.Packets { public class EventLogPacket : IPacket { public string Text { get; set; } public void Dispatch() { PluginUI.instance.PushEventLog(Text); } } }
19
49
0.605263
45a5e0d49594c69357ddab2f5c9384de6c32e229
1,713
py
Python
report/models.py
GilbertTan19/Empire_of_Movies-deploy
e9e05530a25e76523e624591c966dccf84898ace
[ "MIT" ]
null
null
null
report/models.py
GilbertTan19/Empire_of_Movies-deploy
e9e05530a25e76523e624591c966dccf84898ace
[ "MIT" ]
2
2021-03-30T14:31:18.000Z
2021-04-08T21:22:09.000Z
report/models.py
GilbertTan19/Empire_of_Movies-deploy
e9e05530a25e76523e624591c966dccf84898ace
[ "MIT" ]
5
2020-07-13T03:17:07.000Z
2020-07-22T03:15:57.000Z
from django.db import models from articles.models import Discussion, Review, Comment from threadedcomments.models import ThreadedComment from django.contrib.auth import get_user_model class Report(models.Model): short_reason = models.CharField(max_length=255) long_reason = models.TextField() author = model...
31.145455
98
0.655575
2c9538b4dc6b7d58d4f3e82ae47bf7022e232a3a
2,701
py
Python
imitator_my_plate.py
choonkiattay/EasyOCRGen
d277aac4c2d0d53433d71c24095ca77b6dd5745a
[ "W3C" ]
null
null
null
imitator_my_plate.py
choonkiattay/EasyOCRGen
d277aac4c2d0d53433d71c24095ca77b6dd5745a
[ "W3C" ]
null
null
null
imitator_my_plate.py
choonkiattay/EasyOCRGen
d277aac4c2d0d53433d71c24095ca77b6dd5745a
[ "W3C" ]
1
2020-07-12T04:12:57.000Z
2020-07-12T04:12:57.000Z
import glob import os import argparse import cv2 import random from utils import augmentation from utils import singularity from generators import image_gen from utils import image_preprocess def init_args(): parser = argparse.ArgumentParser() parser.add_argument('--imitatee_dir', type=str, help='Full path to...
39.720588
111
0.651981
2c9978d285f178cfd502a749f91cca93a8ce3f0e
1,090
py
Python
traffic/drawing/__init__.py
MichelKhalaf/traffic
84e315d84a4ab9d8711414e7c275733e27a089ed
[ "MIT" ]
null
null
null
traffic/drawing/__init__.py
MichelKhalaf/traffic
84e315d84a4ab9d8711414e7c275733e27a089ed
[ "MIT" ]
null
null
null
traffic/drawing/__init__.py
MichelKhalaf/traffic
84e315d84a4ab9d8711414e7c275733e27a089ed
[ "MIT" ]
null
null
null
# flake8: noqa from pathlib import Path import matplotlib as mpl import matplotlib.pyplot as plt from .cartopy import * _traffic_style = """ figure.figsize: 10, 7 figure.edgecolor: white figure.facecolor: white lines.linewidth: 1.5 lines.markeredgewidth: 0 lines.markersize: 10 lines.dash_capstyle: butt legend.fan...
20.566038
134
0.763303
48dfc11988dac083447652d3bd955e9fd98a73b5
2,325
sh
Shell
script.sh
Oknesif/bashColorScript
ecfa174290c5c1d2a2ba397ca84c4b8da3286143
[ "Apache-2.0" ]
1
2017-11-29T09:27:31.000Z
2017-11-29T09:27:31.000Z
script.sh
Oknesif/BashColorScript
ecfa174290c5c1d2a2ba397ca84c4b8da3286143
[ "Apache-2.0" ]
null
null
null
script.sh
Oknesif/BashColorScript
ecfa174290c5c1d2a2ba397ca84c4b8da3286143
[ "Apache-2.0" ]
null
null
null
if [ -z $1 ] || [ -z $2 ] then echo "Usage: $0 <input directory> <color>" exit 0 fi # Check if given directory is valid DIR=$(pwd)/$1 if [ ! -d $DIR ] then echo -e "$DIR\nIt is not a directory!" exit 0 fi newcolor=$2 ######################################################### # ...
31.849315
103
0.510108
14dfab2fa1f81fcc08d46a0ddca4e69b704156d4
127
ts
TypeScript
client/app/components/routines/index.ts
liu-jianyang/quickstart
23d98e84010c557ea329d998d45908012669a9dc
[ "MIT" ]
null
null
null
client/app/components/routines/index.ts
liu-jianyang/quickstart
23d98e84010c557ea329d998d45908012669a9dc
[ "MIT" ]
null
null
null
client/app/components/routines/index.ts
liu-jianyang/quickstart
23d98e84010c557ea329d998d45908012669a9dc
[ "MIT" ]
null
null
null
export * from './routines-list.component'; export * from './routine-detail.component'; export * from './routine-new.component';
42.333333
43
0.724409
5459981a201fe4423a8b52d9fe9ad6f4d24ad1c7
3,941
css
CSS
ozone/src/components/detailpage.css
1stBoltCrux/capStone
e9148a7635c608e69cebdb1793a6c1d047ea24c3
[ "Unlicense", "MIT" ]
null
null
null
ozone/src/components/detailpage.css
1stBoltCrux/capStone
e9148a7635c608e69cebdb1793a6c1d047ea24c3
[ "Unlicense", "MIT" ]
null
null
null
ozone/src/components/detailpage.css
1stBoltCrux/capStone
e9148a7635c608e69cebdb1793a6c1d047ea24c3
[ "Unlicense", "MIT" ]
null
null
null
.bottomButtons a { width: 90px; margin: 0 4% 0 4%; } .detailPageBackdrop { z-index: 10; position: fixed; top: 0; left: 0; width: 100%; height: 100%; } .modalOverlay { z-index: 1; position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .detailPageWrapper { background-color...
18.077982
101
0.662015
c9447c7c00ad461e9a1cdcbce6fc2e3f10a0e188
749
tsx
TypeScript
src/utils/dva.tsx
youyouqiu/app_v2
2f07ac13e85322e84c90960b6a717f19922c0f8d
[ "MIT" ]
1
2019-11-06T01:29:19.000Z
2019-11-06T01:29:19.000Z
src/utils/dva.tsx
youyouqiu/app_v2
2f07ac13e85322e84c90960b6a717f19922c0f8d
[ "MIT" ]
2
2020-07-17T01:31:51.000Z
2020-07-17T01:31:51.000Z
src/utils/dva.tsx
youyouqiu/app_v2
2f07ac13e85322e84c90960b6a717f19922c0f8d
[ "MIT" ]
null
null
null
import React from 'react'; import { create } from 'dva-core'; import createLoading from 'dva-loading' import { Provider, connect } from 'react-redux'; import {Model} from 'dva' export { connect }; export interface Options { models: Model[] initialState: any onError: (e: Error) => void } export default ((option...
24.966667
96
0.676903
259675114074f858be176ec173c584ab34eb28f8
2,390
cs
C#
dsis/shared/src/Core.FormGenerator/src/Layout/Impl/OptionPageLayout.cs
jonnyzzz/phd-project
beab8615585bd52ef9ee1c19d1557e8c933c047a
[ "Apache-2.0" ]
1
2019-12-24T15:52:45.000Z
2019-12-24T15:52:45.000Z
dsis/shared/src/Core.FormGenerator/src/Layout/Impl/OptionPageLayout.cs
jonnyzzz/phd-project
beab8615585bd52ef9ee1c19d1557e8c933c047a
[ "Apache-2.0" ]
null
null
null
dsis/shared/src/Core.FormGenerator/src/Layout/Impl/OptionPageLayout.cs
jonnyzzz/phd-project
beab8615585bd52ef9ee1c19d1557e8c933c047a
[ "Apache-2.0" ]
null
null
null
using System; using System.Collections.Generic; using System.Windows.Forms; using EugenePetrenko.Shared.Core.Ioc.Api; namespace EugenePetrenko.Core.FormGenerator.Layout.Impl { [ComponentImplementation] public class OptionPageLayout : IOptionPageLayout { private readonly IDockLayout myLayout; ...
28.452381
115
0.535146
e856bc58fbb672520a6c00d681e69b6f025d459e
540
cs
C#
OktaSdkExtensions/Resources/Organisations/OrganisationSettingsUserAccountAttributes.cs
fossabot/okta-sdk-dotnet-extensions
5f940c6c94eea62acfd0f8fd524ed71cb1cb92a1
[ "Apache-2.0" ]
null
null
null
OktaSdkExtensions/Resources/Organisations/OrganisationSettingsUserAccountAttributes.cs
fossabot/okta-sdk-dotnet-extensions
5f940c6c94eea62acfd0f8fd524ed71cb1cb92a1
[ "Apache-2.0" ]
1
2021-03-01T02:34:05.000Z
2021-03-01T02:34:05.000Z
OktaSdkExtensions/Resources/Organisations/OrganisationSettingsUserAccountAttributes.cs
fossabot/okta-sdk-dotnet-extensions
5f940c6c94eea62acfd0f8fd524ed71cb1cb92a1
[ "Apache-2.0" ]
2
2021-03-01T02:27:02.000Z
2021-09-16T15:27:08.000Z
using Okta.Sdk; namespace Finbourne.Extensions.Okta.Sdk.Resources.Organisations { public class OrganisationSettingsUserAccountAttributes : Resource, IOrganisationSettingsUserAccountAttributes { public bool? SecondaryEmail { get => GetBooleanProperty("secondaryEmail"); se...
28.421053
113
0.631481
438bf3ed1bce1a8be53b71fc6c678fda1fb06e54
6,980
ts
TypeScript
src/app/app.module.ts
hainguyen81/ngx-admin
6c3e549bf0c7621e4d0efe7fea1835910901adf0
[ "MIT" ]
null
null
null
src/app/app.module.ts
hainguyen81/ngx-admin
6c3e549bf0c7621e4d0efe7fea1835910901adf0
[ "MIT" ]
4
2020-08-11T15:27:31.000Z
2022-03-02T06:53:54.000Z
src/app/app.module.ts
hainguyen81/ngx-admin
6c3e549bf0c7621e4d0efe7fea1835910901adf0
[ "MIT" ]
null
null
null
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import {CoreModule} from './@core/core.module'; import {BrowserModule} from '@angular/platform-browser'; import {BrowserAnimationsModule} from '@angular/platform-b...
33.080569
113
0.591404
c82c1767b1547625340e1be9d532e5784666e220
114
php
PHP
resources/views/pages/home.blade.php
FraOliv/laravel-migration-seeder
ed3c5e26360f99dd7e4f37fc3aebd11e805b9b73
[ "MIT" ]
null
null
null
resources/views/pages/home.blade.php
FraOliv/laravel-migration-seeder
ed3c5e26360f99dd7e4f37fc3aebd11e805b9b73
[ "MIT" ]
null
null
null
resources/views/pages/home.blade.php
FraOliv/laravel-migration-seeder
ed3c5e26360f99dd7e4f37fc3aebd11e805b9b73
[ "MIT" ]
null
null
null
@extends('layouts.app') @section('title') Home @endsection @section('main_content') <h1>Home</h1> @endsection
14.25
24
0.701754
b074b798a3f0b17f93ec94ffe132e73768fea87e
3,823
py
Python
bin/list_rc_log.py
roxell/lkft-tools
bd1981b1f616114cb260878fe7319753107e581b
[ "MIT" ]
3
2018-12-14T02:37:10.000Z
2020-04-30T19:07:01.000Z
bin/list_rc_log.py
roxell/lkft-tools
bd1981b1f616114cb260878fe7319753107e581b
[ "MIT" ]
25
2018-07-27T13:38:17.000Z
2021-10-05T13:01:36.000Z
bin/list_rc_log.py
roxell/lkft-tools
bd1981b1f616114cb260878fe7319753107e581b
[ "MIT" ]
12
2018-07-09T22:52:32.000Z
2021-11-29T19:45:33.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import argparse import datetime import os import pytz import sys import re sys.path.append(os.path.join(sys.path[0], "../", "lib")) import stable_email # noqa: E402 def get_number(s): match = re.search('(\d+)', s) if match: return int(match.group(1)) ...
30.102362
101
0.516872
45cfece39f36e8b5450e4f78d6ba66e2e3a3b5f0
146
py
Python
aiohttp_socks/proxy/enums.py
RomaLash/aiohttp-socks
b80e493e1974587b2ee839e42953ccf2b049b4fa
[ "Apache-2.0" ]
1
2021-02-28T15:52:03.000Z
2021-02-28T15:52:03.000Z
aiohttp_socks/proxy/enums.py
rytilahti/aiohttp-socks
005c87cbcfda415cdfb43dc55bbee617e428d0f1
[ "Apache-2.0" ]
null
null
null
aiohttp_socks/proxy/enums.py
rytilahti/aiohttp-socks
005c87cbcfda415cdfb43dc55bbee617e428d0f1
[ "Apache-2.0" ]
null
null
null
from enum import Enum class SocksVer(object): SOCKS4 = 1 SOCKS5 = 2 class ProxyType(Enum): SOCKS4 = 1 SOCKS5 = 2 HTTP = 3
11.230769
23
0.60274
10c14db8fc6671cf44ab9286ef4b8732525efb6b
2,905
sh
Shell
run_ide.sh
hpe-container-platform-community/vagrant-box-kubedirector-lab
da501f7e406713a6242225f9662665b0f6621a87
[ "Apache-2.0" ]
1
2021-06-30T15:05:25.000Z
2021-06-30T15:05:25.000Z
run_ide.sh
hpe-container-platform-community/vagrant-box-kubedirector-lab
da501f7e406713a6242225f9662665b0f6621a87
[ "Apache-2.0" ]
null
null
null
run_ide.sh
hpe-container-platform-community/vagrant-box-kubedirector-lab
da501f7e406713a6242225f9662665b0f6621a87
[ "Apache-2.0" ]
1
2021-12-06T21:44:12.000Z
2021-12-06T21:44:12.000Z
#!/bin/bash if [[ $(whoami) == "vagrant" || $(hostname) == "control-plane.minikube.internal" ]]; then echo "Aborting. This script should not be run in vagrant box by vagrant user." exit 1 fi git_vars=1 if [[ -z $GIT_USER ]]; then echo "GIT_USER variable not found" git_vars=0 else CURRENT_GIT_USER=$(g...
27.932692
99
0.659552
06f58e1270708541f61e9ed1f410e84e3afbbf00
949
py
Python
cluster_config/generate_push.py
tapanalyticstoolkit/cluster-config
d2a02c058b4d13987924eed7476a9bb0586549c8
[ "Apache-2.0" ]
null
null
null
cluster_config/generate_push.py
tapanalyticstoolkit/cluster-config
d2a02c058b4d13987924eed7476a9bb0586549c8
[ "Apache-2.0" ]
2
2017-03-22T21:08:15.000Z
2017-03-22T21:13:20.000Z
cluster_config/generate_push.py
tapanalyticstoolkit/cluster-config
d2a02c058b4d13987924eed7476a9bb0586549c8
[ "Apache-2.0" ]
1
2020-11-10T16:58:38.000Z
2020-11-10T16:58:38.000Z
from __future__ import print_function import argparse import datetime from cluster_config import generate, push from cluster_config.cdh.cluster import Cluster def cli(parser=None): if parser is None: parser = argparse.ArgumentParser(description="Auto generate various CDH configurations based on system r...
25.648649
122
0.727081
ddc733229b0fb797cfe8991fec44b1602936e6e8
15,669
java
Java
src/main/java/com/example/lovenews/base/TabDetailPager.java
wuyinlei/Lovenews
d56e1bc35ff6ddd3ae286570a59bcd3fa953e449
[ "Apache-2.0" ]
null
null
null
src/main/java/com/example/lovenews/base/TabDetailPager.java
wuyinlei/Lovenews
d56e1bc35ff6ddd3ae286570a59bcd3fa953e449
[ "Apache-2.0" ]
null
null
null
src/main/java/com/example/lovenews/base/TabDetailPager.java
wuyinlei/Lovenews
d56e1bc35ff6ddd3ae286570a59bcd3fa953e449
[ "Apache-2.0" ]
null
null
null
package com.example.lovenews.base; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.os.Handler; import android.os.Message; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; import android.text.TextUtils; import android.view.M...
28.697802
99
0.559257
8544a4d65554e0155e5823aeaf85d3017d378c3d
35,743
cs
C#
sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsClient.cs
mjaow/azure-sdk-for-net
ad9838c78ab168cc643e06d81c497608e6e1cb4c
[ "MIT" ]
null
null
null
sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsClient.cs
mjaow/azure-sdk-for-net
ad9838c78ab168cc643e06d81c497608e6e1cb4c
[ "MIT" ]
null
null
null
sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitsClient.cs
mjaow/azure-sdk-for-net
ad9838c78ab168cc643e06d81c497608e6e1cb4c
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Network.Models; namespace A...
49.850767
251
0.613211
8b1baff4913f7d79fe18e038b4d446be54c67ac0
5,255
rb
Ruby
spec/features/instructor_role_spec.rb
patmbolger/WikiEduDashboard
1cdcb0204f3fb48c031c2255284b88b1bddc621f
[ "MIT" ]
1
2019-05-24T14:04:36.000Z
2019-05-24T14:04:36.000Z
spec/features/instructor_role_spec.rb
enterstudio/WikiEduDashboard
1cdcb0204f3fb48c031c2255284b88b1bddc621f
[ "MIT" ]
null
null
null
spec/features/instructor_role_spec.rb
enterstudio/WikiEduDashboard
1cdcb0204f3fb48c031c2255284b88b1bddc621f
[ "MIT" ]
1
2017-02-24T05:20:14.000Z
2017-02-24T05:20:14.000Z
# frozen_string_literal: true require 'rails_helper' describe 'Instructor users', type: :feature, js: true do before do include Devise::TestHelpers, type: :feature Capybara.current_driver = :selenium page.current_window.resize_to(1920, 1080) end before :each do instructor = create(:user, ...
27.227979
90
0.597146
da4c4589da5c8d929f0185bff17eb76ba4fb276a
902
php
PHP
views/medical-income/view.php
Charlieevox/hris
bfc00b0dcbb49d3d0f73fc81cc2f0b6d3def6c73
[ "BSD-3-Clause" ]
null
null
null
views/medical-income/view.php
Charlieevox/hris
bfc00b0dcbb49d3d0f73fc81cc2f0b6d3def6c73
[ "BSD-3-Clause" ]
null
null
null
views/medical-income/view.php
Charlieevox/hris
bfc00b0dcbb49d3d0f73fc81cc2f0b6d3def6c73
[ "BSD-3-Clause" ]
null
null
null
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\MsPersonnelHead */ $this->title = 'View Medical Income: ' . ' ' . $model->id; $this->params['breadcrumbs'][] = ['label' => 'Proposal', 'url' => ['index']]; $this->params['breadcrumbs'][] = 'View ' . $model...
27.333333
77
0.52439
da28718e3ae4f468fbc4c656d88da485273129ba
1,233
php
PHP
app/HPCFront/Repositories/ProjectRepository.php
jairoserrano/HPCFront
a69753d15c97678e305bb80f547324aa42a88c8b
[ "MIT" ]
1
2015-08-16T04:50:09.000Z
2015-08-16T04:50:09.000Z
app/HPCFront/Repositories/ProjectRepository.php
jairoserrano/HPCFront
a69753d15c97678e305bb80f547324aa42a88c8b
[ "MIT" ]
null
null
null
app/HPCFront/Repositories/ProjectRepository.php
jairoserrano/HPCFront
a69753d15c97678e305bb80f547324aa42a88c8b
[ "MIT" ]
null
null
null
<?php namespace HPCFront\Repositories; use HPCFront\Entities\Project; class ProjectRepository extends BaseRepository { public function getEntity() { return new Project(); } public function findWithAllJobsInformation($id) { return $this->entity->with( array( ...
25.6875
97
0.468775
93f3144243882fca5d8c28d812be9e429756c5c5
7,928
cs
C#
DSCMS/DSCMS/Views/Maintenance/SupportingDocumentDownload.aspx.designer.cs
Ruke45/DManagement
5b26150c2912efd6ff557e4766147457f24210a8
[ "Apache-2.0" ]
null
null
null
DSCMS/DSCMS/Views/Maintenance/SupportingDocumentDownload.aspx.designer.cs
Ruke45/DManagement
5b26150c2912efd6ff557e4766147457f24210a8
[ "Apache-2.0" ]
null
null
null
DSCMS/DSCMS/Views/Maintenance/SupportingDocumentDownload.aspx.designer.cs
Ruke45/DManagement
5b26150c2912efd6ff557e4766147457f24210a8
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
35.55157
99
0.546039
cd1ad3ba47815fda7d09926698bd149ef496482e
458
cs
C#
projects/RyLogViewer2/src/Interfaces/ILicencedFeature.cs
psryland/rylogic_code
f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b
[ "CNRI-Python" ]
2
2020-11-11T16:19:04.000Z
2021-01-19T01:53:29.000Z
projects/RyLogViewer2/src/Interfaces/ILicencedFeature.cs
psryland/rylogic_code
f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b
[ "CNRI-Python" ]
1
2020-07-27T09:00:21.000Z
2020-07-27T10:58:10.000Z
projects/RyLogViewer2/src/Interfaces/ILicencedFeature.cs
psryland/rylogic_code
f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b
[ "CNRI-Python" ]
1
2021-04-04T01:39:55.000Z
2021-04-04T01:39:55.000Z
namespace RyLogViewer { /// <summary>Interface for controlling time limited features</summary> public interface ILicensedFeature { /// <summary>An html description of the licensed feature</summary> string FeatureDescription { get; } /// <summary>True if the licensed feature is still currently in use<...
28.625
80
0.70524
7ad3c4aba6e618a79ec9988e0aaab1974f9c788d
2,101
cs
C#
src/libraries/System.Reflection.Metadata/src/System/Reflection/Internal/Utilities/BitArithmetic.cs
jtschuster/runtime
edd359716c2096274e656d26ed8945d99afc2da5
[ "MIT" ]
null
null
null
src/libraries/System.Reflection.Metadata/src/System/Reflection/Internal/Utilities/BitArithmetic.cs
jtschuster/runtime
edd359716c2096274e656d26ed8945d99afc2da5
[ "MIT" ]
1
2021-11-19T10:42:54.000Z
2021-11-19T10:42:54.000Z
src/libraries/System.Reflection.Metadata/src/System/Reflection/Internal/Utilities/BitArithmetic.cs
jtschuster/runtime
edd359716c2096274e656d26ed8945d99afc2da5
[ "MIT" ]
null
null
null
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; #if NETCOREAPP using System.Numerics; #endif namespace System.Reflection.Internal { internal static class BitArithmetic { internal static i...
28.013333
90
0.535459
d8fd7c008e696ed8499e337288efe7abfc95c40a
1,182
rb
Ruby
benchmarks/subset.rb
janosch-x/immutable_set
8224cc7664d8c96b7b55a2e3d97413af7b980876
[ "MIT" ]
1
2018-06-27T00:13:16.000Z
2018-06-27T00:13:16.000Z
benchmarks/subset.rb
janosch-x/immutable_set
8224cc7664d8c96b7b55a2e3d97413af7b980876
[ "MIT" ]
null
null
null
benchmarks/subset.rb
janosch-x/immutable_set
8224cc7664d8c96b7b55a2e3d97413af7b980876
[ "MIT" ]
null
null
null
require_relative './shared' # distinct case is extremely fast both w. gem and stdlib # (except on Ruby < 2.3, where the gem is much faster) benchmark( method: :subset?, caption: '#(proper_)subset/superset? with 5M subset items', cases: { 'stdlib' => [S.new(1..4_900_000), S.new(1..5_000_000)], 'gem' ...
33.771429
92
0.610829
e26e004f2593fd14175e8738ec972a524e280576
576
py
Python
setup.py
JanSiebert/async-telegram-bot-python
e87a1c7cce0f2e22ec757b03d10d4a394d592bf6
[ "MIT" ]
2
2017-06-02T11:24:26.000Z
2019-07-09T11:30:18.000Z
setup.py
JanSiebert/async-telegram-bot-python
e87a1c7cce0f2e22ec757b03d10d4a394d592bf6
[ "MIT" ]
null
null
null
setup.py
JanSiebert/async-telegram-bot-python
e87a1c7cce0f2e22ec757b03d10d4a394d592bf6
[ "MIT" ]
3
2017-06-02T11:24:32.000Z
2021-12-20T22:08:24.000Z
from distutils.core import setup def readme(): with open('README.rst') as f: return f.read() setup( name = 'AsyncTelegramBot', packages = ['AsyncTelegramBot'], version = '0.2', description = 'Wrapper for Telegram`s Bot API utilizing asyncio', author = 'Jan Siebert', author_email = 'jansie@live...
30.315789
87
0.671875
4d0ad218764bb1f56b56125233a30cdbf66646c5
186
cs
C#
BlazorUtils.WebTest.0.5/Models/WebsiteInfo.cs
LMT-Team/Blazor-Utils
a2e4439caca3285a4406af629a355b79531341ed
[ "MIT" ]
3
2022-01-07T08:44:45.000Z
2022-01-07T08:45:05.000Z
BlazorUtils.WebTest.0.5/Models/WebsiteInfo.cs
15110123/Blazor-Utils
a2e4439caca3285a4406af629a355b79531341ed
[ "MIT" ]
1
2019-03-07T02:16:56.000Z
2019-07-07T09:27:35.000Z
BlazorUtils.WebTest.0.5/Models/WebsiteInfo.cs
15110123/Blazor-Utils
a2e4439caca3285a4406af629a355b79531341ed
[ "MIT" ]
null
null
null
namespace BlazorUtils.WebTest._0._5.Models { public class WebsiteInfo { public string websiteName { get; set; } public string[] developers { get; set; } } }
20.666667
48
0.623656
f48ba80c68349c38c5de6a9dfd1edb01c894f1b8
6,321
ts
TypeScript
src/__test__/lifecycle.test.ts
AEPKILL/husky-di
5f5de4ba7e146e3cb2bdd3ed66b70d515a159d48
[ "MIT" ]
null
null
null
src/__test__/lifecycle.test.ts
AEPKILL/husky-di
5f5de4ba7e146e3cb2bdd3ed66b70d515a159d48
[ "MIT" ]
null
null
null
src/__test__/lifecycle.test.ts
AEPKILL/husky-di
5f5de4ba7e146e3cb2bdd3ed66b70d515a159d48
[ "MIT" ]
null
null
null
/** * @overview * @author AEPKILL * @created 2021-10-11 13:45:53 */ import { ClassProvider, createContainer, FactoryProvider, inject, LifecycleEnum, Ref, ServiceIdentifierManager, } from '..'; describe('lifecycle test', () => { const serviceIdentifierManager = new ServiceIdentifierManager(); con...
23.585821
79
0.570479
a19050c1bc0c29422dd09d32c372d9472c98ed13
2,274
hpp
C++
src/atria/funken/state.hpp
superdev999/atria
caf48a7aa7ddda1c4df9ee047a68dfda4d3b9fba
[ "MIT" ]
257
2015-09-23T22:02:46.000Z
2021-12-13T16:57:06.000Z
src/atria/funken/state.hpp
superdev999/atria
caf48a7aa7ddda1c4df9ee047a68dfda4d3b9fba
[ "MIT" ]
13
2016-01-03T02:13:24.000Z
2019-05-13T07:47:55.000Z
src/atria/funken/state.hpp
superdev999/atria
caf48a7aa7ddda1c4df9ee047a68dfda4d3b9fba
[ "MIT" ]
31
2015-10-07T11:18:12.000Z
2021-09-17T20:33:06.000Z
// // Copyright (C) 2014, 2015 Ableton AG, Berlin. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights t...
28.074074
77
0.718558
b8bd7dc97d76d1b994b659c1fd2e82e559f9de70
2,555
h
C
stabla.h
stefancertic/SS7Client
5f76adcb07bc2f67d70a761704b295b79de38e54
[ "MIT" ]
20
2017-01-03T20:24:30.000Z
2021-11-08T20:17:10.000Z
stabla.h
stefancertic/SS7Client
5f76adcb07bc2f67d70a761704b295b79de38e54
[ "MIT" ]
null
null
null
stabla.h
stefancertic/SS7Client
5f76adcb07bc2f67d70a761704b295b79de38e54
[ "MIT" ]
8
2017-01-03T20:24:33.000Z
2020-05-06T09:50:15.000Z
#ifndef _STABLA_H_ #define _STABLA_H_ 0 #define BACKLOG 5 #define BUFFER_SIZE 8000 #define MAX_DESCRIPTOR 20 char niz_parametara[10][30]; /* struktura koja sadrzi informacije o cvoru */ typedef struct Cvor{ char prva[20]; char druga[50]; char treca[500]; char cetvrta[500]; struct Cvor* levo; struct Cvor* desno...
31.9375
103
0.765166
c9fb14e861b3b95ce92b4e16e55ab5f499c202f9
243
ts
TypeScript
lib/form/admin/google.ts
ex-trap/crowi
59fc7d76ec74db65a629162570e994887e5b0c7e
[ "MIT" ]
1,136
2015-01-07T12:02:32.000Z
2022-02-21T14:23:53.000Z
lib/form/admin/google.ts
ex-trap/crowi
59fc7d76ec74db65a629162570e994887e5b0c7e
[ "MIT" ]
537
2015-03-13T01:08:02.000Z
2022-03-17T20:34:30.000Z
lib/form/admin/google.ts
inductor/crowi
74e86691eddb3c5a9adb12abd1cc6b7a724edd7d
[ "MIT" ]
273
2015-02-24T08:49:59.000Z
2022-02-24T05:31:44.000Z
import form from 'express-form' const { field } = form export default form( field('settingForm[google:clientId]') .trim() .is(/^[\d.a-z\-.]+$/), field('settingForm[google:clientSecret]') .trim() .is(/^[\da-zA-Z\-_]+$/), )
20.25
43
0.580247