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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
146fd85325bee2f67b73c3f4996bb3a0f7f33529 | 84 | sql | SQL | egov/egov-collection/src/main/resources/db/migration/main/V20160209120658__collection_collectionindex_alter_DDL.sql | cscl-git/digit-bpa | bcf2a4f0dadcee3d636357c51350db96071b40c6 | [
"MIT"
] | null | null | null | egov/egov-collection/src/main/resources/db/migration/main/V20160209120658__collection_collectionindex_alter_DDL.sql | cscl-git/digit-bpa | bcf2a4f0dadcee3d636357c51350db96071b40c6 | [
"MIT"
] | null | null | null | egov/egov-collection/src/main/resources/db/migration/main/V20160209120658__collection_collectionindex_alter_DDL.sql | cscl-git/digit-bpa | bcf2a4f0dadcee3d636357c51350db96071b40c6 | [
"MIT"
] | null | null | null | alter table eg_collectionindex alter column billnumber type character varying(50);
| 42 | 83 | 0.845238 |
e7f94faea0813341ebda497d2d676c1095cd32fd | 4,464 | py | Python | ros/src/tl_detector/light_classification/carla.py | xiangjiang/Capstone_1 | 68e6d044041f5759f3596d6d547bd871afb1970b | [
"MIT"
] | null | null | null | ros/src/tl_detector/light_classification/carla.py | xiangjiang/Capstone_1 | 68e6d044041f5759f3596d6d547bd871afb1970b | [
"MIT"
] | null | null | null | ros/src/tl_detector/light_classification/carla.py | xiangjiang/Capstone_1 | 68e6d044041f5759f3596d6d547bd871afb1970b | [
"MIT"
] | null | null | null | import tensorflow as tf
from os import path
import numpy as np
from scipy import misc
from styx_msgs.msg import TrafficLight
import cv2
import rospy
import tensorflow as tf
class CarlaModel(object):
def __init__(self, model_checkpoint):
self.sess = None
self.checkpoint = model_checkpoint
... | 43.764706 | 114 | 0.533602 |
32f87cc120f9dc3b11570ea6aa7fc550cd438250 | 7,038 | kt | Kotlin | app/src/main/java/gr/blackswamp/damagereports/ui/fragments/ModelFragment.kt | JMavrelos/DamageReportsKTX | 125ceef68db9554d9c047500e41f0fa96085ae64 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/gr/blackswamp/damagereports/ui/fragments/ModelFragment.kt | JMavrelos/DamageReportsKTX | 125ceef68db9554d9c047500e41f0fa96085ae64 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/gr/blackswamp/damagereports/ui/fragments/ModelFragment.kt | JMavrelos/DamageReportsKTX | 125ceef68db9554d9c047500e41f0fa96085ae64 | [
"Apache-2.0"
] | null | null | null | package gr.blackswamp.damagereports.ui.fragments
import android.os.Bundle
import android.util.DisplayMetrics
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.View
import android.widget.EditText
import android.widget.FrameLayout
import androidx.appcompat.widget.... | 36.848168 | 123 | 0.708014 |
e25049ff8f9ce05333f6ddc1f6fdd891cec18ad4 | 6,436 | sql | SQL | db/db_regrind_v2.sql | MuhamadRidwan96/projectmain | 9ff640920ca72cee58511d2d4aac37a150850a4d | [
"MIT"
] | null | null | null | db/db_regrind_v2.sql | MuhamadRidwan96/projectmain | 9ff640920ca72cee58511d2d4aac37a150850a4d | [
"MIT"
] | null | null | null | db/db_regrind_v2.sql | MuhamadRidwan96/projectmain | 9ff640920ca72cee58511d2d4aac37a150850a4d | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 10, 2021 at 09:08 AM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.4.5
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIEN... | 27.387234 | 130 | 0.658017 |
088d9f281d03f372fb14199af89c79035bf38b72 | 17,764 | go | Go | service/costandusagereportservice/api.go | StreamCo/aws-sdk-go-v2 | 9613c82956b28952f29ae5990c538a86d147ce4e | [
"Apache-2.0"
] | 2 | 2017-12-04T16:59:16.000Z | 2017-12-06T06:04:42.000Z | service/costandusagereportservice/api.go | StreamCo/aws-sdk-go-v2 | 9613c82956b28952f29ae5990c538a86d147ce4e | [
"Apache-2.0"
] | 2 | 2019-08-12T13:29:16.000Z | 2019-09-12T07:52:19.000Z | service/costandusagereportservice/api.go | StreamCo/aws-sdk-go-v2 | 9613c82956b28952f29ae5990c538a86d147ce4e | [
"Apache-2.0"
] | 1 | 2019-08-12T14:03:20.000Z | 2019-08-12T14:03:20.000Z | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package costandusagereportservice
import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/internal/awsutil"
)
const opDeleteReportDefinition = "DeleteReportDefinition"
// DeleteReportDefinitionRequest is a API request type for ... | 29.656093 | 142 | 0.750563 |
56d071e7d0aa3e9b12b4c7277028b270dd56dd46 | 1,234 | sql | SQL | SQL/SQL_exercise_05/5_questions.sql | malaoudi/CollegeCoursesProjects | c3e01e68446fd080262bc5c50e31a960248700da | [
"MIT"
] | null | null | null | SQL/SQL_exercise_05/5_questions.sql | malaoudi/CollegeCoursesProjects | c3e01e68446fd080262bc5c50e31a960248700da | [
"MIT"
] | 1 | 2021-04-22T08:24:26.000Z | 2021-04-22T08:24:26.000Z | SQL/SQL_exercise_05/5_questions.sql | malaoudi/CollegeCoursesProjects | c3e01e68446fd080262bc5c50e31a960248700da | [
"MIT"
] | null | null | null | -- https://en.wikibooks.org/wiki/SQL_Exercises/Pieces_and_providers
-- 5.1 Select the name of all the pieces.
-- 5.2 Select all the providers' data.
-- 5.3 Obtain the average price of each piece (show only the piece code and the average price).
-- 5.4 Obtain the names of all providers who supply piece 1.
-- 5.5 Sel... | 64.947368 | 141 | 0.65235 |
a4f8537eefcf951ea55cf55b5d1bd6db99779529 | 409 | asm | Assembly | libsrc/math/genmath/c/sccz80/ldbchl.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/math/genmath/c/sccz80/ldbchl.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/math/genmath/c/sccz80/ldbchl.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ;
; Z88dk Generic Floating Point Math Library
;
; bc ix de = (hl)
SECTION code_fp
PUBLIC ldbchl
.ldbchl ld e,(hl)
inc hl
ld d,(hl)
inc hl
ld c,(hl)
ld ixl,c
inc hl
ld c,(hl)
ld ixh,c
inc hl
... | 16.36 | 43 | 0.369193 |
85bf9b91fa5616ecfc6093209e8ccdd407525ec5 | 374 | js | JavaScript | src/layout/controls/player/index.js | samussiah/animated-swimmer-plot | 9da3f6b52a991da3fa601cabbdbecabec9c753a7 | [
"MIT"
] | null | null | null | src/layout/controls/player/index.js | samussiah/animated-swimmer-plot | 9da3f6b52a991da3fa601cabbdbecabec9c753a7 | [
"MIT"
] | 37 | 2021-04-05T16:58:15.000Z | 2021-08-22T17:03:58.000Z | src/layout/controls/player/index.js | samussiah/animated-swimmer-plot | 9da3f6b52a991da3fa601cabbdbecabec9c753a7 | [
"MIT"
] | null | null | null | import playPause from './playPause';
import stepBackward from './stepBackward';
import stepForward from './stepForward';
import speedDown from './speedDown';
import speedUp from './speedUp';
import reset from './reset';
import range from './range';
export default {
playPause,
stepBackward,
stepForward,
... | 20.777778 | 42 | 0.687166 |
7d6e8369bdf70bfdc191e143ff9c1408297d7764 | 1,279 | html | HTML | Generated/index/System.Management.Automation/R/007313a3e4584d3f.html | Alex-ABPerson/PSSourceBrowser | dc7389c4cb47f00dbfffb04fc1905e2fc935110f | [
"Apache-2.0"
] | null | null | null | Generated/index/System.Management.Automation/R/007313a3e4584d3f.html | Alex-ABPerson/PSSourceBrowser | dc7389c4cb47f00dbfffb04fc1905e2fc935110f | [
"Apache-2.0"
] | null | null | null | Generated/index/System.Management.Automation/R/007313a3e4584d3f.html | Alex-ABPerson/PSSourceBrowser | dc7389c4cb47f00dbfffb04fc1905e2fc935110f | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html><head><title>InformationalRecord</title><link rel="stylesheet" href="../../styles.css"/><script src="../../scripts.js"></script></head><body onload="ro();">
<div class="rH">3 types derived from InformationalRecord</div><div class="rA">System.Management.Automation (3)</div><div class="rG" id="Sy... | 98.384615 | 249 | 0.722439 |
a7bda7dcf1e22b2a8a55af9607310807f0793780 | 761 | kt | Kotlin | app/src/main/java/com/myetherwallet/mewconnect/feature/buy/interactor/GetHistory.kt | fossabot/MEWconnect-Android | 745831da59162cbde70b76c3c8f48f1b327fd7fe | [
"MIT"
] | 50 | 2019-01-02T22:17:25.000Z | 2022-03-11T03:42:27.000Z | app/src/main/java/com/myetherwallet/mewconnect/feature/buy/interactor/GetHistory.kt | fossabot/MEWconnect-Android | 745831da59162cbde70b76c3c8f48f1b327fd7fe | [
"MIT"
] | 12 | 2019-02-19T22:32:06.000Z | 2021-07-29T02:11:42.000Z | app/src/main/java/com/myetherwallet/mewconnect/feature/buy/interactor/GetHistory.kt | fossabot/MEWconnect-Android | 745831da59162cbde70b76c3c8f48f1b327fd7fe | [
"MIT"
] | 27 | 2019-01-02T19:55:33.000Z | 2022-03-20T16:39:41.000Z | package com.myetherwallet.mewconnect.feature.buy.interactor
import com.myetherwallet.mewconnect.core.platform.BaseInteractor
import com.myetherwallet.mewconnect.core.platform.Either
import com.myetherwallet.mewconnect.core.platform.Failure
import com.myetherwallet.mewconnect.feature.buy.data.BuyHistoryItem
import com.... | 33.086957 | 123 | 0.804205 |
e759f2c836cf70967b124d55ba8e6809b1bb2c9b | 1,163 | js | JavaScript | test/model/DeclarationTest.js | garyluu/pipeline-builder | 1ea4afde468bfe9db2fbd8233d361b22353d3050 | [
"MIT"
] | 41 | 2017-03-31T04:18:31.000Z | 2022-01-07T07:16:28.000Z | test/model/DeclarationTest.js | garyluu/pipeline-builder | 1ea4afde468bfe9db2fbd8233d361b22353d3050 | [
"MIT"
] | 61 | 2017-04-03T13:19:41.000Z | 2021-11-23T06:33:29.000Z | test/model/DeclarationTest.js | garyluu/pipeline-builder | 1ea4afde468bfe9db2fbd8233d361b22353d3050 | [
"MIT"
] | 16 | 2017-04-27T16:06:33.000Z | 2021-11-15T03:11:46.000Z | import { expect } from 'chai';
import Declaration from '../../src/model/Declaration';
describe('model/Declaration', () => {
describe('constructor', () => {
const declarationAst = {
type: { id: 41, str: 'type', source_string: 'Int', line: 2, col: 3 },
name: { id: 39, str: 'identifier', source_stri... | 37.516129 | 102 | 0.602752 |
04025d8fc0ebd52beaceee1b1630a8cc3c340286 | 674 | js | JavaScript | public/js/animador.js | GalacticMalware/Climax | 60d856214b9b57ab90e2aaf35abe0ae58a9293bf | [
"MIT"
] | null | null | null | public/js/animador.js | GalacticMalware/Climax | 60d856214b9b57ab90e2aaf35abe0ae58a9293bf | [
"MIT"
] | null | null | null | public/js/animador.js | GalacticMalware/Climax | 60d856214b9b57ab90e2aaf35abe0ae58a9293bf | [
"MIT"
] | null | null | null | let animacionInicio = document.querySelectorAll(".animacion2");
let animado = document.querySelectorAll(".animacion");
function mostrarScroll(){
let scrollTop = document.documentElement.scrollTop;
for (var i =0; i<animado.length;i++){
let alturaAnimado = animado[i].offsetTop;
if((alturaAni... | 29.304348 | 63 | 0.660237 |
95746d8920e35af13aa3b6bfc2c04c9a5b1077a1 | 1,743 | css | CSS | web-design/comming-soon/css/style.css | thanksLee/css_clone | 0a4d8c169c0c584876db5a316a9d5d78f2dd738a | [
"MIT"
] | null | null | null | web-design/comming-soon/css/style.css | thanksLee/css_clone | 0a4d8c169c0c584876db5a316a9d5d78f2dd738a | [
"MIT"
] | null | null | null | web-design/comming-soon/css/style.css | thanksLee/css_clone | 0a4d8c169c0c584876db5a316a9d5d78f2dd738a | [
"MIT"
] | null | null | null | * {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
border: none;
text-decoration: none;
text-transform: capitalize;
}
.container {
display: flex;
align-items: center;
flex-wrap: wrap;
padding: 20px 7%;... | 15.702703 | 80 | 0.632817 |
855b1da2006a09e08fe33c9241c5ee0f9733dc28 | 2,319 | js | JavaScript | src/components/prefooter.js | lifeofdaniell/PortfolioV2 | 421ee21698f877cccaca7fb27e0a8f469685668b | [
"MIT"
] | null | null | null | src/components/prefooter.js | lifeofdaniell/PortfolioV2 | 421ee21698f877cccaca7fb27e0a8f469685668b | [
"MIT"
] | null | null | null | src/components/prefooter.js | lifeofdaniell/PortfolioV2 | 421ee21698f877cccaca7fb27e0a8f469685668b | [
"MIT"
] | null | null | null | import React from "react";
import styled from "styled-components";
import { Link } from "gatsby";
const FooterGroup = styled.div`
margin: 150px 0 150px 0;
display: grid;
grid-template-rows: 100px auto;
grid-gap: 0px;
position: relative;
@media (max-width: 420px) {
margin: 100px 0 100px 0;
}
`;
const ... | 19.008197 | 54 | 0.61147 |
fe79b979d5e5d8975bae32a1e65266552cbd2f13 | 207 | kt | Kotlin | src/main/kotlin/me/syari/niconico/twitter/util/swing/color.kt | sya-ri/NicoNicoTwitter | 7edd67978cc04401edcf75bea56cbd53ff7f9e85 | [
"Apache-2.0"
] | 2 | 2020-12-06T04:41:44.000Z | 2021-08-15T01:06:00.000Z | src/main/kotlin/me/syari/niconico/twitter/util/swing/color.kt | sya-ri/NicoNicoTwitter | 7edd67978cc04401edcf75bea56cbd53ff7f9e85 | [
"Apache-2.0"
] | 1 | 2021-02-15T06:32:58.000Z | 2021-02-15T06:32:58.000Z | src/main/kotlin/me/syari/niconico/twitter/util/swing/color.kt | sya-ri/NicoNicoTwitter | 7edd67978cc04401edcf75bea56cbd53ff7f9e85 | [
"Apache-2.0"
] | null | null | null | package me.syari.niconico.twitter.util.swing
import java.awt.Color
fun String.toColor(): Color? {
return try {
Color.decode(this)
} catch (ex: NumberFormatException) {
null
}
}
| 17.25 | 44 | 0.642512 |
750883f83933d9cbc5118238951e80289a752496 | 42,857 | c | C | libsignaletic/src/libsignaletic.c | continuing-creativity/signaletic | 4a91207c8b2ca1a67f72402975e9348a4bed3d13 | [
"MIT"
] | null | null | null | libsignaletic/src/libsignaletic.c | continuing-creativity/signaletic | 4a91207c8b2ca1a67f72402975e9348a4bed3d13 | [
"MIT"
] | 14 | 2022-01-31T21:01:59.000Z | 2022-02-22T03:17:28.000Z | libsignaletic/src/libsignaletic.c | continuing-creativity/signaletic | 4a91207c8b2ca1a67f72402975e9348a4bed3d13 | [
"MIT"
] | null | null | null | #include <math.h> // For powf, fmodf, sinf, roundf, fabsf, rand
#include <stdlib.h> // For RAND_MAX
#include <tlsf.h> // Includes assert.h, limits.h, stddef.h
// stdio.h, stdlib.h, string.h (for errors etc.)
#include <libsignaletic.h>
float sig_fminf(float a, float b) {
float r;
#ifdef __ar... | 32.74026 | 110 | 0.668222 |
adb8ad4c9938a57ea621e32a6dbca1a2b6d48fdf | 59,358 | sql | SQL | doctxnyx_bari.sql | rimonnahid/DoctorEbari-Laravel-PHP | db518d0b83af8a7c118ce4f484a46ff337eb19eb | [
"MIT"
] | null | null | null | doctxnyx_bari.sql | rimonnahid/DoctorEbari-Laravel-PHP | db518d0b83af8a7c118ce4f484a46ff337eb19eb | [
"MIT"
] | null | null | null | doctxnyx_bari.sql | rimonnahid/DoctorEbari-Laravel-PHP | db518d0b83af8a7c118ce4f484a46ff337eb19eb | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.4
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Nov 03, 2020 at 01:30 PM
-- Server version: 10.3.24-MariaDB-log-cll-lve
-- PHP Version: 7.3.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
... | 57.685131 | 1,556 | 0.677971 |
165b3771c831696be92c8d46c19a662d03618686 | 1,314 | h | C | Classes/CCCAssetsViewController/CCCAssetsModel/CCCAssetsModel.h | ccchang0227/CCCUIKit | b1cab52ca159e0e40238fe189298cfa188039cd9 | [
"MIT"
] | null | null | null | Classes/CCCAssetsViewController/CCCAssetsModel/CCCAssetsModel.h | ccchang0227/CCCUIKit | b1cab52ca159e0e40238fe189298cfa188039cd9 | [
"MIT"
] | null | null | null | Classes/CCCAssetsViewController/CCCAssetsModel/CCCAssetsModel.h | ccchang0227/CCCUIKit | b1cab52ca159e0e40238fe189298cfa188039cd9 | [
"MIT"
] | null | null | null | //
// CCCAssetsModel.h
//
// Created by realtouchapp on 2016/1/16.
// Copyright © 2016年 CHIEN-HSU WU. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "CCCAssetsGroup.h"
#import "CCCAsset.h"
NS_ASSUME_NONNULL_BEGIN
typedef NS_OPTIONS(NSUInteger, CCCAssetsFetchType) {
CCCAssetsFetchTypeImage = 1<<0,
... | 27.957447 | 122 | 0.737443 |
46832d48d5544bf936e1b4b9b0c2ab8330fcfd01 | 171 | css | CSS | css/page-test.css | NardiniA/Design-Test | 7c1ccc248d1d8371a2a8dfcb79155972c9e0f22c | [
"MIT"
] | null | null | null | css/page-test.css | NardiniA/Design-Test | 7c1ccc248d1d8371a2a8dfcb79155972c9e0f22c | [
"MIT"
] | null | null | null | css/page-test.css | NardiniA/Design-Test | 7c1ccc248d1d8371a2a8dfcb79155972c9e0f22c | [
"MIT"
] | null | null | null | a.page-test {
color: #fff !important;
background: rgba(0,0,0,0.625) !important;
border: 1px solid gray !important;
padding: 25px 10px;
z-index: 1800;
} | 24.428571 | 45 | 0.631579 |
a8764ef4457f506f9d020520ad352da6b4ec791b | 9,555 | tab | SQL | mdpi/_journals.tab | rordi/journals | ce4a95e86987ebf0815fa7fdde6da433e31d359a | [
"MIT"
] | null | null | null | mdpi/_journals.tab | rordi/journals | ce4a95e86987ebf0815fa7fdde6da433e31d359a | [
"MIT"
] | null | null | null | mdpi/_journals.tab | rordi/journals | ce4a95e86987ebf0815fa7fdde6da433e31d359a | [
"MIT"
] | null | null | null | Title eISSN
Acoustics 2624-599Xa
Actuators 2076-0825
Administrative Sciences 2076-3387
Adolescents 2673-7051
Aerospace 2226-4310
Agriculture 2077-0472
AgriEngineering 2624-7402
Agronomy 2073-4395
AI 2673-2688
Algorithms 1999-4893
Allergies 2313-5786
Alloys 2674-063X
Analytica 2673-4532
Animals 2076-2615
Antibiotics 207... | 24.689922 | 79 | 0.850968 |
6054f2ea8ad5961fe4f09c28f545991a207794f3 | 1,013 | html | HTML | tests/two-series.html | dygraphs/dygraphs.github.io | c7cd3ee161f36419ffce27e68e5884442f74ad74 | [
"MIT"
] | 1 | 2020-07-01T00:13:43.000Z | 2020-07-01T00:13:43.000Z | tests/two-series.html | bombela/dygraphs | 752bf55c12dae737e10d8dfdbb73e2512be41d28 | [
"MIT"
] | null | null | null | tests/two-series.html | bombela/dygraphs | 752bf55c12dae737e10d8dfdbb73e2512be41d28 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
<title>two series</title>
<!--[if IE]>
<script type="text/javascript" src="../excanvas.js"></script>
<![endif]-->
<!--
For production (minified) code, use:
<script type="text/javasc... | 27.378378 | 78 | 0.550839 |
645ce9eb8368ef45d1d5f1eef02a4449c64f98e2 | 15,808 | lua | Lua | dataseries/init.lua | LuaDist-testing/torch-dataframe | d6437ce987e55779090552d3b81c66a156f535e5 | [
"MIT"
] | 77 | 2016-04-01T14:11:26.000Z | 2022-02-02T17:17:27.000Z | dataseries/init.lua | LuaDist-testing/torch-dataframe | d6437ce987e55779090552d3b81c66a156f535e5 | [
"MIT"
] | 26 | 2016-04-01T11:28:52.000Z | 2017-04-12T08:31:23.000Z | dataseries/init.lua | LuaDist-testing/torch-dataframe | d6437ce987e55779090552d3b81c66a156f535e5 | [
"MIT"
] | 11 | 2015-11-19T11:14:19.000Z | 2022-02-17T09:50:46.000Z | -- Main Dataseries file
require 'torch'
local argcheck = require "argcheck"
local doc = require "argcheck.doc"
doc[[
## Dataseries
The Dataseries is an array of data with an additional layer
of missing data info. The class contains two main elements:
* A data container
* A hash with the missing data positions
The ... | 22.016713 | 126 | 0.700025 |
0b4dc3067343c33e32c44d539a787edba0c40515 | 2,197 | py | Python | torchvision/prototype/datasets/_builtin/country211.py | SariaCxs/vision | 1db8795733b91cd6dd62a0baa7ecbae6790542bc | [
"BSD-3-Clause"
] | 1 | 2022-03-31T02:37:35.000Z | 2022-03-31T02:37:35.000Z | torchvision/prototype/datasets/_builtin/country211.py | SariaCxs/vision | 1db8795733b91cd6dd62a0baa7ecbae6790542bc | [
"BSD-3-Clause"
] | null | null | null | torchvision/prototype/datasets/_builtin/country211.py | SariaCxs/vision | 1db8795733b91cd6dd62a0baa7ecbae6790542bc | [
"BSD-3-Clause"
] | null | null | null | import pathlib
from typing import Any, Dict, List, Tuple
from torchdata.datapipes.iter import IterDataPipe, Mapper, Filter
from torchvision.prototype.datasets.utils import Dataset, DatasetConfig, DatasetInfo, HttpResource, OnlineResource
from torchvision.prototype.datasets.utils._internal import path_comparator, hint_... | 38.54386 | 114 | 0.65817 |
7ab38b9c934e0c8138b2c54e7fc5fa13dfb45949 | 2,384 | rs | Rust | src/days/day12.rs | fxwiegand/advent-of-code-2021 | c164630bb2567585ff3e8574892eb67e4d777243 | [
"MIT"
] | null | null | null | src/days/day12.rs | fxwiegand/advent-of-code-2021 | c164630bb2567585ff3e8574892eb67e4d777243 | [
"MIT"
] | null | null | null | src/days/day12.rs | fxwiegand/advent-of-code-2021 | c164630bb2567585ff3e8574892eb67e4d777243 | [
"MIT"
] | 1 | 2021-12-01T17:47:04.000Z | 2021-12-01T17:47:04.000Z | use std::collections::HashMap;
pub(crate) fn solve_day12() -> u32 {
let input = include_str!("../puzzles/day12.txt");
let mut map = HashMap::new();
for line in input.lines() {
let (cave, cave2) = line.split_once('-').unwrap();
let entry = map.entry(cave.to_owned()).or_insert_with(Vec::new);... | 34.550725 | 93 | 0.567953 |
6848f642f7cb65f44eea54eb7f0c18294ba825bc | 7,653 | asm | Assembly | Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_1258.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_1258.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_1258.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x6dd9, %r9
nop
nop
nop
nop
sub %rdx, %rdx
movups (%r9), %xmm1
vpextrq $0, %xmm1, %rbx
add %rbx, %rbx
lea addresses_WT_ht+0x1d09, %r8
nop
nop
nop
sub %r12, %r12
mov (%r8), %edx
n... | 34.945205 | 2,999 | 0.650856 |
9c2bef9eec101c417b13e58d3bcb3bee40a4d3ba | 1,371 | js | JavaScript | src/js/04-fav.js | Adalab/modulo-2-evaluacion-final-LuciaRoNova3005 | b22f782a732c56189ab231e2d327fbc0fb661ecf | [
"MIT"
] | null | null | null | src/js/04-fav.js | Adalab/modulo-2-evaluacion-final-LuciaRoNova3005 | b22f782a732c56189ab231e2d327fbc0fb661ecf | [
"MIT"
] | null | null | null | src/js/04-fav.js | Adalab/modulo-2-evaluacion-final-LuciaRoNova3005 | b22f782a732c56189ab231e2d327fbc0fb661ecf | [
"MIT"
] | null | null | null | //Si el array que guarda la informacion del local tiene contenido me ejecutas Recupero los datos y lo pinto
//Funcion que escucha click en las peliculas y en las peliculas de favoritas con la js-shows//
function addListenShow() {
const cardShows = document.querySelectorAll(".js-shows");
for (const card of car... | 38.083333 | 112 | 0.699489 |
e9b11384adefc1e7de00cb80735f661e7788d618 | 369 | rb | Ruby | db/migrations/20180515221734_create_primary_key_for_spaces_developers.rb | stephanme/cloud_controller_ng | eec758f42ad517711189b578772b9cbe5b8e160a | [
"Apache-2.0"
] | 152 | 2015-01-03T07:30:29.000Z | 2022-03-17T22:55:19.000Z | db/migrations/20180515221734_create_primary_key_for_spaces_developers.rb | stephanme/cloud_controller_ng | eec758f42ad517711189b578772b9cbe5b8e160a | [
"Apache-2.0"
] | 2,177 | 2015-01-07T05:34:11.000Z | 2022-03-31T12:42:29.000Z | db/migrations/20180515221734_create_primary_key_for_spaces_developers.rb | isabella232/cloud_controller_ng | 89eb8e344b34c8d601db4d2ef1161817c90160f2 | [
"Apache-2.0"
] | 298 | 2015-01-04T11:57:39.000Z | 2022-03-25T15:11:44.000Z | require File.expand_path('../../helpers/change_primary_key', __FILE__)
Sequel.migration do
up do
add_primary_key_to_table(:spaces_developers, :spaces_developers_pk)
end
down do
remove_primary_key_from_table(:spaces_developers,
:spaces_developers_pkey,
... | 26.357143 | 71 | 0.650407 |
654b5be42b94507090bb99be14ad14d6bad404c8 | 427 | py | Python | src/bananas/drf/errors.py | beshrkayali/django-bananas | 8e832ca91287c5b3eed5af8de948c67fd026c4b9 | [
"MIT"
] | 26 | 2015-04-07T12:18:26.000Z | 2021-07-23T18:05:52.000Z | src/bananas/drf/errors.py | beshrkayali/django-bananas | 8e832ca91287c5b3eed5af8de948c67fd026c4b9 | [
"MIT"
] | 55 | 2016-10-25T08:13:50.000Z | 2022-03-04T12:53:24.000Z | src/bananas/drf/errors.py | beshrkayali/django-bananas | 8e832ca91287c5b3eed5af8de948c67fd026c4b9 | [
"MIT"
] | 16 | 2015-10-13T10:11:59.000Z | 2021-11-11T12:30:32.000Z | from rest_framework import status
from rest_framework.exceptions import APIException
class PreconditionFailed(APIException):
status_code = status.HTTP_412_PRECONDITION_FAILED
default_detail = "An HTTP precondition failed"
default_code = "precondition_failed"
class BadRequest(APIException):
status_co... | 28.466667 | 53 | 0.800937 |
59198a69b3ac96b641ac4fa5756e83943847238c | 2,715 | kt | Kotlin | Android/app/src/main/java/com/lunesu/pengchauferry/PengChauToCentralFetcher.kt | lionello/PengChauFerry | 830fdee3ce171e8316d3dd9ef8167690f247f6b5 | [
"MIT"
] | 2 | 2020-03-21T05:35:57.000Z | 2020-03-21T15:12:30.000Z | Android/app/src/main/java/com/lunesu/pengchauferry/PengChauToCentralFetcher.kt | lionello/PengChauFerry | 830fdee3ce171e8316d3dd9ef8167690f247f6b5 | [
"MIT"
] | null | null | null | Android/app/src/main/java/com/lunesu/pengchauferry/PengChauToCentralFetcher.kt | lionello/PengChauFerry | 830fdee3ce171e8316d3dd9ef8167690f247f6b5 | [
"MIT"
] | null | null | null | package com.lunesu.pengchauferry
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import org.joda.time.Duration
import org.joda.time.LocalTime
object PengChauToCentralFetcher {
private const val url = "http://hkkf.com.hk/index.php?op=timetable&page=pengchau&style=en"
// TODO: fetch... | 42.421875 | 106 | 0.55175 |
721672734f962968d39c3dc223146aa32e355527 | 687 | lua | Lua | hack/scripts/on-new-fortress.lua | flber/df | 64191b2ba063f5bc11f566d5521b2dbc87c8e54d | [
"Zlib"
] | null | null | null | hack/scripts/on-new-fortress.lua | flber/df | 64191b2ba063f5bc11f566d5521b2dbc87c8e54d | [
"Zlib"
] | null | null | null | hack/scripts/on-new-fortress.lua | flber/df | 64191b2ba063f5bc11f566d5521b2dbc87c8e54d | [
"Zlib"
] | null | null | null | -- runs dfhack commands only in a newborn fortress
local HELP = [====[
on-new-fortress
===============
Runs commands like `multicmd`, but only in a newborn fortress.
Use this in ``onMapLoad.init`` with f.e. `ban-cooking`::
on-new-fortress ban-cooking tallow; ban-cooking honey; ban-cooking oil; ban-cooking seeds; ... | 25.444444 | 185 | 0.672489 |
85caca9a56b40286c1a4ed9519defec2322ac0c4 | 4,577 | c | C | compiler-rt/test/profile/ContinuousSyncMode/darwin-proof-of-concept.c | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | compiler-rt/test/profile/ContinuousSyncMode/darwin-proof-of-concept.c | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | compiler-rt/test/profile/ContinuousSyncMode/darwin-proof-of-concept.c | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | // Test whether mmap'ing profile counters onto an open file is feasible. As
// this involves some platform-specific logic, this test is designed to be a
// minimum viable proof-of-concept: it may be useful when porting the mmap()
// mode to a new platform, but is not in and of itself a test of the profiling
// runtime.... | 30.111842 | 79 | 0.638191 |
d22443bc0e5cb301b03a9ff6caf413ce1d2eb0dd | 1,191 | lua | Lua | addons/serverguard/lua/plugins/restrictions/shared.lua | lechu2375/GM-DayZ | 35beb8cc80bc1673f45be8385b56c654fb066e8d | [
"MIT"
] | 4 | 2021-12-01T15:57:30.000Z | 2022-01-28T11:10:24.000Z | addons/serverguard/lua/plugins/restrictions/shared.lua | lechu2375/GM-DayZ | 35beb8cc80bc1673f45be8385b56c654fb066e8d | [
"MIT"
] | null | null | null | addons/serverguard/lua/plugins/restrictions/shared.lua | lechu2375/GM-DayZ | 35beb8cc80bc1673f45be8385b56c654fb066e8d | [
"MIT"
] | 3 | 2021-08-20T15:19:34.000Z | 2021-12-07T00:34:33.000Z | --[[
© 2018 Thriving Ventures AB do not share, re-distribute or modify
without permission of its author (gustaf@thrivingventures.com).
]]
local plugin = plugin
plugin.name = "Restrictions"
plugin.author = "`impulse"
plugin.version = "1.2"
plugin.description = "Provides restrictions for each player, like how many pr... | 38.419355 | 127 | 0.70529 |
f12d87d7fe8d19a29a79ff571e2d9eebc2a4b68f | 175 | rb | Ruby | config/schedule.rb | yr0/discursus | 17cf9d35935c5124fad7af800f9bc843f7d57243 | [
"MIT"
] | 2 | 2017-10-25T11:15:16.000Z | 2017-12-12T15:06:16.000Z | config/schedule.rb | yr0/discursus | 17cf9d35935c5124fad7af800f9bc843f7d57243 | [
"MIT"
] | 8 | 2021-05-20T18:39:57.000Z | 2022-03-30T22:27:37.000Z | config/schedule.rb | yr0/discursus | 17cf9d35935c5124fad7af800f9bc843f7d57243 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
set :output, 'log/whenever.log'
every 30.minutes do
rake 'sunspot:reindex'
end
every 1.day, at: '8am' do
rake 'count_hlyna_downloads'
end
| 14.583333 | 31 | 0.737143 |
74de84ae7c38538e3d717e749723965fcbb772f3 | 3,230 | js | JavaScript | src/validation/countryValidation.js | Ibrahimng/code-jammers-backend | 79a0004108ccb516bac0c2907c7af2094ed4731e | [
"MIT"
] | 13 | 2020-10-30T06:57:51.000Z | 2021-07-16T11:59:26.000Z | src/validation/countryValidation.js | Ibrahimng/code-jammers-backend | 79a0004108ccb516bac0c2907c7af2094ed4731e | [
"MIT"
] | 24 | 2020-08-31T18:58:56.000Z | 2020-11-14T07:53:27.000Z | src/validation/countryValidation.js | Ibrahimng/code-jammers-backend | 79a0004108ccb516bac0c2907c7af2094ed4731e | [
"MIT"
] | 7 | 2020-08-31T10:15:42.000Z | 2021-03-02T06:48:59.000Z | import Joi from "joi";
const validation = country => {
const schema = Joi.object({
nameOfCountry: Joi.string().required().valid("Nigeria",
"Ethiopia",
"Egypt",
"Democratic Republic of the Congo",
"Tanzania",
"South Africa",
"Kenya",
"Uganda",
"Algeria",
"Suda... | 27.844828 | 80 | 0.556347 |
5eff0b1eafd347492970be32fc7ecd7788da788c | 61,029 | asm | Assembly | Disassembly/Md5_6_NoTempVar.asm | bretcope/blog-md5 | e043cf92ad5495274530d270e845b59a5f372b0b | [
"MIT"
] | null | null | null | Disassembly/Md5_6_NoTempVar.asm | bretcope/blog-md5 | e043cf92ad5495274530d270e845b59a5f372b0b | [
"MIT"
] | null | null | null | Disassembly/Md5_6_NoTempVar.asm | bretcope/blog-md5 | e043cf92ad5495274530d270e845b59a5f372b0b | [
"MIT"
] | null | null | null | Md5DotNet.Md5_6_NoTempVar.GetDigest(Byte*, Int32, Md5DotNet.Md5Digest*)
Begin 00007ffe8d368960, size c1a
c:\code\blog\md5\Md5DotNet\Md5DotNet\Md5_6_NoTempVar.cs @ 19:
>>> 00007ffe`8d368960 4157 push r15
00007ffe`8d368962 4156 push r14
00007ffe`8d368964 4155 push r13
00007ffe`8... | 46.199092 | 143 | 0.680201 |
3fc1177a6b9cbde8184a2a5438759ba9c1e5161f | 6,375 | c | C | src/tycmd/main.c | trustcrypto/tytools | 4aea4c404d40ac51658332211c3cd81dd30a4c0e | [
"Unlicense"
] | null | null | null | src/tycmd/main.c | trustcrypto/tytools | 4aea4c404d40ac51658332211c3cd81dd30a4c0e | [
"Unlicense"
] | null | null | null | src/tycmd/main.c | trustcrypto/tytools | 4aea4c404d40ac51658332211c3cd81dd30a4c0e | [
"Unlicense"
] | 2 | 2019-02-24T22:04:12.000Z | 2021-01-12T05:45:11.000Z | /* TyTools - public domain
Niels Martignène <niels.martignene@protonmail.com>
https://neodd.com/tytools
This software is in the public domain. Where that dedication is not
recognized, you are granted a perpetual, irrevocable license to copy,
distribute, and modify this file as you see fit.
See the L... | 26.127049 | 105 | 0.589647 |
a82d1405a4997f81ac3e98e1d2c37129a9418d6b | 3,047 | rs | Rust | src/libfolder/server_data.rs | DylanTheVillain/Rust-Game | b28fe7aef4fbd503c671448a06a2a5ae5735e539 | [
"MIT"
] | null | null | null | src/libfolder/server_data.rs | DylanTheVillain/Rust-Game | b28fe7aef4fbd503c671448a06a2a5ae5735e539 | [
"MIT"
] | null | null | null | src/libfolder/server_data.rs | DylanTheVillain/Rust-Game | b28fe7aef4fbd503c671448a06a2a5ae5735e539 | [
"MIT"
] | null | null | null | use little_rust_tcp::data::ServerData;
use std::io::TcpStream;
use std::collections::ring_buf::RingBuf;
use std::sync::{Arc, Mutex};
use std::string::String;
pub enum ServerState
{
GatherClients,
ActiveGame,
Idle
}
pub struct DataAnalyzerStruct
{
unprocessed_data: RingBuf<String>,
server_data: Arc... | 25.822034 | 112 | 0.621267 |
6055e125d8936316518bfd636a0b15ce37532704 | 1,221 | html | HTML | src/app/chat/chat.component.html | shimniok/sat-chat-client | cafea048b12c0869e1e9dffcf640dd202184e0b4 | [
"Apache-2.0"
] | null | null | null | src/app/chat/chat.component.html | shimniok/sat-chat-client | cafea048b12c0869e1e9dffcf640dd202184e0b4 | [
"Apache-2.0"
] | 6 | 2021-05-16T18:28:58.000Z | 2021-05-16T18:36:20.000Z | src/app/chat/chat.component.html | shimniok/sat-chat-client | cafea048b12c0869e1e9dffcf640dd202184e0b4 | [
"Apache-2.0"
] | null | null | null | <mat-drawer-container>
<div id="background">
<div class="box">
<mat-toolbar class="row header" color="primary">
<div><h2>Sat Chat</h2></div>
<div>
<button mat-icon-button class="button-container" aria-label="icon-button with menu icon">
<mat-icon>account... | 33.916667 | 128 | 0.536446 |
5b4a70723f105a5eb574908ff42800566a8fe030 | 8,143 | h | C | gdx-jnigen/src/main/resources/com/badlogic/gdx/jnigen/resources/headers/jdwpTransport.h | marcin85/gdx-jnigen | c1b9fed0d5bd5a56d47b66ff538c7932f21008bf | [
"Apache-2.0"
] | 28 | 2019-09-19T12:13:44.000Z | 2022-03-31T05:05:29.000Z | gdx-jnigen/src/main/resources/com/badlogic/gdx/jnigen/resources/headers/jdwpTransport.h | marcin85/gdx-jnigen | c1b9fed0d5bd5a56d47b66ff538c7932f21008bf | [
"Apache-2.0"
] | 18 | 2019-09-19T12:14:37.000Z | 2022-03-30T03:23:24.000Z | gdx-jnigen/src/main/resources/com/badlogic/gdx/jnigen/resources/headers/jdwpTransport.h | marcin85/gdx-jnigen | c1b9fed0d5bd5a56d47b66ff538c7932f21008bf | [
"Apache-2.0"
] | 14 | 2020-04-27T14:05:31.000Z | 2022-03-31T05:05:38.000Z | /*
* Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 29.397112 | 85 | 0.680339 |
598e14f6de1820ccc9fe599716257368fc3a7d7e | 763 | asm | Assembly | oeis/027/A027284.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/027/A027284.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/027/A027284.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A027284: a(n) = Sum_{k=0..2*n-2} T(n,k) * T(n,k+2), with T given by A026584.
; Submitted by Christian Krause
; 5,28,167,1024,6359,39759,249699,1573524,9943905,62994733,399936573,2543992514,16210331727,103453402718,661164765879,4230874777682,27105456280491,173838468040879,1115987495619427,7170725839251598,461133964769... | 95.375 | 495 | 0.817824 |
2726df2d2a6794c5f06c5a405983b4f7d21f23e1 | 3,992 | sql | SQL | data/scraping/fake_extra_virgin_olive_oil_dataprices.sql | loones19/APILoones | 825c13c3c8822bc9b66c2555ffc1d852f3e459f7 | [
"Unlicense",
"MIT"
] | null | null | null | data/scraping/fake_extra_virgin_olive_oil_dataprices.sql | loones19/APILoones | 825c13c3c8822bc9b66c2555ffc1d852f3e459f7 | [
"Unlicense",
"MIT"
] | 8 | 2019-12-04T23:41:37.000Z | 2022-02-10T10:05:09.000Z | data/scraping/fake_extra_virgin_olive_oil_dataprices.sql | loones19/APILoones | 825c13c3c8822bc9b66c2555ffc1d852f3e459f7 | [
"Unlicense",
"MIT"
] | null | null | null | INSERT INTO loones.data_dataprice (price, `date`, add_date, subcategory_id) VALUES(2200, '2019-07-1 00:00:00.000', '2019-07-12 00:00:00', 1);
INSERT INTO loones.data_dataprice (price, `date`, add_date, subcategory_id) VALUES(2300, '2019-07-2 00:00:00.000', '2019-07-12 00:00:00', 1);
INSERT INTO loones.data_dataprice (p... | 137.655172 | 142 | 0.719439 |
182c3e9bd1ca6dfabe9bd3fcce50fd87ce2bad99 | 213 | css | CSS | claswork 1problem.css | cs-fullstack-2019-spring/html-position-type-updated-cw-clyde5649 | c862540457f7f8ad85a9bbbdf0888a8c63005941 | [
"Apache-2.0"
] | null | null | null | claswork 1problem.css | cs-fullstack-2019-spring/html-position-type-updated-cw-clyde5649 | c862540457f7f8ad85a9bbbdf0888a8c63005941 | [
"Apache-2.0"
] | null | null | null | claswork 1problem.css | cs-fullstack-2019-spring/html-position-type-updated-cw-clyde5649 | c862540457f7f8ad85a9bbbdf0888a8c63005941 | [
"Apache-2.0"
] | null | null | null |
code {
background: gray;
color: black;
display: block;
}
}
header {
position: center;
margin: auto;
}
section{
position: absolute;
right: 600px;
display: inline-block;
}
| 7.888889 | 26 | 0.568075 |
855fb1a6226de687bfb07d86f4cc097180d4d2bd | 11,851 | js | JavaScript | extensions/lukasz-wronski.ftp-sync-0.3.2/modules/sync-helper.js | maxemiliang/vscode-ext | 3936431de4494e923d8b273ac399de2d65c2ea2d | [
"MIT"
] | null | null | null | extensions/lukasz-wronski.ftp-sync-0.3.2/modules/sync-helper.js | maxemiliang/vscode-ext | 3936431de4494e923d8b273ac399de2d65c2ea2d | [
"MIT"
] | 1 | 2020-07-21T12:37:28.000Z | 2020-07-21T12:37:28.000Z | extensions/lukasz-wronski.ftp-sync-0.3.2/modules/sync-helper.js | maxemiliang/vscode-ext | 3936431de4494e923d8b273ac399de2d65c2ea2d | [
"MIT"
] | null | null | null | var fs = require("fs");
var path = require("path");
var upath = require("upath");
var mkdirp = require("mkdirp");
var fswalk = require('fs-walk');
var _ = require('lodash');
var isIgnored = require('./is-ignored');
var output = require("./output");
var FtpWrapper = require("./ftp-wrapper");
var SftpWrapper = require(".... | 30.861979 | 97 | 0.673192 |
7fd9b11da820bc6736217f5f27e7bf7ff873d383 | 834 | go | Go | internal/web/actions/default/settings/authority/expire/renew.go | 1uLang/EdgeAdmin | b10d1ea7e53e2c887bbd4aaa733d29495261e3d3 | [
"BSD-3-Clause"
] | null | null | null | internal/web/actions/default/settings/authority/expire/renew.go | 1uLang/EdgeAdmin | b10d1ea7e53e2c887bbd4aaa733d29495261e3d3 | [
"BSD-3-Clause"
] | 3 | 2021-06-30T07:50:34.000Z | 2021-11-25T12:41:01.000Z | internal/web/actions/default/settings/authority/expire/renew.go | 1uLang/EdgeAdmin | b10d1ea7e53e2c887bbd4aaa733d29495261e3d3 | [
"BSD-3-Clause"
] | 1 | 2021-06-09T08:04:56.000Z | 2021-06-09T08:04:56.000Z | package expire
import (
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/index"
"github.com/iwind/TeaGo/actions"
)
type RenewAction struct {
actionutils.ParentAction
}
func (this *RenewAction) Init() {
this.Nav("", "", "index")
}
func ... | 18.954545 | 67 | 0.70024 |
d78eb474aaf84b19695c9385338b83963203451f | 244 | sql | SQL | src/test/resources/whereA.test_14.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 131 | 2015-03-31T18:59:14.000Z | 2022-03-09T09:51:06.000Z | src/test/resources/whereA.test_14.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 20 | 2015-03-31T21:35:38.000Z | 2018-07-02T16:15:51.000Z | src/test/resources/whereA.test_14.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 43 | 2015-04-28T02:01:55.000Z | 2021-06-06T09:33:38.000Z | -- whereA.test
--
-- db eval {
-- CREATE TABLE t2(x);
-- INSERT INTO t2 VALUES(1);
-- INSERT INTO t2 VALUES(2);
-- SELECT x FROM t2;
-- }
CREATE TABLE t2(x);
INSERT INTO t2 VALUES(1);
INSERT INTO t2 VALUES(2);
SELECT x FROM t2; | 20.333333 | 32 | 0.598361 |
389889c718046b9795dec0b93748949c44d07176 | 40,070 | c | C | main.c | 3RUN/Dungeon-Generation-Algorithm | 17a71592d92a4ec72eedc93198fcee5f41a31153 | [
"MIT"
] | null | null | null | main.c | 3RUN/Dungeon-Generation-Algorithm | 17a71592d92a4ec72eedc93198fcee5f41a31153 | [
"MIT"
] | null | null | null | main.c | 3RUN/Dungeon-Generation-Algorithm | 17a71592d92a4ec72eedc93198fcee5f41a31153 | [
"MIT"
] | null | null | null |
// tutorial/idea from https://www.boristhebrave.com/2020/09/12/dungeon-generation-in-binding-of-isaac/
// also some details are taken from 'Binding of Isaac: Explained!' videos from https://youtube.com/playlist?list=PLm_aCwRGMyAdCkytm9sp2-X7jfEU9ccXm
#include <acknex.h>
#include <default.c>
#include <windows.h>
#incl... | 27.807078 | 344 | 0.544647 |
810b0467108cc3c41cafe0cae2182708a302485f | 639 | kt | Kotlin | src/main/kotlin/mutableCollections/MutableMap.kt | jailsonsf/kotlin-collections | 03694fead5cee579f02adc5d214c892a372dd11d | [
"MIT"
] | null | null | null | src/main/kotlin/mutableCollections/MutableMap.kt | jailsonsf/kotlin-collections | 03694fead5cee579f02adc5d214c892a372dd11d | [
"MIT"
] | null | null | null | src/main/kotlin/mutableCollections/MutableMap.kt | jailsonsf/kotlin-collections | 03694fead5cee579f02adc5d214c892a372dd11d | [
"MIT"
] | null | null | null | package mutableCollections
import collections.Employee
fun main() {
val maria = Employee("Maria", 3000.0, "PJ")
val joao = Employee("João", 1000.0, "CLT")
val pedro = Employee("Pedro", 2000.0, "CLT")
val repository = Repository<Employee>()
repository.create(maria.name, maria)
repository.creat... | 27.782609 | 48 | 0.624413 |
4a3594a8bd9b3628a0f6f39f6b4e27c03f08a727 | 1,893 | sql | SQL | src/BugNET.Database/Stored Procedures/BugNet_IssueNotification_GetIssueNotificationsByIssueId.sql | thaihoc2/bugnet | 440bfd93d231c95acf20cf67d99a222d35bd7a4f | [
"MS-PL"
] | 200 | 2015-01-07T11:32:41.000Z | 2021-08-13T00:42:12.000Z | src/BugNET.Database/Stored Procedures/BugNet_IssueNotification_GetIssueNotificationsByIssueId.sql | China-HD/bugnet | cfab4aeacc7224425db86f0e1f94cf24e22acf2a | [
"MS-PL"
] | 203 | 2015-01-02T14:49:30.000Z | 2019-01-17T02:36:42.000Z | src/BugNET.Database/Stored Procedures/BugNet_IssueNotification_GetIssueNotificationsByIssueId.sql | China-HD/bugnet | cfab4aeacc7224425db86f0e1f94cf24e22acf2a | [
"MS-PL"
] | 236 | 2015-01-09T22:44:16.000Z | 2022-03-22T11:10:16.000Z |
CREATE PROCEDURE [dbo].[BugNet_IssueNotification_GetIssueNotificationsByIssueId]
@IssueId Int
AS
SET NOCOUNT ON
DECLARE @DefaultCulture NVARCHAR(50)
SET @DefaultCulture = (SELECT ISNULL(SettingValue, 'en-US') FROM BugNet_HostSettings WHERE SettingName = 'ApplicationDefaultLanguage')
DECLARE @tmpTable TABLE (Issu... | 32.084746 | 237 | 0.820391 |
26fb39341bcaabf7c8d8c2a94e732d45b6a8e5f9 | 32,008 | sql | SQL | db/views/trade_shipments_appendix_i_view/20180705094119.sql | unepwcmc/SAPI | 405dea1e757ae6c6d2d9a831a21ea17c78183b0e | [
"BSD-3-Clause"
] | 6 | 2016-03-15T16:36:17.000Z | 2021-03-26T18:38:35.000Z | db/views/trade_shipments_appendix_i_view/20180705094119.sql | unepwcmc/SAPI | 405dea1e757ae6c6d2d9a831a21ea17c78183b0e | [
"BSD-3-Clause"
] | 236 | 2015-01-21T21:33:16.000Z | 2022-02-26T01:49:01.000Z | db/views/trade_shipments_appendix_i_view/20180705094119.sql | unepwcmc/SAPI | 405dea1e757ae6c6d2d9a831a21ea17c78183b0e | [
"BSD-3-Clause"
] | 2 | 2017-11-13T15:51:34.000Z | 2020-10-27T11:00:02.000Z | SELECT DISTINCT *
FROM (
SELECT ts.id, ts.year, ts.appendix, ts.taxon_concept_id,
ts.taxon_concept_author_year AS author_year,
ts.taxon_concept_name_status AS name_status,
ts.taxon_concept_full_name AS taxon_name,
ts.taxon_concept_phylum_id AS phylum_id,... | 45.08169 | 140 | 0.699513 |
2705f44d0c2440f760b17d0053b30ceee0401017 | 322 | css | CSS | src/main/resources/static/css/404.0307462e.css | NikolasProst/Java-blogAPI | cc70fc5b6939f5b2aa8828225ab8705597aee36b | [
"MIT"
] | 1 | 2021-07-11T18:55:21.000Z | 2021-07-11T18:55:21.000Z | src/main/resources/static/css/404.0307462e.css | NikolasProst/Java-blogAPI | cc70fc5b6939f5b2aa8828225ab8705597aee36b | [
"MIT"
] | 2 | 2020-11-17T15:01:36.000Z | 2021-01-16T08:17:27.000Z | src/main/resources/static/css/404.0307462e.css | IkkiKing/SkillboxDiplom | 4163e90d05993300f1d03f6941edfb9f7e1220a0 | [
"Unlicense"
] | 1 | 2022-02-07T10:17:47.000Z | 2022-02-07T10:17:47.000Z | .error404{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.error404-Text{width:70%;font-size:25px;font-weight:700;text-align:cente... | 322 | 322 | 0.795031 |
2b257aab083ed2191de1e21331791fdc131ae5a9 | 288 | sql | SQL | AIDEBackendMaster/SQL Scripts/insert_Severity_Items.sql | chriscg/aide-backend | c7389b7d3da0b076d4975194a039f4ac4c77e2e3 | [
"BSD-3-Clause"
] | 2 | 2019-05-23T06:34:35.000Z | 2019-10-17T05:12:24.000Z | AIDEBackendMaster/SQL Scripts/insert_Severity_Items.sql | chriscg/aide-backend | c7389b7d3da0b076d4975194a039f4ac4c77e2e3 | [
"BSD-3-Clause"
] | 32 | 2019-05-23T12:48:45.000Z | 2020-07-23T10:28:25.000Z | AIDEBackendMaster/SQL Scripts/insert_Severity_Items.sql | chriscg/aide-backend | c7389b7d3da0b076d4975194a039f4ac4c77e2e3 | [
"BSD-3-Clause"
] | 2 | 2019-05-31T10:43:08.000Z | 2019-08-29T06:49:15.000Z | USE AIDE
GO
DELETE STATUS WHERE STATUS_NAME = 'SEVERITY'
INSERT INTO STATUS VALUES (13, 'SEVERITY', 'Low', 1)
INSERT INTO STATUS VALUES (13, 'SEVERITY', 'Medium', 2)
INSERT INTO STATUS VALUES (13, 'SEVERITY', 'High', 3)
INSERT INTO STATUS VALUES (13, 'SEVERITY', 'Critical', 4) | 32 | 57 | 0.6875 |
0e510f76422299d5ac90212a531e8ecd7895b653 | 275 | html | HTML | src/partials/scripts.html | delaneymethod/delaneymethod.github.io | e4f84aba96ef95227c89126f2416823a29a2a77e | [
"MIT"
] | null | null | null | src/partials/scripts.html | delaneymethod/delaneymethod.github.io | e4f84aba96ef95227c89126f2416823a29a2a77e | [
"MIT"
] | null | null | null | src/partials/scripts.html | delaneymethod/delaneymethod.github.io | e4f84aba96ef95227c89126f2416823a29a2a77e | [
"MIT"
] | null | null | null | <script src="{{root}}assets/js/app.js"></script>
<script>
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
ga('create','UA-47570574-1','auto');ga('send','pageview')
</script>
<script src="https://www.google-analytics.com/analytics.js" async defer></script>
| 39.285714 | 81 | 0.683636 |
088ba03d3286a56ade1f0a36f4fe313ec3051c43 | 358 | go | Go | metrics/metrics_suite_test.go | mrbuk/sop112_exporter | 17c948ab693242a5139c96fd13f82f415a9a906e | [
"MIT"
] | null | null | null | metrics/metrics_suite_test.go | mrbuk/sop112_exporter | 17c948ab693242a5139c96fd13f82f415a9a906e | [
"MIT"
] | null | null | null | metrics/metrics_suite_test.go | mrbuk/sop112_exporter | 17c948ab693242a5139c96fd13f82f415a9a906e | [
"MIT"
] | null | null | null | package metrics_test
import (
"testing"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
log "github.com/sirupsen/logrus"
)
func TestMetrics(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Metrics Suite")
}
var _ = Describe("Ensure GinkgoWriter is used for logging", func() {
BeforeSuite(func() {... | 16.272727 | 68 | 0.706704 |
061b7ee491c6f2f8183d69470867385eb6b738e9 | 531 | kt | Kotlin | app/src/main/java/net/saoshyant/Life/app/LruBitmapCache.kt | amirabbas8/life-android-client | ef5ac235333ec1dfbd4364769875f4ba1569e488 | [
"MIT"
] | 1 | 2020-08-06T03:28:23.000Z | 2020-08-06T03:28:23.000Z | app/src/main/java/net/saoshyant/Life/app/LruBitmapCache.kt | amirabbas8/life-android-client | ef5ac235333ec1dfbd4364769875f4ba1569e488 | [
"MIT"
] | null | null | null | app/src/main/java/net/saoshyant/Life/app/LruBitmapCache.kt | amirabbas8/life-android-client | ef5ac235333ec1dfbd4364769875f4ba1569e488 | [
"MIT"
] | null | null | null | package net.saoshyant.Life.app
import android.graphics.Bitmap
import android.support.v4.util.LruCache
import com.android.volley.toolbox.ImageLoader.ImageCache
class LruBitmapCache(maxSize: Int) : LruCache<String, Bitmap>(maxSize), ImageCache {
override fun sizeOf(key: String, value: Bitmap): Int {
return... | 25.285714 | 84 | 0.702448 |
5a069359e73e90f9d16604bca6fef4b522a68a42 | 2,516 | rs | Rust | rust/day-2/src/lib.rs | nathankleyn/advent-of-code-2017 | 25e3681af98f9979989e94c75a4728334b11f054 | [
"MIT"
] | null | null | null | rust/day-2/src/lib.rs | nathankleyn/advent-of-code-2017 | 25e3681af98f9979989e94c75a4728334b11f054 | [
"MIT"
] | null | null | null | rust/day-2/src/lib.rs | nathankleyn/advent-of-code-2017 | 25e3681af98f9979989e94c75a4728334b11f054 | [
"MIT"
] | null | null | null | #[allow(dead_code)]
fn day_2_part_1(input: &str) -> i64 {
input.lines().map(|row| {
let state = row.split_whitespace().fold(ChecksumState::zero(), |acc, c| {
let incoming: i64 = c.parse().unwrap();
acc.update(incoming)
});
state.largest.unwrap_or(0) - state.smallest.... | 22.872727 | 93 | 0.459062 |
8e55fa406f8b97278d725a3b76b1a4b15a1fdda6 | 6,083 | sql | SQL | security-admin/db/mysql/alti_ranger_service.sql | Altiscale/ranger | cb87b6237d79cfe7bca45fb28b7409640834c031 | [
"Apache-2.0"
] | null | null | null | security-admin/db/mysql/alti_ranger_service.sql | Altiscale/ranger | cb87b6237d79cfe7bca45fb28b7409640834c031 | [
"Apache-2.0"
] | 8 | 2017-11-09T01:27:23.000Z | 2018-05-01T01:42:20.000Z | security-admin/db/mysql/alti_ranger_service.sql | Altiscale/ranger | cb87b6237d79cfe7bca45fb28b7409640834c031 | [
"Apache-2.0"
] | 2 | 2018-01-23T21:46:29.000Z | 2019-05-03T20:18:08.000Z | -- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to You under the Apache License, Version 2.0
-- (the "License"); you may not... | 98.112903 | 362 | 0.791879 |
f01b60da24ac57c6411633ed9cdae5efdce3f477 | 7,108 | js | JavaScript | app/models/logging.js | openwhyd/openwhyd-solo | da9c7953e2f7a58fe467e71a6d3da0d567b28fb3 | [
"MIT"
] | 1 | 2022-02-28T15:55:56.000Z | 2022-02-28T15:55:56.000Z | app/models/logging.js | openwhyd/openwhyd-solo | da9c7953e2f7a58fe467e71a6d3da0d567b28fb3 | [
"MIT"
] | 9 | 2022-03-01T18:11:34.000Z | 2022-03-29T10:55:32.000Z | app/models/logging.js | openwhyd/openwhyd-solo | da9c7953e2f7a58fe467e71a6d3da0d567b28fb3 | [
"MIT"
] | null | null | null | var http = require('http');
var querystring = require('querystring');
var errorTemplate = require('../templates/error.js');
const snip = require('../snip.js');
const genReqLogLine = ({ head, method, path, params, suffix }) =>
!process.appParams.color
? [
head,
method,
path[0] + (path.leng... | 28.318725 | 90 | 0.644766 |
5f92a7d03068326777cf58dc816fb8cf3602e851 | 2,779 | h | C | third_party/virtualbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/xf86PciData.h | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 521 | 2019-03-29T15:44:08.000Z | 2022-03-22T09:46:19.000Z | third_party/virtualbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/xf86PciData.h | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 30 | 2019-06-04T17:00:49.000Z | 2021-09-08T20:44:19.000Z | third_party/virtualbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/xf86PciData.h | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 99 | 2019-03-29T16:04:13.000Z | 2022-03-28T16:59:34.000Z |
/*
* Copyright (c) 2000-2002 by The XFree86 Project, Inc.
*
* 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,... | 39.7 | 78 | 0.77222 |
c669c051edbf093e7b531775b31b6bc8ad863908 | 3,398 | rb | Ruby | spec/unit/types/email_spec.rb | SchooLynk/custom_fields | 0fe0668a71ce281369b2ed28571a2d2c5b892489 | [
"MIT"
] | null | null | null | spec/unit/types/email_spec.rb | SchooLynk/custom_fields | 0fe0668a71ce281369b2ed28571a2d2c5b892489 | [
"MIT"
] | 2 | 2019-08-25T10:30:48.000Z | 2021-05-11T10:11:25.000Z | spec/unit/types/email_spec.rb | SchooLynk/custom_fields | 0fe0668a71ce281369b2ed28571a2d2c5b892489 | [
"MIT"
] | null | null | null | describe CustomFields::Types::Email do
let(:default) { nil }
let(:blog) { build_blog }
let(:field) { blog.posts_custom_fields.first }
let(:post) { blog.posts.build title: 'Hello world', body: 'Lorem ipsum...' }
it 'is not considered as a relationship field type' do
expect(field.is_relationship?)... | 29.042735 | 137 | 0.620954 |
c43055f1177dc01778fe19ed177cfeb0f5a21da8 | 1,864 | h | C | HazelDash/src/Scripts/Level.h | 0xworks/HazelDash | ba5106526dc61e3647b2815156e0ac08a2d37f22 | [
"Apache-2.0"
] | 19 | 2020-04-26T19:16:16.000Z | 2021-05-31T07:31:20.000Z | HazelDash/src/Scripts/Level.h | 0xworks/HazelDash | ba5106526dc61e3647b2815156e0ac08a2d37f22 | [
"Apache-2.0"
] | 1 | 2020-06-28T10:30:07.000Z | 2020-07-02T09:11:18.000Z | HazelDash/src/Scripts/Level.h | 0xworks/HazelDash | ba5106526dc61e3647b2815156e0ac08a2d37f22 | [
"Apache-2.0"
] | 3 | 2021-09-02T07:38:41.000Z | 2021-11-12T09:10:51.000Z | #pragma once
#include "Components/Tile.h"
#include "Hazel/Scene/NativeScript.h"
class Level final : public Hazel::NativeScript {
public:
Level(Hazel::Entity entity, int level, float fixedTimeStep, float animationTimestep);
virtual ~Level();
virtual void OnUpdate(Hazel::Timestep ts) override;
void OnExplode(co... | 24.526316 | 115 | 0.744635 |
4fed4bd91b85e62f2be80a24edffa07b6d4de849 | 76 | lua | Lua | gamemode/rust/gamemode/modules/inventory/cl_meta_player.lua | Synix28/Gmod-Rust | 2f93b20f5e3ff86cb8f052faf537253d5423ad23 | [
"MIT"
] | 1 | 2019-05-10T17:56:03.000Z | 2019-05-10T17:56:03.000Z | gamemode/rust/gamemode/modules/inventory/cl_meta_player.lua | Synix28/Gmod-Rust | 2f93b20f5e3ff86cb8f052faf537253d5423ad23 | [
"MIT"
] | 1 | 2019-09-22T09:56:43.000Z | 2019-09-27T19:26:09.000Z | gamemode/rust/gamemode/modules/inventory/cl_meta_player.lua | Synix28/Gmod-Rust | 2f93b20f5e3ff86cb8f052faf537253d5423ad23 | [
"MIT"
] | null | null | null | --[[
Inventory - CL Meta
]]--
local PLAYER = FindMetaTable("Player")
| 9.5 | 38 | 0.592105 |
859a3dc5cd8e6106a2226fc8c77dc88a381cfa0e | 2,489 | js | JavaScript | cif/cart/test/integration/applyCouponToCartTest.js | lopesdasilva/commerce-cif-graphql-integration-hybris | 3db6966d29750d18897e0cc8bac7a616aa830901 | [
"Apache-2.0"
] | 8 | 2020-04-11T00:14:32.000Z | 2021-12-21T19:11:04.000Z | cif/cart/test/integration/applyCouponToCartTest.js | lopesdasilva/commerce-cif-graphql-integration-hybris | 3db6966d29750d18897e0cc8bac7a616aa830901 | [
"Apache-2.0"
] | 6 | 2022-03-14T10:37:17.000Z | 2022-03-14T10:39:09.000Z | cif/cart/test/integration/applyCouponToCartTest.js | lopesdasilva/commerce-cif-graphql-integration-hybris | 3db6966d29750d18897e0cc8bac7a616aa830901 | [
"Apache-2.0"
] | 4 | 2021-05-20T16:22:19.000Z | 2022-03-14T11:09:54.000Z | /*******************************************************************************
*
* Copyright 2019 Adobe. All rights reserved.
* This file is licensed to you 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
* ... | 38.292308 | 185 | 0.631177 |
4d056f46839000d66d39c00563b58916ba92e446 | 3,117 | lua | Lua | yatm_thermal_ducts/nodes/thermal_duct.lua | IceDragon200/mt-yatm | 7452f2905e1f4121dc9d244d18a23e76b11ebe5d | [
"Apache-2.0"
] | 3 | 2019-03-15T03:17:36.000Z | 2020-02-19T19:50:49.000Z | yatm_thermal_ducts/nodes/thermal_duct.lua | IceDragon200/mt-yatm | 7452f2905e1f4121dc9d244d18a23e76b11ebe5d | [
"Apache-2.0"
] | 24 | 2019-12-02T06:01:04.000Z | 2021-04-08T04:09:27.000Z | yatm_thermal_ducts/nodes/thermal_duct.lua | IceDragon200/mt-yatm | 7452f2905e1f4121dc9d244d18a23e76b11ebe5d | [
"Apache-2.0"
] | null | null | null | local cluster_thermal = assert(yatm.cluster.thermal)
local table_length = assert(foundation.com.table_length)
local table_merge = assert(foundation.com.table_merge)
-- A very thick duct
local size = 8 / 16 / 2
local groups = {
cracky = 1,
yatm_cluster_thermal = 1,
heatable_device = 1,
heater_device = 1,
the... | 25.54918 | 69 | 0.63683 |
d9083b21d76a6c3fdb6a3636f8bbe4320fb35cf1 | 912 | asm | Assembly | tests/fizzbuzz.asm | ntrupin/navmv | 7106f979419051119fcd3e9bf498b390d030d1e9 | [
"MIT"
] | 8 | 2020-01-12T07:11:21.000Z | 2021-12-23T08:59:55.000Z | tests/fizzbuzz.asm | ntrupin/navmv | 7106f979419051119fcd3e9bf498b390d030d1e9 | [
"MIT"
] | null | null | null | tests/fizzbuzz.asm | ntrupin/navmv | 7106f979419051119fcd3e9bf498b390d030d1e9 | [
"MIT"
] | null | null | null | section .data
.dec blank 0x10/
_start:
jmp fizzbuzz
fizzbuzz:
push ax
push bx
push cx
push dx
mov ax, 0
push ax
jmp fizzbuzz_loop
fizzbuzz_loop:
pop ax
inc ax
cmp ax, 101
je fizzbuzz_done
push ax
mov cx, ax
mod cx, 3
cmp cx, 0
je fizzbuzz_fizz
... | 14.709677 | 23 | 0.587719 |
91f77a5b954fa57e748070f396ae9d2201c41196 | 643 | kt | Kotlin | packages/@simpli/cli-server/generator/injected/src/main/model/rm/TemplateRM.kt | simplitech/simpli-cli | 8c6a7f85da614627e205fca68125317d2732adcc | [
"MIT"
] | 3 | 2018-04-05T12:45:23.000Z | 2020-09-14T00:31:04.000Z | packages/@simpli/cli-server/generator/injected/src/main/model/rm/TemplateRM.kt | simplitech/simpli-cli | 8c6a7f85da614627e205fca68125317d2732adcc | [
"MIT"
] | 79 | 2019-02-06T19:35:42.000Z | 2022-02-13T19:58:38.000Z | packages/@simpli/cli-server/generator/injected/src/main/model/rm/TemplateRM.kt | simplitech/simpli-cli | 8c6a7f85da614627e205fca68125317d2732adcc | [
"MIT"
] | null | null | null | <%_ var packageAddress = options.serverSetup.packageAddress _%>
<%_ var startCase = options.serverSetup.startCase _%>
package <%-packageAddress%>.model.rm
import <%-packageAddress%>.model.resource.<%-table.modelName%>
import br.com.simpli.sql.Query
import br.com.simpli.sql.ResultBuilder
import java.sql.ResultSet
/**
... | 23.814815 | 63 | 0.723173 |
3bbfeafdc30d1cdfdf0140bbfcc2fc90f01d4359 | 24,650 | sql | SQL | sge.sql | yurrr/termPaper | 4a24e70331e2021c2d6bfbe796ad8a4728448475 | [
"MIT"
] | 2 | 2017-10-11T18:06:11.000Z | 2017-10-11T22:55:26.000Z | sge.sql | yurrr/termPaper | 4a24e70331e2021c2d6bfbe796ad8a4728448475 | [
"MIT"
] | 3 | 2017-10-12T03:26:34.000Z | 2017-10-12T17:45:51.000Z | sge.sql | yurrr/Neutron-Classes-management | 4a24e70331e2021c2d6bfbe796ad8a4728448475 | [
"MIT"
] | 3 | 2019-06-01T11:19:46.000Z | 2020-06-24T13:57:09.000Z | -- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Oct 12, 2017 at 06:08 AM
-- Server version: 10.1.28-MariaDB
-- PHP Version: 7.1.10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OL... | 30.735661 | 249 | 0.591278 |
e71b6b6cf8e7c599604773b7595d55d7edc14a12 | 383 | js | JavaScript | src/utils/multiCommits.js | shinenic/a-tree | b8b56555b481003c566ff71ff43c9a17d9bf11f1 | [
"MIT"
] | 56 | 2021-11-26T14:43:08.000Z | 2022-02-25T07:47:02.000Z | src/utils/multiCommits.js | shinenic/github-review-enhancer | aabe312f542e5e1d5b284eb1b40691d136c9595b | [
"MIT"
] | 3 | 2021-09-16T18:03:50.000Z | 2021-12-04T03:55:57.000Z | src/utils/multiCommits.js | shinenic/github-review-enhancer | aabe312f542e5e1d5b284eb1b40691d136c9595b | [
"MIT"
] | 4 | 2021-11-26T15:46:49.000Z | 2022-03-17T07:30:44.000Z | /**
* @note We may got only the first 7 characters of the SHA from pathname
* when users select multi commits by the native dropdown,
* in order to align the query key and prevent redundant queries,
* store the first 7 characters of the sha as the query key
*/
export const getBasehead = (base, head) =>
bas... | 42.555556 | 72 | 0.681462 |
65805b1152428a66b0dfdc44d57447f48018d812 | 595 | rs | Rust | src/lib/token.rs | ceres-lang/ceres-rs | 97a230144012682172f15ba0fb95eebed38ee562 | [
"MIT"
] | 10 | 2021-04-08T11:40:47.000Z | 2021-04-30T07:47:41.000Z | src/lib/token.rs | ceres-lang/ceres-rs | 97a230144012682172f15ba0fb95eebed38ee562 | [
"MIT"
] | 1 | 2021-04-09T20:14:45.000Z | 2021-04-09T20:14:45.000Z | src/lib/token.rs | ceres-lang/ceres-rs | 97a230144012682172f15ba0fb95eebed38ee562 | [
"MIT"
] | null | null | null | #[derive(Debug, Clone, PartialEq)]
pub enum Token {
// Operators
Plus,
Minus,
Star,
Slash,
Dot,
Comma,
LeftParen,
RightParen,
LeftBrace,
RightBrace,
Colon,
Semicolon,
Not,
Equals,
EqualsEquals,
NotEquals,
Less,
Greater,
LesserEqual,
Gre... | 12.934783 | 34 | 0.541176 |
e788bfca052e68d97ed2795f42111f9b9baca80b | 178 | js | JavaScript | data/js/78/94/e8/00/00/00.24.js | p-g-krish/deepmac-tracker | 44d625a6b1ec30bf52f8d12a44b0afc594eb5f94 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | data/js/78/94/e8/00/00/00.24.js | p-g-krish/deepmac-tracker | 44d625a6b1ec30bf52f8d12a44b0afc594eb5f94 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | data/js/78/94/e8/00/00/00.24.js | p-g-krish/deepmac-tracker | 44d625a6b1ec30bf52f8d12a44b0afc594eb5f94 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | deepmacDetailCallback("7894e8000000/24",[{"d":"2019-12-03","t":"add","s":"ieee-oui.csv","a":"8601 73rd Ave N, Suite 38 Brooklyn Park MN US 55428","c":"US","o":"Radio Bridge"}]);
| 89 | 177 | 0.646067 |
7d5b6458eac0c826923bd073762cf35c3975ed27 | 829 | html | HTML | prof/support2/pure_js/scope/closure.html | fredatgithub/AngularTraining | 5fa16959e39e3668fa8cbda0de6895ef833182ba | [
"MIT"
] | null | null | null | prof/support2/pure_js/scope/closure.html | fredatgithub/AngularTraining | 5fa16959e39e3668fa8cbda0de6895ef833182ba | [
"MIT"
] | null | null | null | prof/support2/pure_js/scope/closure.html | fredatgithub/AngularTraining | 5fa16959e39e3668fa8cbda0de6895ef833182ba | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html ng-app='myApp'>
<head>
<meta charset="utf-8" />
<title>
Closure
</title>
</head>
<body >
<script>
function additioneur(increment) {
// la variable "increment" est ici enfermé dans un espace de nom pourque
// chaque nouvelle fonction ainsi créée. Ce phénomène, qui i... | 20.725 | 78 | 0.6731 |
c5b1095ec3c77f6af2f1409ab62eafca4f9b2523 | 38 | lua | Lua | test/translation/lua/tupleReturnDefinition.lua | zengjie/TypescriptToLua | 68168d9a8d86a0af6d6c3104a4445d01508f81de | [
"MIT"
] | null | null | null | test/translation/lua/tupleReturnDefinition.lua | zengjie/TypescriptToLua | 68168d9a8d86a0af6d6c3104a4445d01508f81de | [
"MIT"
] | null | null | null | test/translation/lua/tupleReturnDefinition.lua | zengjie/TypescriptToLua | 68168d9a8d86a0af6d6c3104a4445d01508f81de | [
"MIT"
] | null | null | null | function myFunc()
return 3,"4"
end | 12.666667 | 17 | 0.657895 |
e8db35ba967d9e65ca9d8b55e48764bb1fce3b61 | 101 | py | Python | parents/admin.py | joseph0919/Student_Management_Django | 085e839a86ac574f5ebe83a4911c5808841f50cd | [
"MIT"
] | null | null | null | parents/admin.py | joseph0919/Student_Management_Django | 085e839a86ac574f5ebe83a4911c5808841f50cd | [
"MIT"
] | null | null | null | parents/admin.py | joseph0919/Student_Management_Django | 085e839a86ac574f5ebe83a4911c5808841f50cd | [
"MIT"
] | null | null | null | from django.contrib import admin
from parents.models import Guardian
admin.site.register(Guardian)
| 16.833333 | 35 | 0.831683 |
05ee95acb527c37d5bb667077f2f6de48a0de9f5 | 5,912 | swift | Swift | CartKit/Source/FlashCartridge.swift | tww0003/CartBoy | f853eaa12120f289aa44098c744fe8bcd1d92b67 | [
"Unlicense"
] | 49 | 2019-05-16T19:14:34.000Z | 2022-03-06T01:34:43.000Z | CartKit/Source/FlashCartridge.swift | tww0003/CartBoy | f853eaa12120f289aa44098c744fe8bcd1d92b67 | [
"Unlicense"
] | 7 | 2019-05-29T12:39:38.000Z | 2022-03-20T19:02:57.000Z | CartKit/Source/FlashCartridge.swift | tww0003/CartBoy | f853eaa12120f289aa44098c744fe8bcd1d92b67 | [
"Unlicense"
] | 6 | 2019-06-07T14:13:06.000Z | 2021-12-11T06:13:46.000Z | import Gibby
public protocol Chipset {
associatedtype Platform: Gibby.Platform where Platform.Cartridge.Index == Int
static func erase<SerialDevice: SerialPortController>(_ serialDevice: Result<SerialDevice,Swift.Error>) -> Result<SerialDevice,Swift.Error>
static func flash<SerialDevice>(_ serialDevic... | 35.614458 | 235 | 0.54567 |
7f1d02cd86f10d023692949faf3c68cdffdd8b62 | 7,984 | go | Go | pkg/apis/kuadrant/v1/types.go | Kuadrant/kcp-glbc | 59a41250a6dd7699ba914d496c171dc4a2f77fc4 | [
"Apache-2.0"
] | null | null | null | pkg/apis/kuadrant/v1/types.go | Kuadrant/kcp-glbc | 59a41250a6dd7699ba914d496c171dc4a2f77fc4 | [
"Apache-2.0"
] | 10 | 2022-02-24T16:06:43.000Z | 2022-03-31T12:34:23.000Z | pkg/apis/kuadrant/v1/types.go | Kuadrant/kcp-ingress | 368fc0c4c0fc929dbd2a78fe93cb262317dac0a0 | [
"Apache-2.0"
] | 3 | 2022-02-04T13:57:21.000Z | 2022-02-15T14:46:27.000Z | package v1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// +genclient
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// DNSRecord is a DNS record managed by the HCG.
type DNSRecord struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// spec ... | 32.855967 | 139 | 0.743111 |
5f99050e5b4df31ba54b1f155149bdf4502409fa | 316 | h | C | discordClient/discord/reaction.h | SeungheonOh/DisCpp | fe8c6b614f2ce8ea0c05f32f3bf0211d23a3e4a6 | [
"MIT"
] | 70 | 2019-07-19T21:47:52.000Z | 2021-12-06T15:10:58.000Z | discordClient/discord/reaction.h | SeungheonOh/DisCpp | fe8c6b614f2ce8ea0c05f32f3bf0211d23a3e4a6 | [
"MIT"
] | 5 | 2019-07-20T23:34:44.000Z | 2019-10-15T14:08:31.000Z | discordClient/discord/reaction.h | SeungheonOh/DisCpp | fe8c6b614f2ce8ea0c05f32f3bf0211d23a3e4a6 | [
"MIT"
] | 1 | 2019-07-20T19:03:28.000Z | 2019-07-20T19:03:28.000Z | #pragma once
#ifndef REACTION_H
#define REACTION_H
#include <string>
#include <sstream>
#include <json/json.h>
class Reaction{
public:
unsigned int m_count;
bool m_me;
std::string m_emoji;
Reaction(std::string s);
unsigned int count() const;
bool isMe() const;
std::string emoji() const;
};
#endif
| 14.363636 | 29 | 0.702532 |
f04859b27ee91e595f5a5127a619b6f6d8f15b47 | 5,391 | py | Python | extract_embeddings.py | Artem531/opencv-face-recognition-with-YOLOv3 | 53a93711a079ea3739cab068aeaf5c684f6e53c4 | [
"MIT"
] | null | null | null | extract_embeddings.py | Artem531/opencv-face-recognition-with-YOLOv3 | 53a93711a079ea3739cab068aeaf5c684f6e53c4 | [
"MIT"
] | null | null | null | extract_embeddings.py | Artem531/opencv-face-recognition-with-YOLOv3 | 53a93711a079ea3739cab068aeaf5c684f6e53c4 | [
"MIT"
] | null | null | null | # USAGE
# python extract_embeddings.py --dataset dataset --embeddings output/embeddings.pickle \
# --detector face_detection_model --embedding-model openface_nn4.small2.v1.t7
# import the necessary packages
from imutils.face_utils import FaceAligner
from imutils import paths
import numpy as np
import argparse
import i... | 32.475904 | 88 | 0.708959 |
05dd7ca1a3056a388029b682de03cb04b8dfd710 | 979 | rb | Ruby | lib/slack_notifier.rb | bbhunter/vinifera | 2cad4a821b957c600db8098ffc523ad72e53882a | [
"Apache-2.0"
] | 66 | 2021-02-23T04:32:01.000Z | 2022-03-30T06:44:01.000Z | lib/slack_notifier.rb | bbhunter/vinifera | 2cad4a821b957c600db8098ffc523ad72e53882a | [
"Apache-2.0"
] | 3 | 2022-01-27T15:16:48.000Z | 2022-03-31T01:50:39.000Z | lib/slack_notifier.rb | bbhunter/vinifera | 2cad4a821b957c600db8098ffc523ad72e53882a | [
"Apache-2.0"
] | 6 | 2021-02-23T04:46:20.000Z | 2021-06-18T11:49:22.000Z | class SlackNotifier
CHANNELS = {UPDATES: 'vinifera-updates',
TARGET: 'vinifera-targets',
USER_TRACKING: 'vinifera-user-tracking',
VIOLATIONS: 'vinifera-violations',
ERROR: 'vinifera-error'
}.freeze
def notify(message, channel = CHANNELS[:UPDATES])
chann... | 29.666667 | 61 | 0.691522 |
eca975a8278bc9e55f2122ba4541264e97365c7c | 2,707 | kt | Kotlin | app/src/main/java/com/barackbao/eyeread/mvp/presenter/VideoContentPersenter.kt | shentibeitaokongle/EyeRead | aae9a636135e377587e0ecb818a1f6876e98b2b5 | [
"Apache-2.0"
] | 1 | 2018-03-23T14:25:25.000Z | 2018-03-23T14:25:25.000Z | app/src/main/java/com/barackbao/eyeread/mvp/presenter/VideoContentPersenter.kt | shentibeitaokongle/EyeRead | aae9a636135e377587e0ecb818a1f6876e98b2b5 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/barackbao/eyeread/mvp/presenter/VideoContentPersenter.kt | shentibeitaokongle/EyeRead | aae9a636135e377587e0ecb818a1f6876e98b2b5 | [
"Apache-2.0"
] | null | null | null | package com.barackbao.eyeread.mvp.presenter
import android.app.Activity
import android.util.Log
import com.barackbao.eyeread.mvp.contract.VideoContentContract
import com.barackbao.eyeread.mvp.model.DetailModel
import com.barackbao.eyeread.mvp.model.bean.Issue
import com.barackbao.eyeread.mvp.model.bean.Item
im... | 33.419753 | 98 | 0.549317 |
38a4d66c6f27f15981aae624b2c8159ca2a2c38b | 314 | h | C | Source/distortion.h | leocarrr/dig4150_2022 | 79a199b577ad4578ac2482bcfef97a35ecba1953 | [
"MIT"
] | null | null | null | Source/distortion.h | leocarrr/dig4150_2022 | 79a199b577ad4578ac2482bcfef97a35ecba1953 | [
"MIT"
] | null | null | null | Source/distortion.h | leocarrr/dig4150_2022 | 79a199b577ad4578ac2482bcfef97a35ecba1953 | [
"MIT"
] | null | null | null | /*
==============================================================================
distortion.h
Created: 30 Mar 2022 10:32:29am
Author: Leo Carr
==============================================================================
*/
#pragma once
#include "../JuceLibraryCode/JuceHeader.h"
| 24.153846 | 81 | 0.289809 |
c469a755f750b6fd3da0310840e25015230d08b9 | 2,463 | h | C | Fireworks/Geometry/interface/FWRecoGeometryESProducer.h | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | Fireworks/Geometry/interface/FWRecoGeometryESProducer.h | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | Fireworks/Geometry/interface/FWRecoGeometryESProducer.h | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #ifndef GEOMETRY_FWRECO_GEOMETRY_ES_PRODUCER_H
# define GEOMETRY_FWRECO_GEOMETRY_ES_PRODUCER_H
# include <memory>
# include "FWCore/Framework/interface/ESProducer.h"
# include "FWCore/Framework/interface/ESHandle.h"
# include "DataFormats/GeometryVector/interface/GlobalPoint.h"
namespace edm
{
class ParameterSet;... | 31.576923 | 89 | 0.750305 |
277c7ed9efe481fc8e6adc8e435cdf48d1ec7671 | 14,417 | css | CSS | css/style.css | tassiLuca/silmarillion | 3db7cc41354049d5826d723d22144403d4be079f | [
"MIT",
"OLDAP-2.2.1",
"Unlicense"
] | null | null | null | css/style.css | tassiLuca/silmarillion | 3db7cc41354049d5826d723d22144403d4be079f | [
"MIT",
"OLDAP-2.2.1",
"Unlicense"
] | null | null | null | css/style.css | tassiLuca/silmarillion | 3db7cc41354049d5826d723d22144403d4be079f | [
"MIT",
"OLDAP-2.2.1",
"Unlicense"
] | null | null | null | /****************************************************************************
* Common rules for all website.
****************************************************************************/
.hidden{ display: none; }
body, h1, h2, h3, ul, button {
margin: 0;
padding: 0;
}
body {
background-color: rgba(202,... | 22.884127 | 84 | 0.537976 |
7b008f90c4d9d641f9ba3bbffc14e53f822a54e9 | 144 | rb | Ruby | db/migrate/20210126001307_add_featured_photo_to_restaurants.rb | mjones1818/neighborhood_food_backend | 4655e2c8489cf0bcad7c09e0b4908575c28ba084 | [
"MIT"
] | null | null | null | db/migrate/20210126001307_add_featured_photo_to_restaurants.rb | mjones1818/neighborhood_food_backend | 4655e2c8489cf0bcad7c09e0b4908575c28ba084 | [
"MIT"
] | null | null | null | db/migrate/20210126001307_add_featured_photo_to_restaurants.rb | mjones1818/neighborhood_food_backend | 4655e2c8489cf0bcad7c09e0b4908575c28ba084 | [
"MIT"
] | null | null | null | class AddFeaturedPhotoToRestaurants < ActiveRecord::Migration[6.0]
def change
add_column :restaurants, :featured_image, :string
end
end
| 24 | 66 | 0.784722 |
5c4302a27e6289031b2239bbf8b0449f6782f062 | 11,732 | css | CSS | public/css/monthly.css | sophanna999/smartcode_mef | bb4259294a105570ea138640ceb5861f939a5eee | [
"MIT"
] | null | null | null | public/css/monthly.css | sophanna999/smartcode_mef | bb4259294a105570ea138640ceb5861f939a5eee | [
"MIT"
] | null | null | null | public/css/monthly.css | sophanna999/smartcode_mef | bb4259294a105570ea138640ceb5861f939a5eee | [
"MIT"
] | null | null | null | @font-face {
font-family: 'KhmerOS_muolpali';
src: url('fonts/KhmerOS_muolpali.ttf') format('truetype');
}
.wrap-calendar{
background:#fff;
width:100%;
margin:0 auto 0;
/*padding:20px 20px 0;
box-shadow: 0 0 3px 1px rgba(0,0,0,0.07);
-webkit-box-shadow: 0 0 3px 1px rgba(0,0,0,0.07); */
}
.page{
/*padding... | 21.21519 | 90 | 0.683089 |
f6e619059a9fcfa502c9979700ea3cfcaef6a2b5 | 1,946 | swift | Swift | Chapter09/5623_09_code/5623_09_code/ButtonView.swift | PacktPublishing/Mastering-macOS-Programming | 4e65338aaccb3e20bef31167b192a178a4124879 | [
"MIT"
] | 21 | 2017-07-03T11:14:14.000Z | 2022-03-09T06:26:48.000Z | Chapter09/5623_09_code/5623_09_code/ButtonView.swift | PacktPublishing/Mastering-macOS-Programming | 4e65338aaccb3e20bef31167b192a178a4124879 | [
"MIT"
] | null | null | null | Chapter09/5623_09_code/5623_09_code/ButtonView.swift | PacktPublishing/Mastering-macOS-Programming | 4e65338aaccb3e20bef31167b192a178a4124879 | [
"MIT"
] | 11 | 2017-06-14T14:01:46.000Z | 2022-02-21T16:39:30.000Z | //
// ButtonView.swift
// 5623_09_code
//
// Created by Stuart Grimshaw on 1/11/16.
// Copyright © 2016 Stuart Grimshaw. All rights reserved.
//
import Cocoa
@IBDesignable
class ButtonView: NSButton
{
@IBInspectable var borderColor: NSColor = .orange
@IBInspectable var normalButtonColor: NSColor = .white
@I... | 22.367816 | 77 | 0.615108 |
c3697edfe68dc21de74545afcefdff8f0ea10ab1 | 2,695 | go | Go | drpcsignal/signal.go | unistack-org/drpc | 7713ed76eb9b15259c57f7b85a1230628cf400ec | [
"MIT"
] | 992 | 2019-10-02T17:04:48.000Z | 2022-03-31T20:17:50.000Z | drpcsignal/signal.go | unistack-org/drpc | 7713ed76eb9b15259c57f7b85a1230628cf400ec | [
"MIT"
] | 23 | 2020-03-18T18:15:15.000Z | 2022-03-27T10:53:46.000Z | drpcsignal/signal.go | unistack-org/drpc | 7713ed76eb9b15259c57f7b85a1230628cf400ec | [
"MIT"
] | 29 | 2019-10-23T12:19:03.000Z | 2022-03-26T02:37:55.000Z | // Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
package drpcsignal
import (
"sync"
"sync/atomic"
)
type signalStatus = uint32
const (
statusErrorSet = 0b10
statusChannelCreated = 0b01
)
// Signal contains an error value that can be set one and exports
// a number of ways to... | 24.724771 | 80 | 0.696104 |
041b6ad69c68f130c60c1013c0277859586772eb | 1,302 | js | JavaScript | sandbox/graphqlVersion/server/allLocales.js | guigrpa/abroad | 589b877de14c8a268997867da405d99d545ed295 | [
"MIT"
] | 94 | 2016-04-11T16:32:45.000Z | 2022-01-03T21:20:36.000Z | sandbox/graphqlVersion/server/allLocales.js | guigrpa/abroad | 589b877de14c8a268997867da405d99d545ed295 | [
"MIT"
] | 37 | 2016-04-30T13:58:47.000Z | 2022-02-17T20:57:14.000Z | sandbox/graphqlVersion/server/allLocales.js | guigrpa/abroad | 589b877de14c8a268997867da405d99d545ed295 | [
"MIT"
] | 16 | 2016-06-17T13:46:19.000Z | 2021-02-27T19:56:31.000Z | import fs from 'fs';
import path from 'path';
import _t from '../translate';
const SUPPORTED_LOCALES = ['en', 'en-US', 'en-GB', 'ca', 'es'];
const addLocaleCode = lang => {
const langPath = path.join(__dirname, `../locales/${lang}.js`);
const localeCode = fs.readFileSync(langPath, 'utf8');
_t.addLocaleCode(lang... | 28.933333 | 75 | 0.611367 |
538de2e23f77840afb56e0666eb83b2a87142fb9 | 9,246 | swift | Swift | Select_Assignment1_Sorts.playground/Sources/XCTestAsserts.swift | huydangquoc/select_w1_assignment | 721c2c5d7b598a15aab1cdcfbfa608cc6b0e9ea8 | [
"Apache-2.0"
] | null | null | null | Select_Assignment1_Sorts.playground/Sources/XCTestAsserts.swift | huydangquoc/select_w1_assignment | 721c2c5d7b598a15aab1cdcfbfa608cc6b0e9ea8 | [
"Apache-2.0"
] | 1 | 2016-06-30T17:16:10.000Z | 2016-07-04T05:25:23.000Z | Select_Assignment1_Sorts.playground/Sources/XCTestAsserts.swift | huydangquoc/select_w1_assignment | 721c2c5d7b598a15aab1cdcfbfa608cc6b0e9ea8 | [
"Apache-2.0"
] | null | null | null | // Playground Tests
import Foundation
let defaultMessage = ""
/// Emits a test failure if the general `Boolean` expression passed
/// to it evaluates to `false`.
///
/// - Requires: This and all other XCTAssert* functions must be called from
/// within a test method, as passed to `XCTMain`.
/// Assertion failure... | 34.5 | 85 | 0.574519 |
ff1ab7212d0ba27bce662f21167aaf0f87837485 | 32,449 | sql | SQL | contrib/hawq-hadoop/hawq-mapreduce-tool/test-data/test_parquet_alltypes/test_parquet_alltypes.sql | YangHao666666/hawq | 10cff8350f1ba806c6fec64eb67e0e6f6f24786c | [
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 450 | 2015-09-05T09:12:51.000Z | 2018-08-30T01:45:36.000Z | contrib/hawq-hadoop/hawq-mapreduce-tool/test-data/test_parquet_alltypes/test_parquet_alltypes.sql | YangHao666666/hawq | 10cff8350f1ba806c6fec64eb67e0e6f6f24786c | [
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 1,274 | 2015-09-22T20:06:16.000Z | 2018-08-31T22:14:00.000Z | contrib/hawq-hadoop/hawq-mapreduce-tool/test-data/test_parquet_alltypes/test_parquet_alltypes.sql | YangHao666666/hawq | 10cff8350f1ba806c6fec64eb67e0e6f6f24786c | [
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 278 | 2015-09-21T19:15:06.000Z | 2018-08-31T00:36:51.000Z | DROP TABLE IF EXISTS test_parquet_alltypes;
CREATE TABLE test_parquet_alltypes (c0 bool, c1 bit, c2 varbit, c3 bytea, c4 int2, c5 int4, c6 int8, c7 numeric, c8 char(10), c9 varchar(10), c10 text, c11 date, c12 time, c13 timestamp, c14 interval, c15 point, c16 lseg, c17 box, c18 circle, c19 path, c20 polygon, c21 macadd... | 318.127451 | 428 | 0.572714 |
0b3f95c97639b3abd555db4e30fef992d56dda30 | 1,954 | py | Python | tests/test_res_grp_config.py | danos/vplane-config-npf | 2103ac7e19ee77eacff30a3d11cf487dfbefee26 | [
"BSD-3-Clause"
] | null | null | null | tests/test_res_grp_config.py | danos/vplane-config-npf | 2103ac7e19ee77eacff30a3d11cf487dfbefee26 | [
"BSD-3-Clause"
] | null | null | null | tests/test_res_grp_config.py | danos/vplane-config-npf | 2103ac7e19ee77eacff30a3d11cf487dfbefee26 | [
"BSD-3-Clause"
] | 2 | 2020-05-27T10:34:20.000Z | 2021-01-20T05:40:32.000Z | #!/usr/bin/env python3
# Copyright (c) 2019, AT&T Intellectual Property.
# All rights reserved.
#
# SPDX-License-Identifier: LGPL-2.1-only
#
"""
Unit-tests for the qos_config.py module.
"""
from vyatta.res_grp.res_grp_config import ResGrpConfig
TEST_DATA = {
'vyatta-resources-v1:resources': {
'vyatta-re... | 32.566667 | 71 | 0.413511 |
4e08551dfd056694bf217aa16d2c8e3b2f28f066 | 433 | rs | Rust | rftrace-frontend/src/lib.rs | mkroening/rftrace | 484a8bda052dff94de1e6f9b88864d261a9618c8 | [
"Apache-2.0",
"MIT"
] | 18 | 2020-06-27T11:09:48.000Z | 2022-03-26T12:58:01.000Z | rftrace-frontend/src/lib.rs | mkroening/rftrace | 484a8bda052dff94de1e6f9b88864d261a9618c8 | [
"Apache-2.0",
"MIT"
] | 10 | 2020-05-12T12:47:39.000Z | 2021-12-19T22:52:13.000Z | rftrace-frontend/src/lib.rs | mkroening/rftrace | 484a8bda052dff94de1e6f9b88864d261a9618c8 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-04-06T08:57:06.000Z | 2021-07-14T12:09:36.000Z | //! This crate provides a possible frontend for rftracer.
//! It can initialize an event buffer, enable/disable tracing and save the trace to disk in a uftrace compatible format.
//! A lot of documentation can be found in the parent workspaces [readme](https://github.com/tlambertz/rftrace).
#![feature(vec_into_raw_par... | 33.307692 | 120 | 0.769053 |
7d5bebcc228305ea4fceb55b3e72bf17040aacff | 5,549 | html | HTML | confirmation.html | MT2314/Date-Night-Planner | 2fd4fcd607767e60ce86ba4712d4cb13b8314fd7 | [
"MIT"
] | 4 | 2020-11-19T03:39:12.000Z | 2021-02-05T03:31:34.000Z | confirmation.html | MT2314/Date-Night-Planner | 2fd4fcd607767e60ce86ba4712d4cb13b8314fd7 | [
"MIT"
] | 10 | 2020-11-18T02:51:02.000Z | 2020-11-20T03:06:40.000Z | confirmation.html | ivanduranic/date-night-planner | f78a866e5e08bec1d3c9cad6f7a2d09f3e51a04f | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Reset CSS-->
<link rel="stylesheet" type="text/css" href="assets/reset.css"/>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?fam... | 43.015504 | 152 | 0.470535 |
185eb8523ef8553fed06ed154077be9f6028d203 | 3,023 | rb | Ruby | test/rspecs/lib/command_module/callbacks_rspec.rb | adammw/sfn | cc601844a4208613803f784759242e88ae6c3546 | [
"Apache-2.0"
] | 69 | 2015-05-04T17:40:43.000Z | 2021-03-26T00:42:09.000Z | test/rspecs/lib/command_module/callbacks_rspec.rb | adammw/sfn | cc601844a4208613803f784759242e88ae6c3546 | [
"Apache-2.0"
] | 209 | 2015-02-20T22:52:19.000Z | 2020-08-16T03:46:15.000Z | test/rspecs/lib/command_module/callbacks_rspec.rb | adammw/sfn | cc601844a4208613803f784759242e88ae6c3546 | [
"Apache-2.0"
] | 29 | 2015-04-13T16:25:58.000Z | 2021-06-20T11:52:20.000Z | require_relative "../../../rspecs"
RSpec.describe Sfn::CommandModule::Callbacks do
let(:ui) { double(:ui) }
let(:callbacks) { [] }
let(:config) { double(:config) }
let(:arguments) { double(:arguments) }
let(:provider) { double(:provider) }
let(:instance) { klass.new(config, ui, arguments, provider) }
let... | 33.966292 | 113 | 0.665564 |
0c98a8571671f7ec771a67037041f3b8e9ba1d24 | 274 | py | Python | tests/test_tradera.py | paeronskruven/lw | a2e4b6363656812a0857a8b2cf69be3e710afe94 | [
"MIT"
] | null | null | null | tests/test_tradera.py | paeronskruven/lw | a2e4b6363656812a0857a8b2cf69be3e710afe94 | [
"MIT"
] | null | null | null | tests/test_tradera.py | paeronskruven/lw | a2e4b6363656812a0857a8b2cf69be3e710afe94 | [
"MIT"
] | null | null | null | import lw.sources.tradera
def test_valid_query():
results = lw.sources.tradera.TraderaSource().query('a')
assert len(list(results)) > 0
def test_invalid_query():
results = lw.sources.tradera.TraderaSource().query('abc123')
assert len(list(results)) == 0
| 22.833333 | 64 | 0.70438 |
774f27659c8aa8ab6066ef7df04d00124b975a93 | 2,210 | rs | Rust | aquatic_http_load_test/src/utils.rs | greatest-ape/aquatic | 614dea755b5703018ccf42c1c28c7cc5de22305e | [
"Apache-2.0"
] | 220 | 2020-04-20T15:10:30.000Z | 2022-03-28T04:51:53.000Z | aquatic_http_load_test/src/utils.rs | greatest-ape/aquatic | 614dea755b5703018ccf42c1c28c7cc5de22305e | [
"Apache-2.0"
] | 5 | 2020-05-04T02:41:01.000Z | 2022-03-31T19:03:40.000Z | aquatic_http_load_test/src/utils.rs | greatest-ape/aquatic | 614dea755b5703018ccf42c1c28c7cc5de22305e | [
"Apache-2.0"
] | 4 | 2021-08-13T12:00:48.000Z | 2022-02-02T01:41:46.000Z | use std::sync::Arc;
use rand::distributions::WeightedIndex;
use rand::prelude::*;
use rand_distr::Pareto;
use crate::common::*;
use crate::config::*;
pub fn create_random_request(
config: &Config,
state: &LoadTestState,
rng: &mut impl Rng,
) -> Request {
let weights = [
config.torrents.weight... | 27.283951 | 99 | 0.645249 |
9ae98eb6967bbf24a2a9da4d1f839b542cc2d3bd | 43 | css | CSS | test/cycles/src/dependency.css | Munter/netlify-plugin-hashfiles | e3f0a5ccc908edef812c471cbe5b62a548f5b38b | [
"BSD-3-Clause"
] | 28 | 2019-10-21T13:24:09.000Z | 2022-03-18T01:35:08.000Z | test/cycles/src/dependency.css | Munter/netlify-plugin-hashfiles | e3f0a5ccc908edef812c471cbe5b62a548f5b38b | [
"BSD-3-Clause"
] | 45 | 2019-11-06T16:07:42.000Z | 2022-03-12T20:58:38.000Z | test/cycles/src/dependency.css | Munter/netlify-plugin-hashfiles | e3f0a5ccc908edef812c471cbe5b62a548f5b38b | [
"BSD-3-Clause"
] | 6 | 2019-12-06T23:26:12.000Z | 2020-09-11T11:51:31.000Z | @import 'main.css';
h1 {
color: blue;
}
| 7.166667 | 19 | 0.55814 |
32eb95e74eb0b1dea5ef539e7922bce0fca4bdf6 | 1,186 | asm | Assembly | testdata/unit/add_sub_cvzn_flag_test.asm | tehmaze/mos65xx | 60dbe6b949efcf197106eeae4382e084493a27b0 | [
"MIT"
] | 3 | 2019-10-24T09:41:14.000Z | 2021-12-12T08:11:52.000Z | testdata/unit/add_sub_cvzn_flag_test.asm | tehmaze/mos65xx | 60dbe6b949efcf197106eeae4382e084493a27b0 | [
"MIT"
] | null | null | null | testdata/unit/add_sub_cvzn_flag_test.asm | tehmaze/mos65xx | 60dbe6b949efcf197106eeae4382e084493a27b0 | [
"MIT"
] | 1 | 2020-11-11T17:11:54.000Z | 2020-11-11T17:11:54.000Z |
; Tests CV flags as described in http://www.6502.org/tutorials/vflag.html
; Also tests CLC/SEC/PHP and the NZ flags
; Note that 6502js does not set the I flag by default, so stack will differ
; without an additional SEI
CLC ; 1 + 1 = 2, returns C = 0
LDA #$01
ADC #$01
PHP ; 0x34 = --I-B1--
CLC ; 1 + -1 = 0... | 17.701493 | 75 | 0.535413 |
ca90e039de77e3e2ea5c4df7b06036819efcd356 | 2,531 | swift | Swift | ios/app/occupyhdm/occupyhdm/SettingsTableViewController.swift | pguth/OccupyHdM | 7cf5381598d39d02cceedc6aebc7cf8b9dad5952 | [
"MIT"
] | null | null | null | ios/app/occupyhdm/occupyhdm/SettingsTableViewController.swift | pguth/OccupyHdM | 7cf5381598d39d02cceedc6aebc7cf8b9dad5952 | [
"MIT"
] | null | null | null | ios/app/occupyhdm/occupyhdm/SettingsTableViewController.swift | pguth/OccupyHdM | 7cf5381598d39d02cceedc6aebc7cf8b9dad5952 | [
"MIT"
] | null | null | null | import UIKit
class SettingsTableViewController: UITableViewController {
@IBOutlet weak var labelAccuracy: UILabel!
@IBOutlet weak var sliderAccuracy: UISlider!
@IBOutlet weak var labelDistance: UILabel!
@IBOutlet weak var sliderDistance: UISlider!
@IBOutlet weak var labelRefreshRate: UILabel!
@... | 35.152778 | 96 | 0.705255 |
d85c8330f2cd5e25c4ca2f6bd475872252aba179 | 778 | kt | Kotlin | Parent/app/src/main/kotlin/com/github/midros/istheapp/data/rxFirebase/RxFirebaseStorage.kt | Michyus/IsTheApp | faab27dae4fbf7cb6b341fdd94f670ecb2308742 | [
"Apache-2.0"
] | 7 | 2020-01-28T14:36:55.000Z | 2021-02-28T23:06:03.000Z | Parent/app/src/main/kotlin/com/github/midros/istheapp/data/rxFirebase/RxFirebaseStorage.kt | Michyus/IsTheApp | faab27dae4fbf7cb6b341fdd94f670ecb2308742 | [
"Apache-2.0"
] | 2 | 2021-04-14T23:25:00.000Z | 2022-03-09T11:54:48.000Z | Parent/app/src/main/kotlin/com/github/midros/istheapp/data/rxFirebase/RxFirebaseStorage.kt | mfa237/Open-source-android-spyware | faab27dae4fbf7cb6b341fdd94f670ecb2308742 | [
"Apache-2.0"
] | 8 | 2018-12-14T18:02:36.000Z | 2021-04-24T15:25:40.000Z | package com.github.midros.istheapp.data.rxFirebase
import com.google.firebase.storage.FileDownloadTask
import com.google.firebase.storage.StorageReference
import io.reactivex.Single
import java.io.File
/**
* Created by luis rafael on 28/03/18.
*/
object RxFirebaseStorage {
fun StorageReference.rxGetFile(destin... | 35.363636 | 106 | 0.709512 |
6040f03e5ce6b91e1e50b2747d7cf5ea389cc6ff | 43,455 | html | HTML | index.html | united-earth/landingpage | a8c3e875ee9f44511849e09d988f57aeaf98e232 | [
"Apache-2.0"
] | null | null | null | index.html | united-earth/landingpage | a8c3e875ee9f44511849e09d988f57aeaf98e232 | [
"Apache-2.0"
] | null | null | null | index.html | united-earth/landingpage | a8c3e875ee9f44511849e09d988f57aeaf98e232 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>United Earth</title>
<!-- ... | 103.95933 | 1,008 | 0.684386 |
a229884ff78297f1e960916a7afb503eb336a167 | 147 | asm | Assembly | other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sample2/interrupt.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sample2/interrupt.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sample2/interrupt.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: interrupt.asm
Type: file
Size: 19083
Last-Modified: '1992-10-05T06:12:42Z'
SHA-1: C76D989143FB47E4CED4C8C716CC182D879D9EF9
Description: null
| 21 | 47 | 0.816327 |