answer
stringlengths
15
1.25M
<div class="post"> <h1><a href="{{ Cupboard::route('posts.show', $post->slug) }}">{{ $post->title }}</a></h1> <div class="date">{{ date("M/d/Y", strtotime($post->publish_date)) }}</div> <div class="content"> {{ $post->parsed_intro }} </div> </div>
@charset "utf-8"; /* CSS Document */ html, body { color: black; background-color: #333; } h1{ color: #e0dfdc; text-shadow: 0 -1px 0 #ffffff, 0 1px 0 #2e2e2e, 0 2px 0 #2c2c2c, 0 3px 0 #2a2a2a, 0 4px 0 #282828, 0 5px 0 #262626, 0 6px 0 #242424, 0 7px 0 #222222, 0 8px 0 #202020, 0 9px 0 #1e1e1e, 0 10px 0 #1c1...
package be.swsb.productivity.chapter5.beans; public abstract class CoffeeBeans { public abstract String scent(); }
'use strict'; var MemoryStats = require('../../src/models/memory_stats') , SQliteAdapter = require('../../src/models/sqlite_adapter') , chai = require('chai') , expect = chai.expect , chaiAsPromised = require('chai-as-promised'); chai.use(chaiAsPromised); describe('MemoryStats', function() { describe('.constr...
package com.zs.leetcode.array; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; public class MergeIntervals { public static void main(String[] args) { } public List<Interval> merge(List<Interval> intervals) { List<Interval> list = new Arra...
# What is this? A script and data for a bot that automatically generates and posts the daily/weekly threads to /r/gamedev, as well as stickies and flairs them as appropriate. # How does it work? It automatically schedules posts, one post type per `/threads` folder. It determines which thread to post by first looking at...
module.exports = { resolve: { alias: { 'vue': 'vue/dist/vue.js' } } }
<reference path="jquery.d.ts" /> var TheBall; (function (TheBall) { (function (Interface) { (function (UI) { var <API key> = (function () { function <API key>(isJSONUrl, urlKey, onUpdate, boundToElements, boundToObjects, dataSourceObjects) { this.isJSONUrl = i...
package bixie.checker.transition_relation; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import bixie.boogie.controlflow.<API key>; import bixie.boogie.controlflow.BasicBlock; import bixie.boogie.controlflow.CfgProcedure; import bixie.boogie.controlflow.expr...
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="layoutclass_pic"><div class="<API key>"><table class="ztable"><tr><th class="ztd1"><b>&nbsp;</b></...
module.exports = { prefix: 'far', iconName: 'road', icon: [576, 512, [], "f018", "M246.7 435.2l7.2-104c.4-6.3 5.7-11.2 12-11.2h44.9c6.3 0 11.5 4.9 12 11.2l7.2 104c.5 6.9-5 12.8-12 12.8h-59.3c-6.9 0-12.4-5.9-12-12.8zM267.6 288h41.5c5.8 0 10.4-4.9 10-10.7l-5.2-76c-.4-5.2-4.7-9.3-10-9.3h-31c-5.3 0-9.6 4.1-10 9.3l-5.2 76c-...
<?php function getHost() { // Determine the "host" (domain) part of the requested resource URL. if(isset($_SERVER['<API key>']) && $host = $_SERVER['<API key>']) { $elements = explode(',', $host); $host = trim(end($elements)); } else { if(!isse...
package ru.ifmo.springaop.namepc; import org.springframework.aop.Advisor; import org.springframework.aop.framework.ProxyFactory; import org.springframework.aop.support.<API key>; import org.springframework.aop.support.<API key>; import ru.ifmo.springaop.staticpc.SimpleAdvice; public class NamePointcutExample { publ...
package fastlanestat import ( "net/http" "html/template" // "fmt" // Import appengine urlfetch package, that is needed to make http call to the api "appengine" "appengine/datastore" ) type ViewContext struct { PricePoints []PricePoint } func viewStatsHandler(w http.Res...
// of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // copies or substantial p...
/** * Created at Aug 20, 2010, 2:58:08 AM */ package com.dmurph.mvc.gui.combo; import java.awt.event.KeyEvent; import java.beans.PropertyChangeEvent; import java.beans.<API key>; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.Iterator; import java.util.LinkedLis...
'use strict'; module.exports = function(config) { config.set({ autoWatch : true, frameworks: ['jasmine'], browsers : ['PhantomJS'], plugins : [ '<API key>', 'karma-jasmine', 'karma-coverage' ], preprocessors: { 'src*.js': ['coverage'] }, rep...
<?php /* Unsafe sample input : use exec to execute the script /tmp/tainted.php and store the output in $tainted sanitize : regular expression accepts everything construction : concatenation with simple quote */ $script = "/tmp/tainted.php"; exec($script, $result, $return); $tainted = $result[0]; $re = "/^.*$/"; if(preg...
using System; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Threading; using System.Web.Mvc; using WebMatrix.WebData; using PersonaMVC4Example.Models; namespace PersonaMVC4Example.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inh...
title: JavaScript ChromeUC [Event][1],: var event = new Event('build.qiu'); elem.addEventListener('build.qiu', function (e) {}, false); elem.dispatchEvent(event); [demo][1] `CustomEvent`, `detail`.`event.detail`: var event = new CustomEvent('build.qiu', {detail: 'hello'}); function eventHandle(e) { console.log(e.deta...
package afk.ge.tokyo.ems.systems; import afk.bot.london.Sonar; import afk.ge.BBox; import afk.ge.ems.Engine; import afk.ge.ems.ISystem; import afk.ge.ems.Utils; import afk.ge.tokyo.ems.components.Camera; import afk.ge.tokyo.ems.components.Display; import afk.ge.tokyo.ems.components.Mouse; import afk.ge.tokyo.ems.compon...
<img src="Z/<API key>.png" alt="Filename type."/>
<?php require_once('vendor/autoload.php');
package models import java.sql.Timestamp case class NodeEntity(id: String, instancesCount: Int) case class InstanceEntity(id: String, nodeId: String, state: String) case class AttributeEntity(instanceId: String, key: String, value: String) case class OperationEntity(instanceId: String, interfaceName: String, operationN...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <a href="" onmouseover="facebook()">Facebook</a> <br> <a href="" onmouseover="google()">goggle</a> <br> <a href="" onmouseover="twitter()">twitter</a> <!--<div id="imgs"></div>--> <br> <img id="imgs" sr...
package view.menuBar.workspace; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import javax.swing.JOptionPane; import view.Constants; import view.ViewController; /** * Class that reads in workspace preference files * * @author Lalita Maraj * @author Susan ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package erp.cfd; import java.io.Serializable; /** * * @author Juan Barajas */ public final class SCfdiSignature implements Serializable { private String msUuid; private String msFechaTimbrado; private Stri...
import traverse from "../lib"; import assert from "assert"; import { parse } from "babylon"; import * as t from "babel-types"; function getPath(code) { const ast = parse(code, { plugins: ["flow", "asyncGenerators"] }); let path; traverse(ast, { Program: function (_path) { path = _path; _path.stop(...
# Open Translators to Things Sample App - Android Sample apps built to Android for Lamp, Shades and Temperature sensors. This README will help get you started running the sample apps. ## Install Tools Get your dev environment set up: * install your Android/Java IDE ## Get the Source Next, clone this repo to your local ...
var Chartist = require('chartist'); module.exports = makePluginInstance; makePluginInstance.<API key> = <API key>; makePluginInstance.scaleValue = scaleValue; function makePluginInstance(userOptions) { var defaultOptions = { dot: { min: 8, max: 10, unit: 'px' }, line: { min: 2, ...
package org.spongepowered.common.entity.ai.goal; import org.spongepowered.api.entity.ai.goal.Goal; import org.spongepowered.api.entity.ai.goal.GoalType; import org.spongepowered.api.entity.living.Agent; public final class SpongeGoalType implements GoalType { private final Class<? extends Goal<? extends Agent>> goal...
#pragma once #include <type_traits> namespace funcpp::typeclass::eq { template <typename T> struct eq_class<T, std::enable_if_t<std::is_scalar<T>::value>> : std::true_type { static bool equal(T const& a, T const& b) { return a == b; } }; }
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) --> <!-- Created: ; Product Code...
exports.BattleStatuses = { brn: { effectType: 'Status', onStart: function (target, source, sourceEffect) { if (sourceEffect && sourceEffect.id === 'flameorb') { this.add('-status', target, 'brn', '[from] item: Flame Orb'); return; } ...
package com.example.profbola.bakingtime.provider; import android.database.sqlite.SQLiteDatabase; import com.example.profbola.bakingtime.provider.RecipeContract.IngredientEntry; import static com.example.profbola.bakingtime.utils.RecipeConstants.<API key>.<API key>; public class IngredientDbHelper { // private static...
//>>built define({widgetLabel:"\u56fe\u5c42\u5217\u8868",noItemsToDisplay:"\u5f53\u524d\u6ca1\u6709\u8981\u663e\u793a\u7684\u9879\u76ee\u3002",<API key>:"\u5728\u5f53\u524d\u6bd4\u4f8b\u4e0b\u4e0d\u53ef\u89c1",layerError:"\u52a0\u8f7d\u6b64\u56fe\u5c42\u65f6\u51fa\u9519",untitledLayer:"\u65e0\u6807\u9898\u56fe\u5c42"})...
<?php namespace Sydes\L10n\Locales; use Sydes\L10n\Locale; use Sydes\L10n\Plural\Rule1; class EuLocale extends Locale { use Rule1; protected $isoCode = 'eu'; protected $englishName = 'Basque'; protected $nativeName = 'euskara'; protected $isRtl = false; }
( function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define( [ "jquery" ], factory ); } else { // Browser globals factory( jQuery ); } } ( function( $ ) { $.ui = $.ui || {}; return $.ui.version = "1.12.1"; } ) );...
<?php /** * TOP API: taobao.xhotel.rate.add request * * @author auto create * @since 1.0, 2013-12-10 16:57:25 */ class <API key> { private $addBed; private $addBedPrice; /** * CNY **/ private $currencyCode; /** * gidid **/ private $gid; private $inventoryPrice; p...
import java.util.Iterator; import java.util.<API key>; @SuppressWarnings("unchecked") public class RandomizedQueue<Item> implements Iterable<Item> { private Item[] _arr; private int _length = 0; private void resize(int newLength) { if (newLength > _arr.length) newLength = 2 * _arr.length; el...
//#include "Mesure.h" //Mesure *m; //void setup() //void loop() // m = new Mesure(13,20,4,4); // m->addNote(Note_E,4,NOIR); // m->addNote(Note_E,4,NOIR); // m->addNote(Note_E,4,NOIR); // m->addNote(Note_C,4,NOIR); // m->play(); // m = new Mesure(13,20,4,4); // m->addNote(Note_E,4,NOIR); // m-...
' ' <auto-generated> ' This code was generated by a tool. ' Runtime Version:4.0.30319.42000 ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' </auto-generated> ' Option Strict On Option Explicit On Namespace My <Global.System.Runtime.CompilerServi...
<?php namespace Robo\Task\FileSystem; use Robo\Result; /** * Mirrors a directory to another * * ``` php * <?php * $this->taskMirrorDir(['dist/config/' => 'config/'])->run(); * // or use shortcut * $this->_mirrorDir('dist/config/', 'config/'); * * ?> * ``` */ class MirrorDir extends BaseDir { public funct...
# Makefile.in generated by automake 1.10.1 from Makefile.am. # Makefile. Generated from Makefile.in by configure. # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # with or without modifications, as long as this notice is preserved. ...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using Microsoft.Owin.Security.Cookies; usi...
import * as types from '@/store/mutation-types'; export default { namespaced: true, state: { type: 0, catId: 0 }, getters: { [types.STATE_INFO]: state => { return state.type + 3; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Dx.Wopi.Models { public class <API key> : <API key> { public bool SupportsCobalt { get; set; } public bool SupportsContainers { get; set; } public bool ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>bdds: Not compatible </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel...
package com.company; import java.util.Scanner; public class <API key> { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); double budget = Double.parseDouble(scanner.nextLine()); int numberOfItems = Integer.parseInt(scanner.nextLine()); double subTotal...
document.observe('click', function(e, el) { if (el = e.findElement('form a.add_nested_fields')) { // Setup var assoc = el.readAttribute('data-association'); // Name of child var target = el.readAttribute('data-target'); var blueprint = $(el.readAttribute('data-blueprint-id')); var cont...
<hr /> <div class="post-nav"> {{if .Prev}}<a class="prev-post" href="/posts/{{.Prev.File}}">&lt;- {{.Prev.Title}}</a>{{end}} {{if .Next}}<a class="next-post" href="/posts/{{.Next.File}}">{{.Next.Title}} -&gt;</a>{{end}} </div>
import java.io.IOException; import java.util.Scanner; import iterators.*; import User.User; public class main { public static void zad1(ArrayIterator it){ PredicateCoN pred = new PredicateCoN(4); PredicateCoN pred2 = new PredicateCoN(2); IteratorCoN con = new IteratorCoN(it,pred); It...
-- <API key>.sql -- Stage 1 Entrance Exams Results. -- Written by Radislav (Radicchio) Golubtsov, 2021 insert into <API key> (subject_name) values ('Экономика организации'); insert into <API key> (subject_name) values ('Основы менеджмента'); insert into <API key> (subject_name) values ('Охрана труда. Охрана окружающей ...
#Indivisible modding tools ![lantern banner](data/banner.png) **Links** - [Get the newest release of Lantern](https://github.com/0xFAIL/lantern/releases) - [Get the game](http://indivisiblegame.com/) **License for** - Lantern: MIT license - PYQT: GPL3 - QT: LGPL3 Icon used was commissioned from 7Soul1 [Deviantart](http...
import { Component } from 'vidom'; import { DocComponent, DocTabs, DocTab, DocAttrs, DocAttr, DocExample, DocChildren, DocText, DocInlineCode } from '../../Doc'; import SimpleExample from './examples/SimpleExample'; import simpleExampleCode from '!raw!./examples/SimpleExample.js'; export default function ModalDoc({ tab...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class <API key> extends CI_Model { function __construct() { parent::__construct(); $this->load->database(); } public function selectStudent () { $this->db->select("student_id,full_name, <API key>, email, location")...
/** * A DOM drawable (div element) that contains child blocks (and is placed in the main DOM tree when visible). It should * use z-index for properly ordering its blocks in the correct stacking order. * * @author Jonathan Olson <jonathan.olson@colorado.edu> */ import toSVGNumber from '../../../dot/js/toSVGNumber.j...
"use strict"; /** * Broadcast updates to client when the model changes */ Object.defineProperty(exports, "__esModule", { value: true }); var product_events_1 = require("./product.events"); // Model events to emit var events = ['save', 'remove']; function register(socket) { // Bind model events to socket events ...
<?php add_action( 'genesis_loop', 'genesis_do_loop' ); /** * Attach a loop to the `genesis_loop` output hook so we can get some front-end output. * * @since 1.1.0 */ function genesis_do_loop() { if ( is_page_template( 'page_blog.php' ) ) { $include = genesis_get_option( 'blog_cat' ); $exclude = ...
#include"c1.h" typedef char InfoType; #define MAX_Info 80 #define MAX_VERTEX_NAME 3 typedef char VertexType[MAX_VERTEX_NAME]; #include"c7-3.h" #include"bo7-3.c" Status visit(VertexType v) { printf("%s ",v); return OK; } void main() { int j,k,n; OLGraph g; VertexType v1,v2; CreateDG(&g); ...
package app.location; import app.core.BaseEntity; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; @NoArgsConstructor @AllArgsConstructor @Getter @Setter @Entit...
'use strict'; var push = Array.prototype.push; var pop = Array.prototype.pop; var <API key> = function (modelValue, stateName, type, opts, setWithPayload, copts) { if ( opts === void 0 ) opts = {}; if ( copts === void 0 ) copts = {}; if (process.env.NODE_ENV === 'development' && (!modelValue || !stateName || !typ...
// The file contents for the current environment will overwrite these during build. // The build system defaults to the dev environment which uses `environment.ts`, but if you do // `ng build --env=prod` then `environment.prod.ts` will be used instead. // The list of which env maps to which file can be found in `angula...
#pragma once #include "Vector2.h" class Aabb { public: Aabb() = default; Aabb(const Vector2& origin, const Vector2& halfExtents); Aabb(const SDL_Rect& rect); Aabb& Union(const Aabb& other); float MinX() const; float MaxX() const; float MinY() const; float MaxY() const; void ToRect(SD...
<?php namespace DeliciousBrains\WP_Offload_SES\Aws3\Aws\Api\Parser; use DeliciousBrains\WP_Offload_SES\Aws3\Aws\Api\Service; use DeliciousBrains\WP_Offload_SES\Aws3\Aws\Api\StructureShape; use DeliciousBrains\WP_Offload_SES\Aws3\Aws\CommandInterface; use DeliciousBrains\WP_Offload_SES\Aws3\Aws\ResultInterface; use Deli...
<div class="row"> <div class="large-15 medium-15 columns"> <h3>Registro de usuario</h3></br> </div> </div> <div class="row"> <div class="large-4 medium-4 columns"> Username </div> <div class="large-8 medium-4 columns"> <input type="text" ng-model="username"/> </div> </div> <div class="row"> <d...
var <API key> = [ [ "ModExtensionsUI", "<API key>.html", "<API key>" ], [ "ModList", "<API key>.html", "<API key>" ] ];
# 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::Compute::Mgmt::V2015_06_15 module Models # Contains the os disk image information. class OSDiskImage include MsRestAzure ...
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; using Telegram.Bot.Types.Enums; namespace Telegram.Bot.Types { <summary> This object contains information about one member of the chat. </summary> [JsonObject(MemberSerialization.OptIn, NamingStra...
// Karma configuration // Generated on Wed Jun 01 2016 16:04:37 GMT-0400 (EDT) module.exports = function (config) { config.set({ basePath: '', frameworks: ['mocha', 'browserify'], // include only tests here; browserify will find the rest files: [ 'test*-spec.+(js|jsx)' ...
#ifndef <API key> #define <API key> #include "../RenderSystem/StreamedRenderPass.h" #include "../Debug/CascadedShadowMaps.h" DC_BEGIN_DREEMCHEST namespace Scene { //! Renders bounding boxes for all static meshes that reside in scene. class DebugStaticMeshPass : public StreamedRenderPass<StaticMesh> { public...
MethodTrails ========= MethodTrails visualizes the method call graph of Ruby source code. It generates a dot file that can be viewed with Graphviz. ## Source Code ## Main repository is at [http: ## Contributors: ## * [djwonk](http://github.com/djwonk) i.e. David James ## Prequisities ## MethodTrails requires Ruby 1.9.
<?php return [ 'debug' => env('APP_DEBUG'), 'url' => 'http://localhost', 'timezone' => 'UTC', 'locale' => 'en', 'fallback_locale' => 'en', 'key' => env('APP_KEY', 'SomeRandomString'), 'cipher' => MCRYPT_RIJNDAEL_128, 'log' => 'daily', 'providers' => [ /* * Laravel Fr...
<?php namespace Asad\Core\Bundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class AsadCoreBundle extends Bundle { }
package Variation_Diff.validation; /** * A sample validator interface for {@link Variation_Diff.EntityType}. * This doesn't really do anything, and it's not a real EMF artifact. * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended. * T...
import 'babel-polyfill'; import EdgeGrid from 'edgegrid'; import dotenv from 'dotenv'; import inquirer from 'inquirer'; import formatJson from 'format-json'; import fs from 'fs'; (async function() { // load .env vars dotenv.config(); let papiResponses = new Map(); const edgegrid = new EdgeGrid({ ...
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>SoundCity Prototyp: Klassen-Elemente</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Erzeugt von...
import {Component, Inject} from "@angular/core"; import {HighLevelComponent, GENERIC_INPUTS, GENERIC_BINDINGS} from "../common/component"; import {<API key>} from "./../../renderer/renderer"; import {ReactNativeWrapper} from "../../wrapper/wrapper"; @Component({ selector: 'TabBar', inputs: [ 'barTintColor', 'it...
export default { Control : require('./Control'), Delete : require('./Delete'), Detail : require('./Detail'), Head : require('./Head'), Quit : require('./Quit'), };
// modification, are permitted provided that the following conditions are met: // // documentation and/or other materials provided with the distribution. // // * Neither the name of the IMSE-CNM nor the names of its contributors may // // be used to endorse or promote products derived from this...
import Game from '../models/game' class Store { constructor() { const game = new Game({ onTick: () => { this.ui.game.update() } }) const { snake, map } = game this.snake = snake this.map = map this.game = game game.start() this.ui = {} this.data = { map, ...
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <_cash_discount_.hpp> START_ATF_NAMESPACE namespace Info { using <API key> = void (WINAPIV*)(struct _cash_discount_*); using <API key> = v...
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: <API key>("")] [asse...
struct pair { int m[2]; }; struct pair f(void); main() { return f().m[0]; // not an lvalue, can't `operator.' // need better warning }
<p>This is the <?=$name?> view</p>
class Repositext class Subtitle class Operation # Represents a move right subtitle operation. class MoveRight < Operation def inverse_operation Subtitle::Operation.new_from_hash( affected_stids: <API key>, operation_id: '', operation_type: :move_le...
(function () { 'use strict'; angular.module('app.layout', ['app.core', 'ui.bootstrap.collapse']); })();
<?php namespace Core\UserBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; use JMS\Serializer\Annotation as JMS; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; /** * @ORM\Entity * @ORM\Table(name="google_accounts", indexes={@ORM\Index(columns={"use...
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # (at your option) any later version. # MantisBT is distributed in the hope that it will be useful, # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the require_once( 'core.php' ); plugin_requ...
/** * @class Oskari.mapframework.bundle.layerselector2.view.PublishedLayersTab * */ Oskari.clazz.define("Oskari.mapframework.bundle.layerselector2.view.PublishedLayersTab", /** * @method create called automatically on construction * @static */ function (instance, title) { //"use strict...
# Rethinker ## A Ruby ORM for RethinkDB **Source:** [github.com/databasify/rethinker](https://github.com/databasify/rethinker) <small>Based on [NoBrainer](https://github.com/nviennot/nobrainer)</small> . Connect to RethinkDB. Connection string takes the form `rethinkdb://<hostname>/<database>`. Currently, Rethinker...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>P&P Proyectos - Proyectos con Sentido</title> <!-- Bootstrap --> <link href="css/bootstrap.css" rel="...
#!/usr/bin/env python import time from nicfit.aio import Application async def _main(args): print(args) print("Sleeping 2...") time.sleep(2) print("Sleeping 0...") return 0 def atexit(): print("atexit") app = Application(_main, atexit=atexit) app.arg_parser.add_argument("--example", help="Exampl...
require 'spec_helper' describe PolarExpress do context 'Gem Basics' do it "creates a new instance of the gem" do @tracker = PolarExpress.new('DHL', '1234') @tracker.should respond_to :shipping_number end end end
# Changelog ## 0.2.4 (2015.02.06) * Upgrade to angularjs v1.3.12 * Upgrade to oauth-ng v0.3.8 ## 0.2.2 (2014.11.03) * Fixed problem on dist ## 0.2.1 (2014.11.03) * Upgrade to angularjs v1.2.26 * Upgrade to oauth-ng v0.3.0 ## 0.2.0 (2014.08.13) * Added caching system * Added provider for configuration * Moved the oauth ...
// +build linux darwin freebsd netbsd openbsd solaris package clif import ( "os" "runtime" "syscall" "unsafe" ) func init() { TermWidthCall = func() (int, error) { w := new(termWindow) tio := syscall.TIOCGWINSZ if runtime.GOOS == "darwin" { tio = TERM_TIOCGWINSZ_O...
<?php declare(strict_types=1); namespace Tests\Router\Apps\AppWithoutBasePaths\Controllers; class Pet { #[Route( path: '/api/v1/petLeevel/{petId:[A-Za-z]+}/', )] private function demo(): void { } }
<?php namespace CoreBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Gedmo\Mapping\Annotation as Gedmo; /** * FriendsGroup * * @ORM\Table(name="friends_group") * @ORM\Entity(repositoryClass="CoreBundle\Repository\<API key>") */ class FriendsGroup { /** * @var int * * @ORM\Column(name="id", ty...
export * from './<API key>.module';
using System; using System.Net; using System.Net.Sockets; using System.Reflection; using Hik.Communication.Scs.Communication.EndPoints.Tcp; namespace Hik.Communication.Scs.Client.Tcp { <summary> This class is used to simplify TCP socket operations. </summary> internal static class TcpHelper { ...