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/bkavuncu/GDO/blob/master/GDO.Apps.YoutubeWall/Web/YoutubeWall/App.cshtml
Github Open Source
Open Source
MIT
null
GDO
bkavuncu
C#
Code
175
711
@{ Layout = null; } <!DOCTYPE html> <html style="overflow: hidden"> <head> <meta name="viewport" content="width=device-width" /> <title></title> <style> body { background: #000; color: #FFF; font-family: helvetica; font-size: 70%; } ...
45,140
https://github.com/AprilHzy/miniprogram/blob/master/weiphp/application/sing_in/config.php
Github Open Source
Open Source
Apache-2.0, MIT
2,019
miniprogram
AprilHzy
PHP
Code
318
1,797
<?php return array( 'random' => array( // 配置在表单中的键名 ,这个会是config[random] 'title' => '签到积分模式:', // 表单的文字 'type' => 'radio', // 表单的类型:text、textarea、checkbox、radio、select等 'options' => array( // select 和radion、checkbox的子选项 '1' => '固定积分', // 值=>文字 '0' => '随机积分' ), ...
4,401
https://github.com/pearpai/java_action/blob/master/src/main/java/com/action/view/design/principle/openclose/JavaDiscountCourse.java
Github Open Source
Open Source
Apache-2.0
2,020
java_action
pearpai
Java
Code
55
154
package com.action.view.design.principle.openclose; /** * @Description TODO * @Author wuyunfeng * @Date 2020-05-21 20:45 * @Version 1.0 */ public class JavaDiscountCourse extends JavaCourse { public JavaDiscountCourse(Integer id, String name, Double price) { super(id, name, price); } // pub...
40,538
https://github.com/hpi-swa-teaching/MarkdownEditor/blob/master/packages/MarkdownEditor-Tests.package/MarkdownEditorMenuTest.class/instance/testFencedCodeBlock.st
Github Open Source
Open Source
MIT
2,021
MarkdownEditor
hpi-swa-teaching
null
Spoken
41
105
tests - inline styling testFencedCodeBlock | content | content := 'first line', Character cr, 'second line'. editor pluggableTextMorph changeText: content asText. editor pluggableTextMorph selectAll. editor markdownMenu applyFencedCodeBlock. self assert: ('```', Character cr, content, Character cr, '```') asTe...
44,157
https://github.com/GsDevKit/Cryptography/blob/master/repository/Cryptography-MSCerts.package/MSCertificate.class/class/ALG_SID_CYLINK_MEK.st
Github Open Source
Open Source
MIT
2,015
Cryptography
GsDevKit
null
Spoken
3
21
algSymbols ALG_SID_CYLINK_MEK ^12
51,163
https://github.com/s-guillaume/nuxeo-web-ui/blob/master/packages/nuxeo-web-ui-ftest/pages/ui/browser.js
Github Open Source
Open Source
Apache-2.0
null
nuxeo-web-ui
s-guillaume
JavaScript
Code
1,000
3,734
import BasePage from '../base'; import DocumentPage from './browser/document_page'; import CollapsibleDocumentPage from './browser/collapsible_document_page'; import AddToCollectionDialog from './browser/add_to_collection_dialog'; import PublicationDialog from './browser/publication_dialog'; import DocumentPermissions ...
23,723
https://github.com/DaudSamim/crypto_fighter/blob/master/resources/views/layout/partials/sidebar.blade.php
Github Open Source
Open Source
MIT
null
crypto_fighter
DaudSamim
PHP
Code
64
304
<style> .sidebar .sidebar-header{ width: 320px ; } .sidebar{ width: 320px ; } .page-content{ padding: 25px 25px 25px 101px !important; } </style> <nav class="sidebar"> <div class="sidebar-header"> <a href="/home" class="sidebar-brand" style="font-size:18px"> Cryto<span> Fighter...
47,414
https://github.com/hantrungkien/android-clean-architecture-components-boilerplate/blob/master/cache/src/main/java/com/kienht/cache/database/constants/DBConstants.java
Github Open Source
Open Source
Apache-2.0
2,020
android-clean-architecture-components-boilerplate
hantrungkien
Java
Code
52
137
package com.kienht.cache.database.constants; /** * Note: * Created by kienht on 5/2/18. */ public class DBConstants { public static final int DATABASE_VERSION = 1; public static final String DATABASE_NAME = "RoomDemo"; public interface Employee { String TABLE_NAME = "Employee"; String ...
22,021
https://github.com/Kenstogram/opensale/blob/master/saleor/dashboard/templatetags/utils.py
Github Open Source
Open Source
BSD-3-Clause
2,020
opensale
Kenstogram
Python
Code
421
1,568
from json import dumps from urllib.parse import urlencode from django import forms from django.template import Library from django.templatetags.static import static from django_filters.fields import RangeField from versatileimagefield.widgets import VersatileImagePPOIClickWidget from ...product.utils.costs import ( ...
34,681
https://github.com/mamh-mixed/merico-dev-lake/blob/master/plugins/jenkins/tasks/build_collector.go
Github Open Source
Open Source
Apache-2.0
null
merico-dev-lake
mamh-mixed
Go
Code
294
925
/* 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 may not use this fi...
15,437
https://github.com/dschmitz/s99/blob/master/src/main/scala/io/uport/s99/P49.scala
Github Open Source
Open Source
Apache-2.0
null
s99
dschmitz
Scala
Code
192
331
/* * Copyright 2017 David Schmitz * * 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 t...
22,850
https://github.com/yamilesquivel/glowing-guacamole-nodejs-express/blob/master/red-bicicletas/controllers/api/bicicletaControllerAPI.js
Github Open Source
Open Source
MIT
null
glowing-guacamole-nodejs-express
yamilesquivel
JavaScript
Code
42
232
/* *https://github.com/yamilesquivel */ var Bicicleta = require('../../models/bicicleta'); exports.bicicleta_list = function(req,res){ res.status(200).json({bicicletas: Bicicleta.allBicis }); } exports.bicicleta_create = function(req,res){ var bici= new Bicicleta(req.body.id , req.body.color , req.body.modelo); bi...
7,458
https://github.com/Southclaws/restic-robot/blob/master/argparse.go
Github Open Source
Open Source
MIT
2,023
restic-robot
Southclaws
Go
Code
240
533
package main import "strings" // parseArg parses restic arguments and splits them by spaces or quoted parts func parseArg(arg string) []string { // res is the assembled result var res []string // sb is assembling the current argument sb := strings.Builder{} // isEscaped is true if the previous character was a ba...
994
https://github.com/chrismlee26/makeschool/blob/master/labs/rails-top-tracks-api/vendor/bundle/ruby/2.5.0/gems/archive-zip-0.11.0/spec/zlib/zwriter/close_spec.rb
Github Open Source
Open Source
MIT
2,021
makeschool
chrismlee26
Ruby
Code
28
122
# encoding: UTF-8 require 'minitest/autorun' require File.expand_path('../../fixtures/classes', __FILE__) require 'archive/support/zlib' require 'archive/support/binary_stringio' describe "Zlib::ZWriter.close" do it "closes the stream" do zw = Zlib::ZWriter.new(BinaryStringIO.new) zw.close zw.closed?....
20,014
https://github.com/satyadevchauhan/Programmatically/blob/master/Programmatically/Extensions/String+.swift
Github Open Source
Open Source
MIT
null
Programmatically
satyadevchauhan
Swift
Code
71
157
// // String+.swift // Programmatically // // Created by Satyadev Chauhan on 22/08/20. // Copyright © 2020 Satyadev Chauhan. All rights reserved. // import Foundation extension String { /// Localized value of String var localized: String { return NSLocalizedString(self, comment: "") } ...
34,499
https://github.com/gicrisf/Twitter-API-v2-sample-code/blob/master/Tweet-Lookup/get_tweets_with_bearer_token.el
Github Open Source
Open Source
Apache-2.0
null
Twitter-API-v2-sample-code
gicrisf
null
Spoken
256
734
;;; get_tweets_with_bearer_token.el --- Description -*- lexical-binding: t; -*- ;; ;; Copyright (C) 2022 gicrisf ;; ;; Author: gicrisf <giovanni.crisalfi@protonmail.com> ;; Maintainer: gicrisf <giovanni.crisalfi@protonmail.com> ;; Created: march 17, 2022 ;; Modified: march 17, 2022 ;; Version: 1.0.0 ;; Keywords: data ;...
47,622
https://github.com/sammko/Everest/blob/master/GhostMod/Ghost.cs
Github Open Source
Open Source
MIT
2,018
Everest
sammko
C#
Code
390
1,213
using FMOD.Studio; using Microsoft.Xna.Framework; using Monocle; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using YamlDotNet.Serialization; namespace Celeste.Mod.Ghost { public class Ghost : Actor { public ...
34,926
https://github.com/wkqun555/OCRTOC_GINS_Simulation-Part/blob/master/ocrtoc_solution/scripts/quaternion.py
Github Open Source
Open Source
BSD-2-Clause
2,020
OCRTOC_GINS_Simulation-Part
wkqun555
Python
Code
1,130
3,399
import numpy as np import math eijk = np.zeros((3, 3, 3)) eijk[0, 1, 2] = eijk[1, 2, 0] = eijk[2, 0, 1] = -1 eijk[0, 2, 1] = eijk[2, 1, 0] = eijk[1, 0, 2] = 1 def dquat_to_w_jac(q): """ LAYOUT : [X, Y, Z, W] :param q: :return: """ return np.array([[ q[3], q[2], -q[1]], [-q[2], q[3], q[0]], [ q[1...
27,111
https://github.com/python-gui-application/AwesomeTkinter/blob/master/awesometkinter/text.py
Github Open Source
Open Source
MIT
2,022
AwesomeTkinter
python-gui-application
Python
Code
479
1,557
""" AwesomeTkinter, a new tkinter widgets design using custom styles and images :copyright: (c) 2020 by Mahmoud Elshahat. """ import tkinter as tk from tkinter import ttk from .utils import * from .scrollbar import SimpleScrollbar class ScrolledText(tk.Text): """Scrolled multiline entry good for log ou...
20,558
https://github.com/akrabat/expressive-bookshelf/blob/master/config/.gitignore
Github Open Source
Open Source
MIT
2,017
expressive-bookshelf
akrabat
Ignore List
Code
4
24
development.config.php phpunit.xml vendor/ data/config-cache.php
50,561
https://github.com/HEOMEAN/Elastos/blob/master/UnionSquare.iOS/ELA/found/ViewController/HMWfoundViewController.mm
Github Open Source
Open Source
MIT
2,020
Elastos
HEOMEAN
Objective-C++
Code
375
2,107
// // HMWfoundViewController.m // ELA // // Created by on 2019/1/5. // Copyright © 2019 HMW. All rights reserved. // #import "HMWfoundViewController.h" #import "FLSelectSuperPointVC.h" #import "HMWtheSuperNodeElectionViewController.h" #import "ELWalletManager.h" #import "IMainchainSubWallet.h" #import "HMWtheSupe...
20,199
https://github.com/Shelim/pixie_engine/blob/master/_engine/code/include/global/core/app/context.hpp
Github Open Source
Open Source
MIT
null
pixie_engine
Shelim
C++
Code
73
306
#ifndef ENGINE_GLOBAL_CORE_APP_CONTEXT_HPP #define ENGINE_GLOBAL_CORE_APP_CONTEXT_HPP #pragma once #include "utility/text/ustring.hpp" #include "utility/platform/args.hpp" #include <functional> namespace engine { class instance_id_t {}; extern instance_id_t instance_id; class program_t; class app_...
8,603
https://github.com/ess-dmsc/event-formation-unit/blob/master/src/common/readout/vmm3/test/VMM3CalibrationTest.cpp
Github Open Source
Open Source
BSD-2-Clause, BSD-3-Clause
2,023
event-formation-unit
ess-dmsc
C++
Code
225
969
// Copyright (C) 2021 European Spallation Source, ERIC. See LICENSE file //===----------------------------------------------------------------------===// /// /// \file /// /// \brief Unit tests for VMM3Calibration /// //===----------------------------------------------------------------------===// #include <common/rea...
32,760
https://github.com/saby/ios-sabycom/blob/master/ios-sabycom-demo/Sources/ui/configuration/ConfigurationInteractor.swift
Github Open Source
Open Source
MIT
null
ios-sabycom
saby
Swift
Code
120
453
// // ConfigurationInteractor.swift // ios-sabycom-demo // // Created by Sergey Iskhakov on 07.10.2021. // Copyright © 2021 Tensor. All rights reserved. // import Foundation import Sabycom class ConfigurationInteractor { private let userStorage: UserStorage private let configurationService: Configura...
1,965
https://github.com/moru9/amazon-chime-sdk-smart-video-sending-demo/blob/master/src/components/Base.tsx
Github Open Source
Open Source
Apache-2.0
2,021
amazon-chime-sdk-smart-video-sending-demo
moru9
TSX
Code
60
135
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import { SpaceProps } from 'styled-system'; import { space } from 'styled-system'; export interface BaseProps extends SpaceProps { tag?: any; css?: string; className?: string; } export const baseStyles ...
27,531
https://github.com/legomushroom/property-curves/blob/master/node_modules/gulp-notify/index.js
Github Open Source
Open Source
MIT
2,015
property-curves
legomushroom
JavaScript
Code
409
1,037
var through = require("through2"), gutil = require("gulp-util"), template = require("lodash.template"), notifier = require("node-notifier"); "use strict"; var plugin = module.exports = function (options) { options = options || {}; var templateOptions = options.templateOptions || {}; var reporter =...
19,551
https://github.com/KaloqnILchev/ProFund_Lab_And_Exercises/blob/master/Exercises/E01.IntroAndBasicSyntax/E01.IntroAndBasicSyntax/P03.MilesToKilometers/StartUp.cs
Github Open Source
Open Source
MIT
null
ProFund_Lab_And_Exercises
KaloqnILchev
C#
Code
34
115
namespace P03.MilesToKilometers { using System; public class StartUp { public static void Main(string[] args) { double miles = double.Parse(Console.ReadLine()); double oneMileToKilometer = 1.60934; double kilometers = miles * oneMileToKilometer; ...
26,398
https://github.com/niden/cardoe/blob/master/tests/unit/Collection/ReadCollection/ConstructCest.php
Github Open Source
Open Source
MIT
2,020
cardoe
niden
PHP
Code
85
246
<?php /** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ declare(strict_types=1); namespace Phalcon\Test\Unit\Collection\ReadOnly; use Ph...
4,505
https://github.com/tonyredondo/TWCore2/blob/master/src/TWCore/Settings/SettingsEngine.cs
Github Open Source
Open Source
Apache-2.0
2,021
TWCore2
tonyredondo
C#
Code
479
1,609
/* Copyright 2015-2018 Daniel Adrian Redondo Suarez 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 i...
45,699
https://github.com/projectomakase/omakase/blob/master/omakase/src/it/java/org/projectomakase/omakase/broker/WorkerV1RestIT.java
Github Open Source
Open Source
Apache-2.0, GPL-2.0-only, LicenseRef-scancode-public-domain, WTFPL, CDDL-1.0, MIT, LicenseRef-scancode-warranty-disclaimer, LGPL-2.0-or-later, GPL-3.0-only, LGPL-2.1-or-later, EPL-1.0, BSD-3-Clause, Classpath-exception-2.0, LicenseRef-scancode-unknown-license-reference, CPL-1.0
2,015
omakase
projectomakase
Java
Code
1,376
5,912
/* * #%L * omakase * %% * Copyright (C) 2015 Project Omakase LLC * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
28,706
https://github.com/ttm-tt/veterans/blob/master/plugins/Shop/templates/Shops/payment_selection.php
Github Open Source
Open Source
MIT
null
veterans
ttm-tt
PHP
Code
189
707
<div class="order review form"> <?php echo $this->Wizard->create(null);?> <?php echo $this->element('shop_header'); ?> <h2><?php echo __d('user', 'Select Payment Method');?></h2> <?php $options = array(); echo '<div class="hint">'; if ($shopSettings['banktransfer']) { echo '<h4>' . __d('user', 'Bank Transf...
18,311
https://github.com/carlabguillen/spack/blob/master/var/spack/repos/builtin/packages/ocl-icd/package.py
Github Open Source
Open Source
ECL-2.0, Apache-2.0, MIT-0, MIT
2,020
spack
carlabguillen
Python
Code
82
760
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class OclIcd(AutotoolsPackage): """This package aims at creating an Open Source alternative to v...
51,546
https://github.com/Mewral/Leetcodes/blob/master/NNLM.py
Github Open Source
Open Source
Apache-2.0
null
Leetcodes
Mewral
Python
Code
172
725
from torch import nn import torch class NNLM: def __init__(self): self.c = nn.Embedding(n_class, m) self.H = nn.Linear(n_step*m, n_hidden, bias=False) if __name__ == '__main__': n_step = 2 n_hidden = 2 m = 2 nn.Parameter torch.eye() a = nn.Embedding(11, 3) t = tor...
6,587
https://github.com/jphalip/djangocore-box/blob/master/provisioning/chef/memcached/Gemfile
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,016
djangocore-box
jphalip
Ruby
Code
7
37
source :rubygems gem 'test-kitchen', :git => 'git@github.com:opscode/test-kitchen.git'
22,592
https://github.com/SimplyUnnamed/esitest/blob/master/app/Models/Pathwire/Connection.php
Github Open Source
Open Source
MIT
null
esitest
SimplyUnnamed
PHP
Code
58
227
<?php namespace App\Models\Pathwire; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Connection extends Model { protected $table = 'connections'; protected $fillable = ['type', 'origin', 'destination', 'created_by', 'updated_by']; public function fr...
13,310
https://github.com/error-404-unlam/jrpg-2017b-cliente-UNI/blob/master/src/main/java/edu/unlam/wome/comandos/Registro.java
Github Open Source
Open Source
MIT
null
jrpg-2017b-cliente-UNI
error-404-unlam
Java
Code
114
439
package edu.unlam.wome.comandos; import javax.swing.JOptionPane; import edu.unlam.wome.frames.MenuCreacionPj; import edu.unlam.wome.mensajeria.Paquete; /** * Clase Registro: Encargada de registrar al usuario. * @author Miguel */ public class Registro extends ComandosCliente { @Override public void ejecutar() {...
7,397
https://github.com/nashif/zephyr/blob/master/tests/bluetooth/df/src/radio_df_stub.c
Github Open Source
Open Source
Apache-2.0
2,021
zephyr
nashif
C
Code
88
388
/* * Copyright (c) 2021 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #include <stdint.h> /* Stub functitons that does nothing. Just to avoid liker complains. */ void radio_df_ant_configure(void) { } uint8_t radio_df_ant_num_get(void) { return 0; } void radio_df_cte_inline_set(uint8_t ena...
41,022
https://github.com/musikiqbal/PemWeb/blob/master/FinalProject/index.php
Github Open Source
Open Source
MIT
2,020
PemWeb
musikiqbal
Hack
Code
145
720
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>index</title> <!-- Bootstrap Core CSS --> <link href="vendor/bootstrap/css/b...
7,105
https://github.com/haouazied/react-native-star-rating-view/blob/master/Demo/StarRatingViewDemo/Demo.js
Github Open Source
Open Source
MIT
2,021
react-native-star-rating-view
haouazied
JavaScript
Code
24
60
/** * Created by GJS on 2017/3/23. */ import SimpleDemo from './SimpleDemo' // import StarRatingTesting from './FlatListDemo' export default SimpleDemo; // export default StarRatingTesting;
11,109
https://github.com/DarrenMa/eth2-docker/blob/master/unused-scripts/start-prysm-beacon-extip.sh
Github Open Source
Open Source
MIT
2,020
eth2-docker
DarrenMa
Shell
Code
19
45
#!/bin/bash ClientIP=$(curl -s v4.ident.me) # This will be passed arguments that start the beacon and reference $ClientIP eval $@
22,445
https://github.com/cekees/proteus/blob/master/proteus/tests/CLSVOF/with_RANS2P/ls_consrv_p.py
Github Open Source
Open Source
MIT
2,023
proteus
cekees
Python
Code
52
275
from __future__ import absolute_import from builtins import object from proteus.default_p import * from proteus.mprans import MCorr from .multiphase import * LevelModelType = MCorr.LevelModel coefficients = MCorr.Coefficients(LSModel_index=int(movingDomain)+2, V_model=int(movingDomain...
26,768
https://github.com/tphx/StreamChatSharp/blob/master/StreamChatSharp/StreamChatSharp/ChatChannel.cs
Github Open Source
Open Source
MIT
2,018
StreamChatSharp
tphx
C#
Code
330
948
using System; using System.Collections.Concurrent; namespace Tphx.StreamChatSharp { /// <summary> /// Data for a chat channel. /// </summary> public class ChatChannel { /// <summary> /// Constructs a new chat channel. /// </summary> /// <param name="channelName">Nam...
39,264
https://github.com/kateinoigakukun/wasminspect-client/blob/master/webpack.config.js
Github Open Source
Open Source
MIT
2,021
wasminspect-client
kateinoigakukun
JavaScript
Code
75
319
const webpack = require("webpack") const path = require("path"); module.exports = { entry: "./src/index.ts", mode: "development", node: false, output: { path: path.resolve(__dirname, "web-dist"), libraryTarget: "umd", filename: "web.js", }, module: { rules: [ ...
44,195
https://github.com/Pier-CMS/Pier3/blob/master/repository/JQuery-Tests-Core/JQFunctionalTest.class.st
Github Open Source
Open Source
MIT
2,022
Pier3
Pier-CMS
null
Spoken
121
300
Class { #name : #JQFunctionalTest, #superclass : #WAComponent, #category : #'JQuery-Tests-Core-Functional' } { #category : #rendering } JQFunctionalTest >> renderReadmeOn: html [ self url isNil ifTrue: [ ^ self ]. html paragraph: [ html text: 'For additional documentation and examples please visit the official ...
39,616
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-snowflake-bundle/nifi-snowflake-processors/src/test/java/org/apache/nifi/processors/snowflake/SnowflakeConfigAware.java
Github Open Source
Open Source
CC0-1.0, Apache-2.0, MIT, LicenseRef-scancode-unknown
2,023
nifi
apache
Java
Code
309
1,359
/* * 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 may ...
13,444
https://github.com/alisw/AliRoot/blob/master/HIJING/hijing1_36/ftotrig.F
Github Open Source
Open Source
2,023
AliRoot
alisw
null
Spoken
13
85
* $Id$ C C C FUNCTION FTOTRIG(X) #include "hiparnt.inc" OMG=OMG0(X)*HINT1(60)/HIPR1(31)/2.0 FTOTRIG=1.0-EXP(-2.0*OMG) RETURN END
42,290
https://github.com/NicKAnderson038/ReactIconBuilder/blob/master/gh-pages.sh
Github Open Source
Open Source
MIT
null
ReactIconBuilder
NicKAnderson038
Shell
Code
200
560
STR="$(echo `jq '.scripts.build' package.json`)" SUB='react' account="$(git config --get remote.origin.url | sed 's:.*//github.com/::' | cut -f1 -d"/")" publicPath="$(git config --get remote.origin.url | sed 's:.*/::' | cut -f1 -d".")" url="https://""$account"".github.io/""$publicPath""/" echo "📦 Building application...
51,709
https://github.com/fwenqiang/jfinal-admin/blob/master/src/main/java/com/supyuan/component/controller/PersonFileLimit.java
Github Open Source
Open Source
MIT
2,020
jfinal-admin
fwenqiang
Java
Code
298
1,015
package com.supyuan.component.controller; import java.util.concurrent.atomic.AtomicLong; import com.supyuan.util.DateUtils; import com.supyuan.util.StrUtils; public class PersonFileLimit { public static final int nowHourMaxCount = 50; public static final int nowDayMaxCount = 200; public static final String OK =...
27,829
https://github.com/tcrct/openAGV/blob/master/robot/src/main/java/com/robot/mvc/handlers/TaskHandler.java
Github Open Source
Open Source
Apache-2.0
2,021
openAGV
tcrct
Java
Code
288
1,297
package com.robot.mvc.handlers; import cn.hutool.core.util.ReflectUtil; import cn.hutool.http.HttpStatus; import cn.hutool.log.Log; import cn.hutool.log.LogFactory; import com.robot.mvc.core.exceptions.ExceptionEnums; import com.robot.mvc.core.exceptions.RobotException; import com.robot.mvc.core.interfaces.IRequest; i...
47,883
https://github.com/Varlok009/tabletop-games-bboard/blob/master/webapp/user/views.py
Github Open Source
Open Source
MIT
null
tabletop-games-bboard
Varlok009
Python
Code
379
1,890
from werkzeug.security import generate_password_hash from flask import Blueprint, current_app, redirect, render_template, flash, url_for from flask_login import current_user, login_user, logout_user, login_required from webapp.user.forms import LoginForm, RegistrationForm, ProfileForm, AvatarForm from webapp.meeting.fo...
42,426
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/a/applicationinsights/src/main/scala/typingsSlinky/applicationinsights/applicationinsightsMod/Contracts/DataPoint.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
23
116
package typingsSlinky.applicationinsights.applicationinsightsMod.Contracts import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ /** * Metric data single measurement. */ @JSImport("applicationinsights", "Contracts.DataPoint") @js.native class DataPoint () extends typingsSlinky...
3,159
https://github.com/bonskijr/CodeTest/blob/master/Harness/Web/Scripts/app.js
Github Open Source
Open Source
Apache-2.0
2,013
CodeTest
bonskijr
JavaScript
Code
68
236
$(function () { $("#patternStringTextBox").on("keyup", function (evtobj) { if (!(evtobj.altKey || evtobj.ctrlKey || evtobj.shiftKey)) { if ((evtobj.keyCode == 16) || (evtobj.keyCode == 17) || (evtobj.keyCode == 17)) evtobj.preventDefault(); }; var _theString = $(...
46,001
https://github.com/kunorz/KunMusic/blob/master/src/com/KUNorz/music/PlayLayout.java
Github Open Source
Open Source
MIT
null
KunMusic
kunorz
Java
Code
268
1,581
package com.KUNorz.music; import android.widget.*; import android.content.*; import java.util.jar.*; import android.util.*; import android.view.*; import com.KUNorz.music.PlayLayout.*; public class PlayLayout extends RelativeLayout { private Button mstartb=null; private Button mnextb=null; private TextView tittle=n...
7,824
https://github.com/sofwerx/OSUS-R/blob/master/mil.dod.th.ose.gui.webapp/WebContent/resources/scripts/push/pages/advanced/pushEventPowerMessages.js
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-unknown-license-reference
2,018
OSUS-R
sofwerx
JavaScript
Code
160
263
//============================================================================== // This software is part of the Open Standard for Unattended Sensors (OSUS) // reference implementation (OSUS-R). // // To the extent possible under law, the author(s) have dedicated all copyright // and related and neighboring rights to t...
9,200
https://github.com/qarawlus/dbbahnhoflive-android/blob/master/modules/core/src/main/java/de/deutschebahn/bahnhoflive/backend/wagenstand/favendo/model/LegacyWaggon.java
Github Open Source
Open Source
Apache-2.0
2,021
dbbahnhoflive-android
qarawlus
Java
Code
898
2,973
/* * SPDX-FileCopyrightText: 2020 DB Station&Service AG <bahnhoflive-opensource@deutschebahn.com> * * SPDX-License-Identifier: Apache-2.0 */ package de.deutschebahn.bahnhoflive.backend.wagenstand.favendo.model; import android.graphics.Color; import android.text.TextUtils; import androidx.annotation.ColorInt; im...
1,499
https://github.com/tliu68/progressive-learning/blob/master/experiments/xor_nxor_exp/control_exp.py
Github Open Source
Open Source
Apache-2.0
2,020
progressive-learning
tliu68
Python
Code
427
2,023
#%% import random import matplotlib.pyplot as plt import tensorflow as tf import tensorflow.keras as keras import numpy as np import pickle from sklearn.model_selection import StratifiedKFold from math import log2, ceil import sys sys.path.append("../../src/") from lifelong_dnn import LifeLongDNN from joblib import...
47,054
https://github.com/hiyelbaz/monaco-editor-auto-typings/blob/master/packages/demo/src/index.ts
Github Open Source
Open Source
MIT
2,021
monaco-editor-auto-typings
hiyelbaz
TypeScript
Code
129
444
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; import { AutoTypings, LocalStorageCache } from 'monaco-editor-auto-typings'; import { editorContents } from './editorContents'; import './style.css'; const editor = monaco.editor.create(document.getElementById('editor-mountpoint')!, { model: monaco.e...
34,312
https://github.com/suihan74/Satena/blob/master/app/src/main/java/com/suihan74/satena/scenes/bookmarks/information/EntryInformationViewModel.kt
Github Open Source
Open Source
MIT
2,023
Satena
suihan74
Kotlin
Code
336
1,684
package com.suihan74.satena.scenes.bookmarks.information import android.content.Context import android.content.Intent import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.LiveData import androidx.lifecycle.ViewModel import...
47,578
https://github.com/christianledgard/proyecto-DB2/blob/master/Testing/SequentialFile_modified/SequentialFile.h
Github Open Source
Open Source
MIT
2,021
proyecto-DB2
christianledgard
C
Code
1,342
4,652
#ifndef SEQUENTIAL_FILE_H #define SEQUENTIAL_FILE_H #include <vector> #include <string> #include <fstream> int totalDiskAccess = 0; template <typename RecordType> class SequentialFile { public: typedef typename RecordType::KeyType KeyType; private: std::string inputFileName; std::string sequentialFile...
5,007
https://github.com/dwp/kafka-to-hbase/blob/master/.gitignore
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license
2,023
kafka-to-hbase
dwp
Ignore List
Code
13
64
/build /.idea /.gradle /.kotlintest gradle/wrapper/* gradlew gradlew.bat .DS_Store out/ .gitsecret/keys/random_seed !*.secret venv/ rad/
22,331
https://github.com/tonpood/GCMS/blob/master/modules/video/models/index.php
Github Open Source
Open Source
MIT
null
GCMS
tonpood
PHP
Code
134
531
<?php /** * @filesource video/models/index.php * @link http://www.kotchasan.com/ * @copyright 2016 Goragod.com * @license http://www.kotchasan.com/license/ */ namespace Video\Index; use \Kotchasan\Http\Request; /** * อ่านข้อมูลโมดูล * * @author Goragod Wiriya <admin@goragod.com> * * @since 1.0 */ class Mo...
34,516
https://github.com/SchapplM/robsynth-serroblib/blob/master/mdl_6dof/S6RPRPRP1/hd/S6RPRPRP1_jacobia_rot_sym_varpar.m
Github Open Source
Open Source
MIT
2,022
robsynth-serroblib
SchapplM
MATLAB
Code
1,156
3,275
% Rotatorische Teilmatrix der analytischen Jacobi-Matrix für beliebiges Segment von % S6RPRPRP1 % Use Code from Maple symbolic Code Generation % % analytische Jacobi-Matrix: Differentieller Zusammenhang zwischen % Endeffektorposition und verallgemeinerten Koordinaten. % Zeitableitung der Winkeldarstellung des Endeffek...
18,910
https://github.com/mikiec84/Tuktu/blob/master/app/tuktu/processors/time/TimestampAdderProcessor.scala
Github Open Source
Open Source
Apache-2.0
2,021
Tuktu
mikiec84
Scala
Code
97
278
package tuktu.processors.time import play.api.libs.iteratee.Enumeratee import play.api.libs.json.JsObject import tuktu.api._ import scala.concurrent.Future import java.text.SimpleDateFormat import scala.concurrent.ExecutionContext.Implicits.global /** * Adds a simple timestamp to the data packet */ class TimestampA...
11,886
https://github.com/pulumi/pulumi-azure/blob/master/sdk/java/src/main/java/com/pulumi/azure/redis/EnterpriseCluster.java
Github Open Source
Open Source
BSD-3-Clause, MPL-2.0, Apache-2.0
2,023
pulumi-azure
pulumi
Java
Code
1,055
2,749
// *** WARNING: this file was generated by pulumi-java-gen. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** package com.pulumi.azure.redis; import com.pulumi.azure.Utilities; import com.pulumi.azure.redis.EnterpriseClusterArgs; import com.pulumi.azure.redis.inputs.EnterpriseClust...
9,928
https://github.com/jt120/connection-pool/blob/master/src/main/java/com/jt/c3p0/App.java
Github Open Source
Open Source
Apache-2.0
2,014
connection-pool
jt120
Java
Code
22
48
package com.jt.c3p0; /** * @author Liu Ze * * Create Date Mar 24, 2014 8:24:32 PM */ public class App { }
6,350
https://github.com/AscenKeeprov/CSharp-OOP-Advanced/blob/master/BashSoft/Models/Commands/EraseDatabaseCommand.cs
Github Open Source
Open Source
MIT
null
CSharp-OOP-Advanced
AscenKeeprov
C#
Code
37
107
[Alias("DROPDB")] public class EraseDatabaseCommand : Command { private IRepository Database; internal override int MaxAllowedParameters => 1; public EraseDatabaseCommand(string[] parameters, IRepository Database) : base(parameters) { this.Database = Database; } public override void Execute...
17,423
https://github.com/nanjiangshu/Pcomb3_CASP12/blob/master/filter_HETATM.sh
Github Open Source
Open Source
MIT
2,019
Pcomb3_CASP12
nanjiangshu
Shell
Code
256
799
#!/bin/bash # Filename: filter_HETATM.sh # Description: filter HETATM record from the model file # Author: Nanjiang Shu (nanjiang.shu@scilifelab.se) progname=`basename $0` size_progname=${#progname} wspace=`printf "%*s" $size_progname ""` usage=" Usage: $progname [-l LISTFILE] [-q] $wspace FILE Options: ...
12,145
https://github.com/sunxy80/caoguo/blob/master/server/gogenerate.go
Github Open Source
Open Source
Apache-2.0
2,022
caoguo
sunxy80
Go
Code
16
53
package main // 编译所有 //go:generate make -s -f generate/proto_makefile // go:generate make gen_proto -f generate/proto_makefile //部分
18,780
https://github.com/viktor219/ams/blob/master/public/js/uc/_shipping.js
Github Open Source
Open Source
BSD-3-Clause
2,021
ams
viktor219
JavaScript
Code
421
1,958
$(".model-loaded-content").each(function() { var orderid = $(this).attr('oid'); var modelid = $(this).attr('mid'); $.ajax({ url: jsBaseUrl+"/shipping/loadshippingmodel?orderid=" + orderid + "&modelid=" + modelid, dataType: "json", complete: function() { $.getScript(jsBaseUrl+"/public/js/bootstrap.min.js", f...
40,691
https://github.com/wederribas/league-of-legends-stats/blob/master/backend/src/lib/helpers.js
Github Open Source
Open Source
MIT
2,019
league-of-legends-stats
wederribas
JavaScript
Code
56
158
const MATCHES_PER_PAGE = 5 /** * Generate the next values for matches pagination */ const getMatchesPagination = currentIndex => { return { startIndex: currentIndex, endIndex: parseInt(currentIndex) + parseInt(MATCHES_PER_PAGE) } } /** * Custom error handling */ function InvalidSummonerName(message) {...
49,538
https://github.com/Alicegaz/torchok/blob/master/src/data/transforms/pixelwise.py
Github Open Source
Open Source
Apache-2.0
2,022
torchok
Alicegaz
Python
Code
902
2,598
import cv2 import numpy as np import albumentations.augmentations.functional as F from albumentations.core.transforms_interface import ImageOnlyTransform, to_tuple from albumentations.augmentations import CoarseDropout __all__ = ["InstanceNormalize", "ToGrayCustom", "MotionBlur", "OtsuBinarize", "AdaptiveBinarize", "...
15,134
https://github.com/RockyAo/ServerSide/blob/master/project10/Sources/App/Models/Post.swift
Github Open Source
Open Source
MIT
null
ServerSide
RockyAo
Swift
Code
86
254
// // Post.swift // App // // Created by Yun Ao on 2018/7/10. // import Foundation import FluentMySQL import Vapor struct Post: Content, MySQLModel { var id: Int? var title: String var strap: String var content: String var category: Int var slug: String var date: Date } extension Post:...
36,077
https://github.com/sleroy/spring-cqrs-arch/blob/master/src/test/java/com/byoskill/spring/cqrs/fakeapp/CommandServiceWithHandlerMethods.java
Github Open Source
Open Source
Apache-2.0
2,021
spring-cqrs-arch
sleroy
Java
Code
41
201
package com.byoskill.spring.cqrs.fakeapp; import com.byoskill.spring.cqrs.annotations.CommandHandler; import com.byoskill.spring.cqrs.annotations.CommandService; import com.byoskill.spring.cqrs.fakeapp.commands.MethodWithReturnCommand; import com.byoskill.spring.cqrs.fakeapp.commands.MethodWithoutReturnCommand; @Comm...
10,863
https://github.com/Muxter/Algorithms/blob/master/src/main/java/com/matao/fundamentals/exercises/Ex_1_2_01.java
Github Open Source
Open Source
MIT
null
Algorithms
Muxter
Java
Code
141
352
package com.matao.fundamentals.exercises; import edu.princeton.cs.algs4.Point2D; import edu.princeton.cs.algs4.StdOut; /** * Created by matao on 2018/9/28. * <p> * Write a Point2D client that takes an integer value N from the command line, * generates N random points in the unit square, * and computes the distan...
8,930
https://github.com/batizhao/pecado/blob/master/pecado-dp/pecado-dp-platform/src/main/java/me/batizhao/dp/domain/RegList.java
Github Open Source
Open Source
Apache-2.0
2,021
pecado
batizhao
Java
Code
29
89
package me.batizhao.dp.domain; import lombok.Data; import lombok.experimental.Accessors; /** * @author batizhao * @date 2021/7/9 */ @Data @Accessors(chain = true) public class RegList { private String pattern; private String message; }
40,981
https://github.com/Avazkhon/allRate/blob/master/client/src/components/CardsBlocks/index.js
Github Open Source
Open Source
MIT
2,021
allRate
Avazkhon
JavaScript
Code
378
1,396
import React, { useState} from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { makeStyles } from '@material-ui/core/styles'; import { Collapse, CardContent, Drawer, TextField, Button, Grid, Typography, } from '@material-ui/core'; import CardBlock from 'compon...
37,821
https://github.com/forki/FSharpVSPowerTools/blob/master/src/FSharpVSPowerTools/UI/GlobalOptionsPage.cs
Github Open Source
Open Source
Apache-2.0
2,016
FSharpVSPowerTools
forki
C#
Code
118
308
using System.ComponentModel; using Microsoft.VisualStudio.Shell; using System.Runtime.InteropServices; namespace FSharpVSPowerTools { [Guid("CE38C84E-BE03-472C-8741-952DAE4EDA2B")] public class GlobalOptionsPage : DialogPage, IGlobalOptions { public GlobalOptionsPage() { Diagno...
6,425
https://github.com/m-housh/SwiftUIValidations/blob/master/Sources/SwiftUIValidations/Validators/CustomValidator.swift
Github Open Source
Open Source
Apache-2.0
2,021
SwiftUIValidations
m-housh
Swift
Code
268
585
// // CustomValidator.swift // // // Created by Michael Housh on 5/3/20. // import Foundation extension Validator { /// Wrap a supplied `Validator` with a custom error message. /// /// let validator: Validator<String> = .custom("Required", !.empty) /// /// The error text would be ...
50,068
https://github.com/vadavo/ESCPOS.NET/blob/master/Vadavo.NEscPos.Test/ConsoleHelpers.cs
Github Open Source
Open Source
MIT
2,020
ESCPOS.NET
vadavo
C#
Code
58
198
using System; namespace Vadavo.NEscPos.Test { public static class ConsoleHelpers { public static void WriteErrorLine(string message) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(message); Console.ResetColor(); } public stat...
24,422
https://github.com/tlaplus/tlaplus/blob/master/toolbox/org.lamport.tla.toolbox.tool.tlc/src/org/lamport/tla/toolbox/tool/tlc/job/AbstractJob.java
Github Open Source
Open Source
MIT
2,023
tlaplus
tlaplus
Java
Code
209
700
package org.lamport.tla.toolbox.tool.tlc.job; import java.io.File; import org.eclipse.core.runtime.jobs.Job; import org.eclipse.jdt.internal.launching.StandardVMType; import org.eclipse.jdt.launching.IVMInstall; import org.eclipse.jdt.launching.IVMInstallType; import org.eclipse.jdt.launching.JavaRuntime; import org....
29,092
https://github.com/Miguel445Ar/A-y-R-Algoritmos-1/blob/master/Sesion15/main.cpp
Github Open Source
Open Source
CC0-1.0
null
A-y-R-Algoritmos-1
Miguel445Ar
C++
Code
1,099
3,276
#include <iostream> #include <vector> #include <functional> #include <stack> using std::cout; using std::vector; using std::function; using std::stack; using std::max; using std::cin; using std::pair; template<class T> class Node { public: T value; Node<T>* left; Node<T>* right; Node<T>* parent; ...
30,300
https://github.com/butonium/XBottomSheet/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
XBottomSheet
butonium
Ignore List
Code
7
65
PersistentBottomSheet.Droid/obj/* PersistentBottomSheet.Droid/bin/* PersistentBottomSheet.Core/obj/* PersistentBottomSheet.Core/bin/* XBottomSheet.Touch/obj/* XBottomSheet.Touch/bin/* .vs/*
41,116
https://github.com/cnbatalha/catequeseonline/blob/master/paroquia-online/src/environments/environment.ts
Github Open Source
Open Source
MIT
2,020
catequeseonline
cnbatalha
TypeScript
Code
81
274
// The file contents for the current environment will overwrite these during build. // The build system defaults to the dev environment which uses `environment.ts`, but if you do // `ng build --env=prod` then `environment.prod.ts` will be used instead. // The list of which env maps to which file can be found in `.angul...
49,333
https://github.com/onshape-public/onshape-clients/blob/master/typescript-node/model/bTBillingAllowedPlansInfo.ts
Github Open Source
Open Source
MIT
2,021
onshape-clients
onshape-public
TypeScript
Code
110
367
/** * Onshape REST API * The Onshape REST API consumed by all clients. * * OpenAPI spec version: 1.93 * Contact: api-support@onshape.zendesk.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ ...
37,854
https://github.com/MLRichter/receptive_field_analysis_toolbox/blob/master/rfa_toolbox/encodings/pytorch/__init__.py
Github Open Source
Open Source
MIT
2,022
receptive_field_analysis_toolbox
MLRichter
Python
Code
11
55
# flake8: noqa: F401 from rfa_toolbox.encodings.pytorch.utils import ( add_custom_layer_handler, toggle_coerce_torch_functional, )
9,035
https://github.com/sullis/assertj-vavr/blob/master/src/test/java/org/assertj/vavr/api/Validation_assertion_methods_in_assumptions_Test.java
Github Open Source
Open Source
Apache-2.0
2,021
assertj-vavr
sullis
Java
Code
199
643
/* * 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 under t...
45,983
https://github.com/hmsck/gosu-lang/blob/master/gosu-test/src/test/gosu/gw/spec/core/annotations/instances/_GeneratedTopLevelHolderClass_gosu_local_relative_parens_no_args_.gs
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer, BSD-3-Clause
2,019
gosu-lang
hmsck
null
Spoken
5
46
package gw.spec.core.annotations.instances @LocalGosuAnnotation() class _GeneratedTopLevelHolderClass_gosu_local_relative_parens_no_args_{}
42,383
https://github.com/rebeccachild74/Contact-Organizations-Site/blob/master/node_modules/@embroider/core/src/index.js
Github Open Source
Open Source
MIT
null
Contact-Organizations-Site
rebeccachild74
JavaScript
Code
123
533
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var package_1 = require("./package"); exports.Package = package_1.default; var template_compiler_1 = require("./template-compiler"); exports.TemplateCompiler = template_compiler_1.default; var options_1 = require("./options"); exports.optionsW...
26,775
https://github.com/gcorpse/simpler-robot/blob/master/core-api/core/src/main/java/love/forte/simbot/core/filter/AnnotationFilterListenerFilter.kt
Github Open Source
Open Source
Apache-2.0
2,021
simpler-robot
gcorpse
Kotlin
Code
665
2,274
/* * * * Copyright (c) 2021. ForteScarlet All rights reserved. * * Project simple-robot * * File MiraiAvatar.kt * * * * You can contact the author through the following channels: * * github https://github.com/ForteScarlet * * gitee https://gitee.com/ForteScarlet * * email ForteScarlet@163.com *...
34,353
https://github.com/lars1/poker_scan/blob/master/Poker.Eval/PokerRater.fs
Github Open Source
Open Source
MIT
null
poker_scan
lars1
null
Spoken
416
987
namespace Poker.Eval open Main module PokerRater = ///<Summary>Check if all cards in a list are equivalent, using a custom comparison function</Summary> let private areCardsEqual (cmp: Card -> Card -> bool) (cards: list<Card>) = match cards with | [] -> raise(PokerException("Cannot comp...
31,251
https://github.com/microsoft/MTC_SmartHive/blob/master/SmartHive.InfoboardSvc/InfoboardSvc.Common/Transport/TransportFactory.cs
Github Open Source
Open Source
Apache-2.0
2,021
MTC_SmartHive
microsoft
C#
Code
53
140
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InfoboardSvc.Common.Transport { public class TransportFactory { private static ITransport _transport = null; public static ITransport Transport { ge...
51,305
https://github.com/rubelw/auth0_client/blob/master/auth0_client/menu/datafiles/scripts/list_client_grants.py
Github Open Source
Open Source
MIT
2,021
auth0_client
rubelw
Python
Code
119
472
#!/usr/bin/env python import json from auth0_client.Auth0Client import Auth0Client from auth0_client.menu.menu_helper.common import * from auth0_client.menu.menu_helper.pretty import * try: # Let's get all the clients first client_applications = {} client = Auth0Client(auth_config()) results = clie...
17,464
https://github.com/MManahan/course-dbt-mmanahan/blob/master/dbt-greenery/models/marts/marketing/intermediate/order_items_products__joined.sql
Github Open Source
Open Source
Apache-2.0
null
course-dbt-mmanahan
MManahan
SQL
Code
41
141
{{ config( materialized='view' ) }} with order_items as ( select * from {{ref('stg_order_items_table')}} ), products as ( select * from {{ref('stg_products_table')}} ) select oi.order_id, p.product_id, p.name, p.price, p.quantity from order...
7,860
https://github.com/boogie-org/boogie/blob/master/Test/civl/regression-tests/linear/f3.bpl
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,023
boogie
boogie-org
null
Spoken
34
95
// RUN: %parallel-boogie "%s" > "%t" // RUN: %diff "%s.expect" "%t" type {:linear "tid"} X = int; procedure A() {} procedure B({:linear_in "tid"} tid:int) returns({:linear "tid"} tid':int) { tid' := tid; call A(); }
52,246
https://github.com/MaximeDum/US-famli/blob/master/src/py/dl/tfRecords.py
Github Open Source
Open Source
Apache-2.0
2,020
US-famli
MaximeDum
Python
Code
1,275
4,070
import itk import argparse import os import glob import numpy as np import tensorflow as tf #import matplotlib.pyplot as plt import sys import json import csv import uuid from collections import namedtuple import nrrd3D_2D import tfRecords_split def _int64_feature(value): if not isinstance(value, list): value = [va...
10,071
https://github.com/Reidond/choiceside/blob/master/packages/@choiceside/lib/chunk.ts
Github Open Source
Open Source
MIT
null
choiceside
Reidond
TypeScript
Code
27
65
export const chunk = <T>(arr: Array<T>, size: number) => Array.from({ length: Math.ceil(arr.length / size) }, (v, i) => arr.slice(i * size, i * size + size) )
12,261
https://github.com/pogofdev/android-hce-demo/blob/master/src/Components/NfcPromptAndroid.js
Github Open Source
Open Source
MIT
null
android-hce-demo
pogofdev
JavaScript
Code
230
843
import React from 'react'; import {Image, Text, View, Animated, StyleSheet, Modal} from 'react-native'; import {Button} from 'react-native-paper'; import NfcManager from 'react-native-nfc-manager'; import {useOutlet} from 'reconnect.js'; function NfcPromptAndroid(props) { const [visible, setVisible] = React.useState...
43,343
https://github.com/hizinhey/android-quan-ly-phuc-vu-nha-hang/blob/master/SourceCode/quanlyphucvunhahang/app/src/main/java/com/example/quanlyphucvunhahang/models/modelsDAO/ValueReturnCallback.java
Github Open Source
Open Source
MIT
null
android-quan-ly-phuc-vu-nha-hang
hizinhey
Java
Code
10
44
package com.example.quanlyphucvunhahang.models.modelsDAO; public interface ValueReturnCallback { void onReturnValue(int value); }
1,487
https://github.com/formiaczek/packet_handling/blob/master/test/catch/include/internal/catch_test_registry.hpp
Github Open Source
Open Source
BSL-1.0
2,015
packet_handling
formiaczek
C++
Code
283
1,026
/* * Created by Phil on 18/10/2010. * Copyright 2010 Two Blue Cubes Ltd. All rights reserved. * * Distributed under the Boost Software License, Version 1.0. (See accompanying * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef TWOBLUECUBES_CATCH_REGISTRY_HPP_INCLUDED #define TWO...
16,436
https://github.com/maier-stefan/scales/blob/master/scales-core/lib/scales-core/storage.rb
Github Open Source
Open Source
MIT
2,012
scales
maier-stefan
Ruby
Code
42
164
module Scales module Storage REQUEST_QUEUE = "scales_request_queue" RESPONSE_CHANNEL = "scales_response_channel" RESOURCE_PREFIX = "scales_resource_" PARTIAL_PREFIX = "scales_partial_" autoload :Sync, "scales-core/storage/sync" autoload :Async, "scales-core/storage/async" ...
39,923