answer stringlengths 15 1.25M |
|---|
<?php
namespace Sonata\MediaBundle\Tests\Validator;
use Sonata\MediaBundle\Provider\Pool;
use Sonata\MediaBundle\Validator\Constraints\ValidMediaFormat;
use Sonata\MediaBundle\Validator\FormatValidator;
class FormatValidatorTest extends \<API key>
{
public function testValidate()
{
$pool = new Pool('def... |
layout: page
title: "2016Google-Not So Random"
subheadline:
teaser: "Google APAC 2016 University Graduates Test Round E Problem CGoogle..."
categories:
- share
- algorithm
tags:
- Algorithm
header: no
image:
thumb: <API key>.jpg
title: gallery-example-4.jpg
caption: Google 2016 ACPC University G... |
require "rails_helper"
describe Linter::Shellcheck do
it_behaves_like "a linter" do
let(:lintable_files) { %w(foo.sh foo.zsh foo.bash) }
let(:not_lintable_files) { %w(foo.js) }
end
describe "#file_review" do
it "returns a saved and incomplete file review" do
commit_file = build_commit_file(filen... |
-- This query extracts dose+durations of neuromuscular blocking agents
-- Note: we assume that injections will be filtered for carevue as they will have starttime = stopttime.
-- Get drug administration data from CareVue and MetaVision
-- metavision is simple and only requires one temporary table
with drugmv as
(
sel... |
<API key>
=======================
Experiments in cryptocurrency market data parsing/processing |
#ifndef ABB_VALUE_H
#define ABB_VALUE_H
#include <type_traits>
#include <tuple>
namespace abb {
class und_t {};
class pass_t {};
const und_t und;
const pass_t pass;
template<typename Value>
struct is_und : std::is_same<Value, und_t> {};
template<typename Value>
struct is_pass : std::is_same<Value, pass_t> {};
template<... |
#ifndef <API key>
#define <API key>
/*!\name Blaze kernel functions */ |
<?php
namespace Kuxin\Helper;
/**
* Class Collect
*
* @package Kuxin\Helper
* @author Pakey <pakey@qq.com>
*/
class Collect
{
/**
*
*
* @param $data
* @return bool|mixed|string
*/
public static function getContent($data, $header = [], $option = [])
{
if (is_string($dat... |
/**
* JS for the player character.
* * * * */
import * as Consts from './consts';
var leftLeg;
var rightLeg;
var leftArm;
var rightArm;
const BODY_HEIGHT = 5;
const LEG_HEIGHT = 5;
const HEAD_HEIGHT = Consts.BLOCK_WIDTH * (3/5);
const SKIN_COLORS = [0xFADCAB, 0x9E7245, 0x4F3F2F];
const BASE_MAT = new THREE.MeshLamber... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112-google-v7) on Fri Jul 21 13:02:32 PDT 2017 -->
<title>Resetter</title>
<meta name="date" content="2017-07-21">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/ja... |
blocklevel = ["blockquote", "div", "form", "p", "table", "video", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "details", "article", "header", "main"]
def normalizeEnter(src):
#Deletes all user defined for readability reason existing line breaks that are issues for the HTML output
for elem in blocklevel:
w... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class DataQuestionnaire extends Model
{
protected $fillable = ['game_question', '<API key>', 'study_evaluation'];
/**
* Relationship with parent DataParticipant.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
... |
# riemann-stream
Stream events from Riemann on CLI |
_rm: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec ... |
layout: page
title: About Us
permalink: /about/
Just started in 2015, we bring passion and energy to the industry backed by years of real-world experience. We strive to make our software both useful and usable, which can often be a fun challenge in today's fast-paced world.
We are woman-owned small business based out... |
# Editing a document with Vim
Today was the first time I used Vim to edit a text file. I'd previously install Vim and attempted to play around with it, but I had no clue what I was doing and abandoned it until now.
My issue was that I couldn't figure out how to actually add or edit the contents of a text file. Silly, I... |
<?php
namespace Tests\Map\Gazzetta;
use PHPUnit\Framework\TestCase;
use FFQP\Map\Gazzetta\<API key>;
class <API key> extends TestCase
{
public function testExtractRows()
{
$map = new <API key>();
$this->assertInternalType('int', 3);
$rows = $map->extractRows('tests/fixtures/<API key>.xls... |
#ifndef <API key>
#define <API key>
typedef int64_t mp_time_t;
typedef struct <API key> {
uint16_t tm_year; // i.e. 2014
uint8_t tm_mon; // 1..12
uint8_t tm_mday; // 1..31
uint8_t tm_hour; // 0..23
uint8_t tm_min; // 0..59
uint8_t tm_sec; // 0..59
... |
<?php
namespace ObjectStorage\Test\Adapter;
use ObjectStorage\Adapter\<API key>;
use ObjectStorage\Adapter\<API key>;
use ParagonIE\Halite\KeyFactory;
use ParagonIE\Halite\Symmetric\Crypto;
use ParagonIE\HiddenString\HiddenString;
use PHPUnit\Framework\Constraint\LogicalNot;
use PHPUnit\Framework\TestCase;
class <API k... |
package com.github.kolandroid.kol.model.elements.basic;
import com.github.kolandroid.kol.model.elements.interfaces.ModelGroup;
import java.util.ArrayList;
import java.util.Iterator;
public class BasicGroup<E> implements ModelGroup<E> {
/**
* Autogenerated by eclipse.
*/
private static final long seria... |
import Ember from 'ember';
import {
module,
test
} from 'qunit';
import startApp from 'superhero/tests/helpers/start-app';
import characterData from '../fixtures/character';
var application, server;
module('Acceptance: Character', {
beforeEach: function() {
application = startApp();
var character = charac... |
#ifndef <API key>
#define <API key>
#include <vector>
#include <common/event.h>
#include <external/mock_external.h>
typedef std::pair<time_t, Event> mock_index_events_t;
std::vector<Event> json_to_events(const std::string json, bool & ok);
std::string results(std::vector<mock_index_events_t> index_events,
... |
// <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 Genius.VisualStudio.BaseEditors.Properties {
using System;
<summary>
A strongly-typed resource class, for ... |
#!/usr/bin/perl -w
use strict;
use Getopt::Long;
use FindBin qw($Bin $Script);
use File::Basename qw(basename dirname);
use Data::Dumper;
use lib "/home/zhoujj/my_lib/pm";
use bioinfo;
&usage if @ARGV<1;
#open IN,"" ||die "Can't open the file:$\n";
#open OUT,"" ||die "Can't open the file:$\n";
sub usage {
my $u... |
<table>
<thead>
<tr>
<th>Nombre</th>
<th>RUT</th>
<th>Sexo</th>
<th>Dirección</th>
<th>Ciudad/Comuna</th>
</tr>
</thead>
<tbody>
</tbody>
</table> |
\begin{tikzpicture}
\begin{axis}[
width=9cm,height=6cm,
ymin=0,
ytick align=outside,
axis x line*=bottom,axis y line*=left,
tick label style={
/pgf/number format/assume math mode=true,
/pgf/number format/1000 sep={}
},
ylabel={\# citations},
% enlargelimits=0.15,
ybar... |
.<API key>{width:100%;clear:both;display:inline-block;border-bottom:3px solid #000}.<API key>{width:25%;float:left;display:inline-block;border:1px solid #000}.channel-meta{width:74%;float:left;display:inline-block}.channel-meta h1{text-align:center;margin:0}.channel-meta h2{text-align:center}.channel-meta p.owner{text-... |
#!/usr/bin/env node
(function () {
var DirectoryLayout = require('../lib/index.js'),
program = require('commander'),
options;
program
.version('1.0.2')
.usage('[options] <path, ...>')
.option('-g, --generate <path> <<API key>>', 'Generate directory layout')
.optio... |
layout: post
title: "Seek for Sole External Sponsor"
date: 2017-08-08 18:00:00
isStaticPost: false
We are seeking for one more sponsor except ShanghaiTech University to cover the expenses of awarding excellent presenters. Note that you cannot title the event, you can only show here at the website and in the final aw... |
var <API key> =
[
[ "GameDatabase", "<API key>.html#<API key>", null ],
[ "AddGame", "<API key>.html#<API key>", null ],
[ "GetAllGames", "<API key>.html#<API key>", null ],
[ "GetGameByUUID", "<API key>.html#<API key>", null ],
[ "GetGamesByName", "<API key>.html#<API key>", null ],
[ "GetGames... |
package org.winterblade.minecraft.harmony.api.questing;
import org.winterblade.minecraft.scripting.api.<API key>;
import org.winterblade.minecraft.scripting.api.<API key>;
public enum QuestStatus {
INVALID, ACTIVE, LOCKED, COMPLETE, CLOSED;
@<API key>(deserializes = QuestStatus.class)
public static class De... |
package leetcode11_20;
/**Given a linked list, remove the nth node from the end of list and return its head.
For example, Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the linked list becomes 1->2->3->5.
Note: Given n will always be valid. Try to do this in one pass.
*/
p... |
package org.kohsuke.github;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.URLEncoder;
import java.util.Collections;
import java.util.Date;
import java.util.List;... |
import cairo
from gi.repository import Gtk
from gi.repository import Gdk
from pylsner import plugin
class Window(Gtk.Window):
def __init__(self):
super(Window, self).__init__(skip_pager_hint=True,
skip_taskbar_hint=True,
)
self... |
<!DOCTYPE html>
<html>
<head>
<title>likeness:Configuration#children~details documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../../index.css" />
<link rel="stylesheet" type="text/css" href="../../../../../../../../highlight.css" />
<script type="text/javascript" src=... |
<?php $t = $a->getThing(); ?>
<div class="linkitem item-flavour-<?php echo $a->getFlavour() ?>" id="link-item-<?php echo $a->getId(); ?>">
<?php if (isset($nopos)): ?>
<span class="itempos"> </span>
<?php else: ?>
<span class="itempos"><?php echo $pos; ?></span>
<?php endif; ?>
<div class="votebtn"... |
import { Physics as EightBittrPhysics } from "eightbittr";
import { FullScreenPokemon } from "../FullScreenPokemon";
import { Direction } from "./Constants";
import { Character, Grass, Actor } from "./Actors";
/**
* Physics functions to move Actors around.
*/
export class Physics<Game extends FullScreenPokemon> exten... |
import {Model} from '../../models/base/Model';
import {Subject} from 'rxjs/Subject';
import {BaseService} from '../BaseService';
import {ActivatedRoute, Router} from '@angular/router';
import {UserRights, UserService} from '../../services/UserService';
import {ListTableColumn} from './ListTableColumn';
import {Behavior... |
# Given the list values = [] , write code that fills the list with each set of numbers below.
# a.1 2 3 4 5 6 7 8 9 10
list = []
for i in range(11):
list.append(i)
print(list) |
using System;
using System.IO;
using System.ServiceProcess;
using InEngine.Core;
//using Mono.Unix;
//using Mono.Unix.Native;
namespace InEngine
{
class Program
{
public const string ServiceName = "InEngine.NET";
public static ServerHost ServerHost { get; set; }
static void Main(string[]... |
// JavaScript Document
$(document).ready(function() {
$('form input[type="file"]').change(function() {
var filename = $(this).val();
$(this).prev('i').text(filename);
});
$('.input-file').click(function() {
$(this).find('input').click();
});
/*
* Previene doble click e... |
<?php
namespace App\Jobs;
use App\Jobs\Job;
use App\Models\API\Outpost;
use DB;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Log;
use Pheal\Pheal;
class UpdateOutpostsJob extends Job implements ShouldQueue
{
use InteractsWithQueue, S... |
using System;
using System.Net;
using Jasper.Configuration;
using Jasper.Runtime;
using Jasper.Transports;
using Jasper.Transports.Sending;
using Jasper.Util;
namespace Jasper.Tcp
{
public class TcpEndpoint : Endpoint
{
public TcpEndpoint() : this("localhost", 2000)
{
}
public Tc... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>TITLE</title>
<style type="text/css" media="screen">
body {
font-family: sans-serif;
}
</style>
</head>
<body>
<p>HELLO</p>
<script type="text/javascript">
</script>
</body>
</html> |
// KontaktSDK
@import Foundation;
#import "KTKNearbyDevice.h"
<API key>
@protocol <API key>;
#pragma mark - External Constants
extern NSTimeInterval const <API key>;
#pragma mark - Type Definition
/**
* Nearby devices discovery mode.
*/
typedef NS_ENUM(NSUInteger, <API key>) {
/**
* Discovery mode Auto de... |
<div class="ui right aligned grid">
<div class="right aligned column">
<span *ngIf="currentState == 'save as' && endPointForm.valid">
<a mat-mini-fab routerLink="." color='primary' (click)="createEndPoint()"><mat-icon>content_copy</mat-icon></a>
save as
</span>
... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Palestrantes_model extends CI_Model {
private $id;
private $nome;
private $foto;
public function __construct() {
parent::__construct();
}
public function setId($id) {
$this->id = $id;
}
publi... |
Thanks for reading. You can put me down now. |
<?php
namespace Acast;
/**
*
* @package Acast
*/
abstract class Middleware {
/**
*
* @var array
*/
protected static $_middleware = [];
/**
*
*
* @param string $name
* @param callable $callback
*/
static function register(string $name, callable $callback) {
... |
clean "/tmp" do
copy "*.*", to: "/test"
end |
using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
namespace EmptyKeys.UserInterface.Generator.Types
{
<summary>
Implements List B... |
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include <config.h>
#include <string.h>
/* include first for logging related #define used in repo.h */
#include <util/log.h>
#include "union.h"
#include "arg.h"
#include "object.h"
#include <cjs/gjs-module.h>
#include <cjs/compat.h>
#include "repo.h"
#inc... |
using System.Collections.Generic;
using System.Diagnostics;
using System;
namespace Orleans.Runtime
{
internal class Constants
{
// This needs to be first, as GrainId static initializers reference it. Otherwise, GrainId actually see a uninitialized (ie Zero) value for that "constant"!
public sta... |
// FastTemplate
// 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 ... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bs" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About phreak</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+... |
<?php
namespace phpnt\cropper\assets;
use yii\web\AssetBundle;
class DistAsset extends AssetBundle
{
public $sourcePath = '@vendor/phpnt/yii2-cropper';
public $css = [
'css/crop.css'
];
public $images = [
'images/'
];
} |
genkinstargetDEBUG,PRE_RELEASE)
## githubrepo
git remote add origin <API key>
git branch --set-upstream master origin/master #track local master branch to origin/master
git add *
git commit -m 'first commit'
git pull origin master
git push origin master
## genkinsbuild item
## Target |
layout: post
date: 2015-08-29
title: "Alessandro Angelozzi 101 Sleeveless Chapel Train Sheath/Column"
category: Alessandro Angelozzi
tags: [Alessandro Angelozzi,Alessandro Angelozzi ,Sheath/Column,One shoulder,Chapel Train,Sleeveless]
Alessandro Angelozzi 101
Just **$309.99**
Sleeveless Chapel Train Sheath/Column
<tabl... |
require 'vcr'
require 'vcr/rspec'
VCR.config do |c|
c.<API key> = 'spec/vcr'
c.<API key> = :webmock
c.<API key> = { :record => :new_episodes }
end
RSpec.configure do |c|
c.extend VCR::RSpec::Macros
end |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace <API key>
{
public class Loan
{
public int Owed { get; set; }
public int MonthlyPayment { get; set; }
}
} |
layout: post
published: true
title: Why we switched from AWS Lightsail to EC2 for Gitlab
imagefeature: blog/<API key>.png
mathjax: false
featured: true
comments: false
description: AWS Lightsail vs AWS EC2
categories:
- aws
tags: ec2 aws lightsail vpc
canonical: https:
Gitlab can do Continuous Integration, Continuous... |
// BASE64
#ifndef _INCLUDE_BASE64_H
#define _INCLUDE_BASE64_H
#include <stdio.h>
#include <stdlib.h>
#include "sqlite3.h"
// Base64
static char encoding_table[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
'Q', 'R', 'S... |
Application.class_eval do
get '/' do
if current_user
@sites = ABPlugin::API.sites(
:include => {
:envs => true,
:categories => {
:include => {
:tests => {
:include => {
:variants => {
:methods => :for... |
<?php
namespace Wahlemedia\Showroom\Updates;
use Schema;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;
class <API key> extends Migration
{
public function up()
{
Schema::table('<API key>', function (Blueprint $table) {
$table->text('short_descriptio... |
# Integrations
## Google Cloud SCC
- Updated the Docker image to: *demisto/google-api-py3:1.0.0.27143*.
- Fixed an issue where the ***test-module*** command would fail when using a custom certificate. |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header" role="heading">
<h1 class="entry-title">
<?php if( !is_single() ) : ?>
<a href="<?php the_permalink(); ?>">
<?php the_title(); ?>
</a>
<?php else: ?>
<?php the_title(); ?>
... |
module Days
class App < Sinatra::Base
get "/admin/users", :admin_only => true do
@users = User.all
haml :'admin/users/index', layout: :admin
end
get "/admin/users/new", :admin_only => true do
@user = User.new
haml :'admin/users/form', layout: :admin
end
post "/admin/users",... |
"""
Tests for L{monotone}.
"""
from hypothesis import given, strategies as st
import errno
from monotone import get_clock_info, monotonic
from monotone import _api, _bindings
import os
import platform
import pytest
needs_posix = pytest.mark.skipif(
os.name == "posix" and platform.system() == "Darwin",
reason="P... |
import require from 'require';
function getDescriptor(obj: Record<string, unknown>, path: string) {
let parts = path.split('.');
let value: unknown = obj;
for (let i = 0; i < parts.length - 1; i++) {
let part = parts[i]!;
// NOTE: This isn't entirely safe since we could have a null!
value = (value as ... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/fav... |
<?php
namespace TenUp\Doze\v1_0_0;
use <API key>;
use Text_Template;
use WP_Mock;
use WP_Mock\Tools\TestCase as BaseTestCase;
class TestCase extends BaseTestCase {
public function run( <API key> $result = null ) {
$this-><API key>( false );
return parent::run( $result );
}
protected $testFil... |
<?php
namespace Oro\Bundle\CalendarBundle\Form\EventListener;
use Doctrine\Common\Collections\Collection;
use Oro\Bundle\CalendarBundle\Entity\Attendee;
use Symfony\Component\EventDispatcher\<API key>;
use Symfony\Component\Form\FormEvent;
use Symfony\Component\Form\FormEvents;
/**
* Makes sure indexes of attendees fr... |
package com.lynx.service;
import java.util.Collection;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Service;
import com.lynx.domain.User;
import com.lynx.repository.UserRepository;
import lomb... |
var _ = require('underscore');
var colors = require('colors');
var sprintf = require('sprintf-js').sprintf;
/**
* used to decode AIS messages.
* Currently decodes types 1,2,3,4,5,9,18,19,21,24,27
* Currently does not decode 6,7,8,10,11,12,13,14,15,16,17,20,22,23,25,26
* Currently does not support the USCG Ex... |
#!/bin/bash
set -ex
mkdir /chroot
mkdir /chroot/bin
mkdir /chroot/lib
mkdir /chroot/lib64
mkdir /chroot/dev
mkdir /chroot/tmp
mkdir /chroot/var
# # debootstrap
# debootstrap saucy /chroot
# busybox
cp /bin/busybox /chroot/bin/sh
cp /lib64/ld-linux-x86-64.so.2 /chroot/lib64/ld-linux-x86-64.so.2
cp /lib/x86_64-linux-gnu/... |
# Wateruby
Interesting twist of ruby language: YAML contains fragments of ruby, that can be composed. Compiles to ruby. Art of true metaprogramming and code generation.
## Installation
Add this line to your application's Gemfile:
ruby
gem 'wateruby'
And then execute:
$ bundle
Or install it yourself as:
$ gem in... |
#ifndef <API key>
#define <API key>
#include "<API key>.h"
#include "Cell_Data.h"
#include "Fem_Quadrature.h"
#include "Input_Reader.h"
#include <algorithm>
/** @file <API key>.h
* @author pmaginot
* @brief Base class to implement interface for various measures to assess convergence of phi: L1, L2 , rho norma... |
package ui
import (
"image"
"image/color"
"image/draw"
)
// UI represents an instance of the UI
type UI struct {
component
WindowTitle string
Input Input
keyFuncs map[Key]func() error
prevX, prevY int
}
// New creates a new UI instance
func New(width, height int) *UI {
re... |
# <API key>: true
require 'basquiat/adapters/rabbitmq_adapter'
RSpec.describe Basquiat::Adapters::RabbitMq do
subject(:adapter) { Basquiat::Adapters::RabbitMq.new }
let(:base_options) do
{ connection: { hosts: [ENV.fetch('<API key>') { 'localhost' }],
port: ENV.fetch('<API key>') { 5672 } }... |
App.Collections.Contacts = Backbone.Collection.extend({
model : App.Models.Contact,
localStorage: new Backbone.LocalStorage('my-contacts')
}); |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.09.02 at 01:00:06 PM UYT
package dgi.classes.respuestas.reporte;
import javax.xml.bind.annotation.X... |
# Multilingual ShapeWorld
Table of content
- [Dependency Minimal Recursion Semantics (DMRS)](#<API key>)
- [Linearized DMRS Notation (LDN)](#<API key>)
+ [How to go from MRS to DMRS using LDN](#<API key>)
- [How to integrate the grammar for another language](#<API key>)
+ [Caption components](#caption-component... |
package org.scalajs.openui5.sap.m
import org.scalajs.openui5.sap.ui.core.{CSSSize, Wrapping}
import org.scalajs.openui5.util.{Settings, SettingsMap, noSettings}
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSName, ScalaJSDefined}
@ScalaJSDefined
trait TextAreaSettings extends InputBaseSettings
object Tex... |
using UnityEngine;
using System.Collections;
namespace Com.LuisPedroFonseca.ProCamera2D.TopDownShooter
{
public class EnemyAttack : MonoBehaviour
{
public float RotationSpeed = 2f;
public Pool BulletPool;
public Transform WeaponTip;
public float FireRate = .3f;
public flo... |
import * as React from 'react';
import { Ratings, Mode, Size, Layout } from '..';
import * as examples from './examples';
import {
header,
api,
divider,
importExample,
playground,
tab,
code as baseCode,
tabs,
testkit,
title,
} from 'wix-storybook-utils/Sections';
import { allComponents } from '../..... |
import * as path from 'path';
import { EmptyTree } from '@angular-devkit/schematics';
import { SchematicTestRunner, UnitTestTree } from '@angular-devkit/schematics/testing';
describe('Update 6.1.0', () => {
let appTree: UnitTestTree;
const schematicRunner = new SchematicTestRunner('ig-migrate', path.join(__dirn... |
# Minion_Game
This is a project for a game that I currently work on with a friend. We decided to use github to enable both of us to work on the project simultaneously. Due to the way githubs payment model works, we decided to upload the code into a public repository, while keeping compilation instructions and assets pr... |
package cn.jzvd.demo;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AbsListView;
import android.widget.BaseAdapter... |
const assert = require('assert') |
// @public
import RavenType = require('raven-js');
import {Breadcrumb, CaptureOptions, User} from './interface';
export {Breadcrumb, CaptureOptions, User};
let output = {
enabled: false,
captureException(ex: Error, options?: CaptureOptions) {},
context<T>(fn: () => T): T {
return fn();
},
wrap<TFunc exten... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http:
<html xmlns="http:
<head>
<title>SEEPPP v1</title>
</head>
<body onLoad="document.location.href='app.php'"></body>
</html> |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>nucleo-dynamixel: HAL TIM Aliased Macros maintained for legacy purpose</title>
<link href="... |
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
typedef SLR_FLAGS <API key>;
END_ATF_NAMESPACE |
FROM johnnyasantoss/dotnet-mono-docker:dotnet2.0-mono5.2-sdk
WORKDIR /app |
#endregion
namespace Orc.GraphExplorer.ViewModels
{
using System.ComponentModel;
using System.Threading.Tasks;
using Catel;
using Catel.Configuration;
using Catel.MVVM;
using Factories;
using Messages;
using Models;
using Services;
public class <API key> : ViewModelBase
{
... |
require 'spec_helper'
describe Fastball do
it 'has a version number' do
expect(Fastball::VERSION).not_to be nil
end
end |
namespace IronSharp.IronMQ
{
<summary>
http://dev.iron.io/mq/reference/clouds/
</summary>
public static class IronMqCloudHosts
{
public const string DEFAULT = AWS_US_EAST_HOST;
<summary>
Default
</summary>
public const string AWS_US_EAST_HOST = "mq-aws-us-east... |
The MIT License (MIT)
Copyright (c) crdx
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 Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut... |
package com.yngvark.<API key>.input;
import org.slf4j.Logger;
import java.io.BufferedReader;
import java.io.IOException;
import static org.slf4j.LoggerFactory.getLogger;
public class InputFileReader {
private final Logger logger = getLogger(getClass());
private final BufferedReader bufferedReader;
private b... |
layout: post
title: Syntax Highlighting Post
description: "Demo post displaying the various ways of highlighting code in Markdown."
modified: 2016-06-01T15:27:45-04:00
tags: [sample post, code, highlighting]
published: false
image:
feature: abstract-10.jpg
credit: dargadgetz
creditlink: http:
Syntax highlighting ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.