repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
CodeKittey/lycheeJS
libraries/lychee/source/platform/node/Viewport.js
2921
lychee.define('Viewport').tags({ platform: 'node' }).includes([ 'lychee.event.Emitter' ]).supports(function(lychee, global) { if (typeof process !== 'undefined') { if (typeof process.stdout === 'object' && typeof process.stdout.on === 'function') { return true; } } return false; }).exports(function(ly...
mit
anaviltripathi/pgmpy
pgmpy/tests/test_models/test_BayesianModel.py
23605
import unittest import networkx as nx import pandas as pd import numpy as np import numpy.testing as np_test from pgmpy.models import BayesianModel import pgmpy.tests.help_functions as hf from pgmpy.factors import TabularCPD, JointProbabilityDistribution, Factor from pgmpy.independencies import Independencies from pg...
mit
D3A7H13/4HeadRankingSystem
src/FourHeadRankingSystem/Models/AccountViewModels/RegisterViewModel.cs
875
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace FourHeadRankingSystem.Models.AccountViewModels { public class RegisterViewModel { [Required] [EmailAddress] [Display(Name = "Email")] ...
mit
bankonme/MUE-Src
src/qt/paymentrequestplus.cpp
7409
// Copyright (c) 2009-2015 Bitcoin Developers // Copyright (c) 2014-2015 MonetaryUnit Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // // Wraps dumb protocol buffer paymentRequest // with some extra methods // ...
mit
peteratseneca/dps907fall2015
Week_06/ErrorHandling/ErrorHandling/Controllers/Links_vm.cs
6621
using System; using System.Collections.Generic; using System.Linq; using System.Web; // new... using Newtonsoft.Json; namespace ErrorHandling.Controllers { // This source code file has classes for link relations // There is a 'Link' class that models a hypermedia link // There are two abstract classes ...
mit
boztalay/OldProjects
C++/Win32 Projects/Minecraft Watcher/main.cpp
3209
#include <windows.h> LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) { HWND hwnd; WNDCLASSEX wndclass = {0}; wndclas...
mit
ayline94/Diplomarbeit-Zeitboerse
angebot.js
1645
$(document).ready(function(){ //------------- Angebotsliste -------------------------// // Angebote anzeigen function displayAngebotListe() { $.ajax({ url:"api/angebot/show-list.php", method:"POST", success:function(data){ $('#angebotsliste'...
mit
magic-cli/magic
src/Commands/NewCommand.php
10469
<?php namespace Magic\Commands; use Exception; use GuzzleHttp\Exception\ClientException; use League\Flysystem\Adapter\Local; use Magic\Commands\Command; use Magic\Contracts\MagicTemplate as MagicTemplateContract; use Magic\CustomTemplate\CustomTemplateBuilder; use Magic\Filesystem\Filesystem; use Magic\Http\MagicHttp...
mit
maltewintner/photoduels
app/views/photoduels/part/head.blade.php
289
<head> <title>@lang('photoduels.head_title')</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> {{ HTML::style('css/bootstrap.min.css') }} {{ HTML::style('css/photoduels.css') }} {{ HTML::style('css/fam-icons.css') }} </head>
mit
DojoSamurai/Dojo
app/cache/dev/twig/65/97/2aeb0230e08c7baf3eb1b98b652cfc143ef7a8f43769ba38b2edb1743606.php
2068
<?php /* TwigBundle:Exception:logs.html.twig */ class __TwigTemplate_65972aeb0230e08c7baf3eb1b98b652cfc143ef7a8f43769ba38b2edb1743606 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
mit
WonchulYang/angularyang
app/scripts/controllers/mapContoller.js
1024
'use strict'; /** * @ngdoc function * @name sbAdminApp.controller:MainCtrl * @description * # MainCtrl * Controller of the sbAdminApp */ angular.module('sbAdminApp') .controller('MapCtrl', ['$scope', function ($scope) { var myLatLng = {lat: -12.566535, lng: 126.97796919000007}; // Create a map object a...
mit
cuckata23/wurfl-data
data/sagem_myx_4_ver1.php
1860
<?php return array ( 'id' => 'sagem_myx_4_ver1', 'fallback' => 'opwv_v62_generic', 'capabilities' => array ( 'uaprof' => 'http://extranet.sagem.com/UAProfile/835509.xml', 'model_name' => 'myX-4', 'brand_name' => 'Sagem', 'max_image_width' => '121', 'resolution_height' => '160', 'resolut...
mit
innogames/gitlabhq
app/services/ci/job_artifacts/destroy_batch_service.rb
3072
# frozen_string_literal: true module Ci module JobArtifacts class DestroyBatchService include BaseServiceUtility include ::Gitlab::Utils::StrongMemoize # Danger: Private - Should only be called in Ci Services that pass a batch of job artifacts # Not for use outside of the Ci:: namespace ...
mit
de-wiring/containerspec
tests/serverspec-tests/test_spec.rb
156
require 'spec_helper.rb' describe docker_image('nginx:latest') do it { should exist } its(:inspection) { should include 'Architecture' => 'amd64' } end
mit
BeYkeRYkt/Bulls-and-Cows
Eclipse/src/ru/beykerykt/bullsandcows/base/gui/PrintStreamInterface.java
1721
/** * MIT License * * Copyright (c) 2017 Vladimir Mikhaylov * * 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...
mit
daryllabar/XrmUnitTest
NMemory.Base/Execution/Optimization/JoinGroup`2.cs
2083
// ---------------------------------------------------------------------------------- // <copyright file="JoinGroup`2.cs" company="NMemory Team"> // Copyright (C) 2012-2014 NMemory Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
mit
akosszasz/akosszasz.github.io
fishing2021/media/admin/filemanager/scripts/languages/pl.js
2414
{ "AUTHORIZATION_REQUIRED": "Nie jesteś upoważniony do używania menadżera plików.", "INVALID_ACTION": "Niewłaściwa akcja.", "MODE_ERROR": "Tryb wyświetlania błędów.", "DIRECTORY_ALREADY_EXISTS": "Lokalizacja '%s' już istnieje.", "UNABLE_TO_CREATE_DIRECTORY": "Brak możliwości utworzenia lokalizacji %s.", ...
mit
salsify/ember-cli-pact
tests/helpers/ajax.js
432
// Quick'n'dirty AJAX without using `fetch` (needs Pretender support) // or `jQuery` (don't want to assume it's around) export default function ajax(url, { method = 'GET' } = {}) { return new Promise((resolve, reject) => { let request = new XMLHttpRequest(); request.onload = () => resolve(JSON.parse(request.r...
mit
abactel/smhw
smhw_cli.py
12191
#!/usr/bin/env python3 """showmyhomework from your terminal""" import argparse # allows command line argument parsing import curses # provides interface import datetime # display relative dates import sys # parse command line arguments, exit program i...
mit
Hexeption/Youtube-Hacked-Client-1.8
minecraft/net/minecraft/network/Packet.java
483
package net.minecraft.network; import java.io.IOException; public interface Packet { /** * Reads the raw packet data from the data stream. */ void readPacketData(PacketBuffer data) throws IOException; /** * Writes the raw packet data to the data stream. */ void writePacketData(Pac...
mit
InseeFr/DDI-Access-Services
src/main/java/fr/insee/rmes/config/ElasticContext.java
869
package fr.insee.rmes.config; import org.apache.http.HttpHost; import org.elasticsearch.client.RestClient; import org.elasticsearch.client.RestHighLevelClient; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Co...
mit
ahmadnurhidayat/Cook-It-Android-XML-Template
app/src/test/java/com/uiresource/cookit/ExampleUnitTest.java
399
package com.uiresource.cookit; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void ...
mit
KodamaSakuno/ProjectDentan
Dentan.Game/Data/EnemyFleet.cs
3512
using System.Linq; namespace Moen.KanColle.Dentan.Data { public class EnemyFleet : ModelBase, IID { public int ID { get; set; } public bool IsPracticeFleet { get; internal set; } string r_Name; public string Name { get { return r_Name; } set ...
mit
betrakiss/MovieRegistry
models/record.rb
124
require 'active_record' class Record < ActiveRecord::Base belongs_to :user belongs_to :movie belongs_to :episode end
mit
JanHalozan/SonosStream
src/js/search.js
843
const youtubeApiKey = 'AIzaSyAGyDq2bPgXD2uvwfx_kCEAC-sE9jk-KJE'; var YouTube = require('youtube-node'); var youtube = new YouTube(); youtube.setKey(youtubeApiKey); $('.search-button').click(function() { var needle = $('.search-field').val(); var resultsList = $('.search-results'); resultsList.empty(); yo...
mit
dominics/predisque
src/Profile/Factory.php
1894
<?php namespace Predisque\Profile; use Predis\ClientException; /** * Factory class for creating profile instances from strings. */ class Factory { private static $profiles = array( '1.0' => DisqueVersion100::class, 'dev' => DisqueUnstable::class, 'default' => DisqueVersion100::class, ...
mit
gugcz/devfest-gamification
android/CDH-Master/src/main/java/cz/destil/cdhmaster/service/ConnectivityReceiver.java
741
package cz.destil.cdhmaster.service; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import cz.destil.cdhmaster.util.DebugLog; import cz.destil.cdhmaster.util.Util; /** * Created by Destil on 4.11.13. */ public class ConnectivityReceiver extends BroadcastRec...
mit
abhinaykrupa/1s
application/views/jobsView.php
10095
<form id="search" name="<?= $pageId ?>" class="form-horizontal" action="<?= $canonicalURL ?>" method="get"> <div class="form-group"> <label class="control-label col-sm-5" for="keyword">Job Title:</label> <div class="col-sm-3"> <input type="text" class="form-control" id="keyword" name="ke...
mit
millwrightjs/millwright
src/plugins/minify.js
1044
const _ = require('lodash'); const postcss = require('postcss'); const cssnano = require('cssnano'); const uglifyjs = require('uglify-js'); module.exports = function minify(file) { const minified = minifiers[file.typeDest](file); return minified.then(result => _.assign(file, result)); } const minifiers = {css, js...
mit
kgryte/npmignore
test/test.async.js
5214
/* global require, describe, it */ 'use strict'; // MODULES // var chai = require( 'chai' ), mkdirp = require( 'mkdirp' ), path = require( 'path' ), fs = require( 'fs' ), cp = require( './../lib/async.js' ); // VARIABLES // var expect = chai.expect, assert = chai.assert; // TESTS // describe( 'async', func...
mit
kenzierocks/AutoErgel
src/main/java/me/kenzierocks/autoergel/util/ServiceProvider.java
1488
/* * This file is part of Autoergel, licensed under the MIT License (MIT). * * Copyright (c) kenzierocks (Kenzie Togami) <http://kenzierocks.me> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the...
mit
incentivetoken/offspring
com.dgex.offspring.ui/src/com/dgex/offspring/ui/messaging/MessageNodeImpl.java
791
package com.dgex.offspring.ui.messaging; import java.util.ArrayList; import java.util.List; public class MessageNodeImpl implements IMessageNode { private final IMessageNode parent; private final MessageWrapper message; private List<IMessageNode> children = null; public MessageNodeImpl(IMessageNode parent,...
mit
jarrett/buscar
lib/buscar/index.rb
4687
module Buscar class Index include Enumerable # Views can call this method to iterate over the current page's records. Uses # the value returned by #page, which in turn uses the value of @params[:page] def each collection = paginate? ? records_on_page(page) : records collection.each do |record| yie...
mit
npruehs/ggj2016
Unity/Rituals/Assets/Game/Scripts/Menu/FadeOutImage.cs
1054
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="FadeOutImage.cs" company="Slash Games"> // Copyright (c) Slash Games. All rights reserved. // </copyright> // -------------------------------------------------------------------...
mit
landonepps/vscode
extensions/markdown-language-features/src/markdownEngine.ts
9351
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
mit
pipedrive/client-nodejs
src/model/BaseNote.js
7961
/** * Pipedrive API v1 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * ...
mit
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.5.0/autocomplete-sources/autocomplete-sources-min.js
129
version https://git-lfs.github.com/spec/v1 oid sha256:d3df9a2a67f24419c07867ad96beff2cd199871b493ca98cb92445e021adbbb7 size 3407
mit
platanus/platanus-rails
lib/platanus/enum.rb
2575
# enum.rb : ActiveRecord Enumerated Attributes. # # Copyright August 2012, Ignacio Baixas +mailto:ignacio@platan.us+. module Platanus ## Adds +attr_enum+ property generator to a module. # # When attr_enum is called on one of the model properties name: # * A getter and setter for the <name>_str property are ad...
mit
kiyokura/SSDTHelper
src/SampleDbProjectTest/spCalculateMonthlySalesTest.cs
1311
using NUnit.Framework; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using Dapper; namespace SampleDbProjectTest { [TestFixture] public class spCalculateMonthlySalesTest { [Test] public void spCalculateMon...
mit
Polynominal/Lucy3D
Dependencies/sol2/single/sol/sol.hpp
405093
// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the ...
mit
gossi/trixionary
src/action/relationship/VideoFeaturedTutorialSkillRemoveAction.php
1267
<?php namespace gossi\trixionary\action\relationship; use gossi\trixionary\domain\VideoDomain; use keeko\framework\foundation\AbstractAction; use phootwork\json\Json; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\OptionsResolver\OptionsResolver; use ...
mit
ATMakersOrg/OpenIKeys
original/IntelliKeys/MacOSX/common/IKMsg.cpp
7129
// IKMsg.cpp: implementation of the IKMsg class. // ////////////////////////////////////////////////////////////////////// #include "IKCommon.h" #include "IKFile.h" #include "IKUtil.h" #include "IKMsg.h" static int defaultTimeout = 1000; static const TCHAR *strTransactLockFile = TEXT("transaction lock.dat"); s...
mit
hamid-omid/search_relevance
xgbFunctions.py
6347
''' Required functions for xgb.py __Author__: Ali Narimani __Version__: 2.1 ''' from sklearn.base import BaseEstimator, TransformerMixin from sklearn.metrics import mean_squared_error, make_scorer import re from nltk.stem.porter import * ### Keys: Snow = True # stemmer choice #### if Snow: from nltk.stem....
mit
onfido/dependencies-resolver
dependencies_resolver/config/configuration.py
156
import os SCHEMA_FILE_LOCATION = os.path.join(os.path.dirname(__file__), 'schema.json') REGEX_MULTIPART_UPLOAD_PATTERN = r'-\d+' DEFAULT_CHUNK_SIZE = 4096
mit
harinathebc/sample_codeigniter
assets/vendor/moment-develop/locale/ka.js
4192
//! moment.js locale configuration //! locale : Georgian (ka) //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define...
mit
piedoom/TumblrSharp
Examples/.Net Framework/Console/CreateTextPost/Program.cs
963
using DontPanic.TumblrSharp; using DontPanic.TumblrSharp.OAuth; using DontPanic.TumblrSharp.Client; using System; using System.Threading.Tasks; using ConsoleBasics; namespace CreateTextPost { public class Tumblr : TumblrBase { public async Task<PostCreationInfo> Post(string text) { ...
mit
jmptable/semanter
Semanter/app/src/main/java/us/semanter/app/ui/review/NoteView.java
4694
package us.semanter.app.ui.review; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PointF; import android.util.AttributeSet; import android.view.M...
mit
repne/happyface
HappyFace.Store/Storage/FileStorage.cs
1561
using System.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks; using HappyFace.Store.Serialization; namespace HappyFace.Store.Storage { public class FileStorage : IStorage { private readonly string _path; private readonly ISerializerFactory _serializer...
mit
Trikisatan/Newnorth-Alerts
WWW/Framework/Controls/TextBoxControl.php
1419
<? namespace Framework\Controls; use \Framework\Newnorth\Control; use \Framework\Newnorth\ConfigException; class TextBoxControl extends Control { /* Life cycle methods */ public function Initialize() { } public function Load() { } public function Execute() { } /* Methods */ public function ParseParam...
mit
TinyTronics/TM1637_6D
TM1637_6D.cpp
9951
/* * TM1637_6D.cpp * A library for the 6 digit TM1637 based segment display * * Modified for 6 digits and points by: TinyTronics.nl * * Copyright (c) 2012 seeed technology inc. * Website : www.seeed.cc * Author : Frankie.Chu * Create Time: 9 April,2012 * Change Log : * * The MIT License (MIT) * * P...
mit
nvtNgan/rpg-game-k16
rpg-game/js/plugins/YEP_X_TickBasedRegen.js
9978
//============================================================================= // Yanfly Engine Plugins - Extension Plugin - Tick Based Regeneration // YEP_X_TickBasedRegen.js //============================================================================= var Imported = Imported || {}; Imported.YEP_X_TickBasedRegen =...
mit
rainlike/justshop
vendor/knplabs/gaufrette/src/Gaufrette/Adapter/AwsS3.php
9911
<?php namespace Gaufrette\Adapter; use Gaufrette\Adapter; use Aws\S3\S3Client; use Gaufrette\Util; /** * Amazon S3 adapter using the AWS SDK for PHP v2.x. * * @author Michael Dowling <mtdowling@gmail.com> */ class AwsS3 implements Adapter, MetadataSupporter, ListKey...
mit
CassioAmador/profile_tcabr
visualization_tools/test_custom_spectrogram_sim2.py
2623
"""Compare custom spectrogram with scipy's implementation""" import numpy as np import matplotlib.pyplot as plt from matplotlib.mlab import specgram from scipy import signal import time import sys sys.path.insert(0, './../src/') import custom_spectrogram as cs fs = 100 # 100 MHz tem = np.arange(int(8 * fs)) / fs f...
mit
quailjs/quail
test/assessmentSpecs/specs/imgNotReferredToByColorAlone/imgNotReferredToByColorAloneSpec.js
5018
xdescribe('assessment: imgNotReferredToByColorAlone', function () { var client, assessments, quailResults, cases; // Evaluate the test page with Quail. describe('the non-match case', function () { before('load webdrivers and run evaluations with Quail', function () { return quailTestRunner.setup({ ...
mit
shredder-rull/rhinoart_cms
spec/dummy/config/routes.rb
174
Rails.application.routes.draw do devise_for :users mount Rhinoart::Engine, at: "/" root 'pages#index' match '*url' => 'pages#internal', :as => :page, via: [:get] end
mit
dvsa/mot
mot-web-frontend/module/PersonModule/src/InputFilter/QualificationDetailsInputFilter.php
1239
<?php namespace Dvsa\Mot\Frontend\PersonModule\InputFilter; use DvsaClient\Mapper\QualificationDetailsMapper; use DvsaCommon\Factory\AutoWire\AutoWireableInterface; use DvsaCommon\HttpRestJson\Exception\ValidationException; use Zend\InputFilter\InputFilter; class QualificationDetailsInputFilter extends InputFilter i...
mit
majiajia/blog_thinkphp
Tour/Modules/Index/Action/AboutAction.class.php
2550
<?php /** * Created by PhpStorm. * User: jiajiama * Date: 15-5-17 * Time: 下午9:03 */ class AboutAction extends Action { public function index() { $team_member_list = array(); $db_team_members = M("team_members"); $member_select = $db_team_members->limit(6)->select(); $index_memb...
mit
jiach1992/videoDemo
Model/RoleInfo.cs
689
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model { public class RoleInfo { public RoleInfo() { } #region Model private int _roleid; private string _rolename; /// <summary> ...
mit
akaraatanasov/JS-Core
JS Fundamentals/Control-Flow Logic - Lab/FruitVegetable.js
518
function fruitVegetable(word) { switch (word) { case 'banana': case 'apple': case 'kiwi': case 'cherry': case 'lemon': case 'grapes': case 'peach': console.log('fruit'); break; case 'tomato': case 'cucumber': cas...
mit
karim/adila
database/src/main/java/adila/db/wifionly2dgms_vp742dfinlux.java
229
// This file is automatically generated. package adila.db; /* * Vestel VP74 * * DEVICE: wifionly-gms * MODEL: VP74-Finlux */ final class wifionly2dgms_vp742dfinlux { public static final String DATA = "Vestel|VP74|"; }
mit
team1389/Simulation-Ohm
Simulation-Ohm/src/simulation/drive_sim/xml/XMLShapeReader.java
4390
package simulation.drive_sim.xml; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import java.util.stream.IntStream; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import java...
mit
akrherz/iem
htdocs/GIS/apps/rview/loop.php
769
<?php function printHTML($urls, $width, $height){ $urls = implode("::", $urls); return <<<EOF <form name="jsani" id="jsani" action="#" style="width: {$width}px; height: {$height}px;"> <input type="hidden" name="filenames" value="{$urls}"> <input type="hidden" name="controls" value="previous, stoppl...
mit
FrancoisVenter/TangentSolutionAssignment
application/resources/views/home.php
1585
<!DOCTYPE html> <html> <head> <title>ID REST</title> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="fragment" content="!"> <base href="/"> <link h...
mit
lunar-logan/trollback
src/main/java/org/inverse/Main.java
708
package org.inverse; import org.inverse.exception.QueryNotSupportedException; import org.inverse.exception.QueryParsingException; import org.inverse.service.RollbackService; /** * Created by Dell on 11-01-2017. */ public class Main { public static void main(String[] args) throws QueryParsingException, QueryNotS...
mit
openxml/openxml-drawingml
spec/drawingml/elements/theme_elements_spec.rb
172
require "spec_helper" describe OpenXml::DrawingML::Elements::ThemeElements do include ElementTestMacros it_should_use tag: :themeElements, name: "theme_elements" end
mit
lukeberglund/Robots-CRUD-App
routes/robots.js
1656
var express = require('express'); var router = express.Router(); var fetch = require('node-fetch'); var baseUrl if (true == false) { baseUrl = "http://localhost:3000" } else { baseUrl = "https://southernct-443-robots-api.herokuapp.com" } /* List Robots */ router.get('/robots', function(req, res, next) { const...
mit
mateusmaso/underscore.prefilter
dist/underscore.prefilter.min.js
500
// underscore.prefilter // -------------------- // v0.1.2 // // Copyright (c) 2013-2015 Mateus Maso // Distributed under MIT license // // http://github.com/mateusmaso/underscore.prefilter !function(a,b){if("undefined"!=typeof exports){var c=require("underscore");"undefined"!=typeof module&&module.exports&&(module.exp...
mit
smirfolio/rebal
install545d4d4d/class/Installer.php
44732
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * Ionize * * @package Ionize * @author Ionize Dev Team * @license http://ionizecms.com/doc-license * @link http://ionizecms.com * @since Version 0.90 */ // -----------------------------------------------------------------------...
mit
Anovative/Nop39
Libraries/Nop.Core/Domain/Vendors/Vendor.cs
2829
using System.Collections.Generic; using Nop.Core.Domain.Localization; using Nop.Core.Domain.Seo; namespace Nop.Core.Domain.Vendors { /// <summary> /// Represents a vendor /// </summary> public partial class Vendor : BaseEntity, ILocalizedEntity, ISlugSupported { private ICollection<VendorNo...
mit
anephenix/yo-socketstream
app/generator.js
2224
module.exports = function (context) { // Generate directories and files for the app var directories = [ 'client', 'client/code', 'client/code/app', 'client/code/libs', 'client/css', 'client/css/libs', 'client/static', 'client/static/images', 'client/templates', 'client/views...
mit
concord-consortium/portal-report
js/selectors/report-tree.js
7891
import { createSelector } from "reselect"; import Immutable, { Map } from "immutable"; import { getViewType, FULL_REPORT, DASHBOARD, PORTAL_DASHBOARD } from "../util/misc"; // `getSequenceTree` generates tree that is consumed by React components from reportState (ImmutableJS Map). // Redux state has flat structure. Th...
mit
devGomgbo/stockvalue
app/cache/dev/twig/b/8/b817507167aa45caac41e7a6ff7932152e6b33fa0d064934a028da1f65ae7aac.php
7007
<?php /* OroFilterBundle:Js:embedded_templates.js.twig */ class __TwigTemplate_b817507167aa45caac41e7a6ff7932152e6b33fa0d064934a028da1f65ae7aac extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks ...
mit
metamarcdw/PyBitmessage-I2P
src/class_receiveDataThread.py
39916
doTimingAttackMitigation = True import time import threading import shared import hashlib from i2p import socket import random from struct import unpack, pack import sys import traceback #import string #from subprocess import call # used when the API must execute an outside program #from pyelliptic.openssl import Ope...
mit
ShowingCloud/Cancri
app/controllers/competitions_controller.rb
28499
class CompetitionsController < ApplicationController before_action :authenticate_user!, except: [:index, :show, :invite, :events, :apply_process] before_action :set_competition, only: [:show] def index host_year = params[:host_year] competitions = Competition.where.not(status: 0); false if host_year....
mit
zhangbobell/mallshop
plugins/onekey/taobao/top/request/RefundMessagesGetRequest.php
1999
<?php /** * TOP API: taobao.refund.messages.get request * * @author auto create * @since 1.0, 2014-09-13 16:51:05 */ class RefundMessagesGetRequest { /** * 需返回的字段列表。可选值:RefundMessage结构体中的所有字段,以半角逗号(,)分隔。 **/ private $fields; /** * 页码。取值范围:大于零的整数; 默认值:1<br /> 支持最小值为:1 **/ private $pageNo; /** ...
mit
msaranu/TwitterApp
app/src/main/java/com/codepath/apps/twitterEnhanced/activities/DirectMessageActivity.java
1427
package com.codepath.apps.twitterEnhanced.activities; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.EditText; import com.codepath.apps.twitterEnhanced.R; import...
mit
zcodes/symfony
src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php
8350
<?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 Symfony\Component\PropertyInfo\Extractor; use phpDocumentor\Reflection\...
mit
steflef/lmtl
www/collab_api/public/js/libs/gatlas/g_911.01.js
19114
var ga = {}; var map, layer, parser; var zoom = 12; var eventinfos = []; var templates = []; // Leaflet Default Icon var MyIcon = L.Icon.extend({ iconUrl: BASE_URL+'public/imgs/interface/leaflet/marker.png', shadowUrl:BASE_URL+'public/imgs/interface/leaflet/marker-shadow.png'/* , iconSize: new L.P...
mit
moljac/Ph4ct3x
source/business-domain-logic/Utilities/Weather/HolisticWare.Ph4ct3x.Utilities.Weather.Providers.DHMZ_MeteoHR_PrognozaHR/DHMZ_MeteoHR_PrognozaHR/agro7.cs
8045
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
mit
Rhymond/product-compare-react
config/webpackDevServer.config.js
5154
'use strict'; const errorOverlayMiddleware = require('react-error-overlay/middleware'); const noopServiceWorkerMiddleware = require('react-dev-utils/noopServiceWorkerMiddleware'); const config = require('./webpack.config.dev'); const paths = require('./paths'); const protocol = process.env.HTTPS === 'true' ? 'https' ...
mit
glennjones/hapi-swagger
test/unit/utilities-test.js
9760
const Code = require('@hapi/code'); const Joi = require('joi'); const Lab = require('@hapi/lab'); const Helper = require('../helper.js'); const Utilities = require('../../lib/utilities.js'); const expect = Code.expect; const lab = (exports.lab = Lab.script()); lab.experiment('utilities', () => { lab.test('isObject'...
mit
RichardBangs/SimpleEngine
SimpleEngine/Game/GameManager.cpp
5442
#include "GameManager.h" #include "glew.h" #include "freeglut.h" #include "glm.hpp" #include "Path.h" #include "Renderer\RenderableManager.h" #include "Renderer\Textures\TextureLoader.h" #include "Renderer\Textures\SpriteLoader.h" #include "../Server.h" #include "Simulation\SimulationManager.h" #include "Simulatio...
mit
Night75/webmixin-2014
src/Night/DisplayBundle/DataFixtures/ORM/LoadWebTechnologiesData.php
2183
<?php namespace Night\DisplayBundle\DataFixtures\ORM; use Doctrine\Common\DataFixtures\FixtureInterface; use Doctrine\Common\Persistence\ObjectManager; use Night\DisplayBundle\Entity\Image; use Night\DisplayBundle\Entity\WebTechnology; use Doctrine\Common\DataFixtures\AbstractFixture; use Symfony\Component\Dependency...
mit
itpastorn/webbserverprogrammering-1
html/admin.php
86
<?php /** * Page controler för adminsidan * * Denna ska skapas i kapitel 15 */
mit
Sebram/LANOTE
src/LN/FrontBundle/Controller/DefaultController.php
297
<?php namespace LN\FrontBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class DefaultController extends Controller { public function indexAction($name) { return $this->render('LNFrontBundle:Default:index.html.twig', array('name' => $name)); } }
mit
pdkhuong/VideoFW
application/models/Editor_box_item_model.php
5593
<?php class Editor_Box_Item_model extends CI_Model { const TABLE_NAME = 'editor_box_item'; const TABLE_KEY = 'id'; static protected $_instance = NULL; static protected $_assoc_columns = array( 'box_id', 'item_text', 'item_link', 'item_thumbnail', 'order', ); function __construct() { ...
mit
Arasaac/dockerizePHPApp
php/inc/herramientas/gestor_pictogramas/listar_palabras_reducido.php
4218
<?php include ('../../../classes/querys/query.php'); $query=new query(); $id_tipo=""; $letra=""; $id_tipo=$_POST['id_tipo']; $letra=$_POST['letra']; /* ******************************************************************************************* */ /* LISTAR PALABRAS */ ...
mit
vincentremond/OKTM
src/OverkillTaskManager.Web/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs
383
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; namespace OverkillTaskManager.Web.Models.ManageViewModels { public class ConfigureTwoFactorViewModel { public string SelectedProvider { get; set; } public...
mit
mitdbg/modeldb
webapp/client/src/features/highLevelSearch/view/SearchResults/Filters/Filters.tsx
2453
import cn from 'classnames'; import * as React from 'react'; import { connect } from 'react-redux'; import { bindActionCreators, Dispatch } from 'redux'; import { Entities, ActiveFilter, IEntitiesResults, } from 'shared/models/HighLevelSearch'; import matchType from 'shared/utils/matchType'; import { actions } ...
mit
freak3dot/we-jit
js/util.js
543
/** * Reserved for future use * @param text string Language to translate * @return string Translated string */ function gettext(text){ return text; } /** * http://stackoverflow.com/questions/1349404/generate-a-string-of-5-random-characters-in-javascript * @return string Random String */ function makeId(){ ...
mit
TelerikAcademy/ASP.NET-MVC
resources/05. ASP.NET-Web-Security/Demo/XSS-LiveDemo/DemoBadPerson/TelerikAcademy.ForumSystem.Data.Model/Hack.cs
330
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TelerikAcademy.ForumSystem.Data.Model.Abstracts; namespace TelerikAcademy.ForumSystem.Data.Model { public class Hack : DataModel { public string Cookie { get; set; } ...
mit
csecapstone485organization/ddf-mobile
App/components/MapResults.js
5703
import React, { PropTypes, Component } from 'react' import { Text, View, Platform, ListView, StyleSheet, Dimensions, TouchableHighlight } from 'react-native' import { Actions } from 'react-native-router-flux' import store from '../store/store' import MapView from 'react-native-maps'; import { cql_TEST_RESULTS } from '....
mit
minero/minero-go
config/doc.go
828
// Package config defines a parser and a handler for minero's simple configuration file format. // // Properties: // - Less verbose than JSON. // - Simpler than YAML. // - Easy parsing. // - Indentation based. // // Notes on Indentation: // - Spaces and tabs are equivalent here. Examples: // " \t" == "\t...
mit
mmig/mmir-starter-kit
www/mmirf/env/media/webMicLevels.js
20402
/** * MicLevelsAnalysis is a plugin/module for generating "microphone input levels changed events" for * ASR (speech recognition) modules based on Web Audio Input (i.e. analyze audio from getUserMedia) * * The plugin triggers events <code>miclevelchanged</code> on listeners registered to the MediaManager. *...
mit
iwagaki/GPUMonitor
GPUMonitor/Form1.cs
14318
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Drawing.Imaging; using System.Runtime.InteropServices; using OpenCvSharp; using OpenCvSharp.Extensions; using System.IO;...
mit
Sevenflanks/linebot-operator-next
src/test/java/next/operator/linebot/talker/UrlTalkerTest.java
444
package next.operator.linebot.talker; import next.operator.GenericTest; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; public class UrlTalkerTest extends GenericTest { @Autowired UrlTalker urlTalker; @Test public void talk() throws Exception { final Stri...
mit
test101110/WcfExperiments
CalculatorService/Properties/AssemblyInfo.cs
2026
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Управление общими сведениями о сборке осуществляется с помощью // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("CalculatorService"...
mit
diego-nz/TiendaRopa
modelo/conexion.php
156
<?php $mysqli=new mysqli("localhost","root","","web"); if(mysqli_connect_errno()){ echo 'Conexión fallida ',mysqli_connect_error(); exit(); } ?>
mit
elvisun/VR-Motion-Sickness-Reducer
AlignView.cs
329
using UnityEngine; using System.Collections; public class AlignView : MonoBehaviour { // Use this for initialization void Start () { //Debug.LogWarning ("align view..."); //this.transform.rotation = this.transform.parent.gameObject.transform.rotation; } // Update is called once per frame void Update () { ...
mit
markledwich2/mutuosite
js/main.js
219
(function () { $("a[href*=\\#]").on("click", function (event) { if(!this.hash) return; event.preventDefault(); $("html, body").animate({ scrollTop: $(this.hash).offset().top }, 500); }); })();
mit