code
stringlengths
4
1.01M
language
stringclasses
2 values
--- category: section-tools-geolocation --- Endpoint ``` GET https://api.paymentwall.com/api/rest/country ``` Sample Response ```json { "code":"US", "country":"United States" } ```
Java
#!/usr/bin/env node require("babel/register")({ "stage": 1 }); var fs = require("fs"); GLOBAL.WALLACEVERSION = "Err"; GLOBAL.PLUGIN_CONTRIBUTORS = []; try { var p = JSON.parse(fs.readFileSync(__dirname+"/package.json")); GLOBAL.WALLACEVERSION = p.version; } catch(e) {} var Core = require("./core/Core....
Java
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
Java
## Ruby These settings apply only when `--ruby` is specified on the command line. ``` yaml $(ruby) ruby: package-name: azure_mgmt_search package-version: "0.16.0" azure-arm: true ``` ### Ruby multi-api ``` yaml $(ruby) && $(multiapi) batch: - tag: package-2015-08 ``` ### Tag: package-2015-08 and ruby Thes...
Java
--- title: Faire l’expérience des offrandes date: 01/03/2018 --- Si Christ est venu nous révéler le caractère de Dieu, une chose devrait être claire maintenant: Dieu nous aime et Il veut le meilleur pour nous. Il nous demande de faire seulement ce qui sera de notre propre intérêt, jamais à notre détr...
Java
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":10:{s:4:"type";s:8:"datetime";s:6:"length";N;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:0;s:4:"name";s:16:"fecha_nacimiento";s:7:"options";a:0:{}s:16:"columnDefinition";N;s:5:"value";N;}}');
Java
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports...
Java
--- title: Elsõ Gyümölcsök date: 12/07/2018 --- Péter szavai szíven találták a hallgatóságát. Némelyek közülük néhány héttel korábban még bizonyára Jézus keresztre feszítését követelték (Lk 23:13-25). Miután viszont meggyõzõdtek arról, hogy a názáreti Jézus Isten által kijelölt Messiás, elkeseredetten kiáltottak fel...
Java
// Copyright (c) 2015 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge...
Java
<div class="alert alert-{{$type}}"> <h1>{{$title}}</h1> <p>{{$content}}</p> </div>
Java
using RedditSharp.Things; using System.Threading.Tasks; namespace RedditSharp { partial class Helpers { private const string GetThingUrl = "/api/info.json?id={0}"; /// <summary> /// Get a <see cref="Thing"/> by full name. /// </summary> /// <param name="agent">IWebAgent...
Java
#!/usr/bin/env node /** * Release this package. */ "use strict"; process.chdir(__dirname + '/..'); const apeTasking = require('ape-tasking'), apeReleasing = require('ape-releasing'); apeTasking.runTasks('release', [ (callback) => { apeReleasing.releasePackage({ beforeRelease: [ ...
Java
<!DOCTYPE html> <html lang="en"> <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=""> <meta name="author" content=""> <link rel="icon" href="../../favicon.ic...
Java
@echo off rem rem ADOBE SYSTEMS INCORPORATED rem Copyright 2007 Adobe Systems Incorporated rem All Rights Reserved. rem rem NOTICE: Adobe permits you to use, modify, and distribute this file rem in accordance with the terms of the license agreement accompanying it. rem rem rem acompc.bat script for Windows. rem Thi...
Java
/* Copyright 2016 The Kubernetes 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 applicable law or agreed to in writing, ...
Java
import os, scrapy, argparse from realclearpolitics.spiders.spider import RcpSpider from scrapy.crawler import CrawlerProcess parser = argparse.ArgumentParser('Scrap realclearpolitics polls data') parser.add_argument('url', action="store") parser.add_argument('--locale', action="store", default='') parser.add_argument('...
Java
/*global d3 */ // asynchronously load data from the Lagotto API queue() .defer(d3.json, encodeURI("/api/agents/")) .await(function(error, a) { if (error) { return console.warn(error); } agentsViz(a.agents); }); // add data to page function agentsViz(data) { for (var i=0; i<data.length; i++) { var a...
Java
var test = require("tape").test var level = require("level-test")() var testdb = level("test-versionstream") var version = require("../") var db = version(testdb) var lastVersion test("stuff some datas", function (t) { t.plan(2) db.put("pet", "fluffy", {version: 0}) db.put("pet", "spot", {version: 1}) db.p...
Java
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, to any person o...
Java
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jQuery Mobile Docs - Theming Pages</title> <link rel="stylesheet" href="../../../css/themes/default/jquery.mobile.css" /> <link rel="stylesheet" href="../../_assets/css/jqm-docs.c...
Java
describe 'font' do before do @rmq = RubyMotionQuery::RMQ end it 'should return font from RMQ or an instance of rmq' do @rmq.font.should == RubyMotionQuery::Font rmq = RubyMotionQuery::RMQ.new rmq.font.should == RubyMotionQuery::Font end it 'should return a list of font families' do @rmq...
Java
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.io.WriteAbortedException ================================================================================*/ #ifndef J2CPP_INCLUDE_IM...
Java
<?php namespace Concrete\Tests\Core\File; use Concrete\Core\File\Importer; use Concrete\Core\Attribute\Type as AttributeType; use Concrete\Core\Attribute\Key\FileKey; use Concrete\Core\Attribute\Key\Category; class FileListTest extends \FileStorageTestCase { /** @var \Concrete\Core\File\FileList */ protected ...
Java
package com.tale.model; import com.blade.jdbc.annotation.Table; import java.io.Serializable; // @Table(name = "t_comments", pk = "coid") public class Comments implements Serializable { private static final long serialVersionUID = 1L; // comment表主键 private Integer coid; // post表主键,关联字段 private ...
Java
--- title: பாபிலோனின் விழுகை date: 06/02/2020 --- `கேள்வி: கடைசிக்கால பாபிலோனின் விழுகைக்கு அடையாளமாக இருக்கும் பெல்ஷாத் சாருடைய பாபிலோனின் விழுகைபற்றி நாம் என்ன கற்றுக்கொள்ள முடிகிறது? தானி 5:29-31; வெளி 14:8; 16:19; 18:2.` எவ்வளவுதான் குறைகள் இருந்தாலும் பெல்ஷாத்சார் வாக்குத் தவறவில்லை. தானியேல் சொன்ன விளக்கம் க...
Java
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template as_feature&lt;tag::weighted_tail_variate_means&lt; LeftRight, VariateType, VariateTag &gt;(absolute)&gt;</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="...
Java
"use strict"; const lua = require("../src/lua.js"); const lauxlib = require("../src/lauxlib.js"); const {to_luastring} = require("../src/fengaricore.js"); const toByteCode = function(luaCode) { let L = lauxlib.luaL_newstate(); if (!L) throw Error("failed to create lua state"); if (lauxlib.luaL_loadst...
Java
<!doctype html> <html> <head> <title>ATS-Queen-Puzzle</title> <style> #canvas-container { margin: 0 auto; width: 920px; height: auto; } </style> <script src="https://cdn.jsdelivr.net/jquery/2.1.1/jquery.min.js"> </script> <script src="https://ats-lang.github.io/LIBRARY/libatscc2js/ATS2-0.3.2/libatscc2js_all.js"> <...
Java
require 'active_support/inflector' module Trello class BasicData include ActiveModel::Validations include ActiveModel::Dirty include ActiveModel::Serializers::JSON include Trello::JsonUtils class << self def path_name name.split("::").last.underscore end def find(id, ...
Java
/** * Copyright 2015 Telerik AD * * 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 agreed to ...
Java
from panda3d.core import NodePath, DecalEffect import DNANode import DNAWall import random class DNAFlatBuilding(DNANode.DNANode): COMPONENT_CODE = 9 currentWallHeight = 0 def __init__(self, name): DNANode.DNANode.__init__(self, name) self.width = 0 self.hasDoor = False def s...
Java
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Mv...
Java
// This file was generated based on 'C:\ProgramData\Uno\Packages\Experimental.Physics\0.18.8\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.Int.h> namespace g{ namespace Experimental{ namespace Physics{ // private enum BasicBoundedRegion2D.MoveMode :37 uEnumType*...
Java
/* Get Programming with JavaScript * Listing 4.01 * Displaying an object's properties on the console */ var movie1; movie1 = { title: "Inside Out", actors: "Amy Poehler, Bill Hader", directors: "Pete Doctor, Ronaldo Del Carmen" }; console.log("Movie information for " + movie1.title); console.log("----...
Java
describe('Component: Product Search', function(){ var scope, q, oc, state, _ocParameters, parameters, mockProductList ; beforeEach(module(function($provide) { $provide.value('Parameters', {searchTerm: null, page: null, pageSize: null, sortBy: null...
Java
(function () { 'use strict'; angular.module('common') .directive('svLumxUsersDropdown', function () { return { templateUrl: 'scripts/common/directives/sv-lumx-users-dropdown.html', scope: { btnTitle: '@', actionC...
Java
--- title: Perjalanan Ke Roma date: 22/09/2018 --- ### Untuk Pelajaran Pekan Ini Bacalah: Kisah 27, 28; Roma 1:18–20. > <p>Ayat Hafalan</p> > “ ‘Jangan takut, Paulus! Engkau harus menghadap Kaisar...’ ” (Kisah 27:24). Paulus sudah lama merindukan untuk mengunjungi Roma, tetapi penahanannya di Yerusalem mengubah s...
Java
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml; using FluentAssertions; using Microsoft.OData.Edm; using Micros...
Java
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: com.tencent.mm.sdk.openapi.SendAuth ================================================================================*/ #ifndef J2CPP_INCLUDE_IMP...
Java
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18051 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
Java
# -*- coding: utf-8 -*- """ Various i18n functions. Helper functions for both the internal translation system and for TranslateWiki-based translations. By default messages are assumed to reside in a package called 'scripts.i18n'. In pywikibot 2.0, that package is not packaged with pywikibot, and pywikibot 2.0 does ...
Java
/* * Copyright (c) 2015 by Rafael Angel Aznar Aparici (rafaaznar at gmail dot com) * * sisane: The stunning micro-library that helps you to develop easily * AJAX web applications by using Angular.js 1.x & sisane-server * sisane is distributed under the MIT License (MIT) * Sources at https://github....
Java
# Be sure to restart your server when you modify this file. Rails.application.config.session_store :cookie_store, key: '_moj_peoplefinder_session'
Java
'use strict'; var path = require('path'); var gulp = require('gulp'); var conf = require('./conf'); var browserSync = require('browser-sync'); function isOnlyChange(event) { return event.type === 'changed'; } gulp.task('watch', ['inject'], function () { gulp.watch([path.join(conf.paths.src, '/*.html'), 'bower....
Java
/* * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". */ /* $Header$ */ #include <ctype.h> #include <stdlib.h> /* We do not use strtol here for backwards compatibility in behaviour on overflow. */ ...
Java
.model-icon { min-width: 20px !important; display: inline-block !important; margin-left: 2px; } .table a { display: block; } /*------------------ Admin ------------------*/ .controller-admin .plugin-list { list-style: none; margin: 0; padding: 0; } .controller-admin .plugin-list a { display: block; padding: 5px 15px;...
Java
<?php /** * @copyright Copyright (c) 2018 Robin Appelman <robin@icewind.nl> * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, e...
Java
/* adddma.c */ #include <lib.h> #define adddma _adddma #include <unistd.h> #include <stdarg.h> int adddma(proc_e, start, size) endpoint_t proc_e; phys_bytes start; phys_bytes size; { message m; m.m2_i1= proc_e; m.m2_l1= start; m.m2_l2= size; return _syscall(MM, ADDDMA, &m); }
Java
module Trinidad module Extensions class BarOptionsExtension < OptionsExtension def configure(parser, default_options) default_options ||= {} default_options[:bar] = true end end end end
Java
require "heroku/command/base" require "base64" require "excon" # manage organization accounts # class Heroku::Command::Orgs < Heroku::Command::Base # orgs # # lists the orgs that you are a member of. # # def index response = org_api.get_orgs.body orgs = [] response.fetch('organizations', [])....
Java
var assert = require('assert'); var _ = require('@sailshq/lodash'); var SchemaBuilder = require('../lib/waterline-schema'); describe('Has Many Through :: ', function() { describe('Junction Tables', function() { var schema; before(function() { var fixtures = [ { identity: 'user', ...
Java
package sacloud // IPv6Addr IPアドレス(IPv6) type IPv6Addr struct { HostName string `json:",omitempty"` // ホスト名 IPv6Addr string `json:",omitempty"` // IPv6アドレス Interface *Interface `json:",omitempty"` // インターフェース IPv6Net *IPv6Net `json:",omitempty"` // IPv6サブネット } // GetIPv6NetID IPv6アドレスが所属するIPv6NetのI...
Java
using System; using System.Runtime.InteropServices; using Duality; using Duality.Drawing; using Duality.Resources; namespace DynamicLighting { [StructLayout(LayoutKind.Sequential)] public struct VertexC1P3T2A4 : IVertexData { public static readonly VertexDeclaration Declaration = VertexDeclaration.Get<VertexC1P...
Java
package engine.actions; import engine.gameObject.GameObject; import authoring.model.collections.GameObjectsCollection; public class FixedCollisionTypeAction extends PhysicsTypeAction { public FixedCollisionTypeAction (String type, String secondType, Double value) { super(type, secondType, value); ...
Java
<?php phpinfo();
Java
## ember-cli [![Build Status](https://travis-ci.org/stefanpenner/ember-cli.png?branch=master)](https://travis-ci.org/stefanpenner/ember-cli) [![Dependency Status](https://david-dm.org/stefanpenner/ember-cli.svg)](https://david-dm.org/stefanpenner/ember-cli) An ember command line utility. Supports node 0.10.5 and npm...
Java
module('lively.ide.DirectoryWatcher').requires('lively.Network').toRun(function() { // depends on the DirectoryWatcherServer Object.extend(lively.ide.DirectoryWatcher, { watchServerURL: new URL(Config.nodeJSURL+'/DirectoryWatchServer/'), dirs: {}, reset: function() { // lively.ide.DirectoryWatch...
Java
<html> <head> <title>Popcorn processing unit Tests</title> <link rel="stylesheet" href="../../test/qunit/qunit.css" type="text/css" media="screen"> <script src="../../test/qunit/qunit.js"></script> <script src="../../popcorn.js"></script> <script src="popcorn.processing.js"></script> <script src="popcorn....
Java
/* ======================================================================== * TABLE OF CONTENTS * ======================================================================== * ======================================================================== * LAYOUT * ========================================================...
Java
// Generated by CoffeeScript 1.3.1
Java
package com.jvm_bloggers.core.data_fetching.blog_posts; import akka.actor.ActorRef; import akka.actor.ActorSystem; import akka.routing.RoundRobinPool; import com.jvm_bloggers.core.data_fetching.blogs.PreventConcurrentExecutionSafeguard; import com.jvm_bloggers.core.rss.SyndFeedProducer; import com.jvm_bloggers.entitie...
Java
--- summary: In our first month of operation, we hired our first two developers, and accomplished a record amount of work on both Bundler and RubyGems.org. --- <% title "April 2015 Monthly Update" %> Hello, everyone! This is the Ruby Together monthly update for April, 2015. This was our first month in operation, and w...
Java
'use strict'; require('../common'); // This test ensures that zlib throws a RangeError if the final buffer needs to // be larger than kMaxLength and concatenation fails. // https://github.com/nodejs/node/pull/1811 const assert = require('assert'); // Change kMaxLength for zlib to trigger the error without having to ...
Java
const {createAddColumnMigration} = require('../../utils'); module.exports = createAddColumnMigration('posts_meta', 'email_only', { type: 'bool', nullable: false, defaultTo: false });
Java
import { EventsKey } from '../events'; import BaseEvent from '../events/Event'; import { Extent } from '../extent'; import Feature from '../Feature'; import Geometry from '../geom/Geometry'; import Point from '../geom/Point'; import { ObjectEvent } from '../Object'; import Projection from '../proj/Projection'; import {...
Java
<?php require_once($argv[1]); // type.php require_once($argv[2]); // program.php $file_prefix = $argv[3]; ?> [apps..default] run = true count = 1 network.server.0.RPC_CHANNEL_TCP = NET_HDR_HTTP, dsn::tools::asio_network_provider, 65536 [apps.server] name = server type = server arguments = ports = 27001 run = true poo...
Java
package tenant import ( "context" "testing" "github.com/google/go-cmp/cmp" "github.com/influxdata/influxdb/v2" influxdbcontext "github.com/influxdata/influxdb/v2/context" "github.com/influxdata/influxdb/v2/kit/feature" "github.com/influxdata/influxdb/v2/kit/platform" "github.com/influxdata/influxdb/v2/kit/pla...
Java
package com.lichkin.framework.springboot.controllers.impl; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springf...
Java
//currently commented out as TokenTester is causing a OOG error due to the Factory being too big //Not fully needed as factory & separate tests cover token creation. /*contract("TokenTester", function(accounts) { it("creates 10000 initial tokens", function(done) { var tester = TokenTester.at(TokenTester.de...
Java
module.exports = { "extends": "airbnb", "parser": "babel-eslint", "plugins": [ "react" ], "rules": { "react/prop-types": 0, "react/jsx-boolean-value": 0, "consistent-return": 0, "guard-for-in": 0, "no-use-before-define": 0, "space-before-function-paren": [2, { "anonymous": "never...
Java
package au.com.codeka.planetrender; import java.util.Random; import au.com.codeka.common.PerlinNoise; import au.com.codeka.common.Vector2; import au.com.codeka.common.Vector3; /** * This class takes a ray that's going in a certain direction and warps it based on a noise pattern. This is used * to generate misshape...
Java
body { overflow-x: hidden; font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif } .text-muted { color: #777 } .text-primary { color: #fed136 } p { font-size: 14px; line-height: 1.75 } p.large { font-size: 16px } a, a:hover, a:focus, a:active, a.active { outline: 0 } a { color: #fed136 } a:hover, a...
Java
$demoPath = 'C:\Dropbox\GitRepos\MIcrosoftVIrtualAcademy\Testing PowerShell with Pester\Demos' ## Ensure no functions were just copied/pasted into session Remove-Item Function:\Start-ClusterTest,Function:\Restart-Cluster,Function:\Test-ClusterProblem -ErrorAction Ignore ## Import the ClusterTest module into the sessi...
Java
// // QNFormUpload.h // QiniuSDK // // Created by bailong on 15/1/4. // Copyright (c) 2015年 Qiniu. All rights reserved. // #import "QNHttpDelegate.h" #import "QNUpToken.h" #import "QNUploadManager.h" #import <Foundation/Foundation.h> @interface QNFormUpload : NSObject - (instancetype)initWithData:(NSData *)data ...
Java
## AzureResourceSchema These settings apply only when `--azureresourceschema` is specified on the command line. ### AzureResourceSchema multi-api ``` yaml $(azureresourceschema) && $(multiapi) batch: - tag: schema-kubernetes-2021-04-01-preview - tag: schema-kubernetes-2021-03-01 - tag: schema-kubernetes-2020-0...
Java
<?php defined('SYSPATH') or die('No direct script access.'); class Jelly_Meta extends Jelly_Core_Meta {}
Java
//>>built define("clipart/SpinInput",["dojo/_base/declare","clipart/_clipart"],function(_1,_2){ return _1("clipart.SpinInput",[_2],{}); });
Java
// // RMMultipleViewsController.h // RMMultipleViewsController-Demo // // Created by Roland Moers on 29.08.13. // Copyright (c) 2013 Roland Moers // // Fade animation and arrow navigation strategy are based on: // AAMultiViewController.h // AAMultiViewController.m // Created by Richard Aurbach on 11/21/2013...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="zh"> <head> <!-- Generated by javadoc (1.8.0_171) on Mon Apr 22 17:36:00 CST 2019 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>cn.jpush.im.android.api.exc...
Java
## www.pubnub.com - PubNub Real-time push service in the cloud. # coding=utf8 ## PubNub Real-time Push APIs and Notifications Framework ## Copyright (c) 2010 Stephen Blum ## http://www.pubnub.com/ import sys from pubnub import PubnubTornado as Pubnub publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo' subscri...
Java
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Concurrent; using System.Net; using System.Threading; using System.Threading.Tasks; using Microsoft.Common.Core; using Microso...
Java
<?php /* * Copyright 2014 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 l...
Java
/** * Created by jiangli on 15/1/6. */ "use strict"; var request = require('request'); var iconv = require('iconv-lite'); var crypto = require('crypto'); var Buffer = require('buffer').Buffer; /** * [_parseYouku 解析优酷网] * @param [type] $url [description] * @return [type] [description] */ module.exports = f...
Java
/* * Copyright (c) 2011 Stephen A. Pratt * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
Java
package cn.mutils.app.alipay; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
Java
class Post < ActiveRecord::Base validates :title, presence: true validates :slug, presence: true, uniqueness: true acts_as_url :title, :url_attribute => :slug default_scope order('created_at desc') def to_param slug end def external? !url.blank? end end
Java
--- title: Împlinirea Legii în totalitate date: 07/09/2017 --- `Cum împăcăm comentariul dezaprobator al lui Pavel, cu privire la datoria de a împlini „toată Legea” (Galateni 5:3), cu alte declaraţii ale sale despre împlinirea Legii? Compară Romani 10:5; Galateni 3:10,12; 5:3 cu Romani 8:4; 13:8; Galateni 5:14.` Mu...
Java
# -*- coding: utf-8 -*- import numbers import numpy as np from ..constants import BOLTZMANN_IN_MEV_K from ..energy import Energy class Analysis(object): r"""Class containing methods for the Data class Attributes ---------- detailed_balance_factor Methods ------- integrate position ...
Java
deal
Java
--- title: 'Два големи хора за благодарствени песни' date: 03/12/2019 --- `Прочетете Неемия 12:31-42. Защо музиката е толкова важна част от празника?` Част от богослужението по времето на Неемия е създаването на два хора за благодарствени песни, обикалящи из Йерусалим и пеещи под съпровод на музикални инструменти. Те...
Java
--- title: Moderador date: 06/01/2017 --- **Texto-Chave**: II Pedro 1:19-21 #### **Com o Estudo desta Lição, o Membro da unidade de ação Vai:** - **Aprender**: A compreender que a Bíblia é a vontade revelada de Deus, inspirada pelo Espírito Santo. É uma salvaguarda para a sua fé e um padrão pelo qual deve ser test...
Java
# Strict mode When you create a new workspace or an application you have an option to create them in a strict mode using the `--strict` flag. Enabling this flag initializes your new workspace or application with a few new settings that improve maintainability, help you catch bugs ahead of time. Additionally, applicat...
Java
pre { display: none; } table { font-family: inherit; font-size: inherit; border: inherit; } #groupparts { width: 100% !important; margin-left: auto; margin-right: auto; } #groupparts th { width: auto !important; } table.pgrouptable { background-color: inherit !important; } table...
Java
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.CSharp.Data.Handling { public class AddingDataToCells { public static void Run() { // ExStart:1 // The path to the documents directory. string dataDir = RunExamples.GetDataDir...
Java
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * LICENSE: * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) a...
Java
// // FKFlickrAuthOauthGetAccessToken.h // FlickrKit // // Generated by FKAPIBuilder on 19 Sep, 2014 at 10:49. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com // // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED #import "FKFlickrAPIMethod.h" typedef enum { FKFlickrAuthOauthGet...
Java
/** * * \file * * \brief This module contains NMC1000 SPI protocol bus APIs implementation. * * Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivati...
Java
/*plugin styles*/ .visualize { border: 1px solid #ccc; position: relative; background: #fafafa; margin:0 auto 30px auto; } .visualize canvas { position: absolute; } .visualize ul, .visualize li { margin: 0; padding: 0; } /*table title, key elements*/ .visualize .visualize-info { padding: 3px 5px; background: #fa...
Java
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { public partial class ShopifySource : IUtf8JsonSe...
Java
// This file has been autogenerated. exports.setEnvironment = function() { process.env['AZURE_SUBSCRIPTION_ID'] = 'e0b81f36-36ba-44f7-b550-7c9344a35893'; }; exports.scopes = [[function (nock) { var result = nock('http://management.azure.com:443') .get('/subscriptions/e0b81f36-36ba-44f7-b550-7c9344a35893/resourc...
Java