text stringlengths 3 1.05M |
|---|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... |
package com.prowidesoftware.swift.model.field;
import com.prowidesoftware.swift.model.Tag;
import com.prowidesoftware.Generated;
import com.prowidesoftware.deprecation.ProwideDeprecated;
import com.prowidesoftware.deprecation.TargetYear;
import java.io.Serializable;
import java.util.Locale;
import java.util.List;
im... |
def job_discovery_generate_job_with_custom_attribute company_name:, requisition_id:
# [START job_discovery_generate_job_with_custom_attribute]
# company_name = "The resource name of the company listing the job. The format is "projects/{project_id}/companies/{company_id}""
# requisition_id = "The posting ID, ass... |
require 'bullcow/ai'
require 'bullcow/game'
require 'bullcow/filter'
require 'bullcow/filter/log'
|
/** This class defines a series of static methods that make it straightforward for
* us to hook our layout.xml files into the standard qooxdoo data binding functions.
* We're really just translating the instructions in the xml into native qooxdoo functions.
*
* We also have several methods to help with data b... |
<?php
namespace LaravelRocket\Foundation\Helpers;
interface TypeHelperInterface
{
/**
* @param string $type
* @param array $types
* @param string $default
*
* @return string
*/
public function getColumnTypeNameByValue(string $type, array $types, $default = '');
/**
* @p... |
<?php
namespace Wookieb\RelativeDate\Formatters;
use Wookieb\RelativeDate\DateDiffRequest;
use Wookieb\RelativeDate\DateDiffResult;
interface FormatterInterface
{
public function format(DateDiffResult $result);
} |
#ifndef LULLABY_EXAMPLES_EXAMPLE_APP_PORT_SDL2_GET_NATIVE_WINDOW_H_
#define LULLABY_EXAMPLES_EXAMPLE_APP_PORT_SDL2_GET_NATIVE_WINDOW_H_
void* GetNativeWindow(void* window);
#endif // LULLABY_EXAMPLES_EXAMPLE_APP_PORT_SDL2_GET_NATIVE_WINDOW_H_
|
<?php
if (!defined('_PS_VERSION_'))
exit;
class GridHtml extends ModuleGridEngine
{
private $_values;
private static $_columns;
function __construct($type = null)
{
if ($type != null)
parent::__construct($type);
else
{
$this->name = 'gridhtml';
$this->tab = 'administration';
$this->version = ... |
var dbg = function(s) {
if(typeof console !== 'undefined') {
console.log("Readability: " + s);
}
};
var readability = {
version: '1.5.0',
emailSrc: 'http://lab.arc90.com/experiments/readability/email.php',
iframeLoads: 0,
frameHack: false, /**
* The fr... |
package com.scg.domain;
import static org.junit.Assert.*;
import java.time.LocalDate;
import java.util.Formatter;
import org.junit.Before;
import org.junit.Test;
import com.scg.util.Address;
import com.scg.util.PersonalName;
import com.scg.util.StateCode;
/**
* JUnit tests for the InvoiceHeader.java
* @author Br... |
$(function() {
var editphoto = new Vue({
el: "#editphoto",
mixins: [vueMixins.tagSuggest],
data: {
id: $("#photoid").val(),
caption: "",
url: "",
youtube: "",
photo: false,
storymd: "",
taken: "",
year: "",
saving: false
},
computed: {
defaultUrl: function() {
return NameToU... |
namespace net {
// Implementation of ProxyResolver that uses the Mac CFProxySupport to implement
// proxies.
class ProxyResolverMac : public ProxyResolver {
public:
ProxyResolverMac() : ProxyResolver(true) {}
// ProxyResolver methods:
virtual int GetProxyForURL(const GURL& query_url,
... |
namespace draco {
// See FoldedBit32Encoder for more details.
template <class BitDecoderT>
class FoldedBit32Decoder {
public:
FoldedBit32Decoder() {}
~FoldedBit32Decoder() {}
// Sets |source_buffer| as the buffer to decode bits from.
bool StartDecoding(DecoderBuffer *source_buffer) {
for (in... |
@interface BTHDMKeychain () {
BOOL _isFromXRandom;
}
@property NSData *hdSeed;
@property NSData *mnemonicSeed;
@end
@implementation BTHDMKeychain
- (instancetype)initWithMnemonicSeed:(NSData *)seed password:(NSString *)password andXRandom:(BOOL)xrandom {
self = [super init];
if (self) {
self.hdSee... |
package com.ttkey.service.mixers.model;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@ToString(callSuper = true)
public class HttpRequest extends HttpOperation {
private String baseUri;
public Object getRequestBody() {
return super.getBody();
}
}
|
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
var React = require('react');
function getState() {
return {
visible: window.pageYOffset > 300
};
}
var BackToTop = React.createClass({
getInitialState: function () {
return getState();
},
_onChange: function () {
this.setState(getState());
},
componentDidMount: function () {
window.addEventListener('s... |
using System;
using System.Collections.Generic;
using CM3D2.MaidFiddler.Hook;
using CM3D2.MaidFiddler.Plugin.Utils;
namespace CM3D2.MaidFiddler.Plugin.Gui
{
public partial class MaidFiddlerGUI
{
private readonly Dictionary<PlayerChangeType, Action> playerValueUpdateQueue;
public PlayerInfo Pla... |
package main
import "sync"
// A ChanMux multiplexes several channels.
type ChanMux struct {
chans map[chan map[string]string]struct{}
lock sync.Mutex
}
// NewChanMux creates a new ChanMux.
func NewChanMux() *ChanMux {
return &ChanMux{
chans: make(map[chan map[string]string]struct{}),
}
}
// NewChan creates a... |
package com.hazelcast.map.journal;
import com.hazelcast.core.EntryEventType;
/**
* The event for the map event journal.
*
* @param <K> the entry key type
* @param <V> the entry value type
*/
public interface EventJournalMapEvent<K, V> {
/**
* Returns the key for the event entry.
*
* @return ... |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 6.00.0366 */
/* Compiler settings for msp.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
VC... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Nova Hedwigia, Beih. 23: 105 (1967)
#### Original name
Entoloma roanense Hesler
### Remarks
null |
<!DOCTYPE html>
<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"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitd662f5883fd14c106f1492b40ac14189
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
package edu.mum.cs.ds.atm.model;
import java.io.Serializable;
public class NotesParser implements Serializable {
}
|
ACCEPTED
#### According to
Index Fungorum
#### Published in
Grevillea 12(no. 63): 79 (1884)
#### Original name
Hypocrea consimilis Ellis
### Remarks
null |
-include ./.config
include config/config.vars
# Get rid of Kconfig quoted strings
UBUNTU_ISO_FILE_UNQ=$(shell echo $(UBUNTU_ISO_FILE))
all: config-test binary
deps:
@bin/install-deps
# Test required binaries are installed and executable
config-test:
@bin/config-test
##################
# Initialization #
########... |
<a href="https://www.filehelpers.net"><img src="http://www.filehelpers.net/images/homepage.jpg" /></a>
www.filehelpers.net
[](https://github.com/MarcosMeli/FileHelpers#license)
[;
}
} |
module Virtus
class Attribute
# Symbol
#
# @example
# class Product
# include Virtus
#
# attribute :code, Symbol
# end
#
# product = Product.new(:code => :red)
#
class Symbol < Object
primitive ::Symbol
coercion_method :to_symbol
en... |
\n
int gasket_page_table_init(struct gasket_page_table **ppg_tbl, const struct gasket_bar_data *bar_data, const struct gasket_page_table_config *page_table_config, struct device *device, struct pci_dev *pci_dev)
static bool gasket_is_pte_range_free(struct gasket_page_table_entry *ptes, uint num_entries)
static void gas... |
[](https://www.npmjs.org/package/terra-form-input)
[](https://travis-ci.com/cerner/terra-core)
Generic input which represents an HTML input element directly.
- [Getting Started](#getting-started)
- [Do... |
<!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... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using MouseNudge;
namespace MosueNudge
{
public class Program
{
static Mou... |
int _module_help_log_dom;
#define CRI(...) EINA_LOG_DOM_CRIT(_module_help_log_dom, __VA_ARGS__)
#define DBG(...) EINA_LOG_DOM_DBG(_module_help_log_dom, __VA_ARGS__)
#define NFO(...) EINA_LOG_DOM_INFO(_module_help_log_dom, __VA_ARGS__)
#define ERR(...) EINA_LOG_DOM_ERR(_module_help_log_dom, __VA_ARGS__)
typedef struct... |
package net.twibs.web
import net.twibs.util.{Request, Loggable}
class ErrorResponder(contentResponder: Responder, errorContentResponder: Responder) extends RecursiveFilenameResolverResponder(errorContentResponder, "_500.html") with Loggable {
def respond(request: Request): Option[Response] =
try {
conte... |
__all__ = ['findHTMLMeta', 'MetaNotFound']
from html.parser import HTMLParser, HTMLParseError
import html.entities
import re
from openid.yadis.constants import YADIS_HEADER_NAME
# Size of the chunks to search at a time (also the amount that gets
# read at a time)
CHUNK_SIZE = 1024 * 16 # 16 KB
class ParseDone(Exc... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/logging/v2/logging.proto
package com.google.logging.v2;
public interface ListLogEntriesRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogEntriesRequest)
com.google.protobuf.MessageOr... |
require 'spec_helper.rb'
describe /foo/ do
it { should respond_to( :to_parse ) }
describe ':to_parse' do
it 'should create a hash containing a $regex key containing the regexp source' do
/foo.?bar/.to_parse.tap do |result|
result.should be_a( Hash )
result.should have_key( '$regex' ... |
require 'spec_helper'
describe GovDelivery::TMS::EmailMessage do
context 'creating a new message' do
let(:client) do
double('client')
end
before do
@message = GovDelivery::TMS::EmailMessage.new(client, '/messages/email', body: '12345678',
... |
package org.simpleflatmapper.converter.impl.time;
import org.simpleflatmapper.converter.Context;
import org.simpleflatmapper.converter.ContextualConverter;
import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.temporal.TemporalAccessor;
import ... |
extern NSString* const kBBUSourceCodeTextReceivedNotification;
extern NSString* const kCode;
extern NSString* const kTreeNode;
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using Dominion.Cards.Actions;
using Dominion.Cards.Treasure;
using Dominion.Rules;
namespace Dominion.GameHost
{
public class ChosenStartingConfiguration : StartingConfiguration
{
... |
class CefRequestCallbackCToCpp
: public CefCToCppRefCounted<CefRequestCallbackCToCpp,
CefRequestCallback,
cef_request_callback_t> {
public:
CefRequestCallbackCToCpp();
virtual ~CefRequestCallbackCToCpp();
// CefRequestCallback methods.
void... |
<!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_45) on Thu Sep 08 12:33:49 PDT 2016 -->
<meta name="date" content="2016-09-08">
<link rel="stylesheet" type="text/css" href="stylesheet.css" ti... |
import numpy as np
import matplotlib.pyplot as plt
import matplotlib
import seismo
matplotlib.style.use('ggplot')
def create_fake_data(N):
''' Given number of signal components N, return signal object containing N components with random frquencies, amplitudes and phases.
'''
signal = seismo.signal()
... |
<?php
namespace Coyote\Bundle\FrontBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http:/... |
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="ivy-report.xsl"?>
<ivy-report version="1.0">
<info
organisation="io.muvr"
module="main_2.11"
revision="1.0.0-SNAPSHOT"
conf="plugin"
confs="compile, runtime, test, provided, optional, compile-internal, runtime-internal, test-intern... |
//
// MSWMockLocation.h
// MockingPlace
//
// Created by Maciej Swic on 01/10/15.
//
//
@import UIKit;
@import CoreLocation;
NS_ASSUME_NONNULL_BEGIN
@interface MSWMockLocation : NSObject
/**
* The title of the location or track.
*/
@property (nonatomic, strong) NSString *title;
/**
* The path to the file. ... |
var map = require('..');
var tobi = { name: { first: 'tobi' }, age: 2, role: { name: 'admin' } };
var loki = { name: { first: 'loki' }, age: 1 };
var jane = { name: { first: 'jane' }, age: 8 };
describe('map(arr, fn)', function(){
it('should map values', function(){
var arr = [1,2,3];
arr = map(arr, functio... |
<?php
declare(strict_types=1);
namespace Sonata\DoctrineORMAdminBundle\Filter;
use Symfony\Component\Form\Extension\Core\Type\TimeType;
class TimeFilter extends AbstractDateFilter
{
/**
* This filter has no range.
*
* @var bool
*/
protected $range = false;
/**
* This filter d... |
package org.usfirst.frc.team2084.CMonster2015.commands;
import org.usfirst.frc.team2084.CMonster2015.Robot;
import org.usfirst.frc.team2084.CMonster2015.RobotMap;
import org.usfirst.frc.team2084.CMonster2015.drive.processors.LinearRamper;
import org.usfirst.frc.team2084.CMonster2015.drive.processors.LinearRamper.Type... |
Licensed under the **MIT** license
> Copyright (c) 2014 Tim Kurvers <<tim@moonsphere.net>>
>
> 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 limitati... |
package com.vinhomn.service;
import java.util.List;
import com.vinhomn.data.domain.Product;
import com.vinhomn.web.model.ProductModel;
public interface ProductService {
public Product save(Product entity);
public void delete(long id);
public Product findOne(long id);
public List<Product> findAll();
... |
using AM.Text;
using JetBrains.Annotations;
using ManagedIrbis;
using ManagedIrbis.Client;
using ManagedIrbis.Mx;
using ManagedIrbis.Mx.Commands;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests.ManagedIrbis.Mx.Commands
{
[TestClass]
public class CsCommandTest
: CommonMxComma... |
var Backbone = require('backbone'),
$ = require('jquery'),
_ = require('underscore'),
swig = require('swig'),
utilidades = require('../../utilidades');
module.exports = Backbone.View.extend({
tagName: 'article',
className: 'Evento',
events: {
},
template: swig.compile($("#evento-template").h... |
// [WriteFile Name=OfflineRouting, Category=Routing]
// [Legal]
// Copyright 2020 Esri.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unl... |
<!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 Wed Apr 02 19:28:51 CDT 2008 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
TestMetaObjectParser (cpptas... |
HANDLE_ACCESSOR(GetDebugDescription, std::string, getDebugDescription)
HANDLE_ACCESSOR(CanStartStepping, bool, canStartStepping)
HANDLE_ACCESSOR(IsActive, bool, isActive)
HANDLE_ACCESSOR(IsSource, bool, isSource)
HANDLE_ACCESSOR(IsSink, bool, isSink)
HANDLE_ACCESSOR(IsProcessingNothingMessages, bool, isProcessingNothin... |
from __future__ import absolute_import, division, print_function
# Import standard modules
import math
import copy
import numpy as np
import warnings
# Import astronomical modules
from astropy import wcs
from astropy.wcs import utils
from astropy.units import Unit
from astropy.io import fits
from astropy.coordinates ... |
using AcadBlog.Data;
using AcadBlog.Models;
using AcadBlog.WebAPI.Attributes;
using AcadBlog.WebAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Web.Http;
using System.Web.Http.ValueProviders;
namespace AcadBlog.Web... |
require 'fileutils'
class DirectoryCleaner
MAX_IMAGES = 100
def self.clean
if Dir.entries("./public/meme").size >= MAX_IMAGES
delete_dir = File.join("**", "public", "**", "meme", "*jpeg")
FileUtils.rm(Dir.glob(delete_dir))
end
end
end
|
<?xml version="1.0" encoding="UTF-8"?>
<es:job-bag xmlns:es="http://www.marklogic.com/enhanced-search#">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://opengraphprotocol.org/schema/"
xmlns:rnews="http://iptc.org/std/rNews/2011-10-07#"
xmlns:c="http://www.w3.org/ns/xproc-step"
... |
import os, sys
suffixes = {}
def parcours(repertoire) :
liste = os.listdir(repertoire)
for fichier in liste :
if os.path.isdir(repertoire+'/'+fichier) :
parcours(repertoire+'/'+fichier)
else :
extension = os.path.splitext(repertoire+'/'+fichier)[1]
if not(extension) :
extension = 'pas de suffixe'
... |
<html>
<head>
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.0.4;zh-cn; ZTE V889M Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
... |
'use strict';
const path = require('path');
const util = require('util');
const fetch = import('node-fetch');
const akasha = require('akasharender');
const mahabhuta = akasha.mahabhuta;
const extract = require('meta-extractor');
const oembetter = require('oembetter')();
const { unfurl } = require('unfu... |
/*! @2014 Leo Wang. All Rights Reserved */
function ActionContext(){this.url,this.referrer,this.isChildAction,this.title,this.container,this.args} |
var fs = require("fs");
var completedTasks = 0;
var tasks = [];
var wordCounts = {};
var filesDir = "./text_files";
function checkIfComplete () {
completedTasks++;
if (completedTasks == tasks.length) {
for (var index in wordCounts){
console.log(index + ":" + wordCounts[index] );
}
}
}
function countWor... |
<?php
namespace app\controllers;
use Yii;
use yii\filters\AccessControl;
use yii\data\ActiveDataProvider;
use yii\web\Controller;
use yii\filters\VerbFilter;
use app\models\Kelas;
use app\models\Guru;
class RelasiController extends \yii\web\Controller
{
public function actionIndex()
{
$model = new Kelas... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<h1>Main Heading <small>Subordinate Heading</small></h1>
<h2>Main Heading <small>Subordinate Heading</small></h2>
<h3>Main Heading <small>Subordinate Heading</small></h3>
<h4>Main Heading <small>Subordinate Heading</small></h4>
<h5>Main Heading <small>Subordinate Heading</small></h5> |
#include "CompoundAST.h"
swing::ExprAST::ExprPtr swing::CompoundAST::Create(TokenIter& iter)
{
auto* ast = new CompoundAST();
++iter;
ast->_expr = ExprAST::CreateTopLevelExpr(iter);
iter++->Expect(TokenID::CloseSmall);
return ExprPtr(ast);
}
llvm::Value* swing::CompoundAST::CodeGen()
{
return _expr->CodeGen();... |
/**
* Created by yuexing on 2016/06/03.
* 爬虫的下载模块
*/
'use strict';
const path = require('path');
let crawler = require('./downloader/dynamic');
let phantomjs = require('./downloader/static');
let Page = require('./page');
let JsonData = require('./common/JsonData');
class Downloader {
constructor(_spiderCore)... |
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processI... |
#import "ImageScrollView.h"
@implementation ImageScrollView
@synthesize index;
- (id)initWithFrame:(CGRect)frame
{
if ((self = [super initWithFrame:frame])) {
self.showsVerticalScrollIndicator = NO;
self.showsHorizontalScrollIndicator = NO;
self.bouncesZoom = YES;
self.decelerat... |
from wopr import create_app
from werkzeug.contrib.fixers import ProxyFix
#celery_app = make_celery(app=app)
app = create_app()
app.wsgi_app = ProxyFix(app.wsgi_app)
if __name__ == "__main__":
if not app.debug:
import logging
from logging.handlers import RotatingFileHandler
file_handler = R... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TvTamer.Core.Configuration
{
public class EpisodeProcessorSettings : ConfigurationSection
{
[ConfigurationProperty("downloadFolder", IsRequired = ... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
if [ -z "$1" ]; then
echo "usage: $0 install_prefix"
exit 1
fi
set -e
install_prefix="$1"
version_hash="`git log -1 --pretty=format:%H`"
build_dir="/tmp/demangle-${version_hash}.build"
source_dir="`pwd`"
if [ ! -d "$build_dir" ]; then
mkdir -p "$build_dir"
fi
cmake -B "$build_dir" "$source_dir" "-DCMAKE_INSTA... |
package com.jops.android.beaconnotifier.activity;
import android.app.Activity;
import android.util.Log;
import android.view.Window;
import android.widget.TextView;
import com.estimote.sdk.cloud.CloudCallback;
import com.estimote.sdk.cloud.EstimoteCloud;
import com.estimote.sdk.cloud.model.NearableInfo;
import com.est... |
A Framer sample for infinity looping list
# Features
- Support up and down scroll.
- Recycle item layer of list.
> Compatible with all devices.
# Preview

# License
infinity-list.framer is released under the MIT license. See LICENSE for details.
|
package net.gree.aurora.application.config.defaultconfig;
import com.typesafe.config.Config;
import net.gree.aurora.application.config.AuroraShardingConfigType;
/**
* {@link AuroraDefaultConfig}のためのファクトリ。
*/
public final class AuroraDefaultConfigFactories {
private AuroraDefaultConfigFactories() {
}
... |
package worker
import (
"github.com/containerd/containerd/filters"
"github.com/moby/buildkit/client"
"github.com/pkg/errors"
)
// Controller holds worker instances.
// Currently, only local workers are supported.
type Controller struct {
// TODO: define worker interface and support remote ones
workers []Worker
}... |
import json
import os.path
import sys
import optparse
_script_path = os.path.realpath(__file__)
sys.path.insert(0, os.path.normpath(_script_path + "/../../json_comment_eater"))
try:
import json_comment_eater
finally:
sys.path.pop(0)
sys.path.insert(0, os.path.normpath(_script_path + "/../../json_to_struct"))
try... |
<?php namespace Ionix\Http;
class ParamBag implements \Countable {
/**
* @var array
*/
protected $params = [];
/**
* @param array $params
*/
public function __construct(array $params)
{
$this->params =& $params;
}
/**
* Get value for a specific parameter
... |
//------------------------------------------------------------------------------
// Project: arrayfunc
// Module: neg_simd_armv8.c
// Purpose: Calculate the neg of values in an array.
// This file provides an SIMD version of the functions.
// Language: C
// Date: 25-Mar-2020
// Ver: 31-Oct-2021.
... |
import datetime as dt
import logging
import re
import urllib
import urlparse
import uuid
from copy import deepcopy
from os.path import splitext
from flask import Request as FlaskRequest
from framework import analytics
# OSF imports
import itsdangerous
import pytz
from dirtyfields import DirtyFieldsMixin
from django.... |
export const SUBSCRIPTIONS_SUBSCRIBE = 'SUBSCRIPTIONS_SUBSCRIBE';
export const SUBSCRIPTIONS_UNSUBSCRIBE = 'SUBSCRIPTIONS_UNSUBSCRIBE';
|
<?php
return array (
'Title of your new note' => 'Kop van uw nieuwe notitie',
);
|
#include "config.h"
#include "Image.h"
#include "BitmapImage.h"
#include "GraphicsContext.h"
#include "ImageDecoder.h"
#include "NotImplemented.h"
#include "PlatformString.h"
#include "SharedBuffer.h"
#include "TransformationMatrix.h"
#include "WinceGraphicsExtras.h"
#include <wtf/OwnPtr.h>
#include <windows.h>
na... |
/*
* Copyright 2000-2002,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head
content must come *after* these tags -->
<meta name="author" content="posta... |
/* $NetBSD: mainbus.c,v 1.2 1998/06/09 11:30:09 tsubai Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
* All rights reserved.
*
* Author: Chris G. Demetriou
* DECstation port: Jonathan Stone
*
* Permission to use, copy, modify and distribute this software and
* its documentation is hereby g... |
__all__ = ["main"]
__license__ = "MIT"
from .download import Downloader
from .tree import ChyoaTree
from .util import get_elapsed_time
import os
import time
def main(argv=[__file__]):
if len(argv) < 2:
print("Usage: %s action [options]" % os.path.basename(argv[0]))
exit(1)
debug = os.environ.... |
<?php
namespace Enmash\Bundle\StoreBundle\Controller;
use Enmash\Bundle\PagesBundle\Component\RedirectResponseWithCookie;
use Enmash\Bundle\StoreBundle\Entity\PaymentOrder;
use Enmash\Bundle\StoreBundle\Entity\Product;
use Enmash\Bundle\StoreBundle\Entity\ProductOrder;
use Enmash\Bundle\StoreBundle\Entity\ShoppingCar... |
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('test_app', '0024_add_text'),
]
operations = [
migrations.AddField(
model_name='secondobject',
name='time',
field=models.TimeField(default... |
A [React](http://facebook.github.io/react/) component for `<input>` masking,
built on top of [inputmask-core](https://github.com/insin/inputmask-core).
## [Live Demo](http://insin.github.io/react-maskedinput/)
## Install
### npm
`MaskedInput` can be used on the server, or bundled for the client using an
npm-compati... |
```
title: "Part VI: Zoom and Cameras"
```
<p>When you run your game now, you'll notice that everything is really, really small. We're going to make it more visible by applying some zoom to our game so that we can get a better look at the action. This is a pretty quick change:</p>
<ol>
<li>
<p>Open the Main.hx fil... |
#import "TiBase.h"
#import "KrollBridge.h"
#import "KrollCallback.h"
#import "KrollObject.h"
#import "TiHost.h"
#import "TopTiModule.h"
#import "TiUtils.h"
#import "TiApp.h"
#import "ApplicationMods.h"
#import <libkern/OSAtomic.h>
#import "KrollContext.h"
#import "TiConsole.h"
#import "TiExceptionHandler.h"
#import "A... |