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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
131594a073dcc9bd91cf95eed8205d2d44098694 | 514 | sql | SQL | src/db/setup.sql | amoradi/notes_service | 323ce45405b77dc6dd2c9672912be69f0c7f63f7 | [
"MIT"
] | null | null | null | src/db/setup.sql | amoradi/notes_service | 323ce45405b77dc6dd2c9672912be69f0c7f63f7 | [
"MIT"
] | null | null | null | src/db/setup.sql | amoradi/notes_service | 323ce45405b77dc6dd2c9672912be69f0c7f63f7 | [
"MIT"
] | null | null | null | /*
Holds all SQL statements needed to model the app,
in case it's ever needed for later use.
NOTE: varchar 100 used for consistency
*/
CREATE TABLE IF NOT EXISTS authors (
email varchar(100) NOT NULL UNIQUE,
name varchar(100) NOT NULL PRIMARY KEY,
api_key varchar(100) NOT NULL /* hashed and salted */
)... | 24.47619 | 91 | 0.715953 |
64b0c396a5c553df85154699f014501e10803dd6 | 3,390 | sql | SQL | sql/bol_eshop_order_status.sql | rashedshaon/importpark | 9ad40f2adbe6c726513b386ad5a337d64fac2444 | [
"RSA-MD"
] | null | null | null | sql/bol_eshop_order_status.sql | rashedshaon/importpark | 9ad40f2adbe6c726513b386ad5a337d64fac2444 | [
"RSA-MD"
] | null | null | null | sql/bol_eshop_order_status.sql | rashedshaon/importpark | 9ad40f2adbe6c726513b386ad5a337d64fac2444 | [
"RSA-MD"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : LOCALHOST
Source Server Version : 100138
Source Host : localhost:3306
Source Database : importpark
Target Server Type : MYSQL
Target Server Version : 100138
File Encoding : 65001
Date: 2022-05-01 13:54:52
*/
SET FOREIGN_KEY_CHECKS=0;
... | 41.341463 | 151 | 0.660472 |
19b34fdda495687a2525b74793ffd45a42f3a249 | 2,245 | lua | Lua | src/Corona/main.lua | agramonte/com.coronalabs-plugin.gpgs.v2 | 38b2a3736c1be72743a8cd235c3eafb4fc8d1fcb | [
"MIT"
] | null | null | null | src/Corona/main.lua | agramonte/com.coronalabs-plugin.gpgs.v2 | 38b2a3736c1be72743a8cd235c3eafb4fc8d1fcb | [
"MIT"
] | 1 | 2021-09-15T23:07:57.000Z | 2021-09-15T23:07:57.000Z | src/Corona/main.lua | agramonte/com.coronalabs-plugin.gpgs.v2 | 38b2a3736c1be72743a8cd235c3eafb4fc8d1fcb | [
"MIT"
] | 2 | 2021-08-22T18:36:22.000Z | 2021-09-21T23:27:04.000Z | display.setStatusBar(display.HiddenStatusBar)
display.setDefault('background', 1)
local widget = require('widget')
io.output():setvbuf('no')
--require('libs.remoteconsole').enable('192.168.0.108', system.getInfo('model') == 'Moto G' and 21000 or 22000)
math.randomseed(os.time())
local h = 24
local settin... | 34.015152 | 119 | 0.676169 |
dccd08b637f99175fc4496c18ff440dff292c300 | 1,329 | kt | Kotlin | app/src/test/java/com/char0dey/calculator/presentation/MainViewModelTest.kt | char0dey/calculator | ac477c8cd9f10e796144423bf6e74e6ab452175c | [
"Apache-2.0"
] | null | null | null | app/src/test/java/com/char0dey/calculator/presentation/MainViewModelTest.kt | char0dey/calculator | ac477c8cd9f10e796144423bf6e74e6ab452175c | [
"Apache-2.0"
] | null | null | null | app/src/test/java/com/char0dey/calculator/presentation/MainViewModelTest.kt | char0dey/calculator | ac477c8cd9f10e796144423bf6e74e6ab452175c | [
"Apache-2.0"
] | null | null | null | package com.char0dey.calculator.presentation
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.Observer
import com.char0dey.calculator.data.MainRepository
import com.char0dey.calculator.data.Part
import com.char0dey.calculator.domain.MainInteractor
import org.junit.Assert.assertEquals
import org.junit... | 23.315789 | 90 | 0.604966 |
8e5eeb23e7d6d5cf708d4b53946b2a960bf86056 | 560 | sql | SQL | g3/Session 4/Skripts and workshop/Session 4 - Demo 02 String functions.sql | sedc-codecademy/skwd8-07-dbdevdesign | e760febf3b01e8228aa24d6853a8f23de0343e77 | [
"MIT"
] | 1 | 2021-11-10T19:08:49.000Z | 2021-11-10T19:08:49.000Z | g3/Session 4/Skripts and workshop/Session 4 - Demo 02 String functions.sql | sedc-codecademy/skwd8-07-dbdevdesign | e760febf3b01e8228aa24d6853a8f23de0343e77 | [
"MIT"
] | null | null | null | g3/Session 4/Skripts and workshop/Session 4 - Demo 02 String functions.sql | sedc-codecademy/skwd8-07-dbdevdesign | e760febf3b01e8228aa24d6853a8f23de0343e77 | [
"MIT"
] | 2 | 2020-08-07T19:32:54.000Z | 2020-08-08T08:07:23.000Z | -- String Functions
select
FirstName
, LastName
, replace(FirstName,'ks', 'X') as Replace_ks_X
, Substring(FirstName, 4, 2) as Substring_4_2
, Left(FirstName, 3) as Left_3
, Right(FirstName, 2) as Right_2
, Len(FirstName) as LenColumn
, Concat(FirstName, N' + ', LastName) as Concat_Name
from
Employee
where
FirstNam... | 22.4 | 90 | 0.753571 |
053ffb9d40cdf05f104fda019a6ee35c61ede9d7 | 562 | podspec | Ruby | EventTracker.podspec | birwin93/EventTracker | 12bcb90d496e1f0aaf3252a56505392646cfce59 | [
"MIT"
] | 6 | 2016-11-15T17:59:09.000Z | 2018-02-12T20:16:53.000Z | EventTracker.podspec | birwin93/EventTracker | 12bcb90d496e1f0aaf3252a56505392646cfce59 | [
"MIT"
] | null | null | null | EventTracker.podspec | birwin93/EventTracker | 12bcb90d496e1f0aaf3252a56505392646cfce59 | [
"MIT"
] | null | null | null | Pod::Spec.new do |spec|
spec.name = "EventTracker"
spec.version = "0.1.2"
spec.summary = "Framework to log events"
spec.homepage = "https://github.com/birwin93/EventTracker"
spec.license = { type: 'MIT', file: 'LICENSE' }
spec.authors = { "Billy Irwin" => 'birwin93@gmail.com' }
spec.social_media_url = "ht... | 37.466667 | 95 | 0.672598 |
d0089e8e71f8a0965b74c614762d897cfcb64878 | 401 | css | CSS | components/blocksEdit/profile.css | dave4506/impressive | 8de960a6efd85d40db10aa1791b42faf03db0ae9 | [
"MIT"
] | null | null | null | components/blocksEdit/profile.css | dave4506/impressive | 8de960a6efd85d40db10aa1791b42faf03db0ae9 | [
"MIT"
] | null | null | null | components/blocksEdit/profile.css | dave4506/impressive | 8de960a6efd85d40db10aa1791b42faf03db0ae9 | [
"MIT"
] | null | null | null | .block-profile {
}
.block-profile-img {
width: 10rem;
height: 10rem;
border-radius: 50%;
margin: 1rem;
}
.block-profile-name {
font-family: 'Merriweather', serif;
font-size: 3rem;
margin:0;
padding: 1rem;
text-align: center;
}
.block-profile-description {
font-weight: 700;
letter-spacing: nor... | 14.321429 | 37 | 0.653367 |
e667cd7db4ba7955484fd31cacbaf261579209d3 | 902 | dart | Dart | lib/conversation/data/repository/conversation_repository.dart | gyakhoe/flutter_chat | 1b38d44c5c21d72e7fac0099eaae1e1e636c7077 | [
"MIT"
] | 4 | 2022-01-11T23:27:33.000Z | 2022-03-23T18:03:16.000Z | lib/conversation/data/repository/conversation_repository.dart | gyakhoe/flutter_chat | 1b38d44c5c21d72e7fac0099eaae1e1e636c7077 | [
"MIT"
] | null | null | null | lib/conversation/data/repository/conversation_repository.dart | gyakhoe/flutter_chat | 1b38d44c5c21d72e7fac0099eaae1e1e636c7077 | [
"MIT"
] | 1 | 2022-01-29T03:57:47.000Z | 2022-01-29T03:57:47.000Z | import 'package:flutter_chat/conversation/conversation.dart';
class ConversationRepository {
final ConversationFirebaseProvider conversationFirebaseProvider;
ConversationRepository({
required this.conversationFirebaseProvider,
});
Future<Conversation?> getConversation({
required String senderUID,
... | 25.771429 | 80 | 0.728381 |
be702f490f12732866ceec5026966e82d153e2a4 | 1,347 | kt | Kotlin | plugin-bazel-event-service/src/main/kotlin/bazel/messages/handlers/AbortedHandler.kt | Privitar/teamcity-bazel-plugin | 0e03c37df11aa71d353ca818a7d8d6fde8202860 | [
"Apache-2.0"
] | 13 | 2018-11-15T12:13:16.000Z | 2022-03-31T06:28:12.000Z | plugin-bazel-event-service/src/main/kotlin/bazel/messages/handlers/AbortedHandler.kt | Privitar/teamcity-bazel-plugin | 0e03c37df11aa71d353ca818a7d8d6fde8202860 | [
"Apache-2.0"
] | 17 | 2019-02-07T20:07:08.000Z | 2021-03-04T06:15:22.000Z | plugin-bazel-event-service/src/main/kotlin/bazel/messages/handlers/AbortedHandler.kt | Privitar/teamcity-bazel-plugin | 0e03c37df11aa71d353ca818a7d8d6fde8202860 | [
"Apache-2.0"
] | 7 | 2018-12-29T04:53:39.000Z | 2022-03-19T09:19:56.000Z | package bazel.messages.handlers
import bazel.HandlerPriority
import bazel.bazel.events.Aborted
import bazel.bazel.events.BazelEvent
import bazel.messages.Color
import bazel.messages.ServiceMessageContext
import bazel.messages.apply
class AbortedHandler : EventHandler {
override val priority: HandlerPriority
... | 42.09375 | 118 | 0.532294 |
4e2280a10c696add63d79b827d8c94fb0966594b | 321 | asm | Assembly | programs/oeis/317/A317657.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/317/A317657.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/317/A317657.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A317657: Numbers congruent to {15, 75, 95} mod 100.
; 15,75,95,115,175,195,215,275,295,315,375,395,415,475,495,515,575,595,615,675,695,715,775,795,815,875,895,915,975,995,1015,1075,1095,1115,1175,1195,1215,1275,1295,1315,1375,1395,1415,1475,1495,1515
mov $1,$0
add $0,2
div $0,3
mul $0,2
add $0,$1
mul $0,20
add $0,15... | 29.181818 | 198 | 0.700935 |
1fa3b07edf8b49fa46775a180e1ba6931f925fac | 2,330 | html | HTML | _layouts/post.html | Sincky/Sincky.github.io | 42f87e9ff539d4c58c642a89d627a71abf0d4d9d | [
"MIT"
] | null | null | null | _layouts/post.html | Sincky/Sincky.github.io | 42f87e9ff539d4c58c642a89d627a71abf0d4d9d | [
"MIT"
] | null | null | null | _layouts/post.html | Sincky/Sincky.github.io | 42f87e9ff539d4c58c642a89d627a71abf0d4d9d | [
"MIT"
] | null | null | null | ---
layout: default
---
<!-- 判断是否插入首页图片 -->
{% if page.image.feature %}
<div class="post-image-feature">
<img class="feature-image" src=
{% if page.image.feature contains 'https' or page.image.feature contains 'http' %}
"{{ page.image.feature }}"
{% else %}
"{{ site.url }}/img/{{ pag... | 30.657895 | 121 | 0.551502 |
6c28ea9b0be480dc267351392e50d2c10929a1b2 | 6,599 | go | Go | daemon/vtep/fakes/netAdapter.go | IvanHristov98/silk | eda18cff3827b5019f36a7a31121ab0d6221d3f8 | [
"Apache-2.0"
] | 13 | 2017-11-04T20:37:45.000Z | 2021-06-14T13:28:06.000Z | daemon/vtep/fakes/netAdapter.go | IvanHristov98/silk | eda18cff3827b5019f36a7a31121ab0d6221d3f8 | [
"Apache-2.0"
] | 11 | 2018-05-21T08:46:54.000Z | 2022-03-28T15:12:05.000Z | daemon/vtep/fakes/netAdapter.go | IvanHristov98/silk | eda18cff3827b5019f36a7a31121ab0d6221d3f8 | [
"Apache-2.0"
] | 8 | 2017-11-16T12:53:40.000Z | 2022-01-07T13:51:41.000Z | // Code generated by counterfeiter. DO NOT EDIT.
package fakes
import (
"net"
"sync"
)
type NetAdapter struct {
InterfacesStub func() ([]net.Interface, error)
interfacesMutex sync.RWMutex
interfacesArgsForCall []struct{}
interfacesReturns struct {
result1 []net.Interface
result2 error
}
i... | 29.591928 | 100 | 0.764661 |
7b7763e9dc62645bf4bdbac655aa043c764872a2 | 1,434 | dart | Dart | unpub_web/lib/src/routes.dart | yeyu1271/unpub | a8c4be7b60f823b225363fb0e6491660890bfa92 | [
"MIT"
] | 278 | 2019-05-10T04:26:30.000Z | 2022-03-30T00:14:36.000Z | unpub_web/lib/src/routes.dart | yeyu1271/unpub | a8c4be7b60f823b225363fb0e6491660890bfa92 | [
"MIT"
] | 55 | 2019-07-03T07:00:46.000Z | 2022-03-29T11:40:18.000Z | unpub_web/lib/src/routes.dart | MobiliteDev/unpub | c675efba5c5c424e60ce61cc8c3902bea951610a | [
"MIT"
] | 80 | 2019-08-05T08:29:18.000Z | 2022-03-18T09:39:26.000Z | import 'package:angular_router/angular_router.dart';
import 'home_component.template.dart' as home_template;
import 'list_component.template.dart' as list_template;
import 'detail_component.template.dart' as detail_template;
// import 'not_found_component.template.dart' as not_found_template;
class RoutePaths {
sta... | 29.875 | 68 | 0.72106 |
bbcfe520f9f90147e668e541c78d7b0218ee81c3 | 220 | sql | SQL | Oracle SQL/Higher Than 75 Marks.sql | fukakai/HackerRank-Solutions | cf4ae5a982e60667eb1ec57d0a2ae8720585b5c9 | [
"MIT"
] | null | null | null | Oracle SQL/Higher Than 75 Marks.sql | fukakai/HackerRank-Solutions | cf4ae5a982e60667eb1ec57d0a2ae8720585b5c9 | [
"MIT"
] | null | null | null | Oracle SQL/Higher Than 75 Marks.sql | fukakai/HackerRank-Solutions | cf4ae5a982e60667eb1ec57d0a2ae8720585b5c9 | [
"MIT"
] | null | null | null | /*
Author: Romain DALICHAMP
Github: https://github.com/fukakai
Portfolio: http://romain.dalichamp.fr
Contact: romain.dalichamp@free.fr
*/
select NAME from STUDENTS
where MARKS > 75
order by SUBSTR(NAME,-3,3), ID ASC; | 24.444444 | 38 | 0.745455 |
92a42d55f9aa9c14044d3e0b4088a5622fe1fbe5 | 181 | kt | Kotlin | app/src/main/java/com/kk/hub/repository/dao/UserDao.kt | perrrfeck/KKhub | 9a954acf1fdc8658286fc91de4edb809e4d87291 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/kk/hub/repository/dao/UserDao.kt | perrrfeck/KKhub | 9a954acf1fdc8658286fc91de4edb809e4d87291 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/kk/hub/repository/dao/UserDao.kt | perrrfeck/KKhub | 9a954acf1fdc8658286fc91de4edb809e4d87291 | [
"Apache-2.0"
] | null | null | null | package com.kk.hub.repository.dao
import android.app.Application
/**
* Created by kk on 2019/11/4 09:47
*/
class UserDao constructor(private val application: Application) {
} | 16.454545 | 65 | 0.740331 |
74cc9f28a4ada34c7818ea6dbd08f599a442a70d | 3,178 | js | JavaScript | packages/nexpa/src/plugins/modals.js | arash16/nexpa | 35b0dd30286e7c26174667f47eaab6c4dce05e36 | [
"Apache-2.0"
] | 1 | 2017-05-16T12:41:03.000Z | 2017-05-16T12:41:03.000Z | packages/nexpa/src/plugins/modals.js | arash16/nexpa | 35b0dd30286e7c26174667f47eaab6c4dce05e36 | [
"Apache-2.0"
] | null | null | null | packages/nexpa/src/plugins/modals.js | arash16/nexpa | 35b0dd30286e7c26174667f47eaab6c4dce05e36 | [
"Apache-2.0"
] | null | null | null | var activeModals = nx.state([]),
openModalsCount = nx(0);
registerGlobalElement(<div class="modals-container">
<div class={ "modal-backdrop fade " + (openModalsCount() ? 'in' : 'invisible')}></div>
{activeModals}
</div>);
spa.modal = function (title, body, buttons) {
var result = nx(),
fading ... | 33.104167 | 118 | 0.521712 |
964b234751ee397fef50672e3faf739e90c9c3cf | 4,329 | php | PHP | app/Http/Controllers/Api/BankController.php | aboayube/financialpp | f0d0d6e4d381c841edc275188820c2d483139fb9 | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/BankController.php | aboayube/financialpp | f0d0d6e4d381c841edc275188820c2d483139fb9 | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/BankController.php | aboayube/financialpp | f0d0d6e4d381c841edc275188820c2d483139fb9 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Api;
use Illuminate\Support\Str;
use App\Http\Controllers\Controller;
use Intervention\Image\Facades\Image;
use App\Http\Resources\CatoriesResource;
use App\Models\Bank;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
class BankController extends Controller... | 34.632 | 127 | 0.480711 |
6e63d1643bf63dccbd0c7fb28cf8eb105198ef6b | 980 | kt | Kotlin | feature-wallet-api/src/main/java/jp/co/soramitsu/feature_wallet_api/data/mappers/TokenTypeMappers.kt | soramitsu/fearless-Android | ce2d28cd14a57c20f4d1757a89e23d2709c63072 | [
"Apache-2.0"
] | 59 | 2020-08-01T11:18:37.000Z | 2022-03-26T15:49:30.000Z | feature-wallet-api/src/main/java/jp/co/soramitsu/feature_wallet_api/data/mappers/TokenTypeMappers.kt | soramitsu/fearless-Android | ce2d28cd14a57c20f4d1757a89e23d2709c63072 | [
"Apache-2.0"
] | 37 | 2020-08-08T09:46:04.000Z | 2022-03-17T06:27:21.000Z | feature-wallet-api/src/main/java/jp/co/soramitsu/feature_wallet_api/data/mappers/TokenTypeMappers.kt | soramitsu/fearless-Android | ce2d28cd14a57c20f4d1757a89e23d2709c63072 | [
"Apache-2.0"
] | 16 | 2020-09-19T07:48:27.000Z | 2022-03-16T12:56:51.000Z | package jp.co.soramitsu.feature_wallet_api.data.mappers
import jp.co.soramitsu.core.model.Node
import jp.co.soramitsu.core_db.model.TokenLocal
import jp.co.soramitsu.feature_wallet_api.domain.model.Token
fun mapTokenTypeToTokenTypeLocal(type: Token.Type): TokenLocal.Type {
return when (type) {
Token.Type.... | 32.666667 | 83 | 0.727551 |
cb5e28eb4020f0d7d7a22ce0e470f7769dde05a1 | 236 | h | C | BaseViewController/BaseNavigationController.h | PublicProjectMember/PublicProject | 0cd6e0740affed48680f1c12b4dc999a952da97f | [
"MIT"
] | null | null | null | BaseViewController/BaseNavigationController.h | PublicProjectMember/PublicProject | 0cd6e0740affed48680f1c12b4dc999a952da97f | [
"MIT"
] | null | null | null | BaseViewController/BaseNavigationController.h | PublicProjectMember/PublicProject | 0cd6e0740affed48680f1c12b4dc999a952da97f | [
"MIT"
] | null | null | null | //
//
// UIComponent
//
// Created by Bob on 14-5-12.
// Copyright (c) 2014年 guobo. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BaseNavigationController : UINavigationController<UINavigationControllerDelegate>
@end
| 16.857143 | 92 | 0.728814 |
b82cb33d94af03485aeb3ca688b3dd77433d522f | 2,454 | rs | Rust | cmd/miner_client/src/test.rs | fakecoinbase/starcoinorgslashstarcoin | 100a01fb1c967d1b4dd0dc1b9d5787d45c9ba399 | [
"Apache-2.0"
] | 1 | 2020-08-03T06:26:04.000Z | 2020-08-03T06:26:04.000Z | cmd/miner_client/src/test.rs | fakecoinbase/starcoinorgslashstarcoin | 100a01fb1c967d1b4dd0dc1b9d5787d45c9ba399 | [
"Apache-2.0"
] | 34 | 2020-07-26T16:13:41.000Z | 2022-02-06T18:15:25.000Z | cmd/miner_client/src/test.rs | fakecoinbase/starcoinorgslashstarcoin | 100a01fb1c967d1b4dd0dc1b9d5787d45c9ba399 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) The Starcoin Core Contributors
// SPDX-License-Identifier: Apache-2.0
use crate::miner::MinerClientActor;
use crate::stratum::{parse_response, process_request};
use actix::Actor;
use actix_rt::System;
use bus::BusActor;
use config::MinerConfig;
use config::NodeConfig;
use consensus::argon::ArgonConsen... | 35.057143 | 127 | 0.640994 |
647dedd17e31a77ceaf735f34441bd1c24021a97 | 3,697 | rs | Rust | src/util.rs | aschampion/heraclitus | ef89e91614e29afe29d4f4e7db43f3a9c92535d5 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/util.rs | aschampion/heraclitus | ef89e91614e29afe29d4f4e7db43f3a9c92535d5 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/util.rs | aschampion/heraclitus | ef89e91614e29afe29d4f4e7db43f3a9c92535d5 | [
"Apache-2.0",
"MIT"
] | null | null | null | pub mod petgraph {
use heraclitus_core::petgraph;
use petgraph::prelude::*;
use petgraph::Direction;
use petgraph::visit::{
Data,
GraphBase,
GraphRef,
IntoEdgesDirected,
IntoNeighborsDirected,
Visitable,
VisitMap,
};
use crate::Error;
... | 34.877358 | 87 | 0.404111 |
f95c4cc8950b89f08b423c5b3afea812ffd9d968 | 394 | dart | Dart | lib/simulator.dart | knowgoio/knowgo-vehicle-simulator | 68265e5e0e78e99add11b517e2a649edf17dca07 | [
"MIT"
] | 19 | 2021-03-22T12:32:07.000Z | 2022-03-16T00:00:51.000Z | lib/simulator.dart | knowgoio/knowgo-vehicle-simulator | 68265e5e0e78e99add11b517e2a649edf17dca07 | [
"MIT"
] | 4 | 2021-05-23T14:59:08.000Z | 2022-03-18T15:26:34.000Z | lib/simulator.dart | knowgoio/knowgo-vehicle-simulator | 68265e5e0e78e99add11b517e2a649edf17dca07 | [
"MIT"
] | 2 | 2021-06-01T20:55:59.000Z | 2021-12-03T15:50:01.000Z | export 'simulator/event_injector.dart';
export 'simulator/vehicle_data_calculators.dart';
export 'simulator/vehicle_data_generator.dart';
export 'simulator/vehicle_event_loop.dart';
export 'simulator/vehicle_exve_model.dart';
export 'simulator/vehicle_notifications.dart';
export 'simulator/vehicle_simulator_base.dart';... | 39.4 | 49 | 0.840102 |
c32fe9769ed24823f7db7ecf8f8177e0832582e7 | 522 | swift | Swift | Bootcamp/Constants.swift | rjmendus/Infinity-Workshop-iOS | eeda575e7efaac849314443e2cb6a9b9e7124573 | [
"MIT"
] | null | null | null | Bootcamp/Constants.swift | rjmendus/Infinity-Workshop-iOS | eeda575e7efaac849314443e2cb6a9b9e7124573 | [
"MIT"
] | null | null | null | Bootcamp/Constants.swift | rjmendus/Infinity-Workshop-iOS | eeda575e7efaac849314443e2cb6a9b9e7124573 | [
"MIT"
] | null | null | null | //
// Constants.swift
// Bootcamp
//
// Created by Rajat Jaic Mendus on 11/5/18.
// Copyright © 2018 IODevelopers. All rights reserved.
//
import Foundation
struct Constants {
static let loginAPI = "https://9nfmj2dq1f.execute-api.ap-south-1.amazonaws.com/Development/login"
static let viewOrderAPI = "... | 30.705882 | 115 | 0.733716 |
fd5ed79fdd2ca551ce6d3ec42723bdfba016c123 | 52,682 | c | C | thirdparty/dill/dill/arm8.c | Carreau/ADIOS2 | 731e93f62bd1e25e88adcc8c44c055c41dcf4ee5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | thirdparty/dill/dill/arm8.c | Carreau/ADIOS2 | 731e93f62bd1e25e88adcc8c44c055c41dcf4ee5 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2017-06-12T13:41:45.000Z | 2017-12-13T17:01:40.000Z | thirdparty/dill/dill/arm8.c | Carreau/ADIOS2 | 731e93f62bd1e25e88adcc8c44c055c41dcf4ee5 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2017-08-16T17:06:04.000Z | 2017-08-17T14:29:38.000Z | #include "dill.h"
#include "dill_internal.h"
#include "arm8.h"
#include "config.h"
#include <stdio.h>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#undef NDEBUG
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#define INSN_OUT(s, insn) do {\
if (s->p->cur_ip >= s->p->code_limit) {\
extend_dill_stream(... | 27.771218 | 212 | 0.609582 |
4c302aea8a34a4d5e524622c8e50b3c7be910cda | 335 | dart | Dart | example/lib/book.dart | Skquark/firestore_entity | d54f09b3fc15a98823d0eff113aff6af8b988982 | [
"MIT"
] | 1 | 2020-04-23T23:28:42.000Z | 2020-04-23T23:28:42.000Z | example/lib/book.dart | Skquark/firestore_entity | d54f09b3fc15a98823d0eff113aff6af8b988982 | [
"MIT"
] | null | null | null | example/lib/book.dart | Skquark/firestore_entity | d54f09b3fc15a98823d0eff113aff6af8b988982 | [
"MIT"
] | 2 | 2020-05-21T21:13:41.000Z | 2022-01-24T08:15:23.000Z |
class Book {
String id;
String title;
Book({this.id, this.title});
factory Book.fromJson(Map<String, dynamic> json) => Book(
id: json['id'] as String,
title: json['title'] as String,
);
Map<String, dynamic> toJson() => <String, dynamic>{
'id': this.id,
'title': this.tit... | 20.9375 | 59 | 0.552239 |
bf6c77f9bc855ee8aacee34463e8cc99f31824f5 | 791 | swift | Swift | MeetPaws/MeetPaws/Helpers + Extension/UIView + Extension.swift | princekili/MeetPaws | 1e73b70b3ad25798386a4579e34597559617a730 | [
"MIT"
] | 2 | 2020-12-01T03:03:21.000Z | 2020-12-01T03:03:33.000Z | MeetPaws/MeetPaws/Helpers + Extension/UIView + Extension.swift | princekili/Yogogo | 1e73b70b3ad25798386a4579e34597559617a730 | [
"MIT"
] | null | null | null | MeetPaws/MeetPaws/Helpers + Extension/UIView + Extension.swift | princekili/Yogogo | 1e73b70b3ad25798386a4579e34597559617a730 | [
"MIT"
] | null | null | null | //
// UIView + Extension.swift
// MeetPaws
//
// Created by prince on 2020/12/2.
//
import UIKit
extension UIView {
var width: CGFloat {
return frame.size.width
}
var height: CGFloat {
return frame.size.height
}
var top: CGFloat {
return frame.origin.y
... | 17.577778 | 84 | 0.571429 |
91ce668547d4298274e0f6a62de889634c25e065 | 20,926 | swift | Swift | Yihaodar/GLAdd/GLCarConfigViewController.swift | z234009184/Yihaodar | 6642c22237af94db5878fa44166acf64df0fc2ac | [
"MIT"
] | 3 | 2018-02-01T13:18:41.000Z | 2018-06-12T03:00:42.000Z | Yihaodar/GLAdd/GLCarConfigViewController.swift | z234009184/Yihaodar | 6642c22237af94db5878fa44166acf64df0fc2ac | [
"MIT"
] | null | null | null | Yihaodar/GLAdd/GLCarConfigViewController.swift | z234009184/Yihaodar | 6642c22237af94db5878fa44166acf64df0fc2ac | [
"MIT"
] | null | null | null | //
// GLCarStateViewController.swift
// Yihaodar
//
// Created by 张国梁 on 2018/2/26.
// Copyright © 2018年 Yihaodar. All rights reserved.
//
import Spring
class GLCarConfigViewController: UIViewController {
@IBOutlet weak var gearboxLabel: UILabel!
@IBOutlet weak var drivingTypeLabel: UILabel!
@IBO... | 42.706122 | 194 | 0.593281 |
da92cb53ff05fa837d57e8c8e2cff7fce6a60d21 | 1,319 | sql | SQL | schema/test/unit/mutations/create_naics_code_mutation_test.sql | bcgov/cas-ciip-portal | dceb5331fa17902b1100e6faccac9d36eeb8b4a5 | [
"Apache-2.0"
] | 9 | 2019-10-09T20:57:34.000Z | 2020-11-19T15:32:32.000Z | schema/test/unit/mutations/create_naics_code_mutation_test.sql | bcgov/cas-ciip-portal | dceb5331fa17902b1100e6faccac9d36eeb8b4a5 | [
"Apache-2.0"
] | 1,282 | 2019-08-21T20:43:34.000Z | 2022-03-30T16:46:46.000Z | schema/test/unit/mutations/create_naics_code_mutation_test.sql | bcgov/cas-ciip-portal | dceb5331fa17902b1100e6faccac9d36eeb8b4a5 | [
"Apache-2.0"
] | 2 | 2019-10-16T22:27:43.000Z | 2021-01-26T20:05:13.000Z | set client_min_messages to warning;
create extension if not exists pgtap;
reset client_min_messages;
begin;
select plan(4);
-- Function exists
select has_function(
'ggircs_portal', 'create_naics_code', array['text', 'text', 'text'],
'Function ggircs_portal.create_naics_code should exist'
);
-- Test Setup
select ... | 26.918367 | 95 | 0.752085 |
2a1dd1dfd7d8ca7eb6b2161234598b12512979f5 | 1,459 | java | Java | biz.aQute.quantity.library/src/main/java/aQute/quantity/types/util/ElectricalCharge.java | kchobantonov/biz.aQute.osgi.util | 7374c0ef286bc7edb5fc41fe35b8b4e412e90bf9 | [
"Apache-2.0"
] | null | null | null | biz.aQute.quantity.library/src/main/java/aQute/quantity/types/util/ElectricalCharge.java | kchobantonov/biz.aQute.osgi.util | 7374c0ef286bc7edb5fc41fe35b8b4e412e90bf9 | [
"Apache-2.0"
] | null | null | null | biz.aQute.quantity.library/src/main/java/aQute/quantity/types/util/ElectricalCharge.java | kchobantonov/biz.aQute.osgi.util | 7374c0ef286bc7edb5fc41fe35b8b4e412e90bf9 | [
"Apache-2.0"
] | null | null | null | package aQute.quantity.types.util;
import aQute.quantity.base.util.DerivedQuantity;
import aQute.quantity.base.util.Unit;
import aQute.quantity.base.util.UnitInfo;
/**
* The SI system defines the coulomb in terms of the ampere and second: 1 C = 1
* A × 1 s.
*
* Since the charge of one electron is known to be abo... | 26.053571 | 94 | 0.712132 |
f4b2af2257a4c4142473f832120555bc758c1c73 | 130 | go | Go | services/account/service.go | juniortads/kuiper-wallet | 9f74dc965f2ee5a16b1ed4af273a7de28d518757 | [
"Apache-2.0"
] | 7 | 2021-01-31T22:16:59.000Z | 2021-08-22T22:27:43.000Z | services/account/service.go | juniortads/kuiper-wallet | 9f74dc965f2ee5a16b1ed4af273a7de28d518757 | [
"Apache-2.0"
] | 6 | 2021-01-27T00:46:05.000Z | 2021-05-06T23:34:18.000Z | services/account/service.go | juniortads/kuiper-wallet | 9f74dc965f2ee5a16b1ed4af273a7de28d518757 | [
"Apache-2.0"
] | 3 | 2021-01-27T00:33:58.000Z | 2021-05-06T23:42:08.000Z | package account
import "context"
type Service interface {
CreateAccount(ctx context.Context, account Account) (string, error)
} | 18.571429 | 68 | 0.784615 |
48cccadd22f57f70cce9bee572ca64a85d56d031 | 12,253 | c | C | components/usb/test/usb_host/test_usb_host_async.c | HubertXie/esp-idf | a7032feeaa2f5a600b8e0b37f80fd52538d22145 | [
"Apache-2.0"
] | 4 | 2022-03-15T22:43:28.000Z | 2022-03-28T01:25:08.000Z | components/usb/test/usb_host/test_usb_host_async.c | HubertXie/esp-idf | a7032feeaa2f5a600b8e0b37f80fd52538d22145 | [
"Apache-2.0"
] | null | null | null | components/usb/test/usb_host/test_usb_host_async.c | HubertXie/esp-idf | a7032feeaa2f5a600b8e0b37f80fd52538d22145 | [
"Apache-2.0"
] | 3 | 2021-08-07T09:17:31.000Z | 2022-03-20T21:54:52.000Z | /*
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "esp_err.h"
#include "esp_intr_alloc.h"
#include "test_usb_common.h"
#include "tes... | 39.782468 | 149 | 0.719171 |
4c3c2064796795cd2352ae65431be18da269fefb | 1,362 | php | PHP | resources/views/pages/add-reservation.blade.php | MrGenQ/Laravel-Apartments | fdce26c4700fcb624ae096c26da7e96fe2208fff | [
"MIT"
] | null | null | null | resources/views/pages/add-reservation.blade.php | MrGenQ/Laravel-Apartments | fdce26c4700fcb624ae096c26da7e96fe2208fff | [
"MIT"
] | null | null | null | resources/views/pages/add-reservation.blade.php | MrGenQ/Laravel-Apartments | fdce26c4700fcb624ae096c26da7e96fe2208fff | [
"MIT"
] | null | null | null | @extends('main')
@section('content')
<div class="container">
<h2>Add new Apartment</h2>
@include('_partials/errors')
@include('_partials/success')
<form action="/storeReservation" method="post">
@csrf
<div class="form-group">
<input type="text"... | 40.058824 | 105 | 0.53304 |
fedc0e9ca4cf39a5da6c66b0a55a8030354e6303 | 2,994 | kt | Kotlin | breeze-logger/src/main/kotlin/logger/impl/ColorfulLogger.kt | DragonKnightOfBreeze/breeze-framework | c418324b41aa517a7eb921589099c54ce7e160a6 | [
"MIT"
] | 8 | 2019-11-24T17:14:50.000Z | 2021-12-17T03:11:51.000Z | breeze-logger/src/main/kotlin/logger/impl/ColorfulLogger.kt | DragonKnightOfBreeze/Breeze-Framework | e067f9e676fbb2fe2d4b5076e522edea63ce5a0f | [
"MIT"
] | null | null | null | breeze-logger/src/main/kotlin/logger/impl/ColorfulLogger.kt | DragonKnightOfBreeze/Breeze-Framework | e067f9e676fbb2fe2d4b5076e522edea63ce5a0f | [
"MIT"
] | 1 | 2020-05-22T02:48:38.000Z | 2020-05-22T02:48:38.000Z | // Copyright (c) 2020-2021 DragonKnightOfBreeze Windea
// Breeze is blowing...
@file:Suppress("DuplicatedCode")
package icu.windea.breezeframework.logger.impl
import icu.windea.breezeframework.logger.*
import java.io.*
import java.text.*
import java.util.*
/**输出彩色文本的日志器。这些彩色文本可在控制台正常显示。*/
class ColorfulLogger(
ove... | 35.642857 | 93 | 0.714429 |
01fd370aa2741bbcf42c4f1339668c0ef55014bf | 335 | asm | Assembly | lab_06/output.asm | ak-karimzai/asm | e5433922cbb69cae3c03be86447e0e83fbd8cb0b | [
"Unlicense"
] | null | null | null | lab_06/output.asm | ak-karimzai/asm | e5433922cbb69cae3c03be86447e0e83fbd8cb0b | [
"Unlicense"
] | null | null | null | lab_06/output.asm | ak-karimzai/asm | e5433922cbb69cae3c03be86447e0e83fbd8cb0b | [
"Unlicense"
] | 2 | 2021-06-07T06:29:31.000Z | 2021-06-08T16:52:03.000Z | extern new_line:byte
public print
code_seg segment para public 'code'
assume cs:code_seg
start:
print proc near
mov dx, offset new_line
mov ah, 09
int 21h
mov dx, bx
int 21h
mov dx, offset new_line
int 21h
ret
print endp
code_seg end... | 16.75 | 35 | 0.579104 |
5862af8639276c456276d4509f45aefee4037001 | 54 | dart | Dart | enquete/lib/domain/helpers/domain_error.dart | CriandoGames/Flutter-Enquete | 7714af92e828f8af92d99d3b7fc35e4028d7417d | [
"MIT"
] | 1 | 2021-08-07T16:53:13.000Z | 2021-08-07T16:53:13.000Z | enquete/lib/domain/helpers/domain_error.dart | CriandoGames/Flutter-Enquete | 7714af92e828f8af92d99d3b7fc35e4028d7417d | [
"MIT"
] | null | null | null | enquete/lib/domain/helpers/domain_error.dart | CriandoGames/Flutter-Enquete | 7714af92e828f8af92d99d3b7fc35e4028d7417d | [
"MIT"
] | null | null | null | enum DomainError{
unexpected,
invalidCredentials
} | 13.5 | 20 | 0.796296 |
0e90caf2cd05d84184e857620c634171de7564e4 | 5,311 | swift | Swift | WybroStarter/UIView+Extensions.swift | Wybro/WybroStarter | 665e7d2511f11f461fc71dc0d59b7ca247ad17c7 | [
"MIT"
] | 1 | 2017-12-27T17:47:49.000Z | 2017-12-27T17:47:49.000Z | WybroStarter/UIView+Extensions.swift | Wybro/WybroStarter | 665e7d2511f11f461fc71dc0d59b7ca247ad17c7 | [
"MIT"
] | null | null | null | WybroStarter/UIView+Extensions.swift | Wybro/WybroStarter | 665e7d2511f11f461fc71dc0d59b7ca247ad17c7 | [
"MIT"
] | null | null | null | //
// UIView+Extensions.swift
// WybroStarter
//
// Created by Connor Wybranowski on 10/21/17.
// Copyright © 2017 wybro. All rights reserved.
//
import Foundation
public enum LayoutType {
case vertical, horizontal
}
public extension UIView {
/**
Prepares the receiver to use Auto Layout (sets `... | 38.485507 | 115 | 0.556016 |
13431ef40e86eaa4de020d6a0720301d8dda0910 | 230 | h | C | Example/ez_updater/EZViewController.h | haroel/ez_updater | bda333d9be05d8f941943eff1fb2a607a74e309c | [
"MIT"
] | 1 | 2021-07-30T03:38:27.000Z | 2021-07-30T03:38:27.000Z | Example/ez_updater/EZViewController.h | haroel/ez_updater | bda333d9be05d8f941943eff1fb2a607a74e309c | [
"MIT"
] | null | null | null | Example/ez_updater/EZViewController.h | haroel/ez_updater | bda333d9be05d8f941943eff1fb2a607a74e309c | [
"MIT"
] | null | null | null | //
// EZViewController.h
// ez_updater
//
// Created by whzsgame@gmail.com on 10/27/2020.
// Copyright (c) 2020 whzsgame@gmail.com. All rights reserved.
//
@import UIKit;
@interface EZViewController : UIViewController
@end
| 16.428571 | 63 | 0.713043 |
3a87741e904fc42f6ea6ff7175584cfa8d823ea0 | 337 | kt | Kotlin | app/src/main/java/pl/dawidfiruzek/kursandroid/utils/api/ReposService.kt | dawidfiruzek/Kurs-Android | aea5e18e07522ca32753a04a6464e6e801bf175c | [
"Apache-2.0"
] | null | null | null | app/src/main/java/pl/dawidfiruzek/kursandroid/utils/api/ReposService.kt | dawidfiruzek/Kurs-Android | aea5e18e07522ca32753a04a6464e6e801bf175c | [
"Apache-2.0"
] | null | null | null | app/src/main/java/pl/dawidfiruzek/kursandroid/utils/api/ReposService.kt | dawidfiruzek/Kurs-Android | aea5e18e07522ca32753a04a6464e6e801bf175c | [
"Apache-2.0"
] | null | null | null | package pl.dawidfiruzek.kursandroid.utils.api
import io.reactivex.Observable
import pl.dawidfiruzek.kursandroid.data.api.RepositoriesResponse
import retrofit2.http.GET
import retrofit2.http.Path
interface ReposService {
@GET("users/{user}/repos")
fun repos(@Path("user") user: String): Observable<List<Reposit... | 28.083333 | 81 | 0.795252 |
65264a551191e1547fd7e759779ff58b0d68fe03 | 4,400 | dart | Dart | lib/main.dart | Simperfy/COVID-19-PH-DOH | 07eacd137d11dfd6aecce84fb9594afe7fafa05a | [
"MIT"
] | 4 | 2020-08-14T18:00:36.000Z | 2021-04-06T16:14:34.000Z | lib/main.dart | Simperfy/COVID-19-PH-DOH | 07eacd137d11dfd6aecce84fb9594afe7fafa05a | [
"MIT"
] | 3 | 2020-08-17T15:43:20.000Z | 2020-08-18T15:05:54.000Z | lib/main.dart | Simperfy/COVID-19-PH-DOH | 07eacd137d11dfd6aecce84fb9594afe7fafa05a | [
"MIT"
] | 1 | 2020-08-14T17:25:03.000Z | 2020-08-14T17:25:03.000Z | import 'package:Covid19_PH/services/hospital_database.dart';
import 'package:Covid19_PH/services/record_database.dart';
import 'package:Covid19_PH/services/region_database.dart';
import 'package:Covid19_PH/services/summary_database.dart';
import 'package:Covid19_PH/services/timeline_database.dart';
import 'package:Covi... | 35.772358 | 112 | 0.706136 |
90fcfd3bc6e9ddd7a032985039348959e97e84a0 | 417 | py | Python | rest_api_service_fastapi/test_debug.py | aishwaryashand/Task1 | 8c422d600ce44d60d4951e3e567da7e22a1f51fc | [
"Apache-2.0"
] | null | null | null | rest_api_service_fastapi/test_debug.py | aishwaryashand/Task1 | 8c422d600ce44d60d4951e3e567da7e22a1f51fc | [
"Apache-2.0"
] | null | null | null | rest_api_service_fastapi/test_debug.py | aishwaryashand/Task1 | 8c422d600ce44d60d4951e3e567da7e22a1f51fc | [
"Apache-2.0"
] | null | null | null |
def test_debug():
from app_utils import create_access_token
from datetime import timedelta
access_token_expires = timedelta(minutes=10)
access_token = create_access_token(data={"sub": "cuongld"}, expires_delta=access_token_expires)
print(access_token)
from app_utils import decode_access_token
... | 37.909091 | 99 | 0.788969 |
2a1929885f17e944037f34951eaae54e94a30b9e | 4,350 | java | Java | app/src/main/java/mod/hey/studios/moreblock/MoreblockValidator.java | Ninjacoderhsi/SketchwareCraft | 8f1b9254fc04820e2dd3ca89a0aed4eed2e25071 | [
"Apache-2.0"
] | 1 | 2022-02-19T12:17:34.000Z | 2022-02-19T12:17:34.000Z | app/src/main/java/mod/hey/studios/moreblock/MoreblockValidator.java | Ninjacoderhsi/SketchwareCraft | 8f1b9254fc04820e2dd3ca89a0aed4eed2e25071 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/mod/hey/studios/moreblock/MoreblockValidator.java | Ninjacoderhsi/SketchwareCraft | 8f1b9254fc04820e2dd3ca89a0aed4eed2e25071 | [
"Apache-2.0"
] | null | null | null | package mod.hey.studios.moreblock;
import android.content.Context;
import android.text.Spanned;
import com.google.android.material.textfield.TextInputLayout;
import java.util.ArrayList;
import java.util.regex.Pattern;
import a.a.a.MB;
import a.a.a.xB;
public class MoreblockValidator extends MB {
public String... | 34.251969 | 145 | 0.427816 |
864766b89a8eb563fe4cc02af3d9593a30fc6e5f | 4,498 | rs | Rust | rest_api/src/errors.rs | agunde406/consensource | d8f7cd607e992577b5ad445ed5e7686878d16127 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | rest_api/src/errors.rs | agunde406/consensource | d8f7cd607e992577b5ad445ed5e7686878d16127 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | rest_api/src/errors.rs | agunde406/consensource | d8f7cd607e992577b5ad445ed5e7686878d16127 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | use rocket::http::ContentType;
use rocket::http::Status;
use rocket::request::Request;
use rocket::response::{Responder, Response};
use rocket_contrib::{Json, Value};
use std::io::Cursor;
#[catch(404)]
pub fn not_found() -> Json<Value> {
Json(json!({
"error": {
"status": Status::NotFound.code,
... | 32.128571 | 77 | 0.418853 |
16816556d713fd85d0475ef1a679414fcbf283ac | 743 | ts | TypeScript | src/app/admin/customers/customers.module.ts | dmkuchynski/MAVN.FrontEnd.BackOffice | 32c3a80ab77c463cf4cce9552b3c533c67308eeb | [
"MIT"
] | null | null | null | src/app/admin/customers/customers.module.ts | dmkuchynski/MAVN.FrontEnd.BackOffice | 32c3a80ab77c463cf4cce9552b3c533c67308eeb | [
"MIT"
] | null | null | null | src/app/admin/customers/customers.module.ts | dmkuchynski/MAVN.FrontEnd.BackOffice | 32c3a80ab77c463cf4cce9552b3c533c67308eeb | [
"MIT"
] | null | null | null | import {CustomersService} from './customers.service';
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {CustomersRoutingModule} from './customers-routing.module';
import {CustomersListPageComponent} from './customers-list-page/customers-list-page.component';
import {SharedMo... | 43.705882 | 101 | 0.79677 |
7ba2d450b3d4babb61882d7d9d05cc016580f01e | 2,476 | dart | Dart | lib/app/modules/poke_detail/controllers/status_tab_controller.dart | danieldcastro/pokedex | f170f9542e1121a0426d359d6fa9894afd9c7718 | [
"MIT"
] | 3 | 2021-07-15T23:56:09.000Z | 2022-03-18T23:14:23.000Z | lib/app/modules/poke_detail/controllers/status_tab_controller.dart | danieldcastro/pokedex | f170f9542e1121a0426d359d6fa9894afd9c7718 | [
"MIT"
] | null | null | null | lib/app/modules/poke_detail/controllers/status_tab_controller.dart | danieldcastro/pokedex | f170f9542e1121a0426d359d6fa9894afd9c7718 | [
"MIT"
] | null | null | null | import 'package:get/get.dart';
import '../../../data/provider/poke_api_provider.dart';
import '../../../data/repository/poke_api_repository.dart';
import 'poke_detail_controller.dart';
class StatusTabController extends GetxController with StateMixin {
PokeDetailController pokeDetailController = Get.find();
final... | 25.010101 | 80 | 0.573102 |
ae72c6c69431aab1f573ce5daefecb17d279d330 | 23,525 | dart | Dart | lib/src/android/com/baidu/mapapi/search/route/MassTransitRoutePlanOption.g.dart | yohom/bmap_map_fluttify | 5cf8728b1eccd948d3487aace85d5f2349828285 | [
"Apache-2.0"
] | null | null | null | lib/src/android/com/baidu/mapapi/search/route/MassTransitRoutePlanOption.g.dart | yohom/bmap_map_fluttify | 5cf8728b1eccd948d3487aace85d5f2349828285 | [
"Apache-2.0"
] | null | null | null | lib/src/android/com/baidu/mapapi/search/route/MassTransitRoutePlanOption.g.dart | yohom/bmap_map_fluttify | 5cf8728b1eccd948d3487aace85d5f2349828285 | [
"Apache-2.0"
] | null | null | null | // ignore_for_file: non_constant_identifier_names, camel_case_types, missing_return, unused_import, unused_local_variable, dead_code, unnecessary_cast
//////////////////////////////////////////////////////////
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
//////////////////////////////////////////////////////////
import '... | 53.103837 | 278 | 0.780616 |
2a77db2eaafd40537e1aac1be11c3fc68fcac5a1 | 19,889 | java | Java | app/src/main/java/net/kevin/com/healthmanager/adapter/ShoppingCarAdapter.java | plzspara/HealthManager | 7be815edea4153715f30b3f282f7fa923d2ef585 | [
"Apache-2.0"
] | 16 | 2020-06-30T19:04:54.000Z | 2022-03-27T03:26:37.000Z | app/src/main/java/net/kevin/com/healthmanager/adapter/ShoppingCarAdapter.java | plzspara/HealthManager | 7be815edea4153715f30b3f282f7fa923d2ef585 | [
"Apache-2.0"
] | 1 | 2021-03-24T07:17:52.000Z | 2021-03-24T07:17:52.000Z | app/src/main/java/net/kevin/com/healthmanager/adapter/ShoppingCarAdapter.java | plzspara/HealthManager | 7be815edea4153715f30b3f282f7fa923d2ef585 | [
"Apache-2.0"
] | 9 | 2019-12-01T09:24:27.000Z | 2022-03-18T08:39:37.000Z | package net.kevin.com.healthmanager.adapter;
import android.content.Context;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import andro... | 36.42674 | 118 | 0.529941 |
e76d1ce4a23a7df03b0d870749cd7f5d02711b2a | 546 | js | JavaScript | models/Location.js | nephraim13/yellowcartwheel | 3141ec54a8f8bc70ded026ac79d16dddcfb495e0 | [
"Apache-2.0"
] | null | null | null | models/Location.js | nephraim13/yellowcartwheel | 3141ec54a8f8bc70ded026ac79d16dddcfb495e0 | [
"Apache-2.0"
] | 1 | 2021-05-11T21:26:15.000Z | 2021-05-11T21:26:15.000Z | models/Location.js | nephraim13/yellowcartwheel | 3141ec54a8f8bc70ded026ac79d16dddcfb495e0 | [
"Apache-2.0"
] | 2 | 2020-05-11T16:39:17.000Z | 2020-08-02T18:46:59.000Z | 'use strict';
const mongoose = require( 'mongoose' );
const Schema = mongoose.Schema;
const pointSchema = new mongoose.Schema({
type: {
type: String,
enum: ['Point'],
required: true
},
coordinates: {
type: [Number],
required: true
}
});
var locationSchema = Schema( {
createdAt: Date,
c... | 17.612903 | 62 | 0.644689 |
13671f62f24c23c910cea945df1b1e5457c3c3f1 | 991 | c | C | src/libc/utils/die.c | gspu/bitkeeper | 994fb651a4045b221e33703fc3d665c3a34784e1 | [
"Apache-2.0"
] | 342 | 2016-05-10T14:59:07.000Z | 2022-03-09T23:45:43.000Z | src/libc/utils/die.c | rvs/bitkeeper | 616740d0daad99530951e46ab48e577807cbbaf4 | [
"Apache-2.0"
] | 4 | 2016-05-16T20:14:27.000Z | 2020-10-04T19:59:25.000Z | src/libc/utils/die.c | rvs/bitkeeper | 616740d0daad99530951e46ab48e577807cbbaf4 | [
"Apache-2.0"
] | 78 | 2016-05-10T15:53:30.000Z | 2022-03-09T23:46:06.000Z | /*
* Copyright 2013,2016 BitMover, Inc
*
* 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 agr... | 26.078947 | 75 | 0.677094 |
c5b4880cd68327f52e589e2a92c7ea3f4f77e4c0 | 3,698 | plsql | SQL | policy_06_1412007.plsql | ATBMHTTT-2017/lab01-1412007-1412012-1412053 | e3fc6b8aa1372401549622e0d806e69e492136dc | [
"Apache-2.0"
] | null | null | null | policy_06_1412007.plsql | ATBMHTTT-2017/lab01-1412007-1412012-1412053 | e3fc6b8aa1372401549622e0d806e69e492136dc | [
"Apache-2.0"
] | null | null | null | policy_06_1412007.plsql | ATBMHTTT-2017/lab01-1412007-1412012-1412053 | e3fc6b8aa1372401549622e0d806e69e492136dc | [
"Apache-2.0"
] | null | null | null | alter session set "_ORACLE_SCRIPT"=true;
CREATE VIEW viewNHANVIEN
AS
SELECT *
FROM dbaDuAn.NHANVIEN;
CREATE OR REPLACE FUNCTION funcNHANVIEN (obj_schema varchar2, obj_name varchar2)
RETURN varchar2 IS
user varchar2 (20);
BEGIN
user := SYS_CONTEXT ('userenv', 'SESSION_USER');
RETURN 'maNV = ' || ''''... | 34.240741 | 81 | 0.781504 |
9e20579d9e5389eb8e3e59489a5e7f3ac9b85058 | 379 | asm | Assembly | circle_test.asm | juhovh/spectrum | 417e60164e63902ae221c449f5a645c18e01d9c5 | [
"Unlicense"
] | 26 | 2015-03-08T13:51:48.000Z | 2021-11-16T22:14:46.000Z | circle_test.asm | ktuukkan/spectrum | 2f0283e44459402a9dcdc4afb1e4838fdda6782f | [
"Unlicense"
] | null | null | null | circle_test.asm | ktuukkan/spectrum | 2f0283e44459402a9dcdc4afb1e4838fdda6782f | [
"Unlicense"
] | 4 | 2015-06-13T15:55:09.000Z | 2019-12-25T07:32:22.000Z | org $8000
coords incbin cdata.dat
putchar push af
push bc
push de
push hl
push af
ld hl,coords
ld a,b
and %01111111
ld l,a
xor a
rl l
adc a,h
ld h,a
ld c,(hl)
inc hl
ld b,(hl)
pop af
call PutChar2
pop hl
pop de
pop bc
pop af
ret
main call ClearScreen
ld b,0
loop ld a,'A'
call putchar
halt
... | 9.475 | 23 | 0.667546 |
66d7149800694ec55cae0e09b34a5a988012866e | 2,224 | swift | Swift | CoreTetris/TetriminoGenerators.swift | numist/Tetris | 247236ff180564880b6b8019c74f9ed71cc1ea4e | [
"MIT"
] | null | null | null | CoreTetris/TetriminoGenerators.swift | numist/Tetris | 247236ff180564880b6b8019c74f9ed71cc1ea4e | [
"MIT"
] | null | null | null | CoreTetris/TetriminoGenerators.swift | numist/Tetris | 247236ff180564880b6b8019c74f9ed71cc1ea4e | [
"MIT"
] | null | null | null | public protocol TetriminoGenerator: Copyable {
func next() -> TetriminoShape
}
// BPS's [Random Generator](http://tetris.wikia.com/wiki/Random_Generator)
final public class RandomGenerator<RNG where RNG:RandomNumberGenerator, RNG:Copyable>: TetriminoGenerator, Copyable {
private var tetriminos: [TetriminoShape... | 37.694915 | 195 | 0.683453 |
0d5dad423bedc9669426bb5c09043e553b9e346c | 27,848 | swift | Swift | FlatlandView/Settings/SettingKeys.swift | sjrankin/FlatlandView | e49731c36c7640dffa97b901db12675b789b7344 | [
"FSFAP"
] | null | null | null | FlatlandView/Settings/SettingKeys.swift | sjrankin/FlatlandView | e49731c36c7640dffa97b901db12675b789b7344 | [
"FSFAP"
] | 1 | 2020-08-24T04:22:48.000Z | 2020-08-24T04:23:41.000Z | FlatlandView/Settings/SettingKeys.swift | sjrankin/FlatlandView | e49731c36c7640dffa97b901db12675b789b7344 | [
"FSFAP"
] | null | null | null | //
// SettingTypes.swift
// Flatland
//
// Created by Stuart Rankin on 5/24/20.
// Copyright © 2020 Stuart Rankin. All rights reserved.
//
import Foundation
/// Settings. Each case refers to a single setting and is used
/// by the settings class to access the setting.
enum SettingKeys: String, CaseIterable
{
... | 50.086331 | 111 | 0.716102 |
493fa20e6cce0edfe7546e34f863928344f6f713 | 4,831 | dart | Dart | lib/widgets/session/sign_up_form.dart | kawanji01/BooQs_on_mobiles | 11fda70c7e0e236b44f638115fbac9d50dd0d4db | [
"MIT"
] | 8 | 2021-12-11T10:35:02.000Z | 2022-02-23T14:19:21.000Z | lib/widgets/session/sign_up_form.dart | kawanji01/BooQs_on_mobiles | 11fda70c7e0e236b44f638115fbac9d50dd0d4db | [
"MIT"
] | 56 | 2021-11-16T08:54:14.000Z | 2022-02-23T13:22:09.000Z | lib/widgets/session/sign_up_form.dart | kawanji01/BooQs_on_mobiles | 11fda70c7e0e236b44f638115fbac9d50dd0d4db | [
"MIT"
] | null | null | null | import 'package:booqs_mobile/data/provider/user.dart';
import 'package:booqs_mobile/data/remote/sessions.dart';
import 'package:booqs_mobile/models/user.dart';
import 'package:booqs_mobile/pages/user/mypage.dart';
import 'package:booqs_mobile/utils/user_setup.dart';
import 'package:booqs_mobile/widgets/session/form_fie... | 35.785185 | 151 | 0.631339 |
4a3e17e41b83375767d72a60af05a672315afd75 | 9,800 | js | JavaScript | src/screens/calculation/UltimateShear.js | madhuwantha/civil-construction-tool-client | 60d24ceeddfc888c0e6acd3400bf3e6ade5eb8c0 | [
"MIT"
] | null | null | null | src/screens/calculation/UltimateShear.js | madhuwantha/civil-construction-tool-client | 60d24ceeddfc888c0e6acd3400bf3e6ade5eb8c0 | [
"MIT"
] | 15 | 2021-01-14T12:31:47.000Z | 2021-06-01T19:28:52.000Z | src/screens/calculation/UltimateShear.js | madhuwantha/civil-construction-tool-client | 60d24ceeddfc888c0e6acd3400bf3e6ade5eb8c0 | [
"MIT"
] | null | null | null | import React, {useState} from 'react';
import {useForm} from "react-hook-form";
import {calcShearCapacity, calcSpacing} from "./CalculationUSBSI";
import {calcFinal, calcVDesign} from "./CalculationUSEC";
import {getPdf, savePdf} from "../../helpers/pdf";
import {degrees, rgb} from "pdf-lib";
const UltimateShear = (pr... | 46.889952 | 123 | 0.551939 |
6b1913e80a1173f83e36d6ef45c932acf325122a | 757 | sql | SQL | migrations/2018-02-18-071905_add_default_games_and_modes/up.sql | mattdeboard/rs-pugbot | e8bf082e5d1fe059b3e237d660457f29929427ba | [
"MIT"
] | 3 | 2018-12-26T13:58:40.000Z | 2020-06-18T04:33:11.000Z | migrations/2018-02-18-071905_add_default_games_and_modes/up.sql | mattdeboard/rs-pugbot | e8bf082e5d1fe059b3e237d660457f29929427ba | [
"MIT"
] | 89 | 2018-12-28T01:40:58.000Z | 2021-05-08T20:39:17.000Z | migrations/2018-02-18-071905_add_default_games_and_modes/up.sql | mattdeboard/rs-pugbot | e8bf082e5d1fe059b3e237d660457f29929427ba | [
"MIT"
] | 1 | 2021-05-01T20:56:30.000Z | 2021-05-01T20:56:30.000Z | insert into game_titles (game_name) values
('Overwatch'),
('Rocket League')
;
with ow_id as (
select game_title_id as id
from game_titles
where game_name = 'Overwatch'
)
insert into game_modes (game_title_id, mode_name, team_size) values
((select id from ow_id), 'Standard', 6),
((select id from ow_id)... | 28.037037 | 67 | 0.673712 |
b582a0144fc3c07c04438418d27de4f9d32c5f8c | 786 | rs | Rust | rust/src/problems/s344_reverse_string.rs | eteplus/leetcode | 13cb7aac323dd68c670b1548a8d72667eb68bd7c | [
"MIT"
] | 1 | 2022-01-25T09:03:59.000Z | 2022-01-25T09:03:59.000Z | rust/src/problems/s344_reverse_string.rs | eteplus/leetcode | 13cb7aac323dd68c670b1548a8d72667eb68bd7c | [
"MIT"
] | null | null | null | rust/src/problems/s344_reverse_string.rs | eteplus/leetcode | 13cb7aac323dd68c670b1548a8d72667eb68bd7c | [
"MIT"
] | null | null | null | struct Solution;
impl Solution {
pub fn reverse_string(s: &mut Vec<char>) {
let mut i = 0;
let mut j = s.len() - 1;
while i < j {
s.swap(i, j);
i += 1;
j -= 1;
}
}
}
struct Example {
input: Vec<char>,
output: Vec<char>,
}
#[test]
pub... | 21.243243 | 57 | 0.414758 |
f4ef1223ec0545fde83548a3065b57141f659680 | 2,625 | go | Go | pkg/v1/tkg/azure/mocks/resourceskus_mock.go | benjaminapetersen/tanzu-framework | fbabd54a42868572dee518178c64dcb80fc02cd2 | [
"Apache-2.0"
] | 92 | 2021-10-04T07:46:46.000Z | 2022-03-24T22:13:14.000Z | pkg/v1/tkg/azure/mocks/resourceskus_mock.go | benjaminapetersen/tanzu-framework | fbabd54a42868572dee518178c64dcb80fc02cd2 | [
"Apache-2.0"
] | 1,061 | 2021-10-04T09:35:11.000Z | 2022-03-31T21:34:35.000Z | pkg/v1/tkg/azure/mocks/resourceskus_mock.go | benjaminapetersen/tanzu-framework | fbabd54a42868572dee518178c64dcb80fc02cd2 | [
"Apache-2.0"
] | 110 | 2021-10-04T07:22:29.000Z | 2022-03-23T20:18:07.000Z | // Copyright 2021 VMware, Inc. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-12-01/compute/computeapi (interfaces: ResourceSkusClientAPI)
// Package azure is a generated GoMock package.
pac... | 37.5 | 146 | 0.780952 |
b599b1eb843fd705a56b390c201f58e01e3f5cb9 | 1,225 | sql | SQL | src/test/regress/sql/ce_functions_return_variable.sql | Yanci0/openGauss-server | b2ff10be1367c77f2fda396d6c12ffa3c25874c7 | [
"MulanPSL-1.0"
] | 360 | 2020-06-30T14:47:34.000Z | 2022-03-31T15:21:53.000Z | src/test/regress/sql/ce_functions_return_variable.sql | Yanci0/openGauss-server | b2ff10be1367c77f2fda396d6c12ffa3c25874c7 | [
"MulanPSL-1.0"
] | 4 | 2020-06-30T15:09:16.000Z | 2020-07-14T06:20:03.000Z | src/test/regress/sql/ce_functions_return_variable.sql | futurewei-cloud/chogori-opengauss | f43410e1643c887819e718d9baceb9e853ad9574 | [
"MulanPSL-1.0"
] | 133 | 2020-06-30T14:47:36.000Z | 2022-03-25T15:29:00.000Z | \! gs_ktool -d all
\! gs_ktool -g
DROP CLIENT MASTER KEY IF EXISTS ret_cmk3 CASCADE;
CREATE CLIENT MASTER KEY ret_cmk3 WITH ( KEY_STORE = gs_ktool , KEY_PATH = "gs_ktool/1" , ALGORITHM = AES_256_CBC);
CREATE COLUMN ENCRYPTION KEY ret_cek3 WITH VALUES (CLIENT_MASTER_KEY = ret_cmk3, ALGORITHM = AEAD_AES_256_CBC_HMAC_SHA... | 35 | 123 | 0.764898 |
ffac06b9e30d42c93e17da909a3f33857d3e77d1 | 913 | dart | Dart | test/groups/model/group_test.dart | lucvanderzandt/dart-rest-api | 88bdb8570c98f8f742f93e8fd7560ae840151cd1 | [
"BSD-3-Clause"
] | 4 | 2020-01-07T16:55:24.000Z | 2021-03-28T23:05:48.000Z | test/groups/model/group_test.dart | lucvanderzandt/dart-rest-api | 88bdb8570c98f8f742f93e8fd7560ae840151cd1 | [
"BSD-3-Clause"
] | 6 | 2020-01-07T20:31:49.000Z | 2020-06-25T12:08:53.000Z | test/groups/model/group_test.dart | lucvanderzandt/dart-rest-api | 88bdb8570c98f8f742f93e8fd7560ae840151cd1 | [
"BSD-3-Clause"
] | 4 | 2020-01-07T19:04:41.000Z | 2022-03-29T14:27:09.000Z | import 'dart:io';
import 'package:messagebird/groups.dart';
import 'package:test/test.dart';
void main() {
group('Group', () {
Group group;
setUp(() {
group =
Group.fromJson(File('test_resources/group.json').readAsStringSync());
});
test('should deserialize from json', () {
e... | 28.53125 | 79 | 0.634173 |
1396ca28c91c6c57182f29310a653c9a8176f7c4 | 291 | dart | Dart | lib/src/qr_row.dart | sentd94/qr_svg_generator | e7dd28ffa010d1ee1dbbeb401ded6aa53f4bdf9c | [
"BSD-3-Clause"
] | null | null | null | lib/src/qr_row.dart | sentd94/qr_svg_generator | e7dd28ffa010d1ee1dbbeb401ded6aa53f4bdf9c | [
"BSD-3-Clause"
] | null | null | null | lib/src/qr_row.dart | sentd94/qr_svg_generator | e7dd28ffa010d1ee1dbbeb401ded6aa53f4bdf9c | [
"BSD-3-Clause"
] | null | null | null | import 'qr_rect.dart';
class QrRow {
QrRow({required this.id, required this.rectList});
String id;
List<QrRect> rectList;
@override
String toString() {
final rectsStr = rectList.map((rect) => rect.toString()).join('\n');
return ' <g id="$id">\n$rectsStr\n </g>';
}
}
| 20.785714 | 72 | 0.621993 |
8a2f83e83d9cca779c0cd8e02eeab8db2661fd6c | 65 | rs | Rust | src/sheet_music_format/kifu_rpm/mod.rs | muzudho/rust-kifuwarabe-wcsc29-lib | 5f18ee2417a51035921164640c045fbc1613be5c | [
"MIT"
] | null | null | null | src/sheet_music_format/kifu_rpm/mod.rs | muzudho/rust-kifuwarabe-wcsc29-lib | 5f18ee2417a51035921164640c045fbc1613be5c | [
"MIT"
] | null | null | null | src/sheet_music_format/kifu_rpm/mod.rs | muzudho/rust-kifuwarabe-wcsc29-lib | 5f18ee2417a51035921164640c045fbc1613be5c | [
"MIT"
] | null | null | null | pub mod rpm_tape;
pub mod rpm_tape_box;
pub mod rpm_tape_tracks;
| 16.25 | 24 | 0.815385 |
966632a7274a39337ee846f26ebb0d17d3ae5c2e | 612 | php | PHP | resources/views/front/auth/inscription.blade.php | AxelCardinaels/Museo | 932672e856993cc50cef10c9c15ebc3967b177ca | [
"MIT"
] | null | null | null | resources/views/front/auth/inscription.blade.php | AxelCardinaels/Museo | 932672e856993cc50cef10c9c15ebc3967b177ca | [
"MIT"
] | null | null | null | resources/views/front/auth/inscription.blade.php | AxelCardinaels/Museo | 932672e856993cc50cef10c9c15ebc3967b177ca | [
"MIT"
] | null | null | null | @extends( "partials.front.app" )
@section("menu__class", "menu--inside")
@section( "content")
</header>
<main>
<section class="section">
<div class="intro__container intro__container--centered">
<h3 class="section__title title--section">Rejoignez Museo</h3>
<p class="section__subtitle">Afin de profi... | 29.142857 | 163 | 0.694444 |
bece433de06658ea24900e93a24788f9d4aab883 | 11,876 | dart | Dart | lib/OverviewPage.dart | SubmarineApp/periscope | a2b2b2d6de787d1ad4cf7d11c9ba42d5cea5a2d3 | [
"MIT"
] | null | null | null | lib/OverviewPage.dart | SubmarineApp/periscope | a2b2b2d6de787d1ad4cf7d11c9ba42d5cea5a2d3 | [
"MIT"
] | null | null | null | lib/OverviewPage.dart | SubmarineApp/periscope | a2b2b2d6de787d1ad4cf7d11c9ba42d5cea5a2d3 | [
"MIT"
] | null | null | null | import 'dart:collection';
import 'package:backend_api/api.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:jiffy/jiffy.dart';
import 'package:charts_flutter/flutter.dart' as charts;
import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';
class Over... | 35.663664 | 81 | 0.584203 |
271cb92c4c5abba6938a15f5a90faba029304638 | 8,307 | c | C | arch/riscv/RiscvDisassembler.c | stettberger/capstone | 83b6bdfc3ea06a5f5921cff6a2220a0cdf0f4556 | [
"BSD-3-Clause"
] | null | null | null | arch/riscv/RiscvDisassembler.c | stettberger/capstone | 83b6bdfc3ea06a5f5921cff6a2220a0cdf0f4556 | [
"BSD-3-Clause"
] | null | null | null | arch/riscv/RiscvDisassembler.c | stettberger/capstone | 83b6bdfc3ea06a5f5921cff6a2220a0cdf0f4556 | [
"BSD-3-Clause"
] | null | null | null | //===-- RISCVDisassembler.cpp - Disassembler for RISCV --------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------------------------------------------------------------------... | 31.585551 | 94 | 0.724088 |
bb217e753d326dbdbe2c211b53a6adba7eb0c01e | 2,911 | kt | Kotlin | kotlin-client/src/main/kotlin/com/couchbase/client/kotlin/view/ViewFlowItem.kt | trickster/couchbase-jvm-clients | 3a9e105651b076b5ed18ce29419be0e3fd8bc8f4 | [
"Apache-2.0"
] | 26 | 2019-04-15T08:51:51.000Z | 2022-02-17T18:31:35.000Z | kotlin-client/src/main/kotlin/com/couchbase/client/kotlin/view/ViewFlowItem.kt | trickster/couchbase-jvm-clients | 3a9e105651b076b5ed18ce29419be0e3fd8bc8f4 | [
"Apache-2.0"
] | 14 | 2019-08-26T19:01:18.000Z | 2022-03-31T05:51:08.000Z | kotlin-client/src/main/kotlin/com/couchbase/client/kotlin/view/ViewFlowItem.kt | trickster/couchbase-jvm-clients | 3a9e105651b076b5ed18ce29419be0e3fd8bc8f4 | [
"Apache-2.0"
] | 31 | 2019-03-31T05:45:58.000Z | 2022-03-31T07:29:31.000Z | /*
* Copyright 2021 Couchbase, Inc.
*
* 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 ... | 33.848837 | 105 | 0.722776 |
9112c1abca1e0671e757c2e38c878667465b761e | 1,620 | swift | Swift | ProgramingExampleViewController.swift | PierrePerrin/PPMusicImageShadow | 8774096ab3958fd7dba7de81d4fc88fbfde21f5f | [
"MIT"
] | 339 | 2017-03-06T22:24:29.000Z | 2021-09-30T07:55:04.000Z | ProgramingExampleViewController.swift | PierrePerrin/PPMusicImageShadow | 8774096ab3958fd7dba7de81d4fc88fbfde21f5f | [
"MIT"
] | 1 | 2017-04-05T15:40:32.000Z | 2017-07-25T15:38:47.000Z | ProgramingExampleViewController.swift | PierrePerrin/PPMusicImageShadow | 8774096ab3958fd7dba7de81d4fc88fbfde21f5f | [
"MIT"
] | 22 | 2017-03-06T22:24:29.000Z | 2019-07-09T11:18:48.000Z | //
// ProgramingExampleViewController.swift
// PPMusicImageShadow
//
// Created by Pierre Perrin on 06/03/2017.
// Copyright © 2017 Pierre Perrin. All rights reserved.
//
import UIKit
class ProgramingExampleViewController: UIViewController {
var exampleView : PPMusicImageShadow!
override func v... | 24.179104 | 106 | 0.637654 |
47fce7278c87aac7d4bec613a23d68818391afcd | 94 | css | CSS | docroot/themes/contrib/thunder_admin/css/layout/layout.css | DiversiCon/uc-d8-deploy | 39294a57583639883bc6b9b87bf818de471aed13 | [
"MIT"
] | null | null | null | docroot/themes/contrib/thunder_admin/css/layout/layout.css | DiversiCon/uc-d8-deploy | 39294a57583639883bc6b9b87bf818de471aed13 | [
"MIT"
] | 1 | 2021-06-17T05:29:22.000Z | 2021-06-17T05:29:22.000Z | docroot/themes/contrib/thunder_admin/css/layout/layout.css | DiversiCon/uc-d8-deploy | 39294a57583639883bc6b9b87bf818de471aed13 | [
"MIT"
] | null | null | null | .page-content{
margin-bottom:80px;
}
.layout-icon__region{
fill:#f5f5f2;
stroke:#666;
}
| 11.75 | 21 | 0.680851 |
fb04fd0d288280436d94208fc99bf813dc647333 | 656 | h | C | include/Triangle.h | Liyara/JGL | b3597700fe865b929c5bd52e81add32a6c0b297c | [
"MIT"
] | null | null | null | include/Triangle.h | Liyara/JGL | b3597700fe865b929c5bd52e81add32a6c0b297c | [
"MIT"
] | null | null | null | include/Triangle.h | Liyara/JGL | b3597700fe865b929c5bd52e81add32a6c0b297c | [
"MIT"
] | null | null | null | #ifndef TRIANGLE_H
#define TRIANGLE_H
namespace jgl {
struct Triangle : public Object {
public:
enum Type {
STANDARD,
RIGHT
};
Triangle(const Position&, const Dimensions&, const Color& = Color::White);
Triangle(const Position&, const Dimensions&, Type);... | 24.296296 | 82 | 0.606707 |
be90aff740a1189fb6ff0ebf1f14c95cbc0f9660 | 696 | kts | Kotlin | gradle/dexcount.gradle.kts | isuPatches/android-viewglu | a741482b3fd8ff884d5068c4f58728c3f394fe66 | [
"Apache-2.0"
] | 1 | 2021-08-03T22:31:34.000Z | 2021-08-03T22:31:34.000Z | gradle/dexcount.gradle.kts | isuPatches/android-viewglu | a741482b3fd8ff884d5068c4f58728c3f394fe66 | [
"Apache-2.0"
] | 3 | 2021-08-09T13:54:07.000Z | 2021-08-09T14:17:13.000Z | gradle/dexcount.gradle.kts | isuPatches/android-viewglu | a741482b3fd8ff884d5068c4f58728c3f394fe66 | [
"Apache-2.0"
] | null | null | null | import com.getkeepsafe.dexcount.DexCountExtension
import com.getkeepsafe.dexcount.DexMethodCountPlugin
import com.getkeepsafe.dexcount.OutputFormat
buildscript {
repositories {
mavenCentral()
}
dependencies {
val versions = com.isupatches.android.viewglu.build.Versions
classpath("c... | 25.777778 | 89 | 0.752874 |
5551cd9194852cae71fc056fe57a24c56484be1f | 2,588 | kt | Kotlin | src/main/kotlin/me/ethanbrews/utils/block/renderer/StorageNetworkControllerBlockRenderer.kt | ethanbrews/dynamicstorage | 04e237f3a9a1d7e5ab79e67881ef12731708adee | [
"CC0-1.0"
] | null | null | null | src/main/kotlin/me/ethanbrews/utils/block/renderer/StorageNetworkControllerBlockRenderer.kt | ethanbrews/dynamicstorage | 04e237f3a9a1d7e5ab79e67881ef12731708adee | [
"CC0-1.0"
] | null | null | null | src/main/kotlin/me/ethanbrews/utils/block/renderer/StorageNetworkControllerBlockRenderer.kt | ethanbrews/dynamicstorage | 04e237f3a9a1d7e5ab79e67881ef12731708adee | [
"CC0-1.0"
] | null | null | null | package me.ethanbrews.utils.block.renderer
import me.ethanbrews.utils.block.entity.StorageNetworkControllerBlockEntity
import me.ethanbrews.utils.lib.colour
import net.fabricmc.api.EnvType
import net.fabricmc.api.Environment
import net.minecraft.client.MinecraftClient
import net.minecraft.client.render.OverlayTexture
... | 41.079365 | 162 | 0.732226 |
70cb735f8100dfbe03ed6f829f1910ccb122ba3d | 18,153 | c | C | new/libr/util/utype.c | benbenwt/lisa_docker | 0b851223dbaecef9b27c418eae05890fea752d49 | [
"Apache-2.0"
] | null | null | null | new/libr/util/utype.c | benbenwt/lisa_docker | 0b851223dbaecef9b27c418eae05890fea752d49 | [
"Apache-2.0"
] | 1 | 2021-12-17T00:14:27.000Z | 2021-12-17T00:14:27.000Z | new/libr/util/utype.c | benbenwt/lisa_docker | 0b851223dbaecef9b27c418eae05890fea752d49 | [
"Apache-2.0"
] | null | null | null | /* radare - LGPL - Copyright 2013-2020 - pancake, oddcoder, sivaramaaa */
#include <r_util.h>
R_API int r_type_set(Sdb *TDB, ut64 at, const char *field, ut64 val) {
const char *kind;
char var[128];
sprintf (var, "link.%08"PFMT64x, at);
kind = sdb_const_get (TDB, var, NULL);
if (kind) {
const char *p = sdb_cons... | 26.578331 | 99 | 0.610147 |
ff961c7ecb05166a6783bf4a04c271c21bbf25f4 | 2,779 | dart | Dart | lib/widget/drawer/drawer.dart | MysteRys337/contas-flutter | ba17ee309b775d64297c73ab0ecd41cb4800540a | [
"MIT"
] | 1 | 2021-03-16T15:44:29.000Z | 2021-03-16T15:44:29.000Z | lib/widget/drawer/drawer.dart | MysteRys337/todo-flutter | ba17ee309b775d64297c73ab0ecd41cb4800540a | [
"MIT"
] | null | null | null | lib/widget/drawer/drawer.dart | MysteRys337/todo-flutter | ba17ee309b775d64297c73ab0ecd41cb4800540a | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:todo/provider/auth.dart';
import 'package:todo/provider/theme_changer.dart';
import 'package:todo/screens/configuration.dart';
class AppDrawer extends StatelessWidget {
@override
Widget build(BuildContext context) {
... | 35.177215 | 80 | 0.486866 |
d0ea1cfb8264853e260efac9b21a3c9d68676ccc | 567 | css | CSS | third_party/libSBML-5.11.0-Source/docs/src/css/libsbml-python-stylesheet.css | gitter-badger/sbmlsolver | c92936832297ea1d2ad7f17223b68ada43c8f0b2 | [
"Apache-2.0"
] | null | null | null | third_party/libSBML-5.11.0-Source/docs/src/css/libsbml-python-stylesheet.css | gitter-badger/sbmlsolver | c92936832297ea1d2ad7f17223b68ada43c8f0b2 | [
"Apache-2.0"
] | null | null | null | third_party/libSBML-5.11.0-Source/docs/src/css/libsbml-python-stylesheet.css | gitter-badger/sbmlsolver | c92936832297ea1d2ad7f17223b68ada43c8f0b2 | [
"Apache-2.0"
] | null | null | null | /**
* @file libsbml-python-stylesheet.css
* @brief Additional stylesheet used for Python documentation.
* @author Michael Hucka
*
* This file is part of libSBML. Please visit http://sbml.org for more
* information about SBML, and the latest version of libSBML.
*/
.memdoc > p:first-child:after {
content... | 29.842105 | 80 | 0.707231 |
9d41051efa7bfda26b2c0bc23ac82a890cef8054 | 692 | html | HTML | manuscript/page-100/body.html | marvindanig/a-guide-to-health | 3d515e508e76e20cdef85b1143f9180ccaa20824 | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-100/body.html | marvindanig/a-guide-to-health | 3d515e508e76e20cdef85b1143f9180ccaa20824 | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-100/body.html | marvindanig/a-guide-to-health | 3d515e508e76e20cdef85b1143f9180ccaa20824 | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><h4>Chapter Vii</h4><h3>Exercise</h3><p class=" stretch-last-line start-chapter">Exercise is as much of a vital necessity for man as air, water and food, in the sense that no man who does not take exercise regularly, can be perfectly healthy. By “exercise” we do not mea... | 692 | 692 | 0.757225 |
19ff83c4514e6849bc7d811f28efd3b989b2124a | 9,606 | go | Go | todoist/api.go | seanrees/tripist | b5ee4389a25b28173e1a9dcd69990f0d2b83bc03 | [
"MIT"
] | 3 | 2016-04-24T22:49:49.000Z | 2022-01-31T22:29:16.000Z | todoist/api.go | seanrees/tripist | b5ee4389a25b28173e1a9dcd69990f0d2b83bc03 | [
"MIT"
] | null | null | null | todoist/api.go | seanrees/tripist | b5ee4389a25b28173e1a9dcd69990f0d2b83bc03 | [
"MIT"
] | null | null | null | package todoist
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/url"
"strconv"
"strings"
"time"
"github.com/seanrees/tripist/tasks"
"github.com/twinj/uuid"
"golang.org/x/oauth2"
)
const (
ApiPath = "https://todoist.com/API/v8/sync"
)
func PTR(s string) *string { return &s }
// Removes special cha... | 23.25908 | 105 | 0.634187 |
d25fe1fbcdc95f0c19fb58e47c0b5983c630900d | 1,226 | php | PHP | resources/views/pages/snooker.blade.php | BisiDavi/the-hmi | 8299b78ce93a51497c697abcab8e5d35c062b131 | [
"MIT"
] | 1 | 2020-10-05T03:17:49.000Z | 2020-10-05T03:17:49.000Z | resources/views/pages/snooker.blade.php | BisiDavi/the-hmi | 8299b78ce93a51497c697abcab8e5d35c062b131 | [
"MIT"
] | null | null | null | resources/views/pages/snooker.blade.php | BisiDavi/the-hmi | 8299b78ce93a51497c697abcab8e5d35c062b131 | [
"MIT"
] | null | null | null | @extends('layout')
@section('title')
Snooker Returns -
@endsection
@section('link')
<link rel="stylesheet" href="css/pages/snooker.css">
@endsection
@section('content')
<div class="container-fluid snooker-return">
<div class="banner">
<div class="banner-text">
<h1 class="banner-title text-cen... | 30.65 | 120 | 0.595432 |
cb70fc87d6e440bbbb89b9220436e7352de34033 | 2,722 | html | HTML | django/templates/admin_index.html | dellsystem/new-socialist | 64352ee0025267f93598b1ab7f5a3dabb3f8922e | [
"MIT"
] | 3 | 2019-02-07T10:46:38.000Z | 2020-09-23T12:29:11.000Z | django/templates/admin_index.html | dellsystem/new-socialist | 64352ee0025267f93598b1ab7f5a3dabb3f8922e | [
"MIT"
] | 30 | 2018-03-28T13:47:20.000Z | 2022-01-13T00:37:39.000Z | django/templates/admin_index.html | dellsystem/new-socialist | 64352ee0025267f93598b1ab7f5a3dabb3f8922e | [
"MIT"
] | 1 | 2020-04-23T15:25:56.000Z | 2020-04-23T15:25:56.000Z | {% extends "admin/base_site.html" %}
{% load i18n static admin_stats %}
{% block breadcrumbs %}
{% endblock %}
{% block content %}
<div class="ui container">
<div class="ui segment">
<div class="ui middle aligned stackable grid">
<div class="ui four wide column">
<a class="ui g... | 34.897436 | 80 | 0.425055 |
f4ff93083540b2358cbeab58be10e843031c6cf2 | 594 | dart | Dart | tests/language_2/regress/regress32353_2_test.dart | TheRakeshPurohit/sdk | 2885ecc42664e4972343addeb73beb892f4737ea | [
"BSD-3-Clause"
] | 8,969 | 2015-05-16T16:49:24.000Z | 2022-03-31T19:54:40.000Z | tests/language_2/regress/regress32353_2_test.dart | Fareed-Ahmad7/sdk | 5183ba3ca4fe3787cae3c0a6cc7f8748ff01bcf5 | [
"BSD-3-Clause"
] | 30,202 | 2015-05-17T02:27:45.000Z | 2022-03-31T22:54:46.000Z | tests/language_2/regress/regress32353_2_test.dart | Fareed-Ahmad7/sdk | 5183ba3ca4fe3787cae3c0a6cc7f8748ff01bcf5 | [
"BSD-3-Clause"
] | 1,619 | 2015-05-16T21:36:42.000Z | 2022-03-29T20:36:59.000Z | // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart = 2.9
// The following compile-time error is expected:
//
// Error: 'D' can't implement both ... | 25.826087 | 77 | 0.614478 |
22e89b2d01d23afc28a18508ba84be9b68dfa153 | 4,887 | c | C | Sviluppo_software_in_gruppi_di_lavoro_complessi/Esercizi_Eiffel/Eiffel User Files/19.05/projects/RingBuffer/EIFGENs/ringbuffer/W_code/C2/in994d.c | katema-official/Universita_magistrale_anno_1.1 | ee63415b8a4e9b34f704f253a272d0f0a8c247a4 | [
"MIT"
] | null | null | null | Sviluppo_software_in_gruppi_di_lavoro_complessi/Esercizi_Eiffel/Eiffel User Files/19.05/projects/RingBuffer/EIFGENs/ringbuffer/W_code/C2/in994d.c | katema-official/Universita_magistrale_anno_1.1 | ee63415b8a4e9b34f704f253a272d0f0a8c247a4 | [
"MIT"
] | null | null | null | Sviluppo_software_in_gruppi_di_lavoro_complessi/Esercizi_Eiffel/Eiffel User Files/19.05/projects/RingBuffer/EIFGENs/ringbuffer/W_code/C2/in994d.c | katema-official/Universita_magistrale_anno_1.1 | ee63415b8a4e9b34f704f253a272d0f0a8c247a4 | [
"MIT"
] | null | null | null | /*
* Class INET6_ADDRESS
*/
#include "eif_macros.h"
#ifdef __cplusplus
extern "C" {
#endif
static const EIF_TYPE_INDEX egt_0_994 [] = {0xFF01,232,0xFFFF};
static const EIF_TYPE_INDEX egt_1_994 [] = {0xFF01,245,993,0xFFFF};
static const EIF_TYPE_INDEX egt_2_994 [] = {0xFF01,993,0xFFFF};
static const EIF_TYPE_INDEX... | 41.415254 | 68 | 0.72212 |
3b156afceb6e6d2bfc60532585517b46426e0809 | 3,356 | c | C | Examples/cubemx-example/FreeRTOSHooks.c | fractalembedded/stm32-cmake-boilerplate | 0ec306027bb64bae2cae87d9953f303537101adf | [
"BSD-3-Clause"
] | null | null | null | Examples/cubemx-example/FreeRTOSHooks.c | fractalembedded/stm32-cmake-boilerplate | 0ec306027bb64bae2cae87d9953f303537101adf | [
"BSD-3-Clause"
] | null | null | null | Examples/cubemx-example/FreeRTOSHooks.c | fractalembedded/stm32-cmake-boilerplate | 0ec306027bb64bae2cae87d9953f303537101adf | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2021, Fractal Embedded LLC
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list o... | 40.433735 | 99 | 0.744934 |
0fa8cdfcddfbb4dff2ae7fab376ec32b81cbe9a5 | 1,497 | lua | Lua | crawl-ref/source/dat/dlua/lm_1way.lua | petercordia/crawl | c18c9092ac65e4306219b2c8d675610b0e127db0 | [
"CC0-1.0"
] | 1,921 | 2015-04-01T00:23:38.000Z | 2022-03-31T23:42:29.000Z | crawl-ref/source/dat/dlua/lm_1way.lua | petercordia/crawl | c18c9092ac65e4306219b2c8d675610b0e127db0 | [
"CC0-1.0"
] | 1,768 | 2015-04-06T15:16:31.000Z | 2022-03-31T13:16:47.000Z | crawl-ref/source/dat/dlua/lm_1way.lua | petercordia/crawl | c18c9092ac65e4306219b2c8d675610b0e127db0 | [
"CC0-1.0"
] | 1,150 | 2015-04-04T01:07:27.000Z | 2022-03-28T23:54:55.000Z | ------------------------------------------------------------------------------
-- lm_1way.lua:
-- One-way stair marker.
------------------------------------------------------------------------------
util.subclass(PortalDescriptor, "OneWayStair")
function OneWayStair:new(props)
local instance = PortalDescriptor.new(... | 27.722222 | 78 | 0.661323 |
40f64bc603e815fd05103e31dca6aa4ae5720318 | 2,713 | py | Python | dragonfly/nn/unittest_nn_domains.py | hase1128/dragonfly | 4be7e4c539d3edccc4d243ab9f972b1ffb0d9a5c | [
"MIT"
] | 675 | 2018-08-23T17:30:46.000Z | 2022-03-30T18:37:23.000Z | dragonfly/nn/unittest_nn_domains.py | hase1128/dragonfly | 4be7e4c539d3edccc4d243ab9f972b1ffb0d9a5c | [
"MIT"
] | 62 | 2018-11-30T23:40:19.000Z | 2022-03-10T19:47:27.000Z | dragonfly/nn/unittest_nn_domains.py | hase1128/dragonfly | 4be7e4c539d3edccc4d243ab9f972b1ffb0d9a5c | [
"MIT"
] | 349 | 2018-09-10T19:04:34.000Z | 2022-03-31T13:10:45.000Z | """
Unit tests for functions/classes in nn_constraint_checker.py
-- kandasamy@cs.cmu.edu
"""
# pylint: disable=no-member
# pylint: disable=invalid-name
# pylint: disable=relative-import
# Local imports
from . import nn_domains
from .unittest_neural_network import generate_cnn_architectures, \
... | 42.390625 | 89 | 0.65094 |
86c9d26ba201cc5da6b22b2b0ff6253a01184e31 | 4,103 | go | Go | perf-tools/framework/app_info.go | wilfred-s/yunikorn-release | 96ca08d832ac2a41d08f5542558bc82a3ee5eea0 | [
"Apache-2.0"
] | 1 | 2021-11-02T14:12:24.000Z | 2021-11-02T14:12:24.000Z | perf-tools/framework/app_info.go | kobe860219/incubator-yunikorn-release | e8ad5c40ccb08a0bae36f05df93793dd5ca503ad | [
"Apache-2.0"
] | null | null | null | perf-tools/framework/app_info.go | kobe860219/incubator-yunikorn-release | e8ad5c40ccb08a0bae36f05df93793dd5ca503ad | [
"Apache-2.0"
] | 1 | 2022-03-26T06:19:41.000Z | 2022-03-26T06:19:41.000Z | /*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use ... | 27.353333 | 122 | 0.740434 |
5f1dfb84040f9d3119b1feb91a5168f55f3504da | 634 | ts | TypeScript | src/rating/rating.module.ts | GlukKazan/DagazServer | 1e1d9bbf2ceffcade004a3638cef8b555bcce4e5 | [
"MIT"
] | 4 | 2020-06-18T10:53:24.000Z | 2021-02-23T20:42:06.000Z | src/rating/rating.module.ts | GlukKazan/DagazServer | 1e1d9bbf2ceffcade004a3638cef8b555bcce4e5 | [
"MIT"
] | 3 | 2020-10-06T12:57:23.000Z | 2021-08-31T02:14:45.000Z | src/rating/rating.module.ts | GlukKazan/DagazServer | 1e1d9bbf2ceffcade004a3638cef8b555bcce4e5 | [
"MIT"
] | 2 | 2020-10-12T10:33:29.000Z | 2020-12-03T07:39:49.000Z | import { Module } from '@nestjs/common';
import { DatabaseModule } from '../database/database.module';
import { tokensProvider } from '../users/tokens.provider';
import { usersProvider } from '../users/users.provider';
import { UsersService } from '../users/users.service';
import { RatingController } from './rating.con... | 39.625 | 97 | 0.727129 |
fe47818b24f72a16e58e94be79980db561750bf4 | 93 | h | C | includes/macro.h | tmt514/contest-testcase-generator | e58ccdec652d8a38f250cd4d9206ccf179ac87ce | [
"MIT"
] | 2 | 2018-08-24T04:42:47.000Z | 2020-02-21T13:57:05.000Z | includes/macro.h | tmt514/contest-testcase-generator | e58ccdec652d8a38f250cd4d9206ccf179ac87ce | [
"MIT"
] | null | null | null | includes/macro.h | tmt514/contest-testcase-generator | e58ccdec652d8a38f250cd4d9206ccf179ac87ce | [
"MIT"
] | null | null | null | #define FOR(it, c) for(__typeof((c)->begin()) it = ((c)->begin()); it != ((c)->end()); it++)
| 46.5 | 92 | 0.483871 |
9685ba80f8c8dbe04e26f182e42782a764e41206 | 315 | php | PHP | app/Model/News.php | ahmed-farid/tasks | 046f478d8062a76fb7ff3d5ec20f4e7c6f55dc07 | [
"MIT"
] | null | null | null | app/Model/News.php | ahmed-farid/tasks | 046f478d8062a76fb7ff3d5ec20f4e7c6f55dc07 | [
"MIT"
] | null | null | null | app/Model/News.php | ahmed-farid/tasks | 046f478d8062a76fb7ff3d5ec20f4e7c6f55dc07 | [
"MIT"
] | null | null | null | <?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class News extends Model
{
//
protected $table = 'news';
protected $fillable = ['name', 'image', 'description', 'cat_id'];
public function category()
{
return $this->belongsTo('App\Model\Category', 'cat_id');
}
}
| 16.578947 | 69 | 0.631746 |
3bf5ec28a0eae39b2010eb231652fe89f24311a7 | 3,390 | kt | Kotlin | pumpkin/src/main/kotlin/net/tjalp/peach/pumpkin/player/PlayerService.kt | tjalp/minestom-tjalp-server | 0d74c084b3e83dfaaec7a2bf52f056de7a5f6a08 | [
"MIT"
] | null | null | null | pumpkin/src/main/kotlin/net/tjalp/peach/pumpkin/player/PlayerService.kt | tjalp/minestom-tjalp-server | 0d74c084b3e83dfaaec7a2bf52f056de7a5f6a08 | [
"MIT"
] | null | null | null | pumpkin/src/main/kotlin/net/tjalp/peach/pumpkin/player/PlayerService.kt | tjalp/minestom-tjalp-server | 0d74c084b3e83dfaaec7a2bf52f056de7a5f6a08 | [
"MIT"
] | null | null | null | package net.tjalp.peach.pumpkin.player
import net.tjalp.peach.peel.PLAYER_SWITCH
import net.tjalp.peach.peel.signal.PlayerSwitchSignal
import net.tjalp.peach.pumpkin.PumpkinServer
import net.tjalp.peach.pumpkin.node.apple.AppleNode
import net.tjalp.peach.pumpkin.node.apple.AppleServerNode
import net.tjalp.peach.pumpki... | 32.285714 | 114 | 0.674926 |
53bb1cb48e4efe377a0de84c7344a164b38530a2 | 1,617 | java | Java | src/main/java/com/ampro/robinhood/endpoint/account/data/BasicAccountHolderInfoElement.java | albanoj2/robinhood-api | 73aac7d7d2b4290c58867c174ed76c79f456fc75 | [
"MIT"
] | null | null | null | src/main/java/com/ampro/robinhood/endpoint/account/data/BasicAccountHolderInfoElement.java | albanoj2/robinhood-api | 73aac7d7d2b4290c58867c174ed76c79f456fc75 | [
"MIT"
] | null | null | null | src/main/java/com/ampro/robinhood/endpoint/account/data/BasicAccountHolderInfoElement.java | albanoj2/robinhood-api | 73aac7d7d2b4290c58867c174ed76c79f456fc75 | [
"MIT"
] | null | null | null | package com.ampro.robinhood.endpoint.account.data;
import com.ampro.robinhood.endpoint.ApiElement;
public class BasicAccountHolderInfoElement implements ApiElement {
private String address;
private String citizenship;
private String city;
private String country_of_residence;
private String date_of_birth;
priva... | 15.548077 | 66 | 0.694496 |
20e0f153ea5ee186a22bf906f48e09cb16645f19 | 1,906 | css | CSS | OceanLife/css/estilo.css | Danib0y97/OceanLife | 3fab00a3e2a4e5319ed1c3e4e36427b424f8c064 | [
"MIT"
] | 1 | 2020-07-15T21:18:36.000Z | 2020-07-15T21:18:36.000Z | OceanLife/css/estilo.css | Danib0y97/OceanLife | 3fab00a3e2a4e5319ed1c3e4e36427b424f8c064 | [
"MIT"
] | null | null | null | OceanLife/css/estilo.css | Danib0y97/OceanLife | 3fab00a3e2a4e5319ed1c3e4e36427b424f8c064 | [
"MIT"
] | null | null | null | @charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Titillium+Web);
@font-face {
font-family: 'FonteLogo';
src:url('../fontes/bubblegum-sans-regular.otf');
}
body {
font-family: 'Montserrat', sans-serif;
background-image: url("../imagens/background.jpg" ) ;
background-attachment: fixed;
backg... | 16.431034 | 67 | 0.691501 |
052389bdb5d48a4444bd0f2859ac577580e60676 | 296 | dart | Dart | lib/src/plugins/aop/annotation/aspect.dart | soloxiao/aspectd | 92b9d3a06558c8f96844ad174638469f46454384 | [
"MIT"
] | 811 | 2019-05-09T02:48:54.000Z | 2021-03-14T16:11:48.000Z | lib/src/plugins/aop/annotation/aspect.dart | soloxiao/aspectd | 92b9d3a06558c8f96844ad174638469f46454384 | [
"MIT"
] | 99 | 2019-06-19T06:05:07.000Z | 2021-03-14T13:57:24.000Z | lib/src/plugins/aop/annotation/aspect.dart | soloxiao/aspectd | 92b9d3a06558c8f96844ad174638469f46454384 | [
"MIT"
] | 95 | 2019-05-09T02:50:13.000Z | 2021-02-24T07:26:17.000Z | /// Annotation indicating whether a class should be taken into consideration
/// when searching for aspectd implementations like AOP.
@pragma('vm:entry-point')
class Aspect {
/// Aspect default constructor
const factory Aspect() = Aspect._;
@pragma('vm:entry-point')
const Aspect._();
}
| 26.909091 | 76 | 0.72973 |
3a10c4b433801e7fb0ecc1b2d975a210c0ef0f23 | 16,237 | lua | Lua | SohighUI/modules/dps.lua | sativahigh/SohighUI | 533e62c55ed46e54d40758e0c2b728be75e57adc | [
"MIT"
] | 1 | 2021-05-18T15:06:30.000Z | 2021-05-18T15:06:30.000Z | SohighUI/modules/dps.lua | sativahigh/SohighUI | 533e62c55ed46e54d40758e0c2b728be75e57adc | [
"MIT"
] | null | null | null | SohighUI/modules/dps.lua | sativahigh/SohighUI | 533e62c55ed46e54d40758e0c2b728be75e57adc | [
"MIT"
] | null | null | null |
--* damage/healing/interrupt meter Allez
local E, C, L, _ = select(2, shCore()):unpack()
if C.main._dpsMeter ~= true then return end
local _G = _G
local select = select
local unpack = unpack
local type = type
local band = bit.band
local tinsert = table.insert
local CreateFrame = CreateFrame
local Uni... | 27.803082 | 174 | 0.672107 |
567001e34ab1a08fb71c3769415213209a98294b | 1,918 | go | Go | internal/outpost/ldap/utils/utils_group.go | BeryJu/passbook | 350f0d836580f4411524614f361a76c4f27b8a2d | [
"MIT"
] | 15 | 2020-01-05T09:09:57.000Z | 2020-11-28T05:27:39.000Z | internal/outpost/ldap/utils/utils_group.go | BeryJu/passbook | 350f0d836580f4411524614f361a76c4f27b8a2d | [
"MIT"
] | 302 | 2020-01-21T08:03:59.000Z | 2020-12-04T05:04:57.000Z | internal/outpost/ldap/utils/utils_group.go | BeryJu/passbook | 350f0d836580f4411524614f361a76c4f27b8a2d | [
"MIT"
] | 3 | 2020-03-04T08:21:59.000Z | 2020-08-01T20:37:18.000Z | package utils
import (
"strings"
goldap "github.com/go-ldap/ldap/v3"
ber "github.com/nmcclain/asn1-ber"
"github.com/nmcclain/ldap"
"goauthentik.io/api/v3"
"goauthentik.io/internal/outpost/ldap/constants"
)
func ParseFilterForGroup(req api.ApiCoreGroupsListRequest, f *ber.Packet, skip bool) (api.ApiCoreGroupsLi... | 26.638889 | 166 | 0.689781 |
a3a68fcc639c2ff261d216dccfba740eab3ffeb5 | 35 | asm | Assembly | tests/data_simple/10.asm | NullMember/customasm | 6e34d6432583a41278e6b3596f1817ae82149531 | [
"Apache-2.0"
] | 414 | 2016-10-14T22:39:20.000Z | 2022-03-30T07:52:44.000Z | tests/data_simple/10.asm | NullMember/customasm | 6e34d6432583a41278e6b3596f1817ae82149531 | [
"Apache-2.0"
] | 100 | 2018-03-22T16:12:24.000Z | 2022-03-26T09:19:23.000Z | tests/data_simple/10.asm | NullMember/customasm | 6e34d6432583a41278e6b3596f1817ae82149531 | [
"Apache-2.0"
] | 47 | 2017-06-29T15:12:13.000Z | 2022-03-10T04:50:51.000Z | #d24 0x3, 0x4567 ; = 0x000003004567 | 35 | 35 | 0.742857 |
260a0e4753343d7f62acbbef8ae5851d88496e1c | 2,321 | swift | Swift | FluxWithRxSwiftSample/Views/LoadingView.swift | dekatotoro/FluxWithRxSwiftSample | 794ce767f81234f5d83df9c866ed041115f80d38 | [
"MIT"
] | 128 | 2016-10-13T07:13:49.000Z | 2021-06-03T18:42:55.000Z | FluxWithRxSwiftSample/Views/LoadingView.swift | fukami421/FluxWithRxSwiftSample | 794ce767f81234f5d83df9c866ed041115f80d38 | [
"MIT"
] | null | null | null | FluxWithRxSwiftSample/Views/LoadingView.swift | fukami421/FluxWithRxSwiftSample | 794ce767f81234f5d83df9c866ed041115f80d38 | [
"MIT"
] | 12 | 2016-10-15T14:31:59.000Z | 2020-01-05T12:36:27.000Z | //
// LoadingView.swift
// FluxWithRxSwiftSample
//
// Created by Yuji Hato on 2016/10/13.
// Copyright © 2016年 dekatotoro. All rights reserved.
//
import UIKit
import Cartography
import SpringIndicator
private let LaodingIndicatorSize: CGFloat = 32
class LoadingView: UIView {
enum LoadingType {
... | 27.305882 | 121 | 0.592848 |
456865ee3cbd84e3f1f2186796e19e1a2f3ec487 | 2,337 | swift | Swift | RxLEO/RxLEODefaultAPIProvider.swift | isaac-weisberg/RxLEO | 6652b57e914a4c83567ca6f5eb81ca25da1765e0 | [
"Unlicense"
] | 1 | 2018-11-17T06:07:52.000Z | 2018-11-17T06:07:52.000Z | RxLEO/RxLEODefaultAPIProvider.swift | isaac-weisberg/RxLEO | 6652b57e914a4c83567ca6f5eb81ca25da1765e0 | [
"Unlicense"
] | null | null | null | RxLEO/RxLEODefaultAPIProvider.swift | isaac-weisberg/RxLEO | 6652b57e914a4c83567ca6f5eb81ca25da1765e0 | [
"Unlicense"
] | null | null | null | //
// RxLEODefaultAPIProvider.swift
// RxLEO
//
// Created by Isaac Weisberg on 11/10/18.
// Copyright © 2018 Isaac Weisberg. All rights reserved.
//
import Foundation
import RxSwift
final public class RxLEODefaultAPIProvider: RxLEOAPIProvider {
public init(session: URLSession = .shared) {
nick = RxNi... | 38.311475 | 133 | 0.515618 |
2728dbdea23397e72b65e697d6e824f5079e1885 | 250 | kt | Kotlin | app/src/main/java/com/example/weather_android_app/util/ResourceList.kt | Jenil-Vekaria/Weather-Android-App | 037c19222cff3e9fcaf7d5ec516a6d183daa0935 | [
"MIT"
] | null | null | null | app/src/main/java/com/example/weather_android_app/util/ResourceList.kt | Jenil-Vekaria/Weather-Android-App | 037c19222cff3e9fcaf7d5ec516a6d183daa0935 | [
"MIT"
] | null | null | null | app/src/main/java/com/example/weather_android_app/util/ResourceList.kt | Jenil-Vekaria/Weather-Android-App | 037c19222cff3e9fcaf7d5ec516a6d183daa0935 | [
"MIT"
] | null | null | null | package com.example.weather_android_app.util
sealed class ResourceList<T>(val data: List<T>?, val message: String?){
class Success<T>(data: List<T>): ResourceList<T>(data,null)
class Error<T>(message: String): ResourceList<T>(null,message)
} | 41.666667 | 71 | 0.732 |
92946d631e8d4037366109179c6173249b9e1d84 | 160 | h | C | WeChatGUI/WeChatDLL/public/Public.h | fjqisba/WeChatStudy | 19facc7d722a3468be7ba8763fb6b157d1741d9d | [
"MIT"
] | 7 | 2022-03-28T17:02:14.000Z | 2022-03-29T12:59:29.000Z | WeChatGUI/WeChatDLL/public/Public.h | fjqisba/WeChatStudy | 19facc7d722a3468be7ba8763fb6b157d1741d9d | [
"MIT"
] | null | null | null | WeChatGUI/WeChatDLL/public/Public.h | fjqisba/WeChatStudy | 19facc7d722a3468be7ba8763fb6b157d1741d9d | [
"MIT"
] | 5 | 2022-03-29T01:30:32.000Z | 2022-03-30T01:40:29.000Z | #pragma once
#include <vector>
#include <string>
#include <windows.h>
std::string ReadFileToString(const char* filepath);
unsigned int ReadUint(void*); | 20 | 52 | 0.725 |
1690fbe701b16c30b6b42948967c835c2be092d6 | 444 | sql | SQL | debezium/src/test/resources/mssql/setup.sql | Kanugula/hazelcast-jet-contrib | 6467f01cf7b9e5ca4bb3702a89c2bb4b3521e854 | [
"Apache-2.0"
] | null | null | null | debezium/src/test/resources/mssql/setup.sql | Kanugula/hazelcast-jet-contrib | 6467f01cf7b9e5ca4bb3702a89c2bb4b3521e854 | [
"Apache-2.0"
] | null | null | null | debezium/src/test/resources/mssql/setup.sql | Kanugula/hazelcast-jet-contrib | 6467f01cf7b9e5ca4bb3702a89c2bb4b3521e854 | [
"Apache-2.0"
] | null | null | null | CREATE DATABASE MyDB;
GO
USE MyDB
GO
EXEC sys.sp_cdc_enable_db
GO
USE MyDB
GO
CREATE SCHEMA inventory;
GO
CREATE TABLE inventory.customers(
id INTEGER IDENTITY(1001,1) NOT NULL PRIMARY KEY,
first_name VARCHAR(255) NOT NULL,
last_name VARCHAR(255) NOT NULL,
email VARCHAR(255) NOT NULL UNIQUE
);
GO
USE My... | 16.444444 | 115 | 0.75 |
400ee33e16860ff9a624136708613a23a4a9ad7c | 1,478 | py | Python | python/lib/adaguc/mockCGIResponse.py | lukas-phaf/adaguc-server | aa5e267d6c5c15463035ff87d353707207374d1b | [
"Apache-2.0"
] | 1 | 2019-08-21T11:03:09.000Z | 2019-08-21T11:03:09.000Z | python/lib/adaguc/mockCGIResponse.py | ernstdevreede/adaguc-server | 3516bf1a2ea6abb4f2e85e72944589dfcc990f7c | [
"Apache-2.0"
] | null | null | null | python/lib/adaguc/mockCGIResponse.py | ernstdevreede/adaguc-server | 3516bf1a2ea6abb4f2e85e72944589dfcc990f7c | [
"Apache-2.0"
] | null | null | null | """
This python script acts like a tiny cgi program. It reads in cgidata.bin and outputs it on stdout.
cgidata.bin contains CGI output, e.g. headers and content.
This script can be used to write a python script which efficiently separates the headers from the content.
To create cgidata.bin, do:
export ADAGUC_D... | 49.266667 | 298 | 0.786874 |
f5dc62184abf6207476e35a77560e67b97fb099c | 1,626 | lua | Lua | data/scripts/prefabs/shadowtentacle.lua | GuLiPing-Hz/Dontstarve_m | c2f12c8c2b79ed6d5762b130f5702d70bc020596 | [
"MIT"
] | 4 | 2019-11-18T08:13:29.000Z | 2021-04-02T00:08:35.000Z | data/scripts/prefabs/shadowtentacle.lua | GuLiPing-Hz/Dontstarve_m | c2f12c8c2b79ed6d5762b130f5702d70bc020596 | [
"MIT"
] | null | null | null | data/scripts/prefabs/shadowtentacle.lua | GuLiPing-Hz/Dontstarve_m | c2f12c8c2b79ed6d5762b130f5702d70bc020596 | [
"MIT"
] | 2 | 2019-08-04T07:12:15.000Z | 2019-12-24T03:34:16.000Z | require "stategraphs/SGshadowtentacle"
local assets=
{
Asset("ANIM", "anim/tentacle_arm.zip"),
Asset("ANIM", "anim/tentacle_arm_black_build.zip"),
Asset("SOUND", "sound/tentacle.fsb"),
}
local function shouldKeepTarget(inst, target)
return true
end
local function fn(Sim)
local inst = CreateEntity()
in... | 28.034483 | 73 | 0.737392 |