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/FAU-Inf2/kwikshop-android/blob/master/app/src/main/java/de/fau/cs/mad/kwikshop/android/model/DatabaseHelper.java
Github Open Source
Open Source
MIT, ISC, Apache-2.0
2,016
kwikshop-android
FAU-Inf2
Java
Code
2,572
10,748
package de.fau.cs.mad.kwikshop.android.model; import android.database.sqlite.SQLiteDatabase; import com.j256.ormlite.android.apptools.OrmLiteSqliteOpenHelper; import com.j256.ormlite.dao.GenericRawResults; import com.j256.ormlite.support.ConnectionSource; import com.j256.ormlite.dao.Dao; import com.j256.ormlite.dao.R...
43,977
https://github.com/hynner/glotr-sync/blob/master/services/base.php
Github Open Source
Open Source
MIT
2,013
glotr-sync
hynner
PHP
Code
154
571
<?php abstract class base { protected $container; protected $tblName; protected $idField; function __construct(&$container) { $this->container = &$container; if($this->container["config"]["tablePrefix"]) $this->tblName = $this->container["config"]["tablePrefix"].$this->tb...
27,261
https://github.com/blackducksoftware/synopsys-detect/blob/master/detectable/src/main/java/com/synopsys/integration/detectable/detectables/clang/packagemanager/resolver/DpkgPackageManagerResolver.java
Github Open Source
Open Source
Apache-2.0
2,023
synopsys-detect
blackducksoftware
Java
Code
211
867
package com.synopsys.integration.detectable.detectables.clang.packagemanager.resolver; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Optional; import org.apache.commons.lang3.StringUtils; import org.jetbrains.annotations.Nullable; import org.slf4j.Logger; import org.slf4j.Lo...
26,938
https://github.com/muhamadrizkyar/Tugas-Sekolah-Pbo/blob/master/l8-blog/resources/views/dashboard/index.blade.php
Github Open Source
Open Source
MIT
2,021
Tugas-Sekolah-Pbo
muhamadrizkyar
Blade
Code
147
602
@extends('partial.template') @section('title_web') Dashboard @endsection @section('content') <div class="card-body"> <div class="container-fluid"> <!-- Page Heading --> <div class="d-sm-flex align-items-center justify-content-center mb-5"> <h1 class="h3 mb-0 text-gray-800 font-wei...
14,887
https://github.com/halynakondratiuk/Project1/blob/master/app/Http/Controllers/TasksController.php
Github Open Source
Open Source
MIT
null
Project1
halynakondratiuk
PHP
Code
375
1,418
<?php namespace App\Http\Controllers; use App\Entitis\Animals; use App\Entitis\Helpers; use App\Http\Requests; use App\Http\Requests\ContactFormRequest; use App\Entitis\Notes; use App\Repositories\AnimalRepository; use App\Repositories\CategoryRepository; use App\Repositories\EloquentTask; use App\Repositories\Helpe...
51,251
https://github.com/GekoTree/hacktoberfest2021-9/blob/master/Python/CheckArmstrongNumber.py
Github Open Source
Open Source
MIT
2,021
hacktoberfest2021-9
GekoTree
Python
Code
76
153
#PYTHON PROGRAM FOR ARMSTRONG NUMBER CHECKING #take input from user from math import * a = int(input("Enter the number : ")) r = 0 y = 0 t = a; while (t!= 0): t =int(t / 10) y = y+ 1 #Check ifnumber is armstrong t = a while (t != 0): rem = t % 10 r = r + pow(rem, y) t = int(t/10) if(r == a): pr...
1,049
https://github.com/dchallenger/workpad/blob/master/apps/modules/overtime_rates/config/edit_cached_query.php
Github Open Source
Open Source
MIT
null
workpad
dchallenger
PHP
Code
41
338
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $config["edit_cached_query"] = 'SELECT `ww_payroll_overtime_rates`.`overtime_rate_id` as record_id, `ww_payroll_overtime_rates`.`created_on` as "payroll_overtime_rates.created_on", `ww_payroll_overtime_rates`.`created_by` as "payroll_over...
20,788
https://github.com/brentTheDev/capstone-project/blob/master/app/src/pages/LandingPage.js
Github Open Source
Open Source
Apache-2.0
2,020
capstone-project
brentTheDev
JavaScript
Code
374
1,804
import React from 'react' import Container from 'react-bootstrap/Container' import Row from 'react-bootstrap/Row' import Col from 'react-bootstrap/Col' import Card from 'react-bootstrap/Card' import Navbar from 'react-bootstrap/Navbar' import Nav from 'react-bootstrap/Nav' import Button from 'react-bootstrap/Button' e...
37,199
https://github.com/vladislav-karamfilov/TelerikAcademy/blob/master/High-Quality Code Projects/Homework-TeamWork/KingSurvival/KingSurvival.Common/ConsoleEngine.cs
Github Open Source
Open Source
MIT
2,021
TelerikAcademy
vladislav-karamfilov
C#
Code
1,277
4,852
namespace KingSurvival.Common { using System; public class ConsoleEngine : IEngine { private const int KingInitialRow = 7; private const int KingInitialColumn = 3; private const int PawnAInitialRow = 0; private const int PawnAInitialColumn = 0; private const int Paw...
3,971
https://github.com/TobiahRex/algorithms/blob/master/journal/char-test.cpp
Github Open Source
Open Source
MIT
2,018
algorithms
TobiahRex
C++
Code
52
117
#include <iostream> #include <cstring> #include <string> using namespace std; int main() { // char * cstr2 = "Please split this sentence into tokens"; string str("Please split this sentence into tokens"); char * cstr = new char[str.length() + 1]; strcpy(cstr, str.c_str()); cout << str << endl; // cout ...
18,137
https://github.com/thomascherickal/Cirq/blob/master/cirq-core/cirq/optimizers/__init__.py
Github Open Source
Open Source
Apache-2.0
null
Cirq
thomascherickal
Python
Code
271
1,637
# Copyright 2018 The Cirq Developers # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
7,505
https://github.com/Vandeilsonln/BootCamp_Java/blob/master/TrabalhandoComDatas/src/text/DateFormat/Exemplo002.java
Github Open Source
Open Source
MIT
null
BootCamp_Java
Vandeilsonln
Java
Code
33
115
package text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; public class Exemplo002 { public static void main(String[] args){ Date agora = new Date(); SimpleDateFormat formatter = new SimpleDateFormat("dd/mm/yyyy hh:mm:ss"); String dataFormatada = formatter.format(a...
8,263
https://github.com/Zorato/workshop/blob/master/patterns/structural/bridge/Tablet.php
Github Open Source
Open Source
Beerware
2,017
workshop
Zorato
PHP
Code
34
91
<?php declare(strict_types = 1); /** * Class Tablet */ class Tablet extends Device { /** * @param $body * @return void */ public function send($body) { $message = json_encode(['body' => $body]); $this->sender->send($message); } }
51,035
https://github.com/renBuWen/Entitas-CSharp/blob/master/Tests/Unity/VisualDebugging/Assets/Sources/Generated/Game/Components/GameMyEventComponent.cs
Github Open Source
Open Source
MIT
2,020
Entitas-CSharp
renBuWen
C#
Code
175
521
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-gen...
43,520
https://github.com/uk-gov-mirror/hmrc.cds-reimbursement-claim/blob/master/app/uk/gov/hmrc/cdsreimbursementclaim/models/claim/DuplicateMovementReferenceNumberAnswer.scala
Github Open Source
Open Source
Apache-2.0
null
hmrc.cds-reimbursement-claim
uk-gov-mirror
Scala
Code
172
532
/* * Copyright 2021 HM Revenue & Customs * * 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 a...
34,340
https://github.com/Kishanp12/Personal-Site/blob/master/resources/views/components/aboutme_card.blade.php
Github Open Source
Open Source
MIT
null
Personal-Site
Kishanp12
PHP
Code
34
142
@props([ 'title', 'subtitle', 'icon' => '' ]) <div class="flex flex-col items-center"> <div class="box-content w-24 h-24 p-4 bg-blue-300 border-4 border-black "> <img src="{{ asset('images/'.$icon) }}"> </div> <span class="mt-5 text-xl font-bold text-center">{{$title}}</span> <spa...
34,975
https://github.com/prakashkumar264/CareerGuidance/blob/master/CareerGuidance/aptitude.aspx
Github Open Source
Open Source
MIT
2,019
CareerGuidance
prakashkumar264
null
Spoken
202
980
<%@ Page Title="" Language="C#" MasterPageFile="~/main.Master" AutoEventWireup="true" CodeBehind="aptitude.aspx.cs" Inherits="CareerGuidance.aptitude" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> <link href="plugins/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" /> </asp:...
24,503
https://github.com/ArcGIS/react-sceneview/blob/master/src/scene/__tests__/index.test.jsx
Github Open Source
Open Source
Apache-2.0
2,019
react-sceneview
ArcGIS
null
Spoken
406
1,157
/* Copyright 2019 Esri * * 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 writing,...
39,812
https://github.com/gamal-carto/wq.app/blob/master/js/wq/pages.js
Github Open Source
Open Source
MIT
2,015
wq.app
gamal-carto
JavaScript
Code
14
52
define(['wq/router', 'wq/console'], function(router, console) { console.warn("wq/pages.js has been renamed to wq/router.js"); return router; });
40,054
https://github.com/mobarrios/newCore/blob/master/app/Entities/Admin/PurchasesListsPrices.php
Github Open Source
Open Source
MIT
null
newCore
mobarrios
PHP
Code
37
153
<?php namespace App\Entities\Admin; use App\Entities\Entity; class PurchasesListsPrices extends Entity { protected $table = 'purchases_lists_prices'; protected $fillable = ['number','status','providers_id']; protected $section = 'purchasesListsPrices'; public function PurchasesListsPrices...
4,006
https://github.com/Henryforeman1/CMPT-220L-903-21S/blob/master/Assignments/Assinment 6/src/base/Main.java
Github Open Source
Open Source
MIT
2,021
CMPT-220L-903-21S
Henryforeman1
Java
Code
26
76
package base; public class Main { public static void main(String[] args) { // write your code here Plant charlotte = new Plant("ivy","Charlotte"); charlotte.wateringInstructions(); charlotte.sunlightRequirements(); } }
4,292
https://github.com/fananchong/go-discovery/blob/master/serverlist/serverinfo.pb.go
Github Open Source
Open Source
MIT
2,020
go-discovery
fananchong
Go
Code
410
1,262
// Code generated by protoc-gen-go. DO NOT EDIT. // source: serverinfo.proto /* Package discovery is a generated protocol buffer package. It is generated from these files: serverinfo.proto It has these top-level messages: ServerInfo */ package discovery import proto "github.com/golang/protobuf/proto" import fmt "...
51,076
https://github.com/openeuler-mirror/oec-hardware/blob/master/tests/kdump/kdump.py
Github Open Source
Open Source
MulanPSL-1.0
null
oec-hardware
openeuler-mirror
Python
Code
319
1,159
#!/usr/bin/env python # coding: utf-8 # Copyright (c) 2020 Huawei Technologies Co., Ltd. # oec-hardware is licensed under the Mulan PSL v2. # You can use this software according to the terms and conditions of the Mulan PSL v2. # You may obtain a copy of Mulan PSL v2 at: # http://license.coscl.org.cn/MulanPSL2 # TH...
27,355
https://github.com/ml-research/DBS-eval/blob/master/Pans/Lexrank/4_ Ernaehrung.lex.summ_a1.pan
Github Open Source
Open Source
CC-BY-4.0
null
DBS-eval
ml-research
null
Spoken
14,819
46,170
<?xml version="1.0"?> <!DOCTYPE peerAnnotation [ <!ELEMENT peerAnnotation (pyramid,annotation)> <!ELEMENT annotation (text,peerscu+)> <!ELEMENT peerscu (contributor)*> <!ATTLIST peerscu uid CDATA #REQUIRED label CDATA #REQUIRED comment CDATA #IMPLIED> <!ELEMENT pyramid (startD...
18,206
https://github.com/Tubbz-alt/Github_5AUA0_Project_G12T1/blob/master/FairMOT/.gitignore
Github Open Source
Open Source
MIT
2,020
Github_5AUA0_Project_G12T1
Tubbz-alt
Ignore List
Code
14
45
.idea .vscode exp/ models/ results/ # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod]
34,849
https://github.com/huaweicloud/huaweicloud-sdk-java-v3/blob/master/services/koomessage/src/main/java/com/huaweicloud/sdk/koomessage/v1/model/ListPubInfosResponseModel.java
Github Open Source
Open Source
Apache-2.0
2,023
huaweicloud-sdk-java-v3
huaweicloud
Java
Code
274
953
package com.huaweicloud.sdk.koomessage.v1.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.function.Consumer; /** * 获取服务号详情返回体。 */ public class ListPubInfos...
22,804
https://github.com/bitsoftwang/LPC11U_LPC13U_CodeBase/blob/master/tools/libs/rtx/Doc/search/all_72.js
Github Open Source
Open Source
BSD-3-Clause
2,019
LPC11U_LPC13U_CodeBase
bitsoftwang
JavaScript
Code
8
99
var searchData= [ ['rtx_2etxt',['rtx.txt',['../rtx_8txt.html',1,'']]], ['rtx_5fconf_5fcm_2ec_20configuration_20file',['RTX_Conf_CM.c Configuration File',['../_r_t_x__conf__c_m.html',1,'Configure']]] ];
27,315
https://github.com/johnri/aspnetcore/blob/master/src/Mvc/Mvc.Abstractions/src/Authorization/IAllowAnonymousFilter.cs
Github Open Source
Open Source
Apache-2.0
2,020
aspnetcore
johnri
C#
Code
50
112
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Filters; namespace Microsoft.AspNetCore.Mvc.Authorization; /// <summary> /// A filter that allows anonymous requests, disabling some <see cref="IAuth...
52,840
https://github.com/Ceboe/NurseSchedule/blob/master/smart-admin-h5/src/lib/smart-sentry.js
Github Open Source
Open Source
MIT
2,021
NurseSchedule
Ceboe
JavaScript
Code
62
169
/* * @Description: * @Author: hanyu * @Date: 2020-05-28 12:46:06 * @LastEditTime: 2020-07-08 09:16:15 * @LastEditors: hy */ // smart sentry import * as Sentry from '@sentry/browser'; export default { /** * sentry 主动上报 * @param {error} error 错误信息 */ captureException: (error) => { if (error.config && err...
30,588
https://github.com/suxingjie99/JavaSource/blob/master/src/org/example/source/com/sun/org/apache/xml/internal/dtm/ref/CoroutineParser.java
Github Open Source
Open Source
Apache-2.0
2,020
JavaSource
suxingjie99
Java
Code
876
1,642
/* * Copyright (c) 2007, 2019, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * Copyright 1999-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except ...
52,674
https://github.com/Denisbeder/dash/blob/master/resources/admin/components/Layout/index.js
Github Open Source
Open Source
MIT
null
dash
Denisbeder
JavaScript
Code
8
19
import LayoutPanel from "./LayoutPanel"; export { LayoutPanel };
42,795
https://github.com/simonr98/Reinforcement-Learning-with-Videos/blob/master/RLV/torch_rlv/run_rlv/experiment.py
Github Open Source
Open Source
MIT
null
Reinforcement-Learning-with-Videos
simonr98
Python
Code
83
383
from RLV.torch_rlv.environments.utils import get_environment from RLV.torch_rlv.algorithms.utils import init_algorithm class Experiment: def __init__(self, config): self.config = config self.env_name = config['env_name'] self.env = get_environment(self.env_name) self.algo_name = co...
776
https://github.com/Alexis-Trainee/aprendendo_JavaScript/blob/master/exercícios-js/controle/for2.js
Github Open Source
Open Source
MIT
2,020
aprendendo_JavaScript
Alexis-Trainee
JavaScript
Code
70
172
const notas = [6.7, 7.4, 9.8, 8.1, 7.7] //Para cada um dos elementos da nota In irá me devolver o índice i for (let i in notas) { console.log (i, notas [i]) } const pessoa = { nome: 'Ana', sobreNome: 'Silva', idade: 29, peso: 64 } for (let atributo in pessoa) { console.log (`${atributo} = ${pessoa[a...
30,440
https://github.com/zyqgmzyq/exposure/blob/master/pickle_to_tex.py
Github Open Source
Open Source
MIT
2,018
exposure
zyqgmzyq
Python
Code
700
2,141
# This script converts output pickle to step-by-step latex figures import numpy as np import os import pickle as pickle import shutil NUM_STEPS = 5 CURVE_STEPS = 8 files = [] filters = [ 'Expo.', 'Gam.', 'W.B.', 'Satu.', 'Tone', 'Cst.', 'BW', 'Color', ] def visualize_detail(name, pa...
15,789
https://github.com/YaroslavLitvinov/zerovm/blob/master/tests/functional/demo/dump/dump.c
Github Open Source
Open Source
Apache-2.0
2,022
zerovm
YaroslavLitvinov
C
Code
574
1,864
/* * dumps whole available memory. from the trampoline start to * the stack end. creates the memory map. */ #include <limits.h> #include "include/zvmlib.h" /* pointer to the array of CHANNELS */ #define CHANNELS ((struct ZVMChannel*)MANIFEST->channels) /* regions (uintptr_t) */ /* null prot: none */ #define NULL_S...
2,417
https://github.com/opap-jp/material-explorer-web/blob/master/vue.config.js
Github Open Source
Open Source
MIT
null
material-explorer-web
opap-jp
JavaScript
Code
32
112
let webpack = require("webpack"); let serviceHost = process.env.SERVICE_HOST || "http://localhost:8080"; module.exports = { lintOnSave: true, configureWebpack: { plugins: [ new webpack.DefinePlugin({ SERVICE_HOST: JSON.stringify(serviceHost) }), ] },...
11,620
https://github.com/alf-tool/alf-core/blob/master/spec/unit/alf-support/config/test_freeze.rb
Github Open Source
Open Source
MIT
2,021
alf-core
alf-tool
Ruby
Code
74
214
require 'spec_helper' module Alf module Support describe Config, 'freeze' do let(:conf_subclass){ Class.new(Config){ option :ready, Boolean, false option :preferences, Array, [] } } let(:config){ conf_subclass.new } subject{ config.freeze } it ...
4,364
https://github.com/MrBattary/darkest-castle/blob/master/include/game/systems/elementsInterfaceSystem/messageBoxes/PlayerHealthBox.h
Github Open Source
Open Source
MIT
2,020
darkest-castle
MrBattary
C
Code
38
118
// // Created by Battary on 03.08.2020. // #pragma once // Internal templates #include "../IMessageBoxElement.h" // Entities #include "game/entities/PlayerEntity.h" #include "game/components/StatsComponent.h" class PlayerHealthBox : public IMessageBoxElement { public: PlayerHealthBox(); void updateElement(ecs::...
17,441
https://github.com/barchart/barchart-feed-ddf/blob/master/barchart-feed-ddf-message/src/main/java/com/barchart/feed/ddf/message/provider/DF_3T_PriorTotalCmdy.java
Github Open Source
Open Source
BSD-3-Clause
2,021
barchart-feed-ddf
barchart
Java
Code
199
820
/** * Copyright (C) 2011-2012 Barchart, Inc. <http://www.barchart.com/> * * All rights reserved. Licensed under the OSI BSD License. * * http://www.opensource.org/licenses/bsd-license.php */ /** * */ package com.barchart.feed.ddf.message.provider; import static com.barchart.util.common.ascii.ASCII.COMMA; impor...
3,553
https://github.com/sosout/react-hooks-demo/blob/master/src/hooks/index.js
Github Open Source
Open Source
MIT
null
react-hooks-demo
sosout
JavaScript
Code
326
930
import { useState, useEffect, useContext } from 'react'; export const useMousePosition = (defaultPosition = [0, 0]) => { const [position, setPosition] = useState(defaultPosition); useEffect(() => { const handleMouseMove = event => setPosition([event.clientX, event.clientY]); window.addEventListener('mousemove', ...
52,529
https://github.com/leabmgrt/klassenapi/blob/master/index.js
Github Open Source
Open Source
MIT
null
klassenapi
leabmgrt
JavaScript
Code
103
611
require("dotenv").config(); const express = require("express"); const cors = require('cors') const app = express(); const db = require("./db"); require("dotenv").config(); app.use(cors()); app.use(require("body-parser").json()); app.use((err, req, res, next) => res.status(500).json({ err: "internalError" }) ); db.sy...
46,747
https://github.com/SkillsFundingAgency/das-commitments/blob/master/src/CommitmentsV2/SFA.DAS.CommitmentsV2.Shared/Models/DateModel.cs
Github Open Source
Open Source
MIT
2,023
das-commitments
SkillsFundingAgency
C#
Code
286
704
using System; namespace SFA.DAS.CommitmentsV2.Shared.Models { /// <summary> /// Encapsulates a date whilst exposing separate day, month and year properties that can be set independently. /// The three elements are validated when set but may not be valid when used together, for example 31-Feb. In th...
3,773
https://github.com/lavanaythakral/Aspect-Based-Sentiment-Analysis/blob/master/data/semeval/adapter.py
Github Open Source
Open Source
Apache-2.0
2,020
Aspect-Based-Sentiment-Analysis
lavanaythakral
Python
Code
183
477
import xml.etree.ElementTree as ET from typing import Iterable from aspect_based_sentiment_analysis import ( LabeledExample, Sentiment ) def read_sentences(file): """ Read sentences from the XML file which are in the format given in the SemEval'14 (http://alt.qcri.org/semeval2014/task4/) """ retur...
24,947
https://github.com/pme123/play-binding-petstore/blob/master/client/src/main/scala/pme123/petstore/client/PetMenu.scala
Github Open Source
Open Source
Apache-2.0
2,018
play-binding-petstore
pme123
Scala
Code
181
808
package pme123.petstore.client import com.thoughtworks.binding.{Binding, dom} import org.scalajs.dom.raw.{Event, HTMLElement} import org.scalajs.jquery.jQuery import pme123.petstore.client.services.SemanticUI.jq2semantic import pme123.petstore.client.services.{ClientUtils, SemanticUI} import pme123.petstore.shared.{Pe...
36,606
https://github.com/atiwiex/lisjs/blob/master/lib/net/gatewayFunctions.js
Github Open Source
Open Source
MIT
null
lisjs
atiwiex
JavaScript
Code
12
49
module.exports = { 10: (data, gateway) => { gateway.bringToLife(data.d.heartbeat_interval); gateway.sendHandshake(); } };
31,587
https://github.com/JaasielGuerra/Desarrollo-Web-UMG/blob/master/api-lumen/app/Http/Controllers/ProductController.php
Github Open Source
Open Source
MIT
2,021
Desarrollo-Web-UMG
JaasielGuerra
PHP
Code
87
318
<?php namespace App\Http\Controllers; use App\Models\Product; use Illuminate\Http\Request; class ProductController extends Controller { public function index(){ $products = Product::all(); return response()->json($products); } public function show($id){ $product = Product::find($i...
5,586
https://github.com/Tokumasu-Lab/md_fdps/blob/master/generic_ext/vec_ext.hpp
Github Open Source
Open Source
MIT
null
md_fdps
Tokumasu-Lab
C++
Code
230
779
/**************************************************************************************************/ /** * @file vec_ext.hpp * @brief extention tools for PS::Vector3<T>. */ /**************************************************************************************************/ #pragma once #include <cmath> #include <par...
51,748
https://github.com/kiiamoh/Sitedusavoir/blob/master/tutoriels/debutertuto.php
Github Open Source
Open Source
MIT
2,017
Sitedusavoir
kiiamoh
PHP
Code
487
2,577
<?php $titre="Nouveau Tuto | SiteduSavoir.com"; include ("../includes/session.php"); include("../includes/identifiants.php"); include("../includes/debut.php"); include("../includes/menu.php"); if(!$id) { $_SESSION['flash']['danger'] = "Vous devez etre connecter pour rediger un tuto"; header('Location:../connexio...
22,364
https://github.com/NoIdeer/PHPgsm/blob/master/cli.php
Github Open Source
Open Source
MIT
null
PHPgsm
NoIdeer
PHP
Code
2,237
10,587
#!/usr/bin/php -d memory_limit=2048M <?php /* * cli2.php * * Copyright 2021 Jim Richardson <jim@noideersoftware.co.uk> * * 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...
17,950
https://github.com/linjinfeng/bikewin/blob/master/node_modules/stellar-base/node_modules/js-xdr/test/unit/string_test.js
Github Open Source
Open Source
MIT
null
bikewin
linjinfeng
JavaScript
Code
154
870
import { Cursor } from "../../src/cursor"; import { cursorToArray } from "../support/io-helpers"; let subject = new XDR.String(4); describe('String#read', function() { it('decodes correctly', function() { expect(read([0x00,0x00,0x00,0x00])).to.eql(""); expect(read([0x00,0x00,0x00,0x01,0x41,0x00,0x00,0x00])...
18,935
https://github.com/fagan2888/dupes/blob/master/dupes.py
Github Open Source
Open Source
MIT
2,019
dupes
fagan2888
Python
Code
177
517
#!/usr/bin/env python3 # Corey Goldberg, 2019 """dupes - Detect visually similar images with perceptual hashing.""" import argparse import os import sys from collections import defaultdict from imagehash import whash, Image def main(directory): print('starting recursive scan from: {!r}'.format(directory)) ...
16,846
https://github.com/esacinc/crigtt/blob/master/crigtt-core/src/main/java/gov/hhs/onc/crigtt/validate/ValidatorService.java
Github Open Source
Open Source
Apache-2.0
2,017
crigtt
esacinc
Java
Code
44
166
package gov.hhs.onc.crigtt.validate; import java.security.Provider; import org.springframework.beans.factory.BeanFactoryAware; import org.springframework.beans.factory.InitializingBean; public interface ValidatorService extends BeanFactoryAware, InitializingBean { public ValidatorReport validate(ValidatorSubmissi...
18,759
https://github.com/tnschaffer/CPPFundamentals-Notebooks/blob/master/demo_programs/Ch10/buffer_overflow1.cpp
Github Open Source
Open Source
MIT
2,020
CPPFundamentals-Notebooks
tnschaffer
C++
Code
109
178
// a simple program to demonstrate buffer overflow vulnerability // TODO: compile and run the program with 7 characters // run the program with 8 characters // run the program with more than 8 characters #include <iostream> #include <cstring> using namespace std; int main() { char social_security[] = "123-45-678...
8,729
https://github.com/JennyRemolina/ula-lang/blob/master/output.ll
Github Open Source
Open Source
MIT
2,020
ula-lang
JennyRemolina
LLVM
Code
125
391
; ModuleID = "/home/ignisgravitas/semester/compiladores/ula_lang/code_gen/codegen.py" target triple = "x86_64-unknown-linux-gnu" target datalayout = "" define void @"main"() { entry: %".2" = mul i8 4, 4 %".3" = add i8 %".2", 2 store i8 %".3", i8* @"x" %".5" = load i8, i8* @"x" %".6" = icmp eq i8 %".5", 17 ...
43,280
https://github.com/jspare-projects/jsdb/blob/master/jsdb-nc/samples/persist.js
Github Open Source
Open Source
Apache-2.0
2,016
jsdb
jspare-projects
JavaScript
Code
79
269
"use strict"; const jsdbc = require('./conn'); var person = { "personId" : "08643467944", "name" : "Paulo Lima" } jsdbc.persist('person', person.personId, person); person.contact = 'pflima92@gmail.com'; jsdbc.persist('person', person.personId, person); /* Batch */ //Key / Value var entities = { "1112223344" ...
42,765
https://github.com/BenchCouncil/BigDataBench_V5.0_BigData_MicroBenchmark/blob/master/Impala/Interactive_Query/set-scan.sql
Github Open Source
Open Source
Apache-2.0
2,022
BigDataBench_V5.0_BigData_MicroBenchmark
BenchCouncil
SQL
Code
9
26
drop table result; create table result (GOODS_PRICE double,GOODS_AMOUNT double);
28,790
https://github.com/florenso/cpp2/blob/master/hwcpp/targets/lpc810.hpp
Github Open Source
Open Source
BSL-1.0
2,021
cpp2
florenso
C++
Code
990
2,557
#include "cout.hpp" #include "hwcpp.hpp" #include "LPC8xx.h" // ========================================================================== // // LPC810 target base stuff // // ========================================================================== namespace hwcpp { template< int ram_size, int rom_size, int clock_...
17,882
https://github.com/kovsanyi/klondike-solitaire/blob/master/src/main/java/hu/unideb/inf/klondike/component/Talon.java
Github Open Source
Open Source
Apache-2.0
null
klondike-solitaire
kovsanyi
Java
Code
816
1,819
/* * Copyright 2017 Faculty of Informatics, Debrecen University, Hungary. * * 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 * * Unle...
36,762
https://github.com/EdJoPaTo/wikidata-misfit-bot/blob/master/source/context.ts
Github Open Source
Open Source
MIT
2,023
wikidata-misfit-bot
EdJoPaTo
TypeScript
Code
23
56
import type {Context as BaseContext} from 'grammy' import type {MiddlewareProperty} from 'telegraf-wikibase' export type Context = BaseContext & { readonly wb: MiddlewareProperty; }
51,502
https://github.com/response2shiv/mlm-affiliate/blob/master/resources/js/ibuumerang/suspended_user.js
Github Open Source
Open Source
MIT
null
mlm-affiliate
response2shiv
JavaScript
Code
175
1,219
$('#reactivate-subscription-suspended-user').on('click',function(event) { window.location.href = $(this).data('href'); }); $(document).ready(function() { $('#modalSubscriptionReactivate').attr("data-backdrop", "static"); $('#modalSubscriptionReactivate').attr("data-keyboard", "false"); $('#mo...
44,152
https://github.com/dinotuku/MovieLens/blob/master/recommenders/gc-mc/preprocessing.py
Github Open Source
Open Source
MIT
2,020
MovieLens
dinotuku
Python
Code
1,947
7,524
from __future__ import division from __future__ import print_function import numpy as np import scipy.sparse as sp import cPickle as pkl import os import h5py import pandas as pd from data_utils import load_data, map_data, download_dataset def normalize_features(feat): degree = np.asarray(feat.sum(1)).flatten...
52,552
https://github.com/whitesmith/surveyor2/blob/master/spec/spec_helper.rb
Github Open Source
Open Source
MIT
2,019
surveyor2
whitesmith
Ruby
Code
100
409
# Configure Rails Environment ENV["RAILS_ENV"] = "test" require 'rails/version' require File.expand_path("../dummies/dummy#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}/config/environment.rb", __FILE__) require 'rspec/rails' require 'factory_bot' require 'factories' require 'database_cleaner' require 'shoulda/matc...
21,613
https://github.com/mikiec84/angular-cli/blob/master/packages/angular_devkit/build_angular/src/angular-cli-files/utilities/bundle-calculator.ts
Github Open Source
Open Source
MIT
2,019
angular-cli
mikiec84
TypeScript
Code
503
1,341
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { Budget } from '../../browser/schema'; export interface Compilation { assets: { [name: string]: { size: ()...
5,835
https://github.com/pengweiqhca/aliyun-openapi-net-sdk/blob/master/aliyun-net-sdk-linkwan/LinkWAN/Transform/V20190301/ListGatewayOnlineRecordsResponseUnmarshaller.cs
Github Open Source
Open Source
Apache-2.0
2,022
aliyun-openapi-net-sdk
pengweiqhca
C#
Code
221
759
/* * 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 ...
23,548
https://github.com/bsodergren/Arduino/blob/master/libraries/spin-timer/doc/html/search/variables_0.js
Github Open Source
Open Source
MIT
2,022
Arduino
bsodergren
JavaScript
Code
5
70
var searchData= [ ['delaymillis_179',['delayMillis',['../struct_spin_timer_recurring_test_param.html#aaf1b26a833befcbfd3fc6590d61444ae',1,'SpinTimerRecurringTestParam']]] ];
35,074
https://github.com/retro-fall-games/cargo-boom/blob/master/Assets/RFG/Editor/VisualElementUtils.cs
Github Open Source
Open Source
Apache-2.0
null
cargo-boom
retro-fall-games
C#
Code
145
526
using UnityEditor; using UnityEngine.UIElements; namespace RFG { public static class VisualElementUtils { public static void CloneRootTree(this VisualElement root) { VisualTreeAsset visualTree = AssetDatabase.LoadAssetAtPath<VisualTreeAsset>("Assets/RFG/Editor/EditorWindow.uxml"); visualTree.Cl...
23,520
https://github.com/davik20/bulk-spl-token-dist/blob/master/node_modules/mdi-material-ui/TagArrowLeft.js
Github Open Source
Open Source
WTFPL, MIT, LicenseRef-scancode-free-unknown, GPL-1.0-or-later, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,021
bulk-spl-token-dist
davik20
JavaScript
Code
110
347
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _createIcon = _interopRequireDefault(require("./util/createIcon")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } var _default = (0, _createIcon["defaul...
46,940
https://github.com/selfsx/binder/blob/master/Assets/Binder/Sources/Sandbox/SandboxBehaviour.cs
Github Open Source
Open Source
MIT
null
binder
selfsx
C#
Code
84
328
using System.Collections.Generic; using System.Linq; using System.Reflection; using Binder.Runtime.Attributes; using UnityEngine; namespace Binder.Sandbox { public class SandboxBehaviour : MonoBehaviour { [SerializeField] private GameObject exampleRef1; [SerializeField] private GameObject exampleRe...
4,090
https://github.com/kyclark/playful_python_2/blob/master/scrabble/test.py
Github Open Source
Open Source
MIT
2,021
playful_python_2
kyclark
Python
Code
82
276
#!/usr/bin/env python3 """tests for scrabble.py""" import os import re import random import string from subprocess import getstatusoutput prg = './scrabble.py' # -------------------------------------------------- def test_exists(): """exists""" assert os.path.isfile(prg) # -------------------------------...
45,110
https://github.com/nozelrosario/Dcare/blob/master/plugins/com.nozelrosario.cordova.plugins.heartbeat/www/heartbeat.js
Github Open Source
Open Source
Apache-2.0
2,016
Dcare
nozelrosario
JavaScript
Code
39
113
var exec = require('cordova/exec'); var heartbeat = {}; heartbeat.take = function (options, successCallback, errorCallback) { var args = new Array(); args.push(options.seconds ? options.seconds : 10); args.push(options.fps ? options.fps : 30); exec(successCallback, errorCallback, "HeartBeat", "take", arg...
11,038
https://github.com/subwaystation/TOPAS/blob/master/src/main/java/core/fasta_index/GetSequencesFromFastaIndices.java
Github Open Source
Open Source
CC-BY-4.0
2,018
TOPAS
subwaystation
Java
Code
124
478
package core.fasta_index; import java.io.IOException; import java.util.List; /** * @author heumos * */ public class GetSequencesFromFastaIndices { String[] sequences; String fastFilePath; List<FastaIndex> faidxList; /** * @param fastFilePath * @param faidxList */ public GetSequencesFromFastaIndices(...
13,829
https://github.com/wdbears/StudBud/blob/master/src/components/Navbar.js
Github Open Source
Open Source
MIT
2,019
StudBud
wdbears
JavaScript
Code
137
479
import React, { Component } from "react"; import { Menu, Icon } from "antd"; import { Link, NavLink } from "react-router-dom"; class Navbar extends Component { state = { current: "brand-name" }; componentDidMount() { this.authSwitch(); } componentDidUpdate() { this.authSwitch(); } authProf...
20,187
https://github.com/ExternKit/extern-js-aws-sdk/blob/master/src/js/aws/iam/ListUsersOutput.hx
Github Open Source
Open Source
MIT
2,018
extern-js-aws-sdk
ExternKit
Haxe
Code
21
54
package js.aws.iam; typedef ListUsersOutput = { @:optional var Marker : String; @:optional var IsTruncated : Bool; var Users : _ShapeS4v; };
32,198
https://github.com/blockfrost/blockfrost-arduino/blob/master/src/types/Error.cpp
Github Open Source
Open Source
Apache-2.0
2,022
blockfrost-arduino
blockfrost
C++
Code
49
197
#include "Error.h" using namespace Blockfrost; // Error Error::Error() { error = std::string(); message = std::string(); } Error::Error(std::string jsonString) { this->fromJson(jsonString); } Error::~Error() { } void Error::fromJson(std::string jsonObj) { bourne::json object = bourne::json::parse(jsonOb...
32,789
https://github.com/liip/chusho/blob/master/packages/chusho/lib/composables/useKeyboardListNavigation.spec.js
Github Open Source
Open Source
MIT
2,023
chusho
liip
JavaScript
Code
467
1,623
import { mount } from '@vue/test-utils'; import { ref } from 'vue'; import useKeyboardListNavigation from './useKeyboardListNavigation'; const fixture = [ { id: 0, data: { disabled: false, text: 'adipisicing' } }, { id: 1, data: { disabled: false, text: 'lorem cupidatat' } }, { id: 2, data: { disabled: false, t...
40,859
https://github.com/cloudloyalty/client-go/blob/master/go.mod
Github Open Source
Open Source
MIT
2,023
client-go
cloudloyalty
Go Module
Code
7
43
module github.com/cloudloyalty/client-go go 1.12 require github.com/shopspring/decimal v1.2.0
21,966
https://github.com/changyuan/art-calendar/blob/master/web/index.php
Github Open Source
Open Source
BSD-3-Clause
null
art-calendar
changyuan
PHP
Code
85
366
<?php // comment out the following two lines when deployed to production defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_ENV') or define('YII_ENV', 'dev'); require __DIR__ . '/../vendor/autoload.php'; require __DIR__ . '/../vendor/yiisoft/yii2/Yii.php'; $config = require __DIR__ . '/../config/web.php...
45,138
https://github.com/cesarAugusto1994/blog3/blob/master/src/Api/Entities/Favoritos.php
Github Open Source
Open Source
MIT
null
blog3
cesarAugusto1994
PHP
Code
219
767
<?php /** * Created by PhpStorm. * User: cesar * Date: 31/01/17 * Time: 15:29 */ namespace Api\Entities; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; /** * Class Favoritos * @package Api\Entities * @ORM\Entity(repositoryClass="Api\Repositories\FavoritosRepository") * @OR...
23,937
https://github.com/dendisuhubdy/attention-lvcsr/blob/master/libs/fuel/tests/test_binarized_mnist.py
Github Open Source
Open Source
MIT
2,019
attention-lvcsr
dendisuhubdy
Python
Code
137
693
import hashlib from numpy.testing import assert_raises, assert_equal from fuel.datasets import BinarizedMNIST from tests import skip_if_not_available def test_binarized_mnist_train(): skip_if_not_available(datasets=['binarized_mnist.hdf5']) dataset = BinarizedMNIST(('train',), load_in_memory=False) han...
38,250
https://github.com/VulnerabilityHistoryProject/chromium-vulnerabilities/blob/master/Gemfile
Github Open Source
Open Source
MIT
2,022
chromium-vulnerabilities
VulnerabilityHistoryProject
Ruby
Code
33
72
source 'https://rubygems.org' gem 'rake' gem 'rspec' gem 'git' # You'll need this installed for get_releases.rb # But it causes problems on installation so # we don't need it for everyone # gem 'nokogiri'
5,867
https://github.com/benoitc/macports-ports/blob/master/python/py-gobject3/files/patch-configure.ac.diff
Github Open Source
Open Source
BSD-2-Clause
2,020
macports-ports
benoitc
null
Spoken
52
195
--- configure.ac.orig 2018-03-24 11:33:13.000000000 -0700 +++ configure.ac 2018-03-24 11:33:55.000000000 -0700 @@ -123,7 +123,7 @@ fi dnl get rid of the -export-dynamic stuff from the configure flags ... -export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` +export_dynamic=`(./glib...
20,523
https://github.com/nzldev/unidit/blob/master/src/core/helpers/checker/is-native-function.ts
Github Open Source
Open Source
MIT
null
unidit
nzldev
TypeScript
Code
74
267
/*! * Unidit Editor (https://nazrul.dev/packages/unidit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2021-2022 Nazrul Islam. All rights reserved. https://nazrul.dev */ /** * @module helpers/checker */ /** * Check if function or method was not replaced on s...
1,747
https://github.com/adityav2008/aero/blob/master/theme/aero-admin/aero-html-version/Gruntfile.js
Github Open Source
Open Source
MIT
null
aero
adityav2008
JavaScript
Code
120
1,046
module.exports = function(grunt) { grunt.initConfig({ sass: { options: { includePaths: ['node_modules/bootstrap-sass/assets/stylesheets'] }, dist: { options: { outputStyle: 'compressed' }, ...
48,543
https://github.com/james-wallis/blockchain-vscode-extension/blob/master/packages/blockchain-fabric-admin/src/Policy.ts
Github Open Source
Open Source
Apache-2.0
2,022
blockchain-vscode-extension
james-wallis
TypeScript
Code
506
1,478
/* * 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 writing, software * distributed u...
35,321
https://github.com/lisycn/docker/blob/master/dockerfiles/demo/try/tomcat/web/pcjs/pc/pager.js
Github Open Source
Open Source
MIT
2,018
docker
lisycn
JavaScript
Code
59
265
/** * 分页查询 * @param pageNumber */ function showPcPage(pageNumber){ var limit = $("#pageSize").val(); if(!pageNumber || !limit){ pageNumber = 1; limit = 5; } var formData = $(".queryForm").serializeArray(); formData.push({"name":"pageNumber","value":pageNumber}); formData.push({"name":"limit","value":...
4,320
https://github.com/HPI-SWA-Teaching/MusicBrainzForSqueak/blob/master/packages/MusicBrainz-Tests.package/MBSettingsWindowTest.class/instance/testSetPassword.st
Github Open Source
Open Source
MIT
2,016
MusicBrainzForSqueak
HPI-SWA-Teaching
null
Spoken
22
58
TESTING: setting testSetPassword | password | password := 'tEs7'. self settingsWindow setPassword: password. self assert: password equals: (self settingsWindow settings at: 'Password')
29,913
https://github.com/lakshminaidu/RikthamTask/blob/master/RikthamApp/RikthamApp/Search/SearchViewController.swift
Github Open Source
Open Source
MIT
null
RikthamTask
lakshminaidu
Swift
Code
338
1,013
// // SearchViewController.swift // RikthamApp // // Created by Lakshminaidu on 25/3/2022. // import UIKit class SearchViewController: BaseViewController { @IBOutlet weak var searchBar: UISearchBar! @IBOutlet weak var locationButton: UIButton! @IBOutlet weak var categoryButton: UIButton! @IBOutlet...
49,184
https://github.com/kikiruk/PopeEducation/blob/master/Lab8/FixedBoolVector.h
Github Open Source
Open Source
MIT
2,020
PopeEducation
kikiruk
C++
Code
541
1,801
#pragma once using namespace std; namespace lab8 { template <size_t N> class FixedVector<bool, N> { public: FixedVector(); FixedVector(const FixedVector& copy); const FixedVector& operator=(const FixedVector& copy); bool Add(const bool data); bool Remove(const bool data); const bool Get(const size_...
32,300
https://github.com/coderZsq/coderZsq.practice.native/blob/master/StudyNotes/Swift Collection/Swiftful Thinking/[Beginner Level] SwiftUI Todo List/TodoList/Views/ListRowView.swift
Github Open Source
Open Source
MIT
2,023
coderZsq.practice.native
coderZsq
Swift
Code
86
275
// // ListRowView.swift // TodoList // // Created by 朱双泉 on 2023/1/29. // import SwiftUI struct ListRowView: View { let item: ItemModel var body: some View { HStack { Image(systemName: item.isCompleted ? "checkmark.circle" : "circle") .foregroundColor(item.isCo...
28,015
https://github.com/superwatermelon/focalize/blob/master/test/basics_test.js
Github Open Source
Open Source
MIT
2,020
focalize
superwatermelon
JavaScript
Code
1,050
3,213
const expect = require('expect') const focalize = require('../src') describe('Basic Usage', () => { describe('Object literal lens', () => { const lens = focalize.prop('name'); const a = { name: 'Bob', department: 'R&D' }; const b = lens.set(a, 'Greg'); const c = lens.mod(a, (v) => v ...
26,105
https://github.com/alessiotoni/boolbnb/blob/master/resources/views/layouts/components/error.blade.php
Github Open Source
Open Source
MIT
null
boolbnb
alessiotoni
PHP
Code
31
126
@if(count($errors->all()) > 0) <div style=" margin-top: 20px; width: 400px; border-radius: 7px; border: 3px solid crimson; text-align: center; margin: auto; color: crimson; padding: 20px; "> @foreach($errors->all() as $error) <p>{{$error}}</p> ...
29,096
https://github.com/taw/magic-search-engine/blob/master/search-engine/lib/condition/condition_word.rb
Github Open Source
Open Source
MIT
2,023
magic-search-engine
taw
Ruby
Code
81
283
class ConditionWord < ConditionSimple def initialize(word) @word = normalize_name(word).tr("-", " ").delete_suffix(',') @stem_word = @word.gsub(/s\b/, "") @suggestions = [] end def match?(card) name = card.stemmed_name return true if name.include?(@stem_word) @suggestions.each do |alt, al...
37,453
https://github.com/DearXxGitHub/AppMsg/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,016
AppMsg
DearXxGitHub
Ignore List
Code
2
51
*.dll sample/AppMsg.Sample/packages/Sino.Droid.AppMsg.1.0.0.1/Sino.Droid.AppMsg.1.0.0.1.nupkg
22,934
https://github.com/delba/purchases-ios/blob/master/Purchases/Purchasing/StoreKit2/ProductsFetcherSK2.swift
Github Open Source
Open Source
MIT
2,022
purchases-ios
delba
Swift
Code
328
1,002
// // Copyright RevenueCat Inc. All Rights Reserved. // // Licensed under the MIT 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://opensource.org/licenses/MIT // // ProductsManagerSK2.swift // // Created by A...
17,010
https://github.com/jjj117/JD-Test/blob/master/main/src/main/java/com/sxjs/jd/composition/login/LoginActivity.java
Github Open Source
Open Source
Apache-2.0
2,019
JD-Test
jjj117
Java
Code
68
330
package com.sxjs.jd.composition.login; import android.os.Bundle; import android.support.annotation.Nullable; import com.alibaba.android.arouter.facade.annotation.Route; import com.sxjs.common.base.rxjava.ErrorDisposableObserver; import com.sxjs.jd.MainDataManager; import com.sxjs.jd.R; import com.sxjs.common.base.Bas...
9,351
https://github.com/discretegames/DSAs/blob/master/src/DSAs/sorting/bubblesort.py
Github Open Source
Open Source
MIT
null
DSAs
discretegames
Python
Code
41
117
from DSAs.sorting.util import swap, key_and_reverse @key_and_reverse() def bubblesort(arr): """Bubble sort. In place. Stable. O(N^2) time. O(1) extra space.""" for i in range(len(arr)): for j in range(len(arr) - i - 1): if arr[j] > arr[j + 1]: swap(arr, j, j + 1)
7,631
https://github.com/alenauus/Altas-of-Pelvis-Segmentation-and-Trajectory-Planning/blob/master/trajectory/Posterior Column Left/TrajectoryVolume_36_Posterior column Left.stl
Github Open Source
Open Source
CC-BY-4.0
2,019
Altas-of-Pelvis-Segmentation-and-Trajectory-Planning
alenauus
null
Spoken
20,000
63,133
solid ascii facet normal -0.447589 0.185176 -0.874856 outer loop vertex 63.9944 -118.831 -1019.05 vertex 62.3215 -120.907 -1018.63 vertex 62.0966 -118.009 -1017.9 endloop endfacet facet normal 0.0786463 -0.531739 -0.843249 outer loop vertex 62.3215 -120.907 -1018.63 vertex 65.5835 -121.107 -1018.2 vertex 63.1318 -123.1...
4,385
https://github.com/deckgo/deckdeckgo/blob/master/webcomponents/monaco-editor/esbuild.js
Github Open Source
Open Source
MIT
2,023
deckdeckgo
deckgo
JavaScript
Code
73
415
#!/usr/bin/env node const esbuild = require('esbuild'); const path = require('path'); const {copyFileSync} = require('fs'); const ROOT = path.join(process.cwd(), '..', '..', 'node_modules/monaco-editor/esm/vs'); const WORKERS = path.join(process.cwd(), 'workers'); const WWW = path.join(process.cwd(), 'www', 'build');...
51,731
https://github.com/HelioFlux/Heliosphere/blob/master/src/services/traceability/HFX.Traceability.Domain/Models/SerializedComponent.cs
Github Open Source
Open Source
MIT
null
Heliosphere
HelioFlux
C#
Code
109
264
using HFX.Common.SeedWork; using System; namespace HFX.Traceability.Domain.Models { public class SerializedComponent : Entity { public SerializedComponent() => this.GeneratedAt = DateTime.Now; public string SerialNumber { get; private set; } public string Status { get; set; } ...
52,312
https://github.com/StraToN/unofficial-escoria-reloaded/blob/master/.import/mark7.png-5d772eedf3a1a458eede56078c6cca3e.md5
Github Open Source
Open Source
MIT, CC-BY-4.0, LicenseRef-scancode-unknown
2,021
unofficial-escoria-reloaded
StraToN
null
Spoken
2
57
source_md5="1312e4327d839c3f9b5416998f641d4b" dest_md5="eae81f8b44dbb98c544838c82c0314de"
12,743