text
stringlengths
27
775k
namespace OksidiCom.AspNetCore.Common.Db { public class EntityNotFoundException : System.Exception { } }
<?php /* * Site HTML5 Tail * Footer */ ?> <!-- Display Default Site Footer --> <footer> <p><? echo $footer ?></p> <? // If the user was authenticated // Welcome him / her by forename if(($_SESSION['forename'] != null) && ($page == "index")) { echo "<p>Hello " . $_SESSION['forename'] . "!</p>"; } ?> </foot...
# Hash n'dash Attempt Branch: 002_tictactoe The <ATTEMPT> hash_n_dash shall accomplish the following points: - [ ] Allow an agent to play to game of tic-tac-toe. - [ ] Display the board, and its current state. - [ ] Display which player's turn it is. - [ ] A screen displaying lost state if the agent lost. - [ ] A sc...
# frozen_string_literal: true require 'rails_helper' RSpec.describe CdlAvailability do describe '#available' do let(:subject) { described_class.new('123456') } context 'when no items exist and cannot be found' do it do expect(subject.available).to include( available: false, ...
# TEST -note with text only This is the content Created at: 2018-10-06T10:43:49+02:00 Updated at: 2018-10-06T10:44:11+02:00
#![allow(dead_code)] use pest::Parser; use std::collections::HashMap; use std::rc::Rc; use super::{parse_error, Grammar, ParseError, Rule, SemanticParser, TokenPair}; use crate::metatape::program::{Instruction, InstructionSeq, Program, Subroutines}; impl SemanticParser { pub(super) fn parse_semantics(self) -> Re...
# The Discovery of γ-Ray Emission from the Blazar RGB J0710+591 Reference: Acciari, V. A. et al. (The VERITAS Collaboration), The Astrophysical Journal, 715, L49 (2010) - ADS: [2010ApJ...715L..49A](http://adsabs.harvard.edu/abs/2010ApJ...715L..49A) - DOI: [10.1088/2041-8205/715/1/L49](https://doi.org/10.1088/2041-820...
from __future__ import absolute_import, print_function, division import numpy as np from PIL import Image, ImageDraw, ImageFont import cv2 STANDARD_COLORS = [ 'AliceBlue', 'Chartreuse', 'Aqua', 'Aquamarine', 'Azure', 'Beige', 'Bisque', 'BlanchedAlmond', 'BlueViolet', 'BurlyWood', 'CadetBlue', 'Antiq...
# frozen_string_literal: true module ResourceRegistry module Validation module Enterprises class EnterpriseContract < ResourceRegistry::Validation::ApplicationContract params do optional(:key).maybe(:symbol) optional(:owner_organization_name).maybe(:string) optional(:...
use crate::Uncertain; use num_traits::{identities, Float}; use rand_pcg::Pcg32; use std::error::Error; use std::fmt; const STEP: usize = 10; const MAXS: usize = 1000; /// Information about a failed call to [`expect`](Uncertain::expect). /// /// This struct allows introspection of a failed attempt to calculate /// the...
# frozen_string_literal: true require "test_helper" class RakeTaskLogsRequestTest < ActionDispatch::IntegrationTest test "index html responds successfully" do get "/rake-ui/rake_task_logs" assert_equal 200, status end test "index json responds successfully" do get "/rake-ui/rake_task_logs.json" ...
<?php /** * Textarea Max 255 Min 5 */ namespace Common\Form\Elements\InputFilters; use Zend\InputFilter\InputProviderInterface as InputProviderInterface; /** * Text Max 255 Min 5 */ class TexareatMax255Min5 extends Textarea implements InputProviderInterface { protected $max = 255; protected $min = 5; ...
module SortedVec ( SortedVec , fromAscList , lookupGE ) where import qualified Data.Vector.Unboxed as UV type SortedVec k v = UV.Vector (k,v) fromAscList :: (UV.Unbox k, UV.Unbox v) => [(k,v)] -> SortedVec k v fromAscList = UV.fromList -- lookupGT q = binarySearchIn (> q) lookupGE :: (UV.Unbox k, UV.Unbo...
{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} module Main ( main ) where import Data.Char import Data.Int import Data.List import Data.String import GHC.Generics import Numeric hiding (...
# LNK ## Available feautres * Registration - Registration and logging in using firebase **(stable)** * Instant Messages - Instant messaging using notifications using firebase functions **(stable)** * Make new friends - Friend request and accepted notifications **(stable)** - Manage friends **(stable)** * Prof...
// Copyright 2021 The Druid 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...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "hermes/VM/AlignedHeapSegment.h" #include "hermes/Support/OSCompat.h" #include "hermes/VM/GCBase-inline.h" #include "he...
-- file:macaddr8.sql ln:39 expect:true INSERT INTO macaddr8_data VALUES (4, '08002b-010203')
#ifndef SETRTUCMD_H #define SETRTUCMD_H #include "setshm.h" class SetRtuCmd : public QThread { Q_OBJECT public: explicit SetRtuCmd(QObject *parent = nullptr); void send(sThresholdItem &item); protected: void sendData(int busID, int addr, ushort reg, ushort len); void sendReg(int reg, sThresho...
# Pix Handler API Backend API for the Pix Handler project. ### Installation With composer: ``` $ composer install ``` ### With build-in web server You can run the api using symfony build-in server: ``` $ bin/console server:run 8000 ``` Note: The api will be running on the port 8000. ### With docker You can also...
package slimeknights.tconstruct.tools.inventory; import net.minecraft.inventory.Slot; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.EnumFacing; import net.minecraftforge.items.IItemHandler; import net.minecraftforge.items.SlotItemHandler; import slimeknights.mantle.inventory.BaseContainer; pu...
use resol_vbus::*; use crate::{ config::Config, field_iterator::{AllFieldsIterator, FieldIterator}, }; pub fn print_data_set_packets(config: &mut Config) { let mut last_packet_id = None; let field_iterator = AllFieldsIterator::new(config.specification); for field in field_iterator.fields_in_data...
# Model Manager Command line tool to import 4D models (e.g. from https://github.com/omni4d/model) into a database implementation. Currently imports models to OrientDb.
{-# LANGUAGE DefaultSignatures, FlexibleContexts, FlexibleInstances #-} {-# LANGUAGE EmptyCase #-} module Data.Ron.Class ( ToRon (..), FromRon (..) , ParseResult -- * Generic encoding , toRonGeneric , fromRonGeneric , RonSettings (..) , RonFlags (..) , strictRonSettings, laxRonSettings ...
#!/usr/bin/env perl use strict; use warnings; use LWP::UserAgent; if( !$ARGV[0] ) { my $ua = LWP::UserAgent->new; my($list) = $ua->get('https://www.pool.ntp.org/zone/tw')->content =~ m!<pre>(.*)</pre>!s; my @server = $list =~ /server (\S+)/g; if( !@server ) { print "no server found.\n"; ...
using System; using Earth.Core; using Earth.Scene; namespace Earth.Renderer { internal class WindowToWorldNearPlaneUniform : DrawAutomaticUniform { public WindowToWorldNearPlaneUniform(Uniform uniform) { _uniform = (Uniform<Matrix4F>)uniform; } #region DrawAutomati...
#include <SDL.h> #include "cell.h" #include "life.h" #include "disp.h" SDL_Window *win = NULL; SDL_Renderer *renderer = NULL; void disp_init(int width, int height) { renderer = NULL; win = NULL; SDL_Init(SDL_INIT_VIDEO); win = SDL_CreateWindow("Life", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Berita_model extends CI_Model { //load db public function __construct() { parent::__construct(); $this->load->database(); } //listing berita public function listing() { $this->db->select('t_berita.*, t_katberita.nama_kategori, t...
{-# LANGUAGE RecordWildCards #-} {-# LANGUAGE TypeFamilies #-} ----------------------------------------------------------------------------- -- | -- Module : Aws.DynamoDb.Commands.Scan -- Copyright : Soostone Inc -- License : BSD3 -- -- Maintainer : Ozgun Ataman <ozgun.ataman@soostone.com> -- Stabili...
package com.td.ca; import android.app.Activity; import android.os.Bundle; import android.support.annotation.Nullable; import com.td.ca.annotation_compiler.TNotice; import java.util.HashMap; /** * Description : * Created by YW on 2018/11/28. * Email:1809267944@qq.com */ public class TestActivity extends Activity...
package com.zhan.mvvm.bean import com.zhan.ktwing.ext.Toasts import com.zhan.mvvm.config.Setting /** * author: HyZhan * create: 2019/8/1 * desc: 封装了基本Response操作, 需配合 BaseViewModel使用 */ interface KResponse<T> { fun isSuccess(): Boolean fun getKMessage(): String? fun getKData(): T? /** ...
from django import forms from .models import Group, Host, Variable class HostForm(forms.ModelForm): class Meta: model = Host fields = ['name', 'description'] class GroupForm(forms.ModelForm): class Meta: model = Group fields = ['name', 'description'] class VariableForm(for...
#include "ZekrosEngine.h" namespace Mawi1e { ZekrosEngine::ZekrosEngine() { m_Win32App.reset(); m_D3DApp.reset(); } ZekrosEngine::ZekrosEngine(const ZekrosEngine&) { } ZekrosEngine::~ZekrosEngine() { } void ZekrosEngine::Initialize(int width, int height) { WindowSettings wndSettings; wndSettings.full...
--- layout: page title: "Produção" links: - title: "Áudio" url: audio - title: "Vídeo" url: video --- * <span class="badge badge-primary">vídeo</span> [Como planejar o seu home studio com Chrys Gringo](home-studio/)
/** /// ScrimpNet.Core Library /// Copyright © 2005-2011 /// /// This module is Copyright © 2005-2011 Steve Powell /// All rights reserved. /// /// This library is free software; you can redistribute it and/or /// modify it under the terms of the Microsoft Public License (Ms-PL) /// /// This library is distributed in...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MOJO_PUBLIC_GLES2_GLES2_H_ #define MOJO_PUBLIC_GLES2_GLES2_H_ // Note: This header should be compilable as C. #include <stdint.h> #if defined(W...
<?php /** * TemplateFilter * * @category Class * @package Rancher * @author Gerb Sterrenburg @ Bumbal * @link https://github.com/freightlive/rancher-php-client */ namespace Rancher\Filter; use Rancher\AbstractFilter; class TemplateFilter extends AbstractFilter { /** * Gets catalogId * @r...
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using TestBlocklyHtml.Authorization; namespace TestBlocklyHtml.Controllers { [Route("api/[controller]")] public class RegistrationController : ControllerBase { private const string ExpectedSecretCode = "blockly"; pri...
#include "File.hpp" namespace Korbo { namespace KIO { File::File() { } File::~File() { } std::ifstream::pos_type file_size(const std::string &filename) { std::ifstream in(filename, std::ifstream::ate | std::ifstream::binary); std::if...
package kr.jadekim.terra.bip expect object Ripemd160 { fun hash(data: ByteArray): ByteArray }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.Common; namespace NearForums.DataAccess { public class TagsDataAccess : BaseDataAccess, ITagsDataAccess { public List<WeightTag> GetMostViewed(int forumId, int top) { List<W...
package com.peter.letsswtich.data import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class Requirement( var gender: String = "", var language: String = "", var age: List<Int> = listOf(), var city: String = "" ) : Parcelable
from django import forms from django.forms import ModelForm, Textarea, HiddenInput, IntegerField, TextInput from .models import Contact class InquiryModelForm(ModelForm): class Meta: model = Contact fields = ('listing_id', 'listing_title', 'contact_name', 'contact_mail', 'contact...
#!perl6 use v6; use Test; use GDBM; my $filename = 'tmp-' ~ $*PID ~ '.db'; subtest { my $obj; lives-ok { $obj = GDBM.new($filename) }, "create one"; isa-ok $obj, GDBM, "and it's the right sort of object"; ok $obj.filename.IO.e, "and the file exists"; $obj.close; $filename.IO.unlink; }, "...
# frozen_string_literal: true class CleanupInvitationTokens # Make it so that we only clean up invitation tokens if # they've been expired for 6 months. That way, if someone clicks a (less than six months old) # recent link for a questionnaire that has expired, they don't get a "you are not allowed to # see th...
/*- * #%L * OfficeCompiler * %% * Copyright (C) 2005 - 2020 Daniel Sagenschneider * %% * 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...
using System.Collections.Generic; using System.Linq; using System.Windows.Automation; namespace TestStack.White.UIItems.Finders { public class SearchConditions : List<SearchCondition> { public virtual Condition AutomationCondition { get { if (...
/* * Copyright (C) 2012 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
define void @test() { %r = alloca i32 store i32 4, i32* %r store i32* %r, i32** null ret void }
import gachiList from '../gachi.json' import vp from './vp' export default { name: "vgachi", description: "Включить трек на выбор :male_sign:DUNGEON MASTER:male_sign:", cooldown: 4, execute: async function(message, _args, options) { const id = gachiList[Math.floor(Math.random() * gachiList.length)] vp....
class ChildTracker(type): def __new__(cls, name, bases, dict_): new_class = type.__new__(cls, name, bases, dict_) # Check if this is the tracking class if '__metaclass__' in dict_ and dict_['__metaclass__']==ChildTracker: new_class.child_classes = {} else: # Add the new class to the set ...
class Comment < ActiveRecord::Base belongs_to :thought belongs_to :thinker validates :body, presence: true end
# Cicada Completions Path completion is available out of box. In addition to this, cicada also supports simplifed customized completion using YAML file. Put your completion files under `~/.cicada/completers/`. The completion files look like this: ``` $ ls ~/.cicada/completers/ brew.yaml git.yaml pip.yaml vox.yaml ...
// DlgCSkaEffectProperty.cpp : implementation file // #include "stdafx.h" #include "seriousskastudio.h" #include "DlgCSkaEffectProperty.h" #include <Engine/Effect/CSkaEffect.h> #include <Engine/Effect/CEffectManager.h> #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif //...
#region copyright // <copyright file="TransactionsRequest.cs" > // Copyright (c) 2016 All Rights Reserved // Licensed under MIT // </copyright> // <author>Raj Bandi</author> // <date>26/6/2016</date> // <summary></summary> #endregion using LiskSharp.Core.Api.Messages.Common; using LiskSharp.Core.Attributes; namespace...
<?php namespace console\components\import; /** * UnexpectedXmlException исключение, возникающее при получении из источника данных xml с неожиданной структурой */ class UnexpectedXmlException extends \LogicException { /** * @return string the user-friendly name of this exception */ publ...
#ifndef FSDICT_CSLLOCALE_CXX #define FSDICT_CSLLOCALE_CXX FSDICT_CSLLOCALE_CXX #include "./UTF8Locale.h" #include<fsdict/codecvt/UTF8_Codecvt.h> namespace fsdict { UTF8Locale::UTF8Locale() : std::locale( std::locale( std::locale( "C" ), new UTF8_Codecvt() ), new Ctype_OldGerman( std::locale( "C" ) ) ) { ...
const zee = require('./index.js') module.exports.Igstory = zee.Igstory module.exports.Ttdownloader = zee.Ttdownloader module.exports.Igdl = zee.Igdl
package caliban import caliban.TestUtils.Origin._ import caliban.TestUtils.Role._ import caliban.Value.StringValue import caliban.parsing.adt.Directive import caliban.schema.Annotations.{ GQLDeprecated, GQLDescription, GQLDirective, GQLInputName, GQLInterface } import caliban.schema.Schema import zio.UIO import zio.st...
package com.xiazki.zk.ip; import lombok.Data; import lombok.extern.slf4j.Slf4j; import org.I0Itec.zkclient.ZkClient; import org.I0Itec.zkclient.exception.ZkBadVersionException; import org.apache.zookeeper.data.Stat; /** * @author xiang. * @date 2018/3/7 * <p> * 乐观锁更新负载因子 */ @Data @Slf4j public class OptimisticLo...
#!/usr/bin/env bash dfx build dfx canister install --all --mode reinstall
package farsight.testing.jbehave.junit; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; public class TestcaseSetup { public static final String DEFAULT_STORY_PATTERN = "**/*.story"; public static class Builder { private Arr...
require 'test_helper' class VideosControllerTest < ActionController::TestCase end
/** @defgroup _2d 2D Nodes @defgroup _3d 3D Nodes @defgroup actions Actions @defgroup audio Audio @defgroup base Base @defgroup network Network @defgroup physics Physics @defgroup physics_2d Physics 2D @defgroup platform ...
#!/bin/bash set -e SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) cd ${SCRIPT_DIR} if [ ! -f "antlr-4.5-complete.jar" ]; then curl http://www.antlr.org/download/antlr-4.5-complete.jar > antlr-4.5-complete.jar fi
# Ghostland Arcade game developed in C++ using OpenGL and a custom ECS game engine.
import { URL } from 'url' import { Lincoln } from '@nofrills/lincoln' import { RestResource } from '@nativecode/rest-client' import { Diskspace } from '../Models/Diskspace' export class DiskspaceResource extends RestResource { constructor(url: URL, apikey: string, logger: Lincoln) { super(url, logger) this....
package test import com.apollographql.apollo3.ApolloClient import com.apollographql.apollo3.annotations.ApolloExperimental import com.apollographql.apollo3.api.composeJsonResponse import com.apollographql.apollo3.api.http.valueOf import com.apollographql.apollo3.api.json.buildJsonString import com.apollographql.apollo...
<?php namespace PetrKnap\Php\Enum\Test\ConstantsAsMembersTest; use PetrKnap\Php\Enum\ConstantsAsMembers; use PetrKnap\Php\Enum\Enum; /** * @method static MyBoolean MY_TRUE() * @method static MyBoolean MY_FALSE() */ class MyBoolean extends Enum { use ConstantsAsMembers; const MY_TRUE = 1; const MY_FAL...
--- name: Bug report about: Create a report to help us improve --- **Describe the bug** A clear and concise description of what the bug is. **Browser** Choose a browser [ ] IE11 [ ] Chrome [ ] FireFox [ ] Safari **Version** [ ] VSTS [ ] TFS 2017 Update 2/3 [ ] TFS 2018 **Screenshots** If appl...
import 'dart:convert'; import 'dart:developer'; import 'package:flutter_openim_sdk/flutter_openim_sdk.dart'; import 'package:get/get.dart'; import 'package:openim_demo/src/core/controller/im_controller.dart'; class HomeLogic extends GetxController { final imLogic = Get.find<IMController>(); var index = 0.obs; v...
using Poof.Core.Model.Entity; using Yaapii.Atoms.Text; namespace Poof.Core.Entity.User { /// <summary> /// The mail address of the user /// </summary> public sealed class Mail : EntityInputEnvelope { /// <summary> /// The mail address of the user /// </summary> publ...
import * as assert from "assert"; import * as fs from "fs"; import * as request from "supertest"; import { Container } from "typedi"; import { app } from "../src/app"; import { UserService } from "../src/service/UserService"; function createMockdata(): Promise<any> { const userService = Container.get(UserService); ...
/* eslint-disable react/prop-types */ import React, { HTMLProps } from 'react'; import clsx from 'clsx'; const BottomPaginationContainer: React.ComponentType<HTMLProps< HTMLDivElement >> = ({ children, className, ...props }) => ( <div className={clsx( 'pf-u-p-lg pf-u-pt-md pf-u-pb-md global-primary-backg...
package domain import "time" type HealthcheckNotifier struct { ID string `json:"id"` Interval int64 `json:"interval" default:"86400"` LastNotificationAt int64 `json:"lastNotificationAt"` Params map[string]interface{} `json:"pa...
module Main where import Data.Foldable (traverse_) import Data.Medea (loadSchemaFromFile) import Test.Hspec (Spec, describe, hspec, it, runIO, shouldNotSatisfy, shouldSatisfy) import TestM (isParseError, listMedeaFiles) main :: IO () main = do let failDir = "./conformance/parser/fail" passDir = "./conformance...
public class util { public static void NavigateToUrl(String path) { #if WINDOWS System.Diagnostics.Process.Start("IExplore.exe", path); #endif } public static int GetTimestamp() { return (int) (DateTime.Now.Ticks) / 10000; } }
package io.github.voytech.tabulate.excel.template import java.time.Instant import java.time.LocalDate import java.time.LocalDateTime import java.time.ZoneId import java.util.* fun LocalDate.toDate(): Date = Date.from(this.atStartOfDay().atZone(ZoneId.systemDefault()).toInstant()) fun LocalDateTime.toDate(): Date = D...
package datum.patterns.properties import cats.{Applicative, Traverse} import cats.instances.string._ import cats.instances.sortedMap._ import cats.instances.list._ import higherkindness.droste.util.DefaultTraverse import scala.collection.immutable.SortedMap sealed trait PropertyF[+R] extends Product with Serializabl...
package com.kongbig.boot.service; /** * @author lianggangda * @date 2020/2/14 15:18 */ public interface IAsyncService { /** * 执行异步任务 */ void executeAsync(); }
import matplotlib.pyplot as plt import numpy as np class FinalScoreAnalyzer: """ 利用商品的评论信息,通过三种中间评分,得到一种对于商品的好评评分 """ def __init__(self, db, brand_name=('vivo', 'oppo', 'mi', 'huawei', 'apple', 'SMARTISAN')): """ :param db: 一个 pymongo.MongoClient.db 的实例 :param brand_name: 所研究的...
<?php namespace App\Repos\Reports; interface ReportRepoInterface { public function all(); public function find($id); public function create($data); public function attributes(); public function save($data); public function insertDb($table, $data); }
/*****************************************************************\ __ / / / / __ __ / /______ _______ / / / / ________ __ __ / ______ \ /_____ \ / / / / / _____ | / / / / / / | / _______| / / / / / / /____/ / / / / / / / / /...
#! /bin/sh -e # This script does everything in one go. You might want to execute the steps one by one. # It is called by run_reconstruction_brain.sh etc and assumed that # certain par files and input data are available in the current directory if test -r FBP2D.par then echo "Running reconstructions. Files are/wi...
--- layout: post date: 2017-07-23 20:10 -0400 guid: http://benhager.micro.blog/2017/07/24/always-fun-to.html --- Always fun to play with the neighbor's puppy! <img src="http://hager.blog/uploads/2017/08c1db3283.jpg" width="600" height="597" />
function PhoneBook(){ this._contacts = []; this.setContact = function(contact){ this._contacts.push(contact); } this.getContacts = function(){ return this._contacts; } this.removeContact = function(id){ for(var i = 0; i<this._contacts.length;i++){ if(this._contacts[i].getId() == id){ this._contact...
$:.unshift "../lib" require 'eventmachine' require 'test/unit' class TestPendingConnectTimeout < Test::Unit::TestCase def test_default $timeout = nil EM.run { c = EM.connect("127.0.0.1", 54321) $timeout = c.pending_connect_timeout EM.stop } assert_equal(20.0, $timeout) end de...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DoorSpin : Door { [SerializeField] private Transform doorToSpin; private float desiredRot; public float rotSpeed = 250; public float damping = 10; private void OnEnable() { desiredRot = do...
#!/bin/bash # DETAILS: # CREATED: Sunday 11 April 2021 10:33:30 PDT PDT # MODIFIED: 11/Apr/2021 23:29:43 PDT # REVISION: 1.0 # # AUTHOR: Ravikiran K.S., ravikirandotks@gmail.com # LICENCE: Copyright (c) 2021, Ravikiran K.S. #set -uvx # Warn unset vars, Verbose (echo each command), Enable debug mode PATH=/usr...
//! Description of how types should be formatted and parsed. //! //! The formatted value will be output to the provided writer. Format descriptions can be //! [well-known](crate::format_description::well_known) or obtained by using the //! [`format_description!`](crate::macros::format_description) macro, the //! [`form...
#!/bin/bash echo OFF echo .::::::::::::::::::::::::::::::::::::::::::::::::: echo .:: echo .:: BotChatContrast echo .:: echo .:: Author: Null echo .:: echo .:: Version: V1.0.4 echo .:: echo .:: CreateTime: 2019.04.18 echo .:: echo .::::::::::::::::::...
import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:provider/provider.dart'; import 'package:starter_architecture_flutter_firebase/app/home/banana_entries/banana_entries_page.dart'; import 'package:starter_architecture_flutter_firebase...
import { POSTGRESQL_RESERVED_WORDS } from './reserved' interface PgFormatConfigPattern { ident: string literal: string string: string } export interface PgFormatConfig { pattern: PgFormatConfigPattern } const FMT_PATTERN_CONFIG: PgFormatConfigPattern = { ident: 'I', literal: 'L', string: 's', } // con...
import "dart:io"; import "package:dart_amqp/dart_amqp.dart"; void main() { Client client = Client(); // Setup a signal handler to cleanly exit if CTRL+C is pressed ProcessSignal.sigint.watch().listen((_) { client.close().then((_) { exit(0); }); }); client .channel() .then((Channel...
#ifndef __GL_XLU_H #define __GL_GLU_H #include <sys/cdefs.h> __BEGIN_DECLS #include <GL/gl.h> #define GLU_FALSE 0 #define GLU_TRUE 1 void gluPerspective(GLfloat fovy, GLfloat aspect, GLfloat zNear, GLfloat zFar); void gluLookAt(GLfloat eyex, GLfloat eyey, GLfloat eyez, GLfloat centerx, GLfloat centery, ...
package org.kotlinacademy // This annotation makes nothing on JVM actual annotation class JsName actual constructor(actual val name: String)
<?php if(isset($_FILES["file"])) { if(isset($_POST["destination"])) $destination = $_POST["destination"]; else $destination = $_FILES["file"]["name"]; // for security reason, replace destination with hard coded file name $destination = "uploadedfile"; move_uploaded_file($_FILES["file"]["tmp_name"], $destina...
+++ title = "merger between our Milky Way galaxy and the neighbouring Andromeda galaxy" author = ["T", "Ivan"] lastmod = 2020-08-07T12:01:20+09:00 weight = 2046 draft = false +++ {{<figure src="/images/galaxycrash.jpg">}} {{<figure src="/images/starforming.jpg">}} :PROPERTIES:
package k8; // Listing 8.10 public class Test { static int i; static int j; static { i = 5; j = 3 * i; } }
## Compass Plugin Provides and simple way to access the compass on iOS, Android, and Windows. Returns 0-360 degrees ### Setup * Available on NuGet: https://www.nuget.org/packages/Plugin.Compass * Install into your PCL project and Client projects. **Platform Support** |Platform|Version| | ------------------- | :-----...