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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b393a2b3796506aefb92e289e70f89cc2e349414 | 147 | rb | Ruby | app/controllers/storefront/products_controller.rb | internetmango/mini_commerce | cd7832ce4967f3603ee8033299ce57eff9554520 | [
"MIT"
] | 1 | 2020-05-14T13:32:25.000Z | 2020-05-14T13:32:25.000Z | app/controllers/storefront/products_controller.rb | internetmango/mini_commerce | cd7832ce4967f3603ee8033299ce57eff9554520 | [
"MIT"
] | 6 | 2021-03-10T18:48:50.000Z | 2022-03-31T01:21:07.000Z | app/controllers/storefront/products_controller.rb | internetmango/mini_commerce | cd7832ce4967f3603ee8033299ce57eff9554520 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module Storefront
class ProductsController < StorefrontController
def index; end
def show; end
end
end
| 14.7 | 49 | 0.755102 |
0bd63fa4b33f6d2a42517c4f81bf7183ddb566c6 | 1,670 | js | JavaScript | Gruntfile.js | mjeanroy/jasmine-backbone | 795c2fde5529a00499a4b7c35f898bc7466550e8 | [
"MIT"
] | 1 | 2015-07-23T22:22:44.000Z | 2015-07-23T22:22:44.000Z | Gruntfile.js | mjeanroy/jasmine-backbone | 795c2fde5529a00499a4b7c35f898bc7466550e8 | [
"MIT"
] | null | null | null | Gruntfile.js | mjeanroy/jasmine-backbone | 795c2fde5529a00499a4b7c35f898bc7466550e8 | [
"MIT"
] | null | null | null | /**
* Grunt build file.
*/
'use strict';
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
karma: {
unit: {
configFile: 'karma.conf.js'
},
unitrjs: {
configFile: 'karma-rjs.conf.js'
... | 19.195402 | 74 | 0.513772 |
2026b70ec029c412a43a08f38413546dd98ff9da | 11,162 | css | CSS | css/grayscale.css | AllanHernan77/AllanHernan77.github.io | ea6f1ff5d3d625fcfd3ccdf1bce128a2b1dde6de | [
"MIT"
] | 1 | 2021-05-13T01:28:08.000Z | 2021-05-13T01:28:08.000Z | css/grayscale.css | AllanHernan77/AllanHernan77.github.io | ea6f1ff5d3d625fcfd3ccdf1bce128a2b1dde6de | [
"MIT"
] | null | null | null | css/grayscale.css | AllanHernan77/AllanHernan77.github.io | ea6f1ff5d3d625fcfd3ccdf1bce128a2b1dde6de | [
"MIT"
] | null | null | null |
body {
max-width: 100%;
overflow-x: hidden;
}
body {
width: 100%;
height: 100%;
font-family: "Lora", "Helvetica Neue", Helvetica, Arial, sans-serif;
-8or: white;
background-color: black;
}
html {
width: 100%;
height: 100%;
}
h2,
h3,
h4,
h5,
h6 {
margin: 0 0 35px;
text-transform: uppercase... | 18.449587 | 90 | 0.639939 |
e96299519104132368b993120cbf1639e35843d4 | 130 | kt | Kotlin | src/main/kotlin/es/dpstudios/boilerplate/security/jwt/AccountCredentials.kt | danybmx/kotlin-springboot-jwt-boilerplate | a1dc3de8a7f4f2b63106e619887fa2945ed7e3a3 | [
"MIT"
] | 2 | 2018-05-20T09:05:25.000Z | 2020-01-05T14:33:27.000Z | src/main/kotlin/es/dpstudios/boilerplate/security/jwt/AccountCredentials.kt | danybmx/kotlin-springboot-jwt-boilerplate | a1dc3de8a7f4f2b63106e619887fa2945ed7e3a3 | [
"MIT"
] | null | null | null | src/main/kotlin/es/dpstudios/boilerplate/security/jwt/AccountCredentials.kt | danybmx/kotlin-springboot-jwt-boilerplate | a1dc3de8a7f4f2b63106e619887fa2945ed7e3a3 | [
"MIT"
] | null | null | null | package es.dpstudios.boilerplate.security.jwt
data class AccountCredentials(val username: String = "", val password: String = "") | 43.333333 | 83 | 0.776923 |
e77200792d6aafa783fd8cb7fd41f6dce3e9a9a1 | 806 | js | JavaScript | src/createAsyncAction/createAsyncAction.js | Jamesford/duxkit | 75c9e5e5b1c0da803ffb8b0241d0d625b9b4a098 | [
"MIT"
] | null | null | null | src/createAsyncAction/createAsyncAction.js | Jamesford/duxkit | 75c9e5e5b1c0da803ffb8b0241d0d625b9b4a098 | [
"MIT"
] | null | null | null | src/createAsyncAction/createAsyncAction.js | Jamesford/duxkit | 75c9e5e5b1c0da803ffb8b0241d0d625b9b4a098 | [
"MIT"
] | null | null | null | import { createAction } from '../createAction/createAction'
export function createAsyncAction(type, asyncAction) {
const pending = createAction(`${type}/pending`)
const fulfilled = createAction(`${type}/fulfilled`)
const rejected = createAction(`${type}/rejected`)
const actionCreator = (arg) => {
return (... | 29.851852 | 59 | 0.668734 |
f054119a93dc6490f9f1ed0ffcd67c66a6b7c4df | 3,701 | js | JavaScript | lib/create-packages-dist/handler.js | blackbaud/skyux-dev-infra-private-builds | 8a02550a152e47c63445b0b263407dc0604ad8fe | [
"MIT"
] | null | null | null | lib/create-packages-dist/handler.js | blackbaud/skyux-dev-infra-private-builds | 8a02550a152e47c63445b0b263407dc0604ad8fe | [
"MIT"
] | null | null | null | lib/create-packages-dist/handler.js | blackbaud/skyux-dev-infra-private-builds | 8a02550a152e47c63445b0b263407dc0604ad8fe | [
"MIT"
] | null | null | null | "use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.createPackagesDist = void 0;
const fs_extra_1 = require("fs-extra");
const path_1 = require("pat... | 46.848101 | 140 | 0.677655 |
3a29bfc5a98723be43aaa01e14cad39805b02f21 | 829 | kt | Kotlin | XClipper.Android/app/common/src/main/java/com/kpstv/xclipper/extensions/RecyclerViewExtensions.kt | awesome-github-repo/XClipper | aec6ad70a3ed7cbb704274dd02cf5f9d2fc11e36 | [
"Apache-2.0"
] | 87 | 2020-05-04T09:43:10.000Z | 2022-03-28T15:32:42.000Z | XClipper.Android/app/common/src/main/java/com/kpstv/xclipper/extensions/RecyclerViewExtensions.kt | awesome-github-repo/XClipper | aec6ad70a3ed7cbb704274dd02cf5f9d2fc11e36 | [
"Apache-2.0"
] | 21 | 2021-09-01T23:54:35.000Z | 2022-03-30T10:41:25.000Z | XClipper.Android/app/common/src/main/java/com/kpstv/xclipper/extensions/RecyclerViewExtensions.kt | awesome-github-repo/XClipper | aec6ad70a3ed7cbb704274dd02cf5f9d2fc11e36 | [
"Apache-2.0"
] | 13 | 2021-07-20T10:03:29.000Z | 2022-03-29T10:50:13.000Z | package com.kpstv.xclipper.extensions
import androidx.annotation.ColorInt
import androidx.core.view.doOnLayout
import androidx.recyclerview.widget.RecyclerView
/**
* Highlight specific item in recyclerview. Setting color to -1 will auto determine
* the lighter & darker versions of the color.
*/
fun RecyclerView.hi... | 33.16 | 96 | 0.691194 |
7aef6afd5d065db6a17a7e96b44373509acc5e39 | 1,339 | rb | Ruby | app/jobs/pull_upcoming_events_job.rb | lunohodov/eventical | ded3964928eeaece6702aff97de50b202e4495ef | [
"MIT"
] | 9 | 2019-05-22T08:16:56.000Z | 2022-02-09T15:40:18.000Z | app/jobs/pull_upcoming_events_job.rb | lunohodov/eventical | ded3964928eeaece6702aff97de50b202e4495ef | [
"MIT"
] | 266 | 2018-12-06T05:55:31.000Z | 2022-03-31T04:53:04.000Z | app/jobs/pull_upcoming_events_job.rb | lunohodov/eventical | ded3964928eeaece6702aff97de50b202e4495ef | [
"MIT"
] | 9 | 2019-05-22T08:16:58.000Z | 2021-08-19T11:55:04.000Z | # frozen_string_literal: true
require "ostruct"
class PullUpcomingEventsJob < ApplicationJob
queue_as :default
def perform(character_id)
@character_id = character_id
ensure_valid_access_token
remote_events = fetch_remote_events
track_upcoming_events_pulled
Event.transaction do
# Del... | 21.253968 | 59 | 0.705004 |
1e32ed508786dd5cb494f59cbd9980572eb8ddf3 | 3,649 | kt | Kotlin | java/arcs/android/devtools/DevToolsMessage.kt | jblebrun/arcs | 11e69d95d7e0972198fb40847b392284a0590c11 | [
"BSD-Source-Code"
] | 57 | 2017-05-17T02:27:13.000Z | 2022-03-24T07:45:39.000Z | java/arcs/android/devtools/DevToolsMessage.kt | jblebrun/arcs | 11e69d95d7e0972198fb40847b392284a0590c11 | [
"BSD-Source-Code"
] | 2,687 | 2017-04-28T01:25:03.000Z | 2022-01-07T13:51:39.000Z | java/arcs/android/devtools/DevToolsMessage.kt | jblebrun/arcs | 11e69d95d7e0972198fb40847b392284a0590c11 | [
"BSD-Source-Code"
] | 52 | 2017-04-28T00:06:50.000Z | 2021-08-29T05:36:06.000Z | /*
* Copyright 2020 Google LLC.
*
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
*
* Code distributed by Google as part of this project is also subject to an additional IP rights
* grant found at
* http://polymer.github.io/PATENTS.txt
*/
package arcs.a... | 32.008772 | 96 | 0.668402 |
7e314c7cafb229798b3040e0cb7d5f7d231cbae1 | 2,962 | css | CSS | css/styles.css | levertco/Delanistudio | 9ed94304a8222f4bbe451a74ab59247d4797daf0 | [
"Unlicense"
] | null | null | null | css/styles.css | levertco/Delanistudio | 9ed94304a8222f4bbe451a74ab59247d4797daf0 | [
"Unlicense"
] | null | null | null | css/styles.css | levertco/Delanistudio | 9ed94304a8222f4bbe451a74ab59247d4797daf0 | [
"Unlicense"
] | null | null | null | /* ----
BODY
---- */
body{
text-align: center;
font-family: sans-serif;
}
img{
min-width: 12px;
min-height: 12px;
}
h3{
width: 100%;
font-family: sans-serif;
}
header{
background-image: url('../assets/backgrounds/h_img.jpeg');
height: 100vh;
font-family: sans-serif;
letter-spacing: 2px;
line-h... | 15.507853 | 61 | 0.613099 |
61e7f698d0599ca26059574e56f1ea4c06b98fbf | 1,406 | kt | Kotlin | app/src/main/java/com/neal786y/mvparchitecture/main/interactor/LocationInteractor.kt | neal786y/Lunching | 69c201b439a2c7b12c1020fa213fa6a22988b886 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/neal786y/mvparchitecture/main/interactor/LocationInteractor.kt | neal786y/Lunching | 69c201b439a2c7b12c1020fa213fa6a22988b886 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/neal786y/mvparchitecture/main/interactor/LocationInteractor.kt | neal786y/Lunching | 69c201b439a2c7b12c1020fa213fa6a22988b886 | [
"Apache-2.0"
] | null | null | null | package com.neal786y.mvparchitecture.main.interactor
import com.neal786y.mvparchitecture.base.Interactor
import com.neal786y.mvparchitecture.base.ResponseCallback
import com.neal786y.mvparchitecture.di.ApiInterface
import com.neal786y.mvparchitecture.main.pojo.zomato.search_locations.response.LocationResponseDto
impor... | 34.292683 | 111 | 0.737553 |
8ac7dfc2594541784d3beaf2f88c51067c416a7e | 253 | sql | SQL | lancaster-petclinic/modules/core/db/update/hsql/20/200607-2-updatePetclinicVisit01.sql | web-devel/cuba-petclinic-product-customizations | 14b666c94fa0a69c33ddd1cba249cb670ec58ac2 | [
"Apache-2.0"
] | null | null | null | lancaster-petclinic/modules/core/db/update/hsql/20/200607-2-updatePetclinicVisit01.sql | web-devel/cuba-petclinic-product-customizations | 14b666c94fa0a69c33ddd1cba249cb670ec58ac2 | [
"Apache-2.0"
] | null | null | null | lancaster-petclinic/modules/core/db/update/hsql/20/200607-2-updatePetclinicVisit01.sql | web-devel/cuba-petclinic-product-customizations | 14b666c94fa0a69c33ddd1cba249cb670ec58ac2 | [
"Apache-2.0"
] | null | null | null | alter table PETCLINIC_VISIT add constraint FK_PETCLINIC_VISIT_ON_TREATMENT_ROOM foreign key (TREATMENT_ROOM_ID) references LANCASTERPETCLINIC_TREATMENT_ROOM(ID);
create index IDX_PETCLINIC_VISIT_ON_TREATMENT_ROOM on PETCLINIC_VISIT (TREATMENT_ROOM_ID);
| 84.333333 | 161 | 0.901186 |
5c46f97eafa7a40e8183796c56279f72692cf78d | 2,168 | css | CSS | public/stylesheets/loginstyle.css | StormFireFox1/BubbleChat | ba3b707e253af088764f5caf9151397f6eedbf14 | [
"MIT"
] | null | null | null | public/stylesheets/loginstyle.css | StormFireFox1/BubbleChat | ba3b707e253af088764f5caf9151397f6eedbf14 | [
"MIT"
] | 2 | 2018-07-30T20:03:12.000Z | 2020-09-06T19:45:05.000Z | public/stylesheets/loginstyle.css | StormFireFox1/BubbleChat | ba3b707e253af088764f5caf9151397f6eedbf14 | [
"MIT"
] | null | null | null | @font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: local('Lato Regular'), local('Lato-Regular'), url(http://themes.googleusercontent.com/static/fonts/lato/v7/qIIYRU-oROkIk8vfvxw6QvesZW2xOQ-xsNqO47m55DA.woff) format('woff');
}
body {
background: #448ed3;
font-family: "... | 17.344 | 181 | 0.601937 |
b2be278f644c23228acf1f8fcc520ef3e2a07fe5 | 2,846 | py | Python | rclpy/actions/minimal_action_client/examples_rclpy_minimal_action_client/client_cancel.py | emersonknapp/examples | 36522787da5de2a2ff322d8953e3ae4b8e8ee9e7 | [
"Apache-2.0"
] | 1 | 2020-03-17T18:19:55.000Z | 2020-03-17T18:19:55.000Z | rclpy/actions/minimal_action_client/examples_rclpy_minimal_action_client/client_cancel.py | emersonknapp/examples | 36522787da5de2a2ff322d8953e3ae4b8e8ee9e7 | [
"Apache-2.0"
] | null | null | null | rclpy/actions/minimal_action_client/examples_rclpy_minimal_action_client/client_cancel.py | emersonknapp/examples | 36522787da5de2a2ff322d8953e3ae4b8e8ee9e7 | [
"Apache-2.0"
] | 1 | 2020-07-11T08:59:03.000Z | 2020-07-11T08:59:03.000Z | # Copyright 2019 Open Source Robotics Foundation, 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... | 29.957895 | 91 | 0.697119 |
9e2cfc56c1d339e7666cc41b04b4394f17dd1f6c | 18,118 | rs | Rust | src/commands/servers/details.rs | stvnksslr/dominions-5-status | 538ba1fc984ec93ba9b50262009981ca5c74305f | [
"MIT"
] | 5 | 2018-01-11T14:25:21.000Z | 2020-10-19T02:36:00.000Z | src/commands/servers/details.rs | stvnksslr/dominions-5-status | 538ba1fc984ec93ba9b50262009981ca5c74305f | [
"MIT"
] | 51 | 2019-04-09T08:04:49.000Z | 2021-11-02T19:25:38.000Z | src/commands/servers/details.rs | stvnksslr/dominions-5-status | 538ba1fc984ec93ba9b50262009981ca5c74305f | [
"MIT"
] | 11 | 2018-02-06T15:22:32.000Z | 2022-02-04T16:57:26.000Z | use crate::commands::servers::CommandResponse;
use crate::{
commands::servers::alias_from_arg_or_channel_name,
db::{DbConnection, DbConnectionKey},
model::{
enums::{NationStatus, SubmissionStatus},
game_data::GameData,
game_server::*,
game_state::*,
nation::{BotNation... | 38.143158 | 100 | 0.521305 |
f03d4c226a3b3aa190f45b9620b4a20bd1deafdc | 2,296 | py | Python | isso/tests/test_html.py | Nildeala/isso | 661f2a68813e6ba5c234c9b84f440681712cdcef | [
"MIT"
] | 1 | 2017-08-24T21:10:01.000Z | 2017-08-24T21:10:01.000Z | isso/tests/test_html.py | Nildeala/isso | 661f2a68813e6ba5c234c9b84f440681712cdcef | [
"MIT"
] | null | null | null | isso/tests/test_html.py | Nildeala/isso | 661f2a68813e6ba5c234c9b84f440681712cdcef | [
"MIT"
] | null | null | null |
try:
import unittest2 as unittest
except ImportError:
import unittest
from isso.core import Config
from isso.utils import html
class TestHTML(unittest.TestCase):
def test_markdown(self):
convert = html.Markdown(extensions=())
examples = [
("*Ohai!*", "<p><em>Ohai!</em></p>"... | 37.639344 | 108 | 0.562718 |
5f9ec263bbfe8a222244f746a2e19aaf5edfd220 | 342 | h | C | Source/HardlightSDK/Public/ITimeline.h | HardlightVR/HL-UE4-plugin | 68ec6c03b7e1dce0b135dd933affe29acd229e01 | [
"MIT"
] | 1 | 2021-12-04T16:20:55.000Z | 2021-12-04T16:20:55.000Z | Source/HardlightSDK/Public/ITimeline.h | HardlightVR/HL-UE4-plugin | 68ec6c03b7e1dce0b135dd933affe29acd229e01 | [
"MIT"
] | null | null | null | Source/HardlightSDK/Public/ITimeline.h | HardlightVR/HL-UE4-plugin | 68ec6c03b7e1dce0b135dd933affe29acd229e01 | [
"MIT"
] | 1 | 2020-06-29T14:36:53.000Z | 2020-06-29T14:36:53.000Z | #pragma once
//#include "CoreMinimal.h"
//#include "ITimelineEvent.h"
#include "Runtime/Core/Public/Templates/UniquePtr.h"
#include "IPlaybackHandle.h"
struct FBasicHapticEvent;
class ITimeline {
public:
virtual void Add(const FBasicHapticEvent& event) = 0;
virtual TUniquePtr<IPlaybackHandle> Transmit() = 0;
virtu... | 24.428571 | 54 | 0.75731 |
e3d5c78e7eea7c38d2eac01c26c71c4d9378a907 | 780 | go | Go | models/model_snssai_route_selection_descriptor.go | 5g-core/openapi | add2b1583bc4dda2a39bb47fde75f5d358fece05 | [
"Apache-2.0"
] | null | null | null | models/model_snssai_route_selection_descriptor.go | 5g-core/openapi | add2b1583bc4dda2a39bb47fde75f5d358fece05 | [
"Apache-2.0"
] | null | null | null | models/model_snssai_route_selection_descriptor.go | 5g-core/openapi | add2b1583bc4dda2a39bb47fde75f5d358fece05 | [
"Apache-2.0"
] | null | null | null | /*
* Nudr_DataRepository API OpenAPI file
*
* Unified Data Repository Service. © 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* API version: 2.1.5
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package models
import (
)
// Snssa... | 24.375 | 164 | 0.753846 |
e9068f5db1b348efe244dacf79f8214333cf8ec2 | 216 | rb | Ruby | app/controllers/api_docs/candidate_api_docs/reference_controller.rb | EwanNoble/apply-for-teacher-training | d78a271e75f68bd409922a18409d9d4df00123da | [
"MIT"
] | 14 | 2020-07-27T16:42:35.000Z | 2022-01-31T15:53:19.000Z | app/controllers/api_docs/candidate_api_docs/reference_controller.rb | EwanNoble/apply-for-teacher-training | d78a271e75f68bd409922a18409d9d4df00123da | [
"MIT"
] | 1,261 | 2020-06-23T11:34:41.000Z | 2022-03-31T16:05:54.000Z | app/controllers/api_docs/candidate_api_docs/reference_controller.rb | EwanNoble/apply-for-teacher-training | d78a271e75f68bd409922a18409d9d4df00123da | [
"MIT"
] | 6 | 2020-08-17T10:27:41.000Z | 2021-12-22T09:41:45.000Z | module APIDocs
module CandidateAPIDocs
class ReferenceController < APIDocsController
def reference
@api_reference = APIReference.new(CandidateAPISpecification.as_hash)
end
end
end
end
| 21.6 | 76 | 0.740741 |
dd3594ddcffff304ad5bfce073709e244836ee0f | 1,591 | go | Go | codec/length_prefix.go | muirglacier/aw | 4245f85a37e6483f530da62354d27131d263334f | [
"MIT"
] | 36 | 2019-07-05T23:54:00.000Z | 2022-03-17T10:07:56.000Z | codec/length_prefix.go | muirglacier/aw | 4245f85a37e6483f530da62354d27131d263334f | [
"MIT"
] | 39 | 2019-07-29T07:15:06.000Z | 2021-08-03T05:02:13.000Z | codec/length_prefix.go | muirglacier/aw | 4245f85a37e6483f530da62354d27131d263334f | [
"MIT"
] | 8 | 2019-08-23T19:10:03.000Z | 2021-12-10T06:54:07.000Z | package codec
import (
"encoding/binary"
"fmt"
"io"
)
// LengthPrefixEncoder returns an Encoder that prefixes all data with a uint32
// length. The returned Encoder wraps two other Encoders, one that is used to
// encode the length prefix, and one that is used to encode the actual data.
func LengthPrefixEncoder(pr... | 32.469388 | 86 | 0.68259 |
0b315fffa65e76254a4a2c4b1c1acb767a73e70b | 4,026 | sql | SQL | migratieScripts/Indexes.sql | hanjoosten/csv2tables | 67e91428cdf13a39e6634bcee79e1ee1eecb0125 | [
"BSD-3-Clause"
] | null | null | null | migratieScripts/Indexes.sql | hanjoosten/csv2tables | 67e91428cdf13a39e6634bcee79e1ee1eecb0125 | [
"BSD-3-Clause"
] | null | null | null | migratieScripts/Indexes.sql | hanjoosten/csv2tables | 67e91428cdf13a39e6634bcee79e1ee1eecb0125 | [
"BSD-3-Clause"
] | null | null | null |
drop index if exists BAS_AIC_VOORTGANG_idx01;
create index BAS_AIC_VOORTGANG_idx01 on BAS_AIC_VOORTGANG
( DOS_ID asc, Tra_id asc );
drop index if exists BAS_AIC_VOORTGANG_idx02;
create index BAS_AIC_VOORTGANG_idx02 on BAS_AIC_VOORTGANG
( Tra_id asc );
drop index if exists BAS_AOM_TRANSACTIETYPE_idx01;
create ... | 33.55 | 85 | 0.835817 |
88e607901861d5a6831abc7d2c8c64e6aba4490c | 129 | sql | SQL | integration/tests/cockroach/primary-key-add/expect.sql | pecigonzalo/schemahero | 230b52e32982e711b37c0802b85dbfb762e20a35 | [
"Apache-2.0"
] | 559 | 2019-05-01T13:56:21.000Z | 2022-03-31T19:48:01.000Z | integration/tests/cockroach/primary-key-add/expect.sql | pecigonzalo/schemahero | 230b52e32982e711b37c0802b85dbfb762e20a35 | [
"Apache-2.0"
] | 312 | 2019-05-08T04:09:40.000Z | 2022-03-25T12:00:03.000Z | integration/tests/cockroach/primary-key-add/expect.sql | pecigonzalo/schemahero | 230b52e32982e711b37c0802b85dbfb762e20a35 | [
"Apache-2.0"
] | 62 | 2019-07-30T01:10:11.000Z | 2022-02-14T19:48:04.000Z | create table "user_projects" ("user_id" integer not null, "project_id" integer not null, primary key ("user_id", "project_id"));
| 64.5 | 128 | 0.744186 |
c8090dc576fc6498b4ae0d60ba3cc13d4b47a3bc | 3,753 | rs | Rust | src/cairo/lang/instances.rs | tarrencev/oriac | 954c2c86eb4087f85266d1bc83f1fcf3919bbfe0 | [
"Apache-2.0",
"MIT"
] | 21 | 2022-01-30T16:26:32.000Z | 2022-03-23T16:53:56.000Z | src/cairo/lang/instances.rs | tarrencev/oriac | 954c2c86eb4087f85266d1bc83f1fcf3919bbfe0 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/cairo/lang/instances.rs | tarrencev/oriac | 954c2c86eb4087f85266d1bc83f1fcf3919bbfe0 | [
"Apache-2.0",
"MIT"
] | 2 | 2022-02-13T23:08:28.000Z | 2022-03-30T17:28:07.000Z | use num_bigint::BigInt;
use std::{collections::HashMap, str::FromStr};
use crate::cairo::lang::builtins::{
hash::instance_def::PedersenInstanceDef, range_check::instance_def::RangeCheckInstanceDef,
signature::instance_def::EcdsaInstanceDef, BuiltinDefinition,
};
#[derive(Debug)]
pub struct CpuInstanceDef {
... | 35.40566 | 100 | 0.565681 |
5bca1a6539c29e3b0534b53c1fdbcc822c34ec4d | 335 | c | C | src/example3.6/src/example3.6.c | billsix/cprogrammingbook | 80fda9675558d65f5252688b47ef3b1749c3c59f | [
"MIT"
] | null | null | null | src/example3.6/src/example3.6.c | billsix/cprogrammingbook | 80fda9675558d65f5252688b47ef3b1749c3c59f | [
"MIT"
] | null | null | null | src/example3.6/src/example3.6.c | billsix/cprogrammingbook | 80fda9675558d65f5252688b47ef3b1749c3c59f | [
"MIT"
] | null | null | null | #include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
for (int32_t i = 0; i <= 10; i++) {
switch (i) {
case 1:
case 2:
printf("1 or 2\n");
break;
case 7:
printf("7\n");
break;
default:
printf("default\n");
}
}
exit(EX... | 15.952381 | 37 | 0.504478 |
cf41d0e94a05dd41945a94cd192da3b85d21a1e2 | 149 | css | CSS | frontend/dist/static/css/chunk-01e9e869.88644d44.css | NekoGaHoshiyi/video | 5c54ec620657de287359357726db6d701a8e84e6 | [
"MIT"
] | 2 | 2020-07-02T11:26:15.000Z | 2020-07-02T14:52:37.000Z | frontend/dist/static/css/chunk-01e9e869.88644d44.css | NekoGaHoshiyi/video | 5c54ec620657de287359357726db6d701a8e84e6 | [
"MIT"
] | 1 | 2022-02-27T07:38:21.000Z | 2022-02-27T07:38:21.000Z | frontend/dist/static/css/chunk-01e9e869.88644d44.css | NekoGaHoshiyi/video | 5c54ec620657de287359357726db6d701a8e84e6 | [
"MIT"
] | 1 | 2020-07-02T14:52:39.000Z | 2020-07-02T14:52:39.000Z | .not-found[data-v-71607651]{display:flex;flex-direction:column;justify-content:space-between;align-items:center}h1[data-v-71607651]{margin-top:100px} | 149 | 149 | 0.818792 |
df77f719dbe2d6a395d1cb56c8325a8212e1b586 | 433 | rb | Ruby | fundamental/18_matrices.rb | habolanos/ruby-fundamentals | cd272b86eb9a4a3749f518b978798ebbdbb573c0 | [
"MIT"
] | null | null | null | fundamental/18_matrices.rb | habolanos/ruby-fundamentals | cd272b86eb9a4a3749f518b978798ebbdbb573c0 | [
"MIT"
] | null | null | null | fundamental/18_matrices.rb | habolanos/ruby-fundamentals | cd272b86eb9a4a3749f518b978798ebbdbb573c0 | [
"MIT"
] | null | null | null | require 'matrix'
matriz = Matrix[[2, 3, 5, 1],[9, 0, 8, 7], [5, 6, 1, 9], [7, 5, 3, 6]]
puts "Matriz
2 3 5 1
9 0 8 7
5 6 1 9
7 5 3 6"
puts "Numeros debajo de la diagonal"
matriz.each(:strict_lower) do |i|
puts i
end
puts "Numeros encima de la diagonal"
matriz.each(:strict_upper) d... | 18.041667 | 70 | 0.593533 |
16942be86aa30871c3bb7a40bab338cec2c28e65 | 2,111 | h | C | headers/ListaDeCoresRGB.h | tecnicasilegais/3d-navigation | d395aa03ac9dbeab3fdb06c3dabb9e58a91b1bf6 | [
"MIT"
] | null | null | null | headers/ListaDeCoresRGB.h | tecnicasilegais/3d-navigation | d395aa03ac9dbeab3fdb06c3dabb9e58a91b1bf6 | [
"MIT"
] | null | null | null | headers/ListaDeCoresRGB.h | tecnicasilegais/3d-navigation | d395aa03ac9dbeab3fdb06c3dabb9e58a91b1bf6 | [
"MIT"
] | null | null | null | //https://community.khronos.org/t/color-tables/22518/5
#ifndef ListaDeCoresRGB
#define ListaDeCoresRGB
#include <iostream>
#include <cmath>
#include <ctime>
#include <fstream>
using namespace std;
#ifdef WIN32
#include <windows.h>
#include <glut.h>
#else
#include <sys/time.h>
#endif
#ifdef __A... | 15.637037 | 55 | 0.596874 |
d942e7026d94c61f6fe7ac42764aeadfcf3bd1fe | 3,645 | rs | Rust | src/components/launcher.rs | ericrasmussen/quatronaut2020 | fecb38274526b0fe33c95e2701a5d8bd72b3bba8 | [
"MIT"
] | 1 | 2021-04-17T20:33:33.000Z | 2021-04-17T20:33:33.000Z | src/components/launcher.rs | ericrasmussen/benitron3000 | fecb38274526b0fe33c95e2701a5d8bd72b3bba8 | [
"MIT"
] | 52 | 2020-10-14T06:38:00.000Z | 2022-03-21T00:16:44.000Z | src/components/launcher.rs | ericrasmussen/benitron3000 | fecb38274526b0fe33c95e2701a5d8bd72b3bba8 | [
"MIT"
] | 1 | 2020-10-02T16:54:13.000Z | 2020-10-02T16:54:13.000Z | //! This component tracks when and how to fire projectiles,
//! along with logic to create different projectiles.
use amethyst::{
assets::PrefabData,
core::Transform,
derive::PrefabData,
ecs::prelude::{Component, DenseVecStorage, Entities, Entity, LazyUpdate, NullStorage, ReadExpect, WriteStorage},
... | 31.973684 | 116 | 0.687791 |
4a046eb9a4c8b92c58f63bdc35d9fccd75be78a3 | 3,058 | swift | Swift | Pods/GoogleMaps/SwiftExample/GoogleMapsSwiftDemos/Swift/Samples/AnimatedCurrentLocationViewController.swift | LightFocus/XcodeBenchmark | 1a3cdc68b2dca08251e3c723ed13c14245a84e0b | [
"MIT"
] | 1,562 | 2020-08-19T00:30:37.000Z | 2022-03-31T15:15:22.000Z | Pods/GoogleMaps/SwiftExample/GoogleMapsSwiftDemos/Swift/Samples/AnimatedCurrentLocationViewController.swift | LightFocus/XcodeBenchmark | 1a3cdc68b2dca08251e3c723ed13c14245a84e0b | [
"MIT"
] | 198 | 2020-08-19T01:01:10.000Z | 2022-03-23T16:40:29.000Z | Pods/GoogleMaps/SwiftExample/GoogleMapsSwiftDemos/Swift/Samples/AnimatedCurrentLocationViewController.swift | LightFocus/XcodeBenchmark | 1a3cdc68b2dca08251e3c723ed13c14245a84e0b | [
"MIT"
] | 247 | 2020-09-06T18:34:40.000Z | 2022-03-30T09:03:50.000Z | // Copyright 2020 Google LLC. 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 applicable... | 35.149425 | 98 | 0.720405 |
f069eb952ff8678a357b70b75757dce90f676973 | 3,342 | py | Python | Regression/utils_testing.py | saucec0de/sifu | 7924844e1737c7634016c677237bccd7e7651818 | [
"MIT"
] | 5 | 2021-03-26T08:19:43.000Z | 2021-12-18T18:04:04.000Z | Regression/utils_testing.py | saucec0de/sifu | 7924844e1737c7634016c677237bccd7e7651818 | [
"MIT"
] | null | null | null | Regression/utils_testing.py | saucec0de/sifu | 7924844e1737c7634016c677237bccd7e7651818 | [
"MIT"
] | null | null | null | import yaml
import os
### Sample Contents of config.yaml:
# 0002_info_leakage:
# category: Sifu C/C++
# points: 100
# description: Leave no trace
# vulnerability: CWE-14 * Information Leakage
# directory: Challenges/C_CPP/0002_info_leakage
# send_dir: true
# file: func_000... | 28.810345 | 142 | 0.595751 |
50488877c03c4c5a4c61e614935db2f8b5a620c1 | 6,778 | go | Go | cmd/authn/userlist.go | arita37/aistore | edb7aa45178335b23a424ea73a753bcd6fa9d5db | [
"MIT"
] | 1 | 2020-05-20T23:43:38.000Z | 2020-05-20T23:43:38.000Z | cmd/authn/userlist.go | arita37/aistore | edb7aa45178335b23a424ea73a753bcd6fa9d5db | [
"MIT"
] | null | null | null | cmd/authn/userlist.go | arita37/aistore | edb7aa45178335b23a424ea73a753bcd6fa9d5db | [
"MIT"
] | null | null | null | // Package main - authorization server for AIStore. See README.md for more info.
/*
* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
*
*/
package main
import (
"encoding/base64"
"errors"
"fmt"
"net/http"
"os"
"sync"
"time"
"github.com/NVIDIA/aistore/3rdparty/glog"
"github.com/NVIDIA/aistore/... | 25.577358 | 103 | 0.669371 |
39c78dc28eff14be81be0367beff732e1025fc60 | 2,838 | js | JavaScript | webapp/node_modules/grunt-manifest/tasks/manifest.js | fullrange-interactive/pmw | c9e23f6870b266eab8382f7825e5a159ff116c93 | [
"MIT"
] | 5 | 2018-07-05T03:18:16.000Z | 2020-01-13T13:44:46.000Z | webapp/node_modules/grunt-manifest/tasks/manifest.js | fullrange-interactive/pmw | c9e23f6870b266eab8382f7825e5a159ff116c93 | [
"MIT"
] | null | null | null | webapp/node_modules/grunt-manifest/tasks/manifest.js | fullrange-interactive/pmw | c9e23f6870b266eab8382f7825e5a159ff116c93 | [
"MIT"
] | null | null | null | /*
* grunt-manifest
* https://github.com/gunta/grunt-manifest
*
* Copyright (c) 2013 Gunther Brunner, contributors
* Licensed under the MIT license.
* https://github.com/gunta/grunt-manifest/blob/master/LICENSE-MIT
*/
'use strict';
module.exports = function (grunt) {
grunt.registerMultiTask('manifest', 'Gene... | 25.115044 | 103 | 0.555321 |
e746f5db7a931aaf9edd7bd0543eac9a25e07dda | 790 | js | JavaScript | .eslintrc.js | juicecube/mlz-swiper | 26439e66ce2e36a44952dcfca367ba22ec832e58 | [
"MIT"
] | null | null | null | .eslintrc.js | juicecube/mlz-swiper | 26439e66ce2e36a44952dcfca367ba22ec832e58 | [
"MIT"
] | null | null | null | .eslintrc.js | juicecube/mlz-swiper | 26439e66ce2e36a44952dcfca367ba22ec832e58 | [
"MIT"
] | null | null | null | module.exports = {
'extends': './node_modules/@mlz/lint/ts-eslintrc-react.js',
'rules': {
'react/no-deprecated': 0, // 不开启废弃方法检查,例如componentWillReceiveProps
'react/no-children-prop': 0,
'@typescript-eslint/no-empty-interface': 0, // 不开启空interface类型检查
'react/sort-comp': 0, // 不开启组件内方法顺序检查
'react/... | 41.578947 | 70 | 0.667089 |
db0bd7a4bea72273d93ad84b529d7d7aff784de8 | 30 | sql | SQL | docker-entrypoint-initdb.d/create_iroase_role.sql | iroase-app/server | 22b60c9c1cf32b54eb2568530e1ef8b693df3c2b | [
"BSD-3-Clause"
] | 1 | 2021-10-10T16:02:00.000Z | 2021-10-10T16:02:00.000Z | docker-entrypoint-initdb.d/create_iroase_role.sql | iroase-app/server | 22b60c9c1cf32b54eb2568530e1ef8b693df3c2b | [
"BSD-3-Clause"
] | null | null | null | docker-entrypoint-initdb.d/create_iroase_role.sql | iroase-app/server | 22b60c9c1cf32b54eb2568530e1ef8b693df3c2b | [
"BSD-3-Clause"
] | null | null | null | CREATE ROLE iroase WITH LOGIN; | 30 | 30 | 0.833333 |
19fc9825f80f915b53781e5282d4bb487698f220 | 5,250 | kt | Kotlin | idea/ide-common/src/org/jetbrains/kotlin/idea/util/FuzzyType.kt | zarechenskiy/kotlin | cb9c28e73fc3f88d8e08ec7661ac169434c8311f | [
"Apache-2.0"
] | null | null | null | idea/ide-common/src/org/jetbrains/kotlin/idea/util/FuzzyType.kt | zarechenskiy/kotlin | cb9c28e73fc3f88d8e08ec7661ac169434c8311f | [
"Apache-2.0"
] | null | null | null | idea/ide-common/src/org/jetbrains/kotlin/idea/util/FuzzyType.kt | zarechenskiy/kotlin | cb9c28e73fc3f88d8e08ec7661ac169434c8311f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 41.338583 | 135 | 0.724381 |
ada541d03d501f3f49006046587dfaeaa1e3f73b | 7,100 | rs | Rust | task12_1/src/main.rs | HaronK/aoc2019 | 958c0a8fa125fbdc463115a78966fd31b3da7efb | [
"MIT"
] | 1 | 2019-12-12T13:11:51.000Z | 2019-12-12T13:11:51.000Z | task12_1/src/main.rs | HaronK/aoc2019 | 958c0a8fa125fbdc463115a78966fd31b3da7efb | [
"MIT"
] | null | null | null | task12_1/src/main.rs | HaronK/aoc2019 | 958c0a8fa125fbdc463115a78966fd31b3da7efb | [
"MIT"
] | null | null | null | use anyhow::Result;
use std::fmt;
use std::fs::File;
use std::io::prelude::*;
use std::ops::*;
// use termion;
fn main() -> Result<()> {
let mut content = String::new();
let mut file = File::open("input.txt")?;
file.read_to_string(&mut content)?;
let mut moons = parse(content)?;
let period = get_... | 23.58804 | 99 | 0.486901 |
3fdd781f9e50b90b5ad1e5c8b4ac2e2d7bdb1c4c | 29,800 | asm | Assembly | MSDOS/Virus.MSDOS.Unknown.vclquake.asm | fengjixuchui/Family | 2abe167082817d70ff2fd6567104ce4bcf0fe304 | [
"MIT"
] | 3 | 2021-05-15T15:57:13.000Z | 2022-03-16T09:11:05.000Z | MSDOS/Virus.MSDOS.Unknown.vclquake.asm | fengjixuchui/Family | 2abe167082817d70ff2fd6567104ce4bcf0fe304 | [
"MIT"
] | null | null | null | MSDOS/Virus.MSDOS.Unknown.vclquake.asm | fengjixuchui/Family | 2abe167082817d70ff2fd6567104ce4bcf0fe304 | [
"MIT"
] | 3 | 2021-05-15T15:57:15.000Z | 2022-01-08T20:51:04.000Z | ; -----------------------------------------------------------------------------
; QUAKE.ASM
; Created with Nowhere Man's Virus Creation Laboratory v1.00
;
; Heavily modified VCL and Original Code by the best Bleeding Edge virus
; writer: Night Breeze. See you all in fuckin' HELL!
;
; This is a "spawning" virus and, te... | 41.678322 | 81 | 0.429228 |
b1b339ac49e786ddbd73ce87153a846968bed309 | 2,925 | c | C | cli_main.c | DoubleDensity/Orca-c | 86dd6be4f4edc4fadf253eba3a7baded145cdef5 | [
"MIT"
] | null | null | null | cli_main.c | DoubleDensity/Orca-c | 86dd6be4f4edc4fadf253eba3a7baded145cdef5 | [
"MIT"
] | null | null | null | cli_main.c | DoubleDensity/Orca-c | 86dd6be4f4edc4fadf253eba3a7baded145cdef5 | [
"MIT"
] | null | null | null | #include "bank.h"
#include "base.h"
#include "field.h"
#include "mark.h"
#include "sim.h"
#include <getopt.h>
static void usage(void) {
// clang-format off
fprintf(stderr,
"Usage: cli [options] infile\n\n"
"Options:\n"
" -t <number> Number of timesteps to simulate.\n"
" ... | 25.434783 | 71 | 0.579487 |
1e69ec60d862e84c31ad5e915cd9325459a152d4 | 587 | kt | Kotlin | app/src/test/java/com/example/buahin/ExampleUnitTest.kt | SimiPrambos/buahin | 5c6a2cd40ac9e96dbfb61eefba9654b5f0fd6636 | [
"MIT"
] | null | null | null | app/src/test/java/com/example/buahin/ExampleUnitTest.kt | SimiPrambos/buahin | 5c6a2cd40ac9e96dbfb61eefba9654b5f0fd6636 | [
"MIT"
] | null | null | null | app/src/test/java/com/example/buahin/ExampleUnitTest.kt | SimiPrambos/buahin | 5c6a2cd40ac9e96dbfb61eefba9654b5f0fd6636 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2021 SimiPrambos <simi.prambos@gmail.com> - All Rights Reserved
* ExampleUnitTest.kt
* Buahin <https://github.com/SimiPrambos/buahin.git>
* UI Design by Afsar <https://www.figma.com/community/file/882645007956337261>
*/
package com.example.buahin
import org.junit.Test
import org.junit.Assert.... | 24.458333 | 81 | 0.705281 |
525d6eb3755f81f46e9ed228620b2410802d54e7 | 86 | sql | SQL | hasura/migrations/1608308064173_alter_table_public_projects_add_column_useImage/up.sql | 221B-io/databrary.org | 976d10457c47ef5740adcd54ef5cc7e0193e5700 | [
"MIT"
] | 3 | 2020-01-21T23:23:58.000Z | 2020-11-26T12:53:21.000Z | hasura/migrations/1608308064173_alter_table_public_projects_add_column_useImage/up.sql | databrary/databrary.org | 976d10457c47ef5740adcd54ef5cc7e0193e5700 | [
"MIT"
] | 153 | 2019-11-13T20:34:51.000Z | 2021-05-03T14:51:12.000Z | hasura/migrations/1608308064173_alter_table_public_projects_add_column_useImage/up.sql | 221B-io/databrary.org | 976d10457c47ef5740adcd54ef5cc7e0193e5700 | [
"MIT"
] | 2 | 2020-02-05T02:04:04.000Z | 2021-01-27T21:01:46.000Z | ALTER TABLE "public"."projects" ADD COLUMN "useImage" boolean NOT NULL DEFAULT false;
| 43 | 85 | 0.77907 |
f0113aeb5d7960eefb66a0247171970b6a1b3515 | 2,245 | py | Python | portality/cms/implied_attr_list.py | gaybro8777/doaj | 27d9d98ce4f496ae52acbaba6ee8e42c84cf1a58 | [
"Apache-2.0"
] | 47 | 2015-04-24T13:13:39.000Z | 2022-03-06T03:22:42.000Z | portality/cms/implied_attr_list.py | gaybro8777/doaj | 27d9d98ce4f496ae52acbaba6ee8e42c84cf1a58 | [
"Apache-2.0"
] | 1,215 | 2015-01-02T14:29:38.000Z | 2022-03-28T14:19:13.000Z | portality/cms/implied_attr_list.py | gaybro8777/doaj | 27d9d98ce4f496ae52acbaba6ee8e42c84cf1a58 | [
"Apache-2.0"
] | 14 | 2015-11-27T13:01:23.000Z | 2021-05-21T07:57:23.000Z | import markdown
import re
from markdown.extensions import attr_list
def makeExtension(**kwargs): # pragma: no cover
return ImpliedAttrListExtension(**kwargs)
class ImpliedAttrListExtension(markdown.Extension):
"""Extension for attatching `attr_list` entries to implied elements. Specifically: lists and tab... | 34.538462 | 117 | 0.629399 |
83ca67f33bc31a7a7e5a47a4af97138619b622f9 | 10,288 | rs | Rust | src/librustc/middle/typeck/infer/glb.rs | areski/rust | 9f0c29af0263a13c123722122877f818dfec3b8f | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/librustc/middle/typeck/infer/glb.rs | areski/rust | 9f0c29af0263a13c123722122877f818dfec3b8f | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/librustc/middle/typeck/infer/glb.rs | areski/rust | 9f0c29af0263a13c123722122877f818dfec3b8f | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 38.676692 | 89 | 0.515358 |
7d71f761189e727a63750cd8467df4ee8cc26b47 | 12,492 | html | HTML | doc/dsl/class-use/Play.StatelessCharacter.html | tokahuke/java-for-playwrights | 836e4b01bd53ce9d29951c3944d36330e47791d5 | [
"MIT"
] | 1 | 2017-08-21T23:38:47.000Z | 2017-08-21T23:38:47.000Z | doc/dsl/class-use/Play.StatelessCharacter.html | tokahuke/java-for-playwrights | 836e4b01bd53ce9d29951c3944d36330e47791d5 | [
"MIT"
] | null | null | null | doc/dsl/class-use/Play.StatelessCharacter.html | tokahuke/java-for-playwrights | 836e4b01bd53ce9d29951c3944d36330e47791d5 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pt">
<head>
<!-- Generated by javadoc (1.8.0_60) on Wed Mar 02 17:26:14 BRT 2016 -->
<title>Uses of Class dsl.Play.StatelessCharacter</title>
<meta name="date" content="2016-03-02">
<link ... | 47.498099 | 248 | 0.670829 |
c7acd77caf406f75cbfb073a70476167367da20d | 4,528 | swift | Swift | ipad/Constants/AppRemoteAPIConst.swift | amichard/invasivesBC-mussels-iOS | 9a48e43fe66ea7b18825238ceb77e18c019a90ea | [
"Apache-2.0"
] | null | null | null | ipad/Constants/AppRemoteAPIConst.swift | amichard/invasivesBC-mussels-iOS | 9a48e43fe66ea7b18825238ceb77e18c019a90ea | [
"Apache-2.0"
] | 12 | 2020-02-03T22:22:58.000Z | 2022-01-06T16:57:11.000Z | ipad/Constants/AppRemoteAPIConst.swift | amichard/invasivesBC-mussels-iOS | 9a48e43fe66ea7b18825238ceb77e18c019a90ea | [
"Apache-2.0"
] | 3 | 2020-07-17T17:32:38.000Z | 2022-01-24T21:14:26.000Z | //
// AppRemoteAPIConst.swift
// FoodAnytime
//
// Created by Pushan Mitra on 21/09/18.
// Copyright © 2018 Pushan Mitra. All rights reserved.
//
import Foundation
/**
* Remote/Local URL
*/
let DEV_URL: String = "https://api-dev-invasivesbc.apps.silver.devops.gov.bc.ca/api"
let LOCAL_URL: String = "http://loc... | 34.045113 | 1,423 | 0.730565 |
85954d9349d2a8a87c867b61615adf27eafab05a | 6,254 | js | JavaScript | aurelia-ts/gulpfile.js | cmichaelgraham/spike-aurelia-ts-port | 808e1e6d5baa3e4da90c4795db90c7b36577eb4d | [
"MIT"
] | null | null | null | aurelia-ts/gulpfile.js | cmichaelgraham/spike-aurelia-ts-port | 808e1e6d5baa3e4da90c4795db90c7b36577eb4d | [
"MIT"
] | null | null | null | aurelia-ts/gulpfile.js | cmichaelgraham/spike-aurelia-ts-port | 808e1e6d5baa3e4da90c4795db90c7b36577eb4d | [
"MIT"
] | null | null | null | var gulp = require('gulp');
var browserSync = require('browser-sync');
var runSequence = require('run-sequence');
var ts = require('gulp-typescript');
var merge = require('merge2');
gulp.task('build-ts', [
'build-ts-system',
'build-ts-amd',
'build-ts-commonjs',
'build-ts-es6'
], function() {});
gulp.task('... | 29.088372 | 89 | 0.494084 |
95f85e309b17e988c7d7af2b3e5aad52f76328b6 | 2,687 | kt | Kotlin | data/src/main/java/pl/kamilszustak/read/data/di/module/DatabaseModule.kt | swistak7171/read | 70d7be58042410bdb969035413b726126426e3d3 | [
"Apache-2.0"
] | 1 | 2022-01-08T12:38:20.000Z | 2022-01-08T12:38:20.000Z | data/src/main/java/pl/kamilszustak/read/data/di/module/DatabaseModule.kt | swistak7171/read | 70d7be58042410bdb969035413b726126426e3d3 | [
"Apache-2.0"
] | 39 | 2020-08-23T18:01:09.000Z | 2021-04-21T19:18:06.000Z | data/src/main/java/pl/kamilszustak/read/data/di/module/DatabaseModule.kt | swistak7171/read | 70d7be58042410bdb969035413b726126426e3d3 | [
"Apache-2.0"
] | null | null | null | package pl.kamilszustak.read.data.di.module
import com.google.firebase.auth.ktx.auth
import com.google.firebase.database.DatabaseReference
import com.google.firebase.database.ktx.database
import com.google.firebase.ktx.Firebase
import dagger.Module
import dagger.Provides
import pl.kamilszustak.read.data.di.qualifier.*... | 35.355263 | 118 | 0.750279 |
2d03c69c97e9cb29f49b1199a7520919397488b1 | 1,083 | swift | Swift | swift starters/SwiftStarter.playground/Pages/My Level 3.xcplaygroundpage/Contents.swift | kcastellano/ARStarter | 4c8d359c13a367c29b9fbd9cc464744ebdf5547b | [
"MIT"
] | null | null | null | swift starters/SwiftStarter.playground/Pages/My Level 3.xcplaygroundpage/Contents.swift | kcastellano/ARStarter | 4c8d359c13a367c29b9fbd9cc464744ebdf5547b | [
"MIT"
] | null | null | null | swift starters/SwiftStarter.playground/Pages/My Level 3.xcplaygroundpage/Contents.swift | kcastellano/ARStarter | 4c8d359c13a367c29b9fbd9cc464744ebdf5547b | [
"MIT"
] | null | null | null | import Foundation
/*:
# Level 3 - The Real-Pro
Wie wird nun Code zusammgefasst und schlau wiederverwendet? Und wie kann man bestehenden Code nach eigenen Bedürfnissen erweitern?
All das lernen wir nun hier mit Funktionen, Klassen, Strukturen und Extensions
* callout(Level 3 - The Real Pro):
- A. Vererbung
-... | 24.066667 | 180 | 0.755309 |
38c9bfdf5a4894522fb4dbb8247531b8a138df96 | 425 | sql | SQL | ware12-security-auth/src/main/resources/security.sql | folago7/abe718 | 783779e2b40ef0e48b4ce68d7d2ce67913bb6149 | [
"Apache-2.0"
] | null | null | null | ware12-security-auth/src/main/resources/security.sql | folago7/abe718 | 783779e2b40ef0e48b4ce68d7d2ce67913bb6149 | [
"Apache-2.0"
] | null | null | null | ware12-security-auth/src/main/resources/security.sql | folago7/abe718 | 783779e2b40ef0e48b4ce68d7d2ce67913bb6149 | [
"Apache-2.0"
] | 1 | 2022-03-21T03:42:25.000Z | 2022-03-21T03:42:25.000Z | CREATE TABLE `user_role` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
`user_name` varchar(30) DEFAULT NULL,
`user_role` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户权限表';
INSERT INTO `user_role` (`id`, `user_name`, `user_role`) VALUES ('1', 'root', 'ROL... | 47.222222 | 93 | 0.689412 |
5224233c0f4a3b50609b5292d30d3db5f260134b | 3,151 | lua | Lua | vendor/RainbowRepacker/tool/engine_android(5)/assets/scripts/qnFiles/qnPlist/games/animSlippers_pin2.lua | huangtao/cloud-test | 8087b1337d47daab9eb39335ca6e286df0e4b4dc | [
"Apache-2.0"
] | 1 | 2018-09-12T15:43:32.000Z | 2018-09-12T15:43:32.000Z | vendor/RainbowRepacker/tool/engine_android(5)/assets/scripts/qnFiles/qnPlist/games/animSlippers_pin2.lua | huangtao/cloud-test | 8087b1337d47daab9eb39335ca6e286df0e4b4dc | [
"Apache-2.0"
] | null | null | null | vendor/RainbowRepacker/tool/engine_android(5)/assets/scripts/qnFiles/qnPlist/games/animSlippers_pin2.lua | huangtao/cloud-test | 8087b1337d47daab9eb39335ca6e286df0e4b4dc | [
"Apache-2.0"
] | 3 | 2018-09-12T15:43:33.000Z | 2019-07-10T09:50:15.000Z | local path = "games/common/animation/animSlippers_pin.png"
local animSlippers_pin2_map = {
["slippers_r_15.png"] = {
file=path,
x=2,y=2,
width=204,height=194,
rotated=true
},
["slippers_l_12.png"] = {
file=path,
x=208,y=2,
width=204,height=194,
rotated=true
},
["slippers_r_8.png"] = {
file=pa... | 16.497382 | 58 | 0.609648 |
3e9bb746a437ec76873710706e57953979c85e22 | 5,218 | h | C | master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/legacy_code/legacy_client/kis_clinetframe.h | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 4 | 2018-09-07T15:35:24.000Z | 2019-03-27T09:48:12.000Z | master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/legacy_code/legacy_client/kis_clinetframe.h | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/legacy_code/legacy_client/kis_clinetframe.h | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 3 | 2019-06-18T19:57:17.000Z | 2020-11-06T03:55:08.000Z | /*
This file is part of Kismet
Kismet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Kismet is distributed in the ... | 28.205405 | 82 | 0.752204 |
47f7e29368012df345d61cc1501a197c597bb721 | 1,252 | css | CSS | src/main/resources/public/stylesheets/WaiterStyle.css | SirCen/Year2TeamProject | 29833443284b09bb94611ce97928adfb24c94bb4 | [
"MIT"
] | null | null | null | src/main/resources/public/stylesheets/WaiterStyle.css | SirCen/Year2TeamProject | 29833443284b09bb94611ce97928adfb24c94bb4 | [
"MIT"
] | null | null | null | src/main/resources/public/stylesheets/WaiterStyle.css | SirCen/Year2TeamProject | 29833443284b09bb94611ce97928adfb24c94bb4 | [
"MIT"
] | null | null | null | .waiter-ticket {
border:4px solid black;
max-height: 750px;
margin-bottom: 30px;
font: inherit;
font-size: 30px;
}
.card-body h5 {
font-size: inherit;
}
.waiter-ticket .list-group-flush {
height: 350px;
overflow-y: auto;
}
.waiter-ticket .btn-group-vertical {
margin-top: 5px;
padding-left: 20px;
... | 14.904762 | 36 | 0.650958 |
0dfd96bb43a2e28cd518cbd65bdb60ed716ba02e | 2,468 | kt | Kotlin | rpistream/app/src/main/java/com/anookday/rpistream/stream/settings/AudioConfigSampleRateFragment.kt | anookday/RPi-Video-Streamer | 0ea09a6e724faf893b9a57eef6c7c524e6450849 | [
"Apache-2.0"
] | null | null | null | rpistream/app/src/main/java/com/anookday/rpistream/stream/settings/AudioConfigSampleRateFragment.kt | anookday/RPi-Video-Streamer | 0ea09a6e724faf893b9a57eef6c7c524e6450849 | [
"Apache-2.0"
] | null | null | null | rpistream/app/src/main/java/com/anookday/rpistream/stream/settings/AudioConfigSampleRateFragment.kt | anookday/RPi-Video-Streamer | 0ea09a6e724faf893b9a57eef6c7c524e6450849 | [
"Apache-2.0"
] | null | null | null | package com.anookday.rpistream.stream.settings
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import com.anookday.rpistream.R
import com.anookday.rpistream.databindi... | 37.969231 | 94 | 0.68517 |
f50ce1111a28e1c3d30ddbadd1cd4a7e547169f6 | 552 | kt | Kotlin | mailingservice/src/main/kotlin/it/polito/master/ap/group6/ecommerce/mailingservice/MailingserviceApplication.kt | franckies/ecommerce-api | 884650f45ba385ee98ee0d0fa685404865169e74 | [
"Apache-2.0"
] | null | null | null | mailingservice/src/main/kotlin/it/polito/master/ap/group6/ecommerce/mailingservice/MailingserviceApplication.kt | franckies/ecommerce-api | 884650f45ba385ee98ee0d0fa685404865169e74 | [
"Apache-2.0"
] | null | null | null | mailingservice/src/main/kotlin/it/polito/master/ap/group6/ecommerce/mailingservice/MailingserviceApplication.kt | franckies/ecommerce-api | 884650f45ba385ee98ee0d0fa685404865169e74 | [
"Apache-2.0"
] | null | null | null | package it.polito.master.ap.group6.ecommerce.mailingservice
import it.polito.master.ap.group6.ecommerce.mailingservice.repositories.MailingRepository
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class MailingserviceApplicatio... | 26.285714 | 89 | 0.79529 |
4a458c4cb932e6aed45acddd379b837e21a22de4 | 985 | js | JavaScript | src/all.test.js | uk-gov-mirror/hmcts.govuk-frontend | 9d39b0e58c8215e0bdc6a5a55c49fc1d58fa18e1 | [
"MIT"
] | null | null | null | src/all.test.js | uk-gov-mirror/hmcts.govuk-frontend | 9d39b0e58c8215e0bdc6a5a55c49fc1d58fa18e1 | [
"MIT"
] | null | null | null | src/all.test.js | uk-gov-mirror/hmcts.govuk-frontend | 9d39b0e58c8215e0bdc6a5a55c49fc1d58fa18e1 | [
"MIT"
] | null | null | null | /* eslint-env jest */
const util = require('util')
const configPaths = require('../config/paths.json')
const sass = require('node-sass')
const sassRender = util.promisify(sass.render)
const sassConfig = {
includePaths: [ configPaths.src ]
}
describe('GOV.UK Frontend', () => {
describe('global styles', async() ... | 28.142857 | 77 | 0.594924 |
010f38fcd36b46dbeb008ad9b90544b11a088b83 | 854 | rs | Rust | src/sheen.rs | juliarose/tf2-enum | 4f7b9264d222551ae71f8bf6c0c03477dd6df713 | [
"MIT"
] | null | null | null | src/sheen.rs | juliarose/tf2-enum | 4f7b9264d222551ae71f8bf6c0c03477dd6df713 | [
"MIT"
] | null | null | null | src/sheen.rs | juliarose/tf2-enum | 4f7b9264d222551ae71f8bf6c0c03477dd6df713 | [
"MIT"
] | null | null | null | use strum_macros::{Display, EnumString, EnumIter};
use num_enum::{TryFromPrimitive, IntoPrimitive};
use serde_repr::{Serialize_repr, Deserialize_repr};
use crate::Attribute;
#[derive(Serialize_repr, Deserialize_repr, Debug, Hash, Eq, PartialEq, Display, EnumString, EnumIter, TryFromPrimitive, IntoPrimitive, Clone, Cop... | 31.62963 | 148 | 0.681499 |
4107ce5b6ed1633fa278d3ac5d24dbfd7cf01e5c | 5,406 | h | C | Tools/MaterialConverter/BaikalOld/SceneGraph/iterator.h | AlexanderVeselov/RadeonProRender-Baikal | 9d18d314c84e20abdf21c3850fe2a3b460285361 | [
"MIT"
] | 344 | 2017-05-05T11:16:01.000Z | 2021-11-22T10:57:53.000Z | Tools/MaterialConverter/BaikalOld/SceneGraph/iterator.h | missmah/RadeonProRender-Baikal | 2d5a5d0eb2092d75adf637bf6f381d7e9307e986 | [
"MIT"
] | 65 | 2017-05-15T12:20:23.000Z | 2020-03-08T10:05:31.000Z | Tools/MaterialConverter/BaikalOld/SceneGraph/iterator.h | missmah/RadeonProRender-Baikal | 2d5a5d0eb2092d75adf637bf6f381d7e9307e986 | [
"MIT"
] | 107 | 2017-05-06T23:18:44.000Z | 2022-01-31T07:23:34.000Z | /**********************************************************************
Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved.
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 wi... | 30.370787 | 110 | 0.58842 |
3d60ad7843a4d9704383b7fa3a512ba724484fbd | 8,189 | rs | Rust | services/sensor_tracker/src/predis.rs | Terkwood/prawnalith | fda255912eee8f7caff185b3507bdf052c9420d8 | [
"Apache-2.0",
"MIT"
] | 16 | 2018-11-06T09:31:55.000Z | 2021-07-01T15:14:41.000Z | services/sensor_tracker/src/predis.rs | Terkwood/prawnalith | fda255912eee8f7caff185b3507bdf052c9420d8 | [
"Apache-2.0",
"MIT"
] | 50 | 2018-10-05T12:55:50.000Z | 2020-05-23T15:15:37.000Z | services/sensor_tracker/src/predis.rs | Terkwood/prawnalith | fda255912eee8f7caff185b3507bdf052c9420d8 | [
"Apache-2.0",
"MIT"
] | null | null | null | use redis::Commands;
use super::model;
use redis_context::RedisContext;
use redis_delta::REvent;
use serde_json;
use std::time::SystemTime;
use uuid::Uuid;
/// Updates redis so that the individual measurement is applied to the correct tank.
/// Also records the measurement to a record associated with the sensor itsel... | 30.785714 | 98 | 0.571743 |
cb5bd4c77a005f7cc774b0dc9e6c98588ed48a17 | 1,909 | go | Go | libbeat/publisher/broker/membroker/produce.go | alexshadow007/beats | fa7fc6da2b12077f27b64779106d49ca390d41d4 | [
"Apache-2.0"
] | null | null | null | libbeat/publisher/broker/membroker/produce.go | alexshadow007/beats | fa7fc6da2b12077f27b64779106d49ca390d41d4 | [
"Apache-2.0"
] | null | null | null | libbeat/publisher/broker/membroker/produce.go | alexshadow007/beats | fa7fc6da2b12077f27b64779106d49ca390d41d4 | [
"Apache-2.0"
] | null | null | null | package membroker
import (
"github.com/elastic/beats/libbeat/publisher"
"github.com/elastic/beats/libbeat/publisher/broker"
)
type forgetfullProducer struct {
broker *Broker
}
type ackProducer struct {
broker *Broker
cancel bool
seq uint32
state produceState
}
type produceState struct {
cb ackHan... | 20.308511 | 78 | 0.71451 |
20775ee11fd612ca806b2f004d7f3c4a830c8dde | 18,808 | css | CSS | public/css/parallax.css | reggi49/CarreraCMS | 5ff5fceb661d9771c0e2f87ca5521658682e953c | [
"Apache-2.0"
] | null | null | null | public/css/parallax.css | reggi49/CarreraCMS | 5ff5fceb661d9771c0e2f87ca5521658682e953c | [
"Apache-2.0"
] | null | null | null | public/css/parallax.css | reggi49/CarreraCMS | 5ff5fceb661d9771c0e2f87ca5521658682e953c | [
"Apache-2.0"
] | null | null | null | /* parallax */
.container {
position:fixed;
width:100vw;
height:100vh;
bottom:0;
left:0;
}
.scene {
padding: 0;
margin: 0;
bottom:0;
left:0;
}
.b1 {
width:700px;
height:90px;
position:relative;
background:#1e1e1e;
transform:rotate(75deg);
top:92vh;
margin-left:-335px;
}
.b2 {
width:500px;
heig... | 23.989796 | 83 | 0.702414 |
df7e0b5f52813f1c6741f6a333b2914acaf4edd8 | 732 | sql | SQL | oracle-base/datafiles.sql | gabrieltr/oracle_scripts | 3a4e1f5d73f76429e9659077746cc499308793ec | [
"MIT"
] | null | null | null | oracle-base/datafiles.sql | gabrieltr/oracle_scripts | 3a4e1f5d73f76429e9659077746cc499308793ec | [
"MIT"
] | null | null | null | oracle-base/datafiles.sql | gabrieltr/oracle_scripts | 3a4e1f5d73f76429e9659077746cc499308793ec | [
"MIT"
] | null | null | null | -- -----------------------------------------------------------------------------------
-- File Name : https://oracle-base.com/dba/monitoring/datafiles.sql
-- Author : Tim Hall
-- Description : Displays information about datafiles.
-- Requirements : Access to the V$ views.
-- Call Syntax : @datafiles
--... | 33.272727 | 87 | 0.508197 |
f07f1c21b8f06d89cde1866e0e0a9e2404549ae4 | 10,586 | py | Python | src/python/vrprim/photosphere/conv.py | cmbruns/vr_samples | 8dee056766bccca1a602c6dd58fd0a641c5033a5 | [
"MIT"
] | 1 | 2017-01-29T21:15:23.000Z | 2017-01-29T21:15:23.000Z | src/python/vrprim/photosphere/conv.py | cmbruns/vr_samples | 8dee056766bccca1a602c6dd58fd0a641c5033a5 | [
"MIT"
] | 2 | 2017-01-29T20:34:39.000Z | 2017-01-29T23:26:05.000Z | src/python/vrprim/photosphere/conv.py | cmbruns/vr_samples | 8dee056766bccca1a602c6dd58fd0a641c5033a5 | [
"MIT"
] | null | null | null | """
Convert spherical panorama in equirectangular format into cubemap format
"""
from math import pi, log2
import numpy
from libtiff import TIFF
import png
import glfw
from OpenGL import GL
from OpenGL.GL import shaders
from OpenGL.GL.EXT.texture_filter_anisotropic import GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, GL_TEXTURE... | 38.919118 | 129 | 0.53344 |
f5828a92424030378272364fd079504e556ff390 | 2,611 | css | CSS | src/terminal/components/itemEditor/itemEditor.module.css | wann100/electron-react-webpack-typescript-2021 | 413011c25df8370c6ee3af8942852bd68df34607 | [
"MIT"
] | 28 | 2019-05-12T09:09:20.000Z | 2022-03-24T15:53:12.000Z | src/terminal/components/itemEditor/itemEditor.module.css | wann100/electron-react-webpack-typescript-2021 | 413011c25df8370c6ee3af8942852bd68df34607 | [
"MIT"
] | 2 | 2020-04-20T19:04:01.000Z | 2022-02-09T09:26:04.000Z | src/terminal/components/itemEditor/itemEditor.module.css | wann100/electron-react-webpack-typescript-2021 | 413011c25df8370c6ee3af8942852bd68df34607 | [
"MIT"
] | 25 | 2019-08-01T01:17:14.000Z | 2022-03-07T05:42:06.000Z | @value moduleHeight: 4rem;
.root {
overflow-x: hidden;
overflow-y: auto;
position: fixed;
top: 0;
left: 0;
z-index: 100;
width: 100%;
height: 100%;
outline: 0;
transition: opacity .15s linear;
}
.backdrop {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color... | 17.177632 | 78 | 0.648794 |
fe252bb3ceb924433e818c62a07652277cb2424f | 665 | kt | Kotlin | src/main/kotlin/offer2/13.kt | korilin/leetcode_kt_solution | 1ce05efeaf34536fff5fa6226bdcfd28247b2660 | [
"MIT"
] | 1 | 2021-03-16T20:52:20.000Z | 2021-03-16T20:52:20.000Z | src/main/kotlin/offer2/13.kt | korilin/leetcode_kt_solution | 1ce05efeaf34536fff5fa6226bdcfd28247b2660 | [
"MIT"
] | null | null | null | src/main/kotlin/offer2/13.kt | korilin/leetcode_kt_solution | 1ce05efeaf34536fff5fa6226bdcfd28247b2660 | [
"MIT"
] | null | null | null | package offer2
fun movingCount(m: Int, n: Int, k: Int): Int {
val vis = Array(m) { _m ->
Array(n) { _n ->
var mTemp = _m
var nTemp = _n
var c = 0
while (mTemp != 0 || nTemp != 0) {
c += mTemp % 10 + nTemp % 10
mTemp /= 10
... | 23.75 | 96 | 0.386466 |
6de4110eec117c21c634dc1904a1d72c2d6ed257 | 154 | kt | Kotlin | app/src/main/java/com/sazib/pinboard/ui/splash/interactor/SplashMVPInteractor.kt | sazibislam/pin_board | e6bf2d3c97c7fadcbd7acf9e422b47165f990ac0 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/sazib/pinboard/ui/splash/interactor/SplashMVPInteractor.kt | sazibislam/pin_board | e6bf2d3c97c7fadcbd7acf9e422b47165f990ac0 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/sazib/pinboard/ui/splash/interactor/SplashMVPInteractor.kt | sazibislam/pin_board | e6bf2d3c97c7fadcbd7acf9e422b47165f990ac0 | [
"Apache-2.0"
] | null | null | null | package com.sazib.pinboard.ui.splash.interactor
import com.sazib.pinboard.ui.base.interactor.MVPInteractor
interface SplashMVPInteractor : MVPInteractor | 30.8 | 58 | 0.863636 |
c3d3439acf75a13b35d9c365a0760bf92cb5962d | 2,026 | rs | Rust | secp256kfun/src/libsecp_compat.rs | delta1/secp256kfun | 89c19f60a2ca33de967b1896f52282898d930be5 | [
"0BSD"
] | null | null | null | secp256kfun/src/libsecp_compat.rs | delta1/secp256kfun | 89c19f60a2ca33de967b1896f52282898d930be5 | [
"0BSD"
] | null | null | null | secp256kfun/src/libsecp_compat.rs | delta1/secp256kfun | 89c19f60a2ca33de967b1896f52282898d930be5 | [
"0BSD"
] | null | null | null | use crate::{
marker::*,
secp256k1::{PublicKey, SecretKey, XOnlyPublicKey},
Point, Scalar, XOnly,
};
impl From<Scalar> for SecretKey {
fn from(scalar: Scalar) -> Self {
SecretKey::from_slice(scalar.to_bytes().as_ref()).unwrap()
}
}
impl From<SecretKey> for Scalar {
fn from(sk: SecretKey... | 25.325 | 180 | 0.607601 |
c490e0c8792d5756998e818a1f719b6e44707502 | 2,496 | h | C | SoA/AmbiencePlayer.h | Revan1985/SoACode-Public | c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe | [
"MIT"
] | 267 | 2018-06-03T23:05:05.000Z | 2022-03-17T00:28:40.000Z | SoA/AmbiencePlayer.h | davidkestering/SoACode-Public | c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe | [
"MIT"
] | 16 | 2018-06-05T18:59:11.000Z | 2021-09-28T05:05:16.000Z | SoA/AmbiencePlayer.h | davidkestering/SoACode-Public | c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe | [
"MIT"
] | 113 | 2018-06-03T23:56:13.000Z | 2022-03-21T00:07:16.000Z | ///
/// AmbiencePlayer.h
/// Seed of Andromeda
///
/// Created by Cristian Zaloj on 11 Jan 2015
/// Copyright 2014 Regrowth Studios
/// MIT License
///
/// Summary:
/// Plays ambience tracks with cross-fading
///
#pragma once
#ifndef AmbiencePlayer_h__
#define AmbiencePlayer_h__
#include <Vorb/Random.h>
#include <Vo... | 33.72973 | 101 | 0.708333 |
5fad34455c37559729e2e5e8bf0cd817fd8bf202 | 17,926 | h | C | src/include/xui/xui.h | HareGun/xboot | 4cc7db09c622d45c42774d5cbedcfef683c9b735 | [
"MIT"
] | 590 | 2015-08-05T03:00:17.000Z | 2022-03-27T14:37:10.000Z | src/include/xui/xui.h | HareGun/xboot | 4cc7db09c622d45c42774d5cbedcfef683c9b735 | [
"MIT"
] | 22 | 2017-07-22T08:33:18.000Z | 2022-03-30T06:38:42.000Z | src/include/xui/xui.h | HareGun/xboot | 4cc7db09c622d45c42774d5cbedcfef683c9b735 | [
"MIT"
] | 247 | 2015-07-06T10:13:48.000Z | 2022-03-20T13:08:21.000Z | #ifndef __XUI_H__
#define __XUI_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <xboot/window.h>
#include <input/keyboard.h>
#include <graphic/point.h>
#include <graphic/region.h>
#include <graphic/color.h>
#include <graphic/font.h>
#include <graphic/text.h>
#include <graphic/icon.h>
#define XUI_... | 24.522572 | 164 | 0.694968 |
6b694d9ce2965cab26f631d10e3f09b1d304052a | 3,987 | asm | Assembly | data/tilesets/cinnabar_collision.asm | Trap-Master/spacworld97-thingy | a144827abecacdfec6cdc3baa32098e9290adf70 | [
"blessing"
] | null | null | null | data/tilesets/cinnabar_collision.asm | Trap-Master/spacworld97-thingy | a144827abecacdfec6cdc3baa32098e9290adf70 | [
"blessing"
] | null | null | null | data/tilesets/cinnabar_collision.asm | Trap-Master/spacworld97-thingy | a144827abecacdfec6cdc3baa32098e9290adf70 | [
"blessing"
] | null | null | null | tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 00
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 02
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 03
tilecoll WALL, WALL, WALL, WALL ; 04
tilecoll WALL, WALL, DOOR, WALL ; 05
tilecoll WALL, WALL, WALL, WALL ; 06
tilecoll WALL, WALL, WALL, WALL ; 07
... | 39.87 | 47 | 0.702032 |
e7fca20cce05d1364eee53a17bec476012eb661d | 2,177 | py | Python | dropconnect/combine_pred_mod.py | zygmuntz/kaggle-cifar | 16936af9cf621d668c50491291e042a7849a1ac3 | [
"BSD-2-Clause"
] | 26 | 2015-01-12T18:00:50.000Z | 2020-12-19T23:49:16.000Z | dropconnect/combine_pred_mod.py | zygmuntz/kaggle-cifar | 16936af9cf621d668c50491291e042a7849a1ac3 | [
"BSD-2-Clause"
] | null | null | null | dropconnect/combine_pred_mod.py | zygmuntz/kaggle-cifar | 16936af9cf621d668c50491291e042a7849a1ac3 | [
"BSD-2-Clause"
] | 26 | 2015-01-10T22:35:01.000Z | 2020-01-15T08:56:53.000Z | #------------------------------------------
# this script combine result of different
# nets and report final result
#------------------------------------------
import sys
import numpy as np
from util import pickle, unpickle
def evaluate_result( result, text ):
# pre-condition check
num_batches = len( result[... | 30.661972 | 87 | 0.592559 |
a9aaf9ed24fa9e87e49c6436b41954133f29a86f | 1,353 | kt | Kotlin | RemoteBees-Android/RemoteBeesService/src/main/java/dev/beehive/remotebees/service/manager/RemoteBeesServiceManager.kt | k10dev/RemoteBees | f819eb22fb2177fdde12109f6ce81376a8ef3d9c | [
"MIT"
] | null | null | null | RemoteBees-Android/RemoteBeesService/src/main/java/dev/beehive/remotebees/service/manager/RemoteBeesServiceManager.kt | k10dev/RemoteBees | f819eb22fb2177fdde12109f6ce81376a8ef3d9c | [
"MIT"
] | null | null | null | RemoteBees-Android/RemoteBeesService/src/main/java/dev/beehive/remotebees/service/manager/RemoteBeesServiceManager.kt | k10dev/RemoteBees | f819eb22fb2177fdde12109f6ce81376a8ef3d9c | [
"MIT"
] | null | null | null | /***************************************************************************
* This source file is part of the RemoteBees open source project. *
* *
* Licensed under the MIT License. See LICENSE for license information *
***********... | 46.655172 | 107 | 0.62306 |
4da0924d6484827a387481427323cb5a7df15bde | 1,287 | html | HTML | public/pages/results.html | cdig/match-or-miss | 8c9cb2c9d253c7ad5ddb61a419032b670c91e61b | [
"IJG"
] | null | null | null | public/pages/results.html | cdig/match-or-miss | 8c9cb2c9d253c7ad5ddb61a419032b670c91e61b | [
"IJG"
] | 2 | 2016-06-13T20:36:34.000Z | 2018-02-25T04:17:46.000Z | public/pages/results.html | cdig/match-or-miss | 8c9cb2c9d253c7ad5ddb61a419032b670c91e61b | [
"IJG"
] | null | null | null | <div class="complete" ng-show="gameStatus.complete">
<div class="review" ng-show="gameStatus.mistakes > 0">
<div ng-show="badResults.length > 0">
<h1>Quick Review</h1>
<div class="current" ng-repeat="choice in badResults | limitTo:1">
<div class="image"><span cd-bimg="{{contentPath}}/{{choice.... | 34.783784 | 89 | 0.589744 |
d96c85a475d2554954202bea5d693e64fffdb972 | 498 | lua | Lua | examples/muti.lua | LuaDist/lua-curl | 3da57c928ad5c5ef24714b250ceb38f1d5d96eac | [
"MIT"
] | 1 | 2016-01-15T05:35:35.000Z | 2016-01-15T05:35:35.000Z | examples/muti.lua | LuaDist/lua-curl | 3da57c928ad5c5ef24714b250ceb38f1d5d96eac | [
"MIT"
] | null | null | null | examples/muti.lua | LuaDist/lua-curl | 3da57c928ad5c5ef24714b250ceb38f1d5d96eac | [
"MIT"
] | 1 | 2022-01-14T10:26:57.000Z | 2022-01-14T10:26:57.000Z | require("cURL")
-- setup easy
c = cURL.easy_init()
c2 = cURL.easy_init()
-- setup url
c:setopt_url("http://www.example.com/")
c2:setopt_url("http://www.hoetzel.info/")
-- c.perform()
m = cURL.multi_init()
m2 = cURL.multi_init()
m:add_handle(c)
m2:add_handle(c2)
-- perform,
-- it = m:perform()
for data, type, easy i... | 21.652174 | 57 | 0.64257 |
a1795f55a384b6138d1e30093e3e6ef7447da5f8 | 2,266 | go | Go | pkg/assert/assert.go | scottcagno/storage | e54fed254539aebc0588d0a736faa69dc1bfbf27 | [
"BSD-3-Clause"
] | 1 | 2021-12-11T22:32:06.000Z | 2021-12-11T22:32:06.000Z | pkg/assert/assert.go | scottcagno/storage | e54fed254539aebc0588d0a736faa69dc1bfbf27 | [
"BSD-3-Clause"
] | null | null | null | pkg/assert/assert.go | scottcagno/storage | e54fed254539aebc0588d0a736faa69dc1bfbf27 | [
"BSD-3-Clause"
] | null | null | null | package assert
import "log"
func AssertTrue(isTrue bool) {
if isTrue == true {
log.Printf("assert true: condition=%t", isTrue)
}
}
func AssertFalse(isFalse bool) {
if isFalse == false {
log.Printf("assert false: condition=%t", isFalse)
}
}
func AssertTrueMsg(isTrue bool, msg string) {
if isTrue == true {
... | 17.703125 | 51 | 0.641218 |
9c5f452b6e63404c83c69a32325619d3e819ef93 | 2,216 | js | JavaScript | commands/weapons/all/p90.js | havoXD/Scav-Homie | ffe56db27aad444409d5c6fea646895a385f1788 | [
"MIT"
] | null | null | null | commands/weapons/all/p90.js | havoXD/Scav-Homie | ffe56db27aad444409d5c6fea646895a385f1788 | [
"MIT"
] | null | null | null | commands/weapons/all/p90.js | havoXD/Scav-Homie | ffe56db27aad444409d5c6fea646895a385f1788 | [
"MIT"
] | null | null | null | const config = require("../../config.json")
module.exports = {
name: 'p90',
cooldown: 30,
aliases: ['bp90', 'b p90', 'bfnp90', 'bfn p90', 'b fn p90', 'bfn-p90', 'bep90', 'be p90', 'befnp90', 'befn p90', 'be fn p90', 'befn-p90', 'brp90', 'brASh12', 'brfnp90', 'brfn p90', 'br fn p90', 'brfn-p90'],
descri... | 42.615385 | 298 | 0.466155 |
7b0074d60fa1c6b99e8c6fd7415944d0de6f1eef | 43 | sql | SQL | tests/sql/org8.sql | ckeller/qcert | 32ddd83ad8d5aab1f2b8892a5208faf5cecf3036 | [
"Apache-2.0"
] | 53 | 2016-06-23T04:03:02.000Z | 2022-01-20T16:16:52.000Z | tests/sql/org8.sql | ckeller/qcert | 32ddd83ad8d5aab1f2b8892a5208faf5cecf3036 | [
"Apache-2.0"
] | 120 | 2016-06-28T13:24:18.000Z | 2021-09-10T06:40:44.000Z | tests/sql/org8.sql | ckeller/qcert | 32ddd83ad8d5aab1f2b8892a5208faf5cecf3036 | [
"Apache-2.0"
] | 13 | 2016-06-29T13:51:31.000Z | 2021-09-10T11:18:00.000Z | SELECT name
FROM employees
WHERE age = 32;
| 10.75 | 15 | 0.767442 |
18590eb07a45bdeb99644228d5266b6e12fc240f | 12,513 | css | CSS | public/phone/css/news-1.css | maqsat/new_unilife | 6edb6af232b62f6fdcfcde9d75879d2433a32fe3 | [
"MIT"
] | null | null | null | public/phone/css/news-1.css | maqsat/new_unilife | 6edb6af232b62f6fdcfcde9d75879d2433a32fe3 | [
"MIT"
] | 1 | 2020-04-22T19:38:56.000Z | 2020-04-22T19:38:56.000Z | public/phone/css/news-1.css | maqsat/new_unilife | 6edb6af232b62f6fdcfcde9d75879d2433a32fe3 | [
"MIT"
] | null | null | null | .version.news_1{color:#0000E2;background-color:#1C06F9;}#page{z-index:1;width:380px;min-height:754px;background-image:none;border-width:0px;border-color:#000000;background-color:transparent;}#pu6126{z-index:217;width:0.01px;height:0px;padding-bottom:92px;margin-right:-10000px;}#u6126{z-index:217;height:92px;}.js body{v... | 12,513 | 12,513 | 0.795892 |
3d09fa6baa812e2b2a3c71a6713ef7040af6ee98 | 11,169 | go | Go | pkg/networking/cilium/templater_test.go | jonahjon/eks-anywhere | 1e44147248103a40a7a02e6f4f973d7eb03d5f71 | [
"Apache-2.0"
] | null | null | null | pkg/networking/cilium/templater_test.go | jonahjon/eks-anywhere | 1e44147248103a40a7a02e6f4f973d7eb03d5f71 | [
"Apache-2.0"
] | null | null | null | pkg/networking/cilium/templater_test.go | jonahjon/eks-anywhere | 1e44147248103a40a7a02e6f4f973d7eb03d5f71 | [
"Apache-2.0"
] | 1 | 2022-03-15T14:33:30.000Z | 2022-03-15T14:33:30.000Z | package cilium_test
import (
"context"
"encoding/json"
"errors"
"fmt"
"reflect"
"testing"
"github.com/golang/mock/gomock"
. "github.com/onsi/gomega"
"github.com/aws/eks-anywhere/internal/test"
"github.com/aws/eks-anywhere/pkg/api/v1alpha1"
"github.com/aws/eks-anywhere/pkg/cluster"
"github.com/aws/eks-any... | 32.946903 | 166 | 0.67186 |
07c37a7d5d6bb4e08732168a65615a77307dba19 | 699 | asm | Assembly | programs/oeis/033/A033264.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/033/A033264.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/033/A033264.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A033264: Number of blocks of {1,0} in the binary expansion of n.
; 0,1,0,1,1,1,0,1,1,2,1,1,1,1,0,1,1,2,1,2,2,2,1,1,1,2,1,1,1,1,0,1,1,2,1,2,2,2,1,2,2,3,2,2,2,2,1,1,1,2,1,2,2,2,1,1,1,2,1,1,1,1,0,1,1,2,1,2,2,2,1,2,2,3,2,2,2,2,1,2,2,3,2,3,3,3,2,2,2,3,2,2,2,2,1,1,1,2,1,2,2,2,1,2,2,3,2,2,2,2,1,1,1,2,1,2,2,2,1,1,1,2,1,1,1,1... | 41.117647 | 501 | 0.515021 |
04085a36e11bed5856e78f48de115650714a1588 | 1,020 | js | JavaScript | packages/q3-core-access/lib/core/accessControl.js | 3merge/q3-api | 54978dea03e471af36e9485792f2adf850cf7267 | [
"MIT"
] | 3 | 2021-05-28T01:12:08.000Z | 2021-12-14T00:13:18.000Z | packages/q3-core-access/lib/core/accessControl.js | 3merge/q3-api | 54978dea03e471af36e9485792f2adf850cf7267 | [
"MIT"
] | 74 | 2019-12-02T15:39:14.000Z | 2022-03-20T15:04:40.000Z | packages/q3-core-access/lib/core/accessControl.js | 3merge/q3-api | 54978dea03e471af36e9485792f2adf850cf7267 | [
"MIT"
] | null | null | null | const {
findFileTraversingUpwards,
} = require('q3-schema-utils');
const { filterByRoleType } = require('../helpers');
const AccessControl = {
init(src = []) {
let grants = [];
if (typeof src === 'string')
grants = findFileTraversingUpwards(
src,
'q3-access.json',
);
else i... | 21.25 | 60 | 0.564706 |
6f74192a8ce87267680e64324008dea33565e533 | 1,031 | asm | Assembly | programs/oeis/275/A275910.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/275/A275910.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/275/A275910.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A275910: Numbers not congruent to 0, 1 or 8 mod 9.
; 2,3,4,5,6,7,11,12,13,14,15,16,20,21,22,23,24,25,29,30,31,32,33,34,38,39,40,41,42,43,47,48,49,50,51,52,56,57,58,59,60,61,65,66,67,68,69,70,74,75,76,77,78,79,83,84,85,86,87,88,92,93,94,95,96,97,101,102,103,104,105,106,110,111,112,113,114,115,119,120,121,122,123,124,1... | 114.555556 | 929 | 0.71775 |
5bbea44f58b79da75aade0ea50b6687d9cb2b9d0 | 188 | swift | Swift | EurosportKit/Models/Generated/Catchup+CoreDataClass.swift | alexanderedge/European-Sports | c57918647c172317ed38b3e95b8a0751fe348cf4 | [
"MIT"
] | 2 | 2017-04-04T09:49:14.000Z | 2017-08-24T17:37:28.000Z | EurosportKit/Models/Generated/Catchup+CoreDataClass.swift | alexanderedge/European-Sports | c57918647c172317ed38b3e95b8a0751fe348cf4 | [
"MIT"
] | null | null | null | EurosportKit/Models/Generated/Catchup+CoreDataClass.swift | alexanderedge/European-Sports | c57918647c172317ed38b3e95b8a0751fe348cf4 | [
"MIT"
] | null | null | null | //
// Catchup+CoreDataClass.swift
//
//
// Created by Alexander Edge on 30/01/2017.
//
//
import Foundation
import CoreData
@objc(Catchup)
public class Catchup: NSManagedObject {
}
| 11.75 | 44 | 0.696809 |
5c208207c73e1bdcc0d46f02cb853727717694eb | 196 | kt | Kotlin | idea/testData/debugger/exceptionFilter/inlineFunCallSiteInLambdaInlinedIntoObject/inlineFunCallSiteInLambdaInlinedIntoObject.kt | tgeng/intellij-kotlin | 074f16db036cbdc3dc3e082841c1573b2da74f2d | [
"ECL-2.0",
"Apache-2.0"
] | 71 | 2020-10-12T14:18:06.000Z | 2022-02-25T07:57:06.000Z | idea/testData/debugger/exceptionFilter/inlineFunCallSiteInLambdaInlinedIntoObject/inlineFunCallSiteInLambdaInlinedIntoObject.kt | tgeng/intellij-kotlin | 074f16db036cbdc3dc3e082841c1573b2da74f2d | [
"ECL-2.0",
"Apache-2.0"
] | 76 | 2020-11-13T12:30:25.000Z | 2021-09-17T15:32:57.000Z | idea/testData/debugger/exceptionFilter/inlineFunCallSiteInLambdaInlinedIntoObject/inlineFunCallSiteInLambdaInlinedIntoObject.kt | tgeng/intellij-kotlin | 074f16db036cbdc3dc3e082841c1573b2da74f2d | [
"ECL-2.0",
"Apache-2.0"
] | 36 | 2020-10-12T14:04:32.000Z | 2022-01-29T20:35:30.000Z | fun box() {
foo {
bar()
}
}
// MAIN_CLASS: InlineFunCallSiteInLambdaInlinedIntoObjectKt
// NAVIGATE_TO_CALL_SITE
// FILE: inlineFunCallSiteInLambdaInlinedIntoObject.kt
// LINE: 3
| 17.818182 | 59 | 0.714286 |
9aee5079fe59b4e91098631564815b512f755c24 | 913 | css | CSS | src/paginas/Agenda/estilo.css | LNovaes-bit/Consultorio-Odontologia | 478410938d848efc14ec0acaba7f66fdcfcbe4e8 | [
"MIT"
] | null | null | null | src/paginas/Agenda/estilo.css | LNovaes-bit/Consultorio-Odontologia | 478410938d848efc14ec0acaba7f66fdcfcbe4e8 | [
"MIT"
] | null | null | null | src/paginas/Agenda/estilo.css | LNovaes-bit/Consultorio-Odontologia | 478410938d848efc14ec0acaba7f66fdcfcbe4e8 | [
"MIT"
] | null | null | null | .formulario-container{
display: flex;
justify-content: center;
margin: 0 auto;
padding: 70px;
width: 55%;
}
.title{
width: 50% auto;
align-self: center;
}
.formulario{
width: 50% auto;
align-self: center;
}
.lista-formulario{
list-style: none;
text-alig... | 16.6 | 43 | 0.56736 |
c4948d9c46947f395de3b8bac942637f6e437c98 | 351 | c | C | lib/mnml/logic/equ.c | xguerin/minima.l | 6b0ef6d8d7b0f144dc07e734365f0b44cd145511 | [
"0BSD"
] | 4 | 2018-02-26T23:43:50.000Z | 2021-02-19T16:06:25.000Z | lib/mnml/logic/equ.c | xguerin/minima.l | 6b0ef6d8d7b0f144dc07e734365f0b44cd145511 | [
"0BSD"
] | 2 | 2018-01-31T19:35:19.000Z | 2018-04-10T19:24:55.000Z | lib/mnml/logic/equ.c | xguerin/minima.l | 6b0ef6d8d7b0f144dc07e734365f0b44cd145511 | [
"0BSD"
] | 1 | 2018-02-27T00:43:14.000Z | 2018-02-27T00:43:14.000Z | #include <mnml/lisp.h>
#include <mnml/module.h>
#include <mnml/slab.h>
#include <mnml/utils.h>
static atom_t USED
lisp_function_equ(const lisp_t lisp, const atom_t closure)
{
LISP_ARGS(closure, C, X, Y);
return lisp_equ(X, Y) ? lisp_make_true(lisp) : lisp_make_nil(lisp);
}
LISP_MODULE_SETUP(equ, =, X, Y, NIL)
//... | 21.9375 | 69 | 0.703704 |
859b6042e3679d82abe753c8afc340859b40cead | 1,027 | asm | Assembly | src/game_logic/grow_snake.asm | lawrimon/SnakeV | 619a7e3697ef60950960ac0cce4b2f57f25d526f | [
"MIT"
] | 2 | 2021-12-08T18:10:44.000Z | 2022-03-11T09:24:51.000Z | src/game_logic/grow_snake.asm | lawrimon/SnakeV | 619a7e3697ef60950960ac0cce4b2f57f25d526f | [
"MIT"
] | null | null | null | src/game_logic/grow_snake.asm | lawrimon/SnakeV | 619a7e3697ef60950960ac0cce4b2f57f25d526f | [
"MIT"
] | 1 | 2021-11-03T17:10:56.000Z | 2021-11-03T17:10:56.000Z |
.text
grow_snake:
# inputs:
# -s0 = new coordinates of snake head
# -s9 = coordinate of fruit (should be the same since grow is called if the coordinates are equal)
# output:
# - changed s4 vector with new head
lw t0, 0(s4) #load length of snake
addi t0,t0 ,1 #increase length of snake
sw t0, ... | 21.395833 | 122 | 0.643622 |
e95d801f3b0c4b9df524a0e74930bd9d5230ddde | 179 | rb | Ruby | db/migrate/20081029150556_add_system_to_locale.rb | rdd-giga/tolk | cc0272d4627bcbb4005d5635ba7d1fdaab0eb6dd | [
"MIT"
] | 2 | 2021-11-05T03:21:51.000Z | 2021-11-15T10:36:42.000Z | db/migrate/20081029150556_add_system_to_locale.rb | rdd-giga/tolk | cc0272d4627bcbb4005d5635ba7d1fdaab0eb6dd | [
"MIT"
] | null | null | null | db/migrate/20081029150556_add_system_to_locale.rb | rdd-giga/tolk | cc0272d4627bcbb4005d5635ba7d1fdaab0eb6dd | [
"MIT"
] | 2 | 2015-09-13T18:52:52.000Z | 2021-06-22T09:37:25.000Z | class AddSystemToLocale < ActiveRecord::Migration
def self.up
add_column :locales, :system_id, :integer
end
def self.down
remove_column :locales, :system
end
end
| 17.9 | 49 | 0.731844 |
f08cdedba45af65e9ee27ec2906322bb1895ca95 | 3,579 | js | JavaScript | BrownfieldTestApp/MainScreen.js | berickson1/AppCenter-SDK-React-Native | 89f9bbb79480ca4b6812502d0b1d9d06ca8d8893 | [
"MIT"
] | null | null | null | BrownfieldTestApp/MainScreen.js | berickson1/AppCenter-SDK-React-Native | 89f9bbb79480ca4b6812502d0b1d9d06ca8d8893 | [
"MIT"
] | null | null | null | BrownfieldTestApp/MainScreen.js | berickson1/AppCenter-SDK-React-Native | 89f9bbb79480ca4b6812502d0b1d9d06ca8d8893 | [
"MIT"
] | null | null | null | /**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import { AppState, Alert, Button, View, Platform, ToastAndroid, Text } from 'react-native';
import AppCenter from 'appcenter';
import Crashes, { UserConfirmation, ErrorAttachmentLog } from ... | 39.32967 | 114 | 0.738195 |
02eafc1228839eb6ef8b2e7574f11271c46ba5c8 | 1,385 | kt | Kotlin | navigation/src/main/java/com/example/navigation/IRouter.kt | alizeec/Kotlin-Pokedex | eb49a54af4aba22beb648d403ab4f19c60be1a65 | [
"MIT"
] | 23 | 2020-02-13T13:35:17.000Z | 2022-03-30T19:16:18.000Z | navigation/src/main/java/com/example/navigation/IRouter.kt | alizeec/Kotlin-Pokedex | eb49a54af4aba22beb648d403ab4f19c60be1a65 | [
"MIT"
] | null | null | null | navigation/src/main/java/com/example/navigation/IRouter.kt | alizeec/Kotlin-Pokedex | eb49a54af4aba22beb648d403ab4f19c60be1a65 | [
"MIT"
] | null | null | null | package com.example.navigation
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
interface IRouter {
val currentActivity: AppCompatActivity?
val currentFragment: Fragment?
fun navigateTo(
destination: String,
extras: Map<Strin... | 27.7 | 95 | 0.723466 |
c48dd6de4c38af4e71238272d39615da0ba111bd | 527 | h | C | Demo/Demo/ArtTableViewController.h | sai417747/HHHorizontalPagingView | 5c7689bc4dee230eeda325849245d24898c03862 | [
"Apache-2.0"
] | 131 | 2016-05-28T15:19:10.000Z | 2022-01-06T17:45:13.000Z | Demo/Demo/ArtTableViewController.h | hgl753951/HHHorizontalPagingView | d156c7fc7f5cfb52581334a43f2e32af8934bf07 | [
"Apache-2.0"
] | 8 | 2016-06-07T07:33:42.000Z | 2019-11-14T08:00:36.000Z | Demo/Demo/ArtTableViewController.h | hgl753951/HHHorizontalPagingView | d156c7fc7f5cfb52581334a43f2e32af8934bf07 | [
"Apache-2.0"
] | 37 | 2016-05-30T02:15:11.000Z | 2020-06-01T16:09:02.000Z | //
// ArtTableViewController.h
// Demo
//
// Created by weijingyun on 16/5/28.
// Copyright © 2016年 weijingyun. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ArtTableViewController : UIViewController
@property (nonatomic, strong, readonly) UITableView *tableView;
@property (nonatomic, assign) NSInte... | 26.35 | 84 | 0.762808 |
3d8d6a3eb9e5748264aaafd069f81ac63a349a7d | 1,936 | rs | Rust | src/libnm_dbus/connection/bridge.rs | qinqon/nmstate-rs | d954aa32ffd80ee5ea9f1c998f4d30f59e059a17 | [
"Apache-2.0"
] | 1 | 2019-06-18T14:27:53.000Z | 2019-06-18T14:27:53.000Z | src/libnm_dbus/connection/bridge.rs | qinqon/nmstate-rs | d954aa32ffd80ee5ea9f1c998f4d30f59e059a17 | [
"Apache-2.0"
] | null | null | null | src/libnm_dbus/connection/bridge.rs | qinqon/nmstate-rs | d954aa32ffd80ee5ea9f1c998f4d30f59e059a17 | [
"Apache-2.0"
] | 1 | 2021-10-01T11:57:34.000Z | 2021-10-01T11:57:34.000Z | // Copyright 2021 Red Hat, 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 i... | 27.657143 | 78 | 0.64876 |
d958cb0255fdfe3f12562abfa28eacd7a49ae096 | 1,078 | rs | Rust | crates/batbox/src/approx.rs | Nertsal/geng | 28b36e9dab75a261189e8590e534d9668ea8ffe7 | [
"MIT"
] | 10 | 2020-07-29T02:49:22.000Z | 2022-03-01T14:55:12.000Z | crates/batbox/src/approx.rs | Nertsal/geng | 28b36e9dab75a261189e8590e534d9668ea8ffe7 | [
"MIT"
] | 32 | 2021-03-04T02:32:24.000Z | 2022-03-17T19:49:43.000Z | crates/batbox/src/approx.rs | Nertsal/geng | 28b36e9dab75a261189e8590e534d9668ea8ffe7 | [
"MIT"
] | 2 | 2021-09-27T13:58:12.000Z | 2022-03-30T15:43:27.000Z | use super::*;
const DEFAULT_EPS: f32 = 1e-9;
pub trait ApproxEq {
fn approx_distance_to(&self, other: &Self) -> f32;
fn approx_eq(&self, other: &Self) -> bool {
self.approx_eq_eps(other, DEFAULT_EPS)
}
fn approx_eq_eps(&self, other: &Self, eps: f32) -> bool {
self.approx_distance_to(o... | 27.641026 | 61 | 0.640074 |
7ff9a2e5c4ef8da3a3a8f6fe42a7b6fdb515225f | 919 | go | Go | service/disk/client.go | xinyulu3344/jdcloud-cli | 62307bf8b392ab2719fa1de046c76d174bd77ded | [
"Apache-2.0"
] | 1 | 2019-09-08T13:53:01.000Z | 2019-09-08T13:53:01.000Z | service/disk/client.go | xinyulu3344/jdcloud-cli | 62307bf8b392ab2719fa1de046c76d174bd77ded | [
"Apache-2.0"
] | null | null | null | service/disk/client.go | xinyulu3344/jdcloud-cli | 62307bf8b392ab2719fa1de046c76d174bd77ded | [
"Apache-2.0"
] | null | null | null | package disk
import (
"jdcloud-cli/cli"
"jdcloud-cli/config"
"github.com/jdcloud-api/jdcloud-sdk-go/services/disk/client"
"github.com/jdcloud-api/jdcloud-sdk-go/core"
common "github.com/jdcloud-api/jdcloud-sdk-go/services/common/models"
disk "github.com/jdcloud-api/jdcloud-sdk-go/services/disk/models"
)
func Ge... | 25.527778 | 73 | 0.755169 |
e7edc0079eddd0fa525f22e2dcfc5b297dfeb4b1 | 238 | kt | Kotlin | domain/src/main/java/vn/tiki/domain/model/DealModel.kt | nguyenhuynhdev/tiki-deal | 4b9b4b1fbb31971f11315b9343ab5c4f6c5d66ab | [
"Apache-2.0"
] | null | null | null | domain/src/main/java/vn/tiki/domain/model/DealModel.kt | nguyenhuynhdev/tiki-deal | 4b9b4b1fbb31971f11315b9343ab5c4f6c5d66ab | [
"Apache-2.0"
] | null | null | null | domain/src/main/java/vn/tiki/domain/model/DealModel.kt | nguyenhuynhdev/tiki-deal | 4b9b4b1fbb31971f11315b9343ab5c4f6c5d66ab | [
"Apache-2.0"
] | null | null | null | package vn.tiki.domain.model
import java.util.Date
data class DealModel(
val productName: String,
val productThumbnail: String,
val productPrice: Double,
val startedDate: Date,
val endDate: Date
) | 21.636364 | 37 | 0.663866 |
1e54481c95987e81ce75161a46fe3bdb0277b21d | 173 | kt | Kotlin | src/main/kotlin/platform/configuration/Integration.kt | shybyte/acrolinx-sdk-kotlin | d09a1db372b118b8b1681487b887758edbcb3bc5 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/platform/configuration/Integration.kt | shybyte/acrolinx-sdk-kotlin | d09a1db372b118b8b1681487b887758edbcb3bc5 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/platform/configuration/Integration.kt | shybyte/acrolinx-sdk-kotlin | d09a1db372b118b8b1681487b887758edbcb3bc5 | [
"Apache-2.0"
] | null | null | null | package com.acrolinx.client.sdk.platform.configuration
import kotlinx.serialization.Serializable
@Serializable
class Integration(
val properties: Map<String, String>
) | 21.625 | 54 | 0.820809 |
2ad0a51fadc1b8a756ad6162e866b02e5eca6ffd | 557 | asm | Assembly | data/cookies.asm | martendo7/cookie-shooter-gb | b733f227e154cf63392f85dd72ac79f39937135a | [
"MIT"
] | 3 | 2021-04-22T01:21:25.000Z | 2021-05-30T21:17:52.000Z | data/cookies.asm | martendo/cookie-shooter-gb | b733f227e154cf63392f85dd72ac79f39937135a | [
"MIT"
] | 1 | 2021-05-13T00:30:35.000Z | 2021-05-13T23:22:55.000Z | data/cookies.asm | martendo/cookie-shooter-gb | b733f227e154cf63392f85dd72ac79f39937135a | [
"MIT"
] | null | null | null | INCLUDE "defines.inc"
SECTION "Cookie Data", ROM0
MACRO hitbox
; Y, H, X, W
DB (COOKIE_WIDTH - \1) / 2
DB \1
DB (COOKIE_HEIGHT - \1) / 2
DB \1
ENDM
CookieHitboxTable::
hitbox 12 ; COOKIE_SIZE_16
hitbox 10 ; COOKIE_SIZE_14
hitbox 8 ; COOKIE_SIZE_12
hitbox 6 ; COOKIE_SIZE_... | 19.206897 | 32 | 0.628366 |
739bb3c155193f9451efef576b088cf4e2e1198b | 586 | asm | Assembly | programs/oeis/336/A336475.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/336/A336475.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/336/A336475.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A336475: Multiplicative with a(2^e) = 1, and for odd primes p, a(p^e) = (e+1)*p^e.
; 1,1,6,1,10,6,14,1,27,10,22,6,26,14,60,1,34,27,38,10,84,22,46,6,75,26,108,14,58,60,62,1,132,34,140,27,74,38,156,10,82,84,86,22,270,46,94,6,147,75,204,26,106,108,220,14,228,58,118,60,122,62,378,1,260,132,134,34,276,140,142,27,146,74,45... | 48.833333 | 325 | 0.648464 |
0a12720d62cb4f2f38cff0c66cd9635f4f03bea0 | 69 | sql | SQL | oci-test/tests/oci_identity_tenancy/test-hydrate-query.sql | turbot/steampipe-plugin-oci | cd534d4992835eb1c756ea93d54ed1a653f7874a | [
"Apache-2.0"
] | 14 | 2021-04-08T08:15:06.000Z | 2022-03-23T16:07:49.000Z | oci-test/tests/oci_identity_tenancy/test-hydrate-query.sql | turbot/steampipe-plugin-oci | cd534d4992835eb1c756ea93d54ed1a653f7874a | [
"Apache-2.0"
] | 235 | 2021-04-02T14:39:36.000Z | 2022-03-30T12:44:35.000Z | oci-test/tests/oci_identity_tenancy/test-hydrate-query.sql | turbot/steampipe-plugin-oci | cd534d4992835eb1c756ea93d54ed1a653f7874a | [
"Apache-2.0"
] | null | null | null | select name, id, retention_period_days
from oci.oci_identity_tenancy; | 34.5 | 38 | 0.869565 |
f019f56e66a32402b7c9862f91bbe2284661cc13 | 1,697 | py | Python | users/views.py | Paulwamaria/instagram | 546c5472bbebd868e647fd600519a91ccfc47054 | [
"MIT"
] | null | null | null | users/views.py | Paulwamaria/instagram | 546c5472bbebd868e647fd600519a91ccfc47054 | [
"MIT"
] | 4 | 2020-06-05T23:46:45.000Z | 2021-06-10T19:06:27.000Z | users/views.py | Paulwamaria/instagram | 546c5472bbebd868e647fd600519a91ccfc47054 | [
"MIT"
] | null | null | null | from django.shortcuts import render,redirect
from django.contrib.auth.decorators import login_required
from .forms import InstaRegistrationForm, UserUpdateForm, ProfileUpdateForm
from django.views.generic import DetailView
from django.contrib.auth.mixins import LoginRequiredMixin
from django.contrib import messages
fro... | 33.27451 | 94 | 0.675899 |
7f1b8341f56ba3e24e50cfd092a80319fb5b2339 | 731 | go | Go | errors.go | pebbe/util | 64df444259992925ce368ddc1f4e589c713f7ba4 | [
"BSD-2-Clause"
] | 124 | 2015-01-09T10:06:25.000Z | 2022-03-18T15:44:39.000Z | errors.go | pebbe/util | 64df444259992925ce368ddc1f4e589c713f7ba4 | [
"BSD-2-Clause"
] | 46 | 2015-01-23T02:27:35.000Z | 2019-09-16T14:45:41.000Z | errors.go | pebbe/util | 64df444259992925ce368ddc1f4e589c713f7ba4 | [
"BSD-2-Clause"
] | 31 | 2015-01-22T21:25:18.000Z | 2021-08-15T03:38:56.000Z | package util
import (
"bytes"
"fmt"
"log"
"runtime"
)
func makeErr(err error, msg ...interface{}) string {
var b bytes.Buffer
_, filename, lineno, ok := runtime.Caller(2)
if ok {
b.WriteString(fmt.Sprintf("%v:%v: %v", filename, lineno, err))
} else {
b.WriteString(err.Error())
}
if len(msg) > 0 {
b.Wr... | 17 | 64 | 0.606019 |
c67ec84c78b84934a8707bee82791cbb300e6431 | 1,899 | rb | Ruby | app/models/user.rb | acrogenesis-lab/reporte-ciudadano | c8ed51abe98e2f043ee7b5aebcbf943b709a06a0 | [
"MIT"
] | null | null | null | app/models/user.rb | acrogenesis-lab/reporte-ciudadano | c8ed51abe98e2f043ee7b5aebcbf943b709a06a0 | [
"MIT"
] | null | null | null | app/models/user.rb | acrogenesis-lab/reporte-ciudadano | c8ed51abe98e2f043ee7b5aebcbf943b709a06a0 | [
"MIT"
] | null | null | null | class User < ActiveRecord::Base
# Setup accessible (or protected) attributes for your model
attr_accessible :email, :password, :password_confirmation, :remember_me, :username, :name
devise :database_authenticatable,
:recoverable, :rememberable, :trackable, :validatable, :registerable
devise :omniauth... | 30.629032 | 152 | 0.708794 |