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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6eebba080578e8d8b3ac4f1702a906fc7a60b693 | 2,526 | html | HTML | index.html | Simplon-Roubaix/Random-Herman-Dupont | 4bdd067156a96bc21b524db2da580eb4d2206984 | [
"MIT"
] | null | null | null | index.html | Simplon-Roubaix/Random-Herman-Dupont | 4bdd067156a96bc21b524db2da580eb4d2206984 | [
"MIT"
] | null | null | null | index.html | Simplon-Roubaix/Random-Herman-Dupont | 4bdd067156a96bc21b524db2da580eb4d2206984 | [
"MIT"
] | null | null | null | <!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>RandomAvecMonBinome</title>
<meta name="description" content="Le_jeu_du_Tu_dois_deviner_le_chiffre_que_l_ordinateur_va_sortir!">
<meta name="viewport" content="width=device-wi... | 36.608696 | 183 | 0.582344 |
7ae55d0de531ec1760c2b718c59c91c5c7252983 | 1,606 | rs | Rust | src/lib.rs | nuclearfurnace/deadpool-memcached | 23bfb837f5b3d21e511339b8933a723dc71fa86d | [
"Apache-2.0",
"MIT"
] | 1 | 2020-08-20T13:48:36.000Z | 2020-08-20T13:48:36.000Z | src/lib.rs | nuclearfurnace/deadpool-memcached | 23bfb837f5b3d21e511339b8933a723dc71fa86d | [
"Apache-2.0",
"MIT"
] | null | null | null | src/lib.rs | nuclearfurnace/deadpool-memcached | 23bfb837f5b3d21e511339b8933a723dc71fa86d | [
"Apache-2.0",
"MIT"
] | null | null | null | //! # Deadpool for Memcache
//!
//! Deadpool is a dead simple async pool for connections and objects of any type.
//!
//! This crate implements a [`deadpool`](https://crates.io/crates/deadpool) manager for
//! [`async-memcached`](https://crates.io/crates/async-memcached). We specifically force users to
//! connect via... | 32.77551 | 98 | 0.681818 |
e8e431aaa0e0c0342df0906099d3bfe584c4dc40 | 262 | py | Python | MUNDO 1/ex023.py | athavus/Curso-em-video-Python-3 | a32be95adbccfcbe512a1ed30d3859141a230b5e | [
"MIT"
] | 1 | 2020-11-12T14:03:32.000Z | 2020-11-12T14:03:32.000Z | MUNDO 1/ex023.py | athavus/Curso-em-video-Python-3 | a32be95adbccfcbe512a1ed30d3859141a230b5e | [
"MIT"
] | null | null | null | MUNDO 1/ex023.py | athavus/Curso-em-video-Python-3 | a32be95adbccfcbe512a1ed30d3859141a230b5e | [
"MIT"
] | 1 | 2021-01-05T22:18:46.000Z | 2021-01-05T22:18:46.000Z | n1 = int(input('Digite um número entre 0 e 9999: '))
u = n1 // 1 % 10
d = n1 // 10 % 10
c = n1 // 100 % 10
m = n1 // 1000 % 10
print(f'Analisando o número {n1}')
print(f'unidade: {u}')
print(f'dezena: {d}')
print(f'centena: {c}')
print(f'milhar: {m}')
| 23.818182 | 53 | 0.549618 |
d2d3a0f21a33c97da8c9eb7f83fe02d60b8074b5 | 1,066 | kt | Kotlin | app/src/main/java/com/example/mercadofacil/DebugActivity.kt | tr0v40/ACS--FERNANDO | b593021c7558c89e4a8426e87a4ea33679aa751f | [
"MIT"
] | null | null | null | app/src/main/java/com/example/mercadofacil/DebugActivity.kt | tr0v40/ACS--FERNANDO | b593021c7558c89e4a8426e87a4ea33679aa751f | [
"MIT"
] | null | null | null | app/src/main/java/com/example/mercadofacil/DebugActivity.kt | tr0v40/ACS--FERNANDO | b593021c7558c89e4a8426e87a4ea33679aa751f | [
"MIT"
] | null | null | null | package com.example.mercadofacil
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
open class DebugActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
}
private val TAG = "MercadoF... | 24.227273 | 56 | 0.601313 |
1a1e10a234449c05de61ea768b396f6ce7cba30e | 497 | kt | Kotlin | fints4k/src/commonMain/kotlin/net/dankito/banking/fints/messages/datenelemente/implementierte/tan/TanMedienArtVersion.kt | codinux-gmbh/fints4k.BAK | b4232dffd35346883ad02b220d420c46af83e815 | [
"RSA-MD"
] | null | null | null | fints4k/src/commonMain/kotlin/net/dankito/banking/fints/messages/datenelemente/implementierte/tan/TanMedienArtVersion.kt | codinux-gmbh/fints4k.BAK | b4232dffd35346883ad02b220d420c46af83e815 | [
"RSA-MD"
] | null | null | null | fints4k/src/commonMain/kotlin/net/dankito/banking/fints/messages/datenelemente/implementierte/tan/TanMedienArtVersion.kt | codinux-gmbh/fints4k.BAK | b4232dffd35346883ad02b220d420c46af83e815 | [
"RSA-MD"
] | null | null | null | package net.dankito.banking.fints.messages.datenelemente.implementierte.tan
import net.dankito.banking.fints.messages.datenelemente.implementierte.ICodeEnum
/**
* dient der Klassifizierung der gesamten dem Kunden zugeordneten TAN-Medien. Bei
* Geschäftsvorfällen zum Management des TAN-Generators kann aus diesen na... | 26.157895 | 86 | 0.772636 |
af45f02ff827e03f8c2b6f7cdff455e782e54e90 | 1,244 | rb | Ruby | sassy-contour.rb | kiafaldorius/sassy-contour | 6c6ed65904bded6ec3a2041bccfadf95e6641a70 | [
"MIT"
] | null | null | null | sassy-contour.rb | kiafaldorius/sassy-contour | 6c6ed65904bded6ec3a2041bccfadf95e6641a70 | [
"MIT"
] | null | null | null | sassy-contour.rb | kiafaldorius/sassy-contour | 6c6ed65904bded6ec3a2041bccfadf95e6641a70 | [
"MIT"
] | null | null | null | require 'haml'
require 'sass'
require 'coffee-script'
require 'sinatra'
require 'bootstrap-sass'
require_relative 'app/helpers/template_helper'
helpers TemplateHelper
# The root path is special. It's not treated as a page because:
# a) it would result in an empty symbol name for the template (works, but weird)
# b) t... | 23.037037 | 80 | 0.70418 |
3e9719948a8e7817658496929115fe52bda45473 | 14,370 | c | C | kernels/linux-2.6.24/drivers/firewire/fw-card.c | liuhaozzu/linux | bdf9758cd23e34b5f53e8e6339d9b29348615e14 | [
"Apache-2.0"
] | null | null | null | kernels/linux-2.6.24/drivers/firewire/fw-card.c | liuhaozzu/linux | bdf9758cd23e34b5f53e8e6339d9b29348615e14 | [
"Apache-2.0"
] | 1 | 2021-04-09T09:24:44.000Z | 2021-04-09T09:24:44.000Z | drivers/firewire/fw-card.c | KylinskyChen/linuxCore_2.6.24 | 11e90b14386491cc80477d4015e0c8f673f6d020 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2005-2007 Kristian Hoegsberg <krh@bitplanet.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later vers... | 25.614973 | 77 | 0.700905 |
c12f4567f9bd51ee93242bab99b6ae983845a057 | 779 | rs | Rust | examples/client_http2.rs | nox/hyper | 45ec6fd8841786b2625e7240507a967bd27a6050 | [
"MIT"
] | 1 | 2015-11-26T13:45:36.000Z | 2015-11-26T13:45:36.000Z | examples/client_http2.rs | nox/hyper | 45ec6fd8841786b2625e7240507a967bd27a6050 | [
"MIT"
] | null | null | null | examples/client_http2.rs | nox/hyper | 45ec6fd8841786b2625e7240507a967bd27a6050 | [
"MIT"
] | null | null | null | #![deny(warnings)]
extern crate hyper;
extern crate env_logger;
use std::env;
use std::io;
use hyper::Client;
use hyper::header::Connection;
use hyper::http::h2;
fn main() {
env_logger::init().unwrap();
let url = match env::args().nth(1) {
Some(url) => url,
None => {
println!("U... | 22.257143 | 98 | 0.577664 |
dda7923943000c76edf0dcb131f6b8ec96f3358b | 102 | sql | SQL | backend/de.metas.fresh/de.metas.fresh.base/src/main/sql/postgresql/system/70-de.metas.fresh/5426855_sys_09320_update_orginfo_ReportPrefix.sql | dram/metasfresh | a1b881a5b7df8b108d4c4ac03082b72c323873eb | [
"RSA-MD"
] | 1,144 | 2016-02-14T10:29:35.000Z | 2022-03-30T09:50:41.000Z | backend/de.metas.fresh/de.metas.fresh.base/src/main/sql/postgresql/system/70-de.metas.fresh/5426855_sys_09320_update_orginfo_ReportPrefix.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 8,283 | 2016-04-28T17:41:34.000Z | 2022-03-30T13:30:12.000Z | backend/de.metas.fresh/de.metas.fresh.base/src/main/sql/postgresql/system/70-de.metas.fresh/5426855_sys_09320_update_orginfo_ReportPrefix.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 441 | 2016-04-29T08:06:07.000Z | 2022-03-28T06:09:56.000Z | UPDATE ad_orginfo SET ReportPrefix='file:////opt/metasfresh/jboss/server/adempiere/deploy/reports.war' | 102 | 102 | 0.823529 |
1186c68a6703bb69e12830b9a5598ff2af7ad9a3 | 6,472 | rs | Rust | src/graphic_button.rs | GuillaumeGomez/rust-music-player | 40b97b3433e6e813d63bf6f16a598660fd58b123 | [
"Apache-2.0"
] | 24 | 2015-02-02T14:15:42.000Z | 2021-05-18T01:10:09.000Z | src/graphic_button.rs | GuillaumeGomez/rust-music-player | 40b97b3433e6e813d63bf6f16a598660fd58b123 | [
"Apache-2.0"
] | 5 | 2017-02-14T17:07:15.000Z | 2021-07-15T07:54:34.000Z | src/graphic_button.rs | GuillaumeGomez/rust-music-player | 40b97b3433e6e813d63bf6f16a598660fd58b123 | [
"Apache-2.0"
] | 5 | 2018-03-28T09:25:35.000Z | 2020-03-11T11:41:17.000Z | /*
* Rust-music-player - Copyright (c) 2014 Gomez Guillaume.
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
* the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* ... | 29.418182 | 93 | 0.544499 |
0bf81f379dccf0e7750ed1817fffd697540730b8 | 8,681 | js | JavaScript | src/js/container/Menu.js | tpucci/jobads-webapp | ac1d771e981bd2473e90369909be2342d3c3b1b1 | [
"MIT"
] | null | null | null | src/js/container/Menu.js | tpucci/jobads-webapp | ac1d771e981bd2473e90369909be2342d3c3b1b1 | [
"MIT"
] | 1 | 2017-02-15T15:38:59.000Z | 2017-02-16T13:32:04.000Z | src/js/container/Menu.js | tpucci/jobads-webapp | ac1d771e981bd2473e90369909be2342d3c3b1b1 | [
"MIT"
] | 2 | 2017-05-30T09:48:28.000Z | 2020-01-22T12:25:11.000Z | import React from 'react';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import {greenA400, grey500, grey300} from 'material-ui/styles/colors';
import Drawer from 'material-ui/Drawer';
import AppBar from 'material-ui/AppBar';
import MenuIte... | 35.577869 | 238 | 0.583113 |
43af3309abb5c0ed24d210d24bf28e9ecef70ca5 | 6,362 | go | Go | src/les/utils/limiter_test.go | wldear/masa-node-v1.0 | 11def1cff72eef0b5d09289aeaf57df52e707771 | [
"MIT"
] | 280 | 2021-05-19T07:34:12.000Z | 2021-07-12T01:35:22.000Z | src/les/utils/limiter_test.go | wldear/masa-node-v1.0 | 11def1cff72eef0b5d09289aeaf57df52e707771 | [
"MIT"
] | 60 | 2021-12-10T10:29:26.000Z | 2022-03-26T14:58:32.000Z | src/les/utils/limiter_test.go | wldear/masa-node-v1.0 | 11def1cff72eef0b5d09289aeaf57df52e707771 | [
"MIT"
] | 86 | 2021-12-10T06:05:18.000Z | 2022-03-26T18:59:54.000Z | // Copyright 2020 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License... | 30.7343 | 99 | 0.60044 |
5bcc4d69a6fe812325bda110e9d2e3346c0690e7 | 584 | h | C | Homework5/EduServer_IOCP/ClientSessionManager.h | abiles/gameServer2015 | 043d6565e54d1ca791bd46b1e6954ed5605d710f | [
"MIT"
] | 4 | 2017-08-30T06:01:10.000Z | 2020-02-28T04:38:16.000Z | Homework6/EduServer_IOCP/ClientSessionManager.h | abiles/gameServer2015 | 043d6565e54d1ca791bd46b1e6954ed5605d710f | [
"MIT"
] | null | null | null | Homework6/EduServer_IOCP/ClientSessionManager.h | abiles/gameServer2015 | 043d6565e54d1ca791bd46b1e6954ed5605d710f | [
"MIT"
] | 2 | 2019-06-06T06:19:49.000Z | 2019-09-06T14:01:00.000Z | #pragma once
#include <list>
#include <WinSock2.h>
#include "FastSpinlock.h"
class ClientSession;
class ClientSessionManager
{
public:
ClientSessionManager() : mCurrentIssueCount(0), mCurrentReturnCount(0)
{}
~ClientSessionManager();
void PrepareClientSessions();
bool AcceptClientSessions();
void ReturnClie... | 17.176471 | 71 | 0.792808 |
74475d07a87762dbf08e6cb6dda8cffe3c714d2e | 5,011 | swift | Swift | tSecreta/tSecreta/NoteDataHandler.swift | mtonosaki/tSecreta | 4f21facded0a3654cb08be127e51d8cbfe95b2bb | [
"MIT"
] | null | null | null | tSecreta/tSecreta/NoteDataHandler.swift | mtonosaki/tSecreta | 4f21facded0a3654cb08be127e51d8cbfe95b2bb | [
"MIT"
] | 14 | 2021-11-24T11:15:27.000Z | 2022-03-29T13:45:07.000Z | tSecreta/tSecreta/NoteDataHandler.swift | mtonosaki/tSecreta | 4f21facded0a3654cb08be127e51d8cbfe95b2bb | [
"MIT"
] | null | null | null | //
// CloudFileHandler.swift
// tSecreta
//
// Created by Manabu Tonosaki on 2021/12/01.
// MIT License (c)2021 Manabu Tonosaki all rights reserved.
import UIKit
// import AZSClient // no need to import AZSClient here because of imported with Bridging-Header.h as an object-c bridge
public func UploadText(text: S... | 34.798611 | 169 | 0.642387 |
9d4cc111b1f0061841a5d51339806bd4b0006149 | 109 | asm | Assembly | 3° Período/Arquiterura-e-Organiza-o-de-Computadores/Operações Básicas MIPS 1.asm | sullyvan15/UVV | 2390cc2881792d036db1d8b098fe366f47cd98c3 | [
"MIT"
] | null | null | null | 3° Período/Arquiterura-e-Organiza-o-de-Computadores/Operações Básicas MIPS 1.asm | sullyvan15/UVV | 2390cc2881792d036db1d8b098fe366f47cd98c3 | [
"MIT"
] | 1 | 2020-10-07T23:33:21.000Z | 2020-10-08T01:15:11.000Z | 3° Período/Arquiterura-e-Organiza-o-de-Computadores/Operações Básicas MIPS 1.asm | sullyvan15/Universidade-Vila-Velha | 2390cc2881792d036db1d8b098fe366f47cd98c3 | [
"MIT"
] | null | null | null | .data
out_string: .ascii "\nHello, World!\n"
.text
main:
li $v0, 4
la $a0, out_string
syscall | 12.111111 | 39 | 0.59633 |
22249a67a5fa8ed5b23713f20c0a5c0c34fdaa43 | 1,275 | swift | Swift | TableViewIndependantHeader/TableViewIndependantHeader/Views/Main/Views/MainHeaderView.swift | rcasanovan/TableViewIndependantHeader | a10ae891dd24790d5646657268e7ddd1dbddbbe1 | [
"Apache-2.0"
] | null | null | null | TableViewIndependantHeader/TableViewIndependantHeader/Views/Main/Views/MainHeaderView.swift | rcasanovan/TableViewIndependantHeader | a10ae891dd24790d5646657268e7ddd1dbddbbe1 | [
"Apache-2.0"
] | null | null | null | TableViewIndependantHeader/TableViewIndependantHeader/Views/Main/Views/MainHeaderView.swift | rcasanovan/TableViewIndependantHeader | a10ae891dd24790d5646657268e7ddd1dbddbbe1 | [
"Apache-2.0"
] | null | null | null | //
// MainHeaderView.swift
// TableViewIndependantHeader
//
// Created by Ricardo Casanova on 30/08/2020.
// Copyright © 2020 Ricardo Casanova. All rights reserved.
//
import UIKit
//__ This class extends UIView. Feel free to modify it if needed
class MainHeaderView: UIView {
public static var height: CG... | 18.75 | 64 | 0.585098 |
70e91dd5cd169a6ebbda70113e910099fdcde335 | 214 | go | Go | testdata/src/a/a.go | gostaticanalysis/lion | b944fed56afaf3b612812054dae90f38271f6f0a | [
"MIT"
] | 31 | 2020-03-09T03:27:22.000Z | 2021-03-12T15:01:30.000Z | testdata/src/a/a.go | gostaticanalysis/lion | b944fed56afaf3b612812054dae90f38271f6f0a | [
"MIT"
] | null | null | null | testdata/src/a/a.go | gostaticanalysis/lion | b944fed56afaf3b612812054dae90f38271f6f0a | [
"MIT"
] | 1 | 2020-05-28T05:20:32.000Z | 2020-05-28T05:20:32.000Z | package a
func F1() {} // OK
func F2() {} // want `a\.F2 is not tested`
func f3() {} // OK
type T struct{}
func (T) M1() {} // OK
func (T) M2() {} // want `\(a\.T\)\.M2 is not tested`
func (T) m3() {} // OK
| 13.375 | 53 | 0.481308 |
df857599754e12785250aeb36cc3d060fb8b6bd4 | 581 | ts | TypeScript | src/packages/introspection/src/__tests__/handlePanic.test.ts | THEMEKKANIKKA/prisma | db0af08ba0c698d51dee8db5ce02f582ff7aac24 | [
"Apache-2.0"
] | null | null | null | src/packages/introspection/src/__tests__/handlePanic.test.ts | THEMEKKANIKKA/prisma | db0af08ba0c698d51dee8db5ce02f582ff7aac24 | [
"Apache-2.0"
] | 1 | 2020-10-07T03:10:40.000Z | 2020-10-07T03:10:40.000Z | src/packages/introspection/src/__tests__/handlePanic.test.ts | THEMEKKANIKKA/prisma | db0af08ba0c698d51dee8db5ce02f582ff7aac24 | [
"Apache-2.0"
] | 1 | 2020-10-07T03:09:39.000Z | 2020-10-07T03:09:39.000Z | import path from 'path'
import { Introspect } from '../commands/Introspect'
// import CaptureStdout from './__helpers__/captureStdout'
describe('panic', () => {
test('should panic', async () => {
process.env.FORCE_PANIC_INTROSPECTION_ENGINE = '1'
process.chdir(path.join(__dirname, 'fixture'))
const intro... | 30.578947 | 104 | 0.652324 |
6b4cff403c86cf9fb69451e04bebdc2b75c1fd85 | 623 | h | C | nfcd/src/main/jni/include/nfcd/hook/Symbol.h | malexmave/nfcgate | 8f9c8330d5507aedbb61803538b4d01a93fc7169 | [
"Apache-2.0"
] | 569 | 2015-08-14T14:27:45.000Z | 2022-03-31T17:07:39.000Z | nfcd/src/main/jni/include/nfcd/hook/Symbol.h | malexmave/nfcgate | 8f9c8330d5507aedbb61803538b4d01a93fc7169 | [
"Apache-2.0"
] | 45 | 2015-06-01T09:59:22.000Z | 2022-03-24T06:28:40.000Z | nfcd/src/main/jni/include/nfcd/hook/Symbol.h | malexmave/nfcgate | 8f9c8330d5507aedbb61803538b4d01a93fc7169 | [
"Apache-2.0"
] | 89 | 2016-03-20T01:33:19.000Z | 2022-03-17T16:53:38.000Z | #ifndef NFCD_SYMBOL_H
#define NFCD_SYMBOL_H
#include <cstdint>
#include <functional>
#include <type_traits>
#include <string>
#include <nfcd/error.h>
class Symbol {
public:
explicit Symbol(const std::string &name, void *libraryHandle);
template <typename Fn, typename... Args>
typename std::result_of<Fn*... | 20.096774 | 70 | 0.658106 |
6e279755ff808307ab8ff22bcd46b04340a0c050 | 43,421 | html | HTML | src/main/webapp/static/html/page-include/instructor-modal.html | LNMA/course_management_system-controller-view | 3d66fca7eb1c1847f719883066003dd8cdb03cf8 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/static/html/page-include/instructor-modal.html | LNMA/course_management_system-controller-view | 3d66fca7eb1c1847f719883066003dd8cdb03cf8 | [
"Apache-2.0"
] | 2 | 2020-09-25T17:54:00.000Z | 2020-09-25T18:00:46.000Z | src/main/webapp/static/html/page-include/instructor-modal.html | LNMA/course_management_system-controller-view | 3d66fca7eb1c1847f719883066003dd8cdb03cf8 | [
"Apache-2.0"
] | null | null | null | <nav ng-controller="InstructorHomeController">
<div id="viewProfileModal">
<div class="modal fade" id="profileModal">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Pro... | 61.677557 | 125 | 0.351005 |
74b29ff4b76ca4ced428ccc430bb6875c119ca16 | 638 | js | JavaScript | stores/user.js | crispchat/crisp-app-mobile | 1a46acb1053189a364454c6f19bd5cd5dc559ac0 | [
"MIT"
] | 6 | 2016-05-19T16:01:15.000Z | 2016-05-22T15:59:00.000Z | stores/user.js | crispchat/crisp-app-mobile | 1a46acb1053189a364454c6f19bd5cd5dc559ac0 | [
"MIT"
] | null | null | null | stores/user.js | crispchat/crisp-app-mobile | 1a46acb1053189a364454c6f19bd5cd5dc559ac0 | [
"MIT"
] | 1 | 2020-11-09T00:17:15.000Z | 2020-11-09T00:17:15.000Z | import alt from "../alt";
class UserStore {
constructor() {
this.displayName = "UserStore";
this.name = "UserStore";
this.UserActions = alt.getActions("UserActions");
this.bindActions(this.UserActions);
this.websites = [];
}
websitesLoaded(event) {
this.websites = event.... | 19.333333 | 57 | 0.623824 |
ace2c7f29cf919b400222a02310a255d7f954b52 | 216 | kt | Kotlin | app/src/main/java/com/maplonki/popularmovieskotlin/data/MovieDataStore.kt | maplonki/popular_movies_kotlin | 073b22b60368acd9a88b6b65268dc3755965c248 | [
"MIT"
] | null | null | null | app/src/main/java/com/maplonki/popularmovieskotlin/data/MovieDataStore.kt | maplonki/popular_movies_kotlin | 073b22b60368acd9a88b6b65268dc3755965c248 | [
"MIT"
] | null | null | null | app/src/main/java/com/maplonki/popularmovieskotlin/data/MovieDataStore.kt | maplonki/popular_movies_kotlin | 073b22b60368acd9a88b6b65268dc3755965c248 | [
"MIT"
] | null | null | null | package com.maplonki.popularmovieskotlin.data
import com.maplonki.popularmovieskotlin.data.entity.MovieEntity
/**
* Created by hugo on 2/15/18.
*/
interface MovieDataStore {
val movieList: List<MovieEntity>
} | 21.6 | 63 | 0.777778 |
cee5b98412ff980c8ccb5cbd43f7324d19b6592d | 3,862 | sql | SQL | reports_manager/report_manager_database/utility_functions/test/test_trig_log_reports_history.sql | james-cantrill/funda_components | 23ce9cfbd7b70544544b8d9278c21e86fe31da45 | [
"Apache-2.0"
] | null | null | null | reports_manager/report_manager_database/utility_functions/test/test_trig_log_reports_history.sql | james-cantrill/funda_components | 23ce9cfbd7b70544544b8d9278c21e86fe31da45 | [
"Apache-2.0"
] | null | null | null | reports_manager/report_manager_database/utility_functions/test/test_trig_log_reports_history.sql | james-cantrill/funda_components | 23ce9cfbd7b70544544b8d9278c21e86fe31da45 | [
"Apache-2.0"
] | null | null | null | -- test_action_enter_edit_reports.sql
/* the json object containng the inmput data, _in_data, is defined below.
_in_data: {
report_id:
report_name:
description:
url:
containing_folder_name:
insert_or_update: // text allowed values, insert, update
changing_user_login:
parameters... | 82.170213 | 625 | 0.779648 |
e779dea66f56743ca4bcbf70c9760ecad14afe7e | 824 | js | JavaScript | test/bootstrap.js | Cereceres/codigomx-challenge | f114b1ad8f115a5023cd518272ac8ef405cc264f | [
"MIT"
] | null | null | null | test/bootstrap.js | Cereceres/codigomx-challenge | f114b1ad8f115a5023cd518272ac8ef405cc264f | [
"MIT"
] | null | null | null | test/bootstrap.js | Cereceres/codigomx-challenge | f114b1ad8f115a5023cd518272ac8ef405cc264f | [
"MIT"
] | null | null | null | const supertest = require('supertest');
const User = require('../models/user.model');
const Response = require('../models/response.model');
const Post = require('../models/post.model');
const getServer = require('../index');
before(async() => {
const server = await getServer();
global.agent = supertest(server... | 25.75 | 71 | 0.578883 |
2dee018102a2354c3b2b558e9d311011d226bb10 | 5,064 | rs | Rust | src/parser.rs | smshax/rarc-rs | f437b95d85f0f681ee4e0add7cc00adcb116f090 | [
"MIT"
] | 1 | 2021-01-27T15:00:35.000Z | 2021-01-27T15:00:35.000Z | src/parser.rs | smshax/rarc-rs | f437b95d85f0f681ee4e0add7cc00adcb116f090 | [
"MIT"
] | 1 | 2018-09-08T21:55:48.000Z | 2018-09-09T21:52:54.000Z | src/parser.rs | smshax/rarc-rs | f437b95d85f0f681ee4e0add7cc00adcb116f090 | [
"MIT"
] | null | null | null | use nom::{IResult, be_u16, be_u32};
use {Entry, Header, Node};
pub fn parse_header(input: &[u8]) -> IResult<&[u8], Header> {
do_parse!(
input,
tag!("RARC") >>
file_size: be_u32 >>
tag!([0x00, 0x00, 0x00, 0x20]) >> // header length (always 0x20, this is just a validity assert)
... | 28.937143 | 104 | 0.532188 |
e4651efe2ad26ae1b00e4c1d66c2c026dd367d56 | 10,016 | swift | Swift | BLE-Swift/Demos/Devices/DeviceInfo/DeviceInfoViewController.swift | hulala1210/LYBluetoothKit | 646fdb195247e45fbeb8beada9b86664b5a81e6c | [
"MIT"
] | null | null | null | BLE-Swift/Demos/Devices/DeviceInfo/DeviceInfoViewController.swift | hulala1210/LYBluetoothKit | 646fdb195247e45fbeb8beada9b86664b5a81e6c | [
"MIT"
] | null | null | null | BLE-Swift/Demos/Devices/DeviceInfo/DeviceInfoViewController.swift | hulala1210/LYBluetoothKit | 646fdb195247e45fbeb8beada9b86664b5a81e6c | [
"MIT"
] | 1 | 2020-03-03T13:50:20.000Z | 2020-03-03T13:50:20.000Z | //
// DeviceInfoViewController.swift
// BLE-Swift
//
// Created by SuJiang on 2019/1/4.
// Copyright © 2019 ss. All rights reserved.
//
import UIKit
class DeviceInfoViewController: BaseViewController, UITableViewDelegate, UITableViewDataSource, CharacteristicCellTableViewCellDelegate, CmdKeyBoardViewDelegate {
... | 31.696203 | 162 | 0.569688 |
9f40c917149b44593254b583921f0b2a48e4857f | 14,116 | kt | Kotlin | app/src/main/java/com/revolgenx/anilib/user/service/UserServiceImpl.kt | MrJako2001/AniLib | 16e8dba5224095262a9704f8eced3ee0e3c2a5f9 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/revolgenx/anilib/user/service/UserServiceImpl.kt | MrJako2001/AniLib | 16e8dba5224095262a9704f8eced3ee0e3c2a5f9 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/revolgenx/anilib/user/service/UserServiceImpl.kt | MrJako2001/AniLib | 16e8dba5224095262a9704f8eced3ee0e3c2a5f9 | [
"Apache-2.0"
] | null | null | null | package com.revolgenx.anilib.user.service
import com.revolgenx.anilib.UserFollowersQuery
import com.revolgenx.anilib.UserFollowingQuery
import com.revolgenx.anilib.character.data.model.CharacterModel
import com.revolgenx.anilib.character.data.model.CharacterNameModel
import com.revolgenx.anilib.character.data.model.to... | 48.675862 | 120 | 0.441485 |
a46da51d225570e29c6e437d3efe824650825377 | 39,533 | sql | SQL | flarum.sql | maximusblade/Msunery | 4015f3e1d1083de01395da3548ee29d7c2f48d09 | [
"MIT"
] | null | null | null | flarum.sql | maximusblade/Msunery | 4015f3e1d1083de01395da3548ee29d7c2f48d09 | [
"MIT"
] | null | null | null | flarum.sql | maximusblade/Msunery | 4015f3e1d1083de01395da3548ee29d7c2f48d09 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.0-dev
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Nov 11, 2019 at 02:30 PM
-- Server version: 5.7.22
-- PHP Version: 7.3.4
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHAR... | 38.531189 | 1,143 | 0.737915 |
753abb76c9434929486c0386e16b4501a1fbed73 | 1,359 | h | C | classdump_Safari/BookmarksURLMatchingOperation.h | inket/smartPins | 2f9a68dccf8b605f863a680488ed4c6c428f4a52 | [
"MIT"
] | 2 | 2016-09-29T09:50:04.000Z | 2016-09-29T19:39:11.000Z | classdump_Safari/BookmarksURLMatchingOperation.h | inket/smartPins | 2f9a68dccf8b605f863a680488ed4c6c428f4a52 | [
"MIT"
] | null | null | null | classdump_Safari/BookmarksURLMatchingOperation.h | inket/smartPins | 2f9a68dccf8b605f863a680488ed4c6c428f4a52 | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <Foundation/NSOperation.h>
#import <Safari/CacheableResultBookmarksOperation-Protocol.h>
#import <Safari/ReusableResultBookmarksOperation-Protocol.h>
@class NSString, NSUR... | 32.357143 | 124 | 0.777778 |
f026a358543c6c191a734341080f8d140032aa93 | 24,827 | js | JavaScript | tests/acceptance/course/session/offerings-test.js | stopfstedt/common | 0b6ad5dce02c780850e2db93b00ca1cef3ea70e6 | [
"MIT"
] | 2 | 2017-11-01T04:57:34.000Z | 2020-07-15T19:29:07.000Z | tests/acceptance/course/session/offerings-test.js | ilios/common | 435c88a44c89582da196f7d401e4d31bcc910ed2 | [
"MIT"
] | 1,517 | 2017-07-05T17:15:01.000Z | 2022-03-31T20:57:55.000Z | tests/acceptance/course/session/offerings-test.js | Trott/common | ed22e988b75695acb333a707b3842276ec45c68f | [
"MIT"
] | 9 | 2017-06-28T01:35:40.000Z | 2019-03-19T21:44:27.000Z | import moment from 'moment';
import { module, test } from 'qunit';
import { setupAuthentication } from 'ilios-common';
import { setupApplicationTest } from 'ember-qunit';
import { setupMirage } from 'ember-cli-mirage/test-support';
import page from 'ilios-common/page-objects/session';
module('Acceptance | Session - Of... | 43.709507 | 117 | 0.694244 |
4d971c66728e09f33f64491ae81d82f8a8686cde | 25,766 | html | HTML | target/doc/src/tokio_trace_core/lib.rs.html | kieranjwhite/calendar_mirror | 269187e2dddbe448c8c5561d89b30bc44491a1a2 | [
"Apache-2.0"
] | null | null | null | target/doc/src/tokio_trace_core/lib.rs.html | kieranjwhite/calendar_mirror | 269187e2dddbe448c8c5561d89b30bc44491a1a2 | [
"Apache-2.0"
] | null | null | null | target/doc/src/tokio_trace_core/lib.rs.html | kieranjwhite/calendar_mirror | 269187e2dddbe448c8c5561d89b30bc44491a1a2 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Source to the Rust file `/home/kieran/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-trace-core-0.2.0/src/lib... | 60.34192 | 2,100 | 0.654118 |
3eba7589d3864599d8e36290573953150b1ca369 | 4,982 | swift | Swift | ShopBag/Checkout/CheckoutViewController.swift | altamic/ShopBag | ba9ffc6df78601176c8e814905b270f0a3820113 | [
"MIT"
] | 1 | 2021-01-24T11:14:16.000Z | 2021-01-24T11:14:16.000Z | ShopBag/Checkout/CheckoutViewController.swift | altamic/ShopBag | ba9ffc6df78601176c8e814905b270f0a3820113 | [
"MIT"
] | null | null | null | ShopBag/Checkout/CheckoutViewController.swift | altamic/ShopBag | ba9ffc6df78601176c8e814905b270f0a3820113 | [
"MIT"
] | null | null | null | //
// CheckoutViewController.swift
// ShopBag
//
// Created by Michelangelo Altamore on 23/09/17.
// Copyright © 2017 altamic. All rights reserved.
//
import UIKit
class CheckoutViewController: UITableViewController {
let lineItemCellIdentifier = "LineItemIdentifier"
var lineItems = [LineItem]()
var c... | 33.436242 | 126 | 0.681052 |
a4fc3165c3079c302a0df7d0370d0090fbb14655 | 1,876 | swift | Swift | Tests/SettlerTests/OrderedDefinitionBuilderTests.swift | daltonclaybrook/Settler | 6ecddc7392f49e866e366d84f6e7619f6d115ede | [
"MIT"
] | 4 | 2020-08-20T15:03:45.000Z | 2020-08-21T05:06:12.000Z | Tests/SettlerTests/OrderedDefinitionBuilderTests.swift | daltonclaybrook/Settler | 6ecddc7392f49e866e366d84f6e7619f6d115ede | [
"MIT"
] | 14 | 2020-08-20T15:22:29.000Z | 2020-08-26T02:34:11.000Z | Tests/SettlerTests/OrderedDefinitionBuilderTests.swift | daltonclaybrook/Settler | 6ecddc7392f49e866e366d84f6e7619f6d115ede | [
"MIT"
] | 1 | 2020-08-20T23:50:34.000Z | 2020-08-20T23:50:34.000Z | import XCTest
@testable import SettlerFramework
import SourceKittenFramework
final class OrderedDefinitionBuilderTests: XCTestCase {
func testSimpleResolverReturnsCorrectOrder() throws {
let resolver = try ResolverDefinition.makeSampleDefinition()
let definition = try XCTUnwrap(OrderedDefinitionBui... | 43.627907 | 144 | 0.739872 |
4eb4fed8b1f13c73002863d6cabbf8b69b8cfcf0 | 3,455 | swift | Swift | Frame Grabber/Requesting Assets/Frame Export/FrameExportTask.swift | tiagomartinho/FrameGrabber | bbb7631baa1bd4f79e0de023cb58218ceecbc8d6 | [
"MIT"
] | 1 | 2020-04-29T18:38:51.000Z | 2020-04-29T18:38:51.000Z | Frame Grabber/Requesting Assets/Frame Export/FrameExportTask.swift | tiagomartinho/FrameGrabber | bbb7631baa1bd4f79e0de023cb58218ceecbc8d6 | [
"MIT"
] | null | null | null | Frame Grabber/Requesting Assets/Frame Export/FrameExportTask.swift | tiagomartinho/FrameGrabber | bbb7631baa1bd4f79e0de023cb58218ceecbc8d6 | [
"MIT"
] | null | null | null | import AVFoundation
class FrameExportTask: Operation {
typealias Request = FrameExport.Request
typealias Status = FrameExport.Status
let request: Request
let frameStartIndex: Int
let generator: AVAssetImageGenerator
let frameProcessedHandler: (Int, Status) -> ()
/// - Parameter frameStar... | 35.255102 | 109 | 0.635601 |
859fd58ce50f17da1dd8d63ab089166904224d19 | 300 | js | JavaScript | test/smoke/fixtures/assertion-inject/expected/class-constructor.js | johnthecat/babel-plugin-jsdoc-runtime-type-check | 459235cf231d6e8489d56235a5df8494a56b727f | [
"MIT"
] | 14 | 2017-03-24T06:57:34.000Z | 2021-11-13T21:40:41.000Z | test/smoke/fixtures/assertion-inject/expected/class-constructor.js | johnthecat/babel-plugin-jsdoc-runtime-type-check | 459235cf231d6e8489d56235a5df8494a56b727f | [
"MIT"
] | 1 | 2020-04-21T02:26:43.000Z | 2020-04-24T12:59:17.000Z | test/smoke/fixtures/assertion-inject/expected/class-constructor.js | johnthecat/babel-plugin-jsdoc-runtime-type-check | 459235cf231d6e8489d56235a5df8494a56b727f | [
"MIT"
] | 2 | 2019-01-24T16:04:43.000Z | 2019-06-21T10:51:21.000Z | class Test {
/**
* @param {Number} a
* @param {Number} b
* @typecheck
*/
constructor(a, b) {
__executeTypecheck__("Test.constructor", "a", a, "\"Number\"");
__executeTypecheck__("Test.constructor", "b", b, "\"Number\"");
this._c = a + b;
}
}
| 20 | 71 | 0.496667 |
694015a66fa6d34d0d8d4651f82b24c4c9d36d29 | 525 | lua | Lua | plugins/lua/sand_modules/include.lua | wiox/hash.js | c1de06ed81326fc83753fcb72fd356bc1f10e1db | [
"CC0-1.0"
] | 10 | 2015-04-06T17:43:30.000Z | 2015-09-04T19:47:38.000Z | plugins/lua/sand_modules/include.lua | meepen/hash.js | 9fe94b946fd1d6cf86ec06362deaa370ec884e89 | [
"CC0-1.0"
] | 45 | 2015-04-06T19:51:45.000Z | 2015-09-28T09:54:30.000Z | plugins/lua/sand_modules/include.lua | meepen/hash.js | 9fe94b946fd1d6cf86ec06362deaa370ec884e89 | [
"CC0-1.0"
] | 34 | 2015-04-06T19:56:19.000Z | 2015-10-04T00:46:52.000Z | local function include( path )
if type( path ) ~= "string" then
error( "bad argument #1 to 'include' (string expected, got " .. type( path ) .. ")", 2 )
end
if not path:match( "^[%w/]+$" ) then
error( "bad argument #1 to 'include' (path contains illegal characters)", 2 )
end
local f, err = loadfile( "user... | 21 | 92 | 0.6 |
c936918d1a572a8359e67347c47c0471001dbf01 | 366 | swift | Swift | Sources/DeclarativeLayoutKit/Helpers/MainThread.swift | uuttff8/DeclarativeLayoutKit | 4cdea6c38e9da57597373ce7c3d396a3e5b8453e | [
"MIT"
] | 40 | 2020-09-04T15:36:59.000Z | 2022-02-01T10:17:39.000Z | Sources/DeclarativeLayoutKit/Helpers/MainThread.swift | uuttff8/DeclarativeLayoutKit | 4cdea6c38e9da57597373ce7c3d396a3e5b8453e | [
"MIT"
] | null | null | null | Sources/DeclarativeLayoutKit/Helpers/MainThread.swift | uuttff8/DeclarativeLayoutKit | 4cdea6c38e9da57597373ce7c3d396a3e5b8453e | [
"MIT"
] | 2 | 2020-11-28T21:23:35.000Z | 2021-07-06T17:55:15.000Z | //
// File.swift
//
//
// Created by Ernest Babayan on 05.07.2021.
//
import Foundation
func onMainThread<Input>(_ handler: @escaping (Input) -> Void) -> (Input) -> Void {
return { (input: Input) in
guard !Thread.isMainThread else {
return handler(input)
}
DispatchQueue.ma... | 19.263158 | 83 | 0.590164 |
8534ed137fa5dc16de7d90704742370904dd135c | 1,734 | rs | Rust | src/s4/c27.rs | mishazharov/cryptopals_rust | 53b45881c48e385fecf88a9a33bb11564e98511b | [
"MIT"
] | null | null | null | src/s4/c27.rs | mishazharov/cryptopals_rust | 53b45881c48e385fecf88a9a33bb11564e98511b | [
"MIT"
] | null | null | null | src/s4/c27.rs | mishazharov/cryptopals_rust | 53b45881c48e385fecf88a9a33bb11564e98511b | [
"MIT"
] | null | null | null | use crate::symmetric::aes::*;
use crate::s1::c6::xor_vecs;
struct Server<'a> {
crypter: &'a (dyn CryptoWrapper + 'a)
}
impl<'a> Server<'a> {
pub fn new(crypter: &'a (dyn CryptoWrapper + 'a)) -> Server<'a> {
Server {
crypter: crypter
}
}
pub fn encrypt(&self, text: &[u8]) -... | 27.09375 | 99 | 0.556517 |
e7a25d2a548a3a1fb969f478449309beb775e07f | 1,702 | swift | Swift | Driver/HomeworkApp1/OnlineKeywordPhotoSlideViewController.swift | Eonil/HomeworkApp1 | c9a97e43587d198c023f8607544bf0a0600da73c | [
"MIT"
] | null | null | null | Driver/HomeworkApp1/OnlineKeywordPhotoSlideViewController.swift | Eonil/HomeworkApp1 | c9a97e43587d198c023f8607544bf0a0600da73c | [
"MIT"
] | 2 | 2015-02-26T15:34:32.000Z | 2015-02-26T15:35:43.000Z | Driver/HomeworkApp1/OnlineKeywordPhotoSlideViewController.swift | Eonil/HomeworkApp1 | c9a97e43587d198c023f8607544bf0a0600da73c | [
"MIT"
] | null | null | null | ////
//// OnlineKeywordPhotoSlideViewController.swift
//// HomeworkApp1
////
//// Created by Hoon H. on 2015/02/26.
////
////
//
//import Foundation
//import UIKit
//
//
//
//
///// You must set `keywordData` before this object to be appears.
//final class OnlineKeywordPhotoSlideViewController: UIViewController {
//... | 21.012346 | 94 | 0.614571 |
86987657068724f3a30e0acbc9968774de41e182 | 1,928 | swift | Swift | Plant-Reg/UIImage+Extension.swift | sjfeng1999/iOS-coreMLapp-Plant-Pathology-Recognition | aa3b650780bbe32d93b12f74a2b22f73d74930ec | [
"MIT"
] | 1 | 2021-02-21T03:49:59.000Z | 2021-02-21T03:49:59.000Z | Plant-Reg/UIImage+Extension.swift | sjfeng1999/iOS-coreMLapp-Plant-Pathology-Recognition | aa3b650780bbe32d93b12f74a2b22f73d74930ec | [
"MIT"
] | null | null | null | Plant-Reg/UIImage+Extension.swift | sjfeng1999/iOS-coreMLapp-Plant-Pathology-Recognition | aa3b650780bbe32d93b12f74a2b22f73d74930ec | [
"MIT"
] | null | null | null | //
// ContentView.swift
// Plant-Reg
//
// Created by Willer AI on 2020/4/9.
// Copyright © 2020 Willer AI. All rights reserved.
//
import UIKit
extension UIImage {
var buffer: CVPixelBuffer? {
let attrs = [kCVPixelBufferCGImageCompatibilityKey: kCFBooleanTrue, kCVPixelBufferCGBitmapCont... | 38.56 | 260 | 0.677905 |
3b119934fc82592aa6e43b2032a8ea9529264ea6 | 218 | h | C | include/il2cpp/Dpr/SequenceEditor/CameraAnimationDoubleIntro.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | 1 | 2022-01-15T20:20:27.000Z | 2022-01-15T20:20:27.000Z | include/il2cpp/Dpr/SequenceEditor/CameraAnimationDoubleIntro.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | include/il2cpp/Dpr/SequenceEditor/CameraAnimationDoubleIntro.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp.h"
void Dpr_SequenceEditor_CameraAnimationDoubleIntro___ctor (Dpr_SequenceEditor_CameraAnimationDoubleIntro_o* __this, Dpr_SequenceEditor_Macro_o* macro, const MethodInfo* method_info);
| 36.333333 | 182 | 0.87156 |
8335fd2a7b90ee725a57851d6d3be678497a8bbb | 15,071 | swift | Swift | Keyboard/KeyboardKey.swift | mrh-is/Automoji | 31c36f8fcf9dedcf3052cdf16f438558002b1c0a | [
"BSD-3-Clause"
] | 4 | 2015-05-13T02:32:53.000Z | 2017-01-18T15:30:44.000Z | Keyboard/KeyboardKey.swift | mrh-is/Automoji | 31c36f8fcf9dedcf3052cdf16f438558002b1c0a | [
"BSD-3-Clause"
] | null | null | null | Keyboard/KeyboardKey.swift | mrh-is/Automoji | 31c36f8fcf9dedcf3052cdf16f438558002b1c0a | [
"BSD-3-Clause"
] | null | null | null | //
// KeyboardKey.swift
// TransliteratingKeyboard
//
// Created by Alexei Baboulevitch on 6/9/14.
// Copyright (c) 2014 Apple. All rights reserved.
//
import UIKit
// components
// - large letter popup
// - if hold, show extra menu — default if finger slides off
// - translucent buttons
// - ligh... | 38.742931 | 217 | 0.60905 |
0ef925a13cd432075e101b093fc8c4f4030d72f8 | 54 | ts | TypeScript | libs/vivid/src/lib/vivid.ts | YonatanKra/vivid-nx | d2acccff60ceb70907a5880aa82c2cf555d71903 | [
"Apache-2.0"
] | null | null | null | libs/vivid/src/lib/vivid.ts | YonatanKra/vivid-nx | d2acccff60ceb70907a5880aa82c2cf555d71903 | [
"Apache-2.0"
] | null | null | null | libs/vivid/src/lib/vivid.ts | YonatanKra/vivid-nx | d2acccff60ceb70907a5880aa82c2cf555d71903 | [
"Apache-2.0"
] | null | null | null | export function vivid(): string {
return 'vivid';
}
| 13.5 | 33 | 0.666667 |
20468c4f3569ed953adb6f9cfcc23d15332c0090 | 707 | css | CSS | js/layer.css | hjjia/easylog | 919241e4bee01e2f7b37b6d2f0d238780c9ed247 | [
"MIT"
] | null | null | null | js/layer.css | hjjia/easylog | 919241e4bee01e2f7b37b6d2f0d238780c9ed247 | [
"MIT"
] | null | null | null | js/layer.css | hjjia/easylog | 919241e4bee01e2f7b37b6d2f0d238780c9ed247 | [
"MIT"
] | null | null | null | .mask{position: fixed;width: 100%;height: 100%;top: 0;left: 0;background: rgba(0,0,0,0.5);}
.warn{width: 80%;overflow: hidden;position: absolute;top: 50%;left: 0;right: 0;margin:auto;border-radius: 8px;background-color: #fff;transform: translateY(-50%);-webkit-transform: translateY(-50%);}
.warn .title{width: 100%;he... | 58.916667 | 198 | 0.731259 |
dd75d8b65699cec0797e3dbdd9fc714cca2b89e5 | 534 | swift | Swift | DDMvvm/Classes/Extensions/UIKitExtensions/StringExtensions.swift | duyduong/DDMvvm.Carthage | 23d2ecd0cc11f3b8b0aa37ad098c4fe6ee41a43c | [
"MIT"
] | null | null | null | DDMvvm/Classes/Extensions/UIKitExtensions/StringExtensions.swift | duyduong/DDMvvm.Carthage | 23d2ecd0cc11f3b8b0aa37ad098c4fe6ee41a43c | [
"MIT"
] | null | null | null | DDMvvm/Classes/Extensions/UIKitExtensions/StringExtensions.swift | duyduong/DDMvvm.Carthage | 23d2ecd0cc11f3b8b0aa37ad098c4fe6ee41a43c | [
"MIT"
] | null | null | null | //
// StringExtensions.swift
// DDMvvm
//
// Created by Dao Duy Duong on 9/26/18.
//
import UIKit
public extension String {
func toURL() -> URL? {
return URL(string: self)
}
func toURLRequest() -> URLRequest? {
if let url = toURL() {
return URLRequest(url: url)
... | 15.257143 | 62 | 0.526217 |
712c4ecef24fcbd02e8ae2346d078a8c0c2b43a4 | 203 | ts | TypeScript | lib/PassThroughAdapter.ts | en0/RepoJS | 6dafc261123e0f8be96e43bda734a4263a6932d6 | [
"MIT"
] | null | null | null | lib/PassThroughAdapter.ts | en0/RepoJS | 6dafc261123e0f8be96e43bda734a4263a6932d6 | [
"MIT"
] | null | null | null | lib/PassThroughAdapter.ts | en0/RepoJS | 6dafc261123e0f8be96e43bda734a4263a6932d6 | [
"MIT"
] | null | null | null | import { IColumnAdapter } from ".";
export class PassThroughAdapter implements IColumnAdapter<any, any> {
public fromEntity(val: any) { return val; }
public toEntity(val: any) { return val; }
}
| 29 | 69 | 0.704433 |
0b906bf27fc67aeba61a035efc941b80ca56e405 | 4,305 | py | Python | lib/aquilon/worker/formats/list.py | ned21/aquilon | 6562ea0f224cda33b72a6f7664f48d65f96bd41a | [
"Apache-2.0"
] | 7 | 2015-07-31T05:57:30.000Z | 2021-09-07T15:18:56.000Z | lib/aquilon/worker/formats/list.py | ned21/aquilon | 6562ea0f224cda33b72a6f7664f48d65f96bd41a | [
"Apache-2.0"
] | 115 | 2015-03-03T13:11:46.000Z | 2021-09-20T12:42:24.000Z | lib/aquilon/worker/formats/list.py | ned21/aquilon | 6562ea0f224cda33b72a6f7664f48d65f96bd41a | [
"Apache-2.0"
] | 13 | 2015-03-03T11:17:59.000Z | 2021-09-09T09:16:41.000Z | # -*- cpy-indent-level: 4; indent-tabs-mode: nil -*-
# ex: set expandtab softtabstop=4 shiftwidth=4:
#
# Copyright (C) 2008,2009,2010,2011,2012,2013,2014,2015,2017 Contributor
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You ma... | 38.783784 | 83 | 0.673635 |
3026dcd0103b3f7e363d0466fa59361bb92a942c | 1,834 | swift | Swift | Client/Frontend/Animators/JumpAndSpinAnimator.swift | durul/Continuous-Delivery-for-Mobile-with-fastlane | 5ec3386948d73d32b5ab4c0a907ee3505b0be9d6 | [
"MIT"
] | 1 | 2018-09-07T11:16:06.000Z | 2018-09-07T11:16:06.000Z | Client/Frontend/Animators/JumpAndSpinAnimator.swift | durul/Continuous-Delivery-for-Mobile-with-fastlane | 5ec3386948d73d32b5ab4c0a907ee3505b0be9d6 | [
"MIT"
] | null | null | null | Client/Frontend/Animators/JumpAndSpinAnimator.swift | durul/Continuous-Delivery-for-Mobile-with-fastlane | 5ec3386948d73d32b5ab4c0a907ee3505b0be9d6 | [
"MIT"
] | 1 | 2018-11-17T21:03:12.000Z | 2018-11-17T21:03:12.000Z | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import UIKit
class JumpAndSpinAnimator: Animatable {
fileprivate let AnimationDuration: Double = 0.5
file... | 50.944444 | 177 | 0.664667 |
1ea16ce8f7bc21ebd839c70511613b1b2b95e555 | 5,710 | lua | Lua | classes/Vector3.lua | Cheez3D/MTA-Gui | 6fcb1028e90000b975ba9d192a1815e6f5c66b94 | [
"MIT"
] | null | null | null | classes/Vector3.lua | Cheez3D/MTA-Gui | 6fcb1028e90000b975ba9d192a1815e6f5c66b94 | [
"MIT"
] | null | null | null | classes/Vector3.lua | Cheez3D/MTA-Gui | 6fcb1028e90000b975ba9d192a1815e6f5c66b94 | [
"MIT"
] | null | null | null | local classes = classes;
local super = classes.Object;
local class = inherit({
name = "Vector3",
super = super,
func = inherit({}, super.func),
get = inherit({}, super.get),
set = inherit({}, super.set),
concrete = true,
}, super);
classes[class.name] = class;
... | 28.838384 | 103 | 0.499475 |
9bf55476bfe50a18eb513c7edda6545195880c02 | 5,809 | js | JavaScript | config/router.config.js | familyuu/cloud_admin | 1cff2f5a0e35c2d6403d1815fe60bff7c53c0d8f | [
"MIT"
] | null | null | null | config/router.config.js | familyuu/cloud_admin | 1cff2f5a0e35c2d6403d1815fe60bff7c53c0d8f | [
"MIT"
] | null | null | null | config/router.config.js | familyuu/cloud_admin | 1cff2f5a0e35c2d6403d1815fe60bff7c53c0d8f | [
"MIT"
] | null | null | null | export default [
// user
{
path: '/user',
component: './layouts/UserLayout',
routes: [
{ path: '/user', redirect: '/user/login' },
{ path: '/user/login', name: 'login', component: './User/Login' },
{ path: '/user/register', name: 'register', component: './User/Register' },
{
... | 28.757426 | 81 | 0.351523 |
b7eaff2c18faa4f5ed56dc5cc7c9324626535b91 | 2,076 | lua | Lua | scripts/KC01-JP/c100284002.lua | MisterKay7/ygopro-pre-script | a2aac1ae52c584c5ed0b28ad28b89b85e8a88540 | [
"Unlicense"
] | 73 | 2016-01-10T03:33:05.000Z | 2022-03-16T18:21:12.000Z | scripts/KC01-JP/c100284002.lua | MisterKay7/ygopro-pre-script | a2aac1ae52c584c5ed0b28ad28b89b85e8a88540 | [
"Unlicense"
] | 220 | 2016-01-08T18:50:47.000Z | 2022-03-31T03:13:22.000Z | scripts/KC01-JP/c100284002.lua | MisterKay7/ygopro-pre-script | a2aac1ae52c584c5ed0b28ad28b89b85e8a88540 | [
"Unlicense"
] | 157 | 2016-02-11T01:16:24.000Z | 2022-02-15T05:55:37.000Z | --削りゆく命
--
--Script by Trishula9
function c100284002.initial_effect(c)
c:SetUniqueOnField(1,0,100284002)
c:EnableCounterPermit(0x15f)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--add counter
local e2=Effect.CreateEffect(c)
e2:S... | 31.938462 | 94 | 0.790462 |
6b52f257a3ba4b678051065376349338fe1cd819 | 28 | kt | Kotlin | plugins/kotlin/refIndex/tests/testData/compilerIndex/functions/hierarchy/java/KKJ/kj_.kt | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | plugins/kotlin/refIndex/tests/testData/compilerIndex/functions/hierarchy/java/KKJ/kj_.kt | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | plugins/kotlin/refIndex/tests/testData/compilerIndex/functions/hierarchy/java/KKJ/kj_.kt | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | fun kj() {
KJ().test()
} | 9.333333 | 15 | 0.392857 |
0a29262ff7ab72ed1494bd3af6f3510555aa2255 | 2,713 | ts | TypeScript | fuse.ts | proudust/hello-world-electron | 9adb0a72a8ae01572e94f24a9b929facfddad593 | [
"MIT"
] | null | null | null | fuse.ts | proudust/hello-world-electron | 9adb0a72a8ae01572e94f24a9b929facfddad593 | [
"MIT"
] | null | null | null | fuse.ts | proudust/hello-world-electron | 9adb0a72a8ae01572e94f24a9b929facfddad593 | [
"MIT"
] | null | null | null | import * as procces from 'child_process';
import * as builder from 'electron-builder';
import { fusebox, sparky } from 'fuse-box';
import { promisify } from 'util';
class Context {
public isProduction: boolean | undefined = undefined;
public getMainConfig(): ReturnType<typeof fusebox> {
return fusebox({
... | 25.35514 | 78 | 0.582381 |
1c29cc19d708262c2878810fb2ab289242f423b5 | 967 | kt | Kotlin | src/main/kotlin/at/cpickl/gadsu/preferences/prefs.kt | christophpickl/gadsu | f6a84c42e1985bc53d566730ed0552b3ae71d94b | [
"Apache-2.0"
] | 2 | 2016-05-01T23:04:45.000Z | 2020-11-14T23:23:02.000Z | src/main/kotlin/at/cpickl/gadsu/preferences/prefs.kt | christophpickl/gadsu | f6a84c42e1985bc53d566730ed0552b3ae71d94b | [
"Apache-2.0"
] | 135 | 2016-05-01T14:45:07.000Z | 2018-06-09T05:50:13.000Z | src/main/kotlin/at/cpickl/gadsu/preferences/prefs.kt | christophpickl/gadsu | f6a84c42e1985bc53d566730ed0552b3ae71d94b | [
"Apache-2.0"
] | 1 | 2020-11-14T23:23:04.000Z | 2020-11-14T23:23:04.000Z | package at.cpickl.gadsu.preferences
import at.cpickl.gadsu.mail.MailPreferencesData
import java.awt.Dimension
import java.awt.Point
import java.io.File
interface Prefs {
var preferencesData: PreferencesData
var windowDescriptor: WindowDescriptor?
var clientPictureDefaultFolder: File
var recentSaveRe... | 30.21875 | 137 | 0.745605 |
018eaefa6c3ff365f1343214f6f7b885bd4545bf | 7,479 | swift | Swift | Swift/Practice/UdemyInstargramCopy/UdemyInstargramCopy/Controller/Feed/FeedVC.swift | WiSeoungHwan/TIL | 702a56a7c23de94062e14c20f6c1d86ad50ff089 | [
"MIT"
] | 3 | 2018-09-06T09:07:38.000Z | 2019-11-14T13:15:51.000Z | Swift/Practice/UdemyInstargramCopy/UdemyInstargramCopy/Controller/Feed/FeedVC.swift | WiSeoungHwan/TIL | 702a56a7c23de94062e14c20f6c1d86ad50ff089 | [
"MIT"
] | null | null | null | Swift/Practice/UdemyInstargramCopy/UdemyInstargramCopy/Controller/Feed/FeedVC.swift | WiSeoungHwan/TIL | 702a56a7c23de94062e14c20f6c1d86ad50ff089 | [
"MIT"
] | null | null | null | //
// FeedVC.swift
// UdemyInstargramCopy
//
// Created by Wi on 25/05/2019.
// Copyright © 2019 Wi. All rights reserved.
//
import UIKit
import Firebase
private let reuseIdentifier = "Cell"
class FeedVC: UICollectionViewController, UICollectionViewDelegateFlowLayout, FeedCellDelegate{
// MARK: - Proper... | 29.678571 | 177 | 0.563845 |
6d9a9da2e625f25914cfae7b87e9871891a6df56 | 4,586 | lua | Lua | BGAnimations/ScreenTitleMenu overlay/default.lua | raveitoutofficial/raveitout | 45ea0fdb1ce3495ed5e0dcf1a94c51733e4ab77c | [
"Unlicense"
] | 10 | 2019-02-01T17:34:42.000Z | 2022-03-13T17:28:23.000Z | BGAnimations/ScreenTitleMenu overlay/default.lua | raveitoutofficial/raveitout | 45ea0fdb1ce3495ed5e0dcf1a94c51733e4ab77c | [
"Unlicense"
] | 46 | 2018-10-02T18:03:48.000Z | 2019-05-16T14:39:02.000Z | BGAnimations/ScreenTitleMenu overlay/default.lua | raveitoutofficial/raveitout | 45ea0fdb1ce3495ed5e0dcf1a94c51733e4ab77c | [
"Unlicense"
] | 3 | 2019-02-26T01:40:53.000Z | 2019-06-03T21:32:10.000Z | --[[function rectGen(width, height, lineSize, bgColor)
return Def.ActorFrame{
--Background transparency
Def.Quad{
InitCommand=cmd(setsize,width, height;diffuse,bgColor);
};
--Bottom line
Def.Quad{
InitCommand=cmd(setsize,wid... | 32.992806 | 180 | 0.640427 |
91a672aea2c7d2a8a4838b0c8ba286b630606e61 | 1,345 | kt | Kotlin | app/src/main/java/dev/kissed/podlodka_compose/theming/AppTheme.kt | kissedcode/podlodka_crew_4_compose | 1a96defadc46d1315de0ffac27d81138bd0b6b4f | [
"Apache-2.0"
] | 1 | 2021-04-30T09:13:18.000Z | 2021-04-30T09:13:18.000Z | app/src/main/java/dev/kissed/podlodka_compose/theming/AppTheme.kt | kissedcode/podlodka_crew_4_compose | 1a96defadc46d1315de0ffac27d81138bd0b6b4f | [
"Apache-2.0"
] | null | null | null | app/src/main/java/dev/kissed/podlodka_compose/theming/AppTheme.kt | kissedcode/podlodka_crew_4_compose | 1a96defadc46d1315de0ffac27d81138bd0b6b4f | [
"Apache-2.0"
] | null | null | null | package dev.kissed.podlodka_compose.app
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material.Colors
import androidx.compose.material.MaterialTheme
import androidx.compose.material.MaterialTheme.shapes
import androidx.compose.material.MaterialTheme.typography
import androidx.compose.m... | 34.487179 | 91 | 0.768773 |
725526507647401fbd4e2915ced9430fbe701cde | 6,964 | kt | Kotlin | room/room-common/src/main/java/androidx/room/Fts4.kt | semoro/androidx | 9edfb9c95d72d2a93f4c13b9634b5dd821aaf193 | [
"Apache-2.0"
] | 7 | 2020-07-23T18:52:59.000Z | 2020-07-23T20:31:41.000Z | room/room-common/src/main/java/androidx/room/Fts4.kt | semoro/androidx | 9edfb9c95d72d2a93f4c13b9634b5dd821aaf193 | [
"Apache-2.0"
] | 2 | 2020-07-23T19:17:07.000Z | 2020-07-23T19:43:42.000Z | room/room-common/src/main/java/androidx/room/Fts4.kt | semoro/androidx | 9edfb9c95d72d2a93f4c13b9634b5dd821aaf193 | [
"Apache-2.0"
] | 5 | 2020-07-23T18:45:08.000Z | 2020-07-23T18:56:15.000Z | /*
* Copyright 2018 The Android Open Source Project
*
* 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 applica... | 38.263736 | 110 | 0.689115 |
64d14c0a21aa7aaeb478917c6ae610ce85dc2e92 | 1,585 | kt | Kotlin | app/src/main/java/archiveasia/jp/co/hakenman/Activity/SplashActivity.kt | dolfalf/Hakenman_Android | 1b4b1f8db31b2923071e77236b03d77a02f26c97 | [
"MIT"
] | null | null | null | app/src/main/java/archiveasia/jp/co/hakenman/Activity/SplashActivity.kt | dolfalf/Hakenman_Android | 1b4b1f8db31b2923071e77236b03d77a02f26c97 | [
"MIT"
] | null | null | null | app/src/main/java/archiveasia/jp/co/hakenman/Activity/SplashActivity.kt | dolfalf/Hakenman_Android | 1b4b1f8db31b2923071e77236b03d77a02f26c97 | [
"MIT"
] | null | null | null | package archiveasia.jp.co.hakenman.Activity
import android.content.Intent
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import archiveasia.jp.co.hakenman.CustomLog
import archiveasia.jp.co.hakenman.Extension.yearMonth
import archiveasia.jp.co.hakenman.Manager.Worksh... | 28.303571 | 86 | 0.694006 |
e3fec7208978ed3d4dce5d3cf8fb102502787ba7 | 292 | go | Go | core/DatabaseManagement/DTOTable/Sys_Process_Transition.go | sRafieidev/zframe | cc5c4c1729fd1e97cae4de0c8b8a820faedba8e0 | [
"Apache-2.0"
] | 1 | 2022-02-22T11:05:43.000Z | 2022-02-22T11:05:43.000Z | core/DatabaseManagement/DTOTable/Sys_Process_Transition.go | sRafieidev/zframe | cc5c4c1729fd1e97cae4de0c8b8a820faedba8e0 | [
"Apache-2.0"
] | null | null | null | core/DatabaseManagement/DTOTable/Sys_Process_Transition.go | sRafieidev/zframe | cc5c4c1729fd1e97cae4de0c8b8a820faedba8e0 | [
"Apache-2.0"
] | null | null | null | package DTOTable
type Sys_Process_Transition struct {
SYS_PROCESS_TRANSITION_ID int64
FROM_SYS_PROCESS_STATE_ID int32
TO_SYS_PROCESS_STATE_ID int32
TRANSITIONNAME string
DESCRIPTION string
TRANSITION_CONDITION string
TRANSITIONQUERY string
}
| 24.333333 | 36 | 0.75 |
1d1354dba39e7b49b697a17bd030dc0ab28a92e6 | 59 | sql | SQL | src/test/resources/sql/select/ef126c41.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/select/ef126c41.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/select/ef126c41.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:domain.sql ln:367 expect:true
select 'y1234'::dtop
| 19.666667 | 37 | 0.728814 |
5c69fd77e53c1357270c4079699543d6b416d24b | 3,289 | h | C | InitializeOpenGL/pch.h | tommai78101/InitializingOpenGL | 0ed57e4a7531e16e5694bbfb6638a1c9ff2e6b40 | [
"MIT"
] | 51 | 2019-02-10T07:32:41.000Z | 2021-12-12T18:02:30.000Z | InitializeOpenGL/pch.h | tommai78101/InitializingOpenGL | 0ed57e4a7531e16e5694bbfb6638a1c9ff2e6b40 | [
"MIT"
] | 17 | 2018-11-06T03:08:46.000Z | 2020-06-01T02:36:30.000Z | InitializeOpenGL/pch.h | tommai78101/InitializingOpenGL | 0ed57e4a7531e16e5694bbfb6638a1c9ff2e6b40 | [
"MIT"
] | 1 | 2019-01-31T03:36:06.000Z | 2019-01-31T03:36:06.000Z |
#pragma once
#ifndef __PCH_H___
# define __PCH_H___
//Defines
# define NOMINMAX
//Exceptional rules
# include <algorithm>
using std::max;
using std::min;
//Common standard headers
# include <iostream>
# include <fstream>
# include <sstream>
# include <thread>
# include <utility>
# include <memory>
# include <funct... | 36.142857 | 74 | 0.747036 |
4a51ba1f3fa4efeea285e189780d57cd76da577f | 879 | js | JavaScript | test.js | krylova-dinara/redux-presentation | f9f3703fff152bcf9ac6059b34e688fcd1691149 | [
"MIT"
] | null | null | null | test.js | krylova-dinara/redux-presentation | f9f3703fff152bcf9ac6059b34e688fcd1691149 | [
"MIT"
] | null | null | null | test.js | krylova-dinara/redux-presentation | f9f3703fff152bcf9ac6059b34e688fcd1691149 | [
"MIT"
] | null | null | null | import { createStore } from 'redux';
// This is a reducer
function rating(state = 0, action) {
switch (action.type) {
case 'LIKE':
return state + 1;
case 'DISLIKE':
return state - 1;
default:
return state;
}
}
// This is an action creator
function ra... | 22.538462 | 73 | 0.615472 |
eb61051dae37f57dbdf82e20aa75f7397279155c | 1,044 | rs | Rust | src/language/operations/tableau/cur_tableau_add_sun_light.rs | AustinHaugerud/oxidsys | 10fdbee244eac982bae441476d9f44cf47b50cb9 | [
"MIT"
] | null | null | null | src/language/operations/tableau/cur_tableau_add_sun_light.rs | AustinHaugerud/oxidsys | 10fdbee244eac982bae441476d9f44cf47b50cb9 | [
"MIT"
] | 32 | 2018-10-28T02:47:09.000Z | 2018-11-05T05:56:00.000Z | src/language/operations/tableau/cur_tableau_add_sun_light.rs | AustinHaugerud/oxidsys | 10fdbee244eac982bae441476d9f44cf47b50cb9 | [
"MIT"
] | 1 | 2018-12-02T19:34:21.000Z | 2018-12-02T19:34:21.000Z | use language::operations::{make_param_doc, Operation, ParamInfo};
pub struct CurTableauAddSunLightOp;
const DOC : &str = "Not documented. Typically used for tableaus rendered from 3D objects to add a directional light source. Note that position coordinates do not matter, only rotation (i.e. light rays direction) does... | 28.216216 | 219 | 0.600575 |
6ba0f00bcfdd1fb6f5a6f06294e4c3d297d0973c | 888 | h | C | YLCleaner/Xcode-RuntimeHeaders/IDEFoundation/IDEIndexDBTempTable.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | 1 | 2019-02-15T02:16:35.000Z | 2019-02-15T02:16:35.000Z | YLCleaner/Xcode-RuntimeHeaders/IDEFoundation/IDEIndexDBTempTable.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | null | null | null | YLCleaner/Xcode-RuntimeHeaders/IDEFoundation/IDEIndexDBTempTable.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | null | null | null | /*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject.h"
@class IDEIndexDBConnection, IDEIndexDatabase, NSString;
@interface IDEIndexDBTempTable : NSObject
{
IDEIndexDBConnection *_dbConnection;
NSString ... | 26.909091 | 109 | 0.737613 |
e7edbdfed8164b295e564361932bcbdae312f33f | 10,178 | py | Python | armory/scenarios/audio_asr.py | GuillaumeLeclerc/armory | c24928701b4ff6fc37cdb994ea784f9733a8e8da | [
"MIT"
] | 1 | 2021-06-17T23:05:58.000Z | 2021-06-17T23:05:58.000Z | armory/scenarios/audio_asr.py | GuillaumeLeclerc/armory | c24928701b4ff6fc37cdb994ea784f9733a8e8da | [
"MIT"
] | null | null | null | armory/scenarios/audio_asr.py | GuillaumeLeclerc/armory | c24928701b4ff6fc37cdb994ea784f9733a8e8da | [
"MIT"
] | null | null | null | """
Automatic speech recognition scenario
"""
import logging
from typing import Optional
from tqdm import tqdm
import numpy as np
from art.preprocessing.audio import LFilter, LFilterPyTorch
from armory.utils.config_loading import (
load_dataset,
load_model,
load_attack,
load_adversarial_dataset,
... | 39.449612 | 91 | 0.599921 |
73bfc18962546509cd6ae9089f1bd62c7d8b59da | 508 | swift | Swift | SwiftHelpers/CoreData/SHManagedObjectContext+CascadeSave.swift | miottid/SwiftHelpers | c8361d533080e53db9c1779ff6134429c84a1805 | [
"MIT"
] | null | null | null | SwiftHelpers/CoreData/SHManagedObjectContext+CascadeSave.swift | miottid/SwiftHelpers | c8361d533080e53db9c1779ff6134429c84a1805 | [
"MIT"
] | null | null | null | SwiftHelpers/CoreData/SHManagedObjectContext+CascadeSave.swift | miottid/SwiftHelpers | c8361d533080e53db9c1779ff6134429c84a1805 | [
"MIT"
] | 1 | 2022-01-03T14:52:23.000Z | 2022-01-03T14:52:23.000Z | //
// SHManagedObjectContext+CascadeSave.swift
// SwiftHelpers
//
// Created by Guillaume Bellue on 18/01/2017.
// Copyright © 2017 Muxu.Muxu. All rights reserved.
//
import CoreData
public extension NSManagedObjectContext {
func cascadeSave() throws {
var contextToSave: NSManagedObjectContext? = sel... | 21.166667 | 57 | 0.624016 |
331c51cf21a7edb8c933a3fa13b75a18b05760cc | 3,919 | py | Python | openverse_catalog/dags/common/loader/smithsonian_unit_codes.py | yavik-kapadia/openverse-catalog | 853766f2176a96450f456a9fd6675e134c0866e1 | [
"MIT"
] | 25 | 2021-05-06T20:53:45.000Z | 2022-03-30T23:18:50.000Z | openverse_catalog/dags/common/loader/smithsonian_unit_codes.py | yavik-kapadia/openverse-catalog | 853766f2176a96450f456a9fd6675e134c0866e1 | [
"MIT"
] | 272 | 2021-05-17T05:53:00.000Z | 2022-03-31T23:57:20.000Z | openverse_catalog/dags/common/loader/smithsonian_unit_codes.py | yavik-kapadia/openverse-catalog | 853766f2176a96450f456a9fd6675e134c0866e1 | [
"MIT"
] | 13 | 2021-06-12T07:09:06.000Z | 2022-03-29T17:39:13.000Z | """
This program helps identify smithsonian unit codes which are not yet added to
the smithsonian sub-provider dictionary
"""
import logging
from textwrap import dedent
import requests
from airflow.providers.postgres.hooks.postgres import PostgresHook
from common.loader import provider_details as prov
from providers.... | 29.02963 | 88 | 0.661393 |
9bdcc06e008410565390de920caa830bf199e26a | 1,669 | js | JavaScript | src/redux/reducers/__tests__/index.test.js | alebelcor/react-tic-tac-toe | 041e9628a8a3f7db2842e87bb97353729784ffb7 | [
"MIT"
] | 1 | 2019-05-21T06:12:51.000Z | 2019-05-21T06:12:51.000Z | src/redux/reducers/__tests__/index.test.js | alebelcor/react-tic-tac-toe | 041e9628a8a3f7db2842e87bb97353729784ffb7 | [
"MIT"
] | 4 | 2019-05-19T22:23:43.000Z | 2019-11-01T00:18:11.000Z | src/redux/reducers/__tests__/index.test.js | alebelcor/react-tic-tac-toe | 041e9628a8a3f7db2842e87bb97353729784ffb7 | [
"MIT"
] | null | null | null | import reducer from '../';
import markSpace from '../markSpace';
import reset from '../reset';
jest.mock('../markSpace')
jest.mock('../reset')
describe('index', () => {
it('should execute the "mark space" reducer', () => {
markSpace.mockImplementation(() => {
return {
turns: [
{ player:... | 20.353659 | 75 | 0.505093 |
9a361b78a6c1e62456cb50ebed23807617c7ce9f | 5,965 | lua | Lua | z/it/tag.lua | UriCW/z | 5b8c832340b23320826e243352893064aae186c5 | [
"Apache-2.0"
] | null | null | null | z/it/tag.lua | UriCW/z | 5b8c832340b23320826e243352893064aae186c5 | [
"Apache-2.0"
] | null | null | null | z/it/tag.lua | UriCW/z | 5b8c832340b23320826e243352893064aae186c5 | [
"Apache-2.0"
] | null | null | null |
local setmetatable = setmetatable
local pairs=pairs
local type=type
local table=table
local z=z
local wibox=require("wibox")
local awful=require("awful")
local beautiful = require("beautiful")
module("z.it.tag")
tag={
id=1,
label="",
rules=nil,
widget_background=nil,
textbox=nil,
icon=nil,
... | 32.955801 | 125 | 0.665717 |
7f5e242300c2e5890f116f34436bb49c75ab3bb5 | 6,044 | kt | Kotlin | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesViewContentManager.kt | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | null | null | null | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesViewContentManager.kt | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | null | null | null | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesViewContentManager.kt | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 1 | 2019-12-02T20:40:59.000Z | 2019-12-02T20:40:59.000Z | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs.changes.ui
import com.intellij.openapi.Disposable
import com.intellij.openapi.project.Project
import com.intellij.openapi.util.Comparing
import c... | 33.577778 | 140 | 0.734778 |
e50cfe7d8efdb0ee8aa65eb1bb9eceeacb3b6a0d | 1,681 | ts | TypeScript | src/test/suite/jsdos.test.ts | dosasm/vscode-dosbox | 3e3fbb4fbcf39c782dd5e77bb19300ccff5b0369 | [
"Apache-2.0"
] | 1 | 2021-11-05T10:49:43.000Z | 2021-11-05T10:49:43.000Z | src/test/suite/jsdos.test.ts | dosasm/vscode-dosbox | 3e3fbb4fbcf39c782dd5e77bb19300ccff5b0369 | [
"Apache-2.0"
] | 2 | 2021-11-08T02:31:40.000Z | 2021-12-23T14:23:00.000Z | src/test/suite/jsdos.test.ts | dosasm/vscode-dosbox | 3e3fbb4fbcf39c782dd5e77bb19300ccff5b0369 | [
"Apache-2.0"
] | null | null | null | import * as assert from "assert";
// You can import and use all API from the 'vscode' module
// as well as import your extension to test it
import * as vscode from "vscode";
import * as myExtension from "../../extension";
import { randomString } from "./util";
let api: myExtension.API;
export const jsdosHostTestSuit... | 27.557377 | 75 | 0.588935 |
e9b7c3b22ae7c254f65917f3fdafd32a3bba49de | 167 | rb | Ruby | example/lib/external_service.rb | anyperk/cypress-rails | 91016b74368de2d979e8894ffb78b86dfac21f8f | [
"MIT"
] | 258 | 2019-09-15T09:59:15.000Z | 2022-03-31T23:22:58.000Z | example/lib/external_service.rb | anyperk/cypress-rails | 91016b74368de2d979e8894ffb78b86dfac21f8f | [
"MIT"
] | 93 | 2019-09-16T13:09:06.000Z | 2022-03-30T22:06:39.000Z | example/lib/external_service.rb | anyperk/cypress-rails | 91016b74368de2d979e8894ffb78b86dfac21f8f | [
"MIT"
] | 40 | 2019-10-31T01:20:06.000Z | 2021-10-22T02:23:53.000Z | class ExternalService
class << self
def start_service
@job_pid = fork {
exec "yarn start"
}
Process.detach(@job_pid)
end
end
end
| 15.181818 | 30 | 0.586826 |
dd0829c9f3c9febb175a16ff48a2a06468d90412 | 169 | go | Go | shutdown.go | chibimi/kitty | d299bfbf71e00dfd55c96e680eff92690f76f587 | [
"MIT"
] | 21 | 2018-06-19T09:38:42.000Z | 2021-04-23T07:37:17.000Z | shutdown.go | chibimi/kitty | d299bfbf71e00dfd55c96e680eff92690f76f587 | [
"MIT"
] | 12 | 2018-07-17T15:31:41.000Z | 2020-10-02T08:54:41.000Z | shutdown.go | chibimi/kitty | d299bfbf71e00dfd55c96e680eff92690f76f587 | [
"MIT"
] | 3 | 2018-06-19T09:10:30.000Z | 2019-05-13T00:26:55.000Z | package kitty
// Shutdown registers functions to be called when the server is stopped.
func (s *Server) Shutdown(fns ...func()) *Server {
s.shutdown = fns
return s
}
| 21.125 | 72 | 0.715976 |
1a81320dd096a8b74a1fcae9afa20c207f8281a4 | 5,509 | rs | Rust | src/config/app/domain.rs | ArthurKValladares/gradle-bump | ba40bac89ec2f340bbbd242c4ac58ebeeda7e184 | [
"Apache-2.0",
"MIT"
] | 614 | 2020-08-07T18:38:54.000Z | 2022-03-25T12:34:00.000Z | src/config/app/domain.rs | hikecoder/cargo-mobile | 8a021a7d21315d0d4ad16d5d3c6526340e2fabb8 | [
"Apache-2.0",
"MIT"
] | 38 | 2020-11-25T19:31:16.000Z | 2022-03-05T03:10:13.000Z | src/config/app/domain.rs | hikecoder/cargo-mobile | 8a021a7d21315d0d4ad16d5d3c6526340e2fabb8 | [
"Apache-2.0",
"MIT"
] | 31 | 2020-10-29T03:44:38.000Z | 2022-03-05T03:42:10.000Z | use crate::util::list_display;
use std::error::Error;
use std::fmt;
static RESERVED_PACKAGE_NAMES: [&str; 2] = ["kotlin", "java"];
static RESERVED_KEYWORDS: [&str; 63] = [
"abstract",
"as",
"assert",
"boolean",
"break",
"byte",
"case",
"catch",
"char",
"class",
"const",
... | 27.964467 | 247 | 0.527682 |
94d07aad53c2f0305af4f3613d8c2e305ceba320 | 1,634 | swift | Swift | Sources/AsciiEdit/Commands/AsciiEdit.swift | daltonclaybrook/AsciiEdit | 6e97648236a6dca03a23416018dae52277a60c75 | [
"MIT"
] | 2 | 2021-06-10T13:37:36.000Z | 2021-07-30T06:55:54.000Z | Sources/AsciiEdit/Commands/AsciiEdit.swift | daltonclaybrook/AsciiEdit | 6e97648236a6dca03a23416018dae52277a60c75 | [
"MIT"
] | null | null | null | Sources/AsciiEdit/Commands/AsciiEdit.swift | daltonclaybrook/AsciiEdit | 6e97648236a6dca03a23416018dae52277a60c75 | [
"MIT"
] | null | null | null | import ArgumentParser
import PathKit
final class AsciiEdit: ParsableCommand {
enum Error: Swift.Error {
case inputFileDoesNotExist(String)
}
static let configuration = CommandConfiguration(
commandName: "asciiedit",
abstract: "A utility for editing `cast` files produced with asciin... | 32.68 | 131 | 0.649327 |
a1eb0bcb716bcb26aed025f2e277080e44c2ac91 | 4,922 | lua | Lua | yatm_mining/nodes/quarry.lua | IceDragon200/mt-yatm | 7452f2905e1f4121dc9d244d18a23e76b11ebe5d | [
"Apache-2.0"
] | 3 | 2019-03-15T03:17:36.000Z | 2020-02-19T19:50:49.000Z | yatm_mining/nodes/quarry.lua | IceDragon200/mt-yatm | 7452f2905e1f4121dc9d244d18a23e76b11ebe5d | [
"Apache-2.0"
] | 24 | 2019-12-02T06:01:04.000Z | 2021-04-08T04:09:27.000Z | yatm_mining/nodes/quarry.lua | IceDragon200/mt-yatm | 7452f2905e1f4121dc9d244d18a23e76b11ebe5d | [
"Apache-2.0"
] | null | null | null | local Directions = assert(foundation.com.Directions)
local ItemInterface = assert(yatm.items.ItemInterface)
local quarry_item_interface = ItemInterface.new_simple("main")
local function quarry_on_construct(pos)
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
inv:set_size("main", 4) -- Qua... | 25.241026 | 119 | 0.657253 |
4a40a9462ec0d66266a03797d7ffc4e2dba9dc7c | 886 | js | JavaScript | src/main/webapp/resources/nmrviewer/libs/uglify.js | peakforest/peakforest-webapp | 8384d687e23d034925bc74ef8600749c0780fb2a | [
"OML",
"RSA-MD"
] | null | null | null | src/main/webapp/resources/nmrviewer/libs/uglify.js | peakforest/peakforest-webapp | 8384d687e23d034925bc74ef8600749c0780fb2a | [
"OML",
"RSA-MD"
] | null | null | null | src/main/webapp/resources/nmrviewer/libs/uglify.js | peakforest/peakforest-webapp | 8384d687e23d034925bc74ef8600749c0780fb2a | [
"OML",
"RSA-MD"
] | null | null | null | var fs = require("fs"),
uglify = require("uglify-js");
var filename = process.argv[2],
toplevel = uglify.parse(fs.readFileSync(filename, "utf8"), {filename: filename}),
output = uglify.OutputStream({ascii_only: true}),
compressor = uglify.Compressor(true),
warn = uglify.AST_Node.warn;
uglify.AST_... | 27.6875 | 92 | 0.687359 |
e775abb2c964a0e3b155e08fadc61923175d58fd | 3,378 | js | JavaScript | src/pages/login.js | fullstack202/nest-app | 9a1470cd0a2d43c2e4a7057cdb0e1c626e9c4276 | [
"MIT"
] | null | null | null | src/pages/login.js | fullstack202/nest-app | 9a1470cd0a2d43c2e4a7057cdb0e1c626e9c4276 | [
"MIT"
] | null | null | null | src/pages/login.js | fullstack202/nest-app | 9a1470cd0a2d43c2e4a7057cdb0e1c626e9c4276 | [
"MIT"
] | null | null | null | import { Box, Button, Container, TextField, Typography } from '@mui/material';
import { useFormik } from 'formik';
import Head from 'next/head';
import { useRouter } from 'next/router';
import * as Yup from 'yup';
const Login = () => {
const router = useRouter();
const formik = useFormik({
initialValues: {
... | 28.386555 | 80 | 0.488455 |
ac9eb10e7b90bc7e9102b0897de45b8170fb0fdf | 4,083 | kt | Kotlin | pocketlib/src/main/java/jdp/pocketlib/util/RxImageRequest.kt | jamesdeperio/PocketLib | 3e0396012c50743fe7d14c19d7117197abe64205 | [
"Apache-2.0"
] | 10 | 2018-08-01T03:02:29.000Z | 2021-01-10T23:47:35.000Z | pocketlib/src/main/java/jdp/pocketlib/util/RxImageRequest.kt | jamesdeperio/PocketLib | 3e0396012c50743fe7d14c19d7117197abe64205 | [
"Apache-2.0"
] | 71 | 2018-09-07T17:57:43.000Z | 2021-07-29T21:14:34.000Z | pocketlib/src/main/java/jdp/pocketlib/util/RxImageRequest.kt | jamesdeperio/PocketLib | 3e0396012c50743fe7d14c19d7117197abe64205 | [
"Apache-2.0"
] | 3 | 2018-10-10T06:55:42.000Z | 2019-10-07T03:33:56.000Z | package jdp.pocketlib.util
import android.annotation.SuppressLint
import android.content.ClipData
import android.content.Intent
import android.graphics.Bitmap
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.provider.MediaStore
import android.support.annotation.RequiresApi
import... | 44.868132 | 171 | 0.678913 |
fb8798aa3286235d25c1388df39ae21563e9686f | 2,475 | h | C | Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_insertion_helper.h | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 3,227 | 2015-03-05T00:19:18.000Z | 2022-03-31T08:20:35.000Z | Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_insertion_helper.h | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 5,574 | 2015-03-05T00:01:56.000Z | 2022-03-31T15:08:11.000Z | Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_insertion_helper.h | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 1,274 | 2015-03-05T00:01:12.000Z | 2022-03-31T14:47:56.000Z | // Copyright (c) 2006,2007,2009,2010,2011 Tel-Aviv University (Israel).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
//
// $URL$
// $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial
//
//
// Author(s) : Baruch Zukerman <baruchzu@post.tau.ac.il>
// ... | 33.445946 | 79 | 0.634343 |
38dc04714f5ae585beb05c33f8ff450ab3b88e57 | 6,988 | swift | Swift | SwiftWeibo/SwiftWeibo/Classes/Compose/ComposeViewController.swift | coderwjq/swiftweibo | 053cdcf81783a422a593ffcfdbc472e7f645edcb | [
"Apache-2.0"
] | null | null | null | SwiftWeibo/SwiftWeibo/Classes/Compose/ComposeViewController.swift | coderwjq/swiftweibo | 053cdcf81783a422a593ffcfdbc472e7f645edcb | [
"Apache-2.0"
] | null | null | null | SwiftWeibo/SwiftWeibo/Classes/Compose/ComposeViewController.swift | coderwjq/swiftweibo | 053cdcf81783a422a593ffcfdbc472e7f645edcb | [
"Apache-2.0"
] | null | null | null | //
// ComposeViewController.swift
// SwiftWeibo
//
// Created by mzzdxt on 2016/11/7.
// Copyright © 2016年 wjq. All rights reserved.
//
import UIKit
import SVProgressHUD
class ComposeViewController: UIViewController {
// MARK:- 控件的属性
@IBOutlet weak var textView: ComposeTextView!
@IBOutlet weak var pic... | 31.336323 | 174 | 0.632656 |
bf52051197317bf33c295bf684fdec359d33abd6 | 3,303 | rs | Rust | netlink-packet/src/rtnl/link/nlas/inet6/cache.rs | flier/netlink | 28ec172de2ba8dcfbde1b1961e429948e00153eb | [
"MITNFA"
] | null | null | null | netlink-packet/src/rtnl/link/nlas/inet6/cache.rs | flier/netlink | 28ec172de2ba8dcfbde1b1961e429948e00153eb | [
"MITNFA"
] | 2 | 2019-02-01T03:31:21.000Z | 2019-02-02T02:47:42.000Z | netlink-packet/src/rtnl/link/nlas/inet6/cache.rs | flier/netlink | 28ec172de2ba8dcfbde1b1961e429948e00153eb | [
"MITNFA"
] | null | null | null | use byteorder::{ByteOrder, NativeEndian};
use crate::{DecodeError, Emitable, Field, Parseable};
const MAX_REASM_LEN: Field = 0..4;
const TSTAMP: Field = 4..8;
const REACHABLE_TIME: Field = 8..12;
const RETRANS_TIME: Field = 12..16;
pub const LINK_INET6_CACHE_INFO_LEN: usize = RETRANS_TIME.end;
#[derive(Clone, Copy, ... | 30.027273 | 87 | 0.639116 |
cb584a2641a9cf6c273b75a2120793c26b27115e | 3,817 | go | Go | steam/web/results.go | 13k/geyser | 296c535ec8e5ae43786231d458eddc1ebc0ca07f | [
"MIT"
] | 1 | 2020-07-21T09:57:29.000Z | 2020-07-21T09:57:29.000Z | steam/web/results.go | 13k/geyser | 296c535ec8e5ae43786231d458eddc1ebc0ca07f | [
"MIT"
] | null | null | null | steam/web/results.go | 13k/geyser | 296c535ec8e5ae43786231d458eddc1ebc0ca07f | [
"MIT"
] | null | null | null | package web
import (
"crypto/rsa"
"encoding/json"
"fmt"
"strconv"
"time"
"github.com/13k/go-steam/steamid"
)
// RSAKeyResult is the result of an RSA Key request.
type RSAKeyResult struct {
PublicKeyMod string `json:"publickey_mod"`
PublicKeyExp string `json:"publickey_exp"`
Success bool `json:"succes... | 26.143836 | 92 | 0.636102 |
f089b2ee0df2c39cb69f3cc09604ca66100e6ff2 | 3,266 | js | JavaScript | true-business-backend/models/business.js | sophiemullerc/true-business | e062165e27344246f865c42f2b7499beae4ac24a | [
"MIT"
] | 1 | 2018-10-08T16:28:05.000Z | 2018-10-08T16:28:05.000Z | true-business-backend/models/business.js | Lambda-School-Labs/CS10-business-review | e062165e27344246f865c42f2b7499beae4ac24a | [
"MIT"
] | 26 | 2018-09-12T17:32:38.000Z | 2018-10-09T18:16:31.000Z | true-business-backend/models/business.js | sophiemullerc/true-business | e062165e27344246f865c42f2b7499beae4ac24a | [
"MIT"
] | 1 | 2018-09-10T16:06:01.000Z | 2018-09-10T16:06:01.000Z | const mongoose = require('mongoose');
const businessSchema = new mongoose.Schema({
// places_details: name
// returns a formatted string
name: {
type: String,
required: true,
},
// places_details: types
// returns an array of strings
types: [
{
type: String,
},
],
// places_deta... | 24.931298 | 98 | 0.642682 |
a6678655a576c1c47552adbb36d7ab5b697b9917 | 253 | swift | Swift | Sources/SPIDlibraryIOS/Extensions/NSObject+Extension.swift | teogira/SPIDlibraryIOS | 92d10962ff5f92fe3b7596628626e043d2c14d37 | [
"BSD-3-Clause"
] | 49 | 2021-03-31T10:55:02.000Z | 2022-02-14T21:32:46.000Z | Sources/SPIDlibraryIOS/Extensions/NSObject+Extension.swift | teogira/SPIDlibraryIOS | 92d10962ff5f92fe3b7596628626e043d2c14d37 | [
"BSD-3-Clause"
] | 1 | 2021-11-02T13:37:36.000Z | 2021-11-04T12:44:00.000Z | Sources/SPIDlibraryIOS/Extensions/NSObject+Extension.swift | teogira/SPIDlibraryIOS | 92d10962ff5f92fe3b7596628626e043d2c14d37 | [
"BSD-3-Clause"
] | 6 | 2021-03-31T10:50:55.000Z | 2021-10-13T19:35:59.000Z | //
// SPDX-FileCopyrightText: 2021 Istituto Nazionale Previdenza Sociale
//
// SPDX-License-Identifier: BSD-3-Clause
import Foundation
extension NSObject {
static var identifier: String {
return String(describing: self)
}
}
| 16.866667 | 69 | 0.687747 |
85b54054c359222c7aa70f9ff647dc6732348c5b | 988 | c | C | code/2212.c | Tarpelite/OJ_research | 5c23591a50e755dac800dfaedb561290ce35fc5b | [
"MIT"
] | null | null | null | code/2212.c | Tarpelite/OJ_research | 5c23591a50e755dac800dfaedb561290ce35fc5b | [
"MIT"
] | null | null | null | code/2212.c | Tarpelite/OJ_research | 5c23591a50e755dac800dfaedb561290ce35fc5b | [
"MIT"
] | null | null | null | #include <stdio.h>
int N(int l, int r);
int M(int l, int r);
int H(int l, int r);
int min(int a, int b);
int max(int a, int b);
int a[100], n;
int main()
{
int K, l, r;
scanf("%d %d", &n, &K);
for(int i = 0; i < n; i++)
{
scanf("%d", &a[i]);
}
for(int i = 0; i < K; i++)
{
scanf("%d %d", &l, &r);
pr... | 10.185567 | 73 | 0.425101 |
e76e9845676a6157e077e989eda4d1719e69bbca | 7,508 | js | JavaScript | client/app/sessionPractice/sessionPractice.controller.js | alinaMihai/wakeupApp | a547975d2b43caafafd278e472c609e730a6aee1 | [
"MIT"
] | 2 | 2016-01-24T18:18:22.000Z | 2018-12-15T22:38:24.000Z | client/app/sessionPractice/sessionPractice.controller.js | alinaMihai/wakeupApp | a547975d2b43caafafd278e472c609e730a6aee1 | [
"MIT"
] | null | null | null | client/app/sessionPractice/sessionPractice.controller.js | alinaMihai/wakeupApp | a547975d2b43caafafd278e472c609e730a6aee1 | [
"MIT"
] | null | null | null | (function() {
'use strict';
angular
.module('wakeupApp')
.controller('SessionController', SessionController);
SessionController.$inject = ['cached', 'QuestionService', '$timeout', 'PracticeSessionService',
'$stateParams', '$state', 'logger', '$sessionStorage', 'QuoteService', '$win... | 41.711111 | 129 | 0.568327 |
c1f556a18605748a3f80a9c31970172181d081b0 | 1,335 | rs | Rust | shared/rust/src/domain/jig/module/body/legacy/design.rs | mastapegs/ji-cloud | b572289c5987f5e937f5e030fbd2712229ea1204 | [
"Apache-2.0",
"MIT"
] | null | null | null | shared/rust/src/domain/jig/module/body/legacy/design.rs | mastapegs/ji-cloud | b572289c5987f5e937f5e030fbd2712229ea1204 | [
"Apache-2.0",
"MIT"
] | null | null | null | shared/rust/src/domain/jig/module/body/legacy/design.rs | mastapegs/ji-cloud | b572289c5987f5e937f5e030fbd2712229ea1204 | [
"Apache-2.0",
"MIT"
] | null | null | null | pub use super::*;
use serde::{Deserialize, Serialize};
use serde_with::skip_serializing_none;
#[derive(Serialize, Deserialize, Debug, Clone, Default)]
pub struct Design {
/// Background layer
pub bgs: Vec<String>,
/// Stickers layer
pub stickers: Vec<Sticker>,
}
#[skip_serializing_none]
#[derive(Seri... | 26.176471 | 70 | 0.681648 |
8ef2876c31b298afca6a85fb3021b51232b31658 | 446 | rb | Ruby | DudeNobButts.rb | pblasser/shrelish | f15ecc23c3cd8fe6a97e7edb9f7ba7af1afd58e3 | [
"MIT"
] | 1 | 2021-11-14T00:53:56.000Z | 2021-11-14T00:53:56.000Z | DudeNobButts.rb | pblasser/shrelish | f15ecc23c3cd8fe6a97e7edb9f7ba7af1afd58e3 | [
"MIT"
] | null | null | null | DudeNobButts.rb | pblasser/shrelish | f15ecc23c3cd8fe6a97e7edb9f7ba7af1afd58e3 | [
"MIT"
] | null | null | null | require './Dude.rb'
def dudderat(d)
end
require './Dudetop.rb'
class Dudebutt < Duderon
def initialize(n,z)
super(n,z)
end
def boxo
#curno = 1.5
#while curno<=14.5 do
balmet(16-1.5,0)
#curno = curno + 1.5
#bomron(curno,1.5)
# bomron(curno,-1.5)
#curno= curno +1.5
#end
end
... | 15.37931 | 40 | 0.59417 |
a831572782ea7ddbca497fba585a13c91e6b75a2 | 2,609 | rs | Rust | src/bb/bb_isoevtcntloffsetl1.rs | ldicocco/rsl10-pac | 007871e940fe30f83de1da0f15fd25b052d1f340 | [
"MIT"
] | null | null | null | src/bb/bb_isoevtcntloffsetl1.rs | ldicocco/rsl10-pac | 007871e940fe30f83de1da0f15fd25b052d1f340 | [
"MIT"
] | null | null | null | src/bb/bb_isoevtcntloffsetl1.rs | ldicocco/rsl10-pac | 007871e940fe30f83de1da0f15fd25b052d1f340 | [
"MIT"
] | null | null | null | #[doc = "Reader of register BB_ISOEVTCNTLOFFSETL1"]
pub type R = crate::R<u32, super::BB_ISOEVTCNTLOFFSETL1>;
#[doc = "Writer for register BB_ISOEVTCNTLOFFSETL1"]
pub type W = crate::W<u32, super::BB_ISOEVTCNTLOFFSETL1>;
#[doc = "Register BB_ISOEVTCNTLOFFSETL1 `reset()`'s with value 0"]
impl crate::ResetValue for super... | 31.433735 | 84 | 0.627827 |
86f693bfd8851f18d1b620b814e86a57a40f582c | 548 | rs | Rust | Rust/Algorithms/551.rs | DimitrisJim/leetcode_solutions | 765ea578748f8c9b21243dec9dc8a16163e85c0c | [
"Unlicense"
] | 2 | 2021-01-15T17:22:54.000Z | 2021-05-16T19:58:02.000Z | Rust/Algorithms/551.rs | DimitrisJim/leetcode_solutions | 765ea578748f8c9b21243dec9dc8a16163e85c0c | [
"Unlicense"
] | null | null | null | Rust/Algorithms/551.rs | DimitrisJim/leetcode_solutions | 765ea578748f8c9b21243dec9dc8a16163e85c0c | [
"Unlicense"
] | null | null | null | impl Solution {
pub fn check_record(s: String) -> bool {
let (mut consecutive, mut a_count) = (0, 0);
for i in s.chars() {
if i == 'L' {
consecutive += 1;
if consecutive == 3 {
return false;
}
continue;
... | 23.826087 | 52 | 0.326642 |
957fd963724b9cf866b2931f7fa1b7961b6d2b7c | 7,534 | asm | Assembly | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_451.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_451.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_451.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 %r13
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xc122, %rdi
nop
nop
and $28156, %r13
mov $0x6162636465666768, %r10
movq %r10, %xmm7
movups %xmm7, (%rdi)
nop
nop
cmp $46654, %rax
lea addresses_WC_ht+0x37c2, %rbp
nop... | 33.784753 | 2,999 | 0.656092 |
9c33334930dd9a441a6a371a34f0a7c96e07f887 | 411 | js | JavaScript | React16/SourceCode/Chapter12/snapterest/source/app.js | MikeAlexMartinez/ReactBooks | 7fa2f5ab7a29eed00311ca0823784950c8d64e1f | [
"MIT"
] | 15 | 2018-01-02T15:29:14.000Z | 2021-07-24T15:48:56.000Z | React16/SourceCode/Chapter12/snapterest/source/app.js | MikeAlexMartinez/ReactBooks | 7fa2f5ab7a29eed00311ca0823784950c8d64e1f | [
"MIT"
] | 2 | 2019-03-28T04:00:54.000Z | 2019-05-06T09:03:30.000Z | React16/SourceCode/Chapter12/snapterest/source/app.js | MikeAlexMartinez/ReactBooks | 7fa2f5ab7a29eed00311ca0823784950c8d64e1f | [
"MIT"
] | 17 | 2017-12-07T08:02:36.000Z | 2020-06-03T11:11:37.000Z | import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import Application from './components/Application';
import { initializeStreamOfTweets } from './utils/WebAPIUtils';
import store from './stores';
initializeStreamOfTweets(store);
ReactDOM.render(
<Provider store={s... | 24.176471 | 63 | 0.742092 |
f594539ac8e111c47dc2e335fd52e0752094d189 | 1,228 | rs | Rust | src/modular_constant.rs | kagemeka/rust-algorithms | 69523507161d1ce97c583b029367ede82ec195e4 | [
"MIT"
] | 1 | 2022-02-17T12:52:45.000Z | 2022-02-17T12:52:45.000Z | src/modular_constant.rs | kagemeka/dsalgo-rust | d22e747cb2fdaea68aec9c2d19b304eaa3d6551e | [
"MIT"
] | 3 | 2022-01-06T12:50:07.000Z | 2022-01-06T23:45:42.000Z | src/modular_constant.rs | kagemeka/rust-algorithms | 69523507161d1ce97c583b029367ede82ec195e4 | [
"MIT"
] | null | null | null | use crate::modular_static::{IsPrime, Modular, Modulus};
pub trait ConstantModulus: Modulus {
const VALUE: usize;
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct MOD998_244_353;
impl ConstantModulus for MOD998_244_353 {
const VALUE: usize = 998_244_353;
}
impl Modulus for MOD998_244_353 {
fn val... | 24.078431 | 58 | 0.645765 |
0e7f8381d7072a1279101f94b26b8e787eccadbd | 23,743 | html | HTML | modulaise/lib/commons-net-2.0/apidocs/serialized-form.html | larjen/modulaise | 90a48c8f4ce0378389fe8617c6cc7349d3a8d31d | [
"Unlicense"
] | 1 | 2016-04-05T21:14:39.000Z | 2016-04-05T21:14:39.000Z | modulaise/lib/commons-net-2.0/apidocs/serialized-form.html | larjen/modulaise | 90a48c8f4ce0378389fe8617c6cc7349d3a8d31d | [
"Unlicense"
] | null | null | null | modulaise/lib/commons-net-2.0/apidocs/serialized-form.html | larjen/modulaise | 90a48c8f4ce0378389fe8617c6cc7349d3a8d31d | [
"Unlicense"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_04) on Sun Oct 19 17:57:02 BST 2008 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Serialized Form (Comm... | 34.610787 | 396 | 0.656109 |
3a40162adfd11aba3d8d0804bce8be3161eb92a7 | 378 | sql | SQL | Database/PostgreSQL/Triggers.sql | AlejandroIbarraC/Pandemica | 44497ffce12e02b27778260c45b21be823632e33 | [
"MIT"
] | null | null | null | Database/PostgreSQL/Triggers.sql | AlejandroIbarraC/Pandemica | 44497ffce12e02b27778260c45b21be823632e33 | [
"MIT"
] | null | null | null | Database/PostgreSQL/Triggers.sql | AlejandroIbarraC/Pandemica | 44497ffce12e02b27778260c45b21be823632e33 | [
"MIT"
] | 1 | 2020-10-29T22:26:52.000Z | 2020-10-29T22:26:52.000Z | -- Auxiliary function that makes rollback on trigger
create or replace function udt_hospital_deleted()
returns trigger
language plpgsql
as $$
begin
raise warning 'Hospitals can not be deleted';
rollback;
end;
$$;
-- Trigger that stops hospitals from been deleted
create trigger hospital_delete
before delete... | 25.2 | 52 | 0.780423 |
50946dbeb85731d3a3e70d1111f4e7625ae99820 | 265 | swift | Swift | DalyCovidReport/DalyCovidReportApp.swift | Dol2oMo/thailand-covid-case-iOS | af2ac16e12aa20e6d3e78b9f36f34d675629fa37 | [
"MIT"
] | null | null | null | DalyCovidReport/DalyCovidReportApp.swift | Dol2oMo/thailand-covid-case-iOS | af2ac16e12aa20e6d3e78b9f36f34d675629fa37 | [
"MIT"
] | null | null | null | DalyCovidReport/DalyCovidReportApp.swift | Dol2oMo/thailand-covid-case-iOS | af2ac16e12aa20e6d3e78b9f36f34d675629fa37 | [
"MIT"
] | null | null | null | //
// DalyCovidReportApp.swift
// DalyCovidReport
//
// Created by Sorasak Tungpraisansombut on 20/7/2564 BE.
//
import SwiftUI
@main
struct DalyCovidReportApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
| 14.722222 | 57 | 0.618868 |
18dfcf7de8e273d85f70f36e8e7f64257dccb036 | 1,352 | css | CSS | public/css/components/global.css | rbevaristo/routa | d9d3e47475ba0cb0e716ebd2496bc7571286a012 | [
"MIT"
] | null | null | null | public/css/components/global.css | rbevaristo/routa | d9d3e47475ba0cb0e716ebd2496bc7571286a012 | [
"MIT"
] | null | null | null | public/css/components/global.css | rbevaristo/routa | d9d3e47475ba0cb0e716ebd2496bc7571286a012 | [
"MIT"
] | null | null | null | /* Custom Styles */
body {
color: #444;
font-family: "Montserrat";
}
/* Global */
.bg-primary {
background-color: #373737 !important;
}
.navbar .nav-link {
color: #fff !important;
}
.navbar .nav-link:hover {
color: #478dd2 !important;
}
.navbar .active a {
color: #478dd2 !important;
}
se... | 14.857143 | 41 | 0.572485 |
b908b563779e505dc23f151c8c6fb6185746c3ff | 8,060 | c | C | src/ofix/store.c | ohler55/ofix | 9988107172c7e3287cc996d8d65d5017bd69299d | [
"MIT"
] | null | null | null | src/ofix/store.c | ohler55/ofix | 9988107172c7e3287cc996d8d65d5017bd69299d | [
"MIT"
] | null | null | null | src/ofix/store.c | ohler55/ofix | 9988107172c7e3287cc996d8d65d5017bd69299d | [
"MIT"
] | null | null | null | // Copyright 2009, 2015 by Peter Ohler, All Rights Reserved
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <time.h>
#include "store.h"
#include "engine.h"
#define LOCS_INC 4096
Store
ofix_store_create(ofixErr err, const char *path, const char *id) {
char buf[1024];
Store s;
if (NUL... | 24.204204 | 97 | 0.57134 |