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/willowtreeapps/android-instant-apps-demo/blob/master/instantapps-demo-cart/src/main/java/com/willowtreeapps/androidinstantappsdemo/feature/cart/ui/CartActivity.java
Github Open Source
Open Source
Apache-2.0
2,021
android-instant-apps-demo
willowtreeapps
Java
Code
213
995
package com.willowtreeapps.androidinstantappsdemo.feature.cart.ui; import android.arch.lifecycle.ViewModelProviders; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.graphics.drawable.VectorDrawableCompat; import android.support.v4.app.ShareCompat; import andr...
8,335
https://github.com/thehogster/runelite/blob/master/runelite-client/src/main/java/net/runelite/client/plugins/dxpdrops/XpDropsPlugin.java
Github Open Source
Open Source
BSD-2-Clause
null
runelite
thehogster
Java
Code
435
1,662
package net.runelite.client.plugins.dxpdrops; import com.google.inject.Provides; import net.runelite.api.Client; import net.runelite.api.GameState; import net.runelite.api.events.FakeXpDrop; import net.runelite.api.events.GameStateChanged; import net.runelite.api.events.ScriptPostFired; import net.runelite.api.events....
50,523
https://github.com/Feverfew/PythonMusicDownloader/blob/master/PythonMusicDownloader/tests.py
Github Open Source
Open Source
MIT
2,015
PythonMusicDownloader
Feverfew
Python
Code
95
389
import unittest import models import controllers import sys from PySide import QtGui, QtCore class TrackDownloaderTestCase(unittest.TestCase): def test_for_access_token(self): """Test will fail if there is no internet connection""" song_downloader = models.TrackDownloader("313666", "Eb0iVMUcPeym8...
22,539
https://github.com/qvistgaard/openrms/blob/master/internal/types/annotations/car.go
Github Open Source
Open Source
Apache-2.0
2,021
openrms
qvistgaard
Go
Code
14
85
package annotations const ( CarId = "github.com/qvistgaard/openrms/car/id" CarValueFieldName = "github.com/qvistgaard/openrms/car/field" CarControllerValueFieldName = "github.com/qvistgaard/openrms/car/controller/field" )
30,870
https://github.com/otnamrehus/AplikasiPKL/blob/master/application/views/admin/pelaksanaanpkl/editpelaksanaanpkl.php
Github Open Source
Open Source
MIT
2,021
AplikasiPKL
otnamrehus
PHP
Code
403
1,505
<!DOCTYPE html> <html lang="en"> <head> <?php $this->load->view("_partials/head.php") ?> </head> <body id="page-top"> <!-- Page Wrapper --> <div id="wrapper"> <!-- Sidebar --> <?php $this->load->view("_partials/sidebar.php") ?> <!-- End of Sidebar --> <!-- Content Wrappe...
34,145
https://github.com/bglover/idea-php-phpunit-plugin/blob/master/src/test/java/de/espend/idea/php/phpunit/type/GetMockTypeProviderTest.java
Github Open Source
Open Source
MIT
2,021
idea-php-phpunit-plugin
bglover
Java
Code
141
718
package de.espend.idea.php.phpunit.type; import com.intellij.patterns.PlatformPatterns; import com.jetbrains.php.lang.PhpFileType; import com.jetbrains.php.lang.psi.elements.Method; import de.espend.idea.php.phpunit.PhpUnitLightCodeInsightFixtureTestCase; /** * @author Daniel Espendiller <daniel@espendiller.net> * ...
11,953
https://github.com/hydrangeas/PhotoUploader/blob/master/CVPTest/Startup.cs
Github Open Source
Open Source
MIT
null
PhotoUploader
hydrangeas
C#
Code
169
758
using System; using System.Linq; using CVPTest.Models; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace CVPTest { public class Startup { priva...
3,523
https://github.com/JetBrains/intellij-community/blob/master/plugins/kotlin/j2k/old/tests/testData/fileOrElement/nullability/nullableInitializer4.kt
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
intellij-community
JetBrains
Kotlin
Code
70
216
// ERROR: Type mismatch: inferred type is String? but String was expected class TestJava { private var notNullInitializerFieldNullableUsage = "aaa" private var notNullInitializerFieldNotNullUsage = "aaa" private var nullInitializerFieldNullableUsage: String? = null private var nullInitializerFieldNotNu...
2,567
https://github.com/Wiuver-Ribeiro/psi-sicoob/blob/master/src/models/Appointment.php
Github Open Source
Open Source
MIT
null
psi-sicoob
Wiuver-Ribeiro
PHP
Code
991
3,644
<?php namespace src\models; class Appointment { public function todosAgendamentos() { require '../connnect.php'; $sql = $pdo->prepare(" SELECT a.idagendamentos as 'idagendamento', u1.nome as 'Paciente', u2.nome as 'Medico', a.inicio, a.fim, a.status FROM agendamentos as a INNER JOIN p...
28,889
https://github.com/srinivasarajui/VApps-old/blob/master/app/routes/admin-users.server.routes.js
Github Open Source
Open Source
MIT
2,014
VApps-old
srinivasarajui
JavaScript
Code
44
241
'use strict'; module.exports = function(app) { // Routing logic // ... var users = require('../../app/controllers/users'); var adminUsers = require('../../app/controllers/admin-users'); // Projects Routes app.route('/adminUsers') .get(users.requiresLogin,adminUsers.hasAuthorization,adminUsers.list) .post...
21,504
https://github.com/MaxIakovliev/Problems/blob/master/Leetcode/3Sum.cs
Github Open Source
Open Source
MIT
null
Problems
MaxIakovliev
C#
Code
164
420
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Problems.Leetcode { /// <summary> /// https://leetcode.com/problems/3sum/ /// </summary> public class _3Sum { public IList<IList<int>> ThreeSum(int[] nums) ...
44,161
https://github.com/jeduardo/terraform-provider-libvirt/blob/master/vendor/github.com/mitchellh/packer/builder/azure/arm/artifact_test.go
Github Open Source
Open Source
Apache-2.0
null
terraform-provider-libvirt
jeduardo
Go
Code
431
2,441
package arm import ( "fmt" "strings" "testing" ) func getFakeSasUrl(name string) string { return fmt.Sprintf("SAS-%s", name) } func TestArtifactId(t *testing.T) { template := CaptureTemplate{ Resources: []CaptureResources{ { Properties: CaptureProperties{ StorageProfile: CaptureStorageProfile{ ...
17,245
https://github.com/ASMlover/study/blob/master/cplusplus/SelServe/net/buffer.hh
Github Open Source
Open Source
BSD-2-Clause
2,021
study
ASMlover
C++
Code
1,649
3,864
#pragma once #include <array> #include <vector> #include "../common/common.hh" namespace sser::net { // holds a buffer that can be modified class MutableBuffer final : public Copyable { void* data_{}; sz_t size_{}; public: // construct an empty buffer MutableBuffer() noexcept {} // construct a buffer to r...
43,363
https://github.com/sergeyshushlyapin/Sitecore.FakeDb/blob/master/src/Sitecore.FakeDb/Data/Engines/DataCommands/DataEngineCommand.cs
Github Open Source
Open Source
MIT
2,019
Sitecore.FakeDb
sergeyshushlyapin
C#
Code
64
213
namespace Sitecore.FakeDb.Data.Engines.DataCommands { using System; using Sitecore.Data; using Sitecore.Diagnostics; public class DataEngineCommand { private const string ExceptionText = "Sitecore.FakeDb.Db instance has not been initialized."; private readonly string databaseName;...
3,703
https://github.com/glidebc/bepoapp_admin/blob/master/vendor/laravelrus/sleepingowl/src/Navigation.php
Github Open Source
Open Source
MIT
2,018
bepoapp_admin
glidebc
PHP
Code
439
1,525
<?php namespace SleepingOwl\Admin; use Closure; use Illuminate\Support\Collection; use SleepingOwl\Admin\Navigation\Page; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Contracts\Support\Renderable; use SleepingOwl\Admin\Contracts\Navigation\PageInterface; class Navigation implements Renderable, Arrayabl...
29,225
https://github.com/KrimsonKing1337/activeBook-react/blob/master/src/components/SideEffects/components/SideShadow/SideShadow.scss
Github Open Source
Open Source
MIT
null
activeBook-react
KrimsonKing1337
SCSS
Code
78
240
.sideShadow { display: block; width: 100%; height: calc(100% + 60px); //100% + box-shadow width * 2 margin-top: -30px; //box-shadow width box-shadow: inset 0 0 30px var(--text-shadow-color); // animation: var(--text-shadow-animation) var(--text-shadow-animation-speed) ease infinite; animation: blink 1000...
44,482
https://github.com/MeepingGale/digital_sound/blob/master/part2/wave.cpp
Github Open Source
Open Source
MIT
2,020
digital_sound
MeepingGale
C++
Code
156
390
#include "wave.h" using namespace std; float SineWave::generateFunction(float time) { return sin(2.0 * M_PI * time); } float SquareWave::generateFunction(float time) { return 2 * (2 * floor(time) - floor(2 * time)) + 1; } float TriangleWave::generateFunction(float time) { return 2 * (fabs(2 * ((time) - ...
24,708
https://github.com/iij/legs-client/blob/master/go.mod
Github Open Source
Open Source
BSD-2-Clause
2,022
legs-client
iij
Go Module
Code
65
437
module github.com/iij/legs-client go 1.12 require ( github.com/golang/mock v1.2.0 github.com/golang/protobuf v1.5.2 // indirect github.com/gorilla/websocket v1.4.0 github.com/iij/legs-message v0.1.1 github.com/inconshreveable/mousetrap v1.0.0 // indirect github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35c...
19,849
https://github.com/BPRC-EcoInformatics/BPRC-EcoInformatics.github.io/blob/master/assets/scripts/4_MMA/_functions/kmeans.plot.s.am.R
Github Open Source
Open Source
CC0-1.0
2,017
BPRC-EcoInformatics.github.io
BPRC-EcoInformatics
R
Code
242
1,288
# Plotting relevant absence clusters, closest representative absence locations from kmeans clustering # Author : Tak Ikeda # Updated : January 2010 kmeans.plot.s.am <- function(sp.name, thresh=0, save.fig, file.out, preva=50) { # Start to measure process time ptm1 <- proc.time() # Load data setwd(paste("C...
9,282
https://github.com/hpi-swa-teaching/SWT17-Project-12/blob/master/packages/SqueakTutorial-Core.package/SqueakTutorialObjectMouse.class/instance/rightBlockBlocked.st
Github Open Source
Open Source
MIT
null
SWT17-Project-12
hpi-swa-teaching
null
Spoken
46
95
bounds rightBlockBlocked "Answers whether the right cell next to the mouse is blocked" | x y | (self gridX = (self playfield grid cellAmount - 1)) ifTrue: [^ true]. x := self gridX + 1. y := self gridY. ^ (self playfield gridCellAt: (x@y)) isBlockedCell: self
22,272
https://github.com/Danielr19/Everyday-Data-Structures/blob/master/Chapter08/Java/SilverLine.java
Github Open Source
Open Source
MIT
2,017
Everyday-Data-Structures
Danielr19
Java
Code
58
272
package main.java; /** * Created by William Smith on 9/19/16. */ public enum SilverLine { Wiehle_Reston_East, Spring_Hill, Greensboro, Tysons_Corner, McClean, East_Falls_Church, Ballston_MU, Virginia_Sq_GMU, Clarendon, Courthouse, Rosslyn, Foggy_Bottom_GWU, Farrag...
28,694
https://github.com/alexa/aac-sdk/blob/master/modules/core/engine/include/AACE/Engine/MessageBroker/MessageBrokerInterface.h
Github Open Source
Open Source
Apache-2.0
2,019
aac-sdk
alexa
C
Code
188
435
/* * Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "...
36,888
https://github.com/davemq/biobuilds/blob/master/rsem/1.3.0/use-alt-cxx.patch
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-3-Clause
2,019
biobuilds
davemq
null
Spoken
76
261
--- EBSeq/Makefile +++ EBSeq/Makefile @@ -1,4 +1,4 @@ -CXX = g++ +CXX ?= g++ PROGRAMS = EBSeq rsem-for-ebseq-calculate-clustering-info DEPENDENCIES = blockmodeling gplots gtools gdata caTools bitops KernSmooth --- Makefile +++ Makefile @@ -11,7 +11,7 @@ BOOST = . # Compilation variables -CXX = g++ +CXX ?= g++ ...
17,529
https://github.com/creative-commoners/silverstripe-globaltoolbar/blob/master/templates/Includes/Nav_BlogArchive.ss
Github Open Source
Open Source
BSD-3-Clause
2,019
silverstripe-globaltoolbar
creative-commoners
Scheme
Code
44
191
<ul class="nav navbar-nav secondary-right hidden-xs"> <li class="link"> <a class="icon ion-social-rss" href="<% if $ClassName == 'BlogHolder' %>{$Link}rss<% else %>{$Parent.Link}rss<% end_if %>" title="RSS Feed"><span class="sr-only">RSS Feed</span></a> </li> <li class="link"> <a class="icon ion-android-folder" ...
42,984
https://github.com/vonderborch/VS-Studio-Templates/blob/master/TemplateProjects/VisualStudio/2019/Xna/source/Core/Core.DevEnv/Program.cs
Github Open Source
Open Source
Unlicense
null
VS-Studio-Templates
vonderborch
C#
Code
118
463
using System; #if FNA using System.IO; using System.Runtime.InteropServices; #endif namespace $safeprojectname$ { public static class Program { #if FNA [DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] [return: MarshalAs(UnmanagedType.Bool)] static extern bool...
41,438
https://github.com/Ticopress/visbrain/blob/master/examples/brain/2_CustomBrainTemplate.py
Github Open Source
Open Source
BSD-3-Clause
2,017
visbrain
Ticopress
Python
Code
180
395
""" Use your own brain template =========================== Import a custom atlas and to adapt it to the software.""" import visbrain import numpy as np import vispy.visuals.transforms as vist # Define path and filename of the template : # path = os.path.dirname(visbrain.__file__)+'/examples/brain/' file = 'custom_te...
46,704
https://github.com/01alchemist/tungsten/blob/master/src/core/primitives/EmbreeUtil.hpp
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-unknown-license-reference, Zlib, BSD-3-Clause, MIT, BSL-1.0, Apache-2.0, LicenseRef-scancode-public-domain, Unlicense
2,017
tungsten
01alchemist
C++
Code
117
522
#ifndef EMBREEUTIL_HPP_ #define EMBREEUTIL_HPP_ #include "math/Ray.hpp" #include "math/Box.hpp" #include "math/Mat4f.hpp" #include <embree2/rtcore.h> #include <embree2/rtcore_ray.h> namespace Tungsten { namespace EmbreeUtil { void initDevice(); RTCDevice getDevice(); inline RTCBounds convert(const Box3f &b) { ...
9,187
https://github.com/KehanGit/SPIRES/blob/master/TimeSpace/Additional/identifyFields.m
Github Open Source
Open Source
Apache-2.0
2,021
SPIRES
KehanGit
MATLAB
Code
176
524
function [ endmember,attribute,varargout ] = identifyFields( S ) % identify the fields, and optionally the weights, cloud mask, and image mask % in the structure field = fieldnames(S); e = 1; a = 1; % revised to just include the following endmember = {'snow_fraction'}; attribute = {'grain_size','deltavis'}; for k=1:le...
35,111
https://github.com/rhausam/wine-crossover/blob/master/samba3/source/rpc_parse/parse_sec.c
Github Open Source
Open Source
MIT
null
wine-crossover
rhausam
C
Code
1,258
4,145
/* * Unix SMB/Netbios implementation. * Version 1.9. * RPC Pipe client / server routines * Copyright (C) Andrew Tridgell 1992-1998, * Copyright (C) Jeremy R. Allison 1995-2005. * Copyright (C) Luke Kenneth Casson Leighton 1996-1998, * Copyright (C) Paul Ashton 199...
28,913
https://github.com/MicrohexHQ/nacl_contracts/blob/master/src/trusted/service_runtime/nacl_syscall_handlers.h
Github Open Source
Open Source
BSD-3-Clause
2,015
nacl_contracts
MicrohexHQ
C
Code
68
199
/* * Copyright 2008 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can * be found in the LICENSE file. */ #ifndef SERVICE_RUNTIME_NACL_SYSCALL_HANDLERS_H__ #define SERVICE_RUNTIME_NACL_SYSCALL_HANDLERS_H__ 1 #include "native_client/src/include/na...
52,694
https://github.com/IMIS2020/ksthome-bkp-20thMay/blob/master/app/ModelScholarship/ApplicationMiscellaneousDetails.php
Github Open Source
Open Source
MIT
2,021
ksthome-bkp-20thMay
IMIS2020
PHP
Code
35
122
<?php namespace App\ModelScholarship; use Illuminate\Database\Eloquent\Model; use App\ModelScholarship\ApplicationDetails; class ApplicationMiscellaneousDetails extends Model { protected $table = 'applicationMiscellaneousDetails'; public $primarykey = 'id'; public $timestamp = true; public function ...
15,047
https://github.com/sdk-team/aliyun-openapi-net-sdk/blob/master/aliyun-net-sdk-emr/Emr/Transform/V20160408/DescribeClusterServiceConfigResponseUnmarshaller.cs
Github Open Source
Open Source
Apache-2.0
2,020
aliyun-openapi-net-sdk
sdk-team
C#
Code
478
2,670
/* * 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 ...
37,472
https://github.com/paigekehoe/ITPWebDev/blob/master/itp499/499-laravel/app/views/songs/search.php
Github Open Source
Open Source
MIT
2,015
ITPWebDev
paigekehoe
Hack
Code
42
161
<!doctype html> <html> <head> <title>Song Search</title> </head> <body> <form method="get" action="/songs"> <h1>Song Search</h1> <div> Song Title: <input type="text" name = "song_title"/> </div> <div> Artist: <input type="text" name = "artist"/> </div> <div> ...
25,290
https://github.com/agneum/wal-g/blob/master/tests_func/helpers/s3.go
Github Open Source
Open Source
Apache-2.0
2,022
wal-g
agneum
Go
Code
581
1,892
package helpers import ( "context" "fmt" "regexp" "strings" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/s3/s3manager" "github.com/wal-g/tracelog" ) const...
15,429
https://github.com/Dioftr/tugas-laravel/blob/master/resources/views/books/add-book.blade.php
Github Open Source
Open Source
MIT
null
tugas-laravel
Dioftr
PHP
Code
78
367
@extends('layouts.main-layouts'); @section('container') @if ($errors->any()) <div class="alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> </div> @endif <div class="card"> ...
38,610
https://github.com/jinwoov/cup-o-coffee/blob/master/spring-jwt/commands.sh
Github Open Source
Open Source
MIT
null
cup-o-coffee
jinwoov
Shell
Code
20
60
#!/bin/bash #Execute Spring application CMD="java -jar target/app.jar" $CMD & SERVICE_PID=$! #Execute Tests mvn test #Wait for Spring execution wait "$SERVICE_PID
34,844
https://github.com/NightOfTwelve/iOS-Cracked-Apps/blob/master/DumpedClasses/TencentLive/QLVRssMenuPageViewController.h
Github Open Source
Open Source
MIT
2,018
iOS-Cracked-Apps
NightOfTwelve
Objective-C
Code
319
1,720
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "QLBaseMenuPageViewController.h" #import "QLChannelOperateResultProtocol.h" #import "QLHomeActivityJumpProtocal.h" #import "QLJumpObjectOpenUrlDelegate.h" #import "QLThemeH...
33,451
https://github.com/Jokler/JC2MP-Scripts/blob/master/Racing/server/sCourseCheckpoint.lua
Github Open Source
Open Source
MIT
2,014
JC2MP-Scripts
Jokler
Lua
Code
312
939
function CourseCheckpoint:__init(course) self.course = course self.index = -1 self.position = nil self.radius = 12.05 self.type = 7 -- nil = Allow all vehicles and on-foot. -- {} -- Allow all vehicles but not on-foot. -- {0} = Only allow on-foot. self.validVehicles = nil self.useIcon = false self.checkpoin...
29,319
https://github.com/boba761/NTNMR_conf/blob/master/Src/Amos/TypeFiles/FileBuilders/FileTNT/SequenceRow.cs
Github Open Source
Open Source
MIT
null
NTNMR_conf
boba761
C#
Code
134
359
using System; using System.IO; using System.Text; namespace Amos.TypeFiles.FileBuilders.FileTNT { public class SequenceRow { public int columns; // Number of Columns public int address; // Address public int bitLength; // BitLength public int i...
21,198
https://github.com/JurgenStillaert/GroupBudget/blob/master/src/account/GroupBudget.Account.Domain/AccountState.cs
Github Open Source
Open Source
MIT
null
GroupBudget
JurgenStillaert
C#
Code
48
158
using Codefondo.DDD.Kernel; namespace GroupBudget.Account.Domain { public class AccountState : Value<AccountState> { public AccountStateEnum Value { get; } public AccountState(AccountStateEnum value) { Value = value; } public static AccountState CreateOpen() => new AccountState(AccountStateEnum.Open)...
12,673
https://github.com/Akhil-Kashyap/LeetCode-Solutions/blob/master/C++/combination-sum-iv.cpp
Github Open Source
Open Source
MIT
2,022
LeetCode-Solutions
Akhil-Kashyap
C++
Code
71
179
// Time: O(nlogn + n * t), t is the value of target. // Space: O(t) class Solution { public: int combinationSum4(vector<int>& nums, int target) { vector<uint32_t> dp(target + 1, 0); dp[0] = 1; sort(nums.begin(), nums.end()); for (int i = 1; i <= target; ++i) { for (int...
19,672
https://github.com/tinyx3k/fast-store-covid-19/blob/master/fast-store-fe/src/common/interface/dto/product.dto.ts
Github Open Source
Open Source
MIT
2,021
fast-store-covid-19
tinyx3k
TypeScript
Code
52
138
export interface AddNewProductForm { name: string; price: string; quantity: string; image: any; } export interface AddNewProductDto { name: string; price: number; quantity: number; image: File; } export interface UpdateProductDto { name: string; ...
41,997
https://github.com/Runepx4/libpointmatcher/blob/master/pointmatcher/ErrorMinimizers/PointToPlaneWithCov.cpp
Github Open Source
Open Source
BSD-3-Clause
null
libpointmatcher
Runepx4
C++
Code
598
2,244
// kate: replace-tabs off; indent-width 4; indent-mode normal // vim: ts=4:sw=4:noexpandtab /* Copyright (c) 2010--2012, François Pomerleau and Stephane Magnenat, ASL, ETHZ, Switzerland You can contact the authors at <f dot pomerleau at gmail dot com> and <stephane at magnenat dot net> All rights reserved. Redistrib...
27,962
https://github.com/tiwanari/drive/blob/master/app/src/androidTest/java/com/pileproject/drive/execution/NxtCarControllerTest.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, MIT
2,017
drive
tiwanari
Java
Code
449
2,153
/** * Copyright (C) 2011-2017 The PILE Developers <pile-dev@googlegroups.com> * * 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 * * ...
42,087
https://github.com/PokerN/inhom-quantum-boltzmann-fourier-c/blob/master/test/Cd_ref.m
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,015
inhom-quantum-boltzmann-fourier-c
PokerN
MATLAB
Code
125
433
function Cd = Cd_ref() %CD_REF - Calculate Cd integral at fixed parameters, reference for comparison with C implementation % % Cd = CD_REF() % parameters N = 32; R = 7.5; L = 12; J = 17; M = 15; % calculate quadrature weights % quadwI1 = fourierI1(N,L,J,R); quadwI2 = fourierI2(N,L,J,R); quadwI3 = fourierI3(N,L,J,M...
32,873
https://github.com/UsamaSarwar/weather-forecast/blob/master/weather/app/models/SearchLimit.php
Github Open Source
Open Source
MIT
2,021
weather-forecast
UsamaSarwar
PHP
Code
147
465
<?php namespace Fir\Models; class SearchLimit extends Model { /** * Get all the IP information * * @param array $params * @return array */ public function getIp($params) { $query = $this->db->prepare("SELECT * FROM `search_limit` WHERE `ip` = ?"); $query->bind_pa...
17,557
https://github.com/krish918/kornfl-ex/blob/master/src/home/stone/comment.php
Github Open Source
Open Source
Apache-2.0
2,013
kornfl-ex
krish918
PHP
Code
289
1,291
<?php /* Copyright 2012 KRISHNA MURTI 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 ...
38,554
https://github.com/sUeharaE4/mlcomp/blob/master/mlcomp/server/front/src/app/dag/dag-detail/dag-detail.module.ts
Github Open Source
Open Source
Apache-2.0
2,020
mlcomp
sUeharaE4
TypeScript
Code
49
175
import {NgModule} from '@angular/core'; import {CodeComponent} from './code/code.component'; import {ConfigComponent} from './config/config.component'; import {GraphComponent} from './graph/graph.component'; import {DagDetailRoutingModule} from './dag-detail-routing.module'; import { DagDetailComponent } from './dag-d...
48,741
https://github.com/CodyBatt/Swasey/blob/master/src/Swasey/Model/ServicePath.cs
Github Open Source
Open Source
MIT
2,019
Swasey
CodyBatt
C#
Code
67
194
using System; using System.Linq; namespace Swasey.Model { public sealed class ServicePath : BasePath { public ServicePath(string value) : base(value, IsValid) {} public static bool IsValid(string candidate) { return !string.IsNullOrWhiteSpace(candidate); ...
11,594
https://github.com/mmeexx37/groups/blob/master/python2/permutation.py
Github Open Source
Open Source
MIT
2,016
groups
mmeexx37
Python
Code
1,006
2,828
"""Permutations of finitely many positive integers""" import operator __all__ = ["Permutation"] class Permutation(object): def __init__(self, mapping=(), even=None, order=None, lehmer=None): # not for public use self._map = tuple(mapping) self._even = even self._order = order ...
26,103
https://github.com/chriscena/ModernNotes/blob/master/src/ModernNotes.WpfClient/Services/NotesService.cs
Github Open Source
Open Source
MIT
null
ModernNotes
chriscena
C#
Code
221
769
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GalaSoft.MvvmLight; using ModernNotes.WpfClient.Models; using Newtonsoft.Json; using RestSharp; using RestSharp.Deserializers; namespace ModernNotes.WpfClient.Services { public interface INotesSe...
8,101
https://github.com/bzergoni/Proyecto-CN/blob/master/ciudad/views/modificarPrograma.jade
Github Open Source
Open Source
MIT
null
Proyecto-CN
bzergoni
null
Spoken
50
305
extends layout block content p.title Modificar programa br br br if(!datosprograma || !datosprograma.existe) form(role='form', action="/modificarProgramaRedir",method="post") .form-group label(for='nombre_programaRedir') Nombre del programa...
5,879
https://github.com/trisadmeslek/V-Sekai-Blender-tools/blob/master/addons/Sprytile-6b68d00/rx/linq/observable/todict.py
Github Open Source
Open Source
MIT
2,022
V-Sekai-Blender-tools
trisadmeslek
Python
Code
138
382
from rx import Observable, AnonymousObservable from rx.internal import extensionmethod def _to_dict(source, map_type, key_selector, element_selector): def subscribe(observer): m = map_type() def on_next(x): try: key = key_selector(x) except Exception as ex: ...
24,512
https://github.com/timjacksonm/Depiction-App/blob/master/src/firebase/Config.js
Github Open Source
Open Source
BSD-Source-Code
null
Depiction-App
timjacksonm
JavaScript
Code
40
223
import * as firebase from 'firebase'; import 'firebase/app'; import 'firebase/auth'; import 'firebase/storage'; const firebaseConfig = { apiKey: 'AIzaSyBCFUm5qxFX0xBSjJzZ1RPj1bb7aAT3Oos', authDomain: 'depiction-51b60.firebaseapp.com', projectId: 'depiction-51b60', storageBucket: 'depiction-51b60.appspot.com', ...
36,755
https://github.com/sagar-arora/nibiru/blob/master/src/main/java/io/teknek/nibiru/client/RpcClient.java
Github Open Source
Open Source
Apache-2.0
2,016
nibiru
sagar-arora
Java
Code
90
368
package io.teknek.nibiru.client; import io.teknek.nibiru.transport.Response; import io.teknek.nibiru.transport.keyvalue.Set; import io.teknek.nibiru.transport.rpc.BlockingRpc; import io.teknek.nibiru.transport.rpc.BlockingRpcResponse; import io.teknek.nit.NitDesc; import java.io.IOException; import java.util.concurre...
33,633
https://github.com/ccxt/ccxt/blob/master/examples/php/bitfinex2-fetch-ohlcv-since-limit.php
Github Open Source
Open Source
MIT
2,023
ccxt
ccxt
PHP
Code
79
304
<?php $root = dirname(dirname(dirname(__FILE__))); include $root . '/ccxt.php'; date_default_timezone_set('UTC'); // instantiate the exchange by id $exchange = '\\ccxt\\bitfinex2'; $exchange = new $exchange(); // load all markets from the exchange $markets = $exchange->load_markets(); function run($exchange, $sym...
12,782
https://github.com/dchristo978/pemetaanEkonomiKeuskupanKetapang/blob/master/Pemetaan Ekonomi Ketapang/Controller/Global/GlobalParam.cs
Github Open Source
Open Source
MIT
2,020
pemetaanEkonomiKeuskupanKetapang
dchristo978
C#
Code
145
331
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Pemetaan_Ekonomi_Ketapang.Controller { class GlobalParam { public static int idPertanyaan = 0; //============= BUAT FORM IDENTITAS ======...
18,139
https://github.com/Kips-alih/jQuery-forms/blob/master/js/scripts.js
Github Open Source
Open Source
MIT
null
jQuery-forms
Kips-alih
JavaScript
Code
27
162
$(document).ready(function(){ $(".blanks form").submit(function(event){ var blanks= ["person1","person2","animal","exclamation","verb","noun"]; blanks.forEach(function(blank){ var userInput=$("input#"+blank).val(); $("."+blank).text(userInput); }); $("#story").show(); $("ul#u...
8,872
https://github.com/department-of-veterans-affairs/ChartReview/blob/master/web-app/js/siesta-3.0.1-lite/tests/cmd_app_touch/touch/resources/themes/stylesheets/sencha-touch/base/src/_all.scss
Github Open Source
Open Source
Apache-2.0, GPL-1.0-or-later, MIT, BSD-2-Clause, BSD-3-Clause, LGPL-3.0-only, LicenseRef-scancode-public-domain-disclaimer, MPL-2.0, LicenseRef-scancode-sencha-commercial, GPL-3.0-only, LicenseRef-scancode-sencha-app-floss-exception, LicenseRef-scancode-sencha-dev-floss-exception, LicenseRef-scancode-public-domain
2,022
ChartReview
department-of-veterans-affairs
SCSS
Code
80
314
// Layout @import "layout/Abstract"; @import "layout/Box"; @import "layout/Card"; @import "layout/Dock"; @import "layout/Fit"; @import "layout/Float"; // Utiities @import "util/PaintMonitor"; @import "util/SizeMonitor"; @import "util/Translatable"; // Components @import "Button"; @import "Class"; @import "Img"; @impo...
25,725
https://github.com/ppavlidis/modinvreg/blob/master/src/main/java/ubc/pavlab/rdp/repositories/PasswordResetTokenRepository.java
Github Open Source
Open Source
Apache-2.0
null
modinvreg
ppavlidis
Java
Code
46
208
package ubc.pavlab.rdp.repositories; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import ubc.pavlab.rdp.model.PasswordResetToken; import ubc...
51,353
https://github.com/minhajahmad/yui-examples/blob/master/crop3/index.php
Github Open Source
Open Source
BSD-3-Clause
2,009
yui-examples
minhajahmad
Hack
Code
193
1,137
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>YUI: Image Cropper: Multiple Image Croppers Per Page</title> <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.5.2/build/reset-fonts-grids/reset-fonts-grids.css"> <link rel=...
17,662
https://github.com/ctaylor4874/python_sqs_data_scraper/blob/master/helpers.py
Github Open Source
Open Source
MIT
null
python_sqs_data_scraper
ctaylor4874
Python
Code
197
669
import os import requests import json import logging import time from itertools import cycle from collections import namedtuple FOURSQUARE_CLIENT_ID = os.getenv('FOURSQUARE_CLIENT_ID') FOURSQUARE_CLIENT_SECRET = os.getenv('FOURSQUARE_CLIENT_SECRET') SECONDARY_FOURSQUARE_CLIENT_ID = os.getenv('SECONDARY_FOURSQUARE_CLIE...
12,851
https://github.com/blackberry/WebWorks/blob/master/api/CommonAPI/src/blackberry/common/push/PushDaemon.java
Github Open Source
Open Source
Apache-2.0
2,021
WebWorks
blackberry
Java
Code
1,167
2,972
/* * Copyright 2010-2011 Research In Motion Limited. * * 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 ...
46,118
https://github.com/Jackrekirby/AcCoRD2/blob/master/AcCoRD2/src/shapeless_passive_actor.h
Github Open Source
Open Source
MIT
null
AcCoRD2
Jackrekirby
C
Code
79
227
// The AcCoRD 2 Simulator (Actor - based Communication via Reaction - Diffusion) // Copyright 2021 Jack Kirby. All rights reserved. // For license details, read LICENSE.txt in the root AcCoRD2 directory #pragma once #include "passive_actor_no_shape.h" #include "passive_actor.h" namespace accord { class ShapelessPas...
14,459
https://github.com/jeet/tentacle/blob/master/vendor/plugins/hooks/campfire/vendor/tinder/init.rb
Github Open Source
Open Source
MIT
2,016
tentacle
jeet
Ruby
Code
12
18
# load it on demand from the campfire hook # require 'tinder'
30,982
https://github.com/RichCostello/s-web-react/blob/master/app/styles/pages/_DiscoveryPage.scss
Github Open Source
Open Source
MIT
2,017
s-web-react
RichCostello
SCSS
Code
902
3,505
.DiscoveryPage{ position: absolute; top: 0px; text-align: center; height: calc(100% - 65px); width: 100%; z-index: 999999; margin-top: 100px; header{ display: inline; } .map_canvas { position: absolute; height: calc(100% - 33px); width: calc(100% - 472px); top: 32px; ...
7,518
https://github.com/doric-pub/Doric/blob/master/doric-cli/assets-lib/iOS/Classes/DoricDemoPlugin.m
Github Open Source
Open Source
Apache-2.0
2,023
Doric
doric-pub
Objective-C
Code
17
62
#import "DoricDemoPlugin.h" @implementation DoricDemoPlugin - (void)call:(NSDictionary *)dic withPromise:(DoricPromise *)promise { [promise resolve:@"This is from iOS"]; } @end
30,096
https://github.com/grokys/Octokit.GraphQL/blob/master/Octokit.GraphQL/Model/SortBy.cs
Github Open Source
Open Source
MIT
2,018
Octokit.GraphQL
grokys
C#
Code
94
234
namespace Octokit.GraphQL.Model { using System; using System.Collections.Generic; using System.Linq.Expressions; using Octokit.GraphQL.Core; using Octokit.GraphQL.Core.Builders; /// <summary> /// Represents a sort by field and direction. /// </summary> public class SortBy : Queryabl...
13,268
https://github.com/jaamal/overclocking/blob/master/sources/BusinessObjects/src/serialization/products/SimpleSerializationHeuristic.java
Github Open Source
Open Source
MIT
null
overclocking
jaamal
Java
Code
276
702
package serialization.products; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import commons.utils.StreamHelpers; import dataContracts.Product; public class SimpleSerializationHeuristic extends AbstractSerializationHeuristic { @Override public void serializeProduct(Outpu...
47,647
https://github.com/chromium/chromium/blob/master/components/cronet/android/test/javatests/src/org/chromium/net/impl/CronetLoggerTest.java
Github Open Source
Open Source
BSD-3-Clause
2,023
chromium
chromium
Java
Code
1,287
6,765
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.net.impl; import static android.os.Process.THREAD_PRIORITY_BACKGROUND; import static android.os.Process.THREAD_PRIORITY_DEFAULT; import static com.google...
10,315
https://github.com/Bioconductor/Rsamtools/blob/master/inst/unitTests/test_pileup_querybins.R
Github Open Source
Open Source
MIT
2,023
Rsamtools
Bioconductor
R
Code
1,213
5,224
suppressMessages({ library(Rsamtools) library(RUnit) }) ## .run_all <- function() { ## tests <- ls(envir=parent.frame())[grep('test_*', ls(envir=parent.frame()))] ## cat(tests) ## lapply(tests, function(x) { cat(paste0(x, "...\n")); do.call(x, list()) } ) ## } fl <- system.file(package="Rsamtools"...
34,826
https://github.com/MacHu-GWU/Dev-Exp-Share/blob/master/docs/source/02-SDE/01-Program-Language/02-Python-Root/Awesome-Python-Library-for-Software-Development/anytree/test_with_custom_data.py
Github Open Source
Open Source
MIT
2,023
Dev-Exp-Share
MacHu-GWU
Python
Code
69
268
# -*- coding: utf-8 -*- import dataclasses from anytree import ( Node, RenderTree, ) @dataclasses.dataclass class NodeMixin: def __str__(self): return self.name @dataclasses.dataclass class Department(NodeMixin): name: str = dataclasses.field() @dataclasses.dataclass class Group(NodeMixin): ...
7,689
https://github.com/johnhof/swagger-injector/blob/master/index.js
Github Open Source
Open Source
MIT
2,019
swagger-injector
johnhof
JavaScript
Code
36
136
'use strict'; module.exports.frameworks = {}; module.exports.frameworks.base = require('./frameworks/base'); module.exports.frameworks.express = require('./frameworks/express'); module.exports.frameworks.koa = require('./frameworks/koa'); let build = (framework) => (config={}) => { let driver = new module.exports.f...
47,923
https://github.com/haonguyenit232/laravel/blob/master/app/Http/Controllers/Elearning/LessonController.php
Github Open Source
Open Source
MIT
null
laravel
haonguyenit232
PHP
Code
317
1,139
<?php namespace App\Http\Controllers\Elearning; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Models\Course; use App\Models\Lesson; use App\Traits\ElearningProcessDatabase; use Illuminate\Support\Facades\Auth; use Session; use Exception; class LessonController extends Controller { use...
19,920
https://github.com/RichardMedlin/CSI-SIEM/blob/master/curator/scripts/register-elasticsearch-snapshot-repo.sh
Github Open Source
Open Source
MIT
null
CSI-SIEM
RichardMedlin
Shell
Code
70
261
#!/bin/bash # Copyright (c) 2020 Battelle Energy Alliance, LLC. All rights reserved. if [ $# -gt 0 ]; then ES_URL="$1" elif [[ -n $ELASTICSEARCH_URL ]]; then ES_URL="$ELASTICSEARCH_URL" elif [[ -n $ES_HOST ]] && [[ -n $ES_PORT ]]; then ES_URL="http://$ES_HOST:$ES_PORT" else ES_URL="http://elasticsearch:9200"...
5,236
https://github.com/geneontology/noctua-models/blob/master/models/MGI_MGI_2442112.ttl
Github Open Source
Open Source
CC-BY-4.0
2,023
noctua-models
geneontology
Turtle
Code
975
11,212
<http://model.geneontology.org/MGI_MGI_2442112> a <http://www.w3.org/2002/07/owl#Ontology> . <http://geneontology.org/lego/evidence> a <http://www.w3.org/2002/07/owl#AnnotationProperty> . <http://geneontology.org/lego/hint/layout/x> a <http://www.w3.org/2002/07/owl#AnnotationProperty> . <http://geneontology.org/leg...
807
https://github.com/motdotla/dotenv/blob/master/tests/test-config.js
Github Open Source
Open Source
BSD-2-Clause
2,023
dotenv
motdotla
JavaScript
Code
539
1,685
const fs = require('fs') const os = require('os') const path = require('path') const sinon = require('sinon') const t = require('tap') const dotenv = require('../lib/main') const mockParseResponse = { test: 'foo' } let readFileSyncStub let parseStub t.beforeEach(() => { readFileSyncStub = sinon.stub(fs, 'readFile...
9,467
https://github.com/CryptoDevving/preact-fourconnect/blob/master/src/components/board/board.tsx
Github Open Source
Open Source
MIT
2,019
preact-fourconnect
CryptoDevving
TSX
Code
94
287
import { h } from "preact"; import Row from "../row"; import * as style from "./style.css"; interface BoardProps { cells: number[]; onClick: Function; onMouseOver: Function; columnSelected: number; playersTurn: boolean; } export const Board = (props: BoardProps) => { const rows: JSX.Element[] = []; let ...
34,153
https://github.com/inviwo/inviwo/blob/master/modules/meshrenderinggl/src/processors/rasterizationrenderer.cpp
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,023
inviwo
inviwo
C++
Code
818
2,734
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2019-2023 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
2,189
https://github.com/PerfCake/pc4nb-deprecated/blob/master/src/main/java/org/perfcake/pc4nb/wizards/visuals/MessageVisualPanel.java
Github Open Source
Open Source
Apache-2.0
2,015
pc4nb-deprecated
PerfCake
Java
Code
1,038
5,473
/* * Copyright 2015 Andrej Halaj. * * 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 ...
23,883
https://github.com/Hatchpad/hatchpad-shell/blob/master/snowballs/fillRequestParams.js
Github Open Source
Open Source
Apache-2.0
null
hatchpad-shell
Hatchpad
JavaScript
Code
88
219
module.exports = function(req, fieldsToGet, destinationPath) { var dot = require('dot-object'); return function() { var params = Array.isArray(fieldsToGet) ? fieldsToGet : [fieldsToGet]; var data = this.getData(); var path = destinationPath || '_params'; for (var i = 0; i < params.length; i++) { ...
4,460
https://github.com/brettrowberry/GiraffeWebApp/blob/master/GiraffeWebApp/.paket/load/monoandroid8.0/Microsoft.Extensions.DependencyInjection.csx
Github Open Source
Open Source
MIT
2,018
GiraffeWebApp
brettrowberry
C#
Code
6
116
namespace PaketLoadScripts #load "/home/justin/code/fsharp/GiraffeWebApp/GiraffeWebApp/.paket/load/monoandroid8.0/Microsoft.Extensions.DependencyInjection.Abstractions.csx" #r "/home/justin/.nuget/packages/microsoft.extensions.dependencyinjection/2.1.1/lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.dll"
10,841
https://github.com/rico345100/reminders-app-for-browsers/blob/master/webpack.dev.js
Github Open Source
Open Source
MIT
2,019
reminders-app-for-browsers
rico345100
JavaScript
Code
211
770
const path = require('path'); const webpack = require('webpack'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const CleanWebpackPlugin = require('clean-webpack-plugin'); module.exports = { devtool: 'source-map', devServer: { contentBase: './dist', historyApiFallback: true, ...
12,289
https://github.com/dyw934854565/guji/blob/master/dist/safeFun.js
Github Open Source
Open Source
MIT
2,020
guji
dyw934854565
JavaScript
Code
70
202
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = safeFun; var _getType = require('./getType'); function safeFun(fn, _thisArg, handle = console.log.bind(console, 'safefun error:')) { return function () { const args = [].slice.call(arguments, 0); try { co...
42,194
https://github.com/mapbox/mapbox-navigation-ios/blob/master/Tests/MapboxCoreNavigationTests/RerouteControllerTests.swift
Github Open Source
Open Source
MIT, ISC, LicenseRef-scancode-unknown-license-reference
2,023
mapbox-navigation-ios
mapbox
Swift
Code
337
1,575
import MapboxDirections import MapboxNavigationNative import XCTest @testable import TestHelper @testable import MapboxCoreNavigation final class RerouteControllerTests: TestCase { class DelegateSpy: ReroutingControllerDelegate { var onWantsSwitchToAlternative: ((RouteResponse, Int, RouteOptions, RouterOri...
623
https://github.com/Dongmyung/UdacityND035C3Critter/blob/master/src/main/java/com/udacity/jdnd/course3/critter/schedule/ScheduleRepository.java
Github Open Source
Open Source
MIT
null
UdacityND035C3Critter
Dongmyung
Java
Code
33
180
package com.udacity.jdnd.course3.critter.schedule; import com.udacity.jdnd.course3.critter.pet.Pet; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import javax.transaction.Transactional; import java.util.List; @Repository public interface ScheduleRepos...
25,869
https://github.com/tomiwatech/asset-management-system/blob/master/public/js/controller.js
Github Open Source
Open Source
MIT
2,017
asset-management-system
tomiwatech
JavaScript
Code
929
3,304
var app = angular.module('Asset', ['ui.router']); app.config(function ($stateProvider, $urlRouterProvider) { $stateProvider .state('login', { url: '/login', views: { layout: { templateUrl: "templates/login.html" } }, ...
41,150
https://github.com/mfrisbey/node-smb-server/blob/master/spec/lib/lock-spec.js
Github Open Source
Open Source
Apache-2.0
2,018
node-smb-server
mfrisbey
JavaScript
Code
312
877
/* * Copyright 2015 Adobe Systems Incorporated. All rights reserved. * This file is licensed to you 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 * *...
38,147
https://github.com/tizenorg/platform.upstream.libbullet/blob/master/Extras/RigidBodyGpuPipeline/opencl/gpu_rigidbody_pipeline2/GLInstancingRenderer.cpp
Github Open Source
Open Source
Zlib
2,016
platform.upstream.libbullet
tizenorg
C++
Code
1,901
9,796
/* Copyright (c) 2012 Advanced Micro Devices, Inc. This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial...
21,503
https://github.com/cambert/shellrcs/blob/master/emacs/lisp/vlog-mode-1.6/vlog-indent.el
Github Open Source
Open Source
MIT
null
shellrcs
cambert
null
Spoken
2,954
10,433
;;; vlog-indent.el --- handle verilog code indentation ;; Copyright (C) 2004 Sun Yijiang <sunyijiang@gmail.com> ;; Author: Sun Yijiang ;; Maintainer: Sun Yijiang ;; Created: Dec. 2004 ;; Keywords: languages, verilog ;; This program is free software; you can redistribute it and/or modify ;; it under the ter...
47,906
https://github.com/SymCors/Gauge/blob/master/Gauge/Form1.Designer.cs
Github Open Source
Open Source
MIT
null
Gauge
SymCors
C#
Code
932
4,690
namespace Gauge { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="...
17,844
https://github.com/brianacowles/cbi-hackathon/blob/master/src/components/Home.js
Github Open Source
Open Source
MIT
null
cbi-hackathon
brianacowles
JavaScript
Code
30
91
import image from '../media/Home.jpg' import { Link } from 'react-router-dom'; function Home() { return ( <div className="Home"> <Link to="/locations"> <img className="mockup" src={image} alt="buddies"></img> </Link> </div> ); } export default Home;
16,038
https://github.com/webNeat/mate/blob/master/src/types/FunctionTest.php
Github Open Source
Open Source
MIT
null
mate
webNeat
PHP
Code
50
124
<?php namespace Wn\Mate; /** * @mate * @type FunctionTest * @field string $name * @field string $code */ class FunctionTest { public $name; public $code; public static function of( string $name, string $code ): FunctionTest { $data = new FunctionTest; $data->name = $name; $data->code ...
34,119
https://github.com/nitaytech/ActiveLearningForRegression/blob/master/methods.py
Github Open Source
Open Source
MIT
2,021
ActiveLearningForRegression
nitaytech
Python
Code
773
3,213
from modAL.models import ActiveLearner, CommitteeRegressor from modAL.uncertainty import entropy_sampling import numpy as np import pandas as pd import random from sklearn.cluster import KMeans from sklearn.linear_model import Ridge, Lasso, LinearRegression from sklearn.base import clone from sklearn.ensemble import Ra...
42,511
https://github.com/Wincheat/Osiris/blob/master/Osiris/SDK/MoveHelper.h
Github Open Source
Open Source
MIT
2,021
Osiris
Wincheat
C
Code
18
56
#pragma once #include "VirtualMethod.h" class Entity; class MoveHelper { public: VIRTUAL_METHOD(void, setHost, 1, (Entity* host), (this, host)) };
17,506
https://github.com/cheneylew/gocms/blob/master/static/branding/default/js/form.field.js
Github Open Source
Open Source
MIT
2,017
gocms
cheneylew
JavaScript
Code
70
236
$(document).ready(function () { var base_url = $('#base_url').html(); var site_url = $('#site_url').html(); $('#type').change(function () { // place loading image $('fieldset#field_options').html('<img src="' + site_url + 'static/branding/default/images/loading.gif" alt="Loading..." />'); // we have a ch...
6,310
https://github.com/TaoYibo1866/webots_ros2/blob/master/webots_ros2_universal_robot/setup.py
Github Open Source
Open Source
Apache-2.0
null
webots_ros2
TaoYibo1866
Python
Code
129
745
"""webots_ros2 package setup file.""" from setuptools import setup package_name = 'webots_ros2_universal_robot' data_files = [ ('share/' + package_name + '/worlds', [ 'worlds/universal_robot.wbt', 'worlds/.universal_robot.wbproj', 'worlds/armed_robots.wbt', 'worlds/.armed_robots.w...
41,132
https://github.com/hmdtemp1/project2/blob/master/session.php
Github Open Source
Open Source
MIT
2,018
project2
hmdtemp1
PHP
Code
17
63
<?php if(!isset($_SESSION['user_logged'])){ echo "You are not logged in. <a href='login.php'>login here</a>"; exit; } $userData = sData("user_data"); ?>
12,417
https://github.com/Leviyu/ForwardTomography/blob/master/Maligaro/c_lib/test/04_ESF/04_ESF_lib/tmp/read_phase_window.c
Github Open Source
Open Source
MIT
null
ForwardTomography
Leviyu
C
Code
39
217
#include<stdlib.h> #include<stdio.h> #include<math.h> #include<string.h> #include<sacio.h> #include<ESF.h> int read_phase_window(double* long_win,double long_beg, double long_len, double phase_beg, double phase_len,double* phase_win, new_INPUT* my_input) { int npts_phase_beg = (int)((phase_beg - long_beg)/my_input->...
6,662
https://github.com/yuxiqian/Electsys-Utility/blob/master/Electsys Utility/Electsys Utility/CourseKits/CourseConst.swift
Github Open Source
Open Source
MIT
2,019
Electsys-Utility
yuxiqian
Swift
Code
41
128
// // CourseConst.swift // Electsys Utility // // Created by 法好 on 2019/9/15. // Copyright © 2019 yuxiqian. All rights reserved. // import Foundation class CourseConst { static let requestUrl = "http://i.sjtu.edu.cn/kbcx/xskbcx_cxXsKb.html?gnmkdm=N2151" static let termTable = ["", "3", "12", "16"] }
14,661