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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8c47c36159db14c6829de538b8981a5ecf4be10b | 5,764 | dart | Dart | lib/view/home/home_view.dart | zekkontro/google-fake-music | 290c3d7ca4483462c36479710e0b289499fd6603 | [
"MIT"
] | null | null | null | lib/view/home/home_view.dart | zekkontro/google-fake-music | 290c3d7ca4483462c36479710e0b289499fd6603 | [
"MIT"
] | null | null | null | lib/view/home/home_view.dart | zekkontro/google-fake-music | 290c3d7ca4483462c36479710e0b289499fd6603 | [
"MIT"
] | 1 | 2021-04-14T16:32:05.000Z | 2021-04-14T16:32:05.000Z | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:google_musics/constant/color_constant.dart';
import 'package:google_musics/constant/svg_icons.dart';
import 'package:google_musics/core/services/playlists.dart';
import 'package:google_musics/core/services/profile_service.d... | 38.426667 | 78 | 0.49306 |
d66270bf9106e05f546049c75c539c71136775ae | 4,331 | swift | Swift | Clark/UI Components/Bubbles/Carousel/CarouselContentNode.swift | ignotusverum/Clark | 697bb1ae25de18e6a81b0f88ef7ccd0f43092357 | [
"MIT"
] | null | null | null | Clark/UI Components/Bubbles/Carousel/CarouselContentNode.swift | ignotusverum/Clark | 697bb1ae25de18e6a81b0f88ef7ccd0f43092357 | [
"MIT"
] | null | null | null | Clark/UI Components/Bubbles/Carousel/CarouselContentNode.swift | ignotusverum/Clark | 697bb1ae25de18e6a81b0f88ef7ccd0f43092357 | [
"MIT"
] | null | null | null | //
// CarouselContentNode.swift
// Clark
//
// Created by Vladislav Zagorodnyuk on 7/8/17.
// Copyright © 2017 Clark. All rights reserved.
//
import UIKit
import NMessenger
import AsyncDisplayKit
protocol CarouselContentDelegate {
func datasourceSelected(items: [CarouselItem])
}
open class CarouselConte... | 31.158273 | 139 | 0.661972 |
5d3007e2cdb1f41deddd699b0ed75aedfb21519d | 1,545 | cpp | C++ | B-CCP-400-LYN-4-1-theplazza/src/kitchen.cpp | Neotoxic-off/Epitech2024 | 8b3dd04fa9ac2b7019c0b5b1651975a7252d929b | [
"Apache-2.0"
] | 2 | 2022-02-07T12:44:51.000Z | 2022-02-08T12:04:08.000Z | B-CCP-400-LYN-4-1-theplazza/src/kitchen.cpp | Neotoxic-off/Epitech2024 | 8b3dd04fa9ac2b7019c0b5b1651975a7252d929b | [
"Apache-2.0"
] | null | null | null | B-CCP-400-LYN-4-1-theplazza/src/kitchen.cpp | Neotoxic-off/Epitech2024 | 8b3dd04fa9ac2b7019c0b5b1651975a7252d929b | [
"Apache-2.0"
] | 1 | 2022-01-23T21:26:06.000Z | 2022-01-23T21:26:06.000Z | /*
** EPITECH PROJECT, 2020
** C / C++ PROJECT
** File description:
** file
*/
#include "kitchen.hpp"
#include "commands.hpp"
#include "pool.hpp"
#include "self.hpp"
kitchen::kitchen(int multiplier, int cooks, int time, commands *commands_d,
std::vector<std::string> pizzas, std::vector<std::string> sizes)
{
... | 20.328947 | 96 | 0.629773 |
95acb879a8aa7f23220f5d16bab7b2625af4140a | 226 | rb | Ruby | cookbooks/ri_base/recipes/tools.rb | bopopescu/devops-opsworks | a5bbf0cc41853d4f8174542790ad8925f5310fea | [
"Apache-2.0"
] | null | null | null | cookbooks/ri_base/recipes/tools.rb | bopopescu/devops-opsworks | a5bbf0cc41853d4f8174542790ad8925f5310fea | [
"Apache-2.0"
] | 1 | 2016-04-14T05:42:52.000Z | 2016-04-14T05:42:52.000Z | cookbooks/ri_base/recipes/tools.rb | bopopescu/devops-opsworks | a5bbf0cc41853d4f8174542790ad8925f5310fea | [
"Apache-2.0"
] | 1 | 2020-07-24T10:29:32.000Z | 2020-07-24T10:29:32.000Z | # performance monitors
package "sysstat" do
action :upgrade
end
package "jnettop" do
action :upgrade
end
package "iperf" do
action :upgrade
end
# git client
package "git-core" do
action :upgrade
end | 12.555556 | 23 | 0.681416 |
f491fa7d5d142a79fcf5ef972ea4393c4dff830a | 2,166 | ts | TypeScript | 2021/mini-compiler/src/main.ts | KivalEvan/CPU-Scheduling-Simulation | f80d080aab94db053a70a1115ebd4cd97c41d65b | [
"MIT"
] | null | null | null | 2021/mini-compiler/src/main.ts | KivalEvan/CPU-Scheduling-Simulation | f80d080aab94db053a70a1115ebd4cd97c41d65b | [
"MIT"
] | null | null | null | 2021/mini-compiler/src/main.ts | KivalEvan/CPU-Scheduling-Simulation | f80d080aab94db053a70a1115ebd4cd97c41d65b | [
"MIT"
] | null | null | null | import './style.css';
import { scanner } from './lexicalAnalyser';
import { parser, AbstractSyntaxTree } from './syntaxAnalyser';
const htmlInputTextArea = document.querySelector<HTMLTextAreaElement>('#input-text')!;
const htmlOutputLexerTextArea =
document.querySelector<HTMLTextAreaElement>('#output-lexer')!;
co... | 32.818182 | 88 | 0.666667 |
a3e28678806235a3c3ee5c39e5d201596fec210d | 792 | java | Java | app/src/main/java/com/skytreasure/bingflightscraper/model/FlightModel.java | SkyTreasure/Bing-Flight-Status-Android-Scraper | 496de42c17a1a4104104e8984ca41bd90788d55c | [
"MIT"
] | 9 | 2018-04-11T15:02:43.000Z | 2021-10-31T13:34:04.000Z | app/src/main/java/com/skytreasure/bingflightscraper/model/FlightModel.java | SkyTreasure/Bing-Flight-Status-Android-Scraper | 496de42c17a1a4104104e8984ca41bd90788d55c | [
"MIT"
] | null | null | null | app/src/main/java/com/skytreasure/bingflightscraper/model/FlightModel.java | SkyTreasure/Bing-Flight-Status-Android-Scraper | 496de42c17a1a4104104e8984ca41bd90788d55c | [
"MIT"
] | 3 | 2019-03-13T23:24:44.000Z | 2020-09-30T13:35:44.000Z | package com.skytreasure.bingflightscraper.model;
/**
* Created by akash on 21/12/17.
*/
public class FlightModel {
public String flightNumber;
public String statusDetails;
public String statusBadge;
public String arivalTime;
public String departureTime;
public String departureArrivalTimings;... | 24 | 48 | 0.732323 |
b0c603eaeec37191e2ddc892dfa1344206c89b99 | 3,600 | py | Python | generator.py | koshian2/ImageNet | ed11a31637db6f7c2df12232e3cb1cabad8397e9 | [
"MIT"
] | null | null | null | generator.py | koshian2/ImageNet | ed11a31637db6f7c2df12232e3cb1cabad8397e9 | [
"MIT"
] | null | null | null | generator.py | koshian2/ImageNet | ed11a31637db6f7c2df12232e3cb1cabad8397e9 | [
"MIT"
] | null | null | null | from PIL import Image
from preprocess import imagenet_data_augmentation, validation_image_load
import numpy as np
from joblib import Parallel, delayed
def imagenet_generator(meta_data, size, is_train, batch_size, preprocess_func):
"""
ImageNet data generator
# Inputs
meta_data = [[path, class_idx], [... | 41.860465 | 107 | 0.63 |
a17d11a66b5590dd54e7d89c95a4f499d5de7353 | 1,771 | ts | TypeScript | src/types/Slice.ts | FontEndArt/typescript-utils-study | 97cb6b6f4771decce06fd39605361713318f4ce7 | [
"MIT"
] | 4 | 2022-02-25T06:21:19.000Z | 2022-03-05T07:36:30.000Z | src/types/Slice.ts | FontEndArt/typescript-utils-study | 97cb6b6f4771decce06fd39605361713318f4ce7 | [
"MIT"
] | 1 | 2022-02-25T06:21:13.000Z | 2022-03-01T06:29:45.000Z | src/types/Slice.ts | FontEndArt/typescript-utils-study | 97cb6b6f4771decce06fd39605361713318f4ce7 | [
"MIT"
] | null | null | null | /**
* @name NumberToTuple
* @descript number 转 tuple类型
* @example type A = NumberToTuple<0> // []
* @example type A = NumberToTuple<1> // [any]
* @example type A = NumberToTuple<2> // [any, any]
*/
export type NumberToTuple<T extends number = 0, R extends any[] = []> =
R['length'] extends T
? R
... | 36.895833 | 93 | 0.517222 |
583ffaa85145763cf93fcde2e650ca8849d06fe9 | 741 | css | CSS | data/usercss/116983.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/116983.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/116983.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name kuriyama mi
@namespace USO Archive
@author VanillaAmorDoce
@description `Kuriyama mirai ad`
@version 20150727.20.9
@license NO-REDISTRIBUTION
@preprocessor uso
==/UserStyle== */
@-moz-document domain("amordoce.com") {
#container{
background-image : url(... | 32.217391 | 102 | 0.68691 |
b117282d23cee5f0d2e385fc62d45e2e90feda91 | 774 | lua | Lua | AttackOnPirates/gameLogic/score.lua | dyhpoon/game-project | d88e271002101e1eb87aba94d58b44c1f56cb7a0 | [
"Apache-2.0"
] | 5 | 2016-03-03T04:10:21.000Z | 2018-04-26T12:30:08.000Z | AttackOnPirates/gameLogic/score.lua | dyhpoon/Attack-on-Pirates | d88e271002101e1eb87aba94d58b44c1f56cb7a0 | [
"Apache-2.0"
] | null | null | null | AttackOnPirates/gameLogic/score.lua | dyhpoon/Attack-on-Pirates | d88e271002101e1eb87aba94d58b44c1f56cb7a0 | [
"Apache-2.0"
] | null | null | null | module(..., package.seeall)
function new()
local group = display.newGroup()
local score
local scoreText
score = 0
scoreText = display.newText( "SCORE: 0" , 0, 0, "impact", 13 )
scoreText.anchorX, scoreText.anchorY = 1, .5
scoreText.x = display.contentWidth - 8
scoreText.y = 40
scoreText.text = "SCORE: ... | 23.454545 | 83 | 0.68863 |
252a385359fd70f07bca972cac7210446cedd983 | 5,526 | swift | Swift | _src/Chapter09/Swift/Node.swift | paullewallencom/data-structures-978-1-7871-2104-1 | 85eaa72e7e77ea24fe7a28152159076619902247 | [
"Apache-2.0"
] | 12 | 2017-08-06T09:47:03.000Z | 2021-12-30T07:40:24.000Z | Chapter09/Swift/Node.swift | Danielr19/Everyday-Data-Structures | 9df026c1e3b11b69bf89e02ec8ade3966d042726 | [
"MIT"
] | null | null | null | Chapter09/Swift/Node.swift | Danielr19/Everyday-Data-Structures | 9df026c1e3b11b69bf89e02ec8ade3966d042726 | [
"MIT"
] | 13 | 2017-03-16T11:56:04.000Z | 2021-08-21T12:03:45.000Z | //
// Node.swift
// EverydayDataStructures-Swift
//
// Created by Will Smith on 9/24/16.
// Copyright © 2016 Websmiths, LLC. All rights reserved.
//
import Foundation
public class Node : Equatable
{
public var data: Int
public var left: Node?
public var right: Node?
public var children: Array<Nod... | 20.85283 | 57 | 0.412776 |
7b6381699372ac8e4d436098aec743919cfc66f1 | 397 | rb | Ruby | spec/lib/commontator/shared_helper_spec.rb | andreibondarev/commontator | a1400e9cc3668b4e1d7e5399c8dc0859a73201bc | [
"MIT"
] | null | null | null | spec/lib/commontator/shared_helper_spec.rb | andreibondarev/commontator | a1400e9cc3668b4e1d7e5399c8dc0859a73201bc | [
"MIT"
] | null | null | null | spec/lib/commontator/shared_helper_spec.rb | andreibondarev/commontator | a1400e9cc3668b4e1d7e5399c8dc0859a73201bc | [
"MIT"
] | null | null | null | require 'rails_helper'
RSpec.describe Commontator::SharedHelper, type: :lib do
let(:controller) { DummyModelsController.new }
before { setup_controller_spec }
it 'renders a commontator thread' do
@user.can_read = true
controller.current_user = @user
thread_link = controller.view_context.commontator... | 26.466667 | 79 | 0.763224 |
4fec34109c83cb90218da9b9751f1351f8d320ee | 10,654 | ps1 | PowerShell | src/metadata/GraphDataModel.ps1 | adamedx/poshgraph | af94b47ee14c89b9a46982833d34433dc3de5587 | [
"Apache-2.0"
] | 15 | 2018-09-28T23:44:15.000Z | 2021-07-23T19:05:24.000Z | src/metadata/GraphDataModel.ps1 | adamedx/autographps | af94b47ee14c89b9a46982833d34433dc3de5587 | [
"Apache-2.0"
] | 7 | 2018-10-15T02:50:41.000Z | 2021-06-15T13:28:03.000Z | src/metadata/GraphDataModel.ps1 | adamedx/autographps | af94b47ee14c89b9a46982833d34433dc3de5587 | [
"Apache-2.0"
] | 2 | 2018-10-16T10:57:45.000Z | 2020-02-23T11:25:22.000Z | # Copyright 2021, Adam Edwards
#
# 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... | 36.993056 | 143 | 0.589638 |
18db6e36e6a1a3051b73899a0e20041ce306d8c7 | 1,055 | rs | Rust | build.rs | spacekookie/railcar | ef5918e21e7ad9ffd25c1a507df96458ec4e0c24 | [
"Apache-2.0"
] | 1,189 | 2017-06-29T17:00:10.000Z | 2022-03-26T16:09:46.000Z | build.rs | spacekookie/railcar | ef5918e21e7ad9ffd25c1a507df96458ec4e0c24 | [
"Apache-2.0"
] | 36 | 2017-06-29T20:28:11.000Z | 2020-01-08T17:28:39.000Z | build.rs | spacekookie/railcar | ef5918e21e7ad9ffd25c1a507df96458ec4e0c24 | [
"Apache-2.0"
] | 133 | 2017-06-29T22:20:31.000Z | 2022-03-29T14:05:43.000Z | use std::env;
use std::fs::File;
use std::io::Read;
use std::process::Command;
fn main() {
// static link the musl target
if env::var("TARGET").unwrap() == "x86_64-unknown-linux-musl" {
let mut cmd = Command::new("./build_seccomp.sh");
let output = cmd.output().expect("cmd failed to start");
... | 35.166667 | 69 | 0.535545 |
3935a7987c499f20196a15d615654e9bfef5ded0 | 1,722 | py | Python | viz/grid.py | Unathi-Skosana/ptycho | 95e49a092d1212e2d02349ad4c50ea7db93e2687 | [
"MIT"
] | null | null | null | viz/grid.py | Unathi-Skosana/ptycho | 95e49a092d1212e2d02349ad4c50ea7db93e2687 | [
"MIT"
] | null | null | null | viz/grid.py | Unathi-Skosana/ptycho | 95e49a092d1212e2d02349ad4c50ea7db93e2687 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
from mpl_toolkits.axes_grid1 import ImageGrid
import numpy as np
from skimage.io import imread
from skimage import img_as_float
plt.style.use("mint")
im1 = img_as_float(imread("./v10_obj_ampl.png", as_gray=True))
im2 = img_as_float(imread("./v10_obj_phase.png", as_gray=True))
im3 = im... | 33.115385 | 73 | 0.654472 |
2c346285e09f1464ebbbe52ab2be306c48f58e10 | 2,386 | py | Python | src/channels/twilio.py | SimplyVC/panic_polkadot | 2c5517b0e01e27d4c54dc6a6609699471b833746 | [
"Apache-2.0"
] | 41 | 2020-01-22T14:37:17.000Z | 2021-12-30T16:12:20.000Z | src/channels/twilio.py | SimplyVC/panic_polkadot | 2c5517b0e01e27d4c54dc6a6609699471b833746 | [
"Apache-2.0"
] | 33 | 2020-01-31T15:04:03.000Z | 2022-02-27T11:23:13.000Z | src/channels/twilio.py | SimplyVC/panic_polkadot | 2c5517b0e01e27d4c54dc6a6609699471b833746 | [
"Apache-2.0"
] | 9 | 2020-04-16T07:59:03.000Z | 2021-10-09T04:35:35.000Z | import logging
from typing import Optional, List
from src.alerts.alerts import Alert, \
ProblemWhenCheckingIfCallsAreSnoozedAlert, ProblemWhenDialingNumberAlert
from src.channels.channel import Channel, ChannelSet
from src.store.redis.redis_api import RedisApi
from src.store.store_keys import Keys
from src.utils.a... | 39.114754 | 77 | 0.603521 |
da0676360548ed0c4f0bcf55acf745584d83cefa | 4,991 | rb | Ruby | spec/core/file/shared/fnmatch.rb | tqrg-bot/rubinius | beb0fe3968ea7ff3c09e192605eef066136105c8 | [
"BSD-3-Clause"
] | null | null | null | spec/core/file/shared/fnmatch.rb | tqrg-bot/rubinius | beb0fe3968ea7ff3c09e192605eef066136105c8 | [
"BSD-3-Clause"
] | null | null | null | spec/core/file/shared/fnmatch.rb | tqrg-bot/rubinius | beb0fe3968ea7ff3c09e192605eef066136105c8 | [
"BSD-3-Clause"
] | null | null | null | shared :file_fnmatch do |cmd|
describe "File.#{cmd}" do
it "matches entire strings" do
File.send(cmd, 'cat', 'cat').should == true
end
it "does not match partial strings" do
File.send(cmd, 'cat', 'category').should == false
end
it "does not support { } patterns" do
File.sen... | 41.247934 | 113 | 0.604889 |
385719a0fad54454237a7cbbb4713b1ae21743c6 | 75 | php | PHP | application/views/templates/echojson.php | abinj30/sales-dashboard | a565016ed4b11efc8370d1e0047a1ab69eb81583 | [
"Apache-2.0"
] | null | null | null | application/views/templates/echojson.php | abinj30/sales-dashboard | a565016ed4b11efc8370d1e0047a1ab69eb81583 | [
"Apache-2.0"
] | null | null | null | application/views/templates/echojson.php | abinj30/sales-dashboard | a565016ed4b11efc8370d1e0047a1ab69eb81583 | [
"Apache-2.0"
] | 2 | 2020-02-04T03:45:06.000Z | 2020-03-06T16:59:58.000Z | <?php
header('Content-type: application/json');
echo json_encode($data);
?> | 18.75 | 41 | 0.72 |
907fdd07414f454a4cd851e99202693d9d2cabee | 3,465 | dart | Dart | direct_test/header_parser_kickstart/parse_header_now.dart | jpedrosa/arpoador | e2fcc05f7cf922cb48e116fd9b3a23437524e8a6 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | direct_test/header_parser_kickstart/parse_header_now.dart | jpedrosa/arpoador | e2fcc05f7cf922cb48e116fd9b3a23437524e8a6 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | direct_test/header_parser_kickstart/parse_header_now.dart | jpedrosa/arpoador | e2fcc05f7cf922cb48e116fd9b3a23437524e8a6 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | import "../../lib/header_parser.dart";
import "../../lib/lang.dart";
genSample1() {
var s = """
GET /yes HTTP/1.1
Host: 127.0.0.1:8777
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like G... | 41.25 | 145 | 0.562482 |
1badb3ae8c86dd857deb350fd3674516ba7e0baa | 781 | swift | Swift | ParallaxPagingViewController/Sources/ParallaxViewController.swift | tomokitakahashi/ParallaxPagingViewController | b33209bf3b89049dfa0b603a23154d7f5bcc6de6 | [
"MIT"
] | 18 | 2017-07-11T02:33:51.000Z | 2021-08-03T03:39:46.000Z | ParallaxPagingViewController/Sources/ParallaxViewController.swift | tomokitakahashi/ParallaxPagingViewController | b33209bf3b89049dfa0b603a23154d7f5bcc6de6 | [
"MIT"
] | 1 | 2019-01-23T07:48:08.000Z | 2019-01-23T13:31:45.000Z | ParallaxPagingViewController/Sources/ParallaxViewController.swift | tomokitakahashi/ParallaxPagingViewController | b33209bf3b89049dfa0b603a23154d7f5bcc6de6 | [
"MIT"
] | null | null | null | //
// ParallaxViewController.swift
// ParallaxPagingViewController
//
// Created by takahashi tomoki on 2017/07/05.
// Copyright © 2017年 TomokiTakahashi. All rights reserved.
//
import UIKit
open class ParallaxViewController: UIViewController {
open var backgroundView = ParallaxView()
@IBInspect... | 24.40625 | 73 | 0.660691 |
f7a4b046651341846eade1d20b786de9881ad7c2 | 373 | rb | Ruby | spec/moby_spec.rb | drichert/moby | 7fcbcaf0816832d0b0da0547204dea68cc1dcab9 | [
"MIT"
] | 9 | 2015-07-27T15:22:45.000Z | 2017-09-04T06:19:41.000Z | spec/moby_spec.rb | drichert/moby | 7fcbcaf0816832d0b0da0547204dea68cc1dcab9 | [
"MIT"
] | null | null | null | spec/moby_spec.rb | drichert/moby | 7fcbcaf0816832d0b0da0547204dea68cc1dcab9 | [
"MIT"
] | null | null | null | require 'spec_helper'
describe Moby do
describe "::VERSION" do
it "should be a valid SemVer string" do
Moby::VERSION.should match(/^(\d+\.){2}\d+([a-z](\w+)?)?$/)
end
end
describe "::base_path" do
it "should return the absolute root path of the application" do
Moby::base_path.should == F... | 23.3125 | 67 | 0.627346 |
6a8bd6f623f6cc546b99b6c0059d3ea8f8ba7d0b | 2,654 | ps1 | PowerShell | ImageCreation/Scripts/InstallSoftware.ps1 | falldamagestudio/UE4-GHA-BuildAgent | 643013167fe82181a726447aed6f196b7d61904f | [
"MIT"
] | 1 | 2021-01-22T14:28:16.000Z | 2021-01-22T14:28:16.000Z | ImageCreation/Scripts/InstallSoftware.ps1 | falldamagestudio/UE4-GHA-BuildAgent | 643013167fe82181a726447aed6f196b7d61904f | [
"MIT"
] | 9 | 2020-06-03T15:59:25.000Z | 2021-07-13T10:45:47.000Z | ImageCreation/Scripts/InstallSoftware.ps1 | falldamagestudio/UE4-GHA-BuildAgent | 643013167fe82181a726447aed6f196b7d61904f | [
"MIT"
] | 2 | 2020-06-01T14:59:31.000Z | 2020-12-02T08:47:01.000Z | . ${PSScriptRoot}\..\Tools\Scripts\Enable-Win32LongPaths.ps1
. ${PSScriptRoot}\..\Tools\Scripts\Install-GitHubActionsRunner.ps1
. ${PSScriptRoot}\..\Tools\Scripts\Add-WindowsDefenderExclusionRule.ps1
. ${PSScriptRoot}\..\Tools\Scripts\Install-Git.ps1
. ${PSScriptRoot}\..\Tools\Scripts\Install-VisualStudioBuildTools.... | 42.806452 | 192 | 0.834966 |
386198da674b579637e94115f8783b771b2f328f | 1,440 | cs | C# | Assets/SeeThru/Editor/SeeThru/Menu/SeeThruMenuItems.cs | movitto/seethru-documentation | 8a97a308f05b1ff309a9b0d51bbfd8fe8a9f8557 | [
"MIT"
] | 2 | 2021-04-05T14:24:10.000Z | 2021-10-30T16:19:10.000Z | Assets/SeeThru/Editor/SeeThru/Menu/SeeThruMenuItems.cs | movitto/seethru-documentation | 8a97a308f05b1ff309a9b0d51bbfd8fe8a9f8557 | [
"MIT"
] | 1 | 2021-10-30T22:54:30.000Z | 2021-10-31T16:41:02.000Z | Assets/SeeThru/Editor/SeeThru/Menu/SeeThruMenuItems.cs | movitto/seethru-documentation | 8a97a308f05b1ff309a9b0d51bbfd8fe8a9f8557 | [
"MIT"
] | 1 | 2021-10-30T16:20:40.000Z | 2021-10-30T16:20:40.000Z | // SeeThru © Dynamic Realities - https://twitter.com/DynRealities
// Documentation: https://github.com/dynamicrealities/seethru-documentation/wiki
using SeeThru.Cameras;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEditor;
using UnityEn... | 35.121951 | 124 | 0.706944 |
c5ed1985ee024535a07988b1867bae1c5e5d5479 | 4,744 | swift | Swift | DSFFinderLabels/ui/DSFFinderColorGridView.swift | dagronf/DSFFinderLabels | e1818fd02bec509fb36716a2587cbc6885380949 | [
"MIT"
] | 3 | 2020-05-11T15:13:51.000Z | 2021-06-19T17:29:07.000Z | DSFFinderLabels/ui/DSFFinderColorGridView.swift | dagronf/DSFFinderLabels | e1818fd02bec509fb36716a2587cbc6885380949 | [
"MIT"
] | null | null | null | DSFFinderLabels/ui/DSFFinderColorGridView.swift | dagronf/DSFFinderLabels | e1818fd02bec509fb36716a2587cbc6885380949 | [
"MIT"
] | 1 | 2020-03-09T13:14:05.000Z | 2020-03-09T13:14:05.000Z | //
// CircleColorButton.swift
// DSFFinderLabelsDemo
//
// Created by Darren Ford on 8/2/19.
// Copyright © 2019 Darren Ford. All rights reserved.
//
import Cocoa
/// Delegate protocol for users of the DSFFinderColorGridView
public protocol DSFFinderColorGridViewProtocol {
/// Called when the selection changes
... | 33.885714 | 165 | 0.744309 |
541e57364b0530b2c9537b01dd24ee114910cfef | 4,434 | css | CSS | public/vendor/wRunner/themes/wrunner-default-theme.css | super1114/Video-editor | 15bf4013a99d5729361437f54a9ad2023c567593 | [
"MIT"
] | null | null | null | public/vendor/wRunner/themes/wrunner-default-theme.css | super1114/Video-editor | 15bf4013a99d5729361437f54a9ad2023c567593 | [
"MIT"
] | null | null | null | public/vendor/wRunner/themes/wrunner-default-theme.css | super1114/Video-editor | 15bf4013a99d5729361437f54a9ad2023c567593 | [
"MIT"
] | null | null | null | .wrunner_theme_default.wrunner_direction_horizontal {
width: 100%;
padding-left: 0.625rem;
padding-right: 0.625rem;
box-sizing: border-box;
}
.wrunner_theme_default.wrunner_direction_vertical {
height: 100%;
width: max-content;
padding-top: 0.625rem;
padding-bottom: 0.625rem;
box-sizing: border-box;
}... | 26.710843 | 99 | 0.7659 |
57e614bc454d8e6ee755470ef1e051d1399c7914 | 1,892 | php | PHP | web/app/plugins/multi-step-form/includes/admin/partials/msf-plus-notice.php | kzachos/dr-rossa-kollegen | 7e440acc6f12afec16b6c8df02d4355e2ae61bf5 | [
"MIT"
] | null | null | null | web/app/plugins/multi-step-form/includes/admin/partials/msf-plus-notice.php | kzachos/dr-rossa-kollegen | 7e440acc6f12afec16b6c8df02d4355e2ae61bf5 | [
"MIT"
] | null | null | null | web/app/plugins/multi-step-form/includes/admin/partials/msf-plus-notice.php | kzachos/dr-rossa-kollegen | 7e440acc6f12afec16b6c8df02d4355e2ae61bf5 | [
"MIT"
] | null | null | null | <?php
if (!defined('ABSPATH')) exit;
?>
<style>
.wrap {
width: 75%;
float: left;
margin-right: 0px;
}
#msf-sidebar-container {
width: 260px;
padding: 0 0 0 30px;
float: left;
width: 20%;
margin-top: 20px;
}
#sidebar {
pad... | 24.894737 | 142 | 0.487315 |
06a74f6300be484ea8a59e270aee6dfba6ab251b | 1,712 | css | CSS | frontend/styles/index.css | RutyRibeiro/chaDeCozinha | 03f617e7211a9ddb861e87306b828408cea023c2 | [
"MIT"
] | null | null | null | frontend/styles/index.css | RutyRibeiro/chaDeCozinha | 03f617e7211a9ddb861e87306b828408cea023c2 | [
"MIT"
] | null | null | null | frontend/styles/index.css | RutyRibeiro/chaDeCozinha | 03f617e7211a9ddb861e87306b828408cea023c2 | [
"MIT"
] | null | null | null | .container-items {
position: relative;
}
.container-info {
margin-bottom: 20px;
}
.container-info .info {
text-align: center;
}
.container-items .container-form {
width: 100%;
display: flex;
justify-content: space-between;
}
.container-form div {
display: flex;
align-items: center... | 15.851852 | 41 | 0.617407 |
3a4ba13cbc1a4f26fd4dc628ad8869d9d7c39fb3 | 2,762 | go | Go | lexer/indent_test.go | DataDrake/haml | 3d8df2e9681791beee1f5489ae9ee71eab33d5e8 | [
"Apache-2.0"
] | 1 | 2021-01-08T03:53:22.000Z | 2021-01-08T03:53:22.000Z | lexer/indent_test.go | DataDrake/haml | 3d8df2e9681791beee1f5489ae9ee71eab33d5e8 | [
"Apache-2.0"
] | null | null | null | lexer/indent_test.go | DataDrake/haml | 3d8df2e9681791beee1f5489ae9ee71eab33d5e8 | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2021 Bryan T. Meyers <root@datadrake.com>
//
// 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 ap... | 24.017391 | 75 | 0.594135 |
94f5177054270cccfc5b2b129159bff3a777087b | 7,911 | lua | Lua | .index.lua | DengSir/tdBag2 | 5738346a287b6c4a5fd5389cc5b4f44fc68f812b | [
"MIT"
] | 4 | 2020-03-28T12:22:31.000Z | 2022-01-25T08:40:58.000Z | .index.lua | DengSir/tdBag2 | 5738346a287b6c4a5fd5389cc5b4f44fc68f812b | [
"MIT"
] | 13 | 2019-10-25T08:58:28.000Z | 2022-02-16T19:12:11.000Z | .index.lua | DengSir/tdBag2 | 5738346a287b6c4a5fd5389cc5b4f44fc68f812b | [
"MIT"
] | 3 | 2021-05-23T22:17:08.000Z | 2022-01-06T03:45:37.000Z | -- .index.lua
-- @Author : Dencer (tdaddon@163.com)
-- @Link : https://dengsir.github.io
-- @Date : 11/5/2020, 10:37:21 AM
---@class ns
---@field UI UI
---@field Addon Addon
---@field Events Events
---@field FrameMeta tdBag2FrameMeta
---@field Counter tdBag2Counter
---@field Forever tdBag2Forever
---@field Cache t... | 26.816949 | 79 | 0.762356 |
7576ebdefce224e587be53d7268a5acd8d5152ee | 842 | css | CSS | css/nav.css | SedaxMx/School-Agenda | 49a3da412716870f30027c1842ba4f579f6cd5f0 | [
"MIT"
] | null | null | null | css/nav.css | SedaxMx/School-Agenda | 49a3da412716870f30027c1842ba4f579f6cd5f0 | [
"MIT"
] | null | null | null | css/nav.css | SedaxMx/School-Agenda | 49a3da412716870f30027c1842ba4f579f6cd5f0 | [
"MIT"
] | null | null | null | .switch-tema {
position: relative;
height: 35px;
width: 65px;
border-radius: 50px;
overflow: hidden;
margin-top: 1.2em;
}
.switch-tema label{
display: inline-block;
width: 100%;
height: 100%;
}
.input-tema + label {
transition: background 1s ease-in-out;
background: #1083D6... | 18.304348 | 51 | 0.624703 |
387b744dc0711970d3f390e86001c6f8aa5943fd | 2,053 | php | PHP | src/Saver/SQLFile.php | Aldarien/backup | 5b6f7fa56fed8240b8b9f79a05be6c7e15960aba | [
"MIT"
] | null | null | null | src/Saver/SQLFile.php | Aldarien/backup | 5b6f7fa56fed8240b8b9f79a05be6c7e15960aba | [
"MIT"
] | null | null | null | src/Saver/SQLFile.php | Aldarien/backup | 5b6f7fa56fed8240b8b9f79a05be6c7e15960aba | [
"MIT"
] | null | null | null | <?php
namespace Backup\Saver;
class SQLFile extends Saver
{
public function __construct()
{
parent::__construct();
$this->extension = 'sql';
}
public function build()
{
$sql = [];
foreach ($this->data as $data) {
$sql []= $this->createTable($data);
$sql []= $this->inserts($data)... | 24.152941 | 68 | 0.407696 |
0575e56239eb2daaef27c6466a46cb1ea4a2c574 | 242 | asm | Assembly | libsrc/_DEVELOPMENT/compress/zx0/c/sccz80/dzx0_agile_rcs_callee.asm | w5Mike/z88dk | f5090488e1d74ead8c865afe6df48231cd5c70ba | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/compress/zx0/c/sccz80/dzx0_agile_rcs_callee.asm | w5Mike/z88dk | f5090488e1d74ead8c865afe6df48231cd5c70ba | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/compress/zx0/c/sccz80/dzx0_agile_rcs_callee.asm | w5Mike/z88dk | f5090488e1d74ead8c865afe6df48231cd5c70ba | [
"ClArtistic"
] | null | null | null |
; void dzx0_agile_rcs_callee(void *src, void *dst)
SECTION code_clib
SECTION code_compress_zx0
PUBLIC dzx0_agile_rcs_callee
EXTERN asm_dzx0_agile_rcs
dzx0_agile_rcs_callee:
pop hl
pop de
ex (sp),hl
jp asm_dzx0_agile_rcs
| 13.444444 | 50 | 0.772727 |
938747cffc10823328e66b95ceabca0eb68fe8ba | 507 | cs | C# | src/Channel_Nine/models/Shows/Show.cs | Xonshiz/Channel-9 | 2d10d792da220ce7b30a1806887db66e77576d16 | [
"MIT"
] | null | null | null | src/Channel_Nine/models/Shows/Show.cs | Xonshiz/Channel-9 | 2d10d792da220ce7b30a1806887db66e77576d16 | [
"MIT"
] | null | null | null | src/Channel_Nine/models/Shows/Show.cs | Xonshiz/Channel-9 | 2d10d792da220ce7b30a1806887db66e77576d16 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace Channel_Nine.models.Shows
{
class Show
{
public string showID { get; set; }
public string showTitle { get; set; }
//Show URL will be just the part needed to go to /shows/{showURL} and get the details.
... | 28.166667 | 94 | 0.635108 |
46be5688a2ab1813b8393b2653ad1b87466e044f | 338 | swift | Swift | VisualRecognitionV3.playground/Pages/User Data.xcplaygroundpage/Contents.swift | kant/swift-playgrounds | 1b1e589586317005fef02423f770e624be2295dc | [
"Apache-2.0"
] | 1 | 2019-09-26T15:11:37.000Z | 2019-09-26T15:11:37.000Z | VisualRecognitionV3.playground/Pages/User Data.xcplaygroundpage/Contents.swift | kant/swift-playgrounds | 1b1e589586317005fef02423f770e624be2295dc | [
"Apache-2.0"
] | 5 | 2019-02-07T02:38:12.000Z | 2020-05-26T15:44:06.000Z | VisualRecognitionV3.playground/Pages/User Data.xcplaygroundpage/Contents.swift | kant/swift-playgrounds | 1b1e589586317005fef02423f770e624be2295dc | [
"Apache-2.0"
] | 2 | 2019-03-25T19:23:56.000Z | 2021-02-26T03:55:32.000Z | //:## User Data
import VisualRecognitionV3
let visualRecognition = setupVisualRecognitionV3()
//:### Delete labeled data
visualRecognition.deleteUserData(customerID: "my-customer-id") {
_, error in
if let error = error {
print(error.localizedDescription)
return
}
print("delete requ... | 17.789474 | 64 | 0.689349 |
4b30963cb8404a0259545f4ca3fbf4bb0ff8c9f0 | 852 | rs | Rust | src/config.rs | TeFiLeDo/nimo | 5acdc0408028380e5cb34baa9875c40074c2dcae | [
"MIT"
] | 1 | 2021-11-26T05:58:48.000Z | 2021-11-26T05:58:48.000Z | src/config.rs | TeFiLeDo/nimo | 5acdc0408028380e5cb34baa9875c40074c2dcae | [
"MIT"
] | null | null | null | src/config.rs | TeFiLeDo/nimo | 5acdc0408028380e5cb34baa9875c40074c2dcae | [
"MIT"
] | null | null | null | use std::path::PathBuf;
use anyhow::{Context, Result};
use figment::{
providers::{Env, Format, Toml},
Figment,
};
#[derive(Debug, serde::Deserialize)]
pub struct Config {
#[serde(default = "default_data_path")]
pub data: PathBuf,
#[serde(default)]
pub ping: crate::ping::Config,
#[serde(def... | 25.058824 | 73 | 0.591549 |
b07702c86548898ef633ce6d0cc0f13f210c5124 | 15,090 | py | Python | telnetbmc.py | spyd3rweb/pypmi | fe043ede5fb68a863586cbc5a991020a1f920add | [
"Apache-2.0"
] | 1 | 2020-07-23T10:21:37.000Z | 2020-07-23T10:21:37.000Z | telnetbmc.py | spyd3rweb/pypmi | fe043ede5fb68a863586cbc5a991020a1f920add | [
"Apache-2.0"
] | null | null | null | telnetbmc.py | spyd3rweb/pypmi | fe043ede5fb68a863586cbc5a991020a1f920add | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import logging
import argparse
import sys
import re
import asyncio
import telnetlib3
import commandbmc
import asyncbmc
import pinbmc
from enum import IntEnum
from itertools import chain
COMMAND_TELNET_CONFIG = {
"host": '192.168.4.1',
"port": 24,
"baud": 115200,
"crlf" : '\r\n',
... | 44.910714 | 167 | 0.646587 |
f1ea8b5472f809e08a61f6ea4b9d8b5220a46671 | 1,179 | dart | Dart | lib/immutables.dart | google/dart-immutables | 4a09eaf827a94f98e071f7e9538f036cf2174866 | [
"Apache-2.0"
] | 4 | 2017-05-10T03:48:17.000Z | 2020-03-15T07:09:04.000Z | lib/immutables.dart | google/dart-immutables | 4a09eaf827a94f98e071f7e9538f036cf2174866 | [
"Apache-2.0"
] | null | null | null | lib/immutables.dart | google/dart-immutables | 4a09eaf827a94f98e071f7e9538f036cf2174866 | [
"Apache-2.0"
] | 5 | 2017-07-24T22:38:36.000Z | 2021-07-12T12:33:06.000Z | // Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | 39.3 | 79 | 0.751484 |
b349c67246b7d4fcd631374d26b62c856fe4ff64 | 15,382 | py | Python | anomaly_detection_time_series/MatrixProfileAD.py | Vincent-Vercruyssen/absent_pattern_detection | 58dba15a367a0a302756deeef34de73eb3dae8e6 | [
"Apache-2.0"
] | 4 | 2019-11-20T11:05:09.000Z | 2021-11-08T12:44:03.000Z | anomaly_detection_time_series/MatrixProfileAD.py | Vincent-Vercruyssen/absent_pattern_detection | 58dba15a367a0a302756deeef34de73eb3dae8e6 | [
"Apache-2.0"
] | null | null | null | anomaly_detection_time_series/MatrixProfileAD.py | Vincent-Vercruyssen/absent_pattern_detection | 58dba15a367a0a302756deeef34de73eb3dae8e6 | [
"Apache-2.0"
] | null | null | null | """ Matrix profile anomaly detection.
Reference:
Yeh, C. C. M., Zhu, Y., Ulanova, L., Begum, N., Ding, Y., Dau, H. A., Keogh, E. (2016, December).
Matrix profile I: all pairs similarity joins for time series: a unifying view that includes motifs, discords and shapelets.
In Data Mining (ICDM), 2016 IEEE 16t... | 36.192941 | 135 | 0.563191 |
20a7f168b064b7c93ea697daa790e550e1ae252e | 583 | py | Python | Python/basic/functools_test.py | InnoFang/misc-code | 561d0c5b02f81ad4978a97f7897b6c4c7b3b56ce | [
"MIT"
] | 4 | 2018-01-02T07:06:49.000Z | 2018-11-22T13:45:39.000Z | Python/basic/functools_test.py | InnoFang/playground | 2998c024a5834be3712734f43fe945f83c64f989 | [
"Apache-2.0"
] | 1 | 2020-02-20T10:08:58.000Z | 2020-02-20T10:08:58.000Z | Python/basic/functools_test.py | InnoFang/playground | 2998c024a5834be3712734f43fe945f83c64f989 | [
"Apache-2.0"
] | null | null | null | import time, functools
def performance(unit):
def perf_decorator(f):
@functools.wraps(f)
def wrapper(*args, **kwargs):
start = time.time()
res = f(*args, **kwargs)
end = time.time()
t = (start - end) * 1000 if unit == 'ms'else (start - end)
... | 26.5 | 70 | 0.557461 |
589d1ed2954ea915c22725e948603ddb015906f0 | 690 | css | CSS | css/global/main.css | danielrutter/Basic-Fixed-Width-Navbar | a8f939621a66025b9530b0fb542e3550804d398f | [
"Unlicense"
] | null | null | null | css/global/main.css | danielrutter/Basic-Fixed-Width-Navbar | a8f939621a66025b9530b0fb542e3550804d398f | [
"Unlicense"
] | null | null | null | css/global/main.css | danielrutter/Basic-Fixed-Width-Navbar | a8f939621a66025b9530b0fb542e3550804d398f | [
"Unlicense"
] | null | null | null | /* File Location: /css/global/main.css */
body {
font-family: 'Roboto', sans-serif;
margin: auto;
width: 667px;
}
nav {
box-shadow: 1px 1px 5px #CECECE;
border: 1px solid black;
}
ul {
list-style-type: none;
margin: 0;
padding: 0px;
overflow: hidden;
background-color: #EEE;
}
... | 14.375 | 41 | 0.594203 |
8d73c9fa5e9f01483df594765b6b22ea7ca811c2 | 1,375 | js | JavaScript | app-98-nippou/src/backend/fetchRecords.js | Lorenzras/kintone-customize | b875b3d7a27eba11243b9308ee052d65d4ba011d | [
"MIT"
] | null | null | null | app-98-nippou/src/backend/fetchRecords.js | Lorenzras/kintone-customize | b875b3d7a27eba11243b9308ee052d65d4ba011d | [
"MIT"
] | null | null | null | app-98-nippou/src/backend/fetchRecords.js | Lorenzras/kintone-customize | b875b3d7a27eba11243b9308ee052d65d4ba011d | [
"MIT"
] | null | null | null | import { getAppId } from '../../../kintone-api/api';
import { endOfMonth, startOfMonth } from '../helpers/Time';
import { getEmployeeNumber } from './user';
// const ownRecordFilter = `employeeNumber = "${getEmployeeNumber()}"`;
const fetchRecords = (condition) => {
const body = {
app: getAppId(),
query: co... | 25.943396 | 94 | 0.659636 |
ff5ee06aeacb21a9acd7fe5496e8ffa95107915e | 1,569 | py | Python | src/backend/tests/test_sort_record_by_date.py | sico/recordexpungPDX | c2f18322014add7c78b27736bde2d29d1d086aa8 | [
"MIT"
] | 38 | 2019-05-09T03:13:43.000Z | 2022-03-16T22:59:25.000Z | src/backend/tests/test_sort_record_by_date.py | sico/recordexpungPDX | c2f18322014add7c78b27736bde2d29d1d086aa8 | [
"MIT"
] | 938 | 2019-05-02T15:13:21.000Z | 2022-02-27T20:59:00.000Z | src/backend/tests/test_sort_record_by_date.py | kenichi/recordexpungPDX | 100d9249473a01953451b83a72ec1b74574acc43 | [
"MIT"
] | 65 | 2019-05-09T03:28:12.000Z | 2022-03-21T00:06:39.000Z | from expungeservice.record_creator import RecordCreator
from expungeservice.models.record import Record
from tests.factories.case_factory import CaseFactory
def test_sort_by_case_date():
case1 = CaseFactory.create(case_number="1", date_location=["1/1/2018", "Multnomah"])
case2 = CaseFactory.create(case_number... | 43.583333 | 88 | 0.732314 |
72f11c2afa4568c1087115d32f802eb84e60d7ac | 2,429 | cs | C# | AstroHelper/StockQuote/TurningPoint.cs | Cruisoring/Astroder | 700b6301aa3b978b57fa825785bfa08025ed6437 | [
"MIT"
] | 1 | 2021-03-25T11:21:23.000Z | 2021-03-25T11:21:23.000Z | AstroHelper/StockQuote/TurningPoint.cs | Cruisoring/Astroder | 700b6301aa3b978b57fa825785bfa08025ed6437 | [
"MIT"
] | null | null | null | AstroHelper/StockQuote/TurningPoint.cs | Cruisoring/Astroder | 700b6301aa3b978b57fa825785bfa08025ed6437 | [
"MIT"
] | 1 | 2021-03-01T11:51:50.000Z | 2021-03-01T11:51:50.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StockQuote
{
public enum TypeOfTurning
{
Bottom,
Top
}
public class TurningPoint<T> : IComparable<TurningPoint<T>>
where T : RecordBase
{
public TypeOfTurning Kind { get... | 28.576471 | 120 | 0.495266 |
71af52630a5dea2ea991926815bed625c7aeb5ef | 7,737 | rs | Rust | api/src/dao/user_dao.rs | bpowers1215/money_map | 8b175d76df14f23d9987b6d557adfcc776a7165b | [
"Apache-2.0"
] | 1 | 2018-06-27T16:51:38.000Z | 2018-06-27T16:51:38.000Z | api/src/dao/user_dao.rs | bpowers1215/MoneyMap | 8b175d76df14f23d9987b6d557adfcc776a7165b | [
"Apache-2.0"
] | null | null | null | api/src/dao/user_dao.rs | bpowers1215/MoneyMap | 8b175d76df14f23d9987b6d557adfcc776a7165b | [
"Apache-2.0"
] | null | null | null | // src/dao/user_dao.rs
/// User DAO
/// Handle all database interaction for Users collection
//import
extern crate mongodb;
// Import Modules
// Common Utilities
use ::bson::{Bson, Document};
use ::bson::oid::ObjectId;
use ::mongodb::coll::options::FindOptions;
use ::mongodb::db::ThreadedDatabase;
use ::common::mm_r... | 35.654378 | 127 | 0.450433 |
11b26db0bed4d32f540bab56106c495b44aec34a | 811 | kt | Kotlin | app/src/main/java/com/example/shinelon/lianqin/model/CourseClassDetails.kt | HB-pencil/lianqin | d7876605647920c59a6bea2bfb6581b60091823e | [
"Apache-2.0"
] | 2 | 2018-02-18T14:54:35.000Z | 2018-03-21T07:12:21.000Z | app/src/main/java/com/example/shinelon/lianqin/model/CourseClassDetails.kt | HB-pencil/lianqin | d7876605647920c59a6bea2bfb6581b60091823e | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/shinelon/lianqin/model/CourseClassDetails.kt | HB-pencil/lianqin | d7876605647920c59a6bea2bfb6581b60091823e | [
"Apache-2.0"
] | null | null | null | package com.example.shinelon.lianqin.model
import java.io.Serializable
/**
* Created by Shinelon on 2018/3/4.
*/
data class CourseClassDetails(val code: Int,val data: DataBeanR,val success: Boolean,val message: String)
data class DataBeanR(val classTotal: ClassTotalBean,val lateStudentList: ArrayList<StudentBean>,... | 54.066667 | 141 | 0.739827 |
9fe625f50dffc1408e4e691f6448288f446c9cf1 | 1,112 | py | Python | robot/migrations/0011_auto_20200105_1702.py | Misschl/wechat | 8ce76dae32b1086bb83ee6e3fe64cf84845012c0 | [
"Apache-2.0"
] | 1 | 2020-01-07T06:51:19.000Z | 2020-01-07T06:51:19.000Z | robot/migrations/0011_auto_20200105_1702.py | Misschl/wechat | 8ce76dae32b1086bb83ee6e3fe64cf84845012c0 | [
"Apache-2.0"
] | null | null | null | robot/migrations/0011_auto_20200105_1702.py | Misschl/wechat | 8ce76dae32b1086bb83ee6e3fe64cf84845012c0 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.1.5 on 2020-01-05 17:02
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('robot', '0010_auto_20200105_1342'),
]
operations = [
migrations.AlterModelOptions(
name='appmodel',
options={'verbos... | 29.263158 | 106 | 0.573741 |
e060c6f95aa6b50358ca303c54b868b8bfbf521a | 2,228 | h | C | src/game/ghost.h | teerace/racemod | 5a4ed8c062deb855e5786cd6e3f499601cc200d5 | [
"Zlib"
] | 1 | 2020-05-27T00:07:05.000Z | 2020-05-27T00:07:05.000Z | src/game/ghost.h | teerace/racemod | 5a4ed8c062deb855e5786cd6e3f499601cc200d5 | [
"Zlib"
] | null | null | null | src/game/ghost.h | teerace/racemod | 5a4ed8c062deb855e5786cd6e3f499601cc200d5 | [
"Zlib"
] | null | null | null | #ifndef GAME_GHOST_H
#define GAME_GHOST_H
#include <game/generated/protocol.h>
enum
{
GHOSTDATA_TYPE_SKIN = 0,
GHOSTDATA_TYPE_CHARACTER_NO_TICK,
GHOSTDATA_TYPE_CHARACTER,
GHOSTDATA_TYPE_START_TICK
};
struct CGhostSkin
{
int m_Skin0;
int m_Skin1;
int m_Skin2;
int m_Skin3;
int m_Skin4;
int m_Skin5;
int m_Us... | 23.452632 | 117 | 0.748654 |
143988e9e1c1db943115a4d44e39208172d59a5f | 4,317 | tsx | TypeScript | sites/x6-sites-demos/packages/tutorial/advanced/animation/football/src/app.tsx | avrinfly/X6 | 9637a254e0a5e9beb5a11546fd3208855d1e5f29 | [
"MIT"
] | 3,182 | 2020-06-15T04:04:23.000Z | 2022-03-31T21:52:40.000Z | sites/x6-sites-demos/packages/tutorial/advanced/animation/football/src/app.tsx | avrinfly/X6 | 9637a254e0a5e9beb5a11546fd3208855d1e5f29 | [
"MIT"
] | 1,766 | 2020-06-16T08:11:53.000Z | 2022-03-31T09:58:42.000Z | sites/x6-sites-demos/packages/tutorial/advanced/animation/football/src/app.tsx | avrinfly/X6 | 9637a254e0a5e9beb5a11546fd3208855d1e5f29 | [
"MIT"
] | 867 | 2020-06-17T12:04:47.000Z | 2022-03-31T07:52:16.000Z | import React from 'react'
import { Graph } from '@antv/x6'
import './reg'
import './app.css'
export default class Example extends React.Component {
private container: HTMLDivElement
componentDidMount() {
const graph = new Graph({
container: this.container,
grid: true,
})
graph.addNode({
... | 100.395349 | 3,573 | 0.914524 |
6b3f6b15e1b6dd6f1c366c67f44d69c38f25b459 | 410 | hpp | C++ | source/platform/windows/input_impl_win.hpp | Kostu96/k2d-engine | 8150230034cf4afc862fcc1a3c262c27d544feed | [
"MIT"
] | null | null | null | source/platform/windows/input_impl_win.hpp | Kostu96/k2d-engine | 8150230034cf4afc862fcc1a3c262c27d544feed | [
"MIT"
] | null | null | null | source/platform/windows/input_impl_win.hpp | Kostu96/k2d-engine | 8150230034cf4afc862fcc1a3c262c27d544feed | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2021-2022 Konstanty Misiak
*
* SPDX-License-Identifier: MIT
*/
#pragma once
#include "platform/input.hpp"
namespace k2d {
class InputImpl
{
public:
InputImpl() = default;
bool isKeyPressed(Key::KeyCode key) const;
bool isMouseButtonPressed(Mouse::MouseC... | 17.826087 | 65 | 0.636585 |
da48af35535eabcd638c85e3909ea87d9f0d5f05 | 73 | sql | SQL | src/test/resources/sql/drop_function/62a3d7a1.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/drop_function/62a3d7a1.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/drop_function/62a3d7a1.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:rangefuncs.sql ln:323 expect:true
DROP FUNCTION foo_mat(int,int)
| 24.333333 | 41 | 0.780822 |
d6221407daee4ac3bc397c81af5c629b3c975f6d | 2,868 | cs | C# | src/Cosmos.Logging.Sinks.File/Cosmos/Logging/Sinks/File/Filters/Navigators/NamespaceNavigationMatcher.cs | CosmosProgramme/Cosmos.Standard | 67b9ef4008cd29242bdbd8ddbd7ba31d555eeca4 | [
"Apache-2.0"
] | 21 | 2017-11-05T01:13:37.000Z | 2018-03-21T03:18:55.000Z | src/Cosmos.Logging.Sinks.File/Cosmos/Logging/Sinks/File/Filters/Navigators/NamespaceNavigationMatcher.cs | CosmosProgramme/Cosmos.Standard | 67b9ef4008cd29242bdbd8ddbd7ba31d555eeca4 | [
"Apache-2.0"
] | 19 | 2019-09-16T08:59:08.000Z | 2019-12-18T07:02:21.000Z | src/Cosmos.Logging.Sinks.File/Cosmos/Logging/Sinks/File/Filters/Navigators/NamespaceNavigationMatcher.cs | CosmosProgramme/Cosmos.Core | 67b9ef4008cd29242bdbd8ddbd7ba31d555eeca4 | [
"Apache-2.0"
] | 5 | 2018-04-03T13:44:54.000Z | 2018-09-04T01:13:26.000Z | using System;
using System.Collections.Generic;
using System.Linq;
namespace Cosmos.Logging.Sinks.File.Filters.Navigators {
internal static class NamespaceNavigationMatcher {
public static bool Match(string @namespace, out IEnumerable<EndValueNamespaceNavigationNode> valueList) {
var root = Ro... | 40.971429 | 136 | 0.590307 |
57dac26f586a058789085077cb1d5dfa1c7cdaa2 | 2,373 | go | Go | token/core/fabtoken/driver/driver.go | adecaro/fabric-token-sdk | 236b47ac02c6a86ca1dd792c7e65fec890f07522 | [
"Apache-2.0"
] | null | null | null | token/core/fabtoken/driver/driver.go | adecaro/fabric-token-sdk | 236b47ac02c6a86ca1dd792c7e65fec890f07522 | [
"Apache-2.0"
] | null | null | null | token/core/fabtoken/driver/driver.go | adecaro/fabric-token-sdk | 236b47ac02c6a86ca1dd792c7e65fec890f07522 | [
"Apache-2.0"
] | null | null | null | /*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package driver
import (
fabric2 "github.com/hyperledger-labs/fabric-smart-client/platform/fabric"
view2 "github.com/hyperledger-labs/fabric-smart-client/platform/view"
"github.com/hyperledger-labs/fabric-token-sdk/token/core"
"git... | 35.954545 | 202 | 0.778761 |
bea436cae216af9484e549cecd77880356669e9b | 45 | ts | TypeScript | node_modules/@coreui/icons/js/brand/cib-powershell.d.ts | FranckPharel/ProjetAdminLotto | 2fa93a5bb0e8538e4dca923fd134abf54d66c3ad | [
"MIT"
] | 1 | 2020-09-10T06:53:53.000Z | 2020-09-10T06:53:53.000Z | node_modules/@coreui/icons/js/brand/cib-powershell.d.ts | FranckPharel/ProjetAdminLotto | 2fa93a5bb0e8538e4dca923fd134abf54d66c3ad | [
"MIT"
] | 4 | 2020-04-07T07:15:09.000Z | 2022-03-26T08:25:27.000Z | public/node_modules/@coreui/icons/js/brand/cib-powershell.d.ts | k1000p/sistema | 338fb61009569523436ee45dd4731e0e28e0266a | [
"MIT"
] | null | null | null | export declare const cibPowershell: string[]; | 45 | 45 | 0.822222 |
256428241ef4b2c59348349bd3d5fcaafe2d4447 | 3,380 | cs | C# | Ix.NET/Source/System.Interactive.Tests/ShareTest.cs | tralivali1234/reactive | dfaebe3407db5f6454ec21fcdf6e22e2f1481676 | [
"Apache-2.0"
] | 1 | 2019-01-10T18:54:48.000Z | 2019-01-10T18:54:48.000Z | Ix.NET/Source/System.Interactive.Tests/ShareTest.cs | tralivali1234/reactive | dfaebe3407db5f6454ec21fcdf6e22e2f1481676 | [
"Apache-2.0"
] | null | null | null | Ix.NET/Source/System.Interactive.Tests/ShareTest.cs | tralivali1234/reactive | dfaebe3407db5f6454ec21fcdf6e22e2f1481676 | [
"Apache-2.0"
] | 1 | 2019-01-10T10:11:10.000Z | 2019-01-10T10:11:10.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using Xunit;
using Sy... | 26.825397 | 117 | 0.487278 |
374edb646e698b6df92722875b5f4c6fdc75a575 | 1,322 | lua | Lua | lib/3d/utils/draw_2d.lua | p3r7/ovni | e7cfcc0de370956744a688d7ee5a758e044f59e2 | [
"MIT"
] | 3 | 2020-12-22T16:30:20.000Z | 2021-02-14T13:44:49.000Z | lib/3d/utils/draw_2d.lua | p3r7/ovni | e7cfcc0de370956744a688d7ee5a758e044f59e2 | [
"MIT"
] | null | null | null | lib/3d/utils/draw_2d.lua | p3r7/ovni | e7cfcc0de370956744a688d7ee5a758e044f59e2 | [
"MIT"
] | 1 | 2021-03-07T09:43:31.000Z | 2021-03-07T09:43:31.000Z |
local inspect = include('lib/inspect')
-- ------------------------------------------------------------------------
local draw_2d = {}
-- ------------------------------------------------------------------------
-- POINT
function draw_2d.point(x, y, l)
if l then
screen.level(l)
end
screen.pixel(x, y)
... | 18.619718 | 75 | 0.405446 |
c556b44c00019bf6b97a57bdb2eec796508e14f9 | 577 | swift | Swift | Example/Example/Feature/Next/NextViewModel.swift | siam-biswas/Engine | 9a0efd1e59b393e5007608ff3e2ca13c89f54a95 | [
"MIT"
] | 12 | 2020-08-08T11:21:19.000Z | 2020-11-18T07:12:05.000Z | Example/Example/Feature/Next/NextViewModel.swift | siam-biswas/Engine | 9a0efd1e59b393e5007608ff3e2ca13c89f54a95 | [
"MIT"
] | null | null | null | Example/Example/Feature/Next/NextViewModel.swift | siam-biswas/Engine | 9a0efd1e59b393e5007608ff3e2ca13c89f54a95 | [
"MIT"
] | null | null | null | //
// NextViewModel.swift
// Example
//
// Created by Md. Siam Biswas on 27/7/20.
// Copyright © 2020 siambiswas. All rights reserved.
//
import Foundation
import Engine
protocol NextViewModelProtocol: ViewModel<NextCoordinatorProtocol,NextDependencyProtocol,NextAction,NextState> {
}
class NextViewModel: Vi... | 21.37037 | 124 | 0.719237 |
43b5df3d323748a94bf4887ccf6b4d95b72d1d59 | 967 | swift | Swift | GamerSky/Classes/Module/Game/GameDetail/Model/GameDetail.swift | game-platform-awaresome/GamerSky | 11f55ffdb876d9057483d4e2f974180456943d66 | [
"Apache-2.0"
] | 3 | 2019-03-16T06:18:03.000Z | 2021-07-03T19:38:43.000Z | GamerSky/Classes/Module/Game/GameDetail/Model/GameDetail.swift | game-platform-awaresome/GamerSky | 11f55ffdb876d9057483d4e2f974180456943d66 | [
"Apache-2.0"
] | null | null | null | GamerSky/Classes/Module/Game/GameDetail/Model/GameDetail.swift | game-platform-awaresome/GamerSky | 11f55ffdb876d9057483d4e2f974180456943d66 | [
"Apache-2.0"
] | null | null | null | //
// GameDetail.swift
// GamerSky
//
// Created by insect_qy on 2018/7/13.
// Copyright © 2018年 engic. All rights reserved.
//
import Foundation
struct GameDetail: Codable {
/// 背景图片
let backgroundURL: String
/// 是否有中文
let chinese: Int
/// 游戏介绍
let description: String
/// 开发者
... | 17.907407 | 49 | 0.579111 |
4b735d80b365f4d2664e4cc049e18481dfc5751f | 1,333 | hpp | C++ | irohad/model/commands/transfer_asset.hpp | akshatkarani/iroha | 5acef9dd74720c6185360d951e9b11be4ef73260 | [
"Apache-2.0"
] | 1,467 | 2016-10-25T12:27:19.000Z | 2022-03-28T04:32:05.000Z | irohad/model/commands/transfer_asset.hpp | akshatkarani/iroha | 5acef9dd74720c6185360d951e9b11be4ef73260 | [
"Apache-2.0"
] | 2,366 | 2016-10-25T10:07:57.000Z | 2022-03-31T22:03:24.000Z | irohad/model/commands/transfer_asset.hpp | akshatkarani/iroha | 5acef9dd74720c6185360d951e9b11be4ef73260 | [
"Apache-2.0"
] | 662 | 2016-10-26T04:41:22.000Z | 2022-03-31T04:15:02.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef IROHA_TRANSFER_ASSET_HPP
#define IROHA_TRANSFER_ASSET_HPP
#include <string>
#include "model/command.hpp"
namespace iroha {
namespace model {
/**
* Transfer asset from one account to another
*... | 22.216667 | 61 | 0.585146 |
9723ab4d2bd4388c9fbdf99da227654f3168104d | 70 | ts | TypeScript | src/components/Table/Row/TableWithRows/index.ts | Huzzky/starwars_fors_tt | 7e2de937e95eafb3a17e577bdc4210eb4353cd86 | [
"MIT"
] | null | null | null | src/components/Table/Row/TableWithRows/index.ts | Huzzky/starwars_fors_tt | 7e2de937e95eafb3a17e577bdc4210eb4353cd86 | [
"MIT"
] | null | null | null | src/components/Table/Row/TableWithRows/index.ts | Huzzky/starwars_fors_tt | 7e2de937e95eafb3a17e577bdc4210eb4353cd86 | [
"MIT"
] | null | null | null | import TableWithRows from './TableWithRows'
export { TableWithRows }
| 17.5 | 43 | 0.785714 |
2542f7eb2a1241655c08e0f69e9f6d737b0b1c16 | 2,039 | js | JavaScript | venn_diagram/js/vcf-parser.js | dillonl/kaleidoscope | 283d30ce307e417fce5e40cf6ff1ee4e1a10a89a | [
"MIT"
] | null | null | null | venn_diagram/js/vcf-parser.js | dillonl/kaleidoscope | 283d30ce307e417fce5e40cf6ff1ee4e1a10a89a | [
"MIT"
] | null | null | null | venn_diagram/js/vcf-parser.js | dillonl/kaleidoscope | 283d30ce307e417fce5e40cf6ff1ee4e1a10a89a | [
"MIT"
] | null | null | null | var variants1 = [];
var variants2 = [];
var analysisCallbacks = [];
$(document).ready(function() {
addVCFFileListener('first-vcf', function (variants) {
variants1 = variants;
});
addVCFFileListener('second-vcf', function (variants) {
variants2 = variants;
});
});
function addVCFFileListener(vcfFileID, callbac... | 25.4875 | 97 | 0.666013 |
d6378d67a84db7be93d19999a849023a8ed61733 | 1,218 | cs | C# | 01. Stacks and Queues/07. BalancedParenthesis/BalancedParenthesis.cs | Gandjurov/C-Advanced | 9cea524926cf9dc4c813bf6cc2e6a8af5e7a567c | [
"MIT"
] | 1 | 2019-04-09T11:27:26.000Z | 2019-04-09T11:27:26.000Z | 01. Stacks and Queues/07. BalancedParenthesis/BalancedParenthesis.cs | Gandjurov/C-Advanced | 9cea524926cf9dc4c813bf6cc2e6a8af5e7a567c | [
"MIT"
] | null | null | null | 01. Stacks and Queues/07. BalancedParenthesis/BalancedParenthesis.cs | Gandjurov/C-Advanced | 9cea524926cf9dc4c813bf6cc2e6a8af5e7a567c | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
namespace BalancedParenthesis
{
class BalancedParenthesis
{
static void Main(string[] args)
{
var parantheses = Console.ReadLine()
.Trim()
.ToCharArray();
var stack = new Stack<char>();
... | 26.478261 | 71 | 0.407225 |
8f2a5e4eeaffb751953563f7e7fffebd70a45f52 | 6,955 | lua | Lua | func/player.lua | BEN1JEN/extra-credits-game-jam | 9184c01859c2ece7957f9433363d2dea08a9e539 | [
"MIT"
] | 1 | 2018-08-25T16:07:25.000Z | 2018-08-25T16:07:25.000Z | func/player.lua | BEN1JEN/beat-dungeon | 9184c01859c2ece7957f9433363d2dea08a9e539 | [
"MIT"
] | null | null | null | func/player.lua | BEN1JEN/beat-dungeon | 9184c01859c2ece7957f9433363d2dea08a9e539 | [
"MIT"
] | null | null | null | local player = {}
local playerX
local playerY
local playerWidth = 64
local playerHeight = 64
local heart = tiles.loadImage("assets/heart.png")
local health = 4
local moveTime = 0
local hurtCooldown = 0
local lastHit
local weaponCooldown = 1
local weaponPhase = 0
local axe = tiles.loadImage("assets/tools/axe1.png")
loc... | 25.759259 | 128 | 0.683968 |
977d89dd218d6b212d11b31156e8ced10a83c44b | 934 | swift | Swift | Housing/JinModel.swift | Nandalu/Housing | cc6f615a272c56b850506f1e1e6bd3b294622313 | [
"MIT"
] | 3 | 2018-10-08T04:15:48.000Z | 2021-04-07T16:37:40.000Z | Housing/JinModel.swift | Nandalu/Housing | cc6f615a272c56b850506f1e1e6bd3b294622313 | [
"MIT"
] | 2 | 2018-02-21T12:16:48.000Z | 2018-02-21T12:21:13.000Z | Housing/JinModel.swift | Nandalu/Housing | cc6f615a272c56b850506f1e1e6bd3b294622313 | [
"MIT"
] | null | null | null | //
// JinModel.swift
// Housing
//
// Created by denkeni on 01/11/2017.
// Copyright © 2017 Nandalu. All rights reserved.
//
import Foundation
import MapKit
struct JinModel : Codable {
let Msgs : [MsgModel]
struct MsgModel : Codable {
let ID : String
let Time : TimeInterval
let Bod... | 22.238095 | 50 | 0.555675 |
57068c868a6773ccf475313730e8b7085f35e655 | 416 | js | JavaScript | html/search/variables_78.js | mive93/AngryTom | 4fe67f48fbea2053c26bf51fdb62026e4bde73bc | [
"Apache-2.0"
] | null | null | null | html/search/variables_78.js | mive93/AngryTom | 4fe67f48fbea2053c26bf51fdb62026e4bde73bc | [
"Apache-2.0"
] | null | null | null | html/search/variables_78.js | mive93/AngryTom | 4fe67f48fbea2053c26bf51fdb62026e4bde73bc | [
"Apache-2.0"
] | null | null | null | var searchData=
[
['x',['x',['../structGiocatore.html#ae3cd96fd365828a2aa0056db133db15a',1,'Giocatore::x()'],['../structColpo.html#a48413e32744aa1c695cf8101ed719be5',1,'Colpo::x()'],['../structNemici.html#abc8df94b28bade640027ed5020731e3d',1,'Nemici::x()'],['../structImpatti.html#a7a515775bd6eca2ded13b6ce51554fb4',1,... | 83.2 | 394 | 0.735577 |
c80b89f6676c036a2f4be4611edba4e1b0ad511b | 319 | sql | SQL | posda/posdatools/queries/sql/AddFilterToTab.sql | UAMS-DBMI/PosdaTools | 7d33605da1b88e4787a1368dbecaffda1df95e5b | [
"Apache-2.0"
] | 6 | 2019-01-17T15:47:44.000Z | 2022-02-02T16:47:25.000Z | posda/posdatools/queries/sql/AddFilterToTab.sql | UAMS-DBMI/PosdaTools | 7d33605da1b88e4787a1368dbecaffda1df95e5b | [
"Apache-2.0"
] | 23 | 2016-06-08T21:51:36.000Z | 2022-03-02T08:11:44.000Z | posda/posdatools/queries/sql/AddFilterToTab.sql | UAMS-DBMI/PosdaTools | 7d33605da1b88e4787a1368dbecaffda1df95e5b | [
"Apache-2.0"
] | null | null | null | -- Name: AddFilterToTab
-- Schema: posda_queries
-- Columns: []
-- Args: ['query_tab_name', 'filter_name', 'sort_order']
-- Tags: ['meta', 'test', 'hello', 'query_tabs', 'bills_test']
-- Description: Add a filter to a tab
insert into query_tabs_query_tag_filter(query_tab_name, filter_name, sort_order)
values(?, ?, ?) | 35.444444 | 80 | 0.705329 |
c675b74078fdc8567ea2be181c76fee78293a249 | 333 | py | Python | Course_2/Week_4/streams.py | internetworksio/Google-ITAutomation-Python | 6027750a33e8df883d762223bb0c4a5a95395bc0 | [
"MIT"
] | 2 | 2021-03-23T16:02:32.000Z | 2022-03-13T09:32:56.000Z | Course_2/Week_4/streams.py | internetworksio/Google-ITAutomation-Python | 6027750a33e8df883d762223bb0c4a5a95395bc0 | [
"MIT"
] | null | null | null | Course_2/Week_4/streams.py | internetworksio/Google-ITAutomation-Python | 6027750a33e8df883d762223bb0c4a5a95395bc0 | [
"MIT"
] | 7 | 2021-01-14T05:39:54.000Z | 2022-03-13T09:33:01.000Z | #!/usr/bin/env python3
"""
This script is used for course notes.
Author: Erick Marin
Date: 12/19/2020
"""
data = input("This will come from STDIN: ")
print("Now we write it to STDOUT: " + data)
# Generating a standard error (type) by concatenating a string with an integer
print("Now we generate an error to STDERR: "... | 23.785714 | 78 | 0.702703 |
13c175d494a8be84997081955566063181109dcb | 1,216 | ps1 | PowerShell | Diagnostics/ExchangeLogCollector/extern/Import-ScriptConfigFile.ps1 | dpaulson45/CSS-Exchange | 16154ff8217a61694b56c8d46a136aa09e03187c | [
"MIT"
] | 1 | 2021-06-23T12:28:47.000Z | 2021-06-23T12:28:47.000Z | Diagnostics/ExchangeLogCollector/extern/Import-ScriptConfigFile.ps1 | paulvill76/CSS-Exchange | 824886e13761ddf2f237855564b76a66ab2e29c6 | [
"MIT"
] | null | null | null | Diagnostics/ExchangeLogCollector/extern/Import-ScriptConfigFile.ps1 | paulvill76/CSS-Exchange | 824886e13761ddf2f237855564b76a66ab2e29c6 | [
"MIT"
] | null | null | null | #https://github.com/dpaulson45/PublicPowerShellFunctions/blob/master/src/Common/Import-ScriptConfigFile/Import-ScriptConfigFile.ps1
#v21.02.07.1240
Function Import-ScriptConfigFile {
[CmdletBinding()]
param(
[Parameter(
Mandatory = $true
)]
[string]$ScriptConfigFileLocation
... | 34.742857 | 132 | 0.671875 |
73cb3547fd6831812a22348dd418b35c74798cd6 | 130 | sql | SQL | bin/apache-hive-3.1.2-bin/scripts/metastore/upgrade/derby/hive-schema-0.11.0.derby.sql | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | bin/apache-hive-3.1.2-bin/scripts/metastore/upgrade/derby/hive-schema-0.11.0.derby.sql | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | bin/apache-hive-3.1.2-bin/scripts/metastore/upgrade/derby/hive-schema-0.11.0.derby.sql | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:7c866e86c270100dc904dac809983b68286014dbe3fce1864d8511376e429de8
size 21180
| 32.5 | 75 | 0.884615 |
1bf7c3308a90ebfd05d7f8c8425e2e8aa256b824 | 1,003 | rb | Ruby | db/migrate/20110818141205_create_nodes.rb | tanordheim/adapt-cms | e1e828b25945daa6182f653eae3047523f36a409 | [
"MIT"
] | null | null | null | db/migrate/20110818141205_create_nodes.rb | tanordheim/adapt-cms | e1e828b25945daa6182f653eae3047523f36a409 | [
"MIT"
] | null | null | null | db/migrate/20110818141205_create_nodes.rb | tanordheim/adapt-cms | e1e828b25945daa6182f653eae3047523f36a409 | [
"MIT"
] | null | null | null | class CreateNodes < ActiveRecord::Migration
def change
create_table :nodes do |t|
t.references :site, :null => false
t.string :type
t.string :ancestry
t.integer :position, :null => false
t.string :slug, :null => false
t.string :uri, :null => false
t.boolean :published, :... | 27.861111 | 69 | 0.627119 |
12bdd7f72e719e39c561b75c7d450efa8b71590a | 4,291 | cs | C# | Net45/Mature.Socket.Server.DotNetty/TCPServer.cs | AelousDing/Mature.WPF | 7b01d84f34803b037707098c7ceee87df0cb963d | [
"MIT"
] | null | null | null | Net45/Mature.Socket.Server.DotNetty/TCPServer.cs | AelousDing/Mature.WPF | 7b01d84f34803b037707098c7ceee87df0cb963d | [
"MIT"
] | null | null | null | Net45/Mature.Socket.Server.DotNetty/TCPServer.cs | AelousDing/Mature.WPF | 7b01d84f34803b037707098c7ceee87df0cb963d | [
"MIT"
] | 1 | 2021-06-16T07:28:47.000Z | 2021-06-16T07:28:47.000Z | using DotNetty.Codecs;
using DotNetty.Handlers.Logging;
using DotNetty.Handlers.Timeout;
using DotNetty.Transport.Bootstrapping;
using DotNetty.Transport.Channels;
using DotNetty.Transport.Channels.Sockets;
using Mature.Socket.Common.DotNetty;
using Mature.Socket.Compression;
using Mature.Socket.Config;
using Mature.S... | 42.068627 | 175 | 0.655791 |
40966d07d00bf6c2d9e1aa10e191d7a0ceb93b79 | 2,771 | tsx | TypeScript | src/pages/categories.tsx | leejy001/leeblog | 8a4985d8e99c3479f4d33e98761785c76a8b6d8d | [
"RSA-MD"
] | 4 | 2021-07-11T13:35:53.000Z | 2021-12-13T06:53:02.000Z | src/pages/categories.tsx | leejy001/leeblog | 8a4985d8e99c3479f4d33e98761785c76a8b6d8d | [
"RSA-MD"
] | null | null | null | src/pages/categories.tsx | leejy001/leeblog | 8a4985d8e99c3479f4d33e98761785c76a8b6d8d | [
"RSA-MD"
] | 1 | 2021-07-14T06:16:18.000Z | 2021-07-14T06:16:18.000Z | import React, { useMemo } from 'react'
import { graphql } from 'gatsby'
import queryString, { ParsedQuery } from 'query-string'
import Container from 'components/Common/Container'
import CategoryList, { CategoryListTypes } from 'components/Main/CategoryList'
import PostList from 'components/Main/PostList'
import { Post... | 21.818898 | 78 | 0.539877 |
af4f02a81fc1282bc7553a8a3ea160e7f02efbc5 | 6,008 | py | Python | tests/unit/test_auto_deploy_task.py | mrnicegyu11/osparc-deployment-agent | e38508836ed7637595b152f8a1cb1c0e0b62f42f | [
"MIT"
] | 1 | 2021-11-15T12:26:26.000Z | 2021-11-15T12:26:26.000Z | tests/unit/test_auto_deploy_task.py | ITISFoundation/osparc-deployment-agent | 54a8d5b3d1cdbcc71bbfa93c96fce6b770b2050b | [
"MIT"
] | 44 | 2020-12-23T14:50:00.000Z | 2022-03-30T09:31:31.000Z | tests/unit/test_auto_deploy_task.py | mrnicegyu11/osparc-deployment-agent | e38508836ed7637595b152f8a1cb1c0e0b62f42f | [
"MIT"
] | 2 | 2020-12-16T14:24:08.000Z | 2021-11-15T12:26:40.000Z | # pylint:disable=wildcard-import
# pylint:disable=unused-import
# pylint:disable=unused-variable
# pylint:disable=unused-argument
# pylint:disable=redefined-outer-name
# pylint:disable=bare-except
import asyncio
from asyncio import Future
from pathlib import Path
from typing import Any, Awaitable, Callable, Dict, Iter... | 34.528736 | 134 | 0.717876 |
df7c6869542bffd7b730fb1d80e10490a3d43ae0 | 313 | cs | C# | src/Day06/CustomsSheetGroup.cs | david1995/AdventOfCode2020 | 912e9e04727347e542b1d9ae6011103b5e883ed0 | [
"MIT"
] | null | null | null | src/Day06/CustomsSheetGroup.cs | david1995/AdventOfCode2020 | 912e9e04727347e542b1d9ae6011103b5e883ed0 | [
"MIT"
] | null | null | null | src/Day06/CustomsSheetGroup.cs | david1995/AdventOfCode2020 | 912e9e04727347e542b1d9ae6011103b5e883ed0 | [
"MIT"
] | null | null | null | using System.Collections.Immutable;
namespace Day06
{
public class CustomsSheetGroup
{
public CustomsSheetGroup(IImmutableList<CustomsSheet> customsSheets)
{
CustomsSheets = customsSheets;
}
public IImmutableList<CustomsSheet> CustomsSheets { get; }
}
}
| 20.866667 | 76 | 0.667732 |
15af0d45edb6943c277ff9f6829462f3d9e25e16 | 742 | rb | Ruby | app/models/manageiq/providers/redhat/discovery.rb | dsatsura/manageiq-providers-ovirt | ed34bfcf8113703a09f32fc53d43c9606d4b4d85 | [
"Apache-2.0"
] | 7 | 2017-04-06T21:16:57.000Z | 2020-10-08T20:52:00.000Z | app/models/manageiq/providers/redhat/discovery.rb | dsatsura/manageiq-providers-ovirt | ed34bfcf8113703a09f32fc53d43c9606d4b4d85 | [
"Apache-2.0"
] | 572 | 2017-04-07T11:29:18.000Z | 2022-02-25T21:11:09.000Z | app/models/manageiq/providers/redhat/discovery.rb | dsatsura/manageiq-providers-ovirt | ed34bfcf8113703a09f32fc53d43c9606d4b4d85 | [
"Apache-2.0"
] | 65 | 2017-04-06T19:41:29.000Z | 2022-03-30T06:31:57.000Z | require 'manageiq/network_discovery/port'
require 'ovirtsdk4'
module ManageIQ
module Providers
module Redhat
class Discovery
OVIRT_DEFAULT_PORT = 443
class << self
def probe(ost)
if ManageIQ::NetworkDiscovery::Port.open?(ost, OVIRT_DEFAULT_PORT) &&
ovir... | 21.823529 | 81 | 0.521563 |
179bc29f6439a459e0b74015be3406fa96f076da | 3,538 | swift | Swift | animation/Transition/AniObjct.swift | MChainZhou/animation | d6cd6875bfd783b7af01e983046aa7ab3fa0ba55 | [
"MIT"
] | null | null | null | animation/Transition/AniObjct.swift | MChainZhou/animation | d6cd6875bfd783b7af01e983046aa7ab3fa0ba55 | [
"MIT"
] | null | null | null | animation/Transition/AniObjct.swift | MChainZhou/animation | d6cd6875bfd783b7af01e983046aa7ab3fa0ba55 | [
"MIT"
] | null | null | null | //
// AniObjct.swift
// animation
//
// Created by USER on 2018/10/23.
// Copyright © 2018年 USER. All rights reserved.
//
import UIKit
class AniObjct: NSObject {
}
extension AniObjct: UIViewControllerAnimatedTransitioning {
func transitionDuration(using transitionContext: UIViewControllerContextTransitionin... | 38.456522 | 159 | 0.566704 |
da50bdfc3191486800293513965c4fa9b00eb6d7 | 3,193 | php | PHP | app/Views/usuario/login.php | vallejosArmando/codeinter-proyecto-web | 134372bad7a79075b469f8c737ac8a574ec0138d | [
"MIT"
] | null | null | null | app/Views/usuario/login.php | vallejosArmando/codeinter-proyecto-web | 134372bad7a79075b469f8c737ac8a574ec0138d | [
"MIT"
] | null | null | null | app/Views/usuario/login.php | vallejosArmando/codeinter-proyecto-web | 134372bad7a79075b469f8c737ac8a574ec0138d | [
"MIT"
] | null | null | null |
<!doctype html>
<html lang="es">
<head>
<link rel="shortcut icon" href="#" />
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Login con PHP - Bootstrap 4</title>
<!-- Bootstrap CSS -->
<... | 43.739726 | 122 | 0.518008 |
5450cbfadf78fb5289ee512826b06aca69e67226 | 5,982 | css | CSS | css/resource/reset.css | qingbing/ui | 1a4ebc7cc98a44c76f15a4f51b572779a48e56ae | [
"MIT"
] | null | null | null | css/resource/reset.css | qingbing/ui | 1a4ebc7cc98a44c76f15a4f51b572779a48e56ae | [
"MIT"
] | null | null | null | css/resource/reset.css | qingbing/ui | 1a4ebc7cc98a44c76f15a4f51b572779a48e56ae | [
"MIT"
] | null | null | null | @charset "utf-8";
@import url("font-awesome/css/font-awesome.min.css");
html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}
body{margin:0}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}
audio,canvas,progress,video{display:inline... | 52.938053 | 281 | 0.76095 |
7d4c3441170388ed7f42d67edb9499d8f82b39cd | 20,365 | rb | Ruby | spec/requests/api/v1/api_profiles_spec.rb | Zooip/ProfileDirectoryAPI | bf523451e0de976e830436f377e92edc220309b7 | [
"MIT"
] | 1 | 2016-03-29T08:29:52.000Z | 2016-03-29T08:29:52.000Z | spec/requests/api/v1/api_profiles_spec.rb | Zooip/ProfileDirectoryAPI | bf523451e0de976e830436f377e92edc220309b7 | [
"MIT"
] | null | null | null | spec/requests/api/v1/api_profiles_spec.rb | Zooip/ProfileDirectoryAPI | bf523451e0de976e830436f377e92edc220309b7 | [
"MIT"
] | null | null | null | require 'rails_helper'
include OauthHelpers
RSpec.describe "Api::V1::Profiles", type: :request do
describe "GET /api/v1/profiles" do
it_behaves_like 'a Oauth protected endpoint', :get, :api_v1_profiles_path,nil ,nil,JSONAPI_HEADERS
context "As an authentified Application with admin scope", :valid_oauth d... | 46.074661 | 196 | 0.647827 |
2cbb6db6f5a6a942f82ef4654acf37431d0cd2ab | 1,865 | py | Python | bollards_api/api/routes.py | JeanmarieAlder/bollards-api | 39c82a53575ecd2fbd7f98864512a5494b800836 | [
"MIT"
] | 1 | 2021-07-26T06:40:04.000Z | 2021-07-26T06:40:04.000Z | bollards_api/api/routes.py | JeanmarieAlder/bollards-api | 39c82a53575ecd2fbd7f98864512a5494b800836 | [
"MIT"
] | null | null | null | bollards_api/api/routes.py | JeanmarieAlder/bollards-api | 39c82a53575ecd2fbd7f98864512a5494b800836 | [
"MIT"
] | null | null | null |
import json
from os import name
from flask_cors import CORS
from bollards_api.models import Bollard
from flask import Blueprint, jsonify
from bollards_api.api.utils import get_neighbours_by_number
api = Blueprint('api', __name__, url_prefix='/api/v1')
CORS(api)
@api.route('/bollards/list')
def bollards_list():
... | 25.902778 | 67 | 0.609651 |
da7b8992400a6a84697b805c02f14ee5d09e2470 | 353 | php | PHP | app/Rinventarios2.php | juansg3701/sisVentasPUBLICIDAD | acd733130ff8f1a5b0227cbfdab3cff93516fea0 | [
"MIT"
] | null | null | null | app/Rinventarios2.php | juansg3701/sisVentasPUBLICIDAD | acd733130ff8f1a5b0227cbfdab3cff93516fea0 | [
"MIT"
] | null | null | null | app/Rinventarios2.php | juansg3701/sisVentasPUBLICIDAD | acd733130ff8f1a5b0227cbfdab3cff93516fea0 | [
"MIT"
] | null | null | null | <?php
namespace sisVentas;
use Illuminate\Database\Eloquent\Model;
class RInventarios2 extends Model
{
protected $table = 'reporteinventarios2';
protected $primaryKey='id_rInventarios';
public $timestamps =false;
protected $fillable=['fechaInicial','fechaFinal','fechaActual','noProductos','total... | 22.0625 | 90 | 0.72238 |
902f2b8e899d1e34ac6e93ff17f47153a26df9cc | 2,779 | go | Go | terraform/providers/ibm/vendor/github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/appid/data_source_ibm_appid_role.go | HuijingHei/installer | fa0c02493524b60064d09772ca0f3961d1c2f8ac | [
"Apache-2.0"
] | null | null | null | terraform/providers/ibm/vendor/github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/appid/data_source_ibm_appid_role.go | HuijingHei/installer | fa0c02493524b60064d09772ca0f3961d1c2f8ac | [
"Apache-2.0"
] | 2 | 2022-02-03T16:01:09.000Z | 2022-03-31T16:44:21.000Z | terraform/providers/ibm/vendor/github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/appid/data_source_ibm_appid_role.go | HuijingHei/installer | fa0c02493524b60064d09772ca0f3961d1c2f8ac | [
"Apache-2.0"
] | 1 | 2022-02-18T15:53:46.000Z | 2022-02-18T15:53:46.000Z | package appid
import (
"context"
"fmt"
"github.com/IBM-Cloud/terraform-provider-ibm/ibm/conns"
"github.com/IBM-Cloud/terraform-provider-ibm/ibm/flex"
appid "github.com/IBM/appid-management-go-sdk/appidmanagementv4"
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v... | 24.377193 | 115 | 0.649514 |
a45c129456c43320ac4a8a9c77bdc5c39e2fe93a | 2,802 | php | PHP | functions.php | wp-kitten/cp-newspaper-feed-reader | e090288176dbe0d4648caa89728953d5080bee4f | [
"MIT"
] | null | null | null | functions.php | wp-kitten/cp-newspaper-feed-reader | e090288176dbe0d4648caa89728953d5080bee4f | [
"MIT"
] | null | null | null | functions.php | wp-kitten/cp-newspaper-feed-reader | e090288176dbe0d4648caa89728953d5080bee4f | [
"MIT"
] | null | null | null | <?php
use App\Models\Category;
use App\Helpers\VPML;
use App\Http\Controllers\Admin\AdminControllerBase;
use App\Models\Options;
use App\Models\PostType;
use Illuminate\Support\Arr;
if ( !defined( 'NPFR_PLUGIN_DIR_NAME' ) ) {
exit;
}
/**
* Check to see whether the import process has started
* @return bool
*/
... | 25.472727 | 102 | 0.625625 |
03d2ecfa53cc6e37677744474812306175b2201a | 2,038 | sql | SQL | db/src/libs/pgjwt/pgjwt--001.sql | orthodoc/jdbapi | c0b5961cbdbadd7b88f5b10b0e5859ee6012f5b0 | [
"MIT"
] | 12 | 2018-01-24T16:51:35.000Z | 2020-01-09T15:51:49.000Z | db/src/libs/pgjwt/pgjwt--001.sql | orthodoc/jdbapi | c0b5961cbdbadd7b88f5b10b0e5859ee6012f5b0 | [
"MIT"
] | null | null | null | db/src/libs/pgjwt/pgjwt--001.sql | orthodoc/jdbapi | c0b5961cbdbadd7b88f5b10b0e5859ee6012f5b0 | [
"MIT"
] | 2 | 2020-01-09T15:51:51.000Z | 2020-12-23T17:15:47.000Z | \echo Use "CREATE EXTENSION pgjwt" to load this file. \quit
CREATE OR REPLACE FUNCTION url_encode(data bytea) RETURNS text LANGUAGE sql AS $$
SELECT translate(encode(data, 'base64'), E'+/=\n', '-_');
$$;
CREATE OR REPLACE FUNCTION url_decode(data text) RETURNS bytea LANGUAGE sql AS $$
WITH t AS (SELECT translat... | 33.409836 | 98 | 0.648184 |
e717eedb39f57325e1b13bf37869b309a3517272 | 48,691 | php | PHP | resources/views/frontend/lease-application.blade.php | talktojoegee/plusrentalsv2 | 8d30cda480c30f0bffdd77405e3d216bf727d85e | [
"MIT"
] | null | null | null | resources/views/frontend/lease-application.blade.php | talktojoegee/plusrentalsv2 | 8d30cda480c30f0bffdd77405e3d216bf727d85e | [
"MIT"
] | null | null | null | resources/views/frontend/lease-application.blade.php | talktojoegee/plusrentalsv2 | 8d30cda480c30f0bffdd77405e3d216bf727d85e | [
"MIT"
] | null | null | null | @extends('layouts.tenant-layout')
@section('title')
Lease Application
@endsection
@section('meta-title')
Property Details
@endsection
@section('meta-keywords')
Property Details
@endsection
@section('extra-styles')
<link rel="stylesheet" href="/css/custom/rightbar-details.css">
@endsection
@section('m... | 59.597307 | 252 | 0.286254 |
393736277959993aca35785733ea38468ef7ec00 | 487 | py | Python | server/database_connection.py | osteele/matrix-photo-gallery | 2eecff1833aa09350a8a19553352c24a1691e639 | [
"MIT"
] | 1 | 2018-07-24T20:19:52.000Z | 2018-07-24T20:19:52.000Z | server/database_connection.py | osteele/tidal-memories | afcd3c8900814577374bfd847ba05c12ca88f397 | [
"MIT"
] | 2 | 2021-03-09T09:59:44.000Z | 2021-05-09T17:29:22.000Z | server/database_connection.py | osteele/matrix-photo-gallery | 2eecff1833aa09350a8a19553352c24a1691e639 | [
"MIT"
] | null | null | null | import os
import re
from mongoengine import connect
MONGODB_URI = os.getenv('MONGODB_URI')
MONGO_CONNECTION_RE = re.compile(
r'mongodb://'
r'(?P<username>.+?)'
r':(?P<password>.+?)'
r'@(?P<host>(?:.+?):(?:\d+))'
r'/(?P<db>.+)')
def parse_mongo_connection_uri(uri):
return MONGO_CONNECTION_RE.... | 20.291667 | 54 | 0.655031 |
4cd74a4ec11457564c379d8c97e82889cc58345b | 582 | py | Python | bootstrap.py | onecodex/docker-sentry | 31ad3e6bb8ecae071c3916f091b9e0547f16bf89 | [
"MIT"
] | 6 | 2015-06-03T09:38:27.000Z | 2017-09-16T11:47:29.000Z | bootstrap.py | onecodex/docker-sentry | 31ad3e6bb8ecae071c3916f091b9e0547f16bf89 | [
"MIT"
] | 10 | 2015-04-20T00:02:23.000Z | 2017-05-22T15:26:44.000Z | bootstrap.py | onecodex/docker-sentry | 31ad3e6bb8ecae071c3916f091b9e0547f16bf89 | [
"MIT"
] | 12 | 2015-04-19T22:51:23.000Z | 2019-10-16T14:49:27.000Z | # Bootstrap the Sentry environment
from sentry.utils.runner import configure
configure()
import os
from sentry.models import Team, Project, ProjectKey, User
username = os.environ.get('ADMIN_USERNAME', 'aptible')
user, created = User.objects.get_or_create(username=username, defaults={
'email': os.environ.get('ADM... | 26.454545 | 72 | 0.747423 |
c9d706c63bb1bae4e82822c85322e7cad2e2a451 | 4,870 | ts | TypeScript | core/templates/pages/collection-editor-page/modals/collection-editor-pre-publish-modal.component.spec.ts | swyuan27/oppia | da4c733659b8813eccf738ff8be19123ebcdeb15 | [
"Apache-2.0"
] | 5,422 | 2015-08-14T01:56:44.000Z | 2022-03-31T23:31:56.000Z | core/templates/pages/collection-editor-page/modals/collection-editor-pre-publish-modal.component.spec.ts | swyuan27/oppia | da4c733659b8813eccf738ff8be19123ebcdeb15 | [
"Apache-2.0"
] | 14,178 | 2015-08-14T05:21:45.000Z | 2022-03-31T23:54:10.000Z | core/templates/pages/collection-editor-page/modals/collection-editor-pre-publish-modal.component.spec.ts | swyuan27/oppia | da4c733659b8813eccf738ff8be19123ebcdeb15 | [
"Apache-2.0"
] | 3,574 | 2015-08-14T04:20:06.000Z | 2022-03-29T01:52:37.000Z | // Copyright 2020 The Oppia Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | 39.593496 | 107 | 0.734086 |
572aa2e1e4b8edb5bd040be0ba74c1d257ae8ca6 | 710 | js | JavaScript | src/backend/mailer.js | DMartinBGL/MakersBnB-DJBT | 7ac90183a619f52a1846ac3765ffe7234cebfd86 | [
"MIT"
] | null | null | null | src/backend/mailer.js | DMartinBGL/MakersBnB-DJBT | 7ac90183a619f52a1846ac3765ffe7234cebfd86 | [
"MIT"
] | 10 | 2019-11-18T10:05:49.000Z | 2019-11-22T11:08:42.000Z | src/backend/mailer.js | DMartinBGL/MakersBnB-DJBT | 7ac90183a619f52a1846ac3765ffe7234cebfd86 | [
"MIT"
] | 1 | 2019-11-26T15:50:10.000Z | 2019-11-26T15:50:10.000Z | const cryptoRandomString = require('crypto-random-string');
const sgMail = require('@sendgrid/mail');
const emailVerification = require('./emailVerification');
const apiKey = process.env.SG_KEY;
const tokenLength = 40;
const baseUrl = "http://makers-project.xyz";
sgMail.setApiKey(apiKey);
async function sendVerifica... | 26.296296 | 90 | 0.708451 |
e018dd3705f992b3ebf524f6922cff12cf62e9ae | 17,365 | c | C | ext/yiot-core/iotkit/sdk/modules/protocols/snap/src/generated/snap_cvt.c | andr13/yiot-yocto-test | 1a0942318a2fb244c2a5a2ff086be7d0b7ea0deb | [
"BSD-2-Clause"
] | null | null | null | ext/yiot-core/iotkit/sdk/modules/protocols/snap/src/generated/snap_cvt.c | andr13/yiot-yocto-test | 1a0942318a2fb244c2a5a2ff086be7d0b7ea0deb | [
"BSD-2-Clause"
] | null | null | null | ext/yiot-core/iotkit/sdk/modules/protocols/snap/src/generated/snap_cvt.c | andr13/yiot-yocto-test | 1a0942318a2fb244c2a5a2ff086be7d0b7ea0deb | [
"BSD-2-Clause"
] | null | null | null | // Copyright (C) 2015-2020 Virgil Security, Inc.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// (1) Redistributions of source code must retain the above copyright
// ... | 41.247031 | 87 | 0.613878 |
0d470a3e0297f718b91240e88af0de4ee5fe3120 | 4,083 | rb | Ruby | test/functional/test_matchers.rb | coupler/coupler | 52625c9ca823367723cfe2e6ab6c7af97d430be2 | [
"MIT"
] | null | null | null | test/functional/test_matchers.rb | coupler/coupler | 52625c9ca823367723cfe2e6ab6c7af97d430be2 | [
"MIT"
] | null | null | null | test/functional/test_matchers.rb | coupler/coupler | 52625c9ca823367723cfe2e6ab6c7af97d430be2 | [
"MIT"
] | null | null | null | require 'helper'
module CouplerFunctionalTests
class TestMatchers < Coupler::Test::FunctionalTest
def self.startup
super
conn = new_connection('h2', :name => 'foo')
conn.database do |db|
db.create_table!(:foo) do
primary_key :id
String :foo
String :bar
... | 37.805556 | 122 | 0.620132 |
7f07c03a071e6af23c0899b2dc57e7ec200d03bf | 6,515 | cs | C# | src/Tests/Aggregations/WritingAggregations.doc.cs | RossLieberman/NEST | ba9182ca1ea386644e4dc6546d462e424875cb85 | [
"Apache-2.0"
] | null | null | null | src/Tests/Aggregations/WritingAggregations.doc.cs | RossLieberman/NEST | ba9182ca1ea386644e4dc6546d462e424875cb85 | [
"Apache-2.0"
] | null | null | null | src/Tests/Aggregations/WritingAggregations.doc.cs | RossLieberman/NEST | ba9182ca1ea386644e4dc6546d462e424875cb85 | [
"Apache-2.0"
] | null | null | null | using System;
using Nest;
using Tests.Framework;
using Tests.Framework.MockData;
using static Nest.Infer;
using System.Collections.Generic;
using System.Linq;
using Tests.Aggregations.Bucket.Children;
using Tests.Framework.Integration;
using FluentAssertions;
namespace Tests.Aggregations
{
/**
*== Writing Aggregati... | 34.654255 | 178 | 0.697314 |
e534d15a0f556f0050838312c1c77e33814b8e3b | 156 | swift | Swift | SimpleFunctionalWeather/Pure/Utils.swift | viralplatipuss/SimpleFunctionalWeather | a77746f8d8446ef4f2ed6364d746d97a43d1f1ee | [
"MIT"
] | 1 | 2020-06-08T19:46:46.000Z | 2020-06-08T19:46:46.000Z | SimpleFunctionalWeather/Pure/Utils.swift | viralplatipuss/SimpleFunctionalWeather | a77746f8d8446ef4f2ed6364d746d97a43d1f1ee | [
"MIT"
] | null | null | null | SimpleFunctionalWeather/Pure/Utils.swift | viralplatipuss/SimpleFunctionalWeather | a77746f8d8446ef4f2ed6364d746d97a43d1f1ee | [
"MIT"
] | null | null | null | import Foundation
extension Optional where Wrapped == Data {
var asUtf8String: String? {
flatMap { String(data: $0, encoding: .utf8) }
}
}
| 19.5 | 53 | 0.641026 |
261e3ef9e00eb0bfbfb83b37ca54fe9a0bc5912e | 2,892 | dart | Dart | packages/pdfx/lib/src/renderer/interfaces/page.dart | victorshx/packages.flutter | e5f53c24e8a1da078110a024883d17a138754bb6 | [
"MIT"
] | 37 | 2019-03-01T20:19:16.000Z | 2019-11-30T19:20:12.000Z | packages/pdfx/lib/src/renderer/interfaces/page.dart | victorshx/packages.flutter | e5f53c24e8a1da078110a024883d17a138754bb6 | [
"MIT"
] | 13 | 2019-03-28T21:04:54.000Z | 2019-12-05T11:34:54.000Z | packages/pdfx/lib/src/renderer/interfaces/page.dart | victorshx/packages.flutter | e5f53c24e8a1da078110a024883d17a138754bb6 | [
"MIT"
] | 11 | 2019-04-09T14:01:03.000Z | 2019-11-26T16:49:32.000Z | import 'dart:async';
import 'dart:typed_data' show Uint8List;
import 'dart:ui';
import 'package:extension/extension.dart';
import 'package:meta/meta.dart';
import 'document.dart';
part 'page_image.dart';
part 'page_texture.dart';
/// Image compression format
class PdfPageImageFormat extends Enum<int> {
... | 28.633663 | 77 | 0.679461 |
ebc43a0c56d553facc0e73447c42e8ae5b175dca | 302 | css | CSS | 01 React Concepts/01 Properties/src/css/styles.css | Lemoncode/react-training-es6 | 6105dd8eeff71963dfbde5881426d1d4a926f142 | [
"MIT"
] | 13 | 2017-02-21T21:42:23.000Z | 2021-11-06T01:55:33.000Z | 01 React Concepts/01 Properties/src/css/styles.css | Lemoncode/react-training-ts | ac5587e873d84e6940e410774b5b195d74450b5c | [
"MIT"
] | 22 | 2017-02-09T14:53:45.000Z | 2017-02-21T16:53:05.000Z | 01 React Concepts/01 Properties/src/css/styles.css | Lemoncode/react-training-es6 | 6105dd8eeff71963dfbde5881426d1d4a926f142 | [
"MIT"
] | 8 | 2017-02-22T11:17:11.000Z | 2021-11-09T17:03:37.000Z | .container {
margin-top: 50px;
}
.animated {
-webkit-transition: opacity .15s ease-out, visibility .3s ease-out;
transition: opacity .15s ease-out, visibility .3s ease-out;
}
.modal {
display: block;
}
.modal .modal-dialog {
cursor: pointer;
}
.borderless {
border-color: transparent;
}
| 15.1 | 69 | 0.682119 |
b0f92973ac5b228d853c6dc53d5b6bb8bbc50be3 | 120 | py | Python | GPopt/utils/__init__.py | Techtonique/GPopt | 37eb7cbd55679b67b0f0f39dddb310309531e5ca | [
"BSD-3-Clause-Clear"
] | 1 | 2021-07-14T11:56:32.000Z | 2021-07-14T11:56:32.000Z | GPopt/utils/__init__.py | Techtonique/GPopt | 37eb7cbd55679b67b0f0f39dddb310309531e5ca | [
"BSD-3-Clause-Clear"
] | null | null | null | GPopt/utils/__init__.py | Techtonique/GPopt | 37eb7cbd55679b67b0f0f39dddb310309531e5ca | [
"BSD-3-Clause-Clear"
] | null | null | null | from .progress_bar import Progbar
from .nodesimulation import generate_sobol2
__all__ = ["Progbar", "generate_sobol2"]
| 24 | 43 | 0.808333 |
e0942dbdcd5ac5efe431ba45d9532144b2aef31f | 1,155 | c | C | src/lin/fix_utils.c | srsem/fix_parser | 91b19abf724c854bf2f7f5b03b412f6c7c69a536 | [
"BSD-3-Clause"
] | 26 | 2015-02-11T22:20:45.000Z | 2021-12-19T20:33:04.000Z | src/lin/fix_utils.c | srsem/fix_parser | 91b19abf724c854bf2f7f5b03b412f6c7c69a536 | [
"BSD-3-Clause"
] | null | null | null | src/lin/fix_utils.c | srsem/fix_parser | 91b19abf724c854bf2f7f5b03b412f6c7c69a536 | [
"BSD-3-Clause"
] | 12 | 2015-01-24T16:37:03.000Z | 2020-06-25T14:48:29.000Z | /* @file fix_utils_lin.c
@author Dmitry S. Melnikov, dmitryme@gmail.com
@date Created on: 12/28/2012 04:58:17 PM
*/
#include "fix_utils.h"
#include "fix_types.h"
#include <libgen.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
/*-----------------------------------------------------------------... | 30.394737 | 130 | 0.58961 |
2f4b599c3d96ec21fd1ef1dde0c7ebe0c34199ea | 1,028 | js | JavaScript | test/btrz-label.spec.js | Betterez/btrz-vue-components | 3d6491f94cea30a99c2162df8b00c75e687289ca | [
"MIT"
] | null | null | null | test/btrz-label.spec.js | Betterez/btrz-vue-components | 3d6491f94cea30a99c2162df8b00c75e687289ca | [
"MIT"
] | 8 | 2017-02-23T18:49:28.000Z | 2020-09-10T17:30:25.000Z | test/btrz-label.spec.js | Betterez/btrz-vue-components | 3d6491f94cea30a99c2162df8b00c75e687289ca | [
"MIT"
] | null | null | null | import "./setup";
import {expect} from "chai";
import {insertHTML} from "./utils";
import BtrzInput from "../src/btrz-input";
import BtrzToggle from "../src/btrz-toggle";
describe("BtrzLabel", () => {
it("btrz-input should render a label with a given text", () => {
insertHTML(`<div id="app">
<... | 29.371429 | 102 | 0.553502 |
7e65c06d40f9a3459a26a8b3d245c0b586846d9f | 7,614 | rs | Rust | src/parser/lexer.rs | kirbycool/rust-monkey | 235d8be81092e6a74e7f1aa09acab9e33bd669f7 | [
"MIT"
] | null | null | null | src/parser/lexer.rs | kirbycool/rust-monkey | 235d8be81092e6a74e7f1aa09acab9e33bd669f7 | [
"MIT"
] | null | null | null | src/parser/lexer.rs | kirbycool/rust-monkey | 235d8be81092e6a74e7f1aa09acab9e33bd669f7 | [
"MIT"
] | null | null | null | use crate::parser::token::Token;
use crate::parser::token::Token::*;
pub struct Lexer {
input: Vec<char>,
position: usize,
read_position: usize,
}
impl Lexer {
pub fn new(input: String) -> Self {
Lexer {
input: input.chars().collect(),
position: 0,
read_posi... | 24.325879 | 76 | 0.420541 |
fa82b6e764767ec297ffd9060a087f242751acf1 | 8,957 | cpp | C++ | src/XspfDateTime.cpp | ezdev128/libxspf | ba71431e24293510c44d6581e2c05b901a372880 | [
"BSD-3-Clause"
] | null | null | null | src/XspfDateTime.cpp | ezdev128/libxspf | ba71431e24293510c44d6581e2c05b901a372880 | [
"BSD-3-Clause"
] | null | null | null | src/XspfDateTime.cpp | ezdev128/libxspf | ba71431e24293510c44d6581e2c05b901a372880 | [
"BSD-3-Clause"
] | null | null | null | /*
* libxspf - XSPF playlist handling library
*
* Copyright (C) 2006-2008, Sebastian Pipping / Xiph.Org Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistrib... | 21.275534 | 96 | 0.620744 |
a35fcd4f53c5d44b5abb0e4a92f8c947937daca7 | 1,823 | java | Java | marathon-manage/marathon-manage-web/src/main/java/com/marathon/manage/controller/volunteer/qvo/QueryVolunteerInfoVO.java | xiaocui123/marathon | d44b2699236616b58e7dbe63cdcb603aa6bece21 | [
"Apache-2.0"
] | null | null | null | marathon-manage/marathon-manage-web/src/main/java/com/marathon/manage/controller/volunteer/qvo/QueryVolunteerInfoVO.java | xiaocui123/marathon | d44b2699236616b58e7dbe63cdcb603aa6bece21 | [
"Apache-2.0"
] | null | null | null | marathon-manage/marathon-manage-web/src/main/java/com/marathon/manage/controller/volunteer/qvo/QueryVolunteerInfoVO.java | xiaocui123/marathon | d44b2699236616b58e7dbe63cdcb603aa6bece21 | [
"Apache-2.0"
] | 2 | 2017-07-26T01:05:09.000Z | 2020-02-28T02:14:16.000Z | package com.marathon.manage.controller.volunteer.qvo;
import com.marathon.manage.vo.BaseTreeGridVO;
/**
* 志愿者需求树形结构
* Created by cui on 2018/5/22.
*/
public class QueryVolunteerInfoVO extends BaseTreeGridVO<QueryVolunteerInfoVO> {
//分组名称
private String groupName;
//位置名称
private String locationNam... | 20.715909 | 80 | 0.645639 |