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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5a5c356c27b569100902cefbe603981f0c4ed951 | 6,423 | dart | Dart | lib/timeline_element.dart | scantykneesocks/ranepa_timetable | 43e5a25dacdcbf555581230594113533dd2166ed | [
"MIT"
] | 1 | 2021-05-22T13:04:29.000Z | 2021-05-22T13:04:29.000Z | lib/timeline_element.dart | scantykneesocks/ranepa_timetable | 43e5a25dacdcbf555581230594113533dd2166ed | [
"MIT"
] | null | null | null | lib/timeline_element.dart | scantykneesocks/ranepa_timetable | 43e5a25dacdcbf555581230594113533dd2166ed | [
"MIT"
] | null | null | null | /* Copyright 2018 Rejish Radhakrishnan
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 in writing, sof... | 31.485294 | 80 | 0.608283 |
df580275991215a57c8e7540bf561cc7acc833b3 | 133 | rb | Ruby | activejob/test/adapters/async.rb | pdg137/rails | e6e056c2c141ec94eb8e79a30ee766f77fdaf30d | [
"Ruby",
"MIT"
] | 1 | 2015-11-05T19:17:00.000Z | 2015-11-05T19:17:00.000Z | activejob/test/adapters/async.rb | pdg137/rails | e6e056c2c141ec94eb8e79a30ee766f77fdaf30d | [
"Ruby",
"MIT"
] | null | null | null | activejob/test/adapters/async.rb | pdg137/rails | e6e056c2c141ec94eb8e79a30ee766f77fdaf30d | [
"Ruby",
"MIT"
] | null | null | null | require 'concurrent'
require 'active_job/async_job'
ActiveJob::Base.queue_adapter = :async
ActiveJob::AsyncJob.perform_immediately!
| 22.166667 | 40 | 0.827068 |
81d98a568e3b2b10213aabaa51ad9e12a8157b25 | 956 | dart | Dart | packages/route/test/strip_test.dart | piecubed/angel | 8aad408c321a353fc8eb7d88c0fbdd9ed9073245 | [
"MIT"
] | 1,208 | 2016-06-24T02:57:56.000Z | 2022-03-09T18:53:10.000Z | packages/route/test/strip_test.dart | piecubed/angel | 8aad408c321a353fc8eb7d88c0fbdd9ed9073245 | [
"MIT"
] | 277 | 2016-10-21T14:15:58.000Z | 2021-04-26T16:33:54.000Z | packages/route/test/strip_test.dart | piecubed/angel | 8aad408c321a353fc8eb7d88c0fbdd9ed9073245 | [
"MIT"
] | 104 | 2016-04-22T03:06:59.000Z | 2022-03-09T18:53:12.000Z | import 'package:angel_route/string_util.dart';
import 'package:test/test.dart';
main() {
test('strip leading', () {
var a = '///a';
var b = stripStraySlashes(a);
print('$a => $b');
expect(b, 'a');
});
test('strip trailing', () {
var a = 'a///';
var b = stripStraySlashes(a);
print('$a... | 20.340426 | 46 | 0.466527 |
0a9fc25ea9626b3ddb108fd7ac1cd39972c72892 | 1,461 | cs | C# | NSExporter.Test/WhenParsingSgvEntries.cs | yodax/NSExporter | 0364c2834b3c895c9d6f551a5b93f86464da53c9 | [
"MIT"
] | null | null | null | NSExporter.Test/WhenParsingSgvEntries.cs | yodax/NSExporter | 0364c2834b3c895c9d6f551a5b93f86464da53c9 | [
"MIT"
] | 2 | 2022-01-25T10:05:32.000Z | 2022-01-25T10:07:29.000Z | NSExporter.Test/WhenParsingSgvEntries.cs | yodax/NSExporter | 0364c2834b3c895c9d6f551a5b93f86464da53c9 | [
"MIT"
] | null | null | null | using System;
using FluentAssertions;
using NUnit.Framework;
namespace NSExporter.Test;
class WhenParsingSgvEntries
{
[Test]
public void TheDataShouldBeImported()
{
var glucoseEntries = GlucoseEntry.FromJson(_sgvJsonResult);
glucoseEntries.Length.Should().Be(2);
glucoseEntries[0].... | 52.178571 | 549 | 0.659822 |
57f986613585e54032a9f544c4ca52788a728be4 | 1,294 | php | PHP | routes/web.php | yusufaisal/Sistem-Administrasi-Keuagan | 9dda65a8f1128b28d9bd6f964fdf86bc1e287077 | [
"MIT"
] | null | null | null | routes/web.php | yusufaisal/Sistem-Administrasi-Keuagan | 9dda65a8f1128b28d9bd6f964fdf86bc1e287077 | [
"MIT"
] | null | null | null | routes/web.php | yusufaisal/Sistem-Administrasi-Keuagan | 9dda65a8f1128b28d9bd6f964fdf86bc1e287077 | [
"MIT"
] | null | null | null | <?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... | 36.971429 | 96 | 0.639876 |
70a768f7a43c394bb70f1b68e308cc4b075a9dad | 13,426 | lua | Lua | test_scripts/Policies/appID_Management/042_ATF_PolicyTable_RAI_with_NULL_policies_RPCs_DISALLOWED.lua | VjKlepikov/sdl_atf_test_scripts | ab2de1428554b989f6753bbe3845154fe0622c66 | [
"BSD-3-Clause"
] | null | null | null | test_scripts/Policies/appID_Management/042_ATF_PolicyTable_RAI_with_NULL_policies_RPCs_DISALLOWED.lua | VjKlepikov/sdl_atf_test_scripts | ab2de1428554b989f6753bbe3845154fe0622c66 | [
"BSD-3-Clause"
] | 1 | 2020-11-26T13:17:30.000Z | 2020-11-26T13:17:30.000Z | test_scripts/Policies/appID_Management/042_ATF_PolicyTable_RAI_with_NULL_policies_RPCs_DISALLOWED.lua | VjKlepikov/sdl_atf_test_scripts | ab2de1428554b989f6753bbe3845154fe0622c66 | [
"BSD-3-Clause"
] | null | null | null | ---------------------------------------------------------------------------------------------
-- Requirement summary:
-- [GeneralResultCode] DISALLOWED. A request comes with appID which has "null" permissions in Policy Table
-- [RegisterAppInterface] Allow only RegisterAppInterface for the application with NULL policie... | 35.146597 | 155 | 0.704231 |
234d403fd976c9d0dbd553d1b43f584fa237798d | 1,029 | css | CSS | upvote/gae/modules/upvote_app/frontend/web_ui/app.css | iwikmai/upvote | 77bb200d0e35a28cc5aed98ceee8e234998814b6 | [
"Apache-2.0"
] | 453 | 2017-10-24T15:29:44.000Z | 2021-09-27T23:21:20.000Z | upvote/gae/modules/upvote_app/frontend/web_ui/app.css | iwikmai/upvote | 77bb200d0e35a28cc5aed98ceee8e234998814b6 | [
"Apache-2.0"
] | 58 | 2018-03-23T21:19:16.000Z | 2021-05-23T20:06:05.000Z | upvote/gae/modules/upvote_app/frontend/web_ui/app.css | iwikmai/upvote | 77bb200d0e35a28cc5aed98ceee8e234998814b6 | [
"Apache-2.0"
] | 36 | 2018-03-23T21:25:54.000Z | 2021-09-27T23:21:24.000Z | body {
background-color: #FFF;
}
#uv-all-content {
background-color: inherit;
}
#uv-main-content {
overflow: hidden;
background-color: #EEE;
}
#blockable-card {
max-width: 640px;
}
body>md-tooltip {
z-index: 150;
}
.scroll-y {
overflow-y: auto;
height: 100%;
}
.uv-minibutton.md-icon-button.md-butt... | 13.539474 | 47 | 0.64723 |
6635e90bafb6f50c4a75a1b33306609532ac581f | 556 | py | Python | zipkin/binding/celery/impl.py | MoiTux/python-zipkin | 4c69a28a43176fe24a2aeac932c153258ff7e60a | [
"Apache-2.0"
] | null | null | null | zipkin/binding/celery/impl.py | MoiTux/python-zipkin | 4c69a28a43176fe24a2aeac932c153258ff7e60a | [
"Apache-2.0"
] | null | null | null | zipkin/binding/celery/impl.py | MoiTux/python-zipkin | 4c69a28a43176fe24a2aeac932c153258ff7e60a | [
"Apache-2.0"
] | null | null | null | import logging
from celery.signals import before_task_publish, task_prerun, task_postrun
from zipkin.models import Endpoint
from . import events
log = logging.getLogger(__name__)
def bind(endpoint=None):
if not endpoint:
endpoint = Endpoint("Celery")
events.endpoint = endpoint
log.info('Attac... | 25.272727 | 73 | 0.771583 |
f17696e5af6f4d07e73e37a91a3358ea63feb9a8 | 4,695 | rb | Ruby | spec/data_subjects/file_system_spec.rb | inside-track/remi | f7e5f28f08f8c0403e04cd82d6fc14b6b2c362a7 | [
"MIT"
] | 1 | 2016-10-03T05:05:41.000Z | 2016-10-03T05:05:41.000Z | spec/data_subjects/file_system_spec.rb | inside-track/remi | f7e5f28f08f8c0403e04cd82d6fc14b6b2c362a7 | [
"MIT"
] | 8 | 2016-09-02T18:11:06.000Z | 2017-11-27T18:08:36.000Z | spec/data_subjects/file_system_spec.rb | inside-track/remi | f7e5f28f08f8c0403e04cd82d6fc14b6b2c362a7 | [
"MIT"
] | 1 | 2016-10-03T05:05:48.000Z | 2016-10-03T05:05:48.000Z | require 'remi_spec'
describe Extractor::FileSystem do
before do
now = Time.new
example_files = [
{ pathname: "pdir/ApplicantsA-9.csv", create_time: now - 10.minutes },
{ pathname: "pdir/ApplicantsA-3.csv", create_time: now - 5.minutes },
{ pathname: "pdir/ApplicantsA-5.csv", ... | 27.138728 | 81 | 0.604047 |
613e1fb1626f76e3cbada26dd997187c79a661fd | 837 | sql | SQL | sql/updates/0.8/4154_spell_proc_event.sql | Ambal/mangos | 9833ce4e393ca36668751dbcc9dfcf7cae8ff4ff | [
"OpenSSL"
] | 1 | 2019-01-19T06:35:40.000Z | 2019-01-19T06:35:40.000Z | sql/updates/0.8/4154_spell_proc_event.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | sql/updates/0.8/4154_spell_proc_event.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | /* for reference
DROP TABLE IF EXISTS `spell_proc_event`;
CREATE TABLE `spell_proc_event` (
`entry` smallint(6) unsigned NOT NULL default '0',
`SchoolMask` tinyint(4) NOT NULL default '0',
`Category` smallint(6) NOT NULL default '0',
`SkillID` smallint(6) NOT NULL default '0',
`SpellFamilyName` smallint(6) un... | 34.875 | 86 | 0.701314 |
eaee25850b4b1c31e9522a6af67f8d13489bdb85 | 452 | asm | Assembly | libsrc/input/spectrum/in_JoyKempston.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | 1 | 2018-09-04T23:07:24.000Z | 2018-09-04T23:07:24.000Z | libsrc/input/spectrum/in_JoyKempston.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | libsrc/input/spectrum/in_JoyKempston.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | ; uint in_JoyKempston(void)
; 2002 aralbrec
XLIB in_JoyKempston
; exit : HL = F000RLDU active high
; uses : AF,DE,HL
.in_JoyKempston
in a,($1f)
cpl
and $1f
ld e,a
ld d,0
ld hl,kemptbl
add hl,de
ld l,(hl)
ld h,d
ret
.kemptbl
defb $8f,$87,$8b,$83
defb $82,$8a,$86,$8e
defb $81,... | 14.125 | 34 | 0.561947 |
af2e6f25f872749efc6a54724014ab682998cd16 | 4,410 | py | Python | corefacility/core/entity/token.py | serik1987/corefacility | 78d84e19403361e83ef562e738473849f9133bef | [
"RSA-MD"
] | null | null | null | corefacility/core/entity/token.py | serik1987/corefacility | 78d84e19403361e83ef562e738473849f9133bef | [
"RSA-MD"
] | null | null | null | corefacility/core/entity/token.py | serik1987/corefacility | 78d84e19403361e83ef562e738473849f9133bef | [
"RSA-MD"
] | null | null | null | from base64 import b64encode, b64decode
from datetime import datetime, timedelta
from django.utils import timezone
from .entity import Entity
from .entity_exceptions import EntityNotFoundException
from .entity_fields import RelatedEntityField, ManagedEntityField, EntityPasswordManager, ExpiryDateManager
class Token(... | 35.564516 | 110 | 0.660544 |
bf6950bed4e95279a2c46d1830df052a22dedb51 | 1,503 | rb | Ruby | wrapper/ruby/wrapper.rb | tylernm14/donut_dagger | facda815eaa0151f40e8d511e6b905ab237f0b3f | [
"MIT"
] | 1 | 2017-11-02T03:11:15.000Z | 2017-11-02T03:11:15.000Z | wrapper/ruby/wrapper.rb | tylernm14/donut-dagger | facda815eaa0151f40e8d511e6b905ab237f0b3f | [
"MIT"
] | 9 | 2019-12-19T13:18:07.000Z | 2022-02-26T04:37:48.000Z | wrapper/ruby/wrapper.rb | tylernm14/donut_dagger | facda815eaa0151f40e8d511e6b905ab237f0b3f | [
"MIT"
] | null | null | null | #!/usr/bin/env ruby
#
require 'json'
require 'open3'
require 'pp'
require 'time'
require 'rest-client'
job_record = JSON.parse(ARGV[0])
job_desc = JSON.parse(ARGV[1])
auth = "Token token=#{ENV['ADMIN_TOKEN']}"
# ex.
# {
# "name": "apple",
# "cmd": "/timer.rb",
# "args": [ "300s" ]
# }
STDOUT.sync = true
puts "... | 26.839286 | 196 | 0.669993 |
1b3e627b93ee32ea00d7f8a842f2bc988b9853f0 | 562 | rb | Ruby | bin/day_5.rb | MartyBeGood/aoc21 | 331615a1cbc50c251c0caecf3a008810bac58aee | [
"MIT"
] | null | null | null | bin/day_5.rb | MartyBeGood/aoc21 | 331615a1cbc50c251c0caecf3a008810bac58aee | [
"MIT"
] | null | null | null | bin/day_5.rb | MartyBeGood/aoc21 | 331615a1cbc50c251c0caecf3a008810bac58aee | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require_relative '../load_paths'
require 'days/day_5/diagram'
require 'days/day_5/input_parser'
require 'config/default_config'
require 'input/input_provider'
raw_input = InputProvider.get_input_for_day(5)
parser = Day5::Input::Parser.new(raw_input)
diag = Day5::Diagram.new(parser.max_... | 25.545455 | 77 | 0.756228 |
25b880466c2e85797d2dda9c024ae7f0c4542b46 | 447 | cs | C# | Underscore/Program.ConflictDestination.cs | dorofiykolya/rename-files-underscore | 74915d49f7f0b2d16891bfb0237000b75d9061c7 | [
"MIT"
] | null | null | null | Underscore/Program.ConflictDestination.cs | dorofiykolya/rename-files-underscore | 74915d49f7f0b2d16891bfb0237000b75d9061c7 | [
"MIT"
] | null | null | null | Underscore/Program.ConflictDestination.cs | dorofiykolya/rename-files-underscore | 74915d49f7f0b2d16891bfb0237000b75d9061c7 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
namespace Underscore
{
partial class Program
{
private class ConflictDestination
{
public ConflictDestination(string destination, List<FilePath> list)
{
Destination = destination;
Conflicts = list;
... | 22.35 | 79 | 0.552573 |
643f17ec1a44a6eccf24e64e2e6af8458e914e0b | 9,507 | py | Python | python/shopping/content/orders/workflow.py | adewolff/googleads-shopping-samples | e2da2cdadf43686abc7fd33edb4ab6dcb25802a6 | [
"Apache-2.0"
] | 2 | 2019-03-28T16:00:48.000Z | 2019-03-28T16:00:52.000Z | python/shopping/content/orders/workflow.py | adewolff/googleads-shopping-samples | e2da2cdadf43686abc7fd33edb4ab6dcb25802a6 | [
"Apache-2.0"
] | null | null | null | python/shopping/content/orders/workflow.py | adewolff/googleads-shopping-samples | e2da2cdadf43686abc7fd33edb4ab6dcb25802a6 | [
"Apache-2.0"
] | 1 | 2019-11-20T20:47:38.000Z | 2019-11-20T20:47:38.000Z | #!/usr/bin/python
#
# Copyright 2016 Google Inc. 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 b... | 35.342007 | 79 | 0.691175 |
9feada48eb07f1ae0d04262571d4e25502e9e6aa | 478 | py | Python | latte/overrides/frappe/www/printview.py | sunnyakaxd/latte | de74065122a1f858bd75f8e1a36fca3b23981f4c | [
"MIT"
] | null | null | null | latte/overrides/frappe/www/printview.py | sunnyakaxd/latte | de74065122a1f858bd75f8e1a36fca3b23981f4c | [
"MIT"
] | null | null | null | latte/overrides/frappe/www/printview.py | sunnyakaxd/latte | de74065122a1f858bd75f8e1a36fca3b23981f4c | [
"MIT"
] | null | null | null | import frappe
from frappe.www.printview import get_html_and_style, string_types
@frappe.whitelist()
def patched_get_html_and_style(doc, name=None, print_format=None, meta=None,
no_letterhead=None, trigger_print=False, style=None, lang=None):
frappe.local.flags.log_identity = print_format
return get_html_and_style(
... | 28.117647 | 76 | 0.797071 |
06f40617e8e2a9bb4763dc64ca2f025d75fcc5c5 | 2,521 | py | Python | lovepon/cropper.py | Hamuko/lovepon | 2d0acb7d2c6b880579a7f84215059c47775beaeb | [
"Apache-2.0"
] | null | null | null | lovepon/cropper.py | Hamuko/lovepon | 2d0acb7d2c6b880579a7f84215059c47775beaeb | [
"Apache-2.0"
] | null | null | null | lovepon/cropper.py | Hamuko/lovepon | 2d0acb7d2c6b880579a7f84215059c47775beaeb | [
"Apache-2.0"
] | null | null | null | import tkinter
from PIL import ImageTk, Image
root = tkinter.Tk()
class VideoCropper(tkinter.Frame):
def __init__(self, video):
super().__init__(root)
self.setup_root()
self.video = video
self.screenshot = Image.open(self.video.generate_screenshot())
self.pack()
se... | 36.536232 | 79 | 0.629909 |
b0dc10c62a849f2ff0293b6432ed1a1496b9b6a0 | 20,794 | py | Python | src/modeler/inceptionnetmodel.py | liuweiping2020/pyml | 0b9a7a307b93f9313d7e1bb92b33ae330d681c73 | [
"Apache-2.0"
] | null | null | null | src/modeler/inceptionnetmodel.py | liuweiping2020/pyml | 0b9a7a307b93f9313d7e1bb92b33ae330d681c73 | [
"Apache-2.0"
] | null | null | null | src/modeler/inceptionnetmodel.py | liuweiping2020/pyml | 0b9a7a307b93f9313d7e1bb92b33ae330d681c73 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
from modeler.tfmodel import TFModel
class InceptionNetModel(TFModel):
def __init__(self):
self.slim = tf.contrib.slim
self.trunc_normal = lambda stddev: tf.truncated_normal_initializer(0.0, stddev)
pass
def add_placeholder(self):
batch_size = 32
... | 62.63253 | 104 | 0.506204 |
1a5b7897e3f7a34670f6f3dc7ed3a409c2cb7f14 | 1,302 | py | Python | reader/indexData/indexRequestHandler.py | sifarone/gce_k8s_deployment | f596e17b9d0263ae24c61ebba9925af4719b4306 | [
"MIT"
] | null | null | null | reader/indexData/indexRequestHandler.py | sifarone/gce_k8s_deployment | f596e17b9d0263ae24c61ebba9925af4719b4306 | [
"MIT"
] | null | null | null | reader/indexData/indexRequestHandler.py | sifarone/gce_k8s_deployment | f596e17b9d0263ae24c61ebba9925af4719b4306 | [
"MIT"
] | 1 | 2021-01-24T17:07:37.000Z | 2021-01-24T17:07:37.000Z | import json
from . import indexDbAPIs
from . import redisAPIs
class IndexDataRequestHandlers:
def __init__(self):
self.indexDbAPIs = indexDbAPIs.IndexDbAPIs()
async def handler_indexSymbolList(self, request):
'''
Returns the list of symbols in cash market segment
/api/{marketTy... | 34.263158 | 98 | 0.641321 |
b2c22ceeaf6b6b40d3c54f934fcb5fb41480a8cd | 1,107 | css | CSS | src/fonts/font.css | Guimels/usinadosbags | 60633b1b88ff45da64e0454c7542f40f30daf673 | [
"MIT"
] | 3 | 2018-05-30T12:42:01.000Z | 2018-05-30T12:43:23.000Z | src/fonts/font.css | Guimels/usinadosbags | 60633b1b88ff45da64e0454c7542f40f30daf673 | [
"MIT"
] | 33 | 2018-01-29T01:26:27.000Z | 2020-05-28T21:32:52.000Z | src/fonts/font.css | Guimels/usinadosbags | 60633b1b88ff45da64e0454c7542f40f30daf673 | [
"MIT"
] | 1 | 2018-03-14T13:20:22.000Z | 2018-03-14T13:20:22.000Z | /* latin */
@font-face {
font-family: 'Libre Baskerville';
font-style: normal;
font-weight: 400;
src: local('Libre Baskerville'), local('LibreBaskerville-Regular'), url('./Libre_Baskerville/LibreBaskerville-Regular.ttf') format('truetype');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02B... | 41 | 147 | 0.6486 |
45a02a3624d34b37102056ad5b7b0659879534f3 | 7,487 | py | Python | resolve_qualifiers.py | PhilippChr/wikidata-core-for-QA | 0af1ac19097fe102da4bde44b6ab9249556d1640 | [
"MIT"
] | 4 | 2021-06-24T04:40:28.000Z | 2021-11-10T07:27:04.000Z | resolve_qualifiers.py | magkai/wikidata-core-for-QA | 29007ae80381365e2e1aaa28a3aa9ee98a80c9cd | [
"MIT"
] | null | null | null | resolve_qualifiers.py | magkai/wikidata-core-for-QA | 29007ae80381365e2e1aaa28a3aa9ee98a80c9cd | [
"MIT"
] | 1 | 2021-06-27T13:43:15.000Z | 2021-06-27T13:43:15.000Z | import csv
import json
import re
#####################################################
# CONSTANTS #
#####################################################
DUMP_SPECIFICATION = "wikidata_clean"
PATH_TO_INPUT_FILE = "dumps/" + DUMP_SPECIFICATION + ".nt"
PATH_TO_UNIQUE_PREDICATES_D... | 40.037433 | 156 | 0.447175 |
dc4a5a4cc088d1f6a1ee1c529bc4eaf7b55dec66 | 4,227 | ts | TypeScript | src/__tests__/test.ts | korbinancell/use-deep-update-callback | 18b9107627825762c47f83fef483fb52f53c08ae | [
"MIT"
] | null | null | null | src/__tests__/test.ts | korbinancell/use-deep-update-callback | 18b9107627825762c47f83fef483fb52f53c08ae | [
"MIT"
] | null | null | null | src/__tests__/test.ts | korbinancell/use-deep-update-callback | 18b9107627825762c47f83fef483fb52f53c08ae | [
"MIT"
] | null | null | null | /* global describe, it, expect, */
import React from 'react';
import { renderHook, act } from '@testing-library/react-hooks';
import { useDeepUpdateCallback, useDeepToggleCallback } from '../';
describe('useDeepUpdateCallback', () => {
it('is truthy', () => {
expect(useDeepUpdateCallback).toBeTruthy();
});
... | 23.098361 | 79 | 0.544831 |
a1dbd7880ee10c10911ad674daa6a64c15d6438a | 2,617 | swift | Swift | Warp/Sources/Controller/QBESuggestionsViewController.swift | pixelspark/warp | cfe1220c4c4d587924ad6e9925ece86b3d44152f | [
"MIT",
"Unlicense"
] | 63 | 2016-09-07T17:15:09.000Z | 2021-06-22T04:44:06.000Z | Warp/Sources/Controller/QBESuggestionsViewController.swift | pixelspark/warp | cfe1220c4c4d587924ad6e9925ece86b3d44152f | [
"MIT",
"Unlicense"
] | 4 | 2016-11-11T22:57:53.000Z | 2017-11-03T10:13:53.000Z | Warp/Sources/Controller/QBESuggestionsViewController.swift | pixelspark/warp | cfe1220c4c4d587924ad6e9925ece86b3d44152f | [
"MIT",
"Unlicense"
] | 3 | 2017-06-07T12:20:54.000Z | 2019-02-23T02:25:24.000Z | /* Warp. Copyright (C) 2014-2017 Pixelspark, Tommy van der Vorst
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later
version.
This program ... | 39.059701 | 118 | 0.769583 |
e2fa4aada906a85d8ecde2a582cfce10dd49d25a | 3,935 | py | Python | src/graphnas/selectors/gs_selector.py | mhnnunes/fla_nas_gnn | cf7f5c9143c4e6851eaef29af741ac8872364027 | [
"Apache-2.0"
] | 3 | 2021-04-12T08:06:00.000Z | 2021-11-25T08:49:22.000Z | src/graphnas/selectors/gs_selector.py | mhnnunes/fla_nas_gnn | cf7f5c9143c4e6851eaef29af741ac8872364027 | [
"Apache-2.0"
] | null | null | null | src/graphnas/selectors/gs_selector.py | mhnnunes/fla_nas_gnn | cf7f5c9143c4e6851eaef29af741ac8872364027 | [
"Apache-2.0"
] | null | null | null | import time
import itertools
from math import ceil
from graphnas.selectors.model_selector import ModelSelector
class GridSearch_Selector(ModelSelector):
"""
This class implements a Random Search method, on the Search Space
provided to it.
"""
def __init__(self, args, search_space, action_list, sub... | 41.421053 | 79 | 0.585515 |
42538e85e93f0fb442367c12798e90718e599631 | 30,700 | lua | Lua | main.lua | artaslove/ModLoopTool | 9a2ebb592bb939db50b4a9a58767bf42e38af113 | [
"MIT"
] | null | null | null | main.lua | artaslove/ModLoopTool | 9a2ebb592bb939db50b4a9a58767bf42e38af113 | [
"MIT"
] | null | null | null | main.lua | artaslove/ModLoopTool | 9a2ebb592bb939db50b4a9a58767bf42e38af113 | [
"MIT"
] | null | null | null | --[[============================================================================
main.lua
============================================================================]]--
--[[
This is an experiment to modify sample loop positions by tonyscomputerconsulting@gmail.com
portions of this code for handling notes and freque... | 31.487179 | 147 | 0.602541 |
dc2cc6292b5fc04d9eae59cf7ab7569eb5dd72fe | 2,302 | sql | SQL | Portal/Binaries/Database/Tables/MCCandidate.drop.sql | dsalunga/mPortal | 3c727231e576c4ab0c3ace21cc412a2cf344974a | [
"MIT"
] | 1 | 2018-05-08T21:06:38.000Z | 2018-05-08T21:06:38.000Z | Portal/Binaries/Database/Tables/MCCandidate.drop.sql | dsalunga/mPortal | 3c727231e576c4ab0c3ace21cc412a2cf344974a | [
"MIT"
] | null | null | null | Portal/Binaries/Database/Tables/MCCandidate.drop.sql | dsalunga/mPortal | 3c727231e576c4ab0c3ace21cc412a2cf344974a | [
"MIT"
] | 3 | 2017-12-19T17:51:25.000Z | 2022-02-02T03:45:43.000Z | IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[DF_MCCandidate_Name]') AND type = 'D')
BEGIN
ALTER TABLE [dbo].[MCCandidate] DROP CONSTRAINT [DF_MCCandidate_Name]
END
GO
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[DF_MCCandidate_Entry]') AND type = 'D')
BEGIN
ALTER TABLE [dbo].[MC... | 32.885714 | 112 | 0.761946 |
a9db823975964830873793167d08c20e25a8aca0 | 2,498 | php | PHP | engine/tests/phpunit/Elgg/Access/AclTest.php | piet0024/Elgg_test | 060dc5c64a4009b3ae8f3bd6d57d2b4b65f34553 | [
"MIT"
] | null | null | null | engine/tests/phpunit/Elgg/Access/AclTest.php | piet0024/Elgg_test | 060dc5c64a4009b3ae8f3bd6d57d2b4b65f34553 | [
"MIT"
] | null | null | null | engine/tests/phpunit/Elgg/Access/AclTest.php | piet0024/Elgg_test | 060dc5c64a4009b3ae8f3bd6d57d2b4b65f34553 | [
"MIT"
] | null | null | null | <?php
class Elgg_Access_AclTest extends \Elgg\TestCase {
/**
* Ignoring access permissions globally shouldn't affect the results
* when fetching the ACLs that user belongs to.
*/
public function testIgnoringAccessDoesntAffectFetchingReadACLs() {
/**
* How to test:
* 1. Create an ElggUser
* 2. Cre... | 30.463415 | 86 | 0.694956 |
0743629cba8b49177a5fd121bbffacd09820bfcc | 46,026 | c | C | third_party/bluez/repo/obexd/plugins/phonebook-tracker.c | Shumaro/openweave-core | 0f1388d2d887208d59c3409bd73d5939727c8bda | [
"Apache-2.0"
] | null | null | null | third_party/bluez/repo/obexd/plugins/phonebook-tracker.c | Shumaro/openweave-core | 0f1388d2d887208d59c3409bd73d5939727c8bda | [
"Apache-2.0"
] | null | null | null | third_party/bluez/repo/obexd/plugins/phonebook-tracker.c | Shumaro/openweave-core | 0f1388d2d887208d59c3409bd73d5939727c8bda | [
"Apache-2.0"
] | 1 | 2020-11-04T06:58:12.000Z | 2020-11-04T06:58:12.000Z | /*
* Phonebook access through D-Bus vCard and call history service
*
* Copyright (C) 2010 Nokia Corporation
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of ... | 26.774869 | 112 | 0.663668 |
1f35ecc98f05514cee04908ad83a1fa1edb31529 | 1,812 | cs | C# | Source/QuantityTypes/Operators/LinearMomentum.cs | BadBabyJames/QunityTypes | 629783109a1a513dd68ec67bae6d5bcb856a0ebe | [
"MIT"
] | 1 | 2016-03-10T02:31:31.000Z | 2016-03-10T02:31:31.000Z | Source/QuantityTypes/Operators/LinearMomentum.cs | BadBabyJames/QunityTypes | 629783109a1a513dd68ec67bae6d5bcb856a0ebe | [
"MIT"
] | null | null | null | Source/QuantityTypes/Operators/LinearMomentum.cs | BadBabyJames/QunityTypes | 629783109a1a513dd68ec67bae6d5bcb856a0ebe | [
"MIT"
] | 1 | 2016-03-10T02:31:31.000Z | 2016-03-10T02:31:31.000Z | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="LinearMomentum.cs" company="QuantityTypes">
// Copyright (c) 2014 QuantityTypes contributors
// </copyright>
// <summary>
// Provides operators related to linear momentum... | 36.24 | 121 | 0.449227 |
cd4c7ead388549fd1850f261914db094e815a0bc | 2,333 | cs | C# | src/Raven.Server/Utils/Cli/JavaScriptCli.cs | ryanheath/ravendb | f32ee65b73912aa1532929164d004e027d266270 | [
"Linux-OpenIB"
] | 1 | 2017-03-02T13:05:14.000Z | 2017-03-02T13:05:14.000Z | src/Raven.Server/Utils/Cli/JavaScriptCli.cs | ryanheath/ravendb | f32ee65b73912aa1532929164d004e027d266270 | [
"Linux-OpenIB"
] | 1 | 2019-03-12T12:10:52.000Z | 2019-03-12T12:10:52.000Z | src/Raven.Server/Utils/Cli/JavaScriptCli.cs | aviv86/ravendb | 3ee33d576fecd2c47dc7a9f5b671a46731fed659 | [
"Linux-OpenIB"
] | null | null | null | using System;
using System.IO;
using System.Text;
using Raven.Server.Documents;
using Raven.Server.Documents.Patch;
namespace Raven.Server.Utils.Cli
{
internal class JavaScriptCli
{
private const string ExecutionStr = "function ExecuteAdminScript(databaseInner){{ return (function(database){{ ... | 36.453125 | 163 | 0.562795 |
e5fa5c854664ef248eafa5bb4d32b476c68d5868 | 7,788 | sql | SQL | 3 - TRIGGER.sql | toxema/flight_database | 9071e3548d75f570c7872e348dd4ad7cb5576e6f | [
"MIT"
] | null | null | null | 3 - TRIGGER.sql | toxema/flight_database | 9071e3548d75f570c7872e348dd4ad7cb5576e6f | [
"MIT"
] | null | null | null | 3 - TRIGGER.sql | toxema/flight_database | 9071e3548d75f570c7872e348dd4ad7cb5576e6f | [
"MIT"
] | null | null | null | /*1 - LEG INSTANCE
Airplane_code bu iki hava limanınada can land olabilmeli
Departure_airport_code
Arrival_airport_code
*/
-- ############################################################################################3
select * from leg_instance;
-- TEST
-- test uçakları ... | 36.735849 | 142 | 0.620699 |
dba69c7a2ee05ee307d0f4a13e42481da689f430 | 733 | php | PHP | app/Containers/Payment/Actions/GetAllPaymentAccountsAction.php | tranchithanh/api | d6d665d0df79878d4d1cd16ebe03571902626617 | [
"MIT"
] | null | null | null | app/Containers/Payment/Actions/GetAllPaymentAccountsAction.php | tranchithanh/api | d6d665d0df79878d4d1cd16ebe03571902626617 | [
"MIT"
] | null | null | null | app/Containers/Payment/Actions/GetAllPaymentAccountsAction.php | tranchithanh/api | d6d665d0df79878d4d1cd16ebe03571902626617 | [
"MIT"
] | null | null | null | <?php
namespace App\Containers\Payment\Actions;
use Apiato\Core\Foundation\Facades\Apiato;
use App\Ship\Parents\Actions\Action;
/**
* Class GetAllPaymentAccountsAction
*
* @author Johannes Schobel <johannes.schobel@googlemail.com>
*/
class GetAllPaymentAccountsAction extends Action
{
/**
* @return mix... | 20.361111 | 72 | 0.58663 |
315440c05292a5fe09ae590d0e2a0037b55efad8 | 2,788 | go | Go | dragonfly/job.go | denniscollective/dragonfly.go | c13c2c146defeb45b2c6c30a0d4c78fc5bd3360c | [
"MIT"
] | null | null | null | dragonfly/job.go | denniscollective/dragonfly.go | c13c2c146defeb45b2c6c30a0d4c78fc5bd3360c | [
"MIT"
] | null | null | null | dragonfly/job.go | denniscollective/dragonfly.go | c13c2c146defeb45b2c6c30a0d4c78fc5bd3360c | [
"MIT"
] | null | null | null | package dragonfly
import (
//"fmt"
"io/ioutil"
"os"
"os/exec"
)
type Step interface {
Apply(in chan *os.File, errIn chan error) (out chan *os.File, errChan chan error)
//Args []string
//Command string
}
type Job struct {
Steps []Step
Temp *os.File
}
func (job *Job) Apply() (temp *os.File, err error) {
... | 18.837838 | 122 | 0.657102 |
7f18588121e96b24eeeaf100f0107e45c6acfb1a | 2,331 | cs | C# | AtsInit.cs | diehard3303/ModManagerUlt | dfd4ffc1a024704a1c020dcedadc1a2f91e12faf | [
"BSD-3-Clause"
] | null | null | null | AtsInit.cs | diehard3303/ModManagerUlt | dfd4ffc1a024704a1c020dcedadc1a2f91e12faf | [
"BSD-3-Clause"
] | null | null | null | AtsInit.cs | diehard3303/ModManagerUlt | dfd4ffc1a024704a1c020dcedadc1a2f91e12faf | [
"BSD-3-Clause"
] | null | null | null | using System.Windows.Forms;
using Extensions;
namespace ModManagerUlt {
internal class AtsInit {
/// <summary>
/// Initializes the ats.
/// </summary>
public void InitializeAts() {
var atsw = new AtsRegWork(true);
var tmp = atsw.Read(AtsRegKeys.ATS_REPO);
... | 42.381818 | 118 | 0.571 |
e842527d981f3ea595a86ac4028ed281fec809bd | 8,778 | cs | C# | ApiReviewHelper/ObjectModel/_helpers/HtmlBaselineOutputHelper.cs | RobSiklos/ApiReviewHelper | 040ed9f53fc173861a122cf7f38cce7c656c3058 | [
"MIT"
] | 3 | 2021-12-26T18:35:41.000Z | 2022-01-05T08:20:13.000Z | ApiReviewHelper/ObjectModel/_helpers/HtmlBaselineOutputHelper.cs | RobSiklos/ApiReviewHelper | 040ed9f53fc173861a122cf7f38cce7c656c3058 | [
"MIT"
] | null | null | null | ApiReviewHelper/ObjectModel/_helpers/HtmlBaselineOutputHelper.cs | RobSiklos/ApiReviewHelper | 040ed9f53fc173861a122cf7f38cce7c656c3058 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Robzilla888.ApiReviewHelper.ObjectModel
{
internal static class HtmlBaselineOutputHelper
{
public static void WriteHtml(this ApiData api, str... | 34.972112 | 147 | 0.493962 |
013440e44019bd3b64ced6a59e36f3637b744aad | 1,246 | swift | Swift | SearchApp/Modules/Repositories/Service/RepositoriesService.swift | leonardo-ferreira07/GitHubRepos | cba4fc025f06f4a9dc098417b669b29292072a80 | [
"MIT"
] | 1 | 2020-03-23T16:24:05.000Z | 2020-03-23T16:24:05.000Z | SearchApp/Modules/Repositories/Service/RepositoriesService.swift | leonardo-ferreira07/GitHubRepos | cba4fc025f06f4a9dc098417b669b29292072a80 | [
"MIT"
] | null | null | null | SearchApp/Modules/Repositories/Service/RepositoriesService.swift | leonardo-ferreira07/GitHubRepos | cba4fc025f06f4a9dc098417b669b29292072a80 | [
"MIT"
] | null | null | null | //
// RepositoriesService.swift
// SearchApp
//
// Created by Leonardo Vinicius Kaminski Ferreira on 18/03/20.
// Copyright © 2020 Leonardo. All rights reserved.
//
import Foundation
import Combine
protocol RepositoriesFetchable {
func fetchRepositories(forText text: String) -> AnyPublisher<Repositories, Gene... | 25.428571 | 94 | 0.689406 |
cc22f36eda81b5ea7f52e5ab819504892c74f1a7 | 3,449 | swift | Swift | Example/Tests/TestMockServer.swift | AlexandrKarlin/MockWebServer | 0686e5113191c022a80fd0a331a3139579e37e00 | [
"MIT"
] | null | null | null | Example/Tests/TestMockServer.swift | AlexandrKarlin/MockWebServer | 0686e5113191c022a80fd0a331a3139579e37e00 | [
"MIT"
] | null | null | null | Example/Tests/TestMockServer.swift | AlexandrKarlin/MockWebServer | 0686e5113191c022a80fd0a331a3139579e37e00 | [
"MIT"
] | null | null | null | //
// TestMockServer.swift
// MockWebServer
//
// Created by Jae Han on 12/10/16.
// Copyright © 2016 jaehan. All rights reserved.
//
import XCTest
import MockWebServer
class TestMockServer: XCTestCase {
var mockWebServer: MockWebServer = MockWebServer()
override func setUp() {
super.set... | 33.485437 | 111 | 0.583068 |
439501064f2e2d10b0f82fc3f33cc783197f7469 | 519 | tsx | TypeScript | frontend/src/components/SearchBar/FilterBar.test.tsx | FuriousLlama/PSP | dd5d6156980235957498b458c7ba8003c398d53e | [
"Apache-2.0"
] | null | null | null | frontend/src/components/SearchBar/FilterBar.test.tsx | FuriousLlama/PSP | dd5d6156980235957498b458c7ba8003c398d53e | [
"Apache-2.0"
] | null | null | null | frontend/src/components/SearchBar/FilterBar.test.tsx | FuriousLlama/PSP | dd5d6156980235957498b458c7ba8003c398d53e | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import { cleanup, render } from 'utils/test-utils';
import FilterBar from './FilterBar';
const componentRender = () => {
return render(
<div>
<FilterBar
initialValues={{ businessIdentifierValue: 'test', firstName: 'user' }}
onChange={() => {}}
/>
</div>... | 20.76 | 78 | 0.587669 |
d67bc0597d7e6a194b2800ac6da5070abe10e343 | 1,900 | cs | C# | src/IdentityServer3.Contrib.Cache.Redis/CacheClient/ClaimConverter.cs | imperugo/Thinktecture.IdentityServer3.Cache.Redis | 92265c3af3246426fc28673e41f42a0ab44d8be3 | [
"MIT"
] | 11 | 2015-07-27T15:54:52.000Z | 2018-04-18T07:06:10.000Z | src/IdentityServer3.Contrib.Cache.Redis/CacheClient/ClaimConverter.cs | imperugo/Thinktecture.IdentityServer3.Cache.Redis | 92265c3af3246426fc28673e41f42a0ab44d8be3 | [
"MIT"
] | 9 | 2015-02-26T18:35:20.000Z | 2016-05-25T11:11:00.000Z | src/IdentityServer3.Contrib.Cache.Redis/CacheClient/ClaimConverter.cs | imperugo/Thinktecture.IdentityServer3.Cache.Redis | 92265c3af3246426fc28673e41f42a0ab44d8be3 | [
"MIT"
] | 11 | 2015-07-06T12:57:14.000Z | 2020-03-20T11:37:04.000Z | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Security.Claims;
namespace IdentityServer3.Contrib.Cache.Redis.CacheClient
{
/// <summary>
/// Custom json converter for claims
/// </summary>
public class ClaimConverter : JsonConverter
{
/// <summary>
/... | 30.645161 | 124 | 0.546842 |
43c9e69dd844a765b7a8d1397cea3ce219184042 | 232 | ts | TypeScript | 03 Component_Test/src/components/members/actions/membersRequestCompleted.ts | brauliodiez/redux-testing-typescript | a106aa8a4de05092728369f3b28242703f2d8714 | [
"MIT"
] | 16 | 2016-10-24T15:40:02.000Z | 2019-06-19T00:28:19.000Z | 03 Component_Test/src/components/members/actions/membersRequestCompleted.ts | brauliodiez/redux-testing-typescript | a106aa8a4de05092728369f3b28242703f2d8714 | [
"MIT"
] | 8 | 2016-09-06T17:20:55.000Z | 2017-07-28T08:00:16.000Z | 03 Component_Test/src/components/members/actions/membersRequestCompleted.ts | brauliodiez/redux-testing-typescript | a106aa8a4de05092728369f3b28242703f2d8714 | [
"MIT"
] | 8 | 2016-12-03T07:10:20.000Z | 2020-03-20T15:32:23.000Z | import {actionsEnums} from "../../../common/actions/actionsEnum";
export const membersRequestCompleted = (members : any) => {
return {
type: actionsEnums.membersPage.MEMBERS_REQUEST_COMPLETED,
members: members
}
}
| 25.777778 | 65 | 0.698276 |
901275052fc1f38c1b6cba74e0a206a9ca3cb267 | 2,204 | c | C | src/lapack/misc/uddateut/front/flamec/FLA_UDdate_UT_internal.c | greck2908/libflame | 51d901f5fa1729c018c19110d100d117b91a0e65 | [
"BSD-3-Clause"
] | 27 | 2017-10-01T08:26:08.000Z | 2022-01-03T20:26:42.000Z | src/lapack/misc/uddateut/front/flamec/FLA_UDdate_UT_internal.c | greck2908/libflame | 51d901f5fa1729c018c19110d100d117b91a0e65 | [
"BSD-3-Clause"
] | null | null | null | src/lapack/misc/uddateut/front/flamec/FLA_UDdate_UT_internal.c | greck2908/libflame | 51d901f5fa1729c018c19110d100d117b91a0e65 | [
"BSD-3-Clause"
] | 11 | 2017-07-30T19:15:00.000Z | 2020-02-21T13:18:13.000Z | /*
Copyright (C) 2014, The University of Texas at Austin
This file is part of libflame and is available under the 3-Clause
BSD license, which can be found in the LICENSE file at the top-level
directory, or at http://opensource.org/licenses/BSD-3-Clause
*/
#include "FLAME.h"
extern TLS_CLASS_SPEC fl... | 28.25641 | 78 | 0.610708 |
25bc7d6adcd5057c9dbb459137df8defe5ea0e73 | 3,471 | js | JavaScript | client/src/pages/Landing.js | rabiahfh/SkipToTheLoo | 646d9055676e53db59ad8f7341ab32849dc25954 | [
"MIT"
] | null | null | null | client/src/pages/Landing.js | rabiahfh/SkipToTheLoo | 646d9055676e53db59ad8f7341ab32849dc25954 | [
"MIT"
] | null | null | null | client/src/pages/Landing.js | rabiahfh/SkipToTheLoo | 646d9055676e53db59ad8f7341ab32849dc25954 | [
"MIT"
] | 1 | 2021-06-02T17:41:58.000Z | 2021-06-02T17:41:58.000Z | // import React from "react";
// import { Container, Row, Col, Form, FormControl, Button } from "react-bootstrap";
// import './Landing.scss';
// import Powerslap from "../video/background.mp4";
// import Map from "../components/Map";
// function Landing(){
// return(
// <section >
// <Containe... | 26.295455 | 93 | 0.539038 |
a32bcb597133b214b1c8bff09ed20ab8666e4990 | 676 | java | Java | projects/batfish-common-protocol/src/main/java/org/batfish/specifier/NodeNameRegexInterfaceLocationSpecifier.java | zabrewer/batfish | 8146a74c91af8a38cf4b4a2febc8e6df56a1a183 | [
"Apache-2.0"
] | 763 | 2017-02-21T20:35:50.000Z | 2022-03-29T09:27:14.000Z | projects/batfish-common-protocol/src/main/java/org/batfish/specifier/NodeNameRegexInterfaceLocationSpecifier.java | zabrewer/batfish | 8146a74c91af8a38cf4b4a2febc8e6df56a1a183 | [
"Apache-2.0"
] | 7,675 | 2017-01-18T08:04:59.000Z | 2022-03-31T21:29:36.000Z | projects/batfish-common-protocol/src/main/java/org/batfish/specifier/NodeNameRegexInterfaceLocationSpecifier.java | zabrewer/batfish | 8146a74c91af8a38cf4b4a2febc8e6df56a1a183 | [
"Apache-2.0"
] | 194 | 2017-05-03T14:58:10.000Z | 2022-03-30T20:56:44.000Z | package org.batfish.specifier;
import java.util.regex.Pattern;
import java.util.stream.Stream;
import org.batfish.datamodel.Configuration;
/**
* A {@link LocationSpecifier} specifying interfaces belonging to nodes with names matching the
* input regex.
*/
public final class NodeNameRegexInterfaceLocationSpecifier ... | 30.727273 | 99 | 0.775148 |
a5c6f09d6f3328b1d7ca47ea51ed1efb6eda39eb | 36,585 | h | C | vislib/include/vislib/Serialiser.h | azuki-monster/megamol | f5d75ae5630f9a71a7fbf81624bfd4f6b253c655 | [
"BSD-3-Clause"
] | null | null | null | vislib/include/vislib/Serialiser.h | azuki-monster/megamol | f5d75ae5630f9a71a7fbf81624bfd4f6b253c655 | [
"BSD-3-Clause"
] | null | null | null | vislib/include/vislib/Serialiser.h | azuki-monster/megamol | f5d75ae5630f9a71a7fbf81624bfd4f6b253c655 | [
"BSD-3-Clause"
] | null | null | null | /*
* Serialiser.h
*
* Copyright (C) 2006 - 2008 by Universitaet Stuttgart (VIS).
* Alle Rechte vorbehalten.
*/
#ifndef VISLIB_SERIALISER_H_INCLUDED
#define VISLIB_SERIALISER_H_INCLUDED
#if (defined(_MSC_VER) && (_MSC_VER > 1000))
#pragma once
#endif /* (defined(_MSC_VER) && (_MSC_VER > 1000)) */
#if defined(_WIN... | 40.071194 | 80 | 0.542217 |
06d1f472d306fdbbe0f65a90e1b99616a1afd01e | 1,379 | py | Python | geo2_pipeline/preproc8/40_useragg/usersample_messages.py | brendano/twitter_geo_preproc | 7466afe6df45c6cae0c22e55a321cb79dc7bf3da | [
"MIT"
] | 4 | 2015-01-30T01:27:29.000Z | 2019-01-15T18:37:58.000Z | geo2_pipeline/preproc8/40_useragg/usersample_messages.py | brendano/twitter_geo_preproc | 7466afe6df45c6cae0c22e55a321cb79dc7bf3da | [
"MIT"
] | null | null | null | geo2_pipeline/preproc8/40_useragg/usersample_messages.py | brendano/twitter_geo_preproc | 7466afe6df45c6cae0c22e55a321cb79dc7bf3da | [
"MIT"
] | 1 | 2021-07-02T19:13:51.000Z | 2021-07-02T19:13:51.000Z | # this may be broken
from mrjob.job import MRJob
import mrjob.util
from mrjob.protocol import JSONValueProtocol, PickleProtocol, RawValueProtocol
import re,os,sys
# import simplejson as json
from collections import defaultdict
import json
sys.path.insert(0,'..')
from hose_util import lookup
import textproc
class Us... | 30.644444 | 97 | 0.617839 |
c6ede76c080acb8d7b0d7af65bbda56a035368b5 | 1,061 | py | Python | scripts/data_preparation.py | hupili/hk_census_explorer_2011 | c130cf02a14c05bad5770d8477489fff78f32411 | [
"MIT"
] | 14 | 2015-04-13T16:30:45.000Z | 2017-03-30T02:54:13.000Z | scripts/data_preparation.py | hupili/hk_census_explorer_2011 | c130cf02a14c05bad5770d8477489fff78f32411 | [
"MIT"
] | 5 | 2015-03-04T13:44:41.000Z | 2017-10-22T16:03:18.000Z | scripts/data_preparation.py | hupili/hk_census_explorer_2011 | c130cf02a14c05bad5770d8477489fff78f32411 | [
"MIT"
] | 4 | 2015-01-23T02:56:40.000Z | 2018-03-05T11:42:02.000Z | import sh
from log import logger
import config
import download_constituency_area_data
import extract_data_from_xls
import geo_naming
import combine_json
import public_facilities
import translation_for_i18next
print(config.DIR_DATA_PREFIX)
sh.mkdir('-p', config.DIR_DATA_PREFIX)
logger.info('Start data preparation')
... | 25.878049 | 73 | 0.812441 |
9fd737b3569042d12dc1732acd4b5275da3067a2 | 990 | py | Python | dispatcher/discover.py | somson/dispatcher | e2add0378f9e031d6c9566d68505f70729ef4d86 | [
"BSD-3-Clause"
] | null | null | null | dispatcher/discover.py | somson/dispatcher | e2add0378f9e031d6c9566d68505f70729ef4d86 | [
"BSD-3-Clause"
] | null | null | null | dispatcher/discover.py | somson/dispatcher | e2add0378f9e031d6c9566d68505f70729ef4d86 | [
"BSD-3-Clause"
] | null | null | null | import os
def discover_receivers(path, base_path):
path = os.path.abspath(path)
base_path = os.path.abspath(base_path)
receiver_paths = discover_receiver_paths(path, base_path)
for p in receiver_paths:
module_path = p[len(base_path):].replace('/', '.')
module = os.path.splitext(module_... | 29.117647 | 72 | 0.649495 |
e22a6c731f87f3e2c645e4ab9c14115f1b5da5d7 | 3,933 | py | Python | wave.py | Jim00000/waterwave-simulator | 62f00fc302bfbe938f4577da51d4644abea8e1f4 | [
"MIT"
] | 1 | 2021-02-20T08:19:54.000Z | 2021-02-20T08:19:54.000Z | wave.py | Jim00000/waterwave-simulator | 62f00fc302bfbe938f4577da51d4644abea8e1f4 | [
"MIT"
] | null | null | null | wave.py | Jim00000/waterwave-simulator | 62f00fc302bfbe938f4577da51d4644abea8e1f4 | [
"MIT"
] | null | null | null | # -*- encoding:utf-8 -*-
"""
Copyright (C) 2017 the team of Jim00000, ActKz and pityYo
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the right... | 40.546392 | 145 | 0.54208 |
5bca5eba836b8ea1f91ea5c90ea3fa366a93ec28 | 4,347 | css | CSS | src/style.css | furkanarabul/to-do | 4bfbdb9994c61fe42ff2c619e0b1d0cb3bbd038b | [
"MIT"
] | null | null | null | src/style.css | furkanarabul/to-do | 4bfbdb9994c61fe42ff2c619e0b1d0cb3bbd038b | [
"MIT"
] | null | null | null | src/style.css | furkanarabul/to-do | 4bfbdb9994c61fe42ff2c619e0b1d0cb3bbd038b | [
"MIT"
] | null | null | null | * {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: rgb(241, 241, 241);
color: black;
font-family: "Abel", sans-serif;
min-height: 100vh;
transition: all 0.5s ease;
}
h1 {
background: linear-gradient(124.11deg, #e7a28f 3.52%, #ecc79a 41.89%);
background-clip: text;
-webkit-text... | 16.783784 | 72 | 0.652174 |
ca84ece45043cb35a0d067194ed1f470baa11ac2 | 516 | sql | SQL | src/infra/database/prisma/migrations/20220405115647_create_client_token/migration.sql | MattZ6/nodejs-delivery-api | ea476684b9df32bb9557369d934148503bd5ad18 | [
"MIT"
] | null | null | null | src/infra/database/prisma/migrations/20220405115647_create_client_token/migration.sql | MattZ6/nodejs-delivery-api | ea476684b9df32bb9557369d934148503bd5ad18 | [
"MIT"
] | 2 | 2022-03-29T22:30:42.000Z | 2022-03-30T21:56:51.000Z | src/infra/database/prisma/migrations/20220405115647_create_client_token/migration.sql | MattZ6/nodejs-delivery-api | ea476684b9df32bb9557369d934148503bd5ad18 | [
"MIT"
] | null | null | null | -- CreateTable
CREATE TABLE "client_tokens" (
"id" TEXT NOT NULL,
"token" TEXT NOT NULL,
"client_id" TEXT NOT NULL,
"expires_in" TIMESTAMP(3) NOT NULL,
"created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updated_at" TIMESTAMP(3) NOT NULL,
CONSTRAINT "client_tokens_pkey" PRIMARY K... | 34.4 | 164 | 0.726744 |
e2c5856727b479adcae685a1ad30aae7f5533479 | 1,048 | py | Python | app/apps/core/migrations/0009_auto_20190304_1415.py | lawi21/escriptorium | 6043b0cb3894bb308a37ed97a26114dcea883834 | [
"MIT"
] | 4 | 2021-09-21T09:15:24.000Z | 2022-02-12T13:36:33.000Z | app/apps/core/migrations/0009_auto_20190304_1415.py | lawi21/escriptorium | 6043b0cb3894bb308a37ed97a26114dcea883834 | [
"MIT"
] | 1 | 2021-11-30T12:04:11.000Z | 2021-11-30T12:04:11.000Z | app/apps/core/migrations/0009_auto_20190304_1415.py | stweil/escriptorium | 63a063f2dbecebe9f79aa6376e99030f49a02502 | [
"MIT"
] | 2 | 2021-11-10T09:39:52.000Z | 2022-01-10T08:52:40.000Z | # Generated by Django 2.1.4 on 2019-03-04 14:15
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core', '0008_auto_20190220_1506'),
]
operations = [
migrations.AlterField(
... | 33.806452 | 155 | 0.644084 |
b79dc57c8d87ed9ac355024072cc3b95897d7c8d | 412 | hpp | C++ | src/graphics/index-buffer.hpp | guillaume-haerinck/imac-tower-defense | 365a32642ea0d3ad8b2b7d63347d585c44d9f670 | [
"MIT"
] | 44 | 2019-06-06T21:33:30.000Z | 2022-03-26T06:18:23.000Z | src/graphics/index-buffer.hpp | guillaume-haerinck/imac-tower-defense | 365a32642ea0d3ad8b2b7d63347d585c44d9f670 | [
"MIT"
] | 1 | 2019-09-27T12:04:52.000Z | 2019-09-29T13:30:42.000Z | src/graphics/index-buffer.hpp | guillaume-haerinck/imac-tower-defense | 365a32642ea0d3ad8b2b7d63347d585c44d9f670 | [
"MIT"
] | 8 | 2019-07-26T16:44:26.000Z | 2020-11-24T17:56:18.000Z | #pragma once
class IndexBuffer {
private:
unsigned int m_rendererID;
unsigned int m_count;
public:
IndexBuffer();
IndexBuffer(const unsigned int* data, unsigned int count);
~IndexBuffer();
void init(const unsigned int* data, unsigned int count);
void bind() const;
void unbind() const;
inline unsigned int g... | 20.6 | 59 | 0.735437 |
da9590b9797628df4e7a82de73393dd5fdbf31d4 | 1,295 | php | PHP | application/models/M_pegawai.php | Agipp999/DTR | 9de10510bddf6fbe3bf50d79833da36ce159b01a | [
"MIT"
] | null | null | null | application/models/M_pegawai.php | Agipp999/DTR | 9de10510bddf6fbe3bf50d79833da36ce159b01a | [
"MIT"
] | null | null | null | application/models/M_pegawai.php | Agipp999/DTR | 9de10510bddf6fbe3bf50d79833da36ce159b01a | [
"MIT"
] | null | null | null | <?php
class M_pegawai extends CI_Model{
function tampil_data()
{
return $this->db->get('t_pegawai');
}
function tambah_data() {
$data = array(
'namaPegawai' => $this->input->post('namaPegawai'),
'alamatPegawai' => $this->input->post('alamatPegawai'),
'noTelfon' => $this->in... | 28.777778 | 67 | 0.604633 |
457ba3dfa4030af2f337cba7cc901418910bea74 | 2,250 | py | Python | src/game/renderer.py | Jaavv/poetic_pumas | 7274bcf5790eb4aed590042f2ffdbadcd4af71ca | [
"MIT"
] | 1 | 2021-08-10T13:06:56.000Z | 2021-08-10T13:06:56.000Z | src/game/renderer.py | Jaavv/poetic_pumas | 7274bcf5790eb4aed590042f2ffdbadcd4af71ca | [
"MIT"
] | 1 | 2021-07-13T20:30:24.000Z | 2021-07-13T20:30:24.000Z | src/game/renderer.py | Jaavv/poetic_pumas | 7274bcf5790eb4aed590042f2ffdbadcd4af71ca | [
"MIT"
] | 2 | 2021-07-19T10:11:08.000Z | 2021-08-18T05:15:13.000Z | from __future__ import annotations
import sys
from blessed import Terminal
# named lvl to avoid namespace conflict with var names
from . import level as lvl
from .camera import Camera
class Renderer:
"""Renders the Level and Level changes using blessed functionality."""
def __init__(self, terminal: Termin... | 34.090909 | 94 | 0.641333 |
f668a408c2958f41a885402a223505ce21500e3b | 9,864 | sql | SQL | db_invitados.sql | claud145/invitados | 101171d27dc041577bf7ce1c610570ecf61b25f1 | [
"MIT"
] | 1 | 2016-04-11T22:22:51.000Z | 2016-04-11T22:22:51.000Z | db_invitados.sql | claud145/invitados | 101171d27dc041577bf7ce1c610570ecf61b25f1 | [
"MIT"
] | null | null | null | db_invitados.sql | claud145/invitados | 101171d27dc041577bf7ce1c610570ecf61b25f1 | [
"MIT"
] | null | null | null | /*
SQLyog Community v12.09 (64 bit)
MySQL - 5.1.72-community : Database - db_invitados
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FO... | 53.032258 | 840 | 0.747364 |
a96e01825b064dc2385e8f2b902f1b82822db117 | 5,564 | rs | Rust | src/flags/generate.rs | mauricekayser/rs-bitfield | 5b29f573c7e6397129578322d521bbf05095f271 | [
"MIT"
] | 1 | 2021-02-09T01:48:58.000Z | 2021-02-09T01:48:58.000Z | src/flags/generate.rs | mauricekayser/rs-bitfield | 5b29f573c7e6397129578322d521bbf05095f271 | [
"MIT"
] | null | null | null | src/flags/generate.rs | mauricekayser/rs-bitfield | 5b29f573c7e6397129578322d521bbf05095f271 | [
"MIT"
] | 1 | 2021-02-05T12:11:57.000Z | 2021-02-05T12:11:57.000Z | //! Contains code to generate bit field flags.
impl super::Flags {
/// Generates a `const fn iter() -> &'static [Self]` implementation.
fn generate_iter(&self) -> proc_macro2::TokenStream {
let ident = &self.0.ident;
let variants = &self.0.variants;
let vis = &self.0.vis;
quote... | 29.13089 | 98 | 0.404026 |
54f5e410b3837885a37b637dee627e741ecba303 | 22,255 | cpp | C++ | HostSupport/src/ofxhImageEffectAPI.cpp | LWKS-Software/openfx | 8a0fba76a5d0b881387b3015113b98eaeaeb13f1 | [
"BSD-3-Clause"
] | null | null | null | HostSupport/src/ofxhImageEffectAPI.cpp | LWKS-Software/openfx | 8a0fba76a5d0b881387b3015113b98eaeaeb13f1 | [
"BSD-3-Clause"
] | null | null | null | HostSupport/src/ofxhImageEffectAPI.cpp | LWKS-Software/openfx | 8a0fba76a5d0b881387b3015113b98eaeaeb13f1 | [
"BSD-3-Clause"
] | null | null | null | /*
Software License :
Copyright (c) 2007-2009, The Open Effects Association Ltd. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright not... | 35.779743 | 153 | 0.577623 |
0b7821c5b56a286d229928dc8bcb4933d68882ea | 15,812 | sql | SQL | yii2_loc.sql | vetalm1/yii2.int-mag | 0752104bbf3f50dfb9fe4f7a7d2596c31214d006 | [
"BSD-3-Clause"
] | null | null | null | yii2_loc.sql | vetalm1/yii2.int-mag | 0752104bbf3f50dfb9fe4f7a7d2596c31214d006 | [
"BSD-3-Clause"
] | null | null | null | yii2_loc.sql | vetalm1/yii2.int-mag | 0752104bbf3f50dfb9fe4f7a7d2596c31214d006 | [
"BSD-3-Clause"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Хост: 127.0.0.1:3307
-- Время создания: Мар 28 2020 г., 06:44
-- Версия сервера: 5.6.43
-- Версия PHP: 7.3.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARAC... | 52.013158 | 300 | 0.6404 |
c7868e92eb99afde42e6ab41e029d7978ae88ede | 996 | css | CSS | test/aria/templates/css/cssMgr/MoreThan4000.tpl.css | simonarbuckle/ariatemplates | 1933e8d8f725df5ef704e4d720e2890f72a34f2e | [
"Apache-2.0"
] | 37 | 2015-01-13T15:30:57.000Z | 2021-11-18T08:38:20.000Z | test/aria/templates/css/cssMgr/MoreThan4000.tpl.css | simonarbuckle/ariatemplates | 1933e8d8f725df5ef704e4d720e2890f72a34f2e | [
"Apache-2.0"
] | 431 | 2015-01-06T13:43:30.000Z | 2022-02-26T01:45:56.000Z | test/aria/templates/css/cssMgr/MoreThan4000.tpl.css | simonarbuckle/ariatemplates | 1933e8d8f725df5ef704e4d720e2890f72a34f2e | [
"Apache-2.0"
] | 26 | 2015-08-06T09:11:55.000Z | 2021-07-02T09:16:53.000Z | /*
* Copyright 2013 Amadeus s.a.s.
* 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... | 29.294118 | 75 | 0.63755 |
e0de8848c23425136443ff4222b226713dbd57d9 | 2,075 | dart | Dart | lib/main.dart | c3n7/dhurabini_client | c258ca4bba3925577df0f98c6d28425ff702997c | [
"BSD-3-Clause"
] | null | null | null | lib/main.dart | c3n7/dhurabini_client | c258ca4bba3925577df0f98c6d28425ff702997c | [
"BSD-3-Clause"
] | null | null | null | lib/main.dart | c3n7/dhurabini_client | c258ca4bba3925577df0f98c6d28425ff702997c | [
"BSD-3-Clause"
] | null | null | null | import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Dhurabini',
theme: ThemeData(
primarySwatch: Colors.... | 23.579545 | 64 | 0.491084 |
b335ca8c57839d53657f4c9253370053221d5b6a | 2,895 | py | Python | SimplifyRoute/run.py | caffeinate/test-pylot | 3380208ea0e7ee5fed4299f22ab592a3d3232b3a | [
"MIT"
] | null | null | null | SimplifyRoute/run.py | caffeinate/test-pylot | 3380208ea0e7ee5fed4299f22ab592a3d3232b3a | [
"MIT"
] | 1 | 2021-10-31T17:46:54.000Z | 2021-10-31T17:46:54.000Z | SimplifyRoute/run.py | caffeinate/test-pylot | 3380208ea0e7ee5fed4299f22ab592a3d3232b3a | [
"MIT"
] | 1 | 2020-07-20T04:10:40.000Z | 2020-07-20T04:10:40.000Z | '''
Created on 26 Aug 2018
@author: si
'''
import glob
from SimplifyRoute.gpx_io import GpxIo
from SimplifyRoute.gis_utils import distance_on_unit_sphere
distance_threshold = 0.2 # km
def simplify_route(input_path, output_path):
"""
super naive way to simplify number of points.
prints some stats to STDO... | 30.473684 | 102 | 0.652159 |
1f723b08db8472058e37df009090e15018e6bf93 | 252 | cs | C# | 11.High-Quality-Code-Part-2/Workshop-Exam-Preparation/ConsoleApplication3 - 28-04-2017/ConsoleApplication3/Contracts/ISchoolSystemFactory.cs | VVoev/Telerik-Academy | ae26d7b0563c27102faef551ce5b9f08ecb62fe1 | [
"MIT"
] | null | null | null | 11.High-Quality-Code-Part-2/Workshop-Exam-Preparation/ConsoleApplication3 - 28-04-2017/ConsoleApplication3/Contracts/ISchoolSystemFactory.cs | VVoev/Telerik-Academy | ae26d7b0563c27102faef551ce5b9f08ecb62fe1 | [
"MIT"
] | null | null | null | 11.High-Quality-Code-Part-2/Workshop-Exam-Preparation/ConsoleApplication3 - 28-04-2017/ConsoleApplication3/Contracts/ISchoolSystemFactory.cs | VVoev/Telerik-Academy | ae26d7b0563c27102faef551ce5b9f08ecb62fe1 | [
"MIT"
] | null | null | null | namespace StudentApplication
{
public interface ISchoolSystemFactory
{
IStudent CreateStudent(string firstName, string lastName, Grade grade);
ITeacher CreateTeacher(string firstName, string lastName, Subject subject);
}
} | 28 | 83 | 0.738095 |
a3d3b7581d72939b5dffbc08e02efd2ea0cceb9f | 1,817 | html | HTML | WEB2/class20/index.html | uFleck/CursoQI-ExerciciosJava | 6df4eef87ac927e18fcbbbdd29f1507c3d0e8d5f | [
"MIT"
] | null | null | null | WEB2/class20/index.html | uFleck/CursoQI-ExerciciosJava | 6df4eef87ac927e18fcbbbdd29f1507c3d0e8d5f | [
"MIT"
] | null | null | null | WEB2/class20/index.html | uFleck/CursoQI-ExerciciosJava | 6df4eef87ac927e18fcbbbdd29f1507c3d0e8d5f | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<title>
Layout with buttons
</title>
<meta charset="UTF-8">
<link rel="shortcut icon" href="img/icon.png">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<main id="general">
<header id="top">
<h1>BANNER HERE</h1>
</header>
<nav id="... | 25.236111 | 100 | 0.619703 |
e29475620664d006114cbb98c11b73f6434e122b | 1,788 | py | Python | tests/test_GAFF.py | ChengyuanSha/Smart-Alignment | 4c75e3952917bcb5d0608a9abd6ccfccc05c57d8 | [
"MIT"
] | null | null | null | tests/test_GAFF.py | ChengyuanSha/Smart-Alignment | 4c75e3952917bcb5d0608a9abd6ccfccc05c57d8 | [
"MIT"
] | null | null | null | tests/test_GAFF.py | ChengyuanSha/Smart-Alignment | 4c75e3952917bcb5d0608a9abd6ccfccc05c57d8 | [
"MIT"
] | 2 | 2021-03-29T21:41:45.000Z | 2021-04-23T14:23:39.000Z | from algorithms.GAFF import main_GAFF, read_fasta, BLOSUM62
import unittest
import os
script_dir = os.path.dirname(__file__) # absolute dir the script is in
class TestAlgo(unittest.TestCase):
def test_DNA_1(self):
sample_answer1 = 8
sample_answer2 = "PRT---EINS"
sample_answer3 = "PRTWPS... | 39.733333 | 107 | 0.683445 |
5c0cdf68cfa9216477903b5bb17d1abd2aac5522 | 1,696 | lua | Lua | plugins/admin/plugin/commands/sh_vanish.lua | DrodA/flux-ce | 88446007b00578950ca1e00803ac98e5ecc39048 | [
"MIT"
] | null | null | null | plugins/admin/plugin/commands/sh_vanish.lua | DrodA/flux-ce | 88446007b00578950ca1e00803ac98e5ecc39048 | [
"MIT"
] | null | null | null | plugins/admin/plugin/commands/sh_vanish.lua | DrodA/flux-ce | 88446007b00578950ca1e00803ac98e5ecc39048 | [
"MIT"
] | null | null | null | local COMMAND = Command.new('vanish')
COMMAND.name = 'Vanish'
COMMAND.description = 'command.vanish.description'
COMMAND.syntax = 'command.vanish.syntax'
COMMAND.permission = 'moderator'
COMMAND.category = 'permission.categories.player_management'
COMMAND.arguments = 1
COMMAND.immunity = true
COMMAND.aliases = { 'v' }
... | 30.836364 | 119 | 0.701651 |
da7bf91a453c3fe7b925cfef21bb0f8ba0c9f647 | 605 | php | PHP | src/Events/UnconfirmedPaymentEvent.php | moki74/LaravelBtc | 5b79838a9d7bc12bd5cc232a7b3c46ec4eb1dde0 | [
"MIT"
] | 30 | 2018-08-26T08:06:40.000Z | 2021-09-19T07:15:45.000Z | src/Events/UnconfirmedPaymentEvent.php | placecodex/laravel-btc | ded19ff908503dc05b6d75cf5f423ab4b4e3a871 | [
"MIT"
] | 3 | 2018-08-26T12:30:30.000Z | 2019-10-09T12:59:38.000Z | src/Events/UnconfirmedPaymentEvent.php | placecodex/laravel-btc | ded19ff908503dc05b6d75cf5f423ab4b4e3a871 | [
"MIT"
] | 20 | 2018-05-09T08:34:49.000Z | 2021-09-27T07:35:42.000Z | <?php
namespace moki74\LaravelBtc\Events;
use moki74\LaravelBtc\Models\Payment;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Log;
class UnconfirmedPaymentEvent
{
use SerializesModels;
public $unconfirmedPayment;
/**
* Create a new event instance.
*
... | 22.407407 | 89 | 0.666116 |
7612060529c46a3850570c00249cb9500a53fb03 | 191 | ps1 | PowerShell | Install-Yarn.ps1 | juliekoubova/dockerfiles | ce6745f76a58a5a88eac773e0435497cf2b17ed0 | [
"MIT"
] | null | null | null | Install-Yarn.ps1 | juliekoubova/dockerfiles | ce6745f76a58a5a88eac773e0435497cf2b17ed0 | [
"MIT"
] | null | null | null | Install-Yarn.ps1 | juliekoubova/dockerfiles | ce6745f76a58a5a88eac773e0435497cf2b17ed0 | [
"MIT"
] | null | null | null | Using Module .\Environment.psm1
$SourceUri = 'https://classic.yarnpkg.com/latest.msi'
$SourceMsi = 'yarn.msi'
Install-Uri $SourceUri $SourceMsi {
Install-Msi $SourceMsi @('ALLUSERS=1')
}
| 21.222222 | 53 | 0.722513 |
39514da392f8ab5cdeec8d8ad0c24d8a2808ae5c | 210 | py | Python | get_current.py | skullsai/gredailywords | 5e04af5fd1f9078bf5cd5ea658e1e2e511e5cae8 | [
"MIT"
] | null | null | null | get_current.py | skullsai/gredailywords | 5e04af5fd1f9078bf5cd5ea658e1e2e511e5cae8 | [
"MIT"
] | null | null | null | get_current.py | skullsai/gredailywords | 5e04af5fd1f9078bf5cd5ea658e1e2e511e5cae8 | [
"MIT"
] | null | null | null | from gre420 import get_var,get_sheet
print('CURRENT INDICES :')
print("INDEX :",get_var('index.p'))
print("WORD :",get_var('cur_word.p'))
print("SHEET :",get_sheet())
print("WORD_LIST",get_var('word_list.p'))
| 26.25 | 41 | 0.709524 |
5ef8b99935c3f5e6083cbb3d0e699435b8056c6f | 264 | rb | Ruby | app/controllers/casts_controller.rb | KoellM/annict-web | d3a4b4400e23a3c79eda69740f66f9e2b4932a7a | [
"Apache-2.0"
] | 576 | 2015-01-14T23:52:40.000Z | 2021-04-17T04:27:49.000Z | app/controllers/casts_controller.rb | KoellM/annict-web | d3a4b4400e23a3c79eda69740f66f9e2b4932a7a | [
"Apache-2.0"
] | 2,518 | 2015-01-04T13:33:07.000Z | 2021-04-13T19:13:03.000Z | app/controllers/casts_controller.rb | KoellM/annict-web | d3a4b4400e23a3c79eda69740f66f9e2b4932a7a | [
"Apache-2.0"
] | 117 | 2015-01-20T15:38:59.000Z | 2021-02-07T00:02:29.000Z | # frozen_string_literal: true
class CastsController < ApplicationV6Controller
include WorkHeaderLoadable
def index
set_page_category PageCategory::CAST_LIST
set_work_header_resources
@casts = @work.casts.only_kept.order(:sort_number)
end
end
| 18.857143 | 54 | 0.791667 |
854833862f268be77b5c7b24f10bbd59480daef4 | 5,861 | cs | C# | zwg-china.model/SettingBase.cs | returnanapple/zwg-china-iworld | e7653c2296e7eebe1eb692acb3edf74500898e4c | [
"Apache-2.0"
] | 1 | 2016-12-06T16:29:41.000Z | 2016-12-06T16:29:41.000Z | zwg-china.model/SettingBase.cs | returnanapple/zwg-china-iworld | e7653c2296e7eebe1eb692acb3edf74500898e4c | [
"Apache-2.0"
] | null | null | null | zwg-china.model/SettingBase.cs | returnanapple/zwg-china-iworld | e7653c2296e7eebe1eb692acb3edf74500898e4c | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace zwg_china.model
{
/// <summary>
/// 系统设置的基类
/// </summary>
public class SettingBase
{
#region 保护字段
/// <summary>
/// 设置明细
/// <... | 34.075581 | 99 | 0.485753 |
fdc1f256488047aa73b125c10503077ea38ebf04 | 570 | css | CSS | css/person.css | eduarmreyes/floraonline | aa97e941d8c5fc0edcdc11fdc48a0f920bce2d90 | [
"MIT"
] | null | null | null | css/person.css | eduarmreyes/floraonline | aa97e941d8c5fc0edcdc11fdc48a0f920bce2d90 | [
"MIT"
] | null | null | null | css/person.css | eduarmreyes/floraonline | aa97e941d8c5fc0edcdc11fdc48a0f920bce2d90 | [
"MIT"
] | null | null | null | body{
background-image:url("../imagenes/img9.jpg");
background-size:cover;
background-fixed:attachment;
}
form .uno{
float:right;
margin-left:20px;
margin-top:8px;
color:white;
}
.container-form{
width:80%;
margin:auto;
background:white;
border-radius:20px;
padding:20px;
}
footer div ul li a{
color:whit... | 12.954545 | 46 | 0.7 |
bd6275d058be284b21ebc325472ad8fe8261e818 | 933 | rb | Ruby | attic/consulting/xform.rb | bigbearlabs/bigbearlabs.github.io | bcaaee78bb8059baf933c015d7ee8097331e706e | [
"MIT"
] | null | null | null | attic/consulting/xform.rb | bigbearlabs/bigbearlabs.github.io | bcaaee78bb8059baf933c015d7ee8097331e706e | [
"MIT"
] | null | null | null | attic/consulting/xform.rb | bigbearlabs/bigbearlabs.github.io | bcaaee78bb8059baf933c015d7ee8097331e706e | [
"MIT"
] | null | null | null | module Buffer
def add(thing)
@things ||= []
@things << thing
end
end
class Block
include Buffer
attr_accessor :closed
def initialize(block_class)
@block_class = block_class
end
def generate
%Q(
<div class="#{@block_class}" markdown="1">
#{@things.join}
</div>
)
end
end
... | 14.136364 | 57 | 0.596999 |
19b2b9905c5e14f3babcf64897421a0b403cbaf3 | 1,460 | asm | Assembly | src/chips/YM2608.asm | sharksym/vgmplay-sharksym | d7763b87a379da4e6dadcc55026969d310957952 | [
"BSD-2-Clause"
] | 6 | 2020-04-21T17:26:27.000Z | 2021-09-25T18:41:01.000Z | src/chips/YM2608.asm | sharksym/vgmplay-sharksym | d7763b87a379da4e6dadcc55026969d310957952 | [
"BSD-2-Clause"
] | null | null | null | src/chips/YM2608.asm | sharksym/vgmplay-sharksym | d7763b87a379da4e6dadcc55026969d310957952 | [
"BSD-2-Clause"
] | null | null | null | ;
; VGM YM2608 chip
;
YM2608: MACRO
this:
super: Chip YM2608_name, Header.ym2608Clock, YM2608_Connect
; hl' = time remaining
; ix = player
; iy = reader
ProcessPort0Command: PROC
call Reader_ReadWord_IY
jp System_Return
writeRegister: equ $ - 2
ENDP
; hl' = time remaining
; ix = player
; iy = reader
... | 17.590361 | 60 | 0.749315 |
baede6db711a11560736c03dcd34d3d5418a43c0 | 19,526 | pck | SQL | dataplots/THERM/120/aS120_gr3.700_mu0.111_T0.800.pck | PedroMDuarte/hubbard-lda3 | 485b290c7bff97143f6f865b88131620f63282d7 | [
"Unlicense",
"MIT"
] | 2 | 2020-12-20T03:05:02.000Z | 2021-01-18T13:50:33.000Z | dataplots/THERM/120/aS120_gr3.700_mu0.111_T0.800.pck | liangjj/hubbard-lda3 | 47c3257140da265cd9e74be1a8a04b45844cba48 | [
"Unlicense",
"MIT"
] | null | null | null | dataplots/THERM/120/aS120_gr3.700_mu0.111_T0.800.pck | liangjj/hubbard-lda3 | 47c3257140da265cd9e74be1a8a04b45844cba48 | [
"Unlicense",
"MIT"
] | 6 | 2015-04-24T08:18:27.000Z | 2021-02-06T12:26:31.000Z | (dp0
S'gr'
p1
F3.7
sS'k111'
p2
NsS't111'
p3
cnumpy.core.multiarray
_reconstruct
p4
(cnumpy
ndarray
p5
(I0
tp6
S'b'
p7
tp8
Rp9
(I1
(I80
tp10
cnumpy
dtype
p11
(S'f8'
p12
I0
I1
tp13
Rp14
(I3
S'<'
p15
NNNI-1
I-1
I0
tp16
bI00
S'`{,\x1f\xff\xb3\xb5?+\xd3\xbds\xbe\r\xb5?\xbb\xb4\xbb\x13\x93r\xb4?\x00\xcd\x8d\xcb}\xd7\xb3?\x05... | 72.858209 | 2,001 | 0.707928 |
1910b723924ef1dc31eac647d9331d32b87a9374 | 436 | sh | Shell | Configurations/configure_rabbitmq.sh | tosh99/ScriptX | 0d449fa3d50c218c047cf7e2cf0b4afc9d42cf6f | [
"MIT"
] | null | null | null | Configurations/configure_rabbitmq.sh | tosh99/ScriptX | 0d449fa3d50c218c047cf7e2cf0b4afc9d42cf6f | [
"MIT"
] | null | null | null | Configurations/configure_rabbitmq.sh | tosh99/ScriptX | 0d449fa3d50c218c047cf7e2cf0b4afc9d42cf6f | [
"MIT"
] | 1 | 2019-04-29T09:21:26.000Z | 2019-04-29T09:21:26.000Z | #!/usr/bin/env bash
echo "Activating RabbitMQ -------------------------------------"
sudo rabbitmq-plugins enable rabbitmq_management
sudo rabbitmq-plugins enable rabbitmq_stomp
sudo rabbitmq-plugins enable rabbitmq_web_stomp
echo "Creating RabbitMQ Users ---------------------------------"
sudo rabbitmqctl add_user u... | 39.636364 | 64 | 0.681193 |
9156fcc82f9d27ca5e933a9c9409e436f958ac99 | 797 | sql | SQL | lab/lab3/query(library_management_system).sql | czhongyu/similarity-join | 806a7f11ba526536d2244132bcddb1a079ebbdb7 | [
"Apache-2.0"
] | 2 | 2019-05-23T01:22:08.000Z | 2020-04-14T06:47:13.000Z | lab/lab3/query(library_management_system).sql | czhongyu/similarity-join | 806a7f11ba526536d2244132bcddb1a079ebbdb7 | [
"Apache-2.0"
] | null | null | null | lab/lab3/query(library_management_system).sql | czhongyu/similarity-join | 806a7f11ba526536d2244132bcddb1a079ebbdb7 | [
"Apache-2.0"
] | null | null | null | #table loan
SELECT * FROM loan;
#table employee
SELECT * FROM employee;
#table books
SELECT * FROM books;
#1
SELECT *
FROM employee
WHERE employee.name = 'Jones';
#2
SELECT employee.name
FROM employee
WHERE employee.empno=1 OR employee.empno=2;
#3
SELECT employee.name
FROM employee
WHERE employee.empno!=1;
#4
SEL... | 16.265306 | 62 | 0.766625 |
5ad9e8b1cd7b44976e2f4af7a533e2a3cd1a0f2a | 1,602 | cs | C# | Advanced-CSharp-Exam-Problems-Practice/04. QueryMess.cs | willystyle7/CSharp-Advanced | b76de407c0a8e9f4d2e713b56afb92ecd1e578fd | [
"MIT"
] | null | null | null | Advanced-CSharp-Exam-Problems-Practice/04. QueryMess.cs | willystyle7/CSharp-Advanced | b76de407c0a8e9f4d2e713b56afb92ecd1e578fd | [
"MIT"
] | null | null | null | Advanced-CSharp-Exam-Problems-Practice/04. QueryMess.cs | willystyle7/CSharp-Advanced | b76de407c0a8e9f4d2e713b56afb92ecd1e578fd | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace QueryMess
{
class QueryMess
{
static void Main()
{
string input = Console.ReadLine();
while (input != "END")
{
... | 34.826087 | 102 | 0.399501 |
7f15bf839d43e69362f6a99921d5144e263f261b | 9,891 | cs | C# | ManiacEditor/Entity Renders/Normal Renders/Bosses/LaundroMobile.cs | Tannermanner2008/ManiacEditor-GenerationsEdition | 8bca40edaa0b18ab6e5e33c21bc9ad15a98fecd3 | [
"MIT"
] | 10 | 2018-12-16T17:34:15.000Z | 2022-03-09T10:40:47.000Z | ManiacEditor/Entity Renders/Normal Renders/Bosses/LaundroMobile.cs | Tannermanner2008/ManiacEditor-GenerationsEdition | 8bca40edaa0b18ab6e5e33c21bc9ad15a98fecd3 | [
"MIT"
] | 32 | 2018-09-24T11:53:27.000Z | 2021-05-13T05:42:30.000Z | ManiacEditor/Entity Renders/Normal Renders/Bosses/LaundroMobile.cs | Tannermanner2008/ManiacEditor-GenerationsEdition | 8bca40edaa0b18ab6e5e33c21bc9ad15a98fecd3 | [
"MIT"
] | 4 | 2018-08-05T22:26:47.000Z | 2018-08-30T22:55:04.000Z | using RSDKv5;
namespace ManiacEditor.Entity_Renders
{
public class LaundroMobile : EntityRenderer
{
public override void Draw(Structures.EntityRenderProp properties)
{
Methods.Draw.GraphicsHandler d = properties.Graphics;
SceneEntity entity = properties.Object;
... | 65.94 | 515 | 0.595289 |
cdb8db57db0610cf186b725a4963e144cacfd284 | 1,068 | cs | C# | Assets/Scripts/UI/ToggleActive.cs | concord-consortium/CEASAR | 25e8d5b49e5b71932e7b24dc12ef57c2997776c9 | [
"MIT"
] | 5 | 2019-08-07T16:32:08.000Z | 2022-01-27T00:17:41.000Z | Assets/Scripts/UI/ToggleActive.cs | concord-consortium/CEASAR | 25e8d5b49e5b71932e7b24dc12ef57c2997776c9 | [
"MIT"
] | 28 | 2019-05-15T07:57:45.000Z | 2022-02-03T01:35:22.000Z | Assets/Scripts/UI/ToggleActive.cs | concord-consortium/CEASAR | 25e8d5b49e5b71932e7b24dc12ef57c2997776c9 | [
"MIT"
] | 2 | 2020-03-10T07:41:54.000Z | 2020-06-15T13:52:53.000Z | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ToggleActive : MonoBehaviour
{
public bool isActiveByDefault = false;
public KeyCode toggleKey;
public KeyCode modifierKey = KeyCode.SysReq;
private Renderer renderer;
// Start is called b... | 28.105263 | 116 | 0.592697 |
c232db694b2e190ef2e6eb4922cd6527a85123da | 1,843 | ps1 | PowerShell | data/cmdlet/Get-OneDriveRoot.ps1 | shiliu/AutoProfile | 02167585af3f0641aab3767e18fd55edd83eb3c6 | [
"MIT"
] | null | null | null | data/cmdlet/Get-OneDriveRoot.ps1 | shiliu/AutoProfile | 02167585af3f0641aab3767e18fd55edd83eb3c6 | [
"MIT"
] | null | null | null | data/cmdlet/Get-OneDriveRoot.ps1 | shiliu/AutoProfile | 02167585af3f0641aab3767e18fd55edd83eb3c6 | [
"MIT"
] | null | null | null | # References:
# 1. Below are the list of predefined vars that can be used:
# - $PSScriptRoot [System defined] The folder path for current scipt file, NOT the caller script to call this function
Param
(
[Parameter(Mandatory=$false, Position=0)]
[string] $BusinessName = ""
)
$isForOneDriveBusiness = (-not [strin... | 36.86 | 122 | 0.752035 |
14649d8acd4d369e67f0aa15efd9c1ba46621f4c | 711 | ts | TypeScript | Angular2Testing/Areas/ItemDetail/tsScripts/Shared/Util/Common.ts | rdonalson/General-Testing | 834ca4cefdbba12afe1d7dd4b58a31fc9eb5e3fd | [
"MIT"
] | null | null | null | Angular2Testing/Areas/ItemDetail/tsScripts/Shared/Util/Common.ts | rdonalson/General-Testing | 834ca4cefdbba12afe1d7dd4b58a31fc9eb5e3fd | [
"MIT"
] | null | null | null | Angular2Testing/Areas/ItemDetail/tsScripts/Shared/Util/Common.ts | rdonalson/General-Testing | 834ca4cefdbba12afe1d7dd4b58a31fc9eb5e3fd | [
"MIT"
] | null | null | null | /// ===========================================================================================
/// Tester Module
/// ===========================================================================================
// Imports
import { Injectable } from '@angular/core'
@Injectable()
export class Common {
/** ----------... | 33.857143 | 96 | 0.338959 |
4414f2084661a78ce8d2fee3b3dea8a20be7ec63 | 18,993 | py | Python | propjockey/propjockey.py | dwinston/ilprn | 3912f2e0a41e296bde55c8533858de6b061458bb | [
"BSD-3-Clause-LBNL"
] | null | null | null | propjockey/propjockey.py | dwinston/ilprn | 3912f2e0a41e296bde55c8533858de6b061458bb | [
"BSD-3-Clause-LBNL"
] | null | null | null | propjockey/propjockey.py | dwinston/ilprn | 3912f2e0a41e296bde55c8533858de6b061458bb | [
"BSD-3-Clause-LBNL"
] | null | null | null | from __future__ import absolute_import
from operator import itemgetter
from functools import wraps
from flask import Flask, session, redirect, url_for, request
from flask import g, jsonify, render_template, flash, abort
from pymongo import ASCENDING, DESCENDING
from toolz import memoize, merge
from .util import Bunc... | 35.500935 | 78 | 0.636445 |
05e203cace34874a9ca53f96dab5481c9694233c | 7,490 | py | Python | mobilenet_segment/inference.py | riven314/capstone_dash_interface | 5eab25f4c15ad09aa889554820231175b0a3ed28 | [
"CC0-1.0"
] | 1 | 2019-12-10T14:59:12.000Z | 2019-12-10T14:59:12.000Z | mobilenet_segment/inference.py | riven314/capstone_dash_interface | 5eab25f4c15ad09aa889554820231175b0a3ed28 | [
"CC0-1.0"
] | null | null | null | mobilenet_segment/inference.py | riven314/capstone_dash_interface | 5eab25f4c15ad09aa889554820231175b0a3ed28 | [
"CC0-1.0"
] | 1 | 2020-01-01T12:24:51.000Z | 2020-01-01T12:24:51.000Z | # System libs
import os
import argparse
from distutils.version import LooseVersion
# Numerical libs
import numpy as np
import torch
import torch.nn as nn
from scipy.io import loadmat
import csv
# Our libs
#from dataset import TestDataset
from models import ModelBuilder, SegmentationModule
from utils import... | 35.330189 | 137 | 0.642857 |
9fc87df88cf026da35504450f33c37e1c35dcfc8 | 2,571 | dart | Dart | packages/flutter/test/widgets/color_filter_test.dart | jacek-marchwicki/flutter | 1ae5d676e508142142a29eed38542f70c5a21a0d | [
"BSD-3-Clause"
] | 3 | 2020-01-20T07:19:12.000Z | 2020-01-29T07:08:59.000Z | packages/flutter/test/widgets/color_filter_test.dart | jacek-marchwicki/flutter | 1ae5d676e508142142a29eed38542f70c5a21a0d | [
"BSD-3-Clause"
] | 1 | 2019-12-12T10:59:49.000Z | 2019-12-12T10:59:49.000Z | packages/flutter/test/widgets/color_filter_test.dart | jacek-marchwicki/flutter | 1ae5d676e508142142a29eed38542f70c5a21a0d | [
"BSD-3-Clause"
] | 1 | 2020-04-17T18:37:08.000Z | 2020-04-17T18:37:08.000Z | // Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
void main() {
testWidg... | 30.607143 | 91 | 0.590821 |
6b5db887dc72a76e7fbaf17350950242f491375c | 1,425 | js | JavaScript | src/pages/mocks/amet-list-data.js | dgutride/patternfly-react-demo-app | 3a978ade1576598df7424703f7775e93d7e61f8c | [
"Apache-2.0"
] | 28 | 2017-07-11T22:00:33.000Z | 2018-12-18T07:40:19.000Z | src/pages/mocks/amet-list-data.js | dgutride/patternfly-react-demo-app | 3a978ade1576598df7424703f7775e93d7e61f8c | [
"Apache-2.0"
] | 41 | 2017-06-22T19:23:44.000Z | 2019-09-02T08:21:21.000Z | src/pages/mocks/amet-list-data.js | dgutride/patternfly-react-demo-app | 3a978ade1576598df7424703f7775e93d7e61f8c | [
"Apache-2.0"
] | 36 | 2017-07-05T17:56:19.000Z | 2018-12-19T07:51:54.000Z | export const expandableListItems = [
{
icon: 'pie-chart',
title: 'Amet 1',
description: 'This is Item 1 description',
properties: { hosts: 3, clusters: 1, nodes: 7, images: 4 },
expandedContentText:
'Item 1: Lorem Ipsum is simply dummy text of the printing and typesetting industry'
},
{
... | 33.139535 | 89 | 0.644912 |
688a7268df157ba7a91e879ff993249ebe724a96 | 816 | php | PHP | resources/views/layouts/front/home-slider.blade.php | DivingPigy/shop22 | 72a19b0075e41d1df1893d07f4b0df58639c9319 | [
"MIT"
] | null | null | null | resources/views/layouts/front/home-slider.blade.php | DivingPigy/shop22 | 72a19b0075e41d1df1893d07f4b0df58639c9319 | [
"MIT"
] | null | null | null | resources/views/layouts/front/home-slider.blade.php | DivingPigy/shop22 | 72a19b0075e41d1df1893d07f4b0df58639c9319 | [
"MIT"
] | null | null | null | <section id="hero" class="hero-section top-area">
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="hero-content">
<h1 class="hero-title"> ST&Games <br> CHEAP</h1>
<p class="hero-text">Get your games on ST&Games f... | 48 | 124 | 0.45098 |
e517be66a97a50463e9b9c63e88de31a6454199d | 56 | sql | SQL | Practice/SQL/Basic Select/Weather_Observation_Station_3.sql | alexanderbauer89/HackerRank | 0fb6face083b0183692c9251ffe4bb635591393f | [
"MIT"
] | 1 | 2021-11-17T02:47:11.000Z | 2021-11-17T02:47:11.000Z | Practice/SQL/Basic Select/Weather_Observation_Station_3.sql | alexanderbauer89/HackerRank | 0fb6face083b0183692c9251ffe4bb635591393f | [
"MIT"
] | null | null | null | Practice/SQL/Basic Select/Weather_Observation_Station_3.sql | alexanderbauer89/HackerRank | 0fb6face083b0183692c9251ffe4bb635591393f | [
"MIT"
] | null | null | null | SELECT DISTINCT CITY FROM STATION WHERE mod(ID, 2) = 0;
| 28 | 55 | 0.732143 |
e76e3d9151cd443c07b0f5eb704a8683a11692b8 | 121 | php | PHP | src/AdminAPI/Plugin/Logging/UDPLog.php | aalihusni/kong-gateway-php-client | 22586f819527548ff6b6ac1b79f5ca2083245aa2 | [
"MIT"
] | 1 | 2022-03-20T08:56:07.000Z | 2022-03-20T08:56:07.000Z | src/AdminAPI/Plugin/Logging/UDPLog.php | aalihusni/kong-gateway-php-client | 22586f819527548ff6b6ac1b79f5ca2083245aa2 | [
"MIT"
] | null | null | null | src/AdminAPI/Plugin/Logging/UDPLog.php | aalihusni/kong-gateway-php-client | 22586f819527548ff6b6ac1b79f5ca2083245aa2 | [
"MIT"
] | null | null | null | <?php
namespace KongGateway\AdminAPI\Plugin\Logging;
use KongGateway\AdminAPI\Plugin;
class UDPLog extends Plugin
{
}
| 12.1 | 46 | 0.793388 |
463bc1ce84ad5b709f548ad8cec85ff8de2de07e | 3,087 | php | PHP | application/views/admin/user_disp.php | SunilGudivada/8gb | f92f0c20cdc6b7d14ff0d3e28a1ecaf5e9b8e515 | [
"MIT"
] | null | null | null | application/views/admin/user_disp.php | SunilGudivada/8gb | f92f0c20cdc6b7d14ff0d3e28a1ecaf5e9b8e515 | [
"MIT"
] | null | null | null | application/views/admin/user_disp.php | SunilGudivada/8gb | f92f0c20cdc6b7d14ff0d3e28a1ecaf5e9b8e515 | [
"MIT"
] | null | null | null | <section id="content">
<div class="container">
<div class="row">
<div class="card">
<div class="col s12">
<div class="flow-text center"> User Details</div>
<div class="divider"></div>
<div class="card-content">
<table id="datatable-buttons" class="table striped table-bordered ultra-small">
... | 42.875 | 202 | 0.45481 |
af0d6902536241c4589f3b2c434130ae232686dc | 12,220 | rs | Rust | src/bin/2021_day18.rs | ibookstein/aoc | 6beb8369f80d47eef95022ced9a9b9a9bccc7d99 | [
"MIT"
] | null | null | null | src/bin/2021_day18.rs | ibookstein/aoc | 6beb8369f80d47eef95022ced9a9b9a9bccc7d99 | [
"MIT"
] | null | null | null | src/bin/2021_day18.rs | ibookstein/aoc | 6beb8369f80d47eef95022ced9a9b9a9bccc7d99 | [
"MIT"
] | null | null | null | use aoc::aoc_input::get_input;
use itertools::iproduct;
use num_traits::AsPrimitive;
use std::{iter::Sum, ops::Add, str::FromStr};
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum Token {
LBracket,
RBracket,
Comma,
Num(u8),
Unexpected,
Overflow,
}
struct Lexer<'a> {
stream: std::iter::Peeka... | 26.27957 | 91 | 0.464648 |
796e871a50d3a31fa19a5bd2ecc8166b2e5d0d95 | 111 | php | PHP | hphp/test/slow/array_copy/261.php | OrochiProject/hhvm-verifier | 4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5 | [
"PHP-3.01",
"Zend-2.0"
] | 7 | 2015-08-28T06:20:50.000Z | 2021-11-08T09:48:24.000Z | hphp/test/slow/array_copy/261.php | OrochiProject/hhvm-verifier | 4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2017-04-10T11:50:15.000Z | 2017-04-10T11:50:15.000Z | hphp/test/slow/array_copy/261.php | OrochiProject/hhvm-verifier | 4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5 | [
"PHP-3.01",
"Zend-2.0"
] | 3 | 2018-01-23T20:44:59.000Z | 2021-05-06T12:45:31.000Z | <?php
function f($b) {
$a = $b ? 0 : array('x' => $b);
$a2 = &$a;
$a[] = $a2;
var_dump($a);
}
f(false);
| 11.1 | 33 | 0.396396 |
bd27fc97ed80498e06129ed148ee6675733a21d1 | 852 | lua | Lua | 0.16.51/JoinAndPlayCoop-Scenario-CaveMiner-0.16.51/session_data/CGEEGZaqaInGiebI.lua | joinandplaycoop/Factorio-Scenarios | 252c52dad35a73562880266bb7a09b9d266e8d4d | [
"Apache-2.0"
] | 3 | 2019-05-21T11:56:52.000Z | 2020-08-13T03:43:02.000Z | 0.16.51/JoinAndPlayCoop-Scenario-CaveMiner-0.16.51/session_data/CGEEGZaqaInGiebI.lua | IIPoliII/Factorio-Scenarios | 23d5630f8f1ec0703a289262101bfb99056025b1 | [
"Apache-2.0"
] | 8 | 2019-08-05T00:57:04.000Z | 2020-07-09T10:29:46.000Z | 0.16.51/JoinAndPlayCoop-Scenario-CaveMiner-0.16.51/session_data/CGEEGZaqaInGiebI.lua | IIPoliII/Factorio-Scenarios | 23d5630f8f1ec0703a289262101bfb99056025b1 | [
"Apache-2.0"
] | 6 | 2019-08-11T20:56:30.000Z | 2021-10-07T16:04:37.000Z | local playsession = {
{"7Haydz7", {92234}},
{"4xBen", {663045}},
{"dog80", {892374}},
{"Masterpascoe", {2759}},
{"TXL_PLAYZ", {6519}},
{"Hitman451", {248603}},
{"ottoX4", {413785}},
{"Basil_Biscuit", {158109}},
{"jbox1", {649630}},
{"Factorian12321", {715442}},
{"Liam101", {341111}},
{"ersu", {555783}},
{"... | 24.342857 | 34 | 0.577465 |
a164f46d01f5b0d46e9016c75b4e860335f8502c | 6,272 | ts | TypeScript | lib/web/progressV2.ts | atomist/sdm-automation | 4b91306e8cbd1b85ef414fc59c8f94f6f7575667 | [
"Apache-2.0"
] | 2 | 2021-07-29T14:18:34.000Z | 2021-11-08T10:26:51.000Z | lib/web/progressV2.ts | atomist/sdm-automation | 4b91306e8cbd1b85ef414fc59c8f94f6f7575667 | [
"Apache-2.0"
] | 18 | 2018-07-11T14:34:13.000Z | 2021-12-23T04:01:06.000Z | lib/web/progressV2.ts | atomist/sdm-automation | 4b91306e8cbd1b85ef414fc59c8f94f6f7575667 | [
"Apache-2.0"
] | 1 | 2021-07-29T14:18:36.000Z | 2021-07-29T14:18:36.000Z | /*
* Copyright © 2020 Atomist, 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... | 36.678363 | 119 | 0.55676 |
05a09c59f42d79343103ac5e44a06cea594a1201 | 675 | py | Python | top2vec/configuration_top2vec.py | shpotes/top2vec | edf36fc5a81e03235cbffa2aa17c91937410b29f | [
"Apache-2.0"
] | null | null | null | top2vec/configuration_top2vec.py | shpotes/top2vec | edf36fc5a81e03235cbffa2aa17c91937410b29f | [
"Apache-2.0"
] | null | null | null | top2vec/configuration_top2vec.py | shpotes/top2vec | edf36fc5a81e03235cbffa2aa17c91937410b29f | [
"Apache-2.0"
] | null | null | null | from transformers.configuration_utils import PretrainedConfig
from transformers.utils import logging
logger = logging.get_logger(__name__)
class Top2VecConfig(PretrainedConfig):
r"""
:class:`Top2VecConfig` is the configuration class to store the configuration of a
:class:`~Top2VecModel`. It is used to in... | 42.1875 | 89 | 0.777778 |
eda93a0d14ea0ca0829b2a1bf1ab210d74ec4945 | 4,086 | zsh | Shell | zsh/kube.zsh | katcipis/my.zsh | bae13296b5b49b8e7463dd1282b4dccfb504be80 | [
"MIT"
] | null | null | null | zsh/kube.zsh | katcipis/my.zsh | bae13296b5b49b8e7463dd1282b4dccfb504be80 | [
"MIT"
] | null | null | null | zsh/kube.zsh | katcipis/my.zsh | bae13296b5b49b8e7463dd1282b4dccfb504be80 | [
"MIT"
] | 1 | 2016-04-21T23:10:53.000Z | 2016-04-21T23:10:53.000Z | function kundo() {
local deploy="${1}"
local rev="${2}"
if [[ -z "${deploy}" ]] then
echo "deployment name not informed"
printf "usage: %s <deployment name> <rev>\n" ${0}
return
fi
if [[ -z "${rev}" ]] then
echo "revision not informed"
printf "usage: %s <dep... | 25.860759 | 122 | 0.56975 |
07ec2200db21a9751e8698d9f12ba04968293ee6 | 82 | css | CSS | src/components/Maintanance/Maintanance.module.css | lgluigi/testerv | 8dcc9db03444ac5c5b4de88bd641e9398bb4f06e | [
"MIT"
] | null | null | null | src/components/Maintanance/Maintanance.module.css | lgluigi/testerv | 8dcc9db03444ac5c5b4de88bd641e9398bb4f06e | [
"MIT"
] | null | null | null | src/components/Maintanance/Maintanance.module.css | lgluigi/testerv | 8dcc9db03444ac5c5b4de88bd641e9398bb4f06e | [
"MIT"
] | null | null | null | .maintanance {
margin: 2vh 5vh 2vh 10vh;
}
.maintanance__img {
width: 90vw;
} | 11.714286 | 27 | 0.670732 |
ddb5022c89efc926bd5baece626f93d59819eb6b | 1,184 | dart | Dart | LanguageFeatures/nnbd/weak/syntax_A08_t01.dart | rmacnak-google/co19 | 007439e51981c536e65171444b536b03ef23fc25 | [
"BSD-3-Clause"
] | 29 | 2015-10-18T19:06:27.000Z | 2022-03-05T11:55:37.000Z | LanguageFeatures/nnbd/weak/syntax_A08_t01.dart | rmacnak-google/co19 | 007439e51981c536e65171444b536b03ef23fc25 | [
"BSD-3-Clause"
] | 1,278 | 2015-07-01T05:52:22.000Z | 2022-03-30T08:20:00.000Z | LanguageFeatures/nnbd/weak/syntax_A08_t01.dart | rmacnak-google/co19 | 007439e51981c536e65171444b536b03ef23fc25 | [
"BSD-3-Clause"
] | 33 | 2015-06-24T08:21:27.000Z | 2022-03-04T11:38:20.000Z | // Copyright (c) 2021, 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.
/// @assertion Conditional expressions inside of braces are ambiguous between
/// sets and maps. That i... | 29.6 | 77 | 0.589527 |
05ca79938c1c5bdefe402b1fea3587b19222b471 | 2,390 | dart | Dart | dson_01/bin/main.g.dart | drails-dart/dson_tutorials | 0fcb73ff8bc019639a4d567684842ddfaa2f037f | [
"MIT"
] | null | null | null | dson_01/bin/main.g.dart | drails-dart/dson_tutorials | 0fcb73ff8bc019639a4d567684842ddfaa2f037f | [
"MIT"
] | null | null | null | dson_01/bin/main.g.dart | drails-dart/dson_tutorials | 0fcb73ff8bc019639a4d567684842ddfaa2f037f | [
"MIT"
] | null | null | null | // GENERATED CODE - DO NOT MODIFY BY HAND
part of dson_01;
// **************************************************************************
// Generator: InitMirrorsGenerator
// Target: library dson_01
// **************************************************************************
_initMirrors() {
initClassMirrors({Per... | 26.263736 | 77 | 0.58159 |
bf681dc1d8eb6cafb4fdf24acdbff16d3ac61183 | 2,490 | swift | Swift | SPIRVCross/SPVType+Array.swift | stuartcarnie/SwiftSPIRV-Cross | 35832fde0dcc4ba996ee0a245901ec20eeed1329 | [
"MIT"
] | 6 | 2020-06-07T19:46:08.000Z | 2021-01-24T02:44:53.000Z | SPIRVCross/SPVType+Array.swift | stuartcarnie/SwiftSPIRV-Cross | 35832fde0dcc4ba996ee0a245901ec20eeed1329 | [
"MIT"
] | null | null | null | SPIRVCross/SPVType+Array.swift | stuartcarnie/SwiftSPIRV-Cross | 35832fde0dcc4ba996ee0a245901ec20eeed1329 | [
"MIT"
] | 1 | 2020-07-21T09:42:34.000Z | 2020-07-21T09:42:34.000Z | // Copyright (c) 2020 Stuart Carnie
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish,... | 42.20339 | 101 | 0.691968 |