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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7b7673c2f6dbb1a4c53785cc377ab707c2d08afc | 5,082 | css | CSS | scss/themes/okra/fonts/oktaneue/oktaneue.css | edisim/apiscp-bootstrap-sdk | 42d5f47e260351226a6342c027104f1363f81e73 | [
"MIT"
] | null | null | null | scss/themes/okra/fonts/oktaneue/oktaneue.css | edisim/apiscp-bootstrap-sdk | 42d5f47e260351226a6342c027104f1363f81e73 | [
"MIT"
] | null | null | null | scss/themes/okra/fonts/oktaneue/oktaneue.css | edisim/apiscp-bootstrap-sdk | 42d5f47e260351226a6342c027104f1363f81e73 | [
"MIT"
] | null | null | null | @font-face {
font-family: 'Okta Neue';
src: url('OktaNeue-BlackItalic.woff2') format('woff2'),
url('OktaNeue-BlackItalic.woff') format('woff');
font-weight: 900;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Okta Neue';
src: url('OktaNeue-Black.woff2') format(... | 25.537688 | 64 | 0.622983 |
08986b8543134415c990df2b13e78433f32b9ef9 | 410 | swift | Swift | AppilfTool/Managers/AppilfToolManager.swift | alperengezgin/AppilfTool | c542a7af6fca2e3d812f89457bc0c40a8b85432f | [
"MIT"
] | null | null | null | AppilfTool/Managers/AppilfToolManager.swift | alperengezgin/AppilfTool | c542a7af6fca2e3d812f89457bc0c40a8b85432f | [
"MIT"
] | null | null | null | AppilfTool/Managers/AppilfToolManager.swift | alperengezgin/AppilfTool | c542a7af6fca2e3d812f89457bc0c40a8b85432f | [
"MIT"
] | null | null | null | //
// AppilfToolManager.swift
// AppilfTool
//
// Created by Steve Cooper on 2.02.2022.
//
import Foundation
import SVProgressHUD
class AppilfToolManager {
let sharedInstance = AppilfToolManager()
private init() {
}
func add(number1: Int, number2: Int) {
let result = numb... | 17.083333 | 58 | 0.62439 |
d1b93711e70ce3c6de6ab7cd387a7081a626b0a4 | 12,530 | rs | Rust | simple-dns/src/dns/mod.rs | Disasm/simple-dns | 64248bae1f4a0e075cd1800ab9159cb1370cbff7 | [
"MIT"
] | 9 | 2021-06-02T12:33:10.000Z | 2021-11-25T20:25:40.000Z | simple-dns/src/dns/mod.rs | Disasm/simple-dns | 64248bae1f4a0e075cd1800ab9159cb1370cbff7 | [
"MIT"
] | 3 | 2021-07-31T10:33:19.000Z | 2022-01-29T22:22:17.000Z | simple-dns/src/dns/mod.rs | Disasm/simple-dns | 64248bae1f4a0e075cd1800ab9159cb1370cbff7 | [
"MIT"
] | 4 | 2021-09-07T14:51:17.000Z | 2022-02-18T06:39:42.000Z | //! Provides parsing and manipulation for DNS packets
mod character_string;
mod name;
mod packet;
mod packet_header;
mod question;
pub mod rdata;
mod resource_record;
use std::{collections::HashMap, convert::TryFrom};
pub use character_string::CharacterString;
pub use name::Name;
pub use packet::{Packet, PacketBuf, ... | 34.902507 | 135 | 0.58739 |
21df9703106d11fd3eca77e52a588924db4ba4a7 | 30,660 | html | HTML | Instructor/views/home.html | jsndc99/Inertia_ByteCamp_2020 | 8f0edf42847e09d8ba3ca570a35e12e091595f2f | [
"MIT"
] | null | null | null | Instructor/views/home.html | jsndc99/Inertia_ByteCamp_2020 | 8f0edf42847e09d8ba3ca570a35e12e091595f2f | [
"MIT"
] | 2 | 2020-02-22T15:19:49.000Z | 2020-02-23T06:40:33.000Z | Instructor/views/home.html | jsndc99/Inertia_ByteCamp_2020 | 8f0edf42847e09d8ba3ca570a35e12e091595f2f | [
"MIT"
] | 3 | 2020-03-12T15:51:16.000Z | 2020-04-03T15:10:20.000Z | <html lang="en">
<head>
<meta charset="UTF-8">
<title>Dashboard</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="style... | 26.005089 | 213 | 0.565297 |
55854c051df5091b848b74357ad867dbeb636981 | 2,054 | html | HTML | demo.html | stottle-uk/stottle-social-pocket | eca7afc09a7a54078b59dd3b7f504077c9a7ad5a | [
"MIT"
] | null | null | null | demo.html | stottle-uk/stottle-social-pocket | eca7afc09a7a54078b59dd3b7f504077c9a7ad5a | [
"MIT"
] | null | null | null | demo.html | stottle-uk/stottle-social-pocket | eca7afc09a7a54078b59dd3b7f504077c9a7ad5a | [
"MIT"
] | null | null | null | The demands on business to create a strong powerful presence on social media in todays market in increasingly more and more draining on small to medium size businesses and startups who are put off by the idea of recruiting expensive social media experts to manage their social media presence on line.
What if we could ... | 146.714286 | 501 | 0.824245 |
3e3041d5214918d9f44fad8b0a436a42c0db525b | 934 | h | C | Tunnel/SSPacketTunnelProvider.h | iRemark/SSTestKit | f85eb522fd985a6fe300d28e96c9283ea3977499 | [
"MIT"
] | 2 | 2019-09-08T13:09:08.000Z | 2019-09-10T03:03:39.000Z | Tunnel/SSPacketTunnelProvider.h | iRemark/SSTestKit | f85eb522fd985a6fe300d28e96c9283ea3977499 | [
"MIT"
] | null | null | null | Tunnel/SSPacketTunnelProvider.h | iRemark/SSTestKit | f85eb522fd985a6fe300d28e96c9283ea3977499 | [
"MIT"
] | 3 | 2020-04-17T08:05:52.000Z | 2021-03-24T21:57:37.000Z | //
// PacketTunnelProvider.h
// tunnel
//
// Created by xiaoyu on 2018/9/26.
// Copyright © 2018年 xiaoyu. All rights reserved.
//
@import NetworkExtension;
@protocol SSPacketTunnelProviderProtocol <NSObject>
- (void)customCancelTunnelWithError:(nullable NSError *)error;
- (void)customSetTunnelNetworkSettings:... | 29.1875 | 181 | 0.782655 |
52f4b4809d5b9283d35a309f086892764afc5863 | 845 | kt | Kotlin | src/main/kotlin/com/flaidzeres/hid4kotlin/Example.kt | DmitriyGovorukhin/project-H | 29c9c1146cc033d8be942599cbc5df692e11cccc | [
"MIT"
] | null | null | null | src/main/kotlin/com/flaidzeres/hid4kotlin/Example.kt | DmitriyGovorukhin/project-H | 29c9c1146cc033d8be942599cbc5df692e11cccc | [
"MIT"
] | null | null | null | src/main/kotlin/com/flaidzeres/hid4kotlin/Example.kt | DmitriyGovorukhin/project-H | 29c9c1146cc033d8be942599cbc5df692e11cccc | [
"MIT"
] | null | null | null | package com.flaidzeres.hid4kotlin
import java.nio.ByteBuffer
import java.util.*
fun main(args: Array<String>) {
val lsnr = object : HidDeviceListener {
override fun onConnect(d: HidDevice) {
println("Connected: $d")
}
override fun onDisconnect(d: HidDevice) {
print... | 18.777778 | 49 | 0.474556 |
8816810c381d761cfcd59fbab3e6a5c9fc679c00 | 492 | swift | Swift | Example/EFKeyboardToolBar/UIColor+.swift | EyreFree/EFKeyboardToolBar | f161119a9c06272ddad6519e533c467e403ef8ad | [
"MIT"
] | 3 | 2018-09-12T00:59:22.000Z | 2018-09-26T09:27:26.000Z | Example/EFKeyboardToolBar/UIColor+.swift | EyreFree/EFKeyboardToolBar | f161119a9c06272ddad6519e533c467e403ef8ad | [
"MIT"
] | null | null | null | Example/EFKeyboardToolBar/UIColor+.swift | EyreFree/EFKeyboardToolBar | f161119a9c06272ddad6519e533c467e403ef8ad | [
"MIT"
] | null | null | null | //
// UIColor+.swift
// EFKeyboardToolBar_Example
//
// Created by EyreFree on 2018/9/11.
// Copyright © 2018年 CocoaPods. All rights reserved.
//
import UIKit
extension UIColor {
convenience init(valueRGB: UInt, alpha: CGFloat = 1.0) {
self.init(
red: CGFloat((valueRGB & 0xFF0000) >> 16) ... | 22.363636 | 63 | 0.579268 |
1e4c4c9dceae483cf6bf304b3983f47812f34a2b | 708 | css | CSS | assets/public/css/responsive.css | vinhan16sep/thienlocxuan | 770e5ff339a71a917d738bc837709675b2d3fb4f | [
"MIT"
] | null | null | null | assets/public/css/responsive.css | vinhan16sep/thienlocxuan | 770e5ff339a71a917d738bc837709675b2d3fb4f | [
"MIT"
] | null | null | null | assets/public/css/responsive.css | vinhan16sep/thienlocxuan | 770e5ff339a71a917d738bc837709675b2d3fb4f | [
"MIT"
] | null | null | null | @media(max-width:768px){
.logo{
text-align:center;
}
.nav_bar ul{
}
#slide_top{
}
#slide_top img{
}
#slide_top .carousel-inner{
}
.content_title {
padding-right: 15px;
text-align: left;
}
.line{
margin-left: 0;
}
.nav_bar .sub_menu_hover {
font-siz... | 11.419355 | 47 | 0.55226 |
f8703492f913e10dd39278f18d9de20ef7b1a40f | 4,388 | sql | SQL | src/ecis_extraction/sql/functions/ecis_enrollment_extraction.sql | ctoec/oec-data-tools | 775d565bcffd8c090651cf200c401bb6b73460d7 | [
"CC0-1.0"
] | null | null | null | src/ecis_extraction/sql/functions/ecis_enrollment_extraction.sql | ctoec/oec-data-tools | 775d565bcffd8c090651cf200c401bb6b73460d7 | [
"CC0-1.0"
] | 17 | 2020-05-14T15:08:30.000Z | 2021-01-15T21:26:06.000Z | src/ecis_extraction/sql/functions/ecis_enrollment_extraction.sql | ctoec/oec-data-tools | 775d565bcffd8c090651cf200c401bb6b73460d7 | [
"CC0-1.0"
] | null | null | null | select
Student.Student.Id as StudentId,
Student.Enrollment.Id as EnrollmentId,
CAST(Student.Enrollment.EnrollmentDate as DATE) as EnrollmentDate,
CAST(Student.Enrollment.FacilityExitDate as DATE) as FacilityExitDate,
Universal.Agency.Name,
Universal.Agency.Id as FacilityId,
... | 78.357143 | 949 | 0.799681 |
864ca8cb7eee0cfacc4b0f5596c447d9d519730d | 2,591 | rs | Rust | src/codegen/method.rs | gaoqiangz/pbni-rs | 0809edd7fcc2d7263d21de9e1a05584c6e249e35 | [
"BSD-2-Clause"
] | 10 | 2021-06-08T01:15:12.000Z | 2022-02-22T09:58:27.000Z | src/codegen/method.rs | yishuixuanyuan/pbni-rs | 0809edd7fcc2d7263d21de9e1a05584c6e249e35 | [
"BSD-2-Clause"
] | 1 | 2021-06-09T07:31:04.000Z | 2021-06-10T12:15:16.000Z | src/codegen/method.rs | yishuixuanyuan/pbni-rs | 0809edd7fcc2d7263d21de9e1a05584c6e249e35 | [
"BSD-2-Clause"
] | 1 | 2022-02-22T09:57:53.000Z | 2022-02-22T09:57:53.000Z | use crate::{callinfo::FromCallInfo, value::ToValue, *};
/// 通用函数调用的抽象工厂
pub trait Factory<CTX, T, R> {
fn call(&self, ctx: CTX, param: T) -> R;
}
/// 通过抽象工厂接口反射调用函数
#[doc(hidden)]
pub fn factory_call<'ci, CTX, F, T, R>(f: F, ctx: CTX, ci: &CallInfoRef<'ci>) -> Result<()>
where
F: Factory<CTX, T, R>,
T: Fr... | 36.492958 | 144 | 0.40988 |
992730b2bf5972cc6825703e12f1424c4a7a2cac | 5,664 | c | C | nitan/inherit/room/demonroom.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | 1 | 2019-03-27T07:25:16.000Z | 2019-03-27T07:25:16.000Z | nitan/inherit/room/demonroom.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | nitan/inherit/room/demonroom.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | // demonroom.c
// 怪物練級房間
// n_time 怪物刷新時間
// n_npc 怪物刷新數量
// n_max_npc 房間容納最多怪物數量,即一次最多刷新多少個怪物
// s_npc 怪物種類,文件路徑
// n_av_refresh 平均刷新速率
// 一個房間只能定義一種怪物
#include <ansi.h>
inherit ROOM;
// 計算刷新速率的間隔時間
// 每過一段時間通過一定算法計算刷新速率
#define COUNT_REFRESH_TIME 45
void start_heart_beat()
{
// 默認為心跳1
... | 33.317647 | 123 | 0.413489 |
24bacb54581bada777c5c7e896b4db9ee14b6d50 | 798 | sql | SQL | ProjektZaliczeniowy/ProjektZaliczeniowy/HR/Tables/Pracownicy_Zespoly.sql | Nitril/ProjektZ_11166 | 00ae03f81a458a793428725395008a439f859892 | [
"MIT"
] | null | null | null | ProjektZaliczeniowy/ProjektZaliczeniowy/HR/Tables/Pracownicy_Zespoly.sql | Nitril/ProjektZ_11166 | 00ae03f81a458a793428725395008a439f859892 | [
"MIT"
] | null | null | null | ProjektZaliczeniowy/ProjektZaliczeniowy/HR/Tables/Pracownicy_Zespoly.sql | Nitril/ProjektZ_11166 | 00ae03f81a458a793428725395008a439f859892 | [
"MIT"
] | null | null | null | CREATE TABLE [HR].[Pracownicy_Zespoly] (
[Przypisanie_Id] INT IDENTITY (1, 1) NOT NULL,
[Zespol_Id] INT CONSTRAINT [DF_Zespol_Id_Pracownicy_Zespoly] DEFAULT ((-1)) NOT NULL,
[Pracownik_Id] INT CONSTRAINT [DF_Pracownik_Id_Pracownicy_Zespoly] DEFAULT ((-1)) NOT NULL... | 57 | 170 | 0.713033 |
22e043a27e132bf5195a00c3620fb0719f65bf10 | 6,232 | kt | Kotlin | frontend/android/app/src/main/java/app/cyla/auth/AndroidEnclave.kt | cyla-app/cyla-app | 9ecd8b30e4250946d7ef81cf31b9999d20f2d7dc | [
"MIT"
] | 2 | 2020-12-01T08:25:52.000Z | 2021-07-10T15:21:03.000Z | frontend/android/app/src/main/java/app/cyla/auth/AndroidEnclave.kt | cyla-app/cyla-app | 9ecd8b30e4250946d7ef81cf31b9999d20f2d7dc | [
"MIT"
] | 27 | 2021-01-02T17:32:16.000Z | 2022-02-27T11:29:48.000Z | frontend/android/app/src/main/java/app/cyla/auth/AndroidEnclave.kt | cyla-app/cyla-app | 9ecd8b30e4250946d7ef81cf31b9999d20f2d7dc | [
"MIT"
] | null | null | null | package app.cyla.auth
import android.app.KeyguardManager
import android.content.Context
import android.security.keystore.KeyGenParameterSpec
import android.security.keystore.KeyProperties
import android.security.keystore.UserNotAuthenticatedException
import android.util.Log
import android.widget.Toast
import androidx.... | 41.546667 | 108 | 0.68389 |
0be05d4a2cf8a6a79eafd93aa3b055ae54cbe534 | 5,435 | js | JavaScript | lib/nontree.js | calvinmetcalf/nontree | 66b161dfb5c560e7f02366a91a095aacf106e41e | [
"MIT"
] | 2 | 2015-07-02T21:49:36.000Z | 2017-12-13T15:24:26.000Z | lib/nontree.js | calvinmetcalf/nontree | 66b161dfb5c560e7f02366a91a095aacf106e41e | [
"MIT"
] | null | null | null | lib/nontree.js | calvinmetcalf/nontree | 66b161dfb5c560e7f02366a91a095aacf106e41e | [
"MIT"
] | null | null | null | 'use strict';
function getMid(box) {
var dif = [(box[2]-box[0])/3,(box[3]-box[1])/3];
return [[box[0]+dif[0],box[1]+dif[1]],[box[2]-dif[0],box[3]-dif[1]]];
}
var tiles = [
['a','b','c'],
['f','e','d'],
['g','h','i']
];
function whichNon(coord, mid, prev) {
var x,y;
if (coord[0] < mid[0][0]) {
x = 0;
... | 20.12963 | 93 | 0.478013 |
7e756a0852a1c7306d52450129b5223e7518c97d | 562 | kt | Kotlin | runtime/runtime-core/jvm/src/aws/smithy/kotlin/runtime/content/FileContent.kt | AlexandreBrown/smithy-kotlin | 1a194904d84cc51f3c65836dad3a789879028a9c | [
"Apache-2.0"
] | 9 | 2021-08-31T14:12:27.000Z | 2022-03-17T13:36:48.000Z | runtime/runtime-core/jvm/src/aws/smithy/kotlin/runtime/content/FileContent.kt | AlexandreBrown/smithy-kotlin | 1a194904d84cc51f3c65836dad3a789879028a9c | [
"Apache-2.0"
] | 135 | 2021-08-30T16:34:03.000Z | 2022-03-31T21:26:17.000Z | runtime/runtime-core/jvm/src/aws/smithy/kotlin/runtime/content/FileContent.kt | AlexandreBrown/smithy-kotlin | 1a194904d84cc51f3c65836dad3a789879028a9c | [
"Apache-2.0"
] | 6 | 2021-09-05T22:28:25.000Z | 2022-02-28T17:15:01.000Z | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
package aws.smithy.kotlin.runtime.content
import aws.smithy.kotlin.runtime.io.SdkByteReadChannel
import aws.smithy.kotlin.runtime.io.readChannel
import java.io.File
/**
* ByteStream backed by a local... | 23.416667 | 69 | 0.729537 |
85f581f375f77ea3e30cf5d65982382d9a7b072d | 27,727 | c | C | src/main.c | JocelynTissot/Temps_solaire_vrai_Pebble | 35b2d84fb59ef5f183ef85bba6c9b2ea40e1fac6 | [
"MIT"
] | null | null | null | src/main.c | JocelynTissot/Temps_solaire_vrai_Pebble | 35b2d84fb59ef5f183ef85bba6c9b2ea40e1fac6 | [
"MIT"
] | null | null | null | src/main.c | JocelynTissot/Temps_solaire_vrai_Pebble | 35b2d84fb59ef5f183ef85bba6c9b2ea40e1fac6 | [
"MIT"
] | null | null | null | #include <pebble.h>
#include "my_math.h"
#include "reglages.h"
static Window *s_main_window;
static TextLayer *s_date_layer;
static TextLayer *s_time_layer;
static TextLayer *s_text_solar_layer;
static TextLayer *s_solar_layer;
static TextLayer *s_gmtime_layer;
static TextLayer *s_text_eot_layer;
static TextLayer *s... | 38.034294 | 199 | 0.736863 |
79d08b18ba2473041bc6f209b620bd4349b01f1c | 10,941 | asm | Assembly | Driver/Task/BNF/bnfClipboard.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Driver/Task/BNF/bnfClipboard.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Driver/Task/BNF/bnfClipboard.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: bnfClipboard.asm
AUTHOR: Adam de Boor, Oct 7, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date ... | 23.836601 | 79 | 0.5898 |
afa3baeb2b87fa3777b2fad530ff191c22a12488 | 211 | rb | Ruby | db/migrate/20200308003708_add_address_to_vendors.rb | franklee26/appfolio-uber-for-vendors | fe048e8a2a79d48137382504ebd23b1bbccb441c | [
"MIT"
] | 2 | 2021-02-17T03:31:26.000Z | 2021-05-18T17:16:23.000Z | db/migrate/20200308003708_add_address_to_vendors.rb | franklee26/appfolio-scheduleme | fe048e8a2a79d48137382504ebd23b1bbccb441c | [
"MIT"
] | 13 | 2020-02-07T06:48:20.000Z | 2022-03-30T23:56:41.000Z | db/migrate/20200308003708_add_address_to_vendors.rb | franklee26/appfolio-uber-for-vendors | fe048e8a2a79d48137382504ebd23b1bbccb441c | [
"MIT"
] | null | null | null | class AddAddressToVendors < ActiveRecord::Migration[5.1]
def change
add_column :vendors, :street_address, :string
add_column :vendors, :city, :string
add_column :vendors, :state, :string
end
end
| 26.375 | 56 | 0.729858 |
0bb8e30ded6e839a96a8ac9f64f609621cb56e4a | 2,055 | py | Python | S4/S4 Library/simulation/careers/pick_career_by_agent_interaction.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | 1 | 2021-05-20T19:33:37.000Z | 2021-05-20T19:33:37.000Z | S4/S4 Library/simulation/careers/pick_career_by_agent_interaction.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Library/simulation/careers/pick_career_by_agent_interaction.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | from event_testing.resolver import SingleSimResolver
from sims4.resources import Types
from sims4.tuning.tunable import TunableList, TunableReference
from sims4.tuning.tunable_base import GroupNames
from traits.trait_tracker import TraitPickerSuperInteraction
import services
class PickCareerByAgentInteraction(TraitPic... | 60.441176 | 583 | 0.734793 |
3e60e4f68522e090b96096c93e905b0c7e044bc0 | 4,873 | c | C | test/test-audio.c | Chreece/bluez-alsa | 6950e8bb26c471436ba4dc6a2c412a998cffafdf | [
"MIT"
] | null | null | null | test/test-audio.c | Chreece/bluez-alsa | 6950e8bb26c471436ba4dc6a2c412a998cffafdf | [
"MIT"
] | null | null | null | test/test-audio.c | Chreece/bluez-alsa | 6950e8bb26c471436ba4dc6a2c412a998cffafdf | [
"MIT"
] | null | null | null | /*
* test-audio.c
* Copyright (c) 2016-2022 Arkadiusz Bokowy
*
* This file is a part of bluez-alsa.
*
* This project is licensed under the terms of the MIT license.
*
*/
#include <stdint.h>
#include <string.h>
#include <check.h>
#include "audio.h"
#include "shared/defs.h"
START_TEST(test_audio_interleave_de... | 32.925676 | 93 | 0.702852 |
6460ebace85553801a2c132e1939986bd44031d2 | 571 | kt | Kotlin | app/src/main/java/com/github/frapontillo/babylon/list/PostViewHolder.kt | frapontillo/babylon-test | 477b8a7735037203dd510d060d440432be49ffc0 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/github/frapontillo/babylon/list/PostViewHolder.kt | frapontillo/babylon-test | 477b8a7735037203dd510d060d440432be49ffc0 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/github/frapontillo/babylon/list/PostViewHolder.kt | frapontillo/babylon-test | 477b8a7735037203dd510d060d440432be49ffc0 | [
"Apache-2.0"
] | null | null | null | package com.github.frapontillo.babylon.list
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import kotlinx.android.extensions.LayoutContainer
import kotlinx.android.synthetic.main.post_list_item.*
class PostViewHolder(override val containerView: View, private val onPostSelected: OnPostSelect... | 33.588235 | 100 | 0.782837 |
22c9b70c40988e963f3e2cc165beefb9b5fe0d16 | 585 | swift | Swift | TwitterDemo/ViewController.swift | JaberJanati/Twitter | 54306991991eada9350ee8a2f5a4bfdb1310b292 | [
"Apache-2.0"
] | null | null | null | TwitterDemo/ViewController.swift | JaberJanati/Twitter | 54306991991eada9350ee8a2f5a4bfdb1310b292 | [
"Apache-2.0"
] | 3 | 2016-02-29T02:13:55.000Z | 2016-03-23T19:16:02.000Z | TwitterDemo/ViewController.swift | JaberJanati/Twitter | 54306991991eada9350ee8a2f5a4bfdb1310b292 | [
"Apache-2.0"
] | null | null | null | //
// ViewController.swift
// TwitterDemo
//
// Created by The Boss on 2/28/16.
// Copyright © 2016 The Boss. All rights reserved.
//
import UIKit
import BDBOAuth1Manager
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup afte... | 20.172414 | 80 | 0.675214 |
b1a92ac07ae8637364b1c8c27c10b2a936429543 | 4,678 | h | C | src/solvers.h | dparo/master-thesis | 1580e1566e17ff3103da134b7368de9bf613fcd6 | [
"MIT"
] | 1 | 2022-01-07T15:17:35.000Z | 2022-01-07T15:17:35.000Z | src/solvers.h | dparo/master-thesis | 1580e1566e17ff3103da134b7368de9bf613fcd6 | [
"MIT"
] | 10 | 2021-12-22T11:09:06.000Z | 2022-01-09T13:17:29.000Z | src/solvers.h | dparo/master-thesis | 1580e1566e17ff3103da134b7368de9bf613fcd6 | [
"MIT"
] | 1 | 2021-11-04T13:54:04.000Z | 2021-11-04T13:54:04.000Z | /*
* Copyright (c) 2021 Davide Paro
*
* 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, publish... | 48.226804 | 80 | 0.663531 |
87bf54b05f31067ed5ba7a7751b4fa4f75579f2c | 5,097 | swift | Swift | Pomme's Adventure Shared/PhysicsContact.swift | renaudjenny/Pomme-s-Adventure | 6403ae56b1cdaf28de0517af318fd7e7bda7908f | [
"MIT"
] | 2 | 2021-03-12T12:13:00.000Z | 2021-03-13T19:11:55.000Z | Pomme's Adventure Shared/PhysicsContact.swift | renaudjenny/Pomme-s-Adventure | 6403ae56b1cdaf28de0517af318fd7e7bda7908f | [
"MIT"
] | null | null | null | Pomme's Adventure Shared/PhysicsContact.swift | renaudjenny/Pomme-s-Adventure | 6403ae56b1cdaf28de0517af318fd7e7bda7908f | [
"MIT"
] | null | null | null | import SpriteKit
final class PhysicsContact: NSObject, SKPhysicsContactDelegate {
let collisionBetweenMovePlayerAreaAndPlayer: () -> Void
let borderNode: SKNode
let groundNode: SKNode
let playerNode: SKNode
let ballHit: (SKNode) -> Void
let playerTouched: (SKNode) -> Void
let bubbleTouched... | 35.643357 | 126 | 0.596429 |
8ec2bfc70cd98f1b965e315bed998a8f4057789e | 641 | rb | Ruby | lib/terminal_output/styling/trait/color/reverse_video.rb | ntl/ansi-formatting | 8b11b39a6dcab1bbef314af6988711efa5eee9ce | [
"MIT"
] | null | null | null | lib/terminal_output/styling/trait/color/reverse_video.rb | ntl/ansi-formatting | 8b11b39a6dcab1bbef314af6988711efa5eee9ce | [
"MIT"
] | null | null | null | lib/terminal_output/styling/trait/color/reverse_video.rb | ntl/ansi-formatting | 8b11b39a6dcab1bbef314af6988711efa5eee9ce | [
"MIT"
] | null | null | null | module TerminalOutput
module Styling
module Trait
module Color
module ReverseVideo
extend Trait
def self.variant?(variant)
codes.key?(variant)
end
def self.get(variant)
codes[variant]
end
def self.default_code
... | 18.314286 | 54 | 0.466459 |
70c6ca43ae37583fe930a547cd92297eeebf44a9 | 2,410 | kt | Kotlin | line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/Kaggle.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 230 | 2020-11-11T14:52:11.000Z | 2022-03-31T05:04:52.000Z | line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/Kaggle.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 17 | 2021-03-02T00:00:32.000Z | 2022-03-02T16:01:03.000Z | line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/Kaggle.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 18 | 2021-02-08T06:18:41.000Z | 2022-03-22T21:48:23.000Z | package compose.icons.lineawesomeicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
... | 44.62963 | 93 | 0.594191 |
e72934bdb603f2cf4c15358bc7918d03f6b29e82 | 186 | js | JavaScript | config/index.js | sebastianpodda/sardcoin-core | 2a0ed61cd313acc4d48f004dfa84266fa44a8db1 | [
"MIT",
"X11",
"Unlicense"
] | null | null | null | config/index.js | sebastianpodda/sardcoin-core | 2a0ed61cd313acc4d48f004dfa84266fa44a8db1 | [
"MIT",
"X11",
"Unlicense"
] | 1 | 2021-05-07T11:44:21.000Z | 2021-05-07T11:44:21.000Z | config/index.js | sebastianpodda/sardcoin-core | 2a0ed61cd313acc4d48f004dfa84266fa44a8db1 | [
"MIT",
"X11",
"Unlicense"
] | null | null | null | 'use strict';
/**
* Module dependencies.
*/
const path = require('path');
const defaults = {
root: path.join(__dirname, '..'),
};
/**
* Expose
*/
module.exports = defaults; | 10.333333 | 37 | 0.580645 |
1898fe3e322e6261aa95b0c5773c187fbc0d00bc | 1,813 | kt | Kotlin | data/src/main/java/at/guger/moneybook/data/repository/RemindersRepository.kt | guger/MoneyBook | d835994ea77db07119cc5e4a32299adda2357661 | [
"Apache-2.0"
] | 13 | 2020-01-31T21:30:50.000Z | 2022-02-28T09:38:01.000Z | data/src/main/java/at/guger/moneybook/data/repository/RemindersRepository.kt | guger/MoneyBook | d835994ea77db07119cc5e4a32299adda2357661 | [
"Apache-2.0"
] | 56 | 2019-08-27T11:33:34.000Z | 2022-02-15T10:32:01.000Z | data/src/main/java/at/guger/moneybook/data/repository/RemindersRepository.kt | guger/MoneyBook | d835994ea77db07119cc5e4a32299adda2357661 | [
"Apache-2.0"
] | 1 | 2020-04-19T09:28:24.000Z | 2020-04-19T09:28:24.000Z | /*
* Copyright 2021 Daniel Guger
*
* 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 appli... | 29.721311 | 79 | 0.692774 |
85d5fd76754ac4c1a3400af094cbf46ddf963cac | 1,092 | js | JavaScript | src/staff/components/OrgEditModal.js | Popov85/ratos3-frontend | 017a433f89faed10733c3d961f93e0fb0a9bfe59 | [
"MIT"
] | null | null | null | src/staff/components/OrgEditModal.js | Popov85/ratos3-frontend | 017a433f89faed10733c3d961f93e0fb0a9bfe59 | [
"MIT"
] | null | null | null | src/staff/components/OrgEditModal.js | Popov85/ratos3-frontend | 017a433f89faed10733c3d961f93e0fb0a9bfe59 | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
import Modal from "react-bootstrap/Modal";
import {Alert} from "react-bootstrap";
import OrgEditContainer from "../containers/OrgEditContainer";
const OrgEditModal = props => {
const {editableOrgId} = props;
return (
<Modal
id... | 28.736842 | 114 | 0.577839 |
4100fcac1b71200cd34bda2d68966cace9e69413 | 1,210 | c | C | Tute04.c | IT1050-2022-Feb/tutorial-01-IT21285738 | 8021f3d96c31d5615ccaf60e804e28322499f254 | [
"MIT"
] | null | null | null | Tute04.c | IT1050-2022-Feb/tutorial-01-IT21285738 | 8021f3d96c31d5615ccaf60e804e28322499f254 | [
"MIT"
] | null | null | null | Tute04.c | IT1050-2022-Feb/tutorial-01-IT21285738 | 8021f3d96c31d5615ccaf60e804e28322499f254 | [
"MIT"
] | null | null | null | /*Exercise 4 - Functions
Implement the three functions minimum(), maximum() and multiply() below the main() function.
Do not change the code given in the main() function when you are implementing your solution.*/
#include <stdio.h>
//declaring Functions
int minimum(int num1 , int num2);
int maximum(int num1 , int n... | 18.059701 | 94 | 0.612397 |
28f316df8fb0051c1cf38a2591d808e1986a3b2b | 1,898 | rb | Ruby | src/in.rb | medoror/binary-resource | bbe14617d5830e189fa31e36544734a7a00a3bea | [
"Apache-2.0"
] | 1 | 2020-05-12T22:05:35.000Z | 2020-05-12T22:05:35.000Z | src/in.rb | medoror/binary-resource | bbe14617d5830e189fa31e36544734a7a00a3bea | [
"Apache-2.0"
] | null | null | null | src/in.rb | medoror/binary-resource | bbe14617d5830e189fa31e36544734a7a00a3bea | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env ruby
require_relative './payload'
require 'fileutils'
require_relative './http_client'
# puts __FILE__
# puts $PROGRAM_NAME
class In < Payload
# STDIN:
# {
# "source": {
# "repo": "pivotal-cf/om",
# "tag": "4.6.0"
# },
# "version": { "version": "4.6.0" }
# }
#
# STD... | 23.432099 | 106 | 0.651212 |
7bb0c09dd29c3345d482ee89a9d19e9f15a4e03b | 53 | css | CSS | snippets/common/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlHeadCstr/Common/StyleSheet.css | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-02-22T09:30:21.000Z | 2021-08-02T23:44:31.000Z | snippets/common/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlHeadCstr/Common/StyleSheet.css | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 555 | 2019-09-23T22:22:58.000Z | 2021-07-15T18:51:12.000Z | snippets/common/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlHeadCstr/Common/StyleSheet.css | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-01-29T16:31:15.000Z | 2021-08-24T07:00:15.000Z | body
{
color:Blue;
background-color: LightGrey;
}
| 8.833333 | 29 | 0.698113 |
d5f3451575433153f0fc023061837af254ff182c | 506 | h | C | src/test/app_test.h | yipeiw/pserver | 2a856ba0cda744e4b8adcd925238dd7d4609bea7 | [
"Apache-2.0"
] | null | null | null | src/test/app_test.h | yipeiw/pserver | 2a856ba0cda744e4b8adcd925238dd7d4609bea7 | [
"Apache-2.0"
] | null | null | null | src/test/app_test.h | yipeiw/pserver | 2a856ba0cda744e4b8adcd925238dd7d4609bea7 | [
"Apache-2.0"
] | null | null | null | #include "system/app.h"
namespace PS {
// test via:
// ./local.sh 2 2 ../src/test/app_test.conf
class AppTest : public App {
public:
AppTest(const string& name) : App(name) {
LL << "create app " << name_ << " at " << myNodeID();
}
virtual ~AppTest() {
LL << "destroy " << name_ << " at " << myNodeID();
... | 20.24 | 57 | 0.543478 |
31f2bbbd84dd8db8c5a0e60365ca358a5122d8c6 | 281 | sql | SQL | etc/15_1.17.0_to_1.18.0.sql | silverbullet-dk/opentele-server-core-plugin | 0b3bad26979d434dda8980db688401f2a3a1e954 | [
"Apache-2.0"
] | null | null | null | etc/15_1.17.0_to_1.18.0.sql | silverbullet-dk/opentele-server-core-plugin | 0b3bad26979d434dda8980db688401f2a3a1e954 | [
"Apache-2.0"
] | null | null | null | etc/15_1.17.0_to_1.18.0.sql | silverbullet-dk/opentele-server-core-plugin | 0b3bad26979d434dda8980db688401f2a3a1e954 | [
"Apache-2.0"
] | null | null | null | ALTER TABLE [dbo].[patient_group] ADD [show_gestational_age] bit
GO
update [dbo].patient_group set show_gestational_age = 'FALSE'
GO
ALTER TABLE [dbo].[patient_group] ALTER COLUMN [show_gestational_age] bit NOT NULL
GO
ALTER TABLE [dbo].[patient] ADD [due_date] datetime2(7)
GO | 23.416667 | 82 | 0.775801 |
bfb51ff6e4d6a71119e07450d56ce0d261cc8d86 | 82 | sql | SQL | prisma/migrations/20210911023900_init/migration.sql | AlexisG13/Ravn-Node.js-Challenge | c31187f4cc99184751d096d12bb04c704e4cbdff | [
"MIT"
] | null | null | null | prisma/migrations/20210911023900_init/migration.sql | AlexisG13/Ravn-Node.js-Challenge | c31187f4cc99184751d096d12bb04c704e4cbdff | [
"MIT"
] | null | null | null | prisma/migrations/20210911023900_init/migration.sql | AlexisG13/Ravn-Node.js-Challenge | c31187f4cc99184751d096d12bb04c704e4cbdff | [
"MIT"
] | null | null | null | -- DropForeignKey
ALTER TABLE "Post" DROP CONSTRAINT "Post_id_resourceType_fkey";
| 27.333333 | 63 | 0.817073 |
cb4c14891f1faf0fc12150bc4bce976316be9309 | 3,314 | go | Go | incubator/hnc/internal/kubectl/configset.go | christopherhein/multi-tenancy | 35e48e80f89998d612b647fef20739794b54946d | [
"Apache-2.0"
] | 848 | 2019-03-07T05:37:51.000Z | 2022-03-30T11:41:11.000Z | incubator/hnc/internal/kubectl/configset.go | christopherhein/multi-tenancy | 35e48e80f89998d612b647fef20739794b54946d | [
"Apache-2.0"
] | 1,522 | 2019-03-13T18:01:58.000Z | 2022-03-10T17:45:37.000Z | incubator/hnc/internal/kubectl/configset.go | christopherhein/multi-tenancy | 35e48e80f89998d612b647fef20739794b54946d | [
"Apache-2.0"
] | 175 | 2019-03-12T20:44:25.000Z | 2022-03-08T16:55:40.000Z | /*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License ... | 36.822222 | 164 | 0.709113 |
b6e8c4123c5e99dbb9adc7053995cf486ce9045e | 178 | rb | Ruby | main/ruby_scripts/status.rb | ImperialCollegeLondon/hpc_portal | d6aa0fa45699f6dcd9224e31332287e549d29d02 | [
"BSD-3-Clause"
] | null | null | null | main/ruby_scripts/status.rb | ImperialCollegeLondon/hpc_portal | d6aa0fa45699f6dcd9224e31332287e549d29d02 | [
"BSD-3-Clause"
] | 31 | 2021-08-05T14:44:51.000Z | 2021-09-16T11:18:44.000Z | main/ruby_scripts/status.rb | ImperialCollegeLondon/champ | ab389b58418ee17ae0aeaa5391bd3e8760f85b84 | [
"BSD-3-Clause"
] | null | null | null | require('ood_core')
job_id = ARGV[0]
clusters = OodCore::Clusters.load_file("/etc/ood/config/clusters.d/")
cluster = clusters[ARGV[1]]
puts cluster.job_adapter.status(job_id)
| 19.777778 | 69 | 0.747191 |
7abda23aeed7df88e943d2556a0050ab8f5dabb4 | 2,557 | swift | Swift | 21-Chain_of_Responsibility_Pattern.playground/Contents.swift | kingcos/Swift-3-Design-Patterns | 3623be1b388ae51a728f4202425763af245fdc71 | [
"Apache-2.0"
] | 70 | 2016-12-06T11:18:21.000Z | 2018-03-30T02:34:00.000Z | 21-Chain_of_Responsibility_Pattern.playground/Contents.swift | kingcos/Swift-3-Design-Patterns | 3623be1b388ae51a728f4202425763af245fdc71 | [
"Apache-2.0"
] | null | null | null | 21-Chain_of_Responsibility_Pattern.playground/Contents.swift | kingcos/Swift-3-Design-Patterns | 3623be1b388ae51a728f4202425763af245fdc71 | [
"Apache-2.0"
] | 17 | 2017-08-14T06:41:05.000Z | 2018-01-31T06:20:25.000Z | //: Playground - noun: a place where people can play
// Powered by https://maimieng.com from https://github.com/kingcos/Swift-X-Design-Patterns
import UIKit
// 请求
struct Request {
enum RequestType: String {
case leave = "请假"
case salary = "加薪"
}
var requestType: RequestType
var re... | 28.098901 | 90 | 0.646852 |
128023d34667e64d05d3889ec2a393181410cc16 | 469 | h | C | Sources/CLNetworking/EWSHttpRequest.h | coooliang/CLKits | a388f8a14b8ffa868c4856fde4a5bd18f5606012 | [
"MIT"
] | 1 | 2019-01-23T13:09:59.000Z | 2019-01-23T13:09:59.000Z | Sources/CLNetworking/EWSHttpRequest.h | coooliang/CLKits | a388f8a14b8ffa868c4856fde4a5bd18f5606012 | [
"MIT"
] | 1 | 2018-12-13T02:17:50.000Z | 2018-12-13T02:17:50.000Z | Sources/CLNetworking/EWSHttpRequest.h | coooliang/CLKits | a388f8a14b8ffa868c4856fde4a5bd18f5606012 | [
"MIT"
] | null | null | null | #import <Foundation/Foundation.h>
typedef void(^HTTPRequestSuccessCompletion)(NSString *redirectLocation, NSData *xmlData);
typedef void(^HTTPRequestFailureCompletion)(NSError *error);
typedef void(^HTTPRecieveDataBlock)(NSData *data);
@interface EWSHttpRequest : NSObject
-(void)ewsHttpRequest:(NSString *)soapXmlStr... | 39.083333 | 186 | 0.823028 |
3a6f6f9fa27234c460b65670d688440691e3849c | 7,989 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2839.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2839.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2839.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x8512, %rsi
lea addresses_WT_ht+0xdeb2, %rdi
clflush (%rsi)
nop
add %rbx, %rbx
mov $77, %rcx
rep movsl
nop
nop
nop
nop
xor %r9, %r9
lea addresses_WC_ht+0x1b800, %rbp
nop
and %r... | 33.995745 | 2,999 | 0.659657 |
86dbafa5480bbfd91a49f13985ba507161d569da | 520 | asm | Assembly | programs/oeis/315/A315489.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/315/A315489.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/315/A315489.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A315489: Coordination sequence Gal.5.292.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,6,11,16,22,27,32,38,43,48,54,60,65,70,76,81,86,92,97,102,108,114,119,124,130,135,140,146,151,156,162,168,173,178,184,189,194,200,205,210,2... | 24.761905 | 180 | 0.676923 |
ac1a61dda4f0312a45b20819ea9b80b3fbc0f05f | 124 | sql | SQL | resource-server/src/main/resources/sql-scripts/schema.sql | andrei-punko/springboot-jwt | 67c98ddca5278409ec49172d330c1f164e6ec11f | [
"MIT"
] | 1 | 2020-03-09T15:44:25.000Z | 2020-03-09T15:44:25.000Z | resource-server/src/main/resources/sql-scripts/schema.sql | andrei-punko/springboot-jwt | 67c98ddca5278409ec49172d330c1f164e6ec11f | [
"MIT"
] | null | null | null | resource-server/src/main/resources/sql-scripts/schema.sql | andrei-punko/springboot-jwt | 67c98ddca5278409ec49172d330c1f164e6ec11f | [
"MIT"
] | null | null | null | CREATE TABLE random_city (
id bigint(20) NOT NULL AUTO_INCREMENT,
name varchar(255) DEFAULT NULL,
PRIMARY KEY (id)
);
| 20.666667 | 40 | 0.725806 |
49ff51d9d6190bc4654b92afbaeeea16863d3004 | 19,761 | lua | Lua | spec/domain/trait/player/storage_spec.lua | czenker/lively-epsilon | 8da2dd7912409378e7637d561363f623e5270bbe | [
"MIT"
] | 9 | 2017-12-29T12:24:25.000Z | 2021-04-26T15:48:09.000Z | spec/domain/trait/player/storage_spec.lua | czenker/lively-epsilon | 8da2dd7912409378e7637d561363f623e5270bbe | [
"MIT"
] | 3 | 2017-12-23T17:17:01.000Z | 2018-01-09T22:05:13.000Z | spec/domain/trait/player/storage_spec.lua | czenker/lively-epsilon | 8da2dd7912409378e7637d561363f623e5270bbe | [
"MIT"
] | 2 | 2018-02-01T19:05:33.000Z | 2018-02-11T01:42:00.000Z | insulate("Player:withStorage()", function()
require "init"
require "spec.mocks"
require "spec.asserts"
local product1 = productMock()
local product2 = productMock()
local product3 = productMock()
it("creates a valid storage", function()
local player = PlayerSpaceship()
Pl... | 46.170561 | 115 | 0.6527 |
738f2abbb84a028998a7cebb463436c0df03c832 | 61 | rs | Rust | src/build_information.rs | shinnya/frugalos | ba38e0b8edd3f767fe9a6bb236dfbd8c0700c407 | [
"MIT"
] | 321 | 2018-10-26T02:43:49.000Z | 2022-03-28T07:22:12.000Z | src/build_information.rs | shinnya/frugalos | ba38e0b8edd3f767fe9a6bb236dfbd8c0700c407 | [
"MIT"
] | 181 | 2018-10-26T02:44:45.000Z | 2021-01-22T02:58:20.000Z | src/build_information.rs | shinnya/frugalos | ba38e0b8edd3f767fe9a6bb236dfbd8c0700c407 | [
"MIT"
] | 23 | 2018-10-26T06:54:26.000Z | 2022-01-23T16:56:16.000Z | include!(concat!(env!("OUT_DIR"), "/build_information.rs"));
| 30.5 | 60 | 0.688525 |
becfcc53e1932b0e7d6f440f834e938f894288e6 | 337 | rs | Rust | parser/src/internal/parser_impl/sub_parser_impl.rs | j5ik2o/parsing-rust | a951c7f0712a36d5e4fe93032c377b97f99b450a | [
"Apache-2.0",
"MIT"
] | 18 | 2021-11-09T07:34:55.000Z | 2022-03-29T08:54:29.000Z | parser/src/internal/parser_impl/sub_parser_impl.rs | j5ik2o/parsing-rust | a951c7f0712a36d5e4fe93032c377b97f99b450a | [
"Apache-2.0",
"MIT"
] | 1 | 2021-11-06T11:52:59.000Z | 2021-11-06T11:52:59.000Z | parser/src/internal/parser_impl/sub_parser_impl.rs | j5ik2o/oni-comb-rs | 39e1810ff7b043531c672306b4443964861d266d | [
"Apache-2.0",
"MIT"
] | null | null | null | use crate::core::Parser;
use crate::extension::parser::SkipParser;
use std::fmt::Debug;
use std::ops::Sub;
impl<'a, I, A, B> Sub<Parser<'a, I, B>> for Parser<'a, I, A>
where
A: Clone + Debug + 'a,
B: Clone + Debug + 'a,
{
type Output = Self;
fn sub(self, rhs: Parser<'a, I, B>) -> Self::Output {
self.skip_... | 19.823529 | 60 | 0.593472 |
189d667c8523708afdbc376f68ba005e6b0f5fb6 | 86 | kt | Kotlin | Android/app/src/main/java/com/versilistyson/searchflix/presentation/ui/common/StateComponent.kt | vdtyson/SearchFlix | 895bb09903d38952a4373bbe7dd413301771e6c9 | [
"MIT"
] | 1 | 2020-04-28T01:05:50.000Z | 2020-04-28T01:05:50.000Z | Android/app/src/main/java/com/versilistyson/searchflix/presentation/ui/common/StateComponent.kt | vdtyson/SearchFlix | 895bb09903d38952a4373bbe7dd413301771e6c9 | [
"MIT"
] | null | null | null | Android/app/src/main/java/com/versilistyson/searchflix/presentation/ui/common/StateComponent.kt | vdtyson/SearchFlix | 895bb09903d38952a4373bbe7dd413301771e6c9 | [
"MIT"
] | null | null | null | package com.versilistyson.searchflix.presentation.ui.common
interface StateComponent
| 21.5 | 59 | 0.883721 |
0c91e1c1cf29e15371a4ee6e5142850adc128722 | 1,657 | py | Python | utilities/visualisation/log_file_plotter.py | bootml/agent | 84235db931d6e4ef956962961c619994898ebdd5 | [
"Apache-2.0"
] | null | null | null | utilities/visualisation/log_file_plotter.py | bootml/agent | 84235db931d6e4ef956962961c619994898ebdd5 | [
"Apache-2.0"
] | null | null | null | utilities/visualisation/log_file_plotter.py | bootml/agent | 84235db931d6e4ef956962961c619994898ebdd5 | [
"Apache-2.0"
] | 1 | 2018-09-27T14:31:41.000Z | 2018-09-27T14:31:41.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = 'cnheider'
import csv
import matplotlib.pyplot as plt
import utilities as U
# print(plt.style.available)
plot_style = 'fivethirtyeight'
# plot_style='bmh'
# plot_style='ggplot'
plt.style.use('seaborn-poster')
plt.style.use(plot_style)
plt.rcParams['axes.e... | 25.106061 | 101 | 0.703681 |
dc590a9afe4c09a37b2c9452948dce484d4aad05 | 1,080 | swift | Swift | ExposurePlaybackTests/Program+Extensions.swift | EricssonBroadcastServices/iOSClientExposurePlayback | ddd54b285db84ac37740fa4d9a212dc25547b004 | [
"Apache-2.0"
] | null | null | null | ExposurePlaybackTests/Program+Extensions.swift | EricssonBroadcastServices/iOSClientExposurePlayback | ddd54b285db84ac37740fa4d9a212dc25547b004 | [
"Apache-2.0"
] | 2 | 2018-11-28T12:17:26.000Z | 2018-12-14T10:59:27.000Z | ExposurePlaybackTests/Program+Extensions.swift | EricssonBroadcastServices/iOSClientExposurePlayback | ddd54b285db84ac37740fa4d9a212dc25547b004 | [
"Apache-2.0"
] | 2 | 2018-03-07T20:49:38.000Z | 2019-02-07T08:13:59.000Z | //
// Program+Extensions.swift
// ExposurePlaybackTests
//
// Created by Fredrik Sjöberg on 2018-02-11.
// Copyright © 2018 emp. All rights reserved.
//
import Foundation
import Exposure
extension Program {
static func validJson(programId: String, channelId: String, assetId: String) -> [String: Any] {
... | 28.421053 | 99 | 0.615741 |
0de769f59336ec4e5a209258197a1adf422acb53 | 348 | sql | SQL | src/test/resources/liquibase/harness/change/expectedSql/mssql/addForeignKey.sql | AlexanderSashchenko/liquibase-test-harness | c626754b75e6470aa03bf6fb88073ff073039862 | [
"Apache-2.0"
] | 1 | 2021-02-25T04:30:04.000Z | 2021-02-25T04:30:04.000Z | src/test/resources/liquibase/harness/change/expectedSql/mssql/addForeignKey.sql | AlexanderSashchenko/liquibase-test-harness | c626754b75e6470aa03bf6fb88073ff073039862 | [
"Apache-2.0"
] | 1 | 2021-06-21T08:40:11.000Z | 2021-06-21T13:32:01.000Z | src/main/resources/liquibase/harness/change/expectedSql/mssql/addForeignKey.sql | Sfurti-yb/liquibase-test-harness | 86b413938f13d9d899fc010ca42f26041b6fccb8 | [
"Apache-2.0"
] | 1 | 2021-03-08T20:36:14.000Z | 2021-03-08T20:36:14.000Z | CREATE TABLE lbcat2.countries (id int NOT NULL, name varchar(50), CONSTRAINT PK_COUNTRIES PRIMARY KEY (id))
CREATE TABLE person (id int IDENTITY (1, 1) NOT NULL, CONSTRAINT PK_PERSON PRIMARY KEY (id))
ALTER TABLE person ADD country_id int
ALTER TABLE person ADD CONSTRAINT fk_person_country FOREIGN KEY (country_id) REFE... | 87 | 109 | 0.804598 |
baa86ff0cd85c070c5d65578a2e4811378718ee4 | 4,147 | sql | SQL | pkl.sql | Danamuktisatrio/ci | 48bfff2db573be84eb4ab90cf3dbd0b7eb257ea4 | [
"MIT"
] | null | null | null | pkl.sql | Danamuktisatrio/ci | 48bfff2db573be84eb4ab90cf3dbd0b7eb257ea4 | [
"MIT"
] | null | null | null | pkl.sql | Danamuktisatrio/ci | 48bfff2db573be84eb4ab90cf3dbd0b7eb257ea4 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 05 Okt 2021 pada 16.51
-- Versi server: 10.4.14-MariaDB
-- Versi PHP: 7.2.33
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@C... | 20.631841 | 88 | 0.605739 |
66edd2120c6bb93feabad5126b21576a4d37ee3f | 698 | lua | Lua | core/world/FreeEntity.lua | henry4k/apoapsis | bbe0cc4a5aea273f570dab786fd079400e86d70e | [
"MIT"
] | null | null | null | core/world/FreeEntity.lua | henry4k/apoapsis | bbe0cc4a5aea273f570dab786fd079400e86d70e | [
"MIT"
] | 12 | 2015-01-04T21:02:35.000Z | 2015-12-14T16:35:30.000Z | core/world/FreeEntity.lua | henry4k/konstrukt | bbe0cc4a5aea273f570dab786fd079400e86d70e | [
"MIT"
] | null | null | null | --- @classmod core.world.FreeEntity
local class = require 'middleclass'
local EffectTarget = require 'core/EffectTarget'
local Entity = require 'core/world/Entity'
local FreeEntity = class('core/world/FreeEntity')
FreeEntity:include(EffectTarget)
FreeEntity:include(Entity)
function FreeEntity:initiali... | 22.516129 | 51 | 0.756447 |
dbe35854154ff85524a983c24c0fea5447ab2392 | 1,851 | lua | Lua | src/util/mbg/Event/DataOperateAction.lua | Karl5766/LuaSTG-x_BHElib | 8f4504fb39d5081016b3b8a123b475a3a8087e07 | [
"MIT"
] | 9 | 2019-03-15T11:50:16.000Z | 2021-06-03T12:52:30.000Z | src/util/mbg/Event/DataOperateAction.lua | Karl5766/LuaSTG-x_BHElib | 8f4504fb39d5081016b3b8a123b475a3a8087e07 | [
"MIT"
] | 2 | 2019-08-28T10:35:33.000Z | 2020-06-23T07:15:49.000Z | src/util/mbg/Event/DataOperateAction.lua | Karl5766/LuaSTG-x_BHElib | 8f4504fb39d5081016b3b8a123b475a3a8087e07 | [
"MIT"
] | 5 | 2020-06-21T05:01:48.000Z | 2022-01-16T17:02:20.000Z | ---
--- DataOperateAction.lua
---
--- Copyright (C) 2018 Xrysnow. All rights reserved.
---
local mbg = require('util.mbg.main')
local String = require('util.mbg.String')
---@class mbg.DataOperateAction:mbg.IAction
local DataOperateAction = {}
mbg.DataOperateAction = DataOperateAction
local function _DataOperateActio... | 24.355263 | 61 | 0.640735 |
c3ab43de668170406e0fc76e7a9e6d47442c45fc | 1,883 | go | Go | app/captcha/service/internal/data/captcha.go | MrDML/home | 6d76fcf3391715b3281b08dff02de28286858368 | [
"MIT"
] | null | null | null | app/captcha/service/internal/data/captcha.go | MrDML/home | 6d76fcf3391715b3281b08dff02de28286858368 | [
"MIT"
] | null | null | null | app/captcha/service/internal/data/captcha.go | MrDML/home | 6d76fcf3391715b3281b08dff02de28286858368 | [
"MIT"
] | null | null | null | package data
import (
"context"
"encoding/json"
"fmt"
"github.com/afocus/captcha"
"github.com/go-kratos/kratos/v2/log"
"home/app/captcha/service/internal/biz"
"home/app/captcha/service/util"
"image/color"
"time"
)
type captchaRepo struct {
data *Data
log *log.Helper
}
func NewCaptchaRepo(data *Data, logg... | 20.922222 | 93 | 0.679235 |
1c5cced72f5f485bec542cf4da63ac1406e6f0fd | 128 | css | CSS | app/client/style.css | CraigOpie/inventory | c798ffbc2b84adc5d2019fbeed4bf7d3fdaa891b | [
"MIT"
] | null | null | null | app/client/style.css | CraigOpie/inventory | c798ffbc2b84adc5d2019fbeed4bf7d3fdaa891b | [
"MIT"
] | 2 | 2021-05-11T09:26:35.000Z | 2021-09-02T09:17:09.000Z | app/client/style.css | CraigOpie/inventory | c798ffbc2b84adc5d2019fbeed4bf7d3fdaa891b | [
"MIT"
] | null | null | null | .custom-background-image {
background: url('images/background.jpg') no-repeat center center fixed;
background-size: cover;
} | 32 | 73 | 0.757813 |
fdc521f45a3da50b4fe5a1cd802be958ed204f4d | 135 | kt | Kotlin | kgl-stb/src/nativeTest/kotlin/com/kgl/stb/SampleTestsNative.kt | ArcheCraft/kgl | 8abab21ec63105c633d800cba1b9347b6a7df43d | [
"Apache-2.0"
] | 87 | 2019-02-03T20:52:44.000Z | 2022-02-16T07:03:06.000Z | kgl-stb/src/nativeTest/kotlin/com/kgl/stb/SampleTestsNative.kt | ArcheCraft/kgl | 8abab21ec63105c633d800cba1b9347b6a7df43d | [
"Apache-2.0"
] | 29 | 2019-01-30T22:15:05.000Z | 2021-11-23T16:23:10.000Z | kgl-stb/src/nativeTest/kotlin/com/kgl/stb/SampleTestsNative.kt | ArcheCraft/kgl | 8abab21ec63105c633d800cba1b9347b6a7df43d | [
"Apache-2.0"
] | 13 | 2019-01-30T23:34:19.000Z | 2022-03-03T23:45:10.000Z | package com.kgl.stb
import kotlin.test.*
class SampleTestsNative {
@Test
fun testHello() {
assertTrue("Native" in "Native")
}
}
| 12.272727 | 34 | 0.696296 |
3dca76f6ae2d5b37b3add66b908037dd2728057f | 4,049 | rs | Rust | 2017/day-25/src/bin/part-1.rs | frewsxcv/advent-of-code | 1de3d2c47284cfa40505f22a59b61e7579a9af0b | [
"CC0-1.0"
] | 1 | 2018-12-01T21:12:09.000Z | 2018-12-01T21:12:09.000Z | 2017/day-25/src/bin/part-1.rs | frewsxcv/advent-of-code | 1de3d2c47284cfa40505f22a59b61e7579a9af0b | [
"CC0-1.0"
] | null | null | null | 2017/day-25/src/bin/part-1.rs | frewsxcv/advent-of-code | 1de3d2c47284cfa40505f22a59b61e7579a9af0b | [
"CC0-1.0"
] | null | null | null | // Begin in state A.
// Perform a diagnostic checksum after 12399302 steps.
// In state A:
// If the current value is 0:
// - Write the value 1.
// - Move one slot to the right.
// If the current value is 1:
// - Write the value 0.
// - Move one slot to the right.
// - Continue with state C.
/... | 26.292208 | 62 | 0.427019 |
d4a3e8604403f0640db0861145851181fb3a8992 | 4,611 | rs | Rust | daemon/src/config.rs | 0xpr03/cf-tool | c4b62ba00a9fcc31c84b7679406e492172c2d460 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-01-08T18:49:06.000Z | 2019-01-08T18:49:06.000Z | daemon/src/config.rs | 0xpr03/cf-tool | c4b62ba00a9fcc31c84b7679406e492172c2d460 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-05-19T19:01:12.000Z | 2017-08-26T21:27:58.000Z | daemon/src/config.rs | 0xpr03/cf-tool | c4b62ba00a9fcc31c84b7679406e492172c2d460 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-01-08T18:49:08.000Z | 2019-01-08T18:49:08.000Z | // Copyright 2017-2020 Aron Heinecke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 26.198864 | 95 | 0.654956 |
6b35382527aab887493e92af2c484b2a8c66c413 | 1,920 | c | C | cli.c | mtratsiuk/b2c | ba23e5de130b9cbaaf42311c03865b83acf1c5f5 | [
"MIT"
] | null | null | null | cli.c | mtratsiuk/b2c | ba23e5de130b9cbaaf42311c03865b83acf1c5f5 | [
"MIT"
] | null | null | null | cli.c | mtratsiuk/b2c | ba23e5de130b9cbaaf42311c03865b83acf1c5f5 | [
"MIT"
] | null | null | null | #include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cli.h"
#include "darray.h"
Cli cli_create(void *state) {
assert(state);
Darray entries = darray_create(sizeof(CliEntry), 8);
Cli cli = {.menu_entries = entries, .state = state};
return cli;
}
CliEntry cli_create_entry(... | 18.823529 | 73 | 0.609375 |
9c682b84768d1069980f6fc6263eedbc237c9cdf | 4,937 | js | JavaScript | stationsubcontract/pages/beautician/index.js | leeboo741/petMall | ec8da96d973b77ea6473d473e5432e72b6252983 | [
"MIT"
] | null | null | null | stationsubcontract/pages/beautician/index.js | leeboo741/petMall | ec8da96d973b77ea6473d473e5432e72b6252983 | [
"MIT"
] | 4 | 2020-01-07T03:41:11.000Z | 2020-01-07T03:41:12.000Z | stationsubcontract/pages/beautician/index.js | leeboo741/petMall | ec8da96d973b77ea6473d473e5432e72b6252983 | [
"MIT"
] | null | null | null | const app = getApp();
const ServerManager = require("../../../services/serverManager.js");
const UserManager = require("../../../services/userService.js");
const ShareManager = require("../../../services/shareService");
const Utils = require("../../../utils/util.js");
Page({
data: {
moreImageUrl: "/resource/redr... | 24.20098 | 127 | 0.584768 |
b16a7ba63b1d246da37f6e763a05f48f0dc67744 | 924 | h | C | Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/include/Fuse.Triggers.Actions-5821cb24.h | marferfer/SpinOff-LoL | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | [
"Apache-2.0"
] | null | null | null | Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/include/Fuse.Triggers.Actions-5821cb24.h | marferfer/SpinOff-LoL | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | [
"Apache-2.0"
] | null | null | null | Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/include/Fuse.Triggers.Actions-5821cb24.h | marferfer/SpinOff-LoL | a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8 | [
"Apache-2.0"
] | null | null | null | // This file was generated based on C:/Users/JuanJose/AppData/Local/Fusetools/Packages/Fuse.Triggers/1.9.0/Actions/DebugProperty.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{
namespace Fuse{
namespace Triggers{
namespace Actions{
// public ab... | 35.538462 | 177 | 0.755411 |
0c8967029f04eaa76a7e75ae4334c986e1287fc3 | 1,887 | py | Python | dataset_generator/learning/imitation/tensorflow/_layers.py | rjean/duckie-segmentation | 5e720e1a96ef61c4560823030549ac1d5d16e2a4 | [
"Apache-2.0"
] | 1 | 2021-02-03T02:23:34.000Z | 2021-02-03T02:23:34.000Z | dataset_generator/learning/imitation/tensorflow/_layers.py | rjean/mobile-segmentation | 5e720e1a96ef61c4560823030549ac1d5d16e2a4 | [
"Apache-2.0"
] | null | null | null | dataset_generator/learning/imitation/tensorflow/_layers.py | rjean/mobile-segmentation | 5e720e1a96ef61c4560823030549ac1d5d16e2a4 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
L2_LAMBDA = 1e-04
def _residual_block(x, size, dropout=False, dropout_prob=0.5, seed=None):
residual = tf.layers.batch_normalization(x) # TODO: check if the defaults in Tf are the same as in Keras
residual = tf.nn.relu(residual)
residual = tf.layers.conv2d(
residual,
... | 29.484375 | 109 | 0.650768 |
19cc48afe8a6bcf2bffbab4b2a313a112ec7033f | 2,885 | sql | SQL | sql/_13_issues/_12_2h/cases/bug_bts_7856_4.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 9 | 2016-03-24T09:51:52.000Z | 2022-03-23T10:49:47.000Z | sql/_13_issues/_12_2h/cases/bug_bts_7856_4.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 173 | 2016-04-13T01:16:54.000Z | 2022-03-16T07:50:58.000Z | sql/_13_issues/_12_2h/cases/bug_bts_7856_4.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 38 | 2016-03-24T17:10:31.000Z | 2021-10-30T22:55:45.000Z | --TEST: [Merge Statement] The tuples that are not updated by the update_clause can be deleted by the delete_clause when the update_clause is with where conditions.
drop table if exists t1, t2;
create table t1(a int, b char(10));
insert into t1 values(1, 'aaa');
insert into t1 values(2, 'bbb');
insert into t1 values(... | 26.46789 | 163 | 0.669671 |
07f55c86a6ddc00beb02a1064badf44dc0b8c12a | 8,713 | swift | Swift | Source/UI/Effects/TimeStretch/TimeStretchUnitViewController.swift | kartik-venugopal/aural-player | 73e1e2768563094da63a73bddb4e22b3469ebf3a | [
"MIT"
] | 21 | 2022-02-07T23:42:43.000Z | 2022-03-17T12:07:28.000Z | Source/UI/Effects/TimeStretch/TimeStretchUnitViewController.swift | kartik-venugopal/aural-player | 73e1e2768563094da63a73bddb4e22b3469ebf3a | [
"MIT"
] | 2 | 2022-03-01T20:20:27.000Z | 2022-03-07T14:23:04.000Z | Source/UI/Effects/TimeStretch/TimeStretchUnitViewController.swift | kartik-venugopal/aural-player | 73e1e2768563094da63a73bddb4e22b3469ebf3a | [
"MIT"
] | 3 | 2022-02-10T16:42:31.000Z | 2022-03-18T11:11:48.000Z | //
// TimeStretchUnitViewController.swift
// Aural
//
// Copyright © 2021 Kartik Venugopal. All rights reserved.
//
// This software is licensed under the MIT software license.
// See the file "LICENSE" in the project root directory for license terms.
//
import Cocoa
/*
View controller for the Time effects un... | 36.456067 | 146 | 0.64157 |
0cdb9744480da6f8e1b4899b7fcf04b7238e340b | 1,551 | py | Python | MachineLearning.BayesianNetwork/python-imp/bayes_core.py | JillyMan/decision-tree | 8e2efc914aaade9cc97a2c94052bc909e50fdb48 | [
"MIT"
] | null | null | null | MachineLearning.BayesianNetwork/python-imp/bayes_core.py | JillyMan/decision-tree | 8e2efc914aaade9cc97a2c94052bc909e50fdb48 | [
"MIT"
] | 1 | 2019-12-29T13:49:52.000Z | 2019-12-29T13:49:52.000Z | MachineLearning.BayesianNetwork/python-imp/bayes_core.py | JillyMan/MachineLerningFramework | 8e2efc914aaade9cc97a2c94052bc909e50fdb48 | [
"MIT"
] | null | null | null | import math
RangeType = 'Range'
BinaryType = 'Binary'
class Hipothesis:
def __init__(self, id, name, p):
self.id = id
self.name = name
self.p = p
class Attribute:
def __init__(self, id, name, question, _type):
self.id = id
self.name = name
self.question = quest... | 23.149254 | 54 | 0.588008 |
da2e3e68e442e1e9d9e4bc5a3b172b942b936234 | 4,113 | rs | Rust | src/geometry.rs | White-Green/ray-tracing | da7c357bf88bb67429fef8f05d7eeb0c25bd1955 | [
"MIT"
] | null | null | null | src/geometry.rs | White-Green/ray-tracing | da7c357bf88bb67429fef8f05d7eeb0c25bd1955 | [
"MIT"
] | null | null | null | src/geometry.rs | White-Green/ray-tracing | da7c357bf88bb67429fef8f05d7eeb0c25bd1955 | [
"MIT"
] | null | null | null | use std::ops::{Add, Div, Mul, Neg, Sub};
#[derive(Clone, Copy, PartialEq, Debug)]
pub struct Vec3<V> {
x: V,
y: V,
z: V,
}
#[derive(Clone, Copy, PartialEq, Debug)]
pub struct NormalizedVec3<V> {
x: V,
y: V,
z: V,
}
impl<V> Vec3<V> {
pub fn new(x: V, y: V, z: V) -> Self {
Self { x,... | 23.912791 | 99 | 0.502796 |
daf47ed7e044d4d71f34507fe9afc4deb45a85d6 | 445 | kt | Kotlin | app/src/main/java/com/ozantopuz/tvshows/domain/repository/TvShowRepositoryImpl.kt | ozantopuz/TvShows | 5bdd206c2e6d53e93af66b8c9a504e2faa933d7a | [
"MIT"
] | null | null | null | app/src/main/java/com/ozantopuz/tvshows/domain/repository/TvShowRepositoryImpl.kt | ozantopuz/TvShows | 5bdd206c2e6d53e93af66b8c9a504e2faa933d7a | [
"MIT"
] | null | null | null | app/src/main/java/com/ozantopuz/tvshows/domain/repository/TvShowRepositoryImpl.kt | ozantopuz/TvShows | 5bdd206c2e6d53e93af66b8c9a504e2faa933d7a | [
"MIT"
] | null | null | null | package com.ozantopuz.tvshows.domain.repository
import com.ozantopuz.tvshows.data.datasource.TvShowRemoteDataSource
import com.ozantopuz.tvshows.data.entity.TvShowResponse
import javax.inject.Inject
class TvShowRepositoryImpl @Inject constructor(
private val remoteDataSource: TvShowRemoteDataSource
) : TvShowRepo... | 34.230769 | 69 | 0.824719 |
e76c7bfdde731c2eb0aff7f94af971ecb42cae54 | 10,197 | js | JavaScript | src/project-tests/product-landing-page-tests.js | karlwhite247/freeCodeCamp-testable-projects | 257afa3ca2d250a9336249827a82b5ab18d4fef7 | [
"BSD-3-Clause"
] | 1 | 2017-01-03T07:20:06.000Z | 2017-01-03T07:20:06.000Z | src/project-tests/product-landing-page-tests.js | karlwhite247/freeCodeCamp-testable-projects | 257afa3ca2d250a9336249827a82b5ab18d4fef7 | [
"BSD-3-Clause"
] | 1 | 2016-12-28T05:21:08.000Z | 2016-12-28T05:21:08.000Z | src/project-tests/product-landing-page-tests.js | karlwhite247/freeCodeCamp-testable-projects | 257afa3ca2d250a9336249827a82b5ab18d4fef7 | [
"BSD-3-Clause"
] | 4 | 2016-12-28T05:17:14.000Z | 2020-08-11T01:22:29.000Z | export default function createProductLandingPageTests() {
describe("#Product Landing Page tests", function() {
describe("#Content", function() {
it('1. My product landing page should have a <header> element with corresponding id="header".', function() {
FCC_Global.assert.isNotNull(document.getElem... | 64.949045 | 270 | 0.662842 |
f0887e58552c56bf7a982e28974d39223e7ce0e5 | 2,569 | js | JavaScript | utils/stylesheet.js | ryanholder/reactnd-project-mobile-flashcards | 8417aa2f5ad91a525d349cd1ba08f4ee937645b8 | [
"MIT"
] | null | null | null | utils/stylesheet.js | ryanholder/reactnd-project-mobile-flashcards | 8417aa2f5ad91a525d349cd1ba08f4ee937645b8 | [
"MIT"
] | null | null | null | utils/stylesheet.js | ryanholder/reactnd-project-mobile-flashcards | 8417aa2f5ad91a525d349cd1ba08f4ee937645b8 | [
"MIT"
] | null | null | null | import { StyleSheet, Platform } from 'react-native';
import {
white,
black,
orange,
green,
red,
} from './colors';
export default StyleSheet.create({
center: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
},
container: {
padding: 40,
backgroundColor: white,
},
label:... | 17.717241 | 52 | 0.564033 |
e76490f38d1628c82aa89b00eb05ed61a716e391 | 497 | js | JavaScript | src/components/icons/solid/ChevronCircleDown.js | MythicalFish/mythical.fish | c99209b42183a7e65d5c7384706838b925a8db0d | [
"MIT"
] | 2 | 2019-04-10T01:46:31.000Z | 2020-05-02T14:29:56.000Z | src/components/icons/solid/ChevronCircleDown.js | MythicalFish/mythical.fish | c99209b42183a7e65d5c7384706838b925a8db0d | [
"MIT"
] | null | null | null | src/components/icons/solid/ChevronCircleDown.js | MythicalFish/mythical.fish | c99209b42183a7e65d5c7384706838b925a8db0d | [
"MIT"
] | null | null | null | import React from 'react'
const ChevronCircleDown = props => (
<svg
fill='currentColor'
viewBox='0 0 512 512'
width='1em'
height='1em'
{...props}
>
<path d='M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM273 369.9l135.5-135.5c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-... | 31.0625 | 278 | 0.637827 |
ed90376f18aa5a60e443b5db3309f474e009926e | 490 | kt | Kotlin | app/src/main/java/com/uni7corn/utheme/App.kt | uni7corn/UTheme | 127c4cf2b0752c5748e36d400d6f2ef0eec3fbac | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/uni7corn/utheme/App.kt | uni7corn/UTheme | 127c4cf2b0752c5748e36d400d6f2ef0eec3fbac | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/uni7corn/utheme/App.kt | uni7corn/UTheme | 127c4cf2b0752c5748e36d400d6f2ef0eec3fbac | [
"Apache-2.0"
] | null | null | null | package com.uni7corn.utheme
import android.app.Application
import android.content.Context
class App : Application() {
companion object {
private lateinit var mContext: Application
@JvmStatic
fun getAppContext(): Application {
return mContext
}
}
override f... | 17.5 | 52 | 0.628571 |
8ec21d06dd5d4c7578cf5d935a09e467c81e71a7 | 1,783 | rb | Ruby | lib/office_quote_controller.rb | emhopkins/office-quote-cli-app | dd64ffa680aabb210ebe98c2b6e2a5387ba0ee0c | [
"MIT"
] | null | null | null | lib/office_quote_controller.rb | emhopkins/office-quote-cli-app | dd64ffa680aabb210ebe98c2b6e2a5387ba0ee0c | [
"MIT"
] | null | null | null | lib/office_quote_controller.rb | emhopkins/office-quote-cli-app | dd64ffa680aabb210ebe98c2b6e2a5387ba0ee0c | [
"MIT"
] | null | null | null | class OfficeQuoteController
def initialize
quotes = Scraper.new
quotes.get_quote_pages
start_cli
end
def start_cli
input = ""
puts "Welcome to The Office Quote Generator"
while input != "exit" do
puts "If you'd like to exit, enter \"exit\""
puts "Please select from the following options: "
put... | 25.84058 | 85 | 0.67134 |
be24fa7a50809bdf13c2b06a0e6c819e07b8a109 | 493 | swift | Swift | validation-test/compiler_crashers_fixed/01787-swift-clangmoduleunit-getimportedmodules.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 10 | 2015-12-25T02:19:46.000Z | 2021-11-14T15:37:57.000Z | validation-test/compiler_crashers_fixed/01787-swift-clangmoduleunit-getimportedmodules.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 2 | 2016-02-01T08:51:00.000Z | 2017-04-07T09:04:30.000Z | validation-test/compiler_crashers_fixed/01787-swift-clangmoduleunit-getimportedmodules.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 3 | 2016-04-02T15:05:27.000Z | 2019-08-19T15:25:02.000Z | // RUN: not %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
t = b: ()(i: T: Int = 0
return [")
import Foundation
func f<b(c: b {
return """""foo"foobar"""[1))
deinit... | 18.259259 | 87 | 0.63286 |
fe343418d522240dac747066b0317c2fda92d7a4 | 7,208 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_st_zr_un_4k_/i7-7700_9_0xca.log_21829_1551.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_st_zr_un_4k_/i7-7700_9_0xca.log_21829_1551.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_st_zr_un_4k_/i7-7700_9_0xca.log_21829_1551.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1b2c, %rdi
nop
nop
and %rax, %rax
mov $0x6162636465666768, %r10
movq %r10, %xmm0
movups %xmm0, (%rdi)
and %r15, %r15
lea addresses_UC_ht+0x10e2c, %rsi
lea addresses_D_ht... | 35.507389 | 2,999 | 0.656632 |
3d58729365cab6672b0e7b134b1b2395dcdc48f0 | 6,948 | lua | Lua | Code/['World']['Global']['Weapon_Plugin_Package']['Module']['C_Module']['PlayerBehaviorModule'].ModuleScript.lua | lilith-avatar/rapid-duel | e91ce60e5dbd490763964f3449d5f907d7216742 | [
"MIT"
] | 8 | 2021-04-20T09:39:22.000Z | 2021-10-19T06:08:29.000Z | Code/['World']['Global']['Weapon_Plugin_Package']['Module']['C_Module']['PlayerBehaviorModule'].ModuleScript.lua | lilith-avatar/rapid-duel | e91ce60e5dbd490763964f3449d5f907d7216742 | [
"MIT"
] | null | null | null | Code/['World']['Global']['Weapon_Plugin_Package']['Module']['C_Module']['PlayerBehaviorModule'].ModuleScript.lua | lilith-avatar/rapid-duel | e91ce60e5dbd490763964f3449d5f907d7216742 | [
"MIT"
] | 2 | 2021-05-08T11:36:09.000Z | 2021-05-12T09:59:50.000Z | --- @module PlayerBehavior 枪械模块:玩家行为树
--- @copyright Lilith Games, Avatar Team
--- @author RopzTao
local PlayerBehavior, this =
{
playerActionStateFunc = {} ---状态触发表
},
nil
local firParam = nil
local function OnKeyDown()
---按C下蹲
if Input.GetPressKeyData(Enum.KeyCode.C) ~= Enum.KeyState.Key... | 27.035019 | 116 | 0.665803 |
016d368f13289f909c62b804612e30451d898657 | 3,083 | sql | SQL | sql/cohort_sepsis.sql | benpopoff/hyperoxemia-mimic | 6cb32fddd2bead6a2a904ff2bee81c163a73e3c4 | [
"MIT"
] | null | null | null | sql/cohort_sepsis.sql | benpopoff/hyperoxemia-mimic | 6cb32fddd2bead6a2a904ff2bee81c163a73e3c4 | [
"MIT"
] | null | null | null | sql/cohort_sepsis.sql | benpopoff/hyperoxemia-mimic | 6cb32fddd2bead6a2a904ff2bee81c163a73e3c4 | [
"MIT"
] | null | null | null | -- ------------------------------------------------------------------
--
-- Cohort sepsis selection
--
-- Collect data for population with relevant data and flags
--
-- ------------------------------------------------------------------
DROP MATERIALIZED VIEW IF EXISTS cohort_sepsis CASCADE;
CREATE MATERIALIZED VIEW c... | 21.711268 | 75 | 0.674992 |
b3615d7927e479045f3dabeee87ce71a5fd86639 | 618 | rb | Ruby | app/controllers/spree/api/v2/states_controller.rb | wildcardlabs/solidus_json_api | a6f2379df1c05d6b31097462789287b096b54982 | [
"BSD-3-Clause"
] | 15 | 2015-12-04T19:39:05.000Z | 2016-08-20T09:42:54.000Z | app/controllers/spree/api/v2/states_controller.rb | spree-contrib/spree_api_v2 | a6f2379df1c05d6b31097462789287b096b54982 | [
"BSD-3-Clause"
] | 6 | 2015-09-23T20:28:11.000Z | 2015-10-14T22:22:39.000Z | app/controllers/spree/api/v2/states_controller.rb | BenMorganIO/solidus_json_api | a6f2379df1c05d6b31097462789287b096b54982 | [
"BSD-3-Clause"
] | 4 | 2017-03-19T16:05:27.000Z | 2022-02-04T00:23:46.000Z | module Spree
module Api
module V2
class StatesController < Spree::Api::V2::BaseController
skip_before_action :authenticate_user
def index
render_collection states
end
def show
render_instance states.find(params[:id])
end
private
... | 20.6 | 80 | 0.550162 |
8586bdf6970371a55fd1a6f8fddc1bccd7804ff3 | 646 | js | JavaScript | src/types/user/user.resolvers.js | perfettiful/FEM-api-design-graphql | ec4a73a86487c84da599ee57ee9f74858e45c88b | [
"MIT"
] | 2 | 2022-01-12T00:49:55.000Z | 2022-01-20T22:50:49.000Z | src/types/user/user.resolvers.js | perfettiful/FEM-api-design-graphql | ec4a73a86487c84da599ee57ee9f74858e45c88b | [
"MIT"
] | 6 | 2021-05-08T09:55:14.000Z | 2021-11-08T18:33:06.000Z | src/types/user/user.resolvers.js | perfettiful/FEM-api-design-graphql | ec4a73a86487c84da599ee57ee9f74858e45c88b | [
"MIT"
] | 1 | 2022-02-03T00:33:59.000Z | 2022-02-03T00:33:59.000Z | import { User } from './user.model'
import { AuthenticationError } from 'apollo-server'
import { newApiKey } from '../../utils/auth'
const me = (_, args, ctx) => {
if (!ctx.user) {
throw new AuthenticationError()
}
return ctx.user
}
const updateMe = (_, args, ctx) => {
if (!ctx.user) {
throw new Authe... | 17.944444 | 72 | 0.597523 |
599f6b782a86258ad7e810beb3525b50546fe09e | 463 | sql | SQL | Backend/database/stored procedures/get_all_project.sql | DevelopGadget/Kanban | 6a8a3ab6fdced7ffcf932355c8993f53a04ad44e | [
"Apache-2.0"
] | null | null | null | Backend/database/stored procedures/get_all_project.sql | DevelopGadget/Kanban | 6a8a3ab6fdced7ffcf932355c8993f53a04ad44e | [
"Apache-2.0"
] | 8 | 2021-03-10T11:46:26.000Z | 2022-02-27T01:32:05.000Z | Backend/database/stored procedures/get_all_project.sql | DevelopGadget/Kanban | 6a8a3ab6fdced7ffcf932355c8993f53a04ad44e | [
"Apache-2.0"
] | null | null | null | ALTER PROCEDURE [dbo].GetAllProject
@PageNumber INT = 1,
@PageSize INT = 100,
@Id NVARCHAR (MAX)
AS
BEGIN
SELECT P
FROM [dbo].Projects P RIGHT JOIN [dbo].MembersProject M
ON P.[Id] = M.[IdProject] AND M.[IsActiveMember] = 1 AND (P.[Admin] = @Id OR @Id = M.[IdUser])
WHE... | 30.866667 | 98 | 0.596112 |
b1c14e0ca01808fa97fb2281a813beef90be3852 | 48,809 | h | C | include/graphical_model.h | junkyul/limid | 1a97ad0e25a1b4ef8ee66fee7821f2dd925e845b | [
"BSD-3-Clause"
] | 1 | 2016-06-23T18:08:49.000Z | 2016-06-23T18:08:49.000Z | include/graphical_model.h | junkyul/limid | 1a97ad0e25a1b4ef8ee66fee7821f2dd925e845b | [
"BSD-3-Clause"
] | null | null | null | include/graphical_model.h | junkyul/limid | 1a97ad0e25a1b4ef8ee66fee7821f2dd925e845b | [
"BSD-3-Clause"
] | 1 | 2016-06-24T05:39:11.000Z | 2016-06-24T05:39:11.000Z | /*
* graphical_model.h
*
* Created on: Feb 8, 2013
* Author: radu
*
* Copyright (c) 2015, International Business Machines Corporation
* and University of California Irvine. All rights reserved.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED W... | 31.694156 | 117 | 0.629023 |
e77f0c5407dd60c163ea84ced05720eaa3766016 | 1,365 | js | JavaScript | src/components/Home/index.js | indec-it/seed-backoffice-react | 62fc7480ba3166cf9760963bf7c0fc653aea44d7 | [
"MIT"
] | 1 | 2018-05-16T15:34:54.000Z | 2018-05-16T15:34:54.000Z | src/components/Home/index.js | indec-it/seed-backoffice-react | 62fc7480ba3166cf9760963bf7c0fc653aea44d7 | [
"MIT"
] | 14 | 2018-07-09T23:20:44.000Z | 2022-02-10T17:15:27.000Z | src/components/Home/index.js | indec-it/seed-backoffice-react | 62fc7480ba3166cf9760963bf7c0fc653aea44d7 | [
"MIT"
] | 1 | 2020-05-20T11:30:59.000Z | 2020-05-20T11:30:59.000Z | /* eslint-disable */
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
Col,
Container,
Row,
ButtonGroup
} from 'reactstrap';
class Home extends Component {
static propTypes = {
profile: PropTypes.shape({})
};
static defaultProps = {
prof... | 23.534483 | 78 | 0.441758 |
da38b0e69516ed55dca4677ec6fda5a9f9130e89 | 4,719 | rs | Rust | src/models/timestamp.rs | jay3332/rs-cord | 0096062a8cccc4721d0fac3ac8b3db73eae4c34b | [
"MIT"
] | 5 | 2022-01-05T16:17:55.000Z | 2022-01-11T01:24:10.000Z | src/models/timestamp.rs | jay3332/rs-cord | 0096062a8cccc4721d0fac3ac8b3db73eae4c34b | [
"MIT"
] | null | null | null | src/models/timestamp.rs | jay3332/rs-cord | 0096062a8cccc4721d0fac3ac8b3db73eae4c34b | [
"MIT"
] | null | null | null | use std::time::Duration;
#[cfg(feature = "chrono")]
extern crate chrono;
#[cfg(feature = "chrono")]
use chrono::{DateTime, NaiveDateTime, Utc};
/// An enum to represent relative time.
///
/// # See
/// [`Timestamp::as_relative_time`]
#[derive(Clone, Debug)]
pub enum RelativeTime {
/// This timestamp is in the pa... | 29.867089 | 120 | 0.594194 |
475bb656c0135ea6f01cc7b591a56f1004247368 | 4,266 | html | HTML | index.html | brnmpto/apple-clone | 656ae361924001f8031e8874e9d011f8bd491a72 | [
"MIT"
] | null | null | null | index.html | brnmpto/apple-clone | 656ae361924001f8031e8874e9d011f8bd491a72 | [
"MIT"
] | null | null | null | index.html | brnmpto/apple-clone | 656ae361924001f8031e8874e9d011f8bd491a72 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>App... | 41.019231 | 117 | 0.454993 |
78b410055b56dd9d3123bfd61ba56dfd03a6c1ad | 68 | swift | Swift | Prelude-UIKit/LensHolder.swift | ryantstone/Kickstarter-Prelude | ee7a68e02da80c8742ee8027f70fa831a1826c86 | [
"Apache-2.0"
] | 460 | 2016-12-14T13:37:06.000Z | 2022-03-04T07:43:47.000Z | Prelude-UIKit/LensHolder.swift | michaelevensen/Kickstarter-Prelude | 03e377dd9d1ceaa81347a1475f0d43f8d4089983 | [
"Apache-2.0"
] | 18 | 2016-12-15T16:04:07.000Z | 2019-03-19T21:33:48.000Z | Prelude-UIKit/LensHolder.swift | michaelevensen/Kickstarter-Prelude | 03e377dd9d1ceaa81347a1475f0d43f8d4089983 | [
"Apache-2.0"
] | 83 | 2016-12-14T16:15:42.000Z | 2022-03-22T00:59:27.000Z | import Foundation
import Prelude
extension NSObject: LensObject {}
| 13.6 | 33 | 0.823529 |
39bac38cb5e9f20fb774a5d1bec95447a3ff3089 | 3,612 | js | JavaScript | src/modules/k8s/shared.js | smpio/kubernator | 353263a1505ee1ccf204ca73f6164e2f2408e15d | [
"MIT"
] | 511 | 2017-11-23T16:48:45.000Z | 2022-01-03T03:58:28.000Z | src/modules/k8s/shared.js | smpio/kube-browser | 353263a1505ee1ccf204ca73f6164e2f2408e15d | [
"MIT"
] | 36 | 2017-11-23T10:04:04.000Z | 2021-03-01T22:35:38.000Z | src/modules/k8s/shared.js | smpio/kube-browser | 353263a1505ee1ccf204ca73f6164e2f2408e15d | [
"MIT"
] | 41 | 2017-11-24T10:10:49.000Z | 2021-07-28T05:48:20.000Z | import { call, put, take, takeEvery } from 'redux-saga/effects';
// import store from 'store';
import {
NotiErrorApi,
} from '../../middleware/notifications';
// constants
// -----------
export const PREFIX = 'k8s';
export const LOADING = Symbol('LOADING');
export const FAILURE = Symbol('FAILURE');
export const ... | 24.739726 | 91 | 0.654208 |
ec4bd7d969a2a3dc0207dd2a20b34e657008bb26 | 6,564 | swift | Swift | Sources/FileGenerators/CPlusPlusWBPosterGenerator.swift | mipalgu/WhiteboardWrapperGenerator | d4718737614e804b39da44fdf86a3185b41a92be | [
"BSD-4-Clause"
] | null | null | null | Sources/FileGenerators/CPlusPlusWBPosterGenerator.swift | mipalgu/WhiteboardWrapperGenerator | d4718737614e804b39da44fdf86a3185b41a92be | [
"BSD-4-Clause"
] | null | null | null | Sources/FileGenerators/CPlusPlusWBPosterGenerator.swift | mipalgu/WhiteboardWrapperGenerator | d4718737614e804b39da44fdf86a3185b41a92be | [
"BSD-4-Clause"
] | null | null | null | /**
* /file CPlusPlusWBPosterGenerator.swift
*
* Created by Carl Lusty in 2018.
* Copyright (c) 2018 Carl Lusty ... | 32.82 | 161 | 0.603595 |
106ebacb0e70715407ae6d582ca116898725c3f0 | 183 | swift | Swift | Projects/Application/Tests/RIBs/Authentication/Register/Mock/RegisterDependencyMock.swift | interactord/modoo | e6394c899c4410d6b713dd4fb78b20c1065d7db0 | [
"MIT"
] | 4 | 2021-02-01T17:04:34.000Z | 2021-04-17T04:09:04.000Z | Projects/Application/Tests/RIBs/Authentication/Register/Mock/RegisterDependencyMock.swift | interactord/modoo | e6394c899c4410d6b713dd4fb78b20c1065d7db0 | [
"MIT"
] | 30 | 2021-02-01T17:10:33.000Z | 2021-03-22T01:54:58.000Z | Projects/Application/Tests/RIBs/Authentication/Register/Mock/RegisterDependencyMock.swift | interactord/modoo | e6394c899c4410d6b713dd4fb78b20c1065d7db0 | [
"MIT"
] | null | null | null | import RIBs
@testable import Application
class RegisterDependencyMock: RegisterDependency {
var mediaPickerUseCase: MediaPickerUseCase {
UIMediaPickerPlatformUseCase()
}
}
| 16.636364 | 50 | 0.803279 |
9f110f331edc1b2da3c579f65fb1cab5eb96df9e | 1,820 | swift | Swift | corona-virus/corona-virus/views/LegalNoticesViewController.swift | sassoftware/sas-sdk-for-iOS-examples | 02a3e03d027b2c712c4a525c1ee73114dd5b85f8 | [
"Apache-2.0"
] | 8 | 2018-04-18T18:30:17.000Z | 2020-04-19T19:43:04.000Z | corona-virus/corona-virus/views/LegalNoticesViewController.swift | sassoftware/sas-sdk-for-iOS-examples | 02a3e03d027b2c712c4a525c1ee73114dd5b85f8 | [
"Apache-2.0"
] | 8 | 2018-04-25T05:03:10.000Z | 2019-09-30T15:07:09.000Z | corona-virus/corona-virus/views/LegalNoticesViewController.swift | sassoftware/sas-sdk-for-iOS-examples | 02a3e03d027b2c712c4a525c1ee73114dd5b85f8 | [
"Apache-2.0"
] | 5 | 2018-04-20T15:04:37.000Z | 2019-10-08T16:22:42.000Z | //
// LegalNoticesViewController.swift
// corona-virus
//
// Copyright © 2020 SAS. All rights reserved.
//
import UIKit
class LegalNoticesViewController : UIViewController {
@IBOutlet weak var containerView:UIView?
@IBOutlet weak var closeButton:UIBarButtonItem?
override func viewDidLoad()
... | 41.363636 | 171 | 0.697253 |
d924b8e3e47f4c551be43e80bcad4c9a086de308 | 713 | sql | SQL | packages/intranet-core/sql/postgresql/upgrade/upgrade-5.0.2.3.0-5.0.2.3.1.sql | iuri/tutortronics | 463ea1535773d06ce34d269136eab3ecaffcb1cf | [
"Info-ZIP",
"ImageMagick"
] | null | null | null | packages/intranet-core/sql/postgresql/upgrade/upgrade-5.0.2.3.0-5.0.2.3.1.sql | iuri/tutortronics | 463ea1535773d06ce34d269136eab3ecaffcb1cf | [
"Info-ZIP",
"ImageMagick"
] | null | null | null | packages/intranet-core/sql/postgresql/upgrade/upgrade-5.0.2.3.0-5.0.2.3.1.sql | iuri/tutortronics | 463ea1535773d06ce34d269136eab3ecaffcb1cf | [
"Info-ZIP",
"ImageMagick"
] | null | null | null | -- 5.0.2.3.0-5.0.2.3.1.sql
SELECT acs_log__debug('/packages/intranet-core/sql/postgresql/upgrade/upgrade-5.0.2.3.0-5.0.2.3.1.sql','');
select im_menu__new (
null, -- p_menu_id
'im_menu', -- object_type
now(), -- creation_date
null, -- creation_user
null, -- creation_ip
null, -- context_id
'int... | 31 | 110 | 0.684432 |
7aabff72cf86db3aad9e2f3854efb9266c58c8c8 | 514 | rb | Ruby | attributes/install.rb | sous-chefs/traefik | dd57fcec8a6e3b04633d6cbff977dbf035c663b1 | [
"Apache-2.0"
] | 7 | 2016-11-22T21:27:44.000Z | 2019-07-22T02:09:53.000Z | attributes/install.rb | sous-chefs/traefik | dd57fcec8a6e3b04633d6cbff977dbf035c663b1 | [
"Apache-2.0"
] | 4 | 2020-09-17T19:12:45.000Z | 2021-08-20T15:03:00.000Z | attributes/install.rb | redguide/traefik | dd57fcec8a6e3b04633d6cbff977dbf035c663b1 | [
"Apache-2.0"
] | 4 | 2017-03-09T17:12:07.000Z | 2017-08-14T17:51:54.000Z | default['traefik']['install']['version'] = '1.3.1'
default['traefik']['install']['install_method'] = 'binary'
default['traefik']['install']['binary']['version'] = node['traefik']['install']['version']
default['traefik']['install']['binary']['url'] = "https://github.com/containous/traefik/releases/download/v#{node['tra... | 64.25 | 178 | 0.671206 |
cb38fe28f078cf020523f313e091214c323885ba | 11,622 | go | Go | workflow.go | snipem/awgo | 09f767b094816cd865fa3b396d09023baeaa8ff5 | [
"MIT"
] | 736 | 2017-09-08T20:39:13.000Z | 2022-03-31T15:04:35.000Z | workflow.go | snipem/awgo | 09f767b094816cd865fa3b396d09023baeaa8ff5 | [
"MIT"
] | 76 | 2018-01-17T02:29:39.000Z | 2022-03-19T10:57:01.000Z | workflow.go | snipem/awgo | 09f767b094816cd865fa3b396d09023baeaa8ff5 | [
"MIT"
] | 39 | 2017-09-15T06:49:24.000Z | 2022-01-25T10:39:50.000Z | // Copyright (c) 2018 Dean Jackson <deanishe@deanishe.net>
// MIT Licence - http://opensource.org/licenses/MIT
package aw
import (
"fmt"
"io"
"log"
"os"
"os/exec"
"path/filepath"
"runtime/debug"
"sync"
"time"
"go.deanishe.net/fuzzy"
"github.com/deanishe/awgo/keychain"
"github.com/deanishe/awgo/util"
)
... | 28.485294 | 82 | 0.677078 |
33916bcf220eb5da8cb55de5a53cd204d816b842 | 893 | swift | Swift | Sources/Jaeger/Jaeger/Models/JaegerLog.swift | pauljohanneskraft/jaeger-swift | 7cbb81865822225188b1b987ed6d26993ea906e3 | [
"BSD-2-Clause"
] | 17 | 2018-10-23T15:21:19.000Z | 2020-08-05T12:01:01.000Z | Sources/Jaeger/Jaeger/Models/JaegerLog.swift | pauljohanneskraft/jaeger-swift | 7cbb81865822225188b1b987ed6d26993ea906e3 | [
"BSD-2-Clause"
] | 9 | 2018-12-12T18:24:03.000Z | 2020-08-01T22:48:07.000Z | Sources/Jaeger/Jaeger/Models/JaegerLog.swift | pauljohanneskraft/jaeger-swift | 7cbb81865822225188b1b987ed6d26993ea906e3 | [
"BSD-2-Clause"
] | 8 | 2019-05-07T07:55:28.000Z | 2020-08-04T14:27:16.000Z | //
// JaegerLog.swift
// Jaeger
//
// Created by Simon-Pierre Roy on 10/29/18.
//
import Foundation
/**
The Jaeger version of an OpenTracing Log.
See the [Jaeger.Thrift](https://github.com/jaegertracing/jaeger-idl/blob/master/thrift/jaeger.thrift) definition.
*/
struct JaegerLog: Codable {
/**
Creat... | 27.060606 | 150 | 0.678611 |
64ee2dfa3e513e10fe5bd50d86f4148dd09a08fc | 4,975 | rs | Rust | src/app.rs | brunograssano/Conways-Game-of-Life | a4252e0f7abc37f41ab5c1127fc21680067f4380 | [
"MIT"
] | null | null | null | src/app.rs | brunograssano/Conways-Game-of-Life | a4252e0f7abc37f41ab5c1127fc21680067f4380 | [
"MIT"
] | null | null | null | src/app.rs | brunograssano/Conways-Game-of-Life | a4252e0f7abc37f41ab5c1127fc21680067f4380 | [
"MIT"
] | null | null | null | use crate::board::Board;
extern crate piston_window;
use piston::input::{RenderEvent, UpdateEvent};
use piston_window::*;
const MIN_SCALE_FACTOR : f64 = 6.0;
const MAX_SCALE_FACTOR : f64 = 60.0;
const WIDTH: u32 = 600;
const HEIGHT: u32 = 600;
const PADDING: f64 = 1.0;
const NO_PADDING: f64 = 0.0;
#[derive(Copy, Clon... | 37.126866 | 149 | 0.483417 |
9bd4556ec7d925f606c58a1b5d94478c37467392 | 1,730 | js | JavaScript | src/components/Tinymce/src/helper.js | Shallower/mbs | c09d7252a39a3cbc72f23e13f6606b330e164eb0 | [
"MIT"
] | null | null | null | src/components/Tinymce/src/helper.js | Shallower/mbs | c09d7252a39a3cbc72f23e13f6606b330e164eb0 | [
"MIT"
] | null | null | null | src/components/Tinymce/src/helper.js | Shallower/mbs | c09d7252a39a3cbc72f23e13f6606b330e164eb0 | [
"MIT"
] | null | null | null | const validEvents = [
'onActivate',
'onAddUndo',
'onBeforeAddUndo',
'onBeforeExecCommand',
'onBeforeGetContent',
'onBeforeRenderUI',
'onBeforeSetContent',
'onBeforePaste',
'onBlur',
'onChange',
'onClearUndos',
'onClick',
'onContextMenu',
'onCopy',
'onCut',
... | 21.358025 | 71 | 0.553179 |
50c85a7f436247ee3153403efcf0cbd8f6f05c1c | 451 | go | Go | hardware/gpio-switch.go | MarkSaravi/drone2 | d52a0471f63d3cb54e2faaa140a78f1dcdf0e5d0 | [
"MIT"
] | 1 | 2021-09-06T23:22:24.000Z | 2021-09-06T23:22:24.000Z | hardware/gpio-switch.go | MarkSaravi/drone2 | d52a0471f63d3cb54e2faaa140a78f1dcdf0e5d0 | [
"MIT"
] | null | null | null | hardware/gpio-switch.go | MarkSaravi/drone2 | d52a0471f63d3cb54e2faaa140a78f1dcdf0e5d0 | [
"MIT"
] | null | null | null | package hardware
import (
"log"
"periph.io/x/periph/conn/gpio"
"periph.io/x/periph/conn/gpio/gpioreg"
)
type gpioswitch struct {
pin gpio.PinIn
}
func (b *gpioswitch) Read() bool {
return b.pin.Read() == gpio.Low
}
func NewGPIOSwitch(pinName string) *gpioswitch {
var pin gpio.PinIn = gpioreg.ByName(pinName)
... | 16.107143 | 48 | 0.685144 |
07ff2609c6e77b2504f7de1777d74b4b49fece4c | 554 | c | C | C/StandaloneExercises/Concatenation.c | TacPhoto/Learning | 28fb3c6469164c57d0ccb973732168f01b685113 | [
"MIT"
] | null | null | null | C/StandaloneExercises/Concatenation.c | TacPhoto/Learning | 28fb3c6469164c57d0ccb973732168f01b685113 | [
"MIT"
] | null | null | null | C/StandaloneExercises/Concatenation.c | TacPhoto/Learning | 28fb3c6469164c57d0ccb973732168f01b685113 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdio.h>
#define endl puts("")
//don't laugh at me, I have never used strcat befor (or I have forgotten)
int main()
{
char someText[256]="What's";
char anotherText[]="up?";
puts(someText);
puts (anotherText);
endl;
strcat(someText," "); //please note this usage of strcat does not... | 23.083333 | 153 | 0.703971 |
4605109b9c78b5f99b3471d6b66cbee030d898a8 | 75 | sql | SQL | indicator/test/aroon_test.sql | modfin/tap | 173440dc28778f9d216d85804e511b6bf6600518 | [
"MIT"
] | 26 | 2018-12-14T12:31:47.000Z | 2022-01-16T22:09:01.000Z | indicator/test/aroon_test.sql | modfin/tap | 173440dc28778f9d216d85804e511b6bf6600518 | [
"MIT"
] | null | null | null | indicator/test/aroon_test.sql | modfin/tap | 173440dc28778f9d216d85804e511b6bf6600518 | [
"MIT"
] | 1 | 2021-02-05T20:00:33.000Z | 2021-02-05T20:00:33.000Z | SELECT * FROM tap_aroon(20, 0, '2017-12-31'::DATE-30, '2017-12-31'::DATE);
| 37.5 | 74 | 0.64 |
27bd49f2d6c95bb636d424eed587c4451258e276 | 6,758 | css | CSS | resources/SitePageCopies/Ongoing Gender Partisanship in the Department of Education/frontend-pro.css | citemap/citemap.github.io | 888a080dde2b5c925f4f92c8ac71a7d9fb696cc2 | [
"MIT"
] | null | null | null | resources/SitePageCopies/Ongoing Gender Partisanship in the Department of Education/frontend-pro.css | citemap/citemap.github.io | 888a080dde2b5c925f4f92c8ac71a7d9fb696cc2 | [
"MIT"
] | null | null | null | resources/SitePageCopies/Ongoing Gender Partisanship in the Department of Education/frontend-pro.css | citemap/citemap.github.io | 888a080dde2b5c925f4f92c8ac71a7d9fb696cc2 | [
"MIT"
] | null | null | null | .ig_has_alt_cta .ig_cta_wrapper{padding:1em .5em;width:96%;margin:.5em auto;text-align:center}.ig_has_alt_cta .ig_cta_wrapper .ig_cta_alt,.ig_has_alt_cta .ig_cta_wrapper .ig_cta_alt:hover{font-size:1em;width:100%;text-align:center;display:block;text-decoration:underline;padding:.5em;color:inherit;opacity:.7;cursor:poin... | 6,758 | 6,758 | 0.846848 |
5ca0004cf887cb3a5a880dc492c4e0be56bc567c | 11,415 | css | CSS | assets/front/css/responsive.css | ufairiya/fixmycar | a18ab4b2798b171973d2a2f0535709ac0a284279 | [
"MIT"
] | null | null | null | assets/front/css/responsive.css | ufairiya/fixmycar | a18ab4b2798b171973d2a2f0535709ac0a284279 | [
"MIT"
] | null | null | null | assets/front/css/responsive.css | ufairiya/fixmycar | a18ab4b2798b171973d2a2f0535709ac0a284279 | [
"MIT"
] | null | null | null | /*css for header area*/
@media (max-width: 1024px) {
.footer-top {
padding: 0px 15px 65px;
}
.footer-mid {
padding: 0px 15px 83px;
}
.ftr-email-form button {
right: -61%;
}
}
@media (max-width: 768px) {
.about section.banner>img {
display: no... | 22.921687 | 81 | 0.487078 |
570623b1a818d1c059755387e29e453c1f742557 | 6,964 | swift | Swift | MACTableViewSwift/MACTableView/MACTableView.swift | MacOMNI/MACTableView-Swift | f1ba731286a100095d4837680df6ba9bdfabb8a2 | [
"MIT"
] | 1 | 2021-04-26T06:11:33.000Z | 2021-04-26T06:11:33.000Z | MACTableViewSwift/MACTableView/MACTableView.swift | MacOMNI/MACTableView-Swift | f1ba731286a100095d4837680df6ba9bdfabb8a2 | [
"MIT"
] | null | null | null | MACTableViewSwift/MACTableView/MACTableView.swift | MacOMNI/MACTableView-Swift | f1ba731286a100095d4837680df6ba9bdfabb8a2 | [
"MIT"
] | null | null | null | //
// MACTableView.swift
// MACTableViewSwift
//
// Created by MacKun on 2016/12/23.
// Copyright © 2016年 com.soullon. All rights reserved.
//
import UIKit
import MJRefresh
import DZNEmptyDataSet
enum MACRefreshState{
case refreshing /** 下拉刷新的状态 */
case pulling /** pull 加载更多刷新中的状态 */
}
enum MACCanLoadState... | 30.017241 | 108 | 0.606692 |