code
stringlengths
4
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...
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...
<!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...
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...
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...
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...
# 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/). [![Build Status](https://travis-ci.org/dpalma/react-dropdown-timepicker.svg?branch=master)](https://travis-ci.org/dpalma/re...
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 <jags9415@gmail.com> */ public class CreateFileCommand extends Command { public final static String COMMAND = "mkfile"; @Override public void execute(Str...
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 '...
// 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...
/* 组件列表 外在肌肤,水嫩丝滑 生成时间: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...
<!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...
'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) { ...
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...
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...
// 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...
<!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...
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...
<?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 ...
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...
#[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...
// // 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 // ...
/* * 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...
/* 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 +...
<!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...
<!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...
#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...
# Acknowledgements This application makes use of the following third party libraries: ## GreenAR Copyright (c) 2017 Daniel Grenier <seanalair@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the So...
import CommuniqueApp from './communique-app'; CommuniqueApp.open();
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...
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...
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 ...
PHP with classes and PhpUnit
#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...
<!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"> <!...
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)...
--- 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...
// 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. <devops@yieldbot.com> // Released under the MIT License; see LICENSE // for details. package main import ( "bytes" "fmt" "github.com/codegangsta/c...
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', ];
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\DataCollector; use Symfony\Component\HttpF...
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...
{% 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"...
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...
<?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...
!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+"=...
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 ...
<?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...
my personal site
<?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...
;(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 ...
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 { ...
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, ...
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) ...
<?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 */ ...
$('.js-toggle-menu').click(function(e){ e.preventDefault(); $(this).siblings().toggle(); }); $('.nav--primary li').click(function(){ $(this).find('ul').toggleClass('active'); });
/* * 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...
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...
""" 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...
/* **============================================================================== ** ** 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"), ** ...
'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...
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...
# 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 ...
### 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. ...
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...
/** @file std_streambuf.h @brief suppresses warnings in streambuf. @author HRYKY @version $Id: std_streambuf.h 337 2014-03-23 14:12:33Z hryky.private@gmail.com $ */ #ifndef STD_STREAMBUF_H_20140323003904693 #define STD_STREAMBUF_H_20140323003904693 #include "hryky/pragma.h" #pragma hryky_pragma_push_...
<!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...
'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 === ...
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; }...
// // 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/...
<!-- 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(...
<?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...
--- 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/...
#!/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...
<?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...
# 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...
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...
--- 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 info@datacite.org should you have any queries. For further information about o...
/** * 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....
/** * 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; ...
<?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...
/** * @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...
### 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({...
/*! 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"), ...
<?php // ============================================================================= // VIEWS/ETHOS/_POST-CAROUSEL.PHP // ----------------------------------------------------------------------------- // Outputs the post carousel that appears at the top of the masthead. // ============================================...
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 ...
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...
class CreateTips < ActiveRecord::Migration[5.0] def change create_table :tips do |t| t.text :body t.timestamps end end end
<?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() { ...
# chrome-launcher-cli [![Build Status](https://travis-ci.org/ragingwind/chrome-launcher-cli.svg?branch=master)](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...
/* * 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...
<?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...
/*! 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. */ /* ===============================...
#!/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 ...
#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...
# 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 ...
""" 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 ...
--- 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...
--- 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...
--- 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...
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...