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/doly-dev/doly-icons/blob/master/src/icons/Reply.tsx
Github Open Source
Open Source
MIT
null
doly-icons
doly-dev
TypeScript
Code
130
576
import React, { forwardRef } from 'react'; import type { IconBaseProps } from '../icon/IconBase'; import IconBase from '../icon/IconBase'; const Reply = forwardRef<HTMLSpanElement, IconBaseProps>(({ svgProps, ...restProps }, ref) => { return ( <IconBase aria-label="reply" {...restProps} ref={ref}> <svg xml...
17,323
https://github.com/j-benn/ANDS-ResearchData-Registry/blob/master/applications/portal/templates/ands-green/registry_object/contents/related-program.blade.php
Github Open Source
Open Source
Apache-2.0
2,021
ANDS-ResearchData-Registry
j-benn
PHP
Code
61
293
<div class="related-programs"> <h4>Related Program</h4> <ul class="list-unstyled"> @foreach($related['programs']['docs'] as $col) <li> <i class="fa fa-flask icon-portal"></i> <small>{{ $col['display_relationship'] }}</small> <a href="{{ base_ur...
34,572
https://github.com/hamzasharuf/FloorPlanner/blob/master/library/src/main/java/com/hamzasharuf/floor_planner/FloorPlannerGraphics.kt
Github Open Source
Open Source
MIT
2,022
FloorPlanner
hamzasharuf
Kotlin
Code
389
1,012
package com.hamzasharuf.floor_planner import android.graphics.Canvas import android.graphics.Color import android.graphics.Paint import android.graphics.Path import com.hamzasharuf.floor_planner.model.Polygon /** * This class is responsible for rendering a [FloorPlanner] on a canvas. * It also takes care of resizin...
21,363
https://github.com/cyber-inspector/certvalidator/blob/master/certvalidator/version.py
Github Open Source
Open Source
MIT
2,022
certvalidator
cyber-inspector
Python
Code
19
64
# coding: utf-8 from __future__ import unicode_literals, division, absolute_import, print_function __version__ = '0.12.0.dev1' __version_info__ = (0, 12, 0, 'dev1')
15,814
https://github.com/mavenlink/mavenlink_ruby_old/blob/master/lib/mavenlink/errors.rb
Github Open Source
Open Source
MIT
null
mavenlink_ruby_old
mavenlink
Ruby
Code
26
64
module Mavenlink class Error < StandardError attr_accessor :errors def initialize(errors) self.errors = errors end end class AuthenticationError < Error; end class InvalidParametersError < Error; end end
36,121
https://github.com/Singleware/parsing/blob/master/source/rules/status/index.ts
Github Open Source
Open Source
MIT
null
parsing
Singleware
TypeScript
Code
37
56
/* * Copyright (C) 2018-2019 Silas B. Domingos * This source code is licensed under the MIT License as described in the file LICENSE. */ export { Error } from './error'; export { Success } from './success';
39,024
https://github.com/walle1027/framework/blob/master/framework-mybatis/src/main/java/org/loed/framework/mybatis/inspector/autoconfigure/DbInspector.java
Github Open Source
Open Source
MIT
2,021
framework
walle1027
Java
Code
1,067
4,579
package org.loed.framework.mybatis.inspector.autoconfigure; import org.apache.commons.collections.CollectionUtils; import org.loed.framework.common.RoutingDataSource; import org.loed.framework.common.ThreadPoolExecutor; import org.loed.framework.common.autoconfigure.DbInspectorRegister; import org.loed.framework.commo...
45,590
https://github.com/anmolbansal7/UniGuide/blob/master/UniGuide/Controllers/UserViewController.swift
Github Open Source
Open Source
MIT
null
UniGuide
anmolbansal7
Swift
Code
276
906
// // UserViewController.swift // UniGuide // // Created by Gokul Nair on 25/05/21. // import UIKit class UserViewController: UIViewController { @IBOutlet weak var profile: UIImageView! @IBOutlet weak var nameLabel: UILabel! @IBOutlet weak var mailLabel: UILabel! @IBOutlet weak var view1: UIView! ...
24,386
https://github.com/turutle/labLP-5/blob/master/ind.py
Github Open Source
Open Source
MIT
null
labLP-5
turutle
Python
Code
60
186
#!/usr/bin/env python3 # -*- coding: utf-8 -*- #Индивидуальное задание №13: Найти сумму аргументов, расположенных после минимального аргумента def after_min(*args): if args: ans = 0 idx = args.index(min(args)) for item in args: if args.index(item) > idx: ans += ...
33,468
https://github.com/karuppasamyit10/sb-react-web-demo-appln/blob/master/src/main/java/com/example/repository/UserCookiesRepository.java
Github Open Source
Open Source
Apache-2.0
null
sb-react-web-demo-appln
karuppasamyit10
Java
Code
28
138
package com.example.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.example.entity.UserCookies; @Repository public interface UserCookiesRepository extends JpaRepository<UserCookies, Long> { UserCookies findFirstByOrderByCookieU...
36,355
https://github.com/DalyaF/coavioage-skyser/blob/master/src/main/java/skyser/ws/UserResource.java
Github Open Source
Open Source
Apache-2.0
null
coavioage-skyser
DalyaF
Java
Code
486
1,809
package skyser.ws; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import org.apache.http.HttpHost; import org.elastics...
31,763
https://github.com/PatrickVienne/PythonAssessment/blob/master/answers/q7.py
Github Open Source
Open Source
MIT
null
PythonAssessment
PatrickVienne
Python
Code
131
304
############### # collections # ############### # what is a deque, write few lines: # -initialize with length 2 # -add entry 1 # -add entry 2 # -add entry 3 # -print container # -use/remove entry # -print container # -use/remove entry import collections container = collections.deque(maxlen=2) container.append(1) cont...
5,524
https://github.com/HALtheWise/tello-experiments/blob/master/third_party/vins-fusion/vins_estimator/src/initial/initial_aligment.cpp
Github Open Source
Open Source
MIT
2,022
tello-experiments
HALtheWise
C++
Code
851
3,138
/******************************************************* * Copyright (C) 2019, Aerial Robotics Group, Hong Kong University of Science and Technology * * This file is part of VINS. * * Licensed under the GNU General Public License v3.0; * you may not use this file except in compliance with the License. * * Aut...
28,870
https://github.com/gs02048/micro/blob/master/pkg/net/http/blademaster/perf.go
Github Open Source
Open Source
MIT
2,017
micro
gs02048
Go
Code
138
704
package blademaster import ( "flag" "net/http" "net/http/pprof" "os" "sync" "github.com/gs02048/micro/pkg/conf/dsn" "github.com/pkg/errors" ) var ( _perfOnce sync.Once _perfDSN string ) func init() { v := os.Getenv("HTTP_PERF") flag.StringVar(&_perfDSN, "http.perf", v, "listen http perf dsn, or use HTT...
18,554
https://github.com/scssyworks/hbs2htl/blob/master/src/tagStack.js
Github Open Source
Open Source
MIT
null
hbs2htl
scssyworks
JavaScript
Code
77
242
module.exports = class TagStack { constructor(existing) { this.list = []; if (Array.isArray(existing) && existing.length) { this.list.push(...existing); } this.length = this.list.length; } push(item) { if (item && typeof item === 'object' ...
24,507
https://github.com/tum-lkn/appaware/blob/master/demo_setup/vagrant/kernel_update.sh
Github Open Source
Open Source
MIT
null
appaware
tum-lkn
Shell
Code
111
637
# ToDO: check if kernel is up-to-date echo 'Trying to update kernel' if [ $(uname -r) = "4.15.4-041504-generic" ]; then echo 'Kernel up to date' exit fi # go to home dir cd ~ # fetch stuff echo 'Downloading new kernel and headers' wget -q http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15.4/linux-image-...
44,217
https://github.com/aaronpowell/graphql-typescript-workshop/blob/master/completed/src/operations/addPlayer.graphql
Github Open Source
Open Source
CC-BY-4.0, MIT
2,022
graphql-typescript-workshop
aaronpowell
null
Spoken
27
79
mutation addPlayerScreen($id: ID!, $name: String!) { addPlayerToGame(input: { gameId: $id, playerName: $name }) { id } startGame(id: $id) { id players { id name } } }
26,249
https://github.com/UniqueNetwork/unique-ui/blob/master/dist/react-hooks/src/useLedger.d.ts
Github Open Source
Open Source
Apache-2.0
2,021
unique-ui
UniqueNetwork
TypeScript
Code
31
81
import { Ledger } from '@polkadot/hw-ledger'; interface StateBase { isLedgerCapable: boolean; isLedgerEnabled: boolean; } interface State extends StateBase { getLedger: () => Ledger; } export declare function useLedger(): State; export {};
34,214
https://github.com/MTES-MCT/trackdechets-dasri-proto/blob/master/front/src/account/fields/AccountFieldCompanyGivenName.tsx
Github Open Source
Open Source
MIT
null
trackdechets-dasri-proto
MTES-MCT
TypeScript
Code
134
428
import React from "react"; import { gql } from "@apollo/client"; import AccountField from "./AccountField"; import AccountFormSimpleInput from "./forms/AccountFormSimpleInput"; import { CompanyPrivate, MutationUpdateCompanyArgs, } from "generated/graphql/types"; type Props = { company: CompanyPrivate; }; Accoun...
35,572
https://github.com/ZRunner/ZBot/blob/master/fcts/bot_stats.py
Github Open Source
Open Source
MIT
2,022
ZBot
ZRunner
Python
Code
504
1,613
from datetime import datetime, timezone import os from time import time from math import isinf import typing from discord.ext import commands, tasks import psutil import mysql from utils import MyContext, Zbot class BotStats(commands.Cog): """Hey, I'm a test cog! Happy to meet you :wave:""" def __init__(sel...
30,049
https://github.com/mehmetdik/exchange/blob/master/app/Resources/views/base.html.twig
Github Open Source
Open Source
MIT
null
exchange
mehmetdik
Twig
Code
59
236
<!DOCTYPE html> <html> <head> <style> table, th, td { border: 1px solid black; } </style> </head> <body> <table> <tr> <th>Provider Name</th> <th>Price</th> <th>Symbol</th> <th>Main Currency</th> </tr> {% for low in lowest%} <tr> ...
22,647
https://github.com/jonfliri/MIALab_project/blob/master/old/boxplot_new_solution.py
Github Open Source
Open Source
Apache-2.0
null
MIALab_project
jonfliri
Python
Code
736
2,159
import matplotlib.pyplot as plt import numpy as np import os import pandas as pd from datetime import datetime # Local variables for plotting AVAILABLE_METRICS = ['DICE', 'HDRFDST'] def read_pure_python(dir_path: str): # Get the correct file csv_files = [f.path for f in os.scandir(dir_path) if f.name == 'res...
40,956
https://github.com/scapaul/zapiclient/blob/master/lib/zapiclient/commands/add_attachment.rb
Github Open Source
Open Source
MIT
null
zapiclient
scapaul
Ruby
Code
172
838
require 'net/http' require 'uri' require 'json' require 'mime/types' require_relative './command' module Zapiclient::Commands class AddAttachment < Command BOUNDARY = "AaB03x" BASE_URL = '/public/rest/api/1.0/attachment?issueId={ISSUE_ID}&versionId={VERSION_ID}&entityName={ENTITY_NAME}&cycleId={CYCLE_ID}&en...
5,845
https://github.com/moeshin/zblogphp/blob/master/zb_users/plugin/Totoro/inc/rule_hyperlink_value.php
Github Open Source
Open Source
MIT
2,022
zblogphp
moeshin
PHP
Code
37
181
<?php return 'hyperlink_value'; function hyperlink_value($author, $content, $orig_content, &$sv, $config_sv, $config_array) { $matches = array(); preg_match_all("/https?:\/\/(?!www|ftp)|ftp|www./si", $orig_content, $matches); //var_dump($matches[0]); $count = count($matches[0]); if ($count > 0) {...
25,805
https://github.com/Asik007/1526B-VEX-code/blob/master/1526B-VEX-code/include/vmath.h
Github Open Source
Open Source
MIT
2,021
1526B-VEX-code
Asik007
C
Code
270
701
/* * "vmath.h" - A math namespace that defines 2D vectors. * Copyright (C) 2020 Evan Hess * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * ...
46,620
https://github.com/CircleSD/active_manageable/blob/master/lib/active_manageable/methods/auxiliary/includes.rb
Github Open Source
Open Source
MIT
null
active_manageable
CircleSD
Ruby
Code
438
1,101
module ActiveManageable module Methods module Auxiliary module Includes extend ActiveSupport::Concern class_methods do # Sets the default associations to eager load when fetching records # in the index, show, edit, update and destroy methods # if the methods :o...
17,763
https://github.com/jarednielsen/speech2phone/blob/master/temp_kyle/keras_experiments.py
Github Open Source
Open Source
MIT
2,021
speech2phone
jarednielsen
Python
Code
427
1,443
"""Optimize some hyperparameters. Kyle Roth. 2019-04-11. """ from time import time import os import keras import numpy as np from sklearn.model_selection import train_test_split import matplotlib.pyplot as plt def test_model(X_train, y_train, X_val, y_val, widths, lr, decay, momentum, epochs, batch_size, ret_model...
15,576
https://github.com/KuroLevin/yap-6.3/blob/master/C/eval.c
Github Open Source
Open Source
Artistic-1.0-Perl, ClArtistic
2,022
yap-6.3
KuroLevin
C
Code
1,602
5,514
/************************************************************************* * * * YAP Prolog * * * * Yap Prolog was developed at NCCUP - Universidade do Porto * * * * Copyright L.Damas, V.S.Costa and Universidade do Porto 1985-1997 * * * ************************************...
22,662
https://github.com/ashishneosoftmail/JSC_LMS/blob/master/src/Core/JSC_LMS.Application/Features/Academics/Commands/UpdateAcademic/UpdateAcademicCommandHandler.cs
Github Open Source
Open Source
Apache-2.0
null
JSC_LMS
ashishneosoftmail
C#
Code
132
592
using AutoMapper; using FluentValidation; using JSC_LMS.Application.Contracts.Persistence; using JSC_LMS.Application.Exceptions; using JSC_LMS.Application.Response; using MediatR; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using ValidationEx...
38,213
https://github.com/sebaslogen/kotlinx.coroutines/blob/master/core/kotlinx-coroutines-core/src/test/kotlin/kotlinx/coroutines/experimental/CoroutinesTest.kt
Github Open Source
Open Source
Apache-2.0
null
kotlinx.coroutines
sebaslogen
Kotlin
Code
219
466
/* * Copyright 2016-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
1,739
https://github.com/wankunde/cloudera_hadoop/blob/master/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/BootstrapStandby.java
Github Open Source
Open Source
Apache-2.0
2,019
cloudera_hadoop
wankunde
Java
Code
1,580
4,679
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
31,562
https://github.com/ulldecorb/json-web-token-demo/blob/master/index.js
Github Open Source
Open Source
MIT
null
json-web-token-demo
ulldecorb
JavaScript
Code
188
669
const express = require('express'); const app = express(); const jwt = require('jsonwebtoken'); require('dotenv').config(); app.use(express.urlencoded({extended: false})); app.use(express.json()); app.get('/', (req, res) => { res.send(`<html> <head> <title>JWT demo</title> ...
31,452
https://github.com/Niikpatil/Employee_DBS/blob/master/resources/views/organisation_record/salaries/table.blade.php
Github Open Source
Open Source
MIT
2,021
Employee_DBS
Niikpatil
PHP
Code
89
441
<div class="animated fadeIn"> <div class="row m-4"> <div class="text-center col-lg-10 offset-1"> <div class="card"> <div class="card-header"> <h4>Employee Payband</h4> <div align="right"> <a href="{{ rout...
16,195
https://github.com/akantor333/sdev4ca1/blob/master/app/controllers/HomeController.java
Github Open Source
Open Source
CC0-1.0
null
sdev4ca1
akantor333
Java
Code
486
2,324
package controllers; import play.mvc.*; import views.html.*; import play.api.Environment; import play.data.*; import play.db.ebean.Transactional; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import models.*; import models.employees.*; import play.mvc.Http.*; import play.mvc.Http....
34,838
https://github.com/ybedirhanpak/bounswe2019group1/blob/master/android/khajit/app/src/main/java/com/project/khajit_app/data/models/createWalletResponse.kt
Github Open Source
Open Source
MIT
2,019
bounswe2019group1
ybedirhanpak
Kotlin
Code
22
73
package com.project.khajit_app.data.models import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class createWalletResponse (val detail : String?, val id: Int?, val owner: Int?) : Parcelable
33,607
https://github.com/DPain/DBot/blob/master/src/main/java/com/dpain/DiscordBot/enums/Timezone.java
Github Open Source
Open Source
Apache-2.0
2,019
DBot
DPain
Java
Code
41
202
package com.dpain.DiscordBot.enums; import java.time.ZoneId; public enum Timezone { /* @formatter:off */ // Timezones PST(ZoneId.of("America/Los_Angeles")), CST(ZoneId.of("America/Chicago")), EST(ZoneId.of("America/New_York")), KST(ZoneId.of("Asia/Seoul")), UTC(ZoneId.of("UTC")), ACT(ZoneId.of("Austra...
37,729
https://github.com/aayushduwadi/ops-agent/blob/master/confgenerator/logging_receivers.go
Github Open Source
Open Source
Apache-2.0
null
ops-agent
aayushduwadi
Go
Code
1,023
3,024
// Copyright 2021 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
34,429
https://github.com/creativepisystem/creativesystem/blob/master/C#/Truckleer/Truckleer.Creative/Screens/Home/Home.Designer.cs
Github Open Source
Open Source
MIT
null
creativesystem
creativepisystem
C#
Code
2,937
16,012
namespace Truckleer.Creative.Screens.Home { partial class Home { /// <summary> /// Variável de designer necessária. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpar os recursos que estão sendo usados. ...
14,132
https://github.com/abigpotostew/easypolitics/blob/master/ui/src/main/kotlin/bz/stew/bracken/ui/util/Math.kt
Github Open Source
Open Source
Apache-2.0
null
easypolitics
abigpotostew
Kotlin
Code
73
163
package bz.stew.bracken.ui.util /** * Created by stew on 1/28/17. */ class Math { //Call these with Math.easeInOutQuad() companion object Ease { fun easeInOutQuad(t: Double, b: Double, c: Double, d: Double): Double { ...
20,922
https://github.com/okbel/talk-devtools-extension/blob/master/extension/devtools/index.js
Github Open Source
Open Source
Apache-1.1
2,018
talk-devtools-extension
okbel
JavaScript
Code
7
42
chrome.devtools.panels.create( 'Talk', 'icon.png', '/window/devpanel.html', function() {} );
2,358
https://github.com/alamoWEB/TXQ/blob/master/src/api/v1/txstore/index.ts
Github Open Source
Open Source
MIT
2,021
TXQ
alamoWEB
TypeScript
Code
252
839
import { Request, Response, NextFunction } from 'express'; import { Container } from 'typedi'; import { path } from '../index'; import { sendResponseWrapper } from '../../../util/sendResponseWrapper'; import { sendErrorWrapper } from '../../../util/sendErrorWrapper'; import { AccountContextHelper } from '../../account-...
514
https://github.com/sybilo/UnRar/blob/master/src/main/scala/com/test/Src.scala
Github Open Source
Open Source
MIT
2,020
UnRar
sybilo
Scala
Code
168
357
/* * Copyright (C) 2019-present, Chenai Nakam(chenai.nakam@gmail.com) * * 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 r...
41,119
https://github.com/0vert1m3/test/blob/master/ee/spec/presenters/ci/pipeline_presenter_spec.rb
Github Open Source
Open Source
MIT
2,019
test
0vert1m3
Ruby
Code
67
197
require 'spec_helper' describe Ci::PipelinePresenter do set(:project) { create(:project) } set(:pipeline) { create(:ci_pipeline, project: project) } subject(:presenter) do described_class.new(pipeline) end context '#failure_reason' do context 'when pipeline has failure reason' do it 'represen...
16,520
https://github.com/OskarJoss/picture-this/blob/master/profile.php
Github Open Source
Open Source
MIT
null
picture-this
OskarJoss
PHP
Code
518
1,953
<?php require __DIR__ . '/views/header.php'; ?> <?php if (!isLoggedIn()) { redirect('/'); } ?> <?php echoErrorsAndMessages(); ?> <section class="profile"> <?php if (isset($_GET['id'])) : ?> <?php if (getUserById($pdo, $_GET['id']) !== false) : ?> <?php $user = getUserById($pdo, $_GET['i...
17,627
https://github.com/poanchen/azure-sdk-for-ruby/blob/master/management/azure_mgmt_policy/lib/2018-03-01/generated/azure_mgmt_policy/models/policy_assignment.rb
Github Open Source
Open Source
MIT
2,022
azure-sdk-for-ruby
poanchen
Ruby
Code
399
1,180
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Policy::Mgmt::V2018_03_01 module Models # # The policy assignment. # class PolicyAssignment include MsRestAzure ...
23,720
https://github.com/maccopacco/cs461-course-project/blob/master/amplify/backend/api/cs461courseproject/schema.graphql
Github Open Source
Open Source
MIT
null
cs461-course-project
maccopacco
null
Spoken
136
399
type Item @model { id: ID! name: String! } enum UserType { STUDENT, INSTRUCTOR, REGISTRAR } type SchoolUser @model { id: ID! first_name: String! last_name: String! email: String! passwrd: String! user_type: UserType! student_enrolled_in: [Course] @connection } type Department ...
39,876
https://github.com/goel-amit/Food-Order-Website/blob/master/application/views/contect.php
Github Open Source
Open Source
MIT
null
Food-Order-Website
goel-amit
PHP
Code
120
612
<html> <head> <meta http-equiv="X-UA-Compatible" content="IE-edge" /> <meta name="viewport" content="width=device-width" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Home</title> <link type="text/css" rel="stylesheet" href="<?= base_url('tool/css/s2.css'); ?>...
5,456
https://github.com/clubturbo/Trac-1.4.2/blob/master/trac/ticket/web_ui.py
Github Open Source
Open Source
BSD-3-Clause
null
Trac-1.4.2
clubturbo
Python
Code
6,980
22,718
# -*- coding: utf-8 -*- # # Copyright (C) 2003-2020 Edgewall Software # Copyright (C) 2003-2005 Jonas Borgström <jonas@edgewall.com> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at htt...
35,321
https://github.com/harsh2338/RTL/blob/master/src/app/eclair/home/balances-info/balances-info.component.ts
Github Open Source
Open Source
MIT
2,022
RTL
harsh2338
TypeScript
Code
36
120
import { Component, Input } from '@angular/core'; @Component({ selector: 'rtl-ecl-balances-info', templateUrl: './balances-info.component.html', styleUrls: ['./balances-info.component.scss'] }) export class ECLBalancesInfoComponent { @Input() balances = { onchain: 0, lightning: 0, total: 0 }; @Input() error...
14,651
https://github.com/RafaelHuang87/Leet-Code-Practice/blob/master/16.py
Github Open Source
Open Source
MIT
null
Leet-Code-Practice
RafaelHuang87
Python
Code
99
471
class Solution: def threeSumClosest(self, nums: [int], target: int) -> int: nums = sorted(nums) visited = [] difference = float('inf') result = 0 for i, num_1 in enumerate(nums): if num_1 in visited: continue else: visi...
41,429
https://github.com/Flagbit/catalog/blob/master/src/DataPool/SearchEngine/Exception/SearchEngineNotAvailableException.php
Github Open Source
Open Source
BSD-3-Clause
2,019
catalog
Flagbit
PHP
Code
10
50
<?php declare(strict_types=1); namespace LizardsAndPumpkins\DataPool\SearchEngine\Exception; class SearchEngineNotAvailableException extends \RuntimeException { }
40,592
https://github.com/Hulk-App/polaris-vue/blob/master/src/components/PResourceList/components/PResourceListHeader/PResourceListHeader.vue
Github Open Source
Open Source
MIT
null
polaris-vue
Hulk-App
Vue
Code
662
2,749
<template> <div :class="className"> <div v-if="loading" class="Polaris-ResourceList__HeaderWrapper--overlay"></div> <div class="Polaris-ResourceList__HeaderContentWrapper"> <div class="Polaris-ResourceList__HeaderTitleWrapper">{{ resourceHeaderTitle }}</div> <div class="Polar...
33,453
https://github.com/avram-cristian1977/IbanezGuitarsShop/blob/master/src/store/index.js
Github Open Source
Open Source
MIT
null
IbanezGuitarsShop
avram-cristian1977
JavaScript
Code
134
488
import {configureStore, createSlice, createAsyncThunk} from "@reduxjs/toolkit" export const eurCurrency = createAsyncThunk("eur/eurCurrency", async () => { try { const response = await fetch("https://freecurrencyapi.net/api/v2/latest?apikey=86af7f20-3666-11ec-a4c8-1f589826ceba") const data = await...
44,852
https://github.com/MyTkme/trivial/blob/master/Core/Reflection/Initialization.cs
Github Open Source
Open Source
MIT
2,019
trivial
MyTkme
C#
Code
269
742
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Trivial.Reflection { /// <summary> /// The initialization in thread-safe mode. /// </summary> public class Initialization { private Semaphor...
13,226
https://github.com/mytien0906/bsdtrandinhtrong-php/blob/master/doctor/templates/excel/item_import_tpl.php
Github Open Source
Open Source
Apache-2.0
null
bsdtrandinhtrong-php
mytien0906
PHP
Code
73
386
<script> $(document).ready(function(e) { $('#ok').click(function(){ $('#load').css({visibility: "visible"}); }); }); </script> <div class="control_frm" style="margin-top:25px;"> <div class="bc"> <ul id="breadcrumbs" class="breadcrumbs"> <li><a href="index.php?com=product...
27,964
https://github.com/DouglasYuen/ProjectBobo/blob/master/Source/PhysicalExam.py
Github Open Source
Open Source
MIT
null
ProjectBobo
DouglasYuen
Python
Code
40
111
## Physical exam class, contains a list of field values associated with a particular physical exam ## from Field import Field class PhysicalExam(): def __init__(self, theExamName, theField): self.examName = theExamName self.examField = theField def modifyField(self, theFieldID): newField = Field(theFieldI...
25,131
https://github.com/taufiqqnh/taufiqqnh.github.io/blob/master/resources/views/visitor/layouts/app.blade.php
Github Open Source
Open Source
MIT
null
taufiqqnh.github.io
taufiqqnh
PHP
Code
323
1,692
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <link rel="icon" type="image/png" href="../asset...
8,429
https://github.com/hsbyhub/libxco/blob/master/src/stream.h
Github Open Source
Open Source
MulanPSL-1.0
2,022
libxco
hsbyhub
C
Code
329
1,265
/*================================================================* Copyright (C) 2021 All rights reserved, www.hsby.link. 文件名称:echo_server.cc 创 建 者:汉森伯逸 创建日期:2022/2/13 *================================================================*/ #pragma once #include <memory> #include "bytearray....
3,834
https://github.com/LinYunWen/HackMDir/blob/master/src/app/components/CustomSnackbar.js
Github Open Source
Open Source
MIT
2,021
HackMDir
LinYunWen
JavaScript
Code
132
423
import React from 'react' import { makeStyles } from '@material-ui/styles' import { useSnackbar } from 'notistack' import Grid from '@material-ui/core/Grid' import CloseIcon from '@material-ui/icons/Close' import IconButton from '@material-ui/core/IconButton' console.log(makeStyles) const useStyles = makeStyles(theme...
28,546
https://github.com/dawncold/expenditure-application/blob/master/ta.py
Github Open Source
Open Source
Apache-2.0
null
expenditure-application
dawncold
Python
Code
74
245
# -*- coding: UTF-8 -*- from __future__ import unicode_literals, print_function, division import redis from tasktiger import TaskTiger from flask import Flask from flask_admin import Admin from tasktiger_admin import TaskTigerView def run_admin(host, port, db, password, listen_host, listen): conn = redis.Redis(ho...
43,903
https://github.com/yue1123/vue3-bmap/blob/master/src/components/control/bm-zoom/index.vue
Github Open Source
Open Source
MIT
null
vue3-bmap
yue1123
Vue
Code
94
368
<template> <div></div> </template> <script setup lang="ts"> import { defineProps, withDefaults, defineEmits } from 'vue' import useBaseMapEffect from '../../../hooks/useBaseMapEffect' import useLife from '../../../hooks/useLife' export interface baseBmControlOptions { /** * 控件的停靠位置 */ anchor?: _ControlA...
7,305
https://github.com/Tarik02/laravel-telegram-extra/blob/master/src/Middleware/SetLocaleFromSender.php
Github Open Source
Open Source
MIT
2,021
laravel-telegram-extra
Tarik02
PHP
Code
94
295
<?php namespace Tarik02\LaravelTelegramExtra\Middleware; use Closure; use Illuminate\Foundation\Application; use Tarik02\LaravelTelegram\{ Contracts\Middleware, Request, Response }; /** * Class SetLocaleFromSender * @package Tarik02\LaravelTelegramExtra\Middleware */ class SetLocaleFromSender impleme...
16,223
https://github.com/AaBadawy/gp-bidding/blob/master/routes/website.php
Github Open Source
Open Source
MIT
null
gp-bidding
AaBadawy
PHP
Code
30
382
<?php use Illuminate\Support\Facades\Route; Route::get('/', function (){ return view("website.index"); })->name("main"); Route::prefix("auctions")->namespace("Auction")->group(function (){ Route::get("auctions","AllAuctionsController")->name("auction.index"); Route::get("{auction}","AuctionDetailsControl...
41,605
https://github.com/heholek/httplaceholder/blob/master/src/HttPlaceholder.Client/Dto/Scenarios/ScenarioStateDto.cs
Github Open Source
Open Source
MIT
null
httplaceholder
heholek
C#
Code
84
169
namespace HttPlaceholder.Client.Dto.Scenarios { /// <summary> /// Represents the state of a specific scenario. /// </summary> public class ScenarioStateDto { /// <summary> /// Gets or sets the scenario name. /// </summary> public string Scenario { get; set; } ...
5,785
https://github.com/driftavalli/porter/blob/master/pkg/bgp/config/porter_config.go
Github Open Source
Open Source
Apache-2.0
2,019
porter
driftavalli
Go
Code
29
88
package config type PorterConfig struct { UsingPortForward bool `json:"using-port-forward,omitempty" mapstructure:"using-port-forward"` } func (p *PorterConfig) Equal(e *PorterConfig) bool { if p.UsingPortForward != e.UsingPortForward { return false } return true }
42,810
https://github.com/aria001/hydrator/blob/master/app/renderer/reducers/index.js
Github Open Source
Open Source
MIT
2,022
hydrator
aria001
JavaScript
Code
40
108
import { combineReducers } from 'redux' import { connectRouter } from 'connected-react-router' import datasets from './datasets' import settings from './settings' import hydrating from './hydrating' import newDataset from './newDataset' export default (history) => combineReducers({ datasets, newDataset, settin...
1,903
https://github.com/bachdv-hust/yumemi_test_android/blob/master/app/src/main/kotlin/jp/co/yumemi/android/code_check/main/YumemiApp.kt
Github Open Source
Open Source
Apache-2.0
2,021
yumemi_test_android
bachdv-hust
Kotlin
Code
24
135
package jp.co.yumemi.android.code_check.main import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.runtime.Composable import coil.annotation.ExperimentalCoilApi import com.google.accompanist.navigation.animation.rememberAnimatedNavController @ExperimentalCoilApi @ExperimentalAnimationApi ...
16,640
https://github.com/dmcinerney/ehr-extraction-models/blob/master/processing/postprocessor.py
Github Open Source
Open Source
Apache-2.0
2,021
ehr-extraction-models
dmcinerney
Python
Code
389
1,710
import os import torch from pytt.batching.postprocessor import StandardPostprocessor from pytt.utils import read_pickle from utils import entropy import pandas as pd class Postprocessor(StandardPostprocessor): def __init__(self, hierarchy, code_idxs, output_batch_class): self.hierarchy = hierarchy ...
6,943
https://github.com/Grace-Shopper-Alice-in-O-n-derland/Grace-Shopper/blob/master/server/api/orders.js
Github Open Source
Open Source
MIT
2,020
Grace-Shopper
Grace-Shopper-Alice-in-O-n-derland
JavaScript
Code
504
1,177
const router = require('express').Router() const Order = require('../db/models/order') const Item = require('../db/models/item') const Fulfillment = require('../db/models/fulfillment') router.post('/guestcart', async (req, res, next) => { try { const user = req.body.user const cart = req.body.cart let or...
19,424
https://github.com/mahaplatform/mahaplatform.com/blob/master/src/apps/phone/admin/api/phone_numbers/publish.js
Github Open Source
Open Source
MIT
null
mahaplatform.com
mahaplatform
JavaScript
Code
103
411
import { renderCampaign } from '@apps/campaigns/services/voice_campaigns' import { publishVersion } from '@apps/maha/services/versions' import PhoneNumber from '@apps/maha/models/phone_number' import socket from '@core/services/routes/emitter' const publishRoute = async (req, res) => { const phone_number = await Ph...
9,227
https://github.com/mayankmanj/acl2/blob/master/books/workshops/2013/van-gastel-schmaltz/books/GeNoC-misc.lisp
Github Open Source
Open Source
BSD-3-Clause
2,022
acl2
mayankmanj
Common Lisp
Code
847
2,918
#|$ACL2s-Preamble$; ;; Amr HELMY ;; Miscelaneous definitions and lemmas ;;31st october 2007 ;; File: GeNoC-misc.lisp (begin-book t :ttags :all);$ACL2s-Preamble$|# (in-package "ACL2") (include-book "GeNoC-types") (include-book "make-event/defspec" :dir :system) ;; ;; nil_list ;; (defun nil_list (n) (if (zp n) ...
44,978
https://github.com/ecrin-github/rms-portal/blob/master/src/app/pages/pages.module.ts
Github Open Source
Open Source
MIT
null
rms-portal
ecrin-github
TypeScript
Code
137
432
// Angular components import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; // Pages modules import {CommonPagesModule} from './common/common-pages.module'; import {Router, RouterModule, Routes, ROUTES} from '@angular/router'; import {StatesService} from '../_rms/services/states/sta...
46,612
https://github.com/robrix/Relation/blob/master/Relation/Relation.h
Github Open Source
Open Source
MIT
2,015
Relation
robrix
C
Code
29
57
// Copyright (c) 2014 Rob Rix. All rights reserved. /// Project version number for Relation. extern double RelationVersionNumber; /// Project version string for Relation. extern const unsigned char RelationVersionString[];
16,696
https://github.com/kareltucek/shedit/blob/master/fSearchBar.cpp
Github Open Source
Open Source
MIT
null
shedit
kareltucek
C++
Code
80
280
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "fSearchBar.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TSearchBar *SearchBar; //---------------------------...
41,902
https://github.com/tourbase/library/blob/master/includes/Model/Rental/Item.php
Github Open Source
Open Source
MIT
null
library
tourbase
PHP
Code
405
1,244
<?php namespace Tourbase\Model\Rental; use Tourbase\Api; use Tourbase\Method\Method; use Tourbase\Model; class _MethodPrice extends Method { protected $_cache_key; public function __construct() { parent::__construct(self::TYPE_EXISTING_MODEL, Api::METHOD_GET, 'price', array('start', 'end')); } protected func...
45,800
https://github.com/sniper365/Clud-Storage/blob/master/src/policies/mod.rs
Github Open Source
Open Source
MIT
2,021
Clud-Storage
sniper365
Rust
Code
9
16
pub mod file; pub mod folder; pub mod user;
40,854
https://github.com/chriskaliX/tracee/blob/master/tracee-rules/benchmark/signature/golang/anti_debugging.go
Github Open Source
Open Source
Apache-2.0
2,022
tracee
chriskaliX
Go
Code
175
608
package golang import ( "fmt" "github.com/aquasecurity/tracee/pkg/external" "github.com/aquasecurity/tracee/signatures/helpers" "github.com/aquasecurity/tracee/tracee-rules/types" ) type antiDebugging struct { cb types.SignatureHandler metadata types.SignatureMetadata } func NewAntiDebuggingSignature() ...
7,229
https://github.com/kurozael/project-archive/blob/master/2008/ServerSecure/lua/ServerSecure/Commands/Administrator/CEXEC.lua
Github Open Source
Open Source
MIT
null
project-archive
kurozael
Lua
Code
164
520
------------------------------------------------ ----[ CEXEC ]-------------------------------- ------------------------------------------------ local CEXEC = SS.Commands:New("CEXEC") // Branch flag SS.Flags.Branch("Administrator", "CEXEC") // CEXEC command function CEXEC.Command(Player, Args) local Person, Error ...
19,160
https://github.com/pshirali/implements/blob/master/example.py
Github Open Source
Open Source
Apache-2.0
2,021
implements
pshirali
Python
Code
81
269
"""Example""" from enum import Enum from implements import Interface, implements class Direction(Enum): N = 'North' W = 'West' S = 'South' E = 'East' class Flyable(Interface): def fly(self): pass def migrate(self) -> Direction: pass class Quackable(Interface): echoes ...
4,778
https://github.com/VISTALL/consulo-kotlin/blob/master/compiler/testData/codegen/boxInline/nonLocalReturns/kt5199.1.kt
Github Open Source
Open Source
Apache-2.0
2,021
consulo-kotlin
VISTALL
Kotlin
Code
25
70
import test.* fun test1(nonLocal: String): String { val localResult = doCall<String> { return nonLocal } return "NON_LOCAL_FAILED" } fun box(): String { return test1("OK") }
22,688
https://github.com/spawnhector/stonyHillLibary/blob/master/resources/views/livewire/librarian/addbook.blade.php
Github Open Source
Open Source
MIT
null
stonyHillLibary
spawnhector
PHP
Code
299
1,358
<div> @if ($category) @if ($book_type) {{$result}} <div> <div class="mt-1"> <input wire:model="title" placeholder="Title" class="block w-full px-5 py-3 text-base text-neutral-600 placeholder-gray-300 transition duration-500 ease-in-out transform bo...
16,257
https://github.com/diyaa-3/eduplaycloud_v8/blob/master/resources/views/guestpractice/practiceresult.blade.php
Github Open Source
Open Source
MIT
null
eduplaycloud_v8
diyaa-3
PHP
Code
83
393
<div class="container"> <div class="alert alert-info col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12"> <strong>{{$exerciseset->title}}</strong> has {{$countofcorrectanswer+$countofbadanswer}} questions. </div> <div class="alert alert-success col-lg-12 col-...
35,896
https://github.com/pelly/capistrano_config/blob/master/capistrano_config.gemspec
Github Open Source
Open Source
MIT
null
capistrano_config
pelly
Ruby
Code
93
391
# -*- encoding: utf-8 -*- lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "capistrano_config/version" require "gem_helper/gem_utils" Gem::Specification.new do |gem| utils = GemUtils.new(gem: gem) gem.name = "capistrano_config" gem.version ...
18
https://github.com/KoyanagiHitoshi/AtCoder/blob/master/code/arc017_1_03.py
Github Open Source
Open Source
MIT
2,021
AtCoder
KoyanagiHitoshi
Python
Code
10
32
N=int(input()) print("YES" if all([N%n for n in range(2,N)]) else "NO")
28,745
https://github.com/maajdl/psychropyo/blob/master/psychropyo/dependencies.py
Github Open Source
Open Source
MIT
2,020
psychropyo
maajdl
Python
Code
39
150
import subprocess try: import pyomo except ImportError: print("Installing Pyomo") print(subprocess.run("pip install pyomo", shell=True)) print(subprocess.run("conda install ipopt_bin -c cachemeorg", shell=True)) print(subprocess.run("conda install glpk -c cachemeorg", shell=True)) try: import ...
23,669
https://github.com/ubiquitypress/hyku_addons/blob/master/spec/features/hyrax_doi_spec.rb
Github Open Source
Open Source
Apache-2.0
2,021
hyku_addons
ubiquitypress
Ruby
Code
622
2,300
# frozen_string_literal: true require "rails_helper" RSpec.describe "Minting a DOI for an existing work", multitenant: true, js: true do let(:user) { create(:user) } let!(:account) { create(:account) } let(:attributes) do { title: ["Work title"], doi_status_when_public: nil, visibility: Hy...
6,108
https://github.com/pengerno/linx/blob/master/build.sbt
Github Open Source
Open Source
Apache-2.0
null
linx
pengerno
Scala
Code
114
460
import aether.Aether._ releaseSettings aetherPublishBothSettings name := "linx" organization := "com.jteigen" scalaVersion := "2.11.4" description := "A simple and typesafe link representation" crossScalaVersions := Seq("2.10.4", "2.11.4") javacOptions ++= Seq("-source", "1.7", "-target", "1.7") libraryDepende...
14,540
https://github.com/aidar13/rss_parser/blob/master/resources/views/admin/layouts/partials/header.blade.php
Github Open Source
Open Source
MIT
null
rss_parser
aidar13
PHP
Code
77
393
<header class="header"> <div class="container container-fluid"> <a href="javascript:;" title="Свернуть/развернуть навигацию" class="menu-btn icon-menu"></a> <a href="/" title="Главная" class="logo hidden-md hidden-lg"><img src="/admin/img/logo-blue.svg" alt=""></a> <div class="language hidde...
4,256
https://github.com/BuildACell/vivarium-bioscrape/blob/master/vivarium_bioscrape/library/mappings.py
Github Open Source
Open Source
MIT
2,020
vivarium-bioscrape
BuildACell
Python
Code
717
2,323
from vivarium.library.schema import array_from, array_to import numpy as np def one_to_one_map(bsp1, bsp2, species_map): #Takes two Bioscrape Processes, bsp1 and bsp2 and # species_map: dictionar(a species in bsp1: a species in bsp2) #Produces the mapping species1[i] --> species2[i] all_species1 = bs...
34,238
https://github.com/ja1den/crashes/blob/master/src/pages/Home.tsx
Github Open Source
Open Source
MIT
null
crashes
ja1den
TypeScript
Code
1,093
3,834
// Import import React, { Fragment } from 'react'; import axios from 'axios'; import { Chart, registerables } from 'chart.js'; import { RouteComponentProps, withRouter } from 'react-router'; import qs from 'qs'; import toTitle from 'lib/toTitle'; import lookup from 'lib/lookup'; // Register Chart.js Chart.register(...
44,228
https://github.com/liyuj/gridgain/blob/master/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sys/view/SqlSystemViewTables.java
Github Open Source
Open Source
CC0-1.0
null
gridgain
liyuj
Java
Code
279
910
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition...
156
https://github.com/masystech/pompidu/blob/master/custom/plugins/Pompidu/src/Resources/views/storefront/block/cms-block-text-teaser-section.html.twig
Github Open Source
Open Source
MIT
null
pompidu
masystech
Twig
Code
96
366
{% sw_extends '@Storefront/storefront/block/cms-block-text-teaser-section.html.twig' %} {% block block_text_teaser_section_left %} {% set element = block.slots.getSlot('left') %} <div class="{% if 'dis--beratung-content' in sectionClasses %}col-lg-4 col-md-12{% else %}col-md-4{% endif %}" data-cms-element-...
24,447
https://github.com/gumienny/advent-of-code/blob/master/2015/02/src/main.rs
Github Open Source
Open Source
MIT
null
advent-of-code
gumienny
Rust
Code
150
494
#![allow(non_upper_case_globals)] static puzzle: &'static str = include_str!("input"); use std::str::FromStr; fn paper(s: &str) -> (u64, u64) { let parsed: Vec<(u64, u64, u64)> = s .lines() .map(|line| { let mut dims: Vec<u64> = line .splitn(3, 'x') .map...
33,376
https://github.com/rjawor/tagging/blob/master/vw/collectResults.py
Github Open Source
Open Source
MIT
null
tagging
rjawor
Python
Code
256
876
#!/usr/bin/python # -*- coding: utf-8 -*- import os, sys from datetime import datetime def getPRFstats(tp, fp, fn): precision = float(tp) / (tp+fp) if tp+fp else None recall = float(tp) / (tp+fn) if tp+fn else None fscore = (2*precision*recall)/(precision+recall) if (not (precision is None or recall is No...
23,215
https://github.com/jonasnic/codingame/blob/master/puzzles/kotlin/src/conway-sequence.kt
Github Open Source
Open Source
MIT
2,022
codingame
jonasnic
Kotlin
Code
76
226
import java.util.Scanner fun main(args : Array<String>) { val input = Scanner(System.`in`) val original = input.nextInt() val lineNumber = input.nextInt() var conwaySequence = ArrayList<Int>() conwaySequence.add(original) for (line in 1 until lineNumber) { val tempSequence = ArrayList<Int>() var c...
29,695
https://github.com/Adnn/NoWave/blob/master/src/libs/NoWaveLib/SystemDisplayDialog.cpp
Github Open Source
Open Source
MIT
null
NoWave
Adnn
C++
Code
195
855
// // SystemDisplayDialog.cpp // aunteater // // Created by Adrien on 06/04/14. // // #include "SystemDisplayDialog.h" #include "ComponentSentence.h" #include "ComponentPosition.h" #include "ComponentTextList.h" #include "ComponentActionController.h" #include <boost/algorithm/string.hpp> using namespace aunteater...
19,653
https://github.com/ttakuru88/devise_google_authenticator/blob/master/lib/devise_google_authenticatable/controllers/helpers.rb
Github Open Source
Open Source
MIT
null
devise_google_authenticator
ttakuru88
Ruby
Code
61
316
module DeviseGoogleAuthenticator module Controllers # :nodoc: module Helpers # :nodoc: def google_authenticator_qrcode(user, qualifier=nil, issuer=nil) username = username_from_email(user.email) app = user.class.ga_appname || Rails.application.class.try(:module_parent_name) || Rails.applicat...
14,968
https://github.com/Dave1324/apifi/blob/master/src/main/java/dev/sanda/apifi/service/graphql_subcriptions/testing_utils/TestSubscriberImplementation.java
Github Open Source
Open Source
Apache-2.0
2,020
apifi
Dave1324
Java
Code
386
1,630
package dev.sanda.apifi.service.graphql_subcriptions.testing_utils; import static dev.sanda.apifi.utils.ApifiStaticUtils.*; import static org.springframework.test.util.AssertionErrors.assertEquals; import dev.sanda.apifi.service.graphql_subcriptions.pubsub.AsyncExecutorService; import dev.sanda.apifi.service.graphql_...
19,686
https://github.com/bbrauzzi/ZOO-Project/blob/master/zoo-project/zoo-services/cgal/cgal_service.c
Github Open Source
Open Source
MIT
2,022
ZOO-Project
bbrauzzi
C
Code
348
1,129
/** * Author : Gérald FENOY * * Copyright 2009-2013 GeoLabs SARL. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your op...
37,716
https://github.com/biscatcho10/Opportunity/blob/master/resources/views/site/pages/opportunity_softCircle_form.blade.php
Github Open Source
Open Source
MIT
null
Opportunity
biscatcho10
PHP
Code
408
1,303
@extends('layouts.app') @section('title', 'Opprotunity Soft Circle Form') @section('style-num') <link rel="stylesheet" href="{{asset('site/wizard/css/style-two.css')}}" /> @endsection @section('content') @include('site.includes.light_nav') <div class="page-content"> <div class="wizard-v2-content"> ...
27,346