code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
package com.alexstyl.specialdates.events.peopleevents; import android.content.ContentValues; import com.alexstyl.specialdates.Optional; import com.alexstyl.specialdates.contact.Contact; import com.alexstyl.specialdates.date.ContactEvent; import com.alexstyl.specialdates.events.database.DatabaseContract.AnnualEventsCo...
alexstyl/Memento-Calendar
android_mobile/src/main/java/com/alexstyl/specialdates/events/peopleevents/ContactEventsMarshaller.java
Java
mit
2,165
module.exports = require('./consistent_hashing');
shawnvan/coffee-server-demo
node_modules/consistent-hashing/lib/index.js
JavaScript
mit
50
/*! normalize.css v2.1.2 | MIT License | git.io/normalize */ /* ========================================================================== HTML5 display definitions ========================================================================== */ /** * Correct `block` display not defined in IE 8/9. */ article, asid...
peepsquest/tutorials
docs/css/normalize.css
CSS
mit
7,173
# spaCy contributor agreement This spaCy Contributor Agreement (**"SCA"**) is based on the [Oracle Contributor Agreement](http://www.oracle.com/technetwork/oca-405177.pdf). The SCA applies to any contribution that you make to any product or project managed by us (the **"project"**), and sets out the intellectual prope...
spacy-io/spaCy
.github/contributors/b1uec0in.md
Markdown
mit
5,372
F# Compiler Service =================== The F# compiler services package contains a custom build of the F# compiler that exposes additional functionality for implementing F# language bindings, additional tools based on the compiler or refactoring tools. The package also includes F# interactive service that can be used...
dsyme/FSharp.Compiler.Service
README.md
Markdown
mit
2,304
var express = require('express'); var path = require('path'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var index = require('./routes/index'); var users = require('./routes/users'); var app = express(); // view engine setup app.set('views', ...
lagerjs/lager
demo/express-app/app.js
JavaScript
mit
1,216
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // This file contains utility functions for RocksDB Option...
TeamSPoon/logicmoo_workspace
packs_lib/rocksdb/rocksdb/include/rocksdb/utilities/options_util.h
C
mit
5,753
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "bitcoinrpc.h" #include "base58.h" #include "init.h" #include "main.h" #inclu...
csae1152/bitcoin
src/bitcoinrpc.cpp
C++
mit
51,032
require 'test_helper' class RemoteEwayRapidTest < Test::Unit::TestCase def setup @gateway = EwayRapidGateway.new(fixtures(:eway_rapid)) @amount = 100 @failed_amount = -100 @credit_card = credit_card('4444333322221111') @options = { order_id: '1', invoice: 'I1234', billing_addr...
reinteractive/active_merchant
test/remote/gateways/remote_eway_rapid_test.rb
Ruby
mit
6,573
class Solution: # @param s, a string # @param dict, a set of string # @return a boolean def wordBreak(self, s, dict): solved = [False for i in range(len(s) + 1)] solved[0] = True for i in range(len(s)): for j in range(i + 1): if s[j : i + 1] in dict: ...
happylixue/LeetCodeSol
problems/word-break/sol.py
Python
mit
396
/* ========================================================== * autocomplete.js * Deal with the Typeahead.js/Bloodhound library to build the search field autocomplete * * Author: Yann, yann@antistatique.net * Date: 2014-05-01 14:23:18 * * Copyright 2014 Federal Chancellery of Switzerland * Licensed under MIT ...
eonum/drg-search
vendor/assets/javascripts/styleguide.js
JavaScript
mit
24,803
import { platformBrowser } from '@angular/platform-browser'; import { enableProdMode } from '@angular/core'; import { AppModuleNgFactory } from '../../../temp/app/textarea/multiplevalues/app.module.ngfactory'; enableProdMode(); platformBrowser().bootstrapModuleFactory(AppModuleNgFactory);
luissancheza/sice
js/jqwidgets/demos/angular/app/textarea/multiplevalues/main.ts
TypeScript
mit
297
<?php /** * @author Alex Bilbie <hello@alexbilbie.com> * @copyright Copyright (c) Alex Bilbie * @license http://mit-license.org/ * * @link https://github.com/thephpleague/oauth2-server */ namespace League\OAuth2\Server\Entities\Traits; trait AuthCodeTrait { /** * @var null|string ...
nusendra/nusendra-blog
vendor/league/oauth2-server/src/Entities/Traits/AuthCodeTrait.php
PHP
mit
613
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Function range_end</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../index.html" title="...
yinchunlong/abelkhan-1
ext/c++/thirdpart/c++/boost/libs/xpressive/doc/html/boost/xpressive/range_end.html
HTML
mit
5,797
// ******************************************************************************************************** // Product Name: DotSpatial.Forms.LayoutForm // Description: A form that shows the mapwindow layout // ********************************************************************************************************...
swsglobal/DotSpatial
Source/DotSpatial.Controls/LayoutForm.cs
C#
mit
3,537
--- title: A Deeper Look into Chapter 1 date: 30/12/2019 --- #### inTerpret What is temperance? Ellen White stated that temperance is “to dispense entirely with everything hurtful and to use judiciously that which is healthful” (Patriarchs and Prophets, 562). In other words, temperance is abstaining from the bad a...
PrJared/sabbath-school-lessons
src/en/2020-01-cq/01/03.md
Markdown
mit
1,908
package RSP::JSObject::MediaFile::Mogile; use strict; use warnings; use Digest::MD5; use LWP::UserAgent; use File::MMagic; use base 'RSP::JSObject::MediaFile'; sub new { my $class = shift; my $mog = shift; my $name = shift; my $paths = shift; my $self = { mog => $mog, paths => $paths, name => $name };...
sanyaade-mobiledev/smart-platform
lib/RSP/JSObject/MediaFile/Mogile.pm
Perl
mit
2,311
/* This file is a part of JRTPLIB Copyright (c) 1999-2011 Jori Liesenborgs Contact: jori.liesenborgs@gmail.com This library was developed at the Expertise Centre for Digital Media (http://www.edm.uhasselt.be), a research center of the Hasselt University (http://www.uhasselt.be). The library is based upon...
xiaoliang2016/JRTPLib-for-Android
src/rtpudpv6transmitter.h
C
mit
11,442
# mako/codegen.py # Copyright 2006-2019 the Mako authors and contributors <see AUTHORS file> # # This module is part of Mako and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """provides functionality for rendering a parsetree constructing into module source code.""" import j...
wujuguang/mako
mako/codegen.py
Python
mit
47,892
Xktta.I18n = function(locale, translations){ this.translations[locale] = translations || {}; return this; } Xktta.afterInit.push(function(){ var __this__ = Xktta; eval.call(__this__.window, "var I18n;"); I18n = { locale: 'en', translate: function(path, params){ var translation = path; v...
juniormesquitadandao/xikitita
app/models/i18n.js
JavaScript
mit
3,738
#!/usr/bin/env python from circuits.web import Server, JSONController class Root(JSONController): def index(self): return {"success": True, "message": "Hello World!"} app = Server(("0.0.0.0", 8000)) Root().register(app) app.run()
nizox/circuits
examples/web/jsoncontroller.py
Python
mit
247
// // Copyright (C) 2014, 2015 Ableton AG, Berlin. 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 t...
dodheim/atria
src/atria/funken/detail/access.hpp
C++
mit
2,682
import Ember from 'ember'; export default Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { this.compilerInfo = [4,'>= 1.0.0']; helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {}; var buffer = '', stack1, helperMissing=helpers.helperMissing, escapeExpressi...
alicht/buddybuddy
public/tmp/tree_merger-tmp_dest_dir-KPkHvOkI.tmp/buddybuddy/templates/users/index.js
JavaScript
mit
1,413
exports.defaultType = require('ot-json0').type; exports.map = {}; exports.register = function(type) { if (type.name) exports.map[type.name] = type; if (type.uri) exports.map[type.uri] = type; }; exports.register(exports.defaultType);
share/livedb
lib/types.js
JavaScript
mit
242
/* This file was autogenerated by raw2c. Visit http://www.devkitpro.org */ const unsigned char ball[] = { 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x40, 0x08, 0x06, 0x00, 0x00, 0x00, 0xaa, 0x69, 0x71, 0xde, 0x00, 0x...
mirror/grrlib
examples/unlimited2d/source/gfx/ball.c
C
mit
33,926
--- title: اندیشه هایی فراتر date: 14/02/2020 --- شرح نجات دانیال در عبرانیان باب ۱۱ آمده است. چه می تواند« سرای مشهور ایمان » نامیده شود، می گوید که نبی، در میان کمالات و فضائل دیگر « دهان شیران را بستند »(عبرانیان ۱۱: ۳۳). این فوق العاده است، اما باید قهرمانانی را در نظر داشته باشیم که مانند دانیال از مرگ نجات نیا...
imasaru/sabbath-school-lessons
src/fa/2020-01/07/07.md
Markdown
mit
3,576
using System; using System.Threading; using Titanium.Web.Proxy.Helpers; using Titanium.Web.Proxy.Http; using Titanium.Web.Proxy.Models; using Titanium.Web.Proxy.StreamExtended.Network; namespace Titanium.Web.Proxy.EventArguments { /// <summary> /// A class that wraps the state when a tunnel connect event ...
titanium007/Titanium
src/Titanium.Web.Proxy/EventArguments/TunnelConnectEventArgs.cs
C#
mit
2,809
<?php /** * Message translations. * * This file is automatically generated by 'yiic message' command. * It contains the localizable messages extracted from source code. * You may modify this file by translating the extracted messages. * * Each array element represents the translation (value) of a message (key). ...
ProfilerTeam/Profiler
protected/modules_core/space/messages/it/views_admin_edit.php
PHP
mit
1,211
from __future__ import print_function import time import pickle import time import numpy as np import scipy.optimize, scipy.ndimage from acq4.util import Qt import acq4.pyqtgraph as pg from acq4.Manager import getManager class PipetteTracker(object): """Provides functionality for automated tracking and recalibrat...
campagnola/acq4
acq4/devices/Pipette/tracker.py
Python
mit
28,251
<?php return [ 'symlink_created_text' => '我们刚刚为您创建了缺失的软连接。', 'symlink_created_title' => '丢失的存储软连接已被重新创建', 'symlink_failed_text' => '我们未能为您的应用程序生成缺失的软连接,似乎您的主机提供商不支持它。', 'symlink_failed_title' => '无法创建丢失的存储软连接', 'symlink_missing_button' => '修复', 'symlink_missing_text' => '我们找不到一个存储软连接,...
handiwijoyo/voyager
publishable/lang/zh_CN/error.php
PHP
mit
628
/** * Copyright 2012-2017, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; module.exports = require('../src/traces/heatmapgl');
chethanjjj/gentelella
vendors/plotlyjs/lib/heatmapgl.js
JavaScript
mit
261
<?php namespace Tiga\Framework\Response; /** * HTTP Header class. */ class Header { /** * HTTP status code. * * @var int */ protected $statusCode; /** * Response. */ protected $response; /** * Create header class and init the hook. */ public function...
todiadiyatmo/tiga-framework
src/Response/Header.php
PHP
mit
1,011
' Copyright (c) 2015 ZZZ Projects. All rights reserved ' Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods) ' Website: http://www.zzzprojects.com/ ' Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927 ' All ZZZ Projects products: Entity Framework Exte...
huoxudong125/Z.ExtensionMethods
src (VB.NET)/Z.ExtensionMethods.VB/Z.Core/System.Object/Convert/ToValueType/Object.ToNullableDouble.vb
Visual Basic
mit
887
#region License /* The MIT License Copyright (c) 2008 Sky Morey 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...
BclEx/AdamsyncEx
src/System.CoreEx/ComponentModel/DataAnnotations/DataAnnotationsResources.cs
C#
mit
1,841
#Your application starts here require_relative 'config/application' puts "Put your application code in #{File.expand_path(__FILE__)}"
thedanpan/toilets_directory_nyc
ar-skeleton/app.rb
Ruby
mit
136
/*************************************************************************/ /* editor_run.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
Paulloz/godot
editor/editor_run.cpp
C++
mit
9,100
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_COMPAT_H #define BITCOIN_COMPAT_H #if defined(HAVE_CONFIG_H) #in...
laudaa/bitcoin
src/compat.h
C
mit
2,175
/******************************************************************************* Copyright (C) 2015 Dario Oliveri See copyright notice in LICENSE.md *******************************************************************************/ #pragma once #include <list> #include <typeindex> #include <unordered_map> #include ...
Darelbi/Infectorpp
include/Infectorpp/priv/DependencyDAG.hpp
C++
mit
1,969
using Microsoft.CodeAnalysis; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; using System.Threading.Tasks; namespace Csla.Analyzers.Tests { [TestClass] public sealed class IsOperationMethodPublicAnalyzerTests { [TestMethod] public void VerifySupportedDiagnostics() ...
MarimerLLC/csla
Source/Csla.Analyzers/Csla.Analyzers.Tests/IsOperationMethodPublicAnalyzerTests.cs
C#
mit
4,968
import json import unittest2 from appengine_fixture_loader.loader import load_fixture from google.appengine.ext import testbed from google.appengine.ext import ndb from helpers.event_simulator import EventSimulator from helpers.event_team_status_helper import EventTeamStatusHelper from models.event import Event from ...
verycumbersome/the-blue-alliance
tests/test_event_team_status_helper.py
Python
mit
55,040
# UI.Codemirror directive [![Build Status](https://travis-ci.org/angular-ui/ui-codemirror.png)](https://travis-ci.org/angular-ui/ui-codemirror) This directive allows you to add [CodeMirror](http://codemirror.net/) to your textarea elements. ## Requirements - AngularJS - [CodeMirror 3.19.x](https://github.com/marijnh...
AaronZhangL/neo4j-search-characters
community/browser/app/components/angular-ui-codemirror/README.md
Markdown
mit
4,505
require('can-view-import/can-view-import_test');
tracer99/canjs
view/import/import_test.js
JavaScript
mit
49
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct hash&lt;long double&gt;</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta na...
yinchunlong/abelkhan-1
ext/c++/thirdpart/c++/boost/doc/html/boost/hash_long_doub_idp86761312.html
HTML
mit
5,445
/* * Copyright (c) 2006-2015 Rogério Liesenfeld * This file is subject to the terms of the MIT license (see LICENSE.txt). */ package mockit.internal.expectations.argumentMatching; import java.lang.reflect.Array; import javax.annotation.*; public class EqualityMatcher implements ArgumentMatcher<EqualityMatcher> { ...
beluchin/jmockit1
main/src/mockit/internal/expectations/argumentMatching/EqualityMatcher.java
Java
mit
1,866
<?php namespace YOOtheme\Widgetkit\Framework\Database; interface DatabaseInterface { /** * Fetches all rows of the result as an associative array. * * @param string $statement * @param array $params * @return array */ public function fetchAll($statement, array $params = array(...
yaelduckwen/libriastore
joomla/administrator/components/com_widgetkit/src/Framework/src/Database/DatabaseInterface.php
PHP
mit
2,712
import COMMAND from '../../../session/command'; import FileListWrapper from './file-list-wrapper'; import nativeMethods from '../native-methods'; import transport from '../../transport'; import settings from '../../settings'; import * as Browser from '../../utils/browser'; import * as HiddenInfo from './hidden-info'; i...
georgiy-abbasov/testcafe-hammerhead
src/client/sandbox/upload/info-manager.js
JavaScript
mit
7,469
import pyrox.filtering as filtering class EmptyFilter(filtering.HttpFilter): pass
akatrevorjay/pyrox
pyrox/stock_filters/empty.py
Python
mit
88
import subprocess import os li = [i for i in os.walk(os.getcwd())] print(li) for di in li: root = di[0] for fi in di[2]: lent = len(fi) if fi[lent-4:lent] == ".jpg": fi_path = os.path.join(root, fi) output_file = fi[:lent-4] + "_output" print(output_file) ...
wonkishtofu/Tesseract-OCR-Tessa
tessa/orbiturary/pictures/get_text.py
Python
mit
380
<html> <head> <link rel="stylesheet" type="text/css" href="../../bower_components/qunit/qunit/qunit.css"/> <title>can/view/mustache/live/node_list/test</title> </head> <body> <h1 id="qunit-header">can.view.live.nodeList Test Suite</h1> <h2 id="qunit-banner"></h2> <div id="qunit-testrunner-toolbar"></div> <h2 id="qun...
thecountofzero/canjs
view/node_lists/test.html
HTML
mit
737
// Package languages provides language rules to use with the inflect package. package languages import ( "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/chuckpreslar/inflect/types" ) // Defines irregular words, uncountables words, and pluralization/singularization rules for the English language. // // FIXM...
david415/go-ipfs
Godeps/_workspace/src/github.com/chuckpreslar/inflect/languages/english.go
GO
mit
1,943
# frozen_string_literal: true require 'sprockets_test' $file_stat_calls = nil class << File alias_method :original_stat, :stat def stat(filename) if $file_stat_calls $file_stat_calls[filename.to_s] ||= [] $file_stat_calls[filename.to_s] << caller end original_stat(filename) end end $dir_...
eileencodes/sprockets
test/test_performance.rb
Ruby
mit
14,649
import { newE2EPage } from '@stencil/core/testing'; import { listenForEvent, waitForFunctionTestContext } from '../../../test/utils'; test(`animation:web: hooks`, async () => { const page = await newE2EPage({ url: '/src/utils/animation/test/hooks' }); const screenshotCompares = []; screenshotCompares.push(awai...
driftyco/ionic
core/src/utils/animation/test/hooks/e2e.ts
TypeScript
mit
5,554
/* Get Programming with JavaScript * Listing 12.04 * Guess the random number */ var getGuesser = function () { var secret = Math.floor(Math.random() * 10 + 1); return function (userNumber) { if (userNumber === secret) { return "Well done!"; } else { return "Unlucky, try again."; } }; ...
jrlarsen/GetProgramming
Ch12_Conditions/listing12.04.js
JavaScript
mit
829
# [Bootstrap](http://getbootstrap.com) [![Bower version](https://badge.fury.io/bo/bootstrap.svg)](http://badge.fury.io/bo/bootstrap) [![npm version](https://badge.fury.io/js/bootstrap.svg)](http://badge.fury.io/js/bootstrap) [![Build Status](https://secure.travis-ci.org/twbs/bootstrap.svg?branch=master)](https://travis...
javalt/bootstrap
README.md
Markdown
mit
6,277
import math FREQ = 3000 V = 13.3 REALRPM = 305.6 LIMIT = 2 PWM_IN_MIN = 1100 PWM_IN_MAX = 2000 RPM_MAX = 2000.0 # rpm RPM_MIN = 300.0 # rpm # GT: Changed constants? RPM_SLEW = 10000.0 # rpm/s DT_LOOP = 0.001 # seconds per slow loop KP_RPM_UP = 0.3 # mA/rpm KI_RPM = 0.002 # mA/rpm/s I_SAT_R...
gtoonstra/foc_esc
escsim/constants.py
Python
mit
918
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Lab603/PicEncyclopedias
jni-build/jni/include/tensorflow/python/ops/functional_ops.py
Python
mit
23,180
(function () { var totalFactory =   function ($resource)  { return $resource("/api/priv/total/"); }; controlCajaApp.factory('totalFactory', ['$resource', totalFactory]); }());
froilanq/CursoAngularJS
10-Configuracion-Cache/client/totalFactory.js
JavaScript
mit
198
# Faraday [![Gem Version](https://badge.fury.io/rb/faraday.svg)](https://rubygems.org/gems/faraday) [![Build Status](https://travis-ci.org/lostisland/faraday.svg)](https://travis-ci.org/lostisland/faraday) [![Gitter](https://badges.gitter.im/lostisland/faraday.svg)](https://gitter.im/lostisland/faraday?utm_source=badg...
jordansite/jekyll-vlog
vendor/ruby/2.3.0/gems/faraday-0.12.0.1/README.md
Markdown
mit
10,705
// Copyright 2012 the V8 project 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 V8_LOG_H_ #define V8_LOG_H_ #include <string> #include "src/allocation.h" #include "src/base/compiler-specific.h" #include "src/base/platform/...
hoho/dosido
nodejs/deps/v8/src/log.h
C
mit
14,723
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/futex-emulation.h" #include <limits> #include "src/base/macros.h" #include "src/base/platform/time.h" #include "src/conversions.h" #incl...
hoho/dosido
nodejs/deps/v8/src/futex-emulation.cc
C++
mit
7,269
// Copyright © Microsoft Corporation. All Rights Reserved. // This code released under the terms of the // Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.) using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.IO; usin...
adamdriscoll/TfsIntegrationPlatform
IntegrationPlatform/Shell/EditorFoundation/Source/Extensibility/PluginManager.cs
C#
mit
11,472
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Class: Concurrent::Agent &mdash; Concurrent Ruby </title> <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" /> <link rel="stylesheet" h...
lucasallan/concurrent-ruby
docs/1.1.4/Concurrent/Agent.html
HTML
mit
126,343
# 1. values ## *methodical* ### flx-mode *type:* keyword *default:* grid **grid** - classical grid calculator **experimental** - supports relative, fix & flexible item widths, but might be buggy ### flx-direction *type:* keyword *default:* row Defines the direction and axis of the grid flow. Is equal to the ...
colorlight4/flx-grid
docs/values.md
Markdown
mit
1,584
/* ** delay_deny ** ** This plugin delays all pre-DATA 'deny' results until the recipients are sent ** and all post-DATA commands until all hook_data_post plugins have run. ** This allows relays and authenticated users to bypass pre-DATA rejections. */ exports.hook_deny = function (next, connection, params) { /* p...
Synchro/Haraka
plugins/delay_deny.js
JavaScript
mit
5,266
module Fastlane module Actions class EnsureNoDebugCodeAction < Action def self.run(params) command = "grep -RE '#{params[:text]}' '#{File.absolute_path(params[:path])}'" extensions = [] extensions << params[:extension] unless params[:extension].nil? if params[:extensions] ...
fastlane/fastlane
fastlane/lib/fastlane/actions/ensure_no_debug_code.rb
Ruby
mit
5,274
module ResultsHelper def remark_result_unsubmitted_or_released(remark_result) remark_result.marking_state == Result::MARKING_STATES[:unmarked] or remark_result.released_to_students end def can_show_remark_request_tab_in_student_pane(assignment, current_user, submission) if assignment.allow_r...
Lysette/Markus
app/helpers/results_helper.rb
Ruby
mit
838
/* Copyright (c) 2013-2022 Mahmoud Fayed <msfclipper@yahoo.com> */ #ifndef GLINEEDIT_H #define GLINEEDIT_H #include "ringqt.h" #include <QLineEdit> extern "C" { #include "ring.h" } class GLineEdit : public QLineEdit { Q_OBJECT public: struct VM *pVM; struct List *pParaList; char cTextChangedEvent...
ring-lang/ring
extensions/webassembly/ringqt/project/ringqt/include/glineedit.h
C
mit
1,504
/** * @file * @note Copyright (C) 2006,2007 Philippe Gerum <rpm@xenomai.org>. * * Xenomai is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published * by the Free Software Foundation; either version 2 of the License, * or (at your option) any later...
yop0/Temps_Reel
projet_destijl_2016/xenomai/include/nucleus/timebase.h
C
mit
8,231
# MVF-BU test plan ##1. Contents <a id="1-contents"></a> 1. [Contents](#1-contents) 2. [Introduction](#2-introduction) 3. [Test items](#3-test-items) 4. [Test environment](#4-test-environment) 5. [Test procedures](#5-test-procedures) 1. [Verification methods](#5-1=verification-methods) 2. [Test levels](#5-2=tes...
marlengit/hardfork_prototype_1_mvf-bu
doc/mvf-bu-test-plan.md
Markdown
mit
13,347
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8"> <TITLE></TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 3.2 (Unix)"> <META NAME="CREATED" CONTENT="0;0"> <META NAME="CHANGED" CONTENT="20110101;150...
scalalab/scalalab
source/src/main/scala/scalaExec/scalaLab/qrihrm.html
HTML
mit
3,771
<?php /* * This file is part of the puli/repository package. * * (c) Bernhard Schussek <bschussek@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Puli\Repository; use Puli\Repository\Api\Resource\FilesystemR...
stof/repository
src/AbstractPathMappingRepository.php
PHP
mit
6,028
#include <assert.h> #include <stdio.h> #include <ulib/os_atomic_intel64.h> int main() { atomic_barrier(); uint64_t a = 0; assert(atomic_cmpswp64(&a, 1, 2) == 0); assert(a == 0); assert(atomic_cmpswp64(&a, 0, 2) == 0); assert(a == 2); assert(atomic_cmpswp16(&a, 0, 2) == 2); assert(atomic_cmpswp16(&a, 2, 0) ==...
abhishek1015/schema_design
ulib/test/atomic.cpp
C++
mit
1,184
/* [auto_generated] boost/numeric/odeint/algebra/range_algebra.hpp [begin_description] Default algebra, which works with the most state types, like vector< double >, boost::array< double >, boost::range. Internally is uses boost::range to obtain the begin and end iterator of the according sequence. [end_descript...
gt-ros-pkg/humans
src/videoray/catkin_ws/src/videoray/include/boost/numeric/odeint/algebra/range_algebra.hpp
C++
mit
8,358
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.eventgrid.models; import com.fasterxml.jackson.annotation.J...
Azure/azure-sdk-for-java
sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionSuccessData.java
Java
mit
7,681
using Kliva.Models; namespace Kliva.Services.Interfaces { public interface IApplicationInfoService { AppVersion AppVersion { get; } } }
timheuer/Kliva-1
src/Kliva/Services/Interfaces/IApplicationInfoService.cs
C#
mit
159
<div class="row"> <div class="mainvcontainer" style="background-image:url('<?php echo base_url('img/bg.jpg'); ?>'); min-height:900px;"> <div class="col-sm-3"></div> <div class="animated bounceInDown col-sm-6"> <section class="panel" style="margin-top:90px;padding:50px; box-s...
freeztime/ignitedcms
application/views/admin/404/404.php
PHP
mit
894
--- title: Milét – Pavlovo rozloučení date: 05/09/2018 --- > <p></p> > 22Nyní jdu do Jeruzaléma, protože mě Duch nutí, a nevím, co mě tam potká. 23Vím jen tolik, že mi Duch svatý město od města ohlašuje, že na mne čekají pouta a utrpení. 24Ale já nepřikládám svému životu žádnou jinou cenu, než abych dokončil svůj b...
PrJared/sabbath-school-lessons
src/cs/2018-03/10/05.md
Markdown
mit
3,379
lesson_title "Redirection" test_redirecting_stdout_to_file() { output_stdout > tmp/redirect_test.txt local contents=$(cat tmp/redirect_test.txt) assertEqual "$contents" __ } test_redirecting_stderr_to_file() { output_stderr 2> tmp/redirect_test2.txt local contents=$(cat tmp/redirect_test2.txt) asser...
nadavc/bash_koans
src/00_about_redirection.sh
Shell
mit
953
module.exports = { entry: './client/index.js', output: { path: __dirname + '/public', filename: 'bundle.js' }, module: { loaders: [{ test: /\.jsx?$/, loader: 'babel-loader', exclude: /node_modules/ }] }, resolve: { extensions: ['.js', '.jsx'] }, devtool: 'source-map...
kelly-keating/kelly-keating.github.io
webpack.config.js
JavaScript
mit
324
FactoryBot.define do factory :category_node_base, class: Category::Node::Base, traits: [:cms_node] do route { "category/base" } end factory :category_node_node, class: Category::Node::Node, traits: [:cms_node] do route { "category/node" } end factory :category_node_page, class: Category::Node::Page,...
ShinjiTanimoto/shirasagi
spec/factories/category/nodes.rb
Ruby
mit
384
import { ServiceMessage } from './proxy'; export interface FileInfo { name: string; type: string; data: string; } export interface FileInputInfo { name: string; files: FileInfo[]; value: string; } export interface GetUploadedFilesServiceMessage extends ServiceMessage { filePaths: string[]...
miherlosev/testcafe-hammerhead
src/typings/upload.d.ts
TypeScript
mit
447
package foo.bar; import static org.junit.Assert.assertTrue; import org.junit.Test; public class FailingTests { @Test public void test0() {} // Defects4J: flaky method // @Test // public void test0() { // assertTrue(false); // } @Test public void test1() {} // Defects4J: flaky method // @Test //...
jose/defects4j
framework/test/resources/output/foo/bar/FailingTests.java
Java
mit
512
define( 'test2', ['test3', 'test4'], function( obj, str ){ return 'test2 is done, deps : [ ' + obj.name + str + ' ]'; });
eleanors/EaseJS
core/test/assets/test2.js
JavaScript
mit
122
from PyQt4 import QtCore, QtGui import acq4.Manager import acq4.pyqtgraph as pg import acq4.pyqtgraph.opengl as gl import numpy as np import acq4.util.functions as fn import re man = acq4.Manager.getManager() ## update DB field to reflect dir meta info #for i in db.select('Cell', ['rowid']): ...
hiuwo/acq4
acq4/analysis/scripts/eventExplorer.py
Python
mit
15,462
import React, { PureComponent } from 'react'; class ProgressBar extends PureComponent { render() { const { progress, className, percent = 100 } = this.props; return ( <div className={className}> {progress && <div className="progress"> <div className="progress-bar progress...
Apozhidaev/terminal.mobi
src/components/ProgressBar/index.js
JavaScript
mit
517
var DEFAULT_HANDEDNESS = require('../constants').DEFAULT_HANDEDNESS; var AXIS_LABELS = ['x', 'y', 'z', 'w']; var NUM_HANDS = 2; // Number of hands in a pair. Should always be 2. /** * Called on controller component `.play` handlers. * Check if controller matches parameters and inject tracked-controls component. * ...
RSpace/aframe
src/utils/tracked-controls.js
JavaScript
mit
6,862
module.exports={A:{A:{"2":"K D G E A B iB"},B:{"1":"AB","2":"2 C","132":"d J M H I"},C:{"1":"0 1 3 4 7 8 9 r s t u v w x y z IB BB CB DB GB","2":"2 fB FB F N K D G E A B C d J M H I O P Q R S T U V W X Y Z ZB YB","132":"6 a b c e f g h i j k l m n o L q"},D:{"1":"GB SB OB MB lB NB KB AB PB QB","2":"2 6 F N K D G E A B ...
quentinbernet/quentinbernet.github.io
node_modules/caniuse-lite/data/features/path2d.js
JavaScript
mit
984
const prettyBytes = require("pretty-bytes"); (prettyBytes(123): string); // $ExpectError prettyBytes("123"); // $ExpectError prettyBytes(true);
mwalkerwells/flow-typed
definitions/npm/pretty-bytes_v4.x.x/test_pretty-bytes_v4.x.x.js
JavaScript
mit
147
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2011 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any per...
bhlzlx/ogre
Samples/Browser/src/SampleBrowser.cpp
C++
mit
3,418
<?php /** * PHPExcel * * Copyright (c) 2006 - 2008 PHPExcel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
ALTELMA/OfficeEquipmentManager
application/libraries/PHPExcel/branches/v1.6.3/Classes/PHPExcel/Shared/Date.php
PHP
mit
8,411
from settings.common import * DATABASES = { 'default': { "ENGINE": "django.db.backends.mysql", "NAME": "mhfowler", "USER": "root", "PASSWORD": "", "HOST": "localhost", "PORT": "" } }
mhfowler/mhfowler
settings/local.py
Python
mit
239
import React from 'react' import UiValidate from '../../../../components/forms/validation/UiValidate' import MaskedInput from '../../../../components/forms/inputs/MaskedInput' import UiDatepicker from '../../../../components/forms/inputs/UiDatepicker' const validationOptions = { // Rules for form validation rule...
backpackcoder/world-in-flames
src/app/routes/forms/components/layouts/ReviewForm.js
JavaScript
mit
5,184
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Bundle\AdminBundle\EmailManager; use Sylius\Bundle\CoreBun...
SyliusBot/Sylius
src/Sylius/Bundle/AdminBundle/EmailManager/OrderEmailManager.php
PHP
mit
992
--- title: Do dalszego studium date: 03/01/2020 --- „Biblia została zaplanowana jako przewodnik dla wszystkich, którzy chcą poznać wolę swego Stwórcy. Bóg dał ludziom pewne niezawodne proroctwa; aniołowie, a nawet sam Chrystus przyszli, aby Daniel i Jan dowiedzieli się o tym, co ma wkrótce nadejść. Te istotne kwesti...
PrJared/sabbath-school-lessons
src/pl/2020-01/01/07.md
Markdown
mit
2,576
# CastVideos-chrome =============================== This Google Cast demo app shows how to cast videos from a Chrome browser using Cast Chrome Sender SDK. It serves to demonstrate how to write a HTML5/Javascript Cast sender app that is fully compliant with the Design Checklist. ## Setup Instructions # Pre-requisites...
marufbd/marufbd.github.io
chromecast/CastVideos-chrome/README.md
Markdown
mit
1,314
#!/usr/bin/env python3 # # Copyright (c) 2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Lint format strings: This program checks that the number of arguments passed # to a variadic format strin...
dashpay/dash
test/lint/lint-format-strings.py
Python
mit
10,365
using System; namespace Starscream.Web.Api.Responses { public class SuccessfulLoginResponse<T> { public SuccessfulLoginResponse() { } public SuccessfulLoginResponse(T token, string name, DateTime expires, string[] claims) { Token = token; Name =...
AcklenAvenue/Starscream
src/Starscream.Web/Api/Responses/SuccessfulLoginResponse.cs
C#
mit
574
package ij.plugin; import ij.*; import ij.gui.GenericDialog; import ij.process.*; import ij.measure.Calibration; /** This plugin implements the Image/Stacks/Tools/Grouped Z Project command. */ public class GroupedZProjector implements PlugIn { private static int method = ZProjector.AVG_METHOD; private int groupSize...
steliann/objectj
src/ij/plugin/GroupedZProjector.java
Java
mit
2,033
import type { NextPage } from 'next' import Link from 'next/link' import Layout from '../components/Layout' const AboutPage: NextPage = () => ( <Layout title="About | Next.js + Temporal Example"> <h1>About</h1> <p>This is the about page</p> <p> <Link href="/"> <a>Go home</a> </Link> ...
zeit/next.js
examples/with-temporal/pages/about.tsx
TypeScript
mit
368
class TodoListsController < ApplicationController before_action :require_user before_action :set_todo_list, only: %i[edit update destroy email] before_action :set_back_link, except: %i[index show] def index @todo_lists = current_user.todo_lists end def show; end def new @todo_list = current_use...
kirbrown/od-ot
app/controllers/todo_lists_controller.rb
Ruby
mit
1,619