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
7286b341a2b518ce84e72417cd69bc9610fbb0e2
6,494
rs
Rust
program/tests/program_test/scenarios.rs
dboures/mango-v3
193f096af9a2da5a579ca83509e3def751f6cbcd
[ "MIT" ]
null
null
null
program/tests/program_test/scenarios.rs
dboures/mango-v3
193f096af9a2da5a579ca83509e3def751f6cbcd
[ "MIT" ]
null
null
null
program/tests/program_test/scenarios.rs
dboures/mango-v3
193f096af9a2da5a579ca83509e3def751f6cbcd
[ "MIT" ]
null
null
null
use crate::*; use solana_sdk::transport::TransportError; #[allow(dead_code)] pub fn arrange_deposit_all_scenario( test: &mut MangoProgramTest, user_index: usize, mint_amount: f64, quote_amount: f64, ) -> Vec<(usize, usize, f64)> { let mut user_deposits = Vec::new(); for mint_index in 0..test.nu...
32.79798
99
0.68879
934ae1cd4a8acb7211585d40999680f07c48202d
425
swift
Swift
Day1/Day1/Extension/CALayer+XibConfiguration.swift
prabindatta/Day1
19bd931b1bcd6ad9e27110261e6d2165adc9f9c6
[ "MIT" ]
null
null
null
Day1/Day1/Extension/CALayer+XibConfiguration.swift
prabindatta/Day1
19bd931b1bcd6ad9e27110261e6d2165adc9f9c6
[ "MIT" ]
null
null
null
Day1/Day1/Extension/CALayer+XibConfiguration.swift
prabindatta/Day1
19bd931b1bcd6ad9e27110261e6d2165adc9f9c6
[ "MIT" ]
null
null
null
// // CALayer+XibConfiguration.swift // Day1 // // Created by Prabin K Datta on 12/12/16. // Copyright © 2016 Prabin K Datta. All rights reserved. // import Foundation import QuartzCore import UIKit extension CALayer{ var borderUIColor: UIColor { get { return UIColor.init(cgColor: self.bor...
18.478261
59
0.616471
f0199c2ddd6cf1a82c3279d8fee04fa2d5d2f015
3,674
py
Python
env2048.py
qhduan/rl-2048
9730d366625ac7ffdd8875586ffbb8615468f110
[ "MIT" ]
3
2022-02-10T02:19:58.000Z
2022-03-06T14:39:20.000Z
env2048.py
qhduan/rl-2048
9730d366625ac7ffdd8875586ffbb8615468f110
[ "MIT" ]
null
null
null
env2048.py
qhduan/rl-2048
9730d366625ac7ffdd8875586ffbb8615468f110
[ "MIT" ]
null
null
null
import logic import numpy as np import gym ACTION_MAP = { 0: 'up', 1: 'down', 2: 'left', 3: 'right' } class Env2048(gym.Env): metadata = {'render.modes': ['human']} def __init__(self, n=4, max_idle=100, seed=None): super(Env2048, self).__init__() self.n = n self.max...
29.15873
107
0.531301
73c2d46d2f7ebdd4a9948582d5a9c24650031b36
56,297
sql
SQL
db_dms_dhl (8).sql
poonix/dhl_mei04
15d18dacd13b6e3c9d3d037db6a2008245c29ee3
[ "MIT" ]
null
null
null
db_dms_dhl (8).sql
poonix/dhl_mei04
15d18dacd13b6e3c9d3d037db6a2008245c29ee3
[ "MIT" ]
null
null
null
db_dms_dhl (8).sql
poonix/dhl_mei04
15d18dacd13b6e3c9d3d037db6a2008245c29ee3
[ "MIT" ]
null
null
null
-- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Apr 16, 2018 at 07:22 PM -- Server version: 10.1.30-MariaDB -- PHP Version: 7.2.1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD...
54.079731
268
0.64261
0cc75fc2057f1d904d4d63b853c8dc9ff11fc8ab
987
py
Python
featureflags/config.py
enverbisevac/ff-python-server-sdk
e7c809229d13517e0bf4b28fc0a556e693c9034e
[ "Apache-2.0" ]
null
null
null
featureflags/config.py
enverbisevac/ff-python-server-sdk
e7c809229d13517e0bf4b28fc0a556e693c9034e
[ "Apache-2.0" ]
null
null
null
featureflags/config.py
enverbisevac/ff-python-server-sdk
e7c809229d13517e0bf4b28fc0a556e693c9034e
[ "Apache-2.0" ]
null
null
null
"""Configuration is a base class that has default values that you can change during the instance of the client class""" from typing import Callable BASE_URL = "https://config.feature-flags.uat.harness.io/api/1.0" MINUTE = 60 PULL_INTERVAL = 1 * MINUTE class Config(object): def __init__(self, base_url: str = BA...
25.973684
76
0.64843
0cb1135cd1e8235884dc831dd92989b829868853
704
py
Python
main/validadorCPF/cpf.py
LuizMoreira-py/cadastro
606c024f126f99ba943cb68115aef472ea61e57e
[ "MIT" ]
null
null
null
main/validadorCPF/cpf.py
LuizMoreira-py/cadastro
606c024f126f99ba943cb68115aef472ea61e57e
[ "MIT" ]
null
null
null
main/validadorCPF/cpf.py
LuizMoreira-py/cadastro
606c024f126f99ba943cb68115aef472ea61e57e
[ "MIT" ]
null
null
null
class Cpf: def __init__(self, documento): documento = str(documento) if self.cpf_eh_valido(documento): self.cpf = documento else: raise ValueError("CPF inválido!") def cpf_eh_valido(self, documento): if len(documento) == 11: return True ...
25.142857
45
0.484375
84d69a2982f6735c7cb42649950271aa77b2a650
696
sql
SQL
oracle/sqlscripts/forall-bulkcollect/bulkcollect/selctinto.sql
landy8530/database-example
9fdb25e45f2828ff74481cde06a2c6b0eac53f2e
[ "BSD-3-Clause" ]
4
2018-03-11T08:10:28.000Z
2019-12-17T07:48:28.000Z
oracle/sqlscripts/forall-bulkcollect/bulkcollect/selctinto.sql
landy8530/database-example
9fdb25e45f2828ff74481cde06a2c6b0eac53f2e
[ "BSD-3-Clause" ]
null
null
null
oracle/sqlscripts/forall-bulkcollect/bulkcollect/selctinto.sql
landy8530/database-example
9fdb25e45f2828ff74481cde06a2c6b0eac53f2e
[ "BSD-3-Clause" ]
6
2019-06-06T03:25:50.000Z
2022-03-20T01:21:22.000Z
--在SELECT INTO中使用BULK COLLECT --说明:使用BULK COLLECT一次即可提取所有行并绑定到记录变量,这就是所谓的批量绑定。 DECLARE -- 定义记录类型 TYPE EMP_REC_TYPE IS RECORD( EMPNO EMP_TEST.EMPNO%TYPE, ENAME EMP_TEST.ENAME%TYPE, HIREDATE EMP_TEST.HIREDATE%TYPE); -- 定义基于记录的嵌套表 TYPE NESTED_EMP_TYPE IS TABLE OF EMP_REC_TYPE; -- 声明变量 EMP_TAB...
31.636364
72
0.673851
413a9eb4cbca3658005c28a1bdcdf7a08c05a811
3,723
c
C
user/happytest/happytest.c
viccro/andthebitches
f19624be074d2ab10c89786e75daef0ef4e48eb9
[ "MIT" ]
5
2016-02-01T06:43:17.000Z
2020-03-04T02:16:16.000Z
user/happytest/happytest.c
sixtwoseventy/joyos
94593ddabf7e6b53b568b3b4a04ca9ed6df123f0
[ "MIT" ]
null
null
null
user/happytest/happytest.c
sixtwoseventy/joyos
94593ddabf7e6b53b568b3b4a04ca9ed6df123f0
[ "MIT" ]
2
2016-01-20T04:29:35.000Z
2020-10-12T23:20:02.000Z
/* * The MIT License * * Copyright (c) 2007 MIT 6.270 Robotics Competition * * 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 right...
24.175325
80
0.61993
2478f32686463536c411e0b834242d5e63ea0181
47
sql
SQL
pgx-examples/custom_sql/sql/multiple.sql
jonatas/pgx
d9c1db535bb5bd27f6cb70217866a040f3f98efb
[ "MIT" ]
1,399
2020-07-12T22:25:00.000Z
2022-03-19T15:30:01.000Z
pgx-examples/custom_sql/sql/multiple.sql
jonatas/pgx
d9c1db535bb5bd27f6cb70217866a040f3f98efb
[ "MIT" ]
351
2020-07-14T05:01:48.000Z
2022-03-22T17:27:35.000Z
pgx-examples/custom_sql/sql/multiple.sql
timescale/pgx
ed9f061db4c6d0a2e2775bea58523f92d9ff5a07
[ "MIT" ]
73
2020-07-13T16:39:31.000Z
2022-03-22T15:25:39.000Z
INSERT INTO extension_sql VALUES ('multiple');
23.5
46
0.787234
f1593cd41d1fb7258349be6a1710dbf44287769a
2,523
rb
Ruby
spec/jobs/central_mail/submit_form4142_spec.rb
gg-1414/vets-api
263c29fa2c6e5dce50c962b068e38019eff61906
[ "CC0-1.0" ]
null
null
null
spec/jobs/central_mail/submit_form4142_spec.rb
gg-1414/vets-api
263c29fa2c6e5dce50c962b068e38019eff61906
[ "CC0-1.0" ]
null
null
null
spec/jobs/central_mail/submit_form4142_spec.rb
gg-1414/vets-api
263c29fa2c6e5dce50c962b068e38019eff61906
[ "CC0-1.0" ]
null
null
null
# frozen_string_literal: true require 'rails_helper' require 'sidekiq/testing' Sidekiq::Testing.fake! RSpec.describe CentralMail::SubmitForm4142Job, type: :job do before(:each) do Sidekiq::Worker.clear_all end subject { described_class } describe '.perform_async' do let(:valid_form_content) { File.r...
34.094595
115
0.70432
64c3d3aaea8575c651a1b71020664a756767f1f8
2,066
sql
SQL
conf/evolutions/default/2.sql
PQTran/SimplyTutorServerApp
590c46b2e2a404947f362e8c9460835f289c9660
[ "Apache-2.0" ]
null
null
null
conf/evolutions/default/2.sql
PQTran/SimplyTutorServerApp
590c46b2e2a404947f362e8c9460835f289c9660
[ "Apache-2.0" ]
null
null
null
conf/evolutions/default/2.sql
PQTran/SimplyTutorServerApp
590c46b2e2a404947f362e8c9460835f289c9660
[ "Apache-2.0" ]
null
null
null
# --- !Ups INSERT INTO role (id, role_name, description) VALUES (1, 'Admin', NULL), (2, 'User', 'A regular user who uses this application'); INSERT INTO user (id, email, first_name, last_name, password, hashed_password, reset_token, role_id) VALUES (1, 'paultran@email.ca', 'Paul'...
33.322581
92
0.571636
7f6c1b545803fdf4f895d0fced78bf36a0f270c1
3,303
rs
Rust
tests/integrations/server/kv_service.rs
ldeng-ustc/tikv
c4b7e8fa20f8f2022e634c445a53212b54e8f016
[ "Apache-2.0" ]
2
2020-06-21T02:54:19.000Z
2020-06-21T02:54:24.000Z
tests/integrations/server/kv_service.rs
ldeng-ustc/tikv
c4b7e8fa20f8f2022e634c445a53212b54e8f016
[ "Apache-2.0" ]
8
2020-06-03T11:56:15.000Z
2020-06-03T11:57:53.000Z
tests/integrations/server/kv_service.rs
ldeng-ustc/tikv
c4b7e8fa20f8f2022e634c445a53212b54e8f016
[ "Apache-2.0" ]
1
2019-04-30T05:26:13.000Z
2019-04-30T05:26:13.000Z
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0. use futures::{Future, Sink, Stream}; use grpcio::*; use kvproto::tikvpb::TikvClient; use kvproto::tikvpb::*; use std::sync::{mpsc, Arc}; use std::thread; use std::time::Duration; use test_raftstore::new_server_cluster; use tikv::server::service::batch_...
32.067961
83
0.56706
64f2929f1145442456cd44750af98c7c1e21cebe
845
swift
Swift
MDKits/Classes/Closure/UIGestureRecognizer+.swift
BeyChan/MDKits
fbdc86c1d9ecf8f6a11f56442cd0dbce01dc8732
[ "MIT" ]
null
null
null
MDKits/Classes/Closure/UIGestureRecognizer+.swift
BeyChan/MDKits
fbdc86c1d9ecf8f6a11f56442cd0dbce01dc8732
[ "MIT" ]
null
null
null
MDKits/Classes/Closure/UIGestureRecognizer+.swift
BeyChan/MDKits
fbdc86c1d9ecf8f6a11f56442cd0dbce01dc8732
[ "MIT" ]
null
null
null
// // UIGestureRecognizer+.swift // MDFooBox // // Created by  MarvinChan on 2019/12/27. // Copyright © 2019  MarvinChan. All rights reserved. // import Foundation public extension Container where Host: UIGestureRecognizer { ///示例 `gesture.on.tap{ }` /// 添加事件 /// - Parameter action: 闭包动作 fun...
22.236842
67
0.64142
5a30701fa71831ac461b05fd618384ba360897f3
1,222
rs
Rust
src/redis_utils.rs
nickelc/ocypod
fe4b693870f67fb7a8b25aa626af286c6b65d1ca
[ "Apache-2.0" ]
170
2019-03-29T13:27:44.000Z
2022-03-18T14:55:36.000Z
src/redis_utils.rs
nickelc/ocypod
fe4b693870f67fb7a8b25aa626af286c6b65d1ca
[ "Apache-2.0" ]
27
2018-12-04T17:08:10.000Z
2022-03-11T08:39:03.000Z
src/redis_utils.rs
nickelc/ocypod
fe4b693870f67fb7a8b25aa626af286c6b65d1ca
[ "Apache-2.0" ]
15
2018-12-06T22:08:45.000Z
2022-03-03T01:44:16.000Z
//! Miscellaneous Redis utilities and helper functions. use redis::{aio::ConnectionLike, from_redis_value, FromRedisValue, Pipeline, RedisResult, Value}; /// Helper function for getting nested data structures from Redis pipelines. /// /// Used for e.g. querying for vectors of tuples from: /// pipe.hget(key1, [x, y, z...
30.55
97
0.612111
41cfe89d62feb8dd40ed91044c1c2febae389243
170
h
C
Source/Clem/ECS/ECS.h
ShenMian/Clementine
a4d733e5f89141a7f00a043c73f0819eb3e277a8
[ "Apache-2.0" ]
46
2020-08-27T14:30:50.000Z
2021-12-10T05:45:07.000Z
Source/Clem/ECS/ECS.h
ShenMian/Clementine
a4d733e5f89141a7f00a043c73f0819eb3e277a8
[ "Apache-2.0" ]
2
2021-10-08T01:04:56.000Z
2021-12-10T08:20:08.000Z
Source/Clem/ECS/ECS.h
ShenMian/Clementine
a4d733e5f89141a7f00a043c73f0819eb3e277a8
[ "Apache-2.0" ]
6
2020-09-05T08:41:13.000Z
2022-03-26T02:31:26.000Z
// Copyright 2021 SMS // License(Apache-2.0) #pragma once #include "Archtype.h" #include "Entity.h" #include "Registry.h" #include "System.h" #include "TypeIndex.hpp"
15.454545
24
0.705882
166ad2c17490e6f108c15d0d1888acc0d2326310
1,963
h
C
DataFormats/HcalCalibObjects/interface/HcalIsoTrkCalibVariables.h
malbouis/cmssw
16173a30d3f0c9ecc5419c474bb4d272c58b65c8
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DataFormats/HcalCalibObjects/interface/HcalIsoTrkCalibVariables.h
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DataFormats/HcalCalibObjects/interface/HcalIsoTrkCalibVariables.h
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#ifndef DataFormatsHcalCalibObjectsHcalIsoTrkCalibVariables_h #define DataFormatsHcalCalibObjectsHcalIsoTrkCalibVariables_h #include <string> #include <vector> class HcalIsoTrkCalibVariables { public: HcalIsoTrkCalibVariables() { clear(); } void clear() { eventWeight_ = rhoh_ = 0; nVtx_ = goodPV_ = nTrk_ ...
33.271186
81
0.724401
8a1750921a96e931188ff71373934b244c7062cf
1,306
sql
SQL
Minimalistic Balance Acken/Minimalistic Balance Acken/Religion/FaithCosts.sql
rezoacken/minimalistic_balance_civ5
939c96af52b32895847e26f2b25ad6d8a6bc7796
[ "MIT" ]
null
null
null
Minimalistic Balance Acken/Minimalistic Balance Acken/Religion/FaithCosts.sql
rezoacken/minimalistic_balance_civ5
939c96af52b32895847e26f2b25ad6d8a6bc7796
[ "MIT" ]
null
null
null
Minimalistic Balance Acken/Minimalistic Balance Acken/Religion/FaithCosts.sql
rezoacken/minimalistic_balance_civ5
939c96af52b32895847e26f2b25ad6d8a6bc7796
[ "MIT" ]
null
null
null
UPDATE Defines SET Value=20 WHERE Name='RELIGION_MIN_FAITH_FIRST_PANTHEON'; UPDATE Defines SET Value=0 WHERE Name='RELIGION_GAME_FAITH_DELTA_NEXT_PANTHEON'; UPDATE Defines SET Value=100 WHERE Name='RELIGION_BASE_CHANCE_PROPHET_SPAWN'; UPDATE Eras SET FaithCostMultiplier=125 WHERE Type='ERA_RENAISSANCE'; UPDATE Eras SE...
65.3
107
0.847626
a0d39a9fd1fda9ce71092fdace68c11b213c972d
2,266
kt
Kotlin
src/main/kotlin/net/thoughtmachine/please/plugin/runconfiguration/RunStates.kt
Tatskaari/please-intellij
502bc792fbd3546b8579b9dfca5c7e9f5c80df71
[ "Apache-2.0" ]
1
2021-05-02T04:10:32.000Z
2021-05-02T04:10:32.000Z
src/main/kotlin/net/thoughtmachine/please/plugin/runconfiguration/RunStates.kt
Tatskaari/please-intellij
502bc792fbd3546b8579b9dfca5c7e9f5c80df71
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/net/thoughtmachine/please/plugin/runconfiguration/RunStates.kt
Tatskaari/please-intellij
502bc792fbd3546b8579b9dfca5c7e9f5c80df71
[ "Apache-2.0" ]
null
null
null
package net.thoughtmachine.please.plugin.runconfiguration import com.intellij.execution.DefaultExecutionResult import com.intellij.execution.ExecutionResult import com.intellij.execution.Executor import com.intellij.execution.configurations.PtyCommandLine import com.intellij.execution.configurations.RunProfileState im...
35.968254
125
0.770962
5803aa9983a74df0dfac17e5d9aa07018b5ac7b3
1,461
h
C
chromeos/components/tether/device_id_tether_network_guid_map.h
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chromeos/components/tether/device_id_tether_network_guid_map.h
blueboxd/chromium-legacy
07223bc94bd97499909c9ed3c3f5769d718fe2e0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chromeos/components/tether/device_id_tether_network_guid_map.h
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROMEOS_COMPONENTS_TETHER_DEVICE_ID_TETHER_NETWORK_GUID_MAP_H_ #define CHROMEOS_COMPONENTS_TETHER_DEVICE_ID_TETHER_NETWORK_GUID_MAP_H_ #include ...
32.466667
80
0.772074
6a8e1eb9e2fb6437b4a46c78eb68080b0399a8be
52,843
sql
SQL
database/smsverificationexceladedafterbackup.sql
sridharlovevirus/KEC-Placement-Assistant
3fc83515c570fd9864a564f0ecc043c32bdccdd6
[ "MIT" ]
null
null
null
database/smsverificationexceladedafterbackup.sql
sridharlovevirus/KEC-Placement-Assistant
3fc83515c570fd9864a564f0ecc043c32bdccdd6
[ "MIT" ]
null
null
null
database/smsverificationexceladedafterbackup.sql
sridharlovevirus/KEC-Placement-Assistant
3fc83515c570fd9864a564f0ecc043c32bdccdd6
[ "MIT" ]
null
null
null
-- phpMyAdmin SQL Dump -- version 4.6.5.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Nov 10, 2017 at 08:31 PM -- Server version: 10.1.21-MariaDB -- PHP Version: 5.6.30 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SE...
61.090173
871
0.61976
05e2c867d2951db4e175c0a9df15894bd0b882ea
797
rb
Ruby
lib/services/ecf/ecf_payment_calculation_service.rb
ConorBeaupres/cpd-payment-calculations
2a356dfac4807298ed23c9fcd753c22a8fe26e4e
[ "MIT" ]
null
null
null
lib/services/ecf/ecf_payment_calculation_service.rb
ConorBeaupres/cpd-payment-calculations
2a356dfac4807298ed23c9fcd753c22a8fe26e4e
[ "MIT" ]
null
null
null
lib/services/ecf/ecf_payment_calculation_service.rb
ConorBeaupres/cpd-payment-calculations
2a356dfac4807298ed23c9fcd753c22a8fe26e4e
[ "MIT" ]
null
null
null
# frozen_string_literal: true class EcfPaymentCalculationService def initialize(config) @config = config end def calculate { input: @config, output: { per_participant_service_fee: per_participant_service_fee, total_service_fee: total_service_fee, monthly_service_fee: ...
18.113636
66
0.720201
0402afc5c96a4835ac135bab74d8a4e74b22c0e1
506
asm
Assembly
programs/oeis/314/A314838.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/314/A314838.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/314/A314838.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A314838: Coordination sequence Gal.4.52.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,9,14,18,23,27,32,37,41,46,50,55,59,64,69,73,78,82,87,91,96,101,105,110,114,119,123,128,133,137,142,146,151,155,160,165,169,174,178,183,18...
25.3
176
0.679842
3eae8e16f209dbf081c303053cbca75eb139bf7a
2,750
h
C
environments/MountainCar.h
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
2
2021-06-09T13:54:15.000Z
2021-07-04T13:30:46.000Z
environments/MountainCar.h
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
null
null
null
environments/MountainCar.h
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
2
2017-04-17T11:08:57.000Z
2017-04-18T08:28:27.000Z
/* * MountainCar.h * hog2 * * Created by Nathan Sturtevant on 11/29/10. * Copyright 2010 University of Denver. All rights reserved. * */ #ifndef MOUNTAINCAR_H #define MOUNTAINCAR_H #include "SearchEnvironment.h" class MountainCarState { public: MountainCarState() :loc(-0.5), speed(0) {} double loc; d...
33.536585
108
0.778182
5efc1b368524b9e98a9fbd602f635aa32a30d5b7
4,186
swift
Swift
UTUITestLearning/code/UTUITestPlayground.playground/Pages/07_ImproveCodeQuality.xcplaygroundpage/Contents.swift
AppStudio2015/MyTest
7cddeb0402d3f3d66c12726f217a2a207e4d42b5
[ "MIT" ]
2
2020-04-29T05:21:19.000Z
2020-06-03T06:24:05.000Z
UTUITestLearning/code/UTUITestPlayground.playground/Pages/07_ImproveCodeQuality.xcplaygroundpage/Contents.swift
AppStudio2015/MyTest
7cddeb0402d3f3d66c12726f217a2a207e4d42b5
[ "MIT" ]
null
null
null
UTUITestLearning/code/UTUITestPlayground.playground/Pages/07_ImproveCodeQuality.xcplaygroundpage/Contents.swift
AppStudio2015/MyTest
7cddeb0402d3f3d66c12726f217a2a207e4d42b5
[ "MIT" ]
2
2020-04-29T05:10:24.000Z
2020-04-30T05:05:56.000Z
//: [Previous](@previous) /*: ## 提高代码质量方法 ### 编码规约 * 规范团队成员编码行为,制定适合团队、项目的,相对灵活的编码规范 1. Objective-C Style **OC Code Organization** Use `#pragma mark -` to categorize methods in functional groupings and protocol/delegate implementations following this general structure. ```objc ...
27.539474
374
0.65743
4779c149eed5d0806d2844072a19687c845faf0a
1,352
html
HTML
index.html
dgeren/Q-A-Entry-Editor
2dc075e53dc7def524083ca9e776d516835b7740
[ "MIT" ]
null
null
null
index.html
dgeren/Q-A-Entry-Editor
2dc075e53dc7def524083ca9e776d516835b7740
[ "MIT" ]
null
null
null
index.html
dgeren/Q-A-Entry-Editor
2dc075e53dc7def524083ca9e776d516835b7740
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script type="text/javascript"src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script type="text/javascript" src="index.js"></script> <link rel="sty...
27.591837
111
0.610207
181f9df7491fc0b0fb58f57a32bd44127fa048c5
650
rs
Rust
src/error.rs
vangork/pravega-client-rust
b57b2ea6eee3aa49d354e19b5fc457d4ccf72e9f
[ "Apache-2.0" ]
25
2020-10-28T06:44:56.000Z
2022-02-25T05:35:43.000Z
src/error.rs
vangork/pravega-client-rust
b57b2ea6eee3aa49d354e19b5fc457d4ccf72e9f
[ "Apache-2.0" ]
175
2020-10-28T14:46:05.000Z
2022-03-22T00:51:05.000Z
src/error.rs
vangork/pravega-client-rust
b57b2ea6eee3aa49d354e19b5fc457d4ccf72e9f
[ "Apache-2.0" ]
12
2020-10-28T08:23:22.000Z
2022-03-16T13:49:29.000Z
// // Copyright (c) Dell Inc., or its subsidiaries. All Rights Reserved. // // 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 // use snafu...
27.083333
69
0.656923
b48b59ebf97cafb81e047029ae8c5635c2ca67b2
206
sql
SQL
modules/core/db/update/postgres/13/130828-addDefaultTemplate.sql
SevDan/reports
edc53d543b2f6bae65fed481c058deef1b3ada12
[ "Apache-2.0" ]
10
2018-07-05T13:35:03.000Z
2021-02-08T11:45:33.000Z
modules/core/db/update/postgres/13/130828-addDefaultTemplate.sql
SevDan/reports
edc53d543b2f6bae65fed481c058deef1b3ada12
[ "Apache-2.0" ]
239
2018-04-06T08:56:02.000Z
2022-01-12T06:50:58.000Z
modules/core/db/update/postgres/13/130828-addDefaultTemplate.sql
SevDan/reports
edc53d543b2f6bae65fed481c058deef1b3ada12
[ "Apache-2.0" ]
6
2019-10-03T04:31:46.000Z
2022-02-22T15:31:35.000Z
alter table REPORT_REPORT add column DEFAULT_TEMPLATE_ID uuid; alter table REPORT_REPORT add constraint FK_REPORT_REPORT_TO_DEF_TEMPLATE foreign key (DEFAULT_TEMPLATE_ID) references REPORT_TEMPLATE (ID);
34.333333
107
0.868932
418ab1fe6c798c4d1e7385eb2322db337fb51a2f
615
kt
Kotlin
src/main/kotlin/dev/jonaz/server/security/jwt/JwtSecretGenerator.kt
jonaznas/micronaut-jwt-kotlin-boilerplate
629db9c350a699e3b75a6c6f38409a1f7b07698f
[ "MIT" ]
null
null
null
src/main/kotlin/dev/jonaz/server/security/jwt/JwtSecretGenerator.kt
jonaznas/micronaut-jwt-kotlin-boilerplate
629db9c350a699e3b75a6c6f38409a1f7b07698f
[ "MIT" ]
null
null
null
src/main/kotlin/dev/jonaz/server/security/jwt/JwtSecretGenerator.kt
jonaznas/micronaut-jwt-kotlin-boilerplate
629db9c350a699e3b75a6c6f38409a1f7b07698f
[ "MIT" ]
null
null
null
package dev.jonaz.server.security.jwt import dev.jonaz.server.util.tools.GenerateString import javax.inject.Inject import javax.inject.Singleton @Singleton class JwtSecretGenerator @Inject constructor( private val generateString: GenerateString ) { private lateinit var secret: String fun get(): Strin...
25.625
53
0.639024
6b2e2d629434ad3550714c3ae2005e4258b9f4c7
9,766
rs
Rust
src/tests/iteration.rs
soro/rusty-hdrhistogram
2b0d261027c2fef898def3f4a358edebd4f55cd0
[ "MIT" ]
1
2019-07-05T14:23:00.000Z
2019-07-05T14:23:00.000Z
src/tests/iteration.rs
soro/rusty-hdrhistogram
2b0d261027c2fef898def3f4a358edebd4f55cd0
[ "MIT" ]
null
null
null
src/tests/iteration.rs
soro/rusty-hdrhistogram
2b0d261027c2fef898def3f4a358edebd4f55cd0
[ "MIT" ]
null
null
null
use tests::util::*; #[test] fn percentiles() { let histogram = stat_histo(); for value in histogram.percentiles(5) { let value_at_pctl = histogram.get_value_at_percentile(value.percentile); assert_eq!( value.value_iterated_to, histogram.highest_equivalent_value(value_at_...
30.235294
104
0.558366
bd6c0a5b09fd86f0e65b4ba92a8ee5b4fdb08ed5
73
kt
Kotlin
exercises/practice/complex-numbers/src/main/kotlin/ComplexNumber.kt
Tarnic/kotlin
cd0b359248c04e8e8dd37369d377ccaec22379e5
[ "MIT" ]
142
2017-06-19T13:34:35.000Z
2022-03-29T19:57:54.000Z
exercises/practice/complex-numbers/src/main/kotlin/ComplexNumber.kt
Tarnic/kotlin
cd0b359248c04e8e8dd37369d377ccaec22379e5
[ "MIT" ]
273
2017-06-19T14:45:28.000Z
2022-03-25T13:33:04.000Z
exercises/practice/complex-numbers/src/main/kotlin/ComplexNumber.kt
Tarnic/kotlin
cd0b359248c04e8e8dd37369d377ccaec22379e5
[ "MIT" ]
202
2017-06-19T04:00:46.000Z
2022-03-29T07:10:24.000Z
data class ComplexNumber(val real: Double = 0.0, val imag: Double = 0.0)
36.5
72
0.712329
2a207d16143e9ec37dd15b06f94f8a25cacf8b6e
239
html
HTML
templates/snippets-account.html
JordyPouw/simba
bbcb437766a307f921403759591df187630c1d34
[ "MIT" ]
2
2015-01-19T20:26:27.000Z
2015-04-21T19:56:54.000Z
templates/snippets-account.html
JordyPouw/simba
bbcb437766a307f921403759591df187630c1d34
[ "MIT" ]
null
null
null
templates/snippets-account.html
JordyPouw/simba
bbcb437766a307f921403759591df187630c1d34
[ "MIT" ]
null
null
null
<section class="account"> <a href="{{ 'account' | url }}"> {% if page.account %} {{ 'Welcome, $1!' | t(page.account.firstname) | raw }} {% else %} {{ 'My account' | t }} {% endif %} </a> </section>
26.555556
74
0.443515
7525e38c434d64fa690c454922d99df75d75c983
5,251
h
C
linux-3.0.1/include/linux/memblock.h
tonghua209/samsun6410_linux_3_0_0_1_for_aws
31aa0dc27c4aab51a92309a74fd84ca65e8c6a58
[ "Apache-2.0" ]
4
2016-07-01T04:50:02.000Z
2021-11-14T21:29:42.000Z
linux-3.0/include/linux/memblock.h
spartan263/vizio_oss
74270002d874391148119b48882db6816e7deedc
[ "Linux-OpenIB" ]
null
null
null
linux-3.0/include/linux/memblock.h
spartan263/vizio_oss
74270002d874391148119b48882db6816e7deedc
[ "Linux-OpenIB" ]
1
2020-04-03T14:00:39.000Z
2020-04-03T14:00:39.000Z
#ifndef _LINUX_MEMBLOCK_H #define _LINUX_MEMBLOCK_H #ifdef __KERNEL__ #define MEMBLOCK_ERROR 0 #ifdef CONFIG_HAVE_MEMBLOCK /* * Logical memory blocks. * * Copyright (C) 2001 Peter Bergner, IBM Corp. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General ...
30.005714
98
0.781375
22a7c2ca49095161480044744f619281d043eec3
32
html
HTML
openresty/pages/site2.html
s-mokrushin/openresty-auth-middleware
2f5000e1360c8bae0d38edf86faad4e83e4720cb
[ "MIT" ]
2
2021-07-22T08:53:33.000Z
2021-12-22T01:46:38.000Z
openresty/pages/site2.html
s-mokrushin/openresty-auth-middleware
2f5000e1360c8bae0d38edf86faad4e83e4720cb
[ "MIT" ]
null
null
null
openresty/pages/site2.html
s-mokrushin/openresty-auth-middleware
2f5000e1360c8bae0d38edf86faad4e83e4720cb
[ "MIT" ]
null
null
null
<h1>Site 2</h1> <p>Welcome!</p>
10.666667
15
0.5625
5738710a7965d97b671eb76396d0cf5c6ad41fc8
7,173
c
C
examples/MSP430F5xx_6xx/adc10_a/adc10_a_ex8_sequenceDMA.c
phelpsw/msp430-driverlib
5b818a00ba1771c4e56a7642916cb19fd3a6ebe4
[ "BSD-3-Clause" ]
3
2020-12-09T20:05:24.000Z
2021-12-10T07:27:19.000Z
examples/MSP430F5xx_6xx/adc10_a/adc10_a_ex8_sequenceDMA.c
phelpsw/msp430-driverlib
5b818a00ba1771c4e56a7642916cb19fd3a6ebe4
[ "BSD-3-Clause" ]
1
2020-12-19T18:49:01.000Z
2020-12-19T18:49:01.000Z
examples/MSP430F5xx_6xx/adc10_a/adc10_a_ex8_sequenceDMA.c
phelpsw/msp430-driverlib
5b818a00ba1771c4e56a7642916cb19fd3a6ebe4
[ "BSD-3-Clause" ]
null
null
null
/* --COPYRIGHT--,BSD * Copyright (c) 2017, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the ab...
35.334975
81
0.641433
85b7261360a516c1aaca59c4e98bd5912c933880
2,620
h
C
cyclone_tcp/netbios/nbns_client.h
Velleman/VM204-Firmware
f6836dff40ec70fc2de66a3b2c6f03fa4c36c223
[ "MIT" ]
4
2016-04-17T00:48:37.000Z
2020-03-17T01:42:20.000Z
cyclone_tcp/netbios/nbns_client.h
Velleman/VM204-Firmware
f6836dff40ec70fc2de66a3b2c6f03fa4c36c223
[ "MIT" ]
null
null
null
cyclone_tcp/netbios/nbns_client.h
Velleman/VM204-Firmware
f6836dff40ec70fc2de66a3b2c6f03fa4c36c223
[ "MIT" ]
6
2016-04-17T00:48:41.000Z
2022-01-28T13:50:45.000Z
/** * @file nbns_client.h * @brief NBNS client (NetBIOS Name Service) * * @section License * * Copyright (C) 2010-2015 Oryx Embedded SARL. All rights reserved. * * This file is part of CycloneTCP Open. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Ge...
31.190476
87
0.776336
84bebefc0b6f69a7e97cce48b9fa3ac583845e8c
1,878
h
C
Test/Fandango/include/obex_body.h
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Test/Fandango/include/obex_body.h
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Test/Fandango/include/obex_body.h
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
/** * @file obex_body.h * * OBEX body reception releated functions. * OpenOBEX library - Free implementation of the Object Exchange protocol. * * Copyright (c) 2012 Hendrik Sattler, All Rights Reserved. * * OpenOBEX is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser ...
26.828571
80
0.637913
e56ea32fdea24ced804f9e0b93cf6a3b756d3d4f
698
swift
Swift
ElevenNote/NoteDetailViewController.swift
Athitha/note-app-ios
771e8bf4a8f7554520f91e9bbb76e73ccf29c9a1
[ "MIT" ]
null
null
null
ElevenNote/NoteDetailViewController.swift
Athitha/note-app-ios
771e8bf4a8f7554520f91e9bbb76e73ccf29c9a1
[ "MIT" ]
null
null
null
ElevenNote/NoteDetailViewController.swift
Athitha/note-app-ios
771e8bf4a8f7554520f91e9bbb76e73ccf29c9a1
[ "MIT" ]
null
null
null
import UIKit class NoteDetailViewController: UIViewController { var theNote = Note() @IBOutlet weak var noteTitleLabel: UITextField! @IBOutlet weak var noteTextView: UITextView! override func viewDidLoad() { super.viewDidLoad() se...
21.8125
81
0.618911
abb7ecb34cea94ce1cec160c554422b0d6521ec0
2,325
lua
Lua
viewer/view_lap.lua
pixeljetstream/r3e-trace-analysis
0748715bd0d1f5b630a8f7e556e4547576ba118e
[ "MIT" ]
10
2015-10-22T06:12:22.000Z
2021-12-20T21:22:07.000Z
viewer/view_lap.lua
pixeljetstream/r3e-trace-analysis
0748715bd0d1f5b630a8f7e556e4547576ba118e
[ "MIT" ]
null
null
null
viewer/view_lap.lua
pixeljetstream/r3e-trace-analysis
0748715bd0d1f5b630a8f7e556e4547576ba118e
[ "MIT" ]
null
null
null
local wx = require "wx" local ffi = require "ffi" local gl = require "glewgl" local glu = require "glutils" local utils = require "utils" local r3e = require "r3e" local r3etrace = require "r3etrace" local math3d = require "math3d" local v3,v4,m4 = math3d.namespaces.v3,math3d.namespaces.v4,math3d.namespaces.m4 loca...
24.734043
79
0.63828
f0304c18f64a7cd7e5d48811fe847867a8e8139c
1,400
js
JavaScript
src/actions/types.js
RagtagOpen/freefrom-compensation-web
27eed0cac762df1ebf5360cd552a53c249c60f47
[ "MIT" ]
2
2019-07-18T16:38:40.000Z
2020-01-16T15:15:00.000Z
src/actions/types.js
RagtagOpen/freefrom-compensation-web
27eed0cac762df1ebf5360cd552a53c249c60f47
[ "MIT" ]
74
2019-07-11T15:25:00.000Z
2021-04-06T15:24:30.000Z
src/actions/types.js
RagtagOpen/freefrom-compensation-web
27eed0cac762df1ebf5360cd552a53c249c60f47
[ "MIT" ]
3
2019-11-20T10:17:00.000Z
2020-10-25T12:49:05.000Z
// Alerts export const SET_ALERT = "SET_ALERT" export const REMOVE_ALERT = "REMOVE_ALERT" // Auth export const REGISTER_SUCCESS = "REGISTER_SUCCESS" export const REGISTER_FAIL = "REGISTER_FAIL" export const USER_LOADED = "USER_LOADED" export const AUTH_ERROR = "AUTH_ERROR" export const LOGIN_SUCCESS = "LOGIN_SUCCESS" ...
35
68
0.819286
b301ac290413f79b84a1f609e13040093bd78378
2,032
rb
Ruby
lib/rational_nested_set/set_validator.rb
sximba/rational_nested_set
816dffd68e1e03a8a1378f553a36f283092dfd84
[ "MIT" ]
null
null
null
lib/rational_nested_set/set_validator.rb
sximba/rational_nested_set
816dffd68e1e03a8a1378f553a36f283092dfd84
[ "MIT" ]
null
null
null
lib/rational_nested_set/set_validator.rb
sximba/rational_nested_set
816dffd68e1e03a8a1378f553a36f283092dfd84
[ "MIT" ]
null
null
null
module CollectiveIdea #:nodoc: module Acts #:nodoc: module NestedSet #:nodoc: class SetValidator def initialize(model) @model = model @scope = model.all @parent = arel_table.alias('parent') end def valid? query.count == 0 end ...
34.440678
289
0.644685
0bccf7eac43e35872dc4377aa49b77edd563ae3a
3,136
js
JavaScript
app/assets/javascripts/wysiwyg.js
ptolts/dishgo_backend_and_frontend
f8bd9ebadf9e2d6c93933d4b0142e29996fca8d6
[ "MIT" ]
null
null
null
app/assets/javascripts/wysiwyg.js
ptolts/dishgo_backend_and_frontend
f8bd9ebadf9e2d6c93933d4b0142e29996fca8d6
[ "MIT" ]
null
null
null
app/assets/javascripts/wysiwyg.js
ptolts/dishgo_backend_and_frontend
f8bd9ebadf9e2d6c93933d4b0142e29996fca8d6
[ "MIT" ]
null
null
null
/* *= require bootstrap_wysiwyg.js *= require colorpicker.js */ (function( $, ko ) { ko.bindingHandlers['wysiwyg'] = { init: function (element, valueAccessor, allBindingsAccessor) { console.log("DEBUG: wysiwyg firing on: " + element); var underlyingObservable = valueAccessor(); var interceptor = ko....
33.010526
102
0.474809
7082d5dbd60c059b9f5c17754f328e8303770bf8
4,238
go
Go
e2e.go
bitrise-steplib/steps-check
f23fc5ecfaacf1ad9344662001d4d83f50c9fa84
[ "MIT" ]
null
null
null
e2e.go
bitrise-steplib/steps-check
f23fc5ecfaacf1ad9344662001d4d83f50c9fa84
[ "MIT" ]
null
null
null
e2e.go
bitrise-steplib/steps-check
f23fc5ecfaacf1ad9344662001d4d83f50c9fa84
[ "MIT" ]
null
null
null
package main import ( "fmt" "github.com/bitrise-io/go-utils/command" "github.com/bitrise-io/go-utils/errorutil" "github.com/bitrise-io/go-utils/log" "github.com/bitrise-io/go-utils/pathutil" "github.com/segmentio/analytics-go" "gopkg.in/yaml.v2" "io/ioutil" "os" "path/filepath" "strings" "time" ) const un...
25.076923
131
0.697027
9c40d66869385f33e81b20122abb9a4fb93c228a
6,018
js
JavaScript
src/components/SuggestField.js
grachet/react-online-doc
b58e1bffbb5a0d75b447dfb83b71ed5a2b3624d6
[ "MIT" ]
null
null
null
src/components/SuggestField.js
grachet/react-online-doc
b58e1bffbb5a0d75b447dfb83b71ed5a2b3624d6
[ "MIT" ]
null
null
null
src/components/SuggestField.js
grachet/react-online-doc
b58e1bffbb5a0d75b447dfb83b71ed5a2b3624d6
[ "MIT" ]
null
null
null
import React from 'react'; import PropTypes from 'prop-types'; import Autosuggest from 'react-autosuggest'; import parse from 'autosuggest-highlight/parse'; import TextField from '@material-ui/core/TextField'; import Paper from '@material-ui/core/Paper'; import MenuItem from '@material-ui/core/MenuItem'; import {withSt...
23.880952
120
0.56331
c3d837d08fcae163736790f02f845974386506a6
3,519
go
Go
services/vmc/orgs/TosClient.go
martinrohrbach/vsphere-automation-sdk-go
d021d3634ac8106ab5100f851237f8e85eafe669
[ "BSD-2-Clause" ]
18
2020-01-23T06:58:53.000Z
2021-12-21T00:43:50.000Z
services/vmc/orgs/TosClient.go
martinrohrbach/vsphere-automation-sdk-go
d021d3634ac8106ab5100f851237f8e85eafe669
[ "BSD-2-Clause" ]
6
2020-01-28T21:20:22.000Z
2022-03-04T10:03:24.000Z
services/vmc/orgs/TosClient.go
martinrohrbach/vsphere-automation-sdk-go
d021d3634ac8106ab5100f851237f8e85eafe669
[ "BSD-2-Clause" ]
13
2020-01-29T19:40:48.000Z
2022-01-13T04:37:51.000Z
// Copyright © 2019-2021 VMware, Inc. All Rights Reserved. // SPDX-License-Identifier: BSD-2-Clause // Auto generated code. DO NOT EDIT. // Interface file for service: Tos // Used by client-side stubs. package orgs import ( "github.com/vmware/vsphere-automation-sdk-go/lib/vapi/std/errors" "github.com/vmware/vsphe...
39.539326
139
0.790566
70f6a8bd2a0c9b700f3fedbac6c3e6085fc6fc5c
2,185
go
Go
backend/worker/parser/event_handlers.go
marcelogdeandrade/csgo_demo_viewer
54bb4d6781fe2c339ef73e1b743af046004e4ac4
[ "MIT" ]
4
2020-08-03T16:35:34.000Z
2021-04-30T03:56:30.000Z
backend/worker/parser/event_handlers.go
marcelogdeandrade/csgo_demo_viewer
54bb4d6781fe2c339ef73e1b743af046004e4ac4
[ "MIT" ]
3
2021-10-06T20:03:24.000Z
2022-02-27T08:12:26.000Z
backend/worker/parser/event_handlers.go
marcelogdeandrade/csgo_demo_viewer
54bb4d6781fe2c339ef73e1b743af046004e4ac4
[ "MIT" ]
1
2021-04-30T03:56:33.000Z
2021-04-30T03:56:33.000Z
package parser import ( models "github.com/marcelogdeandrade/csgo-demo-parser/parser/models" dem "github.com/markus-wa/demoinfocs-golang/v2/pkg/demoinfocs" events "github.com/markus-wa/demoinfocs-golang/v2/pkg/demoinfocs/events" ) // RegisterEventHandlers function func RegisterEventHandlers(p dem.Parser, match *mo...
31.214286
77
0.719451
b53c9f51b309ff98a582508b8789e78d38854e7b
888
rs
Rust
src/rusty_lexer.rs
SeppahBaws/rustycom
86bab5222d74fe2bb5fa3fc497c2a195b7378bf1
[ "MIT" ]
null
null
null
src/rusty_lexer.rs
SeppahBaws/rustycom
86bab5222d74fe2bb5fa3fc497c2a195b7378bf1
[ "MIT" ]
null
null
null
src/rusty_lexer.rs
SeppahBaws/rustycom
86bab5222d74fe2bb5fa3fc497c2a195b7378bf1
[ "MIT" ]
null
null
null
extern crate logos; use logos::Logos; use std::collections::VecDeque; use crate::token::{ Token, TokenType, }; pub struct RustyLexer { } impl RustyLexer { pub fn parse(contents: &str) -> VecDeque<Token> { let mut lexer = TokenType::lexer(contents); let mut tokens: VecDeque<Token> =...
21.658537
90
0.461712
a8495a565eb35c8d89a77219b0b6ac34caf254bb
1,191
rs
Rust
src/config.rs
Floppy/ruby-version-badger
a783ba089dbaf78b8a8baacf14b36b0989ef0575
[ "MIT" ]
2
2017-07-15T03:51:59.000Z
2020-01-29T15:41:28.000Z
src/config.rs
Floppy/ruby-version-badger
a783ba089dbaf78b8a8baacf14b36b0989ef0575
[ "MIT" ]
78
2017-07-14T12:32:26.000Z
2021-06-21T15:41:10.000Z
src/config.rs
Floppy/ruby-version-badger
a783ba089dbaf78b8a8baacf14b36b0989ef0575
[ "MIT" ]
2
2017-07-14T13:10:11.000Z
2017-07-15T02:36:02.000Z
use std::env; use std::fs::File; use std::io::Read; use std::io::Error; use yaml_rust::yaml; pub fn port() -> String { env::var("PORT").unwrap_or("3000".to_string()) } pub fn language(lang: String) -> Result<yaml::Yaml, Error> { let mut f = File::open(["config/",lang.as_str(),".yml"].join("")).unwrap(); l...
26.466667
79
0.576826
f05afdbd5aec954079117e24e6a1f75f80dba71c
1,523
py
Python
Consumer_test.py
image-store-org/image-store-py-web-api-consumer-test
59d805e8a7b459a97ede7285f6e4a67e87cfba02
[ "MIT" ]
null
null
null
Consumer_test.py
image-store-org/image-store-py-web-api-consumer-test
59d805e8a7b459a97ede7285f6e4a67e87cfba02
[ "MIT" ]
null
null
null
Consumer_test.py
image-store-org/image-store-py-web-api-consumer-test
59d805e8a7b459a97ede7285f6e4a67e87cfba02
[ "MIT" ]
null
null
null
import sys sys.path.append('dependencies/image-store-py-web-api-consumer') from Consumer import Consumer class Consumer_test: def __init__(self): self.c = Consumer() def get(self): print('\x1b[6;30;42m' + 'GET' + '\x1b[0m') print(self.c.get()) print('{}\n'.format(self.c...
30.46
69
0.570584
2a213fe6b3ad7ca442c15e51de546c7b7cbee9fe
1,112
html
HTML
html/hubs/html/structure.html
MGBergomi/mgbergomi.github.io
2a90654e7b58b82312974b56dae52e206ca47009
[ "MIT" ]
null
null
null
html/hubs/html/structure.html
MGBergomi/mgbergomi.github.io
2a90654e7b58b82312974b56dae52e206ca47009
[ "MIT" ]
null
null
null
html/hubs/html/structure.html
MGBergomi/mgbergomi.github.io
2a90654e7b58b82312974b56dae52e206ca47009
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js">...
37.066667
102
0.678058
729e0202f2d020991875ed4628ee1c1cceab0f93
3,086
rs
Rust
core/tauri-utils/src/html.rs
jiusanzhou/tauri
aa498e72614f59afcdd1f637b4e3bdf6fe00b137
[ "Apache-2.0", "MIT" ]
1
2021-08-03T18:59:32.000Z
2021-08-03T18:59:32.000Z
core/tauri-utils/src/html.rs
jiusanzhou/tauri
aa498e72614f59afcdd1f637b4e3bdf6fe00b137
[ "Apache-2.0", "MIT" ]
null
null
null
core/tauri-utils/src/html.rs
jiusanzhou/tauri
aa498e72614f59afcdd1f637b4e3bdf6fe00b137
[ "Apache-2.0", "MIT" ]
null
null
null
// Copyright 2019-2021 Tauri Programme within The Commons Conservancy // SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: MIT use html5ever::{interface::QualName, namespace_url, ns, LocalName}; use kuchiki::{Attribute, ExpandedName, NodeRef}; /// Injects the invoke key token to each script on the docum...
27.801802
111
0.581011
21f9095582b4b4ccdf464763694b17146a75093f
4,921
html
HTML
New_Form.html
inderj1909/Website
5fe4d3a6d96965c870bc84223829a7afc9d7e4a2
[ "MIT" ]
null
null
null
New_Form.html
inderj1909/Website
5fe4d3a6d96965c870bc84223829a7afc9d7e4a2
[ "MIT" ]
null
null
null
New_Form.html
inderj1909/Website
5fe4d3a6d96965c870bc84223829a7afc9d7e4a2
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html lang="en"> <head> <style> div#load_screen{ background: #975; opacity: 1; position: fixed; z-index:10; top: 0px; width: 100%; height: 1600px; } div#load_screen > div#loading{ color:#FFF; width:120px; height:24px; margin: 300px auto; } </style> <script> window.addEventLi...
30.006098
118
0.616338
21dd85acab7e7d6c25301860ee78d5d67f48a7f8
401
html
HTML
AppData/Modules/CMS/1.0.431/ClientResources/EPi/cms/widget/templates/ContentType.html
Romanets/RestImageResize
f9c79924994b6ff05db5caccf8343524629544b3
[ "MIT" ]
1
2017-07-07T01:21:41.000Z
2017-07-07T01:21:41.000Z
AppData/Modules/CMS/1.0.431/ClientResources/EPi/cms/widget/templates/ContentType.html
Romanets/RestImageResize
f9c79924994b6ff05db5caccf8343524629544b3
[ "MIT" ]
4
2015-08-07T17:10:55.000Z
2018-01-26T08:38:30.000Z
AppData/Modules/CMS/1.0.431/ClientResources/EPi/cms/widget/templates/ContentType.html
Romanets/RestImageResize
f9c79924994b6ff05db5caccf8343524629544b3
[ "MIT" ]
2
2015-08-07T12:24:06.000Z
2017-04-20T12:18:19.000Z
<li class="clearfix" data-dojo-attach-event="onkeypress:_onKeyPress, onmouseover:_onMouseOver, onmouseout:_onMouseOut" data-dojo-attach-point="focusNode"> <div class="epi-browserWindow"><div class="epi-browserWindowContent" data-dojo-attach-point="iconNode">${emptyIconTemplate}</div></div> <h3 data-dojo-attach-...
80.2
154
0.750623
8f5b9669a15d9b8207d1a7c5222e52fa31a5de8e
10,261
sql
SQL
Minimalistic Balance Acken/Minimalistic Balance Acken/Policies/Piety.sql
rezoacken/minimalistic_balance_civ5
939c96af52b32895847e26f2b25ad6d8a6bc7796
[ "MIT" ]
null
null
null
Minimalistic Balance Acken/Minimalistic Balance Acken/Policies/Piety.sql
rezoacken/minimalistic_balance_civ5
939c96af52b32895847e26f2b25ad6d8a6bc7796
[ "MIT" ]
null
null
null
Minimalistic Balance Acken/Minimalistic Balance Acken/Policies/Piety.sql
rezoacken/minimalistic_balance_civ5
939c96af52b32895847e26f2b25ad6d8a6bc7796
[ "MIT" ]
null
null
null
/*Bugs **=supposedly fixed **The tourism from the hermitage beleif if secondary religion isn't added Tooltip stuff: BuildingClassHappiness from secondary religion works but is not displayed in the tooltip on buildings (only in local happiness) Extra yields from secondary religion aren't displayed on the buildings but w...
101.594059
523
0.826138
a983a23e84da21ec6875012ee2a92865e96e3159
440
kt
Kotlin
src/main/kotlin/org/jetbrains/plugins/dx/DxAwkLanguageInjector.kt
linux-china/dx-intellij-plugin
7d772f71d757986445ad781b167e863e69504679
[ "Apache-2.0" ]
1
2021-05-17T11:50:02.000Z
2021-05-17T11:50:02.000Z
src/main/kotlin/org/jetbrains/plugins/dx/DxAwkLanguageInjector.kt
linux-china/dx-intellij-plugin
7d772f71d757986445ad781b167e863e69504679
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/org/jetbrains/plugins/dx/DxAwkLanguageInjector.kt
linux-china/dx-intellij-plugin
7d772f71d757986445ad781b167e863e69504679
[ "Apache-2.0" ]
1
2021-11-04T02:35:10.000Z
2021-11-04T02:35:10.000Z
package org.jetbrains.plugins.dx import com.intellij.lang.Language class DxAwkLanguageInjector : AbstractLanguageInjector() { val DX_JS_TAGS = arrayOf("awk") var awkLanguage: Language? = null init { awkLanguage = Language.findLanguageByID("AWK") } override fun getTags(): Array<String> { ...
22
58
0.679545
afab62aa7f53f32bcd7f7d506f8df4c9ac3e0935
7,263
rb
Ruby
spec/services/map_spec.rb
JohnKellyFerguson/octomaps
edc91b187881a91dc531cc2952e968544958e106
[ "MIT" ]
5
2015-01-31T00:15:35.000Z
2016-09-20T19:42:32.000Z
spec/services/map_spec.rb
JohnKellyFerguson/octomaps
edc91b187881a91dc531cc2952e968544958e106
[ "MIT" ]
1
2017-06-21T14:49:41.000Z
2017-12-07T02:48:20.000Z
spec/services/map_spec.rb
JohnKellyFerguson/octomaps
edc91b187881a91dc531cc2952e968544958e106
[ "MIT" ]
null
null
null
require 'spec_helper' describe Map do let(:country_options) { { :displayMode => 'region', :region => 'world', :legend => 'none', :colors => ['FF8F86', 'C43512']} } let(:city_options) { { :displayMode => 'markers', ...
33.164384
119
0.610905
3c85815b641e5a567075a7287927a714cb308a55
6,395
rs
Rust
src/bin/peroxide.rs
mwatts/peroxide
586084a8e4d9c345db5e0441eadf8c7eac1e0af0
[ "Apache-2.0" ]
12
2020-03-26T23:03:17.000Z
2021-12-06T02:13:30.000Z
src/bin/peroxide.rs
mwatts/peroxide
586084a8e4d9c345db5e0441eadf8c7eac1e0af0
[ "Apache-2.0" ]
6
2020-07-02T16:54:57.000Z
2021-12-07T08:28:40.000Z
src/bin/peroxide.rs
mwatts/peroxide
586084a8e4d9c345db5e0441eadf8c7eac1e0af0
[ "Apache-2.0" ]
2
2020-12-15T02:15:17.000Z
2021-10-16T20:32:38.000Z
// Copyright 2018-2020 Matthieu Felix // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
30.452381
92
0.565598
486a2b7f47cba39f9b29bad167eb9c49ab5f1b03
480
kt
Kotlin
core/src/main/kotlin/net/dummydigit/qbranch/generic/SetT.kt
fuzhouch/qbranch
e126f99a6c8db6c1f998d1ddb0dc6c85b2ecb896
[ "MIT" ]
2
2017-08-21T05:51:23.000Z
2019-05-21T09:29:12.000Z
core/src/main/kotlin/net/dummydigit/qbranch/generic/SetT.kt
fuzhouch/qbranch
e126f99a6c8db6c1f998d1ddb0dc6c85b2ecb896
[ "MIT" ]
null
null
null
core/src/main/kotlin/net/dummydigit/qbranch/generic/SetT.kt
fuzhouch/qbranch
e126f99a6c8db6c1f998d1ddb0dc6c85b2ecb896
[ "MIT" ]
1
2017-10-16T05:49:53.000Z
2017-10-16T05:49:53.000Z
// Licensed under the MIT license. See LICENSE file in the project root // for full license information. package net.dummydigit.qbranch.generic class SetT<E : Any>(val elementT: QTypeArg<E>) : QTypeArg<MutableSet<E>>, ContainerTypeArg<E> { private val refObj = newInstance() override fun newInstance(): Mutable...
40
95
0.735417
d0397a68f6dc1fdaaf78beab207287793e0acf72
107
css
CSS
public/css/footer.css
svennijhuis/Blok-Tech-GamingBuddy
17af6d614dbda88c5e5a428b45c5f490a284b4fc
[ "MIT" ]
2
2022-03-21T10:41:42.000Z
2022-03-22T12:33:52.000Z
public/css/footer.css
svennijhuis/Blok-Tech-GamingBuddy
17af6d614dbda88c5e5a428b45c5f490a284b4fc
[ "MIT" ]
7
2022-03-22T10:53:43.000Z
2022-03-31T12:26:51.000Z
public/css/footer.css
svennijhuis/Blok-Tech-GamingBuddy
17af6d614dbda88c5e5a428b45c5f490a284b4fc
[ "MIT" ]
null
null
null
footer{ padding: 3em 0; display: flex; justify-content: center; color: var(--tekst); }
17.833333
29
0.570093
169eac229b2c58d3977d3551eeb8d13e6c94332c
1,251
c
C
ft_memcpy.c
kajun1337/libft
d80fa31940868db3a10b7be5365a9fba7ed9eea8
[ "MIT" ]
4
2022-02-28T11:16:08.000Z
2022-03-02T13:11:45.000Z
ft_memcpy.c
kajun1337/libft
d80fa31940868db3a10b7be5365a9fba7ed9eea8
[ "MIT" ]
null
null
null
ft_memcpy.c
kajun1337/libft
d80fa31940868db3a10b7be5365a9fba7ed9eea8
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_memcpy.c :+: :+: :+: ...
36.794118
80
0.263789
f07b5eca3f7289532613d620912c4a5a90c2b863
558
js
JavaScript
1.resz/routes/users.js
gmaster0o0/AuthmeNodeTutorial
27fa1b72e542ed7a9cdf5b76c582a96e3220611f
[ "MIT" ]
4
2019-09-19T12:01:50.000Z
2020-08-09T03:20:07.000Z
1.resz/routes/users.js
gmaster0o0/AuthmeNodeTutorial
27fa1b72e542ed7a9cdf5b76c582a96e3220611f
[ "MIT" ]
4
2021-05-10T16:05:55.000Z
2021-05-11T22:03:53.000Z
1.resz/routes/users.js
gmaster0o0/AuthmeNodeTutorial
27fa1b72e542ed7a9cdf5b76c582a96e3220611f
[ "MIT" ]
3
2019-10-12T20:00:32.000Z
2020-02-08T12:27:07.000Z
const express = require('express'); const router = express.Router(); const mysqlConnection = require('../config/mysqlConnection'); const AppError = require('../utils/error'); /* GET users listing. */ router.get('/', async function(req, res, next) { try { const connection = await mysqlConnection.connect(); ...
22.32
63
0.639785
7a61cd4baf6c5954633f02fb8f7570068e3a6efa
208
asm
Assembly
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/fmin.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/fmin.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/fmin.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_fp_am9511 PUBLIC fmin EXTERN cam32_sccz80_fmin defc fmin = cam32_sccz80_fmin ; SDCC bridge for Classic IF __CLASSIC PUBLIC _fmin EXTERN cam32_sdcc_fmin defc _fmin = cam32_sdcc_fmin ENDIF
13.866667
30
0.822115
0bbab57a58980cab77be4152c0853746383805da
3,265
py
Python
examples/pincell_depletion/restart_depletion.py
norberto-schmidt/openmc
ff4844303154a68027b9c746300f5704f73e0875
[ "MIT" ]
262
2018-08-09T21:27:03.000Z
2022-03-24T05:02:10.000Z
examples/pincell_depletion/restart_depletion.py
norberto-schmidt/openmc
ff4844303154a68027b9c746300f5704f73e0875
[ "MIT" ]
753
2018-08-03T15:26:57.000Z
2022-03-29T23:54:48.000Z
examples/pincell_depletion/restart_depletion.py
norberto-schmidt/openmc
ff4844303154a68027b9c746300f5704f73e0875
[ "MIT" ]
196
2018-08-06T13:41:14.000Z
2022-03-29T20:47:12.000Z
import openmc import openmc.deplete import matplotlib.pyplot as plt ############################################################################### # Load previous simulation results ############################################################################### # Load geometry from statepoint st...
35.879121
90
0.543951
280160e5bf397f0df2614733e15cbe29cef36951
1,952
swift
Swift
MoyaRESTfulEx/Ex/RestfulOAuthApi.swift
Rdxer/FastComponent
a815c978d1cc9a6c46167ae80b1ab6de83f5482b
[ "MIT" ]
null
null
null
MoyaRESTfulEx/Ex/RestfulOAuthApi.swift
Rdxer/FastComponent
a815c978d1cc9a6c46167ae80b1ab6de83f5482b
[ "MIT" ]
null
null
null
MoyaRESTfulEx/Ex/RestfulOAuthApi.swift
Rdxer/FastComponent
a815c978d1cc9a6c46167ae80b1ab6de83f5482b
[ "MIT" ]
null
null
null
// // RestfulOAuth.swift // XXSync // // Created by Rdxer on 2017/8/10. // Copyright © 2017年 Rdxer. All rights reserved. // import Foundation import Moya public var baseURLString = "" public enum RestfulOAuthApi { case oauth( userName:String, password:String, client_id:String, ...
23.518072
96
0.573258
7088fe771d8228c23de06a32edb6d7da07d7f193
3,437
go
Go
cryptohack/badges.go
thibaultserti/badges
b51155abc9a0d70d112e863f7279cba9043d118b
[ "MIT" ]
2
2021-03-01T15:00:43.000Z
2022-03-09T14:18:44.000Z
cryptohack/badges.go
thibaultserti/badges
b51155abc9a0d70d112e863f7279cba9043d118b
[ "MIT" ]
6
2021-02-27T09:11:14.000Z
2022-03-02T10:08:18.000Z
cryptohack/badges.go
thibaultserti/badges
b51155abc9a0d70d112e863f7279cba9043d118b
[ "MIT" ]
null
null
null
package cryptohack import ( "log" "github.com/fogleman/gg" "github.com/golang/freetype/truetype" "github.com/nfnt/resize" "github.com/thibaultserti/badges/common" "golang.org/x/image/font/gofont/goregular" ) const width, height = 400, 160 // CreateCryptohackBadge creates the cryptohack badge func CreateCrypto...
31.53211
92
0.701775
9ba2aecd16943c472c4c9d37f0e66eb405010d19
37
js
JavaScript
extension-create/demo-extension/options/options1.js
cezaraugusto/browser-extension-test-data
f0274ca4fb79a7b086c351d814898d21d23bb62c
[ "Naumen", "Condor-1.1", "MS-PL" ]
18
2020-12-08T02:51:14.000Z
2022-03-11T10:59:17.000Z
fixtures/demo-extension/options/options1.js
cezaraugusto/webpack-run-edge-extension
1ee1101e7912f60b21603ae97b56b22ac6e615b1
[ "MIT" ]
6
2020-12-08T05:50:17.000Z
2021-01-24T18:00:48.000Z
fixtures/demo-extension/options/options1.js
cezaraugusto/webpack-run-edge-extension
1ee1101e7912f60b21603ae97b56b22ac6e615b1
[ "MIT" ]
2
2021-03-03T04:12:39.000Z
2021-10-02T10:26:28.000Z
console.log('options script loaded')
18.5
36
0.783784
d8330f03a432c304cba0405847f321d0f1dac00f
845
swift
Swift
SwiftFeed/OverlayIndicator.swift
Piliwiwi/Swift-PureJsonSerializer
4e3ea28f7ee7173cbc418c0fc8fd57af965db677
[ "Apache-2.0" ]
35
2015-01-05T01:56:18.000Z
2016-01-15T03:14:17.000Z
SwiftFeed/OverlayIndicator.swift
Piliwiwi/Swift-PureJsonSerializer
4e3ea28f7ee7173cbc418c0fc8fd57af965db677
[ "Apache-2.0" ]
13
2016-01-15T08:30:03.000Z
2016-12-07T14:28:26.000Z
SwiftFeed/OverlayIndicator.swift
Piliwiwi/Swift-PureJsonSerializer
4e3ea28f7ee7173cbc418c0fc8fd57af965db677
[ "Apache-2.0" ]
17
2016-01-23T02:32:38.000Z
2020-03-05T14:56:13.000Z
// // OverlapIndicator.swift // JsonSerializer // // Created by Fuji Goro on 2014/09/21. // Copyright (c) 2014年 Fuji Goro. All rights reserved. // import UIKit public class OverlayIndicator { let overlay: UIActivityIndicatorView public init() { let window = UIApplication.sharedApplication().keyW...
24.142857
80
0.6
0bd156c3187afbbb2b5232d091d6df24ad90beaa
1,483
js
JavaScript
07-Migrando_Funcionalidades/public/js/chat.js
joaonunesdev/websockets
b9a49c78ea4f63844e7b05d7a0a39c6cc2ca9ea0
[ "ISC" ]
null
null
null
07-Migrando_Funcionalidades/public/js/chat.js
joaonunesdev/websockets
b9a49c78ea4f63844e7b05d7a0a39c6cc2ca9ea0
[ "ISC" ]
1
2021-05-10T17:50:58.000Z
2021-05-10T17:50:58.000Z
07-Migrando_Funcionalidades/public/js/chat.js
joaonunesdev/websockets
b9a49c78ea4f63844e7b05d7a0a39c6cc2ca9ea0
[ "ISC" ]
null
null
null
const socket = io() // Recupera os elementos da página de chat const $messageForm = document.querySelector('#message-form') const $messageFormInput = $messageForm.querySelector('input') const $messageFormButton = $messageForm.querySelector('button') const $sendLocationButton = document.querySelector('#send-location...
32.955556
95
0.729602
a9125c1cfb666f4c01d2a7c29b52c909f2196ce0
317
sql
SQL
Base/home/anon/Documents/sql/select_from_table.sql
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
19,438
2019-05-20T15:11:11.000Z
2022-03-31T23:31:32.000Z
Base/home/anon/Documents/sql/select_from_table.sql
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
7,882
2019-05-20T01:03:52.000Z
2022-03-31T23:26:31.000Z
Base/home/anon/Documents/sql/select_from_table.sql
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
2,721
2019-05-23T00:44:57.000Z
2022-03-31T22:49:34.000Z
CREATE SCHEMA TestSchema; CREATE TABLE TestSchema.TestTable ( TextColumn text, IntColumn integer ); INSERT INTO TestSchema.TestTable (TextColumn, IntColumn) VALUES ('Test_1', 42), ('Test_3', 44), ('Test_2', 43), ('Test_4', 45), ('Test_5', 46); SELECT * FROM TestSchema.TestTable;
21.133333
56
0.646688
5b0ab12a6731f69855a98f5eb808c612fb5da366
415
h
C
src/ftpclient/ftpclient.h
yangzhiyuan0928/FTP
117b626727f1dd72525d80e2bb782f9cf93cbcec
[ "MIT" ]
null
null
null
src/ftpclient/ftpclient.h
yangzhiyuan0928/FTP
117b626727f1dd72525d80e2bb782f9cf93cbcec
[ "MIT" ]
null
null
null
src/ftpclient/ftpclient.h
yangzhiyuan0928/FTP
117b626727f1dd72525d80e2bb782f9cf93cbcec
[ "MIT" ]
null
null
null
#ifndef __FTP_CLIENT_H_ #define __FTP_CLIENT_H_ #include "../util/util.h" int read_reply(int sockfd); void print_reply(int rspcode); void ftpcli_login(int sockfd); int ftpcli_send_cmd(int sockfd, struct command *cmd); int ftpcli_read_command(char* buf, int size, struct command *cmd); int ftpcli_open_conn(int sockfd);...
25.9375
66
0.783133
18bc61b3d2966ba56930e9786f8e9a16b6ba1642
6,126
sql
SQL
migrate/migrations/20180315113303-strict-rotation-state.sql
kanish671/goalert
592c2f4ed21be3be78816c377301372e0e88c6a0
[ "Apache-2.0" ]
1,614
2019-06-11T19:55:39.000Z
2022-03-31T10:34:37.000Z
migrate/migrations/20180315113303-strict-rotation-state.sql
kanish671/goalert
592c2f4ed21be3be78816c377301372e0e88c6a0
[ "Apache-2.0" ]
671
2019-06-14T16:01:41.000Z
2022-03-30T19:16:29.000Z
migrate/migrations/20180315113303-strict-rotation-state.sql
kanish671/goalert
592c2f4ed21be3be78816c377301372e0e88c6a0
[ "Apache-2.0" ]
179
2019-06-11T20:17:06.000Z
2022-03-25T06:31:09.000Z
-- +migrate Up ALTER TABLE rotation_state DROP CONSTRAINT rotation_state_rotation_participant_id_fkey, ADD CONSTRAINT rotation_state_rotation_participant_id_fkey FOREIGN KEY (rotation_participant_id) REFERENCES rotation_participants (id) ON DELETE RESTRICT, ALTER rotation_participa...
27.106195
85
0.797094
b2bda88384a662721955747a1c788333f427aa38
6,822
py
Python
main.py
anurendra/Web_IE
4ba95320fd46d3c6fc090f3f095c7c7de78453bb
[ "Apache-2.0" ]
null
null
null
main.py
anurendra/Web_IE
4ba95320fd46d3c6fc090f3f095c7c7de78453bb
[ "Apache-2.0" ]
null
null
null
main.py
anurendra/Web_IE
4ba95320fd46d3c6fc090f3f095c7c7de78453bb
[ "Apache-2.0" ]
null
null
null
import argparse import numpy as np import os import random import torch import torch.nn as nn import torch.optim as optim from torch.utils.data import DataLoader from datasets import custom_collate_fn, load_data, WebDataset from models import WebObjExtractionNet from train import train_model, evaluate_model from utils...
48.728571
156
0.726327
b3e2130e5ef4f58aca75d5e6257eb2ab8a014ec4
621
rb
Ruby
spec/models/gephi_import_spec.rb
EOL/seabase
4083a525cb4fcd4a4996117e5c930bd173748388
[ "MIT" ]
3
2015-03-19T10:45:18.000Z
2019-07-31T15:34:17.000Z
spec/models/gephi_import_spec.rb
EOL/seabase
4083a525cb4fcd4a4996117e5c930bd173748388
[ "MIT" ]
null
null
null
spec/models/gephi_import_spec.rb
EOL/seabase
4083a525cb4fcd4a4996117e5c930bd173748388
[ "MIT" ]
2
2016-09-29T19:18:34.000Z
2019-02-02T20:43:03.000Z
describe GephiImport do subject { GephiImport } describe '.process_file' do let(:file_path) { File.join(__dir__, '..', 'files', 'gephi_export.csv') } let(:name) { 'Nematostella transcripts' } before(:each) { truncate_db } it 'processes csv file' do expect(GephiImport.count).to eq 0 ...
24.84
77
0.652174
afd866d41a153223421b11cf17098950f5a3b52b
390
rb
Ruby
app/services/schemas/associations/validation/valid_connection.rb
NGLPteam/wdp-api
3136705f43a6c62cb8e229d7e0753c435956a461
[ "MIT" ]
2
2022-03-11T22:38:37.000Z
2022-03-30T20:11:01.000Z
app/services/schemas/associations/validation/valid_connection.rb
NGLPteam/wdp-api
3136705f43a6c62cb8e229d7e0753c435956a461
[ "MIT" ]
2
2021-09-24T23:19:27.000Z
2022-03-13T18:35:57.000Z
app/services/schemas/associations/validation/valid_connection.rb
NGLPteam/wdp-api
3136705f43a6c62cb8e229d7e0753c435956a461
[ "MIT" ]
null
null
null
# frozen_string_literal: true module Schemas module Associations module Validation class ValidConnection < Dry::Struct include Dry::Monads[:result] attribute :parent, Schemas::Associations::Validation::Valid attribute :child, Schemas::Associations::Validation::Valid def to...
20.526316
67
0.658974
d98e71d63e7ec329c58b785c1245b11c91bcd862
5,374
rs
Rust
src/raw/parse.rs
mellon85/brokaw
a25c224ea72f70e2139bd54f23745b03ce73377c
[ "MIT" ]
3
2020-06-12T23:20:46.000Z
2021-06-08T05:44:38.000Z
src/raw/parse.rs
mellon85/brokaw
a25c224ea72f70e2139bd54f23745b03ce73377c
[ "MIT" ]
7
2020-06-19T20:49:41.000Z
2020-10-19T17:00:30.000Z
src/raw/parse.rs
mellon85/brokaw
a25c224ea72f70e2139bd54f23745b03ce73377c
[ "MIT" ]
2
2020-09-11T08:27:07.000Z
2020-11-20T03:20:20.000Z
use std::convert::TryInto; use nom::bytes::complete::take_until; use nom::character::complete::{crlf, one_of}; use nom::combinator::all_consuming; use nom::sequence::{terminated, tuple}; use nom::IResult; /// The first line of an NNTP response /// /// This struct contains data borrowed from a read buffer #[derive(Clo...
28.136126
98
0.533122
beef916b241e3f22869e0ec53fe3e6b39601a27e
6,308
html
HTML
mdn/web/api/xrpermissiondescriptor/requiredfeatures/index.html
SKsakibul125/symmetrical-system
cb21d7a76d4821cc66dee6d41d12c1e0ef3a7335
[ "Unlicense" ]
7
2021-08-20T00:30:13.000Z
2022-02-17T17:28:46.000Z
mdn/web/api/xrpermissiondescriptor/requiredfeatures/index.html
SKsakibul125/symmetrical-system
cb21d7a76d4821cc66dee6d41d12c1e0ef3a7335
[ "Unlicense" ]
15
2021-07-30T18:48:20.000Z
2022-03-26T12:42:22.000Z
mdn/web/api/xrpermissiondescriptor/requiredfeatures/index.html
SKsakibul125/symmetrical-system
cb21d7a76d4821cc66dee6d41d12c1e0ef3a7335
[ "Unlicense" ]
3
2021-08-31T00:50:25.000Z
2022-01-25T16:38:20.000Z
--- title: XRPermissionDescriptor.requiredFeatures slug: Web/API/XRPermissionDescriptor/requiredFeatures tags: - API - AR - Mixed - Permissions - Property - Reality - Reference - Reference Space - VR - Virtual - WebXR - WebXR API - WebXR Device API - XR - XRPermissionDescriptor - augment...
30.47343
81
0.657895
b2b003035e799fc92e0fea8e8e2e11a735520bde
2,516
rs
Rust
git-ref/src/store/file/mod.rs
svetli-n/gitoxide
9f5663ed83d83c7335b346313837d4cada9cd846
[ "Apache-2.0", "MIT" ]
null
null
null
git-ref/src/store/file/mod.rs
svetli-n/gitoxide
9f5663ed83d83c7335b346313837d4cada9cd846
[ "Apache-2.0", "MIT" ]
18
2021-06-08T19:46:35.000Z
2021-07-28T05:06:07.000Z
git-ref/src/store/file/mod.rs
rsalmaso/gitoxide
2ee189068edcc06491e03c8551866ce5ac0cf0ba
[ "Apache-2.0", "MIT" ]
null
null
null
use std::path::PathBuf; use git_features::threading::{MutableOnDemand, OwnShared}; /// A store for reference which uses plain files. /// /// Each ref is represented as a single file on disk in a folder structure that follows the relative path /// used to identify [references][crate::Reference]. #[derive(Debug, Clone)...
26.765957
130
0.664547
ba58be5333ee098395d7480706f9ab85528c7dec
151
sql
SQL
15-07-19_19-07-19/SistemaBiblioteca/Query/AutoresBiblioteca.sql
AndersonAluiz12/GitC
0de5c5428eb6d484d84e2cfcaae83002d0f589f6
[ "MIT" ]
null
null
null
15-07-19_19-07-19/SistemaBiblioteca/Query/AutoresBiblioteca.sql
AndersonAluiz12/GitC
0de5c5428eb6d484d84e2cfcaae83002d0f589f6
[ "MIT" ]
null
null
null
15-07-19_19-07-19/SistemaBiblioteca/Query/AutoresBiblioteca.sql
AndersonAluiz12/GitC
0de5c5428eb6d484d84e2cfcaae83002d0f589f6
[ "MIT" ]
null
null
null
CREATE TABLE [dbo].[Autores] ( [Id] INT NOT NULL PRIMARY KEY IDENTITY(1,1), [Nome ] VARCHAR(100) NOT NULL, [Descricao] VARCHAR(100) NULL )
21.571429
46
0.642384
8d6b6d2e5d006e50d27e8ebf6df77ebbfb0f5a38
1,979
swift
Swift
ESCapey-iOS/ESCapey-iOS/ViewController.swift
brianmichel/ESCapey
8509b16a8c4e9ae17512abf7cc71c7a43d8cee81
[ "MIT" ]
283
2016-10-26T02:33:29.000Z
2022-03-20T01:06:10.000Z
ESCapey-iOS/ESCapey-iOS/ViewController.swift
brianmichel/ESCapey
8509b16a8c4e9ae17512abf7cc71c7a43d8cee81
[ "MIT" ]
2
2016-10-26T14:46:59.000Z
2016-12-12T09:46:45.000Z
ESCapey-iOS/ESCapey-iOS/ViewController.swift
brianmichel/ESCapey
8509b16a8c4e9ae17512abf7cc71c7a43d8cee81
[ "MIT" ]
12
2016-10-26T15:05:45.000Z
2020-01-15T07:04:29.000Z
// // ViewController.swift // ESCapey-iOS // // Created by Brian Michel on 10/25/16. // Copyright © 2016 Brian Michel. All rights reserved. // import UIKit import MultipeerConnectivity class ViewController: UIViewController, MCBrowserViewControllerDelegate { override var preferredStatusBarStyle: UIStatus...
29.102941
94
0.651844
18ad84958232a903b6ede66f506cf3b9d327dd72
1,428
rs
Rust
src/main.rs
OverengineeredOne/oecli
4635ae6e2c2fe5a28b49f95ff53cc54d8ca13a86
[ "MIT" ]
null
null
null
src/main.rs
OverengineeredOne/oecli
4635ae6e2c2fe5a28b49f95ff53cc54d8ca13a86
[ "MIT" ]
null
null
null
src/main.rs
OverengineeredOne/oecli
4635ae6e2c2fe5a28b49f95ff53cc54d8ca13a86
[ "MIT" ]
null
null
null
//! oecli is a command line interface to provide a productivity boost by //! handling boilerplate and some operational overhead with development within //! the Overengineered ecosystem. use clap::{Args, Parser, Subcommand}; mod github; mod node; /// oecli parser #[derive(Parser)] #[clap(author, version, about, long_...
27.461538
79
0.660364
4a783417b3a69642cd1bc265dbbaa2a38325a8a9
365
kt
Kotlin
school_timetable/src/main/kotlin/com/madness/collision/unit/school_timetable/MyBridge.kt
cliuff/boundo
e81cf6ad1dcfa3d43e336591443b16e9f74f626a
[ "Apache-2.0" ]
23
2020-04-29T21:53:06.000Z
2022-03-15T08:47:07.000Z
school_timetable/src/main/kotlin/com/madness/collision/unit/school_timetable/MyBridge.kt
Ilithy/boundo
b28473307a4a4c2f3eeca41fce6830b32c6ffafe
[ "Apache-2.0" ]
3
2021-04-27T03:13:00.000Z
2022-01-13T12:49:53.000Z
school_timetable/src/main/kotlin/com/madness/collision/unit/school_timetable/MyBridge.kt
Ilithy/boundo
b28473307a4a4c2f3eeca41fce6830b32c6ffafe
[ "Apache-2.0" ]
2
2020-04-29T21:56:49.000Z
2020-08-25T06:00:39.000Z
package com.madness.collision.unit.school_timetable import com.madness.collision.unit.Bridge import com.madness.collision.unit.Unit object MyBridge: Bridge() { override val unitName: String = Unit.UNIT_NAME_SCHOOL_TIMETABLE /** * @param args empty */ override fun getUnitInstance(vararg args: A...
21.470588
67
0.706849
160b3673f09c8ce4e76293f1f713db21ebd245d1
1,609
c
C
main.c
moa/IAQ
dde5b26490891e643eed61729266284c6025928e
[ "MIT" ]
1
2016-03-07T13:54:29.000Z
2016-03-07T13:54:29.000Z
main.c
moa/iaq
dde5b26490891e643eed61729266284c6025928e
[ "MIT" ]
null
null
null
main.c
moa/iaq
dde5b26490891e643eed61729266284c6025928e
[ "MIT" ]
null
null
null
/* Name: main.c * Author: <insert your name here> * Copyright: <insert your copyright message here> * License: <insert your license reference here> */ #include <avr/io.h> #include <util/delay.h> #include <stdlib.h> #include <uart.h> #include <i2c_master.h> #define LED PB5 #define IAQ_ADDR 0x5A #define IAQ_READ 0...
17.681319
65
0.577377
3e840d3a689961f1b49c0f6e335d6fd514694df0
1,207
c
C
getmem.c
jcavalieri8619/XINU_emulation
efd9d2632f3993356dd0007646f8e50411677198
[ "MIT" ]
null
null
null
getmem.c
jcavalieri8619/XINU_emulation
efd9d2632f3993356dd0007646f8e50411677198
[ "MIT" ]
null
null
null
getmem.c
jcavalieri8619/XINU_emulation
efd9d2632f3993356dd0007646f8e50411677198
[ "MIT" ]
null
null
null
/* getmem.c - getmem */ #include <conf.h> #include <kernel.h> #include <mem.h> /*------------------------------------------------------------------------ * getmem -- allocate heap storage, returning lowest integer address *------------------------------------------------------------------------ */ SYSCALL *getm...
28.069767
75
0.428335
46fe9d2aa7440bde5333d91187b84e5247bf6dd8
6,964
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_648.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_648.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_648.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 %r14 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1851a, %rbp nop nop cmp $48254, %r9 mov $0x6162636465666768, %rdx movq %rdx, %xmm0 vmovups %ymm0, (%rbp) nop nop nop nop nop dec %r14 lea addresses_UC_ht+0x215a, %r...
34.305419
2,999
0.661976
3320a3f0ba332b35fac7f43f483b6bf56fe80c12
1,394
py
Python
showdownai/naive_bayes.py
AM22/Pokemon-AI
4cd29eb880981613158db0055179f4395c5599e3
[ "MIT" ]
null
null
null
showdownai/naive_bayes.py
AM22/Pokemon-AI
4cd29eb880981613158db0055179f4395c5599e3
[ "MIT" ]
null
null
null
showdownai/naive_bayes.py
AM22/Pokemon-AI
4cd29eb880981613158db0055179f4395c5599e3
[ "MIT" ]
null
null
null
import json from data import MOVE_CORRECTIONS, correct_mega def get_moves(poke, known_moves, graph, data, alpha=1.0): poke = correct_mega(poke) co = graph['cooccurences'] freq = graph['frequencies'] probs = {} if len(known_moves) == 0: probs = get_freqs(poke, freq) else: for move...
33.190476
73
0.559541
389c4312a3d983dbcd22b3d0fa19d9536f3d1d29
666
sql
SQL
rule/sqlite-store-migrations/000001_create_schema.up.sql
backwardn/gudgeon
e0d778acc2132a685ff4d1b894cfeb6818b9036b
[ "MIT" ]
20
2019-03-12T05:27:48.000Z
2021-06-19T02:56:11.000Z
rule/sqlite-store-migrations/000001_create_schema.up.sql
backwardn/gudgeon
e0d778acc2132a685ff4d1b894cfeb6818b9036b
[ "MIT" ]
3
2019-03-14T23:45:19.000Z
2020-04-10T19:49:45.000Z
rule/sqlite-store-migrations/000001_create_schema.up.sql
backwardn/gudgeon
e0d778acc2132a685ff4d1b894cfeb6818b9036b
[ "MIT" ]
5
2018-09-14T19:51:32.000Z
2020-02-28T06:44:52.000Z
-- no automatic indexing PRAGMA automatic_index = false; -- list table exists so that we don't have to store the entire list name for each rule entry CREATE TABLE IF NOT EXISTS lists ( Id INTEGER PRIMARY KEY, ShortName TEXT, -- list type defaults to "BLOCk" ListType INTEGER DEFAULT 0 ); CREATE INDEX ...
31.714286
92
0.72973
dde4c11522b557a408be0abcfe39cf9d0c08875e
512
go
Go
go/findpid/main.go
immortal/sandbox
761645c11399b15f624104accdf39688faf96a04
[ "BSD-3-Clause" ]
null
null
null
go/findpid/main.go
immortal/sandbox
761645c11399b15f624104accdf39688faf96a04
[ "BSD-3-Clause" ]
1
2020-06-25T03:59:50.000Z
2020-06-25T03:59:50.000Z
go/findpid/main.go
immortal/sandbox
761645c11399b15f624104accdf39688faf96a04
[ "BSD-3-Clause" ]
null
null
null
package main import ( "fmt" "log" "os" "strconv" "syscall" ) func main() { for _, p := range os.Args[1:] { pid, err := strconv.ParseInt(p, 10, 64) if err != nil { log.Fatal(err) } process, err := os.FindProcess(int(pid)) if err != nil { fmt.Printf("Failed to find process: %s\n", err) } else { ...
17.066667
67
0.572266
4a3895446295ae81561a0d2d78f8ce0351aee093
2,348
js
JavaScript
src/algebras/Maybe.js
mandober/electron-bookmarks
2822950955da60e0d0e7f219726487dcfe453745
[ "MIT" ]
null
null
null
src/algebras/Maybe.js
mandober/electron-bookmarks
2822950955da60e0d0e7f219726487dcfe453745
[ "MIT" ]
1
2021-05-11T07:18:24.000Z
2021-05-11T07:18:24.000Z
src/algebras/Maybe.js
mandober/electron-bookmarks
2822950955da60e0d0e7f219726487dcfe453745
[ "MIT" ]
null
null
null
/* Maybe ===== data Maybe a = Nothing | Just a Maybe has an instance for: - Semigroup - Monoid - Pointed - Functor - Applicative - Monad - Foldable - Traversable */ class Maybe { // -------------------------------------------------------------- internals #value // field constructor(x) { this.#value = x...
24.978723
79
0.366695
36fc78f4fe28035601ea68aab3d41f51586efb98
796
rs
Rust
src/main.rs
adamsoutar/ass
06a8d2da8f202d57eefffb1609bef1949adb4338
[ "MIT" ]
2
2021-05-11T22:15:39.000Z
2021-11-25T07:34:50.000Z
src/main.rs
adamsoutar/ass
06a8d2da8f202d57eefffb1609bef1949adb4338
[ "MIT" ]
null
null
null
src/main.rs
adamsoutar/ass
06a8d2da8f202d57eefffb1609bef1949adb4338
[ "MIT" ]
1
2021-11-25T07:35:03.000Z
2021-11-25T07:35:03.000Z
use std::env; use std::fs; mod parser; mod codegen; use parser::char_stream::CharStream; use parser::tokeniser::Tokeniser; use parser::parser::Parser; use codegen::codegen::Codegen; #[allow(unused_imports)] use parser::ast_printer::print_ast_node; fn main() { let filename = env::args().nth(1) .expect("P...
22.111111
56
0.649497
5fda26ea2720dd31448ddd3d372cf0cdb1240178
5,173
c
C
src/contrib/netbsd-tests/lib/libc/stdio/t_printf.c
lastweek/source-freebsd
0821950b0c40cbc891a27964b342e0202a3859ec
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/contrib/netbsd-tests/lib/libc/stdio/t_printf.c
lastweek/source-freebsd
0821950b0c40cbc891a27964b342e0202a3859ec
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/contrib/netbsd-tests/lib/libc/stdio/t_printf.c
lastweek/source-freebsd
0821950b0c40cbc891a27964b342e0202a3859ec
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
/* $NetBSD: t_printf.c,v 1.8 2012/04/11 16:21:42 jruoho Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions...
25.11165
78
0.696888
a603a3928e79f4e08c99f2fd17d7c5d957188a01
3,363
sql
SQL
triviadb.sql
DilipDKalsariya/Trivia-App
a52b7bc4f1a6e2c974b7a8557255c393ae68b4c0
[ "MIT" ]
null
null
null
triviadb.sql
DilipDKalsariya/Trivia-App
a52b7bc4f1a6e2c974b7a8557255c393ae68b4c0
[ "MIT" ]
null
null
null
triviadb.sql
DilipDKalsariya/Trivia-App
a52b7bc4f1a6e2c974b7a8557255c393ae68b4c0
[ "MIT" ]
null
null
null
-- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1:3306 -- Generation Time: Sep 16, 2020 at 03:26 AM -- Server version: 5.7.26 -- PHP Version: 7.2.18 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CH...
35.03125
87
0.651204
1198e1a05933a75b3086364306664ceba999626a
3,054
lua
Lua
lua/tanklib/shared/quaternion.lua
TankNut/TankLib
79276b44a88a5a649f2b5c5766692d0f87ce10d1
[ "MIT" ]
null
null
null
lua/tanklib/shared/quaternion.lua
TankNut/TankLib
79276b44a88a5a649f2b5c5766692d0f87ce10d1
[ "MIT" ]
null
null
null
lua/tanklib/shared/quaternion.lua
TankNut/TankLib
79276b44a88a5a649f2b5c5766692d0f87ce10d1
[ "MIT" ]
null
null
null
local class = TankLib.Class:New("TankLib.Quaternion") -- Most of this is transcribed from wire's E2 implementation local deg2rad = math.pi / 180 local rad2deg = 180 / math.pi local function qmul(a, b) local a1, a2, a3, a4 = unpack(a) local b1, b2, b3, b4 = unpack(b) return { a1 * b1 - a2 * b2 - a3 * b3 - a4 * ...
20.635135
107
0.588736
3f1fec7621ef992d6bd8e668c951c177ff04698c
2,097
swift
Swift
Tests/SMStorageTests/UserDefaultsTests.swift
siginur/SMStorage
9ff6d9ec016797699d4e64557c97490b7e40740e
[ "MIT" ]
null
null
null
Tests/SMStorageTests/UserDefaultsTests.swift
siginur/SMStorage
9ff6d9ec016797699d4e64557c97490b7e40740e
[ "MIT" ]
null
null
null
Tests/SMStorageTests/UserDefaultsTests.swift
siginur/SMStorage
9ff6d9ec016797699d4e64557c97490b7e40740e
[ "MIT" ]
null
null
null
import XCTest import SMStorage final class SMStorageTests: XCTestCase { let intValue: Int = 1 let doubleValue: Double = 2.3 let stringValue: String = "stringValue" let boolValue: Bool = true let dataValue: Data = "some data".data(using: .utf8)! func testString() throws { let s...
30.391304
57
0.596567
bb328ae07cbc1f78ac956231d6855b21a90e84a0
9,724
html
HTML
encryptcontent/decrypt-form.tpl.html
lionelyoung/mkdocs-encryptcontent-plugin
5306828e5dcd328300e6604ee52a9f557fb27d73
[ "MIT" ]
null
null
null
encryptcontent/decrypt-form.tpl.html
lionelyoung/mkdocs-encryptcontent-plugin
5306828e5dcd328300e6604ee52a9f557fb27d73
[ "MIT" ]
null
null
null
encryptcontent/decrypt-form.tpl.html
lionelyoung/mkdocs-encryptcontent-plugin
5306828e5dcd328300e6604ee52a9f557fb27d73
[ "MIT" ]
null
null
null
<div id="mkdocs-encrypted-content" style="display:none">{{ ciphertext_bundle }}</div> <div id="mkdocs-decrypted-content"> <form id="mkdocs-decrypt-form"> <h1>{{ summary }}</h1> {% if encryption_info_message %}<p>{{ encryption_info_message }}</p>{% endif %} <input type="password" id="mkdocs-c...
46.526316
122
0.487659
4af7687aa9a57022ced5cc6e8f0e2d247224084c
4,800
asm
Assembly
vp8/encoder/arm/neon/fastfdct4x4_neon.asm
mrchapp/libvpx
c2a8d8b54c7ebefd1cd9c55f53b9e8378f088e8b
[ "BSD-3-Clause" ]
1
2015-05-03T19:25:39.000Z
2015-05-03T19:25:39.000Z
vp8/encoder/arm/neon/fastfdct4x4_neon.asm
mrchapp/libvpx
c2a8d8b54c7ebefd1cd9c55f53b9e8378f088e8b
[ "BSD-3-Clause" ]
null
null
null
vp8/encoder/arm/neon/fastfdct4x4_neon.asm
mrchapp/libvpx
c2a8d8b54c7ebefd1cd9c55f53b9e8378f088e8b
[ "BSD-3-Clause" ]
null
null
null
; ; Copyright (c) 2010 The VP8 project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing projec...
37.5
116
0.515
7d7ccbf6adc7d38e422c469bcde1a7e59f10d8d0
8,781
html
HTML
part2/content/api/docs/common/ref/com/sun/star/sdbcx/View.html
brnnnfx/openoffice-org
8b1023c59fd9c7a58d108bb0b01dd1f8884c9163
[ "Apache-2.0" ]
5
2019-10-14T23:00:48.000Z
2021-11-06T22:21:06.000Z
part2/content/api/docs/common/ref/com/sun/star/sdbcx/View.html
brnnnfx/openoffice-org
8b1023c59fd9c7a58d108bb0b01dd1f8884c9163
[ "Apache-2.0" ]
31
2020-11-14T09:27:16.000Z
2022-03-08T17:09:15.000Z
part2/content/api/docs/common/ref/com/sun/star/sdbcx/View.html
brnnnfx/openoffice-org
8b1023c59fd9c7a58d108bb0b01dd1f8884c9163
[ "Apache-2.0" ]
15
2020-11-10T17:04:25.000Z
2022-01-31T12:12:48.000Z
<html> <head> <title>Service View</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a hre...
32.522222
375
0.668261
e0dd6f01cd34c13c1202a3b29b51ac7827032c28
1,370
kt
Kotlin
core/src/main/kotlin/net/justmachinery/futility/streams/OverrideInputStream.kt
ScottPeterJohnson/futility
0f863a873fa6caf3aef136b03c1b5c1fde9bb9ac
[ "Apache-2.0" ]
null
null
null
core/src/main/kotlin/net/justmachinery/futility/streams/OverrideInputStream.kt
ScottPeterJohnson/futility
0f863a873fa6caf3aef136b03c1b5c1fde9bb9ac
[ "Apache-2.0" ]
null
null
null
core/src/main/kotlin/net/justmachinery/futility/streams/OverrideInputStream.kt
ScottPeterJohnson/futility
0f863a873fa6caf3aef136b03c1b5c1fde9bb9ac
[ "Apache-2.0" ]
null
null
null
package net.justmachinery.futility.streams import java.io.InputStream import java.io.OutputStream /** * Unlike FilterInputStream and FilterOutputStream, these don't have hidden stupidities, like writing all the bytes * in a write(ByteArray,Int,Int) method one by one. * Note that if you override any of the read() m...
52.692308
115
0.720438
74bde1e3735d606a9b32e06a3f471c8e8e69bd7a
665
js
JavaScript
src/gamemechanic/Leveling.js
ketzu/wanted-idle
5537d7d525564acafbbbd339847a1b07243c4a33
[ "Apache-2.0" ]
null
null
null
src/gamemechanic/Leveling.js
ketzu/wanted-idle
5537d7d525564acafbbbd339847a1b07243c4a33
[ "Apache-2.0" ]
null
null
null
src/gamemechanic/Leveling.js
ketzu/wanted-idle
5537d7d525564acafbbbd339847a1b07243c4a33
[ "Apache-2.0" ]
null
null
null
export class Leveling { constructor() { this.level = 1; this.exp = 0; this.levelups = [ 0, 1000, 2000, 4000, 8000, 16000, 32000, Infinity ]; this.boni = [ 0, 1, 1.05, 1.15, 1.3, 1.5, 2, 3 ]; } tick() { this.exp += 1; if(t...
19.558824
61
0.464662
8909612bac12b7e07ed32db681c9b05c3e1599e6
309
asm
Assembly
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/SMS_VRAMmemcpy_brief_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/SMS_VRAMmemcpy_brief_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/SMS_VRAMmemcpy_brief_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void SMS_VRAMmemcpy_brief(unsigned int dst,void *src,unsigned char size) SECTION code_clib SECTION code_SMSlib PUBLIC SMS_VRAMmemcpy_brief_callee EXTERN asm_SMSlib_VRAMmemcpy_brief SMS_VRAMmemcpy_brief_callee: pop hl pop bc pop de ex (sp),hl ld b,c jp asm_SMSlib_VRAMmemcpy_brief
16.263158
74
0.783172
74c749f7956a0f11191f57b380fde113e7068682
1,544
js
JavaScript
src/components/PostHero/index.js
vitordino/vitordino.com
1dd8f8b4a308f4d0afd4352a88f75fb63ee7dd08
[ "MIT" ]
10
2020-04-03T11:16:07.000Z
2021-02-23T02:23:05.000Z
src/components/PostHero/index.js
vitordino/vitordino.com
1dd8f8b4a308f4d0afd4352a88f75fb63ee7dd08
[ "MIT" ]
7
2020-04-03T09:22:29.000Z
2022-02-27T08:09:32.000Z
src/components/PostHero/index.js
vitordino/vitordino.com
1dd8f8b4a308f4d0afd4352a88f75fb63ee7dd08
[ "MIT" ]
null
null
null
import React from 'react' import styled from 'styled-components' import Canvas from '~/components/Canvas' import Container from '~/components/Container' import Spacer from '~/components/Spacer' import Grid from '~/components/Grid' import Text from '~/components/Text' import ColorMode from '~/components/ColorMode' cons...
20.315789
56
0.560233
16225152ac07ea698f24e5538f326089a5e6807f
1,249
h
C
iyan3d/trunk/Iyan3D_iOS/Iyan3D/ui/Popover Views/AnimationSelectionCollectionViewCell.h
RCGamer21/appanimar
4161f1c2dc319256b5e489cdbb439757e03bcd07
[ "MIT" ]
1
2019-12-21T08:15:08.000Z
2019-12-21T08:15:08.000Z
iyan3d/trunk/Iyan3D_iOS/Iyan3D/ui/Popover Views/AnimationSelectionCollectionViewCell.h
lanping100/Iyan3d
c21bb191cec06039a3f6e9b2f19381cbd7537757
[ "MIT" ]
null
null
null
iyan3d/trunk/Iyan3D_iOS/Iyan3D/ui/Popover Views/AnimationSelectionCollectionViewCell.h
lanping100/Iyan3d
c21bb191cec06039a3f6e9b2f19381cbd7537757
[ "MIT" ]
null
null
null
// // AnimationSelectionCollectionViewCell.h // Iyan3D // // Created by Sankar on 21/12/15. // Copyright © 2015 Smackall Games. All rights reserved. // #ifndef AnimationSelectionCollectionViewCell_h #define AnimationSelectionCollectionViewCell_h #import <UIKit/UIKit.h> #import "WEPopoverController.h" #import "P...
26.574468
102
0.789432