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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
572b3be5aca0d9973a5f2675cbddca2b65212a08 | 4,694 | js | JavaScript | lib/mllib/fpm/FPGrowth.js | danielsan/eclairjs-node | 0dd5bcc0c08de8116a6a21d5c64789ea35b12179 | [
"Apache-2.0"
] | null | null | null | lib/mllib/fpm/FPGrowth.js | danielsan/eclairjs-node | 0dd5bcc0c08de8116a6a21d5c64789ea35b12179 | [
"Apache-2.0"
] | null | null | null | lib/mllib/fpm/FPGrowth.js | danielsan/eclairjs-node | 0dd5bcc0c08de8116a6a21d5c64789ea35b12179 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2016 IBM Corp.
*
* 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 i... | 30.089744 | 131 | 0.689604 |
8d0b3f30028f81bdf5d8668afd4a35073fe8d0a7 | 2,366 | cs | C# | src/RoadCaptain.Runner/InGameNavigationWindow.xaml.cs | sandermvanvliet/RoadCaptain | 0bac44962d74d12a74adec7e480faf07d8740180 | [
"Artistic-2.0"
] | 1 | 2022-03-25T22:27:52.000Z | 2022-03-25T22:27:52.000Z | src/RoadCaptain.Runner/InGameNavigationWindow.xaml.cs | sandermvanvliet/RoadCaptain | 0bac44962d74d12a74adec7e480faf07d8740180 | [
"Artistic-2.0"
] | 1 | 2022-03-26T15:38:26.000Z | 2022-03-26T17:36:18.000Z | src/RoadCaptain.Runner/InGameNavigationWindow.xaml.cs | sandermvanvliet/RoadCaptain | 0bac44962d74d12a74adec7e480faf07d8740180 | [
"Artistic-2.0"
] | null | null | null | // Copyright (c) 2022 Sander van Vliet
// Licensed under Artistic License 2.0
// See LICENSE or https://choosealicense.com/licenses/artistic-2.0/
using System;
using System.Windows;
using System.Windows.Input;
using RoadCaptain.GameStates;
using RoadCaptain.Ports;
using RoadCaptain.Runner.ViewModels;
using Point = Sys... | 30.333333 | 89 | 0.617498 |
448226b0b0bb3e7dfc88ffd8561110cbae44b23e | 941 | py | Python | gpu_watchdog.py | AlphaGoMK/GPU_Watchdog | 01aa3370d4521d800c23a8afe396e4424a94b77e | [
"MIT"
] | null | null | null | gpu_watchdog.py | AlphaGoMK/GPU_Watchdog | 01aa3370d4521d800c23a8afe396e4424a94b77e | [
"MIT"
] | null | null | null | gpu_watchdog.py | AlphaGoMK/GPU_Watchdog | 01aa3370d4521d800c23a8afe396e4424a94b77e | [
"MIT"
] | null | null | null | import GPUtil
import time
import datetime
import argparse
import sys
import requests
parser = argparse.ArgumentParser()
parser.add_argument('--threshold', type=int, default=1024, help='GPU memory threshold (MB)')
parser.add_argument('--index', type=int, default=0, help='Index of the GPU to be monitored')
opt = parser.... | 29.40625 | 117 | 0.609989 |
c6f175b70fd25d8633c97d3d0d59465e21251689 | 978 | py | Python | example/apps/buttons/methods/Buttons.py | NinjaDero/Directly | bb241b49c54c8a1510438f955b39d1785594cc64 | [
"MIT"
] | 4 | 2015-03-09T10:50:05.000Z | 2020-07-02T17:22:37.000Z | example/apps/buttons/methods/Buttons.py | NinjaDero/Directly | bb241b49c54c8a1510438f955b39d1785594cc64 | [
"MIT"
] | null | null | null | example/apps/buttons/methods/Buttons.py | NinjaDero/Directly | bb241b49c54c8a1510438f955b39d1785594cc64 | [
"MIT"
] | null | null | null | from Directly import Ext
@Ext.cls
class Buttons():
@staticmethod
@Ext.method
def ping(request):
return "Pong!"
@staticmethod
@Ext.method
def reverse(request, text):
return text[::-1]
@staticmethod
@Ext.method
def full_caps(request, text):
all_caps = Buttons... | 23.853659 | 87 | 0.621677 |
bdd0a52523eb607702b0a32c71b9f6f7819b2597 | 1,156 | gemspec | Ruby | dry-struct-rails.gemspec | fnordfish/dry-struct-rails | 093c8b4e220305cdd5d5d0a52b4d2f2bb805ec5b | [
"MIT"
] | 2 | 2017-11-29T15:56:30.000Z | 2017-11-29T16:55:22.000Z | dry-struct-rails.gemspec | fnordfish/dry-struct-rails | 093c8b4e220305cdd5d5d0a52b4d2f2bb805ec5b | [
"MIT"
] | null | null | null | dry-struct-rails.gemspec | fnordfish/dry-struct-rails | 093c8b4e220305cdd5d5d0a52b4d2f2bb805ec5b | [
"MIT"
] | null | null | null | # coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "dry/struct/rails/version"
Gem::Specification.new do |spec|
spec.name = "dry-struct-rails"
spec.version = Dry::Struct::Rails::VERSION
spec.authors = ["Robert Schulze"]
... | 36.125 | 74 | 0.647924 |
af71b19523456cf3eb111125d5b90857585c2b94 | 309 | py | Python | problems/linkedlist/Solution206.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | problems/linkedlist/Solution206.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | problems/linkedlist/Solution206.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | """
Reverse a singly linked list.
Example:
Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
// 4 -> 5 -> 6
//prev cur nextTemp
// 4 -> 5 -> 6
// prev cur nextTemp
"""
class Solution206:
pass
| 17.166667 | 57 | 0.375405 |
4b78a561e47fe37063b4d7b32c57d9033532bfb0 | 1,415 | cpp | C++ | examples/EnsembledCrash.cpp | acpaquette/deepstate | 6acf07ad5dd95c9e8b970ca516ab93aa2620ea6e | [
"Apache-2.0"
] | 684 | 2018-02-18T18:04:23.000Z | 2022-03-26T06:18:39.000Z | examples/EnsembledCrash.cpp | acpaquette/deepstate | 6acf07ad5dd95c9e8b970ca516ab93aa2620ea6e | [
"Apache-2.0"
] | 273 | 2018-02-18T04:01:36.000Z | 2022-02-09T16:07:38.000Z | examples/EnsembledCrash.cpp | acpaquette/deepstate | 6acf07ad5dd95c9e8b970ca516ab93aa2620ea6e | [
"Apache-2.0"
] | 77 | 2018-02-19T00:18:33.000Z | 2022-03-16T04:12:09.000Z | /*
* Copyright (c) 2019 Trail of Bits, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 28.877551 | 75 | 0.671378 |
c6c489cf147b8641580a70ffd119e11fef35075b | 5,840 | py | Python | LMA_emulator/LMA_slidingWindow_data.py | Bhare8972/LOFAR-LMA-Emulator | 5d82ba6a5ec7c361d958d7edd1335c2ea753ac46 | [
"Apache-2.0"
] | null | null | null | LMA_emulator/LMA_slidingWindow_data.py | Bhare8972/LOFAR-LMA-Emulator | 5d82ba6a5ec7c361d958d7edd1335c2ea753ac46 | [
"Apache-2.0"
] | null | null | null | LMA_emulator/LMA_slidingWindow_data.py | Bhare8972/LOFAR-LMA-Emulator | 5d82ba6a5ec7c361d958d7edd1335c2ea753ac46 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from os import mkdir, remove
from os.path import isdir
from datetime import datetime, timezone, timedelta
#import struct
import numpy as np
from LoLIM.utilities import processed_data_dir, v_air
from LoLIM.IO.raw_tbb_IO import filePaths_by_stationName, MultiFile_Dal1, read_station_delays, read... | 37.922078 | 173 | 0.643493 |
1851548ff4bcc0bba8f59a89f020e8437d68dd26 | 559 | lua | Lua | API/CovenantCallings.lua | MrMartinZockt/vscode-lua-wow | b279bc1528f28f45befb2760b08475d698a39fd7 | [
"MIT"
] | 3 | 2020-06-03T01:59:19.000Z | 2020-10-11T01:55:26.000Z | API/CovenantCallings.lua | MrMartin92/vscode-lua-wow | b279bc1528f28f45befb2760b08475d698a39fd7 | [
"MIT"
] | 2 | 2020-01-25T14:16:05.000Z | 2020-01-25T14:22:06.000Z | API/CovenantCallings.lua | MrMartinZockt/vscode-lua-wow | b279bc1528f28f45befb2760b08475d698a39fd7 | [
"MIT"
] | 1 | 2020-06-03T01:59:31.000Z | 2020-06-03T01:59:31.000Z | -- !!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!
-- This file is automaticly generated. Don't edit manualy!
-- !!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!
---@class C_CovenantCallings
C_CovenantCallings = {}
---[Wowpedia documentation](https://wow.gamepedia.com/API_C_CovenantCallings.AreCallings... | 32.882353 | 97 | 0.667263 |
9cf3b32a57631b903543b9ce4d6fbca782c27783 | 347 | swift | Swift | PokerEvaluator/UnitTests/Mocks/MockGameScorer.swift | davejlin/PokerEvaluator | 76e41b448c7b3a1e73df3ac227ea5a9d8b922bda | [
"Unlicense"
] | 1 | 2017-10-24T00:23:24.000Z | 2017-10-24T00:23:24.000Z | PokerEvaluator/UnitTests/Mocks/MockGameScorer.swift | davejlin/PokerEvaluator | 76e41b448c7b3a1e73df3ac227ea5a9d8b922bda | [
"Unlicense"
] | null | null | null | PokerEvaluator/UnitTests/Mocks/MockGameScorer.swift | davejlin/PokerEvaluator | 76e41b448c7b3a1e73df3ac227ea5a9d8b922bda | [
"Unlicense"
] | null | null | null | //
// MockGameScorer.swift
// PokerEvaluator
//
// Created by Lin David, US-20 on 8/21/17.
// Copyright © 2017 Lin David, US-20. All rights reserved.
//
import Foundation
class MockGameScorer: GameScorerProtocol {
var isScoreCalled = false
func score(of cards: [Card]) -> Int {
isScoreCalled = true... | 19.277778 | 59 | 0.645533 |
6f5d04bcfe1ad429e87048cf49644854b564ce7e | 654 | php | PHP | common/models/Questions.php | giicms/yii2-job-mongodb | d997f67e428ebf508381b88474e51347e5818cc4 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | common/models/Questions.php | giicms/yii2-job-mongodb | d997f67e428ebf508381b88474e51347e5818cc4 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | common/models/Questions.php | giicms/yii2-job-mongodb | d997f67e428ebf508381b88474e51347e5818cc4 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | <?php
namespace common\models;
use Yii;
use yii\base\NotSupportedException;
use yii\mongodb\ActiveRecord;
use yii\web\IdentityInterface;
/**
* Questions model
*
* @property string $content
*/
class Questions extends ActiveRecord {
public static function tableName() {
return [ 'questions'];
}
... | 15.95122 | 44 | 0.54893 |
384eef51f378a54ec33ad527f5ac3350dcbc9745 | 1,781 | php | PHP | app/Mms/Application/Materias/Queries/ListarMateriasQueryResult.php | kaiomarques/boxmms_web | 14e6da8f16cbb713693f68f8c2e8f21e326554c6 | [
"MIT"
] | null | null | null | app/Mms/Application/Materias/Queries/ListarMateriasQueryResult.php | kaiomarques/boxmms_web | 14e6da8f16cbb713693f68f8c2e8f21e326554c6 | [
"MIT"
] | null | null | null | app/Mms/Application/Materias/Queries/ListarMateriasQueryResult.php | kaiomarques/boxmms_web | 14e6da8f16cbb713693f68f8c2e8f21e326554c6 | [
"MIT"
] | null | null | null | <?php namespace App\Mms\Application\Materias\Queries;
use App\Mms\Application\Shared\Queries\CollectionQueryResult;
class ListarMateriasQueryResult extends CollectionQueryResult
{
private $paginacao;
public function __construct(array $materias, ListarMateriasQueryResultPaginacao $paginacao)
{
par... | 31.245614 | 104 | 0.580573 |
489240a5d6ab7946d2288fbd32e8a8541cb5a64d | 534 | sql | SQL | db/Visitante/sp_visitante_add.sql | WilmoMorandeDeodato/Hotel-Restaurante-Golai | ce646176c55a729c83a35a13b33431aed2d872bf | [
"CC-BY-3.0"
] | null | null | null | db/Visitante/sp_visitante_add.sql | WilmoMorandeDeodato/Hotel-Restaurante-Golai | ce646176c55a729c83a35a13b33431aed2d872bf | [
"CC-BY-3.0"
] | null | null | null | db/Visitante/sp_visitante_add.sql | WilmoMorandeDeodato/Hotel-Restaurante-Golai | ce646176c55a729c83a35a13b33431aed2d872bf | [
"CC-BY-3.0"
] | null | null | null | DROP PROCEDURE sp_visitante_add;
DELIMITER //
CREATE PROCEDURE sp_visitante_add(
v_id_hotel INT,
v_ip VARCHAR(15),
v_navegador VARCHAR(30),
v_sistema VARCHAR(30)
)
BEGIN
DECLARE v_auto_id INT;
SELECT COUNT(id_visitante) + 1 FROM tb_visitante INTO v_auto_id;
INSERT
INTO tb_visitante... | 25.428571 | 65 | 0.679775 |
dbe34b28121a0a755b2dd71d131a7ed9101f0a05 | 1,252 | php | PHP | app/Http/Controllers/StudentController.php | AminulCSE/Laravel7AjaxCRUD | f316204a4c9c3d11f35b53c7729f11d5e1870d99 | [
"MIT"
] | null | null | null | app/Http/Controllers/StudentController.php | AminulCSE/Laravel7AjaxCRUD | f316204a4c9c3d11f35b53c7729f11d5e1870d99 | [
"MIT"
] | null | null | null | app/Http/Controllers/StudentController.php | AminulCSE/Laravel7AjaxCRUD | f316204a4c9c3d11f35b53c7729f11d5e1870d99 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Student;
use Illuminate\Http\Request;
class StudentController extends Controller
{
public function index(){
$students = Student::orderBy('id', 'DESC')->get();
return view('students', compact('students'));
}
public function addStudent(Request $reques... | 26.083333 | 76 | 0.627796 |
e2276f9a3a6d51e31f6fa4d77cfffd8a30ff5c23 | 1,959 | py | Python | remorse/wavegen.py | jhobbs/morsegen | 771b8bb38fd3ad6f94d775edc00323dd0b42f566 | [
"Apache-2.0"
] | 2 | 2016-05-27T04:08:50.000Z | 2016-05-27T12:48:59.000Z | remorse/wavegen.py | jhobbs/remorse | 771b8bb38fd3ad6f94d775edc00323dd0b42f566 | [
"Apache-2.0"
] | null | null | null | remorse/wavegen.py | jhobbs/remorse | 771b8bb38fd3ad6f94d775edc00323dd0b42f566 | [
"Apache-2.0"
] | null | null | null | import itertools
import math
from pyaudio import PyAudio
BITRATE = 16000
FADE_LENGTH = 0.003
FADE_FRAMES = int(BITRATE * FADE_LENGTH)
MAX_AMPLITUDE = 127
def sine(frequency, length):
"""Generate a sine wave in 8-bit unsigned PCM format.
Uses linear fading at the beginning and end to avoid click noise.
... | 28.808824 | 81 | 0.64829 |
a49e04604c4f6f785f282528a5ebe210af1c15ff | 1,985 | php | PHP | resources/views/contract/show.blade.php | trananh46/Project-TourReservation | 7f66c3b92f98982a011b0bbfd263d44afea20279 | [
"MIT"
] | null | null | null | resources/views/contract/show.blade.php | trananh46/Project-TourReservation | 7f66c3b92f98982a011b0bbfd263d44afea20279 | [
"MIT"
] | null | null | null | resources/views/contract/show.blade.php | trananh46/Project-TourReservation | 7f66c3b92f98982a011b0bbfd263d44afea20279 | [
"MIT"
] | 1 | 2021-09-01T06:48:35.000Z | 2021-09-01T06:48:35.000Z | @extends('layout.app')
@section('content')
<div class="content">
<div class="container">
<div class="row">
<h2 class="text-center">Tên Tour : {{ $hoadon->nameTour }}</h2>
<h4 class="text-center">Ngày Khởi Hành : {{ $hoadon->ngayKhoiHanh }} --- Ngày Kết Thúc : {{ $... | 39.7 | 136 | 0.435768 |
e76d9f5ca719936d151c0a1fecd79d9c619ddf75 | 4,406 | php | PHP | app/Http/Controllers/EditorjsController.php | MwSpaceLLC/tickets | d527cb6ad5080bbc831b63cf55277b2a7d86ab8e | [
"MIT"
] | 1 | 2019-09-21T15:56:08.000Z | 2019-09-21T15:56:08.000Z | app/Http/Controllers/EditorjsController.php | MwSpaceLLC/tickets | d527cb6ad5080bbc831b63cf55277b2a7d86ab8e | [
"MIT"
] | null | null | null | app/Http/Controllers/EditorjsController.php | MwSpaceLLC/tickets | d527cb6ad5080bbc831b63cf55277b2a7d86ab8e | [
"MIT"
] | 1 | 2019-11-09T12:56:35.000Z | 2019-11-09T12:56:35.000Z | <?php
namespace App\Http\Controllers;
use App\Department;
use App\Mail\NewTicket;
use App\TicketReply;
use App\Tickets;
use App\TicketsAttach;
use App\User;
use Illuminate\Database\Query\Builder;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Log;
use Illuminate\Suppo... | 28.61039 | 126 | 0.508398 |
208bfeae42cdf85549ab8759d1c05ca821d1cd5d | 2,307 | cs | C# | Source/Pablo/Formats/Rip/FormatRip.cs | christianvozar/pablodraw | 56011d8b579e00ced41e6c4a6a02c155d125bbc1 | [
"MIT"
] | 3 | 2019-11-01T23:42:19.000Z | 2020-07-31T13:43:07.000Z | Source/Pablo/Formats/Rip/FormatRip.cs | christianvozar/pablodraw | 56011d8b579e00ced41e6c4a6a02c155d125bbc1 | [
"MIT"
] | null | null | null | Source/Pablo/Formats/Rip/FormatRip.cs | christianvozar/pablodraw | 56011d8b579e00ced41e6c4a6a02c155d125bbc1 | [
"MIT"
] | null | null | null | using System;
using System.IO;
using System.Text;
using Eto.Drawing;
using Pablo.BGI;
using Eto;
using System.Collections.Generic;
using Eto.Forms;
namespace Pablo.Formats.Rip
{
public class FormatRip : Animated.AnimatedFormat
{
public static Encoding Encoding = Encoding.GetEncoding (437);
public FormatRip (D... | 22.617647 | 77 | 0.606849 |
af91089c95e4ed7d63c9f6848966cba3c13704d1 | 1,259 | py | Python | tests/task/test_can_task.py | jha929/pyMODI | 6175e6579b7fab4d26a8add852bbc8357eb8bf30 | [
"MIT"
] | 2 | 2020-11-25T03:20:12.000Z | 2020-11-25T03:20:14.000Z | tests/task/test_can_task.py | jha929/pyMODI | 6175e6579b7fab4d26a8add852bbc8357eb8bf30 | [
"MIT"
] | null | null | null | tests/task/test_can_task.py | jha929/pyMODI | 6175e6579b7fab4d26a8add852bbc8357eb8bf30 | [
"MIT"
] | null | null | null | import json
import unittest
from queue import Queue
from modi.task.can_task import CanTask
from modi.util.msgutil import parse_message
class MockCan:
def __init__(self):
self.recv_buffer = Queue()
def recv(self, timeout):
json_pkt = parse_message(0x03, 0, 1)
return CanTask.compose_ca... | 25.693878 | 75 | 0.625894 |
5864fd816f8cf0a73ca50dba76ef83c4019f4659 | 281 | lua | Lua | scripts/globals/items/scroll_of_regen_ii.lua | zircon-tpl/topaz | dc2f7e68e5ed84274976e8a787c29fe03eecc382 | [
"FTL"
] | 1 | 2021-10-30T11:30:33.000Z | 2021-10-30T11:30:33.000Z | scripts/globals/items/scroll_of_regen_ii.lua | zircon-tpl/topaz | dc2f7e68e5ed84274976e8a787c29fe03eecc382 | [
"FTL"
] | 2 | 2020-07-01T04:11:03.000Z | 2020-07-02T03:54:24.000Z | scripts/globals/items/scroll_of_regen_ii.lua | zircon-tpl/topaz | dc2f7e68e5ed84274976e8a787c29fe03eecc382 | [
"FTL"
] | 1 | 2020-07-01T05:31:49.000Z | 2020-07-01T05:31:49.000Z | -----------------------------------------
-- ID: 4718
-- Scroll of Regen II
-- Teaches the white magic Regen II
-----------------------------------------
function onItemCheck(target)
return target:canLearnSpell(110)
end
function onItemUse(target)
target:addSpell(110)
end | 21.615385 | 41 | 0.523132 |
0dfc642156154b0dfdae0c64ce6da72203d6fe86 | 234 | cs | C# | ThirtyRails/Logic/CenterTile.cs | MadCowDevelopment/ThirtyRails | a043ba3cefd2b70f8ee882a5624cf4a85591e337 | [
"MIT"
] | null | null | null | ThirtyRails/Logic/CenterTile.cs | MadCowDevelopment/ThirtyRails | a043ba3cefd2b70f8ee882a5624cf4a85591e337 | [
"MIT"
] | null | null | null | ThirtyRails/Logic/CenterTile.cs | MadCowDevelopment/ThirtyRails | a043ba3cefd2b70f8ee882a5624cf4a85591e337 | [
"MIT"
] | null | null | null | namespace ThirtyRails.Logic
{
public class CenterTile : Tile
{
public CenterTile(int id) : base(id)
{
}
public bool IsMountain { get; set; }
public bool IsMine { get; set; }
}
} | 15.6 | 44 | 0.534188 |
3f90daf23eb0c0bb94f597b63df854585be07cd2 | 2,122 | php | PHP | application/views/homepage/Footer.php | milhamsuryapratama/wisata-web | 73fcba853b473768977b4668c17d0b3fb992f0ca | [
"MIT"
] | 1 | 2019-06-20T02:30:53.000Z | 2019-06-20T02:30:53.000Z | application/views/homepage/Footer.php | milhamsuryapratama/wisata-web | 73fcba853b473768977b4668c17d0b3fb992f0ca | [
"MIT"
] | null | null | null | application/views/homepage/Footer.php | milhamsuryapratama/wisata-web | 73fcba853b473768977b4668c17d0b3fb992f0ca | [
"MIT"
] | 2 | 2019-06-19T07:19:19.000Z | 2022-02-18T10:46:05.000Z | <!-- Section Footer -->
<section class="section-footer">
<div class="texture-handler-top"></div>
<div class="row">
<div class="col-left">
<p>Copyright © 2019</p>
<p>Jl. Raya Panglima Sudirman No.134, Patokan, Kraksaan, Probolinggo, Jawa Timur 67282</p>
<a href="#" target="_blank"><span
c... | 37.22807 | 110 | 0.594251 |
00728235d9760fb4809394e01807ade95936a6bc | 298 | lua | Lua | announce/server.lua | CarterParker/Server-announcement-script | b03bb99dbc9e7eb86780d2721bd4902d4481d07b | [
"MIT"
] | null | null | null | announce/server.lua | CarterParker/Server-announcement-script | b03bb99dbc9e7eb86780d2721bd4902d4481d07b | [
"MIT"
] | null | null | null | announce/server.lua | CarterParker/Server-announcement-script | b03bb99dbc9e7eb86780d2721bd4902d4481d07b | [
"MIT"
] | null | null | null | -- script created by C. Parker, Join our discord for support! https://discord.gg/4A6Qdp9
RegisterServerEvent("announce")
AddEventHandler("announce", function(param)
print("^7[^1Announcement^7]^5:" .. param)
TriggerClientEvent("chatMessage", -1, "^7[^1Announcement^7]", {0,0,0}, param)
end)
| 42.571429 | 88 | 0.711409 |
216bb0badc12fe221e702e028b9bd5a433e9842d | 611 | js | JavaScript | api/xamarin/latest/search/variables_d.js | finp/finp.github.io | e52782f9cda9d85f43011cc6c7a7aa9ba15462ab | [
"Apache-2.0"
] | 1 | 2018-05-30T11:05:12.000Z | 2018-05-30T11:05:12.000Z | api/xamarin/latest/search/variables_d.js | finp/finp.github.io | e52782f9cda9d85f43011cc6c7a7aa9ba15462ab | [
"Apache-2.0"
] | 17 | 2018-06-22T16:15:26.000Z | 2019-09-06T15:00:31.000Z | api/xamarin/latest/search/variables_d.js | finp/finp.github.io | e52782f9cda9d85f43011cc6c7a7aa9ba15462ab | [
"Apache-2.0"
] | 9 | 2018-05-04T15:59:25.000Z | 2018-09-03T09:41:34.000Z | var searchData=
[
['values',['Values',['../class_aero_gear_1_1_mobile_1_1_core_1_1_configuration_1_1_service_configuration.html#a31af5a47c356ff87cab68282a29eed29',1,'AeroGear::Mobile::Core::Configuration::ServiceConfiguration']]],
['version',['Version',['../class_aero_gear_1_1_mobile_1_1_core_1_1_utils_1_1_applicat... | 101.833333 | 374 | 0.841244 |
1290ecc40a1562981cd6b460cf0b3dbbdd1ccae9 | 568 | cs | C# | Logging.Infrastructure.MongoDb/Mappings/LogMapping.cs | sohilww/UserOperationLoggingSystem | 6e64e17d11b32bf170a0142062625b852c2efebe | [
"Apache-2.0"
] | null | null | null | Logging.Infrastructure.MongoDb/Mappings/LogMapping.cs | sohilww/UserOperationLoggingSystem | 6e64e17d11b32bf170a0142062625b852c2efebe | [
"Apache-2.0"
] | null | null | null | Logging.Infrastructure.MongoDb/Mappings/LogMapping.cs | sohilww/UserOperationLoggingSystem | 6e64e17d11b32bf170a0142062625b852c2efebe | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LoggingDomianModel;
using MongoDB.Bson.Serialization;
namespace Logging.Infrastructure.MongoDb.Mappings
{
public class LogMapping: BsonClassMap
{
public LogMapping(Type... | 24.695652 | 101 | 0.665493 |
b765bc1b8109e0f6d66db3013f303c7d00fd5768 | 5,069 | cs | C# | Assets/Plugins/VolumetricFog/Editor/VolumetricFogGaiaExtension.cs | ProxorGamesStudio/ReflexFightProject | 15a621103b3c0a2135d46cefb7626370392f7816 | [
"Unlicense"
] | null | null | null | Assets/Plugins/VolumetricFog/Editor/VolumetricFogGaiaExtension.cs | ProxorGamesStudio/ReflexFightProject | 15a621103b3c0a2135d46cefb7626370392f7816 | [
"Unlicense"
] | null | null | null | Assets/Plugins/VolumetricFog/Editor/VolumetricFogGaiaExtension.cs | ProxorGamesStudio/ReflexFightProject | 15a621103b3c0a2135d46cefb7626370392f7816 | [
"Unlicense"
] | null | null | null | #if GAIA_PRESENT && UNITY_EDITOR
using UnityEngine;
using System.Collections;
using System;
using System.Reflection;
using VolumetricFogAndMist;
using UnityEditor;
namespace Gaia.GX.Kronnect
{
/// <summary>
/// Volumetric Fog & Mist extension for Gaia.
/// </summary>
public class VolumetricFogGaiaExtens... | 29.47093 | 243 | 0.658907 |
c6c241ec001d97ea5369671398549c36fff087a3 | 224 | css | CSS | src/main/webapp/css/aboutus.css | nanda-thant-sin/team35-codeu | ae6aebbb386e2b128dcfdedfe68259a8d29da0c5 | [
"Apache-2.0"
] | 1 | 2019-06-01T15:20:52.000Z | 2019-06-01T15:20:52.000Z | src/main/webapp/css/aboutus.css | nanda-thant-sin/team35-codeu | ae6aebbb386e2b128dcfdedfe68259a8d29da0c5 | [
"Apache-2.0"
] | 22 | 2019-05-24T02:59:53.000Z | 2019-07-28T03:33:34.000Z | src/main/webapp/css/aboutus.css | nanda-thant-sin/team35-codeu | ae6aebbb386e2b128dcfdedfe68259a8d29da0c5 | [
"Apache-2.0"
] | 2 | 2019-09-05T22:31:16.000Z | 2019-09-10T10:37:52.000Z | .btn.know-more {
float: right;
padding-right: 20px;
text-align: center;
}
.col-sm {
margin-bottom: 70px;
padding: 30px;
}
.card.customized-card {
padding: 20px;
}
.img-customized.card-img-top {
width: 20rem;
}
| 14 | 30 | 0.651786 |
f84707a4e99aa797f027278329fbd2b928b70ced | 3,041 | rs | Rust | rust/src/pixel.rs | kaniini/notcurses | e6f87aaa515444878e50d7b82f8d6b9243eda69a | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-12-17T19:25:34.000Z | 2020-12-17T19:25:34.000Z | rust/src/pixel.rs | kaniini/notcurses | e6f87aaa515444878e50d7b82f8d6b9243eda69a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | rust/src/pixel.rs | kaniini/notcurses | e6f87aaa515444878e50d7b82f8d6b9243eda69a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //! The ncpixel API facilitates direct management of the pixels within an
//! ncvisual (ncvisuals keep a backing store of 32-bit RGBA pixels, and render
//! them down to terminal graphics in ncvisual_render()).
//
// - NOTE: The pixel color & alpha components are u8 instead of u32.
// Because of type enforcing, some ... | 31.030612 | 90 | 0.656363 |
be8465a0f3ff16adcd08cbb851646be9bdf7fa57 | 5,905 | ts | TypeScript | packages/plugin-node-unhandled-rejection/test/unhandled-rejection.test.ts | orinamio/bugsnag-js-7.14.2-patch | bc15fa8cf6c5442710aaeeb7749c489c5558f85c | [
"MIT"
] | 682 | 2015-01-02T06:35:11.000Z | 2022-03-31T07:49:05.000Z | packages/plugin-node-unhandled-rejection/test/unhandled-rejection.test.ts | orinamio/bugsnag-js-7.14.2-patch | bc15fa8cf6c5442710aaeeb7749c489c5558f85c | [
"MIT"
] | 1,456 | 2015-01-10T01:56:02.000Z | 2022-03-31T07:26:24.000Z | packages/plugin-node-unhandled-rejection/test/unhandled-rejection.test.ts | orinamio/bugsnag-js-7.14.2-patch | bc15fa8cf6c5442710aaeeb7749c489c5558f85c | [
"MIT"
] | 266 | 2015-01-23T02:25:34.000Z | 2022-03-19T04:37:48.000Z | import Client from '@bugsnag/core/client'
import { schema } from '@bugsnag/core/config'
import plugin from '../'
import EventWithInternals from '@bugsnag/core/event'
describe('plugin: node unhandled rejection handler', () => {
it('should listen to the process#unhandledRejection event', () => {
const before = pro... | 33.361582 | 113 | 0.62591 |
1dee85d1ab98670f204017556a2fdfd184ba2ae7 | 625 | kt | Kotlin | src/main/kotlin/nbt/lang/NbttFile.kt | SizableShrimp/MinecraftDev | c364d47cc7fa07c0c04b33ee4eb760a82fdcf2b8 | [
"MIT"
] | 992 | 2016-10-28T17:37:24.000Z | 2022-03-31T18:19:48.000Z | src/main/kotlin/nbt/lang/NbttFile.kt | Toshimichi0915/MinecraftDev | 9321bea67126d2b0730f246cb7e10cb6473e4b6a | [
"MIT"
] | 1,629 | 2016-10-27T17:05:13.000Z | 2022-03-29T13:00:06.000Z | src/main/kotlin/nbt/lang/NbttFile.kt | Toshimichi0915/MinecraftDev | 9321bea67126d2b0730f246cb7e10cb6473e4b6a | [
"MIT"
] | 194 | 2016-11-01T11:18:24.000Z | 2022-03-25T17:56:05.000Z | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2021 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.nbt.lang
import com.demonwav.mcdev.asset.PlatformAssets
import com.demonwav.mcdev.nbt.lang.gen.psi.NbttRootCompound
import com.intellij.extapi.psi.PsiFileBase
import ... | 25 | 90 | 0.7744 |
4bd30adb8a105fc11c28474816632e17042ce7db | 1,416 | c | C | JustForFun/EXPR/SCANNER.c | nvectorrr/2019-fall-polytech-cs | 679cb16b5881931267f9a9009e4edf2b989b72c2 | [
"MIT"
] | 1 | 2020-03-14T11:23:31.000Z | 2020-03-14T11:23:31.000Z | JustForFun/EXPR/SCANNER.c | nvectorrr/2019-fall-polytech-cs | 679cb16b5881931267f9a9009e4edf2b989b72c2 | [
"MIT"
] | null | null | null | JustForFun/EXPR/SCANNER.c | nvectorrr/2019-fall-polytech-cs | 679cb16b5881931267f9a9009e4edf2b989b72c2 | [
"MIT"
] | null | null | null | /* Naydenovich Viktor */
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <ctype.h>
#include <setjmp.h>
#include "EXPR.h"
void Scanner( QUEUE *Q, char *s )
{
TOK T;
int denum, i;
while (*s != 0)
{
switch (*s)
{
case ' ':
case '\n':
s++;
continu... | 18.38961 | 79 | 0.356638 |
e755a10d6c3aa36447f49f34c17df747bd472232 | 7,177 | php | PHP | application/views/contents/master/mata_ajar.php | ngabngab/pusdiklat | 3864013e1cc16cccc1b244456b3d92d4e6338286 | [
"Apache-2.0",
"MIT"
] | null | null | null | application/views/contents/master/mata_ajar.php | ngabngab/pusdiklat | 3864013e1cc16cccc1b244456b3d92d4e6338286 | [
"Apache-2.0",
"MIT"
] | null | null | null | application/views/contents/master/mata_ajar.php | ngabngab/pusdiklat | 3864013e1cc16cccc1b244456b3d92d4e6338286 | [
"Apache-2.0",
"MIT"
] | null | null | null | <?php
/**
* Simdiklat Online Website.
*
* @package core
* @copyright 2016 kim-leny
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$loggedIn = $this->session->userdata['logged_in'];
?>
<script>
$(document).ready(function() {
$('#dataMataAjar').DataTable(... | 42.467456 | 485 | 0.338024 |
e31ed9c1fa06d9c6415499739ee9550d9d73dc7b | 5,405 | rb | Ruby | spec/lib/gitlab/github_import/issue_formatter_spec.rb | samruddhi2909/Citi_Bridge | df4dc2ac2986436915f4878c84e6910ec169dd41 | [
"MIT"
] | null | null | null | spec/lib/gitlab/github_import/issue_formatter_spec.rb | samruddhi2909/Citi_Bridge | df4dc2ac2986436915f4878c84e6910ec169dd41 | [
"MIT"
] | null | null | null | spec/lib/gitlab/github_import/issue_formatter_spec.rb | samruddhi2909/Citi_Bridge | df4dc2ac2986436915f4878c84e6910ec169dd41 | [
"MIT"
] | 1 | 2020-11-04T05:34:36.000Z | 2020-11-04T05:34:36.000Z | require 'spec_helper'
describe Gitlab::GithubImport::IssueFormatter, lib: true do
let!(:project) { create(:project, namespace: create(:namespace, path: 'octocat')) }
let(:octocat) { double(id: 123456, login: 'octocat') }
let(:created_at) { DateTime.strptime('2011-01-26T19:01:12Z') }
let(:updated_at) { DateTime... | 30.195531 | 93 | 0.644588 |
7be2d2e4bac98b67b31bada4699c8f102f0f9bea | 2,696 | cpp | C++ | Projects/Demo/source/Common/SpawnComponent.cpp | asheraryam/ETEngine | cac9b62146bfd2fe249a53eb8031cbbbd1db0931 | [
"MIT"
] | 552 | 2017-08-21T18:12:52.000Z | 2022-03-31T15:41:56.000Z | Projects/Demo/source/Common/SpawnComponent.cpp | asheraryam/ETEngine | cac9b62146bfd2fe249a53eb8031cbbbd1db0931 | [
"MIT"
] | 14 | 2017-08-07T23:36:13.000Z | 2021-05-10T08:41:19.000Z | Projects/Demo/source/Common/SpawnComponent.cpp | asheraryam/ETEngine | cac9b62146bfd2fe249a53eb8031cbbbd1db0931 | [
"MIT"
] | 40 | 2017-10-10T14:42:22.000Z | 2022-03-10T07:14:33.000Z | #include "stdafx.h"
#include "SpawnComponent.h"
#include <EtCore/Reflection/Registration.h>
#include <EtCore/Content/ResourceManager.h>
#include <EtRendering/GraphicsTypes/Mesh.h>
#include <EtRendering/MaterialSystem/MaterialInstance.h>
#include <EtRendering/MaterialSystem/MaterialData.h>
namespace et {
namespace d... | 21.918699 | 110 | 0.676929 |
c669b734a4dd7b4d3ee133c4fa4748cd3b8c1de3 | 2,688 | py | Python | SSolver.py | Hexman768/SudokuSolver | e65be1bc84f540942f40ef37c6273e09dd7ef059 | [
"MIT"
] | null | null | null | SSolver.py | Hexman768/SudokuSolver | e65be1bc84f540942f40ef37c6273e09dd7ef059 | [
"MIT"
] | null | null | null | SSolver.py | Hexman768/SudokuSolver | e65be1bc84f540942f40ef37c6273e09dd7ef059 | [
"MIT"
] | null | null | null | board = [[7,8,0,4,0,0,1,2,0],
[6,0,0,0,7,5,0,0,9],
[0,0,0,6,0,1,0,7,8],
[0,0,7,0,4,0,2,6,0],
[0,0,1,0,5,0,9,3,0],
[9,0,4,0,6,0,0,0,5],
[0,7,0,3,0,0,0,1,2],
[1,2,0,0,0,7,4,0,0],
[0,4,9,2,0,6,0,0,7]]
def solve():
if (checkBoar... | 34.461538 | 72 | 0.327753 |
c9b61b2acfde525984bae7e0b1aa13de408c91c6 | 5,925 | ts | TypeScript | Backend/Mapping Service/src/controller/MappingController.ts | mauriceackel/Gabble | 40aac84f365c98c4b7b78e5004082150b90dc902 | [
"MIT"
] | 1 | 2021-05-27T12:42:18.000Z | 2021-05-27T12:42:18.000Z | Backend/Mapping Service/src/controller/MappingController.ts | mauriceackel/Gabble | 40aac84f365c98c4b7b78e5004082150b90dc902 | [
"MIT"
] | null | null | null | Backend/Mapping Service/src/controller/MappingController.ts | mauriceackel/Gabble | 40aac84f365c98c4b7b78e5004082150b90dc902 | [
"MIT"
] | null | null | null | import { Request, Response, Router } from 'express'
import { NextFunction } from 'connect'
import { NoSuchElementError } from '../utils/errors/NoSuchElementError';
import { ApiResponse, ErrorResponse, SuccessResponse } from '../utils/responses/ApiResponse';
import * as MappingService from '../services/MappingService'
i... | 36.128049 | 186 | 0.65384 |
79e411cbac963bd2881d494072e51e6cf3ffe7ec | 322 | php | PHP | src/Model/Event/Listener/IAfterBatchUpdateEventListener.php | RonieLiu/imi | f71701d6af08d2ee32ebcffd4a5034bec27afc0c | [
"MulanPSL-1.0"
] | 1 | 2019-11-22T07:29:01.000Z | 2019-11-22T07:29:01.000Z | src/Model/Event/Listener/IAfterBatchUpdateEventListener.php | RonieLiu/imi | f71701d6af08d2ee32ebcffd4a5034bec27afc0c | [
"MulanPSL-1.0"
] | null | null | null | src/Model/Event/Listener/IAfterBatchUpdateEventListener.php | RonieLiu/imi | f71701d6af08d2ee32ebcffd4a5034bec27afc0c | [
"MulanPSL-1.0"
] | null | null | null | <?php
namespace Imi\Model\Event\Listener;
use Imi\Model\Event\Param\AfterBatchUpdateEventParam;
/**
* 模型 批量更新后 事件监听接口
*/
interface IAfterBatchUpdateEventListener
{
/**
* 事件处理方法
* @param AfterBatchUpdateEventParam $e
* @return void
*/
public function handle(AfterBatchUpdateEventParam $e);... | 18.941176 | 58 | 0.704969 |
23ad5ed35ae13c141180643b15eab1fc4d0cc914 | 22,530 | js | JavaScript | assets/anyChart/geodata/countries/sri_lanka/sri_lanka.topo.js | markosocco/KernelPMS | 99d3612d59ab2f2c22472c1634e7a9570fd4e5d7 | [
"MIT"
] | null | null | null | assets/anyChart/geodata/countries/sri_lanka/sri_lanka.topo.js | markosocco/KernelPMS | 99d3612d59ab2f2c22472c1634e7a9570fd4e5d7 | [
"MIT"
] | null | null | null | assets/anyChart/geodata/countries/sri_lanka/sri_lanka.topo.js | markosocco/KernelPMS | 99d3612d59ab2f2c22472c1634e7a9570fd4e5d7 | [
"MIT"
] | 1 | 2018-12-06T22:36:06.000Z | 2018-12-06T22:36:06.000Z | window['anychart']=window['anychart']||{};window['anychart']['maps']=window['anychart']['maps']||{};window['anychart']['maps']['sri_lanka']={"crs": {"type": "name", "properties": {"name": "urn:ogc:def:crs:EPSG:5234"}}, "ac-tx": {"default": {"crs": "+proj=tmerc +lat_0=7.000480277777778 +lon_0=80.77171111111112 +k=0.9999... | 22,530 | 22,530 | 0.493342 |
da26b5d78e33b8daa86a5e2106d02a012f5d4deb | 5,921 | php | PHP | application/views/admin/transaksi/excel.php | rahmatsubandi/lazadi | a39431ab2e3657196c09d6fe2667891bca19f84b | [
"MIT"
] | null | null | null | application/views/admin/transaksi/excel.php | rahmatsubandi/lazadi | a39431ab2e3657196c09d6fe2667891bca19f84b | [
"MIT"
] | null | null | null | application/views/admin/transaksi/excel.php | rahmatsubandi/lazadi | a39431ab2e3657196c09d6fe2667891bca19f84b | [
"MIT"
] | null | null | null | <?php
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=$title | $header_transaksi->nama_pelanggan.xls");
header("Pragma: no-cache");
header("Expires: 0");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?php echo $title ?></title... | 43.536765 | 136 | 0.411755 |
8da958609a0fdc4271ff1b34ba64498383d7e529 | 4,654 | js | JavaScript | src/components/Builds/PreviousBuildGallery/PreviousBuildGallery.js | cra1gg/website | 4bd7b392c00b4c129c3b999dc1766eeb73948809 | [
"MIT",
"Unlicense"
] | null | null | null | src/components/Builds/PreviousBuildGallery/PreviousBuildGallery.js | cra1gg/website | 4bd7b392c00b4c129c3b999dc1766eeb73948809 | [
"MIT",
"Unlicense"
] | null | null | null | src/components/Builds/PreviousBuildGallery/PreviousBuildGallery.js | cra1gg/website | 4bd7b392c00b4c129c3b999dc1766eeb73948809 | [
"MIT",
"Unlicense"
] | null | null | null | import React from 'react';
import './main.css'
import build1 from '../../../media/builds/build1.jpg'
import build2 from '../../../media/builds/build2.png'
import build3 from '../../../media/builds/build3.jpg'
import build4 from '../../../media/builds/build4.jpeg'
import build5 from '../../../media/builds/build5.png'
im... | 41.553571 | 137 | 0.322303 |
0a84df42b9292ac27b0a9ba9a66bcdddf4eaa521 | 494 | cshtml | C# | Kroeg.Server/Views/Settings/Menu.cshtml | cobalto/Kroeg | 3ab6638e7747a517856041a7b77b39915ab450b0 | [
"MIT"
] | 1 | 2018-11-15T18:13:09.000Z | 2018-11-15T18:13:09.000Z | Kroeg.Server/Views/Settings/Menu.cshtml | cobalto/Kroeg | 3ab6638e7747a517856041a7b77b39915ab450b0 | [
"MIT"
] | null | null | null | Kroeg.Server/Views/Settings/Menu.cshtml | cobalto/Kroeg | 3ab6638e7747a517856041a7b77b39915ab450b0 | [
"MIT"
] | 1 | 2021-12-09T20:48:09.000Z | 2021-12-09T20:48:09.000Z | @*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
@model Kroeg.Server.Controllers.SettingsController.BaseModel
<div class="list-group">
@foreach (var item in Model.Actors)
{
<a class="list-group-item list-group-item-action" hre... | 35.285714 | 129 | 0.680162 |
c3780bb637edb94e7724489a1f44469393447d64 | 746 | cs | C# | Assets/Scripts/Commons/GameEventFloat.cs | SokPapageorgiou/Gravity | 5236cb4d789c28d39e3b1ac6ecbdd861275e46a2 | [
"MIT"
] | null | null | null | Assets/Scripts/Commons/GameEventFloat.cs | SokPapageorgiou/Gravity | 5236cb4d789c28d39e3b1ac6ecbdd861275e46a2 | [
"MIT"
] | null | null | null | Assets/Scripts/Commons/GameEventFloat.cs | SokPapageorgiou/Gravity | 5236cb4d789c28d39e3b1ac6ecbdd861275e46a2 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using UnityEngine;
namespace Commons
{
[CreateAssetMenu(menuName = "ScriptableObjects/Values/GameEventFloat", fileName = "NewEventFloat")]
public class GameEventFloat : ScriptableObject
{
private readonly List<GameEventListenerFloat> _listeners = new List<GameEvent... | 29.84 | 103 | 0.674263 |
231faa7603759657fd040c100b212ef2358fceaa | 2,061 | swift | Swift | ViewPagerExperiments/CenterCellCollectionViewFlowLayout.swift | OHAKO-Inc/ViewPagerExperiments | 902fe1508b8b4d0d5b349fa70e68e92f2a44879b | [
"MIT"
] | 2 | 2017-10-15T07:59:43.000Z | 2017-11-30T01:50:02.000Z | ViewPagerExperiments/CenterCellCollectionViewFlowLayout.swift | OHAKO-Inc/ViewPagerExperiments | 902fe1508b8b4d0d5b349fa70e68e92f2a44879b | [
"MIT"
] | null | null | null | ViewPagerExperiments/CenterCellCollectionViewFlowLayout.swift | OHAKO-Inc/ViewPagerExperiments | 902fe1508b8b4d0d5b349fa70e68e92f2a44879b | [
"MIT"
] | null | null | null | //
// CenterCellCollectionViewFlowLayout.swift
// ViewPagerExperiments
//
// Created by Yoshikuni Kato on 2016/04/21.
// Copyright © 2016年 Ohako Inc. All rights reserved.
//
import UIKit
class CenterCellCollectionViewFlowLayout: UICollectionViewFlowLayout {
override func targetContentOffset(forProposedConten... | 42.061224 | 148 | 0.715672 |
5002d62c5fbf7d224d50b01bbd0bee86e9a67974 | 179 | lua | Lua | Project_Professions/Media/lua/client/Tailor.lua | Grammarsalad/Project_Professions | 7344437bf0cfbe9cec4c9d96b84f0b921efef4e9 | [
"CC0-1.0"
] | null | null | null | Project_Professions/Media/lua/client/Tailor.lua | Grammarsalad/Project_Professions | 7344437bf0cfbe9cec4c9d96b84f0b921efef4e9 | [
"CC0-1.0"
] | 3 | 2021-05-21T02:23:21.000Z | 2021-05-21T02:23:49.000Z | Project_Professions/Media/lua/client/Tailor.lua | Grammarsalad/Project_Professions | 7344437bf0cfbe9cec4c9d96b84f0b921efef4e9 | [
"CC0-1.0"
] | null | null | null | ProfessionFramework.addProfession('tail', {
name = "Tailor",
icon = "profession_Tailor",
cost = 5,
xp = {
[Perks.Tailoring] = 4,
},
traits = {},
}) | 19.888889 | 43 | 0.530726 |
448988002510e3127956d886c6b4f0dbd44fbb16 | 897 | py | Python | scripts/mail/__init__.py | irahorecka/pweb2-dev | a685c42e84807ab786c4330a2ab4bb68d3d0387f | [
"MIT"
] | null | null | null | scripts/mail/__init__.py | irahorecka/pweb2-dev | a685c42e84807ab786c4330a2ab4bb68d3d0387f | [
"MIT"
] | null | null | null | scripts/mail/__init__.py | irahorecka/pweb2-dev | a685c42e84807ab786c4330a2ab4bb68d3d0387f | [
"MIT"
] | null | null | null | """
/scripts/mail/__init__.py
Concerns all things emails.
"""
import inspect
import os
import traceback
from dotenv import load_dotenv
from scripts.mail.mail import write_email
load_dotenv()
def email_if_exception(func):
"""Wrapper that sends an email to ira.horecka@yahoo.com if the
wrapped function rais... | 24.916667 | 122 | 0.619844 |
5d734406d164dd56a50e9f6dc0ce43d148360e57 | 455 | hpp | C++ | server/include/tds/ip/address_v4.hpp | JMazurkiewicz/TinDox | 7f6c8e826683c875692fc97a3e89a4c5833dabf9 | [
"MIT"
] | null | null | null | server/include/tds/ip/address_v4.hpp | JMazurkiewicz/TinDox | 7f6c8e826683c875692fc97a3e89a4c5833dabf9 | [
"MIT"
] | null | null | null | server/include/tds/ip/address_v4.hpp | JMazurkiewicz/TinDox | 7f6c8e826683c875692fc97a3e89a4c5833dabf9 | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include <ostream>
namespace tds::ip {
class AddressV4 {
public:
static const AddressV4 any;
AddressV4();
explicit AddressV4(std::uint32_t address);
std::uint32_t as_integer() const;
bool operator==(const AddressV4&) const noexcept = de... | 19.782609 | 70 | 0.632967 |
6cadcd5fc459530800cffd9d9446121e5d2216b2 | 581 | sql | SQL | DatabaseBuilder/Identity/Migrations/000006-Migrate-AspNetUserRoles.sql | mwijnen/WebPortal | 96d54747061ce95be62ce9332dcec14c8576b4bc | [
"MIT"
] | null | null | null | DatabaseBuilder/Identity/Migrations/000006-Migrate-AspNetUserRoles.sql | mwijnen/WebPortal | 96d54747061ce95be62ce9332dcec14c8576b4bc | [
"MIT"
] | null | null | null | DatabaseBuilder/Identity/Migrations/000006-Migrate-AspNetUserRoles.sql | mwijnen/WebPortal | 96d54747061ce95be62ce9332dcec14c8576b4bc | [
"MIT"
] | null | null | null | CREATE TABLE [dbo].[AspNetUserRoles] (
[UserId] NVARCHAR (450) NOT NULL,
[RoleId] NVARCHAR (450) NOT NULL,
CONSTRAINT [PK_AspNetUserRoles] PRIMARY KEY CLUSTERED ([UserId] ASC, [RoleId] ASC),
CONSTRAINT [FK_AspNetUserRoles_AspNetRoles_RoleId] FOREIGN KEY ([RoleId]) REFERENCES [dbo].[AspNetRoles] ([Id]) ... | 44.692308 | 134 | 0.738382 |
3f85b1361736f342252baea63be407694cdb7426 | 6,759 | php | PHP | examples/index.php | BaptisteHugot/informationPageWeb | f01e61889455b9f881fa3d531be7cfacdcc9e171 | [
"MIT"
] | null | null | null | examples/index.php | BaptisteHugot/informationPageWeb | f01e61889455b9f881fa3d531be7cfacdcc9e171 | [
"MIT"
] | null | null | null | examples/index.php | BaptisteHugot/informationPageWeb | f01e61889455b9f881fa3d531be7cfacdcc9e171 | [
"MIT"
] | null | null | null | <?php
/**
* @file index.php
* @brief Page permettant de récupérer les informations sur les adresses IP utilisées par un domaine
*/
declare(strict_types = 1); // On définit le mode strict
/* Code utilisé uniquement pour le débogage, à supprimer en production */
error_reporting(E_ALL);
ini_set('display_errors','1');
/... | 43.88961 | 559 | 0.701583 |
bb142ee448f53fa3d002b99a2fbaf4e729c92008 | 6,716 | cs | C# | src/WindowsAccessBridgeInterop/Win32/UnmanagedLibrary.cs | jonathanbp/access-bridge-explorer | f6ed6e9ea68b283a9230a498b9107a100a446612 | [
"Apache-2.0"
] | 101 | 2016-03-02T20:59:42.000Z | 2022-02-23T02:55:16.000Z | src/WindowsAccessBridgeInterop/Win32/UnmanagedLibrary.cs | jonathanbp/access-bridge-explorer | f6ed6e9ea68b283a9230a498b9107a100a446612 | [
"Apache-2.0"
] | 23 | 2016-03-04T19:49:33.000Z | 2021-07-17T03:43:34.000Z | src/WindowsAccessBridgeInterop/Win32/UnmanagedLibrary.cs | jonathanbp/access-bridge-explorer | f6ed6e9ea68b283a9230a498b9107a100a446612 | [
"Apache-2.0"
] | 46 | 2016-04-15T07:35:20.000Z | 2022-03-24T08:40:04.000Z | // Copyright 2015 Google Inc. All Rights Reserved.
//
// 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 b... | 42.238994 | 111 | 0.678678 |
14f233d9c45a39681fd7728662e668dbf448cef5 | 2,102 | ts | TypeScript | src/domain/repos.ts | progre/nrf | a0b02e3b89d7388f0e151f7c2234ca77ba564e53 | [
"MIT"
] | 12 | 2017-01-08T14:46:30.000Z | 2021-02-27T22:15:46.000Z | src/domain/repos.ts | progre/nrf | a0b02e3b89d7388f0e151f7c2234ca77ba564e53 | [
"MIT"
] | 7 | 2016-12-04T03:23:10.000Z | 2017-09-25T12:49:31.000Z | src/domain/repos.ts | progre/nrf | a0b02e3b89d7388f0e151f7c2234ca77ba564e53 | [
"MIT"
] | null | null | null | export const SERVICES = [
{
name: 'restreamio',
icon: 'https://restream.io/favicon.ico',
url: 'https://restream.io/',
label: 'Restream.io',
pushBy: null,
supportedByRestreamIo: false,
},
{
name: 'twitch',
icon: 'https://www.twitch.tv/favicon.ico',
url: 'https://www.twitch.tv/',... | 22.602151 | 65 | 0.584681 |
bc6324b46000ca49f60ae5205dfa046e0aa768d9 | 2,046 | swift | Swift | Sources/Hope/Hope.swift | thousandyears/ThousandExtensions | 91c1b21a64301d285e13ac1c23243ba754fc16d4 | [
"MIT"
] | 6 | 2020-12-11T16:04:06.000Z | 2022-03-02T19:46:46.000Z | Sources/Hope/Hope.swift | thousandyears/ThousandExtensions | 91c1b21a64301d285e13ac1c23243ba754fc16d4 | [
"MIT"
] | 4 | 2020-05-21T09:19:30.000Z | 2020-11-15T11:34:20.000Z | Sources/Hope/Hope.swift | thousandyears/ThousandExtensions | 91c1b21a64301d285e13ac1c23243ba754fc16d4 | [
"MIT"
] | 1 | 2020-12-01T14:03:04.000Z | 2020-12-01T14:03:04.000Z | @_exported import XCTest
infix operator ± : RangeFormationPrecedence
public typealias hope = Test
public struct Test<T> {
public let value: () throws -> T
public let file: StaticString
public let line: UInt
}
extension Test {
public init(
_ value: @escaping @autoclosure () throws -> T,
... | 26.571429 | 96 | 0.581134 |
20be771f816a28cfadc3ec8d0c918bab3a054018 | 459 | py | Python | proxy/examples/simple/libraries/data_transfer/mqtt_transfer.py | Smart-IoT-Systems/FaaS4IoT | 094609808cf377d948ef99d2b752b806d05c756e | [
"Apache-2.0"
] | null | null | null | proxy/examples/simple/libraries/data_transfer/mqtt_transfer.py | Smart-IoT-Systems/FaaS4IoT | 094609808cf377d948ef99d2b752b806d05c756e | [
"Apache-2.0"
] | null | null | null | proxy/examples/simple/libraries/data_transfer/mqtt_transfer.py | Smart-IoT-Systems/FaaS4IoT | 094609808cf377d948ef99d2b752b806d05c756e | [
"Apache-2.0"
] | 1 | 2021-08-17T08:38:00.000Z | 2021-08-17T08:38:00.000Z | import paho.mqtt.client as mqtt
def on_connect(client, userdata, flags, rc):
print("Connected to mqtt broker with result code"+str(rc))
def publish(client,topic,dataToPublish):
#client = mqtt.Client()
client.publish(topic,dataToPublish,0)
#print("here we are in publish method",dataToPublish)
def configConnection... | 28.6875 | 59 | 0.777778 |
c3aea2003046a9b268751a56caf456dd008d5fa3 | 187 | cs | C# | src/Day20/TransformKinds.cs | qbit86/advent-of-code-2020-public | ba8e5925b67064a5b90e8a31fbc6b65fabab5a3b | [
"MIT"
] | null | null | null | src/Day20/TransformKinds.cs | qbit86/advent-of-code-2020-public | ba8e5925b67064a5b90e8a31fbc6b65fabab5a3b | [
"MIT"
] | null | null | null | src/Day20/TransformKinds.cs | qbit86/advent-of-code-2020-public | ba8e5925b67064a5b90e8a31fbc6b65fabab5a3b | [
"MIT"
] | null | null | null | using System;
namespace AdventOfCode2020
{
[Flags]
public enum TransformKinds
{
None = 0,
FlipX = 1,
FlipY = 0b10,
Transpose = 0b100
}
}
| 13.357143 | 30 | 0.529412 |
455199a498d300b4645fc0b3734da54bee4fb8c0 | 4,026 | py | Python | NippoKun/report/tests/test_search.py | KIKUYA-Takumi/Nippokun | aa82f97aaf5b61d94b213425f28314a248914eb9 | [
"MIT"
] | null | null | null | NippoKun/report/tests/test_search.py | KIKUYA-Takumi/Nippokun | aa82f97aaf5b61d94b213425f28314a248914eb9 | [
"MIT"
] | 4 | 2016-10-19T00:23:21.000Z | 2016-11-04T01:29:08.000Z | NippoKun/report/tests/test_search.py | KIKUYA-Takumi/NippoKun | aa82f97aaf5b61d94b213425f28314a248914eb9 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.db.models import Q
from django.test import TestCase, Client, RequestFactory
from ..models import Report
# Create your tests here.
class SearchTest(TestCase):
def setUp(self):
self.client = Client()
self.client.post('/report/user_register/'... | 39.470588 | 96 | 0.55539 |
4d246f00c4617394e93f4718ad95b5c003c9d867 | 286 | sh | Shell | code/run_test_denoiser.sh | RulinShao/denoised-smoothing | 644d335ad8c3348c32f5b5b4779f0e80e0c54d73 | [
"MIT"
] | null | null | null | code/run_test_denoiser.sh | RulinShao/denoised-smoothing | 644d335ad8c3348c32f5b5b4779f0e80e0c54d73 | [
"MIT"
] | null | null | null | code/run_test_denoiser.sh | RulinShao/denoised-smoothing | 644d335ad8c3348c32f5b5b4779f0e80e0c54d73 | [
"MIT"
] | null | null | null |
export IMAGENET_DIR=/home/xc150/certify/discrete/smoothing-master
python test_denoiser.py \
--dataset imagenet \
--noise_sd 0.25 \
--denoiser denoiser/resnet152/sigma_25/best.pth.tar \
--clf resnet152 \
--outdir test_deno/resnet152/sigma_25 \
--batch 128 \
--gpu 0,1,2,3 | 26 | 65 | 0.72028 |
9376b61a21ae5b5a375e0f74ef6c2f453a4c152c | 3,917 | cs | C# | Assets/Scripts/Handlers/MultiTouchCurvedNoteDetector.cs | nopponaim603/BMP-U | 52072a1134d8a4304a41013c3b8d141da8a348a9 | [
"Artistic-2.0"
] | 74 | 2016-05-29T21:06:53.000Z | 2022-02-11T11:42:44.000Z | Assets/Scripts/Handlers/MultiTouchCurvedNoteDetector.cs | nopponaim603/BMP-U | 52072a1134d8a4304a41013c3b8d141da8a348a9 | [
"Artistic-2.0"
] | 1 | 2020-08-02T13:00:14.000Z | 2020-08-02T13:00:14.000Z | Assets/Scripts/Handlers/MultiTouchCurvedNoteDetector.cs | nopponaim603/BMP-U | 52072a1134d8a4304a41013c3b8d141da8a348a9 | [
"Artistic-2.0"
] | 17 | 2017-06-30T13:20:39.000Z | 2021-12-28T02:58:50.000Z | using UnityEngine;
using System.Collections.Generic;
using BMS;
using BMS.Visualization;
[RequireComponent(typeof(NoteSpawnerSP))]
public class MultiTouchCurvedNoteDetector : MonoBehaviour {
public Camera hitTestCamera;
public NoteDetector noteDetector;
public NoteSpawnerSP noteSpawner;
public float ... | 44.011236 | 178 | 0.615777 |
7f90f064bc8353a357a69a285f0f502041fcffa2 | 498 | php | PHP | config/dependencies.php | ingenerator/pigeonhole | ac83220dbf5ace02afab4b4cc736ca8ea38fffe0 | [
"BSD-3-Clause"
] | null | null | null | config/dependencies.php | ingenerator/pigeonhole | ac83220dbf5ace02afab4b4cc736ca8ea38fffe0 | [
"BSD-3-Clause"
] | null | null | null | config/dependencies.php | ingenerator/pigeonhole | ac83220dbf5ace02afab4b4cc736ca8ea38fffe0 | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* Dependency container configuration for pigeonhole, to use
* with https://github.com/zeelot/kohana-dependencies
*/
return array(
'pigeonhole' => array(
'_settings' => array(
'class' => 'Ingenerator\Pigeonhole\Pigeonhole',
'arguments' => array('%session%'),
'shared' => TRUE,
),
... | 22.636364 | 61 | 0.568273 |
8454cba942c0840c4d03e85a8497e5d8e5a2330d | 135 | lua | Lua | src/items/keys/document.lua | snpster/hawkthorne-journey | 123632f84602f34b51fc514106fdde2d296ebc15 | [
"MIT"
] | null | null | null | src/items/keys/document.lua | snpster/hawkthorne-journey | 123632f84602f34b51fc514106fdde2d296ebc15 | [
"MIT"
] | null | null | null | src/items/keys/document.lua | snpster/hawkthorne-journey | 123632f84602f34b51fc514106fdde2d296ebc15 | [
"MIT"
] | null | null | null | return{
name = "document",
description = "Document",
type = "key",
info = "An important- looking document",
MAX_ITEMS = 1,
}
| 16.875 | 42 | 0.622222 |
b782ae90c712d56dc5301eed9c6d2457122afd3f | 999 | cpp | C++ | Common01/Source/Common/Log/LogConsumerConsole.cpp | DavidCoenFish/game02 | 3011cf2fe069b579759aa95333cb406a8ff52d53 | [
"Unlicense"
] | null | null | null | Common01/Source/Common/Log/LogConsumerConsole.cpp | DavidCoenFish/game02 | 3011cf2fe069b579759aa95333cb406a8ff52d53 | [
"Unlicense"
] | null | null | null | Common01/Source/Common/Log/LogConsumerConsole.cpp | DavidCoenFish/game02 | 3011cf2fe069b579759aa95333cb406a8ff52d53 | [
"Unlicense"
] | null | null | null | #include "CommonPCH.h"
#include "Common/Log/LogConsumerConsole.h"
#include "Common/Log/Log.h"
#include "Common/Util/Utf8.h"
LogConsumerConsole::LogConsumerConsole(const std::vector<bool>& topicFilterArrayOrEmpty)
: m_topicFilterArrayOrEmpty(topicFilterArrayOrEmpty)
{
if (TRUE == AttachConsole(ATTACH_PARENT_PROC... | 24.975 | 88 | 0.703704 |
0aca4d9ca5d5daedfddfc1eb3ea153eb4faf9265 | 267 | cs | C# | SkyStore.Api/Mapping/ModelDTOMapProfile.cs | lowellrueca/SkyStore | 5b57b2f55674372f1525f4d61171eba1709bf5cf | [
"MIT"
] | 1 | 2022-01-09T04:04:54.000Z | 2022-01-09T04:04:54.000Z | SkyStore.Api/Mapping/ModelDTOMapProfile.cs | lowellrueca/SkyStore | 5b57b2f55674372f1525f4d61171eba1709bf5cf | [
"MIT"
] | null | null | null | SkyStore.Api/Mapping/ModelDTOMapProfile.cs | lowellrueca/SkyStore | 5b57b2f55674372f1525f4d61171eba1709bf5cf | [
"MIT"
] | null | null | null | using AutoMapper;
using SkyStore.DB.Models;
using SkyStore.Shared.DTO;
namespace SkyStore.Api.Mapping
{
public class ModelDTOMapProfile : Profile
{
public ModelDTOMapProfile()
{
CreateMap<Product, ProductDTO>();
}
}
}
| 17.8 | 45 | 0.640449 |
5db18a3a6b19a7799cfc90c49021f84d6f461dad | 255 | cpp | C++ | problem/01000~09999/01110/1110.cpp14.cpp | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/01000~09999/01110/1110.cpp14.cpp | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/01000~09999/01110/1110.cpp14.cpp | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | #include <iostream>
using namespace std;
int main(){
int N, val1, val2, count=0;
cin >> N;
int val3 = N;
do{
val1 = val3%10;
val2 = (val3/10+val1)%10;
val3 = val1*10+val2;
count++;
}while(val3!=N);
cout << count;
return 0;
} | 15.9375 | 29 | 0.556863 |
cafa32593f45942227a9b45c8a158b34b99e9c9c | 1,166 | rb | Ruby | lib/zeus/api_client/result.rb | CiscoZeus/ruby-zeusclient | 83721e5e30f7ef3ef71ef5d80cd4858686bb096a | [
"Apache-2.0"
] | null | null | null | lib/zeus/api_client/result.rb | CiscoZeus/ruby-zeusclient | 83721e5e30f7ef3ef71ef5d80cd4858686bb096a | [
"Apache-2.0"
] | 8 | 2016-10-19T21:36:08.000Z | 2021-05-24T05:12:01.000Z | lib/zeus/api_client/result.rb | CiscoZeus/ruby-zeusclient | 83721e5e30f7ef3ef71ef5d80cd4858686bb096a | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 Cisco Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... | 22.862745 | 74 | 0.684391 |
071ad69f4ddd62617b322e26202b5e7731a0772f | 378 | css | CSS | admin/src/main/webapp/app/css/app.css | remibantos/jeeshop | 8d24d210090c57fcb5580c4a9f25afe3532cdc95 | [
"Apache-2.0"
] | 45 | 2015-01-21T18:44:50.000Z | 2019-03-27T18:02:43.000Z | admin/src/main/webapp/app/css/app.css | remibantos/jeeshop | 8d24d210090c57fcb5580c4a9f25afe3532cdc95 | [
"Apache-2.0"
] | 28 | 2015-01-02T18:44:37.000Z | 2020-11-30T13:39:02.000Z | admin/src/main/webapp/app/css/app.css | remibantos/jeeshop | 8d24d210090c57fcb5580c4a9f25afe3532cdc95 | [
"Apache-2.0"
] | 45 | 2015-01-13T13:45:00.000Z | 2019-01-28T05:58:19.000Z | #loaderDiv {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:1100;
}
.ajax-loader {
position: absolute;
left: 50%;
top: 50%;
margin-left: -32px; /* -1 * image width / 2 */
margin-top: -32px; /* -1 * image height / 2 */
display: block;
}
.side_menu_item_... | 15.12 | 51 | 0.539683 |
e2f603c5ae6e42e16ccac0c3158c3b5c4e70a4e6 | 1,514 | py | Python | coarseactin/utils/HexGrid.py | cabb99/CoarseGrainedActin | 037dfddec2b985e529620e1b83d1cc48bd930b93 | [
"MIT"
] | 1 | 2021-03-02T22:45:04.000Z | 2021-03-02T22:45:04.000Z | coarseactin/utils/HexGrid.py | cabb99/CoarseGrainedActin | 037dfddec2b985e529620e1b83d1cc48bd930b93 | [
"MIT"
] | 1 | 2021-09-17T18:21:39.000Z | 2021-09-17T18:21:39.000Z | coarseactin/utils/HexGrid.py | cabb99/CoarseGrainedActin | 037dfddec2b985e529620e1b83d1cc48bd930b93 | [
"MIT"
] | null | null | null | import numpy as np
class HexGrid():
deltas = [[1, 0, -1], [0, 1, -1], [-1, 1, 0], [-1, 0, 1], [0, -1, 1], [1, -1, 0]]
a0 = 0
a1 = np.pi / 3
a2 = -np.pi / 3
vecs = np.array([[np.sqrt(3) * np.cos(a0), np.sin(a0) / np.sqrt(3)],
[np.sqrt(3) * np.cos(a1), np.sin(a1) / np.sqrt(3)],
... | 34.409091 | 89 | 0.416116 |
da39c25d42d745d254b4f452fd16665d80bb7a62 | 292 | rb | Ruby | lib/specinfra/command/freebsd/base/service.rb | mrkn/specinfra | 5eb0940fa837445aa51160884c5951ca594206fa | [
"MIT"
] | 163 | 2015-08-10T05:17:24.000Z | 2022-02-12T07:18:22.000Z | lib/specinfra/command/freebsd/base/service.rb | mrkn/specinfra | 5eb0940fa837445aa51160884c5951ca594206fa | [
"MIT"
] | 276 | 2015-07-28T15:23:30.000Z | 2022-03-31T03:13:46.000Z | lib/specinfra/command/freebsd/base/service.rb | mrkn/specinfra | 5eb0940fa837445aa51160884c5951ca594206fa | [
"MIT"
] | 239 | 2015-07-29T22:13:10.000Z | 2022-03-31T02:44:53.000Z | class Specinfra::Command::Freebsd::Base::Service < Specinfra::Command::Base::Service
class << self
def check_is_enabled(service, level=3)
"service #{escape(service)} enabled"
end
def check_is_running(service)
"service #{escape(service)} onestatus"
end
end
end
| 26.545455 | 84 | 0.688356 |
07902274af48a517e7c57dc6771c65324dd94f23 | 4,178 | hpp | C++ | src/eos/radiationProperties/zimmer.hpp | ubdsgroup/ablate | c469c1f8f334e37a8d33b22f5d30ee7801806c4b | [
"BSD-3-Clause"
] | null | null | null | src/eos/radiationProperties/zimmer.hpp | ubdsgroup/ablate | c469c1f8f334e37a8d33b22f5d30ee7801806c4b | [
"BSD-3-Clause"
] | null | null | null | src/eos/radiationProperties/zimmer.hpp | ubdsgroup/ablate | c469c1f8f334e37a8d33b22f5d30ee7801806c4b | [
"BSD-3-Clause"
] | null | null | null | #ifndef ABLATELIBRARY_RADIATIONPROPERTIESZIMMER_H
#define ABLATELIBRARY_RADIATIONPROPERTIESZIMMER_H
#include "eos/radiationProperties/radiationProperties.hpp"
#include "finiteVolume/compressibleFlowFields.hpp"
#include "radiationProperties.hpp"
#include "solver/cellSolver.hpp"
#include "utilities/mathUtilities.hpp"
n... | 46.422222 | 193 | 0.702489 |
05a1ba3132402582cd7e2a98818df2839f7bfe6e | 436 | py | Python | 201214/step_01.py | kurganITteacher/python-basics | a398c0e90ee76969d3fa4b8a0aa0a9cdd43f7af0 | [
"Apache-2.0"
] | null | null | null | 201214/step_01.py | kurganITteacher/python-basics | a398c0e90ee76969d3fa4b8a0aa0a9cdd43f7af0 | [
"Apache-2.0"
] | null | null | null | 201214/step_01.py | kurganITteacher/python-basics | a398c0e90ee76969d3fa4b8a0aa0a9cdd43f7af0 | [
"Apache-2.0"
] | 1 | 2020-10-11T16:05:00.000Z | 2020-10-11T16:05:00.000Z | def show_user(user):
print('имя:', user[0])
print('фамилия:', user[2])
print('возраст:', user[3])
user_1 = ['Иван', 'Иванович', 'Иванов', 21, 'г.Курган']
# 0 1 2 3 4
user_2 = ['Петр', 'Петрович', 'Петров', 19, 'г.Далматово']
user_3 = ['Сидорова', 'Валерьевна', 'Оксан... | 24.222222 | 63 | 0.557339 |
72791327bac731b1386e62d4939ff3721725b99b | 1,828 | h | C | ext/phalcon/encryption/crypt/padfactory.zep.h | tidytrax/cphalcon | f2dbbb86bbc3e9929878549a2dedbbb67211b9d1 | [
"BSD-3-Clause"
] | 2 | 2021-11-22T07:57:29.000Z | 2021-12-01T07:07:35.000Z | ext/phalcon/encryption/crypt/padfactory.zep.h | tidytrax/cphalcon | f2dbbb86bbc3e9929878549a2dedbbb67211b9d1 | [
"BSD-3-Clause"
] | 1 | 2019-03-02T21:31:55.000Z | 2019-03-02T21:31:55.000Z | ext/phalcon/encryption/crypt/padfactory.zep.h | tidytrax/cphalcon | f2dbbb86bbc3e9929878549a2dedbbb67211b9d1 | [
"BSD-3-Clause"
] | 3 | 2019-02-14T15:19:42.000Z | 2021-04-22T18:08:27.000Z |
extern zend_class_entry *phalcon_encryption_crypt_padfactory_ce;
ZEPHIR_INIT_CLASS(Phalcon_Encryption_Crypt_PadFactory);
PHP_METHOD(Phalcon_Encryption_Crypt_PadFactory, __construct);
PHP_METHOD(Phalcon_Encryption_Crypt_PadFactory, newInstance);
PHP_METHOD(Phalcon_Encryption_Crypt_PadFactory, padNumberToService);
PHP... | 49.405405 | 155 | 0.885667 |
a35f0bf74d01270835b2680df59fb26ce1440e4c | 1,596 | java | Java | zuul-auth-api-reward/src/main/java/com/linrry/auth/zuul/reward/api/controller/FundsController.java | YangDiA/spring-cloud-zuul-authentication | 24b562c7d4827f125523543d1b859f151d9ab541 | [
"Apache-2.0"
] | 8 | 2018-09-01T13:27:21.000Z | 2020-11-22T07:59:55.000Z | zuul-auth-api-reward/src/main/java/com/linrry/auth/zuul/reward/api/controller/FundsController.java | YangDiA/spring-cloud-zuul-authentication | 24b562c7d4827f125523543d1b859f151d9ab541 | [
"Apache-2.0"
] | null | null | null | zuul-auth-api-reward/src/main/java/com/linrry/auth/zuul/reward/api/controller/FundsController.java | YangDiA/spring-cloud-zuul-authentication | 24b562c7d4827f125523543d1b859f151d9ab541 | [
"Apache-2.0"
] | 4 | 2018-06-29T02:38:35.000Z | 2019-07-30T00:56:50.000Z | package com.linrry.auth.zuul.reward.api.controller;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.linrry.auth.zuul.common.Result;
import com.linrry.auth.zuul.common.controller.CrudController;
import com.linrry.auth.zuul.reward.api.entity.Funds;
import c... | 31.92 | 89 | 0.731203 |
d4e7f3bb260ab4b7b8c5cf6802e0fe315d592dbc | 2,031 | ts | TypeScript | packages/mint-components/src/components/sqm-portal-change-password/usePortalChangePassword.ts | saasquatch/program-tools | b06e5d9daf5f913d312e1a93657b9f41f0e1c595 | [
"MIT"
] | null | null | null | packages/mint-components/src/components/sqm-portal-change-password/usePortalChangePassword.ts | saasquatch/program-tools | b06e5d9daf5f913d312e1a93657b9f41f0e1c595 | [
"MIT"
] | 127 | 2019-03-08T01:02:44.000Z | 2022-03-03T19:08:53.000Z | packages/mint-components/src/components/sqm-portal-change-password/usePortalChangePassword.ts | saasquatch/program-tools | b06e5d9daf5f913d312e1a93657b9f41f0e1c595 | [
"MIT"
] | null | null | null | import { useEffect, useState } from "@saasquatch/universal-hooks";
import { PortalChangePassword } from "./sqm-portal-change-password";
import jsonpointer from "jsonpointer";
import {
useChangePasswordMutation,
useUserIdentity,
} from "@saasquatch/component-boilerplate";
export function usePortalChangePassword(pro... | 28.605634 | 77 | 0.669621 |
df3a4e06dd287d783fb0af7f02c6d126eaf8ce20 | 5,620 | cs | C# | GothosDC/LowLevel/SegmentArrayDictionary.cs | gothos-folly/TeraDataTools | e676b7145765da64dd8194ba7e1f807be3945666 | [
"MIT"
] | 15 | 2015-11-28T20:44:40.000Z | 2021-11-12T20:30:14.000Z | GothosDC/LowLevel/SegmentArrayDictionary.cs | Sheigetsu/TeraDataTools | d19fe8297967318a7d9781061794c16a1d7340d9 | [
"MIT"
] | 1 | 2015-12-27T13:26:46.000Z | 2015-12-27T13:26:46.000Z | GothosDC/LowLevel/SegmentArrayDictionary.cs | Sheigetsu/TeraDataTools | d19fe8297967318a7d9781061794c16a1d7340d9 | [
"MIT"
] | 20 | 2015-11-13T09:38:33.000Z | 2021-05-14T03:59:44.000Z | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace GothosDC.LowLevel
{
internal class VirtualReadOnlyCollection<T> : ICollection<T>
{
private readonly IEnumerable<T> _sequence;
private readonly int _count;
public VirtualR... | 29.424084 | 120 | 0.516192 |
2010875eda11f714f96416d6f3cc34078f62de39 | 588 | py | Python | astra/response.py | gurleen/astra-web | 901715bcce3439921d82cb362f9e1a0f6625fda3 | [
"Unlicense"
] | null | null | null | astra/response.py | gurleen/astra-web | 901715bcce3439921d82cb362f9e1a0f6625fda3 | [
"Unlicense"
] | null | null | null | astra/response.py | gurleen/astra-web | 901715bcce3439921d82cb362f9e1a0f6625fda3 | [
"Unlicense"
] | null | null | null | """
astra web framework
author: Gurleen Singh<gs585@drexel.edu>
"""
import json
import typing
DEFAULT_HEADERS = [
("Content-type", "text/plain"),
]
STATUS_CODES = {
200: "200 OK",
301: "301 Moved Permanently",
404: "404 Not Found",
405: "405 Method Not Allowed"
}
class Response:
def __init__... | 21 | 67 | 0.634354 |
f4b5d7f1ff4ff21b7867cfbdcbedf37bbb23d519 | 519 | ts | TypeScript | src/blockers/blocker.model.ts | dukaludic/task-manager-api | 7c4d5fb43c18ad29fd1824dc5541ec9c26198892 | [
"MIT"
] | null | null | null | src/blockers/blocker.model.ts | dukaludic/task-manager-api | 7c4d5fb43c18ad29fd1824dc5541ec9c26198892 | [
"MIT"
] | null | null | null | src/blockers/blocker.model.ts | dukaludic/task-manager-api | 7c4d5fb43c18ad29fd1824dc5541ec9c26198892 | [
"MIT"
] | null | null | null | import * as mongoose from 'mongoose';
export const BlockerSchema = new mongoose.Schema(
{
title: { type: String, required: true },
task_id: { type: String, required: true },
description: { type: String, required: true },
comments: { type: Array, required: true },
user_id: { type: String, required... | 24.714286 | 52 | 0.662813 |
0d36f1d9b9a915debcac4d12e07eee5d7d8cab16 | 4,512 | cs | C# | CSharp Advanced/CSharp Advanced Exams/CSharp Advanced Exam - 19 June 2016/01. Cubic Artillery/Program.cs | stoyanovmiroslav/CSharp-Fundamentals | f941c73adc341e39a696ad5a5563c845ca296141 | [
"MIT"
] | null | null | null | CSharp Advanced/CSharp Advanced Exams/CSharp Advanced Exam - 19 June 2016/01. Cubic Artillery/Program.cs | stoyanovmiroslav/CSharp-Fundamentals | f941c73adc341e39a696ad5a5563c845ca296141 | [
"MIT"
] | null | null | null | CSharp Advanced/CSharp Advanced Exams/CSharp Advanced Exam - 19 June 2016/01. Cubic Artillery/Program.cs | stoyanovmiroslav/CSharp-Fundamentals | f941c73adc341e39a696ad5a5563c845ca296141 | [
"MIT"
] | null | null | null | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace _01._Cubic_Artillery
{
class Program
{
static void Main(string[] args)
{
int bunkersCapacity = int.Parse(Console.ReadLine());
string input = "";
var dict ... | 34.442748 | 135 | 0.432624 |
b26c21a1e276e0ce22e91394dbddfa8d5b61e2bf | 816 | css | CSS | Universe.W3Top/ClientApp/src/components/MyC3.css | devizer/KernelManagementLab | 31380d5d0d24e6efd6cd482443d6f5219b76920d | [
"MIT"
] | 4 | 2019-04-20T06:44:29.000Z | 2021-08-02T03:21:54.000Z | Universe.W3Top/ClientApp/src/components/MyC3.css | devizer/KernelManagementLab | 31380d5d0d24e6efd6cd482443d6f5219b76920d | [
"MIT"
] | 9 | 2020-01-28T21:22:18.000Z | 2022-03-17T11:30:34.000Z | Universe.W3Top/ClientApp/src/components/MyC3.css | devizer/KernelManagementLab | 31380d5d0d24e6efd6cd482443d6f5219b76920d | [
"MIT"
] | null | null | null | .inactive-chart { opacity: 0.5}
text.c3-axis-x-label {
color: gray !important;
fill: gray !important;
}
text.c3-axis-y-label, text.c3-axis-y2-label {
color: #111 !important;
fill: #111 !important;
font-size: 11px !important;
}
.c3-line {
stroke-width: 3px !important;
}
#chart __circle { r: ... | 18.976744 | 76 | 0.605392 |
b0d74d87e094d09c0881fb214c8227631dbb222d | 4,864 | py | Python | speech_enhance/utils/utils.py | hit-thusz-RookieCJ/FullSubNet-plus | a6c89083cd083e729ca3def9a291743e8c3b516b | [
"Apache-2.0"
] | 41 | 2022-01-23T12:45:13.000Z | 2022-03-31T03:04:26.000Z | speech_enhance/utils/utils.py | hit-thusz-RookieCJ/FullSubNet-plus | a6c89083cd083e729ca3def9a291743e8c3b516b | [
"Apache-2.0"
] | 5 | 2022-01-24T07:05:01.000Z | 2022-03-29T12:58:07.000Z | speech_enhance/utils/utils.py | hit-thusz-RookieCJ/FullSubNet-plus | a6c89083cd083e729ca3def9a291743e8c3b516b | [
"Apache-2.0"
] | 10 | 2022-01-23T01:40:18.000Z | 2022-03-29T12:11:11.000Z | import os
import shutil
import yaml
import numpy as np
import torch
import torch.nn.functional as F
from .logger import log
def touch_dir(d):
os.makedirs(d, exist_ok=True)
def is_file_exists(f):
return os.path.exists(f)
def check_file_exists(f):
if not os.path.exists(f):
l... | 27.636364 | 90 | 0.58861 |
fba0df225d55a18ed604db073f7197cf3d8284a6 | 20,684 | ps1 | PowerShell | Tests/Unit/MSFT_AdfsGlobalWebcontent.Tests.ps1 | Yvand/AdfsDsc | f506bb96d49976c26c23660f728bfb0d2aba3191 | [
"MIT"
] | 6 | 2019-10-23T17:19:20.000Z | 2021-11-18T09:27:04.000Z | Tests/Unit/MSFT_AdfsGlobalWebcontent.Tests.ps1 | Yvand/AdfsDsc | f506bb96d49976c26c23660f728bfb0d2aba3191 | [
"MIT"
] | 51 | 2019-10-23T17:27:09.000Z | 2021-08-11T18:27:20.000Z | Tests/Unit/MSFT_AdfsGlobalWebcontent.Tests.ps1 | Yvand/AdfsDsc | f506bb96d49976c26c23660f728bfb0d2aba3191 | [
"MIT"
] | 3 | 2019-10-24T00:53:28.000Z | 2021-03-22T14:06:00.000Z | $script:dscModuleName = 'AdfsDsc'
$global:psModuleName = 'ADFS'
$script:dscResourceName = 'MSFT_AdfsGlobalWebContent'
function Invoke-TestSetup
{
try
{
Import-Module -Name DscResource.Test -Force -ErrorAction 'Stop'
}
catch [System.IO.FileNotFoundException]
{
throw 'DscR... | 65.455696 | 145 | 0.543028 |
24f979536a50fda65470572c2c74dca88ca9f7f7 | 53,940 | lua | Lua | assets/tiled/levels/cyberpunked.lua | mokalux/GDOC_03_B2D_PLATFORMER | 3bdcd33d62b9f7c7a2e7782ad167bbfded368fad | [
"MIT"
] | null | null | null | assets/tiled/levels/cyberpunked.lua | mokalux/GDOC_03_B2D_PLATFORMER | 3bdcd33d62b9f7c7a2e7782ad167bbfded368fad | [
"MIT"
] | null | null | null | assets/tiled/levels/cyberpunked.lua | mokalux/GDOC_03_B2D_PLATFORMER | 3bdcd33d62b9f7c7a2e7782ad167bbfded368fad | [
"MIT"
] | null | null | null | return {
version = "1.5",
luaversion = "5.1",
tiledversion = "2021.03.23",
orientation = "orthogonal",
renderorder = "right-down",
width = 276,
height = 44,
tilewidth = 16,
tileheight = 16,
nextlayerid = 19,
nextobjectid = 442,
properties = {},
tilesets = {},
layers = {
{
... | 22.953191 | 48 | 0.274212 |
75e8b7f6316b181fba760fd28dcc062744a01fcc | 74 | css | CSS | src/components/App/bootstrap-overrides.css | Aapzu/old-portfolio | f1e5dbbc5d937f34522308609b64ed3a709e3d20 | [
"Artistic-2.0"
] | null | null | null | src/components/App/bootstrap-overrides.css | Aapzu/old-portfolio | f1e5dbbc5d937f34522308609b64ed3a709e3d20 | [
"Artistic-2.0"
] | null | null | null | src/components/App/bootstrap-overrides.css | Aapzu/old-portfolio | f1e5dbbc5d937f34522308609b64ed3a709e3d20 | [
"Artistic-2.0"
] | null | null | null |
section > .row {
/* For some reason, this is needed */
width: 100%;
} | 14.8 | 39 | 0.581081 |
8eb979f891da269b26b76d780209cf85bcc1117b | 4,254 | h | C | Source/WebKit/GPUProcess/graphics/RemoteImageBufferProxy.h | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebKit/GPUProcess/graphics/RemoteImageBufferProxy.h | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebKit/GPUProcess/graphics/RemoteImageBufferProxy.h | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2020 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 46.23913 | 212 | 0.766338 |
fd9d110c525840b6ff1503fea15c76c192593a7f | 506 | css | CSS | public/css/bootstrap-panel.css | softactor/challege_school | ec6f1aca6a405426875a0b3fa0636d2e591dc29c | [
"MIT"
] | null | null | null | public/css/bootstrap-panel.css | softactor/challege_school | ec6f1aca6a405426875a0b3fa0636d2e591dc29c | [
"MIT"
] | 5 | 2021-03-10T15:05:41.000Z | 2022-02-27T03:17:45.000Z | public/css/bootstrap-panel.css | softactor/challege_school | ec6f1aca6a405426875a0b3fa0636d2e591dc29c | [
"MIT"
] | null | null | null | .panel {
margin-bottom: 20px;
background-color: #fff;
border: 1px solid transparent;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.panel-default {
border-color: #ddd;
}
.panel-default>.panel-heading {
color: #333;
background-color: #f5f5f5;
border-color: #ddd;
}
... | 21.083333 | 50 | 0.644269 |
444ab8aade30730cc88a7df30405f132f9e800cb | 679 | py | Python | twitch_uninstall_services.py | europaYuu/RaspiTwitchONAIR | 8fa7a5f457a297e9b06fb946e89c33a0d49e335f | [
"MIT"
] | null | null | null | twitch_uninstall_services.py | europaYuu/RaspiTwitchONAIR | 8fa7a5f457a297e9b06fb946e89c33a0d49e335f | [
"MIT"
] | null | null | null | twitch_uninstall_services.py | europaYuu/RaspiTwitchONAIR | 8fa7a5f457a297e9b06fb946e89c33a0d49e335f | [
"MIT"
] | null | null | null | import os
os.system('sudo systemctl disable twitch_onair_webserver_service')
os.system('sudo systemctl disable twitch_onair_neopixel_service')
os.system('sudo systemctl disable powerButton')
os.system('sudo systemctl disable functionButton')
os.system('sudo systemctl disable oled_service')
os.system('sudo rm /lib/syst... | 52.230769 | 79 | 0.821797 |
2caf4f07438e65cc804bea91704c942233c37e81 | 4,344 | cpp | C++ | Client/Client.cpp | laboox/Computer-Networks-CA3-S2015 | 1c6d6cd03be06c1978dda355bdeb2401d6d154d5 | [
"MIT"
] | null | null | null | Client/Client.cpp | laboox/Computer-Networks-CA3-S2015 | 1c6d6cd03be06c1978dda355bdeb2401d6d154d5 | [
"MIT"
] | null | null | null | Client/Client.cpp | laboox/Computer-Networks-CA3-S2015 | 1c6d6cd03be06c1978dda355bdeb2401d6d154d5 | [
"MIT"
] | null | null | null | /**
* File "Client.cpp"
* Created by Sina on Sun May 31 13:39:03 2015.
*/
#include "Client.h"
Client::Client(string name, address IP, address serverIp, int routerPort)
: SuperClient(IP, serverIp, routerPort)
{
this->name = name;
}
void Client::run(){
fd_set router_fds, read_fds;
FD_ZERO(&... | 24.542373 | 84 | 0.508748 |
9a2dc92363264084f98d8ea7dc8c7c656edfb3b7 | 489 | lua | Lua | Carbon/Callisto/Tests/NamedArrayLookup.lua | lua-carbon/what-is-carbon | f1aaddba30651d4e4956242f8f650ce085867346 | [
"Zlib"
] | 38 | 2015-02-13T03:12:01.000Z | 2021-10-10T06:32:15.000Z | Carbon/Callisto/Tests/NamedArrayLookup.lua | lua-carbon/what-is-carbon | f1aaddba30651d4e4956242f8f650ce085867346 | [
"Zlib"
] | 101 | 2015-02-13T00:46:20.000Z | 2015-08-21T03:20:43.000Z | Carbon/Callisto/Tests/NamedArrayLookup.lua | lua-carbon/what-is-carbon | f1aaddba30651d4e4956242f8f650ce085867346 | [
"Zlib"
] | 8 | 2015-03-15T14:01:29.000Z | 2020-09-01T06:08:12.000Z | local Callisto = (...)
local TestUtil = Callisto.TestUtil
local settings = {}
local source = [=[
local vec = {1, 2, 3, 4}
Output.a = {vec->xyzw}
Output.b = {vec->wzyx}
Output.c = vec->x + vec->y + vec->z + vec->w
local x, y, z, w = vec->xywz * 2
Output.d = x + y + z + w
local b = {vec->xyzw + 1}
Output.e = b->x +... | 16.862069 | 55 | 0.548057 |
58f3c7218f59c3954722c5f38978885816421166 | 4,717 | css | CSS | css/table.css | jonese1234/Csgo-Cases | ddb1dccf3bcaf68d74ae9ce22f104d05998005db | [
"MIT"
] | null | null | null | css/table.css | jonese1234/Csgo-Cases | ddb1dccf3bcaf68d74ae9ce22f104d05998005db | [
"MIT"
] | null | null | null | css/table.css | jonese1234/Csgo-Cases | ddb1dccf3bcaf68d74ae9ce22f104d05998005db | [
"MIT"
] | null | null | null | * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
font-family: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
color: #5e5d52;
}
a {
... | 19.736402 | 76 | 0.635573 |
f148459294304ab7c6ed90b8831e65c6c456d4fd | 64 | rb | Ruby | lib/asciidoctor-latex/version.rb | jirutka/asciidoctor-latex | 120051b3146645717deb02cf3a01c734504f47df | [
"MIT"
] | null | null | null | lib/asciidoctor-latex/version.rb | jirutka/asciidoctor-latex | 120051b3146645717deb02cf3a01c734504f47df | [
"MIT"
] | null | null | null | lib/asciidoctor-latex/version.rb | jirutka/asciidoctor-latex | 120051b3146645717deb02cf3a01c734504f47df | [
"MIT"
] | null | null | null | module Asciidoctor
module LaTeX
VERSION = '1.5.0.dev'
end
end
| 10.666667 | 23 | 0.734375 |
66b5f4e7f2e41fb3addc6ccf03f906a29b33f67b | 912 | kt | Kotlin | app/src/main/java/com/fave/breezil/fave/repository/NetworkState.kt | breel93/Fave | a5b774548bb1c747bbb4a0263031f6935eca3c75 | [
"Apache-2.0"
] | 3 | 2019-05-01T15:41:54.000Z | 2019-05-16T05:03:46.000Z | app/src/main/java/com/fave/breezil/fave/repository/NetworkState.kt | breel93/Fave | a5b774548bb1c747bbb4a0263031f6935eca3c75 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/fave/breezil/fave/repository/NetworkState.kt | breel93/Fave | a5b774548bb1c747bbb4a0263031f6935eca3c75 | [
"Apache-2.0"
] | 2 | 2019-05-01T15:41:59.000Z | 2019-05-02T16:53:53.000Z | /**
* Designed and developed by Fave
*
* 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 agre... | 27.636364 | 75 | 0.724781 |
1a8027fa13bfc3f9070de05f89dc571b7fabad99 | 242 | py | Python | srv-manuals/pyinfra/deploy.py | 0054/lab | da1637ecc334a716084de55fe01741f208859c3b | [
"MIT"
] | null | null | null | srv-manuals/pyinfra/deploy.py | 0054/lab | da1637ecc334a716084de55fe01741f208859c3b | [
"MIT"
] | null | null | null | srv-manuals/pyinfra/deploy.py | 0054/lab | da1637ecc334a716084de55fe01741f208859c3b | [
"MIT"
] | null | null | null | import pyinfra.operations as o
import pyinfra
from pyinfra.operations import yum, server, apt
server.shell(
name = 'Run shell command',
commands = 'df -h')
yum.packages(
packages = ['bash-completions']
)
| 15.125 | 47 | 0.632231 |
7969b32e76a8968588739686191811efd24dfa81 | 936 | php | PHP | php/topq.php | lostleaf/ccxt | da44f61e102fcaf07038dda05eb74ff24698d3dc | [
"MIT"
] | 3 | 2020-05-10T12:51:24.000Z | 2021-04-20T21:36:43.000Z | php/topq.php | lostleaf/ccxt | da44f61e102fcaf07038dda05eb74ff24698d3dc | [
"MIT"
] | null | null | null | php/topq.php | lostleaf/ccxt | da44f61e102fcaf07038dda05eb74ff24698d3dc | [
"MIT"
] | 2 | 2019-04-17T02:49:29.000Z | 2019-06-01T06:45:50.000Z | <?php
namespace ccxt;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
use Exception; // a common import
class topq extends bw {
public function describe() {
return array_replace_recursive(parent... | 33.428571 | 128 | 0.560897 |
2faf00b8e104742fdb683cc2c929e7980aa070a9 | 2,004 | py | Python | yolo/model/backbone/path_aggregation_network.py | f-fl0/YOLOv5-PyTorch | de5edc8f67ef355337faa8deb68c8a9ddeecdb33 | [
"MIT"
] | 125 | 2020-08-09T13:21:24.000Z | 2022-03-22T06:45:39.000Z | yolo/model/backbone/path_aggregation_network.py | f-fl0/YOLOv5-PyTorch | de5edc8f67ef355337faa8deb68c8a9ddeecdb33 | [
"MIT"
] | 7 | 2020-10-16T08:40:55.000Z | 2022-02-17T10:03:29.000Z | yolo/model/backbone/path_aggregation_network.py | f-fl0/YOLOv5-PyTorch | de5edc8f67ef355337faa8deb68c8a9ddeecdb33 | [
"MIT"
] | 25 | 2020-11-01T05:17:08.000Z | 2021-12-29T11:41:36.000Z | import torch
from torch import nn
from .utils import Conv, ConcatBlock
class PathAggregationNetwork(nn.Module):
def __init__(self, in_channels_list, depth):
super().__init__()
self.inner_blocks = nn.ModuleList()
self.layer_blocks = nn.ModuleList()
self.upsample_blocks = nn.ModuleL... | 40.897959 | 110 | 0.588822 |
794a98566e6efab5f2cac029a9a88f2ffd0a1b65 | 7,238 | php | PHP | app/Http/Controllers/PermissionsController.php | cheloynesh/trazenta | 457b15e9a9ee27850f3549cafc94eb74a3439f9e | [
"MIT"
] | null | null | null | app/Http/Controllers/PermissionsController.php | cheloynesh/trazenta | 457b15e9a9ee27850f3549cafc94eb74a3439f9e | [
"MIT"
] | null | null | null | app/Http/Controllers/PermissionsController.php | cheloynesh/trazenta | 457b15e9a9ee27850f3549cafc94eb74a3439f9e | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Profile;
use App\Permission;
use App\Section;
use App\User;
use DB;
class PermissionsController extends Controller
{
public function index(){
$profiles = Profile::pluck('name','id');
$profile = User::findProfile();
... | 48.253333 | 143 | 0.453716 |
dfbb9614ff52bf3736fff5a4d3e2981c96a2d2c5 | 236 | cs | C# | Zombie/ZombieView.xaml.cs | HOKGroup/Zombie | c65d4ea8d6e7c8a8786a93139ca50415775b40df | [
"MIT"
] | 27 | 2018-07-03T16:13:55.000Z | 2021-04-20T10:02:37.000Z | Zombie/ZombieView.xaml.cs | HOKGroup/Zombie | c65d4ea8d6e7c8a8786a93139ca50415775b40df | [
"MIT"
] | 30 | 2018-07-03T21:28:59.000Z | 2020-08-11T04:05:33.000Z | Zombie/ZombieView.xaml.cs | HOKGroup/Zombie | c65d4ea8d6e7c8a8786a93139ca50415775b40df | [
"MIT"
] | 3 | 2018-07-09T22:12:02.000Z | 2020-04-19T19:32:58.000Z | namespace Zombie
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class ZombieView
{
public ZombieView()
{
InitializeComponent();
}
}
}
| 16.857143 | 45 | 0.529661 |
e27ec36e01ab918b82fb217fe1587fb07b2b95c0 | 9,769 | js | JavaScript | odoo-13.0/addons/web/static/src/js/fields/signature.js | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 12 | 2021-03-26T08:39:40.000Z | 2022-03-16T02:20:10.000Z | odoo-13.0/addons/web/static/src/js/fields/signature.js | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 13 | 2020-12-20T16:00:21.000Z | 2022-03-14T14:55:30.000Z | odoo-13.0/addons/web/static/src/js/fields/signature.js | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 17 | 2020-08-31T11:18:49.000Z | 2022-02-09T05:57:31.000Z | odoo.define('web.Signature', function (require) {
"use strict";
var AbstractFieldBinary = require('web.basic_fields').AbstractFieldBinary;
var core = require('web.core');
var Dialog = require('web.Dialog');
var field_utils = require('web.field_utils');
var NameAndSignature = require('web.name_a... | 34.397887 | 140 | 0.521855 |
a3497b126f5eeaf68d308126449a9ab7432d6390 | 1,499 | java | Java | src/main/java/com/google/security/zynamics/binnavi/disassembly/AddressSpaces/CAddressSpaceListenerAdapter.java | bowlofstew/binnavi | 4565cbc7884d30ac0ca9ce379912bbd82b78f254 | [
"Apache-2.0"
] | 1 | 2021-09-29T01:49:00.000Z | 2021-09-29T01:49:00.000Z | src/main/java/com/google/security/zynamics/binnavi/disassembly/AddressSpaces/CAddressSpaceListenerAdapter.java | bowlofstew/binnavi | 4565cbc7884d30ac0ca9ce379912bbd82b78f254 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/google/security/zynamics/binnavi/disassembly/AddressSpaces/CAddressSpaceListenerAdapter.java | bowlofstew/binnavi | 4565cbc7884d30ac0ca9ce379912bbd82b78f254 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2015 Google Inc. All Rights Reserved.
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 ... | 31.893617 | 98 | 0.779853 |
fa43abe574becae19946a822d743f83aaf3c239e | 561 | cpp | C++ | infer/tests/build_systems/deduplicate_template_warnings/src/templates.cpp | JacobBarthelmeh/infer | 12c582a69855e17a2cf9c7b6cdf7f8e9c71e5341 | [
"MIT"
] | 14,499 | 2015-06-11T16:00:28.000Z | 2022-03-31T23:43:54.000Z | infer/tests/build_systems/deduplicate_template_warnings/src/templates.cpp | JacobBarthelmeh/infer | 12c582a69855e17a2cf9c7b6cdf7f8e9c71e5341 | [
"MIT"
] | 1,529 | 2015-06-11T16:55:30.000Z | 2022-03-27T15:59:46.000Z | infer/tests/build_systems/deduplicate_template_warnings/src/templates.cpp | JacobBarthelmeh/infer | 12c582a69855e17a2cf9c7b6cdf7f8e9c71e5341 | [
"MIT"
] | 2,225 | 2015-06-11T16:36:10.000Z | 2022-03-31T05:16:59.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// we should only report one dead store warning on this file
template <class T>
T* unused_var_template_bad() {
int i = 42;
ret... | 26.714286 | 76 | 0.736185 |
f5acdbe1175439e8bb8c041a191540d3b869f2b5 | 957 | css | CSS | packages/react-tc-ui-kit/src/components/NativeSelect/NativeSelect.css | TourmalineCore/React-Packages | a5cbbf334e30a191a54817c3320daf4e1872d67b | [
"MIT"
] | null | null | null | packages/react-tc-ui-kit/src/components/NativeSelect/NativeSelect.css | TourmalineCore/React-Packages | a5cbbf334e30a191a54817c3320daf4e1872d67b | [
"MIT"
] | 12 | 2021-01-26T05:21:21.000Z | 2021-06-17T09:48:32.000Z | packages/react-tc-ui-kit/src/components/NativeSelect/NativeSelect.css | TourmalineCore/React-Packages | a5cbbf334e30a191a54817c3320daf4e1872d67b | [
"MIT"
] | null | null | null | .tc-native-select__label {
display: block;
margin-bottom: 6px;
line-height: 1.2;
}
.tc-native-select__control {
border: 1px solid #bac4ca;
border-radius: 10px;
padding: 0 38px 0 16px;
width: 100%;
height: 42px;
box-sizing: border-box;
box-shadow: none;
font-family: inherit;
font-weight: inherit... | 26.583333 | 260 | 0.69488 |
e1f47856e8e72282c7ab646d364bda2cc40a97bc | 1,091 | cpp | C++ | stacks_queues/assignments/stock_span.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | stacks_queues/assignments/stock_span.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | stacks_queues/assignments/stock_span.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | class Node {
public:
int data;
int index;
Node *next;
Node(int data, int index){
this -> data = data;
this -> index = index;
this -> next = NULL;
}
};
class Stack {
Node *stackArr;
int size;
public:
Stack(){
stackArr = NULL;
size = 0;
}
... | 19.140351 | 61 | 0.454629 |
bfe6f08eef6673970e6f98ce3f48086d501b7e76 | 1,774 | swift | Swift | Sources/SATSCore/DNA/Font/SATSFont-TextStyle.swift | healthfitnessnordic/SATSCore-iOS | 66ca055876bdc92c5df250d140e916d1575eab13 | [
"MIT"
] | 3 | 2021-05-18T07:31:59.000Z | 2022-03-20T10:07:32.000Z | Sources/SATSCore/DNA/Font/SATSFont-TextStyle.swift | healthfitnessnordic/SATSCore-iOS | 66ca055876bdc92c5df250d140e916d1575eab13 | [
"MIT"
] | 12 | 2021-08-02T08:53:22.000Z | 2022-03-23T10:44:28.000Z | Sources/SATSCore/DNA/Font/SATSFont-TextStyle.swift | healthfitnessnordic/SATSCore-iOS | 66ca055876bdc92c5df250d140e916d1575eab13 | [
"MIT"
] | null | null | null | import UIKit
public extension SATSFont {
/// Semantic style for text in order to define a hierarchy with text elements
struct TextStyle: Equatable, Hashable {
public let size: CGFloat
/// An equivalent text style in UIKit. Used for dynamic type support
public let nativeStyle: UIFont.Te... | 41.255814 | 114 | 0.605411 |
db746d0d732951fbc1256b88c95d92c85a719f20 | 17,088 | php | PHP | config/router.php | fizk/kob-web | 50d0262df69922de4decc707c4e6863b1a4904a2 | [
"BSD-3-Clause"
] | null | null | null | config/router.php | fizk/kob-web | 50d0262df69922de4decc707c4e6863b1a4904a2 | [
"BSD-3-Clause"
] | null | null | null | config/router.php | fizk/kob-web | 50d0262df69922de4decc707c4e6863b1a4904a2 | [
"BSD-3-Clause"
] | null | null | null | <?php declare(strict_types=1);
use Mezzio\Helper\BodyParams\BodyParamsMiddleware;
use App\Handler;
use App\Middleware;
return [
'/' => [
'GET' => [
[
Middleware\DetectLanguageMiddleware::class,
Middleware\SessionMiddleware::class,
Middleware\Menu... | 28.244628 | 62 | 0.478991 |
8e6e0b7954dad646286291450f9849384e524478 | 478 | rb | Ruby | app/helpers/top_helper.rb | fuji-nakahara/genron-sf-app | fbc5184706ed90decf24fc54b9c43488c8f1c48f | [
"MIT"
] | null | null | null | app/helpers/top_helper.rb | fuji-nakahara/genron-sf-app | fbc5184706ed90decf24fc54b9c43488c8f1c48f | [
"MIT"
] | 16 | 2018-07-21T05:21:40.000Z | 2020-06-16T12:05:47.000Z | app/helpers/top_helper.rb | fuji-nakahara/genron-school-sf-app | fbc5184706ed90decf24fc54b9c43488c8f1c48f | [
"MIT"
] | null | null | null | module TopHelper
SubjectLabel = Struct.new(:theme, :text)
def subject_state_label(subject)
theme, text = case
when subject.comment_date&.>(Time.zone.today)
%w[primary 梗概提出]
when subject.work_comment_date&.>(Time.zone.today)
%w[success ... | 29.875 | 68 | 0.527197 |