answer
stringlengths
15
1.25M
@extends('layouts.app') @section('content') <div class="container m-t-2"> @foreach($users as $user) <h3><a href="/players/{{ $user->username }}">{{ $user->username }}</a></h3> @endforeach </div> @endsection
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: <html> <head> <title>enable_daemon_serve (Grit::Repo)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.cs...
using Newtonsoft.Json; using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using UnityEngine; using UnityEngine.SceneManagement; using UnityStandardAssets.CrossPlatformInput; using UnityStandardAssets.Vehicles.Car; public class Environment : MonoBehaviour { ...
# <API key>: true require 'spec_helper' RSpec.describe Responders::PaginateResponder do subject(:json) do action.call JSON.parse(response.body) end let(:resource) { ArModel.all } let(:method) { :get } let(:params) { {format: :json} } let(:action) { -> { send(method, :index, params: params) } }...
#pragma warning disable 1591 // <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> [assembly: global::Android.Runtime.<API key>("WhoSaidIt.Resource", IsApplication=true)] namespace W...
#!/usr/bin/env bash cat << "EOF" .` -dMMs +MMMMMo .dMMMMMMN- +NMMMMMMMMd` `hMMMMMMMMMMMo -mMMMMMMMMMMMMN. ...
# coding: UTF-8 import unittest import play_file class TestAssemblyReader(unittest.TestCase): def test_version_reader(self): assembly_reader = play_file.AssemblyReader() version = assembly_reader.<API key>('AssemblyInfo.cs') self.assertEqual(version, '7.3.1.0210') def test_version_writer...
<?php namespace FlickrDownloadr\Tool; class SpeedFormater { /** @var \FlickrDownloadr\Tool\FilesizeFormater */ private $filesizeFormater; function __construct(\FlickrDownloadr\Tool\FilesizeFormater $filesizeFormater) { $this->filesizeFormater = $filesizeFormater; } /** * @param int ...
#include <Fusion/Widget/Canvas.h> #include <Fusion/VM/VMObjectPool.h> #include <CGMath/CGMath.h> #include <Base/ADT/StringMap.h> UNNAMESPACE_BEGIN inline void execute( const VMRef& ref, Widget* widget, const RCP<Widget>& item ) { if( ref.isValid() ) { VMState* vm = ref.vm(); VM::push( vm, ref ); ...
#ifndef <API key> #define <API key> // These definitions might be useful in some tests, to check // if both prefixed and not prefixed names are ok. #define __posix_accept accept #define __posix_bind bind #define __posix_chdir chdir #define __posix_chmod chmod #define __posix_chown chown #define __posix_clock clock #def...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>HomelessNet | Log in</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="vie...
# Changelog Description here. ## [0.0.1] - YYYY-MM-DD Added - Feature - Bug fix - Detail of releases If you need know more about CHANGELOG, access [Keep a changelog](http://keepachangelog.com/en/1.0.0/).
#include "Log.h" #include "Socket.h" #include <string.h> #include <iostream> #include <atomic> #define <API key> 20 #if (defined __CYGWIN__ || defined __GNUC__) #include <unistd.h> #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #define SOCKET_HANDLE int #def...
CREATE OR REPLACE FUNCTION sp_cancela_reserva() RETURNS trigger AS $BODY$ begin insert into log_cancela_reserva(data,id_reserva) values(now(),old.id_reserva); return null; end; $BODY$ LANGUAGE plpgsql VOLATILE COST 100; ALTER FUNCTION sp_cancela_reserva() OWNER TO postgres; create trigger tr_cancela_res...
# -*- coding: utf-8 -*- import json import requests def get_url(url): response = requests.get(url) content = response.content.decode("utf8") return content #Json parser def get_json_from_url(url): content = get_url(url) js = json.loads(content) return js
package com.reason.ide.console; import com.intellij.execution.ui.ConsoleView; import com.intellij.icons.AllIcons; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.project.DumbAwareActio...
#region Licence #endregion using System; using FluentAssertions; using Xunit; using Paramore.Brighter.CommandStore.Sqlite; using Paramore.Brighter.Tests.CommandProcessors.TestDoubles; namespace Paramore.Brighter.Tests.CommandStore.Sqlite { [Trait("Category", "Sqlite")] [Collection("Sqlite CommandStore")] pu...
<?php return array ( 'id' => '<API key>', 'fallback' => '<API key>', 'capabilities' => array ( 'device_os_version' => '2.3', ), );
using System; using System.Collections.Generic; using AutomaticTypeMapper; using Microsoft.Xna.Framework.Graphics; using SixLabors.ImageSharp; using SixLabors.ImageSharp.Drawing.Processing; using SixLabors.ImageSharp.Formats.Png; using SixLabors.ImageSharp.Processing; namespace EOLib.Graphics { [MappedType(BaseType...
#ifndef _framesetting_h_ #define _framesetting_h_ #include <string> #include <vector> using namespace std; #include "absxmlsetting.h" class FrameSetting : public BasXmlSetting { public: FrameSetting(); ~FrameSetting(); bool loadFrame(int &start,int &end,std::string &prefix,std::string &postfix,float &framet...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Xml.Linq; using TremAn.Decorators.AreaOfInterest; using TremAn.Models.AreaOfInterest; namespace TremAn.ViewModels.AreaOfInterest { public class TracerViewModel : <API key> { public event <API key...
layout: post title: Recruiting Top Technical Talent to Government I have a salary line with $45,000, a backlog of analytical work going back to the Great Depression, and a dated position advertisement that begins by shouting "PERSONNEL SYSTEM EMPLOYMENT OPPORTUNITY." Sound familiar? If so, you may be a government manag...
#include "ABTreeSceneNode.h" namespace Engine { void ABTreeSceneNode::updatedAABB() { TODO! } }
<div class="container-fluid"> <div class="jumbotron text-center"> <h2>Project: {{vm.currentProject.Name}}</h2> <button ng-click="vm.redirect()" class="btn btn-primary pull-right">Add Commit</button> <button ng-if="vm.isCollaborator" ng-click="vm.show = !vm.show" class="btn btn-primary pull-l...
#ifndef <API key> # define <API key> # if SK_SUPPORT_GPU # include "src/gpu/<API key>.h" # include "src/gpu/effects/GrTextureDomain.h" class GrContext; class GrTexture; struct SkRect; namespace SkGpuBlurUtils { /** * Applies a 2D Gaussian blur to a given texture. The blurred result is returned * as a...
#undef <API key> #define <API key> 1 #include <seqan/sequence.h> #include <seqan/basic.h> #include <seqan/file.h> #include "PEMer_Lite.h" int median(candidate &input) // erstellt den median muss noch an struct candidate angepasst werden { std::nth_element( begin(input.len), begin(input.len) + input.length()/2,en...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Butia is a free and open robotic platform # This program is free software; you can redistribute it and/or modify # (at your option) any later version. # This program is distributed in the hope that it will be useful, # along with this program; if not, write to the Free S...
module Transmat class Money module Arithmetic def -@ Money.new currency, -amount end def == other amount == other.amount && currencies_match?(other) end def eql? other self == other end def <=> other <API key> other amount <=> other...
import json import os from pokemongo_bot import inventory from pokemongo_bot.base_dir import _base_dir from pokemongo_bot.base_task import BaseTask from pokemongo_bot.human_behaviour import action_delay from pokemongo_bot.services.item_recycle_worker import ItemRecycler from pokemongo_bot.tree_config_builder import Con...
import org.junit.Test; import java.util.Stack; import static junit.framework.Assert.assertEquals; public class MinStack { class StackItem { int value; int min; StackItem(int value, int min) { this.value = value; this.min = min; } } Stack<StackItem> sta...
# convenience makefile to boostrap & run buildout # use `make options=-v` to run buildout with extra options python = python2.7 options = all: docs tests coverage: htmlcov/index.html
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>js/sweetalert2.css"> <script src="<?php echo base_url(); ?>js/sweetalert2.min.js"></script> <script> function hapusData(education_id) { var id = education_id; swal({ title: 'Are You Sure ?', text: 'This Dat...
class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: node = parent = None def deleteNode(self, root: TreeNode, key: int) -> TreeNode: # search for the node and its parent self.findNodeAndParent(root, key) if se...
public class Solution { public int maxDepth(TreeNode root) { if (root == null) { return 0; } else { return 1 + Math.max(maxDepth(root.left), maxDepth(root.right)); } } }
<html> <head> <title>Image->6502 Assembly</title> <style> .hide {display:none} </style> </head> <body> <img id="sourceImage" src="chrome.jpg" class="hide"/> <canvas id="workCanvas" width="32" height="32" class="hide" style="border: 1px solid black"></canvas> <p> Drag and drop images (32x32 or smaller)...
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":9:{s:4:"name";s:19:"ville_nom_metaphone";s:4:"type";s:6:"string";s:6:"length";i:22;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:1;s:7:"options";a:0:{}s:16:"columnDefinition";N;}}');
package com.velocity.enums; /** * This Enum defines the values for ApplicationLocation * * @author Vimal Kumar * @date 12-March-2015 */ public enum ApplicationLocation { HomeInternet, NotSet, OffPremises, OnPremises, Unknown }
package umlClassMetaModel.diagram.navigator; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.emf.common.ui.URIEditorInput; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.ecore.util.EcoreUtil; import org....
var assert = require('assert'); describe('src/components/model/classes/Collection', function () { var Collection = require('../../../../src/components/model/classes/Collection'); var collection; var handler = function (event, changes) { callbacks[event]++; }; var callbacks = { add: 0...
using System.IO; using System.Numerics; using OpenSage.Mathematics; namespace OpenSage.FileFormats.W3d { public sealed class W3dRingHeader { public uint ChunkType { get; private set; } public uint ChunkSize { get; private set; } public uint Version { get; private set; } public ui...
local pngEncode = require('libs.image_ops.png_encode') local pngDecode = require('libs.image_ops.png') local min = math.min local max = math.max local floor = math.floor local png = {} local function clamp(a) return max(0, min(a, 255)) end function png:getPixel(x, y) -- explicit local i = (x + self.width * y) * 4 +...
package techreborn.tiles; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumFacing; import reborncore.api.IToolDrop; import reborncore.api.recipe.<API key>; import reborncore.api.tile.IInventoryProvider; import reborncor...
<?php namespace Test\AppBundle\API\Details; use AppBundle\API\Details; use Tests\AppBundle\API\WebserviceTestCase; class TraitsTest extends WebserviceTestCase { private $em; private $traitDetails; public function setUp() { $kernel = self::bootKernel(); $this->em = $kernel->getContainer()...
export const <API key> = (path: string) => { return path.split('pages').pop().replace('.md', '') } export const getJobPath = (path: string) => { return path.split('jobs').pop().replace('.md', '') } export const getFileNameOnly = (path: string) => { return path.split('/').pop().replace('.md', '') } export const <A...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package elektra; import java.io.IOException; import java.io.PrintWriter; import java.io.FileInputStream; import java.io.InputStreamReader; import java.io.BufferedReader; import java.io.<API key>; import java.io.FileWrite...
import React from 'react'; import Status from 'components/Status'; import renderer from 'react-test-renderer'; describe('Status component', () => { function getComponent(piecesLeftCount) { return renderer.create( <Status piecesLeftCount={piecesLeftCount} /> ); } it('should show pieces left', () => {...
package com.ke2g.cued_recall; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.vi...
package BusinessLogic.ConnectionStates; import BusinessLogic.ActualConnection; import BusinessLogic.Message; public class MessageMenuState implements ConnectionState{ public void dial(String key, ActualConnection connection) { if (key.equals("1")) { String output = ""; ...
<!doctype html> <! Copyright (c) 2014 Adobe Systems Incorporated. All rights reserved. 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 th...
namespace Nettle.Compiler.Parsing { using Nettle.Compiler.Parsing.Blocks; using System; using System.Linq; <summary> Represents a model binding code block parser </summary> internal sealed class ModelBindingParser : NettleParser, IBlockParser { <summary> Determines if a s...
<!doctype html> <html lang="en" xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Photo - A History of UCSF</title> <link href='http://fonts.googleapis.com/css?family=Gilda+Display%7CPT+Sans+Narrow:300'...
var <API key> = [ [ "ALDOM", "<API key>.html#<API key>", null ], [ "ALDOW", "<API key>.html#<API key>", null ], [ "ALDOY", "<API key>.html#<API key>", null ], [ "ALHOUR", "<API key>.html#<API key>", null ], [ "ALMIN", "<API key>.html#<API key>", null ], [ "ALMON", "<API key>.html#<API key>", nul...
# coding=utf-8 """ Collects all number values from the db.serverStatus() command, other values are ignored. # Dependencies * pymongo """ import diamond.collector from diamond.collector import str_to_bool import re import zlib try: import pymongo pymongo # workaround for pyflakes issue #13 except ImportError: ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Projectile : MonoBehaviour { public float duration = 1.0f; public int damage = 1; public bool destroyOnHit = false; void Start () { } void Update () { if (duration > 0.0f) { duration -...
var RemoveTileAt = require('./RemoveTileAt'); var WorldToTileX = require('./WorldToTileX'); var WorldToTileY = require('./WorldToTileY'); /** * Removes the tile at the given world coordinates in the specified layer and updates the layer's * collision information. * * @function Phaser.Tilemaps.Components.RemoveTileA...
namespace Gestion.Forms { partial class Fibonachi { <summary> Required designer variable. </summary> private System.ComponentModel.IContainer components = null; <summary> Clean up any resources being used. </summary> <param name="disposing">true if man...
# -*- coding: utf-8 -*- # @Last Modified time: 2017-02-22 20:33:29 import utilities as util from utilities import parse_image_file, filterBoxes, voxel_2_world, mkdir import numpy as np import os import json import sys from PIL import Image, ImageDraw import SimpleITK as sitk from env import * def generate_scan_image(su...
# <API key>: true class Passport include Mongoid::Document field :number, type: String field :country, type: String field :exp, as: :expiration_date, type: Date embedded_in :person, autobuild: true end
var fs = require('fs'); var path = require('path'); var normalizeNewline = require('normalize-newline'); function occurenceIndexes(inp, toFind) { var indices = []; var element = toFind; var idx = inp.indexOf(element); while (idx != -1) { indices.push(idx); idx = inp.indexOf(element, idx ...
module.exports.sum = function (arr, prop, exp) { var total = 0 for (var i = 0, _len = arr.length; i < _len; i++) { var value = arr[i][prop]; if (exp) { if (arr[i][exp.field] == exp.value) { total += value * 1; } } else { total += value ...
{% macro case_tabs(selected,num,path, id) %} <div class="section-tabs js-tabs clearfix mb20"> <ul> {% set navs = [ {url:"timeline",label:"Timeline"}, {url:"not-testing",label:"Details"}, {url:"appointment-tab",label:"Appointment"}, {url:"not-testing",label:"Evidence"} ...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-comp-1489', templateUrl: './comp-1489.component.html', styleUrls: ['./comp-1489.component.css'] }) export class Comp1489Component implements OnInit { constructor() { } ngOnInit() { } }
describe('Modules.Ellipsis.js', function() { it('should exist with expected constructures', function() { expect(moj.Modules.CaseCreation.init).toBeDefined(); }); });
layout: page title: "RUSS 3231: SLAVIC LAUGHTER Statistics" comments: true description: "blanks" keywords: "RUSS,3231,CU,Boulder" <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></script>...
{% extends "base_map.html" %} {% load staticfiles %} {% block title %} Saved Paths {% endblock title %} {% block undermap_content %} <h1>Delete paths!</h1> <button class="rounded-button label" id='delete-button' value="delete">Delete</button> <h1>Saved paths</h1> <div class="container button-container"> {% for path...
<?php /* * Gwatkin, 15146508 */ namespace cgwatkin\a3\model; use cgwatkin\a3\exception\<API key>; use mysqli; /** * Class Model * * Connects to and configures the MySQL database with dummy data for testing. * * Base code provided by Andrew Gilman <a.gilman@massey.ac.nz> * * @package cgwatkin/a3 * @author Cai...
<?php class Autoload { public static function register($path) { if (function_exists('__autoload')) { <API key>('__autoload'); } <API key>(function ($class) use(&$path) { set_include_path($path); spl_autoload($class); }); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NumberGuessing { partial class Program { public static bool doDebug = false; static void MyDebug() { if (doDebug) { Console.WriteLine("Debug information...
# <API key>: true require 'spec_helper' RSpec.describe DiffFileEntity do include RepoHelpers let_it_be(:project) { create(:project, :repository) } let(:repository) { project.repository } let(:commit) { project.commit(sample_commit.id) } let(:diff_refs) { commit.diff_refs } let(:diff) { commit.raw_diffs.firs...
from django.conf.urls import url from audiotracks import feeds from audiotracks import views urlpatterns = [ url(r"^$", views.index, name="audiotracks"), url(r"^(?P<page_number>\d+)/?$", views.index, name="audiotracks"), url(r"^track/(?P<track_slug>.*)$", views.track_detail, name="track_detail"), ...
namespace ProjectManagement { partial class EntryForm { <summary> Required designer variable. </summary> private System.ComponentModel.IContainer components = null; <summary> Clean up any resources being used. </summary> <param name="disposing">tru...
The commented tests at the bottom of the bob_test.php are **Stretch Goals**, they are optional. They may be easier to solve if you are using the `mb_string` functions, which aren't installed by default with every version of PHP.
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */ embed:-<API key>, embed:-moz-handler-blocked, embed:-moz-handler-crashed, embed:-<API key>, embed:-<API key>, embed:-<API key>, applet:-<API key>, applet:-moz-handler-blocked, applet:-moz-handler-crashed, applet:-<API key>, applet:-<API k...
(function () { 'use strict'; angular.module('BlurAdmin.pages.auth', [ 'BlurAdmin.services' ]) .config(routeConfig); /** @ngInject */ function routeConfig($stateProvider) { $stateProvider .state('auth', { url: '/auth', abstract: true...
<?php namespace Frontiernxt\Models; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name...
<!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.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>MyWorld: </title> <li...
require 'rails_helper' RSpec.describe "Homes", type: :request do describe "GET /homes" do it "works! (now write some real specs)" do get homes_path expect(response).to have_http_status(200) end end end
package com.sivalabs.jcart.common.services; import javax.mail.MessagingException; import javax.mail.internet.MimeMessage; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.mail.MailException; import org.springframework.ma...
class <API key> < ActiveRecord::Migration def change create_table :check_in_surveys do |t| t.string :title t.text :description t.string :version, index: true t.text :question_1 t.text :question_2 t.text :question_3 t.text :question_4 t.timestamps end end end
/** * Base js functions */ $(document).ready(function(){ //Init jQuery Masonry layout init_masonry(); //Select menu onchange $("#collapsed-navbar").change(function () { window.location = $(this).val(); }); }); function init_masonry(){ var $container = $('#content'); $container.imag...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use Auth; // models use App\User; use App\models\Student; use App\models\Opd; class AdminStudents extends Controller { public function view($id){ $user = Auth::user(); $student = Student::find($id); return view("admin...
#pragma once #include <gtest/gtest.h> class HeroTest : public ::testing::Test { // Test interface protected: void SetUp() override { } void TearDown() override { } };
var React = require('react'); var RulePicker = require('./RulePicker.js'); var TimePicker = require('react-time-picker'); var DatePicker = require('react-date-picker'); var RuleSummary = require("./RuleSummary.js"); var moment = require('moment'); var Tabs = require('react-simpletabs'); var RecurringSelect = React.crea...
#!/bin/sh set -eo pipefail -o nounset #download HG003 data, convert to fastq wget -q ftp://ftp-trace.ncbi.nlm.nih.gov/giab/ftp/data/AshkenazimTrio/<API key>/PacBio_MtSinai_NIST/<API key>/<API key>.sort.bam samtools fastq <API key>.sort.bam > chr22_pb_HG003_dad.fastq rm <API key>.sort.bam bgzip chr22_pb_HG003_dad.fastq ...
<?php /* TwigBundle:Exception:exception_full.html.twig */ class <API key> extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("TwigBundle::layout.html.twig"); $this->blocks = array( '...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = eachLimit; var _eachOfLimit = require('./internal/eachOfLimit'); var _eachOfLimit2 = <API key>(_eachOfLimit); var _withoutIndex = require('./internal/withoutIndex'); var _withoutIndex2 = <API key>(_withoutIndex); function <...
# Element: ClassPower Handles the visibility and updating of the player's class resources (like Chi Orbs or Holy Power) and combo points. ## Widget ClassPower - An `table` consisting of as many StatusBars as the theoretical maximum return of [UnitPowerMax](http://wowprogramming.com/docs/api/UnitPowerMax.html). ## Sub-W...
package cz.vhromada.utils.file.gui; import java.io.IOException; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; import java.util.ArrayList; import java.uti...
#ifndef <API key> #define <API key> /** @file * @brief Class @ref Magnum::SceneGraph::Drawable, @ref Magnum::SceneGraph::DrawableGroup, alias @ref Magnum::SceneGraph::BasicDrawable2D, @ref Magnum::SceneGraph::BasicDrawable3D, @ref Magnum::SceneGraph::<API key>, @ref Magnum::SceneGraph::<API key>, typedef @ref Magnum::...
package api import ( "net/http" "strconv" "time" "gopkg.in/gin-gonic/gin.v1" "github.com/knopt/iot/backend/api/model" "github.com/knopt/iot/backend/error" ) // <API key> by given requests parameters func (api *Api) <API key>(context *gin.Context) { deviceID := context.Param("id") dateFro...
angular.module('green-streak.controllers', ['LocalStorageModule']) .controller('MenuController', function ($scope, $location, MenuService) { // "MenuService" is a service returning mock data (services.js) $scope.list = MenuService.all(); $scope.goTo = function (page) { console.lo...
/* * This is a manifest file that'll be compiled into application.css, which will * include all the files listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, * vendor/assets/stylesheets, or vendor/assets/stylesheets of plugins, if any, * can be referenced here using a relative p...
import templateUrl from './image.html'; import controller from './image-controller'; export default { name: 'image', url: '/:image', templateUrl, controller, controllerAs: 'image', resolve: { image: ['$http', '$stateParams', function($http, $stateParams){ const config = { method: 'GET', ...
@charset "UTF-8"; .flexeditor > ul.flexcontent { display:none; } .flexeditor > ul.flexcontent div.editor { display:none; } .flexeditor > ul.flexcontent > li > div.buttonbar { display:none; position:absolute; padding:4px 0 0 0; cursor:move; background-color:#DDD; top:-30px; height:30p...
<?php namespace Cradle\Framework\CommandLine; use Cradle\Framework\CommandLine; use Cradle\Framework\Exception; use Cradle\Framework\Decorator; use Cradle\Event\EventHandler; //enable the function Decorator::DECORATE; /** * Uninstall CLI Command * * @vendor Scoop * @package Framework * @author Christian Blanq...
#include "activemasternode.h" #include "consensus/validation.h" #include "darksend.h" #include "init.h" #include "governance.h" #include "masternode.h" #include "masternode-payments.h" #include "masternode-sync.h" #include "masternodeman.h" #include "util.h" #include <boost/lexical_cast.hpp> CMasternode::CMasternode() ...
using System; using System.Runtime.InteropServices; namespace Noesis { public class VisualCollection : Collection { internal new static VisualCollection CreateProxy(IntPtr cPtr, bool cMemoryOwn) { return new VisualCollection(cPtr, cMemoryOwn); } internal VisualCollection(IntPtr cPtr, bool cMemoryOwn) : base(c...
// Use of this source code is governed by a MIT style package gin import ( "log" "os" ) const GIN_MODE = "GIN_MODE" const ( DebugMode string = "debug" ReleaseMode string = "release" TestMode string = "test" ) const ( debugCode = iota releaseCode = iota testCode = iota ) var gin...
.SignIn_div { margin-left: 1em; margin-top: 1ex; display: flex; align-items: flex-start; flex-direction: column; } .SignIn_panel { flex-direction: row; flex: 0 0 auto; } .SignIn_spacing { margin-left: 1em; } .SignIn_form .form-group input { width: 12em; }
<?php get_header(); ?> <?php the_breadcrumb(); ?> <div class="container"> <div class="row"> <!-- section --> <section role="main" class="col-sm-9"> <?php if (have_posts()): while (have_posts()) : the_post(); ?> <!-- article --> <article id="post-<?php the_ID(); ?>" <?...