repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
lunaczp/learning | language/c/testPhpSrc/php-5.6.17/ext/ldap/tests/ldap_search_error.phpt | 1668 | --TEST--
ldap_search() - operation that should fail
--CREDITS--
Davide Mendolia <idaf1er@gmail.com>
Belgian PHP Testfest 2009
--SKIPIF--
<?php require_once dirname(__FILE__) .'/skipif.inc'; ?>
<?php require_once dirname(__FILE__) .'/skipifbindfailure.inc'; ?>
--FILE--
<?php
include "connect.inc";
$link = ldap_connect(... | mit |
j-froehlich/magento2_wk | vendor/magento/framework/View/DesignLoader.php | 1360 | <?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\View;
class DesignLoader
{
/**
* Request
*
* @var \Magento\Framework\App\RequestInterface
*/
protected $_request;
/**
* Application
*
... | mit |
manekinekko/ng-admin | src/javascripts/ng-admin/Crud/field/datepickerPopup.js | 823 | /**
* Fixes an issue with Bootstrap Date Picker
* @see https://github.com/angular-ui/bootstrap/issues/2659
*
* How does it work? AngularJS allows multiple directives with the same name,
* and each is treated independently though they are instantiated based on the
* same element/attribute/comment.
*
* So this di... | mit |
navalev/azure-sdk-for-java | sdk/datamigration/mgmt-v2018_03_31_preview/src/main/java/com/microsoft/azure/management/datamigration/v2018_03_31_preview/MigrateSqlServerSqlServerDatabaseInput.java | 3305 | /**
* 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.management.datamigration.v2018_03_31_preview;
import java.u... | mit |
bergynj/simple-cinema | public/views/app/cinemas/cinemas.html | 1194 | <div class="Cinema-Container">
<md-content class="md-padding">
<md-tabs md-dynamic-height md-border-bottom>
<md-tab label="Cinema">
<md-content class="md-padding">
<!-- listCinema with Angular -->
<div ng-controller="CinemaCtrlService" class="listCinemas">
<md-... | mit |
spadin/coverphoto | node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/editor-base/editor-base-debug.js | 32357 | /*
YUI 3.7.2 (build 5639)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('editor-base', function (Y, NAME) {
/**
* Base class for Editor. Handles the business logic of Editor, no GUI involved only utility methods and events.
*
... | mit |
lriki/LNSL | src/hlsl2glslfork/hlslang/MachineIndependent/intermOut.cpp | 18856 | // Copyright (c) The HLSL2GLSLFork Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE.txt file.
#include "localintermediate.h"
//
// Two purposes:
// 1. Show an example of how to iterate tree. Functions can
// also directly ca... | mit |
sgpm-generator/sgpm-generator | sgpm/singapore-gurkhas-050116-gcspf-gurkha-contingent-archives-st-3jpg.html | 8206 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>singapore-gurkhas-050116-gcspf-gurkha-contingent-archives-ST-3.jpg</title>
<!-- URL Structures -->
<link rel="canonical" h... | mit |
aggiedefenders/aggiedefenders.github.io | node_modules/@firebase/firestore/dist/esm/src/local/persistence_promise.js | 6111 | /**
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | mit |
erig0/textadept-vi | test/tests/pct.lua | 2182 | -- Test brace/bracket (and #if etc.) matching
test.open('bracket.txt')
local lineno = test.lineno
local colno = test.colno
local assertEq = test.assertEq
local log = test.log
assertEq(lineno(), 0) assertEq(colno(), 0)
test.key('%')
assertEq(lineno(), 0) assertEq(colno(), 7)
test.key('%', 'l')
assertEq(lineno(), 0) asse... | mit |
sealocal/yumhacker | app/assets/javascripts/views/main/index_establishments_list_view.js | 825 | MainIndexEstablishmentsListView = Backbone.View.extend({
events: {
'click .nav': 'navigate'
},
initialize: function () {
this.listenTo(this.collection, 'reset', this.render);
},
render: function (e) {
this.$el.html('');
if (this.collection.length > 0) {
this.collection.each(function (establi... | mit |
paladini/UFSC-so1-2015-01 | trabalhos/atividadePratica2/final/lib/BOOOS.cc | 979 | /*
* BOOOS.h
*
* Created on: Aug 14, 2014
*/
#ifndef TASK_CC_
#define TASK_CC_
#include "BOOOS.h"
#include <iostream>
namespace BOOOS {
BOOOS * BOOOS::__booos = 0;
BOOOS::SchedulerType BOOOS::SCHED_POLICY = BOOOS::SCHED_FCFS; // ou outro escalonador. Ajustem como necessário
bool BOOOS::SCHED_PREEMPT = false; //... | mit |
georghinkel/ttc2017smartGrids | solutions/NMF/Schema/IEC61970/Informative/InfERPSupport/ErpInvoiceKind.cs | 2268 | //------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... | mit |
liuxx001/BodeAbp | src/frame/Abp.Web.Common/Web/Api/ProxyScripting/Generators/ProxyScriptingJsFuncHelper.cs | 2365 | using System;
using System.Linq;
using System.Text;
using Abp.Collections.Extensions;
using Abp.Extensions;
using Abp.Web.Api.Modeling;
namespace Abp.Web.Api.ProxyScripting.Generators
{
internal static class ProxyScriptingJsFuncHelper
{
private const string ValidJsVariableNameChars = "abcdefghijklmnopq... | mit |
StratifyLabs/StratifyAPI | include/var/Stack.hpp | 1819 | /*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights.
#ifndef SAPI_VAR_STACK_HPP_
#define SAPI_VAR_STACK_HPP_
#include <new>
#include <cstdio>
#include <deque>
#include "../arg/Argument.hpp"
namespace var {
/*! \brief Queue Class
* \details The Queue class is a FIFO d... | mit |
naster01/DataCloner | archive/DataCloner.Core/Data/Generator/InsertWriter.cs | 2629 | using DataCloner.Core.Metadata;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System;
namespace DataCloner.Core.Data.Generator
{
public class InsertWriter : IInsertWriter
{
private string IdentifierDelemiterStart { get; }
private string IdentifierDelemiterEnd { ... | mit |
misuqian/ExcelTool | eclipse/poi-3.12/docs/apidocs/org/apache/poi/class-use/POIXMLFactory.html | 13662 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.apache.poi.POIXMLFactory (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
... | mit |
dcjones/Gadfly.jl | test/testscripts/raster.jl | 179 | using Gadfly, RDatasets
set_default_plot_size(6inch, 3inch)
plot(dataset("Zelig", "macro"), x="Year", y="Country", color="GDP",
Coord.cartesian(raster=true), Geom.rectbin)
| mit |
yubin-huang/jscheckstyle | lib/rules.js | 1979 | var rules = module.exports = [];
function Checker(name, rule) {
this.name = name;
this.rule = rule;
this.check = function(results) {
var violations = [], that = this;
results.filter(function(result) {
return result.shortName !== '[[code]]';
}).forEach(function (result) ... | mit |
wanganyv/cii-best-practices-badge | doc/nyc-2016.md | 11028 | # NYC 2016 Brainstorming session
A 2016 brainstorming session was held in New York City to identify "best
practices" (though perhaps the term "recommended practices" is better,
since that's a more accurate description). In particular, the idea was
to help identify these practices.
Below are notes from that session -... | mit |
willempx/verifast | examples/tutorial/solutions/list_solution_part4.c | 3525 | #include "stdlib.h"
struct node {
struct node* next;
int value;
};
struct list {
struct node* head;
};
/*@
predicate list(struct list* l, listval v)
requires l->head |-> ?head &*& lseg(head, 0, v) &*& malloc_block_list(l);
predicate lseg(struct node* from, struct node* to, listval v)
requi... | mit |
bkiers/sqlite-parser | src/test/resources/boundary2.test_936.sql | 158 | -- boundary2.test
--
-- db eval {
-- SELECT a FROM t1 WHERE r < 549755813887 ORDER BY r DESC
-- }
SELECT a FROM t1 WHERE r < 549755813887 ORDER BY r DESC | mit |
nlgcoin/guldencoin-official | test/functional/wallet_resendwallettransactions.py | 2912 | #!/usr/bin/env python3
# Copyright (c) 2017-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.
"""Test that the wallet resends transactions periodically."""
from collections import defaultdict
import t... | mit |
emakina-cee-oss/generator-emakinacee-react | test/compute.test.js | 3309 | const fs = require('fs');
const path = require('path');
const yoHelper = require('yeoman-test');
const yoAssert = require('yeoman-assert');
const generatorPath = '../packages/generator-emakinacee-react/generators/compute';
describe('Compute', () => {
describe('without module', () => {
before(() => {
... | mit |
OpenDataSTL/STLCourts-client | app/views/communityService.html | 2300 | <div class="sub-page-title-block">
<h1>Community Service Options</h1>
</div>
<div class="sub-page-container">
<p>
Maybe you have a ticket but can’t afford the fines and fees. Spending time doing community service can be an alternative to paying for some traffic violations, as long as the judge agrees.
</p>
... | mit |
journeyPassenger/xian-session | docs/source/zh-cn/core/i18n.md | 3012 | title: I18n 国际化
---
为了方便开发多语言应用,框架内置了国际化(I18n)支持,由 [egg-i18n](https://github.com/eggjs/egg-i18n) 插件提供。
## 默认语言
默认语言是 `en-US`。假设我们想修改默认语言为简体中文:
```js
// config/config.default.js
exports.i18n = {
defaultLocale: 'zh-CN',
};
```
## 切换语言
我们可以通过下面几种方式修改应用的当前语言(修改后会记录到 `locale` 这个 Cookie),下次请求直接用设定好的语言。
优先级从高到低:
1. ... | mit |
bosonic-labs/b-autocomplete | dist/b-autocomplete.js | 12927 | (function () {
var KEY = {
ENTER: 13,
LEFT: 37,
UP: 38,
RIGHT: 39,
DOWN: 40
};
function normalizeTokens(tokens) {
return tokens.filter(function (token) {
return !!token;
}).map(function (token) {
return t... | mit |
brainchen98/Team-PI-Lib | slave1/old/slave1.h | 13397 | #ifndef SLAVE1_H
#define SLAVE1_H
#include <Arduino.h>
#include <EEPROM.h>
#include <EEPROMAnything.h>
#include <SPI.h>
#include <SFE_LSM9DS0.h>
#define L1 A7
#define L2 A6
#define L3 A3
#define L4 A10
#define L5 A15
#define L6 A9
#define L7 A2
#define L8 A20
#define L9 A17
#define L10 A16
#define... | mit |
brochachos/angular-responsive-img | index.html | 13926 | <!DOCTYPE html>
<html ng-app="brc.angular-responsive-img">
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href='https://fonts.googleapis.com/css?family=Architects+Daughter'... | mit |
checkout/checkout-woocommerce-plugin | woocommerce-gateway-checkout-com/includes/lib/checkout-sdk-php/src/Models/Payments/BancontactSource.php | 1552 | <?php
/**
* Checkout.com
* Authorised and regulated as an electronic money institution
* by the UK Financial Conduct Authority (FCA) under number 900816.
*
* PHP version 7
*
* @category SDK
* @package Checkout.com
* @author Platforms Development Team <platforms@checkout.com>
* @copyright 2010-2019 Chec... | mit |
Ledoux/ShareYourSystem | Pythonlogy/draft/Simulaters/Brianer/draft/07_ExampleDoc.py | 1597 | #import SYS
import ShareYourSystem as SYS
#Definition
MyBrianer=SYS.BrianerClass(
).collect(
"Neurongroupers",
'P',
SYS.NeurongrouperClass(
#Here are defined the brian classic shared arguments for each pop
**{
'NeurongroupingKwargVariablesDict':
{
'N':2,
'model':
'''
Jr : 1
... | mit |
philleski/tactician | src/tactician/AlgebraicNotation.java | 11982 | package tactician;
/**
* This class is responsible for converting between a {@link Move} object and chess algebraic
* notation. {@link #algebraicToMove(Board, String)} converts a string in algebraic notation to a
* {@link Move} and {@link #moveToAlgebraic(Board, Move)} does the opposite.
*
* @see <a href="https:... | mit |
georghinkel/ttc2017smartGrids | solutions/eMoflon/rgse.ttc17.emoflon.tgg.task2/gen/rgse/ttc17/emoflon/tgg/task2/ConformLoadGroupToConformLoadGroup.java | 2906 | /**
*/
package rgse.ttc17.emoflon.tgg.task2;
import gluemodel.CIM.IEC61970.LoadModel.ConformLoadGroup;
import org.eclipse.emf.ecore.EObject;
import org.moflon.tgg.runtime.AbstractCorrespondence;
// <-- [user defined imports]
// [user defined imports] -->
/**
* <!-- begin-user-doc -->
* A representation of the mo... | mit |
jack-trikeapps/maxmind | spec/maxmind/chargeback_request_spec.rb | 691 | require 'spec_helper'
describe Maxmind::ChargebackRequest do
before do
Maxmind.user_id = 'user'
Maxmind.license_key = 'key'
@request = Maxmind::ChargebackRequest.new(:client_ip => '198.51.100.2')
end
it "requires a License Key" do
Maxmind.license_key = nil
expect { @request.send(:validate) }... | mit |
kishoredbn/barrelfish | usr/eclipseclp/Eplex/eplex.c | 165635 | /* BEGIN LICENSE BLOCK
* Version: CMPL 1.1
*
* The contents of this file are subject to the Cisco-style Mozilla Public
* License Version 1.1 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License
* at www.eclipse-clp.org/license.
*
* Software d... | mit |
Cielak1357/SportsInsider | static/nba/nba.html | 212 |
<div class="nbaDiv" ng-controller="nbaCtrl">
<iframe scrolling="no" class="nbaFrame" src="http://www.nba.com/standings/team_record_comparison/conferenceNew_Std_Div.html?ls=iref%3Anba%3Agnav"></iframe>
</div>
| mit |
orleans-tech/s01e03-discover-node-js | 07-api-rest-go/src/server/src/infrastructure/sqlitehandler.go | 657 | package infrastructure
import (
"database/sql"
_ "github.com/mattn/go-sqlite3"
"log"
)
type SqliteHandler struct {
Path string
Connect *sql.DB
}
func (handler *SqliteHandler) Open() error {
db, err := sql.Open("sqlite3", handler.Path)
if err != nil {
log.Panic(err)
}
handler.Connect = db
return err
}
... | mit |
AsrOneSdk/azure-sdk-for-net | sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ProxyResource.cs | 2124 | // <auto-generated>
// 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.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | mit |
j-froehlich/magento2_wk | vendor/magento/module-paypal/Block/Payment/Form/Billing/Agreement.php | 1961 | <?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Paypal\Block\Payment\Form\Billing;
/**
* Paypal Billing Agreement form block
*/
class Agreement extends \Magento\Payment\Block\Form
{
/**
* @var string
*/
protected $_... | mit |
chenwenzhang/frontend-scaffolding | src/pages/freemarker/index/html.js | 137 | const template = require("../../../layouts/hbs-loader")("base.ftl");
module.exports = template({
body: require("./html/body.ftl")
}); | mit |
kevinbarabash/tsbuild | README.md | 590 | # tsbuild #
fast builds for projects using TypeScript + Browserify
## Usage ##
var tsbuild = require("tsbuild");
tsbuild({
filename: "processing-debugger.ts",
srcDir: "./src",
libDir: "./lib",
distDir: "./dist",
standalone: "ProcessingDebugger"
});
- file... | mit |
NBKlepp/fda | scalation_1.2/src/main/scala/scalation/random/RNG.scala | 5752 |
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
/** @author John Miller
* @version 1.2
* @date Sat Mar 22 14:39:30 EDT 2014
* @see LICENSE (MIT style license file).
*/
package scalation.random
import scala.math.floor
import scalation.util.{Error, time}
//:::::::::::::... | mit |
rocky0904/mozu-dotnet | Mozu.Api/Contracts/ProductRuntime/ResolvedPriceList.cs | 1219 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Codezu.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------... | mit |
driftyco/ionic | core/src/components/backdrop/usage/stencil.md | 865 | ```tsx
import { Component, h } from '@stencil/core';
@Component({
tag: 'backdrop-example',
styleUrl: 'backdrop-example.css'
})
export class BackdropExample {
render() {
const enableBackdropDismiss = false;
const showBackdrop = false;
const shouldPropagate = false;
return [
// Default backd... | mit |
1fish2/the-blue-alliance-android | android/src/main/java/com/thebluealliance/androidclient/gcm/GCMBroadcastReceiver.java | 881 | package com.thebluealliance.androidclient.gcm;
import com.thebluealliance.androidclient.TbaLogger;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.support.v4.content.WakefulBroadcastReceiver;
public class GCMBroadcastRec... | mit |
javlaking/testangular2ci | src/components/login/index.ts | 30 | export * from './login-form';
| mit |
Xe0n0/LeetCode | Remove Duplicates from Sorted List II.cpp | 1211 | //1. consider terminate and return when found a bound condition.
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode *deleteDuplicates(ListNode *head) {
// Start typin... | mit |
guotao2000/ecmall | temp/caches/0090/c71737c6413b27861acfd0ee34eefe35.cache.php | 14910 | <?php
/**
* @Created By ECMall PhpCacheServer
* @Time:2015-01-23 00:46:43
*/
if(filemtime(__FILE__) + 1800 < time())return false;
return array (
'id' => 2397,
'goods' =>
array (
'goods_id' => '2397',
'store_id' => '131',
'type' => 'material',
'goods_name' => '烤干熟虾皮100g',
'descr... | mit |
staticmatrix/Triangle | src/framework/controls/dtpicker/dtpicker.js | 82149 | Jx().package("T.UI.Controls", function(J){
// 严格模式
'use strict';
var _crrentPluginId = 0;
var defaults = {
// 选项
// fooOption: true,
// 覆写 类方法
// parseData: undefined,
// 事件
// onFooSelected: undefined,
// onFooChange: function(e, data){}
... | mit |
youngguns-nl/moneybird_php_api | docs/classes/Moneybird.RecurringTemplate.Detail.html | 41524 | <!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>phpDocumentor » \Moneybird\Re... | mit |
albertodall/eShopOnContainers | src/Services/Webhooks/Webhooks.API/Exceptions/WebhooksDomainException.cs | 121 | using System;
namespace Webhooks.API.Exceptions
{
public class WebhooksDomainException : Exception
{
}
}
| mit |
zkweb-framework/ZKWeb.Plugins | src/ZKWeb.Plugins/Common.Currency/src/Components/Currencies/RUB.cs | 412 | using ZKWeb.Plugins.Common.Currency.src.Components.Interfaces;
using ZKWebStandard.Ioc;
namespace ZKWeb.Plugins.Common.Currency.src.Components.Currencies {
/// <summary>
/// 卢布
/// </summary>
[ExportMany]
public class RUB : ICurrency {
public string Type { get { return "RUB"; } }
public string Pref... | mit |
gampleman/praxis | lib/api_browser/app/views/menu.html | 1684 | <div class="sidebar fixed-if-fits hidden-print">
<div class="row">
<div class="col-sm-12">
<p>
<div ng-if="versions.length > 1" dropdown dropdown-append-to-body>
<button type="button" class="btn btn-success" dropdown-toggle ng-disabled="disabled">
{{:: versionLabel}}: {{selecte... | mit |
jackcook/GCHelper | README.md | 4216 | # GCHelper
GCHelper is a Swift implementation for GameKit built off of the GameKitHelper class described in [this tutorial](http://www.raywenderlich.com/60980/game-center-tutorial-how-to-make-a-simple-multiplayer-game-with-sprite-kit-part-1) by [Ali Hafizji](https://twitter.com/Ali_hafizji). If you like this project, ... | mit |
selvasingh/azure-sdk-for-java | sdk/keyvault/azure-security-keyvault-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/models/DecryptResult.java | 1715 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.security.keyvault.keys.cryptography.models;
import com.azure.core.annotation.Immutable;
import com.azure.core.util.CoreUtils;
/**
* Represents the details of decrypt operation result.
*/
@Immutable
pub... | mit |
RWOverdijk/aurelia-form | dist/commonjs/component/form-field.js | 6802 | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.FormField = undefined;
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descript... | mit |
imasaru/sabbath-school-lessons | src/et/2020-03/10/01.md | 1638 | ---
title: Põnev viis kaasa lüüa
date: 29/08/2020
---
### Selle nädala õppeaine
1Ms 1:1, 2, 26, 2Ms 18:21–25, 1Kr 12:12–25; Ap 16:11–15, 40, Ap 4:31; Ap 12:12.
> <p>Juhtsalm</p>
> „Siis ta ütles oma jüngritele: „Lõikust on palju, töötegijaid aga vähe. Paluge siis lõikuse Issandat, et ta saadaks töötegijaid välja om... | mit |
TheParrotsAreComing/PAWS | src/Controller/CatsAdoptionEventsController.php | 4276 | <?php
namespace App\Controller;
use App\Controller\AppController;
/**
* CatsAdoptionEvents Controller
*
* @property \App\Model\Table\CatsAdoptionEventsTable $CatsAdoptionEvents
*/
class CatsAdoptionEventsController extends AppController
{
/**
* Index method
*
* @return \Cake\Network\Response|n... | mit |
themondobot/mondo-ruby | CHANGELOG.md | 897 | ## 0.4.7 - Novermber 15, 2015
- Fix webhooks bugs
## 0.4.6 - Novermber 14, 2015
- Only fetch account_if if not set
## 0.4.5 - Novermber 14, 2015
- Add support for balance
## 0.4.4 - Novermber 14, 2015
- Deeply nested hash support - make Feed Item creation work again
## 0.4.3 - Novermber 14, 2015
- Added su... | mit |
fluuffy/Hazelnut-Mocha | inc/stm32f4xx_it.h | 3158 | /**
******************************************************************************
* @file GPIO/GPIO_IOToggle/Inc/stm32f4xx_it.h
* @author MCD Application Team
* @version V1.2.4
* @date 29-January-2016
* @brief This file contains the headers of the interrupt handlers.
********************... | mit |
maelsan/etna-projects | archives/NTN/src/loadGrid.c | 588 | #include "../include/loadGrid.h"
#include <stdlib.h>
void loadGrid(int x, int y)
{
int grid[x][y];
int countX;
int countY;
int numberMines;
numberMines = (x * y) % 10;
countX = 0;
countY = 0;
while (1)
{
grid[countX][countY] = completeGrid(numberMines);
numberMines -= 1;
countX = (countX... | mit |
kotlin-graphics/imgui | glfw/src/main/java/module-info.java | 276 | module kotlin.graphics.imgui.glfw {
requires kotlin.stdlib;
requires kotlin.graphics.imgui.core;
requires kotlin.graphics.uno.core;
requires kotlin.graphics.glm;
requires kotlin.graphics.kool;
requires org.lwjgl.glfw;
exports imgui.impl.glfw;
} | mit |
serek/rspec-arel-matchers | spec/rspec/arel_matchers/matchers/have_where_clause_spec.rb | 872 | require 'spec_helper'
describe 'have_where_clause' do
class Test < ActiveRecord::Base
OLD_CUTOFF = 10.days.ago
scope :active, -> { where(active: true) }
scope :old, -> { where(Test.arel_table[:updated_at].lt(OLD_CUTOFF)) }
end
class Test2 < ActiveRecord::Base
has_many :tests
end
it 'should ... | mit |
promisedlandt/cookbook-vim_config | recipes/default.rb | 1565 | # add a plugin manager
unless node[:vim_config][:skip_plugin_manager]
if ["pathogen","unbundle", "vundle"].include?(node[:vim_config][:plugin_manager].to_s)
include_recipe "vim_config::_plugin_manager"
else
Chef::Log.warn "Plugin manager not set or not recognized: #{ node[:vim_config][:plugin_manager] }"
... | mit |
nakov/OpenJudgeSystem | Open Judge System/Web/OJS.Web/Areas/Administration/ViewModels/Contest/ChangeParticipationEndTimeViewModel.cs | 3487 | namespace OJS.Web.Areas.Administration.ViewModels.Contest
{
using System;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity.SqlServer;
using System.Linq.Expressions;
using System.Web.Mvc;
using OJS.Data.Models;
using Resource = Resources.Areas.Administration.Contests.V... | mit |
gzc/leetcode | cpp/871-880/Stone Game.cpp | 96 | class Solution {
public:
bool stoneGame(vector<int>& piles) {
return true;
}
};
| mit |
henningjp/CoolProp | Web/docker/build_docs.sh | 1061 | #!/bin/bash
set -v
set -e
# This script is intended to be run INSIDE the docker container, and
# if all goes to plan, the _build/html folder should contain the contents
# of the build
# Turn on our conda environment
source activate docs
# Try to install dependencies on the fly, or rely on the existing environment
#... | mit |
delMar43/wlandsuite | src/main/java/de/ailis/wlandsuite/io/BitOutputStream.java | 7613 | /*
* $Id$
* Copyright (C) 2006 Klaus Reimer <k@ailis.de>
*
* 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 |
huoxudong125/Z.ExtensionMethods | test/Z.Core.Test/System.Boolean/Boolean.ToString.cs | 1005 | // 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 ... | mit |
andrewwiik/VTHSCompSciClub | admin/contacts/js/contactServices.js | 1741 | 'use strict';
angular.module('contactServices', [])
// Factory responsible for assembling the form data before it's passed over the php
.factory('assembleFormDataService', function(){
return {
populateFormData: function(fname, lname, address, city, zipcode, mnumber, lnumber, relation, email, photoSubmit){
var f... | mit |
dotKom/studlan | apps/authentication/models.py | 674 | # -*- coding: utf-8 -*-
import datetime
from django.contrib.auth.models import User
from django.db import models
from django.utils.translation import ugettext_lazy as _
class RegisterToken(models.Model):
user = models.ForeignKey(User)
token = models.CharField(_(u'token'), max_length=32)
created = models... | mit |
imasaru/sabbath-school-lessons | src/sv/2020-03/01/01.md | 1678 | ---
title: Varför vittna?
date: 27/06/2020
---
> <p>Nyckeltext</p>
> ”Att be så är riktigt och behagar Gud, vår frälsare, som vill att alla människor skall räddas och komma till insikt om sanningen” (1 Tim. 2:3, 4).
### Veckans Huvudtexter
Jak. 5:19, 20; Luk. 15:6; Sef. 3:17; Joh. 7:37, 38; 1 Tim. 2:3, 4; 2 Kor. 5:... | mit |
nvisionative/Dnn.Platform | DNN Platform/Admin Modules/Dnn.Modules.ModuleCreator/Templates/C#/Module - User Control/_CONTROL_.ascx.cs | 1111 | //
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Using Statements
using System;
using DotNetNuke.Entities.Modules;
#endregion
namespace _OWNER_._MODULE_
{
public partial class _CONTROL_ : Po... | mit |
tauheedahmed/ecosys | project_files/_vti_cnf/frmMainAppts.aspx.cs | 109 | vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|31 Jul 2007 14:34:52 -0000
vti_extenderversion:SR|4.0.2.7802
| mit |
yelmontaser/DunglasApiBundle | Api/Operation/Operation.php | 1264 | <?php
/*
* This file is part of the DunglasApiBundle package.
*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dunglas\ApiBundle\Api\Operation;
use Symfony\Component\Routing\Rou... | mit |
rokn/Count_Words_2015 | fetched_code/ruby/iseq_loader_checker.rb | 2424 | # frozen_string_literal: false
begin
require '-test-/iseq_load/iseq_load'
rescue LoadError
end
require 'tempfile'
class RubyVM::InstructionSequence
def disasm_if_possible
begin
self.disasm
rescue Encoding::CompatibilityError, EncodingError, SecurityError
nil
end
end
def self.compare_d... | mit |
daviddao/rf-optimizer | standard-RAxML-master/ancestralStates.c | 23268 | /* RAxML-VI-HPC (version 2.2) a program for sequential and parallel estimation of phylogenetic trees
* Copyright August 2006 by Alexandros Stamatakis
*
* Partially derived from
* fastDNAml, a program for estimation of phylogenetic trees from sequences by Gary J. Olsen
*
* and
*
* Programs of the PHYLI... | mit |
JoseLuis11/Traskilada-Web | app/assets/css/owner_login.css | 2167 | @import url(http://fonts.googleapis.com/css?family=Roboto);
.loginmodal-container {
padding: 30px;
max-width: 350px;
width: 100%;
background-color: #F7F7F7;
margin: 0 auto;
border-radius: 2px;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
overflow: hidden;
font-family: roboto;
}
.loginmodal-container ... | mit |
github/codeql | csharp/ql/test/query-tests/Bad Practices/Control-Flow/ConstantCondition/ConstantConditionGood.cs | 90 | class Good
{
public int Max(int a, int b)
{
return a > b ? a : b;
}
}
| mit |
sugiuraii/WebSocketGaugeClientNeo | src/index/webpack.config.js | 3486 | /*
* The MIT License
*
* Copyright 2017 kuniaki.
*
* 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 |
GridProtectionAlliance/openECA | Source/Demo/PowerCalculator/PowerCalculator/Model/Test/Power.cs | 325 | // COMPILER GENERATED CODE
// THIS WILL BE OVERWRITTEN AT EACH GENERATION
// EDIT AT YOUR OWN RISK
using System.Runtime.CompilerServices;
namespace PowerCalculator.Model.Test
{
[CompilerGenerated]
public class Power
{
public double Real { get; set; }
public double Reactive { get; set; }
... | mit |
cmbruns/osgswig | examples/ruby/viewer.rb | 711 | #!/usr/bin/ruby
#
# Demonstation for Ruby
#
puts $LOAD_PATH
# extend the load path for wosg
$LOAD_PATH << '../../bin/ruby'
# include all necessary libs
require 'wosg'
require 'wosgDB'
require 'wosgProducer'
class Viewer
def initialize()
# open a viewer
@viewer = WosgProducer::Viewer.new
# open
@vi... | mit |
forstermatth/LIIS | refman/search/variables_62.js | 120 | var searchData=
[
['basepath',['BASEPATH',['../index_8php.html#ad39801cabfd338dc5524466fe793fda9',1,'index.php']]]
];
| mit |
ladygagapowerbot/bachelor-thesis-implementation | lib/Encog/apidocs/org/encog/util/package-summary.html | 10631 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Wed Apr 17 10:23:36 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
... | mit |
mishapivo/mishapivo.github.io | aqua-ui-kits/creative_material-bootstrap-wizard/wizard-list-place.html | 15029 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Material Bootstrap Wizard by Creative Tim</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<meta name="vie... | mit |
zeusjs/widgets | test/mock_views/radio_tabs_1.html | 659 | <zs-radio-tabs selection="currentTab" ondeselect="onDeselect()">
<zs-radio-tab-pane heading="Foobar" item="foo"
subheading="Foobar subhead">
<div class="nested-block">
This is foo
</div>
</zs-radio-tab-pane>
<zs-radio-tab-pane heading="Barbaz"
item="bar"
... | mit |
enclose-io/compiler | current/test/parallel/test-repl-tab-complete.js | 19230 | // Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... | mit |
awmartin/spatialpixel | Sketches/README.md | 53 | # Sketches
Contains sample code from Spatial Pixel.
| mit |
ParkDyel/practice | WebDev/FE/JS/Reactjs/PRWF/src/index.js | 599 | import React from 'react';
import ReactDOM from 'react-dom';
import { Router, Route, Link, browserHistory } from 'react-router';
import App from './App';
import NotFound from './Pages/NotFound/NotFound';
import Users from './Pages/Users/Users';
import Chats from './Pages/Chats/Chats';
import './index.css';
ReactDOM.... | mit |
abstractive/celluloid-smtp | lib/celluloid/smtp.rb | 784 | require 'celluloid/current'
require 'celluloid/io'
module Celluloid
module SMTP
require 'celluloid/smtp/constants'
require 'celluloid/smtp/logging'
require 'celluloid/smtp/version'
require 'celluloid/smtp/extensions'
class Server
include SMTP::Extensions
require 'celluloid/smtp/server... | mit |
Gincusoft/aksi | application/modules/messaging/views/outbox/detail.php | 5440 | <div class="col-md-6 col-md-offset-3">
<div class="box box-success direct-chat direct-chat-success">
<div class="box-header with-border">
<h1 class="box-title"><i class="fa fa-file-text-o"></i> <?php echo $title; ?></h1>
<div class="pull-right">
<i class="fa fa-close" onclick="closeModal()"></... | mit |
NTUTVisualScript/Visual_Script | static/javascript/blockly/core/events.js | 11197 | /**
* @license
* Visual Blocks Editor
*
* Copyright 2016 Google Inc.
* https://developers.google.com/blockly/
*
* 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.apach... | mit |
AltisourceLabs/ecloudmanager | tmrk-cloudapi/src/main/java/org/ecloudmanager/tmrk/cloudapi/model/ArrayOfInternetServiceType.java | 2395 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911
// .1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.... | mit |
QuattroResearch/HELMMonomerService | test-output/old/Default suite/methods.html | 834 | <h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
<table border="1">
<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration<... | mit |
eronde/vim_suggest | tests/test_utils.py | 9992 | from py_word_suggest.utils import *
import pytest
raw_json = """
{"lang:nl:0:ben":[["ik", 22.0], ["er", 8.0], ["een", 7.0], ["je", 5.0]],"lang:nl:0:Ik":[["heb", 66.0], ["ben", 52.0], ["denk", 15.0], [
"wil", 13.0], ["acht", 1.0]],"lang:eng:0:I":[["am", 100], ["want", 246], ["love", 999]],"lang:eng:0:am":[["the",100... | mit |
kombatcoin/KAP | src/qt/locale/bitcoin_ar.ts | 97707 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="ar" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About KappaCoin</source>
<translation>عن KappaCoin</translation>
</mes... | mit |
lixiaoyan/x-view | tags/raw.js | 279 | var x = require("x-view");
var Raw = x.createClass({
propTypes: {
html: x.type.string
},
init: function() {
x.event.on(this, "updated", this.updateHTML);
},
updateHTML: function() {
this.root.innerHTML = this.props.html;
}
});
x.register("x-raw", Raw);
| mit |
albertp007/mathnet-numerics | src/Numerics/LinearAlgebra/Complex/SparseMatrix.cs | 60593 | // <copyright file="SparseMatrix.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2013 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of thi... | mit |
AzureZhao/android-developer-cn | reference/android/provider/SyncStateContract.html | 85468 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico" />
<title>Syn... | mit |
inventree/InvenTree | InvenTree/build/apps.py | 150 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.apps import AppConfig
class BuildConfig(AppConfig):
name = 'build'
| mit |