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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1bcd7cc9abf0320232b017fdcc4248ff847511f1 | 1,803 | lua | Lua | modules/lib/detect/has_features.lua | libyyu/xmake | eabc5a03126b391b2b0795c88d2ad95c2997855b | [
"Apache-2.0"
] | null | null | null | modules/lib/detect/has_features.lua | libyyu/xmake | eabc5a03126b391b2b0795c88d2ad95c2997855b | [
"Apache-2.0"
] | null | null | null | modules/lib/detect/has_features.lua | libyyu/xmake | eabc5a03126b391b2b0795c88d2ad95c2997855b | [
"Apache-2.0"
] | null | null | null | --!A cross-platform build utility based on Lua
--
-- 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... | 30.559322 | 141 | 0.656129 |
3d0e7f78289b77ce92cff768c918fd05219464e6 | 1,320 | sql | SQL | src/main/resources/db/migration/V1__Basic_schema.sql | alex-kosarev/showcase-farm-management | 8bfd5ee2c36e039e97c0c6caeb4a463175d37c3e | [
"Apache-2.0"
] | null | null | null | src/main/resources/db/migration/V1__Basic_schema.sql | alex-kosarev/showcase-farm-management | 8bfd5ee2c36e039e97c0c6caeb4a463175d37c3e | [
"Apache-2.0"
] | null | null | null | src/main/resources/db/migration/V1__Basic_schema.sql | alex-kosarev/showcase-farm-management | 8bfd5ee2c36e039e97c0c6caeb4a463175d37c3e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2002-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 30 | 100 | 0.731061 |
b7313653058a8cd49cf865ab1e8dea7562069a5e | 663 | cs | C# | src/main/API/MessageGameObjectUpdateMinor.cs | nwn-dotnet/NWN.Core.LowLevel | d7575f5c3a908aa11403a2457ea647e120a18613 | [
"MIT"
] | 3 | 2021-01-09T07:28:06.000Z | 2021-01-31T01:23:36.000Z | src/main/API/MessageGameObjectUpdateMinor.cs | nwn-dotnet/NWN.Core.LowLevel | d7575f5c3a908aa11403a2457ea647e120a18613 | [
"MIT"
] | null | null | null | src/main/API/MessageGameObjectUpdateMinor.cs | nwn-dotnet/NWN.Core.LowLevel | d7575f5c3a908aa11403a2457ea647e120a18613 | [
"MIT"
] | 2 | 2021-07-24T19:17:43.000Z | 2021-12-20T00:04:19.000Z | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... | 26.52 | 80 | 0.541478 |
0ac4259fa0ca565bedbd4815ad1e7de239fd38a1 | 581 | sql | SQL | datacamp-master/intro-to-sql-for-data-science/04-sorting-grouping-and-joins/03-sorting-single-columns(2).sql | vitthal10/datacamp | 522d2b192656f7f6563bf6fc33471b048f1cf029 | [
"MIT"
] | 1 | 2021-01-31T20:51:10.000Z | 2021-01-31T20:51:10.000Z | 12intro-to-sql-for-data-science/04-sorting-grouping-and-joins/03-sorting-single-columns(2).sql | AndreasFerox/DataCamp | 41525d7252f574111f4929158da1498ee1e73a84 | [
"MIT"
] | null | null | null | 12intro-to-sql-for-data-science/04-sorting-grouping-and-joins/03-sorting-single-columns(2).sql | AndreasFerox/DataCamp | 41525d7252f574111f4929158da1498ee1e73a84 | [
"MIT"
] | 1 | 2021-08-08T05:09:52.000Z | 2021-08-08T05:09:52.000Z | /*
Let's get some more practice with ORDER BY!
*/
/*
Instructions
- Get the title of films released in 2000 or 2012, in the order they were released.
- Get all details for all films except those released in 2015 and order them by duration.
- Get the title and gross earnings for movies which begin with the letter 'M' a... | 36.3125 | 115 | 0.769363 |
7bf6bad51da44e222bf0297aa0e0efaf2ba92e6f | 192 | rb | Ruby | test/factories/enrollments_factory.rb | hhpatel09/OfficeHourQueue | 9f0a119b5475a1828f269d51bf47b6d5659bc44e | [
"MIT"
] | null | null | null | test/factories/enrollments_factory.rb | hhpatel09/OfficeHourQueue | 9f0a119b5475a1828f269d51bf47b6d5659bc44e | [
"MIT"
] | 5 | 2020-02-29T04:22:15.000Z | 2022-03-30T23:41:44.000Z | test/factories/enrollments_factory.rb | hhpatel09/OfficeHourQueue | 9f0a119b5475a1828f269d51bf47b6d5659bc44e | [
"MIT"
] | null | null | null | FactoryBot.define do
factory :enrollment do
user_id { 0 }
course_id { 0 }
created_at { '2001-02-03T12:00:00+00:00' }
updated_at { '2001-02-03T12:00:00+00:00' }
end
end
| 21.333333 | 46 | 0.619792 |
4e55e88cf412263d8a214a4d10a17e3014f84455 | 216 | lua | Lua | assets/preload/custom_events/Note NO.lua | Amogus124/TROLLGE-FILES-ANDROID | 158907c737e4bed05967a4128ef7bb48999b107b | [
"Apache-2.0"
] | null | null | null | assets/preload/custom_events/Note NO.lua | Amogus124/TROLLGE-FILES-ANDROID | 158907c737e4bed05967a4128ef7bb48999b107b | [
"Apache-2.0"
] | null | null | null | assets/preload/custom_events/Note NO.lua | Amogus124/TROLLGE-FILES-ANDROID | 158907c737e4bed05967a4128ef7bb48999b107b | [
"Apache-2.0"
] | null | null | null | function onEvent(name)
if name == 'Note NO' then
if value1 == '1' then
setProperty('opponentStrums.visible', false)
end
if value1 == '2' then
setProperty('opponentStrums.visible', true)
end end end | 27 | 48 | 0.675926 |
f74b643d2bc39b0986020b85ee2af6ec03d276fa | 533 | rb | Ruby | lib/rubytunes/fade.rb | drn/rubytunes | 2d548be50ac5ee6884fda60552cf04ec916b1105 | [
"MIT"
] | null | null | null | lib/rubytunes/fade.rb | drn/rubytunes | 2d548be50ac5ee6884fda60552cf04ec916b1105 | [
"MIT"
] | null | null | null | lib/rubytunes/fade.rb | drn/rubytunes | 2d548be50ac5ee6884fda60552cf04ec916b1105 | [
"MIT"
] | null | null | null | require 'rubytunes/playback'
class RubyTunes
class Fade
INCREMENT = 5
def toggle; volume > 0 ? self.out : self.in end
def in
while (current ||= volume) < 100
self.volume = (current += INCREMENT)
end
end
def out
while (current ||= volume) > 0
self.volume = (cu... | 16.65625 | 59 | 0.606004 |
f5193157ff9ee057d6c12294a3dd666cdfd4af26 | 4,272 | swift | Swift | Tests/SwiftUIBlocTests/BlocTests.swift | mehdok/SwiftUIBloc | 1235a2f0ea8a962ee84498ae0f2f57e95d29ae9a | [
"MIT"
] | 3 | 2021-09-10T12:05:22.000Z | 2021-09-17T18:54:34.000Z | Tests/SwiftUIBlocTests/BlocTests.swift | mehdok/SwiftUIBloc | 1235a2f0ea8a962ee84498ae0f2f57e95d29ae9a | [
"MIT"
] | null | null | null | Tests/SwiftUIBlocTests/BlocTests.swift | mehdok/SwiftUIBloc | 1235a2f0ea8a962ee84498ae0f2f57e95d29ae9a | [
"MIT"
] | 1 | 2021-09-10T03:12:19.000Z | 2021-09-10T03:12:19.000Z | //
// BlocTests.swift
// SwiftUIBlocTests
//
// Created by Mehdok on 8/20/21.
//
import CombineExpectations
@testable import SwiftUIBloc
import XCTest
class BlocTests: XCTestCase {
func testInitialState() throws {
let bloc = TestBloc(.initial)
let recorder = bloc.state.record()
let firs... | 25.129412 | 84 | 0.596442 |
7dc58dab2354c35ad5876a2ed5bfc57b964ab595 | 1,033 | css | CSS | style.css | Mar-io20/calculadora | fd16e06031f12163f6b141126fda3f406d2e8a76 | [
"MIT"
] | null | null | null | style.css | Mar-io20/calculadora | fd16e06031f12163f6b141126fda3f406d2e8a76 | [
"MIT"
] | null | null | null | style.css | Mar-io20/calculadora | fd16e06031f12163f6b141126fda3f406d2e8a76 | [
"MIT"
] | null | null | null | *{
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');
body{
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.calculadora{
border-rad... | 19.865385 | 98 | 0.605034 |
23d00cd03bfd4863394e16210670f6de812065d6 | 681 | ps1 | PowerShell | Public/Initialize-HuduFolder.ps1 | sneakyflint/HuduAPI | d12c7aac87bd5ad2c50a4e3de26aeebfaaa0b390 | [
"MIT"
] | null | null | null | Public/Initialize-HuduFolder.ps1 | sneakyflint/HuduAPI | d12c7aac87bd5ad2c50a4e3de26aeebfaaa0b390 | [
"MIT"
] | null | null | null | Public/Initialize-HuduFolder.ps1 | sneakyflint/HuduAPI | d12c7aac87bd5ad2c50a4e3de26aeebfaaa0b390 | [
"MIT"
] | null | null | null | function Initialize-HuduFolder {
param(
[String[]]$FolderPath,
[Alias("company_id")]
[int]$CompanyId
)
if ($CompanyId) {
$FolderMap = Get-HuduFolderMap -company_id $CompanyId
} else {
$FolderMap = Get-HuduFolderMap
}
$CurrentFolder = $Foldermap
forea... | 28.375 | 126 | 0.61674 |
43891bc312afd809de395872b8f866a956124dc2 | 12,815 | cpp | C++ | arduino_codes/SortingMachine_workflow/SortingMachineLib.cpp | renatattavares/arduino-methodology | adb85d2352697c79095b3cfed803bd6fd17caf38 | [
"MIT"
] | null | null | null | arduino_codes/SortingMachine_workflow/SortingMachineLib.cpp | renatattavares/arduino-methodology | adb85d2352697c79095b3cfed803bd6fd17caf38 | [
"MIT"
] | null | null | null | arduino_codes/SortingMachine_workflow/SortingMachineLib.cpp | renatattavares/arduino-methodology | adb85d2352697c79095b3cfed803bd6fd17caf38 | [
"MIT"
] | null | null | null | #include "SortingMachineLib.h"
#include <Wire.h>
#include <Servo.h>
#include <Adafruit_TCS34725.h>
#include <CheapStepper.h>
//================= Defining pin numbers =================//
//------- Servo motor----------- //
#define SERVO_PIN 3
//---------- LED RGB------------ //
#define LED_R 9
#define LED_G... | 31.029056 | 114 | 0.569489 |
e06576a3f3f0eff0bd801d72ff4cf99d6bab6d44 | 287 | h | C | VidyoClientAPI_Sample_iOS_BitSample/CallCentre/Controller/CallCentreViewController.h | changkuanlai/IOS_VidyoDriver | 9907abb09a3b066536c069068479a14199555724 | [
"Apache-2.0"
] | null | null | null | VidyoClientAPI_Sample_iOS_BitSample/CallCentre/Controller/CallCentreViewController.h | changkuanlai/IOS_VidyoDriver | 9907abb09a3b066536c069068479a14199555724 | [
"Apache-2.0"
] | null | null | null | VidyoClientAPI_Sample_iOS_BitSample/CallCentre/Controller/CallCentreViewController.h | changkuanlai/IOS_VidyoDriver | 9907abb09a3b066536c069068479a14199555724 | [
"Apache-2.0"
] | null | null | null | //
// CallCentreViewController.h
// VidyoMobile
//
// Created by 赖长宽 on 2017/1/4.
// Copyright © 2017年 changkuan.lai.com. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CallCentreViewController : UIViewController
@property (nonatomic ,copy) NSString * textName;
@end
| 17.9375 | 61 | 0.724739 |
7e8c707f5371a86d90f42141e4c85ddb9ef5f13e | 30 | rs | Rust | src/timing/mod.rs | wheelin/nucleo_f103rg | c3d2fa437c1c4fbc6e71c101d650bc5ad2015fc9 | [
"MIT"
] | null | null | null | src/timing/mod.rs | wheelin/nucleo_f103rg | c3d2fa437c1c4fbc6e71c101d650bc5ad2015fc9 | [
"MIT"
] | null | null | null | src/timing/mod.rs | wheelin/nucleo_f103rg | c3d2fa437c1c4fbc6e71c101d650bc5ad2015fc9 | [
"MIT"
] | null | null | null |
pub mod delay;
pub mod timer; | 10 | 14 | 0.733333 |
2c80342e4d86d0c54e8c3c0143c3b7b84ff3c6b2 | 12,443 | py | Python | lapidary/Main.py | efeslab/dolma | 039c5ed768bc879a83424075ccccf3bbd31794ae | [
"BSD-3-Clause"
] | 6 | 2021-01-02T18:29:22.000Z | 2021-10-03T18:55:01.000Z | lapidary/Main.py | efeslab/dolma | 039c5ed768bc879a83424075ccccf3bbd31794ae | [
"BSD-3-Clause"
] | 2 | 2021-02-15T15:34:34.000Z | 2022-01-30T17:46:00.000Z | lapidary/Main.py | efeslab/dolma | 039c5ed768bc879a83424075ccccf3bbd31794ae | [
"BSD-3-Clause"
] | 3 | 2020-10-23T14:10:39.000Z | 2021-11-16T10:00:40.000Z | #! /usr/bin/env python3
from argparse import ArgumentParser
import json
from glob import glob
from pathlib import Path
from pprint import pprint
from subprocess import run, Popen
import os
import shutil
from DolmaConfig import generate_configs
from SpecBench import SpecBench, Spec2017Bench
from Checkpoints import GDB... | 40.930921 | 222 | 0.545287 |
7019a649b709cd13ee1355813e041b6d316fc2ac | 1,995 | css | CSS | public/css/file.css | jhuril45/OTRS | e57de8d8e1191f38b0770bdfb072fcc559967ebe | [
"MIT"
] | null | null | null | public/css/file.css | jhuril45/OTRS | e57de8d8e1191f38b0770bdfb072fcc559967ebe | [
"MIT"
] | null | null | null | public/css/file.css | jhuril45/OTRS | e57de8d8e1191f38b0770bdfb072fcc559967ebe | [
"MIT"
] | null | null | null | /* Hide HTML5 Up and Down arrows. */
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"] {
-moz-appearance: textfield;
}
.bottom-top-radius{
border-top-right-radius: 15px;
border-top-left-radius: 15p... | 16.625 | 98 | 0.602506 |
b2f6d7a9a78f23aeaa8f2483d53b348cff9e9092 | 942 | dart | Dart | lib/src/locale/locales/pt.dart | Avyiel/better_moment | 27f7e55bc4ff830b0f85d8a5494acdef72c426e2 | [
"MIT"
] | 2 | 2019-08-04T08:02:21.000Z | 2019-12-31T13:16:18.000Z | lib/src/locale/locales/pt.dart | Avyiel/tempus | 27f7e55bc4ff830b0f85d8a5494acdef72c426e2 | [
"MIT"
] | null | null | null | lib/src/locale/locales/pt.dart | Avyiel/tempus | 27f7e55bc4ff830b0f85d8a5494acdef72c426e2 | [
"MIT"
] | null | null | null | part of tempus;
class LocalePT implements ILocale {
@override
String get seconds => 'alguns segundos';
@override
String get aMinute => 'um minuto';
@override
String get minutes => '%i minutos';
@override
String get anHour => 'uma hora';
@override
String get hours => '%i horas';
@override
Str... | 20.478261 | 70 | 0.654989 |
7eb84d934a08017746d4b6f59204a2f152ef669e | 283 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/quest/naboo_kadaara_jonni_smuggled_goods.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/quest/naboo_kadaara_jonni_smuggled_goods.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/quest/naboo_kadaara_jonni_smuggled_goods.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_tangible_quest_naboo_kadaara_jonni_smuggled_goods = object_tangible_quest_shared_naboo_kadaara_jonni_smuggled_goods:new {
}
ObjectTemplates:addTemplate(object_tangible_quest_naboo_kadaara_jonni_smuggled_goods, "object/tangible/quest/naboo_kadaara_jonni_smuggled_goods.iff")
| 47.166667 | 149 | 0.918728 |
796545016fe57ff9fdfe5b30d4074ab203de6830 | 16,795 | php | PHP | app/Strategies/BasicStrategy.php | amangeldiyev/blackjack | 22b3873f5619095e3231514c14c258f11bbfc753 | [
"MIT"
] | null | null | null | app/Strategies/BasicStrategy.php | amangeldiyev/blackjack | 22b3873f5619095e3231514c14c258f11bbfc753 | [
"MIT"
] | null | null | null | app/Strategies/BasicStrategy.php | amangeldiyev/blackjack | 22b3873f5619095e3231514c14c258f11bbfc753 | [
"MIT"
] | null | null | null | <?php
namespace App\Strategies;
use App\Games\BlackJack;
class BasicStrategy
{
const SPLIT = [
'ACE' => [
'ACE' => 'Split',
'KING' => 'Split',
'QUEEN' => 'Split',
'JACK' => 'Split',
'10' => 'Split',
'9' => 'Split',
'8' =>... | 26.160436 | 107 | 0.228937 |
bb0f120684ed35a38a2e9c3d60d71af04955d03d | 1,150 | cs | C# | NeoToCosmos/Cache.cs | bsherwin/neo-to-cosmos | 8273c9b860e6fe71f84115dfbaaaa4565920fa37 | [
"MIT"
] | 9 | 2018-05-11T20:02:04.000Z | 2021-10-14T03:47:07.000Z | NeoToCosmos/Cache.cs | bsherwin/neo-to-cosmos | 8273c9b860e6fe71f84115dfbaaaa4565920fa37 | [
"MIT"
] | 2 | 2017-09-20T01:21:29.000Z | 2021-01-12T16:57:12.000Z | NeoToCosmos/Cache.cs | bsherwin/neo-to-cosmos | 8273c9b860e6fe71f84115dfbaaaa4565920fa37 | [
"MIT"
] | 4 | 2017-09-19T18:21:59.000Z | 2021-07-02T18:50:27.000Z | using RocksDbSharp;
using System;
using System.IO;
namespace NeoToCosmos
{
public class Cache : IDisposable
{
private readonly RocksDb _rocksDb;
public Cache(bool shouldRestart)
{
var cachePath = Environment.GetEnvironmentVariable("CACHE_PATH") ?? "cache";
if ... | 22.115385 | 88 | 0.496522 |
1a740620fe99d3c5ae8c9c6a3e8cb1dbe217eb36 | 1,387 | cs | C# | Sources/Core2/SubscriberBase.cs | qifei2012/MessageBus | 4b4e781b45d48fa6ee49e52570b01235927adc56 | [
"Apache-2.0"
] | 1 | 2018-04-26T04:35:40.000Z | 2018-04-26T04:35:40.000Z | Sources/Core2/SubscriberBase.cs | qifei2012/MessageBus | 4b4e781b45d48fa6ee49e52570b01235927adc56 | [
"Apache-2.0"
] | null | null | null | Sources/Core2/SubscriberBase.cs | qifei2012/MessageBus | 4b4e781b45d48fa6ee49e52570b01235927adc56 | [
"Apache-2.0"
] | null | null | null | using System.Collections.Generic;
using MessageBus.Core.API;
using RabbitMQ.Client;
namespace MessageBus.Core
{
public class SubscriberBase : ISubscription
{
private readonly IModel _model;
private readonly string _queue;
private readonly IBasicConsumer _consumer;
pri... | 28.306122 | 208 | 0.574621 |
3847826e0ddea242ed4e39c431ead32d500444d5 | 2,236 | php | PHP | resources/views/users/create.blade.php | ikaul29/Backend | d0d62346a74a23370c7f094646107b7fa64c4fc1 | [
"Apache-2.0"
] | null | null | null | resources/views/users/create.blade.php | ikaul29/Backend | d0d62346a74a23370c7f094646107b7fa64c4fc1 | [
"Apache-2.0"
] | 9 | 2020-04-30T13:51:32.000Z | 2022-02-26T21:52:51.000Z | resources/views/users/create.blade.php | ikaul29/Backend | d0d62346a74a23370c7f094646107b7fa64c4fc1 | [
"Apache-2.0"
] | 8 | 2020-01-04T05:25:59.000Z | 2022-02-24T08:39:26.000Z | @extends('layouts.app')
@section('content')
<section class="cover">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-10 col-lg-8">
<h1>Create New User</h1>
<p class="lead">
It's time to welcome that new recru... | 39.928571 | 156 | 0.391324 |
4bcd5377e9aa0478c11c044a0d78f37ea2a3b7bd | 3,395 | h | C | external/sysroot/debian_sid_amd64-sysroot/usr/include/pipewire/port.h | kcratie/evio-gnbuild | 7af889e69df8a070f1a612cff15dd3c4b357792f | [
"MIT"
] | 5 | 2020-12-17T06:55:53.000Z | 2021-09-30T13:06:58.000Z | external/sysroot/debian_sid_amd64-sysroot/usr/include/pipewire/port.h | kcratie/evio-gnbuild | 7af889e69df8a070f1a612cff15dd3c4b357792f | [
"MIT"
] | 1 | 2022-01-04T21:53:07.000Z | 2022-03-30T11:16:05.000Z | external/sysroot/debian_sid_amd64-sysroot/usr/include/pipewire/port.h | kcratie/evio-gnbuild | 7af889e69df8a070f1a612cff15dd3c4b357792f | [
"MIT"
] | 8 | 2020-09-30T10:06:31.000Z | 2022-03-29T21:17:21.000Z | /* PipeWire
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any la... | 29.521739 | 81 | 0.711635 |
e75752a69e62f4c842922bce0b7f18950f4b19c8 | 2,204 | php | PHP | application/views/Admin/top_menu.php | AgusStudio/web-pktm | 1836c5a4c4a203944e28b62ab025c892283ea22e | [
"MIT"
] | null | null | null | application/views/Admin/top_menu.php | AgusStudio/web-pktm | 1836c5a4c4a203944e28b62ab025c892283ea22e | [
"MIT"
] | null | null | null | application/views/Admin/top_menu.php | AgusStudio/web-pktm | 1836c5a4c4a203944e28b62ab025c892283ea22e | [
"MIT"
] | null | null | null | <div class="topbar">
<!-- LOGO -->
<div class="topbar-left">
<div class="text-center">
<a href="<?php echo base_url('admin'); ?>" class="logo"><img src="<?php echo base_url('assets/images/bps.png');?>" class="thumb-md"><span> <?php echo $user->... | 64.823529 | 286 | 0.38657 |
806b9b6d8a1f56013865baba59b32b7624104255 | 1,430 | lua | Lua | nvim/lua/al3xfischer/terminal/settings.lua | al3xfischer/dotfiles | 896d409375616a59d3390568e1f50f605c856cf9 | [
"MIT"
] | null | null | null | nvim/lua/al3xfischer/terminal/settings.lua | al3xfischer/dotfiles | 896d409375616a59d3390568e1f50f605c856cf9 | [
"MIT"
] | null | null | null | nvim/lua/al3xfischer/terminal/settings.lua | al3xfischer/dotfiles | 896d409375616a59d3390568e1f50f605c856cf9 | [
"MIT"
] | null | null | null |
vim.g.netrw_banner = 0
vim.g.netrw_winsize = 25
vim.g.netrw_browser_split = 4
vim.g.netrw_liststyle = 1
vim.g.netrw_powerline_fonts = 1
vim.g.vimspector_enable_mappings ='VISUAL_STUDIO'
vim.g.python3_host_prog = 'C:/Users/Alex/AppData/Local/Programs/Python/Python39/python'
vim.wo.number = true
vim.opt.scr... | 31.777778 | 176 | 0.708392 |
cb4b6a6d1c74be095d0f4fb2a02924273f691943 | 40,882 | lua | Lua | game/assets/maps/mundo_back.lua | 0vjv0/sindemia | 5d6aae63e068c462460726e011c4ed89a069035a | [
"MIT"
] | null | null | null | game/assets/maps/mundo_back.lua | 0vjv0/sindemia | 5d6aae63e068c462460726e011c4ed89a069035a | [
"MIT"
] | null | null | null | game/assets/maps/mundo_back.lua | 0vjv0/sindemia | 5d6aae63e068c462460726e011c4ed89a069035a | [
"MIT"
] | null | null | null | return {
1269,1270,0,0,0,0,0,0,1268,1269,1269,1270,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1268,1269,1269,1269,1269,1270,0,0,0,0,0,0,0,0,0,0,0,1268,1269,1269,1270,1268,1269,1269,1269,1269,1270,0,0,1268,1269,1270,0,0,0,0,0,1268,1269,1269,1270,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,... | 312.076336 | 1,293 | 0.59591 |
40d9851a0a6b6289df43a22168c4ccf984c9faa5 | 300,540 | lua | Lua | game.lua | qixils/mari0_ae | 40caafd40e5eaa13447995238ad5a9cfbb377827 | [
"WTFPL"
] | null | null | null | game.lua | qixils/mari0_ae | 40caafd40e5eaa13447995238ad5a9cfbb377827 | [
"WTFPL"
] | null | null | null | game.lua | qixils/mari0_ae | 40caafd40e5eaa13447995238ad5a9cfbb377827 | [
"WTFPL"
] | null | null | null | local queuespritebatchupdate = false
function game_load(suspended)
scrollfactor = 0
scrollfactory = 0
scrollfactor2 = 0
scrollfactor2y = 0
love.graphics.setBackgroundColor(backgroundcolor[1])
backgroundrgbon = false
backgroundrgb = {0, 0, 0}
backgroundcolor[4] = backgroundrgb
scrollingstart = scrollingstartv... | 32.22258 | 1,019 | 0.65352 |
da6a090eb82201384995b830507403755bd1a48e | 854 | php | PHP | src/Functions/IO.php | KernelDeimos/FinalPHP | b092ad0a13f42e9b1f432fa89fa49a6afccb330e | [
"MIT"
] | null | null | null | src/Functions/IO.php | KernelDeimos/FinalPHP | b092ad0a13f42e9b1f432fa89fa49a6afccb330e | [
"MIT"
] | 1 | 2017-10-20T19:39:32.000Z | 2017-10-27T18:02:23.000Z | src/Functions/IO.php | KernelDeimos/FinalPHP | b092ad0a13f42e9b1f432fa89fa49a6afccb330e | [
"MIT"
] | null | null | null | <?php
namespace FinalPHP\Functions;
use \FinalPHP\L;
use Symfony\Component\Yaml\Yaml;
class IO
{
public static function MarshalFiles($struct, ...$files)
{
// TODO: Infer JSON or YAML from file extension
// Return unified struct with configuration from each file
return L::Reduce(
... | 25.878788 | 83 | 0.542155 |
2cca7b2d7c7dc21b45de21c60391fab7a08e3f31 | 7,798 | cpp | C++ | src/services/openid_connect.cpp | umr-dbs/mapping-gfbio | 820f0ccde16cab9f5780864d2402149230f01acf | [
"MIT"
] | null | null | null | src/services/openid_connect.cpp | umr-dbs/mapping-gfbio | 820f0ccde16cab9f5780864d2402149230f01acf | [
"MIT"
] | 2 | 2018-04-04T10:38:47.000Z | 2020-12-07T13:26:04.000Z | src/services/openid_connect.cpp | umr-dbs/mapping-gfbio | 820f0ccde16cab9f5780864d2402149230f01acf | [
"MIT"
] | 2 | 2018-03-07T07:50:24.000Z | 2018-06-05T13:51:58.000Z | #include "openid_connect.h"
void OpenIdConnectService::OpenIdConnectService::run() {
try {
const std::string &request = params.get("request");
if (request == "login") {
this->login(params.get("access_token"));
} else { // FALLBACK
response.sendFailureJSON("OpenIdCon... | 39.989744 | 136 | 0.63901 |
2c730117ecdbb590132104350c5016e542399781 | 1,456 | cpp | C++ | 912-sort-an-array-mergesort.cpp | Iciclelz/leetcode | e4b698e0161033922851641885fdc6e47f9ce270 | [
"Apache-2.0"
] | null | null | null | 912-sort-an-array-mergesort.cpp | Iciclelz/leetcode | e4b698e0161033922851641885fdc6e47f9ce270 | [
"Apache-2.0"
] | null | null | null | 912-sort-an-array-mergesort.cpp | Iciclelz/leetcode | e4b698e0161033922851641885fdc6e47f9ce270 | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
std::vector<int32_t> sortArray(std::vector<int32_t>& v) {
mergesort<int32_t>(v, [](int32_t a, int32_t b) -> bool { return a < b; });
return v;
}
private:
template <typename T> std::vector<T> merge(std::vector<T> &a, std::vector<T> &b, std::function<bool(T, T)> &... | 24.677966 | 117 | 0.370192 |
a4321b0846c4f809738743a7977177d09c0d1c1f | 299 | php | PHP | config/constants.php | Elymas-Magus/Sua-Mae-Nao-Pode-Ver | 36c21e39f14da1fe22255e07c1eaa95a1b514e40 | [
"MIT"
] | null | null | null | config/constants.php | Elymas-Magus/Sua-Mae-Nao-Pode-Ver | 36c21e39f14da1fe22255e07c1eaa95a1b514e40 | [
"MIT"
] | null | null | null | config/constants.php | Elymas-Magus/Sua-Mae-Nao-Pode-Ver | 36c21e39f14da1fe22255e07c1eaa95a1b514e40 | [
"MIT"
] | null | null | null | <?php
return [
'options' => [
'sites' => [
['id' => 1, 'url' => 'www.xvideos.com', 'nome' => 'xvideos'],
['id' => 2, 'url' => 'www.pornhub.com', 'nome' => 'pornhub'],
['id' => 3, 'url' => 'www.redtube.com', 'nome' => 'redtube'],
],
],
];
| 24.916667 | 73 | 0.371237 |
3605df9f502d639a0a9143d45ca33be8d419fe08 | 228 | rs | Rust | src/rendering/components.rs | PSteinhaus/emerald | f359a4bfa2760e3d33316579cedab994d954ae10 | [
"MIT"
] | 340 | 2020-04-15T17:26:19.000Z | 2022-03-27T00:29:25.000Z | src/rendering/components.rs | PSteinhaus/emerald | f359a4bfa2760e3d33316579cedab994d954ae10 | [
"MIT"
] | 59 | 2020-07-07T18:21:28.000Z | 2022-03-27T21:53:45.000Z | src/rendering/components.rs | PSteinhaus/emerald | f359a4bfa2760e3d33316579cedab994d954ae10 | [
"MIT"
] | 12 | 2021-07-10T14:50:41.000Z | 2022-01-17T10:38:27.000Z | #[cfg(feature = "aseprite")]
pub mod aseprite;
mod camera;
mod color_rect;
mod label;
mod sprite;
#[cfg(feature = "aseprite")]
pub use aseprite::*;
pub use camera::*;
pub use color_rect::*;
pub use label::*;
pub use sprite::*;
| 16.285714 | 28 | 0.675439 |
ee5ce6010221dfcaec3f4979f8f62f1c46db3acf | 355 | lua | Lua | _lib/premake5.lua | raylib-extras/game-premake | 2f6a83b4d8748e3ae42d92be18bd0e9534e24b4e | [
"Zlib"
] | 3 | 2021-10-10T03:04:40.000Z | 2022-03-08T04:43:46.000Z | _lib/premake5.lua | raylib-extras/game-premake | 2f6a83b4d8748e3ae42d92be18bd0e9534e24b4e | [
"Zlib"
] | 1 | 2022-02-10T22:58:14.000Z | 2022-02-13T00:28:58.000Z | _lib/premake5.lua | raylib-extras/game-premake | 2f6a83b4d8748e3ae42d92be18bd0e9534e24b4e | [
"Zlib"
] | 7 | 2021-11-19T16:53:58.000Z | 2022-03-24T13:12:53.000Z |
baseName = path.getbasename(os.getcwd());
project (baseName)
kind "StaticLib"
location "../_build"
targetdir "../_bin/%{cfg.buildcfg}"
includedirs { "./", "./include"}
vpaths
{
["Header Files/*"] = { "**.h"},
["Source Files/*"] = { "**.cpp","**.c"},
}
files {"**.h", "... | 20.882353 | 48 | 0.484507 |
fa337f3b481856306f714efc19e7abaf579c9e4a | 1,694 | lua | Lua | drivers/SmartThings/zwave-switch/src/ecolink-switch/init.lua | teba-home/SmartThingsEdgeDrivers | 924d882f29a9499868faa71c62d481459533dfa0 | [
"Apache-2.0"
] | null | null | null | drivers/SmartThings/zwave-switch/src/ecolink-switch/init.lua | teba-home/SmartThingsEdgeDrivers | 924d882f29a9499868faa71c62d481459533dfa0 | [
"Apache-2.0"
] | null | null | null | drivers/SmartThings/zwave-switch/src/ecolink-switch/init.lua | teba-home/SmartThingsEdgeDrivers | 924d882f29a9499868faa71c62d481459533dfa0 | [
"Apache-2.0"
] | null | null | null | -- Copyright 2022 SmartThings
--
-- 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 ... | 30.8 | 81 | 0.716647 |
7f5b18e376ab6bdebd117067714cd8cc50fb20cb | 10,512 | swift | Swift | Sources/OpenKit/Extensions/CoreData/NSManagedObjectContext.swift | JannThomas/OpenKit | d1bd44ff1dcbfc7b56a42cef5ddd366614814e4b | [
"MIT"
] | 1 | 2020-02-28T23:10:17.000Z | 2020-02-28T23:10:17.000Z | Sources/OpenKit/Extensions/CoreData/NSManagedObjectContext.swift | JannThomas/OpenKit | d1bd44ff1dcbfc7b56a42cef5ddd366614814e4b | [
"MIT"
] | null | null | null | Sources/OpenKit/Extensions/CoreData/NSManagedObjectContext.swift | JannThomas/OpenKit | d1bd44ff1dcbfc7b56a42cef5ddd366614814e4b | [
"MIT"
] | 1 | 2020-07-10T17:19:56.000Z | 2020-07-10T17:19:56.000Z | // Copyright (c) 2015 - 2019 Jann Schafranek
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, m... | 48 | 199 | 0.573535 |
df09d535a130b068309069a9e25d095bb52a079e | 1,192 | sql | SQL | sql/_13_issues/_12_2h/cases/bug_bts_9479.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 9 | 2016-03-24T09:51:52.000Z | 2022-03-23T10:49:47.000Z | sql/_13_issues/_12_2h/cases/bug_bts_9479.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 173 | 2016-04-13T01:16:54.000Z | 2022-03-16T07:50:58.000Z | sql/_13_issues/_12_2h/cases/bug_bts_9479.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 38 | 2016-03-24T17:10:31.000Z | 2021-10-30T22:55:45.000Z |
drop table if exists foo,d3201;
drop v1,v2,dv1,dv2;
create table foo (i int primary key, j int);
create view v1 as select i from foo order by j;
insert into foo values(1, 3);
insert into foo values(2, 2);
insert into foo values(3, 5);
insert into foo values(4, 4);
insert into foo values(5, 1);
select * from v1;
sele... | 22.490566 | 57 | 0.702181 |
e86ea92c882dd23d90333255cc62a3ceb76d2316 | 3,306 | lua | Lua | vendor/RainbowRepacker/tool/engine_android(5)/assets/scripts/view/kScreen_1280_800/hall/newObjectCase/newObjectCaseNoticeShareResult.lua | huangtao/cloud-test | 8087b1337d47daab9eb39335ca6e286df0e4b4dc | [
"Apache-2.0"
] | 1 | 2018-09-12T15:43:32.000Z | 2018-09-12T15:43:32.000Z | vendor/RainbowRepacker/tool/engine_android(5)/assets/scripts/view/kScreen_1280_800/hall/newObjectCase/newObjectCaseNoticeShareResult.lua | huangtao/cloud-test | 8087b1337d47daab9eb39335ca6e286df0e4b4dc | [
"Apache-2.0"
] | null | null | null | vendor/RainbowRepacker/tool/engine_android(5)/assets/scripts/view/kScreen_1280_800/hall/newObjectCase/newObjectCaseNoticeShareResult.lua | huangtao/cloud-test | 8087b1337d47daab9eb39335ca6e286df0e4b4dc | [
"Apache-2.0"
] | 3 | 2018-09-12T15:43:33.000Z | 2019-07-10T09:50:15.000Z | local newObjectCaseNoticeShareResult=
{
name="newObjectCaseNoticeShareResult",type=0,typeName="View",time=0,x=0,y=0,width=1280,height=720,visible=1,nodeAlign=kAlignTopLeft,fillParentWidth=1,fillParentHeight=1,
{
name="Image_hallBack",type=0,typeName="Image",time=107706546,x=0,y=0,width=720,height=720,nodeAlign=kAli... | 80.634146 | 303 | 0.783727 |
0f8735459ca4f95a30dcfb4248ca76929113da84 | 695 | css | CSS | backend/web/css/pagination.css | ifelseprint/lgairpromotion.com | ac103fbc9ad3fbeebf2319da321c277ca4292380 | [
"BSD-3-Clause"
] | null | null | null | backend/web/css/pagination.css | ifelseprint/lgairpromotion.com | ac103fbc9ad3fbeebf2319da321c277ca4292380 | [
"BSD-3-Clause"
] | 1 | 2021-01-19T16:25:59.000Z | 2021-01-19T16:25:59.000Z | backend/web/css/pagination.css | ifelseprint/lgairpromotion.com | ac103fbc9ad3fbeebf2319da321c277ca4292380 | [
"BSD-3-Clause"
] | null | null | null | .pagination {
display: -ms-flexbox;
display: flex;
padding-left: 0;
list-style: none;
border-radius: .25rem;
}
.pagination a,.pagination span {
padding: .4rem .7rem;
line-height: 1.5;
}
.pagination li:first-child a,.pagination li:first-child span {
margin-left: 0;
border-top-left-ra... | 21.71875 | 62 | 0.633094 |
3895780b1246151fc6757f4971fc668142979194 | 2,391 | php | PHP | resources/views/connect/register.blade.php | drakonc/madecms | 8fae42f4f349f0f32ba2a9664d464bd6ba638f8a | [
"MIT"
] | null | null | null | resources/views/connect/register.blade.php | drakonc/madecms | 8fae42f4f349f0f32ba2a9664d464bd6ba638f8a | [
"MIT"
] | 2 | 2021-12-23T20:38:34.000Z | 2021-12-23T22:21:48.000Z | resources/views/connect/register.blade.php | drakonc/madecms | 8fae42f4f349f0f32ba2a9664d464bd6ba638f8a | [
"MIT"
] | null | null | null | @extends('connect.master')
@section('title','Registrarse')
@section('content')
<div class="box box_register shadow">
<div class="header">
<a href="{{ url('/') }}">
<img src="{{ url('/static/images/logo.png') }}">
</a>
</div>
<div class="inside">
... | 39.85 | 112 | 0.464241 |
3146ae4d0a8bd7879d0aee3c4f2ce66aa5d33ff9 | 203 | rb | Ruby | app/models/career/task_log_entry.rb | bitesite/career | 2d6df958ed43f984da5f8345eaf5d1c516274894 | [
"MIT"
] | null | null | null | app/models/career/task_log_entry.rb | bitesite/career | 2d6df958ed43f984da5f8345eaf5d1c516274894 | [
"MIT"
] | 4 | 2021-04-24T14:12:57.000Z | 2021-04-28T00:31:45.000Z | app/models/career/task_log_entry.rb | bitesite/career | 2d6df958ed43f984da5f8345eaf5d1c516274894 | [
"MIT"
] | null | null | null | module Career
class TaskLogEntry < ApplicationRecord
belongs_to :task
validates :content, :entry_type, presence: true
scope :chronological, -> { order(created_at: :asc) }
end
end
| 16.916667 | 56 | 0.689655 |
ed5bf23e2c7eb6612d79dfdf2e33786e9546bffc | 284 | h | C | ios/RCTTest/Test/Test.h | TonyTong1993/RNProject | 4c4688bf172dfb6b779f972b832b6f37961f1f99 | [
"MIT"
] | null | null | null | ios/RCTTest/Test/Test.h | TonyTong1993/RNProject | 4c4688bf172dfb6b779f972b832b6f37961f1f99 | [
"MIT"
] | null | null | null | ios/RCTTest/Test/Test.h | TonyTong1993/RNProject | 4c4688bf172dfb6b779f972b832b6f37961f1f99 | [
"MIT"
] | null | null | null | //
// Test.h
// RCTTest
//
// Created by 童万华 on 2017/8/9.
// Copyright © 2017年 童万华. All rights reserved.
//
#ifndef Test_h
#define Test_h
#import "TYModelTest.h"
#import "TYImageTest.h"
#import "TYModelTest.h"
#import "TYTopicTest.h"
#import "TYReviewTest.h"
#endif /* Test_h */
| 16.705882 | 47 | 0.676056 |
803c7bcc801a8fd622329c40fda91db292f0bdf9 | 10,921 | lua | Lua | Assets/Game/Scripts/UI/SettingsUIControl.lua | imengyu/Ballance | 3975238876ce7095eb5592d49a624ae728552385 | [
"MIT"
] | 16 | 2021-11-12T12:42:04.000Z | 2022-03-30T07:56:39.000Z | Assets/Game/Scripts/UI/SettingsUIControl.lua | imengyu/Ballance | 3975238876ce7095eb5592d49a624ae728552385 | [
"MIT"
] | null | null | null | Assets/Game/Scripts/UI/SettingsUIControl.lua | imengyu/Ballance | 3975238876ce7095eb5592d49a624ae728552385 | [
"MIT"
] | 1 | 2022-03-18T04:42:49.000Z | 2022-03-18T04:42:49.000Z | local GameManager = Ballance2.Services.GameManager
local GameUIManager = GameManager.GetSystemService('GameUIManager') ---@type GameUIManager
local GameSettingsManager = Ballance2.Services.GameSettingsManager
local I18NProvider = Ballance2.Services.I18N.I18NProvider
local I18N = Ballance2.Services.I18N.I18N
local Scre... | 43.166008 | 143 | 0.758172 |
40900f28ebaf71116ae0ccbf0122ba3a47617243 | 717 | rb | Ruby | tools/ruby/lib/ruby/gems/1.9.1/gems/albacore-0.2.7/lib/albacore/ndepend.rb | bvsoftware/stripe.net | c07c7c927b5b488f9e677464f74b8b3625d50099 | [
"Apache-2.0"
] | 33 | 2015-01-05T17:37:24.000Z | 2021-07-07T13:39:11.000Z | tools/ruby/lib/ruby/gems/1.9.1/gems/albacore-0.2.7/lib/albacore/ndepend.rb | bvsoftware/stripe.net | c07c7c927b5b488f9e677464f74b8b3625d50099 | [
"Apache-2.0"
] | 3 | 2015-10-02T14:09:56.000Z | 2021-05-06T15:57:02.000Z | tools/ruby/lib/ruby/gems/1.9.1/gems/albacore-0.2.7/lib/albacore/ndepend.rb | bvsoftware/stripe.net | c07c7c927b5b488f9e677464f74b8b3625d50099 | [
"Apache-2.0"
] | 12 | 2015-02-26T15:48:00.000Z | 2022-01-14T07:03:37.000Z | require 'albacore/albacoretask'
class NDepend
include Albacore::Task
include Albacore::RunCommand
attr_accessor :project_file
def initialize()
super()
update_attributes Albacore.configuration.ndepend.to_hash
end
def execute
return unless check_command
result = run_command @command, cre... | 21.088235 | 64 | 0.737796 |
2f578880e435219877337a6b7a5b5606a8f9e9ca | 12,482 | js | JavaScript | src/views/ARView.js | schulterklopfer/satoshigo | d146849da250b759a241978f2c00bba1eb27e8f5 | [
"MIT"
] | null | null | null | src/views/ARView.js | schulterklopfer/satoshigo | d146849da250b759a241978f2c00bba1eb27e8f5 | [
"MIT"
] | null | null | null | src/views/ARView.js | schulterklopfer/satoshigo | d146849da250b759a241978f2c00bba1eb27e8f5 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2021 schulterklopfer/__escapee__
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to... | 30.443902 | 83 | 0.577632 |
0be525384090ad0ad14283365f4584dc2e84c117 | 639 | dart | Dart | mod-main/client/lib/core/shared_repositories/user_need_repository.dart | winwisely111/packages | 590445202c457a87ed68fd383712df319426cc05 | [
"Unlicense"
] | 11 | 2020-02-07T20:20:19.000Z | 2020-09-11T19:34:10.000Z | mod-main/client/lib/core/shared_repositories/user_need_repository.dart | winwisely111/packages | 590445202c457a87ed68fd383712df319426cc05 | [
"Unlicense"
] | 371 | 2020-01-10T11:26:03.000Z | 2020-09-28T07:18:55.000Z | mod-main/client/lib/core/shared_repositories/user_need_repository.dart | winwisely111/packages | 590445202c457a87ed68fd383712df319426cc05 | [
"Unlicense"
] | 36 | 2020-01-20T07:30:04.000Z | 2020-09-21T14:19:54.000Z | import 'package:mod_main/modules/user_needs/data/user_need_model.dart';
import 'package:mod_main/core/shared_repositories/base_repository.dart';
class UserNeedRepository extends BaseRepository {
List<UserNeed> getAll() {
// Might look something like this
// this.getConnection().query("SELECT * FROM xorgs");
... | 27.782609 | 82 | 0.70892 |
e27ac5aceaa0567ccbed2dd8710053b57ed5b9e0 | 64,510 | py | Python | pylurk/performance_tests/tests.py | mglt/pylurk | 022ede1af666aeeb62c0c73a9e67aac9e43b5064 | [
"BSD-3-Clause"
] | 1 | 2018-06-18T02:33:55.000Z | 2018-06-18T02:33:55.000Z | pylurk/performance_tests/tests.py | mglt/pylurk | 022ede1af666aeeb62c0c73a9e67aac9e43b5064 | [
"BSD-3-Clause"
] | null | null | null | pylurk/performance_tests/tests.py | mglt/pylurk | 022ede1af666aeeb62c0c73a9e67aac9e43b5064 | [
"BSD-3-Clause"
] | null | null | null | from os.path import join
import pkg_resources
from pylurk.performance_tests.performance_utils import latency_test, cpu_overhead_test, get_RTT
from copy import deepcopy
def authentication_methods_test (sheet_name, excel_file, graph_path, thread, request_nb, set_nb):
'''
This method performs some latency tests ... | 49.623077 | 272 | 0.519749 |
3fc9d01ef589a4388c23481771e481976e984ffa | 347 | rb | Ruby | lib/hoze/interface/source.rb | pluce/hoze | 282e1add1ab9a26d93ab73d5b940f26898eccf0b | [
"MIT"
] | 1 | 2018-03-08T17:15:57.000Z | 2018-03-08T17:15:57.000Z | lib/hoze/interface/source.rb | pluce/hoze | 282e1add1ab9a26d93ab73d5b940f26898eccf0b | [
"MIT"
] | null | null | null | lib/hoze/interface/source.rb | pluce/hoze | 282e1add1ab9a26d93ab73d5b940f26898eccf0b | [
"MIT"
] | null | null | null | module Hoze
class Source
attr_reader :engine, :channel, :key
def listen &block
raise NotImplementedError.new("This source implementation doesn't support listen method.")
end
def push payload, metadata
raise NotImplementedError.new("This source implementation doesn't support push method... | 20.411765 | 96 | 0.708934 |
57eb958bb28bcc82582c7aaea2876cbbdbae7fe7 | 1,516 | php | PHP | resources/views/welcome.blade copy.php | urufudev/Asistencia-DREA | eaf0abf904b18c051afcdef7358e07fbc3d956e6 | [
"Apache-2.0"
] | null | null | null | resources/views/welcome.blade copy.php | urufudev/Asistencia-DREA | eaf0abf904b18c051afcdef7358e07fbc3d956e6 | [
"Apache-2.0"
] | null | null | null | resources/views/welcome.blade copy.php | urufudev/Asistencia-DREA | eaf0abf904b18c051afcdef7358e07fbc3d956e6 | [
"Apache-2.0"
] | null | null | null | @extends('layouts.fullLayoutMaster')
{{-- page title --}}
@section('title','Inicio')
{{-- page scripts --}}
@section('page-styles')
<link rel="stylesheet" type="text/css" href="{{asset('css/pages/coming-soon.css')}}">
@endsection
@section('content')
<!-- coming soon start -->
<section>
<div class="row flexbox-conta... | 34.454545 | 133 | 0.610818 |
db8000e64171d11cf30de411be979638ff80cf1d | 6,153 | php | PHP | resources/views/layouts/master.blade.php | Zuhaily98/third-day-sam | 4f990687d0a73b5c5b9b8ca0e5806541c823f4c9 | [
"MIT"
] | null | null | null | resources/views/layouts/master.blade.php | Zuhaily98/third-day-sam | 4f990687d0a73b5c5b9b8ca0e5806541c823f4c9 | [
"MIT"
] | 2 | 2021-03-09T23:40:24.000Z | 2021-05-10T19:45:42.000Z | resources/views/layouts/master.blade.php | Zuhaily98/third-day-sam | 4f990687d0a73b5c5b9b8ca0e5806541c823f4c9 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<!-- Scri... | 33.440217 | 226 | 0.488705 |
b72c49bbcc2a22a127cf42767f4da4fe2721c2c3 | 7,430 | sql | SQL | awa/db/sqlite/awa-sqlite.sql | fuzzysloth/ada-awa | f9b921eeea29841667a028f2fc4528e4385d247a | [
"Apache-2.0"
] | null | null | null | awa/db/sqlite/awa-sqlite.sql | fuzzysloth/ada-awa | f9b921eeea29841667a028f2fc4528e4385d247a | [
"Apache-2.0"
] | null | null | null | awa/db/sqlite/awa-sqlite.sql | fuzzysloth/ada-awa | f9b921eeea29841667a028f2fc4528e4385d247a | [
"Apache-2.0"
] | null | null | null | /* File generated automatically by dynamo */
/* */
CREATE TABLE awa_message (
/* the message identifier */
`id` BIGINT NOT NULL,
/* the message creation date */
`create_date` DATETIME NOT NULL,
/* the message priority */
`priority` INTEGER NOT NULL,
/* the message count */
`count` INTEGER NOT NULL,
/... | 30.829876 | 103 | 0.671736 |
ed7b7e1f42e672999a713540ef53cdcf4e7eb7a1 | 407 | sql | SQL | SQL Study/Study_SQL_7.sql | UPRMG/Study-Python | e327c770fec2c008794348293225c71069caf430 | [
"MIT"
] | null | null | null | SQL Study/Study_SQL_7.sql | UPRMG/Study-Python | e327c770fec2c008794348293225c71069caf430 | [
"MIT"
] | null | null | null | SQL Study/Study_SQL_7.sql | UPRMG/Study-Python | e327c770fec2c008794348293225c71069caf430 | [
"MIT"
] | null | null | null |
-- gnp 평균보다 높고 낮은 기준을 구분하고, 과거 gnp대비 성장률 기준으로 내림차순 정렬 후 기대수명 70 이상의 국가 추출
select code,
name,
continent,
population,
gnp,
case when gnp > (select avg(gnp) from country) then 'upper_avg'
when gnp < (select avg(gnp) from country) then 'lower_avg'
end avg,
IFNULL((gnp-gnpold)/gnpold*100, 0) ... | 19.380952 | 73 | 0.678133 |
8ac4d9b64ca802ee7d532745c2eccb18966aa6ea | 3,377 | swift | Swift | KarhooUISDK/Common/DropDownButton.swift | karhoo/karhoo-ios-ui-sdk | fb4137f965f937d5d2a85300759212c2c02762c1 | [
"BSD-2-Clause"
] | 24 | 2020-06-30T13:56:39.000Z | 2022-02-07T15:22:35.000Z | KarhooUISDK/Common/DropDownButton.swift | karhoo/karhoo-ios-ui-sdk | fb4137f965f937d5d2a85300759212c2c02762c1 | [
"BSD-2-Clause"
] | 14 | 2020-07-06T23:22:05.000Z | 2022-01-13T20:09:12.000Z | KarhooUISDK/Common/DropDownButton.swift | karhoo/karhoo-ios-ui-sdk | fb4137f965f937d5d2a85300759212c2c02762c1 | [
"BSD-2-Clause"
] | 2 | 2021-09-30T17:25:17.000Z | 2022-03-24T04:54:57.000Z | //
// DropDownButton.swift
// TripVIew
//
//
// Copyright © 2020 Karhoo. All rights reserved.
//
import UIKit
public protocol DropDownButtonDelegate: class {
func buttonTapped(_ value: Bool)
}
public struct KHDropDownButtonID {
public static let buttonTitle = "title"
public static let dropDownImage = ... | 34.814433 | 106 | 0.660646 |
748aa6afccfd8db787711d7eacbd8f6247ef072c | 2,191 | css | CSS | web/css/translate.css | overals/yii2-translate-panel | 6d763211f17be8ddcfa07eda35beea334299255e | [
"MIT"
] | 29 | 2015-03-08T09:18:52.000Z | 2021-02-27T14:29:31.000Z | web/css/translate.css | overals/yii2-translate-panel | 6d763211f17be8ddcfa07eda35beea334299255e | [
"MIT"
] | 9 | 2015-03-24T11:49:12.000Z | 2017-12-07T10:04:42.000Z | web/css/translate.css | overals/yii2-translate-panel | 6d763211f17be8ddcfa07eda35beea334299255e | [
"MIT"
] | 21 | 2015-03-06T11:05:02.000Z | 2020-06-18T11:43:22.000Z | .text-align-center {
text-align: center !important; }
.font-weight-bold, .bold {
font-weight: bold !important; }
.margin-bottom-10px {
margin-bottom: 10px !important; }
.nowrap {
white-space: nowrap !important; }
a,
a:active,
a:visited,
a:link,
a:focus,
a:hover,
input[type="button"],
input[type="submit"... | 27.3875 | 62 | 0.671383 |
11e8e6c25f9a79da3d59de0f1ee690b0dcb28218 | 2,258 | sql | SQL | ansible/backendsimulator/schema.sql | bnadland/cachepusher | a31e50c33fc72fb01a883c8b43b6a7e70a850620 | [
"MIT"
] | null | null | null | ansible/backendsimulator/schema.sql | bnadland/cachepusher | a31e50c33fc72fb01a883c8b43b6a7e70a850620 | [
"MIT"
] | null | null | null | ansible/backendsimulator/schema.sql | bnadland/cachepusher | a31e50c33fc72fb01a883c8b43b6a7e70a850620 | [
"MIT"
] | null | null | null | -- TABLES
create table if not exists customer (
id_customer serial primary key,
name text,
touched timestamp default clock_timestamp()
);
create table if not exists address (
id_address serial primary key,
description text,
fk_customer int references customer
);
--
drop type if exists customer... | 26.564706 | 135 | 0.728521 |
e72fc5097e39991fbb02f745b776bd875cf75ee3 | 42,421 | php | PHP | vendor/civicrm/civicrm-core/tests/phpunit/api/v3/MailingTest.php | jdelon02/civicead8 | 75d4841b571e6ed987ce896bbc14974b4ff0d657 | [
"MIT"
] | null | null | null | vendor/civicrm/civicrm-core/tests/phpunit/api/v3/MailingTest.php | jdelon02/civicead8 | 75d4841b571e6ed987ce896bbc14974b4ff0d657 | [
"MIT"
] | 5 | 2019-10-01T00:47:20.000Z | 2021-09-02T15:46:32.000Z | vendor/civicrm/civicrm-core/tests/phpunit/api/v3/MailingTest.php | jdelon02/civicead8 | 75d4841b571e6ed987ce896bbc14974b4ff0d657 | [
"MIT"
] | 1 | 2019-10-05T09:59:34.000Z | 2019-10-05T09:59:34.000Z | <?php
/*
* File for the TestMailing class
*
* (PHP 5)
*
* @package CiviCRM
*
* This file is part of CiviCRM
*
* CiviCRM is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation; either ve... | 41.346004 | 418 | 0.638363 |
cf87c5c1246269f97764de375a2100284517bff2 | 450 | kt | Kotlin | app/src/main/java/com/example/android/recipeapp/BindingAdapters.kt | TymJanek/recipe_temp | 6762eb34bf04760d3343c34b1e490df785e14bc8 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/android/recipeapp/BindingAdapters.kt | TymJanek/recipe_temp | 6762eb34bf04760d3343c34b1e490df785e14bc8 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/android/recipeapp/BindingAdapters.kt | TymJanek/recipe_temp | 6762eb34bf04760d3343c34b1e490df785e14bc8 | [
"Apache-2.0"
] | null | null | null | package com.example.android.recipeapp
import androidx.databinding.BindingAdapter
import androidx.recyclerview.widget.RecyclerView
import com.example.android.recipeapp.network.RecipeProperty
import com.example.android.recipeapp.overview.RecipeAdapter
@BindingAdapter("listData")
fun bindRecyclerView(recyclerView: Recy... | 28.125 | 79 | 0.831111 |
3f662929472e883e4ecb7f075b73fb26cdc58f11 | 15,437 | rb | Ruby | lib/fudge_form_builder.rb | astashov/fudge_form | ba0b8cbbf952623fdb7831e26b7fd95d76b7efa4 | [
"MIT"
] | 1 | 2016-05-08T17:16:18.000Z | 2016-05-08T17:16:18.000Z | lib/fudge_form_builder.rb | astashov/fudge_form | ba0b8cbbf952623fdb7831e26b7fd95d76b7efa4 | [
"MIT"
] | null | null | null | lib/fudge_form_builder.rb | astashov/fudge_form | ba0b8cbbf952623fdb7831e26b7fd95d76b7efa4 | [
"MIT"
] | null | null | null | class FudgeFormBuilder < ActionView::Helpers::FormBuilder
include FudgeFormHelper
include ActionView::Helpers::TagHelper
include ActionView::Helpers::FormTagHelper
def field_settings(method, options = {}, tag_value = nil)
field_name = "#{sanitized_object_name}_#{method.to_s}"
default_label = tag_val... | 39.992228 | 186 | 0.666969 |
58111d838fdcdbe09c64e319504d2c48a0c904f6 | 140 | css | CSS | src/app/components/parts/overlay-menu/overlay-menu.component.css | AndreHermanto/sgc-1 | aa60668a271d892239faa368f4e6b8c860482433 | [
"MIT"
] | 5 | 2017-07-10T01:36:19.000Z | 2021-03-23T11:39:16.000Z | src/app/components/parts/overlay-menu/overlay-menu.component.css | AndreHermanto/sgc-1 | aa60668a271d892239faa368f4e6b8c860482433 | [
"MIT"
] | 16 | 2017-05-01T04:42:44.000Z | 2019-01-22T16:12:54.000Z | src/app/components/parts/overlay-menu/overlay-menu.component.css | AndreHermanto/sgc-1 | aa60668a271d892239faa368f4e6b8c860482433 | [
"MIT"
] | 6 | 2017-06-26T09:13:48.000Z | 2018-12-03T16:54:58.000Z | .material-icons {
cursor: pointer;
}
.check {
color: rgb(64, 196, 255);
margin-left: 1rem;
}
span {
margin-right: 1rem;
}
| 10.769231 | 29 | 0.571429 |
edecea4cbbe54736ccfbdb205ef2cf21768e4b94 | 1,257 | sql | SQL | modules/hub/migrations/sqls/20190214202843-enable-threads-up.sql | SpankChain/indra | a88c702bed97013b2c50a0653695cb2d6c3f748b | [
"MIT"
] | null | null | null | modules/hub/migrations/sqls/20190214202843-enable-threads-up.sql | SpankChain/indra | a88c702bed97013b2c50a0653695cb2d6c3f748b | [
"MIT"
] | null | null | null | modules/hub/migrations/sqls/20190214202843-enable-threads-up.sql | SpankChain/indra | a88c702bed97013b2c50a0653695cb2d6c3f748b | [
"MIT"
] | null | null | null | /* Replace with your SQL commands */
create or replace function cm_channel_updates_pre_insert_update_trigger()
returns trigger language plpgsql as
$pgsql$
declare
has_corresponding_onchain_tx boolean;
channel cm_channels;
begin
-- Do not allow state updates when channel is in dispute... | 33.972973 | 122 | 0.579952 |
44843de8dc120c9942d1d7854767c9baf3c8ec56 | 3,812 | py | Python | idaes/util/update_workshop_materials.py | eyoung55/idaes-pse | 01a6d795d484155923baabcfc2878d5285b8c9b1 | [
"RSA-MD"
] | 112 | 2019-02-11T23:16:36.000Z | 2022-03-23T20:59:57.000Z | idaes/util/update_workshop_materials.py | eyoung55/idaes-pse | 01a6d795d484155923baabcfc2878d5285b8c9b1 | [
"RSA-MD"
] | 621 | 2019-03-01T14:44:12.000Z | 2022-03-31T19:49:25.000Z | idaes/util/update_workshop_materials.py | eyoung55/idaes-pse | 01a6d795d484155923baabcfc2878d5285b8c9b1 | [
"RSA-MD"
] | 154 | 2019-02-01T23:46:33.000Z | 2022-03-23T15:07:10.000Z | #################################################################################
# The Institute for the Design of Advanced Energy Systems Integrated Platform
# Framework (IDAES IP) was produced under the DOE Institute for the
# Design of Advanced Energy Systems (IDAES), and is copyright (c) 2018-2021
# by the softwar... | 42.355556 | 143 | 0.683893 |
e3a9709734400a415b36614c0b131d637285bd0a | 654 | rb | Ruby | attributes/database.rb | FlyNYCMeter/zabbix | 78e6336eea383db42acea10cde4449c6a43560fc | [
"Apache-2.0"
] | null | null | null | attributes/database.rb | FlyNYCMeter/zabbix | 78e6336eea383db42acea10cde4449c6a43560fc | [
"Apache-2.0"
] | null | null | null | attributes/database.rb | FlyNYCMeter/zabbix | 78e6336eea383db42acea10cde4449c6a43560fc | [
"Apache-2.0"
] | null | null | null | default['zabbix']['database']['install_method'] = "mysql"
default['zabbix']['database']['dbname'] = "zabbix"
default['zabbix']['database']['dbuser'] = "zabbix"
default['zabbix']['database']['dbhost'] = "localhost"
default['zabbix']['database']['dbpassword'] = nil
default[... | 46.714286 | 65 | 0.619266 |
3f2468dd87fdfb0718ffe1d7f3dc5108ebc19614 | 3,026 | php | PHP | app/sites/all/modules/expire/expire.api.php | primowebsolutions/drupal7-platform-v2 | 30d02575b1874ac352f1f3d677c322cedde9b25f | [
"Apache-2.0"
] | null | null | null | app/sites/all/modules/expire/expire.api.php | primowebsolutions/drupal7-platform-v2 | 30d02575b1874ac352f1f3d677c322cedde9b25f | [
"Apache-2.0"
] | null | null | null | app/sites/all/modules/expire/expire.api.php | primowebsolutions/drupal7-platform-v2 | 30d02575b1874ac352f1f3d677c322cedde9b25f | [
"Apache-2.0"
] | null | null | null | <?php
/**
* @file
* API documentation for Cache Expiration module.
*/
/**
* Provides possibility to flush pages for external cache storages.
*
* @param $urls
* List of internal paths and/or absolute URLs that should be flushed.
*
* Example of array (when base url include option is enabled):
* array(
... | 26.778761 | 88 | 0.61996 |
fa8cab7d2db90b6c1d432127901d174625e5eb3e | 362 | hh | C++ | fields/versionchecker.hh | 45G/libsocks6msg | 73b778bfe8efb2c311520617debdfbadf10b6d88 | [
"MIT"
] | 2 | 2020-08-18T11:20:21.000Z | 2022-03-08T23:49:02.000Z | fields/versionchecker.hh | 45G/libsocks6msg | 73b778bfe8efb2c311520617debdfbadf10b6d88 | [
"MIT"
] | null | null | null | fields/versionchecker.hh | 45G/libsocks6msg | 73b778bfe8efb2c311520617debdfbadf10b6d88 | [
"MIT"
] | null | null | null | #ifndef SOCKS6MSG_VERSIONCHECKER_HH
#define SOCKS6MSG_VERSIONCHECKER_HH
#include "bytebuffer.hh"
namespace S6M
{
template <uint8_t VER>
struct VersionChecker
{
VersionChecker() {}
VersionChecker(ByteBuffer *bb)
{
uint8_t *ver = bb->peek<uint8_t>();
if (*ver != VER)
throw BadVersionException(*ver);
}
};
... | 14.48 | 37 | 0.732044 |
a34a5b07012b890773c684bc8f897b4d27bd9705 | 254 | java | Java | src/main/java/com/zoomdata/connector/example/framework/provider/serverdescription/connectionparameters/IConnectionParameterBuilder.java | awhipp/edc-cratedb | e16efa445023b0eda1c7139d13d02ca0e33c282c | [
"Apache-2.0"
] | null | null | null | src/main/java/com/zoomdata/connector/example/framework/provider/serverdescription/connectionparameters/IConnectionParameterBuilder.java | awhipp/edc-cratedb | e16efa445023b0eda1c7139d13d02ca0e33c282c | [
"Apache-2.0"
] | null | null | null | src/main/java/com/zoomdata/connector/example/framework/provider/serverdescription/connectionparameters/IConnectionParameterBuilder.java | awhipp/edc-cratedb | e16efa445023b0eda1c7139d13d02ca0e33c282c | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) Zoomdata, Inc. 2012-2017. All rights reserved.
*/
package com.zoomdata.connector.example.framework.provider.serverdescription.connectionparameters;
public interface IConnectionParameterBuilder {
IConnectionParameter build();
}
| 28.222222 | 97 | 0.791339 |
2cab716c6eb6f1e177772976dc841140e2d22180 | 5,519 | py | Python | tests/vultr/vultr_spec_tests.py | germfue/vps-tools | 90fa39403be747b6ec73697064a58bab8d575526 | [
"BSD-3-Clause"
] | null | null | null | tests/vultr/vultr_spec_tests.py | germfue/vps-tools | 90fa39403be747b6ec73697064a58bab8d575526 | [
"BSD-3-Clause"
] | null | null | null | tests/vultr/vultr_spec_tests.py | germfue/vps-tools | 90fa39403be747b6ec73697064a58bab8d575526 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2016, Germán Fuentes Capella <development@fuentescapella.com>
# BSD 3-Clause License
#
# Copyright (c) 2017, Germán Fuentes Capella
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the follo... | 40.580882 | 99 | 0.689436 |
ed0a5cde9085ea4ca42829eb91ff762116e8176a | 2,093 | h | C | src/fdb5/api/local/DumpVisitor.h | dvuckovic/fdb | c529bf5293d1f5e33048b1b12e7fdfbf4d7448b2 | [
"Apache-2.0"
] | 5 | 2020-01-03T10:23:05.000Z | 2021-10-21T12:52:47.000Z | src/fdb5/api/local/DumpVisitor.h | dvuckovic/fdb | c529bf5293d1f5e33048b1b12e7fdfbf4d7448b2 | [
"Apache-2.0"
] | null | null | null | src/fdb5/api/local/DumpVisitor.h | dvuckovic/fdb | c529bf5293d1f5e33048b1b12e7fdfbf4d7448b2 | [
"Apache-2.0"
] | 1 | 2021-07-08T16:26:06.000Z | 2021-07-08T16:26:06.000Z | /*
* (C) Copyright 2018- ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an interg... | 29.9 | 120 | 0.634018 |
a486eb8f8f3afe0bd7903cfdd3a9acb90730dde7 | 2,513 | php | PHP | app/controllers/BaseController.php | maaaark/visionward | 19d34dbe65e188bc9b32c819c9d5f8a996f448f2 | [
"MIT"
] | null | null | null | app/controllers/BaseController.php | maaaark/visionward | 19d34dbe65e188bc9b32c819c9d5f8a996f448f2 | [
"MIT"
] | null | null | null | app/controllers/BaseController.php | maaaark/visionward | 19d34dbe65e188bc9b32c819c9d5f8a996f448f2 | [
"MIT"
] | null | null | null | <?php
class BaseController extends Controller {
public function __construct()
{
//$settings = Setting::all();
$last_posts = Post::where("published", "=", 1)->orderBy("created_at", "DESC")->limit(3)->get();
$matches = Match::orderBy("game_date", "DESC")->limit(3)->get();
$champion_sales = Champion::or... | 28.556818 | 97 | 0.628333 |
053b6a0157fcae2300a3d144451810c0d2898257 | 66 | rb | Ruby | spec/test.rb | GeoffWilliams/pe_rbac | 24edbc05ad4987a5e584a0fcb6cbc51c986adae1 | [
"Apache-2.0"
] | null | null | null | spec/test.rb | GeoffWilliams/pe_rbac | 24edbc05ad4987a5e584a0fcb6cbc51c986adae1 | [
"Apache-2.0"
] | 4 | 2016-11-16T07:41:46.000Z | 2017-05-31T01:11:07.000Z | spec/test.rb | GeoffWilliams/pe_rbac | 24edbc05ad4987a5e584a0fcb6cbc51c986adae1 | [
"Apache-2.0"
] | 1 | 2019-05-28T21:43:44.000Z | 2019-05-28T21:43:44.000Z | require './spec/fake_rbac_service'
FakeRbacService::WEBrick.run!
| 16.5 | 34 | 0.80303 |
a3ab71be694053484e28ec2a6a48544b6d2b0fc2 | 1,732 | java | Java | sample/src/main/java/com/polidea/rxandroidble2/sample/util/HttpUtil.java | pengyuu/RxAndroidBleDemo | 8b7204dd2445156fd4d5027520664f9b9da99821 | [
"Apache-2.0"
] | null | null | null | sample/src/main/java/com/polidea/rxandroidble2/sample/util/HttpUtil.java | pengyuu/RxAndroidBleDemo | 8b7204dd2445156fd4d5027520664f9b9da99821 | [
"Apache-2.0"
] | null | null | null | sample/src/main/java/com/polidea/rxandroidble2/sample/util/HttpUtil.java | pengyuu/RxAndroidBleDemo | 8b7204dd2445156fd4d5027520664f9b9da99821 | [
"Apache-2.0"
] | 1 | 2021-08-23T12:39:12.000Z | 2021-08-23T12:39:12.000Z | package com.polidea.rxandroidble2.sample.util;
import java.io.File;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import okhttp3.Call;
import okhttp3.Callback;
import okhttp3.MediaType;
import okhttp3.MultipartBody;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
i... | 30.928571 | 101 | 0.624711 |
20df97bf758a03b280cd2047969ce3f9fafc64de | 468 | py | Python | Python/network/server_basic/example01_http.py | sug5806/TIL | 2309d8a270e4a7b8961268a40b6492c5db317e37 | [
"MIT"
] | null | null | null | Python/network/server_basic/example01_http.py | sug5806/TIL | 2309d8a270e4a7b8961268a40b6492c5db317e37 | [
"MIT"
] | 102 | 2020-02-12T00:10:33.000Z | 2022-03-11T23:58:41.000Z | Python/network/server_basic/example01_http.py | sug5806/TIL | 2309d8a270e4a7b8961268a40b6492c5db317e37 | [
"MIT"
] | null | null | null | import http.server
import socketserver
# 서버에 접속하는 포트
PORT = 8000
# 요청이 들어오면 어느 객체가 요청을 해석하고 처리할것이냐?
# Ex) 수리기사를 부르는 개념
# 현재 디렉토리와 하위의 파일을 제공하고 디렉토리 구조를 HTTP 요청에 직접 매핑함
Handler = http.server.SimpleHTTPRequestHandler
# ""으로 하면 localhost(127.0.0.1)이다"
with socketserver.TCPServer(("", PORT), Handler) as httpd:
prin... | 24.631579 | 58 | 0.720085 |
ed4eec4be83bc803a9ae6bd3aa91ed935c444164 | 518 | c | C | game.c | Knowledge-soda/Polluting-Lakes | 932c174e48ba9c07ed26f42ad9dc12a7a91832fb | [
"BSD-3-Clause"
] | null | null | null | game.c | Knowledge-soda/Polluting-Lakes | 932c174e48ba9c07ed26f42ad9dc12a7a91832fb | [
"BSD-3-Clause"
] | null | null | null | game.c | Knowledge-soda/Polluting-Lakes | 932c174e48ba9c07ed26f42ad9dc12a7a91832fb | [
"BSD-3-Clause"
] | null | null | null | #include<stdlib.h>
#include<stdio.h>
#include"game.h"
#include"outer.h"
#include"main.h"
int main(int argc, char **argv){
Game *game;
game = malloc(sizeof(Game));
if (init(game)){
fprintf(stderr, "Init Error, SDL: %s\n", SDL_GetError());
return 1;
}
if(loop(game)){
fprintf(... | 20.72 | 65 | 0.554054 |
8516a2cb971a3332dd00936c7b11254db8b82b11 | 382 | cs | C# | samples/Sample.Forms/Samples/ViewModels/MainViewModel.cs | Opti-Q/XamarinSignaturePad | f5cd03c6a95388f0c5da82d485fa41dd5c66e2ef | [
"MIT"
] | null | null | null | samples/Sample.Forms/Samples/ViewModels/MainViewModel.cs | Opti-Q/XamarinSignaturePad | f5cd03c6a95388f0c5da82d485fa41dd5c66e2ef | [
"MIT"
] | null | null | null | samples/Sample.Forms/Samples/ViewModels/MainViewModel.cs | Opti-Q/XamarinSignaturePad | f5cd03c6a95388f0c5da82d485fa41dd5c66e2ef | [
"MIT"
] | null | null | null | using System.Windows.Input;
using Xamarin.Forms;
namespace Samples.ViewModels
{
public class MainViewModel : BaseViewModel
{
public ICommand DataBindingCommand { get; } = new Command(() => App.NavigateTo<SignaturePadConfigViewModel>());
public ICommand XamlCodeBehindCommand { get; } = new Com... | 29.384615 | 119 | 0.709424 |
05d3c25d8462489a12842df536805333299f2c7a | 378 | rs | Rust | src/ml_sumcheck/protocol/mod.rs | ValarDragon/sumcheck | 9d90582d9a77057052a776dbc642e57ded69c5b2 | [
"Apache-2.0",
"MIT"
] | 10 | 2021-02-09T20:15:42.000Z | 2021-12-20T15:22:46.000Z | src/ml_sumcheck/protocol/mod.rs | ValarDragon/sumcheck | 9d90582d9a77057052a776dbc642e57ded69c5b2 | [
"Apache-2.0",
"MIT"
] | 8 | 2021-02-12T06:52:31.000Z | 2021-10-06T06:06:33.000Z | src/ml_sumcheck/protocol/mod.rs | ValarDragon/sumcheck | 9d90582d9a77057052a776dbc642e57ded69c5b2 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-03-27T19:29:49.000Z | 2021-06-06T23:58:33.000Z | //! Interactive Proof Protocol used for Multilinear Sumcheck
use ark_ff::Field;
use ark_std::marker::PhantomData;
pub mod prover;
pub mod verifier;
pub use crate::ml_sumcheck::data_structures::{ListOfProductsOfPolynomials, PolynomialInfo};
/// Interactive Proof for Multilinear Sumcheck
pub struct IPForMLSumcheck<F: F... | 27 | 91 | 0.769841 |
a37ed3533a2409e9ac66c28978122a5ae10be49f | 13,556 | java | Java | ModuleB/src/main/java/letuizu/com/moduleb/activity/SkinActivity.java | sun529417168/Letuizu | f66551b8364e6b7972c92cd9688f699753f7afa0 | [
"MIT"
] | null | null | null | ModuleB/src/main/java/letuizu/com/moduleb/activity/SkinActivity.java | sun529417168/Letuizu | f66551b8364e6b7972c92cd9688f699753f7afa0 | [
"MIT"
] | null | null | null | ModuleB/src/main/java/letuizu/com/moduleb/activity/SkinActivity.java | sun529417168/Letuizu | f66551b8364e6b7972c92cd9688f699753f7afa0 | [
"MIT"
] | null | null | null | package letuizu.com.moduleb.activity;
import android.content.res.Configuration;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager;
import and... | 42.3625 | 149 | 0.629463 |
3bdec1cdabf7dfb2ade82575e1a616529a9bcd7c | 136,577 | sql | SQL | sql/a4ta8l.sql | alaaloaa/48l | 93e572bef0ce2f2522ae97eca6d1fbff35d0858a | [
"MIT"
] | null | null | null | sql/a4ta8l.sql | alaaloaa/48l | 93e572bef0ce2f2522ae97eca6d1fbff35d0858a | [
"MIT"
] | null | null | null | sql/a4ta8l.sql | alaaloaa/48l | 93e572bef0ce2f2522ae97eca6d1fbff35d0858a | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.6.5.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 09, 2018 at 07:45 PM
-- Server version: 10.1.21-MariaDB
-- PHP Version: 7.1.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET... | 66.331714 | 585 | 0.66911 |
0ae18eca419327f439c6453cdcf0d64875868510 | 318 | cs | C# | Libraries/Invenio.Core/Domain/Criterias/Criteria.cs | ipetk0v/InvenioReportingSystem | 1bcaedb249eb115c3474528d532ba0c2636506af | [
"MIT"
] | null | null | null | Libraries/Invenio.Core/Domain/Criterias/Criteria.cs | ipetk0v/InvenioReportingSystem | 1bcaedb249eb115c3474528d532ba0c2636506af | [
"MIT"
] | null | null | null | Libraries/Invenio.Core/Domain/Criterias/Criteria.cs | ipetk0v/InvenioReportingSystem | 1bcaedb249eb115c3474528d532ba0c2636506af | [
"MIT"
] | null | null | null | using Invenio.Core.Domain.Orders;
namespace Invenio.Core.Domain.Criterias
{
public class Criteria : BaseEntity
{
public string Description { get; set; }
public int OrderId { get; set; }
public Order Order { get; set; }
public CriteriaType CriteriaType { get; set; }
}
}
| 21.2 | 54 | 0.632075 |
f456d02792357b824902dff01efb1d96750c0513 | 4,038 | ts | TypeScript | src/history.ts | gregzanch/cram | 1be7cda92bafc1324332529b1a676edbc391fc63 | [
"MIT"
] | 22 | 2020-07-18T16:47:55.000Z | 2022-03-14T09:26:09.000Z | src/history.ts | gregzanch/cram | 1be7cda92bafc1324332529b1a676edbc391fc63 | [
"MIT"
] | 69 | 2021-01-08T08:57:56.000Z | 2022-03-26T02:14:35.000Z | src/history.ts | gregzanch/cram | 1be7cda92bafc1324332529b1a676edbc391fc63 | [
"MIT"
] | 2 | 2021-05-24T15:11:56.000Z | 2022-01-19T14:08:01.000Z | import { uuid } from 'uuidv4';
export interface Directions {
UNDO: "UNDO";
REDO: "REDO";
}
export interface MomentProps{
recallFunction: (direction?: keyof Directions, ...args) => void;
objectId: string;
category: string;
}
export class Moment {
uuid: string;
objectId: string;
category: string;
ti... | 22.943182 | 83 | 0.613175 |
25bee4222b92a658020655f6cdbd160c8984a99f | 161 | cs | C# | samples/core/Modeling/BulkConfiguration/Product.cs | meesaltena/EntityFramework.Docs | 1b1bb6add2e362b1206f5390ceed6fd7731308bc | [
"CC-BY-4.0",
"MIT"
] | 1 | 2022-01-05T05:48:25.000Z | 2022-01-05T05:48:25.000Z | samples/core/Modeling/BulkConfiguration/Product.cs | meesaltena/EntityFramework.Docs | 1b1bb6add2e362b1206f5390ceed6fd7731308bc | [
"CC-BY-4.0",
"MIT"
] | null | null | null | samples/core/Modeling/BulkConfiguration/Product.cs | meesaltena/EntityFramework.Docs | 1b1bb6add2e362b1206f5390ceed6fd7731308bc | [
"CC-BY-4.0",
"MIT"
] | null | null | null | namespace EFModeling.BulkConfiguration
{
public class Product
{
public int Id { get; set; }
public Currency Price { get; set; }
}
}
| 17.888889 | 43 | 0.596273 |
0a9f8143cdc027f943f81b98f7984ea62b30e4c4 | 631 | cs | C# | IndieGame/Assets/Scripts/Common/Permanentry/PermanentryCreater.cs | MSyun/IndieGame | 6a95b1866c437bface72dae6beabc7fe60b6ebc0 | [
"MIT"
] | null | null | null | IndieGame/Assets/Scripts/Common/Permanentry/PermanentryCreater.cs | MSyun/IndieGame | 6a95b1866c437bface72dae6beabc7fe60b6ebc0 | [
"MIT"
] | null | null | null | IndieGame/Assets/Scripts/Common/Permanentry/PermanentryCreater.cs | MSyun/IndieGame | 6a95b1866c437bface72dae6beabc7fe60b6ebc0 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MSyun.Common.Permanentry {
using UnityEngine.SceneManagement;
using Scene;
using Input;
public class PermanentryCreater : MonoBehaviour {
[SerializeField]
private InputType initializeInputType = InputType.System;
pri... | 22.535714 | 84 | 0.770206 |
1573f3bfea09e402997b495f423cdb4fb20b746c | 498 | rb | Ruby | app/mailers/user_mailer.rb | isorsa/rails-template | 5be2f89cd2f10685f270408f109275a88d0963fc | [
"MIT"
] | null | null | null | app/mailers/user_mailer.rb | isorsa/rails-template | 5be2f89cd2f10685f270408f109275a88d0963fc | [
"MIT"
] | null | null | null | app/mailers/user_mailer.rb | isorsa/rails-template | 5be2f89cd2f10685f270408f109275a88d0963fc | [
"MIT"
] | null | null | null | class UserMailer < ApplicationMailer
def email_confirmation
@user = params[:user]
mail(to: @user.email, subject: default_i18n_subject)
end
def forgot_password
@user = params[:user]
mail(to: @user.email, subject: default_i18n_subject)
end
def password_changed
@user = params[:user]
@ac... | 22.636364 | 56 | 0.686747 |
3852d7723af1bde415c10f8b78aacc8de3dbc4b7 | 1,079 | php | PHP | routes/api.php | abc123931/keiba_data_api | f8b16486eec4759406e64e567150922938288a02 | [
"MIT"
] | null | null | null | routes/api.php | abc123931/keiba_data_api | f8b16486eec4759406e64e567150922938288a02 | [
"MIT"
] | null | null | null | routes/api.php | abc123931/keiba_data_api | f8b16486eec4759406e64e567150922938288a02 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... | 33.71875 | 75 | 0.563485 |
b62782a0461b36113772fc8a3d690a4a4259af98 | 280 | rb | Ruby | spec/dummy/db/migrate/20140103191601_add_email_back_to_user.rb | G5/devise_g5_authenticatable | 0997fbf95e131afbf33af020e6e90e4097d4add2 | [
"MIT"
] | 2 | 2015-10-27T19:59:44.000Z | 2016-02-23T14:55:39.000Z | spec/dummy/db/migrate/20140103191601_add_email_back_to_user.rb | G5/devise_g5_authenticatable | 0997fbf95e131afbf33af020e6e90e4097d4add2 | [
"MIT"
] | 11 | 2015-01-08T19:26:09.000Z | 2019-10-30T15:20:39.000Z | spec/dummy/db/migrate/20140103191601_add_email_back_to_user.rb | G5/devise_g5_authenticatable | 0997fbf95e131afbf33af020e6e90e4097d4add2 | [
"MIT"
] | 3 | 2015-11-01T06:09:38.000Z | 2016-10-05T18:22:03.000Z | # frozen_string_literal: true
class AddEmailBackToUser < ActiveRecord::Migration[4.2]
def change
add_column :users, :email, :string,
null: false,
default: ''
add_index :users, :email, unique: true
end
end
| 25.454545 | 55 | 0.560714 |
a329a82c8f2ccbff38c116aeeff2eafb7f0efd18 | 2,454 | java | Java | flexmark-ext-toc/src/main/java/com/vladsch/flexmark/ext/toc/TocBlock.java | jvdvegt/flexmark-java | d4d18057f068fc522935c110a7dfc216ca4f52fc | [
"BSD-2-Clause"
] | null | null | null | flexmark-ext-toc/src/main/java/com/vladsch/flexmark/ext/toc/TocBlock.java | jvdvegt/flexmark-java | d4d18057f068fc522935c110a7dfc216ca4f52fc | [
"BSD-2-Clause"
] | 1 | 2019-03-01T11:10:33.000Z | 2019-03-04T08:19:08.000Z | flexmark-ext-toc/src/main/java/com/vladsch/flexmark/ext/toc/TocBlock.java | jvdvegt/flexmark-java | d4d18057f068fc522935c110a7dfc216ca4f52fc | [
"BSD-2-Clause"
] | null | null | null | package com.vladsch.flexmark.ext.toc;
import com.vladsch.flexmark.util.sequence.BasedSequence;
/**
* A TOC node
*/
public class TocBlock extends TocBlockBase {
protected BasedSequence openingMarker = BasedSequence.NULL;
protected BasedSequence tocKeyword = BasedSequence.NULL;
protected BasedSequence sty... | 33.162162 | 125 | 0.668297 |
388ac86bf3673467ad620f4cd04731585dd13d88 | 981 | php | PHP | assets/QaAsset.php | LitterPapmasa/qa.yii | 0f8cd7010cfd2a98595a55e58616fcef8ff4bc82 | [
"BSD-3-Clause"
] | null | null | null | assets/QaAsset.php | LitterPapmasa/qa.yii | 0f8cd7010cfd2a98595a55e58616fcef8ff4bc82 | [
"BSD-3-Clause"
] | null | null | null | assets/QaAsset.php | LitterPapmasa/qa.yii | 0f8cd7010cfd2a98595a55e58616fcef8ff4bc82 | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace app\assets;
use yii\web\AssetBundle;
/**
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class QaAsset extends AssetBundle
{
public $basePath = '... | 20.87234 | 77 | 0.615698 |
b0c4d4953970b9a057d89ec9ae6bd9458f2f551c | 915 | py | Python | account_report/config/account_report.py | dineshpanchal93/helpremove | 37e03e922645d52a7bc5d293fa936b0b82017715 | [
"MIT"
] | null | null | null | account_report/config/account_report.py | dineshpanchal93/helpremove | 37e03e922645d52a7bc5d293fa936b0b82017715 | [
"MIT"
] | null | null | null | account_report/config/account_report.py | dineshpanchal93/helpremove | 37e03e922645d52a7bc5d293fa936b0b82017715 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"label": _("Sanket"),
"items": [
{
"type": "doctype",
"name": "Test",
"description": _("For Test.")
},
{
"type": "doctype",
"name": "overtime",
"description": _("For Test.")
}
... | 16.636364 | 46 | 0.473224 |
6362913f2e1a0690259b4b5bdf4153120d4d3123 | 6,883 | sql | SQL | EMR/usr/share/nginx/html/interface/forms/ros/table.sql | chandanchowdhury/ISUCDC2017 | f6cb2ded82f45d8def30f28313157540cbf0cb6c | [
"Apache-2.0"
] | null | null | null | EMR/usr/share/nginx/html/interface/forms/ros/table.sql | chandanchowdhury/ISUCDC2017 | f6cb2ded82f45d8def30f28313157540cbf0cb6c | [
"Apache-2.0"
] | null | null | null | EMR/usr/share/nginx/html/interface/forms/ros/table.sql | chandanchowdhury/ISUCDC2017 | f6cb2ded82f45d8def30f28313157540cbf0cb6c | [
"Apache-2.0"
] | null | null | null | CREATE TABLE `form_ros` (
`id` int(11) NOT NULL auto_increment,
`pid` int(11) NOT NULL,
`activity` int(11) NOT NULL default '1',
`date` datetime default NULL,
`weight_change` varchar(3) NOT NULL default 'N/A',
`weakness` varchar(3) NOT NULL default 'N/A',
`fatigue` varchar(3) NOT NULL default 'N/A',
`anorexia` ... | 46.823129 | 58 | 0.690106 |
a322b88fb551bb800cb11c99ef6df9411fd0a297 | 5,336 | java | Java | src/main/java/com/janeli/pay/common/Common.java | janeli90/pay | 5bbba529f5024e783ce5ce8eb9d4ca2366c7f7d5 | [
"Apache-2.0"
] | 3 | 2019-06-13T07:11:02.000Z | 2020-02-26T07:35:53.000Z | src/main/java/com/janeli/pay/common/Common.java | janeli90/pay | 5bbba529f5024e783ce5ce8eb9d4ca2366c7f7d5 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/janeli/pay/common/Common.java | janeli90/pay | 5bbba529f5024e783ce5ce8eb9d4ca2366c7f7d5 | [
"Apache-2.0"
] | null | null | null | package com.janeli.pay.common;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.apache.http.client.config.RequestConfig;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
/**
* @author gaogang
* @ClassName: Common
* @Description: 公共类
* @date 201... | 31.388235 | 150 | 0.637369 |
5461065cbd8149c66050cdb6cc822a7d88ccec78 | 1,523 | rb | Ruby | hive_plot.rb | maxdemarzi/hive_plot | f53feeb88db2ba019cf99ac23d8ac4697a9d0cce | [
"MIT"
] | 2 | 2015-11-05T00:39:08.000Z | 2018-08-08T15:31:07.000Z | hive_plot.rb | maxdemarzi/hive_plot | f53feeb88db2ba019cf99ac23d8ac4697a9d0cce | [
"MIT"
] | null | null | null | hive_plot.rb | maxdemarzi/hive_plot | f53feeb88db2ba019cf99ac23d8ac4697a9d0cce | [
"MIT"
] | null | null | null | require 'rubygems'
require 'neography'
require 'sinatra'
require 'uri'
require 'json'
def wroterepos(language)
neo = Neography::Rest.new
neo.execute_script("m = [:]
g.V.filter{it.type == 'language' && it.name == '#{language}'}.in.transform{m[it.name] = it.in('wrote').gather{it.name}.next()}.i... | 30.46 | 159 | 0.573867 |
43fc0dbfb964b1e830995f47e2470952216d6b9a | 407 | ts | TypeScript | src/organisms/Carousel/carousel-types.ts | jemnon/woy | 634f80bba0e1b73706344a780b22441f4a140fa6 | [
"MIT"
] | null | null | null | src/organisms/Carousel/carousel-types.ts | jemnon/woy | 634f80bba0e1b73706344a780b22441f4a140fa6 | [
"MIT"
] | 3 | 2020-02-14T07:14:12.000Z | 2020-02-14T07:14:13.000Z | src/organisms/Carousel/carousel-types.ts | jemnon/woy | 634f80bba0e1b73706344a780b22441f4a140fa6 | [
"MIT"
] | null | null | null | export type Easing = 'ease' | 'ease-in-out' | 'ease-in' | 'ease-out' | 'linear';
export interface CarouselContentProps {
easing?: Easing;
transitionDuration?: string;
xPos?: number;
h?: number;
w?: number;
}
export interface CarouselDotProps {
isCurrent: boolean;
}
type Direction = 'left' | 'right';
exp... | 19.380952 | 80 | 0.690418 |
690959dd3373c582034c02673a488a884871a8a3 | 531 | rb | Ruby | spec/views/invite_requests/edit.html.haml_spec.rb | l85m/trym | 83f45ed65c52f21e138f1793d1d42ab5b4ec4206 | [
"MIT"
] | 1 | 2015-04-10T13:04:11.000Z | 2015-04-10T13:04:11.000Z | spec/views/invite_requests/edit.html.haml_spec.rb | demosophy/trym | 83f45ed65c52f21e138f1793d1d42ab5b4ec4206 | [
"MIT"
] | null | null | null | spec/views/invite_requests/edit.html.haml_spec.rb | demosophy/trym | 83f45ed65c52f21e138f1793d1d42ab5b4ec4206 | [
"MIT"
] | 1 | 2016-08-23T10:37:57.000Z | 2016-08-23T10:37:57.000Z | require 'spec_helper'
describe "invite_requests/edit" do
before(:each) do
@invite_request = assign(:invite_request, stub_model(InviteRequest,
:email => "MyString"
))
end
it "renders the edit invite_request form" do
render
# Run the generator again with the --webrat flag if you want to use... | 27.947368 | 93 | 0.709981 |
2fd9ee56fb59532b91081e841a1da3f8dc5e9a45 | 1,196 | py | Python | mycode/main.py | catsled/FCN_pytorch | 951a40acb1328e464014b1fb8b59e9bbc2a60371 | [
"MIT"
] | null | null | null | mycode/main.py | catsled/FCN_pytorch | 951a40acb1328e464014b1fb8b59e9bbc2a60371 | [
"MIT"
] | null | null | null | mycode/main.py | catsled/FCN_pytorch | 951a40acb1328e464014b1fb8b59e9bbc2a60371 | [
"MIT"
] | null | null | null | from utils.myloader import MyLoader
from utils.imageshow import func_showImage, func_rearrangeRGB
from models import FCNs
from config import *
from torch.utils.data import DataLoader
import torchvision.transforms as T
import torch.optim as optim
import torch.nn as nn
import torch
import matplotlib.pyplot as plt
tra... | 24.408163 | 98 | 0.661371 |
b08040596130c20ea8a477bfe18121e9774a62ef | 2,827 | py | Python | labby/cli/commands/device_info.py | luizribeiro/tdklambda | 94f0920da9eb2a58ef201864826b656158894dd6 | [
"MIT"
] | null | null | null | labby/cli/commands/device_info.py | luizribeiro/tdklambda | 94f0920da9eb2a58ef201864826b656158894dd6 | [
"MIT"
] | 99 | 2020-08-09T15:46:19.000Z | 2022-03-26T15:30:26.000Z | labby/cli/commands/device_info.py | luizribeiro/tdklambda | 94f0920da9eb2a58ef201864826b656158894dd6 | [
"MIT"
] | 1 | 2020-10-30T20:46:43.000Z | 2020-10-30T20:46:43.000Z | from typing import List, Tuple
from pyre_extensions import none_throws
from wasabi import color, msg, Printer
from labby.cli.core import BaseArgumentParser, Command
from labby.hw.core import DeviceType
from labby.hw.core.power_supply import PowerSupplyMode
from labby.server.requests.device_info import DeviceInfoRespo... | 32.125 | 87 | 0.60382 |
72136f7a93328612cc0c23788bbd0109399d5457 | 255 | swift | Swift | Candy/Classes/Modules/Video/Page/Model/VideoCategory.swift | InsectQY/Candy | 065a06be8457319f492b9397c668430a9eef12da | [
"Apache-2.0"
] | 56 | 2019-06-06T07:28:01.000Z | 2022-02-21T07:20:52.000Z | Candy/Classes/Modules/Video/Page/Model/VideoCategory.swift | InsectQY/Candy | 065a06be8457319f492b9397c668430a9eef12da | [
"Apache-2.0"
] | 4 | 2020-08-13T06:26:16.000Z | 2021-05-19T08:35:24.000Z | Candy/Classes/Modules/Video/Page/Model/VideoCategory.swift | InsectQY/Candy | 065a06be8457319f492b9397c668430a9eef12da | [
"Apache-2.0"
] | 12 | 2019-06-06T09:11:42.000Z | 2021-11-08T17:07:12.000Z | //
// VideoCategory.swift
// QYNews
//
// Created by Insect on 2018/12/5.
// Copyright © 2018 Insect. All rights reserved.
//
import Foundation
struct VideoCategory: Codable, Equatable {
let category: String
/// 分类名称
let name: String
}
| 15 | 49 | 0.662745 |
a8de0f2f56f9b7aea45a3ad9ca92083d173f778c | 2,157 | rs | Rust | src/dielectric.rs | dguenther/pathtracer | 6ca7cf9777abfa758f2b533d069cbb8f4161af47 | [
"MIT"
] | null | null | null | src/dielectric.rs | dguenther/pathtracer | 6ca7cf9777abfa758f2b533d069cbb8f4161af47 | [
"MIT"
] | null | null | null | src/dielectric.rs | dguenther/pathtracer | 6ca7cf9777abfa758f2b533d069cbb8f4161af47 | [
"MIT"
] | null | null | null | use crate::hit;
use crate::material;
use crate::ray;
use crate::vec3;
use rand::prelude::*;
#[derive(Clone)]
pub struct Dielectric {
pub ref_idx: f64,
}
fn schlick(cosine: f64, ref_idx: f64) -> f64 {
let mut r0 = (1.0 - ref_idx) / (1.0 + ref_idx);
r0 = r0*r0;
r0 + (1.0 - r0) * (1.0 - cosine).powi(5)
... | 29.547945 | 126 | 0.534539 |
ed8dbc9132847a0b6dc0a5a7a6b18758324dc042 | 1,581 | sql | SQL | db/angular.sql | chetan4651/angular-seed | f85fb81a8c218497d90c8ba3fba881ba10b59138 | [
"Apache-2.0"
] | null | null | null | db/angular.sql | chetan4651/angular-seed | f85fb81a8c218497d90c8ba3fba881ba10b59138 | [
"Apache-2.0"
] | null | null | null | db/angular.sql | chetan4651/angular-seed | f85fb81a8c218497d90c8ba3fba881ba10b59138 | [
"Apache-2.0"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.2.11
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Sep 02, 2016 at 02:27 PM
-- Server version: 5.6.21
-- PHP Version: 5.6.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
... | 23.25 | 67 | 0.671727 |
144e403a9cb1ea00a50a112bbe3d02a299b17339 | 321 | swift | Swift | Raiblocks/Extensions/Double+Extensions.swift | schenkty/nano-wallet-ios | 8d380c5b5d992396123645da888d27bf4b01048c | [
"BSD-2-Clause"
] | 41 | 2018-06-21T17:41:11.000Z | 2021-02-04T10:33:30.000Z | Raiblocks/Extensions/Double+Extensions.swift | schenkty/nano-wallet-ios | 8d380c5b5d992396123645da888d27bf4b01048c | [
"BSD-2-Clause"
] | 24 | 2018-06-21T19:58:54.000Z | 2020-10-12T15:32:50.000Z | Raiblocks/Extensions/Double+Extensions.swift | schenkty/nano-wallet-ios | 8d380c5b5d992396123645da888d27bf4b01048c | [
"BSD-2-Clause"
] | 27 | 2018-06-21T17:50:09.000Z | 2021-06-02T16:57:58.000Z | //
// Double+Extensions.swift
// Nano
//
// Created by Zack Shapiro on 2/25/18.
// Copyright © 2018 Nano Wallet Company. All rights reserved.
//
extension Double {
/// Turns 0.056 into 0.6 and 0.054 into 0.5
mutating func roundTo2f() -> Double {
return Double(Darwin.round(100 * self)/100)
}
}... | 18.882353 | 62 | 0.629283 |
b1abfa78e20a23514556803232c30e2f86d87a48 | 5,833 | py | Python | examples/contact_mesh_on_mesh/TwoBodyContact.py | btalamini/optimism | 023e1b2a0b137900a7517e4c7ac5056255cf7bbe | [
"MIT"
] | null | null | null | examples/contact_mesh_on_mesh/TwoBodyContact.py | btalamini/optimism | 023e1b2a0b137900a7517e4c7ac5056255cf7bbe | [
"MIT"
] | 1 | 2022-03-12T00:01:12.000Z | 2022-03-12T00:01:12.000Z | examples/contact_mesh_on_mesh/TwoBodyContact.py | btalamini/optimism | 023e1b2a0b137900a7517e4c7ac5056255cf7bbe | [
"MIT"
] | 3 | 2021-12-23T19:53:31.000Z | 2022-03-27T23:12:03.000Z | from matplotlib import pyplot as plt
from optimism.JaxConfig import *
from optimism import EquationSolver as EqSolver
from optimism import Mesh
from optimism import Mechanics
from optimism import FunctionSpace
from optimism.Mesh import EssentialBC
from optimism.Mesh import DofManager
from optimism import Objective
fr... | 37.876623 | 153 | 0.647694 |
eb9ecdb10a5e85ad63e88e342deb2040ad83dd0d | 1,646 | css | CSS | src/components/header/headerMB.module.css | iamAravindks/excelsior2021 | 8d51cab190c6514aa3c86c2dc1fd8fc78287589b | [
"RSA-MD"
] | null | null | null | src/components/header/headerMB.module.css | iamAravindks/excelsior2021 | 8d51cab190c6514aa3c86c2dc1fd8fc78287589b | [
"RSA-MD"
] | null | null | null | src/components/header/headerMB.module.css | iamAravindks/excelsior2021 | 8d51cab190c6514aa3c86c2dc1fd8fc78287589b | [
"RSA-MD"
] | 5 | 2021-05-29T18:49:40.000Z | 2021-06-10T11:11:07.000Z | .container {
background-color: #292929;
opacity: 0.9;
padding: 2rem 2rem 0 2rem;
height: 100%;
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.exLogoLink {
width: 12%;
}
.exLogo {
opacity: 1;
width: 100%;
heig... | 16.46 | 68 | 0.587485 |
5d580c4fb88cef7ca3bafeeb075058f2bac6d586 | 7,210 | cxx | C++ | graphics/slcd/slcd_mapping.cxx | codebje/incubator-nuttx-apps | d66bc2c1070cdbbb7c8e00ffa727a8515cf26eff | [
"Apache-2.0"
] | 132 | 2019-12-17T23:45:42.000Z | 2022-03-30T11:58:30.000Z | graphics/slcd/slcd_mapping.cxx | codebje/incubator-nuttx-apps | d66bc2c1070cdbbb7c8e00ffa727a8515cf26eff | [
"Apache-2.0"
] | 443 | 2020-01-01T03:06:24.000Z | 2022-03-31T08:57:35.000Z | graphics/slcd/slcd_mapping.cxx | codebje/incubator-nuttx-apps | d66bc2c1070cdbbb7c8e00ffa727a8515cf26eff | [
"Apache-2.0"
] | 232 | 2019-12-21T10:18:12.000Z | 2022-03-30T07:42:13.000Z | /////////////////////////////////////////////////////////////////////////////
// apps/graphics/slcd/slcd_mapping.cxx
//
// Copyright (C) 2019 Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>
//
// Redistribution and use in source and binary forms, with or without
// modification, are per... | 36.598985 | 77 | 0.571429 |
dbd3d1c831a8e971ef60330fe2118d148f3769d6 | 1,407 | php | PHP | application/views/user/uploadpembayaran.php | rizqyep/Sistem-Pajak-CI | f70be482c070abd49a13dc248250679afaa1fcfd | [
"MIT"
] | null | null | null | application/views/user/uploadpembayaran.php | rizqyep/Sistem-Pajak-CI | f70be482c070abd49a13dc248250679afaa1fcfd | [
"MIT"
] | null | null | null | application/views/user/uploadpembayaran.php | rizqyep/Sistem-Pajak-CI | f70be482c070abd49a13dc248250679afaa1fcfd | [
"MIT"
] | null | null | null | <div class="content-wrapper ">
<div class="container">
<div class="row">
<div class="mt-5"></div>
</div>
<div class="row">
<!-- left column -->
<div class="col-12">
<!-- general form elements -->
<div class="card card-primar... | 45.387097 | 150 | 0.401564 |
7bb1c1f40ffbab823725e565cfa4b06efc76c7c5 | 727 | rb | Ruby | app/controllers/comments_controller.rb | Thomas-Rudge/micro_reddit | 1ce782a49dd431043ba7fdfe502c27eb7a7e906e | [
"MIT"
] | 1 | 2020-05-13T00:28:10.000Z | 2020-05-13T00:28:10.000Z | app/controllers/comments_controller.rb | Thomas-Rudge/micro_reddit | 1ce782a49dd431043ba7fdfe502c27eb7a7e906e | [
"MIT"
] | null | null | null | app/controllers/comments_controller.rb | Thomas-Rudge/micro_reddit | 1ce782a49dd431043ba7fdfe502c27eb7a7e906e | [
"MIT"
] | null | null | null | class CommentsController < ApplicationController
before_action :check_login_status
def create
return if params[:comment][:content].blank?
@comment = Comment.new(comment_params)
@comment.user_id = current_user.id
@comment.post_id = params[:post_id]
@comment.upvotes = 1
if @comment.save
... | 21.382353 | 59 | 0.661623 |