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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dd9c9cb670a868688063acefc5dc38275886044d | 1,077 | go | Go | comment.go | itchyny/go-kintone | b83b0ffcb17a11c72591215be3759a4d0b3475c4 | [
"BSD-2-Clause"
] | 8 | 2016-05-01T06:53:25.000Z | 2019-07-09T23:51:34.000Z | comment.go | itchyny/go-kintone | b83b0ffcb17a11c72591215be3759a4d0b3475c4 | [
"BSD-2-Clause"
] | 11 | 2016-05-12T00:30:46.000Z | 2020-02-14T06:18:58.000Z | comment.go | itchyny/go-kintone | b83b0ffcb17a11c72591215be3759a4d0b3475c4 | [
"BSD-2-Clause"
] | 18 | 2015-07-31T09:00:43.000Z | 2020-06-15T16:34:44.000Z | package kintone
import (
"encoding/json"
"errors"
)
//
const (
ConstCommentMentionTypeGroup = "GROUP"
ConstCommentMentionTypeDepartment = "ORGANIZATION"
ConstCommentMentionTypeUser = "USER"
)
// ObjMentions structure
type ObjMention struct {
Code string `json:"code"`
Type string `json:"type"`
}
//... | 21.979592 | 61 | 0.672238 |
502c0aad13ef2fe5f62da67fe6ccdec547ae174b | 3,192 | go | Go | go/src/fblib/edge.go | dominichamon/force-bundles | 3bc542ef7d471a3541f58e9458473d5b0e3839fd | [
"Apache-2.0"
] | null | null | null | go/src/fblib/edge.go | dominichamon/force-bundles | 3bc542ef7d471a3541f58e9458473d5b0e3839fd | [
"Apache-2.0"
] | null | null | null | go/src/fblib/edge.go | dominichamon/force-bundles | 3bc542ef7d471a3541f58e9458473d5b0e3839fd | [
"Apache-2.0"
] | 1 | 2020-11-15T20:12:29.000Z | 2020-11-15T20:12:29.000Z | package fblib
import (
"fmt"
"math"
)
const (
K = 0.01
)
type Edge struct {
forces []Vector
velocities []Vector
vertices []Point
}
func NewEdge(p0, p1 Point) *Edge {
return &Edge{forces: []Vector{}, velocities: []Vector{}, vertices: []Point{p0, p1},}
}
func (e *Edge) compatibility(q Edge) float64 {
d... | 24.744186 | 85 | 0.640664 |
46d20b2d9b3022661062e990c3d4b3eddafd1b02 | 527 | swift | Swift | UIXMLSamples/UIXMLSamples/RowSpanCell.swift | bsorrentino/UIXML | 14bfa54e661c77e55c2ce1a776e945a7c7ec5772 | [
"MIT"
] | null | null | null | UIXMLSamples/UIXMLSamples/RowSpanCell.swift | bsorrentino/UIXML | 14bfa54e661c77e55c2ce1a776e945a7c7ec5772 | [
"MIT"
] | null | null | null | UIXMLSamples/UIXMLSamples/RowSpanCell.swift | bsorrentino/UIXML | 14bfa54e661c77e55c2ce1a776e945a7c7ec5772 | [
"MIT"
] | null | null | null | //
// RowSpanCell.swift
// UIXMLSamples
//
// Created by softphone on 23/11/2017.
// Copyright © 2017 soulsoftware. All rights reserved.
//
import Foundation
import UIKit
@objc class RowSpanViewController : UIXMLFormViewControllerEx {
override func viewDidLoad() {
super.viewDidLoad()
... | 17.566667 | 63 | 0.685009 |
f02b8245c77b51b14671d8a00624f3eea527fbb8 | 137 | js | JavaScript | src/services/api.js | sifthedog/dashboard-reactjs | 85bc883877e4acb6259c4ab99c0aadac9cc46b71 | [
"MIT"
] | 35 | 2020-05-15T14:37:48.000Z | 2021-12-14T06:40:14.000Z | src/services/api.js | sifthedog/dashboard-reactjs | 85bc883877e4acb6259c4ab99c0aadac9cc46b71 | [
"MIT"
] | 4 | 2021-03-10T22:07:39.000Z | 2022-02-27T06:35:55.000Z | src/services/api.js | sifthedog/dashboard-reactjs | 85bc883877e4acb6259c4ab99c0aadac9cc46b71 | [
"MIT"
] | 8 | 2020-05-15T14:27:55.000Z | 2021-12-14T06:40:16.000Z | // import axios from 'axios';
// const api = axios.create({
// baseURL: 'YourAPIHost'
// });
const api = null;
export default api;
| 15.222222 | 29 | 0.620438 |
fcd7c91aa132719ce99799ca856e30c6465e5fd0 | 603 | css | CSS | public/css/template.css | GouirahFarid/parc_informatique | 007e485612a002530c780e235d66f3b6bc9bbb6a | [
"MIT"
] | null | null | null | public/css/template.css | GouirahFarid/parc_informatique | 007e485612a002530c780e235d66f3b6bc9bbb6a | [
"MIT"
] | null | null | null | public/css/template.css | GouirahFarid/parc_informatique | 007e485612a002530c780e235d66f3b6bc9bbb6a | [
"MIT"
] | 2 | 2021-05-05T11:34:29.000Z | 2021-07-08T17:18:10.000Z |
body{
background-color: #617cad;
font-family:"Arial Rounded MT Bold";
}
.navbar{
background-color: #2e2c62;
}
.drop:hover{
background-color: #e17410;
color:#FFF;
}
a:hover{
text-decoration: none;
}
.glyphicon{
margin-right: 3px;
}
table{
background-color: #FFFFFF;
}
... | 14.707317 | 41 | 0.575456 |
e78602804eb2be485029323e6b4206ee79b8c5b3 | 1,606 | js | JavaScript | packages/docs/src/pages/card/samples/Card14.js | jeven2016/react-windy-ui | 93623d11fec4b282ecaeb3e09c60bf81ecf56c3f | [
"MIT"
] | 1 | 2022-01-22T14:31:30.000Z | 2022-01-22T14:31:30.000Z | packages/docs/src/pages/card/samples/Card14.js | jeven2016/react-windy-ui | 93623d11fec4b282ecaeb3e09c60bf81ecf56c3f | [
"MIT"
] | 2 | 2021-06-12T05:52:22.000Z | 2022-02-26T07:03:01.000Z | packages/docs/src/pages/card/samples/Card14.js | jeven2016/react-windy-ui | 93623d11fec4b282ecaeb3e09c60bf81ecf56c3f | [
"MIT"
] | null | null | null | import React, {useState} from 'react';
import {Button, Card, Space, Toggle} from 'react-windy-ui';
import pic from './girl1.jpg';
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
import {faPlus} from "@fortawesome/free-solid-svg-icons";
export default function Card14() {
const [darkMask, setDarkMask] ... | 32.77551 | 79 | 0.534247 |
4a33f5543c3aada54e72254aa795486fbea199b2 | 560 | js | JavaScript | test/language/types/reference/8.7.2-4-s.js | katemihalikova/test262 | aaf4402b4ca9923012e61830fba588bf7ceb6027 | [
"BSD-3-Clause"
] | 2,602 | 2015-01-02T10:45:13.000Z | 2022-03-30T23:04:17.000Z | test/language/types/reference/8.7.2-4-s.js | katemihalikova/test262 | aaf4402b4ca9923012e61830fba588bf7ceb6027 | [
"BSD-3-Clause"
] | 2,157 | 2015-01-06T05:01:55.000Z | 2022-03-31T17:18:08.000Z | test/language/types/reference/8.7.2-4-s.js | katemihalikova/test262 | aaf4402b4ca9923012e61830fba588bf7ceb6027 | [
"BSD-3-Clause"
] | 527 | 2015-01-08T16:04:26.000Z | 2022-03-24T03:34:47.000Z | // Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 8.7.2-4-s
description: >
Strict Mode - TypeError is thrown if LeftHandSide is a reference
to an accessor property with no setter
flags: [onlyStrict]
---*/
... | 28 | 70 | 0.632143 |
98bcd51fac26fb3b59c94c13cb4ee2a6c0d21718 | 297 | html | HTML | src/app/containers/default-layout/default-footer/default-footer.component.html | Rawandlazez/angularProject | 2db145716ec1f5e531ff67b77d1e7c042e8818b9 | [
"MIT"
] | null | null | null | src/app/containers/default-layout/default-footer/default-footer.component.html | Rawandlazez/angularProject | 2db145716ec1f5e531ff67b77d1e7c042e8818b9 | [
"MIT"
] | null | null | null | src/app/containers/default-layout/default-footer/default-footer.component.html | Rawandlazez/angularProject | 2db145716ec1f5e531ff67b77d1e7c042e8818b9 | [
"MIT"
] | null | null | null | <!--<c-footer>-->
<div>
<a href="https://coreui.io/pro/angular/" target="_blank"></a>
<span> © </span>
</div>
<div class="ms-auto">
Created by
<a href="https://coreui.io/pro/angular" target="_blank">
<span> Rawand lazez</span>
</a>
</div>
<!--</c-footer>-->
| 22.846154 | 65 | 0.535354 |
69ea31a382e1d75a0a6cded0419c75ece8791dfd | 9,755 | sql | SQL | u635941118_rent.sql | VincentiusGerardo/RentalBackEnd | 2f8b44bba6e6f70e6e1049138e5a9296fc9aae30 | [
"MIT"
] | null | null | null | u635941118_rent.sql | VincentiusGerardo/RentalBackEnd | 2f8b44bba6e6f70e6e1049138e5a9296fc9aae30 | [
"MIT"
] | null | null | null | u635941118_rent.sql | VincentiusGerardo/RentalBackEnd | 2f8b44bba6e6f70e6e1049138e5a9296fc9aae30 | [
"MIT"
] | 1 | 2019-12-14T15:53:27.000Z | 2019-12-14T15:53:27.000Z | -- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 10.4.1.142:3306
-- Generation Time: Aug 30, 2019 at 05:31 PM
-- Server version: 10.2.24-MariaDB
-- PHP Version: 7.2.18
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 S... | 35.472727 | 273 | 0.67104 |
b9bb414dad9610d1fb5a3291c8eff43f1538e8e9 | 2,241 | kt | Kotlin | pleo-antaeus-core/src/test/kotlin/io/pleo/antaeus/context/billing/service/BillingSagaServiceTest.kt | dmorenoh/new-anteaus | 5b693a0967a0074675da829710de9ead041a286c | [
"CC0-1.0"
] | null | null | null | pleo-antaeus-core/src/test/kotlin/io/pleo/antaeus/context/billing/service/BillingSagaServiceTest.kt | dmorenoh/new-anteaus | 5b693a0967a0074675da829710de9ead041a286c | [
"CC0-1.0"
] | null | null | null | pleo-antaeus-core/src/test/kotlin/io/pleo/antaeus/context/billing/service/BillingSagaServiceTest.kt | dmorenoh/new-anteaus | 5b693a0967a0074675da829710de9ead041a286c | [
"CC0-1.0"
] | null | null | null | package io.pleo.antaeus.context.billing.service
import io.mockk.every
import io.mockk.mockk
import io.mockk.slot
import io.mockk.verify
import io.pleo.antaeus.context.billing.command.CompleteBillingBatchProcessCommand
import io.pleo.antaeus.context.billing.event.BillingBatchProcessStartedEvent
import io.pleo.antaeus.c... | 37.35 | 98 | 0.740295 |
6bacd2b12cd4a63a35ed097e0da3b7977ba4037b | 2,119 | h | C | LoggingSupport.framework/OSLogTermDumper.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 4 | 2021-10-06T12:15:26.000Z | 2022-02-21T02:26:00.000Z | LoggingSupport.framework/OSLogTermDumper.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | null | null | null | LoggingSupport.framework/OSLogTermDumper.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 1 | 2021-10-08T07:40:53.000Z | 2021-10-08T07:40:53.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/LoggingSupport.framework/LoggingSupport
*/
@interface OSLogTermDumper : NSObject {
unsigned char _colorMode;
unsigned short _cur_attrs;
bool _fancy;
int _fd;
unsigned short _last_attrs;
struct os_trace_blob_s {
... | 29.027397 | 83 | 0.689476 |
041be5062dc1b3c6681eedc987b3066621e616be | 1,651 | js | JavaScript | config/butler.defaults.js | palantirnet/butler | c156fe1b28df6c129cd77d4b4e0ea806c9e1d222 | [
"MIT"
] | 13 | 2016-10-26T09:34:48.000Z | 2019-01-10T18:10:18.000Z | config/butler.defaults.js | palantirnet/butler | c156fe1b28df6c129cd77d4b4e0ea806c9e1d222 | [
"MIT"
] | 75 | 2015-09-16T20:11:46.000Z | 2022-03-22T13:22:33.000Z | config/butler.defaults.js | palantirnet/butler | c156fe1b28df6c129cd77d4b4e0ea806c9e1d222 | [
"MIT"
] | 2 | 2015-11-05T20:11:31.000Z | 2016-03-02T15:11:09.000Z | // Define Butler default configuration
var defaults = {};
// What we run by default.
defaults.develop_tasks = ['sass', 'sculpin', 'watch'];
// .scss files
defaults.scss = ['../../styleguide/source/code/sass/*.scss', '../../styleguide/source/code/sass/**/*.scss'];
// location of the compiled CSS
defaults.css = '../..... | 33.693878 | 108 | 0.69473 |
bccb951d1c37a80587443a3084ebf508f258e96a | 3,705 | js | JavaScript | assets/modules/login/js/login.js | zealinfovision/fastpmcf | c814edb8d806cf88efc3b928a2b2c9b96133861f | [
"MIT"
] | null | null | null | assets/modules/login/js/login.js | zealinfovision/fastpmcf | c814edb8d806cf88efc3b928a2b2c9b96133861f | [
"MIT"
] | null | null | null | assets/modules/login/js/login.js | zealinfovision/fastpmcf | c814edb8d806cf88efc3b928a2b2c9b96133861f | [
"MIT"
] | null | null | null | $(document).ready(function() {
$("#login_user_vendor_form").validate({
rules: {
password: {
required: true,
maxlength: 20
},
email: {
required: true,
email: true,
maxlength: 50
},
... | 45.182927 | 207 | 0.438327 |
b14e202ca9ab08cb5c8a9f745c9eb5c1e20233b8 | 324 | css | CSS | web/css/custom.css | TheSuperSagor/shufflehex_admin | 3b4afecb6fac65f3304a997787aea318cb0664b4 | [
"BSD-3-Clause"
] | null | null | null | web/css/custom.css | TheSuperSagor/shufflehex_admin | 3b4afecb6fac65f3304a997787aea318cb0664b4 | [
"BSD-3-Clause"
] | null | null | null | web/css/custom.css | TheSuperSagor/shufflehex_admin | 3b4afecb6fac65f3304a997787aea318cb0664b4 | [
"BSD-3-Clause"
] | null | null | null | .main-logo{
width: 180px !important;
height: 30px !important;
margin-top: 8px;
border-right:0 !important;
}
body {
font-family: 'Poppins', sans-serif !important;
}
.breadcumbs ul {
background-color: #4c5f6b;
}
.breadcumbs li{
color: white !important;
}
.breadcumbs a {
color: #fe493... | 14.086957 | 50 | 0.62963 |
9c01205d252ee1a4634218eb8952a31f3a7fab86 | 3,906 | js | JavaScript | test/utils.spec.js | lake-effect/react-decoration | a7322bd66eaaffb6376e76cf3e864486904c8fed | [
"MIT"
] | 679 | 2016-09-28T18:15:21.000Z | 2022-02-06T21:21:11.000Z | test/utils.spec.js | lake-effect/react-decoration | a7322bd66eaaffb6376e76cf3e864486904c8fed | [
"MIT"
] | 13 | 2016-10-22T02:45:35.000Z | 2020-03-27T12:44:43.000Z | test/utils.spec.js | lake-effect/react-decoration | a7322bd66eaaffb6376e76cf3e864486904c8fed | [
"MIT"
] | 34 | 2016-09-27T21:06:32.000Z | 2021-07-17T02:44:54.000Z | import expect from 'expect';
import React from 'react';
import ReactTestUtils from 'react-dom/test-utils';
import {
validateClass,
validateFunction,
validateClassAndFunction,
} from '../src/utils/validators';
import getEventPreprocessor from '../src/utils/getEventPreprocessor';
import wrapLifecycleMethod from '..... | 30.515625 | 94 | 0.616743 |
3d052dd80b40866b1a5f2797e995992515d13b8d | 2,149 | go | Go | pkg/cli/v0/loadbalancer/backends.go | MagnusS/infrakit | 350060829e83c2ff3f10f2ce9af3167590e9b59e | [
"Apache-2.0"
] | 1 | 2021-07-01T05:28:49.000Z | 2021-07-01T05:28:49.000Z | pkg/cli/v0/loadbalancer/backends.go | MagnusS/infrakit | 350060829e83c2ff3f10f2ce9af3167590e9b59e | [
"Apache-2.0"
] | null | null | null | pkg/cli/v0/loadbalancer/backends.go | MagnusS/infrakit | 350060829e83c2ff3f10f2ce9af3167590e9b59e | [
"Apache-2.0"
] | null | null | null | package loadbalancer
import (
"fmt"
"io"
"os"
"github.com/docker/infrakit/pkg/cli"
"github.com/docker/infrakit/pkg/spi/instance"
"github.com/spf13/cobra"
)
// Backends returns the describe command
func Backends(name string, services *cli.Services) *cobra.Command {
backends := &cobra.Command{
Use: "backend... | 20.084112 | 67 | 0.604467 |
daafe6c9914e40a08742468ef3abfffe4a473ca3 | 10,067 | sql | SQL | sistema_de_votacion.sql | StivenEnriquez/Votacion | ca516b1e5c5d190776d7b83df4e1c71f3df68c81 | [
"MIT"
] | null | null | null | sistema_de_votacion.sql | StivenEnriquez/Votacion | ca516b1e5c5d190776d7b83df4e1c71f3df68c81 | [
"MIT"
] | null | null | null | sistema_de_votacion.sql | StivenEnriquez/Votacion | ca516b1e5c5d190776d7b83df4e1c71f3df68c81 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 16-02-2021 a las 09:30:57
-- Versión del servidor: 10.4.17-MariaDB
-- Versión de PHP: 8.0.0
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_... | 32.06051 | 172 | 0.678554 |
9edd57faa5df8c4cb4f693a459e2342b93f2e60c | 1,816 | rs | Rust | src/service/places/request.rs | timeanddate/libtad-rs | c4a3bd4c80780196c17358e7a5b4e39182d857a9 | [
"MIT"
] | null | null | null | src/service/places/request.rs | timeanddate/libtad-rs | c4a3bd4c80780196c17358e7a5b4e39182d857a9 | [
"MIT"
] | null | null | null | src/service/places/request.rs | timeanddate/libtad-rs | c4a3bd4c80780196c17358e7a5b4e39182d857a9 | [
"MIT"
] | null | null | null | use serde::Serialize;
#[derive(Default, Serialize)]
/// Places API request.
///
/// Request is validated when supplied to the client.
///
/// Example:
/// ```
/// use libtad_rs::{
/// ServiceClient,
/// service::places::PlacesRequest,
/// };
///
/// let client = ServiceClient::new("access_key".into(), "secret_... | 23.894737 | 78 | 0.585352 |
68747b783b8e6ee0b7621e5b2d3c554968785da2 | 59 | lua | Lua | package/gluon-ebtables/check_site.lua | RobWei/gluon | 15ef885836907b27b2c0481f7ea83d1dd504c5d5 | [
"BSD-2-Clause"
] | 499 | 2015-01-07T20:06:02.000Z | 2022-03-30T11:56:37.000Z | package/gluon-ebtables/check_site.lua | RobWei/gluon | 15ef885836907b27b2c0481f7ea83d1dd504c5d5 | [
"BSD-2-Clause"
] | 1,849 | 2015-01-01T04:20:31.000Z | 2022-03-31T18:40:27.000Z | package/gluon-ebtables/check_site.lua | RobWei/gluon | 15ef885836907b27b2c0481f7ea83d1dd504c5d5 | [
"BSD-2-Clause"
] | 518 | 2015-01-04T13:45:27.000Z | 2022-03-30T21:52:50.000Z | need_boolean({'mesh', 'filter_membership_reports'}, false)
| 29.5 | 58 | 0.779661 |
7013b4e6a1fb00a3c474d634a4aea75c55a30781 | 1,784 | go | Go | transpose/transpose.go | charlievieth/utils | 57f65151ac366ad3d0d4389a1f56e003ba4d142c | [
"MIT"
] | 2 | 2018-10-24T10:36:28.000Z | 2021-07-18T15:51:15.000Z | transpose/transpose.go | charlievieth/utils | 57f65151ac366ad3d0d4389a1f56e003ba4d142c | [
"MIT"
] | null | null | null | transpose/transpose.go | charlievieth/utils | 57f65151ac366ad3d0d4389a1f56e003ba4d142c | [
"MIT"
] | null | null | null | package main
import (
"encoding/csv"
"encoding/json"
"flag"
"fmt"
"os"
"path/filepath"
"runtime"
"text/tabwriter"
)
var LineCount int
var MaxLength int
func init() {
flag.IntVar(&LineCount, "n", 2, "Number of lines to transpose")
flag.IntVar(&MaxLength, "l", -1, "Max line length, -1 means no max length")
}... | 18.778947 | 76 | 0.555493 |
b5788ce60d9c5b12e7ce3e13f669f9c0a9d26edc | 908 | kt | Kotlin | src/commonMain/kotlin/mqtt/packets/mqttv4/MQTT4Unsuback.kt | LocalCore/KMQTT | 8ce2deb9349c7fb83c8d7b3be7706aade55b3056 | [
"MIT"
] | 40 | 2020-02-05T21:08:47.000Z | 2022-03-31T14:25:46.000Z | src/commonMain/kotlin/mqtt/packets/mqttv4/MQTT4Unsuback.kt | LocalCore/KMQTT | 8ce2deb9349c7fb83c8d7b3be7706aade55b3056 | [
"MIT"
] | 5 | 2020-11-12T09:47:34.000Z | 2022-02-07T15:20:56.000Z | src/commonMain/kotlin/mqtt/packets/mqttv4/MQTT4Unsuback.kt | LocalCore/KMQTT | 8ce2deb9349c7fb83c8d7b3be7706aade55b3056 | [
"MIT"
] | 11 | 2020-12-03T11:36:13.000Z | 2022-03-11T08:25:48.000Z | package mqtt.packets.mqttv4
import mqtt.packets.MQTTControlPacketType
import mqtt.packets.MQTTDeserializer
import mqtt.packets.mqtt.MQTTUnsuback
import socket.streams.ByteArrayInputStream
import socket.streams.ByteArrayOutputStream
class MQTT4Unsuback(
packetIdentifier: UInt
) : MQTTUnsuback(packetIdentifier) {
... | 26.705882 | 81 | 0.736784 |
85c4b1a5ddf897d3937a57e46f13a272a3c679f8 | 3,563 | c | C | src/lib/datatypes/sol-arena.c | undeadinu/soletta | 5ca6d6a70bead00caf154b445755be94f3f68099 | [
"ECL-2.0",
"Apache-2.0"
] | 266 | 2015-06-11T00:21:02.000Z | 2022-03-27T20:45:17.000Z | src/lib/datatypes/sol-arena.c | undeadinu/soletta | 5ca6d6a70bead00caf154b445755be94f3f68099 | [
"ECL-2.0",
"Apache-2.0"
] | 2,224 | 2015-06-17T17:29:50.000Z | 2018-07-20T23:43:40.000Z | src/lib/datatypes/sol-arena.c | undeadinu/soletta | 5ca6d6a70bead00caf154b445755be94f3f68099 | [
"ECL-2.0",
"Apache-2.0"
] | 151 | 2015-06-17T14:42:54.000Z | 2022-01-27T17:01:35.000Z | /*
* This file is part of the Soletta (TM) Project
*
* Copyright (C) 2015 Intel Corporation. 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.a... | 22.839744 | 104 | 0.679764 |
7bce74ceeaeac0d5f7e963344e31fb1ef0aaae36 | 7,028 | css | CSS | style.css | adalenv/AccountKit-Implemention | c03897efd7b1792d32f87cf32f391cb913043777 | [
"Apache-2.0"
] | 1 | 2017-07-26T09:10:05.000Z | 2017-07-26T09:10:05.000Z | style.css | adalenv/AccountKit-Implemention | c03897efd7b1792d32f87cf32f391cb913043777 | [
"Apache-2.0"
] | null | null | null | style.css | adalenv/AccountKit-Implemention | c03897efd7b1792d32f87cf32f391cb913043777 | [
"Apache-2.0"
] | null | null | null | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600);
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.hide {
display: none;
}
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibilit... | 22.892508 | 193 | 0.683409 |
4a2fd17539349f410789a995dcac31298e975063 | 550 | js | JavaScript | output.js | Happyrobot33/CT-AI | 61a19c5416763fe0edbf241c588ed8169c233a19 | [
"MIT"
] | null | null | null | output.js | Happyrobot33/CT-AI | 61a19c5416763fe0edbf241c588ed8169c233a19 | [
"MIT"
] | null | null | null | output.js | Happyrobot33/CT-AI | 61a19c5416763fe0edbf241c588ed8169c233a19 | [
"MIT"
] | null | null | null | const robot = require('robot.js'); // Keyboard & mouse input is done via this module
class Output {
pauseBuffer() {
robot.keyTap('escape');
setTimeout(() => {
robot.keyTap('escape');
}, 100);
}
move(w, a, s, d, space) {
robot.keyToggle('w', w ? "down" : "up", "shift");
robot.keyToggle('a', a ? "down" ... | 23.913043 | 84 | 0.56 |
c665f22f92e2fed0b2bb4a9c40f8c3fff76b3ea5 | 217 | rb | Ruby | app/controllers/embeddable/external_scripts_controller.rb | sciencelabshs/lara | ee291b238f344c83c8fa8fb5a5bb754e5ff57b9e | [
"MIT"
] | 1 | 2019-08-07T16:24:58.000Z | 2019-08-07T16:24:58.000Z | app/controllers/embeddable/external_scripts_controller.rb | sciencelabshs/lara | ee291b238f344c83c8fa8fb5a5bb754e5ff57b9e | [
"MIT"
] | 452 | 2015-01-28T16:11:00.000Z | 2022-03-31T23:59:17.000Z | app/controllers/embeddable/external_scripts_controller.rb | sciencelabshs/lara | ee291b238f344c83c8fa8fb5a5bb754e5ff57b9e | [
"MIT"
] | 2 | 2018-10-03T20:46:03.000Z | 2020-01-03T09:53:25.000Z | class Embeddable::ExternalScriptsController < Embeddable::EmbeddablesController
before_filter :set_embeddable
private
def set_embeddable
@embeddable = Embeddable::ExternalScript.find(params[:id])
end
end
| 24.111111 | 79 | 0.801843 |
93dc6d7bf0017fe1f7cba73d0958ff6bc4b76226 | 344 | swift | Swift | deltatick/Source/Networking/Models/MigrationTokenRequest.swift | jimmya/deltatick | bdc64d87019afc7dc44bb943677918c1d9a9e7c1 | [
"MIT"
] | null | null | null | deltatick/Source/Networking/Models/MigrationTokenRequest.swift | jimmya/deltatick | bdc64d87019afc7dc44bb943677918c1d9a9e7c1 | [
"MIT"
] | null | null | null | deltatick/Source/Networking/Models/MigrationTokenRequest.swift | jimmya/deltatick | bdc64d87019afc7dc44bb943677918c1d9a9e7c1 | [
"MIT"
] | null | null | null | //
// MigrationTokenRequest.swift
// deltatick
//
// Created by Jimmy Arts on 22/03/2018.
// Copyright © 2018 Jimmy. All rights reserved.
//
import Foundation
struct MigrationTokenRequest: Codable {
enum MigrationTokenRequestType: String, Codable {
case sync = "SYNC"
}
let type: Migr... | 18.105263 | 53 | 0.680233 |
b37551de9dcbf18f1df6b70af5ab43a719a9c668 | 135 | rb | Ruby | spec/factories/users.rb | dukegreene/malontines | 4bacedc8bd8a712e5f0c15d90a23d8edc634ce91 | [
"CC0-1.0"
] | null | null | null | spec/factories/users.rb | dukegreene/malontines | 4bacedc8bd8a712e5f0c15d90a23d8edc634ce91 | [
"CC0-1.0"
] | 13 | 2020-05-22T16:56:45.000Z | 2022-03-31T00:39:15.000Z | spec/factories/users.rb | dukegreene/malontines | 4bacedc8bd8a712e5f0c15d90a23d8edc634ce91 | [
"CC0-1.0"
] | null | null | null | FactoryBot.define do
factory :user, aliases: [:creator] do
username { "g-hops" }
password { "anotherSh1pInP0rt?" }
end
end
| 19.285714 | 39 | 0.659259 |
5fd417e06f4469e95d1639ce303dae9e10183e14 | 33,494 | c | C | core/vice-3.3/src/lib.c | paulscottrobson/cxp-computer | b43f47d5e8232d3229c6522c9a02d53c1edd3a4d | [
"MIT"
] | 1 | 2020-02-03T16:46:40.000Z | 2020-02-03T16:46:40.000Z | third_party/vice-3.3/src/lib.c | xlar54/bmc64 | c73f91babaf9e9f75b5073c773bb50e8a8e43505 | [
"Apache-2.0"
] | 4 | 2019-06-18T14:45:35.000Z | 2019-06-22T17:18:22.000Z | third_party/vice-3.3/src/lib.c | xlar54/bmc64 | c73f91babaf9e9f75b5073c773bb50e8a8e43505 | [
"Apache-2.0"
] | 1 | 2021-05-14T11:13:44.000Z | 2021-05-14T11:13:44.000Z | /*
* lib.c - Library functions.
*
* Written by
* Andreas Boose <viceteam@t-online.de>
* Marco van den Heuvel <blackystardust68@yahoo.com>
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or mod... | 26.414826 | 185 | 0.583836 |
c8a129fed10bc0b673f1e2601516b7d381ae3bbf | 3,211 | sql | SQL | db/16-Sept-15.sql | sachintyagi/lokhit | 44812b5fd6933e79f40746752197ac5de64b908b | [
"BSD-3-Clause"
] | null | null | null | db/16-Sept-15.sql | sachintyagi/lokhit | 44812b5fd6933e79f40746752197ac5de64b908b | [
"BSD-3-Clause"
] | null | null | null | db/16-Sept-15.sql | sachintyagi/lokhit | 44812b5fd6933e79f40746752197ac5de64b908b | [
"BSD-3-Clause"
] | null | null | null | /*
SQLyog Enterprise - MySQL GUI v7.02
MySQL - 5.5.36 : Database - lokhitnidhi
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET... | 48.651515 | 899 | 0.690128 |
b170ccb2007d0fffaa1040f520e8a406dd80b011 | 13,891 | c | C | rtos/freeRTOS/vendors/gwt/gap8/pmsis/drivers/pwm/pwm_internal.c | 00-01/gap_sdk | 25444d752b26ccf0b848301c381692d77172852c | [
"Apache-2.0"
] | 118 | 2018-05-22T08:45:59.000Z | 2022-03-30T07:00:45.000Z | rtos/freeRTOS/vendors/gwt/gap8/pmsis/drivers/pwm/pwm_internal.c | 00-01/gap_sdk | 25444d752b26ccf0b848301c381692d77172852c | [
"Apache-2.0"
] | 213 | 2018-07-25T02:37:32.000Z | 2022-03-30T18:04:01.000Z | rtos/freeRTOS/vendors/gwt/gap8/pmsis/drivers/pwm/pwm_internal.c | 00-01/gap_sdk | 25444d752b26ccf0b848301c381692d77172852c | [
"Apache-2.0"
] | 76 | 2018-07-04T08:19:27.000Z | 2022-03-24T09:58:05.000Z | /*
* Copyright (c) 2019, GreenWaves Technologies, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice, this list... | 34.298765 | 96 | 0.623929 |
8306546fbf9ade55adb2798a980e77d7c08628ff | 204 | asm | Assembly | MOS5/TestProgram/test.asm | Mishin870/MOS | cf2a94b0a0ace3380dd58adc4848baed78097df2 | [
"MIT"
] | 1 | 2020-10-10T08:31:42.000Z | 2020-10-10T08:31:42.000Z | MOS5/TestProgram/test.asm | Mishin870/MOS | cf2a94b0a0ace3380dd58adc4848baed78097df2 | [
"MIT"
] | null | null | null | MOS5/TestProgram/test.asm | Mishin870/MOS | cf2a94b0a0ace3380dd58adc4848baed78097df2 | [
"MIT"
] | null | null | null | ;попытка реализовать простейшую программу на низшем кольце защиты
;(программа от имени юзера). с доступом к апи ядра (к среднему кольцу)
use32
;mov dx, 0x3F8
;mov al, 'c'
;out dx, al
int 30h
qwe:
jmp qwe | 20.4 | 70 | 0.75 |
16790114b8a331939bda895e9715e1af485965cf | 1,536 | h | C | src/public/g15/ig15.h | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/public/g15/ig15.h | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/public/g15/ig15.h | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //====== Copyright � 1996-2005, Valve Corporation, All rights reserved. =======
//
// Purpose:
//
//=============================================================================
#ifndef IG15_H
#define IG15_H
#ifdef _WIN32
#pragma once
#endif
typedef void *G15_HANDLE;
typedef enum {
G15_BUTTON_1, G15_BUTTON_2, ... | 24.380952 | 109 | 0.672526 |
b2d93cfb63dcf1ebc579a1abfad61711545c68bf | 628 | py | Python | app/main/controller/sample_controller.py | Eliotdoesprogramming/python.flask.sqlalchemy.Rest_Api_Template | 3f0a98ae4676aef9ecdf0df70eb9d1990fee6182 | [
"MIT"
] | null | null | null | app/main/controller/sample_controller.py | Eliotdoesprogramming/python.flask.sqlalchemy.Rest_Api_Template | 3f0a98ae4676aef9ecdf0df70eb9d1990fee6182 | [
"MIT"
] | null | null | null | app/main/controller/sample_controller.py | Eliotdoesprogramming/python.flask.sqlalchemy.Rest_Api_Template | 3f0a98ae4676aef9ecdf0df70eb9d1990fee6182 | [
"MIT"
] | null | null | null | from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from service.api_service import Service
class SampleController(object):
def __init__(self,app:Flask,db:SQLAlchemy,service:Service) -> None:
self.app=app
self.db=db
self.service=service
self.add_routes(app)
def add_ro... | 39.25 | 80 | 0.703822 |
0cfa89782c8d3290c0c6ceba7319a0449a110fed | 2,585 | py | Python | model/embeddings.py | johnnytorres/crisis_conv_crosslingual | a30e762007e08190275bdd83af3c0bbc717fb516 | [
"MIT"
] | null | null | null | model/embeddings.py | johnnytorres/crisis_conv_crosslingual | a30e762007e08190275bdd83af3c0bbc717fb516 | [
"MIT"
] | null | null | null | model/embeddings.py | johnnytorres/crisis_conv_crosslingual | a30e762007e08190275bdd83af3c0bbc717fb516 | [
"MIT"
] | 1 | 2019-12-03T00:29:14.000Z | 2019-12-03T00:29:14.000Z | import os
import logging
import argparse
import numpy as np
import tensorflow as tf
from keras_preprocessing.text import Tokenizer
from tqdm import tqdm
from data import DataLoader
class EmbeddingsBuilder:
def __init__(self, args):
logging.info('initializing...')
self.args = args
self.da... | 31.91358 | 109 | 0.635977 |
75e147ff08d031c15b62d14418d43f760e0e14c9 | 2,456 | rs | Rust | src/main.rs | MerlinDMC/noderole | 7d90012e597502f2623c333f775f3111585b51cc | [
"Apache-2.0",
"MIT"
] | null | null | null | src/main.rs | MerlinDMC/noderole | 7d90012e597502f2623c333f775f3111585b51cc | [
"Apache-2.0",
"MIT"
] | null | null | null | src/main.rs | MerlinDMC/noderole | 7d90012e597502f2623c333f775f3111585b51cc | [
"Apache-2.0",
"MIT"
] | null | null | null | use clap::{crate_name, AppSettings, Parser};
use figment::{
providers::{Format, Yaml},
Figment,
};
use k8s_openapi::api::core::v1::Node;
use k8s_openapi::apimachinery::pkg::apis::meta::v1::ObjectMeta;
use kube::api::{Api, Patch, PatchParams};
use kube::Client;
use serde::Deserialize;
use std::collections::BTree... | 27.595506 | 82 | 0.607492 |
72d35874939a1947b03a082b32b4dfaf7ddab3a4 | 4,543 | kt | Kotlin | src/test/kotlin/de/smartsquare/starter/mqttadmin/client/ClientServiceTest.kt | SmartsquareGmbH/mqtt-admin-starter | a73d3544881c5c35e1b4a1e5fb6f889c496563cc | [
"MIT"
] | 1 | 2021-06-04T13:31:31.000Z | 2021-06-04T13:31:31.000Z | src/test/kotlin/de/smartsquare/starter/mqttadmin/client/ClientServiceTest.kt | SmartsquareGmbH/mqtt-admin-starter | a73d3544881c5c35e1b4a1e5fb6f889c496563cc | [
"MIT"
] | 1 | 2021-05-06T09:01:03.000Z | 2021-05-06T09:01:03.000Z | src/test/kotlin/de/smartsquare/starter/mqttadmin/client/ClientServiceTest.kt | SmartsquareGmbH/mqtt-admin-starter | a73d3544881c5c35e1b4a1e5fb6f889c496563cc | [
"MIT"
] | null | null | null | package de.smartsquare.starter.mqttadmin.client
import de.smartsquare.starter.mqttadmin.EmqxExtension
import de.smartsquare.starter.mqttadmin.client.AclRule.TopicAction.PUB
import de.smartsquare.starter.mqttadmin.client.AclRule.TopicAction.SUB
import de.smartsquare.starter.mqttadmin.client.ClientActionResult.Failure
i... | 31.992958 | 116 | 0.712965 |
e735358ce337c7093b31d7291a1e03c36b966f7d | 2,593 | lua | Lua | rom/dotos/libraries/termio.lua | development-of-things-software/.OS | e7d2b4f6f42c5339080dd76d900dba01f96d3742 | [
"MIT"
] | null | null | null | rom/dotos/libraries/termio.lua | development-of-things-software/.OS | e7d2b4f6f42c5339080dd76d900dba01f96d3742 | [
"MIT"
] | null | null | null | rom/dotos/libraries/termio.lua | development-of-things-software/.OS | e7d2b4f6f42c5339080dd76d900dba01f96d3742 | [
"MIT"
] | null | null | null | -- terminal I/O library --
local lib = {}
local function getHandler()
local term = os.getenv("TERM") or "generic"
return require("termio."..term)
end
-------------- Cursor manipulation ---------------
function lib.setCursor(x, y)
if not getHandler().ttyOut() then
return
end
io.write(string.format("\27[... | 19.643939 | 75 | 0.587736 |
cf793572dd6746a7908bee7faf82e944b55cb058 | 231 | swift | Swift | Sources/TMDb/Models/VideoSize.swift | adamayoung/TMDb | 35dc1330825cd79ac616d1c5b17ba157232864db | [
"Apache-2.0"
] | 14 | 2020-05-08T00:21:10.000Z | 2022-03-26T07:33:35.000Z | Sources/TMDb/Models/VideoSize.swift | adamayoung/TMDb | 35dc1330825cd79ac616d1c5b17ba157232864db | [
"Apache-2.0"
] | 24 | 2020-09-14T17:34:54.000Z | 2022-03-03T21:59:59.000Z | Sources/TMDb/Models/VideoSize.swift | adamayoung/TMDb | 35dc1330825cd79ac616d1c5b17ba157232864db | [
"Apache-2.0"
] | 10 | 2020-05-08T00:21:11.000Z | 2022-01-25T04:06:08.000Z | import Foundation
/// Video size.
public enum VideoSize: Int, Decodable, Equatable, Hashable {
/// 360
case s360 = 360
/// 480
case s480 = 480
/// 720
case s720 = 720
/// 1080
case s1080 = 1080
}
| 14.4375 | 60 | 0.571429 |
aa0c9f10856fc0a78a8d3eb78941665b1c111410 | 27,030 | lua | Lua | Core/Events.lua | shrugal/PersoLootRoll | 330b6f322e3966402f469091511a554b4b4ae2e8 | [
"MIT"
] | 2 | 2018-06-06T17:38:35.000Z | 2018-07-14T15:45:08.000Z | Core/Events.lua | shrugal/PersoLootRoll | 330b6f322e3966402f469091511a554b4b4ae2e8 | [
"MIT"
] | 8 | 2018-07-08T12:48:29.000Z | 2018-10-09T16:35:16.000Z | Core/Events.lua | shrugal/PersoLootRoll | 330b6f322e3966402f469091511a554b4b4ae2e8 | [
"MIT"
] | 4 | 2018-05-23T09:49:01.000Z | 2020-05-31T11:32:34.000Z | ---@type string
local Name = ...
---@type Addon
local Addon = select(2, ...)
local AceComm = LibStub("AceComm-3.0")
---@type L
local L = LibStub("AceLocale-3.0"):GetLocale(Name)
local Comm, Item, Locale, Session, Roll, Unit, Util = Addon.Comm, Addon.Item, Addon.Locale, Addon.Session, Addon.Roll, Addon.Unit, Addon.Util
... | 37.857143 | 236 | 0.603145 |
9f44766c7a0d6e98b93be61f7a56b02c5491df60 | 206 | sql | SQL | src/functions/auth/logout.sql | postgres-ci/core | a45eab1ad37e96eba05b5eed24cba9cc71926647 | [
"MIT"
] | 9 | 2016-05-06T06:12:51.000Z | 2020-10-02T14:06:25.000Z | src/functions/auth/logout.sql | postgres-ci/core | a45eab1ad37e96eba05b5eed24cba9cc71926647 | [
"MIT"
] | null | null | null | src/functions/auth/logout.sql | postgres-ci/core | a45eab1ad37e96eba05b5eed24cba9cc71926647 | [
"MIT"
] | null | null | null | create or replace function auth.logout(_session_id text) returns void as $$
begin
DELETE FROM postgres_ci.sessions WHERE session_id = _session_id;
end;
$$ language plpgsql security definer; | 41.2 | 75 | 0.747573 |
1f8326c61ca838a7326b5b2ae2a048b9c7c6459b | 9,007 | html | HTML | index.html | WorldWideWebb/mitchalyzer | be3eb99bfd33e000c623e11c76739858983ef533 | [
"MIT"
] | null | null | null | index.html | WorldWideWebb/mitchalyzer | be3eb99bfd33e000c623e11c76739858983ef533 | [
"MIT"
] | null | null | null | index.html | WorldWideWebb/mitchalyzer | be3eb99bfd33e000c623e11c76739858983ef533 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>The Mitchalyzer</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googlea... | 34.117424 | 362 | 0.678916 |
f5300f86d7095a9f101af5139ec1627bc4e8e289 | 402 | kt | Kotlin | app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/ui/modules/notifications/notificationsservice/WykopNotificationsJobView.kt | mdczaplicki/WykopMobilny | 687a9f42af9d17bd8a3227b882fef6232b4d174a | [
"MIT"
] | null | null | null | app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/ui/modules/notifications/notificationsservice/WykopNotificationsJobView.kt | mdczaplicki/WykopMobilny | 687a9f42af9d17bd8a3227b882fef6232b4d174a | [
"MIT"
] | null | null | null | app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/ui/modules/notifications/notificationsservice/WykopNotificationsJobView.kt | mdczaplicki/WykopMobilny | 687a9f42af9d17bd8a3227b882fef6232b4d174a | [
"MIT"
] | null | null | null | package io.github.feelfreelinux.wykopmobilny.ui.modules.notifications.notificationsservice
import io.github.feelfreelinux.wykopmobilny.base.BaseView
import io.github.feelfreelinux.wykopmobilny.models.dataclass.Notification
interface WykopNotificationsJobView : BaseView {
fun showNotification(notification : Notifi... | 40.2 | 90 | 0.840796 |
3a05049ed325666deba128ff843ce3b397a0a8bf | 5,515 | swift | Swift | AudioKit/Common/Nodes/Playback/Player/AKAudioPlayer.swift | lxlxlo/audiokit-devel | e0b46ed5f8299620afdbe49b1482a511baf7c792 | [
"MIT"
] | 2 | 2018-07-18T23:32:22.000Z | 2018-11-14T16:43:50.000Z | AudioKit/Common/Nodes/Playback/Player/AKAudioPlayer.swift | lxlxlo/audiokit-devel | e0b46ed5f8299620afdbe49b1482a511baf7c792 | [
"MIT"
] | null | null | null | AudioKit/Common/Nodes/Playback/Player/AKAudioPlayer.swift | lxlxlo/audiokit-devel | e0b46ed5f8299620afdbe49b1482a511baf7c792 | [
"MIT"
] | null | null | null | //
// AKAudioPlayer.swift
// AudioKit
//
// Created by Aurelius Prochazka, revision history on Github.
// Copyright © 2016 AudioKit. All rights reserved.
//
import Foundation
import AVFoundation
/// Simple audio playback class
public class AKAudioPlayer: AKNode, AKToggleable {
private var audioFileBuffer... | 30.638889 | 104 | 0.595286 |
053cf8924b6d12f4d51f6dccd3669d3db1a6480b | 220 | rb | Ruby | db/migrate/20091102171023_add_response_reset_date_to_committees.rb | joshlin/expo2 | 21ee9b12cbe83183a75eb935fdc23d6b649a9186 | [
"BSD-3-Clause"
] | 1 | 2016-08-31T19:24:06.000Z | 2016-08-31T19:24:06.000Z | db/migrate/20091102171023_add_response_reset_date_to_committees.rb | joshlin/expo2 | 21ee9b12cbe83183a75eb935fdc23d6b649a9186 | [
"BSD-3-Clause"
] | 17 | 2020-08-12T14:52:53.000Z | 2022-03-30T22:23:42.000Z | db/migrate/20091102171023_add_response_reset_date_to_committees.rb | uwexpd/expo2 | 3678f96ba9ea999becb8b223ebb5a966bb587cb1 | [
"BSD-3-Clause"
] | 1 | 2019-10-02T11:12:58.000Z | 2019-10-02T11:12:58.000Z | class AddResponseResetDateToCommittees < ActiveRecord::Migration
def self.up
add_column :committees, :response_reset_date, :date
end
def self.down
remove_column :committees, :response_reset_date
end
end
| 22 | 64 | 0.781818 |
cca8d0f472da89532ea6aea41ef425d6e796886d | 719 | kt | Kotlin | kotlinui/src/test/java/kotlinx/kotlinui/Modifiers/_AllowsHitTestingModifierTest.kt | bclnet/KotlinUI | 8ea61bd04ce4a0b3dd440c36d4b82a5ccf5ec3f2 | [
"MIT"
] | null | null | null | kotlinui/src/test/java/kotlinx/kotlinui/Modifiers/_AllowsHitTestingModifierTest.kt | bclnet/KotlinUI | 8ea61bd04ce4a0b3dd440c36d4b82a5ccf5ec3f2 | [
"MIT"
] | null | null | null | kotlinui/src/test/java/kotlinx/kotlinui/Modifiers/_AllowsHitTestingModifierTest.kt | bclnet/KotlinUI | 8ea61bd04ce4a0b3dd440c36d4b82a5ccf5ec3f2 | [
"MIT"
] | null | null | null | package kotlinx.kotlinui
import kotlinx.serialization.json.Json
import org.junit.Assert
import org.junit.Test
import org.junit.Assert.*
class _AllowsHitTestingModifierTest {
@Test
fun serialize() {
val json = Json {
prettyPrint = true
}
// _AllowsHitTestingMo... | 29.958333 | 95 | 0.680111 |
fb03968ac7067a365ad4faaafc005ec8bba2c48f | 1,758 | go | Go | main.go | JakeBjorke/go-blueprint-chats | 5d0ae014fe8f6e36ed42df7d5ff13e60974547c8 | [
"MIT"
] | null | null | null | main.go | JakeBjorke/go-blueprint-chats | 5d0ae014fe8f6e36ed42df7d5ff13e60974547c8 | [
"MIT"
] | null | null | null | main.go | JakeBjorke/go-blueprint-chats | 5d0ae014fe8f6e36ed42df7d5ff13e60974547c8 | [
"MIT"
] | null | null | null | package main
import (
"flag"
"html/template"
"log"
"net/http"
"os"
"path/filepath"
"sync"
"trace"
"github.com/stretchr/gomniauth"
"github.com/stretchr/gomniauth/providers/google"
"github.com/stretchr/objx"
)
type templateHandler struct {
once sync.Once
filename string
templ *template.Template
}
... | 24.082192 | 92 | 0.710466 |
981f6d8c482a6350e5a3db0187b47a1ad70da8b7 | 6,090 | sql | SQL | db/seed/080_api_opstillingskreds.sql | Septima/gsearch | 8ef7b1404da120defb15796f7006c23dfa40e92e | [
"MIT"
] | null | null | null | db/seed/080_api_opstillingskreds.sql | Septima/gsearch | 8ef7b1404da120defb15796f7006c23dfa40e92e | [
"MIT"
] | 22 | 2021-10-19T11:14:20.000Z | 2022-02-01T10:17:14.000Z | db/seed/080_api_opstillingskreds.sql | Septima/gsearch | 8ef7b1404da120defb15796f7006c23dfa40e92e | [
"MIT"
] | null | null | null | CREATE SCHEMA IF NOT EXISTS api;
DROP TYPE IF EXISTS api.opstillingskreds CASCADE;
CREATE TYPE api.opstillingskreds AS (
id TEXT,
"name" TEXT,
presentationstring TEXT,
geometryWkt TEXT, -- same AS bbox
geometryWkt_detail TEXT,
valgkredsnr TEXT,
storkredsnr TEXT,
storkredsnavn TEXT,
landsdelsnr TEXT,
... | 36.035503 | 159 | 0.744663 |
930cd67a5d976ebbe3df5f97e6bec1d9a2bdd040 | 196 | swift | Swift | MusicshotEntity/Sources/Entity/Entity.swift | sora0077/musicshot-dev | 7280f11d9bc4461e787372553bfd3fe7ef45c1d2 | [
"MIT"
] | null | null | null | MusicshotEntity/Sources/Entity/Entity.swift | sora0077/musicshot-dev | 7280f11d9bc4461e787372553bfd3fe7ef45c1d2 | [
"MIT"
] | null | null | null | MusicshotEntity/Sources/Entity/Entity.swift | sora0077/musicshot-dev | 7280f11d9bc4461e787372553bfd3fe7ef45c1d2 | [
"MIT"
] | null | null | null | //
// Entity.swift
// MusicshotCore
//
// Created by 林達也 on 2018/03/04.
// Copyright © 2018年 林達也. All rights reserved.
//
import Foundation
public enum Entity {
public enum Ranking {}
}
| 14 | 47 | 0.658163 |
368eb780168fbe0d32fc9b115fc5a267dbfa233b | 423 | lua | Lua | package.lua | james2doyle/lit-text-extensions | 21717c8d793c5d28c1b209cc46e08dce9f9b5dea | [
"MIT"
] | null | null | null | package.lua | james2doyle/lit-text-extensions | 21717c8d793c5d28c1b209cc46e08dce9f9b5dea | [
"MIT"
] | null | null | null | package.lua | james2doyle/lit-text-extensions | 21717c8d793c5d28c1b209cc46e08dce9f9b5dea | [
"MIT"
] | null | null | null | return {
name = "james2doyle/text-extensions",
version = "0.0.4",
homepage = "https://github.com/james2doyle/lit-text-extensions",
description = "Get a list of valid text file extensions",
tags = {
"text",
"extensions"
},
license = "MIT",
author = {
name = "James Doyle",
email = "james2d... | 20.142857 | 66 | 0.574468 |
aff1165d4da720607f6b34172b8ac88e5641d88e | 8,897 | rb | Ruby | fastlane/spec/pushify_spec.rb | lyndsey-ferguson/medium-post-fastlane-xcodeproj | 430b652a9fec690cf46cbcde29e7e7f2ce27390e | [
"MIT"
] | 2 | 2018-01-12T22:54:20.000Z | 2018-02-22T15:42:45.000Z | fastlane/spec/pushify_spec.rb | lyndsey-ferguson/medium-post-fastlane-xcodeproj | 430b652a9fec690cf46cbcde29e7e7f2ce27390e | [
"MIT"
] | null | null | null | fastlane/spec/pushify_spec.rb | lyndsey-ferguson/medium-post-fastlane-xcodeproj | 430b652a9fec690cf46cbcde29e7e7f2ce27390e | [
"MIT"
] | null | null | null | require_relative '../pushify'
# Configure RSpec to allow us to make tests that share 'context'
RSpec.configure do |rspec|
# This config option will be enabled by default on RSpec 4,
# but for reasons of backwards compatibility, you have to
# set it on RSpec 3.
#
# It causes the host group and examples to inh... | 35.446215 | 119 | 0.714511 |
dded53ea97d52d1205bb5855251db40cdcde0a55 | 655 | kt | Kotlin | judokit-android/src/main/java/com/judokit/android/ui/common/Constants.kt | volkhinP/JudoKit-Android | ea7fc997a350b7d6e21b079282888cce31d023bc | [
"MIT"
] | null | null | null | judokit-android/src/main/java/com/judokit/android/ui/common/Constants.kt | volkhinP/JudoKit-Android | ea7fc997a350b7d6e21b079282888cce31d023bc | [
"MIT"
] | null | null | null | judokit-android/src/main/java/com/judokit/android/ui/common/Constants.kt | volkhinP/JudoKit-Android | ea7fc997a350b7d6e21b079282888cce31d023bc | [
"MIT"
] | null | null | null | package com.judokit.android.ui.common
const val GOOGLE_PAY_API_VERSION = 2
const val GOOGLE_PAY_API_VERSION_MINOR = 0
const val ANIMATION_DURATION_500 = 500L
const val PATTERN_CARD_EXPIRATION_DATE = "##/##"
const val REGEX_JUDO_ID = "^(([0-9]{9})|([0-9]{3}-[0-9]{3}-[0-9]{3})|([0-9]{6}))?\$"
/**
* Constant for regi... | 32.75 | 128 | 0.745038 |
85f6e330ab8faedaa0b110d152bbe64acabc9bd3 | 3,930 | sql | SQL | polltest.sql | Liladhar-s/Online-Voting-System | 2821ca3c5e4fd342d937abe84c08c82b92670058 | [
"MIT"
] | null | null | null | polltest.sql | Liladhar-s/Online-Voting-System | 2821ca3c5e4fd342d937abe84c08c82b92670058 | [
"MIT"
] | null | null | null | polltest.sql | Liladhar-s/Online-Voting-System | 2821ca3c5e4fd342d937abe84c08c82b92670058 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.6.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 05, 2017 at 09:00 AM
-- Server version: 5.7.14
-- PHP Version: 5.6.25
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */... | 27.291667 | 84 | 0.645038 |
cb8f593bf81163325b16a935ee03841686b1722a | 880 | asm | Assembly | os/bootloader/32bit_print.asm | stplasim/basic-os | 36d951e2e2adcbae75a6066b464552b61a3d7f2c | [
"MIT"
] | 2 | 2021-03-21T09:32:19.000Z | 2022-01-28T22:22:41.000Z | os/bootloader/32bit_print.asm | stplasim/basic-os | 36d951e2e2adcbae75a6066b464552b61a3d7f2c | [
"MIT"
] | null | null | null | os/bootloader/32bit_print.asm | stplasim/basic-os | 36d951e2e2adcbae75a6066b464552b61a3d7f2c | [
"MIT"
] | null | null | null | ; This print string routine works in 32-bit mode
; Here we don't have BIOS interrupts. We directly manipulating the VGA video memory instead of calling int 0x10
; The VGA memory starts at address 0xb8000 and it has a text mode which is useful to avoid manipulating direct pixels.
[bits 32] ; using 32-bit protected mode... | 27.5 | 118 | 0.738636 |
bb214d50525ed35f554d2d27eaedf99c968fa851 | 11,424 | html | HTML | www.w3.org/blog/International/comments/feed/index.html | science-tech02/Birthday | decba4db197724c6c7f7f712fe7dc0279b01163f | [
"Apache-2.0"
] | null | null | null | www.w3.org/blog/International/comments/feed/index.html | science-tech02/Birthday | decba4db197724c6c7f7f712fe7dc0279b01163f | [
"Apache-2.0"
] | null | null | null | www.w3.org/blog/International/comments/feed/index.html | science-tech02/Birthday | decba4db197724c6c7f7f712fe7dc0279b01163f | [
"Apache-2.0"
] | null | null | null | <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
>
<channel>
<title>
Comments for Internationalization Ac... | 70.08589 | 374 | 0.758491 |
fc5af1944bb450accc47de4330a7b0cb7b1e1d9f | 17,759 | css | CSS | public/themes/default/assets/css/serivceCase.css | hu19891110/keke | 9882760992f1fb025e390ab3d6e2edd8b74f6a15 | [
"Apache-2.0"
] | null | null | null | public/themes/default/assets/css/serivceCase.css | hu19891110/keke | 9882760992f1fb025e390ab3d6e2edd8b74f6a15 | [
"Apache-2.0"
] | null | null | null | public/themes/default/assets/css/serivceCase.css | hu19891110/keke | 9882760992f1fb025e390ab3d6e2edd8b74f6a15 | [
"Apache-2.0"
] | null | null | null | body{
font-family: "Microsoft YaHei";
}
.now-position{
height: 44px;
line-height: 44px;
color: #888;
font-size:12px;
}
.personal-info{
position: relative;
width: 100%;
height: 195px;
background: url(../images/personal_back.png) center no-repeat #000;
/*padding: 40px 27px;*/
overflow: ... | 19.013919 | 71 | 0.640577 |
7cd0d34e13cde89496f6e7690d20e351df94ef5d | 9,317 | rs | Rust | weave/src/matrix/forest/mod.rs | tclchiam/weave-ce | 03c7b01b50111c48f6d1b471a23638825d0dbf0e | [
"BSD-3-Clause"
] | 2 | 2018-09-02T03:43:46.000Z | 2018-09-05T22:48:50.000Z | weave/src/matrix/forest/mod.rs | tclchiam/bowtie | 03c7b01b50111c48f6d1b471a23638825d0dbf0e | [
"BSD-3-Clause"
] | null | null | null | weave/src/matrix/forest/mod.rs | tclchiam/bowtie | 03c7b01b50111c48f6d1b471a23638825d0dbf0e | [
"BSD-3-Clause"
] | null | null | null | use std::hash::Hash;
use std::iter::FromIterator;
use hashbrown::{HashMap, HashSet};
use itertools::Itertools;
mod union;
mod intersect;
mod subset;
mod product;
/// Forest is an immutable set of sets
#[derive(Debug, Clone, Eq, PartialEq)]
pub enum Forest<T: Hash + Eq> {
Empty,
Unit(Vec<T>),
Many(HashSet... | 24.518421 | 88 | 0.43104 |
1640fead24abddf1a8ffc52d36a572dd5eeff484 | 1,884 | h | C | engine/src/ECS/AddEntityMessage.h | targodan/gameProgramming | 5c0b36bee271dca65636d0317324a2bb786613f0 | [
"MIT"
] | 1 | 2019-07-14T11:32:30.000Z | 2019-07-14T11:32:30.000Z | engine/src/ECS/AddEntityMessage.h | targodan/gameProgramming | 5c0b36bee271dca65636d0317324a2bb786613f0 | [
"MIT"
] | null | null | null | engine/src/ECS/AddEntityMessage.h | targodan/gameProgramming | 5c0b36bee271dca65636d0317324a2bb786613f0 | [
"MIT"
] | null | null | null | #ifndef ADDENTITYMESSAGE_H
#define ADDENTITYMESSAGE_H
#include <memory>
#include "../util/Array.h"
#include "Message.h"
#include "MessageHandler.h"
#include "Entity.h"
#include "Component.h"
#define MESSAGE_NAME_ADD_ENTITY_MESSAGE "ADD_ENTITY_MESSAGE"
namespace engine {
namespace ECS {
using engine::ut... | 32.482759 | 155 | 0.595541 |
83e9e1017c3c30811ab6df5653f6e82ca6856781 | 306 | rs | Rust | crate/network_session_model/src/lib.rs | Lighty0410/autexousious | 99d142d8fdbf2076f3fd929f61b8140d47cf6b86 | [
"Apache-2.0",
"MIT"
] | 41 | 2020-03-13T04:45:03.000Z | 2022-01-17T18:13:09.000Z | crate/network_session_model/src/lib.rs | Lighty0410/autexousious | 99d142d8fdbf2076f3fd929f61b8140d47cf6b86 | [
"Apache-2.0",
"MIT"
] | 61 | 2016-06-19T01:28:12.000Z | 2021-07-17T08:21:44.000Z | crate/network_session_model/src/lib.rs | Lighty0410/autexousious | 99d142d8fdbf2076f3fd929f61b8140d47cf6b86 | [
"Apache-2.0",
"MIT"
] | 3 | 2020-03-21T21:53:36.000Z | 2021-01-30T01:10:55.000Z | #![deny(missing_debug_implementations, missing_docs)] // kcov-ignore
//! Types used during network sessions.
pub use crate::{
session_message_event::SessionMessageEvent, session_status_event::SessionStatusEvent,
};
pub mod config;
pub mod play;
mod session_message_event;
mod session_status_event;
| 21.857143 | 89 | 0.794118 |
bd34b0d2aaca2466ff1fda1b981fe7fc3336a3d2 | 1,104 | asm | Assembly | programs/oeis/198/A198263.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/198/A198263.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/198/A198263.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A198263: Ceiling(n*sqrt(8)).
; 0,3,6,9,12,15,17,20,23,26,29,32,34,37,40,43,46,49,51,54,57,60,63,66,68,71,74,77,80,83,85,88,91,94,97,99,102,105,108,111,114,116,119,122,125,128,131,133,136,139,142,145,148,150,153,156,159,162,165,167,170,173,176,179,182,184,187,190,193,196,198,201,204,207,210,213,215,218,221,224,227,230... | 69 | 961 | 0.712862 |
208480a28b40282b201c88de9f0c8954a76d3d86 | 266 | kt | Kotlin | app/src/main/java/com/zg/ccp/customviewassignment/viewholders/ProjectTaskViewHolder.kt | zawhtetnaing10/CustomViewAssignment | 5efa3320b3b5a9b4777a83c58345035e5309512e | [
"MIT"
] | 2 | 2020-11-08T16:07:19.000Z | 2020-11-26T10:32:32.000Z | app/src/main/java/com/zg/ccp/customviewassignment/viewholders/ProjectTaskViewHolder.kt | zawhtetnaing10/CustomViewAssignment | 5efa3320b3b5a9b4777a83c58345035e5309512e | [
"MIT"
] | null | null | null | app/src/main/java/com/zg/ccp/customviewassignment/viewholders/ProjectTaskViewHolder.kt | zawhtetnaing10/CustomViewAssignment | 5efa3320b3b5a9b4777a83c58345035e5309512e | [
"MIT"
] | null | null | null | package com.zg.ccp.customviewassignment.viewholders
import android.view.View
import com.zg.ccp.customviewassignment.data.vos.TaskVO
class ProjectTaskViewHolder(itemView: View) : BaseViewHolder<TaskVO>(itemView) {
override fun bindData(data: TaskVO) {
}
} | 24.181818 | 80 | 0.785714 |
930e02c260b9ab769dfb6fa46dc70d03ed195ef0 | 12,531 | rs | Rust | src/options/parse.rs | Kilobyte22/dhcp_parser | cc95195d6ddd13ff3e9e0816a6dee00f3816d736 | [
"MIT"
] | 2 | 2016-09-05T10:53:09.000Z | 2019-07-19T20:12:13.000Z | src/options/parse.rs | Kilobyte22/dhcp_parser | cc95195d6ddd13ff3e9e0816a6dee00f3816d736 | [
"MIT"
] | 3 | 2016-01-10T20:19:49.000Z | 2019-07-17T06:26:12.000Z | src/options/parse.rs | Kilobyte22/dhcp_parser | cc95195d6ddd13ff3e9e0816a6dee00f3816d736 | [
"MIT"
] | 5 | 2015-10-27T15:11:23.000Z | 2018-10-10T18:35:59.000Z | use options::{DhcpOption};
use options::DhcpOption::*;
use {Result, Error};
use nom::{be_u8, be_u16, be_u32, be_i32, length_value, IResult, sized_buffer};
use std::borrow::{ToOwned};
use std::str;
use std::convert::{From};
use std::net::{IpAddr, Ipv4Addr};
use num::{FromPrimitive};
pub fn parse(bytes: &[u8]) -> Result... | 27.360262 | 90 | 0.562365 |
08808a60498b8f1fe770d4890bef66eaa589836e | 1,191 | go | Go | models/ledger.go | fanda-india/fanda-api | b14a3f9c6a03e947fc46f552894125da2ec415b4 | [
"MIT"
] | null | null | null | models/ledger.go | fanda-india/fanda-api | b14a3f9c6a03e947fc46f552894125da2ec415b4 | [
"MIT"
] | null | null | null | models/ledger.go | fanda-india/fanda-api | b14a3f9c6a03e947fc46f552894125da2ec415b4 | [
"MIT"
] | null | null | null | package models
import "time"
// Ledger db model
type Ledger struct {
ID ID `gorm:"primaryKey;autoIncrement;not null" json:"id,omitempty"`
// Code string `gorm:"size:16;index:idx_ledgers_code,unique" json:"code,omitempty"`
Name string `gorm:"size:25;index:idx_ledgers_name,unique" json:... | 56.714286 | 125 | 0.693535 |
af1fd8fb03e8024c644fedba6f4b0471e1d8684f | 1,691 | rb | Ruby | lib/gitlab/diff/custom_diff.rb | nowkoai/test | 7aca51cce41acd7ec4c393d1bb1185a4a2ca1d07 | [
"MIT"
] | null | null | null | lib/gitlab/diff/custom_diff.rb | nowkoai/test | 7aca51cce41acd7ec4c393d1bb1185a4a2ca1d07 | [
"MIT"
] | 2 | 2020-10-03T01:57:44.000Z | 2020-11-05T15:14:35.000Z | lib/gitlab/diff/custom_diff.rb | nowkoai/test | 7aca51cce41acd7ec4c393d1bb1185a4a2ca1d07 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module Gitlab
module Diff
module CustomDiff
class << self
def preprocess_before_diff(path, old_blob, new_blob)
return unless path.ends_with? '.ipynb'
transformed_diff(old_blob&.data, new_blob&.data)&.tap do
transformed_for_diff(new_blob,... | 29.666667 | 90 | 0.615612 |
b49d7cb8f92f31b74cb8275452749bd608c4586c | 245 | sql | SQL | back/src/main/resources/schema.sql | kdelfour/spring-angularjs-project | 4d32a6b110e07c22f79d66b18dbb7cbe60748f02 | [
"MIT"
] | null | null | null | back/src/main/resources/schema.sql | kdelfour/spring-angularjs-project | 4d32a6b110e07c22f79d66b18dbb7cbe60748f02 | [
"MIT"
] | null | null | null | back/src/main/resources/schema.sql | kdelfour/spring-angularjs-project | 4d32a6b110e07c22f79d66b18dbb7cbe60748f02 | [
"MIT"
] | null | null | null | CREATE TABLE RULE (
ID INTEGER GENERATED BY DEFAULT AS IDENTITY,
TITLE VARCHAR(50) NOT NULL,
DESCRIPTION VARCHAR(200),
CODE VARCHAR(1024)
);
INSERT INTO RULE (TITLE,DESCRIPTION) VALUES (('R1','R1 DESC'),('R2','R2 DESC'), ('R3','R3 DESC')); | 30.625 | 98 | 0.689796 |
3176ed3f637edf2c07c35e5e7442bf391497972e | 486 | sql | SQL | resources/sql/autopatches/20140130.dash.2.panel.sql | Rob--W/phabricator | 8272f3f7fa92179931a2fc7ca33909492cfc644d | [
"Apache-2.0"
] | 8,840 | 2015-01-02T03:04:43.000Z | 2022-03-29T05:24:18.000Z | resources/sql/autopatches/20140130.dash.2.panel.sql | Rob--W/phabricator | 8272f3f7fa92179931a2fc7ca33909492cfc644d | [
"Apache-2.0"
] | 73 | 2015-01-06T11:05:32.000Z | 2021-12-02T17:50:10.000Z | resources/sql/autopatches/20140130.dash.2.panel.sql | Rob--W/phabricator | 8272f3f7fa92179931a2fc7ca33909492cfc644d | [
"Apache-2.0"
] | 1,335 | 2015-01-04T03:15:40.000Z | 2022-03-30T23:34:27.000Z | CREATE TABLE {$NAMESPACE}_dashboard.dashboard_panel (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
phid VARCHAR(64) NOT NULL COLLATE utf8_bin,
name VARCHAR(255) NOT NULL,
viewPolicy VARCHAR(64) NOT NULL COLLATE utf8_bin,
editPolicy VARCHAR(64) NOT NULL COLLATE utf8_bin,
properties LONGTEXT NOT NULL ... | 40.5 | 54 | 0.783951 |
c422863eceb1159d377014a5b863f8b0d50ab68b | 12,388 | h | C | library/openxlsx/implementation/headers/XLDocument_Impl.h | sezamin/OpenXLSX | 9a44c48a3cda934e9b287c015f094a002fd67d1f | [
"BSD-3-Clause"
] | 1 | 2020-04-25T01:40:41.000Z | 2020-04-25T01:40:41.000Z | library/openxlsx/implementation/headers/XLDocument_Impl.h | sezamin/OpenXLSX | 9a44c48a3cda934e9b287c015f094a002fd67d1f | [
"BSD-3-Clause"
] | null | null | null | library/openxlsx/implementation/headers/XLDocument_Impl.h | sezamin/OpenXLSX | 9a44c48a3cda934e9b287c015f094a002fd67d1f | [
"BSD-3-Clause"
] | 1 | 2020-06-12T03:52:04.000Z | 2020-06-12T03:52:04.000Z | /*
____ ____ ___ ____ ____ ____ ___
6MMMMb `MM( )M' `MM' 6MMMMb\`MM( )M'
8P Y8 `MM. d' MM 6M' ` `MM. d'
6M Mb __ ____ ____ ___ __ `MM. d' MM MM ... | 39.705128 | 128 | 0.542138 |
8ab928e461865fa511c336723c790fdcfd96989a | 1,361 | kt | Kotlin | app/src/main/java/ru/kartsev/dmitry/cinemadetails/mvvm/view/helper/ZoomOutPageTransformer.kt | Jaguarhl/MoviesDetails | d80929fcb461249c074dfff73ce7156ee91ff074 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/ru/kartsev/dmitry/cinemadetails/mvvm/view/helper/ZoomOutPageTransformer.kt | Jaguarhl/MoviesDetails | d80929fcb461249c074dfff73ce7156ee91ff074 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/ru/kartsev/dmitry/cinemadetails/mvvm/view/helper/ZoomOutPageTransformer.kt | Jaguarhl/MoviesDetails | d80929fcb461249c074dfff73ce7156ee91ff074 | [
"Apache-2.0"
] | null | null | null | package ru.kartsev.dmitry.cinemadetails.mvvm.view.helper
import android.view.View
import androidx.viewpager.widget.ViewPager
import kotlin.math.abs
import kotlin.math.max
private const val MIN_SCALE = 0.85f
private const val MIN_ALPHA = 0.5f
class ZoomOutPageTransformer : ViewPager.PageTransformer {
override fu... | 31.651163 | 90 | 0.47612 |
ab2c86a6303d1792d29c17e3dfe14bd3592c86ef | 275 | asm | Assembly | libsrc/games/bit_open.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/games/bit_open.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/games/bit_open.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | ; $Id: bit_open.asm,v 1.2 2015/01/19 01:32:44 pauloscustodio Exp $
;
; Generic 1 bit sound functions
;
; void bit_open();
;
; Stefano Bodrato - 2001..2013
;
INCLUDE "games/games.inc"
PUBLIC bit_open
EXTERN snd_tick
.bit_open
ld a,(snd_tick)
ret
| 15.277778 | 66 | 0.64 |
66a7dbcf6bda03f030f530f0fe13b3ee98d40fbc | 6,888 | sql | SQL | misc/drop_many.sql | sql-diaries/plsql-chrestomathy | a346b82143cf15819547c8be23c66953fcc7561e | [
"MIT"
] | 1 | 2018-02-08T11:58:05.000Z | 2018-02-08T11:58:05.000Z | misc/drop_many.sql | sql-diaries/plsql-chrestomathy | a346b82143cf15819547c8be23c66953fcc7561e | [
"MIT"
] | null | null | null | misc/drop_many.sql | sql-diaries/plsql-chrestomathy | a346b82143cf15819547c8be23c66953fcc7561e | [
"MIT"
] | 1 | 2015-10-27T05:22:18.000Z | 2015-10-27T05:22:18.000Z | --------------------------------------------------------------------------------
--
-- A PL/SQL chrestomathy
--
-- Module: misc
-- Submodule: drop_many
-- Purpose: dropping many interrelated objects
--
-- Copyright (c) 2014-5 Roberto Reale
--
-- Permission is hereby granted, free of charge, to any person ... | 33.115385 | 123 | 0.581301 |
4754b79049dbb40ff9d95a959530df3022409f35 | 28,235 | html | HTML | index.html | TigranMelkonian/WebPage | 36254489dccc25d5c9ef0b0b6ca7fb868ed659ad | [
"CC-BY-3.0"
] | null | null | null | index.html | TigranMelkonian/WebPage | 36254489dccc25d5c9ef0b0b6ca7fb868ed659ad | [
"CC-BY-3.0"
] | null | null | null | index.html | TigranMelkonian/WebPage | 36254489dccc25d5c9ef0b0b6ca7fb868ed659ad | [
"CC-BY-3.0"
] | null | null | null | <!DOCTYPE HTML>
<html>
<head>
<title>Tigran Melkonian</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<link... | 39.936351 | 124 | 0.60425 |
6b72a0c1da66d98497c156c85c8f2a886e5dea44 | 9,732 | c | C | firmware/coreboot/src/soc/intel/denverton_ns/systemagent.c | fabiojna02/OpenCellular | 45b6a202d6b2e2485c89955b9a6da920c4d56ddb | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 1 | 2019-11-04T07:11:25.000Z | 2019-11-04T07:11:25.000Z | firmware/coreboot/src/soc/intel/denverton_ns/systemagent.c | fabiojna02/OpenCellular | 45b6a202d6b2e2485c89955b9a6da920c4d56ddb | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 13 | 2018-10-12T21:29:09.000Z | 2018-10-25T20:06:51.000Z | firmware/coreboot/src/soc/intel/denverton_ns/systemagent.c | fabiojna02/OpenCellular | 45b6a202d6b2e2485c89955b9a6da920c4d56ddb | [
"CC-BY-4.0",
"BSD-3-Clause"
] | null | null | null | /*
* This file is part of the coreboot project.
*
* Copyright (C) 2007-2009 coresystems GmbH
* Copyright (C) 2014 Google Inc.
* Copyright (C) 2015 - 2017 Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publishe... | 27.108635 | 79 | 0.677353 |
6b91ce701a02902db35d86e3bcd2279b4cf1710a | 206 | h | C | src/CppSample/VTableApp.h | andreabalducci/MFCTraining | 9751c2f730ba525b309186385cedb8f48d211bab | [
"MIT"
] | null | null | null | src/CppSample/VTableApp.h | andreabalducci/MFCTraining | 9751c2f730ba525b309186385cedb8f48d211bab | [
"MIT"
] | null | null | null | src/CppSample/VTableApp.h | andreabalducci/MFCTraining | 9751c2f730ba525b309186385cedb8f48d211bab | [
"MIT"
] | null | null | null | #pragma once
class VTableApp
{
public:
VTableApp();
~VTableApp();
void Run();
};
class Base
{
private:
int m_v;
};
class Enh : public Base
{
private:
int m_v;
public:
Enh() {}
virtual ~Enh(){ }
}; | 8.583333 | 23 | 0.616505 |
fd99b279a17f545c94c7e1a9c67e313f17a9098b | 186 | asm | Assembly | data/pokemon/dex_entries/zangoose.asm | AtmaBuster/pokeplat-gen2 | fa83b2e75575949b8f72cb2c48f7a1042e97f70f | [
"blessing"
] | 6 | 2021-06-19T06:41:19.000Z | 2022-02-15T17:12:33.000Z | data/pokemon/dex_entries/zangoose.asm | AtmaBuster/pokeplat-gen2-old | 01e42c55db5408d72d89133dc84a46c699d849ad | [
"blessing"
] | null | null | null | data/pokemon/dex_entries/zangoose.asm | AtmaBuster/pokeplat-gen2-old | 01e42c55db5408d72d89133dc84a46c699d849ad | [
"blessing"
] | 3 | 2021-01-15T18:45:40.000Z | 2021-10-16T03:35:27.000Z | db "CAT FERRET@" ; species name
db "Its fur will stand"
next "on end if it"
next "smells a SEVIPER"
page "nearby. It uses"
next "its sharp claws to"
next "tear up its foes.@"
| 18.6 | 32 | 0.655914 |
e7720ef242a8d253d6ceb437a360eb438732c32e | 3,297 | js | JavaScript | resources/assets/js/videoplayers.js | SSR-online/DLM | 9173f59c88e5337199ba54219b92318a8c99cd70 | [
"MIT"
] | null | null | null | resources/assets/js/videoplayers.js | SSR-online/DLM | 9173f59c88e5337199ba54219b92318a8c99cd70 | [
"MIT"
] | 4 | 2020-02-17T14:03:49.000Z | 2021-11-02T15:47:38.000Z | resources/assets/js/videoplayers.js | SSR-online/DLM | 9173f59c88e5337199ba54219b92318a8c99cd70 | [
"MIT"
] | null | null | null | document.addEventListener('turbolinks:load', function(e) {
setupPlayers();
});
var players = [];
function setupPlayers() {
let containerdivs = document.querySelectorAll('.mediaplayercontainer');
for (var i = containerdivs.length - 1; i >= 0; i--) {
var playerdiv = containerdivs[i].querySelector('.player');
... | 32.009709 | 119 | 0.629663 |
7d171e3e56c034533b19a0e9e07ed7a5555ec9e8 | 8,030 | kt | Kotlin | compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/lower/loops/ProgressionLoopHeader.kt | Mu-L/kotlin | 5c3ce66e9979d2b3592d06961e181fa27fa88431 | [
"ECL-2.0",
"Apache-2.0"
] | 151 | 2019-11-06T03:32:39.000Z | 2022-03-25T15:06:58.000Z | compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/lower/loops/ProgressionLoopHeader.kt | Mu-L/kotlin | 5c3ce66e9979d2b3592d06961e181fa27fa88431 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-07-27T00:44:27.000Z | 2021-12-30T20:21:23.000Z | compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/lower/loops/ProgressionLoopHeader.kt | Mu-L/kotlin | 5c3ce66e9979d2b3592d06961e181fa27fa88431 | [
"ECL-2.0",
"Apache-2.0"
] | 69 | 2019-11-18T10:25:35.000Z | 2021-12-27T14:15:47.000Z | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.backend.common.lower.loops
import org.jetbrains.kotlin.backend.common.CommonBack... | 48.373494 | 139 | 0.592279 |
14ec0669482ff125646790d05aeca9234687f19c | 344 | kt | Kotlin | shared/src/commonTest/kotlin/cat/alexgluque/paraulogicsolver/viewModel/InsertWordsUseCaseFake.kt | alexluque/ParaulogicSolver | 4d1d0b78d4c5d8b9a9d7c20a75e1fc857e9b1ccf | [
"Apache-2.0"
] | null | null | null | shared/src/commonTest/kotlin/cat/alexgluque/paraulogicsolver/viewModel/InsertWordsUseCaseFake.kt | alexluque/ParaulogicSolver | 4d1d0b78d4c5d8b9a9d7c20a75e1fc857e9b1ccf | [
"Apache-2.0"
] | null | null | null | shared/src/commonTest/kotlin/cat/alexgluque/paraulogicsolver/viewModel/InsertWordsUseCaseFake.kt | alexluque/ParaulogicSolver | 4d1d0b78d4c5d8b9a9d7c20a75e1fc857e9b1ccf | [
"Apache-2.0"
] | null | null | null | package cat.alexgluque.paraulogicsolver.viewModel
import cat.alexgluque.paraulogicsolver.usecase.InsertWordsUseCase
import kotlin.native.concurrent.ThreadLocal
@ThreadLocal
object InsertWordsUseCaseFake : InsertWordsUseCase {
var insertWordsIsCalled = false
override suspend fun invoke() {
insertWord... | 24.571429 | 65 | 0.799419 |
bb5d3edcea5769b6d94aee3fd624cef2e4635a6f | 3,958 | kt | Kotlin | numeriko-core/src/main/kotlin/tomasvolker/numeriko/core/interfaces/array1d/generic/MutableArray1D.kt | TomasVolker/numeriko | 1e9d64140ec70b692b1b64ecdcd8b63cf41f97af | [
"Apache-2.0"
] | 4 | 2018-11-19T21:48:21.000Z | 2020-05-10T21:12:37.000Z | numeriko-core/src/main/kotlin/tomasvolker/numeriko/core/interfaces/array1d/generic/MutableArray1D.kt | TomasVolker/numeriko | 1e9d64140ec70b692b1b64ecdcd8b63cf41f97af | [
"Apache-2.0"
] | 10 | 2018-11-08T17:10:33.000Z | 2019-03-12T14:54:28.000Z | numeriko-core/src/main/kotlin/tomasvolker/numeriko/core/interfaces/array1d/generic/MutableArray1D.kt | TomasVolker/numeriko | 1e9d64140ec70b692b1b64ecdcd8b63cf41f97af | [
"Apache-2.0"
] | 1 | 2018-12-07T21:44:22.000Z | 2018-12-07T21:44:22.000Z | package tomasvolker.numeriko.core.interfaces.array1d.generic
import tomasvolker.numeriko.core.config.NumerikoConfig
import tomasvolker.numeriko.core.index.Index
import tomasvolker.numeriko.core.index.IndexProgression
import tomasvolker.numeriko.core.interfaces.array0d.generic.MutableArray0D
import tomasvolker.numeriko... | 42.106383 | 108 | 0.719555 |
bcc5364ea3e75c5ea9ee023b6ec780f135b2ffda | 355 | js | JavaScript | NextTech.ChaChing123.UI.Web/Areas/Admin/Scripts/spa_admin/assets/js/services/common.services.js | vinaphuc/123ChaChing-Web | 50b85f5a18f5f1efdfbfe62fa668a7420eabe5eb | [
"MIT"
] | 2 | 2019-12-14T14:30:10.000Z | 2020-01-16T00:54:06.000Z | NextTech.ChaChing123.UI.Web/Areas/Admin/Scripts/spa_admin/assets/js/services/common.services.js | vinaphuc/123ChaChing-Web | 50b85f5a18f5f1efdfbfe62fa668a7420eabe5eb | [
"MIT"
] | 1 | 2020-01-09T01:20:56.000Z | 2020-01-09T01:20:56.000Z | NextTech.ChaChing123.UI.Web/Areas/Admin/Scripts/spa_admin/assets/js/services/common.services.js | vinaphuc/123ChaChing-Web | 50b85f5a18f5f1efdfbfe62fa668a7420eabe5eb | [
"MIT"
] | 3 | 2020-01-06T04:27:10.000Z | 2021-07-31T02:55:23.000Z | // set the virtual directory for the application
// in production, the url will start from /OLS....
// set the application virtual directory here
var virtualDirectory = angular.element('input[name="__virtualDirectory"]').attr('value');
(function () {
"use strict";
angular
.module("common.services",
... | 29.583333 | 89 | 0.656338 |
61c3f919a19aab7e888dd05b5f44631574d09074 | 3,790 | css | CSS | frontend/web/css/detail/functionMenu.css | louis3385/wechat-smart-hotel | 6612686737a89ba3f55de0901b552ab947b80037 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2017-12-14T03:14:22.000Z | 2018-08-15T03:35:44.000Z | frontend/web/css/detail/functionMenu.css | louis3385/wechat-smart-hotel | 6612686737a89ba3f55de0901b552ab947b80037 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | frontend/web/css/detail/functionMenu.css | louis3385/wechat-smart-hotel | 6612686737a89ba3f55de0901b552ab947b80037 | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2018-08-15T03:37:30.000Z | 2020-12-10T09:11:01.000Z | .menu_detail_vue{
bottom:0;
left:0;
position:fixed;
z-index:11;
width:100%;
padding:6px 8px 6px 28px;
background-color:rgb(250,250,252);
box-shadow:0 1px 0 0 rgba(216,219,235,0.9);
box-sizing: border-box;
border-top:1px solid rgba(216,219,235,0.9);
display: -webkit-flex;
display: -ms-fle... | 20.939227 | 63 | 0.644591 |
fc2b32372215999f0fcb70e22c37bf6e06e343d6 | 14,720 | swift | Swift | SUICompanionApp/SUICompanionApp/Molecules/ExampleMolecules.swift | hmrc/ios-swiftui-components | fb804f98b5a00164cabc14a7183f02ae40dcc234 | [
"Apache-2.0"
] | null | null | null | SUICompanionApp/SUICompanionApp/Molecules/ExampleMolecules.swift | hmrc/ios-swiftui-components | fb804f98b5a00164cabc14a7183f02ae40dcc234 | [
"Apache-2.0"
] | 3 | 2021-08-19T06:43:35.000Z | 2022-02-11T14:22:13.000Z | SUICompanionApp/SUICompanionApp/Molecules/ExampleMolecules.swift | hmrc/ios-swiftui-components | fb804f98b5a00164cabc14a7183f02ae40dcc234 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 HM Revenue & Customs
*
* 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 a... | 33.917051 | 282 | 0.465965 |
f54a78074f5651a294b5fca64ab5fd88bc3b4ad6 | 842 | rs | Rust | rust/src/day01/part01.rs | goksgie/advent-of-code-2021 | e0df17bac95daf221ab97dbcf3f6bfc36aacf04a | [
"MIT"
] | null | null | null | rust/src/day01/part01.rs | goksgie/advent-of-code-2021 | e0df17bac95daf221ab97dbcf3f6bfc36aacf04a | [
"MIT"
] | null | null | null | rust/src/day01/part01.rs | goksgie/advent-of-code-2021 | e0df17bac95daf221ab97dbcf3f6bfc36aacf04a | [
"MIT"
] | null | null | null | /// Compute the consequtive increase in the input and output the result
/// as u64.
pub fn compute_consequtive_increase<'a, T: IntoIterator<Item = &'a u64>>(numbers: T) -> u64 {
let mut prev_elem = None;
let mut result = 0;
for elem in numbers {
if let Some(prev) = prev_elem {
if ele... | 27.16129 | 93 | 0.557007 |
81dcfe23900de442446cc0cadde6fffd64db7fc4 | 1,826 | swift | Swift | Example/PTVRPlayer/PTVR/Common/TimeLabel.swift | tienpx-x/PTVRPlayer | b8e3941edaaafac67f3569ccb809dd7b1a1e0a1a | [
"MIT"
] | null | null | null | Example/PTVRPlayer/PTVR/Common/TimeLabel.swift | tienpx-x/PTVRPlayer | b8e3941edaaafac67f3569ccb809dd7b1a1e0a1a | [
"MIT"
] | null | null | null | Example/PTVRPlayer/PTVR/Common/TimeLabel.swift | tienpx-x/PTVRPlayer | b8e3941edaaafac67f3569ccb809dd7b1a1e0a1a | [
"MIT"
] | 2 | 2021-07-12T08:17:45.000Z | 2022-02-16T03:05:50.000Z | //
// TimeLabel.swift
// PTVRPlayer
//
// Created by Phạm Xuân Tiến on 11/6/20.
// Copyright © 2020 CocoaPods. All rights reserved.
//
class TimeLabel: UILabel {
var second: TimeInterval = 0 {
didSet {
guard !second.isInfinite, !second.isNaN else {
self.text = "00:00"
... | 26.085714 | 68 | 0.484666 |
83a7a128dbfc52d480556e124e5c3c03ec04e023 | 4,348 | rs | Rust | src/main.rs | laptou/reactions-telegram-bot | 7b044b1e8d9b313836dd99dcf4797f2346b76323 | [
"MIT"
] | 5 | 2021-03-21T17:04:52.000Z | 2021-12-30T21:18:45.000Z | src/main.rs | laptou/reactions-telegram-bot | 7b044b1e8d9b313836dd99dcf4797f2346b76323 | [
"MIT"
] | 2 | 2020-10-01T22:11:58.000Z | 2020-10-04T17:01:16.000Z | src/main.rs | laptou/reactions-telegram-bot | 7b044b1e8d9b313836dd99dcf4797f2346b76323 | [
"MIT"
] | 1 | 2021-04-15T13:57:01.000Z | 2021-04-15T13:57:01.000Z | use std::{convert::Infallible, env, net::SocketAddr};
use log::{info, warn};
use pretty_env_logger;
use teloxide::{dispatching::update_listeners::UpdateListener, utils::command::BotCommand};
use teloxide::{prelude::*, types::*};
use tokio;
mod handler;
mod reaction;
use handler::{handle_callback_query, handle_comman... | 33.705426 | 98 | 0.560948 |
817540ac01c1d32c151242221c98ba5ca0856fee | 62,935 | rs | Rust | sdk/pi/src/model.rs | ymwjbxxq/aws-sdk-rust | f2b4361b004ee822960ea9791f566fd4eb6d1aba | [
"Apache-2.0"
] | 1,415 | 2021-05-07T20:15:53.000Z | 2022-03-31T20:47:15.000Z | sdk/pi/src/model.rs | ymwjbxxq/aws-sdk-rust | f2b4361b004ee822960ea9791f566fd4eb6d1aba | [
"Apache-2.0"
] | 253 | 2021-05-07T21:53:56.000Z | 2022-03-29T20:52:47.000Z | sdk/pi/src/model.rs | ymwjbxxq/aws-sdk-rust | f2b4361b004ee822960ea9791f566fd4eb6d1aba | [
"Apache-2.0"
] | 108 | 2021-05-07T20:42:02.000Z | 2022-03-28T18:16:53.000Z | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
/// <p>A time-ordered series of data points, corresponding to a dimension of a Performance Insights metric.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct MetricKeyDataPoints {
/// <p>The dimension(s... | 58.165434 | 563 | 0.631159 |
3fab18ec2a1b8cf81411832e2f1c05c3aef8d8f4 | 228 | asm | Assembly | target/asm/empty-testTemplate.asm | chriscamacho/emu68k | 5fc9e79e42b2023277dfa49e7faa7898d0d8ed96 | [
"MIT"
] | 8 | 2020-08-29T21:17:23.000Z | 2021-12-28T19:35:59.000Z | target/asm/empty-testTemplate.asm | chriscamacho/emu68k | 5fc9e79e42b2023277dfa49e7faa7898d0d8ed96 | [
"MIT"
] | null | null | null | target/asm/empty-testTemplate.asm | chriscamacho/emu68k | 5fc9e79e42b2023277dfa49e7faa7898d0d8ed96 | [
"MIT"
] | 1 | 2021-11-02T20:46:48.000Z | 2021-11-02T20:46:48.000Z | dc.l $00100000 * SP and PC
dc.l $00000400
rorg $400
start:
subi.b #1,d0
move.b d0,($A0000) # output to latch
move.b ($A0000),d0 # check it reads back.
bra.s start # main loop
| 16.285714 | 48 | 0.52193 |
1e2b6274ab28a1d9151f9a9f25168b8ca932e62e | 338 | css | CSS | use-css-animation-to-change-the-hover-state-of-a-button.css | ParthKalkar/learning-html-css | 5f5169477c57f897180ca77f727fd5137395a974 | [
"MIT"
] | null | null | null | use-css-animation-to-change-the-hover-state-of-a-button.css | ParthKalkar/learning-html-css | 5f5169477c57f897180ca77f727fd5137395a974 | [
"MIT"
] | null | null | null | use-css-animation-to-change-the-hover-state-of-a-button.css | ParthKalkar/learning-html-css | 5f5169477c57f897180ca77f727fd5137395a974 | [
"MIT"
] | null | null | null | <style>
button {
border-radius: 5px;
color: white;
background-color: #0F5897;
padding: 5px 10px 8px 10px;
}
button:hover {
animation-name: background-color;
animation-duration: 500ms;
}
@keyframes background-color{
100% {
background-color: #4791d0;
}
</style>
<button>... | 15.363636 | 37 | 0.627219 |
85b09f781bff657bfa1b539e3984457a9d1a791a | 7,043 | js | JavaScript | js/tree_vis.js | UnofficialJuliaMirrorSnapshots/D3Trees.jl-e3df1716-f71e-5df9-9e2d-98e193103c45 | c97f3175a258528c66d7b16f36627c903c9e3a03 | [
"MIT"
] | 22 | 2017-09-29T18:22:25.000Z | 2021-09-29T19:54:20.000Z | js/tree_vis.js | UnofficialJuliaMirrorSnapshots/D3Trees.jl-e3df1716-f71e-5df9-9e2d-98e193103c45 | c97f3175a258528c66d7b16f36627c903c9e3a03 | [
"MIT"
] | 20 | 2017-09-27T02:13:55.000Z | 2020-07-15T16:01:18.000Z | js/tree_vis.js | UnofficialJuliaMirrorSnapshots/D3Trees.jl-e3df1716-f71e-5df9-9e2d-98e193103c45 | c97f3175a258528c66d7b16f36627c903c9e3a03 | [
"MIT"
] | 6 | 2018-02-26T18:33:41.000Z | 2021-08-03T12:23:42.000Z | if (typeof $ === 'undefined') {
loadScript("https://code.jquery.com/jquery-3.1.1.min.js", run);
} else {
run();
}
function run() {
if (typeof d3 === 'undefined') {
loadScript("https://d3js.org/d3.v3.js", showTree);
} else {
showTree();
}
}
function loadScript(url, callback)
{
c... | 31.441964 | 102 | 0.543802 |
5adc45dcf20cc0bceef7b69f755461f0ee107f2f | 2,215 | rs | Rust | 2017/src/day01.rs | shrugalic/advent_of_code | 8d18a3dbdcf847a667ab553f5441676003b9362a | [
"MIT"
] | 1 | 2021-12-17T18:26:17.000Z | 2021-12-17T18:26:17.000Z | 2017/src/day01.rs | shrugalic/advent_of_code | 8d18a3dbdcf847a667ab553f5441676003b9362a | [
"MIT"
] | null | null | null | 2017/src/day01.rs | shrugalic/advent_of_code | 8d18a3dbdcf847a667ab553f5441676003b9362a | [
"MIT"
] | null | null | null | use line_reader::read_file_to_lines;
pub(crate) fn day1_part1() -> u32 {
let line = read_file_to_lines("input/day01.txt").remove(0);
solve_part1_captcha(line)
}
pub(crate) fn day1_part2() -> u32 {
let line = read_file_to_lines("input/day01.txt").remove(0);
solve_part2_captcha(line)
}
fn solve_part1_c... | 20.896226 | 63 | 0.552596 |
cdb0f962583359bba7a9633ca1799ecc5a134853 | 10,405 | rs | Rust | src/solver/strategy/specific/killer.rs | florian1345/sudoku-variants | dd493c8e0745de10f3697c7cc3657c30136018b2 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 3 | 2020-10-17T20:36:53.000Z | 2021-07-09T21:02:22.000Z | src/solver/strategy/specific/killer.rs | florian1345/sudoku-variants | dd493c8e0745de10f3697c7cc3657c30136018b2 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 21 | 2021-03-26T01:25:36.000Z | 2022-02-15T19:21:20.000Z | src/solver/strategy/specific/killer.rs | florian1345/sudoku-variants | dd493c8e0745de10f3697c7cc3657c30136018b2 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2021-07-09T21:02:57.000Z | 2021-07-09T21:02:57.000Z | //! This module contains [Strategy] implementations specific to the
//! [KillerConstraint]. They are re-exported in the
//! [specific](crate::solver::strategy::specific) module, so they do not have
//! to be referenced from this module directly.
use crate::constraint::{
Constraint,
KillerCage,
KillerConstr... | 34.453642 | 105 | 0.51802 |
fb628cfd5872f8ee00cb34decf048e7ec09267be | 3,752 | kt | Kotlin | psolib/src/commonMain/kotlin/world/phantasmal/psolib/asm/dataFlowAnalysis/GetStackValue.kt | DaanVandenBosch/phantasmal-world | 89ea739c65fda32cda1caaf159cad022469e2663 | [
"MIT"
] | 16 | 2019-06-14T03:20:51.000Z | 2022-02-04T08:01:56.000Z | psolib/src/commonMain/kotlin/world/phantasmal/psolib/asm/dataFlowAnalysis/GetStackValue.kt | DaanVandenBosch/phantasmal-world | 89ea739c65fda32cda1caaf159cad022469e2663 | [
"MIT"
] | 12 | 2019-09-15T20:37:05.000Z | 2022-02-06T03:24:22.000Z | psolib/src/commonMain/kotlin/world/phantasmal/psolib/asm/dataFlowAnalysis/GetStackValue.kt | DaanVandenBosch/phantasmal-world | 89ea739c65fda32cda1caaf159cad022469e2663 | [
"MIT"
] | 5 | 2019-07-20T05:16:20.000Z | 2021-11-15T09:19:54.000Z | package world.phantasmal.psolib.asm.dataFlowAnalysis
import mu.KotlinLogging
import world.phantasmal.psolib.asm.*
private val logger = KotlinLogging.logger {}
/**
* Computes the possible values of a stack element at the nth position from the top, right before a
* specific instruction. If the stack element's value ... | 29.3125 | 99 | 0.472548 |
cde6f8270ae6b2a9436f8352d7d7783572fbdc6a | 7,125 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_925.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_925.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_925.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 %r11
push %r14
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x508a, %r11
nop
nop
nop
and %rax, %rax
mov $0x6162636465666768, %rcx
movq %rcx, %xmm2
and $0xffffffffffffffc0, %r11
vmovntdq %ymm2, (%r11)
nop
nop
nop
nop
add $42615,... | 35.984848 | 2,999 | 0.656421 |
9fd6a5bd733cde42a2408a514c0e9b3502f44813 | 3,545 | rs | Rust | src/pattern.rs | zfzackfrost/string_studio | c7e4fd3a7d8fd1252f250959b130bfa2cc958838 | [
"MIT"
] | null | null | null | src/pattern.rs | zfzackfrost/string_studio | c7e4fd3a7d8fd1252f250959b130bfa2cc958838 | [
"MIT"
] | null | null | null | src/pattern.rs | zfzackfrost/string_studio | c7e4fd3a7d8fd1252f250959b130bfa2cc958838 | [
"MIT"
] | null | null | null | use crate::config::Fragment;
use serde::de::Deserializer;
use serde::de::{SeqAccess, Visitor};
use serde::ser::{SerializeSeq, Serializer};
use serde::{Deserialize, Serialize};
use std::fmt;
use std::iter::FromIterator;
#[derive(Debug, Clone)]
pub struct CompositePattern {
pub parts: Vec<String>,
}
impl CompositeP... | 27.913386 | 89 | 0.482934 |
e73edfde7f67f674b761d7588194ef86d54d8b46 | 2,258 | js | JavaScript | src/game/models/tile.js | aldhsu/minesweeper | adaa9bc74b53dbe4697e2bf228faabf973eb093d | [
"CC0-1.0"
] | null | null | null | src/game/models/tile.js | aldhsu/minesweeper | adaa9bc74b53dbe4697e2bf228faabf973eb093d | [
"CC0-1.0"
] | null | null | null | src/game/models/tile.js | aldhsu/minesweeper | adaa9bc74b53dbe4697e2bf228faabf973eb093d | [
"CC0-1.0"
] | null | null | null | import _ from 'underscore';
export default class Tile {
constructor(y, x, board, channel) {
this.x = x;
this.y = y;
this.board = board;
this.revealed = false;
this.isBomb = false;
this.channel = channel;
this.isFlagged = false;
}
get isRevealed() {
return this.revealed;
}
ge... | 19.807018 | 124 | 0.550487 |
ad44640a5702e5628a875fa2bd0cf737563647a8 | 2,336 | lua | Lua | src/mod/tools/api/MapViewer.lua | Ruin0x11/OpenNefia | 548f1a1442eca704bb1c16b1a1591d982a34919f | [
"MIT"
] | 109 | 2020-04-07T16:56:38.000Z | 2022-02-17T04:05:40.000Z | src/mod/tools/api/MapViewer.lua | Ruin0x11/OpenNefia | 548f1a1442eca704bb1c16b1a1591d982a34919f | [
"MIT"
] | 243 | 2020-04-07T08:25:15.000Z | 2021-10-30T07:22:10.000Z | src/mod/tools/api/MapViewer.lua | Ruin0x11/OpenNefia | 548f1a1442eca704bb1c16b1a1591d982a34919f | [
"MIT"
] | 15 | 2020-04-25T12:28:55.000Z | 2022-02-23T03:20:43.000Z | local Draw = require("api.Draw")
local Gui = require("api.Gui")
local InstancedMap = require("api.InstancedMap")
local MapRenderer = require("api.gui.MapRenderer")
local IUiLayer = require("api.gui.IUiLayer")
local IInput = require("api.gui.IInput")
local InputHandler = require("api.gui.InputHandler")
local MapViewer... | 24.333333 | 68 | 0.686644 |
4cc36869fa4d0777ae134f50406e7f08b65c8455 | 309 | sql | SQL | Tables/dbo.SQLServerKeywords.sql | SQLauto/DBA-database-1 | 7647724573993aa1a88c7144617dc5cce2034028 | [
"MIT"
] | 2 | 2018-10-02T11:14:56.000Z | 2021-06-20T12:29:07.000Z | Tables/dbo.SQLServerKeywords.sql | SQLauto/DBA-database-1 | 7647724573993aa1a88c7144617dc5cce2034028 | [
"MIT"
] | 6 | 2018-10-05T07:18:44.000Z | 2019-12-08T11:05:07.000Z | Tables/dbo.SQLServerKeywords.sql | SQLDoubleG/DBA-database | e6029aef8d4efdf4b5a2b51e6960245077f3ab6b | [
"MIT"
] | 2 | 2018-10-04T07:57:18.000Z | 2019-03-09T21:07:22.000Z | CREATE TABLE [dbo].[SQLServerKeywords]
(
[SQLServerProduct] [sys].[sysname] NOT NULL,
[keyword] [sys].[sysname] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SQLServerKeywords] ADD CONSTRAINT [UQ_SQLServerKeywords_SQLServerProduct_keyword] UNIQUE NONCLUSTERED ([SQLServerProduct], [keyword]) ON [PRIMARY]
GO
| 34.333333 | 166 | 0.773463 |
5f8f53c929dde8ebd249488f9f4207bccf96c9ce | 265 | h | C | EventTracing/EventNameFilter.h | euphrat1ca/ProcMonXv2 | 8ea0e45e90629c00b489b6d6476515bb9cb48deb | [
"MIT"
] | 302 | 2020-08-29T20:02:09.000Z | 2022-03-30T02:43:42.000Z | EventTracing/EventNameFilter.h | euphrat1ca/ProcMonXv2 | 8ea0e45e90629c00b489b6d6476515bb9cb48deb | [
"MIT"
] | 5 | 2020-11-23T05:55:54.000Z | 2022-02-20T12:38:59.000Z | EventTracing/EventNameFilter.h | euphrat1ca/ProcMonXv2 | 8ea0e45e90629c00b489b6d6476515bb9cb48deb | [
"MIT"
] | 65 | 2020-08-29T20:57:06.000Z | 2022-03-28T07:12:52.000Z | #pragma once
#include "StringCompareFilterBase.h"
class EventNameFilter : public StringCompareFilterBase {
public:
EventNameFilter(std::wstring name, CompareType type, FilterAction action);
virtual FilterAction Eval(FilterContext& context) const override;
};
| 22.083333 | 75 | 0.807547 |
b8f3b0bab3dcb776b07d4e5be3f4ecf1abe7e91c | 145 | lua | Lua | src/clientcore.com.main.ccs.component.slider.CcsSliderViewItem.lua | lvqier/fishingjoy | a5569e7074664a9ca72f88d6bd0dcff9282db627 | [
"Unlicense"
] | null | null | null | src/clientcore.com.main.ccs.component.slider.CcsSliderViewItem.lua | lvqier/fishingjoy | a5569e7074664a9ca72f88d6bd0dcff9282db627 | [
"Unlicense"
] | null | null | null | src/clientcore.com.main.ccs.component.slider.CcsSliderViewItem.lua | lvqier/fishingjoy | a5569e7074664a9ca72f88d6bd0dcff9282db627 | [
"Unlicense"
] | 1 | 2022-01-18T03:26:33.000Z | 2022-01-18T03:26:33.000Z | CcsSliderViewItem = class("CcsSliderViewItem")
CcsSliderViewItem.ctor = function (slot0)
ClassUtil.extends(slot0, CcsListViewItem)
end
return
| 18.125 | 46 | 0.813793 |
7fc22fa331739d3ea4e473a988dc1e1f35f58701 | 136 | sql | SQL | cosmic-core/cosmic-flyway/src/main/resources/db/migration/V2_23__disk-offering-custom-only.sql | sanderv32/cosmic | 9a9d86500b67255a1c743a9438a05c0d969fd210 | [
"Apache-2.0"
] | 64 | 2016-01-30T13:31:00.000Z | 2022-02-21T02:13:25.000Z | cosmic-core/cosmic-flyway/src/main/resources/db/migration/V2_23__disk-offering-custom-only.sql | sanderv32/cosmic | 9a9d86500b67255a1c743a9438a05c0d969fd210 | [
"Apache-2.0"
] | 525 | 2016-01-22T10:46:31.000Z | 2022-02-23T11:08:01.000Z | cosmic-core/cosmic-flyway/src/main/resources/db/migration/V2_23__disk-offering-custom-only.sql | sanderv32/cosmic | 9a9d86500b67255a1c743a9438a05c0d969fd210 | [
"Apache-2.0"
] | 25 | 2016-01-13T16:46:46.000Z | 2021-07-23T15:22:27.000Z | UPDATE `disk_offering` SET `disk_size`=0, `customized`=1, `state`="Inactive", `removed`=NOW() WHERE `type`="disk" AND `customized` = 0;
| 68 | 135 | 0.683824 |
6536be01b7eb4b8a845b975aa35e3be000f854f3 | 1,182 | py | Python | lib/googlecloudsdk/command_lib/filestore/operations/flags.py | bshaffer/google-cloud-sdk | f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9 | [
"Apache-2.0"
] | null | null | null | lib/googlecloudsdk/command_lib/filestore/operations/flags.py | bshaffer/google-cloud-sdk | f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9 | [
"Apache-2.0"
] | null | null | null | lib/googlecloudsdk/command_lib/filestore/operations/flags.py | bshaffer/google-cloud-sdk | f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*- #
# Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | 40.758621 | 141 | 0.716582 |
1a3d1b5fd919cdd7a98086c28edb15f3f6db36d0 | 8,455 | rs | Rust | hadron-operator/src/server/http.rs | hadron-project/hadron | ea260d06dff9309af8a36803715c8268535a023c | [
"Apache-2.0"
] | 19 | 2021-03-14T11:57:33.000Z | 2022-01-10T02:33:43.000Z | hadron-operator/src/server/http.rs | hadron-project/hadron | ea260d06dff9309af8a36803715c8268535a023c | [
"Apache-2.0"
] | 60 | 2021-05-18T13:22:31.000Z | 2021-12-07T16:18:45.000Z | hadron-operator/src/server/http.rs | hadron-project/hadron | ea260d06dff9309af8a36803715c8268535a023c | [
"Apache-2.0"
] | 2 | 2021-05-13T09:45:30.000Z | 2021-05-20T17:52:06.000Z | use std::convert::Infallible;
use std::sync::Arc;
use anyhow::{Context, Result};
use axum::http::{header::HeaderName, HeaderMap, HeaderValue, StatusCode};
use axum::routing::{get, post, Router};
use axum::{extract, handler::Handler, AddExtensionLayer};
use hyper::server::conn::Http;
use kube::api::DynamicObject;
use k... | 43.80829 | 169 | 0.625429 |