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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6524d4c1c81726c419e60ebe02992ba4b997c9c6 | 408 | css | CSS | src/css/demo.css | jarwol/aTable | 85a62895868e02b159de86f4bf8f49ca3c08063b | [
"MIT"
] | 3 | 2015-08-21T16:33:37.000Z | 2017-09-23T14:55:00.000Z | src/css/demo.css | jarwol/aTable | 85a62895868e02b159de86f4bf8f49ca3c08063b | [
"MIT"
] | 1 | 2015-02-09T03:44:28.000Z | 2015-02-09T17:52:43.000Z | src/css/demo.css | jarwol/aTable | 85a62895868e02b159de86f4bf8f49ca3c08063b | [
"MIT"
] | null | null | null | body {
font-family: "DejaVu Sans Condensed";
padding: 50px 0;
}
hr {
width: 50%;
margin-left: auto;
margin-right: auto;
}
h4 {
margin: 45px 0;
}
pre {
overflow-x: auto;
word-wrap: normal;
white-space: pre;
}
.highlight {
background-color: #FFFF30;
}
.bold {
font-weight: ... | 11.333333 | 41 | 0.57598 |
b0a4bdfb515fadad566f8603bc01be2fbc1c8dba | 459 | py | Python | metrics/metrics.py | 9dev/django-metrics | ba876bc8291f0b8160cd48507e1a8bf628e7d204 | [
"MIT"
] | null | null | null | metrics/metrics.py | 9dev/django-metrics | ba876bc8291f0b8160cd48507e1a8bf628e7d204 | [
"MIT"
] | null | null | null | metrics/metrics.py | 9dev/django-metrics | ba876bc8291f0b8160cd48507e1a8bf628e7d204 | [
"MIT"
] | null | null | null |
class BaseMetric(object):
name = None
def get_name(self):
return self.name
class ValueMetric(BaseMetric):
value = None
def get_value(self):
return self.value
class LineChartMetric(BaseMetric):
x = []
y = []
xlabel = 'X Label'
ylabel = 'Y Label'
def get_values(... | 17 | 69 | 0.583878 |
07a32be5235cdd555cc22345ea185e6eabb592c8 | 2,073 | css | CSS | src/styles/blog.css | hmajid2301/personal-site | f44f21a769d880fa6f86e57af2a189b017cfc92d | [
"MIT"
] | 6 | 2021-03-15T21:40:30.000Z | 2022-03-24T11:17:40.000Z | src/styles/blog.css | meokisama/gatsby-portfolio-site | c79aac095fe000f1e5ff3752141a756b601d64f3 | [
"MIT"
] | 10 | 2020-09-11T16:52:44.000Z | 2022-02-27T07:20:08.000Z | src/styles/blog.css | hmajid2301/personal-site | f44f21a769d880fa6f86e57af2a189b017cfc92d | [
"MIT"
] | null | null | null | .blog-post {
@apply leading-relaxed text-base;
}
@screen sm {
.blog-post {
@apply text-base;
}
}
@screen lg {
.blog-post {
@apply text-lg;
}
}
.blog-post h1,
.blog-post h2 {
@apply text-xl my-6 font-semibold;
}
.blog-post h3,
.blog-post h4,
.blog-post h5,
.blog-post h6 {
@apply text-lg my-3 fo... | 14.102041 | 61 | 0.634829 |
bdd650150c2ec75f6b1eb42ba7a6aeeff14577a5 | 349 | cs | C# | ScheduledTasks/CompositeC1AuthorizationFilter.cs | burningice2866/CompositeC1Contrib | 6e987f13aa41ad202e1db400989e3a8de4fa000b | [
"MIT"
] | 5 | 2016-05-06T14:01:25.000Z | 2017-08-04T17:24:02.000Z | ScheduledTasks/CompositeC1AuthorizationFilter.cs | burningice2866/CompositeC1Contrib | 6e987f13aa41ad202e1db400989e3a8de4fa000b | [
"MIT"
] | 9 | 2017-06-16T12:58:21.000Z | 2021-05-07T14:16:03.000Z | ScheduledTasks/CompositeC1AuthorizationFilter.cs | burningice2866/CompositeC1Contrib | 6e987f13aa41ad202e1db400989e3a8de4fa000b | [
"MIT"
] | 4 | 2017-07-27T11:09:19.000Z | 2019-09-24T09:32:40.000Z | using Composite.C1Console.Security;
using Hangfire.Dashboard;
namespace CompositeC1Contrib.ScheduledTasks
{
public class CompositeC1AuthorizationFilter : IDashboardAuthorizationFilter
{
public bool Authorize(DashboardContext context)
{
return UserValidationFacade.IsLogge... | 23.266667 | 80 | 0.69341 |
f0e568c87f6fe5168e53ae55e65a91110c2cbe37 | 7,003 | sql | SQL | morph-examples/examples-srilanka-tourism/2016-P21-query1.sql | RodrigoSanchezGonzalez/morph-rdb | a599bbf0d615604a36c7f594dfffa537720eb974 | [
"Apache-2.0"
] | 26 | 2015-02-03T15:36:37.000Z | 2022-01-10T23:19:02.000Z | morph-examples/examples-srilanka-tourism/2016-P21-query1.sql | RodrigoSanchezGonzalez/morph-rdb | a599bbf0d615604a36c7f594dfffa537720eb974 | [
"Apache-2.0"
] | 44 | 2015-01-08T10:44:09.000Z | 2022-01-21T23:17:43.000Z | morph-examples/examples-srilanka-tourism/2016-P21-query1.sql | RodrigoSanchezGonzalez/morph-rdb | a599bbf0d615604a36c7f594dfffa537720eb974 | [
"Apache-2.0"
] | 42 | 2015-01-20T01:59:39.000Z | 2021-11-09T11:13:00.000Z | SELECT "T2"."COUNTRYOFRESIDENCE" AS "obs",1459016715 AS "mappingid_obs",'http://w3id.org/sri-lanka/tourism/cube-vocab/countryOfResidence' AS "uri_countryOfResidence544834306",'http://w3id.org/sri-lanka/tourism/cube-vocab/month' AS "uri_month884712379",'http://w3id.org/sri-lanka/tourism/cube-vocab/numberOfArrivals' AS "... | 120.741379 | 521 | 0.796516 |
f82585284b715d223bcf79ec5cd9a5661742ea73 | 384 | ps1 | PowerShell | General/KovertKringle/Public/Remove-KKParticipant.ps1 | corbob/powershell-depot | e77d3b400064502d5165b218f09c0680da8757b6 | [
"MIT"
] | 30 | 2015-11-05T01:21:27.000Z | 2021-01-18T16:09:50.000Z | General/KovertKringle/Public/Remove-KKParticipant.ps1 | corbob/powershell-depot | e77d3b400064502d5165b218f09c0680da8757b6 | [
"MIT"
] | 1 | 2018-04-11T23:27:11.000Z | 2018-04-11T23:27:11.000Z | General/KovertKringle/Public/Remove-KKParticipant.ps1 | corbob/powershell-depot | e77d3b400064502d5165b218f09c0680da8757b6 | [
"MIT"
] | 20 | 2015-07-01T10:52:42.000Z | 2021-10-02T08:23:18.000Z | function Remove-KKParticipant {
<#
.SYNOPSIS
Short description
.DESCRIPTION
Long description
.EXAMPLE
An example
.NOTES
General notes
#>
[CmdletBinding()]
param (
[Parameter(Mandatory)]
[string] $Name
)
$Obj = $Script:Participants | Where-Obj... | 14.769231 | 66 | 0.588542 |
e739a4c3d41bffa87e0a33f3e2bae4e23e947e85 | 10,710 | php | PHP | application/controllers/Alumni.php | harkiramadhan/ci_forsadqm | 2410045d2e318e4b7073aee2602922627cbbfa53 | [
"MIT"
] | null | null | null | application/controllers/Alumni.php | harkiramadhan/ci_forsadqm | 2410045d2e318e4b7073aee2602922627cbbfa53 | [
"MIT"
] | null | null | null | application/controllers/Alumni.php | harkiramadhan/ci_forsadqm | 2410045d2e318e4b7073aee2602922627cbbfa53 | [
"MIT"
] | null | null | null | <?php
class Alumni extends CI_Controller{
public function irhaby(){
$this->load->model('M_Forsadqm');
$data['alumni'] = $this->M_Forsadqm->alumni()->result();
$data['konsulat'] = $this->M_Forsadqm->konsulat()->result();
$data['angkatan'] = $this->M_Forsadqm->angkatan()->result();
$data['jakarta'] ... | 64.518072 | 94 | 0.59197 |
93e9c2cf52dea33c45232d1989d25b4b08278330 | 3,470 | cs | C# | NPOI.HSSF.Record/MulBlankRecord.cs | iNeverSleeeeep/NPOI-For-Unity | e35b85c88a863ab2dae70aa81f058c2db36c7150 | [
"MIT"
] | 1 | 2020-11-18T06:28:07.000Z | 2020-11-18T06:28:07.000Z | NPOI.HSSF.Record/MulBlankRecord.cs | iNeverSleeeeep/NPOI-For-Unity | e35b85c88a863ab2dae70aa81f058c2db36c7150 | [
"MIT"
] | null | null | null | NPOI.HSSF.Record/MulBlankRecord.cs | iNeverSleeeeep/NPOI-For-Unity | e35b85c88a863ab2dae70aa81f058c2db36c7150 | [
"MIT"
] | null | null | null | using NPOI.Util;
using System.Text;
namespace NPOI.HSSF.Record
{
/// Title: Mulitple Blank cell record
/// Description: Represents a Set of columns in a row with no value but with styling.
/// In this release we have Read-only support for this record type.
/// The RecordFactor... | 27.76 | 97 | 0.664265 |
9ffe2a4deb11f401370f062f1d769452ff6b6772 | 475 | py | Python | mopidy_cd/__init__.py | M0Rf30/mopidy-cd | 1ae7653ab2505b74bdbbb08e5fb18f08b17a9c4b | [
"Apache-2.0"
] | 6 | 2021-02-20T23:37:27.000Z | 2022-03-18T11:47:11.000Z | mopidy_cd/__init__.py | M0Rf30/mopidy-cd | 1ae7653ab2505b74bdbbb08e5fb18f08b17a9c4b | [
"Apache-2.0"
] | 6 | 2015-01-25T19:06:06.000Z | 2017-05-25T13:16:24.000Z | mopidy_cd/__init__.py | M0Rf30/mopidy-cd | 1ae7653ab2505b74bdbbb08e5fb18f08b17a9c4b | [
"Apache-2.0"
] | 3 | 2017-09-05T03:48:23.000Z | 2018-08-12T08:44:46.000Z | from __future__ import unicode_literals
import os
from mopidy import config, ext
__version__ = '0.5.1'
class Extension(ext.Extension):
dist_name = 'Mopidy-Cd'
ext_name = 'cd'
version = __version__
def get_default_config(self):
conf_file = os.path.join(os.path.dirname(__file__), 'ext.conf... | 19.791667 | 71 | 0.682105 |
143e4649d0e1ebde70fcd67dee39c58182d9386c | 3,608 | sql | SQL | create.sql | JeanFranz73/sistema-pedidos-php-sql | 3c52fbb3148626f6d02e3be7c0d66291621623be | [
"Unlicense"
] | 1 | 2021-06-28T23:29:00.000Z | 2021-06-28T23:29:00.000Z | create.sql | JeanFranz73/sistema-pedidos-php-sql | 3c52fbb3148626f6d02e3be7c0d66291621623be | [
"Unlicense"
] | null | null | null | create.sql | JeanFranz73/sistema-pedidos-php-sql | 3c52fbb3148626f6d02e3be7c0d66291621623be | [
"Unlicense"
] | null | null | null | create table cargos
(
id_cargo serial not null,
nome varchar(20) not null,
descricao varchar(50) not null,
constraint cargos_pkey
primary key (id_cargo)
);
create table estado
(
id_estado serial not null,
nome varchar(20) not null,
sigla varchar(2),
constraint estado_pkey
primary key (id_estado)
);
create... | 22 | 51 | 0.782705 |
b04b6ec673eccf2193c77faa7009efb413e1e18a | 4,348 | py | Python | Code/config.py | CerpStern/CapStone | 4c09db174b1ff9a1b96b69e5c298b29c610aefaa | [
"MIT"
] | 1 | 2018-03-30T03:21:23.000Z | 2018-03-30T03:21:23.000Z | Code/config.py | KevinNovak/Syllabus-Management-System | 4c09db174b1ff9a1b96b69e5c298b29c610aefaa | [
"MIT"
] | null | null | null | Code/config.py | KevinNovak/Syllabus-Management-System | 4c09db174b1ff9a1b96b69e5c298b29c610aefaa | [
"MIT"
] | null | null | null | import os
import json
import datetime
from flask import Flask, url_for, redirect, \
render_template, session, request
from flask_sqlalchemy import SQLAlchemy
from flask_login import LoginManager, login_required, login_user, \
logout_user, current_user, UserMixin
from requests_oauthlib import OAuth2Session
from... | 64.895522 | 888 | 0.76058 |
d728ee2033765e686552c323df3ec8345365fa19 | 41 | sql | SQL | migrations/sqls/20210716102934-create-table-person-account-down.sql | Eeki/postgraphile-flashcards | 8602b1fa742dd19dde34b7673bdf69eefe9164c6 | [
"MIT"
] | null | null | null | migrations/sqls/20210716102934-create-table-person-account-down.sql | Eeki/postgraphile-flashcards | 8602b1fa742dd19dde34b7673bdf69eefe9164c6 | [
"MIT"
] | null | null | null | migrations/sqls/20210716102934-create-table-person-account-down.sql | Eeki/postgraphile-flashcards | 8602b1fa742dd19dde34b7673bdf69eefe9164c6 | [
"MIT"
] | null | null | null | DROP TABLE learn_private.person_account;
| 20.5 | 40 | 0.878049 |
3a02f35313f3b69a064ebaacb397e46d9674877e | 936 | lua | Lua | ahsm/tools/run_to_dot.lua | xopxe/robotito_firmware | c131994cf1420277e0fd576c52018de4f9d64207 | [
"MIT"
] | 3 | 2019-02-03T20:48:31.000Z | 2020-11-08T16:03:14.000Z | ahsm/tools/run_to_dot.lua | xopxe/robotito_firmware | c131994cf1420277e0fd576c52018de4f9d64207 | [
"MIT"
] | null | null | null | ahsm/tools/run_to_dot.lua | xopxe/robotito_firmware | c131994cf1420277e0fd576c52018de4f9d64207 | [
"MIT"
] | null | null | null | --- Simple dot export script.
-- This script will export a hsm library to a dot file representation.
-- If filename is provided the output will be written to a file. Otherwise
-- the dot output will be writted to stdout.
-- @usage $ lua run_to_dot.lua <fsm.lua> [filename]
-- @usage $ lua tools/run_to_dot.lua examples/... | 32.275862 | 79 | 0.726496 |
7da48263f7f1c5398935a3358755c0dd65304f18 | 399 | swift | Swift | HackerRank/HackerRankTests/Tests/RunningTimeTests.swift | wibosco/CodingChallenges | ba4008410664c86e5de13c00eb819b1010e67cb2 | [
"MIT"
] | 5 | 2021-12-30T20:32:13.000Z | 2022-03-31T09:42:35.000Z | HackerRank/HackerRankTests/Tests/RunningTimeTests.swift | wibosco/CodingChallenges | ba4008410664c86e5de13c00eb819b1010e67cb2 | [
"MIT"
] | null | null | null | HackerRank/HackerRankTests/Tests/RunningTimeTests.swift | wibosco/CodingChallenges | ba4008410664c86e5de13c00eb819b1010e67cb2 | [
"MIT"
] | null | null | null | //
// RunningTimeTests.swift
// CodingChallenges
//
// Created by Boles on 15/05/2016.
// Copyright © 2016 Boles. All rights reserved.
//
import XCTest
@testable import HackerRank
class RunningTimeTests: XCTestCase {
func test_A() {
let numberOfShifts = RunningTime.numberOfShiftsToSort(array: [2... | 18.136364 | 85 | 0.651629 |
4cd4582462fdb4234d3f1d0aa877a640375d67b2 | 232 | py | Python | ch02_03.py | sitdh/59.com-prog | 24f536a72b0467ff3ee1615f515ecff9fbf36bb3 | [
"MIT"
] | 1 | 2021-04-25T14:46:12.000Z | 2021-04-25T14:46:12.000Z | ch02_03.py | sitdh/com-prog | 24f536a72b0467ff3ee1615f515ecff9fbf36bb3 | [
"MIT"
] | null | null | null | ch02_03.py | sitdh/com-prog | 24f536a72b0467ff3ee1615f515ecff9fbf36bb3 | [
"MIT"
] | null | null | null | # Body surface
import math
weight = int(input())
height = int(input())
body_surface = 3.207 * math.pow(10, -4) * math.pow(height, 0.3) * math.pow( 1000 * weight, 0.7285 - 0.0188 * ( 3 + math.log(weight, 10)))
print(body_surface)
| 23.2 | 137 | 0.646552 |
b75d4cd4fa9ad3ad38b152ff060b557b21d0287d | 575 | cpp | C++ | Redo.cpp | albcristi/MoviesApp | aeb390e13fd3130474e12ddb55ba7ada3fcd898d | [
"MIT"
] | null | null | null | Redo.cpp | albcristi/MoviesApp | aeb390e13fd3130474e12ddb55ba7ada3fcd898d | [
"MIT"
] | null | null | null | Redo.cpp | albcristi/MoviesApp | aeb390e13fd3130474e12ddb55ba7ada3fcd898d | [
"MIT"
] | null | null | null | #include "Redo.h"
Redo::Redo()
{
}
Redo::~Redo()
{
}
RedoAdd::RedoAdd(Movie mov, Repository& rep) :addedMovie{ mov },repo{rep}
{
}
void RedoAdd::redoAction()
{
repo.addElement(addedMovie);
}
RedoAdd::~RedoAdd()
{
}
RedoDelete::RedoDelete(Movie mo, Repository& re) : deletedMovie{ mo }, repo{ re }
{
}
void Red... | 11.734694 | 81 | 0.662609 |
691849b72dd6d0db19105652aea21cd8dc7a0eeb | 1,073 | rb | Ruby | spec/words_integration_spec.rb | andrewlhy/Dictionary | e91cca399972228e0bd7943ad9adffdf6ea21432 | [
"MIT"
] | null | null | null | spec/words_integration_spec.rb | andrewlhy/Dictionary | e91cca399972228e0bd7943ad9adffdf6ea21432 | [
"MIT"
] | null | null | null | spec/words_integration_spec.rb | andrewlhy/Dictionary | e91cca399972228e0bd7943ad9adffdf6ea21432 | [
"MIT"
] | null | null | null | require('capybara/rspec')
require('./app')
Capybara.app = Sinatra::Application
set(:show_exceptions,false)
describe("a list of words", {:type => :feature})do
it('will show a list of words that you want to add to the dictionary') do
visit('/')
click_on('Add a new word to your list here')
fill_in('wordname... | 31.558824 | 81 | 0.671016 |
2c5fcc15f86ca47fc4de2c7fe6415eb6a85e0c4c | 3,010 | py | Python | step_1/slack_bot.py | kangheeyong/PROJECT-personal-recommendation-system-demo | f8c6489f8bc17463fa572dc47e4bcbfc5fdb1397 | [
"MIT"
] | 2 | 2020-03-23T09:28:35.000Z | 2020-03-23T09:28:38.000Z | step_1/slack_bot.py | kangheeyong/PROJECT-personal-recommendation-system-demo | f8c6489f8bc17463fa572dc47e4bcbfc5fdb1397 | [
"MIT"
] | 5 | 2020-03-11T08:38:14.000Z | 2020-05-30T13:45:15.000Z | step_1/slack_bot.py | kangheeyong/PROJECT-personal-recommendation-system-demo | f8c6489f8bc17463fa572dc47e4bcbfc5fdb1397 | [
"MIT"
] | null | null | null | import os
import sys
import asyncio
from datetime import datetime, timedelta
import websockets
from fire import Fire
from slacker import Slacker
from Feynman.etc.util import Config, get_logger
from Feynman.database import Mongodb
class base():
def __init__(self):
self.slack = Slacker(os.environ['SLACK_... | 36.26506 | 127 | 0.595349 |
9feb52d755e64ca783b48ac95cbf12a852bdd3de | 56,290 | py | Python | examples/development/variants.py | abhishekunique/RND-ashwin | f8bcf3c593df2dacc0efba0875533be71ccb5011 | [
"MIT"
] | null | null | null | examples/development/variants.py | abhishekunique/RND-ashwin | f8bcf3c593df2dacc0efba0875533be71ccb5011 | [
"MIT"
] | 7 | 2020-09-25T22:41:46.000Z | 2022-03-12T00:37:25.000Z | examples/development/variants.py | abhishekunique/RND-ashwin | f8bcf3c593df2dacc0efba0875533be71ccb5011 | [
"MIT"
] | null | null | null | from copy import deepcopy
from ray import tune
import numpy as np
import os
from softlearning.misc.utils import get_git_rev, deep_update
DEFAULT_KEY = "__DEFAULT_KEY__"
# M = number of hidden units per layer
# N = number of hidden layers
# M = 512
# N = 2
M = 256
N = 2
REPARAMETERIZE = True
NUM_COUPLING_LAYERS = 2
... | 36.887287 | 144 | 0.459478 |
7e1165193c3de9014976a95b060c2aa1c3ff22c2 | 7,049 | rs | Rust | src/bin/2020_day15_part2.rs | dariuswiles/advent-of-code-rust | 8fe52dda7bbdf2e07d727c9fffc9d4b0d049a5a9 | [
"Unlicense"
] | null | null | null | src/bin/2020_day15_part2.rs | dariuswiles/advent-of-code-rust | 8fe52dda7bbdf2e07d727c9fffc9d4b0d049a5a9 | [
"Unlicense"
] | null | null | null | src/bin/2020_day15_part2.rs | dariuswiles/advent-of-code-rust | 8fe52dda7bbdf2e07d727c9fffc9d4b0d049a5a9 | [
"Unlicense"
] | null | null | null | //! Advent of Code 2020 Day 15
//! https://adventofcode.com/2020/day/15
//!
//! Challenge part 2
//!
//! Follows the game rules explained in the challenge until the given game turn is reached, at
//! which point the answer to the challenge is obtained. Part 2 of the challenge only increases
//! the number of game turns... | 30.253219 | 99 | 0.599518 |
6231c5af5a9901719aa8aa93fa8ea46216a3f88c | 2,179 | py | Python | src/CommunityGAN/utils.py | Bipasha-banerjee/newCGAN | 073e30bbd43c08c67ee8778b39752a8b75a87fba | [
"MIT"
] | 69 | 2018-09-09T03:29:05.000Z | 2022-03-23T17:12:24.000Z | src/CommunityGAN/utils.py | Bipasha-banerjee/newCGAN | 073e30bbd43c08c67ee8778b39752a8b75a87fba | [
"MIT"
] | 4 | 2019-07-29T06:44:44.000Z | 2021-08-11T19:28:19.000Z | src/CommunityGAN/utils.py | Bipasha-banerjee/newCGAN | 073e30bbd43c08c67ee8778b39752a8b75a87fba | [
"MIT"
] | 34 | 2018-09-09T13:05:58.000Z | 2022-03-21T10:05:28.000Z | import numpy as np
import random
import os
import datetime
def str_list_to_float(str_list):
return [float(item) for item in str_list]
def str_list_to_int(str_list):
return [int(item) for item in str_list]
def read_embeddings(filename, n_node, n_embed):
with open(filename, "r") as f:
embedding... | 27.582278 | 129 | 0.61129 |
4597a17c4a0c58c7fa7ad76f074b26be95cb7802 | 12,360 | py | Python | utils/module_wrappers.py | limberc/hypercl | ad098a3b18cf2a2ae6e3ecd28a2b7af698f7b807 | [
"Apache-2.0"
] | null | null | null | utils/module_wrappers.py | limberc/hypercl | ad098a3b18cf2a2ae6e3ecd28a2b7af698f7b807 | [
"Apache-2.0"
] | null | null | null | utils/module_wrappers.py | limberc/hypercl | ad098a3b18cf2a2ae6e3ecd28a2b7af698f7b807 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# Copyright 2019 Christian Henning
#
# 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 l... | 37.228916 | 80 | 0.644498 |
cd3595a6d4dbc241f61013e9a87a39f44a4319a5 | 723 | cs | C# | AspNetCoreDmsSample/Models/Player.cs | aws-samples/controltower-cloudendure-simulated-environment | c4574fdb4555baa0165a826e954f5330c437234b | [
"MIT-0"
] | 2 | 2021-11-03T00:40:08.000Z | 2022-01-21T20:44:24.000Z | AspNetCoreDmsSample/Models/Player.cs | aws-samples/controltower-cloudendure-simulated-environment | c4574fdb4555baa0165a826e954f5330c437234b | [
"MIT-0"
] | 4 | 2019-10-12T19:38:55.000Z | 2020-03-24T00:39:57.000Z | AspNetCoreDmsSample/Models/Player.cs | aws-samples/controltower-cloudendure-simulated-environment | c4574fdb4555baa0165a826e954f5330c437234b | [
"MIT-0"
] | 3 | 2020-04-14T09:36:13.000Z | 2021-11-03T00:40:00.000Z | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace DMSSample.Models
{
public partial class Player
{
[Display(Name = "ID")]
public int Id { get; set; }
[Display(Name = "Team ID")]
public int... | 25.821429 | 49 | 0.529737 |
0dea76cdb678be0e62ad52136783f0f2cc72af49 | 4,421 | cs | C# | SynapseGaming-SunBurn-Pro/SynapseGaming/LightingSystem/Processors/TerrainMaterialReader_Pro.cs | UnGaucho/StarDrive | d51409bf460d2d26e95a1b3869a628bc1d166e74 | [
"MIT"
] | null | null | null | SynapseGaming-SunBurn-Pro/SynapseGaming/LightingSystem/Processors/TerrainMaterialReader_Pro.cs | UnGaucho/StarDrive | d51409bf460d2d26e95a1b3869a628bc1d166e74 | [
"MIT"
] | null | null | null | SynapseGaming-SunBurn-Pro/SynapseGaming/LightingSystem/Processors/TerrainMaterialReader_Pro.cs | UnGaucho/StarDrive | d51409bf460d2d26e95a1b3869a628bc1d166e74 | [
"MIT"
] | null | null | null | // Decompiled with JetBrains decompiler
// Type: SynapseGaming.LightingSystem.Processors.TerrainMaterialReader_Pro
// Assembly: SynapseGaming-SunBurn-Pro, Version=1.3.2.8, Culture=neutral, PublicKeyToken=c23c60523565dbfd
// MVID: A5F03349-72AC-4BAA-AEEE-9AB9B77E0A39
// Assembly location: C:\Projects\BlackBox\StarD... | 57.415584 | 182 | 0.761819 |
05f7bf31c69753489474d2b51066423e12d35d28 | 4,954 | py | Python | LinkedList/SinglyLinkedList.py | ShaswatPrabhat/LinkedList | 902f282e82ddb4c97ffa780ce28bbec1939b2815 | [
"Apache-2.0"
] | null | null | null | LinkedList/SinglyLinkedList.py | ShaswatPrabhat/LinkedList | 902f282e82ddb4c97ffa780ce28bbec1939b2815 | [
"Apache-2.0"
] | null | null | null | LinkedList/SinglyLinkedList.py | ShaswatPrabhat/LinkedList | 902f282e82ddb4c97ffa780ce28bbec1939b2815 | [
"Apache-2.0"
] | null | null | null | from LinkedList import LinkedListNodes
class SinglyLinkedList:
def __init__(self, sourceList: list):
lastInitializedNode: LinkedListNodes.SinglyLinkedNode or None = None
self.headOfList: LinkedListNodes.SinglyLinkedNode or None = None
self.length = len(sourceList)
for value in sou... | 31.75641 | 85 | 0.531086 |
f4cc743bf349449a4731914ade390042e7c09351 | 39 | ts | TypeScript | lib/api/src/version.ts | cheynespc/storybook | ec9ba7be9b5d7f10eb15e4e91cc91c43b664bb73 | [
"MIT"
] | 1 | 2021-10-12T01:53:59.000Z | 2021-10-12T01:53:59.000Z | lib/api/src/version.ts | cheynespc/storybook | ec9ba7be9b5d7f10eb15e4e91cc91c43b664bb73 | [
"MIT"
] | null | null | null | lib/api/src/version.ts | cheynespc/storybook | ec9ba7be9b5d7f10eb15e4e91cc91c43b664bb73 | [
"MIT"
] | null | null | null | export const version = '6.4.0-beta.8';
| 19.5 | 38 | 0.666667 |
4e25aec5bf126276a0e845e179a9dfea411e3f78 | 1,389 | lua | Lua | Data/Scenario/Expeditions.lua | startrail/SurvivingMars | b58abe8393497bb07210ce974baa7ea70dbb5a88 | [
"BSD-Source-Code"
] | 1 | 2019-05-21T03:01:00.000Z | 2019-05-21T03:01:00.000Z | Data/Scenario/Expeditions.lua | startrail/SurvivingMars | b58abe8393497bb07210ce974baa7ea70dbb5a88 | [
"BSD-Source-Code"
] | null | null | null | Data/Scenario/Expeditions.lua | startrail/SurvivingMars | b58abe8393497bb07210ce974baa7ea70dbb5a88 | [
"BSD-Source-Code"
] | null | null | null | -- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ==========
PlaceObj('Scenario', {
'name', "Expeditions",
'file_name', "Expeditions",
'singleton', false,
}, {
PlaceObj('ScenarioSequence', {
'name', "MechanicalBreakdown",
}, {
PlaceObj('SA_WaitMessage', {
'title', T{5858, --[[Scenario Expeditions titl... | 63.136364 | 678 | 0.715623 |
33e767da0385ed7b45cc73aea1abafa2fe80c7c7 | 468 | h | C | Classes/ProcessData/Objects/DTOProductMasterObject.h | tuansusu/CRMOneIpad | 855a25025a2e2f3d005f71ec74e838962768f774 | [
"MIT"
] | null | null | null | Classes/ProcessData/Objects/DTOProductMasterObject.h | tuansusu/CRMOneIpad | 855a25025a2e2f3d005f71ec74e838962768f774 | [
"MIT"
] | null | null | null | Classes/ProcessData/Objects/DTOProductMasterObject.h | tuansusu/CRMOneIpad | 855a25025a2e2f3d005f71ec74e838962768f774 | [
"MIT"
] | null | null | null | //
// DTOProductMasterObject.h
// OfficeOneMB
//
// Created by macpro on 1/1/15.
//
//
#import <Foundation/Foundation.h>
@class Items;
@interface DTOProductMasterObject : NSObject
@property (nonatomic, retain) NSString *code;
@property (nonatomic, retain) NSString *name ;
+(NSArray*)allFields;
-(Items*)itemObje... | 18.72 | 55 | 0.735043 |
f5de8c72942a7002c86ee754851d1f981395989a | 766 | css | CSS | data/usercss/106171.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/106171.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/106171.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name Amor Doce Tema : Tomb Raider
@namespace USO Archive
@author Gihglamur99
@description `Um tema bem legal da Lara Croft de Tomb Raider`
@version 20141010.23.9
@license NO-REDISTRIBUTION
@preprocessor uso
==/UserStyle== */
@-moz-document domain("amordoce.com... | 33.304348 | 103 | 0.680157 |
0556ad355c475f67a5c617cdde3e6f38dba1c31f | 1,186 | rb | Ruby | controls/V-36661.rb | intinternal/microsoft-windows-2012r2-memberserver-stig-baseline | 96a38314118e2099bdf4d721aa41b38d20276234 | [
"Apache-2.0"
] | null | null | null | controls/V-36661.rb | intinternal/microsoft-windows-2012r2-memberserver-stig-baseline | 96a38314118e2099bdf4d721aa41b38d20276234 | [
"Apache-2.0"
] | null | null | null | controls/V-36661.rb | intinternal/microsoft-windows-2012r2-memberserver-stig-baseline | 96a38314118e2099bdf4d721aa41b38d20276234 | [
"Apache-2.0"
] | null | null | null | control 'V-36661' do
title "Policy must require application account passwords be at least 15
characters in length."
desc "Application/service account passwords must be of sufficient length to
prevent being easily cracked. Application/service accounts that are manually
managed must have passwords at leas... | 43.925926 | 81 | 0.715852 |
c4bbda3e53670c898370397ab10975570b59dde3 | 89 | hpp | C++ | openexr-c/abigen/imf_deeptiledoutputpart.hpp | vfx-rs/openexr-bind | ee4fd6010beedb0247737a39ee61ffb87c586448 | [
"BSD-3-Clause"
] | 7 | 2021-06-04T20:59:16.000Z | 2022-02-11T01:00:42.000Z | openexr-c/abigen/imf_deeptiledoutputpart.hpp | vfx-rs/openexr-bind | ee4fd6010beedb0247737a39ee61ffb87c586448 | [
"BSD-3-Clause"
] | 35 | 2021-05-14T04:28:22.000Z | 2021-12-30T12:08:40.000Z | openexr-c/abigen/imf_deeptiledoutputpart.hpp | vfx-rs/openexr-bind | ee4fd6010beedb0247737a39ee61ffb87c586448 | [
"BSD-3-Clause"
] | 5 | 2021-05-15T04:02:56.000Z | 2021-07-02T05:38:01.000Z | #pragma once
#include <ostream>
void abi_gen_imf_deeptiledoutputpart(std::ostream& os);
| 17.8 | 55 | 0.797753 |
ff4e0c5db5a9b5edc87dd59a0233b77719aea3b5 | 942 | py | Python | setup.py | stefanoborini/cookiecutter-traitsui | dea5e2684278c09b8e3f9d27dde4c2805bec3f3f | [
"BSD-2-Clause"
] | null | null | null | setup.py | stefanoborini/cookiecutter-traitsui | dea5e2684278c09b8e3f9d27dde4c2805bec3f3f | [
"BSD-2-Clause"
] | null | null | null | setup.py | stefanoborini/cookiecutter-traitsui | dea5e2684278c09b8e3f9d27dde4c2805bec3f3f | [
"BSD-2-Clause"
] | null | null | null | import os
from setuptools import setup, find_packages
# Setup version
VERSION = '0.1.0.dev0'
# Read description
with open('README.rst', 'r') as readme:
README_TEXT = readme.read()
def write_version_py():
filename = os.path.join(
os.path.dirname(__file__),
'{{cookiecutter.project_name}}',
... | 21.409091 | 54 | 0.619958 |
729ba21de1e819dc7e06eab31d8c03734b5b13ad | 734 | cs | C# | Assets/Scripts/UI/LevelSelectView.cs | KeeganL14/SF | 224330a06493b34e909b3ef92df112bee8f46784 | [
"MIT"
] | null | null | null | Assets/Scripts/UI/LevelSelectView.cs | KeeganL14/SF | 224330a06493b34e909b3ef92df112bee8f46784 | [
"MIT"
] | null | null | null | Assets/Scripts/UI/LevelSelectView.cs | KeeganL14/SF | 224330a06493b34e909b3ef92df112bee8f46784 | [
"MIT"
] | null | null | null | using RedMoon.ReactiveKit;
using System.Collections;
using System.Collections.Generic;
using UniRx;
using UnityEngine;
using UnityEngine.UIElements;
public class LevelSelectView : View<LevelSelectViewModel>
{
public override void OnActivation(LevelSelectViewModel viewModel, CompositeDisposable disposable)... | 34.952381 | 102 | 0.715259 |
58bc0c50da9235501007b43f70779b7ef868e722 | 2,729 | php | PHP | backend/controllers/WorkController.php | sochianton/blank_docker_yii2_app | bf7110c802d30c8d5d1c103c94b7f695d31c730f | [
"BSD-3-Clause"
] | null | null | null | backend/controllers/WorkController.php | sochianton/blank_docker_yii2_app | bf7110c802d30c8d5d1c103c94b7f695d31c730f | [
"BSD-3-Clause"
] | 1 | 2021-06-22T15:45:08.000Z | 2021-06-22T15:45:08.000Z | backend/controllers/WorkController.php | sochianton/blank_docker_yii2_app | bf7110c802d30c8d5d1c103c94b7f695d31c730f | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace backend\controllers;
use common\ar\Work;
use common\controllers\CRUDController;
use common\services\QualificationService;
use common\services\UserService;
use common\services\WorkService;
use Yii;
use yii\filters\ContentNegotiator;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
use yii\web\R... | 26.754902 | 81 | 0.41114 |
dd88435b65aedaa3e2130ceeb3fee971498b33dd | 5,026 | java | Java | references/bcb_chosen_clones/default#6489#346#436.java | cragkhit/elasticsearch | 05567b30c5bde08badcac1bf421454e5d995eb91 | [
"Apache-2.0"
] | 23 | 2018-10-03T15:02:53.000Z | 2021-09-16T11:07:36.000Z | references/bcb_chosen_clones/default#6489#346#436.java | LandAndLand/Siamese | 07fb10bec4614f55bcc39e571d1185fc9ce86242 | [
"Apache-2.0"
] | 18 | 2019-02-10T04:52:54.000Z | 2022-01-25T02:14:40.000Z | references/bcb_chosen_clones/default#6489#346#436.java | LandAndLand/Siamese | 07fb10bec4614f55bcc39e571d1185fc9ce86242 | [
"Apache-2.0"
] | 19 | 2018-11-16T13:39:05.000Z | 2021-09-05T23:59:30.000Z | public void actionPerformed(ActionEvent evt) {
String name = evt.getActionCommand();
if (name.equals("Load LSculpture")) {
JFileChooser chooser = new JFileChooser(System.getProperties().getProperty("user.dir"));
chooser.setDialogTitle("Select the directory containing the laye... | 54.630435 | 302 | 0.59033 |
257b62a58ebafcc733856dc5da460bab0167ab48 | 438 | js | JavaScript | frontend/src/components/views/NotFound.js | StackedQueries/tyler-richards | 5d9811402fa1072e395415500ab4f16361c96b21 | [
"MIT",
"Unlicense"
] | 1 | 2021-05-04T21:53:10.000Z | 2021-05-04T21:53:10.000Z | frontend/src/components/views/NotFound.js | StackedQueries/tyler-richards | 5d9811402fa1072e395415500ab4f16361c96b21 | [
"MIT",
"Unlicense"
] | null | null | null | frontend/src/components/views/NotFound.js | StackedQueries/tyler-richards | 5d9811402fa1072e395415500ab4f16361c96b21 | [
"MIT",
"Unlicense"
] | null | null | null | import Header from '../Header'
import Footer from '../Footer'
const NotFound = () => {
return (
<div>
<Header />
<div className='page-content'>
<div className="infoform">
<h1 className="page-header">404</h1>
<h2>This page doesn't exsist, has been moved,... | 20.857143 | 74 | 0.506849 |
05d942b6219ab700d71bf16a525ce0defff271d7 | 1,294 | py | Python | oauth/models.py | DheerendraRathor/iitb_oauth_py | c06b21acb4f6d09c813bb8cbf545a18dafb46b9c | [
"BSD-3-Clause"
] | 2 | 2016-03-10T09:16:39.000Z | 2020-08-18T12:33:02.000Z | oauth/models.py | DheerendraRathor/iitb_oauth_py | c06b21acb4f6d09c813bb8cbf545a18dafb46b9c | [
"BSD-3-Clause"
] | null | null | null | oauth/models.py | DheerendraRathor/iitb_oauth_py | c06b21acb4f6d09c813bb8cbf545a18dafb46b9c | [
"BSD-3-Clause"
] | 2 | 2017-06-03T12:48:46.000Z | 2019-08-04T16:51:14.000Z | try:
from django.utils import timezone
except ImportError:
from datetime import datetime as timezone
from django.db import models
from django.contrib.auth.models import User
from .request import Token
class OAuthToken(models.Model):
user = models.OneToOneField(User, related_name='token')
refresh_toke... | 35.944444 | 59 | 0.66306 |
1aaa55873673dd04de88565b01b693f19c066c10 | 2,923 | py | Python | CIM14/CPSM/Equipment/Meas/Discrete.py | MaximeBaudette/PyCIM | d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14 | [
"MIT"
] | 58 | 2015-04-22T10:41:03.000Z | 2022-03-29T16:04:34.000Z | CIM14/CPSM/Equipment/Meas/Discrete.py | MaximeBaudette/PyCIM | d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14 | [
"MIT"
] | 12 | 2015-08-26T03:57:23.000Z | 2020-12-11T20:14:42.000Z | CIM14/CPSM/Equipment/Meas/Discrete.py | MaximeBaudette/PyCIM | d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14 | [
"MIT"
] | 35 | 2015-01-10T12:21:03.000Z | 2020-09-09T08:18:16.000Z | # Copyright (C) 2010-2011 Richard Lincoln
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish... | 44.287879 | 565 | 0.723572 |
f43542add6c4e151895677191e10132b4fcf5dc9 | 296 | cs | C# | OrderPriceCalculator/IHasCharges.cs | robertsundstrom/PointOfSale | 50d3c57a02a0148a44d8929b5aad5cb105fa45cf | [
"MIT"
] | 1 | 2021-07-25T02:29:32.000Z | 2021-07-25T02:29:32.000Z | OrderPriceCalculator/IHasCharges.cs | robertsundstrom/PointOfSale | 50d3c57a02a0148a44d8929b5aad5cb105fa45cf | [
"MIT"
] | null | null | null | OrderPriceCalculator/IHasCharges.cs | robertsundstrom/PointOfSale | 50d3c57a02a0148a44d8929b5aad5cb105fa45cf | [
"MIT"
] | 1 | 2022-01-10T06:04:02.000Z | 2022-01-10T06:04:02.000Z | namespace OrderPriceCalculator;
public interface IHasCharges
{
/// <summary>
/// Gets the Charges.
/// </summary>
IEnumerable<ICharge> Charges { get; }
/// <summary>
/// Gets or sets the charged amount.
/// </summary>
decimal? Charge { get; set; }
} | 21.142857 | 42 | 0.574324 |
fd73e0b4a5d4bdf9862c7aa72d0c42448f6c30c4 | 4,120 | css | CSS | calculator/calculator.css | GabrielSSGitb/Front-end-Projects | 1641c7fee9f35501c8da723cc698651f5d6553c0 | [
"MIT"
] | 1 | 2021-11-03T19:43:55.000Z | 2021-11-03T19:43:55.000Z | calculator/calculator.css | GabrielSSGitb/Front-end-Projects | 1641c7fee9f35501c8da723cc698651f5d6553c0 | [
"MIT"
] | null | null | null | calculator/calculator.css | GabrielSSGitb/Front-end-Projects | 1641c7fee9f35501c8da723cc698651f5d6553c0 | [
"MIT"
] | null | null | null | @charset "utf-8";
body {
background-image: linear-gradient(to bottom, black, blue);
background-position: center center;
background-size: 100vh;
background-attachment: fixed;
color: white;
font-family: Arial, Helvetica, sans-serif;
}
#calculatorbox {
margin: auto;
margin-top: 50px;
... | 18.14978 | 63 | 0.600243 |
f8a36a730d569fc1e9c56a691499d9e75136ca41 | 3,794 | dart | Dart | packages/clima_ui/lib/main.dart | shashvat-singham/weather-app | 24f066dd797a95c02277d290c526049c85269592 | [
"Apache-2.0"
] | null | null | null | packages/clima_ui/lib/main.dart | shashvat-singham/weather-app | 24f066dd797a95c02277d290c526049c85269592 | [
"Apache-2.0"
] | null | null | null | packages/clima_ui/lib/main.dart | shashvat-singham/weather-app | 24f066dd797a95c02277d290c526049c85269592 | [
"Apache-2.0"
] | null | null | null | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
import 'package:clima_data/models/dark_theme_model.dart';
import 'package:clima_data/models/theme_model.dart'... | 32.991304 | 78 | 0.67185 |
8b51587a6f07afd336a52fce39fcac39147f2d19 | 718 | rb | Ruby | generators/svg-curve-tmp.rb | krlawrence/SVG | d1b9e79ef9a5503d303ca0576595dbe3fce791ed | [
"Apache-2.0"
] | 1 | 2022-03-12T19:13:17.000Z | 2022-03-12T19:13:17.000Z | generators/svg-curve-tmp.rb | krlawrence/SVG | d1b9e79ef9a5503d303ca0576595dbe3fce791ed | [
"Apache-2.0"
] | null | null | null | generators/svg-curve-tmp.rb | krlawrence/SVG | d1b9e79ef9a5503d303ca0576595dbe3fce791ed | [
"Apache-2.0"
] | null | null | null | require "./SVGTools.rb"
c = SVGTools.new
c.emitHeader(500,500)
points = []
points2 = []
ybase = 300
xbase = 200
-3.step(3,0.1) do |x|
v = 10-Math.sqrt(x*x)*50
y = ybase - v
y2 = ybase + v
points += [xbase+x*50,y]
points2 += [xbase+x*50,y2]
end
c.setStroke("blue")
c.setFill("none")
c.drawPolyLine(points)... | 24.758621 | 194 | 0.607242 |
1d880cf1c19fd5c455b653b831fc1fde678b4933 | 3,180 | sql | SQL | bdtps-master/tp1/Consultas (tp2015)/RegistrosPorTabla.sql | marlanbar/academic-projects | bcdc8ca36b6984ab3f83c10b8a3ed45576ecfca1 | [
"MIT"
] | null | null | null | bdtps-master/tp1/Consultas (tp2015)/RegistrosPorTabla.sql | marlanbar/academic-projects | bcdc8ca36b6984ab3f83c10b8a3ed45576ecfca1 | [
"MIT"
] | null | null | null | bdtps-master/tp1/Consultas (tp2015)/RegistrosPorTabla.sql | marlanbar/academic-projects | bcdc8ca36b6984ab3f83c10b8a3ed45576ecfca1 | [
"MIT"
] | null | null | null | select tabla, registros from(
select count(*) registros ,'acompañante' as tabla from acompañante
union select count(*) registros ,'antecedente' as tabla from antecedente
union select count(*) registros ,'autopista' as tabla from autopista
union select count(*) registros ,'calle' as tabla from calle
union select co... | 70.666667 | 103 | 0.78805 |
a38b02e7e7b5530c4b9338d8cdf5f3b12f65cc77 | 4,901 | ts | TypeScript | src/core/auth/BaseVestingAccount.ts | bitwebs/iq.js | da9ea7ec9ded41455f34447de7f629668ce53977 | [
"MIT"
] | null | null | null | src/core/auth/BaseVestingAccount.ts | bitwebs/iq.js | da9ea7ec9ded41455f34447de7f629668ce53977 | [
"MIT"
] | null | null | null | src/core/auth/BaseVestingAccount.ts | bitwebs/iq.js | da9ea7ec9ded41455f34447de7f629668ce53977 | [
"MIT"
] | null | null | null | import { JSONSerializable } from '../../util/json';
import { Coins } from '../Coins';
import { BaseAccount } from './BaseAccount';
import { BaseAccount as BaseAccount_pb } from '@web4/iq.proto/cosmos/auth/v1beta1/auth';
import { BaseVestingAccount as BaseVestingAccount_pb } from '@web4/iq.proto/cosmos/vesting/v1beta1/v... | 27.227778 | 108 | 0.694552 |
ed1da3a0a2ea090836b8a728bb8404ffae558a88 | 294 | c | C | exercicios/lista-encadeada/soma.c | alexNeto/estrutura-de-dados | b52d50330d6ae0adfa6cac3573e3eff486356244 | [
"MIT"
] | null | null | null | exercicios/lista-encadeada/soma.c | alexNeto/estrutura-de-dados | b52d50330d6ae0adfa6cac3573e3eff486356244 | [
"MIT"
] | null | null | null | exercicios/lista-encadeada/soma.c | alexNeto/estrutura-de-dados | b52d50330d6ae0adfa6cac3573e3eff486356244 | [
"MIT"
] | null | null | null | /*
* SOMA
* Sejam dois números armazenados em listas ligadas com
* cabeça, onde cada conteúdo é um dígito. Os dígitos estão
* armazenados na ordem reversa. Escreva um código que some
* os dois números e retorne uma lista ligada com o resultado.
* Exemplo: 3->1->5 + 5->9->2 = 8->0->8
*/ | 36.75 | 62 | 0.697279 |
15d6e7efe910b9019c62978df61af26da75930b7 | 3,696 | rb | Ruby | app/api/grape_example_app/v1/review.rb | dreamingechoes/grape_example_app | 3d20e812c4fcf06898ae9f9d992ab45f35db5127 | [
"MIT"
] | 13 | 2015-11-19T09:00:06.000Z | 2021-12-19T09:11:22.000Z | app/api/grape_example_app/v1/review.rb | dreamingechoes/grape_example_app | 3d20e812c4fcf06898ae9f9d992ab45f35db5127 | [
"MIT"
] | null | null | null | app/api/grape_example_app/v1/review.rb | dreamingechoes/grape_example_app | 3d20e812c4fcf06898ae9f9d992ab45f35db5127 | [
"MIT"
] | 9 | 2015-10-28T23:31:09.000Z | 2018-10-26T06:49:07.000Z | module GrapeExampleApp
class V1::Review < Grape::API
use Rack::JSONP
helpers do
params :token do
optional :token, type: String, default: nil,
documentation: {
type: 'String',
desc: 'Authenticate token'
}
end
params :attributes do
optional... | 28 | 116 | 0.524351 |
5ade72881639da9a69b2f6000cf46b44b250e9a5 | 673 | cs | C# | src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticator.cs | gimlichael/cuemoncore | 7750a3bd67200924b9cfa4dddccf54c765453c24 | [
"MIT"
] | 11 | 2018-05-30T05:46:59.000Z | 2020-04-30T11:44:57.000Z | src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticator.cs | gimlichael/cuemoncore | 7750a3bd67200924b9cfa4dddccf54c765453c24 | [
"MIT"
] | 4 | 2021-02-28T00:24:26.000Z | 2021-04-01T17:58:20.000Z | src/Cuemon.AspNetCore.Authentication/Digest/DigestAuthenticator.cs | gimlichael/cuemoncore | 7750a3bd67200924b9cfa4dddccf54c765453c24 | [
"MIT"
] | 3 | 2018-08-29T15:19:47.000Z | 2019-10-14T20:47:39.000Z | using System.Security.Claims;
namespace Cuemon.AspNetCore.Authentication.Digest
{
/// <summary>
/// Represents the method that defines an Authenticator typically assigned on <see cref="DigestAuthenticationOptions"/>.
/// </summary>
/// <param name="username">The username to match and lookup the paired... | 56.083333 | 125 | 0.728083 |
17f64dff80a87adbc9d63713dfa85d3640c9d190 | 5,311 | swift | Swift | src/main.swift | gwk/ploy-swift | 9cafa1a96b3d0cd3a7e2fa0df5383a17115e8574 | [
"ISC"
] | null | null | null | src/main.swift | gwk/ploy-swift | 9cafa1a96b3d0cd3a7e2fa0df5383a17115e8574 | [
"ISC"
] | null | null | null | src/main.swift | gwk/ploy-swift | 9cafa1a96b3d0cd3a7e2fa0df5383a17115e8574 | [
"ISC"
] | null | null | null | // Copyright © 2015 George King. Permission to use this file is granted in ploy/license.txt.
import Foundation
let usageMsg = """
Ploy compiler usage:
ploy build -mapper mapper-path lib-src-paths… -main main-src-path -o out-path.
ploy test-types src-type dst-type
"""
let validBuildOpts = Set([
"-mapper",
"-m... | 29.181319 | 107 | 0.672943 |
1a4faebf6fe3269c375f2f316d22294746dc7e95 | 5,501 | py | Python | python/shoes/get_data_by_edge.py | luolongqiang/caffe-luolongqiang | 5ee132e4451a538d97b62039a62a59a69dc43bb9 | [
"BSD-2-Clause"
] | 2 | 2017-03-23T04:19:31.000Z | 2019-07-05T02:31:04.000Z | python/shoes/get_data_by_edge.py | luolongqiang/caffe-luolongqiang | 5ee132e4451a538d97b62039a62a59a69dc43bb9 | [
"BSD-2-Clause"
] | null | null | null | python/shoes/get_data_by_edge.py | luolongqiang/caffe-luolongqiang | 5ee132e4451a538d97b62039a62a59a69dc43bb9 | [
"BSD-2-Clause"
] | 1 | 2018-10-11T06:07:19.000Z | 2018-10-11T06:07:19.000Z | # -*- coding:UTF-8 -*-
import numpy as np
from numpy import array
from PIL import Image
from multiprocessing import Pool
import os, sys, argparse, time, cv2, shutil, random
# python python/shoes/get_data_by_edge.py -i data/shoes/img3 -b data/shoes/background -o data/shoes
img_dir = 'JPEGImages'
lbs_dir = 'labels'
d... | 36.190789 | 99 | 0.638793 |
a9a1a665a684ec24fa011a7e8dc42dba90337d5b | 174 | sql | SQL | Portal/Binaries/Database/Procedures/GalleryCategory_Set.drop.sql | dsalunga/mPortal | 3c727231e576c4ab0c3ace21cc412a2cf344974a | [
"MIT"
] | 1 | 2018-05-08T21:06:38.000Z | 2018-05-08T21:06:38.000Z | Portal/Binaries/Database/Procedures/GalleryCategory_Set.drop.sql | dsalunga/mPortal | 3c727231e576c4ab0c3ace21cc412a2cf344974a | [
"MIT"
] | null | null | null | Portal/Binaries/Database/Procedures/GalleryCategory_Set.drop.sql | dsalunga/mPortal | 3c727231e576c4ab0c3ace21cc412a2cf344974a | [
"MIT"
] | 3 | 2017-12-19T17:51:25.000Z | 2022-02-02T03:45:43.000Z |
if exists (select * from dbo.sysobjects where id = object_id(N'[GalleryCategory_Set]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [GalleryCategory_Set]
GO
| 24.857143 | 130 | 0.764368 |
92b127495185e9e587a50fc79a809477c95578a4 | 1,452 | c | C | 03_Data Structure/Algorithms/Map/Single-source shortest path/Topo/topo.c | Robert-Stackflow/HUST-Courses | 300752552e7af035b0e5c7663953850c81871242 | [
"MIT"
] | 4 | 2021-11-01T09:27:32.000Z | 2022-03-07T14:24:10.000Z | 03_Data Structure/Algorithms/Map/Single-source shortest path/Topo/topo.c | Robert-Stackflow/HUST-Courses | 300752552e7af035b0e5c7663953850c81871242 | [
"MIT"
] | null | null | null | 03_Data Structure/Algorithms/Map/Single-source shortest path/Topo/topo.c | Robert-Stackflow/HUST-Courses | 300752552e7af035b0e5c7663953850c81871242 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#define STACKSIZE 100
#include "map.h"
int sp=-1;
int stack[STACKSIZE];
int empty(void){
return sp==-1;
}
void push(int new){
stack[++sp]=new;
}
int pop(void){
return stack[sp--];
}
int top(void){
return stack[sp];
}
void DFS_connect(struct Graph *map,in... | 19.36 | 64 | 0.661157 |
5bc74d69d961579cc89c881c62435c5260c7e067 | 518 | css | CSS | website/public/styles/shell_small.css | fullwebdev/fullwebdev | 34afaa07d3f8b55abb691cb11f6a1f19a0eecf5d | [
"MIT"
] | 11 | 2020-07-22T22:08:14.000Z | 2021-11-12T07:01:04.000Z | website/public/styles/shell_small.css | fullwebdev/fullwebdev | 34afaa07d3f8b55abb691cb11f6a1f19a0eecf5d | [
"MIT"
] | 75 | 2020-08-01T14:59:09.000Z | 2022-03-02T16:09:47.000Z | website/public/styles/shell_small.css | fullwebdev/fullwebdev | 34afaa07d3f8b55abb691cb11f6a1f19a0eecf5d | [
"MIT"
] | 4 | 2020-05-27T10:36:38.000Z | 2021-10-17T04:23:52.000Z | /*#region globals*/
/*#endregion globals*/
/*#region navbar */
#main-header {
box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
0 2px 6px 2px rgba(60, 64, 67, 0.15);
}
#main-header .row {
height: 64px;
justify-content: space-between;
}
#main-header .navigation {
display: none;
}
#header__language-switch {... | 14 | 48 | 0.644788 |
1a49fdf71595ced30cdb991b300a6613a3292390 | 12,118 | py | Python | projects/pass-manager-tkinter-encrypted/scripts/ui.py | srakhe/pass-manager-py | b67068d111c2d2d8f5bac1021e782a34f02061b9 | [
"MIT"
] | null | null | null | projects/pass-manager-tkinter-encrypted/scripts/ui.py | srakhe/pass-manager-py | b67068d111c2d2d8f5bac1021e782a34f02061b9 | [
"MIT"
] | null | null | null | projects/pass-manager-tkinter-encrypted/scripts/ui.py | srakhe/pass-manager-py | b67068d111c2d2d8f5bac1021e782a34f02061b9 | [
"MIT"
] | null | null | null | from tkinter import *
from tkinter import messagebox
from scripts import data_manager
from scripts import password_generator
import pyperclip
BACKGROUND_COLOUR = '#495664'
FOREGROUND_COLOUR = '#f6f7d3'
DARK_TEXT_COLOUR = '#333c4a'
class UI:
def __init__(self):
# Init objects
self.data_manager_ob... | 52.686957 | 120 | 0.63971 |
0df32adfefcb91aa84b30b396c1d2cc27ea86e72 | 85 | cs | C# | TGK-RPG/Assets/Scripts/Item/Sub-Class/Equipment/Attribute/EquipmentAttribute.cs | hitnoodle/TGK-RPG | 9f8bd59935b17f3226ca02660b2c16108793a5d5 | [
"MIT"
] | 2 | 2018-08-14T01:40:46.000Z | 2020-04-08T17:44:19.000Z | TGK-RPG/TGK-RPG/Assets/Scripts/Item/Sub-Class/Equipment/Attribute/EquipmentAttribute.cs | hitnoodle/TGK-RPG | 9f8bd59935b17f3226ca02660b2c16108793a5d5 | [
"MIT"
] | null | null | null | TGK-RPG/TGK-RPG/Assets/Scripts/Item/Sub-Class/Equipment/Attribute/EquipmentAttribute.cs | hitnoodle/TGK-RPG | 9f8bd59935b17f3226ca02660b2c16108793a5d5 | [
"MIT"
] | 2 | 2018-09-05T09:58:19.000Z | 2020-04-08T17:44:47.000Z | using UnityEngine;
using System.Collections;
public class EquipmentAttribute {
}
| 10.625 | 33 | 0.788235 |
dc0907f2257525eb8ba87823423a0c0e04ff515a | 1,050 | lua | Lua | tests/libOk.lua | burn/baby | 480910e72f6d1a15e208458c0706320cbb433c8c | [
"BSD-2-Clause"
] | null | null | null | tests/libOk.lua | burn/baby | 480910e72f6d1a15e208458c0706320cbb433c8c | [
"BSD-2-Clause"
] | 4 | 2018-07-10T03:48:57.000Z | 2018-07-13T23:08:51.000Z | tests/libOk.lua | burn/src | 480910e72f6d1a15e208458c0706320cbb433c8c | [
"BSD-2-Clause"
] | null | null | null | local ok=require("test").ok
local lib=require "lib"
ok { interpolate = function ()
assert(lib.interpolate(0, {1,2,4}, {10,20,40}) == 10)
assert(lib.interpolate(8, {1,2,4}, {10,20,40}) == 40)
assert(lib.interpolate(3, {1,2,4}, {10,20,40}) == 30)
end}
ok { shuffle = function()
local t= {}
lib.rseed(1)
... | 22.826087 | 62 | 0.535238 |
e00cf882a203d8b70d9ca347f254c3a3de4ebc6f | 2,105 | h | C | src/tree_ai_player.h | fizixx/tic-tac-ai | 131a7bee30be0a80232bfd6fdaf9da0cb0a6138b | [
"0BSD"
] | null | null | null | src/tree_ai_player.h | fizixx/tic-tac-ai | 131a7bee30be0a80232bfd6fdaf9da0cb0a6138b | [
"0BSD"
] | null | null | null | src/tree_ai_player.h | fizixx/tic-tac-ai | 131a7bee30be0a80232bfd6fdaf9da0cb0a6138b | [
"0BSD"
] | null | null | null | // Copyright (c) 2015, Tiaan Louw
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ... | 33.412698 | 80 | 0.739192 |
a10a1b31a548becc24183386fb5e1708703f6be5 | 149 | tsx | TypeScript | src/mailto/nls/Mailto.tsx | redaktor/widgets-preview | f15ba9ad3ac7761758849925d6dddf1e65c6218a | [
"MIT"
] | 3 | 2020-09-02T06:00:40.000Z | 2021-12-18T15:54:09.000Z | src/mailto/nls/Mailto.tsx | redaktor/widgets-preview | f15ba9ad3ac7761758849925d6dddf1e65c6218a | [
"MIT"
] | 1 | 2020-08-28T15:50:09.000Z | 2020-08-28T15:50:09.000Z | src/mailto/nls/Mailto.tsx | redaktor/widgets-preview | f15ba9ad3ac7761758849925d6dddf1e65c6218a | [
"MIT"
] | null | null | null | const locales = {
de: () => import('./de/Mailto')
};
const messages = {
title: `Send an email to {name}`
};
export default { locales, messages };
| 16.555556 | 37 | 0.610738 |
f4574c4a46699d461e0c4b26ec847ecf328e677a | 253 | kt | Kotlin | player/src/main/java/com/tomasznajda/pulpfiction/event/player/PlayerEvent.kt | tomasznajda/pulpfiction | 43b4db0659929cff71018be9109eb2f3ff10dbfa | [
"Apache-2.0"
] | 4 | 2018-07-26T07:41:56.000Z | 2019-06-03T21:36:37.000Z | player/src/main/java/com/tomasznajda/pulpfiction/event/player/PlayerEvent.kt | tomasznajda/pulpfiction | 43b4db0659929cff71018be9109eb2f3ff10dbfa | [
"Apache-2.0"
] | null | null | null | player/src/main/java/com/tomasznajda/pulpfiction/event/player/PlayerEvent.kt | tomasznajda/pulpfiction | 43b4db0659929cff71018be9109eb2f3ff10dbfa | [
"Apache-2.0"
] | 1 | 2019-01-20T20:46:45.000Z | 2019-01-20T20:46:45.000Z | package com.tomasznajda.pulpfiction.event.player
import com.tomasznajda.pulpfiction.entity.PlayerState
sealed class PlayerEvent
data class PlayerInfo(val state: PlayerState) : PlayerEvent()
data class PlayerError(val error: Throwable) : PlayerEvent() | 31.625 | 61 | 0.83004 |
beeaeb90dfde876120e3ea63e8de99d806a8ed9d | 629 | ts | TypeScript | src/app/gif.service.ts | Joeehab12/giphy-client | 197f3ec211ab1ba160406fc75c446ddb3fe98dd6 | [
"MIT"
] | null | null | null | src/app/gif.service.ts | Joeehab12/giphy-client | 197f3ec211ab1ba160406fc75c446ddb3fe98dd6 | [
"MIT"
] | null | null | null | src/app/gif.service.ts | Joeehab12/giphy-client | 197f3ec211ab1ba160406fc75c446ddb3fe98dd6 | [
"MIT"
] | null | null | null | import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
@Injectable({
providedIn: 'root'
})
export class GIFService {
constructor(private http:HttpClient) { }
getGIFData(){
return this.http.get('https://api.giphy.com/v1/gifs/random?api_key=b9NHChW9WIKiKRQQR8zniLH35Csi4... | 29.952381 | 125 | 0.72655 |
dbda67a88bf72cb3e8da4bcbd2c4be46f7a687b7 | 1,723 | php | PHP | tests/ClientTest.php | imfurman/php-fcm | 4924cadd467d46ea281c6f2b4335b59023af8b7e | [
"MIT"
] | 209 | 2016-05-26T10:32:38.000Z | 2022-03-28T02:54:28.000Z | tests/ClientTest.php | imfurman/php-fcm | 4924cadd467d46ea281c6f2b4335b59023af8b7e | [
"MIT"
] | 37 | 2016-06-13T17:11:32.000Z | 2022-01-13T05:00:37.000Z | tests/ClientTest.php | imfurman/php-fcm | 4924cadd467d46ea281c6f2b4335b59023af8b7e | [
"MIT"
] | 85 | 2016-05-31T15:01:59.000Z | 2022-02-26T14:11:49.000Z | <?php
namespace paragraph1\phpFCM\Tests;
use paragraph1\phpFCM\Client;
use paragraph1\phpFCM\Recipient\Topic;
use paragraph1\phpFCM\Message;
use GuzzleHttp;
use GuzzleHttp\Psr7\Response;
class ClientTest extends PhpFcmTestCase
{
private $fixture;
protected function setUp()
{
parent::setUp();
... | 28.245902 | 130 | 0.597795 |
5ef5eb2a0e8f68bd249f8dcd272d76b5f57316ee | 9,119 | php | PHP | application/views/content/asisten.php | CynthiaBudiono/praktikum_ukp | 08347473ace0efbf460c92db37c48121204f5dd4 | [
"MIT"
] | null | null | null | application/views/content/asisten.php | CynthiaBudiono/praktikum_ukp | 08347473ace0efbf460c92db37c48121204f5dd4 | [
"MIT"
] | null | null | null | application/views/content/asisten.php | CynthiaBudiono/praktikum_ukp | 08347473ace0efbf460c92db37c48121204f5dd4 | [
"MIT"
] | null | null | null | <!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h3><?= isset($title) ? $title : "-" ?> <small>Informatika</small></h3>
</div>
</div>
<div class="clearfix"></div>
<div... | 49.559783 | 285 | 0.354534 |
5456d5d3efdedc624ac6e7f2df77b5ad50d5421e | 835 | swift | Swift | MetabolicCompass/DataSources/ChartCollectionDelegate.swift | yanif/circator | d4293dffe8f8b3931478aa521ffb43b7164967b4 | [
"Apache-2.0"
] | 3 | 2016-10-06T01:06:58.000Z | 2017-09-08T14:08:01.000Z | MetabolicCompass/DataSources/ChartCollectionDelegate.swift | yanif/circator | d4293dffe8f8b3931478aa521ffb43b7164967b4 | [
"Apache-2.0"
] | 53 | 2016-02-29T19:18:16.000Z | 2016-07-02T07:20:51.000Z | MetabolicCompass/DataSources/ChartCollectionDelegate.swift | twoolf/circator | d4293dffe8f8b3931478aa521ffb43b7164967b4 | [
"Apache-2.0"
] | 2 | 2016-04-18T13:15:51.000Z | 2016-08-03T17:27:58.000Z | //
// ChartCollectionDelegate.swift
// ChartsMC
//
// Created by Artem Usachov on 6/1/16.
// Copyright © 2016 SROST. All rights reserved.
//
import Foundation
import UIKit
class ChartCollectionDelegate: NSObject, UICollectionViewDelegateFlowLayout, UICollectionViewDelegate {
func collectionView(collectionView... | 34.791667 | 169 | 0.759281 |
216fa994733480ac2a3932f4c1abee139e323e0a | 544 | js | JavaScript | tests/helpers/in_array.spec.js | GoGoCarl/chrome-wakatime | d315551e4c0c041c2f7b900ec7e9931e28ad0d72 | [
"BSD-3-Clause"
] | 2 | 2021-09-26T07:31:03.000Z | 2022-01-09T10:44:44.000Z | tests/helpers/in_array.spec.js | GoGoCarl/chrome-wakatime | d315551e4c0c041c2f7b900ec7e9931e28ad0d72 | [
"BSD-3-Clause"
] | null | null | null | tests/helpers/in_array.spec.js | GoGoCarl/chrome-wakatime | d315551e4c0c041c2f7b900ec7e9931e28ad0d72 | [
"BSD-3-Clause"
] | 1 | 2017-10-17T16:06:32.000Z | 2017-10-17T16:06:32.000Z | var chai = require('chai');
var expect = chai.expect;
//import in_array from '../../assets/js/helpers/in_array';
describe('in_array', function() {
it('should be a function', function() {
expect(in_array).to.be.a('function');
});
it('should find the needle and return true', function() {
ex... | 30.222222 | 76 | 0.575368 |
8c2ecffa9446ba1b53d5e50f27f719e00892dce0 | 2,266 | swift | Swift | Tests/XcodeProjTests/Workspace/XCWorkspaceDataElementTests.swift | nicktrienensfuzz/XcodeProj | 1cb1b7db3cd16decf1b87b0ab68532df0fbe2d66 | [
"MIT"
] | 619 | 2019-08-04T16:50:50.000Z | 2022-03-31T16:42:52.000Z | Tests/XcodeProjTests/Workspace/XCWorkspaceDataElementTests.swift | nicktrienensfuzz/XcodeProj | 1cb1b7db3cd16decf1b87b0ab68532df0fbe2d66 | [
"MIT"
] | 187 | 2018-07-28T15:36:59.000Z | 2019-08-01T06:19:07.000Z | Tests/XcodeProjTests/Workspace/XCWorkspaceDataElementTests.swift | nicktrienensfuzz/XcodeProj | 1cb1b7db3cd16decf1b87b0ab68532df0fbe2d66 | [
"MIT"
] | 135 | 2019-08-04T21:32:35.000Z | 2022-03-31T13:18:53.000Z | import Foundation
import PathKit
import XcodeProj
import XCTest
final class XCWorkspaceDataElementTests: XCTestCase {
func test_location_when_group() {
let location: XCWorkspaceDataElementLocationType = .absolute("/path/to/group")
let group = XCWorkspaceDataGroup(location: location,
... | 38.40678 | 95 | 0.651809 |
c67f16fcf8196185a33ef08c6f5f365f5fc2c4ae | 2,281 | css | CSS | src/main/webapp/WEB-INF/static/css/site-style.css | ipelovski/emsbd | e1b1efdb4d00bf0b8de4326ccd435f441ef2eb2a | [
"MIT"
] | null | null | null | src/main/webapp/WEB-INF/static/css/site-style.css | ipelovski/emsbd | e1b1efdb4d00bf0b8de4326ccd435f441ef2eb2a | [
"MIT"
] | null | null | null | src/main/webapp/WEB-INF/static/css/site-style.css | ipelovski/emsbd | e1b1efdb4d00bf0b8de4326ccd435f441ef2eb2a | [
"MIT"
] | null | null | null | body {
background-color: lightgoldenrodyellow;
color: darkgreen;
font-family: sans-serif;
margin: 0;
}
.header {
position: fixed;
width: 100%;
margin: 0;
padding: 0;
top: 0;
left: 0;
right: 0;
background-color: lightgoldenrodyellow;
}
.content {
background-color: beig... | 19.330508 | 54 | 0.625164 |
a37f466f2f3bdd7784714c8f3490baae8ffab8aa | 480 | java | Java | src_6/org/benf/cfr/tests/LoopTest26.java | Marcono1234/cfr_tests | f043e01f14efb987a2f6b6a3c656c9d5f67635bd | [
"MIT"
] | 8 | 2019-06-05T11:02:56.000Z | 2021-04-25T01:41:18.000Z | src_6/org/benf/cfr/tests/LoopTest26.java | Marcono1234/cfr_tests | f043e01f14efb987a2f6b6a3c656c9d5f67635bd | [
"MIT"
] | 9 | 2019-08-22T12:32:13.000Z | 2022-02-24T07:09:24.000Z | src_6/org/benf/cfr/tests/LoopTest26.java | Marcono1234/cfr_tests | f043e01f14efb987a2f6b6a3c656c9d5f67635bd | [
"MIT"
] | 5 | 2020-02-01T01:51:23.000Z | 2022-02-22T15:01:33.000Z | package org.benf.cfr.tests;
import java.util.Iterator;
import java.util.List;
public class LoopTest26 {
public boolean cannotMoveIteratorVariableDeclaration(List<Integer> l2) {
Iterator<Integer> i$ = l2.iterator();
while (i$.hasNext()) {
final Integer i2 = i$.next();
Syste... | 21.818182 | 76 | 0.535417 |
3b8b143ca592db17f7f9e151ef0eb2b9fff9709d | 19,325 | sql | SQL | src/test/resources/data.sql | LimNoah/backend | ffa15625ee33112c161737ff104e3ef0afd57f71 | [
"MIT"
] | null | null | null | src/test/resources/data.sql | LimNoah/backend | ffa15625ee33112c161737ff104e3ef0afd57f71 | [
"MIT"
] | null | null | null | src/test/resources/data.sql | LimNoah/backend | ffa15625ee33112c161737ff104e3ef0afd57f71 | [
"MIT"
] | null | null | null | -- board
insert into board (board_id, cnt, content, regdate, title, writer) values(
null,
7093,
... | 55.372493 | 212 | 0.427633 |
38b434087ed66e7e7e97c28844383fcd0c93e5b2 | 1,342 | php | PHP | app/Http/Controllers/API/StoresController.php | loinp58/wabi-BE | 357bf0489d4bae00a2402f24b058521b8ca5f573 | [
"MIT"
] | null | null | null | app/Http/Controllers/API/StoresController.php | loinp58/wabi-BE | 357bf0489d4bae00a2402f24b058521b8ca5f573 | [
"MIT"
] | null | null | null | app/Http/Controllers/API/StoresController.php | loinp58/wabi-BE | 357bf0489d4bae00a2402f24b058521b8ca5f573 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\API;
use App\Models\Store;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class StoresController extends Controller
{
public function index(Request $request)
{
try {
$filter = null;
$keyword = '';
$type = 0;
... | 25.807692 | 71 | 0.455291 |
893d38b15d1a831d077ff14833113d88e0c6e0ef | 35,250 | psm1 | PowerShell | Libraries/HyperV.psm1 | stevecui/trp_sriov_lisav2 | f8795ebbb0f029b83f1f5e17d437c7ea4783544f | [
"Apache-2.0"
] | 1 | 2019-01-28T01:44:58.000Z | 2019-01-28T01:44:58.000Z | Libraries/HyperV.psm1 | stevecui/trp_sriov_lisav2 | f8795ebbb0f029b83f1f5e17d437c7ea4783544f | [
"Apache-2.0"
] | null | null | null | Libraries/HyperV.psm1 | stevecui/trp_sriov_lisav2 | f8795ebbb0f029b83f1f5e17d437c7ea4783544f | [
"Apache-2.0"
] | null | null | null | ##############################################################################################
# HyperV.psm1
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the Apache License.
# Operations :
#
<#
.SYNOPSIS
Required for Hyper-V test execution.
.PARAMETER
<Parameters>
... | 41.421857 | 278 | 0.524028 |
147e6f8237ed38570c5c452b7e7975f23a48e773 | 4,171 | ts | TypeScript | server/api/quote/quote.controller.ts | Artimatic/robinhood-merchant | d83af39ad2fc1e4b0585165e8a687a9d755052df | [
"MIT"
] | 13 | 2019-11-22T13:46:28.000Z | 2022-01-13T06:42:01.000Z | server/api/quote/quote.controller.ts | Artimatic/Robinhood-Station-App | d83af39ad2fc1e4b0585165e8a687a9d755052df | [
"MIT"
] | 13 | 2020-12-26T03:02:58.000Z | 2022-03-02T02:19:11.000Z | server/api/quote/quote.controller.ts | Artimatic/Robinhood-Station-App | d83af39ad2fc1e4b0585165e8a687a9d755052df | [
"MIT"
] | 9 | 2019-12-21T02:51:26.000Z | 2022-01-13T06:42:02.000Z | import * as _ from 'lodash';
import * as Boom from 'boom';
import BaseController from '../templates/base.controller';
import QuoteService from './quote.service';
class QuoteController extends BaseController {
constructor() {
super();
}
getQuote(request, response) {
if (_.isEmpty(request.body)) {
... | 37.918182 | 97 | 0.691681 |
c38b900f629bbcad5f4af72e58b93175260079dd | 931 | cs | C# | src/GoogleMapsServices.Client/DistanceMatrixElementStatus.cs | Jonathan-Hickey/GoogleMapsServices | f83335b0282eec3b49227e7e19c06c31ad241a13 | [
"MIT"
] | null | null | null | src/GoogleMapsServices.Client/DistanceMatrixElementStatus.cs | Jonathan-Hickey/GoogleMapsServices | f83335b0282eec3b49227e7e19c06c31ad241a13 | [
"MIT"
] | null | null | null | src/GoogleMapsServices.Client/DistanceMatrixElementStatus.cs | Jonathan-Hickey/GoogleMapsServices | f83335b0282eec3b49227e7e19c06c31ad241a13 | [
"MIT"
] | null | null | null | namespace GoogleMapsServices.Client;
/// <summary>- `OK` indicates the response contains a valid result.
/// - `NOT_FOUND` indicates that the origin and/or destination of this pairing could not be geocoded.
/// - `ZERO_RESULTS` indicates no route could be found between the origin and destination.
/// - `MAX_ROUTE_LEN... | 40.478261 | 101 | 0.740064 |
a467fa7cd9f1f3336bc5d8d7895c4c7931c003da | 377 | php | PHP | home/connect-DB.php | sjkady/kadyszewski.com | 0bf4dedfa44d8d95e1062dccb1773d86d5cb80b2 | [
"MIT"
] | null | null | null | home/connect-DB.php | sjkady/kadyszewski.com | 0bf4dedfa44d8d95e1062dccb1773d86d5cb80b2 | [
"MIT"
] | null | null | null | home/connect-DB.php | sjkady/kadyszewski.com | 0bf4dedfa44d8d95e1062dccb1773d86d5cb80b2 | [
"MIT"
] | null | null | null | <?php
/*
CONNECT-DB.PHP
PHP to connect to your database
*/
$server = 'localhost';
$user = 'kadyszew_blogdb';
$pass = '9P]3PR(S7O';
$db = 'kadyszew_blogdb';
$con = mysql_connect($server, $user, $pass);
if (!$con) {
die('Could not connect: ' . mysql_error());
}
$db_selected = mysql_select_db($db);
if (!$db_selecte... | 18.85 | 47 | 0.618037 |
1b3df79419714b18b7372c6c1e3922bc2b796508 | 742 | rb | Ruby | rovers_team_interface.rb | Zeaneth/checkr-mars-rovers | ec7e21c4a33fb88863a53e69c71b2c298929a28a | [
"MIT"
] | null | null | null | rovers_team_interface.rb | Zeaneth/checkr-mars-rovers | ec7e21c4a33fb88863a53e69c71b2c298929a28a | [
"MIT"
] | null | null | null | rovers_team_interface.rb | Zeaneth/checkr-mars-rovers | ec7e21c4a33fb88863a53e69c71b2c298929a28a | [
"MIT"
] | null | null | null | require './rovers_team'
puts 'Hello there!'
puts "This script will let you start running the 'Mars Rovers' code challenge"
puts 'If you have a test text file of your choice, then write its file_path on the next line:'
puts '>>'
file_path = gets.chomp
puts "It seems you didn't add a text file, so we'll use the default ... | 30.916667 | 97 | 0.735849 |
af55a1a8b19f31f4ad13ee9d7c91c4576a437ec3 | 4,409 | py | Python | src/cons/stop_with_multi_road_names.py | alex-baciu-dft/Open_NaPTAN | abbb3e162f2638099f5050f51d81099f5a0a72a9 | [
"MIT"
] | 24 | 2020-07-02T12:08:39.000Z | 2021-05-12T12:07:32.000Z | src/cons/stop_with_multi_road_names.py | alex-baciu-dft/Open_NaPTAN | abbb3e162f2638099f5050f51d81099f5a0a72a9 | [
"MIT"
] | 11 | 2020-11-04T12:14:15.000Z | 2022-03-12T00:38:36.000Z | src/cons/stop_with_multi_road_names.py | alex-baciu-dft/Open_NaPTAN | abbb3e162f2638099f5050f51d81099f5a0a72a9 | [
"MIT"
] | 7 | 2020-07-03T09:32:11.000Z | 2021-07-23T18:53:09.000Z | import pandas as pd
from report import reporting as rep
from checks import NaptanCheck
# %%
class MultiRoadName(NaptanCheck):
"""[summary] A collection of methods to check that the roads names contain
the correct types and collection of words.
Args:
NaptanCheck ([type]): [description]
Retu... | 38.675439 | 86 | 0.533454 |
1b5c3b152f5387d0af61e2657af5ca243cc50288 | 1,239 | cs | C# | 5. AssociativeArrays/AssociativeArraysEx/Courses/Program.cs | KirilRogachev/C- | 6438395e05c40c9b6446c29d37cbda4cfe199faa | [
"MIT"
] | null | null | null | 5. AssociativeArrays/AssociativeArraysEx/Courses/Program.cs | KirilRogachev/C- | 6438395e05c40c9b6446c29d37cbda4cfe199faa | [
"MIT"
] | null | null | null | 5. AssociativeArrays/AssociativeArraysEx/Courses/Program.cs | KirilRogachev/C- | 6438395e05c40c9b6446c29d37cbda4cfe199faa | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
namespace Courses
{
class Program
{
static void Main(string[] args)
{
string input = "";
var cName = new Dictionary<string, List<string>>();
while ((input = Console.ReadLine()) != "end")
... | 26.934783 | 69 | 0.430993 |
7f69a09a9efa6acdc52caca43e57b97a853d75a6 | 797 | php | PHP | database/seeds/CommentsTableSeeder.php | vbsantos/laravel-fundamentals-course | 94eeb472865dd29459d2d442002a46b9a12858fa | [
"MIT"
] | null | null | null | database/seeds/CommentsTableSeeder.php | vbsantos/laravel-fundamentals-course | 94eeb472865dd29459d2d442002a46b9a12858fa | [
"MIT"
] | 3 | 2021-02-02T20:25:23.000Z | 2021-10-06T19:49:26.000Z | database/seeds/CommentsTableSeeder.php | vbsantos/laravel-fundamentals-course | 94eeb472865dd29459d2d442002a46b9a12858fa | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Seeder;
class CommentsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$posts = App\BlogPost::all();
if ($posts->count() === 0) {
$this->command->info('There are no Blog Pos... | 24.90625 | 108 | 0.538269 |
455f478c9acabf6560fb7f36bb147b707d9956c1 | 13,366 | py | Python | detDepthStrawb-prunedYolov4Tiny-plainNN.py | GlowingHorse/depth-yolov4-tiny-tf2-strawberry-git | fc01629ce93799aa639e064662343d4747118c83 | [
"MIT"
] | 1 | 2022-01-05T08:51:26.000Z | 2022-01-05T08:51:26.000Z | detDepthStrawb-prunedYolov4Tiny-plainNN.py | GlowingHorse/depth-yolov4-tiny-tf2-strawberry-git | fc01629ce93799aa639e064662343d4747118c83 | [
"MIT"
] | null | null | null | detDepthStrawb-prunedYolov4Tiny-plainNN.py | GlowingHorse/depth-yolov4-tiny-tf2-strawberry-git | fc01629ce93799aa639e064662343d4747118c83 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
Detect strawberry and label its location in spatial
"""
from pathlib import Path
import sys
import cv2
import depthai as dai
import numpy as np
from utils.yolo_utils import yolo_res
from PIL import ImageFont
import time
from datetime import datetime, timedelta
# tiny yolo v4 label texts
l... | 37.757062 | 126 | 0.624645 |
2884dba86e65f6479b712b4e66f2f40ae0636ff5 | 1,143 | asm | Assembly | programs/oeis/193/A193041.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/193/A193041.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/193/A193041.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A193041: Coefficient of x in the reduction by x^2->x+1 of the polynomial p(n,x) defined at Comments.
; 0,1,3,13,44,122,292,631,1267,2411,4408,7820,13560,23109,38867,64721,106964,175782,287660,469275,763795,1241071,2014128,3265848,5292144,8571817,13879587,22468981,36368252,58859186,95251828,154138015
mov $17,$0
mov $... | 18.737705 | 199 | 0.468941 |
643ba60ff0d5a117567a7fdda6d3cc8d966d2bfb | 3,611 | py | Python | backend/webapp/api/orders_serializers.py | MarcoLagalla/marette_backend | d01458028da151d6ee583a080b1146792e81f01b | [
"MIT"
] | 1 | 2020-06-26T14:34:03.000Z | 2020-06-26T14:34:03.000Z | backend/webapp/api/orders_serializers.py | MarcoLagalla/marette_backend | d01458028da151d6ee583a080b1146792e81f01b | [
"MIT"
] | 26 | 2020-06-12T14:36:59.000Z | 2020-07-10T08:39:53.000Z | backend/webapp/api/orders_serializers.py | MarcoLagalla/marette_backend | d01458028da151d6ee583a080b1146792e81f01b | [
"MIT"
] | null | null | null | from rest_framework import serializers
from ..models.orders import Order, OrderMenuEntry, OrderProductEntry
from ..models.models import Customer, Restaurant, Product
from ..models.menu import Menu
class OrderProductSerializer(serializers.ModelSerializer):
class Meta:
model = OrderProductEntry
fie... | 32.827273 | 112 | 0.616727 |
9621326b7d79d09e95f633a8c75d2752da5be9c4 | 1,141 | lua | Lua | Mods ChoGGi/Fix Olympus Hotel Stuck Colonists/metadata.lua | awabast/SurvivingMars_CheatMods | bbb4a906852e0fd6936f3fff4e77265ccdaa9983 | [
"MIT"
] | 1 | 2021-04-07T21:17:25.000Z | 2021-04-07T21:17:25.000Z | Mods ChoGGi/Fix Olympus Hotel Stuck Colonists/metadata.lua | awabast/SurvivingMars_CheatMods | bbb4a906852e0fd6936f3fff4e77265ccdaa9983 | [
"MIT"
] | null | null | null | Mods ChoGGi/Fix Olympus Hotel Stuck Colonists/metadata.lua | awabast/SurvivingMars_CheatMods | bbb4a906852e0fd6936f3fff4e77265ccdaa9983 | [
"MIT"
] | null | null | null | return PlaceObj("ModDef", {
"dependencies", {
PlaceObj("ModDependency", {
"id", "ChoGGi_Library",
"title", "ChoGGi's Library",
"version_major", 9,
"version_minor", 6,
}),
},
"title", "Fix Olympus Hotel Stuck Colonists",
"id", "ChoGGi_FixOlympusHotelStuckColonists",
"steam_id", "2428732491",
"pops_... | 31.694444 | 157 | 0.716915 |
20cf6412f4260879bead0fc1bad11c0a34d2f988 | 3,118 | py | Python | crop_img.py | Weifeng-Chen/tools | 2d436de2af2f437e3c4c009f4cbbc498b8fe86b0 | [
"MIT"
] | 122 | 2021-01-07T08:04:10.000Z | 2022-03-23T08:51:40.000Z | crop_img.py | Weifeng-Chen/tools | 2d436de2af2f437e3c4c009f4cbbc498b8fe86b0 | [
"MIT"
] | 3 | 2021-01-19T02:04:33.000Z | 2022-02-07T09:46:46.000Z | crop_img.py | Weifeng-Chen/tools | 2d436de2af2f437e3c4c009f4cbbc498b8fe86b0 | [
"MIT"
] | 60 | 2021-01-18T06:42:15.000Z | 2022-03-26T17:05:25.000Z | """
yolo格式数据,裁剪图像中心区域,生成一批新数据。
"""
import cv2
import os
from tqdm import tqdm
def plot_bbox(img, gt=None ,line_thickness=None):
# 可视化测试
colorlist = []
# 5^3种颜色。
for i in range(30,256,50):
for j in range(40,256,50):
for k in range(50,256,50):
colorlist.append((i,j,... | 34.644444 | 132 | 0.577935 |
440ca45a4bddc979e7138d3e386fe9d8aaba4fad | 293 | py | Python | global_params.py | Xpitfire/XdA | 3b5e056d4a2c24d1720a484aa6c2471e9636036f | [
"MIT"
] | null | null | null | global_params.py | Xpitfire/XdA | 3b5e056d4a2c24d1720a484aa6c2471e9636036f | [
"MIT"
] | null | null | null | global_params.py | Xpitfire/XdA | 3b5e056d4a2c24d1720a484aa6c2471e9636036f | [
"MIT"
] | null | null | null | class Args(object):
def __init__(self):
self.seed = 0
self.experiment = None
self.network = None
self.approach = None
self.parameter = []
self.taskcla = None
self.comment = None
self.log_dir = None
global args
args = Args()
| 20.928571 | 30 | 0.559727 |
5d52859886d9614157f040a1de9da8c17af91420 | 10,425 | hpp | C++ | third_party/omr/fvtest/compilertest/compile/Method.hpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/fvtest/compilertest/compile/Method.hpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/fvtest/compilertest/compile/Method.hpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2000, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at http://ec... | 46.333333 | 135 | 0.523933 |
cd674526811fa4ba19caf14b48f92d3183498980 | 188 | cs | C# | FabricAdcHub.User/Events/InternalEvent.cs | Caraul/FabricAdcHub | f19952211b63493ba018e9c9c028bfbccf38b38d | [
"MIT"
] | 1 | 2018-09-11T09:51:16.000Z | 2018-09-11T09:51:16.000Z | FabricAdcHub.User/Events/InternalEvent.cs | Caraul/FabricAdcHub | f19952211b63493ba018e9c9c028bfbccf38b38d | [
"MIT"
] | null | null | null | FabricAdcHub.User/Events/InternalEvent.cs | Caraul/FabricAdcHub | f19952211b63493ba018e9c9c028bfbccf38b38d | [
"MIT"
] | null | null | null | namespace FabricAdcHub.User.Events
{
internal enum InternalEvent
{
ClientOpened,
AdcMessageReceived,
ConnectionTimedOut,
DisconnectOccured
}
}
| 17.090909 | 35 | 0.643617 |
7943d1f29a79fd246583fb25792c4fa640f9f051 | 227 | cpp | C++ | practica_4/src/O3DS.cpp | AlbitaMoreno/IG | 5cb330f711c6fa8044e359af5555a90378e32e55 | [
"MIT"
] | null | null | null | practica_4/src/O3DS.cpp | AlbitaMoreno/IG | 5cb330f711c6fa8044e359af5555a90378e32e55 | [
"MIT"
] | null | null | null | practica_4/src/O3DS.cpp | AlbitaMoreno/IG | 5cb330f711c6fa8044e359af5555a90378e32e55 | [
"MIT"
] | null | null | null | #include "O3DS.h"
void O3DS::dibuja_puntos(){
glBegin(GL_POINTS);
glColor3f(0,1,0); // Puntos en verde
for(int i = 0; i < Vertices.size(); i++){
glVertex3f(Vertices[i].x, Vertices[i].y, Vertices[i].z);
}
glEnd();
}
| 17.461538 | 58 | 0.621145 |
6b54751c5cc7aed64d7fc926e2dd987b92819ca1 | 2,080 | js | JavaScript | app/containers/routes_prm.js | undvl/qbproj | 3bfc1c6bfbf4247f7f51f8517a15db332d1d50dd | [
"MIT"
] | null | null | null | app/containers/routes_prm.js | undvl/qbproj | 3bfc1c6bfbf4247f7f51f8517a15db332d1d50dd | [
"MIT"
] | null | null | null | app/containers/routes_prm.js | undvl/qbproj | 3bfc1c6bfbf4247f7f51f8517a15db332d1d50dd | [
"MIT"
] | null | null | null | import NotFound from '../components/NotFound';
import Layout from '../components/Layout';
import Main from './Main';
import PortalContainer from './PortalContainer';
import Board from './Board';
import Rooms from './Rooms';
import JoinPortalReq from './JoinPortalReq';
import Portal from './Portal';
import PortalThe... | 30.588235 | 69 | 0.622596 |
1a61bd5bc6b148086ab84959cb33ffd12946203c | 45,018 | py | Python | sdk/python/pulumi_google_native/datapipelines/v1/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/datapipelines/v1/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/datapipelines/v1/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 47.287815 | 427 | 0.676441 |
f44c33762ba5adefd18e6795eaf004694034beb3 | 463 | ts | TypeScript | lite-version/src/app/+reserva/reserva.routing.ts | Cuica20/TP2_Project_PardosChiken | 25c6ed70d35f5911323fead4baf7a665fedfc831 | [
"Apache-2.0"
] | null | null | null | lite-version/src/app/+reserva/reserva.routing.ts | Cuica20/TP2_Project_PardosChiken | 25c6ed70d35f5911323fead4baf7a665fedfc831 | [
"Apache-2.0"
] | null | null | null | lite-version/src/app/+reserva/reserva.routing.ts | Cuica20/TP2_Project_PardosChiken | 25c6ed70d35f5911323fead4baf7a665fedfc831 | [
"Apache-2.0"
] | null | null | null | /**
* Created by javier on 6/13/17.
*/
import { Routes, RouterModule } from '@angular/router';
import {ModuleWithProviders} from "@angular/core";
import {ReservaComponent} from "./reserva.component";
export const reservaRoutes: Routes = [
{
path: '',
component: ReservaComponent,
data: {
... | 22.047619 | 88 | 0.650108 |
aa3aefb333bafb49755ed313cf25104d38a8c617 | 2,237 | dart | Dart | lib/features/dashboard/domain/entities/payment/status/payment_status.dart | f0rx/amatfoodies | f9d0b4f183d3117a5cd802caabd02fa2c42c3960 | [
"BSD-3-Clause"
] | 4 | 2021-09-24T10:41:04.000Z | 2021-09-24T10:41:06.000Z | lib/features/dashboard/domain/entities/payment/status/payment_status.dart | definitelyme/amatfoodies | bfdff3fd02c9879ae2f16d8f9be78f9612bb87bd | [
"BSD-3-Clause"
] | 2 | 2022-01-01T15:46:17.000Z | 2022-01-01T15:47:05.000Z | lib/features/dashboard/domain/entities/payment/status/payment_status.dart | f0rx/amatfoodies | f9d0b4f183d3117a5cd802caabd02fa2c42c3960 | [
"BSD-3-Clause"
] | null | null | null | library payment_status.dart;
import 'package:built_collection/built_collection.dart';
import 'package:built_value/built_value.dart';
part 'payment_status.g.dart';
class PaymentStatus extends EnumClass {
static const PaymentStatus pending = _$pending;
static const PaymentStatus pay = _$pay;
static const Payment... | 26.951807 | 63 | 0.662047 |
05823dc101e6a51a727b0e0a2fc995ea1feb571b | 6,369 | rs | Rust | impl/src/util.rs | bigkraig/cargo-raze | 209e6258b7dd30c555f1c17e48d108360d5094a9 | [
"Apache-2.0"
] | null | null | null | impl/src/util.rs | bigkraig/cargo-raze | 209e6258b7dd30c555f1c17e48d108360d5094a9 | [
"Apache-2.0"
] | null | null | null | impl/src/util.rs | bigkraig/cargo-raze | 209e6258b7dd30c555f1c17e48d108360d5094a9 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 26.5375 | 92 | 0.614696 |
b0c416db33c045a852fbba1e3e34d743256a594b | 101 | py | Python | captaincloud/processes/task_runner/__init__.py | bpsagar/captaincloud | 7290fbe65f2c758814986f29cb04edccbd3e7f30 | [
"MIT"
] | 1 | 2016-11-09T17:49:09.000Z | 2016-11-09T17:49:09.000Z | captaincloud/processes/task_runner/__init__.py | bpsagar/captaincloud | 7290fbe65f2c758814986f29cb04edccbd3e7f30 | [
"MIT"
] | 3 | 2016-11-09T17:45:51.000Z | 2016-11-14T16:49:09.000Z | captaincloud/processes/task_runner/__init__.py | bpsagar/captaincloud | 7290fbe65f2c758814986f29cb04edccbd3e7f30 | [
"MIT"
] | null | null | null | from .api import TaskRunnerAPI
from .process import TaskRunnerProcess
from .runner import TaskRunner
| 25.25 | 38 | 0.851485 |
af7a2e72cacc3ea9052916a109167109ed620205 | 122,459 | py | Python | hemlock/test_hemlock.py | Lab41/Hemlock | 2c53cfc11bfbe1e4f901b519db578090fe7a17dd | [
"Apache-2.0"
] | 4 | 2015-05-14T18:59:44.000Z | 2017-03-09T12:49:36.000Z | hemlock/test_hemlock.py | Lab41/Hemlock | 2c53cfc11bfbe1e4f901b519db578090fe7a17dd | [
"Apache-2.0"
] | null | null | null | hemlock/test_hemlock.py | Lab41/Hemlock | 2c53cfc11bfbe1e4f901b519db578090fe7a17dd | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#
# Copyright (c) 2013 In-Q-Tel, Inc/Lab41, 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... | 52.444968 | 402 | 0.598233 |
54a860b4643da8c7d2c5a7db36924cc804edb8c0 | 493 | sql | SQL | src/FlatMate.Web/_Migrations/2017-06-17_14-43-33_fix_itemlistfavorite_foreignkey.sql | prayzzz/FlatMate-v2 | 3486507e5a613bf944e7dd056bda47bf84f37ed8 | [
"MIT"
] | null | null | null | src/FlatMate.Web/_Migrations/2017-06-17_14-43-33_fix_itemlistfavorite_foreignkey.sql | prayzzz/FlatMate-v2 | 3486507e5a613bf944e7dd056bda47bf84f37ed8 | [
"MIT"
] | 7 | 2019-06-26T15:38:03.000Z | 2021-05-08T04:38:43.000Z | src/FlatMate.Web/_Migrations/2017-06-17_14-43-33_fix_itemlistfavorite_foreignkey.sql | prayzzz/FlatMate-v2 | 3486507e5a613bf944e7dd056bda47bf84f37ed8 | [
"MIT"
] | null | null | null | --
-- Script
--
ALTER TABLE [List].[ItemListFavorite] DROP CONSTRAINT [FK_ItemListFavorite_Item]
GO
ALTER TABLE [List].[ItemListFavorite] WITH CHECK ADD CONSTRAINT [FK_ItemListFavorite_ItemList] FOREIGN KEY([ItemListId])
REFERENCES [List].ItemList ([Id])
GO
ALTER TABLE [List].[ItemListFavorite] CHECK CONSTRAINT [F... | 23.47619 | 122 | 0.772819 |
8ec165e4f61c8e9abe42311a04dba753bcc6a0eb | 963 | dart | Dart | lib/src/generated/storekit/SKDownloadInternal.dart | rodydavis/cupertino_ffi_generated | 4d59f68921a5ae1ba58831c9de83ea0d7979148f | [
"MIT"
] | 2 | 2021-05-10T01:24:08.000Z | 2021-12-13T10:24:41.000Z | lib/src/generated/storekit/SKDownloadInternal.dart | rodydavis/cupertino_ffi_generated | 4d59f68921a5ae1ba58831c9de83ea0d7979148f | [
"MIT"
] | null | null | null | lib/src/generated/storekit/SKDownloadInternal.dart | rodydavis/cupertino_ffi_generated | 4d59f68921a5ae1ba58831c9de83ea0d7979148f | [
"MIT"
] | null | null | null | // AUTOMATICALLY GENERATED. DO NOT EDIT.
part of cupertino_ffi.storekit;
/// Static methods for Objective-C class `SKDownloadInternal`.
/// See also instance methods in [SKDownloadInternalPointer].
///
/// Find detailed documentation at: [developer.apple.com/documentation/storekit?language=objc](https://developer.app... | 45.857143 | 160 | 0.795431 |
e06a182f188d184b43c11c7c14d62337935da708 | 7,359 | c | C | src/ocs_mgmt_common.c | ecdufcdrvr/ecdufcdrvr | 3cac33376519c8642e28bdd2e4821d0b64c7895a | [
"BSD-3-Clause"
] | 1 | 2019-09-11T22:25:58.000Z | 2019-09-11T22:25:58.000Z | src/ocs_mgmt_common.c | ecdufcdrvr/ecdufcdrvr | 3cac33376519c8642e28bdd2e4821d0b64c7895a | [
"BSD-3-Clause"
] | 1 | 2019-10-18T23:09:27.000Z | 2020-05-08T18:47:36.000Z | src/ocs_mgmt_common.c | ecdufcdrvr/ecdufcdrvr | 3cac33376519c8642e28bdd2e4821d0b64c7895a | [
"BSD-3-Clause"
] | 6 | 2018-06-15T21:09:08.000Z | 2021-12-31T06:18:44.000Z | /*
* Copyright (C) 2020 Broadcom. All Rights Reserved.
* The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
*
* 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 ... | 30.920168 | 99 | 0.721565 |
2f4b845278ee63d2799d4d25f6bfdb65fc2ad16f | 1,421 | js | JavaScript | Drupal/zenlan/js/zenlan-autocomplete1.js | zenlan/snippets | 6e6ced1220664aae4e443b6ed7825b34964e6f60 | [
"MIT"
] | null | null | null | Drupal/zenlan/js/zenlan-autocomplete1.js | zenlan/snippets | 6e6ced1220664aae4e443b6ed7825b34964e6f60 | [
"MIT"
] | null | null | null | Drupal/zenlan/js/zenlan-autocomplete1.js | zenlan/snippets | 6e6ced1220664aae4e443b6ed7825b34964e6f60 | [
"MIT"
] | null | null | null | (function ($) {
$(document).ready(function () {
$('#edit-id').hide();
var api_url = Drupal.settings.zenlan.api_url;
var selected = '';
$("#edit-name").autocomplete({
source: function (request, response) {
var selected = '';
var url = api_url + $.base64.encode(request.term).repla... | 29.604167 | 77 | 0.472203 |
5449b67a7aeb64fd49f5fd26466049b704f400ea | 187 | css | CSS | src/components/layout/logo/styles.css | Acousticdesk/proto-gatsby | 6d15aec7a24d5dfb8a8f5fc3ec3ca8bf47db761f | [
"MIT"
] | null | null | null | src/components/layout/logo/styles.css | Acousticdesk/proto-gatsby | 6d15aec7a24d5dfb8a8f5fc3ec3ca8bf47db761f | [
"MIT"
] | 1 | 2021-09-03T15:17:56.000Z | 2021-09-03T15:17:56.000Z | src/components/layout/logo/styles.css | Acousticdesk/proto-gatsby | 6d15aec7a24d5dfb8a8f5fc3ec3ca8bf47db761f | [
"MIT"
] | null | null | null | .logo {
color: #fff;
font-size: 38px;
line-height: 64px;
margin: 0;
padding: 0;
}
@media screen and (max-width: 768px) {
.logo {
font-size: 24px;
}
}
| 13.357143 | 38 | 0.513369 |
1b08e2462f2c9f25eb53207c9a5b21f21b1621c7 | 1,445 | rb | Ruby | test/scraped/response/decorator_test.rb | everypolitician/scraped_page | 7fd43913456af49d32e882d0cb79f3da1f5117ef | [
"MIT"
] | 11 | 2016-12-31T07:54:11.000Z | 2021-07-19T17:36:48.000Z | test/scraped/response/decorator_test.rb | everypolitician/scraped | 7fd43913456af49d32e882d0cb79f3da1f5117ef | [
"MIT"
] | 70 | 2016-11-21T17:58:07.000Z | 2017-11-19T23:14:56.000Z | test/scraped/response/decorator_test.rb | everypolitician/scraped | 7fd43913456af49d32e882d0cb79f3da1f5117ef | [
"MIT"
] | null | null | null | require 'test_helper'
describe Scraped::Response::Decorator do
class NullDecorator < Scraped::Response::Decorator; end
describe 'with no decorated methods' do
let(:response) do
Scraped::Response.new(
body: 'Hello, world',
url: 'http://example.com'
)
end
let(:new_response)... | 22.578125 | 63 | 0.64083 |
da9ba46ed671caa65f92dedfc192be2466cf80ef | 1,249 | php | PHP | plugins/rainlab/translate/routes.php | Samorai/center-lex | ff7f9f5aca02689e94ac711705d5fdaa60bd4ecf | [
"MIT"
] | null | null | null | plugins/rainlab/translate/routes.php | Samorai/center-lex | ff7f9f5aca02689e94ac711705d5fdaa60bd4ecf | [
"MIT"
] | null | null | null | plugins/rainlab/translate/routes.php | Samorai/center-lex | ff7f9f5aca02689e94ac711705d5fdaa60bd4ecf | [
"MIT"
] | null | null | null | <?php
use RainLab\Translate\Models\Locale;
use RainLab\Translate\Models\Message;
use RainLab\Translate\Classes\Translator;
/*
* Adds a custom route to check for the locale prefix.
*/
App::before(function($request) {
$translator = Translator::instance();
if (!$translator->isConfigured()) {
return;
... | 23.12963 | 90 | 0.589271 |
a378cefc84f99d4b9cdbb71adceeada88dcc4178 | 2,423 | java | Java | truth-android/src/main/java/com/pkware/truth/android/view/KeyCharacterMapSubject.java | erikghonyan/truth-android | b88ff3ba42d79c7719d7508c9bcdfe73e6d1f2fd | [
"Apache-2.0"
] | 12 | 2016-11-24T23:01:55.000Z | 2021-03-29T15:15:57.000Z | truth-android/src/main/java/com/pkware/truth/android/view/KeyCharacterMapSubject.java | erikghonyan/truth-android | b88ff3ba42d79c7719d7508c9bcdfe73e6d1f2fd | [
"Apache-2.0"
] | 11 | 2018-09-26T13:32:25.000Z | 2020-02-18T19:04:42.000Z | truth-android/src/main/java/com/pkware/truth/android/view/KeyCharacterMapSubject.java | erikghonyan/truth-android | b88ff3ba42d79c7719d7508c9bcdfe73e6d1f2fd | [
"Apache-2.0"
] | 3 | 2018-09-22T16:04:14.000Z | 2019-07-02T10:37:49.000Z | /*
* Copyright 2013 Square, Inc.
* Copyright 2016 PKWARE, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 33.652778 | 109 | 0.746595 |