answer stringlengths 15 1.25M |
|---|
.home-layout {
padding-top: 50px;
padding-bottom: 50px;
text-align: center;
background: url('https://scontent-ord1-1.xx.fbcdn.net/hphotos-xta1/t31.0-8/<API key>.jpg') no-repeat center center fixed;
background-size: cover;
height: 855px;
}
.home-row {
position: relative;
padding-top: 20%;
padding-botto... |
var _ = require("underscore"),
Events = require("./Events"),
querystring = require("querystring"),
httpClient = require("./httpClient"),
utils = require("./utils"),
logger = require("config-logger");
var environments = {
sandbox: {
restHost: "api-sandbox.oanda.com",
streamHost: "... |
require "mscorlib"
require "System, Version=2.0.0.0, Culture=neutral, PublicKey<API key>
require "System.Collections.Generic, Version=2.0.0.0, Culture=neutral, PublicKey<API key>
require "System.Linq, Version=2.0.0.0, Culture=neutral, PublicKey<API key>
require "System.Text, Version=2.0.0.0, Culture=neutral, PublicKey<... |
package com.semmle.jcorn;
import com.semmle.js.ast.Position;
public class SyntaxError extends RuntimeException {
private static final long serialVersionUID = -<API key>;
private final Position position;
public SyntaxError(String msg, Position loc, int raisedAt) {
super(msg);
this.position = loc;
}
pub... |
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Spincommerce Guía de Estilos">
<meta name="keywords" content="">
<meta nam... |
var nums = [];
for (var i = 0; i < 100; ++i) {
nums[i] = Math.floor(Math.random() * 101);
}
insertionsort(nums);
dispArr(nums);
print();
putstr("Enter a value to count: ");
var val = parseInt(readline());
var retVal = count(nums, val);
print("Found " + retVal + " occurrences of " + val + "."); |
import imageContainer from '../server/api/helpers/imageContainer';
const entries = [
{
html: '<img src="/img/60x30.png" alt="60x30" class="zoom" data-zoom-src="/img/60x30-original.png">',
},
{
html: `<div>
<img src="/img/20x50.jpg">
</div>
<img src="/img/40x10.svg" alt="40x10">`,
},
{
html: '<di... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `Unsigned` trait in crate `num`.">
<meta name="keywords" co... |
import unittest
from polycircles import polycircles
from nose.tools import assert_equal, assert_almost_equal
class <API key>(unittest.TestCase):
"""Tests the various output methods: KML style, WKT, lat-lon and lon-lat."""
def setUp(self):
self.latitude = 32.074322
self.longitude = 34.792081
... |
@CHARSET "UTF-8";
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody,
... |
package betterwithaddons.crafting.recipes;
import betterwithaddons.crafting.ICraftingResult;
import betterwithaddons.util.ItemUtil;
import net.minecraft.block.state.IBlockState;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.Ingredient;
import java.util.ArrayList;
import java.util.Iterator;
imp... |
<?php
namespace Frontend42;
return [
'migration' => [
'directory' => [
__NAMESPACE__ => __DIR__ . '/../../data/migrations'
],
],
]; |
#pragma once
#include "platform.h"
#include "value.h"
#include "vm.h"
#include "result.h"
#include <memory>
#include <vector>
namespace imq
{
class IMQ_API ScriptFunction : public QFunction
{
public:
ScriptFunction(const String& funcName, Context* outerCtx, const std::shared_ptr<VBlock> block, const... |
#include "cf_internal.h"
#define CACHE_SIZE 1024
#define INDEX(i) ((i) % CACHE_SIZE)
static frame_cache_t* <API key>(cf_session_t* s)
{
frame_cache_t* cache = calloc(1, sizeof(frame_cache_t));
cache->wait_timer = s->proc->rtt + 2 * s->proc->rtt_val;
cache->state = buffer_waiting;
cache->frame_timer =... |
{{ Form::label('title', __('validation.attributes.title'), ['class' => 'label']) }}
<div class="mb-4">
{{ Form::text('title', old('title', $category->title), ['class' => 'input' . ($errors->has('title') ? ' has-error' : ''), 'required' => true]) }}
@if ($errors->has('title'))
<div class="invalid-feedbac... |
// Karma configuration
module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: '',
// testing framework to use (jasmine/mocha/qunit/...)
frameworks: ['mocha', 'chai', 'sinon'],
// list of files / patterns to load in the browser
fi... |
using System.ComponentModel;
namespace LinqAn.Google.Dimensions
{
<summary>
DCM creative type name of the DCM click matching the Google Analytics session (premium only).
</summary>
[Description("DCM creative type name of the DCM click matching the Google Analytics session (premium only).")]
public c... |
#include <QDebug>
#include <QFileDialog>
#include <QListWidgetItem>
#include <QMessageBox>
#include <QProcess>
#include <QWidget>
#include "app.h"
#include "import.h"
#include "ui_import.h"
Import::Import(App* app) :
app(app),
platform(-1) {
this->ui.setupUi(this);
connect(this->ui.toolFilepath, SIGNAL(... |
import {Component} from '@angular/core';
@Component({
selector: "recomendaciones",
templateUrl: "app/components/htmls/<API key>/recomendaciones.html",
styleUrls: ["app/components/htmls/htmlStyles.css"]
})
export class <API key> {}; |
Please take a read at this article so we can help you better, we are always happy to support you at our [chat](https://gitter.im/beto-rodriguez/Live-Charts), normally we respond you really fast.
Features
We are open to add new features to this library, but before suggesting one, ensure it is not implemented yet, There ... |
package com.github.anba.es6draft.runtime.types.builtins;
import java.lang.invoke.MethodHandle;
import java.lang.reflect.Method;
import com.github.anba.es6draft.runtime.ExecutionContext;
import com.github.anba.es6draft.runtime.Realm;
import com.github.anba.es6draft.runtime.types.Constructor;
/**
* <h1>9 Ordinary and Ex... |
// AAAreaspline.h
// AAChartKit
#import <Foundation/Foundation.h>
@class AADataLabels;
@interface AAAreaspline : NSObject
<API key>(strong, AAAreaspline, AADataLabels *, dataLabels)
@end |
/*
* Reading a variable.
*/
if (typeof print !== 'function') { print = console.log; }
function test() {
function outer() {
var o = 123;
return function inner() {
var i;
var t;
for (i = 0; i < 1e6; i++) {
t = o; t = o; t = o; t = o; t = o; t = o;... |
# <API key>: true
require "cases/helper"
require "models/user"
require "models/visitor"
class SecurePasswordTest < ActiveModel::TestCase
setup do
# Used only to speed up tests
@original_min_cost = ActiveModel::SecurePassword.min_cost
ActiveModel::SecurePassword.min_cost = true
@user = User.new
@vi... |
#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <fstream>
#include <iomanip>
#include <string>
#include <cstring>
#include "../include/globals.hpp"
#include "../include/classes.hpp"
#include "../include/functions.hpp"
struct cell{
double xStart;
double yStart;
double zStar... |
<?php
namespace Sigcotweb\AplicativoBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\<API key>;
class Configuration implements <API key>
{
/**
* {@inheritDoc}
*/
public function <API key>()
{
$treeBuilder = new... |
using System;
using System.Collections.Generic;
using System.Text;
using _03BarracksFactory.Contracts;
namespace P03_BarraksWars.Core.Commands
{
class RetireCommand : Command
{
public RetireCommand(string[] data, IRepository repository, IUnitFactory unitFactory)
: base(data, repository, unit... |
(function( window, undefined ) {
var Globalize;
if ( typeof require !== "undefined" &&
typeof exports !== "undefined" &&
typeof module !== "undefined" ) {
// Assume CommonJS
Globalize = require( "globalize" );
} else {
// Global variable
Globalize = window.Globalize;
}
Globalize.addCultureInfo( ... |
package de.codecentric.awesome.recommendation.core;
import java.util.HashMap;
import java.util.Map;
public class <API key> {
private static <API key> ourInstance = new <API key>();
private String <API key> = "P999";
// Map<User, Product>
private final Map<String, String> recommendationMap = new HashMap<... |
import omit from 'lodash/omit';
import get from 'lodash/get';
import isFunction from 'lodash/isFunction';
import { <API key> } from '../common/rollbar';
// Rollbar script exposes this global immediately, whether or not its already initialized
export const <API key> = () => !!get(global, 'Rollbar');
export default funct... |
# coding: utf-8
""" General utilities. """
from __future__ import division, print_function
__author__ = "adrn <adrn@astro.columbia.edu>"
# Standard library
import collections
import sys
import logging
import multiprocessing
# Third-party
import numpy as np
__all__ = ['get_pool']
# Create logger
logger = logging.getLogg... |
{% extends 'layout.server.view.html' %}
{% block content %}
<div ui-view></div>
{% endblock %} |
##  PdfRasterizer Plugin for Xamarin and Windows
Simple cross platform plugin that renders PDF files to images for easier integration.
Setup
* Available on NuGet: http:
* Install into your PCL project and Client projects.
**Platform Support**
|Platform|Supported|Version|
|
|Xamarin.iOS|Yes|iOS 6+|
|... |
#include <pthread.h>
#include <assert.h>
int g = 17; // matches expected precise read
pthread_mutex_t A = <API key>;
pthread_mutex_t B = <API key>;
pthread_mutex_t C = <API key>;
void *t_fun(void *arg) {
pthread_mutex_lock(&B);
pthread_mutex_lock(&C);
g = 42;
<API key>(&B);
g = 17;
<API key>(&C);
return N... |
import EmberObject from '@ember/object';
import { htmlSafe } from '@ember/string';
import RSVP from 'rsvp';
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import {
render,
settled,
find,
click
} from '@ember/test-helpers';
import hbs from '<API key>';
const { resolve } =... |
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
using Dependinator.Common.<API key>;
using Dependinator.Common.<API key>.Private;
using Dependinator.Common.Settin... |
var mongoose = require('mongoose');
var bcrypt = require('bcrypt-nodejs');
// define the schema for our user model
var authUserSchema = mongoose.Schema({
unique_ID : String,
username : String,
password : String,
role : String,
first_name : String,
... |
<?php
namespace fm\KitBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class KitBundle extends Bundle
{
} |
from notifications_utils.clients.antivirus.antivirus_client import (
AntivirusClient,
)
from notifications_utils.clients.redis.redis_client import RedisClient
from notifications_utils.clients.zendesk.zendesk_client import ZendeskClient
antivirus_client = AntivirusClient()
zendesk_client = ZendeskClient()
redis_clie... |
'use strict';
var Lib = require('../../lib');
// The contour extraction is great, except it totally fails for constraints because we
// need weird range loops and flipped contours instead of the usual format. This function
// does some weird manipulation of the extracted pathinfo data such that it magically
// draws co... |
module.exports = {
defersToPromises : function(defers) {
if(Array.isArray(defers)) {
return defers.map(function(defer) {
return defer && defer.promise ?
defer.promise :
defer;
});
}
var res = {};
Object.k... |
export default (sequelize, DataTypes) => {
const Product = sequelize.define('Product', {
name: DataTypes.STRING,
description: DataTypes.TEXT,
price: DataTypes.FLOAT,
releasedate: DataTypes.DATE
}, {
classMethods: {
associate: models => {
Product.belongsToMany(models.Cart, {through:... |
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>lora imoti</title>
<!-- Bootstrap Cor... |
<?php
namespace Glucose\Exceptions\User;
class <API key> extends \Glucose\Exceptions\Entity\<API key> {
} |
Arktrail
=====
You are the captain of a futuristic interstellar ark that quite honestly, left space-dock months too early.
Will you patch up your ship and survive the long journey between worlds to finish the space gate you are tasked to build, or will your ship succumb to the perils of interstellar space?
Current vers... |
import { SET_SORT_ORDER } from '../constants/actions';
export default function (state = 'ASCENDING', action) {
switch (action.type) {
case SET_SORT_ORDER:
return action.order;
default:
return state;
}
} |
<app-header></app-header>
<app-slider></app-slider>
<<div class="container text-center">
<h1 id="title">Delicious Recipes</h1>
<p>Angular</p>
<h4>The Tranquil Gazelles</h4>
<img [src]="gazelles" class="img-circle" alt="Us">
<p>We have created a fictional food SPA.</p>
</div>
<div class="latest-recip... |
import mongoose from 'mongoose';
const <API key> = new mongoose.Schema({
id: String,
name: String,
displayName: String,
email: String,
securities: [{
symbol: String,
allocation: {type: Number, min: 0, max: 100},
}]
});
<API key>.add({
subGroups: [<API key>],
modelPortfolios: [<API key>... |
import React, { Component } from 'react';
class Home extends Component {
render () {
return (
<div>
<h1>Home</h1>
<p>Bienvenidos!!!</p>
<pre>{`
{
path: '/',
pathExact: true,
... |
<ion-view view-title="{{ctrl.guideTitle}}">
<ion-content>
<div class="list">
<div class="card-panel grey lighten-4" ng-repeat="guide in ctrl.guides">
<div ng-repeat="guideline in guide.guidelines">
<div class="item-text-wrap">{{guideline.text}}</div>
</div>
</div>
</div>
... |
define('findScriptUrls', [], function () {
return function(pattern) {
var type = typeof pattern, i, tags = document.querySelectorAll("script"), matches = [], src;
for (i = 0; i < tags.length; i++) {
src = tags[i].src || "";
if (type === "string") {
if (src.ind... |
<h2>Sprzątanie pobojowisk</h2>
<?php
f('jednostki_miasto');
$jednostki = jednostki_miasto($gracz);
if(!empty($_POST['cel']) && !empty($_POST['u'])){
f('sprzatanie_wyslij');
echo sprzatanie_wyslij($jednostki,$_POST['cel'],$_POST['u'],$gracz);
$gracz = gracz($gracz['gracz']);
f... |
package net.tmachq.Ported_Blocks.tileentities.renderers;
import java.io.DataInputStream;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.OpenGlHelper;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.tileentity.<API key>... |
// 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
enum MENUPARTS
{
MENUPartFiller0 = 0x0,
MP_MENUITEM = 0x1,
MP_MENUDROPDOWN = 0x2,
MP_MENUBARITEM = 0x3,
MP_MENUBA... |
// Karma configuration
// Generated on 2015-05-11 using
// generator-karma 0.8.3
module.exports = function(config) {
'use strict';
config.set({
// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,
// base path, that will be used to resolve files and exclude
... |
var <API key> =
{
0: "dfrsw~",
1: "drs",
2: "dfrs~",
3: "rs",
4: "w"
};
var indexSectionNames =
{
0: "all",
1: "classes",
2: "functions",
3: "variables",
4: "pages"
};
var indexSectionLabels =
{
0: "All",
1: "Classes",
2: "Functions",
3: "Variables",
4: "Pages"
}; |
layout: post
title: 1212 TIL
excerpt: ""
tags: [TIL]
categories: [TIL]
link:
comments: true
pinned: true
image:
feature:
## Today Check List
- [ ] S3
- [ ] DB
- [ ] express
## Tomorrow Check List
## Today I learned
Spring
Controller .
* https://netframework.tistory.com/entry/25-View-%EB%8D%B0%EC%9D%B4%ED%84%B0... |
class DeviseCreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
## Database authenticatable
t.boolean :admin
t.string :email, null: false, default: ""
t.string :encrypted_password, null: false, default: ""
## Recoverable
t.string :<API key... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Authentication extends CI_Controller {
function index(){
$value = $this->input->cookie('remember_me');
if ($value == 'true') {
$arr = array(
'user' => $this->input->cookie('user'),
... |
var pub = {},
Q,
Knex;
module.exports = function ($inject) {
$inject = $inject || {};
Q = $inject.Q;
Knex = $inject.Knex;
return pub;
};
pub.get = function(tableName) {
var q = Q.defer();
pub.getMetadata(tableName)
.then(function(relations) {
q.resolve(relations[0]);
... |
using System.Web.Mvc;
using FFLTask.SRV.ServiceInterface;
using FFLTask.UI.PC.Filter;
using FFLTask.SRV.ViewModel.Account;
using FFLTask.SRV.ViewModel.Shared;
namespace FFLTask.UI.PC.Controllers
{
public class RegisterController : BaseController
{
private IRegisterService _registerService;
publi... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function(Blueprint $table)
{
$... |
# <API key>: true
require 'fieldhand/metadata_format'
module Fieldhand
# A parser for ListMetadataFormats responses.
class <API key>
attr_reader :response_parser
# Return a parser for the given response parser.
def initialize(response_parser)
@response_parser = response_parser
end
# Return... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Botos</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body{
color: #28fe14;
background-color: black;
font-family: "Courier Ne... |
namespace System.Resources
{
// Intentionally excluding visibility so it defaults to internal except for
// the one public version in System.Resources.ResourceManager which defines
// another version of this partial class with the public visibility
[AttributeUsage(AttributeTargets.Assembly, AllowMultipl... |
namespace CodeGraphModel
{
using System.Collections.Generic;
using System.Runtime.Serialization;
[DataContract]
public class Symbol : Entity
{
[DataMember]
public string Name { get; set; }
[DataMember]
public string SymbolType { get; set; }
[DataMember]
... |
// Compiled by ClojureScript 1.7.170 {}
goog.provide('figwheel.client.file_reloading');
goog.require('cljs.core');
goog.require('goog.string');
goog.require('goog.Uri');
goog.require('goog.net.jsloader');
goog.require('cljs.core.async');
goog.require('goog.object');
goog.require('clojure.set');
goog.require('clojure.st... |
export default class State {
constructor($rootScope) {
this.$rootScope = $rootScope;
this.state = [];
}
setData(data) {
console.log('state set data', data)
this.state = data;
this.$rootScope.$apply();
}
getData() {
//console.log('state get data', state... |
python tile_grab2.py -b "35.247;32.130;42.786;37.676" -z 9 -i false -d "syria_satellite" -u "https://api.mapbox.com/styles/v1/mapbox/<API key>/tiles/{z}/{x}/{y}?access_token=pk.<API key>.<API key>" -f jpg
python tile_grab2.py -b "35.247;32.130;42.786;37.676" -z 10 -i false -d "syria_satellite" -u "https://api.mapbox.co... |
<?php
namespace P2\Bundle\BootstrapBundle\Form\Extension;
/**
* Class FormTypeExtension
* @package P2\Bundle\BootstrapBundle\Form\Extension
*/
class FormTypeExtension extends <API key>
{
/**
* {@inheritDoc}
*/
public function getExtendedType()
{
return 'form';
}
} |
layout: post
date: 2015-10-14
title: "Allure Quinceanera Dresses - Style Q400 2015 Sleeveless Floor-Length Ballgown"
category: Allure
tags: [Allure,Ballgown,Sweetheart,Floor-Length,Sleeveless,2015]
Allure Quinceanera Dresses - Style Q400
Just **$266.99**
2015 Sleeveless Floor-Length Ballgown
<table><tr><td>BRANDS</td>... |
var request = require('request');
var Client = (function () {
function Client() {
this.options = {
"url": "",
"method": "GET",
"bodyParams": {},
"gzip": true,
"json": true
};
}
Client.prototype.connect = function (parent) {
... |
#encoding:UTF-8
# ISS017 - Character Improve 1.1
# ** ISS - Character Improve
# ** Date Created : 08/04/2011
# ** Date Modified : 08/10/2011
# ** For Game : Code JIFZ
# ** ID : 017
# ** Version : 1.1
# ** Requires : ISS000 - Core(1.9 or above)
($imported ||= {})["<API key>"] = true
# ** ISS
... |
function* generatorFn() {
yield 'foo';
yield 'bar';
return 'baz';
}
let generatorObject1 = generatorFn();
let generatorObject2 = generatorFn();
console.log(generatorObject1.next()); // { done: false, value: 'foo' }
console.log(generatorObject2.next()); // { done: false, value: 'foo' }
console.log(generatorObjec... |
<div class="four wide column center aligned votes">
<div class="ui statistic">
<div class="value">
{{ article.votes }}
</div>
<div class="label">
Points
</div>
</div>
</div>
<div class="twelve wide column">
<a class="ui large header" href="{{ article.l... |
#pragma once
#include "animations/display.h"
#include "animations/AnimationProgram.h"
#include "animations/PaintPixel.h"
#include "blewiz/BLECharacteristic.h"
#include "freertos/task.h"
class BadgeService : public BLEService {
public:
BadgeService(Display &display, AnimationProgram &animationProgram);
virtual ~... |
/*
Document : colors
Author : Little Neko
Description: template colors
*/
/** tabs **/
.panel-default>.panel-heading {background:#EB7F37; }
.panel-default>.panel-heading:hover {background:#fff; }
.panel-default>.panel-heading:hover a {color:#EB7F37; }
.panel-title>a {color:#fff;}
.panel-title>a:hover ... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="vi_VN" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About bitcoinlite</source>
<translation type="unfinished"/>
</message>
<message>
<location... |
// var isWaiting = false;
// var isRunning = false;
// var seconds = 10;
// var countdownTimer;
// var finalCountdown = false;
function GameTimer(game) {
this.seconds = game.timelimit;
this.secondPassed = function() {
if (this.seconds === 0 && !game.gameOver) {
game.endGame();
} else... |
Click With Me Now
===========
This is an integration between Interactive Intelligence's CIC platform and Click With Me Now.
See the [wiki](https://github.com/<API key>/ClickWithMeNow/wiki) for more information.
Visit CWMN at http://clickwithmenow.com |
package uk.gov.prototype.vitruvius.parser.validator;
import java.util.List;
public class ValidationMessage {
private String message;
private ValidationType type;
public ValidationMessage() {
}
public ValidationMessage(String message, ValidationType type) {
this.message = message;
thi... |
/* global Cervus */
const material = new Cervus.materials.PhongMaterial({
requires: [
Cervus.components.Render,
Cervus.components.Transform
],
texture: Cervus.core.image_loader('../textures/4.png'),
normal_map: Cervus.core.image_loader('../textures/normal2.jpg')
});
const phong_material = new Cervus.mat... |
#!/bin/mksh
set -eu
printf "%s\n\n" 'Content-type: text/plain'
# Optional with use of 'check_interval'
WANTED_INTERVAL='10'
USER="$( /usr/bin/whoami )"
HOMES_DIR='/home'
WWW_DIR="/var/www/virtual/${USER}"
HOME="${HOMES_DIR}/${USER}"
VAR_DIR="${HOME}/var/git-publish"
SRC_DIR="${HOME}/git"
function identify_service {
c... |
#!/usr/bin/env python
import pygame
pygame.display.init()
pygame.font.init()
modes_list = pygame.display.list_modes()
#screen = pygame.display.set_mode(modes_list[0], pygame.FULLSCREEN) # the highest resolution with fullscreen
screen = pygame.display.set_mode(modes_list[-1]) # the lowest resolutio... |
// of this software and associated documentation files(the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions :
// copies or substantial p... |
/**
* Correct `block` display not defined in IE 8/9.
*/
/* line 11, D:/Ruby21/lib/ruby/gems/2.1.0/gems/zurb-foundation-4.3.2/lib/../scss/normalize.scss */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* Correct `inline-block` display not de... |
yii-lazy-image
===========
Lazy image loader for the Yii framework. It is implemented as a static class which leverages [jQuery Unveil](http://luis-almeida.github.io/unveil/) to load images lazily. The interface is the same as `CHtml::image()` so existing code can easily be adapted to use it.
## Usage
Require the proje... |
import asyncio
import asyncio.subprocess
import datetime
import logging
from collections import OrderedDict, defaultdict
from typing import Any, Awaitable, Dict, List, Optional, Union # noqa
from urllib.parse import urlparse
from aiohttp import web
import yacron.version
from yacron.config import (
JobConfig,
p... |
layout: single
title: ""
date: 2018-10-10 21:30:00 +0800
categories: [Leetcode]
tags: [Greedy, Array]
permalink: /problems/<API key>/
## 1013. (Easy)
{% raw %}
<p> <code>arr</code> <strong></strong> <code>true</code> <code>false</code></p>
<p> <code>i + 1 < j</code> <code>(arr[0] + arr[1] + ...... |
const SELECTOR_BOOK_IMAGE = '#default > div > div > div > div > section > div:nth-child(2) > ol > li:nth-child(1) > article > div.image_container > a > img';
const puppeteer = require('puppeteer');
let scrapeSite1 = async (browser) => {
const page = await browser.newPage();
await page.goto('http://books.toscrape.co... |
# Command Bus
- [Introduction](#introduction)
- [Creating Commamnds](#creating-commands)
- [Dispatching Commamnds](#<API key>)
- [Queued Commands](#queued-commands)
<a name="introduction"></a>
## Introduction
The Laravel command bus provides a convenient method of encapsulating tasks your application needs to perform i... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Soluble\FlexStore\Source\<API key> | Soluble API</title>
<link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css">
<link rel="stylesheet" type="... |
<?php
class <API key> implements <API key>
{
private static $<API key> = array(
'var_dump',
'print_r',
'var_export',
'trigger_error',
'header',
'<API key>',
'xdebug_debug_zval',
'<API key>',
'xdebug_var_dump',
'xdebug_break',
's... |
using System;
using System.Globalization;
using System.IO;
using System.Windows.Data;
namespace MailUI.Converters
{
[ValueConversion(typeof(DirectoryInfo), typeof(FileInfo[]))]
public class <API key> : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureIn... |
#region Lock Object against files
#region Initial File Creation
$File = 'C:\users\proxb\desktop\test.log'
'1,2,3,4' | Out-File $File
#endregion Initial File Creation
#region Take lock and attempt to update file in runspace
$LockTaken = $null
[System.Threading.Monitor]::TryEnter($File, [ref]$LockTaken)
If ($LockTaken) {... |
<?php
namespace GS\UsuarioBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Lecturaconproposito
*
* @ORM\Table(name="lecturaconproposito", indexes={@ORM\Index(name="<API key>", columns={"bibliografia"})})
* @ORM\Entity
*/
class Lecturaconproposito
{
/**
* @var string
*
* @ORM\Column(name="<A... |
import pytest
@pytest.fixture
def <API key>(testapp, lab, award):
item = {
'award': award['@id'],
'lab': lab['@id'],
'<API key>': {
'assembly': 'GRCh38',
'chromosome': '11',
'start': 20000,
'end': 21000
},
'purpose': 'repression... |
class SessionsController < <API key>
def new
end
def create
user = User.find_by(email: params[:session][:email])
if user && user.authenticate(params[:session][:password])
log_in(user)
redirect_to user
else
render :new
end
end
def destroy
log_out
redirect_to root_url
... |
<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http:
<head>
<meta charset="utf-8"/>
</head>
<body>
<div id="wrapper">
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header"> -
<small></small>
<small clas... |
package com.longluo.demo.widget.swipelistview;
import android.content.Context;
import android.content.res.TypedArray;
import android.database.DataSetObserver;
import android.support.v4.view.MotionEventCompat;
import android.support.v4.view.<API key>;
import android.util.AttributeSet;
import android.view.MotionEvent;
im... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.