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/cokestewpotato/DesignPatterns/blob/master/src/main/java/com/allcoolboys/observer/Observer.java
Github Open Source
Open Source
Apache-2.0
null
DesignPatterns
cokestewpotato
Java
Code
31
84
package com.allcoolboys.observer; /** * 观察者接口 * @author coolboy */ public interface Observer { /** * 更新 * @param source 被观察者 * @param arg 参数 */ void update(Subject source, Object arg); }
34,060
https://github.com/kubanino/gof/blob/master/src/main/java/com/public_class/patterns/observer/ExampleUsage.java
Github Open Source
Open Source
MIT
null
gof
kubanino
Java
Code
31
114
package com.public_class.patterns.observer; public class ExampleUsage { public static void main(String args[]) { Subject powerStation = new SubjectImplementation(); Observer clientOne = new ObserverImplementation("Client 1"); powerStation. registerObserver(clientOne). ...
38,871
https://github.com/kappmeier/gravo/blob/master/GravoCore/xls/Card.vb
Github Open Source
Open Source
Apache-2.0
null
gravo
kappmeier
Visual Basic
Code
129
300
Public Class Card Private ReadOnly m_testInterval As Integer Private ReadOnly m_counter As Integer Private ReadOnly m_lastDate As Date Private ReadOnly m_testIntervalMain As Integer Private ReadOnly m_counterMain As Integer Public Sub New(testInterval As Integer, counter As Integer, lastDate A...
38,101
https://github.com/kyorohiro/Hetimatan/blob/master/Hetimatan/src_core/net/hetimatan/net/torrent/client/_front/TorrentFrontShakeHand.java
Github Open Source
Open Source
CC-BY-3.0
2,014
Hetimatan
kyorohiro
Java
Code
371
1,718
package net.hetimatan.net.torrent.client._front; import java.io.IOException; import java.lang.ref.WeakReference; import net.hetimatan.io.file.MarkableReader; import net.hetimatan.net.torrent.client.TorrentClient; import net.hetimatan.net.torrent.client.TorrentClientFront; import net.hetimatan.net.torrent.client.Torre...
50,192
https://github.com/vagishagupta/loginApp/blob/master/Frontend/src/HiddenPage/Welcome.js
Github Open Source
Open Source
MIT
null
loginApp
vagishagupta
JavaScript
Code
272
872
import React from 'react'; import { getProfile, logoutUser } from '../actions/UserOperations' import { withStyles } from '@material-ui/core/styles'; import { Button, Grid } from '@material-ui/core'; import { withRouter } from 'react-router-dom'; import Login from '../Login/Login'; const useStyles = (theme) => ({ m...
2,976
https://github.com/likezninjaz/capucco/blob/master/pages/course/index.tsx
Github Open Source
Open Source
BSD-3-Clause
2,021
capucco
likezninjaz
TypeScript
Code
449
1,679
import React from 'react'; import Head from 'next/head'; import Link from 'next/link'; import { connect } from "react-redux"; import { withRouter } from 'next/router'; import axios from 'axios'; import Header from '../../components/Header'; import Footer from '../../components/Footer'; import Select from '../../compon...
6,071
https://github.com/marx-alex/Morphelia/blob/master/morphelia/tools/samples.py
Github Open Source
Open Source
MIT
null
Morphelia
marx-alex
Python
Code
1,114
3,512
# import internal libraries import os import re # import external libraries from tqdm import tqdm import numpy as np import pandas as pd from skimage import io from skimage import color from skimage import exposure from skimage.util import img_as_ubyte, img_as_float def group_samples(adata, file_path, identifier, gr...
42,658
https://github.com/leanprover/lean4/blob/master/src/Lean/Meta/Closure.lean
Github Open Source
Open Source
Apache-2.0, LLVM-exception, NCSA, LGPL-3.0-only, LicenseRef-scancode-inner-net-2.0, BSD-3-Clause, LGPL-2.0-or-later, Spencer-94, LGPL-2.1-or-later, HPND, LicenseRef-scancode-pcre, ISC, LGPL-2.1-only, LicenseRef-scancode-other-permissive, SunPro, CMU-Mach
2,023
lean4
leanprover
Lean
Code
2,355
4,977
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.MetavarContext import Lean.Environment import Lean.Util.FoldConsts import Lean.Meta.Basic import Lean.Meta.Check /-! This module provides func...
24,134
https://github.com/Pathoschild/smapi-mod-dump/blob/master/source/~kdau/PredictiveCore/src/Geodes.cs
Github Open Source
Open Source
MIT
2,023
smapi-mod-dump
Pathoschild
C#
Code
687
2,080
/************************************************* ** ** You're viewing a file in the SMAPI mod dump, which contains a copy of every open-source SMAPI mod ** for queries and analysis. ** ** This is *not* the original file, and not necessarily the latest version. ** Source repository: https://gitlab.com/kdau/predictivem...
9,676
https://github.com/kkrgzz/noteX/blob/master/Android App (Android Studio)/app/src/main/java/com/kkrgzz/notexgithub/MainActivity.java
Github Open Source
Open Source
MIT
2,021
noteX
kkrgzz
Java
Code
361
1,419
package com.kkrgzz.notexgithub; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.util.Log; import android.view.View; import android.widget.Button; import a...
5,460
https://github.com/welcoMattic/ux/blob/master/src/Autocomplete/src/Doctrine/SearchEscaper.php
Github Open Source
Open Source
MIT
2,023
ux
welcoMattic
PHP
Code
194
468
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\UX\Autocomplete\Doctrine; use Doctrine\ORM\Query\Lexer; /** *...
23,186
https://github.com/vinhp1292/sdk-react/blob/master/packages/search-ui/src/i18n/locale/en.ts
Github Open Source
Open Source
MIT
null
sdk-react
vinhp1292
TypeScript
Code
149
422
export default { common: { result: 'Result', results: 'Results', items: 'Items', item: 'Item', loading: 'Loading', error: 'Error', }, errors: { authorization: 'Authorization for this request failed. Please try again.', connection: 'Please check your network connection and try again...
36,045
https://github.com/uiharness/platform/blob/master/code/ui.datagrid/src/test/pkg.TEST.ts
Github Open Source
Open Source
MIT
2,021
platform
uiharness
TypeScript
Code
70
217
import { expect, log } from '.'; describe('package.json', () => { const pkg = require('../../package.json'); // eslint-disable-line it('has locked version: handsontable@6.2.2', () => { const deps = pkg.dependencies; const PKG = 'handsontable'; const MIT = '6.2.2'; let msg = `\nWARNING [${PKG}] mu...
7,994
https://github.com/1446554749/jdk_11_src_read/blob/master/jdk11/java.security.jgss/sun/security/krb5/internal/ktab/KeyTabInputStream.java
Github Open Source
Open Source
Apache-2.0
2,018
jdk_11_src_read
1446554749
Java
Code
703
1,424
/* * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
15,940
https://github.com/Matapii/wallabag-client/blob/master/src/wallabag/commands/update.py
Github Open Source
Open Source
MIT
2,021
wallabag-client
Matapii
Python
Code
191
622
# -*- coding: utf-8 -*- from wallabag.commands.command import Command from wallabag.commands.params import Params from wallabag.api.get_entry import GetEntry from wallabag.api.update_entry import UpdateEntry, Params as UpdateEntryParams from wallabag.entry import Entry class UpdateCommandParams(Params): toggle_r...
19,250
https://github.com/tenantcloud/php-better-reflection/blob/master/relocation/relocated/vendor/phpstan/php-8-stubs/stubs/ext/standard/realpath_cache_get.php
Github Open Source
Open Source
MIT
null
php-better-reflection
tenantcloud
PHP
Code
7
19
<?php function realpath_cache_get() : array { }
43,998
https://github.com/rahulkalita8/portfolioMaterialUI/blob/master/src/containers/accomplishments/AccomplishmentsStyle.js
Github Open Source
Open Source
Apache-2.0
2,021
portfolioMaterialUI
rahulkalita8
JavaScript
Code
104
441
export default (theme) => ({ accomplishmentsRoot: { padding: '2rem', backgroundImage: 'linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), url(/assets/images/accomplishment-background.jpg)', backgroundPosition: 'bottom', backgroundSize: 'cover', backgroun...
30,565
https://github.com/awooos/dux-mm/blob/master/src/instance_test.c
Github Open Source
Open Source
MIT
2,017
dux-mm
awooos
C
Code
129
530
#include <tinker.h> #include <stddef.h> #include <dmm.h> #include <dmm_instance.h> #include "header.h" #include "instance.h" #include "instance_test.h" static DMM_MallocHeader *test_instance = DMM_UNASSIGNED_REGION; void test_dmm_instance_add_region() { size_t length = 128; void *region = dmm_malloc(length);...
26,019
https://github.com/sumit4-ttn/SDK/blob/master/atom/proton/java/src/test/java/com/hydrogen/proton/api/GoalsApiTest.java
Github Open Source
Open Source
Apache-2.0
null
SDK
sumit4-ttn
Java
Code
361
1,083
/* * Hydrogen Proton API * Financial engineering module of Hydrogen Atom * * OpenAPI spec version: 1.7.18 * Contact: info@hydrogenplatform.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */...
42,866
https://github.com/ProofPilot/itah/blob/master/src/Cyclogram/MtiBundle/Resources/views/Mti/terms.html.twig
Github Open Source
Open Source
MIT
null
itah
ProofPilot
Twig
Code
132
467
{% extends 'CyclogramMtiBundle:Mti:base.html.twig' %} {% block title %} iTestatHome - Terms {% endblock %} {% block leftcontent%} <div class="grid_12"> <div class="middleContentLeft"> <!-- <img src="/bundles/cyclogrammti/images/general/cdc_logo.jpg" id="cdcLogo" alt="" border="0" width="125" he...
742
https://github.com/DevArcana/DarkRites/blob/master/src/main/java/devarcana/darkrites/common/mixin/CleansingRitualMixin.java
Github Open Source
Open Source
CC0-1.0
2,022
DarkRites
DevArcana
Java
Code
126
567
package devarcana.darkrites.common.mixin; import ladysnake.requiem.api.v1.RequiemPlayer; import ladysnake.requiem.api.v1.remnant.RemnantComponent; import moriyashiine.bewitchment.api.BewitchmentAPI; import moriyashiine.bewitchment.common.item.TaglockItem; import moriyashiine.bewitchment.common.ritualfunction.CleanseRi...
38,202
https://github.com/Silvestra/Silvestra/blob/master/src/Silvestra/Bundle/SeoBundle/DependencyInjection/SilvestraSeoExtension.php
Github Open Source
Open Source
MIT
2,016
Silvestra
Silvestra
PHP
Code
124
527
<?php /* * This file is part of the Silvestra package. * * (c) Silvestra <tadcka89@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Silvestra\Bundle\SeoBundle\DependencyInjection; use Symfony\Component\Depend...
26,039
https://github.com/alan7s/BrasilTur/blob/master/BrasilTur/src/brasiltur/MostrarPassageiros.java
Github Open Source
Open Source
MIT
null
BrasilTur
alan7s
Java
Code
421
1,991
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package brasiltur; import javax.swing.JOptionPane; import javax.swing.table.DefaultTableModel; public class MostrarPassageiros extend...
25,690
https://github.com/pyjarrett/progress_indicators/blob/master/src/progress_indicators-work_trackers.ads
Github Open Source
Open Source
Apache-2.0
2,021
progress_indicators
pyjarrett
Ada
Code
186
343
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2021 The progress_indicators authors -- -- 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/licen...
8,060
https://github.com/aws/aws-sdk-net/blob/master/sdk/src/Services/CleanRooms/Generated/Model/_bcl45+netstandard/ListCollaborationsPaginator.cs
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-public-domain, MIT, LicenseRef-scancode-unknown-license-reference
2,023
aws-sdk-net
aws
C#
Code
333
960
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
11,777
https://github.com/lichobaron/HistoricMemoryRMI/blob/master/src/hmrmi/peer/Cliente.java
Github Open Source
Open Source
MIT
null
HistoricMemoryRMI
lichobaron
Java
Code
258
1,020
package hmrmi.peer; import java.rmi.*; import java.rmi.server.*; import java.rmi.registry.*; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; import hmrmi.remote.archivos.*; import hmrmi.remote.nameserver.*; import hmrmi.util.Util; public cla...
35,775
https://github.com/noahij05/CS165_TLS/blob/master/extern/libressl/build/tls/CMakeFiles/tls.dir/depend.make
Github Open Source
Open Source
FSFAP, OpenSSL, LicenseRef-scancode-openssl, LicenseRef-scancode-ssleay-windows, LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference
2,020
CS165_TLS
noahij05
Makefile
Code
1,144
19,016
# CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles" Generator, CMake Version 3.17 tls/CMakeFiles/tls.dir/tls.c.o: ../include/compat/arpa/inet.h tls/CMakeFiles/tls.dir/tls.c.o: ../include/compat/limits.h tls/CMakeFiles/tls.dir/tls.c.o: ../include/compat/netinet/in.h tls/CMakeFiles/tls.dir/tls.c.o: ../i...
35,609
https://github.com/3eif/Mars-Forecast/blob/master/lib/services/convertWeather.dart
Github Open Source
Open Source
Apache-2.0
2,020
Mars-Forecast
3eif
Dart
Code
13
28
int convertWeather(double weather) { return ((weather * 9 / 5) + 32).round(); }
9,775
https://github.com/shirshak007/food_delivery/blob/master/forgot.php
Github Open Source
Open Source
MIT
2,022
food_delivery
shirshak007
Hack
Code
280
1,216
<head> <title>HUNG Forgot</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="1.css"> <link rel="stylesheet" href="2.txt"> <link rel="stylesheet" href="font-awesome/css/font-awesome.min.css"> <style> html,body,h1,h2,h3,h4 {font-family:"Lato", ...
36,055
https://github.com/codechip/rhino-tools/blob/master/SampleApplications/MultiTenacy/Northwind.Web/Controllers/HomeController.cs
Github Open Source
Open Source
BSD-3-Clause
2,016
rhino-tools
codechip
C#
Code
35
103
using System.Web.Mvc; using MultiTenancy.Web.Model; using MultiTenancy.Web.ViewModel; namespace Northwind.Web.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(new IndexModel { Games = new Game[0], ...
20,661
https://github.com/jaywilliams/ffq/blob/master/src/template/markdown.php
Github Open Source
Open Source
BlueOak-1.0.0
null
ffq
jaywilliams
PHP
Code
46
153
<?php // markdown compiles and extend markdown into html function markdown($_) { $_ = preg_replace( "/(<~([^>]+)>)/", '<a href="/$2">$2</a>', $_); $_ = preg_replace( "/[\*-] +\[ ?\]/", '- <input type=checkbox>', $_); $_ = preg_replace( "/[\*-] +\[x\]/", '- <input type=checkbox checke...
5,597
https://github.com/negativecode/vines-services/blob/master/lib/vines/services/controller/disco_info_controller.rb
Github Open Source
Open Source
MIT
2,013
vines-services
negativecode
Ruby
Code
181
571
# encoding: UTF-8 module Vines module Services module Controller class DiscoInfoController < BaseController register :disco_info, :get? def process reply = (node.to == stream.jid) ? component : service stream.write(reply) if reply end private #...
23,721
https://github.com/Smirnoff2019/stopcovid_web/blob/master/resources/js/admin/modules/ImageLibrary/master/Models/temp.js
Github Open Source
Open Source
MIT
null
stopcovid_web
Smirnoff2019
JavaScript
Code
31
90
import BaseModel from './BaseModel.js'; const Name = (elem) => { const $this = elem || $('selector'); BaseModel($this); // ============================================================== // Methods // ============================================================== // ======================================...
21,601
https://github.com/alipay/alipay-sdk-net-all/blob/master/v3/src/AlipaySDKNet.OpenAPI/Model/InteligentUseTime.cs
Github Open Source
Open Source
Apache-2.0
2,023
alipay-sdk-net-all
alipay
C#
Code
475
1,972
/* * 支付宝开放平台API * * 支付宝开放平台v3协议文档 * * The version of the OpenAPI document: 2023-07-17 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.IO; usin...
2,147
https://github.com/BeatRossmy/MidiBrainModule/blob/master/MIDI_BRAIN_LPX/Keyboard.h
Github Open Source
Open Source
MIT
null
MidiBrainModule
BeatRossmy
C
Code
338
1,283
#ifndef KEYBOARD_H #define KEYBOARD_H enum MESSAGE_TYPE {NOTE_ON,NOTE_OFF}; struct MIDI_NOTE_MESSAGE { MESSAGE_TYPE type; int8_t pitch; int8_t velocity; bool operator==(MIDI_NOTE_MESSAGE b) { return (pitch == b.pitch) && (type == b.type); } void print () { Serial.print("{"); Serial.print(...
19,154
https://github.com/kejadlen/katas/blob/master/advent-of-code/2018/ruby/day_13.rb
Github Open Source
Open Source
MIT
null
katas
kejadlen
Ruby
Code
397
1,106
Cart = Struct.new(*%i[ x y dir turns ]) map = ARGF.read.chomp.lines.map(&:chomp).map(&:chars) carts = [] map.each.with_index {|row,y| row.each.with_index {|i,x| carts << Cart.new(x, y, i, 0) if %w[ ^ v < > ].include?(i) } } loop do carts.sort_by {|cart| [cart.y, cart.x] }.each do |cart| case cart....
49,737
https://github.com/UnforeseenOcean/Exist/blob/master/Assets/TV.prefab.meta
Github Open Source
Open Source
CC-BY-3.0, CC-BY-4.0
2,016
Exist
UnforeseenOcean
Unity3D Asset
Code
6
38
fileFormatVersion: 2 guid: 02be0c5170fcb144ba19ba4689960e92 NativeFormatImporter: userData:
47,916
https://github.com/Kney-Delach/Elysium-Puzzle-Engine/blob/master/Elysium-Engine/Elysium/src/Core/Serialization/FileManager.h
Github Open Source
Open Source
Apache-2.0
null
Elysium-Puzzle-Engine
Kney-Delach
C
Code
192
549
/** * FILENAME : FileManager.h * Name : Ori Lazar * Student ID : b9061712 * Date : 15/10/2019 * Description : This file contains the implementation of the serializer used throughout Elysium, it handles both writing and reading files. */ #pragma once #include <fstream> #include <string> #include "Core/...
13,795
https://github.com/Azrael808/knife-server/blob/master/knife-server.gemspec
Github Open Source
Open Source
Apache-2.0
2,021
knife-server
Azrael808
Ruby
Code
137
605
# -*- encoding: utf-8 -*- require File.expand_path("../lib/knife/server/version", __FILE__) require "English" Gem::Specification.new do |gem| gem.authors = ["Fletcher Nichol"] gem.email = ["fnichol@nichol.ca"] gem.summary = "Chef Knife plugin to bootstrap Chef Servers" gem.description = g...
35,380
https://github.com/tbud/bud_build/blob/master/tasks/license/license.go
Github Open Source
Open Source
BSD-3-Clause
2,015
bud_build
tbud
Go
Code
250
656
// Copyright (c) 2015, tbud. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package license import ( "bytes" "errors" "io/ioutil" "os" . "github.com/tbud/bud/context" "github.com/tbud/x/path/selector" ) type LicenseTask struct { Ba...
34,780
https://github.com/MighTguY/edwinner/blob/master/admin/main/php_src/exword.php
Github Open Source
Open Source
MIT
2,018
edwinner
MighTguY
PHP
Code
26
103
<?php include 'lib/util.php'; $request = array(); foreach ($_POST as $key => $value) { $request[$key] = $value; } $request = array_map(utf8_encode, $request); echo update("/update/extraword",$request); header("Location: {$_SERVER["HTTP_REFERER"]}"); ?>
29,865
https://github.com/arpan-khandelwal/blog-app-backend/blob/master/route/comments/commentRoute.js
Github Open Source
Open Source
MIT
2,021
blog-app-backend
arpan-khandelwal
JavaScript
Code
39
180
const express = require("express"); const { createCommentCtrl, fetchAllCommentsCtrl, fetchCommentCtrl, updateCommentCtrl, deleteCommentCtrl, } = require("../../controllers/comments/commentCtrl"); const authMiddleware = require("../../middlewares/auth/authMiddleware"); const commentRoutes = express.Router(); ...
38,020
https://github.com/cmu-lib/dhweb_app/blob/master/dh_abstracts/app/abstracts/migrations/0003_auto_20190428_1731.py
Github Open Source
Open Source
MIT
2,022
dhweb_app
cmu-lib
Python
Code
31
126
# Generated by Django 2.1 on 2019-04-28 21:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('abstracts', '0002_auto_20190428_1707'), ] operations = [ migrations.AlterField( model_name='conferenceseries', name='a...
45,789
https://github.com/sn01615/junengwan_lib/blob/master/src/Junengwan.php
Github Open Source
Open Source
Apache-2.0
null
junengwan_lib
sn01615
PHP
Code
202
753
<?php namespace Junengwan; /** * * @author YangLong * Date: 2018-01-23 */ class Junengwan { private $cpId, $cpSecret, $opts = []; private $baseUrl = 'http://share.zrpic.com/jnwtv-livecartoon-api/cp/'; public function setCpId($cpId) { $this->cpId = $cpId; } public function setCpS...
23,043
https://github.com/ileego/CodeGenerator/blob/master/src/CodeGenerator.Application/Services/ApplicationRole/ApplicationRoleService.cs
Github Open Source
Open Source
MIT
2,021
CodeGenerator
ileego
C#
Code
324
1,318
using System; using System.Text; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using AutoMapper; using CodeGenerator.Application.DTOs.ApplicationRole; using CodeGenerator.Core.Repository.ApplicationRole; using CodeGenerator.Infra.Common.Paging; u...
29,092
https://github.com/CrazyChickenDev/Encrypto/blob/master/cli.py
Github Open Source
Open Source
MIT
2,020
Encrypto
CrazyChickenDev
Python
Code
47
159
import fire from encryptMessage import Encryptor class Encrypto(object): """ CLI encrypto object """ def __init__(self): self.encryptor = Encryptor() def encrypt(self,msg): encrypted = self.encryptor.encrypt(msg) res = encrypted.decode() return res def decryp...
33,598
https://github.com/yoavShaked/NegevApp-client/blob/master/src/reducers/CurrentZoom_Reducer.js
Github Open Source
Open Source
MIT
null
NegevApp-client
yoavShaked
JavaScript
Code
16
55
export default function(state = 8,action) { switch(action.type) { case 'ZOOM_CHANGED': return action.payLoad; } return state; }
11,713
https://github.com/YWADMIN/UnitTest/blob/master/src/test/java/adrninistrator/test/testmock/static1/mock/public1/non_void/test_answer/TestStPuNVThenAnswerCallRealMethod1.java
Github Open Source
Open Source
Apache-2.0
2,020
UnitTest
YWADMIN
Java
Code
153
885
package adrninistrator.test.testmock.static1.mock.public1.non_void.test_answer; import adrninistrator.test.testmock.static1.mock.public1.non_void.TestStaticPublicNonVoidBase; import adrninistrator.test.testmock.static1.mock.public1.non_void.answer.AnswerStaticPublicNonVoid1; import com.adrninistrator.common.constants....
33
https://github.com/paullewallencom/fuelphp-978-1-7839-8540-1/blob/master/_src/chapter_6/novius-os/novius-os/framework/views/admin/about.view.php
Github Open Source
Open Source
Apache-2.0
null
fuelphp-978-1-7839-8540-1
paullewallencom
PHP
Code
106
432
<?php /** * NOVIUS OS - Web OS for digital communication * * @copyright 2011 Novius * @license GNU Affero General Public License v3 or (at your option) any later version * http://www.gnu.org/licenses/agpl-3.0.html * @link http://www.novius-os.org */ \Nos\I18n::current_dictionary('nos::common'); ...
1,741
https://github.com/reachtoashish/ltrmpl-2203-sandiego/blob/master/yang/modules/cisco-ios-xr/651/cisco-xr-openconfig-routing-policy-deviations.yang
Github Open Source
Open Source
Apache-2.0
null
ltrmpl-2203-sandiego
reachtoashish
YANG
Code
102
490
module cisco-xr-openconfig-routing-policy-deviations { namespace "http://cisco.com/ns/yang/cisco-xr-openconfig-routing-policy-deviations"; prefix cisco-xr-oc-rpol-devs; import openconfig-routing-policy { prefix rpol; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Custo...
11,306
https://github.com/DimonVelikij/debtor/blob/master/src/AppBundle/Resources/public/js/cms/core/core.config.js
Github Open Source
Open Source
BSD-3-Clause, MIT
2,018
debtor
DimonVelikij
JavaScript
Code
24
103
(function (angular) { "use strict"; angular .module('cms.core') .config(config); config.$inject = [ '$interpolateProvider' ]; function config ( $interpolateProvider ) { $interpolateProvider .startSymbol('[[') .endSymbol(']]'); ...
38,901
https://github.com/sjrd/dotty/blob/master/compiler/src/dotty/tools/dotc/config/CliCommand.scala
Github Open Source
Open Source
Apache-2.0
2,022
dotty
sjrd
Scala
Code
838
2,182
package dotty.tools.dotc package config import java.nio.file.{Files, Paths} import Settings._ import core.Contexts._ import Properties._ import scala.PartialFunction.cond trait CliCommand: type ConcreteSettings <: CommonScalaSettings with Settings.SettingGroup def versionMsg: String def ifErrorsMsg: String...
27,354
https://github.com/e4p1k0/bitcoin-cryptocurrency-tutorial/blob/master/libraries/vendor/bitwasp/buffertools/src/Buffertools/Types/AbstractUint.php
Github Open Source
Open Source
Apache-2.0
2,022
bitcoin-cryptocurrency-tutorial
e4p1k0
PHP
Code
157
639
<?php declare(strict_types=1); namespace BitWasp\Buffertools\Types; use BitWasp\Buffertools\ByteOrder; use BitWasp\Buffertools\Parser; abstract class AbstractUint extends AbstractType implements UintInterface { /** * @param int $byteOrder */ public function __construct(int $byteOrder = ByteOrder::...
33,872
https://github.com/SOE-YoungS/PackageUploader/blob/master/src/PackageUploader.FileLogger/FormatterOptionsMonitor.cs
Github Open Source
Open Source
MIT
null
PackageUploader
SOE-YoungS
C#
Code
62
178
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using Microsoft.Extensions.Options; namespace PackageUploader.FileLogger { internal class FormatterOptionsMonitor<TOptions> : IOptionsMonitor<TOptions> where TOptions : FileFormatterOptions { private readonly TOpt...
27,302
https://github.com/ryanwersal/install-poetry-action/blob/master/src/main.ts
Github Open Source
Open Source
MIT
2,020
install-poetry-action
ryanwersal
TypeScript
Code
59
178
import * as core from "@actions/core"; import { installPoetry } from "./poetry"; import { strToBool } from "./convert"; const run = async () => { try { const poetryVersion = core.getInput("poetry-version", { required: true }); const createVirtualenv = strToBool(core.getInput("create-virtualenv")); const ...
36,118
https://github.com/ClinGen/gene-and-variant-curation-tools/blob/master/gci-vci-react/src/pages/createGeneDisease.js
Github Open Source
Open Source
MIT
2,021
gene-and-variant-curation-tools
ClinGen
JavaScript
Code
1,491
4,988
import React, {useState, useEffect} from 'react'; import { Row, Col, Container, Jumbotron } from "react-bootstrap"; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faPlusCircle, faEdit } from '@fortawesome/free-solid-svg-icons'; import lodashGet from 'lodash/get'; import moment from 'moment';...
37,384
https://github.com/ITenthusiasm/language-tools/blob/master/packages/svelte2tsx/test/svelte2tsx/samples/$store-assign/expected.tsx
Github Open Source
Open Source
MIT
2,021
language-tools
ITenthusiasm
TSX
Code
78
384
///<reference types="svelte" /> <></>;function render() { const store = writable([])/*Ωignore_startΩ*/;let $store = __sveltets_1_store_get(store);/*Ωignore_endΩ*/; ;(__sveltets_1_store_get(store), $store)[1] = true; ;(__sveltets_1_store_get(store), $store).foo = true; ;(__sveltets_1_store_get(store),...
30,950
https://github.com/jmribeiro/PLASTIC-Algorithms/blob/master/agents/networks/DQN.py
Github Open Source
Open Source
Apache-2.0
2,020
PLASTIC-Algorithms
jmribeiro
Python
Code
186
715
import numpy as np from agents.networks.ReplayMemoryModel import ReplayMemoryModel from yaaf.agents.dqn.networks import DeepQNetwork from yaaf.models.feature_extraction import MLPFeatureExtractor class DQN(ReplayMemoryModel): """QNetwork for Pursuit""" def __init__(self, trainable, learning_rate, discount_...
10,679
https://github.com/LeHack/MAX7219_VHDL/blob/master/src/SegmentDisplay/div.vhd
Github Open Source
Open Source
Beerware
2,020
MAX7219_VHDL
LeHack
VHDL
Code
650
1,783
-- megafunction wizard: %LPM_DIVIDE% -- GENERATION: STANDARD -- VERSION: WM1.0 -- MODULE: LPM_DIVIDE -- ============================================================ -- File Name: div.vhd -- Megafunction Name(s): -- LPM_DIVIDE -- -- Simulation Library Files(s): -- lpm -- =========================================...
2,649
https://github.com/Jeswang/Distribution/blob/master/f/firefox-webext-browser/src/main/scala/typings/firefoxWebextBrowser/browser/bookmarks/onChildrenReordered.scala
Github Open Source
Open Source
MIT
2,020
Distribution
Jeswang
Scala
Code
72
223
package typings.firefoxWebextBrowser.browser.bookmarks import org.scalablytyped.runtime.TopLevel import typings.firefoxWebextBrowser.AnonChildIds import typings.firefoxWebextBrowser.WebExtEvent import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ /** * Fired when the children of ...
13,855
https://github.com/Mosseridan/Introduction-to-learning-and-analysis-of-big-data/blob/master/Assignment 3/q3a.m
Github Open Source
Open Source
MIT
2,018
Introduction-to-learning-and-analysis-of-big-data
Mosseridan
MATLAB
Code
55
208
load('mnist_all.mat'); m = 50; d = 784; k=1; [Xtrain,Ytrain,Xtest,Ytest] = gensmallm(train3, train5, test3, test5, m); errs = []; for n = -10:8 lambda = 10 ^ n; alpha = softsvmpoly(lambda,k, m, d, Xtrain, Ytrain); Ytest_predict = sign((1+ Xtest*Xtrain').^k * alpha); errs = [errs [n ; mean(Ytest ~= Y...
7,575
https://github.com/MartinNowak/gfm/blob/master/core/gfm/core/queue.d
Github Open Source
Open Source
Unlicense, LicenseRef-scancode-public-domain
2,015
gfm
MartinNowak
D
Code
1,150
3,239
module gfm.core.queue; import std.range; import core.sync.mutex, core.sync.semaphore; // what to do when capacity is exceeded? private enum OverflowPolicy { GROW, CRASH, DROP } /** Doubly-indexed queue, can be used as a FIFO or stack. Bugs: Doesn't call struct destructors, don't...
9,727
https://github.com/KISHANSHUKLA/mnorah/blob/master/resources/views/home.blade.php
Github Open Source
Open Source
Apache-2.0
null
mnorah
KISHANSHUKLA
PHP
Code
1,428
7,760
@extends('layouts.admin') @section('content') <div class="content-wrapper"> <div class="container-fluid"> <!-- Breadcrumbs--> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="#">Dashboard</a> </li> <li class="breadcrumb-item active">My Dashboard</li> ...
48,056
https://github.com/wyd136688/RXJava_Retrofit/blob/master/app/src/main/java/com/rengwuxian/rxjavasamples/module/token_4/TokenFragment.java
Github Open Source
Open Source
Apache-2.0
null
RXJava_Retrofit
wyd136688
Java
Code
172
895
// (c)2016 Flipboard Inc, All Rights Reserved. package com.rengwuxian.rxjavasamples.module.token_4; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.widget.SwipeRefreshLayout; import android.view.LayoutInflater; import android.view.View; im...
8,519
https://github.com/wattdave/scalation/blob/master/src/scalation/linalgebra/Cholesky.scala
Github Open Source
Open Source
MIT, BSD-3-Clause
2,013
scalation
wattdave
Scala
Code
381
981
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /** @author Sameer Gaherwar, John Miller * @version 1.0 * @date Sun Sep 16 14:09:25 EDT 2012 * @see LICENSE (MIT style license file). */ package scalation.linalgebra import math.sqrt import scalation.util.Error //::::::...
34,888
https://github.com/abgoyal-archive/OT_4010A/blob/master/external/opencore/codecs_v2/audio/aac/dec/src/e_invf_mode.h
Github Open Source
Open Source
MIT, LicenseRef-scancode-other-permissive, Artistic-2.0, LicenseRef-scancode-philippe-de-muyter, Apache-2.0, LicenseRef-scancode-mpeg-iso, LicenseRef-scancode-unknown-license-reference
2,015
OT_4010A
abgoyal-archive
C
Code
17
117
#ifndef E_INVF_MODE_H #define E_INVF_MODE_H #include "pv_audio_type_defs.h" typedef enum { INVF_OFF, INVF_LOW_LEVEL, INVF_MID_LEVEL, INVF_HIGH_LEVEL, INVF_NO_OVERRIDE } INVF_MODE; #endif
27,506
https://github.com/guilhermeblanco/concurrent/blob/master/lib/Doctrine/Concurrent/Duration.php
Github Open Source
Open Source
MIT
2,019
concurrent
guilhermeblanco
PHP
Code
358
769
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS...
45,978
https://github.com/chris-pie/BotlerIsland/blob/master/cogs_reactroletagger.py
Github Open Source
Open Source
MIT
2,021
BotlerIsland
chris-pie
Python
Code
965
3,480
# The ReactRoleTagger cog and all associated commands and data. import os import pickle from datetime import datetime from collections import defaultdict from typing import Union, List, Optional import discord as dc from discord.ext import commands from cogs_textbanks import url_bank, query_bank, response_bank from b...
48,974
https://github.com/albertlouisong/albertlouisong.github.io/blob/master/seasons_of_change_code/EnemyAnimation.cs
Github Open Source
Open Source
MIT
null
albertlouisong.github.io
albertlouisong
C#
Code
55
200
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyAnimation : MonoBehaviour { public EnemyHealthController enemy; public Rigidbody2D myRigidbody2D; private Animator anim; // Use this for initialization void Start() { enemy= GetComponentIn...
32,614
https://github.com/pombredanne/IX-DiscoveryTools/blob/master/autodiscover/plugins/unconstrained_dataflow.py
Github Open Source
Open Source
BSD-3-Clause
2,021
IX-DiscoveryTools
pombredanne
Python
Code
1,292
4,664
#Copyright 2021, Battelle Energy Alliance, LLC ## Logic: # We want to be able to iterate through the entire pcap once (this will allow the speed to be O(n) for any operations we do). # We need to be able to record what ips/port/protocol combinations have already been created/exist in a local manner (I don't trust the s...
35,066
https://github.com/imkoi/steam_multiplayer_investigation/blob/master/Assets/Scripts/Network/NetworkConnectionManager.cs
Github Open Source
Open Source
MIT
null
steam_multiplayer_investigation
imkoi
C#
Code
13
36
using Steamworks; namespace VoxCake.Network { public class NetworkConnectionManager : ConnectionManager { } }
32,169
https://github.com/adview/AdView_SDK_Android/blob/master/src/main/java/com/kuaiyou/video/vast/model/AdParameters.java
Github Open Source
Open Source
BSD-3-Clause
2,020
AdView_SDK_Android
adview
Java
Code
30
79
package com.kuaiyou.video.vast.model; import java.io.Serializable; public class AdParameters implements Serializable { private String text; public void setText(String t) { text = t; } public String getText() { return text; } }
21,346
https://github.com/elena-kolomeets/lowfat/blob/master/lowfat/management/commands/fixoldfunds.py
Github Open Source
Open Source
BSD-3-Clause
2,019
lowfat
elena-kolomeets
Python
Code
160
446
# WARNING Commit 441fc27 will break this script import datetime from django.core.management.base import BaseCommand from lowfat.models import Fund, Expense class Command(BaseCommand): help = "Change funding requests and expenses claims dates imported with loadoldfunds.py to last day of fellowship." def han...
44,801
https://github.com/zahraaliaghazadeh/python/blob/master/Sequences/splitting_things.py
Github Open Source
Open Source
MIT
null
python
zahraaliaghazadeh
Python
Code
145
342
panagram = """The quick brown fox jumps\tover the lazy dog""" words = panagram.split() print(words) numbers = "9,223,372,036,854,775,807" print(numbers.split(",")) generated_list = ['9', ' ', '2', '2', '3', ' ', '3', '7', '2', ' ', '0', '3', '6', ' ', ...
16,423
https://github.com/JanithaMayadunna/ITP-Project/blob/master/database/seeds/DatabaseSeeder.php
Github Open Source
Open Source
MIT
2,020
ITP-Project
JanithaMayadunna
PHP
Code
34
195
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(OccupationSeeder::class); $this->call(RetailCustomerSeeder::class); //$this->call(ColourSee...
8,766
https://github.com/00ec454/Todo/blob/master/app/src/main/java/com/dharmesh/todo/ui/BaseActivity.java
Github Open Source
Open Source
Apache-2.0
2,018
Todo
00ec454
Java
Code
162
637
package com.dharmesh.todo.ui; import android.arch.persistence.room.Room; import android.content.Intent; import android.os.Bundle; import android.support.annotation.StringRes; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import andr...
25,987
https://github.com/SteveSmith16384/TwoWeeksInThePub/blob/master/src/twoweeks/entities/MercEnemyAvatar.java
Github Open Source
Open Source
MIT
2,020
TwoWeeksInThePub
SteveSmith16384
Java
Code
143
559
package twoweeks.entities; import com.jme3.animation.AnimChannel; import com.jme3.animation.AnimControl; import com.jme3.animation.AnimEventListener; import com.scs.stevetech1.entities.AbstractAvatar; import com.scs.stevetech1.entities.AbstractOtherPlayersAvatar; import com.scs.stevetech1.shared.IEntityController; im...
18,084
https://github.com/zhmu/ananas/blob/master/external/gcc-12.1.0/gcc/ada/libgnat/g-forstr.ads
Github Open Source
Open Source
LGPL-2.1-only, FSFAP, LGPL-3.0-only, GPL-3.0-only, GPL-2.0-only, GCC-exception-3.1, LGPL-2.0-or-later, Zlib, LicenseRef-scancode-public-domain
2,022
ananas
zhmu
Ada
Code
1,544
2,937
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
24,888
https://github.com/karimbahgat/postqlite/blob/master/postqlite/geometry/fileformats/text.py
Github Open Source
Open Source
MIT
2,020
postqlite
karimbahgat
Python
Code
389
1,128
import csv import sys import io csv.field_size_limit(sys.maxint) class TextDelimited(object): def __init__(self, filepath, encoding='utf8', encoding_errors='strict', **kwargs): self.filepath = filepath self.encoding = encoding self.encoding_errors = encoding_errors self.kwargs = ...
18,434
https://github.com/MeasureAuthoringTool/fhir-typescript-models/blob/master/src/models/fhir/classes/DiagnosticReportMedia.ts
Github Open Source
Open Source
CC0-1.0
2,021
fhir-typescript-models
MeasureAuthoringTool
TypeScript
Code
172
579
/* eslint-disable import/prefer-default-export, import/no-cycle */ import { BackboneElement, Extension, FhirField, IDiagnosticReportMedia, PrimitiveString, Reference, FhirType } from "../internal"; @FhirType("DiagnosticReportMedia", "BackboneElement") export class DiagnosticReportMedia extends BackboneEl...
42,411
https://github.com/fatman2021/E6510CPU/blob/master/examples/manual/fileio/print.bas
Github Open Source
Open Source
BSD-2-Clause
null
E6510CPU
fatman2021
Visual Basic
Code
49
133
'' examples/manual/fileio/print.bas '' '' NOTICE: This file is part of the FreeBASIC Compiler package and can't '' be included in other distributions without authorization. '' '' See Also: http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgPrintPp '' -------- Open "bleh.dat" For Output As #1 Print #1, "abc...
38,338
https://github.com/xingjilin/moon9/blob/master/src/moon9/render/atlas.hpp
Github Open Source
Open Source
MIT, LicenseRef-scancode-warranty-disclaimer, Zlib
2,015
moon9
xingjilin
C++
Code
2
13
#include "atlas/atlas.hpp"
33,501
https://github.com/lpellis/whoami-gridsome/blob/master/gridsome.config.js
Github Open Source
Open Source
MIT
null
whoami-gridsome
lpellis
JavaScript
Code
292
675
// This is where project configuration and plugin options are located. // Learn more: https://gridsome.org/docs/config // Changes here require a server restart. // To restart press CTRL + C in terminal and run `gridsome develop` module.exports = { siteName: process.env["SITE_NAME"], siteUrl: process.env["SITE_URL...
39,335
https://github.com/HenryJL/PDFView/blob/master/pdfcore/src/main/java/com/render/pdfcore/engine/page/Page.java
Github Open Source
Open Source
Apache-2.0
2,020
PDFView
HenryJL
Java
Code
153
416
package com.render.pdfcore.engine.page; import android.graphics.Bitmap; import androidx.annotation.NonNull; import java.util.Objects; public class Page { private int index; private Bitmap content; private boolean thumbNail; public Page(int index, Bitmap content, boolean thumbNail) { this.in...
397
https://github.com/vikidi/homepages/blob/master/frontend/src/views/GameView/World.js
Github Open Source
Open Source
MIT
null
homepages
vikidi
JavaScript
Code
41
100
import React from 'react' import { useGLTF } from '@react-three/drei' import Controls from './Controls' const World = ({ url }) => { const gltf = useGLTF(url) return ( <> <primitive object={gltf.scene} /> <Controls gltf={gltf} /> </> ) } export default World
24,072
https://github.com/governmentbg/NACID-DOCTORS-TITLES/blob/master/nacid/src/com/nacid/bl/table/TableTester.java
Github Open Source
Open Source
MIT
null
NACID-DOCTORS-TITLES
governmentbg
Java
Code
114
589
package com.nacid.bl.table; import java.util.List; import com.nacid.bl.NacidDataProvider; import com.nacid.bl.impl.NacidDataProviderImpl; import com.nacid.bl.table.impl.FilterCriteria; import com.nacid.bl.users.User; import com.nacid.bl.users.UsersDataProvider; import com.nacid.db.utils.StandAloneDataSource; public ...
7,327
https://github.com/sisbell/appia/blob/master/oulipo-tutorial/src/main/java/irdp/protocols/tutorialDA/trbViewSync/TRBViewSyncSession.java
Github Open Source
Open Source
Apache-2.0
null
appia
sisbell
Java
Code
981
3,068
/* * * Hands-On code of the book Introduction to Reliable Distributed Programming * by Christian Cachin, Rachid Guerraoui and Luis Rodrigues * Copyright (C) 2005-2011 Luis Rodrigues * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * L...
24,577
https://github.com/Rullec/MATH/blob/master/a^2's derivate/main.py
Github Open Source
Open Source
MIT
null
MATH
Rullec
Python
Code
176
483
# 2018/6/21 23:02 in TJU-409 # When i want to prove the Gauss-Lucas theorem in complex analysis, I try to know what the funcion F = a^2 's nth derivate is... # but i have no idea, what i can only do is write a program to display it...in python import numpy as np from math import log def Cal(now): tmp = np.zeros((...
44,668
https://github.com/bellfeige/HealthwayMedical/blob/master/appointment/admin.py
Github Open Source
Open Source
MIT
2,021
HealthwayMedical
bellfeige
Python
Code
14
56
from django.contrib import admin from .models import Clinic, Appointment, MedicalRecord admin.site.register(Appointment) admin.site.register(MedicalRecord) # admin.site.register(SiteSetting)
40,854
https://github.com/rubilnik4/GadzhiResurrected/blob/master/GadzhiDAL/Services/Interfaces/Histories/IHistoryService.cs
Github Open Source
Open Source
MIT
null
GadzhiResurrected
rubilnik4
C#
Code
51
201
using System; using System.Collections.Generic; using System.Threading.Tasks; using GadzhiDTOBase.TransferModels.Histories; namespace GadzhiDAL.Services.Interfaces.Histories { /// <summary> /// Сервис получения истории конвертирования /// </summary> public interface IHistoryService { /// <...
45,003
https://github.com/JuDFTteam/JuKKR/blob/master/source/KKRimp/type_gauntcoeff.f90
Github Open Source
Open Source
MIT
2,022
JuKKR
JuDFTteam
Fortran Free Form
Code
168
422
!------------------------------------------------------------------------------------ !> Summary: Gaunt coefficient type !> Author: !> Category: KKRimp, special-functions !> Deprecated: False !> Contains various informations about the gauntcoefficients $C_{LL'}^{L''}$. !> @note The gaunt coefficient are constructed f...
19,690
https://github.com/xu5343/ffmpegtoolkit_CentOS7/blob/master/gpac-0.7.1/shaders/vertex.glsl
Github Open Source
Open Source
Apache-2.0
null
ffmpegtoolkit_CentOS7
xu5343
GLSL
Code
431
1,523
/** * Shader implementing: Clipping, Texturing (RGB and YUV), Lighting, Fog **/ //version defined first, at shader compilation #if defined(GL_ES) #if defined(GL_FRAGMENT_PRECISION_HIGH) precision highp float; //ES2.0 supporting highp #else precision mediump float; //Default #endif #endif //#pragma STDGL invariant(...
10,438
https://github.com/jadapache/Sortware/blob/master/app/Models/User.php
Github Open Source
Open Source
MIT
null
Sortware
jadapache
PHP
Code
200
675
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laravel\Fortify\TwoFactorAuthenticatable; use Laravel\Jetstream\HasProfilePhoto; use La...
14,935
https://github.com/JasonLandbridge/TARM-The-Awesome-Resource-Monitor/blob/master/data.ts
Github Open Source
Open Source
MIT
null
TARM-The-Awesome-Resource-Monitor
JasonLandbridge
TypeScript
Code
285
1,242
import { Data } from 'typed-factorio/data/types'; import { Events, General, Paths } from 'constants'; import { Entity } from './constants'; import Graphics from './constants/graphics'; import applyStyles from './prototypes/style'; declare const data: Data; data.extend([ { type: 'custom-input', name: Events.Toggle_...
32,982
https://github.com/diopisemou/hackhub-backend/blob/master/src/Webapp/ProjectBundle/Resources/views/Default/index.html.twig
Github Open Source
Open Source
MIT
null
hackhub-backend
diopisemou
Twig
Code
753
3,204
{% extends 'default/index.html.twig' %} {% block body %} <!--Change the background class to alter background image, options are: benches, boots, buildings, city, metro --> <div id="background-wrapper" class="buildings" data-stellar-background-ratio="0.1"> <!-- ======== @Region: #navigation ======== --> ...
23,059
https://github.com/robotology/wearables/blob/master/.gitignore
Github Open Source
Open Source
BSD-3-Clause
2,023
wearables
robotology
Ignore List
Code
10
41
build/ build*/ install/ CMakeLists.txt.* .DS_Store *.bak *.orig *.autosave *.original *.*~
36,776
https://github.com/mdemoret/Snapshot/blob/master/ion/gfx/tests/shaderprogram_test.cc
Github Open Source
Open Source
Apache-2.0
null
Snapshot
mdemoret
C++
Code
453
1,816
/** Copyright 2016 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
14,277
https://github.com/davideveloper-alfa/training-database/blob/master/demo-app/Veterinariav01/VeterinariaV01/VeterinariaEL/MascotaEL.cs
Github Open Source
Open Source
Apache-2.0
2,020
training-database
davideveloper-alfa
C#
Code
69
163
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VeterinariaEL { public class MascotaEL { public int MascotaId { get; set; } public string Nombre { get; set; } public int Edad { get; set; } public int ...
14,515
https://github.com/rajesh-ibm-power/jetty-reactive-httpclient/blob/master/src/main/java/org/eclipse/jetty/reactive/client/internal/PublisherContent.java
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,022
jetty-reactive-httpclient
rajesh-ibm-power
Java
Code
170
396
/* * Copyright (c) 2017-2021 the original author or authors. * * 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...
9,781
https://github.com/MegEngine/cutlass/blob/master/include/cutlass/quaternion.h
Github Open Source
Open Source
BSD-3-Clause
2,022
cutlass
MegEngine
C
Code
2,094
5,610
/*************************************************************************************************** * Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without *modification, are permitted provided that the following conditions are met...
37,260