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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4c72285385d71304f04be6952bb30f054b16309 | 413 | sql | SQL | v3.1/Database/dbo/Tables/TRadiusChange.sql | LightosLimited/RailML | df4439865ee55e828cf05b1082bf0197eb825cee | [
"Apache-2.0"
] | null | null | null | v3.1/Database/dbo/Tables/TRadiusChange.sql | LightosLimited/RailML | df4439865ee55e828cf05b1082bf0197eb825cee | [
"Apache-2.0"
] | null | null | null | v3.1/Database/dbo/Tables/TRadiusChange.sql | LightosLimited/RailML | df4439865ee55e828cf05b1082bf0197eb825cee | [
"Apache-2.0"
] | null | null | null | CREATE TABLE [dbo].[TRadiusChange]
(
--From MergedXSDs XSD
--From 'genericRailML' Namespace
[TRadiusChangeId] SMALLINT NOT NULL,
[Radius] DECIMAL(18, 6) NOT NULL,
[SuperelevationValue] DECIMAL(18, 6) NOT NULL,
[SuperelevationValueSpecified] BIT NOT NULL,
[GeometryElementDescription] NVARCHAR(MAX) ... | 31.769231 | 78 | 0.74092 |
281f9c1b9ce00ff54c6ee3f25469623471df87dd | 1,883 | go | Go | models/ListenAddress.go | JojiiOfficial/Reverseproxy | 504ad5f68e45f7570bacd9fc6e2c11b85736ff9a | [
"MIT"
] | 1 | 2022-01-14T17:53:46.000Z | 2022-01-14T17:53:46.000Z | models/ListenAddress.go | JojiiOfficial/Reverseproxy | 504ad5f68e45f7570bacd9fc6e2c11b85736ff9a | [
"MIT"
] | 8 | 2020-03-17T01:40:11.000Z | 2021-08-03T05:53:40.000Z | models/ListenAddress.go | JojiiOfficial/Reverseproxy | 504ad5f68e45f7570bacd9fc6e2c11b85736ff9a | [
"MIT"
] | null | null | null | package models
import (
"net/http"
"strings"
)
// ListenAddress describes the address to listen on. For each Address a specific httpServer is started.
// It must be specified in a config file before it can be used
// ListenAddress config for ports
type ListenAddress struct {
Address string
SSL ... | 23.835443 | 103 | 0.73128 |
eb75322685fe1c4d87d828296282a45f7020b40f | 901 | kt | Kotlin | app/src/main/java/com/domburg/newnote/data/preferences/PrefManager.kt | FrankDomburg/PngNote | b39e1bf934f0b057f6251f5279b781d165ab9b2d | [
"MIT"
] | null | null | null | app/src/main/java/com/domburg/newnote/data/preferences/PrefManager.kt | FrankDomburg/PngNote | b39e1bf934f0b057f6251f5279b781d165ab9b2d | [
"MIT"
] | 1 | 2022-03-26T08:42:15.000Z | 2022-03-26T08:42:15.000Z | app/src/main/java/com/domburg/newnote/data/preferences/PrefManager.kt | FrankDomburg/PngNote | b39e1bf934f0b057f6251f5279b781d165ab9b2d | [
"MIT"
] | null | null | null | package com.domburg.newnote.data.preferences
import android.content.Context
import android.content.SharedPreferences
import android.net.Uri
import androidx.preference.PreferenceManager.getDefaultSharedPreferences
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject
import javax.inject.S... | 32.178571 | 81 | 0.754717 |
e99160ec63d9d927512fb30d5954844b49c8ced3 | 403 | rb | Ruby | lib/carray/autoload/autoload_gem_opencv.rb | himotoyoshi/carray | 00c4311a619fec1c3bc6132483283d3424520ec2 | [
"MIT"
] | 6 | 2020-09-09T09:51:58.000Z | 2022-02-18T15:50:38.000Z | lib/carray/autoload/autoload_gem_opencv.rb | himotoyoshi/carray | 00c4311a619fec1c3bc6132483283d3424520ec2 | [
"MIT"
] | null | null | null | lib/carray/autoload/autoload_gem_opencv.rb | himotoyoshi/carray | 00c4311a619fec1c3bc6132483283d3424520ec2 | [
"MIT"
] | null | null | null | module OpenCV
class CvMat
autoload_method "ca", "carray-opencv"
autoload_method "to_ca", "carray-opencv"
autoload_method "from_ca", "carray-opencv"
autoload_method "image", "carray-opencv"
end
class IplImage < CvMat
autoload_method "ca", "carray-opencv"
end
end
class CArray
autoload_metho... | 23.705882 | 48 | 0.724566 |
88691b578cac16812673e60b623bbbb307ef162b | 941 | dart | Dart | lib/src/core/authentication/data/repositories/authentication_repository_impl.dart | Kriss-Kross33/farmers_friend | 5b5e104f37731ffbeb9f781fcbf796dbdfb78337 | [
"MIT"
] | 2 | 2021-03-03T16:02:45.000Z | 2022-02-09T14:35:11.000Z | lib/src/core/authentication/data/repositories/authentication_repository_impl.dart | Kriss-Kross33/farmers_friend | 5b5e104f37731ffbeb9f781fcbf796dbdfb78337 | [
"MIT"
] | null | null | null | lib/src/core/authentication/data/repositories/authentication_repository_impl.dart | Kriss-Kross33/farmers_friend | 5b5e104f37731ffbeb9f781fcbf796dbdfb78337 | [
"MIT"
] | null | null | null | import 'dart:async';
import 'package:farmers_friend/src/core/authentication/bloc/authentication_bloc.dart';
import 'package:farmers_friend/src/core/authentication/domain/repositories/authentication_repository.dart';
class AuthenticationRepositoryImpl extends AuthenticationRepository {
final _controller = StreamCont... | 28.515152 | 107 | 0.764081 |
7113f41c97465cc75248ad0806417b7e1500d59b | 222 | ts | TypeScript | src/components/index.ts | ScriptBox99/tgrid | 822e71f1ec5d02f8c4c346ca56cb3805b29aa056 | [
"MIT"
] | 92 | 2018-10-16T02:43:00.000Z | 2022-03-24T01:20:13.000Z | src/components/index.ts | ScriptBox99/tgrid | 822e71f1ec5d02f8c4c346ca56cb3805b29aa056 | [
"MIT"
] | 47 | 2018-12-03T14:57:40.000Z | 2021-11-25T05:38:36.000Z | src/components/index.ts | ScriptBox99/tgrid | 822e71f1ec5d02f8c4c346ca56cb3805b29aa056 | [
"MIT"
] | 14 | 2018-10-26T14:17:38.000Z | 2021-04-12T16:53:05.000Z | /**
* @packageDocumentation
* @module tgrid.components
*/
//----------------------------------------------------------------
import * as components from "./module";
export default components;
export * from "./module"; | 24.666667 | 66 | 0.486486 |
70f2e9bbc4573f1111515e23427285db52b1bf06 | 1,563 | c | C | insts/std/MMOVE/dmoveprof.c | jwmatthys/RTcmix | c9ba0c5bee2cd5e091c81333cf819d267008635b | [
"Apache-2.0"
] | 40 | 2015-01-14T20:52:42.000Z | 2022-03-09T00:50:45.000Z | insts/std/MMOVE/dmoveprof.c | jwmatthys/RTcmix | c9ba0c5bee2cd5e091c81333cf819d267008635b | [
"Apache-2.0"
] | 20 | 2015-01-26T19:02:59.000Z | 2022-01-30T18:00:39.000Z | insts/std/MMOVE/dmoveprof.c | jwmatthys/RTcmix | c9ba0c5bee2cd5e091c81333cf819d267008635b | [
"Apache-2.0"
] | 14 | 2015-01-14T20:52:43.000Z | 2021-09-24T02:24:32.000Z | #include <ugens.h>
int
profile()
{
UG_INTRO("oldmatrix",m_oldmatrix);
UG_INTRO("matrix",m_matrix);
UG_INTRO("space",mm_space);
UG_INTRO("mikes",m_mikes);
UG_INTRO("mikes_off",m_mikes_off);
UG_INTRO("param",param);
UG_INTRO("cparam",cparam);
UG_INTRO("path",path);
UG_INTRO("c... | 31.26 | 78 | 0.723608 |
5c752b7fffec5976f1d9e86c3e58cde35c4aacf7 | 1,042 | css | CSS | server/frontend/src/components/css/profile.css | hjcalderon10/TorreTest | 76ddc29f8e65c03fe0d9f37c7432327d062b2f80 | [
"MIT"
] | null | null | null | server/frontend/src/components/css/profile.css | hjcalderon10/TorreTest | 76ddc29f8e65c03fe0d9f37c7432327d062b2f80 | [
"MIT"
] | null | null | null | server/frontend/src/components/css/profile.css | hjcalderon10/TorreTest | 76ddc29f8e65c03fe0d9f37c7432327d062b2f80 | [
"MIT"
] | null | null | null | .profile_img{
max-width: 15vw;
max-height: 15vw;
border-radius: 65%;
}
.person_img{
float:left;
}
.person_description{
overflow: auto;
padding-top: 3.5vw;
padding-left: 10vw;
display: inline-block;
}
.user_specific_property{
font-size: 2vw;
}
.personal_information{
overflow: auto;
}
.weigth{
text-align... | 13.358974 | 29 | 0.699616 |
55b9e801bfc5317d4dfa7e047ebb5752b720d8eb | 4,949 | asm | Assembly | Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_21829_1260.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_21829_1260.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_21829_1260.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 %r11
push %r12
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x14db5, %rsi
lea addresses_D_ht+0x8555, %rdi
nop
nop
sub %r15, %r15
mov $126, %rcx
rep movsb
nop
nop
nop
nop
cmp %rsi, %rsi
lea addresses_normal_ht+0x9195, %r12
clflush (%r12)
nop
nop
... | 44.585586 | 2,999 | 0.66074 |
0fd50bdf2cd9558673a817b616d704b2fd798916 | 3,224 | kt | Kotlin | line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/StarOfDavidSolid.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 230 | 2020-11-11T14:52:11.000Z | 2022-03-31T05:04:52.000Z | line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/StarOfDavidSolid.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 17 | 2021-03-02T00:00:32.000Z | 2022-03-02T16:01:03.000Z | line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/StarOfDavidSolid.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 18 | 2021-02-08T06:18:41.000Z | 2022-03-22T21:48:23.000Z | package compose.icons.lineawesomeicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
... | 38.843373 | 100 | 0.528226 |
0f4de84f2e55d7745a20353d65de71b744389962 | 471 | sql | SQL | desafio6.sql | Kevin-Ol/project-mysql-vocabulary-booster | 91d7b233ed804a738bc979064993ebc58d08cc96 | [
"MIT"
] | null | null | null | desafio6.sql | Kevin-Ol/project-mysql-vocabulary-booster | 91d7b233ed804a738bc979064993ebc58d08cc96 | [
"MIT"
] | null | null | null | desafio6.sql | Kevin-Ol/project-mysql-vocabulary-booster | 91d7b233ed804a738bc979064993ebc58d08cc96 | [
"MIT"
] | null | null | null | SELECT
CONCAT(e.FIRST_NAME, ' ', e.LAST_NAME) AS 'Nome completo',
j.JOB_TITLE AS 'Cargo',
jh.START_DATE AS 'Data de início do cargo',
d.DEPARTMENT_NAME AS 'Departamento'
FROM
hr.job_history AS jh
INNER JOIN
hr.employees AS e ON jh.EMPLOYEE_ID = e.EMPLOYEE_ID
INNER JOIN
hr.jo... | 31.4 | 62 | 0.673036 |
8e3b4664c73ca8b97680da49cf0b5768e1490c9b | 3,980 | rb | Ruby | db/development_seeds.rb | gustavoguichard/neighborly | f3366c9abf307892b7618d113a8e4462f470050a | [
"MIT"
] | 6 | 2015-05-07T12:23:28.000Z | 2019-07-08T19:48:05.000Z | db/development_seeds.rb | gustavoguichard/neighborly | f3366c9abf307892b7618d113a8e4462f470050a | [
"MIT"
] | null | null | null | db/development_seeds.rb | gustavoguichard/neighborly | f3366c9abf307892b7618d113a8e4462f470050a | [
"MIT"
] | 5 | 2015-05-02T17:54:24.000Z | 2019-07-08T19:48:07.000Z | require 'ffaker'
# Disable sidekiq
require 'sidekiq/testing'
Sidekiq::Testing.fake!
def lorem_pixel_url(size = '100/100', type = 'city')
"http://jpg-lorem-pixel.herokuapp.com/#{type}/#{size}/image.jpg"
end
def generate_user
u = User.new name: Faker::Name.name,
email: Faker::Internet.email,
... | 30.381679 | 127 | 0.557538 |
c69e6f154ea5afb6e6fc285421ec8b15707feaff | 1,602 | rb | Ruby | lib/tagliani/search.rb | rudkovskyi/tagliani | 06b69f33a7f287d8677f6396b3e16fa9e7d8cdaa | [
"MIT"
] | null | null | null | lib/tagliani/search.rb | rudkovskyi/tagliani | 06b69f33a7f287d8677f6396b3e16fa9e7d8cdaa | [
"MIT"
] | null | null | null | lib/tagliani/search.rb | rudkovskyi/tagliani | 06b69f33a7f287d8677f6396b3e16fa9e7d8cdaa | [
"MIT"
] | null | null | null | require "elasticsearch"
require "json"
require_relative "search/index"
module Tagliani
class Search
class << self
def client
Elasticsearch::Client.new host: Tagliani.config.elasticsearch.url,
log: Tagliani.config.elasticsearch.log
end
end
... | 23.558824 | 75 | 0.543071 |
7acbc0ab2f79b2de917607a2a8057fdf2972e3d3 | 1,034 | rs | Rust | core/src/optim/change_axes.rs | Atul9/tract | e72d634892c063d0a7c588879754108df14a74de | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | core/src/optim/change_axes.rs | Atul9/tract | e72d634892c063d0a7c588879754108df14a74de | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | core/src/optim/change_axes.rs | Atul9/tract | e72d634892c063d0a7c588879754108df14a74de | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | use super::TypedPass;
use crate::internal::*;
use crate::model::*;
use crate::TractResult;
use crate::ops::change_axes::*;
#[derive(Debug)]
pub struct ChangeAxes;
impl TypedPass for ChangeAxes {
fn pass(&self, model: &mut TypedModel) -> TractResult<bool> {
let mut suggestions = vec![];
for n in m... | 30.411765 | 73 | 0.556093 |
58501194cac002cc70fb790784bf12afe2841169 | 330 | h | C | Pod/Classes/categories/UIViewController+FullScreen.h | Mikora/CustomCamera | 2a287958714764cdbdf116549299a8cb69aaf21d | [
"MIT"
] | 12 | 2016-12-12T08:23:17.000Z | 2018-11-29T09:59:23.000Z | Pod/Classes/categories/UIViewController+FullScreen.h | Mikora/CustomCamera | 2a287958714764cdbdf116549299a8cb69aaf21d | [
"MIT"
] | 1 | 2017-02-23T10:07:41.000Z | 2017-02-24T10:16:11.000Z | Pod/Classes/categories/UIViewController+FullScreen.h | Mikora/CustomCamera | 2a287958714764cdbdf116549299a8cb69aaf21d | [
"MIT"
] | 3 | 2017-01-10T06:32:50.000Z | 2018-01-15T09:55:42.000Z | //
// UIViewController+FullScreen.h
// Pods
//
// Created by 黄成 on 15/12/22.
//
//
#import <UIKit/UIKit.h>
@interface UIViewController (FullScreen)
@property (nonatomic,assign) BOOL wasStatusBarHidden;
@property (nonatomic,assign) BOOL wasFullScreenLayout;
- (void)setFullScreenMode;
- (void)restoreFullScreenMo... | 15 | 54 | 0.733333 |
fa6e63a1e436a564d180e3d7a443a07ec6024227 | 13,504 | sql | SQL | Estacionamento.sql | brhen10/Yii2-PHP-APIOPENSTREETMAPS | 7b34a044c96b9038b02e5040d61751f2e2d5bd34 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Estacionamento.sql | brhen10/Yii2-PHP-APIOPENSTREETMAPS | 7b34a044c96b9038b02e5040d61751f2e2d5bd34 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Estacionamento.sql | brhen10/Yii2-PHP-APIOPENSTREETMAPS | 7b34a044c96b9038b02e5040d61751f2e2d5bd34 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | -- MySQL dump 10.13 Distrib 5.7.17, for Linux (x86_64)
--
-- Host: localhost Database: danielweb1
-- ------------------------------------------------------
-- Server version 5.7.24-0ubuntu0.16.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER... | 36.99726 | 588 | 0.727562 |
3b86d47ddb5c5f6f6dd6a0dcc0fe9bc9140d2d09 | 1,066 | h | C | OME_Installer/InstallRoot-main/Library/Frameworks/OME.framework/Versions/Current/Headers/OMELog.h | msyk/OME | 79bad6964ac4516ec03714597700884878052fda | [
"MIT"
] | null | null | null | OME_Installer/InstallRoot-main/Library/Frameworks/OME.framework/Versions/Current/Headers/OMELog.h | msyk/OME | 79bad6964ac4516ec03714597700884878052fda | [
"MIT"
] | null | null | null | OME_Installer/InstallRoot-main/Library/Frameworks/OME.framework/Versions/Current/Headers/OMELog.h | msyk/OME | 79bad6964ac4516ec03714597700884878052fda | [
"MIT"
] | null | null | null | //
// $Id: OMELog.h,v 1.5 2005/09/03 13:42:13 wakimoto Exp $
//
// Created by Shinya Wakimoto.
// Revision 1.1, Sat Dec 11 06:18:42 2004 UTC
// Copyright (c) 2004 - 2005, Shinya Wakimoto. All rights reserved.
//
#import <Foundation/Foundation.h>
/* log calendar format */
#define CALENDAR_FORMAT @"OME(%Y/%m/%d %H:... | 26 | 68 | 0.713884 |
5d86a5cd7b60dcddc089c32e7a65ced05c77b314 | 1,798 | go | Go | internal/ooapi/loginmodel.go | roopakv/probe-cli | a8e5ac470963e95063832d6a48d9e9fbfd82ed79 | [
"BSD-3-Clause"
] | null | null | null | internal/ooapi/loginmodel.go | roopakv/probe-cli | a8e5ac470963e95063832d6a48d9e9fbfd82ed79 | [
"BSD-3-Clause"
] | null | null | null | internal/ooapi/loginmodel.go | roopakv/probe-cli | a8e5ac470963e95063832d6a48d9e9fbfd82ed79 | [
"BSD-3-Clause"
] | null | null | null | package ooapi
import (
"crypto/rand"
"encoding/base64"
"time"
"github.com/ooni/probe-cli/v3/internal/ooapi/apimodel"
"github.com/ooni/probe-cli/v3/internal/runtimex"
)
// loginState is the struct saved in the kvstore
// to keep track of the login state.
type loginState struct {
ClientID string
Expire time.T... | 29.966667 | 74 | 0.71802 |
cb53fdc0b0348cd8cb2b028f44facac49a54d782 | 1,980 | h | C | EccTool/Utilities.h | joshstrom/ecc-tool | a4e33c74035c586c5e4f528ff517f632e927c4f0 | [
"MIT"
] | 1 | 2018-01-19T18:44:38.000Z | 2018-01-19T18:44:38.000Z | EccTool/Utilities.h | joshstrom/ecc-tool | a4e33c74035c586c5e4f528ff517f632e927c4f0 | [
"MIT"
] | null | null | null | EccTool/Utilities.h | joshstrom/ecc-tool | a4e33c74035c586c5e4f528ff517f632e927c4f0 | [
"MIT"
] | null | null | null | //
// The MIT License (MIT)
//
// Copyright (c) 2014 Joshua Strom
//
// 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... | 36.666667 | 82 | 0.74596 |
25175e62ba1c8adbba72879cfea2c5e0a2be3fe7 | 1,326 | swift | Swift | Projects/Application/Sources/RIBs/Onboard/Profile/Nodes/ProfileContainerNode.swift | interactord/modoo | e6394c899c4410d6b713dd4fb78b20c1065d7db0 | [
"MIT"
] | 4 | 2021-02-01T17:04:34.000Z | 2021-04-17T04:09:04.000Z | Projects/Application/Sources/RIBs/Onboard/Profile/Nodes/ProfileContainerNode.swift | interactord/modoo | e6394c899c4410d6b713dd4fb78b20c1065d7db0 | [
"MIT"
] | 30 | 2021-02-01T17:10:33.000Z | 2021-03-22T01:54:58.000Z | Projects/Application/Sources/RIBs/Onboard/Profile/Nodes/ProfileContainerNode.swift | interactord/modoo | e6394c899c4410d6b713dd4fb78b20c1065d7db0 | [
"MIT"
] | null | null | null | import AsyncDisplayKit
// MARK: - ProfileContainerNode
final class ProfileContainerNode: ASDisplayNode {
// MARK: Lifecycle
override init() {
super.init()
automaticallyManagesSubnodes = true
automaticallyRelayoutOnSafeAreaChanges = true
backgroundColor = .white
}
deinit {
print("Profil... | 23.678571 | 85 | 0.720211 |
9ee80c57748248be1390faf73128b00bc17c1757 | 244,494 | sql | SQL | DB/lara_seven_rest_api.sql | saiful199324/lara_seven_rest_api | a6e0fb5aa164b34380d0e7192304e0cb2be2bf99 | [
"MIT"
] | null | null | null | DB/lara_seven_rest_api.sql | saiful199324/lara_seven_rest_api | a6e0fb5aa164b34380d0e7192304e0cb2be2bf99 | [
"MIT"
] | null | null | null | DB/lara_seven_rest_api.sql | saiful199324/lara_seven_rest_api | a6e0fb5aa164b34380d0e7192304e0cb2be2bf99 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 20, 2021 at 04:24 PM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.4.2
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD... | 201.727723 | 364 | 0.73976 |
b894983cfddce09be756fe31aa2a48b882b4246c | 1,838 | rs | Rust | src/1_longest_substring.rs | ThakeeNathees/algo | 51a481f17d7bf45f0320e9a33ba8ed21978fe55b | [
"MIT"
] | 2 | 2019-09-18T19:34:47.000Z | 2019-09-20T13:22:43.000Z | src/1_longest_substring.rs | ThakeeNathees/algo | 51a481f17d7bf45f0320e9a33ba8ed21978fe55b | [
"MIT"
] | null | null | null | src/1_longest_substring.rs | ThakeeNathees/algo | 51a481f17d7bf45f0320e9a33ba8ed21978fe55b | [
"MIT"
] | null | null | null |
// https://leetcode.com/problems/longest-substring-without-repeating-characters/
struct Solution;
impl Solution {
pub fn length_of_longest_substring(s: String) -> i32 {
let length :usize = s.len();
if length == 0 { return 0; }
// contains[c] "returns" the index the char in the current substring if
... | 27.432836 | 80 | 0.573993 |
d1dccbc1c211d86b110e039e993e6dd2d515fef2 | 5,531 | rs | Rust | src/lib/mod.rs | fuyutarow/tests-make | f06d3cd29bad6965d77ea3f3cc5e1300571fdae7 | [
"MIT"
] | 1 | 2021-06-02T10:40:41.000Z | 2021-06-02T10:40:41.000Z | src/lib/mod.rs | fuyutarow/tests-make | f06d3cd29bad6965d77ea3f3cc5e1300571fdae7 | [
"MIT"
] | null | null | null | src/lib/mod.rs | fuyutarow/tests-make | f06d3cd29bad6965d77ea3f3cc5e1300571fdae7 | [
"MIT"
] | null | null | null | use std::collections::HashMap;
use std::fs::File;
use std::io::prelude::*;
use std::path::PathBuf;
use colored::*;
use indexmap::IndexMap as Map;
use serde_derive::{Deserialize, Serialize};
#[derive(Debug, Clone, Default, Deserialize, Serialize)]
pub struct Test {
pub script: String,
pub tobe: String,
}
#[de... | 30.727778 | 98 | 0.515639 |
e3e566eb5bb6e4e102af43870fd51578f8637995 | 10,965 | swift | Swift | PhotoPicker/ViewController.swift | YvanMasterAll/PhotoPicker | c2115c8a740e4a45b713a6932d82f1bbcb0f68bd | [
"Apache-2.0"
] | 126 | 2016-03-23T02:10:55.000Z | 2020-04-28T10:06:22.000Z | PhotoPicker/ViewController.swift | YvanMasterAll/PhotoPicker | c2115c8a740e4a45b713a6932d82f1bbcb0f68bd | [
"Apache-2.0"
] | 7 | 2016-05-10T10:38:52.000Z | 2018-11-02T08:52:02.000Z | PhotoPicker/ViewController.swift | YvanMasterAll/PhotoPicker | c2115c8a740e4a45b713a6932d82f1bbcb0f68bd | [
"Apache-2.0"
] | 26 | 2016-03-22T14:44:12.000Z | 2020-11-12T12:51:49.000Z | //
// ViewController.swift
// PhotoPicker
//
// Created by liangqi on 16/3/4.
// Copyright © 2016年 dailyios. All rights reserved.
//
import UIKit
import Photos
import MobileCoreServices
class ViewController: UIViewController,PhotoPickerControllerDelegate, UIImagePickerControllerDelegate, UINavigationControllerDel... | 35.95082 | 218 | 0.587597 |
2755775609666667c27f8ab1ec319983aea5bc2d | 538 | css | CSS | app/global-styles.css | zaqijr7/coronavirus-statistics | 2c5214d70ef72fcfd8a1b632d0497426b2fb357b | [
"MIT"
] | null | null | null | app/global-styles.css | zaqijr7/coronavirus-statistics | 2c5214d70ef72fcfd8a1b632d0497426b2fb357b | [
"MIT"
] | null | null | null | app/global-styles.css | zaqijr7/coronavirus-statistics | 2c5214d70ef72fcfd8a1b632d0497426b2fb357b | [
"MIT"
] | null | null | null | body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
background-color: #F3F3F4;
}
.logo-brand{
height: 45px;
width: auto;
}
.photo-profile{
height: 60px;
width: 60px;
object-fit: cover;
border-radius: 100%;
}
.badge-costum {
height: 20px !important;
font-size: 10px;
right: -8px;
... | 13.121951 | 62 | 0.644981 |
5c8a06d26ae8c102316754181a55297a0ca886c2 | 3,768 | h | C | src/hiprandpp.h | mjklemm/CoralGemm | 3d984061ee6d8c034e9f7479b1a70134fba6e95f | [
"MIT"
] | 4 | 2021-12-17T18:01:18.000Z | 2022-03-10T16:39:15.000Z | src/hiprandpp.h | mjklemm/CoralGemm | 3d984061ee6d8c034e9f7479b1a70134fba6e95f | [
"MIT"
] | null | null | null | src/hiprandpp.h | mjklemm/CoralGemm | 3d984061ee6d8c034e9f7479b1a70134fba6e95f | [
"MIT"
] | 4 | 2021-09-24T14:39:26.000Z | 2022-03-10T13:49:36.000Z | //------------------------------------------------------------------------------
/// \file
/// \brief C++ wrappers for the hipRAND routines used in CoralGemm
/// \date 2020-2021
/// \author Jakub Kurzak
/// \copyright Advanced Micro Devices, Inc.
///
#pragma once
#include "Exception.h"
#include <compl... | 27.705882 | 80 | 0.650743 |
9641d3f1caddde5392647fdd1f36d770abdd3839 | 347 | php | PHP | app/Http/Middleware/Activity.php | xingyiyang/laravel55 | 23125c68c28425ef672b448f86a591172833a2d0 | [
"MIT"
] | null | null | null | app/Http/Middleware/Activity.php | xingyiyang/laravel55 | 23125c68c28425ef672b448f86a591172833a2d0 | [
"MIT"
] | null | null | null | app/Http/Middleware/Activity.php | xingyiyang/laravel55 | 23125c68c28425ef672b448f86a591172833a2d0 | [
"MIT"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: xing
* Date: 2018/3/17
* Time: 20:38
*/
namespace App\Http\Middleware;
use Closure;
class Activity
{
public function handle($request, Closure $next)
{
if (time() < strtotime('2018-03-16')){
return redirect('activity0');
}
retu... | 15.086957 | 51 | 0.567723 |
957ed36c6e4550181646f81f7378c0af0cc0cfdd | 3,108 | lua | Lua | Premake5.lua | extrowerk/StormLib | f2c8d249607009a282904a43a4c4ba60922a92bb | [
"MIT"
] | 427 | 2015-01-07T23:08:21.000Z | 2022-03-30T19:12:05.000Z | Premake5.lua | extrowerk/StormLib | f2c8d249607009a282904a43a4c4ba60922a92bb | [
"MIT"
] | 170 | 2015-02-02T22:31:17.000Z | 2022-03-16T09:20:39.000Z | Premake5.lua | extrowerk/StormLib | f2c8d249607009a282904a43a4c4ba60922a92bb | [
"MIT"
] | 209 | 2015-01-27T06:42:47.000Z | 2022-03-29T01:12:41.000Z |
solution 'StormLib'
location 'build'
language 'C++'
configurations { 'Debug', 'Release', }
platforms { 'x32', 'x64' }
targetdir 'bin'
objdir 'bin'
files {
'src/**.h',
'src/**.c',
'src/**.cpp',
'doc/*.txt',
}
removefiles {
'src/adpcm/*_old.*... | 23.368421 | 80 | 0.497426 |
7628c41b4ff5dd68570f096e21485e4ca13a951a | 1,150 | go | Go | common/util.go | iowaguy/nudocs | 1d5e4ec1d1048c1e2e64f6e0562ef46f47eae08a | [
"MIT"
] | 2 | 2018-12-04T01:31:08.000Z | 2021-02-22T14:20:56.000Z | common/util.go | iowaguy/nudocs | 1d5e4ec1d1048c1e2e64f6e0562ef46f47eae08a | [
"MIT"
] | null | null | null | common/util.go | iowaguy/nudocs | 1d5e4ec1d1048c1e2e64f6e0562ef46f47eae08a | [
"MIT"
] | 1 | 2018-12-06T22:02:21.000Z | 2018-12-06T22:02:21.000Z | package common
import (
"bufio"
"os"
"strconv"
"strings"
log "github.com/Sirupsen/logrus"
)
func DetermineHostID(hosts []string) int {
myHostname, err := os.Hostname()
if err != nil {
log.Error("Could determine hostname: " + err.Error())
os.Exit(1)
}
log.Info("Local hostame=" + myHostname)
// determi... | 19.491525 | 80 | 0.66 |
16b4694866dc2bcaef845a51a523f2affeb64828 | 714 | h | C | COURSE_BROWN/WEEK_2_Namespaces_and_the_this_pointer/Namespaces/zaghruzka-raskhodov-iz-formata-json/json.h | diekaltesonne/c-plus-plus-modern-development | d569bd20465e76aab97111bcd316cd02ebca41dd | [
"MIT"
] | 1 | 2021-10-21T07:37:24.000Z | 2021-10-21T07:37:24.000Z | COURSE_BROWN/WEEK_2_Namespaces_and_the_this_pointer/Namespaces/zaghruzka-raskhodov-iz-formata-json/json.h | diekaltesonne/c-plus-plus-modern-development | d569bd20465e76aab97111bcd316cd02ebca41dd | [
"MIT"
] | null | null | null | COURSE_BROWN/WEEK_2_Namespaces_and_the_this_pointer/Namespaces/zaghruzka-raskhodov-iz-formata-json/json.h | diekaltesonne/c-plus-plus-modern-development | d569bd20465e76aab97111bcd316cd02ebca41dd | [
"MIT"
] | 3 | 2020-08-29T20:10:10.000Z | 2022-03-09T13:29:56.000Z | #pragma once
#include <istream>
#include <vector>
#include <string>
#include <unordered_map>
#include <map>
using namespace std;
class Node {
public:
explicit Node(vector<Node> array);
explicit Node(map<string, Node> map);
explicit Node(int value);
explicit Node(string value);
const vector<... | 17.414634 | 42 | 0.662465 |
d804dbd7c3532c9dc5d613b68a4057fa3de45177 | 420 | swift | Swift | StableApplication/Properties/FirstProperty.swift | JianYang96/acronis-for-habr-test-ios | 5e90a232ba858f5afe464a0760569a08661730f9 | [
"MIT"
] | 2 | 2018-06-29T10:35:16.000Z | 2022-01-28T15:34:33.000Z | StableApplication/Properties/FirstProperty.swift | JianYang96/acronis-for-habr-test-ios | 5e90a232ba858f5afe464a0760569a08661730f9 | [
"MIT"
] | 1 | 2018-06-29T11:36:06.000Z | 2018-06-29T14:04:32.000Z | StableApplication/Properties/FirstProperty.swift | JianYang96/acronis-for-habr-test-ios | 5e90a232ba858f5afe464a0760569a08661730f9 | [
"MIT"
] | 11 | 2018-06-29T10:36:52.000Z | 2018-07-18T09:04:06.000Z | //
// FirstProperty.swift
// Stable application
//
// Created by Vyacheslav Petrukhin on 28.06.2018.
// Copyright © 2018 Vyacheslav Petrukhin. All rights reserved.
//
import UIKit
struct FirstProperty {
let value = "Acronis GmbH"
var isHidden: Bool = false
}
// MARK: - Property
extension FirstProperty: ... | 18.26087 | 63 | 0.695238 |
760fdf63b0d00c907819c4ac29c05a16fd6915b4 | 1,248 | go | Go | testProject/main.go | gitter-badger/BoltAdmin | 13c1a9cfef40c54b150ec33e9ff789ba3786d6d3 | [
"MIT"
] | null | null | null | testProject/main.go | gitter-badger/BoltAdmin | 13c1a9cfef40c54b150ec33e9ff789ba3786d6d3 | [
"MIT"
] | null | null | null | testProject/main.go | gitter-badger/BoltAdmin | 13c1a9cfef40c54b150ec33e9ff789ba3786d6d3 | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"github.com/TheScenery/BoltAdmin/boltadmin"
"io/ioutil"
"path/filepath"
bolt "go.etcd.io/bbolt"
"path"
"runtime"
)
type MyDBManager struct {
baseDataDir string
allDBs []string
}
func (manager MyDBManager) GetAllDBs() *[]string {
return &manager.allDBs
}
func (manager M... | 17.828571 | 70 | 0.668269 |
effead480c60753fb0a5edcaf0d2cdd457b499ce | 359 | go | Go | algorithm/maopao_sort/maopao_sort_test.go | zyx134/golib | 9c600757330f97e9c7f5e2d7154268b82ace5620 | [
"MIT"
] | null | null | null | algorithm/maopao_sort/maopao_sort_test.go | zyx134/golib | 9c600757330f97e9c7f5e2d7154268b82ace5620 | [
"MIT"
] | null | null | null | algorithm/maopao_sort/maopao_sort_test.go | zyx134/golib | 9c600757330f97e9c7f5e2d7154268b82ace5620 | [
"MIT"
] | null | null | null | package maopao_sort
import (
"fmt"
"testing"
)
func TestBubbleSort(t *testing.T) {
fmt.Println(BubbleSort([]int{22, 4565, 123, 11, 35, 5, 123, 89, 12234, 788, 123123, 1, 0, 999, 22}))
}
func TestBubbleSortGetMax(t *testing.T) {
fmt.Println("最大值是:", BubbleSortGetMax([]int{22, 4565, 123, 11, 35, 5555555, 123, 89, ... | 23.933333 | 122 | 0.657382 |
d18b34684d503366f75100f42724927dcf6fb6cb | 1,401 | swift | Swift | RAD/Extensions/Foundation/DateComponents+NegativeOperator.swift | npr/RAD-iOS | 2340f66a88679fbba7b117b4f43661b4ea2d3a20 | [
"Apache-2.0"
] | 10 | 2018-11-15T13:01:27.000Z | 2021-12-19T06:28:59.000Z | RAD/Extensions/Foundation/DateComponents+NegativeOperator.swift | npr/RAD-iOS | 2340f66a88679fbba7b117b4f43661b4ea2d3a20 | [
"Apache-2.0"
] | 3 | 2018-11-23T08:08:17.000Z | 2019-01-22T16:54:20.000Z | RAD/Extensions/Foundation/DateComponents+NegativeOperator.swift | npr/RAD-iOS | 2340f66a88679fbba7b117b4f43661b4ea2d3a20 | [
"Apache-2.0"
] | 5 | 2018-12-13T19:38:35.000Z | 2021-02-18T11:24:52.000Z | //
// DateComponents+NegativeOperator.swift
// RAD
//
// Copyright 2018 NPR
//
// 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
//
// Unle... | 25.472727 | 94 | 0.605996 |
712cfe5a82c48bfbfc2756e56a69bb0ad78708f1 | 1,066 | tsx | TypeScript | src/api/components/Header/Header.tsx | Medniu/GameStoreReact | 457001f386b42c362eac16f67071533418ebbab6 | [
"MIT"
] | null | null | null | src/api/components/Header/Header.tsx | Medniu/GameStoreReact | 457001f386b42c362eac16f67071533418ebbab6 | [
"MIT"
] | null | null | null | src/api/components/Header/Header.tsx | Medniu/GameStoreReact | 457001f386b42c362eac16f67071533418ebbab6 | [
"MIT"
] | null | null | null | import React, { ReactElement } from "react";
import { Link } from "react-router-dom";
import "./Header.css";
import Auth from "../Auth/Auth";
function Header(): ReactElement {
return (
<nav>
<ul className="menu-ul">
<div className="menu-left">
<li>
<Link className="cool-link" ... | 23.688889 | 59 | 0.409944 |
20e840f61cd031e31e4b838c11e4f2916e258260 | 2,099 | lua | Lua | src/A321_startup.lua | Skarafaz/xp11-flywithlua-scripts | 4a20d55df453f2cb650cbf79bcf109423994fce2 | [
"MIT"
] | null | null | null | src/A321_startup.lua | Skarafaz/xp11-flywithlua-scripts | 4a20d55df453f2cb650cbf79bcf109423994fce2 | [
"MIT"
] | null | null | null | src/A321_startup.lua | Skarafaz/xp11-flywithlua-scripts | 4a20d55df453f2cb650cbf79bcf109423994fce2 | [
"MIT"
] | null | null | null | -- ToLiss A321 startup script by Skarafaz
-- version 1.0.0
if PLANE_ICAO ~= "A321" then
return
end
local gpu = dataref_table("AirbusFBW/EnableExternalPower")
local chocks = dataref_table("AirbusFBW/Chocks")
local door_pax = dataref_table("AirbusFBW/PaxDoorModeArray")
local door_cargo = dataref_table("AirbusFBW/C... | 28.364865 | 86 | 0.646022 |
8615ef5e322f4214afb5b787baf652a76adaf254 | 19,930 | go | Go | AttributeType.go | sunpp0130/radius | b25023f3d73dcde065f647d7555eb17ffd434448 | [
"MIT"
] | 1 | 2019-12-22T09:36:29.000Z | 2019-12-22T09:36:29.000Z | AttributeType.go | sunpp0130/radius | b25023f3d73dcde065f647d7555eb17ffd434448 | [
"MIT"
] | null | null | null | AttributeType.go | sunpp0130/radius | b25023f3d73dcde065f647d7555eb17ffd434448 | [
"MIT"
] | 1 | 2020-01-08T12:04:50.000Z | 2020-01-08T12:04:50.000Z | package radius
import (
"strconv"
)
type AttributeType uint8
const (
//start rfc2865
_ = iota //drop the zero
UserName AttributeType = iota //1
UserPassword AttributeType = iota //2
CHAPPassword AttributeType = iota //3
NASIPAddress ... | 51.365979 | 90 | 0.649122 |
74c2a56aa8448a61ee5c79e015bc3eeea5f88507 | 81 | js | JavaScript | data/586.js | stas-vilchik/bdd-ml | 2a254419a7c40c2e9b48625be8ca78721f786d2b | [
"MIT"
] | null | null | null | data/586.js | stas-vilchik/bdd-ml | 2a254419a7c40c2e9b48625be8ca78721f786d2b | [
"MIT"
] | null | null | null | data/586.js | stas-vilchik/bdd-ml | 2a254419a7c40c2e9b48625be8ca78721f786d2b | [
"MIT"
] | null | null | null | {
cookies.write("foo", "baz");
expect(document.cookie).toEqual("foo=baz");
}
| 16.2 | 45 | 0.62963 |
165e57cc80a05bf6e4bd870a9c00519dfb2655e2 | 3,065 | ts | TypeScript | src/render_process/extension/ExtensionLoader.ts | nanobot248/extraterm | cf9bc074d832aae8e7b4032b1ce3ba6d6e8b2302 | [
"MIT"
] | null | null | null | src/render_process/extension/ExtensionLoader.ts | nanobot248/extraterm | cf9bc074d832aae8e7b4032b1ce3ba6d6e8b2302 | [
"MIT"
] | null | null | null | src/render_process/extension/ExtensionLoader.ts | nanobot248/extraterm | cf9bc074d832aae8e7b4032b1ce3ba6d6e8b2302 | [
"MIT"
] | null | null | null | /*
* Copyright 2017 Simon Edwards <simon@simonzone.com>
*
* This source code is licensed under the MIT license which is detailed in the LICENSE.txt file.
*/
import * as fs from 'fs';
import * as path from 'path';
import * as _ from 'lodash';
import {Logger, getLogger} from '../../logging/Logger';
export interface ... | 27.612613 | 96 | 0.643067 |
a42b5af3962ca90f8df5dcef5365635ea2a1e79a | 2,035 | sql | SQL | SQL/queries.sql | r-kapoor/Crawlersforweb | 763de9be4deff8a581a920f54ede8af1ed9ad888 | [
"MIT"
] | 2 | 2016-09-20T19:39:55.000Z | 2018-04-15T10:57:20.000Z | SQL/queries.sql | r-kapoor/TripsOnAir | 763de9be4deff8a581a920f54ede8af1ed9ad888 | [
"MIT"
] | null | null | null | SQL/queries.sql | r-kapoor/TripsOnAir | 763de9be4deff8a581a920f54ede8af1ed9ad888 | [
"MIT"
] | null | null | null | ALTER TABLE Places
ADD CONSTRAINT fk_cityID_place
FOREIGN KEY (CityID)
REFERENCES CIty(CityID);
select *
from information_schema.referential_constraints
where constraint_schema = 'YOUR_DB'
select *
from information_schema.table_constraints
where constraint_schema = 'YOUR_DB'
SHOW INDEX FROM Place_Image
DROP INDEX N... | 48.452381 | 271 | 0.814251 |
11badee1b1ac0f72fc715f17e9499453c6ef5781 | 5,790 | rs | Rust | src/connection.rs | GaloisInc/rust-mavlink | 31d53bd3845f4d7e56083ca9fd892d44452416c5 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/connection.rs | GaloisInc/rust-mavlink | 31d53bd3845f4d7e56083ca9fd892d44452416c5 | [
"Apache-2.0",
"MIT"
] | 1 | 2019-02-10T23:58:35.000Z | 2019-02-11T17:10:17.000Z | src/connection.rs | GaloisInc/rust-mavlink | 31d53bd3845f4d7e56083ca9fd892d44452416c5 | [
"Apache-2.0",
"MIT"
] | 2 | 2019-01-26T14:33:00.000Z | 2019-02-10T22:18:00.000Z | use common::MavMessage;
use {Header, read, write};
use std::sync::Mutex;
use std::net::{TcpStream, UdpSocket, ToSocketAddrs, SocketAddr};
use std::io::{self, Read};
use std::str::FromStr;
/// A MAVLink connection
pub trait MavConnection {
/// Receive a mavlink message.
///
/// Blocks until a valid frame ... | 26.682028 | 107 | 0.528325 |
5fca4cfa97b81a8b8a5ee263ed8d7abd3b819d5a | 475 | c | C | Problem Set 1/mario.c | beratbayram/cs50x-problems | 61889841f9f447e9c87f829feec0c94bd8882734 | [
"MIT"
] | null | null | null | Problem Set 1/mario.c | beratbayram/cs50x-problems | 61889841f9f447e9c87f829feec0c94bd8882734 | [
"MIT"
] | null | null | null | Problem Set 1/mario.c | beratbayram/cs50x-problems | 61889841f9f447e9c87f829feec0c94bd8882734 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
int main()
{
int number = 0;
while (1)
{
printf("Height: ");
char str[100];
gets(str);
number = atoi(str);
if (0 < number && number < 9)
break;
}
for (int i = 1; i <= number; i++)
{
for (int j =... | 16.964286 | 44 | 0.385263 |
f61f7d775b97e8fca3b6d1622d37da383833697e | 3,236 | swift | Swift | iOS/SpotItApp/CheckInViewController.swift | natasharao/SpotIt | f7089829947207f003b982bcbbbc147e6fb86dd0 | [
"MIT"
] | null | null | null | iOS/SpotItApp/CheckInViewController.swift | natasharao/SpotIt | f7089829947207f003b982bcbbbc147e6fb86dd0 | [
"MIT"
] | null | null | null | iOS/SpotItApp/CheckInViewController.swift | natasharao/SpotIt | f7089829947207f003b982bcbbbc147e6fb86dd0 | [
"MIT"
] | null | null | null | //
// CheckInViewController.swift
// SpotItApp
//
// Created by Natasha Rao on 10/29/19.
// Copyright © 2019 Natasha Rao. All rights reserved.
//
import UIKit
import FirebaseAuth
import FirebaseFirestore
class CheckInViewController: UIViewController {
var locationName = ""
var capacity = ""
... | 33.360825 | 118 | 0.616502 |
9c2b544b3502c2ecfd0996a270af8d788315fa97 | 1,941 | tsx | TypeScript | tools/app-bootstrap/src/createIntlProvider.tsx | wachunga/ui-demo | 914cdbaf1dcfc0d19e86ff9d2e41db279059ded0 | [
"MIT"
] | 4 | 2017-09-18T03:42:45.000Z | 2019-02-11T11:43:36.000Z | tools/app-bootstrap/src/createIntlProvider.tsx | wachunga/ui-demo | 914cdbaf1dcfc0d19e86ff9d2e41db279059ded0 | [
"MIT"
] | 6 | 2017-09-16T05:51:14.000Z | 2019-12-10T18:34:33.000Z | tools/app-bootstrap/src/createIntlProvider.tsx | zenefits/ui-demo | 914cdbaf1dcfc0d19e86ff9d2e41db279059ded0 | [
"MIT"
] | 6 | 2018-01-14T23:53:43.000Z | 2021-08-29T18:11:42.000Z | import React, { ReactElement, StatelessComponent } from 'react';
import { IntlProvider } from 'react-intl';
import { connect } from 'react-redux';
// react-intl will use 'en' as default if a locale for user's browser language is not loaded.
// need to import (or lazy load) corresponding locales when we enable support ... | 32.35 | 115 | 0.690366 |
873a781a7add76f788deecb43272fb38822749fd | 934 | rs | Rust | src/server/files.rs | MegaSpaceHamlet/rust-webserver | 21a751e413c36ccfadd53cd248744bbf80bf7287 | [
"MIT"
] | null | null | null | src/server/files.rs | MegaSpaceHamlet/rust-webserver | 21a751e413c36ccfadd53cd248744bbf80bf7287 | [
"MIT"
] | null | null | null | src/server/files.rs | MegaSpaceHamlet/rust-webserver | 21a751e413c36ccfadd53cd248744bbf80bf7287 | [
"MIT"
] | null | null | null | use hyper::{Body, Response, StatusCode};
use std::{fs::File, io::Read};
pub fn get_index_html() -> Response<Body> {
let mut response = Response::new(Body::empty());
let mut index_html = match File::open("index.html") {
Ok(index_html) => (index_html),
Err(_) => {
eprintln!(
... | 33.357143 | 95 | 0.555675 |
26b594bc19bf05150ea849a9fec0935a96cca24d | 2,509 | java | Java | dataquality-sampling/src/test/java/org/talend/dataquality/datamasking/functions/GenerateCreditCardFormatStringTest.java | Zomzog/data-quality | 6138d4f2d449e006bfcf99cbd946e935e2608ad8 | [
"Apache-2.0"
] | null | null | null | dataquality-sampling/src/test/java/org/talend/dataquality/datamasking/functions/GenerateCreditCardFormatStringTest.java | Zomzog/data-quality | 6138d4f2d449e006bfcf99cbd946e935e2608ad8 | [
"Apache-2.0"
] | null | null | null | dataquality-sampling/src/test/java/org/talend/dataquality/datamasking/functions/GenerateCreditCardFormatStringTest.java | Zomzog/data-quality | 6138d4f2d449e006bfcf99cbd946e935e2608ad8 | [
"Apache-2.0"
] | null | null | null | // ============================================================================
//
// Copyright (C) 2006-2016 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... | 29.174419 | 88 | 0.600239 |
53b500020269c9d520e3d88da7fa112405c436bd | 1,240 | java | Java | app/src/main/java/com/brins/lightmusic/utils/GlideHelper/GlideNormalTransform.java | BrinsLee/LightMusic | f0be073b901efdee40d38824bc3c0cc4d6aa426d | [
"Apache-2.0"
] | 22 | 2019-08-04T03:25:58.000Z | 2021-03-11T15:17:29.000Z | app/src/main/java/com/brins/lightmusic/utils/GlideHelper/GlideNormalTransform.java | BrinsLee/LightMusic | f0be073b901efdee40d38824bc3c0cc4d6aa426d | [
"Apache-2.0"
] | 1 | 2019-08-26T01:06:10.000Z | 2019-08-26T01:06:10.000Z | app/src/main/java/com/brins/lightmusic/utils/GlideHelper/GlideNormalTransform.java | BrinsLee/LightMusic | f0be073b901efdee40d38824bc3c0cc4d6aa426d | [
"Apache-2.0"
] | 5 | 2019-09-10T23:58:14.000Z | 2021-01-31T16:55:09.000Z | package com.brins.lightmusic.utils.GlideHelper;
import android.content.Context;
import android.graphics.Bitmap;
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
import com.bumptech.glide.load.resource.bitmap.BitmapTransformation;
import java.security.MessageDigest;
/**
* Created by zhouruihao on 20... | 28.837209 | 115 | 0.710484 |
f0515d685dd427b35ea29b283dd0c731d98bdaf5 | 1,861 | js | JavaScript | test/setup/oas/models/Todo.js | rafamel/oas-test | af75292de398b78d021d5deeb519b41e5148f68d | [
"MIT"
] | 1 | 2018-11-28T20:07:29.000Z | 2018-11-28T20:07:29.000Z | test/setup/oas/models/Todo.js | rafamel/oas-test | af75292de398b78d021d5deeb519b41e5148f68d | [
"MIT"
] | null | null | null | test/setup/oas/models/Todo.js | rafamel/oas-test | af75292de398b78d021d5deeb519b41e5148f68d | [
"MIT"
] | null | null | null | const SCHEMA = 'Todo';
export const schemas = {
[SCHEMA]: {
type: 'object',
required: ['name', 'done', 'user_id', 'created_at', 'id'],
properties: {
id: { type: 'integer', minimum: 0 },
name: { type: 'string', minLength: 1, maxLength: 255 },
done: { type: 'boolean' }
}
}
};
export... | 22.154762 | 63 | 0.446534 |
5b0b0794c5a7ae025e0c36f378b641da4333afb1 | 1,412 | c | C | sasmodels/models/lamellar_stack_caille.c | jmborr/sasmodels | bedb9b0fed4f3f4bc2bbfa5878de6f2b6fdfbcc9 | [
"BSD-3-Clause"
] | null | null | null | sasmodels/models/lamellar_stack_caille.c | jmborr/sasmodels | bedb9b0fed4f3f4bc2bbfa5878de6f2b6fdfbcc9 | [
"BSD-3-Clause"
] | null | null | null | sasmodels/models/lamellar_stack_caille.c | jmborr/sasmodels | bedb9b0fed4f3f4bc2bbfa5878de6f2b6fdfbcc9 | [
"BSD-3-Clause"
] | 1 | 2021-04-28T14:21:17.000Z | 2021-04-28T14:21:17.000Z | /* LamellarCaille kernel - allows for name changes of passed parameters ...
*/
static double
Iq(double qval,
double del,
double fp_Nlayers,
double dd,
double Cp,
double sld,
double solvent_sld)
{
int Nlayers = (int)(fp_Nlayers+0.5); //cast to an integer for the loop
double contr; //local va... | 25.672727 | 107 | 0.606941 |
7c17fb3f4bcf832e9a7890b1fe1320b088b78d76 | 6,847 | swift | Swift | Sources/SingleUserDefaultsStore.swift | omaralbeik/UserDefaultsStore | cb47db9d591687980352f41ecb6857949a4e66f3 | [
"MIT"
] | 438 | 2018-06-30T20:42:57.000Z | 2022-03-13T12:49:32.000Z | Sources/SingleUserDefaultsStore.swift | beichenglangzi/UserDefaultsStore | cb47db9d591687980352f41ecb6857949a4e66f3 | [
"MIT"
] | 29 | 2018-07-08T11:33:52.000Z | 2021-10-20T14:50:42.000Z | Sources/SingleUserDefaultsStore.swift | beichenglangzi/UserDefaultsStore | cb47db9d591687980352f41ecb6857949a4e66f3 | [
"MIT"
] | 26 | 2018-07-02T11:01:19.000Z | 2022-01-29T15:18:37.000Z | //
// SingleUserDefaultsStore
//
// Copyright (c) 2018-Present Omar Albeik - https://github.com/omaralbeik
//
// 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, incl... | 36.036842 | 115 | 0.648897 |
7207a2fe7a919bb37d3815e9000a3ed9e67ee7cd | 294 | rs | Rust | src/test_main.rs | Telcoltar/AdventOfCodeDay22-Rust | 5d548a4f3a0c108393b09a7b86e30811e5edc9ec | [
"Apache-2.0"
] | null | null | null | src/test_main.rs | Telcoltar/AdventOfCodeDay22-Rust | 5d548a4f3a0c108393b09a7b86e30811e5edc9ec | [
"Apache-2.0"
] | null | null | null | src/test_main.rs | Telcoltar/AdventOfCodeDay22-Rust | 5d548a4f3a0c108393b09a7b86e30811e5edc9ec | [
"Apache-2.0"
] | null | null | null | #[cfg(test)]
mod test {
use crate::{solution_part_1, solution_part_2};
#[test]
fn test_solution_part_1() {
assert_eq!(306, solution_part_1("testData.txt"));
}
#[test]
fn test_solution_part_2() {
assert_eq!(291, solution_part_2("testData.txt"));
}
} | 21 | 57 | 0.612245 |
dd6d6fae5f49edc99377602d4a95bc7723b2adb7 | 3,009 | go | Go | internal/app/tfsec/rules/azure/database/no_public_firewall_access_rule.go | dwdraju/tfsec | 8ba56d15555ce20737b0262df51f392d8ae56900 | [
"MIT"
] | null | null | null | internal/app/tfsec/rules/azure/database/no_public_firewall_access_rule.go | dwdraju/tfsec | 8ba56d15555ce20737b0262df51f392d8ae56900 | [
"MIT"
] | 6 | 2021-10-18T23:05:27.000Z | 2022-03-28T23:08:45.000Z | internal/app/tfsec/rules/azure/database/no_public_firewall_access_rule.go | dwdraju/tfsec | 8ba56d15555ce20737b0262df51f392d8ae56900 | [
"MIT"
] | null | null | null | package database
// generator-locked
import (
"github.com/aquasecurity/tfsec/pkg/result"
"github.com/aquasecurity/tfsec/pkg/severity"
"github.com/aquasecurity/tfsec/pkg/provider"
"github.com/aquasecurity/tfsec/internal/app/tfsec/hclcontext"
"github.com/aquasecurity/tfsec/internal/app/tfsec/block"
"github.com... | 34.988372 | 188 | 0.722499 |
1618e697190981f41003db216c144014c43349d7 | 587 | ts | TypeScript | src/entities/OrderTotal.entity.ts | boha18/ecommerce_back | cbf5454ef4157c15c0b5d42dc393a642da8a5885 | [
"MIT"
] | null | null | null | src/entities/OrderTotal.entity.ts | boha18/ecommerce_back | cbf5454ef4157c15c0b5d42dc393a642da8a5885 | [
"MIT"
] | null | null | null | src/entities/OrderTotal.entity.ts | boha18/ecommerce_back | cbf5454ef4157c15c0b5d42dc393a642da8a5885 | [
"MIT"
] | null | null | null | import { Check, Column, Entity, ManyToOne, OneToMany, OneToOne } from 'typeorm';
import { BaseEntity } from './Base.entity';
import { OrderItem } from './OrderItems.entity';
import { Payement } from './Payement.entity';
@Entity()
export class OrderTotal extends BaseEntity {
@Column({ nullable: false })
total: numb... | 26.681818 | 80 | 0.689949 |
c7eb07419d6119b487cd757784c1f9a8ffb80849 | 11,904 | java | Java | jeelite-admin/src/main/java/com/github/flying/jeelite/modules/sys/web/UserController.java | xusheng1987/jeelite-dubbo | 969b644fdcdc6a29c3f82a07f85c68a2b3fd1ac6 | [
"Apache-2.0"
] | null | null | null | jeelite-admin/src/main/java/com/github/flying/jeelite/modules/sys/web/UserController.java | xusheng1987/jeelite-dubbo | 969b644fdcdc6a29c3f82a07f85c68a2b3fd1ac6 | [
"Apache-2.0"
] | null | null | null | jeelite-admin/src/main/java/com/github/flying/jeelite/modules/sys/web/UserController.java | xusheng1987/jeelite-dubbo | 969b644fdcdc6a29c3f82a07f85c68a2b3fd1ac6 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright © 2017-2018 <a href="https://github.com/xusheng1987/jeelite">jeelite</a> All rights reserved.
*/
package com.github.flying.jeelite.modules.sys.web;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import j... | 30.601542 | 115 | 0.704805 |
b96563705dfdf4aa197240e82adfaa4789b63989 | 6,304 | h | C | net/ias/mmc/common/sdohelperfuncs.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | net/ias/mmc/common/sdohelperfuncs.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | net/ias/mmc/common/sdohelperfuncs.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /////////////////////////////////////////////////////////////////////////////
//
// Copyright(C) Microsoft Corporation, 1997 - 1999 all rights reserved.
//
// Module: sdohelperfuncs.h
//
// Project: Everest
//
// Description: Helper Functions
//
// Log:
//
// When Who What
// ---- ... | 23.699248 | 79 | 0.377062 |
b7f96434ac93460907029b6d72661ea91e5f336c | 11,800 | swift | Swift | stdlib/public/core/Print.swift | EBGToo/swift | 8b917e1a87d7208b32542eec0eaf7186ccd97b57 | [
"Apache-2.0"
] | null | null | null | stdlib/public/core/Print.swift | EBGToo/swift | 8b917e1a87d7208b32542eec0eaf7186ccd97b57 | [
"Apache-2.0"
] | null | null | null | stdlib/public/core/Print.swift | EBGToo/swift | 8b917e1a87d7208b32542eec0eaf7186ccd97b57 | [
"Apache-2.0"
] | null | null | null | //===--- Print.swift ------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 36.645963 | 196 | 0.615339 |
492f70559ed957c2a83cc2c18a522197e0e02df3 | 367 | swift | Swift | Sources/Model/Sys.swift | bourvill/OpenWeatherKit | c7910a8d78a142301c61bcc800e5137bb48711bd | [
"MIT"
] | 10 | 2018-04-05T05:51:48.000Z | 2022-03-10T18:00:54.000Z | Sources/Model/Sys.swift | bourvill/OpenWeatherKit | c7910a8d78a142301c61bcc800e5137bb48711bd | [
"MIT"
] | 2 | 2019-05-14T07:29:40.000Z | 2019-06-13T07:42:53.000Z | Sources/Model/Sys.swift | bourvill/OpenWeatherKit | c7910a8d78a142301c61bcc800e5137bb48711bd | [
"MIT"
] | 3 | 2018-05-04T19:57:46.000Z | 2019-06-12T08:37:33.000Z | //
// Sys.swift
// OpenWeatherKit
//
// Created by maxime marinel on 03/11/2017.
// Copyright © 2017 OpenWeatherKit. All rights reserved.
//
import Foundation
public struct Sys: Codable {
public let id: Int?
public let type: Int?
public let message: Double?
public let country: String?
public l... | 19.315789 | 57 | 0.673025 |
81bbb4f8d0df2f11acea16dcaecdde153d77f7e7 | 388 | go | Go | main/1300-1399/1303C_test.go | lpi/codeforces-go | 4f8e6a02c9bdce277c9a1c32012523d9739b867c | [
"MIT"
] | 659 | 2019-10-07T00:58:10.000Z | 2022-03-31T03:50:37.000Z | main/1300-1399/1303C_test.go | ShuangpengPang/codeforces-go | c23295c1345310dea35b045264103069e2e446e7 | [
"MIT"
] | 1 | 2020-07-06T10:34:08.000Z | 2020-11-15T05:54:54.000Z | main/1300-1399/1303C_test.go | ShuangpengPang/codeforces-go | c23295c1345310dea35b045264103069e2e446e7 | [
"MIT"
] | 92 | 2020-11-17T13:06:17.000Z | 2022-03-21T15:57:13.000Z | package main
import (
"github.com/EndlessCheng/codeforces-go/main/testutil"
"testing"
)
func TestCF1303C(t *testing.T) {
// just copy from website
rawText := `
5
ababa
codedoca
abcda
zxzytyz
abcdefghijklmnopqrstuvwxyza
outputCopy
YES
bacdefghijklmnopqrstuvwxyz
YES
edocabfghijklmnpqrstuvwxyz
NO
YES
xzytabcdefghijk... | 13.857143 | 54 | 0.804124 |
b7dcbf3f1a180b8b284c163bbf1e868b4cb74c9d | 228 | swift | Swift | PersistenceCore/PersistenceContainer.swift | yaoxiao89/StaticFrameworks | 3afc2efe87b545752071d81a6505c0564a4f30ba | [
"MIT"
] | null | null | null | PersistenceCore/PersistenceContainer.swift | yaoxiao89/StaticFrameworks | 3afc2efe87b545752071d81a6505c0564a4f30ba | [
"MIT"
] | null | null | null | PersistenceCore/PersistenceContainer.swift | yaoxiao89/StaticFrameworks | 3afc2efe87b545752071d81a6505c0564a4f30ba | [
"MIT"
] | null | null | null | //
// PersistenceContainer.swift
// RepositoryCore
//
// Copyright © 2018 Xiao Yao. All rights reserved.
// See LICENSE.txt for licensing information
//
import CoreData
class PersistenceContainer: NSPersistentContainer {}
| 19 | 52 | 0.754386 |
95d66a7a59e916b20a9131fa0cb0e8d3f2b3390b | 576 | css | CSS | src/styles.css | bowen31337/accessible-react-rating | c6a2abed6aedd25acb1d262604d3abbeabf70e26 | [
"MIT"
] | 3 | 2019-04-30T04:32:50.000Z | 2020-06-30T21:31:33.000Z | src/styles.css | bowen31337/accessible-react-rating | c6a2abed6aedd25acb1d262604d3abbeabf70e26 | [
"MIT"
] | null | null | null | src/styles.css | bowen31337/accessible-react-rating | c6a2abed6aedd25acb1d262604d3abbeabf70e26 | [
"MIT"
] | 2 | 2020-07-01T22:55:11.000Z | 2021-08-30T13:53:01.000Z | /* add css styles here (optional) */
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.full-symbol {
display: none;
}
.accessible-rating input.selected + label .full-symbol,
.accessible-rating input:checked +... | 20.571429 | 56 | 0.696181 |
9c506720ce1feda5c303fa29d4b7f26fc10b1153 | 1,300 | js | JavaScript | js/offcanvas.min.js | eknows/Bootstrap-off-canvas-android-style | 025c02afc08c96a880740704f0cf0e3280195662 | [
"MIT"
] | 2 | 2016-04-21T09:50:54.000Z | 2017-06-21T07:49:05.000Z | js/offcanvas.min.js | eknows/Bootstrap-off-canvas-android-style | 025c02afc08c96a880740704f0cf0e3280195662 | [
"MIT"
] | 1 | 2016-03-16T21:21:34.000Z | 2016-04-21T15:41:09.000Z | js/offcanvas.min.js | eknows/Bootstrap-off-canvas-android-style | 025c02afc08c96a880740704f0cf0e3280195662 | [
"MIT"
] | null | null | null | jQuery(document).ready(function($){function a(){var a=document.createElement("event"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",transition:"transitionend"};for(var e in n)if(void 0!==a.style[e])return n[e]}$('[data-toggle="offcanvas"]').click(function(){$(".overlay").addClass("active"),$("... | 1,300 | 1,300 | 0.674615 |
1cf8b30f643b719186531171aa9e4c971a44342f | 2,363 | css | CSS | graphs/sample/css/index.css | wimo7083/twitter_sentiment_scrubbing | 8814c73ba740f0f7a0a4e7e2b9c2d4c14dc2a549 | [
"MIT"
] | 2 | 2018-02-27T07:44:29.000Z | 2018-12-15T02:02:17.000Z | graphs/sample/css/index.css | wimo7083/tweetyQ | 8814c73ba740f0f7a0a4e7e2b9c2d4c14dc2a549 | [
"MIT"
] | null | null | null | graphs/sample/css/index.css | wimo7083/tweetyQ | 8814c73ba740f0f7a0a4e7e2b9c2d4c14dc2a549 | [
"MIT"
] | null | null | null | html,
body {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Oswald', sans-serif;
}
.container {
height: 100vh;
width: 100%;
display: grid;
grid-template-rows: repeat(13, 1fr);
grid-template-columns: repeat(14, 1fr);
grid-column-gap: 40px;
grid-row-gap: 20px;
background: #e9e8ea;
}
.score {
... | 13.201117 | 40 | 0.650444 |
7bddb8062478ea9b6c853c9ca5b88582d1afd6b8 | 10,909 | sql | SQL | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5634910_sys_gh12815_Contract_Voiding_IsCloseInvoiceCandidate.sql | metas-fresh/fresh | 265b6e00fbbf154d6a7bbb9aaf9cf7135f9d6a27 | [
"RSA-MD"
] | 1 | 2015-11-09T07:13:14.000Z | 2015-11-09T07:13:14.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5634910_sys_gh12815_Contract_Voiding_IsCloseInvoiceCandidate.sql | metas-fresh/fresh | 265b6e00fbbf154d6a7bbb9aaf9cf7135f9d6a27 | [
"RSA-MD"
] | null | null | null | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5634910_sys_gh12815_Contract_Voiding_IsCloseInvoiceCandidate.sql | metas-fresh/fresh | 265b6e00fbbf154d6a7bbb9aaf9cf7135f9d6a27 | [
"RSA-MD"
] | null | null | null | -- 2022-04-12T14:43:14.015Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAutocomplete,IsCentrallyMaintained,... | 98.279279 | 1,111 | 0.805298 |
56be9e10f06a2b0ce6bd7f2c97e5d9585ed1e1ee | 6,719 | go | Go | css/tokenizer/tokenizer_test.go | webfd/go-html-transform | afb4cafda89b3d3c15e0e47d24df172df62bc82f | [
"Artistic-2.0"
] | null | null | null | css/tokenizer/tokenizer_test.go | webfd/go-html-transform | afb4cafda89b3d3c15e0e47d24df172df62bc82f | [
"Artistic-2.0"
] | null | null | null | css/tokenizer/tokenizer_test.go | webfd/go-html-transform | afb4cafda89b3d3c15e0e47d24df172df62bc82f | [
"Artistic-2.0"
] | null | null | null | package tokenizer
import (
"bufio"
"fmt"
"io"
"reflect"
"strings"
"testing"
)
func compareErrors(e1, e2 error) bool {
if e1 == nil {
return e2 == nil
} else if e2 != nil {
return e1.Error() == e2.Error()
}
return false
}
var simpleTokenTests = []struct {
in string
out []Token
}{
// Basic simple to... | 30.402715 | 126 | 0.573002 |
7030523ca58bae23f51022594d40fc62cd43f8ff | 10,024 | go | Go | models/transaction_batch_item_model.go | TomerHeber/avatax-v2-go | ec3d2081e3de869d2d1e35f3514fd9257522cb65 | [
"MIT"
] | 2 | 2022-01-02T05:01:42.000Z | 2022-03-15T16:38:42.000Z | models/transaction_batch_item_model.go | TomerHeber/avatax-v2-go | ec3d2081e3de869d2d1e35f3514fd9257522cb65 | [
"MIT"
] | null | null | null | models/transaction_batch_item_model.go | TomerHeber/avatax-v2-go | ec3d2081e3de869d2d1e35f3514fd9257522cb65 | [
"MIT"
] | null | null | null | // Code generated by go-swagger; DO NOT EDIT.
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"github.com/go-openapi/errors"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github... | 36.450909 | 648 | 0.722267 |
f04b2efa0372d0580af551921d46f98895a3f1a0 | 11,037 | py | Python | userdocker/subcommands/run.py | jsteffen/userdocker | eb3b6a2421ca392ec4485744244d913e51687040 | [
"MIT"
] | null | null | null | userdocker/subcommands/run.py | jsteffen/userdocker | eb3b6a2421ca392ec4485744244d913e51687040 | [
"MIT"
] | null | null | null | userdocker/subcommands/run.py | jsteffen/userdocker | eb3b6a2421ca392ec4485744244d913e51687040 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import argparse
import logging
import os
import re
from .. import __version__
from ..config import ALLOWED_IMAGE_REGEXPS
from ..config import ALLOWED_PORT_MAPPINGS
from ..config import CAPS_ADD
from ..config import CAPS_DROP
from ..config import ENV_VARS
from ..config import ENV_VARS_EXT
from ... | 33.144144 | 80 | 0.581317 |
a5bd4b5f8cfaba5be80adb4937d5cace508c6e8c | 2,583 | swift | Swift | MovieViewer/MovieTableViewCell.swift | dmoreh/MovieViewer | 1b6b8beb49dff1c38e3084aff411fce945b0e9bd | [
"Apache-2.0"
] | null | null | null | MovieViewer/MovieTableViewCell.swift | dmoreh/MovieViewer | 1b6b8beb49dff1c38e3084aff411fce945b0e9bd | [
"Apache-2.0"
] | 1 | 2016-02-19T07:34:30.000Z | 2016-02-19T07:34:30.000Z | MovieViewer/MovieTableViewCell.swift | dmoreh/MovieViewer | 1b6b8beb49dff1c38e3084aff411fce945b0e9bd | [
"Apache-2.0"
] | null | null | null | //
// MovieTableViewCell.swift
// MovieViewer
//
// Created by Daniel Moreh on 2/16/16.
// Copyright © 2016 Daniel Moreh. All rights reserved.
//
import UIKit
class MovieTableViewCell: UITableViewCell {
@IBOutlet weak var textContainerView: UIView!
@IBOutlet weak var titleLabel: UILabel!
@IBOutlet we... | 33.115385 | 103 | 0.651568 |
9f2a183eb92220abb6a1a791f99e2a68ba39ea33 | 3,569 | swift | Swift | VinylShop/UI/Screens/VinylPage/Children/VinylDetails/VinylDetailsController.swift | elpassion/VinylShop | cfa0bbd760e8d662dfc0d6bae06d8f95a01fe1a6 | [
"MIT"
] | 28 | 2019-03-07T14:14:39.000Z | 2022-01-24T16:47:43.000Z | VinylShop/UI/Screens/VinylPage/Children/VinylDetails/VinylDetailsController.swift | turekj/VinylShop | cfa0bbd760e8d662dfc0d6bae06d8f95a01fe1a6 | [
"MIT"
] | null | null | null | VinylShop/UI/Screens/VinylPage/Children/VinylDetails/VinylDetailsController.swift | turekj/VinylShop | cfa0bbd760e8d662dfc0d6bae06d8f95a01fe1a6 | [
"MIT"
] | 9 | 2019-04-03T04:30:58.000Z | 2020-08-08T19:49:43.000Z | import UIKit
class VinylDetailsController: UIViewController, UIScrollViewDelegate, VinylDetailsControllerProtocol {
init(vinyl: Vinyl,
trackListFactory: @escaping (Vinyl) -> UIViewController = { VinylTrackListController(vinyl: $0) },
recommendedFactory: @escaping (Vinyl) -> UIViewController = vi... | 33.35514 | 117 | 0.698795 |
332defd99a84d5d18c4039c02288d40c0ec51a32 | 3,814 | swift | Swift | Sources/Tools/Renderer.swift | elliottwilliams/GraphViz | cf52b27bf7086e9ca5665cef0de57d0481bbab41 | [
"MIT"
] | null | null | null | Sources/Tools/Renderer.swift | elliottwilliams/GraphViz | cf52b27bf7086e9ca5665cef0de57d0481bbab41 | [
"MIT"
] | null | null | null | Sources/Tools/Renderer.swift | elliottwilliams/GraphViz | cf52b27bf7086e9ca5665cef0de57d0481bbab41 | [
"MIT"
] | null | null | null | import Foundation
import Dispatch
import Core
import DOT
import Clibgraphviz
/**
A GraphViz renderer.
- Important: GraphViz must be available on your system to use these APIs.
*/
public class Renderer {
/// Rendering options.
public struct Options: OptionSet {
public let rawValue: Int
pub... | 32.05042 | 89 | 0.576036 |
29e03d789c2ef2d68882bfb0c8933c776b6533aa | 1,288 | swift | Swift | Sources/Components/SVG.swift | Ckitakishi/PaletteTheme | ebae51e5fa1559d28ebfc7fa6d7aaed623f524b8 | [
"MIT"
] | 6 | 2022-02-22T02:05:49.000Z | 2022-03-29T00:51:17.000Z | Sources/Components/SVG.swift | Ckitakishi/PaletteTheme | ebae51e5fa1559d28ebfc7fa6d7aaed623f524b8 | [
"MIT"
] | null | null | null | Sources/Components/SVG.swift | Ckitakishi/PaletteTheme | ebae51e5fa1559d28ebfc7fa6d7aaed623f524b8 | [
"MIT"
] | null | null | null | //
// ClickableSVG.swift
//
//
// Created by Yuhan Chen on 2022/02/13.
//
import Plot
/// Component used to render a SVG image using an `<svg>` element.
public struct SVG: Component {
/// The svg path
public let path: String
/// The value of view box
public let viewBox: String
/// Create a new ... | 28.622222 | 187 | 0.555901 |
d7f878cf2715ea4de4ead39561d913bd349bc9cf | 2,580 | asm | Assembly | src/spread/monitor.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | src/spread/monitor.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | src/spread/monitor.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | * Spreadsheet 28/12-91
* - monitor cell operations
section prog
include win1_keys_wman
include win1_keys_wstatus
include win1_keys_wwork
include win1_keys_err
include win1_keys_jcb
include win1_keys_qdos_sms
include win1_keys_qdos_io
include win1_mac_oli
include win1_spread_ke... | 18.169014 | 60 | 0.615891 |
e6b2e2bc7417bcddb0f75cd9ba9340e61fc9d14a | 14,863 | swift | Swift | idb_companion/SwiftServer/CompanionServiceProvider.swift | dmitryvinn/idb | 576fe91bdb88e9c8f25bdb93505924b5a50b4b1f | [
"MIT"
] | null | null | null | idb_companion/SwiftServer/CompanionServiceProvider.swift | dmitryvinn/idb | 576fe91bdb88e9c8f25bdb93505924b5a50b4b1f | [
"MIT"
] | null | null | null | idb_companion/SwiftServer/CompanionServiceProvider.swift | dmitryvinn/idb | 576fe91bdb88e9c8f25bdb93505924b5a50b4b1f | [
"MIT"
] | null | null | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import Foundation
import IDBGRPCSwift
import GRPC
import SwiftProtobuf
import NIOHPACK
import XCTestBootstrap
final class Compan... | 49.875839 | 215 | 0.78867 |
b010284a56bd330e7d03d724cd91a39bfc827e4c | 374 | asm | Assembly | pd-x16-build.asm | lvcabral/x16-petdraw | ebe580db6e4a368055cef366003482bee44a3f35 | [
"MIT"
] | null | null | null | pd-x16-build.asm | lvcabral/x16-petdraw | ebe580db6e4a368055cef366003482bee44a3f35 | [
"MIT"
] | null | null | null | pd-x16-build.asm | lvcabral/x16-petdraw | ebe580db6e4a368055cef366003482bee44a3f35 | [
"MIT"
] | null | null | null | //Petdraw (Commander X16 version)
//by David Murray 2019
//dfwgreencars@gmail.com
//
//Converted to KickAssembler
//by Marcelo Lv Cabral 2020
//https://github.com/lvcabral
.cpu _65c02
#import "pd-x16-main.asm"
#import "pd-x16-editor.asm"
#import "pd-x16-pixel.asm"
#import "pd-x16-screen.asm"
#import "pd-x16-disk.asm"... | 20.777778 | 33 | 0.724599 |
cd2e9139a25503dbe102ba5eb90adc219ad3220f | 3,142 | swift | Swift | AviasalesSDKTemplate/Source/AviasalesSource/WaitingScreen/Views/ASTWaitingScreenPlaneSceneView/ASTWaitingScreenPlaneSceneView.swift | wegobook/Aviasales-iOS-SDK | 6ca2f96c2cb901664697b0cb32e4763847bc937b | [
"MIT"
] | 1 | 2018-09-20T21:06:00.000Z | 2018-09-20T21:06:00.000Z | AviasalesSDKTemplate/Source/AviasalesSource/WaitingScreen/Views/ASTWaitingScreenPlaneSceneView/ASTWaitingScreenPlaneSceneView.swift | gitavery/Aviasales-iOS-SDK | 6ca2f96c2cb901664697b0cb32e4763847bc937b | [
"MIT"
] | null | null | null | AviasalesSDKTemplate/Source/AviasalesSource/WaitingScreen/Views/ASTWaitingScreenPlaneSceneView/ASTWaitingScreenPlaneSceneView.swift | gitavery/Aviasales-iOS-SDK | 6ca2f96c2cb901664697b0cb32e4763847bc937b | [
"MIT"
] | null | null | null | //
// ASTWaitingScreenPlaneSceneView.swift
//
// Copyright 2016 Go Travel Un Limited
// This code is distributed under the terms and conditions of the MIT license.
//
import UIKit
class ASTWaitingScreenPlaneSceneView: UIView {
@IBOutlet var view: UIView!
@IBOutlet weak var planeImageView: UIImageView!
... | 34.152174 | 118 | 0.707193 |
dd809b192e6f8c51b2fd29c3908c1a3ab64e1660 | 348 | go | Go | goenv_test.go | fossabot/go-env | 6982ee4a4f057b30e98fde40213b5e141585cbdf | [
"MIT"
] | null | null | null | goenv_test.go | fossabot/go-env | 6982ee4a4f057b30e98fde40213b5e141585cbdf | [
"MIT"
] | null | null | null | goenv_test.go | fossabot/go-env | 6982ee4a4f057b30e98fde40213b5e141585cbdf | [
"MIT"
] | null | null | null | package goenv
import (
"testing"
)
func TestEnvLoadJson(t *testing.T) {
err := Init("test", "json", "env")
if err != nil {
t.Fail()
}
}
func TestEnvReadJson(t *testing.T) {
err := Init("test", "json", "env")
if err != nil {
t.Fail()
}
// test string
var result = Env.GetString("test")
if result != "succ... | 13.92 | 36 | 0.58046 |
f06445d9e657f3edf83224b3b7ffa657190eca68 | 1,975 | js | JavaScript | doc/classes/CSharp/FMOD/DSP_PARAMETER_DESC_UNION-ToolTips.js | Studio58Games/EGG-website | 85098a6472af4b53f5d5be55234eb5a66a37a70a | [
"CC-BY-3.0"
] | null | null | null | doc/classes/CSharp/FMOD/DSP_PARAMETER_DESC_UNION-ToolTips.js | Studio58Games/EGG-website | 85098a6472af4b53f5d5be55234eb5a66a37a70a | [
"CC-BY-3.0"
] | null | null | null | doc/classes/CSharp/FMOD/DSP_PARAMETER_DESC_UNION-ToolTips.js | Studio58Games/EGG-website | 85098a6472af4b53f5d5be55234eb5a66a37a70a | [
"CC-BY-3.0"
] | null | null | null | NDContentPage.OnToolTipsLoaded({1192:"<div class=\"NDToolTip TStruct LCSharp\"><div class=\"NDClassPrototype\" id=\"NDClassPrototype1192\"><div class=\"CPEntry TStruct Current\"><div class=\"CPPrePrototypeLine\"><span class=\"SHMetadata\">[StructLayout(LayoutKind.Sequential)]</span></div><div class=\"CPModifiers\"><sp... | 1,975 | 1,975 | 0.72557 |
a813bed57db0cc6780f1e6b37902c81def8f20d3 | 921 | swift | Swift | LeetCodePractice/LeetCodePractice/Easy3/LC448.swift | White-White/LeetCodePractice | 2d6dd3745124d7b7ea5498acfcd6cf8440637c25 | [
"MIT"
] | null | null | null | LeetCodePractice/LeetCodePractice/Easy3/LC448.swift | White-White/LeetCodePractice | 2d6dd3745124d7b7ea5498acfcd6cf8440637c25 | [
"MIT"
] | null | null | null | LeetCodePractice/LeetCodePractice/Easy3/LC448.swift | White-White/LeetCodePractice | 2d6dd3745124d7b7ea5498acfcd6cf8440637c25 | [
"MIT"
] | null | null | null | /*
Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once.
Find all the elements of [1, n] inclusive that do not appear in this array.
Could you do it without extra space and in O(n) runtime? You may assume the returned list does not count as extra sp... | 22.463415 | 121 | 0.530945 |
e6145bd1d674b6abca6aeb7d26e012be3ffaba28 | 304 | go | Go | utils/unmarshal.go | penguin-statistics/embed-backend | a29ce9916ed543997af074a52f5d9487d0ec8448 | [
"MIT"
] | 6 | 2020-11-28T03:42:06.000Z | 2021-07-05T02:45:14.000Z | utils/unmarshal.go | penguin-statistics/widget-backend | c4bfc2744e8563072df1dcf4bdf77d4e51f918ed | [
"MIT"
] | null | null | null | utils/unmarshal.go | penguin-statistics/widget-backend | c4bfc2744e8563072df1dcf4bdf77d4e51f918ed | [
"MIT"
] | null | null | null | package utils
import (
"encoding/json"
"io"
"io/ioutil"
)
// UnmarshalFromReader unmarshals all data from reader and populates it to v
func UnmarshalFromReader(reader io.Reader, v interface{}) error {
b, err := ioutil.ReadAll(reader)
if err != nil {
return err
}
return json.Unmarshal(b, v)
}
| 17.882353 | 76 | 0.710526 |
d28aa3c4aa73aad2a2872ba358b42c076b8be42e | 1,220 | php | PHP | src/Plugin/BootstrapConsolePlugin.php | spiffyjr/spiffy-framework | fffcec2f23e410140d6c85210f429398a868e5ec | [
"BSD-3-Clause"
] | 2 | 2015-01-31T21:52:19.000Z | 2019-03-12T21:17:20.000Z | src/Plugin/BootstrapConsolePlugin.php | spiffyjr/spiffy-framework | fffcec2f23e410140d6c85210f429398a868e5ec | [
"BSD-3-Clause"
] | null | null | null | src/Plugin/BootstrapConsolePlugin.php | spiffyjr/spiffy-framework | fffcec2f23e410140d6c85210f429398a868e5ec | [
"BSD-3-Clause"
] | 2 | 2015-01-02T01:27:56.000Z | 2019-04-02T18:33:19.000Z | <?php
namespace Spiffy\Framework\Plugin;
use Spiffy\Event\Manager;
use Spiffy\Event\Plugin;
use Spiffy\Framework\Application;
use Spiffy\Framework\ApplicationEvent;
use Spiffy\Framework\ApplicationPackage;
use Spiffy\Framework\ConsoleApplication;
final class BootstrapConsolePlugin implements Plugin
{
/**
* ... | 24.4 | 98 | 0.64918 |
3962137f7b05b48396e038b05631d656dd0246eb | 899 | html | HTML | scss/components/styleguide/profileCard.html | hamed-farag/Nebula-UI-Core | 8a0417c2aa4289740edec22eee4640b4e3150b03 | [
"MIT"
] | null | null | null | scss/components/styleguide/profileCard.html | hamed-farag/Nebula-UI-Core | 8a0417c2aa4289740edec22eee4640b4e3150b03 | [
"MIT"
] | 2 | 2018-06-03T21:16:34.000Z | 2018-06-27T12:59:38.000Z | scss/components/styleguide/profileCard.html | hamed-farag/Nebula-UI | 8a0417c2aa4289740edec22eee4640b4e3150b03 | [
"MIT"
] | null | null | null | <div style="height: 300px;">
<div class="sticky-left-cont profile-left-cont" style="top:45px">
<section class="panel card profile-card">
<div class="blurb">
<a class="blurb-img">
<div class="blurb-photo" style="background-color: #ccc;background-image: url('/di... | 47.315789 | 138 | 0.502781 |
161247549f74dc39e7096cd159df29cf2c40b9e9 | 1,152 | h | C | Engine/Source/Editor/UnrealEd/Classes/Factories/TextureRenderTargetFactoryNew.h | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Editor/UnrealEd/Classes/Factories/TextureRenderTargetFactoryNew.h | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Editor/UnrealEd/Classes/Factories/TextureRenderTargetFactoryNew.h | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
//~=============================================================================
// TextureRenderTargetFactoryNew
//~=============================================================================
#pragma once
#include "CoreMinimal.h"
#include "UObject/Objec... | 29.538462 | 147 | 0.661458 |
d2b0f4ab64933432b6b4b60c60d1c22e23cc06f5 | 1,756 | php | PHP | src/domain/Domain.php | yii2bundle/telegram | 0a2c5105f5bef32276f174a8f1f193895a238715 | [
"MIT"
] | null | null | null | src/domain/Domain.php | yii2bundle/telegram | 0a2c5105f5bef32276f174a8f1f193895a238715 | [
"MIT"
] | null | null | null | src/domain/Domain.php | yii2bundle/telegram | 0a2c5105f5bef32276f174a8f1f193895a238715 | [
"MIT"
] | null | null | null | <?php
namespace yii2bundle\telegram\domain;
use yii2rails\domain\enums\Driver;
/**
* Class Domain
*
* @package yii2bundle\telegram\domain
* @property-read \yii2bundle\telegram\domain\interfaces\services\BotInterface $bot
* @property-read \yii2bundle\telegram\domain\interfaces\repositories\RepositoriesInterface... | 35.836735 | 105 | 0.645786 |
85a34a01baeb19403101a12e4bb0b31a19a62cda | 4,515 | swift | Swift | CodeReady Containers/DaemonCommander/DaemonCommander.swift | anjannath/tray-macos | aa731f16ad580a192a4e693c826a30fb20b98051 | [
"Apache-2.0"
] | null | null | null | CodeReady Containers/DaemonCommander/DaemonCommander.swift | anjannath/tray-macos | aa731f16ad580a192a4e693c826a30fb20b98051 | [
"Apache-2.0"
] | null | null | null | CodeReady Containers/DaemonCommander/DaemonCommander.swift | anjannath/tray-macos | aa731f16ad580a192a4e693c826a30fb20b98051 | [
"Apache-2.0"
] | null | null | null | //
// DaemonCommander.swift
// CodeReady Containers
//
// Created by Anjan Nath on 21/11/19.
// Copyright © 2019 Red Hat. All rights reserved.
//
import Socket
import Foundation
class DaemonCommander {
var daemonSocket: Socket? = nil
var socketPath: String
static var bufferSize = 1024
init(so... | 28.21875 | 100 | 0.613511 |
85b9d673c2832b323b500257b988fb85c5838f7f | 366 | rs | Rust | src/context.rs | ymtdzzz/oidc-rs | 1810765188c3427afe34e1b79d1e4620cf74bb07 | [
"MIT"
] | null | null | null | src/context.rs | ymtdzzz/oidc-rs | 1810765188c3427afe34e1b79d1e4620cf74bb07 | [
"MIT"
] | null | null | null | src/context.rs | ymtdzzz/oidc-rs | 1810765188c3427afe34e1b79d1e4620cf74bb07 | [
"MIT"
] | null | null | null | use serde::Serialize;
#[derive(Serialize)]
pub struct LoginContext {
pub error_msg: Option<String>,
pub login_challenge: String,
pub state: Option<String>,
}
#[derive(Serialize)]
pub struct ConsentContext {
pub consent_challenge: String,
pub state: Option<String>,
}
#[derive(Serialize)]
pub struc... | 18.3 | 34 | 0.70765 |
b0996f68c9f07648a6be489ca68bf90124033359 | 869 | sql | SQL | sql_map/loadAUHdata.sql | thehyve/ohdsi-drug-mapping | 90b441b210983c15acca1588d10bf2be91e2b842 | [
"Apache-2.0"
] | 3 | 2017-07-25T22:10:07.000Z | 2018-05-31T01:35:48.000Z | sql_map/loadAUHdata.sql | thehyve/ohdsi-drug-mapping | 90b441b210983c15acca1588d10bf2be91e2b842 | [
"Apache-2.0"
] | null | null | null | sql_map/loadAUHdata.sql | thehyve/ohdsi-drug-mapping | 90b441b210983c15acca1588d10bf2be91e2b842 | [
"Apache-2.0"
] | null | null | null | /* Copy source data to auh schema of sql table */
-- 19-04-2016 switched to relative \copy. Let op: geen enters toegestaan
/* "AUH Medication Varenr and frequencies.xlsx" */
CREATE TABLE IF NOT EXISTS auh.frequencies (
vnr INTEGER PRIMARY KEY,
frequency INTEGER
);
\copy auh.frequencies FROM 'input_datasets/AUH Med... | 34.76 | 101 | 0.726122 |
2a305861d08d79d8da4821f54fd9d58b8752d2bd | 4,343 | java | Java | 2018-RidePlanner/MotorCycleRidePlanner-partial/web/src/main/java/org/solent/examples/com600/mcride/web/rest/ExampleProjectRestImpl.java | Spleggy/solent4Public | 2aeb1c0878e66e87604d9ae976a5f7d4046f37cd | [
"Apache-2.0"
] | 3 | 2019-02-05T12:07:30.000Z | 2021-04-06T02:46:45.000Z | 2018-RidePlanner/MotorCycleRidePlanner-partial/web/src/main/java/org/solent/examples/com600/mcride/web/rest/ExampleProjectRestImpl.java | Spleggy/solent4Public | 2aeb1c0878e66e87604d9ae976a5f7d4046f37cd | [
"Apache-2.0"
] | 19 | 2021-12-10T01:50:36.000Z | 2022-03-31T22:46:44.000Z | 2018-RidePlanner/MotorCycleRidePlanner-partial/web/src/main/java/org/solent/examples/com600/mcride/web/rest/ExampleProjectRestImpl.java | Spleggy/solent4Public | 2aeb1c0878e66e87604d9ae976a5f7d4046f37cd | [
"Apache-2.0"
] | 9 | 2019-09-25T08:49:42.000Z | 2020-10-07T14:02:05.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.solent.examples.com600.mcride.web.rest;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
impor... | 40.971698 | 103 | 0.674649 |
8750b9066dd93c9686da725aeadfcf4b745ec3b8 | 2,226 | html | HTML | public/api/wp-content/themes/dctb-react/src/templates/contact.html | diogocezar/dctb-wp-react-boilerplate | f1ad2c4ee58a37de5872027216acb28bd766e3db | [
"Apache-2.0"
] | 4 | 2018-07-16T19:55:27.000Z | 2018-07-17T15:44:46.000Z | public/api/wp-content/themes/dctb-react/src/templates/contact.html | diogocezar/dctb-wp-react-boilerplate | f1ad2c4ee58a37de5872027216acb28bd766e3db | [
"Apache-2.0"
] | null | null | null | public/api/wp-content/themes/dctb-react/src/templates/contact.html | diogocezar/dctb-wp-react-boilerplate | f1ad2c4ee58a37de5872027216acb28bd766e3db | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html lang="pt-br">
<head>
<title>{title}</title>
<meta charset="utf-8"/>
</head>
<body>
<table cellspacing="0" cellpadding="0" width="700" align="center" bgcolor="#fff" border="0">
<tr>
<td bgcolor="#EEEEEE" align="center">
</td>
</tr>
<tr>
<td align="center" style="padding: 10px 30p... | 54.292683 | 285 | 0.688679 |
25cc97368ecdf25d523bc4f2ea07c87f61ff96cc | 3,982 | swift | Swift | Honey Due/ListsViewController.swift | ScottLegrove/HoneyDueIOS | f6b58742d5f67820e4eff7c21769795b59a826bd | [
"MIT"
] | null | null | null | Honey Due/ListsViewController.swift | ScottLegrove/HoneyDueIOS | f6b58742d5f67820e4eff7c21769795b59a826bd | [
"MIT"
] | null | null | null | Honey Due/ListsViewController.swift | ScottLegrove/HoneyDueIOS | f6b58742d5f67820e4eff7c21769795b59a826bd | [
"MIT"
] | null | null | null | //
// ListsViewController.swift
// Honey Due
//
// Created by Tech on 2016-04-13.
// Copyright © 2016 Scott Legrove. All rights reserved.
//
import UIKit
import Darwin
class ListsViewController: UITableViewController{
var uToken: String?
var listArray: Array<List>?
var uPrefs: NSUserDefaults?
... | 34.327586 | 157 | 0.649674 |
25f5fe05b700f7a46b1f9aeddefc8d955256dd98 | 293 | sql | SQL | GRA.Database/dbo/Stored Procedures/app_ProgramGamePointConversion_GetByID.sql | iafb/greatreadingadventure | 254acc11ca0b2acafd032ab2d2efafe99ff4980c | [
"MIT"
] | null | null | null | GRA.Database/dbo/Stored Procedures/app_ProgramGamePointConversion_GetByID.sql | iafb/greatreadingadventure | 254acc11ca0b2acafd032ab2d2efafe99ff4980c | [
"MIT"
] | null | null | null | GRA.Database/dbo/Stored Procedures/app_ProgramGamePointConversion_GetByID.sql | iafb/greatreadingadventure | 254acc11ca0b2acafd032ab2d2efafe99ff4980c | [
"MIT"
] | null | null | null |
/****** Object: StoredProcedure [dbo].[app_ProgramGamePointConversion_GetByID] Script Date: 01/05/2015 14:43:25 ******/
--Create the Select Proc
CREATE PROCEDURE [dbo].[app_ProgramGamePointConversion_GetByID] @PGCID INT
AS
SELECT *
FROM [ProgramGamePointConversion]
WHERE PGCID = @PGCID
| 32.555556 | 123 | 0.757679 |
6de57a4a8bc39c4a256e14c89490a673d84dc06e | 1,728 | kt | Kotlin | http4k-security/digest/src/main/kotlin/org/http4k/security/digest/DigestEncoder.kt | kiyadotdev/http4k | 01ce07a94f30bcca93cea63c89090642810dc416 | [
"Apache-2.0"
] | 2,134 | 2017-05-08T14:21:10.000Z | 2022-03-31T22:57:07.000Z | http4k-security/digest/src/main/kotlin/org/http4k/security/digest/DigestEncoder.kt | kiyadotdev/http4k | 01ce07a94f30bcca93cea63c89090642810dc416 | [
"Apache-2.0"
] | 490 | 2017-05-19T07:49:00.000Z | 2022-03-24T15:31:29.000Z | http4k-security/digest/src/main/kotlin/org/http4k/security/digest/DigestEncoder.kt | kiyadotdev/http4k | 01ce07a94f30bcca93cea63c89090642810dc416 | [
"Apache-2.0"
] | 241 | 2017-05-10T15:00:33.000Z | 2022-03-26T18:13:29.000Z | package org.http4k.security.digest
import org.http4k.core.Method
import org.http4k.security.Nonce
import org.http4k.security.digest.Qop.Auth
import org.http4k.security.digest.Qop.AuthInt
import org.http4k.util.Hex
import java.nio.charset.Charset
import java.security.MessageDigest
import kotlin.text.Charsets.ISO_8859_1... | 33.882353 | 101 | 0.645833 |
71b630474f2302b9fbba8243274110f7bbfc397a | 1,096 | ts | TypeScript | application/src/app/templates/meme-editor/meme-editor.component.spec.ts | Nalhin/Planner | 03cfdcc751941b8d74bdf988d734129c66bdfdee | [
"MIT"
] | 1 | 2020-09-13T21:04:57.000Z | 2020-09-13T21:04:57.000Z | application/src/app/templates/meme-editor/meme-editor.component.spec.ts | Nalhin/Planner | 03cfdcc751941b8d74bdf988d734129c66bdfdee | [
"MIT"
] | 7 | 2020-06-30T14:44:41.000Z | 2020-08-04T20:36:17.000Z | application/src/app/templates/meme-editor/meme-editor.component.spec.ts | Nalhin/Planner | 03cfdcc751941b8d74bdf988d734129c66bdfdee | [
"MIT"
] | null | null | null | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MemeEditorComponent } from './meme-editor.component';
import { MemeCanvasComponent } from './meme-canvas/meme-canvas.component';
import { MemeTextComponent } from './meme-text/meme-text.component';
import { MemeTextPanelComponent } from... | 31.314286 | 85 | 0.699818 |
e7f60dd013f54bbf4fa181ff948f295cdc87e462 | 1,893 | py | Python | tests/mock_dbcli_config.py | bluelabsio/db-facts | fc8faa59f450a5cc00a0e50160ca57e47291b375 | [
"Apache-2.0"
] | 2 | 2020-11-25T20:11:50.000Z | 2020-12-12T18:39:09.000Z | tests/mock_dbcli_config.py | bluelabsio/db-facts | fc8faa59f450a5cc00a0e50160ca57e47291b375 | [
"Apache-2.0"
] | 5 | 2020-01-24T15:05:50.000Z | 2020-02-29T13:34:40.000Z | tests/mock_dbcli_config.py | bluelabsio/db-facts | fc8faa59f450a5cc00a0e50160ca57e47291b375 | [
"Apache-2.0"
] | 1 | 2021-05-16T17:07:40.000Z | 2021-05-16T17:07:40.000Z | mock_dbcli_config = {
'exports_from': {
'lpass': {
'pull_lastpass_from': "{{ lastpass_entry }}",
},
'lpass_user_and_pass_only': {
'pull_lastpass_username_password_from': "{{ lastpass_entry }}",
},
'my-json-script': {
'json_script': [
... | 28.253731 | 86 | 0.43159 |
46e12a16b4f0161955a38380dda1cb512d9fe4d2 | 856 | css | CSS | public/css/somos.css | Kyiv85/arma-dev | 5c9f1e80595d565e7d4ad1aef7537090789de09e | [
"MIT"
] | null | null | null | public/css/somos.css | Kyiv85/arma-dev | 5c9f1e80595d565e7d4ad1aef7537090789de09e | [
"MIT"
] | null | null | null | public/css/somos.css | Kyiv85/arma-dev | 5c9f1e80595d565e7d4ad1aef7537090789de09e | [
"MIT"
] | null | null | null | @media (max-width:767px){h2{padding-top:20px;padding-bottom:10px;font-size:20px}.somos-img img{height:80px;margin-bottom:20px}}@media (min-width:767px) and (max-width:991px){h2{padding-top:30px;padding-bottom:20px;font-size:26px}}@media (min-width:991px){h2{padding-top:40px;padding-bottom:30px;font-size:32px}}.somos{pa... | 856 | 856 | 0.768692 |
0ef3f878530206810900f4c0b2d73824e3766fcb | 15,010 | c | C | src/xrt/compositor/client/comp_gl_client.c | mateosss/monado | 5c6158cc8bbd92add1aa38bf44164cd9d0386900 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2021-02-25T19:36:30.000Z | 2021-02-25T19:36:30.000Z | src/xrt/compositor/client/comp_gl_client.c | mateosss/monado | 5c6158cc8bbd92add1aa38bf44164cd9d0386900 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/xrt/compositor/client/comp_gl_client.c | mateosss/monado | 5c6158cc8bbd92add1aa38bf44164cd9d0386900 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | // Copyright 2019-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
* @brief OpenGL client side glue to compositor implementation.
* @author Jakob Bornecrantz <jakob@collabora.com>
* @ingroup comp_client
*/
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#inclu... | 31.6 | 118 | 0.712592 |
68e05d38d8d87d85094cf27f25bba6c1c7794d60 | 5,913 | swift | Swift | Pods/RxSwift/RxSwift/RxSwift/Observables/Implementations/Catch.swift | cfraz89/moonrock-ios | 848e11fd896aed1ce62d225b6d4624efce9d575f | [
"Apache-2.0"
] | null | null | null | Pods/RxSwift/RxSwift/RxSwift/Observables/Implementations/Catch.swift | cfraz89/moonrock-ios | 848e11fd896aed1ce62d225b6d4624efce9d575f | [
"Apache-2.0"
] | null | null | null | Pods/RxSwift/RxSwift/RxSwift/Observables/Implementations/Catch.swift | cfraz89/moonrock-ios | 848e11fd896aed1ce62d225b6d4624efce9d575f | [
"Apache-2.0"
] | null | null | null | //
// Catch.swift
// RxSwift
//
// Created by Krunoslav Zaher on 4/19/15.
// Copyright (c) 2015 Krunoslav Zaher. All rights reserved.
//
import Foundation
// catch with callback
class CatchSinkProxy<O: ObserverType> : ObserverType {
typealias Element = O.Element
typealias Parent = CatchSink<O>
l... | 28.703883 | 155 | 0.59885 |
e9c5eb6641addc5bf3a74954cebe7ac53ef86aaf | 46,327 | swift | Swift | DamdaCam/View Controllers/Making AR/MakingARViewController.swift | YebinKim/DamdaCam | 92cbd4321f345aa471d99284366def9cd7119986 | [
"Apache-2.0"
] | 6 | 2019-12-10T08:03:45.000Z | 2020-04-15T05:32:00.000Z | DamdaCam/View Controllers/Making AR/MakingARViewController.swift | YebinKim/DamdaCam | 92cbd4321f345aa471d99284366def9cd7119986 | [
"Apache-2.0"
] | null | null | null | DamdaCam/View Controllers/Making AR/MakingARViewController.swift | YebinKim/DamdaCam | 92cbd4321f345aa471d99284366def9cd7119986 | [
"Apache-2.0"
] | 2 | 2020-06-09T00:03:54.000Z | 2021-07-26T08:10:37.000Z | //
// MakingARViewController.swift
// DamdaCam
//
// Created by 김예빈 on 2019. 3. 30..
// Copyright © 2019년 김예빈. All rights reserved.
//
import UIKit
import CoreData
import FlexColorPicker
final class MakingARViewController: UIViewController {
static var identifier: String {
return String(describing: s... | 39.561913 | 157 | 0.609191 |
a11c3e278c4279b3d196c2272af3450470049d0e | 1,807 | go | Go | src/backend/booster/bk_dist/common/flock/flock.go | Kinway050/bk-ci | 86fa21d345d9c06b3f6857ba38d8d8d0d96ca7e3 | [
"MIT"
] | null | null | null | src/backend/booster/bk_dist/common/flock/flock.go | Kinway050/bk-ci | 86fa21d345d9c06b3f6857ba38d8d8d0d96ca7e3 | [
"MIT"
] | 30 | 2021-12-28T08:51:13.000Z | 2022-02-28T02:31:02.000Z | src/backend/booster/bk_dist/common/flock/flock.go | Kinway050/bk-ci | 86fa21d345d9c06b3f6857ba38d8d8d0d96ca7e3 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2021 THL A29 Limited, a Tencent company. All rights reserved
*
* This source code file is licensed under the MIT License, you may obtain a copy of the License at
*
* http://opensource.org/licenses/MIT
*
*/
package flock
import (
"os"
"os/exec"
"path/filepath"
"github.com/gofrs/flock"
)
... | 18.822917 | 99 | 0.691754 |
2f42e93da108ee4deb226ed492b0108ece5e2d0b | 3,457 | sql | SQL | src/main/resources/db/migration/V1__init.sql | opengl-8080/washington | 24ccd9a90cdbf866aa980d82eb6471b41ec3e667 | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V1__init.sql | opengl-8080/washington | 24ccd9a90cdbf866aa980d82eb6471b41ec3e667 | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V1__init.sql | opengl-8080/washington | 24ccd9a90cdbf866aa980d82eb6471b41ec3e667 | [
"MIT"
] | null | null | null | CREATE TABLE proposed_dates (
id_date DATE NOT NULL,
round VARCHAR(50),
content VARCHAR(1000),
reserved SMALLINT NOT NULL,
CONSTRAINT proposed_dates_pk PRIMARY KEY (id_date)
);
CREATE TABLE members (
login_id VARCHAR(30) NOT NULL,
name VARCHAR(30) NOT NULL,
CONSTRAINT m... | 32.613208 | 98 | 0.683251 |
4388fff1ecf057c73f938c217d6c8dc665f92db3 | 561 | dart | Dart | lib/application/exercise/selection/selection_cubit.dart | KiritchoukC/power_progress | 2e58821d15b6cf57a92c070337fe559bc0127364 | [
"MIT"
] | 4 | 2020-04-29T18:27:19.000Z | 2020-10-12T16:02:10.000Z | lib/application/exercise/selection/selection_cubit.dart | KiritchoukC/power_progress | 2e58821d15b6cf57a92c070337fe559bc0127364 | [
"MIT"
] | 61 | 2020-04-16T19:50:58.000Z | 2020-08-25T13:45:02.000Z | lib/application/exercise/selection/selection_cubit.dart | KiritchoukC/power_progress | 2e58821d15b6cf57a92c070337fe559bc0127364 | [
"MIT"
] | 1 | 2020-05-24T16:12:45.000Z | 2020-05-24T16:12:45.000Z | import 'package:bloc/bloc.dart';
import 'package:flutter/foundation.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
part 'selection_state.dart';
part 'selection_cubit.freezed.dart';
class SelectionCubit extends Cubit<SelectionState> {
SelectionCubit() : super(const SelectionState.initial());
... | 33 | 68 | 0.771836 |
e51337c22a5dbc6b20651ce856479a03fadbf2f5 | 1,083 | tsx | TypeScript | client/src/components/HomePageCommandBar.tsx | victoriademina/AzureLTIAssessmentApp | 6f21b3ea900bfa990886c45df5e306228526734c | [
"MIT"
] | 6 | 2021-09-28T12:13:05.000Z | 2022-02-08T21:22:20.000Z | client/src/components/HomePageCommandBar.tsx | victoriademina/AzureLTIAssessmentApp | 6f21b3ea900bfa990886c45df5e306228526734c | [
"MIT"
] | 12 | 2021-09-08T21:16:29.000Z | 2022-03-15T08:59:05.000Z | client/src/components/HomePageCommandBar.tsx | victoriademina/AzureLTIAssessmentApp | 6f21b3ea900bfa990886c45df5e306228526734c | [
"MIT"
] | 4 | 2021-09-08T19:05:42.000Z | 2022-01-27T20:29:50.000Z | import * as React from 'react';
import { CommandBar, ICommandBarItemProps } from '@fluentui/react/lib/CommandBar';
import { IButtonProps } from '@fluentui/react/lib/Button';
import {useHistory} from "react-router-dom";
const overflowProps: IButtonProps = { ariaLabel: 'More commands' };
export const CommandBarBasicExa... | 33.84375 | 90 | 0.599261 |