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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9d6be5e2c7e0c9150880a5f6e789623e43821e0a | 1,169 | swift | Swift | EncomiendasUy/ConsultaController.swift | vmseba/EncomiendasUY | 7286d8ff368e32bc8a7a964e5b304f7d4c2b4fdd | [
"MIT"
] | null | null | null | EncomiendasUy/ConsultaController.swift | vmseba/EncomiendasUY | 7286d8ff368e32bc8a7a964e5b304f7d4c2b4fdd | [
"MIT"
] | null | null | null | EncomiendasUy/ConsultaController.swift | vmseba/EncomiendasUY | 7286d8ff368e32bc8a7a964e5b304f7d4c2b4fdd | [
"MIT"
] | null | null | null | //
// ConsultaController.swift
// EncomiendasUy
//
// Created by Sebastián Negreira on 31/12/14.
// Copyright (c) 2014 Sebastián Negreira. All rights reserved.
//
import UIKit
import Alamofire
import SwiftyJSON
class ConsultaController: UITableViewController {
@IBOutlet weak var documento: UITextFie... | 24.87234 | 91 | 0.668948 |
33124f8430b787d1c89051abe45a2a0e13187b5a | 976 | html | HTML | src/dashboard/templates/staff/unpublished_courses.html | cbsBiram/xarala__ssr | 863e1362c786daa752b942b796f7a015211d2f1b | [
"FSFAP"
] | null | null | null | src/dashboard/templates/staff/unpublished_courses.html | cbsBiram/xarala__ssr | 863e1362c786daa752b942b796f7a015211d2f1b | [
"FSFAP"
] | null | null | null | src/dashboard/templates/staff/unpublished_courses.html | cbsBiram/xarala__ssr | 863e1362c786daa752b942b796f7a015211d2f1b | [
"FSFAP"
] | null | null | null | {% extends "_dashboard_base.html" %}
{% load static %}
{% load crispy_forms_tags %}
{% block title %} {{ title }} {% endblock title %}
{% block sidebar %}
{% include "partials/_staff_sidebar.html" %}
{% endblock sidebar %}
{% block content %}
<div class="row">
<div class="col-lg-12">
{% include "partials/_co... | 20.333333 | 69 | 0.550205 |
02aa9fbddd18b0f443fd9499e88de2f5ab907888 | 198 | hh | C++ | Include/Zion/Main.hh | zionmultiplayer/Client | 291c027c4011cb1ab207c9b394fb5f4b1da8652c | [
"MIT"
] | 4 | 2022-02-08T07:04:49.000Z | 2022-02-09T23:43:49.000Z | Include/Zion/Main.hh | zionmultiplayer/Client | 291c027c4011cb1ab207c9b394fb5f4b1da8652c | [
"MIT"
] | null | null | null | Include/Zion/Main.hh | zionmultiplayer/Client | 291c027c4011cb1ab207c9b394fb5f4b1da8652c | [
"MIT"
] | null | null | null | #pragma once
#include "Game/CPad.h"
#include "Game/CPlayerPed.h"
namespace Zion
{
class Main
{
public:
static CPlayerPed *player;
static CPad *pad;
};
}; | 15.230769 | 38 | 0.560606 |
fd7102850ba06fe0c2e9e97fee0d17aa15d620d6 | 2,275 | kt | Kotlin | code/codegen/src/main/kotlin/com/android/gradle/replicator/resgen/util/ValueGenerator.kt | android/project-replicator | bcfb5bf02891782e6a55875d93027bdd4e41c348 | [
"Apache-2.0"
] | 74 | 2020-07-22T06:42:34.000Z | 2022-03-09T13:27:31.000Z | code/codegen/src/main/kotlin/com/android/gradle/replicator/resgen/util/ValueGenerator.kt | android/project-replicator | bcfb5bf02891782e6a55875d93027bdd4e41c348 | [
"Apache-2.0"
] | 2 | 2020-10-07T12:32:47.000Z | 2020-12-08T23:31:06.000Z | code/codegen/src/main/kotlin/com/android/gradle/replicator/resgen/util/ValueGenerator.kt | android/project-replicator | bcfb5bf02891782e6a55875d93027bdd4e41c348 | [
"Apache-2.0"
] | 23 | 2020-08-05T14:19:58.000Z | 2022-03-16T13:44:41.000Z | /*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 28.797468 | 80 | 0.63033 |
58da4b807994f6c760e5740063e386b13f83eff4 | 495 | css | CSS | assets/style.css | Brianna1915403/iot-dashboard | 76b1fc49a173485efe67d273304300820510346f | [
"MIT"
] | null | null | null | assets/style.css | Brianna1915403/iot-dashboard | 76b1fc49a173485efe67d273304300820510346f | [
"MIT"
] | null | null | null | assets/style.css | Brianna1915403/iot-dashboard | 76b1fc49a173485efe67d273304300820510346f | [
"MIT"
] | null | null | null | @import url('https://fonts.googleapis.com/css2?family=Barlow:wght@200&display=swap');
body {
font-family: 'Barlow', sans-serif;
}
.dashboard-container {
width: 100% !important;
}
.dashboard {
display: flex;
margin-top: 3em;
}
aside {
width: min-content;
margin: 0em 2.5em;
}
aside.left-sideb... | 12.692308 | 85 | 0.616162 |
1c2196b3cc6deea55581f4ebc8314f09ec826981 | 1,297 | swift | Swift | ShakeView.swift | kimar/ShakeView | 9e063307ab59fab90e13e66bb894a131650de049 | [
"MIT"
] | 2 | 2015-07-25T19:44:45.000Z | 2018-09-03T14:40:45.000Z | ShakeView.swift | kimar/ShakeView | 9e063307ab59fab90e13e66bb894a131650de049 | [
"MIT"
] | null | null | null | ShakeView.swift | kimar/ShakeView | 9e063307ab59fab90e13e66bb894a131650de049 | [
"MIT"
] | null | null | null | //
// ShakeView.swift
// himbo
//
// Created by Marcus Kida on 29/11/2014.
// Copyright (c) 2014 Marcus Kida. All rights reserved.
//
import UIKit
enum ShakeDirection {
case Horizontal, Vertical
}
extension UIView {
func shake(times: Int, direction: ShakeDirection) {
shake(times, iteration: 0, di... | 39.30303 | 202 | 0.630686 |
54e76086e35fecd29ad2d54330bfa5e34de509be | 1,549 | css | CSS | styles/global.css | activatedgeek/www-next | 5a845aad6e912a2b2770483997a5ee8adf354fa7 | [
"Apache-2.0"
] | null | null | null | styles/global.css | activatedgeek/www-next | 5a845aad6e912a2b2770483997a5ee8adf354fa7 | [
"Apache-2.0"
] | 8 | 2021-08-13T03:26:51.000Z | 2022-03-29T22:33:05.000Z | styles/global.css | activatedgeek/www-next | 5a845aad6e912a2b2770483997a5ee8adf354fa7 | [
"Apache-2.0"
] | null | null | null | @tailwind base;
@layer base {
h1,
h2,
h3,
h4 {
@apply font-serif;
}
p {
@apply font-sans;
}
summary {
@apply font-sans cursor-pointer inline-block border rounded shadow-sm py-2 px-4;
}
figcaption {
@apply font-sans text-center;
}
img {
@apply mx-auto rounded shadow-md;
}
... | 22.779412 | 212 | 0.62621 |
62d8bdc0b46136f4bc0959d295bf5aac98a5837e | 1,320 | h | C | XVim2/XcodeHeader/IDEKit/IDETestNavigatorFilterManager.h | haozhiyu1990/XVim2 | 3f37d905d51c22fbd86c36e42d8ee1813829b00c | [
"MIT"
] | 2,453 | 2017-09-07T00:07:49.000Z | 2022-03-29T22:32:10.000Z | XVim2/XcodeHeader/IDEKit/IDETestNavigatorFilterManager.h | haozhiyu1990/XVim2 | 3f37d905d51c22fbd86c36e42d8ee1813829b00c | [
"MIT"
] | 373 | 2017-09-20T04:16:11.000Z | 2022-03-26T17:01:37.000Z | XVim2/XcodeHeader/IDEKit/IDETestNavigatorFilterManager.h | haozhiyu1990/XVim2 | 3f37d905d51c22fbd86c36e42d8ee1813829b00c | [
"MIT"
] | 260 | 2017-09-16T15:31:41.000Z | 2022-02-07T02:52:29.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
#import <IDEKit/IDETestNavigatorFilterProducer-Protocol.h>
@class IDETestManager, NSString;
@protocol IDETestNavigatorFilterConsumer;
@interface IDE... | 37.714286 | 122 | 0.809848 |
43fe50d5b68fa802d8edbdd4430e34e9b3d98995 | 3,982 | ts | TypeScript | client/src/redux/reducers/projectReducer.ts | adxzhang1/readyship-app | 2bc3972933ba9561a5bd0561166bd92b02f5c88d | [
"MIT"
] | null | null | null | client/src/redux/reducers/projectReducer.ts | adxzhang1/readyship-app | 2bc3972933ba9561a5bd0561166bd92b02f5c88d | [
"MIT"
] | null | null | null | client/src/redux/reducers/projectReducer.ts | adxzhang1/readyship-app | 2bc3972933ba9561a5bd0561166bd92b02f5c88d | [
"MIT"
] | null | null | null | import {
CREATE_PROJECT_REQUEST,
CREATE_PROJECT_SUCCESS,
CREATE_PROJECT_FAIL,
UPDATE_PROJECT_REQUEST,
UPDATE_PROJECT_SUCCESS,
UPDATE_PROJECT_FAIL,
DELETE_PROJECT_REQUEST,
DELETE_PROJECT_SUCCESS,
DELETE_PROJECT_FAIL,
USER_PROJECTS_REQUEST,
USER_PROJECTS_SUCCESS,
USER_PROJECTS_FAIL,
ASSIGNED_PRO... | 26.197368 | 118 | 0.712205 |
6d7b281e8b4e7882232d79d2c4ceeac334541aa1 | 1,609 | swift | Swift | TwitterDemo/TweetsDetailViewController.swift | JaberJanati/Twitter | 54306991991eada9350ee8a2f5a4bfdb1310b292 | [
"Apache-2.0"
] | null | null | null | TwitterDemo/TweetsDetailViewController.swift | JaberJanati/Twitter | 54306991991eada9350ee8a2f5a4bfdb1310b292 | [
"Apache-2.0"
] | 3 | 2016-02-29T02:13:55.000Z | 2016-03-23T19:16:02.000Z | TwitterDemo/TweetsDetailViewController.swift | JaberJanati/Twitter | 54306991991eada9350ee8a2f5a4bfdb1310b292 | [
"Apache-2.0"
] | null | null | null | //
// TweetsDetailViewController.swift
// TwitterDemo
//
// Created by The Boss on 3/19/16.
// Copyright © 2016 The Boss. All rights reserved.
//
import UIKit
class TweetsDetailViewController: UIViewController {
@IBOutlet weak var profileImage: UIImageView!
@IBOutlet weak var nameLabel: UILabel!
@IBO... | 29.796296 | 106 | 0.691112 |
5405fbb0f213de941dadebe45383e921979127be | 179 | css | CSS | css/master.css | luisreys/luisreys.github.io | c295163fbaa692164d96c7a5c4126a1eae15de7a | [
"MIT"
] | null | null | null | css/master.css | luisreys/luisreys.github.io | c295163fbaa692164d96c7a5c4126a1eae15de7a | [
"MIT"
] | null | null | null | css/master.css | luisreys/luisreys.github.io | c295163fbaa692164d96c7a5c4126a1eae15de7a | [
"MIT"
] | null | null | null | .alto{
height: 100vh;
}
.bg-colorA{
/*background-color: #FF3D00; */
background-color: #FFF86A;
}
.bg-colorB{
/*background-color: #00DB6C;*/
background-color: #FFF200;
}
| 12.785714 | 32 | 0.642458 |
f1bc2765a9506cb9e07712c1c29cd874623bc240 | 505 | rb | Ruby | spec/models/concerns/commerce/purchaser_spec.rb | MidnightRiders/MemberPortal | 5b958ff9081c0c3eb28f8fc4546b6cceda39cdfa | [
"MIT"
] | 1 | 2017-01-09T18:30:59.000Z | 2017-01-09T18:30:59.000Z | spec/models/concerns/commerce/purchaser_spec.rb | MidnightRiders/MemberPortal | 5b958ff9081c0c3eb28f8fc4546b6cceda39cdfa | [
"MIT"
] | 40 | 2017-01-03T01:25:51.000Z | 2021-10-30T16:54:10.000Z | spec/models/concerns/commerce/purchaser_spec.rb | MidnightRiders/MemberPortal | 5b958ff9081c0c3eb28f8fc4546b6cceda39cdfa | [
"MIT"
] | null | null | null | require 'spec_helper'
describe Commerce::Purchaser do
let(:purchaser) {
class ExamplePurchaserClass
include ActiveModel::Validations
include Commerce::Purchaser
end
ExamplePurchaserClass.new
}
describe 'defaulted methods' do
it 'returns a blank string for stripe_customer_info' do
... | 21.956522 | 59 | 0.714851 |
259846028fcbf521d100645391171349770c5b44 | 5,577 | cs | C# | src/Com.Danliris.Service.Packing.Inventory.Data/Models/MaterialDeliveryNoteWeaving/MaterialDeliveryNoteWeavingModel.cs | AndreaZain/com-danliris-service-packing-inventory | d6dd88e4839f7345387cf8ab059f73f02306f59a | [
"MIT"
] | null | null | null | src/Com.Danliris.Service.Packing.Inventory.Data/Models/MaterialDeliveryNoteWeaving/MaterialDeliveryNoteWeavingModel.cs | AndreaZain/com-danliris-service-packing-inventory | d6dd88e4839f7345387cf8ab059f73f02306f59a | [
"MIT"
] | 669 | 2020-04-07T10:40:37.000Z | 2022-03-29T05:20:48.000Z | src/Com.Danliris.Service.Packing.Inventory.Data/Models/MaterialDeliveryNoteWeaving/MaterialDeliveryNoteWeavingModel.cs | AndreaZain/com-danliris-service-packing-inventory | d6dd88e4839f7345387cf8ab059f73f02306f59a | [
"MIT"
] | 117 | 2019-11-20T06:23:37.000Z | 2022-03-31T09:49:28.000Z | using Com.Danliris.Service.Packing.Inventory.Data.Models.MaterialDeliveryNoteWeaving;
using Com.Moonlay.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Com.Danliris.Service.Packing.Inventory.Data
{
public class MaterialDeliveryNoteWeavingModel: StandardEntity
{
pu... | 27.204878 | 120 | 0.511924 |
ae5c4ef570ff78156b3e44ad9e61bf16775eb676 | 220 | sql | SQL | leetcode/180-consecutive-numbers.sql | airt/oj-codes | 51279048a45080dcf390d02145f5ea623db557a1 | [
"MIT"
] | null | null | null | leetcode/180-consecutive-numbers.sql | airt/oj-codes | 51279048a45080dcf390d02145f5ea623db557a1 | [
"MIT"
] | null | null | null | leetcode/180-consecutive-numbers.sql | airt/oj-codes | 51279048a45080dcf390d02145f5ea623db557a1 | [
"MIT"
] | null | null | null | -- https://leetcode.com/problems/consecutive-numbers
select distinct l.num as consecutivenums
from logs l, logs ll, logs lll
where l.id + 1 = ll.id and ll.id + 1 = lll.id
and l.num = ll.num and ll.num = lll.num
| 31.428571 | 52 | 0.686364 |
441b547cb500f1bc58baad6bea93b4cf210fa408 | 578 | lua | Lua | files/scripts/rubber_cement.lua | BaconSeaner/Binding-of-Noita | 266d3a8fed1a4dc30f049bd3fa39b8d6bf8673e9 | [
"MIT"
] | null | null | null | files/scripts/rubber_cement.lua | BaconSeaner/Binding-of-Noita | 266d3a8fed1a4dc30f049bd3fa39b8d6bf8673e9 | [
"MIT"
] | null | null | null | files/scripts/rubber_cement.lua | BaconSeaner/Binding-of-Noita | 266d3a8fed1a4dc30f049bd3fa39b8d6bf8673e9 | [
"MIT"
] | null | null | null | local entity_id = GetUpdatedEntityID()
local proj_comps = EntityGetComponent( entity_id, "ProjectileComponent" )
if proj_comps then
for i, comp in ipairs(proj_comps) do
--ComponentSetValue2( comp, "collide_with_world" , true )
--ComponentSetValue2( comp, "collide_w... | 41.285714 | 73 | 0.688581 |
c662abae0eef581a39cfb73b57a049b5af3bcf3c | 1,407 | rb | Ruby | lib/db_meta/oracle/types/sequence.rb | thomis/db_meta | 8047db1404b661e58984aa10de3605d7512074cd | [
"Apache-2.0"
] | null | null | null | lib/db_meta/oracle/types/sequence.rb | thomis/db_meta | 8047db1404b661e58984aa10de3605d7512074cd | [
"Apache-2.0"
] | 1 | 2021-05-01T06:17:54.000Z | 2021-05-01T06:17:54.000Z | lib/db_meta/oracle/types/sequence.rb | thomis/db_meta | 8047db1404b661e58984aa10de3605d7512074cd | [
"Apache-2.0"
] | null | null | null | module DbMeta
module Oracle
class Sequence < Base
register_type("SEQUENCE")
attr_reader :min_value, :max_value, :increment_by, :cycle_flag, :order_flag, :cache_size, :last_number
def fetch
connection = Connection.instance.get
cursor = connection.exec("select to_char(min_value),... | 34.317073 | 224 | 0.568586 |
372c5b62c7bdf3050a862d0cc539f8027c12335b | 379 | swift | Swift | Rickipedia/Views/EpisodeDetailsViewController.swift | vshkl/Rickipedia-iOS | 8088223d5461cbd505f438fc93bf5b4ea4a37d8b | [
"MIT"
] | null | null | null | Rickipedia/Views/EpisodeDetailsViewController.swift | vshkl/Rickipedia-iOS | 8088223d5461cbd505f438fc93bf5b4ea4a37d8b | [
"MIT"
] | null | null | null | Rickipedia/Views/EpisodeDetailsViewController.swift | vshkl/Rickipedia-iOS | 8088223d5461cbd505f438fc93bf5b4ea4a37d8b | [
"MIT"
] | null | null | null | //
// EpisodeDetailsViewController.swift
// Rickipedia
//
// Created by Pavel Vashkel on 4/4/20.
// Copyright © 2020 Pavel Vashkel. All rights reserved.
//
import UIKit
class EpisodeDetailsViewController: UIViewController {
var episode: Episode?
override func viewDidLoad() {
super.viewDidLoa... | 17.227273 | 56 | 0.680739 |
0343c6990a506d130b0f6021ba5dab01fc857826 | 44,149 | sql | SQL | SQL/CreatePMDObjects.sql | itrain-de/pmdsql | 3e1a056e3d967993fcc693b5c3c6a4aa2735422d | [
"MIT"
] | null | null | null | SQL/CreatePMDObjects.sql | itrain-de/pmdsql | 3e1a056e3d967993fcc693b5c3c6a4aa2735422d | [
"MIT"
] | null | null | null | SQL/CreatePMDObjects.sql | itrain-de/pmdsql | 3e1a056e3d967993fcc693b5c3c6a4aa2735422d | [
"MIT"
] | null | null | null | --drop TABLE [Documentation].[ExtendedPropertiesConfiguration]
SET NOCOUNT ON
IF NOT EXISTS (SELECT * FROM sys.schemas WHERE name = 'Documentation')
EXEC sp_executeSQL N'CREATE SCHEMA Documentation'
IF NOT EXISTS (SELECT * FROM sys.tables WHERE name ='ExtendedPropertiesConfiguration' AND SCHEMA_NAME(schema_id) = 'Docu... | 39.917722 | 778 | 0.703028 |
8d96394e98983643857ebba0f2e2d927643872e0 | 7,153 | js | JavaScript | src/js/QuartzCore/CAKeyframeAnimation.js | browniefed/JSceneKit | 4f4939bd6b57eff9830bb038add1fb5fbac289aa | [
"MIT"
] | 71 | 2017-04-09T11:33:55.000Z | 2022-02-26T17:08:58.000Z | src/js/QuartzCore/CAKeyframeAnimation.js | browniefed/JSceneKit | 4f4939bd6b57eff9830bb038add1fb5fbac289aa | [
"MIT"
] | 6 | 2017-10-20T00:29:57.000Z | 2020-05-18T16:55:41.000Z | src/js/QuartzCore/CAKeyframeAnimation.js | browniefed/JSceneKit | 4f4939bd6b57eff9830bb038add1fb5fbac289aa | [
"MIT"
] | 12 | 2017-09-05T14:20:32.000Z | 2021-01-18T02:34:12.000Z | 'use strict'
import CAPropertyAnimation from './CAPropertyAnimation'
//import CGPath from '../CoreGraphics/CGPath'
//import CAMediaTimingFunction from './CAMediaTimingFunction'
import * as Constants from '../constants'
/**
* An object that provides keyframe animation capabilities for a layer object.
* @access pub... | 29.804167 | 109 | 0.64784 |
b0a7d60788924e091863b5ea004675876bd89153 | 725 | py | Python | builder/pylib/clean_cmd.py | alexa/aac-sdk | 9324a7776da8b2d2210b76a88330c3f695d9b9f6 | [
"Apache-2.0"
] | 139 | 2018-08-09T15:14:05.000Z | 2019-06-21T20:47:58.000Z | builder/pylib/clean_cmd.py | chris19930209/alexa-auto-sdk | 9324a7776da8b2d2210b76a88330c3f695d9b9f6 | [
"Apache-2.0"
] | 2 | 2018-09-04T23:43:24.000Z | 2019-01-30T20:38:13.000Z | builder/pylib/clean_cmd.py | chris19930209/alexa-auto-sdk | 9324a7776da8b2d2210b76a88330c3f695d9b9f6 | [
"Apache-2.0"
] | 60 | 2018-08-09T22:28:37.000Z | 2019-06-25T07:06:17.000Z | import subprocess
from pylib.common import BaseHandler
class BuilderHandler(BaseHandler):
def run( self ):
clean_packages = self.builder_configuration.find_packages( self.get_arg("pattern") )
self.log_info( "Cleaning cached builder data..." )
for next in clean_packages:
# remov... | 42.647059 | 130 | 0.657931 |
83e8587c4f658e72937a79f3f3dd8820e7cdc2b3 | 1,047 | swift | Swift | src/old/SeasoningManagement/SeasoningManagement/UsingSeasoningView/ViewModel/SMUsingSeasoningCollectionViewModel.swift | DIO0550/-seasoning-management-ios | 00130634097acad2b1ac82edaf8b57e84d9207f0 | [
"MIT"
] | null | null | null | src/old/SeasoningManagement/SeasoningManagement/UsingSeasoningView/ViewModel/SMUsingSeasoningCollectionViewModel.swift | DIO0550/-seasoning-management-ios | 00130634097acad2b1ac82edaf8b57e84d9207f0 | [
"MIT"
] | 9 | 2020-05-11T11:33:51.000Z | 2020-06-26T11:47:08.000Z | src/old/SeasoningManagement/SeasoningManagement/UsingSeasoningView/ViewModel/SMUsingSeasoningCollectionViewModel.swift | DIO0550/seasoning-management-iOS | 00130634097acad2b1ac82edaf8b57e84d9207f0 | [
"MIT"
] | null | null | null | //
// SMUsingSeasoningCollectionViewModel.swift
// SeasoningManagement
//
// Created by DIO on 2020/05/17.
// Copyright © 2020 DIO0550. All rights reserved.
//
import UIKit
import RxDataSources
import RxSwift
import RxCocoa
class SMUsingSeasoningCollectionViewModel {
typealias Section = SMUsingSeasoningCollec... | 31.727273 | 108 | 0.730659 |
2f1119fea951ece2e849b60cec3c4ce96c6b3bc6 | 434 | sql | SQL | timeregistration-parent-pom/timeregistration-common-pom/timeregistration-common-sql/src/main/resources/sql/ddl/_create-tables.sql | schioler/timeregistration | 95c9221a67d1698dcf55eab44724f7b44446c295 | [
"Apache-2.0"
] | null | null | null | timeregistration-parent-pom/timeregistration-common-pom/timeregistration-common-sql/src/main/resources/sql/ddl/_create-tables.sql | schioler/timeregistration | 95c9221a67d1698dcf55eab44724f7b44446c295 | [
"Apache-2.0"
] | null | null | null | timeregistration-parent-pom/timeregistration-common-pom/timeregistration-common-sql/src/main/resources/sql/ddl/_create-tables.sql | schioler/timeregistration | 95c9221a67d1698dcf55eab44724f7b44446c295 | [
"Apache-2.0"
] | null | null | null | use timereg;
source create-user.sql
source create-user_password.sql
source create-role.sql
source create-user_role_link.sql
source create-work_clock_event_type.sql
source create-work_clock_event.sql
source create-provider.sql
source create-provider_account.sql
source create-client.sql
source create-client_project.sql
s... | 27.125 | 40 | 0.870968 |
6d845ffbb058b0890bace5cbc6d607cdde167345 | 275 | h | C | AppPredictionInternal.framework/ATXABHelper.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 4 | 2021-10-06T12:15:26.000Z | 2022-02-21T02:26:00.000Z | AppPredictionInternal.framework/ATXABHelper.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | null | null | null | AppPredictionInternal.framework/ATXABHelper.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 1 | 2021-10-08T07:40:53.000Z | 2021-10-08T07:40:53.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/AppPredictionInternal.framework/AppPredictionInternal
*/
@interface ATXABHelper : NSObject
+ (id)abGroupForConsumerSubType:(unsigned char)arg1;
+ (id)abGroupNilString;
+ (id)abGroupOverride;
@end
| 22.916667 | 97 | 0.8 |
f3f7c2790df775506af9c87a464b063871fbeeff | 365 | ts | TypeScript | src/services/bandchain.ts | EngineEarz/bridge-v2 | d8638bc3b69ee30d0e726bfca509843dc82eff41 | [
"MIT"
] | 1 | 2022-03-06T20:25:41.000Z | 2022-03-06T20:25:41.000Z | src/services/bandchain.ts | EngineEarz/bridge-v2 | d8638bc3b69ee30d0e726bfca509843dc82eff41 | [
"MIT"
] | null | null | null | src/services/bandchain.ts | EngineEarz/bridge-v2 | d8638bc3b69ee30d0e726bfca509843dc82eff41 | [
"MIT"
] | null | null | null | import { Client } from "@bandprotocol/bandchain.js";
let bandchainInstance: any | null = null;
// BandChain's Proof-of-Authority REST endpoint
const endpoint = "https://laozi-testnet4.bandchain.org/grpc-web";
export const getBandchain = () => {
if (bandchainInstance === null) {
bandchainInstance = new Client(e... | 26.071429 | 65 | 0.715068 |
bf48589b08ef8b2b91190a214078268ab196e3a4 | 213 | rb | Ruby | lib/locomotivecms_search.rb | locomotivecms/search | 1e2f577a6e47c72f27148a80decaec3e1aed2cd3 | [
"MIT"
] | 7 | 2018-04-07T22:12:32.000Z | 2020-02-11T06:15:22.000Z | lib/locomotivecms_search.rb | locomotivecms/search | 1e2f577a6e47c72f27148a80decaec3e1aed2cd3 | [
"MIT"
] | 2 | 2019-05-13T15:35:57.000Z | 2022-01-27T14:53:12.000Z | lib/locomotivecms_search.rb | locomotivecms/search | 1e2f577a6e47c72f27148a80decaec3e1aed2cd3 | [
"MIT"
] | 5 | 2018-06-16T14:54:52.000Z | 2021-11-06T08:08:30.000Z | require 'locomotive/search/errors'
require 'locomotive/search/backend_factory'
require 'locomotive/search/engine'
require 'locomotive/search/backend/base'
module Locomotive::Search
# Your code goes here...
end
| 23.666667 | 43 | 0.802817 |
9806e3cb64b66b2f2f58409610c03093399285ce | 765 | py | Python | rest-apis/apis.py | fishermano/QShield | 745da3870240e0cab6ab75deebd128eb08b45bac | [
"Apache-2.0"
] | 2 | 2021-09-17T11:04:01.000Z | 2021-09-17T11:04:03.000Z | rest-apis/apis.py | fishermano/qshield | 745da3870240e0cab6ab75deebd128eb08b45bac | [
"Apache-2.0"
] | null | null | null | rest-apis/apis.py | fishermano/qshield | 745da3870240e0cab6ab75deebd128eb08b45bac | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = 'CYX'
import json, logging, inspect, functools
class APIError(Exception):
def __init__(self, error, data = '', message = ''):
super(APIError, self).__init__(message)
self.error = error
self.data = data
self.message = message
class APIValueError(AP... | 29.423077 | 90 | 0.720261 |
6dc6675db23bbb91408cd8a854a842c1a8a3c6fe | 1,372 | c | C | src/impls/atrshmlogimpl_inittimes_flag.c | atrsoftgmbh/atrshmlog | 4ca1a2cc6ff26890a02d74db378e597353f197d3 | [
"Apache-2.0"
] | null | null | null | src/impls/atrshmlogimpl_inittimes_flag.c | atrsoftgmbh/atrshmlog | 4ca1a2cc6ff26890a02d74db378e597353f197d3 | [
"Apache-2.0"
] | null | null | null | src/impls/atrshmlogimpl_inittimes_flag.c | atrsoftgmbh/atrshmlog | 4ca1a2cc6ff26890a02d74db378e597353f197d3 | [
"Apache-2.0"
] | null | null | null |
#include "../atrshmlog_internal.h"
/********************************************************************/
/**
* \file atrshmlogimpl_inittimes_flag.c
*/
/**
* \n Main code:
*
* \brief The init time values.
*
* Our time is meatured in tsc clicks.
*
* So we make one corresponding gettime and use two tsc
* ... | 24.070175 | 73 | 0.600583 |
3128cc67cf2c36c4eead35c6e518a77a7f4865b0 | 324 | kt | Kotlin | subprojects/gradle/instrumentation-tests/src/main/kotlin/com/avito/instrumentation/suite/dex/TestSuiteLoader.kt | ussernamenikita/avito-android | 45b414cad6ecf101635ba73c9b7b8ed23881b386 | [
"MIT"
] | null | null | null | subprojects/gradle/instrumentation-tests/src/main/kotlin/com/avito/instrumentation/suite/dex/TestSuiteLoader.kt | ussernamenikita/avito-android | 45b414cad6ecf101635ba73c9b7b8ed23881b386 | [
"MIT"
] | null | null | null | subprojects/gradle/instrumentation-tests/src/main/kotlin/com/avito/instrumentation/suite/dex/TestSuiteLoader.kt | ussernamenikita/avito-android | 45b414cad6ecf101635ba73c9b7b8ed23881b386 | [
"MIT"
] | null | null | null | package com.avito.instrumentation.suite.dex
import com.avito.instrumentation.suite.dex.check.TestSignatureCheck
import org.funktionale.tries.Try
import java.io.File
interface TestSuiteLoader {
fun loadTestSuite(
file: File,
testSignatureCheck: TestSignatureCheck? = null
): Try<List<TestInApk>... | 23.142857 | 67 | 0.759259 |
2c8a1cc00144844130ad33bc823c28f67186aad6 | 35,824 | py | Python | pysnmp-with-texts/SW-LAYER2-PORT-MANAGEMENT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/SW-LAYER2-PORT-MANAGEMENT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/SW-LAYER2-PORT-MANAGEMENT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module SW-LAYER2-PORT-MANAGEMENT-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SW-LAYER2-PORT-MANAGEMENT-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:12:34 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python ve... | 175.607843 | 3,182 | 0.769791 |
853dd1c736916b168a439bb41f08aa1a781e737e | 1,109 | cs | C# | Samples/DirectX12WinFormsApp/Program.cs | TechnikEmpire/DirectX12GameEngine | b6aa64442fceb8e08d0b735c25fa8fb3d860b387 | [
"MIT"
] | 255 | 2019-08-20T04:41:20.000Z | 2022-03-24T11:26:03.000Z | Samples/DirectX12WinFormsApp/Program.cs | 5l1v3r1/DirectX12GameEngine | efb7d4c0852c645fcc9e73edab098d20ef683d57 | [
"MIT"
] | 12 | 2019-08-19T15:06:56.000Z | 2021-08-18T14:00:14.000Z | Samples/DirectX12WinFormsApp/Program.cs | 5l1v3r1/DirectX12GameEngine | efb7d4c0852c645fcc9e73edab098d20ef683d57 | [
"MIT"
] | 44 | 2019-09-17T11:41:00.000Z | 2022-03-24T11:27:00.000Z | using System;
using System.IO;
using System.Windows.Forms;
using DirectX12Game;
using DirectX12GameEngine.Serialization;
using DirectX12GameEngine.Games;
using Windows.Storage;
namespace DirectX12WinFormsApp
{
public class MyForm : Form
{
public MyForm()
{
Width = 1200;
... | 25.204545 | 122 | 0.612263 |
cc456b3a2573d8769c536b98b1658e8b5ebe1569 | 226 | sql | SQL | tests/queries/0_stateless/01373_summing_merge_tree_explicit_columns_definition.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 15,577 | 2019-09-23T11:57:53.000Z | 2022-03-31T18:21:48.000Z | tests/queries/0_stateless/01373_summing_merge_tree_explicit_columns_definition.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 16,476 | 2019-09-23T11:47:00.000Z | 2022-03-31T23:06:01.000Z | tests/queries/0_stateless/01373_summing_merge_tree_explicit_columns_definition.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 3,633 | 2019-09-23T12:18:28.000Z | 2022-03-31T15:55:48.000Z | DROP TABLE IF EXISTS tt_error_1373;
CREATE TABLE tt_error_1373
( a Int64, d Int64, val Int64 )
ENGINE = SummingMergeTree((a, val)) PARTITION BY (a) ORDER BY (d); -- { serverError 36 }
DROP TABLE IF EXISTS tt_error_1373; | 32.285714 | 88 | 0.721239 |
a38c131efd7afa43918055ef4d2c2c7fe129defd | 8,209 | java | Java | app/src/main/java/org/jboss/hal/client/runtime/subsystem/datasource/DataSourceView.java | rmartinc/console | 8e2cb2b5a147af582e533980b8211bfb3e58524e | [
"Apache-2.0"
] | 25 | 2018-04-02T13:35:05.000Z | 2021-11-28T03:28:35.000Z | app/src/main/java/org/jboss/hal/client/runtime/subsystem/datasource/DataSourceView.java | rmartinc/console | 8e2cb2b5a147af582e533980b8211bfb3e58524e | [
"Apache-2.0"
] | 160 | 2018-03-29T07:23:42.000Z | 2022-03-24T13:13:49.000Z | app/src/main/java/org/jboss/hal/client/runtime/subsystem/datasource/DataSourceView.java | rmartinc/console | 8e2cb2b5a147af582e533980b8211bfb3e58524e | [
"Apache-2.0"
] | 63 | 2018-03-30T06:47:58.000Z | 2021-11-11T16:06:06.000Z | /*
* Copyright 2015-2016 Red Hat, Inc, and individual contributors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | 40.638614 | 118 | 0.664027 |
2c51285d04fc0c5bc8333deb4b992a3af6f2a610 | 1,216 | py | Python | o2dash/remote.py | mariuszduka/omega2-dash-simple-project | 108a14460c4abc700f683f268b243eb1e7b995df | [
"MIT"
] | 1 | 2021-11-28T21:14:46.000Z | 2021-11-28T21:14:46.000Z | o2dash/remote.py | mariuszduka/omega2-dash-simple-project | 108a14460c4abc700f683f268b243eb1e7b995df | [
"MIT"
] | null | null | null | o2dash/remote.py | mariuszduka/omega2-dash-simple-project | 108a14460c4abc700f683f268b243eb1e7b995df | [
"MIT"
] | null | null | null | import socket
import time
host = '0.0.0.0' # IP address of Omega2(+) or Omega2 Pro with temperature sensor
port = 50005
def sendCommand(command = "stat"):
addr = socket.getaddrinfo(host, port)[0][-1]
s = socket.socket()
s.settimeout(5.0)
try:
s.connect(addr)
except:
return False
s.send(command)
tr... | 17.126761 | 80 | 0.648026 |
6b0e8c014fc524eaee29377816ca014a0f425f36 | 542 | swift | Swift | Titanic/SwiftUI/GamePickerDelegate.swift | maikdrop/Titanic | 9e8ecea082ea1e203d6bb3e3ec42f884ae7f7f24 | [
"MIT"
] | 1 | 2021-04-28T14:34:36.000Z | 2021-04-28T14:34:36.000Z | Titanic/SwiftUI/GamePickerDelegate.swift | maikdrop/Titanic | 9e8ecea082ea1e203d6bb3e3ec42f884ae7f7f24 | [
"MIT"
] | null | null | null | Titanic/SwiftUI/GamePickerDelegate.swift | maikdrop/Titanic | 9e8ecea082ea1e203d6bb3e3ec42f884ae7f7f24 | [
"MIT"
] | null | null | null | //
// GamePickerDelegate.swift
// Titanic
//
// Created by Maik on 01.12.20.
// Copyright © 2020 maikdrop. All rights reserved.
//
import Foundation
import Combine
class GamePickerDelegate: ObservableObject {
// MARK: - Properties
var willChange = PassthroughSubject<GamePickerDelegate, Never>()
var d... | 20.074074 | 68 | 0.640221 |
c6e63f58b7a7b5eaee99b9c784211a3ab17ee65b | 537 | css | CSS | stylesheets/stylesheets/toc2.css | vengatlnx/Slides | 7fabb9c3771f8084e06bcde1c421b68030420df1 | [
"MIT"
] | 25 | 2016-08-13T14:30:29.000Z | 2019-08-29T14:22:05.000Z | contrib/doc/stylesheets/toc2.css | rkoschmitzky/gaffer | ec6262ae1292767bdeb9520d1447d65a4a511884 | [
"BSD-3-Clause"
] | 17 | 2015-10-13T18:44:55.000Z | 2021-08-29T15:48:30.000Z | contrib/doc/stylesheets/toc2.css | rkoschmitzky/gaffer | ec6262ae1292767bdeb9520d1447d65a4a511884 | [
"BSD-3-Clause"
] | 19 | 2015-03-05T12:33:49.000Z | 2018-08-10T04:54:14.000Z | @media screen {
body {
max-width: 50em; /* approximately 80 characters wide */
margin-left: 16em;
}
#toc {
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 13em;
padding: 0.5em;
padding-bottom: 1.5em;
margin: 0;
overflow: auto;
border-right: 3px solid #f8f8f8;
... | 15.342857 | 59 | 0.560521 |
5ca8c3d279fb50adc4d178ae84d2f3b0b85313e2 | 1,547 | lua | Lua | luci-app-v2ray-server/luasrc/controller/v2ray_server.lua | guyezi/app | ee8ed6239793fd1a042c14f1e4b1dfac4d03943c | [
"MIT"
] | null | null | null | luci-app-v2ray-server/luasrc/controller/v2ray_server.lua | guyezi/app | ee8ed6239793fd1a042c14f1e4b1dfac4d03943c | [
"MIT"
] | null | null | null | luci-app-v2ray-server/luasrc/controller/v2ray_server.lua | guyezi/app | ee8ed6239793fd1a042c14f1e4b1dfac4d03943c | [
"MIT"
] | null | null | null | module("luci.controller.v2ray_server",package.seeall)
local http = require "luci.http"
local v2ray = require "luci.model.cbi.v2ray_server.api.v2ray"
function index()
if not nixio.fs.access("/etc/config/v2ray_server")then
return
end
entry({"admin","vpn"}, firstchild(), "VPN", 45).dependent = false
entry({"admin"... | 32.914894 | 127 | 0.7117 |
54a5a84271445b6cc5c7d9115481b2c87eac5457 | 1,408 | css | CSS | pgAdmin4/pgAdmin4/lib/python2.7/site-packages/pgadmin4/pgadmin/tools/debugger/static/css/debugger.css | Anillab/One-Minute-Pitch | 123f7b2010d3ae0f031066db1bcfe6eda7a41e84 | [
"MIT"
] | 4 | 2019-10-03T21:58:22.000Z | 2021-02-12T13:33:32.000Z | openresty-win32-build/thirdparty/x86/pgsql/pgAdmin 4/web/pgadmin/tools/debugger/static/css/debugger.css | nneesshh/openresty-oss | bfbb9d7526020eda1788a0ed24f2be3c8be5c1c3 | [
"MIT"
] | 10 | 2020-06-05T19:42:26.000Z | 2022-03-11T23:38:35.000Z | openresty-win32-build/thirdparty/x86/pgsql/pgAdmin 4/web/pgadmin/tools/debugger/static/css/debugger.css | nneesshh/openresty-oss | bfbb9d7526020eda1788a0ed24f2be3c8be5c1c3 | [
"MIT"
] | 1 | 2021-01-13T09:30:29.000Z | 2021-01-13T09:30:29.000Z | #container {
position: absolute;
top: 40px;
bottom: 0px;
left: 0px;
right: 0px;
}
.full-container {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom:0px;
}
.full-container-pane {
width: 100%;
height: 100%;
}
.top-container {
min-height: 300px;
height: 100%;
}
.pg-debugger-pane... | 16.564706 | 90 | 0.647017 |
f47dec19a9c993cd4293f6d43ca01ed4d4bdfff0 | 1,187 | ts | TypeScript | tests/testUtils/queries/species.ts | thehairy/star-wars-api | 18140ae47902bb41a838f6c7397e87084239fa59 | [
"MIT"
] | 6 | 2021-07-09T07:41:10.000Z | 2022-03-13T03:06:58.000Z | tests/testUtils/queries/species.ts | thehairy/star-wars-api | 18140ae47902bb41a838f6c7397e87084239fa59 | [
"MIT"
] | 95 | 2021-07-08T23:29:57.000Z | 2022-03-27T03:20:58.000Z | tests/testUtils/queries/species.ts | thehairy/star-wars-api | 18140ae47902bb41a838f6c7397e87084239fa59 | [
"MIT"
] | 2 | 2021-07-13T11:50:40.000Z | 2021-12-22T10:39:42.000Z | import { gql } from '#test-utils/testUtils';
const FullDataFragment = gql`
fragment FullDataFragment on Species {
averageHeight
averageLifespan
classification
designation
eyeColors
films {
title
}
hairColors
homeworld {
name
}
language
name
people {
name
}
skinColors
}
`;
cons... | 17.716418 | 70 | 0.690817 |
43e9c879176b676c50a351b45c919f4b4082b918 | 704 | ts | TypeScript | src/display/display.ts | mathieucaroff/hashrule | 289d0a10d28b3a6bed59036d0b834a8cfc425c11 | [
"0BSD"
] | null | null | null | src/display/display.ts | mathieucaroff/hashrule | 289d0a10d28b3a6bed59036d0b834a8cfc425c11 | [
"0BSD"
] | null | null | null | src/display/display.ts | mathieucaroff/hashrule | 289d0a10d28b3a6bed59036d0b834a8cfc425c11 | [
"0BSD"
] | null | null | null | import { Rect } from '../hashrule/type/rectType'
export interface Display {
put: (image: ImageData, region: Rect) => void
}
export interface DisplayProp {
canvas: HTMLCanvasElement
}
let w: any = window
export let createDisplay = (prop: DisplayProp): Display => {
let { canvas } = prop
let ctx0 = canvas.... | 20.705882 | 60 | 0.535511 |
f14f90cc23d5fd42182927113a8d3006e2c22586 | 63 | rb | Ruby | frameworks/ror/app/models/text.rb | AxelPAL/lang-comparisons | 98558d2a306a79e93ef233e14a788a3117f7d269 | [
"MIT"
] | 2 | 2015-12-04T05:13:16.000Z | 2017-01-21T21:48:45.000Z | frameworks/ror/app/models/text.rb | AxelPAL/lang-comparisons | 98558d2a306a79e93ef233e14a788a3117f7d269 | [
"MIT"
] | null | null | null | frameworks/ror/app/models/text.rb | AxelPAL/lang-comparisons | 98558d2a306a79e93ef233e14a788a3117f7d269 | [
"MIT"
] | null | null | null | class Text < ActiveRecord::Base
self.table_name = "text"
end
| 15.75 | 31 | 0.730159 |
4462ea54a35988f7ffe65d6cd43587c0df0a5ca2 | 7,905 | py | Python | tests/test_helpers.py | beveradb/ecs-digital-interview-test | 7e2d18005263424be016281d3f3f344af4536971 | [
"MIT"
] | null | null | null | tests/test_helpers.py | beveradb/ecs-digital-interview-test | 7e2d18005263424be016281d3f3f344af4536971 | [
"MIT"
] | 49 | 2019-02-14T01:52:14.000Z | 2021-11-15T17:48:17.000Z | tests/test_helpers.py | beveradb/python-sql-migration-runner | 7e2d18005263424be016281d3f3f344af4536971 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import pytest
class TestHelpers(object):
"""Tests for Helpers class in `migration_runner` package."""
def test_extract_sequence_sql_filename_expected(
self, helpers, sql_filename_expected
):
version = helpers.extract_sequence_num(sql_file... | 33.35443 | 76 | 0.674383 |
1f83e054bd020a40adc140b388f252ebf7ddb52d | 334 | lua | Lua | source/graphics/drawable/iPath.lua | LeomRonald/DFQ-Original | d4b9088d9e6efeede3e504d3b6e64e3a459aa012 | [
"Apache-2.0"
] | 30 | 2019-10-31T08:07:07.000Z | 2022-03-28T07:04:58.000Z | source/graphics/drawable/iPath.lua | QdWan/DFQ-Original | 46b05009fd7c9013e386046688c8feeefc3e1c66 | [
"Apache-2.0"
] | null | null | null | source/graphics/drawable/iPath.lua | QdWan/DFQ-Original | 46b05009fd7c9013e386046688c8feeefc3e1c66 | [
"Apache-2.0"
] | 27 | 2019-10-31T08:07:14.000Z | 2022-02-19T02:14:23.000Z | --[[
desc: IPath, a interface of path's business.
author: Musoucrow
since: 2018-12-18
]]--
---@class Graphics.Drawable.IPath
---@field protected _path string
local _IPath = require("core.class")()
function _IPath:Ctor()
self._path = ""
end
---@return string
function _IPath:GetPath()
return self._path
end
... | 16.7 | 45 | 0.697605 |
f468d792b71c6da35af013251f52fb0189c77114 | 4,799 | ts | TypeScript | src/models/Units.ts | IoTChainCode/itc-ts | e4dff74f41fe76f5f2cf59b74e85f81174626a6e | [
"MIT"
] | 43 | 2018-01-29T07:36:27.000Z | 2021-09-30T02:11:45.000Z | src/models/Units.ts | IoTChainCode/itc-ts | e4dff74f41fe76f5f2cf59b74e85f81174626a6e | [
"MIT"
] | null | null | null | src/models/Units.ts | IoTChainCode/itc-ts | e4dff74f41fe76f5f2cf59b74e85f81174626a6e | [
"MIT"
] | 12 | 2018-01-31T15:13:38.000Z | 2020-05-22T00:55:52.000Z | import Unit from '../core/unit';
import sqlstore from '../storage/sqlstore';
import Parents from './Parents';
import Witnesses from './Witnesses';
import {Authors} from './Authors';
import Messages from './Messages';
import {isGenesisUnit} from '../core/genesis';
type StaticUnitProps = {
level: number,
witness... | 34.278571 | 134 | 0.595124 |
56ce5563831f9810f10a228cc6c3688827158c0c | 2,876 | swift | Swift | Sources/LanguageClient/LocalProcessServer.swift | ChimeHQ/LanguageClient | d979e5416b16e8130f87b8e46f60f82cac4d64cb | [
"BSD-3-Clause"
] | 15 | 2021-11-23T18:32:07.000Z | 2022-03-21T20:20:29.000Z | Sources/LanguageClient/LocalProcessServer.swift | ChimeHQ/LanguageClient | d979e5416b16e8130f87b8e46f60f82cac4d64cb | [
"BSD-3-Clause"
] | null | null | null | Sources/LanguageClient/LocalProcessServer.swift | ChimeHQ/LanguageClient | d979e5416b16e8130f87b8e46f60f82cac4d64cb | [
"BSD-3-Clause"
] | null | null | null | import Foundation
import LanguageServerProtocol
import JSONRPC
#if os(macOS)
import ProcessEnv
public class LocalProcessServer {
private let transport: StdioDataTransport
private let process: Process
private var wrappedServer: JSONRPCLanguageServer?
public var terminationHandler: (() -> Void)?
pu... | 31.26087 | 137 | 0.687413 |
84514fe067994e8ff2bc0f136892fbb76ca6df15 | 906 | swift | Swift | Sources/MockingbirdGenerator/Generator/Templates/Primitives/FunctionDefinitionTemplate.swift | ARamy23/mockingbird | 55bb0b407d0ae44e60aad105b7c0a3ae584bc5e4 | [
"MIT"
] | 1 | 2022-01-16T17:00:12.000Z | 2022-01-16T17:00:12.000Z | Sources/MockingbirdGenerator/Generator/Templates/Primitives/FunctionDefinitionTemplate.swift | ARamy23/mockingbird | 55bb0b407d0ae44e60aad105b7c0a3ae584bc5e4 | [
"MIT"
] | null | null | null | Sources/MockingbirdGenerator/Generator/Templates/Primitives/FunctionDefinitionTemplate.swift | ARamy23/mockingbird | 55bb0b407d0ae44e60aad105b7c0a3ae584bc5e4 | [
"MIT"
] | null | null | null | import Foundation
struct FunctionDefinitionTemplate: Template {
let leadingTrivia: String
let attributes: [String]
let declaration: String
let genericConstraints: [String]
let body: String
init(leadingTrivia: String = "",
attributes: [String] = [],
declaration: String,
genericConstr... | 28.3125 | 87 | 0.673289 |
3b3f1bdc8dffe04f029e4936f1ef6da4920b9d83 | 1,334 | sql | SQL | views/p800_sheet_preview.sql | jkvetina/BUG | 2b5c02e5166bdf2ea5f743d40b06732662f4e038 | [
"MIT"
] | 3 | 2021-12-27T08:55:43.000Z | 2022-03-17T16:57:30.000Z | views/p800_sheet_preview.sql | jkvetina/Lumberjack---tree-logger-for-PL-SQL | fd7ead7ce082b8ff66d29cdce0049e53944707b2 | [
"MIT"
] | null | null | null | views/p800_sheet_preview.sql | jkvetina/Lumberjack---tree-logger-for-PL-SQL | fd7ead7ce082b8ff66d29cdce0049e53944707b2 | [
"MIT"
] | null | null | null | CREATE OR REPLACE FORCE VIEW p800_sheet_preview AS
WITH s AS (
SELECT
s.*,
app.get_duration(l.timer) AS timer
FROM uploaded_file_sheets s
LEFT JOIN logs l
ON l.log_id = s.result_log_id
WHERE s.file_name = apex.get_item('$FILE')
AND s.sheet_id ... | 37.055556 | 101 | 0.613193 |
43c3b61e6c3ba63acbc22168847f1db1446f7ce0 | 567 | ts | TypeScript | src/app/views/notificationchannel/email.component.ts | brijesh3052/goamlrep | 8c07a1e37efcdd67102639881e404d3f25582747 | [
"MIT"
] | null | null | null | src/app/views/notificationchannel/email.component.ts | brijesh3052/goamlrep | 8c07a1e37efcdd67102639881e404d3f25582747 | [
"MIT"
] | null | null | null | src/app/views/notificationchannel/email.component.ts | brijesh3052/goamlrep | 8c07a1e37efcdd67102639881e404d3f25582747 | [
"MIT"
] | null | null | null | import { Component } from '@angular/core';
@Component({
templateUrl: 'email.component.html'
})
export class Email {
constructor() { }
smtpCard: boolean = false;
emailCard: boolean = true;
configurationField: boolean = false;
buttonLabel:string = "Modify";
sendEmail(){
this.smtpCard = true;
this... | 18.9 | 72 | 0.664903 |
a374c3ef23bd8828d497d201ad8982b77f62d584 | 2,672 | java | Java | collect_app/src/main/java/org/eco/collect/android/utilities/NotificationUtils.java | AdamEcoTest/ecocollect | 1d0a68e9122905691618223d007181ab7303c268 | [
"Apache-2.0"
] | null | null | null | collect_app/src/main/java/org/eco/collect/android/utilities/NotificationUtils.java | AdamEcoTest/ecocollect | 1d0a68e9122905691618223d007181ab7303c268 | [
"Apache-2.0"
] | null | null | null | collect_app/src/main/java/org/eco/collect/android/utilities/NotificationUtils.java | AdamEcoTest/ecocollect | 1d0a68e9122905691618223d007181ab7303c268 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 Nafundi
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... | 37.633803 | 129 | 0.661677 |
393586696589664d15a34e4afb5e958b461be868 | 1,249 | py | Python | src/wield_services/wield/deploy/image.py | hamshif/wield-services | f159c192accb3649e2ec470a25bf9784cf76a409 | [
"Apache-2.0"
] | null | null | null | src/wield_services/wield/deploy/image.py | hamshif/wield-services | f159c192accb3649e2ec470a25bf9784cf76a409 | [
"Apache-2.0"
] | 1 | 2020-06-09T08:17:38.000Z | 2020-06-09T08:17:38.000Z | src/wield_services/wield/deploy/image.py | hamshif/wield-services | f159c192accb3649e2ec470a25bf9784cf76a409 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from wield_services.wield.deploy.util import get_locale, get_module_locale
from wield_services.wield.deploy.configurer import get_project_deploy_mode
from wielder.util.commander import async_cmd
# TODO find a way to abstract this it's ugly
from wield_services.deploy.boot.wield.boot_image import... | 24.490196 | 81 | 0.7502 |
72c75d9161b88bb3d8ba08dd07972c290e60bf65 | 3,430 | cs | C# | xna/branches/gui_sandbox/Dependancies/CeGui/CeGui/Source/Falagard/TextComponent.cs | astyanax/Project-Xenocide | e9448fe1ffad4adebd932a289e9772d7d5ccfca4 | [
"MIT"
] | 1 | 2018-03-12T03:41:55.000Z | 2018-03-12T03:41:55.000Z | xna/trunk/Dependancies/CeGui/CeGui/Source/Falagard/TextComponent.cs | astyanax/Project-Xenocide | e9448fe1ffad4adebd932a289e9772d7d5ccfca4 | [
"MIT"
] | null | null | null | xna/trunk/Dependancies/CeGui/CeGui/Source/Falagard/TextComponent.cs | astyanax/Project-Xenocide | e9448fe1ffad4adebd932a289e9772d7d5ccfca4 | [
"MIT"
] | null | null | null | #region LGPL License
/*************************************************************************
Crazy Eddie's GUI System (http://crayzedsgui.sourceforge.net)
Copyright (C)2004 Paul D Turner (crayzed@users.sourceforge.net)
C# Port developed by Chris McGuirk (leedgitar@latenitegames.com)
Compatible... | 32.666667 | 143 | 0.658601 |
daa0bfd14a66b27dd51ea1176b492d42e3426192 | 2,055 | php | PHP | classes/ExpenseChart.php | fbeuster/since | e9b53668d0c34666d6aff9303b837ed64ac361e0 | [
"BSD-2-Clause"
] | 1 | 2018-02-10T18:40:09.000Z | 2018-02-10T18:40:09.000Z | classes/ExpenseChart.php | fbeuster/since | e9b53668d0c34666d6aff9303b837ed64ac361e0 | [
"BSD-2-Clause"
] | 1 | 2020-01-11T16:32:31.000Z | 2020-01-11T16:32:31.000Z | classes/ExpenseChart.php | fbeuster/SINCE | e9b53668d0c34666d6aff9303b837ed64ac361e0 | [
"BSD-2-Clause"
] | null | null | null | <?php
class ExpenseChart {
private $expenses = array();
private $total = 0;
function __construct() {
$this->loadData();
}
public function getJavaScripts() {
$scripts = '';
$scripts .= '<script type="text/javascript" src="assets/js/distribution_chart.js"></script>';
$scr... | 30.671642 | 126 | 0.513382 |
0ce473d490b2d3418c9eda1e19d6132166691c89 | 1,108 | rb | Ruby | microprocessor/emips/sim/checkinsn.rb | hhonda68/handy-eda-utils | 1ff761d2a30d76681d0047e62663cb42f6622d69 | [
"MIT"
] | null | null | null | microprocessor/emips/sim/checkinsn.rb | hhonda68/handy-eda-utils | 1ff761d2a30d76681d0047e62663cb42f6622d69 | [
"MIT"
] | null | null | null | microprocessor/emips/sim/checkinsn.rb | hhonda68/handy-eda-utils | 1ff761d2a30d76681d0047e62663cb42f6622d69 | [
"MIT"
] | null | null | null | #!/usr/bin/ruby -w
#
# EMIPS : Embedding MIPS Microprocessor
#
# Copyright (c) 2012 the handy-eda-utils developer(s).
# Distributed under the MIT License.
# (See accompanying file COPYING or copy at
# http://www.opensource.org/licenses/mit-license.php.)
#
# ruby checkinsn.rb foo.dis
# ==> if (foo.dis contains unsuppo... | 30.777778 | 107 | 0.631769 |
e00c9faf8f4507eb7d9de558252c9cec7484d2e7 | 7,126 | h | C | test/stress/set/set_type_lazy_list.h | Nemo1369/libcds | 6c96ab635067b2018b14afe5dd0251b9af3ffddf | [
"BSD-2-Clause"
] | null | null | null | test/stress/set/set_type_lazy_list.h | Nemo1369/libcds | 6c96ab635067b2018b14afe5dd0251b9af3ffddf | [
"BSD-2-Clause"
] | 1 | 2017-11-12T06:43:27.000Z | 2017-11-12T06:43:27.000Z | test/stress/set/set_type_lazy_list.h | Nemo1369/libcds | 6c96ab635067b2018b14afe5dd0251b9af3ffddf | [
"BSD-2-Clause"
] | 2 | 2020-10-01T04:12:27.000Z | 2021-07-01T07:46:19.000Z | /*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Redistribution and use in source and binary forms, with... | 51.637681 | 108 | 0.731967 |
ee1284f630040d8c0d443d12da33812f14518d01 | 818 | go | Go | core/chains/terra/denom/denom_test.go | solidity-external-tests/chainlink | c3c190e60fd2d119336fa1412b304644631cce01 | [
"MIT"
] | 1 | 2022-02-08T17:23:34.000Z | 2022-02-08T17:23:34.000Z | core/chains/terra/denom/denom_test.go | solidity-external-tests/chainlink | c3c190e60fd2d119336fa1412b304644631cce01 | [
"MIT"
] | 15 | 2022-02-26T13:50:17.000Z | 2022-03-30T11:35:30.000Z | core/chains/terra/denom/denom_test.go | solidity-external-tests/chainlink | c3c190e60fd2d119336fa1412b304644631cce01 | [
"MIT"
] | 2 | 2021-11-21T22:14:21.000Z | 2022-01-31T23:12:32.000Z | package denom
import (
"testing"
"github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
)
func TestConvertToLuna(t *testing.T) {
tests := []struct {
coin types.Coin
exp string
}{
{types.NewInt64Coin("uluna", 1), "0.000001000000000000luna"},
{types.NewInt64Coin("uluna", 0), "0.000000... | 27.266667 | 76 | 0.691932 |
e482a4f4b37b64cea64bb83691ff45c291e5e16b | 8,391 | swift | Swift | Sources/MQTTDecoder/MQTTDecoder.swift | lbhbrave/swiftnio-mqttDecoder | 8d2d86ba88a11a959e53ae49c8325e37626a328a | [
"MIT"
] | 18 | 2018-05-18T06:47:11.000Z | 2021-11-19T09:03:40.000Z | Sources/MQTTDecoder/MQTTDecoder.swift | lbhbrave/swiftnio-mqttDecoder | 8d2d86ba88a11a959e53ae49c8325e37626a328a | [
"MIT"
] | null | null | null | Sources/MQTTDecoder/MQTTDecoder.swift | lbhbrave/swiftnio-mqttDecoder | 8d2d86ba88a11a959e53ae49c8325e37626a328a | [
"MIT"
] | 3 | 2019-03-20T03:19:15.000Z | 2020-06-30T06:39:55.000Z | import NIO
import Foundation
//enum ParseError {
// case
//}
enum ParseResult {
case insufficientData
case decoded(num: Int)
case result(decoded:Int, packet: MQTTPacket)
}
fileprivate class MQTTParserState {
internal var state: WaitingDataState = .firstByte
internal var decoder: MQTTMessageDeco... | 34.817427 | 188 | 0.588249 |
cad0ccfd03bef8426ec759040b2abf0b5526d9b6 | 416 | lua | Lua | tests/projects/cuda/console/xmake.lua | wangling12/xmake | 02433ff768af0842de49d3901df973c57bb43a5a | [
"Apache-2.0"
] | null | null | null | tests/projects/cuda/console/xmake.lua | wangling12/xmake | 02433ff768af0842de49d3901df973c57bb43a5a | [
"Apache-2.0"
] | null | null | null | tests/projects/cuda/console/xmake.lua | wangling12/xmake | 02433ff768af0842de49d3901df973c57bb43a5a | [
"Apache-2.0"
] | null | null | null | add_rules("mode.debug", "mode.release")
target("cuda_console")
set_kind("binary")
add_includedirs("inc")
add_files("src/*.cu")
-- generate SASS code for each SM architecture
add_cugencodes("sm_35", "sm_37", "sm_50", "sm_52", "sm_60", "sm_61", "sm_70", "sm_75")
-- generate PTX code from the hi... | 27.733333 | 92 | 0.677885 |
b08e28184309528059d04d9b444f7192dc24209c | 396 | py | Python | Data Preparetion/1.3 Metrics Module/A.3.14.1.roc_auc_togther.py | mosalaheg/sklearn | d275bdfaf0db4b01f45231889a37a8e004e2f77c | [
"MIT"
] | null | null | null | Data Preparetion/1.3 Metrics Module/A.3.14.1.roc_auc_togther.py | mosalaheg/sklearn | d275bdfaf0db4b01f45231889a37a8e004e2f77c | [
"MIT"
] | null | null | null | Data Preparetion/1.3 Metrics Module/A.3.14.1.roc_auc_togther.py | mosalaheg/sklearn | d275bdfaf0db4b01f45231889a37a8e004e2f77c | [
"MIT"
] | null | null | null | # Import Libraries
from sklearn.metrics import roc_auc_score
#----------------------------------------------------
# Calculating ROC AUC Score together in the same statement:
# roc_auc_score(y_true, y_score, average=’macro’, sample_weight=None,max_fpr=None)
ROCAUCScore = roc_auc_score(y_test,y_pred, average='micro'... | 44 | 95 | 0.676768 |
a8f6a0b4b339c6b61ccb4f570aa7dcea0b63307e | 3,426 | sh | Shell | src/os/preferences/macos/trackpad.sh | filipejtdias/dotfiles | dcfe695a221b396bf06697fe1f5736e1f1173978 | [
"MIT"
] | null | null | null | src/os/preferences/macos/trackpad.sh | filipejtdias/dotfiles | dcfe695a221b396bf06697fe1f5736e1f1173978 | [
"MIT"
] | null | null | null | src/os/preferences/macos/trackpad.sh | filipejtdias/dotfiles | dcfe695a221b396bf06697fe1f5736e1f1173978 | [
"MIT"
] | 1 | 2022-01-23T02:07:09.000Z | 2022-01-23T02:07:09.000Z | #!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../../utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_in_purple "\n Trackpad\n\n"
execute "defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true && \
defaults write com.appl... | 77.863636 | 129 | 0.748103 |
5d72959b82f3512f3036468d26d20a78356e82a3 | 1,517 | hpp | C++ | src/Numerical/RootFinding/RootFinder.hpp | wthrowe/spectre | 0ddd6405eef1e57de1d0a765aa4f6cfbc83c9f15 | [
"MIT"
] | null | null | null | src/Numerical/RootFinding/RootFinder.hpp | wthrowe/spectre | 0ddd6405eef1e57de1d0a765aa4f6cfbc83c9f15 | [
"MIT"
] | null | null | null | src/Numerical/RootFinding/RootFinder.hpp | wthrowe/spectre | 0ddd6405eef1e57de1d0a765aa4f6cfbc83c9f15 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
/// \file
/// Declares function find_root_of_function
#pragma once
#include <functional>
#include <limits>
#include <boost/math/tools/toms748_solve.hpp>
/*! \ingroup Functors
* \brief Finds the root of the function f with the TOMS_748 method.
... | 35.27907 | 80 | 0.673698 |
a3791f107ddb5dbbccedfceebc392713bd37365d | 1,305 | ts | TypeScript | server/src/services/etc/timestamps.service.ts | jetstream0/spyglass-api | 9b31ce83538ee176898e8d388db46f89a59eb4bd | [
"MIT"
] | null | null | null | server/src/services/etc/timestamps.service.ts | jetstream0/spyglass-api | 9b31ce83538ee176898e8d388db46f89a59eb4bd | [
"MIT"
] | null | null | null | server/src/services/etc/timestamps.service.ts | jetstream0/spyglass-api | 9b31ce83538ee176898e8d388db46f89a59eb4bd | [
"MIT"
] | null | null | null | import { AppCache, PROFILE } from '@app/config';
import { LOG_INFO } from '../log/info.service';
const { performance } = require('perf_hooks');
const csv = require('csv-parser');
const fs = require('fs');
export const importHistoricHashTimestamps = (): Promise<void> => {
const start = LOG_INFO('Importing Historic... | 38.382353 | 100 | 0.585441 |
c9c34008952d261cf3f5138810f5871b924e8c7a | 1,417 | ts | TypeScript | packages/core/src/webapp/views/registrar/editors.ts | LTHODAVDOPL/kui | d428a3ecfaceecda014a6ac109ddc15178c78c30 | [
"Apache-2.0"
] | 1 | 2019-11-02T01:11:21.000Z | 2019-11-02T01:11:21.000Z | packages/core/src/webapp/views/registrar/editors.ts | LTHODAVDOPL/kui | d428a3ecfaceecda014a6ac109ddc15178c78c30 | [
"Apache-2.0"
] | null | null | null | packages/core/src/webapp/views/registrar/editors.ts | LTHODAVDOPL/kui | d428a3ecfaceecda014a6ac109ddc15178c78c30 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 IBM Corporation
*
* 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 ... | 28.34 | 85 | 0.728299 |
da1400e2efbb4fb103ce78117d3f84bd53d956e9 | 13,100 | php | PHP | html/wp-content/plugins/wordfence/lib/wfCentralAPI.php | Pulixe/dockerVPS | aa134bccc36c9e7a36cc45d924245996db3f8156 | [
"Apache-2.0"
] | null | null | null | html/wp-content/plugins/wordfence/lib/wfCentralAPI.php | Pulixe/dockerVPS | aa134bccc36c9e7a36cc45d924245996db3f8156 | [
"Apache-2.0"
] | 1 | 2021-05-11T12:23:02.000Z | 2021-05-11T12:23:02.000Z | html/wp-content/plugins/wordfence/lib/wfCentralAPI.php | Pulixe/dockerVPS | aa134bccc36c9e7a36cc45d924245996db3f8156 | [
"Apache-2.0"
] | null | null | null | <?php
class wfCentralAPIRequest {
/**
* @var string
*/
private $endpoint;
/**
* @var string
*/
private $method;
/**
* @var null
*/
private $token;
/**
* @var array
*/
private $body;
/**
* @var array
*/
private $args;
/**
* @param string $endpoint
* @param string $method
* @param ... | 23.434705 | 130 | 0.629847 |
8d8f37b2d58c3b80c9a7b874b778fac3a88c2569 | 2,360 | js | JavaScript | Develop/utils/generateMarkdown.js | mtugrulavci/potential-enigma | 4078976dc0ecda0272b0d4c83fc0469dd946ddad | [
"MIT"
] | null | null | null | Develop/utils/generateMarkdown.js | mtugrulavci/potential-enigma | 4078976dc0ecda0272b0d4c83fc0469dd946ddad | [
"MIT"
] | null | null | null | Develop/utils/generateMarkdown.js | mtugrulavci/potential-enigma | 4078976dc0ecda0272b0d4c83fc0469dd946ddad | [
"MIT"
] | 1 | 2021-06-27T14:00:35.000Z | 2021-06-27T14:00:35.000Z |
// TODO: Create a function that returns a license badge based on which license is passed in
const chalk = require("chalk");
// If there is no license, return an empty string
function renderLicenseBadge(license) {
if (license === "None") {
return '';
}
if (license === "MIT") {
return `
[![License:... | 21.261261 | 128 | 0.638136 |
5e85cde1f5b7327107579a546f8c696816c0936b | 2,384 | sql | SQL | dudovcic/zadaca114/zad2.sql | algebrateam/phpdev | 06e49ab8d162e3ff2493c0bf9fc0232fab91171c | [
"MIT"
] | null | null | null | dudovcic/zadaca114/zad2.sql | algebrateam/phpdev | 06e49ab8d162e3ff2493c0bf9fc0232fab91171c | [
"MIT"
] | null | null | null | dudovcic/zadaca114/zad2.sql | algebrateam/phpdev | 06e49ab8d162e3ff2493c0bf9fc0232fab91171c | [
"MIT"
] | 1 | 2020-05-15T07:47:49.000Z | 2020-05-15T07:47:49.000Z | -- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 10.1.21-MariaDB - mariadb.org binary distribution
-- Server OS: Win32
-- HeidiSQL Version: 9.4.0.5125
-- ------------------------------------------------... | 40.40678 | 99 | 0.683305 |
16d652ca5fc813795e76a0410e5aeba147e57b2c | 20,246 | sql | SQL | system_erp.sql | alfiqi11/Tugas_System_ERP | a331f65f2f1975d7ac2b18d4d5009d4e96fec9c1 | [
"MIT"
] | null | null | null | system_erp.sql | alfiqi11/Tugas_System_ERP | a331f65f2f1975d7ac2b18d4d5009d4e96fec9c1 | [
"MIT"
] | null | null | null | system_erp.sql | alfiqi11/Tugas_System_ERP | a331f65f2f1975d7ac2b18d4d5009d4e96fec9c1 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 02 Jul 2021 pada 23.58
-- Versi Server: 10.1.10-MariaDB
-- PHP Version: 5.5.30
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT... | 60.435821 | 134 | 0.808604 |
0df4cdaabcc2a57c57411ecd29233d685aba76f5 | 254 | sh | Shell | start_workers.sh | h3nnn4n/colosseum | 9e4230b0934cae43521b0aacdb482f4337be9dbf | [
"MIT"
] | 9 | 2021-12-27T15:06:57.000Z | 2022-02-03T01:40:08.000Z | start_workers.sh | h3nnn4n/colosseum | 9e4230b0934cae43521b0aacdb482f4337be9dbf | [
"MIT"
] | 5 | 2021-11-26T12:36:26.000Z | 2021-12-27T15:51:27.000Z | start_workers.sh | h3nnn4n/colosseum | 9e4230b0934cae43521b0aacdb482f4337be9dbf | [
"MIT"
] | null | null | null | #!/bin/bash
N_CORES=$(grep -c ^processor /proc/cpuinfo)
N_CORES=${N_CORES:-2}
echo "Starting ${N_CORES} workers"
for i in `seq "${N_CORES}"`; do
while [[ true ]]; do python -m poetry run python tournament_online.py; done &
sleep 1
done
echo Done
| 18.142857 | 79 | 0.677165 |
2f81551400650fa081a88b2635958b4e1c192231 | 3,316 | js | JavaScript | .history/v5.17.1_dividing/dist/skylark-ui-coder/addon/edit/closetag.js | skylark-integration/skylark-codemirror | 0c4b7f85db58c6f515d0525c7bad819f1c4366ec | [
"MIT"
] | null | null | null | .history/v5.17.1_dividing/dist/skylark-ui-coder/addon/edit/closetag.js | skylark-integration/skylark-codemirror | 0c4b7f85db58c6f515d0525c7bad819f1c4366ec | [
"MIT"
] | null | null | null | .history/v5.17.1_dividing/dist/skylark-ui-coder/addon/edit/closetag.js | skylark-integration/skylark-codemirror | 0c4b7f85db58c6f515d0525c7bad819f1c4366ec | [
"MIT"
] | null | null | null | /**
* skylark-ui-coder - The skylark coder widget
* @author Hudaokeji, Inc.
* @version v0.9.0
* @link https://github.com/skylarkui/skylark-ui-coder/
* @license MIT
*/
define(["../../Coder"],function(e){function t(t){if(t.getOption("disableInput"))return e.Pass;for(var n=t.listSelections(),a=[],l=0;l<n.length;l++)... | 331.6 | 3,077 | 0.652292 |
bc11ad81bcb5a401c2ad73875f9c911b21230fea | 183 | lua | Lua | modules/about/about_client.lua | rifleh700/gradmin | 12b307e076a10c862caf56b56da98fca81c1075a | [
"MIT"
] | 5 | 2021-05-05T17:31:04.000Z | 2022-03-19T18:06:16.000Z | modules/about/about_client.lua | rifleh700/gradmin | 12b307e076a10c862caf56b56da98fca81c1075a | [
"MIT"
] | 2 | 2021-05-22T17:19:54.000Z | 2021-05-22T19:23:31.000Z | modules/about/about_client.lua | rifleh700/gradmin | 12b307e076a10c862caf56b56da98fca81c1075a | [
"MIT"
] | null | null | null |
mAbout = {}
function mAbout.init()
mAbout.gui.init()
return true
end
function mAbout.term()
mAbout.gui.term()
return true
end
cModules.register(mAbout, GENERAL_PERMISSION) | 10.166667 | 45 | 0.73224 |
43426f87b3fdaec4bbcd395d8bac383687dd23bf | 2,362 | ts | TypeScript | mediapp-frontend/src/app/shared/server-errors.interceptor.ts | dperezpardo/mito.evaluacion | 2474104e4bc2fea33e818ef77605278175f768bb | [
"Apache-2.0"
] | null | null | null | mediapp-frontend/src/app/shared/server-errors.interceptor.ts | dperezpardo/mito.evaluacion | 2474104e4bc2fea33e818ef77605278175f768bb | [
"Apache-2.0"
] | null | null | null | mediapp-frontend/src/app/shared/server-errors.interceptor.ts | dperezpardo/mito.evaluacion | 2474104e4bc2fea33e818ef77605278175f768bb | [
"Apache-2.0"
] | null | null | null | import { Router } from '@angular/router';
import { environment } from './../../environments/environment';
import { MatSnackBar } from '@angular/material/snack-bar';
import { Injectable } from '@angular/core';
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor, HttpResponse } from '@angular/common/http';
impo... | 47.24 | 106 | 0.531753 |
6d60e9d712865496088e9af42e03e5ba18a8d7d6 | 323 | ts | TypeScript | app/services/pitch/pitch.ts | DJilanov/nativescript-test | 1f25dab1e69f2021b52379fefa5d40549745ebdc | [
"Apache-2.0"
] | null | null | null | app/services/pitch/pitch.ts | DJilanov/nativescript-test | 1f25dab1e69f2021b52379fefa5d40549745ebdc | [
"Apache-2.0"
] | null | null | null | app/services/pitch/pitch.ts | DJilanov/nativescript-test | 1f25dab1e69f2021b52379fefa5d40549745ebdc | [
"Apache-2.0"
] | null | null | null | import { Observable } from "tns-core-modules/data/observable";
export interface Pitch extends Observable {
id: string;
type: string;
attributes?: {
starts: string;
ends: string;
price: string;
admin_fee: string;
currency: string;
availabilities: number;
}... | 23.071429 | 62 | 0.603715 |
410463e95952dec40d6eb120719dcd849a19f873 | 1,093 | js | JavaScript | interview-problems/problems/RecursivePalindrome.js | masharp/algorithms-n-structures | b043a792986519298679d001c82733fdbfd3e7b9 | [
"MIT"
] | 1 | 2016-05-28T17:26:27.000Z | 2016-05-28T17:26:27.000Z | interview-problems/problems/RecursivePalindrome.js | masharp/useful-algorithms | b043a792986519298679d001c82733fdbfd3e7b9 | [
"MIT"
] | null | null | null | interview-problems/problems/RecursivePalindrome.js | masharp/useful-algorithms | b043a792986519298679d001c82733fdbfd3e7b9 | [
"MIT"
] | null | null | null | /* This is an implementation of a recursive algorithm designed to determine if a string is a palindrome.
A paldinrome is a string that reads the same forward as it does backward.
by Michael Sharp
www.softwareontheshore.com
michael@softwareontheshore.com
---------------------------------
Psudoc... | 26.658537 | 105 | 0.677951 |
6a86ec4bcc8c8e35f6021c8cc797aae60dce1c73 | 108 | dart | Dart | example/test_driver/tflite_flutter_plugin_example_e2e_test.dart | mgalgs/tflite_flutter_plugin | e8071d07c1a876c370425f49c126235855d158d1 | [
"Apache-2.0"
] | 1 | 2021-05-11T12:21:42.000Z | 2021-05-11T12:21:42.000Z | example/test_driver/tflite_flutter_plugin_example_e2e_test.dart | mgalgs/tflite_flutter_plugin | e8071d07c1a876c370425f49c126235855d158d1 | [
"Apache-2.0"
] | null | null | null | example/test_driver/tflite_flutter_plugin_example_e2e_test.dart | mgalgs/tflite_flutter_plugin | e8071d07c1a876c370425f49c126235855d158d1 | [
"Apache-2.0"
] | 3 | 2021-06-20T23:01:50.000Z | 2021-08-21T12:51:38.000Z | import 'dart:async';
import 'package:e2e/e2e_driver.dart' as e2e;
Future<void> main() async => e2e.main();
| 21.6 | 44 | 0.703704 |
e70a136135e94e6c99cb6c85cbbdfc132c043450 | 770 | php | PHP | download_doc.php | sudogem/brcms | 6229e0659a4c2d99e41c7d53a676a628cab0fdff | [
"MIT"
] | null | null | null | download_doc.php | sudogem/brcms | 6229e0659a4c2d99e41c7d53a676a628cab0fdff | [
"MIT"
] | 1 | 2015-12-01T09:15:03.000Z | 2015-12-01T09:15:03.000Z | download_doc.php | sudogem/brcms | 6229e0659a4c2d99e41c7d53a676a628cab0fdff | [
"MIT"
] | null | null | null | <?php
require ( 'admin/coreclass.php' );
$articleID = $_GET['articleID'];
$db = new database;
$sql = "select * from article_versions ";
$sql .= " where articleID=" . intval( $articleID );
if (!($result = $db->query($sql))){
die('Error:'. $db->error());
}
while( $article[] = $db->fetcharray());
$db->free... | 26.551724 | 74 | 0.6 |
e13a4c257935b0a8f9b71c461928f33801f3ae72 | 246 | rs | Rust | src/execution/error.rs | Uzaaft/barter-rs | 08f1ddd9c622d4b7c4cddfc4520242e0c3360c6e | [
"MIT"
] | 1 | 2022-02-04T23:59:37.000Z | 2022-02-04T23:59:37.000Z | src/execution/error.rs | Uzaaft/barter-rs | 08f1ddd9c622d4b7c4cddfc4520242e0c3360c6e | [
"MIT"
] | null | null | null | src/execution/error.rs | Uzaaft/barter-rs | 08f1ddd9c622d4b7c4cddfc4520242e0c3360c6e | [
"MIT"
] | 1 | 2022-02-05T00:00:07.000Z | 2022-02-05T00:00:07.000Z | use thiserror::Error;
/// All errors generated in the barter::execution module.
#[derive(Error, Copy, Clone, Debug)]
pub enum ExecutionError {
#[error("Failed to build struct due to incomplete attributes provided")]
BuilderIncomplete,
}
| 27.333333 | 76 | 0.735772 |
af59144ea04a5a3aeb70b5432942b303bdbb60fb | 961 | py | Python | day01/main.py | thetwoj/advent-of-code-2021 | 87a918e1f8973e3a9e5238248043ec27338939de | [
"MIT"
] | null | null | null | day01/main.py | thetwoj/advent-of-code-2021 | 87a918e1f8973e3a9e5238248043ec27338939de | [
"MIT"
] | null | null | null | day01/main.py | thetwoj/advent-of-code-2021 | 87a918e1f8973e3a9e5238248043ec27338939de | [
"MIT"
] | null | null | null | def get_input(filename):
data = []
with open(filename, 'r') as i:
for x in i.readlines():
data.append(int(x))
return data
def count_increases(measurements):
previous = measurements[0]
increases = 0
for measurement in measurements[1:]:
if measurement > previous:
... | 23.439024 | 56 | 0.631634 |
bb11e026bfcb0fd5f55096b82770120fdb04c1bf | 1,007 | cs | C# | AllReadyApp/Web-App/AllReady/Features/Requests/FindRequestIdByPhoneNumberQueryHandler.cs | mk0sojo/allReady | 37833fcf2ea4d1f54d0e846c78ff79b307509809 | [
"MIT"
] | 1,034 | 2015-07-20T17:08:09.000Z | 2022-03-15T08:10:51.000Z | AllReadyApp/Web-App/AllReady/Features/Requests/FindRequestIdByPhoneNumberQueryHandler.cs | mk0sojo/allReady | 37833fcf2ea4d1f54d0e846c78ff79b307509809 | [
"MIT"
] | 1,853 | 2015-07-30T22:40:20.000Z | 2022-02-25T19:09:29.000Z | AllReadyApp/Web-App/AllReady/Features/Requests/FindRequestIdByPhoneNumberQueryHandler.cs | mk0sojo/allReady | 37833fcf2ea4d1f54d0e846c78ff79b307509809 | [
"MIT"
] | 946 | 2015-07-20T17:39:36.000Z | 2022-03-23T18:13:05.000Z | using AllReady.Models;
using MediatR;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace AllReady.Features.Requests
{
public class FindRequestIdByPhoneNumberQueryHandler : IAsyncRequestHandler<FindRequestIdByPhoneNumberQuery, Guid>
{
private r... | 32.483871 | 145 | 0.676266 |
38546351f2dbdf8223ef5b645da2300070e9e89a | 291 | php | PHP | app/database/seeds/UserTableSeeder.php | wengcd/caifushijie-laravel | 3eb8ba80e1e881fba0b3e594ba449bc02fa5b5f4 | [
"MIT"
] | null | null | null | app/database/seeds/UserTableSeeder.php | wengcd/caifushijie-laravel | 3eb8ba80e1e881fba0b3e594ba449bc02fa5b5f4 | [
"MIT"
] | null | null | null | app/database/seeds/UserTableSeeder.php | wengcd/caifushijie-laravel | 3eb8ba80e1e881fba0b3e594ba449bc02fa5b5f4 | [
"MIT"
] | null | null | null | <?php
class UserTableSeeder extends Seeder
{
public function run()
{
User::create(array(
'username' => 'admin',
'email' => 'wengchaoda@gmail.com',
'password' => Hash::make('Wcd28835276'),
'is_admin' => true
));
}
} | 20.785714 | 52 | 0.491409 |
a355396ee9b9ea2f3b0f945ea807ffba4f12398b | 240 | java | Java | src/main/java/pl/rembol/jme3/shootapdf/images/ImageLoader.java | RemboL/shoot-a-pdf | d49425727d239efab0152a168029afcd0dfdd25d | [
"MIT"
] | null | null | null | src/main/java/pl/rembol/jme3/shootapdf/images/ImageLoader.java | RemboL/shoot-a-pdf | d49425727d239efab0152a168029afcd0dfdd25d | [
"MIT"
] | null | null | null | src/main/java/pl/rembol/jme3/shootapdf/images/ImageLoader.java | RemboL/shoot-a-pdf | d49425727d239efab0152a168029afcd0dfdd25d | [
"MIT"
] | null | null | null | package pl.rembol.jme3.shootapdf.images;
import java.io.File;
import java.util.List;
import pl.rembol.jme3.shootapdf.slide.SlideFactory;
interface ImageLoader {
List<SlideFactory> load(File file);
boolean canLoad(File file);
}
| 17.142857 | 51 | 0.758333 |
9e049ea4158f59eeb85cba609c8a88a2383cd84f | 4,234 | cs | C# | FlatLib/Graphics/Camera.cs | MatokHunt/MonoDev | a2238dcafef82ca3a68072f48eb3531a4c7f5b16 | [
"MIT"
] | null | null | null | FlatLib/Graphics/Camera.cs | MatokHunt/MonoDev | a2238dcafef82ca3a68072f48eb3531a4c7f5b16 | [
"MIT"
] | null | null | null | FlatLib/Graphics/Camera.cs | MatokHunt/MonoDev | a2238dcafef82ca3a68072f48eb3531a4c7f5b16 | [
"MIT"
] | null | null | null | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace FlatLib.Graphics
{
public sealed class Camera
{
public readonly static float MinZ = 1f;
public readonly static float MaxZ = 2048f;
public readonly static int MinZoom = 1;
public read... | 26.628931 | 128 | 0.526689 |
79b9a414c071182b3bb24ae189264108a156853c | 25,759 | php | PHP | app/Models/Usulan.php | PigHero82/laravel_sitasi | fdb133520f3b562dc78a1a8528be7c2b14b34d76 | [
"MIT"
] | null | null | null | app/Models/Usulan.php | PigHero82/laravel_sitasi | fdb133520f3b562dc78a1a8528be7c2b14b34d76 | [
"MIT"
] | null | null | null | app/Models/Usulan.php | PigHero82/laravel_sitasi | fdb133520f3b562dc78a1a8528be7c2b14b34d76 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Auth;
use DB;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Usulan extends Model
{
use HasFactory;
protected $table = 'usulan';
protected $fillable = ['dosen_id', 'skema_usulan_id', 'jenis', 'judul', 'ringkasan', 'ka... | 41.082935 | 252 | 0.504445 |
92d99b7a478e998035eefb8f2c08b7b31b070488 | 588 | sql | SQL | inst/sql/sql_server/analyses/1610.sql | OHDSI/Achilles | edbf6abbeac5ff8f087d21dd794952c63102bbdc | [
"Apache-1.1"
] | 108 | 2015-01-12T18:31:47.000Z | 2022-03-29T18:10:11.000Z | inst/sql/sql_server/analyses/1610.sql | OHDSI/Achilles | edbf6abbeac5ff8f087d21dd794952c63102bbdc | [
"Apache-1.1"
] | 507 | 2015-01-06T15:27:08.000Z | 2022-03-28T13:16:28.000Z | inst/sql/sql_server/analyses/1610.sql | OHDSI/Achilles | edbf6abbeac5ff8f087d21dd794952c63102bbdc | [
"Apache-1.1"
] | 132 | 2015-04-06T05:01:49.000Z | 2022-03-09T18:43:40.000Z | -- 1610 Number of records by revenue_code_concept_id
--HINT DISTRIBUTE_ON_KEY(stratum_1)
select
1610 as analysis_id,
cast(revenue_code_concept_id as varchar(255)) as stratum_1,
cast(null as varchar(255)) as stratum_2, cast(null as varchar(255)) as stratum_3,
cast(null as varchar(255)) as stratum_4, cast(null as... | 34.588235 | 83 | 0.811224 |
54d919b671aab175a030e7b2871dd18657ef6cd1 | 363 | css | CSS | src/student-portal/src/Components/Footer/Footer.css | marouane-edghoughi/react-springboot | c44d792567dcbb13079cecc3d8e73fd26891d0bc | [
"MIT"
] | null | null | null | src/student-portal/src/Components/Footer/Footer.css | marouane-edghoughi/react-springboot | c44d792567dcbb13079cecc3d8e73fd26891d0bc | [
"MIT"
] | null | null | null | src/student-portal/src/Components/Footer/Footer.css | marouane-edghoughi/react-springboot | c44d792567dcbb13079cecc3d8e73fd26891d0bc | [
"MIT"
] | null | null | null | .footer-bar {
width: 100%;
padding: 0.5rem;
background-color: rgba(236, 240, 241, 0.8);
position: fixed;
bottom: 0;
}
.students-number {
display: inline-block;
color: white;
background-color: #e67e22;
border-radius: 25px;
margin-right: 1rem;
width: 40px;
height: 40px;
... | 19.105263 | 47 | 0.600551 |
0d80fc9f0f1889b9c97fd9bfb2c41b4291446434 | 11,007 | c | C | ocl-icd-compat/ocl_icd_compat.c | KhronosGroup/OpenCL-Layers | e2dc0f3ffb826af29efde40d6a936fb2944043bc | [
"Apache-2.0"
] | 1 | 2021-12-10T09:58:11.000Z | 2021-12-10T09:58:11.000Z | ocl-icd-compat/ocl_icd_compat.c | StreamHPC/OpenCL-Layers | 2f45c7eb6df477626d46e61549aa4d558bd112a9 | [
"Apache-2.0"
] | 4 | 2021-12-08T16:15:00.000Z | 2022-03-10T16:29:07.000Z | ocl-icd-compat/ocl_icd_compat.c | StreamHPC/OpenCL-Layers | 2f45c7eb6df477626d46e61549aa4d558bd112a9 | [
"Apache-2.0"
] | 2 | 2021-12-08T15:29:36.000Z | 2022-01-03T12:29:41.000Z | #include <stdlib.h>
#include <string.h>
#include <CL/cl_layer.h>
static struct _cl_icd_dispatch dispatch;
static const struct _cl_icd_dispatch *tdispatch;
CL_API_ENTRY cl_int CL_API_CALL
clGetLayerInfo(
cl_layer_info param_name,
size_t param_value_size,
void *param_value,
size_t ... | 28.150895 | 133 | 0.673299 |
2577521e4b63d45885c986ecc060863a84176bbe | 3,058 | cs | C# | src/ANDOR-CS/Classes/LocalCameraFactory.cs | Ilia-Kosenkov/DIPOL-UF | b760f5541cd4a67e9e3d7505eef5b928e9219364 | [
"MIT"
] | 1 | 2021-05-26T22:13:23.000Z | 2021-05-26T22:13:23.000Z | src/ANDOR-CS/Classes/LocalCameraFactory.cs | Ilia-Kosenkov/DIPOL-UF | b760f5541cd4a67e9e3d7505eef5b928e9219364 | [
"MIT"
] | 2 | 2021-06-06T21:44:27.000Z | 2021-06-06T21:44:35.000Z | src/ANDOR-CS/Classes/LocalCameraFactory.cs | Ilia-Kosenkov/DIPOL-UF | b760f5541cd4a67e9e3d7505eef5b928e9219364 | [
"MIT"
] | 2 | 2021-06-06T20:31:55.000Z | 2021-06-06T20:34:40.000Z | // This file is part of Dipol-3 Camera Manager.
// MIT License
//
// Copyright(c) 2018-2019 Ilia Kosenkov
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Softw... | 40.773333 | 128 | 0.610203 |
b8dd3338b7bb9e80632e65eccf0f147ae9f1a007 | 8,785 | py | Python | paragami/tests/test_autograd_supplement_lib.py | rgiordan/paragami | 059bb354b816bafe821d446ece2fb9b968a39d83 | [
"Apache-2.0"
] | 11 | 2019-03-13T15:55:38.000Z | 2020-02-15T02:44:11.000Z | paragami/tests/test_autograd_supplement_lib.py | rgiordan/paragami | 059bb354b816bafe821d446ece2fb9b968a39d83 | [
"Apache-2.0"
] | 59 | 2018-10-30T04:28:23.000Z | 2020-08-03T17:45:56.000Z | paragami/tests/test_autograd_supplement_lib.py | rgiordan/paragami | 059bb354b816bafe821d446ece2fb9b968a39d83 | [
"Apache-2.0"
] | 2 | 2020-10-31T17:51:48.000Z | 2020-12-14T18:41:00.000Z | #!/usr/bin/env python3
import autograd
import autograd.numpy as np
import autograd.numpy.random as npr
from autograd.test_util import check_grads
import copy
from paragami import autograd_supplement_lib
import autograd.scipy as sp
from numpy.testing import assert_array_almost_equal
import scipy as osp
import scipy.spar... | 33.026316 | 81 | 0.595105 |
f250018aa46688170337b14d2a57b040e1e2b3a4 | 3,443 | lua | Lua | source/rituals.lua | FormTheAnt/GGJ2016 | 4dd9a7a8ecea8acec248cecac9300a91f396e7ed | [
"MIT"
] | null | null | null | source/rituals.lua | FormTheAnt/GGJ2016 | 4dd9a7a8ecea8acec248cecac9300a91f396e7ed | [
"MIT"
] | null | null | null | source/rituals.lua | FormTheAnt/GGJ2016 | 4dd9a7a8ecea8acec248cecac9300a91f396e7ed | [
"MIT"
] | null | null | null | local Container = {}
local RitualList = {
["is gravity still functioning?"] = { [1] = {name = "player is touching box top side", first = true, complete = false},
[2] = {name = "player is touching box top side", mustcomplete = 1, id = 5, complete = false},
[3] = {name = "player is touching box top side", m... | 39.125 | 328 | 0.658147 |
06e4b81fd7614fe2fdc62827698b6fb720e62e6f | 72 | py | Python | {{cookiecutter.dist_name}}/{{cookiecutter.package_name}}/__init__.py | frankie567/cookiecutter-hipster-pypackage | 501d358e318c4ea8c3e569552f541709ebb3e8cb | [
"MIT"
] | 5 | 2020-06-08T01:41:52.000Z | 2022-02-04T21:29:33.000Z | {{cookiecutter.dist_name}}/{{cookiecutter.package_name}}/__init__.py | frankie567/cookiecutter-hipster-pypackage | 501d358e318c4ea8c3e569552f541709ebb3e8cb | [
"MIT"
] | null | null | null | {{cookiecutter.dist_name}}/{{cookiecutter.package_name}}/__init__.py | frankie567/cookiecutter-hipster-pypackage | 501d358e318c4ea8c3e569552f541709ebb3e8cb | [
"MIT"
] | 2 | 2020-05-15T16:39:30.000Z | 2021-05-16T03:28:53.000Z | """{{cookiecutter.project_short_description}}"""
__version__ = "0.0.0"
| 18 | 48 | 0.708333 |
b303b9aae279d8faef9be0e0c56f469920b4f2d1 | 16,073 | sql | SQL | conf/evolutions/default/1.sql | davidallysson/simea | 5890ac796e3e103f1c375c3010ccd0fea002777a | [
"Apache-2.0"
] | null | null | null | conf/evolutions/default/1.sql | davidallysson/simea | 5890ac796e3e103f1c375c3010ccd0fea002777a | [
"Apache-2.0"
] | null | null | null | conf/evolutions/default/1.sql | davidallysson/simea | 5890ac796e3e103f1c375c3010ccd0fea002777a | [
"Apache-2.0"
] | 1 | 2019-10-24T22:36:41.000Z | 2019-10-24T22:36:41.000Z | # --- Created by Ebean DDL
# To stop Ebean DDL generation, remove this comment and start using Evolutions
# --- !Ups
create table answer (
id bigserial not null,
answer varchar(255),
valid boolean,
ordem integer,... | 42.521164 | 164 | 0.699309 |
f5ad661aba7ec491e9193a8c78f467b63ff456c4 | 2,037 | css | CSS | public/app/style/style.css | dmatoscit/Node-Red-bluehack-App | f19b42a713b7414ec37e367124d287a93efdf7f5 | [
"Apache-2.0"
] | null | null | null | public/app/style/style.css | dmatoscit/Node-Red-bluehack-App | f19b42a713b7414ec37e367124d287a93efdf7f5 | [
"Apache-2.0"
] | null | null | null | public/app/style/style.css | dmatoscit/Node-Red-bluehack-App | f19b42a713b7414ec37e367124d287a93efdf7f5 | [
"Apache-2.0"
] | null | null | null | body {
margin-top: 50px;
background: #e9e9e9;
}
.div-style {
background: #fff;
padding: 25px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-webkit-box-shadow: 0 0 25px rgba(0, 0, 0, 0.04);
-moz-box-shadow: 0 0 25px rgba(0, 0, 0, 0.04);
box-shadow: 0 0 25px rgba(0, 0, 0, 0.... | 14.244755 | 53 | 0.595484 |
ae78aa1a694abefdf14204d6704ab02a289c6cf2 | 435 | cs | C# | Solid/Solid/SolidPrinciples/Principle.cs | jacobduijzer/SolidPrinciplesApp | f8e52aedcd57b9a3fd08150f4d284df72cd448ba | [
"MIT"
] | null | null | null | Solid/Solid/SolidPrinciples/Principle.cs | jacobduijzer/SolidPrinciplesApp | f8e52aedcd57b9a3fd08150f4d284df72cd448ba | [
"MIT"
] | null | null | null | Solid/Solid/SolidPrinciples/Principle.cs | jacobduijzer/SolidPrinciplesApp | f8e52aedcd57b9a3fd08150f4d284df72cd448ba | [
"MIT"
] | null | null | null | using System.Collections.Generic;
namespace Solid.Models
{
public class Principle
{
public int Id { get; set; }
public string Name { get; set; }
public string ShortDescription { get; set; }
public string Description { get; set; }
public string Recognize { get; set; }
... | 27.1875 | 54 | 0.609195 |
57ed444f659de1320cbbb15d66959041ba636fb8 | 5,154 | php | PHP | resources/views/goals/goals.blade.php | harri-codes/Focus | 2f7f1efcea97eca1a3fa059d2fdfd5779c3c87e1 | [
"MIT"
] | null | null | null | resources/views/goals/goals.blade.php | harri-codes/Focus | 2f7f1efcea97eca1a3fa059d2fdfd5779c3c87e1 | [
"MIT"
] | null | null | null | resources/views/goals/goals.blade.php | harri-codes/Focus | 2f7f1efcea97eca1a3fa059d2fdfd5779c3c87e1 | [
"MIT"
] | null | null | null | @extends('layouts.primary')
@section('content')
<div class="page-header mb-4 border-radius-xl">
<span class="mask bg-gradient-dark"></span>
<div class="container">
<div class="row">
<p class="col-lg-6 my-auto">
<h5 class="text-white fadeIn2 fadeInB... | 33.467532 | 207 | 0.337602 |
81abdfa70436b381e89780c12ba28cb9f061f264 | 393,338 | rs | Rust | src/proto/messages.rs | getgauge-contrib/gauge-rs | 4ae3eed5cb6f085a2b9b4535a188a29ee4549e00 | [
"MIT"
] | 3 | 2016-01-14T12:23:01.000Z | 2016-02-08T12:06:24.000Z | src/proto/messages.rs | kaustavdm/gauge-rs | 4ae3eed5cb6f085a2b9b4535a188a29ee4549e00 | [
"MIT"
] | null | null | null | src/proto/messages.rs | kaustavdm/gauge-rs | 4ae3eed5cb6f085a2b9b4535a188a29ee4549e00 | [
"MIT"
] | 1 | 2017-08-11T12:52:33.000Z | 2017-08-11T12:52:33.000Z | // This file is generated. Do not edit
// @generated
// https://github.com/Manishearth/rust-clippy/issues/702
#![allow(unknown_lints)]
#![allow(clippy)]
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(box_pointers)]
#![allow(dead_code)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_g... | 44.125869 | 137 | 0.610478 |
ddbc549fe5fb63f5d9d3d02efbc1a2fc0bc631c9 | 5,158 | java | Java | src/test/java/com/amazon/aws/iot/greengrass/component/common/ComponentRecipeTest.java | Victor-C-Zhang/aws-greengrass-component-common | 669fffedd49ee717f0219b727af2b0ce00dac1db | [
"Apache-2.0"
] | 2 | 2020-12-15T21:58:52.000Z | 2021-06-15T13:59:41.000Z | src/test/java/com/amazon/aws/iot/greengrass/component/common/ComponentRecipeTest.java | Victor-C-Zhang/aws-greengrass-component-common | 669fffedd49ee717f0219b727af2b0ce00dac1db | [
"Apache-2.0"
] | 1 | 2021-06-07T23:15:36.000Z | 2021-06-07T23:45:14.000Z | src/test/java/com/amazon/aws/iot/greengrass/component/common/ComponentRecipeTest.java | Victor-C-Zhang/aws-greengrass-component-common | 669fffedd49ee717f0219b727af2b0ce00dac1db | [
"Apache-2.0"
] | 2 | 2020-12-15T22:01:35.000Z | 2021-07-19T22:58:32.000Z | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.amazon.aws.iot.greengrass.component.common;
import com.vdurmont.semver4j.Semver;
import org.hamcrest.core.Is;
import org.junit.jupiter.api.Test;
import static org.hamcrest.MatcherAssert.as... | 44.852174 | 127 | 0.694067 |
c9c4ba80ba046202eda8a5c5b4ed48152638dc18 | 1,017 | tsx | TypeScript | src/brands-grey/BrandsGrey659.tsx | react-pakistan/react-icon-collection | 8b6c293e1bce45b8a60a6b036b6c889b1efccc68 | [
"MIT"
] | 5 | 2019-09-30T14:54:38.000Z | 2020-10-19T23:10:40.000Z | src/brands-grey/BrandsGrey659.tsx | react-pakistan/react-icon-collection | 8b6c293e1bce45b8a60a6b036b6c889b1efccc68 | [
"MIT"
] | 1 | 2021-04-23T15:59:09.000Z | 2021-04-24T15:03:55.000Z | src/brands-grey/BrandsGrey659.tsx | react-pakistan/react-icon-collection | 8b6c293e1bce45b8a60a6b036b6c889b1efccc68 | [
"MIT"
] | 1 | 2020-10-16T08:59:17.000Z | 2020-10-16T08:59:17.000Z | import * as React from "react";
import { IIconProps } from "../styled";
const SvgBrandsGrey659 = (props: IIconProps) => (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="1em"
height="1em"
{...props}
>
<path d="M4.102 21.033A11.947 11.947 0 0012 24a11.96 11.96 0 007.902-2.... | 59.823529 | 725 | 0.6647 |
dcf756abc1648f294b35ecc9779a1efb2a3d5cd0 | 828 | rb | Ruby | app/models/audit_activity/business/add.rb | UKGovernmentBEIS/beis-psd | 73dc8c43e3cea43ceff8a757526f34b8fd986d8c | [
"MIT"
] | 3 | 2019-10-07T12:55:11.000Z | 2020-03-17T15:36:52.000Z | app/models/audit_activity/business/add.rb | UKGovernmentBEIS/beis-psd | 73dc8c43e3cea43ceff8a757526f34b8fd986d8c | [
"MIT"
] | 1,227 | 2019-10-04T17:16:51.000Z | 2022-03-31T21:12:20.000Z | app/models/audit_activity/business/add.rb | UKGovernmentBEIS/beis-psd | 73dc8c43e3cea43ceff8a757526f34b8fd986d8c | [
"MIT"
] | 4 | 2020-11-24T07:15:57.000Z | 2022-01-07T16:02:37.000Z | class AuditActivity::Business::Add < AuditActivity::Base
belongs_to :business, class_name: "::Business"
def self.build_metadata(business, business_investigation)
{ business: business.attributes, investigation_business: business_investigation.attributes }
end
def metadata
migrate_metadata_structure
e... | 23.657143 | 96 | 0.71256 |
b305fa1f2faa59f0d2299691221737e474fb1463 | 3,794 | dart | Dart | packages/flutter_app/test/commons/json_converter/timestamp_converter_test.dart | John-Thailand/flutter_app_template | d2bcf99982667f68b07cbec5d6a0e7ff8d95be49 | [
"MIT"
] | 70 | 2021-08-23T23:59:28.000Z | 2022-03-29T08:22:27.000Z | packages/flutter_app/test/commons/json_converter/timestamp_converter_test.dart | John-Thailand/flutter_app_template | d2bcf99982667f68b07cbec5d6a0e7ff8d95be49 | [
"MIT"
] | 2 | 2021-08-24T00:01:03.000Z | 2021-09-13T08:21:12.000Z | packages/flutter_app/test/commons/json_converter/timestamp_converter_test.dart | John-Thailand/flutter_app_template | d2bcf99982667f68b07cbec5d6a0e7ff8d95be49 | [
"MIT"
] | 7 | 2021-11-20T03:00:23.000Z | 2022-03-29T11:17:39.000Z | import 'dart:math';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter_app/commons/json_converter/timestamp_converter.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
final random = Random();
late int randomNumber;
setUp(() {
// テストごとにランダム値を書き換える
randomN... | 30.596774 | 80 | 0.664997 |
2fbe915a80390f7afb148243fa4d8319fd41bb32 | 6,814 | py | Python | kilometri.py | liljaj/imneversorry | edc380da32590b7c44408500518358c46310b03f | [
"MIT"
] | null | null | null | kilometri.py | liljaj/imneversorry | edc380da32590b7c44408500518358c46310b03f | [
"MIT"
] | null | null | null | kilometri.py | liljaj/imneversorry | edc380da32590b7c44408500518358c46310b03f | [
"MIT"
] | null | null | null | import collections
import math
import time
import telegram
import db
extract_uid = lambda update: update.message.from_user["id"]
extract_chatid = lambda update: update.message.chat_id
poista_skandit = lambda s: s.replace("ä", "a").replace("Ä", "A").replace("ö", "o").replace("Ö", "O")
class Kilometri:
Laji = col... | 32.759615 | 118 | 0.545201 |
af2866d77c5ffe407be5e8b87408afa63d167bf6 | 2,443 | py | Python | test/test_models/test_rl/test_policy.py | lpraat/autoagent | 0db7b581cdb55bff710097ab71fc94a328bddc6e | [
"MIT"
] | null | null | null | test/test_models/test_rl/test_policy.py | lpraat/autoagent | 0db7b581cdb55bff710097ab71fc94a328bddc6e | [
"MIT"
] | null | null | null | test/test_models/test_rl/test_policy.py | lpraat/autoagent | 0db7b581cdb55bff710097ab71fc94a328bddc6e | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import torch
from autoagent.models.rl.net import create_dense_net
from autoagent.models.rl.policy import CategoricalPolicy, GaussianPolicy, SquashedGaussianPolicy
class TestPolicy(unittest.TestCase):
def test_categorical_policy(self):
state_sizes = [np.random.randint(1... | 36.462687 | 96 | 0.548097 |
0d3ced4aeaaf9422177d86182f0896b33c159060 | 363 | cs | C# | DataStore/Models/LoginCredentialsModel.cs | Amatsugu/Aoba | 822e9eec0da34d2e644a7522c79800cfcc22d87b | [
"BSD-2-Clause"
] | 5 | 2019-10-21T20:08:15.000Z | 2021-08-03T03:37:33.000Z | DataStore/Models/LoginCredentialsModel.cs | TheDarkVoid/Aoba | eb300679dfc483295c3f8653a501908beaa35770 | [
"BSD-2-Clause"
] | null | null | null | DataStore/Models/LoginCredentialsModel.cs | TheDarkVoid/Aoba | eb300679dfc483295c3f8653a501908beaa35770 | [
"BSD-2-Clause"
] | 1 | 2019-10-21T20:07:59.000Z | 2019-10-21T20:07:59.000Z | using System;
namespace LuminousVector.Aoba.Models
{
public enum AuthMode
{
Form,
API
}
public class LoginCredentialsModel
{
public string Username { get; set; }
public string Password { get; set; }
public AuthMode AuthMode { get; set; }
public override string ToString()
{
return $"{Username}|{... | 15.782609 | 57 | 0.680441 |
a3d428182aad5145dfbc8a8359ecd856ddf4458e | 1,628 | java | Java | C2CRIBuildDir/projects/C2C-RI/src/NTCIP2306v01_69/src/org/fhwa/c2cri/ntcip2306v109/messaging/NTCIP2306MessageValidationException.java | OSADP/C2C-RI | 802b498c8c63e25cf8ec3dd78ff78742d03998a8 | [
"Apache-2.0"
] | null | null | null | C2CRIBuildDir/projects/C2C-RI/src/NTCIP2306v01_69/src/org/fhwa/c2cri/ntcip2306v109/messaging/NTCIP2306MessageValidationException.java | OSADP/C2C-RI | 802b498c8c63e25cf8ec3dd78ff78742d03998a8 | [
"Apache-2.0"
] | null | null | null | C2CRIBuildDir/projects/C2C-RI/src/NTCIP2306v01_69/src/org/fhwa/c2cri/ntcip2306v109/messaging/NTCIP2306MessageValidationException.java | OSADP/C2C-RI | 802b498c8c63e25cf8ec3dd78ff78742d03998a8 | [
"Apache-2.0"
] | null | null | null | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.fhwa.c2cri.ntcip2306v109.messaging;
/**
* The Class NTCIP2306MessageValidationException provides a mechanism to indicate that an exception is specifically related to the validation of an NTCIP 2306 message... | 23.257143 | 167 | 0.632064 |