code
stringlengths
4
1.01M
package pieces; import java.util.ArrayList; import chess.ChessboardCell; /** * This is the Bishop Class. * The Move Function defines the basic rules for movement of Bishop on a chess board * * */ public class Bishop extends Piece{ //Constructor public Bishop(String i,String p,int c) { setId(i); setPa...
using Chloe.DbExpressions; using Chloe.RDBMS; namespace Chloe.PostgreSQL.MethodHandlers { class Trim_Handler : IMethodHandler { public bool CanProcess(DbMethodCallExpression exp) { if (exp.Method != PublicConstants.MethodInfo_String_Trim) return false; ...
package uristqwerty.CraftGuide.api; import java.util.List; /** * When a recipe is rendered, the ItemSlots provided to the template are * used to determine the layout of the recipe's items. * * @deprecated API re-organization. Use the copy in uristqwerty.craftguide.api.slotTypes * instead, if possible. This copy...
<?php class acf_field_ETAC_has_capability extends acf_field { /* * __construct * * This function will setup the field type data * * @type function * @date 5/03/2014 * @since 5.0.0 * * @param n/a * @return n/a */ function __construct() { /* * name (string) Single word, no spaces. Under...
package ch.x01.fuzzy.core; import ch.x01.fuzzy.parser.SymbolTable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Objects; /** * This class implements the concept of a linguistic variable. Linguistic variables take...
#!/usr/bin/env python # -*- coding: utf-8 -*- from gramfuzz.fields import * import names TOP_CAT = "postal" # Adapted from https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form # The name rules have been modified and placed into names.py class PDef(Def): cat = "postal_def" class PRef(Ref): cat = "pos...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.customerinsights.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.az...
# DEPRECATED Please use [hexo-html-minifier](https://github.com/hexojs/hexo-html-minifier) and [hexo-clean-css](https://github.com/hexojs/hexo-clean-css) instead. <hr> # hexo-generator-minify A plugin for [Hexo](http://zespia.tw/hexo) to generate static site with _minified_ CSS and Javascript resources. The plugi...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'), 'Sun\\' => array($baseDir . '/src'), 'PhpDocReader\\' => array($vendorDir . '/php-di/phpdoc-reader/...
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "WXPBGeneratedMessage.h" @interface IMBehaviorMsgOP : WXPBGeneratedMessage { } + (void)initialize; // Remaining properties @property(nonatomic) int appMsgInnerType; // @d...
#ifndef LIC_NUMBER_TYPE #define LIC_NUMBER_TYPE #include "RuntimeType.h" namespace lic { // TODO: Make generic and inherit actual types class NumberType : public RuntimeType { public: virtual std::string Name() const; virtual std::string ToString(gsl::byte* data) const; virtual void PerformUnaryOp(Opcod...
<?php namespace Illuminate\Database\Eloquent\Relations; use Closure; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Query\Expression; use Illuminate\Database\Eloquent\Collection; abstract class Relation { /** * The Eloquent query builder instance. ...
#include <stdio.h> #include <math.h> #define MAX_POS 9 int main(){ unsigned long int x, y; int dx, dy, pos, carry, ncrry; while (scanf("%lu %lu", &x, &y) && !(x == 0 && y == 0)){ carry = ncrry = 0; for (pos = 0; pos < MAX_POS; pos++){ dx = x % 10; dy = y % 10; x /= 10; y /= 10; ...
var Observer = require('../../../../src/observer') var config = require('../../../../src/config') var _ = require('../../../../src/util') describe('Observer', function () { it('create on non-observables', function () { // skip primitive value var ob = Observer.create(1) expect(ob).toBeUndefined() //...
const { BrowserWindow } = require('electron'); const path = require('path'); class RecorderWindow { constructor() { let htmlPath = 'file://' + path.join(__dirname, '..') + '/pages/recorder_window.html' this.window = new BrowserWindow({ show: false, height: 400, width: 600, minHeight...
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace XF_Map.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to ...
--- layout: page title: About --- # Hey there! ![Thats me]({{ site.baseurl }}/images/me.jpg) This is Apaar Shanker. Right now I am a Ph.D. student at Georgia Tech in the College of Computing. I graduated from IISc Bangalore with the two degrees of Bachelors and Masters of Science in 2015. I am an avowed bookwor...
# Simple Content This for website with simple content ##Installation Add `"rofil/simple-content": "dev-master"` into composer.json as follows ``` ... "requires": { ... "rofil/simple-content": "dev-master" ... } ... ``` and update by running `composer update` ##Register Register the bund...
shared_examples_for :enumeratorize do |method| ruby_version_is '' ... '1.8.7' do it 'raises a LocalJumpError if no block given' do lambda{ Itr[1,2].send(method) }.should raise_error(LocalJumpError) end end ruby_version_is '1.8.7' do it 'returns an Enumerator if no block given' do Itr[1,2]....
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <link rel="icon" type="image/png" href="favicon.ico"> <title>Jerimiah Woods</title> <meta name="description" content=""> <meta name="viewp...
require 'spec_helper' describe EmailCenterApi::Nodes::EmailNode do describe '.emails' do context 'when a folder is specified' do it 'returns all emails in the specified folder' do json_object = [{ 'text' => 'Reevoo-test', 'nodeId' => '145', 'nodeClass' => 'email_template'}] expect_any_ins...
export class Animal { protected name: string; constructor(name: string) { this.name = name; } public say() { this.out(this.name); } protected out(str: string) { console.info(str); } }
class CreateJobRunCounts < ActiveRecord::Migration def self.up create_table :job_run_counts do |t| t.integer :counter t.timestamps end end def self.down drop_table :job_run_counts end end
// // The MIT License (MIT) // // // Copyright (c) 2014 Broad Institute // // // 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 rig...
#include "qm.h" #include "matrix.h" #include "eq.h" #include "2el.h" #include "tools.h" #include "gradient.h" #include "vec3.h" #define EPS 1e-15 static void f_eq30_mp_grad(int ma, int mv, int la, int lv, int qa, int qk, double * g, double ra[3], double rk[3], qmdata * qmd){ double z[3]; r3diff(z, ra, rk); doub...
/* This file is part of Ext JS 4 Copyright (c) 2011 Sencha Inc Contact: http://www.sencha.com/contact Commercial Usage Licensees holding valid commercial licenses may use this file in accordance with the Commercial Software License Agreement provided with the Software or, alternatively, in accordance with the term...
<?php namespace MPM\EntityBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Mensaje * * @ORM\Table(name="mensajes") * @ORM\Entity(repositoryClass="MPM\EntityBundle\Entity\MensajeRepository") */ class Mensaje { /** * @var integer * * @ORM\Column(name="id", type="integer") * @ORM\Id ...
/** * 사용자 정보수정 스타일 * * namespace: update_profile * * @author sook * * @version 0.0.1-SNAPSHOT * */ /******************************************************************************/ /* 페이지 스타일 시작 */ /******************************************************************************/ /* 페이지 헤더 */ #page-header {...
<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> # Table of Content - [Name](#name) - [Status](#status) - [Description](#description) - [Synopsis](#synopsis) - [Methods](#methods) - [ngx_timer.at](#ngx_timerat) - [...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> <A href="W28937.pdfs.html#outline" target="contents">Outline</a><br><A href="W28937.pdfs.html#1" target="contents" >Page 1</a><br> <A href="W28937.pdfs.html#2" target="contents" >Page 2</a><br> <A href="W28937.pd...
;(function(){ "use strict"; const module = window.load = { name: "xhr" }; const xhr = module.exports = (type, url, cb, opts) => { const xhr = new XMLHttpRequest(); if (opts) Object.keys(opts).map(key => xhr[key] = opts[key]); xhr.open(type, url); xhr.onreadystatechange = () => { if (xhr.readyState...
body div{ margin-bottom: 15px; } body div label{ font-family: Consolas; font-size: 16px; } body div button{ padding-bottom: 2px; padding-top: 2px; margin-left: 15px; border: 1px solid black; background-color: #0094ff; font-weight: bold; } input{ width: 200px; }
package com.lamepancake.chitchat.packet; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; import java.util.Objects; /** * Contains a message to be sent to other users in the chat. * * Specifies the chat to which the message is to be sent and the user sending * the message. * * @author sh...
# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative sou...
require 'rails_helper' describe Wiki do describe 'associations' do before(:each) do @wiki = Wiki.create!(description: "TV Shows") @article1 = Article.create!(title: "Article 1", content: "Some Content", published: true, needs_sources: false, wiki_id: @wiki.id) @article2 = Article.create!(title: "Artic...
/* * This file is generated by jOOQ. */ package com.cellarhq.generated.tables.daos; import com.cellarhq.generated.tables.Category; import com.cellarhq.generated.tables.records.CategoryRecord; import java.time.LocalDateTime; import java.util.List; import javax.annotation.processing.Generated; import org.jooq.Conf...
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ ret...
var subject = require('../../lib/helpers/injector'); var Promise = require('bluebird'); describe('injector', function() { it('returns a function returning a promise', function() { var fn = subject({}); expect(fn('name', [])).to.be.instanceOf(Promise); }); });
const merge = require('webpack-merge') const HtmlWebpackPlugin = require('html-webpack-plugin') const ExtractTextPlugin = require('extract-text-webpack-plugin') const base = require('./webpack.config.base') const pkg = require('../app/package.json') module.exports = merge(base, { entry: { renderer: ['./app/rende...
using CompileBot snoop_bench( BotConfig( "Plots", ), joinpath(@__DIR__, "precompile_script.jl"), )
<?php if ( !defined("BASE_PATH")) exit( "No direct script access allowed" ); function argument($argv){ $_ARG = array(); foreach ($argv as $arg) { if ( preg_match('/--([^=]+)=(.*)/',$arg,$reg)) { $_ARG[$reg[1]] = $reg[2]; }else if(preg_match('/-([a-zA-Z0-9])/',$arg,$reg)) { ...
#include "../../vm/vm.h" #include <fstream> #include <stdint.h> #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { unsigned char banner[] = { 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x5f, 0x20, 0x20, 0x20, 0x5f, 0x20, ...
using System; using System.Threading; using System.Threading.Tasks; using RunRabbitRun.Net.Attributes; using RunRabbitRun.Net.Sample.Models; using RabbitMQ.Client; using Newtonsoft.Json; namespace RunRabbitRun.Net.Sample { public class UserModule : Module { public UserModule() { } ...
var https = require('https'); var xml2js = require('xml2js'); var groups = {}; var host, port , auth, origin; groups.getUserGroups = function(req, res) { var options = { rejectUnauthorized: false, hostname: host, port: port, path: "/sap/opu/odata/UI2/PAGE_BUILDER_PERS/PageSets('%2...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Reflection; using System.Text; using FLS.Data.WebApi; using FLS.Data.WebApi.Accounting; namespace FLS.Server.Data.DbEntities { public part...
Date: Tue, 10 Dec 1996 21:21:29 GMT Server: NCSA/1.4.2 Content-type: text/html Last-modified: Wed, 15 May 1996 23:35:44 GMT Content-length: 263 <html> <title>Coffee</title> <body bgcolor=#FFFFFF text=#000000 > <h2>Coffee</h2> Here is a Seattle coffee <a href="http://www.halcyon.com/zipgun/mothercity/mothercity.html"...
using System.ComponentModel.Composition; using TotalApi.Core.Api.ControlApi; using TotalApi.Core.ServiceContracts; using TotalApi.SampleModule.Api.ServiceContracts; namespace TotalApi.SampleModule { [Export(typeof(IModuleInitializer))] class Startup : IModuleInitializer { public void Ini...
<?php $show_breadcrumbs = true; require_once 'functions.php'; $section = 4; $page = 6; $keywords = $db->query("SELECT COUNT(*) AS total, keywords.keyword FROM keywords_papers JOIN keywords ON keywords_papers.keyword = keywords.id GROUP BY keywords.keyword ORDER BY COUNT(*) DESC"); $keywords_alfabet = $db->query("SE...
// // graphene_functions.hpp // graphenePFC // // Created by Rachel Zucker on 8/15/16. // Copyright © 2016 Rachel Zucker. All rights reserved. // #ifndef graphene_functions_hpp #define graphene_functions_hpp #include "matrix_types.hpp" // an inital condition that produces an AC circle inside an AB matrix void In...
<?php declare(strict_types=1); /** * This file is part of me-cms. * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyright notice. * * @copyright Copyright (c) Mirko Pagliai * @link https://gi...
namespace HearthyWebApi.Areas.HelpPage.ModelDescriptions { public class KeyValuePairModelDescription : ModelDescription { public ModelDescription KeyModelDescription { get; set; } public ModelDescription ValueModelDescription { get; set; } } }
<?php namespace Waldo\OpenIdConnect\ProviderBundle\Tests\Services; use Waldo\OpenIdConnect\ProviderBundle\Services\AuthorizationEndpoint; use Symfony\Component\HttpFoundation\Request; /** * AuthorizationEndpointTest * * @group AuthorizationEndpoint * @author valérian Girard <valerian.girard@educagri.fr> */ clas...
# Make results show in one line There is a function to concat data to make the data transfer much easily. It is called `group_concat`. The grammar can be illustrated by one example: ```sql SELECT province, group_concat(city order by city desc separator ';') FROM table GROUP BY province; ``` Mainly pay attention to t...
'use strict'; const fs = require('fs'); const path = require('path'); const Router = require('koa-router'); const apiRouter = require('./api'); const ask = require('../lib/ask'); const config = require('config'); const indexFilePath = path.resolve(__dirname, '..', 'views', 'index.html'); const router = new ...
var group__spi__interface__gr = [ [ "Status Error Codes", "group__spi__execution__status.html", "group__spi__execution__status" ], [ "SPI Events", "group__SPI__events.html", "group__SPI__events" ], [ "SPI Control Codes", "group__SPI__control.html", "group__SPI__control" ], [ "ARM_DRIVER_SPI", "grou...
package tsm1 import ( "fmt" "os" "testing" "github.com/google/go-cmp/cmp" "github.com/influxdata/influxdb" "github.com/influxdata/influxdb/models" "github.com/influxdata/influxdb/tsdb" "github.com/influxdata/influxdb/tsdb/cursors" ) func TestTimeRangeIterator(t *testing.T) { tsm := mustWriteTSM( bucket{ ...
#!/bin/bash ../flora_pac_ipv6 -x 'SOCKS5 127.0.0.1:1080; SOCKS 127.0.0.1:1080; DIRECT'
#!/usr/bin/env python3 """Combine logs from multiple bitcore nodes as well as the test_framework log. This streams the combined log output to stdout. Use combine_logs.py > outputfile to write to an outputfile.""" import argparse from collections import defaultdict, namedtuple import heapq import itertools import os i...
<?php namespace spec\Samurai\Samurai\Task; use Samurai\Samurai\Component\Spec\Context\PHPSpecContext; class SampleTaskListSpec extends PHPSpecContext { public function it_is_initializable() { $this->shouldHaveType('Samurai\Samurai\Task\SampleTaskList'); } public function it_is_usage_text_fr...
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Language * @version 4.x * @author Sinan Eldem <sinan@sinaneldem.com.tr> * @link http://sinaneldem.com.tr */ return array( /* |-------------------------------------------------------------------------- | Validation Language...
// Shader Code #include <windows.h> #include <string> #include <fstream> #include <d3d9.h> #include <d3dx9.h> #include "../../math/Math.h" #include "../../base/base.h" #include "../../etc/Utility.h" #include <vector> #include <map> #include <sstream> #pragma comment( lib, "d3d9.lib" ) #pragma comment( lib, "d3dx9.lib...
#!/bin/bash set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/.." cd ${DIR} virtualenv -p python3 --prompt="<env>" ${DIR}/env mkdir ${DIR}/configs mkdir ${DIR}/db mkdir ${DIR}/logs mkdir ${DIR}/pids touch ${DIR}/db/database.sqlite3 ${DIR}/commands/deploy.sh
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_144) on Wed Dec 06 15:25:24 MST 2017 --> <title>SaveLoadController</title> <meta name="date" content="2017-12-06"> <link rel="stylesheet" type=...
package com.spike.giantdataanalysis.model.logic.relational.interpreter.core; import com.spike.giantdataanalysis.model.logic.relational.core.Literal; /** 解释器枚举标记接口. */ public interface RelationalInterpreterEnum extends Literal { }
require "zeamays/version" require "zeamays/cob" require "zeamays/fridge" module Zeamays end
Server: Netscape-Communications/1.1 Date: Wednesday, 20-Nov-96 23:24:28 GMT Last-modified: Monday, 24-Jun-96 14:59:21 GMT Content-length: 5156 Content-type: text/html <HTML> <HEAD> <TITLE>CIS 510 Handout 1</TITLE> <BODY><! BODY BGCOLOR = "#000000" TEXT = "#FFFFFF"> <BODY bgcolor="#FFEFDB"> <! AntiqueWhite1> <H1...
#!/usr/bin/perl -w use strict; #### DEBUG my $DEBUG = 0; #$DEBUG = 1; =head2 NAME dumpDb PURPOSE DUMP ALL THE TABLES IN A DATABASE TO .TSV FILES INPUT 1. DATABASE NAME 2. LOCATION TO PRINT .TSV FILES OUTPUT 1. ONE .TSV FILE FOR EACH TABLE IN DATABASE USAGE ./dumpDb....
<!DOCTYPE html> <html ng-app="interval trainer"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title></title> <!--styles--> </head> <body> <div ui-view></div> <!--scripts--> </body> </html>
<?php namespace Grav\Plugin; use Grav\Common\Iterator; use Grav\Common\Grav; use Grav\Common\Page\Page; class Tumblr extends Iterator { protected $grav; protected $page; public $client; public function __construct(Grav $grav, $page) { require_once __DIR__ . '/../vendor/autoload.php'; ...
package synapse // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated...
<?php namespace Protobuf; use InvalidArgumentException; use ArrayObject; /** * Protobuf Stream collection * * @author Fabio B. Silva <fabio.bat.silva@gmail.com> */ class StreamCollection extends ArrayObject implements Collection { /** * @param array<\Protobuf\Stream> $values */ public function ...
/** * MIT License * * Copyright (c) 2017 zgqq * * 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, me...
# DataLakeStore > see https://aka.ms/autorest This is the AutoRest configuration file for DataLakeStore. --- ## Getting Started To build the SDK for DataLakeStore, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` To see additional help and options, run: > `autores...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("a")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyComp...
--- layout: post date: 2017-07-09 title: "Yolan Cris YolanCris 871-wedding-dress-silvia 2015 Sleeveless Ankle-Length Aline/Princess" category: Yolan Cris tags: [Yolan Cris,Aline/Princess ,Illusion,Ankle-Length,Sleeveless,2015] --- ### Yolan Cris YolanCris 871-wedding-dress-silvia Just **$349.99** ### 2015 Sleeveless A...
using Microsoft.AspNetCore.Http.Authentication; using Microsoft.AspNetCore.Identity; using System.Collections.Generic; namespace Ixy.Web.ViewModels.ManageViewModels { public class ManageLoginsViewModel { public IList<UserLoginInfo> CurrentLogins { get; set; } public IList<AuthenticationDescri...
# Table of contents * [About](README.md) * [Getting started](gettingstarted.md) * [CLI guide](cli.md) * [Configurations](configuration/README.md) * [Configurable Parameters](configuration/configurable-parameters.md) ## Showcase <a id="projects-using-hypergan"></a> * [AI Explorer for Android](projects-using-hyperga...
package com.quizmaster.components; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; public class Question extends Component<Answer> { private static final long serialVersionUID = 1L; //The answers that are going to be displayed priva...
import checkEmpty from '../helpers/checkEmpty'; const validateReview = { validateFields(req, res, next) { const { content } = req.body; if (checkEmpty(content)) { return res.status(400).json({ status: 'fail', message: 'Review content field cannot be empty' }); } next(); ...
--- layout: post title: Hello World lesson_num: 01 class_date: January 23, 2014 excerpt: "Welcome to DMD1070, Foundations of Web Design. This course is designed to guide you through the process of planning, designing, and implementing your first website. In this lesson we'll gain our bearings by understanding a bit abo...
const m = require('mithril'); const Component = require('../../core/Component'); class ProjectBanner extends Component { view(vnode) { return m('.project', { style: "background-image: url(" + vnode.attrs.bannerImage + ")", onclick: function() { m.route.set("/" + vno...
--- layout: page title: Higgins Chemical Executive Retreat date: 2016-05-24 author: Andrew Weiss tags: weekly links, java status: published summary: Nam blandit erat a enim molestie, id. banner: images/banner/meeting-01.jpg booking: startDate: 09/10/2016 endDate: 09/11/2016 ctyhocn: MCOSMHX groupCode: HCER publ...
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "splashscreen.h" #include "clientversion.h" #include "util.h" #include <QPainter> #undef loop /* ugh, remove this wh...
ChopJS Unit Test ================ To run tests, start a server at the __root folder__ of ChopJS.
/** * Created by chenjianjun on 16/2/25. */ var env=require("../../config"); var type=env.Thinky.type; /* { "success": true, "message": null, "data": [ { "id": 227, "recordVideoId": 9, "createTime": "2016-01-21 17:31:09", "updateTime": "2016-01-21 17:31:09", "operater": 1, "isU...
<?php /* * This file is part of the ddd-symfony package. * * (c) Beñat Espiña <benatespina@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Domain\Factory\User; use Domain\Model\User\UserEmail; use Domain\Mod...
using UnityEngine; using System.Collections; public class Rotate : MonoBehaviour { void Start () { } void Update () { transform.Rotate (1, 2, 3); } }
<style> .buton { border: 1px solid #d5bd98; border-right-color: #935e0d; border-bottom-color: #935e0d; background: #ffa822 url(btn_bg_sprite.gif) left 17.5% repeat-x; } </style> <input type="button" value="Tranzactie noua" onClick="window.location.href='new_t.php';" class="buton"><br><br> <TABle border=1 <tr><th>ID</t...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_45) on Thu Nov 07 18:57:17 UTC 2013 --> <title>R.dimen</title> <meta name="date" content="2013-11-07"> <link rel="stylesheet" type="tex...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
<!--<div id="pagewidth-vert">--> <!--<table class="patient-home-vert" width="100%">--> <!--<tbody><tr>--> <!--<td style="vertical-align: top;">--> <!--<button id='form-home' class="menu-blue" onClick="window.location.href = '#home'">Home</button>--> <!--{{#if phon...
import { Component } from '@angular/core'; @Component({ selector: 'sky-filter-inline-item', styleUrls: ['./filter-inline-item.component.scss'], templateUrl: './filter-inline-item.component.html' }) export class SkyFilterInlineItemComponent { }
<?php //--> /* * This file is part of the Eden package. * (c) 2011-2012 Openovate Labs * * Copyright and license information can be found at LICENSE.txt * distributed with this package. */ /** * Twitter saved searches * * @package Eden * @category twitter * @author Christian Symon M. ...
# thor-ssh ThorSsh takes thor and allows it to run from local to remote. It assumes that the sources are always local and the remotes are always remote. ## ThorSsh Assumptions For running as_user('other_user') the assumption is that your connection is logged in either as 1) root, or 2) a user who can sudo to root ##...
#include "LightComponent.h" #include "../../utils/d3d.h" #include "../GameObject.h" #include "Transform.h" namespace thomas { namespace object { namespace component { LightComponent::LightComponent() { } LightComponent::~LightComponent() { } /** DIRECTIONAL LIGHT The light look do...
<?php /* Safe sample input : backticks interpretation, reading the file /tmp/tainted.txt SANITIZE : use of pg_escape_literal construction : use of sprintf via a %s with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, a...
class Rubygem < ActiveRecord::Base has_many :owners, :through => :ownerships, :source => :user has_many :ownerships, :dependent => :destroy has_many :subscribers, :through => :subscriptions, :source => :user has_many :subscriptions, :dependent => :destroy has_many :versions, :dependent => :destroy has_many...
package com.ul.deliveryclient; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.Destination; import javax.jms.MessageConsumer; import javax.jms.MessageProducer; import javax.jms.ObjectMessage; import javax.jms...
--- title: Using bitmaps for efficient Solidity smart contracts date: '2018-12-10' summary: '' tags: - Solidity - Ethereum - Smart Contracts - Bitmaps --- Smart contracts on Ethereum cost gas to run, and since gas is paid for in Ether, it's generally a good idea to minimize the gas cost of running one's contra...