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/pakio/refactoring-conductor/blob/master/test/testdata/elseif.vbs
Github Open Source
Open Source
Apache-2.0
2,021
refactoring-conductor
pakio
VBScript
Code
24
45
If nOne <= nTwo Then ' +1 Min = nTwo Elseif ' +1 Min = nOne Else ' +1 Min = nTwo End If
40,637
https://github.com/nolink/algorithm/blob/master/Leetcode2/003.cpp
Github Open Source
Open Source
MIT
null
algorithm
nolink
C++
Code
83
214
class Solution { public: int lengthOfLongestSubstring(string s) { int ret = 0, n = s.length(), i = 0, j = 0, aux = 0; if(n <= 1) return n; unordered_map<char, int> us; while(i < n){ bool exist = us.count(s[i]) > 0; if(i + 1 == n) return max(ret, exist ? i - j...
46,342
https://github.com/rohitgit2k18/notifitadmin/blob/master/bkp-06-09-2018/Archana/Publish_Allmarks/Mobile/Members/MyGiftCertificate.aspx.cs
Github Open Source
Open Source
Apache-2.0
2,018
notifitadmin
rohitgit2k18
C#
Code
179
718
using System; using System.Web.UI; using CommerceBuilder.Common; using CommerceBuilder.Extensions; using CommerceBuilder.Payments; using CommerceBuilder.Utility; using CommerceBuilder.UI; namespace AbleCommerce.Mobile.Members { public partial class MyGiftCertificate : AbleCommercePage { private int _G...
45,150
https://github.com/Lindsay-Needs-Sleep/hls.js/blob/master/src/utils/texttrack-utils.ts
Github Open Source
Open Source
Apache-2.0
2,021
hls.js
Lindsay-Needs-Sleep
TypeScript
Code
331
759
export function sendAddTrackEvent(track: TextTrack, videoEl: HTMLMediaElement) { let event: Event; try { event = new Event('addtrack'); } catch (err) { // for IE11 event = document.createEvent('Event'); event.initEvent('addtrack', false, false); } (event as any).track = track; videoEl.dispat...
24,898
https://github.com/slodge/workbooks/blob/master/Clients/Xamarin.Interactive.Client.Desktop/Rendering/Renderers/InteractiveObjectRenderer.cs
Github Open Source
Open Source
MIT
2,019
workbooks
slodge
C#
Code
1,023
3,111
// // Author: // Aaron Bockover <abock@xamarin.com> // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Globalization; using System.Threading.Tasks; using Xamarin.CrossBrowser; using Xamarin.Interactive.I18N...
27,919
https://github.com/tilt-dev/tilt/blob/master/internal/cli/get_test.go
Github Open Source
Open Source
Apache-2.0
2,023
tilt
tilt-dev
Go
Code
219
1,268
package cli import ( "context" "os" "path/filepath" "testing" "github.com/phayes/freeport" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/cli-runtime/pkg/genericclioptions" ctrlclient "sigs.k8s.io/controller-runtime/pkg/client...
32,183
https://github.com/andresperezmelo/flutterpuzzlehack/blob/master/lib/model/puzzle.dart
Github Open Source
Open Source
MIT
null
flutterpuzzlehack
andresperezmelo
Dart
Code
130
550
import 'dart:typed_data'; class Puzzle { late int level; late int score; late int moves; late int optionMode; late List<int> listTiles; late Uint8List image; late List<List<int>> listTilesBytes; late double percentSolved = 0; Puzzle({ required this.level, required this.score, required th...
46,195
https://github.com/okyereadugyamfi/softlogik/blob/master/SoftLogic.Core/Threading/Producer.cs
Github Open Source
Open Source
MIT
null
softlogik
okyereadugyamfi
C#
Code
634
1,768
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, ...
24,354
https://github.com/opennode/nodeconductor-assembly-waldur/blob/master/src/waldur_core/users/handlers.py
Github Open Source
Open Source
MIT
2,017
nodeconductor-assembly-waldur
opennode
Python
Code
42
179
from django.db import transaction from waldur_core.users.models import PermissionRequest from . import tasks def create_notification_about_permission_request_has_been_submitted( sender, instance, created=False, **kwargs ): if created: return permission_request = instance if ( not p...
18,983
https://github.com/SIROG-E/Evelyn_Goris/blob/master/src/Content/ProjectData/index.js
Github Open Source
Open Source
MIT
null
Evelyn_Goris
SIROG-E
JavaScript
Code
34
82
import one from './burgerLogger' import two from './rubbishRumble' import three from './weatherDashboard' import four from './employeeDirectory' import five from './workDayScheduler' import six from './passwordGenerator' // eslint-disable-next-line export default [one, two, three, four, five, six]
13,138
https://github.com/assessorgeneral/ConQAT/blob/master/org.conqat.engine.text/src/org/conqat/engine/text/comments/utils/CommentUtils.java
Github Open Source
Open Source
Apache-2.0
2,020
ConQAT
assessorgeneral
Java
Code
419
1,047
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 The ConQAT Project | | | | Licens...
27,333
https://github.com/ghimirea/ProgrammerHumor/blob/master/src/App.js
Github Open Source
Open Source
MIT
null
ProgrammerHumor
ghimirea
JavaScript
Code
30
101
import Heading from "./Components/Header/Header"; import SubReddit from "./Components/SubReddit/SubReddit"; import {GlobalStyles} from './Components/StyledComponents/GlobalStyles.style' function App() { return ( <> <GlobalStyles /> <Heading /> <SubReddit /> </> ); } export default App...
44,756
https://github.com/michaeljmarshall/pulsar-admin-console/blob/master/dashboard/src/components/brokers/Brokers.vue
Github Open Source
Open Source
Apache-2.0
2,022
pulsar-admin-console
michaeljmarshall
Vue
Code
392
1,566
<!-- Copyright 2021 DataStax, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
70
https://github.com/silenc3502/MYSQL-Arch-Doc-Summary/blob/master/mysql-server/storage/ndb/plugin/ndb_dd_fk.cc
Github Open Source
Open Source
MIT
null
MYSQL-Arch-Doc-Summary
silenc3502
C++
Code
485
1,877
/* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain s...
18,925
https://github.com/vkuznet/DBS/blob/master/Server/Python/src/dbs/dao/Oracle/FileLumi/List.py
Github Open Source
Open Source
Apache-2.0
2,021
DBS
vkuznet
Python
Code
737
2,634
#!/usr/bin/env python """ This module provides FileLumi.List data access object. """ __revision__ = "$Id: List.py,v 1.7 2010/08/05 16:08:24 yuyi Exp $" __version__ = "$Revision: 1.7 $" from WMCore.Database.DBFormatter import DBFormatter from dbs.utils.dbsExceptionHandler import dbsExceptionHandler from dbs.utils.DBSTr...
1,393
https://github.com/bqth29/centrale/blob/master/client/src/components/HomePage.js
Github Open Source
Open Source
MIT
null
centrale
bqth29
JavaScript
Code
34
104
import React from "react"; import logo from "./hollymood-white.svg"; import "./HomePage.css"; const HomePage = () => { return ( <div className="HomePage"> <header className="HomePage-header"> <img src={logo} className="HomePage-logo" alt="logo" /> </header> </div> ); }; export default ...
20,848
https://github.com/52im/ios-chat/blob/master/wfuikit/WFChatUIKit/ConversationSetting/Cell/WFCUConversationSettingMemberCell.h
Github Open Source
Open Source
MIT
2,020
ios-chat
52im
C
Code
44
164
// // ConversationSettingMemberCell.h // WFChat UIKit // // Created by WF Chat on 2017/11/3. // Copyright © 2017年 WildFireChat. All rights reserved. // #import <UIKit/UIKit.h> #import <WFChatClient/WFCChatClient.h> @interface WFCUConversationSettingMemberCell : UICollectionViewCell @property(nonatomic, strong) UI...
44,883
https://github.com/xmshaka/UnityFramework/blob/master/Scripts/Modules/ExternalResources/Editor/ExternalResourceBuildWindow/ExternalResourceBuildWindow.cs
Github Open Source
Open Source
MIT
2,020
UnityFramework
xmshaka
C#
Code
235
958
 using System; using UnityEngine; using UnityEditor; using Extensions; using Extensions.Devkit; using Modules.Devkit.Project; #if ENABLE_CRIWARE_ADX || ENABLE_CRIWARE_SOFDEC using Modules.CriWare.Editor; #endif namespace Modules.ExternalResource.Editor { public class ExternalResourceBuildWindow : SingletonEdit...
16,838
https://github.com/acastaner/ong/blob/master/OperationNameGenerator/src/services/services.ts
Github Open Source
Open Source
MIT
2,017
ong
acastaner
TypeScript
Code
132
288
import * as accountGroup from "./account"; import * as adjectiveGroup from "./adjective"; import * as authenticationGroup from "./authentication"; import * as dataGroup from "./data"; import * as nounGroup from "./noun"; import * as opNameGroup from "./opName"; import * as roleGroup from "./role"; import * as views fro...
1,852
https://github.com/yzernik/spores/blob/master/spores-pickling/src/test/scala/scala/spores/run/pickling/Pickling.scala
Github Open Source
Open Source
BSD-3-Clause
2,014
spores
yzernik
Scala
Code
445
1,408
package scala.spores package run package pickling import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.JUnit4 import scala.pickling._ import json._ import SporePickler._ @RunWith(classOf[JUnit4]) class PicklingSpec { @Test def `pickle/unpickle to/from JSON`() { val v1 = 10 val ...
13,903
https://github.com/pderakhshanfar/EMSE-BBC-experiment/blob/master/results/Math-6/org.apache.commons.math3.optim.nonlinear.scalar.noderiv.CMAESOptimizer/BBC-F0-opt-20/tests/3/org/apache/commons/math3/optim/nonlinear/scalar/noderiv/CMAESOptimizer_ESTest.java
Github Open Source
Open Source
CC-BY-4.0, MIT
2,022
EMSE-BBC-experiment
pderakhshanfar
Java
Code
1,167
4,979
/* * This file was automatically generated by EvoSuite * Tue Oct 19 18:19:15 GMT 2021 */ package org.apache.commons.math3.optim.nonlinear.scalar.noderiv; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.runtime.EvoAssertions.*; import java.util.List; import org.apache.commons.mat...
42,888
https://github.com/VitorNevess/Red-A-Arara/blob/master/Red-A-Arara/Assets/Scripts/CameraController.cs
Github Open Source
Open Source
Apache-2.0
2,021
Red-A-Arara
VitorNevess
C#
Code
255
925
using UnityEngine; public class CameraController : MonoBehaviour { [SerializeField] private Transform player; [SerializeField] private Transform background; [SerializeField] private Vector2 smoothTime; [SerializeField] private Vector2 maxLimit; [SerializeField] private Vector2 ...
9,923
https://github.com/lure9999/CardAndMonsterSanGuo/blob/master/client/cocos2d-x-2.2.6/projects/YLHDKaPaiSanGuo/Byte_Resources/Image/Fight/player/houshi/houshi1.plist
Github Open Source
Open Source
MIT
2,019
CardAndMonsterSanGuo
lure9999
XML Property List
Code
341
3,505
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>frames</key> <dict> <key>manualskill/houshi_manualskill_5/houshi_manualskill_5_6.png</key> <dict> <key>width</key> ...
34,008
https://github.com/groplanda/biologica/blob/master/plugins/acme/settings/updates/builder_table_update_acme_settings_service_2.php
Github Open Source
Open Source
MIT
null
biologica
groplanda
PHP
Code
34
167
<?php namespace Acme\Settings\Updates; use Schema; use October\Rain\Database\Updates\Migration; class BuilderTableUpdateAcmeSettingsService2 extends Migration { public function up() { Schema::table('acme_settings_service', function($table) { $table->string('title', 100)->nullable()...
26,408
https://github.com/seewpx/actor-framework/blob/master/libcaf_core/caf/policy/work_sharing.hpp
Github Open Source
Open Source
BSD-3-Clause
2,022
actor-framework
seewpx
C++
Code
302
959
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once #include <condition_variable> #include <cstddef> #include <list> #include <m...
31,148
https://github.com/justinchuch/nosqlbench/blob/master/virtdata-lib-basics/src/main/java/io/nosqlbench/virtdata/library/basics/shared/conversions/from_string/ToByte.java
Github Open Source
Open Source
Apache-2.0
2,020
nosqlbench
justinchuch
Java
Code
28
151
package io.nosqlbench.virtdata.library.basics.shared.conversions.from_string; import io.nosqlbench.virtdata.api.annotations.Categories; import io.nosqlbench.virtdata.api.annotations.Category; import io.nosqlbench.virtdata.api.annotations.ThreadSafeMapper; import java.util.function.Function; @ThreadSafeMapper @Catego...
47,529
https://github.com/prashanthhulimajjigi-agi/zipreport/blob/master/tests/report/test_builder.py
Github Open Source
Open Source
MIT, LicenseRef-scancode-other-permissive
2,021
zipreport
prashanthhulimajjigi-agi
Python
Code
290
949
import json import os import tempfile from pathlib import Path from shutil import rmtree from tests.utils import SAMPLE1_PATH from zipreport.report.builder import ReportFileBuilder from zipreport.report.const import ZIPREPORT_FILE_EXTENSION class TestReportFileBuilder: temp_dir = '/tmp' temp_methods = ['test...
43,613
https://github.com/NDAXlO/SmartContraX/blob/master/contracts/transfer-layer/cross-chain/FromChain.sol
Github Open Source
Open Source
MIT
2,019
SmartContraX
NDAXlO
Gerber Image
Code
146
356
pragma solidity ^0.5.0; import "./interfaces/IFromChain.sol"; import "./interfaces/IFCStorage.sol"; /** * @title Provide transfer from the chain */ contract FromChain is IFromChain { // Address of the from chain transactions storage address fcStorage; // Initialize contract with strage address constr...
5,165
https://github.com/hadoumune/Baum2/blob/master/Unity/Assets/Baum2/Scripts/ListLayoutGroup.cs
Github Open Source
Open Source
MIT
2,022
Baum2
hadoumune
C#
Code
482
1,401
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Baum2 { public class ListLayoutGroup : MonoBehaviour { [SerializeField] public Scroll Scroll; private bool Initialized; private List Root; private readonly Dictionary<string,...
15,866
https://github.com/15356002207/zhihuianfang1/blob/master/src/framework/java/aos/framework/taglib/impl/ext/dataview/DataViewTag.java
Github Open Source
Open Source
Apache-2.0
2,022
zhihuianfang1
15356002207
Java
Code
426
1,738
package aos.framework.taglib.impl.ext.dataview; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.servlet.jsp.JspException; import aos.framework.core.typewrap.Dto; import aos.framework.core.utils.AOSUtils; import aos.framework.taglib.asset.AOSTagUtils; import aos.framework.taglib...
47,140
https://github.com/hercules261188/Crypto/blob/master/DBTek.Crypto.Test/SHA1Test.cs
Github Open Source
Open Source
MIT
2,021
Crypto
hercules261188
C#
Code
90
493
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; namespace DBTek.Crypto.Test { [TestClass] public class SHA1Test { SHA1_Hsr sha1 = new SHA1_Hsr(); [TestMethod] public void SHA1HashNullString() { Assert.AreEqual(string.Empty, sh...
28,150
https://github.com/c-cube/ocaml-containers/blob/master/tests/core/t_canonical_sexp.ml
Github Open Source
Open Source
BSD-2-Clause, BSD-3-Clause
2,023
ocaml-containers
c-cube
OCaml
Code
259
621
open CCCanonical_sexp module T = (val Containers_testlib.make ~__FILE__ ()) include T let csexp_bijective s = to_string s |> parse_string = Ok s;; eq ~printer:CCFormat.(to_string (Dump.result pp)) (Ok (`List [ `Atom "" ])) (parse_string {|(0:)|}) ;; eq ~printer:CCFormat.(to_string (Dump.result pp)) (Ok (`L...
43,251
https://github.com/pxiuqin/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/conditions/Conditions.java
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, Apache-2.0, MIT, BSD-3-Clause
2,020
deeplearning4j
pxiuqin
Java
Code
1,377
2,568
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
8,326
https://github.com/zlsoftdq/Notebook/blob/master/app/views/dashboard.vue
Github Open Source
Open Source
MIT
2,017
Notebook
zlsoftdq
Vue
Code
174
618
<style lang="less" scoped> .inner { align-items: center; justify-content: center; } img { margin-top: -25px; width: 400px; transition: transform 1s ease; transform-origin: 50px 50px; &.rotate { transform: rotate(700deg); } } p { line-height: 16px; code { ba...
12,842
https://github.com/patricksandquist/ghost/blob/master/game.rb
Github Open Source
Open Source
MIT
null
ghost
patricksandquist
Ruby
Code
208
686
require_relative 'player.rb' class Game ALPHABET = ("a".."z").to_a def initialize(*players) @players = players @losses = {} @players.each { |player| @losses[player] = 0 } populate_dictionary end def run until @losses.values.any? { |losses| losses >= 5 } play_round end losin...
15,540
https://github.com/TeamSPoon/logicmoo_nlu/blob/master/ext/Parser_SUPPLE/prolog-impls/plcafe/gen-src/shef/nlp/supple/prolog/cafe/PRED_$dummy_semantics46pl_1_3.java
Github Open Source
Open Source
MIT
2,020
logicmoo_nlu
TeamSPoon
Java
Code
267
1,085
package shef.nlp.supple.prolog.cafe; import jp.ac.kobe_u.cs.prolog.lang.*; import jp.ac.kobe_u.cs.prolog.builtin.*; /* * *** Please do not edit ! *** * @(#) PRED_$dummy_semantics46pl_1_3.java * @procedure $dummy_semantics.pl_1/3 in semantics.pl */ /* * @version Prolog Cafe 0.8 November 2003 * @author Mutsunori ...
459
https://github.com/OldDreamMoon/OneDriveFly/blob/master/php/scripts/dist.php
Github Open Source
Open Source
MIT
2,020
OneDriveFly
OldDreamMoon
PHP
Code
83
331
<?php $src = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..') . DIRECTORY_SEPARATOR; $dist = realpath($src . '..' . DIRECTORY_SEPARATOR . 'dist') . DIRECTORY_SEPARATOR; $config_path = $src . 'config.example.php'; $vendor_path = $dist . 'vendor.php'; $functions_path = $src . 'library' . DIRECTORY_SEPARATOR . '...
31,808
https://github.com/OpenTube/OpenTube/blob/master/scripts/deploy.sh
Github Open Source
Open Source
Unlicense
2,021
OpenTube
OpenTube
Shell
Code
87
265
#!/bin/bash if [[ ! -d .git ]] || [[ ! -f index.php ]] then echo "Error: this is not a OpenTube directory." exit 1 fi if [ "$1" == "--help" ] || [ "$1" == "-h" ] then echo "usage: $(basename "$0") [host]" echo "example: $(basename "$0") root@localhost:/var/www/html/OpenTube" exit 0 fi host="${...
45,338
https://github.com/SoklengH/contentsystem/blob/master/resources/views/admin/users/index.blade.php
Github Open Source
Open Source
MIT
null
contentsystem
SoklengH
PHP
Code
410
2,032
<!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ co...
36,635
https://github.com/Cologler/jasily.cologler/blob/master/Jasily.Core/Diagnostics/IPrintable.cs
Github Open Source
Open Source
MIT
2,016
jasily.cologler
Cologler
C#
Code
9
25
namespace System.Diagnostics { public interface IPrintable { } }
28,881
https://github.com/NicKarlovich/bus_simulator/blob/master/project/src/stop.h
Github Open Source
Open Source
MIT
null
bus_simulator
NicKarlovich
C
Code
333
695
/** * @file stop.h * * @copyright 2019 3081 Staff, All rights reserved. */ #ifndef SRC_STOP_H_ #define SRC_STOP_H_ #include <list> #include <iostream> #include "src/bus.h" #include "src/passenger.h" #include "src/data_structs.h" class Bus; /** * @brief The main class for stops. */ class Stop { public: /**...
20,981
https://github.com/zgompert/Tchumash_epistasis_scripts/blob/master/RunGemmaLmmFork.pl
Github Open Source
Open Source
CC0-1.0
null
Tchumash_epistasis_scripts
zgompert
Perl
Code
78
286
#!/usr/bin/perl # # run gemma jobs # use Parallel::ForkManager; my $max = 12; my $pm = Parallel::ForkManager->new($max); foreach $g (@ARGV){ $ph = $g; $ph =~ s/mod_g/ph/; $base = $g; $base =~ s/mod_geno_//; $base =~ s/\.txt//; foreach $trait (1..3){ $pm->start and next; ## fork $out1 = "k_$base"."_ph$trait...
36,189
https://github.com/npentrel/enso/blob/master/engine/runtime/src/test/scala/org/enso/compiler/test/pass/resolve/AnnotationsTest.scala
Github Open Source
Open Source
Apache-2.0
null
enso
npentrel
Scala
Code
236
859
package org.enso.compiler.test.pass.resolve import org.enso.compiler.Passes import org.enso.compiler.context.{FreshNameSupply, ModuleContext} import org.enso.compiler.core.IR import org.enso.compiler.pass.resolve.Annotations import org.enso.compiler.pass.{PassConfiguration, PassGroup, PassManager} import org.enso.comp...
9,444
https://github.com/estately/cookbooks/blob/master/nginx/README.rdoc
Github Open Source
Open Source
Apache-2.0
2,015
cookbooks
estately
RDoc
Code
150
330
= DESCRIPTION: Installs and configures nginx = REQUIREMENTS: Tested on Ubuntu 10.04 = DEFINITIONS: nginx_site:: creates/removes an nginx site definition nginx_site( "something" ) { action :enable } nginx_site( "other" ) { action :disable } Requires a template called nginx.<name>.erb. = ATTRIBUTES: ngi...
35,914
https://github.com/jianoaix/ray/blob/master/rllib/agents/a3c/a3c.py
Github Open Source
Open Source
Apache-2.0
null
ray
jianoaix
Python
Code
13
61
from ray.rllib.algorithms.a3c import ( # noqa a3c_tf_policy, a3c_torch_policy, A3C as A3CTrainer, DEFAULT_CONFIG, )
37,550
https://github.com/bhamlin/chainsaw-euler/blob/master/problem-0001/problem-0001.lua
Github Open Source
Open Source
BSD-3-Clause
null
chainsaw-euler
bhamlin
Lua
Code
144
263
--[[ ==Multiples of 3 and 5 --Problem 1 If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. ]] -- Returns true if i is evenly divisible by j function isDivisible(i, j) q = i % j...
28,918
https://github.com/bluewaysw/pcgeos/blob/master/Library/BorlandRTL/f_scopy.asm
Github Open Source
Open Source
Apache-2.0
2,023
pcgeos
bluewaysw
Assembly
Code
135
355
; $Id: f_scopy.asm,v 1.1 97/04/07 12:04:20 newdeal Exp $ ;[]-----------------------------------------------------------------[] ;| F_SCOPY.ASM -- far struct copy routine | ;[]-----------------------------------------------------------------[] ; ; C/C++ Run Time Library - Version 5.0 ; ...
5,043
https://github.com/owenyang0/book-worm/blob/master/js/components/header/Goal.react.js
Github Open Source
Open Source
MIT
2,015
book-worm
owenyang0
JavaScript
Code
73
293
var React = require('react'); var WormActions = require('../../actions/WormActions'); var Goal = React.createClass({ getInitialState: function () { return { value: this.props.val || 50 }; }, componentDidMount: function () { WormActions.updateGoal(this.state.value); }, render: function () ...
8,585
https://github.com/imclab/Skybox/blob/master/service/app.js
Github Open Source
Open Source
MIT
2,013
Skybox
imclab
JavaScript
Code
151
631
/** * Module dependencies. */ var express = require('express') , routes = require('./routes') , faye = require('faye') , MessageRouter = require('./messaging/MessageRouter.js'), Common = require('./Common.js'); var form = require('express-form'), filter = form.filter, validate = form.validate; var sessio...
21,175
https://github.com/A-Marzouk/resume-manager/blob/master/resources/assets/js/components/campaigns/updateMembersComponent.vue
Github Open Source
Open Source
MIT
2,020
resume-manager
A-Marzouk
Vue
Code
342
1,681
<template> <div> <div class="modal fade" id="updateMembersModal" tabindex="-1" role="dialog" aria-labelledby="updateMembersModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg" role="document"> <div class="modal-content"> <div class="text-right" s...
34,049
https://github.com/Amoki/Amoki-Music/blob/master/music/migrations/0013_playlisttrack.py
Github Open Source
Open Source
MIT
2,019
Amoki-Music
Amoki
Python
Code
47
246
from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('player', '0018_auto_20150323_1120'), ('music', '0012_auto_20150817_0009'), ] operations = [ migrations.CreateModel( name='Playli...
7,701
https://github.com/sanketbajoria/galaxy-fauxton/blob/master/app/addons/documents/tests/nightwatch/deleteDatabaseModal.js
Github Open Source
Open Source
Apache-2.0
null
galaxy-fauxton
sanketbajoria
JavaScript
Code
216
762
// Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed un...
26,490
https://github.com/anthonylegoas/vitamin-web/blob/master/packages/sources/web-components/src/components.d.ts
Github Open Source
Open Source
Apache-2.0
2,022
vitamin-web
anthonylegoas
TypeScript
Code
1,457
4,063
/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "@stencil/core/internal"; import { VitamixId } from "@vtmn/icons/dist/vitamix/f...
47,632
https://github.com/DarkTechnologies/disjunction/blob/master/index.js
Github Open Source
Open Source
MIT
null
disjunction
DarkTechnologies
JavaScript
Code
49
129
/** * Disjunction * A collection of unconventional promise and callback systems * @author Shawn Rapp * @version 1.0.0 * @license MIT. Read LICENSE for more information. */ (function() { 'use strict'; module.exports = { Backfill: function() { return require('./lib/backfill-promise.js')(); }, ...
24,251
https://github.com/lemonKis/lmg/blob/master/src/routes/img.ts
Github Open Source
Open Source
MIT
null
lmg
lemonKis
TypeScript
Code
332
1,152
import md5 from 'md5' import fs from 'fs' import imageType from 'image-type' import { IncomingMessage, ServerResponse } from 'http' import config from '../config' import Router, { METHOD, Context } from '../core/router' import { imgTypeCheck, imgSize, GmImgSize, imgConvert } from '../core/gm' /** * 图片裁剪路由 */ const r...
47,960
https://github.com/rodydavis/cupertino_ffi_generated/blob/master/lib/src/generated/natural_language/NLPModelTrainingDataProvider.dart
Github Open Source
Open Source
MIT
2,021
cupertino_ffi_generated
rodydavis
Dart
Code
174
826
// AUTOMATICALLY GENERATED. DO NOT EDIT. part of cupertino_ffi.natural_language; /// Static methods for Objective-C class `NLPModelTrainingDataProvider`. /// See also instance methods in [NLPModelTrainingDataProviderPointer]. /// /// Find detailed documentation at: [developer.apple.com/documentation/naturallanguage?l...
33,237
https://github.com/yangbingqi155/Nagrace/blob/master/src/Orchard.Web/Modules/Orchard.Fields/Views/EditorTemplates/Fields/Enumeration.Edit.cshtml
Github Open Source
Open Source
BSD-3-Clause
2,022
Nagrace
yangbingqi155
C#
Code
196
726
@model Orchard.Fields.Fields.EnumerationField @using Orchard.Fields.Settings; @{ var settings = Model.PartFieldDefinition.Settings.GetModel<EnumerationFieldSettings>(); string[] options = (!String.IsNullOrWhiteSpace(settings.Options)) ? settings.Options.Split(new string[] { System.Environment.NewLine }, String...
37,487
https://github.com/kopardev/TALON/blob/master/testing_suite/talon_label_reads/test_inputs/pool_test/file3_read_labels.tsv
Github Open Source
Open Source
MIT
2,021
TALON
kopardev
TSV
Code
4
17
read_5 0.5 read_6 0.5
25,442
https://github.com/marisanest/moving-images-opengl/blob/master/src/session_006/002.glsl
Github Open Source
Open Source
MIT
null
moving-images-opengl
marisanest
GLSL
Code
303
1,055
#ifdef GL_ES precision mediump float; #endif uniform float u_time; uniform vec2 u_resolution; #include "../libs/local/2dshapes.glsl" #include "../libs/local/boolean-ops.glsl" #include "../libs/local/colors.glsl" #include "../libs/local/coord-ops.glsl" #include "../libs/local/style.glsl" #include "../libs/local/circle...
634
https://github.com/ngkokjoo/symfony2/blob/master/src/AppBundle/Entity/book.php
Github Open Source
Open Source
MIT
null
symfony2
ngkokjoo
PHP
Code
260
784
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * book * * @ORM\Table(name="book") * @ORM\Entity(repositoryClass="AppBundle\Repository\bookRepository") */ class book { /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(st...
39,192
https://github.com/ddfdfhh/hyper/blob/master/resources/views/livewire/member-select.blade.php
Github Open Source
Open Source
MIT
null
hyper
ddfdfhh
PHP
Code
163
807
<div class="tab_box_sec padd-sec"> @include('alert-comp') <style> .select2-results__options li{ color:black!important; } .select2-selection__choice{ background:blue!important; } </style> <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/...
50,523
https://github.com/stuart-fb/pyrobot/blob/master/examples/sim2real/envs/locobotEnv/bullet_client.py
Github Open Source
Open Source
MIT
2,021
pyrobot
stuart-fb
Python
Code
238
509
# Bullet Continuous Collision Detection and Physics Library # Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/ # 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. # P...
5,295
https://github.com/TobbeOlsson/AoC21/blob/master/day5.cpp
Github Open Source
Open Source
MIT
null
AoC21
TobbeOlsson
C++
Code
336
946
#include "readInput.h" #include <vector> #include <string> #include <iostream> #include <fstream> int main(){ int sea_floor[1000][1000] = {}; std::ifstream in("inputs/input_day5"); std::string line; int x1 = 0, x2 = 0, y1 = 0, y2 = 0; while(std::getline(in, line)){ std::string line_after_ar...
14,803
https://github.com/OGSegu/UniversityProgrammingProjects/blob/master/Adventure 2D Game/src/main/java/Model/SpriteData.java
Github Open Source
Open Source
MIT
null
UniversityProgrammingProjects
OGSegu
Java
Code
254
862
package Model; import Main.Main; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.shape.Rectangle; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Objects; public final class SpriteData { static ImageView[] getSprites(String folder...
24,075
https://github.com/varusan/covid19/blob/master/tool/convert/convert_csv_to_json.py
Github Open Source
Open Source
MIT
null
covid19
varusan
Python
Code
427
1,869
#!/bin/python import json import csv import os import sys import datetime import collections from copy import deepcopy PATIENTS_DATA_CSV_FILE_NAME = "440001_oita_covid19_patients.csv" INSPECTIONS_DATA_CSV_FILE_NAME = "440001_oita_covid19_inspections.csv" def main(): patients_data_csv_file = os.path.dirname(__fi...
49,877
https://github.com/martiansideofthemoon/relic-retrieval/blob/master/retriever_train/inference_utils.py
Github Open Source
Open Source
MIT
2,022
relic-retrieval
martiansideofthemoon
Python
Code
155
726
import pickle import torch import numpy as np from transformers import RobertaModel, RobertaTokenizerFast from retriever_train.dataset_config import DATASET_CONFIG, BASE_CONFIG from retriever_train.data_utils import Instance from retriever_train.utils import init_parent_model class PrefixSuffixWrapper(object): ...
32,920
https://github.com/ybrs/recomserver/blob/master/recomserver/interests/models.py
Github Open Source
Open Source
MIT
null
recomserver
ybrs
Python
Code
548
1,794
from django.db import models from django.contrib.auth.models import AbstractUser from django.core.urlresolvers import reverse from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ from django.conf import settings from PIL impor...
21,595
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/s/supla/supla-cloud/Dockerfile
Github Open Source
Open Source
MIT
2,018
dockerfiles-1
jsdelivrbot
Dockerfile
Code
188
846
FROM php:7.0.26-apache WORKDIR /var/www RUN apt-get update \ && apt-get install -y --no-install-recommends \ libicu-dev \ libpq-dev \ ca-certificates \ ssl-cert \ libcurl4-gnutls-dev \ git \ unzip \ mysql-client \ wget \ supervisor \ cron \ && update-ca-certificates \ && docker-php...
17,747
https://github.com/terevea/design-patterns/blob/master/02-Observer/Weather/IDisplay.cs
Github Open Source
Open Source
MIT
null
design-patterns
terevea
C#
Code
11
31
namespace _02_Observer.Weather { public interface IDisplay { void Display(); } }
28,062
https://github.com/vdorbs/cs-6784/blob/master/matlab/Layers/FullyConnectedLayer.m
Github Open Source
Open Source
MIT
2,016
cs-6784
vdorbs
MATLAB
Code
115
414
classdef FullyConnectedLayer < Layer properties W dL_dW alpha_scale end methods function fcl = FullyConnectedLayer(m, n, sigma, alpha_scale) fcl.W = sigma * randn(m, n + 1); fcl.alpha_scale = alpha_scale; fcl.state = States.FORWARD; ...
22,481
https://github.com/tonyberrynd/SugarDockerized/blob/master/sugar/modules/ModuleBuilder/action_view_map.php
Github Open Source
Open Source
Apache-2.0
null
SugarDockerized
tonyberrynd
PHP
Code
166
632
<?php /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative...
18,998
https://github.com/scala-steward/awslib_scala/blob/master/src/test/scala/com/micronautics/aws/PollyTest.scala
Github Open Source
Open Source
MIT
2,021
awslib_scala
scala-steward
Scala
Code
224
489
/* Copyright 2012-2015 Micronautics Research Corporation. * * 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...
36,725
https://github.com/TimberRaft/ns3-program-viewer/blob/master/client/public/server/ns3/program/ns3-program.js
Github Open Source
Open Source
MIT
2,021
ns3-program-viewer
TimberRaft
JavaScript
Code
1,687
4,136
const path = require("path"); const mapping = require("./ns3-mapping"); const { programCategoryMap } = require("../../common/nord-mapping"); const { ns3ProgramLocation } = require("./ns3-utils"); const { nordFileExtMap } = require("../../common/nord-mapping"); const { getVersion } = require("../../common/converter"); c...
21,603
https://github.com/dheimoz/formvuelate/blob/master/.vitepress/theme/Layout.vue
Github Open Source
Open Source
MIT
2,021
formvuelate
dheimoz
Vue
Code
158
556
<template> <div class="theme"> <header> <NavBar /> </header> <aside> <SideBar /> </aside> <main> <Page /> </main> </div> <Debug /> </template> <script> import NavBar from './components/NavBar.vue' import SideBar from './components/SideBar.vue' import Page from './compone...
43,853
https://github.com/MauricioFHV/csl-editor/blob/master/src/uiConfig.js
Github Open Source
Open Source
MIT
2,022
csl-editor
MauricioFHV
JavaScript
Code
946
2,896
"use strict"; // Hard-coded configuration data used to populate the UI define( [ 'src/CslNode', 'src/debug' ], function ( CSLEDIT_CslNode, debug ) { var CSLEDIT_uiConfig = {}; // Defines the contents of the Visual Editor tree view CSLEDIT_uiConfig.smartTreeSchema = [ { id : "info", name : "...
49,737
https://github.com/OverwolfApps/Netflix-Overwolf-App/blob/master/overwolf.js
Github Open Source
Open Source
WTFPL
2,017
Netflix-Overwolf-App
OverwolfApps
JavaScript
Code
5
21
(function main(){ console.log("Overwolf Test"); })();
33,811
https://github.com/nwolverson/purescript-tidy/blob/master/test/snapshots/TrailingLineComments.purs
Github Open Source
Open Source
MIT
2,022
purescript-tidy
nwolverson
PureScript
Code
27
49
-- @format --width=10 module TrailingLineComments where test -- ok = test test = test -- ok test = test {- a -} {- b -} -- ok
30,666
https://github.com/ncma-chapters/ncma-chapter-web/blob/master/src/primitives/Banner/index.js
Github Open Source
Open Source
MIT
2,020
ncma-chapter-web
ncma-chapters
JavaScript
Code
126
400
// Node modules. import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; export const BannerWrapper = styled.div` align-items: center; background: ${({ theme }) => theme.colors.greys.tint2}; border-bottom: 1px solid ${({ theme }) => theme.colors.greys.tint}; borde...
4,950
https://github.com/atealxt/work-workspaces/blob/master/PDMS/src/java/pdms/components/dao/TopicDao.java
Github Open Source
Open Source
MIT
null
work-workspaces
atealxt
Java
Code
114
374
package pdms.components.dao; import java.util.List; import pdms.components.pojo.Topic; /** * * @author LUSuo(atealxt@gmail.com) */ public interface TopicDao { //public List Select(String SQL); public Topic findById(String id); /** * @param loginId 发帖人ID */ public List<Topic> findByUser...
20,034
https://github.com/vladimir-koloski/C-Homeworks/blob/master/Homework01/SEDC.Class07.MovieStore/SEDC.Class07.MovieStore.BaseModels/Models/Employee.cs
Github Open Source
Open Source
MIT
2,020
C-Homeworks
vladimir-koloski
C#
Code
117
342
using SEDC.Class07.MovieStore.Entities.BaseModels; using SEDC.Class07.MovieStore.Entities.Enumerations; using System; using System.Collections.Generic; using System.Text; namespace SEDC.Class07.MovieStore.Entities.Models { public class Employee : Member { private double Salary { get; set; } p...
47,176
https://github.com/lynose/lfs/blob/master/basic/basic36_expat-2.4.1.sh
Github Open Source
Open Source
MIT
2,021
lfs
lynose
Shell
Code
87
286
#!/bin/bash ${log} `basename "$0"` " started" basic && if test -d /sources/expat-2.4.1 then rm -rf /sources/expat-2.4.1 fi tar xf /sources/expat-2.4.1.tar.xz -C /sources/ && cd /sources/expat-2.4.1 && ./configure --prefix=/usr \ --disable-static \ --docdir=/usr/share/doc/expat-2.4.1 && ...
25,654
https://github.com/nikola-zivkov/jdd-2018/blob/master/bookstore-app/monolith-structured/recommendation/event-handler/src/main/java/com/seavus/bookstore/recommendation/UpdateProductRatingOnProductRatedEvent.java
Github Open Source
Open Source
MIT
2,019
jdd-2018
nikola-zivkov
Java
Code
54
219
/* * Copyright (c) 2018 Seavus. All Rights Reserved. * * Use of this source code is governed by an MIT license, included in 'LICENSE.Seavus'. */ package com.seavus.bookstore.recommendation; import com.seavus.bookstore.rating.ProductRatedEvent; import lombok.RequiredArgsConstructor; import org.springframework.clou...
8,059
https://github.com/gabrielfernandes320/nestjs-template-v1.0/blob/master/src/modules/roles/infra/typeorm/repositories/RolesRepository.ts
Github Open Source
Open Source
MIT
2,021
nestjs-template-v1.0
gabrielfernandes320
TypeScript
Code
133
413
import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import ListRolesDTO from 'src/modules/roles/dtos/ListRoleDTO'; import IRolesRepository from 'src/modules/roles/repositories/IRolesRepository'; import { ILike, Repository } from 'typeorm'; import { Role } from '../entities/R...
5,197
https://github.com/forki/OwinFramework.Pages/blob/master/OwinFramework.Pages.Restful/Package.cs
Github Open Source
Open Source
Apache-2.0
null
OwinFramework.Pages
forki
C#
Code
85
314
using System.Collections.Generic; using Ioc.Modules; using OwinFramework.Pages.Core.Interfaces.Builder; using OwinFramework.Pages.Core.Interfaces.DataModel; using OwinFramework.Pages.Core.Interfaces.Managers; using OwinFramework.Pages.Core.Interfaces.Runtime; using OwinFramework.Pages.Restful.Runtime; namespace OwinF...
18,442
https://github.com/ndrogness/RogyGarden/blob/master/rogygarden.py
Github Open Source
Open Source
MIT
null
RogyGarden
ndrogness
Python
Code
2,216
9,291
#!/usr/bin/env python3 import time import datetime import sys import os import gpiozero as ioz from Adafruit_IO import MQTTClient import json from collections import namedtuple import rogysensor class RogyGardenRoof: def __init__(self, motor_enable_pin, motor_forward_pin, motor_backward_pin, det...
49,263
https://github.com/ehossack-aws/activemq/blob/master/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/interop/AmqpReceiverTest.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, LicenseRef-scancode-unknown, CDDL-1.0, BSD-3-Clause, LicenseRef-scancode-proprietary-license, AFL-3.0, MIT-0, AFL-2.1, MIT
2,021
activemq
ehossack-aws
Java
Code
1,769
7,400
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
19,471
https://github.com/camunda/camunda-spin/blob/master/dataformat-xml-dom/src/test/resources/org/camunda/spin/ruby/xml/dom/XmlDomElementScriptTest.readAttributeValueByName.rb
Github Open Source
Open Source
Apache-2.0
2,023
camunda-spin
camunda
Ruby
Code
3
15
$value = S($input).attr($name).value()
4,035
https://github.com/rizhenkov/feedbin/blob/master/app/models/source/twitter_data.rb
Github Open Source
Open Source
MIT
2,022
feedbin
rizhenkov
Ruby
Code
44
182
class Source::TwitterData < Source def initialize(url, auth) @url = url @auth = auth @feeds = [] end def find unless @auth.nil? recognized_url = Feedkit::TwitterURLRecognizer.new(@url, @auth.screen_name) if recognized_url.valid? twitter = Feedkit::Tweets.new(recognized_url, @...
34,928
https://github.com/Tarsnap/tarsnap-gui/blob/master/src/dirinfotask.cpp
Github Open Source
Open Source
BSD-2-Clause
2,022
tarsnap-gui
Tarsnap
C++
Code
220
657
#include "dirinfotask.h" WARNINGS_DISABLE #include <QAtomicInt> #include <QDir> #include <QFileInfo> #include <QFileInfoList> #include <QFlags> WARNINGS_ENABLE #include "basetask.h" /** Info about a directory (used recursively). */ struct dirinfo { /** Sum of file sizes. */ quint64 size; /** Number of fi...
2,949
https://github.com/jarisko1/luaGLEW/blob/master/luajitglew_test/luaglew.lua
Github Open Source
Open Source
MIT
2,011
luaGLEW
jarisko1
Lua
Code
15,585
62,976
local ffi = require( "ffi" ) ffi.cdef[[ enum { GLX_AMD_gpu_association = 0x1, GLX_GPU_RENDERER_STRING_AMD = 0x1F01, GLX_GPU_OPENGL_VERSION_STRING_AMD = 0x1F02, GLX_GPU_FASTEST_TARGET_GPUS_AMD = 0x21A2, GLX_GPU_RAM_AMD = 0x21A3, GLX_GPU_CLOCK_AMD = 0x21A4, GLX_GPU_NUM_PIPES_AMD = 0x21A5, GLX_GPU_NUM_SIMD_AMD =...
17,476
https://github.com/ryanmcalpin/klabby-pro/blob/master/src/app/rates/rates.component.ts
Github Open Source
Open Source
MIT
null
klabby-pro
ryanmcalpin
TypeScript
Code
190
1,007
import { Component, OnInit } from '@angular/core'; import 'rxjs/add/operator/takeUntil'; import { FirebaseListObservable } from 'angularfire2/database'; import { FormBuilder, FormGroup, FormControl, Validators} from '@angular/forms'; import { Subject } from 'rxjs/Subject'; import { DbService } from '../db.service'; imp...
23,476
https://github.com/ghassanabohozaun/nma/blob/master/public/adminBoard/assets/js/beneficiary.js
Github Open Source
Open Source
MIT
null
nma
ghassanabohozaun
JavaScript
Code
565
1,887
"use strict"; // Class Definition var KTAddUser = function () { // Private Variables var _formEl; var _avatar; var id=1; var _initValidations = function () { // Init form validation rules. For more info check the FormValidation plugin's official documentation:https://formvalidation.io/ ...
10,911
https://github.com/sscargal/ipmctl/blob/master/MdePkg/Library/BaseLib/Ipf/AccessGcr.s
Github Open Source
Open Source
BSD-3-Clause
2,022
ipmctl
sscargal
GAS
Code
770
1,843
/// @file /// IPF specific Global Control Registers accessing functions /// /// Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> /// This program and the accompanying materials /// are licensed and made available under the terms and conditions of the BSD License /// which accompanies this distrib...
34,170
https://github.com/openlegaldata/oldp/blob/master/oldp/apps/references/migrations/0001_initial.py
Github Open Source
Open Source
MIT
2,023
oldp
openlegaldata
Python
Code
157
943
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-12-20 17:07 from __future__ import unicode_literals import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('cases', '0001_initial'), ('laws...
34,333
https://github.com/jredmondson/GamsPlugins/blob/master/Plugins/GamsLibrary/Source/ThirdParty/gams/platforms/java/JavaPlatform.h
Github Open Source
Open Source
BSD-2-Clause
2,020
GamsPlugins
jredmondson
C
Code
886
1,776
/** * Copyright (c) 2014 Carnegie Mellon University. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this l...
41,853
https://github.com/jjaassoonn/projective_space/blob/master/src/measure_theory/probability_mass_function/basic.lean
Github Open Source
Open Source
Apache-2.0
null
projective_space
jjaassoonn
Lean
Code
1,516
3,929
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Devon Tuma -/ import topology.instances.ennreal import measure_theory.measure.measure_space /-! # Probability mass functions This file is about probability mass funct...
11,440
https://github.com/ipogorel/periscope-elastic-search/blob/master/dist/es2015/data/service/elasticsearch-data-service.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,016
periscope-elastic-search
ipogorel
JavaScript
Code
143
410
var _dec, _class; import { DataService } from 'periscope-framework'; import { transient } from 'aurelia-framework'; import { json } from 'aurelia-fetch-client'; import * as _ from 'lodash'; export let ElasticSearchDataService = (_dec = transient(), _dec(_class = class ElasticSearchDataService extends DataService { ...
24,466
https://github.com/askuta/JAVA_BASES/blob/master/programs/008_JavaFX/src/com/java/javafx02/C02_JavaFX.java
Github Open Source
Open Source
Apache-2.0
null
JAVA_BASES
askuta
Java
Code
47
232
package com.java.javafx02; import javafx.application.Application; import javafx.stage.Stage; public class C02_JavaFX extends Application { public static void main(String[] args) { Application.launch(args); } @Override public void start(Stage originalStage) { originalStage.setTitle("Original stage"); orig...
18,709
https://github.com/hyo1411/Embeddinator-4000/blob/master/tests/leaktest/Program.cs
Github Open Source
Open Source
MIT
2,020
Embeddinator-4000
hyo1411
C#
Code
511
1,648
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using System.Threading; using System.Runtime.InteropServices; class LeakTester { [DllImport ("libc", EntryPoint="isatty")] extern static int _isatty (int fd); static bool HasControllingTerminal () { ret...
21,051
https://github.com/geneontology/noctua-models/blob/master/models/5dddbf0600000006.ttl
Github Open Source
Open Source
CC-BY-4.0
2,021
noctua-models
geneontology
Turtle
Code
4,961
71,245
<http://model.geneontology.org/5dddbf0600000006> 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/le...
26,811