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 React, { Component } from 'react' import { Circle, FeatureGroup, LayerGroup, Map, Popup, Rectangle, TileLayer, } from '../../src' export default class OtherLayersExample extends Component { render () { const center = [51.505, -0.09] const rectangle = [ [51.49, -0.08], [51.5,...
yavuzmester/react-leaflet
example/components/other-layers.js
JavaScript
mit
1,171
/* Title: Předělaný systém výplat lektorům Author: Date: 2014/07/22 */ * hej jo * nejsem žádný hej nebo počkej
lovec/naucmese-zmenovnik
content/predelany-system-vyplat-lektorum.md
Markdown
mit
122
{% extends "base_map.html" %} {% load staticfiles %} {% block title %} Saved Paths {% endblock title %} {% block undermap_content %} <h1>Delete paths!</h1> <button class="rounded-button label" id='delete-button' value="delete">Delete</button> <h1>Saved paths</h1> <div class="container button-container"> {% for pa...
Earthstar/double-d
streetfarer/templates/saved_path_page.html
HTML
mit
505
<?php /* * Gwatkin, 15146508 */ namespace cgwatkin\a3\model; use cgwatkin\a3\exception\MySQLDatabaseException; use mysqli; /** * Class Model * * Connects to and configures the MySQL database with dummy data for testing. * * Base code provided by Andrew Gilman <a.gilman@massey.ac.nz> * * @package cgwatkin/a3 ...
CaiGwatkin/PHP_StockControlSystem
web/src/model/Model.php
PHP
mit
4,842
<?php class Autoload { public static function register($path) { if (function_exists('__autoload')) { spl_autoload_register('__autoload'); } spl_autoload_register(function ($class) use(&$path) { set_include_path($path); spl_autoload($class); ...
lcp0578/helloword
library/system/Autoload.php
PHP
mit
337
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NumberGuessing { partial class Program { public static bool doDebug = false; static void MyDebug() { if (doDebug) { Console.WriteLine("Debug informatio...
zelbo/Number-Guessing
Debug.cs
C#
mit
735
# frozen_string_literal: true require 'spec_helper' RSpec.describe DiffFileEntity do include RepoHelpers let_it_be(:project) { create(:project, :repository) } let(:repository) { project.repository } let(:commit) { project.commit(sample_commit.id) } let(:diff_refs) { commit.diff_refs } let(:diff) { commit...
mmkassem/gitlabhq
spec/serializers/diff_file_entity_spec.rb
Ruby
mit
2,686
from django.conf.urls import url from audiotracks import feeds from audiotracks import views urlpatterns = [ url(r"^$", views.index, name="audiotracks"), url(r"^(?P<page_number>\d+)/?$", views.index, name="audiotracks"), url(r"^track/(?P<track_slug>.*)$", views.track_detail, name="track_detail"),...
amarandon/django-audiotracks
audiotracks/urls.py
Python
mit
955
namespace ProjectManagement { partial class EntryForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
RuzmanovDev/ProjectManagementSystem
ProjectManagement/EntryForm.Designer.cs
C#
mit
4,179
The commented tests at the bottom of the bob_test.php are **Stretch Goals**, they are optional. They may be easier to solve if you are using the `mb_string` functions, which aren't installed by default with every version of PHP.
camilopayan/xphp
exercises/bob/.meta/hints.md
Markdown
mit
229
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ @namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */ embed:-moz-handler-disabled, em...
freesamael/npu-moboapp-programming-fall-2015
b2g-dist-win32-20151125/chrome/toolkit/pluginproblem/pluginProblemBinding.css
CSS
mit
1,077
/** * @author shirishgoyal * created on 16.12.2015 */ (function () { 'use strict'; angular.module('BlurAdmin.pages.auth', [ 'BlurAdmin.services' ]) .config(routeConfig); /** @ngInject */ function routeConfig($stateProvider) { $stateProvider .state('auth', { ...
crowd-course/scholars
static/app/pages/auth/auth.module.js
JavaScript
mit
1,130
<?php namespace Frontiernxt\Models; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ '...
codelust/laravel-skeleton
src/Models/User.php
PHP
mit
689
<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
drm343/MyWorld
docs/globals_defs.html
HTML
mit
5,868
require 'rails_helper' RSpec.describe "Homes", type: :request do describe "GET /homes" do it "works! (now write some real specs)" do get homes_path expect(response).to have_http_status(200) end end end
ddrscott/sql_probe
spec/dummy/spec/requests/homes_spec.rb
Ruby
mit
227
/** * */ package com.sivalabs.jcart.common.services; import javax.mail.MessagingException; import javax.mail.internet.MimeMessage; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.mail.MailException; import org.spri...
sivaprasadreddy/jcart
jcart-core/src/main/java/com/sivalabs/jcart/common/services/EmailService.java
Java
mit
1,464
class CreateCheckInSurveys < ActiveRecord::Migration def change create_table :check_in_surveys do |t| t.string :title t.text :description t.string :version, index: true t.text :question_1 t.text :question_2 t.text :question_3 t.text :question_4 t.timestamps end...
ccfapprn/network
db/migrate/20150204085338_create_check_in_surveys.rb
Ruby
mit
331
/** * Base js functions */ $(document).ready(function(){ //Init jQuery Masonry layout init_masonry(); //Select menu onchange $("#collapsed-navbar").change(function () { window.location = $(this).val(); }); }); function init_masonry(){ var $container = $('#content'); $container...
goldschadt/mason
assets/js/base.js
JavaScript
mit
563
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use Auth; // models use App\User; use App\models\Student; use App\models\Opd; class AdminStudents extends Controller { /* * E S T U D I A N T E S * ---------------------------------------------------------------- *...
GobiernoFacil/vinculacion
app/Http/Controllers/AdminStudents.php
PHP
mit
2,152
#pragma once #include <gtest/gtest.h> class HeroTest : public ::testing::Test { // Test interface protected: void SetUp() override { } void TearDown() override { } };
H4kor/tiny-hero
test/test_hero.hh
C++
mit
198
var React = require('react'); var RulePicker = require('./RulePicker.js'); var TimePicker = require('react-time-picker'); var DatePicker = require('react-date-picker'); var RuleSummary = require("./RuleSummary.js"); var moment = require('moment'); var Tabs = require('react-simpletabs'); var RecurringSelect = React.cre...
colinwahl/react-recurring-select
dist/RecurringSelect.js
JavaScript
mit
4,318
#!/bin/sh set -eo pipefail -o nounset #download HG003 data, convert to fastq wget -q ftp://ftp-trace.ncbi.nlm.nih.gov/giab/ftp/data/AshkenazimTrio/HG003_NA24149_father/PacBio_MtSinai_NIST/CSHL_bwamem_bam_GRCh37/BWA-MEM_Chr22_HG003_merged_11_12.sort.bam samtools fastq BWA-MEM_Chr22_HG003_merged_11_12.sort.bam > chr22_pb...
gogetdata/ggd-recipes
recipes/genomics/Homo_sapiens/GRCh37/grch37-hg003-pb-chr22-giab-v1/recipe.sh
Shell
mit
456
<?php /* TwigBundle:Exception:exception_full.html.twig */ class __TwigTemplate_c7b8e0c7c14064ee8fe3074f2af4519e extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("TwigBundle::layout.html.twig"); ...
hechec/StoNinoSF
app/cache/prod/twig/c7/b8/e0c7c14064ee8fe3074f2af4519e.php
PHP
mit
3,162
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = eachLimit; var _eachOfLimit = require('./internal/eachOfLimit'); var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit); var _withoutIndex = require('./internal/withoutIndex'); var _withoutIndex2 = _interopRequireDef...
muhbalhester/comex-app
node_modules/async/eachLimit.js
JavaScript
mit
1,623
--[[ # Element: ClassPower Handles the visibility and updating of the player's class resources (like Chi Orbs or Holy Power) and combo points. ## Widget ClassPower - An `table` consisting of as many StatusBars as the theoretical maximum return of [UnitPowerMax](http://wowprogramming.com/docs/api/UnitPowerMax.html). ...
oUF-wow/oUF
elements/classpower.lua
Lua
mit
10,588
package cz.vhromada.utils.file.gui; import java.io.IOException; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; import java.util.ArrayList; import java.ut...
vhromada/File_utils
src/main/java/cz/vhromada/utils/file/gui/CopyingFileVisitor.java
Java
mit
5,102
#ifndef Magnum_SceneGraph_Drawable_h #define Magnum_SceneGraph_Drawable_h /* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and a...
ashimidashajia/magnum
src/Magnum/SceneGraph/Drawable.h
C
mit
10,574
package api import ( "net/http" "strconv" "time" "gopkg.in/gin-gonic/gin.v1" "github.com/knopt/iot/backend/api/model" "github.com/knopt/iot/backend/error" ) // GetStatisticsByDeviceDataType by given requests parameters func (api *Api) GetStatisticsByDeviceDataType(context *gin.Context) { deviceID := context....
knopt/iot
backend/api/statistic.go
GO
mit
2,234
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Solar Energy</title> <!-- Bootstrap core CSS --> <link href=...
hindaljabr/solarenergysavings
index.html
HTML
mit
9,222
Friend Module Config Public Property useXkey As Boolean = False Public Property MainForm As Main Public Property ConfigForm As ConfigForm Public Property AppSwither As AppSwither End Module
ErikV88/AppSwitcherPlussPluss
AppSwitcher++/Config.vb
Visual Basic
mit
210
angular.module('green-streak.controllers', ['LocalStorageModule']) .controller('MenuController', function ($scope, $location, MenuService) { // "MenuService" is a service returning mock data (services.js) $scope.list = MenuService.all(); $scope.goTo = function (page) { console....
GeorgiCodes/green-streak-ui
www/js/controllers.js
JavaScript
mit
4,242
/* * This is a manifest file that'll be compiled into application.css, which will * include all the files listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, * vendor/assets/stylesheets, or vendor/assets/stylesheets of plugins, if any, * can be referenced here using a relative ...
Skreex/RoR-Depot
public/assets/application-c8bef841c57c4b1ec7218afe8bc466dd.css
CSS
mit
9,184
import templateUrl from './image.html'; import controller from './image-controller'; export default { name: 'image', url: '/:image', templateUrl, controller, controllerAs: 'image', resolve: { image: ['$http', '$stateParams', function($http, $stateParams){ const config = { method: 'GET', ...
tamaracha/wbt-framework
src/main/author/images/image/index.js
JavaScript
mit
449
@charset "UTF-8"; .flexeditor > ul.flexcontent { display:none; } .flexeditor > ul.flexcontent div.editor { display:none; } .flexeditor > ul.flexcontent > li > div.buttonbar { display:none; position:absolute; padding:4px 0 0 0; cursor:move; background-color:#DDD; top:-30px; height:...
fashionweb/moraso
adm/css/flexeditor.css
CSS
mit
2,017
<?php //--> /** * This file is part of the Cradle PHP Command Line * (c) 2016-2018 Openovate Labs * * Copyright and license information can be found at LICENSE * distributed with this package. */ namespace Cradle\Framework\CommandLine; use Cradle\Framework\CommandLine; use Cradle\Framework\Exception; use Cradle...
CradlePHP/framework
src/CommandLine/Package.php
PHP
mit
5,588
// Copyright (c) 2014-2017 The Innova Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "activemasternode.h" #include "consensus/validation.h" #include "darksend.h" #include "init.h" #include "governan...
innovacoin/innova
src/masternode.cpp
C++
mit
36,708
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.4 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
JinkiJung/PAUT
VRAT/vrat/Assets/Plugins/NoesisGUI/Scripts/Proxies/VisualCollection.cs
C#
mit
1,687
// Copyright 2014 Manu Martinez-Almeida. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. package gin import ( "log" "os" ) const GIN_MODE = "GIN_MODE" const ( DebugMode string = "debug" ReleaseMode string = "release" TestMode st...
bfosberry/gin
mode.go
GO
mit
875
.SignIn_div { margin-left: 1em; margin-top: 1ex; display: flex; align-items: flex-start; flex-direction: column; } .SignIn_panel { flex-direction: row; flex: 0 0 auto; } .SignIn_spacing { margin-left: 1em; } .SignIn_form .form-group input { width: 12em; }
ivosh/jcm2018
ui/web/src/auth/SignIn/SignIn.css
CSS
mit
277
<?php get_header(); ?> <?php the_breadcrumb(); ?> <div class="container"> <div class="row"> <!-- section --> <section role="main" class="col-sm-9"> <?php if (have_posts()): while (have_posts()) : the_post(); ?> <!-- article --> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <!-- p...
Jursdotme/toro
single.php
PHP
mit
1,748
package org.lua.commons.customapi.javafunctions.handlers; import org.lua.commons.baseapi.LuaThread; import org.lua.commons.baseapi.extensions.LuaExtension; import org.lua.commons.baseapi.types.LuaObject; import org.lua.commons.customapi.javafunctions.handlers.types.Type; public interface TypeCastManager extends LuaEx...
mrkosterix/lua-commons
lua-commons-3-custom-level/src/main/java/org/lua/commons/customapi/javafunctions/handlers/TypeCastManager.java
Java
mit
653
<?php /* * This file is part of the JobQueue package. * * (c) Jens Schwehn <jens@ldk.net> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ $loader = require __DIR__ . "/../vendor/autoload.php"; $loader->add('JobQueue\\', __DIR__);...
JSchwehn/JobQueue
tests/bootstrap.php
PHP
mit
390
const mongoose = require('mongoose') let literatureSchema = mongoose.Schema({ category: { type: String, required: true}, name: { type: String, required: true }, description: { type: String }, content: { type: String, required: true }, author: { type: mongoose.Schema.Types.ObjectId, required: true, ...
losko/CodeNameSite
server/data/Literature.js
JavaScript
mit
1,477
#!/usr/bin/env python # -*- coding: utf-8 -*- import bottle import datetime import time @bottle.get('/') def index(): return bottle.static_file('index.html', root='.') @bottle.get('/stream') def stream(): bottle.response.content_type = 'text/event-stream' bottle.response.cache_control = 'no...
hustbeta/python-web-recipes
server-sent-events/bottle-sse.py
Python
mit
517
module DocFrac class Format attr_reader :format_text, :ext def initialize(format) formats = { :to_rtf => "--to-rtf", :from_rtf => "--from-rtf", :to_html => "--to-html", :from_html => "--from-html", :to_text => "--to-text", :from_text => "--from-text" ...
Digi-Cazter/doc_frac
lib/doc_frac/format.rb
Ruby
mit
418
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
Team-Katana-WebForms/CrossJob
CrossJob/Web/CrossJob.Web/Projects.aspx.designer.cs
C#
mit
1,094
--- layout: post title: Intro to Wordpress Developer! --- Hello world! I am me and this is my first post. The purpose of this blog is to post help Wordpress newbies. My plan is to post things that new user might need when starting with wordpress. So yeah! keep visiting ^_^
wordpress-developer/wordpress-developer.github.io
_posts/2016-9-1-Hello-World.md
Markdown
mit
274
FILE(REMOVE_RECURSE "CMakeFiles/geo_transformations" ) # Per-language clean rules from dependency scanning. FOREACH(lang) INCLUDE(CMakeFiles/geo_transformations.dir/cmake_clean_${lang}.cmake OPTIONAL) ENDFOREACH(lang)
cmeon/Simplex
lib/test/CMakeFiles/geo_transformations.dir/cmake_clean.cmake
CMake
mit
223
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open...
GoC-Spending/data-corporations
html/234567124733.html
HTML
mit
45,365
// // MainExamplesViewController.h // MercadoPagoSDKExamplesObjectiveC // // Created by Maria cristina rodriguez on 1/7/16. // Copyright © 2016 MercadoPago. All rights reserved. // #import <UIKit/UIKit.h> @interface MainExamplesViewController : UITableViewController <PXLazyInitProtocol, PXLifeCycleProtocol, PXTra...
mercadopago/px-ios
ExampleObjectiveC/MercadoPagoSDKExamplesObjectiveC/MainExamplesViewController.h
C
mit
517
/* * * Copyright (C) 2008-2012, OFFIS e.V. and ICSMED AG, Oldenburg, Germany * Copyright (C) 2013-2015, J. Riesmeier, Oldenburg, Germany * All rights reserved. See COPYRIGHT file for details. * * Source file for class DRTBeamLimitingDeviceLeafPairsSequence * * Generated automatically from DICOM PS 3.3-201...
cronelab/radroom
conversion/dcmtk/dcmrt/libsrc/drtbldls.cc
C++
mit
17,508
/*------------------------------------------------------------------------------ <auto-generated> This code was generated by a tool. Code originates from EA Uml ClassTemplate.t4 Changes to this file will be lost if the code is regenerated. Code Generated Date: 23 May 2017 ProjectModel: Med...
LayrCake/LayrCakeUI
src/app/_controllers/_gen/_detail/DDDProperty.component.ts
TypeScript
mit
1,656
// Saves options to chrome.storage function save_options () { var saveDict = [] var i = 1 $('input').map(function () { var dict = { id: 'scbcc' + i, value: this.value } i++ console.log('save: ', dict) ga('send', 'event', 'setting', 'save', this.value) saveDict.push(dict) })....
samcheuk/boring-copy-cat
options.js
JavaScript
mit
2,881
<?php namespace Service; use Core\Service; use Db\Group\GetInvitations; use Db\Group\Search; use Model\Group as GroupModel; use Db\Group\GetByUserId; use Db\Group\GetById; use Db\Group\Store; class Group extends Service { /** * @param $userId * @return GroupModel[] * @throws \Core\Query\NoResultException *...
dnl-jst/ownsocial
library/Service/Group.php
PHP
mit
1,829
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.AI.TextAnalytics.Models { /// <summary> The CustomSingleClassificationTask. </summary> internal partial class CustomSingleClassificationTask { ///...
Azure/azure-sdk-for-net
sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/CustomSingleClassificationTask.cs
C#
mit
730
class User < ApplicationRecord attr_accessor :remember_token, :activation_token, :reset_token before_save :downcase_email before_create :create_activation_digest VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-]+(?:\.[a-z\d\-]+)*\.[a-z]+\z/i validates :email, presence: true, length: { maximum: 255 }, format: { with:...
professorNim/blorg
app/models/user.rb
Ruby
mit
2,289
'use strict'; module.exports = { colors: { black: '#000000', red: '#D54E53', green: '#B9CA4A', yellow: '#E7C547', blue: '#7AA6DA', magenta: '#C397D8', cyan: '#70C0B1', white: '#EAEAEA', lightBlack: '#969896', lightRed: '#D54E53', lightGreen: '#B9CA4A', lightYellow: '#E...
ooJerryLeeoo/hyper-material-box
scheme/tomorrow-night-bright.js
JavaScript
mit
708
int reqAuthenticate(const dict &req, int reqid); int reqUserLogin(const dict &req, int reqid); int reqUserLogout(const dict &req, int reqid); int reqUserPasswordUpdate(const dict &req, int reqid); int reqTradingAccountPasswordUpdate(const dict &req, int reqid); int reqUserLogin2(const dict &req, int reqid); int r...
bigdig/vnpy
vnpy/api/nh/generator/futures/nh_futures_header_function.h
C
mit
4,309
package orestes.bloomfilter.redis.helper; import java.util.ArrayList; import java.util.List; import java.util.Map.Entry; import java.util.Random; import java.util.Set; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis.clients.jedis.JedisPoolConfig; import redis.clients.jedis.Pipelin...
Crystark/Orestes-Bloomfilter
src/main/java/orestes/bloomfilter/redis/helper/RedisPool.java
Java
mit
4,691
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
ucantseeme/p2
application/config/database.php
PHP
mit
4,531
/* Copyright (c) 2020-2022 hors<horsicq@gmail.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, mod...
horsicq/Formats
xne.h
C
mit
5,766
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE */ /** * @license * Copyright 2018 Google Inc. * * Permission...
Chan4077/chan4077.github.io
node_modules/@material/tab-indicator/dist/mdc.tab-indicator.css
CSS
mit
3,050
/** * @Author: Yingya Zhang <zyy> * @Date: 2016-07-08 11:29:00 * @Email: zyy7259@gmail.com * @Last modified by: zyy * @Last modified time: 2016-07-10 22:18:85 */ import { notexist, isEmpty } from 'type' import { calcHeight, remove, dataset } from 'dom' describe('dom', () => { it('calcHeight', () => ...
zoro-js/zoro-base
test/unit/specs/dom/index_spec.js
JavaScript
mit
1,346
using UnityEngine; using System.Collections; public class EnemyAI : MonoBehaviour { public Transform Target; public float TargetDist; public bool WillChase; public float WalkingSpeed; public Vector3 TopPatrolStart; public Vector3 TopPatrolEnd; public Vector2 SidePatrolStart; pub...
NamefulTeam/PortoGameJam2016
PortoGameJam2016/Assets/Scripts/EnemyAI.cs
C#
mit
3,122
package service import ( "math" "math/rand" "time" "github.com/rlister/let-me-in/Godeps/_workspace/src/github.com/aws/aws-sdk-go/aws" "github.com/rlister/let-me-in/Godeps/_workspace/src/github.com/aws/aws-sdk-go/aws/request" ) // DefaultRetryer implements basic retry logic using exponential backoff for // most ...
rlister/let-me-in
Godeps/_workspace/src/github.com/aws/aws-sdk-go/aws/service/default_retryer.go
GO
mit
1,638
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
prinzo/Attack-Of-The-Fines-TA15
FineBot/FineBot.WepApi/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs
C#
mit
17,175
<TS language="es_UY" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Clic derecho para editar dirección o etiqueta</translation> </message> <message> <source>Create a new address</source> <...
Chancoin-core/CHANCOIN
src/qt/locale/bitcoin_es_UY.ts
TypeScript
mit
12,752
/* http://fiidmi.fi/documentation/customer_order_history */ module.exports = { "bonus": { "type": "object", "properties": { "session_id": { "type": "string", "minLength": 2, "maxLength": 50 }, "restaurant_id": { "type": "string", "minLength": 1, "maxLength": 50 } }, "required": ["session_id", ...
tidhr/node-fiidmi
lib/api/3.3/customer/information.js
JavaScript
mit
526
export function Fragment(props, ...children) { return collect(children); } const ATTR_PROPS = '_props'; function collect(children) { const ch = []; const push = (c) => { if (c !== null && c !== undefined && c !== '' && c !== false) { ch.push((typeof c === 'function' || typeof c === 'obje...
yysun/apprun
esm/vdom-my.js
JavaScript
mit
10,531
IF NOT EXISTS (SELECT * FROM sys.views WHERE object_id = OBJECT_ID(N'dw.v_virta_otp_opintopiste_pvm_yo')) EXEC dbo.sp_executesql @statement = N'create view dw.v_virta_otp_opintopiste_pvm_yo as select 1 as a' GO -- Testi ALTER VIEW [dw].[v_virta_otp_opintopiste_pvm_yo] AS SELECT [Tilastovuosi] = f.tilastovuosi ...
CSCfi/antero
db_archive/sql_archive/662__create_view_v_virta_otp_opintopiste_pvm_yo.sql
SQL
mit
1,406
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' destination.factory ''' from destination.zeus import ZeusDestination from destination.aws import AwsDestination from exceptions import AutocertError from config import CFG from app import app class DestinationFactoryError(AutocertError): def __init__(self, destin...
mozilla-it/autocert
autocert/api/destination/factory.py
Python
mit
854
<?php /** * LitePubl CMS * * @copyright 2010 - 2017 Vladimir Yushko http://litepublisher.com/ http://litepublisher.ru/ * @license https://github.com/litepubl/cms/blob/master/LICENSE.txt MIT * @link https://github.com/litepubl\cms * @version 7.08 */ namespace litepubl\comments; use litepubl\view\Lang;...
litepubl/cms
lib/comments/Json.php
PHP
mit
5,142
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyCopyright("Copyright © 2014")] [assembly: AssemblyVersion("0.1.3.1")] #if DEBUG [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyInformationalVersion("0.1.3.1-beta")] // trigger pre...
profet23/Neo4jClient.Extension
SolutionItems/Properties/AssemblyInfoGlobal.cs
C#
mit
489
#include <pthread.h> #include <stdio.h> #include <stdlib.h> // compile by gcc -o syc_m syc_m.c -pthread // ./syc_m int MAX = 10; int count = 1; pthread_mutex_t mutex; void print_star(int i) { int j; pthread_mutex_lock(&mutex); for (j = 1; j <= i; j++) { printf("*"); } // printf(" %d"...
USMC1941/CS214-Rutgers
Recitations/Section_07/Code/recitation_11_14_code/syc_m.c
C
mit
1,385
var ItineraryWalkStep = require('./itinerary-walk-step') var Backbone = window.Backbone var ItineraryWalkSteps = Backbone.Collection.extend({ model: ItineraryWalkStep }) module.exports = ItineraryWalkSteps
ed-g/otp.js
lib/itinerary-walk-steps.js
JavaScript
mit
211
.body-wrapper { margin-top: 55px !important; } .jumbotron { padding-bottom:32px !important; padding-top: 42px !important; } h1, h2, h3, h4 { font-family: 'Crete Round', 'Helvetica Neue', Helvetica, Arial, sans-serif; } .navbar-brand { padding-top: 20px; font-family: 'Crete Round', 'Helvetica Neue', Helve...
endrureza/intercooler-js
www/css/site.css
CSS
mit
2,959
<!DOCTYPE html> <html> <head> <meta http-equiv='content-type' value='text/html;charset=utf8'> <meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'> <title>hub(1) - git + hub = github</title> <style type='text/css' media='all'> /* style: man */ body#manpage {margin:0} .mp...
paulcbetts/hub
man/hub.1.html
HTML
mit
15,905
<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
v8-dox/v8-dox.github.io
630f0c4/html/index.html
HTML
mit
4,030
//================================================================================================= /*! // \file blaze/math/expressions/MultExpr.h // \brief Header file for the MultExpr base class // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaze library. You c...
camillescott/boink
include/goetia/sketches/sketch/vec/blaze/blaze/math/expressions/MultExpr.h
C
mit
3,735
--- comments: false type: index --- # GitLab basics guides This section provides resources to help you start working with GitLab and Git by focusing on the basic features that you will need to use. This documentation is split into the following groups: - [GitLab-specific functionality](#gitlab-basics), for basic Gi...
stoplightio/gitlabhq
doc/gitlab-basics/README.md
Markdown
mit
2,034
# frozen_string_literal: true require 'spec_helper' require 'json' describe QueueBus::Worker do it 'proxies to given class' do hash = { 'bus_class_proxy' => 'QueueBus::Driver', 'ok' => true } expect(QueueBus::Driver).to receive(:perform).with(hash) QueueBus::Worker.perform(JSON.generate(hash)) end ...
queue-bus/queue-bus
spec/worker_spec.rb
Ruby
mit
1,332
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CommaExcess.Algae.Graphics { /// <summary> /// Defines a compiled material pass. /// </summary> interface ICompiledMaterialPass { /// <summary> /// Begins rendering the material pass. /// </summary> void Begin...
aaronbolyard/Algae.Canvas
Source/Algae/Graphics/ICompiledMaterial.cs
C#
mit
2,495
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #pragma once #include <vector> #include <map> #include <sstream> #include <string> #include "ifcpp/model/GlobalDefines.h" #include "ifcpp/model/BasicTypes.h" #include "ifcpp/model/BuildingObject.h" #include "IfcFeatureElementAddition.h" clas...
ifcquery/ifcplusplus
IfcPlusPlus/src/ifcpp/IFC4/include/IfcProjectionElement.h
C
mit
4,956
# General SDN Test Framework This is a easy-to-use test framework for general purpose in SDN scenario. ## Preliminary The only requirement for you is a UNIX-like system with docker installed.
snlab-freedom/sdntest
README.md
Markdown
mit
195
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sensio\Bundle\FrameworkExtraBundle\Tests\Templating; use Sensio\Bundle\...
daniel-dahan/StudyShare
vendor/sensio/framework-extra-bundle/Tests/Templating/TemplateGuesserTest.php
PHP
mit
4,544
# coding=utf-8 # -------------------------------------------------------------------------- # 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 ...
AutorestCI/azure-sdk-for-python
azure-servicefabric/azure/servicefabric/models/partition_health.py
Python
mit
2,612
#region License /* The MIT License * * Copyright (c) 2011 Red Badger Consulting * * 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 limitatio...
redbadger/XPF
XPF/RedBadger.Xpf/Graphics/IRenderer.cs
C#
mit
1,445
/* * Copyright (c) 2015 by Greg Reimer <gregreimer@gmail.com> * MIT License. See license.txt for more info. */ var stream = require('stream') , util = require('util') , co = require('co') , unresolved = require('./unresolved') // ----------------------------------------------------- function Readable(opts, ...
greim/eventual-pony
lib/readable.js
JavaScript
mit
929
# UILoader Make it easier to track the loading status of your objects. _v0.7.0_ ## Usage Transform this: ```swift class LameViewController: UIViewController { @IBOutlet weak var activityIndicatorView: UIActivityIndicatorView? private var isPerformingVeryLongBackgroundTask = false func performVeryLongB...
BellAppLab/UILoader
README.md
Markdown
mit
3,448
namespace Dike.Core.Mail { using Dike.Core.Configuration; using Dike.Core.Utils.Extensions; using System; /// <summary> /// Represents the e-mail sender configuration. The settings are read from the <see cref="ISettingManager"/>. /// </summary> /// <seealso cref="Dike.Core.Mail.IEmailSende...
IngbertPalm/project.dike
src/Dike.Core/Mail/EmailSenderConfiguration.cs
C#
mit
2,615
/* A Bison parser, made by GNU Bison 2.3. */ /* Skeleton implementation for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of th...
abhimanbhau/C-Compiler_Dummy
Lab2/cdlab/y.tab.c
C
mit
43,315
<?php namespace JanVince\SmallContactForm\Models; use Str; use Model; use URL; use October\Rain\Router\Helper as RouterHelper; use Cms\Classes\Page as CmsPage; use Cms\Classes\Theme; use JanVince\SmallContactForm\Models\Settings; use Log; use Validator; use Mail; use Request; use Carbon\Carbon; use View; use App; use ...
jan-vince/smallcontactform
models/Message.php
PHP
mit
20,183
package com.weixin.util; import java.io.IOException; import java.io.InputStream; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.dom4j.DocumentException; import org.dom4j.Element; import org.dom4j.io.S...
ScorpionJay/wechat
src/main/java/com/weixin/util/MessageUtil.java
Java
mit
1,844
// flow-typed signature: 382f7ff956662b19ae5c130ba0ebece6 // flow-typed version: <<STUB>>/deepclone_v1.0.2/flow_v0.56.0 /** * This is an autogenerated libdef stub for: * * 'deepclone' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with the * ...
codefoundries/UniversalRelayBoilerplate
flow-typed/npm/deepclone_vx.x.x.js
JavaScript
mit
469
'use strict'; describe('E2E testing: Change password', function () { var constants = require('../../../testConstants'); var loginPage = require('../../pages/loginPage'); var header = require('../../pages/pageHeader'); var changePasswordPage = require('../../pages/changePasswordPage'); va...
sil-student-projects/web-languageforge
test/app/bellows/changepassword/e2e/changepassword.spec.js
JavaScript
mit
3,105
--- layout: post title: "Testing with lots of text" date: 2013-10-03 11:13 AM --- Portland in shoreditch Vice, labore typewriter pariatur hoodie fap sartorial Austin. Pinterest literally occupy Schlitz forage. Odio ad blue bottle vinyl, 90's narwhal commodo bitters pour-over nostrud. Ugh est hashtag in, fingerstache a...
L8D/meh
_posts/2013-10-03-lots-of-text.md
Markdown
mit
5,564
// Copyright (c) 2011-2015 The Gtacoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "sendcoinsentry.h" #include "ui_sendcoinsentry.h" #include "addressbookpage.h" #include "addresstablemodel.h" #incl...
gtacoin-dev/gtacoin
src/qt/sendcoinsentry.cpp
C++
mit
8,351
local console = { _LICENSE = [[ The MIT License (MIT) Copyright (c) 2014 Maciej Lopacinski 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 limita...
excessive/love-console
console.lua
Lua
mit
12,939
using Shouldly; using Specify.Samples.Domain.Atm; using TestStack.BDDfy; namespace Specify.Samples.Specs.ATM { public class CardHasBeenDisabled : ScenarioFor<Atm, AccountHolderWithdrawsCashStory> { private Card _card; public void Given_the_Card_is_disabled() { _card = new ...
mwhelan/Specify
src/Samples/Specify.Samples/Specs/ATM/CardHasBeenDisabled.cs
C#
mit
857
<section data-ng-controller="InvestmentsController" data-ng-init="findOne()"> <div class="page-header"> <a class="pull-right btn btn-primary" data-ng-click="remove();"> <i class="glyphicon glyphicon-trash"></i> </a> <h1>Edit Investment</h1> </div> <div class="col-md-12"> ...
jollyburnz/pw-meanjs
public/modules/investments/views/edit.html
HTML
mit
2,250