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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3a0ebb37f94d1fc22e0ef023f953f575e4830204 | 351 | swift | Swift | ABC-CODE/Extensions/Double+Extension.swift | kudzaiTnexus/ABC-CODE | 8362d9f1293513f08fe771a5ad0d66304c8b8375 | [
"MIT"
] | null | null | null | ABC-CODE/Extensions/Double+Extension.swift | kudzaiTnexus/ABC-CODE | 8362d9f1293513f08fe771a5ad0d66304c8b8375 | [
"MIT"
] | null | null | null | ABC-CODE/Extensions/Double+Extension.swift | kudzaiTnexus/ABC-CODE | 8362d9f1293513f08fe771a5ad0d66304c8b8375 | [
"MIT"
] | null | null | null | //
// Double+Extension.swift
// ABC-CODE
//
// Created by Kudzai Mhou on 2019/03/17.
// Copyright © 2019 Kudzai Mhou. All rights reserved.
//
import Foundation
extension Double {
mutating func roundToPlaces(places:Int) -> Double {
let divisor = pow(10.0, Double(places))
return Darwin.round(sel... | 20.647059 | 55 | 0.655271 |
6846ee9be6ecc5df758a6fb38671c8072dc7887d | 477 | kt | Kotlin | arrow-inject-compiler-plugin/src/testData/box/context-receivers/context_receivers_with_more_than_two_type_parameters.kt | arrow-kt/arrow-proofs | 55919397df875aa5ee71301415f6ede6a4077365 | [
"Apache-2.0"
] | 2 | 2022-03-25T08:12:10.000Z | 2022-03-26T02:12:21.000Z | arrow-inject-compiler-plugin/src/testData/box/context-receivers/context_receivers_with_more_than_two_type_parameters.kt | arrow-kt/arrow-proofs | 55919397df875aa5ee71301415f6ede6a4077365 | [
"Apache-2.0"
] | 2 | 2022-03-18T11:43:51.000Z | 2022-03-18T15:37:58.000Z | arrow-inject-compiler-plugin/src/testData/box/context-receivers/context_receivers_with_more_than_two_type_parameters.kt | arrow-kt/arrow-proofs | 55919397df875aa5ee71301415f6ede6a4077365 | [
"Apache-2.0"
] | null | null | null | package foo.bar
import arrow.inject.annotations.Provider
import arrow.inject.annotations.context
@Provider
class A {
val a = 1
}
@Provider
class B {
val b = 2
}
@Provider
class C {
val c = 3
}
@Provider
class D {
val d = 5
}
@Provider
class E {
val e = 8
}
fun f(): Int {
println("123")
context<A, B... | 10.6 | 40 | 0.572327 |
0cc46073749631b895fb07e8351d82807fbd6e14 | 2,140 | py | Python | lms_app/v1/serializers/user_serializers.py | Etomovich/lms-backend | e586abc44a0e74ed28da7a77f6ef31230995c84b | [
"MIT"
] | null | null | null | lms_app/v1/serializers/user_serializers.py | Etomovich/lms-backend | e586abc44a0e74ed28da7a77f6ef31230995c84b | [
"MIT"
] | 1 | 2021-06-02T00:45:56.000Z | 2021-06-02T00:45:56.000Z | lms_app/v1/serializers/user_serializers.py | Etomovich/lms-backend | e586abc44a0e74ed28da7a77f6ef31230995c84b | [
"MIT"
] | null | null | null | from flask_restplus import Namespace, fields
class UserDataModel(object):
"""Represents the user data transfer object."""
api = Namespace(
'user', description='user authentication and signup resources'
)
this_user = api.model('Register input data', {
'username': fields.String(
... | 33.4375 | 70 | 0.574299 |
56b4bd714723efe6be92ea1a3477c9845e0bb27d | 4,274 | tsx | TypeScript | src/components/molecules/alert/alert.stories.tsx | yaldram/chakra-ui-clone | 79580f1716d569ca835055dc217970af29ddc928 | [
"MIT"
] | 4 | 2021-09-07T09:38:40.000Z | 2021-12-21T00:00:11.000Z | src/components/molecules/alert/alert.stories.tsx | yaldram/chakra-ui-clone | 79580f1716d569ca835055dc217970af29ddc928 | [
"MIT"
] | 1 | 2021-09-07T09:43:04.000Z | 2021-09-17T08:35:39.000Z | src/components/molecules/alert/alert.stories.tsx | yaldram/chakra-ui-clone | 79580f1716d569ca835055dc217970af29ddc928 | [
"MIT"
] | null | null | null | import * as React from 'react'
import { colorSchemeOptions } from '../../../theme/colors'
import { Box, Stack } from '../../atoms/layout'
import { CloseButton } from '../../atoms/form'
import { Alert, AlertIcon, AlertTitle, AlertDescription, AlertProps } from '.'
export default {
title: 'Molecules/Alert'
}
export ... | 27.753247 | 78 | 0.533692 |
310dc2bc9dd691a3bf5e550afb685db570d93b99 | 951 | sql | SQL | algorithm/xgboost/data_preparation.sql | aws-samples/amazon-redshift-ml-getting-started | 1b8e0f87d374f3ca7d02fd3a2efafb6a8832b654 | [
"MIT-0"
] | 11 | 2021-08-19T18:01:19.000Z | 2022-02-08T14:31:44.000Z | algorithm/xgboost/data_preparation.sql | aws-samples/amazon-redshift-ml-getting-started | 1b8e0f87d374f3ca7d02fd3a2efafb6a8832b654 | [
"MIT-0"
] | null | null | null | algorithm/xgboost/data_preparation.sql | aws-samples/amazon-redshift-ml-getting-started | 1b8e0f87d374f3ca7d02fd3a2efafb6a8832b654 | [
"MIT-0"
] | 8 | 2021-08-19T17:03:18.000Z | 2022-03-06T17:43:44.000Z | /* Data preparation steps for XGBoost model creation in Redshift ML */
/* DISCLAIMER: Please replace <your-amazon-redshift-sagemaker-iam-role-arn> with the IAM role ARN of your Amazon Redshift cluster in the SQL scripts below
/* Data Preparation */
--train table
CREATE TABLE banknoteauthentication_train(
variance ... | 29.71875 | 205 | 0.794953 |
88493707014e0e5aa3d01303fd9f6839968b4482 | 2,240 | kt | Kotlin | kControlLibrary/src/main/java/com/github/poluka/kControlLibrary/sender/SenderForRobot.kt | art241111/ProgrammingKawasakiRobots | 3cfe2f2432afcae80be198c518c9dafe240bf0a9 | [
"MIT"
] | null | null | null | kControlLibrary/src/main/java/com/github/poluka/kControlLibrary/sender/SenderForRobot.kt | art241111/ProgrammingKawasakiRobots | 3cfe2f2432afcae80be198c518c9dafe240bf0a9 | [
"MIT"
] | null | null | null | kControlLibrary/src/main/java/com/github/poluka/kControlLibrary/sender/SenderForRobot.kt | art241111/ProgrammingKawasakiRobots | 3cfe2f2432afcae80be198c518c9dafe240bf0a9 | [
"MIT"
] | 1 | 2020-10-17T08:02:38.000Z | 2020-10-17T08:02:38.000Z | package com.github.poluka.kControlLibrary.sender
import com.github.art241111.tcpClient.writer.SafeSender
import com.github.art241111.tcpClient.writer.Sender
import com.github.poluka.kControlLibrary.handlers.programStatusHandler.ProgramStatusHandler
import com.github.poluka.kControlLibrary.handlers.programStatusHandler... | 31.111111 | 102 | 0.614732 |
7e327ca16325fb1325b2a3883a422ad86947c660 | 4,641 | kt | Kotlin | src/main/kotlin/org/jmailen/gradle/kotlinter/tasks/GitHookTasks.kt | rvplauborg/kotlinter-gradle | 053263b47f8bf84115f95a3cd155590f5cb526d2 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/org/jmailen/gradle/kotlinter/tasks/GitHookTasks.kt | rvplauborg/kotlinter-gradle | 053263b47f8bf84115f95a3cd155590f5cb526d2 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/org/jmailen/gradle/kotlinter/tasks/GitHookTasks.kt | rvplauborg/kotlinter-gradle | 053263b47f8bf84115f95a3cd155590f5cb526d2 | [
"Apache-2.0"
] | null | null | null | package org.jmailen.gradle.kotlinter.tasks
import org.gradle.api.DefaultTask
import org.gradle.api.provider.Property
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.Internal
import org.gradle.api.tasks.TaskAction
import org.jmailen.gradle.kotlinter.support.VersionProperties
import java.io.File
open clas... | 32.683099 | 117 | 0.565611 |
907d4e2af1015cd7c39ff1bc4cccbe2763ea41e4 | 622 | py | Python | ogreserver/forms/profile_edit.py | oii/ogreserver | 942d8ee612206fb094f04b3ff976187abebf3069 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ogreserver/forms/profile_edit.py | oii/ogreserver | 942d8ee612206fb094f04b3ff976187abebf3069 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ogreserver/forms/profile_edit.py | oii/ogreserver | 942d8ee612206fb094f04b3ff976187abebf3069 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from __future__ import absolute_import
from __future__ import unicode_literals
from flask_wtf import FlaskForm
from wtforms import BooleanField, SelectField, validators
from wtforms.fields.html5 import EmailField
class ProfileEditForm(FlaskForm):
email = EmailField('Email Address', [validators.Required(), valid... | 34.555556 | 87 | 0.729904 |
eb8dfd1305516036b28a5a95648072c8d9693717 | 1,788 | swift | Swift | Core/Barcelona/Enums/IMServiceStyle.swift | CarlAmbroselli/barcelona | 9bd087575935485a4c26674c2414d7ef20d7e168 | [
"Apache-2.0"
] | 13 | 2021-08-12T22:57:13.000Z | 2022-03-09T16:45:52.000Z | Core/Barcelona/Enums/IMServiceStyle.swift | CarlAmbroselli/barcelona | 9bd087575935485a4c26674c2414d7ef20d7e168 | [
"Apache-2.0"
] | 20 | 2021-09-03T13:38:34.000Z | 2022-03-17T13:24:39.000Z | Core/Barcelona/Enums/IMServiceStyle.swift | CarlAmbroselli/barcelona | 9bd087575935485a4c26674c2414d7ef20d7e168 | [
"Apache-2.0"
] | 2 | 2022-02-13T08:35:11.000Z | 2022-03-17T01:56:47.000Z | //
// IMServiceStyle.swift
// CoreBarcelona
//
// Created by Eric Rabil on 9/11/20.
// Copyright © 2020 Eric Rabil. All rights reserved.
//
import Foundation
import IMCore
// (bl-api-exposed)
/// Different styles of IMCore services
public enum IMServiceStyle: String, CaseIterable, Codable, Hashable {
case iMe... | 23.220779 | 74 | 0.574385 |
6c49a8588b77f51e4a86d95bb55f0b73803a0a5f | 6,593 | swift | Swift | BenefitPet/Classes/Unicom/Controllers/BPSearchFriendsVC.swift | gouyz/BenefitPet | e67404beaae6a4951f6f3ff1a2a553088a28f2b3 | [
"MIT"
] | 1 | 2020-03-20T02:53:41.000Z | 2020-03-20T02:53:41.000Z | BenefitPet/Classes/Unicom/Controllers/BPSearchFriendsVC.swift | gouyz/BenefitPet | e67404beaae6a4951f6f3ff1a2a553088a28f2b3 | [
"MIT"
] | null | null | null | BenefitPet/Classes/Unicom/Controllers/BPSearchFriendsVC.swift | gouyz/BenefitPet | e67404beaae6a4951f6f3ff1a2a553088a28f2b3 | [
"MIT"
] | null | null | null | //
// BPSearchFriendsVC.swift
// BenefitPet
// 搜索好友
// Created by gouyz on 2018/11/5.
// Copyright © 2018 gyz. All rights reserved.
//
import UIKit
import MBProgressHUD
private let searchFriendsCell = "searchFriendsCell"
class BPSearchFriendsVC: GYZBaseVC {
var searchContent: String = ""
var searchType... | 32.800995 | 185 | 0.569543 |
4a5706f5a371dc3f7ab1758c38724cb590b0c328 | 1,192 | swift | Swift | Graph/GraphViewController.swift | JordanDoczy/Graph | 8d5f8d6307f45042e1252f33105eeb3da938b688 | [
"Apache-2.0"
] | null | null | null | Graph/GraphViewController.swift | JordanDoczy/Graph | 8d5f8d6307f45042e1252f33105eeb3da938b688 | [
"Apache-2.0"
] | null | null | null | Graph/GraphViewController.swift | JordanDoczy/Graph | 8d5f8d6307f45042e1252f33105eeb3da938b688 | [
"Apache-2.0"
] | null | null | null | //
// GraphViewController.swift
// GraphingCalculator
//
// Created by Jordan Doczy on 11/3/15.
// Copyright © 2015 Jordan Doczy. All rights reserved.
//
import UIKit
class GraphViewController: UIViewController, GraphViewDataSource {
weak var dataSource:GraphViewDataSource?
@IBOutlet weak var graphV... | 30.564103 | 143 | 0.682047 |
f5f3d17197520f3ae39372ef00461a77d2f47caa | 409 | rs | Rust | src/main.rs | fortunatodeangelis/rust-codice-fiscale | 1b687737831aaa64908573ddc6ff1cec59915800 | [
"MIT"
] | null | null | null | src/main.rs | fortunatodeangelis/rust-codice-fiscale | 1b687737831aaa64908573ddc6ff1cec59915800 | [
"MIT"
] | null | null | null | src/main.rs | fortunatodeangelis/rust-codice-fiscale | 1b687737831aaa64908573ddc6ff1cec59915800 | [
"MIT"
] | null | null | null | mod codicefiscale;
fn main() {
let name_check = "Mario";
let lastname_check = "Rossi";
let date_check = "1987-11-26";
let gender_check = "F";
let birthprovince = "NA";
let birthplace = "NAPOLI";
let result = codicefiscale::codicefiscale::calculate(
name_check, lastname_check,... | 22.722222 | 89 | 0.640587 |
e64628f00acec8e046ec1c96b5f2508b7e5af7fb | 280 | sql | SQL | src/test/resources/speed4p.test_13.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 131 | 2015-03-31T18:59:14.000Z | 2022-03-09T09:51:06.000Z | src/test/resources/speed4p.test_13.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 20 | 2015-03-31T21:35:38.000Z | 2018-07-02T16:15:51.000Z | src/test/resources/speed4p.test_13.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 43 | 2015-04-28T02:01:55.000Z | 2021-06-06T09:33:38.000Z | -- speed4p.test
--
-- execsql {
-- DROP TABLE t4;
-- DROP TABLE log;
-- VACUUM;
-- CREATE TABLE t4(rowid INTEGER PRIMARY KEY, i INTEGER, t TEXT);
-- BEGIN;
-- }
DROP TABLE t4;
DROP TABLE log;
VACUUM;
CREATE TABLE t4(rowid INTEGER PRIMARY KEY, i INTEGER, t TEXT);
BEGIN; | 20 | 67 | 0.65 |
aef2db2c62628e798edd512c7e200976582a23ab | 2,842 | kt | Kotlin | bmob/src/main/java/com/angcyo/bmob/api/BmobApi.kt | angcyo/UICoreEx | eafede08fd1bb8811af2b35502bd5d5a17b3fdd6 | [
"MIT"
] | 2 | 2021-06-07T06:20:44.000Z | 2021-07-23T07:51:29.000Z | bmob/src/main/java/com/angcyo/bmob/api/BmobApi.kt | angcyo/UICoreEx | eafede08fd1bb8811af2b35502bd5d5a17b3fdd6 | [
"MIT"
] | null | null | null | bmob/src/main/java/com/angcyo/bmob/api/BmobApi.kt | angcyo/UICoreEx | eafede08fd1bb8811af2b35502bd5d5a17b3fdd6 | [
"MIT"
] | 2 | 2020-06-18T10:14:29.000Z | 2021-09-05T16:50:10.000Z | package com.angcyo.bmob.api
import cn.bmob.v3.BmobSMS
import cn.bmob.v3.BmobUser
import cn.bmob.v3.datatype.BmobFile
import cn.bmob.v3.exception.BmobException
import cn.bmob.v3.listener.QueryListener
import cn.bmob.v3.listener.UpdateListener
import cn.bmob.v3.listener.UploadFileListener
import java.io.File
/**
* Bm... | 25.836364 | 87 | 0.660802 |
0a151c745f7df1e8abb93fed8815810788b1df3b | 183 | ts | TypeScript | test/helper.ts | mrellipse/vue-model-date | 15d35cea9e545ac66d6e0faaf24daea2406a8147 | [
"MIT"
] | 2 | 2018-07-03T03:22:28.000Z | 2018-07-31T16:53:03.000Z | test/helper.ts | mrellipse/vue-model-date | 15d35cea9e545ac66d6e0faaf24daea2406a8147 | [
"MIT"
] | 2 | 2018-03-14T05:41:25.000Z | 2018-08-17T01:18:32.000Z | test/helper.ts | mrellipse/vue-model-date | 15d35cea9e545ac66d6e0faaf24daea2406a8147 | [
"MIT"
] | null | null | null | export function dispatchEvent(el: HTMLElement, name: string) {
var event = document.createEvent('Event');
event.initEvent(name, true, true);
el.dispatchEvent(event);
} | 36.6 | 63 | 0.699454 |
4240e3713775481af480b085a4426345c63caf90 | 11,333 | swift | Swift | src/xcode/ENA/ENA/Source/Scenes/HealthCertificates/HealthCertifiedPerson/__tests__/HealthCertifiedPersonViewModelTests.swift | beyonddream/cwa-app-ios | a8092add2834ead18fdb0b4d0403eb7b9c1317b6 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | src/xcode/ENA/ENA/Source/Scenes/HealthCertificates/HealthCertifiedPerson/__tests__/HealthCertifiedPersonViewModelTests.swift | beyonddream/cwa-app-ios | a8092add2834ead18fdb0b4d0403eb7b9c1317b6 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | src/xcode/ENA/ENA/Source/Scenes/HealthCertificates/HealthCertifiedPerson/__tests__/HealthCertifiedPersonViewModelTests.swift | beyonddream/cwa-app-ios | a8092add2834ead18fdb0b4d0403eb7b9c1317b6 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | ////
// 🦠 Corona-Warn-App
//
import XCTest
import HealthCertificateToolkit
@testable import ENA
class HealthCertifiedPersonViewModelTests: XCTestCase {
func testGIVEN_HealthCertifiedPersonViewModel_WHEN_Init_THEN_isAsExpected() {
// GIVEN
let service = HealthCertificateService(
store: MockTestStore(),
si... | 41.819188 | 200 | 0.801465 |
6b72a904251d842166b0237cfcb89f37f9aeebc7 | 3,184 | rs | Rust | src/docker/stats/cpu.rs | thomaszub/docker2mqtt | ad2509ed7000436a2424d7d388ce6efdf0b4698e | [
"MIT"
] | 5 | 2021-03-02T05:14:37.000Z | 2022-01-09T15:50:57.000Z | src/docker/stats/cpu.rs | thomaszub/docker2mqtt | ad2509ed7000436a2424d7d388ce6efdf0b4698e | [
"MIT"
] | 40 | 2021-03-05T10:35:41.000Z | 2022-03-30T16:14:22.000Z | src/docker/stats/cpu.rs | thomaszub/docker2mqtt | ad2509ed7000436a2424d7d388ce6efdf0b4698e | [
"MIT"
] | 2 | 2021-05-02T07:13:11.000Z | 2021-06-16T08:54:28.000Z | use bollard::container::CPUStats;
pub fn usage(precpu_stats: &CPUStats, cpu_stats: &CPUStats) -> f64 {
if let Some(system_cpu_delta) = calculate_system_cpu_delta(precpu_stats, cpu_stats) {
calculate_relative_cpu_usage(precpu_stats, cpu_stats, system_cpu_delta)
} else {
0.0
}
}
fn calculate... | 32.161616 | 97 | 0.617776 |
0bcd7e46c25b51bccb7785349c024024c16bf1be | 2,419 | js | JavaScript | flow-front-rest/src/main/resources/static/assets/index.5f0847a9.js | xietongjian/flow | a3cd377e072a759b81aceb1800370be889dbe1e4 | [
"Apache-2.0"
] | 2 | 2021-06-03T02:15:01.000Z | 2021-06-03T02:15:24.000Z | flow-front-rest/src/main/resources/static/assets/index.5f0847a9.js | flytangyu/flow | 18c3b9c8c5d0f6521db3fe37b323be557c3893ba | [
"Apache-2.0"
] | null | null | null | flow-front-rest/src/main/resources/static/assets/index.5f0847a9.js | flytangyu/flow | 18c3b9c8c5d0f6521db3fe37b323be557c3893ba | [
"Apache-2.0"
] | null | null | null | import{_ as e}from"./TableImg.6e3cdbac.js";import"./useForm.f653b7da.js";import{u as s}from"./useTable.fa194a4c.js";import{_ as o}from"./PageWrapper.44137319.js";import{k as a,aT as t,bm as r,af as n,bi as i,b_ as d,bd as m,K as p,o as c,n as f,P as u,q as j,X as b,s as l}from"./vendor.d660e98f.js";/* empty css ... | 1,209.5 | 2,418 | 0.642001 |
8a422246514bcc833c3734cc08b24c705a77fcbe | 13,651 | rs | Rust | src/libstd/rand/os.rs | JIghtuse/rust | 6e4b5a430a0db144bf6ea0f4d1db0464ee895d1d | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2019-05-27T02:19:50.000Z | 2019-05-29T01:23:51.000Z | src/libstd/rand/os.rs | oconnor663/rust | 13675a57c75b2e08827c1674b050bc241f1bf4aa | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/libstd/rand/os.rs | oconnor663/rust | 13675a57c75b2e08827c1674b050bc241f1bf4aa | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | // Copyright 2013-2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | 31.025 | 82 | 0.498132 |
8185c2ccd68ea0f22ae57584194c9b7378041b28 | 116 | go | Go | services/logger/log_solaris.go | piotr-g/redishappy | f455d20123f480bc5bf2c13e246d5531826fdf3f | [
"Apache-2.0"
] | 119 | 2015-01-01T14:39:49.000Z | 2022-03-08T03:45:55.000Z | services/logger/log_solaris.go | piotr-g/redishappy | f455d20123f480bc5bf2c13e246d5531826fdf3f | [
"Apache-2.0"
] | 28 | 2015-01-08T22:19:10.000Z | 2019-10-21T14:16:34.000Z | services/logger/log_solaris.go | piotr-g/redishappy | f455d20123f480bc5bf2c13e246d5531826fdf3f | [
"Apache-2.0"
] | 29 | 2015-01-19T09:24:03.000Z | 2019-08-21T09:28:35.000Z | package logger
// InitLogging is a NOOP for solaris and will default to StdOut
func InitLogging(logPath string) {}
| 23.2 | 63 | 0.784483 |
75341a358f834f3c3ff12189541d6b99184176e1 | 44 | c | C | c_translator/formative/f4.c | mahudu97/ANSI-C_Compiler | 0e3f9960bf6c4e1e03f5d4d41b5f162be4d55131 | [
"Unlicense"
] | 6 | 2019-05-21T09:42:10.000Z | 2021-03-22T04:34:20.000Z | c_translator/formative/f4.c | mahudu97/ANSI-C_Compiler | 0e3f9960bf6c4e1e03f5d4d41b5f162be4d55131 | [
"Unlicense"
] | null | null | null | c_translator/formative/f4.c | mahudu97/ANSI-C_Compiler | 0e3f9960bf6c4e1e03f5d4d41b5f162be4d55131 | [
"Unlicense"
] | 1 | 2019-06-25T22:35:24.000Z | 2019-06-25T22:35:24.000Z | int main()
{
return 1*2+3*4+5*6+7*8;
}
| 7.333333 | 27 | 0.477273 |
5b3c30403cabaa6a4030ae89d91ae09a767a8b84 | 21,774 | c | C | rpc/cli/dsVideoPort.c | rdkcmf/rdk-devicesettings | 84be2264e6f390ee55d513b245326647560b391b | [
"Apache-2.0"
] | null | null | null | rpc/cli/dsVideoPort.c | rdkcmf/rdk-devicesettings | 84be2264e6f390ee55d513b245326647560b391b | [
"Apache-2.0"
] | null | null | null | rpc/cli/dsVideoPort.c | rdkcmf/rdk-devicesettings | 84be2264e6f390ee55d513b245326647560b391b | [
"Apache-2.0"
] | 2 | 2018-08-16T19:10:45.000Z | 2019-12-23T11:46:21.000Z | /* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2016 RDK Management
*
* 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 c... | 24.166482 | 242 | 0.669422 |
4a4c7a0b9d3f707e34846ceac6459f23273722d9 | 693 | js | JavaScript | Tools/buildTasks/createSpecList.js | craigsketchley/cesium | 9d308675708d2987cda9c3fb1f5552bd4329ad05 | [
"Apache-2.0"
] | 6 | 2015-11-27T18:33:02.000Z | 2021-03-21T13:40:59.000Z | Tools/buildTasks/createSpecList.js | craigsketchley/cesium | 9d308675708d2987cda9c3fb1f5552bd4329ad05 | [
"Apache-2.0"
] | null | null | null | Tools/buildTasks/createSpecList.js | craigsketchley/cesium | 9d308675708d2987cda9c3fb1f5552bd4329ad05 | [
"Apache-2.0"
] | 3 | 2015-05-05T10:31:53.000Z | 2017-06-07T17:01:14.000Z | /*global importClass,project,attributes,elements,java,Packages*/
importClass(Packages.org.mozilla.javascript.tools.shell.Main); /*global Main*/
Main.exec(['-e', '{}']);
var load = Main.global.load;
load(project.getProperty('tasksDirectory') + '/shared.js'); /*global forEachFile,readFileContents,writeFileContents,File,... | 34.65 | 154 | 0.692641 |
bb46d571e84625c8e285d169d0f0634911fcf81a | 3,301 | html | HTML | deep-learning/evolutionSimulator-master/Docs/NeuroEvolution_nn.js.html | DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials | 7adab3877fc1d3f1d5f57e6c1743dae8f76f72c5 | [
"Apache-2.0"
] | 3,266 | 2017-08-06T16:51:46.000Z | 2022-03-30T07:34:24.000Z | deep-learning/evolutionSimulator-master/Docs/NeuroEvolution_nn.js.html | hashDanChibueze/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials | bef2c415d154a052c00e99a05f0870af7a5819ac | [
"Apache-2.0"
] | 150 | 2017-08-28T14:59:36.000Z | 2022-03-11T23:21:35.000Z | deep-learning/evolutionSimulator-master/Docs/NeuroEvolution_nn.js.html | hashDanChibueze/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials | bef2c415d154a052c00e99a05f0870af7a5819ac | [
"Apache-2.0"
] | 1,449 | 2017-08-06T17:40:59.000Z | 2022-03-31T12:03:24.000Z | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Source: NeuroEvolution/nn.js</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/htm... | 30.284404 | 353 | 0.631627 |
8446b62bd8e9903881817f94bcaf22160944224f | 8,754 | html | HTML | resources/[nav]/[lojas]/nav_loja-digitalden/nui/darkside.html | brazucas/fivem-data | acd314d45ce2e37ed5d17c9d9d51e2cd929376ff | [
"MIT"
] | null | null | null | resources/[nav]/[lojas]/nav_loja-digitalden/nui/darkside.html | brazucas/fivem-data | acd314d45ce2e37ed5d17c9d9d51e2cd929376ff | [
"MIT"
] | 12 | 2021-03-08T19:38:02.000Z | 2021-08-20T21:10:32.000Z | resources/[nav]/[lojas]/nav_loja-digitalden/nui/darkside.html | brazucas/fivem-data | acd314d45ce2e37ed5d17c9d9d51e2cd929376ff | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>DigitalDen</title>
<link rel="stylesheet" type="text/css" href="theforce.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,500,700,900&display=swap" rel="stylesheet">
<script src="https://... | 59.958904 | 164 | 0.322138 |
4f4af03360c8e8ec7df427d85587f6462c78ada8 | 286 | swift | Swift | App/AppType.swift | horothesun/HoleFilling | d56b21ae9c305a19bbeb70289a3baeab2c51acd7 | [
"MIT"
] | null | null | null | App/AppType.swift | horothesun/HoleFilling | d56b21ae9c305a19bbeb70289a3baeab2c51acd7 | [
"MIT"
] | null | null | null | App/AppType.swift | horothesun/HoleFilling | d56b21ae9c305a19bbeb70289a3baeab2c51acd7 | [
"MIT"
] | null | null | null | //import HoleFillingLib
//import InputValidator
public protocol AppType {
func main(arguments commandLineArguments: [String])
}
public func buildAppType() -> AppType {
return App(
holeFiller: buildHoleFillerType(),
validator: buildInputValidatorType()
)
}
| 20.428571 | 55 | 0.70979 |
56dc0e2e9c4ca5b6b060eba78a8c2bfdb508c62b | 458 | ts | TypeScript | build.ts | 8clever/sandbox | 9bd727fd399af383a7d51af0fe9236331db40c20 | [
"MIT"
] | null | null | null | build.ts | 8clever/sandbox | 9bd727fd399af383a7d51af0fe9236331db40c20 | [
"MIT"
] | 1 | 2021-03-09T20:53:33.000Z | 2021-03-09T20:53:33.000Z | build.ts | 8clever/sandbox | 9bd727fd399af383a7d51af0fe9236331db40c20 | [
"MIT"
] | null | null | null | import s from 'shelljs';
import webpack from "webpack";
import { config } from "./config/webpack.config";
const tsconfig = require('./tsconfig.json');
const outDir = tsconfig.compilerOptions.outDir;
s.rm('-rf', outDir);
s.mkdir(outDir);
s.mkdir('-p', `${outDir}/common/swagger`);
s.cp('server/common/api.yml', `${outDi... | 24.105263 | 58 | 0.670306 |
fb018d6fea47d3ea4faab08789f3be97b250197d | 6,800 | php | PHP | uploads/catalog/controller/module/newsman_import.php | Newsman/OpenCart-Newsman | 24cc8de0bcc4c8acd6a2cff997d54bce164ee932 | [
"Apache-2.0"
] | 1 | 2015-11-09T10:35:02.000Z | 2015-11-09T10:35:02.000Z | uploads/catalog/controller/module/newsman_import.php | Newsman/OpenCart-Newsman | 24cc8de0bcc4c8acd6a2cff997d54bce164ee932 | [
"Apache-2.0"
] | null | null | null | uploads/catalog/controller/module/newsman_import.php | Newsman/OpenCart-Newsman | 24cc8de0bcc4c8acd6a2cff997d54bce164ee932 | [
"Apache-2.0"
] | 2 | 2021-01-17T11:05:43.000Z | 2022-03-30T09:13:13.000Z | <?php
/**
* Newsman Newsletter Sync
*
* @author Teamweb <razvan@teamweb.ro>
*/
class ControllerModuleNewsmanImport extends Controller {
/**
* Run import
*/
public function index() {
$this->load->model('module/newsman_import');
$this->load->model('setting/setting');
$settings = (array... | 35.233161 | 170 | 0.388676 |
f412f6d4fd36504500eb399a84085d5d2a51fbeb | 1,407 | go | Go | cmd/run.go | mihaibuzgau/kreamlet | bc76b01afb4048d8f778cfe2891540a49a4caa45 | [
"Apache-2.0"
] | 9 | 2018-10-10T04:52:28.000Z | 2020-02-14T19:50:40.000Z | cmd/run.go | mihaibuzgau/kreamlet | bc76b01afb4048d8f778cfe2891540a49a4caa45 | [
"Apache-2.0"
] | 1 | 2021-03-16T11:16:32.000Z | 2021-03-16T11:16:32.000Z | cmd/run.go | mihaibuzgau/kreamlet | bc76b01afb4048d8f778cfe2891540a49a4caa45 | [
"Apache-2.0"
] | 2 | 2018-10-18T15:59:50.000Z | 2021-03-16T11:14:01.000Z | package cmd
import (
"fmt"
"github.com/puppetlabs/kreamlet/client"
"github.com/spf13/cobra"
)
var RunCmd = &cobra.Command{
Use: "run",
Short: "Creates a kubernetes controller.",
Long: `Creates a kubernetes controller.`,
Run: func(ccmd *cobra.Command, args []string) {
StartController()
},
PostRun: func(c... | 23.45 | 107 | 0.688699 |
1bf89f8d2c51b4adcacebd9c2c39a0499ff05c0d | 9,951 | py | Python | tests/unit/states/service_test.py | one3chens/salt | 191f4fba0b8d9c42c04b7f71161fc5de47f2ba2e | [
"Apache-2.0",
"MIT"
] | 1 | 2020-02-22T07:11:24.000Z | 2020-02-22T07:11:24.000Z | tests/unit/states/service_test.py | one3chens/salt | 191f4fba0b8d9c42c04b7f71161fc5de47f2ba2e | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/unit/states/service_test.py | one3chens/salt | 191f4fba0b8d9c42c04b7f71161fc5de47f2ba2e | [
"Apache-2.0",
"MIT"
] | 1 | 2020-02-22T07:11:26.000Z | 2020-02-22T07:11:26.000Z | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Rahul Handay <rahulha@saltstack.com>`
'''
# Import Python Libs
from __future__ import absolute_import
# Import Salt Testing Libs
from salttesting import TestCase, skipIf
from salttesting.helpers import ensure_in_syspath
from salttesting.mock import (
MagicMock,... | 45.231818 | 115 | 0.517335 |
6eff986c925b8d3c64d0946f8c4e668b89ed8622 | 5,904 | swift | Swift | TooDoo/Library/Helpers/Managers/AppearanceManager.swift | mangahero/TooDoo | 137724e6495249f130cdb44210ddccc36314b352 | [
"Apache-2.0"
] | 1 | 2019-11-25T06:48:08.000Z | 2019-11-25T06:48:08.000Z | TooDoo/Library/Helpers/Managers/AppearanceManager.swift | mangahero/TooDoo | 137724e6495249f130cdb44210ddccc36314b352 | [
"Apache-2.0"
] | null | null | null | TooDoo/Library/Helpers/Managers/AppearanceManager.swift | mangahero/TooDoo | 137724e6495249f130cdb44210ddccc36314b352 | [
"Apache-2.0"
] | 2 | 2018-12-12T13:49:42.000Z | 2019-04-04T04:21:35.000Z | //
// AppearanceManager.swift
// TooDoo
//
// Created by Cali Castle on 10/16/17.
// Copyright © 2017 Cali Castle . All rights reserved.
//
import UIKit
import SideMenu
/// Manager for Appearance Configuration
final class AppearanceManager {
// Main font name
fileprivate static let fontName = ... | 29.083744 | 155 | 0.594004 |
f731c791c33965c56de2f5e194268b2c05218298 | 210 | h | C | FoldingTable/View/TableViewCell.h | michaelyht/FoldingTable | ee98beba212b209d1c445f010f0f1470538ec11e | [
"MIT"
] | null | null | null | FoldingTable/View/TableViewCell.h | michaelyht/FoldingTable | ee98beba212b209d1c445f010f0f1470538ec11e | [
"MIT"
] | null | null | null | FoldingTable/View/TableViewCell.h | michaelyht/FoldingTable | ee98beba212b209d1c445f010f0f1470538ec11e | [
"MIT"
] | null | null | null | //
// TableViewCell.h
// FoldingTable
//
// Created by Michael on 2017/9/12.
// Copyright © 2017年 Michael. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TableViewCell : UITableViewCell
@end
| 15 | 51 | 0.695238 |
40a69a02469e18ab25bbebd13e371833dbec986a | 387 | py | Python | utils/drest.mockapi/mockapi/urls.py | derks/drest | 7e35375ffd884c3c124dc800f94c2f271d788e0f | [
"BSD-3-Clause"
] | 9 | 2015-03-10T00:41:54.000Z | 2020-05-07T06:03:22.000Z | utils/drest.mockapi/mockapi/urls.py | derks/drest | 7e35375ffd884c3c124dc800f94c2f271d788e0f | [
"BSD-3-Clause"
] | null | null | null | utils/drest.mockapi/mockapi/urls.py | derks/drest | 7e35375ffd884c3c124dc800f94c2f271d788e0f | [
"BSD-3-Clause"
] | null | null | null |
from django.http import HttpResponse
from django.conf.urls.defaults import patterns, include, url
from mockapi.api import v0_api
def render_null(request):
return HttpResponse('')
urlpatterns = patterns('',
url(r'^api/', include(v0_api.urls)),
url(r'^favicon.ico/$', render_null),
url(r'^fake_long_... | 25.8 | 60 | 0.705426 |
e865f34aab1035e9a9e53acaa80395a1bd84d0d6 | 4,591 | swift | Swift | Keychain/KeychainUtils/KeychainHelper.swift | seniorglez/SwiftKeychain | b8b1816dfafc1507e290d487bab3af562449daf9 | [
"MIT"
] | null | null | null | Keychain/KeychainUtils/KeychainHelper.swift | seniorglez/SwiftKeychain | b8b1816dfafc1507e290d487bab3af562449daf9 | [
"MIT"
] | null | null | null | Keychain/KeychainUtils/KeychainHelper.swift | seniorglez/SwiftKeychain | b8b1816dfafc1507e290d487bab3af562449daf9 | [
"MIT"
] | null | null | null | //
// KeychainHelper.swift
// Keychain
//
// Created by Diego Domínguez González on 22/04/2020.
// Copyright © 2020 Diego Domínguez González. All rights reserved.
//
// apple´s article about this: https://developer.apple.com/documentation/security/keychain_services/keychain_items/adding_a_password_to_the_keychain
/... | 49.902174 | 160 | 0.660423 |
d2a7a15d3767b55e2218d8d4b75b0ce69c1caecb | 1,949 | php | PHP | core/DbExtend/DBSQL/DBSQLSelect.php | bogdanim36/php-rest-api | 1c59606212ef789e1918a794ddc689e033dafd21 | [
"MIT"
] | null | null | null | core/DbExtend/DBSQL/DBSQLSelect.php | bogdanim36/php-rest-api | 1c59606212ef789e1918a794ddc689e033dafd21 | [
"MIT"
] | null | null | null | core/DbExtend/DBSQL/DBSQLSelect.php | bogdanim36/php-rest-api | 1c59606212ef789e1918a794ddc689e033dafd21 | [
"MIT"
] | 1 | 2018-12-13T12:51:38.000Z | 2018-12-13T12:51:38.000Z | <?php
require_once get_path("core/DbExtend/DBSQL", "DBSQL.php");
require_once get_path("core/DbExtend/DBSQL", "DBSQLWhere.php");
require_once get_path("core/DbExtend/DBSQL", "DBSQLColumns.php");
require_once get_path("core/DbExtend/DBSQL", "DBSQLJoin.php");
require_once get_path("core/DbExtend/DBSQL", "DBSQLOrder.php")... | 22.402299 | 90 | 0.644433 |
d46e9a1e7848fee0012ffb90c83c2b22eb09a1e6 | 49,158 | rs | Rust | json/src/value.rs | Kixunil/serde-rs-json | ec4654e01b1076f1ecf4d72cc2b6d270fad9b574 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | json/src/value.rs | Kixunil/serde-rs-json | ec4654e01b1076f1ecf4d72cc2b6d270fad9b574 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | json/src/value.rs | Kixunil/serde-rs-json | ec4654e01b1076f1ecf4d72cc2b6d270fad9b574 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | //! JSON Value
//!
//! This module is centered around the `Value` type, which can represent all possible JSON values.
//!
//! # Example of use:
//!
//! ```rust
//! extern crate serde_json;
//!
//! use serde_json::Value;
//!
//! fn main() {
//! let s = "{\"x\": 1.0, \"y\": 2.0}";
//! let value: Value = serde_jso... | 29.774682 | 154 | 0.526445 |
5c640cf6d6333ffd217e0ca01b052db97808d561 | 994 | h | C | Code/Engine/Application.h | WarzesProject/IsekaiWorld | 2abbf0fba0cf7aef884dd93ebada402f14b98359 | [
"MIT"
] | 1 | 2019-10-07T08:59:01.000Z | 2019-10-07T08:59:01.000Z | Code/Engine/Application.h | WarzesProject/IsekaiWorld | 2abbf0fba0cf7aef884dd93ebada402f14b98359 | [
"MIT"
] | null | null | null | Code/Engine/Application.h | WarzesProject/IsekaiWorld | 2abbf0fba0cf7aef884dd93ebada402f14b98359 | [
"MIT"
] | null | null | null | #pragma once
#include "Configuration.h"
class Application
{
public:
template<typename AppImplTemplate>
static int Run(const Configuration &config)
{
Application engineApp;
if (!IsErrorCriticalExit() && engineApp.init(config))
{
AppImplTemplate userApp;
if (!IsErrorCriticalExit() && userApp.Init())
... | 18.407407 | 55 | 0.634809 |
e21c7e9ddf279d1834174ec6258db0c0876d7398 | 4,172 | kt | Kotlin | app/src/main/java/xzy/loshine/nga/ui/topic/TopicViewModel.kt | loshine/NationalGayAlliance | c116d8b6d1ebbe88a99f973b695c1be483f00dc9 | [
"MIT"
] | 1 | 2022-03-11T12:41:27.000Z | 2022-03-11T12:41:27.000Z | app/src/main/java/xzy/loshine/nga/ui/topic/TopicViewModel.kt | loshine/NationalGayAlliance | c116d8b6d1ebbe88a99f973b695c1be483f00dc9 | [
"MIT"
] | null | null | null | app/src/main/java/xzy/loshine/nga/ui/topic/TopicViewModel.kt | loshine/NationalGayAlliance | c116d8b6d1ebbe88a99f973b695c1be483f00dc9 | [
"MIT"
] | null | null | null | package xzy.loshine.nga.ui.topic
import io.reactivex.BackpressureStrategy
import io.reactivex.Flowable
import io.reactivex.subjects.BehaviorSubject
import xyz.loshine.nga.data.entity.TopicDetailsData
import xyz.loshine.nga.data.entity.TopicUser
import xyz.loshine.nga.data.repository.topic.TopicRepository
import xzy.lo... | 38.990654 | 126 | 0.627277 |
7ba8de9d3def76ed2384bab45b258042baa9090a | 60 | rb | Ruby | lib/rpi_marca/exceptions.rb | vilage/rpi_marca | 65076bb3fa6d884f801dab1a082dfbf39bad4671 | [
"MIT"
] | null | null | null | lib/rpi_marca/exceptions.rb | vilage/rpi_marca | 65076bb3fa6d884f801dab1a082dfbf39bad4671 | [
"MIT"
] | null | null | null | lib/rpi_marca/exceptions.rb | vilage/rpi_marca | 65076bb3fa6d884f801dab1a082dfbf39bad4671 | [
"MIT"
] | null | null | null | module RpiMarca
class ParseError < StandardError; end
end
| 15 | 39 | 0.8 |
860915bf48d0c4fc305e109b191e3657a1d8df27 | 117 | go | Go | examples/t6.go | hitzhangjie/godbg | 3452152d547c38ee9b3c7565916142b4b8264da4 | [
"Apache-2.0"
] | 2 | 2021-01-04T17:34:55.000Z | 2022-03-08T12:13:55.000Z | examples/t6.go | hitzhangjie/godbg | 3452152d547c38ee9b3c7565916142b4b8264da4 | [
"Apache-2.0"
] | 30 | 2021-01-04T18:45:38.000Z | 2022-01-27T09:25:21.000Z | examples/t6.go | hitzhangjie/godbg | 3452152d547c38ee9b3c7565916142b4b8264da4 | [
"Apache-2.0"
] | null | null | null | package main
import "fmt"
func main() {
godbgvstr := "hello world"
fmt.Printf("%s\n", godbgvstr)
}
| 13 | 37 | 0.57265 |
b62107c401dfe5cb3815e01abeea0f94946168f0 | 824 | rb | Ruby | lib/computering/dsl/text.rb | phoet/computering | acd03dfb6b31eeb6ab4bef82d3dd11192411efbd | [
"Unlicense"
] | 10 | 2015-01-02T15:09:17.000Z | 2021-02-24T21:24:49.000Z | lib/computering/dsl/text.rb | phoet/computering | acd03dfb6b31eeb6ab4bef82d3dd11192411efbd | [
"Unlicense"
] | 3 | 2015-06-14T17:52:21.000Z | 2016-08-26T19:42:31.000Z | lib/computering/dsl/text.rb | phoet/computering | acd03dfb6b31eeb6ab4bef82d3dd11192411efbd | [
"Unlicense"
] | 1 | 2016-08-26T15:47:04.000Z | 2016-08-26T15:47:04.000Z | module Computering::Dsl
class Text
def self.from_text(*text)
text.flatten.map do |t|
t.strip.split("\n").map { |line| self.new(line) }
end.flatten
end
attr_reader :text
def initialize(text, buffer = nil)
@text = text
@buffer = buffer
end
def [](index)
... | 17.531915 | 59 | 0.576456 |
82f5942489dddf2d25eb407bee837fa382d06dbc | 293 | kt | Kotlin | src/main/kotlin/javabot/model/criteria/LogsDescriptor.kt | topriddy/javabot | cd21e5a9408190a065fbf6d284744188f2b00089 | [
"BSD-3-Clause"
] | null | null | null | src/main/kotlin/javabot/model/criteria/LogsDescriptor.kt | topriddy/javabot | cd21e5a9408190a065fbf6d284744188f2b00089 | [
"BSD-3-Clause"
] | null | null | null | src/main/kotlin/javabot/model/criteria/LogsDescriptor.kt | topriddy/javabot | cd21e5a9408190a065fbf6d284744188f2b00089 | [
"BSD-3-Clause"
] | null | null | null | package javabot.model.criteria
object LogsDescriptor {
val channel: String = "channel"
val id: String = "id"
val message: String = "message"
val nick: String = "nick"
val type: String = "type"
val updated: String = "updated"
val upperNick: String = "upperNick"
}
| 22.538462 | 39 | 0.648464 |
2f18feab6e0d672ed09a42fe73651155fa3bb6bc | 4,243 | kt | Kotlin | src/main/kotlin/br/com/dillmann/restdb/domain/data/get/page/GetPageService.kt | lucasdillmann/restdb | 24b0af68a53e75abcd2f7f7232a4294107db76ff | [
"MIT"
] | 2 | 2020-04-06T11:26:17.000Z | 2020-04-07T10:39:03.000Z | src/main/kotlin/br/com/dillmann/restdb/domain/data/get/page/GetPageService.kt | lucasdillmann/restdb | 24b0af68a53e75abcd2f7f7232a4294107db76ff | [
"MIT"
] | null | null | null | src/main/kotlin/br/com/dillmann/restdb/domain/data/get/page/GetPageService.kt | lucasdillmann/restdb | 24b0af68a53e75abcd2f7f7232a4294107db76ff | [
"MIT"
] | null | null | null | package br.com.dillmann.restdb.domain.data.get.page
import br.com.dillmann.restdb.core.filterDsl.jdbc.JdbcPredicate
import br.com.dillmann.restdb.core.jdbc.ConnectionPool
import br.com.dillmann.restdb.domain.data.get.page.jdbc.SqlBuilder
import br.com.dillmann.restdb.domain.data.get.page.jdbc.escapeSql
import br.com.d... | 34.217742 | 116 | 0.67358 |
b89b78322ab0f8cdc7ab24655d860002968cde39 | 995 | html | HTML | pa1-skeleton/pa1-data/8/www.slac.stanford.edu_grp_ssrl_spear_epics_site_areaDetector_CSS-BOY_screens.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/8/www.slac.stanford.edu_grp_ssrl_spear_epics_site_areaDetector_CSS-BOY_screens.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/8/www.slac.stanford.edu_grp_ssrl_spear_epics_site_areaDetector_CSS-BOY_screens.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | areadetector epics software for area detectors screens for use in css boy april 1 2010 john hammonds argonne national laboratory uchicago argonne llc introduction best opi yet boy is an operator display builder created at oak ridge national laboratory as part of the control system studio css a number of the medm displa... | 497.5 | 994 | 0.836181 |
cb73f4af86496432f057490e2d38ac97227ca11f | 31 | html | HTML | notes/src/app/demo20-admin/demo20-admin.component.html | dwshsxsy/Angluar-study | 12f8574fffd7381f67177e65aba22ddf389f0a63 | [
"MIT"
] | null | null | null | notes/src/app/demo20-admin/demo20-admin.component.html | dwshsxsy/Angluar-study | 12f8574fffd7381f67177e65aba22ddf389f0a63 | [
"MIT"
] | null | null | null | notes/src/app/demo20-admin/demo20-admin.component.html | dwshsxsy/Angluar-study | 12f8574fffd7381f67177e65aba22ddf389f0a63 | [
"MIT"
] | null | null | null | <p>
demo20-admin works!
</p>
| 7.75 | 21 | 0.580645 |
a37d0757f940630fd032510ad5711d5c2027e6f4 | 3,665 | swift | Swift | Sources/swift-parsing-benchmark/HTTP.swift | FilinCode/swift-parsing | 54fb34bd55166f3a74ce2d22ba9b67e71559c852 | [
"MIT"
] | null | null | null | Sources/swift-parsing-benchmark/HTTP.swift | FilinCode/swift-parsing | 54fb34bd55166f3a74ce2d22ba9b67e71559c852 | [
"MIT"
] | null | null | null | Sources/swift-parsing-benchmark/HTTP.swift | FilinCode/swift-parsing | 54fb34bd55166f3a74ce2d22ba9b67e71559c852 | [
"MIT"
] | null | null | null | import Benchmark
import Parsing
/// This benchmark reproduces an HTTP parser from [a Rust parser benchmark suite][rust-parser].
///
/// [rust-parser]: https://github.com/rust-bakery/parser_benchmarks/tree/master/http
///
/// In particular, it benchmarks the same HTTP header as that defined in `one_test`.
let httpSuite... | 23.954248 | 99 | 0.567531 |
d11eba3d61c37e611ee0c1db01eeb110a07e184b | 3,781 | sql | SQL | deploy/update-ids.sql | QuadTog/magda | 0b4a6e0869bb9c82279e2142df11167e34616590 | [
"Apache-2.0"
] | 4 | 2018-02-17T04:30:18.000Z | 2018-12-07T01:19:45.000Z | deploy/update-ids.sql | QuadTog/magda | 0b4a6e0869bb9c82279e2142df11167e34616590 | [
"Apache-2.0"
] | null | null | null | deploy/update-ids.sql | QuadTog/magda | 0b4a6e0869bb9c82279e2142df11167e34616590 | [
"Apache-2.0"
] | 4 | 2018-06-04T06:38:59.000Z | 2018-06-12T06:28:47.000Z | -- This is a manual script used once on data.gov.au to add an "id" member to the source of existing records.
UPDATE recordaspects
SET data = jsonb_set(data, '{id}', '"act"')
WHERE aspectid = 'source'
AND data->>'name' = 'ACT Government data.act.gov.au';
UPDATE recordaspects
SET data = jsonb_set(data, '{id}', '"bom... | 29.310078 | 108 | 0.676541 |
b8d1995ac219febc79f43308934b5ae4dc03b5a7 | 406,468 | sql | SQL | mysql-anamel.sql | 1mohamedelaraby/anamelcctv | d80ff3a31fc1611f5c2740ff4f6ae80199bde747 | [
"MIT"
] | null | null | null | mysql-anamel.sql | 1mohamedelaraby/anamelcctv | d80ff3a31fc1611f5c2740ff4f6ae80199bde747 | [
"MIT"
] | null | null | null | mysql-anamel.sql | 1mohamedelaraby/anamelcctv | d80ff3a31fc1611f5c2740ff4f6ae80199bde747 | [
"MIT"
] | null | null | null |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014... | 481.597156 | 105,635 | 0.76268 |
40a1d8404dd3681b93d884211fd3138b0e1a2076 | 27,529 | py | Python | modules/templates/NYC/controllers.py | PeterDaveHello/eden | 26174a9dde2f19cd3bc879694f373ad5f765b6ed | [
"MIT"
] | 1 | 2015-01-24T04:31:51.000Z | 2015-01-24T04:31:51.000Z | modules/templates/NYC/controllers.py | PeterDaveHello/eden | 26174a9dde2f19cd3bc879694f373ad5f765b6ed | [
"MIT"
] | null | null | null | modules/templates/NYC/controllers.py | PeterDaveHello/eden | 26174a9dde2f19cd3bc879694f373ad5f765b6ed | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from gluon import *
from s3 import S3CustomController, S3DataTable, S3Method, s3_request
THEME = "NYC"
# =============================================================================
class index(S3CustomController):
""" Custom Home Page """
def __call__(self):
output = {}
... | 38.076072 | 110 | 0.416034 |
34603d02f19e22fcc9c88675c802b56dc2f28f2a | 1,451 | swift | Swift | purenote/Models/Note.swift | sashamitrovich/BookTitles | 34a0e9b5dc74ff9f0276f130ee8c09e2b41f2d41 | [
"Apache-2.0"
] | 1 | 2020-12-10T08:45:13.000Z | 2020-12-10T08:45:13.000Z | purenote/Models/Note.swift | sashamitrovich/BookTitles | 34a0e9b5dc74ff9f0276f130ee8c09e2b41f2d41 | [
"Apache-2.0"
] | 18 | 2020-10-25T10:48:49.000Z | 2020-10-30T12:43:20.000Z | purenote/Models/Note.swift | sashamitrovich/BookTitles | 34a0e9b5dc74ff9f0276f130ee8c09e2b41f2d41 | [
"Apache-2.0"
] | null | null | null | //
// Note.swift
// ShareData
//
// Created by Saša Mitrović on 08.10.20.
//
import Foundation
class Note: NSObject, Identifiable {
var type: ItemType = .Note
static func == (lhs: Note, rhs: Note) -> Bool {
return lhs.content == rhs.content
}
var id: String
var cont... | 23.403226 | 228 | 0.556857 |
0163348bed17280db73f77a63112ed94e7484e27 | 733 | kt | Kotlin | app/src/main/kotlin/io/github/beomjo/search/ui/adapter/diff/SearchDocumentDiffUtil.kt | beomjo/kakao-search | 8f4ad1d4b769fee069d5d4ed7f8bf3d00ee032f9 | [
"Apache-2.0"
] | 1 | 2021-12-29T06:28:31.000Z | 2021-12-29T06:28:31.000Z | app/src/main/kotlin/io/github/beomjo/search/ui/adapter/diff/SearchDocumentDiffUtil.kt | beomjo/kakao-search | 8f4ad1d4b769fee069d5d4ed7f8bf3d00ee032f9 | [
"Apache-2.0"
] | 25 | 2021-08-03T08:29:00.000Z | 2021-09-19T17:27:49.000Z | app/src/main/kotlin/io/github/beomjo/search/ui/adapter/diff/SearchDocumentDiffUtil.kt | beomjo/kakao-search | 8f4ad1d4b769fee069d5d4ed7f8bf3d00ee032f9 | [
"Apache-2.0"
] | null | null | null | package io.github.beomjo.search.ui.adapter.diff
import androidx.recyclerview.widget.DiffUtil
import io.github.beomjo.search.entity.SearchDocument
class SearchDocumentDiffUtil : DiffUtil.ItemCallback<SearchDocument>() {
override fun areItemsTheSame(
oldItem: SearchDocument,
newItem: SearchDocument
... | 31.869565 | 95 | 0.712142 |
2b5fcfbe128f84c61606434daa45a4afd52e40a5 | 220 | kt | Kotlin | TestSpringBoot/src/main/java/com/test/springboot/config/Setting.kt | Seachal/LorenWangCustomTools | 7690a5b15ad84faa88856a57dba9145fcea0126b | [
"Apache-2.0"
] | 5 | 2019-06-13T11:47:48.000Z | 2021-09-09T03:56:13.000Z | TestSpringBoot/src/main/java/com/test/springboot/config/Setting.kt | Seachal/LorenWangCustomTools | 7690a5b15ad84faa88856a57dba9145fcea0126b | [
"Apache-2.0"
] | null | null | null | TestSpringBoot/src/main/java/com/test/springboot/config/Setting.kt | Seachal/LorenWangCustomTools | 7690a5b15ad84faa88856a57dba9145fcea0126b | [
"Apache-2.0"
] | 1 | 2021-04-13T03:45:58.000Z | 2021-04-13T03:45:58.000Z | /**
* 创建时间: 0001/2018/6/1 下午 2:10
* 创建人:王亮(Loren wang)
* 功能作用:所有的设置参数信息
* 思路:
* 修改人:
* 修改时间:
* 备注:
*/
object Setting {
/**
* 所有的token令牌相关的关键字key
*/
const val ACCESS_TOKEN_KEY = "accesstoken"
}
| 12.941176 | 46 | 0.563636 |
e76edf165e0d97c5ebadbddb78bcb5d9e101ccf0 | 1,517 | kt | Kotlin | app/src/main/java/org/simple/clinic/onboarding/OnboardingEffectHandler.kt | resolvetosavelives/redapp | ff67df1ca4bb9735b8c8578e5435e0899ec6876d | [
"MIT"
] | 13 | 2018-06-22T20:36:04.000Z | 2018-07-10T07:51:12.000Z | app/src/main/java/org/simple/clinic/onboarding/OnboardingEffectHandler.kt | resolvetosavelives/redapp | ff67df1ca4bb9735b8c8578e5435e0899ec6876d | [
"MIT"
] | 78 | 2018-05-11T09:14:19.000Z | 2018-07-10T11:52:18.000Z | app/src/main/java/org/simple/clinic/onboarding/OnboardingEffectHandler.kt | resolvetosavelives/redapp | ff67df1ca4bb9735b8c8578e5435e0899ec6876d | [
"MIT"
] | 1 | 2018-06-25T20:44:41.000Z | 2018-06-25T20:44:41.000Z | package org.simple.clinic.onboarding
import com.f2prateek.rx.preferences2.Preference
import com.spotify.mobius.functions.Consumer
import com.spotify.mobius.rx2.RxMobius
import dagger.assisted.Assisted
import dagger.assisted.AssistedFactory
import dagger.assisted.AssistedInject
import io.reactivex.ObservableTransformer... | 37 | 113 | 0.794331 |
d4d0736593dd2581dad5f32c62aef0cc43bdda7a | 9,558 | lua | Lua | BuyCards/Client_PresentMenuUI.lua | JustMe003/WarlightMod | de82b318f7879d45a15bfcb3b6663b9eaf337572 | [
"MIT"
] | null | null | null | BuyCards/Client_PresentMenuUI.lua | JustMe003/WarlightMod | de82b318f7879d45a15bfcb3b6663b9eaf337572 | [
"MIT"
] | null | null | null | BuyCards/Client_PresentMenuUI.lua | JustMe003/WarlightMod | de82b318f7879d45a15bfcb3b6663b9eaf337572 | [
"MIT"
] | null | null | null | function Client_PresentMenuUI(rootParent, setMaxSize, setScrollable, game)
Game = game;
root = rootParent;
setMaxSize(450, 350);
if (game.Settings.CommerceGame == false) then
horz = UI.CreateHorizontalLayoutGroup(rootParent);
UI.CreateLabel(horz).SetText("This mod only works in commerce games. This isn't... | 53.1 | 159 | 0.746286 |
38e32668652185ba7e08b9979d7afac66a4a43a9 | 90 | c | C | lib/PaxHeaders.2308045/jhash.c | cuijianming/ovs-2.13.6 | e7fdf06d6c26d280b25bdf235146ae007cd2208c | [
"Apache-2.0"
] | null | null | null | lib/PaxHeaders.2308045/jhash.c | cuijianming/ovs-2.13.6 | e7fdf06d6c26d280b25bdf235146ae007cd2208c | [
"Apache-2.0"
] | null | null | null | lib/PaxHeaders.2308045/jhash.c | cuijianming/ovs-2.13.6 | e7fdf06d6c26d280b25bdf235146ae007cd2208c | [
"Apache-2.0"
] | null | null | null | 30 mtime=1639777085.424355983
30 atime=1639777086.341355983
30 ctime=1639777128.003355983
| 22.5 | 29 | 0.866667 |
9c57e76a7e36595aa2ec80d6c56c5d70801b0be9 | 1,928 | kt | Kotlin | app/src/main/java/com/telenav/osv/jarvis/login/utils/LoginUtils.kt | openstreetcam/android | 66eb0ee1ab093562e2867087084b26803fe58174 | [
"MIT"
] | 71 | 2017-01-15T07:52:21.000Z | 2020-11-24T11:15:21.000Z | app/src/main/java/com/telenav/osv/jarvis/login/utils/LoginUtils.kt | openstreetcam/android | 66eb0ee1ab093562e2867087084b26803fe58174 | [
"MIT"
] | 104 | 2017-01-06T18:22:47.000Z | 2020-11-23T00:12:59.000Z | app/src/main/java/com/telenav/osv/jarvis/login/utils/LoginUtils.kt | openstreetcam/android | 66eb0ee1ab093562e2867087084b26803fe58174 | [
"MIT"
] | 21 | 2017-01-20T20:20:04.000Z | 2020-11-21T07:28:33.000Z | package com.telenav.osv.jarvis.login.utils
import android.content.Context
import android.content.Intent
import com.telenav.osv.R
import com.telenav.osv.activity.MainActivity
import com.telenav.osv.application.ApplicationPreferences
import com.telenav.osv.application.PreferenceTypes
import com.telenav.osv.command.Logou... | 37.076923 | 105 | 0.70695 |
c3d9f31782ac6ab21860850ac46fb57741ff5dd1 | 474 | kt | Kotlin | core-data/src/main/java/com/javnez/core_data/repository/comics/datasources/LocalDataSource.kt | JaviSFH/android-marvel | 5c0b5e1debd506291efa737ab11a02be18ace88d | [
"Apache-2.0"
] | null | null | null | core-data/src/main/java/com/javnez/core_data/repository/comics/datasources/LocalDataSource.kt | JaviSFH/android-marvel | 5c0b5e1debd506291efa737ab11a02be18ace88d | [
"Apache-2.0"
] | null | null | null | core-data/src/main/java/com/javnez/core_data/repository/comics/datasources/LocalDataSource.kt | JaviSFH/android-marvel | 5c0b5e1debd506291efa737ab11a02be18ace88d | [
"Apache-2.0"
] | null | null | null | package com.javnez.core_data.repository.comics.datasources
import com.javnez.core_data.core.Failure.ServerError
import com.javnez.core_data.core.Result
import com.javnez.core_data.model.comic.Comic
import javax.inject.Inject
class LocalDataSource @Inject constructor() {
fun storeComics(comics: List<Comic>) {
... | 27.882353 | 58 | 0.755274 |
9e28588a7a435d25f67d5236b48add97a46ef8ff | 919 | lua | Lua | etc/old1/src/isa.lua | timm/keys | fd79b481053e2679856078df3a9f74f7097f5812 | [
"Unlicense"
] | null | null | null | etc/old1/src/isa.lua | timm/keys | fd79b481053e2679856078df3a9f74f7097f5812 | [
"Unlicense"
] | 1 | 2020-12-10T05:28:18.000Z | 2020-12-10T05:28:18.000Z | etc/old1/src/isa.lua | timm/keys | fd79b481053e2679856078df3a9f74f7097f5812 | [
"Unlicense"
] | 4 | 2021-08-18T20:49:55.000Z | 2021-09-01T03:44:56.000Z | #!/usr/bin/env lua
-- vim: ts=2 sw=2 et :
-- Object support code
-- (c) Tim Menzies, 2021
-- -----------------------------
local isa, _id, copy
-- Object creation, add a unique id, bind to metatable,
-- maybe set some initial values.
_id=0
function isa(klass,inits, new)
new = copy(klass or {})
for k,v i... | 22.414634 | 59 | 0.569097 |
cb26a932de4168305b22be4bb70acf6a685afc32 | 598 | h | C | Bgl-GUI_X11/beagleGUI_InfoMessageWindow.h | acisternino/tierra | 195c2eb84d91a1938faabad38e24b9b47d0e262c | [
"FSFAP"
] | 16 | 2018-07-17T12:29:58.000Z | 2021-12-14T08:47:19.000Z | Bgl-GUI_X11/beagleGUI_InfoMessageWindow.h | acisternino/tierra | 195c2eb84d91a1938faabad38e24b9b47d0e262c | [
"FSFAP"
] | null | null | null | Bgl-GUI_X11/beagleGUI_InfoMessageWindow.h | acisternino/tierra | 195c2eb84d91a1938faabad38e24b9b47d0e262c | [
"FSFAP"
] | 10 | 2018-05-31T23:44:22.000Z | 2022-01-20T07:11:26.000Z | /*
* beagleGUI_InfoMessageWindow.h --
*
* This work has been done at ATR HIP
*
* SCCS Status : @(#)beagleGUI_InfoMessageWindow.h 1.3 10/18/99 09:14:20
* Author : Marc Chaland
* Created On : Fri Sep 19 11:03:54 1997
* Last Modified By: YOSHIKAWA Tooru
* Last Modified On: Mon Oct 18 09:13:30... | 23.92 | 76 | 0.683946 |
c06e9f4ad02fc6e8b9a0f7842093dd2a2212c36e | 5,909 | html | HTML | index.html | EthanThatOneKid/konastats | a90e5ee2059b79ef3ea726c39c92937a3694c12f | [
"MIT"
] | null | null | null | index.html | EthanThatOneKid/konastats | a90e5ee2059b79ef3ea726c39c92937a3694c12f | [
"MIT"
] | null | null | null | index.html | EthanThatOneKid/konastats | a90e5ee2059b79ef3ea726c39c92937a3694c12f | [
"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">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="shortcut icon" type="image/x-icon" href="./cgi-bin/icon.png">
<title>Mr. Pines</title>
... | 52.758929 | 199 | 0.493485 |
6c337ac2c4f6de0d641335814866600e3635d66e | 5,296 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca.log_21829_1614.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca.log_21829_1614.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca.log_21829_1614.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 %r12
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x3f3d, %rdx
nop
nop
nop
nop
inc %r12
mov $0x6162636465666768, %r14
movq %r14, (%rdx)
nop
nop
nop
dec %rdx
lea addresses_WT_ht+0x1e83d, %rsi
lea addresses_UC_ht+0x11707, %rdi
and %r15, %... | 42.709677 | 2,999 | 0.656722 |
25c7747f210cab483be48adca0d6190e748f0aa0 | 170 | sql | SQL | config/db/tables/see_clientmaster.sql | arproio/kpitest | 43e015a57ad1bdcf16c19f11ac3cac6c5e20e212 | [
"MIT"
] | null | null | null | config/db/tables/see_clientmaster.sql | arproio/kpitest | 43e015a57ad1bdcf16c19f11ac3cac6c5e20e212 | [
"MIT"
] | null | null | null | config/db/tables/see_clientmaster.sql | arproio/kpitest | 43e015a57ad1bdcf16c19f11ac3cac6c5e20e212 | [
"MIT"
] | null | null | null | CREATE TABLE public.see_clientmaster (
id numeric(10) NOT NULL DEFAULT nextval('see_clientmaster_seq'::regclass),
"name" varchar(100) NOT NULL
)
WITH (
OIDS=FALSE
) ;
| 21.25 | 75 | 0.747059 |
63a1d8744b96a48e46ecd1a3e366e4f08a847a09 | 223 | kt | Kotlin | elytra-api/src/main/kotlin/io/elytra/api/registry/Registry.kt | heroslender/Elytra | 0769e5d1f5c061d0ccd03cb26dc6328fd07ff02a | [
"MIT"
] | null | null | null | elytra-api/src/main/kotlin/io/elytra/api/registry/Registry.kt | heroslender/Elytra | 0769e5d1f5c061d0ccd03cb26dc6328fd07ff02a | [
"MIT"
] | null | null | null | elytra-api/src/main/kotlin/io/elytra/api/registry/Registry.kt | heroslender/Elytra | 0769e5d1f5c061d0ccd03cb26dc6328fd07ff02a | [
"MIT"
] | null | null | null | package io.elytra.api.registry
import java.util.stream.Stream
interface Registry <T, K> {
fun add(record: T)
fun remove(record: T)
fun get(record: K): T?
fun stream(): Stream<T>
fun size(): Int
fun clear()
}
| 11.15 | 30 | 0.663677 |
26ef2b421205513d70d5425702152d5847f8e974 | 4,113 | sql | SQL | public/territories.sql | TiffanyBenjamin/facebook_websecurity_assignment01 | 1b91744a6cd0ad16f98aa9a290ffb982ddc828c8 | [
"Apache-2.0"
] | null | null | null | public/territories.sql | TiffanyBenjamin/facebook_websecurity_assignment01 | 1b91744a6cd0ad16f98aa9a290ffb982ddc828c8 | [
"Apache-2.0"
] | 1 | 2016-06-23T00:31:43.000Z | 2016-06-26T20:47:16.000Z | public/territories.sql | TiffanyBenjamin/facebook_websecurity_assignment01 | 1b91744a6cd0ad16f98aa9a290ffb982ddc828c8 | [
"Apache-2.0"
] | null | null | null | CREATE TABLE territories (
`id` INT,
`name` VARCHAR(22) CHARACTER SET utf8,
`state_id` INT,
`salespeople_ids` VARCHAR(4) CHARACTER SET utf8,
`Column_5` VARCHAR(3) CHARACTER SET utf8
);
INSERT INTO territories VALUES (1,'Alabama', 1,' [1]',NULL);
INSERT INTO territories VALUES (2,'Alaska', 2,' [4]'... | 62.318182 | 77 | 0.67858 |
39b93f4ad0216436af98581fe670f352e51507c1 | 1,022 | js | JavaScript | client/node_modules/snabbdom-pragma/test/pragma-test.js | applefighting/babygo.github.io | 07bfab9ef53fbeee00656234116222791fdf1ac2 | [
"MIT"
] | 49 | 2017-01-14T20:33:37.000Z | 2021-11-16T12:32:03.000Z | client/node_modules/snabbdom-pragma/test/pragma-test.js | applefighting/babygo.github.io | 07bfab9ef53fbeee00656234116222791fdf1ac2 | [
"MIT"
] | 41 | 2017-02-24T16:21:29.000Z | 2020-10-30T02:16:32.000Z | client/node_modules/snabbdom-pragma/test/pragma-test.js | applefighting/babygo.github.io | 07bfab9ef53fbeee00656234116222791fdf1ac2 | [
"MIT"
] | 17 | 2017-02-26T13:53:48.000Z | 2020-10-16T12:01:44.000Z |
import path from 'path'
import fs from 'fs'
import test from 'ava'
import h from 'snabbdom/h'
import { createElement as src } from '../src/index'
import { createElement as dist } from '../dist/index'
const fixturesDir = path.join(__dirname, 'pragma-specs')
fs.readdirSync(fixturesDir).forEach((caseName) => {
test... | 24.333333 | 75 | 0.643836 |
3db3e06f7fae4f36a1a773f05321147ec8515668 | 2,299 | rs | Rust | Rust/ms-rust/chapter8/rusty-journal/src/tasks.rs | hrntsm/study-language | 922578a5321d70c26b935e6052f400125e15649c | [
"MIT"
] | 1 | 2022-02-06T10:50:42.000Z | 2022-02-06T10:50:42.000Z | Rust/ms-rust/chapter8/rusty-journal/src/tasks.rs | hrntsm/study-language | 922578a5321d70c26b935e6052f400125e15649c | [
"MIT"
] | null | null | null | Rust/ms-rust/chapter8/rusty-journal/src/tasks.rs | hrntsm/study-language | 922578a5321d70c26b935e6052f400125e15649c | [
"MIT"
] | null | null | null | use chrono::{serde::ts_seconds, DateTime, Local, Utc};
use serde::Deserialize;
use serde::Serialize;
use std::fs::{File, OpenOptions};
use std::path::PathBuf;
use std::io::{Result, Error, ErrorKind, Seek, SeekFrom};
use std::fmt;
#[derive(Debug, Deserialize, Serialize)]
pub struct Task {
pub text: String,
#[se... | 26.732558 | 81 | 0.581557 |
76e14470f2b00c40eca523ab76b781f257ec9ea6 | 4,677 | h | C | AlsaRawMidi.h | DrItanium/syn | bee289392e9e84a12d98a4b19f2a0ada9d7ae14a | [
"BSD-2-Clause"
] | 1 | 2017-04-17T14:46:28.000Z | 2017-04-17T14:46:28.000Z | AlsaRawMidi.h | DrItanium/syn | bee289392e9e84a12d98a4b19f2a0ada9d7ae14a | [
"BSD-2-Clause"
] | 4 | 2017-03-15T23:28:14.000Z | 2017-10-29T22:48:28.000Z | AlsaRawMidi.h | DrItanium/syn | bee289392e9e84a12d98a4b19f2a0ada9d7ae14a | [
"BSD-2-Clause"
] | null | null | null | /**
* @file
* extensions for ALSA related operations
* @copyright
* syn
* Copyright (c) 2013-2017, Joshua Scoggins and Contributors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* ... | 57.740741 | 231 | 0.752833 |
1808e9e61b451cabfcab3e0bf3f0987040cca69f | 668 | rb | Ruby | examples/process_thin.rb | Bonias/eye | e56b12286628fb88f50e84c1da9dbf48bf83e9a3 | [
"MIT"
] | null | null | null | examples/process_thin.rb | Bonias/eye | e56b12286628fb88f50e84c1da9dbf48bf83e9a3 | [
"MIT"
] | null | null | null | examples/process_thin.rb | Bonias/eye | e56b12286628fb88f50e84c1da9dbf48bf83e9a3 | [
"MIT"
] | null | null | null |
def thin(proxy, port)
name = "thin-#{port}"
opts = [
"-l thins.log",
"-p #{port}",
"-P #{name}.pid",
"-d",
"-R thin.ru",
"--tag #{proxy.app.name}.#{proxy.name}",
"-t 60",
"-e #{proxy.env["RAILS_ENV"]}",
"-c #{proxy.working_dir}",
"-a 127.0.0.1"
]
proxy.process(name) do... | 22.266667 | 79 | 0.511976 |
71c112848a82d60564a06ef27bbf9e617f3de13f | 262 | swift | Swift | Carthage/Checkouts/UIScrollView-InfiniteScroll/InfiniteScrollViewDemoSwift/PhotoCell.swift | rjbrakel/ome-joops-tour-ios | 38c9b4f3ac7c6514b717d9063d041b8e0d13269a | [
"MIT"
] | 1 | 2017-03-31T21:42:25.000Z | 2017-03-31T21:42:25.000Z | Carthage/Checkouts/UIScrollView-InfiniteScroll/InfiniteScrollViewDemoSwift/PhotoCell.swift | rjbrakel/ome-joops-tour-ios | 38c9b4f3ac7c6514b717d9063d041b8e0d13269a | [
"MIT"
] | null | null | null | Carthage/Checkouts/UIScrollView-InfiniteScroll/InfiniteScrollViewDemoSwift/PhotoCell.swift | rjbrakel/ome-joops-tour-ios | 38c9b4f3ac7c6514b717d9063d041b8e0d13269a | [
"MIT"
] | 1 | 2019-12-05T19:33:07.000Z | 2019-12-05T19:33:07.000Z | //
// PhotoCell.swift
// InfiniteScrollViewDemoSwift
//
// Created by pronebird on 5/3/15.
// Copyright (c) 2015 pronebird. All rights reserved.
//
import UIKit
class PhotoCell: UICollectionViewCell {
@IBOutlet weak var imageView: UIImageView!
}
| 16.375 | 54 | 0.706107 |
4a2f115c293150b812c6d85b02ff4e66f5ca310e | 2,381 | js | JavaScript | 4. Creating documentes in Pimcore/tmp/vendor/pimcore/pimcore/bundles/AdminBundle/Resources/public/js/pimcore/object/layout/iframe.js | PacktPublishing/Modernizing-Enterprise-CMS-using-Pimcore | 3ee27fff6172d68e9a0759f9f6a0cafbc4d61ac1 | [
"MIT"
] | 6 | 2021-07-04T09:24:23.000Z | 2022-01-23T20:52:12.000Z | 4. Creating documentes in Pimcore/tmp/vendor/pimcore/pimcore/bundles/AdminBundle/Resources/public/js/pimcore/object/layout/iframe.js | PacktPublishing/Modernizing-Enterprise-CMS-using-Pimcore | 3ee27fff6172d68e9a0759f9f6a0cafbc4d61ac1 | [
"MIT"
] | 2 | 2020-11-14T20:12:07.000Z | 2022-01-18T13:43:00.000Z | 4. Creating documentes in Pimcore/tmp/vendor/pimcore/pimcore/bundles/AdminBundle/Resources/public/js/pimcore/object/layout/iframe.js | PacktPublishing/Modernizing-Enterprise-CMS-using-Pimcore | 3ee27fff6172d68e9a0759f9f6a0cafbc4d61ac1 | [
"MIT"
] | 3 | 2021-06-29T05:35:49.000Z | 2021-10-01T13:36:53.000Z | /**
* Pimcore
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pim... | 33.535211 | 189 | 0.49433 |
1252c15d32624f90104210d09dad907754b9fd6e | 8,780 | c | C | libvirt/pileus-libvirt-1.2.12/tests/securityselinuxhelper.c | SIIS-cloud/pileus | de7546845cf03862cdd2b9884fefb2033d8b11ab | [
"Apache-2.0"
] | 3 | 2017-09-22T15:10:01.000Z | 2018-03-30T02:11:54.000Z | libvirt/pileus-libvirt-1.2.12/tests/securityselinuxhelper.c | SIIS-cloud/Pileus | de7546845cf03862cdd2b9884fefb2033d8b11ab | [
"Apache-2.0"
] | null | null | null | libvirt/pileus-libvirt-1.2.12/tests/securityselinuxhelper.c | SIIS-cloud/Pileus | de7546845cf03862cdd2b9884fefb2033d8b11ab | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2011-2013 Red Hat, Inc.
*
* This 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 2.1 of the License, or (at your option) any later version.
*
* This l... | 25.085714 | 75 | 0.637585 |
a4f5a4a785529598ef5c4565eb8865cce4ffc170 | 10,956 | lua | Lua | mayoran/src/handler/ressourceHandler.lua | zorfmorf/loveprojects | 84b7629e30c0b68b205ca9e18085cc8d514e0698 | [
"Apache-2.0"
] | null | null | null | mayoran/src/handler/ressourceHandler.lua | zorfmorf/loveprojects | 84b7629e30c0b68b205ca9e18085cc8d514e0698 | [
"Apache-2.0"
] | null | null | null | mayoran/src/handler/ressourceHandler.lua | zorfmorf/loveprojects | 84b7629e30c0b68b205ca9e18085cc8d514e0698 | [
"Apache-2.0"
] | null | null | null |
function ressourceHandler_loadAudioFiles()
end
function ressourceHandler_loadTiles()
-- tut files
tut_mouse = love.graphics.newImage("res/mouse.png")
tut_build = love.graphics.newImage("res/build.png")
tut_ressources = love.graphics.newImage("res/ressources.png")
tut_layer = love.gra... | 55.614213 | 84 | 0.692497 |
0aaea957cadce96ba4f70c0139b37a83f5087b7e | 273 | swift | Swift | SwiftManual.playground/Pages/Array.xcplaygroundpage/Contents.swift | wtie/SwiftManual | d80e5e25890e9532e685e0b521e7e8ddc1b34f5e | [
"Apache-2.0"
] | 1 | 2021-06-19T11:00:31.000Z | 2021-06-19T11:00:31.000Z | SwiftManual.playground/Pages/Array.xcplaygroundpage/Contents.swift | wtie/SwiftManual | d80e5e25890e9532e685e0b521e7e8ddc1b34f5e | [
"Apache-2.0"
] | null | null | null | SwiftManual.playground/Pages/Array.xcplaygroundpage/Contents.swift | wtie/SwiftManual | d80e5e25890e9532e685e0b521e7e8ddc1b34f5e | [
"Apache-2.0"
] | null | null | null | //: [Previous](@previous)
//: 用数组[15,58,510] 输出一个新数组 ["OneSix","FiveEight","FiveOneZero"]
//:
let numbers = [15,68,510]
let digitName = [0:"Zero",1:"One",2:"Two",3:"Three",4:"Four",5:"Five",6:"Six",7:"Seven",8:"Eight",9:"Nine"]
let numberStrings = [""]
//: [Next](@next)
| 27.3 | 107 | 0.593407 |
c19e857c7df52e30ee8d42a604a5d7fd4326cf20 | 6,578 | swift | Swift | JumpPad/iPad User Interface/iPadHomeProfileBanner.swift | sitefeng/Uniq-iOS | 6589b8c6502bc7cfe57d2fc68c63627361f2d953 | [
"Unlicense"
] | null | null | null | JumpPad/iPad User Interface/iPadHomeProfileBanner.swift | sitefeng/Uniq-iOS | 6589b8c6502bc7cfe57d2fc68c63627361f2d953 | [
"Unlicense"
] | null | null | null | JumpPad/iPad User Interface/iPadHomeProfileBanner.swift | sitefeng/Uniq-iOS | 6589b8c6502bc7cfe57d2fc68c63627361f2d953 | [
"Unlicense"
] | null | null | null | //
// iPadHomeProfileBanner.swift
// Uniq
//
// Created by Si Te Feng on 6/13/14.
// Copyright (c) 2014 Si Te Feng. All rights reserved.
//
import UIKit
class iPadHomeProfileBanner: UIView {
var homeViewController: iPadMainHomeViewController!
var userImage: UIImage! {
get{
let re... | 38.467836 | 171 | 0.687747 |
042dbf2e6718295a3d58ad2726218c4724bc31c4 | 1,362 | kt | Kotlin | app/src/main/java/moe/pine/emoji/view/generator/TextColorView.kt | pine/Emoji-Android | a6447ccba5e729fb664df5b117616c1e44f0c5dd | [
"MIT"
] | 9 | 2017-06-03T20:13:31.000Z | 2019-04-05T14:36:06.000Z | app/src/main/java/moe/pine/emoji/view/generator/TextColorView.kt | pine/Emoji-Android | a6447ccba5e729fb664df5b117616c1e44f0c5dd | [
"MIT"
] | 5 | 2017-06-03T16:07:13.000Z | 2018-05-20T12:51:42.000Z | app/src/main/java/moe/pine/emoji/view/generator/TextColorView.kt | pine/Emoji-Android | a6447ccba5e729fb664df5b117616c1e44f0c5dd | [
"MIT"
] | null | null | null | package moe.pine.emoji.view.generator
import android.content.Context
import android.support.v7.app.AppCompatActivity
import android.util.AttributeSet
import android.widget.LinearLayout
import kotlinx.android.synthetic.main.view_generator_text_color.view.*
import moe.pine.emoji.fragment.generator.SelectColorDialogFragm... | 36.810811 | 113 | 0.73348 |
617edf3344989a86a1c7c89d88c56a7c3095d7df | 797 | sql | SQL | migration-table-users.sql | vstaran/php-query-builder | 975ecdf33944d3d4b05f72bc749fdcd4bbdfca6f | [
"MIT"
] | null | null | null | migration-table-users.sql | vstaran/php-query-builder | 975ecdf33944d3d4b05f72bc749fdcd4bbdfca6f | [
"MIT"
] | null | null | null | migration-table-users.sql | vstaran/php-query-builder | 975ecdf33944d3d4b05f72bc749fdcd4bbdfca6f | [
"MIT"
] | null | null | null | -- Adminer 4.7.8 MySQL dump
SET NAMES utf8;
SET time_zone = '+00:00';
SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(100) NOT NULL,
`last_name` varchar(100) NOT NULL,
`password`... | 33.208333 | 89 | 0.692597 |
331a7c4db3257ada350cf08ded30927dd48e842d | 1,964 | swift | Swift | Sources/Models/MKMapView/MKMapView+Area.swift | Machipla/SugarLumpMapKit | c3b4145dbabb02c83253613ed3e8f3fb38a949d7 | [
"MIT"
] | null | null | null | Sources/Models/MKMapView/MKMapView+Area.swift | Machipla/SugarLumpMapKit | c3b4145dbabb02c83253613ed3e8f3fb38a949d7 | [
"MIT"
] | null | null | null | Sources/Models/MKMapView/MKMapView+Area.swift | Machipla/SugarLumpMapKit | c3b4145dbabb02c83253613ed3e8f3fb38a949d7 | [
"MIT"
] | null | null | null | //
// MKMapView+Area.swift
// SugarLumpMapKit
//
// Created by Mario Chinchilla on 10/10/18.
//
import Foundation
import MapKit
public extension MKMapView{
public struct Area{
public let northWestCoordinate:CLLocationCoordinate2D
public let northEastCoordinate:CLLocationCoordinate2D
pub... | 51.684211 | 197 | 0.752546 |
3327fef21614dc3511498e572fb63b8ff5adf0a3 | 9,385 | py | Python | rec_to_nwb/test/processing/tools/test_beartype.py | jihyunbak/rec_to_nwb | 6e65f8bf0a4faa4d986483ec2442ba19d70c92a9 | [
"Apache-2.0"
] | 8 | 2020-05-29T13:48:35.000Z | 2021-11-19T04:24:48.000Z | rec_to_nwb/test/processing/tools/test_beartype.py | jihyunbak/rec_to_nwb | 6e65f8bf0a4faa4d986483ec2442ba19d70c92a9 | [
"Apache-2.0"
] | 12 | 2020-11-13T01:36:32.000Z | 2022-01-23T20:35:55.000Z | rec_to_nwb/test/processing/tools/test_beartype.py | jihyunbak/rec_to_nwb | 6e65f8bf0a4faa4d986483ec2442ba19d70c92a9 | [
"Apache-2.0"
] | 3 | 2020-10-20T06:52:45.000Z | 2021-07-06T23:00:53.000Z | #!/usr/bin/env python3
"""
`py.test`-driven unit test suite for the `@beartype` decorator, implementing a
rudimentary subset of PEP 484-style type checking based on Python 3.x function
annotations.
Usage
----------
These tests assume the `@beartype` decorator and all utility functions (e.g.,
`_check_type_annotation()... | 36.235521 | 84 | 0.613213 |
28051d8180c85213ea68c13b52b00cd29ea499cf | 1,830 | go | Go | file_appender.go | xoba/sc | 4ae0cf99f6691a5607acd6c0fb953695359e64b7 | [
"MIT"
] | 18 | 2019-11-25T13:29:08.000Z | 2021-06-29T19:54:28.000Z | file_appender.go | xoba/sc | 4ae0cf99f6691a5607acd6c0fb953695359e64b7 | [
"MIT"
] | 2 | 2019-12-04T16:53:48.000Z | 2020-01-03T15:19:13.000Z | file_appender.go | xoba/sc | 4ae0cf99f6691a5607acd6c0fb953695359e64b7 | [
"MIT"
] | 1 | 2020-04-12T15:38:50.000Z | 2020-04-12T15:38:50.000Z | package sc
import (
"crypto/md5"
"fmt"
"io/ioutil"
"os"
"path/filepath"
)
// will simply append data upon Merge call
type AppendingCombinator struct {
dir string
}
func NewFileAppender(dir string) (*AppendingCombinator, error) {
if err := mkdir(dir); err != nil {
return nil, err
}
return &AppendingCombina... | 19.891304 | 84 | 0.657923 |
0da2e7e234cde2cce5490fd2ad54575847409863 | 360 | swift | Swift | Fotograma/Views/PostImageCell.swift | esauri/Fotograma | 650096ff7b3473694f4a7862d449cc909453902e | [
"MIT"
] | null | null | null | Fotograma/Views/PostImageCell.swift | esauri/Fotograma | 650096ff7b3473694f4a7862d449cc909453902e | [
"MIT"
] | 13 | 2017-10-18T01:58:01.000Z | 2018-01-19T06:08:54.000Z | Fotograma/Views/PostImageCell.swift | esauri/Fotograma | 650096ff7b3473694f4a7862d449cc909453902e | [
"MIT"
] | 1 | 2018-02-08T17:35:09.000Z | 2018-02-08T17:35:09.000Z | //
// PostImageCell.swift
// Fotograma
//
// Created by Erick Sauri on 1/16/18.
// Copyright © 2018 Erick Sauri. All rights reserved.
//
import UIKit
class PostImageCell: UITableViewCell {
// MARK: - Subviews
@IBOutlet weak var postImageView: UIImageView!
override func awakeFromNib() {
super.awakeFrom... | 16.363636 | 54 | 0.686111 |
c4df85866441509e67e5e373c7bab3de76c290b7 | 589 | dart | Dart | example/basic.dart | Blimster/resp_client | e9438f40894f6305b5b1df3123651805c0c43ac1 | [
"MIT"
] | 11 | 2018-07-27T15:38:03.000Z | 2022-03-13T08:33:58.000Z | example/basic.dart | Blimster/resp_client | e9438f40894f6305b5b1df3123651805c0c43ac1 | [
"MIT"
] | 12 | 2018-08-08T16:14:20.000Z | 2021-04-06T15:46:13.000Z | example/basic.dart | Blimster/resp_client | e9438f40894f6305b5b1df3123651805c0c43ac1 | [
"MIT"
] | 1 | 2021-06-03T09:04:52.000Z | 2021-06-03T09:04:52.000Z | import 'package:resp_client/resp_client.dart';
import 'package:resp_client/resp_commands.dart';
import 'package:resp_client/resp_server.dart';
void main(List<String> args) async {
// create a server connection using sockets
final server = await connectSocket('localhost');
// create a client using the server con... | 28.047619 | 64 | 0.73854 |
b5a4a5933d774467a312c96ae3a64616b880a762 | 52,891 | rs | Rust | src/opath/expr/parse/mod.rs | Kodegenix/kg-tree | 2920c9c673fd7a0c5b3b7c35888558521813a644 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-10-03T16:35:47.000Z | 2020-10-03T16:35:47.000Z | src/opath/expr/parse/mod.rs | kodegenix/kg-tree | 2920c9c673fd7a0c5b3b7c35888558521813a644 | [
"Apache-2.0",
"MIT"
] | 5 | 2019-07-30T09:01:02.000Z | 2019-09-16T14:04:13.000Z | src/opath/expr/parse/mod.rs | kodegenix/kg-tree | 2920c9c673fd7a0c5b3b7c35888558521813a644 | [
"Apache-2.0",
"MIT"
] | 1 | 2018-12-02T19:16:58.000Z | 2018-12-02T19:16:58.000Z | use super::*;
use std::collections::VecDeque;
use kg_display::ListDisplay;
use kg_diag::parse::num::{NumberParser, Notation, Sign};
pub type Error = ParseDiag;
pub type Token = LexToken<Terminal>;
#[derive(Debug, Display, Detail)]
#[diag(code_offset = 300)]
pub enum ParseErrorDetail {
#[display(fmt = "invalid e... | 35.761325 | 113 | 0.382806 |
0eebc668c1082f23d1ae15ecd44a563e8b2d4216 | 126,168 | h | C | test/aarch32/traces/simulator-cond-rd-operand-rn-ror-amount-sxtb-a32.h | capablevms/VIXL | 769c8e46a09bb077e9a2148b86a2093addce8233 | [
"BSD-3-Clause"
] | 573 | 2016-08-31T20:21:20.000Z | 2021-08-29T14:01:11.000Z | test/aarch32/traces/simulator-cond-rd-operand-rn-ror-amount-sxtb-a32.h | capablevms/VIXL | 769c8e46a09bb077e9a2148b86a2093addce8233 | [
"BSD-3-Clause"
] | 366 | 2016-09-02T06:37:43.000Z | 2021-08-11T18:38:24.000Z | test/aarch32/traces/simulator-cond-rd-operand-rn-ror-amount-sxtb-a32.h | capablevms/VIXL | 769c8e46a09bb077e9a2148b86a2093addce8233 | [
"BSD-3-Clause"
] | 135 | 2016-09-01T02:02:58.000Z | 2021-08-13T01:25:22.000Z | // Copyright 2015, VIXL authors
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions ... | 40.937054 | 80 | 0.718922 |
668211f61021b352ebf39af14695324bb6156255 | 7,001 | dart | Dart | lib/src/pages/admin_page_panels/admin_dashboard.dart | hakanbakacak/flutter_web_dashboard | 02acdf064f99810381338ba77c859dd5f5e1aced | [
"MIT"
] | null | null | null | lib/src/pages/admin_page_panels/admin_dashboard.dart | hakanbakacak/flutter_web_dashboard | 02acdf064f99810381338ba77c859dd5f5e1aced | [
"MIT"
] | null | null | null | lib/src/pages/admin_page_panels/admin_dashboard.dart | hakanbakacak/flutter_web_dashboard | 02acdf064f99810381338ba77c859dd5f5e1aced | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import '../../widget/card_tile.dart';
import '../../widget/chart_card_tile.dart';
import '../../widget/quick_contact.dart';
class AdminDashboard extends StatelessWidget {
DateTime now = DateTime.now();
@override
Widget build(BuildContext context) {
return Container(
... | 41.672619 | 223 | 0.561063 |
837634473e16677a76b8b8ea02e0f8c15aea2e6c | 622 | kt | Kotlin | src/main/kotlin/dataclass/App.kt | masahitojp/dataset-to-map | 6c8c04024bf9b161054cb6491408f8a4964a117a | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/dataclass/App.kt | masahitojp/dataset-to-map | 6c8c04024bf9b161054cb6491408f8a4964a117a | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/dataclass/App.kt | masahitojp/dataset-to-map | 6c8c04024bf9b161054cb6491408f8a4964a117a | [
"Apache-2.0"
] | null | null | null | /*
* This Kotlin source file was generated by the Gradle 'init' task.
*/
package dataclass
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import dataclass.utils.asMap
import dataclass.utils.serializeToMap
import dataclass.utils.serializeToMapWithJackson
fun main(args: Array<String>) {
val datacl... | 24.88 | 67 | 0.749196 |
2aaffaba7e174626c56fb85dea546bfb136300b5 | 262 | sql | SQL | gcp-test/tests/gcp_compute_subnetwork/test-get-query.sql | xanonid/steampipe-plugin-gcp | f0e6a76233c367d227e4b80f142035f174ff4e46 | [
"Apache-2.0"
] | 10 | 2021-01-21T19:06:58.000Z | 2022-03-14T06:25:51.000Z | gcp-test/tests/gcp_compute_subnetwork/test-get-query.sql | Leectan/steampipe-plugin-gcp | c000c1e234fd53e2c52243a44f64d0856bf6f60f | [
"Apache-2.0"
] | 191 | 2021-01-22T07:14:32.000Z | 2022-03-30T15:44:33.000Z | gcp-test/tests/gcp_compute_subnetwork/test-get-query.sql | Leectan/steampipe-plugin-gcp | c000c1e234fd53e2c52243a44f64d0856bf6f60f | [
"Apache-2.0"
] | 6 | 2021-05-04T21:29:31.000Z | 2021-11-11T20:21:03.000Z | select name, description, network_name, kind, description, enable_flow_logs, log_config_enable, gateway_address, ip_cidr_range, network, region, self_link, secondary_ip_ranges, project, location
from gcp.gcp_compute_subnetwork
where name = '{{ resourceName }}' | 87.333333 | 195 | 0.820611 |
75e00014bdb8b871dbbb54e13c20bed58d0b471f | 3,224 | php | PHP | application/index/controller/Base.php | 343382140/o2o | ac3243780b426a1d1860115c89d9524ae190b066 | [
"Apache-2.0"
] | null | null | null | application/index/controller/Base.php | 343382140/o2o | ac3243780b426a1d1860115c89d9524ae190b066 | [
"Apache-2.0"
] | null | null | null | application/index/controller/Base.php | 343382140/o2o | ac3243780b426a1d1860115c89d9524ae190b066 | [
"Apache-2.0"
] | null | null | null | <?php
namespace app\index\controller;
use think\Controller;
class Base extends Controller
{
// 当前城市
public $city = "";
//当前登录用户
public $account = "";
public $categorys =[];
public $defaultCity = "";
public function _initialize()
{
//当前选择城市
//获取一级城市数据 //getCitysByParentId(0)不... | 31.607843 | 151 | 0.540323 |
40a53d0124ba1fcbe0ce3a83076a2a027f86c9fc | 3,011 | py | Python | src/sendmail.py | renan2scarvalho/MDI_PDE_2030 | a919fd7b5755f421e80f6ee4d90d245f2e176184 | [
"MIT"
] | null | null | null | src/sendmail.py | renan2scarvalho/MDI_PDE_2030 | a919fd7b5755f421e80f6ee4d90d245f2e176184 | [
"MIT"
] | null | null | null | src/sendmail.py | renan2scarvalho/MDI_PDE_2030 | a919fd7b5755f421e80f6ee4d90d245f2e176184 | [
"MIT"
] | null | null | null | """
Description:
Envio de E-mails
Author: @Palin
Created: 2021-04-26
Copyright: (c) Ampere Consultoria Ltda
"""
import os
import sys
try:
import smtplib
from email import encoders
from email.mime.base import MIMEBase
from email.mime.multipart import MIMEM... | 28.40566 | 86 | 0.643308 |
39505b654b28755210dda5a89866a1be49cdfe9f | 980 | html | HTML | webapp/index.html | dracovoldy/DLIMS1812 | ebb49222ffc256682b61f6e354fbbd3ff5cc9c59 | [
"MIT"
] | null | null | null | webapp/index.html | dracovoldy/DLIMS1812 | ebb49222ffc256682b61f6e354fbbd3ff5cc9c59 | [
"MIT"
] | null | null | null | webapp/index.html | dracovoldy/DLIMS1812 | ebb49222ffc256682b61f6e354fbbd3ff5cc9c59 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<script src="https://sapui5.hana.ondemand.com/1.71.13/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-compatVersion="edge"
data-s... | 29.69697 | 80 | 0.622449 |
0b96aaa21f422ac0c7d22576279c69b61dd42c95 | 154 | py | Python | Test/two/payments/momo/urls.py | titan256/Python-Django-Assignment | 9f56f69ea7182456729116e27435231925d24d11 | [
"MIT"
] | null | null | null | Test/two/payments/momo/urls.py | titan256/Python-Django-Assignment | 9f56f69ea7182456729116e27435231925d24d11 | [
"MIT"
] | 9 | 2020-06-05T23:53:04.000Z | 2022-02-10T08:33:32.000Z | Test/two/payments/momo/urls.py | titan256/Python-Django-Assignment | 9f56f69ea7182456729116e27435231925d24d11 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.urls import path , include
from . import views
urlpatterns = [
path('',views.index,name='index')
] | 19.25 | 38 | 0.701299 |
3e92555e80ab321e5994b991aa98e7baeb7e902c | 420 | h | C | lib/include/llvmPy/RT/Scope.h | milliburn/llvmPy | d6fa3002e823fae00cf33d9b2ea480604681376c | [
"MIT"
] | 1 | 2019-01-22T02:58:04.000Z | 2019-01-22T02:58:04.000Z | lib/include/llvmPy/RT/Scope.h | roberth-k/llvmPy | d6fa3002e823fae00cf33d9b2ea480604681376c | [
"MIT"
] | null | null | null | lib/include/llvmPy/RT/Scope.h | roberth-k/llvmPy | d6fa3002e823fae00cf33d9b2ea480604681376c | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <llvmPy/Support/Testing.h>
#ifdef __cplusplus
namespace llvmPy {
class Scope {
public:
Scope();
explicit Scope(Scope &parent);
virtual ~Scope();
MOCK_VIRTUAL bool hasParent() const;
MOCK_VIRTUAL Scope &getParent() const;
virtual size_t getSlotCount... | 14 | 44 | 0.680952 |
ff7624d9af5008ae2fc6b853c698d9c37f3a9823 | 281 | swift | Swift | DarkLight/Localizations/LocalizedUtils.swift | L1cardo/DarkLight | 6de9c535ef5e519f3d226ed69b443dfbf1e158f3 | [
"MIT"
] | 16 | 2019-11-15T16:00:54.000Z | 2022-02-08T02:01:56.000Z | DarkLight/Localizations/LocalizedUtils.swift | L1cardo/DarkLight | 6de9c535ef5e519f3d226ed69b443dfbf1e158f3 | [
"MIT"
] | 3 | 2019-11-15T15:58:14.000Z | 2021-11-25T05:59:59.000Z | DarkLight/Localizations/LocalizedUtils.swift | L1cardo/DarkLight | 6de9c535ef5e519f3d226ed69b443dfbf1e158f3 | [
"MIT"
] | null | null | null | //
// LocalizedUtils.swift
// DarkLight
//
// Created by Licardo on 2019/11/6.
// Copyright © 2019 Licardo. All rights reserved.
//
import Foundation
// localization
extension String {
var localized: String {
return NSLocalizedString(self, comment: self)
}
}
| 16.529412 | 53 | 0.672598 |
79eaa1cd8af9adce1aea4ccd5d744d3369817702 | 467 | swift | Swift | CarouselDesign/CarouselDesign/Views/SecondCollectionViewCell.swift | tamappe/CarouselDesign | ecc89641991bb41c86a4ecd20e71bce6d273dc45 | [
"MIT"
] | null | null | null | CarouselDesign/CarouselDesign/Views/SecondCollectionViewCell.swift | tamappe/CarouselDesign | ecc89641991bb41c86a4ecd20e71bce6d273dc45 | [
"MIT"
] | 1 | 2020-11-03T10:52:43.000Z | 2020-11-03T10:52:43.000Z | CarouselDesign/CarouselDesign/Views/SecondCollectionViewCell.swift | tamappe/CarouselDesign | ecc89641991bb41c86a4ecd20e71bce6d273dc45 | [
"MIT"
] | null | null | null | //
// SecondCollectionViewCell.swift
// CarouselDesign
//
// Created by 玉置 on 2020/10/11.
//
import UIKit
class SecondCollectionViewCell: UICollectionViewCell {
static let identifier: String = "SecondCollectionViewCell"
static let widthInset: CGFloat = 20.0
static let cellWidth: CGFloat = 330... | 19.458333 | 62 | 0.680942 |
92d944be65b2d35fc9c15a3a7576226af8457852 | 122 | h | C | Pod/Classes/yesteryear/UIFont+Yesteryear.h | parakeety/GoogleFontsiOS | 46a0d144b32b14f06f3605568ab210ad390c8e96 | [
"MIT"
] | 10 | 2015-08-07T19:43:38.000Z | 2019-03-06T10:40:11.000Z | Pod/Classes/yesteryear/UIFont+Yesteryear.h | Maxatma/GoogleFontsiOS | 46a0d144b32b14f06f3605568ab210ad390c8e96 | [
"MIT"
] | 3 | 2016-03-01T10:29:45.000Z | 2017-03-30T12:23:06.000Z | Pod/Classes/yesteryear/UIFont+Yesteryear.h | Maxatma/GoogleFontsiOS | 46a0d144b32b14f06f3605568ab210ad390c8e96 | [
"MIT"
] | 4 | 2016-02-10T12:34:29.000Z | 2020-04-08T07:18:23.000Z | #import <UIKit/UIKit.h>
@interface UIFont (Yesteryear)
+ (instancetype)yesteryearRegularFontOfSize:(CGFloat)size;
@end
| 15.25 | 58 | 0.778689 |
4e17a207e821108a480b535c13a013d61d24489d | 87,641 | rs | Rust | lib/mem/src/lease/hard.rs | swimos/swim-kernel | 312b5f4adfca2260db0b55c72066bb2547137208 | [
"Apache-2.0",
"MIT"
] | 7 | 2019-04-18T02:57:03.000Z | 2020-11-19T06:12:10.000Z | lib/mem/src/lease/hard.rs | swimos/swim-kernel | 312b5f4adfca2260db0b55c72066bb2547137208 | [
"Apache-2.0",
"MIT"
] | null | null | null | lib/mem/src/lease/hard.rs | swimos/swim-kernel | 312b5f4adfca2260db0b55c72066bb2547137208 | [
"Apache-2.0",
"MIT"
] | 2 | 2020-10-13T01:25:52.000Z | 2022-02-09T04:06:59.000Z | use core::fmt::{self, Display, Debug, Pointer, Formatter};
use core::hash::{Hash, Hasher};
use core::marker::PhantomData;
use core::mem;
use core::ptr::{self, NonNull};
use core::sync::atomic::{self, AtomicUsize};
use core::sync::atomic::Ordering::{Acquire, Relaxed, Release, SeqCst};
use crate::block::{self, Block, Lay... | 50.659538 | 124 | 0.542908 |
ac83f36fb6ff827c23ad841c6cfe06083732e9ac | 1,043 | kt | Kotlin | app/src/main/java/com/luca020400/classiperlo/ui/cp/CpViewModel.kt | luca020400/Classiperlo | f43b17111a810fe9b9d5ccfa4ce9d15367b6b862 | [
"Apache-2.0"
] | 2 | 2019-12-01T17:36:50.000Z | 2019-12-06T09:09:10.000Z | app/src/main/java/com/luca020400/classiperlo/ui/cp/CpViewModel.kt | luca020400/Classiperlo | f43b17111a810fe9b9d5ccfa4ce9d15367b6b862 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/luca020400/classiperlo/ui/cp/CpViewModel.kt | luca020400/Classiperlo | f43b17111a810fe9b9d5ccfa4ce9d15367b6b862 | [
"Apache-2.0"
] | null | null | null | package com.luca020400.classiperlo.ui.cp
import androidx.lifecycle.ViewModel
import androidx.lifecycle.liveData
import com.luca020400.classiperlo.classes.DataItem
import com.luca020400.classiperlo.classes.Url
import kotlinx.coroutines.Dispatchers
import okhttp3.OkHttpClient
import okhttp3.Request
import org.jsoup.Jsou... | 33.645161 | 105 | 0.633749 |
63e10d50a223151b1628c839567a28e02d5ba323 | 1,470 | dart | Dart | lib/ui/settings/log_settings.dart | qurm/meshtastic-flutter | c294a86f6a6621721fd2ea80fb94c5e55c2ee478 | [
"Apache-2.0"
] | 5 | 2021-04-03T10:03:19.000Z | 2021-12-08T16:12:17.000Z | lib/ui/settings/log_settings.dart | qurm/meshtastic-flutter | c294a86f6a6621721fd2ea80fb94c5e55c2ee478 | [
"Apache-2.0"
] | null | null | null | lib/ui/settings/log_settings.dart | qurm/meshtastic-flutter | c294a86f6a6621721fd2ea80fb94c5e55c2ee478 | [
"Apache-2.0"
] | 2 | 2021-04-14T23:48:05.000Z | 2021-05-06T10:31:45.000Z | import 'package:logger/logger.dart';
// import 'package:logger_flutter/logger_flutter.dart';
// logger.v("Verbose log");
// logger.d("Debug log");
// logger.i("Info log");
// logger.w("Warning log");
// logger.e("Error log");
// logger.wtf("What a terrible failure log");
Logger appLogger = Logger(
// out... | 25.789474 | 63 | 0.663946 |
582d2fa52d113a9b09f96d8baad039bd7e81dee1 | 2,671 | h | C | Diagram/DiagramItem.h | devonchenc/NovaImage | 3d17166f9705ba23b89f1aefd31ac2db97385b1c | [
"MIT"
] | null | null | null | Diagram/DiagramItem.h | devonchenc/NovaImage | 3d17166f9705ba23b89f1aefd31ac2db97385b1c | [
"MIT"
] | null | null | null | Diagram/DiagramItem.h | devonchenc/NovaImage | 3d17166f9705ba23b89f1aefd31ac2db97385b1c | [
"MIT"
] | null | null | null | #pragma once
#include <QGraphicsPolygonItem>
#include <QDomElement>
QT_BEGIN_NAMESPACE
class QGraphicsOpacityEffect;
class QDomDocument;
QT_END_NAMESPACE
class DiagramItem : public QObject, public QGraphicsPolygonItem
{
Q_OBJECT
public:
enum { Type = UserType + 15 };
enum DiagramType
... | 31.423529 | 117 | 0.723699 |
0638f74d337fcb15cbd428cf450d4900ea2f4959 | 2,017 | rs | Rust | native/list/src/test_iter.rs | passcod/blograph | f35f7c6aa302e50673d4a1a094f06b7887bcd198 | [
"0BSD"
] | 2 | 2017-11-26T12:57:57.000Z | 2020-10-30T12:02:56.000Z | native/list/src/test_iter.rs | passcod/blograph | f35f7c6aa302e50673d4a1a094f06b7887bcd198 | [
"0BSD"
] | 21 | 2017-03-09T10:59:34.000Z | 2021-09-25T09:38:46.000Z | native/list/src/test_iter.rs | passcod/blograph | f35f7c6aa302e50673d4a1a094f06b7887bcd198 | [
"0BSD"
] | null | null | null | use std::sync::Arc;
use super::*;
#[test]
fn empty_list() {
assert_eq!(List::new(vec![]).iter().next(), None);
}
#[test]
fn list_map() {
assert_eq!(test_util::make_list().iter().map(|i| {
i.post.slug()
}).collect::<Vec<String>>(), vec![
String::from("2015/jan/25/300-shorts"),
Strin... | 32.015873 | 87 | 0.600397 |
4cdb56b2217e02d4b93f90b3d95944a2f353bf09 | 1,738 | asm | Assembly | src/util/icon/gotolab.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | src/util/icon/gotolab.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | src/util/icon/gotolab.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | * Sprite gotolab
*
* Mode 4
* +----|---------------+
* - g gg gg w w -
* |g g g ww ww |
* |g gg gg wwwww |
* |g g g g wwwww |
* | g g g wwwww |
* | wwwwwwwww |
* | wwwwwww |
* | wwwww |
* | www |
* | w |
* | |
* | w w ww ww w |
* | w w w w w... | 17.38 | 24 | 0.543153 |