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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
147f42338cd76754e287a7942a3c92c25be7ba0e | 876 | ts | TypeScript | src/app/service/booking.service.ts | JSK-Developers/HEYProvider-Admin | b95e0104bb5b5afd73fb3657b0cfc5e8e3ef5bb0 | [
"MTLL"
] | null | null | null | src/app/service/booking.service.ts | JSK-Developers/HEYProvider-Admin | b95e0104bb5b5afd73fb3657b0cfc5e8e3ef5bb0 | [
"MTLL"
] | null | null | null | src/app/service/booking.service.ts | JSK-Developers/HEYProvider-Admin | b95e0104bb5b5afd73fb3657b0cfc5e8e3ef5bb0 | [
"MTLL"
] | null | null | null | import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { BookServicesByUserField } from '../book-services-by-user/bookServicesByUserFiled';
@Injectable({
providedIn: 'root'
})
export class BookingService {
ServicesUrl = 'http://localhost:8080/api/';
constructor(priv... | 33.692308 | 105 | 0.719178 |
38db88a2956f5cf0e86320cbbaace2d78e2c9b9d | 6,686 | php | PHP | db/migrations/20160417102957_table_exp_ship.php | ptphp/ptphp | d76f1871327fd7b62913c7895ac17a128ed24b95 | [
"MIT"
] | null | null | null | db/migrations/20160417102957_table_exp_ship.php | ptphp/ptphp | d76f1871327fd7b62913c7895ac17a128ed24b95 | [
"MIT"
] | null | null | null | db/migrations/20160417102957_table_exp_ship.php | ptphp/ptphp | d76f1871327fd7b62913c7895ac17a128ed24b95 | [
"MIT"
] | null | null | null | <?php
use Phinx\Migration\AbstractMigration;
class TableExpShip extends AbstractMigration
{
/**
* Change Method.
*
* Write your reversible migrations using this method.
*
* More information on writing migrations is available here:
* http://docs.phinx.org/en/latest/migrations.html#the... | 31.990431 | 88 | 0.366587 |
a95faaaa41ed2b8f46c43a4056cba75d70c6eb73 | 1,262 | sql | SQL | sql/db_update_0.9-alpha1_0.9-alpha2_sqlite.sql | soatok/Serendipity | c694fb0f4533eacd33423217a7ba21fdc7054d06 | [
"BSD-3-Clause"
] | 134 | 2015-01-14T10:33:16.000Z | 2022-03-26T11:27:08.000Z | sql/db_update_0.9-alpha1_0.9-alpha2_sqlite.sql | soatok/Serendipity | c694fb0f4533eacd33423217a7ba21fdc7054d06 | [
"BSD-3-Clause"
] | 495 | 2015-01-01T14:34:56.000Z | 2022-03-12T20:48:03.000Z | sql/db_update_0.9-alpha1_0.9-alpha2_sqlite.sql | soatok/Serendipity | c694fb0f4533eacd33423217a7ba21fdc7054d06 | [
"BSD-3-Clause"
] | 81 | 2015-04-22T06:51:02.000Z | 2022-03-11T16:52:33.000Z | CREATE TABLE {PREFIX}permalinks (
permalink varchar(255) not null default '',
entry_id int(10) {UNSIGNED} not null default '0',
type varchar(200) not null default '',
data text
);
CREATE INDEX pl_idx ON {PREFIX}permalinks (permalink);
CREATE INDEX ple_idx ON {PREFIX}permalinks (entry_id);
CREATE INDEX ... | 39.4375 | 80 | 0.782092 |
a2b435900d2fd8035a03b5f82b47b3870e940529 | 6,882 | asm | Assembly | zero_page_constants.asm | alexsteb/zelda_gb_disassembly | 0efeb3d9b26108c73fb3ace43b6b0a4a8520b179 | [
"MIT"
] | 3 | 2018-06-28T06:59:28.000Z | 2019-09-06T05:49:00.000Z | zero_page_constants.asm | alexsteb/zelda_gb_disassembly | 0efeb3d9b26108c73fb3ace43b6b0a4a8520b179 | [
"MIT"
] | null | null | null | zero_page_constants.asm | alexsteb/zelda_gb_disassembly | 0efeb3d9b26108c73fb3ace43b6b0a4a8520b179 | [
"MIT"
] | null | null | null | ; Hardware registers
rJOYP EQU $ff00 ; Joypad (R/W)
rSB EQU $ff01 ; Serial transfer data (R/W)
rSC EQU $ff02 ; Serial Transfer Control (R/W)
rSC_ON EQU 7
rSC_CGB EQU 1
rSC_CLOCK EQU 0
rDIV EQU $ff04 ; Divider Register (R/W)
rTIMA EQU $ff05 ; Timer counter (R/W)
rTMA EQU $f... | 29.663793 | 70 | 0.480093 |
9044c2ca1a96e9032a6c77e2589e1690f172a707 | 6,224 | rs | Rust | kserde_derive_impl/src/lib.rs | kettle11/kserde | 172bf3886d03dc2f8e7a8cca9c104540c336201e | [
"Zlib",
"Apache-2.0",
"MIT"
] | null | null | null | kserde_derive_impl/src/lib.rs | kettle11/kserde | 172bf3886d03dc2f8e7a8cca9c104540c336201e | [
"Zlib",
"Apache-2.0",
"MIT"
] | null | null | null | kserde_derive_impl/src/lib.rs | kettle11/kserde | 172bf3886d03dc2f8e7a8cca9c104540c336201e | [
"Zlib",
"Apache-2.0",
"MIT"
] | null | null | null | use std::borrow::Cow;
use kreflect_common::*;
fn serialize_fields(properties: &mut String, fields: &Vec<Field>) {
for (i, field) in fields.iter().enumerate() {
let skip = field_contains_attribute(field, "skip");
if !skip {
if let Some(name) = field.name.as_ref() {
*prop... | 32.931217 | 100 | 0.480559 |
da4bc62c974537ea1ff581f88233876764eef39c | 1,983 | c | C | practice/socket_app/tcp_server.c | YuanzhongLi/tcpip-protocol-stack | 53ba6480238332037ba731a9cba46090017552fe | [
"MIT"
] | null | null | null | practice/socket_app/tcp_server.c | YuanzhongLi/tcpip-protocol-stack | 53ba6480238332037ba731a9cba46090017552fe | [
"MIT"
] | null | null | null | practice/socket_app/tcp_server.c | YuanzhongLi/tcpip-protocol-stack | 53ba6480238332037ba731a9cba46090017552fe | [
"MIT"
] | null | null | null | #include <stdio.h> //printf(), fprintf(), perror()
#include <sys/socket.h> //socket(), bind(), accept(), listen()
#include <arpa/inet.h> // struct sockaddr_in, struct sockaddr, inet_ntoa()
#include <stdlib.h> //atoi(), exit(), EXIT_FAILURE, EXIT_SUCCESS
#include <string.h> //memset()
#include <unistd.h> //close()
#def... | 31.983871 | 97 | 0.631367 |
ddd9daeab836c8d90b7247a3f4e81da9164b1bf8 | 3,707 | java | Java | backend/src/main/java/mk/ukim/finki/vsa/security/AuthenticationFilter.java | Konstantin-Bogdanoski/VSA | b3f2edf8ab8dcaddf368ebd785516f3f55cee062 | [
"MIT"
] | 4 | 2020-03-27T20:36:23.000Z | 2021-02-21T20:47:25.000Z | backend/src/main/java/mk/ukim/finki/vsa/security/AuthenticationFilter.java | Konstantin-Bogdanoski/VSA | b3f2edf8ab8dcaddf368ebd785516f3f55cee062 | [
"MIT"
] | null | null | null | backend/src/main/java/mk/ukim/finki/vsa/security/AuthenticationFilter.java | Konstantin-Bogdanoski/VSA | b3f2edf8ab8dcaddf368ebd785516f3f55cee062 | [
"MIT"
] | 1 | 2020-08-07T05:57:50.000Z | 2020-08-07T05:57:50.000Z | package mk.ukim.finki.vsa.security;
import com.auth0.jwt.JWT;
import com.fasterxml.jackson.databind.ObjectMapper;
import mk.ukim.finki.vsa.dto.UserLogin;
import mk.ukim.finki.vsa.exception.PasswordsNotTheSameException;
import mk.ukim.finki.vsa.model.User;
import mk.ukim.finki.vsa.model.base.UserRole;
import mk.ukim.fi... | 45.765432 | 161 | 0.706771 |
141c101e23e63839bfe84dc810b7bf7066a2e347 | 56 | ts | TypeScript | types/ramda/src/times.d.ts | fes300/DefinitelyTyped | 0ff89f656c5e796284e155524b64c53bb0ee4998 | [
"MIT"
] | 35,620 | 2015-11-04T04:20:38.000Z | 2022-03-31T21:14:58.000Z | types/ramda/src/times.d.ts | fes300/DefinitelyTyped | 0ff89f656c5e796284e155524b64c53bb0ee4998 | [
"MIT"
] | 49,391 | 2015-11-04T05:15:18.000Z | 2022-03-31T23:44:18.000Z | types/ramda/src/times.d.ts | fes300/DefinitelyTyped | 0ff89f656c5e796284e155524b64c53bb0ee4998 | [
"MIT"
] | 36,450 | 2015-11-04T04:30:18.000Z | 2022-03-31T23:29:51.000Z | import { times } from '../index';
export default times;
| 18.666667 | 33 | 0.678571 |
a478ab8716448b0725deed54a33975a1013c5435 | 427 | php | PHP | database/seeds/NewsTableSeeder.php | paulovictoria/BSIS2018CapstoneProjectBPCAcadPortal | 4843c46e92752c28fe1e33220fd8794d4c5e33c5 | [
"MIT"
] | null | null | null | database/seeds/NewsTableSeeder.php | paulovictoria/BSIS2018CapstoneProjectBPCAcadPortal | 4843c46e92752c28fe1e33220fd8794d4c5e33c5 | [
"MIT"
] | null | null | null | database/seeds/NewsTableSeeder.php | paulovictoria/BSIS2018CapstoneProjectBPCAcadPortal | 4843c46e92752c28fe1e33220fd8794d4c5e33c5 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Seeder;
class NewsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('news')->insert([
$table->string('title');
$table->text('description');
$table->strin... | 19.409091 | 67 | 0.510539 |
a365e79d76b7e7e73608e50d8ded5eef000b12cc | 13,939 | java | Java | 05.-Bitwise/Presentacion/Formulario.java | Marcoaf22/Estructura-de-Datos-I | 8bda0588f24b7566e8b57e73cc07c018de6903fb | [
"MIT"
] | null | null | null | 05.-Bitwise/Presentacion/Formulario.java | Marcoaf22/Estructura-de-Datos-I | 8bda0588f24b7566e8b57e73cc07c018de6903fb | [
"MIT"
] | null | null | null | 05.-Bitwise/Presentacion/Formulario.java | Marcoaf22/Estructura-de-Datos-I | 8bda0588f24b7566e8b57e73cc07c018de6903fb | [
"MIT"
] | 1 | 2020-06-02T02:26:36.000Z | 2020-06-02T02:26:36.000Z | package Presentacion;
import Negocio.Bitwise;
import javax.swing.JOptionPane;
/**
*
* @author Marcoaf
*/
public class Formulario extends javax.swing.JFrame {
/**
* Creates new form Presentacion
*/
public Bitwise a;
public Formulario() {
a = new Bitwise();
initComponents();
... | 48.231834 | 119 | 0.584475 |
23b6181f7272cfd63ab523e64a541d2c71c62b94 | 661 | js | JavaScript | backend/routes/auth-routes.js | Kabeers-Network/yebrmusic | f97528fe79b4fb1c52f1c779599f67edefb3895c | [
"MIT"
] | 1 | 2021-04-28T13:23:19.000Z | 2021-04-28T13:23:19.000Z | backend/routes/auth-routes.js | Kabeers-Network/yebrmusic | f97528fe79b4fb1c52f1c779599f67edefb3895c | [
"MIT"
] | 2 | 2021-09-07T18:12:20.000Z | 2021-09-07T18:13:35.000Z | backend/routes/auth-routes.js | Kabeers-Network/yebrmusic | f97528fe79b4fb1c52f1c779599f67edefb3895c | [
"MIT"
] | null | null | null | const {GetAPIKey} = require("../controllers/auth-handlers");
const router = require("express").Router();
const {
GetUserInfo,
GetDataServerKey,
OAuthRedirect,
RefreshToken,
OAuthCallbackHandler,
ServiceLogin
} = require("../controllers/auth-handlers");
// router.get("/callback", OAuthCallbackH... | 30.045455 | 68 | 0.721634 |
79f6b1b9ec655cb268164bd09797b83ff93e4979 | 1,775 | rb | Ruby | app/helpers/tables_helper.rb | lcx/cloudgastro | 9af19213e142882d28c90405dbaabd2c300610dc | [
"Unlicense"
] | 31 | 2015-01-19T10:59:47.000Z | 2021-02-18T00:19:32.000Z | app/helpers/tables_helper.rb | lcx/cloudgastro | 9af19213e142882d28c90405dbaabd2c300610dc | [
"Unlicense"
] | 3 | 2015-05-28T02:40:40.000Z | 2015-11-29T11:05:05.000Z | app/helpers/tables_helper.rb | lcx/cloudgastro | 9af19213e142882d28c90405dbaabd2c300610dc | [
"Unlicense"
] | 35 | 2015-01-19T10:59:52.000Z | 2020-10-30T12:04:51.000Z | # coding: UTF-8
# Copyright (c) 2012 Red (E) Tools Ltd.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge... | 49.305556 | 462 | 0.702535 |
8a35b8749784ecc8167595d4529a718461c15a7e | 4,077 | dart | Dart | lib/src/value/external/string.dart | beastdestroyer/dart-sass | 8682452fd714dabf05b23d6b527bd0c6256e08e0 | [
"MIT"
] | null | null | null | lib/src/value/external/string.dart | beastdestroyer/dart-sass | 8682452fd714dabf05b23d6b527bd0c6256e08e0 | [
"MIT"
] | null | null | null | lib/src/value/external/string.dart | beastdestroyer/dart-sass | 8682452fd714dabf05b23d6b527bd0c6256e08e0 | [
"MIT"
] | null | null | null | // Copyright 2018 Google Inc. Use of this source code is governed by an
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
import '../../value.dart' as internal;
import 'value.dart';
/// A SassScript string.
///
/// Strings can either be quoted or unquoted. Unquot... | 45.808989 | 80 | 0.690213 |
f8500f8e9d8d8231924c2bf3818ae5a08a721a8a | 2,108 | go | Go | consume/consume_test.go | Contargo/chamqp | be4923cf7f0b107f2980b57b5d3e468dbb04bf98 | [
"MIT"
] | 4 | 2021-01-06T08:57:33.000Z | 2021-09-01T17:19:46.000Z | consume/consume_test.go | Contargo/chamqp | be4923cf7f0b107f2980b57b5d3e468dbb04bf98 | [
"MIT"
] | null | null | null | consume/consume_test.go | Contargo/chamqp | be4923cf7f0b107f2980b57b5d3e468dbb04bf98 | [
"MIT"
] | 1 | 2021-04-20T08:06:49.000Z | 2021-04-20T08:06:49.000Z | package consume
import "testing"
func TestCustomDeclare(t *testing.T) {
t.Run("fill decls complete", func(t *testing.T) {
Consume("testqueue").
WithDeliveryChan(nil).
WithConsumer("consumer").
WithAutoAck(false).
WithExclusive(true).
WithNoLocal(true).
WithNoWait(true).
WithArgs(nil).
WithE... | 23.164835 | 110 | 0.675996 |
96ffbf6a8eb4adca59581560b0f2468904c5d918 | 162 | cs | C# | source/BattleMiniMap/src/View/AgentMarkers/TextureProviders/AgentMarkerTextureType.cs | lzh-mb-mod/BattleMiniMap | 70b2c230ae9940f96348e80c181fbee779ac8a1f | [
"MIT"
] | 2 | 2021-04-09T11:10:11.000Z | 2021-06-17T08:35:42.000Z | source/BattleMiniMap/src/View/AgentMarkers/TextureProviders/AgentMarkerTextureType.cs | lzh-mb-mod/BattleMiniMap | 70b2c230ae9940f96348e80c181fbee779ac8a1f | [
"MIT"
] | null | null | null | source/BattleMiniMap/src/View/AgentMarkers/TextureProviders/AgentMarkerTextureType.cs | lzh-mb-mod/BattleMiniMap | 70b2c230ae9940f96348e80c181fbee779ac8a1f | [
"MIT"
] | null | null | null | namespace BattleMiniMap.View.AgentMarkers.TextureProviders
{
public enum AgentMarkerTextureType
{
Human, Horse, OtherAnimal, Dead, Count
}
}
| 20.25 | 59 | 0.716049 |
8678db01859e89c698fa8a16b46943c8bec86e16 | 391 | sql | SQL | src/main/resources/db/migration/V1__CreateUser.sql | wangjie-fourth/superShop | 21c2be3b25de6461f379c45639c278c078813b5c | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V1__CreateUser.sql | wangjie-fourth/superShop | 21c2be3b25de6461f379c45639c278c078813b5c | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V1__CreateUser.sql | wangjie-fourth/superShop | 21c2be3b25de6461f379c45639c278c078813b5c | [
"MIT"
] | null | null | null | create table USER(
ID bigint primary key auto_increment comment '主键id',
NAME varchar(100) comment '用户名称',
TEL varchar(40) unique comment '电话号码',
AVATAR_URL varchar(1024) comment '用户头像地址',
CREATED_AT timestamp default current_timestamp comment '创建时间',
UPDATED_AT timestamp def... | 43.444444 | 95 | 0.71867 |
b76e747e57076435c20afff0167d3fac72140a1d | 2,532 | cxx | C++ | src/bind/FrameBuffer.cxx | KraftKatten/Group-9-frontend-smce-gd | 62274d9c0add64b6c5527c21907e68d221e21ac6 | [
"Apache-2.0"
] | null | null | null | src/bind/FrameBuffer.cxx | KraftKatten/Group-9-frontend-smce-gd | 62274d9c0add64b6c5527c21907e68d221e21ac6 | [
"Apache-2.0"
] | 2 | 2021-11-04T11:22:01.000Z | 2021-11-30T19:25:56.000Z | src/bind/FrameBuffer.cxx | KraftKatten/Group-9-frontend-smce-gd | 62274d9c0add64b6c5527c21907e68d221e21ac6 | [
"Apache-2.0"
] | null | null | null | /*
* FrameBuffer.cxx
* Copyright 2021 ItJustWorksTM
*
* 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 ... | 37.791045 | 109 | 0.728278 |
63699ffc7c4b554916390f55ba81f476e2b3b05c | 1,931 | sh | Shell | security/create_es_client_cert.sh | CogStack/cogstack-nifi | 3280f7fdaa82bcd81ccedb2bca7d2cc52f0ae023 | [
"Apache-2.0"
] | 2 | 2019-06-18T19:41:26.000Z | 2019-09-05T19:11:07.000Z | security/create_es_client_cert.sh | CogStack/cogstack-nifi | 3280f7fdaa82bcd81ccedb2bca7d2cc52f0ae023 | [
"Apache-2.0"
] | 1 | 2019-09-04T11:24:05.000Z | 2019-09-04T11:24:05.000Z | security/create_es_client_cert.sh | CogStack/cogstack-nifi | 3280f7fdaa82bcd81ccedb2bca7d2cc52f0ae023 | [
"Apache-2.0"
] | 2 | 2019-06-12T12:45:16.000Z | 2019-07-03T21:01:15.000Z | #!/bin/bash
################################################################
#
# This script creates client keys and certificates that can
# be used by client's applications
#
set -e
ES_CERTIFICATES_FOLDER="./es_certificates/"
CERTIFICATE_TIME_VAILIDITY_IN_DAYS=730
CLIENT_CERT_NAME="es_kibana_client"
CA_ROOT_C... | 41.978261 | 238 | 0.759192 |
c95323728896ad852eb9869d00aab0dbe5305c3f | 2,959 | tsx | TypeScript | src/pages/index.tsx | jaydjhangiani/youtube-2020-june-multi-step-form-formik | c0993e42ab329a24fb6d5cdd5bca03f7e49ae330 | [
"MIT"
] | null | null | null | src/pages/index.tsx | jaydjhangiani/youtube-2020-june-multi-step-form-formik | c0993e42ab329a24fb6d5cdd5bca03f7e49ae330 | [
"MIT"
] | null | null | null | src/pages/index.tsx | jaydjhangiani/youtube-2020-june-multi-step-form-formik | c0993e42ab329a24fb6d5cdd5bca03f7e49ae330 | [
"MIT"
] | null | null | null | import { Card, CardContent, Typography, Button } from '@material-ui/core'
import {Form, Formik, Field, FormikConfig, FormikValues} from 'formik'
import { CheckboxWithLabel, TextField } from 'formik-material-ui'
import { object, mixed, number, string } from 'yup'
import React, { useState } from 'react'
export default ... | 32.163043 | 124 | 0.57756 |
f874a4d54570ba46f83c330fa86be209d0e0c958 | 655 | swift | Swift | Xcode13/Xcode13/Xcode13App.swift | thanhturin/xcode13 | 523f9f8b9fa644969c6b2aea282501710b807ec1 | [
"MIT"
] | null | null | null | Xcode13/Xcode13/Xcode13App.swift | thanhturin/xcode13 | 523f9f8b9fa644969c6b2aea282501710b807ec1 | [
"MIT"
] | null | null | null | Xcode13/Xcode13/Xcode13App.swift | thanhturin/xcode13 | 523f9f8b9fa644969c6b2aea282501710b807ec1 | [
"MIT"
] | null | null | null | //
// Xcode13App.swift
// Xcode13
//
// Created by Ta Phuc Thanh on 23/06/2021.
//
import SwiftUI
import AVKit
@main
struct Xcode13App: App {
@Environment(\.scenePhase) private var scenePhase
var body: some Scene {
WindowGroup {
ContentView()
}
.onChange(of: self.scene... | 16.794872 | 59 | 0.479389 |
f2121a9ace2020ef7de22565827ac127ac416f18 | 2,763 | cc | C++ | src/carnot/exec/ml/kmeans_test.cc | hangqiu/pixie | 1dd4af47d40ff856c4d52a1d6de81f78a76ff31e | [
"Apache-2.0"
] | 1,821 | 2020-04-08T00:45:27.000Z | 2021-09-01T14:56:25.000Z | src/carnot/exec/ml/kmeans_test.cc | hangqiu/pixie | 1dd4af47d40ff856c4d52a1d6de81f78a76ff31e | [
"Apache-2.0"
] | 142 | 2020-04-09T06:23:46.000Z | 2021-08-24T06:02:12.000Z | src/carnot/exec/ml/kmeans_test.cc | hangqiu/pixie | 1dd4af47d40ff856c4d52a1d6de81f78a76ff31e | [
"Apache-2.0"
] | 105 | 2021-09-08T10:26:50.000Z | 2022-03-29T09:13:36.000Z | /*
* Copyright 2018- The Pixie Authors.
*
* 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 ag... | 26.825243 | 91 | 0.702135 |
fa4b496856d8b1dd0603e81b68db90914b6b423d | 6,969 | cpp | C++ | model/mosesdecoder/moses/FF/GlobalLexicalModel.cpp | saeedesm/UNMT_AH | cc171bf66933b5c0ad8a0ab87e57f7364312a7df | [
"Apache-2.0"
] | 3 | 2020-02-28T21:42:44.000Z | 2021-03-12T13:56:16.000Z | tools/mosesdecoder-master/moses/FF/GlobalLexicalModel.cpp | Pangeamt/nectm | 6b84f048698f2530b9fdbb30695f2e2217c3fbfe | [
"Apache-2.0"
] | 2 | 2020-11-06T14:40:10.000Z | 2020-12-29T19:03:11.000Z | tools/mosesdecoder-master/moses/FF/GlobalLexicalModel.cpp | Pangeamt/nectm | 6b84f048698f2530b9fdbb30695f2e2217c3fbfe | [
"Apache-2.0"
] | 2 | 2019-11-26T05:27:16.000Z | 2019-12-17T01:53:43.000Z | #include <fstream>
#include "GlobalLexicalModel.h"
#include "moses/StaticData.h"
#include "moses/InputFileStream.h"
#include "moses/TranslationOption.h"
#include "moses/TranslationTask.h"
#include "moses/FactorCollection.h"
#include "util/exception.hh"
using namespace std;
namespace Moses
{
GlobalLexicalModel::Global... | 34.845 | 135 | 0.671402 |
14c9907aa6479aa0dd176176574bada60f953ec2 | 930 | lua | Lua | client/cl_ammohandler.lua | CriMsOnN/cm-inventory | 6a6a790401c5f86f31bed05043422726b58ac769 | [
"MIT"
] | 1 | 2021-07-16T14:06:37.000Z | 2021-07-16T14:06:37.000Z | client/cl_ammohandler.lua | CriMsOnN/cm-inventory | 6a6a790401c5f86f31bed05043422726b58ac769 | [
"MIT"
] | null | null | null | client/cl_ammohandler.lua | CriMsOnN/cm-inventory | 6a6a790401c5f86f31bed05043422726b58ac769 | [
"MIT"
] | 1 | 2021-04-28T09:59:19.000Z | 2021-04-28T09:59:19.000Z | RegisterNetEvent("cm-inventory:client:useAmmo")
AddEventHandler(
"cm-inventory:client:useAmmo",
function(hash, count)
local playerPed = GetPlayerPed(-1)
local weapon
local found, myWeapon = GetCurrentPedWeapon(playerPed, true)
if found then
for k, v in pairs(count.weapons) do
if myWea... | 28.181818 | 74 | 0.626882 |
c6d620c44811c72ed54cfdf3c72e1b630e4ad832 | 248 | py | Python | local_runner.py | mirzawaqasahmed/F5-Migration | 27f9e1c8a92a1363bdf39897e485debdf8fbb7ad | [
"Apache-2.0"
] | 1 | 2019-12-05T14:24:41.000Z | 2019-12-05T14:24:41.000Z | local_runner.py | mirzawaqasahmed/F5-Migration | 27f9e1c8a92a1363bdf39897e485debdf8fbb7ad | [
"Apache-2.0"
] | null | null | null | local_runner.py | mirzawaqasahmed/F5-Migration | 27f9e1c8a92a1363bdf39897e485debdf8fbb7ad | [
"Apache-2.0"
] | null | null | null | import sys
from app.f5_mig import *
if len(sys.argv)>1:
file_names=""
for i in sys.argv[1:]:
file_names=file_names+"$val$"+i
fun_f5_mig(file_names[5:], 'local', 0)
else:
fun_f5_mig(input("Please provide path to config files\n"), 'local', 0)
| 22.545455 | 71 | 0.693548 |
4b11cc7bed90dc0814dfc21c32dd99394bf13d40 | 577 | rb | Ruby | lib/pos_sync/pushers/category.rb | LuceroNava1/pos_sync | 22036dae8a71a9e227d1ea38e3044a831859ed38 | [
"MIT"
] | null | null | null | lib/pos_sync/pushers/category.rb | LuceroNava1/pos_sync | 22036dae8a71a9e227d1ea38e3044a831859ed38 | [
"MIT"
] | null | null | null | lib/pos_sync/pushers/category.rb | LuceroNava1/pos_sync | 22036dae8a71a9e227d1ea38e3044a831859ed38 | [
"MIT"
] | null | null | null | module Pushers
class Category
attr_reader :connector, :base_data
def initialize(connector, base_data)
@connector = connector
@base_data = base_data
end
def create(tasks)
created = []
tasks.each do |cat|
new_cat = Factory.catalog(cat)
new_obj = connector.catego... | 20.607143 | 50 | 0.610052 |
25d416edee7e316f3eb9d966f231aa2e4680301c | 807 | swift | Swift | Catalog/Examples/Networking/Basic/NetworkingViewController.swift | Anteo95/iOS-Nuts-And-Bolts | dc8412e1fb60cbfde06c06026c5f15d1d56c4296 | [
"MIT"
] | 185 | 2019-10-07T18:06:43.000Z | 2022-03-30T23:12:22.000Z | Catalog/Examples/Networking/Basic/NetworkingViewController.swift | Anteo95/iOS-Nuts-And-Bolts | dc8412e1fb60cbfde06c06026c5f15d1d56c4296 | [
"MIT"
] | 7 | 2019-10-23T21:55:44.000Z | 2022-02-15T13:54:38.000Z | Catalog/Examples/Networking/Basic/NetworkingViewController.swift | Anteo95/iOS-Nuts-And-Bolts | dc8412e1fb60cbfde06c06026c5f15d1d56c4296 | [
"MIT"
] | 12 | 2019-10-10T20:12:19.000Z | 2021-11-10T17:28:12.000Z | //
// NetworkingViewController.swift
//
// Created by Filip Gulan on 25/04/2019.
// Copyright (c) 2019 Infinum. All rights reserved.
//
// This file was generated by the 🐍 VIPER generator
//
import UIKit
final class NetworkingViewController: UIViewController {
// MARK: - Public properties -
var present... | 18.767442 | 61 | 0.69145 |
07b16329ece83ed49c72636cd72904be198f57e0 | 2,951 | css | CSS | static/css/site.css | justinoverton/hugo_metroui_theme | 05a32044d5ab67e4f62b6e9c4e931df144abb040 | [
"MIT"
] | null | null | null | static/css/site.css | justinoverton/hugo_metroui_theme | 05a32044d5ab67e4f62b6e9c4e931df144abb040 | [
"MIT"
] | null | null | null | static/css/site.css | justinoverton/hugo_metroui_theme | 05a32044d5ab67e4f62b6e9c4e931df144abb040 | [
"MIT"
] | null | null | null | .text-contrast {
text-shadow: 0px 0px 2px #000000, 0px 0px 4px #000000, 0px 0px 6px #000000
}
.drop-logo {
padding: 2px;
background-color: white;
height: 100px;
}
.fixed-top + div {
padding-top: 40px;
}
.slide {
height: 100%;
}
#TableOfContents a {
display: block;
}
#TableOfContents ul ul... | 17.993902 | 78 | 0.661132 |
ce24220a120f9af8e7818ca448083f4f810925d7 | 3,229 | lua | Lua | truetype/truetype_docs/truetype.lua | Shchvova/solar2d-plugins | d207849706372ef3a611fcaac5a0b599d9023d22 | [
"MIT"
] | 12 | 2020-05-04T08:49:04.000Z | 2021-12-30T09:35:17.000Z | truetype/truetype_docs/truetype.lua | Shchvova/solar2d-plugins | d207849706372ef3a611fcaac5a0b599d9023d22 | [
"MIT"
] | null | null | null | truetype/truetype_docs/truetype.lua | Shchvova/solar2d-plugins | d207849706372ef3a611fcaac5a0b599d9023d22 | [
"MIT"
] | 3 | 2021-02-19T18:39:02.000Z | 2022-03-09T17:14:57.000Z | --- Free functions used to create and prepare some font objects.
--
-- 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,... | 52.080645 | 98 | 0.740787 |
e50d163049daae74f3d365f0c693475fb97103ca | 3,704 | dart | Dart | lib/src/features/sasl/SaslAuthenticationFeature.dart | soeil/xmpp_dart | d9f9d6dab16c1b7963c38b8bbc4efd2774947a39 | [
"Apache-2.0"
] | null | null | null | lib/src/features/sasl/SaslAuthenticationFeature.dart | soeil/xmpp_dart | d9f9d6dab16c1b7963c38b8bbc4efd2774947a39 | [
"Apache-2.0"
] | null | null | null | lib/src/features/sasl/SaslAuthenticationFeature.dart | soeil/xmpp_dart | d9f9d6dab16c1b7963c38b8bbc4efd2774947a39 | [
"Apache-2.0"
] | null | null | null | import 'package:xmpp_stone/src/Connection.dart';
import 'package:xmpp_stone/src/elements/nonzas/Nonza.dart';
import 'package:xmpp_stone/src/features/Negotiator.dart';
import 'package:xmpp_stone/src/features/sasl/AbstractSaslHandler.dart';
import 'package:xmpp_stone/src/features/sasl/PlainSaslHandler.dart';
import 'pack... | 30.113821 | 84 | 0.671436 |
bd21fbf0d517166ac514ae3b2d1ec55ea5787608 | 1,451 | rb | Ruby | spec/models/taxon_name/awesome_nested_set_spec.rb | NaturalHistoryMuseum/taxonworks | fadf26fb3218279f625c6ce85104e3d66891f964 | [
"NCSA"
] | 61 | 2015-04-16T14:26:35.000Z | 2022-03-17T13:31:06.000Z | spec/models/taxon_name/awesome_nested_set_spec.rb | NaturalHistoryMuseum/taxonworks | fadf26fb3218279f625c6ce85104e3d66891f964 | [
"NCSA"
] | 2,768 | 2015-03-13T05:44:56.000Z | 2022-03-31T22:37:43.000Z | spec/models/taxon_name/awesome_nested_set_spec.rb | NaturalHistoryMuseum/taxonworks | fadf26fb3218279f625c6ce85104e3d66891f964 | [
"NCSA"
] | 22 | 2015-02-26T12:10:18.000Z | 2021-12-08T18:47:26.000Z | require 'rails_helper'
describe TaxonName, type: :model, group: [:nomenclature] do
let(:root) { FactoryBot.create(:root_taxon_name, project_id: 1) }
after(:all) do
TaxonName.delete_all
TaxonNameHierarchy.delete_all
end
context 'added in non alphabetical order' do
let(:family_a) { Protonym.create... | 35.390244 | 110 | 0.687112 |
58e8dcadafa59a2c2812a56e8c29da7499941675 | 46 | css | CSS | resources/css/style.css | Legna4859/blogvivi | a669ed4c1411a5762450c589e7703bdd806f1031 | [
"MIT"
] | null | null | null | resources/css/style.css | Legna4859/blogvivi | a669ed4c1411a5762450c589e7703bdd806f1031 | [
"MIT"
] | null | null | null | resources/css/style.css | Legna4859/blogvivi | a669ed4c1411a5762450c589e7703bdd806f1031 | [
"MIT"
] | null | null | null | a.nav-link.dropdown-toggle {
color: #ff3a46;
} | 15.333333 | 28 | 0.717391 |
b8c393ece11da14495ab312e9546e89d8bd1c060 | 602 | h | C | System/Library/PrivateFrameworks/MIME.framework/ECMutableMessageHeaders.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | 1 | 2020-11-04T15:43:01.000Z | 2020-11-04T15:43:01.000Z | System/Library/PrivateFrameworks/MIME.framework/ECMutableMessageHeaders.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/MIME.framework/ECMutableMessageHeaders.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:51:35 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/MIME.framework/MIME
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos... | 30.1 | 81 | 0.770764 |
23fa78fd4b2ba28607af73b67ac2b45fb702bf64 | 9,883 | js | JavaScript | js/components/Gamepad.js | isaaceliape/portfolio | dfeec866e02d07db41bb3eb8bec3f30d0ddcd911 | [
"MIT"
] | null | null | null | js/components/Gamepad.js | isaaceliape/portfolio | dfeec866e02d07db41bb3eb8bec3f30d0ddcd911 | [
"MIT"
] | 3 | 2021-03-08T19:06:52.000Z | 2022-02-12T04:30:49.000Z | js/components/Gamepad.js | isaaceliape/portfolio | dfeec866e02d07db41bb3eb8bec3f30d0ddcd911 | [
"MIT"
] | null | null | null | function buttonPressed(b) {
if (typeof (b) === 'object') return b.pressed;
return b === 1.0;
}
export default class Gamepad {
constructor(app) {
this.app = app;
this.animationLoop = null;
this.clearSelectedProjectTimer = null;
this.lastPressedButton = '';
this.projectAnimationIn = '';
thi... | 34.677193 | 133 | 0.587271 |
a7d59f405dee5e8ed4c7e38741015d4525997761 | 1,019 | css | CSS | public/css/new.css | gsingh453/laravel-practice | 5ff87344e733ddced0c22796e09dfdf9b7d6c325 | [
"MIT"
] | null | null | null | public/css/new.css | gsingh453/laravel-practice | 5ff87344e733ddced0c22796e09dfdf9b7d6c325 | [
"MIT"
] | null | null | null | public/css/new.css | gsingh453/laravel-practice | 5ff87344e733ddced0c22796e09dfdf9b7d6c325 | [
"MIT"
] | null | null | null |
.header{
width:100%;
height:100vh;
background-image: linear-gradient(rgba(0,168,255,0.3),rgba(0,168,255,0.3));
background-repeat:no-repeat;
clip-path:polygon(100% 0%, 100% 77%, 50% 100%,0 75%,0 0);
position: relative;
}
.header:before{
content:absolute;
top:0%;
bottom:0%;
left:0%;
right:0%;
opacity: .4%... | 18.87037 | 83 | 0.653582 |
dcb87dc21f1361dda15aab77c9801a0504a68241 | 1,722 | asm | Assembly | libtool/src/gmp-6.1.2/mpn/mips64/sqr_diagonal.asm | kroggen/aergo | 05af317eaa1b62b21dc0144ef74a9e7acb14fb87 | [
"MIT"
] | 1,602 | 2015-01-06T11:26:31.000Z | 2022-03-30T06:17:21.000Z | libtool/src/gmp-6.1.2/mpn/mips64/sqr_diagonal.asm | kroggen/aergo | 05af317eaa1b62b21dc0144ef74a9e7acb14fb87 | [
"MIT"
] | 11,789 | 2015-01-05T04:50:15.000Z | 2022-03-31T23:39:19.000Z | libtool/src/gmp-6.1.2/mpn/mips64/sqr_diagonal.asm | kroggen/aergo | 05af317eaa1b62b21dc0144ef74a9e7acb14fb87 | [
"MIT"
] | 498 | 2015-01-08T18:58:18.000Z | 2022-03-20T15:37:45.000Z | dnl MIPS64 mpn_sqr_diagonal.
dnl Copyright 2001, 2002 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License as published by... | 22.076923 | 79 | 0.723577 |
927579b1814237a2624008040a11b06df657e4b3 | 134 | dart | Dart | lib/unit_convert.dart | clowa/unit_convert | 8a7f38c27b0f4a1193579fa0f79d6a4216449794 | [
"MIT"
] | 1 | 2021-01-31T17:20:14.000Z | 2021-01-31T17:20:14.000Z | lib/unit_convert.dart | clowa/unit_convert | 8a7f38c27b0f4a1193579fa0f79d6a4216449794 | [
"MIT"
] | null | null | null | lib/unit_convert.dart | clowa/unit_convert | 8a7f38c27b0f4a1193579fa0f79d6a4216449794 | [
"MIT"
] | 1 | 2021-02-01T19:44:30.000Z | 2021-02-01T19:44:30.000Z | /// A library to easily convert between different units
library unit_converter;
export 'src/converter.dart';
export 'src/unit.dart';
| 22.333333 | 55 | 0.776119 |
7fe3c7f3d855bcd6b334a2be7b04a019ae5e98f5 | 9,834 | rs | Rust | crates/rome_json_factory/src/generated/syntax_factory.rs | mrkldshv/tools | c173b0c01ee499fcb49d6ae328f1229daa183868 | [
"MIT"
] | 4,843 | 2020-07-08T12:06:37.000Z | 2020-10-24T19:45:05.000Z | crates/rome_json_factory/src/generated/syntax_factory.rs | mrkldshv/tools | c173b0c01ee499fcb49d6ae328f1229daa183868 | [
"MIT"
] | 373 | 2020-07-08T07:48:35.000Z | 2020-10-22T20:24:04.000Z | crates/rome_json_factory/src/generated/syntax_factory.rs | mrkldshv/tools | c173b0c01ee499fcb49d6ae328f1229daa183868 | [
"MIT"
] | 131 | 2020-07-08T09:47:45.000Z | 2020-10-20T22:30:55.000Z | //! Generated file, do not edit by hand, see `xtask/codegen`
use rome_json_syntax::{JsonSyntaxKind, JsonSyntaxKind::*, T, *};
use rome_rowan::{AstNode, ParsedChildren, RawNodeSlots, RawSyntaxNode, SyntaxFactory, SyntaxKind};
#[derive(Debug)]
pub struct JsonSyntaxFactory;
impl SyntaxFactory for JsonSyntaxFactory {
... | 41.846809 | 98 | 0.434615 |
dd6b72e75a0789d13bc33081d2ce542b4c114a32 | 1,187 | java | Java | app/src/main/java/com/feriantes4dawin/feriavirtualmovil/util/SimpleTextWatcherAdapter.java | Nicolas-QuadPoint/FeriaVirtualMovil_ALT | 7481e8f5b2dbf4ae7f46ce648d8ea04e60e802f7 | [
"MIT"
] | null | null | null | app/src/main/java/com/feriantes4dawin/feriavirtualmovil/util/SimpleTextWatcherAdapter.java | Nicolas-QuadPoint/FeriaVirtualMovil_ALT | 7481e8f5b2dbf4ae7f46ce648d8ea04e60e802f7 | [
"MIT"
] | null | null | null | app/src/main/java/com/feriantes4dawin/feriavirtualmovil/util/SimpleTextWatcherAdapter.java | Nicolas-QuadPoint/FeriaVirtualMovil_ALT | 7481e8f5b2dbf4ae7f46ce648d8ea04e60e802f7 | [
"MIT"
] | null | null | null | package com.feriantes4dawin.feriavirtualmovil.util;
import android.text.Editable;
import android.text.TextWatcher;
import android.widget.EditText;
/**
* SimpleTextWatcherAdapter
*
* Es una implementación 'torpe' de TextWatcher, que actúa como
* adaptador. Cualquier clase que extienda de SimpleTextWatcherAdapter... | 27.604651 | 83 | 0.726201 |
ed541b1eaa80dbc7320ad280895560b501d75313 | 314 | h | C | c/src/BuckyBase/crt/crt.h | buckyos/bdt2 | 727c48530c0f6389b66f689320b967738d1dae67 | [
"BSD-3-Clause"
] | 2 | 2020-06-09T09:55:49.000Z | 2020-08-01T11:05:39.000Z | c/src/BuckyBase/crt/crt.h | buckyos/bdt2 | 727c48530c0f6389b66f689320b967738d1dae67 | [
"BSD-3-Clause"
] | null | null | null | c/src/BuckyBase/crt/crt.h | buckyos/bdt2 | 727c48530c0f6389b66f689320b967738d1dae67 | [
"BSD-3-Clause"
] | 2 | 2020-05-29T11:47:27.000Z | 2020-05-31T13:50:03.000Z | #pragma once
BFX_API(int) BfxStricmp16(const char16_t* dst, const char16_t* src);
BFX_API(int) BfxStrnicmp16(const char16_t* dst, const char16_t* src, size_t count);
BFX_API(int) BfxStricmp(const char8_t* dst, const char8_t* src);
BFX_API(int) BfxStrnicmp(const char8_t* dst, const char8_t* src, size_t count);
| 34.888889 | 83 | 0.770701 |
a49d9902e28abdba92eba2de5f94604b19a16ca0 | 2,706 | php | PHP | src/AddressConverter.php | tokenly/swapbot-op-return | a99d346219d1bd816fc12adec60f41882fcd0b7a | [
"MIT"
] | 1 | 2015-12-25T05:16:17.000Z | 2015-12-25T05:16:17.000Z | src/AddressConverter.php | tokenly/swapbot-op-return | a99d346219d1bd816fc12adec60f41882fcd0b7a | [
"MIT"
] | null | null | null | src/AddressConverter.php | tokenly/swapbot-op-return | a99d346219d1bd816fc12adec60f41882fcd0b7a | [
"MIT"
] | null | null | null | <?php
namespace Tokenly\SwapbotOpReturn;
/**
* converts bitcoin address to and from base58 format
*/
class AddressConverter
{
static $BASE_58_CHARS = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
/**
* decodes a base58 bitcoin address into a 25 byte binary bitcoin address
* @p... | 28.484211 | 107 | 0.564302 |
a36623962d3939a6aec87f584fa58a0f2f4b845d | 2,980 | tsx | TypeScript | src/containers/Book.tsx | sillyY/read-crawler-web | 1896138ccab46e46d5a88d058495b3ee807e8cd4 | [
"MIT"
] | null | null | null | src/containers/Book.tsx | sillyY/read-crawler-web | 1896138ccab46e46d5a88d058495b3ee807e8cd4 | [
"MIT"
] | 5 | 2020-09-07T09:35:11.000Z | 2022-02-26T18:15:01.000Z | src/containers/Book.tsx | sillyY/read-crawler-web | 1896138ccab46e46d5a88d058495b3ee807e8cd4 | [
"MIT"
] | null | null | null | /// <reference path="../typings/form.d.ts" />
import React from 'react'
import styled from 'styled-components'
import { Flex } from 'rebass'
import { Form, Input, Select, Button, Table } from 'antd'
const { Option } = Select
// import { size } from 'polished'
// import { connect } from 'react-redux'
const Root = styl... | 22.238806 | 61 | 0.479866 |
0de9e0830c0bc6cdd4066f9eb0ba8969b25b9c34 | 378 | cs | C# | Assets/Player/CameraPan.cs | vikkymaurya/third-person-Camera-controller | 4b9eebfe3993634790522357ddd83e1d73c538fb | [
"MIT"
] | null | null | null | Assets/Player/CameraPan.cs | vikkymaurya/third-person-Camera-controller | 4b9eebfe3993634790522357ddd83e1d73c538fb | [
"MIT"
] | null | null | null | Assets/Player/CameraPan.cs | vikkymaurya/third-person-Camera-controller | 4b9eebfe3993634790522357ddd83e1d73c538fb | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraPan : MonoBehaviour {
private GameObject player;
// Use this for initialization
void Start () {
player = GameObject.FindGameObjectWithTag ("Player");
}
// Update is called once per frame
void LateUpd... | 19.894737 | 61 | 0.71164 |
db84a6eb4c6204f446db0c5546017d39e38e5be6 | 24,091 | php | PHP | moodle/lib/tests/tablelib_test.php | EddisFargo/Moodle | be56e6a92e4e59954f6cfa55e059b15e81803a36 | [
"Apache-2.0"
] | null | null | null | moodle/lib/tests/tablelib_test.php | EddisFargo/Moodle | be56e6a92e4e59954f6cfa55e059b15e81803a36 | [
"Apache-2.0"
] | null | null | null | moodle/lib/tests/tablelib_test.php | EddisFargo/Moodle | be56e6a92e4e59954f6cfa55e059b15e81803a36 | [
"Apache-2.0"
] | null | null | null | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | 30.417929 | 125 | 0.553609 |
c6e5fc73979903266bb2f2348c4077d8acba9af2 | 2,339 | rs | Rust | sys/src/lib.rs | mrmr1993/ocaml-rs | 8bfcd27b0abce77a8612fc77f4f30526bb1c8970 | [
"ISC"
] | 1 | 2022-03-21T15:43:55.000Z | 2022-03-21T15:43:55.000Z | sys/src/lib.rs | mrmr1993/ocaml-rs | 8bfcd27b0abce77a8612fc77f4f30526bb1c8970 | [
"ISC"
] | null | null | null | sys/src/lib.rs | mrmr1993/ocaml-rs | 8bfcd27b0abce77a8612fc77f4f30526bb1c8970 | [
"ISC"
] | null | null | null | #![allow(clippy::missing_safety_doc)]
#![no_std]
pub type Char = cty::c_char;
#[macro_export]
/// Registers OCaml parameters with the GC
macro_rules! caml_param {
($($n:expr),*) => {
let mut caml_roots = $crate::CamlRootsBlock::default();
let mut n = 0isize;
$(
if n == 5 {
... | 23.626263 | 85 | 0.530141 |
0f69d782125db2327e3f92e20945e6bf6d3731b1 | 251 | css | CSS | src/style.css | zcaceres/json-sorter | 83cc69d7cfe5b4f9374e3e6a3992f97d316560e9 | [
"MIT"
] | null | null | null | src/style.css | zcaceres/json-sorter | 83cc69d7cfe5b4f9374e3e6a3992f97d316560e9 | [
"MIT"
] | null | null | null | src/style.css | zcaceres/json-sorter | 83cc69d7cfe5b4f9374e3e6a3992f97d316560e9 | [
"MIT"
] | null | null | null | h1 {
text-align: center;
font-size: 300%;
}
body {
text-align: center;
padding-top: 20%;
min-width: 100%;
}
input {
padding: 5px;
width: 100%;
}
#sorter {
text-align: left;
width: 50%;
margin-left: auto;
margin-right: auto;
}
| 10.913043 | 21 | 0.589641 |
435c0bbf256f16887a8a4dd3c0dbd489ba29adcf | 43 | ts | TypeScript | src/i18n/testing/i18n-testing.module.d.ts | SAP/spartacus-core-builds | 3e0545642da00f03207d558c389a8a30bd3fb380 | [
"Apache-1.1"
] | 1 | 2019-07-04T22:39:54.000Z | 2019-07-04T22:39:54.000Z | src/i18n/testing/i18n-testing.module.d.ts | SAP/cloud-commerce-spartacus-storefront-core-builds | 3e0545642da00f03207d558c389a8a30bd3fb380 | [
"Apache-1.1"
] | null | null | null | src/i18n/testing/i18n-testing.module.d.ts | SAP/cloud-commerce-spartacus-storefront-core-builds | 3e0545642da00f03207d558c389a8a30bd3fb380 | [
"Apache-1.1"
] | 1 | 2021-06-29T10:07:48.000Z | 2021-06-29T10:07:48.000Z | export declare class I18nTestingModule {
}
| 14.333333 | 40 | 0.813953 |
c4cdce569be7011bc86b2d30d36a72431a396384 | 2,567 | cpp | C++ | src/ui/gtk3/window/FileSelectWindow.cpp | jmdaemon/oggex | ae6153c021cbbfb784ffee5da4b1769d3fbf5617 | [
"MIT"
] | null | null | null | src/ui/gtk3/window/FileSelectWindow.cpp | jmdaemon/oggex | ae6153c021cbbfb784ffee5da4b1769d3fbf5617 | [
"MIT"
] | null | null | null | src/ui/gtk3/window/FileSelectWindow.cpp | jmdaemon/oggex | ae6153c021cbbfb784ffee5da4b1769d3fbf5617 | [
"MIT"
] | null | null | null | #include "FileSelectWindow.h"
#include <iostream>
#include <exception>
FileSelectWindow::FileSelectWindow(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& refBuilder)
: Gtk::ApplicationWindow(cobject), m_refBuilder(refBuilder) {
}
//: Gtk::ApplicationWindow(cobject), m_refBuilder(refBuilder), m_Button_F... | 29.848837 | 127 | 0.643553 |
f276595fbc58d5fba23ddb75b6f6ebb4fb107916 | 338 | swift | Swift | VendingMachine/VendingMachine/VendingItem.swift | e-sung/FastCampusPractice | 63a42c4da879638348c0ab6b53c66ec03c84e204 | [
"MIT"
] | null | null | null | VendingMachine/VendingMachine/VendingItem.swift | e-sung/FastCampusPractice | 63a42c4da879638348c0ab6b53c66ec03c84e204 | [
"MIT"
] | null | null | null | VendingMachine/VendingMachine/VendingItem.swift | e-sung/FastCampusPractice | 63a42c4da879638348c0ab6b53c66ec03c84e204 | [
"MIT"
] | null | null | null | //
// VendingItem.swift
// VendingMachine
//
// Created by esung on 2017. 9. 15..
// Copyright © 2017년 esung. All rights reserved.
//
import Foundation
class VendingItem{
let name:String
let price:Int
init(withName name:String, andPrice price:Int) {
self.name = name
self.price = p... | 16.9 | 52 | 0.618343 |
1a910572ae645ed40deae7db34498cbb3d2c59ca | 2,647 | cs | C# | src/template/src/Genocs.MicroserviceLight.Template.Application/UseCases/Transfer.cs | Genocs/clean-architecture-template | bebb32209e6c58400000c3cd546bf9e27b9f9809 | [
"MIT"
] | 5 | 2020-10-09T15:36:08.000Z | 2021-12-09T14:26:00.000Z | src/template/src/Genocs.MicroserviceLight.Template.Application/UseCases/Transfer.cs | Genocs/clean-architecture-template | bebb32209e6c58400000c3cd546bf9e27b9f9809 | [
"MIT"
] | 3 | 2021-01-10T16:00:03.000Z | 2022-01-30T18:17:57.000Z | src/template/src/Genocs.MicroserviceLight.Template.Application/UseCases/Transfer.cs | Genocs/clean-architecture-template | bebb32209e6c58400000c3cd546bf9e27b9f9809 | [
"MIT"
] | 1 | 2021-02-04T17:38:58.000Z | 2021-02-04T17:38:58.000Z | namespace Genocs.MicroserviceLight.Template.Application.UseCases
{
using Application.Boundaries.Transfer;
using Application.Repositories;
using Application.Services;
using Domain;
using Domain.Accounts;
using System.Threading.Tasks;
public sealed class Transfer : IUseCase
{
priv... | 38.926471 | 219 | 0.649792 |
f45bceb421874822a3b52115b4fcf9286715ae40 | 9,845 | cs | C# | Unity/Assets/Resources/Gaia/Scripts/Editor/ScannerEditor.cs | naivetang/ET_Tank | 01093885cbe46160547e3660d84e93ad60f3355c | [
"MIT"
] | 19 | 2019-05-06T12:36:51.000Z | 2022-03-03T02:24:00.000Z | Unity/Assets/Resources/Gaia/Scripts/Editor/ScannerEditor.cs | naivetang/ET_FGUI | 01093885cbe46160547e3660d84e93ad60f3355c | [
"MIT"
] | 2 | 2019-05-17T11:51:11.000Z | 2019-09-22T01:50:45.000Z | Unity/Assets/Resources/Gaia/Scripts/Editor/ScannerEditor.cs | naivetang/ET_FGUI | 01093885cbe46160547e3660d84e93ad60f3355c | [
"MIT"
] | 8 | 2019-05-06T13:50:23.000Z | 2021-11-03T01:52:51.000Z | using UnityEngine;
using UnityEditor;
using System.IO;
namespace Gaia
{
[CustomEditor(typeof(Scanner))]
public class ScannerEditor : Editor
{
[SerializeField] Gaia.GaiaConstants.RawByteOrder m_rawByteOrder;
[SerializeField] Gaia.GaiaConstants.RawBitDepth m_rawBitDepth = GaiaConstants.RawBitDepth.Sixte... | 40.850622 | 258 | 0.518029 |
c4f555afb2e4dd6f69ddfbeee7a363d0ec688111 | 16,222 | cpp | C++ | install/halodi_msgs/include/halodi_msgs/msg/feedback_parameters3_d__type_support.cpp | AHGOverbeek/halodi-messages | 4286676cb85cc4d5b2684523c1482afc9eef6ec9 | [
"Apache-2.0"
] | null | null | null | install/halodi_msgs/include/halodi_msgs/msg/feedback_parameters3_d__type_support.cpp | AHGOverbeek/halodi-messages | 4286676cb85cc4d5b2684523c1482afc9eef6ec9 | [
"Apache-2.0"
] | 3 | 2020-11-05T14:53:41.000Z | 2021-04-27T13:40:47.000Z | install/halodi_msgs/include/halodi_msgs/msg/feedback_parameters3_d__type_support.cpp | AHGOverbeek/halodi-messages | 4286676cb85cc4d5b2684523c1482afc9eef6ec9 | [
"Apache-2.0"
] | 1 | 2021-10-05T14:08:08.000Z | 2021-10-05T14:08:08.000Z | // generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em
// with input from halodi_msgs:msg/FeedbackParameters3D.idl
// generated code does not contain a copyright notice
#include "array"
#include "cstddef"
#include "string"
#include "vector"
#include "rosidl_generator_c/message_type_su... | 38.901679 | 134 | 0.774011 |
4bb80d3f65972525e317f199ffd515e3645230dc | 2,140 | h | C | ppu.h | chaynabors/trtle | 734f2f536e37cc586239ab8f067565a5b49f9713 | [
"MIT"
] | 1 | 2020-10-31T01:15:36.000Z | 2020-10-31T01:15:36.000Z | ppu.h | Saltyparts/trtle | c9d9e40f76d74d7b2b694d5b492d20a2c45ee634 | [
"MIT"
] | null | null | null | ppu.h | Saltyparts/trtle | c9d9e40f76d74d7b2b694d5b492d20a2c45ee634 | [
"MIT"
] | null | null | null | #ifndef TRTLE_PPU_H
#define TRTLE_PPU_H
#include <stdbool.h>
#include <stdint.h>
#define PPU_ROWS_PER_TILE (8)
#define PPU_PIXELS_PER_TILE_ROW (8)
// Tilemap macros
#define PPU_TS_TILE_COUNT (384 * 2)
#define PPU_TS_WIDTH_IN_PIXELS (128)
#define PPU_TS_HEIGHT_IN_PIXELS (192)
// Background macros
#defin... | 27.435897 | 88 | 0.756542 |
c6c7dc9e22c5f8eb529bee396bd15a31c96c6e6d | 2,100 | py | Python | abides-markets/abides_markets/generators.py | jpmorganchase/ABIDES-jpmc-gym | 198736a1b1316190072356c980412569579f15a6 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-09-23T13:17:26.000Z | 2021-09-23T13:17:26.000Z | abides-markets/abides_markets/generators.py | jpmorganchase/ABIDES-gym | 198736a1b1316190072356c980412569579f15a6 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | abides-markets/abides_markets/generators.py | jpmorganchase/ABIDES-gym | 198736a1b1316190072356c980412569579f15a6 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | from abc import abstractmethod, ABC
import numpy as np
from abides_core.generators import BaseGenerator
################## ORDER SIZE MODEL ###############################
class OrderSizeGenerator(BaseGenerator[int], ABC):
pass
class ConstantOrderSizeGenerator(OrderSizeGenerator):
def __init__(self, order_... | 28.767123 | 88 | 0.658095 |
79dd230dd7c376c8e842fb5dc1fc8199618d4a5d | 3,412 | php | PHP | downloads/application/controllers/AdminCategoryController.php | sethsandaru/PHP-CI-DownloadsPage | c5c0c3999ca3d1bf3d404fe9318b74a6d2edad0a | [
"MIT"
] | 1 | 2019-07-30T07:21:01.000Z | 2019-07-30T07:21:01.000Z | downloads/application/controllers/AdminCategoryController.php | sethsandaru/PHP-CI-DownloadsPage | c5c0c3999ca3d1bf3d404fe9318b74a6d2edad0a | [
"MIT"
] | null | null | null | downloads/application/controllers/AdminCategoryController.php | sethsandaru/PHP-CI-DownloadsPage | c5c0c3999ca3d1bf3d404fe9318b74a6d2edad0a | [
"MIT"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: sethsandaru
* Date: 1/21/18
* Time: 5:08 PM
*/
class AdminCategoryController extends CI_Controller
{
private $data = array();
public function __construct()
{
parent::__construct();
// load database
$this->load->database();
// load session
$this->load->libra... | 22.899329 | 131 | 0.600528 |
d024d1fc9dcb16580496307490682952fe8af3cf | 10,233 | cpp | C++ | Algorithm/cloth/graph/GraphsSewing.cpp | dolphin-li/ClothDesigner | 82b186d6db320b645ac67a4d32d7746cc9bdd391 | [
"MIT"
] | 32 | 2016-12-13T05:49:12.000Z | 2022-02-04T06:15:47.000Z | Algorithm/cloth/graph/GraphsSewing.cpp | dolphin-li/ClothDesigner | 82b186d6db320b645ac67a4d32d7746cc9bdd391 | [
"MIT"
] | 2 | 2019-07-30T02:01:16.000Z | 2020-03-12T15:06:51.000Z | Algorithm/cloth/graph/GraphsSewing.cpp | dolphin-li/ClothDesigner | 82b186d6db320b645ac67a4d32d7746cc9bdd391 | [
"MIT"
] | 18 | 2017-11-16T13:37:06.000Z | 2022-03-11T08:13:46.000Z | #include "GraphsSewing.h"
#include "AbstractGraphCurve.h"
#include "tinyxml\tinyxml.h"
namespace ldp
{
GraphsSewing::GraphsSewing() : AbstractGraphObject()
{
}
GraphsSewing::~GraphsSewing()
{
clear();
}
void GraphsSewing::clear()
{
auto tmp = m_firsts;
tmp.insert(tmp.end(), m_seconds.begin(), m_second... | 23.853147 | 115 | 0.637545 |
c54e0d36fcc7bfbfde99b02bdf2bf327bd58b078 | 1,020 | css | CSS | src/style/subjx.css | ivanandonov/subjx | 735ddfff95c9ea08eca83253a69550564e96e6db | [
"MIT"
] | null | null | null | src/style/subjx.css | ivanandonov/subjx | 735ddfff95c9ea08eca83253a69550564e96e6db | [
"MIT"
] | null | null | null | src/style/subjx.css | ivanandonov/subjx | 735ddfff95c9ea08eca83253a69550564e96e6db | [
"MIT"
] | null | null | null | .dg-wrapper {
position: static;
width: 0;
height: 0;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-o-user-select: none;
}
.dg-controls {
display: inline-block;
box-sizing: border-box;
top: 0;
left: 0;
z-index: 2147483647;
border: 1px dashe... | 13.972603 | 44 | 0.541176 |
12f47c3717ec06af81fe05e28963b4cc658bb4d9 | 5,191 | cshtml | C# | Presentation/BrnShop.Web/administration/views/order/orderafterserviceinfo.cshtml | leafcxy/BrnShop | 30c2b320c42481b4edb011f13ddef45b2ec6ed05 | [
"MIT"
] | 2 | 2019-03-04T05:00:00.000Z | 2020-06-03T07:10:15.000Z | Presentation/BrnShop.Web/administration/views/order/orderafterserviceinfo.cshtml | leafcxy/BrnShop | 30c2b320c42481b4edb011f13ddef45b2ec6ed05 | [
"MIT"
] | null | null | null | Presentation/BrnShop.Web/administration/views/order/orderafterserviceinfo.cshtml | leafcxy/BrnShop | 30c2b320c42481b4edb011f13ddef45b2ec6ed05 | [
"MIT"
] | 2 | 2019-03-04T05:00:06.000Z | 2022-01-09T15:55:50.000Z | @model BrnShop.Web.Admin.Models.OrderAfterServiceModel
@section header{
<title>售后服务</title>
<link type="text/css" rel="stylesheet" href="/administration/css/site.css"/>
<script type="text/javascript" src="/administration/scripts/jquery.js"></script>
<style type="text/css">
.addTable table{ bor... | 30.180233 | 172 | 0.600655 |
d30b7aadebfbd31a0f8128e3d74d11a2a8ed6e61 | 859 | cs | C# | TDCR.CoreLib/Messages/Raft/CommandReponse.cs | trusted-dcr/tdcr | ae5a9ccd720e4d4931492927a6af3f5562eb8cb7 | [
"MIT"
] | null | null | null | TDCR.CoreLib/Messages/Raft/CommandReponse.cs | trusted-dcr/tdcr | ae5a9ccd720e4d4931492927a6af3f5562eb8cb7 | [
"MIT"
] | null | null | null | TDCR.CoreLib/Messages/Raft/CommandReponse.cs | trusted-dcr/tdcr | ae5a9ccd720e4d4931492927a6af3f5562eb8cb7 | [
"MIT"
] | null | null | null | using TDCR.CoreLib.Messages.Network;
namespace TDCR.CoreLib.Messages.Raft
{
public class CommandReponse : IPayload<Wire.Raft.CommandResponse>
{
public CommandTag Tag { get; set; }
public bool Success { get; set; }
public Uid Leader { get; set; }
public Wire.Raft.CommandRespons... | 26.84375 | 77 | 0.53085 |
009d69d429d9694fd63813ccb0487815560b234d | 120 | sql | SQL | yoo-master-dc2492330d5d46b48f1ceca891e0f9f7e1593fee/module/yoomath/ym-task/src/main/java/tpl/sql/FallibleOcrSearchRecord.sql | wangsikai/learn | af85f7c7db5c38b5009ebdfb8c8985032eca565c | [
"Apache-2.0"
] | 1 | 2019-01-20T06:19:53.000Z | 2019-01-20T06:19:53.000Z | yoo-master-dc2492330d5d46b48f1ceca891e0f9f7e1593fee/module/yoomath/ym-task/src/main/java/tpl/sql/FallibleOcrSearchRecord.sql | wangsikai/learn | af85f7c7db5c38b5009ebdfb8c8985032eca565c | [
"Apache-2.0"
] | null | null | null | yoo-master-dc2492330d5d46b48f1ceca891e0f9f7e1593fee/module/yoomath/ym-task/src/main/java/tpl/sql/FallibleOcrSearchRecord.sql | wangsikai/learn | af85f7c7db5c38b5009ebdfb8c8985032eca565c | [
"Apache-2.0"
] | 2 | 2019-01-20T06:19:54.000Z | 2021-07-21T14:13:44.000Z | ## 按照fileId查询
#macro($taskFindByFileId(fileId))
SELECT * FROM fallible_ocr_search_record WHERE file_id = :fileId
#end | 30 | 65 | 0.783333 |
d67834ed3600198ba5510af00e41354c18e3db4a | 417 | sql | SQL | solutions/beecrowd/2737/2737.sql | deniscostadsc/playground | 11fa8e2b708571940451f005e1f55af0b6e5764a | [
"MIT"
] | 18 | 2015-01-22T04:08:51.000Z | 2022-01-08T22:36:47.000Z | solutions/beecrowd/2737/2737.sql | deniscostadsc/playground | 11fa8e2b708571940451f005e1f55af0b6e5764a | [
"MIT"
] | 4 | 2016-04-25T12:32:46.000Z | 2021-06-15T18:01:30.000Z | solutions/beecrowd/2737/2737.sql | deniscostadsc/playground | 11fa8e2b708571940451f005e1f55af0b6e5764a | [
"MIT"
] | 25 | 2015-03-02T06:21:51.000Z | 2021-09-12T20:49:21.000Z | SELECT name, customers_number
FROM (SELECT name, customers_number, 1 AS filter
FROM lawyers
WHERE customers_number = (
SELECT MAX(customers_number)
FROM lawyers)
OR customers_number = (
SELECT MIN(customers_number)
FROM lawyers)
UNION
SELECT 'Average', ROUND(AVG(custo... | 29.785714 | 63 | 0.70024 |
a364377254fbbf1b400ebb7ff2d85d52f92bce27 | 171 | ts | TypeScript | client/shared/src/util/browserDetection.ts | idorenyinudoh/sourcegraph | e8d25785d4e4f6abce9b96e0a16405681673350b | [
"Apache-2.0"
] | null | null | null | client/shared/src/util/browserDetection.ts | idorenyinudoh/sourcegraph | e8d25785d4e4f6abce9b96e0a16405681673350b | [
"Apache-2.0"
] | null | null | null | client/shared/src/util/browserDetection.ts | idorenyinudoh/sourcegraph | e8d25785d4e4f6abce9b96e0a16405681673350b | [
"Apache-2.0"
] | null | null | null | export function isFirefox(): boolean {
return window.navigator.userAgent.includes('Firefox')
}
export const isMacPlatform = window.navigator.platform.includes('Mac')
| 28.5 | 70 | 0.777778 |
4ea8cf910ed3f774e287a4e67b7632aedd64cc57 | 3,386 | lua | Lua | src/Graphs/Lua/Main.lua | Pintoe/Data-Structures | 0b8078bb96785379ada14937f1dfaf3001d09092 | [
"MIT"
] | null | null | null | src/Graphs/Lua/Main.lua | Pintoe/Data-Structures | 0b8078bb96785379ada14937f1dfaf3001d09092 | [
"MIT"
] | null | null | null | src/Graphs/Lua/Main.lua | Pintoe/Data-Structures | 0b8078bb96785379ada14937f1dfaf3001d09092 | [
"MIT"
] | null | null | null | -- !strict
-- Types --
type VertexStructure = {
[Instance]: number?
}
type GraphStructure = {
Matrix: {
[Instance]: VertexStructure
}
}
type VerticiesStructure = {
[number]: VertexStructure
}
type NodeStructure = {
[Instance]: bool
}
type Array = {
[number]: Instance?
}
-- Modules --
local Stacks = req... | 21.43038 | 113 | 0.722091 |
ef6f831bb63be33d345c7092425961fb334188ea | 664 | h | C | scene/sixth_scene.h | yukinotenshi/Frame-Buffer | 0ed676402cb440e4c1338ccfc8eea80b27221013 | [
"MIT"
] | null | null | null | scene/sixth_scene.h | yukinotenshi/Frame-Buffer | 0ed676402cb440e4c1338ccfc8eea80b27221013 | [
"MIT"
] | null | null | null | scene/sixth_scene.h | yukinotenshi/Frame-Buffer | 0ed676402cb440e4c1338ccfc8eea80b27221013 | [
"MIT"
] | null | null | null | //
// Created by yukinotenshi on 3/14/2019.
//
#ifndef FRAME_BUFFER_SIXTH_SCENE_H
#define FRAME_BUFFER_SIXTH_SCENE_H
#include "base_scene.h"
#include "../drawable/circle.h"
#include "../drawable/rectangle.h"
#include "../drawable/polygon.h"
class SixthScene : public BaseScene {
private:
std::vector<Circle> circ... | 18.971429 | 49 | 0.716867 |
dd98e170f3ee80384d37e0402a2e6648ec231616 | 1,162 | java | Java | src/main/java/com/github/ksokol/mailsink/configuration/MailsinkSimpleModule.java | hdeadman/mailsink | 2f04b1dd922f57f4282a1cc1e4341e73ec969b29 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/github/ksokol/mailsink/configuration/MailsinkSimpleModule.java | hdeadman/mailsink | 2f04b1dd922f57f4282a1cc1e4341e73ec969b29 | [
"Apache-2.0"
] | 1 | 2020-11-16T10:58:54.000Z | 2020-11-16T10:58:54.000Z | src/main/java/com/github/ksokol/mailsink/configuration/MailsinkSimpleModule.java | hdeadman/mailsink | 2f04b1dd922f57f4282a1cc1e4341e73ec969b29 | [
"Apache-2.0"
] | 1 | 2020-11-14T12:39:12.000Z | 2020-11-14T12:39:12.000Z | package com.github.ksokol.mailsink.configuration;
import com.fasterxml.jackson.databind.module.SimpleModule;
import com.fasterxml.jackson.databind.module.SimpleSerializers;
import com.github.ksokol.mailsink.entity.Mail;
import com.github.ksokol.mailsink.entity.MailAttachment;
import com.github.ksokol.mailsink.entity.M... | 36.3125 | 88 | 0.803787 |
51b141f4acfa114fd34a13c8f0be0d1937195842 | 94 | sql | SQL | com.sap.dirigible/com.sap.dirigible.parent/repository/com.sap.dirigible.repository.ext/src/com/sap/dirigible/repository/ext/extensions/sql/update_extension.sql | delchev/cloud-dirigible | 95f5f742dd18b73700337731eba32597bafd2a30 | [
"Apache-2.0"
] | 1 | 2015-02-14T20:26:54.000Z | 2015-02-14T20:26:54.000Z | com.sap.dirigible/com.sap.dirigible.parent/repository/com.sap.dirigible.repository.ext/src/com/sap/dirigible/repository/ext/extensions/sql/update_extension.sql | delchev/cloud-dirigible | 95f5f742dd18b73700337731eba32597bafd2a30 | [
"Apache-2.0"
] | null | null | null | com.sap.dirigible/com.sap.dirigible.parent/repository/com.sap.dirigible.repository.ext/src/com/sap/dirigible/repository/ext/extensions/sql/update_extension.sql | delchev/cloud-dirigible | 95f5f742dd18b73700337731eba32597bafd2a30 | [
"Apache-2.0"
] | null | null | null | UPDATE DGB_EXTENSIONS SET EXT_DESCRIPTION = ? WHERE EXT_LOCATION=? AND EXT_EXTPOINT_LOCATION=? | 94 | 94 | 0.840426 |
071d5fee25dcfe754447574c703381eb4e2efcbd | 2,989 | sql | SQL | conf/evolutions/default/2.sql | acammpana/Digitary | 03a0f02a6c2fd18c902142c5d2e567e461e48350 | [
"CC0-1.0"
] | null | null | null | conf/evolutions/default/2.sql | acammpana/Digitary | 03a0f02a6c2fd18c902142c5d2e567e461e48350 | [
"CC0-1.0"
] | null | null | null | conf/evolutions/default/2.sql | acammpana/Digitary | 03a0f02a6c2fd18c902142c5d2e567e461e48350 | [
"CC0-1.0"
] | null | null | null | # --- Sample dataset
# --- !Ups
insert into user (id,name,email,address1,address2, town, postcode, country, phone) values ( 1,'Jo Blow','jo@test.com','1 Test St',null,'Melbourne','3000','AUS','95559876');
insert into user (id,name,email,address1,address2, town, postcode, country, phone) values ( 2,'David Small','da... | 114.961538 | 191 | 0.700234 |
921232c910804929136974e4357961645b70cb8f | 103 | jbuilder | Ruby | app/views/ideas/_idea.json.jbuilder | Mayse/jasenaloitepalvelu-hydea | da2f08d47baadb5e9804c30f97a5885ed6a24a56 | [
"MIT"
] | 2 | 2017-05-05T12:37:57.000Z | 2020-12-18T12:28:37.000Z | app/views/ideas/_idea.json.jbuilder | Mayse/jasenaloitepalvelu-hydea | da2f08d47baadb5e9804c30f97a5885ed6a24a56 | [
"MIT"
] | 2 | 2017-05-04T12:21:46.000Z | 2017-05-04T16:34:42.000Z | app/views/ideas/_idea.json.jbuilder | Mayse/jasenaloitepalvelu-hydea | da2f08d47baadb5e9804c30f97a5885ed6a24a56 | [
"MIT"
] | 4 | 2017-05-04T16:22:41.000Z | 2019-02-15T10:30:51.000Z | json.extract! idea, :id, :topic, :text, :created_at, :updated_at
json.url idea_url(idea, format: :json) | 51.5 | 64 | 0.728155 |
e2dce2f84bae182707a82aecfe09c090d2b34dd7 | 3,381 | py | Python | cooccurrence.py | dhimmel/medline | 1cd80d12335b6550e18d5195507d62c9c924f04d | [
"CC0-1.0"
] | 7 | 2016-09-02T07:53:06.000Z | 2020-12-09T13:45:06.000Z | cooccurrence.py | hetio/medline | 1cd80d12335b6550e18d5195507d62c9c924f04d | [
"CC0-1.0"
] | 3 | 2021-04-12T14:43:53.000Z | 2021-04-13T15:26:38.000Z | cooccurrence.py | hetio/medline | 1cd80d12335b6550e18d5195507d62c9c924f04d | [
"CC0-1.0"
] | 4 | 2017-09-28T09:59:42.000Z | 2021-04-05T04:26:26.000Z | import itertools
from typing import Any, Dict, List, Set
import scipy.stats
import pandas
def read_pmids_tsv(path, key, min_articles = 1):
term_to_pmids = dict()
pmids_df = pandas.read_table(path, compression='gzip')
pmids_df = pmids_df[pmids_df.n_articles >= min_articles]
for i, row in pmids_df.iter... | 38.420455 | 116 | 0.661047 |
0440204d26843e68d9732202497dea91a38fee0f | 34 | swift | Swift | PlaygroundBook/Chapters/Chapter1.playgroundchapter/Pages/Introduction.playgroundpage/LiveView.swift | atultw/physics-swift | f87b7142ba65a61c80c5c52bb3363f6eada7b263 | [
"MIT"
] | 1 | 2021-04-21T20:08:56.000Z | 2021-04-21T20:08:56.000Z | PlaygroundBook/Chapters/Chapter1.playgroundchapter/Pages/Introduction.playgroundpage/LiveView.swift | atultw/physics-swift | f87b7142ba65a61c80c5c52bb3363f6eada7b263 | [
"MIT"
] | null | null | null | PlaygroundBook/Chapters/Chapter1.playgroundchapter/Pages/Introduction.playgroundpage/LiveView.swift | atultw/physics-swift | f87b7142ba65a61c80c5c52bb3363f6eada7b263 | [
"MIT"
] | null | null | null | // LiveView handled in main.swift
| 17 | 33 | 0.764706 |
e702d9ce1ae60f478c601a8ce6ad37dbf7db3b47 | 7,492 | php | PHP | year/gii/yunying/generators/api/Generator.php | bitsnaps/YiiSpace | b2511351c5cc41f129b0aa187504b3a408f1a4a4 | [
"BSD-3-Clause"
] | 18 | 2015-04-15T06:33:39.000Z | 2022-03-10T23:50:11.000Z | year/gii/yunying/generators/api/Generator.php | bitsnaps/YiiSpace | b2511351c5cc41f129b0aa187504b3a408f1a4a4 | [
"BSD-3-Clause"
] | 2 | 2021-01-05T03:59:24.000Z | 2022-02-12T04:34:34.000Z | year/gii/yunying/generators/api/Generator.php | bitsnaps/YiiSpace | b2511351c5cc41f129b0aa187504b3a408f1a4a4 | [
"BSD-3-Clause"
] | 7 | 2015-01-14T08:08:38.000Z | 2020-09-17T17:40:23.000Z | <?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace year\gii\yunying\generators\api;
use schmunk42\giiant\helpers\GiiantFaker;
use year\gii\yunying\Config;
use year\gii\yunying\utils\QualifiedTypeValidator;
us... | 28.059925 | 178 | 0.535505 |
c4b010e42abdd2e35f215d93afc09ed2119a37f3 | 22 | cpp | C++ | TetrisConsole/source/Konsole/Vector2i.cpp | mooviies/TetrisConsole | 4468df779c74cb30d4543eb50d89c491839998bb | [
"MIT"
] | null | null | null | TetrisConsole/source/Konsole/Vector2i.cpp | mooviies/TetrisConsole | 4468df779c74cb30d4543eb50d89c491839998bb | [
"MIT"
] | null | null | null | TetrisConsole/source/Konsole/Vector2i.cpp | mooviies/TetrisConsole | 4468df779c74cb30d4543eb50d89c491839998bb | [
"MIT"
] | null | null | null | #include "Vector2i.h"
| 11 | 21 | 0.727273 |
dc635a392d41e21542edbe35217c198c723db8b8 | 269 | rb | Ruby | ruby/hunt_and_kill_colored.rb | trestoa/mazes | 71466bf7bb433399c55365b9e69226a5b8fd963c | [
"Unlicense"
] | null | null | null | ruby/hunt_and_kill_colored.rb | trestoa/mazes | 71466bf7bb433399c55365b9e69226a5b8fd963c | [
"Unlicense"
] | null | null | null | ruby/hunt_and_kill_colored.rb | trestoa/mazes | 71466bf7bb433399c55365b9e69226a5b8fd963c | [
"Unlicense"
] | null | null | null | require 'colored_grid'
require 'hunt_and_kill'
grid = ColoredGrid.new(20, 20)
HuntAndKill.on(grid)
middle = grid[grid.rows / 2, grid.columns / 2]
grid.distances = middle.distances
filename = "hunt_and_kill.png"
grid.to_png.save(filename)
puts "saved to #{filename}"
| 20.692308 | 46 | 0.750929 |
4d7f85f82c05e6c8e9983016797703366ffbe24f | 5,264 | cs | C# | TKLight/PositiveFraction.cs | iratecaller/TKLight | e9c960c4433dcf24e1b07133649c5caef1e7cfbe | [
"MIT"
] | null | null | null | TKLight/PositiveFraction.cs | iratecaller/TKLight | e9c960c4433dcf24e1b07133649c5caef1e7cfbe | [
"MIT"
] | null | null | null | TKLight/PositiveFraction.cs | iratecaller/TKLight | e9c960c4433dcf24e1b07133649c5caef1e7cfbe | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
namespace TKLight
{
public class PositiveFraction : IComparable, IComparable<PositiveFraction>, IEqualityComparer<PositiveFraction>
{
public PositiveFraction()
{
_numerator = 0;
_denominator = 1;
}
... | 26.720812 | 137 | 0.446429 |
644012fef5b2c11b5b71c03ab952171a21fb5b2f | 4,980 | py | Python | sim_xps_spectra/broad_functs/create_broaden_functs.py | RFogarty1/sim_xps_spectra | 26933a8b00678494121507e66205cf4c02d9b357 | [
"MIT"
] | null | null | null | sim_xps_spectra/broad_functs/create_broaden_functs.py | RFogarty1/sim_xps_spectra | 26933a8b00678494121507e66205cf4c02d9b357 | [
"MIT"
] | null | null | null | sim_xps_spectra/broad_functs/create_broaden_functs.py | RFogarty1/sim_xps_spectra | 26933a8b00678494121507e66205cf4c02d9b357 | [
"MIT"
] | null | null | null |
import itertools as it
import math
from . import base_objs
import gen_basis_helpers.shared.misc_utils as misc
import numpy as np
class BroadenFunctCompositeStandard(base_objs.BroadenFunctionStandard):
leafObjs = misc.StandardComponentDescriptor("leafObjs")
def __init__(self, objs:iter):
""" Initializer for comp... | 29.122807 | 174 | 0.703012 |
ebfb4fc52b919255fcbc5073fd81c270d374ca10 | 715 | swift | Swift | HTWDD/Components/Onboarding/Main/OnboardingMainViewController.swift | HTWDD/HTWDresden-iOS | d0ff6a50f96e1a9d2dc93ee6c88f5da4d4b05445 | [
"MIT"
] | 4 | 2017-09-06T21:06:46.000Z | 2021-07-03T15:00:15.000Z | HTWDD/Components/Onboarding/Main/OnboardingMainViewController.swift | HTWDD/HTWDresden-iOS | d0ff6a50f96e1a9d2dc93ee6c88f5da4d4b05445 | [
"MIT"
] | null | null | null | HTWDD/Components/Onboarding/Main/OnboardingMainViewController.swift | HTWDD/HTWDresden-iOS | d0ff6a50f96e1a9d2dc93ee6c88f5da4d4b05445 | [
"MIT"
] | 2 | 2017-09-06T21:06:50.000Z | 2021-05-21T19:48:14.000Z | //
// OnboardingMainViewController.swift
// HTWDD
//
// Created by Mustafa Karademir on 05.08.19.
// Copyright © 2019 HTW Dresden. All rights reserved.
//
import UIKit
class OnboardingMainViewController: UIViewController {
// MARK: - Properties
weak var context: AppContext?
// MARK: - Lifecycle
... | 23.833333 | 95 | 0.657343 |
b0c7f5a2c0c953d3c8caf6a6d311bc6fbd849555 | 2,184 | kt | Kotlin | backend/app/src/test/kotlin/io/tolgee/initial_user_creation/CreateEnabledTest.kt | tolgee/tolgee-platform | 0cd741fea2fdb834e32f80d5c3345c369a359dcc | [
"Apache-2.0"
] | 16 | 2022-03-21T20:07:46.000Z | 2022-03-31T18:35:42.000Z | backend/app/src/test/kotlin/io/tolgee/initial_user_creation/CreateEnabledTest.kt | tolgee/tolgee-platform | 0cd741fea2fdb834e32f80d5c3345c369a359dcc | [
"Apache-2.0"
] | 25 | 2022-03-21T16:49:21.000Z | 2022-03-31T08:24:36.000Z | backend/app/src/test/kotlin/io/tolgee/initial_user_creation/CreateEnabledTest.kt | tolgee/tolgee-platform | 0cd741fea2fdb834e32f80d5c3345c369a359dcc | [
"Apache-2.0"
] | 2 | 2022-03-27T14:41:37.000Z | 2022-03-30T11:08:32.000Z | /*
* Copyright (c) 2020. Tolgee
*/
package io.tolgee.initial_user_creation
import io.tolgee.Application
import io.tolgee.CleanDbBeforeClass
import io.tolgee.commandLineRunners.InitialUserCreatorCommandLineRunner
import io.tolgee.configuration.tolgee.TolgeeProperties
import io.tolgee.service.UserAccountService
impor... | 30.333333 | 93 | 0.806777 |
4134c66004db387d19dd44aa8d4e4fe51133e6b9 | 1,929 | sql | SQL | db/sql/0000_initialize.sql | ModelRocket/hiro | 5f799399ecbae29be89e306f7803634da4452ac4 | [
"MIT"
] | null | null | null | db/sql/0000_initialize.sql | ModelRocket/hiro | 5f799399ecbae29be89e306f7803634da4452ac4 | [
"MIT"
] | null | null | null | db/sql/0000_initialize.sql | ModelRocket/hiro | 5f799399ecbae29be89e306f7803634da4452ac4 | [
"MIT"
] | null | null | null | -- +migrate Up
-- SQL in section 'Up' is executed when this migration is applied
CREATE SCHEMA IF NOT EXISTS hiro;
CREATE EXTENSION IF NOT EXISTS "pgcrypto";
CREATE EXTENSION IF NOT EXISTS "unaccent";
CREATE EXTENSION IF NOT EXISTS "hstore";
CREATE EXTENSION IF NOT EXISTS "btree_gist";
-- +migrate StatementBegin
CREAT... | 27.557143 | 90 | 0.669259 |
c1478c1ad6e825f2b3b53963ee6a53c1a3b19bcd | 3,408 | swift | Swift | TipPal/ViewController.swift | dbramiah/TipPalCodePath | 70710f6a9486fba16b6455cb7f0832d481eaf2fa | [
"Apache-2.0"
] | null | null | null | TipPal/ViewController.swift | dbramiah/TipPalCodePath | 70710f6a9486fba16b6455cb7f0832d481eaf2fa | [
"Apache-2.0"
] | 1 | 2016-09-26T20:28:44.000Z | 2016-10-06T22:40:45.000Z | TipPal/ViewController.swift | dbramiah/TipPalCodePath | 70710f6a9486fba16b6455cb7f0832d481eaf2fa | [
"Apache-2.0"
] | null | null | null | //
// ViewController.swift
// TipPal
//
// Created by Daena on 8/2/16.
// Copyright © 2016 Daena. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var totalLabel: UILabel!
@IBOutlet weak var tipLabel: UILabel!
@IBOutlet weak var billField: UITextField!
... | 31.266055 | 105 | 0.606514 |
05de904e37453461597a7ec7188e2d84c93dc859 | 2,806 | py | Python | ws_icra2022/src/my_pkg/ur5_eyeInhand/frompitoangle.py | yanseim/Vision-Based-Control | 4a92103d99703ac2a45d4ad8d01a663e29c0aa7d | [
"MIT"
] | null | null | null | ws_icra2022/src/my_pkg/ur5_eyeInhand/frompitoangle.py | yanseim/Vision-Based-Control | 4a92103d99703ac2a45d4ad8d01a663e29c0aa7d | [
"MIT"
] | null | null | null | ws_icra2022/src/my_pkg/ur5_eyeInhand/frompitoangle.py | yanseim/Vision-Based-Control | 4a92103d99703ac2a45d4ad8d01a663e29c0aa7d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
def getpi(listb):
lista=[]
listcc=[]
for i in listb:
temp=i/180*3.14
lista.append((temp,i))
listcc.append(temp)
return lista
def getangle(listb):
lista=[]
for i in listb:
temp=i/3.14*180
lista.append((i,temp))
return lista
def get... | 32.252874 | 153 | 0.600143 |
f48bdab9512dc2dace20954da83a1e5ca7157fe6 | 1,183 | ts | TypeScript | src/Modal/Buttons/FixedButton/FixedButton.styles.ts | imbroisi/ender-forms | 41c8335038b2d0014f6903152af4d557ee7483e2 | [
"MIT"
] | null | null | null | src/Modal/Buttons/FixedButton/FixedButton.styles.ts | imbroisi/ender-forms | 41c8335038b2d0014f6903152af4d557ee7483e2 | [
"MIT"
] | null | null | null | src/Modal/Buttons/FixedButton/FixedButton.styles.ts | imbroisi/ender-forms | 41c8335038b2d0014f6903152af4d557ee7483e2 | [
"MIT"
] | null | null | null | import { color, spacing } from '@loft/copan-tokens';
import { createStyles, makeStyles } from '@material-ui/core/styles';
import { FixedButtonPosition, FixedButtonProps } from './FixedButton';
export type FixedButtonStyleProps = Omit<FixedButtonProps, 'Button' | 'buttonRef'>;
export const useStyles = makeStyles<null,... | 34.794118 | 99 | 0.619611 |
0d791cf1eb34b28dadfc6956ccc37c846695be63 | 3,777 | cs | C# | Website-RegLog/Website-RegLog/Default.aspx.designer.cs | HeshamFawzy/Website-RegLog | 73e25cf6c6a458ee703cd4a884e8946b791ad9b8 | [
"MIT"
] | null | null | null | Website-RegLog/Website-RegLog/Default.aspx.designer.cs | HeshamFawzy/Website-RegLog | 73e25cf6c6a458ee703cd4a884e8946b791ad9b8 | [
"MIT"
] | null | null | null | Website-RegLog/Website-RegLog/Default.aspx.designer.cs | HeshamFawzy/Website-RegLog | 73e25cf6c6a458ee703cd4a884e8946b791ad9b8 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 35.632075 | 106 | 0.54673 |
276871432c5e88bffeaa42b5596e48d9901e9790 | 287 | kts | Kotlin | valiktor-javatime/build.gradle.kts | renangigliotti/valiktor | e99c55d38b97acf37e0ecd3efb715817a6cb958a | [
"Apache-2.0"
] | null | null | null | valiktor-javatime/build.gradle.kts | renangigliotti/valiktor | e99c55d38b97acf37e0ecd3efb715817a6cb958a | [
"Apache-2.0"
] | null | null | null | valiktor-javatime/build.gradle.kts | renangigliotti/valiktor | e99c55d38b97acf37e0ecd3efb715817a6cb958a | [
"Apache-2.0"
] | 1 | 2020-06-16T14:22:38.000Z | 2020-06-16T14:22:38.000Z | dependencies {
compile(project(":valiktor-core"))
testCompile(kotlin("reflect"))
}
tasks {
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
} | 15.105263 | 38 | 0.505226 |
43c24de84e0fb3a5eb83a0044271f9496115e707 | 1,910 | tsx | TypeScript | src/components/Header.tsx | aschlumpf/mdx-resume | 042c8f9b07dc9793d07ba9564133c1de936ba640 | [
"MIT"
] | null | null | null | src/components/Header.tsx | aschlumpf/mdx-resume | 042c8f9b07dc9793d07ba9564133c1de936ba640 | [
"MIT"
] | null | null | null | src/components/Header.tsx | aschlumpf/mdx-resume | 042c8f9b07dc9793d07ba9564133c1de936ba640 | [
"MIT"
] | null | null | null | import { Box, createStyles, makeStyles, Typography } from '@material-ui/core';
import { GitHub, Mail, Phone } from '@material-ui/icons';
import React from 'react';
const useStyles = makeStyles((theme) =>
createStyles({
infoIcon: {
paddingRight: theme.spacing(1),
},
infoContainer: {
... | 31.833333 | 102 | 0.565969 |
72b3a296fce6b123f28563837f87b21a9155d74a | 1,227 | cs | C# | Assets/MyFolder/Scripts/ECS/ComponentTypes/DeadMan.cs | pCYSl5EDgo/Unity1Week_P1145141919 | 2804a4f20903af938d9e292cfae8545aa25ad76a | [
"MIT"
] | 2 | 2020-05-19T13:56:40.000Z | 2021-12-24T15:39:42.000Z | Assets/MyFolder/Scripts/ECS/ComponentTypes/DeadMan.cs | pCYSl5EDgo/Unity1Week_P1145141919 | 2804a4f20903af938d9e292cfae8545aa25ad76a | [
"MIT"
] | null | null | null | Assets/MyFolder/Scripts/ECS/ComponentTypes/DeadMan.cs | pCYSl5EDgo/Unity1Week_P1145141919 | 2804a4f20903af938d9e292cfae8545aa25ad76a | [
"MIT"
] | null | null | null | using System;
using Unity.Entities;
using Unity.Mathematics;
namespace Unity1Week
{
readonly public struct DeadMan : ISharedComponentData, IEquatable<DeadMan>
{
public DeadMan(float2 value)
{
Value.x = value.x < 0 ? 0 : (uint)value.x;
Value.y = value.y < 0 ? ... | 43.821429 | 135 | 0.586797 |
f597a4a9654bf6e6a07e8a1edf2a1112ecb44d56 | 1,982 | sql | SQL | model/migrations/15af11d-org_credit_updates.sql | ad31c0/almond-cloud | f0af94ee8c233f6e8110a54d4d01e38f08e56705 | [
"Apache-2.0"
] | 185 | 2019-04-30T19:46:57.000Z | 2021-09-19T15:27:02.000Z | model/migrations/15af11d-org_credit_updates.sql | ad31c0/almond-cloud | f0af94ee8c233f6e8110a54d4d01e38f08e56705 | [
"Apache-2.0"
] | 820 | 2019-04-10T21:49:32.000Z | 2021-11-18T18:46:51.000Z | model/migrations/15af11d-org_credit_updates.sql | ad31c0/almond-cloud | f0af94ee8c233f6e8110a54d4d01e38f08e56705 | [
"Apache-2.0"
] | 33 | 2019-04-14T03:44:27.000Z | 2021-11-18T05:43:06.000Z | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET... | 53.567568 | 148 | 0.762866 |
79e763b7be5b50dd79171bbdeef70280e834e331 | 214 | php | PHP | src/Translatable.php | parfumix/eloquent-translatable | 53a4d5c7288219a035d8c512892efbe670029a79 | [
"MIT"
] | 1 | 2015-09-23T12:15:48.000Z | 2015-09-23T12:15:48.000Z | src/Translatable.php | parfumix/eloquent-translatable | 53a4d5c7288219a035d8c512892efbe670029a79 | [
"MIT"
] | 2 | 2015-08-24T20:01:54.000Z | 2015-12-02T11:58:26.000Z | src/Translatable.php | parfumix/eloquent-translatable | 53a4d5c7288219a035d8c512892efbe670029a79 | [
"MIT"
] | null | null | null | <?php
namespace Eloquent\Translatable;
interface Translatable {
/**
* Translate eloquent .
*
* @param null $locale
* @return mixed
*/
public function translate($locale = null);
} | 15.285714 | 46 | 0.602804 |
759d1ac7f9bc863a1df5a8b7e9d519a030fe7de4 | 127,834 | css | CSS | wp-content/uploads/sites/5/elementor/css/post-10284cb98.css | wali131997/Nova-Capitals | c499239172cb06f31e32fbe003705c0e83351624 | [
"MIT"
] | null | null | null | wp-content/uploads/sites/5/elementor/css/post-10284cb98.css | wali131997/Nova-Capitals | c499239172cb06f31e32fbe003705c0e83351624 | [
"MIT"
] | null | null | null | wp-content/uploads/sites/5/elementor/css/post-10284cb98.css | wali131997/Nova-Capitals | c499239172cb06f31e32fbe003705c0e83351624 | [
"MIT"
] | null | null | null | .elementor-10284 .elementor-element.elementor-element-125fa8dd .elementor-column-gap-custom .elementor-column > .elementor-element-populated{padding:5px;}.elementor-10284 .elementor-element.elementor-element-125fa8dd:not(.elementor-motion-effects-element-type-background):not(.cmsmasters-bg-effect), .elementor-10284 .el... | 2,506.54902 | 26,967 | 0.797143 |
200e087f30ef3717536bda34b4df21d23d1973dd | 5,939 | py | Python | privacy_encoder/models/privacy_autoencoder.py | IsaacCorley/Privacy-Encoder | 435b1096627a23927d7b0d35dfc7e20e0c5dae7a | [
"MIT"
] | 1 | 2022-02-01T11:25:22.000Z | 2022-02-01T11:25:22.000Z | privacy_encoder/models/privacy_autoencoder.py | IsaacCorley/Privacy-Encoder | 435b1096627a23927d7b0d35dfc7e20e0c5dae7a | [
"MIT"
] | null | null | null | privacy_encoder/models/privacy_autoencoder.py | IsaacCorley/Privacy-Encoder | 435b1096627a23927d7b0d35dfc7e20e0c5dae7a | [
"MIT"
] | 1 | 2022-02-01T11:25:23.000Z | 2022-02-01T11:25:23.000Z | import tensorflow_addons as tfa
from tensorflow import keras
from .base import BaseAutoEncoder
from .image_classifier import ImageClassifier
from .encoding_classifier import EncodingClassifier
from ..losses import weighted_categorical_crossentropy
class PrivacyAutoEncoder(BaseAutoEncoder):
def __init__(
... | 33.178771 | 84 | 0.612561 |
257ce666220ef56031aaa03057476a589e0664c1 | 761 | cs | C# | CMSIS.Pack/PackDescription/BoardBook.cs | NETMF/CMSIS.Pack | b7970d2b068da9d4a2eb4bb22106b84dc2f1ab5d | [
"MIT"
] | 11 | 2016-08-21T05:46:58.000Z | 2022-01-01T09:29:23.000Z | CMSIS.Pack/PackDescription/BoardBook.cs | NETMF/CMSIS.Pack | b7970d2b068da9d4a2eb4bb22106b84dc2f1ab5d | [
"MIT"
] | 1 | 2016-04-10T17:29:47.000Z | 2016-04-10T17:29:47.000Z | CMSIS.Pack/PackDescription/BoardBook.cs | NETMF/CMSIS.Pack | b7970d2b068da9d4a2eb4bb22106b84dc2f1ab5d | [
"MIT"
] | 8 | 2016-04-10T15:59:49.000Z | 2022-01-01T09:32:14.000Z | using System;
using System.Xml;
using System.Xml.Serialization;
namespace CMSIS.Pack.PackDescription
{
[Serializable( )]
public class BoardBook
{
/// <remarks/>
[XmlAttribute( "category", Form=System.Xml.Schema.XmlSchemaForm.Qualified)]
public BoardBookCategoryEnum Catego... | 29.269231 | 84 | 0.590013 |
a3974b1bb897a050a851fba636cd10d560a6a4b9 | 4,765 | java | Java | java-api/javax/print/attribute/standard/PrinterMoreInfoManufacturer.java | owolabileg/property-db | ccbe0137ba949d474303a7ba48c9360dc37be888 | [
"MIT"
] | null | null | null | java-api/javax/print/attribute/standard/PrinterMoreInfoManufacturer.java | owolabileg/property-db | ccbe0137ba949d474303a7ba48c9360dc37be888 | [
"MIT"
] | null | null | null | java-api/javax/print/attribute/standard/PrinterMoreInfoManufacturer.java | owolabileg/property-db | ccbe0137ba949d474303a7ba48c9360dc37be888 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2000, 2004, 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 ... | 37.226563 | 79 | 0.696537 |
6d0f3442c5631ae1eb55cc8b929ea3d9324a5aa6 | 1,858 | ts | TypeScript | app/pages/participante-nuevo.component.ts | guillezc/questions | 969d7e698d65c654b6583c223b8680ca8f064129 | [
"MIT"
] | 1 | 2016-11-09T06:24:56.000Z | 2016-11-09T06:24:56.000Z | app/pages/participante-nuevo.component.ts | guillezc/questions | 969d7e698d65c654b6583c223b8680ca8f064129 | [
"MIT"
] | null | null | null | app/pages/participante-nuevo.component.ts | guillezc/questions | 969d7e698d65c654b6583c223b8680ca8f064129 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { CORE_DIRECTIVES } from '@angular/common';
import { Router, ActivatedRoute, ROUTER_DIRECTIVES } from '@angular/router';
import { LocalStorage, SessionStorage } from "angular2-localstorage/WebStorage";
import { NgForm } from '@angular/forms';
import { Logger } f... | 29.967742 | 93 | 0.691604 |
6da452addb3d5b1a17ac958cef854691b8ce8b32 | 678 | h | C | tf2_src/devtools/processgamestats/base_gamestats_parse.h | d3fc0n6/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | tf2_src/devtools/processgamestats/base_gamestats_parse.h | Counter2828/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | null | null | null | tf2_src/devtools/processgamestats/base_gamestats_parse.h | Counter2828/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#ifndef BASE_GAMESTATS_PARSE_H
#define BASE_GAMESTATS_PARSE_H
#ifdef _WIN32
#pragma once
#endif
enum CustomDataReturnCode
{
CUSTOMDATA_NONE =... | 19.371429 | 102 | 0.650442 |
e2785094a8fe973d954b63423db6e037ef435fcf | 129 | js | JavaScript | tests/dummy/mirage/serializers/application.js | sirvine/ember-cli-mirage | 356444ac700d14ff2f28577acf4e2967e4e4184e | [
"MIT"
] | 1 | 2019-08-16T21:06:55.000Z | 2019-08-16T21:06:55.000Z | tests/dummy/mirage/serializers/application.js | sirvine/ember-cli-mirage | 356444ac700d14ff2f28577acf4e2967e4e4184e | [
"MIT"
] | 3 | 2022-01-13T08:40:46.000Z | 2022-01-17T08:34:29.000Z | tests/dummy/mirage/serializers/application.js | sirvine/ember-cli-mirage | 356444ac700d14ff2f28577acf4e2967e4e4184e | [
"MIT"
] | 3 | 2017-12-07T16:44:50.000Z | 2021-07-02T14:35:05.000Z | import ActiveModelSerializer from 'ember-cli-mirage/serializers/active-model-serializer';
export default ActiveModelSerializer;
| 32.25 | 89 | 0.860465 |
a115b160ffd7b7de0cba8e2d4702679740a0d8d8 | 1,699 | ts | TypeScript | packages/platform-koa/src/services/PlatformKoaRouter.ts | dvarnai/tsed | 16233f8140cca75603a7ab6652e8691bca5c99d9 | [
"MIT"
] | null | null | null | packages/platform-koa/src/services/PlatformKoaRouter.ts | dvarnai/tsed | 16233f8140cca75603a7ab6652e8691bca5c99d9 | [
"MIT"
] | 2 | 2021-04-28T15:27:06.000Z | 2021-04-28T15:31:01.000Z | packages/platform-koa/src/services/PlatformKoaRouter.ts | dvarnai/tsed | 16233f8140cca75603a7ab6652e8691bca5c99d9 | [
"MIT"
] | null | null | null | import * as KoaRouter from "@koa/router";
import {RouterOptions as KoaRouterOptions} from "@koa/router";
import {
PLATFORM_ROUTER_OPTIONS,
PlatformHandler,
PlatformMulter,
PlatformMulterSettings,
PlatformRouter,
PlatformStaticsOptions
} from "@tsed/common";
import {Configuration, Inject} from "@tsed/di";
i... | 25.742424 | 86 | 0.716892 |
fb552671870643c87f984fb2eacbd3c611d96407 | 693 | asm | Assembly | oeis/176/A176370.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/176/A176370.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/176/A176370.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A176370: x-values in the solution to x^2 - 66*y^2 = 1.
; Submitted by Christian Krause
; 1,65,8449,1098305,142771201,18559157825,2412547746049,313612647828545,40767231669964801,5299426504447595585,688884678346517461249,89549708758542822366785,11640773253932220390220801,1513210973302430107906337345,1967057857560619818... | 38.5 | 470 | 0.828283 |
7592dd272d05a9fffbe7bb81aa4b69ec3644bb19 | 22,034 | css | CSS | public/stylesheet/stylesheet.css | gousea/albertatempcustomer | cd0f4ebf6480d42a71b6829a5eff42a754b6b8be | [
"MIT"
] | null | null | null | public/stylesheet/stylesheet.css | gousea/albertatempcustomer | cd0f4ebf6480d42a71b6829a5eff42a754b6b8be | [
"MIT"
] | 1 | 2021-04-28T11:03:55.000Z | 2021-04-28T11:03:55.000Z | public/stylesheet/stylesheet.css | gousea/albertatempcustomer | cd0f4ebf6480d42a71b6829a5eff42a754b6b8be | [
"MIT"
] | null | null | null | /*@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,greek-ext,vietnamese);*/
html, body {
height: 100%;
margin: 0;
padding: 0;
font-family: 'Open Sans', sans-serif;
font-size: 12px;
color: #666666;
text-renderin... | 18.962134 | 231 | 0.659027 |
2c97f8e2bdebb03ebf21a60a2d0f25469c162150 | 2,018 | py | Python | toggltrack.py | misson3/mobile-away | 68671dabe84a1ee2b454611629e014054ee97739 | [
"MIT"
] | null | null | null | toggltrack.py | misson3/mobile-away | 68671dabe84a1ee2b454611629e014054ee97739 | [
"MIT"
] | null | null | null | toggltrack.py | misson3/mobile-away | 68671dabe84a1ee2b454611629e014054ee97739 | [
"MIT"
] | null | null | null | # ========================================================== this is for GitHub
# Nov24, 2021, ms
# toggltrack.py
# functions for toggl API
# import adafruit_requests as requests
import json
def startTimeEntry(requests, desc, pid, wid, auth):
"""
desc: description for the entry
pid: project id
wid: ... | 25.225 | 79 | 0.553023 |
6b70d200ebe662cc30d0e4dbe912b47cb1c83b2b | 117 | js | JavaScript | Documentation/search--/s_316.js | NHSDigital/MauroTemplateManager | a1acea477f385eac0fd6aca321e46da9e350d80c | [
"MIT"
] | 1 | 2020-10-27T10:14:22.000Z | 2020-10-27T10:14:22.000Z | Documentation/search--/s_316.js | NHSDigital/MauroTemplateManager | a1acea477f385eac0fd6aca321e46da9e350d80c | [
"MIT"
] | 4 | 2020-10-28T13:36:06.000Z | 2020-10-30T08:06:38.000Z | Documentation/search--/s_316.js | NHSDigital/MauroTemplateManager | a1acea477f385eac0fd6aca321e46da9e350d80c | [
"MIT"
] | 2 | 2020-10-27T10:14:24.000Z | 2021-04-11T07:33:40.000Z | search_result['316']=["frlrfMauroDataModellerMauroModelPostResponseClassTopic_vars--.html","PostResponse Fields",""]; | 117 | 117 | 0.82906 |
c6b1a8d5a063816aac0ae6a76851b33a16661b1a | 461 | py | Python | src/openprocurement/tender/location/tests/tender.py | BohdanBorkivskyi/openprocurement.api | 9f4134a15243f8a82a28de72c5ffac6f16e7f06b | [
"Apache-2.0"
] | null | null | null | src/openprocurement/tender/location/tests/tender.py | BohdanBorkivskyi/openprocurement.api | 9f4134a15243f8a82a28de72c5ffac6f16e7f06b | [
"Apache-2.0"
] | null | null | null | src/openprocurement/tender/location/tests/tender.py | BohdanBorkivskyi/openprocurement.api | 9f4134a15243f8a82a28de72c5ffac6f16e7f06b | [
"Apache-2.0"
] | null | null | null | import unittest
from copy import deepcopy
from openprocurement.api.tests.base import snitch
from openprocurement.tender.location.tests.base import test_tender_data, BaseApiWebTest
from openprocurement.tender.location.tests.tender_blanks import create_tender
tender_data = deepcopy(test_tender_data)
class TenderTest(... | 28.8125 | 87 | 0.81128 |
d68d733b2cda1ab0af00b83ab194b28629181b88 | 1,754 | cs | C# | src/MiniEngine.Graphics/Utilities/EnvironmentMapGenerator.cs | Magicianred/MiniRTS | 71a603cf3bdd8ff0006b1097a69e6205225be31d | [
"MIT"
] | 2 | 2021-04-08T00:56:51.000Z | 2021-06-02T08:00:43.000Z | src/MiniEngine.Graphics/Utilities/EnvironmentMapGenerator.cs | Magicianred/MiniRTS | 71a603cf3bdd8ff0006b1097a69e6205225be31d | [
"MIT"
] | null | null | null | src/MiniEngine.Graphics/Utilities/EnvironmentMapGenerator.cs | Magicianred/MiniRTS | 71a603cf3bdd8ff0006b1097a69e6205225be31d | [
"MIT"
] | null | null | null | using Microsoft.Xna.Framework.Graphics;
using MiniEngine.Configuration;
namespace MiniEngine.Graphics.Utilities
{
[Service]
public sealed class EnvironmentMapGenerator
{
private const int resolution = 512;
private readonly GraphicsDevice Device;
private readonly EnvironmentMapGene... | 37.319149 | 135 | 0.659635 |