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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
264ead018108520a8478776c35bf7acb0a7da8da | 1,231 | java | Java | ch7-hbase/src/main/java/ch7/CH711GenderCount.java | wangyaomail/my-hadoop | d51faf1bddf5d29984f1ea5cfa7bdf4a2847e692 | [
"Apache-2.0"
] | 3 | 2022-03-28T02:04:39.000Z | 2022-03-30T13:43:29.000Z | ch7-hbase/src/main/java/ch7/CH711GenderCount.java | wangyaomail/my-hadoop | d51faf1bddf5d29984f1ea5cfa7bdf4a2847e692 | [
"Apache-2.0"
] | null | null | null | ch7-hbase/src/main/java/ch7/CH711GenderCount.java | wangyaomail/my-hadoop | d51faf1bddf5d29984f1ea5cfa7bdf4a2847e692 | [
"Apache-2.0"
] | null | null | null | package ch7;
import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.client.Result;
import org.apache.hadoop.hbase.client.ResultScanner;
import org.apache.hadoop.hbase.client.Scan;
import org.apache.hadoop.hbase.client.Table;
import org.apache.hadoop.hbase.util.Bytes;
import java.io.IOException;
pub... | 31.564103 | 107 | 0.65069 |
1fa64f92e50afa56aa2a8b1b78e5a499cdf8e631 | 939 | html | HTML | lib/wijmo-5.20193.637/samples/Grid/MultiRow/Paging/angular/src/app.component.html | Thomas080304/sss | 9c409b7233b5291ecf9250ce0028656e5cdfd95a | [
"MIT"
] | 3 | 2019-05-14T06:07:11.000Z | 2019-08-29T01:24:18.000Z | lib/wijmo-5.20193.637/samples/Grid/MultiRow/Paging/angular/src/app.component.html | Thomas080304/sss | 9c409b7233b5291ecf9250ce0028656e5cdfd95a | [
"MIT"
] | 7 | 2021-01-28T19:40:34.000Z | 2022-03-25T18:35:58.000Z | lib/wijmo-5.20193.637/samples/Grid/MultiRow/Paging/angular/src/app.component.html | Thomas080304/sss | 9c409b7233b5291ecf9250ce0028656e5cdfd95a | [
"MIT"
] | 3 | 2019-08-29T01:24:21.000Z | 2021-05-07T02:05:54.000Z | <div class="container-fluid">
<wj-multi-row [itemsSource]="pagedOrders" [layoutDefinition]="layoutDefinition"></wj-multi-row>
<div class="btn-group">
<button type="button" class="btn" (click)="onGotoPageClick('first')" >
<span class="glyphicon glyphicon-fast-backward"></span>
</butto... | 52.166667 | 103 | 0.616613 |
e548d50b8985f63cf2b5c255d106d34b81bbe4b8 | 743 | tsx | TypeScript | src/stackoverflow/59770174/index.enzyme.test.tsx | mrdulin/jest-codelab | d85f355c18a62658a5e153dff8ead691c1c9cf7a | [
"MIT"
] | 86 | 2019-09-15T13:34:42.000Z | 2022-03-25T17:34:30.000Z | src/stackoverflow/59770174/index.enzyme.test.tsx | mrdulin/jest-codelab | d85f355c18a62658a5e153dff8ead691c1c9cf7a | [
"MIT"
] | 3 | 2018-10-09T04:31:30.000Z | 2020-09-06T07:26:42.000Z | src/stackoverflow/59770174/index.enzyme.test.tsx | mrdulin/jest-codelab | d85f355c18a62658a5e153dff8ead691c1c9cf7a | [
"MIT"
] | 31 | 2020-02-19T10:12:41.000Z | 2022-03-05T12:15:45.000Z | import { Button } from '.';
import { shallow } from 'enzyme';
import React from 'react';
describe('59770174', () => {
it('should call action once', (done) => {
let callCount = 0;
const mProps = {
action: jest.fn().mockImplementation(() => {
callCount++;
}),
};
const wrapper = shal... | 25.62069 | 59 | 0.585464 |
4a334c30c77247afced9698195c12d65fafd7ceb | 11,995 | js | JavaScript | resources/assets/js/components/Marks/Create.js | bvipul/student-management-system | c48b824de9f8282b408d5d34e37347f1d6eb9974 | [
"MIT"
] | 2 | 2019-09-26T18:22:39.000Z | 2019-09-27T05:33:21.000Z | resources/assets/js/components/Marks/Create.js | bvipul/student-management-system | c48b824de9f8282b408d5d34e37347f1d6eb9974 | [
"MIT"
] | null | null | null | resources/assets/js/components/Marks/Create.js | bvipul/student-management-system | c48b824de9f8282b408d5d34e37347f1d6eb9974 | [
"MIT"
] | 2 | 2021-08-03T12:36:26.000Z | 2021-12-03T10:02:22.000Z | import React from 'react';
import { Link } from 'react-router-dom';
import { Card, CardHeader, CardBody, CardFooter, Row, Col, Button, Form, FormGroup, Label, Input, FormText, Dropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';
import { reduxForm, Field, formValueSelector } from 'redux-form';
impo... | 33.98017 | 181 | 0.407086 |
db362416f2e6b42356e6ac122953ddf04081ae8c | 389 | asm | Assembly | programs/oeis/204/A204259.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/204/A204259.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/204/A204259.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A204259: Matrix given by f(i,j) = 1 + [(2i+j) mod 3], by antidiagonals.
; 1,2,3,3,1,2,1,2,3,1,2,3,1,2,3,3,1,2,3,1,2,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,3,1,2,3,1,2,3,1,2,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,3,1,2,3,1,2,3,1,2,3,1,2,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3
cal $0,131421 ; Triangle read by rows (n>=1, ... | 43.222222 | 199 | 0.526992 |
01ea1598b7cee4b8d73a17bca9e0adf7d063db3d | 786 | rs | Rust | src/os/macos/mod.rs | yoanlcq/dmc | cf9b0b64e1f9fe2272007013fab21fcc56cbf65d | [
"Apache-2.0",
"MIT"
] | null | null | null | src/os/macos/mod.rs | yoanlcq/dmc | cf9b0b64e1f9fe2272007013fab21fcc56cbf65d | [
"Apache-2.0",
"MIT"
] | null | null | null | src/os/macos/mod.rs | yoanlcq/dmc | cf9b0b64e1f9fe2272007013fab21fcc56cbf65d | [
"Apache-2.0",
"MIT"
] | null | null | null | pub mod hint;
pub use self::hint::set_hint;
pub mod context;
pub use self::context::OsContext;
pub mod window;
pub use self::window::{OsWindow, OsWindowHandle, OsWindowFromHandleParams};
pub mod desktop;
pub mod cursor;
pub use self::cursor::OsCursor;
pub mod gl;
pub use self::gl::{OsGLContext, OsGLPixelFormat, OsGLPro... | 31.44 | 80 | 0.767176 |
7427e87044d258de75fbb4be014bb84ca95cfafb | 989 | h | C | ios/chrome/browser/ui/infobars/infobar_constants.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | ios/chrome/browser/ui/infobars/infobar_constants.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | ios/chrome/browser/ui/infobars/infobar_constants.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_INFOBARS_INFOBAR_CONSTANTS_H_
#define IOS_CHROME_BROWSER_UI_INFOBARS_INFOBAR_CONSTANTS_H_
#import <UIKit/UIKit.h>
extern c... | 41.208333 | 79 | 0.850354 |
755fc44bb2cf32c997cef825796e8e57341fe3a5 | 11,547 | h | C | src/engine/contactsengine.h | sailfishos/qtcontacts-sqlite | 8c2f2960b8b5d57e21fa9120632f78c0fe1330de | [
"BSD-3-Clause"
] | null | null | null | src/engine/contactsengine.h | sailfishos/qtcontacts-sqlite | 8c2f2960b8b5d57e21fa9120632f78c0fe1330de | [
"BSD-3-Clause"
] | 3 | 2021-10-05T03:07:30.000Z | 2022-01-31T15:41:12.000Z | src/engine/contactsengine.h | sailfishos/qtcontacts-sqlite | 8c2f2960b8b5d57e21fa9120632f78c0fe1330de | [
"BSD-3-Clause"
] | 2 | 2021-10-02T19:29:16.000Z | 2021-10-03T14:49:14.000Z | /*
* Copyright (c) 2013 - 2019 Jolla Ltd.
* Copyright (c) 2019 - 2020 Open Mobile Platform LLC.
*
* You may use this file under the terms of the BSD license as follows:
*
* "Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are... | 48.313808 | 170 | 0.718455 |
aba95a87b4fa19b8bcff3adc9b7d00b5a945d90e | 25 | sql | SQL | src/test/data/sql/syntax/clause/InnerCrossJoinClause07.sql | azuki-framework/azuki-sql | 2519259ef8d8a14f0956f22d08a080eb7e3dd016 | [
"Apache-2.0"
] | null | null | null | src/test/data/sql/syntax/clause/InnerCrossJoinClause07.sql | azuki-framework/azuki-sql | 2519259ef8d8a14f0956f22d08a080eb7e3dd016 | [
"Apache-2.0"
] | null | null | null | src/test/data/sql/syntax/clause/InnerCrossJoinClause07.sql | azuki-framework/azuki-sql | 2519259ef8d8a14f0956f22d08a080eb7e3dd016 | [
"Apache-2.0"
] | null | null | null | NATURAL JOIN
table01
| 8.333333 | 12 | 0.72 |
c42bd36c847e7d2cd2d1e6e21915ff42be08b766 | 4,162 | kt | Kotlin | app/src/main/java/com/f2h/f2h_admin/screens/group/notification/NotificationViewModel.kt | Farm2Home/f2h_admin | a60352840b9dd591e30f4bbeb571d1c0ad8b8319 | [
"MIT"
] | null | null | null | app/src/main/java/com/f2h/f2h_admin/screens/group/notification/NotificationViewModel.kt | Farm2Home/f2h_admin | a60352840b9dd591e30f4bbeb571d1c0ad8b8319 | [
"MIT"
] | null | null | null | app/src/main/java/com/f2h/f2h_admin/screens/group/notification/NotificationViewModel.kt | Farm2Home/f2h_admin | a60352840b9dd591e30f4bbeb571d1c0ad8b8319 | [
"MIT"
] | null | null | null | package com.f2h.f2h_admin.screens.group.notification
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.f2h.f2h_admin.database.SessionDatabaseDao
import com.f2h.f2h_admin.database.SessionEntity
import com.f2h... | 34.97479 | 129 | 0.634551 |
2a4dabde0d8a1f8bd7c5171e487c2baec35a95ad | 11,792 | java | Java | src/bftsmart/tom/server/defaultservices/blockchain/logger/ParallelBatchLogger.java | andrefboliveira/BFT-SMaRt | 8dfc81c3b1007a67bb4ec5e1f6a7925918867963 | [
"Apache-2.0"
] | null | null | null | src/bftsmart/tom/server/defaultservices/blockchain/logger/ParallelBatchLogger.java | andrefboliveira/BFT-SMaRt | 8dfc81c3b1007a67bb4ec5e1f6a7925918867963 | [
"Apache-2.0"
] | null | null | null | src/bftsmart/tom/server/defaultservices/blockchain/logger/ParallelBatchLogger.java | andrefboliveira/BFT-SMaRt | 8dfc81c3b1007a67bb4ec5e1f6a7925918867963 | [
"Apache-2.0"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package bftsmart.tom.server.defaultservices.blockchain.logger;
import bftsmart.tom.server.defaultservices.blockchain.BatchLogger;
impo... | 30.549223 | 177 | 0.584634 |
f03eb626ad42ac062fec3e020194ee07b262ecc5 | 1,145 | js | JavaScript | src/apps/forms/models/response.js | mahaplatform/mahaplatform.com | a96d8f7b12288c7cb01b036077182238c77d5b03 | [
"MIT"
] | null | null | null | src/apps/forms/models/response.js | mahaplatform/mahaplatform.com | a96d8f7b12288c7cb01b036077182238c77d5b03 | [
"MIT"
] | 52 | 2019-10-28T15:38:35.000Z | 2022-02-28T04:23:48.000Z | src/apps/forms/models/response.js | mahaplatform/mahaplatform.com | a96d8f7b12288c7cb01b036077182238c77d5b03 | [
"MIT"
] | null | null | null | import WorkflowEnrollment from '@apps/automation/models/workflow_enrollment'
import Invoice from '@apps/finance/models/invoice'
import Payment from '@apps/finance/models/payment'
import knex from '@core/vendor/knex/maha'
import Model from '@core/objects/model'
import Contact from '@apps/crm/models/contact'
import Form ... | 22.45098 | 109 | 0.682969 |
5849506e54e906ae90d218cdbce77c1df1e84d96 | 356 | h | C | BS/baselines/gpu/binary_search.h | SNU-ARC/prim-benchmarks | 5f6ccfd0eac171fbeb922d6660dbc792b29b0676 | [
"MIT"
] | 41 | 2021-06-18T03:11:07.000Z | 2022-03-24T10:53:43.000Z | BS/baselines/gpu/binary_search.h | SNU-ARC/prim-benchmarks | 5f6ccfd0eac171fbeb922d6660dbc792b29b0676 | [
"MIT"
] | 3 | 2021-08-17T06:22:36.000Z | 2022-02-23T07:13:47.000Z | BS/baselines/gpu/binary_search.h | SNU-ARC/prim-benchmarks | 5f6ccfd0eac171fbeb922d6660dbc792b29b0676 | [
"MIT"
] | 18 | 2021-06-24T07:37:29.000Z | 2022-01-10T08:18:18.000Z | #ifndef BINARY_SEARCH_H
#define BINARY_SEARCH_H
#ifdef _WIN32
#include <windows.h>
#define DLL_EXPORT __declspec(dllexport)
#else
#define DLL_EXPORT
#endif
extern "C" {
int DLL_EXPORT binary_search(const long int *arr, const long int len, const long int *querys, const long int num_querys);
... | 18.736842 | 126 | 0.705056 |
979f6e9d17e600cd654823f3b28d3a9064c39121 | 307 | kt | Kotlin | app/src/main/java/com/cursoandroid/youflix/navigationBar/videosScreen/repository/GroupVideosListRepository.kt | velosobr/youflix | 468594a0d00556c611298d3d4a7b3bbbf933f78f | [
"MIT"
] | null | null | null | app/src/main/java/com/cursoandroid/youflix/navigationBar/videosScreen/repository/GroupVideosListRepository.kt | velosobr/youflix | 468594a0d00556c611298d3d4a7b3bbbf933f78f | [
"MIT"
] | 6 | 2020-05-12T20:34:54.000Z | 2020-06-05T20:30:48.000Z | app/src/main/java/com/cursoandroid/youflix/navigationBar/videosScreen/repository/GroupVideosListRepository.kt | velosobr/youflix | 468594a0d00556c611298d3d4a7b3bbbf933f78f | [
"MIT"
] | null | null | null | package com.cursoandroid.youflix.navigationBar.videosScreen.repository
import com.cursoandroid.youflix.navigationBar.videosScreen.repository.service.GroupVideosListCallbacks
interface GroupVideosListRepository {
fun returnGroupMovieListRepository(groupVideosListCallbacks: GroupVideosListCallbacks)
}
| 38.375 | 102 | 0.889251 |
597930d850d7f6c62d8c2ec71bb9f2604706a714 | 820 | swift | Swift | lakes/MapLakes/Modules/MapRouter.swift | DemoCodeProfile/Lakes-iOS-MVVM | 32783cd411ff11fe53819394cac3e4c947d2214f | [
"MIT"
] | null | null | null | lakes/MapLakes/Modules/MapRouter.swift | DemoCodeProfile/Lakes-iOS-MVVM | 32783cd411ff11fe53819394cac3e4c947d2214f | [
"MIT"
] | null | null | null | lakes/MapLakes/Modules/MapRouter.swift | DemoCodeProfile/Lakes-iOS-MVVM | 32783cd411ff11fe53819394cac3e4c947d2214f | [
"MIT"
] | null | null | null | //
// MapRouter.swift
// lakes
//
// Created by Vadim K on 12.09.2018.
// Copyright © 2018 Vadim K. All rights reserved.
//
import UIKit
protocol MapWireframeProtocol {
func toLakeDetails(_ lake: Lake)
}
final class MapRouter: MapWireframeProtocol {
var viewController: MapViewController
ini... | 25.625 | 165 | 0.684146 |
1678e9518419984d2dcce8c514451440e0238609 | 455 | h | C | src/ddb_bits.h | josephpohlmann/discodb | bdf3bcee4e8e5b254fb15e31fd702fd620aae003 | [
"BSD-3-Clause"
] | 77 | 2015-01-06T01:01:44.000Z | 2021-11-16T15:23:43.000Z | src/ddb_bits.h | DavidAlphaFox/discodb | 739fe9ebe6358194bf051a655dc1e7f3d9dc5c35 | [
"BSD-3-Clause"
] | 7 | 2015-02-19T18:16:12.000Z | 2018-10-03T14:00:19.000Z | src/ddb_bits.h | DavidAlphaFox/discodb | 739fe9ebe6358194bf051a655dc1e7f3d9dc5c35 | [
"BSD-3-Clause"
] | 18 | 2015-03-11T16:52:40.000Z | 2021-12-19T20:42:28.000Z |
#ifndef __DDB_BITS_H__
#define __DDB_BITS_H__
#include <stdint.h>
static uint32_t read_bits(const char *src, uint64_t offs, uint32_t bits)
{
uint64_t *src_w = (uint64_t*)&src[offs >> 3];
return (*src_w >> (offs & 7)) & ((((uint64_t)1) << bits) - 1);
}
static void write_bits(char *dst, uint64_t offs, uint32_... | 22.75 | 72 | 0.63956 |
b6262e272791ea4087de7770a9b03ab403cb1878 | 526 | rb | Ruby | app/models/space.rb | jamesdabbs/pi-base | 33e5bd976397e1be80bab5aaf9bd3403bc0fe80e | [
"MIT"
] | 2 | 2015-02-26T01:09:04.000Z | 2015-08-22T19:51:00.000Z | app/models/space.rb | jamesdabbs/pi-base | 33e5bd976397e1be80bab5aaf9bd3403bc0fe80e | [
"MIT"
] | null | null | null | app/models/space.rb | jamesdabbs/pi-base | 33e5bd976397e1be80bab5aaf9bd3403bc0fe80e | [
"MIT"
] | null | null | null | class Space < ActiveRecord::Base
has_paper_trail only: [:name, :description]
validates :name, :description, presence: true
has_many :traits, dependent: :destroy
include Search
def self.by_formula fs
ids = fs.map { |f, val| Formula.load(f).spaces(val) }.inject &:&
Space.find ids
end
def to_s
... | 18.137931 | 68 | 0.674905 |
0b2c80d7a15d0992c9cd36053f2bd2c20080f7ef | 1,188 | kt | Kotlin | app/src/main/java/me/cyber/nukleos/ui/predict/PredictionResultReceiver.kt | kyr7/nukleos | 0a1691d7ee2c88e9de8480ac4df49694bdaaced9 | [
"Apache-2.0"
] | 19 | 2018-07-19T22:19:39.000Z | 2022-02-09T13:52:52.000Z | app/src/main/java/me/cyber/nukleos/ui/predict/PredictionResultReceiver.kt | cyber-punk-me/nukleos | 03fad246834e6c569e301b005037849bdfccb664 | [
"Apache-2.0"
] | 2 | 2019-04-28T09:52:54.000Z | 2019-08-24T15:04:09.000Z | app/src/main/java/me/cyber/nukleos/ui/predict/PredictionResultReceiver.kt | cyber-punk-me/nukleos | 03fad246834e6c569e301b005037849bdfccb664 | [
"Apache-2.0"
] | 11 | 2018-07-16T07:35:44.000Z | 2021-09-30T08:51:27.000Z | package me.cyber.nukleos.ui.predict
import android.os.Bundle
import android.os.Handler
import android.os.ResultReceiver
class PredictionResultReceiver(
private val predictionCallback: (predictedClass: Int, distribution: FloatArray) -> Unit,
private val errorCallback: (error: String) -> Unit
) :
... | 38.322581 | 96 | 0.694444 |
26122d07dd465f041398bab9576cc3352c4ce9ad | 19,869 | java | Java | app/src/main/java/org/andstatus/app/origin/OriginType.java | dengzhicheng092/andstatus | a8b709cf094ae58eacc83af2d6eb9c3128a1eb99 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/org/andstatus/app/origin/OriginType.java | dengzhicheng092/andstatus | a8b709cf094ae58eacc83af2d6eb9c3128a1eb99 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/org/andstatus/app/origin/OriginType.java | dengzhicheng092/andstatus | a8b709cf094ae58eacc83af2d6eb9c3128a1eb99 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2014 yvolk (Yuri Volkov), http://yurivolkov.com
*
* 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 requ... | 39.817635 | 123 | 0.653682 |
7694d6037d71310f3523f90ad4b917ca6822d22b | 6,937 | lua | Lua | DMGInformer/lib/SAMemory/game/definitions.lua | Montrii/LUA-SAMP-DMGInformer | 31fab2ef7db293f9a713801abbca266ee71736a8 | [
"MIT"
] | 2 | 2021-07-07T11:21:24.000Z | 2022-01-07T19:56:54.000Z | DMGInformer/lib/SAMemory/game/definitions.lua | Montrii/LUA-SAMP-DMGInformer | 31fab2ef7db293f9a713801abbca266ee71736a8 | [
"MIT"
] | 1 | 2021-11-09T17:44:31.000Z | 2021-11-11T14:32:55.000Z | DMGInformer/lib/SAMemory/game/definitions.lua | Montrii/SAMP-DMGInformer | 31fab2ef7db293f9a713801abbca266ee71736a8 | [
"MIT"
] | null | null | null | local ffi = require 'ffi'
ffi.cdef[[
typedef enum eAudioPedType eAudioPedType;
typedef enum eSoundEnvironment eSoundEnvironment;
typedef enum eCopType eCopType;
typedef enum eObjectType eObjectType;
typedef enum eMoveState eMoveState;
typedef enum ePedStats ePedStats;
typedef enum eCarWeapon eCarWeapon... | 40.567251 | 79 | 0.83206 |
d2c42f2a74e98705aeeefe6d77598e12fdc80191 | 6,086 | php | PHP | resources/views/rute/index.blade.php | jainalpermana/Aplikasi_Ticketing | 491aa74acc23d7bb2c1b4051a06b9d3fb490001e | [
"MIT"
] | null | null | null | resources/views/rute/index.blade.php | jainalpermana/Aplikasi_Ticketing | 491aa74acc23d7bb2c1b4051a06b9d3fb490001e | [
"MIT"
] | null | null | null | resources/views/rute/index.blade.php | jainalpermana/Aplikasi_Ticketing | 491aa74acc23d7bb2c1b4051a06b9d3fb490001e | [
"MIT"
] | null | null | null | @if(Auth::user()->jabatan == 'admin')
@extends('layouts.app1')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Input Rute</div>
<div class="panel-body">
... | 42.859155 | 173 | 0.341932 |
185af48602662764c4fc5fd5976757d08f8cae91 | 1,550 | rb | Ruby | test/integration/users_login_test.rb | danpaulgo/rails-tutorial-sample-app | b6d974d8fc04f17f90ae222eb130e3efe82da1e6 | [
"Ruby",
"Beerware",
"MIT"
] | 1 | 2017-04-30T18:58:34.000Z | 2017-04-30T18:58:34.000Z | test/integration/users_login_test.rb | danpaulgo/rails-tutorial-sample-app | b6d974d8fc04f17f90ae222eb130e3efe82da1e6 | [
"Ruby",
"Beerware",
"MIT"
] | null | null | null | test/integration/users_login_test.rb | danpaulgo/rails-tutorial-sample-app | b6d974d8fc04f17f90ae222eb130e3efe82da1e6 | [
"Ruby",
"Beerware",
"MIT"
] | null | null | null | require 'test_helper'
class UsersLoginTest < ActionDispatch::IntegrationTest
def setup
@user = users(:daniel)
end
test "flash message disappears on second page" do
User.create(email: "user@example.com", password: "password")
get login_path
post login_path, params: {session:{email: "user@example... | 30.392157 | 138 | 0.710323 |
265a205d9eb9ec5d3e775513893ad9006dc14af6 | 778 | java | Java | Generics/src/estruturaChaveValor/Par.java | brunofaria27/Curso-Java-Udemy | 42406ca75b3565e660293af11efbfc1fc4e6da97 | [
"MIT"
] | 1 | 2021-07-08T09:37:37.000Z | 2021-07-08T09:37:37.000Z | Generics/src/estruturaChaveValor/Par.java | brunofaria27/Curso-Java-Udemy | 42406ca75b3565e660293af11efbfc1fc4e6da97 | [
"MIT"
] | null | null | null | Generics/src/estruturaChaveValor/Par.java | brunofaria27/Curso-Java-Udemy | 42406ca75b3565e660293af11efbfc1fc4e6da97 | [
"MIT"
] | null | null | null | package estruturaChaveValor;
import java.util.Objects;
public class Par<K, V> {
public K chave;
public V valor;
public Par() {
}
public Par(K chave, V valor) {
this.chave = chave;
this.valor = valor;
}
public K getChave() {
return chave;
}
public void setChave(K chave) {
this.chave = chave;... | 14.961538 | 44 | 0.641388 |
dd8d7879aff300677a3bebedf8c4e2c7b9f0a1e8 | 70 | php | PHP | addons/ewei_shopv2/plugin/creditshop/core/page_mobile.php | xunexploit/phpdan9 | 2390ad9b62c6424d158c265b49b3a2ed6a3e3c41 | [
"Apache-2.0"
] | null | null | null | addons/ewei_shopv2/plugin/creditshop/core/page_mobile.php | xunexploit/phpdan9 | 2390ad9b62c6424d158c265b49b3a2ed6a3e3c41 | [
"Apache-2.0"
] | null | null | null | addons/ewei_shopv2/plugin/creditshop/core/page_mobile.php | xunexploit/phpdan9 | 2390ad9b62c6424d158c265b49b3a2ed6a3e3c41 | [
"Apache-2.0"
] | null | null | null | <?php
class CreditshopMobilePage extends PluginMobilePage
{}
?>
| 11.666667 | 52 | 0.728571 |
26242ef64fbd8d27f9918fc3701119f9bb5c94f9 | 10,256 | java | Java | src/main/java/de/schildbach/pte/AustraliaProvider.java | Transportflow/Transportflow-Backend | bcade59babf904431b01071926756e00c11cbb72 | [
"BSD-3-Clause"
] | 1 | 2020-03-16T15:38:54.000Z | 2020-03-16T15:38:54.000Z | src/main/java/de/schildbach/pte/AustraliaProvider.java | Transportflow/Transportflow-Backend | bcade59babf904431b01071926756e00c11cbb72 | [
"BSD-3-Clause"
] | 3 | 2020-02-19T15:07:05.000Z | 2020-10-04T17:52:36.000Z | src/main/java/de/schildbach/pte/AustraliaProvider.java | Transportflow/Transportflow-Backend | bcade59babf904431b01071926756e00c11cbb72 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2017 the original author or authors.
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This p... | 61.783133 | 122 | 0.682137 |
2e4eb236dee1cfe593ed669399ae7ce86efaf518 | 1,540 | sql | SQL | ch06/final/guitarwars.sql | bfprivati/PHP | 0d34f2d79a634a4a5e0d3b884965997111cc6984 | [
"MIT"
] | null | null | null | ch06/final/guitarwars.sql | bfprivati/PHP | 0d34f2d79a634a4a5e0d3b884965997111cc6984 | [
"MIT"
] | null | null | null | ch06/final/guitarwars.sql | bfprivati/PHP | 0d34f2d79a634a4a5e0d3b884965997111cc6984 | [
"MIT"
] | null | null | null | CREATE TABLE `guitarwars` (
`id` INT AUTO_INCREMENT,
`date` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
`name` VARCHAR(32),
`score` INT,
`screenshot` VARCHAR(64),
`approved` TINYINT(1) DEFAULT 0,
PRIMARY KEY (`id`),
KEY `name` (`name`)
);
INSERT INTO `guitarwars` VALUES (21, '2008-05-01 20:36:07', 'Belita Che... | 64.166667 | 112 | 0.686364 |
beac54d362791ad2bad706ba23fd40278dd2abe5 | 3,222 | rs | Rust | rbus-derive/src/types/derive/mod.rs | KokaKiwi/rbus | e00ca507bfef22cea5a9fc6c77ef318c83920147 | [
"BSD-3-Clause"
] | null | null | null | rbus-derive/src/types/derive/mod.rs | KokaKiwi/rbus | e00ca507bfef22cea5a9fc6c77ef318c83920147 | [
"BSD-3-Clause"
] | null | null | null | rbus-derive/src/types/derive/mod.rs | KokaKiwi/rbus | e00ca507bfef22cea5a9fc6c77ef318c83920147 | [
"BSD-3-Clause"
] | null | null | null | use super::{gen_proxy_methods, ImplGenerator};
use crate::utils::*;
use derive_enum::*;
use derive_struct::*;
pub use fields::*;
use proc_macro2::{Span, TokenStream};
use std::convert::{TryFrom, TryInto};
use syn::parse::{Parse, ParseStream, Result};
pub use variants::*;
mod derive_enum;
mod derive_struct;
mod fields;... | 28.767857 | 113 | 0.607387 |
0ca33e888a8c5506799931e71fe1070bf6588145 | 3,758 | py | Python | we_sensesim.py | y95847frank/GenSense | 0da122bea9b7bd51444748444700b5f788bd8a48 | [
"MIT"
] | 3 | 2018-05-31T05:52:18.000Z | 2019-12-20T07:15:56.000Z | we_sensesim.py | y95847frank/GenSense | 0da122bea9b7bd51444748444700b5f788bd8a48 | [
"MIT"
] | null | null | null | we_sensesim.py | y95847frank/GenSense | 0da122bea9b7bd51444748444700b5f788bd8a48 | [
"MIT"
] | null | null | null | import numpy as np
import sys
import utils
import os
from collections import defaultdict
from nltk.corpus import wordnet as wn
from scipy.spatial.distance import cosine
from scipy.spatial.distance import correlation
from numpy.linalg import norm
from scipy.stats import spearmanr, pearsonr
from utils import trim
import... | 33.256637 | 140 | 0.549228 |
9698c1b8ad14af65b2ff76499df2e19d1964c839 | 99,658 | html | HTML | source/fansites/news/t-1473427.html | StuartKent17/WoWNotes | f1d272a6d3239a0996a88b27fa93e4bf7765f46d | [
"AAL"
] | null | null | null | source/fansites/news/t-1473427.html | StuartKent17/WoWNotes | f1d272a6d3239a0996a88b27fa93e4bf7765f46d | [
"AAL"
] | 1 | 2021-05-10T14:48:29.000Z | 2021-05-10T14:48:29.000Z | source/fansites/news/t-1473427.html | StuartKent17/WoWNotes | f1d272a6d3239a0996a88b27fa93e4bf7765f46d | [
"AAL"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="that, flying, and, the, le... | 144.851744 | 856 | 0.716059 |
577b7f7b2eb02cdf6e89fb999660f8de25db2c67 | 13,021 | h | C | RIFE/rife_v2_flow_tta_avg.comp.hex.h | HomeOfVapourSynthEvolution/VapourSynth-RIFE | f821053e0e3b98f3eb6f98ae07edd8ecc2b3dd18 | [
"MIT"
] | 39 | 2021-05-31T11:16:21.000Z | 2022-03-30T23:01:56.000Z | RIFE/rife_v2_flow_tta_avg.comp.hex.h | DaGooseYT/VapourSynth-RIFE-ncnn-Vulkan | d66004fd4bc2bf8a7e8f7d5629a496a63ad317bc | [
"MIT"
] | 11 | 2021-06-02T21:40:37.000Z | 2022-03-19T10:28:15.000Z | RIFE/rife_v2_flow_tta_avg.comp.hex.h | DaGooseYT/VapourSynth-RIFE-ncnn-Vulkan | d66004fd4bc2bf8a7e8f7d5629a496a63ad317bc | [
"MIT"
] | 1 | 2022-01-07T01:55:43.000Z | 2022-01-07T01:55:43.000Z | static const char rife_v2_flow_tta_avg_comp_data[] = {0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x35,0x30,0x0d,0x0a,0x0d,0x0a,0x23,0x69,0x66,0x20,0x4e,0x43,0x4e,0x4e,0x5f,0x66,0x70,0x31,0x36,0x5f,0x73,0x74,0x6f,0x72,0x61,0x67,0x65,0x0d,0x0a,0x23,0x65,0x78,0x74,0x65,0x6e,0x73,0x69,0x6f,0x6e,0x20,0x47,0x4c,0x5f,0... | 6,510.5 | 13,020 | 0.800015 |
de9e3cbfeb9caee6164895e5e997e0101d3ff54f | 19,524 | rs | Rust | frb_codegen/src/source_graph.rs | AlienKevin/flutter_rust_bridge | 37ebac9f0ec26a1293374640d52a8b6f4e8bc277 | [
"MIT"
] | 764 | 2021-10-04T10:10:49.000Z | 2022-03-31T16:30:50.000Z | frb_codegen/src/source_graph.rs | AlienKevin/flutter_rust_bridge | 37ebac9f0ec26a1293374640d52a8b6f4e8bc277 | [
"MIT"
] | 199 | 2021-10-04T19:16:29.000Z | 2022-03-31T09:48:53.000Z | frb_codegen/src/source_graph.rs | AlienKevin/flutter_rust_bridge | 37ebac9f0ec26a1293374640d52a8b6f4e8bc277 | [
"MIT"
] | 42 | 2021-10-04T17:10:51.000Z | 2022-03-25T23:21:29.000Z | /*
Things this doesn't currently support that it might need to later:
- Import parsing is unfinished and so is currently disabled
- When import parsing is enabled:
- Import renames (use a::b as c) - these are silently ignored
- Imports that start with two colons (use ::a::b) - these are als... | 35.241877 | 128 | 0.444376 |
712008a6be22fd7fe73e41dad653a670bca85172 | 565 | ts | TypeScript | src/app/layout/samsung/samsung.module.ts | IbraheemUmer/ems-frontend | ed182f86051e08d5f4893a6a5963382b560698b4 | [
"Apache-2.0"
] | null | null | null | src/app/layout/samsung/samsung.module.ts | IbraheemUmer/ems-frontend | ed182f86051e08d5f4893a6a5963382b560698b4 | [
"Apache-2.0"
] | null | null | null | src/app/layout/samsung/samsung.module.ts | IbraheemUmer/ems-frontend | ed182f86051e08d5f4893a6a5963382b560698b4 | [
"Apache-2.0"
] | null | null | null | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { SamsungRoutingModule } from './samsung-routing.module';
import { SamsungComponent } from './samsung.component';
import { PageHeaderModule } from './../../shared';
import { DeviceComponent } from './device/device.component... | 43.461538 | 71 | 0.741593 |
2a08238d99832bc12a8b385cc006673ab1ee3ca8 | 305 | java | Java | pandroid-demo/src/templates/java/com/leroymerlin/pandroid/templates/feature/FeatureFragmentOpener.java | xerib59/pandroid | bf831eed2928be4b1f1b3e95fdabb7394567609a | [
"Apache-2.0"
] | 29 | 2016-05-02T15:20:14.000Z | 2021-10-30T20:13:28.000Z | pandroid-demo/src/templates/java/com/leroymerlin/pandroid/templates/feature/FeatureFragmentOpener.java | chimanos/pandroid | bf831eed2928be4b1f1b3e95fdabb7394567609a | [
"Apache-2.0"
] | 5 | 2016-10-19T11:48:14.000Z | 2017-08-23T09:04:21.000Z | pandroid-demo/src/templates/java/com/leroymerlin/pandroid/templates/feature/FeatureFragmentOpener.java | chimanos/pandroid | bf831eed2928be4b1f1b3e95fdabb7394567609a | [
"Apache-2.0"
] | 10 | 2016-05-26T14:47:37.000Z | 2018-12-11T15:30:48.000Z | package com.leroymerlin.pandroid.templates.feature;
import com.leroymerlin.pandroid.event.opener.FragmentOpener;
/**
* Created by florian on 11/10/2017.
*/
public class FeatureFragmentOpener extends FragmentOpener {
public FeatureFragmentOpener() {
super(FeatureFragment.class);
}
}
| 20.333333 | 60 | 0.75082 |
363df0d6d805ae36510e5faa4f8f9196c6172b52 | 9,440 | swift | Swift | MtsInvestGrpcService/Classes/GRPC/Services/InstrumentService.swift | pastmos/MtsInvestGrpcService | 11331bd3ea9d8143fd0a7c50fb35b8a45f4ecc74 | [
"MIT"
] | null | null | null | MtsInvestGrpcService/Classes/GRPC/Services/InstrumentService.swift | pastmos/MtsInvestGrpcService | 11331bd3ea9d8143fd0a7c50fb35b8a45f4ecc74 | [
"MIT"
] | null | null | null | MtsInvestGrpcService/Classes/GRPC/Services/InstrumentService.swift | pastmos/MtsInvestGrpcService | 11331bd3ea9d8143fd0a7c50fb35b8a45f4ecc74 | [
"MIT"
] | null | null | null | //
// InstrumentsService.swift
// MtsInvestGrpcService
//
// Created by Юрий Султанов on 22.07.2021.
//
import GRPC
import NIO
protocol AnyInstrumentService: AnyObject {
func getInstrumentsList(
callOptions: CallOptions,
completion: @escaping (Result<[INVInstrumentBrief], INVError>) -> Void)
... | 35.757576 | 108 | 0.569068 |
26a1ef78fff0f7214a9bc9ef5d3bb3cce1e9940f | 2,727 | java | Java | src/com/google/enterprise/quality/sxse/servlet/JudgmentServlet.java | mcplusa/sxse | 5a8bc39b0e26399cb05f91b5b74d736ff020efcf | [
"Apache-2.0"
] | null | null | null | src/com/google/enterprise/quality/sxse/servlet/JudgmentServlet.java | mcplusa/sxse | 5a8bc39b0e26399cb05f91b5b74d736ff020efcf | [
"Apache-2.0"
] | null | null | null | src/com/google/enterprise/quality/sxse/servlet/JudgmentServlet.java | mcplusa/sxse | 5a8bc39b0e26399cb05f91b5b74d736ff020efcf | [
"Apache-2.0"
] | null | null | null | // Copyright 2009 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | 30.988636 | 75 | 0.745875 |
652f515638fabbdc29fa03743668cd7f3bcdf458 | 830 | py | Python | src/seedbox/migrations/versions/35099fc974d2_.py | nailgun/seedbox | d124f71017dbbe5af81592e76933809b5cdddb08 | [
"Apache-2.0"
] | 29 | 2017-03-22T23:12:56.000Z | 2021-05-29T23:40:50.000Z | src/seedbox/migrations/versions/35099fc974d2_.py | macduff23/seedbox | d124f71017dbbe5af81592e76933809b5cdddb08 | [
"Apache-2.0"
] | 27 | 2017-04-10T14:00:11.000Z | 2017-12-01T06:56:15.000Z | src/seedbox/migrations/versions/35099fc974d2_.py | macduff23/seedbox | d124f71017dbbe5af81592e76933809b5cdddb08 | [
"Apache-2.0"
] | 6 | 2017-04-10T09:17:32.000Z | 2020-01-25T02:08:21.000Z | """empty message
Revision ID: 35099fc974d2
Revises: ae00e7974dca
Create Date: 2017-05-19 17:01:48.878196
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '35099fc974d2'
down_revision = 'ae00e7974dca'
branch_labels = None
depends_on = None
def upgrade():
op... | 28.62069 | 117 | 0.749398 |
3318dead767f04f859f302ca3cf27d38474b142d | 5,739 | py | Python | venv/Lib/site-packages/PyQt4/examples/designer/calculatorform/ui_calculatorform.py | prateekfxtd/ns_Startup | 095a62b3a8c7bf0ff7b767355d57d993bbd2423d | [
"MIT"
] | 1 | 2022-03-16T02:10:30.000Z | 2022-03-16T02:10:30.000Z | venv/Lib/site-packages/PyQt4/examples/designer/calculatorform/ui_calculatorform.py | prateekfxtd/ns_Startup | 095a62b3a8c7bf0ff7b767355d57d993bbd2423d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/PyQt4/examples/designer/calculatorform/ui_calculatorform.py | prateekfxtd/ns_Startup | 095a62b3a8c7bf0ff7b767355d57d993bbd2423d | [
"MIT"
] | 2 | 2019-05-28T11:58:59.000Z | 2020-09-23T17:21:19.000Z | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'calculatorform.ui'
#
# Created: Mon Jan 23 13:21:45 2006
# by: PyQt4 UI code generator vsnapshot-20060120
#
# WARNING! All changes made in this file will be lost!
import sys
from PyQt4 import QtCore, QtGui
class Ui_CalculatorForm(obje... | 47.429752 | 343 | 0.699076 |
c1edcdd8493e6457f8f9ab7bc45f2af3b43f2bc2 | 188 | rs | Rust | src/ed25519.rs | ipaljak-tbtl/yubihsm.rs | a1d05480264d8797b4b861168f721b095cdfca25 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/ed25519.rs | ipaljak-tbtl/yubihsm.rs | a1d05480264d8797b4b861168f721b095cdfca25 | [
"Apache-2.0",
"MIT"
] | 7 | 2022-02-17T13:26:46.000Z | 2022-03-16T13:30:57.000Z | src/ed25519.rs | ipaljak-tbtl/yubihsm.rs | a1d05480264d8797b4b861168f721b095cdfca25 | [
"Apache-2.0",
"MIT"
] | null | null | null | //! Ed25519 digital signature algorithm support
pub(crate) mod commands;
mod public_key;
mod signer;
pub use self::{public_key::PublicKey, signer::Signer};
pub use ::ed25519::Signature;
| 20.888889 | 54 | 0.760638 |
b0db8e17f2bd2cfa3ff75d359ef7ad1be5e23d90 | 8,042 | rs | Rust | bip78/src/uri.rs | Kixunil/payjoin | f5158c3991a3e51a30c76cfe053dce95c6906f70 | [
"MITNFA"
] | 11 | 2021-07-28T19:16:04.000Z | 2022-03-22T21:29:24.000Z | bip78/src/uri.rs | Kixunil/payjoin | f5158c3991a3e51a30c76cfe053dce95c6906f70 | [
"MITNFA"
] | 22 | 2021-07-28T17:21:55.000Z | 2022-03-28T14:34:25.000Z | bip78/src/uri.rs | Kixunil/payjoin | f5158c3991a3e51a30c76cfe053dce95c6906f70 | [
"MITNFA"
] | 3 | 2021-07-29T05:32:00.000Z | 2022-03-03T04:08:58.000Z | use std::borrow::Cow;
use std::convert::{TryFrom, TryInto};
#[cfg(feature = "sender")]
use crate::sender;
#[derive(Debug, Clone)]
pub enum PayJoin<'a> {
Supported(PayJoinParams<'a>),
Unsupported,
}
impl<'a> PayJoin<'a> {
pub fn pj_is_supported(&self) -> bool {
match self {
PayJoin::Sup... | 32.959016 | 177 | 0.584307 |
dd11dbd635362054dadd3b141f67a6cc9f5b54bc | 4,303 | go | Go | environment/container/kubernetes/kubernetes.go | hown3d/colima | d99e306af18b4459ea1562434899756b234816d6 | [
"MIT"
] | null | null | null | environment/container/kubernetes/kubernetes.go | hown3d/colima | d99e306af18b4459ea1562434899756b234816d6 | [
"MIT"
] | null | null | null | environment/container/kubernetes/kubernetes.go | hown3d/colima | d99e306af18b4459ea1562434899756b234816d6 | [
"MIT"
] | null | null | null | package kubernetes
import (
"strings"
"time"
"github.com/abiosoft/colima/cli"
"github.com/abiosoft/colima/config"
"github.com/abiosoft/colima/environment"
"github.com/abiosoft/colima/environment/container/containerd"
"github.com/abiosoft/colima/environment/container/docker"
)
// Name is container runtime name... | 20.88835 | 101 | 0.668603 |
84bc6f399294e167ca18590cba366e372d8387bf | 122 | swift | Swift | Tests/LinuxMain.swift | NiekvandenBogaard/SwiftFetch | 195240383d3d2494b52d6dbb128a6efcab30a92d | [
"MIT"
] | null | null | null | Tests/LinuxMain.swift | NiekvandenBogaard/SwiftFetch | 195240383d3d2494b52d6dbb128a6efcab30a92d | [
"MIT"
] | null | null | null | Tests/LinuxMain.swift | NiekvandenBogaard/SwiftFetch | 195240383d3d2494b52d6dbb128a6efcab30a92d | [
"MIT"
] | null | null | null | import XCTest
import SwiftFetchTests
var tests = [XCTestCaseEntry]()
tests += SwiftFetchTests.allTests()
XCTMain(tests)
| 15.25 | 35 | 0.786885 |
5fdcf3641a647f2e6c52161c6922743b5d1c40fa | 2,215 | h | C | include/kern/errno.h | p-durlej/newsys | 314956b8ca463b8d7cc9b30de2be2d4247adf432 | [
"BSD-2-Clause"
] | 70 | 2016-10-26T14:31:35.000Z | 2022-01-06T15:07:29.000Z | include/kern/errno.h | p-durlej/newsys | 314956b8ca463b8d7cc9b30de2be2d4247adf432 | [
"BSD-2-Clause"
] | 5 | 2017-11-10T23:08:26.000Z | 2021-05-03T14:15:39.000Z | include/kern/errno.h | p-durlej/newsys | 314956b8ca463b8d7cc9b30de2be2d4247adf432 | [
"BSD-2-Clause"
] | 12 | 2017-06-19T15:45:09.000Z | 2022-03-24T14:50:26.000Z | /* Copyright (c) 2017, Piotr Durlej
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions a... | 29.144737 | 78 | 0.757562 |
84b0877f8246505628ebaa50e643eb5b44b8d4b1 | 616 | h | C | actor-apps/core-async-cocoa/src/im/actor/model/crypto/RsaEncryptCipher.h | DragonStuff/actor-platform | d262e6bb3c18b20eb35551313bce16c471cd2928 | [
"MIT"
] | null | null | null | actor-apps/core-async-cocoa/src/im/actor/model/crypto/RsaEncryptCipher.h | DragonStuff/actor-platform | d262e6bb3c18b20eb35551313bce16c471cd2928 | [
"MIT"
] | null | null | null | actor-apps/core-async-cocoa/src/im/actor/model/crypto/RsaEncryptCipher.h | DragonStuff/actor-platform | d262e6bb3c18b20eb35551313bce16c471cd2928 | [
"MIT"
] | null | null | null | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/ex3ndr/Develop/actor-platform/actor-apps/core/src/main/java/im/actor/model/crypto/RsaEncryptCipher.java
//
#ifndef _AMRsaEncryptCipher_H_
#define _AMRsaEncryptCipher_H_
#include "J2ObjC_header.h"
@class IOSByteArray;
@protocol AMRsaEncryptC... | 23.692308 | 122 | 0.818182 |
163871f6cae08f0db74cdfe30f8f9caff3fb5853 | 130 | sql | SQL | net.violet.platform/src/test/java/net/violet/platform/datamodel/MessageTest_teardown.sql | nguillaumin/nabaztag-server | 235b4867ad7b2f923f25457722da4bb92ecd48b7 | [
"MIT"
] | 4 | 2016-04-01T19:39:30.000Z | 2018-03-29T08:10:12.000Z | server/OS/test/net/violet/platform/datamodel/MessageTest_teardown.sql | sebastienhouzet/nabaztag-source-code | 65197ea668e40fadb35d8ebd0aeb512311f9f547 | [
"MIT"
] | null | null | null | server/OS/test/net/violet/platform/datamodel/MessageTest_teardown.sql | sebastienhouzet/nabaztag-source-code | 65197ea668e40fadb35d8ebd0aeb512311f9f547 | [
"MIT"
] | 8 | 2016-04-09T03:46:26.000Z | 2021-11-26T21:42:01.000Z | SET FOREIGN_KEY_CHECKS = 0;
delete from message;
delete from files where path LIKE "%testMessage%";
SET FOREIGN_KEY_CHECKS = 1; | 32.5 | 51 | 0.769231 |
5bf2552d9bc400b397b140b0172ba2adea36ab1f | 3,069 | h | C | src/KOKKOS/dihedral_opls_kokkos.h | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | 1 | 2018-11-28T15:04:55.000Z | 2018-11-28T15:04:55.000Z | src/KOKKOS/dihedral_opls_kokkos.h | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | null | null | null | src/KOKKOS/dihedral_opls_kokkos.h | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | null | null | null | /* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | 28.682243 | 95 | 0.711307 |
dfbe3172606eeafae2cb528f224808d5e2bb541c | 8,317 | ts | TypeScript | src/app/cvupload/bulk-upload-cv.component.ts | vundavallibalakrishna/electron | b57e7bcdf818fe543a1dec3264081d55e4afa0c2 | [
"MIT"
] | null | null | null | src/app/cvupload/bulk-upload-cv.component.ts | vundavallibalakrishna/electron | b57e7bcdf818fe543a1dec3264081d55e4afa0c2 | [
"MIT"
] | null | null | null | src/app/cvupload/bulk-upload-cv.component.ts | vundavallibalakrishna/electron | b57e7bcdf818fe543a1dec3264081d55e4afa0c2 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
const { ipcRenderer } = require('electron');
const fs = require('fs');
const glob = require("glob");
import { HttpClient, HttpResponse, HttpErrorResponse } from '@angular/common/http';
import { Observable, throwError, of } from 'rxjs';
import { map, startWith, debounce... | 31.266917 | 206 | 0.645425 |
f01d98a641dde7fde85aa438479b15fc586ea3fa | 706 | js | JavaScript | src/db/updates/3.0.9.js | grugnog/formio | ba1e41690e0900fbbdef1632dde9685d5fc472f9 | [
"BSD-3-Clause"
] | 132 | 2020-04-16T20:26:18.000Z | 2022-03-30T12:39:50.000Z | src/db/updates/3.0.9.js | grugnog/formio | ba1e41690e0900fbbdef1632dde9685d5fc472f9 | [
"BSD-3-Clause"
] | 102 | 2020-06-05T21:30:27.000Z | 2022-03-30T04:53:25.000Z | src/db/updates/3.0.9.js | grugnog/formio | ba1e41690e0900fbbdef1632dde9685d5fc472f9 | [
"BSD-3-Clause"
] | 91 | 2020-04-15T18:54:51.000Z | 2022-03-29T04:58:49.000Z | 'use strict';
let async = require('async');
module.exports = function(db, config, tools, done) {
let dropIndex = function(collection, index, next) {
console.log('Dropping ' + collection + ' index ' + index);
db.collection(collection).dropIndex(index).then(() => {
console.log('Done dropping ' + collectio... | 32.090909 | 69 | 0.613314 |
7228c6f282d0506dc7567a3e3d8323321d1a2902 | 1,490 | rs | Rust | crates/fluvio-controlplane-metadata/src/tableformat/mod.rs | pinkforest/fluvio | 008c077fa6ef166f59316777474348f7a44bbdf9 | [
"Apache-2.0"
] | 1 | 2021-08-31T23:19:49.000Z | 2021-08-31T23:19:49.000Z | crates/fluvio-controlplane-metadata/src/tableformat/mod.rs | pinkforest/fluvio | 008c077fa6ef166f59316777474348f7a44bbdf9 | [
"Apache-2.0"
] | null | null | null | crates/fluvio-controlplane-metadata/src/tableformat/mod.rs | pinkforest/fluvio | 008c077fa6ef166f59316777474348f7a44bbdf9 | [
"Apache-2.0"
] | null | null | null | mod spec;
mod status;
pub use spec::*;
pub use status::*;
#[cfg(feature = "k8")]
mod k8;
#[cfg(feature = "k8")]
pub use k8::*;
mod convert {
use crate::core::{Spec, Status, Removable, Creatable};
use crate::extended::{ObjectType, SpecExt};
use super::*;
impl Spec for TableFormatSpec {
const... | 23.28125 | 92 | 0.596644 |
ea0b48f700853bd8d843a8f4ddadca589683ee68 | 402 | lua | Lua | Interface/AddOns/LittleWigs/MoP/TempleOfTheJadeSerpent/Locales/ptBR.lua | ChinarG/Game-Wow-Plugins-Setting | e3fd3ddec1387c1f971dc195fec4fd9045d3105d | [
"Apache-2.0"
] | null | null | null | Interface/AddOns/LittleWigs/MoP/TempleOfTheJadeSerpent/Locales/ptBR.lua | ChinarG/Game-Wow-Plugins-Setting | e3fd3ddec1387c1f971dc195fec4fd9045d3105d | [
"Apache-2.0"
] | null | null | null | Interface/AddOns/LittleWigs/MoP/TempleOfTheJadeSerpent/Locales/ptBR.lua | ChinarG/Game-Wow-Plugins-Setting | e3fd3ddec1387c1f971dc195fec4fd9045d3105d | [
"Apache-2.0"
] | null | null | null | local L = BigWigs:NewBossLocale("Lorewalker Stonestep", "ptBR")
if not L then return end
if L then
-- Ah, ainda não acabou. Pelo que vejo, estamos diante do desafio yaungol. Permita-me esclarecer...
L.yaungol_warmup_trigger = "Ah, ainda não acabou."
-- Oh. Se não estou enganado, parece que o conto de Zao Anélion ve... | 40.2 | 100 | 0.748756 |
8e002bcbd538233b85e0b7415a841b936cd25985 | 628 | rb | Ruby | spec/defines/yum_group_spec.rb | bodgit/puppet-yum | 0420582af9a74b6f462178199c3d3057772786bc | [
"Apache-2.0"
] | null | null | null | spec/defines/yum_group_spec.rb | bodgit/puppet-yum | 0420582af9a74b6f462178199c3d3057772786bc | [
"Apache-2.0"
] | 12 | 2018-11-14T17:32:23.000Z | 2020-10-12T09:43:23.000Z | spec/defines/yum_group_spec.rb | bodgit/puppet-yum | 0420582af9a74b6f462178199c3d3057772786bc | [
"Apache-2.0"
] | null | null | null | require 'spec_helper'
describe 'yum::group' do
let(:pre_condition) do
'include ::yum'
end
let(:title) do
'test'
end
let(:params) do
{
pkglist: [
'foo',
'bar',
],
}
end
on_supported_os.each do |os, facts|
context "on #{os}" do
let(:facts) do
... | 17.444444 | 89 | 0.58758 |
548d45264a2a29ea3b39f5274a6282be8e5344ac | 3,305 | swift | Swift | Pods/Bookbinder/Bookbinder/EPUBBook.swift | stonezhl/BookbinderCocoapodsDemo | bd0223ee7f4b5164b48b841e87b09055a0f50032 | [
"MIT"
] | 20 | 2019-07-24T07:34:51.000Z | 2022-02-15T09:57:49.000Z | Pods/Bookbinder/Bookbinder/EPUBBook.swift | stonezhl/BookbinderCocoapodsDemo | bd0223ee7f4b5164b48b841e87b09055a0f50032 | [
"MIT"
] | 3 | 2020-06-03T08:01:43.000Z | 2020-12-11T17:35:09.000Z | Pods/Bookbinder/Bookbinder/EPUBBook.swift | stonezhl/BookbinderCocoapodsDemo | bd0223ee7f4b5164b48b841e87b09055a0f50032 | [
"MIT"
] | 8 | 2019-07-24T07:34:52.000Z | 2022-03-31T14:41:59.000Z | //
// EPUBBook.swift
// Bookbinder
//
// Created by Stone Zhang on 5/1/19.
// Copyright © 2019 Stone Zhang. All rights reserved.
//
import Foundation
open class EPUBBook {
public let identifier: String
public let baseURL: URL
public let resourceBaseURL: URL
public let container: ContainerDocument
... | 34.789474 | 106 | 0.634796 |
650d548dfcf197b677b3b51c6953dea2bc1cb40b | 305 | py | Python | codes/Ex036.py | BelfortJoao/Curso-phyton01 | 79376233be228f39bf548f90b8d9bd5419ac067a | [
"MIT"
] | 3 | 2021-08-17T14:02:14.000Z | 2021-08-19T02:37:30.000Z | codes/Ex036.py | BelfortJoao/Curso-phyton01 | 79376233be228f39bf548f90b8d9bd5419ac067a | [
"MIT"
] | null | null | null | codes/Ex036.py | BelfortJoao/Curso-phyton01 | 79376233be228f39bf548f90b8d9bd5419ac067a | [
"MIT"
] | null | null | null | x = float(input('Qual o valor da casa que quer comprar? '))
y = int(input("em quantos anos quer comprar a casa? "))
z = int(input("Qual seu salario? "))
w = y*12
if x / w > (z/100)*30:
print("Voce não pode comprar a casa")
else:
print('Voce pode comprar a casa a parcela é de {:.2f}'.format(x/y))
| 33.888889 | 71 | 0.636066 |
b3be2c0f97b97bd7481448859cc3139e962e460f | 1,903 | rb | Ruby | spec/services/redis_service_spec.rb | CodeChalenges/nuvi-news-parser | 4886d1a4f819f703e9473b6e77c5de3b6062cf37 | [
"MIT"
] | null | null | null | spec/services/redis_service_spec.rb | CodeChalenges/nuvi-news-parser | 4886d1a4f819f703e9473b6e77c5de3b6062cf37 | [
"MIT"
] | null | null | null | spec/services/redis_service_spec.rb | CodeChalenges/nuvi-news-parser | 4886d1a4f819f703e9473b6e77c5de3b6062cf37 | [
"MIT"
] | null | null | null | require "spec_helper"
require "services/redis_service"
RSpec.describe RedisService do
let(:redis_service) { RedisService.instance }
let(:redis_client) { redis_service.redis_client }
after(:each) do
redis_client.flushall
end
context "zip file" do
let(:zip_hash) { SecureRandom.hex }
it "re... | 32.810345 | 83 | 0.727798 |
b73deebe7ab5c60d4d35947eb0d5d814b147a9e5 | 3,946 | swift | Swift | frameworks/Framework-XALG-Tests/Tree/XALG_Tests_BinaryTree.swift | between40and2/XALG | 5b9d8e98c4695735b695b6318644acb3e0072de7 | [
"MIT"
] | 1 | 2017-05-31T15:45:14.000Z | 2017-05-31T15:45:14.000Z | frameworks/Framework-XALG-Tests/Tree/XALG_Tests_BinaryTree.swift | between40and2/XALG | 5b9d8e98c4695735b695b6318644acb3e0072de7 | [
"MIT"
] | null | null | null | frameworks/Framework-XALG-Tests/Tree/XALG_Tests_BinaryTree.swift | between40and2/XALG | 5b9d8e98c4695735b695b6318644acb3e0072de7 | [
"MIT"
] | null | null | null | //
// XALG_Tests_BinaryTree.swift
// XALG
//
// Created by Juguang Xiao on 17/03/2017.
//
import XCTest
class XALG_Tests_BinaryTree: XCTestCase {
typealias NodeType_String = XALG_Rep_TreeNode_BinaryTree<String>
typealias NodeType_Int = XALG_Rep_TreeNode_BinaryTree<Int>
typealias TreeType_String =... | 29.447761 | 120 | 0.535986 |
f54cb059371e2b6da4b6933e6e473b0bb189a958 | 1,136 | rs | Rust | research/gaia/pegasus/pegasus/src/api/primitive/branch.rs | LI-Mingyu/GraphScope-MY | 942060983d3f7f8d3a3377467386e27aba285b33 | [
"Apache-2.0"
] | 1,521 | 2020-10-28T03:20:24.000Z | 2022-03-31T12:42:51.000Z | research/gaia/pegasus/pegasus/src/api/primitive/branch.rs | LI-Mingyu/GraphScope-MY | 942060983d3f7f8d3a3377467386e27aba285b33 | [
"Apache-2.0"
] | 850 | 2020-12-15T03:17:32.000Z | 2022-03-31T11:40:13.000Z | research/gaia/pegasus/pegasus/src/api/primitive/branch.rs | LI-Mingyu/GraphScope-MY | 942060983d3f7f8d3a3377467386e27aba285b33 | [
"Apache-2.0"
] | 180 | 2020-11-10T03:43:21.000Z | 2022-03-28T11:13:31.000Z | //
//! Copyright 2020 Alibaba Group Holding Limited.
//!
//! 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 appl... | 26.418605 | 76 | 0.661092 |
4a5c39ad30d108776726d3543c4bafe5f4f17f86 | 3,523 | js | JavaScript | src/stl-viewer.js | withattribution/stlviewer | 637a40a7e8acce2c188c28701508da1740dd7d4b | [
"MIT"
] | null | null | null | src/stl-viewer.js | withattribution/stlviewer | 637a40a7e8acce2c188c28701508da1740dd7d4b | [
"MIT"
] | null | null | null | src/stl-viewer.js | withattribution/stlviewer | 637a40a7e8acce2c188c28701508da1740dd7d4b | [
"MIT"
] | null | null | null | import {
HemisphereLight,
Mesh,
MeshPhongMaterial,
PerspectiveCamera,
Scene,
WebGLRenderer
} from 'three';
import {WEBGL} from 'three/examples/jsm/WebGL';
import {OrbitControls} from 'three/examples/jsm/controls/OrbitControls';
import {STLLoader} from 'three/examples/jsm/loaders/STLLoader';
co... | 30.37069 | 97 | 0.662504 |
5f60450a9a4ec3dab54feb8a51441da2baf4c017 | 728 | ts | TypeScript | src/schema/contenido.schema.ts | nikitaestrella/relacionProducto | 849cf43dd74509901fce6ae7df8e5bb9f5be5a56 | [
"MIT"
] | null | null | null | src/schema/contenido.schema.ts | nikitaestrella/relacionProducto | 849cf43dd74509901fce6ae7df8e5bb9f5be5a56 | [
"MIT"
] | null | null | null | src/schema/contenido.schema.ts | nikitaestrella/relacionProducto | 849cf43dd74509901fce6ae7df8e5bb9f5be5a56 | [
"MIT"
] | null | null | null | import { Prop, SchemaFactory, Schema as NestMongooseSchema } from '@nestjs/mongoose'
import { Document, Schema as MongooseSchema } from 'mongoose'
import * as mongoose from 'mongoose'
import { User } from './user.schema'
@NestMongooseSchema({ collection: 'contenido', timestamps: true })
export class Contenido extends... | 24.266667 | 84 | 0.693681 |
2a7f8115aeb307d545ed4848b44463647f6b62aa | 504 | java | Java | exercise/src/polymorphism/_03/Shapes.java | jhwsx/Think4JavaExamples | bf912a14def15c11a9a5eada308ddaae8e31ff8f | [
"Apache-2.0"
] | null | null | null | exercise/src/polymorphism/_03/Shapes.java | jhwsx/Think4JavaExamples | bf912a14def15c11a9a5eada308ddaae8e31ff8f | [
"Apache-2.0"
] | null | null | null | exercise/src/polymorphism/_03/Shapes.java | jhwsx/Think4JavaExamples | bf912a14def15c11a9a5eada308ddaae8e31ff8f | [
"Apache-2.0"
] | 1 | 2022-01-30T00:49:54.000Z | 2022-01-30T00:49:54.000Z | package polymorphism._03;
/**
* @author wzc
* @date 2019/7/13
*/
public class Shapes {
private static RandomShapeGenerator shapeGenerator = new RandomShapeGenerator();
public static void main(String[] args) {
Shape[] shapes = new Shape[9];
int length = shapes.length;
for (int i = 0;... | 22.909091 | 84 | 0.551587 |
3e7c9c1282007c303680393d0c751fdeb6e92ac4 | 5,354 | c | C | dependencies/mozilla-nspr/4.9/pr/tests/intrio.c | mosaic-cloud/mosaic-distribution-dependencies | 87b9fa3dcf24751abcc52c00849b85f4d7e77b16 | [
"Apache-2.0"
] | 48 | 2015-01-09T20:39:35.000Z | 2021-12-21T21:17:52.000Z | dependencies/mozilla-nspr/4.9/pr/tests/intrio.c | mosaic-cloud/mosaic-distribution-dependencies | 87b9fa3dcf24751abcc52c00849b85f4d7e77b16 | [
"Apache-2.0"
] | 2 | 2016-02-05T10:27:37.000Z | 2019-01-22T16:22:51.000Z | dependencies/mozilla-nspr/4.9/pr/tests/intrio.c | mosaic-cloud/mosaic-distribution-dependencies | 87b9fa3dcf24751abcc52c00849b85f4d7e77b16 | [
"Apache-2.0"
] | 8 | 2015-01-12T17:14:36.000Z | 2018-09-15T14:10:27.000Z | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | 32.646341 | 79 | 0.652783 |
1301bf0a75409dc1c5ac9c36186daea0c3663636 | 54 | h | C | includes/bar.h | GordanM/makefile-skeleton | 8bae7a580f49bd5e90b22668d97372e715ffa3d1 | [
"MIT"
] | 1 | 2020-02-12T11:13:16.000Z | 2020-02-12T11:13:16.000Z | includes/bar.h | GordanM/makefile-skeleton | 8bae7a580f49bd5e90b22668d97372e715ffa3d1 | [
"MIT"
] | null | null | null | includes/bar.h | GordanM/makefile-skeleton | 8bae7a580f49bd5e90b22668d97372e715ffa3d1 | [
"MIT"
] | 2 | 2019-01-31T14:56:48.000Z | 2021-06-10T09:18:56.000Z | #ifndef BAR_H
#define BAR_H
#include "foo.h"
#endif
| 7.714286 | 16 | 0.703704 |
f49078aa33718695f482e7efe1ffe3bcc478c187 | 1,751 | sql | SQL | sql/users.sql | emcifuntik/lilv | e184eec78a247054455a4c952f430a7dae2e36e4 | [
"Artistic-2.0"
] | null | null | null | sql/users.sql | emcifuntik/lilv | e184eec78a247054455a4c952f430a7dae2e36e4 | [
"Artistic-2.0"
] | null | null | null | sql/users.sql | emcifuntik/lilv | e184eec78a247054455a4c952f430a7dae2e36e4 | [
"Artistic-2.0"
] | null | null | null | CREATE TABLE `users` (
`user_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_name` varchar(32) NOT NULL,
`user_password` varchar(32) NOT NULL,
`user_steam` varchar(64) DEFAULT NULL,
`user_pos_x` float(8,4) NOT NULL DEFAULT '0.0000',
`user_pos_y` float(8,4) NOT NULL DEFAULT '0.0000',
`user_pos_z` float... | 47.324324 | 64 | 0.700742 |
57985cb5834ff7290fde5e497eacd2e5c639b922 | 771 | h | C | src/proc_manager.h | MasterTextman/eggshell | ab041f7459c11fa538573b832d4a2a4e3102dca0 | [
"MIT"
] | null | null | null | src/proc_manager.h | MasterTextman/eggshell | ab041f7459c11fa538573b832d4a2a4e3102dca0 | [
"MIT"
] | null | null | null | src/proc_manager.h | MasterTextman/eggshell | ab041f7459c11fa538573b832d4a2a4e3102dca0 | [
"MIT"
] | 1 | 2020-11-17T20:23:01.000Z | 2020-11-17T20:23:01.000Z | #pragma once
#include <unistd.h>
#include <sys/types.h>
#include "sig_handler.h"
#include "variables.h"
int resuspended;
// Executes an external command, not present in eggshell.
// command contains the command to be executed.
// line contains the arguments for the command.
void externalCommand(char* command, char*... | 28.555556 | 60 | 0.753567 |
9c80700c6c7a4f467dbf068fa295e29afcdd65c3 | 2,638 | js | JavaScript | www/pg-plugin-fb-connect.js | mallzee/phonegap-facebook-plugin | b2e3fc8abc3ddbe1dad51161c109d2bef73c10da | [
"Apache-2.0"
] | 1 | 2015-01-28T20:07:09.000Z | 2015-01-28T20:07:09.000Z | www/pg-plugin-fb-connect.js | mallzee/phonegap-facebook-plugin | b2e3fc8abc3ddbe1dad51161c109d2bef73c10da | [
"Apache-2.0"
] | null | null | null | www/pg-plugin-fb-connect.js | mallzee/phonegap-facebook-plugin | b2e3fc8abc3ddbe1dad51161c109d2bef73c10da | [
"Apache-2.0"
] | null | null | null |
var exec = require('cordova/exec');
CDV = {
init: function (apiKey, cb, fail) {
// create the fb-root element if it doesn't exist
if (!document.getElementById('fb-root')) {
var elem = document.createElement('div');
elem.id = 'fb-root';
document.body.appendChild(elem);
}
/**
* ... | 35.173333 | 130 | 0.597801 |
98b70908601282099dc22fe76acc2310a23c0e15 | 992 | html | HTML | api/templates/docs-html/document.html | amleshkov/adcm | 5a6c82a34ef2591cb4952d17ee823c6230aa1d82 | [
"Apache-2.0"
] | 16 | 2019-11-28T18:05:21.000Z | 2021-12-08T18:09:18.000Z | api/templates/docs-html/document.html | amleshkov/adcm | 5a6c82a34ef2591cb4952d17ee823c6230aa1d82 | [
"Apache-2.0"
] | 1,127 | 2019-11-29T08:57:25.000Z | 2022-03-31T20:21:32.000Z | api/templates/docs-html/document.html | amleshkov/adcm | 5a6c82a34ef2591cb4952d17ee823c6230aa1d82 | [
"Apache-2.0"
] | 10 | 2019-11-28T18:05:06.000Z | 2022-01-13T06:16:40.000Z | {% load rest_framework %}
<div class="row intro">
<div class="intro-title">
<h1>{{ document.title }}</h1>
{% if document.description %}
<p>{% render_markdown document.description %}</p>
{% endif %}
</div>
<div class="intro-title">
<h2>API Sections</h2>
<ul class="list-group">
{% for section_key, sect... | 26.105263 | 154 | 0.607863 |
a1320ed9b519adda843961c4b16ebf84a396ba9b | 90,421 | go | Go | examples/proto/examplepb/a_bit_of_everything.pb.go | wp0pw/grpc-gateway | ab4627a6acced23e045d0fd509676c8b02066b6e | [
"BSD-3-Clause"
] | 1 | 2020-03-04T08:41:36.000Z | 2020-03-04T08:41:36.000Z | examples/proto/examplepb/a_bit_of_everything.pb.go | small-lei/grpc-gateway | df4ff8d412d8ce99d0597295f4a12c595f9a81fb | [
"BSD-3-Clause"
] | null | null | null | examples/proto/examplepb/a_bit_of_everything.pb.go | small-lei/grpc-gateway | df4ff8d412d8ce99d0597295f4a12c595f9a81fb | [
"BSD-3-Clause"
] | 2 | 2020-09-03T10:48:33.000Z | 2021-01-13T21:17:11.000Z | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: examples/proto/examplepb/a_bit_of_everything.proto
package examplepb
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
duration "github.com/golang/protobuf/ptypes/duration"
empty "github.com/golang/protobuf/ptypes/empty"
tim... | 46.488946 | 288 | 0.730472 |
d2a9293f5db289b36aa3cbebc1729e788986d98b | 7,262 | php | PHP | src/Form/PageParts/InsertPagePagePartAdminType.php | hgabka/KunstmaanExtensionBundle | 96eb332efc559f08d40d7b5349f2c8e8c7ea472b | [
"MIT"
] | null | null | null | src/Form/PageParts/InsertPagePagePartAdminType.php | hgabka/KunstmaanExtensionBundle | 96eb332efc559f08d40d7b5349f2c8e8c7ea472b | [
"MIT"
] | null | null | null | src/Form/PageParts/InsertPagePagePartAdminType.php | hgabka/KunstmaanExtensionBundle | 96eb332efc559f08d40d7b5349f2c8e8c7ea472b | [
"MIT"
] | null | null | null | <?php
namespace Hgabka\KunstmaanExtensionBundle\Form\PageParts;
use Doctrine\Bundle\DoctrineBundle\Registry;
use Doctrine\ORM\EntityManager;
use Hgabka\KunstmaanExtensionBundle\Entity\InsertablePageInterface;
use Hgabka\KunstmaanExtensionBundle\Entity\PageParts\InsertPagePagePart;
use Kunstmaan\NodeBundle\Entity\Abst... | 37.626943 | 151 | 0.590333 |
583829c19d32bffd2c4e6c97031c45f243db0563 | 1,668 | c | C | shaders/simple.c | he110world/libmeh_working | 0f324dabdf2dcfc67b18f64acb7d9629aed1c04f | [
"MIT"
] | 1 | 2015-03-05T12:47:47.000Z | 2015-03-05T12:47:47.000Z | src/shaders/simple.c | he110world/libmeh_working | 0f324dabdf2dcfc67b18f64acb7d9629aed1c04f | [
"MIT"
] | null | null | null | src/shaders/simple.c | he110world/libmeh_working | 0f324dabdf2dcfc67b18f64acb7d9629aed1c04f | [
"MIT"
] | null | null | null | varying vec3 L, E;
varying vec2 texcoord;
varying vec3 cubecoord;
attribute vec3 tangent;
uniform vec4 light;
void main(void){
gl_Position = ftransform();
texcoord=gl_MultiTexCoord0.xy;
cubecoord=gl_MultiTexCoord1.xyz;
vec3 n = normalize(gl_NormalMatrix*gl_Normal);
vec3 t = normalize(gl_NormalMatrix*tangent);
... | 24.895522 | 69 | 0.68765 |
f372bcd567bad77b8665b9e5a233aaa6b730c9e9 | 743 | kt | Kotlin | module_girlkotlin/src/main/java/com/guiying/module/girlkotlin/GirlskotlinFragment.kt | NIUDEYANG123/arouter_my | 36add90703cf17fcb642422d05ac5ca44dc031a2 | [
"Apache-2.0"
] | null | null | null | module_girlkotlin/src/main/java/com/guiying/module/girlkotlin/GirlskotlinFragment.kt | NIUDEYANG123/arouter_my | 36add90703cf17fcb642422d05ac5ca44dc031a2 | [
"Apache-2.0"
] | null | null | null | module_girlkotlin/src/main/java/com/guiying/module/girlkotlin/GirlskotlinFragment.kt | NIUDEYANG123/arouter_my | 36add90703cf17fcb642422d05ac5ca44dc031a2 | [
"Apache-2.0"
] | null | null | null | package com.guiying.module.girlkotlin
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.alibaba.android.arouter.facade.annotation.Route
import com.guiying.module.common.base.BaseFragment
import com.guiying.module.common.base.RouterConfig
@Ro... | 35.380952 | 116 | 0.792732 |
9d283ca5177d52c0fc25e6433eb87444a6fde4c1 | 30,029 | html | HTML | Lab5/1356M_Windows/html/widget_8h_source.html | HoverWings/HUST_RFID_Labs | 8f824fb21b47cb92f35e1d90c7faaafe97cd38dd | [
"MIT"
] | null | null | null | Lab5/1356M_Windows/html/widget_8h_source.html | HoverWings/HUST_RFID_Labs | 8f824fb21b47cb92f35e1d90c7faaafe97cd38dd | [
"MIT"
] | 1 | 2019-05-29T02:44:42.000Z | 2019-05-29T02:44:42.000Z | Lab5/1356M_Windows/html/widget_8h_source.html | HoverWings/HUST_RFID_Labs | 8f824fb21b47cb92f35e1d90c7faaafe97cd38dd | [
"MIT"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" co... | 205.678082 | 14,493 | 0.724067 |
e723f4d5cf2200b470bfcf636bc1085e063958ba | 2,594 | js | JavaScript | index.js | jimmywarting/highlight-saas | 93c18a3da8c0b0e280944c46a4e20928ad800e6e | [
"MIT"
] | 1 | 2020-02-02T04:16:12.000Z | 2020-02-02T04:16:12.000Z | index.js | jimmywarting/highlight-saas | 93c18a3da8c0b0e280944c46a4e20928ad800e6e | [
"MIT"
] | null | null | null | index.js | jimmywarting/highlight-saas | 93c18a3da8c0b0e280944c46a4e20928ad800e6e | [
"MIT"
] | null | null | null | const { highlight, highlightAuto, getLanguage } = require('highlight.js')
const compression = require('compression')
const express = require('express')
const inlineCss = require('inline-css/lib/inline-css')
const cors = require('cors')
const bodyParser = require('express/node_modules/body-parser')
const config = requir... | 33.688312 | 106 | 0.672321 |
e048ddce013ecd6c1ae6bb5b21e17fb1731c222d | 150 | lua | Lua | util.lua | Edwolt/BoucingBall | 56a8518ddc7f36a66f5246a1f8a098da18162d34 | [
"MIT"
] | null | null | null | util.lua | Edwolt/BoucingBall | 56a8518ddc7f36a66f5246a1f8a098da18162d34 | [
"MIT"
] | null | null | null | util.lua | Edwolt/BoucingBall | 56a8518ddc7f36a66f5246a1f8a098da18162d34 | [
"MIT"
] | null | null | null | local UTIL = {}
UTIL.height = 1000
UTIL.tile = love.graphics.getHeight() / UTIL.height
UTIL.width = love.graphics.getWidth() / UTIL.tile
return UTIL
| 21.428571 | 51 | 0.726667 |
13d68ec8ac24f9a5594f6c886c38fb45acee5e61 | 652 | sql | SQL | backend/de.metas.purchasecandidate.base/src/main/sql/postgresql/system/5497182_sys_gh4311_C_PurchaseCandidate_PurchaseDateOrdered_mandatory.sql | dram/metasfresh | a1b881a5b7df8b108d4c4ac03082b72c323873eb | [
"RSA-MD"
] | 1,144 | 2016-02-14T10:29:35.000Z | 2022-03-30T09:50:41.000Z | backend/de.metas.purchasecandidate.base/src/main/sql/postgresql/system/5497182_sys_gh4311_C_PurchaseCandidate_PurchaseDateOrdered_mandatory.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 8,283 | 2016-04-28T17:41:34.000Z | 2022-03-30T13:30:12.000Z | backend/de.metas.purchasecandidate.base/src/main/sql/postgresql/system/5497182_sys_gh4311_C_PurchaseCandidate_PurchaseDateOrdered_mandatory.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 441 | 2016-04-29T08:06:07.000Z | 2022-03-28T06:09:56.000Z | -- 2018-07-05T19:55:11.261
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2018-07-05 19:55:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=560663
;
-- 2018-07-05T19:55:13.116
-- I forgot to set the DICTIONARY_ID_COMMENTS System... | 40.75 | 144 | 0.791411 |
5f5df4c16e3cbba91cabd10a1877c24964949db2 | 2,915 | ts | TypeScript | src/tests/utilities.test.ts | jmgrady/TheCombine | 4645d891f4825458553b94119a7b5731bed715d3 | [
"MIT"
] | null | null | null | src/tests/utilities.test.ts | jmgrady/TheCombine | 4645d891f4825458553b94119a7b5731bed715d3 | [
"MIT"
] | null | null | null | src/tests/utilities.test.ts | jmgrady/TheCombine | 4645d891f4825458553b94119a7b5731bed715d3 | [
"MIT"
] | null | null | null | import * as utilities from "utilities";
describe("utilities", () => {
describe("quicksort", () => {
const compareItem = (input: number) => {
return input;
};
const numbers: number[] = [];
for (let i = 0; i < 25; i++) numbers.push(Math.random());
it("orders properly", () => {
const s... | 31.684783 | 79 | 0.578045 |
dd6b2f1c9ef38924fb84e1be9e657c27b83a70eb | 762 | php | PHP | app/Http/Controllers/Api/V1/ApplyController.php | jzfan/hq123 | f5ad67ab51375634b98c651df0f834bd2c73d6ad | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/V1/ApplyController.php | jzfan/hq123 | f5ad67ab51375634b98c651df0f834bd2c73d6ad | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/V1/ApplyController.php | jzfan/hq123 | f5ad67ab51375634b98c651df0f834bd2c73d6ad | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Api\V1;
use Wx\Loan\Repo\CarRepo;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class ApplyController extends Controller
{
protected $car;
public function __construct(CarRepo $car)
{
$this->car = $car;
}
/**
* @api {get} /api/status 取状态
* @apiVers... | 18.142857 | 67 | 0.614173 |
fb8afe215a1eb989e199eb6a9278ba93c8a5fae5 | 1,164 | h | C | client/colorwheelwidget.h | vorushin/moodbox_aka_risovaska | 5943452e4c7fc9e3c828f62f565cd2da9a040e92 | [
"MIT"
] | 1 | 2015-08-23T11:03:58.000Z | 2015-08-23T11:03:58.000Z | client/colorwheelwidget.h | vorushin/moodbox_aka_risovaska | 5943452e4c7fc9e3c828f62f565cd2da9a040e92 | [
"MIT"
] | null | null | null | client/colorwheelwidget.h | vorushin/moodbox_aka_risovaska | 5943452e4c7fc9e3c828f62f565cd2da9a040e92 | [
"MIT"
] | 3 | 2016-12-05T02:43:52.000Z | 2021-06-30T21:35:46.000Z | #ifndef COLORWHEELWIDGET_H
#define COLORWHEELWIDGET_H
#include "colorselectioncontrol.h"
namespace MoodBox
{
#define COLOR_WHEEL_MARK_INNER_RADIUS 4
#define COLOR_WHEEL_MARK_OUTER_RADIUS 5
#define COLOR_WHEEL_WIDGET_MASK (":/MoodBox/Resources/color_wheel_mask.png")
struct HSV;
// Color wheel contro... | 20.785714 | 77 | 0.750859 |
c2bc66ef855e425d0056f87b8e7c157b5169f2ad | 196 | lua | Lua | ftplugin/TelescopePrompt.lua | zklinger/telescope.nvim | d686fb27998fc130f7b851fb6c540f3f1fe806e8 | [
"MIT"
] | 4,925 | 2020-11-13T15:48:26.000Z | 2022-03-31T22:09:39.000Z | config/nvim/pack/benferse/opt/telescope.nvim/ftplugin/TelescopePrompt.lua | benferse/dotfiles | da500616ad755f391bde6b99087b0d925b728aa4 | [
"MIT"
] | 1,424 | 2020-11-13T15:35:30.000Z | 2022-03-31T16:42:39.000Z | config/nvim/pack/benferse/opt/telescope.nvim/ftplugin/TelescopePrompt.lua | benferse/dotfiles | da500616ad755f391bde6b99087b0d925b728aa4 | [
"MIT"
] | 478 | 2020-11-15T10:15:36.000Z | 2022-03-26T06:11:02.000Z | -- Don't wrap textwidth things
vim.opt_local.formatoptions:remove "t"
vim.opt_local.formatoptions:remove "c"
-- There's also no reason to enable textwidth here anyway
vim.opt_local.textwidth = 0
| 28 | 57 | 0.785714 |
162915ce357306568c764dbeecb70a142f3864a4 | 20 | tsx | TypeScript | tests/cases/childrenProps6.tsx | amuzalevskiy/ts-transform-inferno | 4c91ac2865ff2217d4ef2879d4d5e1c932637f2c | [
"MIT"
] | 62 | 2017-08-26T22:58:19.000Z | 2022-03-17T08:29:12.000Z | tests/cases/childrenProps6.tsx | amuzalevskiy/ts-transform-inferno | 4c91ac2865ff2217d4ef2879d4d5e1c932637f2c | [
"MIT"
] | 20 | 2017-10-11T18:08:24.000Z | 2022-03-09T08:34:03.000Z | tests/cases/childrenProps6.tsx | amuzalevskiy/ts-transform-inferno | 4c91ac2865ff2217d4ef2879d4d5e1c932637f2c | [
"MIT"
] | 6 | 2018-07-26T10:11:25.000Z | 2020-03-02T08:26:33.000Z | <Com children="ab"/> | 20 | 20 | 0.65 |
3b560b2bd64112be016206fa47ad590329156e69 | 1,091 | h | C | PrivateFrameworks/AssetsLibraryServices/PLAssetsdCloudClient.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/AssetsLibraryServices/PLAssetsdCloudClient.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/AssetsLibraryServices/PLAssetsdCloudClient.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <AssetsLibraryServices/PLAssetsdBaseClient.h>
@interface PLAssetsdCloudClient : PLAssetsdBaseClient
{
}
- (void)computeFingerPrintsOfAsset:(id)arg1 completionHandler:(CDUn... | 49.590909 | 244 | 0.823098 |
b2d6aec912e54487b7271a6bbbbeac36be760ac4 | 552 | py | Python | tapis_cli/commands/taccapis/v2/apps/mixins.py | bpachev/tapis-cli | c3128fb5b63ef74e06b737bbd95ef28fb24f0d32 | [
"BSD-3-Clause"
] | 8 | 2020-10-18T22:48:23.000Z | 2022-01-10T09:16:14.000Z | tapis_cli/commands/taccapis/v2/apps/mixins.py | bpachev/tapis-cli | c3128fb5b63ef74e06b737bbd95ef28fb24f0d32 | [
"BSD-3-Clause"
] | 238 | 2019-09-04T14:37:54.000Z | 2020-04-15T16:24:24.000Z | tapis_cli/commands/taccapis/v2/apps/mixins.py | bpachev/tapis-cli | c3128fb5b63ef74e06b737bbd95ef28fb24f0d32 | [
"BSD-3-Clause"
] | 5 | 2019-09-20T04:23:49.000Z | 2020-01-16T17:45:14.000Z | from tapis_cli.clients.services.mixins import ServiceIdentifier
__all__ = ['AppIdentifier']
class AppIdentifier(ServiceIdentifier):
service_id_type = 'App'
dest = 'app_id'
def validate_identifier(self, identifier, permissive=False):
try:
self.tapis_client.apps.get(appId=identifier)
... | 27.6 | 74 | 0.615942 |
dfd7c4d2364f15422ade24e6579947af63f87ec7 | 1,585 | ts | TypeScript | backend/src/connect.database.ts | ExiledNarwal28/gif-3112-project | 806c697705c13d813a85dd643bd733dbd39af96d | [
"MIT"
] | 1 | 2021-11-12T06:58:38.000Z | 2021-11-12T06:58:38.000Z | backend/src/connect.database.ts | ExiledNarwal28/gif-3112-project | 806c697705c13d813a85dd643bd733dbd39af96d | [
"MIT"
] | null | null | null | backend/src/connect.database.ts | ExiledNarwal28/gif-3112-project | 806c697705c13d813a85dd643bd733dbd39af96d | [
"MIT"
] | null | null | null | import mongoose from 'mongoose';
import { logger } from './middlewares/logger';
const mongoURL = process.env.MONGO_URL || '';
const mongoOptions = {
useFindAndModify: false,
useNewUrlParser: true,
useUnifiedTopology: true,
user: process.env.MONGO_USERNAME,
pass: process.env.MONGO_PASSWORD,
};
const db = mo... | 24.384615 | 73 | 0.680126 |
5c7f9a7cda78f06c42d0d378f4510e1f9c886846 | 358 | h | C | RKOTopAlertManager/RKOTopAlert/RKOTopAlert/AppDelegate.h | rakuyoMo/RKOControlsManager | ea5ef2d468b5dc89dcfcef5de45e811a5c1b109f | [
"MIT"
] | 5 | 2017-09-09T10:00:19.000Z | 2019-08-09T10:37:48.000Z | RKOTopAlertManager/RKOTopAlert/RKOTopAlert/AppDelegate.h | rakuyoMo/RKOControlsManager | ea5ef2d468b5dc89dcfcef5de45e811a5c1b109f | [
"MIT"
] | null | null | null | RKOTopAlertManager/RKOTopAlert/RKOTopAlert/AppDelegate.h | rakuyoMo/RKOControlsManager | ea5ef2d468b5dc89dcfcef5de45e811a5c1b109f | [
"MIT"
] | 3 | 2017-09-09T10:00:19.000Z | 2020-01-15T10:21:53.000Z | //
// AppDelegate.h
// RKOTopAlert
//
// Created by Rakuyo on 2017/9/8.
// Copyright © 2017年 Rakuyo. All rights reserved.
//
#import <UIKit/UIKit.h>
@class RKOTopAlert;
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
// 顶部的提示视图
@property (nonatomic, ... | 16.272727 | 60 | 0.717877 |
9c7d2939ac8c9814cd1783e9210fb6dcd923bdd3 | 1,185 | js | JavaScript | client/build/6.b5f98ef703a3400c91d7.chunk.js | sosaucily/FastRailsRedux | 5639d4c8aca60521075621355bc6503660d1f08a | [
"MIT"
] | 11 | 2017-05-04T07:00:00.000Z | 2020-10-08T14:59:22.000Z | client/build/6.b5f98ef703a3400c91d7.chunk.js | sosaucily/FastRailsRedux | 5639d4c8aca60521075621355bc6503660d1f08a | [
"MIT"
] | null | null | null | client/build/6.b5f98ef703a3400c91d7.chunk.js | sosaucily/FastRailsRedux | 5639d4c8aca60521075621355bc6503660d1f08a | [
"MIT"
] | 3 | 2017-05-31T04:55:43.000Z | 2018-08-29T15:20:03.000Z | webpackJsonp([6],{"./app/containers/Account/constants.js":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return s});var c="R3-GO/AccountInfo/",a=c+"FETCH_ACCOUNT_REQUEST",r=c+"FETCH_ACCOUNT_SUCCESS",s=c+"FETCH_ACCOUNT_FAILURE"},"./app/containers/Account... | 1,185 | 1,185 | 0.701266 |
c36bc166ac8c5e32810efdfb68416109d184994a | 1,233 | go | Go | st600/fuzz.go | larixsource/stgps | 03af5b868f238dd04a10c161038759036daee6ac | [
"MIT"
] | 7 | 2017-05-17T20:12:49.000Z | 2021-07-12T21:41:48.000Z | st600/fuzz.go | larixsource/stgps | 03af5b868f238dd04a10c161038759036daee6ac | [
"MIT"
] | null | null | null | st600/fuzz.go | larixsource/stgps | 03af5b868f238dd04a10c161038759036daee6ac | [
"MIT"
] | 3 | 2016-11-29T23:30:08.000Z | 2018-12-04T13:19:58.000Z | package st600
func Fuzz(data []byte) int {
p := ParseBytes(data, ParserOpts{})
var results []int
for p.Next() {
frame := p.Msg()
if frame == nil {
panic("nil frame")
}
if len(frame.Frame) == 0 {
panic("empty raw frame")
}
if frame.ParsingError != nil {
results = append(results, 0)
continue
... | 16.223684 | 70 | 0.583131 |
bcaf7397bd8ba3a924edf47abe64dbfccb4f89ba | 37 | js | JavaScript | src/components/NavItems/index.js | Dalamov/reactjs-todo-list | 8eb50ee619f5d6bffdc1e303fdfa3d8b99c62501 | [
"MIT"
] | 1 | 2021-09-26T15:08:39.000Z | 2021-09-26T15:08:39.000Z | src/components/NavItems/index.js | Dalamov/reactjs-todo-list | 8eb50ee619f5d6bffdc1e303fdfa3d8b99c62501 | [
"MIT"
] | null | null | null | src/components/NavItems/index.js | Dalamov/reactjs-todo-list | 8eb50ee619f5d6bffdc1e303fdfa3d8b99c62501 | [
"MIT"
] | null | null | null | export { default } from "./NavItems"; | 37 | 37 | 0.675676 |
7cb3217f8341ab4bf8c9dad9e0e0686b269259c3 | 5,017 | kt | Kotlin | src/main/kotlin/io/zhudy/duic/web/WebReactiveExtensions.kt | kevin70/duic | 0223e2f98bb0cdc91db8a54e42c385751a25ca4b | [
"Apache-2.0"
] | 300 | 2017-12-05T10:34:31.000Z | 2022-02-18T03:35:01.000Z | src/main/kotlin/io/zhudy/duic/web/WebReactiveExtensions.kt | kevin70/duic | 0223e2f98bb0cdc91db8a54e42c385751a25ca4b | [
"Apache-2.0"
] | 26 | 2018-02-07T06:51:40.000Z | 2020-07-16T23:35:02.000Z | src/main/kotlin/io/zhudy/duic/web/WebReactiveExtensions.kt | kevin70/duic | 0223e2f98bb0cdc91db8a54e42c385751a25ca4b | [
"Apache-2.0"
] | 64 | 2018-02-02T01:05:58.000Z | 2021-03-03T10:23:14.000Z | /**
* Copyright 2017-2019 the original author or authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 26.828877 | 177 | 0.656368 |
868acc1412746281a7e78ec7d5727adcf7b1e0fa | 16,359 | rs | Rust | src/config/models.rs | quek/trunk | 7eeaf9e3f67e43d4c17e147da32f9f8ec0254f25 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/config/models.rs | quek/trunk | 7eeaf9e3f67e43d4c17e147da32f9f8ec0254f25 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/config/models.rs | quek/trunk | 7eeaf9e3f67e43d4c17e147da32f9f8ec0254f25 | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::path::PathBuf;
use std::str::FromStr;
use std::sync::Arc;
use anyhow::{Context, Result};
use http::Uri;
use serde::{Deserialize, Deserializer};
use structopt::StructOpt;
use crate::common::parse_public_url;
use crate::config::{RtcBuild, RtcClean, RtcServe, RtcWatch};
/// Config options for the build system.... | 39.997555 | 144 | 0.577603 |
e8df842f0c6982487b7ca3ace562a894cc9d1940 | 606 | py | Python | exposures/generate_passwords.py | jarnoln/exposures | bbae3f79078048d25b77e178db6c0801ffe9f97e | [
"MIT"
] | null | null | null | exposures/generate_passwords.py | jarnoln/exposures | bbae3f79078048d25b77e178db6c0801ffe9f97e | [
"MIT"
] | null | null | null | exposures/generate_passwords.py | jarnoln/exposures | bbae3f79078048d25b77e178db6c0801ffe9f97e | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import random
import argparse
def generate_passwords(password_file_path):
password_file = open(password_file_path, 'w')
chars = 'abcdefghijklmnopqrstuvxyz01234567890_-!*'
secret_key = ''.join(random.SystemRandom().choice(chars) for _ in range(50))
password_file.write("SECRET_KEY ... | 31.894737 | 88 | 0.737624 |
b25f28b1e03385857e83d31be8a131b5cb1296db | 6,913 | sql | SQL | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5472320_sys_gh2538-app_remove_ldap_stuff.sql | dram/metasfresh | a1b881a5b7df8b108d4c4ac03082b72c323873eb | [
"RSA-MD"
] | 1,144 | 2016-02-14T10:29:35.000Z | 2022-03-30T09:50:41.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5472320_sys_gh2538-app_remove_ldap_stuff.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 8,283 | 2016-04-28T17:41:34.000Z | 2022-03-30T13:30:12.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5472320_sys_gh2538-app_remove_ldap_stuff.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 441 | 2016-04-29T08:06:07.000Z | 2022-03-28T06:09:56.000Z | --
-- AD_LdapAccess
--
DELETE FROM ad_ui_elementgroup WHERE ad_ui_column_ID IN (select ad_ui_column_ID FROM ad_ui_column WHERE ad_ui_section_ID IN (select ad_ui_section_id from ad_ui_section where AD_Tab_ID=851));
DELETE FROM ad_ui_column WHERE ad_ui_section_ID IN (select ad_ui_section_id from ad_ui_section where AD_... | 29.542735 | 190 | 0.762621 |
b528ea8291b986dc9ad1462d75b4afef643a6ea4 | 251 | rs | Rust | programs/onering-finance/src/constant.rs | oneringfrodo/onering | dd844e16968341cc803ae94a8ebdc53858ed5237 | [
"MIT"
] | 3 | 2022-02-09T04:10:37.000Z | 2022-02-11T08:38:17.000Z | programs/onering-finance/src/constant.rs | oneringfrodo/onering | dd844e16968341cc803ae94a8ebdc53858ed5237 | [
"MIT"
] | null | null | null | programs/onering-finance/src/constant.rs | oneringfrodo/onering | dd844e16968341cc803ae94a8ebdc53858ed5237 | [
"MIT"
] | 3 | 2021-12-24T01:56:53.000Z | 2022-02-11T08:38:23.000Z | /// 1USD mint authority seed
pub const OUSD_MINT_AUTH_SEED: &[u8] = b"or_ousd_mint_auth";
/// stable vault (authority) seed
pub const STABLE_VAULT_SEED: &[u8] = b"or_stable_vault";
/// reserve PDA seed
pub const RESERVE_SEED: &[u8] = b"or_reserve";
| 27.888889 | 60 | 0.7251 |
bc97e42851943e6e6d3702ef40769aaad39256c2 | 2,964 | swift | Swift | Sources/Picker/View/PermissionDeniedView.swift | mohsinalimat/AnyImageKit | ff35c45d8ccf6624b295bf8fe1c4c11b2f7fcf5e | [
"MIT"
] | 1 | 2019-11-29T08:30:35.000Z | 2019-11-29T08:30:35.000Z | Sources/Picker/View/PermissionDeniedView.swift | mohsinalimat/AnyImageKit | ff35c45d8ccf6624b295bf8fe1c4c11b2f7fcf5e | [
"MIT"
] | null | null | null | Sources/Picker/View/PermissionDeniedView.swift | mohsinalimat/AnyImageKit | ff35c45d8ccf6624b295bf8fe1c4c11b2f7fcf5e | [
"MIT"
] | null | null | null | //
// PermissionDeniedView.swift
// AnyImageKit
//
// Created by 蒋惠 on 2019/9/30.
// Copyright © 2019 AnyImageProject.org. All rights reserved.
//
import UIKit
final class PermissionDeniedView: UIView {
private lazy var label: UILabel = {
let view = UILabel(frame: .zero)
let text = String... | 32.933333 | 159 | 0.623819 |
133f88ba5e22ca0258973faa758e58522c5c60ab | 1,436 | h | C | Subspace/subspace/SubspaceZoneCommands.h | automaton82/pspace | 34c3aaaf4dadb63df3183d39535aae0ac0560599 | [
"BSD-3-Clause"
] | null | null | null | Subspace/subspace/SubspaceZoneCommands.h | automaton82/pspace | 34c3aaaf4dadb63df3183d39535aae0ac0560599 | [
"BSD-3-Clause"
] | null | null | null | Subspace/subspace/SubspaceZoneCommands.h | automaton82/pspace | 34c3aaaf4dadb63df3183d39535aae0ac0560599 | [
"BSD-3-Clause"
] | null | null | null | #ifndef _SUBSPACEZONECOMMANDS_H_
#define _SUBSPACEZONECOMMANDS_H_
class SubspaceZoneCommandReceiver;
class SubspaceZoneCommand
{
public:
virtual ~SubspaceZoneCommand() {}
virtual void execute(SubspaceZoneCommandReceiver* listener) = 0;
};
namespace SubspaceZoneCommands
{
// NOTE: these actions intentionally have... | 23.933333 | 98 | 0.70961 |
12f3465b37736d7826cefa7ecf91dd34ef5555e5 | 98,149 | html | HTML | trope_list/tropes/ThematicThemeTune.html | jwzimmer/tv-tropes | 44442b66286eaf2738fc5d863d175d4577da97f4 | [
"MIT"
] | 1 | 2021-01-02T00:19:20.000Z | 2021-01-02T00:19:20.000Z | trope_list/tropes/ThematicThemeTune.html | jwzimmer/tv-tropes | 44442b66286eaf2738fc5d863d175d4577da97f4 | [
"MIT"
] | 6 | 2020-11-17T00:44:19.000Z | 2021-01-22T18:56:28.000Z | trope_list/tropes/ThematicThemeTune.html | jwzimmer/tv-tropes | 44442b66286eaf2738fc5d863d175d4577da97f4 | [
"MIT"
] | 5 | 2021-01-02T00:19:15.000Z | 2021-08-05T16:02:08.000Z | <!DOCTYPE html>
<html>
<head lang="en">
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>Thematic Theme Tune - TV Tropes</title>
<meta content="The Thematic Theme Tune trope as used in popular culture. A Theme Tune which, while not specif... | 105.084582 | 1,502 | 0.710746 |
2f54ca02d81b81a4009f5cef12d1b444da81c99a | 198 | php | PHP | config/sms.php | ilij77/laravel | 2fb91c23211a41b7a1ee0282b157548902f2b085 | [
"MIT"
] | 1 | 2018-12-23T02:31:23.000Z | 2018-12-23T02:31:23.000Z | config/sms.php | ilij77/lava | f4b20939199636d66b3a17dbeb4dfa7ccaf84130 | [
"MIT"
] | 9 | 2020-07-16T21:44:30.000Z | 2022-02-26T10:17:48.000Z | config/sms.php | ilij77/laravel | 2fb91c23211a41b7a1ee0282b157548902f2b085 | [
"MIT"
] | null | null | null | <?php
return [
'driver'=>env('SMS_DRIVER','sms.ru'),
'drivers'=>[
'sms.ru'=>[
'app_id'=> env('SMS_RU_APP_ID'),
'url'=>env('SMS_RU_URL'),
],
],
]; | 18 | 44 | 0.419192 |
5c37f95908a954b2790d086ce143058a053b8acd | 2,745 | css | CSS | src/css/generation-style.css | KaykyDeSouzaDias/pokedex-website | 166ab5bc6c39b5ab9df52b693c5126b990941f88 | [
"MIT"
] | null | null | null | src/css/generation-style.css | KaykyDeSouzaDias/pokedex-website | 166ab5bc6c39b5ab9df52b693c5126b990941f88 | [
"MIT"
] | null | null | null | src/css/generation-style.css | KaykyDeSouzaDias/pokedex-website | 166ab5bc6c39b5ab9df52b693c5126b990941f88 | [
"MIT"
] | null | null | null | @import url('https://fonts.googleapis.com/css2?family=Poppins&family=Raleway:wght@500;900&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
background-color: #231D23;
}
.side-menu-contai... | 13.009479 | 105 | 0.600729 |
92ff0aa3b2c33944fd1ac58fe5635d366a6c3901 | 1,499 | h | C | Source/Sparkle/SUUpdater.h | denisarsenault/NetScanner | cc3d9b95360f1d75ac098e6d1dc095c8b21f74fe | [
"BSD-3-Clause"
] | null | null | null | Source/Sparkle/SUUpdater.h | denisarsenault/NetScanner | cc3d9b95360f1d75ac098e6d1dc095c8b21f74fe | [
"BSD-3-Clause"
] | null | null | null | Source/Sparkle/SUUpdater.h | denisarsenault/NetScanner | cc3d9b95360f1d75ac098e6d1dc095c8b21f74fe | [
"BSD-3-Clause"
] | null | null | null | //
// SUUpdater.h
// Sparkle
//
// Created by Andy Matuschak on 1/4/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#import <Cocoa/Cocoa.h>
// Before you use Sparkle in your app, you must set SUFeedURL in Info.plist to the
// address of the appcast on your webserver. If you don't already have an
//... | 32.586957 | 93 | 0.75984 |
b8922d514f254d6a1ef6cc64831b54b85a089740 | 42,186 | html | HTML | index.html | asadsaifi2021/website | b7986d8b2628d495f302875a4db880baf3e3d453 | [
"CC-BY-4.0"
] | null | null | null | index.html | asadsaifi2021/website | b7986d8b2628d495f302875a4db880baf3e3d453 | [
"CC-BY-4.0"
] | null | null | null | index.html | asadsaifi2021/website | b7986d8b2628d495f302875a4db880baf3e3d453 | [
"CC-BY-4.0"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Asad Saifi</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css">
<!--================ UNICONS ===============-->
<link rel="stylesheet" href="https://unicons.i... | 46.769401 | 166 | 0.394254 |
fbba300c1b64fa52c5814a172aedf3a15b7e17b3 | 762 | h | C | CallTraceForWeChat/CallTraceForWeChat/WeChat_Headers/HoneyPayBaseViewController.h | ceekay1991/CallTraceForWeChat | 5767cb6f781821b6bf9facc8c87e58e15fa88541 | [
"MIT"
] | 30 | 2020-03-22T12:30:21.000Z | 2022-02-09T08:49:13.000Z | CallTraceForWeChat/CallTraceForWeChat/WeChat_Headers/HoneyPayBaseViewController.h | ceekay1991/CallTraceForWeChat | 5767cb6f781821b6bf9facc8c87e58e15fa88541 | [
"MIT"
] | null | null | null | CallTraceForWeChat/CallTraceForWeChat/WeChat_Headers/HoneyPayBaseViewController.h | ceekay1991/CallTraceForWeChat | 5767cb6f781821b6bf9facc8c87e58e15fa88541 | [
"MIT"
] | 8 | 2020-03-22T12:30:23.000Z | 2020-09-22T04:01:47.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "WCPayBaseViewController.h"
@class UIView;
@interface HoneyPayBaseViewController : WCPayBaseViewController
{
UIView *_nav... | 25.4 | 96 | 0.740157 |
53ae803129acbb2cb75856d254c4ef89c110e4a6 | 2,663 | java | Java | week6/src/com/atm/javadoc/sample/KeyPad.java | RodrigoAEscobar/JAVA-Projects | 9cada3f3c327edf09a7f0231d5720553b68a41ef | [
"Apache-2.0"
] | null | null | null | week6/src/com/atm/javadoc/sample/KeyPad.java | RodrigoAEscobar/JAVA-Projects | 9cada3f3c327edf09a7f0231d5720553b68a41ef | [
"Apache-2.0"
] | null | null | null | week6/src/com/atm/javadoc/sample/KeyPad.java | RodrigoAEscobar/JAVA-Projects | 9cada3f3c327edf09a7f0231d5720553b68a41ef | [
"Apache-2.0"
] | null | null | null | package com.atm.javadoc.sample;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JTextField;
/**
A component that lets the user enter a number, using
a butt... | 22.956897 | 64 | 0.584303 |
18d75ec2fb6bd6342e57b89f315e03e418e64a92 | 676 | rs | Rust | src/formats/mod.rs | xiaozhuai/imageinfo-rs | bbb9bc7332de1e47fd29b049a073b3253eed4f09 | [
"MIT"
] | 1 | 2022-01-28T07:17:49.000Z | 2022-01-28T07:17:49.000Z | src/formats/mod.rs | xiaozhuai/imageinfo-rs | bbb9bc7332de1e47fd29b049a073b3253eed4f09 | [
"MIT"
] | null | null | null | src/formats/mod.rs | xiaozhuai/imageinfo-rs | bbb9bc7332de1e47fd29b049a073b3253eed4f09 | [
"MIT"
] | null | null | null | mod try_avif_heic;
mod try_bmp;
mod try_cur_ico;
mod try_dds;
mod try_gif;
mod try_hdr;
mod try_icns;
mod try_jp2_jpx;
mod try_jpg;
mod try_ktx;
mod try_png;
mod try_psd;
mod try_qoi;
mod try_tiff;
mod try_webp;
mod try_tga;
pub use try_avif_heic::try_avif_heic;
pub use try_bmp::try_bmp;
pub use try_cur_ico::try_cur_i... | 19.882353 | 37 | 0.785503 |
e7e0878d68716573089e5e18ffeb1b116f9270b8 | 283 | kt | Kotlin | userservice/src/main/kotlin/com/peachprivacy/userservice/authentication/PasswordResetForm.kt | p4skal/peachprivacy | 89a8994fb07e5573f5ea098d0b19cdf908bdba1c | [
"MIT"
] | null | null | null | userservice/src/main/kotlin/com/peachprivacy/userservice/authentication/PasswordResetForm.kt | p4skal/peachprivacy | 89a8994fb07e5573f5ea098d0b19cdf908bdba1c | [
"MIT"
] | null | null | null | userservice/src/main/kotlin/com/peachprivacy/userservice/authentication/PasswordResetForm.kt | p4skal/peachprivacy | 89a8994fb07e5573f5ea098d0b19cdf908bdba1c | [
"MIT"
] | null | null | null | package com.peachprivacy.userservice.authentication
import javax.validation.constraints.NotBlank
import javax.validation.constraints.Size
data class PasswordResetForm(
@field:NotBlank var token: String,
@field:NotBlank @field:Size(min = 6, max = 255) var password: String
) | 31.444444 | 72 | 0.795053 |