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
0b57844b6fc847c94e6d69c32ba1624b13f6dfa7
366
py
Python
codes/day7_task1.py
tayyrov/AdventOfCode
69003407fd345ea76f8125b4b132e5b5d5ea33ab
[ "MIT" ]
1
2021-12-07T10:54:48.000Z
2021-12-07T10:54:48.000Z
codes/day7_task1.py
tayyrov/AdventOfCode
69003407fd345ea76f8125b4b132e5b5d5ea33ab
[ "MIT" ]
null
null
null
codes/day7_task1.py
tayyrov/AdventOfCode
69003407fd345ea76f8125b4b132e5b5d5ea33ab
[ "MIT" ]
null
null
null
""" Advent Of Code 2021 Day 7 Date: 07-12-2021 Site: https://adventofcode.com/2021/day/7 Author: Tayyrov """ import sys file1 = open('../input_files/day7_input', 'r') numbers = list(map(int, file1.readlines()[0].split(","))) numbers.sort() middle = numbers[len(numbers)//2] ans = 0 for n in numb...
15.25
58
0.620219
0809153a76a73cc439ba6534a542b6b04981c3e5
2,201
html
HTML
www/data/greece/city/vouliagmeni.html
landho-app/landho-phonegap
1b0390ffccf78a9fab4b4280ab4512fe4fea25fb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
www/data/greece/city/vouliagmeni.html
landho-app/landho-phonegap
1b0390ffccf78a9fab4b4280ab4512fe4fea25fb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
www/data/greece/city/vouliagmeni.html
landho-app/landho-phonegap
1b0390ffccf78a9fab4b4280ab4512fe4fea25fb
[ "ECL-2.0", "Apache-2.0" ]
1
2018-12-07T16:57:24.000Z
2018-12-07T16:57:24.000Z
<div id="noonsite-sections"> <h1> <img alt="" height="36" src="/images/flags/gr.gif/image" title="" width="54"/>  Vouliagmeni - Profile </h1> <h2 id="Location"> Location </h2> <div class="hello"><div><p>This is a very attractively situa...
34.936508
218
0.60109
27c87e89891a646c79291129f2f257a632d4aa8d
1,173
css
CSS
style.css
forklor/lathe
bfad88fa9086080f15f9c2d1c9f8aca0a4ad8dfb
[ "MIT" ]
11
2019-07-17T13:43:21.000Z
2021-03-28T16:31:04.000Z
style.css
forklor/lathe
bfad88fa9086080f15f9c2d1c9f8aca0a4ad8dfb
[ "MIT" ]
8
2019-07-24T09:50:30.000Z
2021-05-18T14:42:12.000Z
style.css
forklor/lathe
bfad88fa9086080f15f9c2d1c9f8aca0a4ad8dfb
[ "MIT" ]
null
null
null
/* Theme Name: My Lathe Theme Theme URI: https://github.com/danburzo/lathe Author: Dan Burzo Author URI: https://github.com/danburzo Description: A Timber-based WordPress starter theme Version: 0.4 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: timb...
12.612903
54
0.670077
6b88965504b0528a2db2ad25e18a7079495b1a63
239
lua
Lua
testy/enum_pmu_ids.lua
Wiladams/LJIT2perfmon
2925117a1d032a92e29647f8fba7d5344186196d
[ "MIT" ]
1
2015-05-15T13:00:02.000Z
2015-05-15T13:00:02.000Z
testy/enum_pmu_ids.lua
Wiladams/LJIT2perfmon
2925117a1d032a92e29647f8fba7d5344186196d
[ "MIT" ]
null
null
null
testy/enum_pmu_ids.lua
Wiladams/LJIT2perfmon
2925117a1d032a92e29647f8fba7d5344186196d
[ "MIT" ]
null
null
null
-- test_present_pmus.lua package.path = package.path..";".."../?.lua" local fun = require("fun")() local pmu = require("pmu") local pfm = require("pfmlib") each(print, map(function(id) return id, pfm.EventSources[id] end, pmu:ids()))
21.727273
78
0.661088
9c27f5183e57de4a87817fb6304cf8bb3d1dafe5
7,885
js
JavaScript
srv/odata-client/sapb-1-service/TaxCodeDeterminationsTcd.js
gregorwolf/sap-business-one-odata-cap
f01d9c0488c2448ca2db633ff6fd02a80ff820fd
[ "Apache-2.0" ]
1
2022-01-21T00:00:07.000Z
2022-01-21T00:00:07.000Z
srv/odata-client/sapb-1-service/TaxCodeDeterminationsTcd.js
gregorwolf/sap-business-one-odata-cap
f01d9c0488c2448ca2db633ff6fd02a80ff820fd
[ "Apache-2.0" ]
null
null
null
srv/odata-client/sapb-1-service/TaxCodeDeterminationsTcd.js
gregorwolf/sap-business-one-odata-cap
f01d9c0488c2448ca2db633ff6fd02a80ff820fd
[ "Apache-2.0" ]
1
2020-05-06T10:16:42.000Z
2020-05-06T10:16:42.000Z
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.protot...
52.218543
230
0.725428
60e90a0362a017bcfe4b20599e3859a61e32f472
2,727
kt
Kotlin
app/src/main/java/com/compose/app/MainActivity.kt
shishoufengwise1234/JetpackComposeSimple
83940d0ecdbf7fe2b3f2f600fccba1a81e7c068d
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/compose/app/MainActivity.kt
shishoufengwise1234/JetpackComposeSimple
83940d0ecdbf7fe2b3f2f600fccba1a81e7c068d
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/compose/app/MainActivity.kt
shishoufengwise1234/JetpackComposeSimple
83940d0ecdbf7fe2b3f2f600fccba1a81e7c068d
[ "Apache-2.0" ]
null
null
null
package com.compose.app import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.Image import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.Mater...
30.988636
95
0.679868
7d6efec0e96c9aefe717db54af6a694942ed94ed
45
html
HTML
test/fixtures/attributes/shorthand/foo.html
inikonorov/boxwood
3f6ddb05ed0f8b2ce8fddb83af9f5e56ab52d26a
[ "MIT" ]
17
2020-04-16T03:54:33.000Z
2021-04-15T07:59:21.000Z
test/fixtures/attributes/shorthand/foo.html
inikonorov/boxwood
3f6ddb05ed0f8b2ce8fddb83af9f5e56ab52d26a
[ "MIT" ]
221
2018-11-18T21:17:01.000Z
2020-03-31T11:48:31.000Z
test/fixtures/attributes/shorthand/foo.html
inikonorov/boxwood
3f6ddb05ed0f8b2ce8fddb83af9f5e56ab52d26a
[ "MIT" ]
4
2020-04-15T15:43:46.000Z
2022-02-02T12:08:02.000Z
<import bar from="./bar.html"/> <bar {foo} />
22.5
31
0.577778
27d8b58ecd26a7d80afa4d1b1a7b8cee9d64ee4f
2,566
css
CSS
style.css
Monica-Ribeiro/Portif-lio-HTML
c48a01a050d6c0e9fdf8a808975fb9ec185f0fe4
[ "MIT" ]
6
2020-11-28T23:10:28.000Z
2020-12-05T06:45:37.000Z
style.css
Monica-Ribeiro/Portifolio-HTML
c48a01a050d6c0e9fdf8a808975fb9ec185f0fe4
[ "MIT" ]
null
null
null
style.css
Monica-Ribeiro/Portifolio-HTML
c48a01a050d6c0e9fdf8a808975fb9ec185f0fe4
[ "MIT" ]
null
null
null
@import url('https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@400;500;600;700&family=Josefin+Slab:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Mulish:ital,wght@0,200;0,300;0,400;0,500;1,200;1,300;1,400&display=swap'); @import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0-2/css/a...
26.453608
239
0.602884
c323e6f326d1092952eb03f5490a94c0fc6fc1ad
25,184
rs
Rust
crates/tm4c129x/src/adc0/emux.rs
dtwood/dslite2svd
2a3210d954c58e7de76a0ae657e809aa8542a5ea
[ "0BSD" ]
null
null
null
crates/tm4c129x/src/adc0/emux.rs
dtwood/dslite2svd
2a3210d954c58e7de76a0ae657e809aa8542a5ea
[ "0BSD" ]
null
null
null
crates/tm4c129x/src/adc0/emux.rs
dtwood/dslite2svd
2a3210d954c58e7de76a0ae657e809aa8542a5ea
[ "0BSD" ]
null
null
null
#[doc = "Reader of register EMUX"] pub type R = crate::R<u32, super::EMUX>; #[doc = "Writer for register EMUX"] pub type W = crate::W<u32, super::EMUX>; #[doc = "Register EMUX `reset()`'s with value 0"] impl crate::ResetValue for super::EMUX { type Type = u32; #[inline(always)] fn reset_value() -> Self::Typ...
28.328459
86
0.511992
c617456f5264d5397da59e2d1a73076eaefd75a3
59,885
asm
Assembly
cat.asm
jhsie007/xv6
237fe356270a548f3171bd206771d6b9f29776c4
[ "MIT-0" ]
null
null
null
cat.asm
jhsie007/xv6
237fe356270a548f3171bd206771d6b9f29776c4
[ "MIT-0" ]
null
null
null
cat.asm
jhsie007/xv6
237fe356270a548f3171bd206771d6b9f29776c4
[ "MIT-0" ]
null
null
null
_cat: file format elf32-i386 Disassembly of section .text: 00001000 <cat>: char buf[512]; void cat(int fd) { 1000: 55 push %ebp 1001: 89 e5 mov %esp,%ebp 1003: 83 ec 28 sub $0x28,%esp int n; while((n = read(fd, buf, sizeof(buf))) > 0) ...
36.559829
64
0.424313
9c72c26528444de6697e94f7d74944a0aada2e82
4,619
js
JavaScript
src/Calendar/util.js
AppianZ/saltui
81230abba452b29da030262fa37237fb228ff507
[ "MIT" ]
257
2017-06-23T01:44:52.000Z
2022-01-12T06:47:44.000Z
src/Calendar/util.js
AppianZ/saltui
81230abba452b29da030262fa37237fb228ff507
[ "MIT" ]
305
2017-03-09T06:22:48.000Z
2022-02-10T01:06:52.000Z
src/Calendar/util.js
AppianZ/saltui
81230abba452b29da030262fa37237fb228ff507
[ "MIT" ]
100
2017-09-01T10:02:26.000Z
2022-01-12T06:40:58.000Z
import React from 'react'; import cloneDeep from 'lodash/cloneDeep'; import formatter from './formatter'; import localeMap from './locale'; function isSameDay(day1, day2) { return (this.isNil(day1) && this.isNil(day2)) || parseInt(day1, 10) === parseInt(day2, 10) || formatter(day1, 'YYYY-MM-DD') === formatte...
26.545977
103
0.628708
3e3de0e04f93716d42e2081144bc82d7e581a1b9
813
h
C
WoWPluginBox/Classes/Entities/MonomerPlugin/MoGuPluginList.h
hohaiuhsx/WoWPluginBox
4a9dd7105be0e48c1bcaf831155a9afec9b28921
[ "Apache-2.0" ]
3
2019-10-06T05:31:56.000Z
2019-12-18T03:20:33.000Z
WoWPluginBox/Classes/Entities/MonomerPlugin/MoGuPluginList.h
hohaiuhsx/WoWPluginBox
4a9dd7105be0e48c1bcaf831155a9afec9b28921
[ "Apache-2.0" ]
1
2019-09-23T11:31:31.000Z
2019-09-27T05:28:51.000Z
WoWPluginBox/Classes/Entities/MonomerPlugin/MoGuPluginList.h
hohaiuhsx/WoWPluginBox
4a9dd7105be0e48c1bcaf831155a9afec9b28921
[ "Apache-2.0" ]
null
null
null
// // MoGuPluginList.h // HuangShixin // // Created by HuangShixin on 14-11-3. // Copyright HuangShixin 2014年. All rights reserved. // #import "BaseJSONModel.h" @class MoGuPluginList_PItem; @protocol MoGuPluginList_PItem @end @interface MoGuPluginList : BaseJSONModel @property (nonatomic,copy) NSString *DownLo...
19.829268
62
0.753998
350b899a8e0bca817b86dd57a47f182e3919b3c8
1,496
swift
Swift
WhiskeyLocker-iOS/App/ClaimNewLocker/ViewModel/ClaimNewLockerViewModel.swift
MonikaMateska/WhiskyLocker
f8b5f0755afaeae82d54447b13cd320a9a6a1bbb
[ "MIT" ]
null
null
null
WhiskeyLocker-iOS/App/ClaimNewLocker/ViewModel/ClaimNewLockerViewModel.swift
MonikaMateska/WhiskyLocker
f8b5f0755afaeae82d54447b13cd320a9a6a1bbb
[ "MIT" ]
null
null
null
WhiskeyLocker-iOS/App/ClaimNewLocker/ViewModel/ClaimNewLockerViewModel.swift
MonikaMateska/WhiskyLocker
f8b5f0755afaeae82d54447b13cd320a9a6a1bbb
[ "MIT" ]
null
null
null
import SwiftUI enum ClaimLockerSteps: String { case searchingQrCode case inProcess case successful case failed } class ClaimNewLockerViewModel<C:RootCoordinator>: ViewModel<C>, ObservableObject { @Published var torchIsOn: Bool = false @Published var lastQrCode: String = "Qr-code goes here...
29.92
91
0.639037
c33f88b0f0f57f4d3282c250f7b84280ba5ea56b
10,936
kt
Kotlin
src/main/kotlin/byeduck/lunchroom/room/service/RoomServiceImpl.kt
BYEDUCK/lunch_room
b2fdc66c120bea9c62a05f861e46611fa1983bdd
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/byeduck/lunchroom/room/service/RoomServiceImpl.kt
BYEDUCK/lunch_room
b2fdc66c120bea9c62a05f861e46611fa1983bdd
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/byeduck/lunchroom/room/service/RoomServiceImpl.kt
BYEDUCK/lunch_room
b2fdc66c120bea9c62a05f861e46611fa1983bdd
[ "Apache-2.0" ]
null
null
null
package byeduck.lunchroom.room.service import byeduck.lunchroom.domain.Lottery import byeduck.lunchroom.domain.LunchProposal import byeduck.lunchroom.domain.Room import byeduck.lunchroom.domain.RoomUser import byeduck.lunchroom.error.exceptions.* import byeduck.lunchroom.lunch.exceptions.LunchProposalNotFoundException...
41.740458
128
0.66688
404e150885f66723b414bff184cd425de6378c0a
2,091
py
Python
python/xiqu.py
reverland/scripts
c7ad9005b26adcd5df8726b3c3d86a7f4a19e513
[ "MIT" ]
13
2015-02-09T05:40:51.000Z
2020-05-18T00:56:27.000Z
python/xiqu.py
reverland/scripts
c7ad9005b26adcd5df8726b3c3d86a7f4a19e513
[ "MIT" ]
null
null
null
python/xiqu.py
reverland/scripts
c7ad9005b26adcd5df8726b3c3d86a7f4a19e513
[ "MIT" ]
5
2015-01-23T15:35:10.000Z
2021-12-29T10:06:50.000Z
#! /bin/env python # -*- coding: gbk -*- """Download xiqu""" import urllib import urllib2 import gevent from gevent import monkey import re from urlparse import urlparse from posixpath import basename monkey.patch_all() def worker(reg, url): """docstring for worker""" res = urllib.urlopen(url) reg3 = ...
29.450704
86
0.575323
47f4cffdcefe422656d1ac7748d685972bd58ab4
645
kt
Kotlin
testing/options/src/test/kotlin/com/toasttab/protokt/testing/options/CustomMarshallersTest.kt
todd-toast/protokt
3705fd270038b6488ff5a10316dc838ac5af7b41
[ "Apache-2.0" ]
88
2020-01-23T16:22:15.000Z
2022-02-09T22:20:03.000Z
testing/options/src/test/kotlin/com/toasttab/protokt/testing/options/CustomMarshallersTest.kt
todd-toast/protokt
3705fd270038b6488ff5a10316dc838ac5af7b41
[ "Apache-2.0" ]
32
2020-03-31T19:06:58.000Z
2022-02-22T19:24:32.000Z
testing/options/src/test/kotlin/com/toasttab/protokt/testing/options/CustomMarshallersTest.kt
todd-toast/protokt
3705fd270038b6488ff5a10316dc838ac5af7b41
[ "Apache-2.0" ]
13
2020-01-29T18:16:04.000Z
2022-01-21T22:41:37.000Z
package com.toasttab.protokt.testing.options import com.google.common.truth.Truth.assertThat import com.toasttab.protokt.testing.options.CustomMarshallerServiceGrpc.customMarshallersMethodMethod import org.junit.jupiter.api.Test class CustomMarshallersTest { @Test fun `custom request marshaller is respected`(...
32.25
101
0.76124
7ba41f5d969a82b0d049f923baa8a36d8a929d18
3,368
css
CSS
src/main/webapp/stylesheets/page-preview.css
ZhangJiupeng/Chollima
07116a8a3246896e9c7c06aab66de0baebd7083c
[ "MIT" ]
3
2017-05-21T14:28:21.000Z
2017-05-25T06:26:48.000Z
src/main/webapp/stylesheets/page-preview.css
ZhangJiupeng/Chollima
07116a8a3246896e9c7c06aab66de0baebd7083c
[ "MIT" ]
null
null
null
src/main/webapp/stylesheets/page-preview.css
ZhangJiupeng/Chollima
07116a8a3246896e9c7c06aab66de0baebd7083c
[ "MIT" ]
null
null
null
/* Dark Theme */ /* Light Theme */ /* $color-background: #c9c9c9; $color-background-select: #212121; $color-background-bright: #fafafa; $color-background-dark: #e0e0e0; $color-background-medium: #f5f5f5; $color-background-light: #fafafa; $color-text-bright: #009688; $color-text-select: #ffffff; $color-...
27.834711
56
0.652019
ddc52f12c224a54c7086a92c66f7aa196db18375
150
php
PHP
src/Query/Query.php
masfernandez/message-bus
a6ad0e83fb573b8a997f92ae76cbed07874b83a3
[ "MIT" ]
null
null
null
src/Query/Query.php
masfernandez/message-bus
a6ad0e83fb573b8a997f92ae76cbed07874b83a3
[ "MIT" ]
null
null
null
src/Query/Query.php
masfernandez/message-bus
a6ad0e83fb573b8a997f92ae76cbed07874b83a3
[ "MIT" ]
null
null
null
<?php declare(strict_types=1); namespace Masfernandez\MessageBus\Query; use Masfernandez\MessageBus\Request; interface Query extends Request { }
11.538462
40
0.793333
b5b1c0b8f53f6afba2d6c052d37f80d2b0ce3a41
3,104
kt
Kotlin
core/src/main/java/page/smirnov/wallester/core/util/extension/ResultExtensions.kt
RankoR/WallesterTest
5720264750d5240281d45fc6c7341e09277e52db
[ "Apache-2.0" ]
null
null
null
core/src/main/java/page/smirnov/wallester/core/util/extension/ResultExtensions.kt
RankoR/WallesterTest
5720264750d5240281d45fc6c7341e09277e52db
[ "Apache-2.0" ]
null
null
null
core/src/main/java/page/smirnov/wallester/core/util/extension/ResultExtensions.kt
RankoR/WallesterTest
5720264750d5240281d45fc6c7341e09277e52db
[ "Apache-2.0" ]
null
null
null
package page.smirnov.wallester.core.util.extension import android.util.Log import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow import kotlinx.coroutines.flow.map import kotlinx.coroutines.withContext /** * Transforms [Result] with [T] to [Result] with [Unit] ...
27.963964
118
0.606314
ad2e86544da2b60ebc241aa047d8ddb22aa3822a
17,732
rs
Rust
src/lib/directed_graph/src/lib.rs
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/lib/directed_graph/src/lib.rs
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/lib/directed_graph/src/lib.rs
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2020 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. use std::{ cmp::min, collections::{HashMap, HashSet}, default::Default, fmt::{Debug, Display}, hash::Hash, }; /// A directed graph, wh...
31.777778
99
0.433228
1a44b10eda2996fac01429c6022fd5fd7a199d4a
221
swift
Swift
Lend It/Views/MarkerInfoView.swift
LosElementosMagicos/ProyectoDiplomado
7dcccbcbeef9bb8f3e1f0add2b314d0113afab65
[ "Apache-2.0" ]
null
null
null
Lend It/Views/MarkerInfoView.swift
LosElementosMagicos/ProyectoDiplomado
7dcccbcbeef9bb8f3e1f0add2b314d0113afab65
[ "Apache-2.0" ]
17
2019-01-08T21:10:30.000Z
2019-02-03T06:38:03.000Z
Lend It/Views/MarkerInfoView.swift
LosElementosMagicos/ProyectoDiplomado
7dcccbcbeef9bb8f3e1f0add2b314d0113afab65
[ "Apache-2.0" ]
null
null
null
// // MarkerInfoView.swift // import UIKit class MarkerInfoView: UIView { @IBOutlet weak var placePhoto: UIImageView! @IBOutlet weak var nameLabel: UILabel! @IBOutlet weak var priceLabel: UILabel! }
15.785714
47
0.696833
6c908aa351e8d0f4bcea3726a736f86d4f2c197e
2,149
go
Go
util/reflectutil/reflectutil.go
onfocusio/goyave
da9abe5c270682655ab79027836137e2a21018ae
[ "MIT" ]
null
null
null
util/reflectutil/reflectutil.go
onfocusio/goyave
da9abe5c270682655ab79027836137e2a21018ae
[ "MIT" ]
null
null
null
util/reflectutil/reflectutil.go
onfocusio/goyave
da9abe5c270682655ab79027836137e2a21018ae
[ "MIT" ]
null
null
null
package reflectutil import ( "fmt" "reflect" "goyave.dev/goyave/v4/util/sliceutil" ) // Only extracts the requested field from the given map[string] or structure and // returns a map[string]interface{} containing only those values. // // For example: // type Model struct { // Field string // Num int // ...
25.282353
103
0.623081
b894fc6a9d6ac536435f1103fe68cd5c6a5afd71
1,050
kt
Kotlin
app/src/main/java/dev/johnoreilly/fantasypremierleague/ui/fixtures/FixturesListView.kt
Ahmad4980/FantasyPremierLeague
883f067bb91394af2207c092cf94e265e5c1e197
[ "Apache-2.0" ]
1
2021-09-17T04:52:05.000Z
2021-09-17T04:52:05.000Z
app/src/main/java/dev/johnoreilly/fantasypremierleague/ui/fixtures/FixturesListView.kt
Ahmad4980/FantasyPremierLeague
883f067bb91394af2207c092cf94e265e5c1e197
[ "Apache-2.0" ]
null
null
null
app/src/main/java/dev/johnoreilly/fantasypremierleague/ui/fixtures/FixturesListView.kt
Ahmad4980/FantasyPremierLeague
883f067bb91394af2207c092cf94e265e5c1e197
[ "Apache-2.0" ]
null
null
null
package dev.johnoreilly.fantasypremierleague.ui.fixtures import androidx.compose.foundation.layout.Column import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.material.Scaffold import androidx.compose.material.Text import androidx.compose.material.Top...
33.870968
84
0.68381
985d7fb70c29d6ca1d1bce7419e261809459dd9c
544
swift
Swift
Task/Almost-prime/Swift/almost-prime.swift
LaudateCorpus1/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
1
2021-05-05T13:42:20.000Z
2021-05-05T13:42:20.000Z
Task/Almost-prime/Swift/almost-prime.swift
seanwallawalla-forks/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
null
null
null
Task/Almost-prime/Swift/almost-prime.swift
seanwallawalla-forks/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
null
null
null
struct KPrimeGen: Sequence, IteratorProtocol { let k: Int private(set) var n: Int private func isKPrime() -> Bool { var primes = 0 var f = 2 var rem = n while primes < k && rem > 1 { while rem % f == 0 && rem > 1 { rem /= f primes += 1 } f += 1 } retur...
15.111111
64
0.46875
2ac52da37291a4fa255aa3e06a80002baac0f73a
4,801
swift
Swift
SmartSecExample_Swift/SmartSecExample_Swift/ViewController.swift
olxios/SmartSec_iOS_Security
15f5e641ffa64fa6ef328b1938dafb9b02f857f6
[ "MIT" ]
17
2016-10-08T08:17:00.000Z
2021-07-29T05:19:39.000Z
SmartSecExample_Swift/SmartSecExample_Swift/ViewController.swift
Dendim0n/iOS_Security
1e0387a730d10455ef7d44d81ad36ee8da5466bc
[ "MIT" ]
null
null
null
SmartSecExample_Swift/SmartSecExample_Swift/ViewController.swift
Dendim0n/iOS_Security
1e0387a730d10455ef7d44d81ad36ee8da5466bc
[ "MIT" ]
3
2016-07-21T09:33:22.000Z
2019-07-23T12:01:45.000Z
// // ViewController.swift // SmartSecExample_Swift // // Created by Olga Dalton on 07/05/15. // Copyright (c) 2015 Olga Dalton. All rights reserved. // import UIKit class ViewController: UIViewController, NSURLConnectionDelegate { @IBOutlet var localImageView : UIImageView! @IBOutlet var remoteImage...
35.828358
133
0.662779
9f67a04061c844fafb53a9b4bb0d21dbe9269b95
204
kt
Kotlin
subprojects/test-runner/instrumentation-tests/src/main/kotlin/com/avito/instrumentation/internal/AndroidVariantConfigurator.kt
Chromico/avito-android
ae28ec749c93011dfb4f5f3bb933f029f821373a
[ "MIT" ]
null
null
null
subprojects/test-runner/instrumentation-tests/src/main/kotlin/com/avito/instrumentation/internal/AndroidVariantConfigurator.kt
Chromico/avito-android
ae28ec749c93011dfb4f5f3bb933f029f821373a
[ "MIT" ]
null
null
null
subprojects/test-runner/instrumentation-tests/src/main/kotlin/com/avito/instrumentation/internal/AndroidVariantConfigurator.kt
Chromico/avito-android
ae28ec749c93011dfb4f5f3bb933f029f821373a
[ "MIT" ]
null
null
null
package com.avito.instrumentation.internal import com.android.build.api.variant.Variant internal abstract class AndroidVariantConfigurator<T : Variant>(val variant: T) : InstrumentationTaskConfigurator
34
113
0.848039
9c19e1aa57bd4ee89caeeefcb5cb447704dd6771
2,419
js
JavaScript
src/datasets/utils.js
ToyotaResearchInstitute/materialnet
b5c657e41579f8db8b2d53f32076b87c44bfb341
[ "Apache-2.0" ]
6
2020-03-13T07:25:32.000Z
2020-05-26T20:16:55.000Z
src/datasets/utils.js
arclamp/materialnet
b5c657e41579f8db8b2d53f32076b87c44bfb341
[ "Apache-2.0" ]
64
2018-10-29T20:07:01.000Z
2019-11-11T21:26:59.000Z
src/datasets/utils.js
ToyotaResearchInstitute/materialnet
b5c657e41579f8db8b2d53f32076b87c44bfb341
[ "Apache-2.0" ]
5
2020-01-17T19:12:48.000Z
2020-04-04T13:52:21.000Z
import React from 'react'; import { ApplicationStore } from '../store'; import { LegendGradient, LegendCircle, SizeLegend } from '../components/legend'; import { scaleLinear } from 'd3-scale'; /** * coloring factory by property * @param {string} prop property to visualize */ export function propertyColorFactory(pro...
25.197917
80
0.578338
12fba11dca4eccc433d932a1a521f63029b9e783
211
html
HTML
src/app/app.component.html
gpgooiker/material-design-workshop
d9625f396a3f82f7e217e260781f5cd20da9097d
[ "MIT" ]
null
null
null
src/app/app.component.html
gpgooiker/material-design-workshop
d9625f396a3f82f7e217e260781f5cd20da9097d
[ "MIT" ]
1
2022-03-02T03:59:43.000Z
2022-03-02T03:59:43.000Z
src/app/app.component.html
gpgooiker/material-design-workshop
d9625f396a3f82f7e217e260781f5cd20da9097d
[ "MIT" ]
null
null
null
<section> <h1> Storybook demo with Material Design components </h1> <img width="100%" alt="Design" src="assets/Design.png"> <h2>Or how to use Storybook to design in the right fidelity</h2> </section>
30.142857
66
0.691943
956c4b6e87f19b1c625c2e5fd0f5d97153a9f7ff
268
css
CSS
ePurchase-ui/src/app/app.component.css
anurag-bhadauriya/ePurchase
7cc9bfde6e415a46088af08224d0755ef8911df3
[ "MIT" ]
null
null
null
ePurchase-ui/src/app/app.component.css
anurag-bhadauriya/ePurchase
7cc9bfde6e415a46088af08224d0755ef8911df3
[ "MIT" ]
null
null
null
ePurchase-ui/src/app/app.component.css
anurag-bhadauriya/ePurchase
7cc9bfde6e415a46088af08224d0755ef8911df3
[ "MIT" ]
null
null
null
.profile-menu{ right: 0; left: auto; } .menu-item{ cursor: pointer; } .menu-item-icon{ font-size: 16px; } .header-logo{ font-family: cursive; margin: auto; } .header-link{ display: flex; } .header-img{ margin: auto; width: 1.3rem; }
12.761905
25
0.585821
6e0a9ba0c61e3fa43c26562104d7858cc383ff07
1,801
html
HTML
pa1-skeleton/pa1-data/0/catnet.stanford.edu_support_foster.html
yzhong94/cs276-spring-2019
a4780a9f88b8c535146040fe11bb513c91c5693b
[ "MIT" ]
null
null
null
pa1-skeleton/pa1-data/0/catnet.stanford.edu_support_foster.html
yzhong94/cs276-spring-2019
a4780a9f88b8c535146040fe11bb513c91c5693b
[ "MIT" ]
null
null
null
pa1-skeleton/pa1-data/0/catnet.stanford.edu_support_foster.html
yzhong94/cs276-spring-2019
a4780a9f88b8c535146040fe11bb513c91c5693b
[ "MIT" ]
null
null
null
stanford cat network support scn home about us adoption students resources photos news contact support scn support scn foster cat or kittens the stanford cat network does not have a shelter so we rely on foster homes and boarding at local vet clinics to house cats awaiting adoption foster homes provide a wonderful oppo...
900.5
1,800
0.822876
f1c62a6462af3566c12651ced3aba8c7159c7be2
653
swift
Swift
CongressApp/MemberViewModel.swift
slmcmahon/congressapp
ba463f250d4ca53adaf53672d399d7cc873b2256
[ "MIT" ]
null
null
null
CongressApp/MemberViewModel.swift
slmcmahon/congressapp
ba463f250d4ca53adaf53672d399d7cc873b2256
[ "MIT" ]
null
null
null
CongressApp/MemberViewModel.swift
slmcmahon/congressapp
ba463f250d4ca53adaf53672d399d7cc873b2256
[ "MIT" ]
null
null
null
// // File.swift // CongressApp // // Created by Stephen McMahon on 7/30/16. // Copyright © 2016 Stephen McMahon. All rights reserved. // import Foundation public class MemberViewModel : BaseViewModel { public var member : MemberDetail? public init(memberId : Int!, onComplete:() -> Void, onError...
24.185185
94
0.603369
b1aa0a7442590cc04bf479fa72613e80ea4f0d9f
2,711
c
C
src/luahs/stream.c
starius/lua-hyperscan
34d0b701c5e3b0f21bb72d9391b832926177a1f3
[ "BSD-3-Clause" ]
24
2016-08-30T15:08:15.000Z
2021-12-25T13:13:21.000Z
src/luahs/stream.c
starius/lua-hyperscan
34d0b701c5e3b0f21bb72d9391b832926177a1f3
[ "BSD-3-Clause" ]
1
2019-01-04T21:35:18.000Z
2019-01-07T19:20:26.000Z
src/luahs/stream.c
starius/lua-hyperscan
34d0b701c5e3b0f21bb72d9391b832926177a1f3
[ "BSD-3-Clause" ]
7
2018-01-02T07:48:02.000Z
2021-12-25T13:13:22.000Z
// luahs, Lua bindings to hyperscan // Copyright (C) 2016 Boris Nagaev // See the LICENSE file for terms of use. #include "luahs.h" static int luahs_freeStream(lua_State* L) { luahs_Stream* self = luaL_checkudata(L, 1, LUAHS_STREAM_MT); if (self->stream) { hs_error_t err = hs_close_stream(self->stream...
29.467391
73
0.663593
16a3d95f7fa0a2bcb4db9ace31caeff0fa8ac39e
764
tsx
TypeScript
client/src/components/ui/Checkbox/index.tsx
rolandbernard/ryoko
9966d1074e96a5952bc7e6324115c44100c823c3
[ "BSD-2-Clause" ]
1
2021-06-30T12:03:15.000Z
2021-06-30T12:03:15.000Z
client/src/components/ui/Checkbox/index.tsx
rolandbernard/ryoko
9966d1074e96a5952bc7e6324115c44100c823c3
[ "BSD-2-Clause" ]
null
null
null
client/src/components/ui/Checkbox/index.tsx
rolandbernard/ryoko
9966d1074e96a5952bc7e6324115c44100c823c3
[ "BSD-2-Clause" ]
null
null
null
import './checkbox.scss'; interface Props { label: string; checked: boolean; onChange: (value: boolean) => any; } /** * This component implements a simple checkbox with a label. The checkbox is checked if the checked * property is true. If the onChange callback is called, the parent component should ha...
27.285714
99
0.60733
7707fcad72dc597d824c6a18ff9e199085388b53
483
rs
Rust
src/graphics/vulkan/device_allocator/allocation.rs
Creative-Coding-The-Hard-Way/2d
0dc8cbe606783cffe504ab4df0c39bbdc40f53a5
[ "MIT" ]
2
2021-06-03T22:12:12.000Z
2021-12-28T12:55:38.000Z
src/graphics/vulkan/device_allocator/allocation.rs
Creative-Coding-The-Hard-Way/2d
0dc8cbe606783cffe504ab4df0c39bbdc40f53a5
[ "MIT" ]
2
2021-05-04T03:44:10.000Z
2021-05-18T06:35:48.000Z
src/graphics/vulkan/device_allocator/allocation.rs
Creative-Coding-The-Hard-Way/2d
0dc8cbe606783cffe504ab4df0c39bbdc40f53a5
[ "MIT" ]
1
2021-12-28T12:55:46.000Z
2021-12-28T12:55:46.000Z
use super::Allocation; use ash::vk; impl Allocation { /// Create a null allocation which has a size of zero and a null memory /// handle. pub fn null() -> Self { Self { offset: 0, byte_size: 0, memory: vk::DeviceMemory::null(), memory_type_index: 0, ...
21.954545
75
0.540373
b73a90fc4f5fc01025f8609efd9ebaab3b1b9ef9
1,875
lua
Lua
src/backends/pca9685.lua
evq/opc-lua
43cc98e97a9018ec40d8f140b969f3c95fcbc142
[ "MIT" ]
null
null
null
src/backends/pca9685.lua
evq/opc-lua
43cc98e97a9018ec40d8f140b969f3c95fcbc142
[ "MIT" ]
null
null
null
src/backends/pca9685.lua
evq/opc-lua
43cc98e97a9018ec40d8f140b969f3c95fcbc142
[ "MIT" ]
null
null
null
local Pca9685 = {} Pca9685.I2C = require('periphery').I2C Pca9685.DEFAULT_ADDR = 0x40 Pca9685.MODE1 = 0x00 Pca9685.MODE2 = 0x00 Pca9685.PRE_SCALE = 0xFE Pca9685.LEDN_ON_L = function (N) return (0x06 + (4*N)) end Pca9685.LEDN_ON_H = function (N) return (0x07 + (4*N)) end Pca9685.LEDN_OFF_L = function (N) return...
26.041667
84
0.677333
c3010e66508fea62a29a2759b4c13791118f1416
5,316
go
Go
cmd/evaluate-docs/main.go
johnzheng1975/tools
c034c33637f6441cfc3c921b184b5a9ba1301d68
[ "Apache-2.0" ]
264
2018-02-19T05:29:09.000Z
2022-03-31T18:25:15.000Z
cmd/evaluate-docs/main.go
johnzheng1975/tools
c034c33637f6441cfc3c921b184b5a9ba1301d68
[ "Apache-2.0" ]
976
2018-04-26T18:44:43.000Z
2022-03-31T21:46:37.000Z
cmd/evaluate-docs/main.go
johnzheng1975/tools
c034c33637f6441cfc3c921b184b5a9ba1301d68
[ "Apache-2.0" ]
243
2018-01-22T21:06:17.000Z
2022-03-28T13:14:26.000Z
// Copyright 2021 Istio Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
23.838565
121
0.666479
ddea436ce7bbe90e2824140f02a2dd31638316bf
2,018
h
C
Examples/ParallelProcessing/SMP/Cxx/vtkStreamedCompositeDataPipeline.h
hendradarwin/VTK
a1e301c9a555ce211f1861c2dbf16a751c431075
[ "BSD-3-Clause" ]
null
null
null
Examples/ParallelProcessing/SMP/Cxx/vtkStreamedCompositeDataPipeline.h
hendradarwin/VTK
a1e301c9a555ce211f1861c2dbf16a751c431075
[ "BSD-3-Clause" ]
null
null
null
Examples/ParallelProcessing/SMP/Cxx/vtkStreamedCompositeDataPipeline.h
hendradarwin/VTK
a1e301c9a555ce211f1861c2dbf16a751c431075
[ "BSD-3-Clause" ]
null
null
null
#ifndef vtkStreamedCompositeDataPipeline_h #define vtkStreamedCompositeDataPipeline_h #include "vtkCommonExecutionModelModule.h" // For export macro #include "vtkCompositeDataPipeline.h" #include "vtkSMPThreadLocal.h" #include "vtkSMPThreadLocalObject.h" class vtkTimerLog; class VTKCOMMONEXECUTIONMODEL_EXPORT vtkStr...
31.046154
76
0.803271
571cfbcd81593a9fc64882d6137b7ecfa6067a64
1,441
h
C
src/sysdep/linux/meminfo.h
PSP-Archive/System-Interface-Library
42bfd5b1f0e767215010365894cfa9598915ea55
[ "X11" ]
null
null
null
src/sysdep/linux/meminfo.h
PSP-Archive/System-Interface-Library
42bfd5b1f0e767215010365894cfa9598915ea55
[ "X11" ]
null
null
null
src/sysdep/linux/meminfo.h
PSP-Archive/System-Interface-Library
42bfd5b1f0e767215010365894cfa9598915ea55
[ "X11" ]
null
null
null
/* * System Interface Library for games * Copyright (c) 2007-2020 Andrew Church <achurch@achurch.org> * Released under the GNU GPL version 3 or later; NO WARRANTY is provided. * See the file COPYING.txt for details. * * src/sysdep/linux/meminfo.h: Header for Linux-specific memory information * functions. */ #i...
30.020833
75
0.585704
40c6ee0c7cd7dd52eda1b3032653c4ce05a49e2d
1,901
py
Python
src/openprocurement/tender/esco/procedure/models/lot_value.py
ProzorroUKR/openprocurement.api
2855a99aa8738fb832ee0dbad4e9590bd3643511
[ "Apache-2.0" ]
10
2020-02-18T01:56:21.000Z
2022-03-28T00:32:57.000Z
src/openprocurement/tender/esco/procedure/models/lot_value.py
quintagroup/openprocurement.api
2855a99aa8738fb832ee0dbad4e9590bd3643511
[ "Apache-2.0" ]
26
2018-07-16T09:30:44.000Z
2021-02-02T17:51:30.000Z
src/openprocurement/tender/esco/procedure/models/lot_value.py
ProzorroUKR/openprocurement.api
2855a99aa8738fb832ee0dbad4e9590bd3643511
[ "Apache-2.0" ]
15
2019-08-08T10:50:47.000Z
2022-02-05T14:13:36.000Z
from schematics.types.compound import ModelType from schematics.types import StringType from openprocurement.tender.core.procedure.context import get_tender from openprocurement.tender.esco.procedure.models.value import ESCOValue, PatchESCOValue from openprocurement.tender.openua.procedure.models.lot_value import ( ...
44.209302
118
0.669122
7d00f8840a56e260b52bff77bd085cddaf6af228
1,504
lua
Lua
stats/statsmanager.lua
thewizardplusplus/gravity-duel
c93ad9021a0116329724f7d8c1db699bdcb4bd5a
[ "Apache-2.0", "MIT" ]
null
null
null
stats/statsmanager.lua
thewizardplusplus/gravity-duel
c93ad9021a0116329724f7d8c1db699bdcb4bd5a
[ "Apache-2.0", "MIT" ]
null
null
null
stats/statsmanager.lua
thewizardplusplus/gravity-duel
c93ad9021a0116329724f7d8c1db699bdcb4bd5a
[ "Apache-2.0", "MIT" ]
null
null
null
--- -- @classmod StatsManager local middleclass = require("middleclass") local typeutils = require("typeutils") local drawing = require("drawing") local Rectangle = require("models.rectangle") local Stats = require("objects.stats") local StatsStorage = require("stats.statsstorage") --- -- @table instance -- @tfield s...
23.5
65
0.765957
ee925f779f006e442834457cd5fd895eb9e6ed61
2,416
swift
Swift
Chapter13 - SwiftUI Tips and Tricks/09 - Implementing Asynchronous Images in SwiftUI/AsyncImageApp/AsyncImageApp/ContentView.swift
PacktPublishing/SwiftUI-Cookbook
24bb63db95d0a47313b16d1cfc46c47f453c1be2
[ "MIT" ]
70
2020-04-03T02:13:23.000Z
2022-03-07T10:24:44.000Z
Chapter13 - SwiftUI Tips and Tricks/09 - Implementing Asynchronous Images in SwiftUI/AsyncImageApp/AsyncImageApp/ContentView.swift
akashsoni01/SwiftUI-Cookbook
24bb63db95d0a47313b16d1cfc46c47f453c1be2
[ "MIT" ]
2
2021-04-09T12:28:40.000Z
2021-05-10T21:31:12.000Z
Chapter13 - SwiftUI Tips and Tricks/09 - Implementing Asynchronous Images in SwiftUI/AsyncImageApp/AsyncImageApp/ContentView.swift
akashsoni01/SwiftUI-Cookbook
24bb63db95d0a47313b16d1cfc46c47f453c1be2
[ "MIT" ]
28
2020-03-31T12:59:08.000Z
2021-11-23T06:59:54.000Z
// // ContentView.swift // AsyncImageApp // // Created by giordano scalzo on 07/06/2020. // Copyright © 2020 Giordano Scalzo. All rights reserved. // import SwiftUI import Combine struct AsyncImage: View { @ObservedObject private var fetcher: ImageFetcher init(url: URL) { fetcher = ImageF...
23.686275
121
0.515315
42706d99adddfbc4d2eeec65f4e6c4a37f52aae9
982
kt
Kotlin
src/main/kotlin/com/google/shinyay/controller/HelloController.kt
shinyay/spring-cloud-gcp-security-gs
8d8d7cb0c51e10febf0c8facf93dabcb91394fec
[ "MIT" ]
null
null
null
src/main/kotlin/com/google/shinyay/controller/HelloController.kt
shinyay/spring-cloud-gcp-security-gs
8d8d7cb0c51e10febf0c8facf93dabcb91394fec
[ "MIT" ]
null
null
null
src/main/kotlin/com/google/shinyay/controller/HelloController.kt
shinyay/spring-cloud-gcp-security-gs
8d8d7cb0c51e10febf0c8facf93dabcb91394fec
[ "MIT" ]
null
null
null
package com.google.shinyay.controller import com.google.shinyay.logger import org.springframework.security.core.context.SecurityContextHolder import org.springframework.security.oauth2.jwt.Jwt import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.RestController import...
35.071429
123
0.751527
166c218cc5291f492b49155fb37ed62db018cca5
4,450
tsx
TypeScript
src/context/AuthContext.tsx
Danielstep4/budget-manager
ec0b4ca22520cb8c99b1df3759db7111d00f49ac
[ "MIT" ]
null
null
null
src/context/AuthContext.tsx
Danielstep4/budget-manager
ec0b4ca22520cb8c99b1df3759db7111d00f49ac
[ "MIT" ]
null
null
null
src/context/AuthContext.tsx
Danielstep4/budget-manager
ec0b4ca22520cb8c99b1df3759db7111d00f49ac
[ "MIT" ]
1
2021-08-28T09:19:32.000Z
2021-08-28T09:19:32.000Z
import React, { useState, useContext } from "react"; import { createContext } from "react"; import firebase from "firebase"; import { auth } from "../firebase"; import { useEffect } from "react"; import { clearUserInfoLocalStorage, setUserInfo } from "../utils/db/user"; import { clearFlowLocalStorage } from "../utils/d...
27.639752
80
0.653034
7f95089e5f1fd17ac53543e27ce856ea2f10d7ab
343
swift
Swift
KnowYourDestination/GifImageView.swift
Specialist17/KnowYourDestination
5be46f23ec014c6478ee6e12f97a881c47897c71
[ "MIT" ]
2
2017-10-03T21:25:52.000Z
2018-01-14T22:40:40.000Z
KnowYourDestination/GifImageView.swift
Specialist17/KnowYourDestination
5be46f23ec014c6478ee6e12f97a881c47897c71
[ "MIT" ]
null
null
null
KnowYourDestination/GifImageView.swift
Specialist17/KnowYourDestination
5be46f23ec014c6478ee6e12f97a881c47897c71
[ "MIT" ]
null
null
null
// // GifImageView.swift // // // Created by Fernando on 8/9/17. // // import UIKit import Gifu class GifImageView: UIImageView, GIFAnimatable { public lazy var animator: Animator? = { return Animator(withDelegate: self) }() override public func display(_ layer: CALayer) { updateI...
16.333333
52
0.635569
498bf9dc4d5cfae959252cf12d8eb31eab360036
290
html
HTML
awesome team.html
angel52-1832271/angel52-1832271.github.io
0587063385b669e236592377659f89da41fae8fb
[ "CC-BY-3.0" ]
null
null
null
awesome team.html
angel52-1832271/angel52-1832271.github.io
0587063385b669e236592377659f89da41fae8fb
[ "CC-BY-3.0" ]
null
null
null
awesome team.html
angel52-1832271/angel52-1832271.github.io
0587063385b669e236592377659f89da41fae8fb
[ "CC-BY-3.0" ]
null
null
null
<!DOCTYPE html> <html> <head> <center><title>The Best Team</title><center> </head> <body> <h1 style="background-color:Blue;">THE BEST TEAM</h1> <h2 style="color:rgb(255, 184, 197);">Team Members: Angel and Amanda</h2> <p>We are awesome. We are the BEST TEAM.</p> </body> </html>
26.363636
75
0.648276
9662321fbfd1445b7703d49c295369171b56dc63
20,416
php
PHP
app/Http/Admin/Tms/TypeController.php
chitushgyl/api.56cold.com
83acb823cd0a230fa7c36c4d1d79f3494d8369f2
[ "MIT" ]
null
null
null
app/Http/Admin/Tms/TypeController.php
chitushgyl/api.56cold.com
83acb823cd0a230fa7c36c4d1d79f3494d8369f2
[ "MIT" ]
null
null
null
app/Http/Admin/Tms/TypeController.php
chitushgyl/api.56cold.com
83acb823cd0a230fa7c36c4d1d79f3494d8369f2
[ "MIT" ]
null
null
null
<?php namespace App\Http\Admin\Tms; use Illuminate\Http\Request; use App\Http\Controllers\CommonController; use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\Validator; use Maatwebsite\Excel\Facades\Excel; use App\Tools\Import; use App\Http\Controllers\StatusController as Status; use App\Http\Control...
36.719424
218
0.483297
f04885c174b83de4f873553053e8d7a0c7d4a2dc
5,628
py
Python
alf/algorithms/diayn_algorithm.py
runjerry/alf
7e83a29a3102ff04a6ce2c3105ae36f28b090e65
[ "Apache-2.0" ]
1
2021-03-22T10:53:55.000Z
2021-03-22T10:53:55.000Z
alf/algorithms/diayn_algorithm.py
Haichao-Zhang/alf
38a3621337a030f74bb3944d7695e7642e777e10
[ "Apache-2.0" ]
null
null
null
alf/algorithms/diayn_algorithm.py
Haichao-Zhang/alf
38a3621337a030f74bb3944d7695e7642e777e10
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2020 Horizon Robotics. 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 # # Unless required by applicab...
38.813793
80
0.648543
fe502159ceac8a1e99495beadf0566a8543ffd0d
2,447
h
C
source/_include/console.h
timothyvolpe/2DProject
5473bfe7590deb5c9fd03ec2ce9e3709c78c03c9
[ "MIT" ]
null
null
null
source/_include/console.h
timothyvolpe/2DProject
5473bfe7590deb5c9fd03ec2ce9e3709c78c03c9
[ "MIT" ]
null
null
null
source/_include/console.h
timothyvolpe/2DProject
5473bfe7590deb5c9fd03ec2ce9e3709c78c03c9
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <iostream> #include <stack> #define GAME_EXTERNAL_CONSOLE #define LOG_FILE L"console.log" #define DEBUG_OPENGL enum : unsigned char { CONSOLE_COLOR_DEFAULT = 0, CONSOLE_COLOR_WARNING, CONSOLE_COLOR_ERROR, CONSOLE_COLOR_LUA, CONSOLE_COLOR_LUA_SERVER }; #if defined( GAME_E...
32.197368
224
0.724152
c7fef0893034e27c7f61d5dfb5eb15c880d4c15a
1,831
java
Java
server/src/main/java/com/voxelwind/server/game/entities/EntityTypeData.java
lukeeey/voxelwind
3f88aff790f99a461839fe1b42fab51c9244331e
[ "MIT" ]
76
2016-07-23T18:54:53.000Z
2016-10-05T19:08:43.000Z
server/src/main/java/com/voxelwind/server/game/entities/EntityTypeData.java
lukeeey/voxelwind
3f88aff790f99a461839fe1b42fab51c9244331e
[ "MIT" ]
35
2016-08-06T23:44:07.000Z
2016-10-09T00:09:41.000Z
server/src/main/java/com/voxelwind/server/game/entities/EntityTypeData.java
voxelwind/voxelwind
5da4c4edd5cfc6569e9b3ca451fd98a699bf111f
[ "MIT" ]
30
2016-11-01T23:50:16.000Z
2021-09-20T20:50:08.000Z
package com.voxelwind.server.game.entities; public enum EntityTypeData { PLAYER(63, 1.8f, 0.6f, 0.6f), CHICKEN(10, 0.7f), COW(11, 1.3f), PIG(12, 0.9f), SHEEP(13, 1.3f), WOLF(14, 0.8f), VILLAGER(15, 1.8f, 0.6f, 0.6f), MUSHROOMCOW(16, 1.3f), SQUID(17, 0.95f, 0.95f, 0.95f), RA...
22.060241
71
0.554888
b8d0fb2f1bc612f23016a9695c9cb59c33a5e063
416
asm
Assembly
programs/oeis/014/A014979.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/014/A014979.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/014/A014979.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A014979: Numbers that are both triangular and pentagonal. ; 0,1,210,40755,7906276,1533776805,297544793910,57722156241751,11197800766105800,2172315626468283465,421418033734080886426,81752926228785223683195,15859646270350599313653420 mul $0,2 trn $0,1 seq $0,157089 ; Consider all Consecutive Integer Pythagorean septup...
52
173
0.802885
7392ca2d4d555890620ce3e021528e765c97370c
1,729
swift
Swift
Twitter/Tweet.swift
khanhtrung/Week03_Twitter
1424c97262f6056c7b42e889ffa69453592afb7a
[ "Apache-2.0" ]
null
null
null
Twitter/Tweet.swift
khanhtrung/Week03_Twitter
1424c97262f6056c7b42e889ffa69453592afb7a
[ "Apache-2.0" ]
1
2016-11-04T16:32:49.000Z
2016-11-04T16:32:49.000Z
Twitter/Tweet.swift
khanhtrung/Week03_Twitter
1424c97262f6056c7b42e889ffa69453592afb7a
[ "Apache-2.0" ]
null
null
null
// // Tweet.swift // Twitter // // Created by Tran Khanh Trung on 10/29/16. // Copyright © 2016 TRUNG. All rights reserved. // import UIKit class Tweet: NSObject { var id: Int64 = 0 var id_str: String? var text: String? var created_at: NSDate? var user = NSDictionary() var retwee...
29.810345
79
0.607287
81ccbf0b8096a521d173e1d903eb1c92bb21dc42
40,823
html
HTML
Pendulum web/single-post.html
JudeIghomena/Pendulum-Technical-Limited
69b1f75692e5cfcb581dacb56cc76aba400cd133
[ "MIT" ]
1
2019-03-21T12:20:09.000Z
2019-03-21T12:20:09.000Z
Pendulum web/single-post.html
JudeIghomena/Pendulum-Technical-Limited
69b1f75692e5cfcb581dacb56cc76aba400cd133
[ "MIT" ]
null
null
null
Pendulum web/single-post.html
JudeIghomena/Pendulum-Technical-Limited
69b1f75692e5cfcb581dacb56cc76aba400cd133
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="description" content=""> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- The above 4 meta tags *must* come first in th...
62.611963
433
0.339441
ddf7707df4a4a266215cb71a9cb3696d97d55625
2,255
h
C
src/utilstrencodings.h
piratecash/piratecash
b33a35868905fc498cfe4d3b8951c7552dec4fbf
[ "MIT" ]
30
2019-01-08T21:32:37.000Z
2022-03-04T13:06:09.000Z
src/utilstrencodings.h
Cryptonoz/piratecash
b33a35868905fc498cfe4d3b8951c7552dec4fbf
[ "MIT" ]
23
2018-11-14T11:18:58.000Z
2021-05-26T11:55:00.000Z
src/utilstrencodings.h
Cryptonoz/piratecash
b33a35868905fc498cfe4d3b8951c7552dec4fbf
[ "MIT" ]
14
2018-11-22T02:18:12.000Z
2022-03-15T23:32:31.000Z
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. /** * Utilities for converting data from/to strings. */ #ifndef BITCOIN_UTILSTRENCOD...
38.87931
91
0.72816
29278f4a616ec7759cec64dd8c8fa3be31882b7e
20,220
py
Python
foiamachine/apps/mail/models.py
saizai/foiamachine
344007d57b47ac93df637e4a282c4d87cc6f78e3
[ "Unlicense", "MIT" ]
9
2017-08-02T16:28:10.000Z
2021-07-19T09:51:46.000Z
foiamachine/apps/mail/models.py
saizai/foiamachine
344007d57b47ac93df637e4a282c4d87cc6f78e3
[ "Unlicense", "MIT" ]
null
null
null
foiamachine/apps/mail/models.py
saizai/foiamachine
344007d57b47ac93df637e4a282c4d87cc6f78e3
[ "Unlicense", "MIT" ]
5
2017-10-10T23:15:02.000Z
2021-07-19T09:51:48.000Z
from django.db import models from django.db.models import Q from django.conf import settings from django_extensions.db.fields import AutoSlugField from django.core.files.uploadedfile import InMemoryUploadedFile from django.utils import timezone from werkzeug.datastructures import MultiDict from time import mktime imp...
41.349693
128
0.601039
2a5b132ad3f92fabbaf5baa73a100d04deb4a8fa
215
java
Java
src/imgzip/LoginSignIn/ChangePasswordSuccessfullyController.java
fenglinger/JavaProgrem
35fd87d7f996fdf645e2af13bb6e4d16625877fa
[ "Apache-2.0" ]
null
null
null
src/imgzip/LoginSignIn/ChangePasswordSuccessfullyController.java
fenglinger/JavaProgrem
35fd87d7f996fdf645e2af13bb6e4d16625877fa
[ "Apache-2.0" ]
null
null
null
src/imgzip/LoginSignIn/ChangePasswordSuccessfullyController.java
fenglinger/JavaProgrem
35fd87d7f996fdf645e2af13bb6e4d16625877fa
[ "Apache-2.0" ]
null
null
null
package imgzip.LoginSignIn; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.stage.Stage; /** @Author: 肖尧 @Date: 2019.12.28 */ public class ChangePasswordSuccessfullyController { }
15.357143
51
0.75814
a6aad103ad36b1f69a855356ca966e25feb09fd8
386
kt
Kotlin
app/src/main/java/com/vmenon/mpo/model/BiometricsState.kt
hitoshura25/Media-Player-Omega-Android
c8bf31dfa418c742080f6d131ded9fa974c1a9bd
[ "Apache-2.0" ]
1
2021-06-14T12:32:51.000Z
2021-06-14T12:32:51.000Z
app/src/main/java/com/vmenon/mpo/model/BiometricsState.kt
hitoshura25/Media-Player-Omega-Android
c8bf31dfa418c742080f6d131ded9fa974c1a9bd
[ "Apache-2.0" ]
47
2018-12-07T20:36:13.000Z
2022-01-15T20:46:09.000Z
app/src/main/java/com/vmenon/mpo/model/BiometricsState.kt
hitoshura25/Media-Player-Omega-Android
c8bf31dfa418c742080f6d131ded9fa974c1a9bd
[ "Apache-2.0" ]
null
null
null
package com.vmenon.mpo.model import com.vmenon.mpo.auth.domain.biometrics.PromptRequest sealed class BiometricsState { data class PromptToEnroll(val request: PromptRequest) : BiometricsState() data class PromptAfterEnrollment(val request: PromptRequest): BiometricsState() data class PromptToStayAuthentica...
42.888889
101
0.80829
a714c17193d06a51b64969f29aebf0d8c62099fa
449
sql
SQL
znodb/Scripts/Views/SchoolsWithStudentsWith190AvgTop10.sql
segor/zno-opendata
fe3e0c9f3d47b0feb7c48dca34821a1b4c7e9f86
[ "MIT" ]
6
2018-01-24T11:56:32.000Z
2019-07-24T14:27:36.000Z
znodb/Scripts/Views/SchoolsWithStudentsWith190AvgTop10.sql
segor/zno-opendata
fe3e0c9f3d47b0feb7c48dca34821a1b4c7e9f86
[ "MIT" ]
1
2017-08-22T18:55:01.000Z
2017-08-23T08:26:45.000Z
znodb/Scripts/Views/SchoolsWithStudentsWith190AvgTop10.sql
segor/zno-opendata
fe3e0c9f3d47b0feb7c48dca34821a1b4c7e9f86
[ "MIT" ]
null
null
null
EXEC ('DROP VIEW IF EXISTS [zno$(ZnoYear)].[SchoolsWithStudentsWith190AvgTop10]') GO CREATE VIEW [zno$(ZnoYear)].[SchoolsWithStudentsWith190AvgTop10] AS SELECT TOP (10) COUNT(DISTINCT V.OutID) AS StudentsN ,Schools.EOName FROM [zno$(ZnoYear)].PersonScoresWithAvg AS V INNER JOIN [zno$(ZnoYear)].Schools ON V.EOHa...
34.538462
82
0.757238
f8e83a063d8540370bf91f287f397e45ea0893a9
101
swift
Swift
Spotify/Spotify/Models/AudioTrack.swift
arthuruan/Spotify
d4f574cbe32081e3fbdc8d45f13123fa5b3ea467
[ "MIT" ]
6
2022-02-28T00:07:26.000Z
2022-03-21T19:52:19.000Z
Spotify/Spotify/Models/AudioTrack.swift
arthuruan/Spotify
d4f574cbe32081e3fbdc8d45f13123fa5b3ea467
[ "MIT" ]
null
null
null
Spotify/Spotify/Models/AudioTrack.swift
arthuruan/Spotify
d4f574cbe32081e3fbdc8d45f13123fa5b3ea467
[ "MIT" ]
null
null
null
// // AudioTrack.swift // Spotify // // Created by Arthur Ruan on 26/02/22. // import Foundation
11.222222
39
0.643564
4c30ef73a0a6703a265fcca9fb64ea6359cef80a
2,384
php
PHP
vendor/bennett-treptow/laravel-migration-generator/src/Generators/Concerns/CleansUpColumnIndices.php
romeropol31/Goocrux
755f9f0666cf9d353b5cfcf609daea4d4a7c1bfa
[ "MIT" ]
1
2021-06-12T07:33:01.000Z
2021-06-12T07:33:01.000Z
vendor/bennett-treptow/laravel-migration-generator/src/Generators/Concerns/CleansUpColumnIndices.php
romeropol31/Goocrux
755f9f0666cf9d353b5cfcf609daea4d4a7c1bfa
[ "MIT" ]
null
null
null
vendor/bennett-treptow/laravel-migration-generator/src/Generators/Concerns/CleansUpColumnIndices.php
romeropol31/Goocrux
755f9f0666cf9d353b5cfcf609daea4d4a7c1bfa
[ "MIT" ]
null
null
null
<?php namespace LaravelMigrationGenerator\Generators\Concerns; use LaravelMigrationGenerator\Generators\BaseTableGenerator; /** * Trait CleansUpColumnIndices * @package LaravelMigrationGenerator\Generators\Concerns * @mixin BaseTableGenerator */ trait CleansUpColumnIndices { protected function cleanUpColumns...
44.148148
240
0.489933
7707fbb34e88ff47b750da5b2f443d66e29b78ca
1,753
sql
SQL
www/WEB-INF/templates/Data/sql/CTP/UpdateCombinedRecs.sql
jomofrodo/covid.vue
e461ca41536368ae3fc321d4484921e6987b0068
[ "MIT" ]
null
null
null
www/WEB-INF/templates/Data/sql/CTP/UpdateCombinedRecs.sql
jomofrodo/covid.vue
e461ca41536368ae3fc321d4484921e6987b0068
[ "MIT" ]
2
2021-10-06T14:58:33.000Z
2022-01-22T11:31:38.000Z
www/WEB-INF/templates/Data/sql/CTP/UpdateCombinedRecs.sql
Netazoic/openyet.vue
e461ca41536368ae3fc321d4484921e6987b0068
[ "MIT" ]
null
null
null
-- UPDATE US rollup records UPDATE combined SET positive = v1.positive, positiveincrease = v1.positiveincrease, negative = v1.negative, negativeincrease = v1.negativeincrease, totaltestresults = v1.totaltestresults, ppositive = v1.positive/v1.totaltestresults, totaltestresultsincrease = v1.totaltestresultsincrea...
29.216667
59
0.790645
867d06070f20aba20e7336f67a3eefea48ddfd6a
2,545
go
Go
inspector.go
Bjorn248/mp3inspect
047fbe9844e002fe6e93400e71f52a70c1263063
[ "MIT" ]
4
2015-05-07T15:42:00.000Z
2019-03-11T04:33:18.000Z
inspector.go
Bjorn248/mp3inspect
047fbe9844e002fe6e93400e71f52a70c1263063
[ "MIT" ]
2
2018-10-29T14:20:45.000Z
2022-03-02T19:12:08.000Z
inspector.go
Bjorn248/mp3inspect
047fbe9844e002fe6e93400e71f52a70c1263063
[ "MIT" ]
1
2018-10-04T03:57:30.000Z
2018-10-04T03:57:30.000Z
package main import ( "flag" "fmt" "os" "text/tabwriter" "github.com/betamike/mp3inspect/mp3" ) func main() { var pretty bool var skip bool flag.BoolVar(&skip, "s", false, "skip printing the output headers") flag.BoolVar(&pretty, "p", false, "print in a pretty human readable format") flag.Usage = usage ...
26.237113
147
0.676228
e133e33d691038ea56212126eb1530f903d60177
6,537
kt
Kotlin
app/src/main/java/com/labs/pbrother/freegallery/settings/SettingsHelper.kt
zmnpl/FreeGallery
14ffd44270d7dafd19f0a7abcc7704787d884d39
[ "Apache-2.0" ]
2
2017-11-03T17:28:16.000Z
2018-07-11T03:37:40.000Z
app/src/main/java/com/labs/pbrother/freegallery/settings/SettingsHelper.kt
zmnpl/FreeGallery
14ffd44270d7dafd19f0a7abcc7704787d884d39
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/labs/pbrother/freegallery/settings/SettingsHelper.kt
zmnpl/FreeGallery
14ffd44270d7dafd19f0a7abcc7704787d884d39
[ "Apache-2.0" ]
null
null
null
package com.labs.pbrother.freegallery.settings import android.content.Context import android.content.SharedPreferences import android.preference.PreferenceManager import androidx.core.content.ContextCompat import com.labs.pbrother.freegallery.R import com.labs.pbrother.freegallery.controller.Item /** * Created by s...
33.015152
102
0.616185
11c0fee2c6f7c061c941911ea403d6ac24bda363
351
sql
SQL
sql/_01_object/_08_primary_foreign_key/_001_create/cases/1030.sql
Zhaojia2019/cubrid-testcases
475a828e4d7cf74aaf2611fcf791a6028ddd107d
[ "BSD-3-Clause" ]
9
2016-03-24T09:51:52.000Z
2022-03-23T10:49:47.000Z
sql/_01_object/_08_primary_foreign_key/_001_create/cases/1030.sql
Zhaojia2019/cubrid-testcases
475a828e4d7cf74aaf2611fcf791a6028ddd107d
[ "BSD-3-Clause" ]
173
2016-04-13T01:16:54.000Z
2022-03-16T07:50:58.000Z
sql/_01_object/_08_primary_foreign_key/_001_create/cases/1030.sql
Zhaojia2019/cubrid-testcases
475a828e4d7cf74aaf2611fcf791a6028ddd107d
[ "BSD-3-Clause" ]
38
2016-03-24T17:10:31.000Z
2021-10-30T22:55:45.000Z
-- [er]create a table with a primay key,create index on this primary key create table p7 (a int primary key, b int); create index idx on p7 ( a); select attr_name, is_nullable from db_attribute where class_name = 'p7' order by 1,2; select * from db_index where class_name = 'p7' order by 1,2; select * from p7 ...
20.647059
86
0.709402
2fe0306f14d1399291556a2dd228f50afb9c2088
635
dart
Dart
Chapter_10/pig/lib/src/player.dart
rustkas/dart-for-absolute-begs
c47bc107dd6a49c8775628f95751933d86c5d9c1
[ "MIT" ]
null
null
null
Chapter_10/pig/lib/src/player.dart
rustkas/dart-for-absolute-begs
c47bc107dd6a49c8775628f95751933d86c5d9c1
[ "MIT" ]
null
null
null
Chapter_10/pig/lib/src/player.dart
rustkas/dart-for-absolute-begs
c47bc107dd6a49c8775628f95751933d86c5d9c1
[ "MIT" ]
null
null
null
import 'dart:io'; class Player { String name; var score = 0; Player(this.name); /// What does the player want to do? String getMove() { print('Do you want to (R)oll, (S)tay, or (Q)uit?'); while (true) { // exits if proper response, otherwise keeps taking input var selection = stdin.readL...
25.4
81
0.544882
e48dab163b9c4796ebfd7ae68af4f1f7abf2dd35
15,107
swift
Swift
plus-yizhidian-ios-tsauth-master/Thinksns Plus/FutureController/Group/PostList/controller/GroupInfoController.swift
yunxin-dianbo-ios/dianboOC
e6f566d1599efb832bdaaebc622ce808aa85f9c7
[ "Apache-2.0" ]
null
null
null
plus-yizhidian-ios-tsauth-master/Thinksns Plus/FutureController/Group/PostList/controller/GroupInfoController.swift
yunxin-dianbo-ios/dianboOC
e6f566d1599efb832bdaaebc622ce808aa85f9c7
[ "Apache-2.0" ]
null
null
null
plus-yizhidian-ios-tsauth-master/Thinksns Plus/FutureController/Group/PostList/controller/GroupInfoController.swift
yunxin-dianbo-ios/dianboOC
e6f566d1599efb832bdaaebc622ce808aa85f9c7
[ "Apache-2.0" ]
1
2020-10-22T06:23:24.000Z
2020-10-22T06:23:24.000Z
// // GroupInfoController.swift // ThinkSNS + // // Created by GorCat on 2017/12/13. // Copyright © 2017年 ZhiYiCX. All rights reserved. // // 圈子详情 视图控制器 import UIKit import ObjectMapper /// 圈子管理类型 enum GroupManagerType: String { /// 圈主,开放所有信息的设置权限 case master = "圈主" /// 管理员,管理员只可修改简介与公告 case mana...
33.27533
347
0.580592
3324e48df6cb45bfb982f9754f04ae47cbd3bffa
7,484
py
Python
util/utils.py
choyoungjung/xray-align-AR
18847c01008fe5a53bbdea5915a1a4e84e7c7f22
[ "MIT" ]
null
null
null
util/utils.py
choyoungjung/xray-align-AR
18847c01008fe5a53bbdea5915a1a4e84e7c7f22
[ "MIT" ]
null
null
null
util/utils.py
choyoungjung/xray-align-AR
18847c01008fe5a53bbdea5915a1a4e84e7c7f22
[ "MIT" ]
1
2022-02-23T06:45:04.000Z
2022-02-23T06:45:04.000Z
from __future__ import print_function import random from torch.autograd import Variable import torch from PIL import Image import numpy as np import math import os import cv2 ''' Code from https://github.com/ycszen/pytorch-seg/blob/master/transform.py Modified so it complies with the Cityscape label map...
34.971963
102
0.568813
ebf9892ceb6311526e28cb4f94d0498b845579d4
128
sql
SQL
src/main/resources/db/migration/V7__add_media_cache_table.sql
Senpos/evil-bot
70611e6b26dc9cd22d82e63e435389cc3c1db290
[ "MIT" ]
11
2019-08-13T11:12:57.000Z
2021-12-23T17:41:18.000Z
src/main/resources/db/migration/V7__add_media_cache_table.sql
Senpos/evil-bot
70611e6b26dc9cd22d82e63e435389cc3c1db290
[ "MIT" ]
28
2019-12-25T11:59:01.000Z
2021-10-31T20:21:54.000Z
src/main/resources/db/migration/V7__add_media_cache_table.sql
Senpos/evil-bot
70611e6b26dc9cd22d82e63e435389cc3c1db290
[ "MIT" ]
20
2019-10-26T12:14:47.000Z
2021-11-04T13:10:06.000Z
CREATE TABLE media_cache ( id SERIAL PRIMARY KEY, digest VARCHAR NOT NULL UNIQUE, file_id VARCHAR NOT NULL );
18.285714
36
0.679688
583fa55efea6a37e0125021bd1d59caea91221cb
11,668
c
C
htp/htp_urlencoded.c
basking2/libhtp
5e638395fcfde9617c6902f7f18ad403c5c5aea1
[ "BSD-3-Clause" ]
1
2019-12-22T21:08:35.000Z
2019-12-22T21:08:35.000Z
htp/htp_urlencoded.c
basking2/libhtp
5e638395fcfde9617c6902f7f18ad403c5c5aea1
[ "BSD-3-Clause" ]
null
null
null
htp/htp_urlencoded.c
basking2/libhtp
5e638395fcfde9617c6902f7f18ad403c5c5aea1
[ "BSD-3-Clause" ]
1
2019-12-11T07:29:33.000Z
2019-12-11T07:29:33.000Z
/*************************************************************************** * Copyright (c) 2009-2010 Open Information Security Foundation * Copyright (c) 2010-2013 Qualys, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
35.250755
140
0.55845
757f829844b8adfb77643f4843017499bc5b822b
248,425
c
C
src/clib/u8g2_font_unifont_t_japanese2.c
kzhioki/U8g2_Arduino
42bac40675ab7404e6df3444cb01124aa9bd17b2
[ "BSD-2-Clause" ]
null
null
null
src/clib/u8g2_font_unifont_t_japanese2.c
kzhioki/U8g2_Arduino
42bac40675ab7404e6df3444cb01124aa9bd17b2
[ "BSD-2-Clause" ]
null
null
null
src/clib/u8g2_font_unifont_t_japanese2.c
kzhioki/U8g2_Arduino
42bac40675ab7404e6df3444cb01124aa9bd17b2
[ "BSD-2-Clause" ]
null
null
null
#include "u8g2.h" /* Fontname: -gnu-Unifont-Medium-R-Normal-Sans-16-160-75-75-c-80-iso10646-1 Copyright: Copyright (C) 2014 Roman Czyborra, Paul Hardy, Qianqian Fang, Andrew Miller, et al. Licensed under the GNU General Public License; either version 2, or (at your option) a later version, with the GNU Font Embeddi...
87.504403
237
0.666684
90c778a0806a36d767cc03226c86adf6c959e316
98
dart
Dart
lib/entities/announce_type.dart
casino-plus/casino-plus-front
313664b65bc335ebfeed42a8060f968fd8f1c05b
[ "Apache-2.0" ]
null
null
null
lib/entities/announce_type.dart
casino-plus/casino-plus-front
313664b65bc335ebfeed42a8060f968fd8f1c05b
[ "Apache-2.0" ]
2
2021-08-08T14:29:20.000Z
2021-08-08T14:49:34.000Z
lib/entities/announce_type.dart
casino-plus/casino-plus-front
313664b65bc335ebfeed42a8060f968fd8f1c05b
[ "Apache-2.0" ]
null
null
null
enum AnnounceType { BetComplete, PutComplete, PutAction, NewPlayerEnter, PlayerLeave, }
12.25
19
0.734694
1226d93a9e0064da1fb7ce661d203a7740d22133
173
h
C
Samples/MethodsTests.h
GetResponse/iOS-Developer-Kit
ee00d9637e484128560c2258f9455bddc884105e
[ "MIT" ]
2
2015-12-10T09:00:01.000Z
2016-01-15T13:13:18.000Z
Samples/MethodsTests.h
GetResponse/iOS-Developer-Kit
ee00d9637e484128560c2258f9455bddc884105e
[ "MIT" ]
null
null
null
Samples/MethodsTests.h
GetResponse/iOS-Developer-Kit
ee00d9637e484128560c2258f9455bddc884105e
[ "MIT" ]
null
null
null
// // MethodsTests.h // APIWrapper // // Copyright © 2016 GetResponse. All rights reserved. // #import <UIKit/UIKit.h> @interface MethodsTests : UIViewController @end
13.307692
54
0.699422
41a78c6de8c0e61919d0e89832063c07509a7bd7
1,343
lua
Lua
modules/termfx/lib/luarocks/rocks-5.3/termfx/0.7.1-1/samples/printtest.lua
katka-juhasova/BP-data
7e9d23d217f69af7b8f0a9c063d9be54e992d8d5
[ "MIT" ]
1
2021-01-26T08:07:39.000Z
2021-01-26T08:07:39.000Z
modules/termfx/lib/luarocks/rocks-5.3/termfx/0.7.1-1/samples/printtest.lua
katka-juhasova/BP-data
7e9d23d217f69af7b8f0a9c063d9be54e992d8d5
[ "MIT" ]
null
null
null
modules/termfx/lib/luarocks/rocks-5.3/termfx/0.7.1-1/samples/printtest.lua
katka-juhasova/BP-data
7e9d23d217f69af7b8f0a9c063d9be54e992d8d5
[ "MIT" ]
2
2020-06-19T15:47:12.000Z
2021-01-26T08:07:41.000Z
-- sample for termfx -- Gunnar Zötl <gz@tset.de>, 2014-2015 -- Released under the terms of the MIT license. See file LICENSE for details. tfx = require "termfx" tfx.init() ok, err = pcall(function() ---------- vvv draw here vvv ---------- tfx.outputmode(tfx.output.COL256) tfx.clear(tfx.color.WHITE, tfx.color.BLACK)...
21.66129
77
0.595681
2a15b568d10fe59a2385d4f26a0078664ab9ac0e
2,440
java
Java
src/main/java/com/huaxin/cloud/tms/tray/service/impl/RfidBindOrderDetailServiceImpl.java
tmstray/hx_tms_tray
72dabb17537af35d672b34362021f005c33131ce
[ "Apache-2.0" ]
1
2019-12-12T03:06:59.000Z
2019-12-12T03:06:59.000Z
src/main/java/com/huaxin/cloud/tms/tray/service/impl/RfidBindOrderDetailServiceImpl.java
tmstray/hx_tms_tray
72dabb17537af35d672b34362021f005c33131ce
[ "Apache-2.0" ]
null
null
null
src/main/java/com/huaxin/cloud/tms/tray/service/impl/RfidBindOrderDetailServiceImpl.java
tmstray/hx_tms_tray
72dabb17537af35d672b34362021f005c33131ce
[ "Apache-2.0" ]
null
null
null
package com.huaxin.cloud.tms.tray.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.huaxin.cloud.tms.tray.common.utils.text.Convert; import com.huaxin.cloud.tms.tray.dao.RfidBindOrderDetailMapper; import com.hu...
25.684211
107
0.713525
5acb737f3d64d005af42e7a22e69f3928c6c1c20
2,761
swift
Swift
Data_Structures_and_Algorithms_in_Swift/Ch37_Graphs_Challenges.playground/Pages/1. Count the Number of Paths.xcplaygroundpage/Contents.swift
WooRaZil-Boy/Raywenderlich_iOS
8c3ed8318afd6af52fdc76c8dd54defb55aee4ca
[ "Unlicense" ]
14
2018-10-11T23:29:19.000Z
2022-01-19T14:43:51.000Z
Data_Structures_and_Algorithms_in_Swift/Ch37_Graphs_Challenges.playground/Pages/1. Count the Number of Paths.xcplaygroundpage/Contents.swift
WooRaZil-Boy/Raywenderlich_iOS
8c3ed8318afd6af52fdc76c8dd54defb55aee4ca
[ "Unlicense" ]
8
2020-12-22T01:57:27.000Z
2021-08-30T02:05:01.000Z
Data_Structures_and_Algorithms_in_Swift/Ch37_Graphs_Challenges.playground/Pages/1. Count the Number of Paths.xcplaygroundpage/Contents.swift
WooRaZil-Boy/Raywenderlich_iOS
8c3ed8318afd6af52fdc76c8dd54defb55aee4ca
[ "Unlicense" ]
4
2019-11-18T12:49:15.000Z
2021-04-08T03:22:47.000Z
// Copyright (c) 2019 Razeware LLC // For full license & permission details, see LICENSE.markdown. /*: # 1. Count the Number of Paths Write a method to count the number of paths between two vertices in a directed graph. */ //방향 그래프에서 두 정점 사이의 경로 수를 세는 메서드를 작성한다. //ex. 아래 예에서는 A 에서 E 까지 5개의 경로가 있다. //: ![numberOfPa...
37.821918
138
0.631293
e4efcc31605f33ad027fe39f37815462838f14ae
1,091
swift
Swift
Package.swift
ezhes/KVNProgress
89eb3509dfadc9f30a17d20b0c5c187a92db334c
[ "MIT" ]
null
null
null
Package.swift
ezhes/KVNProgress
89eb3509dfadc9f30a17d20b0c5c187a92db334c
[ "MIT" ]
null
null
null
Package.swift
ezhes/KVNProgress
89eb3509dfadc9f30a17d20b0c5c187a92db334c
[ "MIT" ]
null
null
null
// swift-tools-version:5.3 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: "KVNProgress", defaultLocalization: "en", platforms: [ .iOS(.v9), ], products: [ // Products define the ...
27.275
117
0.514207
624f53f3e9f72c775ff3e9bfe8185112ed6b019a
3,229
swift
Swift
CourseRater/HomeViewController.swift
zhengwu123/instragram_demo
593e2ffee9a77c8ac3087118133a94e0902f2c3c
[ "Apache-2.0" ]
null
null
null
CourseRater/HomeViewController.swift
zhengwu123/instragram_demo
593e2ffee9a77c8ac3087118133a94e0902f2c3c
[ "Apache-2.0" ]
1
2017-03-18T10:31:47.000Z
2017-03-18T10:31:47.000Z
CourseRater/HomeViewController.swift
zhengwu123/instragram_demo
593e2ffee9a77c8ac3087118133a94e0902f2c3c
[ "Apache-2.0" ]
null
null
null
// // HomeViewController.swift // CourseRater // // Created by New on 2/27/16. // Copyright © 2016 CodeMonkey. All rights reserved. // import UIKit import Parse class HomeViewController: UIViewController,UITableViewDataSource,UITableViewDelegate { var refresher: UIRefreshControl! @IBAction func onLog...
29.09009
115
0.567978
2631613a05540e39b8393a32ec7ef1d25574eedf
434
dart
Dart
lib/provider/product.dart
Jasurbek-Jaxongirov/Shopping-application
7c98df186e7c9329a5ba771a468a423d0bd0b610
[ "Apache-2.0" ]
null
null
null
lib/provider/product.dart
Jasurbek-Jaxongirov/Shopping-application
7c98df186e7c9329a5ba771a468a423d0bd0b610
[ "Apache-2.0" ]
null
null
null
lib/provider/product.dart
Jasurbek-Jaxongirov/Shopping-application
7c98df186e7c9329a5ba771a468a423d0bd0b610
[ "Apache-2.0" ]
null
null
null
import 'package:flutter/foundation.dart'; class Product with ChangeNotifier { final String id; final String title; final String description; final double price; final String imageUrl; bool isFavorite; Product({ this.id, this.title, this.description, this.price, this.imageUrl, thi...
17.36
41
0.677419
21967ce77bda8b21e451f11135c3cb9b3ab8e9a6
10,124
rs
Rust
maths/src/vec3.rs
sketchpunk/fungi_rs
36d164a933915abb1a46d6fa9c2d64a2b9d2e182
[ "MIT" ]
12
2019-05-04T11:21:38.000Z
2021-07-01T05:27:34.000Z
maths/src/vec3.rs
sketchpunk/fungi_rs
36d164a933915abb1a46d6fa9c2d64a2b9d2e182
[ "MIT" ]
null
null
null
maths/src/vec3.rs
sketchpunk/fungi_rs
36d164a933915abb1a46d6fa9c2d64a2b9d2e182
[ "MIT" ]
null
null
null
#![allow(dead_code)] //############################################################################## // CONSTANTS pub const VEC3_ZERO : Vec3 = [ 0.0, 0.0, 0.0 ]; pub const VEC3_FWD : Vec3 = [ 0.0, 0.0, 1.0 ]; pub const VEC3_BACK : Vec3 = [ 0.0, 0.0, -1.0 ]; pub const VEC3_UP : Vec3 = [ 0.0, 1.0, 0.0 ]; pub...
28.27933
90
0.410806
90eb5c7c411edf083350f2b9723957f799f3d4b9
5,005
py
Python
eventsourcing_grpc/console.py
johnbywater/eventsourcing-grpc
d6f36f1e9bd994a95d1cea16a46254d61efbddeb
[ "BSD-3-Clause" ]
2
2022-03-18T15:25:37.000Z
2022-03-18T16:47:04.000Z
eventsourcing_grpc/console.py
johnbywater/eventsourcing-grpc
d6f36f1e9bd994a95d1cea16a46254d61efbddeb
[ "BSD-3-Clause" ]
null
null
null
eventsourcing_grpc/console.py
johnbywater/eventsourcing-grpc
d6f36f1e9bd994a95d1cea16a46254d61efbddeb
[ "BSD-3-Clause" ]
null
null
null
from __future__ import annotations import os import sys import traceback from itertools import count from signal import SIGINT, SIGTERM, signal from threading import Event, Lock from typing import Any, cast from eventsourcing.system import System from eventsourcing.utils import TopicError, resolve_topic from eventso...
32.5
86
0.607193
fd9eb0f863f58a4de65eafc3230aa45f04f0f2cc
1,675
kt
Kotlin
app/src/main/java/xyz/sangcomz/chameleonsample/ChameleonAdapter.kt
preludezdev/Chameleon
20a763ce701efd4518acbf898b7280341f8258a9
[ "Apache-2.0" ]
54
2018-03-28T12:06:03.000Z
2022-02-06T23:44:57.000Z
app/src/main/java/xyz/sangcomz/chameleonsample/ChameleonAdapter.kt
preludezdev/Chameleon
20a763ce701efd4518acbf898b7280341f8258a9
[ "Apache-2.0" ]
17
2018-04-18T01:24:49.000Z
2019-11-20T00:35:13.000Z
app/src/main/java/xyz/sangcomz/chameleonsample/ChameleonAdapter.kt
preludezdev/Chameleon
20a763ce701efd4518acbf898b7280341f8258a9
[ "Apache-2.0" ]
16
2018-03-28T12:14:39.000Z
2019-10-20T05:48:28.000Z
package xyz.sangcomz.chameleonsample import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.widget.AppCompatImageView import androidx.appcompat.widget.AppCompatTextView import androidx.recyclerview.widget.RecyclerView import com.squareup.picasso.Picasso /**...
34.183673
107
0.722388
56c80c74e617dcfd1093dd346641e8c32ce49e02
2,358
kt
Kotlin
src/main/kotlin/ru/catcab/taximaster/paymentgateway/logic/RemoveOldDataOperation.kt
kostyanx/payment-gateway-taximaster
a1f0ffb7fdbee7a4fec4f7c5f04df51d899a657d
[ "Apache-2.0" ]
1
2021-01-07T03:06:01.000Z
2021-01-07T03:06:01.000Z
src/main/kotlin/ru/catcab/taximaster/paymentgateway/logic/RemoveOldDataOperation.kt
kostyanx/payment-gateway-taximaster
a1f0ffb7fdbee7a4fec4f7c5f04df51d899a657d
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/ru/catcab/taximaster/paymentgateway/logic/RemoveOldDataOperation.kt
kostyanx/payment-gateway-taximaster
a1f0ffb7fdbee7a4fec4f7c5f04df51d899a657d
[ "Apache-2.0" ]
null
null
null
package ru.catcab.taximaster.paymentgateway.logic import com.github.shyiko.skedule.Schedule import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.launch import kotlinx.coroutines.withContext import org.jetbrains.exposed.sql.Database import org.jetbrains.exposed.sql.delet...
41.368421
119
0.774385
402fa8e89d63610d28af51671a5c61da7dd411bf
6,438
py
Python
pyeit/mesh/wrapper.py
ccfbeltran/pyEIT
eaa0b7981b6ab0735e25ba079c1ecc209604c438
[ "BSD-3-Clause" ]
107
2015-03-20T09:17:56.000Z
2022-03-30T17:11:53.000Z
pyeit/mesh/wrapper.py
ccfbeltran/pyEIT
eaa0b7981b6ab0735e25ba079c1ecc209604c438
[ "BSD-3-Clause" ]
25
2018-03-28T23:13:29.000Z
2022-03-16T07:41:29.000Z
pyeit/mesh/wrapper.py
ccfbeltran/pyEIT
eaa0b7981b6ab0735e25ba079c1ecc209604c438
[ "BSD-3-Clause" ]
54
2017-03-04T05:52:29.000Z
2022-03-16T09:10:29.000Z
# coding: utf-8 # pylint: disable=invalid-name, no-member, too-many-arguments """ wrapper function of distmesh for EIT """ # Copyright (c) Benyuan Liu. All rights reserved. # Distributed under the (new) BSD License. See LICENSE.txt for more info. from __future__ import division, absolute_import, print_function import ...
31.404878
93
0.500621
9bac2ae802dcf5215e4faf429c36a521d93b4dca
72
js
JavaScript
src/challenges/fault-seeding/array-sum/starter/index.js
codeosseum/quaestiones
bc21de47e4d75848a89465f7cf8b6a8279aaa1f6
[ "Apache-2.0" ]
null
null
null
src/challenges/fault-seeding/array-sum/starter/index.js
codeosseum/quaestiones
bc21de47e4d75848a89465f7cf8b6a8279aaa1f6
[ "Apache-2.0" ]
1
2020-07-17T02:52:39.000Z
2020-07-17T02:52:39.000Z
src/challenges/fault-seeding/array-sum/starter/index.js
codeosseum/quaestiones
bc21de47e4d75848a89465f7cf8b6a8279aaa1f6
[ "Apache-2.0" ]
null
null
null
function arraySum(array) { return 0; }; module.exports = arraySum;
12
26
0.680556
857d785a92786c13f34cf08de7b4b78072ee98cd
26,168
js
JavaScript
src/App.js
Devmarshall/Solar-Calc
69e0cb444a091332f5719eb855f5f531573f4105
[ "MIT" ]
null
null
null
src/App.js
Devmarshall/Solar-Calc
69e0cb444a091332f5719eb855f5f531573f4105
[ "MIT" ]
null
null
null
src/App.js
Devmarshall/Solar-Calc
69e0cb444a091332f5719eb855f5f531573f4105
[ "MIT" ]
null
null
null
import React, { Component } from 'react'; import './App.css'; import '../node_modules/bootstrap/dist/js/bootstrap' import '../node_modules/popper.js/dist/popper'; import '../node_modules/jquery/dist/jquery' class App extends Component { initiaState = { directEnergyRequirementInputValue: 1, energyRequirement...
42.968801
230
0.560112
72fbfa3c7b02b8a870bbe7519f26c06572ff1b15
754
html
HTML
frontend/src/main/resources/templates/backup/temp.html
white-pin/whitepin
fbbeeafe2e2ac517584b908e35527405c30865f6
[ "Apache-2.0" ]
null
null
null
frontend/src/main/resources/templates/backup/temp.html
white-pin/whitepin
fbbeeafe2e2ac517584b908e35527405c30865f6
[ "Apache-2.0" ]
null
null
null
frontend/src/main/resources/templates/backup/temp.html
white-pin/whitepin
fbbeeafe2e2ac517584b908e35527405c30865f6
[ "Apache-2.0" ]
null
null
null
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Temp</title> </head> <body> <h1>temp.html</h1> <div id="templateDiv"></div> <!--<script id="myTemplate" type="text/x-handlebars-template"> <h2>This is template!!</h2> </script>--> <script src="/static/assets/js/core/jquery.3.2.1.min.js" type...
26
105
0.668435
a9c325cc104e923508226e9faf28849f2e759d68
1,556
html
HTML
app/mapproxy_webconf/templates/base_config.html
mapproxy/mapproxy-webconf
b1010c9bf3aa04dd95b893912bbec20438d29116
[ "Apache-2.0" ]
12
2015-10-03T01:49:34.000Z
2020-10-20T20:06:20.000Z
app/mapproxy_webconf/templates/base_config.html
mapproxy/mapproxy-webconf
b1010c9bf3aa04dd95b893912bbec20438d29116
[ "Apache-2.0" ]
2
2015-05-21T21:14:56.000Z
2017-07-19T08:22:28.000Z
app/mapproxy_webconf/templates/base_config.html
mapproxy/mapproxy-webconf
b1010c9bf3aa04dd95b893912bbec20438d29116
[ "Apache-2.0" ]
6
2015-05-06T08:12:16.000Z
2020-11-30T05:37:46.000Z
%def site_navbar(): <a href="${ get_url('configuration', project=project) }"> <h2 class="pull-left tab-menu-header"> ${ _('Configuration') } </h2> </a> % if not demo: <div ng-controller="MapProxyConfigCtrl" class="pull-right"> <div> <button class="btn btn-sm btn-default" ng-click="writeM...
25.508197
153
0.579049
057c55a9f4d2f9abf342394bb2cf3300981a6ba4
1,242
swift
Swift
SwiftProject/Classes/Purchase/CateProductCell.swift
hayier/SwiftProject
916d72a961deefb2efd3cb3c40cdd2bfb1a0d969
[ "MIT" ]
1
2021-12-09T08:57:57.000Z
2021-12-09T08:57:57.000Z
SwiftProject/Classes/Purchase/CateProductCell.swift
hayier/SwiftProject
916d72a961deefb2efd3cb3c40cdd2bfb1a0d969
[ "MIT" ]
null
null
null
SwiftProject/Classes/Purchase/CateProductCell.swift
hayier/SwiftProject
916d72a961deefb2efd3cb3c40cdd2bfb1a0d969
[ "MIT" ]
null
null
null
// // CateProductCell.swift // SwiftProject // // Created by tongcheng on 2019/5/9. // Copyright © 2019 icx. All rights reserved. // import UIKit class CateProductCell: UICollectionViewCell { let imgv = UIImageView() let nameLab = UILabel() override init(frame: CGRect) { super.init(f...
24.352941
59
0.588567
2a05538bd77c10445b73f22e891d4f321324bd09
271
java
Java
src/main/scala/com/razie/pubstage/AssetListVisual.java
razie/razpub
dc42908cfdb24d0a8120adcf4e295b1f93c6a92f
[ "CC-BY-3.0" ]
null
null
null
src/main/scala/com/razie/pubstage/AssetListVisual.java
razie/razpub
dc42908cfdb24d0a8120adcf4e295b1f93c6a92f
[ "CC-BY-3.0" ]
null
null
null
src/main/scala/com/razie/pubstage/AssetListVisual.java
razie/razpub
dc42908cfdb24d0a8120adcf4e295b1f93c6a92f
[ "CC-BY-3.0" ]
null
null
null
/** * Razvan's public code. Copyright 2008 based on Apache license (share alike) see LICENSE.txt for * details. No warranty implied nor any liability assumed for this code. */ package com.razie.pubstage; public enum AssetListVisual { BRIEFLIST, LIST, DETAILS }
27.1
97
0.741697
0b7aa19dc4e53889b36908ba53b351bf9cbef5d2
6,444
py
Python
calc/bond.py
RaphaelOneRepublic/financial-calculator
2451b35a4cb52a6c254ae9fdae462dfebdc51e65
[ "MIT" ]
2
2020-12-10T13:00:43.000Z
2020-12-19T16:59:48.000Z
calc/bond.py
RaphaelOneRepublic/financial-calculator
2451b35a4cb52a6c254ae9fdae462dfebdc51e65
[ "MIT" ]
null
null
null
calc/bond.py
RaphaelOneRepublic/financial-calculator
2451b35a4cb52a6c254ae9fdae462dfebdc51e65
[ "MIT" ]
null
null
null
import logging from typing import Sequence import numpy as np from calc.optimize import root class Bond(object): """ Represents a coupon paying bond. Upon creation, the time to maturity, coupon periods per year, coupon rate must be provided. If yield to maturity is provided, bond value would be igno...
24.689655
113
0.542675
f97a33026da421c6258973f0d474d00b082e6ba5
6,841
dart
Dart
lib/pages/home/screens/chat_page.dart
joshh152/Aoura-chat
c7048b0ef0b376ec103080aaece8bb1bb1ceff2c
[ "WTFPL" ]
4
2020-07-09T00:41:05.000Z
2020-07-18T15:57:15.000Z
lib/pages/home/screens/chat_page.dart
localdev-josh/Aoura-chat
c7048b0ef0b376ec103080aaece8bb1bb1ceff2c
[ "WTFPL" ]
null
null
null
lib/pages/home/screens/chat_page.dart
localdev-josh/Aoura-chat
c7048b0ef0b376ec103080aaece8bb1bb1ceff2c
[ "WTFPL" ]
1
2020-07-09T13:00:00.000Z
2020-07-09T13:00:00.000Z
import 'package:aoura_chat/widgets/styleguide/bottom_nav.dart'; import 'package:aoura_chat/widgets/styleguide/dashed_rect.dart'; import 'package:aoura_chat/widgets/styleguide/responsive_ui/size_config.dart'; import 'package:aoura_chat/widgets/styleguide/scroll_configs.dart'; import 'package:flutter/material.dart'; impo...
34.725888
78
0.439263
2f33ff66233aa2af19b7c1f41f3f7512e80b5936
186
php
PHP
apps/pc_backend/modules/mail/templates/_submenu.php
C-nakajima/OpenPNE3
8e27ff802cdb08a2ad8926856255aa06b1b8c493
[ "Apache-2.0" ]
46
2015-01-14T00:24:50.000Z
2022-03-11T15:10:01.000Z
apps/pc_backend/modules/mail/templates/_submenu.php
fukamachi/OpenPNE3
218fd811e560a89ce90de5eea71ff50427880841
[ "Apache-2.0" ]
44
2015-02-26T04:33:25.000Z
2021-03-05T10:49:15.000Z
apps/pc_backend/modules/mail/templates/_submenu.php
fukamachi/OpenPNE3
218fd811e560a89ce90de5eea71ff50427880841
[ "Apache-2.0" ]
26
2015-01-14T00:24:53.000Z
2022-02-03T03:36:53.000Z
<li><?php echo link_to(__('Configuration of E-mail Notifications'), '@mail_config') ?></li> <li><?php echo link_to(__('Edit Templates of E-mail Notification'), '@mail_template') ?></li>
62
93
0.693548
7fa07e571b0901795b2d66cb968caac586e2d73b
4,343
rs
Rust
tests/commands/rm.rs
UltraWelfare/nushell
643b532537260d1adb7d50b80fe768996736ea52
[ "MIT" ]
null
null
null
tests/commands/rm.rs
UltraWelfare/nushell
643b532537260d1adb7d50b80fe768996736ea52
[ "MIT" ]
null
null
null
tests/commands/rm.rs
UltraWelfare/nushell
643b532537260d1adb7d50b80fe768996736ea52
[ "MIT" ]
null
null
null
use nu_test_support::fs::{files_exist_at, Stub::EmptyFile}; use nu_test_support::playground::Playground; use nu_test_support::{nu, nu_error}; #[test] fn removes_a_file() { Playground::setup("rm_test_1", |dirs, sandbox| { sandbox.with_files(vec![EmptyFile("i_will_be_deleted.txt")]); nu!( ...
26.808642
85
0.523831
50cd71ddd7ba127474b2e3edaf66a709071edc08
840
go
Go
install/main.go
anwerj/MyGo
a394f6cc283dc4958010df338f1002e7fca47c37
[ "Unlicense" ]
null
null
null
install/main.go
anwerj/MyGo
a394f6cc283dc4958010df338f1002e7fca47c37
[ "Unlicense" ]
null
null
null
install/main.go
anwerj/MyGo
a394f6cc283dc4958010df338f1002e7fca47c37
[ "Unlicense" ]
null
null
null
package install import ( "fmt" "io/ioutil" "github.com/anwerj/cargo/head" ) // Main of install func Main(a head.Aid) { dirs := a.S.ReadDir(".") con := fileContent(dirs) err := ioutil.WriteFile("registry.go", con, 0644) if err == nil { fmt.Println("Installation completed with ", dirs) } else { fmt.Prin...
17.142857
55
0.569048
f06ebdf27eb473116d5a5a69d7c99a59502c6586
409
py
Python
hackerrank/python/introduction/function.py
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
hackerrank/python/introduction/function.py
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
hackerrank/python/introduction/function.py
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
def is_leap(year): leap = False # Write your logic here # The year can be evenly divided by 4, is a leap year, unless: # The year can be evenly divided by 100, it is NOT a leap year, unless: # The year is also evenly divisible by 400. Then it is a leap year. leap = (year % 4 == 0 and (year ...
34.083333
75
0.628362
aedee7b3faeec638fd8cbc5fb58d4cfda72f59fb
38
rs
Rust
Section 1/Video 1.3/tut2.rs
PacktPublishing/Mastering-Rust-Build-Robust-Concurrent-and-Fast-Applications
fca8d4c6f9b82e62802a0ebb4371757e9e8a2bfb
[ "MIT" ]
5
2019-10-02T14:18:01.000Z
2021-11-08T13:10:28.000Z
Section 1/Video 1.3/tut2.rs
PacktPublishing/Mastering-Rust-Build-Robust-Concurrent-and-Fast-Applications
fca8d4c6f9b82e62802a0ebb4371757e9e8a2bfb
[ "MIT" ]
null
null
null
Section 1/Video 1.3/tut2.rs
PacktPublishing/Mastering-Rust-Build-Robust-Concurrent-and-Fast-Applications
fca8d4c6f9b82e62802a0ebb4371757e9e8a2bfb
[ "MIT" ]
4
2020-04-19T02:45:24.000Z
2021-11-17T14:57:40.000Z
fn main(){ let x = 6; let c = 5+3; }
9.5
13
0.447368
ffd83298d5f0dba2e08c23cf00a250504a83a953
143,991
html
HTML
doc/html/mondock_8hpp_source.html
TheoLeCalvar/castle
913e4fd04bb37072c91df46050c8ad0cfbacb964
[ "Unlicense" ]
null
null
null
doc/html/mondock_8hpp_source.html
TheoLeCalvar/castle
913e4fd04bb37072c91df46050c8ad0cfbacb964
[ "Unlicense" ]
null
null
null
doc/html/mondock_8hpp_source.html
TheoLeCalvar/castle
913e4fd04bb37072c91df46050c8ad0cfbacb964
[ "Unlicense" ]
null
null
null
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
216.52782
1,238
0.722316
2d81bbf01e09ac744586490701e37a3ca3833955
5,598
html
HTML
jacoco/uk.co.jemos.podam.typeManufacturers/GenericTypeManufacturerImpl.java.html
vinaycse/PRODSUP-001
e98e3a7013d6e467ce7f59eb6243b435439a966e
[ "MIT" ]
null
null
null
jacoco/uk.co.jemos.podam.typeManufacturers/GenericTypeManufacturerImpl.java.html
vinaycse/PRODSUP-001
e98e3a7013d6e467ce7f59eb6243b435439a966e
[ "MIT" ]
null
null
null
jacoco/uk.co.jemos.podam.typeManufacturers/GenericTypeManufacturerImpl.java.html
vinaycse/PRODSUP-001
e98e3a7013d6e467ce7f59eb6243b435439a966e
[ "MIT" ]
null
null
null
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/repo...
65.858824
1,142
0.674348
cbf61fadbde4f871de2de247cc98292580ded207
3,743
go
Go
lib/condition/check_field_test.go
elliotwms/benthos
f8d564243c6a553082d8cc3acd2f77a029e96623
[ "MIT" ]
4,106
2016-03-22T02:05:03.000Z
2022-03-09T16:18:10.000Z
lib/condition/check_field_test.go
nenad/benthos
847090142b5ceea6f8c92874f4648a8c32bd199e
[ "MIT" ]
1,068
2016-09-24T22:10:47.000Z
2022-03-09T22:07:13.000Z
lib/condition/check_field_test.go
nenad/benthos
847090142b5ceea6f8c92874f4648a8c32bd199e
[ "MIT" ]
455
2016-06-09T15:26:24.000Z
2022-03-09T13:12:02.000Z
package condition import ( "testing" "github.com/Jeffail/benthos/v3/lib/log" "github.com/Jeffail/benthos/v3/lib/message" "github.com/Jeffail/benthos/v3/lib/metrics" ) func TestCheckFieldString(t *testing.T) { type fields struct { path string part int parts []int } tests := []struct { name string ...
19.096939
65
0.532461
d308dfd741e8b4775ebf394ad1f65731bd89bea6
580
kt
Kotlin
src/jsMain/kotlin/cn/apisium/sarla/Data.kt
Apisium/Sarla
faefad8e06608309d82ad787266086dd3038a419
[ "BSD-4-Clause" ]
1
2019-03-30T18:40:38.000Z
2019-03-30T18:40:38.000Z
src/jsMain/kotlin/cn/apisium/sarla/Data.kt
Apisium/Sarla
faefad8e06608309d82ad787266086dd3038a419
[ "BSD-4-Clause" ]
null
null
null
src/jsMain/kotlin/cn/apisium/sarla/Data.kt
Apisium/Sarla
faefad8e06608309d82ad787266086dd3038a419
[ "BSD-4-Clause" ]
null
null
null
package cn.apisium.sarla import cn.apisium.sarla.nodes.DataNodeBlock import cn.apisium.sarla.utils.NativeObject import cn.apisium.sarla.utils.NativeSet actual class Data<T: Any> @PublishedApi internal actual constructor(var value: T, val provider: Provider) { var nodes = NativeSet<DataNodeBlock>() var caches ...
30.526316
107
0.713793
3918f0b79494dfb2662d4976f96aa8d7895f1404
1,443
sql
SQL
synapse/storage/schema/main/delta/40/event_push_summary.sql
lukaslihotzki/synapse
1dfdc87b9bb07cc3c958dde7f41f2af4322477e5
[ "Apache-2.0" ]
9,945
2015-01-02T07:41:06.000Z
2022-03-31T23:22:42.000Z
synapse/storage/schema/main/delta/40/event_push_summary.sql
lukaslihotzki/synapse
1dfdc87b9bb07cc3c958dde7f41f2af4322477e5
[ "Apache-2.0" ]
9,320
2015-01-08T14:09:03.000Z
2022-03-31T21:11:24.000Z
synapse/storage/schema/main/delta/40/event_push_summary.sql
lukaslihotzki/synapse
1dfdc87b9bb07cc3c958dde7f41f2af4322477e5
[ "Apache-2.0" ]
2,299
2015-01-31T22:16:29.000Z
2022-03-31T06:08:26.000Z
/* Copyright 2017 OpenMarket Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
37.973684
89
0.763687