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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
857a451c34ce94edb38b8e4b4ba609e8ec9ddf8d | 293 | js | JavaScript | jazelle/utils/get-registry-from-url.js | romaxa/fusionjs-public | ce2b75eb6b3fe01bec48ef28b39515b9cdcc0a4c | [
"MIT"
] | 3 | 2020-02-18T15:33:54.000Z | 2021-06-15T11:08:20.000Z | jazelle/utils/get-registry-from-url.js | romaxa/fusionjs-public | ce2b75eb6b3fe01bec48ef28b39515b9cdcc0a4c | [
"MIT"
] | null | null | null | jazelle/utils/get-registry-from-url.js | romaxa/fusionjs-public | ce2b75eb6b3fe01bec48ef28b39515b9cdcc0a4c | [
"MIT"
] | null | null | null | // @flow
/*::
export type GetRegistryFromUrl = (string) => string
*/
const getRegistryFromUrl /*: GetRegistryFromUrl */ = url => {
const match = url.match(/^https?:\/\/(.*?)\//);
if (Array.isArray(match)) {
return match[1];
}
return url;
};
module.exports = {getRegistryFromUrl};
| 20.928571 | 61 | 0.62116 |
ddd8f3aa30499c1002910b1be66ce767368afc69 | 1,844 | php | PHP | app/Order.php | simtj-tdi/dmp9backoffice | 807327e4ac1fae6ae6f8315d4b51a6a45cab8473 | [
"MIT"
] | null | null | null | app/Order.php | simtj-tdi/dmp9backoffice | 807327e4ac1fae6ae6f8315d4b51a6a45cab8473 | [
"MIT"
] | 3 | 2021-03-10T09:23:12.000Z | 2022-02-27T00:20:51.000Z | app/Order.php | simtj-tdi/dmp9backoffice | 807327e4ac1fae6ae6f8315d4b51a6a45cab8473 | [
"MIT"
] | null | null | null | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Parsedown;
class Order extends Model
{
protected $appends = ['new_date'];
CONST STATE_1 = 0; // ๊ฒฐ์ ์
CONST STATE_2 = 1; // ๊ฒฐ์ ์๋ฃ
CONST TAX_STATE_1 = 1; // ๊ณ์ฐ์ ์์ฒญ๊ฐ๋ฅ (๋ฏธ๋ฐํ)
CONST TAX_STATE_2 = 2; // ๊ณ์ฐ์ ์์ฒญ์ ์ฒญ (ํ์ธ์ค)
CONST... | 23.341772 | 69 | 0.533623 |
dd0d7c6dd7f0fcea8f87ebeb9896f9f54792b3fd | 985 | go | Go | leetcode/combination-sum-ii/solution.go | rtxu/cp | 16b8d6337e202f19ce75db644d4c54f4ef7baa32 | [
"MIT"
] | null | null | null | leetcode/combination-sum-ii/solution.go | rtxu/cp | 16b8d6337e202f19ce75db644d4c54f4ef7baa32 | [
"MIT"
] | null | null | null | leetcode/combination-sum-ii/solution.go | rtxu/cp | 16b8d6337e202f19ce75db644d4c54f4ef7baa32 | [
"MIT"
] | null | null | null | func backtrack(i int, current []int, nums, counts []int, target int, result *[][]int) {
if target == 0 {
currentCopy := make([]int, len(current))
copy(currentCopy, current)
*result = append(*result, currentCopy)
return
}
if i == len(nums) {
return
}
var ... | 28.142857 | 87 | 0.532995 |
48657a179dcafaacaa490463dfa2093438fcbe93 | 2,017 | kt | Kotlin | framework/src/main/kotlin/dev/alpas/http/middleware/VerifyCsrfToken.kt | SimoneStefani/alpas | b5e2346bc395d9025b8792a0f887bf192da21151 | [
"MIT"
] | null | null | null | framework/src/main/kotlin/dev/alpas/http/middleware/VerifyCsrfToken.kt | SimoneStefani/alpas | b5e2346bc395d9025b8792a0f887bf192da21151 | [
"MIT"
] | null | null | null | framework/src/main/kotlin/dev/alpas/http/middleware/VerifyCsrfToken.kt | SimoneStefani/alpas | b5e2346bc395d9025b8792a0f887bf192da21151 | [
"MIT"
] | null | null | null | package dev.alpas.http.middleware
import dev.alpas.Handler
import dev.alpas.Middleware
import dev.alpas.config
import dev.alpas.encryption.Encrypter
import dev.alpas.hashEquals
import dev.alpas.http.HttpCall
import dev.alpas.http.X_CSRF_TOKEN_KEY
import dev.alpas.http.X_XSRF_TOKEN_KEY
import dev.alpas.make
import dev.... | 32.532258 | 89 | 0.644026 |
564c003325a979c694fb559510df9ead2bab9c65 | 1,207 | kt | Kotlin | detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/style/LoopWithTooManyJumpStatementsSpec.kt | Jachu5/detekt | e7954db37470f869aa898726e3eef66c9efa4f01 | [
"Apache-2.0"
] | 1 | 2020-04-23T14:33:02.000Z | 2020-04-23T14:33:02.000Z | detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/style/LoopWithTooManyJumpStatementsSpec.kt | Jachu5/detekt | e7954db37470f869aa898726e3eef66c9efa4f01 | [
"Apache-2.0"
] | 1 | 2018-07-19T21:58:14.000Z | 2018-07-24T20:36:43.000Z | detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/style/LoopWithTooManyJumpStatementsSpec.kt | Jachu5/detekt | e7954db37470f869aa898726e3eef66c9efa4f01 | [
"Apache-2.0"
] | 2 | 2018-07-14T18:40:50.000Z | 2019-03-15T00:38:18.000Z | package io.gitlab.arturbosch.detekt.rules.style
import io.gitlab.arturbosch.detekt.rules.Case
import io.gitlab.arturbosch.detekt.test.TestConfig
import io.gitlab.arturbosch.detekt.test.lint
import org.assertj.core.api.Assertions.assertThat
import org.jetbrains.spek.api.dsl.given
import org.jetbrains.spek.api.dsl.it
im... | 35.5 | 86 | 0.788732 |
3450b52999f430a5b3b8ce5b41d5426aa1a4cd85 | 796 | swift | Swift | SignalKitTests/Extensions/UIKit/UITextFieldExtensionsTests.swift | yankodimitrov/SignalK | e0f946921793415ac8381fdb3b6a7bcc73efe1bf | [
"MIT"
] | 284 | 2015-07-17T21:36:46.000Z | 2022-03-15T12:07:31.000Z | SignalKitTests/Extensions/UIKit/UITextFieldExtensionsTests.swift | yankodimitrov/SignalK | e0f946921793415ac8381fdb3b6a7bcc73efe1bf | [
"MIT"
] | 19 | 2015-07-27T02:27:07.000Z | 2017-07-01T10:51:50.000Z | SignalKitTests/Extensions/UIKit/UITextFieldExtensionsTests.swift | yankodimitrov/SignalK | e0f946921793415ac8381fdb3b6a7bcc73efe1bf | [
"MIT"
] | 27 | 2015-07-20T06:54:26.000Z | 2021-12-25T14:28:46.000Z | //
// UITextFieldExtensionsTests.swift
// SignalKit
//
// Created by Yanko Dimitrov on 3/6/16.
// Copyright ยฉ 2016 Yanko Dimitrov. All rights reserved.
//
import XCTest
@testable import SignalKit
class UITextFieldExtensionsTests: XCTestCase {
var bag: DisposableBag!
override func setUp() {
... | 21.513514 | 88 | 0.589196 |
7a05abbaa2f3ed0b991bf705574c46f9756c0dc5 | 492 | rb | Ruby | lib/brick_ftp/restful_api/create_folder.rb | dailypay/brick_ftp | 181e9a963a3ba5c7790ee3cef6f9b87152f276fa | [
"MIT"
] | 18 | 2016-10-04T09:02:35.000Z | 2019-11-08T07:36:31.000Z | lib/brick_ftp/restful_api/create_folder.rb | dailypay/brick_ftp | 181e9a963a3ba5c7790ee3cef6f9b87152f276fa | [
"MIT"
] | 55 | 2016-10-02T11:26:22.000Z | 2021-09-16T02:47:00.000Z | lib/brick_ftp/restful_api/create_folder.rb | dailypay/brick_ftp | 181e9a963a3ba5c7790ee3cef6f9b87152f276fa | [
"MIT"
] | 6 | 2016-11-11T06:25:01.000Z | 2019-12-26T15:26:02.000Z | # frozen_string_literal: true
require 'erb'
module BrickFTP
module RESTfulAPI
# Create a folder
#
# @see https://developers.files.com/#create-a-folder Create a folder
#
class CreateFolder
include Command
# Creates a folder.
#
# @param [String] path
# @return [Brick... | 18.923077 | 73 | 0.601626 |
2602eca239ac1507dd53509d59e31b0029d97128 | 3,056 | java | Java | src/test/java/com/alexrnl/commons/translation/TranslatorTest.java | AlexRNL/Commons | e65e42f3649d6381a6f644beb03304c2ae4ad524 | [
"BSD-3-Clause"
] | 1 | 2015-04-03T00:25:56.000Z | 2015-04-03T00:25:56.000Z | src/test/java/com/alexrnl/commons/translation/TranslatorTest.java | AlexRNL/Commons | e65e42f3649d6381a6f644beb03304c2ae4ad524 | [
"BSD-3-Clause"
] | null | null | null | src/test/java/com/alexrnl/commons/translation/TranslatorTest.java | AlexRNL/Commons | e65e42f3649d6381a6f644beb03304c2ae4ad524 | [
"BSD-3-Clause"
] | 2 | 2015-04-03T00:25:58.000Z | 2019-04-23T03:47:15.000Z | package com.alexrnl.commons.translation;
import static org.junit.Assert.assertEquals;
import java.net.URISyntaxException;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import org.junit.Before;
import org.junit.Test;
/**
* Test suite for the {@link T... | 30.868687 | 106 | 0.705825 |
85d31e25728e984102bbb51f87556c33ee5e6413 | 14,155 | c | C | ruby-1.8.7/random.c | RGSS3/reruby | cb3301ae28316f67cebbff95ce539e67b0b12c1d | [
"Ruby",
"MIT"
] | 5 | 2019-04-16T09:04:33.000Z | 2022-01-13T11:14:40.000Z | ruby-1.8.7/random.c | RGSS3/reruby | cb3301ae28316f67cebbff95ce539e67b0b12c1d | [
"Ruby",
"MIT"
] | null | null | null | ruby-1.8.7/random.c | RGSS3/reruby | cb3301ae28316f67cebbff95ce539e67b0b12c1d | [
"Ruby",
"MIT"
] | 2 | 2021-02-11T16:51:15.000Z | 2021-05-16T03:45:30.000Z | /**********************************************************************
random.c -
$Author: knu $
$Date: 2008-04-14 19:52:17 +0900 (Mon, 14 Apr 2008) $
created at: Fri Dec 24 16:39:21 JST 1993
Copyright (C) 1993-2003 Yukihiro Matsumoto
**********************************************************************... | 28.480885 | 103 | 0.572024 |
e44260e7e4fcd0e00fb1aeb8d6b25804c60b84b2 | 481 | lua | Lua | spec/lua/test_params_pass_struct.lua | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 11 | 2018-04-01T03:58:15.000Z | 2021-08-14T09:04:55.000Z | spec/lua/test_params_pass_struct.lua | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 73 | 2016-07-20T10:27:15.000Z | 2020-12-17T18:56:46.000Z | spec/lua/test_params_pass_struct.lua | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 37 | 2016-08-15T08:25:56.000Z | 2021-08-28T14:48:46.000Z | -- Autogenerated from KST: please remove this line if doing any edits by hand!
local luaunit = require("luaunit")
require("params_pass_struct")
TestParamsPassStruct = {}
function TestParamsPassStruct:test_params_pass_struct()
local r = ParamsPassStruct:from_file("src/enum_negative.bin")
luaunit.assertEqual... | 28.294118 | 78 | 0.756757 |
135781d5e717a9ead9b74f5a93f38a91ff03efda | 1,600 | h | C | QMUIKit/UIKitExtensions/UIVisualEffectView+QMUI.h | charles0126dev/QMUI_iOS | d3a84c9df0d8f9a40a9962504b14bae3d80b7141 | [
"MIT-0",
"MIT"
] | 15 | 2020-05-01T18:29:31.000Z | 2021-08-29T16:33:30.000Z | Pods/QMUIKit/QMUIKit/UIKitExtensions/UIVisualEffectView+QMUI.h | fanyuecheng/kona | a05a05171c4480902cdc5b946303c0429d4b6e84 | [
"MIT"
] | 14 | 2021-05-01T05:14:29.000Z | 2022-03-08T16:51:20.000Z | Pods/QMUIKit/QMUIKit/UIKitExtensions/UIVisualEffectView+QMUI.h | fanyuecheng/kona | a05a05171c4480902cdc5b946303c0429d4b6e84 | [
"MIT"
] | 1 | 2022-01-03T02:31:06.000Z | 2022-01-03T02:31:06.000Z | /**
* Tencent is pleased to support the open source community by making QMUI_iOS available.
* Copyright (C) 2016-2021 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of th... | 48.484848 | 308 | 0.813125 |
f716419fa16d80a5cc5321385afa082a825d8789 | 5,280 | c | C | source/matrix/jit.glue/jit.glue.c | maevagrondin/max_externals | 9083d877c0091077f823aa42665209050f4ebfde | [
"MIT"
] | 175 | 2015-05-11T05:06:59.000Z | 2022-03-31T11:08:33.000Z | source/matrix/jit.glue/jit.glue.c | maevagrondin/max_externals | 9083d877c0091077f823aa42665209050f4ebfde | [
"MIT"
] | 53 | 2015-09-24T06:54:07.000Z | 2021-11-30T05:58:34.000Z | source/matrix/jit.glue/jit.glue.c | maevagrondin/max_externals | 9083d877c0091077f823aa42665209050f4ebfde | [
"MIT"
] | 52 | 2015-06-10T11:16:03.000Z | 2022-03-29T01:48:59.000Z | /*
Copyright 2001 - Cycling '74
R. Luke DuBois luke@music.columbia.edu
*/
#include "jit.common.h"
typedef struct _jit_glue
{
t_object ob;
long rows;
long cols;
long input;
} t_jit_glue;
void *_jit_glue_class;
t_jit_glue *jit_glue_new(void);
void jit_glue_free(t_jit_glue *x);
t_jit_err jit_glu... | 27.357513 | 247 | 0.737689 |
478240c6285a65668cf9f150322313a64b656092 | 1,602 | html | HTML | graffiti/ex3.html | wooseok0727/Biz_403_2021_05_HTML | c2773fbf830ecd367ee42a4f7e562e18c287ceb7 | [
"Apache-2.0"
] | null | null | null | graffiti/ex3.html | wooseok0727/Biz_403_2021_05_HTML | c2773fbf830ecd367ee42a4f7e562e18c287ceb7 | [
"Apache-2.0"
] | null | null | null | graffiti/ex3.html | wooseok0727/Biz_403_2021_05_HTML | c2773fbf830ecd367ee42a4f7e562e18c287ceb7 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title></title>
</head>
<style>
* {
margin: 0;
padding: 0;
}
.world {
back... | 22.56338 | 76 | 0.532459 |
88c389957fa2264f0f3d3fcd90e50329ebc636ad | 11,370 | kt | Kotlin | app/src/main/java/mustafaozhan/github/com/mycurrencies/main/fragment/MainFragment.kt | aggarwalpulkit596/androidCCC | 8d861e59907b28929d06f05cf7d3fd21361ecec3 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/mustafaozhan/github/com/mycurrencies/main/fragment/MainFragment.kt | aggarwalpulkit596/androidCCC | 8d861e59907b28929d06f05cf7d3fd21361ecec3 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/mustafaozhan/github/com/mycurrencies/main/fragment/MainFragment.kt | aggarwalpulkit596/androidCCC | 8d861e59907b28929d06f05cf7d3fd21361ecec3 | [
"Apache-2.0"
] | 2 | 2019-11-20T17:50:51.000Z | 2020-09-17T17:04:44.000Z | package mustafaozhan.github.com.mycurrencies.main.fragment
import android.annotation.SuppressLint
import android.os.Bundle
import android.view.View
import androidx.lifecycle.Observer
import androidx.recyclerview.widget.LinearLayoutManager
import com.jakewharton.rxbinding2.widget.textChanges
import io.reactivex.rxkotli... | 41.648352 | 120 | 0.656464 |
9c5992a12c1f3355f1e8b71a88cea6ba1c77f983 | 3,580 | js | JavaScript | app/renderer/components/Icon/Cog.js | jamesmacfie/drona | f0321ba4cda755de82a7033bdaa21eceb9a88e86 | [
"MIT"
] | null | null | null | app/renderer/components/Icon/Cog.js | jamesmacfie/drona | f0321ba4cda755de82a7033bdaa21eceb9a88e86 | [
"MIT"
] | 1 | 2018-05-20T22:18:35.000Z | 2018-05-20T22:50:34.000Z | app/renderer/components/Icon/Cog.js | jamesmacfie/drona | f0321ba4cda755de82a7033bdaa21eceb9a88e86 | [
"MIT"
] | null | null | null | import React, { PropTypes, Component } from 'react';
export default class Cog extends Component {
render() {
const size = this.props.size;
return (<svg version="1.1" width={size} height={size} x="0px" y="0px" viewBox={`0 0 50 50`} >
<path d="M47.826,19.92l-2.37-0.594c-0.489-1.824-1.213-3.553-2.141-5.149l1.262... | 83.255814 | 131 | 0.657542 |
00cb361df99516a812d2ab1c40c5864bcc67f2bf | 1,632 | kt | Kotlin | Room/app/src/main/java/com/ko/room/AddActivity.kt | terracotta-ko/Android_Treasure_House | 098d5844fb68cac5ed22fa79370de91e93551227 | [
"MIT"
] | 3 | 2017-07-08T08:48:31.000Z | 2022-03-09T07:22:48.000Z | Room/app/src/main/java/com/ko/room/AddActivity.kt | terracotta-ko/Android_Treasure_House | 098d5844fb68cac5ed22fa79370de91e93551227 | [
"MIT"
] | null | null | null | Room/app/src/main/java/com/ko/room/AddActivity.kt | terracotta-ko/Android_Treasure_House | 098d5844fb68cac5ed22fa79370de91e93551227 | [
"MIT"
] | null | null | null | package com.ko.room
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.ko.room.data.UserDao
import com.ko.room.data.UserDatabaseProvider
import com.ko.room.data.UserEntity
import kotlinx.android.synthetic.main.activity_add.*
import kotlinx.coroutines.CoroutineScope
import kotlinx.corou... | 30.222222 | 71 | 0.653186 |
506b70feaa54e921daf93f0b68fb4897f971c395 | 2,469 | go | Go | http-utils.go | CzarSimon/go-util | 5db483fbbe25cfa8196eaa43f05f36e857165d8b | [
"MIT"
] | null | null | null | http-utils.go | CzarSimon/go-util | 5db483fbbe25cfa8196eaa43f05f36e857165d8b | [
"MIT"
] | null | null | null | http-utils.go | CzarSimon/go-util | 5db483fbbe25cfa8196eaa43f05f36e857165d8b | [
"MIT"
] | null | null | null | package util
import (
"encoding/json"
"errors"
"fmt"
"net/http"
)
// StatusOK The status 200 return message
const StatusOK string = "200 - OK"
// StatusUnauthorized The status 401 return message
const StatusUnauthorized string = "401 - Unauthorized"
//SendPlainTextRes sends a plain text message given as an inpu... | 26.836957 | 87 | 0.745241 |
4cd74824a6ebac41e291d82aa2a1556e73bf5e58 | 12,566 | swift | Swift | Clubber/AppDelegate.swift | TTVS/NightOut | 6843bf4f688970a164550f7944a55f1d9c813797 | [
"Apache-2.0"
] | 1 | 2019-04-02T15:57:43.000Z | 2019-04-02T15:57:43.000Z | Clubber/AppDelegate.swift | TTVS/NightOut | 6843bf4f688970a164550f7944a55f1d9c813797 | [
"Apache-2.0"
] | null | null | null | Clubber/AppDelegate.swift | TTVS/NightOut | 6843bf4f688970a164550f7944a55f1d9c813797 | [
"Apache-2.0"
] | 1 | 2016-12-30T21:53:15.000Z | 2016-12-30T21:53:15.000Z | //
// AppDelegate.swift
// Clubber
//
// Created by Alireza Samar on 5/8/15.
// Copyright (c) 2015 Dino Media Asia. All rights reserved.
//
import UIKit
import CoreData
import FBSDKCoreKit
//import AFNetworking
//import Alamofire
//import FastImageCache
@UIApplicationMain
class AppDelegate: UIResponder, UIApplica... | 51.711934 | 290 | 0.686535 |
22e02e6745dfba3736c8140d656d469eada50ca0 | 776 | h | C | include/sgviewcamera.h | 7956968/sg-lite | 11dee4e8746a4f13c060e32ac375a984e48bc7d4 | [
"MIT"
] | 1 | 2021-04-29T03:50:25.000Z | 2021-04-29T03:50:25.000Z | src/sgviewcamera.h | 7956968/sg-lite | 11dee4e8746a4f13c060e32ac375a984e48bc7d4 | [
"MIT"
] | null | null | null | src/sgviewcamera.h | 7956968/sg-lite | 11dee4e8746a4f13c060e32ac375a984e48bc7d4 | [
"MIT"
] | null | null | null | #ifndef SGVIEWCAMERA_H
#define SGVIEWCAMERA_H
#include "sgstruct.h"
#include "sgglobal.h"
class SGViewCameraPrivate;
class SG_DECL_EXPORT SGViewCamera
{
SG_DECLARE_PRIVATE(SGViewCamera);
friend class SGView;
public:
SGViewCamera();
~SGViewCamera();
void moveCenter();
void move(float x, float y... | 22.171429 | 73 | 0.704897 |
99667c83ab00641ac0b10999a82c5eeb84400ca8 | 6,927 | h | C | iOS/RCUniIM/RCUniIM/frameworks/RongIMLibCore.xcframework/ios-i386_x86_64-simulator/RongIMLibCore.framework/Headers/RCMessage.h | daoshengtech/rongcloud-uniapp-imlib | b3d2ebb6721815bf49cfee77695f813a33b2997a | [
"MIT"
] | 1 | 2022-03-31T05:48:24.000Z | 2022-03-31T05:48:24.000Z | iOS/RCUniIM/RCUniIM/frameworks/RongIMLibCore.xcframework/ios-i386_x86_64-simulator/RongIMLibCore.framework/Headers/RCMessage.h | daoshengtech/rongcloud-uniapp-imlib | b3d2ebb6721815bf49cfee77695f813a33b2997a | [
"MIT"
] | 1 | 2021-11-24T10:30:37.000Z | 2021-11-24T11:11:41.000Z | iOS/RCUniIM/RCUniIM/frameworks/RongIMLibCore.xcframework/ios-i386_x86_64-simulator/RongIMLibCore.framework/Headers/RCMessage.h | daoshengtech/rongcloud-uniapp-imlib | b3d2ebb6721815bf49cfee77695f813a33b2997a | [
"MIT"
] | 5 | 2021-09-15T05:21:02.000Z | 2022-03-31T05:48:34.000Z | /**
* Copyright (c) 2014-2015, RongCloud.
* All rights reserved.
*
* All the contents are the copyright of RongCloud Network Technology Co.Ltd.
* Unless otherwise credited. http://rongcloud.cn
*
*/
// RCMessage.h
// Created by Heq.Shinoda on 14-6-13.
#ifndef __RCMessage
#define __RCMessage
#import "RCMessage... | 23.323232 | 237 | 0.720225 |
0eeb638eab9c5769ba22842ab3a4deaa894bfaef | 224 | c | C | 99_pta/05/05_03_sum_a_continuity.c | ysl970629/C-language-study | 80baf0e608bb3a72a89751e172752a2d83149e02 | [
"MIT"
] | 1 | 2022-03-29T16:34:44.000Z | 2022-03-29T16:34:44.000Z | 99_pta/05/05_03_sum_a_continuity.c | ysl970629/C-language-study | 80baf0e608bb3a72a89751e172752a2d83149e02 | [
"MIT"
] | null | null | null | 99_pta/05/05_03_sum_a_continuity.c | ysl970629/C-language-study | 80baf0e608bb3a72a89751e172752a2d83149e02 | [
"MIT"
] | null | null | null | #include <stdio.h>
//ๆฑa็่ฟ็ปญๅ
int main()
{
int a, n;
scanf("%d %d", &a, &n);
int sum = 0;
int i;
int t = 0;
for (i = 0; i < n; i++)
{
t = t * 10 + a;
sum += t;
}
return 0;
} | 13.176471 | 27 | 0.357143 |
7d60691c120f3601f9784bb2897b735d380545bf | 1,636 | html | HTML | server/djangoapp/templates/djangoapp/contact.html | raylaw8/agfzb-CloudAppDevelopment_Capstone | 16d52d030bf924d6143ec7c7f8470d0d46aec05e | [
"Apache-2.0"
] | null | null | null | server/djangoapp/templates/djangoapp/contact.html | raylaw8/agfzb-CloudAppDevelopment_Capstone | 16d52d030bf924d6143ec7c7f8470d0d46aec05e | [
"Apache-2.0"
] | null | null | null | server/djangoapp/templates/djangoapp/contact.html | raylaw8/agfzb-CloudAppDevelopment_Capstone | 16d52d030bf924d6143ec7c7f8470d0d46aec05e | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dealership Review</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.... | 54.533333 | 195 | 0.653423 |
e8eedc51b24c6143d7853efa95a31479c5ffbbd9 | 2,645 | py | Python | tests/commands/test_generate.py | pedrovelho/camp | 98105c9054b8db3377cb6a06e7b5451b97c6c285 | [
"MIT"
] | null | null | null | tests/commands/test_generate.py | pedrovelho/camp | 98105c9054b8db3377cb6a06e7b5451b97c6c285 | [
"MIT"
] | null | null | null | tests/commands/test_generate.py | pedrovelho/camp | 98105c9054b8db3377cb6a06e7b5451b97c6c285 | [
"MIT"
] | 1 | 2019-02-05T08:49:41.000Z | 2019-02-05T08:49:41.000Z | #
# CAMP
#
# Copyright (C) 2017, 2018 SINTEF Digital
# All rights reserved.
#
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE file for details.
#
from unittest import TestCase
from camp.commands import Command, Generate
class DefaultValuesAreCorrect(TestCase... | 25.190476 | 63 | 0.689981 |
132a9402eddd52182e534d419d8db3dc7a7e630c | 1,412 | h | C | src/asn/rrc/ASN_RRC_FreqBandInformationNR.h | aligungr/ue-ran-sim | 564f9d228723f03adfa2b02df2ea019bdf305085 | [
"MIT"
] | 16 | 2020-04-16T02:07:37.000Z | 2020-07-23T10:48:27.000Z | src/asn/rrc/ASN_RRC_FreqBandInformationNR.h | aligungr/ue-ran-sim | 564f9d228723f03adfa2b02df2ea019bdf305085 | [
"MIT"
] | 8 | 2020-07-13T17:11:35.000Z | 2020-08-03T16:46:31.000Z | src/asn/rrc/ASN_RRC_FreqBandInformationNR.h | aligungr/ue-ran-sim | 564f9d228723f03adfa2b02df2ea019bdf305085 | [
"MIT"
] | 9 | 2020-03-04T15:05:08.000Z | 2020-07-30T06:18:18.000Z | /*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NR-RRC-Definitions"
* found in "asn/nr-rrc-15.6.0.asn1"
* `asn1c -fcompound-names -pdu=all -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example -D rrc`
*/
#ifndef _ASN_RRC_FreqBandInformationNR_H_
#define _ASN_RRC... | 30.042553 | 117 | 0.800992 |
b91ff8cc56bbb99ccadcf34b30ae051fc88b528a | 1,649 | c | C | netwhat_trainning/ft_timer.c | jteixeir/42_netwhat | 0e4e7c4ea85702aa55608077f5684452efa5e375 | [
"MIT"
] | 10 | 2020-05-08T20:24:52.000Z | 2020-07-03T17:23:14.000Z | netwhat_trainning/ft_timer.c | jteixeir/42_netwhat | 0e4e7c4ea85702aa55608077f5684452efa5e375 | [
"MIT"
] | null | null | null | netwhat_trainning/ft_timer.c | jteixeir/42_netwhat | 0e4e7c4ea85702aa55608077f5684452efa5e375 | [
"MIT"
] | 1 | 2020-05-08T20:24:56.000Z | 2020-05-08T20:24:56.000Z | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_timer.c :+: :+: :+: ... | 35.847826 | 99 | 0.272286 |
b8e50948835532faeaa43ecacfdae867e8099952 | 11,509 | sql | SQL | html5_javascript/kemal_server/db/init.sql | jacob-willden/sensible-cinema | 38f850dcc2a0f02e37039b7f2b433945a1d67015 | [
"Info-ZIP"
] | null | null | null | html5_javascript/kemal_server/db/init.sql | jacob-willden/sensible-cinema | 38f850dcc2a0f02e37039b7f2b433945a1d67015 | [
"Info-ZIP"
] | null | null | null | html5_javascript/kemal_server/db/init.sql | jacob-willden/sensible-cinema | 38f850dcc2a0f02e37039b7f2b433945a1d67015 | [
"Info-ZIP"
] | null | null | null | -- reverse order here
drop table if exists tag_edit_list_to_tag;
drop table if exists tag_edit_list;
drop table if exists tags;
drop table if exists edits;
drop table if exists urls;
drop table if exists users;
CREATE TABLE urls (
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
url VARCHAR(1024) NOT NUL... | 55.599034 | 205 | 0.765835 |
b35a8eec17dd3109a6ad8765f3676edda814f70b | 625 | swift | Swift | 167. Two Sum II - Input array is sorted/Solution.swift | icylydia/PlayWithLeetCode | 63651e7832277147751b14c5e19e3935e96e8f35 | [
"MIT"
] | null | null | null | 167. Two Sum II - Input array is sorted/Solution.swift | icylydia/PlayWithLeetCode | 63651e7832277147751b14c5e19e3935e96e8f35 | [
"MIT"
] | null | null | null | 167. Two Sum II - Input array is sorted/Solution.swift | icylydia/PlayWithLeetCode | 63651e7832277147751b14c5e19e3935e96e8f35 | [
"MIT"
] | null | null | null | class Solution {
func twoSum(_ numbers: [Int], _ target: Int) -> [Int] {
for idx in 0..<numbers.count {
let cand = numbers[idx]
var st = idx + 1
var ed = numbers.count - 1
if cand + numbers[ed] < target {
continue
}
if st == ed {
return [idx + 1, st + 1]
}
while st < ed {
if ca... | 20.833333 | 59 | 0.48 |
57669fa86085fd302905766cf9edfd4d9f5ac81e | 440 | h | C | src/compiler/codegen/operators.h | laleksiunas/leg-language | e34aee17ddacaf9e1a5010014afb363d70d762df | [
"MIT"
] | null | null | null | src/compiler/codegen/operators.h | laleksiunas/leg-language | e34aee17ddacaf9e1a5010014afb363d70d762df | [
"MIT"
] | null | null | null | src/compiler/codegen/operators.h | laleksiunas/leg-language | e34aee17ddacaf9e1a5010014afb363d70d762df | [
"MIT"
] | null | null | null | #pragma once
namespace codegen::operators {
const auto Plus = "+";
const auto Minus = "-";
const auto Multiply = "*";
const auto Divide = "/";
const auto Modulus = "%";
const auto And = "&&";
const auto Or = "||";
const auto Equal = "==";
const auto NotEqual = "!=";
const auto G... | 24.444444 | 36 | 0.545455 |
5ee19acb134627898d57ead50da835932c9c36b2 | 10,624 | asm | Assembly | dino/lcs/123p/10.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | 6 | 2020-10-14T15:29:10.000Z | 2022-02-12T18:58:54.000Z | dino/lcs/123p/10.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | null | null | null | dino/lcs/123p/10.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | 1 | 2020-12-17T08:59:10.000Z | 2020-12-17T08:59:10.000Z | copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
001036 move.w ($10,A0), D2 [123p+ 8]
00103A moveq #$0, D0 [123p+ 10]
001702 add.w ($10,A6), D1 [123p+ C, enemy+ C, item+ C]
001706 tst.b ($4dc,A5) [123p+ 10, enemy+10, item+10]
0018DA add.l D0, ($... | 42.496 | 350 | 0.585279 |
b148e6991920f8cbbbce05c3e2e53d2c544e7140 | 4,452 | css | CSS | assets/css/halaman_utama/halaman_utama.css | aldenaoktavian/futsalyuk | 0fdfecc82b5760a40ee000ba346a9e593223e19c | [
"MIT"
] | null | null | null | assets/css/halaman_utama/halaman_utama.css | aldenaoktavian/futsalyuk | 0fdfecc82b5760a40ee000ba346a9e593223e19c | [
"MIT"
] | null | null | null | assets/css/halaman_utama/halaman_utama.css | aldenaoktavian/futsalyuk | 0fdfecc82b5760a40ee000ba346a9e593223e19c | [
"MIT"
] | null | null | null | .hero-img {
height: 500px;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.search-box-wrapper {
padding: 25px;
}
.btn-book {
text-align: center;
background-color: #1ebab8;
border-radius: 80px 0 0 0;
font-weight: 600;
font-size: 15px;
... | 25.734104 | 251 | 0.627808 |
7f65ad45f001dc2e281c14b2ce89ef9a99fdcb25 | 7,327 | go | Go | server/welcomebot.go | mattermost/mattermost-plugin-welcomebot | f122372f97a3a8f0615d5054dda3196e7c62a048 | [
"Apache-2.0"
] | 45 | 2018-09-15T12:34:37.000Z | 2022-03-16T08:20:12.000Z | server/welcomebot.go | mattermost/mattermost-plugin-welcomebot | f122372f97a3a8f0615d5054dda3196e7c62a048 | [
"Apache-2.0"
] | 67 | 2018-10-23T17:52:24.000Z | 2022-03-14T11:01:46.000Z | server/welcomebot.go | mattermost/mattermost-plugin-welcomebot | f122372f97a3a8f0615d5054dda3196e7c62a048 | [
"Apache-2.0"
] | 39 | 2018-10-18T08:09:00.000Z | 2022-01-24T05:22:26.000Z | package main
import (
"bytes"
"fmt"
"html/template"
"strings"
"time"
"github.com/mattermost/mattermost-server/v6/model"
)
func (p *Plugin) constructMessageTemplate(userID, teamID string) *MessageTemplate {
data := &MessageTemplate{}
var err *model.AppError
if len(userID) > 0 {
if data.User, err = p.API.G... | 30.529167 | 172 | 0.706155 |
3eea2d94177df6bbfa5eb50403832bda38c5fe7a | 1,451 | h | C | die-tk/components/ImageCanvas.h | thinlizzy/die-tk | eba597d9453318b03e44f15753323be80ecb3a4e | [
"Artistic-2.0"
] | 11 | 2015-11-06T01:35:35.000Z | 2021-05-01T18:34:50.000Z | die-tk/components/ImageCanvas.h | thinlizzy/die-tk | eba597d9453318b03e44f15753323be80ecb3a4e | [
"Artistic-2.0"
] | null | null | null | die-tk/components/ImageCanvas.h | thinlizzy/die-tk | eba597d9453318b03e44f15753323be80ecb3a4e | [
"Artistic-2.0"
] | 2 | 2017-07-06T16:05:51.000Z | 2019-07-04T01:17:15.000Z | #ifndef IMAGE_CANVAS_H_DIE_TK_2019_06_25
#define IMAGE_CANVAS_H_DIE_TK_2019_06_25
#include "../Canvas.h"
#include "Image.h"
namespace tk {
class ImageCanvas: public Canvas {
public:
static std::shared_ptr<ImageCanvas> create(tk::WDims dims, bool transparent = false);
void translate(Point p) override;
void clearT... | 36.275 | 122 | 0.757409 |
d2b04ea538b7f5546dde4a1f3f4cb4ac8d3d18e3 | 1,805 | php | PHP | app/Http/Controllers/UserController.php | jakir12/CAMStest | 312743e0906e02dd8a440d039ee72b3cb6de4fdf | [
"MIT"
] | null | null | null | app/Http/Controllers/UserController.php | jakir12/CAMStest | 312743e0906e02dd8a440d039ee72b3cb6de4fdf | [
"MIT"
] | null | null | null | app/Http/Controllers/UserController.php | jakir12/CAMStest | 312743e0906e02dd8a440d039ee72b3cb6de4fdf | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Auth;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;
use App\User;
use Session;
use DB;
class UserController extends Controller
{
public function index(){
$user_type = Auth::user()->user_type;
$i... | 26.940299 | 92 | 0.547368 |
fb5e34f8d54ff27ad075a4171986e9120a1e6349 | 5,142 | c | C | third_party/NordicSemiconductor/drivers/radio/mac_features/nrf_802154_delayed_trx.c | e-rk/openthread | e18877210ac9a74f93786c74ae654233928c2b0c | [
"BSD-3-Clause"
] | 1 | 2017-03-16T08:34:21.000Z | 2017-03-16T08:34:21.000Z | third_party/NordicSemiconductor/drivers/radio/mac_features/nrf_802154_delayed_trx.c | e-rk/openthread | e18877210ac9a74f93786c74ae654233928c2b0c | [
"BSD-3-Clause"
] | 2 | 2017-03-23T07:47:54.000Z | 2017-08-21T03:12:31.000Z | third_party/NordicSemiconductor/drivers/radio/mac_features/nrf_802154_delayed_trx.c | e-rk/openthread | e18877210ac9a74f93786c74ae654233928c2b0c | [
"BSD-3-Clause"
] | 3 | 2018-03-14T10:33:34.000Z | 2018-09-11T11:04:21.000Z | /* Copyright (c) 2018, Nordic Semiconductor ASA
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* l... | 30.607143 | 100 | 0.640218 |
187b01f12b3c2802bfdab4c9b237159429526936 | 124 | rb | Ruby | lib/rssbridge/bridge/amiami/version.rb | Quintasan/rssbridge-bridge-amiami | 1b6ee8f702231fcb1472979bb486d5eedd4c0258 | [
"MIT"
] | null | null | null | lib/rssbridge/bridge/amiami/version.rb | Quintasan/rssbridge-bridge-amiami | 1b6ee8f702231fcb1472979bb486d5eedd4c0258 | [
"MIT"
] | null | null | null | lib/rssbridge/bridge/amiami/version.rb | Quintasan/rssbridge-bridge-amiami | 1b6ee8f702231fcb1472979bb486d5eedd4c0258 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module Rssbridge
module Bridge
module Amiami
VERSION = "0.1.0"
end
end
end
| 12.4 | 29 | 0.669355 |
dddfda912c14f14dc140eb92d7037bcc5839dc59 | 1,596 | php | PHP | routes/api.php | Maikell10/Demo-Store | 34f6e82e967e9c29424746185b5877286bb59d0c | [
"MIT"
] | null | null | null | routes/api.php | Maikell10/Demo-Store | 34f6e82e967e9c29424746185b5877286bb59d0c | [
"MIT"
] | null | null | null | routes/api.php | Maikell10/Demo-Store | 34f6e82e967e9c29424746185b5877286bb59d0c | [
"MIT"
] | null | null | null | <?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... | 38 | 111 | 0.676065 |
3e3c314d647d6875c786073b79ed880daed7d010 | 2,363 | h | C | src/3rdparty/khtml/src/rendering/RenderSVGHiddenContainer.h | afarcat/QtHtmlView | fff12b6f5c08c2c6db15dd73e4f0b55421827b39 | [
"Apache-2.0"
] | null | null | null | src/3rdparty/khtml/src/rendering/RenderSVGHiddenContainer.h | afarcat/QtHtmlView | fff12b6f5c08c2c6db15dd73e4f0b55421827b39 | [
"Apache-2.0"
] | null | null | null | src/3rdparty/khtml/src/rendering/RenderSVGHiddenContainer.h | afarcat/QtHtmlView | fff12b6f5c08c2c6db15dd73e4f0b55421827b39 | [
"Apache-2.0"
] | null | null | null | /*
* This file is part of the WebKit project.
*
* Copyright (C) 2007 Eric Seidel <eric@webkit.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the Lic... | 30.294872 | 117 | 0.734236 |
85de62dc1c161729d9576c3f2fa316d27b8fd208 | 2,646 | h | C | simobject.h | mohawkjohn/bskQtViz | cf54077a82f9674273044a8305069056a3aaf0a0 | [
"0BSD"
] | null | null | null | simobject.h | mohawkjohn/bskQtViz | cf54077a82f9674273044a8305069056a3aaf0a0 | [
"0BSD"
] | null | null | null | simobject.h | mohawkjohn/bskQtViz | cf54077a82f9674273044a8305069056a3aaf0a0 | [
"0BSD"
] | null | null | null | /*
ISC License
Copyright (c) 2016-2017, Autonomous Vehicle Systems Lab, University of Colorado at Boulder
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copie... | 34.815789 | 91 | 0.741497 |
b2bb1c7a2af64e0803771a48f87683d4a4a1c0d2 | 50,483 | py | Python | cottonformation/res/lookoutmetrics.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/lookoutmetrics.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/lookoutmetrics.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class AnomalyDetectorCsvFormatDescriptor(Property):
"""
AWS Object Type = "... | 72.952312 | 244 | 0.792247 |
1cdca30a9e94c3c9d84425423f60edd193cc1ba3 | 8,549 | css | CSS | src/css/App.css | jonathancdev/blog-template | 21aa7f9d41a01a9803e6d024199c998740d82eec | [
"RSA-MD"
] | null | null | null | src/css/App.css | jonathancdev/blog-template | 21aa7f9d41a01a9803e6d024199c998740d82eec | [
"RSA-MD"
] | null | null | null | src/css/App.css | jonathancdev/blog-template | 21aa7f9d41a01a9803e6d024199c998740d82eec | [
"RSA-MD"
] | null | null | null | *,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: inherit;
}
html {
font-size: 62.5%;
}
body {
height: 100vh;
padding: 0 3rem;
padding-top: 3rem;
box-sizing: border-box;
}
a:link,
a:visited {
text-decoration: none;
}
@font-face {
font-family: "GothicA1";
src: url("../fonts/gothic/Got... | 19.040089 | 79 | 0.660896 |
3b0e3ff82344cdd76f910e00e922f2d3052d81f0 | 1,764 | kt | Kotlin | app/src/main/java/adapter/FriendsListAdapter.kt | UNIZAR-30226-2021-12/front-end_android | 2941434ff5de558e310f4c3adeb02945104cd82a | [
"MIT"
] | null | null | null | app/src/main/java/adapter/FriendsListAdapter.kt | UNIZAR-30226-2021-12/front-end_android | 2941434ff5de558e310f4c3adeb02945104cd82a | [
"MIT"
] | null | null | null | app/src/main/java/adapter/FriendsListAdapter.kt | UNIZAR-30226-2021-12/front-end_android | 2941434ff5de558e310f4c3adeb02945104cd82a | [
"MIT"
] | null | null | null | package adapter
import android.app.Activity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widget.ImageView
import android.widget.TextView
import data.FriendInfo
import eina.unizar.unozar.R
class FriendsListAdapter(private va... | 28.451613 | 99 | 0.669501 |
100307aca7447ded5e6f13cbea3fc3bf5559318f | 752 | swift | Swift | CoreDataPlatform/CoreDataPlatform/Repository/PostsRepository.swift | muzle/NewsAggregator | 83bd5df502ac9b78cf6d5c7ac46319a951901f46 | [
"MIT"
] | null | null | null | CoreDataPlatform/CoreDataPlatform/Repository/PostsRepository.swift | muzle/NewsAggregator | 83bd5df502ac9b78cf6d5c7ac46319a951901f46 | [
"MIT"
] | null | null | null | CoreDataPlatform/CoreDataPlatform/Repository/PostsRepository.swift | muzle/NewsAggregator | 83bd5df502ac9b78cf6d5c7ac46319a951901f46 | [
"MIT"
] | null | null | null | import Foundation
import Domain
import RxSwift
final class PostsRepository<PostsDAO: DAO>: PostsStoreRepository, QueryablePostsRepository where PostsDAO.Entity == Post {
private let postsDao: PostsDAO
init(postsDao: PostsDAO) {
self.postsDao = postsDao
}
func save(posts: [Post]) -> Si... | 25.931034 | 122 | 0.628989 |
9e79d51abd6341995d696a34312d0c5fc5f6da59 | 37 | sql | SQL | Data Scientist Career Path/14. SQL for Interview Prep/1. Aggregate/1. Aggregate/3. sum.sql | myarist/Codecademy | 2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb | [
"MIT"
] | 23 | 2021-06-06T15:35:55.000Z | 2022-03-21T06:53:42.000Z | Data Scientist Career Path/14. SQL for Interview Prep/1. Aggregate/1. Aggregate/3. sum.sql | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | null | null | null | Data Scientist Career Path/14. SQL for Interview Prep/1. Aggregate/1. Aggregate/3. sum.sql | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | 9 | 2021-06-08T01:32:04.000Z | 2022-03-18T15:38:09.000Z | SELECT SUM(downloads)
FROM fake_apps; | 18.5 | 21 | 0.837838 |
fb656ff0ac7d84c01e11d9c9ad271551cf748b5f | 11,808 | asm | Assembly | untested/x64/my_string.asm | GabrielRavier/Generic-Assembly-Samples | fbf803960a14307b7fce0165058d0d4048abaf42 | [
"Unlicense"
] | null | null | null | untested/x64/my_string.asm | GabrielRavier/Generic-Assembly-Samples | fbf803960a14307b7fce0165058d0d4048abaf42 | [
"Unlicense"
] | null | null | null | untested/x64/my_string.asm | GabrielRavier/Generic-Assembly-Samples | fbf803960a14307b7fce0165058d0d4048abaf42 | [
"Unlicense"
] | null | null | null | %include "macros.inc"
global _bcopy
global _bzero
global _memccpy
global _memchr
global _memcmp
global _memcpy
global _memfrob
global _memmem
global _memmove
global _mempcpy
global _memrchr
global _memset
global _stpcpy
global _stpncpy
global _strcasecmp
global _strcasestr
global _strcat
global _strchr
global _strchrn... | 9.90604 | 39 | 0.621951 |
c6677e7c59fc57e098c337ac8f03854f5608e3d2 | 2,500 | swift | Swift | APITestDemo/ViewController.swift | eajang/iOS-Example-APITest | afb830ba55f56578d47ed7cf8a9e26261a35ec87 | [
"MIT"
] | null | null | null | APITestDemo/ViewController.swift | eajang/iOS-Example-APITest | afb830ba55f56578d47ed7cf8a9e26261a35ec87 | [
"MIT"
] | null | null | null | APITestDemo/ViewController.swift | eajang/iOS-Example-APITest | afb830ba55f56578d47ed7cf8a9e26261a35ec87 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// APITestDemo
//
// Created by Eunae Jang on 23/09/2019.
// Copyright ยฉ 2019 Eunae Jang. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var titleLabel: UILabel!
@IBOutlet weak var descriptionLabel: UILabel!
@IBOutlet weak v... | 32.894737 | 114 | 0.5504 |
6dc2f8d70fe7c9fe4c2c3e4733ad5adab0ca4160 | 127 | lua | Lua | src/server/RobloxCalculator/Roact/modules/lemur/lib/Enum/VirtualInputMode.lua | havi11/RBX-Calculator-Plugin | c80978ab4c4bdd9c87bebdd1a906ba3780a6d5cf | [
"Apache-2.0"
] | 54 | 2017-12-13T20:02:26.000Z | 2022-02-20T11:13:47.000Z | src/server/RobloxCalculator/Roact/modules/lemur/lib/Enum/VirtualInputMode.lua | havi11/RBX-Calculator-Plugin | c80978ab4c4bdd9c87bebdd1a906ba3780a6d5cf | [
"Apache-2.0"
] | 203 | 2017-12-09T00:30:01.000Z | 2020-06-17T21:00:22.000Z | src/server/RobloxCalculator/Roact/modules/lemur/lib/Enum/VirtualInputMode.lua | havi11/RBX-Calculator-Plugin | c80978ab4c4bdd9c87bebdd1a906ba3780a6d5cf | [
"Apache-2.0"
] | 35 | 2017-12-14T04:24:12.000Z | 2022-03-26T06:57:59.000Z | local createEnum = import("../createEnum")
return createEnum("VirtualInputMode", {
None = 0,
Recording = 1,
Playing = 2,
}) | 18.142857 | 42 | 0.677165 |
85aaea2d8d6cd24db679fb5f364b82dd4defd70b | 2,850 | js | JavaScript | Gruntfile.js | nicolasiugo/hapi-base-folder-structure | 023d396a8d61b9ca351efe9c966936241d7eaed1 | [
"MIT"
] | null | null | null | Gruntfile.js | nicolasiugo/hapi-base-folder-structure | 023d396a8d61b9ca351efe9c966936241d7eaed1 | [
"MIT"
] | null | null | null | Gruntfile.js | nicolasiugo/hapi-base-folder-structure | 023d396a8d61b9ca351efe9c966936241d7eaed1 | [
"MIT"
] | null | null | null | "use strict";
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
env : {
dev : {
NODE_PATH : '.'
}
},
concurrent: {
dev: {
tasks: ['nodemon', 'node-inspector', 'watch', 'mochaTest', 'jscs'],
options: {
limit: 5,
logCo... | 21.923077 | 101 | 0.542105 |
b9130523b61fd07bf28190cc401d7e41e0d6b4e1 | 2,920 | h | C | base_lib/include/loginmanager.h | xuepingiw/open_source_startalk | 44d962b04039f5660ec47a10313876a0754d3e72 | [
"MIT"
] | 34 | 2019-03-18T08:09:24.000Z | 2022-03-15T02:03:25.000Z | base_lib/include/loginmanager.h | venliong/open_source_startalk | 51fda091a932a8adea626c312692836555753a9a | [
"MIT"
] | 5 | 2019-05-29T09:32:05.000Z | 2019-08-29T03:01:33.000Z | base_lib/include/loginmanager.h | venliong/open_source_startalk | 51fda091a932a8adea626c312692836555753a9a | [
"MIT"
] | 32 | 2019-03-15T09:43:22.000Z | 2021-08-10T08:26:02.000Z | ๏ปฟ#ifndef LOGINMANAGER_H
#define LOGINMANAGER_H
#include <QObject>
#include "managerbase.h"
#include "define.h"
class QXmppControlManager;
namespace Biz
{
enum LoginStatus
{
LoginStatus_None=0,
LoginStatus_Connect,
LoginStatus_Disconnect
};
class LoginNavConfigInfo;
class L... | 32.087912 | 116 | 0.715411 |
56babdf2f8d08e5c265ca8c7ae7b04565d0b0d1c | 1,394 | ts | TypeScript | src/Common.ts | huang2002/3h-math | af401ed89238d8b0bceabc94719b10569dd3be84 | [
"MIT"
] | null | null | null | src/Common.ts | huang2002/3h-math | af401ed89238d8b0bceabc94719b10569dd3be84 | [
"MIT"
] | null | null | null | src/Common.ts | huang2002/3h-math | af401ed89238d8b0bceabc94719b10569dd3be84 | [
"MIT"
] | null | null | null | /**
* Common utilities.
*/
export namespace Common {
/** dts2md break */
/**
* Whether to check input data.
* (Validation can be disabled to improve performance
* at the cost of potential errors.)
* @default true
*/
export let checkInput = true;
/** dts2md break */
/**
... | 26.301887 | 68 | 0.530846 |
136fc6caa5f34e6774ca76874dc27b77f0075096 | 1,328 | h | C | usr/libexec/appstored/TestFlightFeedbackDatabaseSession.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | 2 | 2021-04-15T10:50:21.000Z | 2021-08-19T19:00:09.000Z | usr/sbin/usr/libexec/appstored/TestFlightFeedbackDatabaseSession.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | null | null | null | usr/sbin/usr/libexec/appstored/TestFlightFeedbackDatabaseSession.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | null | null | null | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
#import "SQLiteDatabaseSession-Protocol.h"
@class NSString, SQLiteConnection;
@interface TestFlightFeedbackDatabaseSes... | 35.891892 | 120 | 0.779367 |
9c2edf400276d92860ba1b57e7003fc31ddf414c | 127 | js | JavaScript | app/pages/painters.component.js | OksanaKovalchuk/ksiu_ang_App | 66f927c26bf0eb81f97477f9d9ff7f31aae4748d | [
"MIT"
] | null | null | null | app/pages/painters.component.js | OksanaKovalchuk/ksiu_ang_App | 66f927c26bf0eb81f97477f9d9ff7f31aae4748d | [
"MIT"
] | null | null | null | app/pages/painters.component.js | OksanaKovalchuk/ksiu_ang_App | 66f927c26bf0eb81f97477f9d9ff7f31aae4748d | [
"MIT"
] | null | null | null | 'use strict';
angular.
module('pictures',[]).
component('pictures', {
templateUrl: 'pages/story.template.html'
}); | 18.142857 | 44 | 0.629921 |
f73ee1f4e6b7a7147baeb471c4f963ac72b8dbca | 17,528 | c | C | shell/ext/brfcase/filesync/syncui/cache.c | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | shell/ext/brfcase/filesync/syncui/cache.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | shell/ext/brfcase/filesync/syncui/cache.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //---------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation 1993-1994
//
// File: cache.c
//
// This files contains code for the common cache lists
//
// History:
// 09-02-93 ScottH Created
// 01-31-94 ScottH Split into separate files
//
... | 26.597876 | 110 | 0.45647 |
beeec140e13679e40fbad02eacfaeb8ee0f8bae2 | 128,730 | html | HTML | doc/Cabal-1.24.2.0/Distribution-Simple-LocalBuildInfo.html | dhenis/functionalcoursework | b9fe2348534f9601009816403d6f9972f3636e44 | [
"BSD-3-Clause"
] | null | null | null | doc/Cabal-1.24.2.0/Distribution-Simple-LocalBuildInfo.html | dhenis/functionalcoursework | b9fe2348534f9601009816403d6f9972f3636e44 | [
"BSD-3-Clause"
] | null | null | null | doc/Cabal-1.24.2.0/Distribution-Simple-LocalBuildInfo.html | dhenis/functionalcoursework | b9fe2348534f9601009816403d6f9972f3636e44 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Distribution.Simple.LocalBuildInfo</title><link href="ocean.css" rel="styl... | 2,798.478261 | 34,709 | 0.705057 |
cb1dcbcd16b26fa15e778fb006f43b6a19b22c1c | 4,371 | asm | Assembly | src/shaders/h264/ildb/TransposeNV12_4x16.asm | tizenorg/platform.upstream.libva-intel-driver | 9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90 | [
"MIT"
] | null | null | null | src/shaders/h264/ildb/TransposeNV12_4x16.asm | tizenorg/platform.upstream.libva-intel-driver | 9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90 | [
"MIT"
] | null | null | null | src/shaders/h264/ildb/TransposeNV12_4x16.asm | tizenorg/platform.upstream.libva-intel-driver | 9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90 | [
"MIT"
] | null | null | null | /*
* Copyright ยฉ <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
//////////////////////////////////////////////////////////... | 46.010526 | 101 | 0.444521 |
2a7370aa6a323b1536702de0c0f904ee00da6e42 | 3,562 | java | Java | src/main/java/com/max/epi/array/EnumerateAllPrimesToN.java | mstepan/elements-of-programmin-interviews | f66a1ae02c693b3ea279fc7063df7c29a8df86cc | [
"MIT"
] | null | null | null | src/main/java/com/max/epi/array/EnumerateAllPrimesToN.java | mstepan/elements-of-programmin-interviews | f66a1ae02c693b3ea279fc7063df7c29a8df86cc | [
"MIT"
] | 4 | 2020-12-08T08:40:58.000Z | 2022-01-04T16:35:48.000Z | src/main/java/com/max/epi/array/EnumerateAllPrimesToN.java | mstepan/elements-of-programmin-interviews | f66a1ae02c693b3ea279fc7063df7c29a8df86cc | [
"MIT"
] | null | null | null | package com.max.epi.array;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.lang.invoke.MethodHandles;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.BitSet;
import java.util.Collections;
import java.util.List;
import static com.google.common.base... | 29.438017 | 121 | 0.577204 |
fd531f62bc4b1429bebc6992b8fc931f1d67e848 | 2,507 | h | C | ProatomicOpenSubclasses/Classes/Classes/PASBounceView.h | ProAtomic/ProatomicOpenSubclasses | de1161b8f57b63855ed1f2d0d16cafbe84b6140b | [
"MIT"
] | null | null | null | ProatomicOpenSubclasses/Classes/Classes/PASBounceView.h | ProAtomic/ProatomicOpenSubclasses | de1161b8f57b63855ed1f2d0d16cafbe84b6140b | [
"MIT"
] | null | null | null | ProatomicOpenSubclasses/Classes/Classes/PASBounceView.h | ProAtomic/ProatomicOpenSubclasses | de1161b8f57b63855ed1f2d0d16cafbe84b6140b | [
"MIT"
] | null | null | null | //
// PASBounceView.h
//
//
// Created by Guillermo Sรกenz on 4/9/15.
// Copyright (c) 2015 Property Atomic Strong SAC. All rights reserved.
//
#import "PASCustomFrameView.h"
IB_DESIGNABLE @interface PASBounceView : PASCustomFrameView
/**
This is an IB accessible NSUInteger value, which will determine how fast th... | 33.426667 | 167 | 0.771041 |
2a63a549f89ab792d58867289fe0d829078297a8 | 2,098 | java | Java | simplified-books-core/src/main/java/org/nypl/simplified/books/core/AccountsControllerType.java | NYPL-Simplified/open-ebooks-android | 0678b3d1f6ad5b87125f7c97194fa105b7c5ca3d | [
"Apache-2.0"
] | 1 | 2019-05-03T17:45:18.000Z | 2019-05-03T17:45:18.000Z | simplified-books-core/src/main/java/org/nypl/simplified/books/core/AccountsControllerType.java | NYPL-Simplified/open-ebooks-android | 0678b3d1f6ad5b87125f7c97194fa105b7c5ca3d | [
"Apache-2.0"
] | null | null | null | simplified-books-core/src/main/java/org/nypl/simplified/books/core/AccountsControllerType.java | NYPL-Simplified/open-ebooks-android | 0678b3d1f6ad5b87125f7c97194fa105b7c5ca3d | [
"Apache-2.0"
] | null | null | null | package org.nypl.simplified.books.core;
/**
* The main interface to carry out operations relating to accounts.
*/
public interface AccountsControllerType
{
/**
* @return {@code true} if the user is currently logged into an account.
*/
boolean accountIsLoggedIn();
/**
* Get login details delivering ... | 21.854167 | 87 | 0.692088 |
70d8a5335fcc709dc84be35b0d5bca468f153f07 | 18,795 | h | C | lib/hdf5/xregHDF5Internal.h | gaocong13/Orthopedic-Robot-Navigation | bf36f7de116c1c99b86c9ba50f111c3796336af0 | [
"MIT"
] | 13 | 2021-11-16T08:17:39.000Z | 2022-02-11T11:08:55.000Z | lib/hdf5/xregHDF5Internal.h | gaocong13/Orthopedic-Robot-Navigation | bf36f7de116c1c99b86c9ba50f111c3796336af0 | [
"MIT"
] | null | null | null | lib/hdf5/xregHDF5Internal.h | gaocong13/Orthopedic-Robot-Navigation | bf36f7de116c1c99b86c9ba50f111c3796336af0 | [
"MIT"
] | 1 | 2021-11-16T08:17:42.000Z | 2021-11-16T08:17:42.000Z | /*
* MIT License
*
* Copyright (c) 2020 Robert Grupp
*
* 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, mod... | 27.762186 | 116 | 0.644001 |
184d6a416fad856be33f1e878cd62e34cd691d90 | 1,146 | rs | Rust | src/executors/bastion.rs | dvc94ch/agnostik | c048a177e61430a5b5907030d44e8dde50c4507a | [
"Apache-2.0",
"MIT"
] | null | null | null | src/executors/bastion.rs | dvc94ch/agnostik | c048a177e61430a5b5907030d44e8dde50c4507a | [
"Apache-2.0",
"MIT"
] | null | null | null | src/executors/bastion.rs | dvc94ch/agnostik | c048a177e61430a5b5907030d44e8dde50c4507a | [
"Apache-2.0",
"MIT"
] | null | null | null | //! The bastion executor.
use crate::join_handle::{InnerJoinHandle, JoinHandle};
use crate::AgnostikExecutor;
use bastion_executor::blocking::*;
use lightproc::prelude::*;
use std::future::Future;
pub struct BastionExecutor;
impl BastionExecutor {
pub const fn new() -> Self {
BastionExecutor {}
}
}
... | 26.045455 | 81 | 0.612565 |
9bea3f2d96b21fa57e4e48cd10e446859f13468c | 1,067 | js | JavaScript | src/components/post/PostFooter.js | SeanMcP/gatsby-playground | 20c1b5df83c925fa1fa41c28d20b580388980618 | [
"MIT"
] | null | null | null | src/components/post/PostFooter.js | SeanMcP/gatsby-playground | 20c1b5df83c925fa1fa41c28d20b580388980618 | [
"MIT"
] | null | null | null | src/components/post/PostFooter.js | SeanMcP/gatsby-playground | 20c1b5df83c925fa1fa41c28d20b580388980618 | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
import PostDate from './PostDate';
import CategoryLink from '../common/CategoryLink';
import TagLinks from '../common/TagLinks';
import TweetButton from './TweetButton';
const PostFooter = ({
articleHref,
articleTitle,
category,
date,
... | 26.02439 | 77 | 0.625117 |
d5dd9acbaa04927718d1c768d67eed1fc789668a | 868 | h | C | src/protocol.h | chris-u/statsrelay | 0b8b334a9c29b97e5b7c95d031c77e7b99fed248 | [
"MIT"
] | null | null | null | src/protocol.h | chris-u/statsrelay | 0b8b334a9c29b97e5b7c95d031c77e7b99fed248 | [
"MIT"
] | null | null | null | src/protocol.h | chris-u/statsrelay | 0b8b334a9c29b97e5b7c95d031c77e7b99fed248 | [
"MIT"
] | null | null | null | #ifndef STATSRELAY_PROTOCOL_H
#define STATSRELAY_PROTOCOL_H
#include <stdlib.h>
// This header file abstracts the protocol parsing logic. The signature for a
// protocol parser is like:
//
// size_t parser(const char *instr, const size_t inlen);
//
// The first two paramaters, instr and inlen specify a const pointe... | 32.148148 | 79 | 0.754608 |
d29cee52eee279d783003bdb30745b4061bc02d8 | 188 | php | PHP | www/html/bitrix/modules/sale/lang/de/lib/services/company/restrictions/location.php | Evil1991/bitrixdock | 306734e0f6641c9118c0129a49d9a266124cdc9c | [
"MIT"
] | 10 | 2019-10-24T06:42:26.000Z | 2022-02-02T22:43:16.000Z | www/html/bitrix/modules/sale/lang/de/lib/services/company/restrictions/location.php | Evil1991/bitrixdock | 306734e0f6641c9118c0129a49d9a266124cdc9c | [
"MIT"
] | null | null | null | www/html/bitrix/modules/sale/lang/de/lib/services/company/restrictions/location.php | Evil1991/bitrixdock | 306734e0f6641c9118c0129a49d9a266124cdc9c | [
"MIT"
] | 3 | 2020-09-28T00:52:21.000Z | 2022-02-18T09:01:22.000Z | <?
$MESS["SALE_COMPANY_RULES_BY_LOCATION"] = "Standort";
$MESS["SALE_COMPANY_RULES_BY_LOCATION_TITLE"] = "nach Standort";
$MESS["SALE_COMPANY_RULES_BY_LOCATION_DESC"] = "nach Standort";
?> | 37.6 | 64 | 0.771277 |
fb1709ba8c56aa4c9282c55809f5dcc6ee365eef | 4,753 | go | Go | main.go | finove/wetrtctest | 7daae1c1bbe8350c80cad97a058ae5740f9d4706 | [
"Unlicense"
] | null | null | null | main.go | finove/wetrtctest | 7daae1c1bbe8350c80cad97a058ae5740f9d4706 | [
"Unlicense"
] | null | null | null | main.go | finove/wetrtctest | 7daae1c1bbe8350c80cad97a058ae5740f9d4706 | [
"Unlicense"
] | null | null | null | package main
import (
"context"
"flag"
"fmt"
"log"
"time"
"github.com/finove/webrtctest/client"
"github.com/pion/rtcp"
"github.com/pion/webrtc/v3"
)
func main() {
var isSend, isCli bool
var feedID int64
var cli uClient
var err error
flag.BoolVar(&isSend, "send", false, "send mode")
... | 28.291667 | 123 | 0.672628 |
0a3b28929a57d9fb6c34c9bf2b50fefbceacf618 | 6,225 | ts | TypeScript | packages/ts-api-decorators-azure-function/src/apiManagement/ManagedApi.ts | Mobius5150/ts-api-decorators | 8a8c0d6d5e288e4690fea3caf3b26495b78a939d | [
"Apache-2.0"
] | 1 | 2021-09-04T05:55:43.000Z | 2021-09-04T05:55:43.000Z | packages/ts-api-decorators-azure-function/src/apiManagement/ManagedApi.ts | Mobius5150/ts-api-decorators | 8a8c0d6d5e288e4690fea3caf3b26495b78a939d | [
"Apache-2.0"
] | 19 | 2020-01-18T18:10:48.000Z | 2021-12-25T19:31:48.000Z | packages/ts-api-decorators-azure-function/src/apiManagement/ManagedApi.ts | Mobius5150/ts-api-decorators | 8a8c0d6d5e288e4690fea3caf3b26495b78a939d | [
"Apache-2.0"
] | 1 | 2021-03-20T16:17:03.000Z | 2021-03-20T16:17:03.000Z | import { Context } from "@azure/functions";
import {
ManagedApi as BaseManagedApi,
IApiHandlerInstance,
ApiMethod,
ApiHeadersDict,
IApiInvocationParams,
IApiInvocationResult,
ManagedApiInternal,
HttpError
} from 'ts-api-decorators';
import { AzureFunctionHandlerFunc, IAzureFunctionsTimer } from "./AzureFunction... | 32.421875 | 184 | 0.720482 |
a7e001f8b61785f0cc5088a8d95a19f45656ad58 | 2,278 | lua | Lua | concord/utils.lua | LaughingLeader/Concord | ea1aa0d799317cc7d82469ef304e37ce5eb8899c | [
"MIT"
] | null | null | null | concord/utils.lua | LaughingLeader/Concord | ea1aa0d799317cc7d82469ef304e37ce5eb8899c | [
"MIT"
] | null | null | null | concord/utils.lua | LaughingLeader/Concord | ea1aa0d799317cc7d82469ef304e37ce5eb8899c | [
"MIT"
] | null | null | null | --- Helper module for misc operations
---@class Utils:table
local Utils = {}
--- Does a shallow copy of a table and appends it to a target table.
---@param orig Table to copy
---@param target Table to append to
function Utils.shallowCopy(orig, target)
for key, value in pairs(orig) do
target[key] = value
en... | 36.15873 | 157 | 0.628622 |
22349bc156569487ec606a7c341a63cf53d35529 | 444 | kt | Kotlin | kotlin/reqs/assert-build/kotlin/assert/assert.kt | soarlab/gandalv | 0eba287949dafd9a4eb0ce3a4678392634903eea | [
"MIT"
] | 2 | 2020-01-18T22:40:40.000Z | 2020-01-20T20:27:08.000Z | kotlin/reqs/assert-build/kotlin/assert/assert.kt | soarlab/gandalv | 0eba287949dafd9a4eb0ce3a4678392634903eea | [
"MIT"
] | null | null | null | kotlin/reqs/assert-build/kotlin/assert/assert.kt | soarlab/gandalv | 0eba287949dafd9a4eb0ce3a4678392634903eea | [
"MIT"
] | 1 | 2020-01-19T16:51:19.000Z | 2020-01-19T16:51:19.000Z | @file:kotlinx.cinterop.InteropStubs
@file:Suppress("UNUSED_VARIABLE", "UNUSED_EXPRESSION")
package assert
import konan.SymbolName
import kotlinx.cinterop.*
fun __VERIFIER_assert(arg0: Int): Unit {
return kniBridge0(arg0)
}
fun __VERIFIER_nondet_int(): Int {
return kniBridge1()
}
@SymbolName("assert_kniBridg... | 22.2 | 54 | 0.779279 |
5b37dba1b21777d941f72e49d84f250db9ffbad0 | 2,466 | h | C | clients/tivi/CtZrtpCallback.h | stelabouras/ZRTPCPP | 6b3cd8e6783642292bad0c21e3e5e5ce45ff3e03 | [
"Apache-2.0"
] | 67 | 2015-01-02T18:22:18.000Z | 2022-02-26T21:31:06.000Z | clients/tivi/CtZrtpCallback.h | stelabouras/ZRTPCPP | 6b3cd8e6783642292bad0c21e3e5e5ce45ff3e03 | [
"Apache-2.0"
] | 27 | 2015-01-11T10:33:36.000Z | 2020-05-28T10:52:21.000Z | clients/tivi/CtZrtpCallback.h | stelabouras/ZRTPCPP | 6b3cd8e6783642292bad0c21e3e5e5ce45ff3e03 | [
"Apache-2.0"
] | 44 | 2015-02-27T07:21:53.000Z | 2022-01-04T03:05:08.000Z | /*
* Copyright (c) 2019 Silent Circle. 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 require... | 33.780822 | 126 | 0.727899 |
4a2b0dbfe0d70f074021e080ba8e459b19a4aa8c | 1,615 | js | JavaScript | API/WsParser.js | Sedorikku1949/KadyAPI | 16a5550ca82afa447b73540edc782255a617af98 | [
"MIT"
] | null | null | null | API/WsParser.js | Sedorikku1949/KadyAPI | 16a5550ca82afa447b73540edc782255a617af98 | [
"MIT"
] | null | null | null | API/WsParser.js | Sedorikku1949/KadyAPI | 16a5550ca82afa447b73540edc782255a617af98 | [
"MIT"
] | null | null | null | function getValueType(value){
if ([null, undefined].some((e) => value == e)) return String(value).toLowerCase();
else return(value.constructor.name.toLowerCase());
};
module.exports = async(obj) => {
return new Promise(function(resolve, reject){
if (getValueType(obj) !== "object") return resolve({"error": "I... | 40.375 | 154 | 0.494737 |
493e864494fc359dee423c16fb48842b35160333 | 525 | swift | Swift | BitriseAPI/Sources/BitriseRequest.swift | yuta24/Cimon | a54c31b9a6b67d1ec7a70a85534088c4af8dd240 | [
"MIT"
] | 3 | 2019-06-04T03:30:57.000Z | 2019-10-01T05:18:43.000Z | BitriseAPI/Sources/BitriseRequest.swift | yuta24/Cimon | a54c31b9a6b67d1ec7a70a85534088c4af8dd240 | [
"MIT"
] | 6 | 2019-07-16T02:26:50.000Z | 2021-03-29T23:25:13.000Z | BitriseAPI/Sources/BitriseRequest.swift | yuta24/Cimon | a54c31b9a6b67d1ec7a70a85534088c4af8dd240 | [
"MIT"
] | null | null | null | //
// BitriseRequest.swift
// BitriseAPI
//
// Created by Yu Tawata on 2019/05/06.
//
import Foundation
import Mocha
public protocol BitriseRequest: Request {
}
extension BitriseRequest where Response: Decodable {
public var headers: [String: String] { [:] }
public var queryPrameters: [String: Any?] { [:] }
... | 20.192308 | 66 | 0.68 |
8bfe5f7f7b7745ba971d2675bde117a7cccb57fe | 3,453 | kt | Kotlin | src/test/kotlin/at/rechnerherz/example/integration/SecurityTests.kt | rechnerherz/spring-boot-kotlin-rest-api-template | 475b6ec7f1b0d4df9c9894f8731d73d06bfef990 | [
"Apache-2.0"
] | 3 | 2021-08-18T13:03:49.000Z | 2022-01-27T17:03:48.000Z | src/test/kotlin/at/rechnerherz/example/integration/SecurityTests.kt | rechnerherz/spring-boot-kotlin-rest-api-template | 475b6ec7f1b0d4df9c9894f8731d73d06bfef990 | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/at/rechnerherz/example/integration/SecurityTests.kt | rechnerherz/spring-boot-kotlin-rest-api-template | 475b6ec7f1b0d4df9c9894f8731d73d06bfef990 | [
"Apache-2.0"
] | 2 | 2022-03-07T16:28:01.000Z | 2022-03-15T14:02:38.000Z | package at.rechnerherz.example.integration
import at.rechnerherz.example.base.BaseIntegrationTest
import at.rechnerherz.example.base.WithMockAdmin
import at.rechnerherz.example.config.ACTUATOR_URL
import at.rechnerherz.example.config.API_URL
import at.rechnerherz.example.config.AUTHENTICATED_ACCOUNT_URL
import at.rech... | 37.945055 | 114 | 0.767738 |
e54199061fbaf8ebe1b942c52fe81beef8e2fed9 | 370 | ts | TypeScript | src/ack.ts | alopezcia/anviz-ts | 1c3f3d8558526075f935e2e2654243af67dfe862 | [
"MIT"
] | null | null | null | src/ack.ts | alopezcia/anviz-ts | 1c3f3d8558526075f935e2e2654243af67dfe862 | [
"MIT"
] | null | null | null | src/ack.ts | alopezcia/anviz-ts | 1c3f3d8558526075f935e2e2654243af67dfe862 | [
"MIT"
] | null | null | null | export enum ACK {
SUCCESS = 0x00, // operation successful
FAIL = 0x01, // operation failed
FULL = 0x04, // user full (whatever that means)
EMPTY = 0x05, // user empty (whatever that means)
NO_USER = 0x06, // user doesn't exists
TIME_OUT = 0x08, // timeout (?)
USER_OCCUPIED = 0x0A, //user already exists
FINGER_O... | 33.636364 | 56 | 0.694595 |
5846bb493394ac0f77bde2212570cdeb33d4193a | 2,722 | kt | Kotlin | src/test/kotlin/org/jetbrains/kotlin/jupyter/test/ikotlinTests.kt | jjkavalam/kotlin-jupyter | 1476fc94b0cfe10727c8bc57900310680f051470 | [
"Apache-2.0"
] | 1 | 2018-06-27T06:52:38.000Z | 2018-06-27T06:52:38.000Z | src/test/kotlin/org/jetbrains/kotlin/jupyter/test/ikotlinTests.kt | jjkavalam/kotlin-jupyter | 1476fc94b0cfe10727c8bc57900310680f051470 | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/org/jetbrains/kotlin/jupyter/test/ikotlinTests.kt | jjkavalam/kotlin-jupyter | 1476fc94b0cfe10727c8bc57900310680f051470 | [
"Apache-2.0"
] | null | null | null |
package org.jetbrains.kotlin.jupyter.test
import org.jetbrains.kotlin.jupyter.*
import org.junit.*
import org.zeromq.ZMQ
import java.io.IOException
import java.net.ServerSocket
import java.util.*
import kotlin.concurrent.thread
class KernelServerTest {
private val config = KernelConfig(
ports = Jupy... | 27.494949 | 99 | 0.511756 |
365569eae6b87c0f624a559da753374adef6f3fa | 1,298 | kt | Kotlin | src/commonMain/kotlin/KWS/OpCode/OpCodeUtils.kt | SeekDaSky/KWS | 2ade7661b622b5782a5c75b8203b41b45c80002a | [
"MIT"
] | 1 | 2020-04-14T01:36:21.000Z | 2020-04-14T01:36:21.000Z | src/commonMain/kotlin/KWS/OpCode/OpCodeUtils.kt | SeekDaSky/KWS | 2ade7661b622b5782a5c75b8203b41b45c80002a | [
"MIT"
] | null | null | null | src/commonMain/kotlin/KWS/OpCode/OpCodeUtils.kt | SeekDaSky/KWS | 2ade7661b622b5782a5c75b8203b41b45c80002a | [
"MIT"
] | null | null | null | package KWS.OpCode
import KWS.Message.*
import kotlin.experimental.and
/**
* Returns the OpCode having the corresponding binary code
*
* @param Byte Byte to analyse
* @return OpCode
*/
internal fun getOpcode(raw : Byte) : OpCode{
return when((raw and 0b00001111).toInt()){
0 -> OpCode.FRAGMENT
1 -> OpCode.TEXT
... | 21.278689 | 57 | 0.688752 |
595c9d80adc2d6226e21cc0bcf2f311d31f1c570 | 730 | h | C | IngenicoDirectExample/Factories/IDViewFactory.h | Ingenico/direct-sdk-client-objc-example | e48945b0ae014ead57045c6c524baf7cffce2d2c | [
"MIT"
] | null | null | null | IngenicoDirectExample/Factories/IDViewFactory.h | Ingenico/direct-sdk-client-objc-example | e48945b0ae014ead57045c6c524baf7cffce2d2c | [
"MIT"
] | null | null | null | IngenicoDirectExample/Factories/IDViewFactory.h | Ingenico/direct-sdk-client-objc-example | e48945b0ae014ead57045c6c524baf7cffce2d2c | [
"MIT"
] | null | null | null | //
// Do not remove or alter the notices in this preamble.
// This software code is created for Ingencio ePayments on 21/07/2020
// Copyright ยฉ 2020 Global Collect Services. All rights reserved.
//
#import "IDViewType.h"
#import "IDTableViewCell.h"
#import "IDSwitch.h"
#import "IDTextField.h"
#import "IDPickerView.h"... | 28.076923 | 73 | 0.758904 |
577280c1d2b2e76b1a7fd41bf5a71255ea6bcf5c | 2,681 | h | C | llist.h | PotatoMaster101/linked_list | 4cbe19077d062bbdeb91eff27f137d82053b3a90 | [
"MIT"
] | null | null | null | llist.h | PotatoMaster101/linked_list | 4cbe19077d062bbdeb91eff27f137d82053b3a90 | [
"MIT"
] | null | null | null | llist.h | PotatoMaster101/linked_list | 4cbe19077d062bbdeb91eff27f137d82053b3a90 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// llist.h
// Linked list implementation in C99.
//
// Author: PotatoMaster101
// Date: 12/04/2019
///////////////////////////////////////////////////////////////////////////////
#ifndef LLIST_H
#define LLIST_H
#include <stdlib.h>
#incl... | 27.639175 | 79 | 0.615815 |
1fa1217c1c9b10bd04db1d2e76902a2cfdece429 | 2,653 | htm | HTML | _data/Vol06_Ch0321-0344/HRS0340E/HRS_0340E-0007.htm | bronsonavila/hrsscraper | ecbb1048ab284af361fae78adb481eff554b067a | [
"MIT"
] | 1 | 2019-02-22T10:35:29.000Z | 2019-02-22T10:35:29.000Z | _data/Vol06_Ch0321-0344/HRS0340E/HRS_0340E-0007.htm | bronsonavila/hrsscraper | ecbb1048ab284af361fae78adb481eff554b067a | [
"MIT"
] | null | null | null | _data/Vol06_Ch0321-0344/HRS0340E/HRS_0340E-0007.htm | bronsonavila/hrsscraper | ecbb1048ab284af361fae78adb481eff554b067a | [
"MIT"
] | null | null | null | <div class="WordSection1">
<p class="RegularParagraphs"><b> ยง340E-7 Prohibited acts.</b> (a) No supplier of water shall violate any rule adopted pursuant to section 340E-2.</p>
<p class="RegularParagraphs"> (b) No supplier of water shall violate any condition or provision of a variance, exemption, permit, or other writ... | 147.388889 | 736 | 0.76781 |
e8f589ed3e76934af8053deea1546715e9acd247 | 9,095 | py | Python | fn_utilities/fn_utilities/components/utilities_shell_command.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2020-08-25T03:43:07.000Z | 2020-08-25T03:43:07.000Z | fn_utilities/fn_utilities/components/utilities_shell_command.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2019-07-08T16:57:48.000Z | 2019-07-08T16:57:48.000Z | fn_utilities/fn_utilities/components/utilities_shell_command.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# (c) Copyright IBM Corp. 2018. All Rights Reserved.
# pragma pylint: disable=unused-argument, no-self-use
"""Function implementation"""
import os
import logging
import time
import shlex
import subprocess
import json
import chardet
import winrm
import re
from resilient_circuits import Resilien... | 45.934343 | 119 | 0.534469 |
b16f52bc34a5d808604c052f7ee6472eab978f5d | 16,114 | css | CSS | docs/styles.css | Blocksnmore/docugen | 9b169ac0db9a8f8566abf13c27b447a661455452 | [
"MIT"
] | null | null | null | docs/styles.css | Blocksnmore/docugen | 9b169ac0db9a8f8566abf13c27b447a661455452 | [
"MIT"
] | null | null | null | docs/styles.css | Blocksnmore/docugen | 9b169ac0db9a8f8566abf13c27b447a661455452 | [
"MIT"
] | null | null | null | .markdown-body.octicon {
display: inline-block;
fill: currentColor;
vertical-align: text-bottom;
}
.markdown-body.anchor {
float: left;
line-height: 1;
margin-left: -20px;
padding-right: 4px;
}
.markdown-body.anchor:focus {
outline: none;
}
.markdown-bodyh1.octicon-link,
.markdown-bodyh2.octicon-link,
.... | 20.017391 | 494 | 0.691697 |
22ecf2873c355cc18cab86e21047d48aeafa8e94 | 623 | h | C | msys64/mingw64/x86_64-w64-mingw32/include/gpio.h | Bhuvanesh1208/ruby2.6.1 | 17642e3f37233f6d0e0523af68d7600a91ece1c7 | [
"Ruby"
] | 12,718 | 2018-05-25T02:00:44.000Z | 2022-03-31T23:03:51.000Z | msys64/mingw64/x86_64-w64-mingw32/include/gpio.h | Bhuvanesh1208/ruby2.6.1 | 17642e3f37233f6d0e0523af68d7600a91ece1c7 | [
"Ruby"
] | 8,483 | 2018-05-23T16:22:39.000Z | 2022-03-31T22:18:16.000Z | msys64/mingw64/x86_64-w64-mingw32/include/gpio.h | Bhuvanesh1208/ruby2.6.1 | 17642e3f37233f6d0e0523af68d7600a91ece1c7 | [
"Ruby"
] | 1,400 | 2018-05-24T22:35:25.000Z | 2022-03-31T21:32:48.000Z | /**
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
#ifndef __GPIO_W__
#define __GPIO_W__
#include <winapifamily.h>
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
#if NTDDI_VERSION >= 0x06020000
#define IOCTL_GPIO_READ_PIN... | 29.666667 | 114 | 0.817014 |
a6c452e5a67ec06b4287966d7f5c8a776fff9d09 | 969 | tab | SQL | CZ-9x9-CMR/8-32-ES-12STATES-50CMR05.tab | bidlom/Mendel2019-ES | 24632a8582e2b18bd8367ecb599c9d4b58e7d7da | [
"BSD-3-Clause"
] | null | null | null | CZ-9x9-CMR/8-32-ES-12STATES-50CMR05.tab | bidlom/Mendel2019-ES | 24632a8582e2b18bd8367ecb599c9d4b58e7d7da | [
"BSD-3-Clause"
] | null | null | null | CZ-9x9-CMR/8-32-ES-12STATES-50CMR05.tab | bidlom/Mendel2019-ES | 24632a8582e2b18bd8367ecb599c9d4b58e7d7da | [
"BSD-3-Clause"
] | null | null | null | 2 12
0 0 0 0 10 1
0 0 0 0 11 1
0 0 0 1 10 8
0 0 0 10 1 1
0 0 0 11 0 1
0 0 0 11 11 1
0 0 0 8 1 1
0 0 1 0 0 11
0 0 1 0 1 11
0 0 1 1 1 11
0 0 1 9 10 10
0 0 1 9 11 10
0 0 1 9 9 10
0 0 10 9 10 1
0 0 10 9 11 1
0 0 11 0 0 0
0 0 11 1 1 9
0 0 11 2 1 9
0 0 11 2 9 9
0 0 11 9 1 10
0 0 5 0 0 11
0 0 8 1 1 9
0 0 8 1 10 3
0 1 0 0 1 2
... | 12.584416 | 15 | 0.53354 |
bca3be3ee9751fdb88ec3b0c2637939c0b2a083c | 1,448 | js | JavaScript | Sleep_Debt_Calculator/sleepDebtCalculator.js | a-m-davis/full_stack_course | 95c9dc8cc711482e23a71f5f20f1571f7255da25 | [
"Apache-2.0"
] | null | null | null | Sleep_Debt_Calculator/sleepDebtCalculator.js | a-m-davis/full_stack_course | 95c9dc8cc711482e23a71f5f20f1571f7255da25 | [
"Apache-2.0"
] | null | null | null | Sleep_Debt_Calculator/sleepDebtCalculator.js | a-m-davis/full_stack_course | 95c9dc8cc711482e23a71f5f20f1571f7255da25 | [
"Apache-2.0"
] | null | null | null | const getSleepHours = (day) => {
switch (day){
case 'monday':
return 8;
break;
case 'tuesday':
return 7;
break;
case 'wednesday':
return 8;
break;
case 'thursday':
return 9;
break;
case 'friday':
return 8;
... | 27.320755 | 199 | 0.576657 |
3a0c5c9a11dc785d08663054f489161542d0f8f6 | 1,577 | kts | Kotlin | build.gradle.kts | kpramesh2212/json2java-gradle-plugin | 8b900127feb77acf9cafcd846802ef168129aa12 | [
"Apache-2.0"
] | 1 | 2021-01-11T15:09:41.000Z | 2021-01-11T15:09:41.000Z | build.gradle.kts | kpramesh2212/json2java-gradle-plugin | 8b900127feb77acf9cafcd846802ef168129aa12 | [
"Apache-2.0"
] | 1 | 2021-02-01T18:14:50.000Z | 2021-02-03T04:23:08.000Z | build.gradle.kts | kpramesh2212/json2java-gradle-plugin | 8b900127feb77acf9cafcd846802ef168129aa12 | [
"Apache-2.0"
] | null | null | null | plugins {
`java-gradle-plugin`
`kotlin-dsl`
`maven-publish`
id("net.researchgate.release") version "2.8.1"
id("com.gradle.plugin-publish") version "0.12.0"
}
repositories {
mavenCentral()
}
dependencies {
implementation(group = "org.jsonschema2pojo", name = "jsonschema2pojo-core", version... | 23.893939 | 125 | 0.639188 |
b438d227391c9ed0326a33e5e39b929e042657bb | 2,054 | swift | Swift | Sources/XCRemoteCache/Models/MetaReader.swift | samuelsainz/XCRemoteCache | 50580bf9fd8e8e6caaab554516eda50e580631f9 | [
"Apache-2.0"
] | 620 | 2021-11-15T18:59:16.000Z | 2022-03-29T12:44:21.000Z | Sources/XCRemoteCache/Models/MetaReader.swift | samuelsainz/XCRemoteCache | 50580bf9fd8e8e6caaab554516eda50e580631f9 | [
"Apache-2.0"
] | 58 | 2021-11-17T07:21:31.000Z | 2022-03-30T21:44:38.000Z | Sources/XCRemoteCache/Models/MetaReader.swift | samuelsainz/XCRemoteCache | 50580bf9fd8e8e6caaab554516eda50e580631f9 | [
"Apache-2.0"
] | 32 | 2021-11-16T16:12:41.000Z | 2022-03-30T20:17:25.000Z | // Copyright (c) 2021 Spotify AB.
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ve... | 36.035088 | 118 | 0.723953 |
8e9158d4243187a05b8dcc317e515ea1905f86d4 | 158 | rb | Ruby | test/test_helper.rb | jamonholmgren/active_tax | 813b37ba9425c69b72b5422672ab542d241905f0 | [
"MIT"
] | 10 | 2016-01-08T00:25:12.000Z | 2021-11-11T16:54:41.000Z | test/test_helper.rb | jamonholmgren/active_tax | 813b37ba9425c69b72b5422672ab542d241905f0 | [
"MIT"
] | 8 | 2015-04-23T16:38:23.000Z | 2021-02-02T06:12:06.000Z | test/test_helper.rb | jamonholmgren/active_tax | 813b37ba9425c69b72b5422672ab542d241905f0 | [
"MIT"
] | 3 | 2017-09-12T13:58:10.000Z | 2018-04-25T04:37:49.000Z | require 'active_tax'
require "minitest/autorun"
require "minitest/reporters"
Minitest::Reporters.use! Minitest::Reporters::ProgressReporter.new(color: true)
| 26.333333 | 79 | 0.810127 |
b553ab8f4077c23522e83c69a89ac2d718112f4a | 1,068 | kt | Kotlin | db/src/main/java/com/bruhascended/db/food/entities/Food.kt | ChiragKalra/Fitter | 503f9b93ee9666337c6c8d61e53734a63a359848 | [
"MIT"
] | 6 | 2021-07-20T18:33:42.000Z | 2021-12-13T08:34:50.000Z | db/src/main/java/com/bruhascended/db/food/entities/Food.kt | ChiragKalra/Fitter | 503f9b93ee9666337c6c8d61e53734a63a359848 | [
"MIT"
] | 7 | 2021-07-02T10:57:17.000Z | 2021-12-13T13:07:35.000Z | db/src/main/java/com/bruhascended/db/food/entities/Food.kt | ChiragKalra/Fitter | 503f9b93ee9666337c6c8d61e53734a63a359848 | [
"MIT"
] | 1 | 2022-01-10T06:43:09.000Z | 2022-01-10T06:43:09.000Z | package com.bruhascended.db.food.entities
import androidx.room.*
import com.bruhascended.db.food.types.NutrientType
import com.bruhascended.db.food.types.QuantityType
import java.io.Serializable
import java.util.*
import kotlin.math.abs
@Entity
data class Food (
@PrimaryKey
val foodName: String,
val calor... | 28.105263 | 88 | 0.682584 |
f0629240183e189c6ab47b1a2f97def0d6ae77cc | 114 | js | JavaScript | src/utils/globals.utils.js | Frontcore/frontcore-web | 80f71b25665d7975daef2a95900135adc42e29a7 | [
"MIT"
] | null | null | null | src/utils/globals.utils.js | Frontcore/frontcore-web | 80f71b25665d7975daef2a95900135adc42e29a7 | [
"MIT"
] | 6 | 2017-01-12T17:53:32.000Z | 2017-01-15T16:41:05.000Z | src/utils/globals.utils.js | Frontcore/frontcore-web | 80f71b25665d7975daef2a95900135adc42e29a7 | [
"MIT"
] | null | null | null | module.exports = {
"elasticsearch": {
"default": {
"connection": "http://localhost:9200"
}
}
};
| 14.25 | 43 | 0.526316 |
7182d064c9ee4e0e78fe2c3ac8e36bfb26d7ebc2 | 3,242 | ts | TypeScript | src/client.ts | contactlab/contactsnag | 6841a9e09724047e94e1eb62ad11db6461a5c7af | [
"Apache-2.0"
] | 3 | 2017-03-29T17:28:47.000Z | 2022-01-17T08:10:37.000Z | src/client.ts | contactlab/contactsnag | 6841a9e09724047e94e1eb62ad11db6461a5c7af | [
"Apache-2.0"
] | 95 | 2017-05-17T16:15:13.000Z | 2021-12-21T09:59:58.000Z | src/client.ts | contactlab/contactsnag | 6841a9e09724047e94e1eb62ad11db6461a5c7af | [
"Apache-2.0"
] | 1 | 2017-07-06T07:36:15.000Z | 2017-07-06T07:36:15.000Z | import * as BS from '@bugsnag/js';
import * as E from 'fp-ts/Either';
import * as IOE from 'fp-ts/IOEither';
import {constVoid as undef} from 'fp-ts/function';
import {pipe} from 'fp-ts/function';
import {Config, validate} from './validate';
// --- Constants
const DEFAULT_CONFIG: Partial<Config> = {
enabledBreadcrum... | 22.054422 | 76 | 0.637261 |
3ea94233dbcfdacc02d20a50c424c584c9c7369c | 204 | h | C | ML/TRProject/ViewController/Main/MainTabbar.h | mustCool/ML | 0eaa917a9ca380edfe48a8cc5bf5c5df85e95afb | [
"Apache-2.0"
] | null | null | null | ML/TRProject/ViewController/Main/MainTabbar.h | mustCool/ML | 0eaa917a9ca380edfe48a8cc5bf5c5df85e95afb | [
"Apache-2.0"
] | null | null | null | ML/TRProject/ViewController/Main/MainTabbar.h | mustCool/ML | 0eaa917a9ca380edfe48a8cc5bf5c5df85e95afb | [
"Apache-2.0"
] | null | null | null | //
// MainTabbar.h
// TRProject
//
// Created by Yang Xiong on 15/12/2016.
// Copyright ยฉ 2016 Tedu. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MainTabbar : UITabBarController
@end
| 14.571429 | 47 | 0.681373 |
9ab16b23186f2a167d921eafbbaa818c80915064 | 390 | lua | Lua | python/coppelia-robotics/scripts/robot_conextion_coppelia.lua | sebpadilla09/computer-vision-dojo | 4c55081c7ec37278d45f649e1f5109031f776a04 | [
"MIT"
] | null | null | null | python/coppelia-robotics/scripts/robot_conextion_coppelia.lua | sebpadilla09/computer-vision-dojo | 4c55081c7ec37278d45f649e1f5109031f776a04 | [
"MIT"
] | null | null | null | python/coppelia-robotics/scripts/robot_conextion_coppelia.lua | sebpadilla09/computer-vision-dojo | 4c55081c7ec37278d45f649e1f5109031f776a04 | [
"MIT"
] | null | null | null | function sysCall_init()
corout=coroutine.create(coroutineMain)
end
function sysCall_actuation()
if coroutine.status(corout)~='dead' then
local ok,errorMsg=coroutine.resume(corout)
if errorMsg then
error(debug.traceback(corout,errorMsg),2)
end
end
end
function coroutineM... | 17.727273 | 53 | 0.712821 |
cb42cfcf34286f263928c62add41118330c7dfc2 | 378 | sql | SQL | openGaussBase/testcase/KEYWORDS/state/Opengauss_Function_Keyword_State_Case0018.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/state/Opengauss_Function_Keyword_State_Case0018.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/state/Opengauss_Function_Keyword_State_Case0018.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint:opengaussๅ
ณ้ฎๅญstate(้ไฟ็)๏ผไฝไธบๆฐๆฎๅบๅ
--ๅ
ณ้ฎๅญไธๅธฆๅผๅท-ๆๅ
drop database if exists state;
create database state;
drop database state;
--ๅ
ณ้ฎๅญๅธฆๅๅผๅท-ๆๅ
drop database if exists "state";
create database "state";
drop database "state";
--ๅ
ณ้ฎๅญๅธฆๅๅผๅท-ๅ็ๆฅ้
drop database if exists 'state';
create database 'state';
--ๅ
ณ้ฎๅญๅธฆๅๅผๅท-ๅ็ๆฅ้
d... | 18 | 44 | 0.753968 |
2672108dec7bb552a2f059cddd840e0ae73ef397 | 327 | java | Java | src/main/java/br/com/zupacademy/ggwadera/transacoes/transacao/TransacaoRepository.java | ggwadera/orange-talents-04-template-transacao | 3e2f97f82f447aa705eb10bcecebb00992ddb4ed | [
"Apache-2.0"
] | null | null | null | src/main/java/br/com/zupacademy/ggwadera/transacoes/transacao/TransacaoRepository.java | ggwadera/orange-talents-04-template-transacao | 3e2f97f82f447aa705eb10bcecebb00992ddb4ed | [
"Apache-2.0"
] | null | null | null | src/main/java/br/com/zupacademy/ggwadera/transacoes/transacao/TransacaoRepository.java | ggwadera/orange-talents-04-template-transacao | 3e2f97f82f447aa705eb10bcecebb00992ddb4ed | [
"Apache-2.0"
] | null | null | null | package br.com.zupacademy.ggwadera.transacoes.transacao;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
import java.util.UUID;
public interface TransacaoRepository extends JpaRepository<Transacao, UUID> {
List<Transacao> findFirst10ByCartaoIdOrderByEfetivadaEmDesc(UUID carta... | 32.7 | 79 | 0.83792 |
169c57d1daeccfaa76a90b38fbfe76ce69c11af7 | 521 | c | C | Recursion/summation_1ton_recursion.c | roysammy123/C-programs | 260d669366f89989f7e4c0a0063319bf471b018d | [
"MIT"
] | 2 | 2022-01-16T15:49:14.000Z | 2022-01-20T07:41:05.000Z | Recursion/summation_1ton_recursion.c | roysammy123/C-Programs | 260d669366f89989f7e4c0a0063319bf471b018d | [
"MIT"
] | null | null | null | Recursion/summation_1ton_recursion.c | roysammy123/C-Programs | 260d669366f89989f7e4c0a0063319bf471b018d | [
"MIT"
] | null | null | null | // Program to find the summation of 1 to n using recursion
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
int summation(int n)
{
if(n==0)
{
return n;
}
else
{
return (n+summation(n-1));
}
}
int main()
{
int x;
printf("Enter the number upt... | 16.28125 | 73 | 0.545106 |
f1cf57e2aece7a195f85295f305cab24a35c2f78 | 402 | rb | Ruby | lib/dynalist.rb | 4geru/dynalist | 6372db8f520dfb0f4398185a5e02361d760b42df | [
"MIT"
] | 1 | 2020-12-14T22:57:22.000Z | 2020-12-14T22:57:22.000Z | lib/dynalist.rb | 4geru/dynalist | 6372db8f520dfb0f4398185a5e02361d760b42df | [
"MIT"
] | null | null | null | lib/dynalist.rb | 4geru/dynalist | 6372db8f520dfb0f4398185a5e02361d760b42df | [
"MIT"
] | null | null | null | require 'faraday'
require "dynalist/version"
require "dynalist/node"
require "dynalist/node_tree"
require "dynalist/base_file"
require "dynalist/file_tree"
require "dynalist/document"
require "dynalist/folder"
require "dynalist/base_api_client"
require "dynalist/file_api_client"
require "dynalist/node_api_client"
req... | 20.1 | 34 | 0.813433 |
75fcdba2f5d6b549d8eed501b10e9c4889018017 | 2,681 | php | PHP | app/Http/Controllers/FilmsController.php | salmakl/FilmReview | b6495339fd7704a3ee886789f93962bd880538a9 | [
"MIT"
] | null | null | null | app/Http/Controllers/FilmsController.php | salmakl/FilmReview | b6495339fd7704a3ee886789f93962bd880538a9 | [
"MIT"
] | null | null | null | app/Http/Controllers/FilmsController.php | salmakl/FilmReview | b6495339fd7704a3ee886789f93962bd880538a9 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Film;
use App\Comment;
use Illuminate\Http\Request;
class FilmsController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$films = Film::all();
... | 21.277778 | 79 | 0.531145 |
858680e6ac7f8a9cf1db4e072f48e879884a9522 | 3,378 | js | JavaScript | src/templates/tags.js | Mifaaws/gatsby-blog | 80a9e0e5d45565f5f4e07183a7f14be59a644c85 | [
"0BSD"
] | null | null | null | src/templates/tags.js | Mifaaws/gatsby-blog | 80a9e0e5d45565f5f4e07183a7f14be59a644c85 | [
"0BSD"
] | null | null | null | src/templates/tags.js | Mifaaws/gatsby-blog | 80a9e0e5d45565f5f4e07183a7f14be59a644c85 | [
"0BSD"
] | null | null | null | import * as React from "react"
import { Link, graphql } from "gatsby"
import Bio from "../components/bio"
import Layout from "../components/layout"
import Seo from "../components/seo"
const Tags = ({ data, location, pageContext }) => {
const siteTitle = data.site.siteMetadata?.title || `Title`
const posts = data.... | 27.688525 | 135 | 0.427176 |
c88f575a3910507ec74d2f71cc428ddfe7ef491e | 223 | rs | Rust | yuki/src/app/renderpasses/mod.rs | sndels/yuki | bac8c1530ecc03b2c9657cd4cbde91112fbf82a8 | [
"MIT"
] | null | null | null | yuki/src/app/renderpasses/mod.rs | sndels/yuki | bac8c1530ecc03b2c9657cd4cbde91112fbf82a8 | [
"MIT"
] | null | null | null | yuki/src/app/renderpasses/mod.rs | sndels/yuki | bac8c1530ecc03b2c9657cd4cbde91112fbf82a8 | [
"MIT"
] | null | null | null | mod ray_visualization;
mod scale_output;
mod tonemap;
pub use ray_visualization::RayVisualization;
pub use scale_output::ScaleOutput;
pub use tonemap::{find_min_max, FilmicParams, HeatmapParams, ToneMapFilm, ToneMapType};
| 27.875 | 87 | 0.829596 |
1f981c9f387c39b78f8645a276e9c13e66657046 | 1,186 | html | HTML | LaTeX/Overleaf/Academic Journals and Articles/Journal-of-Object-Technology/Files/jot-latex-template/README.html | rubenandrebarreiro/tex-paper-articles-journals-templates | 28c9c88198a047c32996c9515f3e60675b42be23 | [
"MIT"
] | 6 | 2019-05-12T00:51:08.000Z | 2022-03-11T05:33:59.000Z | LaTeX/Overleaf/Academic Journals and Articles/Journal-of-Object-Technology/Files/jot-latex-template/README.html | rubenandrebarreiro/tex-paper-articles-journals-templates | 28c9c88198a047c32996c9515f3e60675b42be23 | [
"MIT"
] | null | null | null | LaTeX/Overleaf/Academic Journals and Articles/Journal-of-Object-Technology/Files/jot-latex-template/README.html | rubenandrebarreiro/tex-paper-articles-journals-templates | 28c9c88198a047c32996c9515f3e60675b42be23 | [
"MIT"
] | null | null | null | <h1 id="class_and_template_files_for_the_journal_of_object_technology">Class and template files for the Journal of Object Technology</h1>
<p>This package provides the LaTeX files necessary to typeset articles for submission to the <a href="http://www.jot.fm">Journal of Object Technology (JOT)</a>.</p>
<h2 id="quick_s... | 51.565217 | 218 | 0.741147 |
0bab9c96a95c9a1b5bf24f9a433d56e2555e1a77 | 392 | py | Python | simulation/strategies/bucketing.py | kantai/hyperbolic-caching | 884c466c311bb5b9fbdd09791d829b04032f3947 | [
"MIT"
] | 15 | 2017-07-13T17:30:01.000Z | 2021-05-18T11:51:13.000Z | simulation/strategies/bucketing.py | kantai/hyperbolic-caching | 884c466c311bb5b9fbdd09791d829b04032f3947 | [
"MIT"
] | null | null | null | simulation/strategies/bucketing.py | kantai/hyperbolic-caching | 884c466c311bb5b9fbdd09791d829b04032f3947 | [
"MIT"
] | 6 | 2017-07-13T21:09:04.000Z | 2021-04-12T15:22:57.000Z | class AveragingBucketUpkeep:
def __init__(self):
self.numer = 0.0
self.denom = 0
def add_cost(self, cost):
self.numer += cost
self.denom += 1
return self.numer / self.denom
def rem_cost(self, cost):
self.numer -= cost
self.denom -= 1
if self.... | 23.058824 | 38 | 0.543367 |
28a2ff8bb30cf42ef8c85e9af525806eb9e36786 | 9,022 | kt | Kotlin | pubsub/src/main/kotlin/glitch/pubsub/PubSubConverter.kt | stachu540/glitch | 81283227ee6c3b63866fe1371959a72f8b0d2640 | [
"MIT"
] | 16 | 2018-09-18T09:32:34.000Z | 2022-01-11T12:28:00.000Z | pubsub/src/main/kotlin/glitch/pubsub/PubSubConverter.kt | stachu540/glitch | 81283227ee6c3b63866fe1371959a72f8b0d2640 | [
"MIT"
] | 32 | 2018-09-17T09:00:34.000Z | 2020-07-09T20:38:41.000Z | pubsub/src/main/kotlin/glitch/pubsub/PubSubConverter.kt | stachu540/glitch | 81283227ee6c3b63866fe1371959a72f8b0d2640 | [
"MIT"
] | 5 | 2018-09-21T23:42:39.000Z | 2020-12-05T19:58:48.000Z | package glitch.pubsub
import com.google.gson.*
import com.google.gson.annotations.JsonAdapter
import com.google.gson.stream.JsonReader
import com.google.gson.stream.JsonWriter
import glitch.api.ws.IEventConverter
import glitch.api.ws.events.IEvent
import glitch.api.ws.events.PingEvent
import glitch.api.ws.events.PongE... | 46.266667 | 140 | 0.648858 |
92f453985288730c9c6d4c2078fe0f58e5886811 | 2,467 | h | C | SphereToTriangle/SphereToTriangle/EDCommon.h | Cabrra/Advanced-Algorithms | 062c469e575ef18ce22dc5320be3188dbe3b409d | [
"MIT"
] | null | null | null | SphereToTriangle/SphereToTriangle/EDCommon.h | Cabrra/Advanced-Algorithms | 062c469e575ef18ce22dc5320be3188dbe3b409d | [
"MIT"
] | null | null | null | SphereToTriangle/SphereToTriangle/EDCommon.h | Cabrra/Advanced-Algorithms | 062c469e575ef18ce22dc5320be3188dbe3b409d | [
"MIT"
] | null | null | null | #ifndef _EDCOMMON_H_
#define _EDCOMMON_H_
#include <windows.h>
#include <queue>
using namespace std;
#include "matrix4.h"
static vec3f worldX( 1.0f, 0.0f, 0.0f );
static vec3f worldY( 0.0f, 1.0f, 0.0f );
static vec3f worldZ( 0.0f, 0.0f, 1.0f );
// OrthoNormalInverse
//
// Fast inverse calculation of a 4x4 matrix t... | 25.173469 | 117 | 0.703283 |