text
stringlengths
27
775k
# frozen_string_literal: true namespace :mine do desc 'Mine data for learning' # Add primers (id and sequences), fragment ids, fragment stock id, task owner id task gibson: :environment do data = TaskPrototype.find_by(name: 'Gibson Assembly') .tasks .select ...
object F_JCEdit: TF_JCEdit Left = 505 Top = 156 BorderIcons = [biSystemMenu] BorderStyle = bsToolWindow Caption = 'Editace vlakove cesty [nazev]' ClientHeight = 505 ClientWidth = 976 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans...
# ------------------------------------------------------------------ # Licensed under the ISC License. See LICENSE in the project root. # ------------------------------------------------------------------ # TODO: review """ CookieCutter(master, others) A cookie-cutter simulation solver. ## Parameters * `master` ...
(ns mbfpp.rso.closure-example) ; Scope 1 - Top Level (def foo "first foo") (def bar "first bar") (def baz "first baz") (defn make-printer [foo bar] ; Scope 2 - Function Arguments (fn [] (let [foo "third foo"] ; Scope 3 - Let Statement (println foo) (println bar) (println baz))))
class CloudflareClient::Zone::Firewall::WAFPackage < CloudflareClient::Zone::Firewall require_relative './waf_package/base.rb' Dir[File.expand_path('../waf_package/*.rb', __FILE__)].each {|f| require f} VALID_ORDERS = %w[status name].freeze VALID_SENSITIVITIES = %w[high low off].freeze VALID_ACTION_MO...
{-# LANGUAGE UnicodeSyntax #-} {-# LANGUAGE OverloadedStrings #-} -- {-# LANGUAGE GADTs, RankNTypes #-} module Experiments.Yumel.Lang.Ast where import Prelude.Unicode import Data.Text (Text, unpack) import Data.Tree (Tree (..), drawTree) data Literal = Nil | Z Integer | R Double | Bln Bool | Txt Text deriving Show...
// // Control.h // Breeze // // Created by on 12-7-18. // Copyright (c) 2012年 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> #import "View.h" @class ElementContext; @interface Control : UIControl<View>{ ElementContext *_context; } - (void)registerForEvent; - (void)touchCancel...
package org.hexworks.zircon.internal.graphics import org.hexworks.zircon.api.data.Position import org.hexworks.zircon.api.data.Size import org.hexworks.zircon.api.data.Tile class ArrayBackedTileMap( private val dimensions: Size, private val arr: Array<Map.Entry<Position, Tile>?> ) : AbstractM...
#!/usr/bin/env ruby # vim: fdm=syntax require './parse' def generate(type,**kwds) r="" groups=case type when :public; Biblio.pubbib_bibgroups when :perso; Biblio.bib_bibgroups end groups.each do |group| r+=Biblio.process_group(group,@biblio, **kwds) end return r end def process(type,file, **kwds) f=Pat...
#!/usr/bin/env bash rm -rf dist/ rm src/config.js if [ $1 = "publish" ]; then cp src/config.prod.js src/config.js else cp src/config.local.js src/config.js fi npm run build mkdir dist/static/fonts mkdir dist/static/css mkdir dist/static/images cp static/js/build.vendor.js dist/static/js/ cp static/js/la...
import * as fs from 'fs'; import * as path from 'path'; import promiseFs from '../promiseFs'; import * as start from './start'; import * as url from 'url'; import { Argv } from 'yargs'; const command = 'create [target]'; const describe = 'Create a proxy for target'; const builder = (y: Argv): Argv<Options> => { y.op...
package com.baliset.feed; import com.baliset.feed.service.*; import org.junit.Assert; import org.junit.Test; public class RangeGeneratorTest { private void testBoundaries(int min, int max, int trials) { RangeGenerator rg = new RangeGenerator(min, max); for(int i = 0; i < trials; ++i) { int result ...
'use strict'; var nextHourLoaded = false; // Get min date for valid range function getMinValidDate(nowDate){ var res; var firstAttempt = new Date((nowDate).addHours(24)); var hourAfter19 = moment(firstAttempt).hour() >= 19; // If after 19, return next day at 10:00 if (hourAfter19){ re...
<?php /** * Created by Two Developers - Sven Motz und Jens Averkamp GbR * http://www.two-developers.com * * Developer: Jens Averkamp * Date: 16.04.2015 * Time: 15:23 */ namespace TwoDevs\UrlShortener\Provider; use Ivory\HttpAdapter\HttpAdapterException; use Ivory\HttpAdapter\Message\ResponseInterface; use Symf...
import React from 'react'; import MainPageTechnologies from './MainPageTechnologies'; import MainPageServices from './MainPageServices'; import Arrow from '../Controls/Arrow'; import nextBlock from '../Controls/nextBlockContext'; import './MainPageServiceBlock.scss'; import ArrowSVG from '../../assets/images/illustrati...
import "conf-global" export * from './lib/management/ManagementClient'; export * from './lib/management/types'; export * from './lib/management/ManagementTokenProvider'; export * from './lib/authentication/types'; export * from './lib/authentication/AuthenticationClient'; export * from './lib/authentication/Authenticat...
var number, result; dynamic factorial() { if (number <= 1) { return 1; } if (number > 1) { result = number * factorial(number-1); return result; } } main() { number = 1; result = factorial(); }
/* Copyright 2017 Cimpress Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distribute...
package controller.tutorial class ConditionController extends SAStrutsTutorialController { def index = { set("id" -> params.get("id")) render("/tutorial/condition/index") } }
package typingsSlinky.kineticjs.Kinetic import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native trait ICollection extends StObject { @JSName("apply") def apply(method...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Input; Use DB; class RssApiController extends Controller { use \App\Http\Traits\ApiService; /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public fun...
function Get-Branch { [CmdletBinding()] param ( [PSCredential]$credential, [string]$Branch, [string]$Repo ) Write-Verbose " Getting Branch: Repo: $Repo Branch: $Branch Server: $Server " $Branch = Get-BranchList -repo $Repo -credential $credential| where-object disp...
<?php $dalTablecustomerwastebyweek = array(); $dalTablecustomerwastebyweek["Id"] = array("type"=>3,"varname"=>"Id"); $dalTablecustomerwastebyweek["CustomerId"] = array("type"=>3,"varname"=>"CustomerId"); $dalTablecustomerwastebyweek["WasteId"] = array("type"=>3,"varname"=>"WasteId"); $dalTablecustomerwastebyweek["Year"...
package com.zwq65.unity.ui._custom.view import android.content.Context import android.graphics.Canvas import android.graphics.Paint import android.graphics.Path import android.util.AttributeSet import androidx.core.content.ContextCompat import com.blankj.utilcode.util.SizeUtils import com.zwq65.unity.R import com.zwq6...
{-# LANGUAGE TemplateHaskell , KindSignatures , DataKinds , GADTs , PolyKinds , TypeOperators , TypeFamilies , StandaloneDeriving , UndecidableInstances , ScopedTypeVariables , TypeSynonymInstances , Rank2Types , FlexibleContexts , AllowAmb...
class SessionsController < ApplicationController skip_before_filter :verify_authenticity_token, :only => :create def create provider = Provider.find_or_create_by_hash(request.env['omniauth.auth']) self.current_user = provider.user redirect_to '/' end end
package com.ticka.application.widgets.particles.contract; import android.support.annotation.NonNull; import com.ticka.application.widgets.particles.KeepAsApi; import com.ticka.application.widgets.particles.model.Scene; @KeepAsApi public interface SceneRenderer { void drawScene(@NonNull Scene scene); }
require 'exchange_rate/errors/configuration' module ExchangeRate class Configuration attr_writer :provider, :data_source_path def initialize @provider = nil @data_source_path = nil end def provider raise Errors::Configuration, "Invalid Exchange Rate provider configured" unless @...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.containerregistry.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; impor...
import React from 'react'; import { createStackNavigator } from 'react-navigation'; import InitialScreen from './screens/InitialScreen'; import Login from './screens/Login'; import Register from './screens/Register'; import MainScreen from './screens/MainScreen'; import VehicleDetail from './screens/VehicleDetail'; imp...
package com.shijc.wanandroidkotlin.ui.account import android.support.v7.app.AppCompatActivity import android.os.Bundle import com.shijc.wanandroidkotlin.R import com.shijc.wanandroidkotlin.common.base.MessageEvent import com.shijc.wanandroidkotlin.common.base.Preference import com.shijc.wanandroidkotlin.common.mvp.Bas...
#!/data/data/com.termux/files/usr/bin/bash apt-get update apt-get --assume-yes upgrade apt-get --assume-yes install coreutils gnupg wget # Make the sources.list.d directory [ ! -d $PREFIX/etc/apt/sources.list.d ] && mkdir $PREFIX/etc/apt/sources.list.d # Write the needed source file if [ ! -f "$PREFIX/etc/apt/sourc...
# conan-rs A Rust wrapper of the conan C/C++ package manager (conan.io) to simplify usage in build scripts. ```toml # Cargo.toml [build-dependencies] conan = "0.1" ``` The conan executable is assumed to be `conan` unless the `CONAN` environment variable is set. ```rust extern crate conan; use conan::*; fn main() {...
import React from 'react' import styled from 'styled-components' import { Link } from 'gatsby' import classNames from 'classnames' export default ({ ...props }) => { const mergedClassnames = classNames(props.className, 'hover:text-green-500') const Component = props.to ? StyledLink : StyledATag return ( <Compone...
/* * Copyright 2020 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license. */ package dev.icerock.moko.crashreporting.napier import io.github.aakira.napier.Antilog import io.github.aakira.napier.Napier import dev.icerock.moko.crashreporting.core.CrashReportingCore import dev.icerock.moko.cr...
import unittest from pero_ocr.sequence_alignment import levenshtein_distance from pero_ocr.sequence_alignment import levenshtein_alignment from pero_ocr.sequence_alignment import levenshtein_alignment_path class TestLevenshteinDistance(unittest.TestCase): def test_trivial_match(self): a = ['a'] b ...
package com.carpool.general.dataaccess.api import java.sql.Blob import javax.persistence.Entity import javax.persistence.Lob import javax.persistence.Table import com.carpool.general.common.api.BinaryObject /** * [Entity][ApplicationPersistenceEntity] for [BinaryObject]. Contains the actual [Blob]. */ /** * The...
#! /usr/bin/env bash # Write Finder Settings defaults write com.apple.finder NewWindowTarget -string "PfLo" defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}/" defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true defaults write com.apple.finder ShowHardDrivesOnDesktop -b...
# frozen_string_literal: true module Comunit module Network module Handlers # Handling taxa class TaxonHandler < Comunit::Network::Handler def self.since 13 end def self.permitted_attributes super + %i[name nav_text priority slug] end prot...
// BaBar hit object corresponding to a single straw hit // // Original author David Brown, LBNL // #ifndef TrkStrawHit_HH #define TrkStrawHit_HH // BTrk #include "BTrk/BbrGeom/TrkLineTraj.hh" #include "BTrk/TrkBase/TrkDifPieceTraj.hh" #include "BTrk/TrkBase/TrkHit.hh" #include "BTrk/TrkBase/TrkT0.hh" // Mu2e #include ...
/* Copyright (C) 2006-2012 Opersys inc., All rights reserved. */ #ifndef _K3P_H #define _K3P_H #include "kmo_base.h" #include "kmo_comm.h" #include "kbuffer.h" #include "k3p_core_defs.h" /* State of the protocol. */ enum { /* K3P protocol has been initialized (initial state). Do not transfer * K3P elements ...
class BulkDiscount < ApplicationRecord belongs_to :merchant has_many :items, through: :merchant has_many :invoice_items, through: :items has_many :invoices, through: :invoice_items after_initialize :default, unless: :persisted? enum status: [:inactive, :active] validates_presence_of :percent, :quantity_th...
export = A; declare type MyType = string | number; declare type CircularMyType = string | AnotherType; declare type AnotherType = (props: string) => CircularMyType; declare function A(a: MyType, b: CircularMyType): string;
(ns blaze.datomic (:require [blaze.datomic.schema :as schema] [blaze.datomic.transaction :as tx] [blaze.module :refer [reg-collector]] [datomic.api :as d] [datomic-tools.schema :as dts] [integrant.core :as ig] [taoensso.timbre :as log]) (:import [java.util.concurrent ArrayBlockingQue...
from elements import BasePageElement from selenium.webdriver.common.by import By class SearchTextElement(BasePageElement): locator = '.user_name >.dark' class BasePage(object): def __init__(self, driver): self.driver = driver class LoginPage(BasePage): def __init__(self,drive...
package com.fly.cj.api.obj; // Response From API public class LoginReceive { private final LoginReceive userObj; private String status, auth_token, signature; private User user; public LoginReceive getUserObj() { return userObj; } public LoginReceive(LoginReceive param_userO...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "DVTLayoutView_ML.h" #import "DVTInvalidation.h" @class DVTBorderedView, DVTStackBacktrace, IDEControlGroup, IDEPathControl, NSString; @interface IDENavBar : DVTLayoutVie...
package com.mishlabs.shaft package util object StringValue { def apply(x:String) = x def unapply(x:AnyRef):Option[String] = x match { case s:String => Some(s) case _ => None } } object IntValue { def apply(x:Int) = x.toString def unapply(x:AnyRef):Option[Int] = x match { case s:String => try { Some(s...
{-# LANGUAGE TupleSections #-} import Control.DeepSeq (NFData) import Streamly.Data.Fold (Fold) import Streamly.Prelude (SerialT) import System.Random (randomRIO) import qualified Streamly.Data.Fold as Fold import qualified Streamly.Internal.Data.Array.Foreign.Type as Array import qualified Streamly.Internal.Data.Rin...
using System.Runtime.Serialization; namespace PsefApiOData.Models { /// <summary> /// Represents a Verifikasi Permohonan. /// </summary> public partial class VerifikasiPermohonan { /// <summary> /// Gets or sets the unique identifier for the Verifikasi Permohonan. /// </sum...
inline fun foo2(block2: () -> Int) : Int { println("foo2") return block2() } inline fun foo1(block1: () -> Int) : Int { println("foo1") return foo2(block1) } fun bar(block: () -> Int) : Int { println("bar") return foo1(block) } fun main(args: Array<String>) { println(bar { 33 }) }
package xyz.teamgravity.bluetoothchat.fragment import android.app.Activity import android.bluetooth.BluetoothAdapter import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.activity.result.ActivityResultLauncher im...
using System.Collections.Generic; using System.Threading.Tasks; using Pipedrive.Helpers; namespace Pipedrive { /// <summary> /// A client for Pipedrive's Filter API. /// </summary> /// <remarks> /// See the <a href="https://developers.pipedrive.com/docs/api/v1/Filters">Filter API documentation</a>...
package com.mapswithme.maps.bookmarks.data import android.os.Parcelable import kotlinx.android.parcel.Parcelize import java.net.HttpURLConnection @Parcelize class Error(private val mHttpCode: Int, val message: String?) : Parcelable { constructor(message: String?) : this( HttpURLConnection.HTTP_UNAVAILABL...
module Mixtures class Mutator def initialize(attr) @attr = attr.to_s end def self.inherited(base) Mixtures.mutators << base end end end
/********************************************************************************/ /* */ /* Copyright (c) 2020 Analog Devices, Inc. All Rights Reserved. */ /* This software is proprietary to Analog Devices, Inc. and its licenso...
import { IRank, IRankKey } from './modules/dpc-rankings'; import { IPlayer } from './modules/players'; import { ITeam, ITeamMember } from './modules/teams'; import { IDotaWikiConfig } from './utils/base'; export { IDotaWikiConfig, IPlayer, IRank, IRankKey, ITeam, ITeamMember }; export declare class DotaWikiApi { pr...
#standardSQL -- Question table columns SELECT * EXCEPT(is_generated, generation_expression, is_stored, is_updatable) FROM `bigquery-public-data`.`stackoverflow`.INFORMATION_SCHEMA.COLUMNS WHERE table_name="posts_questions"
class SessionsController < ApplicationController def create return redirect_to(root_path) if params[:cancel].present? username = params.dig("login", "username") password = params.dig("login", "password") if username.present? && password.present? if Ils.authenticate_user(username, password) ...
/*+. NOTIFICATION .+*/ // this file is automatically written by script. // you can update this file by type "yarn metabuild" command. import airJet from '@res/audio/airJet.json' import bgm1 from '@res/audio/bgm1.json' import bossAttack1 from '@res/audio/bossAttack1.json' import bossBgm1 from '@res/audio/bossBgm.json' ...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.SignalR; using System.Threading.Channels; namespace jsdal_server_core.Hubs { public class BackgroundTaskHub : Hub { public static readonly string GROUP_NAME = "BackgroundTask...
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
# frozen_string_literal: true module DeepCover bootstrap require_relative_dir 'coverage' # A collection of CoveredCode class Coverage include Enumerable attr_reader :tracker_storage_per_path def initialize(**options) @covered_code_index = {} @options = options @tracker_storage...
package externalapi import ( "testing" "github.com/stretchr/testify/require" "github.com/kyma-project/kyma/components/application-registry/internal/apperrors" "github.com/stretchr/testify/assert" ) func TestServiceDetailsValidator(t *testing.T) { t.Run("should accept service details with API", func(t *testing....
#!/usr/bin/env bash function echoOrange { echo "$(tput setaf 214)$1$(tput sgr0)" } function echoVert { echo "$(tput setaf 10)$1$(tput sgr0)" } function echoRouge { echo "$(tput setaf 9)$1$(tput sgr0)" } function echoJaune { echo "$(tput setaf 11)$1$(tput sgr0)" } function checkTor { echoOrange "Verifying...
using System; using System.Collections.Generic; using System.Text; namespace RPS.Library { public interface IRPSStrategy { string CounterStrategy(List<string> result, string playerHand); //changed result from string to List<string> string CopyStrategy(string playerHand); } }
package reactivecircus.flowbinding.appcompat import androidx.appcompat.widget.SearchView import androidx.test.filters.LargeTest import org.amshove.kluent.shouldEqual import org.junit.Test import reactivecircus.flowbinding.appcompat.fixtures.AppCompatFragment import reactivecircus.flowbinding.appcompat.test.R import re...
[titleEn]: <>(App System in contrast to plugin and themes) [metaDescriptionEn]: <>(In this article we explore the differences between apps, themes and plugins) [hash]: <>(article:app_plugin_theme_differences) If you are already familiar with the plugin system, you are probably wondering what will change for you in app...
There are several implementations of `libsass` for a variety of languages. Here are just a few of them. Note, some implementations may or may not be up to date. We have not verified whether they work. ### C * [sassc](https://github.com/hcatlin/sassc) ### Go * [go-libsass](https://github.com/wellington/go-libsass) * [...
--- title: 'ስጦታዎቻችንን መለየት' date: 05/08/2020 --- `1ኛ ቆሮ 1÷4 ን ከ 2ኛ ቆሮ 1÷20-22 ጋር ያነፃፅሩ። እነዚህ ጥቅሶች ስለ እግዚአብሔር ተስፋ በተለይም ደግሞ ከዳግም ምጻቱ ጋር ተያይዞ ስለ መንፈሳዊ ስጦታዎች ምን ይነግሩናል?` እግዚአብሔር የእርሱ ቤተክርስትያን ከክርስቶስ ዳግም ምጻት አስቀድሞ ሁሉንም የመንፈስ ስጦታዎች እንደምታንፀባርቅ ቃል ገብቷል። ቃሉንም ከቶ አያጥፍም። የተሰጡንን ስጦታዎች እንድናስተውል ለልባችን ሹክ የሚለን የመንፈስ ቅዱስ ምሪት ሰጥቶናል። ...
package com.nedaluof.qurany.ui.suras import com.nedaluof.qurany.data.model.Reciter import com.nedaluof.qurany.data.model.Sura import com.nedaluof.qurany.data.repository.SurasRepository import com.nedaluof.qurany.ui.base.BaseViewModel import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.Mut...
import test from 'ava'; import { isTypeFunction } from '../src/isTypeFunction'; test('Should return true for a function', (t) => { t.is( // eslint-disable-next-line functional/functional-parameters isTypeFunction(() => true), true ); t.is( // eslint-disable-next-line functional/functional-parameters isTy...
package database import ( "context" "os" "strconv" "strings" "time" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue" "github.com/aws/aws-sdk-go-v2/service/dynamodb" "github.com/aws/aws-sdk-go-v2/service/dynamodb/types" r...
import 'dart:convert'; import 'dart:io'; import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; import 'package:pothole/helpers/messaging.dart'; import 'package:pothole/models/complaint.dart'; import 'package:pothole/provider/current_user_provider.dart'; import 'package:provider/provider.dart'; import...
<?php /** * PHP version 5.6 * * This source file is subject to the license that is bundled with this package in the file LICENSE. */ namespace Codeup\Console\Command; use Doctrine\DBAL\Connection; use Doctrine\DBAL\DriverManager; use Exception; use Symfony\Component\Console\Input\InputInterface; use Symfony\Compon...
from bashmu.distthreadpool import DistThreadPool import time ds = DistThreadPool() @ds.defer def foo(n, s): print("Running",n,s) time.sleep(n) print("Done",n,s) return ['hi'] if __name__ == "__main__": a = foo(1,['0']) b = foo(2,a) c = foo(3,a) d = foo(4,a) print("Here") ds...
package settings import ( "errors" "fmt" "net/http" "strings" ) func TryLoginRegistry(basicUrl, username, password string, insecure bool) error { var schema string if insecure { schema = "http" } else { schema = "https" } url := fmt.Sprintf("%s://%s/v2/", schema, strings.TrimRight(basicUrl, "/")) resp, ...
CREATE TABLE IACUC_AFFILIATION_TYPE ( VER_NBR NUMBER(8) DEFAULT 1 NOT NULL , AFFILIATION_TYPE_CODE NUMBER(3) , DESCRIPTION VARCHAR2(200) NOT NULL , UPDATE_TIMESTAMP TIMESTAMP NOT NULL , UPDATE_USER VARCHAR2(60) NOT NULL , OBJ_ID VARCHAR2(36...
#include "IOPool/TFileAdaptor/interface/TStorageFactoryFile.h" #include "IOPool/TFileAdaptor/interface/TStorageFactorySystem.h" #include "IOPool/TFileAdaptor/src/TFileAdaptor.h"
# push demos Demos of different push mechanisms. 1. npm install 2. npm start 3. navigate to http://localhost:3000 in chrome ideally 4. open dev tool, click the network tab - Long-Polling ![long polling requests](https://i.imgur.com/oom6Lu6.png) ![long polling response](https://i.imgur.com/9v2cCPt.png) ![long polli...
using System; using Flowers.Data.ViewModel; using Foundation; using GalaSoft.MvvmLight.Helpers; using SDWebImage; using UIKit; namespace Flowers.iOSSbd { partial class MainViewController : UIViewController { private Binding<string, string> _lastLoadedBinding; private ObservableTableViewControll...
<?php namespace App\Http\Controllers\Jurusan; use Illuminate\Http\Request; use Illuminate\Support\Facades\Redirect; //use Illuminate\Support\Facades\Input; use Validator; use App\Http\Requests; use App\Http\Controllers\Controller; use App\Jurusan as Jurusan; class JurusanController extends Controller { public fu...
-- file:rowtypes.sql ln:236 expect:true select cast (fullname as text) from fullname
import ava from "ava" import { toPairs } from "./to-pairs.js" ava ("given undefined arguments", (t) => { const actual = toPairs () const expect = [] t.deepEqual (actual, expect) }) ava ("given an object with property string and null value", (t) => { const actual = toPairs ({ "color": null }) const expect =...
import 'dart:io'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_application_2/homescreen/homepage.dart'; import 'package:flutter_application_2/widget.dart'; import 'package:image_picker/image_picker.dart'; class CustumDesignPAge extends StatefulWidget { @o...
<script src="../assets/node_modules/jquery/jquery-3.2.1.min.js"></script> <!-- Bootstrap tether Core JavaScript --> <script src="../assets/node_modules/popper/popper.min.js"></script> <script src="../assets/node_modules/bootstrap/dist/js/bootstrap.min.js"></script> <!-- slimscrollbar scrollbar JavaScript --> <script sr...
# Search a 2D Matrix ## Description &emsp;&emsp;Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: - Integers in each row are sorted from left to right. - The first integer of each row is greater than the last integer of the previous row. ...
package com.ubuntuvim.spring.bean; /** * @Author: ubuntuvim * @Date: 2020/5/17 00:23 */ public class MyServiceImpl implements MyService { private MyServiceCommonImpl myServiceCommonImpl; public MyServiceCommonImpl getMyServiceCommonImpl() { return myServiceCommonImpl; } public void setMyServiceCommonImpl(...
--- layout: issue title: "Fixed-positioned Page Navigation in Programer's Reference Guide" id: ZF-12036 --- ZF-12036: Fixed-positioned Page Navigation in Programer's Reference Guide ------------------------------------------------------------------------- Issue Type: Docs: Improvement Created: 2012-01-31T16:09:06.00...
using System; namespace D2XXHelper { public enum FT_WORDLENGTH { FT_BITS_8 = 8, FT_BITS_7 = 7 } public enum FT_STOPBITS { FT_STOP_BITS_1 = 0, FT_STOP_BITS_2 = 2, } public enum FT_PARITY { FT_PARITY_NONE = 0, FT_PARITY_ODD, FT_PARI...
/** * Copyright (c) 2019 SK Telecom Co., Ltd. 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 requir...
package validators import ( "github.com/asaskevich/govalidator" "github.com/labstack/echo/v4" "github.com/shopicano/shopicano-backend/errors" "github.com/shopicano/shopicano-backend/models" "github.com/shopicano/shopicano-backend/utils" "github.com/shopicano/shopicano-backend/values" "time" ) type reqLogin str...
describe Fastlane::Actions::IonicAction do describe '#run' do end end
package org.traccar.client.data.model import android.os.Parcelable import com.google.gson.annotations.SerializedName import kotlinx.android.parcel.Parcelize @Parcelize data class PushResponse( @field:SerializedName("status") val status: String? = null, @field:SerializedName("errors") val errors: Stri...
import { Component } from '@angular/core'; import { ViewController, normalizeURL, ToastController, LoadingController } from 'ionic-angular'; import { Validators, FormBuilder, FormGroup, FormControl } from '@angular/forms'; import { FirebaseService } from '../services/firebase.service'; import { ImagePicker } from '@ion...
<?php namespace App\Http\Controllers\Home; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class ComponentController extends Controller { /** * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function navbar() { return view('components.navba...
using System.Collections.Generic; namespace MvvmHelpers { /// <summary> /// Grouping of items by key into ObservableRange /// </summary> public class Grouping<TKey, TItem> : ObservableRangeCollection<TItem> { /// <summary> /// Gets the key. /// </summary> /// <value...
### Pull Down 메뉴 검색 List data type을 사용하여 사과 배 포도 등의 과일 가격을 Loop를 돌려 가져옵니다.
package tornadofx.controlsfx.testapps import javafx.geometry.Pos import javafx.scene.image.ImageView import tornadofx.* import tornadofx.controlsfx.* class NoitificationsApp : App(NotificationsView::class) class NotificationsView : View("Notifications") { override val root = vbox(10) { button("Warning")...
# LCD 2x16 Parallel By: W9GFO Language: Spin Created: Apr 1, 2013 Modified: April 1, 2013 Parallel LCD driver written for the 2x16 LCD from GadgetGangster.com. Based upon Simon Ampleman's LCD\_16X2\_8BIT object. Includes Demo showing printing of strings, chars, whole numbers, pseudo floating point numbers, HEX a...