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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1aa5aeb3566cbde2134c5f1f81ca0d817b703ac2 | 17,966 | py | Python | writer-ident/data.py | VChristlein/gmp | b04c0ec4289112f53903eb3429b0d8bc78231ceb | [
"MIT"
] | 13 | 2019-08-20T03:08:55.000Z | 2021-12-08T14:00:39.000Z | writer-ident/data.py | VChristlein/gmp | b04c0ec4289112f53903eb3429b0d8bc78231ceb | [
"MIT"
] | 1 | 2021-02-23T02:40:45.000Z | 2021-03-05T02:21:47.000Z | writer-ident/data.py | VChristlein/gmp | b04c0ec4289112f53903eb3429b0d8bc78231ceb | [
"MIT"
] | 1 | 2020-05-23T14:05:16.000Z | 2020-05-23T14:05:16.000Z | import os
import shutil
import random
from distutils.command.config import config
import torch
import torchvision
import numpy as np
from PIL.Image import NEAREST
from torch.utils.data import Dataset, Sampler
from torchvision import transforms
import matplotlib.pyplot as plt
from skimage import feature
import config
... | 43.501211 | 117 | 0.601859 |
2dad575f7d238197d35c1c55757d92b6771137b2 | 715 | dart | Dart | lib/jmap/mail/email/email_body_properties.dart | Arsnael/jmap-dart-client | c66175ec32b56a858c845e6e90917d4189a00fc0 | [
"MIT"
] | 15 | 2021-08-17T02:03:59.000Z | 2022-02-23T02:21:54.000Z | lib/jmap/mail/email/email_body_properties.dart | Arsnael/jmap-dart-client | c66175ec32b56a858c845e6e90917d4189a00fc0 | [
"MIT"
] | 9 | 2021-07-24T00:46:30.000Z | 2022-02-08T03:43:41.000Z | lib/jmap/mail/email/email_body_properties.dart | Arsnael/jmap-dart-client | c66175ec32b56a858c845e6e90917d4189a00fc0 | [
"MIT"
] | 8 | 2021-07-01T23:13:02.000Z | 2022-01-02T08:04:52.000Z | import 'package:jmap_dart_client/jmap/core/properties/properties.dart';
import 'package:json_annotation/json_annotation.dart';
part 'email_body_properties.g.dart';
@JsonSerializable()
class EmailBodyProperties extends Properties {
static EmailBodyProperties defaultEmailBodyProperties = EmailBodyProperties({
'pa... | 34.047619 | 105 | 0.752448 |
d02abc89cb014d4c0f855ffb737f5786d45a8535 | 2,132 | cpp | C++ | NITIKA.cpp | yashji9/COMPETITIVE-PROGRAMMING | 5c7a255be9b01001ddcde8ca4e6ff4bcb1c62f0f | [
"MIT"
] | 2 | 2018-01-18T13:39:48.000Z | 2018-09-18T09:27:07.000Z | NITIKA.cpp | yashji9/COMPETITIVE-PROGRAMMING | 5c7a255be9b01001ddcde8ca4e6ff4bcb1c62f0f | [
"MIT"
] | null | null | null | NITIKA.cpp | yashji9/COMPETITIVE-PROGRAMMING | 5c7a255be9b01001ddcde8ca4e6ff4bcb1c62f0f | [
"MIT"
] | 2 | 2018-09-30T19:12:02.000Z | 2018-10-01T09:31:55.000Z | #include<iostream>
#include<string.h>
#include<ctype.h>
using namespace std;
int main()
{
int t;
cin>>t;
cin.ignore();
while(t--)
{
string s;
getline(cin,s);
char name[12],c,ch1,ch2;
int c1=0;
for(int i=0;s[i]!='\0';i++)
{
... | 21.535354 | 52 | 0.229362 |
6091aa15f848814da45841942503531f85842b07 | 597 | h | C | OpenGL-Sandbox/src/Menu.h | j-delrosario/mario | 5fbc27f424fe22ba78d516eae69deb19c03ce904 | [
"Apache-2.0"
] | null | null | null | OpenGL-Sandbox/src/Menu.h | j-delrosario/mario | 5fbc27f424fe22ba78d516eae69deb19c03ce904 | [
"Apache-2.0"
] | null | null | null | OpenGL-Sandbox/src/Menu.h | j-delrosario/mario | 5fbc27f424fe22ba78d516eae69deb19c03ce904 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <GLCore.h>
#include <GLCoreUtils.h>
#include <GLCoreRendererAPI.h>
#include "Defines.h"
using namespace GLCore;
using namespace GLCore::Utils;
using namespace GLCore::RendererAPI;
class Menu
{
public:
Menu();
~Menu();
void Init();
void OnUpdate(Timestep ts);
void OnEvent(Event& e);
void... | 17.057143 | 39 | 0.726968 |
c670921decb78808fa54a35c45e3d2d15ab57a67 | 309 | py | Python | crabageprediction/venv/Lib/site-packages/pandas/tests/indexes/base_class/test_pickle.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 28,899 | 2016-10-13T03:32:12.000Z | 2022-03-31T21:39:05.000Z | crabageprediction/venv/Lib/site-packages/pandas/tests/indexes/base_class/test_pickle.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 31,004 | 2016-10-12T23:22:27.000Z | 2022-03-31T23:17:38.000Z | crabageprediction/venv/Lib/site-packages/pandas/tests/indexes/base_class/test_pickle.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 15,149 | 2016-10-13T03:21:31.000Z | 2022-03-31T18:46:47.000Z | from pandas import Index
import pandas._testing as tm
def test_pickle_preserves_object_dtype():
# GH#43188, GH#43155 don't infer numeric dtype
index = Index([1, 2, 3], dtype=object)
result = tm.round_trip_pickle(index)
assert result.dtype == object
tm.assert_index_equal(index, result)
| 25.75 | 50 | 0.728155 |
07a44e7f9860e3a36733b1216d212b1da30fc94c | 982 | rb | Ruby | db/migrate/20170201124248_add_defaults_to_timestamps_in_measurements.rb | Safecast/ingest | c927ce5c5efd658e2d5522bd6d6fc40bc00460a3 | [
"MIT"
] | null | null | null | db/migrate/20170201124248_add_defaults_to_timestamps_in_measurements.rb | Safecast/ingest | c927ce5c5efd658e2d5522bd6d6fc40bc00460a3 | [
"MIT"
] | 36 | 2017-01-12T07:52:21.000Z | 2022-03-30T22:02:25.000Z | db/migrate/20170201124248_add_defaults_to_timestamps_in_measurements.rb | Safecast/ingest | c927ce5c5efd658e2d5522bd6d6fc40bc00460a3 | [
"MIT"
] | 3 | 2017-01-18T02:11:52.000Z | 2018-07-02T23:17:31.000Z | class AddDefaultsToTimestampsInMeasurements < ActiveRecord::Migration[5.0]
def up
change_table :measurements do |t|
%i(created_at updated_at).each do |col|
t.change col, :datetime, null: true, default: -> { 'now()' }
end
end
execute <<-SQL
CREATE OR REPLACE FUNCTION update_updat... | 27.277778 | 84 | 0.663951 |
ef2a64d95d4e4cee7851966c37dc9b7abc5d13a5 | 2,781 | h | C | src/SimConnectFlightPlan.h | till213/FS2020SimConnectPlugin | e434d240b104fdb23cf4a515d307bbba2188dfa0 | [
"MIT"
] | 21 | 2021-03-01T00:19:41.000Z | 2022-02-22T02:57:19.000Z | src/SimConnectFlightPlan.h | till213/FS2020SimConnectPlugin | e434d240b104fdb23cf4a515d307bbba2188dfa0 | [
"MIT"
] | 11 | 2021-06-20T20:16:56.000Z | 2022-03-28T19:03:34.000Z | src/SimConnectFlightPlan.h | till213/FS2020SimConnectPlugin | e434d240b104fdb23cf4a515d307bbba2188dfa0 | [
"MIT"
] | 3 | 2021-04-06T19:06:16.000Z | 2022-01-20T21:22:39.000Z | /**
* Sky Dolly - The Black Sheep for your Flight Recordings
*
* Copyright (c) Oliver Knoll
* All rights reserved.
*
* MIT License
*
* 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
* ... | 31.602273 | 93 | 0.709457 |
d99b5194f0d4f660772416f9943fd5669b48b502 | 68 | sql | SQL | db/check_user.sql | HGIRyan/ad-free-app | 362727be4cb985c23db115e18d7a77d80f26ca3b | [
"AML",
"Info-ZIP"
] | 1 | 2022-01-07T12:14:21.000Z | 2022-01-07T12:14:21.000Z | db/check_user.sql | HGIRyan/ad-free-app | 362727be4cb985c23db115e18d7a77d80f26ca3b | [
"AML",
"Info-ZIP"
] | null | null | null | db/check_user.sql | HGIRyan/ad-free-app | 362727be4cb985c23db115e18d7a77d80f26ca3b | [
"AML",
"Info-ZIP"
] | null | null | null | select * from users
where user_email = $1 and user_username = $2;
| 17 | 45 | 0.705882 |
2cc8dfd15f717ff7eecb70aeb39197afddaf2730 | 480 | py | Python | pygmsh/built_in/line_loop.py | chabotsi/pygmsh | f2c26d9193c63efd9fa7676ea0860a18de7e8b52 | [
"MIT"
] | null | null | null | pygmsh/built_in/line_loop.py | chabotsi/pygmsh | f2c26d9193c63efd9fa7676ea0860a18de7e8b52 | [
"MIT"
] | null | null | null | pygmsh/built_in/line_loop.py | chabotsi/pygmsh | f2c26d9193c63efd9fa7676ea0860a18de7e8b52 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
class LineLoop(object):
_ID = 0
dimension = 1
def __init__(self, lines):
self.lines = lines
self.id = 'll{}'.format(LineLoop._ID)
LineLoop._ID += 1
self.code = '\n'.join([
'{} = newll;'.format(self.id),
'Line Loop({}) = {... | 20 | 57 | 0.458333 |
0736fa5d15a712af45200fc10723273005890a9a | 566 | css | CSS | public_html/media/css/user/favorites.css | Ken-Oh99/malgraph4 | 8a840fc3270dddac1443835445d1351d7618fb51 | [
"MIT"
] | null | null | null | public_html/media/css/user/favorites.css | Ken-Oh99/malgraph4 | 8a840fc3270dddac1443835445d1351d7618fb51 | [
"MIT"
] | null | null | null | public_html/media/css/user/favorites.css | Ken-Oh99/malgraph4 | 8a840fc3270dddac1443835445d1351d7618fb51 | [
"MIT"
] | null | null | null | .decades .target-wrapper {
width: 100%;
}
.decades .target {
height: 300px;
width: 100%;
}
.types .target-wrapper {
width: 100%;
}
.types .target {
height: 220px;
}
table {
font-size: 90%;
}
table .title {
width: 100%;
}
table .ord {
text-align: center;
}
table .mean, table .time, table .count {
text-align: ... | 12.577778 | 40 | 0.655477 |
74cdfbdbd88079f96cfd591e4c95ad5baf24d428 | 21,427 | css | CSS | frontend/web/estore/styles/style.css | hieuhx01001/estore-v1 | 0e5512892f8d3039d7d84978cc53796f4b192d09 | [
"BSD-3-Clause"
] | null | null | null | frontend/web/estore/styles/style.css | hieuhx01001/estore-v1 | 0e5512892f8d3039d7d84978cc53796f4b192d09 | [
"BSD-3-Clause"
] | null | null | null | frontend/web/estore/styles/style.css | hieuhx01001/estore-v1 | 0e5512892f8d3039d7d84978cc53796f4b192d09 | [
"BSD-3-Clause"
] | null | null | null | @font-face {
font-family: 'Lato';
src: url('fonts/Lato/lato-medium.ttf');
}
/*
Lastore - CSS File
*/
/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acr... | 22.867663 | 485 | 0.629813 |
5d80dd58c89d66bc2183c7349df579e3c406d907 | 1,124 | lua | Lua | modules/misc/mirror_timers.lua | PedroZC90/LuaUI | 5b3fab73f4d774b04f03b1097f44212c6ecb947b | [
"MIT"
] | null | null | null | modules/misc/mirror_timers.lua | PedroZC90/LuaUI | 5b3fab73f4d774b04f03b1097f44212c6ecb947b | [
"MIT"
] | null | null | null | modules/misc/mirror_timers.lua | PedroZC90/LuaUI | 5b3fab73f4d774b04f03b1097f44212c6ecb947b | [
"MIT"
] | null | null | null | local T, C, L = Tukui:unpack()
local MirrorTimers = T.Miscellaneous.MirrorTimers
----------------------------------------------------------------
-- Mirror Timers (e.g: Breath Timer)
----------------------------------------------------------------
local baseUpdate = MirrorTimers.Update
function MirrorTimers:U... | 30.378378 | 65 | 0.540036 |
850fb68aacd9647c610426798dd6295de4e8b0bb | 6,382 | cs | C# | src/Ao.ObjectDesign.Controls/TextBoxBaseSetting.cs | Cricle/Ao.ObjectDesign | 8f780dcba60213490b34147723a6dd035de9099a | [
"Apache-2.0"
] | 4 | 2021-07-05T16:22:51.000Z | 2022-03-20T01:43:09.000Z | src/Ao.ObjectDesign.Controls/TextBoxBaseSetting.cs | Cricle/Ao.ObjectDesign | 8f780dcba60213490b34147723a6dd035de9099a | [
"Apache-2.0"
] | 2 | 2021-08-22T02:12:57.000Z | 2021-12-12T08:54:08.000Z | src/Ao.ObjectDesign.Controls/TextBoxBaseSetting.cs | Cricle/Ao.ObjectDesign | 8f780dcba60213490b34147723a6dd035de9099a | [
"Apache-2.0"
] | 3 | 2021-07-05T14:53:29.000Z | 2021-08-22T02:10:15.000Z | using Ao.ObjectDesign.Designing.Annotations;
using Ao.ObjectDesign.Wpf.Designing;
using System.ComponentModel;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
namespace Ao.ObjectDesign.Controls
{
[MappingFor(typeof(TextBoxBase))]
public abstract class TextBoxBaseSetting : Con... | 35.653631 | 97 | 0.580539 |
b048ab0524ac49c5dd48e70b3fcf3da7bb5e9fa0 | 826 | py | Python | main/views.py | marc-marquez/issue-tracker | d9f2a589f416d74174499e59c5ba94900f2be063 | [
"MIT"
] | 1 | 2018-12-07T19:52:44.000Z | 2018-12-07T19:52:44.000Z | main/views.py | marc-marquez/issue-tracker | d9f2a589f416d74174499e59c5ba94900f2be063 | [
"MIT"
] | 6 | 2020-02-11T23:12:02.000Z | 2022-02-10T08:17:07.000Z | main/views.py | marc-marquez/issue-tracker | d9f2a589f416d74174499e59c5ba94900f2be063 | [
"MIT"
] | 1 | 2018-12-06T20:55:42.000Z | 2018-12-06T20:55:42.000Z | """
Creates the views for the:
- index page
- FAQ page
- About page
- Contact Us page
"""
from django.shortcuts import render
def get_index(request):
"""
Returns index page
:param request: The request type
:return: index page
"""
return render(request, 'index.html')
def get_faq... | 20.146341 | 42 | 0.62954 |
54aa3240df55767c092529f1005da366eda7768c | 2,622 | css | CSS | css/layout.css | ahmadassaf/Hacker-menu | 8084c27a8e002c7817f7767ece3b2a81db1b2128 | [
"MIT"
] | 1,117 | 2015-09-11T16:57:57.000Z | 2020-07-23T21:31:18.000Z | css/layout.css | ahmadassaf/Hacker-menu | 8084c27a8e002c7817f7767ece3b2a81db1b2128 | [
"MIT"
] | 19 | 2015-09-17T04:21:53.000Z | 2020-03-11T16:06:33.000Z | css/layout.css | ahmadassaf/Hacker-menu | 8084c27a8e002c7817f7767ece3b2a81db1b2128 | [
"MIT"
] | 107 | 2015-09-13T03:28:39.000Z | 2020-05-06T13:54:56.000Z | /* overrides ratchet */
.content {
background: white;
margin: 0 0 44px !important;
}
ul, code {
font-size: 14px;
}
.bar .status {
color: #979797;
font-size: 12px;
padding-top: 13px;
}
.comment {
font-size: 11px;
}
/* global */
body {
font-family: 'Roboto', sans-serif;
}
.clickable {
cursor: point... | 14.327869 | 70 | 0.633105 |
58d57a6394c59a0204d6c80b18490b796e8e3a41 | 282 | css | CSS | md-ripple.css | Hkh12/md-ripple | 95ee1f015425a04157909b6890cd6addcdf39780 | [
"MIT"
] | 1 | 2017-10-04T16:37:15.000Z | 2017-10-04T16:37:15.000Z | md-ripple.css | Hkh12/md-ripple | 95ee1f015425a04157909b6890cd6addcdf39780 | [
"MIT"
] | null | null | null | md-ripple.css | Hkh12/md-ripple | 95ee1f015425a04157909b6890cd6addcdf39780 | [
"MIT"
] | null | null | null | [ripple]{
-webkit-tap-highlight-color: transparent;
position: relative;
overflow: hidden;
}
[ripple] .ripple-effect{
position: absolute;
height: 10px;
width: 10px;
border-radius: 50%;
transform: translate3d(-50%, -50%, 0);
opacity: .125;
pointer-events: none
}
| 18.8 | 43 | 0.670213 |
0ee5e3265cb35fc9c06156b64421b3446bf05d7e | 620 | sql | SQL | db/auth-db/scripts/scripts.sql | shankarramr/eshop | e90c6944e4227473d06d3bb5aaf0ad9002b31865 | [
"Unlicense"
] | null | null | null | db/auth-db/scripts/scripts.sql | shankarramr/eshop | e90c6944e4227473d06d3bb5aaf0ad9002b31865 | [
"Unlicense"
] | null | null | null | db/auth-db/scripts/scripts.sql | shankarramr/eshop | e90c6944e4227473d06d3bb5aaf0ad9002b31865 | [
"Unlicense"
] | null | null | null | /* VERSION Table*/
CREATE TABLE VERSION(
VERSION VARCHAR(255)
);
INSERT INTO VERSION VALUES(
'1.0'
);
/* OAUTH_ACCESS_TOKEN Table*/
CREATE TABLE OAUTH_ACCESS_TOKEN (
ID INTEGER PRIMARY KEY AUTO_INCREMENT,
CLIENT_ID VARCHAR(50),
CLIENT_SECRET VARCHAR(150),
SCOPE VARCHAR(150),
AUTHORIZED_GRANT_TY... | 22.142857 | 67 | 0.725806 |
79847c073c9663c178049122cef67199c67db18d | 2,336 | php | PHP | application/views/modul5/v_aksesstudytracer.php | MasDeny/siakad | e5ffa65c8dc0655d9ca1482cd5c2c455ee6998cc | [
"Apache-2.0",
"MIT"
] | null | null | null | application/views/modul5/v_aksesstudytracer.php | MasDeny/siakad | e5ffa65c8dc0655d9ca1482cd5c2c455ee6998cc | [
"Apache-2.0",
"MIT"
] | null | null | null | application/views/modul5/v_aksesstudytracer.php | MasDeny/siakad | e5ffa65c8dc0655d9ca1482cd5c2c455ee6998cc | [
"Apache-2.0",
"MIT"
] | 2 | 2020-03-10T08:39:30.000Z | 2021-09-01T09:47:22.000Z | <html lang="en">
<head>
<meta charset="utf-8">
<title>Pendaftaran Tracer Study</title>
<script>
$(document).ready(function() {
$('select').material_select('destroy');
});
</script>
<link rel="stylesheet" href="<?php echo base_url() ?>asset/css/bootstrap.css">
<link rel="stylesheet" href="<?php echo base_u... | 33.855072 | 202 | 0.61387 |
bd1395e2d88c11d876e4206379266e3558ee07cb | 2,887 | html | HTML | chrome/browser/resources/settings/autofill_page/passwords_export_dialog.html | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chrome/browser/resources/settings/autofill_page/passwords_export_dialog.html | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/resources/settings/autofill_page/passwords_export_dialog.html | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | <style include="settings-shared iron-flex">
paper-progress {
--paper-progress-active-color: var(--google-blue-500);
width: 100%;
}
@media (prefers-color-scheme: dark) {
paper-progress {
/* TODO(dbeam): this is the same as downloads (and probably anywhere
... | 36.544304 | 80 | 0.578802 |
54b5d6885d9b85ce05cd64760ef01149cc161189 | 664 | css | CSS | cartridges/andromda-jsf2/src/main/resources/resources/views/css/primefaces/custom.css | wpradnyana/andromda | 30018001a006f561f74ad7c6db26e490674c5fcd | [
"BSD-3-Clause"
] | 2 | 2019-02-24T13:05:56.000Z | 2019-11-02T06:25:37.000Z | cartridges/andromda-jsf2/src/main/resources/resources/views/css/primefaces/custom.css | wpradnyana/andromda | 30018001a006f561f74ad7c6db26e490674c5fcd | [
"BSD-3-Clause"
] | 2 | 2022-01-21T23:12:36.000Z | 2022-01-21T23:12:50.000Z | cartridges/andromda-jsf2/src/main/resources/resources/views/css/primefaces/custom.css | wpradnyana/andromda | 30018001a006f561f74ad7c6db26e490674c5fcd | [
"BSD-3-Clause"
] | 4 | 2018-06-21T20:34:02.000Z | 2021-09-24T00:33:57.000Z | /** Add any custom styles to this css **/
* {
font-size: 97%;
}
.ui-layout-container {
overflow: auto !important;;
}
.ui-layout-north, .ui-layout-west, .ui-layout-south {
z-index:100 !important;
}
.ui-layout-south {
position: fixed !important;
}
.ui-layout-north .ui-layout-unit-content, .ui-layout-west... | 23.714286 | 132 | 0.673193 |
b317781a0f7ed0d7d20dba0b2eb5b4bfc7c2fa2b | 181 | py | Python | Codeforces/C_The_Child_and_Toy.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | Codeforces/C_The_Child_and_Toy.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | Codeforces/C_The_Child_and_Toy.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | n,m = list(map(int,input().split()))
cost = list(map(int,input().split()))
ans=0
for i in range(m):
f,s = list(map(int,input().split()))
ans += min(cost[f-1],cost[s-1])
print(ans) | 25.857143 | 37 | 0.607735 |
7f9fecdc5bb764259769e48cafbf616fc407c852 | 68 | php | PHP | resources/views/site/base/_partials/scripts.blade.php | alexsynarchin/online-education | 5823ad5c74b8de483c852fc9fc04fa3e546462e7 | [
"MIT"
] | null | null | null | resources/views/site/base/_partials/scripts.blade.php | alexsynarchin/online-education | 5823ad5c74b8de483c852fc9fc04fa3e546462e7 | [
"MIT"
] | null | null | null | resources/views/site/base/_partials/scripts.blade.php | alexsynarchin/online-education | 5823ad5c74b8de483c852fc9fc04fa3e546462e7 | [
"MIT"
] | null | null | null | <script src="{{mix('js/app.js','assets/site')}}?ver=42"></script>
| 17 | 65 | 0.588235 |
f5ddb54a39df3f520196b34d9f12cc015bc7b1e5 | 2,653 | css | CSS | src/assets/css/custom.css | ArtyDev57/facerecon_dashboard | ef36e992a66f69d48c211021a046d4d10b49db53 | [
"MIT"
] | 2 | 2020-06-25T19:36:01.000Z | 2020-07-06T11:03:31.000Z | src/assets/css/custom.css | ArtyDev57/facerecon_dashboard | ef36e992a66f69d48c211021a046d4d10b49db53 | [
"MIT"
] | 2 | 2020-06-25T19:37:54.000Z | 2020-07-01T11:29:12.000Z | src/assets/css/custom.css | ArtyDev57/facerecon_dashboard | ef36e992a66f69d48c211021a046d4d10b49db53 | [
"MIT"
] | 1 | 2020-10-04T09:18:04.000Z | 2020-10-04T09:18:04.000Z | #components-layout-demo-custom-trigger .trigger {
font-size: 18px;
line-height: 64px;
padding: 0 24px;
cursor: pointer;
transition: color 0.3s;
}
#components-layout-demo-custom-trigger .trigger:hover {
color: #1890ff;
}
#components-layout-demo-custom-trigger .logo {
height: 32px;
background: rgba(255, ... | 16.898089 | 65 | 0.649077 |
e2cf9bdd87a6fd73e2ce5e1bc1b1d74505a5064e | 269 | rs | Rust | src/primitives/ray/reflected.rs | U007D/rayt | ddd901a96fa8d55e1f8550c76f415e373c6bf587 | [
"Apache-2.0"
] | null | null | null | src/primitives/ray/reflected.rs | U007D/rayt | ddd901a96fa8d55e1f8550c76f415e373c6bf587 | [
"Apache-2.0"
] | null | null | null | src/primitives/ray/reflected.rs | U007D/rayt | ddd901a96fa8d55e1f8550c76f415e373c6bf587 | [
"Apache-2.0"
] | null | null | null | use crate::primitives::{Pixel, Ray};
#[derive(Clone, Debug, PartialEq)]
pub struct Reflected {
ray: Ray,
attenuation: Pixel,
}
impl Reflected {
#[must_use]
pub const fn new(ray: Ray, attenuation: Pixel) -> Self { Self { ray, attenuation } }
}
| 20.692308 | 88 | 0.628253 |
8e765f89c4dfe9e01918b5844f6bc777dd6fec59 | 1,263 | js | JavaScript | template/backendservices/CloudCode/CloudFunctions/likeActivity.js | krupa23/krupatest | 7dfc1cba4f51728db324dcfae18f273fcc1541a3 | [
"BSD-2-Clause"
] | 21 | 2015-01-12T05:11:19.000Z | 2021-03-13T12:17:24.000Z | template/backendservices/CloudCode/CloudFunctions/likeActivity.js | krupa23/krupatest | 7dfc1cba4f51728db324dcfae18f273fcc1541a3 | [
"BSD-2-Clause"
] | 10 | 2015-04-21T06:51:27.000Z | 2018-09-05T11:55:10.000Z | template/backendservices/CloudCode/CloudFunctions/likeActivity.js | krupa23/krupatest | 7dfc1cba4f51728db324dcfae18f273fcc1541a3 | [
"BSD-2-Clause"
] | 33 | 2015-01-26T15:50:04.000Z | 2019-05-27T02:04:01.000Z | Everlive.CloudFunction.onRequest(function(request, response, done) {
var activityId = request.queryString.activityId;
if (!activityId) {
response.statusCode = 500;
response.result = 'Invalid activity id';
return done();
}
var principal = request.principal;
var principalId;
... | 26.3125 | 68 | 0.558987 |
b3633be06eeede7af5df15868f7a79269db3dcc5 | 8,207 | py | Python | 2020/20/20.py | jeremy-quicklearner/advent-of-code | a87541fda41326b47498bc7e5134515a8793d896 | [
"MIT"
] | null | null | null | 2020/20/20.py | jeremy-quicklearner/advent-of-code | a87541fda41326b47498bc7e5134515a8793d896 | [
"MIT"
] | null | null | null | 2020/20/20.py | jeremy-quicklearner/advent-of-code | a87541fda41326b47498bc7e5134515a8793d896 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import copy
import random
with open('tiles.txt') as fh:
lines = fh.readlines()
tilestrs = ''.join(lines).split('\n\n')
tilestrs = {int(t.split('\n')[0][5:9]):'\n'.join(t.strip().split('\n')[1:]) for t in tilestrs}
tiles = {}
for tilekey,tilestr in tilestrs.items():
tile = []
for rowstr... | 28.897887 | 95 | 0.541002 |
43a5cd61d0c97f2dfd182182ea5ba841a11947b0 | 9,490 | tsx | TypeScript | client/dist/widgets/common/list/src/runtime/styles/style.tsx | Freda0502/ArcGISExperienceBuilder | 8bb8df3ce2fe09a89b3f577f2d5be3ad71cf24b1 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-06-18T18:20:55.000Z | 2021-06-18T18:20:55.000Z | client/dist/widgets/common/list/src/runtime/styles/style.tsx | Freda0502/ArcGISExperienceBuilder | 8bb8df3ce2fe09a89b3f577f2d5be3ad71cf24b1 | [
"Apache-2.0",
"MIT"
] | null | null | null | client/dist/widgets/common/list/src/runtime/styles/style.tsx | Freda0502/ArcGISExperienceBuilder | 8bb8df3ce2fe09a89b3f577f2d5be3ad71cf24b1 | [
"Apache-2.0",
"MIT"
] | null | null | null | import { css, polished, SerializedStyles, AppMode, utils, IMThemeVariables} from 'jimu-core';
import { ListProps } from '../widget';
import { DirectionType, LIST_CARD_PADDING, PageStyle,
DS_TOOL_BOTTOM_PADDING, DS_TOOL_H, BOTTOM_TOOL_TOP_PADDING, BOTTOM_TOOL_H, COMMON_PADDING, CardSize } from '../../config';
in... | 32.389078 | 171 | 0.540358 |
6b0a3f7b2edfc3d869b249450ed7e01cb45a1bb7 | 6,175 | js | JavaScript | client/src/tables/orgEmployeeExLvl.js | vio/infobase | 5c3e6fc2533940dd82e96bc9686a0d174db00696 | [
"MIT"
] | null | null | null | client/src/tables/orgEmployeeExLvl.js | vio/infobase | 5c3e6fc2533940dd82e96bc9686a0d174db00696 | [
"MIT"
] | null | null | null | client/src/tables/orgEmployeeExLvl.js | vio/infobase | 5c3e6fc2533940dd82e96bc9686a0d174db00696 | [
"MIT"
] | null | null | null | import text from "./orgEmployeeExLvl.yaml";
import {
stats,
trivial_text_maker,
Statistics,
people_five_year_percentage_formula,
businessConstants,
year_templates,
} from "./table_common";
const {
compact_ex_level_map,
ex_levels,
} = businessConstants;
const {
people_years,
people_years_short_s... | 29.545455 | 131 | 0.61749 |
2fbe60556591e6ea771b8d9b0fb07aa24ee7d52e | 412 | py | Python | src/bilbyui/migrations/0003_bilbyjob_job_id.py | gravitationalwavedc/gwcloud_bilby | f5074fe60ff2a3cfa6a7e8d3e97c9573a6152563 | [
"MIT"
] | 1 | 2020-10-26T02:35:26.000Z | 2020-10-26T02:35:26.000Z | src/bilbyui/migrations/0003_bilbyjob_job_id.py | gravitationalwavedc/gwcloud_bilby | f5074fe60ff2a3cfa6a7e8d3e97c9573a6152563 | [
"MIT"
] | 31 | 2020-05-04T05:57:45.000Z | 2022-02-23T04:35:35.000Z | src/bilbyui/migrations/0003_bilbyjob_job_id.py | gravitationalwavedc/gwcloud_bilby | f5074fe60ff2a3cfa6a7e8d3e97c9573a6152563 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.12 on 2020-05-04 01:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('bilbyui', '0002_auto_20200403_0346'),
]
operations = [
migrations.AddField(
model_name='bilbyjob',
name='job_id',
... | 21.684211 | 75 | 0.609223 |
583a3d39a4507be9630a42e6961cdb45055ef665 | 4,264 | css | CSS | dual-screen-css/boxstyles-legacy.css | conceptdev/web-samples | 79a1d752367c4dbdeb8c5bd9a80b7a135a83a76a | [
"MIT"
] | 1 | 2022-02-20T05:47:27.000Z | 2022-02-20T05:47:27.000Z | dual-screen-css/boxstyles-legacy.css | conceptdev/web-samples | 79a1d752367c4dbdeb8c5bd9a80b7a135a83a76a | [
"MIT"
] | null | null | null | dual-screen-css/boxstyles-legacy.css | conceptdev/web-samples | 79a1d752367c4dbdeb8c5bd9a80b7a135a83a76a | [
"MIT"
] | 1 | 2021-06-26T13:36:11.000Z | 2021-06-26T13:36:11.000Z | /*Copyright (c) 2020 Intel Corporation. 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 notice, this list of conditions and the followi... | 28.810811 | 1,269 | 0.629221 |
d7f667469d684b3042f3eb2a8c3ab3efcb1199a9 | 358 | rb | Ruby | data/azure_cognitiveservices_spellcheck/lib/1.0/generated/azure_cognitiveservices_spellcheck/models/action_type.rb | poanchen/azure-sdk-for-ruby | a5e8900bca941f2826f5da7017c509c55649d9bb | [
"MIT"
] | 237 | 2015-01-03T03:57:55.000Z | 2022-03-31T09:41:58.000Z | data/azure_cognitiveservices_spellcheck/lib/1.0/generated/azure_cognitiveservices_spellcheck/models/action_type.rb | poanchen/azure-sdk-for-ruby | a5e8900bca941f2826f5da7017c509c55649d9bb | [
"MIT"
] | 1,785 | 2015-01-13T19:32:37.000Z | 2021-08-24T13:58:11.000Z | data/azure_cognitiveservices_spellcheck/lib/1.0/generated/azure_cognitiveservices_spellcheck/models/action_type.rb | poanchen/azure-sdk-for-ruby | a5e8900bca941f2826f5da7017c509c55649d9bb | [
"MIT"
] | 242 | 2015-01-14T15:49:48.000Z | 2022-01-28T18:35:08.000Z | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::CognitiveServices::SpellCheck::V1_0
module Models
#
# Defines values for ActionType
#
module ActionType
Edit = "Edit"
... | 21.058824 | 70 | 0.687151 |
1a5db05d80628acb7af640b6359068158657dd05 | 5,318 | py | Python | Software/plot_temp_RH_Klosters_gondola.py | AnnikaLau/SIP_initiated_by_melting_layer | efff0d6e47eead5997da527fec9209483bb7ea6a | [
"Apache-2.0"
] | null | null | null | Software/plot_temp_RH_Klosters_gondola.py | AnnikaLau/SIP_initiated_by_melting_layer | efff0d6e47eead5997da527fec9209483bb7ea6a | [
"Apache-2.0"
] | null | null | null | Software/plot_temp_RH_Klosters_gondola.py | AnnikaLau/SIP_initiated_by_melting_layer | efff0d6e47eead5997da527fec9209483bb7ea6a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Jan 7 11:02:00 2021
@author: Annika
"""
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib.dates as mdates
import scipy.io
from datetime import datetime, timedelta
import numpy as np
from read_log_files import *
from read_time_rides import *
def datenu... | 38.817518 | 160 | 0.682399 |
a14ef61e6c091008f1e67ae68ecea5d9edafdd8f | 2,074 | tsx | TypeScript | components/templates/page.tsx | k4m4/www | 1864e9daebb99df9cc0df09d5c643facf13207dc | [
"MIT"
] | 1 | 2020-12-26T20:34:18.000Z | 2020-12-26T20:34:18.000Z | components/templates/page.tsx | k4m4/www | 1864e9daebb99df9cc0df09d5c643facf13207dc | [
"MIT"
] | 1 | 2020-10-25T23:31:23.000Z | 2020-10-25T23:31:23.000Z | components/templates/page.tsx | k4m4/k4m4.dev | 1864e9daebb99df9cc0df09d5c643facf13207dc | [
"MIT"
] | 1 | 2021-03-08T23:54:41.000Z | 2021-03-08T23:54:41.000Z | import { Box } from '@chakra-ui/react';
import { NextSeo as NextSEO } from 'next-seo';
import type { OpenGraph } from 'next-seo/lib/types';
import { useRouter } from 'next/router';
import { ReactNode } from 'react';
import Footer from '../organisms/footer';
import Nav from '../organisms/nav';
type PageProps = {
child... | 35.152542 | 953 | 0.788814 |
edb3081a2fa9309a36efcc87de0474908dd8401d | 3,116 | lua | Lua | script/c62873541.lua | Xargs007/CardsCustom | ef54658d3b3d8600e41759ad58e031cb6301b6c2 | [
"CC0-1.0"
] | null | null | null | script/c62873541.lua | Xargs007/CardsCustom | ef54658d3b3d8600e41759ad58e031cb6301b6c2 | [
"CC0-1.0"
] | null | null | null | script/c62873541.lua | Xargs007/CardsCustom | ef54658d3b3d8600e41759ad58e031cb6301b6c2 | [
"CC0-1.0"
] | null | null | null | --蒼眼の銀龍
function c62873541.initial_effect(c)
--synchro summon
--aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsType,TYPE_NORMAL),1)
aux.AddFusionProcCodeFun(c,(89631139),aux.FilterBoolFunction(Card.IsRace,RACE_DRAGON),1,false,false)
c:EnableReviveLimit()
--spsummon fusion condition
local e1=Effect.CreateEffect... | 35.816092 | 115 | 0.807766 |
5f2c00794f9227b074dfd66d8577ba294e52b31c | 1,026 | rb | Ruby | api/app/models/enquiry.rb | jollopre/mps | 4917cc5477861cda5939fca7a2441fcfdfe96723 | [
"MIT"
] | null | null | null | api/app/models/enquiry.rb | jollopre/mps | 4917cc5477861cda5939fca7a2441fcfdfe96723 | [
"MIT"
] | 61 | 2017-01-29T22:47:12.000Z | 2019-04-09T19:33:11.000Z | api/app/models/enquiry.rb | jollopre/mps | 4917cc5477861cda5939fca7a2441fcfdfe96723 | [
"MIT"
] | null | null | null | class Enquiry < ApplicationRecord
belongs_to :quotation
belongs_to :product
has_many :feature_values, dependent: :destroy
has_many :features, through: :feature_values
has_and_belongs_to_many :composed_emails
validates :quantity, numericality: { only_integer: true, greater_than_or_equal_to: 0 }
validates ... | 33.096774 | 89 | 0.754386 |
173ee340a300ee42132cf985f06e81c6f6427414 | 411 | sql | SQL | service/src/main/schema/scripts/common/003_PROJECT_DATA/030_PROJECT_BLACKLIST_DATA.sql | SAP-samples/smp-mobiliser-template | 12a2b574151abab2ce7b94e74ce1428b28c06c35 | [
"Apache-2.0"
] | null | null | null | service/src/main/schema/scripts/common/003_PROJECT_DATA/030_PROJECT_BLACKLIST_DATA.sql | SAP-samples/smp-mobiliser-template | 12a2b574151abab2ce7b94e74ce1428b28c06c35 | [
"Apache-2.0"
] | 6 | 2021-03-29T21:01:52.000Z | 2022-02-02T22:25:01.000Z | service/src/main/schema/scripts/common/003_PROJECT_DATA/030_PROJECT_BLACKLIST_DATA.sql | SAP-samples/smp-mobiliser-template | 12a2b574151abab2ce7b94e74ce1428b28c06c35 | [
"Apache-2.0"
] | 1 | 2022-02-02T01:57:18.000Z | 2022-02-02T01:57:18.000Z | INSERT INTO MOB_ERROR_CODES (ID_ERROR_CODE, ID_ERROR_LEVEL, STR_INFORMATION) VALUES (10101, 'INFO', 'NAME ON BLACKLIST:Name has been on blacklist');
INSERT INTO MOB_ERROR_CODES (ID_ERROR_CODE, ID_ERROR_LEVEL, STR_INFORMATION) VALUES (10102, 'INFO', 'NAME PROBABLE ON BLACKLIST: Name has a likely match on blacklist');
I... | 82.2 | 168 | 0.800487 |
c99bfb7e4305ae215080ce1f2113c11f54d31088 | 627 | ts | TypeScript | packages/typeorm/src/typeorm.sql.interface.ts | mobilejazz/harmony-nest-ts | 445753902de2e5d0cf7611dd59bb5b2ee27e843d | [
"Apache-2.0"
] | 5 | 2019-03-08T08:16:03.000Z | 2022-01-28T14:55:14.000Z | packages/typeorm/src/typeorm.sql.interface.ts | mobilejazz/harmony-nest-ts | 445753902de2e5d0cf7611dd59bb5b2ee27e843d | [
"Apache-2.0"
] | 30 | 2019-12-20T10:55:07.000Z | 2021-11-24T17:16:21.000Z | packages/typeorm/src/typeorm.sql.interface.ts | mobilejazz/harmony-typescript | 445753902de2e5d0cf7611dd59bb5b2ee27e843d | [
"Apache-2.0"
] | null | null | null | import { EntityManager } from 'typeorm';
import { SQLInterface } from '@mobilejazz/harmony-core';
export class TypeORMSQLInterface implements SQLInterface {
constructor(private readonly entityManager: EntityManager) {}
query(query: string, parameters?: any[]): Promise<any> {
return this.entityManager.... | 36.882353 | 94 | 0.708134 |
a19633b58fafc7fdb2262556171b07101476e6b4 | 1,261 | ts | TypeScript | src/isadom-models/produit/appareil/adapter/ConfigAppTiersAdapter.ts | ptrkvsky/nomad | f216842be9a8578311ef4e0ad2ef34523bc5ab40 | [
"MIT"
] | null | null | null | src/isadom-models/produit/appareil/adapter/ConfigAppTiersAdapter.ts | ptrkvsky/nomad | f216842be9a8578311ef4e0ad2ef34523bc5ab40 | [
"MIT"
] | 7 | 2021-12-02T23:44:06.000Z | 2021-12-26T08:18:25.000Z | src/isadom-models/produit/appareil/adapter/ConfigAppTiersAdapter.ts | ptrkvsky/nomad | f216842be9a8578311ef4e0ad2ef34523bc5ab40 | [
"MIT"
] | null | null | null | import { Adapter } from '../../../_adapter';
import { ConfigAppareilsTiersAPI } from '../api';
import { ConfigAppTiersModel } from '../front';
import { TiersAdapter } from '../../..';
import { ConfigProduitSpecAdapter } from '../..';
export class ConfigAppTiersAdapter extends Adapter<
ConfigAppTiersModel,
ConfigAp... | 28.659091 | 68 | 0.694687 |
c56ef574998cfe8997b46408472a863ec0bb65a4 | 1,313 | css | CSS | _styleguide/ui/main.reel/main.css | marchant/filament | 8c83401c4ee1d3ba9c9af3cbe99b666eb6ae4d47 | [
"BSD-3-Clause"
] | null | null | null | _styleguide/ui/main.reel/main.css | marchant/filament | 8c83401c4ee1d3ba9c9af3cbe99b666eb6ae4d47 | [
"BSD-3-Clause"
] | 2 | 2019-01-15T16:57:29.000Z | 2019-01-15T16:58:34.000Z | _styleguide/ui/main.reel/main.css | montagestudio/filament | 8bffdb07a98dc312a65ac35523628510619b5eb7 | [
"BSD-3-Clause"
] | null | null | null | * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html {
font-family: Clear Sans, sans-serif;
font-size: 16px;
color: hsl(0, 0%, 50%);
background-color: hsl(0, 0%, 92%);
}
body {
margin: 0;
font-size: 16px;
}
a {
text-decoration: none;
color: hsl(0, 0%, 40%);
}... | 16.620253 | 71 | 0.544554 |
9d161fda6882bf764ffbf21deac1bcdaf67d5f2e | 925 | sh | Shell | vpn.lbaction/Contents/Scripts/media.sh | Sihan001/lbActions | 7729d5bbe35aea39c0652daf24a0117cca5c149d | [
"Apache-2.0"
] | null | null | null | vpn.lbaction/Contents/Scripts/media.sh | Sihan001/lbActions | 7729d5bbe35aea39c0652daf24a0117cca5c149d | [
"Apache-2.0"
] | null | null | null | vpn.lbaction/Contents/Scripts/media.sh | Sihan001/lbActions | 7729d5bbe35aea39c0652daf24a0117cca5c149d | [
"Apache-2.0"
] | 1 | 2018-09-18T14:27:39.000Z | 2018-09-18T14:27:39.000Z | #!/bin/bash
ICON_END=".png"
ICON_WIFI="wifi-4.png"
ICON_WIFI_="wifi-"
ICON_WIFI_4="wifi-4.png"
ICON_WIFI_3="wifi-3.png"
ICON_WIFI_2="wifi-2.png"
ICON_WIFI_1="wifi-1.png"
ICON_WIFI_LOCK="wifi-lock-4.png"
ICON_WIFI_LOCK_="wifi-lock-"
ICON_WIFI_LOCK_4="wifi-lock-4.png"
ICON_WIFI_LOCK_3="wifi-lock-3.png"
ICON_WIFI_LOCK_... | 23.717949 | 38 | 0.784865 |
e7ec54b8613934514b39937004c04eef54135985 | 286 | lua | Lua | scripts/globals/items/scroll_of_shellra_iv.lua | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 6 | 2021-06-01T04:17:10.000Z | 2021-06-01T04:32:21.000Z | scripts/globals/items/scroll_of_shellra_iv.lua | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 5 | 2020-04-10T19:33:53.000Z | 2021-06-27T17:50:05.000Z | scripts/globals/items/scroll_of_shellra_iv.lua | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 2 | 2020-04-11T16:56:14.000Z | 2021-06-26T12:21:12.000Z | -----------------------------------------
-- ID: 4741
-- Scroll of Shellra IV
-- Teaches the white magic Shellra IV
-----------------------------------------
function onItemCheck(target)
return target:canLearnSpell(133)
end
function onItemUse(target)
target:addSpell(133)
end
| 20.428571 | 41 | 0.527972 |
ee1b0261d799f6d3a8e0b8b40a57aa3c79e1699f | 49,719 | sql | SQL | smp7.sql | GalihDC/Web-Profil-SMPN-7-Surakarta | 94b5a3333a780de4d4262120bca1071921d0450e | [
"MIT"
] | null | null | null | smp7.sql | GalihDC/Web-Profil-SMPN-7-Surakarta | 94b5a3333a780de4d4262120bca1071921d0450e | [
"MIT"
] | null | null | null | smp7.sql | GalihDC/Web-Profil-SMPN-7-Surakarta | 94b5a3333a780de4d4262120bca1071921d0450e | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: 31 Des 2019 pada 02.44
-- Versi Server: 10.1.26-MariaDB
-- PHP Version: 7.1.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHA... | 74.878012 | 3,837 | 0.746958 |
38d36146faecab55e13040120293073ce327a1a2 | 2,424 | php | PHP | app/Http/Controllers/Control.php | aditya2214/frontend | 4e07b83a036e1be452aafce1696f2183ab0a3817 | [
"MIT"
] | null | null | null | app/Http/Controllers/Control.php | aditya2214/frontend | 4e07b83a036e1be452aafce1696f2183ab0a3817 | [
"MIT"
] | 1 | 2021-02-02T17:59:52.000Z | 2021-02-02T17:59:52.000Z | app/Http/Controllers/Control.php | aditya2214/frontend | 4e07b83a036e1be452aafce1696f2183ab0a3817 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\DB;
use Illuminate\Http\Request;
use App\Models\Blog;
class Control extends Controller
{
public function index()
{
// Insert bisa
// $blog = new Blog;
// $blog->title='halo Cimahi';
// $blog->description='isi dari halo cimahi'... | 19.086614 | 60 | 0.552805 |
92c00457d8456b3f33c744710e90e70c1acbd351 | 1,471 | sql | SQL | inst/sql/src/sql/BANK/GROUNDFISH/TABLES/SDPOKDET_TMP.sql | AtlanticR/bio.utilities | aaa52cf86afa4ee9e6f46c4516a48d27cc0bfed9 | [
"MIT"
] | null | null | null | inst/sql/src/sql/BANK/GROUNDFISH/TABLES/SDPOKDET_TMP.sql | AtlanticR/bio.utilities | aaa52cf86afa4ee9e6f46c4516a48d27cc0bfed9 | [
"MIT"
] | null | null | null | inst/sql/src/sql/BANK/GROUNDFISH/TABLES/SDPOKDET_TMP.sql | AtlanticR/bio.utilities | aaa52cf86afa4ee9e6f46c4516a48d27cc0bfed9 | [
"MIT"
] | null | null | null | --------------------------------------------------------
-- DDL for Table SDPOKDET_TMP
--------------------------------------------------------
CREATE TABLE "GROUNDFISH"."SDPOKDET_TMP"
( "CRUNO" VARCHAR2(10 BYTE),
"SETNO" NUMBER(3,0),
"SPEC" NUMBER(4,0),
"FSHNO" VARCHAR2(10 BYTE),
"FLEN" NUMBER(4,0),
... | 32.688889 | 70 | 0.638341 |
9e0f761c0a0a7c22af02c7fae0006ef5a77287cd | 4,893 | ps1 | PowerShell | DSC/DeveloperWorkstation.ps1 | aultt/Workstation | ddb79fdd5e161f46b1d11a0e45c903ba32ae7deb | [
"MIT"
] | null | null | null | DSC/DeveloperWorkstation.ps1 | aultt/Workstation | ddb79fdd5e161f46b1d11a0e45c903ba32ae7deb | [
"MIT"
] | null | null | null | DSC/DeveloperWorkstation.ps1 | aultt/Workstation | ddb79fdd5e161f46b1d11a0e45c903ba32ae7deb | [
"MIT"
] | null | null | null | configuration DeveloperWorkstation
{
param
(
[Parameter(Mandatory)]
[String]$DomainName,
[Parameter(Mandatory)]
[System.Management.Automation.PSCredential]$Admincreds,
[string]$datadriveLetter = 'F',
[string]$TimeZone = "Eastern Standard Time",
[Int]$Retr... | 30.968354 | 230 | 0.538116 |
38be4738377c6eb885aafc152ba196365318d363 | 7,184 | php | PHP | application/modules/ujianmurid/views/vmulai.php | rendyrey/its | 0571550541fcd615021b9d1bfbb31e3b67bcf027 | [
"MIT"
] | null | null | null | application/modules/ujianmurid/views/vmulai.php | rendyrey/its | 0571550541fcd615021b9d1bfbb31e3b67bcf027 | [
"MIT"
] | null | null | null | application/modules/ujianmurid/views/vmulai.php | rendyrey/its | 0571550541fcd615021b9d1bfbb31e3b67bcf027 | [
"MIT"
] | null | null | null | <?php
$num_of_per = count($pertanyaan);
$count = 1;
?>
<div class="main-content">
<div class="main-content-inner">
<div class="page-content">
<div class="row">
<div class="col-xs-12">
<div>
<form ... | 43.539394 | 264 | 0.372355 |
a0077965fdbfd284dd81e298795f5c55e97788d4 | 2,220 | ts | TypeScript | packages/generic/core/src/modules/statistic/statisticType.ts | Cour-de-cassation/label | e6c829f965e969f1f4d51981fccb6517c91b583f | [
"MIT"
] | 16 | 2020-12-16T17:57:50.000Z | 2022-03-03T14:10:39.000Z | packages/generic/core/src/modules/statistic/statisticType.ts | Cour-de-cassation/label | e6c829f965e969f1f4d51981fccb6517c91b583f | [
"MIT"
] | 362 | 2020-11-03T08:28:56.000Z | 2022-03-17T13:41:59.000Z | packages/generic/core/src/modules/statistic/statisticType.ts | Cour-de-cassation/label | e6c829f965e969f1f4d51981fccb6517c91b583f | [
"MIT"
] | 2 | 2020-11-02T17:35:43.000Z | 2021-08-24T10:38:31.000Z | import { documentModel } from '../document/documentType';
import { idType } from '../id';
import { buildModel, buildType } from '../modelType';
export { statisticModel };
export type { statisticType };
const statisticModel = buildModel({
kind: 'object',
content: {
_id: { kind: 'custom', content: 'id' },
... | 29.210526 | 94 | 0.56982 |
d16a823dfd4a3f2e3130410c417a1d40384068d0 | 3,968 | html | HTML | web/themes/default/article/notice-post.html | Broomspun/shanque | 67cec34de5e4951d6593a5e88778b06b27fe5f61 | [
"MIT"
] | null | null | null | web/themes/default/article/notice-post.html | Broomspun/shanque | 67cec34de5e4951d6593a5e88778b06b27fe5f61 | [
"MIT"
] | null | null | null | web/themes/default/article/notice-post.html | Broomspun/shanque | 67cec34de5e4951d6593a5e88778b06b27fe5f61 | [
"MIT"
] | null | null | null | {template 'common/header'}
<ol class="breadcrumb we7-breadcrumb">
<a href="{php echo url('article/notice/list');}"><i class="wi wi-back-circle"></i> </a>
<li>
<a href="{php echo url('article/notice/list');}">公告列表</a>
</li>
<li>
添加公告
</li>
</ol>
{if $do == 'post'}
<form action="{php echo url('article/notice/po... | 39.287129 | 161 | 0.593246 |
a7b937dc2808a4b0e99de922ca7bb1c9507c3598 | 656 | css | CSS | client/src/components/project/project.css | delaluz12/myReactPortfolio | 770f9a53c0dd11cc9c6c283bef483f76ddd44f9e | [
"MIT"
] | null | null | null | client/src/components/project/project.css | delaluz12/myReactPortfolio | 770f9a53c0dd11cc9c6c283bef483f76ddd44f9e | [
"MIT"
] | null | null | null | client/src/components/project/project.css | delaluz12/myReactPortfolio | 770f9a53c0dd11cc9c6c283bef483f76ddd44f9e | [
"MIT"
] | null | null | null | .project {
width: 30%;
height: 40vh;
margin: 20px 10px;
border: 2px solid rgb(243,242, 242);
border-radius: 10px 10px 0px 0px;
overflow: hidden;
}
.project-browser {
height: 20px;
background-color: rgb(243,242,242);
display: flex;
align-items: center;
}
.project-circle {
wi... | 16.820513 | 40 | 0.592988 |
e73dcf16764bfff9a25bb3c6b1d5220eb5343da5 | 958 | php | PHP | src/CoreBundle/Factory/WeatherInformationFactory.php | stud3nt/test-project | 0f90d1278469585656bbff0cca25199267f0c9c4 | [
"MIT"
] | null | null | null | src/CoreBundle/Factory/WeatherInformationFactory.php | stud3nt/test-project | 0f90d1278469585656bbff0cca25199267f0c9c4 | [
"MIT"
] | null | null | null | src/CoreBundle/Factory/WeatherInformationFactory.php | stud3nt/test-project | 0f90d1278469585656bbff0cca25199267f0c9c4 | [
"MIT"
] | null | null | null | <?php
namespace CoreBundle\Factory;
use CoreBundle\Entity\Weather\Information;
class WeatherInformationFactory
{
public static function get(array $weatherData) : Information
{
$information = new Information();
$information->setCreatedAt(new \DateTime("now"));
$information->setLat($we... | 36.846154 | 84 | 0.661795 |
fdb61e44af0b4cb2a4c861bc3e6d4e8c339854b1 | 530 | css | CSS | src/landing/assets/fonts/font.css | Pipeline-by-TalentQL/team-delta-diet-app | c286166a6dbf4486eef6b531779f226387c65de9 | [
"MIT"
] | null | null | null | src/landing/assets/fonts/font.css | Pipeline-by-TalentQL/team-delta-diet-app | c286166a6dbf4486eef6b531779f226387c65de9 | [
"MIT"
] | 18 | 2021-09-25T08:53:53.000Z | 2022-02-25T09:53:57.000Z | src/landing/assets/fonts/font.css | Pipeline-by-TalentQL/team-delta-diet-app | c286166a6dbf4486eef6b531779f226387c65de9 | [
"MIT"
] | null | null | null | @font-face {
font-family: 'Segoe UI';
src: url('./src/landing/assets/fonts/Segoe-UI.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Segoe UI';
src: url('./src/landing/assets/fonts/Segoe-UI-Italic.wof') format('woff');
font-weight: 400;
font-style: ... | 22.083333 | 75 | 0.675472 |
0d3464dd173a98d2ef3f5050992aa151c6c9a79d | 3,385 | cs | C# | src/DancingGoat/Controllers/SubscriptionController.cs | techbuzzz/Mvc | ad8788fb03fba8e0898db9e2c44defe4a6f152f0 | [
"MIT"
] | null | null | null | src/DancingGoat/Controllers/SubscriptionController.cs | techbuzzz/Mvc | ad8788fb03fba8e0898db9e2c44defe4a6f152f0 | [
"MIT"
] | null | null | null | src/DancingGoat/Controllers/SubscriptionController.cs | techbuzzz/Mvc | ad8788fb03fba8e0898db9e2c44defe4a6f152f0 | [
"MIT"
] | 1 | 2020-01-22T13:06:16.000Z | 2020-01-22T13:06:16.000Z | using System;
using System.Web.Mvc;
using CMS.Helpers;
using Kentico.Newsletters;
using DancingGoat.Models.Subscription;
namespace DancingGoat.Web.Controllers
{
public class SubscriptionController : Controller
{
private readonly NewsletterSubscriptionService mService;
public SubscriptionCo... | 31.933962 | 168 | 0.531462 |
4b4bc68b49788b08d12f4710502fd9729092c961 | 1,490 | swift | Swift | CameraViewer/Cells/TextInputCell.swift | ms2138/CameraViewer | 72a019c31c7cdee1469ff4a363a39556860b3924 | [
"MIT"
] | null | null | null | CameraViewer/Cells/TextInputCell.swift | ms2138/CameraViewer | 72a019c31c7cdee1469ff4a363a39556860b3924 | [
"MIT"
] | null | null | null | CameraViewer/Cells/TextInputCell.swift | ms2138/CameraViewer | 72a019c31c7cdee1469ff4a363a39556860b3924 | [
"MIT"
] | null | null | null | //
// TextInputCell.swift
// CameraViewer
//
// Created by mani on 2021-08-08.
//
import UIKit
class TextInputCell: UITableViewCell {
var keyboardType: UIKeyboardType = .default {
didSet {
textField.keyboardType = keyboardType
}
}
var returnKeyType: UIReturnKeyType = .defaul... | 25.254237 | 81 | 0.657718 |
ae2e2daaadc54721b816abedd4a9bdcdf968d099 | 805 | cs | C# | InMobile.Sms.ApiClient/Json/InMobileJsonSerializerSettings.cs | inMobile/inMobile-.NET-API-Client | c6cf6194f3c349b686c367742ad62ef0353ea977 | [
"BSD-3-Clause"
] | 1 | 2021-08-24T10:57:55.000Z | 2021-08-24T10:57:55.000Z | InMobile.Sms.ApiClient/Json/InMobileJsonSerializerSettings.cs | inMobile/inMobile-.NET-API-Client | c6cf6194f3c349b686c367742ad62ef0353ea977 | [
"BSD-3-Clause"
] | 1 | 2021-08-17T09:12:59.000Z | 2021-08-17T09:12:59.000Z | InMobile.Sms.ApiClient/Json/InMobileJsonSerializerSettings.cs | inMobile/inMobile-.NET-API-Client | c6cf6194f3c349b686c367742ad62ef0353ea977 | [
"BSD-3-Clause"
] | 1 | 2020-02-19T07:42:38.000Z | 2020-02-19T07:42:38.000Z | using Newtonsoft.Json;
namespace InMobile.Sms.ApiClient
{
/// <summary>
/// Serializer created by https://gist.github.com/alexeyzimarev
/// Repo: https://gist.github.com/alexeyzimarev/c00b79c11c8cce6f6208454f7933ad24
/// </summary>
public class InMobileJsonSerializerSettings : JsonSerializerSettin... | 30.961538 | 133 | 0.647205 |
2cf8f75648bafbe38fc9d8db4b9356b3f69c9a04 | 4,410 | lua | Lua | server.lua | Zeemahh/Badger-911 | 85870cad72c8bcccb6bb5f9aaa912e235ef765a3 | [
"MIT"
] | null | null | null | server.lua | Zeemahh/Badger-911 | 85870cad72c8bcccb6bb5f9aaa912e235ef765a3 | [
"MIT"
] | null | null | null | server.lua | Zeemahh/Badger-911 | 85870cad72c8bcccb6bb5f9aaa912e235ef765a3 | [
"MIT"
] | null | null | null | --- CONFIG ---
webhookURL = ''
prefix = '^5[^1911^5] ^3';
roleList = {
['SAHP'] = 1,
['BCSO'] = 1,
['BCPD'] = 1,
['CO'] = 1,
['Fire & EMS'] = 1,
}
--- CODE ---
function sendMsg(src, msg)
TriggerClientEvent('chat:addMessage', src, {
args = { msg }
})
end
function... | 36.147541 | 144 | 0.52585 |
797cd883c97ed21650c51d61baf0ec61d0aad944 | 4,787 | php | PHP | resources/views/auth/passwords/reset.blade.php | CryptoTrusts/crypto | b85540e3cb4371af57da7be176c6e79c6f17cf71 | [
"MIT"
] | null | null | null | resources/views/auth/passwords/reset.blade.php | CryptoTrusts/crypto | b85540e3cb4371af57da7be176c6e79c6f17cf71 | [
"MIT"
] | null | null | null | resources/views/auth/passwords/reset.blade.php | CryptoTrusts/crypto | b85540e3cb4371af57da7be176c6e79c6f17cf71 | [
"MIT"
] | 2 | 2020-01-03T14:32:07.000Z | 2021-03-01T13:22:37.000Z |
@include('home/assetss')
<body class="auth-page" style="background-color:#f8f8f8;">
<!-- Wrapper Starts -->
<div class="wrapper">
<div class="container user-auth" style="padding:20px;">
<div class="row">
<div class="col-sm-5 col-sm-offset-4 col-md-offset-4 col-lg-offset-4 col-md-5 col-lg-5">
... | 42.741071 | 197 | 0.414665 |
3a9277f95629b99c82898455e820272cb21fc17c | 832 | go | Go | mmap_back_test.go | nikandfor/xrain | f669ab2645f2f9c534e8301e027ea47cc5114792 | [
"MIT"
] | null | null | null | mmap_back_test.go | nikandfor/xrain | f669ab2645f2f9c534e8301e027ea47cc5114792 | [
"MIT"
] | null | null | null | mmap_back_test.go | nikandfor/xrain | f669ab2645f2f9c534e8301e027ea47cc5114792 | [
"MIT"
] | null | null | null | // +build linux darwin
package xrain
import (
"os"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestBackMmap(t *testing.T) {
fn := t.TempDir() + "/xrain_mmap_test"
// fn := "/tmp/xrain_mmap_test"
t.Logf("file: %v", fn)
m, err := Mmap(fn, os.O_CREATE|os.O_RDWR... | 18.488889 | 54 | 0.63101 |
14b018bf58ae9c0da87ca0b0b955fff26e87de96 | 32 | ts | TypeScript | packages/client-common/src/version.ts | vschoettke/algoliasearch-client-javascript | 43aef83c9a976bf1eb6163d10b9c0d1046e81011 | [
"MIT"
] | null | null | null | packages/client-common/src/version.ts | vschoettke/algoliasearch-client-javascript | 43aef83c9a976bf1eb6163d10b9c0d1046e81011 | [
"MIT"
] | null | null | null | packages/client-common/src/version.ts | vschoettke/algoliasearch-client-javascript | 43aef83c9a976bf1eb6163d10b9c0d1046e81011 | [
"MIT"
] | null | null | null | export const version = '4.2.0';
| 16 | 31 | 0.65625 |
2c587c7c1bcbada26c08c51bec23b813908451c3 | 1,726 | py | Python | pandaserver/daemons/scripts/panda_activeusers_query.py | PanDAWMS/panda-server | 41442ac3a2db95c234ef2b1f417205e7873b3312 | [
"Apache-2.0"
] | 7 | 2015-03-30T14:15:35.000Z | 2021-12-22T06:48:22.000Z | pandaserver/daemons/scripts/panda_activeusers_query.py | PanDAWMS/panda-server | 41442ac3a2db95c234ef2b1f417205e7873b3312 | [
"Apache-2.0"
] | 16 | 2015-06-01T13:48:01.000Z | 2022-02-08T15:03:32.000Z | pandaserver/daemons/scripts/panda_activeusers_query.py | PanDAWMS/panda-server | 41442ac3a2db95c234ef2b1f417205e7873b3312 | [
"Apache-2.0"
] | 15 | 2015-03-02T08:57:35.000Z | 2022-03-01T09:48:45.000Z | import re
from pandacommon.pandalogger.PandaLogger import PandaLogger
from pandacommon.pandalogger.LogWrapper import LogWrapper
from pandaserver.config import panda_config
from pandaserver.proxycache import panda_proxy_cache
# logger
_logger = PandaLogger().getLogger('panda_activeusers_query')
# main
def main(tbuf... | 30.821429 | 83 | 0.662225 |
c2892f759fb961608e49275cc383db711d41e1bf | 2,291 | h | C | ompi/mpi/fortran/use-mpi-f08-desc/mpi-f-interfaces-bind.h | urids/XSCALAMPI | 38624f682211d55c047183637fed8dbcc09f6d74 | [
"BSD-3-Clause-Open-MPI"
] | 1 | 2015-12-16T08:16:23.000Z | 2015-12-16T08:16:23.000Z | ompi/mpi/fortran/use-mpi-f08-desc/mpi-f-interfaces-bind.h | urids/XSCALAMPI | 38624f682211d55c047183637fed8dbcc09f6d74 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | ompi/mpi/fortran/use-mpi-f08-desc/mpi-f-interfaces-bind.h | urids/XSCALAMPI | 38624f682211d55c047183637fed8dbcc09f6d74 | [
"BSD-3-Clause-Open-MPI"
] | 3 | 2015-11-29T06:00:56.000Z | 2021-03-29T07:03:29.000Z | ! -*- f90 -*-
!
! Copyright (c) 2009-2012 Cisco Systems, Inc. All rights reserved.
! Copyright (c) 2009-2012 Los Alamos National Security, LLC.
! All rights reserved.
! $COPYRIGHT$
!
! This file provides the interface specifications for the MPI Fortran
! API bindings. It effectively maps betw... | 29 | 80 | 0.72763 |
a31c74dbcdf03659aa132c0e9c5aa0bf17d13386 | 2,521 | java | Java | subprojects/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultPreviousExecutionState.java | candrews/gradle | 07c85008a0930ef74c9fd9d824eeddd5f3f0be03 | [
"Apache-2.0"
] | 2 | 2015-12-10T21:06:45.000Z | 2016-08-04T19:35:30.000Z | subprojects/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultPreviousExecutionState.java | candrews/gradle | 07c85008a0930ef74c9fd9d824eeddd5f3f0be03 | [
"Apache-2.0"
] | null | null | null | subprojects/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultPreviousExecutionState.java | candrews/gradle | 07c85008a0930ef74c9fd9d824eeddd5f3f0be03 | [
"Apache-2.0"
] | 1 | 2019-06-26T20:28:16.000Z | 2019-06-26T20:28:16.000Z | /*
* Copyright 2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 40.015873 | 141 | 0.779453 |
56b5744240b7904f5d4437567a6151fd3261c5a7 | 11,498 | rs | Rust | src/lexer.rs | BracketMaster/rtlil_frontend | 041d40c8151217cdf3d85f0bb895e091efceea0a | [
"MIT"
] | null | null | null | src/lexer.rs | BracketMaster/rtlil_frontend | 041d40c8151217cdf3d85f0bb895e091efceea0a | [
"MIT"
] | null | null | null | src/lexer.rs | BracketMaster/rtlil_frontend | 041d40c8151217cdf3d85f0bb895e091efceea0a | [
"MIT"
] | null | null | null | // Copyright (c) 2020 xhe
// Copyright (c) 2020 Yehowshua
//! Lexer for RTLIL files.
use super::ast::*;
use std::fmt;
pub type Error = anyhow::Error;
#[derive(Debug, Clone)]
pub struct Location {
offset: usize,
line: u32,
column: u32,
}
impl Default for Location {
fn default() -> Self {
Sel... | 33.424419 | 94 | 0.365803 |
a3dc5de4bac9350a58d4ccb07a67b14f605968e0 | 7,121 | java | Java | src/Reduction.java | wata-orz/fvs | 610f53cb4fe898ed4be7fc0ac414781c4989aa5b | [
"MIT"
] | 9 | 2016-08-10T10:57:38.000Z | 2021-11-03T20:25:48.000Z | src/Reduction.java | wata-orz/fvs | 610f53cb4fe898ed4be7fc0ac414781c4989aa5b | [
"MIT"
] | null | null | null | src/Reduction.java | wata-orz/fvs | 610f53cb4fe898ed4be7fc0ac414781c4989aa5b | [
"MIT"
] | 2 | 2016-12-02T10:28:08.000Z | 2019-06-20T16:52:40.000Z | import static java.lang.Math.*;
import static java.util.Arrays.*;
import tc.wata.data.*;
import tc.wata.debug.*;
public class Reduction {
public static int LEVEL = 3;
public static int D = 6;
public static void reduce(Graph g, int ub) {
for (;;) {
if (LEVEL >= 1) deg2(g);
if (LEVEL >= 3) {
if (deg2... | 27.388462 | 102 | 0.431821 |
641060faf8e977b1d3541829c3cb44301cdcb1b6 | 2,993 | py | Python | admin_tools_stats/utils.py | afkmamunbd/django-admin-tools-stats | b68fa8a1ffe6d73cb7e931450d95159cdeecd5bc | [
"MIT"
] | 204 | 2015-04-08T22:58:27.000Z | 2022-02-27T21:59:33.000Z | admin_tools_stats/utils.py | afkmamunbd/django-admin-tools-stats | b68fa8a1ffe6d73cb7e931450d95159cdeecd5bc | [
"MIT"
] | 39 | 2015-07-08T14:55:50.000Z | 2021-11-22T14:31:03.000Z | admin_tools_stats/utils.py | afkmamunbd/django-admin-tools-stats | b68fa8a1ffe6d73cb7e931450d95159cdeecd5bc | [
"MIT"
] | 40 | 2015-06-30T09:53:50.000Z | 2022-02-21T01:23:57.000Z | #
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright (C) 2011-2014 Star2Billing S.L.
#
# The Initial Developer of the Original Code is
# Arezqui Belaid <info@... | 32.89011 | 77 | 0.604744 |
9072990c3f8e93cd5e17b2d3d17a5f5025e0d014 | 1,015 | h | C | src/qwr/file_helpers.h | razielanarki/fb2k_utils | bbac41b04c84f13ba6b9da56f9f00f9314ea0b90 | [
"MIT"
] | 5 | 2020-10-02T06:30:41.000Z | 2021-09-16T02:59:07.000Z | src/qwr/file_helpers.h | razielanarki/fb2k_utils | bbac41b04c84f13ba6b9da56f9f00f9314ea0b90 | [
"MIT"
] | 1 | 2021-09-22T20:33:17.000Z | 2021-09-22T20:33:17.000Z | src/qwr/file_helpers.h | razielanarki/fb2k_utils | bbac41b04c84f13ba6b9da56f9f00f9314ea0b90 | [
"MIT"
] | 1 | 2021-09-16T02:59:19.000Z | 2021-09-16T02:59:19.000Z | #pragma once
#include <shtypes.h>
#include <filesystem>
#include <optional>
#include <span>
#include <string>
namespace qwr::file
{
/// @throw smp::SmpException
qwr::u8string ReadFile( const std::filesystem::path& path, UINT codepage, bool checkFileExistense = true );
/// @throw smp::SmpException
std::wstring Read... | 26.710526 | 107 | 0.702463 |
15dced6718d82446af218ba61a0a6c4fe27f0be5 | 690 | rb | Ruby | app/models/rtu_clicks_request.rb | MothOnMars/search-gov | 988839ec221fa4cac97aebe6305c4a8144f00256 | [
"ImageMagick"
] | null | null | null | app/models/rtu_clicks_request.rb | MothOnMars/search-gov | 988839ec221fa4cac97aebe6305c4a8144f00256 | [
"ImageMagick"
] | 3 | 2020-10-23T14:52:00.000Z | 2021-03-10T17:17:53.000Z | app/models/rtu_clicks_request.rb | MothOnMars/search-gov | 988839ec221fa4cac97aebe6305c4a8144f00256 | [
"ImageMagick"
] | null | null | null | class RtuClicksRequest
MAX_RESULTS = 1000
include Virtus.model
extend ActiveModel::Naming
include ActiveModel::Conversion
include RtuAnalyticsRequestable
attr_reader :start_date, :end_date, :available_dates, :filter_bots
attribute :site, Affiliate
attribute :start_date, String
attribute :end_date, ... | 19.714286 | 68 | 0.72029 |
af9e1f10822bd3fa4072e0b6ce06f03c577499ad | 1,261 | py | Python | test_com.py | MarcSchaetz/CMakician | 3dd52ca08018bf9f4a2aa2c44fd15c62f55f199b | [
"MIT"
] | null | null | null | test_com.py | MarcSchaetz/CMakician | 3dd52ca08018bf9f4a2aa2c44fd15c62f55f199b | [
"MIT"
] | null | null | null | test_com.py | MarcSchaetz/CMakician | 3dd52ca08018bf9f4a2aa2c44fd15c62f55f199b | [
"MIT"
] | null | null | null | import pytest, os, shutil
from hamcrest import (assert_that, equal_to)
import cmakician as com
def test_result_yes_returns_correct_for_ascii():
for i in range(0, 128):
char = ascii(i)
if char == "y" or char == "Y":
assert com.result_yes(char) == True
else:
assert co... | 28.659091 | 81 | 0.68755 |
543d750b8c53d331300598120008bde9c5f10eab | 2,315 | css | CSS | css/calculator.css | Philmist/grbl_calc | 11d315b86b1cdf8808179c9b3e9756544b923234 | [
"MIT"
] | null | null | null | css/calculator.css | Philmist/grbl_calc | 11d315b86b1cdf8808179c9b3e9756544b923234 | [
"MIT"
] | null | null | null | css/calculator.css | Philmist/grbl_calc | 11d315b86b1cdf8808179c9b3e9756544b923234 | [
"MIT"
] | null | null | null | /* vim:set sts=4 sw=4 ts=4 expandtab: */
/*
* 計算機コンポーネントにかかるスタイル
*
* CSS Modules用
*/
/* 画面全体の構成 */
/* アプリ全体 */
.app {
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
/* アプリの配置 */
.whole_app {
composes: app;
margin: auto;
width : -moz-fit-content;
width : -webki... | 14.378882 | 41 | 0.590497 |
e24bf1f444933d1bc1782ae43d0bdc56ded18b7b | 947 | py | Python | script.py | BrightIT/docker-ipython-selenium-client | decea8aa3530dd4571132d4c19fbb7a8085ff196 | [
"MIT"
] | null | null | null | script.py | BrightIT/docker-ipython-selenium-client | decea8aa3530dd4571132d4c19fbb7a8085ff196 | [
"MIT"
] | null | null | null | script.py | BrightIT/docker-ipython-selenium-client | decea8aa3530dd4571132d4c19fbb7a8085ff196 | [
"MIT"
] | null | null | null | from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
ff = webdriver.Remote(command_executor='http://172.17.0.5:4444/wd/hub', des... | 36.423077 | 131 | 0.789863 |
ddaa4229d1b556a38287521dc860460d6b2c5683 | 9,225 | java | Java | tapestry-core/src/main/java/org/apache/tapestry5/ComponentResourcesCommon.java | xfyre/tapestry-5 | 5db48b2ccfe2e6e3d51c1b73216385ede3ca0097 | [
"Apache-2.0"
] | null | null | null | tapestry-core/src/main/java/org/apache/tapestry5/ComponentResourcesCommon.java | xfyre/tapestry-5 | 5db48b2ccfe2e6e3d51c1b73216385ede3ca0097 | [
"Apache-2.0"
] | null | null | null | tapestry-core/src/main/java/org/apache/tapestry5/ComponentResourcesCommon.java | xfyre/tapestry-5 | 5db48b2ccfe2e6e3d51c1b73216385ede3ca0097 | [
"Apache-2.0"
] | 1 | 2021-12-16T20:27:20.000Z | 2021-12-16T20:27:20.000Z | // 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, software
// distributed unde... | 43.928571 | 123 | 0.675339 |
ffb73c662981d9fa6333759268ab71b56b0e3eeb | 1,859 | py | Python | imsim/dict_wcs.py | g-braeunlich/imSim | c6f97ba39f05313570d15671f2b9eb9bd1de24bc | [
"BSD-3-Clause"
] | 13 | 2017-06-03T12:38:08.000Z | 2022-01-24T18:56:31.000Z | imsim/dict_wcs.py | g-braeunlich/imSim | c6f97ba39f05313570d15671f2b9eb9bd1de24bc | [
"BSD-3-Clause"
] | 225 | 2016-11-29T23:08:20.000Z | 2022-03-08T03:20:17.000Z | imsim/dict_wcs.py | g-braeunlich/imSim | c6f97ba39f05313570d15671f2b9eb9bd1de24bc | [
"BSD-3-Clause"
] | 9 | 2017-10-26T17:20:23.000Z | 2022-03-29T09:53:18.000Z |
import yaml
import galsim
from galsim.config import WCSBuilder, RegisterWCSType
class DictWCS(WCSBuilder):
def __init__(self):
self.d = {} # Empty dict means we haven't read the file yet.
def buildWCS(self, config, base, logger):
"""Build the TanWCS based on the specifications in the config ... | 33.196429 | 90 | 0.559978 |
b02420be3ddb9d6e79f3bb5890f664b8143695c8 | 7,159 | py | Python | client/backup.py | lhupfeldt/borgbackup_notifications_multi_target | ef0e8461bbc80535a4fa541c6c00077e57f05572 | [
"BSD-3-Clause"
] | null | null | null | client/backup.py | lhupfeldt/borgbackup_notifications_multi_target | ef0e8461bbc80535a4fa541c6c00077e57f05572 | [
"BSD-3-Clause"
] | null | null | null | client/backup.py | lhupfeldt/borgbackup_notifications_multi_target | ef0e8461bbc80535a4fa541c6c00077e57f05572 | [
"BSD-3-Clause"
] | null | null | null | #!/bin/env python3
#!/opt/local/bin/python3.3
# Copyright (c) 2015-2016 Lars Hupfeldt Nielsen, Hupfeldt IT
# All rights reserved. This work is under a BSD license, see LICENSE.TXT.
import sys, os, shutil
from os.path import join as jp
import subprocess, time, resource
from . import notifications
from .singleton_scr... | 34.584541 | 142 | 0.659729 |
f5ad78dfbbb4d7c4fe4f6a7da2144e0a69097071 | 13,809 | swift | Swift | Sources/Meek/MeekTCPConnection.swift | OperatorFoundation/Shapeshifter-Swift-Transports | a0385e99b35512d64d33bfc9d1558289d117b2f8 | [
"MIT"
] | 2 | 2020-05-07T08:13:41.000Z | 2020-12-18T19:40:00.000Z | Sources/Meek/MeekTCPConnection.swift | OperatorFoundation/Shapeshifter-Swift-Transports | a0385e99b35512d64d33bfc9d1558289d117b2f8 | [
"MIT"
] | null | null | null | Sources/Meek/MeekTCPConnection.swift | OperatorFoundation/Shapeshifter-Swift-Transports | a0385e99b35512d64d33bfc9d1558289d117b2f8 | [
"MIT"
] | 2 | 2018-02-05T03:54:08.000Z | 2020-01-14T09:47:05.000Z | //
// MeekTCPConnection.swift
// Shapeshifter-Swift-Transports
//
// Created by Brandon Wiley on 10/24/17.
// Copyright © 2017 Operator Foundation. All rights reserved.
//
import Foundation
//import NetworkExtension
#if (os(macOS) || os(iOS) || os(watchOS) || os(tvOS))
import CryptoKit
#else
import Crypto
#endif
... | 26.761628 | 142 | 0.526106 |
96f50a431a7836d05d2b429a91a6f6adb370c8ad | 293 | cshtml | C# | PizzaBoxFrontEnd/PizzaBoxFrontEnd/Views/OrderPizza/Index.cshtml | 210329-UTA-SH-UiPath/P1_Sean_Spring | ffab0bba963948ec369766a91f2934d25e9e8dbe | [
"MIT"
] | null | null | null | PizzaBoxFrontEnd/PizzaBoxFrontEnd/Views/OrderPizza/Index.cshtml | 210329-UTA-SH-UiPath/P1_Sean_Spring | ffab0bba963948ec369766a91f2934d25e9e8dbe | [
"MIT"
] | null | null | null | PizzaBoxFrontEnd/PizzaBoxFrontEnd/Views/OrderPizza/Index.cshtml | 210329-UTA-SH-UiPath/P1_Sean_Spring | ffab0bba963948ec369766a91f2934d25e9e8dbe | [
"MIT"
] | null | null | null | @*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
<h1>Your pizza has been added!</h1>
<a asp-action="Return" asp-controller="Order">Go Back to Order</a><br />
<a asp-controller="Home" asp-action="Index">Finish Order</a>
| 32.555556 | 113 | 0.709898 |
c6dc7c19d2d53c9e643357bc5aab5bdaa2926e7c | 19,774 | py | Python | k_lstm.py | minoriwww/MeterDetection | 0373cd30fe8a1de4886a8a60860c4714b2b28333 | [
"MIT"
] | 7 | 2019-11-13T01:02:14.000Z | 2021-08-10T10:03:46.000Z | k_lstm.py | minoriwww/MeterDetection | 0373cd30fe8a1de4886a8a60860c4714b2b28333 | [
"MIT"
] | null | null | null | k_lstm.py | minoriwww/MeterDetection | 0373cd30fe8a1de4886a8a60860c4714b2b28333 | [
"MIT"
] | 1 | 2019-12-26T10:34:18.000Z | 2019-12-26T10:34:18.000Z | # -*- coding: utf-8 -*-
# run in py3 !!
import os
os.environ["CUDA_VISIBLE_DEVICES"] = "1";
import tensorflow as tf
config = tf.ConfigProto()
# config.gpu_options.per_process_gpu_memory_fraction=0.5
config.gpu_options.allow_growth = True
tf.Session(config=config)
import numpy as np
from sklearn import preprocessing... | 33.177852 | 136 | 0.640943 |
01c316b7c8d0189698bcbdec6d26d41bf3d7aa5f | 1,063 | c | C | chapter3/3.10.c | Ognimalf/Data-Structures-in-C | d35948015aa79178ec5402501a6c2a70752ef3d3 | [
"CC0-1.0"
] | null | null | null | chapter3/3.10.c | Ognimalf/Data-Structures-in-C | d35948015aa79178ec5402501a6c2a70752ef3d3 | [
"CC0-1.0"
] | null | null | null | chapter3/3.10.c | Ognimalf/Data-Structures-in-C | d35948015aa79178ec5402501a6c2a70752ef3d3 | [
"CC0-1.0"
] | null | null | null | #include "stdio.h"
#include "stdlib.h"
typedef struct list List;
struct list{
int index;
List *next;
};
List *insertNode(List *head, int val);
int main()
{
int size = 5, flag = 2;
List *josephus = NULL;
for (int i = 1; i <= size; ++i)
josephus = insertNode(josephus, i);
... | 20.442308 | 59 | 0.444026 |
d64ea3fc7b2eaf49af2fa8fe4822783f5bdd0819 | 2,051 | cs | C# | src/NaGet.Protocol/Search/RawAutocompleteClient.cs | SeppPenner/NaGet | 9053598a55cd2b83dab270540c8fe9ca4c52143b | [
"MIT"
] | null | null | null | src/NaGet.Protocol/Search/RawAutocompleteClient.cs | SeppPenner/NaGet | 9053598a55cd2b83dab270540c8fe9ca4c52143b | [
"MIT"
] | 1 | 2022-03-13T16:00:55.000Z | 2022-03-13T16:00:55.000Z | src/NaGet.Protocol/Search/RawAutocompleteClient.cs | SeppPenner/NaGet | 9053598a55cd2b83dab270540c8fe9ca4c52143b | [
"MIT"
] | null | null | null | namespace NaGet.Protocol.Internal;
/// <summary>
/// The client used to search for packages.
///
/// See https://docs.microsoft.com/en-us/nuget/api/search-autocomplete-service-resource
/// </summary>
public class RawAutocompleteClient : IAutocompleteClient
{
private readonly HttpClient httpClient;
private rea... | 33.080645 | 107 | 0.653827 |
93710c1628201300e0cf3d136217816ab7f7daeb | 4,320 | cs | C# | Services/CoverDownloadService.cs | isenmann/Covers | 30ff06f50c9f26aff13d93ee9e0c8c5177d36a99 | [
"MIT"
] | 4 | 2021-02-08T06:47:00.000Z | 2021-02-18T08:19:02.000Z | Services/CoverDownloadService.cs | isenmann/Covers | 30ff06f50c9f26aff13d93ee9e0c8c5177d36a99 | [
"MIT"
] | null | null | null | Services/CoverDownloadService.cs | isenmann/Covers | 30ff06f50c9f26aff13d93ee9e0c8c5177d36a99 | [
"MIT"
] | null | null | null | using Covers.Contracts;
using Covers.Contracts.Interfaces;
using ImageMagick;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
namespace Covers.Services
{
public class CoverDownloadService : ICoverD... | 34.83871 | 157 | 0.554167 |
6afa8d6d62e293545e5d56f52de23a238f8ce040 | 23,350 | c | C | yml.c | kzwkt/yambar | 19cbf120fd6200fdf17b004a890557c74f99a684 | [
"MIT"
] | 1 | 2022-02-20T20:58:15.000Z | 2022-02-20T20:58:15.000Z | yml.c | kzwkt/yambar | 19cbf120fd6200fdf17b004a890557c74f99a684 | [
"MIT"
] | null | null | null | yml.c | kzwkt/yambar | 19cbf120fd6200fdf17b004a890557c74f99a684 | [
"MIT"
] | null | null | null | #include "yml.h"
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <assert.h>
#include <yaml.h>
#include <tllist.h>
#define UNUSED __attribute__((unused))
enum yml_error {
YML_ERR_NONE,
YML_ERR_DUPLICATE_KEY,
YML_ERR_INVALID_ANCHOR,
YML_ERR_UNKNOWN,
};
enum no... | 25.886918 | 91 | 0.507066 |
726dc5d861e488323657b750ecbb8b58903e3b70 | 4,239 | lua | Lua | opennmt/SeqTagger.lua | OpenNMT/Im2Text | 6184e033c1cdcfdba984b3a5cf7aaa1131f6d096 | [
"MIT"
] | 153 | 2016-12-19T18:01:41.000Z | 2022-03-30T15:13:46.000Z | opennmt/SeqTagger.lua | OpenNMT/Im2Text | 6184e033c1cdcfdba984b3a5cf7aaa1131f6d096 | [
"MIT"
] | 17 | 2016-12-20T07:59:28.000Z | 2020-10-24T21:44:04.000Z | opennmt/SeqTagger.lua | OpenNMT/Im2Text | 6184e033c1cdcfdba984b3a5cf7aaa1131f6d096 | [
"MIT"
] | 26 | 2016-12-20T03:18:13.000Z | 2020-07-10T13:14:05.000Z | --[[ Sequence to sequence model with attention. ]]
local SeqTagger, parent = torch.class('SeqTagger', 'Model')
local options = {
{
'-word_vec_size', '500',
[[Comma-separated list of embedding sizes: `word[,feat1[,feat2[,...] ] ]`.]],
{
structural = 0
}
},
{
'-pre_word_vecs_enc', '',
... | 27.348387 | 99 | 0.701109 |
d6363aa23b8f7e68bd50d2e540bcae69a846e98d | 765 | cs | C# | src/Ticketbooth.Api/Requests/Examples/SetNoReleaseBlocksRequestExample.cs | drmathias/Ticketbooth | 522434a8daf43f7b71dd2f96e72bab4a09b1bcc8 | [
"MIT"
] | 1 | 2019-12-02T18:52:28.000Z | 2019-12-02T18:52:28.000Z | src/Ticketbooth.Api/Requests/Examples/SetNoReleaseBlocksRequestExample.cs | drmathias/SmartTicket | 522434a8daf43f7b71dd2f96e72bab4a09b1bcc8 | [
"MIT"
] | 22 | 2019-12-18T23:21:17.000Z | 2020-01-28T12:06:23.000Z | src/Ticketbooth.Api/Requests/Examples/SetNoReleaseBlocksRequestExample.cs | drmathias/Ticketbooth | 522434a8daf43f7b71dd2f96e72bab4a09b1bcc8 | [
"MIT"
] | null | null | null | using Swashbuckle.AspNetCore.Examples;
namespace Ticketbooth.Api.Requests.Examples
{
public class SetNoReleaseBlocksRequestExample : IExamplesProvider
{
private readonly ExampleGenerator _exampleGenerator;
public SetNoReleaseBlocksRequestExample(ExampleGenerator exampleGenerator)
{
... | 27.321429 | 82 | 0.586928 |
743a8b8699e4072235c915a02f3d7c30f170c092 | 3,265 | h | C | pyhmmer/reexports/esl_sqio_ascii.h | althonos/pyhmmer | eb6fe7c0e74557e0ae9d647693711583d2d86b68 | [
"MIT"
] | 26 | 2020-11-10T22:57:49.000Z | 2022-03-24T16:58:55.000Z | pyhmmer/reexports/esl_sqio_ascii.h | althonos/pyhmmer | eb6fe7c0e74557e0ae9d647693711583d2d86b68 | [
"MIT"
] | 13 | 2020-11-12T11:41:08.000Z | 2022-03-09T18:17:48.000Z | pyhmmer/reexports/esl_sqio_ascii.h | althonos/pyhmmer | eb6fe7c0e74557e0ae9d647693711583d2d86b68 | [
"MIT"
] | 2 | 2021-04-04T05:13:07.000Z | 2021-11-30T09:11:23.000Z | #include "esl_config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include "easel.h"
#include "esl_alphabet.h"
#include "esl_msa.h"
#include "esl_msafile.h"
#include "esl_sqio.h"
#include "esl_sq.h"
#include "esl_ssi.h"
/* format specific routines */
int sqas... | 41.858974 | 146 | 0.728943 |
b069b63e8a38556ca29f8d1f68f507923cdd046c | 15,516 | py | Python | phangsPipeline/scBackups.py | astrojysun/phangs_imaging_scripts | e82f303b5d79a29d9269bce69ddb7456e08e3a9d | [
"MIT"
] | 21 | 2021-04-24T19:10:11.000Z | 2022-02-08T14:17:49.000Z | phangsPipeline/scBackups.py | astrojysun/phangs_imaging_scripts | e82f303b5d79a29d9269bce69ddb7456e08e3a9d | [
"MIT"
] | 35 | 2021-04-14T15:58:38.000Z | 2022-02-25T12:11:31.000Z | phangsPipeline/scBackups.py | astrojysun/phangs_imaging_scripts | e82f303b5d79a29d9269bce69ddb7456e08e3a9d | [
"MIT"
] | 6 | 2021-04-28T08:19:11.000Z | 2021-09-15T13:25:12.000Z |
def write_moment1_hybrid(
cube, rms=None, channel_correlation=None,
outfile=None, errorfile=None,
overwrite=True, unit=None,
return_products=True,
strict_vfield=None,
broad_vfield=None,
broad_signal=None,
vfield_prior=None,
vfield_prior_res=None,
... | 37.93643 | 89 | 0.56503 |
12786095e6f24247f93bfc7feedd5115d86dd0a7 | 12,563 | cs | C# | src/BlackJack.cs | Davichet-e/BlackJack-CSharp | 64edd37f27316ae05dedbede74af908125a600d2 | [
"BSD-3-Clause"
] | null | null | null | src/BlackJack.cs | Davichet-e/BlackJack-CSharp | 64edd37f27316ae05dedbede74af908125a600d2 | [
"BSD-3-Clause"
] | null | null | null | src/BlackJack.cs | Davichet-e/BlackJack-CSharp | 64edd37f27316ae05dedbede74af908125a600d2 | [
"BSD-3-Clause"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Threading;
using System.Linq;
using Hands;
using Cards;
#pragma warning disable CS8618
public class BlackJack
{
private static Deck _deck;
private static IList<Player> _players = new List<Player>();
private static Hand _dealerHand;
publi... | 31.329177 | 131 | 0.452758 |
072156ffc9346d0042f464ee74d0fa950c010874 | 71,182 | rb | Ruby | omni_scrape.rb | bmaynard1991/omni-scrape | 94bf36dbc868ec6835342bcf1c6f7f96076fe8a5 | [
"MIT"
] | null | null | null | omni_scrape.rb | bmaynard1991/omni-scrape | 94bf36dbc868ec6835342bcf1c6f7f96076fe8a5 | [
"MIT"
] | null | null | null | omni_scrape.rb | bmaynard1991/omni-scrape | 94bf36dbc868ec6835342bcf1c6f7f96076fe8a5 | [
"MIT"
] | null | null | null | require "omni_scrape/version"
module OmniScrape
##########################################################################################
def CrawlScrape(url, depth, sub_url)
if (depth<0)
depth=0
end#if
s_depth = depth #true
#open the starting page
page = Nokogiri::HTML(open(url,{ssl_... | 27.231064 | 129 | 0.480894 |
55df3d4d3b5adf283087cde234392bb6fc094f0c | 98 | sql | SQL | docs/compiled/jaffle_shop/schema_test/not_null_fct_orders_credit_card_amount.sql | tharwaninitin/dbt-example | 95025f1339f8285e411a37f3c572fd60b75c6618 | [
"Apache-2.0"
] | null | null | null | docs/compiled/jaffle_shop/schema_test/not_null_fct_orders_credit_card_amount.sql | tharwaninitin/dbt-example | 95025f1339f8285e411a37f3c572fd60b75c6618 | [
"Apache-2.0"
] | null | null | null | docs/compiled/jaffle_shop/schema_test/not_null_fct_orders_credit_card_amount.sql | tharwaninitin/dbt-example | 95025f1339f8285e411a37f3c572fd60b75c6618 | [
"Apache-2.0"
] | null | null | null |
select count(*)
from "jaffle_shop"."dbt_alice"."fct_orders"
where credit_card_amount is null
| 10.888889 | 43 | 0.755102 |
fb75e85ab5384f1ef6ddae6c5468687e072e2234 | 799 | c | C | examples/01-processing/main.c | island-org/island | 3cb72404f8bdf07b49b301690d8ecdd28d424ffa | [
"MIT"
] | 254 | 2015-01-05T04:33:08.000Z | 2022-01-17T16:18:32.000Z | examples/01-processing/main.c | island-org/island | 3cb72404f8bdf07b49b301690d8ecdd28d424ffa | [
"MIT"
] | 2 | 2016-02-22T09:00:16.000Z | 2018-05-01T01:32:03.000Z | examples/01-processing/main.c | island-org/island | 3cb72404f8bdf07b49b301690d8ecdd28d424ffa | [
"MIT"
] | 30 | 2015-02-12T00:54:37.000Z | 2020-09-11T05:33:53.000Z | #define SKETCH_2D_IMPLEMENTATION
#include "sketch2d.h"
PImage img1, img2;
PFont font;
void setup()
{
size(displayWidth, displayHeight);
noCursor();
img1 = loadImage("../3rdparty/nanovg/example/images/image9.jpg");
img2 = loadImage("../3rdparty/nanovg/example/images/image10.jpg");
font ... | 20.487179 | 71 | 0.61577 |
fe3a19ab09e455ec7171a1fb667fd720ee8e726c | 719 | kt | Kotlin | src/main/kotlin/exnihilofabrico/modules/tools/HammerTool.kt | SirLyle/ExNihiloCreatio | 5224a14b7b50ab5df34a9edbd5ea9e63d743ed62 | [
"MIT"
] | 4 | 2019-11-26T22:19:38.000Z | 2021-12-27T11:21:23.000Z | src/main/kotlin/exnihilofabrico/modules/tools/HammerTool.kt | SirLyle/ExNihiloCreatio | 5224a14b7b50ab5df34a9edbd5ea9e63d743ed62 | [
"MIT"
] | 8 | 2019-11-26T12:37:37.000Z | 2022-01-09T18:11:36.000Z | src/main/kotlin/exnihilofabrico/modules/tools/HammerTool.kt | SirLyle/ExNihiloCreatio | 5224a14b7b50ab5df34a9edbd5ea9e63d743ed62 | [
"MIT"
] | 12 | 2020-02-15T06:45:46.000Z | 2021-12-29T22:06:38.000Z | package exnihilofabrico.modules.tools
import exnihilofabrico.api.registry.ExNihiloRegistries
import exnihilofabrico.modules.ModTags.HAMMER_TAG
import net.minecraft.block.BlockState
import net.minecraft.item.ItemStack
import net.minecraft.item.ToolMaterial
class HammerTool(material: ToolMaterial, settings: Settings):
... | 34.238095 | 104 | 0.773296 |
d6844d606b9c241384b24b028b79a1dd56ba8460 | 260 | cs | C# | Sibusten.Philomena.Downloader.Cmd/Commands/Preset/Arguments/PresetUpdateCommandArgs.cs | basisbit/derpibooru-downloader | 3d2b3ab35d7982e3aa7c5b9f67d57ef3eac82ee7 | [
"MIT"
] | 62 | 2017-07-17T14:16:57.000Z | 2022-01-27T10:18:19.000Z | Sibusten.Philomena.Downloader.Cmd/Commands/Preset/Arguments/PresetUpdateCommandArgs.cs | basisbit/derpibooru-downloader | 3d2b3ab35d7982e3aa7c5b9f67d57ef3eac82ee7 | [
"MIT"
] | 47 | 2017-03-08T22:54:18.000Z | 2022-03-23T15:28:27.000Z | Sibusten.Philomena.Downloader.Cmd/Commands/Preset/Arguments/PresetUpdateCommandArgs.cs | basisbit/derpibooru-downloader | 3d2b3ab35d7982e3aa7c5b9f67d57ef3eac82ee7 | [
"MIT"
] | 9 | 2018-02-09T15:08:57.000Z | 2022-03-11T22:58:20.000Z | using Sibusten.Philomena.Downloader.Cmd.Commands.Common.Arguments;
namespace Sibusten.Philomena.Downloader.Cmd.Commands.Preset.Arguments
{
public class PresetUpdateCommandArgs : SearchQueryArgs
{
public string Name { get; set; } = "";
}
}
| 26 | 69 | 0.734615 |
0518a6156fdb2610c75d42680c4f9f990dc522c3 | 206 | css | CSS | client/src/components/Grid/style.css | ashkaning/project-manager-webApp | 8193505f44bc465219d587f46effaf9afef368da | [
"MIT"
] | null | null | null | client/src/components/Grid/style.css | ashkaning/project-manager-webApp | 8193505f44bc465219d587f46effaf9afef368da | [
"MIT"
] | 1 | 2021-09-02T11:55:45.000Z | 2021-09-02T11:55:45.000Z | client/src/components/Grid/style.css | ashkaning/project-manager-webApp | 8193505f44bc465219d587f46effaf9afef368da | [
"MIT"
] | null | null | null | .col-md-4, .col-sm-4{
margin-top: 30px;
}
.colDarkBg{
background-color: black;
color: white;
padding: 20px;
}
.colLightBorder{
border: 1px solid gray;
box-shadow: 2px 5px 10px 6px;
} | 17.166667 | 33 | 0.626214 |
cdc57953e58923f1151b6ddbbece383cc34784cb | 4,063 | cs | C# | Neustart/AppContainer.cs | SuperiorServers/Neustart | 611c4b0fb167243f4417da4edea3eb00602c89b8 | [
"MIT"
] | 8 | 2016-03-24T05:38:49.000Z | 2018-07-16T18:45:01.000Z | Neustart/AppContainer.cs | SuperiorServers/Neustart | 611c4b0fb167243f4417da4edea3eb00602c89b8 | [
"MIT"
] | 6 | 2016-08-08T20:08:42.000Z | 2022-03-24T22:25:47.000Z | Neustart/AppContainer.cs | SuperiorServers/Neustart | 611c4b0fb167243f4417da4edea3eb00602c89b8 | [
"MIT"
] | 10 | 2016-04-22T22:00:54.000Z | 2021-06-28T17:46:10.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Newtonsoft.Json;
using System.Windows.Forms;
using System.Timers;
namespace Neustart
{
public class AppContainer
{
public static event EventHandler OnLoadCompleted... | 29.230216 | 216 | 0.532857 |
3b69e529aab4094503c174d5bd3380b404b4adb1 | 3,128 | rs | Rust | src/scans_test.rs | bnclabs/robt | 2ad5d429ce3e5993d8bf9c0c07ce3c89588359a3 | [
"MIT"
] | 1 | 2022-02-25T02:18:42.000Z | 2022-02-25T02:18:42.000Z | src/scans_test.rs | bnclabs/robt | 2ad5d429ce3e5993d8bf9c0c07ce3c89588359a3 | [
"MIT"
] | 2 | 2020-12-22T17:50:31.000Z | 2020-12-22T17:53:14.000Z | src/scans_test.rs | bnclabs/robt | 2ad5d429ce3e5993d8bf9c0c07ce3c89588359a3 | [
"MIT"
] | null | null | null | use rand::{prelude::random, rngs::SmallRng, Rng, SeedableRng};
use super::*;
use crate::util;
#[test]
fn test_build_scan() {
use std::time::Duration;
let seed: u128 = random();
// let seed: u128 = 284595450980088120127817086088032225381;
println!("test_build_scan {}", seed);
let mut rng = SmallRn... | 31.59596 | 87 | 0.601023 |
be51dd1f8534ecf0f600940e6ea0f5470dcee447 | 4,154 | ts | TypeScript | src/math/Math.ts | yszhao91/xtorcga | 9e5225ce713df07e20974f5bd4411acce8faf22c | [
"MIT"
] | 264 | 2020-01-06T06:43:42.000Z | 2020-12-08T07:23:56.000Z | src/math/Math.ts | yszhao91/xtorcga | 9e5225ce713df07e20974f5bd4411acce8faf22c | [
"MIT"
] | 1 | 2020-02-25T04:34:55.000Z | 2020-10-23T07:47:32.000Z | src/math/Math.ts | yszhao91/xtorcga | 9e5225ce713df07e20974f5bd4411acce8faf22c | [
"MIT"
] | 21 | 2020-01-18T02:51:27.000Z | 2020-12-07T05:55:04.000Z | export const delta4 = 1e-4;
export const delta5 = 1e-5;
export const delta6 = 1e-6;
export const delta7 = 1e-7;
export const delta8 = 1e-8;
export const delta9 = 1e-9;
/**
* pi
*
* @type {Number}
* @constant
*/
export const PI = Math.PI;
/**
* 1/pi
*
* @type {Number}
* @constant
*/
export const ONE_OVER_PI ... | 19.411215 | 172 | 0.604959 |
8e29350b3f201102d9da54603ed7bf1d46ddf0ae | 1,927 | rs | Rust | mdlint/src/rules/md001.rs | robertohuertasm/rusty-markdownlint | 986abc7ccfb103b5a065fcdbb774780f33242712 | [
"MIT"
] | 2 | 2019-05-28T10:53:37.000Z | 2019-07-03T00:45:23.000Z | mdlint/src/rules/md001.rs | robertohuertasm/rusty-markdownlint | 986abc7ccfb103b5a065fcdbb774780f33242712 | [
"MIT"
] | null | null | null | mdlint/src/rules/md001.rs | robertohuertasm/rusty-markdownlint | 986abc7ccfb103b5a065fcdbb774780f33242712 | [
"MIT"
] | 1 | 2018-11-16T14:02:59.000Z | 2018-11-16T14:02:59.000Z | use comrak::nodes::{AstNode, NodeValue};
use crate::parser::{filter_nodes, is_heading};
use crate::rules::extensions::VecExt;
use crate::ruleset::{RuleResult, RuleResultDetails};
crate fn check<'a>(root: &'a AstNode<'a>) -> RuleResult {
let mut prev_level = 0;
let mut details: Vec<RuleResultDetails> = Vec::new... | 29.19697 | 76 | 0.582252 |
347a1242f41b54c682ab56d145d9ab2f1c25864e | 439 | sql | SQL | source/sql/trigger/comment_on_movie.sql | amirhnajafiz/DB-Final-Project | 4d7d517fe2abd9949e959fa0805259488928ec33 | [
"MIT"
] | 4 | 2021-07-22T12:03:12.000Z | 2021-07-27T22:28:45.000Z | source/sql/trigger/comment_on_movie.sql | amirhnajafiz/DB-Final-Project | 4d7d517fe2abd9949e959fa0805259488928ec33 | [
"MIT"
] | null | null | null | source/sql/trigger/comment_on_movie.sql | amirhnajafiz/DB-Final-Project | 4d7d517fe2abd9949e959fa0805259488928ec33 | [
"MIT"
] | null | null | null | CREATE TRIGGER comment_on_movie AFTER INSERT ON "comment"
BEGIN
SELECT CASE
WHEN(NEW.username NOT IN (SELECT W.username FROM "watch" as W WHERE NEW.movie_id = W.movie_id)) AND (NEW.username NOT IN (SELECT U.username FROM "watch_special" as W JOIN "special_user" as U ON W.pro_id = U.pro_id WHERE NEW.movie_i... | 54.875 | 255 | 0.70615 |
d4e71ba99d682768dc6b89789b75e42aa3519c06 | 1,296 | tsx | TypeScript | packages/memo/dev/grouped.tsx | lawrencecchen/solid-primitives | 11f7dc29b424f2caba8c7543588920b131cd09af | [
"MIT"
] | null | null | null | packages/memo/dev/grouped.tsx | lawrencecchen/solid-primitives | 11f7dc29b424f2caba8c7543588920b131cd09af | [
"MIT"
] | null | null | null | packages/memo/dev/grouped.tsx | lawrencecchen/solid-primitives | 11f7dc29b424f2caba8c7543588920b131cd09af | [
"MIT"
] | null | null | null | import { createDebouncedMemo, createThrottledMemo } from "../src";
import { Component, Show } from "solid-js";
import { createMousePosition } from "@solid-primitives/mouse";
const Grouped: Component = () => {
const [poz] = createMousePosition();
const debPoz = createDebouncedMemo(() => ({ x: poz.x(), y: poz.y() })... | 28.8 | 78 | 0.490741 |
8e5a2839a28f0c01e8a5b56741b5fdd033aec1a3 | 404 | js | JavaScript | src/rdx/actions/index.js | GoodNightCouchSide/gncs | 5193a3345b13759347b0e469ef1a1e9f584f7db0 | [
"Apache-2.0"
] | null | null | null | src/rdx/actions/index.js | GoodNightCouchSide/gncs | 5193a3345b13759347b0e469ef1a1e9f584f7db0 | [
"Apache-2.0"
] | null | null | null | src/rdx/actions/index.js | GoodNightCouchSide/gncs | 5193a3345b13759347b0e469ef1a1e9f584f7db0 | [
"Apache-2.0"
] | null | null | null | import { createAction } from 'redux-actions'
import { PUSH_ROUTE_TO_HISTORY } from 'rdx/constants/actionTypes'
export const pushRouteWihtDebounce = (debounce) =>
createAction(
PUSH_ROUTE_TO_HISTORY,
(route) => route,
() => ({
debounce: {
time: debounce,
key: 'PUSH_ROUTE_TO_HISTORY'... | 22.444444 | 65 | 0.663366 |
b2e7ddbdca73cb92800fc2213d50c880b433f6d0 | 679 | css | CSS | page_assets/style_list.css | wakepon21/Gasyori100knock | b9c92bfda9d2288d2b4742c2fb67719ee0ab338b | [
"MIT"
] | 5 | 2021-06-08T16:09:01.000Z | 2021-12-10T09:42:43.000Z | page_assets/style_list.css | wakepon21/Gasyori100knock | b9c92bfda9d2288d2b4742c2fb67719ee0ab338b | [
"MIT"
] | null | null | null | page_assets/style_list.css | wakepon21/Gasyori100knock | b9c92bfda9d2288d2b4742c2fb67719ee0ab338b | [
"MIT"
] | 1 | 2021-05-24T04:14:27.000Z | 2021-05-24T04:14:27.000Z |
/*
list checkmark
*/
.checklist{
list-style-type: none;
}
.checklist > li {
position: relative;
}
.checklist > li::after {
content: '';
display: block;
position: absolute;
top: .5em;
left: -1.5em;
width: 10px;
height: 5px;
border-left: 2px solid #25AF01;
border-bottom: 2px solid #25AF01;
trans... | 16.166667 | 35 | 0.637703 |
05a8d03267afbafd11cfe922730ee5e7d3cb4c4f | 8,030 | py | Python | tools/rs_vis.py | PengchengAi/tf-faster-rcnn-pcai | b054345728c20c8eb64561a6800e85594ce76fd3 | [
"MIT"
] | null | null | null | tools/rs_vis.py | PengchengAi/tf-faster-rcnn-pcai | b054345728c20c8eb64561a6800e85594ce76fd3 | [
"MIT"
] | null | null | null | tools/rs_vis.py | PengchengAi/tf-faster-rcnn-pcai | b054345728c20c8eb64561a6800e85594ce76fd3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# --------------------------------------------------------
# Tensorflow Faster R-CNN
# Licensed under The MIT License [see LICENSE for details]
# Written by Xinlei Chen, based on code from Ross Girshick
# --------------------------------------------------------
"""
Demo script showing detections... | 34.612069 | 108 | 0.608219 |
e6b7ef9125b87b612e5c9eda89ee064e187fbdb6 | 2,469 | h | C | Source/AstralShipwright/UI/Menu/NovaMainMenuFlight.h | arbonagw/Nova | a09331a903f4a2da1c5398f870d57b2b96dc194b | [
"BSD-3-Clause"
] | null | null | null | Source/AstralShipwright/UI/Menu/NovaMainMenuFlight.h | arbonagw/Nova | a09331a903f4a2da1c5398f870d57b2b96dc194b | [
"BSD-3-Clause"
] | null | null | null | Source/AstralShipwright/UI/Menu/NovaMainMenuFlight.h | arbonagw/Nova | a09331a903f4a2da1c5398f870d57b2b96dc194b | [
"BSD-3-Clause"
] | null | null | null | // Astral Shipwright - Gwennaël Arbona
#pragma once
#include "UI/NovaUI.h"
#include "UI/Widget/NovaTabView.h"
#include "Online.h"
/** Flight menu */
class SNovaMainMenuFlight
: public SNovaTabPanel
, public INovaGameMenu
{
/*----------------------------------------------------
Slate arguments
-------------... | 25.71875 | 112 | 0.594978 |