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 |
|---|---|---|---|---|---|
import java.io.IOException;
import java.util.Scanner;
import iterators.*;
import User.User;
public class main {
public static void zad1(ArrayIterator it){
PredicateCoN pred = new PredicateCoN(4);
PredicateCoN pred2 = new PredicateCoN(2);
IteratorCoN con = new IteratorCoN(it,pred);
IteratorCoN co = new Iter... | superdyzio/PWR-Stuff | INF/Algorytmy i Struktury Danych/zad1/main.java | Java | mit | 2,259 |
--
-- populate-table-1-abcd_stage1_entrance_exams_results_extra.sql
-- ============================================================================
-- Stage 1 Entrance Exams Results.
-- Результаты вступительных испытаний.
-- ============================================================================
-- Written by Radi... | rgolubtsov/rgolubtsov.github.io | misc/mojolicious/abi/results/populate-table-1-abcd_stage1_entrance_exams_results_extra.sql | SQL | mit | 2,358 |
#Indivisible modding tools

**Links**
- [Get the newest release of Lantern](https://github.com/0xFAIL/lantern/releases)
- [Get the game](http://indivisiblegame.com/)
---
**License for**
- Lantern: MIT license
- PYQT: GPL3
- QT: LGPL3
Icon used was commissioned from 7Soul1 [Deviantar... | 0xFAIL/lantern | README.md | Markdown | mit | 353 |
import { Component } from 'vidom';
import { DocComponent, DocTabs, DocTab, DocAttrs, DocAttr, DocExample, DocChildren, DocText, DocInlineCode } from '../../Doc';
import SimpleExample from './examples/SimpleExample';
import simpleExampleCode from '!raw!./examples/SimpleExample.js';
export default function ModalDoc({ ta... | dfilatov/vidom-ui | src/components/Modal/doc/index.js | JavaScript | mit | 1,817 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Postgrad_alumni_model extends CI_Model
{
function __construct() {
parent::__construct();
$this->load->database();
}
public function selectStudent () {
$this->db->select("student_id,full_name, p_university_... | nazmule27/alumni | application/models/Postgrad_alumni_model.php | PHP | mit | 2,663 |
// Copyright 2013-2022, University of Colorado Boulder
/**
* A DOM drawable (div element) that contains child blocks (and is placed in the main DOM tree when visible). It should
* use z-index for properly ordering its blocks in the correct stacking order.
*
* @author Jonathan Olson <jonathan.olson@colorado.edu>
*... | phetsims/scenery | js/display/BackboneDrawable.js | JavaScript | mit | 18,588 |
"use strict";
/**
* Broadcast updates to client when the model changes
*/
Object.defineProperty(exports, "__esModule", { value: true });
var product_events_1 = require("./product.events");
// Model events to emit
var events = ['save', 'remove'];
function register(socket) {
// Bind model events to socket events
... | ashwath10110/mfb-new | dist/server/api/product/product.socket.js | JavaScript | mit | 944 |
<?php
/**
* Genesis Framework.
*
* WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
* Please do all modifications in the form of a child theme.
*
* @package Genesis\Loops
* @author StudioPress
* @license GPL-2.0+
* @link http://my.studiopress.com/them... | growlingfish/giftplatform-bedrock | web/app/themes/genesis/lib/structure/loops.php | PHP | mit | 12,384 |
/* main7-3.c ¼ìÑébo7-3.cµÄÖ÷³ÌÐò */
#include"c1.h"
typedef char InfoType;
#define MAX_Info 80 /* ÐÅÏ¢×Ö·û´®×î´ó³¤¶È+1 */
#define MAX_VERTEX_NAME 3 /* ¶¥µã×Ö·û´®×î´ó³¤¶È+1 */
typedef char VertexType[MAX_VERTEX_NAME];
#include"c7-3.h"
#include"bo7-3.c"
Status visit(VertexType v)
{
printf("%s ",v);
retur... | blacop/DsCppR | YanWeiMinClangSln/ch7/Main7-3.c | C | mit | 1,253 |
package app.location;
import app.core.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@E... | BahodirBoydedayev/conferenceApp | src/main/java/app/location/Location.java | Java | mit | 454 |
/**
* vuex-mapstate-modelvalue-instrict- v0.0.4
* (c) 2017 fsy0718
* @license MIT
*/
'use strict';
var push = Array.prototype.push;
var pop = Array.prototype.pop;
var _mapStateModelValueInStrict = function (modelValue, stateName, type, opts, setWithPayload, copts) {
if ( opts === void 0 ) opts = {};
if ( copts... | fsy0718/mapStateModelInStrict | dist/mapStateModelValueInStrict.common.js | JavaScript | mit | 2,832 |
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
// The list of which env maps to which file can be found in `ang... | 1729org/Hadron | HadronClient/dist/out-tsc/environments/environment.js | JavaScript | mit | 560 |
#pragma once
#include "Vector2.h"
class Aabb
{
public:
Aabb() = default;
Aabb(const Vector2& origin, const Vector2& halfExtents);
Aabb(const SDL_Rect& rect);
Aabb& Union(const Aabb& other);
float MinX() const;
float MaxX() const;
float MinY() const;
float MaxY() const;
void ToRe... | GeneralLeeInept/scroller | src/Aabb.h | C | mit | 399 |
<?php
namespace DeliciousBrains\WP_Offload_SES\Aws3\Aws\Api\Parser;
use DeliciousBrains\WP_Offload_SES\Aws3\Aws\Api\Service;
use DeliciousBrains\WP_Offload_SES\Aws3\Aws\Api\StructureShape;
use DeliciousBrains\WP_Offload_SES\Aws3\Aws\CommandInterface;
use DeliciousBrains\WP_Offload_SES\Aws3\Aws\ResultInterface;
use De... | misfit-inc/misfit.co | wp-content/plugins/wp-ses/vendor/Aws3/Aws/Api/Parser/AbstractParser.php | PHP | mit | 1,441 |
<div class="row">
<div class="large-15 medium-15 columns">
<h3>Registro de usuario</h3></br>
</div>
</div>
<div class="row">
<div class="large-4 medium-4 columns">
Username
</div>
<div class="large-8 medium-4 columns">
<input type="text" ng-model="username"/>
</div>
</div>
<div class="row">
... | davicompu/proyecto1 | views/user/create.html | HTML | mit | 1,268 |
var namespace_pathfinder_1_1_internal_1_1_g_u_i =
[
[ "ModExtensionsUI", "class_pathfinder_1_1_internal_1_1_g_u_i_1_1_mod_extensions_u_i.html", "class_pathfinder_1_1_internal_1_1_g_u_i_1_1_mod_extensions_u_i" ],
[ "ModList", "class_pathfinder_1_1_internal_1_1_g_u_i_1_1_mod_list.html", "class_pathfinder_1_1_inte... | Spartan322/Hacknet-Pathfinder | docs/html/namespace_pathfinder_1_1_internal_1_1_g_u_i.js | JavaScript | mit | 353 |
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Compute::Mgmt::V2015_06_15
module Models
#
# Contains the os disk image information.
#
class OSDiskImage
include MsRe... | Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk_image.rb | Ruby | mit | 1,259 |
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
using Telegram.Bot.Types.Enums;
namespace Telegram.Bot.Types
{
/// <summary>
/// This object contains information about one member of the chat.
/// </summary>
[JsonObject(MemberSerialization.OptI... | TelegramBots/telegram.bot | src/Telegram.Bot/Types/ChatMember.cs | C# | mit | 5,882 |
// Karma configuration
// Generated on Wed Jun 01 2016 16:04:37 GMT-0400 (EDT)
module.exports = function (config) {
config.set({
basePath: '',
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['mocha', 'browserify'],
// include only tests here; ... | cliffmeyers/jenkins-design-language | karma.conf.js | JavaScript | mit | 1,953 |
/**************************************************************************
The MIT License (MIT)
Copyright (c) 2015 Dmitry Sovetov
https://github.com/dmsovetov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to ... | dmsovetov/dreemchest | Source/Dreemchest/Scene/Rendering/Passes/DebugRenderPasses.h | C | mit | 5,458 |
MethodTrails
============
MethodTrails visualizes the method call graph of Ruby source code. It
generates a dot file that can be viewed with Graphviz.
## Source Code ##
Main repository is at [http://github.com/djwonk/method_trails](http://github.com/djwonk/method_trails)
## Contributors: ##
* [djwonk](http://githu... | djwonk/method_trails | README.markdown | Markdown | mit | 404 |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every error... | sroutier/l5-theme-demo | config/app.php | PHP | mit | 7,202 |
<?php
namespace Asad\Core\Bundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class AsadCoreBundle extends Bundle
{
}
| moinulcseduet/symfony-json-version | src/Asad/Core/Bundle/AsadCoreBundle.php | PHP | mit | 125 |
/**
*
* $Id$
*/
package Variation_Diff.validation;
/**
* A sample validator interface for {@link Variation_Diff.EntityType}.
* This doesn't really do anything, and it's not a real EMF artifact.
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator ... | catedrasaes-umu/NoSQLDataEngineering | projects/es.um.nosql.s13e.datavisualization/src/Variation_Diff/validation/EntityTypeValidator.java | Java | mit | 534 |
import 'babel-polyfill';
import EdgeGrid from 'edgegrid';
import dotenv from 'dotenv';
import inquirer from 'inquirer';
import formatJson from 'format-json';
import fs from 'fs';
(async function() {
// load .env vars
dotenv.config();
let papiResponses = new Map();
const edgegrid = new EdgeGrid({
... | wyvern8/akamai-nginx | configure.js | JavaScript | mit | 5,154 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>SoundCity Prototyp: Klassen-Elemente</title>
<link href="tabs.css" rel=... | soraxdesign/SoundCity | Docs/html/functions_0x66.html | HTML | mit | 4,069 |
import {Component, Inject} from "@angular/core";
import {HighLevelComponent, GENERIC_INPUTS, GENERIC_BINDINGS} from "../common/component";
import {REACT_NATIVE_WRAPPER} from "./../../renderer/renderer";
import {ReactNativeWrapper} from "../../wrapper/wrapper";
/**
* A component for displaying a tab bar.
*
* ```
@Co... | angular/react-native-renderer | src/components/ios/tabbar.ts | TypeScript | mit | 2,193 |
export default {
Control : require('./Control'),
Delete : require('./Delete'),
Detail : require('./Detail'),
Head : require('./Head'),
Quit : require('./Quit'),
}; | czy0729/react-alumni | app/pages/index/UserDetail/containers/index.js | JavaScript | mit | 191 |
$(function() {
// column select
dw.backend.on('sync-option:base-color', sync);
function sync(args) {
var chart = args.chart,
vis = args.vis,
theme_id = chart.get('theme'),
labels = getLabels(),
$el = $('#'+args.key),
$picker = $('.base-... | plusgut/datawrapper | plugins/core-vis-options/static/sync-colorselector.js | JavaScript | mit | 8,443 |
//--------------------------------------------------------------------------------//
// COPYRIGHT NOTICE //
//--------------------------------------------------------------------------------//
// Copyright (c) 2012, Instituto de Microelectronica de Sevilla (... | dayse/gesplan | src/xfuzzy/xfplot/Xfplot2DPanel.java | Java | mit | 6,711 |
import Game from '../models/game'
class Store {
constructor() {
const game = new Game({
onTick: () => {
this.ui.game.update()
}
})
const { snake, map } = game
this.snake = snake
this.map = map
this.game = game
game.start()
this.ui = {}
this.data = {
m... | AlloyTeam/Nuclear | packages/omi-snake/src/stores/index.js | JavaScript | mit | 908 |
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <_cash_discount_.hpp>
START_ATF_NAMESPACE
namespace Info
{
using _cash_discount_ctor__cash_discount_2_ptr = void (WINAPIV*)(struct _ca... | goodwinxp/Yorozuya | library/ATF/_cash_discount_Info.hpp | C++ | mit | 775 |
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: AssemblyConfigurat... | TaigoSantos/Visual-Studio | Visual-Studio-2016-003/Project.Resources.Core/Properties/AssemblyInfo.cs | C# | mit | 834 |
struct pair
{
int m[2];
};
struct pair f(void);
main()
{
return f().m[0]; // not an lvalue, can't `operator.'
// need better warning
}
| bobrippling/ucc-c-compiler | test/bugs/warning-improve/non_lval_struct_dot.c | C | mit | 140 |
<p>This is the <?=$name?> view</p> | kvasenko/bluzman | src/Generator/views/view.html | HTML | mit | 34 |
class Repositext
class Subtitle
class Operation
# Represents a move right subtitle operation.
class MoveRight < Operation
def inverse_operation
Subtitle::Operation.new_from_hash(
affected_stids: inverse_affected_stids,
operation_id: '',
operation... | imazen/repositext | lib/repositext/subtitle/operation/move_right.rb | Ruby | mit | 709 |
(function () {
'use strict';
angular.module('app.layout', ['app.core', 'ui.bootstrap.collapse']);
})();
| Clare-MCR/ClarePunts | src/client/app/layout/layout.module.js | JavaScript | mit | 109 |
<?php
namespace Core\UserBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use JMS\Serializer\Annotation as JMS;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
/**
* @ORM\Entity
* @ORM\Table(name="google_accounts", indexes={@ORM\Index(columns={"... | mikecpl/cashforpost | src/Core/UserBundle/Entity/GoogleAccount.php | PHP | mit | 7,092 |
# NoobieProjects
Conjunto de projetos pessoais sem função aparente.
feel free to commit improvements
| Vipern/NoobieProjects | README.md | Markdown | mit | 105 |
<?php
# MantisBT - A PHP based bugtracking system
# MantisBT 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 version.
#
# MantisBT is distribut... | nabusas/Nabu | Mantis/plugins/MantisGraph/pages/category_graph.php | PHP | mit | 1,877 |
/**
* @class Oskari.mapframework.bundle.layerselector2.view.PublishedLayersTab
*
*/
Oskari.clazz.define("Oskari.mapframework.bundle.layerselector2.view.PublishedLayersTab",
/**
* @method create called automatically on construction
* @static
*/
function (instance, title) {
//"use stri... | uhef/Oskari-Routing-frontend | bundles/framework/bundle/layerselector2/view/PublishedLayersTab.js | JavaScript | mit | 13,634 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>8086 通用寄存器的专用功能 | 行而思</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="keywords" content="8086,通用寄存器">
<meta name="google-site-verification" content="W2AVg5n_ALo21rl9n3ZwS8AuEan... | Laueray/Laueray.github.io | 2016/Register_of_8086/index.html | HTML | mit | 12,508 |
# Rethinker
## A Ruby ORM for RethinkDB
**Source:** [github.com/databasify/rethinker](https://github.com/databasify/rethinker)
<small>Based on [NoBrainer](https://github.com/nviennot/nobrainer)</small>
.
Connect to RethinkDB.
Connection string takes the form `rethinkdb://<hostname>/<database>`.
Currently, R... | databasify/rethinker | USAGE.rb.md | Markdown | mit | 3,115 |
<!DOCTYPE html>
<html lang="en">
<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>P&P Proyectos - Proyectos con Sentido</title>
<!-- Bootstrap -->
<link href="css/bootstrap.css" rel=... | oskamaya/pyp-proyectos | dist/miguel_palomino.html | HTML | mit | 5,731 |
#!/usr/bin/env python
import time
from nicfit.aio import Application
async def _main(args):
print(args)
print("Sleeping 2...")
time.sleep(2)
print("Sleeping 0...")
return 0
def atexit():
print("atexit")
app = Application(_main, atexit=atexit)
app.arg_parser.add_argument("--example", help="Ex... | nicfit/nicfit.py | examples/asyncio_example.py | Python | mit | 371 |
require 'spec_helper'
describe PolarExpress do
context 'Gem Basics' do
it "creates a new instance of the gem" do
@tracker = PolarExpress.new('DHL', '1234')
@tracker.should respond_to :shipping_number
end
end
end
| eljojo/polar_express | spec/polar_express/polar_express_spec.rb | Ruby | mit | 236 |
# Changelog
## 0.2.4 (2015.02.06)
* Upgrade to angularjs v1.3.12
* Upgrade to oauth-ng v0.3.8
## 0.2.2 (2014.11.03)
* Fixed problem on dist
## 0.2.1 (2014.11.03)
* Upgrade to angularjs v1.2.26
* Upgrade to oauth-ng v0.3.0
## 0.2.0 (2014.08.13)
* Added caching system
* Added provider for configuration
* Moved t... | lelylan/lelylan-ng | CHANGELOG.md | Markdown | mit | 560 |
// +build linux darwin freebsd netbsd openbsd solaris
package clif
import (
"os"
"runtime"
"syscall"
"unsafe"
)
func init() {
TermWidthCall = func() (int, error) {
w := new(termWindow)
tio := syscall.TIOCGWINSZ
if runtime.GOOS == "darwin" {
tio = TERM_TIOCGWINSZ_OSX
}
res, _, err := syscall.Syscall... | ukautz/clif | term_x.go | GO | mit | 591 |
<?php
declare(strict_types=1);
namespace Tests\Router\Apps\AppWithoutBasePaths\Controllers;
class Pet
{
#[Route(
path: '/api/v1/petLeevel/{petId:[A-Za-z]+}/',
)]
private function demo(): void
{
}
}
| hunzhiwange/framework | tests/Router/Apps/AppWithoutBasePaths/Controllers/Pet.php | PHP | mit | 229 |
<?php
namespace CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* FriendsGroup
*
* @ORM\Table(name="friends_group")
* @ORM\Entity(repositoryClass="CoreBundle\Repository\FriendsGroupRepository")
*/
class FriendsGroup
{
/**
* @var int
*
* @ORM\Colu... | basileazh/HDB | src/CoreBundle/Entity/FriendsGroup.php | PHP | mit | 4,133 |
export * from './dropdown-treeview-select.module';
| leovo2708/ngx-treeview | src/app/dropdown-treeview-select/index.ts | TypeScript | mit | 51 |
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("SW... | sergueik/swd-recorder | SwdPageRecorder/SwdPageRecorder.UI/Properties/AssemblyInfo.cs | C# | mit | 1,581 |
using System;
using System.Net;
using System.Net.Sockets;
using System.Reflection;
using Hik.Communication.Scs.Communication.EndPoints.Tcp;
namespace Hik.Communication.Scs.Client.Tcp
{
/// <summary>
/// This class is used to simplify TCP socket operations.
/// </summary>
internal static... | huhen/scs | src/Scs/Communication/Scs/Client/Tcp/TcpHelper.cs | C# | mit | 4,229 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dashboard for /Applications/MAMP/www/phpmvc/kmom06/mumin/src/Mumin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="../../css/bootstrap.min.css" rel="stylesheet">
<link href="../../css/nv.d3.css" r... | MrIsaksson/mumin | report/src/Mumin/dashboard.html | HTML | mit | 7,418 |
package proxy.test;
import java.rmi.Naming;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import util.JavaLog;
public class Server extends UnicastRemoteObject implements RemoteInterface{
private static final long serialVersionUID = 1L;
protected Server() throws RemoteException {
... | DeyuGoGo/EasyJavaDesignPatterns | HeadFirstDesignPatterns/src/proxy/test/Server.java | Java | mit | 622 |
'use strict'; // eslint-disable-line
const { default: ImageminPlugin } = require('imagemin-webpack-plugin');
const imageminMozjpeg = require('imagemin-mozjpeg');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const config = require('./config');
module.exports = {
plugins: [
new ImageminPlugin({
... | generoi/sage | resources/assets/build/webpack.config.optimize.js | JavaScript | mit | 894 |
//---------------------------------------------------------------------
// Copyright (c) 2009 Maksym Diachenko, Viktor Reutskyy, Anton Suchov.
//
// 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 Sof... | wy182000/flash-to-directx | Samples/GUI/Src/GUI.h | C | mit | 2,040 |
src/polyfill/ltie10/ie8/fix
Fixes to polyfills or incorrectly implemented features in IE8.
| Octane/jsCore | src/polyfill/ltie10/ie8/fix/README.md | Markdown | mit | 92 |
var _ = require('lodash'),
fs = require('fs'),
path = require('path'),
through = require('through'),
filesize = require('file-size');
function browserify(file, options) {
var source = [];
function write(data) {
source.push(data);
};
function end(file, options) {
var renderTemplate = f... | hekar/grunt-voluminosify | src/transformers.js | JavaScript | mit | 2,693 |
<!DOCTYPE html>
<html>
<head>
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title>
{% include meta.html %}
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="stylesheet" t... | rmichnovicz/rmichnovicz.github.io | _layouts/default.html | HTML | mit | 1,531 |
<?php
namespace Modules\Dynamicfield\Providers;
use Illuminate\Support\ServiceProvider;
class DynamicfieldServiceProvider extends ServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
public function boot()
{
}
... | stone-lab/Dynamicfield | Providers/DynamicfieldServiceProvider.php | PHP | mit | 2,013 |
"use strict";
var filters = require('./filters'),
uniq = require('uniq');
var doNgram = function doNgram (string, resultData, config) {
var ngramCount = string.length - config.n + 1,
ngram,
previousNgram = null,
ngramData,
i;
for (i = 0; i < ngramCount; i++) {
ngra... | kchapelier/ngram-word-generator | src/ngram-process.js | JavaScript | mit | 7,684 |
<?php namespace Robbo\Presenter\View;
use ArrayAccess;
use IteratorAggregate;
use Robbo\Presenter\PresentableInterface;
use Illuminate\View\Environment as BaseEnvironment;
class Environment extends BaseEnvironment {
/**
* Get a evaluated view contents for the given view.
*
* @param string $view
* @param ... | coreywagehoft/laravel-4-base | vendor/robclancy/presenter/src/Robbo/Presenter/View/Environment.php | PHP | mit | 1,513 |
/* Copyright (c) 2013 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing... | koobonil/Boss2D | Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/modules/video_coding/receiver_unittest.cc | C++ | mit | 20,183 |
<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="zh"><!--<!... | zhaohaifeng/zhaohaifeng.github.com | _layouts/page.html | HTML | mit | 2,461 |
var Models = {};
module.exports = Models;
/**
* Creates a new instance of the Model class
* @constructor
*/
Models.Model = function(id, name, status, type, normalValue, wierdValue) {
/** @type {string} */
this._id = id || '';
/** @type {string} */
this.name = name || '';
/** @type {string} */
... | ValYouW/rollmodel | models/model.js | JavaScript | mit | 771 |
/* =============================================================
* bootstrap-collapse.js v2.3.2
* http://getbootstrap.com/2.3.2/javascript.html#collapse
* =============================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License")... | nfelix/mvmt | public/assets/rails_admin/bootstrap/bootstrap-collapse-3387a8b21abb7862bae6aac8337d6b26.js | JavaScript | mit | 4,731 |
// Copyright (c) Rotorz Limited. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root.
using Rotorz.Games.EditorExtensions;
using System;
using System.IO;
using UnityEngine;
namespace Rotorz.Games.UnityEditorExtensions
{
/// <summary>
/// Project-wide settings for the "... | tenvick/hugula | Client/Assets/Third/PSD2UGUI/@rotorz/unity3d-editor-menu/Editor/EditorMenuSettings.cs | C# | mit | 3,824 |
---
title: "**Children's Storytime**"
published: true
start_at: 2016-04-24T10:30:00.000Z
image_path: 'https://images.brooklinebooksmith.com/kids_storytime_web.jpg'
program: childrens-story-time
---
Do you love picture books? Join us in our children’s section as our fine children’s team reads stories aloud every third... | Frontmatter/brooklinebooksmith | _events-archive/2016-04/storytime-2.md | Markdown | mit | 363 |
# -*- coding: utf-8 -*-
"""
Organization Registry - Controllers
"""
module = request.controller
resourcename = request.function
if not settings.has_module(module):
raise HTTP(404, body="Module disabled: %s" % module)
# -----------------------------------------------------------------------------
def index(... | code-for-india/sahana_shelter_worldbank | controllers/org.py | Python | mit | 10,621 |
<?php
namespace ALttP\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
use AuthorizesRequ... | sporchia/alttp_vt_randomizer | app/Http/Controllers/Controller.php | PHP | mit | 363 |
/*!
* Bootstrap v3.0.3 (http://getbootstrap.com)
* Copyright 2013 Twitter, Inc.
* Licensed under http://www.apache.org/licenses/LICENSE-2.0
*/
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
su... | salayhin/crowdfunding | app/assets/stylesheets/bootstrap.css | CSS | mit | 130,001 |
//
// ZSLargeCell.h
// ZSPhotoBrowser
//
// Created by zuoshen on 2017/8/7.
// Copyright © 2017年 zuoshen. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ZSLargeCell : UITableViewCell
-(void)setImageUrl:(NSString*)url;
@end
| zuoshen123/ZSPhotoBrowser | ZSPhotoBrowser/ZSLargeCell.h | C | mit | 246 |
# https://leetcode.com/problems/anagrams/
#
# Given an array of strings, group anagrams together.
#
# For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return:
#
# [
# ["ate", "eat", "tea"],
# ["nat", "tan"],
# ["bat"]
# ]
#
# Notes:
#
# + For the return value, each inner lis... | shemerey/coderepo | algorithms/anagrams.rb | Ruby | mit | 563 |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SetBreakpointParameterType | picturepark-sdk-v1-pickers API</title>
<meta name="description" content="Documentation for picturepark-sdk-v1-pickers API">
<meta name="viewport" cont... | Picturepark/Picturepark.SDK.TypeScript | docs/picturepark-sdk-v1-pickers/api/interfaces/_inspector_.debugger.setbreakpointparametertype.html | HTML | mit | 8,650 |
/* MIT License
Copyright (c) 2016 JetBrains http://www.jetbrains.com
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, mo... | swsch/FacePalm | FacePalm/Properties/Annotations.cs | C# | mit | 43,439 |
package jaci.openrio.toast.core.loader.simulation;
import jaci.openrio.toast.lib.state.RobotState;
import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.geom.Rectangle2D;
/**
* A GUI Element for switching the Robot State during Simulation
*
... | Open-RIO/ToastAPI | src/main/java/jaci/openrio/toast/core/loader/simulation/GuiRobotState.java | Java | mit | 3,232 |
require "active_support/core_ext/integer/time"
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded any time
# it changes. This slows down response time but is perfect for developme... | adamstegman/oxalates | config/environments/development.rb | Ruby | mit | 2,203 |
#include <assert.h>
#include <string.h>
#include "binson_writer.h"
/*
{
"A": "B",
"B": 1,
"C": 3.0,
"D": false,
"E": "0x0102",
"F": {
},
"G": [
false,
"A",
"0x0102",
1,
5.142912663207646E25,
false,
false,
false,
false,
false,
false,
false,
false... | assaabloy-ppi/binson-c-light | utest/generated_test_cases/writer/w_304116b25e9a621bcac4565b2625080b.c | C | mit | 5,861 |
# Models in TimeAlign
## Annotations

### Label System
TimeAlign was orignially built around the concept of tense annotation. This is why the `Tense` model exists, and why every annotation has a foreign-key field that may refer to a tense. At a later stage of development, support was added for a m... | UUDigitalHumanitieslab/timealign | doc/models/README.md | Markdown | mit | 2,434 |
using System.Resources;
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.
[ass... | IvoAtanasov/TableTennisChampionship | TableTennisChampionship/TableTennisChampionship.Model/Properties/AssemblyInfo.cs | C# | mit | 1,116 |
namespace app.home {
/**
* This class represents example model for data sample.
*/
export class DataItem {
/**
* Creates an instance of DataItem.
* @param {number} id - ID property of data item.
* @param {string} name - Name property of data item.
* @constructor
*/
constructo... | vladanp/angularjs-typescript-grunt-seed | app/scripts/home/data.model.ts | TypeScript | mit | 390 |
angular.module('Eintrag').service('editarService', ['$http', function ($http) {
this.editarUsuario = function (data) {
return $http.post('http://localhost/Eintrag/www/server.php/editarUsuario', $.param(data));
};
}]);
| Jorge-CR/Eintrag | www/app/service/service.editar.js | JavaScript | mit | 254 |
//
// AudioComponent.h
// VideoEditor2
//
// Created by Sukrit Sunama on 1/31/56 BE.
// Copyright (c) 2556 Afternoon Tea Break. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@class VEAudioComposition;
@interface VEAudioComponent : NSObject {
VEAudioCompositio... | Sunama/VEVideoEditor | VideoEditor/Model/Component/VEAudioComponent.h | C | mit | 723 |
appService.factory('Chats', function() {
// Might use a resource here that returns a JSON array
// Some fake testing data
var chats = [{
id: 0,
name: 'Ben Sparrow',
lastText: 'You on your way?',
face: 'app/view/common/img/ben.png'
}, {
id: 1,
name: 'Max Lynx',
lastText: ... | pastryTeam/pastry-plugin-base-ionic | replacedata/www/app/view/chatsModule/chatsService.js | JavaScript | mit | 1,146 |
/************************************************************
* * Hyphenate CONFIDENTIAL
* __________________
* Copyright (C) 2016 Hyphenate Inc. All rights reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Hyphenate Inc.
* Dissemination of this information or reproduction... | easemob/kefu-ios-demo | CustomerSystem-ios/HelpDeskUI/HDUIKit/Views/conversation/toolbar/MoreView/HDChatBarMoreView.h | C | mit | 1,811 |
package drone_slam.apps.controlcenter.plugins.attitudechart;
import drone_slam.apps.controlcenter.ICCPlugin;
import drone_slam.base.IARDrone;
import drone_slam.base.navdata.AttitudeListener;
import org.jfree.chart.ChartPanel;
import javax.swing.*;
import java.awt.*;
public class AttitudeChartPanel extends JPanel im... | YangMann/drone-slam | drone-slam/src/drone_slam/apps/controlcenter/plugins/attitudechart/AttitudeChartPanel.java | Java | mit | 1,902 |
package org.osiam.client;
/*
* for licensing see the file license.txt.
*/
import static org.apache.http.HttpStatus.SC_FORBIDDEN;
import static org.apache.http.HttpStatus.SC_OK;
import static org.apache.http.HttpStatus.SC_UNAUTHORIZED;
import static org.apache.http.HttpStatus.SC_CONFLICT;
import java.io.IOException;... | wallner/connector4java | src/main/java/org/osiam/client/OsiamUserService.java | Java | mit | 15,934 |
<?php
namespace Ahs\BlogBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class AhsBlogBundle extends Bundle
{
}
| OlivierParent/WDAD-III | src/Ahs/BlogBundle/AhsBlogBundle.php | PHP | mit | 122 |
/*
* Copyright 2002-2004 The Apache Software Foundation.
*
* 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 ap... | turbolent/lila | src/java/lila/runtime/StringPrintWriter.java | Java | mit | 1,802 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ControlPanelPlugin
{
public class ButtonItem : PanelItem
{
public Constants.Panel.SwitchId Switch;
public bool State = false;
public ButtonItem(Constants.Panel.SwitchId butt... | SpikE4343/control-panel | plugin/Items/ButtonItem.cs | C# | mit | 1,175 |
#! /usr/bin/env sh
sudo -s
export DEBIAN_FRONTEND=noninteractive
# update packages
apt-get update -y --fix-missing
apt-get -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-confold" --force-yes -fuy upgrade
echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe" > /etc/apt/source... | albertogg/ruby-nginx | shell-provision.sh | Shell | mit | 359 |
import { AppRegistry } from "react-native";
import App from "./App";
AppRegistry.registerComponent("KeepTheBallGame", () => App);
| react-native-sensors/react-native-sensors | examples/KeepTheBallGame/index.js | JavaScript | mit | 131 |
package main
import "fmt"
// returns a function that returns an int
func fibonacci() func() int {
old_fib :=-1
fib := 1
return func() int {
fib, old_fib = fib + old_fib, fib
return fib
}
}
func main() {
f := fibonacci()
for i := 0; i < 10; i++ {
fmt.Println(f())
}
}
| wm/going | 03_closures.go | GO | mit | 297 |
#include "cxxsource.h"
CxxSource::CxxSource()
{
}
| dmleontiev9000/AsicEditor | Cxx/cxxsource.cpp | C++ | mit | 53 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt-->
<title>Method Resource.getFile</title>
<link rel="stylesheet" type="text/css" href="../../styles/ddox.css"/>
<link rel="sty... | Circular-Studios/Dash-Docs | api/v0.9.0/utility/resources/Resource.getFile.html | HTML | mit | 7,747 |
package br.unb.cic.sma.sade.fipa
case class Request(parameters: Map[ACLMessageParameter.ACLMessageParameter, Any]) extends ACLMessage(parameters: Map[ACLMessageParameter.ACLMessageParameter, Any]) {
override def getParameters = (parameters - ACLMessageParameter.PERFORMATIVE) + (ACLMessageParameter.PERFORMATIVE -> Pe... | brenoxp/SADE | src/br/unb/cic/sma/sade/fipa/Request.scala | Scala | mit | 394 |
# coding: utf8
from wsgidav.dav_provider import DAVCollection, DAVNonCollection
from wsgidav.dav_error import DAVError, HTTP_FORBIDDEN
from wsgidav import util
from wsgidav.addons.tracim import role, MyFileStream
from time import mktime
from datetime import datetime
from os.path import normpath, dirname, basename
try... | tracim/tracim-webdav | wsgidav/addons/tracim/sql_resources.py | Python | mit | 16,929 |
module Cardjour
module VERSION #:nodoc:
MAJOR = 0
MINOR = 1
TINY = 0
STRING = [MAJOR, MINOR, TINY].join('.')
end
end
| siuying/cardjour | pkg/cardjour-0.1.0/lib/cardjour/version.rb | Ruby | mit | 139 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.CompilerServices;
namespace MS.Internal
{
// WPF's builds are seeing warnin... | lindexi/lindexi_gd | PresentationBuildTasksTest/WPF/PresentationBuildTasks/MS/Internal/BuildTasksAppContextSwitches.cs | C# | mit | 1,510 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.