answer
stringlengths
15
1.25M
#import "AWSRequest.h" @class NSString, NSNumber; @interface <API key> : AWSRequest { NSString* _device; NSNumber* _dryRun; NSString* _instanceId; NSString* _volumeId; } @property(retain, nonatomic) NSString* device; @property(retain, nonatomic) NSNumber* dryRun; @property(retain, nonatomic) NSString* i...
<?php class StatusesController extends AppController { var $name = 'Statuses'; function index() { $this->Status->recursive = 0; $this->set('statuses', $this->paginate()); } function view($id = null) { if (!$id) { $this->Session->setFlash('Invalid Status.'); ...
2015-03-22 # objective-c * <img src='https://avatars2.githubusercontent.com/u/4797?v=3&s=40' height='20' width='20'>[ cparnot / ASCIImage ](https://github.com/cparnot/ASCIImage): Create UIImage / NSImage instances with NSString and ASCII art * <img src='https://avatars2.githubusercontent.com/u/4...
<?php class <API key> extends <API key> { protected function code() { $this->setResult('success', false); $post = <API key>::getInstance(); $post->trim(); $post->htmlSpecialChars();; $post->setLength(500); $stop = false; $sessio...
#include "modules/audio_coding/neteq/dtmf_buffer.h" #include <assert.h> #include <algorithm> // max #include <API key> //original-code:"rtc_base/checks.h" #include <API key> //original-code:"rtc_base/logging.h" // Modify the code to obtain backwards bit-exactness. Once bit-exactness is no // longer required, this #def...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Wyam.Abstractions; namespace Wyam.Core.Modules { // This filters the documents public class Where : IModule { private readonly Func<IDocument, bool> _predicate; public Wh...
# docker-jenkins Dockerfile for Jenkins. Last update: Tue 05 April 2016 Docker version: 1.10.3 Will update this once personal builds are reconfigured.
<?php namespace CodeDocs\Processor; use CodeDocs\Exception\MarkupException; use CodeDocs\Helper\Filesystem; use CodeDocs\Logger; use CodeDocs\ProcessorInterface; use CodeDocs\State; use RuntimeException; /** * Copies generated doc files to a given directory */ class CopyExportFiles implements ProcessorInterface { ...
package com.blinkboxbooks.android.model; public class BookmarkUpdatedBy { public String client_id; public String client_name; }
package openperipheral.integration.minefactoryreloaded; import openmods.reflection.MethodAccess; import openmods.reflection.MethodAccess.Function0; import openmods.reflection.MethodAccess.Function1; import openmods.reflection.ReflectionHelper; import openperipheral.api.adapter.IPeripheralAdapter; import openperipheral....
<?php namespace Doctrine\Tests\ORM\Functional\Ticket; use Doctrine\Tests\Models\CMS\CmsUser; use Doctrine\Tests\Models\CMS\CmsGroup; use Doctrine\ORM\Tools\Pagination\Paginator; /** * @group DDC-1918 */ class DDC1918Test extends \Doctrine\Tests\<API key> { protected function setUp() : void { $this->us...
namespace CloudLibrary.Common.Diagnostics { using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Text; <summary> Utilities for diagnostic </summary> <history> <create time="2016/5/16" author="lixinxu" /> </history> ...
package ca.appspace.bean.serialization.server; public class <API key> extends Exception { private static final long serialVersionUID = 1L; public <API key>() { // TODO Auto-generated constructor stub } public <API key>(String arg0) { super(arg0); // TODO Auto-generated constructo...
FROM debian:jessie MAINTAINER Byte Pixie <hello@bytepixie.com> RUN apt-get update \ && apt-get install -y --<API key> \ ca-certificates \ libssl1.0.0 \ logrotate \ curl \ && curl -L https://dzbscw1ubdtyw.cloudfront.net/actordb_0.10.25-1_amd64.deb -o /tmp/actordb.deb \ && dpkg...
package de.sfdccommander.controller.helper; import java.io.File; import java.io.FilenameFilter; /** * @author jochen * */ public class XmlFileNameFilter implements FilenameFilter { @Override public final boolean accept(final File aDir, final String aName) { boolean accept = true; String exten...
import figures.Rectangle; import input.InputManager; public class Main { public static void main(String[] args) { InputManager inputManager = new InputManager(); Rectangle rectangle = inputManager.<API key>(); inputManager.<API key>(rectangle); } }
System.register(['angular2/core', "angular2/common", '../../services/stores/category-store', "../../services/actions/category-actions", "../../services/drinks-api-service", "../../services/actions/drink-query-actions"], function(exports_1) { var __decorate = (this && this.__decorate) || function (decorators, target...
// Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.appservice.models; import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import j...
import { ReactElement } from "react"; import TableCellList from "./TableCellList"; export default function ComponentsCons(): ReactElement | null { return ( <TableCellList> <li> Components are low-level which requires creating your own high-level components for repeated functionality or patte...
scheduler._props = {}; scheduler.createUnitsView = function (name, property, list, size, step, skip_incorrect) { if (typeof name == "object"){ list = name.list; property = name.property; size = name.size||0; step = name.step||1; skip_incorrect = name.skip_incorrect; n...
export default { SORT_DESC: "desc", SORT_ASC: "asc", SIZE_PER_PAGE: 10, NEXT_PAGE: ">", LAST_PAGE: ">>", PRE_PAGE: "<", FIRST_PAGE: "<<", ROW_SELECT_BG_COLOR: "", ROW_SELECT_NONE: "none", ROW_SELECT_SINGLE: "radio", ROW_SELECT_MULTI: "checkbox", CELL_EDIT_NONE: "none", CELL_EDIT_CLICK: "click"...
#pragma once class EWLabel; typedef std::shared_ptr<EWLabel> EWLabelPtr; /* EWLabel */ class EWLabel : public EWWidget { protected: EGstring label; EGTextPtr text; public: EWLabel(EGenum widgetFlags = 0); EWLabel(EGstring label); virtual ~EWLabel(); static const EGClass* classFactory(); virt...
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <title>Fancytree - 3rd Party Example: jQuery contextMenu</title> <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" /> <script src="//code.jquery.com/jquery-3.2.1.min.j...
using UnityEngine; using System.Collections; public class LoadLevel : MonoBehaviour { public void LoadScene(int index){ Application.LoadLevel (index); } public void Quit(){ Application.Quit (); } }
package com.example.graduation_project; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
<?php namespace Home\Controller; use Think\Controller; class IndexController extends Controller { public function index () { $good = D('Good'); $category = D('Category'); switch (I('get.sort')) { case '1': $sort = 'sales_num'; break; ...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_101) on Mon Sep 19 15:00:06 UTC 2016 --> <title><API key> (Spring Framework 4.3.3.RELEASE API)</title><script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src = "//hm.baidu.com/hm.js?<AP...
/* General styles */ html { height: 100%; } body { margin:0; padding:0; border:0; /* This removes the border around the viewport in old versions of IE */ width:100%; color: #fcfcfc; background:#071790; font-size:90%; height: ...
<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="generator" content="Source Themes Academic 4.4.0"> <meta name="author" content="Lorena Pantano"> <meta name...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Weather App</title> <link rel="stylesheet" type="text/css" href="styles/inline.css"> <link rel="manifest" href=...
/** * \file sgui_utf8.h * * \brief Contains helper functions for UTF-8 string handling. */ #ifndef SGUI_UTF8_H #define SGUI_UTF8_H #include "sgui_predef.h" #ifdef __cplusplus extern "C" { #endif /** * \brief Get the unicode code point for a UTF8 encoded character * * \param utf8 A string holding the UTF8 chara...
<?php /** * Upgrader API: <API key> class * * @package WordPress * @subpackage Upgrader * @since 4.6.0 */ /** * Plugin Upgrader Skin for WordPress Plugin Upgrades. * * @since 2.8.0 * @since 4.6.0 Moved to its own file from wp-admin/includes/<API key>.php. * * @see WP_Upgrader_Skin */ class <API key> extend...
//! Draw ellipse use types::{Color, Radius, Rectangle, Resolution}; use {triangulation, DrawState, Graphics}; use math::Matrix2d; pub use rectangle::centered; pub use rectangle::centered_square as circle; Ellipse border #[derive(Copy, Clone)] pub struct Border { The border color pub color: Color, The border...
/ // printq.c // A simple example of how to access and print the // different K object types from C. Handles atoms, lists // dictionaries and tables (enumerated types and functions // are currently unsupported). // @updated: 17/03/2015 // @authors: Kent Lee, Kevin Piar, Mark Rooney // AquaQ Analytics // kdb+ consultanc...
import { combineReducers } from 'redux' import characterList from './characterList' export default combineReducers({ characterList })
title: Question 225 category: [Data Structure] tags: [Stack, Queue] ![Description](../Assets/Figure/question225.png) ## Algorithm - [](https://leetcode.com/discuss/39814/<API key>) - pushqueuequeuepushtop, pop ## Comment - ## Code c++ class Stack { queue<int> myQueue; public: // Push element x onto stack. v...
'use strict'; const Async = require('async'); const Boom = require('boom'); const Config = require('../../config'); const Joi = require('joi'); const internals = {}; internals.applyRoutes = function (server, next) { const Account = server.plugins['hapi-mongo-models'].Account; //const Session = server.plugins['h...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class <API key> extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('audio_recordings', function(Blueprint $table) { ...
""" Template tags for reversion application. """
package net.gree.aurora.scala.domain.cluster import net.gree.aurora.domain.cluster.{ClusterId => JClusterId} private[domain] case class ClusterIdImpl(underlying: JClusterId) extends ClusterId { def value = underlying.getValue }
<?php namespace JSomerstone\MongoToken\test\unit; use JSomerstone\MongoToken\Model\DataContainer; use \DateTime; class DataContainerTest extends \<API key> { /** * @var DataContainer */ protected $dataContainer; public function setUp() { $this->dataContainer = new DataContainer(); ...
<?php /* AcmeModelBundle:Default:index.html.twig */ class <API key> extends Twig_Template { protected $parent; public function __construct(Twig_Environment $env) { parent::__construct($env); $this->blocks = array( 'body' => array($this, 'block_body'), ); } public ...
#!/usr/bin/env python import sys import json import platform from alertaclient.api import ApiClient from alertaclient.alert import Alert from alertaclient.heartbeat import Heartbeat class Listener(object): def wait(self): data = sys.stdin.readline() headers = dict([x.split(':') for x in data.split()...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using System.Linq; namespace PhysicsLayers.Components.InternalManagements { [Serializable] public sealed class UnityLayerInfos : AbstractLayerInfos<UnityLayer> { public override int LayerCount { ...
#include <rpc/server.h> #include <base58.h> #include <fs.h> #include <init.h> #include <random.h> #include <sync.h> #include <ui_interface.h> #include <util.h> #include <utilstrencodings.h> #include <boost/bind.hpp> #include <boost/signals2/signal.hpp> #include <boost/algorithm/string/case_conv.hpp> // for to_upper() #...
using HpSchedulerJob.NET.Foundation; using HpSchedulerJob.NET.RabbitMq.RabbitMqScene; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HpSchedulerJob.NET.HpSchedule { public class JobApplication { public JobApplication(HpSchedu...
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" ng-app="myApp"> <!--<![endif]--> <head...
class CreateSubnets < ActiveRecord::Migration def change create_table :subnets do |t| t.string :cidr t.timestamps end end end
module BraintreeRails class CreditCard include Model define_attributes( :create => [:billing_address, :cardholder_name, :customer_id, :expiration_date, :expiration_month, :expiration_year, :number, :cvv, :options, :token, :device_data], :update => [:billing_address, :cardholder_name, :expiration_d...
<?php namespace Cinemax\FeedbackBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Comments * * @ORM\Table(name="comments") * @ORM\Entity */ class Comments { /** * @var integer * * @ORM\Column(name="id", type="integer", nullable=false) * @ORM\Id * @ORM\GeneratedValue(strategy="IDENT...
package com.voxworx.polycom; import java.util.ArrayList; import java.util.List; /** * The state of default soft keys, and any user defined soft keys. * Once populated, used to generate the softkey configuration tag<br> * Usage: a) Turn on/off the default soft keys * b) Create and add any custom soft keys * @aut...
# CMake generated Testfile for # Source directory: /home/bladestery/Downloads/opencv-3.2.0/samples/android/15-puzzle # Build directory: /home/bladestery/Sapphire/example_apps/AndroidStudioMinnie/sapphire/.externalNativeBuild/cmake/debug/armeabi-v7a/samples/android/15-puzzle # This file includes the relevant testing com...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - SAMSUNG-SGH-E608</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="...
# Homebrew OS Zimmee's homebrew installs Homebrew for MacOS, as well as any Homebrew apps that are not set up in other OS Zimmee app folders. ## Install bash bash $OSZ_ROOT/homebrew/install ## Uninstall bash bash $OSZ_ROOT/homebrew/uninstall ## Details This app sets up the following functionality: 1. [Install script](....
package com.att.m2x.android.services.model; public enum DeviceSort { LAST_ACTIVITY("last_activity"), NAME("name"), SERIAL("serial"), CREATED("created"); private String fieldName; DeviceSort(String fieldName) { this.fieldName = fieldName; } public String fieldName() { retu...
package com.andreytim.jafar.problems.sortsearch; import java.util.Arrays; public class <API key> { public class Song implements Comparable<Song> { private int duration; private int tone; public Song(int duration, int tone) { this.duration = duration; this.tone = tone;...
'use strict'; /* Services */ // Demonstrate how to register services // In this case it is a simple value service. angular.module('myApp.services', []) .factory('FIREBASE_URL', function () { return 'https://waitandeat-senate.firebaseio.com/'; }) .factory('dataService', function($firebase, FIREBASE_U...
Yuncms ============== Yuncms > protected/apps/default/view/ - config 'TPL' => array ( 'TPL_TEMPLATE_PATH' => 'default', '<API key>' => 'default', ), /* 1.PC 2.core.phprun 3. */ ** configtpl - view > viewdefaultinfo.php <?php return array ( 'name' => '91', 'author' => '', ); ?> ...
var Dungeon = { map: [], in_battle: 0, player_position: 0 }; Dungeon.mapGenerator = function () { this.map = []; this.player_position = 0; for (var i = 0; i < 100; i++) { if (rand(0, 5) != 0) { this.map[i] = {symbol: '_', unit: null}; } else { this...
<?php namespace Bundle\AdminBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; use Symfony\Component\HttpFoundation\File\UploadedFile; /*for image resize and upload*/ use Gregwar\Image\Image; /*for image resize and upload*/ /** * <API key> * * @ORM\Table(name="<API...
import { createSelector } from 'reselect'; /** * Direct selector to the billsTab state domain */ const <API key> = (state) => state.get('billsTab'); /** * Other specific selectors */ const makeSelectLoading = () => createSelector( <API key>, (pageState) => pageState.get('loading') ); const makeSelectError = () ...
require "spec_helper" require "vimrunner/server" require "vimrunner/platform" module Vimrunner RSpec.describe Server do let(:server) { Server.new } describe "#initialize" do it "defaults to using Platform.vim for the executable" do expect(server.executable).to eq(Platform.vim) end it...
FindYourMakeUp =========== MVC Application which will allow users to vote and leave comment for different make ups. This will help the selection of the appropriate product.
package voli_Es29; import java.util.ArrayList; public class Volo { static int idNumero=1; static char idChar='A'; String id=""; String destinazione, partenza; int postiDispE; int postiDispP; ArrayList<Passeggero> passeggeri; public Volo(String destinazione, String partenza, int postiDisp...
namespace Oragon.Architecture.Text { public abstract class FormatStrategy { #region Public Fields public static FormatStrategy None = new NoneFormatStrategy(); #endregion Public Fields #region Protected Fields protected char[] splitter = new char[] { ' ', '\t' }; ...
package softuni.dto.binding.XMLDtos; import softuni.dto.binding.Import.SupplierImportDto; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.util.List; @XmlRootElement...
USE [ANTERO] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER VIEW [dw].[<API key>] AS SELECT [Tilastovuosi] = f.[tilastovuosi] ,[Tilastokuukausi] = d6.kuukausi_fi ,[Sukupuoli] = d11.sukupuoli_fi ,[Äidinkieli] = d12.kieliryhma1_fi ,[Ikäryhmä] = d13.ikaryhma3_fi ,[Ikä] = d13.ika_fi ...
const vm = require('vm'); const iconv = require('iconv-lite'); const GLOBAL_VARS = [ 'process', 'Buffer', 'clearImmediate', 'clearInterval', 'clearTimeout', 'setImmediate', 'setInterval', 'setTimeout', 'console', 'module', 'require', ]; /* eslint-disable no-console */ const TIMEOUT = 600; const RU...
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Ma420_Assignments.Chapter7; namespace BairstowRunner { class Program { static void Main(string[] args) { Console.Write("Please enter an output fi...
describe('wcUnique directive specs', function () { var scope, modelCtrl, modelValue, customerSvcMock, form, element, input, compiledForm, changeInputValueTo, passPromise; function setEmailId(value) { scope.customer.email = value; scope.$digest(); } beforeEach(function () { ...
import * as request from 'request-promise' class DAO { private headers; private path; constructor() { this.headers = {}; this.path = "http://localhost:3000"; this.init() } // FACULTIES public getAllFaculties() { return request(`${this.path}/api/v1/faculties/`, this.headers.GET) .then((re...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using monomart; using monomart.Controllers; using monomart.Models; namespace monomart.Tests { [TestFixture()] public class <API key> { [Test()] public void Index...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const images = require("images"); class ImageOperation { constructor(path) { this.image = images(path); } getCutImage(cutParams) { return images(this.image, cutParams.x, cutParams.y, cutParams.width, cutParams.heigh...
""" Compiler objects for postgres data definition language. """ from sqlalchemy.sql.expression import Executable, ClauseElement from sqlalchemy.ext.compiler import compiles class CreateTableAs(Executable, ClauseElement): def __init__(self, name, query): self.name = name self.query = query @compiles(...
Gather a group of floating point numbers Sum and average them display the results Input: Multiple floating point numbers. - Using showInputDialog() <API key> for input (999). Calculation: Sum, Average, of the numbers. Output: 1. Count 2. Sum 3. Average 4. Warning if sum > 100 Seperate Methods: 1. BenjaminBun...
function flat (obj, prefix, flatten) { if (typeof obj === 'string') { return flatten.concat(prefix + obj) } if (Array.isArray(obj)) { return flatten.concat([[prefix + obj[0], obj.slice(1)]]) } if (typeof obj === 'object' && obj.prefix && Array.isArray(obj.names)) { return obj.names.reduce(function...
<!DOCTYPE HTML> <html> <head> <title>Select Box Demo</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.2/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="libs/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="s...
package com.dmurph.mvc; import java.beans.<API key>; /** * @author Daniel Murphy * */ public interface IModel { public static final String DIRTY = "MODEL_DIRTY"; /** * Adds a property change listener to this model * @param argListener */ public abstract void <API key>(<API key> argListener...
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>Problem 12. Generate list</title> <script src="GenerateList.js"></script> </head> <body> <h1>Problem 12. Generate list</h1> <ul> <li>Write a function that creates a HTML ul using a template for every HTML li.</li> <li>The source o...
package com.example.digitaloceanapp; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_m...
<div flex-container="column"> <div class="{{content.class}}" ng-controller="coverController" > <div in-view="loadAnimate(0,$event,content.classToAnimate)" class="section hidden " > <cover-info> </cover-info> </div> </div...
# Changelog # 2.0.0 **Not yet released** * Added support for different EOL-styles. * Added new combinator class `minus< M, S >`. * Added support for custom incremental input readers. * Added support for parsing C streams, i.e. `std::FILE *`. * Added support for parsing C++ streams, i.e. `std::istream`. * Added incremen...
namespace AgileObjects.ReadableExpressions.Visualizers.Dialog.Theming { using System.Drawing; using System.Windows.Forms; using Core.Theming; internal class <API key> : <API key> { private readonly VisualizerDialog _dialog; private Color? _foreColour; private Brush _foreColou...
namespace SimpleFixture.Tests.Classes { public interface ISomeInterface { int SomeIntMethod(); } }
var gulp = require('gulp'); var jshint = require('gulp-jshint'); var concat = require('gulp-concat'); var rename = require('gulp-rename'); var uglify = require('gulp-uglify'); var srcPath = 'src/ng-sort-set.js'; gulp.task('lint', function () { return gulp.src(srcPath) .pipe(jshint()) .pipe(j...
/** * @file Magic * @author liuxuanzy(liuxuanzy@qq.com) */ 'use strict'; const MAGIC_LIST_CONFIG = require('./config'); /** * * * @class MagicBase */ class MagicBase { /** * * * @param {Object} options */ constructor(options) { /** * * * @type {strin...
class <API key> < ActiveRecord::Migration def change add_column :onboarding_users, :last_step, :string end end
<?php namespace Fisharebest\Localization\Script; class ScriptBugi extends AbstractScript implements ScriptInterface { public function code() { return 'Bugi'; } public function number() { return '367'; } public function unicodeName() { return 'Buginese'; } }
<?php while (have_posts()) : the_post(); ?> <!-- if in quote category, display title as excerpt --> <?php if(has_post_format('quote')){ ?> <article <?php post_class(); ?>> <header> <h2 class="quote"><?php the_content(''); ?></h2> <div class="entry-meta"> <time class...
# Changelog ## 5.0.2 - Fix sibling months day click gave incorrect date ## 5.0.1 - Globals are evil. By trying to make things easy to use, we declared a global `window.DPicker` variable. Since `5.0.1` it's not the case anymore and it will be declared as `window.dpicker`. It's recommended that you use a bundle system th...
class <API key> < ActiveRecord::Migration def change create_table :authorizations do |t| t.references :provider t.string :user_token t.string :user_secret t.string :uid t.references :user t.timestamps null: false end end end
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Data.SqlClient; using <API key>.Models; using <API key>.Classes; namespace <API key>.Controllers { public class <API key> : Controller { public ActionResult InventoryViewView() ...
// Joe Presbrey <presbrey@mit.edu> // 2007-07-15 // 2010-08-08 TimBL folded in Kenny's WEBDAV // 2010-12-07 TimBL addred local file write code $rdf.sparqlUpdate = function() { var anonymize = function (obj) { return (obj.toNT().substr(0,2) == "_:") ? "?" + obj.toNT().substr(2) : obj.toNT(); ...
var async = require('async'); var _ = require('underscore'); var cache = require('./cache.js'); var user = require('./user.js'); var beer = require('./beer.js'); var aUtils = require('./analyseUtils'); exports.getUserCheckins = function(token, username, cb){ user.info(token, username, function(err, userInfo){ if ...
import React from 'react' import Base from '../_helpers/BaseComponent' import classnames from 'classnames' export default class Login extends Base { constructor() { super() } render() { let usernameClasses = classnames({ 'h5': true, 'form-input': true, 'co...
layout: splash title: "Page Not Found" excerpt: "Page not found. Your pixels are in another canvas." sitemap: false permalink: /404.html Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below. <script> var GOOG_FIXURL_LANG = 'en'; var GOOG_FIXURL_SITE = '{{ site.ur...
// Media+CoreDataProperties.h // CDASyncService // to delete and recreate this implementation file for your updated model. #import "Media.h" <API key> @interface Media (CoreDataProperties) @property (nullable, nonatomic, retain) NSNumber *contentItemId; @property (nullable, nonatomic, retain) NSString *fileHash; @pr...
""" Some common utilities. """ from turtle import Turtle def turtle_subclass(name): """ Creates a subclass of Turtle with the given name. """ return type(name, (Turtle,), {}) def translate_methods(cls, translations): """ Creates aliases for method names. """ for method, aliases in transl...
import { Component } from '@angular/core'; import { TuneBookService, FilterSettings } from './business/index'; @Component({ moduleId: module.id, selector: 'etb-filter-text', templateUrl: 'filter-text.component.html', styleUrls: ['filter-text.component.css'] }) export class FilterTextComponent { filt...
<!DOCTYPE html> <html> <head> <title>Peter Jahnes</title> <link rel="stylesheet" type="text/css" href="./style.css"> </head> <body> <div id = "message"> <h1><a href = "http: <h1 id = "link"><a href = "http: </div> </body> </html>