text stringlengths 3 1.05M |
|---|
<?php
namespace PHPoole\Step;
use PHPoole\Generator\GeneratorManager;
/**
* Generates virtual pages.
*/
class GeneratePages extends AbstractStep
{
/**
* {@inheritdoc}
*/
public function init($options)
{
if (count($this->phpoole->getConfig()->get('generators')) > 0) {
$thi... |
#ifndef __GTHREE_OBJECT_H__
#define __GTHREE_OBJECT_H__
#if !defined (__GTHREE_H_INSIDE__) && !defined (GTHREE_COMPILATION)
#error "Only <gthree/gthree.h> can be included directly."
#endif
#include <glib-object.h>
#include <graphene.h>
#include <gthree/gthreetypes.h>
#include <gthree/gthreeenums.h>
G_BEGIN_DECLS
#... |
//=================================================================================================
//=================================================================================================
#ifndef _BLAZE_UTIL_CONSTRAINTS_BASEOF_H_
#define _BLAZE_UTIL_CONSTRAINTS_BASEOF_H_
//******************************... |
require_relative 'mcpi/minecraft'
require_relative 'mcpi/block'
require_relative 'blockData'
=begin
First thing you do is create a connection to minecraft
This is like dialling a phone.
It sets up a communication line between your script and the minecraft world
=end
# Create a connection to Minecraft
# Any communicat... |
package com.sequenceiq.cloudbreak.orchestrator.salt.domain;
public class Cloud {
private String name;
public Cloud() {
}
public Cloud(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = n... |
if(!dojo._hasResource["dojox.highlight._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dojox.highlight._base"] = true;
dojo.provide("dojox.highlight._base");
//
// dojox.highlight - syntax highlighting with language auto-detection
// released under CLA ... |
'''
// Copyright 2008 Google Inc.
//
// 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 by applicable law or agre... |
#import <Foundation/Foundation.h>
typedef enum sqlOperationType {rowset, row, array, file} SQLOperationType;
/*
* Atomic SQL operations that form part of a transaction.
*
* They all take the following form:
*
* - type | statement | parameters | onSuccess | onError
*
* type can be:
*
* - rowset
* - row
... |
//
// HCCreateQRCode.h
// HCSystemicQRCodeDemo
//
// Created by Caoyq on 16/5/5.
// Copyright © 2016年 honeycao. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface HCCreateQRCode : NSObject
/**
*根据传入的字符串来生成相应的二维码
*@param string 传入的字符串
*@param vc 调用方法时当前... |
<!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... |
module Google
module Cloud
module WebSecurityScanner
module V1
# A ScanRun is a output-only resource representing an actual run of the scan.
# Next id: 12
# @!attribute [rw] name
# @return [::String]
# Output only. The resource name of the ScanRun. The name foll... |
/**
* ArrayOfReceiveInfoForm.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
*/
package com.baosight.sts.st.ws.domain;
public class ArrayOfReceiveInfoForm implements java.io.Serializable {
private com.baosight.sts.st.ws.dom... |
from django.utils.safestring import mark_safe
from elasticsearch_dsl import A
from elasticsearch_dsl.query import Q
def _make_values_lists(kwargs):
return {
k: v if isinstance(v, (list, tuple)) else [v]
for k, v in kwargs.items()
}
class EmtpyResponse(list):
class hits:
total = ... |
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
import os.path
from typing import Dict
import setuptools
MODULE_NAME = "DataProperty"
REPOSITORY_URL = f"https://github.com/thombashi/{MODULE_NAME:s}"
MISC_DIR = "misc"
REQUIREMENT_DIR = "requirements"
pkg_info: Dict[str, str] = {}
def get_r... |
What is this?
=============
This is a simple HTML prototype written in HAML or ERB that is designed to be
viewed with Serve.
What is Serve? Serve is an open-source rapid prototyping framework for Web
applications. It makes it easy to prototype functionality without writing a
single line of backend code.
How do I in... |
import random
from federatedml.framework.homo.blocks import model_scatter
from federatedml.framework.homo.test.blocks.test_utils import TestBlocks
from federatedml.util import consts
def model_scatter_call(job_id, role, ind, *args):
models = args[0]
if role == consts.ARBITER:
models = model_scatter.S... |
#if _MSC_VER
// Suppress "decorated name length exceeded, name was truncated" warning
#pragma warning (disable: 4503)
#endif
#include "tbb/flow_graph.h"
#include "tbb/tick_count.h"
#include "tbb/spin_mutex.h"
#include "tbb/global_control.h"
#include <iostream>
#include <thread>
#include <chrono>
#include "..... |
Brute force solver of the triangle peg jumping game you see at Cracker Barrel.
I'm well aware that this is a solved game, I just wanted to write a program to solve it on my own.
1. `git clone` or `go get` this repo
1. In the tripegd directory type `go build`
1. run `go get github.com/genghisjahn/xlog`
1. `./tripegd` ... |
package org.jrbsoft.statistic.protocol.jmx.connecting;
import javax.management.MBeanServer;
class EmbeddedMBeanServerClientImpl implements IMBeanControllerClient {
private MBeanServer _mbeanServer;
EmbeddedMBeanServerClientImpl(final MBeanServer server) {
_mbeanServer = server;
}
@Override
public MBeanSer... |
import create from '../element/create'
import insert from '../element/insert'
import offset from '../element/offset'
const defaults = {
transition: '.5s cubic-bezier(0.4, 0.0, 0.2, 1)',
opacity: ['1', '.3']
}
/**
* init ripple
* @param {?} container [description]
* @return {?} [description]
*/
func... |
package com.juaby.labs.rpc.util;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.Enumeration;
/**
* Created by juaby on 16-2-24.
*/
public class NetworkUtils {
/**
* 多IP处理,可以得到最终ip
*
* @return
*/
public static String getIp... |
require 'jievro/parser/binary_operator'
module Jievro
module Parser
module Tools
class ShuntingYard
def generate_ast(infix_tokens)
node_stack = []
rpn_tokens = generate_rpn(infix_tokens)
rpn_tokens.each do |token|
if BinaryOperator.operator?(token)
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML><HEAD>
<TITLE></TITLE></HEAD>
<BODY>
<P> Implements ant tasks for dealing with a WebDAV repository. </P>
<P> For details for single tasks see <A HREF="doc-files/tasks.htm">the
documentation</A>.</P> </BODY>
</HTML>
|
package com.atlassian.jira.plugin.ext.subversion.action;
import com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManager;
import com.atlassian.jira.plugin.ext.subversion.SubversionManager;
import com.atlassian.jira.plugin.ext.subversion.SvnProperties;
import com.opensymphony.util.TextUtils;
public... |
CREATE TABLE landnpeat (
id integer NOT NULL,
slope_text double precision NOT NULL,
slope_elev double precision NOT NULL,
text_elev double precision NOT NULL,
bobot_slope double precision NOT NULL,
bobot_text double precision NOT NULL,
bobot_elev double precision NOT NULL,
cr double prec... |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=800">
<style>
html { font-size: 16px; }
body { width: 800px; overflow-y: hidden; }
</style>
<script>
if (window.internals) {
window.internals.settings.setTextAutosizingEnabled(true);
window.internals.settings.setTextAutosizingWindowSizeOverrid... |
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Ve... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>classical-realizability: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../b... |
package Net::PMP::TypeConstraints;
use Moose;
use Moose::Util::TypeConstraints;
use Data::Dump qw( dump );
our $VERSION = '0.004';
# The Net::PMP::Type::* prefix is used for all our type constraints
# to avoid stepping on anyone's toes
# links
my $coerce_link = sub {
# defer till runtime to avoid circular depen... |
<!--
Copyright © 2016-2022 The Thingsboard 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.apache.org/licenses/LICENSE-2.0
Unless required by applic... |
from __future__ import unicode_literals
import datetime
from pathlib import Path
from django.template import loader
from django.conf.urls import url, include
from django.conf import settings
from django.contrib import admin
from django.contrib.sitemaps.views import sitemap
from django.contrib.flatpages.models import Fl... |
require 'socket'
require 'pathname'
require 'pushr-apns/version'
require 'pushr/configuration'
require 'pushr/configuration_apns'
require 'pushr/configuration_apns_feedback'
require 'pushr/message'
require 'pushr/message_apns'
require 'pushr/feedback'
require 'pushr/feedback_apns'
require 'pushr/daemon/apns'
require 'p... |
html
{
padding:0;border:0;margin:0;
width:100%;height:100%;
}
body
{
font-family:Tahoma, Verdana, 宋体;
/* font-size:12px;
line-height:22px;*/
}
table
{
position:relative;
}
.mini-disabled {
color: gray;
cursor: default;
opacity: .7;
-moz-opacity: .7;
filter: alpha(opa... |
"""Utility functions for Stackdriver Error Reporting."""
from google.cloud.error_reporting.client import HTTPContext
def build_flask_context(request):
"""Builds an HTTP context object from a Flask (Werkzeug) request object.
This helper method extracts the relevant HTTP context from a Flask request
obj... |
var GoogleCheckout = require('../'),
common = require('./common');
var gc = new GoogleCheckout(common.settings);
gc.Polling.on('continueToken', function (continueToken) {
//Save this token to persistant storage in case this process crashes
//or is intentionally ended
console.log('Polling: ContinueToken Received: ... |
import countryMap from './map/country-map';
import findKey from 'lodash.findkey';
const getCountryByAbbreviation = (countryAbbr) => {
return findKey(countryMap, { 'abbr': countryAbbr });
};
export default getCountryByAbbreviation; |
namespace QvWebTicket
{
public class TicketRequest
{
public string UserId { get; set; }
public string[] Groups { get; set; }
}
}
|
import eventlet
from oslo.config import cfg
from six import moves
from neutron.agent.linux import external_process
from neutron.tests.functional.agent.linux import simple_daemon
from neutron.tests.functional import base
UUID_FORMAT = "test-uuid-%d"
class BaseTestProcessMonitor(base.BaseSudoTestCase):
def setU... |
package com.leftyist.kingdomsim.forms;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
import javax.swing.border.LineBorder;
import javax.swing.border.TitledBorder;
import javax.s... |
* [Get Jaeger](https://www.jaegertracing.io/docs/getting-started/) and run
Jaeger agent.
## Installation
### CMake Installation Instructions
Refer to install instructions
[INSTALL.md](../../INSTALL.md#building-as-standalone-cmake-project). Modify step
2 to create `cmake` build configuration for compiling with Jaeg... |
using System;
namespace RockLib.Logging
{
/// <summary>
/// Defines extension methods for the <see cref="ILogger"/> interface for setting
/// its <see cref="ILogger.ErrorHandler"/> property.
/// </summary>
public static class ErrorHandlerExtensions
{
/// <summary>
/// Sets the ... |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highmaps]]
*/
package com.highmaps.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript n... |
<?php
namespace Fisharebest\Webtrees\Census;
/**
* Definitions for a census
*/
class CensusOfEngland1861 extends CensusOfEngland implements CensusInterface {
/**
* When did this census occur.
*
* @return string
*/
public function censusDate() {
return '07 APR 1861';
}
/**
* The columns of the censu... |
// Type definitions for nodal 0.12.8
// Project: https://github.com/keithwhor/nodal
// Definitions by: Adam Charron <https://github.com/charrondev>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node"/>
import * as fxn from 'fxn';
export class APIConstructor {
format(obj: ... |
<?php
/**
* Contains \jamesiarmes\PhpEws\Type\PhoneNumberDictionaryType.
*/
namespace jamesiarmes\PhpEws\Type;
use \jamesiarmes\PhpEws\Type;
/**
* Represents a collection of telephone numbers for a contact.
*
* @package php-ews\Type
*/
class PhoneNumberDictionaryType extends Type
{
/**
* Represents a ... |
<?php
/**
* Notification class
*
* This class is a representation of an Notification
*
* @author Christophe Gosiau <christophe@tigron.be>
* @author Gerry Demaret <gerry@tigron.be>
* @author David Vandemaele <david@tigron.be>
*/
namespace Tigron\Ups;
class Notification {
/**
* code
*
* 2 - Return Notifi... |
package vfsclientset
import (
"github.com/golang/glog"
api "k8s.io/kops/pkg/apis/kops"
"k8s.io/kops/pkg/apis/kops/v1alpha1"
"k8s.io/kops/pkg/client/simple"
k8sapi "k8s.io/kubernetes/pkg/api"
)
type InstanceGroupVFS struct {
commonVFS
}
func newInstanceGroupVFS(c *VFSClientset, clusterName string) *InstanceGr... |
{% extends "wagtailadmin/admin_base.html" %}
{% load i18n wagtailadmin_tags %}
{% block titletag %}{% trans "Sign in" %}{% endblock %}
{% block bodyclass %}login{% endblock %}
{% block extra_css %}
{{ block.super }}
<link rel="stylesheet" href="{% versioned_static 'wagtailadmin/css/layouts/login.css' %}" type... |
<?php
// ------------------------------------------------------------------------
/**
* Knowledge Base Language File
*
* This file handles all the Dutch language strings.
*
* @package 68kb
* @subpackage Language
* @category Language
* @author jeroenwijnholds
* @link http://code.google.com/p/68kb/issues... |
* **build:** This release has breaking changes.
### Features
* **build:** run the generator (submodules now require Node 12) ([#3073](https://github.com/googleapis/google-api-nodejs-client/issues/3073)) ([eda0707](https://github.com/googleapis/google-api-nodejs-client/commit/eda07079dadab46a80b6f9ede618f4f43030169e))... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE390_Error_Without_Action__sqrt_13.c
Label Definition File: CWE390_Error_Without_Action.label.xml
Template File: point-flaw-13.tmpl.c
*/
/*
* @description
* CWE: 390 Detection of Error Condition Without Action
* Sinks: sqrt
* GoodSink: Check to see if sqrt... |
layout: post
date: 2009-12-01 21:34:00
title: Bargaining...
tags: [archived-posts]
categories: archives
permalink: /:categories/:year/:month/:day/:title/
---
In
<a href="http://deponti.livejournal.com/615272.html"> one of my posts </a>
I had talked about the joys of bargaining, and <LJ user="asakiyume"> had said sh... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace CairjawworalhulalGeacharkucoha
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Ap... |
#import pydotplus
import cloudinary.uploader
import cloudinary.api
import cloudinary
import cloudinary.uploader
import cloudinary.api
import os
import graphviz
from django.conf import settings
#from django.contrib.sites import requests
import requests
from AutoDoApp.generator.GeneratorCommunicator im... |
namespace blink {
// This is to carry blink.mojom.ServiceWorkerRegistrationObjectInfo data from
// //content across the boundary into Blink.
// TODO(crbug.com/879019): Remove this class once we make the following Mojo
// interfaces receive blink.mojom.ServiceWorkerRegistrationObjectInfo directly
// inside Blink.
// -... |
sap.ui.define([
'sap/m/Token',
'sap/ui/core/mvc/Controller',
'sap/ui/model/json/JSONModel'
], function(Token, Controller, JSONModel) {
"use strict";
return Controller.extend("sap.m.sample.MultiInputGrouping.controller.MultiInputGrouping", {
/**
* Lifecycle hook that is called when the controller is inst... |
package p1.p2.lib;
public final class R {
public static final class drawable {
public static final int picture1 = 0x7f040000;
}
public static final class string {
public static final int myLibResource = 0x7f040001;
}
} |
"""Tests for the Namespace class."""
#
# (C) Pywikibot team, 2014-2019
#
# Distributed under the terms of the MIT license.
#
from __future__ import absolute_import, division, unicode_literals
try:
from collections.abc import Iterable
except ImportError: # Python 2.7
from collections import Iterable
from pywi... |
import java.util.Random;
public class AllocatingTarget implements Runnable {
public static volatile Object sink;
public static void main(String[] args) {
new Thread(new AllocatingTarget(), "AllocThread-1").start();
new Thread(new AllocatingTarget(), "AllocThread-2").start();
}
@Overri... |
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/menu_copyUrl"
android:title="Copy URL"/>
<item
android:id="@+id/menu_caption"
android:title="Copy Caption"/>
<item
android:id="@+id/menu_s... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- phonon-api.qd... |
using System;
using System.IO;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;
using PowerLib.System;
namespace PowerLib.System.Data.SqlTypes
{
[SqlUserDefinedType(Format.UserDefined, Name = "BigRange", IsByteOrdered = false, IsFixedLength = false, MaxByteSize = 17)]
public struct SqlLongRange : INu... |
layout: post
title: "Arma Vampírica"
date: 2018-01-01
source: Manual do Arcano 68.
tags: [nenhum, bardo]
---
**arcana 4 (necromancia)**
**Alcance**: toque
**Teste de Resistência**: nenhum.
**Duração**: 1 minuto
**Alvo**: 1 arma
**Tempo de Execução**: ação padrão
Esta magia encanta uma arma para que seu usuári... |
package org.gmod.gbol.simpleObject.generated;
import org.gmod.gbol.simpleObject.*;
/**
* StockCollectionStock generated by hbm2java
*/
public abstract class AbstractStockCollectionStock extends AbstractSimpleObject implements java.io.Serializable {
private Integer stockCollectionStockId;
private Stoc... |
layout: default
---
PCGIO is a SAAS to generate the content in realtime with rules extract from web.
[PCG Wiki](/wiki)
|
using System;
using Serilog.Core;
using Serilog.Events;
using TestDummies.Console.Themes;
namespace TestDummies.Console
{
public class DummyConsoleSink : ILogEventSink
{
public DummyConsoleSink(ConsoleTheme theme = null)
{
Theme = theme ?? ConsoleTheme.None;
}
[Thr... |
client.stage = {
scene: null,
camera: null,
renderer: null,
layers: {
actors: new THREE.Object3D(),
projectiles: new THREE.Object3D(),
objects: new THREE.Object3D(),
background: new THREE.Object3D(),
},
background: null,
starmap: null,
ParticleSystem: null,
ParticleEffects: [],
};
cl... |
import { SEQUENCE_REMOVAL_PATTERN } from './constants';
import { Hexcode, Unicode } from './types';
/**
* This function will convert a literal emoji Unicode character into a dash separated
* hexadecimal codepoint. Unless `false` is passed as the 2nd argument, zero width
* joiner's and variation selectors are remove... |
package com.linkedin.pinot.core.segment.index;
import com.linkedin.pinot.common.data.Schema;
import com.linkedin.pinot.common.metadata.segment.OfflineSegmentZKMetadata;
import com.linkedin.pinot.common.metadata.segment.RealtimeSegmentZKMetadata;
import com.linkedin.pinot.common.segment.SegmentMetadata;
import com.lin... |
module PoemLinesRefactor where
firstSen = "Tyger Tyger, burning bright\n"
secondSen = "In the forests of the night\n"
thirdSen = "What immortal hand or eye\n"
fourthSen = "Could frame thy fearful symmetry?"
sentences = firstSen ++ secondSen
++ thirdSen ++ fourthSen
myLines :: String -> [String]
myLines xs =... |
SYNONYM
#### According to
Index Fungorum
#### Published in
null
#### Original name
Parmelia contorta Duby
### Remarks
null |
'use strict';
angular.module('cvinApp')
.config(function ($stateProvider) {
$stateProvider
.state('CreateCV', {
url: '/CreateCV',
templateUrl: 'app/CreateCV/CreateCV.html',
controller: 'CreatecvCtrl'
});
}); |
@implementation NIMFileContentConfig
- (CGSize)contentSize:(CGFloat)cellWidth message:(NIMMessage *)message
{
return CGSizeMake(220, 110);
}
- (NSString *)cellContent:(NIMMessage *)message
{
return @"NIMSessionFileTransContentView";
}
- (UIEdgeInsets)contentViewInsets:(NIMMessage *)message
{
return [[NIM... |
osm_mustache
============
MustacheJS templating program as used by MobileSiteOS
The current and development (if any) copies of MustacheJS (https://github.com/janl/mustache.js/blob/master/mustache.js) being used by MobileSiteOS. We use the standard MustacheJS script, but rename it by version. MustacheJS is currently o... |
using System;
// Declare two string variables and assign them with following value: The "use" of quotations causes difficulties.
// Do the above in two different ways - with and without using quoted strings.
// Print the variables to ensure that their value was correctly defined.
class Quotes
{
static void Main(... |
<?php
namespace deco\essentials\exception;
class Deco extends Base {
public function __construct($dict = array()) {
$dict['type'] = 'Deco';
parent::__construct($dict);
}
}
|
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
#import "AppDelegate.h"
#import "RCTBundleURLProvider.h"
#import "RCTRootView.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSURL *jsCodeLocation;
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURL... |
/**
* Mnemonist DefaultWeakMap Typings
* ================================
*/
export default class DefaultWeakMap<K extends object, V> {
// Constructor
constructor(factory: (key: K) => V);
// Methods
clear(): void;
set(key: K, value: V): this;
delete(key: K): boolean;
has(key: K): boolean;
get(key: ... |
id: bd7123c9c549eddfaeb5bdef
title: Usar notação de colchetes para encontrar o primeiro caractere em uma string
challengeType: 1
videoUrl: 'https://scrimba.com/c/ca8JwhW'
forumTopicId: 18341
dashedName: use-bracket-notation-to-find-the-first-character-in-a-string
---
# --description--
<dfn>Notação de colchetes</dfn> ... |
<?php
// include_paths.php generated by Composer
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
return array(
$vendorDir . '/phing/phing/classes',
$vendorDir . '/propel/propel1/runtime/lib',
$vendorDir . '/propel/propel1/generator/lib',
);
|
namespace Microsoft.Azure.Devices.ProtocolGateway.Mqtt
{
using System;
using System.Threading.Tasks;
using DotNetty.Transport.Channels;
public sealed class MessageAsyncProcessor<T> : MessageAsyncProcessorBase<T>
{
readonly Func<IChannelHandlerContext, T, Task> processFunc;
public M... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var ConcatSource = require("webpack-core/lib/ConcatSource");
function Template(outputOptions) {
this.outputOptions = outputOptions || {};
}
module.exports = Template;
Template.REGEXP_HASH = /\[hash\]/gi;
Template.REGE... |
/* Webcore frontadmin's general styles
* Author: Maxime Haineault <max@motion-m.ca>
* (c) 2011 Motion Média
* */
html.frontadmin {
padding-bottom: 24px;
}
.frontadmin-toolbar-frame {
width: 100%;
display: block;
height: 24px;
margin: 0;
border: 1px solid #ccc;
z-index: 100000;
-moz-... |
from decimal import *
import getpass
import math
import os
import os.path
import platform
import sys
import time
from jsonrpc import ServiceProxy, json
BASE_FEE=Decimal("0.001")
def check_json_precision():
"""Make sure json library being used does not lose precision converting BTC values"""
n = Decimal("20000... |
ACCEPTED
#### According to
Euro+Med Plantbase
#### Published in
null
#### Original name
Hieracium intersitum Boreau
### Remarks
null |
package kubectl
import (
"fmt"
"bytes"
log "github.com/Sirupsen/logrus"
"github.com/rancher/go-rancher/v3"
"gopkg.in/yaml.v2"
"io/ioutil"
"net/url"
"os/exec"
"path"
)
const (
kubeconfigTemplate = string(`apiVersion: v1
kind: Config
clusters:
- name: rancher-compose-executor
cluster:
insecure-skip-tls... |
package jk_5.nailed.api.mappack.metadata;
import javax.annotation.Nonnull;
/**
* No description given
*
* @author jk-5
*/
public interface MappackAuthor {
@Nonnull String name();
@Nonnull String role();
}
|
package org.embulk.input.kafka.data;
public interface Converter {
public Record convert(byte[] data);
}
|
package org.springframework.boot.actuate.autoconfigure.endpoint.web.documentation;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import com.fasterxml.jackson.... |
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 324373 $ -->
<section xml:id="internals2.opcodes.zend-jmp-set">
<title>ZEND_JMP_SET</title>
<section xml:id="internals2.opcodes.zend-jmp-set.code">
<title>PHP code</title>
<programlisting role="php">
<![CDATA[
<?php
/*
*
* opcode number: 152
* No samp... |
<oui-calendar model="$ctrl.model"
id="{{::$ctrl.id}}"
name="{{::$ctrl.name}}"
options="$ctrl.options"
placeholder="{{::$ctrl.placeholder}}"
format="{{::$ctrl.format}}"
alt-format="{{::$ctrl.altFormat}}"
append-to-body="$ctrl.appendToBody"
inline="$ctrl.inline"
static="$ctrl.static"
... |
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"Licens... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>DevTalk Demo</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.2/semantic.min.cs... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package hello;
import hello.data.Greeting;
import hello.data.User;
import java.util.concurrent.atomic.AtomicLong;
import org.springframework.security.web.bind.annotation.AuthenticationPrincipal;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestContro... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>weak-up-to: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
angular.module("EmmetBlue")
.controller("accountsBillingMenuController", function($scope, utils){
}) |
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |