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/kilon/dot-emacs/blob/master/.emacs.d/cabbage/vendor/rinari/util/ruby-compilation-rspec.el
Github Open Source
Open Source
MIT
null
dot-emacs
kilon
null
Spoken
54
296
;; Add rspec support to ruby-compilation (require 'ruby-compilation) (add-hook 'ruby-mode-hook (lambda () (when (string-match "_spec.rb$" buffer-file-name) (set (make-local-variable 'ruby-compilation-executable) "spec") ...
36,890
https://github.com/BritosMarco/netflix-nestjs-api/blob/master/src/filmes/filmes.service.ts
Github Open Source
Open Source
MIT
2,021
netflix-nestjs-api
BritosMarco
TypeScript
Code
39
125
import { Injectable } from '@nestjs/common'; import { Filme, Prisma } from '.prisma/client'; import { PrismaService } from 'src/prisma/prisma.service'; @Injectable() export class FilmesService { constructor(private prisma: PrismaService) {} async createFilme(data: Prisma.FilmeCreateInput): Promise<Filme> { re...
50,913
https://github.com/catenax-ng/catenax-at-home/blob/master/api-wrapper/services/semantics/framework/src/main/java/net/catenax/semantics/framework/aas/model/PackagesPackageIdBody.java
Github Open Source
Open Source
Apache-2.0
null
catenax-at-home
catenax-ng
Java
Code
303
1,078
package net.catenax.semantics.framework.aas.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.v3.oas.annotations.media.Schema; import java.util.ArrayList; import java.util.List; import org.springframework.core.io.Resource; import org.springframework.validation.ann...
21,039
https://github.com/GitHub-zhangshun/hzg-bsm/blob/master/src/views/other/fuiou/transfer.vue
Github Open Source
Open Source
MIT
2,019
hzg-bsm
GitHub-zhangshun
Vue
Code
408
2,105
<template> <div class="post-container"> <div class="post-main-container"> <TableListHeader @updateData="getList()" @topAction="top_execute" v-if="currentMenuTopRunFuncList && currentMenuTopRunFuncList.length > 0" v-model="searchForm" :searchItems="searchItems" @change="getList()"> </TableListHeader> ...
29,831
https://github.com/vitaliyshvarz/jest-coverage-guard/blob/master/test-app/src/components/FilterTodos.vue
Github Open Source
Open Source
MIT
null
jest-coverage-guard
vitaliyshvarz
Vue
Code
55
227
<template> <div> Filter Todos: <select @change="filterTodos($event)"> <option value="200">200</option> <option value="100">100</option> <option value="50">50</option> <option value="20">20</option> <option value="10">10</option> <option value="5">5</option> <option va...
33,788
https://github.com/Coderrob/bulk-image-resizer/blob/master/go.mod
Github Open Source
Open Source
MIT
2,021
bulk-image-resizer
Coderrob
Go Module
Code
9
48
module image-resizer go 1.14 require github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
29,263
https://github.com/mroads/WebRTC-Ionic/blob/master/kurento-group-call/src/main/resources/static/js/conferenceroom.js
Github Open Source
Open Source
Apache-2.0
2,018
WebRTC-Ionic
mroads
JavaScript
Code
856
3,261
/* * (C) Copyright 2014 Kurento (http://kurento.org/) * * 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 applicab...
4,106
https://github.com/grjus-portfolio/engineering-toolbox/blob/master/frontend/src/components/Underconstruction/styles.js
Github Open Source
Open Source
BSD-3-Clause
null
engineering-toolbox
grjus-portfolio
JavaScript
Code
30
102
import styled from 'styled-components'; import { theme } from '../../style'; export const Title = styled.h1` color:${theme.logoColor}; text-align:center; padding:10px; margin-top:50px; `; export const Description = styled.div` display:block; font-size:28px; text-align:center; padding:50px; `;
12,922
https://github.com/trustwallet/wallet-core/blob/master/tests/chains/Cosmos/Neutron/TWAnyAddressTests.cpp
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-protobuf, LGPL-2.1-only, Swift-exception, MIT, BSL-1.0, Apache-2.0
2,023
wallet-core
trustwallet
C++
Code
76
216
// Copyright © 2017-2023 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "../CosmosTestHelpers.h" namespace TW::Cosmos::te...
27,682
https://github.com/marcosvf132/Item-Editor-ItemPrice/blob/master/ThirdParty/DarkUI/Config/Colors.cs
Github Open Source
Open Source
MIT
2,022
Item-Editor-ItemPrice
marcosvf132
C#
Code
268
682
using System.Drawing; namespace DarkUI.Config { public sealed class Colors { public static readonly Color GreyBackground = Color.FromArgb(63, 63, 63); public static readonly Color HeaderBackground = Color.FromArgb(57, 60, 62); public static readonly Color BlueBackground = Color.FromArg...
50,858
https://github.com/jmrapp1/BetterSound/blob/master/src/client/src/views/common/components/buttons/PrimaryButton.tsx
Github Open Source
Open Source
Apache-2.0
2,021
BetterSound
jmrapp1
TypeScript
Code
37
70
import * as React from 'react'; import './PrimaryButton.scss'; const PrimaryButton = ({ text, onClick, className = '' }) => ( <button className={ 'button button-primary ' + className } onClick={ onClick }>{ text }</button> ); export default PrimaryButton;
18,759
https://github.com/tkinglee/AsyncRecord/blob/master/AsyncRecord/CocoaAsynRecord.h
Github Open Source
Open Source
Apache-2.0
2,015
AsyncRecord
tkinglee
Objective-C
Code
64
185
// // CocoaAsynRecord.h // CocoaAsynRecord // // Created by 李鑫 on 14/11/16. // Copyright (c) 2014年 TKingLee. All rights reserved. // #import <Foundation/Foundation.h> #import <AsyncRecord/CocoaRecorderInterface.h> //! Project version number for CocoaAsynRecord. FOUNDATION_EXPORT double CocoaAsynRecordVersionNumb...
15,086
https://github.com/PritomAhsan/laravel-vue-blog-spa/blob/master/app/Http/Controllers/AdminBlogController.php
Github Open Source
Open Source
MIT
null
laravel-vue-blog-spa
PritomAhsan
PHP
Code
414
1,580
<?php namespace App\Http\Controllers; use App\AdminBlog; use App\AdminCategory; use App\BlogPostCategory; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Image; use DB; class AdminBlogController extends Controller { /** * Display a listing of the resource. * * @...
15,091
https://github.com/CorentG/Pokecube-Issues-and-Wiki/blob/master/src/main/java/pokecube/core/items/berries/ItemBerry.java
Github Open Source
Open Source
MIT
null
Pokecube-Issues-and-Wiki
CorentG
Java
Code
547
2,235
package pokecube.core.items.berries; import java.util.List; import javax.annotation.Nullable; import net.minecraft.ChatFormatting; import net.minecraft.client.resources.language.I18n; import net.minecraft.core.BlockPos; import net.minecraft.core.Direction; import net.minecraft.network.chat.Component; import net.mine...
49,445
https://github.com/freyesllerena/CREPV3/blob/master/app/Resources/views/Rlc/new.html.twig
Github Open Source
Open Source
BSD-3-Clause
2,018
CREPV3
freyesllerena
Twig
Code
80
249
{% extends 'Personne/new.html.twig' %} {% block frameTitle %}RLC{% endblock frameTitle %} {% block pageTitle %}RLC{% endblock pageTitle %} {% block formTitle %}Création d'un responsable local de campagne (RLC){% endblock formTitle %} {% block otherRows %} {{ form_row(form.perimetresRlc, { 'label': "Périmètres RLC",...
51,855
https://github.com/MOUDDENEHamza/ENSEEIHT/blob/master/2A/S8/PAT/TP1/robot_dynamique.py
Github Open Source
Open Source
Apache-2.0
2,022
ENSEEIHT
MOUDDENEHamza
Python
Code
72
201
from robot import Robot r1 = Robot(4, 10, 'est') print('r1 =', r1) r2 = Robot(15, 7, 'sud') print('r2 =', r2) r1.nom = "D2R2" # on a ajouté un nom à r1 mais r2 n'a pas de nom def tourner_gauche(robot): robot.direction = (robot.direction + 3) % 4 Robot.pivoter_gauche = tourner_gauche r2.pivoter_gauche() # directi...
9,162
https://github.com/likhim/quora-clone/blob/master/app/controllers/users_controller.rb
Github Open Source
Open Source
MIT
2,016
quora-clone
likhim
Ruby
Code
109
337
require 'byebug' enable :sessions post '/signup' do user = User.new(params[:user]) if user.save redirect '/users/:id' else status 400 user.errors.messages[:email] end end # works because authenticate method is call in models under has_secure_password post '/login' do user = User.find_by_email(params[:user][:...
31,779
https://github.com/ahmed5000hazem/laravel-questions-answers/blob/master/app/Http/Controllers/SPAController.php
Github Open Source
Open Source
MIT
null
laravel-questions-answers
ahmed5000hazem
PHP
Code
18
58
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class SPAController extends Controller { public function serveFrontend() { return view('spa'); } }
26,764
https://github.com/aerykpayne/gatsby-starter-netlify-cms/blob/master/src/components/Content.js
Github Open Source
Open Source
MIT
null
gatsby-starter-netlify-cms
aerykpayne
JavaScript
Code
96
279
import React from "react" import { css, cx } from "emotion" import { PRIMARY_TEXT } from "./constants" export default function Content({ html, className }) { return ( <div dangerouslySetInnerHTML={{ __html: html }} className={cx( css` position: relative; *:first-child { ...
20,567
https://github.com/mmgawlowski/sample-automation-framework/blob/master/rest-assured/src/test/java/tests/reqres/user/UpdateUserTests.java
Github Open Source
Open Source
MIT
2,021
sample-automation-framework
mmgawlowski
Java
Code
80
332
package tests.reqres.user; import io.qameta.allure.*; import org.assertj.core.api.Assertions; import org.testng.annotations.Test; import pojo.reqres.user.UserCreateOrUpdate; import pojo.reqres.user.UserUpdateResponse; import request.objects.reqres.user.UpdateUserEndpoint; import test.data.UserGenerator; import tests.T...
42,232
https://github.com/syhbandi/oauth-fb-google/blob/master/application/controllers/Auth.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
oauth-fb-google
syhbandi
PHP
Code
284
1,344
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Auth extends CI_Controller { public function __construct() { parent::__construct(); $this->load->helper('cookie'); $this->datetime = date('Y-m-d H:i:s'); } public function index() { if ($this->session->userdata('token')!=NULL) {...
21,753
https://github.com/carelvwyk/telkombytes/blob/master/src/telkom/netclient/netclient.go
Github Open Source
Open Source
MIT
null
telkombytes
carelvwyk
Go
Code
1,186
3,755
package netclient import ( "encoding/json" "fmt" "io/ioutil" "log" "net/http" "net/http/cookiejar" "net/url" "strconv" "strings" ) const ( userAgent = "TelkomBytes 0.2" colonSub = "COLON" betaLoginHost = "https://beta-login.telkom.co.za" ) // Bundle represents a Telkom bundle including the bundl...
10,495
https://github.com/ivangonzalezsp/carbon/blob/master/src/components/rainbow/__definition__.js
Github Open Source
Open Source
Apache-2.0
2,019
carbon
ivangonzalezsp
JavaScript
Code
166
362
import Rainbow from './'; import Definition from './../../../demo/utils/definition'; let definition = new Definition('rainbow', Rainbow, { description: `Simple information visualised in a chart.`, designerNotes: ` * Helps the user visualise some data in a chart - it works best to show a relative proportion, a litt...
10,082
https://github.com/gspu/bitkeeper/blob/master/src/gui/tcltk/tcl/win/tclWinInt.h
Github Open Source
Open Source
Apache-2.0
2,022
bitkeeper
gspu
C
Code
295
921
/* * tclWinInt.h -- * * Declarations of Windows-specific shared variables and procedures. * * Copyright (c) 1994-1996 Sun Microsystems, Inc. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. */ #ifndef _TCLWININT #define _TCLWI...
8,020
https://github.com/joaofbantunes/EventDrivenSample/blob/master/src/BurgerJoint.StoreFront/Infrastructure/Data/Configurations/OrderConfiguration.cs
Github Open Source
Open Source
MIT
2,021
EventDrivenSample
joaofbantunes
C#
Code
45
178
using System; using BurgerJoint.StoreFront.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace BurgerJoint.StoreFront.Infrastructure.Data.Configurations { public class OrderConfiguration : IEntityTypeConfiguration<Order> { public void Configure(En...
43,937
https://github.com/aggrosoft/wave-webpack-build/blob/master/assets/child/glide/build/js/svg-icons.js
Github Open Source
Open Source
MIT
2,020
wave-webpack-build
aggrosoft
JavaScript
Code
30
235
const solidIcons = require('@fortawesome/free-solid-svg-icons') const regularIcons = require('@fortawesome/free-regular-svg-icons') module.exports = [ solidIcons.faShoppingCart, solidIcons.faCircle, solidIcons.faAngleDown, solidIcons.faAngleRight, solidIcons.faAngleLeft, solidIcons.faCaretDown, solidIcon...
41,592
https://github.com/kienhung/docker-davmail/blob/master/Dockerfile
Github Open Source
Open Source
Unlicense
2,016
docker-davmail
kienhung
Dockerfile
Code
93
387
FROM alpine:latest MAINTAINER jberrenberg v0.8 RUN apk --update --no-cache add ca-certificates openjdk7-jre tar wget && \ adduser davmail -D && \ update-ca-certificates && \ mkdir /usr/local/davmail && \ wget -qO - http://downloads.sourceforge.net/project/davmail/davmail/4.7.3/davmail-linux-x86_64-4.7.3-2438....
32,147
https://github.com/liraz/ta4j/blob/master/ta4j-core/src/main/java/org/ta4j/core/api/yahoo/result/meta/YahooTradingPeriods.java
Github Open Source
Open Source
MIT
2,018
ta4j
liraz
Java
Code
64
211
package org.ta4j.core.api.yahoo.result.meta; public class YahooTradingPeriods { private YahooTradingPeriod pre; private YahooTradingPeriod regular; private YahooTradingPeriod post; public YahooTradingPeriod getPre() { return pre; } public void setPre(YahooTradingPeriod pre) { ...
9,503
https://github.com/nicoleajoy/lockstep-sdk-csharp/blob/master/src/models/CashflowReportModel.cs
Github Open Source
Open Source
MIT
null
lockstep-sdk-csharp
nicoleajoy
C#
Code
178
389
/*** * Lockstep Platform SDK for C# * * (c) 2021-2022 Lockstep, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @author Lockstep Network <support@lockstep.io> * @copyright 2021-2022 Lockstep, Inc. * @link https:...
14,185
https://github.com/numonium/maestrod/blob/master/gitactivity/indexHandler.go
Github Open Source
Open Source
Apache-2.0
2,016
maestrod
numonium
Go
Code
157
424
package gitactivity import ( "encoding/json" "log" "net/http" ) // IndexSubHandler is the SubHandler for the index route type IndexSubHandler struct { SubHandler Error ErrorHandler } // Get is the get method for / func (i IndexSubHandler) Get(res http.ResponseWriter, req *http.Request) { routeResp := RouteResp...
1,490
https://github.com/Silight/ComicEnv/blob/master/ComicEnv/lib/python3.2/ntpath.py
Github Open Source
Open Source
MIT
2,015
ComicEnv
Silight
Python
Code
1
15
/usr/lib/python3.2/ntpath.py
34,501
https://github.com/susanalexiaa/open-project/blob/master/resources/views/livewire/leads.blade.php
Github Open Source
Open Source
MIT
2,021
open-project
susanalexiaa
Blade
Code
480
2,610
<div wire:poll.5000ms> <div class="flex flex-col md:flex-row justify-between space-x-0 md:space-x-2 space-y-2 md:space-y-0 items-center"> <a href="#" wire:click="openModalNewLeadVisible()"> <x-jet-button>{{__('Add')}}</x-jet-button> </a> <x-jet-input class="mb-1" placeholder="{{_...
7,897
https://github.com/nikup/fp-elective-2017/blob/master/exercises/01/solutions/fast-expt.scm
Github Open Source
Open Source
MIT
2,018
fp-elective-2017
nikup
Scheme
Code
95
259
#lang racket (require rackunit rackunit/text-ui) (define (fast-expt a b) (cond ((= b 0) 1) ((= b 1) a) ((even? b) (* (fast-expt a (/ b 2)) (fast-expt a (/ b 2)))) (else (* a (fast-expt a (- b 1)))))) (define fast-expt-tests (test-suite "Tests for fast-expt" (check = (fast-expt 2 0) 1) ...
6,163
https://github.com/own-pt/glosstag/blob/master/data/sentences/own-71.tab
Github Open Source
Open Source
LicenseRef-scancode-wordnet
2,023
glosstag
own-pt
SQL
Code
20,000
40,388
# text = a stand from which a parade or military force can be reviewed # id = 04086150-n-1 # type = def 1 a wf DT a _ ignore 0:1 2 stand wf NN stand%1|stand%2 _ un 2:7 3 from wf IN from _ ignore 8:12 4 which wf WDT which _ ignore 13:18 5 a wf DT a _ ignore 19:20 6 parade wf NN parade%1|parade%2 parade%1:14:00:: man 21:...
13,054
https://github.com/LucasHenriqueOliveira/template-api/blob/master/src/constants.ts
Github Open Source
Open Source
MIT
null
template-api
LucasHenriqueOliveira
TypeScript
Code
24
183
export const constants = { secret: process.env.JWT_SECRET, expiresIn: process.env.JWT_EXPIRES_IN, mongo_url: process.env.MONGO_URL, mongo_database: process.env.MONGO_DATABASE, port: process.env.PORT, node_env: process.env.NODE_ENV, secret_refresh: process.env.JWT_REFRESH_TOKEN_SECRET, ex...
44,698
https://github.com/Djamel-eddine/djamel_ben_smail/blob/master/server/backend/base/constants/donation_status.py
Github Open Source
Open Source
MIT
null
djamel_ben_smail
Djamel-eddine
Python
Code
18
36
from enum import Enum class DonationStatus(Enum): wait = 0 accepted = 1 delivered = 2 refused = 3
42,333
https://github.com/simplyianm/clububer/blob/master/infusions/pro_download_panel/did.php
Github Open Source
Open Source
MIT
null
clububer
simplyianm
PHP
Code
877
4,146
<?php /*************************************************************************** * Professional Download System * * * * Copyright (C) pirdani * * p...
46,868
https://github.com/DeltaWareAU/SereneApi/blob/master/src/SereneApi.Core/Http/Responses/Exceptions/UnsuccessfulResponseException.cs
Github Open Source
Open Source
MIT
2,020
SereneApi
DeltaWareAU
C#
Code
34
103
using System; namespace SereneApi.Core.Http.Responses.Exceptions { public class UnsuccessfulResponseException : Exception { public IApiResponse Response { get; } public UnsuccessfulResponseException(IApiResponse response) : base($"Status: {response.Status} | Message: {response.Message}", resp...
7,091
https://github.com/solomondg/synthesis/blob/master/engine/unity5/Assets/Scripts/ScoreZoneEdit/ScoreZoneSettingsContainer.cs
Github Open Source
Open Source
Apache-2.0
2,017
synthesis
solomondg
C#
Code
100
241
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Runtime.Serialization; [Serializable()] public struct ScoreZoneSettingsContainer { public float Score { get; set; } public bool DestroyGamePieceOnScore { get; set; } public bool ReinstantiateGameP...
14,308
https://github.com/karina6188/E-Commerce-Store/blob/master/dotnet_ECommerce/dotnet_ECommerce/Models/CartItems.cs
Github Open Source
Open Source
MIT
null
E-Commerce-Store
karina6188
C#
Code
56
112
using System; namespace dotnet_ECommerce.Models { public class CartItems { public int ID { get; set; } public int CartID { get; set; } public int ProductID { get; set; } public int Quantity { get; set; } // Navigational Properties public Cart Cart { get; set;...
40,786
https://github.com/ooboqoo/xue-ui/blob/master/build/webpack.config.js
Github Open Source
Open Source
Unlicense
2,020
xue-ui
ooboqoo
JavaScript
Code
193
788
const path = require('path') const HtmlWebpackPlugin = require('html-webpack-plugin') const VueLoaderPlugin = require('vue-loader/lib/plugin') const MiniCssExtractPlugin = require('mini-css-extract-plugin') const isProduction = process.env.NODE_ENV === 'production' function resolve (dir) { return path.join(__dirnam...
3,162
https://github.com/na4lapy/na4lapy-android/blob/master/app/src/main/java/pl/kodujdlapolski/na4lapy/service/system/SystemServiceImpl.java
Github Open Source
Open Source
Apache-2.0
2,017
na4lapy-android
na4lapy
Java
Code
229
675
/* * Copyright 2017 Stowarzyszenie Na4Łapy * * 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 agr...
26,600
https://github.com/oyamay/onnx2chainer/blob/master/onnx2chainer/functions/math.py
Github Open Source
Open Source
BSD-3-Clause
null
onnx2chainer
oyamay
Python
Code
62
237
import chainer import chainer.functions as F # class OSub(chainer.Chain): def __init__(self): super(OSub, self).__init__() def forward(self, x1, x2): return x1-x2 class OMul(chainer.Chain): def __init__(self): super(OMul, self).__init__() def forward(self, x1, x2): r...
40,126
https://github.com/youfeng243/pig/blob/master/pig-gateway/src/main/java/com/github/pig/gateway/PigGatewayApplication.java
Github Open Source
Open Source
MIT
null
pig
youfeng243
Java
Code
112
568
package com.github.pig.gateway; import org.springframework.boot.SpringApplication; import org.springframework.cloud.client.SpringCloudApplication; import org.springframework.cloud.client.loadbalancer.LoadBalancerClient; import org.springframework.cloud.client.loadbalancer.LoadBalancerInterceptor; import org.springfram...
23,332
https://github.com/jd28/the_awakening/blob/master/scripts/nwn/bioware/x2_s3_planarrift.nss
Github Open Source
Open Source
MIT
2,016
the_awakening
jd28
null
Spoken
150
524
//:://///////////////////////////////////////////// //:: OnHit CastSpell: Planarrift //:: x2_s3_planarrift //:: Copyright (c) 2003 Bioware Corp. //::////////////////////////////////////////////// /* */ //::////////////////////////////////////////////// //:: Created By: Georg Zoeller //:: Created On: 2003-07-22 //:://...
33,448
https://github.com/Free-Opensource-Xperience/kernel/blob/master/src/include/shell.h
Github Open Source
Open Source
Apache-2.0
2,022
kernel
Free-Opensource-Xperience
C
Code
42
130
#pragma once #include "types.h" typedef struct command { uint8_t present; char* command; void* callback; char* description; } command_t; void shell_handle_key(int32_t keycode, char ch); void shell_initialize(); void shell_print_kernel(); void shell_handle_command(); void shell_reset_buffer(); void register_comman...
33,654
https://github.com/unirakun/kriya/blob/master/src/navigation/navigation.spec.js
Github Open Source
Open Source
MIT
null
kriya
unirakun
JavaScript
Code
96
248
/* eslint-disable import/no-extraneous-dependencies, react/jsx-filename-extension */ /* eslint-env jest */ import mockComponent from '__mocks__/component' import snap from 'snap' import Navigation from './navigation' jest.mock('./step', () => mockComponent('step')) const snapshot = props => snap(Navigation)({ childre...
17,961
https://github.com/JMacalinao/speedtestplusplus/blob/master/main.cpp
Github Open Source
Open Source
MIT
null
speedtestplusplus
JMacalinao
C++
Code
1,314
4,032
#include <iostream> #include <map> #include <iomanip> #include "SpeedTest.h" #include "TestConfigTemplate.h" #include "CmdOptions.h" #include <csignal> void banner(){ std::cout << "SpeedTest++ version " << SpeedTest_VERSION_MAJOR << "." << SpeedTest_VERSION_MINOR << std::endl; std::cout << "Speedtest.net comma...
32,334
https://github.com/semmet95/WordLadder_starter/blob/master/app/src/main/java/com/google/engedu/wordladder/PathDictionary.java
Github Open Source
Open Source
Apache-2.0
2,018
WordLadder_starter
semmet95
Java
Code
459
1,981
/* Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
1,767
https://github.com/oshpak92/fluid-sql/blob/master/C#/xUnit.Redshift/RedshiftSqlProviderTests.cs
Github Open Source
Open Source
MIT
2,018
fluid-sql
oshpak92
C#
Code
89
285
// <license> // The MIT License (MIT) // </license> // <copyright company="TTRider, L.L.C."> // Copyright (c) 2014-2016 All Rights Reserved // </copyright> using System.Data; using Xunit; using TTRider.FluidSql; using TTRider.FluidSql.Providers.Redshift; namespace xUnit.Redshift { public class Redshift...
20,454
https://github.com/euank/sprigcli/blob/master/vendor/k8s.io/helm/cmd/helm/dependency_test.go
Github Open Source
Open Source
MIT
2,019
sprigcli
euank
Go
Code
221
737
/* Copyright 2016 The Kubernetes Authors 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 ...
37,944
https://github.com/GreeD3X/tarantool/blob/master/src/box/sql/insert.c
Github Open Source
Open Source
BSD-2-Clause
null
tarantool
GreeD3X
C
Code
9,423
23,749
/* * Copyright 2010-2017, Tarantool AUTHORS, please see AUTHORS file. * * 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 lis...
25,043
https://github.com/apuc/behance/blob/master/common/messages/ru/social.php
Github Open Source
Open Source
2,020
behance
apuc
PHP
Code
90
328
<?php return [ 'Name' => 'Название', 'SOC'=>'Короткий код', 'ID' => 'ID', 'title' => 'Название', 'title_short' => 'Короткое название', 'desc' => 'Описание', 'price' => 'Цена за 1000 в $', 'status' => 'Статус', 'date' => 'Дата создания', 'type' => 'Услуга', 'social' => 'Соц. ...
49,155
https://github.com/fniephaus/BulkDataProcessor/blob/master/src/com/fniephaus/bulkdataprocessor/helpers/Configuration.java
Github Open Source
Open Source
MIT
null
BulkDataProcessor
fniephaus
Java
Code
98
319
package com.fniephaus.bulkdataprocessor.helpers; import org.apache.commons.configuration.ConfigurationException; import org.apache.commons.configuration.XMLConfiguration; public class Configuration { private final static XMLConfiguration config = loadConfiguration(); public static enum StatusType { UNKNOWN, OK, ...
48,328
https://github.com/soartech/jsoar/blob/master/jsoar-core/src/main/java/org/jsoar/kernel/rhs/functions/RhsFunctionHandler.java
Github Open Source
Open Source
BSD-3-Clause
2,023
jsoar
soartech
Java
Code
203
418
/* * Copyright (c) 2008 Dave Ray <daveray@gmail.com> * * Created on Sep 18, 2008 */ package org.jsoar.kernel.rhs.functions; import java.util.List; import org.jsoar.kernel.symbols.Symbol; /** * Interface for the implementation of a RHS function. * * @author ray * @see RhsFunctions * @see RhsFunctionManager...
33,898
https://github.com/zhangaozhi/orange-admin/blob/master/orange-demo-single/orange-demo-single-service/common/common-swagger/src/main/java/com/orangeforms/common/swagger/config/SwaggerProperties.java
Github Open Source
Open Source
Apache-2.0
2,022
orange-admin
zhangaozhi
Java
Code
76
262
package com.orangeforms.common.swagger.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; /** * 配置参数对象。 * * @author Jerry * @date 2020-09-24 */ @Data @ConfigurationProperties("swagger") public class SwaggerProperties { /** * 是否开启Swagger。 */ private Bool...
28,996
https://github.com/gelson-barros/Desenvolvimento_Web_Completo_2019/blob/master/Modulo-10-PHP-7/funcoes.php
Github Open Source
Open Source
MIT
2,021
Desenvolvimento_Web_Completo_2019
gelson-barros
PHP
Code
41
131
<?php //Encapsular um bloco de códigos com um objectivo definido //void (sem retorno) function exibirBoasVindas(){ echo "Bem- vindo ao curso de PHP!<br>"; } //return (com retorno) function calcularAreaTerreno($largura, $comprimento){ $area = $largura * $comprimento; return $area; } exibirBoasVindas(); e...
27,156
https://github.com/qbb-project/echelon/blob/master/src/hdf5/precursor/property_list.cpp
Github Open Source
Open Source
BSL-1.0
2,020
echelon
qbb-project
C++
Code
316
1,383
// Copyright (c) 2012-2016 Christopher Hinz // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <echelon/hdf5/precursor/property_list.hpp> #include <echelon/hdf5/precursor/error_handling.hpp> #include <...
32,660
https://github.com/JrCs/opendreambox/blob/master/recipes/matchbox-panel/matchbox-panel-0.9.2/mb-panel-multi-category-matching.patch
Github Open Source
Open Source
MIT
2,022
opendreambox
JrCs
null
Spoken
111
403
--- matchbox-panel-0.9.2/applets/mb-applet-menu-launcher.c 2005-04-06 22:13:00.000000000 +0200 +++ matchbox-panel-0.9.2.new/applets/mb-applet-menu-launcher.c 2006-02-16 00:43:28.000000000 +0100 @@ -566,7 +566,28 @@ { fallback = menu_lookup[i].item; } - if (strstr(category, + if (...
48,797
https://github.com/scenting/mums/blob/master/products/migrations/0007_auto_20161024_1927.py
Github Open Source
Open Source
MIT
null
mums
scenting
Python
Code
38
133
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-24 19:27 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('products', '0006_auto_20161024_1914'), ] operations = [ migrations.RenameField( ...
14,227
https://github.com/speedyswimmer1000/ueyeROS/blob/master/include/ueye/StereoNode.h
Github Open Source
Open Source
BSD-3-Clause
null
ueyeROS
speedyswimmer1000
C
Code
450
1,288
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2012, Kevin Hallenbeck * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following co...
30,382
https://github.com/MarcosGray/Sistema_seguros_php/blob/master/application/views/home/Painel.php
Github Open Source
Open Source
MIT
null
Sistema_seguros_php
MarcosGray
PHP
Code
32
144
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?><!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>MtrackSeguros - Seguros</title> <?php $this->load->helper('css'); $this->load->helper('login'); ?> </head> <body> <?php $this->load->helper('menu'); ?> <?php $this->...
37,527
https://github.com/sbovo/UWP-AuthenticateToAzureAD/blob/master/AuthenticateToAzureAD.UWP/AuthenticateToAzureAD.UWP/MainPage.xaml.cs
Github Open Source
Open Source
MIT
null
UWP-AuthenticateToAzureAD
sbovo
C#
Code
465
1,521
using Microsoft.Identity.Client; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using ...
4,863
https://github.com/tom95/sandblocks/blob/master/packages/Sandblocks-Core/SBHistoryStack.class.st
Github Open Source
Open Source
MIT
2,022
sandblocks
tom95
null
Spoken
288
764
Class { #name : #SBHistoryStack, #superclass : #Object, #instVars : [ 'undoStack', 'redoStack', 'changedArtefacts' ], #category : #'Sandblocks-Core' } { #category : #actions } SBHistoryStack >> clearUndoStack [ undoStack := OrderedCollection new. redoStack := OrderedCollection new. changedArtefacts := S...
48,860
https://github.com/sickano/mappingserverRORP/blob/master/gamemodes/bare.pwn
Github Open Source
Open Source
Apache-2.0, Unlicense
null
mappingserverRORP
sickano
null
Spoken
829
3,530
#include <a_samp> #include <streamer> #include <core> #include <float> #include <zcmd> #include <sscanf2> #include <foreach> #pragma tabsize 0 #define DIALOG_HELP 1 new Text:RORP; /* Variables ________________________________________________________________________________ */ /* Hooks _________________________...
38,386
https://github.com/zhangkn/iOS14Header/blob/master/System/Library/PrivateFrameworks/WorkflowUI.framework/WFDrawerPaneCloseButton.h
Github Open Source
Open Source
MIT
2,020
iOS14Header
zhangkn
C
Code
77
266
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 12:27:05 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/WorkflowUI.framework/WorkflowUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E...
24,677
https://github.com/CUFIR/CUFIR-Kit/blob/master/cufir-s-ecore/src/main/java/org/cufir/s/ecore/iso20022/impl/SyntaxImpl.java
Github Open Source
Open Source
BSD-3-Clause
2,022
CUFIR-Kit
CUFIR
Java
Code
543
2,118
/** */ package org.cufir.s.ecore.iso20022.impl; import java.lang.reflect.InvocationTargetException; import java.util.Collection; import java.util.Map; import org.cufir.s.ecore.iso20022.Encoding; import org.cufir.s.ecore.iso20022.Iso20022Package; import org.cufir.s.ecore.iso20022.MessageSet; import org.cufir.s.ecore...
15,024
https://github.com/CGUSTM/fwu_gen_metadata/blob/master/src/uuid_t.py
Github Open Source
Open Source
BSD-2-Clause
null
fwu_gen_metadata
CGUSTM
Python
Code
224
819
#!/usr/bin/env python3 # SPDX-License-Identifier: BSD-2-Clause # # Copyright (c) 2021, STMicroelectronics # import uuid from ctypes import Structure, c_uint32, c_uint16, c_uint8, Array from src.utils import uint8array_to_number, number_to_uint8array from src.utils import print_and_assert UUID_NODE_LEN = 6 UUID_STR_L...
24,405
https://github.com/camillescott/brego/blob/master/brego/templates/dashboard.js
Github Open Source
Open Source
MIT
null
brego
camillescott
JavaScript
Code
205
854
var start_time = new Date().getTime() function parseData(data) { var raw = JSON.parse(event.data); var data = raw.map(function(reading) { entry = {'time': new Date(reading[0] * 1000)} entry[reading[1]] = reading[2]; return entry; }); return data; } function getContainerSiz...
8,159
https://github.com/Zeral-Zhang/manager-system/blob/master/src/main/java/com/zeral/repository/InventoryRepository.java
Github Open Source
Open Source
MIT
null
manager-system
Zeral-Zhang
Java
Code
46
193
package com.zeral.repository; import com.zeral.domain.Inventory; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; /** * Created by karen on 2018/1/29. * */ @R...
50,029
https://github.com/dgimb89/glannotations/blob/master/source/glannotations/source/Renderer/Box.cpp
Github Open Source
Open Source
MIT
null
glannotations
dgimb89
C++
Code
285
1,460
#include <glannotations/Renderer/Box.h> #include <globjects/VertexAttributeBinding.h> #include <glbinding/gl/bitfield.h> #include <glbinding/gl/functions.h> #include <glbinding/gl/enum.h> #include <array> #include "../ShaderSources.hpp" /// -------------------- Shader --------------------- static const char* geomSha...
46,932
https://github.com/perryk12/conduit/blob/master/tests/netuit/assign/GenerateMetisAssignments.cpp
Github Open Source
Open Source
MIT
2,020
conduit
perryk12
C++
Code
33
188
#include <mpi.h> #define CATCH_CONFIG_MAIN #define CATCH_CONFIG_DEFAULT_REPORTER "multiprocess" #include "Catch/single_include/catch2/catch.hpp" #include "netuit/assign/GenerateMetisAssignments.hpp" #include "netuit/topology/Topology.hpp" #include "uitsl/debug/MultiprocessReporter.hpp" #include "uitsl/mpi/MpiGuard.hp...
37,128
https://github.com/lfrdcp/bank/blob/master/resources/views/Calendario/index.blade.php
Github Open Source
Open Source
MIT
null
bank
lfrdcp
PHP
Code
29
164
@extends('layouts.app') @section('title','Calendario') @section('title','Buscar') @section('content') <div class="container"> @include('includes.barraMenu') <div class="card border-0" style="border-radius: 20px; margin: 15px;"> <div class="card-title"> <h1 class="text-...
47,372
https://github.com/PennController/penncontroller/blob/master/src/elements/PennElement_html.js
Github Open Source
Open Source
BSD-2-Clause, 0BSD
2,022
penncontroller
PennController
JavaScript
Code
844
2,656
// HTML element /* $AC$ PennController.newHtml(name,file) Creates a new Html element $AC$ */ /* $AC$ PennController.getHtml(name) Retrieves an existing Html element $AC$ */ window.PennController._AddElementType("Html", function(PennEngine) { // Imported from Form.js function alertOrAddError(name, error) { ...
42,131
https://github.com/lixianghe/listenApp/blob/master/components/miniPlayer/index.js
Github Open Source
Open Source
MIT
2,021
listenApp
lixianghe
JavaScript
Code
695
3,332
const app = getApp() import btnConfig from '../../utils/pageOtpions/pageOtpions' import utils from '../../utils/util' Component({ properties: { percent: { type: Number, default: 0, }, songpic: { type: String, default: null, }, title: { type: String, default: nu...
46,776
https://github.com/LevNovikov92/gogen-avro/blob/master/v7/generic/union.go
Github Open Source
Open Source
MIT
2,021
gogen-avro
LevNovikov92
Go
Code
128
381
package generic import ( "github.com/actgardner/gogen-avro/v7/schema" "github.com/actgardner/gogen-avro/v7/vm/types" ) type unionDatum struct { itemTypes []schema.AvroType datum Datum } func (r *unionDatum) Datum() interface{} { return r.datum.Datum() } func (r *unionDatum) SetBoolean(v bool) { panic("")...
4,713
https://github.com/noexcs/rpc-framework/blob/master/rpc-noexcs-spring-boot-autoconfiguration/src/main/java/org/noexcs/spring/boot/autoconfigure/properties/Registry.java
Github Open Source
Open Source
Apache-2.0
2,022
rpc-framework
noexcs
Java
Code
177
463
package org.noexcs.spring.boot.autoconfigure.properties; /** * @author noexcs * @since 3/12/2022 7:25 PM */ public class Registry { /** * whether to enable registry */ boolean enabled = false; /** * registry type */ String type = "nacos"; /** * registry server */ ...
29,631
https://github.com/ganelson/inform/blob/master/inform7/imperative-module/Chapter 2/Compile Values.w
Github Open Source
Open Source
Artistic-2.0, LicenseRef-scancode-free-unknown, Glulxe
2,023
inform
ganelson
null
Spoken
1,093
3,133
[CompileValues::] Compile Values. To compile specifications of values into Inter value opcodes or array entries. @h Introduction. Quite a range of data can be held as specifications: see //values: Specifications//. Inside the compiler these are stored as |parse_node| pointers. This section of code aims to provide a s...
45,105
https://github.com/katahirado/Kaopoto/blob/master/src/jp/katahirado/android/kaopoto/adapter/InBoxAdapter.java
Github Open Source
Open Source
Apache-2.0
2,012
Kaopoto
katahirado
Java
Code
158
716
package jp.katahirado.android.kaopoto.adapter; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.facebook.android.Utility; import jp.katahirado.android.kaopoto.KaopotoUtil; import jp.katahirado.android.kaopoto.R; import jp.katahirado.an...
1,651
https://github.com/m-sadegh-sh/FaraMedia/blob/master/src/Presentation/FaraMedia.Web.Framework/UI/Navigation/Items/MenuItem.cs
Github Open Source
Open Source
MIT
null
FaraMedia
m-sadegh-sh
C#
Code
47
108
namespace FaraMedia.Web.Framework.UI.Navigation.Items { public sealed class MenuItem : NonClickableMenuItem { public MenuItem(string routeName, string resourceKey, object routeValues = null) : base(resourceKey) { RouteName = routeName; RouteValues = routeValues; } p...
14,937
https://github.com/Jona2jef/nim/blob/master/c_code/7_17/@mnim.nim.c
Github Open Source
Open Source
MIT
null
nim
Jona2jef
C
Code
3,494
25,612
/* Generated by Nim Compiler v1.6.2 */ #define NIM_INTBITS 64 #define NIM_EmulateOverflowChecks #include "nimbase.h" #include <string.h> #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimf...
51,113
https://github.com/Animadversio/TDD_exercise/blob/master/test/interval.jl
Github Open Source
Open Source
MIT
null
TDD_exercise
Animadversio
Julia
Code
123
585
iv = Interval(0,1) @test minimum(iv) == 0 @test maximum(iv) == 1 @test 0.5 in iv @test !(-0.5 in iv) @test (1.0 ∈ iv) iv = Interval(-0.2,1) @test minimum(iv) == -0.2 @test maximum(iv) == 1 @test -0.2 in iv @test !(1.5 in iv) @test (1.0 ∈ iv) @test issubset(Interval(0,1),Interval(0,2)) @test !issubset(Interval(0,1),In...
34,674
https://github.com/noamkfir/e/blob/master/tests/hence.spec.js
Github Open Source
Open Source
MIT
null
e
noamkfir
JavaScript
Code
90
215
/// <reference path="../typings/test.d.ts" /> var expect = chai.expect; describe('hence', function () { it('should support a single subscription to a single topic', function (done) { var hence = new Hence(); hence.subscribe("topic", function () { done(); }); hence.publish...
8,242
https://github.com/note/history-wikipedia/blob/master/web/app/models/BackgroundJob.java
Github Open Source
Open Source
Apache-2.0
2,014
history-wikipedia
note
Java
Code
50
140
package models; import java.util.*; import javax.persistence.*; import play.db.ebean.*; import play.data.format.*; import play.data.validation.*; @Entity public class BackgroundJob extends Model { public BackgroundJob(){ finished = false; } @Id public Long id; public Boolean finished; ...
22,665
https://github.com/JihoChoi/BD18F-JihoChoi/blob/master/hw2_parallax/hw2_rnn/rnn_horovod.py
Github Open Source
Open Source
MIT
2,019
BD18F-JihoChoi
JihoChoi
Python
Code
330
1,401
""" Example command for running this script: mpirun --mca btl_vader_single_copy_mechanism none --allow-run-as-root -bind-to none -map-by slot -mca orte_base_help_aggregate 0 -x NCCL_DEBUG=INFO -np 2 -H localhost:2 python rnn_horovod.py --max_steps=500 Example command for examining the checkpoint file: python <PARALLAX...
9,315
https://github.com/draganjovanovic1/VSTOContrib/blob/master/src/VSTOContrib.Outlook/ComComponentCategoriesManager.cs
Github Open Source
Open Source
MIT
2,022
VSTOContrib
draganjovanovic1
C#
Code
12
63
using System.Runtime.InteropServices; namespace VSTOContrib.Outlook { [ComImport, Guid("0002E005-0000-0000-C000-000000000046")] class ComComponentCategoriesManager { } }
41,836
https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/databricks/arm-databricks/src/models/parameters.ts
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, MIT
2,023
azure-sdk-for-js
Azure
TypeScript
Code
366
1,093
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { OperationParameter, OperationURLParameter, OperationQueryParameter } from ...
1,599
https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Constraints/ThrowsExceptionConstraint.cs
Github Open Source
Open Source
MIT, zlib-acknowledgement
2,023
nunit
nunit
C#
Code
224
536
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt using System; using NUnit.Framework.Internal; namespace NUnit.Framework.Constraints { /// <summary> /// ThrowsExceptionConstraint tests that an exception has /// been thrown, without any further tests. /// </sum...
3,727
https://github.com/pslawski/np-java-sdk/blob/master/src/main/java/com/neopets/handlers/ExceptionHandler.java
Github Open Source
Open Source
Apache-2.0
null
np-java-sdk
pslawski
Java
Code
15
41
package com.neopets.handlers; public interface ExceptionHandler<T extends Exception> { public void handle(String errorMessage) throws T; }
45,636
https://github.com/TerpstraS/hyper-canny/blob/master/src/numeric/fftw_traits.cc
Github Open Source
Open Source
Apache-2.0
2,018
hyper-canny
TerpstraS
C++
Code
192
792
/* Copyright 2017 Netherlands eScience Center * * 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...
8,769
https://github.com/PizzaCrust/Athena-1/blob/master/src/main/java/athena/presence/resource/FortnitePresence.java
Github Open Source
Open Source
MIT
null
Athena-1
PizzaCrust
Java
Code
1,092
2,885
package athena.presence.resource; import athena.Athena; import athena.account.resource.Account; import athena.exception.EpicGamesErrorException; import athena.friend.resource.summary.Profile; import athena.util.request.Requests; import athena.context.AthenaContext; import com.google.gson.annotations.Expose; import com...
20,666
https://github.com/tdharris/qninja2/blob/master/server/views/qmanagement/includes/credentialsPanel.jade
Github Open Source
Open Source
Apache-2.0
null
qninja2
tdharris
null
Spoken
101
728
#credentials.panel.panel-dark .panel-heading h3.panel-title i.glyphicon.glyphicon-user.space-right h3 Configure .panel-body.form form(ng-submit="getServiceRequests()") .form-group .input-group.add-on input#userid.form-control(type="text", ng-model="formData.engineer", pla...
8,118
https://github.com/mrStefanJ/front-end-task/blob/master/src/scss/atoms/button.scss
Github Open Source
Open Source
MIT
2,020
front-end-task
mrStefanJ
SCSS
Code
86
374
.a-button { position: relative; border-radius: 5px; padding: 10px 38px; min-height: 38px; border: 1px solid transparent; outline: none; white-space: nowrap; &:hover { cursor: pointer; opacity: 0.6; text-decoration: none; } &:focus { outline: none; ...
49,876
https://github.com/rupran/BOLT/blob/master/src/Exceptions.h
Github Open Source
Open Source
NCSA
2,018
BOLT
rupran
C++
Code
339
1,023
//===-- Exceptions.h - Helpers for processing C++ exceptions --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
25,036
https://github.com/zahreelay/saltside/blob/master/views/services.jade
Github Open Source
Open Source
MIT
null
saltside
zahreelay
null
Spoken
32
104
extends _shared block body .services h2 Services we provide //- Implement filtering here form(method="get") input(type= "text" placeholder="type to filter" name="type") input(type= "submit") for service in services h4= service.job p= service.cost p= service.type
39,367
https://github.com/fexrapis/fexr-js/blob/master/lib/endpoints.js
Github Open Source
Open Source
MIT
null
fexr-js
fexrapis
JavaScript
Code
44
166
"use strict"; module.exports = { headers: { headers: { 'user-agent': 'fexr-js-0.3.0', 'Content-Type': 'application/json', 'Authorization': 'Token ' + localStorage.getItem('token') } } , FME : 'https://fme.getfexr.com/api' // , FME : 'http://localhost:...
6,682
https://github.com/AlexSabur/orchid-livewire/blob/master/tests/Components/BarBazComponent.php
Github Open Source
Open Source
MIT
2,023
orchid-livewire
AlexSabur
PHP
Code
54
160
<?php declare(strict_types=1); namespace Tests\Components; use Livewire\Component; class BarBazComponent extends Component { public $bar; public $baz; public function mount($bar = null, $baz = null) { $this->bar = $bar; $this->baz = $baz; } public function render() { ...
39,287
https://github.com/OmarElsahragty/Blog-Posts/blob/master/src/infrastructure/cache/index.js
Github Open Source
Open Source
MIT
2,022
Blog-Posts
OmarElsahragty
JavaScript
Code
14
26
export { default as connection } from "./Connection.Cache"; export { default } from "./Client.Cache";
32,388
https://github.com/robburger/terraform-registry/blob/master/src/utils/message.ts
Github Open Source
Open Source
MIT
2,022
terraform-registry
robburger
TypeScript
Code
257
724
import { APIGatewayProxyResult } from 'aws-lambda' import { STATUS_CODES } from 'http' enum StatusCode { success = 200, created = 201, noContent = 204, bad = 400, notFound = 404, error = 500, notImplemented = 501, } class Result { private readonly statusCode: number private readonly data?: unknown ...
42,622
https://github.com/arpite/arpite/blob/master/src/Page/Objects/NavigationItem.php
Github Open Source
Open Source
MIT
2,023
arpite
arpite
PHP
Code
110
413
<?php namespace Arpite\Page\Objects; use Arpite\Component\Traits\HasIcon; use Arpite\Component\Traits\HasTitle; use Arpite\Core\Interfaces\Exportable; use Arpite\Core\Utilities\ExportBuilder; use Arpite\Page\Page; class NavigationItem implements Exportable { use HasTitle; use HasIcon; private string $route; pr...
6,832