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/Kasuromi/MTFO/blob/master/MTFO/Utilities/Extensions.cs
Github Open Source
Open Source
MIT
2,021
MTFO
Kasuromi
C#
Code
128
306
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MTFO.Utilities { public static class DataDumperExtensions { /// <summary> /// Hashes the given string in a persistent, platform independent way /// </summary> ...
6,880
https://github.com/sweverett/Balrog-GalSim/blob/master/plots/vinicius_plots.py
Github Open Source
Open Source
MIT
2,022
Balrog-GalSim
sweverett
Python
Code
1,023
6,300
#!/usr/bin/env python # encoding: UTF8 # from __future__ import print_function import numpy as np import pyfits as pf import matplotlib.pyplot as plt from matplotlib import cm import os def make_plots(realizations,tiles,bands,INPUT_DIR,OUT_DIR,OBJECT,RADIUS_MATCH,REMOVE_FLAGGED): for real in realizations: ...
26,622
https://github.com/mirakels/pandevice/blob/master/examples/userid.py
Github Open Source
Open Source
0BSD
2,020
pandevice
mirakels
Python
Code
508
1,298
#!/usr/bin/env python # Copyright (c) 2014, Palo Alto Networks # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" A...
5,243
https://github.com/pocesar/DefinitelyTyped/blob/master/lodash-es/debounce/index.d.ts
Github Open Source
Open Source
MIT
2,016
DefinitelyTyped
pocesar
TypeScript
Code
14
31
import * as _ from "lodash"; declare const debounce: typeof _.debounce; export default debounce;
43,210
https://github.com/mulesoft/docs-connector-devk/blob/master/modules/ROOT/pages/setting-up-api-access.adoc
Github Open Source
Open Source
BSD-3-Clause
2,021
docs-connector-devk
mulesoft
AsciiDoc
Code
635
995
= Setting Up API Access ifndef::env-site,env-github[] include::_attributes.adoc[] endif::[] :keywords: devkit, api, access, connector, cloud, salesforce, twitter include::partial$devkit-important.adoc[] Before starting a connector project, research the API to which you wish to connect. Beyond collecting and reading a...
38,800
https://github.com/carlbarrdahl/busstrams/blob/master/js/components/Common/Bubble.jsx
Github Open Source
Open Source
MIT
2,014
busstrams
carlbarrdahl
JavaScript
Code
19
74
var React = require('react/addons'); var Bubble = module.exports = React.createClass({ render: function() { return (<figure className="Bubble" style={this.props.style}><span>{this.props.text}</span></figure>); } });
16,584
https://github.com/jdm7dv/rosyln/blob/master/Src/Workspaces/VisualBasic/Formatting/Rules/AdjustSpaceFormattingRule.vb
Github Open Source
Open Source
Apache-2.0
null
rosyln
jdm7dv
Visual Basic
Code
985
4,017
' Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports Microsoft.CodeAnalysis.Formatting.Rules Imports Microsoft.CodeAnalysis.Options Imports Microsoft.CodeAnalysis.VisualBasic.Synta...
35,061
https://github.com/TugasMburi/TugasAkhir/blob/master/application/controllers/Admin.php
Github Open Source
Open Source
MIT
null
TugasAkhir
TugasMburi
PHP
Code
135
848
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Admin extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('admin_model'); if($this->session->userdata('logged_in')){ $session_data = $this->session->userdata('logged_in'); ...
24,547
https://github.com/tlk00/BitMagic/blob/master/tests/stress/run_all_tests.sh
Github Open Source
Open Source
Apache-2.0
2,023
BitMagic
tlk00
Shell
Code
35
102
#!/bin/bash # run_all_tests.sh # # run all tests in parallel # ./run_all_parallel.sh sse42 || exit 1 ./run_all_parallel.sh || exit 1 ./run_all_parallel.sh avx2 || exit 1 ./run_all_parallel.sh gcc || exit 1 ./run_all_parallel.sh sse2 || exit 1
50,109
https://github.com/HudsonSchumaker/Game-Development-Patterns/blob/master/Prototype/Enemy.cs
Github Open Source
Open Source
MIT
null
Game-Development-Patterns
HudsonSchumaker
C#
Code
18
41
// Hudson Schumaker public class Enemy : ICopyable { public ICopyable Copy() { return new (this); } }
32,729
https://github.com/bonedaddy/shartnet_startkit/blob/master/scripts/compile.sh
Github Open Source
Open Source
Apache-2.0
2,022
shartnet_startkit
bonedaddy
Shell
Code
44
156
#! /bin/bash CAIRO_FILE="$1" OUTPUT="$2" if [[ "$CAIRO_FILE" == "" ]]; then echo "[ERROR] invalid invocation" echo "[ERROR] usage: compile.sh /path/to/file/cairo <output>" exit 1 fi if [[ "$OUTPUT" == "" ]]; then echo "$CAIRO_FILE" OUTPUT="$(echo $CAIRO_FILE | sed -e 's/\.cairo//g').compiled.json...
32,855
https://github.com/simondel/core/blob/master/packages/date/index.ts
Github Open Source
Open Source
MIT
2,019
core
simondel
TypeScript
Code
96
236
// Export public API export * from './src/Date'; export * from './src/DateFields'; export * from './src/DateTime'; export * from './src/DateTimeFields'; export * from './src/DateTimeFormat'; export * from './src/DateTimeLayout'; export * from './src/DayOfMonth'; export * from './src/DayOfWeek'; export * from './src/Da...
11,076
https://github.com/protofire/burner-wallet/blob/master/src/components/Vendors.js
Github Open Source
Open Source
MIT
2,019
burner-wallet
protofire
JavaScript
Code
647
2,135
import React from 'react' import { Scaler } from 'dapparatus' import Blockies from 'react-blockies' const QRCode = require('qrcode.react') let interval export default class Advanced extends React.Component { constructor(props) { super(props) let vendor = false if (window.location.pathname.indexOf('/vend...
39,999
https://github.com/HereSinceres/atlaskit-mk-2/blob/master/packages/editor/adf-schema/src/schema/nodes/block-card.ts
Github Open Source
Open Source
Apache-2.0
2,020
atlaskit-mk-2
HereSinceres
TypeScript
Code
176
493
import { NodeSpec, Node as PMNode } from 'prosemirror-model'; export interface UrlType { url: string; } export interface DataType { /** * @additionalProperties true */ data: object; } export type CardAttributes = UrlType | DataType; /** * @name blockCard_node */ export interface BlockCardDefinition { ...
33,194
https://github.com/SornDev/sit_app_vue/blob/master/resources/js/components/transection/Transection.vue
Github Open Source
Open Source
MIT
null
sit_app_vue
SornDev
Vue
Code
36
138
<template> <section class="content"> <div class="row"> <div class="col-lg-12"> <h1>Transection</h1> </div> </div> </section> </template> <script> export default { name: "transection", components: {}, directives: {}, data() { retu...
15,503
https://github.com/i-Cell-Mobilsoft-Open-Source/swagger-jaxb/blob/master/README.adoc
Github Open Source
Open Source
Apache-2.0
2,020
swagger-jaxb
i-Cell-Mobilsoft-Open-Source
AsciiDoc
Code
430
2,334
= swagger-jaxb //A README.adoc-ot az index.adoc-ból generáljuk preprocessor scripttel, ami kicseréli az include-okat a tényleges adoc szövegre //mivel a github egyelőre nem képes include-olni csak linkelni //script: https://github.com/asciidoctor/asciidoctor-extensions-lab/blob/master/scripts/asciidoc-coalescer.rb scr...
6,199
https://github.com/rampopat/social-network/blob/master/testsuite/socialnetwork/TestSuite.java
Github Open Source
Open Source
MIT
null
social-network
rampopat
Java
Code
487
1,662
package socialnetwork; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import com.google.common.collect.Multimap; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java....
17,711
https://github.com/labzen/cells/blob/master/core/src/test/java/cn/labzen/cells/core/utils/BytesTest.java
Github Open Source
Open Source
Apache-2.0
null
cells
labzen
Java
Code
215
749
package cn.labzen.cells.core.utils; import com.google.common.collect.Maps; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import java.io.Serializable; import java.math.BigInteger; import java.util.Map; import static cn.labzen.cells.core.utils.Bytes.*; public class BytesTest { @Test ...
44,241
https://github.com/SincerelyUnique/grimm-backend/blob/master/grimm/utils/vrfcode.py
Github Open Source
Open Source
MIT
2,021
grimm-backend
SincerelyUnique
Python
Code
281
885
# # File: vrfcode.py # Copyright: Grimm Project, Ren Pin NGO, all rights reserved. # License: MIT # ------------------------------------------------------------------------- # Authors: Ming Li(adagio.ming@gmail.com) # # Description: generate transaction ID and verification code, # keeping them unique. # # To-Dos: # ...
20,314
https://github.com/LER0ever/Presentations/blob/master/template/js/hovercraft.js
Github Open Source
Open Source
Apache-2.0
2,021
Presentations
LER0ever
JavaScript
Code
110
331
// Initialize impress.js impress().init(); // Set up the help-box var helpdiv = window.document.getElementById('hovercraft-help'); if (window.top!=window.self) { // This is inside an iframe, so don't show the help. helpdiv.className = "disabled"; } else { // Install a funtion to toggle help on and off. ...
27,508
https://github.com/Camaradotspace/camara-native/blob/master/src/components/Phone/icons/HomeIndicator.tsx
Github Open Source
Open Source
MIT
null
camara-native
Camaradotspace
TypeScript
Code
54
148
import React from "react"; import Svg, { Rect } from "react-native-svg"; interface IHomeIndicator { theme?: "light" | "dark"; } export const HomeIndicator = ({ theme }: IHomeIndicator) => { return ( <Svg width="134" height="5" viewBox="0 0 134 5" fill="none"> <Rect width="134" height="5"...
13,536
https://github.com/strawsyz/straw/blob/master/ProgrammingQuestions/Others/Com-L-intern-2021.py
Github Open Source
Open Source
MIT
2,023
straw
strawsyz
Python
Code
86
386
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2021/06/21 3:04 # @Author : strawsyz # @File : line2021.py # @desc: import numpy as np import math te = -0.3+0.53+0.46-0.77+0.9-0.4 print(te) te = 0.46-0.39-0.75+0.3-0.56+0.55 print(te) te = -0.77+0.51-0.44-0.42+0.2+0.51 print(te) te = -0.97+0.49-0.8...
3,505
https://github.com/andrew-m/map-battle/blob/master/model/GameEngine.js
Github Open Source
Open Source
Apache-2.0
null
map-battle
andrew-m
JavaScript
Code
273
751
//external events are: //Turn submissions // - firing angles // - movements //keyboard presses //Which result in changes to the game state //Such as angles/collisions being worked out // With lives lost if hit. //or blobs moving //No loop really needed, but could detect keyboard events, as more fun than using a form....
12,048
https://github.com/sweetysweets/Sports/blob/master/controller/Friend/addFriend.php
Github Open Source
Open Source
Apache-2.0
2,017
Sports
sweetysweets
PHP
Code
33
162
<?php /** * Created by PhpStorm. * User: sweets_ling * Date: 2016/12/1 * Time: 下午2:45 */ include('../../model/Friend.php'); $friendid=$_POST['fid']; $id = $_POST['uid']; $account=new Friend("sqlite:../../mydatabase.sqlite"); $res=$account->addFriend($id,$friendid); if($res) { echo json_encode(true); //$.ajax...
18,522
https://github.com/NilmaPeiris/nodecloud/blob/master/packages/azure-plugin/storage/azure-blockStorage.js
Github Open Source
Open Source
MIT
2,020
nodecloud
NilmaPeiris
JavaScript
Code
444
1,520
const { ComputeManagementClient } = require("@azure/arm-compute"); /*This is an auto generated class, please do not change.*/ /** * Class to create a BlockStorage object * @category Azure */ class Azure_BlockStorage { /** * * @param {module} azureRestSdk Azure Rest SDK */ constructor(azureRestSdk) { ...
40,107
https://github.com/rvedam/cl-data-structures/blob/master/src/algorithms/common.lisp
Github Open Source
Open Source
MIT
2,018
cl-data-structures
rvedam
Common Lisp
Code
602
2,165
(in-package #:cl-data-structures.algorithms) (defclass proxy-range () ((%original-range :initarg :original-range :reader read-original-range))) (defmethod cl-ds:reset! ((range proxy-range)) (cl-ds:reset! (read-original-range range)) range) (defmethod cl-ds:clone ((range proxy-range)) (...
5,147
https://github.com/git-the-cpan/MooseX-InsideOut/blob/master/t/sub.t
Github Open Source
Open Source
Artistic-1.0
null
MooseX-InsideOut
git-the-cpan
Perl
Code
165
478
use strict; use warnings; use Test::More tests => 56; use lib 't/lib'; my @classes = qw(IO Array Hash Moose); for my $c (@classes) { my $base = "InsideOut::Base$c"; my $sub = "InsideOut::Sub$c"; eval "require $base;1" or die $@; eval "require $sub;1" or die $@; my $obj = eval { $sub->new(base_foo => 17) }...
8,037
https://github.com/mtorromeo/vue-patternfly/blob/master/apps/docs/src/stories/Components/Modal.story.vue
Github Open Source
Open Source
MIT
2,023
vue-patternfly
mtorromeo
Vue
Code
246
716
<template> <doc-page title="Modal"> <component-title name="pf-modal" /> <story-canvas title="Default"> <pf-button @click="open1 = !open1">Toggle Modal</pf-button> <pf-modal v-model:open="open1" title="Simple modal header"> {{ sample_content }} </pf-modal> </story-canvas> <s...
33,623
https://github.com/luwenchang/dataflux-func/blob/master/client/src/components/Management/SysStats.vue
Github Open Source
Open Source
Apache-2.0
2,022
dataflux-func
luwenchang
Vue
Code
1,206
4,453
<template> <transition name="fade"> <el-container direction="vertical" v-if="$store.state.isLoaded"> <!-- 标题区 --> <el-header height="60px"> <h1> 系统指标 </h1> </el-header> <el-main> <el-divider content-position="left"><h1>Server</h1></el-divider> <div...
39,782
https://github.com/uwase-diane/password_locker/blob/master/passwordLocker_test.py
Github Open Source
Open Source
Unlicense
null
password_locker
uwase-diane
Python
Code
330
1,199
#!/usr/bin/env python3.6 import pyperclip import unittest from passwordLocker import User, Credential class TestClassUser(unittest.TestCase): """ A Test class that defines test cases for the User class. """ def setUp(self): self.new_user = User("uwase-diane","@August2016") """ ...
3,939
https://github.com/linked/django-mediagenerator/blob/master/mediagenerator/filters/clevercss.py
Github Open Source
Open Source
BSD-3-Clause
2,018
django-mediagenerator
linked
Python
Code
69
252
from mediagenerator.generators.bundles.base import Filter from clevercss import convert class CleverCSS(Filter): def __init__(self, **kwargs): super(CleverCSS, self).__init__(**kwargs) assert self.filetype == 'css', ( 'CleverCSS only supports compilation to css. ' 'The paren...
28,468
https://github.com/ashrhmn/FMS-Laravel/blob/master/app/Http/Controllers/AuthController.php
Github Open Source
Open Source
MIT
null
FMS-Laravel
ashrhmn
PHP
Code
262
1,043
<?php namespace App\Http\Controllers; use App\Models\City; use App\Models\Token; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Validation\ValidationException; class AuthController extends Controller { public function signin(Request $req) { $token = $req->session()->get('token'); ...
30,667
https://github.com/remore/gemstat/blob/master/lib/gemstat/cache/gemfiles/g/git_remote_branch:0.3.8/Gemfile
Github Open Source
Open Source
MIT
2,015
gemstat
remore
Ruby
Code
14
46
gem 'rake' gem 'rdoc' gem 'test-unit' gem 'shoulda' gem 'mocha' gem 'pry' gem 'pry-nav'
29,614
https://github.com/AlexanderWert/kibana/blob/master/x-pack/plugins/infra/server/services/log_entries/types.ts
Github Open Source
Open Source
Apache-2.0
null
kibana
AlexanderWert
TypeScript
Code
71
162
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { PluginSetup as DataPluginSetup, PluginStart as DataPluginStart, ...
37,313
https://github.com/yuyasugano/defi-test/blob/master/defipulse_api.py
Github Open Source
Open Source
MIT
2,021
defi-test
yuyasugano
Python
Code
170
622
#!/usr/bin/python import json import boto3 import decimal import pprint import datetime import requests TABLE_NAME = 'Tokens' headers = {'Content-Type': 'application/json'} api_url_base = "https://public.defipulse.com/api/GetProjects" api_url = '{}'.format(api_url_base) dynamodb = boto3.resource('dynamodb', region_na...
30,232
https://github.com/xcfcode/DataLab/blob/master/src/datalabs/operations/featurize/summarization.py
Github Open Source
Open Source
Apache-2.0
null
DataLab
xcfcode
Python
Code
864
3,617
from typing import Dict, List, Any, Optional from .featurizing import Featurizing, featurizing # from ..operation import DatasetOperation, dataset_operation from typing import Callable, Mapping from .plugins.summarization.sum_attribute import * from .plugins.summarization.extractive_methods import _ext_oracle from .p...
36,841
https://github.com/guibrancopc/vue-dynamic-height/blob/master/src/main.js
Github Open Source
Open Source
MIT
2,021
vue-dynamic-height
guibrancopc
JavaScript
Code
90
232
import dynamicHeight from './dynamic-height/dynamicHeight'; // Declare install function executed by Vue.use() export function installVueDynamicHeight(Vue) { if (installVueDynamicHeight.installed) return; installVueDynamicHeight.installed = true; Vue.directive('DynamicHeight', dynamicHeight); } // Create module ...
5,579
https://github.com/iliyaST/TelerikAcademy/blob/master/OOP/7-Exams/11-July-2016-Evening/01.Dealership/Dealership-Skeleton/Dealership/Models/User.cs
Github Open Source
Open Source
MIT
2,017
TelerikAcademy
iliyaST
C#
Code
482
1,662
using Dealership.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dealership.Common.Enums; using Dealership.Common; using Dealership.Engine; namespace Dealership.Models { public class User : IUser { private string firs...
32,448
https://github.com/bd2019us/accumulo-wikisearch/blob/master/query/src/main/java/org/apache/accumulo/examples/wikisearch/iterator/UniqFieldNameValueIterator.java
Github Open Source
Open Source
Apache-2.0
2,021
accumulo-wikisearch
bd2019us
Java
Code
1,186
3,250
/* * 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 ...
39,420
https://github.com/l1ahim/test/blob/master/store/datastore/ddl/mysql/files/009_create_table_config.sql
Github Open Source
Open Source
Apache-2.0
2,022
test
l1ahim
SQL
Code
24
86
-- name: create-table-config CREATE TABLE IF NOT EXISTS config ( config_id INTEGER PRIMARY KEY AUTO_INCREMENT ,config_repo_id INTEGER ,config_hash VARCHAR(250) ,config_data MEDIUMBLOB ,UNIQUE(config_hash, config_repo_id) );
35,582
https://github.com/antvis/GWebGPUEngine/blob/master/packages/compiler/src/ast/glsl-ast-node-types.ts
Github Open Source
Open Source
MIT
2,022
GWebGPUEngine
antvis
TypeScript
Code
14
71
import { AST_NODE_TYPES, AST_TOKEN_TYPES, STORAGE_CLASS, } from '@antv/g-webgpu-core'; export { AST_TOKEN_TYPES, AST_NODE_TYPES, STORAGE_CLASS };
48,529
https://github.com/sungyeon/drake/blob/master/source/machine-pc-freebsd/s-stomap.adb
Github Open Source
Open Source
MIT
2,020
drake
sungyeon
Ada
Code
72
287
with System.Address_To_Named_Access_Conversions; with C.dlfcn; with C.sys.link_elf; package body System.Storage_Map is pragma Suppress (All_Checks); use type C.signed_int; package char_ptr_Conv is new Address_To_Named_Access_Conversions (C.char, C.char_ptr); -- implementation function Load_Addr...
29,070
https://github.com/hibernate/hibernate-validator/blob/master/engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/SignValidatorForNumberTest.java
Github Open Source
Open Source
LicenseRef-scancode-dco-1.1, Apache-2.0
2,023
hibernate-validator
hibernate
Java
Code
1,186
4,552
/* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.test.internal.constraintvalidators.bv; import static org.testng.Asser...
4,007
https://github.com/ECSLab/ES_IoT_Cloud/blob/master/iot_ssm/src/main/java/com/wust/iot/dto/DeviceDto.java
Github Open Source
Open Source
Apache-2.0
2,022
ES_IoT_Cloud
ECSLab
Java
Code
186
574
package com.wust.iot.dto; import io.swagger.annotations.ApiModelProperty; public class DeviceDto { @ApiModelProperty(value = "项目id") private Integer projectId; @ApiModelProperty(value = "协议id")//TODO 需要添加获取接口 private Integer protocolId; @ApiModelProperty(value = "数据类型id") private Integer da...
46,940
https://github.com/vincent-pradeilles/KeyPathTesting/blob/master/Sources/KeyPathTesting/Assert/AssertionBuilder.swift
Github Open Source
Open Source
MIT
2,021
KeyPathTesting
vincent-pradeilles
Swift
Code
68
179
// // AssertionBuilder.swift // KeyPathTesting // // Created by Vincent on 12/06/2019. // Copyright © 2019 Vincent. All rights reserved. // import Foundation @resultBuilder public struct AssertionBuilder<Type> { public static func buildExpression( _ expression: @escaping RawAssertion<Type>, ...
34,934
https://github.com/DanielSantiagoCardenas/TruckFlet/blob/master/app/Models/Iniciar_Sesion.php
Github Open Source
Open Source
MIT
null
TruckFlet
DanielSantiagoCardenas
PHP
Code
43
178
<?php namespace app\Models; use CodeIgniter\Model; class Iniciar_Sesion extends Model { protected $table = 'registro'; protected $primaryKey = 'id_registro'; protected $useAutoIncrement = true; protected $returnType = 'array'; protected $useSoftDeletes = false; protected...
45,728
https://github.com/callzhang/AFIncrementalStore/blob/master/Examples/CheckIns Example/Classes/CheckInsAPIClient.m
Github Open Source
Open Source
MIT
2,021
AFIncrementalStore
callzhang
Objective-C
Code
439
1,420
// CheckInsAPIClient.m // // Copyright (c) 2012 Mattt Thompson (http://mattt.me) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the r...
25,460
https://github.com/CraigMacomber/FluidFramework/blob/master/examples/data-objects/primitives/src/main.tsx
Github Open Source
Open Source
MIT
null
FluidFramework
CraigMacomber
TypeScript
Code
257
641
/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { DataObject, } from "@fluidframework/aqueduct"; import { IFluidHTMLView } from "@fluidframework/view-interfaces"; import React from "react"; import ReactDOM from "react-dom"; import { Sh...
1,928
https://github.com/wylwang/CodeSameples/blob/master/server/contactController.js
Github Open Source
Open Source
MIT
2,021
CodeSameples
wylwang
JavaScript
Code
346
1,211
const axios = require('axios'); const AccessToken = require('./accesstoken')('contact'); module.exports = function(router) { router.get('/user/get', async function (req, res, next) { const query = req.query || {}; const access_token = await AccessToken.getToken(); const { data } = await axi...
16,613
https://github.com/JulesMoorhouse/Ideaspad/blob/master/CodeLibrary/SharewareProjs/CRCStamp/CRCStamp.vb
Github Open Source
Open Source
MIT
2,019
Ideaspad
JulesMoorhouse
Visual Basic
Code
375
1,075
Imports System.IO Module CRCStamp Sub Main() Main(Environment.GetCommandLineArgs()) End Sub Private Sub Main(ByVal args() As String) Dim lstrInputFile As String Dim lstrTestFile As String = "" If args Is Nothing OrElse args.Length > 6 Then Console.WriteLine("CR...
19,395
https://github.com/MrAdamBoyd/I-Want-Tea/blob/master/I Want Tea/View Controllers/MapViewController.h
Github Open Source
Open Source
MIT
2,015
I-Want-Tea
MrAdamBoyd
C
Code
80
308
// // ViewController.h // I Want Coffee // // Created by Adam on 2015-09-24. // Copyright © 2015 Adam Boyd. All rights reserved. // #import <UIKit/UIKit.h> #import <MapKit/MapKit.h> #import "EAIntroView.h" #import "IWCDataController.h" #import "IWCMapAnnotation.h" #import "IWCShopDetailViewController.h" #import "I...
45,827
https://github.com/yangxin1994/bridge/blob/master/bridge-console/src/main/webapp/bridge/src/App.vue
Github Open Source
Open Source
Apache-2.0
2,020
bridge
yangxin1994
Vue
Code
91
394
<template> <div id="app"> <transition name="slide-fade"> <router-view></router-view> </transition> </div> </template> <style> @import "../static/css/main.css"; @import "../static/css/color-dark.css"; /*深色主题*/ #nprogress .bar { background: #FF4949 !important; } </style> <style scoped> .s...
36,142
https://github.com/PyColors/ng-potree/blob/master/src/app/cube/cube.component.ts
Github Open Source
Open Source
MIT
2,020
ng-potree
PyColors
TypeScript
Code
357
1,127
import { AfterViewInit, Component, ElementRef, Input, ViewChild } from "@angular/core"; import * as THREE from "three"; import { OrbitControls } from "three-orbitcontrols-ts"; @Component({ selector: "geometry-cube", templateUrl: "./cube.component.html", styleUrls: ["./cube.component.scss"] }) export cl...
16,602
https://github.com/eGangotri/eGangotri/blob/master/resources/logback.groovy
Github Open Source
Open Source
Unlicense
2,023
eGangotri
eGangotri
Groovy
Code
174
792
import ch.qos.logback.classic.AsyncAppender import ch.qos.logback.classic.PatternLayout import ch.qos.logback.classic.encoder.PatternLayoutEncoder import ch.qos.logback.core.ConsoleAppender import ch.qos.logback.core.FileAppender import ch.qos.logback.core.rolling.TimeBasedRollingPolicy import static ch.qos.logback.cla...
34,945
https://github.com/spchal/pwntools-write-ups/blob/master/wargames/overthewire-vortex/level10/win.py
Github Open Source
Open Source
MIT
2,022
pwntools-write-ups
spchal
Python
Code
250
724
#!/usr/bin/env python2 # -*- coding: utf-8 -*- from pwn import * from ctypes import * context(arch='i386',os='linux') level = 10 host = 'vortex.labs.overthewire.org' user = 'vortex%i' % level chal = 'vortex%i' % level password = args['PASSWORD'] passfile = '/etc/vortex_pass/vortex%i' % (level+1) bin...
38,823
https://github.com/nik-sergeson/bsuir-informatics-labs/blob/master/5term/SP/Lab13.vs/Lab13.vs/Lab13.vs.cpp
Github Open Source
Open Source
Apache-2.0
null
bsuir-informatics-labs
nik-sergeson
C++
Code
786
3,375
// Lab13.vs.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "Lab13.vs.h" #include <string> #include <tchar.h> #include <iostream> #include <windows.h> #include <tlhelp32.h> #include <stdio.h> #include <vector> #include "Resource.h" #include <psapi.h> #include <windowsx.h> #include <w...
29,161
https://github.com/hrvojevu/tailor-teaching-elements/blob/master/src/teaching-element/Image.vue
Github Open Source
Open Source
MIT
2,020
tailor-teaching-elements
hrvojevu
Vue
Code
41
127
<template> <div class="te-image"> <img :src="url"> </div> </template> <script> export default { name: 'te-image', props: { url: { type: String, required: true } } }; </script> <style lang="scss"> .te-image img { display: block; max-width: 100%; height: auto; margin: 0 auto; } </style>
16,567
https://github.com/CharlesBases/protoc-gen-doc/blob/master/utils/logger.go
Github Open Source
Open Source
MIT
2,020
protoc-gen-doc
CharlesBases
Go
Code
103
368
package utils import ( "fmt" "os" "strings" "time" ) const ( DBG = 36 INF = 38 WRN = 34 ERR = 31 ) var level = map[int]string{ DBG: "DBG", INF: "INF", WRN: "WRN", ERR: "ERR", } func ThrowCheck(err error) { if err != nil { Error(err) os.Exit(1) } } func Debug(vs ...interface{}) { print(DBG, vs) ...
41,938
https://github.com/fornesarturo/santo-clos/blob/master/santo-clos-front/src/App.vue
Github Open Source
Open Source
MIT
2,018
santo-clos
fornesarturo
Vue
Code
344
1,843
/* eslint-disable */ <template> <div class="pageBG" id="main"> <div v-if='loggedIn'> <nav class="navbar sticky-top navbar-expand-sm navbar-dark bg-dark" v-bind:id="activeView" v-on:click.prevent> <a class="navbar-brand" v-on:click="setHubActive()"> <router-link to="/hub"> <img src="static/...
9,520
https://github.com/pmqtt/pmq/blob/master/test/test_login_factory.cpp
Github Open Source
Open Source
Apache-2.0
2,019
pmq
pmqtt
C++
Code
55
296
// // Created by pmqtt on 2019-07-19. // #define BOOST_TEST_DYN_LINK 1 #define BOOST_TEST_MODULE test_login_factory #include <boost/test/included/unit_test.hpp> #include "lib/server/login/login_factory.hpp" #include "lib/server/login/login_handler.hpp" #include "lib/server/login/login_allow_anonymous_handler.hpp" t...
28,052
https://github.com/lshowbiz/agnt_ht/blob/master/src/service/com/joymain/jecs/am/service/impl/AmMessageManagerImpl.java
Github Open Source
Open Source
Apache-2.0
null
agnt_ht
lshowbiz
Java
Code
495
2,334
package com.joymain.jecs.am.service.impl; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.List; import com.joymain.jecs.am.dao.AmMessageDao; import com.joymain.jecs.am.model.AmMessage; import com.joymain.jecs.am.service.AmMessageManager; import com.joymain.jecs.service....
41,958
https://github.com/bernardd/otp/blob/master/lib/erl_interface/src/legacy/erl_internal.h
Github Open Source
Open Source
Apache-2.0
2,021
otp
bernardd
C
Code
172
381
/* * %CopyrightBegin% * * Copyright Ericsson AB 1996-2016. 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 ...
10,105
https://github.com/dsandip/graphql-engine/blob/master/console/src/components/Common/utils/tsUtils.ts
Github Open Source
Open Source
Apache-2.0, MIT
2,020
graphql-engine
dsandip
TypeScript
Code
13
35
export const UNSAFE_keys = <T extends object>(source: T) => Object.keys(source) as Array<keyof T>;
3,485
https://github.com/MichaelShaw/hogger/blob/master/HoggerTests/ShrinkTests.swift
Github Open Source
Open Source
MIT
null
hogger
MichaelShaw
Swift
Code
120
454
// // ShrinkTests.swift // HoggerTests // // Created by Michael Shaw on 26/1/18. // Copyright © 2018 Michael Shaw. All rights reserved. // import XCTest @testable import Hogger class ShrinkTests: XCTestCase { func testTowards() { let a = Towards(from: 0, destination: 100) XCTAssert(a.collect() == [0,50,...
8,120
https://github.com/Passarinho4/scala-commons/blob/master/commons-core/src/main/scala/com/avsystem/commons/rpc/RpcMetadataCompanion.scala
Github Open Source
Open Source
MIT
null
scala-commons
Passarinho4
Scala
Code
20
99
package com.avsystem.commons package rpc import com.avsystem.commons.macros.rpc.RpcMacros import com.avsystem.commons.meta.MetadataCompanion trait RpcMetadataCompanion[M[_]] extends MetadataCompanion[M] { def materialize[Real]: M[Real] = macro RpcMacros.rpcMetadata[Real] }
16,922
https://github.com/Thieum/Ark.Tools/blob/master/Ark.Tools.Authorization/IAuthorizationContextFactory.cs
Github Open Source
Open Source
MIT
2,022
Ark.Tools
Thieum
C#
Code
115
246
using System.Security.Claims; namespace Ark.Tools.Authorization { /// <summary> /// A factory used to provide a <see cref="AuthorizationContext"/> used by authorization handlers. /// Applications with custom handlers can implement a custom factory to provide handlers with additional context informations. ...
43,473
https://github.com/sathwikkannam/courses-HKR/blob/master/Database Technique/Exercises/join.sql
Github Open Source
Open Source
MIT
null
courses-HKR
sathwikkannam
SQL
Code
23
61
USE world; SHOW TABLES; SELECT * FROM country; SELECT * FROM countrylanguage; SELECT * FROM country INNER JOIN countrylanguage ON country.code = countrylanguage.CountryCode;
34,533
https://github.com/miguelvazq/HPCC-Platform/blob/master/ecl/regress/sqfilt.ecl
Github Open Source
Open Source
Apache-2.0
2,022
HPCC-Platform
miguelvazq
ECL
Code
374
1,211
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
2,886
https://github.com/ularsth/contextual-help/blob/master/src/js/chFetch.js
Github Open Source
Open Source
MIT
2,020
contextual-help
ularsth
JavaScript
Code
134
365
import _fetch from 'isomorphic-fetch'; export const handleResponse = (response, requestData)=> { const valid = response.status >= 200 && response.status <= 399; if (!valid) { const responseData = { locLocation: 'Error during fetch request in ContextualHelp', status: response.status, statusTex...
17,991
https://github.com/samskalicky/tvm/blob/master/src/runtime/contrib/tensorrt/tensorrt_module.cc
Github Open Source
Open Source
Apache-2.0
null
tvm
samskalicky
C++
Code
1,292
4,428
/* * 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 m...
13,248
https://github.com/awakun/LearningPython/blob/master/Python/PythonCrashCourse2ndEdition/3-1_names.py
Github Open Source
Open Source
MIT
null
LearningPython
awakun
Python
Code
31
103
names = ['Dave', 'Joe', 'Tucker', 'Julia', 'Amber', 'Equinox'] print(names[0]) print(names[1]) print(names[2]) print(names[3]) print(names[4]) print(names[5]) print('----') # If I'm not mistaken I can just for loop this- for name in names: print(name)
4,229
https://github.com/lourenco-cunha/woocommerce-orders-bot/blob/master/models/orders.js
Github Open Source
Open Source
MIT
2,018
woocommerce-orders-bot
lourenco-cunha
JavaScript
Code
139
485
'use strict'; const _ = require("lodash"); function Orders(response) { this.orders = _.map(response, o => new Order(o)); //TODO set pagination info? } function Order(wcOrder) { function Product(wcProduct) { this.id = wcProduct.variation_id || wcProduct.product_id; this.quantity = wcProduct.quantity; ...
47,404
https://github.com/cytech/scheduler-InvoiceNinja/blob/master/Resources/views/categories/index.blade.php
Github Open Source
Open Source
Apache-2.0, MIT
2,021
scheduler-InvoiceNinja
cytech
PHP
Code
198
979
@extends('Scheduler::partials._master') @section('content') <div class="container col-lg-12"> <div class="row"> <div class="col-lg-12"> <a href="{!! route('scheduler.categories.create') !!}" class="btn btn-success"><i class="fa fa-fw fa-plus"></i> {{...
46,764
https://github.com/RahulMisra2000/auth0-angular-samples/blob/master/04-Authorization/src/app/auth/auth0-variables.ts
Github Open Source
Open Source
MIT
null
auth0-angular-samples
RahulMisra2000
TypeScript
Code
46
197
interface AuthConfig { clientID: string; domain: string; callbackURL: string; apiUrl: string; } //export const AUTH_CONFIG: AuthConfig = { // clientID: '{CLIENT_ID}', // domain: '{DOMAIN}', // callbackURL: 'http://localhost:3000/callback', // apiUrl: '{API_IDENTIFIER}' //}; export const AUTH_CONFIG: AuthC...
5,653
https://github.com/BorisMR/foundapi/blob/master/app.js
Github Open Source
Open Source
BSD-3-Clause
null
foundapi
BorisMR
JavaScript
Code
224
810
var bodyParser = require('body-parser'); var path = require('path'); var mongoose = require('mongoose'); var express = require('express'); var app = express(); mongoose.connect('mongodb://localhost/foundapidb'); /* === MODELOS === */ var Libro = require('./app/models/libro'); var Serie = require('./app/models/serie')...
47,080
https://github.com/mtiendar/arconesycanastas.pe/blob/master/database/migrations/2020_03_05_161701_create_datos_fiscales_table.php
Github Open Source
Open Source
MIT
null
arconesycanastas.pe
mtiendar
PHP
Code
113
691
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDatosFiscalesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('datos_fis...
4,161
https://github.com/kalkin/wingo/blob/master/heads/doc.go
Github Open Source
Open Source
WTFPL
2,015
wingo
kalkin
Go
Code
34
46
/* package heads manages state and geometry information for each physical active head detected by Xinerama. This package is also responsible for tracking which workspaces are visible and which are hidden. */ package heads
18,800
https://github.com/kmadden84/techdegree-project-9/blob/master/db/index.js
Github Open Source
Open Source
MIT
null
techdegree-project-9
kmadden84
JavaScript
Code
163
467
'use strict'; var fs = require('fs'); var path = require('path'); var Sequelize = require('sequelize'); var basename = path.basename(module.filename); const options = { dialect: 'sqlite', storage: 'fsjstd-restapi.db', operatorsAliases: false, sync: { force: false, alter: true } // define: { // tim...
33,311
https://github.com/scalajs-io/phaser/blob/master/src/main/scala/io/scalajs/dom/html/phaser/BitmapText.scala
Github Open Source
Open Source
Apache-2.0
2,021
phaser
scalajs-io
Scala
Code
469
889
package io.scalajs.dom.html.phaser import io.scalajs.dom.html.pixijs import scala.scalajs.js import scala.scalajs.js.annotation.JSGlobal /** * BitmapText objects work by taking a texture file and an XML or JSON file that describes the font structure. * It then generates a new Sprite object for each letter of the...
45,741
https://github.com/percussion/percussioncms/blob/master/deployer/src/test/java/com/percussion/deployer/objectstore/idtypes/PSApplicationIdContextTest.java
Github Open Source
Open Source
LicenseRef-scancode-dco-1.1, Apache-2.0, OFL-1.1, LGPL-2.0-or-later
2,023
percussioncms
percussion
Java
Code
629
3,117
/* * Copyright 1999-2023 Percussion Software, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
28,347
https://github.com/maxreader/custom-map-colors/blob/master/data-updates.lua
Github Open Source
Open Source
MIT
null
custom-map-colors
maxreader
Lua
Code
3
35
require("code.entities-and-paths") require("code.fancy-trees") require("code.map-tiles-code")
15,319
https://github.com/phr00t/FocusEngine/blob/master/sources/engine/Xenko.Rendering/Rendering/SortKey.cs
Github Open Source
Open Source
MIT
2,023
FocusEngine
phr00t
C#
Code
76
191
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; namespace Xenko.Rendering { /// <summary> /// Sort key used /// </summary...
41,966
https://github.com/socialsky-io/offline-license-server/blob/master/main_extras.go
Github Open Source
Open Source
Apache-2.0
2,021
offline-license-server
socialsky-io
Go
Code
217
732
/* Copyright AppsCode Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distri...
41,394
https://github.com/oucsaw/silver/blob/master/silver/api/exceptions.py
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,016
silver
oucsaw
Python
Code
34
78
from rest_framework import status from rest_framework.exceptions import APIException class APIConflictException(APIException): status_code = status.HTTP_409_CONFLICT default_detail = 'The request could not be completed due to a conflict ' \ 'with the current state of the resource.'
28,553
https://github.com/restato/bunnybook/blob/master/backend/notification/models.py
Github Open Source
Open Source
MIT
2,022
bunnybook
restato
Python
Code
84
273
import datetime as dt from typing import Optional, Dict from uuid import UUID from pydantic import BaseModel from sqlalchemy import Column, Table, ForeignKey, Boolean from sqlalchemy.dialects.postgresql import JSON from database.core import metadata from database.utils import uuid_pk, created_at, PgUUID notification...
31,996
https://github.com/googleinterns/vectio/blob/master/homatransport/src/transport/HomaConfigDepot.h
Github Open Source
Open Source
Apache-2.0
2,020
vectio
googleinterns
C
Code
835
1,627
/* Copyright (c) 2015-2016 Stanford University * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(...
27,813
https://github.com/rmachielse/ember-data-paperclip/blob/master/tests/integration/helpers/file-url-test.js
Github Open Source
Open Source
MIT
2,017
ember-data-paperclip
rmachielse
JavaScript
Code
88
301
import { expect } from 'chai'; import { describe, it, beforeEach } from 'mocha'; import { setupComponentTest } from 'ember-mocha'; import hbs from 'htmlbars-inline-precompile'; import File from 'ember-data-paperclip/objects/file'; describe('Integration | Helper | file url', function() { setupComponentTest('file-url'...
3,423
https://github.com/CaptainCaffeine/subdivision/blob/master/src/renderer/shaders/light_fragment_shader.glsl
Github Open Source
Open Source
MIT
null
subdivision
CaptainCaffeine
GLSL
Code
13
33
#version 430 core out vec4 colour; void main() { colour = vec4(1.0f); }
45,933
https://github.com/zhangminkefromflydish/RedisX/blob/master/src/main/java/redis/clients/jedis/client/JedisCmdExecutor.java
Github Open Source
Open Source
Apache-2.0
null
RedisX
zhangminkefromflydish
Java
Code
1,328
4,255
package redis.clients.jedis.client; import redis.clients.jedis.JedisSentinelPools; import redis.clients.jedis.ShardedJedisSentinel; import redis.clients.jedis.*; import java.io.PrintWriter; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.text.DecimalFormat; import java...
31,218
https://github.com/kungfooman/pcui/blob/master/src/binding/history.js
Github Open Source
Open Source
MIT
2,021
pcui
kungfooman
JavaScript
Code
522
1,340
import Events from './events'; /** * @name HistoryAction * @class * @classdesc A history action * @property {string} name The name of the action * @property {Function} undo The undo function * @property {Function} redo The redo function * @property {boolean} combine Whether to combine with the previous action w...
42,717
https://github.com/Lakshya-Saini/Restaurant-Webapp/blob/master/delete_store.php
Github Open Source
Open Source
MIT
2,021
Restaurant-Webapp
Lakshya-Saini
PHP
Code
27
96
<?php include 'auth/database.php'; if(isset($_GET['id'])) { $store_id = $_GET['id']; $query = "DELETE FROM store WHERE id = '" . $store_id . "'"; mysqli_query($connect, $query); header('Location: store.php'); } ?>
42,724
https://github.com/htdong/mdb-template/blob/master/src/app/ngrx/user/users.reducers.ts
Github Open Source
Open Source
Unlicense
null
mdb-template
htdong
TypeScript
Code
58
178
import { initialState } from '../initial.state'; import { UsersActionTypes } from './users.actions'; export function UsersReducers( state = initialState, { type, payload }) { switch (type) { case UsersActionTypes.GET_MANY_USERS: return Object.assign({}, state, {pending: true, error: null}); case Users...
11,459
https://github.com/timgates42/embox/blob/master/src/drivers/mmc/core/mmc_host.c
Github Open Source
Open Source
BSD-2-Clause
null
embox
timgates42
C
Code
675
2,628
/** * @file mmc_simple.h * @brief * @author Denis Deryugin <deryugin.denis@gmail.com> * @version * @date 18.10.2019 */ #include <errno.h> #include <limits.h> #include <drivers/block_dev.h> #include <drivers/block_dev/partition.h> #include <drivers/mmc/mmc.h> #include <drivers/mmc/mmc_core.h> #include <drivers/mm...
26,959
https://github.com/bendraaisma-zz/gnuob-api/blob/master/src/main/java/br/com/netbrasoft/gnuob/api/order/PayPalExpressCheckOutWebServiceRepository.java
Github Open Source
Open Source
Apache-2.0
2,016
gnuob-api
bendraaisma-zz
Java
Code
328
1,667
/* * Copyright 2016 Netbrasoft * * 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 writi...
38,484
https://github.com/VitaliaPiliuhina/vividus/blob/master/vividus-plugin-azure-cosmos-db/src/test/java/org/vividus/azure/cosmos/CosmosDbStepsTests.java
Github Open Source
Open Source
Apache-2.0
null
vividus
VitaliaPiliuhina
Java
Code
338
1,142
/* * Copyright 2019-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
9,405
https://github.com/EL20202/ultimate-crosscode-typedefs/blob/master/modules/game.feature.player.modifiers.d.ts
Github Open Source
Open Source
MIT
null
ultimate-crosscode-typedefs
EL20202
TypeScript
Code
120
622
// requires impact.base.game export {}; declare global { namespace sc { interface Modifier { icon: number; order: number; noPercent?: boolean; } interface MODIFIERS { AIM_SPEED: Modifier; AIM_STABILITY: Modifier; AIMING_MOVEMENT: Modifier; KNOCKBACK: Modifier; ...
23,241
https://github.com/CiaccoDavide/DefinitelyTyped/blob/master/types/nginstack__web-framework/lib/dsv/VisualizationFilter.d.ts
Github Open Source
Open Source
MIT
2,022
DefinitelyTyped
CiaccoDavide
TypeScript
Code
42
112
export = VisualizationFilter; declare function VisualizationFilter(name: string, type: string, size: number): void; declare class VisualizationFilter { constructor(name: string, type: string, size: number); name: string; type: string; size: number; targets: any[]; private propertiesToAssign_; ...
260
https://github.com/InnovateUKGitHub/innovation-funding-service/blob/master/ifs-data-layer/ifs-data-service/src/main/java/org/innovateuk/ifs/review/repository/ReviewRepository.java
Github Open Source
Open Source
MIT
2,022
innovation-funding-service
InnovateUKGitHub
Java
Code
169
653
package org.innovateuk.ifs.review.repository; import org.innovateuk.ifs.application.domain.Application; import org.innovateuk.ifs.review.domain.Review; import org.innovateuk.ifs.review.resource.ReviewState; import org.innovateuk.ifs.user.domain.User; import org.innovateuk.ifs.workflow.repository.ProcessRepository; imp...
5,940
https://github.com/2sic/2sxc/blob/master/Src/Sxc.Tests/ToSic.Sxc.Tests/LinksAndImages/UrlHelperTests/Obj2UrlMerge.cs
Github Open Source
Open Source
MIT
2,023
2sxc
2sic
C#
Code
127
573
using Microsoft.VisualStudio.TestTools.UnitTesting; using ToSic.Sxc.Web.Url; using static Microsoft.VisualStudio.TestTools.UnitTesting.Assert; namespace ToSic.Sxc.Tests.LinksAndImages.UrlHelperTests { [TestClass] public class Obj2UrlMerge { // Test accessor private string SerializeWithChil...
42,422
https://github.com/namjagbrawa/framework/blob/master/bingo-rpc/bingo-rpc-api/src/main/java/com/bingo/framework/rpc/filter/ExceptionFilter.java
Github Open Source
Open Source
Apache-2.0
2,018
framework
namjagbrawa
Java
Code
356
1,394
package com.bingo.framework.rpc.filter; import java.lang.reflect.Method; import com.bingo.framework.common.exception.BingoException; import com.bingo.framework.common.Constants; import com.bingo.framework.common.extension.Activate; import com.bingo.framework.common.logger.Logger; import com.bingo.framework.common.log...
1,526