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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5481fa8a02fb3b0a6225ff1f8169b05ac29afdf1 | 3,688 | css | CSS | module-8/css/styles.css | Kolomiits/goit_fecore_5 | 7d3a76f8ccf661d97ac7b5637f49515b3e49ed32 | [
"Unlicense"
] | null | null | null | module-8/css/styles.css | Kolomiits/goit_fecore_5 | 7d3a76f8ccf661d97ac7b5637f49515b3e49ed32 | [
"Unlicense"
] | null | null | null | module-8/css/styles.css | Kolomiits/goit_fecore_5 | 7d3a76f8ccf661d97ac7b5637f49515b3e49ed32 | [
"Unlicense"
] | null | null | null | html {
box-sizing: border-box;
font-family: "Montserrat", sans-serif;
font-size: 14px;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
position: absolute;
width: 1px;
height: 1px;
... | 16.612613 | 47 | 0.659436 |
ef4c966c213e4cb681ed5f07cd8b7a4b471a4158 | 200,449 | c | C | Python/aot_ceval_jit.c | mananpal1997/pyston | d24bcf5690ab09f37d04549e70561656eaea4445 | [
"0BSD"
] | null | null | null | Python/aot_ceval_jit.c | mananpal1997/pyston | d24bcf5690ab09f37d04549e70561656eaea4445 | [
"0BSD"
] | null | null | null | Python/aot_ceval_jit.c | mananpal1997/pyston | d24bcf5690ab09f37d04549e70561656eaea4445 | [
"0BSD"
] | null | null | null | // This file contains the JIT compiler
// The main design choices/goals are:
// - removing the dispatching overhead of the interpreter
// - reducing reference counting overhead
// - reducing overhead related to Python value stack push/pops
// - inlined caches
// - generates calls to ahead of time generated type sp... | 39.953957 | 197 | 0.617858 |
ecd17e9d023ab10c3754dd8a95652316784ca6b9 | 109 | ps1 | PowerShell | Basic/Errors-of-unusual-type/test.6.1.missing.property.strict.ps1 | ImportTaste/PowerShellTraps | f43c215b67073cb8f22be662aab5825f72658f5a | [
"Apache-2.0"
] | 348 | 2015-04-09T19:04:40.000Z | 2022-03-17T07:32:52.000Z | Basic/Errors-of-unusual-type/test.6.1.missing.property.strict.ps1 | ImportTaste/PowerShellTraps | f43c215b67073cb8f22be662aab5825f72658f5a | [
"Apache-2.0"
] | 12 | 2015-05-20T17:17:26.000Z | 2021-04-06T09:19:28.000Z | Basic/Errors-of-unusual-type/test.6.1.missing.property.strict.ps1 | ImportTaste/PowerShellTraps | f43c215b67073cb8f22be662aab5825f72658f5a | [
"Apache-2.0"
] | 37 | 2015-05-25T08:08:51.000Z | 2022-01-20T06:26:13.000Z |
$ErrorActionPreference = 'Continue'
Set-StrictMode -Version 2
$Host.MissingProperty
'Continued after error'
| 18.166667 | 35 | 0.807339 |
bde0deb8a30d3592e55d3c909d9c4861873e5efd | 1,318 | dart | Dart | test/google_sign_in_test.dart | kevmoo/angular_fire | 858f42a6490db41e7564668e08735d767b28e30f | [
"BSD-3-Clause"
] | 1 | 2021-07-07T13:49:30.000Z | 2021-07-07T13:49:30.000Z | test/google_sign_in_test.dart | kevmoo/angular_fire | 858f42a6490db41e7564668e08735d767b28e30f | [
"BSD-3-Clause"
] | null | null | null | test/google_sign_in_test.dart | kevmoo/angular_fire | 858f42a6490db41e7564668e08735d767b28e30f | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017, Google Inc. 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.
@TestOn('browser')
@Tags(const ['aot'])
import 'package:angular2/angular2.dart';
import 'package:angular_fire/angular_fir... | 29.288889 | 78 | 0.69651 |
2c3490f95d78a6bd141324a95a17ddc6564b7cb5 | 3,232 | py | Python | python/find_dots.py | philwilkes/branch-extraction | 9e5ac58e06fbb728835db50e3c94eee5eabc65fb | [
"Unlicense"
] | 4 | 2021-04-21T21:09:11.000Z | 2022-01-02T21:05:41.000Z | python/find_dots.py | philwilkes/branch-extraction | 9e5ac58e06fbb728835db50e3c94eee5eabc65fb | [
"Unlicense"
] | null | null | null | python/find_dots.py | philwilkes/branch-extraction | 9e5ac58e06fbb728835db50e3c94eee5eabc65fb | [
"Unlicense"
] | 2 | 2021-04-21T21:09:37.000Z | 2021-07-09T11:13:49.000Z | import os
import sys
import glob
import numpy as np
import pandas as pd
from scipy.spatial import distance_matrix as distance_matrix
import warnings
warnings.simplefilter(action='ignore', category=FutureWarning)
import ply_io
import qrdar
rotation = np.array([[0, 0, 1, 0],
[0, -1, 0, 0],
... | 34.382979 | 114 | 0.587252 |
209386a0f3b8a13f773dbfa7af031e5e776df058 | 1,925 | cs | C# | Assets/FullInspector2/Modules/tkControl/Controls/tkMargin.cs | bakiya-sefer/bakiya-sefer | ead07668ffacb2f6752a88128e7e209316259b53 | [
"MIT"
] | 103 | 2015-02-10T14:34:47.000Z | 2022-03-29T19:33:18.000Z | Assets/FullInspector2/Modules/tkControl/Controls/tkMargin.cs | bakiya-sefer/bakiya-sefer | ead07668ffacb2f6752a88128e7e209316259b53 | [
"MIT"
] | 119 | 2015-01-08T07:08:59.000Z | 2020-06-08T20:32:32.000Z | Assets/FullInspector2/Modules/tkControl/Controls/tkMargin.cs | bakiya-sefer/bakiya-sefer | ead07668ffacb2f6752a88128e7e209316259b53 | [
"MIT"
] | 34 | 2015-09-15T13:22:22.000Z | 2022-02-19T20:07:23.000Z | using UnityEngine;
namespace FullInspector {
public partial class tk<T, TContext> {
public class Margin : tkControl<T, TContext> {
[ShowInInspector]
private readonly Value<float> _left, _top, _right, _bottom;
[ShowInInspector]
private readonly tkControl<T, T... | 40.104167 | 137 | 0.554805 |
741d5b8319ae07094bdb4578e66e4b3c20c6b56c | 3,371 | go | Go | runes.go | ktnyt/pars | 7d104a3a896c1954e3ba24347255e7edbcf506d1 | [
"MIT"
] | null | null | null | runes.go | ktnyt/pars | 7d104a3a896c1954e3ba24347255e7edbcf506d1 | [
"MIT"
] | null | null | null | runes.go | ktnyt/pars | 7d104a3a896c1954e3ba24347255e7edbcf506d1 | [
"MIT"
] | 1 | 2020-01-06T17:23:40.000Z | 2020-01-06T17:23:40.000Z | package pars
import (
"bytes"
"errors"
"fmt"
"strings"
"unicode/utf8"
"github.com/go-ascii/ascii"
)
func runeRep(r rune) string {
n := utf8.RuneLen(r)
if n > 1 {
return fmt.Sprintf("%c", r)
}
p := make([]byte, 1)
utf8.EncodeRune(p, r)
return ascii.Rep(p[0])
}
func runeReps(p []rune) []string {
r := m... | 22.931973 | 82 | 0.624147 |
4bb9ead4e506077a4414a01d0d8c39b7458eb9d3 | 1,508 | cpp | C++ | src/tests/src/loader/token-test.cpp | Penguin-Guru/imgbrd-grabber | 69bdd5566dc2b2cb3a67456bf1a159d544699bc9 | [
"Apache-2.0"
] | 1,449 | 2015-03-16T02:21:41.000Z | 2022-03-31T22:49:10.000Z | src/tests/src/loader/token-test.cpp | sisco0/imgbrd-grabber | 89bf97ccab3df62286784baac242f00bf006d562 | [
"Apache-2.0"
] | 2,325 | 2015-03-16T02:23:30.000Z | 2022-03-31T21:38:26.000Z | src/tests/src/loader/token-test.cpp | evanjs/imgbrd-grabber | 491f8f3c05be3fc02bc10007735c5afa19d47449 | [
"Apache-2.0"
] | 242 | 2015-03-22T11:00:54.000Z | 2022-03-31T12:37:15.000Z | #include "loader/token.h"
#include "catch.h"
TEST_CASE("Token")
{
SECTION("LazyNotCalled")
{
int callCount = 0;
Token token([&callCount]() { return ++callCount; });
REQUIRE(callCount == 0);
}
SECTION("LazyWithCaching")
{
int callCount = 0;
Token token([&callCount]() { return ++callCount; }, true);
... | 19.842105 | 91 | 0.596154 |
7abfd28c4945462f0cf02fff536b736ec7a3b8a6 | 1,393 | lua | Lua | service/network/auth.lua | Bobhu1995/skynet-demo | a4810c61c7f85b1b6cbc92006b3140a7f33d181c | [
"MIT"
] | 9 | 2020-11-30T09:23:30.000Z | 2021-02-02T11:01:31.000Z | service/network/auth.lua | Bobhu1995/skynet-demo | a4810c61c7f85b1b6cbc92006b3140a7f33d181c | [
"MIT"
] | null | null | null | service/network/auth.lua | Bobhu1995/skynet-demo | a4810c61c7f85b1b6cbc92006b3140a7f33d181c | [
"MIT"
] | 1 | 2021-03-05T15:48:26.000Z | 2021-03-05T15:48:26.000Z | local skynet = require "skynet"
local service = require "service"
local client = require "client"
local log = require "log"
local Table = require "table_op"
local auth = {}
local users = {}
local cli = client.handler()
local redis_mgr
local SUCC = { ok = true }
local FAIL = { ok = false }
function cli:signup(args)
... | 20.485294 | 88 | 0.626705 |
c61323f988124c309c68286148eaf61ee7396241 | 1,175 | rb | Ruby | spec/lib/locasms/helpers/date_time_helper_spec.rb | ztmeyer/locasms | 639ad73644a6dcc84b8e2204bcff5113c4fa0f33 | [
"MIT"
] | null | null | null | spec/lib/locasms/helpers/date_time_helper_spec.rb | ztmeyer/locasms | 639ad73644a6dcc84b8e2204bcff5113c4fa0f33 | [
"MIT"
] | null | null | null | spec/lib/locasms/helpers/date_time_helper_spec.rb | ztmeyer/locasms | 639ad73644a6dcc84b8e2204bcff5113c4fa0f33 | [
"MIT"
] | null | null | null | require 'spec_helper'
describe LocaSMS::Helpers::DateTimeHelper do
subject { LocaSMS::Helpers::DateTimeHelper }
describe '#parse' do
it 'Should call the class method' do
expect(subject).to receive(:parse)
.once
.with(:value)
subject.new.parse(:value)
end
end
describe '#sp... | 23.5 | 66 | 0.588085 |
04c3162e616a6b03a5e4ad8a642f0fe371d28920 | 10,945 | lua | Lua | resources/[esx]/[illegal]/esx_drugs/client/extazy.lua | techniciantucker/AdezouRP | f3b56984bef16ffb60f26c6cfde5527a87a71a9b | [
"MIT"
] | 1 | 2022-01-09T22:42:04.000Z | 2022-01-09T22:42:04.000Z | resources/[esx]/[illegal]/esx_drugs/client/extazy.lua | techniciantucker/AdezouRP | f3b56984bef16ffb60f26c6cfde5527a87a71a9b | [
"MIT"
] | null | null | null | resources/[esx]/[illegal]/esx_drugs/client/extazy.lua | techniciantucker/AdezouRP | f3b56984bef16ffb60f26c6cfde5527a87a71a9b | [
"MIT"
] | null | null | null | local spawnedMdmas = 0
local mdmaPlants = {}
local isPickingUp, isProcessing = false, false
local spawnedAmphets = 0
local amphetPlants = {}
-- boucle pour spawn plants
Citizen.CreateThread(function()
while true do
Citizen.Wait(10)
local coords = GetEntityCoords(PlayerPedId())
if GetDistanceBetweenCoords(coor... | 24.214602 | 116 | 0.727181 |
64159686010cda84f115c8c65c316794d2fa1f14 | 350 | py | Python | tests/test_checks.py | PeterJCLaw/flake8-multiline-containers | 490fab7dfe0cbe306841c179d9d55abc0a2ed2b2 | [
"MIT"
] | null | null | null | tests/test_checks.py | PeterJCLaw/flake8-multiline-containers | 490fab7dfe0cbe306841c179d9d55abc0a2ed2b2 | [
"MIT"
] | null | null | null | tests/test_checks.py | PeterJCLaw/flake8-multiline-containers | 490fab7dfe0cbe306841c179d9d55abc0a2ed2b2 | [
"MIT"
] | null | null | null | from flake8_multiline_containers import ErrorCodes
def test_check_opening_contains_error(linter):
linter._check_opening('{', '}', 0, "foo={a\n", ErrorCodes.JS101)
assert 1 == len(linter.errors)
def test_check_opening_no_error(linter):
linter._check_opening('{', '}', 0, "foo={\n", ErrorCodes.JS101)
a... | 29.166667 | 68 | 0.714286 |
46d353f6906ceeeda62ca23d8a5e5a761fd3aeee | 543 | py | Python | tutorials/simple_flexx.py | Telcrome/ai-trainer | 54bca3252e194c054bdd3af2b94d6dde940a2a86 | [
"MIT"
] | 1 | 2021-05-05T12:57:42.000Z | 2021-05-05T12:57:42.000Z | tutorials/simple_flexx.py | Telcrome/ai-trainer | 54bca3252e194c054bdd3af2b94d6dde940a2a86 | [
"MIT"
] | null | null | null | tutorials/simple_flexx.py | Telcrome/ai-trainer | 54bca3252e194c054bdd3af2b94d6dde940a2a86 | [
"MIT"
] | null | null | null | import os
from flexx import flx
class Example(flx.PyWidget):
def __init__(self):
self.button, self.lbl = None, None
super().__init__()
def init(self):
self.button = flx.Button(text='hello')
self.lbl = flx.Label(flex=1, style='overflow-y: scroll;')
@flx.reaction('button.p... | 20.884615 | 65 | 0.622468 |
07c2b1c9196edae14082755ccc932a8253447502 | 855 | dart | Dart | test/src/array_column_test.dart | Montana/phparray | a65afc30e9ddc2afa3cf197ef4c5d7d18ea8f411 | [
"MIT"
] | null | null | null | test/src/array_column_test.dart | Montana/phparray | a65afc30e9ddc2afa3cf197ef4c5d7d18ea8f411 | [
"MIT"
] | null | null | null | test/src/array_column_test.dart | Montana/phparray | a65afc30e9ddc2afa3cf197ef4c5d7d18ea8f411 | [
"MIT"
] | null | null | null | library php_array.array_column_test.test;
import 'package:unittest/unittest.dart';
import 'package:php_array/php_array.dart';
main(){
var testCaseList = [
{
'id': 10,
'c1': 'value11',
'c2': 'value12',
},
{
'id': 20,
'c1': 'value21',
'c2': 'value22',
},
{... | 21.923077 | 84 | 0.506433 |
7758d426e0e1aa52d170085ab070a94bc2d0d0b2 | 11,124 | lua | Lua | bin/shared/Compile.lua | pouwelsjochem/corona | 86ffe9002e42721b4bb2c386024111d995e7b27c | [
"MIT"
] | null | null | null | bin/shared/Compile.lua | pouwelsjochem/corona | 86ffe9002e42721b4bb2c386024111d995e7b27c | [
"MIT"
] | null | null | null | bin/shared/Compile.lua | pouwelsjochem/corona | 86ffe9002e42721b4bb2c386024111d995e7b27c | [
"MIT"
] | null | null | null | #!/usr/bin/env lua
--------------------------------------------------------------------------------
-- NOTE: this script is functionally equivalent to bin/mac/CompileScripts.sh
-- If you are changing this one, you probably want to change the other.
----------------------------------------------------------------... | 29.120419 | 132 | 0.651115 |
d309076e9f58067af3272a1c4d9fabbc75ac4326 | 1,557 | cs | C# | MassTransit.Season1/1_InMemory_Mediator/src/Sample.API/Controllers/OrderController.cs | AdamGrzonkowski/MassTransit_SampleProject | c52b7c86f0216f2af95c81a150456673cec5ef1b | [
"Apache-2.0"
] | null | null | null | MassTransit.Season1/1_InMemory_Mediator/src/Sample.API/Controllers/OrderController.cs | AdamGrzonkowski/MassTransit_SampleProject | c52b7c86f0216f2af95c81a150456673cec5ef1b | [
"Apache-2.0"
] | null | null | null | MassTransit.Season1/1_InMemory_Mediator/src/Sample.API/Controllers/OrderController.cs | AdamGrzonkowski/MassTransit_SampleProject | c52b7c86f0216f2af95c81a150456673cec5ef1b | [
"Apache-2.0"
] | null | null | null | using System.Net;
using MassTransit;
using Microsoft.AspNetCore.Mvc;
using Sample.Contracts;
namespace Twitch.Controllers
{
[ApiController]
[Route("[controller]")]
public class OrderController : ControllerBase
{
private readonly ILogger<OrderController> _logger;
private readonly IReque... | 34.6 | 136 | 0.633269 |
634405b900b2ae55bba575909994c0f80563d911 | 1,515 | rs | Rust | src/models/tweet.rs | magurotuna/kuon | 9409e21910e305aefbe5b60d6244997856fe66a7 | [
"MIT"
] | 1 | 2020-06-15T06:20:17.000Z | 2020-06-15T06:20:17.000Z | src/models/tweet.rs | magurotuna/kuon | 9409e21910e305aefbe5b60d6244997856fe66a7 | [
"MIT"
] | null | null | null | src/models/tweet.rs | magurotuna/kuon | 9409e21910e305aefbe5b60d6244997856fe66a7 | [
"MIT"
] | null | null | null | // #[derive(Debug, Clone, Deserialize)]
// pub(crate) struct RawTweet {
// pub coordinates: Option<RawCoordinates>,
// #[serde(deserialize_with = "deserialize_datetime")]
// pub created_at: chrono::DateTime<chrono::Utc>,
// pub current_user_retweet: Option<CurrentUserRetweet>,
// pub display_text_ra... | 40.945946 | 62 | 0.666667 |
eb202b8b31deb3dd2510d5f7538ed8e06cdf4b36 | 1,575 | css | CSS | Esercizi-CSS/04 Grid/start/style.css | Edoardo-Longo/Esercizi-CSS | baac95b7619b8fcb5508c3bc435063c2242104ab | [
"MIT"
] | null | null | null | Esercizi-CSS/04 Grid/start/style.css | Edoardo-Longo/Esercizi-CSS | baac95b7619b8fcb5508c3bc435063c2242104ab | [
"MIT"
] | null | null | null | Esercizi-CSS/04 Grid/start/style.css | Edoardo-Longo/Esercizi-CSS | baac95b7619b8fcb5508c3bc435063c2242104ab | [
"MIT"
] | null | null | null | *{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
display: flex;
justify-content: center;
align-items: center;
}
.calculator{
font-size: 5rem;
width: 700px;
height: 700px;
border: 1px solid black;
display: grid;
grid-template-columns: repeat(4,... | 20.192308 | 43 | 0.586667 |
b359169bb6abe7d9dc8abc629c722ce2193a4db7 | 680 | py | Python | botclean/Strategies/random_walk.py | Kabix1/HackerRank | 1570fd451a06f68f78268c02096fd28d39ee3df0 | [
"Apache-2.0"
] | null | null | null | botclean/Strategies/random_walk.py | Kabix1/HackerRank | 1570fd451a06f68f78268c02096fd28d39ee3df0 | [
"Apache-2.0"
] | null | null | null | botclean/Strategies/random_walk.py | Kabix1/HackerRank | 1570fd451a06f68f78268c02096fd28d39ee3df0 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import random
def is_valid(pos, board):
try:
board[pos[0]][pos[1]]
except IndexError:
return False
if min(pos) < 0:
return False
return True
def _next_move(pos, board):
moves = {
"RIGHT": np.array((0, 1)),
"UP": np.array((-1, 0)),
... | 21.935484 | 42 | 0.508824 |
b224bb878b19bbe1b3c712ae27891f8be80cf01c | 724 | rb | Ruby | ee/spec/factories/users.rb | nowkoai/test | 7aca51cce41acd7ec4c393d1bb1185a4a2ca1d07 | [
"MIT"
] | 2 | 2020-11-23T17:03:26.000Z | 2021-08-18T02:56:43.000Z | ee/spec/factories/users.rb | nowkoai/test | 7aca51cce41acd7ec4c393d1bb1185a4a2ca1d07 | [
"MIT"
] | 26 | 2020-12-08T02:47:19.000Z | 2022-02-26T02:18:34.000Z | ee/spec/factories/users.rb | nowkoai/test | 7aca51cce41acd7ec4c393d1bb1185a4a2ca1d07 | [
"MIT"
] | 4 | 2020-09-23T08:06:56.000Z | 2020-11-06T04:49:12.000Z | # frozen_string_literal: true
FactoryBot.modify do
factory :user do
trait :auditor do
auditor { true }
end
trait :group_managed do
association :managing_group, factory: :group_with_managed_accounts
after(:create) do |user, evaluator|
create(:group_saml_identity,
user... | 20.111111 | 72 | 0.660221 |
e27920ba4e7397c05cd823240f07f346c810a3a2 | 843 | py | Python | dependencies/src/4Suite-XML-1.0.2/test/Xml/Xslt/Borrowed/mb_20011019.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | null | null | null | dependencies/src/4Suite-XML-1.0.2/test/Xml/Xslt/Borrowed/mb_20011019.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | null | null | null | dependencies/src/4Suite-XML-1.0.2/test/Xml/Xslt/Borrowed/mb_20011019.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | 1 | 2020-07-26T03:57:45.000Z | 2020-07-26T03:57:45.000Z | # expat2domlette.c seems to get confused about xmlns attributes,
# like which part is the localName and which part is the prefix.
from Xml.Xslt import test_harness
source_1 = """\
<?xml version="1.0"?>
<foobar/>"""
sheet_1 = """\
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/199... | 25.545455 | 64 | 0.66548 |
fea6925ca2280703ccf3e29d0c57cbf1095b659c | 1,631 | swift | Swift | Examples/Watch Extension/InterfaceController.swift | tozny/swift-sodium | a060b1301d87db1a48f4d3ed07bdffff8eaab987 | [
"ISC"
] | 474 | 2015-01-02T17:53:31.000Z | 2022-03-31T06:22:55.000Z | Examples/Watch Extension/InterfaceController.swift | tozny/swift-sodium | a060b1301d87db1a48f4d3ed07bdffff8eaab987 | [
"ISC"
] | 234 | 2015-01-06T06:53:02.000Z | 2022-02-16T16:04:18.000Z | Examples/Watch Extension/InterfaceController.swift | tozny/swift-sodium | a060b1301d87db1a48f4d3ed07bdffff8eaab987 | [
"ISC"
] | 215 | 2015-01-06T05:57:48.000Z | 2022-03-25T22:29:15.000Z | //
// InterfaceController.swift
// Example Watch Extension
//
// Created by Joseph Ross on 10/2/18.
// Copyright © 2018 Frank Denis. All rights reserved.
//
import WatchKit
import Foundation
import Sodium
class InterfaceController: WKInterfaceController {
override func awake(withContext context: Any?) {
... | 30.203704 | 90 | 0.640711 |
2a5248192ec52f58c0428a48bb3bb5890e9ab445 | 857 | css | CSS | blindspotapp/static/blindspotapp/getinfo.css | LucyWilcox/VIEW-site | b49dd7800688cf3ffae785b59025e035e94d0231 | [
"MIT"
] | null | null | null | blindspotapp/static/blindspotapp/getinfo.css | LucyWilcox/VIEW-site | b49dd7800688cf3ffae785b59025e035e94d0231 | [
"MIT"
] | 9 | 2020-06-05T16:49:15.000Z | 2022-01-06T00:51:57.000Z | blindspotapp/static/blindspotapp/getinfo.css | LucyWilcox/VIEW-site | b49dd7800688cf3ffae785b59025e035e94d0231 | [
"MIT"
] | 1 | 2020-03-27T13:30:22.000Z | 2020-03-27T13:30:22.000Z | .container {
margin: 0 auto;
display: block;
}
.grid-container-1 {
display: grid;
grid-template-columns: auto;
padding: 10px;
margin: auto;
}
.grid-item-1 {
background-color: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(0, 0, 0, 0.8);
padding: 10px;
font-size: 20px;
text-align: center;
}
.grid... | 17.854167 | 45 | 0.638273 |
93c44bab6df3c72b283ac243427652c2cb809ce3 | 962 | cs | C# | SortingLibrary/SortingLibrary/SortingMethod/BubbleSort.cs | artgl42/Algorithms | 0d24d6774b35b3d070ed3c50c8b52ffe0b4e5714 | [
"MIT"
] | null | null | null | SortingLibrary/SortingLibrary/SortingMethod/BubbleSort.cs | artgl42/Algorithms | 0d24d6774b35b3d070ed3c50c8b52ffe0b4e5714 | [
"MIT"
] | null | null | null | SortingLibrary/SortingLibrary/SortingMethod/BubbleSort.cs | artgl42/Algorithms | 0d24d6774b35b3d070ed3c50c8b52ffe0b4e5714 | [
"MIT"
] | null | null | null | using System;
namespace SortingLibrary
{
public class BubbleSort : ISortingMethod
{
public ulong Sort<T>(T[] arrayForSort) where T : IComparable<T>
{
T _temp;
ulong _count = 0;
bool _swap;
for (int i = 0; i < arrayForSort.Length; i++)
... | 27.485714 | 75 | 0.37422 |
0cc4792c8814caa8ea610024a630891574faea57 | 5,658 | dart | Dart | lib/domain/entity/RankingUserInfo.dart | yzhui/sailmi-mifere-app | 9f43d401cff9e2d05a099f2fce0e3287dd9a7618 | [
"MIT"
] | 154 | 2019-10-08T05:44:00.000Z | 2022-03-21T03:11:51.000Z | lib/domain/entity/RankingUserInfo.dart | yzhui/sailmi-mifere-app | 9f43d401cff9e2d05a099f2fce0e3287dd9a7618 | [
"MIT"
] | 148 | 2019-10-07T01:39:09.000Z | 2021-12-03T15:26:31.000Z | lib/domain/entity/RankingUserInfo.dart | yzhui/sailmi-mifere-app | 9f43d401cff9e2d05a099f2fce0e3287dd9a7618 | [
"MIT"
] | 38 | 2019-10-08T07:45:31.000Z | 2021-12-03T15:05:04.000Z |
import 'package:todo_app/domain/entity/Pet.dart';
import 'package:todo_app/domain/entity/Pets.dart';
import 'package:todo_app/domain/repository/DateRepository.dart';
class RankingUserInfo {
static const KEY_UID = 'uid';
static const KEY_NAME = 'name';
static const KEY_COMPLETION_RATIO = 'completion_ratio';
st... | 32.705202 | 117 | 0.72128 |
07e58a98475796b9d3a6e82d34b83b071fee3cb0 | 1,259 | css | CSS | css/styles.css | alexandraholcombe/pig-dice | e4c3a55e3baf832dc9ca66f8d24d60fdf74cd71d | [
"MIT"
] | null | null | null | css/styles.css | alexandraholcombe/pig-dice | e4c3a55e3baf832dc9ca66f8d24d60fdf74cd71d | [
"MIT"
] | null | null | null | css/styles.css | alexandraholcombe/pig-dice | e4c3a55e3baf832dc9ca66f8d24d60fdf74cd71d | [
"MIT"
] | null | null | null | @font-face {
font-family: 'dPoly Block Dice';
src: url('../resources/dPoly-Block-Dice.ttf.eot'); /* IE9 Compat Modes */
src: url('../resources/dPoly-Block-Dice?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../resources/dPoly-Block-Dice.ttf.woff') format('woff'), /* Pretty Modern Browsers */
url('..... | 20.639344 | 93 | 0.639396 |
20ba123f041ad5c8982b0844a125980ee9a462c0 | 1,952 | cs | C# | KilyCore.DataEntity/RequestMapper/Repast/RequestRepastArticleInStock.cs | EmilyEdna/KilyCore | 3dda9b733f5a654f2b4b62f86183c065b4699155 | [
"Apache-2.0"
] | 4 | 2017-09-29T08:13:13.000Z | 2021-02-22T17:39:35.000Z | KilyCore.DataEntity/RequestMapper/Repast/RequestRepastArticleInStock.cs | EmilyEdna/KilyCore | 3dda9b733f5a654f2b4b62f86183c065b4699155 | [
"Apache-2.0"
] | null | null | null | KilyCore.DataEntity/RequestMapper/Repast/RequestRepastArticleInStock.cs | EmilyEdna/KilyCore | 3dda9b733f5a654f2b4b62f86183c065b4699155 | [
"Apache-2.0"
] | 1 | 2017-09-29T08:40:06.000Z | 2017-09-29T08:40:06.000Z | using System;
using System.Collections.Generic;
using System.Text;
#region << 版 本 注 释 >>
/*----------------------------------------------------------------
* 类 名 称 :RequestRepastArticleInStock
* 类 描 述 :
* 命名空间 :KilyCore.DataEntity.RequestMapper.Repast
* 机器名称 :EMILY
* CLR 版本 :4.0.30319.42000
* 作 者 :$刘泽华$
* 创建时间 :2... | 27.492958 | 68 | 0.419057 |
d4aca08a7bb00c3cde91e0aad6f9a2352bef16d6 | 20,515 | dart | Dart | ColourPattern/lib/study_src/Survey/consent_form.dart | geddesc/CHI-2022-Improving-Colour-Patterns | 761b34a72c6b79ce498a11941a2076d71fcf5429 | [
"MIT"
] | null | null | null | ColourPattern/lib/study_src/Survey/consent_form.dart | geddesc/CHI-2022-Improving-Colour-Patterns | 761b34a72c6b79ce498a11941a2076d71fcf5429 | [
"MIT"
] | null | null | null | ColourPattern/lib/study_src/Survey/consent_form.dart | geddesc/CHI-2022-Improving-Colour-Patterns | 761b34a72c6b79ce498a11941a2076d71fcf5429 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:observationStudyScaffold/pages/custom_route.dart';
import 'package:observationStudyScaffold/theme/design_theme.dart';
class ConsentForm extends StatelessWidget {
final Function onNext;
ConsentForm({
@required this.onNext,
});
@override
Widget build... | 58.28125 | 506 | 0.473556 |
0662d8cf7753c736ff0cb2d02881654ab5428106 | 326 | sql | SQL | Filtered users and their courses.sql | hn-88/ad-hoc-moodle-database-queries | dca20ef720803d2279a2cda31b081de93ead92a8 | [
"MIT"
] | null | null | null | Filtered users and their courses.sql | hn-88/ad-hoc-moodle-database-queries | dca20ef720803d2279a2cda31b081de93ead92a8 | [
"MIT"
] | null | null | null | Filtered users and their courses.sql | hn-88/ad-hoc-moodle-database-queries | dca20ef720803d2279a2cda31b081de93ead92a8 | [
"MIT"
] | null | null | null | SELECT u.id, u.idnumber, u.username, u.firstname, u.lastname, u.email, u.institution, c.fullname as "Courses enrolled"
FROM prefix_course AS c
JOIN prefix_context AS ctx ON c.id = ctx.instanceid
JOIN prefix_role_assignments AS ra ON ra.contextid = ctx.id
JOIN prefix_user AS u ON u.id = ra.userid
WHERE u.idnumber like :... | 46.571429 | 118 | 0.779141 |
b657b59826ca23cb4706d0a959f38e07ad4a1f53 | 13,193 | html | HTML | src/assets/Category Sets/History/History178.html | Holy-Spirit-Scholar-Bowl/practice | 898c2e15ddb3eb859a1d38332b9a99a7954b80ce | [
"Unlicense"
] | null | null | null | src/assets/Category Sets/History/History178.html | Holy-Spirit-Scholar-Bowl/practice | 898c2e15ddb3eb859a1d38332b9a99a7954b80ce | [
"Unlicense"
] | null | null | null | src/assets/Category Sets/History/History178.html | Holy-Spirit-Scholar-Bowl/practice | 898c2e15ddb3eb859a1d38332b9a99a7954b80ce | [
"Unlicense"
] | null | null | null | 1. History/American (PACE NSC 2015)<br><strong>The Committee of 25 was an influential group of businessmen in this city that engineered the campaign of Norris Poulson for mayor. Harrison Gray Otis founded the Merchants and Manufacturers Association to keep unions out of this city and published its major newspaper. He w... | 13,193 | 13,193 | 0.795573 |
db9daf132b409637cb45b2ced10baef3e28f913d | 30,307 | php | PHP | test/suite/Mock/Builder/MockBuilderTest.php | eloquent/phony | 4ff70c4b787fe51754d41913005e6fa532bfd9a1 | [
"MIT"
] | 202 | 2015-04-16T22:28:39.000Z | 2022-03-21T12:23:01.000Z | test/suite/Mock/Builder/MockBuilderTest.php | eloquent/phony | 4ff70c4b787fe51754d41913005e6fa532bfd9a1 | [
"MIT"
] | 199 | 2015-01-06T05:00:09.000Z | 2022-03-06T02:13:39.000Z | test/suite/Mock/Builder/MockBuilderTest.php | eloquent/phony | 4ff70c4b787fe51754d41913005e6fa532bfd9a1 | [
"MIT"
] | 12 | 2015-10-18T02:28:51.000Z | 2021-07-07T13:32:23.000Z | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Builder;
use ArrayIterator;
use ArrayObject;
use Countable;
use DateTime;
use DateTimeImmutable;
use DateTimeInterface;
use Eloquent\Phony\Invocation\InvocableInspector;
use Eloquent\Phony\Mock\Exception\ClassExistsException;
use Eloquent\Phony\Mock\Except... | 32.870933 | 110 | 0.566008 |
de0499f019d0a8be18b7c38b5602d26f53f2e97c | 2,136 | swift | Swift | ImageDocker/UI.Controls/StackView/StackBodyViewController.swift | kelvinjjwong/ImageDocker | aa5a5ea08881d11acc15846a6b650755d54457dd | [
"MIT"
] | 5 | 2019-03-09T02:26:18.000Z | 2020-04-06T17:35:39.000Z | ImageDocker/UI.Controls/StackView/StackBodyViewController.swift | kelvinjjwong/ImageDocker | aa5a5ea08881d11acc15846a6b650755d54457dd | [
"MIT"
] | 1 | 2019-07-21T06:50:54.000Z | 2019-07-21T06:53:20.000Z | ImageDocker/UI.Controls/StackView/StackBodyViewController.swift | kelvinjjwong/ImageDocker | aa5a5ea08881d11acc15846a6b650755d54457dd | [
"MIT"
] | 2 | 2019-05-10T09:58:25.000Z | 2020-01-03T05:56:42.000Z | //
// BaseViewController.swift
// TreeView
//
// Created by Kelvin Wong on 2019/12/14.
// Copyright © 2019 nonamecat. All rights reserved.
//
import Cocoa
class CustomStackView : NSStackView {
override var isFlipped: Bool { return true }
}
class StackBodyViewController : NSViewController, StackItemBody ... | 28.105263 | 144 | 0.651217 |
cdef8f4257a2497ae30b3103ee8cf4efce469177 | 5,668 | cs | C# | 04.MultidimensionalArrays-Exercise/07.KnightGame/Program.cs | stefani-karaustova/03.C-Sharp-Advanced | b3aa8b6835d7e4d15a71b6057915cf4660923278 | [
"MIT"
] | null | null | null | 04.MultidimensionalArrays-Exercise/07.KnightGame/Program.cs | stefani-karaustova/03.C-Sharp-Advanced | b3aa8b6835d7e4d15a71b6057915cf4660923278 | [
"MIT"
] | null | null | null | 04.MultidimensionalArrays-Exercise/07.KnightGame/Program.cs | stefani-karaustova/03.C-Sharp-Advanced | b3aa8b6835d7e4d15a71b6057915cf4660923278 | [
"MIT"
] | null | null | null | using System;
namespace _07.KnightGame
{
class Program
{
static void Main(string[] args)
{
var size = int.Parse(Console.ReadLine());
char[,] matrix = new char[size, size];
byte[,] canAtack = new byte[size, size];
byte[,] canBeAttacked = new byte... | 33.146199 | 100 | 0.240296 |
350f085281c71d58a24486b30e7513bdf4e71f11 | 463 | dart | Dart | lib/views/global_music_player_page/components/global_player_buttonsbar_component/reducer.dart | 1906374092/FRDX_NeteaseMusic | 161a700507ce146a9ed1b4b20d60b34877814ab1 | [
"MIT"
] | 1 | 2020-12-04T09:44:50.000Z | 2020-12-04T09:44:50.000Z | lib/views/global_music_player_page/components/global_player_buttonsbar_component/reducer.dart | 1906374092/FRDX_NeteaseMusic | 161a700507ce146a9ed1b4b20d60b34877814ab1 | [
"MIT"
] | null | null | null | lib/views/global_music_player_page/components/global_player_buttonsbar_component/reducer.dart | 1906374092/FRDX_NeteaseMusic | 161a700507ce146a9ed1b4b20d60b34877814ab1 | [
"MIT"
] | null | null | null | import 'package:fish_redux/fish_redux.dart';
import 'action.dart';
import 'state.dart';
Reducer<GlobalPlayerButtonsbarState> buildReducer() {
return asReducer(
<Object, Reducer<GlobalPlayerButtonsbarState>>{
GlobalPlayerButtonsbarAction.action: _onAction,
},
);
}
GlobalPlayerButtonsbarState _onActi... | 24.368421 | 61 | 0.768898 |
e2b840809b699ab185450306eb2e4ed2ad9a4e95 | 342 | py | Python | blog/admin.py | Benz-Solutions/MyWebsite | d60601f7f390c9d8a4b4394b321cf3b2cdc4b26a | [
"MIT"
] | null | null | null | blog/admin.py | Benz-Solutions/MyWebsite | d60601f7f390c9d8a4b4394b321cf3b2cdc4b26a | [
"MIT"
] | null | null | null | blog/admin.py | Benz-Solutions/MyWebsite | d60601f7f390c9d8a4b4394b321cf3b2cdc4b26a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
# Register your models here.
class ArticleAdmin(admin.ModelAdmin):
prepopulated_fields = {'slug': ('title',)}
class CategoryAdmin(admin.ModelAdmin):
prepopulated_fields = {'slug': ('name',)}
admin.site.register(Category, CategoryAdmin)
admin.site.register(... | 34.2 | 46 | 0.760234 |
c0159671c3c7ac16164732f87be6f913fe9400a1 | 1,252 | rs | Rust | src/utils/facade.rs | savaki/oura | 05527037c8ba2e2810554684f492339487b14a19 | [
"Apache-2.0"
] | 124 | 2021-12-04T11:13:09.000Z | 2022-03-26T10:51:19.000Z | src/utils/facade.rs | savaki/oura | 05527037c8ba2e2810554684f492339487b14a19 | [
"Apache-2.0"
] | 95 | 2021-12-14T05:44:16.000Z | 2022-03-31T22:38:28.000Z | src/utils/facade.rs | savaki/oura | 05527037c8ba2e2810554684f492339487b14a19 | [
"Apache-2.0"
] | 16 | 2021-12-09T19:07:55.000Z | 2022-03-28T16:01:05.000Z | use super::*;
///! A friendly facade to simplify access to common utils procedures
impl Utils {
// To be used by source stages to access the cursor, if any
pub fn get_cursor_if_any(&self) -> Option<cursor::PointArg> {
match &self.cursor {
Some(provider) => provider.get_cursor(),
... | 29.116279 | 80 | 0.575879 |
f8fdb8f91d8b0ab17832f710421b06e8b6141c7e | 1,903 | cc | C++ | chrome/common/privacy_budget/privacy_budget_settings_provider.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/common/privacy_budget/privacy_budget_settings_provider.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/common/privacy_budget/privacy_budget_settings_provider.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/privacy_budget/privacy_budget_settings_provider.h"
#include <memory>
#include "base/containers/contains.h"
#include "base/ranges... | 39.645833 | 80 | 0.794535 |
c6ac16548b8e8dbd03c7dd828b2f08dd5d9bd025 | 1,593 | py | Python | authentication/forms.py | klevamane/zuriboard-blog | ad73802923611c8c55aa4fe4855aa263fe179620 | [
"MIT"
] | null | null | null | authentication/forms.py | klevamane/zuriboard-blog | ad73802923611c8c55aa4fe4855aa263fe179620 | [
"MIT"
] | null | null | null | authentication/forms.py | klevamane/zuriboard-blog | ad73802923611c8c55aa4fe4855aa263fe179620 | [
"MIT"
] | null | null | null | from django.contrib.auth import authenticate
from django.contrib.auth.forms import UserCreationForm, AuthenticationForm
from django import forms
from authentication.models import User
class SignupForm(UserCreationForm):
email = forms.EmailField(required=True)
firstname = forms.CharField(max_length=100, requi... | 32.510204 | 90 | 0.622097 |
3c7cbe67fc90502cc3f1681643a6321d4cabbd0f | 773 | swift | Swift | Classes/ UIImageView+Chain.swift | MnkGitBox/MNkSupportUtilities | 69b17c4491efc39eabb1fa00455d7258a473e587 | [
"MIT"
] | null | null | null | Classes/ UIImageView+Chain.swift | MnkGitBox/MNkSupportUtilities | 69b17c4491efc39eabb1fa00455d7258a473e587 | [
"MIT"
] | null | null | null | Classes/ UIImageView+Chain.swift | MnkGitBox/MNkSupportUtilities | 69b17c4491efc39eabb1fa00455d7258a473e587 | [
"MIT"
] | null | null | null | //
// UIImageView+Chain.swift
// iDak
//
// Created by Malith Nadeeshan on 4/5/20.
// Copyright © 2020 Malith Nadeeshan. All rights reserved.
//
import UIKit
extension UIKitChain where Component: UIImageView {
///Generic property set with -> clipsToBounds = true & contentMode = .scaleAspectFill
publi... | 24.15625 | 89 | 0.637775 |
da730857f5cd4734d9d023a2d2f5081857e1d8f0 | 112 | dart | Dart | my_serial_list/lib/features/account/domain/entities/user/edit_user.dart | misiek231/My-serial-list | deb97636b75c0602164d46a7538c77e3cd42edbc | [
"MIT"
] | 2 | 2020-02-16T22:37:23.000Z | 2020-03-02T16:34:14.000Z | my_serial_list/lib/features/account/domain/entities/user/edit_user.dart | misiek231/My-serial-list | deb97636b75c0602164d46a7538c77e3cd42edbc | [
"MIT"
] | null | null | null | my_serial_list/lib/features/account/domain/entities/user/edit_user.dart | misiek231/My-serial-list | deb97636b75c0602164d46a7538c77e3cd42edbc | [
"MIT"
] | 1 | 2020-03-02T16:37:11.000Z | 2020-03-02T16:37:11.000Z | class EditUserModel {
String userName;
String password;
String name;
String surname;
String email;
}
| 14 | 22 | 0.714286 |
b08bd16f9d454b1946573ba606d8c15f6761f117 | 206 | py | Python | OccurenceProbability.py | AnmolSethi/Python---Challenges- | 83cce9334f58a91bee6ed08f34eea19b0139472f | [
"MIT"
] | null | null | null | OccurenceProbability.py | AnmolSethi/Python---Challenges- | 83cce9334f58a91bee6ed08f34eea19b0139472f | [
"MIT"
] | null | null | null | OccurenceProbability.py | AnmolSethi/Python---Challenges- | 83cce9334f58a91bee6ed08f34eea19b0139472f | [
"MIT"
] | null | null | null | from itertools import combinations
N = int(input())
DATA = input().split()
M = int(input())
C = list(combinations(DATA, M))
F = filter(lambda c: 'a' in c, C)
print('{0:.3f}'.format(len(list(F)) / len(C))) | 22.888889 | 46 | 0.631068 |
397ca5dfea095d7b3c4e9de5f1775e307f07915b | 2,386 | ps1 | PowerShell | Posh-ACME/Public/Unpublish-Challenge.ps1 | torbjornlandin/Posh-ACME | 95ba84a3c9a218c3ff2dd859637bbb9cf4631629 | [
"MIT"
] | 556 | 2018-04-28T07:17:01.000Z | 2022-03-21T21:11:48.000Z | Posh-ACME/Public/Unpublish-Challenge.ps1 | torbjornlandin/Posh-ACME | 95ba84a3c9a218c3ff2dd859637bbb9cf4631629 | [
"MIT"
] | 376 | 2018-04-26T23:49:30.000Z | 2022-03-30T03:35:00.000Z | Posh-ACME/Public/Unpublish-Challenge.ps1 | torbjornlandin/Posh-ACME | 95ba84a3c9a218c3ff2dd859637bbb9cf4631629 | [
"MIT"
] | 210 | 2018-04-30T21:43:50.000Z | 2022-03-19T21:51:58.000Z | function Unpublish-Challenge {
[CmdletBinding()]
param(
[Parameter(Mandatory,Position=0)]
[string]$Domain,
[Parameter(Mandatory,Position=1)]
[PSTypeName('PoshACME.PAAccount')]$Account,
[Parameter(Mandatory,Position=2)]
[string]$Token,
[Parameter(M... | 39.766667 | 127 | 0.645013 |
2aa42a133e9a563317e17d1d180f7c2bd91b69ad | 4,002 | rs | Rust | libs/debugger/src/minidump.rs | pacbypass/og_mesos_fuzzer | ad932fe477b04b6083d69034be9d8879a8f8da1a | [
"MIT"
] | 39 | 2019-10-12T14:57:28.000Z | 2022-02-08T14:46:29.000Z | libs/debugger/src/minidump.rs | pacbypass/og_mesos_fuzzer | ad932fe477b04b6083d69034be9d8879a8f8da1a | [
"MIT"
] | null | null | null | libs/debugger/src/minidump.rs | pacbypass/og_mesos_fuzzer | ad932fe477b04b6083d69034be9d8879a8f8da1a | [
"MIT"
] | 11 | 2019-10-17T22:13:59.000Z | 2020-10-05T09:14:04.000Z | /// Module containing utilities to create full minidumps of processes
use winapi::um::winnt::EXCEPTION_POINTERS;
use winapi::um::winnt::GENERIC_READ;
use winapi::um::winnt::GENERIC_WRITE;
use winapi::um::winnt::EXCEPTION_RECORD;
use winapi::um::fileapi::CREATE_NEW;
use winapi::um::winnt::HANDLE;
use winapi::um::fileap... | 38.114286 | 76 | 0.617691 |
c3feee9aaaf4a2aff33a0f63f72bc6edbd61829e | 9,209 | cs | C# | test/Sphere10.FrameworkTester/VisualInheritanceFixerBase.Designer.cs | Sphere10/Framework | 5f6d9ed67dd6ec3b938d9d24223aa92ca21d9e2e | [
"MIT"
] | 1 | 2020-05-22T00:02:56.000Z | 2020-05-22T00:02:56.000Z | test/Sphere10.FrameworkTester/VisualInheritanceFixerBase.Designer.cs | Sphere10/Framework | 5f6d9ed67dd6ec3b938d9d24223aa92ca21d9e2e | [
"MIT"
] | null | null | null | test/Sphere10.FrameworkTester/VisualInheritanceFixerBase.Designer.cs | Sphere10/Framework | 5f6d9ed67dd6ec3b938d9d24223aa92ca21d9e2e | [
"MIT"
] | 1 | 2020-12-22T02:37:51.000Z | 2020-12-22T02:37:51.000Z | //-----------------------------------------------------------------------
// <copyright file="VisualInheritanceFixerBase.Designer.cs" company="Sphere 10 Software">
//
// Copyright (c) Sphere 10 Software. All rights reserved. (http://www.sphere10.com)
//
// Distributed under the MIT software license, see the accompanyin... | 39.865801 | 101 | 0.719188 |
f4afbbde0668c1817d463e36b20fa7b13f246c21 | 1,855 | ts | TypeScript | test/node/preprocess/encoder.ts | imgcook/datacook | b88d298d77d8f35422455f6e75bddfafbf921820 | [
"Apache-2.0"
] | 33 | 2020-11-05T10:51:30.000Z | 2022-02-10T05:23:44.000Z | test/node/preprocess/encoder.ts | imgcook/datacook | b88d298d77d8f35422455f6e75bddfafbf921820 | [
"Apache-2.0"
] | 44 | 2020-10-28T10:27:13.000Z | 2022-02-09T15:15:24.000Z | test/node/preprocess/encoder.ts | imgcook/datacook | b88d298d77d8f35422455f6e75bddfafbf921820 | [
"Apache-2.0"
] | 5 | 2020-11-02T23:00:05.000Z | 2021-12-29T06:30:16.000Z | import { eigenSolve } from '../../../src/linalg/eigen';
import '@tensorflow/tfjs-backend-cpu';
import * as tf from '@tensorflow/tfjs-core';
import { tensorEqual } from '../../../src/linalg/utils';
import { assert } from 'chai';
import 'mocha';
import { OneHotEncoder } from '../../../src/preprocess';
const x = ['tree',... | 30.409836 | 67 | 0.607547 |
64364d57fbf77402a81c753d147e6d8619dee81f | 828 | py | Python | expose.py | mzal/pysweeper | 175ae570c001760d4f7a5122a5eb0b50ef36e046 | [
"MIT"
] | null | null | null | expose.py | mzal/pysweeper | 175ae570c001760d4f7a5122a5eb0b50ef36e046 | [
"MIT"
] | null | null | null | expose.py | mzal/pysweeper | 175ae570c001760d4f7a5122a5eb0b50ef36e046 | [
"MIT"
] | null | null | null | def expose(board, x, y):
if not board[y][x].flagged:
board[y][x].exposed = True
#debug print(x, y, sep='\t')
if x == 0 or x == len(board[0]) - 1 or y == 0 or y == len(board) - 1 or board[y][x].mine:
return 0
if board[y][x].neighbours == 0:
if board[y-1][x-1].exposed is Fals... | 43.578947 | 93 | 0.556763 |
14bf34736f76c9de522490749e04815897fc6b38 | 1,909 | ts | TypeScript | fashionretail-frontend/src/app/supplierviewprofile/supplierviewprofile.component.ts | NilakshiS/BackupRepo | 56e29b80de47622000606465f6e52572ffc49d9a | [
"Apache-2.0"
] | null | null | null | fashionretail-frontend/src/app/supplierviewprofile/supplierviewprofile.component.ts | NilakshiS/BackupRepo | 56e29b80de47622000606465f6e52572ffc49d9a | [
"Apache-2.0"
] | 9 | 2020-03-04T22:15:30.000Z | 2022-03-02T05:36:40.000Z | fashionretail-frontend/src/app/supplierviewprofile/supplierviewprofile.component.ts | NilakshiS/BackupRepo | 56e29b80de47622000606465f6e52572ffc49d9a | [
"Apache-2.0"
] | null | null | null | import { Component, OnInit, Inject} from '@angular/core';
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { Supplier } from '../models/Supplier';
import { SupplierService } from '../services/supplier.service';
export interface DialogData {
city: string;
contactNumber: nu... | 24.474359 | 99 | 0.686747 |
e2507efb5c8a74272e08a571751c000192311e80 | 1,229 | asm | Assembly | solutions/39-re coordinator/standard division.asm | Ernesto-Alvarez/HRM-Puzzles | 2ec938341dbf67cd186a1d7f1e794a3acd63155f | [
"Unlicense"
] | null | null | null | solutions/39-re coordinator/standard division.asm | Ernesto-Alvarez/HRM-Puzzles | 2ec938341dbf67cd186a1d7f1e794a3acd63155f | [
"Unlicense"
] | null | null | null | solutions/39-re coordinator/standard division.asm | Ernesto-Alvarez/HRM-Puzzles | 2ec938341dbf67cd186a1d7f1e794a3acd63155f | [
"Unlicense"
] | null | null | null | -- HUMAN RESOURCE MACHINE PROGRAM --
a:
COPYFROM 14
COPYTO 13
INBOX
b:
SUB 15
JUMPN c
COPYTO 10
BUMPUP 13
COPYFROM 10
JUMP b
COMMENT 0
c:
ADD 15
OUTBOX
COPYFROM 13
OUTBOX
JUMP a
DEFINE COMMENT 0
eJzTZ2BgkJDWtJ4kNs1pn5CjnxL... | 29.261905 | 80 | 0.830757 |
1053ae2995a6091d73eda170dc567e54b0a0d714 | 2,814 | lua | Lua | usb-device.lua | pgrabas/ljusb | a00dd3d11f3ef808a3e454f82c0be550e360fa9a | [
"MIT"
] | null | null | null | usb-device.lua | pgrabas/ljusb | a00dd3d11f3ef808a3e454f82c0be550e360fa9a | [
"MIT"
] | null | null | null | usb-device.lua | pgrabas/ljusb | a00dd3d11f3ef808a3e454f82c0be550e360fa9a | [
"MIT"
] | null | null | null | local core = require'ljusb/ljusb_ffi_core'
local ffi = require'ffi'
local bit = require'bit'
local usb_device_handle = require "ljusb/usb-device-handle"
ffi.cdef[[
typedef struct ljusb_device {
struct libusb_device *handle;
} ljusb_device;
]]
ffi.metatype('struct ljusb_device', {
__gc = function(t)
i... | 26.299065 | 82 | 0.688344 |
2f273455cd56840d77cccd795879a75d61dba3b6 | 2,957 | js | JavaScript | Api/src/UserController.js | Paul-Dwamena/vue-project | e492b4bf94e068ea338d169d6e14176166ecf12f | [
"MIT"
] | null | null | null | Api/src/UserController.js | Paul-Dwamena/vue-project | e492b4bf94e068ea338d169d6e14176166ecf12f | [
"MIT"
] | null | null | null | Api/src/UserController.js | Paul-Dwamena/vue-project | e492b4bf94e068ea338d169d6e14176166ecf12f | [
"MIT"
] | null | null | null | const User = require('../database/user')
const express=require('express')
const router=express.Router()
const auth=require('../src/helper')
//register route
router.all('/register', (req, res)=>{
if (req.method != "POST"){
console.log(req.method)
res.status('405').send('Method not allowed')
... | 26.401786 | 85 | 0.486642 |
8dc5d5c7780682eb01ef89001cbca5c6facdde2b | 88,205 | js | JavaScript | public/js/Graph/holder.js | VijaySBoobalan/cbe_class | 1d292a6ada7f1aefe4a781a4fd41889e097b0b9c | [
"MIT"
] | null | null | null | public/js/Graph/holder.js | VijaySBoobalan/cbe_class | 1d292a6ada7f1aefe4a781a4fd41889e097b0b9c | [
"MIT"
] | null | null | null | public/js/Graph/holder.js | VijaySBoobalan/cbe_class | 1d292a6ada7f1aefe4a781a4fd41889e097b0b9c | [
"MIT"
] | null | null | null | if (typeof fontsToLoad == 'undefined')
fontsToLoad = ['Hobo', 'smileyMonster', 'segoePrint'];
for (var i = 0; i < fontsToLoad.length; i++) {
var div = document.createElement("div");
div.id = 'hideMe';
div.style.fontFamily = fontsToLoad[i];
div.innerHTML = '.';
document.body.insertBefore(div, document.body.firstCh... | 35.782961 | 498 | 0.687727 |
0d9dc2471d126f5568ed909668b1ec5f2487c453 | 2,212 | cs | C# | Assets/MazeCreation.cs | poeticmatter/mindbender | f5b4afb8131eb193d2655afcfdb8a15cdbbbdde5 | [
"CC0-1.0"
] | null | null | null | Assets/MazeCreation.cs | poeticmatter/mindbender | f5b4afb8131eb193d2655afcfdb8a15cdbbbdde5 | [
"CC0-1.0"
] | null | null | null | Assets/MazeCreation.cs | poeticmatter/mindbender | f5b4afb8131eb193d2655afcfdb8a15cdbbbdde5 | [
"CC0-1.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MazeCreation {
public static MazeLocation CreateMaze(int size)
{
if (size <1)
{
Debug.LogError("Cannot create a maze smaller than 1.");
}
List<MazeLocation> mazeLocations = new List<MazeLocation>();
... | 25.72093 | 82 | 0.62613 |
f48a379296a5491d10991bc3e025c84c5f8f01c8 | 2,328 | ts | TypeScript | front-redux/src/pods/player/player.reducers.ts | jsagardoy/planning-poker-example | 409b18fc7cef71525f5faf7e2bdfc8964df825e0 | [
"Unlicense",
"MIT"
] | 23 | 2020-10-29T07:05:31.000Z | 2021-01-25T19:18:46.000Z | front-redux/src/pods/player/player.reducers.ts | jsagardoy/planning-poker-example | 409b18fc7cef71525f5faf7e2bdfc8964df825e0 | [
"Unlicense",
"MIT"
] | 66 | 2020-08-23T21:25:52.000Z | 2021-02-26T07:41:23.000Z | front-redux/src/pods/player/player.reducers.ts | jsagardoy/planning-poker-example | 409b18fc7cef71525f5faf7e2bdfc8964df825e0 | [
"Unlicense",
"MIT"
] | 7 | 2020-08-24T10:45:12.000Z | 2021-01-24T19:06:25.000Z | import { PlayerStatus } from './player.const';
import { ActionBase, SocketOuputMessageTypes } from 'core';
import { actionIds } from 'core/actions';
import { podPlayerActionIds, playerVotesAction } from './player.actions';
import { combineReducers } from 'redux';
export interface PlayerPlanningPokerState {
status: P... | 34.235294 | 80 | 0.747852 |
446476724535a244c0db21090cef1c8d7d43ad61 | 1,663 | py | Python | lanim/pil_machinery.py | brad90four/lanim | 7af5aa23d53007624a00b2460c49e94bf3c43eac | [
"MIT"
] | 6 | 2021-09-14T22:07:55.000Z | 2021-11-08T20:56:52.000Z | lanim/pil_machinery.py | brad90four/lanim | 7af5aa23d53007624a00b2460c49e94bf3c43eac | [
"MIT"
] | 1 | 2021-10-07T00:01:46.000Z | 2021-10-07T00:01:46.000Z | lanim/pil_machinery.py | brad90four/lanim | 7af5aa23d53007624a00b2460c49e94bf3c43eac | [
"MIT"
] | 2 | 2021-09-30T17:56:41.000Z | 2021-10-31T21:18:51.000Z | from __future__ import annotations
from typing import Iterable
from pathlib import Path
from threading import Thread
import time
from lanim.core import Animation, frames
from lanim.pil_types import PilRenderable, PilSettings
def render_pil(
width: int,
height: int,
animation: Animation[PilRenderable],
... | 27.716667 | 103 | 0.653037 |
d9185e5351f25a2b3273cfd9e58e55fdaca216e8 | 168 | cpp | C++ | old/AtCoder/abc074/B.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 7 | 2018-04-14T14:55:51.000Z | 2022-01-31T10:49:49.000Z | old/AtCoder/abc074/B.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 5 | 2018-04-14T14:28:49.000Z | 2019-05-11T02:22:10.000Z | old/AtCoder/abc074/B.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | null | null | null | #include "vector.hpp"
int main() {
int n(in), k(in);
Vector<int> x(n, in);
for (int &i : x) {
i = min(i, k - i);
}
cout << 2 * x.accumulate() << endl;
}
| 15.272727 | 37 | 0.47619 |
0ad876cd4a29cdaf89d5b4e72c0b14552c2c1f18 | 3,917 | cs | C# | source/LokerIT.LibUsb/LokerIT.LibUsb/LibUsb/Interop/Linux/Native.cs | aloker/LokerIT.LibUsb | 264236f5e8b9ee87df3753da9de1c38d811c3279 | [
"MIT"
] | 1 | 2020-10-20T00:35:50.000Z | 2020-10-20T00:35:50.000Z | source/LokerIT.LibUsb/LokerIT.LibUsb/LibUsb/Interop/Linux/Native.cs | aloker/LokerIT.LibUsb | 264236f5e8b9ee87df3753da9de1c38d811c3279 | [
"MIT"
] | null | null | null | source/LokerIT.LibUsb/LokerIT.LibUsb/LibUsb/Interop/Linux/Native.cs | aloker/LokerIT.LibUsb | 264236f5e8b9ee87df3753da9de1c38d811c3279 | [
"MIT"
] | null | null | null | using System;
using System.Runtime.InteropServices;
using System.Text;
namespace LokerIT.LibUsb.Interop.LinuxArm
{
public static class Native
{
private const string Dll = "libusb-1.0.so.0";
[DllImport(Dll)]
public static extern IntPtr libusb_get_version();
[DllImport(Dll, Cal... | 38.029126 | 133 | 0.695685 |
a6ca95eace876a0e72dc732c0e84aa22c9bed3be | 580 | rb | Ruby | lib/macros/contract/extract_params.rb | artur79/ff-tbl-macros | 2dd3a4ddc6559eaf50621e927ba66c273269f173 | [
"MIT"
] | null | null | null | lib/macros/contract/extract_params.rb | artur79/ff-tbl-macros | 2dd3a4ddc6559eaf50621e927ba66c273269f173 | [
"MIT"
] | 1 | 2020-06-25T06:09:22.000Z | 2020-06-25T06:09:22.000Z | lib/macros/contract/extract_params.rb | firefield/ff-tbl-macros | 2dd3a4ddc6559eaf50621e927ba66c273269f173 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module Macros
class Contract
class ExtractParams < Macros::Base
# @return [Macros::Contract::ExtractParams] step macro instance
# @param from [Hash] key in params
# @example scope not passed
# Macros::Contract::ExtractParams(from: :scope)
def initial... | 22.307692 | 69 | 0.615517 |
7af0e531a92cdb0534eeefb10da053bc27f1dbdf | 1,237 | cs | C# | Epam.Task1/Epam.Task1.Sequence/Program.cs | Polikutkin/Epam_XT-2018Q4 | 316be5f0150de95af26784ece7711197be5427f9 | [
"MIT"
] | null | null | null | Epam.Task1/Epam.Task1.Sequence/Program.cs | Polikutkin/Epam_XT-2018Q4 | 316be5f0150de95af26784ece7711197be5427f9 | [
"MIT"
] | null | null | null | Epam.Task1/Epam.Task1.Sequence/Program.cs | Polikutkin/Epam_XT-2018Q4 | 316be5f0150de95af26784ece7711197be5427f9 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Epam.Task1.Sequence
{
internal class Program
{
internal static void Sequence(int n)
{
try
{
if (n < 1)
{
... | 23.339623 | 96 | 0.438157 |
0e66a452ef4928ea81e0158dc5c7cc0620bb949a | 3,845 | kt | Kotlin | idea/idea-jvm/src/org/jetbrains/kotlin/idea/scratch/actions/RunScratchAction.kt | evgzakharov/kotlin | 1d0d801744e74c0d4a07f2b3592ed23103fb0925 | [
"Apache-2.0"
] | null | null | null | idea/idea-jvm/src/org/jetbrains/kotlin/idea/scratch/actions/RunScratchAction.kt | evgzakharov/kotlin | 1d0d801744e74c0d4a07f2b3592ed23103fb0925 | [
"Apache-2.0"
] | null | null | null | idea/idea-jvm/src/org/jetbrains/kotlin/idea/scratch/actions/RunScratchAction.kt | evgzakharov/kotlin | 1d0d801744e74c0d4a07f2b3592ed23103fb0925 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* 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 agre... | 35.934579 | 130 | 0.638231 |
798cda1b302841f504fc6b01d8e44604f352fd2b | 899 | php | PHP | resources/views/articles.blade.php | khandaniel/windowsite | 1e565f29c9f3cf4cbf096b46d8cc333041bb8345 | [
"MIT"
] | null | null | null | resources/views/articles.blade.php | khandaniel/windowsite | 1e565f29c9f3cf4cbf096b46d8cc333041bb8345 | [
"MIT"
] | null | null | null | resources/views/articles.blade.php | khandaniel/windowsite | 1e565f29c9f3cf4cbf096b46d8cc333041bb8345 | [
"MIT"
] | null | null | null | @extends('layouts.main')
@section('content')
<div class="fh5co-slider">
<div class="container">
<img src="{{ asset('/storage/slider/articles/default.jpg') }}">
</div>
</div>
<!-- Slider -->
<div id="fh5co-intro" class="fh5co-section">
<div class="container">
... | 34.576923 | 75 | 0.49277 |
44828f4275502f6154e75ccea3d4a829500f6cad | 1,218 | py | Python | June21/small_inventory/inventory.py | pythonbykhaja/intesivepython | d3074f35bf36a04d4d1d9b4ff4631733d40b5817 | [
"Apache-2.0"
] | 2 | 2021-05-29T18:21:50.000Z | 2021-07-24T13:03:30.000Z | June21/small_inventory/inventory.py | pythonbykhaja/intesivepython | d3074f35bf36a04d4d1d9b4ff4631733d40b5817 | [
"Apache-2.0"
] | null | null | null | June21/small_inventory/inventory.py | pythonbykhaja/intesivepython | d3074f35bf36a04d4d1d9b4ff4631733d40b5817 | [
"Apache-2.0"
] | 2 | 2021-05-25T10:19:54.000Z | 2021-09-21T12:20:48.000Z | from dataclasses import dataclass
import csv
from os import write
@dataclass
class Inventory:
id: int
name: str
price: float
quantity: int
field_names = ['id', 'name', 'price', 'quantity']
def to_dict(self):
inv_dict = dict()
inv_dict['id'] = self.id
inv_dict['name'] = ... | 26.478261 | 65 | 0.624795 |
390775d760bfdfec84e8cca4605d942407766e3a | 2,208 | py | Python | services/auth/authdb.py | NguyenVanVu0499/baitap_bigdata | bab1359e63264d9dfad90c62babff541ad3a2bd5 | [
"MIT"
] | null | null | null | services/auth/authdb.py | NguyenVanVu0499/baitap_bigdata | bab1359e63264d9dfad90c62babff541ad3a2bd5 | [
"MIT"
] | null | null | null | services/auth/authdb.py | NguyenVanVu0499/baitap_bigdata | bab1359e63264d9dfad90c62babff541ad3a2bd5 | [
"MIT"
] | null | null | null | from datetime import datetime, timedelta
from typing import Optional
from passlib.context import CryptContext
from .model import UserInDB, User, TokenData
from jose import JWTError, jwt
from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
from fastapi import Depends, FastAPI, HTTPException, stat... | 28.675325 | 82 | 0.740036 |
739c6d0602550285753a2068e311414c00eed0b6 | 2,710 | php | PHP | resources/views/index.blade.php | goodjack/Books | 608b0dbcbc86a5c5313a41b49d46bbd0a107c396 | [
"MIT"
] | 1 | 2018-04-08T16:52:29.000Z | 2018-04-08T16:52:29.000Z | resources/views/index.blade.php | goodjack/Books | 608b0dbcbc86a5c5313a41b49d46bbd0a107c396 | [
"MIT"
] | null | null | null | resources/views/index.blade.php | goodjack/Books | 608b0dbcbc86a5c5313a41b49d46bbd0a107c396 | [
"MIT"
] | null | null | null | @extends('layouts.layout')
@section('title', '首頁')
@section('content')
<div class="jumbotron jumbotron-fluid m-b-0" style="background-image: url('https://static.pexels.com/photos/48126/books-education-school-literature-48126-large.jpeg'); background-size: cover; padding: 8em;">
<div class="container">
<h1 class... | 38.169014 | 208 | 0.572325 |
2575cbf1210c46538253f7fb2270948f5d17668a | 147 | js | JavaScript | src/app/store/reducers/rootReducer.js | kuldeepkeshwar/preact-pwa | 0aa6cab883190b95437aee6d990022b4ea61d6ed | [
"MIT"
] | 571 | 2016-12-30T02:43:04.000Z | 2022-03-23T22:28:30.000Z | src/app/store/reducers/rootReducer.js | kuldeepkeshwar/preact-pwa | 0aa6cab883190b95437aee6d990022b4ea61d6ed | [
"MIT"
] | 14 | 2017-02-10T12:00:40.000Z | 2018-05-16T22:05:01.000Z | src/app/store/reducers/rootReducer.js | kuldeepkeshwar/preact-pwa | 0aa6cab883190b95437aee6d990022b4ea61d6ed | [
"MIT"
] | 68 | 2016-12-30T17:55:52.000Z | 2021-12-03T15:40:02.000Z | import { combineReducers } from 'redux'
import meta from './meta'
import posts from './posts'
export default combineReducers({
meta,
posts
})
| 16.333333 | 39 | 0.714286 |
59ee771c9819cb869e628032caf4cf835b8ca19a | 1,405 | sql | SQL | src/main/resources/database/oracle/alter_12_4_0_to_12_4_1.sql | GeorgeKirev/OpenOLAT | ac0618163dc9965b6779e2c0c998247dc2a9d1ea | [
"Apache-2.0"
] | 191 | 2018-03-29T09:55:44.000Z | 2022-03-23T06:42:12.000Z | src/main/resources/database/oracle/alter_12_4_0_to_12_4_1.sql | KuricynAlexx/OpenOLAT | 4ac8fbce54a41f61e1fd61adce5bf4ec36bcef68 | [
"Apache-2.0"
] | 68 | 2018-05-11T06:19:00.000Z | 2022-01-25T18:03:26.000Z | src/main/resources/database/oracle/alter_12_4_0_to_12_4_1.sql | KuricynAlexx/OpenOLAT | 4ac8fbce54a41f61e1fd61adce5bf4ec36bcef68 | [
"Apache-2.0"
] | 139 | 2018-04-27T09:46:11.000Z | 2022-03-27T08:52:50.000Z | alter table o_qti_assessment_response modify q_responseidentifier varchar2(255 char);
alter table o_bs_authentication add lastmodified date;
update o_bs_authentication set lastmodified=creationdate;
alter table o_bs_authentication modify lastmodified date not null;
create table o_bs_authentication_history (
id nu... | 31.931818 | 134 | 0.790747 |
6c3f49e5c40875dd9d4b3fa2f3961c8c80721a0f | 2,021 | psm1 | PowerShell | Twitter/Twitter.psm1 | jwmoss/Twitter | f6b5160832ce17f1104d2bc3e0f1f8a27a04779f | [
"MIT"
] | 1 | 2020-10-09T03:06:50.000Z | 2020-10-09T03:06:50.000Z | Twitter/Twitter.psm1 | jwmoss/Twitter | f6b5160832ce17f1104d2bc3e0f1f8a27a04779f | [
"MIT"
] | null | null | null | Twitter/Twitter.psm1 | jwmoss/Twitter | f6b5160832ce17f1104d2bc3e0f1f8a27a04779f | [
"MIT"
] | null | null | null | using module .\classes\OAuthParameters.Class.psm1
using namespace System.Management.Automation
using namespace Collections.ObjectModel
using namespace System.Collections
#Requires -Version 7.0
# load the twittererrorcodes and httpresponsecodes
#region info
<#
The following members are exported via the module's data ... | 32.596774 | 127 | 0.761999 |
b85affb87e1d1dfbdbbf4441dc0c4b84134b464b | 232 | sql | SQL | target/run/jaffel_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_not_null_jaffle_shop_customers_id.sql | Pachinchin/gbt-repo | 383cdd36c7031e4ee70df90a0b051d3cdc257b94 | [
"MIT"
] | 2 | 2022-01-05T18:28:55.000Z | 2022-01-07T13:50:16.000Z | target/run/jaffel_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_not_null_jaffle_shop_customers_id.sql | Pachinchin/dbt-repo | 383cdd36c7031e4ee70df90a0b051d3cdc257b94 | [
"MIT"
] | null | null | null | target/run/jaffel_shop/models/staging/jaffle_shop/src_jaffle_shop.yml/source_not_null_jaffle_shop_customers_id.sql | Pachinchin/dbt-repo | 383cdd36c7031e4ee70df90a0b051d3cdc257b94 | [
"MIT"
] | null | null | null | select
count(*) as failures,
count(*) != 0 as should_warn,
count(*) != 0 as should_error
from (
select *
from "dev"."jaffle_shop"."customers"
where id is null
) dbt_internal_test | 13.647059 | 36 | 0.547414 |
a354d54a9914c3604c0c14dbe5e9cbcbe462af85 | 389 | ts | TypeScript | src/cli/lib/non-configurable/backgrounds.ts | imrishabh18/tailwindcss-classnames | 7988e9c67165de09f24af810c901303f773c0728 | [
"MIT"
] | 1 | 2022-01-04T04:46:45.000Z | 2022-01-04T04:46:45.000Z | src/cli/lib/non-configurable/backgrounds.ts | imrishabh18/tailwindcss-classnames | 7988e9c67165de09f24af810c901303f773c0728 | [
"MIT"
] | null | null | null | src/cli/lib/non-configurable/backgrounds.ts | imrishabh18/tailwindcss-classnames | 7988e9c67165de09f24af810c901303f773c0728 | [
"MIT"
] | null | null | null | const backgroundAttachment = ['bg-fixed', 'bg-local', 'bg-scroll'];
const backgroundClip = ['bg-clip-border', 'bg-clip-padding', 'bg-clip-content', 'bg-clip-text'];
const backgroundRepeat = [
'bg-repeat',
'bg-no-repeat',
'bg-repeat-x',
'bg-repeat-y',
'bg-repeat-round',
'bg-repeat-space',
];
export defaul... | 20.473684 | 96 | 0.66838 |
434f635d9f78b7fe0709ced75e817329c025a854 | 4,028 | tsx | TypeScript | src/renderer/components/config/CacheGroup.tsx | f3lin3/flipflip | 75a830fa1b125cb075709550a94a687f8f2cf14d | [
"MIT"
] | 4 | 2019-01-19T05:02:31.000Z | 2019-07-18T18:16:12.000Z | src/renderer/components/config/CacheGroup.tsx | f3lin3/flipflip | 75a830fa1b125cb075709550a94a687f8f2cf14d | [
"MIT"
] | null | null | null | src/renderer/components/config/CacheGroup.tsx | f3lin3/flipflip | 75a830fa1b125cb075709550a94a687f8f2cf14d | [
"MIT"
] | null | null | null | import {remote} from "electron";
import * as React from 'react';
import {existsSync} from "fs";
import rimraf from "rimraf";
import getFolderSize from 'get-folder-size';
import {getCachePath} from "../../data/utils";
import Config, {CacheSettings} from "../../data/Config";
import ControlGroup from "../sceneDetail/Cont... | 34.724138 | 113 | 0.605015 |
66148cb9223c8b7fc9637bef4bdaade367fee468 | 2,939 | py | Python | Python/plotSurfaceMachContour.py | guillaumetousignant/euler3D | 7bdfaae7f6b774232b6fc9f83d40a67ccee9a8ae | [
"MIT"
] | 1 | 2019-02-11T00:45:37.000Z | 2019-02-11T00:45:37.000Z | Python/plotSurfaceMachContour.py | guillaumetousignant/euler3D | 7bdfaae7f6b774232b6fc9f83d40a67ccee9a8ae | [
"MIT"
] | null | null | null | Python/plotSurfaceMachContour.py | guillaumetousignant/euler3D | 7bdfaae7f6b774232b6fc9f83d40a67ccee9a8ae | [
"MIT"
] | null | null | null | import tecplot
import numpy as np
import math
import string
from tecplot.exception import *
from tecplot.constant import *
class plotSurfaceMachContour(object):
def __init__(self, mySurfaceFlowFile, Type):
print("plotMachContour.................................................");
self.m... | 40.260274 | 98 | 0.536237 |
c353ec357e1e14cb1f7c13007b1fa01766345826 | 3,863 | cs | C# | LCL_Controls/Controls/PageTitleBar/NavigationTitleBar.Designer.cs | landriesnidis/LCL_UI | e6c4c4d4a2078be9acc19b81c70b27d6006cc2d3 | [
"MIT"
] | 6 | 2019-07-08T07:59:35.000Z | 2022-03-28T08:35:48.000Z | LCL_Controls/Controls/PageTitleBar/NavigationTitleBar.Designer.cs | landriesnidis/LCL_UI | e6c4c4d4a2078be9acc19b81c70b27d6006cc2d3 | [
"MIT"
] | null | null | null | LCL_Controls/Controls/PageTitleBar/NavigationTitleBar.Designer.cs | landriesnidis/LCL_UI | e6c4c4d4a2078be9acc19b81c70b27d6006cc2d3 | [
"MIT"
] | 1 | 2020-03-23T03:55:20.000Z | 2020-03-23T03:55:20.000Z | using System.Windows.Forms;
namespace Landriesnidis.LCL_Controls.Controls.PageTitleBar
{
partial class NavigationTitleBar
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
... | 43.897727 | 141 | 0.619984 |
e0468d7ef13d77f99085cb6175cf8ea0e74c5634 | 4,837 | c | C | attic/sht.c | dmgerman/ntpsec | 28dde8422e1a949e50663ae965d58c2fdbc782b9 | [
"CC-BY-4.0",
"BSD-2-Clause",
"NTP",
"MIT",
"BSD-3-Clause"
] | null | null | null | attic/sht.c | dmgerman/ntpsec | 28dde8422e1a949e50663ae965d58c2fdbc782b9 | [
"CC-BY-4.0",
"BSD-2-Clause",
"NTP",
"MIT",
"BSD-3-Clause"
] | null | null | null | attic/sht.c | dmgerman/ntpsec | 28dde8422e1a949e50663ae965d58c2fdbc782b9 | [
"CC-BY-4.0",
"BSD-2-Clause",
"NTP",
"MIT",
"BSD-3-Clause"
] | null | null | null | /*
* sht.c - Testprogram for shared memory refclock
* read/write shared memory segment; see usage
*/
#include "config.h"
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <stdlib.h>
#include <assert.h>
#include "ntp.h"
#include "ntp_... | 23.033333 | 77 | 0.610296 |
d15e080d09c578bbcf74a3c0844fdaa8ccf4a332 | 2,692 | dart | Dart | lib/src/model/event_insights.g.dart | jr1221/tba_api_dart_dio_client | 622051c4cc4007d6ff43193db41fdbb3aeb70504 | [
"MIT"
] | 3 | 2021-04-14T02:42:57.000Z | 2021-12-26T08:27:35.000Z | lib/src/model/event_insights.g.dart | jr1221/tba_api_dart_dio_client | 622051c4cc4007d6ff43193db41fdbb3aeb70504 | [
"MIT"
] | null | null | null | lib/src/model/event_insights.g.dart | jr1221/tba_api_dart_dio_client | 622051c4cc4007d6ff43193db41fdbb3aeb70504 | [
"MIT"
] | 1 | 2021-12-26T08:27:41.000Z | 2021-12-26T08:27:41.000Z | // GENERATED CODE - DO NOT MODIFY BY HAND
part of 'event_insights.dart';
// **************************************************************************
// BuiltValueGenerator
// **************************************************************************
class _$EventInsights extends EventInsights {
@override
final... | 28.336842 | 354 | 0.663447 |
df822d0bfdbffd763ec0c38c3b76281285404207 | 629 | cs | C# | photoAddIn/photoAddIn/photo.cs | SurgicalSteel/dotNEThacks | e1f5ad1168e51dcf3189dc20e8a9a67c79c6ee48 | [
"MIT"
] | null | null | null | photoAddIn/photoAddIn/photo.cs | SurgicalSteel/dotNEThacks | e1f5ad1168e51dcf3189dc20e8a9a67c79c6ee48 | [
"MIT"
] | null | null | null | photoAddIn/photoAddIn/photo.cs | SurgicalSteel/dotNEThacks | e1f5ad1168e51dcf3189dc20e8a9a67c79c6ee48 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace photoAddIn
{
class photo
{
public int width, height;
public string filename;
public Image gambar;
public void reset()
{
... | 20.966667 | 54 | 0.511924 |
851b77f3061333f4203da5a69eb4b5a2a9387587 | 1,366 | cs | C# | DFC.App.Account/Controllers/YourDetailsController.cs | SkillsFundingAgency/dfc-app-account | 83169fd7fe4e233ff543004d858c6e03922703e3 | [
"MIT"
] | 1 | 2021-06-23T09:31:26.000Z | 2021-06-23T09:31:26.000Z | DFC.App.Account/Controllers/YourDetailsController.cs | SkillsFundingAgency/dfc-app-account | 83169fd7fe4e233ff543004d858c6e03922703e3 | [
"MIT"
] | 176 | 2020-04-17T10:07:54.000Z | 2022-03-14T11:01:09.000Z | DFC.App.Account/Controllers/YourDetailsController.cs | SkillsFundingAgency/dfc-app-account | 83169fd7fe4e233ff543004d858c6e03922703e3 | [
"MIT"
] | 1 | 2021-04-11T08:37:14.000Z | 2021-04-11T08:37:14.000Z | using DFC.App.Account.Models;
using DFC.App.Account.Services;
using DFC.App.Account.Services.DSS.Interfaces;
using DFC.App.Account.ViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System.Threading.Tasks;
... | 35.947368 | 254 | 0.743777 |
e74b2aac97e0219c9ee39d942f24aad183dbe2d4 | 741 | php | PHP | src/Traits/Jsonable.php | andrey-helldar/helpers | 7c1b3d8e24228ded997780f3ecc2eedf73f8a38c | [
"MIT"
] | 2 | 2019-01-09T07:45:06.000Z | 2021-07-27T23:31:06.000Z | src/Traits/Jsonable.php | andrey-helldar/helpers | 7c1b3d8e24228ded997780f3ecc2eedf73f8a38c | [
"MIT"
] | 16 | 2017-09-20T08:14:55.000Z | 2018-09-18T08:34:41.000Z | src/Traits/Jsonable.php | andrey-helldar/helpers | 7c1b3d8e24228ded997780f3ecc2eedf73f8a38c | [
"MIT"
] | null | null | null | <?php
namespace Helldar\Helpers\Traits;
use Illuminate\Contracts\Support\Jsonable as JsonableSupport;
/**
* Class Jsonable
*
* @see https://gist.github.com/Ellrion/2c7648d3ebdef2cd8ed24ffa78cf1d3d
*/
class Jsonable implements JsonableSupport
{
/**
* @var mixed
*/
protected $dataToJson;
/**... | 16.466667 | 72 | 0.576248 |
b5f14d1d37b6d7ed276352246f50dc3d40d0ab24 | 138 | rb | Ruby | Ruby/CodeAbbey/Sum A+B.rb | dvt32/cpp-journey | afd7db7a1ad106c41601fb09e963902187ae36e6 | [
"MIT"
] | 1 | 2018-05-24T11:30:05.000Z | 2018-05-24T11:30:05.000Z | Ruby/CodeAbbey/Sum A+B.rb | dvt32/cpp-journey | afd7db7a1ad106c41601fb09e963902187ae36e6 | [
"MIT"
] | null | null | null | Ruby/CodeAbbey/Sum A+B.rb | dvt32/cpp-journey | afd7db7a1ad106c41601fb09e963902187ae36e6 | [
"MIT"
] | 2 | 2017-08-11T06:53:30.000Z | 2017-08-29T12:07:52.000Z | # http://www.codeabbey.com/index/task_view/sum-of-two
def sum(a, b)
return a + b
end
a = gets.to_i
b = gets.to_i
puts sum(a, b)
| 12.545455 | 53 | 0.630435 |
9716ea342a0f149e36901efd06c9ca5d3494928d | 1,281 | ts | TypeScript | src/interface-segregation/solution.ts | andreygio-adl/solid-principles | 0f853a896ec23b1e8d1d7c32b8f98eaf7f7307fc | [
"Apache-2.0"
] | null | null | null | src/interface-segregation/solution.ts | andreygio-adl/solid-principles | 0f853a896ec23b1e8d1d7c32b8f98eaf7f7307fc | [
"Apache-2.0"
] | null | null | null | src/interface-segregation/solution.ts | andreygio-adl/solid-principles | 0f853a896ec23b1e8d1d7c32b8f98eaf7f7307fc | [
"Apache-2.0"
] | null | null | null | interface PaymentProvider {
validate: () => boolean;
getPaymentCommission: () => number;
processPayment: () => string;
verifyPayment: () => boolean;
}
class CreditCardPaymentProvider implements PaymentProvider {
validate() {
// Payment is validated
console.log("Payment Card Validate... | 25.62 | 67 | 0.626073 |
bb3951712be81ff37f3f274310b8f636fe611c45 | 3,279 | cs | C# | Unity2020Test/Assets/QFramework/Framework/Plugins/Editor/PackageKit/PackageMaker/Service/UploadPackage.cs | JiYangJi/QFramework | 5fca44ad8f93f1d90a9c9cc23a32260b86bf2786 | [
"MIT"
] | 1 | 2021-09-22T05:45:40.000Z | 2021-09-22T05:45:40.000Z | Unity2020Test/Assets/QFramework/Framework/Plugins/Editor/PackageKit/PackageMaker/Service/UploadPackage.cs | JiYangJi/QFramework | 5fca44ad8f93f1d90a9c9cc23a32260b86bf2786 | [
"MIT"
] | null | null | null | Unity2020Test/Assets/QFramework/Framework/Plugins/Editor/PackageKit/PackageMaker/Service/UploadPackage.cs | JiYangJi/QFramework | 5fca44ad8f93f1d90a9c9cc23a32260b86bf2786 | [
"MIT"
] | null | null | null | using System.IO;
using UnityEditor;
using UnityEngine;
namespace QFramework
{
public static class UploadPackage
{
private static string UPLOAD_URL
{
get { return "https://api.liangxiegame.com/qf/v4/package/add"; }
}
public static void DoUpload(PackageVersion packageVer... | 36.032967 | 105 | 0.539189 |
8da864a5f09dd141d9fce28ce71f888d1364158b | 1,688 | js | JavaScript | Gulpfile.js | thegurucompany/clicktocall-widget | 90203a1abe6451ba2e8ac79a35c37fd0aa4ec87a | [
"MIT"
] | null | null | null | Gulpfile.js | thegurucompany/clicktocall-widget | 90203a1abe6451ba2e8ac79a35c37fd0aa4ec87a | [
"MIT"
] | 2 | 2021-03-09T09:55:48.000Z | 2022-03-02T04:35:18.000Z | Gulpfile.js | thegurucompany/clicktocall-widget | 90203a1abe6451ba2e8ac79a35c37fd0aa4ec87a | [
"MIT"
] | null | null | null | const gulp = require('gulp')
const babel = require('gulp-babel')
const notify = require('gulp-notify')
const concat = require('gulp-concat')
const uglify = require('gulp-uglify')
const standard = require('gulp-standard')
const sourcemaps = require('gulp-sourcemaps')
const stylish = require('jshint-stylish')
const webpa... | 25.969231 | 66 | 0.633294 |
79ad34560920610adfede6c9dd622cc43161d161 | 515 | php | PHP | resources/views/confirm.blade.php | nupagachi/trainning_para | d9a6a935fb27fc962d0ccc506b9ae823a821106d | [
"MIT"
] | null | null | null | resources/views/confirm.blade.php | nupagachi/trainning_para | d9a6a935fb27fc962d0ccc506b9ae823a821106d | [
"MIT"
] | 5 | 2021-03-09T15:35:50.000Z | 2022-02-26T16:51:29.000Z | resources/views/confirm.blade.php | nupagachi/trainning_para | d9a6a935fb27fc962d0ccc506b9ae823a821106d | [
"MIT"
] | null | null | null |
<p>Click the button to demonstrate line-breaks in a confirm box.</p>
<a onclick="myFunction()">Try it</a>
<p id="demo"></p>
<script>
function myFunction() {
var txt;
var r = confirm("Press a button!\nEither OK or Cancel.\nThe button you pressed will be displayed in the result window.");
... | 25.75 | 129 | 0.572816 |
48afb63de42ed55b2c8ce994226849284bfbad83 | 1,112 | sql | SQL | AspNetCoreMVCExample.DB/dbo/Tables/AspNetUsers.sql | truedeity/AspNetCoreMVCExample | 6bd0a0fac3edcb3aa8204638b5ff7bbe221f3068 | [
"MIT"
] | 1 | 2017-09-11T14:30:37.000Z | 2017-09-11T14:30:37.000Z | AspNetCoreMVCExample.DB/dbo/Tables/AspNetUsers.sql | truedeity/AspNetCoreMVCExample | 6bd0a0fac3edcb3aa8204638b5ff7bbe221f3068 | [
"MIT"
] | null | null | null | AspNetCoreMVCExample.DB/dbo/Tables/AspNetUsers.sql | truedeity/AspNetCoreMVCExample | 6bd0a0fac3edcb3aa8204638b5ff7bbe221f3068 | [
"MIT"
] | null | null | null | CREATE TABLE [dbo].[AspNetUsers] (
[Id] NVARCHAR (450) NOT NULL,
[AccessFailedCount] INT NOT NULL,
[ConcurrencyStamp] NVARCHAR (MAX) NULL,
[Email] NVARCHAR (256) NULL,
[EmailConfirmed] BIT NOT NULL,
[Lockout... | 37.066667 | 64 | 0.558453 |
4d0511bc073909fe88d0bfc9adfed8a1e7628967 | 2,643 | cs | C# | PDTools.Compression/PDIZIP.cs | Nenkai/PDTools | 2235af1f01b7aa2424c3113b41cbd60eff52dbca | [
"MIT"
] | 3 | 2021-06-26T17:57:46.000Z | 2021-11-08T20:05:01.000Z | PDTools.Compression/PDIZIP.cs | Nenkai/PDTools | 2235af1f01b7aa2424c3113b41cbd60eff52dbca | [
"MIT"
] | null | null | null | PDTools.Compression/PDIZIP.cs | Nenkai/PDTools | 2235af1f01b7aa2424c3113b41cbd60eff52dbca | [
"MIT"
] | null | null | null | using Syroot.BinaryData;
using System;
using System.Buffers;
using System.IO;
using System.IO.Compression;
using System.Numerics;
using System.Security.Cryptography;
using ICSharpCode.SharpZipLib.Zip.Compression;
namespace PDTools.Compression
{
public class PDIZIP
{
public const uint PDIZIP_MAGIC = 0... | 36.205479 | 95 | 0.582671 |
0d75b6629430ec61ecdb20df707e66295d057fa2 | 10,456 | h | C | napoca/include/boot/vmstate.h | fengjixuchui/napoca | ed26609ab9a3ea12d12882b311dcb332dc759d32 | [
"Apache-2.0"
] | 170 | 2020-07-30T15:04:59.000Z | 2022-03-24T10:59:29.000Z | napoca/include/boot/vmstate.h | a-cristi/napoca | ed6691125bf703366581e47a1fe789167009c24a | [
"Apache-2.0"
] | 3 | 2020-08-10T09:16:56.000Z | 2022-02-18T21:40:43.000Z | napoca/include/boot/vmstate.h | a-cristi/napoca | ed6691125bf703366581e47a1fe789167009c24a | [
"Apache-2.0"
] | 44 | 2020-07-30T15:06:55.000Z | 2022-02-25T08:55:55.000Z | /*
* Copyright (c) 2020 Bitdefender
* SPDX-License-Identifier: Apache-2.0
*/
/** @file vmstate.h
* @brief VMCS configuration APIs
*
* A mechanism for handling the configuration of a VMCS. It ensures the integrity of the VMCS state.
* The api configures the VMCS structure in 3 independent stages:
* - V... | 43.932773 | 292 | 0.653405 |
dbb21684e7d9e0cbf8d31eddd9442ca044a60703 | 7,497 | php | PHP | resources/views/layouts/nav.blade.php | BaenaMaria/Matricula | 4a1b418df9661c91dcd9c923ef787496732006ea | [
"MIT"
] | null | null | null | resources/views/layouts/nav.blade.php | BaenaMaria/Matricula | 4a1b418df9661c91dcd9c923ef787496732006ea | [
"MIT"
] | null | null | null | resources/views/layouts/nav.blade.php | BaenaMaria/Matricula | 4a1b418df9661c91dcd9c923ef787496732006ea | [
"MIT"
] | null | null | null |
<nav id="nav">
<div class="--nav_primary">
<div class="--logo">
<a href="{{route('home')}}">
<img src="{{ URL::to('/') }}/images/svg/edase.svg" alt="">
</a>
</div>
<div class="--menu">
<ul class="--menu_... | 41.882682 | 125 | 0.403762 |
f2b8ca16259654bb78410528a1c1242cfcc9e851 | 340 | lua | Lua | resources/[qb]/qb-bossmenu/config.lua | p4zinee/server-data | b523650fc4b5a3465c7ffc1dde7330a16bb62d05 | [
"CC0-1.0"
] | 1 | 2022-01-05T15:17:06.000Z | 2022-01-05T15:17:06.000Z | resources/[qb]/qb-bossmenu/config.lua | p4zinee/server-data | b523650fc4b5a3465c7ffc1dde7330a16bb62d05 | [
"CC0-1.0"
] | null | null | null | resources/[qb]/qb-bossmenu/config.lua | p4zinee/server-data | b523650fc4b5a3465c7ffc1dde7330a16bb62d05 | [
"CC0-1.0"
] | null | null | null | Config = {}
Config.Jobs = {
['police'] = vector3(448.4, -973.2, 30.6),
['ambulance'] = vector3(270.5, -1363.0, 23.5),
['realestate'] = vector3(-124.786, -641.486, 167.820),
['taxi'] = vector3(903.32, -170.55, 74.0),
['cardealer'] = vector3(-32.0, -1114.2, 25.4),
['mechanic'] = vector3(-342.291,... | 34 | 58 | 0.547059 |
8c4f99c3f4b32d2d47ed0a078e9505c9c2dcdd69 | 8,250 | lua | Lua | 5dim_equipment/prototypes/gen-energy-shield-equipment.lua | JuanignacioX10X/Factorio5DimMods | d5bc0fa18527aa9532608c54ed7d9f2ca5fa60e0 | [
"MIT"
] | null | null | null | 5dim_equipment/prototypes/gen-energy-shield-equipment.lua | JuanignacioX10X/Factorio5DimMods | d5bc0fa18527aa9532608c54ed7d9f2ca5fa60e0 | [
"MIT"
] | null | null | null | 5dim_equipment/prototypes/gen-energy-shield-equipment.lua | JuanignacioX10X/Factorio5DimMods | d5bc0fa18527aa9532608c54ed7d9f2ca5fa60e0 | [
"MIT"
] | null | null | null | require("__5dim_core__.lib.equipment.generation-energy-shield-equipment")
local bufferCapacity = 120
local energyShield = 20
local shield = 50
local input = 240
local techCount = 200
-- Beacon 01
genEnergyShields {
number = "01",
subgroup = "armor-shield",
capacity = bufferCapacity,
energyPerShield = ... | 24.193548 | 73 | 0.545333 |
642b03514aa01a3fc1ab774281df2701a42ff782 | 427 | py | Python | papier/helper.py | shiroyuki/papier | 4a39c3f38419dd19f84dca7b3ccec83933501dde | [
"MIT"
] | null | null | null | papier/helper.py | shiroyuki/papier | 4a39c3f38419dd19f84dca7b3ccec83933501dde | [
"MIT"
] | 1 | 2016-08-08T02:24:23.000Z | 2016-08-08T02:24:23.000Z | papier/helper.py | shiroyuki/papier | 4a39c3f38419dd19f84dca7b3ccec83933501dde | [
"MIT"
] | null | null | null | import os
import papier
_base_path = os.path.dirname(papier.__file__)
def path(*level):
global _base_path
primary = os.path.abspath(os.path.join(_base_path, *level))
secondary = os.path.abspath(os.path.join(_base_path, '..', *level))
local = os.path.abspath(os.path.join(*level))
return lo... | 25.117647 | 71 | 0.672131 |
3a95dba3bb1956b0fa092f23dd2929e4f29b11ee | 1,643 | swift | Swift | Graph(DFS & BFS)/파이프 옮기기 1.swift | GeonHyeong5036/AlgoriGym | ed268ac3b90efb559b5d318f1a1389866bcdc1d5 | [
"MIT"
] | 5 | 2020-02-01T08:31:50.000Z | 2020-08-10T04:17:07.000Z | Graph(DFS & BFS)/파이프 옮기기 1.swift | GeonHyeong5036/AlgoriGym | ed268ac3b90efb559b5d318f1a1389866bcdc1d5 | [
"MIT"
] | null | null | null | Graph(DFS & BFS)/파이프 옮기기 1.swift | GeonHyeong5036/AlgoriGym | ed268ac3b90efb559b5d318f1a1389866bcdc1d5 | [
"MIT"
] | 2 | 2020-07-26T09:32:42.000Z | 2021-08-03T10:10:43.000Z | //
// 파이프 옮기기 1.swift
// Question Link: https://www.acmicpc.net/problem/17070
// Primary idea: (BFS)
// 1. BFS로 queue와 while을 활용한다.
// 2. 위치 정보와 가로(0)/세로(1)/대각선(2)을 표시하는 방향 정보를 queue에 저장한다.
// 3. queue의 앞에서 하나씩 불러오며 3가지의 방향을 진행한다.
// ... | 25.276923 | 82 | 0.458917 |
c6d2820ae10f65c8a0c179e51bbdab63108a239a | 380 | rb | Ruby | db/migrate/20140106042845_create_rsvp_invitations.rb | ryanricard/rsvp | c646b9bbf8550efb67d5152518d24841ccd8ab96 | [
"MIT"
] | 1 | 2015-02-23T18:38:33.000Z | 2015-02-23T18:38:33.000Z | db/migrate/20140106042845_create_rsvp_invitations.rb | ryanricard/rsvp | c646b9bbf8550efb67d5152518d24841ccd8ab96 | [
"MIT"
] | null | null | null | db/migrate/20140106042845_create_rsvp_invitations.rb | ryanricard/rsvp | c646b9bbf8550efb67d5152518d24841ccd8ab96 | [
"MIT"
] | null | null | null | class CreateRsvpInvitations < ActiveRecord::Migration
def change
create_table :rsvp_invitations do |t|
t.integer :family_id
t.string :salutation_type, :limit => 50
t.string :salutation
t.string :rsvp_code, :limit => 20
t.integer :total_invited
t.timestamps
end
add_ind... | 23.75 | 60 | 0.678947 |
b01006bd69fc6bb95ef9721887f70732293c617d | 2,099 | py | Python | sv_tracker/gui/graphs/cost_breakdown_frame.py | nekusakaki/svtxd | 0956de45aee4f7c79c3e484256843c52a7d17f56 | [
"MIT"
] | 1 | 2020-10-22T14:12:12.000Z | 2020-10-22T14:12:12.000Z | sv_tracker/gui/graphs/cost_breakdown_frame.py | nekusakaki/svtxd | 0956de45aee4f7c79c3e484256843c52a7d17f56 | [
"MIT"
] | null | null | null | sv_tracker/gui/graphs/cost_breakdown_frame.py | nekusakaki/svtxd | 0956de45aee4f7c79c3e484256843c52a7d17f56 | [
"MIT"
] | null | null | null | from tkinter import *
import matplotlib.pyplot as plt
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
import sv_tracker.helper_functions as hf
class CostBreakdownFrame(Frame):
def __init__(self, master, deck):
self.cost_breakdown = deck.cost_breakdown()
super().__init__(master, wid... | 37.482143 | 102 | 0.646975 |
8546463b3bfa273bb3c89158972658535f98762c | 2,400 | cshtml | C# | Elections/Views/Candidates/Comment.cshtml | Aurel/rbya_election | a7a057019435825e06419b3bf7a33aaaf144a994 | [
"MIT"
] | 2 | 2019-08-02T01:28:47.000Z | 2019-08-02T01:32:49.000Z | Elections/Views/Candidates/Comment.cshtml | Aurel/rbya_election | a7a057019435825e06419b3bf7a33aaaf144a994 | [
"MIT"
] | null | null | null | Elections/Views/Candidates/Comment.cshtml | Aurel/rbya_election | a7a057019435825e06419b3bf7a33aaaf144a994 | [
"MIT"
] | 1 | 2019-08-02T01:35:37.000Z | 2019-08-02T01:35:37.000Z | @model Elections.Models.Comment
@{
ViewData["Title"] = "Comment";
}
<div class="center-block text-center container">
<div class="row" style="margin-bottom:100px;">
<img src="~/images/elections.png" style="margin:auto; width:25%;" />
</div>
</div>
<h2>Submit a comment for <strong>@Model.Candidat... | 41.37931 | 200 | 0.595 |
2d5d7980d9192567f623d454026b0f4d0b8529bf | 25 | css | CSS | css/composite/styleguide-80b05f72646235db07a7f693d12e795c.min.css | HexaPlant/hexaplant.github.io | 3e6833887c18452bf4f785bf5fb2610a8262f4c1 | [
"MIT"
] | null | null | null | css/composite/styleguide-80b05f72646235db07a7f693d12e795c.min.css | HexaPlant/hexaplant.github.io | 3e6833887c18452bf4f785bf5fb2610a8262f4c1 | [
"MIT"
] | null | null | null | css/composite/styleguide-80b05f72646235db07a7f693d12e795c.min.css | HexaPlant/hexaplant.github.io | 3e6833887c18452bf4f785bf5fb2610a8262f4c1 | [
"MIT"
] | null | null | null | .styleguide{padding:1em}
| 12.5 | 24 | 0.8 |
1a518963eef49f782e3b70a2cbe6946224a0c383 | 2,852 | py | Python | purbeurre/database_search.py | Mathiou04/Purbeurre | abf138d79c7b35e6dc3294daaa949a63f9afc000 | [
"MIT"
] | null | null | null | purbeurre/database_search.py | Mathiou04/Purbeurre | abf138d79c7b35e6dc3294daaa949a63f9afc000 | [
"MIT"
] | 7 | 2020-06-20T20:55:48.000Z | 2021-09-22T19:08:56.000Z | purbeurre/database_search.py | Mathiou04/Purbeurre | abf138d79c7b35e6dc3294daaa949a63f9afc000 | [
"MIT"
] | 1 | 2020-07-29T11:38:44.000Z | 2020-07-29T11:38:44.000Z | from purbeurre.models import Product
from django.db.models import Q
from collections import Counter
class DatabaseSearch:
"""This class's job is to find categories concerned by the user research
and return the best products (in terms of nutri-score) of each category."""
def get_substitutes_per_category(s... | 37.526316 | 79 | 0.598527 |
7af2e5c38167a995d8af05e7f83585f19484b3cb | 2,665 | cs | C# | CosmosEmulatorSample_Part1/Program.cs | jeremylindsayni/AzureCosmos_Part1 | 2900a259b8fb45c07386395e0c28e79a6b478fe0 | [
"MIT"
] | 1 | 2021-02-15T04:53:47.000Z | 2021-02-15T04:53:47.000Z | CosmosEmulatorSample_Part1/Program.cs | jeremylindsayni/AzureCosmos_Part1 | 2900a259b8fb45c07386395e0c28e79a6b478fe0 | [
"MIT"
] | null | null | null | CosmosEmulatorSample_Part1/Program.cs | jeremylindsayni/AzureCosmos_Part1 | 2900a259b8fb45c07386395e0c28e79a6b478fe0 | [
"MIT"
] | 2 | 2019-05-31T20:27:41.000Z | 2019-08-01T20:02:55.000Z | using System;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
namespace CosmosEmulatorSample_Part1
{
class Program
{
private static readonly string CosmosEndpoint = "https://localhost:8081";
private static readonly string EmulatorKey = "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEH... | 43.688525 | 144 | 0.642402 |
49790b7e217f16b62f97e5f716f334259c4f3ac8 | 325 | asm | Assembly | oeis/021/A021581.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/021/A021581.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/021/A021581.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A021581: Decimal expansion of 1/577.
; Submitted by Jon Maiga
; 0,0,1,7,3,3,1,0,2,2,5,3,0,3,2,9,2,8,9,4,2,8,0,7,6,2,5,6,4,9,9,1,3,3,4,4,8,8,7,3,4,8,3,5,3,5,5,2,8,5,9,6,1,8,7,1,7,5,0,4,3,3,2,7,5,5,6,3,2,5,8,2,3,2,2,3,5,7,0,1,9,0,6,4,1,2,4,7,8,3,3,6,2,2,1,8,3,7,0
add $0,1
mov $2,10
pow $2,$0
div $2,577
mov $0,$2
mod $... | 29.545455 | 199 | 0.556923 |
0183663011c6cc0fe1d5481511d6cf2abd93f175 | 164 | lua | Lua | stnbdhw/init.lua | deform-lab/fast-artistic-videos | 47ed2a9934c6d91a6d000c050ac3f327897a972f | [
"MIT"
] | 341 | 2018-02-10T23:49:43.000Z | 2022-03-18T16:53:00.000Z | stnbdhw/init.lua | deform-lab/fast-artistic-videos | 47ed2a9934c6d91a6d000c050ac3f327897a972f | [
"MIT"
] | 32 | 2018-02-13T23:00:56.000Z | 2021-01-22T04:19:22.000Z | stnbdhw/init.lua | deform-lab/fast-artistic-videos | 47ed2a9934c6d91a6d000c050ac3f327897a972f | [
"MIT"
] | 49 | 2018-02-11T20:23:40.000Z | 2022-03-20T12:26:58.000Z | require 'nn'
local withCuda = pcall(require, 'cutorch')
require 'libstn'
if withCuda then
require 'libcustn'
end
require('stn.BilinearSamplerBDHW')
return nn
| 13.666667 | 42 | 0.75 |
da7865b9de996ce6a56cff98249a19ebaadb389d | 471 | php | PHP | src/Models/PostTaxonomy.php | theanhk/tad-system | 21bd37b2b66ab56915398bb55420c2b09cf8b15c | [
"MIT"
] | null | null | null | src/Models/PostTaxonomy.php | theanhk/tad-system | 21bd37b2b66ab56915398bb55420c2b09cf8b15c | [
"MIT"
] | null | null | null | src/Models/PostTaxonomy.php | theanhk/tad-system | 21bd37b2b66ab56915398bb55420c2b09cf8b15c | [
"MIT"
] | null | null | null | <?php
namespace Tadcms\System\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Tadcms\System\Models\PostTaxonomy
*
* @method static \Illuminate\Database\Eloquent\Builder|PostTaxonomy newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|PostTaxonomy newQuery()
* @method static \Illuminate\... | 23.55 | 84 | 0.768577 |
2a8269c73eeca6c05ee6720db4b4b6d0b397477b | 531 | dart | Dart | lib/core/constants/app_constants.dart | nbc-hub/Quiz_App | dff1243e3ecdc5e045f745f12eb8b7f4b7e83ceb | [
"MIT"
] | null | null | null | lib/core/constants/app_constants.dart | nbc-hub/Quiz_App | dff1243e3ecdc5e045f745f12eb8b7f4b7e83ceb | [
"MIT"
] | null | null | null | lib/core/constants/app_constants.dart | nbc-hub/Quiz_App | dff1243e3ecdc5e045f745f12eb8b7f4b7e83ceb | [
"MIT"
] | null | null | null | import 'package:intl/intl.dart';
class AppConstants {
static AppConstants _instace;
static AppConstants get instance {
_instace ??= AppConstants._init();
return _instace;
}
AppConstants._init();
List<String> petList = [
'Kedi',
'Köpek',
'Muhabbet Kuşu',
'Papağan',
'Hamster'
];... | 20.423077 | 72 | 0.676083 |
85324675dec49758867e1a5ff43df327f16d01dd | 2,207 | cs | C# | Tests/Editor/StratusCollectionExtensionTests.cs | Azurelol/Stratus-Core | ff86ec280eff23054cdff07e35fbbf8d113d5068 | [
"MIT"
] | null | null | null | Tests/Editor/StratusCollectionExtensionTests.cs | Azurelol/Stratus-Core | ff86ec280eff23054cdff07e35fbbf8d113d5068 | [
"MIT"
] | null | null | null | Tests/Editor/StratusCollectionExtensionTests.cs | Azurelol/Stratus-Core | ff86ec280eff23054cdff07e35fbbf8d113d5068 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Reflection;
using NUnit.Framework;
using UnityEngine;
using System.Linq;
namespace Stratus.Editor.Tests
{
public class StratusCollectionExtensionsTests
{
[Test]
public void IsEmpty()
{
List<string> values = null;
Assert.Throws<Exception>(() =>... | 22.752577 | 60 | 0.628002 |