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/qinshenxue/vue-audio-player/blob/master/src/router.js
Github Open Source
Open Source
MIT
null
vue-audio-player
qinshenxue
JavaScript
Code
13
40
module.exports = { routes: [ { path: '/', component: require('./views/demo.vue') } ] }
24,313
https://github.com/howcroft/stratum/blob/master/stratum/p4c_backends/fpm/bcm/BUILD
Github Open Source
Open Source
Apache-2.0
2,019
stratum
howcroft
Starlark
Code
270
1,070
# # Copyright 2018 Google LLC # Copyright 2018-present Open Networking Foundation # # 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...
37,411
https://github.com/JasnaMRB/scaloi/blob/master/src/test/scala/scaloi/syntax/ClassOpsTest.scala
Github Open Source
Open Source
Apache-2.0
2,018
scaloi
JasnaMRB
Scala
Code
59
198
package scaloi.syntax import javax.annotation.{Resource, Resources} import org.scalatest._ class ClassOpsTest extends FlatSpec with OptionValues with Matchers { import `class`._ import ClassOpsTest._ behavior of "ClassOps" it should "return class annotations" in { classOf[TestAnnotated].annotation[Res...
3,222
https://github.com/forcedotcom/comdagen/blob/master/src/main/java/com/salesforce/comdagen/config/SystemCodeConfig.kt
Github Open Source
Open Source
CC-BY-SA-3.0, LicenseRef-scancode-unknown-license-reference
2,022
comdagen
forcedotcom
Kotlin
Code
50
156
/* * Copyright (c) 2018, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: BSD-3-Clause * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ package com.salesforce.comdagen.config import com.fasterxml.jackson.annotation.JsonPro...
25,002
https://github.com/jimmyhmiller/IdrisScript/blob/master/IdrisScript/JSON.idr
Github Open Source
Open Source
BSD-2-Clause
2,022
IdrisScript
jimmyhmiller
null
Spoken
93
195
module IdrisScript.JSON import IdrisScript %access public export ||| Converts an object into a JSON string stringfy : JSValue (JSObject c) -> JS_IO String stringfy obj = jscall "JSON.stringfy(%0)" (Ptr -> JS_IO String) (unpack obj) ||| Parses a JSON string parse : String -> JS_IO (Maybe (c ** JSValue (JSObject c)))...
39,395
https://github.com/raulsanchez/portal-test-as/blob/master/app/Http/Controllers/UsersController.php
Github Open Source
Open Source
MIT
null
portal-test-as
raulsanchez
PHP
Code
243
733
<?php namespace App\Http\Controllers; use App\Models\User; use App\Models\Role; use App\Http\Requests; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Hash; class UsersController extends Controller { /** * Muestra la lista de usuarios. * @return \Illumin...
22,689
https://github.com/uidops/manpages-openbsd/blob/master/man1/FvwmIconMan.1
Github Open Source
Open Source
BSD-2-Clause
2,021
manpages-openbsd
uidops
null
Spoken
3,643
7,695
.\" $OpenBSD: FvwmIconMan.1,v 1.1.1.1 2006/11/26 10:53:49 matthieu Exp $ .\" t .\" @(#)FvwmIconMan.1 6/17/1998 .de EX \"Begin example .ne 5 .if n .sp 1 .if t .sp .5 .nf .in +.5i .. .de EE .fi .in -.5i .if n .sp 1 .if t .sp .5 .. .TH FvwmIconMan 1 "June 17, 1998" 1.3 .UC .SH NAME FvwmIconMan \- an Fvwm Icon Man...
11,245
https://github.com/second-round/MultiImageSelector-master/blob/master/app/src/main/java/me/nereo/multiimageselector/MyImageView.java
Github Open Source
Open Source
MIT
null
MultiImageSelector-master
second-round
Java
Code
1,257
3,266
package me.nereo.multiimageselector; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Matrix; import android.graphics.RectF; import android.graphics.drawable.Drawable; import android.os.Handler; import android.util.AttributeSet; import android.view.KeyEvent; import android.widget...
20,421
https://github.com/cjcalmeida/car-loan-calculator/blob/master/car-loan-notification/src/main/java/com/cjcalmeida/carloan/notification/domain/Mail.java
Github Open Source
Open Source
MIT
null
car-loan-calculator
cjcalmeida
Java
Code
254
744
package com.cjcalmeida.carloan.notification.domain; import org.hibernate.validator.internal.util.CollectionHelper; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.UUID; @Entity @Table(name = "email", catalog = "notifica...
16,393
https://github.com/abrams27/mimuw/blob/master/sem4/so/zadania/zad5/minix_source/usr/src/minix/lib/libsys/pci_first_dev.c
Github Open Source
Open Source
MIT
2,021
mimuw
abrams27
C
Code
91
388
/* pci_first_dev.c */ #include "pci.h" #include "syslib.h" #include <minix/sysutil.h> /*===========================================================================* * pci_first_dev * *===========================================================================*/ int pci_first_dev(devindp, vidp, didp) int ...
14,426
https://github.com/RaiMan/SikuliX1/blob/master/API/src/main/java/org/sikuli/guide/SxFlag.java
Github Open Source
Open Source
MIT
2,023
SikuliX1
RaiMan
Java
Code
436
1,778
/* * Copyright (c) 2010-2020, sikuli.org, sikulix.com - MIT license */ /** * */ package org.sikuli.guide; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.FontMetrics; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Rectangl...
27,542
https://github.com/roguextech/ImperialSpaceSociety-Project-Mach-1/blob/master/Flight computer/Software/Atmel studio projects/SAMD flight computer code/SAMD flight computer code/hal/include/hpl_spi.h
Github Open Source
Open Source
Unlicense, MIT
2,022
ImperialSpaceSociety-Project-Mach-1
roguextech
C
Code
773
1,562
/** * \file * * \brief SPI related functionality declaration. * * Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchip ...
52,643
https://github.com/appcorn/cordova-plugin-siths-manager/blob/master/src/ios/Precise/doc/Reference Manual/search/properties_76.js
Github Open Source
Open Source
MIT
2,018
cordova-plugin-siths-manager
appcorn
JavaScript
Code
5
57
var searchData= [ ['version',['version',['../interface_p_b_library.html#ae05c8718ec064c3f96a67faba204c695',1,'PBLibrary']]] ];
27,586
https://github.com/estherkimyunjung/LeetCode-Interview-Prep/blob/master/jun_2021/657_RobotReturnToOrigin.js
Github Open Source
Open Source
MIT
2,021
LeetCode-Interview-Prep
estherkimyunjung
JavaScript
Code
357
680
// There is a robot starting at position (0, 0), the origin, on a 2D plane. Given a sequence of its moves, judge if this robot ends up at (0, 0) after it completes its moves. // The move sequence is represented by a string, and the character moves[i] represents its ith move. Valid moves are R (right), L (left), U (up)...
38,249
https://github.com/PaperJamTeam/bibliothek/blob/master/bin/www.js
Github Open Source
Open Source
MIT
null
bibliothek
PaperJamTeam
JavaScript
Code
105
356
'use strict'; const logger = require('../logger'); const app = require('../app'); const https = require('https'); const fs = require('fs'); var options = { key: fs.readFileSync('./ssl/server.key'), cert: fs.readFileSync('./ssl/server.crt'), requestCert: false, rejectUnauthorized: false, }; app.set('port', proce...
12,197
https://github.com/antonnell/BrowserBNB/blob/master/app/view/src/app/services/network_endpoint_mapping.ts
Github Open Source
Open Source
MIT
2,021
BrowserBNB
antonnell
TypeScript
Code
26
191
export enum NETWORK_ENDPOINT_MAPPING { 'MAINNET' = 'https://dex.binance.org/', 'MAINNET_ASIA' = 'https://dex-asiapacific.binance.org/', 'MAINNET_ATLANTIC' = 'https://dex-atlantic.binance.org/', 'MAINNET_EUROPE' = 'https://dex-european.binance.org/', 'TESTNET' = 'https://testnet-dex.binance.org/', ...
31,202
https://github.com/thanhbinh2412/blog-vhec/blob/master/Blog_API/src/module/category-module/category-controller/category-controller.controller.ts
Github Open Source
Open Source
MIT
2,021
blog-vhec
thanhbinh2412
TypeScript
Code
32
81
import { Controller, Get, Post } from '@nestjs/common'; import { CategoryService } from '../category-service'; @Controller('category') export class CategoryControllerController { constructor(private readonly service: CategoryService) {} @Post('get') getUser() { return 'get user'; } }
27,000
https://github.com/panncakemahogany/The-Griddle.github.io/blob/master/GuildCarsMastery/GuildCarsMastery.sln
Github Open Source
Open Source
MIT
2,018
The-Griddle.github.io
panncakemahogany
null
Spoken
183
1,471
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.27130.2020 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GuildCarsMastery", "GuildCarsMastery\GuildCarsMastery.csproj", "{A229EF1A-06DD-4717-BC12-1C7BB6F96D4A}" En...
43,644
https://github.com/KargJonas/modular-alpha/blob/master/plugins/modular.prebuilt.js
Github Open Source
Open Source
MIT
2,018
modular-alpha
KargJonas
JavaScript
Code
85
290
// Modular Prebuilt Components // Jonas Karg 2018 "use strict"; if (typeof modular !== "object") throw new Error("(Modular-Plugin):\n--> Modular not found.\n--> Modular is required for plugins to work."); modular.addPlugin({ name: "prebuilt_components", version: "0.1", onInit() { let _modular_pre...
8,892
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/美团-吃喝玩乐,尽在美团-9.0.0(越狱应用)_headers/HTKMerchantPhotoHeaderCell.h
Github Open Source
Open Source
MIT
2,018
Just_a_dumper
i-gaven
Objective-C
Code
86
345
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <UIKit/UICollectionViewCell.h> @class HTKMerchantPhotoMoreButton, HTKMerchantSectionInfo, UILabel; @interface HTKMerchantPhot...
46,699
https://github.com/87kangsw/GitTime/blob/master/GitTime/Sources/Models/Repository.swift
Github Open Source
Open Source
MIT
2,022
GitTime
87kangsw
Swift
Code
83
198
// // Repository.swift // GitTime // // Created by Kanz on 11/08/2019. // Copyright © 2019 KanzDevelop. All rights reserved. // import Foundation struct Repository: ModelType { let id: Int let owner: User let name: String let url: String let description: String? let language: String? v...
22,480
https://github.com/dobleamarilla/nestborrar/blob/master/src/parametros/parametros.clase.spec.ts
Github Open Source
Open Source
MIT
2,021
nestborrar
dobleamarilla
TypeScript
Code
20
62
import { ParametrosClase } from './parametros.clase'; describe('ParametrosClase', () => { it('should be defined', () => { expect(new ParametrosClase()).toBeDefined(); }); });
53,123
https://github.com/PrimeCodingSolutions/otree-core/blob/master/otree/oTree/bad_influence/migrations/0015_message_player.py
Github Open Source
Open Source
MIT
2,020
otree-core
PrimeCodingSolutions
Python
Code
34
153
# Generated by Django 2.2.4 on 2020-04-21 07:13 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('bad_influence', '0014_remove_message_player'), ] operations = [ migrations.AddField( model_name...
39,646
https://github.com/flistergod/HarFile-Distributed-Processor/blob/master/src/Mapper.java
Github Open Source
Open Source
MIT
null
HarFile-Distributed-Processor
flistergod
Java
Code
312
1,241
import com.google.common.collect.ImmutableSet; import com.google.common.collect.Sets; import java.io.File; import java.io.FileOutputStream; import java.net.MalformedURLException; import java.rmi.Naming; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.rmi.server.UnicastRemoteObject; impo...
33,538
https://github.com/itzpankajpanwar/UNIX-File-System/blob/master/main.cpp
Github Open Source
Open Source
MIT
2,021
UNIX-File-System
itzpankajpanwar
C++
Code
44
203
#include "header.h" #include "count_name_path.cpp" #include "normalMode_print.cpp" #include "commandMode.cpp" #include "copy_move_rename.cpp" #include "create_delete.cpp" #include "goto_search.cpp" char *root; int main(int argc, char **argv) { if(argc==1) { string s="."; char *path=new char[s.length()+1...
22,032
https://github.com/rdk-fotografie/website/blob/master/src/styles.scss
Github Open Source
Open Source
MIT
null
website
rdk-fotografie
SCSS
Code
1,752
7,914
/*-------------------------------------------------------------- TABLE OF CONTENT ---------------------------------------------------------------- 1.0 VARIABLE | 1.1 COLOR | 1.2 TYPOGRAPHY | 1.3 LAYOUT 2.0 FOUNDATION 3.0 TYPOGRAPHY 4.0 IMAGE 5.0 LAYOUT 6.0 COMPONENT | 6.1 CTA | 6.2 BUTTON | 6.3 TOGGLE | 6.4 CARD...
45,179
https://github.com/ShopeeCrawler/DataPipeline/blob/master/dags/tools/worker1.py
Github Open Source
Open Source
MIT
2,022
DataPipeline
ShopeeCrawler
Python
Code
267
1,237
import requests import re from datetime import datetime from random import uniform import time from data.mongodb import DataLake import logging logging.basicConfig(level=logging.DEBUG) logger = logging.getLogger(__name__) def retry_with_backoff(retries: int=4, backoff_in_seconds: int=1): def rwb(get_data): ...
49,289
https://github.com/BrianMath-zz/ExerciciosPython/blob/master/Exercicios - Mundo1/Ex001.py
Github Open Source
Open Source
MIT
2,020
ExerciciosPython
BrianMath-zz
Python
Code
4
16
#Ex. 001 print("Olá, Mundo!")
12,651
https://github.com/yy736044583/ncsq1/blob/master/application/synchronization/controller/Businessup.php
Github Open Source
Open Source
Apache-2.0
null
ncsq1
yy736044583
PHP
Code
173
980
<?php namespace app\synchronization\controller; use think\Db; use think\Request; //中心接口 class Businessup{ /** * 中心服务器 * 叫号中转 * 业务更新中转 */ public function index(){ $action = input('action'); if($action=='business'){ $this->business(); } } // 获取更新业务 置后同步各个分中心 public function business(){ ...
33,801
https://github.com/ornelahunda/philart/blob/master/client/src/components/UserNav/UserNav.js
Github Open Source
Open Source
MIT
2,020
philart
ornelahunda
JavaScript
Code
118
450
import React, { Component } from 'react'; import { Navbar, Nav, NavItem , MenuItem, NavDropdown} from 'react-bootstrap'; import { Link } from 'react-router-dom'; import API from '../../utils/API'; import './UserNav.css'; export default class CustomNavbar extends Component { render() { return ( <Navbar ...
28,676
https://github.com/gitter-badger/Unity-Visual-Behavior-Tree/blob/master/Assets/Plugins/UniRx/Scripts/UnityEngineBridge/Diagnostics.meta
Github Open Source
Open Source
MIT
2,018
Unity-Visual-Behavior-Tree
gitter-badger
Unity3D Asset
Code
16
76
fileFormatVersion: 2 guid: a2e9fc22f60bc9d49bd3e964610fa541 folderAsset: yes timeCreated: 1522374662 licenseType: Free DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
44,969
https://github.com/rustyrazorblade/cassandra-sidecar/blob/master/src/test/java/org/apache/cassandra/sidecar/AbstractHealthServiceTest.java
Github Open Source
Open Source
Apache-2.0
null
cassandra-sidecar
rustyrazorblade
Java
Code
364
1,242
/* * 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 ...
48,792
https://github.com/spacefrogg/nixpkgs/blob/master/pkgs/applications/networking/browsers/uzbl/default.nix
Github Open Source
Open Source
MIT
2,021
nixpkgs
spacefrogg
null
Spoken
138
515
{ stdenv, fetchurl, pkgconfig, python3, makeWrapper, pygtk , webkit, glib_networking, gsettings_desktop_schemas, pythonPackages }: # This package needs python3 during buildtime, # but Python 2 + packages during runtime. stdenv.mkDerivation rec { name = "uzbl-v0.9.0"; meta = with stdenv.lib; { description = "T...
3,597
https://github.com/rwth-acis/mobsos-query-visualization/blob/master/app/src/main/java/i5/las2peer/services/mobsos/queryVisualization/caching/MethodResultCache.java
Github Open Source
Open Source
BSD-3-Clause
2,023
mobsos-query-visualization
rwth-acis
Java
Code
213
621
package i5.las2peer.services.mobsos.queryVisualization.caching; //import java.util.concurrent.ConcurrentMap; import java.util.concurrent.TimeUnit; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; //import com.google.common.collect.MapMaker; import i5.las2peer.services.mobsos.queryVi...
30,740
https://github.com/willman0982/MSSQL-CICD-Helper/blob/master/MSSQL-CICD-Helper/Private/Configuration/currentversion.ps1
Github Open Source
Open Source
MIT
2,018
MSSQL-CICD-Helper
willman0982
PowerShell
Code
34
75
Function CurrentVersion { <# .Synopsis Returns version of the current software for checking config file etc. .DESCRIPTION Returns version of the current software for checking config file etc. .EXAMPLE ImportConfig #> return 'v1.0.0' }
52,914
https://github.com/facebook/folly/blob/master/folly/concurrency/CacheLocality.cpp
Github Open Source
Open Source
MIT, Apache-2.0
2,023
folly
facebook
C++
Code
2,185
6,218
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 appl...
41,521
https://github.com/Rowantrek/A3-Antistasi/blob/master/Tools/StreetArtist/functions/NavGridDraw/fn_NG_draw_main.sqf
Github Open Source
Open Source
MIT
2,022
A3-Antistasi
Rowantrek
SQF
Code
316
1,149
/* Maintainer: Caleb Serafin Use `[] spawn A3A_fnc_NGSA_import;` for importing from clipboard. Loads navGridHM from localNamespace >> "A3A_NGPP" >> "navGridHM" (Re)draws new markers according to user settings. Arguments: <SCALAR> Thickness of line, 1-high density, 4-normal, 8-Stratis world view, 16-Sea...
32,381
https://github.com/AllenJB/ci-boilerplate/blob/master/application/config/crons.php
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,015
ci-boilerplate
AllenJB
PHP
Code
61
109
<?php // Save log file to disk $config['log_to_disk'] = true; // Log output to the console // We disable this on live to avoid Tim receiving emails he doesn't care about $config['log_to_console'] = false; // Email even when the cron succeeds (always emails on failure) // I'm setting this to on initially, and then wi...
7,421
https://github.com/youtube/cobalt/blob/master/starboard/shared/win32/audio_sink.cc
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,023
cobalt
youtube
C++
Code
1,593
6,777
// Copyright 2017 The Cobalt Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
33,844
https://github.com/alotaiba/LED_GFX/blob/master/examples/alignments/alignments.ino
Github Open Source
Open Source
MIT
2,020
LED_GFX
alotaiba
null
Spoken
58
270
#include "LED_GFX.h" Sequence seq1, seq2, seq3; const int brightness = 6; const int rows = 41; const int columns = 7; LED_GFX gfx(rows, columns, brightness); SYSTEM_THREAD(ENABLED); void setup() { gfx.begin(); seq1.setText("Left", alignmentLeft); seq1.setAnimationIn(effectDisplay, 0, 3000); seq1.setAnimati...
15,575
https://github.com/tmissao/python-template/blob/master/app/tests/test_api_person_domain.py
Github Open Source
Open Source
MIT
null
python-template
tmissao
Python
Code
255
1,095
# pylint: disable=redefined-outer-name import pytest from ..api.people.domain import PersonDomain from ..api.people.model import Person @pytest.fixture def domain(): return PersonDomain() @pytest.fixture def person(): return Person(id=1, first_name='Tiago', last_name='Missão', age=28, gend...
41,244
https://github.com/ZipDriver/TCI/blob/master/projects_example/TciClient/source/dsp/Spectrum/Spectrum.cpp
Github Open Source
Open Source
MIT
2,022
TCI
ZipDriver
C++
Code
369
1,340
// Copyright (c) 2017 Expert Electronics // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "Spectrum.h" #define IS_TWO_POW(x) ((!((x)&((x)-1)))&&((x)>1)) bool Spectrum::fft(COMPLEX *pSrcDst, quint32 len, bool directFFT)...
13,250
https://github.com/zellyn/adventofcode/blob/master/2020/14/main.go
Github Open Source
Open Source
MIT
null
adventofcode
zellyn
Go
Code
437
1,123
package main import ( "fmt" "os" "regexp" "strconv" "strings" ) var memRe = regexp.MustCompile(`^mem\[(\d+)\] = (\d+)$`) const allOnes = 1<<36 - 1 func parseMask1(s string) (int, int, error) { orMask := 0 andMask := 0 if len(s) != 36 { return 0, 0, fmt.Errorf("weird mask: %q", s) } for _, c := range s {...
50,760
https://github.com/karamoik/inv/blob/master/application/views/admincetak/daftar_customer.php
Github Open Source
Open Source
MIT
null
inv
karamoik
PHP
Code
77
336
<div class="container"> <!-- Example DataTables Card--> <div class="card mb-3"> <div class="card-header"> <i class="fa fa-table"></i> Daftar Customer</div> <div class="card-body"> <div class="table-responsive"> <table class="table table-bordered" id="dataTa...
1,609
https://github.com/LEMERA4/DoTo-list/blob/master/server/_refs.d.ts
Github Open Source
Open Source
MIT
2,016
DoTo-list
LEMERA4
TypeScript
Code
16
92
/** * Created by ronze on 2/16/2016. */ ///<reference path="typings/main.d.ts"/> ///<reference path="local_typings/rethinkdb.d.ts"/> ///<reference path="local_typings/rethinkdbdash.d.ts"/> ///<reference path="local_typings/bcryptjsAsync.d.ts"/>
27,003
https://github.com/magnolia-community/react-area51-alpha/blob/master/magnolia-react-area51/src/react-magnolia.js
Github Open Source
Open Source
MIT
2,019
react-area51-alpha
magnolia-community
JavaScript
Code
432
1,387
import React from "react"; import ReactDOM from "react-dom"; //import config from './magnolia.config'; //import config from './mapping'; import MagnoliaConfigContext from "./MagnoliaConfigContext"; const getParent = parentPath => { const content = window.singlePageConfig.content; parentPath = parentPath.split("/"...
21,426
https://github.com/Sywooch/crown/blob/master/widgets/catalog/views/generalPage.php
Github Open Source
Open Source
BSD-3-Clause
2,015
crown
Sywooch
PHP
Code
95
362
<?php use yii\helpers\Url; /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ ?> <div class="novelty"> <div class="page"> <div class="region region-novelty"> <di...
3,298
https://github.com/Tosineben/cs193p/blob/master/Assignment5/SPoT/RecentFlickrPhotos.h
Github Open Source
Open Source
MIT
2,013
cs193p
Tosineben
Objective-C
Code
35
106
// // RecentFlickrPhotos.h // SPoT // // Created by Alden Quimby on 7/29/13. // Copyright (c) 2013 CS193p. All rights reserved. // #import <Foundation/Foundation.h> @interface RecentFlickrPhotos : NSObject + (NSArray *)allPhotos; + (void)addPhoto:(NSDictionary *)photo; @end
40,455
https://github.com/sdumencic/ticketSystem/blob/master/resources/views/posts/index.blade.php
Github Open Source
Open Source
MIT, Unlicense
null
ticketSystem
sdumencic
PHP
Code
207
1,002
@extends('layouts.app') @section('content') <br> <h1>Tickets</h1> <!--<div class="row row-cols-3 row-cols-md-4">--> @if(count($posts) > 0) <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> ...
34,916
https://github.com/maxogden/WisBlock/blob/master/examples/common/IO/RAK12014_VL53L0X_Laser_Radar/RAK12014_Gesture_Tap/RAK12014_Gesture_Tap.ino
Github Open Source
Open Source
MIT
2,022
WisBlock
maxogden
null
Spoken
307
1,273
/** @file RAK12014_Gesture_Tap.ino @author rakwireless.com @brief detect tap gesture @version 0.1 @date 2021-8-28 @copyright Copyright (c) 2020 **/ #include <Wire.h> #include <vl53l0x_class.h> // Click to install library: http://librarymanager/All#stm32duino_vl53l0x #include <tof_gestures.h> // Clic...
41,059
https://github.com/PKRoma/ReactiveUI/blob/master/integrationtests/IntegrationTests.XamarinForms.UWP/MainPage.xaml.cs
Github Open Source
Open Source
MIT, LicenseRef-scancode-free-unknown, LicenseRef-scancode-proprietary-license
2,022
ReactiveUI
PKRoma
C#
Code
92
197
// Copyright (c) 2021 .NET Foundation and Contributors. All rights reserved. // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for full license information. namespace IntegrationTests.Xam...
18,727
https://github.com/carolahp/pharo/blob/master/src/Athens-Morphic/TransformationMorph.extension.st
Github Open Source
Open Source
MIT
2,018
pharo
carolahp
null
Spoken
23
71
Extension { #name : #TransformationMorph } { #category : #'*Athens-Morphic' } TransformationMorph >> drawOnAthensCanvas: anAthensCanvas [ submorphs isEmpty ifTrue: [super drawOnAthensCanvas: anAthensCanvas] ]
53,320
https://github.com/Mostafa-At-GitHub/algorithm/blob/master/coursera/Algorithms/string/RabinKarp.java
Github Open Source
Open Source
Unlicense
2,018
algorithm
Mostafa-At-GitHub
Java
Code
224
567
import edu.princeton.cs.algs4.In; import edu.princeton.cs.algs4.StdIn; import edu.princeton.cs.algs4.StdOut; public class RabinKarp { private String pat; // Only needed for Las Vegas private long patHash; private int M; private long Q; private int R = 256; private long RM; public RabinKarp(String pat) { th...
50,163
https://github.com/SAP-samples/sap-iot-hyperscaler-azure-integration-ref/blob/master/notification-processor/src/main/java/com/sap/iot/azure/ref/notification/processing/model/DataEntity.java
Github Open Source
Open Source
Apache-2.0
2,022
sap-iot-hyperscaler-azure-integration-ref
SAP-samples
Java
Code
30
120
package com.sap.iot.azure.ref.notification.processing.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @Builder @AllArgsConstructor @NoArgsConstructor @JsonIgnoreProperties(ignoreUnk...
20,424
https://github.com/timfel/netbeans/blob/master/ide/xml/src/org/netbeans/modules/xml/wizard/impl/ExternalReferenceDecorator.java
Github Open Source
Open Source
Apache-2.0
2,022
netbeans
timfel
Java
Code
416
854
/* * 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 ...
16,413
https://github.com/Silas217209/multiplicationapp/blob/master/lib/language/german.dart
Github Open Source
Open Source
MIT
null
multiplicationapp
Silas217209
Dart
Code
624
1,393
// ignore_for_file: non_constant_identifier_names class German { String appbar = "Multiplikation"; String einstellungenlabel = "Einstellungen"; String statistikenlabel = "Statistiken"; String Uben = "Üben"; String Testen = "Testen"; String sterne5 = "Sehr gut, du hast"; String sterne4 = "Gut, du hast"; ...
30,683
https://github.com/DongweiYe/muscle3/blob/master/libmuscle/cpp/src/libmuscle/tests/mocks/mock_peer_manager.hpp
Github Open Source
Open Source
Apache-2.0
2,020
muscle3
DongweiYe
C++
Code
137
584
#pragma once #include <ymmsl/ymmsl.hpp> #include <libmuscle/endpoint.hpp> #include <string> #include <unordered_map> #include <vector> namespace libmuscle { namespace impl { using PeerDims = std::unordered_map<ymmsl::Reference, std::vector<int>>; using PeerLocations = std::unordered_map< ymmsl::Reference,...
34,685
https://github.com/jenniew/analytics-zoo/blob/master/zoo/src/main/scala/com/intel/analytics/zoo/common/Utils.scala
Github Open Source
Open Source
Apache-2.0
null
analytics-zoo
jenniew
Scala
Code
198
493
/* * Copyright 2018 Analytics Zoo Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
26,060
https://github.com/hds-lab/dsechatweb/blob/master/dsechat/static/js/consent_form.js
Github Open Source
Open Source
MIT
2,014
dsechatweb
hds-lab
JavaScript
Code
47
191
/** * Created by mjbrooks on 9/30/2014. */ (function () { $(document).ready(function() { var conf = window.consent_form; if (!conf || !conf.consent_field_selector) { return; } var consentField = $(conf.consent_field_selector); var consentForm = $('.consent-f...
51,146
https://github.com/tuzz/audio_mixer/blob/master/examples/stopping_playback.rs
Github Open Source
Open Source
MIT
2,021
audio_mixer
tuzz
Rust
Code
190
547
use audio_mixer::*; use std::{io::Cursor, thread::sleep, time::Duration}; // This example is the same as examples/ogg_file.rs except it explicitly stops // the audio part-way through which ends the iterator. If you want to resume // playback again later, use PausableAudio instead of StoppableAudio. // // The iterator ...
44,428
https://github.com/d9k/ts-node/blob/master/src/test/repl/helpers.ts
Github Open Source
Open Source
MIT
null
ts-node
d9k
TypeScript
Code
398
1,307
import * as promisify from 'util.promisify'; import { PassThrough } from 'stream'; import { getStream, TEST_DIR, tsNodeTypes } from '../helpers'; import type { ExecutionContext } from 'ava'; import { expect, TestInterface } from '../testlib'; export interface ContextWithTsNodeUnderTest { tsNodeUnderTest: Pick< t...
51,117
https://github.com/Sally7/demo/blob/master/src/views/shop/shop_page_au.vue
Github Open Source
Open Source
MIT
null
demo
Sally7
Vue
Code
1,173
8,010
<!--店铺页面au--> <template> <div class="app-container" id="wrapper"> <breadcrumb class="breadcrumb-container"></breadcrumb> <div class="coms-lib-wrap"> <div class="coms-lib coms-lib-active"> <div class="coms-lib-tab"> <div class="coms-lib-tab-icon"> <i class="el-icon-caret-rig...
35,954
https://github.com/MrLaki5/Shadow-mapping-OpenGL4-/blob/master/JOGL/jogl-java-src/com/jogamp/opengl/GL4ES3.java
Github Open Source
Open Source
MIT
null
Shadow-mapping-OpenGL4-
MrLaki5
Java
Code
95
273
/* !---- DO NOT EDIT: This file autogenerated by com/jogamp/gluegen/opengl/GLEmitter.java on Sat Oct 10 03:17:31 CEST 2015 ----! */ package com.jogamp.opengl; import java.util.*; import com.jogamp.opengl.*; import com.jogamp.opengl.fixedfunc.*; import jogamp.opengl.*; import java.io.PrintStream; import com.jogamp.glu...
10,631
https://github.com/teresuec/TereFamiAI/blob/master/samples/敵がいたら攻撃AI/MyTerefamiAI/common.cpp
Github Open Source
Open Source
MIT
2,016
TereFamiAI
teresuec
C++
Code
712
1,924
// // キャラクタ共通の設計(common.cpp) // // ※このファイルの内容は書き換えないで下さい #include <Windows.h> #include <time.h> #include "ai.h" #include "common.h" #ifdef __cplusplus #define EXPORT extern "C" __declspec(dllexport) #else #define EXPORT __declspec(dllexport) #endif BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID ...
45,227
https://github.com/silvestreh/kbjs/blob/master/client/src/stylesheets/static-components/button.scss
Github Open Source
Open Source
MIT
null
kbjs
silvestreh
SCSS
Code
148
565
@import 'src/stylesheets/modules/colors'; .button, button { display: inline-block; line-height: 2.75rem; height: 3rem; padding: 0 1.25rem; box-sizing: border-box; color: $color-accent; outline: none; background-color: transparent; cursor: pointer; transition: width 1s, border-ra...
52,259
https://github.com/nul800sebastiaan/Umbraco-CMS/blob/master/src/Umbraco.Infrastructure/Logging/Serilog/Enrichers/HttpSessionIdEnricher.cs
Github Open Source
Open Source
MIT
2,022
Umbraco-CMS
nul800sebastiaan
C#
Code
147
466
using System; using Serilog.Core; using Serilog.Events; using Umbraco.Cms.Core.Net; namespace Umbraco.Cms.Core.Logging.Serilog.Enrichers { /// <summary> /// Enrich log events with the HttpSessionId property. /// Original source - https://github.com/serilog-web/classic/blob/master/src/SerilogWeb.Classic/Cl...
5,740
https://github.com/shubhamhackz/calmly/blob/master/lib/src/bloc/breathe/breathe_counter_event.dart
Github Open Source
Open Source
Unlicense
2,022
calmly
shubhamhackz
Dart
Code
19
59
abstract class BreatheCounterEvent {} class OneBreatheCounterEvent extends BreatheCounterEvent {} class CompletedBreatheCounterEvent extends BreatheCounterEvent {} class EndBreatheCounterEvent extends BreatheCounterEvent {}
26,046
https://github.com/shauste/iwcc/blob/master/pages/domain.php
Github Open Source
Open Source
MIT
null
iwcc
shauste
PHP
Code
271
1,482
<?php $showlist = true; $id = rex_request('id', 'int', 0); $func = rex_request('func', 'string'); $csrf = rex_csrf_token::factory('iwcc_domain'); $clang_id = (int)str_replace('clang', '', rex_be_controller::getCurrentPagePart(3)); $table = rex::getTable('iwcc_domain'); $msg = ''; if ($func == 'delete') { $db = rex_...
45,195
https://github.com/dlinov/truerss/blob/master/src/main/scala/truerss/db/UserSettingsDao.scala
Github Open Source
Open Source
MIT
2,022
truerss
dlinov
Scala
Code
147
521
package truerss.db import slick.jdbc.JdbcBackend.DatabaseDef import slick.sql.FixedSqlAction import truerss.db.driver.CurrentDriver import zio.Task class UserSettingsDao(val db: DatabaseDef)(implicit driver: CurrentDriver) { import JdbcTaskSupport._ import driver.profile.api._ import driver.query.userSettings ...
34,060
https://github.com/amchakra/tosca/blob/master/bin/filter_blat.py
Github Open Source
Open Source
MIT
2,022
tosca
amchakra
Python
Code
228
695
#!/usr/bin/env python # Script to filter blat blast8 output # A. M. Chakrabarti # 27th March 2019 import sys import gzip import time # ========== # Functions # ========== # Function to count number of valid reads def CountReads(blast_in, e_value, max_hits): counter = 0 reads = {} with gzip.open(b...
26,076
https://github.com/wujinfeng/RBAC/blob/master/server/models/UserModel.js
Github Open Source
Open Source
Apache-2.0
null
RBAC
wujinfeng
JavaScript
Code
350
1,140
/** * 用户管理 */ const BaseModel = require('./BaseModel'); const mysql = require('mysql'); class UserModel extends BaseModel { getUserById(userId, callback) { let self = this; let sql = `SELECT b.id,b.mobile,b.username,b.name FROM ${self.baseDb}user b WHERE b.id=?`; let execParam = self.ge...
8,642
https://github.com/OpenLocalizationTestOrg/ECMA2YamlTestRepo2/blob/master/fulldocset/add/codesnippet/CPP/m-system.io.isolatedstor_1_2.cpp
Github Open Source
Open Source
CC-BY-4.0, MIT
2,017
ECMA2YamlTestRepo2
OpenLocalizationTestOrg
C++
Code
67
223
IsolatedStorageFile^ isoFile; isoFile = IsolatedStorageFile::GetUserStoreForDomain(); // Open or create a writable file. IsolatedStorageFileStream^ isoStream = gcnew IsolatedStorageFileStream( this->userName,FileMode::OpenOrCreate,FileAccess::Write,isoFile ); Strea...
4,715
https://github.com/ITKontekst/empiria.player/blob/master/src/test/java/eu/ydp/empiria/player/client/module/ordering/presenter/OrderingShowingAnswersControllerJUnitTest.java
Github Open Source
Open Source
Apache-2.0
2,017
empiria.player
ITKontekst
Java
Code
234
881
/* * Copyright 2017 Young Digital Planet S.A. * * 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 applicab...
54,093
https://github.com/leoliew/koa-starter-kit/blob/master/src/user/model/VerificationCode.ts
Github Open Source
Open Source
MIT
null
koa-starter-kit
leoliew
TypeScript
Code
96
278
import { Document, Model, Schema } from 'mongoose' import { dbs } from '../../connection' import { lib } from '../modules' const {Constant} = lib import * as _ from 'lodash' const mongodb = dbs.get(Constant.DATABASE.MONGODB_CONFIG.MAIN_DB_NAME) const modelName = 'verificationCode' export interface IVerificationCode...
35,790
https://github.com/jordaoqualho/Lorena-Felicio/blob/master/node_modules/react-native-reanimated/lib/commonjs/core/AnimatedCallFunc.js
Github Open Source
Open Source
MIT
2,021
Lorena-Felicio
jordaoqualho
JavaScript
Code
369
1,101
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createAnimatedCallFunc = createAnimatedCallFunc; var _AnimatedNode = _interopRequireWildcard(require("./AnimatedNode")); var _AnimatedBlock = require("./AnimatedBlock"); var _val = require("../val"); var _invariant = _interopReq...
24,679
https://github.com/npocmaka/Windows-Server-2003/blob/master/shell/inc/objwindow.h
Github Open Source
Open Source
Unlicense
2,021
Windows-Server-2003
npocmaka
C
Code
75
243
#ifndef _OBJWINDOW_H_ #define _OBJWINDOW_H_ #pragma warning(disable:4100) // disable 'unreferenced formal parameter' because this params are needed for interface compat. class CObjectWindow : public IOleWindow { public: CObjectWindow(void) {} virtual ~CObjectWindow() {} //*** IUnknown **** // (clie...
37,728
https://github.com/mrerdem/Desk-LM/blob/master/output/Preprocessing_OM.py
Github Open Source
Open Source
MIT
2,021
Desk-LM
mrerdem
Python
Code
231
1,364
import numpy as np from sklearn import preprocessing from OutputMgr import OutputMgr # Pre-procssing parameters def savePPParams(scaler, reduce_dims, estimator): #outdir = OutputMgr.checkCreateDSDir(estimator.dataset.name, estimator.nick) outdirI = OutputMgr.getOutIncludeDir() if scaler == None: ...
40,637
https://github.com/AchilleFlouret/app/blob/master/node_modules/mineral-ui/Grid/Grid.js
Github Open Source
Open Source
Apache-2.0
2,019
app
AchilleFlouret
JavaScript
Code
187
525
"use strict"; exports.__esModule = true; exports.default = void 0; var _core = require("@emotion/core"); var _react = _interopRequireWildcard(require("react")); var _styled = require("./styled"); var _constants = require("./constants"); var _propTypes = require("./propTypes"); function _interopRequireWildcard(ob...
22,036
https://github.com/openactive/openactive-test-suite/blob/master/packages/openactive-integration-tests/test/certification/certification-validator.js
Github Open Source
Open Source
MIT
2,023
openactive-test-suite
openactive
JavaScript
Code
1,016
3,108
const fs = require('fs'); const { Handler } = require('htmlmetaparser'); const { Parser } = require('htmlparser2'); const JSZip = require('jszip'); const assert = require('assert'); const path = require('path'); const { Worker } = require('worker_threads'); const INDEX_TESTS_IMPLEMENTED_JSON_FILE = path.join(__dirname...
47,694
https://github.com/HSMCode/prototyping107-mygamedesignyouluvit-AngelikaEhrlich/blob/master/Assets/Scripts/Projectile.cs.meta
Github Open Source
Open Source
MIT
2,021
prototyping107-mygamedesignyouluvit-AngelikaEhrlich
HSMCode
Unity3D Asset
Code
26
129
fileFormatVersion: 2 guid: 76e1211aa5c853a43850372d63e21f85 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: - scoreText: {fileID: 3092379440470309374, guid: ab651f1eb1024c147988c875a1c58cea, type: 3} executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: a...
2,220
https://github.com/renatobarbosa1997/DoltFood/blob/master/app/Http/Controllers/ControllerCardapio.php
Github Open Source
Open Source
MIT
null
DoltFood
renatobarbosa1997
PHP
Code
175
1,530
<?php namespace cardapio\Http\Controllers; use Illuminate\Support\Facades\DB; use Request; use Validator; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Foundation\Auth\Access\AuthorizesRequ...
36,800
https://github.com/jiangxinyu1/apriltags_tas/blob/master/catkin_ws/build_isolated/apriltags_msgs/CMakeFiles/apriltags_msgs_generate_messages_nodejs.dir/cmake_clean.cmake
Github Open Source
Open Source
BSD-3-Clause
null
apriltags_tas
jiangxinyu1
CMake
Code
17
226
file(REMOVE_RECURSE "CMakeFiles/apriltags_msgs_generate_messages_nodejs" "/home/xinyu/workspace/360/apriltag_Dir/apriltags_tas/catkin_ws/devel_isolated/apriltags_msgs/share/gennodejs/ros/apriltags_msgs/msg/AprilTag.js" "/home/xinyu/workspace/360/apriltag_Dir/apriltags_tas/catkin_ws/devel_isolated/apriltags_msgs/s...
30,649
https://github.com/pollend/rogl/blob/master/generator/src/const_parser.rs
Github Open Source
Open Source
Apache-2.0
null
rogl
pollend
Rust
Code
242
834
use nom::branch::alt; use nom::bytes::complete::tag; use nom::character::complete::{char, one_of}; use nom::combinator::{map_res, opt, recognize}; use nom::multi::{many0, many1}; use nom::sequence::{preceded, terminated, tuple}; use nom::IResult; use proc_macro2::{Span, TokenStream}; // Interleaves a number, for examp...
18,910
https://github.com/mustafaAlp/DocumentIndex/blob/master/Word.h
Github Open Source
Open Source
MIT
null
DocumentIndex
mustafaAlp
C
Code
127
358
/* * Word.h * * Created on: 18 Kas 2014 * Author: Mustafa ALP */ #ifndef WORD_H_ #define WORD_H_ #include <iostream> #include <string> using namespace std; namespace DocumentIndexNameSpace { // const macro represents last element of int* index #define END_OF_INDEX -1 class Word { public: //constructo...
10,048
https://github.com/PradnyaBora/strongbox/blob/master/strongbox-cron/strongbox-cron-tasks/src/test/java/org/carlspring/strongbox/cron/jobs/OneTimeExecutionCronJobTestIT.java
Github Open Source
Open Source
Apache-2.0
2,017
strongbox
PradnyaBora
Java
Code
133
625
package org.carlspring.strongbox.cron.jobs; import org.carlspring.strongbox.cron.context.CronTaskTest; import org.carlspring.strongbox.cron.domain.CronTaskConfiguration; import org.carlspring.strongbox.cron.services.CronTaskConfigurationService; import org.carlspring.strongbox.cron.services.JobManager; import org.carl...
51,218
https://github.com/AMReX-Codes/AMReX-Codes.github.io/blob/master/amrex/docs_html/doxygen/AMReX__ParallelReduce_8H.js
Github Open Source
Open Source
BSD-2-Clause, LicenseRef-scancode-unknown-license-reference
2,023
AMReX-Codes.github.io
AMReX-Codes
JavaScript
Code
231
2,091
var AMReX__ParallelReduce_8H = [ [ "ReduceOp", "AMReX__ParallelReduce_8H.html#a05ef6e98eba987410d73df1617fa569d", [ [ "max", "AMReX__ParallelReduce_8H.html#a05ef6e98eba987410d73df1617fa569da86cadfc48eb8f9dd4a2e4a3980a6b265", null ], [ "min", "AMReX__ParallelReduce_8H.html#a05ef6e98eba987410d73df1617fa56...
53,972
https://github.com/S4TURN0/atomic-python/blob/master/atomic-python.py
Github Open Source
Open Source
MIT
2,021
atomic-python
S4TURN0
Python
Code
144
603
#!/usr/bin/python3 from lib.scriptslib import * from utils.banner import banners import argparse parse = argparse.ArgumentParser(description="Esse código serve para realizar um portscan") parse.add_argument('-a','--auto',action="store_true",dest="automation",help="Automatiza todo o processo de discovery, scanning e we...
45,394
https://github.com/truthiswill/intellij-community/blob/master/plugins/groovy/testdata/highlighting/missingReturn/ClosureWithExplicitExpectedType.groovy
Github Open Source
Open Source
Apache-2.0
2,020
intellij-community
truthiswill
Groovy
Code
44
109
def foo(Closure<String> c) { return c().substring(1) } foo { print 2 <warning descr="Not all execution paths return a value">}</warning> foo { 's' } foo { if (a) 's' <warning descr="Not all execution paths return a value">}</warning> foo { if (a) 'a' else 'b' }
44,561
https://github.com/pragmaxim/sigmastate-interpreter/blob/master/scalanizer/src/main/scala/special/sigma/scalanizer/SigmaPlugin.scala
Github Open Source
Open Source
MIT
2,022
sigmastate-interpreter
pragmaxim
Scala
Code
67
235
package special.sigma.scalanizer import scala.tools.nsc.Global import scalan.meta.{ConfMap, TargetModuleConf, SourceModuleConf} import scalan.meta.scalanizer.ScalanizerConfig import scalan.plugin.{ScalanizerPluginConfig, ScalanizerPlugin} import special.sigma.config.SigmaLibraryConfig class SigmaPlugin(g: Global) ext...
9,649
https://github.com/bawn/LCTextView/blob/master/LCTextViewDemo/ViewController.m
Github Open Source
Open Source
MIT
2,016
LCTextView
bawn
Objective-C
Code
94
282
// // ViewController.m // LCTextViewDemo // // Created by bawn on 10/28/15. // Copyright © 2015 bawn. All rights reserved. // #import "ViewController.h" #import "LCTextView.h" @interface ViewController () @property (nonatomic, strong) IBOutlet LCTextView *textView; @end @implementation ViewController - (void)...
40,914
https://github.com/punyabhagyani/SEP_WE_006/blob/master/application/views/pages/activityLog.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,016
SEP_WE_006
punyabhagyani
PHP
Code
69
369
<!-- Start Body Content --> <div class="page-header parallax" style="background-image:url(http://localhost/ci/images/black_infiniti.jpg); height:300px"></div> <div class="main" role="main"> <div id="content" class="content full"> <div class="container"> <div class="row"> <d...
12,090
https://github.com/ferjorosa/TheraBeta/blob/master/app/actors/WebSocketsActor.scala
Github Open Source
Open Source
Apache-2.0
2,015
TheraBeta
ferjorosa
Scala
Code
204
569
package actors import java.util.UUID import akka.actor.Actor import play.Logger import play.api.libs.iteratee.Concurrent.Channel import play.api.libs.iteratee.{Concurrent, Enumerator} /** * Super easy actor-system implementation, it would not scale well in real life (only one actor for thousands of connected device...
49,936
https://github.com/ghempton/ember-script/blob/master/test/cli-eval-errors-files/0.em
Github Open Source
Open Source
BSD-3-Clause
2,020
ember-script
ghempton
null
Spoken
14
29
console.log "0 is main", module is require*.main exports.error = -> throw new Error("Test Error")
11,771
https://github.com/drinkwater-io/drinkwater-java/blob/master/components/drinkwater-api/src/main/java/drinkwater/trace/JavaLoggingEventLogger.java
Github Open Source
Open Source
Apache-2.0
2,017
drinkwater-java
drinkwater-io
Java
Code
85
254
package drinkwater.trace; import drinkwater.IBaseEventLogger; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Method; /** * Created by A406775 on 6/01/2017. */ public class JavaLoggingEventLogger implements IBaseEventLogger { private static Logger logger = LoggerFactory.getLo...
3,389
https://github.com/donsbot/hhvm/blob/master/hphp/test/slow/object_invoke_method/770.php
Github Open Source
Open Source
PHP-3.01, Zend-2.0
2,022
hhvm
donsbot
PHP
Code
29
93
<?hh // with var args class C9 { public function __invoke(...$args) { var_dump(count($args)); var_dump($args); } } <<__EntryPoint>> function main_770() { $c = new C9; $c(); $c(0); $c(0, 1); }
18,357
https://github.com/plugcore/plugcore/blob/master/seed/packages/back/src/role/model/role.model.ts
Github Open Source
Open Source
MIT
2,021
plugcore
plugcore
TypeScript
Code
66
162
import { IsBoolean, IsString, Required } from '@plugcore/framework-core'; import { HasPermissions } from '../../permission/model/permission.shared'; export class Role extends HasPermissions { @Required() @IsString({ maxLength: 128 }) public id: string; @Required() @IsString({ maxLength: 128 }) public name: str...
50,266
https://github.com/yoshoku/hnswlib-node/blob/master/src/addon.cc
Github Open Source
Open Source
Apache-2.0
null
hnswlib-node
yoshoku
C++
Code
4,177
15,764
/** * hnswlib-node provides Node.js bindings for Hnswlib. * * Copyright (c) 2022 Atsushi Tatsuma * * 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/license...
8,558
https://github.com/MTES-MCT/monitorenv/blob/master/frontend/src/features/layersSelector/utils/LayerSelector.style.ts
Github Open Source
Open Source
MIT
2,023
monitorenv
MTES-MCT
TypeScript
Code
352
1,251
import styled from 'styled-components' export const LAYER_SELECTOR_ROW_HEIGHT = 36 const IconGroup = styled.span` display: flex; justify-content: flex-end; align-items: center; flex: 0; ` const Layer = styled.span<{ $metadataIsShown?: boolean; $selected?: boolean }>` user-select: none; display: flex; t...
13,701
https://github.com/fanonwue/scannertool/blob/master/main.py
Github Open Source
Open Source
MIT
null
scannertool
fanonwue
Python
Code
273
784
#!/usr/bin/env python from pathlib import Path import re from SmtpConfig import SmtpConfig from EmailConfig import EmailConfig from MailFileAction import MailFileAction from MoveFileAction import MoveFileAction from MappingEntry import MappingEntry import csv import os import yaml # initial setup config = None try: ...
31,095
https://github.com/markchalloner/build-cloud/blob/master/lib/build-cloud/asgroup.rb
Github Open Source
Open Source
MIT
2,017
build-cloud
markchalloner
Ruby
Code
122
494
class BuildCloud::ASGroup include ::BuildCloud::Component @@objects = [] def initialize ( fog_interfaces, log, options = {} ) @as = fog_interfaces[:as] @log = log @options = options @log.debug( options.inspect ) required_options(:id, :launch_configurati...
24,619