repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
rjwut/ian
src/test/java/com/walkertribe/ian/protocol/core/weap/SetBeamFreqPacketTest.java
906
package com.walkertribe.ian.protocol.core.weap; import java.util.List; import org.junit.Assert; import org.junit.Test; import com.walkertribe.ian.enums.BeamFrequency; import com.walkertribe.ian.enums.Origin; import com.walkertribe.ian.protocol.AbstractPacketTester; public class SetBeamFreqPacketTest extends Abstrac...
mit
xianjunzhengbackup/code
data science/machine_learning_for_the_web/chapter_4/movie/12223.html
6744
<HTML><HEAD> <TITLE>Review for Priyatel pokojnika (1997)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0119952">Priyatel pokojnika (1997)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?J...
mit
ybainier/Hypodermic
Hypodermic/ConsoleLoggerSink.h
498
#pragma once #include <iostream> #include "Hypodermic/ILoggerSink.h" namespace Hypodermic { class ConsoleLoggerSink : public ILoggerSink { public: void append(LogLevels::LogLevel logLevel, const std::string& message) override { if (logLevel == LogLevels::Off) ...
mit
appop/bitcoin
src/qt/test/uritests.cpp
2968
// Copyright (c) 2009-2014 The nealcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "uritests.h" #include "guiutil.h" #include "walletmodel.h" #include <QUrl> void URITests::uriTests() { SendC...
mit
S-mohan/mblog
src/utils/validate.js
406
const isObjectId = objectId => objectId && /^[0-9a-fA-F]{24}$/.test(objectId) const isEmail = email => email && /^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)+$/.test(email.trim()) const isNick = nick => nick && /^[\u4E00-\u9FA5\uF900-\uFA2DA-Za-z0-9\-\_]{2,40}$/.test(nick.trim()) const isUrl = url => url && /^(http(?:|s)\:)*...
mit
SiqiLu/MoeThrow
MoeThrow/Properties/AssemblyInfo.cs
2005
// *********************************************************************** // Assembly : MoeThrow // Author : Siqi Lu // Created : 2015-03-15 7:44 PM // // Last Modified By : Siqi Lu // Last Modified On : 2015-03-15 8:24 PM // ***************************************************************...
mit
asnaedae/asnaedae.github.io
_posts/2014-07-28-has-microsoft-lost-its-way.md
1017
--- layout: post title: "Has microsoft lost it's way?" tags: - microsoft redirect_from: - /2014/07/28/has-microsoft-lost-its-way - /has-microsoft-lost-its-way/ --- I cannot help but feel, very probably not helped by the rest of the tech press that Microsoft is still struggling to understand what it's core marke...
mit
jackindisguise/node-mud
src/handle/command/Northeast.js
465
var Command = require("../Command"); var RealDirection = require("../../RealDirection"); var MessageCategory = require("../../MessageCategory"); var _dir = RealDirection.NORTHEAST; class Northeast extends Command{ constructor(){ super(); this.rule = /^n(?:orth)?e(?:ast)?$/g; } exec(){ if(this.step(_dir)){ ...
mit
Beta-nanos/SolidDomino
SolidDomino/src/soliddomino/game/exceptions/IncorrectMoveFormatException.java
289
package soliddomino.game.exceptions; public class IncorrectMoveFormatException extends Exception { public IncorrectMoveFormatException(String format) { super(format + " is not the correct format. Expected \'#number-direction(e.g left, right).\'\nExample: 4-right"); } }
mit
jeorgun/Vivaldi
src/expression.cpp
194
#include "expression.h" #include "opt.h" #include "vm/instruction.h" std::vector<vv::vm::command> vv::ast::expression::code() const { auto vec = generate(); optimize(vec); return vec; }
mit
bootstrap-vue/bootstrap-vue
src/components/pagination-nav/pagination-nav.spec.js
22231
import VueRouter from 'vue-router' import { mount } from '@vue/test-utils' import { waitNT, waitRAF } from '../../../tests/utils' import { Vue } from '../../vue' import { BPaginationNav } from './pagination-nav' Vue.use(VueRouter) // The majority of tests for the core of pagination mixin are performed // in paginatio...
mit
giggals/Software-University
Exercises-Defining Classes/03.OldesFamilyMember/Family.cs
603
using System; using System.Collections.Generic; using System.Text; using System.Linq; public class Family { private List<Person> familyList; public List<Person> Names { get { return this.familyList; } set { this.familyList = value; } } public Family() { this...
mit
cuginoAle/cuginoAle.github.io
README.md
6857
# Jekyll Now [![Join the chat at https://gitter.im/cuginoAle/cuginoAle.github.io](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cuginoAle/cuginoAle.github.io?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) **Jekyll** is a static site generator that's perfect for GitHub hosted...
mit
chromatic-universe/cci-stream-mta
src/proc_ace_acceptor/proc_cci_mta_acceptor.cpp
2580
//proc_ace_acceptor.cpp #include <proc_mta_ace_acceptor.h> using namespace proc_mta_ace; using std::ostringstream; //---------------------------------------------------------------------------------------------------------------------------- proc_acceptor::proc_acceptor ( concurrency_t concurrency ) : concurrency_...
mit
ismailfaruqi/dimension
lib/dimension.rb
75
require 'dimension/dimension' require 'dimension/d2' require 'dimension/d3'
mit
user-tony/photon-rails
lib/assets/images/photon/plugins/elrte/css/css_compiled/js/js/bootstrap/js/plugins/jquery.tagsinput.min.js.html
15065
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Login Page - Photon Admin Panel Theme</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> <link rel="shortcut icon" href="ht...
mit
Curtisdhi/HumblePickle
src/HyperionStudios/HumblePickleBundle/Entity/Donator.php
1963
<?php namespace HyperionStudios\HumblePickleBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * HyperionStudios\HumblePickleBundle\Entity\Donator * * @ORM\Table(name="donators") * @ORM\Entity */ class Donator { /** * @ORM\Id * @ORM\GeneratedValu...
mit
jenkinsci/mber-plugin
src/main/resources/org/jenkinsci/plugins/mber/MberNotifier/help-buildName.html
1406
<!-- The Jenkins Mber Plugin is free software distributed under the terms of the MIT license (http://opensource.org/licenses/mit-license.html) reproduced here: Copyright (c) 2013-2015 Mber Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files ...
mit
lachrist/aran
test/dead/apply/pointcut.js
131
module.exports = (name, node) => ( name === "apply" && node.type === "CallExpression" && node.callee.type === "Identifier");
mit
Azure/azure-sdk-for-ruby
management/azure_mgmt_network/lib/2019-07-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb
6873
# 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::Network::Mgmt::V2019_07_01 module Models # # Inbound NAT rule of the load balancer. # class InboundNatRule < SubResource ...
mit
Tecnocreaciones/VzlaGovernmentTemplateDeveloperSeed
api/class-Symfony.Bundle.FrameworkBundle.Tests.Functional.WebTestCase.html
160747
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="ApiGen 2.8.0" /> <title>Class Symfony\Bundle\FrameworkBundle\Tests\Functional\WebTestCase | seip</title> <script type="text/javascript" src="resources/combined.js?784181472"></script...
mit
piterlin/piterlin.github.io
doc/jdk6_cn/java/awt/class-use/RenderingHints.Key.html
16557
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0-beta2) on Mon Mar 19 19:27:04 CST 2007 --> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <TITLE> 类 java.awt.RenderingHints.Key ...
mit
brentnash/gbecho
src/main/java/com/giantbomb/main/ListOfGamesGenerator.java
137
package com.giantbomb.main; public class ListOfGamesGenerator { public static void main(final String[] args) { } }
mit
ardaozkal/BatterySync
Client/BatterySync/Form1.Designer.cs
3643
namespace BatterySync { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
mit
igvteam/igv.js
js/bam/bamReader.js
5347
/* * The MIT License (MIT) * * Copyright (c) 2016-2017 The Regents of the University of California * Author: Jim Robinson * * 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 res...
mit
biancascura/hello-world
To-Do-List/Production version/index.html
5265
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="IE=edge"> <title>To Do List: Make a To Do List</title> <meta name="description" content="Use this free application to make a to do list."> <meta name="viewport" content="width=dev...
mit
firepick1/firenodejs
www/js/shared/XYZ.js
12537
var should = require("should"); var Mat3x3 = require("./Mat3x3"); var Barycentric3 = require("./Barycentric3"); var Logger = require("./Logger"); (function(exports) { var verboseLogger = new Logger({ logLevel: "debug" }); ////////////////// constructor function XYZ(x, y, z, options) { ...
mit
css/csso
fixtures/compress/color/rgba-0.min.css
399
a,b,c{color:transparent}d{background:-webkit-gradient(linear,top,left,from(rgba(1,2,3,0)),color-stop(rgba(1,2,4,0)),to(rgba(1,2,5,0)));background:-webkit-linear-gradient(top,rgba(1,2,3,0),rgba(1,2,5,0))}e{background:-webkit-gradient(linear,top,left,from(transparent),color-stop(transparent),to(transparent));background:-...
mit
alynch-ece-its/php-cascade-ws
exception_classes/EmptyNameException.class.php
189
<?php /** * Author: Wing Ming Chan * Copyright (c) 2014 Wing Ming Chan <chanw@upstate.edu> * MIT Licensed * Modification history: */ class EmptyNameException extends Exception{} ?>
mit
Ingewikkeld/oauth-server-bundle
src/Ingewikkeld/Rest/OAuthServerBundle/Form/ClientType.php
1885
<?php /** * Symfony REST Edition. * * @link https://github.com/Ingewikkeld/symfony-rest-edition * @copyright Copyright (c) 2013-2013 Ingewikkeld<info@ingewikkeld.net> * @license https://github.com/Ingewikkeld/symfony-rest-edition/blob/master/LICENSE MIT License */ namespace Ingewikkeld\Rest\OAuthServerBun...
mit
mximos/openproject-heroku
db/migrate/20130409133713_migrate_planning_element_type_to_project_association.rb
3124
#-- copyright # OpenProject is a project management system. # Copyright (C) 2012-2013 the OpenProject Foundation (OPF) # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # OpenProject is a fork of ChiliProject, which is a fork of ...
mit
MightyPork/wrack
public/index.php
104
<?php require __DIR__.'/../protected/vendor/autoload.php'; require __DIR__.'/../protected/start.php';
mit
mark-rushakoff/influxdb
chronograf/server/config_test.go
5316
package server import ( "bytes" "encoding/json" "io/ioutil" "net/http/httptest" "testing" "github.com/influxdata/influxdb/chronograf" "github.com/influxdata/influxdb/chronograf/mocks" ) func TestConfig(t *testing.T) { type fields struct { ConfigStore chronograf.ConfigStore } type wants struct { statusC...
mit
GluuFederation/oxAuth
Server/src/main/java/org/gluu/oxauth/util/RedirectUtil.java
2806
/* * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.gluu.oxauth.util; import org.gluu.oxauth.model.common.ResponseMode; import org.jboss.resteasy.specimpl.ResponseBuilderImpl; import org.json.JSONException; import...
mit
CradlePHP/sink-faucet
.cradle.php
49
<?php //--> include __DIR__ . '/src/events.php';
mit
SolidEdgeCommunity/docs
docfx_project/apidoc/SolidEdgeFrameworkSupport.Arcs2d.AddByCenterStartEnd.md
946
--- uid: SolidEdgeFrameworkSupport.Arcs2d.AddByCenterStartEnd(System.Double,System.Double,System.Double,System.Double,System.Double,System.Double) summary: remarks: syntax: parameters: - id: xCenter description: Specifies the coordinates of the center point of the arc. - id: xEnd description:...
mit
shibukawa/qt5.jsx
doc/qtextblock.html
2796
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>QTextBlock Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> ...
mit
Smolations/more-dash-docsets
docsets/ATG 2007.1.docset/Contents/Resources/Documents/atg/epub/project/TargetDef.html
61122
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.4.2_05) on Fri Dec 23 12:55:01 EST 2005 --> <TITLE> TargetDef (ATG Java API) </TITLE> <META NAME="keywords" CONTENT="atg.epub.project.TargetDef interfac...
mit
johanasplund/coffeefuck
node_modules/unit.js/test/lib/asserters/object.js
17594
/** * This file is part of the Unit.js testing framework. * * (c) Nicolas Tallefourtane <dev@nicolab.net> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code * or visit {@link http://unitjs.com|Unit.js}. * * @author Nicolas Tallefourt...
mit
Instamojo/Woo-Instamojo
README.md
5651
**Instamojo Woocommerce Plugin** =================== India's emerging C2C payments & e-commerce platform. We make digital commerce universally accessible to create newer opportunities & sustainable livelihoods. We believe every business idea deserves to be on the Internet to grow. But very few can. We make it possib...
mit
OpenSketch-Application/OpenSketch
server/db/models/Session.js
740
var mongoose = require('mongoose'); var Shape = require('./Shape'); var User = require('./User'); // Create a session model, _id will be assigned by Mongoose var CanvasSessionSchema = new mongoose.Schema( { _id: String, users: [User], dateCreated: Date, dateUpdated: Date, // canDraw: Boolean, ...
mit
svetlai/TelerikAcademy
Software-Technologies/Databases/03-SQL-Intro/3. SQL Intro Solution/04-SelectAllDepartments.sql
153
--4. Write a SQL query to find all information about all departments (use "TelerikAcademy" database). SELECT * FROM [TelerikAcademy].[dbo].[Departments]
mit
neva-nevan/ConfigPy
ConfigPy-Portable/ConfigPy/cgi-bin/restore.py
516
import os import shutil from glob import glob print 'Content-type:text/html\r\n\r\n' print '<html>' found_pages = glob('archive/*.py') if found_pages: path = "/cgi-bin/archive/" moveto = "/cgi-bin/pages/" files = os.listdir(path) files.sort() for f in files: src = path+f dst = mov...
mit
michaelx/Launchbot
src/js/plugins/age.js
950
import config from '../components/configLoader'; import { addToDefaultPluginDOM } from '../components/helpers'; const pluginConfig = config.plugins.find(obj => obj.name === 'age'); // DOM setup const pluginId = 'js-plugin-age'; addToDefaultPluginDOM(pluginId); const ageDOM = document.getElementById(pluginId); con...
mit
nendhruv/data-dictionary
src/java/filediff/myers/DifferentiationFailedException.java
294
package filediff.myers; public class DifferentiationFailedException extends DiffException { private static final long serialVersionUID = 1L; public DifferentiationFailedException() { } public DifferentiationFailedException(String msg) { super(msg); } }
mit
nikhilpi/klick
client/startup/default.js
94
Meteor.startup(function () { }); Deps.autorun(function(){ Meteor.subscribe('userData'); });
mit
mgroizard/Tracker
src/Aleste/TrackerBundle/Command/AvisosCommand.php
1400
<?php namespace Aleste\TrackerBundle\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Output\OutputInterface; use Doctri...
mit
v2ray/v2ray-core
infra/conf/serial/serial.go
75
package serial //go:generate go run v2ray.com/core/common/errors/errorgen
mit
vespolina/syncer
tests/Vespolina/Tests/Sync/Functional/Entity/LocalProductCategory.php
369
<?php /** * (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Vespolina\Tests\Sync\Functional\Entity; class LocalProductCategory { public $name; public function get...
mit
lumodon/electron-clicker
README.md
1309
# electron-clicker ## Description Create a game similar to Cookie Clicker (http://orteil.dashnet.org/cookieclicker/) ## Context This is important because creating this game would allow you to focus mainly on an interactive language and how it interacts with the elements on the page, which change over time. You woul...
mit
zachpendleton/ftp-ext
test/helper.rb
218
require 'rubygems' require 'test/unit' require 'shoulda' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'ftp-ext' class Test::Unit::TestCase end
mit
atlancer/watir_crawler
README.md
487
# WatirCrawler A watir based web crawler ## Installation Add this line to your application's Gemfile: gem 'watir_crawler' And then execute: $ bundle Or install it yourself as: $ gem install watir_crawler ## Usage See examples ## Contributing 1. Fork it 2. Create your feature branch (`git checkou...
mit
sdpython/python3_module_template
_unittests/ut_module/test_convert_notebooks.py
1224
""" @brief test log(time=0s) """ import os import unittest from pyquickhelper.loghelper import fLOG from pyquickhelper.filehelper import explore_folder_iterfile from pyquickhelper.ipythonhelper import upgrade_notebook, remove_execution_number class TestConvertNotebooks(unittest.TestCase): """Converts notebo...
mit
zasadnyy/android-hothack-13
example/source/src/main/java/ua/org/gdg/devfest/iosched/receiver/SessionAlarmReceiver.java
1444
/* * Copyright 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
mit
runefriborg/pycsp
test/runtests.sh
360
#!/bin/sh PYTHON=python IMPL=$1 $PYTHON autotest.py $IMPL $PYTHON buffertest.py $IMPL $PYTHON commtest.py $IMPL $PYTHON guardtest.py $IMPL $PYTHON iotest.py $IMPL $PYTHON poisontest.py $IMPL $PYTHON selecttest.py $IMPL cd unix $PYTHON remotetest.py $IMPL $PYTHON multiprocesstest.py $IMPL $PYTHON sshprocesstest.py $I...
mit
MrPIvanov/SoftUni
05-Csharp OOP Basics/06-EXERCISE WORKING WITH ABSTRACTION/06-AbstractionExercises/02-CarsSalesman/Engine.cs
1294
using System.Text; public class Engine { private const string offset = " "; public string model; public int power; public int displacement; public string efficiency; public Engine(string model, int power) { this.model = model; this.power = power; this.displacemen...
mit
F0lha/UJunior-Projects
DailyProgrammer/Challenge#318/src.py
2546
from itertools import permutations import re def create_formula(combination,numbers): formula = "" index = 0 for op in combination: formula += str(numbers[index]) + op index += 1 formula += numbers[index] return formula ''' Unnecessary Funtion ''' def evaluate(form): result ...
mit
mwyatt/dialogue
js/getMotionEventName.js
710
// will this be needed? var getMotionEventName = function(type) { var t; var el = document.createElement('fakeelement'); var map = {}; if (type == 'transition') { map = { 'transition': 'transitionend', 'OTransition': 'oTransitionEnd', 'MozTransition': 'transitionend', ...
mit
HerrB92/obp
OpenBeaconPackage/libraries/hibernate-release-4.2.7.SP1/documentation/javadocs/org/hibernate/service/internal/class-use/SessionFactoryServiceRegistryFactoryInitiator.html
8707
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_34) on Wed Oct 23 13:33:57 EDT 2013 --> <TITLE> Uses of Class org.hibernate.service.internal.SessionFactoryServiceRegistryFactoryInitiator (Hibernate...
mit
Shopify/liquid-c
ext/liquid_c/block.h
743
#if !defined(LIQUID_BLOCK_H) #define LIQUID_BLOCK_H #include "document_body.h" #include "vm_assembler_pool.h" typedef struct block_body { bool compiled; VALUE obj; union { struct { document_body_entry_t document_body_entry; VALUE nodelist; } compiled; struc...
mit
schnef/opentherm-gw
hardware/README.md
361
# Hardware Gebruik [KiCAD](http://www.kicad-pcb.org/display/KICAD/KiCad+EDA+Software+Suite) om de bestanden te openen. In output.pdf staat een afdruk van het schema. Het PCB ontwerp mist omdat het prototype meerdere fouten bevatte. Met KiCAD is relatief eenvoudig een nieuw ontwerp te maken waarvoor alle benodigde g...
mit
milanbrckalo/cvator
config/app.php
8504
<?php return [ /* |-------------------------------------------------------------------------- | Application Environment |-------------------------------------------------------------------------- | | This value determines the "environment" your application is currently | running in. This m...
mit
robfig/soy
soymsg/placeholder.go
5537
package soymsg import ( "bytes" "regexp" "strconv" "strings" "github.com/robfig/soy/ast" ) // setPlaceholderNames generates the placeholder names for all children of the // given message node, setting the .Name property on them. func setPlaceholderNames(n *ast.MsgNode) { // Step 1: Determine representative nod...
mit
jimconner/paas-cf
manifests/cf-manifest/spec/cloud-config/vm_types_spec.rb
376
RSpec.describe "vm_types" do let(:vm_types) { manifest_with_defaults.fetch("vm_types") } describe "the router pool" do let(:pool) { vm_types.find { |p| p["name"] == "router" } } it "should use the correct elb instance" do expect(pool["cloud_properties"]["elbs"]).to match_array([ terraform_f...
mit
Azure/azure-webjobs-sdk-script
src/WebJobs.Script.WebHost/Middleware/HstsConfigurationMiddleware.cs
1538
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.HttpsPolicy; using ...
mit
fboes/blogophon
gulpfile.js
2874
// Include gulp import gulp from 'gulp'; import fs from 'fs'; // Include Our Plugins import eslint from 'gulp-eslint'; import mocha from 'gulp-mocha'; import browserSyncJs from 'browser-sync'; import sassJs from 'gulp-sass'; import sassCompiler from 'sass'; import rename from "gulp-rena...
mit
EllipticalElements/ui-checkbox
ui-checkbox.html
933
<link rel="import" href="../polymer/polymer.html"> <link rel="import" href="../ui-behaviors/component-behavior.html"> <link rel="import" href="../ui-behaviors/checkbox.html"> <dom-module id="ui-checkbox"> <template> <input type="checkbox" id="[[dataId]]" name="[[dataName]]" [[required]]> <label fo...
mit
bgon/BlocklyCraft
src/main/js/www/README.md
1385
# BlocklyCraft key files - `docs` Pictures for the readme files. Excluded from the Plugin. - `google-blockly` Blockly code, kept in sync through the `build.xml` file in this directory, and is thus on `.gitignore`. - `msg` All the language files used by the Blockly editor and the Minecraft blocks. - `build.xml` Syn...
mit
N2ODev/Nitrous
src/rpcblockchain.cpp
10201
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "bitcoinrpc.h" using namespace json_spirit; using namespace...
mit
vort3x/watery
helper/emoji.go
747
package helper const ( // EmojiStar const for unicode code EmojiStar = "\U00002B50" // EmojiAlarm const for unicode code EmojiAlarm = "\U000023F0" // EmojiDroplet const for unicode code EmojiDroplet = "\U0001F4A7" // EmojiGear const for unicode code EmojiGear = "\U00002699" // EmojiBell const for unicode ...
mit
jacobsologub/FFKit
FFKit/gui/controllers/UIViewController+FFKit.h
2936
/* ============================================================================== Copyright (C) 2016 Jacob Sologub 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 restricti...
mit
janhuenermann/neurojs
README.md
1479
<img src="./images/icon.png" alt="neurojs" height="125"> # neurojs neurojs is a JavaScript framework for deep learning in the browser. It mainly focuses on reinforcement learning, but can be used for any neural network based task. It contains neat demos to visualise these capabilities, for instance a 2D self-driving ...
mit
hankly/frizione
Frizione/modules/jala/code/AsyncRequest.js
5028
// // Jala Project [http://opensvn.csie.org/traccgi/jala] // // Copyright 2004 ORF Online und Teletext GmbH // // 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.or...
mit
my1matrix/my1termw
src/wxform.cpp
2350
/** * * wxform.cpp * * - implementation for main wx-based form * **/ #include "wxform.hpp" #include <wx/aboutdlg.h> #include "../res/apps.xpm" #include "../res/exit.xpm" #include "../res/quest.xpm" #define MACRO_WXBMP(bmp) wxBitmap(bmp##_xpm) #define MACRO_WXICO(bmp) wxIcon(bmp##_xpm) #define MESSAGE_WELCOME "Welco...
mit
win-k/CMSTV
evo/assets/snippets/ditto/formats/xml.format.inc.php
3036
<?php /* * Title: XML * Purpose: * Collection of parameters, functions, and classes that expand * Ditto's output capabilities to include XML */ if(!defined('MODX_BASE_PATH') || strpos(str_replace('\\','/',__FILE__), MODX_BASE_PATH)!==0) exit; // set placeholders $xml_placeholders['[+xml_copyright+]'] = isset...
mit
AnsiPress/AnsiPress
roles/website/templates/wordpress/wp-config.php
2421
<?php /** * The base configuration for WordPress * * The wp-config.php creation script uses this file during the * installation. You don't have to use the web site, you can * copy this file to "wp-config.php" and fill in the values. * * This file contains the following configurations: * * * MySQL settings * *...
mit
klbrisson/PersonalPage
modules/core/client/views/tech.client.view.html
262
<div class="row"> <div class="col-md-12 tech-col"> <div ng-controller="TechCtrl"> <div class="repeated__item well__item animate" ng-repeat="image in images" ng-animate="animate"> <img ng-src="{{image}}"> </div> </div> </div> </div>
mit
deadcee/horizon
cli/.eslintrc.js
216
const OFF = 0; const WARN = 1; const ERROR = 2; module.exports = { extends: "../.eslintrc.js", rules: { "max-len": [ ERROR, 100 ], }, env: { "es6": true, "node": true, "mocha": true, }, };
mit
dvla/vehicles-acquire-online
app/views/acquire/business_choose_your_address.scala.html
3868
@(businessChooseYourAddressForm: Form[models.BusinessChooseYourAddressFormModel], traderBusinessName: String, traderPostcode: String, traderEmail: Option[String], dropDownOptions: Seq[(String, String)])(implicit lang: Lang, token: uk.gov.dvla.vehicles.presentation.common.filters....
mit
smeagonline-developers/OnlineEducationPlatform---SMEAGonline
src/Topxia/Service/Article/CategoryService.php
852
<?php namespace Topxia\Service\Article; interface CategoryService { public function getCategory($id); public function getCategoryByCode($code); public function getCategoryTree(); public function getCategoryByParentId($parentId); public function findAllCategoriesByParentId($parentId); publ...
mit
ronggenliu/DesignPattern
src/me/ronggenliu/dp/creation/builder/Product.java
544
package me.ronggenliu.dp.creation.builder; /** * Created by garliu on 2017/5/29. */ public class Product { private String partA; private String partB; private String partC; public String getPartA() { return partA; } public void setPartA(String partA) { this.partA = partA; } public String g...
mit
marcoonroad/talents
spec/application_spec.lua
4903
require 'busted.runner' ( ) local talents = require 'talents' local reason = require 'talents.internals.reason' local example = require 'talents.example' (talents) describe ("talent application,", function ( ) it ("should decorate given object", function ( ) local object = talents.decorate ( ...
mit
ErikCupal/the-black-cat-website
public/doc/client/core/com.erikcupal.theblackcatclient.types/-c-r-e-a-t-e_-r-o-o-m/name.html
625
<HTML> <HEAD> <meta charset="UTF-8"> <title>CREATE_ROOM.name - core</title> <link rel="stylesheet" href="..\..\..\style.css"> </HEAD> <BODY> <a href="../../index.html">core</a>&nbsp;/&nbsp;<a href="../index.html">com.erikcupal.theblackcatclient.types</a>&nbsp;/&nbsp;<a href="index.html">CREATE_ROOM</a>&nbsp;/&nbsp;<a h...
mit
TeamYAGNI/BonanzaAlgorithmsCatalogue
tests/browser/utils/setup-driver.js
333
const webdriver = require('selenium-webdriver'); const setupDriver = (browser) => { const driver = new webdriver .Builder() .usingServer('http://localhost:9515/') .withCapabilities({ browserName: browser, }) .build(); return driver; }; module.exports = { se...
mit
doowb/lessbuilder
tasks/random.js
744
'use strict'; module.exports = function(grunt) { // Please see the Grunt documentation for more information regarding task // creation: http://gruntjs.com/creating-tasks function random(min, max) { min = min || 0; max = max || 1; var result; if(min === 0 && max === 1) { re...
mit
jimolina/bakeangular
README.md
2283
# Simple Back-end Application with CakePHP3 + AngularJS [![Build Status](https://img.shields.io/travis/cakephp/app/master.svg?style=flat-square)](https://travis-ci.org/cakephp/app) [![License](https://img.shields.io/packagist/l/cakephp/app.svg?style=flat-square)](https://packagist.org/packages/cakephp/app) A skeleton...
mit
samfun123/KtaneTwitchPlays
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Shims/BooleanKeypadShim.cs
679
using System.Collections; public class BooleanKeypadShim : ComponentSolverShim { public BooleanKeypadShim(TwitchModule module) : base(module, "BooleanKeypad") { ModInfo = ComponentSolverFactory.GetModuleInfo(GetModuleType(), "Use '!{0} press 2 4' to press buttons 2 and 4. | Buttons are indexed 1-4 in reading ord...
mit
Mitali-Sodhi/CodeLingo
Dataset/html/A._J._Schnack_521e.html
444
<!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/html; charset=UTF-8" /> <meta http-equiv="Refresh" content="0;url=../../../a/j/_/AJ_Schnack_3849....
mit
codealchemist/insight
app/facebook-me/facebook-me.js
55
'use strict'; angular .module('facebookMe', [ ]) ;
mit
AndrewBell/boredgames-mongo
src/main/java/com/recursivechaos/boredgames/domain/Game.java
888
package com.recursivechaos.boredgames.domain; import com.fasterxml.jackson.annotation.JsonIgnore; import org.springframework.data.annotation.Id; /** * Created by Andrew Bell 5/28/2015 * www.recursivechaos.com * andrew@recursivechaos.com * Licensed under MIT License 2015. See license.txt for details. */ public c...
mit
vladlopes/influxdb-migrate
from090/store.pb.go
2750
// Code generated by protoc-gen-go. // source: meta.proto // DO NOT EDIT! /* Package internal is a generated protocol buffer package. It is generated from these files: meta.proto It has these top-level messages: Series Tag MeasurementFields Field */ package from090 import proto "github.com/golang/protobuf/prot...
mit
iiet/iiet-git
app/models/internal_id.rb
6777
# frozen_string_literal: true # An InternalId is a strictly monotone sequence of integers # generated for a given scope and usage. # # The monotone sequence may be broken if an ID is explicitly provided # to `.track_greatest_and_save!` or `#track_greatest`. # # For example, issues use their project to scope internal i...
mit
topbitdu/unidom-certificate-china
lib/rspec/validators/unidom/certificate/china/identification_number_validator_spec.rb
484
RSpec.describe Unidom::Certificate::China::IdentificationNumberValidator, type: :validator do valid_values = %w{ 231024198506186916 231024198506188110 231024198506185470 231024198506182851 231024198506187193 } invalid_values = %w{ 231024198506186917 231024198506188111 ...
mit
Portgass/light-novel-reader
novels/konjiki-no-wordmaster/chapters/c49.html
18989
<h3 id="c49"><a href="#top">Chapter 49: Hiiro and the girl</a></h3> <p>“Hey! Were you serious, just now!? Tell me!” (?)</p> <p>Arnold was lifted up by the scruff of his neck by the person that walked into the room. He looked like he was suffocating.</p> <p>“Kuu-sama! What are you doing here!?” (Raiev)</p> <p>Raiev was ...
mit
johnyjamma93/lokisalle_mep
sources/Lokisalle_architecture_site.html
2869
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="treestyles.css" type="text/css"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><!--This file has been created with toxhtml.xsl--><head><meta http-equiv="Content-Typ...
mit
vzhzhzh/Vzhzhzh.SeleniumWrapper
Vzhzhzh.SeleniumWrapper.Examples/Proprietary/Pages/Operator/Shared/SubForm.cs
829
using OpenQA.Selenium; namespace Vzhzhzh.SeleniumWrapper.Examples.Proprietary.Pages.Operator.Shared { public abstract class SubForm : PageElement { protected SubForm(DriverHolder driver) : base(driver) { } public virtual IWebElement SaveButton { ...
mit
bobbrady/tpteam
tpbridge/src/edu/harvard/fas/rbrady/tpteam/tpbridge/hibernate/TestType.java
1142
package edu.harvard.fas.rbrady.tpteam.tpbridge.hibernate; // Generated Nov 10, 2006 5:22:58 PM by Hibernate Tools 3.2.0.beta8 import java.util.HashSet; import java.util.Set; /** * TestType generated by hbm2java */ public class TestType implements java.io.Serializable { // Fields private stati...
mit
diniremix/diniremix.github.io
README.md
417
# Diniremix's blog Using **Autm-rb** Another theme for jekyll. based on shiori and midnight ## Link [blog.jorgebrunal.co](http://blog.jorgebrunal.co/) - [Gitter comments](https://gitter.im/jorgebrunal-co/blog) - [Twitter](https://twitter.com/diniremix) - [Google+](https://plus.google.com/u/0/+PeterAndersonLee) #...
mit
AutorestCI/azure-sdk-for-python
azure-mgmt-servicebus/azure/mgmt/servicebus/models/destination.py
1856
# 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 ...
mit
KlishGroup/prose-pogs
pogs/S/SBNSQHX/FFIAC/index.md
1792
--- layout: page title: Fire Falls Industries Award Ceremony date: 2016-05-24 author: Emma Wagner tags: weekly links, java status: published summary: Suspendisse potenti. Donec mollis lacus sed maximus euismod. Morbi quis. banner: images/banner/meeting-01.jpg booking: startDate: 06/18/2017 endDate: 06/22/2017 cty...
mit