code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
var fs = require('fs');
var os = require('os');
var blessed = require('blessed');
var multiline = require('multiline');
if (os.platform() === 'win32') {
console.log('*************************************************************');
console.log('Hackthon Starter Generator has been disabled on Windows until');
cons... | Jarvl/ENG2089-Project | setup.js | JavaScript | mit | 16,738 |
import Vue from 'vue';
import store from '~/ide/stores';
import List from '~/ide/components/merge_requests/list.vue';
import { createComponentWithStore } from '../../../helpers/vue_mount_component_helper';
import { mergeRequests } from '../../mock_data';
import { resetStore } from '../../helpers';
describe('IDE merge ... | iiet/iiet-git | spec/javascripts/ide/components/merge_requests/list_spec.js | JavaScript | mit | 4,162 |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2012 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... | airgames/vuforia-gamekit-integration | Gamekit/Ogre-1.8rc/Components/RTShaderSystem/include/OgreShaderCGProgramWriter.h | C | mit | 3,957 |
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2013-2016 Damien P. George
*
* 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... | glennrub/micropython | mpy-cross/main.c | C | mit | 13,336 |
/* eslint max-len: 0 */
import find from "lodash/find";
import findLast from "lodash/findLast";
import isInteger from "lodash/isInteger";
import repeat from "lodash/repeat";
import Buffer from "./buffer";
import * as n from "./node";
import Whitespace from "./whitespace";
import * as t from "babel-types";
const SCIEN... | lxe/babel | packages/babel-generator/src/printer.js | JavaScript | mit | 15,027 |
/**
* @author alteredq / http://alteredqualia.com/
* @author mrdoob / http://mrdoob.com/
* @author WestLangley / http://github.com/WestLangley
*/
import { Vector3 } from '../math/Vector3.js';
import { Object3D } from '../core/Object3D.js';
import { LineSegments } from '../objects/LineSegments.js';
import { LineBas... | zhoushijie163/three.js | src/helpers/SpotLightHelper.js | JavaScript | mit | 2,203 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
using Odachi.AspNetCore.Authentication.Basic;
namespace Microsoft.R.Host.Broker {
public static class BasicSignInContextExtens... | AlexanderSher/RTVS | src/Host/Broker/Impl/Extensions/BasicSignInContextExtensions.cs | C# | mit | 732 |
<md-button class="md-button-toggle"
ng-click="toggle()"
aria-controls="docs-menu-{{section.name | nospace}}"
aria-expanded="{{isOpen()}}">
<div flex layout="row">
{{section.name}}
<span flex=""></span>
<span aria-hidden="true" class="md-toggle-icon"
ng-class="{'toggled' : isOpen()}">
<md-i... | angularjscl/material | docs/app/partials/menu-toggle.tmpl.html | HTML | mit | 678 |
// Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Gecko;
using Gecko.I... | StephenMcConnel/BloomDesktop | src/BloomExe/Publish/PDF/PdfViewer.cs | C# | mit | 14,476 |
/**
* Copyright (c) 2004-2011 QOS.ch
* 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... | FranckW/projet1_opl | server/lib/slf4j-1.7.21/slf4j-api/src/test/java/org/slf4j/helpers/MessageFormatterPerfTest.java | Java | mit | 3,806 |
---
title: 王の約束
date: 23/07/2019
---
`問3: 詩編 101 編を読んでください。これは指導者たちに向けて書かれたものですが、私たちはどんな重要な勧告をそこから得ることができますか。`
詩編 101 編は指導者のための聖句です。これらの言葉は、ダビデがイスラエルの王として統治し始めた頃に書いたものだと考えられています。彼が王になったときに立てた誓いから改作されたものかもしれません。サウルのための戦士としての体験や、やがて彼から逃げる者となった体験において、ダビデは、道を見失った指導者がいかに国民や家族を傷つけうるのかを自ら目撃しました。彼は、通常とは異なる種類の指導者になろう、と決心した... | PrJared/sabbath-school-lessons | src/ja/2019-03/04/04.md | Markdown | mit | 3,280 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>windows::random_access_handle_service::async_read_some_at</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="h... | yinchunlong/abelkhan-1 | ext/c++/thirdpart/c++/boost/libs/asio/doc/html/boost_asio/reference/windows__random_access_handle_service/async_read_some_at.html | HTML | mit | 4,686 |
# Copyright 2010-2011, Sikuli.org
# Released under the MIT License.
from org.sikuli.script import VDictProxy
import java.io.File
##
# VDict implements a visual dictionary that has Python's conventional dict
# interfaces.
#
# A visual dictionary is a data type for storing key-value pairs using
# images as keys. Using... | ck1125/sikuli | sikuli-script/src/main/python/sikuli/VDict.py | Python | mit | 3,120 |
## Buenas prácticas
> En teoría, la teoría es igual a la práctica, pero en la práctica, no. | pieroblunda/curso-git | slides/buenas-practicas-0.md | Markdown | mit | 98 |
using System.Collections.Generic;
using System.ServiceModel;
using BrightstarDB.Cluster.Common;
namespace BrightstarDB.ClusterManager
{
/// <summary>
/// Represents the configured topology for the cluster
/// </summary>
public class ClusterConfiguration
{
/// <summary>
/// Get or th... | kentcb/BrightstarDB | src/cluster/BrightstarDB.ClusterManager/ClusterConfiguration.cs | C# | mit | 675 |
---
title: Oči podignute prema nebu
date: 29/01/2020
---
`Pročitajte Daniel 4,34-37. Kako su se i zašto kraljeve prilike promijenile?`
Bog dopušta da Nabukodonozor bude pogođen čudnom bolešću, ali mu na kraju rado vraća duševno zdravlje. Zanimljivo je što se sve mijenja kada na kraju sedam prorečenih godina bolesn... | imasaru/sabbath-school-lessons | src/hr/2020-01/05/05.md | Markdown | mit | 2,092 |
#include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#if QT_VERSION < 0x050000
#include <QUrl>
#endif
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bo... | Healdb/TacoCoin | src/qt/qrcodedialog.cpp | C++ | mit | 4,344 |
using System;
using Nancy;
namespace Starscream.Web.Api.Infrastructure.RestExceptions
{
public class BadRequestExceptionRepackager : IExceptionRepackager
{
#region IExceptionRepackager Members
public ErrorResponse Repackage(Exception exception, NancyContext context, string contentType)
... | AcklenAvenue/Starscream | src/Starscream.Web/Api/Infrastructure/RestExceptions/BadRequestExceptionRepackager.cs | C# | mit | 631 |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | fabiensebban/magento | app/code/core/Mage/Reports/Model/Mysql4/Product/Sold/Collection.php | PHP | mit | 1,240 |
(function() {
window.samples.todo_lighted_spinning_cube = {
initialize: function(canvas) {
var scene = new THREE.Scene();
var camera = new THREE.PerspectiveCamera( 30, sample_defaults.width / sample_defaults.height, 1, 1000 );
camera.position.set(0, 3, 7);
camera.lookAt( new THREE.Vecto... | dimroc/reveal.js-threejs | js/samples/todo_lighted_spinning_cube.js | JavaScript | mit | 1,253 |
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# MIT License. See license.txt
from __future__ import unicode_literals
"""
Customize Form is a Single DocType used to mask the Property Setter
Thus providing a better UI from user perspective
"""
import webnotes
from webnotes.utils import cstr
class DocType:
... | gangadhar-kadam/sapphite_lib | core/doctype/customize_form/customize_form.py | Python | mit | 8,959 |
/*
* GlobalClusteringCoefficient.h
*
* Created on: 12.11.2013
*/
#ifndef GLOBALCLUSTERINGCOEFFICIENT_H_
#define GLOBALCLUSTERINGCOEFFICIENT_H_
#include "../graph/Graph.h"
namespace NetworKit {
/**
* @ingroup global
*/
class GlobalClusteringCoefficient {
public:
virtual double approximate(const Graph& G, ... | fmaschler/networkit | networkit/cpp/global/GlobalClusteringCoefficient.h | C | mit | 404 |
angular.module('IntrepidJS').directive('ngShare', ['$location', 'i18n', function($location, i18n) {
return {
restrict: "E",
template: "<div class='btn-group'><span data-toggle='dropdown' " +
"class='dropdown-toggle pointer'> " +
"<i class='fa fa-share-alt fa... | wtelecom/intrepidjs-web | public/javascripts/core/directives/ng_share.js | JavaScript | mit | 1,683 |
/**************************************************************************
*
* Copyright 2011 Jose Fonseca
* 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 wit... | surround-io/apitrace | retrace/glstate_internal.hpp | C++ | mit | 4,386 |
# level-manifest
Describe the functions that multilevel should provide access to on the client.
[](https://travis-ci.org/dominictarr/level-manifest)
## Example
Suppose you implement a levelup plugin that adds some cool new features t... | zzhi191/easyleveldb | node_modules/q-level/node_modules/level-manifest/README.md | Markdown | mit | 1,954 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | moinuddin14/swd-recorder | SwdPageRecorder/SwdPageRecorder.UI/Properties/Settings.Designer.cs | C# | mit | 1,075 |
# NEWS
*We'll keep a history of the news. A few bullets at the top will also show on the [README.md](./README.md).*
* Always see the [CHANGELOG.md](./CHANGELOG.md) for the latest project changes.
* 2017-04-25: 7.0.0 Shipped! Performance improvements! Please upgrade! Only "breaking" change is that you have to update b... | lrosskamp/makealist-public | vendor/cache/ruby/2.3.0/gems/react_on_rails-8.0.0/NEWS.md | Markdown | mit | 7,016 |
import Mark = require("./mark");
declare class YAMLException {
message: string;
reason: string;
name: string;
mark: Mark;
isWarning: boolean;
private static CLASS_IDENTIFIER;
static isInstance(instance: any): instance is YAMLException;
getClassIdentifier(): string[];
constructor(reas... | karan/dotfiles | .vscode/extensions/redhat.vscode-yaml-0.7.2/node_modules/yaml-language-server/out/server/node_modules/yaml-ast-parser-custom-tags/dist/src/exception.d.ts | TypeScript | mit | 431 |
from __future__ import absolute_import, unicode_literals
import email
import logging
from email.utils import formataddr
from collections import defaultdict
from django.conf import settings
from django.contrib.auth.models import User
from django.contrib.sites.models import Site
from django.core.urlresolvers import rev... | beol/reviewboard | reviewboard/notifications/email.py | Python | mit | 32,206 |
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2013-2014 Dogecoin Developers
// Copyright (c) 2013-2014 Team Mooncoin
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CHECKPOINT_H
#define BI... | mooncoin-project/mooncoin-landann | src/checkpoints.h | C | mit | 974 |
<?php
class PWS_Guestbook_Model_Session extends Mage_Core_Model_Session_Abstract
{
public function __construct()
{
$this->init('pws_questbook');
}
}
| dmsherazi/magento-product-qa | app/code/community/PWS/ProductQA/Model/Session.php | PHP | mit | 169 |
---
title: لمزيد من الدرس
date: 08/02/2019
---
لم يُكشف لنا مَن بالتحديد سيكون في تلك المجموعة. فهويتهم أحدُ الأسرار التي احتفظ بها الرب لنفسه (تثنية ٢٩: ٢٩). ولن يَكْشف لنا عمَّن سيكون جزءًا من هذه المجموعة الخاصة بالقديسين المخلصين إلا المستقبل. وفيما يتعلق بهذا السر، حُذرنا بالتحذير الآتي:
«يقول المسيح أنه سيكون... | PrJared/sabbath-school-lessons | src/ar/2019-01/06/07.md | Markdown | mit | 3,101 |
---
title: قناعت
date: 26/03/2018
---
`«من به احتیاجات شخصی خود اشاره نمی کنم، زیرا یاد گرفته ام در هر وضعی که باشم، قناعت کنم» (فیلیپیان باب ۴ آیه ۱۱). اگر قرار باشد ما در هر وضعی که هستیم، قناعت کنیم، این قناعت در نهایت باید از کجا بیاید؟`
پولس زمانی که برای تیموتائوس می نویسد، گروه ناخوشایندی از مردم را توصیف م... | PrJared/sabbath-school-lessons | src/fa/2018-01/13/03.md | Markdown | mit | 3,381 |
<?php
require_once getenv( 'WP_TESTS_DIR' ) . '/includes/functions.php';
function _manually_load_plugin() {
require dirname( __FILE__ ) . '/../wpthumb.php';
}
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );
require getenv( 'WP_TESTS_DIR' ) . '/includes/bootstrap.php';
class WP_Thumb_UnitTestCase e... | shout-reverie/thesixthlie-dev | www/wordpress/wp-content/plugins/hammy/WPThumb/tests/bootstrap.php | PHP | mit | 954 |
require 'httparty'
require 'uri'
module Dragonfly
module DataStorage
#class Forbidden < StandardError; end
class RemoteDataStore
include Configurable
configurable_attr :url_host
def store(temp_object, opts={})
raise "Sorry friend, this datastore is read-only."
end
def... | allibubba/magickly | lib/dragonfly/data_storage/remote_data_store.rb | Ruby | mit | 879 |
//
// Copyright (c) 2015 IronCore Labs
//
package com.ironcorelabs.davenport
import scalaz._, Scalaz._, scalaz.concurrent.Task
import db._
import datastore.MemDatastore
import syntax._
class DBSpec extends TestBase {
"DB" should {
"fail lifting none into dbprog" in {
val datastore = MemDatastore.empty
... | BobWall23/davenport | src/test/scala/com/ironcorelabs/davenport/DBSpec.scala | Scala | mit | 1,367 |
package org.multibit.hd.testing.hardware_wallet_fixtures.trezor;
import com.google.common.base.Optional;
import com.google.protobuf.Message;
import org.multibit.hd.hardware.core.HardwareWalletClient;
import org.multibit.hd.hardware.core.events.MessageEvent;
import org.multibit.hd.hardware.core.events.MessageEventType;... | akonring/multibit-hd-modified | mbhd-swing/src/test/java/org/multibit/hd/testing/hardware_wallet_fixtures/trezor/TrezorInitialisedReattachedFixture.java | Java | mit | 4,550 |
# Video.JS HLS Live
## Brightcove Service Differences:
- Brightcove uses the Zencoder HLS Live API.
- Once ingest begins, approximately 50 seconds later the original manifest is available.
- I have not seen any ability to enforce a sliding window, so I believe Brightcove Live HLS serves all available segments on a c... | Akagi201/web-player | videojs/static/node_modules/videojs-contrib-hls/docs/live.md | Markdown | mit | 3,621 |
module Grafana
module Frontend
def get_frontend_settings()
endpoint = "/api/frontend/settings"
@logger.info("Getting frontend settings (GET #{endpoint})") if @debug
return get_request(endpoint)
end
end
end
| jwroblewski/ruby-grafana-api | lib/grafana/frontend.rb | Ruby | mit | 240 |
<?php
/**
* LICENSE: Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0.
*
* Unless required by applicable law or agreed to in writing, software
... | yaqiyang/php-sdk-dev | tests/framework/VirtualFileSystem.php | PHP | mit | 1,943 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | vrunoa/examen-fadgut | solucion/library/Zend/Json/Server/Request/Http.php | PHP | mit | 1,727 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace Swagger.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
/// <summary>
... | vishrutshah/autorest | Samples/3a-literate-swagger/Client/Models/SearchServiceResource.cs | C# | mit | 2,556 |
/*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: android.webkit.WebStorage
================================================================================*/
#ifndef J2CPP_INCLUDE_IMPLEM... | seem-sky/ph-open | proj.android/jni/puzzleHero/platforms/android-8/android/webkit/WebStorage.hpp | C++ | mit | 7,108 |
module.exports = require('regenerate')().addRange(0x700, 0x70D).addRange(0x70F, 0x74A).addRange(0x74D, 0x74F).addRange(0x860, 0x86A);
| Engineering-Robert/personal-website | plugins/gatsby-plugin-feed-custom/node_modules/regenerate-unicode-properties/Script/Syriac.js | JavaScript | mit | 134 |
<?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik;
use Exception;
/**
* Singleton that provides read & write access to Piwik's INI configuration.
*
* This class reads and writes to the `config... | ACOKing/ArcherSys | piwik/core/Config.php | PHP | mit | 23,158 |
"""
Copyright 2011 Jeff Garzik
AuthServiceProxy has the following improvements over python-jsonrpc's
ServiceProxy class:
- HTTP connections persist for the life of the AuthServiceProxy object
(if server supports HTTP/1.1)
- sends protocol 'version', per JSON-RPC 1.1
- sends proper, incrementing 'id'
... | bitcoin-hivemind/hivemind | qa/rpc-tests/python-hivemindrpc/hivemindrpc/authproxy.py | Python | mit | 5,785 |
<?php
/**
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyrig... | bravo-kernel/cakephp | src/ORM/Table.php | PHP | mit | 79,654 |
module UsdaNutrientDatabase
class Railtie < Rails::Railtie
railtie_name :usda_nutrient_database
rake_tasks do
load 'usda_nutrient_database/tasks/usda_nutrient_database.rake'
end
end
end | mattbeedle/usda-nutrient-database | lib/usda_nutrient_database/railtie.rb | Ruby | mit | 208 |
using System;
using System.Linq;
using System.Threading;
#if PORTABLE
using BrightstarDB.Portable.Compatibility;
#elif WINDOWS_PHONE
using BrightstarDB.Mobile.Compatibility;
#else
using System.Collections.Concurrent;
#endif
namespace BrightstarDB.Caching
{
/// <summary>
/// A simple least-recently-used cache ... | kentcb/BrightstarDB | src/core/BrightstarDB/Caching/LruCacheEvictionPolicy.cs | C# | mit | 5,618 |
module.exports={A:{A:{"2":"H D G E A FB","132":"B"},B:{"1":"C p z J L N I"},C:{"2":"4 aB YB","4":"0 2 3 5 6 8 9 H D G E A B C p z J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w x y CB AB","8":"F K SB"},D:{"2":"F K H","4":"0 2 3 5 6 8 9 D G E A B C p z J L N I O P Q R S T U V W X Y Z a c d e... | stephaniejn/stephaniejn.github.io | node_modules/caniuse-lite/data/features/deviceorientation.js | JavaScript | mit | 898 |
<?php
namespace PHPCR\Util\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use PHPCR\Util\NodeHelper;
/**
* Command to remove all non-system nodes and properties in the workspace of
* the con... | fahadonline/sulu | vendor/phpcr/phpcr-utils/src/PHPCR/Util/Console/Command/WorkspacePurgeCommand.php | PHP | mit | 2,054 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="nl">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="14"/>
<source>About Paycoin</source>
<translation>Over Paycoin</transla... | wdl1908/paycoin-old | src/qt/locale/bitcoin_nl.ts | TypeScript | mit | 135,055 |
#--
# Copyright (c) 2014 SoftLayer Technologies, Inc. All rights reserved.
#
# For licensing information see the LICENSE.md file in the project root.
#++
$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), '../lib'))
require 'rubygems'
require 'softlayer_api'
require 'rspec'
describe SoftLayer::Datacent... | SLsthompson/softlayer-ruby | spec/Datacenter_spec.rb | Ruby | mit | 1,204 |
/*
[auto_generated]
boost/numeric/odeint/integrate/detail/integrate_adaptive.hpp
[begin_description]
Default Integrate adaptive implementation.
[end_description]
Copyright 2009-2011 Karsten Ahnert
Copyright 2009-2011 Mario Mulansky
Distributed under the Boost Software License, Version 1.0.
(See accompanying... | gt-ros-pkg/humans | src/videoray/catkin_ws/src/videoray/include/boost/numeric/odeint/integrate/detail/integrate_adaptive.hpp | C++ | mit | 5,288 |
#include <stdio.h>
#include <stdlib.h>
int main(){
int n,m,k,i,a,b,c;
scanf("%d",&n);
scanf("%d",&m);
scanf("%d",&k);
a=m;
b=0;
c=0;
for(i=0;i<n;i++){
if(i!=0 && i%k==0){
c=c+2;
m=a-(a*c/100);}
b=b+m;
}
printf("%d\n",b);
return 0;
}
| Enchak/c-programming-homework | G/03/06/03_money-for-nothing.c | C | mit | 235 |
<?php
session_start();
if(!isset($_SESSION["admin"])){
echo "<script language='javascript'>document.location.href='index.php';</script>";
}
if(isset($_REQUEST["dec"]) and $_REQUEST["dec"]=="1"){
session_destroy();
echo "<script language='javascript'>document.location.href='index.php';</script>";
}
include("../co... | imadmouna/nacr_bleu | manager/modifierCat.php | PHP | mit | 7,000 |
/*
* Copyright 2008-2014 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | sidharth87/Transitive.Closure.GPU | cusp/version.h | C | mit | 1,147 |
<?php
namespace Doctrine\ODM\MongoDB\Tests;
use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ODM\MongoDB\Configuration;
use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver;
/**
* @author Bulat Shakirzyanov <mallluhuct@gmail.com>
*/
class MongoCollectionT... | l3l0/BehatExamples | vendor_full/doctrine-mongodb-odm/tests/Doctrine/ODM/MongoDB/Tests/MongoCollectionTest.php | PHP | mit | 598 |
h1 {
background: url("/assets/images/magic-f67894a08006a2af9f5076180676323c.gif") no-repeat;
background-position: right center;
background-size: contain; }
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSx1RkFBNEM7RUF... | fejo-dk/rails_external_asset_pipeline | test/fixtures/good_assets/stylesheets/application-12fcfd0548a6a948c16661f06d20046f.css | CSS | mit | 673 |
package madgik.exareme.master.engine;
import madgik.exareme.master.app.cluster.ExaremeCluster;
import madgik.exareme.master.app.cluster.ExaremeClusterFactory;
import madgik.exareme.utils.file.FileUtil;
import madgik.exareme.worker.art.executionEngine.ExecutionEngineLocator;
import madgik.exareme.worker.art.executionEn... | XristosMallios/cache | exareme-master/src/test/java/madgik/exareme/master/engine/BuggyPlanEngineClientTest.java | Java | mit | 3,832 |
# MembershipData.Properties ID
**Namespace:** [OfficeDevPnP.Core.UPAWebService](OfficeDevPnP.Core.UPAWebService.md)
**Assembly:** OfficeDevPnP.Core.dll
## Syntax
```C#
public long ID { get; set; }
```
### Property Value
Type: System.Int64
## See also
- [MembershipData](OfficeDevPnP.Core.UPAWebService.Member... | PaoloPia/PnP-Guidance | sitescore/OfficeDevPnP.Core.UPAWebService.MembershipData.ID.md | Markdown | mit | 407 |
<div class="section-header">
<h1>Setting up schedule aliases</h1>
</div>
<section class="content">
<header class="content-header">
<div>Use this page to add new names (aliases) for schedules on pagerduty.</div>
</header>
<div class="paragraph">
<div class="alert alert-success" role="alert" ng-repeat="sc... | stripe-contrib/pagerbot | public/views/schedules.html | HTML | mit | 4,138 |
#line 2 "scan.c"
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
* $Header$
*/
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#include <stdio.h>
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus
#ifndef __... | ducis/operating-system-labs | src.clean/commands/lex/initscan.c | C | mit | 114,417 |
// 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
// regenerated.
namespac... | yugangw-msft/autorest | src/generator/AutoRest.CSharp.Tests/Expected/AcceptanceTests/BodyComplex/Models/ByteWrapper.cs | C# | mit | 1,004 |
<?php
/**
* This file is part of the Nextras\Dbal library.
* @license MIT
* @link https://github.com/nextras/dbal
*/
namespace Nextras\Dbal\Bridges\NetteTracy;
use Nextras\Dbal\Connection;
use Nextras\Dbal\Result\Result;
use Tracy\Debugger;
use Tracy\IBarPanel;
class ConnectionPanel implements IBarPan... | Mikulas/dbal | src/Bridges/NetteTracy/ConnectionPanel.php | PHP | mit | 2,541 |
#pragma once
#include "ofMain.h"
#include "baseScene.h"
class RileyArcsRoy : public baseScene {
public:
void setup();
void update();
void draw();
ofParameter<float> thinWideRatio;//, speed, oscMax;
float minWidth, minSpacing, initTime;
};
| ofZach/dayForNightSFPC | src/scenes/RileyArcsRoy/RileyArcsRoy.h | C | mit | 283 |
// <copyright company="XATA">
// Copyright (c) 2017, All Right Reserved
// </copyright>
// <author>Ivan Ivchenko</author>
// <email>iivchenko@live.com</email>
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of at... | iivchenko/ShogunLib.CommandLine | Src/ShogunLib.CommandLine.OldSamples/OwnClassesImplementation/Properties/AssemblyInfo.cs | C# | mit | 1,388 |
//
// SSRatingDemoViewController.h
// SSCatalog
//
// Created by Sam Soffes on 2/3/11.
// Copyright 2011 Sam Soffes. All rights reserved.
//
@interface SSRatingDemoViewController : SSRatingPickerViewController
+ (NSString *)title;
@end
| 0xced/CocoaPods | examples/SSCatalog/Classes/SSRatingDemoViewController.h | C | mit | 243 |
' 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.Double/System.Math/Double.Acos.vb | Visual Basic | mit | 927 |
<?php
$custom_js = array('profile.js');
$custom_css = array('settings.scss', 'profile.scss');
require_once('init.php');
$app->page->title = 'Settings - Forum';
$profile = new profile($app->user->username);
$value = array();
$values['signature'] = isset($profile->forum_signature)?$profile-... | ChrononGit/hackthis.co.uk | html/settings/forum.php | PHP | mit | 1,485 |
require File.dirname(__FILE__) + '/test_helper.rb'
require 'tempfile'
class TestSkynet < Test::Unit::TestCase
# this test doesn't work on a mac
def test_fork_and_exec
Tempfile.new('control').open
file = Tempfile.new('fork_exec')
Skynet.fork_and_exec("/usr/sbin/lsof -p $$ >#{file.path}")
sleep 1
... | saimonmoore/skynet | test/test_skynet.rb | Ruby | mit | 603 |
using UnityEngine;
namespace UniRx
{
/// <summary>
/// <para>Note: TypedMonoBehaviour and ObservableMonoBehaviour cause some performance issues.</para>
/// <para>This is legacy interface.</para>
/// <para>I recommend use ObservableTriggers(UniRx.Triggers) instead.</para>
/// <para>More inf... | tautalos/Unity.Mobius | Assets/packages/UniRx/Scripts/UnityEngineBridge/TypedMonoBehaviour.cs | C# | mit | 11,179 |
/*
* 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
* regenerated.
*/
'... | lmazuel/azure-sdk-for-node | lib/services/automationManagement/lib/operations/statisticsOperations.js | JavaScript | mit | 11,482 |
## VI. Processes
### Execute the app as one or more stateless processes
The app is executed in the execution environment as one or more *processes*.
In the simplest case, the code is a stand-alone script, the execution environment is a developer's local laptop with an installed language runtime, and the process is la... | orangain/12factor | content/en/processes.md | Markdown | mit | 2,437 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Thelia\Form\Definition\FrontForm | Thelia 2 API</title>
<link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css">
<link rel="stylesheet" type="... | sitecrafting/thelia.github.io | api/2.2/Thelia/Form/Definition/FrontForm.html | HTML | mit | 6,673 |
"use strict";
/**
* Copyright 2015 Google Inc. 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 req... | ratokeshi/endo-google-cloud-platform | node_modules/googleapis/apis/taskqueue/v1beta2.js | JavaScript | mit | 14,747 |
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __C_GUI_SCROLL_BAR_H_INCLUDED__
#define __C_GUI_SCROLL_BAR_H_INCLUDED__
#include "IrrCompileConfig.h"
#ifdef _IRR_COMPILE_WITH_GUI_
... | garymabin/YGOMobile | irrlicht/source/Irrlicht/CGUIScrollBar.h | C | mit | 2,890 |
MIT License
Copyright (c) 2016 xiaozhuai, Weihang Ding
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pu... | xiaozhuai/tiny_wiki | LICENSE.md | Markdown | mit | 1,080 |
'use strict';
/**
* Module dependencies
*/
var racesPolicy = require('../policies/races.server.policy'),
races = require('../controllers/races.server.controller');
module.exports = function(app) {
// Races Routes
app.route('/api/races').all(racesPolicy.isAllowed)
.get(races.list)
.post(races.create);
... | etkirsch/tolmea | modules/races/server/routes/races.server.routes.js | JavaScript | mit | 539 |
using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JonDouglas : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "Jon";
public string LastName => "Douglas";
public string ShortBioOrTagLine => string.Emp... | beraybentesen/planetxamarin | src/Firehose.Web/Authors/JonDouglas.cs | C# | mit | 899 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
Class: Concurrent::Edge::LockFreeLi... | lucasallan/concurrent-ruby | docs/1.0.5/Concurrent/Edge/LockFreeLinkedSet.html | HTML | mit | 25,702 |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'acq4/analysis/old/UncagingControlTemplate.ui'
#
# Created by: PyQt5 UI code generator 5.8.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_UncagingControlWidget(object):
def... | campagnola/acq4 | acq4/analysis/old/UncagingControlTemplate_pyqt5.py | Python | mit | 9,306 |
//
// FlashCardListController.h
// FlashCards
//
// Created by Raul Chacon on 12/2/11.
// Copyright (c) 2011 Student. All rights reserved.
//
#import <UIKit/UIKit.h>
@class DatabaseModel;
@class AddFlashCardController;
@class FlashCardModel;
/*
* FlashCardListController:
* table view controller that displays al... | raulchacon/iPhone-Flash-Card-App | FlashCards/FlashCardListController.h | C | mit | 838 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the ... | elpd/coop | library/Zend/Tool/Framework/Manifest/Repository.php | PHP | mit | 11,065 |
<?php
namespace Oro\Bundle\LocaleBundle\Tests\Unit\Model;
use Oro\Bundle\LocaleBundle\Model\LocaleSettings;
use Oro\Bundle\LocaleBundle\DependencyInjection\Configuration as LocaleConfiguration;
class LocaleSettingsTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \PHPUnit_Framework_MockObject_MockObject... | minhnguyen-balance/oro_platform | vendor/oro/platform/src/Oro/Bundle/LocaleBundle/Tests/Unit/Model/LocaleSettingsTest.php | PHP | mit | 14,838 |
/*
Copyright (C) 2001-2011 by Serge Lamikhov-Center
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publis... | terry2012/codereason | libs/elfio/elfio_header.hpp | C++ | mit | 6,263 |
require 'spec_helper'
describe 'redis::administration' do
context 'should set kernel and system values' do
it do
is_expected.to contain_sysctl('vm.overcommit_memory').with(
{
'ensure'=>'present',
'value'=>'1'
}
)
end
it do
is_expected.to contain_exe... | integratedfordevelopers/integrated-puphpet | puppet/modules/redis/spec/classes/redis_administration_spec.rb | Ruby | mit | 891 |
<div rima-users-connections-map class="rima-users-connections"></div> | Cha-OS/KnAllEdge | src/frontend/app/components/rima/partials/rima-insights-map.tpl.html | HTML | mit | 69 |
require "test/unit"
require "oversip"
class OverSIPTest < Test::Unit::TestCase
def assert_true(object, message="")
assert_equal(true, object, message)
end
def assert_false(object, message="")
assert_equal(false, object, message)
end
def assert_equal_options(options, element)
assert options.in... | yuan-/OverSIP | test/oversip_test_helper.rb | Ruby | mit | 347 |
/*
* Author: Brian <brian@vamrs.com>
* Copyright (c) 2019 Vamrs Corporation.
*
* SPDX-License-Identifier: MIT
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include "mraa_internal.h"
#define MRAA_ROCKPI4_GPIO_COUNT 27
#define MRAA_ROCKPI4_I2C_COUNT 3
#define MRAA_ROCKPI4_SPI_COUNT 2
#define MRAA_ROC... | intel-iot-devkit/mraa | include/arm/rockpi4.h | C | mit | 510 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("St... | chsakell/mvcarchitecture | Store.Model/Properties/AssemblyInfo.cs | C# | mit | 1,398 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
module MsRest
#
# Class which represents an error meaning that either HTTP request or HTTP response was invalid.
#
class HttpOperationException < StandardEr... | colemickens/autorest | ClientRuntimes/Ruby/ms-rest/lib/ms_rest/http_operation_exception.rb | Ruby | mit | 981 |
module ActiveRecord
module Calculations
# Count the records.
#
# Person.count
# # => the total count of all people
#
# Person.count(:age)
# # => returns the total count of all people whose age is present in database
#
# Person.count(:all)
# # => performs a COUNT(*) ... | msaintemarie/msaintemarie.github.io | vendor/cache/ruby/2.6.0/gems/activerecord-4.2.11.1/lib/active_record/relation/calculations.rb | Ruby | mit | 14,881 |
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | AlphaModder/SpongeAPI | src/main/java/org/spongepowered/api/extra/fluid/data/manipulator/mutable/FluidTankData.java | Java | mit | 3,712 |
---
layout: page
weight: 0
title: Categories
navigation:
show: false
seo:
title: Categories
override: true
description: Paying attention to your deliverability metrics can help optimize your delivery rate and reduce the risk of being seen as a spammer.
---
Categories help organize your email analytics by enabl... | katieporter/docs | source/Glossary/categories.md | Markdown | mit | 1,675 |
/*
* Copyright (c) 2015 Adobe Systems Incorporated. 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... | resir014/brackets | src/extensions/default/HealthData/HealthDataManager.js | JavaScript | mit | 7,092 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.resources.fluentcore.model;
/**
* The wrapper around an inner model providing extended functionalities.
*
* @param <T> the type of the inner object.
*/
public interface HasInnerModel<T... | Azure/azure-sdk-for-java | sdk/resourcemanagerhybrid/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/fluentcore/model/HasInnerModel.java | Java | mit | 505 |
using Chemistry;
using MassSpectrometry;
using MzLibUtil;
using Proteomics.Fragmentation;
using Proteomics.ProteolyticDigestion;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace EngineLayer
{
p... | zrolfs/MetaMorpheus | EngineLayer/MetaMorpheusEngine.cs | C# | mit | 14,371 |
import * as assert from "assert";
import * as fs from "fs";
import * as events from "events";
import * as zlib from "zlib";
import * as url from "url";
import * as util from "util";
import * as crypto from "crypto";
import * as tls from "tls";
import * as http from "http";
import * as https from "https";
import * as ne... | AbraaoAlves/DefinitelyTyped | types/node/v4/node-tests.ts | TypeScript | mit | 32,350 |
---
title: The Morning Star in Our Hearts
date: 30/05/2017
---
### The Morning Star in Our Hearts
“And so we have the prophetic word confirmed, which you do well to heed as a light that shines in a dark place, until the day dawns and the morning star rises in your hearts” (2 Pet. 1:19, NKJV).
`Read this text ca... | PrJared/sabbath-school-lessons | src/en/2017-02/10/04.md | Markdown | mit | 2,309 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.