text stringlengths 31 1.04M |
|---|
use strict;
use warnings;
package MetaCPAN::Client::ResultSet;
# ABSTRACT: A Result Set
$MetaCPAN::Client::ResultSet::VERSION = '1.008001';
use Moo;
use Carp;
has type => (
is => 'ro',
isa => sub {
croak 'Invalid type' unless
grep { $_ eq $_[0] } qw<author distribution favorite
... |
<?php
class Vsourz_Imagegallery_Model_Categoryval extends Mage_Core_Model_Abstract{
public function getCategoryVal(){
$catVal = Mage::getModel('imagegallery/imagecategory')->getCollection();
$data = $catVal->getData();
$dropVal = array();
$dropVal[''] = "Please Select";
foreach($data as $value){
$dropVal... |
"""
wikipedia_data()
Returns a tuple `(articles, dictionary, titles)` with data for the
Wikipedia clustering example in section 4.4.2.
`articles` is an array of length 500 with the word histograms of the 500
documents. Each histogram is an array of length 4423.
`dictionary` is an array of length 4423 wit... |
module Resource.Models exposing
( CheckStatus(..)
, Model
, PageError(..)
, PinnedVersion
, Version
, VersionEnabledState(..)
, VersionId
)
import Build.Output.Models exposing (OutputModel)
import Concourse
import Concourse.Pagination exposing (Page, Paginated)
import Login.Login as Log... |
{
"id": "b7224a8e-52b7-4119-9e9c-4666b2116284",
"modelName": "GMSound",
"mvc": "1.0",
"name": "sfx_gameover",
"audioGroupGuid": "7b2c4976-1e09-44e5-8256-c527145e03bb",
"bitDepth": 1,
"bitRate": 128,
"kind": 0,
"preload": false,
"sampleRate": 44100,
"type": 0,
"volume": 1
... |
package ztiany.chapter10
println "in script1"
name = "ztiany"//name不能用def修饰
shell = new GroovyShell(binding)
def evaluate = shell.evaluate(new File('script2a.groovy'))//evaluate 求..的值
println evaluate
//如果不希望把影响当前的binding,则创建一个binding,在该实例上调用setProperty
binding1 = new Binding()
binding1.setProperty('name','jorda... |
/-
Copyright (c) 2020 Keeley Hoek. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Keeley Hoek, Scott Morrison
-/
import meta.expr
/-!
# A lens for zooming into nested `expr` applications
A "lens" for looking into the subterms of an expression, tracking... |
'use strict'
init = require("fb-custom-init")
magma_outbound_message = require('magma-outbound-message')
should = require('should')
CT = require('magma-constant')
_ = require('lodash')
###
======== A Handy Little Mocha Reference ========
https://github.com/visionmedia/should.js
https://github.com/visionmedia/mocha
##... |
* {
margin: 0;
padding: 0;
}
body {
background-color:rgb(208, 255, 239)
}
.main-game {
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}
.genius {
display: grid;
grid-template-areas: 'green red'
'yellow blue';
grid-gap: 10px;... |
Meteor.publish 'userData', ->
unless this.userId
return this.ready()
RocketChat.models.Users.find this.userId,
fields:
name: 1
username: 1
status: 1
statusDefault: 1
statusConnection: 1
avatarOrigin: 1
utcOffset: 1
language: 1
settings: 1
defaultRoom: 1
'services.github.id': 1
... |
package com.nabijaczleweli.fancymagicks.staves
import com.nabijaczleweli.fancymagicks.reference.Reference
import net.minecraft.entity.player.EntityPlayer
import net.minecraft.util.StatCollector
class AbilityMissing(which: String) extends StaffAbility {
override def apply(player: EntityPlayer) {}
override val descr... |
#version 430 compatibility
out vec4 color;
out vec4 texpos;
out vec4 lmpos; // x 方块亮度, y 天空亮度
out vec4 normal;
void main()
{
vec4 viewpos = gl_ModelViewMatrix * gl_Vertex;
gl_Position = gl_ProjectionMatrix * viewpos;
gl_FogFragCoord = length(viewpos.xyz);
color = gl_Color;
texpos = gl_TextureMatri... |
PREFIX ex: <http://example.com/ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
INSERT DATA {
ex:validPerson1 ex:type ... |
stomatadetector package
=======================
Submodules
----------
stomatadetector.filebrowser module
----------------------------------
.. automodule:: stomatadetector.filebrowser
:members:
:undoc-members:
:show-inheritance:
stomatadetector.flexmetadata module
-----------------------------------
..... |
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>校历校准管理</title>
<meta name="decorator" content="default"/>
<style>
body
{
font-family:'微软雅黑';
background-color:#EBEAEB;
}
#contest{
background-color:#FFF;
/*position:absolute;
top:7%;... |
.simpleHomePage {
min-width: 700px;
width: 100%;
margin: 0 auto;
padding: 50px;
}
.sweetLoading {
position: fixed;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.1);
z-index:... |
@ECHO OFF
REM Makes the Sphinx documentation files
FOR %%a IN (%~dp0\.) do set RACCOON=%%~dpa
set OLD_PYTHONPATH=%PYTHONPATH%
set PYTHONPATH=%PYTHONPATH%;%RACCOON%
sphinx-apidoc -f -o . ../raccoon
./make.bat html
set PYTHONPATH=%OLD_PYTHONPATH%
|
#ifndef _ALIGNMENT_H_
#define _ALIGNMENT_H_
enum class horizontal_align {
left = 0,
center = 1,
right = 2
};
enum class vertical_align {
bottom = 0,
center = 1,
top = 2
};
#endif
|
package exemples.spring.formation;
public class Chassis {
private int valeur1;
private int valeur2;
public Chassis(int valeur1, int valeur2) {
this.valeur1 = valeur1;
this.valeur2 = valeur2;
}
public String id() {
return "Lotus Exige 240 R : valeur1 = " + this.valeur1 + ", valeur2 = " + this.valeur2;
}
... |
------------------------------------------------------------------------------
-- Copyright [2014] [Ztachip Technologies 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://... |
module Backprop
import public Backprop.CanBack
import public Backprop.Math
import public Backprop.Node
import public Data.List.Quantifiers
|
-- megafunction wizard: %PLL Intel FPGA IP v18.0%
-- GENERATION: XML
-- clk_3_255_MHz.vhd
-- Generated using ACDS version 18.0 614
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
entity clk_3_255_MHz is
port (
refclk : in std_logic := '0'; -- refclk.clk
rst : in std_logic := '0'; ... |
require "bundler/setup"
Bundler.require
require 'dotenv/load'
require 'rack-flash'
ActiveRecord::Base.establish_connection({
:adapter => "sqlite3",
:database => "db/development.sqlite3"
})
require_all 'app' |
--
-- AppleScripts for Avid Pro Tools.
--
-- Script description:
-- Opens Inserts A-E panel.
--
-- (C) 2017 Ilya Putilin
-- http://github.com/fantopop
--
tell application "Finder"
tell application "System Events"
set PT to the first application process whose creator type is "PTul"
tell PT
activate
set fron... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xefe8, %rsi
nop
xor $60566, %r11
movups (%rsi), %xmm6
vpextrq $1, %xmm6, %rdi
nop
nop
nop
nop
add %r11, %r11
lea addresses_WC_ht+0x72ec, %rsi
lea addresses_WT_ht+0x2a02, %rdi
nop
nop
n... |
(defproject js-framework-banchmark-reagent "1.0.0"
:url "http://github.com/reagent-project/reagent"
:license {:name "Apache-2.0"}
:description "Reagent demo"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.946"]
[reagent "0.8.0-alpha2"]
... |
{
"id": "6047a338-4fcd-4bbd-a39b-89ace4201287",
"modelName": "GMObject",
"mvc": "1.0",
"name": "o_wall",
"eventList": [
],
"maskSpriteId": "00000000-0000-0000-0000-000000000000",
"parentObjectId": "00000000-0000-0000-0000-000000000000",
"persistent": false,
"physicsAngul... |
const Builder = @import("std").build.Builder;
pub fn build(b: *Builder) void {
const mode = b.standardReleaseOptions();
const exe = b.addExecutable("ircbot", "src/main.zig");
// exe.force_pic = true;
exe.linkSystemLibrary("c");
exe.linkSystemLibrary("curl");
exe.setBuildMode(mode);
exe.inst... |
use Mojo::Base -strict;
use Test::More;
use Cwd qw(getcwd realpath);
use Fcntl 'O_RDONLY';
use File::Basename qw(basename dirname);
use File::Spec::Functions qw(abs2rel canonpath catfile rel2abs splitdir);
use File::Temp;
use Mojo::File qw(path tempdir tempfile);
use Mojo::Util 'encode';
# Constructor
is(Mojo::File->... |
/**
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 "License"); you may... |
--liquibase formatted sql
--changeset uk.gov.pay:add_state_to_payout
ALTER TABLE payout ADD COLUMN state TEXT;
--rollback ALTER TABLE payout DROP COLUMN state;
|
(ns portal.ui.viewer.exception
(:require [clojure.spec.alpha :as spec]
[clojure.string :as str]
[portal.colors :as c]
[portal.ui.icons :as icon]
[portal.ui.inspector :as ins]
[portal.ui.styled :as s]
[portal.ui.theme :as theme]
[reage... |
/*** Spectra Vista SIG Data ***/
name= gr052418_0129.sig
instrument= HI: 2182093 (HR-1024i)
integration= 500.0, 40.0, 10.0, 500.0, 40.0, 10.0
scan method= Time-based, Time-based
scan coadds= 10, 116, 392, 10, 116, 392
scan time= 5, 5
scan settings= AI, AI
external data set1= 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,... |
{
"id": "4965437e-1f8c-452f-9807-0ac61f15ad1f",
"modelName": "GMFolder",
"mvc": "1.1",
"name": "4965437e-1f8c-452f-9807-0ac61f15ad1f",
"children": [
],
"filterType": "GMIncludedFile",
"folderName": "datafiles",
"isDefaultView": false,
"localisedFolderName": "ResourceTree... |
/*
* 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
* "License"); you ma... |
---
title: "Exercise 4.6"
output: html_notebook
---
Exercise 4.6 How do you sum the following Chinese numbers?
```{r}
fct <- factor(
c('參','貮','貮','貮','壹','貮','參','貮','參','參'),
levels=c('壹','貮','參')
)
sum(as.numeric(fct))
``` |
//Written by Przemyslaw Zaworski
//https://github.com/przemyslawzaworski
Shader "Deferred (Metallic Gloss)"
{
Properties
{
_Color ("Color", Color) = (1,1,1,1)
_Metallic ("Metallic", Range(0, 1)) = 1
_Gloss ("Gloss", Range(0, 1)) = 0.8
}
SubShader
{
Pass
{
Tags {"LightMode"="Deferred"}
... |
'use strict';
var express = require('express');
var controller = require('./question.controller');
var auth = require('../../auth/auth.service');
var router = express.Router();
router.get('/practice/:subject/:topic?', controller.findPractice);
router.get('/tags/:subject?', controller.showTags);
router.get('/', auth.h... |
(* One can use these trees to test the Sentinel's in Graphs problem*)
let short_med_long_path =
["14"; "0 1"; "1 2"; "2 3";
"1 4"; "4 5"; "5 6"; "6 3";
"1 7"; "7 8"; "8 9"; "9 10"; "10 11"; "11 12"; "12 13"; "13 3"]
let cycle_tree =
["6"; "0 1"; "1 2"; "2 3"; "3 4"; "4 5"; "5 2"]
(*Graph from Lecture*)
let ... |
--Automatically generated by SWGEmu Spawn Tool v0.12 loot editor.
banner3 = {
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/furniture/lifeday/lifeday_banner_s03.iff",
craftingValues = {
},
customizationStringNames = {},
customizationValues = {},
skillMods ... |
module PatternSynonymImports2 where
open import PatternSynonyms
open import PatternSynonymImports
myzero' = z
myzero'' = myzero
list2 : List _
list2 = 1 ∷ [] |
#!/bin/sh
set -e
if [ "$1" = 'manage.py' ]; then
echo "Starting server..."
./manage.py migrate
./manage.py collectstatic --noinput
exec /srv/web/manage.py runserver 0.0.0.0:8000
fi
echo "Runing command..."
exec "$@"
|
;;;; Theme settings
;;; Rainbow parentheses customization
(custom-set-faces
'(rainbow-delimiters-depth-1-face ((t (:foreground "#00877C" :weight normal))))
'(rainbow-delimiters-depth-2-face ((t (:foreground "#b58900" :weight normal))))
'(rainbow-delimiters-depth-3-face ((t (:foreground "#6c71c4" :weight normal))))... |
<?xml version="1.0" encoding="utf-8" ?>
<dataset Transactions="1"><dataset_header DisableRI="yes" DatasetObj="1004928896.09" DateFormat="mdy" FullHeader="no" SCMManaged="yes" YearOffset="1950" DatasetCode="RYCSO" NumericFormat="AMERICAN" NumericDecimal="." OriginatingSite="91" NumericSeparator=","/>
<dataset_records><d... |
\qecho Execute /database/triggers/dummy_sp_trigger_a.sql
\include ./database/triggers/dummy_sp_trigger_a.sql
\qecho Execute /database/triggers/dummy_sp_trigger_b.sql
\include ./database/triggers/dummy_sp_trigger_b.sql
\qecho Execute /database/triggers/dummy_sp_trigger_c.sql
\include ./database/triggers/dummy_sp_trigger... |
-- Internal persistence library
--[[ Provides ]]
-- persistence.store(path, ...): Stores arbitrary items to the file at the given path
-- persistence.load(path): Loads files that were previously stored with store and returns them
--[[ Limitations ]]
-- Does not export userdata, threads or most function values
-- Func... |
<?php
/*##########################################################################################################################################
ALLOWS US TO SEPARATE THE LOGIC FROM THE LAYOUT
Updated December 2007
SAMPLE USAGE:
index_page.html contents:
---------------------------------
<html>
<head>
<title></t... |
namespace java com.rbkmoney.bouncer.rstn
namespace erlang brstn
include "base.thrift"
typedef base.Version Version
typedef base.Entity Entity
const Version HEAD = 1
/**
* Ограничения применимые в сервисе
*
* Так как ограничения предпологаются только на конкретных сервисах с их
* уникальными данными, то нет нужд... |
syntax = "proto3";
package alert_rule;
import "monitor_sdk/model/monitor/alert_rule.proto";
/*
DetailAlertRuleV4请求
*/
message DetailAlertRuleV4Request {
/*
告警规则id
*/
string id = 1 ;
/*
告警规则版本
*/
int32 version = 2 ;
}
/*
DetailAlertRuleV4返回
*/
message DetailAlertRuleV4Response {
... |
@ECHO off
SET ROOT=%cd%
cd %~dp0
SET TEST_PATH=..\..\..\..\..\..\..\java-advanced-2020
SET PROJECT_PATH=..\..\..\..\..\
SET mod_name=ru.ifmo.rain.karimov.implementor
SET mod_path=ru\ifmo\rain\karimov\implementor
SET res_name=info.kgeorgiy.java.advanced
SET res_path=%TEST_PATH%\modules\%res_name%.implementor\info\kgeo... |
prefix fn: <http://localhost:8083/>
prefix fn2: <http://localhost:8888/>
prefix x: <http://www.drugbank.ca>
prefix xs: <http://www.w3.org/2001/XMLSchema>
function fn:getDrugBankNames GET ( -> ?x )
service fn:getDrugBankNames [ ] -> "//x:row" :: "./x:drug" "xs:string"
function fn:getSMILES ( ?drug -> ?smiles )
tabl... |
\documentclass{article}
\usepackage{pstricks}
\usepackage{auto-pst-pdf}
\usepackage{booktabs}
\begin{document}
\begin{center}
\psset{unit=7cm}
\begin{pspicture}(-1,-1)(1,1)
\pscircle[linewidth=.001pt](0,0){1}
\newgray{lightestgray}{.93}
% draw the triangles
\pscustom[linewidth=.1pt]{
\psline[linewidth=.1pt]
(0.00000... |
synospec.etc.spectrographs module
=================================
.. automodule:: synospec.etc.spectrographs
:members:
:private-members:
:undoc-members:
:show-inheritance:
|
***********
Concurrency
***********
MGE uses multi-threading to achieve concurrency.
Threading Utilities
===================
Thread
------
The thread class enhances the `std::thread` interface by some convenience
methods.
.. doxygenclass:: mge::thread
:members:
Thread Group
------------
Threads can be organi... |
X, Y, TStamp, Pres., EndPts
DataSize: 689
5412 7830 0 8 0
5412 7830 16 16 0
5461 7951 26 23 0
5511 7951 32 27 0
5511 7951 47 30 0
5511 7951 57 34 0
5511 7951 63 37 0
5511 7951 79 40 0
5511 8071 94 44 0
5511 8071 104 42 0
5511 8071 110 41 0
5511 8071 125 40 0
5511 8192 135 41 0
5461 8312 141 42 0
5461 8433 151 43 0
5362... |
open Core
(* We can define a list using brackets and semicolons. *)
let xs = [ 1; 2; 3 ]
(* We can also define a list using the "::" (cons) operator. *)
let ys = 1 :: 2 :: 3 :: []
(* The cons operator can be used to prepend an element to a list. *)
let zs = 1 :: [ 2; 3 ]
(* We can match on lists! *)
let print_first... |
<?php
namespace Bitrix\Main\Security;
class SecurityException extends \Bitrix\Main\SystemException
{
public function __construct($message = "", $code = 0, \Exception $previous = null)
{
parent::__construct($message, $code, '', '', $previous);
}
}
class OtpException extends SecurityException
{
}
|
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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... |
{*******************************************************************************************}
{ }
{ XML Data Binding }
{ ... |
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
CMD_SRCS += \
../source/HL_sys_link... |
module FSharpx.TypeProviders.NamespaceProvider
open Microsoft.FSharp.Core.CompilerServices
open Samples.FSharp.ProvidedTypes
[<TypeProvider>]
type public DocumentProvider(cfg:TypeProviderConfig) as this =
inherit TypeProviderForNamespaces()
do this.AddNamespace(
DSL.rootNamespace,
[XmlTypeP... |
#Testing Variables
$Script:ModulePath = "$PSScriptRoot\..\SPMTools"
# Test Mode must be set before testing
$Env:SPMTools_TestMode = 1
#Functions
Import-Module $Script:ModulePath
#Test Suite
Describe SPMTools.Public.New-ADDrive {
BeforeAll {
Import-Module "$PSScriptRoot\TestVariables.psm1"
InitT... |
{"timestamp": 1573594490.0, "score": 8.27, "score_count": 88023}
{"timestamp": 1567146475.0, "score": 8.29, "score_count": 85052}
{"timestamp": 1554861434.0, "score": 8.3, "score_count": 80976}
{"timestamp": 1554060084.0, "score": 8.3, "score_count": 80591}
{"timestamp": 1546552423.0, "score": 8.3, "score_count": 77732... |
@echo off
go build -ldflags "-s -w"
set OUT_DIR=.
set PACK_NAME=dataobject
go run main.go --url "mysql://root:123456@127.0.0.1:3306/test?charset=utf8" --disable-decimal ^
--out %OUT_DIR% --db "test" --table "users, classes" --suffix do --package %PACK_NAME% --readonly "created_at, updated_at"
echo generate go file ok... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateUserSkillTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_skill', function(Blueprint $table)
{
$table->integer('id', true);
... |
Fix the README for the html genereation
> import Data.List
> main :: IO ()
> main = do
> ls <- getContents
> putStrLn $ unlines $ map fixLinks $ lines ls
> fixLinks x | "link:" `isPrefixOf` x = []
> fixLinks x | "// <<" `isPrefixOf` x = drop 3 x
> fixLinks x = x
|
data {
int d_int;
array[d_int] int d_int_array;
array[d_int] real d_real_array;
matrix[d_int, d_int] d_matrix;
vector[d_int] d_vector;
row_vector[d_int] d_row_vector;
array[3] vector[2] x3y;
array[3] row_vector[2] x4y;
array[3] matrix[2, 3] x5y;
array[3, 4] int x1z;
array[3, 4] real x2z;
a... |
------------------------------------------------------------------------------
-- This file is a part of the GRLIB VHDL IP LIBRARY
-- Copyright (C) 2003 - 2008, Gaisler Research
-- Copyright (C) 2008 - 2014, Aeroflex Gaisler
-- Copyright (C) 2015 - 2016, Cobham Gaisler
--
-- This program is free software; you can ... |
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class ChangeCreatorModifierDialog
Inherits System.Windows.Forms.Form
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components... |
/*
Copyright 2014 The Kubernetes Authors 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
Unless required by applicable law or ag... |
/*
* Copyright 2017 Okta
*
* 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 writ... |
'*************************************************************'
' Author : An Pham Ngoc (IT) '
' Mail : phamngocanthi@yahoo.com, phamngocanthi@gmail.com '
' Gender : Male '
' Age : 1982 ... |
{
"compression": 2,
"volume": 1.0,
"preload": true,
"bitRate": 128,
"sampleRate": 44100,
"type": 0,
"bitDepth": 1,
"audioGroupId": {
"name": "audiogroup_default",
"path": "audiogroups/audiogroup_default",
},
"soundFile": "snd_retrieve",
"duration": 0.817698,
"parent": {
"name": "Menu... |
(* Copyright (C) 2013 Matthew Fluet.
* Copyright (C) 2004-2007 Henry Cejtin, Matthew Fluet, Suresh
* Jagannathan, and Stephen Weeks.
*
* MLton is released under a HPND-style license.
* See the file MLton-LICENSE for details.
*)
(* Required signatures *)
signature ARRAY = ARRAY
signature ARRAY_SLICE = ARRAY_S... |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.Recommendations.Declarations
Public Class EndBlockKe... |
import $ from 'jquery';
import GLForm from '../../../../gl_form';
import RefSelectDropdown from '../../../../ref_select_dropdown';
import ZenMode from '../../../../zen_mode';
new ZenMode(); // eslint-disable-line no-new
new GLForm($('.tag-form')); // eslint-disable-line no-new
new RefSelectDropdown($('.js-branch-selec... |
//Address: 0x31968c0f883dbf768fdfb5801fabd35884da3c3e
//Contract name: KatyaToken
//Balance: 0 Ether
//Verification Date: 2/3/2018
//Transacion Count: 2
// CODE STARTS HERE
pragma solidity ^0.4.4;
contract Token {
function totalSupply() constant returns (uint256 supply) {}
function balanceOf(address _owner) constan... |
; A162770: a(n) = ((2+sqrt(5))*(1+sqrt(5))^n + (2-sqrt(5))*(1-sqrt(5))^n)/2.
; Submitted by Jon Maiga
; 2,7,22,72,232,752,2432,7872,25472,82432,266752,863232,2793472,9039872,29253632,94666752,306348032,991363072,3208118272,10381688832,33595850752,108718456832,351820316672,1138514460672,3684310188032,11922678218752,3858... |
defmodule Phoenix.SimpleForm.Factory do
@moduledoc """
Factories used for ex_machina.
"""
use ExMachina
def form_input_factory do
%Phoenix.SimpleForm.FormInput{
clean_opts: [],
collection: nil,
errors: [],
errors_translated: [],
field: :name,
field_str: "name",
f... |
namespace go sanskerta.contract.value
namespace java id.dynastymasra.sanskerta.common.contract.value
#@namespace scala id.dynastymasra.sanskerta.common.contract.value
typedef string timestamp
typedef string UUID
|
@echo off
REM PHPUnit
REM
REM Copyright (c) 2002-2008, Sebastian Bergmann <sb@sebastian-bergmann.de>.
REM All rights reserved.
REM
REM Redistribution and use in source and binary forms, with or without
REM modification, are permitted provided that the following conditions
REM are met:
REM
REM * Redistributi... |
-- fmGUI_ManageSecurity_AccountNames(fullAccessAccountName:null, fullAccessPassword:null)
-- Daniel A. Shockley, NYHTC
-- Open Manage Security window
(*
HISTORY:
1.1 - 2017-06-14 ( eshagdar ): narrowed scope.
1.0 - created
REQUIRES:
fmGUI_AppFrontMost
*)
on run
fmGUI_ManageSecurity_AccountNames({fullAccessAcc... |
@[irreducible] instance : has_zero string := ⟨""⟩
class foo (s : string) : Prop
instance string.foo : foo 0 := ⟨⟩
#eval tactic.mk_instance `(foo "") |
/*!
* Hamburgers
* @description Tasty CSS-animated hamburgers
* @author Jonathan Suh @jonsuh
* @site https://jonsuh.com/hamburgers
* @link https://github.com/jonsuh/hamburgers
*/.hamburger{font:inherit;display:inline-block;overflow:visible;margin:0;padding:15px;cursor:pointer;transition-timing-function:linear;tra... |
tokenizing - dtd
nextEndDoctypeDeclaration
self nextDoctypeDeclarationTerminator.
state := state postDoctypeDeclarationState.
driver handleEndDTD. |
#!/bin/bash
workingDir=/var/www/cryptodb.org/Common/pubcrawler
bgColor="#FFCCCC"
project=CryptoDB
icon=/images/cryptodb_logo.gif
PC_SCRIPT=$workingDir/pubcrawlerApi.pl
CONFIG=$workingDir/pubcrawler.config
perl $PC_SCRIPT -d $workingDir -mute -c $CONFIG -bg $bgColor -proj $project -icon $icon
|
---
title: Skapa delade avbildnings gallerier med Azure CLI
description: I den här artikeln får du lära dig hur du använder Azure CLI för att skapa en delad avbildning av en virtuell dator i Azure.
services: virtual-machines-linux
documentationcenter: virtual-machines
author: axayjo
manager: gwallace
editor: tysonn
tag... |
namespace java thrift.test
const string name = "Columbo";
const string copyName = name;
/**
I AM A DOC
*/
// not a doc, just a comment, but the doc should still get included.
const i32 someInt = 1;
const double someDouble = 3.0;
const list<string> someList = ["piggy"];
const list<string> emptyList = [];
const map<st... |
module Grape
module Util
# HashStack is a stack of hashes. When retrieving a value, keys of the top
# hash on the stack take precendent over the lower keys.
class HashStack
# Unmerged array of hashes to represent the stack.
# The top of the stack is the last element.
attr_reader :stack
... |
module renderer_top_testbench();
timeunit 10ns;
timeprecision 1ns;
logic Clk;
logic [3:0] KEY;
logic [7:0] SW;
logic [7:0] LEDR;
logic [6:0] HEX0, HEX1;
// VGA Interface
logic [7:0] VGA_R; //VGA Red
logic [7:0] VGA_G; //VGA Green
logic [7:0] VGA_B; //... |
/*
* 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
* "License"); you ... |
/*! firebase-admin v10.0.0 */
/*!
* Copyright 2021 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... |
CREATE TABLE [dbo].[TPosInTrack]
(
--From MergedXSDs XSD
--From 'genericRailML' Namespace
[TPosInTrackId] TINYINT NOT NULL,
[Value] NVARCHAR(16) NOT NULL,
CONSTRAINT [PK_TPosInTrackId] PRIMARY KEY CLUSTERED ([TPosInTrackId] ASC)
);
|
/*
Find the number of countries for each currency. Display three columns: currency code,
currency description and number of countries. Sort the results by number of countries
(from highest to lowest), then by currency description alphabetically.
Name the columns exactly like in the table below.
Submit your ... |
/*
* Copyright 2016 Alexander Terenin
*
* 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 agr... |
void Clear();
int32 NPCMessage();
int32 CollReview();
void* __ct(int32 myType);
// Clear__14zNPCGoalCommonFv
// Start address: 0x2adad0
void zNPCGoalCommon::Clear()
{
// Line 189, Address: 0x2adad0, Func Offset: 0
// Func End, Address: 0x2adad8, Func Offset: 0x8
}
// NPCMessage__14zNPCGoalCommonFP6NPCMsg
// Sta... |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Option Explicit On
Option Strict On
Namespace Microsoft.VisualBasic.Devices
'''**********************************... |
<?php namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Contracts\Auth\Guard;
use App\Nisitusers;
use Input;
use Socialite;
use Auth;
use Redirect;
use Hash;
use Illuminate\Http\Request;
class SocialLoginController extends Controller {
protected $redirectTo... |
(require 'init-clojure)
(require-package 'emacs '(24))
(require-package 'cider)
(require-package 'ac-cider)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; nrepl with Clojure
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(setq nrepl-popup-stacktraces... |
#!/usr/local/bin/thrift --gen py:utf8strings --gen java:beans,nocamel,hashcode
namespace java elephantdb.generated.search
include "core.thrift"
service ElephantDBSearch extends core.ElephantDBShared {
// Thinking a bit more on this one. Lucene on the back end!
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.