repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
alexstyl/Memento-Calendar | android_mobile/src/main/java/com/alexstyl/specialdates/events/peopleevents/ContactEventsMarshaller.java | 2165 | 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... | mit |
shawnvan/coffee-server-demo | node_modules/consistent-hashing/lib/index.js | 50 | module.exports = require('./consistent_hashing');
| mit |
peepsquest/tutorials | docs/css/normalize.css | 7173 | /*! normalize.css v2.1.2 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
article,
asid... | mit |
spacy-io/spaCy | .github/contributors/b1uec0in.md | 5372 | # 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... | mit |
dsyme/FSharp.Compiler.Service | README.md | 2304 | 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... | mit |
lagerjs/lager | demo/express-app/app.js | 1216 | 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', ... | mit |
TeamSPoon/logicmoo_workspace | packs_lib/rocksdb/rocksdb/include/rocksdb/utilities/options_util.h | 5753 | // 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... | mit |
csae1152/bitcoin | src/bitcoinrpc.cpp | 51032 | // 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... | mit |
reinteractive/active_merchant | test/remote/gateways/remote_eway_rapid_test.rb | 6573 | 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... | mit |
happylixue/LeetCodeSol | problems/word-break/sol.py | 396 | 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:
... | mit |
eonum/drg-search | vendor/assets/javascripts/styleguide.js | 24803 | /* ==========================================================
* 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
... | mit |
luissancheza/sice | js/jqwidgets/demos/angular/app/textarea/multiplevalues/main.ts | 297 | 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); | mit |
nusendra/nusendra-blog | vendor/league/oauth2-server/src/Entities/Traits/AuthCodeTrait.php | 613 | <?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
... | mit |
yinchunlong/abelkhan-1 | ext/c++/thirdpart/c++/boost/libs/xpressive/doc/html/boost/xpressive/range_end.html | 5797 | <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="... | mit |
swsglobal/DotSpatial | Source/DotSpatial.Controls/LayoutForm.cs | 3537 | // ********************************************************************************************************
// Product Name: DotSpatial.Forms.LayoutForm
// Description: A form that shows the mapwindow layout
// ********************************************************************************************************... | mit |
PrJared/sabbath-school-lessons | src/en/2020-01-cq/01/03.md | 1908 | ---
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... | mit |
sanyaade-mobiledev/smart-platform | lib/RSP/JSObject/MediaFile/Mogile.pm | 2311 | 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 };... | mit |
xiaoliang2016/JRTPLib-for-Android | src/rtpudpv6transmitter.h | 11442 | /*
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... | mit |
wujuguang/mako | mako/codegen.py | 47892 | # 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... | mit |
juniormesquitadandao/xikitita | app/models/i18n.js | 3738 | 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... | mit |
nizox/circuits | examples/web/jsoncontroller.py | 247 | #!/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()
| mit |
dodheim/atria | src/atria/funken/detail/access.hpp | 2682 | //
// 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... | mit |
alicht/buddybuddy | public/tmp/tree_merger-tmp_dest_dir-KPkHvOkI.tmp/buddybuddy/templates/users/index.js | 1413 | 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... | mit |
share/livedb | lib/types.js | 242 |
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);
| mit |
mirror/grrlib | examples/unlimited2d/source/gfx/ball.c | 33926 | /*
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... | mit |
imasaru/sabbath-school-lessons | src/fa/2020-01/07/07.md | 3576 | ---
title: اندیشه هایی فراتر
date: 14/02/2020
---
شرح نجات دانیال در عبرانیان باب ۱۱ آمده است. چه می تواند« سرای مشهور ایمان » نامیده شود، می گوید که نبی، در میان کمالات و فضائل دیگر « دهان شیران را بستند »(عبرانیان ۱۱: ۳۳). این فوق العاده است، اما باید قهرمانانی را در نظر داشته باشیم که مانند دانیال از مرگ نجات نیا... | mit |
titanium007/Titanium | src/Titanium.Web.Proxy/EventArguments/TunnelConnectEventArgs.cs | 2809 | 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 ... | mit |
ProfilerTeam/Profiler | protected/modules_core/space/messages/it/views_admin_edit.php | 1211 | <?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).
... | mit |
campagnola/acq4 | acq4/devices/Pipette/tracker.py | 28251 | 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... | mit |
handiwijoyo/voyager | publishable/lang/zh_CN/error.php | 628 | <?php
return [
'symlink_created_text' => '我们刚刚为您创建了缺失的软连接。',
'symlink_created_title' => '丢失的存储软连接已被重新创建',
'symlink_failed_text' => '我们未能为您的应用程序生成缺失的软连接,似乎您的主机提供商不支持它。',
'symlink_failed_title' => '无法创建丢失的存储软连接',
'symlink_missing_button' => '修复',
'symlink_missing_text' => '我们找不到一个存储软连接,... | mit |
chethanjjj/gentelella | vendors/plotlyjs/lib/heatmapgl.js | 261 | /**
* 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');
| mit |
todiadiyatmo/tiga-framework | src/Response/Header.php | 1011 | <?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... | mit |
huoxudong125/Z.ExtensionMethods | src (VB.NET)/Z.ExtensionMethods.VB/Z.Core/System.Object/Convert/ToValueType/Object.ToNullableDouble.vb | 887 |
' 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... | mit |
BclEx/AdamsyncEx | src/System.CoreEx/ComponentModel/DataAnnotations/DataAnnotationsResources.cs | 1841 | #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... | mit |
thedanpan/toilets_directory_nyc | ar-skeleton/app.rb | 136 | #Your application starts here
require_relative 'config/application'
puts "Put your application code in #{File.expand_path(__FILE__)}"
| mit |
Paulloz/godot | editor/editor_run.cpp | 9100 | /*************************************************************************/
/* editor_run.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | mit |
laudaa/bitcoin | src/compat.h | 2175 | // 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... | mit |
Darelbi/Infectorpp | include/Infectorpp/priv/DependencyDAG.hpp | 1969 | /*******************************************************************************
Copyright (C) 2015 Dario Oliveri
See copyright notice in LICENSE.md
*******************************************************************************/
#pragma once
#include <list>
#include <typeindex>
#include <unordered_map>
#include ... | mit |
MarimerLLC/csla | Source/Csla.Analyzers/Csla.Analyzers.Tests/IsOperationMethodPublicAnalyzerTests.cs | 4968 | 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()
... | mit |
verycumbersome/the-blue-alliance | tests/test_event_team_status_helper.py | 55040 | 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 ... | mit |
AaronZhangL/neo4j-search-characters | community/browser/app/components/angular-ui-codemirror/README.md | 4505 | # UI.Codemirror directive [](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... | mit |
tracer99/canjs | view/import/import_test.js | 49 | require('can-view-import/can-view-import_test');
| mit |
yinchunlong/abelkhan-1 | ext/c++/thirdpart/c++/boost/doc/html/boost/hash_long_doub_idp86761312.html | 5445 | <!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<long double></title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta na... | mit |
beluchin/jmockit1 | main/src/mockit/internal/expectations/argumentMatching/EqualityMatcher.java | 1866 | /*
* 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>
{
... | mit |
yaelduckwen/libriastore | joomla/administrator/components/com_widgetkit/src/Framework/src/Database/DatabaseInterface.php | 2712 | <?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(... | mit |
georgiy-abbasov/testcafe-hammerhead | src/client/sandbox/upload/info-manager.js | 7469 | 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... | mit |
akatrevorjay/pyrox | pyrox/stock_filters/empty.py | 88 | import pyrox.filtering as filtering
class EmptyFilter(filtering.HttpFilter):
pass
| mit |
wonkishtofu/Tesseract-OCR-Tessa | tessa/orbiturary/pictures/get_text.py | 380 | 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)
... | mit |
thecountofzero/canjs | view/node_lists/test.html | 737 | <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... | mit |
david415/go-ipfs | Godeps/_workspace/src/github.com/chuckpreslar/inflect/languages/english.go | 1943 | // 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... | mit |
eileencodes/sprockets | test/test_performance.rb | 14649 | # 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_... | mit |
driftyco/ionic | core/src/utils/animation/test/hooks/e2e.ts | 5554 | 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... | mit |
jrlarsen/GetProgramming | Ch12_Conditions/listing12.04.js | 829 | /* 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.";
}
};
... | mit |
javalt/bootstrap | README.md | 6277 | # [Bootstrap](http://getbootstrap.com)
[](http://badge.fury.io/bo/bootstrap)
[](http://badge.fury.io/js/bootstrap)
[](https://travis... | mit |
gtoonstra/foc_esc | escsim/constants.py | 918 | 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... | mit |
Lab603/PicEncyclopedias | jni-build/jni/include/tensorflow/python/ops/functional_ops.py | 23180 | # 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... | mit |
froilanq/CursoAngularJS | 10-Configuracion-Cache/client/totalFactory.js | 198 | (function () {
var totalFactory = function ($resource) {
return $resource("/api/priv/total/");
};
controlCajaApp.factory('totalFactory', ['$resource', totalFactory]);
}()); | mit |
jordansite/jekyll-vlog | vendor/ruby/2.3.0/gems/faraday-0.12.0.1/README.md | 10705 | # Faraday
[](https://rubygems.org/gems/faraday)
[](https://travis-ci.org/lostisland/faraday)
[](https://gitter.im/lostisland/faraday?utm_source=badg... | mit |
hoho/dosido | nodejs/deps/v8/src/log.h | 14723 | // 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/... | mit |
hoho/dosido | nodejs/deps/v8/src/futex-emulation.cc | 7269 | // 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... | mit |
adamdriscoll/TfsIntegrationPlatform | IntegrationPlatform/Shell/EditorFoundation/Source/Extensibility/PluginManager.cs | 11472 | // 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... | mit |
lucasallan/concurrent-ruby | docs/1.1.4/Concurrent/Agent.html | 126343 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Class: Concurrent::Agent
— Concurrent Ruby
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" h... | mit |
colorlight4/flx-grid | docs/values.md | 1584 | # 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 ... | mit |
Synchro/Haraka | plugins/delay_deny.js | 5266 | /*
** 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... | mit |
fastlane/fastlane | fastlane/lib/fastlane/actions/ensure_no_debug_code.rb | 5274 | 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]
... | mit |
Lysette/Markus | app/helpers/results_helper.rb | 838 | 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... | mit |
ring-lang/ring | extensions/webassembly/ringqt/project/ringqt/include/glineedit.h | 1504 |
/* 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... | mit |
yop0/Temps_Reel | projet_destijl_2016/xenomai/include/nucleus/timebase.h | 8231 | /**
* @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... | mit |
marlengit/hardfork_prototype_1_mvf-bu | doc/mvf-bu-test-plan.md | 13347 | # 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... | mit |
scalalab/scalalab | source/src/main/scala/scalaExec/scalaLab/qrihrm.html | 3771 | <!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... | mit |
stof/repository | src/AbstractPathMappingRepository.php | 6028 | <?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... | mit |
abhishek1015/schema_design | ulib/test/atomic.cpp | 1184 | #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) ==... | mit |
gt-ros-pkg/humans | src/videoray/catkin_ws/src/videoray/include/boost/numeric/odeint/algebra/range_algebra.hpp | 8358 | /*
[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... | mit |
Azure/azure-sdk-for-java | sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionSuccessData.java | 7681 | /**
* 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... | mit |
timheuer/Kliva-1 | src/Kliva/Services/Interfaces/IApplicationInfoService.cs | 159 | using Kliva.Models;
namespace Kliva.Services.Interfaces
{
public interface IApplicationInfoService
{
AppVersion AppVersion { get; }
}
} | mit |
freeztime/ignitedcms | application/views/admin/404/404.php | 894 | <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... | mit |
PrJared/sabbath-school-lessons | src/cs/2018-03/10/05.md | 3379 | ---
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... | mit |
nadavc/bash_koans | src/00_about_redirection.sh | 953 | 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... | mit |
kelly-keating/kelly-keating.github.io | webpack.config.js | 324 | 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... | mit |
ShinjiTanimoto/shirasagi | spec/factories/category/nodes.rb | 384 | 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,... | mit |
miherlosev/testcafe-hammerhead | src/typings/upload.d.ts | 447 | 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[]... | mit |
jose/defects4j | framework/test/resources/output/foo/bar/FailingTests.java | 512 | 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
//... | mit |
eleanors/EaseJS | core/test/assets/test2.js | 122 | define( 'test2', ['test3', 'test4'], function( obj, str ){
return 'test2 is done, deps : [ ' + obj.name + str + ' ]';
}); | mit |
hiuwo/acq4 | acq4/analysis/scripts/eventExplorer.py | 15462 | 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']): ... | mit |
Apozhidaev/terminal.mobi | src/components/ProgressBar/index.js | 517 | 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... | mit |
RSpace/aframe | src/utils/tracked-controls.js | 6862 | 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.
* ... | mit |
quentinbernet/quentinbernet.github.io | node_modules/caniuse-lite/data/features/path2d.js | 984 | 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 ... | mit |
mwalkerwells/flow-typed | definitions/npm/pretty-bytes_v4.x.x/test_pretty-bytes_v4.x.x.js | 147 | const prettyBytes = require("pretty-bytes");
(prettyBytes(123): string);
// $ExpectError
prettyBytes("123");
// $ExpectError
prettyBytes(true);
| mit |
bhlzlx/ogre | Samples/Browser/src/SampleBrowser.cpp | 3418 | /*
-----------------------------------------------------------------------------
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... | mit |
ALTELMA/OfficeEquipmentManager | application/libraries/PHPExcel/branches/v1.6.3/Classes/PHPExcel/Shared/Date.php | 8411 | <?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... | mit |
mhfowler/mhfowler | settings/local.py | 239 | from settings.common import *
DATABASES = {
'default': {
"ENGINE": "django.db.backends.mysql",
"NAME": "mhfowler",
"USER": "root",
"PASSWORD": "",
"HOST": "localhost",
"PORT": ""
}
} | mit |
backpackcoder/world-in-flames | src/app/routes/forms/components/layouts/ReviewForm.js | 5184 | 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... | mit |
SyliusBot/Sylius | src/Sylius/Bundle/AdminBundle/EmailManager/OrderEmailManager.php | 992 | <?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... | mit |
PrJared/sabbath-school-lessons | src/pl/2020-01/01/07.md | 2576 | ---
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... | mit |
marufbd/marufbd.github.io | chromecast/CastVideos-chrome/README.md | 1314 | # 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... | mit |
dashpay/dash | test/lint/lint-format-strings.py | 10365 | #!/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... | mit |
AcklenAvenue/Starscream | src/Starscream.Web/Api/Responses/SuccessfulLoginResponse.cs | 574 | 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 =... | mit |
steliann/objectj | src/ij/plugin/GroupedZProjector.java | 2033 | 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... | mit |
zeit/next.js | examples/with-temporal/pages/about.tsx | 368 | 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>
... | mit |
kirbrown/od-ot | app/controllers/todo_lists_controller.rb | 1619 | 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... | mit |