text stringlengths 27 775k |
|---|
require 'inch/utils/ui'
module Inch
module CLI
# Adds a method called +ui+, that can be used to output messages to the
# user.
module TraceHelper
def ui
@ui ||= Inch::Utils::UI.new
end
end
end
end
|
package smoke.clients
import batchZipCreation.Exposure
import org.http4k.client.JavaHttpClient
import org.http4k.core.Method
import org.http4k.core.Request
import org.http4k.core.Status
import org.slf4j.LoggerFactory
import smoke.env.EnvConfig
import uk.nhs.nhsx.BatchExport
import java.time.Instant
import java.time.Lo... |
<?php
namespace FondOfOryx\Glue\ErpInvoicePageSearchRestApi\Model\Mapper;
use Codeception\Test\Unit;
use Generated\Shared\Transfer\RestErpInvoicePageSearchCollectionResponseTransfer;
class ErpInvoiceMapperTest extends Unit
{
/**
* @var \FondOfOryx\Glue\ErpInvoicePageSearchRestApi\Model\Mapper\ErpInvoiceMapp... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
package com.ismailhakkiaydin.football.util
import android.net.Uri
import android.widget.ImageView
import androidx.databinding.BindingAdapter
import com.bumptech.glide.Glide
import com.github.twocoffeesoneteam.glidetovectoryou.GlideToVectorYou
@BindingAdapter("android:imageUrl")
fun loadImage(imageView: ImageView, url... |
<?php
namespace Acelaya\Files;
/**
* Interface FilesServiceInterface
* @author Alejandro Celaya Alastrué
* @link http://www.wonnova.com
*/
interface FilesServiceInterface
{
const CODE_SUCCESS = 'success';
const CODE_ERROR = 'error';
/**
* @return \SplFileInfo[]
*/
public function getFile... |
package com.frogobox.kickstart.mvvm.main
import android.content.Intent
import android.os.Bundle
import android.view.View
import com.bumptech.glide.Glide
import com.frogobox.kickstart.R
import com.frogobox.kickstart.base.view.ui.BaseActivity
import com.frogobox.kickstart.databinding.ActivityMainBinding
import com.frogo... |
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
/*
Rubber Band Library
An audio time-stretching and pitch-shifting library.
Copyright 2007-2021 Particular Programs Ltd.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU... |
package com.toggl.komposable.sample.todo
import androidx.compose.runtime.Composable
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController
import com.toggl.komposable.sample.todo.edit.EditPage
import com.toggl.komposable.sample.... |
# SQLZoo
网址:[https://sqlzoo.net/wiki/SQL\_Tutorial](https://sqlzoo.net/wiki/SQL_Tutorial)
|
package com.semicolon.data.remote.datasource
import com.semicolon.data.remote.response.ranks.FetchMySchoolRankResponse
import com.semicolon.data.remote.response.ranks.OurSchoolUserRankResponse
import com.semicolon.data.remote.response.ranks.inquiryRank.school.SchoolRankAndSearchResponse
import com.semicolon.data.remot... |
package types
import "reflect"
const (
quoteFlag = 1 << iota
arrayFlag
subArrayFlag
)
func hasFlag(flags, flag int) bool {
return flags&flag == flag
}
func shouldQuoteArray(flags int) bool {
return hasFlag(flags, quoteFlag) && !hasFlag(flags, subArrayFlag)
}
func nilable(v reflect.Value) bool {
switch v.Kind... |
package com.galaxydl.rSystem.persistence;
import com.galaxydl.rSystem.servlet.ServletPath;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.io.*;
import java.nio.channels.FileChannel;
import java.nio.charset.StandardCharsets;
import java.util.Scanner;
/**
* IFileHandle... |
package com.chapter14;
/**
* Created by Administrator on 2018-4-9.
*/
public class Bounce {
}
|
module.exports = {
inputs: {
record: {
type: 'ref',
required: true,
},
board: {
type: 'ref',
required: true,
},
request: {
type: 'ref',
},
},
async fn(inputs) {
const task = await Task.archiveOne(inputs.record.id);
if (task) {
sails.sockets.bro... |
/**
* Copyright (c) 2016-present, Facebook, 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 ... |
class String
Ofac_SoundexChars = 'BPFVCSKGJQXZDTLMNR'
Ofac_SoundexNums = '111122222222334556'
Ofac_SoundexCharsEx = '^' + Ofac_SoundexChars
Ofac_SoundexCharsDel = '^A-Z'
# desc: http://en.wikipedia.org/wiki/Soundex
def ofac_soundex(census = true)
str = upcase.delete(Ofac_SoundexCharsDel).squeeze
... |
import BigNumberJS from "bignumber.js";
import defaultContracts from "config/contracts";
import ReactGA from "react-ga";
import dayjs from "dayjs";
import { BurnAddress } from "config/constants";
import { Pool, pools } from "config/pools";
import { BigNumber, constants, utils } from "ethers";
import { useMasterChef, u... |
package org.btelman.controlsdk.streaming.utils
import android.content.Context
import android.os.Build
import org.btelman.controlsdk.streaming.utils.v16.Camera1Util
import org.btelman.controlsdk.streaming.utils.v24.Camera2Util
import java.util.*
/**
* Created by Brendon on 2/27/2020.
*/
object CameraUtil{
fun ge... |
require "delegate"
module Redhead
class String < SimpleDelegator
attr_reader :headers, :string
class << self
alias_method :[], :new
end
# Checks if the input string has header lines at the start of its content,
# and returns true or false depending on the value.
def self.has_headers?(... |
'use strict';
angular.module('mtApp')
.controller('ActionController', function ($scope, Action, Campaign) {
$scope.actions = [];
$scope.campaigns = Campaign.query();
$scope.loadAll = function() {
Action.query(function(result) {
$scope.actions = result;
... |
// Copyright (c) Nuralogix. All rights reserved. Licensed under the MIT license.
// See LICENSE.txt in the project root for license information.
#include "dfx/api/websocket/UserWebSocket.hpp"
#include "dfx/api/validator/CloudValidator.hpp"
#include "dfx/api/websocket/CloudWebSocket.hpp"
#include "dfx/proto/organizati... |
document.addEventListener('DOMContentLoaded', function() {
var app = new Vue({
el: '#app',
data: function () {
return {
requestStatus: "not started",
requestUrl: "/api/sample.json",
responseCode: "",
responseData: "",
appType: ""
}
},
mounted: functi... |
import { StyleSheet, Dimensions } from "react-native";
const { width, height } = Dimensions.get('window');
const globalStyles = StyleSheet.create({
safeAreaContainer: {
display: "flex",
flex: 1
},
screenContainer: {
display: "flex",
flex: 1,
paddingTop: 10,
paddingLeft: 10,
paddingRig... |
package admin
import (
"github.com/google/wire"
)
var All = wire.NewSet(
NewController,
NewRouter,
)
|
/*
*
* Comments actions
*
*/
import * as types from './constants';
export const loadCommentRequest = payload => ({
type: types.LOAD_COMMENT_REQUEST,
payload,
});
export const loadCommentSuccess = payload => ({
type: types.LOAD_COMMENT_SUCCESS,
payload,
});
export const loadCommentFailure = payload => ({
... |
from contextlib import contextmanager
from contextvars import ContextVar
class DebugMode(int):
"""A bool-like object that represents the debug mode.
Over time it will have sub-flags like debug.http_tracing,
debug.save_intermediate_load_files etc."""
def __repr__(self):
return f"<Debug mode: ... |
module Jekyll
module ReleasesizeFilter
ReleasePath = File.join(File.dirname(__FILE__), '..', '..', 'releases')
def releasesize(input)
File.size(File.join(ReleasePath, "PeerCastStation-#{input}.zip")).to_s
end
end
end
Liquid::Template.register_filter(Jekyll::ReleasesizeFilter)
|
package gogs
type WebauthnContainer struct {
WebauthnData string `json:"webauthn_data"`
}
func (c *Client) IsWebauthnEnabled() (*bool, error) {
var enabled bool
return &enabled, c.getParsedResponse("GET", "/webauthn/isenabled", nil, nil, &enabled)
}
|
<?php
/**
* Author: Amir Hossein Jahani | iAmir.net
* Last modified: 9/19/20, 8:18 PM
* Copyright (c) 2020. Powered by iamir.net
*/
namespace iLaravel\iLocation\iApp;
use iLaravel\Core\iApp\Http\Requests\iLaravel as Request;
class Location extends \iLaravel\Core\iApp\Model
{
use \iLaravel\Core\iApp\Methods... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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/LICENS... |
---
Title: Bekanntmachung über den Schutz deutscher Warenbezeichnungen in Kolumbien
jurabk: WZCOLBek
layout: default
origslug: wzcolbek
slug: wzcolbek
---
# Bekanntmachung über den Schutz deutscher Warenbezeichnungen in Kolumbien (WZCOLBek)
Ausfertigungsdatum
: 1925-08-03
Fundstelle
: RGBl II: 1925, 738
## (... |
---
title: History type
description: History type
---
# History type
API path: `/history/type`.
### list
Returns available history types with localized descriptions.
#### parameters
* **locale** – locale code
* **only_tracker_events** – boolean (optional). Default - true.
#### response
`... |
import React from 'react'
import { DatePicker } from '@alicloud/console-components'
const Demo4 = () => (
<div>
<DatePicker size="large" />
<DatePicker />
<DatePicker size="small" />
</div>
)
export default Demo4 |
#!/usr/bin/env ruby
def colorized(str, color)
return str if !(ENV['TERM'] || '')["xterm"]
color_code = {
white: 29,
bold: '29;1',
black: 30,
red: 31,
green: 32,
yellow: 33,
blue: 34,
magenta: 35,
cyan: 36,
gray: 37
}[color]
... |
# AlleleFinder
Allele finding has been simplified in the most recent update!
Simply use `allele_updater.py`, and provide it with the `-p`
(path) argument. Within the supplied path, you must have two
folders: `query`, with genome files to profile, and `alleles`,
with one or more allele files to profile. The allele ... |
package main
import (
"fmt"
"net/http"
"os"
)
func emptyProxy(name string) {
proxy := os.Getenv(name)
if len(proxy) > 0 {
os.Setenv(name, "")
}
} //
var name string = "-1"
var tag string = "-1"
func main() {
switch len(os.Args) {
case 2:
name = os.Args[1]
case 3:
name = os.Args[1]
tag = os... |
module Foster.Utils where
import Control.Monad
import System.IO (stdout, hFlush)
import System.IO.Strict (readFile)
import Prelude hiding (readFile)
getFileLines :: FilePath -> IO [String]
getFileLines path = liftM lines (readFile path)
splitOn :: (a -> Bool) -> [a] -> [[a]]
splitOn _ [] = []
splitOn c ls =
let... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2014-18 Richard Hull and contributors
# See LICENSE.rst for details.
# PYTHON_ARGCOMPLETE_OK
"""
Showcase viewport and hotspot functionality.
Loosely based on poster_demo by @bjerrep
https://github.com/bjerrep/ssd1306/blob/master/examples/poster_demo.py
N... |
package com.anangkur.budgetku.auth.mapper
import com.anangkur.budgetku.auth.model.UserIntent
import com.anangkur.budgetku.mapper.Mapper
import com.anangkur.budgetku.presentation.model.auth.UserView
class UserMapper: Mapper<UserIntent, UserView> {
companion object{
private var INSTANCE: UserMapper? = null... |
namespace RegexMapper
{
using System;
public class FluentConfig
{
private readonly RegexMapConfiguration config;
public FluentConfig()
{
this.config = new RegexMapConfiguration();
}
public FluentConfig Trim()
{
this.config.GlobalStr... |
<?php
namespace Kraken\Runtime\Supervision;
use Kraken\Supervision\SupervisorInterface;
interface SupervisorBaseInterface extends SupervisorInterface
{}
|
module Week07.ScrabbleSpec where
import Week07.JoinList
import Week07.Scrabble
import Test.Hspec
spec :: Spec
spec =
describe "Scrabble" $ do
describe "exercise 3: scrabble" $ do
it "scoreLine" $ do
let jl = scoreLine "yay " +++ scoreLine "haskell!"
in jl `shouldBe` Append (Score 23)
... |
pub mod chip8;
pub mod display_state;
pub mod instruction;
pub mod ram;
pub mod registers;
|
# Seize the Chains
Seize the Chains Disc Golf App Project
## Synopsis
This project is the mobile app for the Seize the Chains disc golf platform
created by Greg Marine.
## Motivation
The idea behind Seize the Chains is the equip all disc golfers with the tools
they need to succeed at this great sport - To enable e... |
package ru.igla.tfprofiler.media_track
import android.app.Application
import ru.igla.tfprofiler.core.domain.Device
import ru.igla.tfprofiler.core.ModelType
import ru.igla.tfprofiler.core.UseCase
import ru.igla.tfprofiler.models_list.DelegateRunRequest
import ru.igla.tfprofiler.models_list.domain.ModelEntity
import ru.... |
#!/bin/sh
test -f /usr/share/acpi-support/state-funcs || exit 0
# Find and toggle wireless of bluetooth devices on ThinkPads
. /usr/share/acpi-support/state-funcs
rfkill list | sed -n -e'/tpacpi_bluetooth_sw/,/^[0-9]/p' | grep -q 'Soft blocked: yes'
bluetooth_state=$?
# Note that this always alters the state of th... |
#include "stdafx.h"
#include "ServerOperationExecutor.h"
#include "ServerWideOperation.h"
namespace ravendb::client::serverwide::operations
{
ServerOperationExecutor::ServerOperationExecutor(std::shared_ptr<documents::DocumentStore> store)
: _request_executor(store->get_conventions()->is_disable_topology_updates()... |
INITDS MACRO
MOV AX,@DATA ;Initialization of data segment
MOV DS,AX (to access data)
ENDM
INIT8255 MACRO
MOV AL,CW ;Initialization of 8255 using control word
MOV DX,CR by passing 82h to control reg.
OUT DX,AL (to make port A as output)
ENDM
OUTPA MACRO ; one is enough
MOV DX,PA
OUT DX,AL
ENDM
EXIT MACRO
MOV AH,4CH ;T... |
package de.felixbruns.jotify.gui.swing.panels;
import java.awt.Color;
import java.awt.GradientPaint;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.RenderingHints;
import java.net.URL;
import javax.swing.ImageIcon;
import javax.swing.JPanel;
im... |
#!/bin/sh
[ -z "$1" ] && echo "Need to specify version" && exit 1
docker build -t "concourse-gradle-uploadarchives:$1" .
docker tag "concourse-gradle-uploadarchives:$1" "overminddl1/concourse-gradle-uploadarchives:$1"
docker push overminddl1/concourse-gradle-uploadarchives:$1
|
#!/bin/bash
# If all changes are dates, reset the changes.
all=$(git diff -U0 | grep "^+ " | wc -l)
dates=$(git diff -U0 | grep "^+.*Date:" | wc -l)
if [ "$all" = "$dates" ]; then
echo "No changes"
git reset --hard
fi
|
import 'dart:io';
import 'package:evac_app/export/cryptography/rsa_implementation.dart';
class EncodeFiles {
Future<String> encodeRSA(
{required String filePath, required pubKeyString}) async {
final publicKey = RSAimplement.rsaPublicKeyFromPem(pubKeyString);
var file = File(filePath);
String ne... |
{-# LANGUAGE TemplateHaskell #-}
import Control.Monad
import Data.Default
import Control.Concurrent(threadDelay)
import Control.Monad.Trans.Free
import Control.Monad.Trans.State
import Control.Lens hiding (Level)
import System.IO
import qualified Data.Map as M
import Types
import Game as G
import Random
import Textlu... |
package com.owis.PL.web;
import com.owis.PL.Data.entity.Answer;
import com.owis.PL.Data.repository.AnswerRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.sprin... |
import os
import sys
import socket
import asyncio
import unittest
from base64 import b64decode
from functools import wraps
import examples
from pulsar import SERVER_SOFTWARE
from pulsar.api import send, HttpConnectionError
from pulsar.utils.path import Path
from pulsar.utils.system import platform
from pulsar.apps.ht... |
import 'package:flutter/material.dart';
// ignore: must_be_immutable
class ConnectButton extends StatelessWidget {
final String? title;
final Color titleColor;
final Color pressedTitleColor;
final Color borderColor;
final double borderWidth;
final Color backgroundColor;
final Color pressedBackgroundColor... |
import 'package:flutter/material.dart';
import 'package:fun_flutter/global/fun_webview.dart';
import 'package:fun_flutter/global/base_page.dart';
import 'package:fun_flutter/reponse/nav_model.dart';
import 'package:fun_flutter/utils/app_route.dart';
import 'package:fun_flutter/widget/structure/nav_logic.dart';
import '... |
using System;
using System.Windows.Forms;
using EmployeesManagementSystem.Data;
using EmployeesManagementSystem.Models;
namespace EmployeesManagementSystem
{
public partial class CreateDepartment : Form
{
private Departments departments;
private DepartmentContext departmentContext = new Depart... |
#!/bin/sh
set -e
set -x
chmod +s /var/lib/X11/X
zypper --non-interactive install ${ARANDR:-arandr} ${XRDP:-xrdp}
|
# Meerkat
Meerkat是一个PYPI私有仓库实现,用于托管Python第三方依赖包。
## 使用
Python提供了众多依赖管理的工具,其中最著名的是[PIP](https://pip.pypa.io/en/stable/),
也可以查看[PIP 教程](http://confluence.newegg.org/display/DFIS/PIP)
|
import 'package:flutter/widgets.dart';
import 'package:twitter_clone/views/pages/login_page.dart';
import 'package:twitter_clone/views/pages/new_tweet_page.dart';
import 'package:twitter_clone/views/pages/reply_page.dart';
import 'package:twitter_clone/views/pages/selected_tweet_page.dart';
import 'pages/home_page.dar... |
# LTree
## Author
K Shrinidhi Bhagavath (AKA Ganzaki) and
Jha Prince
## Abstract
Included in Abstract.pdf file
## To download
Use following git command to download
```bash
git clone https://gitlab.com/Ganzaki/ltree.git
```
## How to use
copy both LTree.cpp and ltree file to required folder.
To use LTree in you... |
package therealfarfetchd.quacklib.api.block.init
import net.minecraft.block.SoundType
import net.minecraft.block.material.Material
import net.minecraft.util.ResourceLocation
import therealfarfetchd.quacklib.api.block.component.BlockComponent
import therealfarfetchd.quacklib.api.core.Describable
import therealfarfetchd... |
def is_prime?(num)
return false if num < 2
(2...num).each do |factor|
return false if num % factor == 0
end
true
end
def primes(num)
count = 1
result = 2
while count < num
result += 1
count += 1 if is_prime?(result)
end
result
end
def nth_prime(num)
primes(num)
end
# y <<
def prime... |
#pragma once
#include <rapidxml.hpp>
#include <string>
// Image class for sheet
class Image {
public:
Image(std::string filename, std::string name, size_t tx, size_t ty, size_t tw, size_t th, size_t r);
~Image();
size_t getTx();
size_t getTy();
size_t getTw();
size_t getTh();
size_t getR();
std::string getFi... |
(ns day-20.core-test
(:require
[clojure.test :refer :all]
[day-20.core :refer :all]))
(deftest part-1-test
(testing "part 1"
(is (= 0 (part-1)))))
(deftest part-2-test
(testing "part 2"
(is (= 0 (part-2)))))
|
package evanq.game.cardgame;
/**
*
* 任务执行步骤的内容
*
* @author Evan cppmain@gmail.com
*
*/
public class QuestTargetTemplate {
private int id;
private String description;
/**
* 任务目标 @see {@link QuestTarget}
*/
private int questTarget;
private int npcID;
private int talkNum;
private int goal... |
using HarmonyLib;
using HttpSiraStatus.Installer;
using IPA;
using SiraUtil.Zenject;
using System.Reflection;
using UnityEngine;
using IPALogger = IPA.Logging.Logger;
namespace HttpSiraStatus
{
[Plugin(RuntimeOptions.DynamicInit)]
internal class Plugin
{
/// <summary>
/// Populated by MSBui... |
// Copyright Materialize, Inc. and contributors. All rights reserved.
//
// Use of this software is governed by the Business Source License
// included in the LICENSE file.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by ... |
package com.imooc.item.pojo.vo;
import lombok.Data;
/**
* foodie-dev
* 商品评价数量VO
* @author: YYF
* @create: 2020-05-01 01:31
**/
@Data
public class CommentLevelCountsVO {
private Integer totalCounts;
private Integer goodCounts;
private Integer normalCounts;
private Integer badCounts;
}
|
import React from 'react';
import { storiesOf } from '@storybook/react';
import { withKnobs, select, boolean, number } from '@storybook/addon-knobs';
import { defaultTemplate } from 'storybook/decorators/storyTemplates';
import {
storybookPackageName,
STORYBOOK_CATEGORY
} from 'storybook/constants/siteConstants';
i... |
package com.runetopic.api.tools.obj
import com.runetopic.mongodb.AsyncService
import com.runetopic.mongodb.AsyncStorage
/**
* @author Jordan Abraham
*/
class ObjService(
storage: AsyncStorage
) : AsyncService(storage)
|
cask 'gog-galaxy' do
version '1.1.27.1'
sha256 'bb7bc4b210f6ab2d22fdb6c2c49f1ad1d41a46cace36369aa8e7762d463e6460'
url "https://cdn.gog.com/open/galaxy/client/galaxy_client_#{version}.pkg"
name 'GOG Galaxy Client'
homepage 'https://www.gog.com/galaxy'
depends_on macos: '>= :mountain_lion'
pkg "galaxy_cl... |
use ::std::sync::mpsc::Sender;
use ::std::collections::BTreeMap;
use crate::response_helper::*;
use ::pueue::message::*;
use ::pueue::state::SharedState;
use ::pueue::task::{Task, TaskStatus};
static SENDER_ERR: &str = "Failed to send message to task handler thread";
pub fn handle_message(message: Message, sender: &... |
package com.trayis.mservice.exceptions
import org.springframework.http.HttpStatus
class GenericException(message: String, val status: HttpStatus) : RuntimeException(message)
|
<?php
namespace GroCRM\API;
class Company extends AbstractAPI {
public function get() {
return $this->getRequest("company");
}
public function update(array $fields) {
return $this->patchRequest("company", $fields);
}
} |
package com.threebeebox.firebasechatapps;
public class Group {
private String GroupName;
private String image;
private String id;
public Group(){
}
public Group(String id, String GroupName) {
this.GroupName = GroupName;
this.id = id;
}
public String getID() {
... |
/* @flow strict-local */
import React, { PureComponent } from 'react';
import { FlatList, View } from 'react-native';
import type { NavigationStackProp, NavigationStateRoute } from 'react-navigation-stack';
import { TranslationContext } from '../boot/TranslationProvider';
import { createStyleSheet } from '../styles';
... |
# frozen_string_literal: true
require "dry/schema/step"
RSpec.describe Dry::Schema::Step do
describe "#call" do
context "when scoped with a deep path" do
subject(:step) do
root_step.scoped([:foo, :bar])
end
let(:root_step) do
Dry::Schema::Step.new(type: :core, name: :rule_appl... |
namespace InstantDelivery.Views
{
/// <summary>
/// Interaction logic for ConfirmDeleteView.xaml
/// </summary>
public partial class ConfirmDeleteView
{
public ConfirmDeleteView()
{
InitializeComponent();
}
}
}
|
package com.tiagohs.script_reader.ui.activities
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.recyclerview.widget.LinearLayoutManager
import com.tiagohs.domain.presenter.contract.HomePresenter
import com.tiago... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.google.android.gms.internal;
import android.os.RemoteException;
import com.google.android.gms.common.api.*;
import com.google.android.gms.fitn... |
# CommonMark.Tables
A custom formatter to extend [CommonMark.NET](https://github.com/Knagis/CommonMark.NET) to render Markdown tables.
## Example
At the moment, this formatter only supports pipe-delimited columns/data and a skeletal table frame. Therefore,
```
Column 1 | Column 2
---|---
1 | 0
```
will yield
Colu... |
{-# LANGUAGE CPP #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TupleSections #-}
module NLP.Skladnica.New
( GlobalCfg (..)
, GramType (..)
, SelectCfg (..)
, compileSelect
-- , runExperiment
, runExperiment2
) where
import ... |
/* Copyright 2021 Bastian de Byl */
#include "nxclk_shiftreg.h"
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/rtc.h>
#include <libopencm3/stm32/spi.h>
// Set initial value of previous register value to ensure 0x0000 can be shifted
// in first during redundancy check o... |
package org.platformlayer.service.cloud.direct.ops.cloud;
import org.platformlayer.core.model.Tags;
public class LxcMachineInfo {
public final String lxcId;
public final Tags tags;
public LxcMachineInfo(String lxcId, Tags tags) {
super();
this.lxcId = lxcId;
this.tags = tags;
}
public Tags getTags() {
... |
import {
Action,
BaseResource,
exceptions,
handlerEvent,
HandlerErrorCode,
OperationStatus,
Optional,
ProgressEvent,
ResourceHandlerRequest,
SessionProxy,
} from 'cfn-rpdk';
import fetch, { Response } from 'node-fetch';
import { ResourceModel } from './models';
// Use this logg... |
# frozen_string_literal: true
class ContentHelperTestHelper
include Licensee::ContentHelper
attr_accessor :content, :data
def initialize(content = nil, data = {})
@content = content
@data = data
end
def filename
@data[:filename]
end
end
RSpec.describe Licensee::ContentHelper do
subject { C... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Bid extends CI_Controller {
public function __construct() {
parent::__construct();
//$this->load->model('m_bid');
}
public function index()
{
if($this->session->userdata('Admin_Id'))
{
$this->db->select("*")... |
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using FluentAssertions;
using FluentAssertions.Extensions;
using JsonApiDotNetCore.Configuration;
using JsonApiDotNetCore.Serialization.Objects;
using Microsoft.Extensions.DependencyInjection;... |
module WorkshopInvitationManagerConcerns
extend ActiveSupport::Concern
included do
include InstanceMethods
end
module InstanceMethods
def send_workshop_attendance_reminders(workshop)
workshop_mailer = workshop.virtual? ? VirtualWorkshopInvitationMailer : WorkshopInvitationMailer
workshop.a... |
#!/bin/bash
set -o errexit -o pipefail -o nounset
repository=$1
tag=${2:-latest}
if [ $SEMAPHORE_THREAD_RESULT = passed ]; then
echo 'vendor/bundle/' >> .dockerignore
docker-cache restore
docker build --tag $repository:$tag . | cat
docker push $repository | cat
docker-cache snapshot
else
tail log/production.lo... |
type Props = {
className?: string;
title?: string;
details?: string | JSX.Element;
[key: string]: unknown;
};
const Description: React.FC<Props> = ({
title,
details,
className,
...props
}) => {
return (
<div className={className} {...props}>
{title && (
<h4 className="text-base font... |
/***********************************************************************
* Copyright (c) 2013-2016 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
git add .
git commit -m ''
git push -u al-vri master
azisalvriyanto
*/
$route["default_controller"] = "Umum";
$route["404_override"] = "Galat/_404";
$route["translate_uri_dashes"] = FALSE;
//umum
$route["beranda"] = "Umum/index"... |
package com.baeldung.vertxspring;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntitySca... |
<?php
namespace Base\Entity;
use Zend\StdLib\Hydrator\ClassMethods;
abstract class AbstractEntity{
public function __construct(Array $options = array()){
$hydrator= new ClassMethods();
$hydrator->hydrate($options, $this);
}
public function toArray(){
$hydrator= new ClassMethods();
return $hydrator->ex... |
#! /usr/bin/env sh
set -e
set -u
if [ $# -ne 2 ]; then
echo "ERROR: Usage: $0 <prog.bin> <loadaddr>" 1>&2
exit 1
fi
BIN="$1"
LOADADDR="$2"
set -x
st-flash --reset write "$BIN" "$LOADADDR"
|
<?php
namespace integralBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* DetalleRecepciongastos
*
* @ORM\Table(name="Detalle_RecepcionGastos")
* @ORM\Entity
*/
class DetalleRecepciongastos
{
/**
* @var integer
*
* @ORM\Column(name="Contador", type="integer", nullable=false)
* @ORM\I... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.