identifier
stringlengths
42
383
collection
stringclasses
1 value
open_type
stringclasses
1 value
license
stringlengths
0
1.81k
date
float64
1.99k
2.02k
title
stringlengths
0
100
creator
stringlengths
1
39
language
stringclasses
157 values
language_type
stringclasses
2 values
word_count
int64
1
20k
token_count
int64
4
1.32M
text
stringlengths
5
1.53M
__index_level_0__
int64
0
57.5k
https://github.com/fangyiyu/NLP_WebApplication/blob/master/apps/urls.py
Github Open Source
Open Source
MIT
2,021
NLP_WebApplication
fangyiyu
Python
Code
34
138
from django.urls import include, path from . import views app_name = 'apps' urlpatterns = [ path("", views.index, name="index"), path('summarization/', views.summarize, name='summarize'), path('textgenerator/', views.textgenerator, name='textgenerator'), path('questions/', views.qa, name='qa'), pa...
44,815
https://github.com/Heitor01/projeto/blob/master/app/components/App.js
Github Open Source
Open Source
MIT
null
projeto
Heitor01
JavaScript
Code
133
437
import React from 'react'; import { Route } from 'react-router-dom'; import AppBar from 'material-ui/AppBar'; import Toolbar from 'material-ui/Toolbar'; import Typography from 'material-ui/Typography'; import IconButton from 'material-ui/IconButton'; import MenuIcon from 'material-ui-icons/Menu'; import Button from 'm...
21,755
https://github.com/ontopia/ontopia/blob/master/ontopia-engine/src/main/java/net/ontopia/topicmaps/impl/basic/SubjectIdentityCache.java
Github Open Source
Open Source
Apache-2.0
2,022
ontopia
ontopia
Java
Code
594
1,649
/* * #! * Ontopia Engine * #- * Copyright (C) 2001 - 2013 The Ontopia Project * #- * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
28,847
https://github.com/Neticle/ark/blob/master/src/main/java/pt/neticle/ark/base/ApplicationComponent.java
Github Open Source
Open Source
Apache-2.0
2,018
ark
Neticle
Java
Code
129
216
// Copyright 2018 Igor Azevedo <igor.azevedo@neticle.pt> // // 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 appli...
27,239
https://github.com/cptechinc/ugm-dplus/blob/master/site/templates/twig/code-tables/mar/ctm/edit-code-form-customer.twig
Github Open Source
Open Source
MIT
null
ugm-dplus
cptechinc
Twig
Code
148
623
{% extends 'code-tables/mar/ctm/edit-code-form.twig' %} {% block extra_fields %} {% include 'code-tables/mar/ctm/ledger-code-select.twig' with {'field' : 'gl_sales', 'label': 'Sales', 'value': code.account_sales, 'gl_codes': gl_codes} %} {% include 'code-tables/mar/ctm/ledger-code-select.twig' with {'field' : 'gl_c...
28,010
https://github.com/oracle-quickstart/oci-azure-interconnect/blob/master/existing-environment/networkgateway.tf
Github Open Source
Open Source
MIT
2,022
oci-azure-interconnect
oracle-quickstart
HCL
Code
104
432
# ------ Create Virtual Network Gateway on Azure resource "azurerm_virtual_network_gateway" "virtual_network_gateway" { provider = azurerm.azure name = var.virtual_network_gateway_name location = data.azurerm_resource_group.resource_group_name.location resource_group_name = ...
41,917
https://github.com/monkeykingstudio/fourmislabs_front/blob/master/src/styles/global/_mixins.scss
Github Open Source
Open Source
Unlicense
null
fourmislabs_front
monkeykingstudio
SCSS
Code
48
110
@mixin breakpoint($point) { @if $point == large { @media (min-width: 1200px) { @content ; } } @else if $point == medium { @media (min-width: 768px) and (max-width: 1190px) { @content ; } } @else if $point == small { @media (max-width: 767px) { @content ; } } }
2,443
https://github.com/planetouched/Unity3d_OEPFramework_Basement/blob/master/BLFramework/Core/Reference/Collection/LazyArray.cs
Github Open Source
Open Source
MIT
2,020
Unity3d_OEPFramework_Basement
planetouched
C#
Code
89
304
using System.Collections.Generic; using Basement.BLFramework.Core.Context; using Basement.BLFramework.Core.Reference.Description; using Basement.Common; namespace Basement.BLFramework.Core.Reference.Collection { public class LazyArray<TValue> : LazyCollectionBase<int, TValue> where TValue : IDescription { ...
29,716
https://github.com/bradfordboyle/pgeu-system/blob/master/postgresqleu/invoices/payment.py
Github Open Source
Open Source
MIT
2,022
pgeu-system
bradfordboyle
Python
Code
262
825
# The PaymentMethodWrapper needs to be in it's own file, so we don't # create a circular dependency between models and util. from django.utils.safestring import mark_safe class PaymentMethodWrapper(object): def __init__(self, method, invoice, returnurl=None): self.method = method self.invoice = i...
25,441
https://github.com/manasa-konidena/DataStructuresAndAlgos/blob/master/DataStructuresAndAlgos/StringsAndArrays/ComputePlusOne.cs
Github Open Source
Open Source
MIT
null
DataStructuresAndAlgos
manasa-konidena
C#
Code
108
333
namespace DataStructuresAndAlgos.StringsAndArrays; public class ComputePlusOne { private int[] PlusOne(int[] digits) { var result = new LinkedList<int>(); int i = digits.Length - 1; int carryOver = 0; int toAdd = 1; while(i >= 0) { if(toAdd == 0 && c...
4,971
https://github.com/rubensworks/Client.js/blob/master/queries/inconsistent.sparql
Github Open Source
Open Source
MIT
2,021
Client.js
rubensworks
null
Spoken
16
52
SELECT ?person WHERE { ?person foaf:givenName "Reginald Paul Stefan Penxten"@en. ?person foaf:givenName "Angela Maria DiFranco"@en. }
39,912
https://github.com/UNC-Libraries/hy-c/blob/master/app/lib/bulkrax.rb
Github Open Source
Open Source
Apache-2.0
2,019
hy-c
UNC-Libraries
Ruby
Code
655
1,863
# frozen_string_literal: true # [hyc-override] Fix hardcoded path for import/exports require "bulkrax/engine" require 'active_support/all' module Bulkrax class << self mattr_accessor :parsers, :default_work_type, :default_field_mapping, :collection_field_...
42,616
https://github.com/jharnath/PyBackup/blob/master/backupoo.py
Github Open Source
Open Source
MIT
null
PyBackup
jharnath
Python
Code
217
479
#!/usr/bin/python3 ''' Execute backup job. Usage: python backup.py <job_name> This script allows the user to execute a backup job to backup a single file or a directory. The job to be executed is specified by name as the single ommand line argument passed to the script.ArithmeticError The job details are defined in...
46,680
https://github.com/irsyahroni/AID_CI/blob/master/application/views/layout/top_menu_old.php
Github Open Source
Open Source
MIT
null
AID_CI
irsyahroni
PHP
Code
404
1,791
<header class="section-header"> <section class="header-main"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-3"> <div class="brand-wrap"> <img class="logo" src="<?php echo base_url();?>assets/images/Ai_Logo_noperson.png" /> <?=anchor...
18,421
https://github.com/LessPaperWork/LessPaper.Shared.MinIO/blob/master/LessPaper.Shared.MinIO/Models/MinioBaseBucket.cs
Github Open Source
Open Source
MIT
null
LessPaper.Shared.MinIO
LessPaperWork
C#
Code
44
168
using System; using System.Collections.Generic; using System.Text; using LessPaper.Shared.MinIO.Interfaces; using Minio; namespace LessPaper.Shared.MinIO.Models { public abstract class MinioBaseBucket { protected readonly MinioClient MinioClient; protected MinioBaseBucket(IMinioSettings setti...
31,819
https://github.com/hongxinjie/goods/blob/master/app/Admin/Controllers/GoodsCartController.php
Github Open Source
Open Source
MIT
null
goods
hongxinjie
PHP
Code
559
2,304
<?php namespace App\Admin\Controllers; use App\Models\GoodsCart; use App\Models\GoodsInfo; use App\Models\GoodsOrder; use App\Models\GoodsUser; use App\Models\User; use Dcat\Admin\Admin; use Dcat\Admin\Form; use Dcat\Admin\Grid; use Dcat\Admin\Layout\Content; use Dcat\Admin\Show; use Dcat\Admin\Controllers\AdminContr...
10,177
https://github.com/LuckyBaha/mechanize/blob/master/mechanize/_version.py
Github Open Source
Open Source
BSD-3-Clause
2,022
mechanize
LuckyBaha
Python
Code
8
25
"0.4.4" __version__ = (0, 4, 4, None, None)
42,209
https://github.com/samuelmoses2011/Ocearch---WordPress/blob/master/plugins/charitable/includes/admin/views/settings/emails.php
Github Open Source
Open Source
Unlicense
null
Ocearch---WordPress
samuelmoses2011
PHP
Code
213
675
<?php /** * Display the table of emails. * * @author Eric Daams * @package Charitable/Admin View/Settings * @copyright Copyright (c) 2018, Studio 164a * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.0.0 * @version 1.0.0 */ $helper = charitable_get_helper( 'emai...
27,257
https://github.com/bassaer/tweakheader/blob/master/src/models/fields.ts
Github Open Source
Open Source
MIT
null
tweakheader
bassaer
TypeScript
Code
122
561
const headerFields: Partial<M.AutocompleteOptions> = { data: { "A-IM": null, "Accept": null, "Accept-Charset": null, "Accept-Encoding": null, "Accept-Language": null, "Access-Control-Request-Method": null, "Access-Control-Request-Headers": null, "Authorization": null, "Cache-Contro...
23,815
https://github.com/EnvisionYourWebsite/Share.BackupCRM.com/blob/master/vendor/thapp/jitimage/src/Thapp/JitImage/Filter/Circle/ImCircFilter.php
Github Open Source
Open Source
MIT
null
Share.BackupCRM.com
EnvisionYourWebsite
PHP
Code
161
456
<?php /** * This File is part of the Thapp\JitImage package * * (c) Thomas Appel <mail@thomas-appel.com> * * For full copyright and license information, please refer to the LICENSE file * that was distributed with this package. */ namespace Thapp\JitImage\Filter\Circle; use Thapp\JitImage\Filter\ImFilter; /*...
20,638
https://github.com/andburn/hdt-lab/blob/master/endgame-archetypes/EndGame/Screenshot/Image.cs
Github Open Source
Open Source
MIT
null
hdt-lab
andburn
C#
Code
101
321
using System; using System.ComponentModel; using System.Drawing; using System.Runtime.CompilerServices; using System.Windows.Media.Imaging; namespace HDT.Plugins.EndGame.Screenshot { public class Image : INotifyPropertyChanged { private Boolean isSelected; public Bitmap Full { get; private set; } public Bitm...
21,909
https://github.com/rockpell/WolfRun/blob/master/WolfRun/Assets/Scripts/EndingUI.cs
Github Open Source
Open Source
CC-BY-4.0
null
WolfRun
rockpell
C#
Code
341
1,261
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class EndingUI : MonoBehaviour { [SerializeField] private Text headText; [SerializeField] private Text crimeSubjectText; [SerializeField] private Text crimeDetailT...
29,223
https://github.com/zhangdaifu67/Computer_Vision_Project/blob/master/Facial_Expression_Recognition/6_server_demo/net.py
Github Open Source
Open Source
Apache-2.0
2,019
Computer_Vision_Project
zhangdaifu67
Python
Code
128
452
import torch import torch.nn as nn import torch.nn.functional as F import numpy as np class simpleconv3(nn.Module): def __init__(self): super(simpleconv3,self).__init__() self.conv1 = nn.Conv2d(3, 12, 3, 2) self.bn1 = nn.BatchNorm2d(12) self.conv2 = nn.Conv2d(12, 24, 3, 2) s...
2,367
https://github.com/mlocati/betterpoeditor/blob/master/src/BetterPoEditor/Utils/SpellCheck.cs
Github Open Source
Open Source
MIT
2,022
betterpoeditor
mlocati
C#
Code
780
3,130
using NetSpell.SpellChecker; using NetSpell.SpellChecker.Dictionary; using NetSpell.SpellChecker.Forms; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Windows.Forms; namespace BePoE.Utils { internal class SpellChecker { public enum BadRe...
32,967
https://github.com/N0SPichet/Project/blob/master/resources/views/rentals/payment-room.blade.php
Github Open Source
Open Source
MIT
2,019
Project
N0SPichet
PHP
Code
638
2,743
@extends ('dashboard.main') @section ('title', 'Payment | Rental') @section('stylesheets') {{ Html::style('css/parsley.css') }} @endsection @section ('content') <div class="container"> <div class="row m-t-10"> <div class="col-md-6 float-left" style="margin: auto;"> <div class="lead">Booking summary</div> <div...
37,377
https://github.com/pettyferlove/caas-platform-backend/blob/master/src/main/java/com/github/pettyfer/caas/framework/biz/service/impl/BizProjectBuildServiceImpl.java
Github Open Source
Open Source
Apache-2.0
2,021
caas-platform-backend
pettyferlove
Java
Code
227
1,372
package com.github.pettyfer.caas.framework.biz.service.impl; import cn.hutool.core.util.ObjectUtil; import cn.hutool.core.util.StrUtil; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.Wrappers; i...
29,854
https://github.com/openskies-sh/dss/blob/master/monitoring/uss_qualifier/main.py
Github Open Source
Open Source
Apache-2.0
2,021
dss
openskies-sh
Python
Code
186
684
#!env/bin/python3 import json import os import sys import argparse from pathlib import Path from urllib.parse import urlparse from monitoring.monitorlib.typing import ImplicitDict from monitoring.uss_qualifier.rid.utils import RIDQualifierTestConfiguration from monitoring.uss_qualifier.rid.simulator import flight_sta...
31,072
https://github.com/agwlvssainokuni/springapp3/blob/master/corelib/fundamental-bizcal/src/main/java/cherry/fundamental/bizcal/FileYearStrategy.java
Github Open Source
Open Source
Apache-2.0
null
springapp3
agwlvssainokuni
Java
Code
425
1,451
/* * Copyright 2019 agwlvssainokuni * * 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...
24,156
https://github.com/ardatan/graphql-mesh-express/blob/master/packages/databases/src/config/changelog.ts
Github Open Source
Open Source
MIT
2,021
graphql-mesh-express
ardatan
TypeScript
Code
60
256
export type ChangelogRowTypes = { id: number; user_uuid: string; date_of_change: Date; field_id: string; old_value: string; new_value: string; comment: string; }; export const CHANGELOG_COLUMN_NAMES = { ID: 'id', USER_UUID: 'user_uuid', DATE_OF_CHANGE: 'date_of_change', FIELD_ID: 'field_id', OL...
16,026
https://github.com/germs-lab/MetaFunPrimer/blob/master/src/primer3-2.3.7/test/primer_list_last/AGAG.for
Github Open Source
Open Source
MIT
2,022
MetaFunPrimer
germs-lab
null
Spoken
858
3,350
ACCEPTABLE LEFT PRIMERS 0-based # self self qual- # sequence start ln N GC% Tm any end lity 0 GAGAGAGAGAGAGAGAGAGAGAGAGA 55 26 0 50.00 57.752 0.00 0.00 8.248 1 GAGAGAGAGAGAGAGAGAGAGAGAGA 53 26 0 50.00 57...
14,197
https://github.com/sergiuosvat/polihack-theme/blob/master/index.hbs
Github Open Source
Open Source
MIT
null
polihack-theme
sergiuosvat
null
Spoken
1,773
7,101
{{!< default}} <div class="site-header-content"> {{#if @site.cover_image}} {{!-- This is a responsive image, it loads different sizes depending on device https://medium.freecodecamp.org/a-guide-to-responsive-images-with-ready-to-use-templates-c400bd65c433 --}} <img class="site-header-cover" srcset="{{im...
38,824
https://github.com/franklongford/ImageCol/blob/master/pyfibre/addons/shg_pl_trans/metric_analysers.py
Github Open Source
Open Source
Apache-2.0
2,021
ImageCol
franklongford
Python
Code
169
573
import pandas as pd from pyfibre.model.analysers.metric_analyser import MetricAnalyser from pyfibre.model.tools.metrics import angle_analysis from pyfibre.utilities import flatten_list class SHGMetricAnalyser(MetricAnalyser): def analyse(self): # Analyse fibre networks network_metrics = self._g...
36,895
https://github.com/cies/criminals/blob/master/app/controllers/Dashboard.java
Github Open Source
Open Source
MIT
2,020
criminals
cies
Java
Code
24
80
package controllers; import play.mvc.Controller; import play.mvc.results.Result; import play.rebel.View; public class Dashboard extends Controller { public Result index() { return new View("dashboard/index.html").with("username", session.get("username")); } }
16,009
https://github.com/RomanGodMode/JS_START/blob/master/src/client/components/for-admin/edit-lessons/add-lesson-page/edit-tips/edit-tips.module.scss
Github Open Source
Open Source
MIT
null
JS_START
RomanGodMode
SCSS
Code
12
48
.caption{ font-size: 24px; color: #fff; } .stageItem{ display: flex; align-items: center; }
19,765
https://github.com/sadeemhub/sadeem-web-framework/blob/master/src/main/java/app/controller/HelloKotlin.kt
Github Open Source
Open Source
Apache-2.0
null
sadeem-web-framework
sadeemhub
Kotlin
Code
174
478
package app.controller import com.cloudsgen.system.core.CG_Controller import io.vertx.ext.web.RoutingContext import java.io.IOException import java.util.* class HelloKotlin (rxtx: RoutingContext) : CG_Controller(rxtx){ /** * index : this default method for every controller * Render : will Print any...
39,082
https://github.com/alejandrok93/Labs8-RateMyDIY/blob/master/server/models/usersModel.js
Github Open Source
Open Source
MIT
null
Labs8-RateMyDIY
alejandrok93
JavaScript
Code
110
490
const db = require('../config/dbConfig'); module.exports = { addUser, getUserProjects, getUserReviews, checkUsernames, editUsername, editProfilePic }; function addUser(user) { console.log(user); return db('users') .insert(user) .into('users'); } function getUserProjects(user_id) { return db('projects') ...
39,008
https://github.com/niklaswr/TSMP/blob/master/bldsva/intf_oas3/icon2-1/tsmp/icon-ccs/mo_vdfmain.f90
Github Open Source
Open Source
MIT
2,021
TSMP
niklaswr
null
Spoken
8,832
35,120
!> !! Top for single VDF call for EDMF DUALM !! !! @author Martin Koehler, DWD !! !! @par Revision History !! Imported from IFS by Martin Koehler (starting 2011-9-30) !! (IFS cycle CY36R1_DUALM_M8b) !! !! Modifications by Dmitrii Mironov, DWD (2016-08-08) !! - Changes related to the use of prognostic the sea-ice alb...
17,100
https://github.com/suraj-qlogic/java-datalabeling/blob/master/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/EvaluationConfigOrBuilder.java
Github Open Source
Open Source
Apache-2.0
2,021
java-datalabeling
suraj-qlogic
Java
Code
264
756
/* * Copyright 2020 Google LLC * * 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 by applicable law or agreed to ...
39,652
https://github.com/hein09/vipster/blob/master/vipster/bond.py.cpp
Github Open Source
Open Source
BSD-2-Clause
2,017
vipster
hein09
C++
Code
189
958
#include "bond.py.h" #include "bond.h" #include <pybind11/stl.h> PYBIND11_MAKE_OPAQUE(std::vector<Vipster::Bond>) PYBIND11_MAKE_OPAQUE(std::vector<Vipster::Overlap>) PYBIND11_MAKE_OPAQUE(std::vector<Vipster::Angle>) PYBIND11_MAKE_OPAQUE(std::vector<Vipster::Dihedral>) void Vipster::Py::Bond(py::module &m){ py::bi...
23,739
https://github.com/pandasir/rabbitmq/blob/master/src/Channel/AMQPChannelInterface.php
Github Open Source
Open Source
Apache-2.0
2,019
rabbitmq
pandasir
PHP
Code
51
147
<?php /** * @author Haohuang * @email huanghao1054@gmail.com * @since 2019/11/18 */ namespace pandaSir\RabbitMQ\Channel; interface AMQPChannelInterface { public function queue($name, $passive = false, $durable = false, $exclusive = false, $autoDelete = false); public function basicPublish($message, $e...
1,746
https://github.com/wenqiangY/water-pro/blob/master/components/_util/hooks/use-loading.ts
Github Open Source
Open Source
MIT
2,022
water-pro
wenqiangY
TypeScript
Code
41
81
/** @format */ import { ref } from 'vue'; export default (defaultValue?: boolean | string | number) => { const loading = ref(defaultValue); const setLoading = (value = !loading.value) => { loading.value = value; }; return { loading, setLoading }; };
1,648
https://github.com/kiyosuke/sqlitlin/blob/master/SqliteDelegator/sqlitlin/src/main/java/com/kiyosuke/sqlitlin/db/core/normal/NormalSQLiteProgram.kt
Github Open Source
Open Source
Apache-2.0
2,019
sqlitlin
kiyosuke
Kotlin
Code
77
273
package com.kiyosuke.sqlitlin.db.core.normal import android.database.sqlite.SQLiteProgram import com.kiyosuke.sqlitlin.db.core.support.SupportSQLiteProgram open class NormalSQLiteProgram internal constructor(private val delegate: SQLiteProgram) : SupportSQLiteProgram { override fun bindNull(index: Int) { ...
20,587
https://github.com/Tthienphuc147/webgiapha/blob/master/app/Http/Controllers/AdminBranchController.php
Github Open Source
Open Source
MIT
null
webgiapha
Tthienphuc147
PHP
Code
32
125
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\DB; class AdminBranchController extends Controller { public function showDanhSach() { return view('admin.branch.admin-danhsachbranch'); } public function showAddbranch() { return view('admin.branch.admin-addbranc...
39,364
https://github.com/duduhuang88/qxml/blob/master/code/codeplugin/gradle-plugin/src/main/kotlin/com/qxml/gradle/FinalRClassBuilder.kt
Github Open Source
Open Source
Apache-2.0
2,022
qxml
duduhuang88
Kotlin
Code
169
597
package com.qxml.gradle import com.squareup.javapoet.ClassName import com.squareup.javapoet.CodeBlock import com.squareup.javapoet.FieldSpec import com.squareup.javapoet.JavaFile import com.squareup.javapoet.TypeSpec import java.util.Locale import javax.lang.model.element.Modifier.FINAL import javax.lang.model.element...
11,854
https://github.com/DorcasWanjiku/News-API/blob/master/app/main/views.py
Github Open Source
Open Source
MIT
null
News-API
DorcasWanjiku
Python
Code
136
527
from flask import render_template from . import main from ..request import get_top_news ,get_top_news_by_source, get_sources, get_news_by_category, search_news @main.route("/") def index(): top_news = get_top_news() news_source = get_sources() news = get_top_news() categories = ["business", ...
35,116
https://github.com/mstorsjo/llvm/blob/master/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
Github Open Source
Open Source
Apache-2.0
2,021
llvm
mstorsjo
null
Spoken
1,304
6,245
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py # RUN: llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -O0 -run-pass=legalizer %s -o - | FileCheck -check-prefix=SI %s # RUN: llc -mtriple=amdgcn-mesa-mesa3d -mcpu=fiji -O0 -run-pass=legalizer %s -o - | FileCheck -check-prefix=VI %s # RUN: llc -...
36,176
https://github.com/minneapolis-edu/web-autograder/blob/master/api/migrations/0027_auto_20181024_1759.py
Github Open Source
Open Source
Unlicense
2,019
web-autograder
minneapolis-edu
Python
Code
29
117
# Generated by Django 2.1.1 on 2018-10-24 17:59 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0026_auto_20181024_1714'), ] operations = [ migrations.RenameField( model_name='gradingbatch', old_name='graded', ...
983
https://github.com/Nateyo/falcon-contextvars/blob/master/app/resources/example.py
Github Open Source
Open Source
MIT
null
falcon-contextvars
Nateyo
Python
Code
59
144
import json import falcon from app.context import get_db_session class ExampleResource: """ Just a simple ExampleResource. NOTE: Don't ever attach a session to a resource, as Resources are only instantiated once. """ def on_get(self, req, resp): # One could use the datab...
38,348
https://github.com/AmberPoo1/EPPEBench/blob/master/app/main/java/com/jingpu/android/apersistance/sqlite/SqliteDisplay.java
Github Open Source
Open Source
MIT
null
EPPEBench
AmberPoo1
Java
Code
86
250
package com.jingpu.android.apersistance.sqlite; import com.jingpu.android.apersistance.sqlite.model.*; /** * Created by Jing Pu on 2015/10/1. */ public interface SqliteDisplay { public void displayStockLevel(Object paramObject, short paramShort1, short paramShort2, int paramInt1, int paramInt2) thro...
37,646
https://github.com/DSharpPlus/DotnetRPC/blob/master/DotnetRPC.Sample/Program.cs
Github Open Source
Open Source
MIT
2,022
DotnetRPC
DSharpPlus
C#
Code
152
569
using System; using System.Reflection; using System.Security.Principal; using System.Threading.Tasks; using DotnetRPC.Entities; namespace DotnetRPC.Sample { internal static class Program { private static void Main(string[] args) { var admin = false; using (var identity = WindowsIdentity.GetCurrent()) {...
30,399
https://github.com/TaralRathod/iScoop/blob/master/iScoop/Modals/Likes.swift
Github Open Source
Open Source
MIT
null
iScoop
TaralRathod
Swift
Code
24
59
// // Likes.swift // iScoop // // Created by Taral Rathod on 18/02/22. // import Foundation struct Likes: Codable { var likes: Int? }
23,857
https://github.com/jafc-stripe/sorbet/blob/master/test/testdata/parser/whitequark/parse_ruby_bug_11873_b.rb
Github Open Source
Open Source
Apache-2.0
2,021
sorbet
jafc-stripe
Ruby
Code
15
34
# typed: true def p(*args); end; def tap; end; p p{p(p);p p}, tap do end
43,488
https://github.com/eddy0/react-meet-up/blob/master/src/app/api/mockApi.js
Github Open Source
Open Source
Apache-2.0
2,021
react-meet-up
eddy0
JavaScript
Code
23
59
import { delay } from '../../common/util/util' import { sampleData } from './data' export function fetchSampleData() { return delay(1000).then(function() { return Promise.resolve(sampleData) }) }
18,943
https://github.com/freeioe/freeioe/blob/master/lualib/utils/log.lua
Github Open Source
Open Source
MIT
2,022
freeioe
freeioe
Lua
Code
199
651
--- DO NOT USE THIS in application local inskynet, skynet = pcall(require, 'skynet') if not inskynet then local log = require 'log' local lname = 'log' local LOG = log.new( "trace", -- maximum log level -- Writer require 'log.writer.list'.new( -- multi writers: require "log.writer.console....
21,030
https://github.com/cspinetta/distributed-tracing-with-kamon/blob/master/front-api/app/kamon/demo/tracing/front/base/Config.scala
Github Open Source
Open Source
Apache-2.0
null
distributed-tracing-with-kamon
cspinetta
Scala
Code
80
257
package kamon.demo.tracing.front.base import scala.concurrent.duration.FiniteDuration trait ConfigSupport { protected lazy val config: Config.AppConfig = Config.loadConfig } object Config extends ConfigLoader { def loadConfig: Config.AppConfig = pureconfig.loadConfigOrThrow[Config.AppConfig](config) case cla...
42,496
https://github.com/opengauss-mirror/Yat/blob/master/openGaussBase/testcase/SQL/DDL/table/Opengauss_Function_DDL_Table_Case0165.sql
Github Open Source
Open Source
MulanPSL-1.0
null
Yat
opengauss-mirror
SQL
Code
42
156
-- @testpoint: 创建行存表以及行存表Gist索引 drop table if exists tablet4; create table tablet4(c box,d path ,e circle); insert into tablet4 values('((1,1),(3,3))','((1,1),(1,3),(2,4),(3,3),(4,2),(3,1),(1,1))','((3,3),1)'); DROP INDEX if exists gist_test; create index gist_test on tablet4 using gist (e); DROP INDEX if exists gist_...
8,212
https://github.com/benjaminheng/youtube-latest/blob/master/app/common/stylesheets/utils/_variables.scss
Github Open Source
Open Source
MIT
null
youtube-latest
benjaminheng
SCSS
Code
46
207
@charset "utf-8"; $text-color: #FFFFFF; $base-font-family: 'Helvetica', 'sans-serif'; $base-font-size: 1rem; $line-height-ratio: 1.4; $base-line-height: $base-font-size * $line-height-ratio; $type-ratio: 1.333; $type-scale: ( -1: $base-font-size / $type-ratio, 0: $base-font-size, 1: $base-font-size * $ty...
41,487
https://github.com/rabahi/epel-scripts/blob/master/Network/srv-vpn/setup-vpn.bash
Github Open Source
Open Source
MIT
2,018
epel-scripts
rabahi
Shell
Code
194
680
#!/bin/bash echo "install openvpn" dnf -y install openvpn echo "start service openvpn at boot" systemctl enable openvpn@server.service echo "add service openvpn (port 1194) to firewall" firewall-cmd --permanent --add-service openvpn firewall-cmd --reload echo "configure vpn" rm -f /etc/openvpn/server.conf cp /usr/s...
23,173
https://github.com/xxm0703/poke-shell/blob/master/sinatra_tests/api.rb
Github Open Source
Open Source
MIT
null
poke-shell
xxm0703
Ruby
Code
91
262
require "sinatra" require 'rubygems' require 'active_record' require_relative "card_deck" enable :sessions current_dir = File.join(File.dirname(__FILE__), '../../') # ActiveRecord::Base.establish_connection( # { :adapter => 'postgresql', # :database => 'development', # :host => 'localhost', # :username => ...
19,313
https://github.com/Adalab/project-promo-n-module-2-team-7/blob/master/src/scss/layout/_form.scss
Github Open Source
Open Source
MIT
null
project-promo-n-module-2-team-7
Adalab
SCSS
Code
20
54
.profilecards__app { margin: 27px 20px 30px 20px; @media all and (min-width: 768px) { margin: 7px 30px 30px 40px; } }
33,396
https://github.com/ibrammelad/ApiRestful-Co/blob/master/app/Exceptions/ProductNotBelongsToUser.php
Github Open Source
Open Source
MIT
null
ApiRestful-Co
ibrammelad
PHP
Code
28
65
<?php namespace App\Exceptions; use Exception; class ProductNotBelongsToUser extends Exception { public function render() { return ["error" => 'this seller is not actual seller the product','code'=> 422]; } }
39,151
https://github.com/komw/network-provider-checker/blob/master/src/komw/InternetProviderChecker/IPing.php
Github Open Source
Open Source
MIT
null
network-provider-checker
komw
PHP
Code
35
95
<?php namespace komw\InternetProviderChecker; /** * * User: sgladysz * Date: 02.04.2016 * Time: 22:33 */ interface IPing { /** * @param $host * @param $timeoutMilliseconds * @return bool */ public static function alive($host, $timeoutMilliseconds); }
1,580
https://github.com/hg2120223/SPlisHSPlasH/blob/master/extern/magnetic-force/fmmtl_minimum/fmmtl/util/CallStack.hpp
Github Open Source
Open Source
MIT
2,022
SPlisHSPlasH
hg2120223
C++
Code
104
386
#pragma once #include "fmmtl/config.hpp" #ifndef FMMTL_RELEASE #include <string> #include <stack> namespace fmmtl { std::stack<std::string> callStack; void PushCallStack(const std::string& s) { #ifdef FMMTL_WITH_OPENMP if (omp_get_thread_num() != 0) return; #endif callStack.push(s); } void PopCallStack()...
21,653
https://github.com/Spaced-Out/python-bandwidth-sdk/blob/master/build/lib/bandwidth/voice/controllers/api_controller.py
Github Open Source
Open Source
MIT
null
python-bandwidth-sdk
Spaced-Out
Python
Code
6,470
17,455
# -*- coding: utf-8 -*- """ bandwidth This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). """ from bandwidth.api_helper import APIHelper from bandwidth.configuration import Server from bandwidth.http.api_response import ApiResponse from bandwidth.voice.controllers.base_controller import B...
24,809
https://github.com/Justicea83/pangaea/blob/master/app/Traits/ApiResponse.php
Github Open Source
Open Source
MIT
null
pangaea
Justicea83
PHP
Code
49
166
<?php namespace App\Traits; use Illuminate\Http\JsonResponse; use Symfony\Component\HttpFoundation\Response; trait ApiResponse { protected function successResponse(array $data, $code = Response::HTTP_OK): JsonResponse { return response()->json($data, $code); } protected function errorResponse...
33,286
https://github.com/Metior00/forecast-android/blob/master/domain/src/main/java/com/marchuk/app/domain/DomainModule.kt
Github Open Source
Open Source
MIT
2,021
forecast-android
Metior00
Kotlin
Code
34
180
package com.marchuk.app.domain import com.marchuk.app.domain.useCase.DeleteLastSearchedLocationUseCase import com.marchuk.app.domain.useCase.GetForecastByCoordinatesUseCase import com.marchuk.app.domain.useCase.GetLastSearchedLocationsUseCase import com.marchuk.app.domain.useCase.SearchLocationsUseCase import org.koin...
24,443
https://github.com/JitseB/simple-factions/blob/master/src/net/jitse/simplefactions/managers/FactionsManager.java
Github Open Source
Open Source
MIT
null
simple-factions
JitseB
Java
Code
403
2,057
package net.jitse.simplefactions.managers; import net.jitse.simplefactions.SimpleFactions; import net.jitse.simplefactions.events.FactionCreatedEvent; import net.jitse.simplefactions.factions.*; import net.jitse.simplefactions.listeners.PlayerListener; import net.jitse.simplefactions.utilities.Chat; import net.jitse.s...
14,430
https://github.com/hunterBhough/epahomeratingapp-ui/blob/master/client/js/pages/jobs-page/jobs-page.component.js
Github Open Source
Open Source
Apache-2.0
2,019
epahomeratingapp-ui
hunterBhough
JavaScript
Code
33
96
import template from './jobs-page.html'; import controller from './jobs-page.controller'; import './jobs-page.scss'; let jobsPageComponent = { bindings : { jobs : '<', company : '<' }, template, controller, controllerAs : 'jobsPageCtrl' }; export default jobsPageComponent;
40,935
https://github.com/TobiasNiedling/metanome-algorithms/blob/master/HyMD/hybrid/src/main/java/de/hpi/is/md/hybrid/impl/lattice/md/ThresholdNode.java
Github Open Source
Open Source
Apache-2.0
2,022
metanome-algorithms
TobiasNiedling
Java
Code
245
917
package de.hpi.is.md.hybrid.impl.lattice.md; import de.hpi.is.md.hybrid.md.MD; import de.hpi.is.md.hybrid.md.MDSite; import de.hpi.is.md.util.MathUtils; import it.unimi.dsi.fastutil.doubles.Double2ObjectMap.Entry; import it.unimi.dsi.fastutil.doubles.Double2ObjectRBTreeMap; import it.unimi.dsi.fastutil.doubles.Double2...
12,956
https://github.com/waterystone/spring-web-test/blob/master/src/main/java/com/adu/spring_test/web/utils/StringUtil.java
Github Open Source
Open Source
Apache-2.0
2,018
spring-web-test
waterystone
Java
Code
145
565
package com.adu.spring_test.web.utils; import java.math.BigDecimal; import java.math.BigInteger; import java.util.List; import java.util.Objects; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.apac...
33,640
https://github.com/bjerkt/Factorio-Mods/blob/master/KingsOmniMatterMove/prototypes/planner.lua
Github Open Source
Open Source
Unlicense
2,021
Factorio-Mods
bjerkt
Lua
Code
156
537
data:extend({ { type = "selection-tool", name = "ore-move-planner", icon = "__KingsOmniMatterMove__/graphics/planner.png", icon_size = 32, stack_size = 1, stackable = false, subgroup = "tool", order = "c[automated-construction]-d[dirty-planner]", flags = {"only-in-cursor", "spawnabl...
11,468
https://github.com/davy-zhang/config/blob/master/config-manager/app/models/TreeNode.scala
Github Open Source
Open Source
Apache-2.0
2,016
config
davy-zhang
Scala
Code
35
73
package models case class TreeNode(val id: String, val pid: String, val name: String, val checked: Boolean, val open: Boolean) { def this(id: String, pid: String, name: String) { this(id, pid, name, false, false) } }
956
https://github.com/pmehta08/MulensModel/blob/master/examples/use_cases/use_case_36_degeneracies.py
Github Open Source
Open Source
MIT
null
MulensModel
pmehta08
Python
Code
171
483
""" Use cases showing how MulensModel can predict parameters of degenerate models. Here I use the event ob140939 as an example. I know that jerk parallax, in general, works for small u_0 events, but I don't have a better dataset at hand. """ import os import MulensModel as mm parameters = { 't_0': 2456836.22, '...
21,920
https://github.com/z-j-lin/MadNet/blob/master/bridge/test/validatorPool/business-logic/register.test.ts
Github Open Source
Open Source
MIT
null
MadNet
z-j-lin
TypeScript
Code
1,057
3,420
import { BigNumber, ContractTransaction, Signer } from "ethers"; import { ethers } from "hardhat"; import { expect } from "../../chai-setup"; import { completeETHDKGRound } from "../../ethdkg/setup"; import { factoryCallAnyFixture, Fixture, getFixture, getValidatorEthAccount, mineBlocks, } from "../../setup";...
18,482
https://github.com/bramswenson/vimpack/blob/master/features/support/env.rb
Github Open Source
Open Source
MIT
2,019
vimpack
bramswenson
Ruby
Code
31
117
$LOAD_PATH.unshift(File.dirname(__FILE__), '..', '..', 'lib') require 'vimpack' require 'cucumber/formatter/unicode' # Remove this line if you don't want Cucumber Unicode support require 'aruba/cucumber' Before do FileUtils.rmtree('/tmp/aruba') @dirs = ["/tmp/aruba"] @aruba_timeout_seconds = 60 end
43,338
https://github.com/psythefirst/nidus/blob/master/assets/vim/rc.d/06-basic.vim
Github Open Source
Open Source
MIT
null
nidus
psythefirst
null
Spoken
31
86
if has("mouse") set mouse=a endif set number set nowrap set tabstop=4 set shiftwidth=4 set shiftround set expandtab set autoindent set nobackup set showmatch set formatoptions+=mM set shell=/bin/sh " vim: set ft=vim:
33,575
https://github.com/Schneidershades/dutydoctor/blob/master/app/Http/Requests/Facility/FacilityServiceAvailabilityCreateFormRequest.php
Github Open Source
Open Source
MIT
null
dutydoctor
Schneidershades
PHP
Code
440
1,337
<?php namespace App\Http\Requests\Facility; use Illuminate\Foundation\Http\FormRequest; /** /** * @OA\Schema( * title="Facility Service Availability create Form Request Fields", * description="Facility Service Availability create request body data", * type="object", * required={"email"} * )...
15,562
https://github.com/RogerDeng/ng5-netease-music/blob/master/src/app/pages/mv/mv-layout/mv-layout.component.ts
Github Open Source
Open Source
MIT
null
ng5-netease-music
RogerDeng
TypeScript
Code
50
177
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-mv-layout', templateUrl: './mv-layout.component.html', styleUrls: ['./mv-layout.component.scss'] }) export class MvLayoutComponent implements OnInit { navis = [ { name: 'MV精选', route: 'good' }, { name: ...
41,451
https://github.com/jcfr/Midas/blob/master/modules/sizequota/controllers/components/ApiComponent.php
Github Open Source
Open Source
ECL-2.0, Apache-2.0
null
Midas
jcfr
PHP
Code
339
704
<?php /*========================================================================= Midas Server Copyright Kitware SAS, 26 rue Louis Guérin, 69100 Villeurbanne, France. All rights reserved. For more information visit http://www.kitware.com/. Licensed under the Apache License, Version 2.0 (the "License"); you may n...
34,503
https://github.com/dabintang/IOSysV4_Ionic4/blob/master/IOSysIonic4/src/model/basic/InTypeInfo.ts
Github Open Source
Open Source
MIT
2,019
IOSysV4_Ionic4
dabintang
TypeScript
Code
29
89
import { BaseInfo } from '../comm/BaseInfo'; //收入类型 export class InTypeInfo extends BaseInfo { id: number; //主键 name: string; //名称 amountAccountID: number; //默认账户 isActive: boolean; //是否可用 remark: boolean; //备注 }
30,047
https://github.com/Pitoontakoonpol/Python/blob/master/python/panda3D/reference-1.10.6-python/reference-python/html/search/enums_9.js
Github Open Source
Open Source
MIT
null
Python
Pitoontakoonpol
JavaScript
Code
5
81
var searchData= [ ['jointtype_34841',['JointType',['../classpanda3d_1_1ode_1_1OdeJoint.html#af92f943e3dc4a7d1fb537fa481094fa9',1,'panda3d::ode::OdeJoint']]] ];
30,322
https://github.com/pmpavan/RecyclerViewItemTracking/blob/master/app/src/main/java/com/pmpavan/recyyclerviewitemtracking/app/di/module/NetModule.kt
Github Open Source
Open Source
MIT
null
RecyclerViewItemTracking
pmpavan
Kotlin
Code
90
525
package com.pmpavan.recyyclerviewitemtracking.app.di.module import com.google.gson.Gson import com.google.gson.GsonBuilder import com.pmpavan.recyyclerviewitemtracking.data.beers.BeerApi import com.pmpavan.recyyclerviewitemtracking.data.beers.BeerApiService import com.pmpavan.recyyclerviewitemtracking.domain.beers.int...
12,484
https://github.com/ChiliLabs/ChiliTextAnimation/blob/master/chilitextanimation/src/main/java/lv/chi/chilitextanimation/configuration/CharacterChangeAnimationConfig.kt
Github Open Source
Open Source
Apache-2.0
2,021
ChiliTextAnimation
ChiliLabs
Kotlin
Code
36
98
package lv.chi.chilitextanimation.configuration class CharacterChangeAnimationConfig { var alpha: Float = 1f var textSizeCoef: Float = 1f var charWidthCoef: Float = 1f var translationXCoef: Float = 0f var translationYCoef: Float = 0f var duration: Long = DefaultAnimationConfig.ANIMATION_DURATI...
27,949
https://github.com/Waylonwhynot/drf_ops_fronted/blob/master/src/views/host/console.vue
Github Open Source
Open Source
MIT
null
drf_ops_fronted
Waylonwhynot
Vue
Code
796
3,859
<template> <div class="console"> <div class="console_header"> <div class="info"> {{host_info.hostname}} | {{host_info.username}}@{{host_info.ip_addr}}:{{host_info.port}} </div> <div class="file_part" > <el-button type="primary" icon="el-icon-files" @click="showDrawer">文件管理器</el-b...
17,612
https://github.com/sliceice/Symfo3Blog/blob/master/src/AppBundle/Resources/views/security/reset_password.html.twig
Github Open Source
Open Source
MIT
null
Symfo3Blog
sliceice
Twig
Code
56
201
{% extends '@App/base/base.html.twig' %} {% block title %}Reset password{% endblock %} {% block body %} {{ form_start(form) }} <div class="card mb-4"> <div class="card-body"> <h2 class="card-title">Reset password</h2> <hr> {{ form_errors(form.plainPassword) }} ...
28,356
https://github.com/Rubentxu/entitas-java/blob/master/codegenerator/codeGenGradle/src/test/java/test/gen/game/StateMatcher.java
Github Open Source
Open Source
MIT
2,022
entitas-java
Rubentxu
Java
Code
73
202
package test.gen.game; import ilargia.entitas.matcher.Matcher; /** * //-------------------------------------------------------------------------// * <auto-generated>// This code was generated by {0}.//// Changes to this file * may cause incorrect behavior and will be lost if// the code is regenerated.// * </auto-...
38,960
https://github.com/mbrukman/rancher-ui/blob/master/app/templates/container/new-advanced.hbs
Github Open Source
Open Source
Apache-2.0
2,015
rancher-ui
mbrukman
null
Spoken
95
476
<div class="toggle-advanced"> <a {{action "toggleAdvanced"}}>Advanced Options {{#if advanced}}<i class="ss-navigateup"></i>{{else}}<i class="ss-navigatedown"></i>{{/if}}</a> </div> <div {{bind-attr class="advanced::hide"}}> <section class="text-center" style="padding: 0;"> <ul class="nav nav-pills" style="disp...
19,198
https://github.com/upenn-libraries/stronghold/blob/master/lib/stronghold.rb
Github Open Source
Open Source
Apache-2.0
2,018
stronghold
upenn-libraries
Ruby
Code
10
40
require 'stronghold/version' require 'stronghold/client' require 'stronghold/exceptions' require 'fog-aws' require 'pry'
28,984
https://github.com/fedepujol/Clarkson/blob/master/flyway/sql/V1.14__Create_Procedure_User_GetAll.sql
Github Open Source
Open Source
MIT
2,022
Clarkson
fedepujol
SQL
Code
12
41
DELIMITER $$ CREATE PROCEDURE `User_GetAll` () BEGIN SELECT * FROM `Users`; END$$
4,570
https://github.com/SupFrig/deafsheet/blob/master/_html/src/scss/App.scss
Github Open Source
Open Source
MIT
null
deafsheet
SupFrig
SCSS
Code
20
93
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700'); @import 'Variables'; @import 'Layout'; @import 'Btn'; @import 'Header'; @import 'Disclaimer'; @import 'Grid'; @import 'Contact'; @import 'Footer'; @import 'Logo';
3,049
https://github.com/ibook86/Dart-Cms/blob/master/router/manage/article.js
Github Open Source
Open Source
MIT
2,022
Dart-Cms
ibook86
JavaScript
Code
56
258
const Router = require('koa-router'); const body = require('koa-body'); let route = new Router(); let { GetAllArticle, ChangeArtState, AddArticle, UpdateArticle, RemoveArticle, GetCurArticle, CreateStatic, } = require('../../methods/manage/article') // 获取全部文章 route.post('/article/getAllArticle', GetAllArticle...
32,191
https://github.com/Hinrick/App-Android/blob/master/index.js
Github Open Source
Open Source
MIT
null
App-Android
Hinrick
JavaScript
Code
31
130
import { AppRegistry, UIManager, YellowBox } from 'react-native'; import App from './src/containers/App/App'; YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Module RCTImageLoader']); // open layout animation option https://facebook.github.io/react-native/docs/layoutanimation.html UIManager.setLay...
21,823
https://github.com/RVxLab/bol-retailer-php-client/blob/master/src/Exception/AuthenticationException.php
Github Open Source
Open Source
MIT
null
bol-retailer-php-client
RVxLab
PHP
Code
43
107
<?php namespace Picqer\BolRetailer\Exception; use Exception; class AuthenticationException extends \Exception { public function __construct(?string $message = null, int $code = 0, Exception $previous = null) { $message = $message ?: 'An unknown error occurred during the authentication with Bol.com'; ...
34,407
https://github.com/LoganStyles/PrideReports/blob/master/routes/web.php
Github Open Source
Open Source
MIT
null
PrideReports
LoganStyles
PHP
Code
64
196
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
32,160
https://github.com/nokia-wroclaw/innovativeproject-hashiplayero/blob/master/ui/src/store/StateMachineSlice.tsx
Github Open Source
Open Source
MIT
null
innovativeproject-hashiplayero
nokia-wroclaw
TypeScript
Code
140
457
import { createSlice, PayloadAction } from "@reduxjs/toolkit"; import IStateMachine from "../interfaces/IStateMachine"; import { RootState } from "./store"; const initialState: IStateMachine = { inWaitingRoom: false, isAdmin: false, inMultiGame: false, inSingleGame: false, isBoardCorrect: false, }; export c...
43,005
https://github.com/py-az-cli/py-az-cli/blob/master/pyaz/backup/container/__init__.py
Github Open Source
Open Source
MIT
null
py-az-cli
py-az-cli
Python
Code
716
1,292
''' Resource which houses items or applications to be protected. ''' from ... pyaz_utils import _call_az def show(name, resource_group, vault_name, backup_management_type=None, use_secondary_region=None): ''' Show details of a container registered to a Recovery services vault. Required Parameters: - n...
42,510
https://github.com/arianvaldivieso/pos/blob/master/application/language/vietnamese/error_lang.php
Github Open Source
Open Source
MIT
null
pos
arianvaldivieso
PHP
Code
31
76
<?php //You do not have permission to access the module named $lang['error_no_permission_module'] = 'Bạn không có quyền truy cập vào các chức năng'; //unknown $lang['error_unknown'] = 'Lỗi không xác định'; ?>
8,702
https://github.com/Thavarshan/manuscrite/blob/master/app/Contracts/Documents/Document.php
Github Open Source
Open Source
MIT
2,021
manuscrite
Thavarshan
PHP
Code
31
76
<?php namespace App\Contracts\Documents; interface Document { /** * Find and retrieve the localized Markdown resource. * * @param string $name * * @return string|null */ public function get(string $name): ?string; }
34,678
https://github.com/troydieter/terraform-examples/blob/master/google_cloud/CQRS_bigquery_memorystore/functions/function_update_current.tf
Github Open Source
Open Source
MIT
2,022
terraform-examples
troydieter
HCL
Code
137
541
locals { materializer_function_name = "materialize" } resource "google_cloudfunctions_function" "update_current" { name = "update_current" runtime = "nodejs10" /* Running BQ client has minimal resource requirements */ max_instances = 1 available_memory_mb = 128 timeout = 30 entry_p...
14,298
https://github.com/ClaudioWaldvogel/inspectIT/blob/master/inspectit.shared.all/src/main/java/rocks/inspectit/shared/all/instrumentation/classcache/ImmutableInterfaceType.java
Github Open Source
Open Source
Apache-2.0
2,022
inspectIT
ClaudioWaldvogel
Java
Code
126
319
package rocks.inspectit.shared.all.instrumentation.classcache; import java.util.Set; /** * A class cache model element of the type interface that only provides immutable access. * * @author Stefan Siegl */ public interface ImmutableInterfaceType extends ImmutableAbstractInterfaceType { /** * Returns immutable...
37,034