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
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...
rjwut/ian
src/test/java/com/walkertribe/ian/protocol/core/weap/SetBeamFreqPacketTest.java
Java
mit
906
<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...
xianjunzhengbackup/code
data science/machine_learning_for_the_web/chapter_4/movie/12223.html
HTML
mit
6,744
#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) ...
ybainier/Hypodermic
Hypodermic/ConsoleLoggerSink.h
C
mit
498
// 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...
appop/bitcoin
src/qt/test/uritests.cpp
C++
mit
2,968
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)\:)*...
S-mohan/mblog
src/utils/validate.js
JavaScript
mit
406
// *********************************************************************** // 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 // ***************************************************************...
SiqiLu/MoeThrow
MoeThrow/Properties/AssemblyInfo.cs
C#
mit
2,005
--- 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...
asnaedae/asnaedae.github.io
_posts/2014-07-28-has-microsoft-lost-its-way.md
Markdown
mit
1,017
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)){ ...
jackindisguise/node-mud
src/handle/command/Northeast.js
JavaScript
mit
465
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"); } }
Beta-nanos/SolidDomino
SolidDomino/src/soliddomino/game/exceptions/IncorrectMoveFormatException.java
Java
mit
289
#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; }
jeorgun/Vivaldi
src/expression.cpp
C++
mit
194
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...
bootstrap-vue/bootstrap-vue
src/components/pagination-nav/pagination-nav.spec.js
JavaScript
mit
22,231
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...
giggals/Software-University
Exercises-Defining Classes/03.OldesFamilyMember/Family.cs
C#
mit
603
# 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...
cuginoAle/cuginoAle.github.io
README.md
Markdown
mit
6,857
//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_...
chromatic-universe/cci-stream-mta
src/proc_ace_acceptor/proc_cci_mta_acceptor.cpp
C++
mit
2,580
require 'dimension/dimension' require 'dimension/d2' require 'dimension/d3'
ismailfaruqi/dimension
lib/dimension.rb
Ruby
mit
75
<!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...
user-tony/photon-rails
lib/assets/images/photon/plugins/elrte/css/css_compiled/js/js/bootstrap/js/plugins/jquery.tagsinput.min.js.html
HTML
mit
15,065
<?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...
Curtisdhi/HumblePickle
src/HyperionStudios/HumblePickleBundle/Entity/Donator.php
PHP
mit
1,963
<!-- 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 ...
jenkinsci/mber-plugin
src/main/resources/org/jenkinsci/plugins/mber/MberNotifier/help-buildName.html
HTML
mit
1,406
module.exports = (name, node) => ( name === "apply" && node.type === "CallExpression" && node.callee.type === "Identifier");
lachrist/aran
test/dead/apply/pointcut.js
JavaScript
mit
131
# 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 ...
Azure/azure-sdk-for-ruby
management/azure_mgmt_network/lib/2019-07-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb
Ruby
mit
6,873
<!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...
Tecnocreaciones/VzlaGovernmentTemplateDeveloperSeed
api/class-Symfony.Bundle.FrameworkBundle.Tests.Functional.WebTestCase.html
HTML
mit
160,747
<!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 ...
piterlin/piterlin.github.io
doc/jdk6_cn/java/awt/class-use/RenderingHints.Key.html
HTML
mit
16,557
package com.giantbomb.main; public class ListOfGamesGenerator { public static void main(final String[] args) { } }
brentnash/gbecho
src/main/java/com/giantbomb/main/ListOfGamesGenerator.java
Java
mit
137
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 ...
ardaozkal/BatterySync
Client/BatterySync/Form1.Designer.cs
C#
mit
3,643
/* * 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...
igvteam/igv.js
js/bam/bamReader.js
JavaScript
mit
5,347
<!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...
biancascura/hello-world
To-Do-List/Production version/index.html
HTML
mit
5,265
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) { ...
firepick1/firenodejs
www/js/shared/XYZ.js
JavaScript
mit
12,537
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:-...
css/csso
fixtures/compress/color/rgba-0.min.css
CSS
mit
399
<?php /** * Author: Wing Ming Chan * Copyright (c) 2014 Wing Ming Chan <chanw@upstate.edu> * MIT Licensed * Modification history: */ class EmptyNameException extends Exception{} ?>
alynch-ece-its/php-cascade-ws
exception_classes/EmptyNameException.class.php
PHP
mit
189
<?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...
Ingewikkeld/oauth-server-bundle
src/Ingewikkeld/Rest/OAuthServerBundle/Form/ClientType.php
PHP
mit
1,885
#-- 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 ...
mximos/openproject-heroku
db/migrate/20130409133713_migrate_planning_element_type_to_project_association.rb
Ruby
mit
3,124
<?php require __DIR__.'/../protected/vendor/autoload.php'; require __DIR__.'/../protected/start.php';
MightyPork/wrack
public/index.php
PHP
mit
104
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...
mark-rushakoff/influxdb
chronograf/server/config_test.go
GO
mit
5,316
/* * 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...
GluuFederation/oxAuth
Server/src/main/java/org/gluu/oxauth/util/RedirectUtil.java
Java
mit
2,806
<?php //--> include __DIR__ . '/src/events.php';
CradlePHP/sink-faucet
.cradle.php
PHP
mit
49
--- 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:...
SolidEdgeCommunity/docs
docfx_project/apidoc/SolidEdgeFrameworkSupport.Arcs2d.AddByCenterStartEnd.md
Markdown
mit
946
<?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> ...
shibukawa/qt5.jsx
doc/qtextblock.html
HTML
mit
2,796
<!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...
Smolations/more-dash-docsets
docsets/ATG 2007.1.docset/Contents/Resources/Documents/atg/epub/project/TargetDef.html
HTML
mit
61,122
/** * 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...
johanasplund/coffeefuck
node_modules/unit.js/test/lib/asserters/object.js
JavaScript
mit
17,594
**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...
Instamojo/Woo-Instamojo
README.md
Markdown
mit
5,651
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, ...
OpenSketch-Application/OpenSketch
server/db/models/Session.js
JavaScript
mit
740
--4. Write a SQL query to find all information about all departments (use "TelerikAcademy" database). SELECT * FROM [TelerikAcademy].[dbo].[Departments]
svetlai/TelerikAcademy
Software-Technologies/Databases/03-SQL-Intro/3. SQL Intro Solution/04-SelectAllDepartments.sql
SQL
mit
153
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...
neva-nevan/ConfigPy
ConfigPy-Portable/ConfigPy/cgi-bin/restore.py
Python
mit
516
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...
michaelx/Launchbot
src/js/plugins/age.js
JavaScript
mit
950
package filediff.myers; public class DifferentiationFailedException extends DiffException { private static final long serialVersionUID = 1L; public DifferentiationFailedException() { } public DifferentiationFailedException(String msg) { super(msg); } }
nendhruv/data-dictionary
src/java/filediff/myers/DifferentiationFailedException.java
Java
mit
294
Meteor.startup(function () { }); Deps.autorun(function(){ Meteor.subscribe('userData'); });
nikhilpi/klick
client/startup/default.js
JavaScript
mit
94
<?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...
mgroizard/Tracker
src/Aleste/TrackerBundle/Command/AvisosCommand.php
PHP
mit
1,400
package serial //go:generate go run v2ray.com/core/common/errors/errorgen
v2ray/v2ray-core
infra/conf/serial/serial.go
GO
mit
75
<?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...
vespolina/syncer
tests/Vespolina/Tests/Sync/Functional/Entity/LocalProductCategory.php
PHP
mit
369
# 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...
lumodon/electron-clicker
README.md
Markdown
mit
1,309
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
zachpendleton/ftp-ext
test/helper.rb
Ruby
mit
218
# 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...
atlancer/watir_crawler
README.md
Markdown
mit
487
""" @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...
sdpython/python3_module_template
_unittests/ut_module/test_convert_notebooks.py
Python
mit
1,224
/* * 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...
zasadnyy/android-hothack-13
example/source/src/main/java/ua/org/gdg/devfest/iosched/receiver/SessionAlarmReceiver.java
Java
mit
1,444
#!/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...
runefriborg/pycsp
test/runtests.sh
Shell
mit
360
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...
MrPIvanov/SoftUni
05-Csharp OOP Basics/06-EXERCISE WORKING WITH ABSTRACTION/06-AbstractionExercises/02-CarsSalesman/Engine.cs
C#
mit
1,294
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 ...
F0lha/UJunior-Projects
DailyProgrammer/Challenge#318/src.py
Python
mit
2,546
// 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', ...
mwyatt/dialogue
js/getMotionEventName.js
JavaScript
mit
710
<!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...
HerrB92/obp
OpenBeaconPackage/libraries/hibernate-release-4.2.7.SP1/documentation/javadocs/org/hibernate/service/internal/class-use/SessionFactoryServiceRegistryFactoryInitiator.html
HTML
mit
8,707
#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...
Shopify/liquid-c
ext/liquid_c/block.h
C
mit
743
# 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...
schnef/opentherm-gw
hardware/README.md
Markdown
mit
361
<?php return [ /* |-------------------------------------------------------------------------- | Application Environment |-------------------------------------------------------------------------- | | This value determines the "environment" your application is currently | running in. This m...
milanbrckalo/cvator
config/app.php
PHP
mit
8,504
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...
robfig/soy
soymsg/placeholder.go
GO
mit
5,537
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...
jimconner/paas-cf
manifests/cf-manifest/spec/cloud-config/vm_types_spec.rb
Ruby
mit
376
// 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 ...
Azure/azure-webjobs-sdk-script
src/WebJobs.Script.WebHost/Middleware/HstsConfigurationMiddleware.cs
C#
mit
1,538
// 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...
fboes/blogophon
gulpfile.js
JavaScript
mit
2,874
<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...
EllipticalElements/ui-checkbox
ui-checkbox.html
HTML
mit
933
# 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...
bgon/BlocklyCraft
src/main/js/www/README.md
Markdown
mit
1,385
// 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...
N2ODev/Nitrous
src/rpcblockchain.cpp
C++
mit
10,201
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 ...
vort3x/watery
helper/emoji.go
GO
mit
747
/* ============================================================================== 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...
jacobsologub/FFKit
FFKit/gui/controllers/UIViewController+FFKit.h
C
mit
2,936
<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 ...
janhuenermann/neurojs
README.md
Markdown
mit
1,479
// // 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...
hankly/frizione
Frizione/modules/jala/code/AsyncRequest.js
JavaScript
mit
5,028
/** * * 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...
my1matrix/my1termw
src/wxform.cpp
C++
mit
2,350
<?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...
win-k/CMSTV
evo/assets/snippets/ditto/formats/xml.format.inc.php
PHP
mit
3,036
<?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 * *...
AnsiPress/AnsiPress
roles/website/templates/wordpress/wp-config.php
PHP
mit
2,421
<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>
klbrisson/PersonalPage
modules/core/client/views/tech.client.view.html
HTML
mit
262
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, }, };
deadcee/horizon
cli/.eslintrc.js
JavaScript
mit
216
@(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....
dvla/vehicles-acquire-online
app/views/acquire/business_choose_your_address.scala.html
HTML
mit
3,868
<?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...
smeagonline-developers/OnlineEducationPlatform---SMEAGonline
src/Topxia/Service/Article/CategoryService.php
PHP
mit
852
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...
ronggenliu/DesignPattern
src/me/ronggenliu/dp/creation/builder/Product.java
Java
mit
544
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 ( ...
marcoonroad/talents
spec/application_spec.lua
Lua
mit
4,903
<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...
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
HTML
mit
625
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...
TeamYAGNI/BonanzaAlgorithmsCatalogue
tests/browser/utils/setup-driver.js
JavaScript
mit
333
'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...
doowb/lessbuilder
tasks/random.js
JavaScript
mit
744
# 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...
jimolina/bakeangular
README.md
Markdown
mit
2,283
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...
samfun123/KtaneTwitchPlays
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Shims/BooleanKeypadShim.cs
C#
mit
679
<!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....
Mitali-Sodhi/CodeLingo
Dataset/html/A._J._Schnack_521e.html
HTML
mit
444
'use strict'; angular .module('facebookMe', [ ]) ;
codealchemist/insight
app/facebook-me/facebook-me.js
JavaScript
mit
55
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...
AndrewBell/boredgames-mongo
src/main/java/com/recursivechaos/boredgames/domain/Game.java
Java
mit
888
// 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...
vladlopes/influxdb-migrate
from090/store.pb.go
GO
mit
2,750
# 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...
iiet/iiet-git
app/models/internal_id.rb
Ruby
mit
6,777
RSpec.describe Unidom::Certificate::China::IdentificationNumberValidator, type: :validator do valid_values = %w{ 231024198506186916 231024198506188110 231024198506185470 231024198506182851 231024198506187193 } invalid_values = %w{ 231024198506186917 231024198506188111 ...
topbitdu/unidom-certificate-china
lib/rspec/validators/unidom/certificate/china/identification_number_validator_spec.rb
Ruby
mit
484
<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 ...
Portgass/light-novel-reader
novels/konjiki-no-wordmaster/chapters/c49.html
HTML
mit
18,989
<?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...
johnyjamma93/lokisalle_mep
sources/Lokisalle_architecture_site.html
HTML
mit
2,869
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 { ...
vzhzhzh/Vzhzhzh.SeleniumWrapper
Vzhzhzh.SeleniumWrapper.Examples/Proprietary/Pages/Operator/Shared/SubForm.cs
C#
mit
829
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...
bobbrady/tpteam
tpbridge/src/edu/harvard/fas/rbrady/tpteam/tpbridge/hibernate/TestType.java
Java
mit
1,142
# 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) #...
diniremix/diniremix.github.io
README.md
Markdown
mit
417
# 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-mgmt-servicebus/azure/mgmt/servicebus/models/destination.py
Python
mit
1,856
--- 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...
KlishGroup/prose-pogs
pogs/S/SBNSQHX/FFIAC/index.md
Markdown
mit
1,792