answer stringlengths 15 1.25M |
|---|
body {
font-size: 1rem;
font-weight: 300;
background-color: #292B36;
color: #d0d0d0;
font-family: "Roboto", "sans-serif";
width: 100%;
}
header, main, footer {
margin: 3rem;
}
pre {
margin-top: 1.75rem;
}
pre, code {
font-family: "Hack", "monospace";
font-size: .75rem;
}
a {
... |
package io.swagger.client.api;
import com.sun.jersey.api.client.GenericType;
import io.swagger.client.ApiException;
import io.swagger.client.ApiClient;
import io.swagger.client.Configuration;
import io.swagger.client.Pair;
import io.swagger.client.model.CodeSnippet;
import io.swagger.client.model.CodeSnippetList;
impor... |
package org.test;
import org.test.act.MainGame;
import loon.LSetting;
import loon.LSystem;
import loon.LazyLoading;
import loon.Screen;
import loon.javase.Loon;
public class JavaSEMain {
public static void main(String[]args){
LSetting setting = new LSetting();
setting.isFPS = true;
setting.i... |
// <API key>
// Code Wars program written in JavaScript for the RingoJS environment
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// copies of the Software, and to permit persons to whom the Software is
//... |
package apple.uikit;
import java.io.*;
import java.nio.*;
import java.util.*;
import com.google.j2objc.annotations.*;
import com.google.j2objc.runtime.*;
import com.google.j2objc.runtime.block.*;
import apple.audiotoolbox.*;
import apple.corefoundation.*;
import apple.coregraphics.*;
import apple.coreservices.*;
import... |
/**
* @private
* @providesModule CustomTabsAndroid
* @flow
*/
'use strict';
import { NativeModules } from 'react-native';
import type { TabOption } from './TabOption';
const CustomTabsManager = NativeModules.CustomTabsManager;
/**
* To open the URL of the http or https in Chrome Custom Tabs.
* If Chrome is not in... |
package com.swifts.frame.modules.wx.fastweixin.company.message.req;
public final class QYBatchJobType {
private String SYNCUSER = "sync_user";
private String REPLACEUSER = "replace_user";
private String INVITEUSER = "invite_user";
private String REPLACEPARTY = "replace_party";
private QYBatch... |
package com.koch.ambeth.util;
import org.junit.Assert;
import org.junit.Test;
import com.koch.ambeth.ioc.util.ImmutableTypeSet;
public class <API key> {
public interface MyType {
// intended blank
}
public class MyClass implements MyType {
// intended blank
}
@Test
public void te... |
package android_testsuite;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android_testsuite.mytest.application_search.AppSearchActivity;
import android_testsuite.mytest.application_search.UidActivity;
import android_te... |
using System;
using Microsoft.SPOT;
namespace WeatherStation.WebServer
{
<summary>
Base class for HTTP object (request/response)
</summary>
public class HttpBase
{
#region Constants ...
// const string separator
protected const char CR = '\r';
protected const char LF ... |
<?php
namespace NetSuite\Classes;
class FolderFolderType {
static $paramtypesmap = array(
);
const _appPackages = "_appPackages";
const <API key> = "<API key>";
const _attachmentsSent = "_attachmentsSent";
const _certificates = "_certificates";
const _documentsAndFiles = "_documentsAndFiles"... |
<?php
namespace Franklin\Component;
class Menu extends \Franklin\System\Object{
public $Id;
public $Name;
public $Status;
public $CleanURL;
public function __construct($Parent) {
parent::__construct($Parent);
$this->Status = new Status($this);
}
} |
package pe.com.ccpl.siconc.web.service;
import pe.com.ccpl.siconc.web.model.Role;
public interface RoleService {
public Role getRole(int id);
} |
<API key>.before_filter do
if params[:context]
collection = Admin::Collection.find(params[:context])
browser.providers['file_system'].config[:home] = collection.<API key>
end
end |
<!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">
<title>Hello Wooorld</title>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/cs... |
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<span class='rank5 5.23758013687111'>?NEW</span>
<span class='rank5 5.092407184714711'>YORK</span>
<span class='rank4 4.3452095742978045'>BOTANICAL</span>
<span class='rank5 4.836230413135688'>GARDEN</span>
</br>
<span class='rank24 2... |
#import "<API key>.h"
#pragma mark - <API key> protocol
@protocol <API key> <NSObject>
// Suitability checking
+ (BOOL)canHandleTableView:(UITableView *)tableView viewModel:(id<<API key>>)viewModel view:(UIView *)view;
// Collaborators
- (void)setTableView:(UITableView *)tableView;
- (void)setViewModel:(id<<API key>>)v... |
#include "parse_options.h"
/**
* takes a string in the Format "c i i i ..."
* (1 char followed by potentially many integers) and returns a vector of all i
* @param str the string to tokenize
* @param tokens the result vector of wire id
*/
void tokenize_verilog(const std::string& str, std::vector<uint32_t>& tokens,... |
from django.conf.urls import include, url
from django.contrib import admin
from blog.views import index, signup, login, logout
urlpatterns = [
url(r'^$', index, name='index'),
url(r'^signup', signup, name='signup'),
url(r'^login', login, name='login'),
url(r'^logout', logout, name='logout'),
url(r'^... |
package Zoe::Runtime::Database;
use Mojo::Base 'Zoe::Runtime';
sub new
{
my $class = shift;
my %arg = @_;
my $self = {
type => undef, #database type (mysql | sqlite| perl DBD driver name])
dbfile => undef, #path to database
# required if type is sq... |
body {
margin:0px;
background-image:none;
position:relative;
left:-0px;
width:1074px;
margin-left:auto;
margin-right:auto;
text-align:left;
}
#base {
position:absolute;
z-index:0;
}
#u6641 {
position:absolute;
left:0px;
top:63px;
width:128px;
height:320px;
}
#u6641_menu {
position:absolu... |
@import url('../../../assets/css/app.css');
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 400;
src: local('Muli'), url(../fonts/Muli.woff) format('woff');
}
body {
background-color: #e7a279;
color: #434343;
font-family: 'Muli', sans-serif;
font-size: 14px;
max-wi... |
/**
* <API key>.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201306;
/**
* The action used to activate {@link <API key>} objects.
*/
public class <API key> extends com.google.api.ads.dfp.axis.v2013... |
<?php
namespace Elastica\Filter;
use Elastica\Exception\InvalidException;
abstract class AbstractGeoDistance extends AbstractFilter
{
const <API key> = 'geohash';
const <API key> = 'latlon';
/**
* Location type
*
* Decides if this filter uses latitude/longitude or geohash for the location.
... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Mon May 07 13:00:01 PDT 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.mapred.TaskTracker (Hadoop 0.20.2-cdh3u4 API)
</TITLE>
<META NAME="date" CONTENT="2012-05-07">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../... |
<?php
declare(strict_types=1);
return [
]; |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Tue Dec 12 12:37:08 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><API key> (BOM: * : All 2012.12.0 API)</title>
<meta name="date" content="2017-12-12">
<link rel="styles... |
package com.google.api.ads.adwords.jaxws.v201406.cm;
import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
@WebService(na... |
package com.svcet.cashportal.service;
import com.svcet.cashportal.web.beans.UserRequest;
import com.svcet.cashportal.web.beans.<API key>;
import com.svcet.cashportal.web.beans.<API key>;
public interface UserRoleService {
<API key> editUserRoles(UserRequest userRequest);
void updateUserRoles(<API key> <API key>... |
# <API key>
## SYNOPSIS
Adds an AWS::RoboMaker::Robot resource to the template.
The AWS::RoboMaker::RobotApplication resource creates an AWS RoboMaker robot.
## SYNTAX
<API key> [-LogicalId] <String> [-Fleet <Object>] -Architecture <Object> -GreengrassGroupId <Object>
[-Tags <Object>] [-Name <Object>] [-DeletionPolicy... |
package com.igoldin.qa.school.appmanager;
import com.igoldin.qa.school.model.ContactData;
import com.igoldin.qa.school.model.Contacts;
import com.igoldin.qa.school.model.GroupData;
import com.igoldin.qa.school.model.Groups;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.boot.Met... |
<?php
namespace ZPHP\Rank;
use ZPHP\Core\Factory as CFactory;
use ZPHP\Core\Config as ZConfig;
class Factory
{
public static function getInstance($adapter = 'Redis', $config = null)
{
if (empty($config)) {
$config = ZConfig::get('rank');
if (!empty($config['adapter'])) {
... |
package org.netbeans.modules.manifestsupport.dataobject;
import org.openide.loaders.DataNode;
import org.openide.nodes.Children;
public class ManifestDataNode extends DataNode {
private static final String IMAGE_ICON_BASE = "SET/PATH/TO/ICON/HERE";
public ManifestDataNode(ManifestDataObject obj) {
super... |
<?php
session_start();
if(isset($_SESSION['id']))
{
$zoubouboubou=$_SESSION['mail'];
$id_etudiant=$_SESSION['id'];
require_once("includes/connexion.php");
$sql="SELECT id, mail FROM compte_etudiant WHERE id='$id_etudiant'";
$req=mysql_query($sql);
$ligne=mysql... |
using Aggregator.Core.Monitoring;
namespace Aggregator.Core.Configuration
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Schema;
#pragma warning disable S101 // Types should be named in c... |
# <API key>
## SYNOPSIS
Adds an AWS::EMR::Cluster.KerberosAttributes resource property to the template.
KerberosAttributes is a property of the AWS::EMR::Cluster resource.
KerberosAttributes define the cluster-specific Kerberos configuration when Kerberos authentication is enabled using a security configuration.
The cl... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0-google-v3) on Fri May 13 11:40:11 CDT 2011 -->
<TITLE>
com.google.appengine.api.blobstore.dev
</TITLE>
<META NAME="date" CONTENT="2011-05-13">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../dev_javadoc.css" TITLE=... |
<!DOCTYPE html>
<html>
<head>
<title>PoseNet - Camera Feed Demo</title>
<style>.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
color: black;
}
.footer-text {
max-width: 600px;
text-align: center;
... |
using System.Reflection;
namespace System.Web.OData.Builder
{
<summary>
Represents the configuration for a complex property of a structural type (an entity type or a complex type).
</summary>
public class <API key> : <API key>
{
<summary>
Instantiates a new instance of the <see cref=... |
#!/bin/sh
$SPARK_HOME/bin/spark-submit \
--master "local[*]" \
--deploy-mode client \
--class com.godatadriven.<TwitterConsumerkey>.HdfsToKafka \
target/scala-2.10/<TwitterConsumerkey>.0.jar |
package com.gbaldera.yts.fragments;
import android.content.Loader;
import com.gbaldera.yts.loaders.PopularMoviesLoader;
import com.jakewharton.trakt.entities.Movie;
import java.util.List;
public class <API key> extends BaseMovieFragment {
@Override
protected int getLoaderId() {
return BaseMovieFragment.... |
using System.Collections.Generic;
using System.Windows.Forms;
using System.Xml;
using System.Xml.XPath;
namespace PlaylistEditor
{
class HTMLHandler
{
public static string XPathHTML(HtmlElement elem)
{
string elemXPath = "";
string children = "";
List<string> ... |
package com.google.api.ads.adwords.jaxws.v201406.video;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import com.google.api.ads.adwords.jaxws.v201406.cm.Money;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SummaryBudg... |
var assert = require("assert"),
expect = require('expect.js'),
cda = require("../utils/xml.js").cda,
DOMParser = require('xmldom').DOMParser,
XmlSerializer = require('xmldom').XMLSerializer,
xmlUtils = require("../utils/xml.js").xml,
<API key> = require("../Model/<API key>.js"),
<API key> = ... |
# <API key>
## SYNOPSIS
Adds an AWS::Pinpoint::APNSChannel resource to the template.
A *channel* is a type of platform that you can deliver messages to.
You can use the APNs channel to send push notification messages to the Apple Push Notification service (APNs.
Before you can use Amazon Pinpoint to send notifications ... |
package com.glaf.base.modules.sys.model;
import java.io.Serializable;
import java.util.Date;
public class Dictory implements Serializable {
private static final long serialVersionUID = <API key>;
private long id;
private long typeId;
private String code;
private String name;
private int sort;
... |
/**
* <API key>.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201311;
public class <API key> implements java.io.Serializable {
private java.lang.String _value_;
private static java.util.HashMap... |
## COMISS - Compare Scalar Ordered Single-Precision Floating-Point Values and Set EFLAGS
> Operation
slim
RESULT <- OrderedCompare(SRC1[31:0] <> SRC2[31:0]) {
(\* Set EFLAGS \*) CASE (RESULT) OF```
UNORDERED
GREATER_THAN
LESS_THAN
EQUAL
ESAC;
OF,AF,SF <- 0; }
> Intel C/C++ Compiler Intrinsic Equivalents
slim
int _mm_co... |
<?php
namespace OpenOrchestra\ModelBundle\Repository;
use OpenOrchestra\ModelInterface\Repository\<API key>;
use OpenOrchestra\Repository\<API key>;
use OpenOrchestra\Pagination\Configuration\<API key>;
use Solution\MongoAggregation\Pipeline\Stage;
/**
* Class <API key>
*/
class <API key> extends <API key> implements... |
<?php
// Check for empty fields
if(empty($_POST['name']) ||
empty($_POST['email']) ||
empty($_POST['phone']) ||
empty($_POST['message']) ||
!filter_var($_POST['email'],<API key>))
{
echo "No arguments Provided!";
return false;
}
$name = $_POST['name'];
$email_addres... |
code: true
type: page
title: mCreateOrReplace
description: Creates or replaces documents in kuzzle
# MCreateOrReplace
Creates or replaces multiple documents.
Returns a partial error (error code 206) if one or more document creations/replacements fail.
## Arguments
go
MCreateOrReplace(
index string,
collection s... |
<!-- About Section -->
<section id="about" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>About Me</h2>
<p>I am a Computer Science Undergrad from <span>National Institute of Technology, Silchar.</span></... |
/**
* <API key>.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201308;
/**
* Represents the delete action that can be performed on
* {@link <API key>} objects.
*/
public class <API key> ... |
'use strict';
goog.provide('Blockly.JavaScript.serial');
goog.require('Blockly.JavaScript');
Blockly.JavaScript.serial_print = function() {
var content = Blockly.JavaScript.valueToCode(this, 'CONTENT', Blockly.JavaScript.ORDER_ATOMIC) || '\"\"'
var code = 'serial.writeString(\'\' + '+content+');\n';
return code;
... |
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from google.cloud.spanner_v1.proto import (
result_set_pb2 as <API key>,
)
from google.cloud.spanner_v1.proto import (
spanner_pb2 as <API key>,
)
from google.cloud.spanner_v1.proto import (
transaction_pb2 as <API key>,
)
fro... |
package com.comps.util;
import com.google.gson.Gson;
public class GsonManager {
private static Gson instance;
public static Gson getInstance(){
if (instance == null){
instance = new Gson();
}
return instance;
}
} |
module.exports.blueprints = {
actions: true,
rest: true,
shortcuts: true,
prefix: '/api/v1.0',
// pluralize: false,
// populate: true,
// autoWatch: true,
// defaultLimit: 30
}; |
import { IInjectable } from "../common/common";
import { TypedMap } from "../common/common";
import { StateProvider } from "./stateProvider";
import { ResolveContext } from "../resolve/resolveContext";
import * as angular from 'angular';
import IScope = angular.IScope;
/**
* Annotates a controller expression (may be a... |
// This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// <API key>: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth.assertThat;
import static com.google.common.truth.TruthJUnit.assume;
import static org.sosy_lab.java_smt.api.FormulaType.BooleanTyp... |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.09.17 at 02:39:44 KST
package com.athena.chameleon.engine.entity.xml.application.jeus.v5_0;
im... |
#!/bin/bash
SOURCE="${BASH_SOURCE[0]}"
while [ -h ${SOURCE} ];do
DIR=$( cd -P $( dirname ${SOURCE} ) && pwd )
SOURCE="$(readlink ${SOURCE})" |
// Provides control sap.m.MessagePopover.
sap.ui.define(["jquery.sap.global", "./ResponsivePopover", "./Button", "./Toolbar", "./ToolbarSpacer", "./Bar", "./List",
"./StandardListItem", "./library", "sap/ui/core/Control", "./PlacementType", "sap/ui/core/IconPool",
"sap/ui/core/HTML", "./Text", "sap/ui/c... |
using BdlIBMS.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BdlIBMS.Repositories
{
public interface IUserRepository : IRepository<string, User>
{
User <API key>(string userName, string password);
}
} |
<div class="table-overflow overflow">
<table class="efor-table-logs mdl-data-table mdl-shadow--2dp">
<thead>
<tr>
<th class="<API key>">Nombre</th>
<th class="<API key>" width="280px">Email</th>
<th class="<API key>">Apellido</th>
</tr>... |
package com.github.particlesystem.modifiers;
import com.github.particlesystem.Particle;
public interface ParticleModifier {
/**
* modifies the specific value of a particle given the current miliseconds
*
* @param particle
* @param miliseconds
*/
void apply(Particle particle, long milise... |
package com.ftfl.icare;
import java.util.List;
import com.ftfl.icare.adapter.<API key>;
import com.ftfl.icare.adapter.CustomDoctorAdapter;
import com.ftfl.icare.helper.<API key>;
import com.ftfl.icare.helper.<API key>;
import com.ftfl.icare.model.Appointment;
import com.ftfl.icare.model.DoctorProfile;
import com.ftfl.i... |
title: IDEA
date: 2017-05-27 10:50:00
tags: idea
categories: tools
- [Windows](https://download.jetbrains.com/idea/ideaIU-14.1.7.zip)
- [OS X](https://download.jetbrains.com/idea/ideaIU-14.1.7.dmg)
- [Linux](https://download.jetbrains.com/idea/ideaIU-14.1.7.tar.gz)
1. IntelliJ( D:\Portable\IntelliJ)
2. `${idea.home}/bi... |
package com.ymsino.water.service.manager.manager;
import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
@WebService(name = "ManagerService", targetNamespace = "http:/... |
# -*- coding: utf-8 -*-
import allure
from selenium.webdriver.common.by import By
from .base import BasePage
from .elements import SimpleInput, SimpleText
from .blocks.nav import NavBlock
class <API key>(object):
TITLE_LOCATOR = (By.CSS_SELECTOR, '#movie h2')
COUNTRY_LOCATOR = (By.NAME, 'country')
DIRECTOR_... |
Contextual Image Delivery
==========================
This is an optional module for the SDL Digital Experience Accelerator Java web application. It contains an implementation
of interface `MediaHelper` that uses Tridion Contextual Image Delivery (CID) to resize images on the server side.
Note that in order to use Tridi... |
// DZYSquareCell.h
// budejie
#import <UIKit/UIKit.h>
@class DZYSquareModel;
@interface DZYSquareCell : <API key>
@property (nonatomic, strong) DZYSquareModel *squareModel;
@end |
package app.yweather.com.yweather.util;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Build;
import android.preference.PreferenceManager;
import org.json.JSONArray;
import org.json.JSONObject;
import java.text.SimpleDateFormat;
import ja... |
package pl.touk.nussknacker.engine.flink.util.timestamp
import com.github.ghik.silencer.silent
import org.apache.flink.streaming.api.functions.<API key>
import org.apache.flink.streaming.api.watermark.Watermark
import scala.annotation.nowarn
@silent("deprecated")
@nowarn("cat=deprecation")
class <API key>[T](<API key>:... |
/*jslint browser: true*/
/*global $, jQuery, alert*/
(function ($) {
"use strict";
$(document).ready(function () {
$("input[name=dob]").datepicker({
dateFormat: 'yy-mm-dd',
inline: true,
showOtherMonths: true
});
});
$(document).ready(function () {
... |
// Code generated from specification version 7.7.0: DO NOT EDIT
package esapi
import (
"context"
"io"
"net/http"
"strings"
)
func <API key>(t Transport) <API key> {
return func(name string, body io.Reader, o ...func(*<API key>)) (*Response, error) {
var r = <API key>{Name: name, Body: body}
... |
layout: post
title: Underperformance of Lenovo ThinkBook Intel i7-8565U with Windows 10 pro
date: 2021-07-07
type: post
published: true
status: publish
categories: [travel]
tags:
author:
login: MiguelGamboa
email:
display_name: Miguel Gamboa
The stack Lenovo-Intel-Win10 is a completely rubbish for remote softwar... |
# -*- coding: utf-8 -*-
import unittest
import pykintone
from pykintone.model import kintoneModel
import tests.envs as envs
class TestAppModelSimple(kintoneModel):
def __init__(self):
super(TestAppModelSimple, self).__init__()
self.my_key = ""
self.stringField = ""
class TestComment(unittest... |
package com.iclockwork.percy.wechat4j;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
public class HelloWorldTest {
/**
* helloworld
*/
private HelloWorld helloworld;
@BeforeMethod
public void setUp() throws Exception ... |
package com.scicrop.se.commons.utils;
import java.io.IOException;
import org.apache.commons.logging.Log;
import org.apache.log4j.ConsoleAppender;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.log4j.PatternLayout;
import org.apache.log4j.RollingFileAppender;
public class LogHelper {
... |
function <API key> {
<
.SYNOPSIS
Adds an AWS::WAFv2::RuleGroup.CountAction resource property to the template.
.DESCRIPTION
Adds an AWS::WAFv2::RuleGroup.CountAction resource property to the template.
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/<API key>.ht... |
# -*- coding: utf-8 -*-
'''
The Salt Key backend API and interface used by the CLI. The Key class can be
used to manage salt keys directly without interfacing with the CLI.
'''
# Import python libs
from __future__ import absolute_import, print_function
import os
import copy
import json
import stat
import shutil
import ... |
/* jshint node: true */
module.exports = function(environment) {
var ENV = {
modulePrefix: 'chapter4-components',
environment: environment,
baseURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g... |
require_relative '../lib/rails_stub'
require_relative 'lib/pb_core_ingester'
require_relative '../lib/has_logger'
require 'rake'
require_relative '../app/models/collection'
require_relative '../app/models/exhibit'
class Exception
def short
message + "\n" + backtrace[0..2].join("\n")
end
end
class ParamsError < ... |
# With alpha replaced with perl6 & SOURCES changed to my sources.
PERL6 = perl6
SOURCES=lib/SIC/AST.pm lib/SIC/Grammar.pm \
lib/SIC/Actions.pm lib/SIC/Compiler.pm
PIRS=$(SOURCES:.pm=.pir)
all: $(PIRS)
%.pir: %.pm
env PERL6LIB=`pwd`/lib $(PERL6) --target=pir --output=$@ $<
clean:
rm -f $(PIRS)
test: all
... |
# GitURL
GitURL represents something that can be passed to `git clone`.
## clone
>method clone([Str](./Str.md) **:$to** [File](./File.md))
Calls `git clone` on the the url and returns the path to the cloned directory.
perl6
GitURL<https://github.com/spitsh/spitsh.git/>.clone.cd;
say ${ $*git status };
|Parameter|Des... |
// Version Alpha 0.92
// INSTRUCTIONS
// Drop a PlayMakerArrayList script onto a GameObject, and define a unique name for reference if several PlayMakerArrayList coexists on that GameObject.
// In this Action interface, link that GameObject in "arrayListObject" and input the reference name if defined.
// Note: You can ... |
#!/bin/sh
# MyRPM - Rpm Utilities
# Contact : Jean-Marie Renouard <jmrenouard at gmail.com>
# Artistic Licence 2.0
# Everyone is permitted to copy and distribute verbatim copies of
TMP_DIR=/tmp
MD5_SUM=$(echo "$1_$2" | md5sum | cut -d' ' -f 1)
TMP_FILE="$TMP_DIR/$MD5_SUM.dat"
if [ -e "$TMP_FILE" ]; then
DATE_TMP_FI... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_292) on Fri Jul 02 03:47:37 UTC 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>com.destroystokyo.paper (Glowkit 1.12.2-R6.0-SNAPSHOT API)</title>
<meta name="date" content="2021-07-02"... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Transforms</title>
<style>
#threed-example {
margin: 50px 20px;
-webkit-transform: rotateZ(5deg);
-moz-transform: rotateZ(5deg);
-o-transform: rotateZ(5deg);
transform: rotateZ(5deg);
-webkit-transition: -webkit-transform 2s ease-in-o... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>De Mulierum Subtili Deceptione</title>
</head>
<body>
<!--XXVII De Mulierum Subtili Deceptione
<h4>The Subtle Deciption of a Woman</h4>
<p>
<!
Darius regnavit prudens valde, qui tres fili... |
// Convert DMD CodeView debug information to PDB files
#include "mspdb.h"
#include <windows.h>
#pragma comment(lib, "rpcrt4.lib")
HMODULE modMsPdb;
mspdb::fnPDBOpen2W *pPDBOpen2W;
char* mspdb80_dll = "mspdb80.dll";
char* mspdb100_dll = "mspdb100.dll";
bool mspdb::DBI::isVS10 = false;
bool getInstallDir(const char* vers... |
package TearDrop::Command::import_blast;
use 5.12.0;
use Mojo::Base 'Mojolicious::Command';
use Carp;
use Try::Tiny;
use TearDrop::Task::ImportBLAST;
use Getopt::Long qw(GetOptionsFromArray :config no_auto_abbrev no_ignore_case);
has description => 'Import BLAST results (currently only custom format)';
has usage => sub... |
public class Lab4_2
{
public static void main(String[] arg)
{
System.out.print(" * |");
for(int x=1;x<=12;x++) {
if (x<10) System.out.print(' ');
if (x<100) System.out.print(' ');
System.out.print(x+" ");
}
System.out.println();
for(int x=1;x<=21;x++) {
if (x<10) System.o... |
var HLSP = {
/*
set squareness to 0 for a flat land
*/
mizu: {
cameraPositionY: 10,
seaLevel: 0,
displayText: '<b>CHAPTER ONE, MIZU</b><br/><i>TO BE TRAPPED INTO THE MORNING UNDERTOW</i>',
speed: 10,
modelsParams: ['stones', function(){return 1+Math.random()*40}, 3, tru... |
* { box-sizing: border-box; }
body {
background-color: #D4D4D4;
padding: 0px;
margin: 0px;
font-family: 'Rubik', serif;
}
section {
float: left;
width: 100%;
min-height: 100vh;
padding: 40px 80px;
}
section div {
max-width: 800px;
margin: a... |
package Mojolicious::Plugins;
use Mojo::Base 'Mojo::EventEmitter';
use Mojo::Util 'camelize';
has namespaces => sub { ['Mojolicious::Plugin'] };
sub emit_hook {
my $self = shift;
for my $cb (@{$self->subscribers(shift)}) { $cb->(@_) }
return $self;
}
sub emit_chain {
my ($self, $name, @args) = @_;
my $wrapper... |
import os
from dj_static import Cling
from django.core.wsgi import <API key>
os.environ.setdefault("<API key>", "brp.settings")
os.environ.setdefault('<API key>', 'Dev')
application = Cling(<API key>()) |
class Imagemagick < Formula
desc "Tools and libraries to manipulate images in many formats"
homepage "https:
# Please always keep the Homebrew mirror as the primary URL as the
# ImageMagick site removes tarballs regularly which means we get issues
# unnecessarily and older versions of the formula are broken.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Reflection;
using CSScriptLibrary;
using System.Windows.Controls;
using Mono.CSharp;
namespace RobinhoodDesktop.Script
{
<summary>
Specifies the options for keeping p... |
#ifndef __GENERIC_H
#define __GENERIC_H 1
/* Name concatenator functions */
#define name2(n1,n2) n1
#define name3(n1,n2,n3) n1 ## n2 ## n3
#define name4(n1,n2,n3,n4) n1 ## n2 ## n3 ## n4
typedef int (*GPT) (int,char *);
extern int genericerror(int,char *);
#define set_handler(generic,type,x) ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.