code stringlengths 4 1.01M |
|---|
andross = require "andross"
andross.backend = require "andross.love"
dragonBones = require "andross.dragonbones"
function love.load(args)
--mgr = andross.backend.AttachmentManager("media/dude/dude/sprites/")
local attachmentMgr = andross.backend.AtlasAttachmentManager("media/dude/texture/sprites/dude_atlas.png... |
/* author: dongchangzhang */
/* time: Thu Apr 20 14:48:28 2017 */
#include "symboltablemanager.h"
#include <iostream>
SymbolTableManager::SymbolTableManager()
{
main_table = do_create_new_table(START_INDEX);
cursor = main_table;
}
addr_type SymbolTableManager::install_id(const std::string& id)
{
return sy... |
<?php
namespace Api\User\Events;
use App\Events\Event;
use Api\User\Models\User;
class UserWasUpdated extends Event
{
public $user;
public function __construct(User $user)
{
$this->user = $user;
}
}
|
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: AssemblyTit... |
module Ecm
module Rbac
module ApplicationHelper
end
end
end
|
(function (window) {
'use strict';
/*global define, module, exports, require */
var c3 = { version: "0.4.11" };
var c3_chart_fn,
c3_chart_internal_fn,
c3_chart_internal_axis_fn;
function API(owner) {
this.owner = owner;
}
function inherit(base, der... |
/*
* Decompiled with CFR 0_110.
*/
package edu.stanford.crypto.proof.assets;
import edu.stanford.crypto.ECConstants;
import edu.stanford.crypto.proof.MemoryProof;
import org.bouncycastle.math.ec.ECPoint;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.List;
public class AddressProof
... |
function solve(args) {
const module = 1024;
let numbers = args.slice(1).map(Number),
current,
result = 0,
i = 0;
while (true) {
if (i === 0) {
current = numbers[i];
if (numbers.length === 1) {
result = current;
break;
... |
function populate(form)
{
form.options.length = 0;
form.options[0] = new Option("Select a county of Georgia","");
form.options[1] = new Option("Appling County","Appling County");
form.options[2] = new Option("Atkinson County","Atkinson County");
form.options[3] = new Option("Bacon County","Bacon County");
form.options[... |
/**
* Created by chenqx on 8/5/15.
* @hack 添加三角形绘制提交方式
*/
/**
* 以四边形填充
* @constant
* @type {number}
*/
qc.BATCH_QUAD = 0;
/**
* 以三角形填充
* @constant
* @type {number}
*/
qc.BATCH_TRIANGLES = 1;
var oldWebGLSpriteBatchSetContext = PIXI.WebGLSpriteBatch.prototype.setContext;
PIXI.WebGLSpriteBatch.prototype.set... |
package com.rogoapp;
import com.rogoapp.auth.RegisterActivity;
import android.app.Activity;
import android.accounts.AccountAuthenticatorActivity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.... |
import pytest
from clustaar.authorize.conditions import TrueCondition
@pytest.fixture
def condition():
return TrueCondition()
class TestCall(object):
def test_returns_true(self, condition):
assert condition({})
|
#include "cmd-run.h"
char** cmd_run_mkcl(int argc,char** argv,struct sub_command* cmd) {
char* home=configdir();
char* arch=uname_m();
char* os=uname_s();
char* impl=(char*)cmd->name;
char* version=(char*)cmd->short_name;
/*[binpath for mkcl] -norc -q -eval init.lisp
[terminating NULL] that total 6 are... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_13) on Sun Jan 24 12:52:50 EST 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Class edu.uci.ics.ju... |
package definiti.native
sealed trait Verification[A] {
final def verify[B <: A](value: B): Validation[B] = validate("", value)
private[native] def validate[B <: A](path: String, value: B): Validation[B]
def andThen(definedVerification: DefinedVerification[A]): Verification[A] = {
new VerificationGroup[A](S... |
package node
import (
"bytes"
"golang.org/x/net/html"
)
// Attr returns attribute of node by given key if any.
func Attr(n *html.Node, key string) (string, bool) {
for _, a := range n.Attr {
if a.Key == key {
return a.Val, true
}
}
return "", false
}
// Children returns slice of nodes where each node is... |
# External libraries
All dlls here are not available as a NuGet package. If a lib is available as a package reference it in packages.config.
## Microsoft.Build.Framework 3.5
This is an assembly that is needed by [StyleCop](https://github.com/StyleCop/StyleCop) to build. This is a hard copy from mono .NET 3.5 folder ... |
//
// heligun: 3D flight sim shooter
// Copyright (c) 2016 Joseph Kuziel
//
// This software is MIT licensed.
//
#include "sdlext.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <SDL2/SDL_rwops.h>
#include <SDL2/SDL_error.h>
void sdlextPrintError() {
printf("[SDL] %s\n", SDL_GetError());... |
using System;
using NetOffice;
using NetOffice.Attributes;
namespace NetOffice.PublisherApi.Enums
{
/// <summary>
/// SupportByVersion Publisher 14, 15, 16
/// </summary>
[SupportByVersion("Publisher", 14,15,16)]
[EntityType(EntityType.IsEnum)]
public enum PbMailMergeDestination
{
/// <summary>
/// Sup... |
import * as angular from 'angular';
import { ForgotPasswordComponent } from './ForgotPasswordComponent';
import { ForgotPasswordController } from './ForgotPasswordController';
export default angular
.module('users.forgotPassword', [])
.component(ForgotPasswordComponent.$name, new ForgotPasswordComponent())
... |
use rosrust::Duration;
use rosrust_diagnostics::{FrequencyStatus, Level, Status, Task};
mod util;
#[test]
fn frequency_status_test() {
let _roscore = util::run_roscore_for(util::Feature::FrequencyStatusTest);
rosrust::init("frequency_status_test");
let fs = FrequencyStatus::builder()
.window_size... |
# user.py is the autostart code for a ulnoiot node.
# Configure your devices, sensors and local interaction here.
# Always start with this to make everything from ulnoiot available.
# Therefore, do not delete the following line.
from ulnoiot import *
# The following is just example code, adjust to your needs accordin... |
#!/usr/bin/env node
// Fires up a console with Valid loaded.
// Allows you to quickly play with Valid on the console.
Valid = require('./lib/valid');
require('repl').start();
|
<?php
/*
* This file is part of ThraceMediaBundle
*
* (c) Nikolay Georgiev <symfonist@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Thrace\MediaBundle\Exception;
interface ExceptionInterface
{} |
class CategoriesController < ApplicationController
def index
@categories = Category.all
end
def show
@category = Category.find_by_id(params[:id])
end
end
|
# Copyright (c) 2015 Uber Technologies, Inc.
#
# 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, publ... |
package com.adben.testdatabuilder.core.analyzers.generators.generator;
import static com.adben.testdatabuilder.core.helper.ReflectionHelper.getClz;
import static java.lang.invoke.MethodHandles.lookup;
import static org.slf4j.LoggerFactory.getLogger;
import com.google.common.base.MoreObjects;
import java.lang.reflect.... |
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<path d="M4 18h11c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h8c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h11c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 ... |
/**************************************************************************************
Exclusion of Liability for this demo software:
The following software is intended for and must only be used for reference and in an
evaluation laboratory environment. It is provided without charge and is subject to
alterat... |
<div ng-controller="Default.Value" class="default-value">
{{engine.dValue}}
</div> |
/* ------ FLOOR SELECTOR ------- */
.pos.mobile .floor-selector {
line-height: 80px;
font-size: 30px;
}
.pos.mobile .slide-floor-menu {
z-index: 10;
}
.pos.mobile .slide-floor-menu .title {
display: block;
font-size: 50px;
line-height: 80px;
text-align: center;
}
/* ------ FLOOR MAP ------... |
'use strict';
describe('Service: awesomeThings', function() {
// load the service's module
beforeEach(module('initApp'));
// instantiate service
var awesomeThings;
beforeEach(inject(function(_awesomeThings_) {
awesomeThings = _awesomeThings_;
}));
it('should return all the awesomeThings at the sta... |
<?php
/**
* Created by PhpStorm.
* User: Niels
* Date: 18/10/2014
* Time: 18:00
*/
namespace Repositories;
use Utilities\Utilities;
/**
* The repository contains all methods for interacting with the database for the TalkTag model
*
* Class TalkTagRepository
* @package Repositories
*/
class TalkTagReposito... |
module TestEngine
class FaceToFace < Duration
end
end
|
<?php
/*
* Created on Aug 30, 2007
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
// Page requirements
define('LOGIN_REQUIRED', true);
define('PAGE_ACCESS_LEVEL', 2);
define('PAGE_TYPE', 'ADMIN');
// Set for every page
require ('engine/common.p... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Chapt... |
#include <stdio.h>
void push(int key,int a[],int *top){
(*top)++;
a[*top] = key;
}
int pop(int a[],int *top){
int t = a[*top];
(*top)--;
return t;
}
int main(void) {
int a[20];
int top = -1;
int num = 123;
int rev=0;
int i = 1;
while(num!=0){
push(num%10,a,&top);
num = num/10;
}
while(top != -1){... |
#!/usr/bin/env zsh
NVM_DIR="${HOME}/.nvm"
[ -s "$NVM_DIR" ] || return
function autoload_nvm
{
unfunction nvm
unfunction npm
source "${NVM_DIR}/nvm.sh"
}
function npm
{
autoload_nvm
npm "$@"
}
function nvm
{
autoload_nvm
nvm "$@"
}
|
# coding: utf-8
import pygame
import os
from color import *
from pygame.locals import *
class Score(pygame.sprite.Sprite):
def __init__(self, score, player, width, height):
super(pygame.sprite.Sprite).__init__(Score)
self.score = int(score)
self.color = None
self.player = player
... |
'use strict';
var matrix = require( 'dstructs-matrix' ),
ekurtosis = require( './../lib' );
var k,
mat,
out,
tmp,
i;
// ----
// Plain arrays...
k = new Array( 10 );
for ( i = 0; i < k.length; i++ ) {
k[ i ] = i;
}
out = ekurtosis( k );
console.log( 'Arrays: %s\n', out );
// ----
// Object arrays (accessors).... |
/* public/core.js */
var angTodo = angular.module('angTodo', []);
function mainController($scope, $http) {
$scope.formData = {};
/* when landing on the page, get all todos and show them */
$http.get('/api/todos')
.success(function(data) {
$scope.todos = data;
console.l... |
package org.nephtys.keepaseat.filter
import java.io.InputStream
import org.owasp.html.Sanitizers
/**
* Created by nephtys on 10/2/16.
*/
class XSSCleaner() {
/**
* just throw everything away that smells like HTML / Javascript. We only want text
* formatting seems smallest prepackaged san... |
package cmdji
type Compound struct {
KanjiCompound string
KanaCompound string
CompoundMeanings []string
}
type kanjiStruct struct {
Kanji string `json:"kanji"`
Meanings []string `json:"meanings"`
Onyomis []string `json:"onyomis"`
Kunyomis ... |
from __future__ import unicode_literals
from django.db import models
from django.utils.timezone import now, timedelta
Q = models.Q
class LogisticJob(models.Model):
LOCK_FOR = (
(60*15, '15 minutes'),
(60*30, '30 minutes'),
(60*45, '45 minutes'),
(60*60, '1 hour'),
(60*60*... |
define([], function() {
return function($translateProvider) {
$translateProvider.translations('en', {
WELCOME_TO_PIO: 'Welcome to PIO',
SIGN_IN: 'Sign in',
SIGN_UP: 'Sign up',
SIGN_OUT: 'Sign out',
FORGOT_PASSWORD: 'Forgot password?',
... |
<?php
/* :informacion:index.html.twig */
class __TwigTemplate_3fe207d07cb2a7021f8181185385f866207e1e1b6e8e118c7b08937099592d8c extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("base.htm... |
{
document.getElementsByClassName('close')[0].addEventListener('click', function() {
window.close();
});
} |
#ifndef tresholdFunctions_h
#define tresholdFunctions_h
namespace Treshold{
// ==== polynom order 0
inline double p0i( double x ){
if ( x < 0 ){ return 0; }
else { return x; }
};
inline double p0( double x ){
if ( x < 0 ){ return 0; }
else { return 1; }
};
// ==== polynom order 1... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Events;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Models.Entities;
using Umbraco.Cms.Core.Notifications;
using Umbraco.Cms.Core.Trees... |
.trainname
{
border: 2px solid #ffffff;
background: #ffffff;
color:black;
border-radius: 5px;
}
.transilien
{
line-height:1.5em;
}
.state
{
color:yellow !important;
} |
REM mkdir .\dev\pr
REM mkdir .\dev\pr\bin
REM mkdir .\dev\pr\lib
REM :±¸·Ýpr°æ
REM copy /y .\bin\*.dll .\dev\pr\bin
REM copy /y .\lib\*.lib .\dev\pr\lib
:Çл»Îª¿ª·¢°æ
copy /y .\dev\dev\bin\*.dll .\bin
copy /y .\dev\dev\lib\*.lib .\lib
copy /y .\dev\dev\bin\*.exe .\bin
|
'use strict';
angular.module('com.module.sandbox')
.controller('DatepickerDemoCtrl', function ($scope) {
$scope.today = function () {
$scope.dt = new Date();
};
$scope.today();
$scope.clear = function () {
$scope.dt = null;
};
$scope.disabled = function (date, mode) {
... |
#define ConcurrentHandles
#define WARN_VOB
//#define INFO_VOB
#define TRACE_VOB
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LionFire.Collections;
using LionFire.DependencyInjection;
using LionFi... |
import Ember from 'ember';
const { computed } = Ember;
let IronSelector = Ember.Component.extend({
attributeBindings: [
'selected',
'role',
'attrForSelected',
'multi'
],
selectedItem: computed({
get() {},
set(key, value) {
let items = this.get('items');
let idx = -1;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Engine
{
public class Item
{
public int ID { get; set; }
public string Name { get; set; }
public string NamePlural { get; set; }
public... |
"""Parse ISI journal abbreviations website."""
# Copyright (c) 2012 Andrew Dawson
#
# 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 righ... |
CURRENT_DIRECTORY=$(shell pwd)
ENV_VARS=NODE_ENV=test
TEST_DIR=test/
MOCHA_BIN=./node_modules/.bin/_mocha
MOCHA_DEFAULT_OPTS=--recursive -t 180000
MOCHA_OPTS=-R spec
# Runs all tests
test:
@$(eval TARGETS=$(filter-out $@,$(MAKECMDGOALS)))
@$(eval TARGETS=$(TARGETS:test/%=%))
@$(eval TARGETS=$(TARGETS:/%=%))
@$(eva... |
<!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_20) on Mon Nov 10 19:42:16 MST 2014 -->
<title>MainActivity.QuestionDetailFragment</title>
<meta name="date" content="2014-11-10">
<link rel="s... |
module V1
module Modules
class User < Grape::API
before_validation do
authenticate!
end
format :json
content_type :json, 'application/json'
# params :auth do
# requires :access_token, type: String, desc: 'Auth token', documentation: { example: '837f6b854fc7802c... |
package kata.calc
import scala.annotation.tailrec
trait AlgebraicList[T] {
def ::(value: T): AlgebraicList[T] = new NonEmptyList[T](Some(value), Some(this), size + 1)
def apply(index: Int): Option[T] = {
@tailrec
def find(index: Int, list: Option[AlgebraicList[T]]): Option[T] = {
... |
//
// AppDelegate.h
// ios-WK-UI-Webview
//
// Created by Emiliano Barbosa on 9/15/15.
// Copyright © 2015 Bocamuchas. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@prope... |
/*
Spot arbitrage oportunities in Forex market.
--
Cássio Jandir Pagnoncelli
kimble9t@gmail.com
*/
#include <stdio.h>
#include <stdlib.h>
/*------------------------------------------------------------------------------
--- Estruturas. ---------------------------------------------------------------
---------... |
package org.simplemart.product.health;
import com.codahale.metrics.health.HealthCheck;
public class PingHealthCheck extends HealthCheck {
@Override
protected Result check() throws Exception {
return Result.healthy();
}
}
|
<?php
namespace Mascame\Artificer\Fields;
use Mascame\Artificer\Artificer;
class Field extends AbstractField implements FieldInterface
{
use Filterable,
HasHooks,
HasWidgets;
/**
* Field constructor.
* @param $type
* @param $name
* @param array $options
*/
public... |
var Component = new Brick.Component();
Component.requires = {
mod: [
{name: '{C#MODNAME}', files: ['mail.js']}
]
};
Component.entryPoint = function(NS){
var Y = Brick.YUI,
COMPONENT = this,
SYS = Brick.mod.sys;
NS.MailTestWidget = Y.Base.create('MailTestWidget', SYS.AppWidget, ... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Aki's DBC Blog - Culture: Tech Problems</title>
<link rel="stylesheet" href="../css/blog_main.css">
<link href='http://fonts.googleapis.com/css?family=Alegreya+Sans+SC|Carrois+Gothic+SC|Audiowide|Iceland' rel='stylesheet' ty... |
export { FilterDisableHiddenStateComponent } from './filter-disable-hidden-state.component';
|
Function Get-TfsHttpClient
{
Param
(
[Parameter(Mandatory=$true, Position=0)]
[string]
$Type,
[Parameter()]
[object]
$Collection
)
Process
{
$tpc = Get-TfsTeamProjectCollection -Collection $Collection
return Invoke-GenericMethod -InputObject $tpc -MethodNa... |
export default function reducer (state = {}, action) {
return state;
};
|
import React, { Component, ComponentType } from 'react'
import { getBoundsForNode, TComputedBounds, TGetBoundsForNodeArgs } from './utils'
import { TSelectableItemState, TSelectableItemProps } from './Selectable.types'
import { SelectableGroupContext } from './SelectableGroup.context'
type TAddedProps = Partial<Pick<... |
/*
var jsonfile = require('jsonfile');
var file = '../data1.json';
var tasksController = require('../public/js/tasks.js');
jsonfile.writeFile(file,data1);
*/
// var User = require('../public/js/mongoUser.js');
var Task = require('../public/js/mongoTasks.js');
var MongoClient = require('mongodb').MongoClient, format = ... |
import glob
import os
import pandas as pd
class CTD(object):
"""docstring for CTD"""
def __init__(self):
self.format_l = []
self.td_l = []
self.iternum = 0
self.formatname = ""
def feature(self,index):
format_l = self.format_l
feature = ((float(format_l[inde... |
.navbar-default{
border-radius: 0;
font-family: "Montserrat";
border-width: 0 0 1px 0;
}
.navbar-lobos{
margin-left: 0;
margin-bottom: 0;
border-bottom: 3px solid #EE3A39;
}
.navbar-lobos .navbar-brand{
height: 80px;
}
.navbar-lobos img{
height: 60px;
}
.navbar-toggle{
margin: 30px;
}
.mega-dropdown... |
require 'vcr'
VCR.configure do |c|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
c.hook_into :webmock
c.configure_rspec_metadata!
end
|
oauth2-proxy
============
[](https://travis-ci.org/marvinpinto/ansible-role-oauth2-proxy)
[](https://g... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="https://ajax.googleapis.com/ajax/lib... |
{% extends "admin_layout.html" %}
{% block content %}
<table class="table table-responsive-sm pt-table-striped pt-err-table">
<tr>
<th>User</th>
<th>Timestamp</th>
<th>Summary</th>
<th>Origin</th>
<th>Message</th>
</tr>
{% for err i... |
using System;
using System.IO;
namespace Day2
{
class Program
{
static string puzzleInput = File.ReadAllText("puzzleInput.txt");
static int[,] KeyPad = new int[3, 3] { {1,2,3} ,
{4,5,6} ,
{7,8,9} }... |
<?php
namespace Maidmaid\WebotBundle\Event;
use GuzzleHttp\Message\Response;
use NumberPlate\AbstractSearcherSubscriber;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Component\EventDispatcher\GenericE... |
class CreateCoursesCompleteds < ActiveRecord::Migration
def self.up
create_table :courses_completeds do |t|
t.timestamps
end
end
def self.down
drop_table :courses_completeds
end
end
|
#!/bin/bash
mkdir ~/.vim/plugged
mkdir ~/.vim/swap
git clone https://github.com/junegunn/vim-plug ~/.vim/plugged/vim-plug
|
/* ========================================
ID: mathema6
TASK:
LANG: C++14
* File Name : A.cpp
* Creation Date : 10-04-2021
* Last Modified : Tue 13 Apr 2021 11:12:59 PM CEST
* Created By : Karel Ha <mathemage@gmail.com>
* URL : https://codingcompetitions.withgoogle.com/codejam/round/00000000... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... |
/*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: java.security.cert.PKIXCertPathBuilderResult
================================================================================*/
#ifndef J... |
<!-- START OF SETUP-->
<div ng-show="selectedItem" class="panel panel-default">
<div class="panel-body text-center">
<div class="panel-heading">
<label></label>
</div>
<fieldset>
<div class="form-group text-left">
<!-- LOGO -->
<div class="col-md-5 sideline">
<label class="col-sm-2 control-... |
<?php
namespace Richpolis\ShoppingCartBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Producto
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="Richpolis\ShoppingCartBundle\Repository\ProductoRepository")
*/
class Producto
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
... |
#ifndef _EZ_DRAW_PROTOTYPES_
#define _EZ_DRAW_PROTOTYPES_
#include "EzDraw.h"
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct tag_ezdFunctions
{
HINSTANCE hInst;
EZDBOOL (EZDCDECL* ezdInitialize)(void);
void (EZDCDECL* ezdCleanUp)(void);
EZDHANDLE (EZDCDECL* ezdDrawLine)(EZDFLOAT fX1,... |
"""
Running the template pre-processor standalone.
Input: Templated Antimony model (stdin)
Output: Expanded Antimony model (stdout)
"""
import fileinput
import os
import sys
directory = os.path.dirname(os.path.abspath(__file__))
path = os.path.join(directory, "TemplateSB")
sys.path.append(path)
from template... |
module.exports = {
flyers: {
testRail: {
projectId: 6,
},
confluence: {
space: '~adam.petrie'
}
}
}
|
import React, { useState } from 'react';
import { registerComponent, Components } from '../../../lib/vulcan-lib';
import MoreVertIcon from '@material-ui/icons/MoreVert';
import Menu from '@material-ui/core/Menu';
import { useCurrentUser } from '../../common/withUser';
import { useTracking } from "../../../lib/analytics... |
'use strict';
const Joi = require('joi');
const uuid = require('uuid');
const reqUtils = require('../utils/requestUtils');
const R = require('ramda');
//fixme: allow unknown fields and just require absolutely mandatory ones
const cucumberSchema = Joi.array().items(Joi.object().keys({
id: Joi.string().required(),
... |
Zappify-Objective_C
===================
A sample application implementing the Zappos API
About
============
Zappify is a sample app that I wrote as a challenge for Zappos. It makes use of their Search, AutoComplete, and CoreValue APIs. You are able to search for items from Zappos.com and have the displayed along w... |
from bottle import route, default_app
app = default_app()
data = {
"id": 78874,
"seriesName": "Firefly",
"aliases": [
"Serenity"
],
"banner": "graphical/78874-g3.jpg",
"seriesId": "7097",
"status": "Ended",
"firstAired": "2002-09-20",
"network": "FOX (US)",
"networkId": "... |
import { Registration } from "./Models";
export class Container {
private registrations: Array<Registration> = [];
private createInstance<T extends object>(classType: {new (): T} | Function): T {
return Reflect.construct(classType, []);
}
private isItemRegistered(item: any) : boolean {
... |
'use strict';
/**
* @ngdoc service
* @name publicApp.AuthInterceptor
* @description
* # AuthInterceptor
* Factory in the publicApp.
*/
angular.module('publicApp')
.factory('AuthInterceptor', function(JwtFactory) {
// Public API here
return {
request: function(config) {
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Bundler.Infrastructure;
using Bundler.Infrastructure.Server;
namespace Bundler.Sources {
public class StreamSource : ISource {
public const string Tag = nameof(StreamSource);
private readonly string[] _virtu... |
/*
* The MIT License
*
* Copyright 2017 Thibault Debatty.
*
* 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... |
#!/bin/bash
source ${0%/*}/config.sh
set -e
echo
echo '---------------------------------'
echo 'Deploy to sysroot'
echo '---------------------------------'
pushd $ROOT_DIR
if [ ! -d $SYSROOT_QT_DEVICE_DIR ] ; then
sudo rm -rf $SYSROOT_QT_DEVICE_DIR
fi
sudo cp -r $QT_OUTPUT_DIR $SYSROOT_QT_DEVICE_DIR |
@import './default';
|
/*
* The MIT License
*
* Copyright 2015 Sanket K.
*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.