code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
(function (global, factory) { if (typeof define === "function" && define.amd) { define(['exports', '../node_modules/skatejs/lib/index'], factory); } else if (typeof exports !== "undefined") { factory(exports, require('../node_modules/skatejs/lib/index')); } else { var mod = { exports: {} }; ...
skatejs/kickflip
lib/properties.js
JavaScript
mit
1,069
//************************************************************************// // API "congo": Model Helpers // // Generated with goagen v0.0.1, command line: // $ goagen // --out=$(GOPATH)/src/github.com/gopheracademy/congo // --design=github.com/gopheracademy/congo/design // // The content of this file is auto-generate...
gopheracademy/congo
models/event_helper.go
GO
mit
2,240
package ga import ( "bytes" "crypto/hmac" "crypto/sha256" "encoding/base64" "encoding/json" "fmt" "io/ioutil" "log" "net/http" "runtime" "time" ) const ( // PkgVersion is the current version of this package. Follows major, minor and // patch conventions PkgVersion = "0.0.2" // APIVersion is the curren...
replaygaming/gameanalytics
server.go
GO
mit
5,032
## Return the linear predictor vector function linpred!(out, p::LinPred, f::Real=1.) if f == 0 A_mul_B!(out, p.X, p.beta0) else beta0 = p.beta0 delbeta = p.delbeta scbeta = p.scratchbeta @inbounds for i = 1:length(scbeta) scbeta[i] = beta0[i] + f*delbeta[i] ...
abhijithch/GLM.jl
src/linpred.jl
Julia
mit
6,870
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>flocq: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.06.1-2.0.5/released/8.10.0/flocq/4.0.0.html
HTML
mit
6,793
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>chinese: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.10.0-2.0.6/extra-dev/dev/chinese/8.5.0.html
HTML
mit
6,861
<?php namespace Phpmvc\Comment; /** * To attach comments-flow to a page or some content. * */ class CommentsInSession implements \Anax\DI\IInjectionAware { use \Anax\DI\TInjectable; /** * Add a new comment. * * @param array $comment with all details. * * @return void */ ...
pmn834/wgtotw
Anax-MVC/app/src/Comment/CommentsInSession.php
PHP
mit
2,466
jQuery(document).ready(function(){ /** * add a category */ jQuery("#submitCategory").on("click", function(){ var category_name = jQuery("#category_name").attr("value"); if(!category_name) { alert("category input filde is empty please enter a category name"); retu...
vheidari/kiki-slider
assets/js/admin_ajax.js
JavaScript
mit
11,952
<?php /** * For licensing information, please see the LICENSE file accompanied with this file. * * @author Gerard van Helden <drm@melp.nl> * @copyright 2012 Gerard van Helden <http://melp.nl> */ namespace Melp\Vcs; /** * Common base class for the SVN implementations. */ abstract class SvnAbstract implements Cl...
drm/MelpVcs
src/Melp/Vcs/SvnAbstract.php
PHP
mit
4,674
<HTML> <BODY BGCOLOR="white"> <PRE> <FONT color="green">001</FONT> /**<a name="line.1"></a> <FONT color="green">002</FONT> * Copyright 2007-2010 Arthur Blake<a name="line.2"></a> <FONT color="green">003</FONT> *<a name="line.3"></a> <FONT color="green">004</FONT> * Licensed under the Apache License...
virtix/mut4j
lib/log4jdbc-1.2beta2/doc/apidocs-jdbc4/src-html/net/sf/log4jdbc/ResultSetSpy.html
HTML
mit
246,378
package kr.ac.cau.lumin.algomoa.Util.Adapter; import android.content.Context; import android.support.v7.widget.AppCompatImageView; import android.support.v7.widget.AppCompatTextView; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGro...
nErumin/Algomoa
app/src/main/java/kr/ac/cau/lumin/algomoa/Util/Adapter/ContestSettingAdapter.java
Java
mit
2,318
/* * Pore * Copyright (c) 2014-2015, Lapis <https://github.com/LapisBlue> * * The MIT License * * 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 ...
phase/Pore
src/main/java/blue/lapis/pore/converter/vector/VectorConverter.java
Java
mit
2,449
GitHubClient ======== [![Build Status](https://travis-ci.org/zsavely/GitHubClient.svg?branch=master)](https://travis-ci.org/zsavely/GitHubClient) [![codecov](https://codecov.io/gh/zsavely/GitHubClient/branch/master/graph/badge.svg)](https://codecov.io/gh/zsavely/GitHubClient) ### License The MIT License (MIT) ...
zsavely/GitHubClient
README.md
Markdown
mit
1,443
/* tags: basic <p>This example shows how you can implement a simple Minecraft renderer in regl.</p> */ const canvas = document.body.appendChild(document.createElement('canvas')) const fit = require('canvas-fit') const regl = require('../regl')(canvas) const mat4 = require('gl-mat4') const camera = require('canva...
mikolalysenko/regl
example/minecraft.js
JavaScript
mit
5,489
namespace Kliva.Services { /// <summary> /// This static class contains the Strava API endpoint Urls. /// </summary> public static class Endpoints { /// <summary> /// Url to the Activity endpoint used for the currently authenticated athlete. /// </summary> public con...
clarkezone/Kliva
src/Kliva/Services/Endpoints.cs
C#
mit
4,380
module.exports = { output: { library: 'RadioGroup', libraryTarget: 'umd' }, externals: [ { react: { root: 'React', commonjs2: 'react', commonjs: 'react', amd: 'react' } } ], module: { loaders: [ {test: /\.jsx?$/, exclude: /build|node_module...
mu29/react-radio-buttons
webpack.config.js
JavaScript
mit
412
using System; using System.Collections.Generic; using CloudyNovel.Game; using CloudyNovel.Graphics.Rendering; using OpenTK.Input; namespace CloudyNovel.Scenes { public class SceneManager { private readonly Dictionary<string, Scene> _scenes; private Scene _currentScene; public Scene Cu...
kicklogicout/CloudyNovel
CloudyNovel/Scenes/SceneManager.cs
C#
mit
3,486
package com.dgex.offspring.nxtCore.core; import nxt.Constants; public class NXTTime { public static long convertTimestamp(long timestamp) { return ((timestamp * 1000) + Constants.EPOCH_BEGINNING - 500L); } }
incentivetoken/offspring
com.dgex.offspring.nxtCore/src/com/dgex/offspring/nxtCore/core/NXTTime.java
Java
mit
219
""" Define a simple framework for time-evolving a set of arbitrary agents and monitoring their evolution. """ import numpy as np def int_r(f): """ Convert to nearest integer. """ return int(np.round(f)) class Simulation(object): """ A class that manages the evolution of a set of agents. This is a simple o...
ttesileanu/twostagelearning
simulation.py
Python
mit
6,696
export const RouteAuth = { REQUIRED: 2, DISABLED: 0, OPTIONAL: 1, };
zabkwak/resting-squirrel
src/typings/enums.js
JavaScript
mit
72
class DropItemIdFromIngredients < ActiveRecord::Migration[5.1] def change remove_column :ingredients, :item_id end end
IsabelVazquez/recipe-app
db/migrate/20171023224714_drop_item_id_from_ingredients.rb
Ruby
mit
127
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Media; namespace GZ_SpotGateEx.UIControls { /// <summary> /// 图片变换状态的按钮 //...
ysjr-2002/GZ-SpotGate
GZ-SpotGateEx/UIControls/ImageButton.cs
C#
mit
2,396
# Copyright (c) 2008, Aldo Cortesi. All rights reserved. # # 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, modify,...
himaaaatti/qtile
libqtile/manager.py
Python
mit
59,989
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <title>One Graph</title> <style type="text/css"> body { font-family: sans-serif; font-size: 13px; /*font: 13px sans-serif;*/ } body, html { ...
sauloal/webmummer
index.html
HTML
mit
7,143
<div class="row"> <small class="text-muted"> Página {!! $personas->currentPage() !!} de {!! $personas->lastPage() !!} / Mostrando desde el {!! $paginate_data['items_desde'] !!}° al {!! $paginate_data['items_hasta'] !!}° elemento de un total de {!! $personas->total() !!} </small> </div> <table class="table table-s...
aabcehmt/fe
resources/views/admin/people/personas/partials/table.blade.php
PHP
mit
1,181
Cantor Ribbon jQuery plugin =========================== A "Cantor Ribbon" is a horizontal ribbon that extends off the screen infinitely in both directions. The user can interact with the ribbon either by click-and-drag on the ribbon or by clicking on the desired element. (Touch support will come soon). The caller pro...
tomyedwab/jquery.cantor-ribbon
README.md
Markdown
mit
651
require_relative 'boot' require "rails" # Pick the frameworks you want: require "active_model/railtie" require "active_job/railtie" require "active_record/railtie" require "action_controller/railtie" require "action_mailer/railtie" require "action_view/railtie" require "action_cable/engine" # require "sprockets/railti...
ejedigitalcr/people-lookup-cr
config/application.rb
Ruby
mit
1,036
<?php namespace Adap\MainBundle\Entity; use Doctrine\ORM\Mapping as ORM; // Importation des composants de validation use Symfony\Component\Validator\Constraints as Assert; /** * Comment * * @ORM\Table() * @ORM\Entity(repositoryClass="Adap\MainBundle\Entity\CommentRepository") */ class Comment { /** * @...
blupgnup/adap
NZpics/src/Adap/MainBundle/Entity/Comment.php
PHP
mit
2,590
# Aggregates, Events, Repositories This use case demonstrates how to capture state changes in events and then replaying that state from the database. This is done by first introducing some supporting infrastructure, then implementing a model of invoice, together with invoice lines, on top of that. ## Scenario To mod...
JasperFx/Marten
docs/guide/scenarios/aggregates-events-repositories.md
Markdown
mit
3,502
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>ansible.galaxy.role</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <...
alikins/alikins.github.io
epydoc/ansible.galaxy.role-module.html
HTML
mit
7,378
{% extends './../frame.html' %} {% block content %} {% if int(contest_data['id']) != 0 %} <h1>Edit Contest.{{contest_data['id']}}</h1> {% else %} <h1>New Contest</h1> {% end %} <form class="form" id="contest_content" method={% if contest_data['id'] != 0 %}"put"{% else %}"post"{% end %} acti...
Tocknicsu/nctuoj
backend/web/template/contests/contest_edit.html
HTML
mit
7,558
// Entry point for the notebook bundle containing custom model definitions. // // Setup notebook base URL // // Some static assets may be required by the custom widget javascript. The base // url for the notebook is not known at build time and is therefore computed // dynamically. __webpack_public_path__ = document.que...
Who8MyLunch/Jupyter_Canvas_Widget
js/lib/index.js
JavaScript
mit
588
/** * SFALogLevel NS_OPTIONS with NSUInteger values. */ typedef NS_OPTIONS (NSUInteger, SFALogLevel) { /** * Option value for log level None. */ SFALogLevelNone = 0x0, /** * Option value for log level Trace. */ SFALogLevelTrace = 0x1, /** * Option value for log level Debug...
citrix/ShareFile-ObjectiveC
ShareFileSDK/ShareFileSDK/Logging/SFALogLevel.h
C
mit
698
# # lastilePro.py # # (c) 2013, martin isenburg - http://rapidlasso.com # rapidlasso GmbH - fast tools to catch reality # # uses lastile.exe to compute a tiling for a folder # worth of LiDAR files with a user-specified tile # size (and an optional buffer) # # LiDAR input: LAS/LAZ/BIN/TXT/SHP/BIL/ASC/DTM...
strummerTFIU/TFG-IsometricMaps
LAStools/ArcGIS_toolbox/scripts_production/lastilePro.py
Python
mit
4,971
"use strict"; module.exports = { home: require("./home") };
jubianchi/jsimple
example/src/application/controllers/index.js
JavaScript
mit
65
/** * Portions Copyright 2001 Sun Microsystems, Inc. * Portions Copyright 1999-2001 Language Technologies Institute, * Carnegie Mellon University. * All Rights Reserved. Use is subject to license terms. * * See the file "license.terms" for information on usage and * redistribution of this file, and for a DISC...
edwardtoday/PolyU_MScST
COMP5517/JavaSpeech/freetts-1.2.2-src/freetts-1.2.2/com/sun/speech/freetts/PhoneSetImpl.java
Java
mit
3,319
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>disel: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.10.2-2.0.6/released/8.13.2/disel/2.2.html
HTML
mit
7,846
describe('inventory routes', () => { var expect = chai.expect; describe('state', () => { var view = 'inventory/inventory.html'; beforeEach(function () { angular.mock.module('app.inventory'); bard.inject(this, '$rootScope', '$state', '$templateCache'); $templateCache.put(view, ''); ...
tonyeung/angular-typescript-seed
src/app/inventory/inventory.route.tests.js
JavaScript
mit
1,292
--- title: Benchmarking layout: "default" nav_order: 2 --- # Benchmarking Benchmarking is used to compare the performance of multiple different implementations of the same logic. Benchmarking compares multiple [Profilingsessions](profiling). ```csharp var sha256 = SHA256.Create(); var md5 = MD5.Create(); var data = ...
WickedFlame/MeasureMap
docs/benchmarking.md
Markdown
mit
1,879
<?php namespace BlogBundle\EventListener\EntityListener; use BlogBundle\Event\EventInterface\BlogBundleEventInterface; /** * Interface EntityCreateEventListenerInterface * @package BlogBundle\Event\EventListener\EntityListener */ interface EntityCreateEventListenerInterface { /** * @param BlogBundleEvent...
myrkox/symfony-blog-api
application/src/BlogBundle/EventListener/EntityListener/EntityCreateEventListenerInterface.php
PHP
mit
415
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Coq bench</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet...
coq-bench/coq-bench.github.io-old
clean/Linux-x86_64-4.01.0-1.2.0/unstable/8.4.dev/contrib:high-school-geometry/dev/2015-01-07_03-53-32.html
HTML
mit
7,055
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>1.1. comp neuro</title> <link rel="stylesheet" href="../../_static/css/index.73d71520a4ca3b99cfee5594769eaaae.css"> <link rel="stylesheet" href="../../_static/vendor/fontawesome/5.13.0/css/a...
csinva/csinva.github.io
_blog/compiled_notes/_build/html/notes/research_ovws/ovw_comp_neuro.html
HTML
mit
52,733
package com.benjaminearley.mysubs; import android.annotation.SuppressLint; import android.content.DialogInterface; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.app.AlertDialog; import android.view.LayoutInflater; import android.view.View; import an...
BenjaminEarley/Capstone-Project
app/src/main/java/com/benjaminearley/mysubs/StoryDetailFragment.java
Java
mit
4,519
#include <stdio.h> // standard input / output functions #include <stdlib.h> #include <string.h> // string function definitions #include <unistd.h> // UNIX standard function definitions #include <fcntl.h> // File control definitions #include <errno.h> // Error number definitions #include <termios....
naprave/RaspberryPi
npStarter/main.cpp
C++
mit
4,799
package hudson.plugins.warnings.parser; import java.util.regex.Matcher; import hudson.Extension; import hudson.plugins.analysis.util.model.Priority; /** * A parser for Perforce execution. * * @author Adrian Deccico * @deprecated use the new analysis-model library */ @Deprecated @Extension publi...
jenkinsci/warnings-plugin
src/main/java/hudson/plugins/warnings/parser/P4Parser.java
Java
mit
2,447
local slots = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16} if not fs.exists("turtle/inventory") and fs.isDir("turtle/inventory") then fs.makeDir("turtle/inventory") end function save() for i = 1, 16 do local file = fs.open("turtle/inventory/"..i, "w") file.writeLine(textutils.serialize(slots[i]...
KingofGamesYami/Advance-Turtle-Operating-Environment
.apis/slot.lua
Lua
mit
1,331
""" Simple utils to save and load from disk. """ from __future__ import print_function from __future__ import division from __future__ import unicode_literals # TODO(rbharath): Use standard joblib once old-data has been regenerated. import joblib from sklearn.externals import joblib as old_joblib import gzip import pi...
joegomes/deepchem
deepchem/utils/save.py
Python
mit
5,030
<?php /* @var $this Controller */ ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="language" content="en"> <!-- blueprint CSS framework --> <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media=...
negativo/Yii-PHP-with-Vagrant
app/protected/views/layouts/main.php
PHP
mit
2,144
// // MDMainViewController.h // iOS Library // // Created by Andrew Kopanev on 2/3/14. // Copyright (c) 2014 Moqod. All rights reserved. // #import <UIKit/UIKit.h> @interface MAMainViewController : UIViewController @end
moqod/ios-categories-and-tools
Classes/Sample/Main/MAMainViewController.h
C
mit
227
Pattern: Possible `grep` misuse Issue: - ## Description In globs, `*` matches any number of any character. In regex, `*` matches any number of the preceding character. `grep` uses regex, not globs, so this means that `grep '*foo'` is nonsensical because there's no preceding character for `*`. If the intention was...
Adroiti/docs-for-code-review-tools
ShellCheck/SC2063.md
Markdown
mit
1,095
--- layout: post title: "简单 SQL 语句的逻辑顺序" description: "" category: SQL tags: [] --- {% include JB/setup %}   考虑一个简单的语句: ```sql SELECT order_num, SUM(quantity * item_price) AS ordertotal FROM orderitems WHERE quantity > 1 GROUP BY order_num HAVING ordertotal >= 50 ORDER BY ordertotal; ``` * FROM 确定所操作的表 *...
erikyao/erikyao.github.io
_posts/2009-12-26-simple-example-of-sql-logic.md
Markdown
mit
708
<?php /** * Created by PhpStorm. * User: asao * Date: 2013/11/26 * Time: 23:44 */ namespace WScore\Basic\Enum; interface EnumInterface { /** * Returns all possible values and strings as an array * * @return array Constant name in key, constant value in value */ public static function g...
asaokamei/WScore.Basic
src/Enum/EnumInterface.php
PHP
mit
973
package deref // DO NOT MODIFY. Generated by nullable-generate. // Float32 returns the value pointed to by np. // If np is nil, then this function returns 0. func Float32(np *float32) float32 { if np == nil { return 0 } return *np }
spkg/ptr
deref/float32.go
GO
mit
240
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-finmap: 1 m 34 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/released/8.7.1+1/mathcomp-finmap/1.0.0.html
HTML
mit
8,393
package bart.comparison.operators; import bart.comparison.ComparisonConfiguration; import bart.comparison.ComparisonStats; import bart.comparison.ComparisonUtility; import bart.comparison.CompatibilityMap; import bart.comparison.InstanceMatchTask; import bart.comparison.SignatureAttributes; import bart.comparison.Sign...
dbunibas/BART
Bart_Engine/src/bart/comparison/operators/ComputeInstanceSimilarityBlock.java
Java
mit
12,360
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
hanssens/bucket
experiments/EntityFramework Performance/EntityFrameworkPerformanceTests/DatabaseFirst/WorkOrder.cs
C#
mit
1,427
module NewsScraper class ResponseError < StandardError attr_reader :error_code, :message, :url def initialize(opts = {}) @error_code = opts[:error_code] @message = opts[:message] @url = opts[:url] super end end module Transformers class ScrapePatternNotDefined < Standard...
richardwu/news_scraper
lib/news_scraper/errors.rb
Ruby
mit
506
module DataForge module Transformation class Deduplication < TransformationBase class << self def from_input(source_name, options = {}) reader = File.reader_for source_name writer = File.writer_for(options.fetch :into, source_name) unique_fields = Array(options.fetch ...
zormandi/data_forge
lib/data_forge/transformation/deduplication.rb
Ruby
mit
968
// // MessageModel.h // HuLaQuan // // Created by liyan on 16/1/18. // Copyright © 2016年 yuwubao. All rights reserved. // #import <Foundation/Foundation.h> @interface MessageModel : NSObject @property (nonatomic, readonly) NSString *messageTitle; @property (nonatomic, readonly) NSString *messageTime...
TsinHzl/GuiJiBao
APP_FK/HuLaQuan/MessageModel.h
C
mit
589
<!DOCTYPE html> <!-- saved from url=(0065)file:///C:/Users/kaycee/Desktop/%E7%AC%AC%E4%BA%8C%E8%AF%BE_1.htm --> <html> <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>页面</title> <style> ul.two { list-style-type:square;} ol.one { list-style-type:lower-roman;} p.a...
LAB-Remote/LAB-Remote.github.io
internal/files/第三课_1.html
HTML
mit
1,427
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>io-system-ocaml: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.06.1-2.0.5/released/8.12.2/io-system-ocaml/2.2.0.html
HTML
mit
6,582
package provingground.interface import provingground._ import learning._ import scala.concurrent._ import ExecutionContext.Implicits.global // import FiniteDistribution._ import LinearStructure._ //import provingground.FiniteDistributionLearner.IterDynSys /** * @author gadgil * Runs dynamilac system with futures,...
siddhartha-gadgil/ProvingGround
crust/src/main/scala/provingground/Blender.scala
Scala
mit
890
import numpy as np def data_concat(result_a): return np.concatenate(result_a, axis=0) def data_mean(result_a): return np.mean(result_a) def data_identity(result_a): return result_a def data_stack(result_a): return np.stack(result_a) def data_single(result_a): return result_a[0] def data_...
haihabi/simpy
simpy/core/result/base_function.py
Python
mit
391
// // ZZPostlyExclusive.h // ZZOperationExtension // // Created by sablib on 15/12/2. // Copyright © 2015年 sablib. All rights reserved. // #import <Foundation/Foundation.h> #import "ZZMutuallyExclusive.h" @interface ZZPostlyExclusive : ZZMutuallyExclusive @end
sablib/ZZOperationExtension
ZZOperationExtension/Classes/ZZPostlyExclusive.h
C
mit
271
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>plugin-utils: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.11.0-2.0.7/released/8.11.2/plugin-utils/1.1.0.html
HTML
mit
6,334
export default class ChatService { constructor(webSocketService, $q, $rootScope) { this.channelName = 'chat'; this.webSocketService = webSocketService; this.$q = $q; } enterChat(){ var deferred = this.$q.defer(); if(this.webSocketService.isConnected()){ this.webSocketService.enterRoom(t...
LM-G/Genesis-Andromeda
client/app/commons/chat/chat.service.js
JavaScript
mit
1,227
var initSort = function() { $("#sortable").sortable({ containment: "document", items: "> div", handle: ".handle", tolerance: "pointer", cursor: "move", opacity: 0.8, revert: 300, delay: 150, placeholder: "movable-placeholder", start: fu...
JorgenSolli/Logit
resources/assets/js/routines.js
JavaScript
mit
19,289
# _*_ coding: utf-8 _*_ import os try: from cStringIO import StringIO # python 2 except ImportError: from io import StringIO # python 3 from collections import OrderedDict import unittest from tornado.escape import to_unicode from tortik.util import make_qs, update_url, real_ip from tortik.util.xml_etree im...
glibin/tortik
tortik_tests/util_test.py
Python
mit
7,001
module Indocker VERSION = '0.0.25'.freeze end
droidlabs/indocker
lib/indocker/version.rb
Ruby
mit
47
<? $PaginaPrefijo='../'; $pagina = $PHP_SELF; if (substr($pagina,-1)=='/') $pagina = substr($pagina,0,strlen($pagina)-1); if (substr($pagina,-10)=='/index.php') $pagina = substr($pagina,0,strlen($pagina)-10); $Alias = 'ajsaasdoc'; $PaginaMenu = 'menu.inc.php'; include('../PaginaMuestra.p...
ajlopez/ajlopezsite
web/ajsaas/documentation.php
PHP
mit
329
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hammer-tactics: 26 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/released/8.12.0/hammer-tactics/1.3+8.12.html
HTML
mit
10,803
'use strict'; angular.module('yeoMeanApp') .controller('ContactCtrl', function ($rootScope, $scope) { $rootScope.metaTitle = "Contact | Brian Mitchell"; $rootScope.metaDescription = "Where to find Brian Mitchell"; $rootScope.metaType = "website"; $rootScope.metaImage = "/assets/images/BM-Logo-Large.p...
bman4789/YeoMEAN
client/app/contact/contact.controller.js
JavaScript
mit
331
# AlpineLinux with a glibc-2.23 and Oracle Java 8 FROM tomaer/alpine:edge-gmt8-aliyun MAINTAINER tomaer <i@tomaer.com> # Anastas Dancha <anapsix@random.io> # thanks to Vladimir Krivosheev <develar@gmail.com> aka @develar for smaller image # and Victor Palma <palma.victor@gmail.com> aka @devx for pointing it out # Jav...
tomaer/docker-oracle-java
X86/8/gmt8-aliyun/121b13/standard/server-jre/Dockerfile
Dockerfile
mit
3,719
<?php /* * Designed to send email to a user(s) */ class Mail { private $m_message; private $m_recipients; // array of recipients private $m_sender; private $m_subject; private $m_html; // default is html mail function Mail() { $this->m_html = true; $this->m_message = " "; $this->m_sender = null; $th...
milligan22963/PageBuilder
toolbox/mailer.php
PHP
mit
2,259
require 'rails_helper' RSpec.describe Article, :type => :model do # Associations ------------------------------------------------------- it { should belong_to(:feed) } # Validations -------------------------------------------------------- it { should validate_presence_of(:title) } it { should validate_pr...
ptrckbrwn/idoru
spec/models/article_spec.rb
Ruby
mit
393
<?php use ArenaPl\ApiCall\ApiCallInterface; use ArenaPl\Client; class ArenaPl_Magento_Model_Resource_Exportservice { /** * @var Client */ protected $client; /** * @var ArenaPl_Magento_Model_Mapper */ protected $mapper; /** * @var Mage_Catalog_Model_Resource_Product_Relat...
spiechu/arena-pl-magento-1
app/code/community/ArenaPl/Magento/Model/Resource/Exportservice.php
PHP
mit
16,959
## AppDomainSetup.DynamicBase is no longer randomized by UseRandomizedStringHashAlgorithm ### Scope Edge ### Version Introduced 4.6 ### Source Analyzer Status Planned ### Change Description Prior to the .NET Framework 4.6, the value of AppDomainSetup.DynamicBase would be randomized between application domains, or b...
punker76/dotnet
Documentation/compatibility/appdomainsetup_dynamicbase-is-no-longer-randomized-by-userandomizedstringhashalgorithm.md
Markdown
mit
1,238
// JEQ, JNE, JGT, JLT, JGE, JLE MACRO JEQ ( _rX_, _rY_, _dest_ ) CMP _rX_ _rY_ JZ { _dest_ } ENDMACRO MACRO JNE ( _rX_, _rY_, _dest_ ) CMP _rX_ _rY_ JNZ { _dest_ } ENDMACRO // stackoverflow.com/a/36909033 MACRO JGT ( _rX_, _rY_, _dest_ ) // JC CMP _rX_ _rY_ JC { _dest_ } ENDMACRO MACRO JLT (...
JetStarBlues/Nand-2-Tetris
Assembler/macros/comparisons.asm
Assembly
mit
701
<?php // src/Ens/JobeetBundle/DataFixtures/ORM/LoadCategoryData.php namespace Ens\JobeetBundle\DataFixtures\ORM; use Doctrine\Common\Persistence\ObjectManager; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\DataFixtures\OrderedFixtureInterface; use Ens\JobeetBundle\Entity\Category; class LoadCate...
skiram/sfJobeet
src/Ens/JobeetBundle/DataFixtures/ORM/LoadCategoryData.php
PHP
mit
1,286
steps_for :a_user_viewing_the_projects_that_they_belong_to do Given "a user without any projects logs in" do @user = a_user_who_just_logged_in end Given "a user who belongs to some projects logs in" do @user = Generate.user @projects = [ Generate.project(:name => "ProjectBaz", :members => [@user...
mvanholstyn/strac
stories/steps/project_sidebar/a_user_viewing_the_projects_that_they_belong_to_steps.rb
Ruby
mit
916
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
v8-dox/v8-dox.github.io
fd0253b/html/classv8_1_1WeakCallbackData.html
HTML
mit
7,212
#!/bin/bash # Run this script first to generate the variety of *.rc files that are # needed. Then execute 'runAll.sh' to see results. # configure to use these BINS T="BINS=ValueBased/Qsort_straight ValueBased/Qsort_2_6_6 ValueBased/Qsort_2_6_11 ValueBased/Insertion " # percentage 1/p P=4 # distance to move DELTA=4...
heineman/algorithms-nutshell-2ed
Figures/scripts/chapter2/Figure2-3/buildAll.sh
Shell
mit
693
// This tests the OpenMM functionality here #include <cassert> #include <cmath> #include <fstream> #include <iostream> #include <string> #include "Amber.h" #include "OpenMM.h" using namespace std; void check_omm_system(void) { Amber::AmberParm parm; parm.rdparm("files/trx.prmtop"); OpenMM::System *syst...
swails/omm_cphmd
test/OpenMMTest.cpp
C++
mit
10,656
# concatAll #### 函数签名: `concatAll(): Observable` ## 收集 observables,当前一个完成时订阅下一个。 --- :warning: 当源 observable 发出的速度要比内部 observables 完成更快时,请小心 [backpressure (背压)](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/gettingstarted/backpressure.md) ! :bulb: 在很多情况下,你可以使用只使用单个操作符 [concatMap](../transformation/...
RxJS-CN/learn-rxjs-operators
operators/combination/concatall.md
Markdown
mit
4,033
import numpy as np from sklearn.grid_search import GridSearchCV import sklearn.metrics as metrics from sklearn import preprocessing as prep from tr_utils import merge_two_dicts, isEmpty class SKSupervisedLearning (object): """ Thin wrapper around some learning methods """ def __init__(self, classifi...
fierval/KaggleMalware
Learning/SupervisedLearning.py
Python
mit
5,930
![s28358339.jpg](https://img1.doubanio.com/view/subject/l/public/s28358339.jpg) 作者: 张亮 出版社: 中信出版社 出版年: 2015-11-1 页数: 334 定价: 49.00元 装帧: 精装 ISBN: 9787508655659 [豆瓣链接](https://book.douban.com/subject/26682111/) - [第二章 运营是个筐](#%e7%ac%ac%e4%ba%8c%e7%ab%a0-%e8%bf%90%e8%90%a5%e6%98%af%e4%b8%a...
zhangjunhd/reading-notes
pm/operation/operation-start-from-scratch.md
Markdown
mit
52,847
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>relation-algebra: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstra...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.1-2.0.6/extra-dev/dev/relation-algebra/1.6.html
HTML
mit
7,200
// // # Yocto/Trace: Path tracing // // Yocto/Trace is a simple path tracer written on the Yocto/Scene model. // Yocto/Trace is implemented in `yocto_trace.h` and `yocto_trace.cpp`. // // // LICENSE: // // Copyright (c) 2016 -- 2021 Fabio Pellacini // // Permission is hereby granted, free of charge, to any person obta...
jing-interactive/Cinder-portfolio
blocks/yocto-gl/libs/yocto/yocto_trace.h
C
mit
20,047
#include <SDL.h> #include <GL/gl.h> #include <string> // for open close #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include "model.h" void init() { glEnable(GL_TEXTURE_2D); glShadeModel(GL_SMOOTH); glClearColor(0.f, 0.f, 0.f, 1.f); glClearDepth(1.f); glEnable(GL_DEPTH_TEST); ...
green7ea/gorgon
example/main.cpp
C++
mit
2,374
# Base16 PaperColor Light Syntax Theme for Atom A Base16 color scheme for Atom syntax, ported from [PaperColor-theme](https://github.com/NLKNguyen/papercolor-theme) (originally for Vim) ![Screenshot](https://nlknguyen.files.wordpress.com/2015/07/atom-light-go.png)
NLKNguyen/base16-papercolor-light-syntax
README.md
Markdown
mit
267
using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Xml.Linq; namespace XData.Data.Query { internal class ElementExpressionVisitor : ExpressionVisitor { public string GetFirstParameter(Expression node) { FirstParameter = null;...
sundy39/xf
ElementFramework/Query/ElementExpressionVisitor.cs
C#
mit
1,519
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>square-matrices: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/extra-dev/dev/square-matrices/8.6.0.html
HTML
mit
7,180
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-real-closed: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boot...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/dev/mathcomp-real-closed/1.0.2.html
HTML
mit
7,896
// Importing from `.json.js` a workaround for a bug in web browsers' "native" // ES6 importing system which is uncapable of importing "*.json" files. // https://github.com/catamphetamine/libphonenumber-js/issues/239 import metadata from '../metadata.mobile.json.js' export default metadata export function withMetadata(...
halt-hammerzeit/libphonenumber-js
mobile/metadata.js
JavaScript
mit
444
--- title: afx42 type: products image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png heading: x42 description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj main: heading: Foo Bar BAz description: |- ***This is i a thing***kjh hjk kj # Blah Blah ## Blah![undefined](undefined) ### Baah image1:...
pblack/kaldi-hugo-cms-template
site/content/pages2/afx42.md
Markdown
mit
339
<html> <head> <title>OGRE: Member List - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="doxygen.css"> <link type="text/css" rel="stylesheet" href="tabs.css"> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="...
milram/ogre-1.7.4-osx
Docs/api/html/classOgre_1_1ShadowCameraSetup-members.html
HTML
mit
7,291
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>concat: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.04.2-2.0.5/released/8.8.1/concat/8.7.0.html
HTML
mit
6,838
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>zfc: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.1/released/8.7.1+2/zfc/8.10.0.html
HTML
mit
7,805
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL...
adriangirol/Proyecto
application/config/config.php
PHP
mit
18,892
require 'spec_helper' require 'git' require_relative 'fixtures/versionfiles' describe Autoversion::CLI do # Borrowing capture_io from minitest until I have # time to move over to minitest fully. def capture_io require 'stringio' captured_stdout, captured_stderr = StringIO.new, StringIO.new Mutex....
jpettersson/autoversion
spec/cli_spec.rb
Ruby
mit
3,200