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 |
|---|---|---|---|---|---|
<p>
Disponemos de una amplia gama de piensos fisiológicos y de prescripción veterinaria; nuestras auxiliares nutricionistas le asesorarán sobre cualquier aspecto relacionado con la alimentación de su mascota.
</p>
<p>
Contamos con sección especializada en alimentación de animales exóticos.
</p>
<p>
Asimismo, podrá e... | thingtrack/menes.mobile | www/partials/services-shop.html | HTML | mit | 467 |
class CreateVersions < ActiveRecord::Migration
def change
create_table :versions do |t|
t.string :item_type, :null => false
t.integer :item_id, :null => false
t.string :event, :null => false
t.string :whodunnit
t.text :object
t.string :locale
t.datetime... | kostyakch/rhinoart_cms | db/migrate/20141229155334_create_versions.rb | Ruby | mit | 399 |
<!DOCTYPE html>
<html>
<head>
<title>Piframe</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="robots" content="noindex"/>
<meta name="viewport" content="width=device-width"/>
<script type="text/javascript" src="lib/jquery/jquery-1.12.0.min.js"></script>
<link rel="stylesh... | alex-estela/piframe | src/main/resources/static/index.html | HTML | mit | 913 |
using System;
using System.Drawing;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Forms;
using System.Windows.Input;
using MahApps.Metro.Controls;
using NHotkey;
using NHotkey.Wpf;
using QuickHelper.ViewModels;
using QuickHelper.Windows;
using Application = System.Windows.Application;
using... | aburok/quick-helper | QuickHelper/MainWindow.xaml.cs | C# | mit | 3,762 |
package com.comandante.creeper.command.commands;
import com.comandante.creeper.common.FriendlyTime;
import org.junit.Test;
public class FriendlyTimeTest {
@Test
public void testFriendlyParsing() throws Exception {
FriendlyTime friendlyTime = new FriendlyTime(400);
System.out.println("Frien... | chriskearney/creeper | src/test/com/comandante/creeper/command/commands/FriendlyTimeTest.java | Java | mit | 472 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Tr... | luetm/TrackR | TrackR.Client/Properties/AssemblyInfo.cs | C# | mit | 1,388 |
# React Drop-down Time Picker
Time picker for ReactJS based on the [Cozi Calendar](https://www.cozi.com/calendar) time picker. [See the demo](https://dpalma.github.io/react-dropdown-timepicker/).
[](https://travis-ci.org/dpalma/re... | dpalma/react-dropdown-timepicker | README.md | Markdown | mit | 605 |
package fs.command;
import fs.App;
import fs.Disk;
import fs.util.FileUtils;
import java.util.Arrays;
/**
*
* @author José Andrés García Sáenz <[email protected]>
*/
public class CreateFileCommand extends Command {
public final static String COMMAND = "mkfile";
@Override
public void execute(Str... | leomv09/FileSystem | src/fs/command/CreateFileCommand.java | Java | mit | 1,247 |
import { A, O } from 'b-o-a';
import { State } from '../types/state';
import currentPage$ from '../props/current-page';
import signIn$ from '../props/sign-in';
import spots$ from '../props/spots';
import spotForm$ from '../props/spot-form';
import stampRallies$ from '../props/stamp-rallies';
import stampRally$ from '... | bouzuya/rally-rxjs | src/props/index.ts | TypeScript | mit | 1,793 |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Copyright (c) 2013-2013 Bluecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.o... | dallen6/bluecoin | src/netbase.cpp | C++ | mit | 32,522 |
/*
组件列表 外在肌肤,水嫩丝滑
生成时间:Sat Dec 17 2016 破门狂人R2-D2为您服务!
*/
.list{
}
.lib-list-item{
display: block;
color: #393939;
border: 1px solid #ddd;
border-radius: 5px;
text-align: center;
line-height: 2.2;
}
.lib-list-item:hover{
box-shadow:0px 2px 10px #c9c9c9;
color: #f6eaa2;
text-sha... | FaceRollTheKeyboard/Excalibur | package/list/list.css | CSS | mit | 562 |
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]-->
<head>
<!-- Basic... | MooseFrankenstein/Bootstarlight | bower_components/font-awesome/src/3.2.1/icon/laptop/index.html | HTML | mit | 10,109 |
'use strict';
/*
* * angular-socialshare v0.0.2
* * ♡ CopyHeart 2014 by Dayanand Prabhu http://djds4rce.github.io
* * Copying is an act of love. Please copy.
* */
angular.module('djds4rce.angular-socialshare', [])
.factory('$FB', ['$window', function($window) {
return {
init: function(fbId) {
... | khiettran/gofar | public/scripts/libs/bower/angular-socialshare.js | JavaScript | mit | 14,491 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;
using System.Globalization;
namespace DevTreks.Extensions
{
/// <summary>
///Purpose: Serialize and deserialize a food nutrition cost object.
/// This calculator is u... | kpboyle1/devtreks | src/DevTreks.Extensions/MN1/Statistics/MNC1Calculator.cs | C# | mit | 8,301 |
angular.module('myApp.toDoController', []).
controller('ToDoCtrl', ['$scope', '$state', '$http', '$route', function ($scope, $state, $http, $route) {
$scope.$state = $state;
$scope.addToDo = function() {
// Just in case...
if ($scope.toDoList.length > 50) {
alert("Exceeded to-do limit!!!");
retu... | The-Lando-System/personal-website | app/to-do/toDoController.js | JavaScript | mit | 2,424 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.data.cosmos.internal.query;
import com.azure.data.cosmos.BadRequestException;
import com.azure.data.cosmos.BridgeInternal;
import com.azure.data.cosmos.CommonsBridgeInternal;
import com.azure.data.cosmos.i... | navalev/azure-sdk-for-java | sdk/cosmos/microsoft-azure-cosmos/src/main/java/com/azure/data/cosmos/internal/query/DocumentQueryExecutionContextFactory.java | Java | mit | 11,381 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet... | coq-bench/coq-bench.github.io-old | clean/Linux-x86_64-4.02.1-1.2.0/unstable/8.4.dev/contrib:aac-tactics/dev/2014-12-13_08-31-47.html | HTML | mit | 6,956 |
import sys
MAX_NUM_STORED_LINES = 200
MAX_NUM_LINES = 10
LINEWIDTH = 80
class CmdText(object):
"""
Represents a command line text device. Text is split into lines
corresponding to the linewidth of the device.
"""
def __init__(self):
"""
Construct empty object.
"""
s... | t-mertz/slurmCompanion | django-web/webcmd/cmdtext.py | Python | mit | 4,609 |
<?php
require_once (__DIR__ . '/../lib/bootstrap.php');
require_once (__DIR__ . '/lib/TestListener.php');
use PHPUnit\Framework\TestCase;
use Selenide\By, Selenide\Condition, Selenide\Selenide;
class ListenerTest extends TestCase
{
/**
* @var Selenide
*/
protected static $wd = null;
protected ... | razielsd/phpSelenide | tests/ListenerTest.php | PHP | mit | 6,663 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FlatRedBall;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
namespace Anfloga.Rendering
{
public class BloomRenderer : IEffectsRenderer
{
public int Height { get; set; }
public i... | vchelaru/Anfloga | Anfloga/Anfloga/Rendering/BloomRenderer.cs | C# | mit | 3,162 |
#[macro_export]
macro_rules! punctuator {
($lexer: ident, $p: ident) => ({
$lexer.iter.next();
Ok(Token::Punctuator(Punctuator::$p, $lexer.lo, $lexer.lo + 1))
})
}
// Advance iter and hi position if pattern match
#[macro_export]
macro_rules! take {
($lexer: ident, $($p: pat)|*) => (
match $le... | cksac/graphql-rs | graphql-language/src/lexer/macros.rs | Rust | mit | 1,813 |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2015 Francois Beaune, The appleseedhq Organization
//
... | Vertexwahn/appleseed | src/appleseed/foundation/utility/test/loggertestlistener.h | C | mit | 2,026 |
/*
* Copyright (c) 2010, ETH Zurich.
* All rights reserved.
*
* INTERFACE NAME: mem
* INTEFACE FILE: ../if/mem.if
* INTERFACE DESCRIPTION: Memory allocation RPC interface
*
* This file is distributed under the terms in the attached LICENSE
* file. If you do not find this file, copies can be found by
* writi... | daleooo/barrelfish | build/x86_64/lib/barrelfish/_for_lib_barrelfish/mem_flounder_bindings.c | C | mit | 156,625 |
/* from optimizations/bfs/topology-atomic.cu */
#define BFS_VARIANT "topology-atomic"
#define WORKPERTHREAD 1
#define VERTICALWORKPERTHREAD 12 // max value, see relax.
#define BLKSIZE 1024
#define BANKSIZE BLKSIZE
__global__
void initialize(foru *dist, unsigned int *nv) {
unsigned int ii = blockIdx.x * blockDim.x +... | Geof23/SESABench_II | LoneStar/apps/bfs/BFS_ATOMIC/bfs_topo_atomic.h | C | mit | 5,764 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `benchmark` fn in crate `test`.">
<meta name="keywords" con... | ArcherSys/ArcherSys | Rust/share/doc/rust/html/test/bench/fn.benchmark.html | HTML | mit | 3,967 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60) on Fri Dec 11 10:08:00 MST 2015 -->
<title>ca.ualberta.cs.xpertsapp.UITests.FriendTests</title>
<meta name="date" content="2015-12-11">
<li... | CMPUT301F15T02/Xperts | docs/JavaDoc/ca/ualberta/cs/xpertsapp/UITests/FriendTests/package-summary.html | HTML | mit | 5,527 |
#include <stdio.h>
#include <stdint.h>
#include <ibcrypt/chacha.h>
#include <ibcrypt/rand.h>
#include <ibcrypt/sha256.h>
#include <ibcrypt/zfree.h>
#include <libibur/util.h>
#include <libibur/endian.h>
#include "datafile.h"
#include "../util/log.h"
int write_datafile(char *path, void *arg, void *data, struct forma... | iburinoc/ibchat | client/datafile.c | C | mit | 5,238 |
# Acknowledgements
This application makes use of the following third party libraries:
## GreenAR
Copyright (c) 2017 Daniel Grenier <[email protected]>
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 So... | Seanalair/GreenAR | Example/Pods/Target Support Files/Pods-GreenAR_Example/Pods-GreenAR_Example-acknowledgements.markdown | Markdown | mit | 1,227 |
import CommuniqueApp from './communique-app';
CommuniqueApp.open();
| kramerc/communique | lib/browser/main.js | JavaScript | mit | 68 |
using System.Collections.Generic;
using System.IO;
using Reinforced.Typings.Fluent;
using Xunit;
namespace Reinforced.Typings.Tests.SpecificCases
{
public partial class SpecificTestCases
{
[Fact]
public void ReferencesPart6ByDanielWest()
{
/**
* Specific test ca... | reinforced/Reinforced.Typings | Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ReferencesPart6ByDanielWest.cs | C# | mit | 1,466 |
package com.avsystem.scex.util.function;
import org.apache.commons.codec.digest.HmacAlgorithms;
import org.apache.commons.codec.digest.HmacUtils;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.commons.lang3.StringUtils;
import java.util.Collection;
public class StringUtilImpl implements StringU... | AVSystem/scex | scex-util/src/main/scala/com/avsystem/scex/util/function/StringUtilImpl.java | Java | mit | 5,283 |
require 'minitest_helper'
require 'mocha/setup'
module Sidekiq
module Statistic
describe 'Middleware' do
def to_number(i)
i.match('\.').nil? ? Integer(i) : Float(i) rescue i.to_s
end
before { Sidekiq.redis(&:flushdb) }
let(:date){ Time.now.utc.to_date }
let(:actual) do
... | business-of-fashion/sidekiq-statistic | test/test_sidekiq/middleware_test.rb | Ruby | mit | 4,165 |
PHP with classes and PhpUnit | i-e-b/Skeletons | Php_Phpunit/README.md | Markdown | mit | 28 |
#include <QtGlobal>
// Automatically generated by extract_strings.py
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
static const char UNUSED *bitcoin_strings[] = {
QT_TRANSLATE_NOOP("bitcoin-core", ""
"%s, you must set a rpcpassword in the configuration file:\n"
"%s\n"
"It is recomme... | bryceweiner/amkoin | src/qt/bitcoinstrings.cpp | C++ | mit | 13,902 |
<!doctype html>
<!--[if IE 9 ]><html class="ie9" lang="en"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html lang="en"><!--<![endif]-->
<head>
<title>Flatastic - Checkout</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!... | TroyerPro/proyectoFinal | project/flatastic_html/Main_v2.3/html/checkout.html | HTML | mit | 76,232 |
package work.notech.poker.room;
import work.notech.poker.logic.Cards;
import java.util.List;
public class GameRoom {
private Integer roomIds;
private List<Integer> clientIds;
private Cards cards;
public Integer getRoomIds() {
return roomIds;
}
public void setRoomIds(Integer roomIds)... | wangzhaoming/Poker | code/poker-server/src/main/java/work/notech/poker/room/GameRoom.java | Java | mit | 671 |
---
title: 22 Points to Go
author: rami
layout: lifestream
categories: [Lifestream]
tags: [jeddah, saudi-arabia, juve, path]
image: 22-points-to-go.jpg
---
10 games & 22 points to go. With games against the 20th place ,19,15,14,13,11. #Juve CC:@juventiknows.
{% include image.html url="/assets/images/content/lifest... | rtaibah/jekyll-blog | _posts/lifestream/2013-03-11-22-points-to-go.md | Markdown | mit | 380 |
// Take well-formed json from a sensu check result a context rich html document to be mail to
// one or more addresses.
//
// LICENSE:
// Copyright 2016 Yieldbot. <[email protected]>
// Released under the MIT License; see LICENSE
// for details.
package main
import (
"bytes"
"fmt"
"github.com/codegangsta/c... | yieldbot/sensumailer | cmd/handler-mailer/main.go | GO | mit | 2,623 |
module.exports = [
'babel-polyfill',
'react',
'react-redux',
'react-router',
'react-dom',
'redux',
'redux-thunk',
'seamless-immutable',
'react-router-redux',
'history',
'lodash',
'styled-components',
'prop-types',
];
| CheerfulYeti/React-Redux-Starter-Kit | webpack.vendor.js | JavaScript | mit | 243 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpKernel\DataCollector;
use Symfony\Component\HttpF... | ondrejmirtes/symfony | src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php | PHP | mit | 8,681 |
package com.sunilson.pro4.activities;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.CompoundButton;
i... | sunilson/My-Ticker-Android | Android App/app/src/main/java/com/sunilson/pro4/activities/AddLivetickerActivity.java | Java | mit | 11,353 |
{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
<title>
{% block title %}Default Title{% endblock %}
</title>
{% block stylesheets %}
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet"... | azul-cloud/start | main/templates/maininclude/base.html | HTML | mit | 1,368 |
import nextConnect from 'next-connect'
import auth from '../../middleware/auth'
import { deleteUser, updateUserByUsername } from '../../lib/db'
const handler = nextConnect()
handler
.use(auth)
.get((req, res) => {
// You do not generally want to return the whole user object
// because it may contain sensi... | flybayer/next.js | examples/with-passport-and-next-connect/pages/api/user.js | JavaScript | mit | 1,087 |
<?php
namespace Plumber\Tests\Deployer;
use Plumber\Server\Server;
class NoRsyncDeployerTest extends \PHPUnit_Framework_TestCase
{
public function testRsyncDeployWithNotExistingRsyncExcludeFile()
{
$server = new Server( 'localhost', 'julien', '/var/www/', 22 );
$deployer = new \Plumber\Deployer\NoRsyncDeploye... | fiunchinho/Plumber | tests/Plumber/Deployer/NoRsyncDeployerTest.php | PHP | mit | 618 |
!function(a){var b,c,d;return a.localStorage||(c={setItem:function(a,b,c){var d,e;return null==c&&(c=!1),d=c?-1:30,e=new Date,e.setDate(e.getDate()+d),document.cookie=""+a+"="+escape(b)+"; expires="+e.toUTCString()},getItem:function(a){return document.cookie.indexOf(-1!==""+a+"=")?unescape(document.cookie.split(""+a+"=... | calebrash/wafer | dist/wafer.min.js | JavaScript | mit | 862 |
import { injectReducer } from 'STORE/reducers'
export default store => ({
path : 'checkHistoryList.html',
getComponent(nextState, cb) {
require.ensure([], (require) => {
const CheckHistoryList = require('VIEW/CheckHistoryList').default
const reducer = require('REDUCER/checkHistoryList').default
... | OwlAford/IFP | src/routes/main/checkHistoryList.js | JavaScript | mit | 449 |
<?php
declare(strict_types=1);
namespace ShlinkMigrations;
use Doctrine\DBAL\Exception;
use Doctrine\DBAL\Platforms\MySQLPlatform;
use Doctrine\DBAL\Platforms\SqlitePlatform;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\DBAL\Schema\SchemaException;
use Doctrine\Migrations\AbstractMigration;
use function is_subclas... | shlinkio/shlink | data/migrations/Version20160819142757.php | PHP | mit | 1,364 |
my personal site
| cursorzz/cursorzz.github.io | README.md | Markdown | mit | 17 |
<?php
namespace RectorPrefix20210615;
if (\class_exists('Tx_Extbase_Property_TypeConverter_AbstractFileFolderConverter')) {
return;
}
class Tx_Extbase_Property_TypeConverter_AbstractFileFolderConverter
{
}
\class_alias('Tx_Extbase_Property_TypeConverter_AbstractFileFolderConverter', 'Tx_Extbase_Property_TypeConve... | RectorPHP/Rector | vendor/ssch/typo3-rector/stubs/Tx_Extbase_Property_TypeConverter_AbstractFileFolderConverter.php | PHP | mit | 364 |
;(function() {
angular.module('app.core')
.config(config);
/* @ngInject */
function config($stateProvider, $locationProvider, $urlRouterProvider) {
$stateProvider
/**
* @name landing
* @type {route}
* @description First page for incoming users, and for default routing
... | radiant-persimmons/mockr | src/client/app/core/config/routes.config.js | JavaScript | mit | 3,748 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
namespace CommonTypes
{
/// <summary>
/// BrokerSite hides the replication in a site making the calls transparent.
/// </summary>
[Serializable]
public class BrokerSiteFrontEnd : IBroker
{
... | pasadinhas/dad-project | SESDAD/CommonTypes/BrokerSiteFrontEnd.cs | C# | mit | 4,968 |
import Route from '@ember/routing/route';
import { A } from '@ember/array';
import { hash } from 'rsvp';
import EmberObject from '@ember/object'
export default Route.extend({
model: function() {
return hash({
exampleModel: EmberObject.create(),
disableSubmit: false,
selectedLanguage: null,
... | Emerson/ember-form-master-2000 | tests/dummy/app/routes/application.js | JavaScript | mit | 2,343 |
import lowerCaseFirst from 'lower-case-first';
import {handles} from 'marty';
import Override from 'override-decorator';
function addHandlers(ResourceStore) {
const {constantMappings} = this;
return class ResourceStoreWithHandlers extends ResourceStore {
@Override
@handles(constantMappings.getMany.done)
... | taion/flux-resource-marty | src/store.js | JavaScript | mit | 3,040 |
<?php
namespace proyecto\backendBundle\Entity;
/**
* Entidad Respuesta
* @author Javier Burguillo Sánchez
*/
class Respuesta
{
/**
* @var integer
*/
private $id;
/**
* @var string
*/
private $respuesta;
/**
* @var \proyecto\backendBundle\Entity\Subpregunta
*/
... | jburgui/proyecto2.0 | src/proyecto/backendBundle/Entity/Respuesta.php | PHP | mit | 2,024 |
$('.js-toggle-menu').click(function(e){
e.preventDefault();
$(this).siblings().toggle();
});
$('.nav--primary li').click(function(){
$(this).find('ul').toggleClass('active');
});
| sudojesse/sdb | js/main.js | JavaScript | mit | 182 |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | SpongePowered/SpongeCommon | src/main/java/org/spongepowered/common/mixin/core/network/NetworkManagerMixin.java | Java | mit | 3,754 |
function solve(message) {
let tagValidator = /^<message((?:\s+[a-z]+="[A-Za-z0-9 .]+"\s*?)*)>((?:.|\n)+?)<\/message>$/;
let tokens = tagValidator.exec(message);
if (!tokens) {
console.log("Invalid message format");
return;
}
let [match, attributes, body] = tokens;
let attribute... | kalinmarkov/SoftUni | JS Core/JS Fundamentals/Exams/03. XML Messenger.js | JavaScript | mit | 1,486 |
"""
Tests for a door card.
"""
import pytest
from onirim import card
from onirim import component
from onirim import core
from onirim import agent
class DoorActor(agent.Actor):
"""
"""
def __init__(self, do_open):
self._do_open = do_open
def open_door(self, content, door_card):
retu... | cwahbong/onirim-py | tests/test_door.py | Python | mit | 2,159 |
/*
**==============================================================================
**
** Copyright (c) 2003, 2004, 2005, 2006, Michael Brasher, Karl Schopmeyer
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and associated documentation files (the "Software"),
** ... | LegalizeAdulthood/cimple | src/server/OS_close.cpp | C++ | mit | 1,444 |
'use strict';
const test = require('ava');
const hashSet = require('../index');
const MySet = hashSet(x => x);
test('should not change empty set', t => {
const set = new MySet();
set.clear();
t.is(set.size, 0);
});
test('should clear set', t => {
const set = new MySet();
set.add(1);
set.c... | blond/hash-set | test/clear.js | JavaScript | mit | 356 |
Unframed XHR
===
Extends the `Unframed` prototype with five methods.
One to send any XHR request to a url that is not yet busy for this application, eventually set a tieout and a callback or emit an application event on response.
~~~
xhrSend(method, url, headers, body, timeout, callback)
~~~
And four conveniences fo... | laurentszyster/unframed.js | doc/unframed_xhr.md | Markdown | mit | 1,566 |
# 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_08_01
module Models
#
# Response for ListBastionHosts API service call.
#
class BastionHostListResult
... | Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-08-01/generated/azure_mgmt_network/models/bastion_host_list_result.rb | Ruby | mit | 2,770 |
### This script fetches level-1 PACS imaging data, using a list generated by the
### archive (in the CSV format), attaches sky coordinates and masks to them
### (by calling the convertL1ToScanam task) and save them to disk in the correct
### format for later use by Scanamorphos.
### See important instructions below.
... | alvaroribas/modeling_TDs | Herschel_mapmaking/scanamorphos/PACS/general_script_L1_PACS.py | Python | mit | 2,499 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sim908Connect.Lib.Constants
{
internal class CommandFormats
{
internal const string AT_CGSNBASE = "AT+CGSN";
internal const string ATE = "ATE";
internal const s... | thehoneymad/Sim908Connect | Sim908Connect/Lib/Constants/CommandFormats.cs | C# | mit | 358 |
/**
@file std_streambuf.h
@brief suppresses warnings in streambuf.
@author HRYKY
@version $Id: std_streambuf.h 337 2014-03-23 14:12:33Z [email protected] $
*/
#ifndef STD_STREAMBUF_H_20140323003904693
#define STD_STREAMBUF_H_20140323003904693
#include "hryky/pragma.h"
#pragma hryky_pragma_push_... | hiroyuki-seki/hryky-codebase | lib/core/include/hryky/std/std_streambuf.h | C | mit | 1,445 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>SendMessage</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location... | stevedoe/nxt-client | html/doc/nxt/http/SendMessage.html | HTML | mit | 5,534 |
'use strict';
const path = require('path');
const jwt = require('jsonwebtoken');
const AuthConfig = require(path.resolve('./config')).Auth;
const jwtSecret = AuthConfig.jwt.secret;
const tokenExpirePeriod = AuthConfig.jwt.tokenExpirePeriod;
function generateToken(payLoad) {
const isObject = (typeof payLoad === ... | shivarajnaidu/uv-token-based-auth-with-nodejs-passportjs-mysql | app/lib/token.js | JavaScript | mit | 1,542 |
html {
background-color: white;
}
ul{
display: inline-block;
}
.listone{
margin-left: 75px;
}
.listtwo{
margin-left: 50px;
}
li{
margin-bottom: 10px;
}
p{
font-size: 10px;
margin:0px;
}
h1 p{
text-align: center;
font-weight: bold;
}
h1{
border-bottom: 1px solid black;
padding-bottom: 10px;
}... | amblount/phase-0 | week-3/stylesheets/my-berkshire-stylesheet.css | CSS | mit | 995 |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: android/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ASN1Enumerated.java
//
#ifndef _OrgApacheHarmonySecurityAsn1ASN1Enumerated_H_
#define _OrgApacheHarmonySecurityAsn1ASN1Enumerated_H_
#include "J2ObjC_header.h"
#include "org/apache/... | benf1977/j2objc-serialization-example | j2objc/include/org/apache/harmony/security/asn1/ASN1Enumerated.h | C | mit | 2,401 |
<!-- START REVOLUTION SLIDER 5.0 -->
<div id="slider_container" class="rev_slider_wrapper">
<div id="rev-slider" class="rev_slider" data-version="5.0">
<ul>
<li data-transition="slideremovedown">
<!-- MAIN IMAGE -->
<img src="<?php echo $this->common->theme_link(... | dodeagung/KLGH | public_html/application/views/frontpage/home_view.php | PHP | mit | 24,501 |
<?php
namespace AppBundle\Form;
use AppBundle\AppBundle;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class ProductType extends AbstractType
{
/**
* {@inherit... | Bunkermaster/exosymfony | src/AppBundle/Form/ProductType.php | PHP | mit | 885 |
---
layout: post
date: 2016-10-16
title: "Sherri Hill Prom Dresses Style 32176 Sleeveless Sweep/Brush Train Aline/Princess"
category: Sherri Hill
tags: [Sherri Hill ,Sherri Hill,Aline/Princess ,Strapless,Sweep/Brush Train,Sleeveless]
---
### Sherri Hill Prom Dresses Style 32176
Just **$399.99**
### Sleeveless Sweep/... | nicedaymore/nicedaymore.github.io | _posts/2016-10-16-Sherri-Hill-Prom-Dresses-Style-32176-Sleeveless-SweepBrush-Train-AlinePrincess.md | Markdown | mit | 1,321 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from conans.model import Generator
from conans.client.generators import VisualStudioGenerator
from xml.dom import minidom
from conans.util.files import load
class VisualStudioMultiGenerator(Generator):
template = """<?xml version="1.0" encoding="utf-8"?>
<P... | lasote/conan | conans/client/generators/visualstudio_multi.py | Python | mit | 2,436 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class M_slider extends Main_model {
function __construct() {
parent::__construct();
$this->table = array(
'name' => 'tbl_slider',
'coloumn' => array(
'slider_id' => ar... | dwivivagoal/KuizMilioner | application/modules/webadmin/models/M_slider.php | PHP | mit | 2,465 |
# Digits
- [Data source](https://archive.ics.uci.edu/ml/datasets/Optical+Recognition+of+Handwritten+Digits)
- Train dataset: Samples: 3823 Attributes: 65
- Test dataset: Samples: 1,797 Attributes: 65
- Dont use first column
- Target column: last column (class 0-9)
- Additional preprocessing needed: feature scal... | pplonski/datasets-for-start | digits/README.md | Markdown | mit | 324 |
package org.katlas.JavaKh.rows;
import org.katlas.JavaKh.utils.RedBlackIntegerTree;
public class RedBlackIntegerMap<F> extends RedBlackIntegerTree<F> implements MatrixRow<F> {
/**
*
*/
private static final long serialVersionUID = 5885667469881867107L;
public void compact() {
}
public voi... | craigfreilly/masters-project-submission | src/KnotTheory/JavaKh-v2/src/org/katlas/JavaKh/rows/RedBlackIntegerMap.java | Java | mit | 518 |
---
title: DataCite Member Mailing List Subscription
layout: service
---
# Thank you for subscribing to the DataCite Member Mailing List
This confirms that you have succesfully subscribed to the DataCite Member Mailing List. Please contact [email protected] should you have any queries. For further information about o... | datacite/homepage | source/subscription.html.md | Markdown | mit | 375 |
/**
* 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.
*/
package com.microsoft.azure.management.mediaservices.v2018_07_01;
import com.fasterxml.... | selvasingh/azure-sdk-for-java | sdk/mediaservices/mgmt-v2018_07_01/src/main/java/com/microsoft/azure/management/mediaservices/v2018_07_01/ListEdgePoliciesInput.java | Java | mit | 1,044 |
/**
* 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.
* jkl
*/
package com.microsoft.azure.management.apimanagement.v2019_12_01.implementation;
... | selvasingh/azure-sdk-for-java | sdk/apimanagement/mgmt-v2019_12_01/src/main/java/com/microsoft/azure/management/apimanagement/v2019_12_01/implementation/LoggersImpl.java | Java | mit | 3,159 |
<?php
/**
* Created by PhpStorm.
* User: jmannion
* Date: 04/08/14
* Time: 22:17
*/
namespace JamesMannion\ForumBundle\Form\User;
use Symfony\Component\Form\FormBuilderInterface;
use JamesMannion\ForumBundle\Constants\Label;
use JamesMannion\ForumBundle\Constants\Button;
use JamesMannion\ForumBundle\Constants\Va... | mannion007/JamesMannionForum | src/JamesMannion/ForumBundle/Form/User/UserCreateForm.php | PHP | mit | 3,204 |
/**
* @file main.c
* @brief Main routine
*
* @section License
*
* Copyright (C) 2010-2015 Oryx Embedded SARL. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; eit... | miragecentury/M2_SE_RTOS_Project | Project/LPC1549_Keil/CycloneTCP_SSL_Crypto_Open_1_6_4/demo/st/stm32f4_discovery/smtp_client_demo/src/main.c | C | mit | 12,503 |
### Standalone SearchBox
```jsx
const { compose, withProps, lifecycle } = require("recompose");
const {
withScriptjs,
} = require("react-google-maps");
const { StandaloneSearchBox } = require("react-google-maps/lib/components/places/StandaloneSearchBox");
const PlacesWithStandaloneSearchBox = compose(
withProps({... | tomchentw/react-google-maps | src/components/places/StandaloneSearchBox.md | Markdown | mit | 1,945 |
/*! Slidebox.JS - v1.0 - 2013-11-30
* http://github.com/trevanhetzel/slidebox
*
* Copyright (c) 2013 Trevan Hetzel <trevan.co>;
* Licensed under the MIT license */
slidebox = function (params) {
// Carousel
carousel = function () {
var $carousel = $(params.container).children(".carousel"),
... | trevanhetzel/slidebox | slidebox.js | JavaScript | mit | 3,369 |
<?php
// =============================================================================
// VIEWS/ETHOS/_POST-CAROUSEL.PHP
// -----------------------------------------------------------------------------
// Outputs the post carousel that appears at the top of the masthead.
// ============================================... | whskyneat/element-wheels-blog | web/app/themes/x/framework/views/ethos/_post-carousel.php | PHP | mit | 2,761 |
import test from 'ava';
import Server from '../../src/server';
import IO from '../../src/socket-io';
test.cb('mock socket invokes each handler with unique reference', t => {
const socketUrl = 'ws://roomy';
const server = new Server(socketUrl);
const socket = new IO(socketUrl);
let handlerInvoked = 0;
const ... | thoov/mock-socket | tests/issues/65.test.js | JavaScript | mit | 2,017 |
import React from 'react'
import PropTypes from 'prop-types'
import VelocityTrimControls from './VelocityTrimControls'
import Instrument from '../../images/Instrument'
import styles from '../../styles/velocityTrim'
import { trimShape } from '../../reducers/velocityTrim'
const handleKeyDown = (event, item, bank, userCh... | dkadrios/zendrum-stompblock-client | src/components/trims/VelocityTrim.js | JavaScript | mit | 2,066 |
class CreateTips < ActiveRecord::Migration[5.0]
def change
create_table :tips do |t|
t.text :body
t.timestamps
end
end
end
| agonzalez0515/Coco-app | db/migrate/20161220004643_create_tips.rb | Ruby | mit | 148 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class MY_Controller extends CI_Controller {
public function __construct() {
parent::__construct();
$this->load->helper('url');
}
}
class Admin_Controller extends MY_Controller {
public function __construct() {
... | bivinvinod/footballCrazy | application/core/MY_Controller.php | PHP | mit | 439 |
# chrome-launcher-cli [](https://travis-ci.org/ragingwind/chrome-launcher-cli)
> Chrome Launcher for CLI, which is a CLI tool extended from [chrome-launcher](https://www.npmjs.com/package/chrome-launcher). Please visit to [chrome-la... | ragingwind/chrome-launcher-cli | readme.md | Markdown | mit | 719 |
/*
* Copyright (c) 2014-2016, Santili Y-HRAH KRONG
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* lis... | Santili/cppsqlx | source/sqlcreatetable.cpp | C++ | mit | 2,452 |
<?php
/**
* Link posts
*
* @package Start Here
* @since Start Here 1.0.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="post-header">
<div class="header-metas">
<?php sh_post_format(); ?>
<?php if( is_singular() ) { edit_post_l... | Manoz/start-here | start-here/templates/content-link.php | PHP | mit | 2,213 |
/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */
/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/
/* ===============================... | Simplon-Roubaix/ChallengeDimTeam | css/main.css | CSS | mit | 7,136 |
#!/bin/bash
SCRIPT_PATH="${BASH_SOURCE[0]}";
if ([ -h "${SCRIPT_PATH}" ]) then
while([ -h "${SCRIPT_PATH}" ]) do SCRIPT_PATH=`readlink "${SCRIPT_PATH}"`; done
fi
pushd . > /dev/null
cd `dirname ${SCRIPT_PATH}` > /dev/null
SCRIPT_PATH=`pwd`;
popd > /dev/null
if ! [ -f $SCRIPT_PATH/.nuget/nuget.exe ]
then
... | Horusiath/Hyperion | build.sh | Shell | mit | 1,543 |
#include <assert.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
#include <video/gl.h>
#include <xxhash.h>
#include <memtrack.h>
#include "base/stack.h"
#include "core/common.h"
#include "base/math_ext.h"
#include "core/asset.h"
#include "core/configs.h"
#include "core/frame.h"
#include "core/logerr.h"
#include <c... | m1nuz/neon-core | neon/src/core/application.c | C | mit | 3,306 |
# Scrapy settings for helloscrapy project
#
# For simplicity, this file contains only the most important settings by
# default. All the other settings are documented here:
#
# http://doc.scrapy.org/en/latest/topics/settings.html
#
BOT_NAME = 'helloscrapy'
SPIDER_MODULES = ['helloscrapy.spiders']
NEWSPIDER_MODULE ... | orangain/helloscrapy | helloscrapy/settings.py | Python | mit | 525 |
"""
Django settings for djangoApp project.
Generated by 'django-admin startproject' using Django 1.10.5.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""
import ... | reggieroby/devpack | frameworks/djangoApp/djangoApp/settings.py | Python | mit | 3,105 |
---
layout: page
title: Sub Aerospace Executive Retreat
date: 2016-05-24
author: Matthew Cole
tags: weekly links, java
status: published
summary: Class aptent taciti sociosqu ad.
banner: images/banner/leisure-03.jpg
booking:
startDate: 06/25/2018
endDate: 06/29/2018
ctyhocn: TOIALHX
groupCode: SAER
published: t... | KlishGroup/prose-pogs | pogs/T/TOIALHX/SAER/index.md | Markdown | mit | 3,201 |
---
layout: page
title: Pearl Group Dinner
date: 2016-05-24
author: Margaret Norris
tags: weekly links, java
status: published
summary: Pellentesque in hendrerit tortor. Quisque sollicitudin urna id.
banner: images/banner/leisure-04.jpg
booking:
startDate: 08/14/2018
endDate: 08/18/2018
ctyhocn: NYCEMHX
groupCo... | KlishGroup/prose-pogs | pogs/N/NYCEMHX/PGD/index.md | Markdown | mit | 2,134 |
---
layout: page
title: Warren Guardian Company Conference
date: 2016-05-24
author: Emily Harmon
tags: weekly links, java
status: published
summary: Pellentesque porttitor arcu velit, in facilisis tellus volutpat non. Nulla.
banner: images/banner/leisure-02.jpg
booking:
startDate: 12/20/2018
endDate: 12/23/2018
c... | KlishGroup/prose-pogs | pogs/N/NBFELHX/WGCC/index.md | Markdown | mit | 1,951 |
namespace Engine.Contracts
{
public interface IAct
{
/// <summary>
/// Makes an act (or try) and returns how much time it takes
/// </summary>
/// <param name="scene">Scene on which act plays</param>
/// <returns>Time passed</returns>
ActResult Do(IScene scene);
string Name { get... | sheix/GameEngine | Engine/Contracts/IAct.cs | C# | mit | 482 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.