text
stringlengths
3
1.05M
require 'middleman-core/util' require 'middleman-core/rack' class Middleman::Extensions::AssetHash < ::Middleman::Extension option :sources, %w(.css .htm .html .js .php .xhtml), 'List of extensions that are searched for hashable assets.' option :exts, %w(.jpg .jpeg .png .gif .webp .js .css .otf .woff .woff2 .eot ....
<?php namespace lukisongroup\front\controllers; use yii\web\Controller; class ProductController extends Controller { public function actionIndex($id) { if($id=='lg'){ $corp="PT. Lukison Group"; }elseif ($id=='sss'){ $corp="PT. Sarana Sinar Surya"; }elseif ($id=='esm'){ $corp="PT. Effembi Sukse...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
namespace dtkImaging { DTK_DEFINE_CONCEPT(dtkImageConverter, converter, dtkImaging) } // // dtkImageConverter.cpp ends here
/*jshint globalstrict: true, esversion: 6 */ 'use strict'; import {AbstractSystemUserSettingsCollection} from "AbstractSystemUserSettingsCollection"; /** * SystemUserSettingsCollection is the default implementation of {@link SystemUserSettingsCollectionInterface} which * provides routine SystemUserSettingsCollec...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Builder demo</title> <style> h1.custom {color: silver;} .transformed:before {color: blue;} .name {font-weight: bold;} .age {color: red;} </style> <script type="text/javascript" src="jst-transformer....
package com.google.devrel.training.conference.spi; import static com.google.devrel.training.conference.service.OfyService.ofy; import com.google.api.server.spi.config.Api; import com.google.api.server.spi.config.ApiMethod; import com.google.api.server.spi.config.ApiMethod.HttpMethod; import com.google.api.server.spi....
module ReceiptBank module Models class User < ReceiptBank::Models::BaseModel attr_accessor :session def self.find_raw(client_connection, options) response = client_connection.query_post_api('api/list_users', options) response['users'].inject([]) do |arr, u| arr << Models::Us...
This example demonstrates the use of Stopwatch class, Label and Button controls. Windows : ![GitHub Logo](../../../docs/Pictures/Examples/Forms/StopwatchFormW.png) macOS : ![GitHub Logo](../../../docs/Pictures/Examples/Forms/StopwatchFormM.png) Ubuntu : ![GitHub Logo](../../../docs/Pictures/Examples/Forms/Stopwat...
package com.robobunny.preferences; import android.content.Context; import android.content.res.TypedArray; import android.preference.Preference; import android.util.AttributeSet; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.view.ViewParent; import android.widget.Linea...
import re from phonology import ( is_cluster, is_consonant, is_diphthong, is_long, is_sonorant, is_vowel, ) # Syllabifier ----------------------------------------------------------------- def syllabify(word, compound=None): '''Syllabify the given word, whether simplex or complex.''' ...
Add speaker buttons/icons easily on your website. ## Install ### using cdn The simplest way is to load the hosted library through cdn. ```html <script type="text/javascript" src="https://notsobad-jp.github.io/speakerjs/js/speaker.min.js"></script> ``` ### direct install Or you can download the repository and place `...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Matsush. Mycol. Mem. , no. 3 3: 15 (1983) #### Original name Scolecobasidium tropicum Matsush., 1983 ### Remarks null
/* eslint-disable no-restricted-imports */ const rewire = require("rewire") const sinon = require("sinon") const cbs = require("../../lib/passport/callbacks") import options from "Server/passport/lib/options" import request from "superagent" import passport from "passport" jest.mock("superagent") jest.mock("Server/pa...
package mariculture.fishery.fish; import static mariculture.api.core.Environment.Salinity.FRESH; import static mariculture.core.lib.MCLib.dropletWater; import static mariculture.core.lib.MCLib.fermentedEye; import static mariculture.core.lib.MCLib.spiderEye; import static mariculture.core.lib.MCLib.string; import jav...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>Backpropagation.mixPatternSet Method</title> <xml> </xml> <link rel="stylesheet" type="text/css" h...
<!-- Copyright (C) 2010-2021 The Project Lombok Authors. 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, modif...
require 'test_helper' class DatabasesControllerTest < ActionController::TestCase setup do @database = databases(:one) end test "should get index" do get :index assert_response :success assert_not_nil assigns(:databases) end test "should get new" do get :new assert_response :success ...
using System; using System.Reflection; using System.Threading; namespace YAF.Lucene.Net.Util { /// <summary> /// LUCENENET specific abstract class containing common fuctionality for named service factories. /// </summary> /// <typeparam name="TService">The type of service this factory applies to...
from .replicator_status import ReplicatorStatus class SecondaryReplicatorStatus(ReplicatorStatus): """Provides statistics about the Service Fabric Replicator, when it is functioning in a ActiveSecondary role. You probably want to use the sub-classes and not this class directly. Known sub-classes are:...
/* Block listing page */ .region-title__action { display: inline-block; margin-left: 1em; /* LTR */ } [dir="rtl"] .region-title__action { margin-left: 0; margin-right: 1em; } /* Block demo mode */ .block-region { background-color: #ff6; margin-top: 4px; margin-bottom: 4px; padding: 3px; } a.block-demo-...
<?php namespace Dingo\Api\Provider; use Dingo\Api\Http; use RuntimeException; use Dingo\Api\Auth\Auth; use Dingo\Api\Dispatcher; use Dingo\Api\Routing\Router; use Dingo\Api\Console\Command; use Dingo\Api\Routing\UrlGenerator; use Illuminate\Support\ServiceProvider; use Dingo\Api\Routing\ResourceRegistrar; use Dingo\A...
import 'jasmine'; import {bound} from '../bound.js'; describe('@bound', () => { class MyClass { @bound property = function(this: unknown) { return this as MyClass; }; propertyGetAndSetValue = function(this: unknown) { return this as MyClass; }; @bound get propertyGetAndSet...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <meta name="collection" content="api"> <!-- Generated by javadoc (build 1.5.0-rc) on Wed Aug 11 07:27:42 PDT 2004 --> <TITLE> DatatypeFactory (Java 2 Platform SE 5.0) </TITLE> <META NAME=...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
<?php $language["DELETE_READED"]="Изтрий"; $language["USER_LANGUE"]="Език"; $language["USER_STYLE"]="Стил"; $language["CURRENTLY_PEER"]="В момента сийдвате или лийчвате торенти."; $language["STOP_PEER"]="Трябва да спрете своя клиент."; $language["USER_PWD_AGAIN"]="Повторете паролата"; $language["EMAIL_FAILED"]="Изпраща...
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // 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 // // THI...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.protempa; import java.util.Date; import org.drools.WorkingMemory; import org.protempa.proposition.AbstractParameter; import org.protempa.proposition.ProviderBasedUniqueIdFactory; import org.protempa.proposi...
Software Installation ===================== Install Vehicle Software ------------------------ .. code-block:: bash git clone --recursive https://github.com/<osu-uwrt>/riptide.git cd riptide ./scripts/prep-workspace cd ~/osu-uwrt/riptide_ws/src ./scripts/install-ceres ./scripts/install-ros source ~/.bas...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ JBoss, Home of Professional Open Source ~ Copyright 2010 Red Hat Inc. and/or its affiliates and other ~ contributors as indicated by the @author tags. All rights reserved. ~ See the copyright.txt in the distribution for a full listing of ~ individual contributors....
<html lang="en"> <head> <title>Non-bugs - Using the GNU Compiler Collection (GCC)</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Using the GNU Compiler Collection (GCC)"> <meta name="generator" content="makeinfo 4.7"> <link title="Top" rel="start" href="index.html#Top"> <...
{% extends "timepiece/user/base.html" %} {% load url from future %} {% load bootstrap_toolkit %} {% block title %} {% if not object %}Create User{% else %}Edit {{ object.get_name_or_username }}{% endif %} {% endblock title %} {% block crumbs %} {{ block.super }} <li> <span class="divider">/</span>...
package dynamake.menubuilders; import java.awt.Color; import java.util.ArrayList; import java.util.concurrent.ExecutionException; import javax.swing.JColorChooser; import javax.swing.JMenu; import javax.swing.JMenuItem; import javax.swing.UIManager; import javax.swing.colorchooser.AbstractColorChooserPanel; import ja...
<a name="programma"></a> <section class="alpha_24"> <div class="container group"> <h3 class="center">Il programma</h3> <table id="schedule" border="0" cellspacing="0" cellpadding="0"> <thead> <tr> <th> Time </th> <th> Track 1 </th> ...
package main import ( "encoding/json" "fmt" "io/ioutil" "net/http" "os" "strconv" "strings" "github.com/gorilla/mux" "github.com/gorilla/websocket" "github.com/lxc/lxd/shared" "gopkg.in/lxc/go-lxc.v2" ) func runCommand(container *lxc.Container, command []string, options lxc.AttachOptions) shared.Operation...
#ifndef __LIBMEMCACHED_SERVER_H__ #define __LIBMEMCACHED_SERVER_H__ struct memcached_server_st { struct { bool is_allocated:1; bool is_initialized:1; bool sockaddr_inited:1; bool is_shutting_down:1; } options; uint32_t number_of_hosts; uint32_t cursor_active; in_port_t port; int cached_e...
using System; using System.ComponentModel.Composition; using System.Reactive.Linq; using Caliburn.Micro; using Metro.Dialogs.Controls; namespace Metro.Dialogs.Example { [Export(typeof (IShell))] public class ShellViewModel : Screen, IShell { private readonly IWindowsDialogs _windowsDialogs; ...
#include "tensorflow/compiler/xla/service/while_loop_concat_code_motion.h" #include <map> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/types/optional.h" #include "absl/types/span.h" #include "tensorflow/com...
package org.antkar.syn.binder.schema.result_key; import org.antkar.syn.binder.SynField; public final class ResultKeySchema { @SynField private ResultKeyObj obj; public ResultKeySchema() { super(); } public ResultKeyObj getObj() { return obj; } }
title: MySqlConnectorFactory --- # MySqlConnectorFactory class An implementation of DbProviderFactory that creates MySqlConnector objects. ```csharp public sealed class MySqlConnectorFactory : DbProviderFactory ``` ## Public Members | name | description | | --- | --- | | static readonly [Instance](../MySqlConnecto...
CREATE TABLE IF NOT EXISTS `users` ( `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `name` VARCHAR(64) NOT NULL, `password` VARCHAR(64) NOT NULL, `email` VARCHAR(128) NULL DEFAULT NULL, `key` TEXT NULL DEFAULT NULL, `key_encryption` VARCHAR(255) NULL, `admin` TINYINT(1) NOT NULL DEFAULT '0', PRIMARY KEY...
// // Implements the following classes: // // AutoDialog - An improvement to wxDialog which makes validation easier. // // AutoPanel - An improvement to wxPanel which makes validation easier. // // wxNumericValidator - A validator capable of transfering numeric values. // // Copyright (c) 2001-2011 Virtual Terrain Proj...
package com.longluo.demo.advancedtextview; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.text.SpannableString; import android.text.SpannableStringBuilder; import android.text.style.TextAppearanceSpan; import android.widget.TextView; import com.longluo.demo.R; p...
package com.example.skylife.parsedb; /* ||v1.0|| ||Author: Gökcan DEĞİRMENCİ|| ||For detailed information please visit http://gokcan.degirmenci.me || ||@Skylifee7|| */ import android.graphics.Bitmap; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.Paint; import com.sq...
.PHONY : all test jshint run JSHINT := node_modules/.bin/jshint all : test test : jshint jshint : $(JSHINT) app.js env.js routes run : npm start
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ar" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About BCATcoin</source> <translation>عن البلاك كوين</translation> </message> <message> <locat...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE locale SYSTEM "../../../../../lib/pkp/dtd/locale.dtd"> <!-- * @file plugins/importexport/datacite/locale/uk_UA/common.xml * * Copyright (c) 2003-2013 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Shared loca...
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <software-distribution project="MinGW" home="http://www.mingw.org" issue="2013092200"> <!-- File: mingw32-runtime.xml ~~ mingw-get package description for MinGW API --> <package-collection subsystem="mingw32"> <download-host uri="http://prdownloads.sourc...
const traitInputAttr = { placeholder: 'Wpisz tutaj' }; export default { assetManager: { addButton: 'Dodaj obrazek', inputPlh: 'http://path/to/the/image.jpg', modalTitle: 'Wybierz obrazek', uploadTitle: 'Wybierz lub przeciągnij plik z dysku', }, // Here just as a reference, GrapesJS core doesn't c...
import { connect } from 'react-redux' import WidgetWrapper from '../components/widget/WidgetWrapper' const mapStateToProps = (state, { subscriptionId: id }) => { let apiData let apiError if (id) { if (state.api.get('data').has(id)) { apiData = state.api.get('data').get(id) } ...
require 'delegate' module WeatherObject module Data class TimeRange < SimpleDelegator def initialize(*args) range = Range.new(*args) super(range) end def starts_at min end def ends_at max end def size max - min end end...
This project is done in Python 3, so you'll need to install it / upgrade first. You'll also need to install the various dependencies. With [pip](https://github.com/pypa/pip): ``` $ pip install -r requirements.txt ``` If Python 3 is not your default python version, you'll probably need to use `pip3` instead. ## Usa...
#include "mex.h" #include "drake/systems/plants/constraint/RigidBodyConstraint.h" #include "drake/util/drakeMexUtil.h" #include "drake/systems/plants/RigidBodyTree.h" #include <cstring> /* * [type,num_constraint,constraint_val,dconstraint_val,constraint_name,lower_bound,upper_bound] * = testSingleTimeKinCnstmex(kinCn...
"""Python XFP example.""" import sys from absl import app from absl import flags from open_spiel.python.algorithms import exploitability from open_spiel.python.algorithms import fictitious_play import pyspiel FLAGS = flags.FLAGS flags.DEFINE_integer("iterations", 100, "Number of iterations") flags.DEFINE_string("ga...
require "formula" module Homebrew module_function def inreplace_pairs(path, replacement_pairs) if ARGV.dry_run? contents = path.open("r") { |f| Formulary.ensure_utf8_encoding(f).read } contents.extend(StringInreplaceExtension) replacement_pairs.each do |old, new| unless ARGV.flag?("-...
<?php namespace JMS\Serializer\Exception; class UnsupportedFormatException extends InvalidArgumentException { }
package com.mararok.epicwar.faction; import java.util.Collection; import com.mararok.epicwar.War; /** * Manages all factions in one war */ public interface FactionManager { /** * Returns faction with selected id or null when faction doesn't exists */ public Faction findById(int id); /** * Returns...
class Genre < ActiveRecord::Base has_many :movie_genres has_many :movies, :through => :movie_genres include Averageable::InstanceMethods def reviews self.critic_reviews end end
<!-- Google Analytics --> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-16620161-5']); _gaq.push(['_trackPageview']); _gaq.push(['_trackPageLoadTime']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascrip...
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <gradient android:startColor="#a681cc" android:endColor="#a950f7" android:angle="45"/> </shape>
package xyz.gsora.toot; import MastodonTypes.Mention; import MastodonTypes.Notification; import MastodonTypes.Status; import android.content.Context; import android.content.Intent; import android.support.annotation.Nullable; import android.support.v4.content.ContextCompat; import android.support.v7.widget.RecyclerView...
using System; using System.Collections.Generic; using System.Reflection; using Light.GuardClauses; namespace Light.Serialization.Json.TokenParsers { /// <summary> /// Represents the base class of an <see cref="IJsonTokenParser" /> that can deserialize /// JSON strings to .NET primitve types other ...
const fs = require('fs-extra'); const path = require('path'); const structure = require('./structure'); const menu = module.exports; const MENU_STRUCTURE = 'menu.json'; /** * Generate and writes menu.json * * Sections are root nodes than may have articles and categories * Categories group articles * Articles ar...
@implementation NSDateComponents (ABFramework) +(NSDateComponents*) componentsFromString:(NSString*)string { NSDateComponents *comps = [[NSDateComponents alloc] init]; if (!string) return comps; NSArray *parts = [string componentsSeparatedByString:@" "]; for (NSString *part in parts) { if (part.length == 4 ...
export enum DropdownEventSource { HeaderClick = 8, SectionClick = 16, OutsideClick = 24, EscapeClick = 32, ManualTrigger = 64 } export type DropdownOnToggleHandler = (isOpen: boolean, source: DropdownEventSource) => void; export interface ClassNameProps { className?: string; op...
package com.rocketfuel.sdbc.cassandra.datastax import com.rocketfuel.sdbc.base import com.rocketfuel.sdbc.base.{Logging, CompiledStatement} import com.datastax.driver.core.{Row => CRow, _} import scala.concurrent._ import scala.collection.convert.decorateAsScala._ case class Select[T] private [cassandra] ( override...
/** * NodeConfig * ========== */ var path = require('path'), inherit = require('inherit'), ModeConfig = require('./mode-config'); /** * NodeConfig передается в коллбэки при объявлении ноды (ProjectConfig::node) * и при матчинге ноды (ProjectConfig::nodeMask). * @name NodeConfig */ module.exports = inher...
[![CI](https://github.com/lemire/despacer/actions/workflows/CI.yml/badge.svg)](https://github.com/lemire/despacer/actions/workflows/CI.yml) Fast C library to remove white space from strings (also called "strip white space"). We want to remove the space (' ') and the line feeds characters ('\n', '\r') from a string as...
<!DOCTYPE html> <html ng-app="app"> <head lang="en"> <meta charset="UTF-8"> <title></title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.js"> </script> </head> <body> <div> <div ng-controller="FirstController"> <h1>Hello {{ name }}</h1> </div> <...
""" Handle things that need emailed to me for my situational awareness. """ # stdlib from email.mime.text import MIMEText # 3rd Party from twisted.internet import reactor from twisted.mail import smtp from pyiem.util import LOG from pyiem.nws import product # Local from pywwa import common from pywwa.ldm import bridg...
layout: story category: short story issue: 34, July 2016 issue-cover: issue-34-cover.png issue-buy-link: title: Imagine a World So Forgiving subtitle: author: margaret-killjoy author-2: author-3: editor: brian-j-white illustrator: copyeditor: selector: daniel-jose-older translator: narrator: letterer: date: 2016-07-03 ...
// Fetch handler package main import ( "encoding/json" "fmt" "log" "net/http" "os" "path/filepath" "strconv" "github.com/gofrs/uuid" "github.com/julienschmidt/httprouter" "github.com/printmaps/printmaps/pd" ) /* fetchMetadata fetches the meta data for a given map ID */ func fetchMetadata(writer http.Respo...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'Ip2Region' => $vendorDir . '/zoujingli/ip2region/Ip2Region.php', );
import {Component} from '@angular/core'; import {ProductService} from './product.service'; import {HTTP_PROVIDERS} from '@angular/http'; import {NgFor} from '@angular/common'; import {UserService} from '../auth/user.service'; import {MdSwitch} from "ng2-material"; import {RouteConfig, Router, RoutePar...
import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.TreeSet; // TODO The computation of MST will lead to have the resulting graph inconsistent states. It will have references not // TODO belonging to the resulting graph anymore. /** * Computes a minimum spa...
cask :v1 => 'firefox-tw' do version :latest sha256 :no_check url 'https://download.mozilla.org/?product=firefox-latest&os=osx&lang=zh-TW' homepage 'http://mozilla.com.tw/firefox/new/' license :oss app 'Firefox.app' end
package org.apache.axis.attachments; import org.apache.axis.Part; /** * This simulates the multipart stream. * * @author Rick Rineholt */ public abstract class MultiPartInputStream extends java.io.FilterInputStream { MultiPartInputStream(java.io.InputStream is) { super(is); } public ab...
// // AnimManager.cpp // LaserAnimTool // // Created by pach on 29/05/14. // Copyright (c) 2014 __MyCompanyName__. All rights reserved. // #include "AnimManager.h" #include "ofxUI.h" //#include "ofxTimeline.h" //#include "ofxTLAudioTrack.h" #include "ofxXmlSettings.h" #include "Utils.h" //#include "AnimatedPol...
'use strict' var helper = require('./test-helper') var util = require('util') var pg = helper.pg const Client = pg.Client var createErorrClient = function () { var client = helper.client() client.once('error', function (err) { assert.fail('Client shoud not throw error during query execution') }) client.o...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="generator" content="PHPDoctor 2RC4 (http://peej.github.com/phpdoctor/)"> <meta name="when" content="Tue, 15 May 2012 19:23...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vision/v1p3beta1/image_annotator.proto package com.google.cloud.vision.v1p3beta1; public interface OutputConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1p3beta1.OutputConfig) com...
<?xml version='1.0' encoding='utf-8'?> <widget id="world.karrot.dev" version="9.5.1" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>Karrot Dev</name> <description>Karrot is a free and open-source tool for grassr...
import policy import hide_deactivated_images
package com.asakusafw.compiler.flow.jobflow; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.apache.hadoop.io.NullWritable; import org.slf4j...
package com.example.cnlcnn.adapter; /* * 项目名: WallPaper * 文件名: GalleryAdapter * 创建者: LiChuang * 创建时间: 2017/5/15 * 描述: 画廊适配器 */ import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Gallery; import android.wi...
class Mountebank::Stub::Response attr_accessor :is, :proxy, :inject def initialize(data={}) @is = data[:is] || nil @proxy = data[:proxy] || nil @inject = data[:inject] || nil @behaviors = data[:_behaviors] end def self.with_injection(injection='') return false if injection.empty? data...
import React, { Component } from 'react'; import { Col, Image, Modal } from 'react-bootstrap'; class Photo extends Component { constructor(props) { super(); this.state = {showModal: false}; this.open = this.open.bind(this); this.close = this.close.bind(this); } close() { this.setState({ show...
using System.Net.Http; using System.Web; using DotNetNuke.Entities.Modules; using DotNetNuke.Services.UserRequest; namespace DotNetNuke.Web.Api { public static class HttpRequestMessageExtensions { public static int FindTabId(this HttpRequestMessage request) { return IterateTabAndMod...
using System; namespace ScriptSharp.Parser { internal delegate void ErrorEventHandler(object sender, ErrorEventArgs e); }
package org.apache.asterix.external.library.adapter; import java.io.IOException; import java.io.InputStream; import java.util.Map; import org.apache.asterix.common.api.IApplicationContext; import org.apache.asterix.common.cluster.ClusterPartition; import org.apache.asterix.common.dataflow.ICcApplicationContext; impo...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2009-2016 the original author or authors. 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.apa...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
using System.IdentityModel.Tokens; using System.Linq; using System.Web.Http; namespace PayMe.Services.WebApi.Helpers { //from: https://github.com/martinnormark/ZuMo.API/blob/master/ZuMo.API/PresentationLogic/Security/ApiControllerSecurityHelpers.cs public static class ApiControllerSecurityHelper { ...
from . import Event, var, mod from .Store import Store from .Model import Model from .MemoryStore import MemoryStore __all__ = [ "Event", "Store", "Model", "var", "mod", "MemoryStore" ] __version__ = '0.1.2'
import React from 'react'; import { mount } from 'enzyme'; import toJson from 'enzyme-to-json'; import { ThemeProvider } from 'styled-components'; import { theme } from 'mcs-lite-theme'; import DataChannelAdapter from '../DataChannelAdapter'; it('should render HEX_DISPLAY correctly with default value to empty', () => ...
package org.socialsignin.spring.data.dynamodb.config; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.services.dynamodbv2.AmazonDynamoDB; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.socialsignin.spring.data.dyn...
package androidx.media3.datasource; import static androidx.media3.common.util.Assertions.checkNotNull; import android.net.Uri; import androidx.annotation.Nullable; import androidx.media3.common.util.UnstableApi; import java.io.IOException; import java.util.List; import java.util.Map; /** {@link DataSource} wrapper ...
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <feed><tipo>Rua</tipo><logradouro>Lima Barreto</logradouro><bairro>Ideal</bairro><cidade>Ipatinga</cidade><uf>MG</uf><cep>35162195</cep></feed>
Yet another Craigslist scraper. This was written for my own purposes (i.e. to use, to learn more about craigslist, work on my node/js skills, to do something in my free time) > NOTE This is definitely NOT production ready. Use at your own risk ## dependencies - node - npm ## setup ```bash git clone git@github.com:k...