answer
stringlengths
15
1.25M
#-- encoding: UTF-8 # OpenProject is a project management system. # This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or # as published by the Free Software Foundation; either version 2 # This program is distributed in the hope that it will be use...
var expect = require('chai').expect, sinon = require('sinon'), EventEmitter = require('../src/EventEmitter'); describe('EventEmitter tests', function() { var emitter, foo, bar; beforeEach(function() { emitter = new EventEmitter(); foo = sinon.spy(); bar = sinon.sp...
Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the web serve...
#!/bin/bash . 'functions.sh' print "Building site............" GIT=`which git` # Clone repo and add symblink if [ ! -d $ROOTFS/app/project/docroot ] then print "Downloading latest Drupal Core ..." exec 'wget -O - http://ftp.drupal.org/files/projects/drupal-7.39.tar.gz | tar zxf -' exec 'mv drupal-7.39 app/p...
/** * @constructor * @extends {WebInspector.Object} * @param {string} id * @param {string} name */ WebInspector.ProfileType = function(id, name) { WebInspector.Object.call(this); this._id = id; this._name = name; /** @type {!Array.<!WebInspector.ProfileHeader>} */ this._profiles = []; /** @...
// Darken Region // LAX_DarkenRegion.js // v0.02 /*: * @plugindesc v0.02 Use regions to black out areas. * @author LuciusAxelrod * * * @help * Place regions on the map in the editor, then either add them to the default * list or add them to the dark region list using the add command listed below. * Note: Tiles...
#include "minunit.h" #include <lcthw/darray_algos.h> #include <stdlib.h> #include <time.h> #include <limits.h> static inline int intcmp(int **a, int **b) { return **a - **b; } static inline int sintcmp(int *a, int *b) { return *a - *b; } int make_random(DArray *array, size_t n) { srand(time(NULL)); size...
<!DOCTYPE html> <html> <h1>Sensor Data</h1> </center> <table> <tr> <td>Temperature</td> <td> <input id="temperature" type="text" value=""> </td> </tr> <tr> <td>Precipitation</td> <td> <input id="precipitation" type="text" value=""> </td> </tr> <tr> <td>Humidity</td> <td> <input id="humidity" type="text" value=""> </td>...
"use strict"; (function() { function get_promise(endpoint) { return function($http) { return $http.get(endpoint); }; } angular.module('pagerbot-admin', ['ngRoute', 'ngTable', 'angular-loading-bar']) .config(function ($routeProvider) { $routeProvider .when('/intro', { temp...
<?php /** * AAddress filter form. * * @package alumni * @subpackage filter * @author E.R. Nurwijayadi * @version 1.0 */ class AAddressFormFilter extends <API key> { /** * @see AddressFormFilter */ static protected $order_by_choices = array( null => '', 6 => 'ID', 21...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class DailySeedAndCleanup extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('featured_games',...
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); @font-face { font-family: 'League Gothic'; src: url("../../lib/font/<API key>.eot"); src: url("../../lib/font/<API key>.eot?#iefix") format("embedded-opentype"), url("../../lib/font/<API key>.woff") format("woff"), url("../../l...
<?php namespace GEPedag\EntidadesBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\<API key>\Configuration\Method; use Sensio\Bundle\<API key>\Configuration\Template; use GEPedag\EntidadesBundle\Entity\Asignatura; use GEPedag\Ent...
QMathematics ========= Dependence: 1. QT (QTSQL QTSVG QTSCRIPT QTPLUGIN) 2. MySql (qsqlmysql4.dll libmysql.dll) 3. QWT 4. GSL
""" Tests for Dynamo3 """ import sys import unittest from decimal import Decimal from pickle import dumps, loads from urllib.parse import urlparse from botocore.exceptions import ClientError from mock import ANY, MagicMock, patch from dynamo3 import ( Binary, Dynamizer, DynamoDBConnection, DynamoDBError...
{% include header.html %} {% include about.html %} {% include work.html %} {% include contact.html %} {% include footer.html %}
@import url('https://fonts.googleapis.com/css?family=Inconsolata|Jim+Nightshade'); body { overflow: hidden; font-family: 'Inconsolata', monospace; color: #333333; } #start, .main, #gameTime, #endBoard { margin: 0 auto; padding: 30px; text-align: center; width: 100%; height: auto; } #game...
-- complain if script is sourced in psql, rather than via CREATE EXTENSION \echo Use "CREATE EXTENSION pg_prttn_tools" to load this file. \quit -- Function: prttn_tools.create_child_table( -- CHARACTER VARYING, -- CHARACTER VARYING, -- CHARACTER VARYING, -- CHARACTER VARYING, -- CHARACTER VARYING, -...
layout: post status: publish published: true title: WCF Metadata Publication and Others author: display_name: Tomas Restrepo login: tomasr email: tomas@winterdom.com url: http://winterdom.com/ author_login: tomasr author_email: tomas@winterdom.com author_url: http://winterdom.com/ wordpress_id: 68 wordpress_url...
layout: angular title: "Angularjs $scope" date: 2016-01-01 author: Hao category: blog description: Angularjs $scope angularjs github wiki stackflow... JavaScript Prototypal Inheritance javascriptangularjs scope `parentScope`aString, aNumber, anArray, anObject, aFunction 5 `childScope``parentScope``childScope``pare...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>Video Player</title> <link rel="stylesheet" type="text/css" href="css/styles.css" /> </head> <body> <div class="srt"></di...
#ifndef GAME_H #define GAME_H #include <array> class Game { public: //Standard Con/Destructors Game(); //Initialize the board. ~Game(); //Not sure if I need this, but it's here in case //Are we playing the game? bool isRunning = true; //The easiest way I could impleme...
// <API key>.h // HNBKitDemo #import "<API key>.h" @interface <API key> : <API key> @end
<! ~ Copyright (c) 2017. MIT-license for Jari Van Melckebeke ~ Note that there was a lot of educational work in this project, ~ this project was (or is) used for an assignment from Realdolmen in Belgium. ~ Please just don't abuse my work <html> <head> <meta charset="utf-8"> <script src="esl....
# Contributing I explicitly welcome contributions from people who have never contributed to open-source before: we were all beginners once! I can help build on a partially working pull request with the aim of getting it merged. I am also actively seeking to diversify our contributors and especially welcome contribution...
Alchemy sentiment analysis: <SHA1-like> Africa Is Talking: <SHA256-like>
module.exports = { project: { server: { basePath: '', ip: '0.0.0.0', request: { sesskey: 'sid', limit: 5000, parameters: 60 }, render: 'swig', path: { routes: 'app/routes', views: 'app/views', public: 'public/', docs: fals...
<?php namespace RedMedica\ConsultasBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; use RedMedica\ConsultasBundle\Entity\Article; use FOS\ElasticaBundle\Configuration\Search; /** * Category * * @ORM\Table(name="category") * @ORM\Entity() * @Search(repositoryClass="Re...
import React from "react"; import styled from 'styled-components' import Link from './link'; const nextArrow = "/icons/next-arrow.png"; const prevArrow = "/icons/prev-arrow.png"; const PatternLink = styled.span` width: 100%; display: flex; flex-direction: column; padding: 1em; float: ${props => props.previous...
#ifndef <API key> #define <API key> #include "net.h" #include "validationinterface.h" /** Default for -maxorphantx, maximum number of orphan transactions kept in memory */ static const unsigned int <API key> = 100; /** Expiration time for orphan transactions in seconds */ static const int64_t <API key> = 20 * 60; /** M...
# $Header: svn://svn/SWM/trunk/web/Reports/<API key>.pm 8251 2013-04-08 09:00:53Z rlee $ package Reports::<API key>; use strict; use lib "."; use <API key>; use Reports::ReportAdvanced; our @ISA =qw(Reports::ReportAdvanced); use strict; sub _getConfiguration { my $self = shift; my $currentLevel = $self->{'Entit...
#!/usr/bin/node --harmony 'use strict' const noble = require('noble'), program = require('commander') program .version('0.0.1') .option('-p, --prefix <integer>', 'Manufacturer identifier prefixed to all fan commands', parseInt) .option('-t, --target [mac]', 'MAC address of devices to target', function(val){ ret...
layout: post category: "" tags: [zsh,fish,linux] [TOC] zsh yosemite bug? Mac Yosemite ,,php,macport zsh,,`zsh`100%cpu,macbook ,. ,,. fish,shell,,.. fish. ![image](/public/img/zsh-yosemite-bug.png) > zsh, >reply: Any chance that it's this issue with zsh-autosuggestions? [](https://github.com/tarruda/zsh-autosuggestions/...
const HEX_SHORT = /^#([a-fA-F0-9]{3})$/; const HEX = /^#([a-fA-F0-9]{6})$/; function roundColors(obj, round) { if (!round) return obj; const o = {}; for (let k in obj) { o[k] = Math.round(obj[k]); } return o; } function hasProp(obj, key) { return obj.hasOwnProperty(key); } function isRgb(obj) { return...
export { default } from 'ember-validation/components/<API key>';
.WeatherStations { margin: 30px 30px 30px 30px; } .clear{ clear: both; }
/*global window */ /*jshint bitwise:false */ /** * @public * @type {Object|null} */ var module; /** * API entry * @public * @param {function(Object)|Date|number} start the starting date * @param {function(Object)|Date|number} end the ending date * @param {number} units the units to populate * @return {Object|n...
file(REMOVE_RECURSE "CMakeFiles/<API key>.dir/polymorphic.cpp.o" "../../../coverage/<API key>.pdb" "../../../coverage/<API key>" ) # Per-language clean rules from dependency scanning. foreach(lang CXX) include(CMakeFiles/<API key>.dir/cmake_clean_${lang}.cmake OPTIONAL) endforeach()
var formMode="detail"; /*formMode detail add modify*/ var panelType="form"; /*panelType form search child */ var editIndex = undefined; /*datagrid */ var dg1EditIndex = undefined; var objName=label.objName; var lblDetailStr=label.detailStr; var lblAddStr=label.addStr; var lblEditStr=label...
FROM ruby:2.3.3 RUN apt-get update && apt-get install -y \ #Packages net-tools \ nodejs #Install phantomjs RUN apt-get update \ && apt-get install -y --<API key> \ ca-certificates \ bzip2 \ libfontconfig \ && apt-get clean \
## Capistrano [![Build Status](https: Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH. It uses a simple DSL (borrowed in part from [Rake](http://rake.rubyforge.org/)) that allows you to define _tasks_, which may be applied to machines in certain roles. It al...
package jermit.protocol.zmodem; /** * ZEofHeader represents the end of a file. */ class ZEofHeader extends Header { /** * Public constructor. */ public ZEofHeader() { this(0); } /** * Public constructor. * * @param data the data field for this header */ public...
import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class FormLoader { public static String connectionString = "jdbc:hsqldb:file:db-data/teamsandplayers"; static Connection con; public static void main(String[] args) throws Exception { try { Cl...
<?php namespace Memento\Test; use Memento; class SingleTest extends Harness { /** @dataProvider provideClients */ public function testStoreMethod(Memento\Client $client) { $success = $client->store($this->getKey(), array('foo' => 'bar'), $this->getExpires()); $this->assertTrue($success); ...
@import UIKit; #import "SPXDataView.h" /** * Provides collectionView specific definitions of a dataView */ @interface UITableView (<API key>) <SPXDataView> /** * Gets/sets the block to execute when the collectionView requests a cell */ @property (nonatomic, copy) UITableViewCell *(^<API key>)(UITableView *tableVi...
// Generated by class-dump 3.5 (64 bit). #import "CDStructures.h" @interface <API key> : NSObject { } @end
<html lang="en"> <head> <title>C - Debugging with GDB</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Debugging with GDB"> <meta name="generator" content="makeinfo 4.8"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Supported-Languages.html#Supp...
Answer these questions in your reflection: What git concepts were you struggling with prior to the GPS session? - Prior to the GPS session I was having trouble navigating between branches. I also was completely confused on remote and fetch. I thought that you could just use the command git pull which would fetch/merge...
#!/usr/bin/env python3 """ Categorize and analyze user sessions. Read in <API key>.gz file, output some fancy results. """ from collections import defaultdict from collections import Counter import sys import time import os import resource import json import fnmatch from pipes import Pipes import operator from ...
package esl import ( "io" "errors" "unicode/utf8" ) // Buffer ... type buffer []byte // MemoryReader ... type memReader [ ]byte // MemoryWriter ... type memWriter [ ]byte // ErrBufferSize indicates that memory cannot be allocated to store data in a buffer. var ErrBufferSize = errors.New(`could not allocate ...
package com.zimbra.cs.versioncheck; import java.io.IOException; import java.util.Iterator; import java.util.List; import java.util.Date; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; import com.zimbra.common.util.ZimbraLog; import com.zim...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EmployeeFinder.Models { public enum Position { Bartender, Waiter, Bellboy, Receptionist, Manager, Housekeeper, Chef, Manin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Domain { public class Meeting { public int ConsultantId { get; set; } public Consultant Consultant { get; set; } public int UserId { get; set; } public Us...
module PiwikAnalytics module Helpers def piwik_tracking_tag config = PiwikAnalytics.configuration return if config.disabled? if config.use_async? file = "piwik_analytics/<API key>" else file = "piwik_analytics/piwik_tracking_tag" end render({ :file => fi...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @author Stephan Reith @date 31.08.2016 This is a simple example to demonstrate how the ROS Spinnaker Interface can be used. You will also need a ROS Listener and a ROS Talker to send and receive data. Make sure they communicate over the same ROS topics and std_msgs....
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>area-method: Not compatible </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ieee754: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
import {<API key>, <API key>, <API key>, templateSourceUrl} from './compile_metadata'; import {CompilerConfig, <API key>} from './config'; import {ViewEncapsulation} from './core'; import * as html from './ml_parser/ast'; import {HtmlParser} from './ml_parser/html_parser'; import {InterpolationConfig} from './ml_parser...
<?php /* TwigBundle:Exception:error.atom.twig */ class <API key> extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array $...
<HTML> <!-- Mirrored from thevillagedanang.com/?p=62 by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 02 Nov 2017 14:46:03 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack --> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF...
/** * HTTP.test */ "use strict"; /* Node modules */ /* Third-party modules */ var steeplejack = require("steeplejack"); /* Files */ describe("HTTPError test", function () { var HTTPError; beforeEach(function () { injector(function (_HTTPError_) { HTTPError = _HTTPError_; }); })...
require File.join(File.dirname(__FILE__), './scribd-carrierwave/version') require File.join(File.dirname(__FILE__), './scribd-carrierwave/config') require 'carrierwave' require 'rscribd' require 'configatron' module ScribdCarrierWave class << self def included(base) base.extend ClassMethods end def ...
var gulp = require('gulp'); var babel = require('gulp-babel'); var concat = require('gulp-concat'); var merge = require('merge-stream'); var stylus = require('gulp-stylus'); var rename = require("gulp-rename"); var uglify = require("gulp-uglify"); var cssmin = require("gulp-cssmin"); var ngAnnotate = require('gulp-ng-a...
package br.ufrj.g2matricula.domain; import org.springframework.data.elasticsearch.annotations.Document; import javax.persistence.*; import javax.validation.constraints.*; import java.io.Serializable; import java.util.Objects; import br.ufrj.g2matricula.domain.enumeration.MatriculaStatus; /** * A Matricula. */ @Entity...
# <API key> Docker container for RhodeCode Community Edition repository management platform # WIP
<?php class Admin_GeneralModel extends CI_Model { public function <API key>() { $this->db->select('CID, CategoryName'); $this->db->from('<API key>'); $this->db->order_by('Ordering'); $query = $this->db->get(); if($query->num_rows()) return $query; else...
#ifndef SYMTAB_H #define SYMTAB_H #include "symbol.h" void symtab_init(); void push_scope(); void pop_scope(); symbol *bind_symbol(char *name); symbol *lookup_symbol(char *name); void print_symtab(); #endif
RSpec.describe("executables", skip_db_cleaner: true) do include SharedSpecSetup before do #migrations don't work if we are still connected to the db ActiveRecord::Base.remove_connection end it "extracts the schema" do output = `bin/extract #{config_filename} production #{schema_filename} 2>&1` e...
## S3proxy - serve S3 files simply S3proxy is a simple flask-based REST web application which can expose files (keys) stored in the AWS Simple Storage Service (S3) via a simple REST api. What does this do? S3proxy takes a set of AWS credentials and an S3 bucket name and provides GET and HEAD endpoints on the files with...
Title: Survey data Template: survey Slug: survey/data Github: True The code to clean and process the survey data is available in the [GitHub repository](https: <div class="row"> <div class="col-xs-12 col-sm-10 col-md-8 col-sm-offset-1 col-md-offset-2"> <div class="github-widget" data-repo="andrewheiss/<API key>">...
// @flow import { StyleSheet } from 'react-native'; import { colors } from '../../themes'; const styles = StyleSheet.create({ divider: { height: 1, marginHorizontal: 0, backgroundColor: colors.darkDivider, }, }); export default styles;
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_27) on Wed Nov 21 16:03:26 EST 2012 --> <TITLE> <API key> </TITLE> <META NAME="date" CONTENT="2012-11-21"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> fu...
require 'ffi' module ProcessShared module Posix module Errno extend FFI::Library ffi_lib FFI::Library::LIBC attach_variable :errno, :int # Replace methods in +syms+ with error checking wrappers that # invoke the original method and raise a {SystemCallError} with # the current e...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http: <!-- UASR: Unified Approach to Speech Synthesis and Recognition < - Documentation home page < < AUTHOR : Matthias Wolff < PACKAGE: n/a < < Copyright 2013 UASR contributors (see COPYRIGHT file) < - Chair of System Theory and Speech T...
'use strict'; const _ = require('lodash'); const co = require('co'); const Promise = require('bluebird'); const AWS = require('aws-sdk'); AWS.config.region = 'us-east-1'; const cloudwatch = Promise.promisifyAll(new AWS.CloudWatch()); const Lambda = new AWS.Lambda(); const START_TIME...
from __future__ import absolute_import, division, print_function, unicode_literals import string import urllib try: from urllib.parse import urlparse, urlencode, urljoin, parse_qsl, urlunparse from urllib.request import urlopen, Request from urllib.error import HTTPError except ImportError: from urlpars...
#!/bin/bash # data in Empar_paper/data/<API key> #length1000_b100.tar length1000_b150.tar length1000_b200.tar #<API key>.fa MOD=ssm ITER=2 # number of data sets bl=100 #prep output files OUT_lik='<API key>'$bl'_'$MOD'_E.txt' OUT_iter='<API key>'$bl'_'$MOD'_E.txt' OUT_time='<API key>'$bl'_'$MOD'_E.txt' OUT_nc='<API key>...
using UnityEngine; #if UNITY_EDITOR using UnityEditor; using System.IO; #endif namespace SpritesAndBones.Editor { [CustomEditor(typeof(Skin2D))] public class Skin2DEditor : UnityEditor.Editor { private Skin2D skin; private float baseSelectDistance = 0.1f; private float <API key> = 0....
package com.thilko.springdoc; @SuppressWarnings("all") public class CredentialsCode { Integer age; double anotherValue; public Integer getAge() { return age; } public void setAge(Integer age) { this.age = age; } public double getAnotherValue() { return anotherValue; ...
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $searchModel yii2learning\chartbuilder\models\DatasourceSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Datasources'); $this->params['breadcrumbs'][] = $this->title...
module Web::Controllers::Books class Create include Web::Action expose :book params do param :book do param :title, presence: true param :author, presence: true end end def call(params) if params.valid? @book = BookRepository.create(Book.new(params[:book]...
;idta.asm sets up all the intterupt entry points extern default_handler extern idt_ftoi ;error interrupt entry point, we need to only push the error code details to stack %macro error_interrupt 1 global interrupt_handler_%1 interrupt_handler_%1: push dword %1 jmp common_handler %endmacro ;regular interr...
// @flow (require('../../lib/git'): any).rebaseRepoMaster = jest.fn(); import { <API key> as clearCustomCacheDir, _setCustomCacheDir as setCustomCacheDir, } from '../../lib/cacheRepoUtils'; import {copyDir, mkdirp} from '../../lib/fileUtils'; import {parseDirString as parseFlowDirString} from '../../lib/flowVersion...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=../../openssl_sys/fn.BN_exp.html"> </head> <body> <p>Redirecting to <a href="../../openssl_sys/fn.BN_exp.html">../../openssl_sys/fn.BN_exp.html</a>...</p> <script>location.replace("../../openssl_sys/fn.BN_exp.html" + location....
import React, { Component } from 'react' import PropTypes from 'prop-types' import { assign } from 'lodash' import autoBind from '../utils/autoBind' const styles = { 'ClosedPanelWrapper': { height: '40px' }, 'PanelWrapper': { position: 'relative' }, 'Over': { border: '1px dashed white', overfl...
'use strict'; // src\services\message\hooks\timestamp.js // Use this hook to manipulate incoming or outgoing data. const defaults = {}; module.exports = function(options) { options = Object.assign({}, defaults, options); return function(hook) { const usr = hook.params.user; const txt = hook.data...
package fr.lteconsulting.pomexplorer.commands; import fr.lteconsulting.pomexplorer.AppFactory; import fr.lteconsulting.pomexplorer.Client; import fr.lteconsulting.pomexplorer.Log; public class HelpCommand { @Help( "gives this message" ) public void main( Client client, Log log ) { log.html( AppFacto...
// DORDoneHUD.h // DORDoneHUD #import <UIKit/UIKit.h> @interface DORDoneHUD : NSObject + (void)show:(UIView *)view message:(NSString *)messageText completion:(void (^)(void))completionBlock; + (void)show:(UIView *)view message:(NSString *)messageText; + (void)show:(UIView *)view; @end
namespace CAAssistant.Models { public class ClientFileViewModel { public ClientFileViewModel() { } public ClientFileViewModel(ClientFile clientFile) { Id = clientFile.Id; FileNumber = clientFile.FileNumber; ClientName = clientFile.Clien...
<?php /** * Task asset object * * @package Todoyu * @subpackage Assets */ class <API key> extends TodoyuAssetsAsset { /** * Get task ID * * @return Integer */ public function getTaskID() { return $this->getParentID(); } /** * Get task object * ...
// <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> namespace NewsSystem.Web.Admin { public partial class Edit { } }
title: Stylesheets and JavaScript - Fabricator layout: 2-column section: Documentation {{#markdown}} # Stylesheets and JavaScript > How to work with CSS and JS within Fabricator Fabricator comes with little opinion about how you should architect your Stylesheets and JavaScript. Each use case is different, so it's up to...
<?php namespace IdeHelper\Test\TestCase\Utility; use Cake\Core\Configure; use Cake\TestSuite\TestCase; use IdeHelper\Utility\Plugin; class PluginTest extends TestCase { /** * @return void */ protected function setUp(): void { parent::setUp(); Configure::delete('IdeHelper.plugins'); ...
# Hubot: hubot-loggly-slack A hubot script to post alerts from Loggly into a Slack room as an attachment. An attachment has additional formatting options. See [`src/loggly-slack.coffee`](src/loggly-slack.coffee) for documentation. # Installation npm install hubot-loggly-slack # Add "hubot-loggly-slack" to exter...
<?php namespace Webvaloa; use Libvaloa\Db; use RuntimeException; /** * Manage and run plugins. */ class Plugin { private $db; private $plugins; private $runnablePlugins; private $plugin; // Objects that plugins can access public $_properties; public $ui; public $controller; public ...
const electron = window.require('electron'); const events = window.require('events'); const { ipcRenderer } = electron; const { EventEmitter } = events; class Emitter extends EventEmitter {} window.Events = new Emitter(); module.exports = () => { let settings = window.localStorage.getItem('settings'); if (setti...
using System; using System.Collections.Generic; using System.Linq; using BohFoundation.<API key>.Repositories.Implementations; using BohFoundation.AzureStorage.TableStorage.Implementations.Essay.Entities; using BohFoundation.AzureStorage.TableStorage.Interfaces.Essay; using BohFoundation.AzureStorage.TableStorage.Inter...
class Add<API key> < ActiveRecord::Migration[4.2] def change add_column :<API key>, :author_id, :integer add_column :<API key>, :subject_id, :integer end end
# Using a compact OS FROM registry.dataos.io/library/nginx MAINTAINER Golfen Guo <golfen.guo@daocloud.io> # Install Nginx # Add 2048 stuff into Nginx server COPY . /usr/share/nginx/html EXPOSE 80
require 'test_helper' require 'cache_value/util' class UtilTest < Test::Unit::TestCase include CacheValue::Util context 'hex_digest' do should 'return the same digest for identical hashes' do hex_digest({ :ha => 'ha'}).should == hex_digest({ :ha => 'ha'}) end end end