text
stringlengths
27
775k
#!/bin/bash what=- test "$@" && what="$@" PLUGIN_DIR='/pager/plugin' exec vim --not-a-term -u NONE -S $PLUGIN_DIR/psql.vim -c "let &runtimepath='$PLUGIN_DIR,' . &runtimepath" -c Less $what
# Curso-Logica-Qikbyte Exercicios do curso lógica de programação Qikbyte, através do VISUALG
#!/bin/bash #set -ex DIR_RUN="$(cd "$(dirname "$0")" && pwd)" cd $DIR_RUN if [[ ! -e /etc/filebeat/filebeat.yml.orig ]] then mv /etc/filebeat/filebeat.yml /etc/filebeat/filebeat.yml.orig mv filebeat.yml /etc/filebeat/filebeat.yml fi #chown -R elasticsearch:elasticsearch $DIR_RUN su elasticsearch << EOF sou...
# -*- coding: utf-8 -*- """ 启动入口 date: 2018/12/26 """ import os import pahk __author__ = 'hhaoao' import sys from multiprocessing import Process from Api.ProxyApi import run as ProxyApiRun from Schedule.ProxyValidSchedule import run as ValidRun from Schedule.ProxyRefreshSchedule import run as RefreshRun def ru...
package com.tenext.demo.holder import android.content.Context import android.text.TextUtils import android.view.ViewGroup import com.squareup.picasso.Picasso import com.tenext.demo.R import com.tenext.demo.entity.Member import kotlinx.android.synthetic.main.item_member.view.* class MemberHolder : BaseHolder...
import { ButtonInteraction, CommandInteraction, Interaction } from "discord.js"; import { Command, commands, interactionCreate, loadCommands } from "../../src/Util/interactions"; import { command } from "../../src/commands/dev"; import { ButtonId } from "../../src/Util"; import { SlashCommandBuilder } from "@discordjs/...
# Stubbing authentication via Sorcery external # # Assume you have built the controller following to the below post: # https://github.com/NoamB/sorcery/wiki/External require 'rack/alice_in_external/version' require 'rack/alice_in_external/github_mock'
export * from './model'; export * from './models'; export { DB } from './DB';
dependencies{ api(project(":springboot")) api("org.springframework.cloud:spring-cloud-starter-openfeign") compileOnly("org.springframework.boot:spring-boot-starter-webflux") }
using Replay @assert !Base.get_have_color() "please run julia with --color=no e.g. `julia --color=no examples/disable_color/app.jl`" instructions = [ """ function greet(msg::String="Hello!") println(msg) end """, "greet()", """greet("Hello, World!")""", ] replay(instructions, use_ghos...
#!/bin/sh -l # Exit on failure set -e echo "Calling php script" php /usr/local/bin/src/main.php EXIT_CODE=$? if ! [[ "$EXIT_CODE" == 0 ]]; then echo "::error file=main.php::Script execution ended with error message $EXIT_CODE" exit 1 fi echo "Script execution successful" exit 0
import { Injectable } from '@nestjs/common'; import { Task } from '@prisma/client'; import { FindTaskParamsDTO } from 'src/common/prisma/tasks/dto/find-task-params.dto'; import { TasksService } from '../../common/prisma/tasks/tasks.service'; @Injectable() export class TasksListService { constructor(private readonly t...
require 'spec_helper' describe Configy::ConfigFile do it "test should load a config from a file" do with_config_file( { 'common' => {'a' => '1', 'b' => '2' } }, 'app_config' ) do |file, hash| configfile = Configy::ConfigFile.new(file, 'development') configfile.load_file.must_equal hash end end...
library dsa.chrome.app.main; import "package:chrome/chrome_app.dart" as chrome; import "package:dslink_chrome/utils.dart"; final String CHROME_EXT = "dkjdmcjmblhakhndnabbkmghjfgfiejm"; typedef MsgHandler(chrome.OnMessageEvent e, chrome.Port port, Map<String, dynamic> m); Map<String, Function> _msgHandlers = {}; Lis...
using System; namespace MeetingScheduler { [Serializable] public class MeetingData { public string UserChannelID { get; set; } public int UserDBID { get; set; } public string Dialog { get; set; } public string Method { get; set; } } }
/******************************************************************************* * Copyright 2016 Intuit * <p> * 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 * <p> * http://www.apache.o...
package forecaster import ( "encoding/json" "errors" "fmt" "io/ioutil" "math" "net/http" "net/url" "time" ) const forecastMethod = "/data/2.5/forecast" const curWeatherMethod = "/data/2.5/weather" func NewOWM(apiKey, apiAddress string) *OWMForecaster { return &OWMForecaster{ httpClient: &http.Clien...
--Reading florida insurance csv data file into sql --First, create an appropriate table CREATE TABLE florida( policyID INTEGER, statecode TEXT, county TEXT, eq_site_limit REAL, hu_site_limit REAL, fl_site_limit REAL, fr_site_limit REAL, tiv_2011 REAL, tiv_2012 REAL, eq_site_deductible REAL, hu_site_deductib...
use std::ffi::OsString; /// Returns arguments passed in from the command-line, starting with the program name. /// /// On web, this transforms URL query parameters into command-line arguments, by treating `&` as /// the separator between arguments. So for instance "?--dev&--color_scheme=night%20mode" becomes /// vec![...
import 'package:covid19_stats/cases/vaccinePage.dart'; import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; import 'dart:convert'; import 'package:lottie/lottie.dart'; import 'package:http/http.dart' as http; class VaccinationPage extends StatefulWidget { // const VaccinationPage({Key? key}) : su...
export { token } from './token' export { user } from './user' export { users } from './users'
<?php namespace App\Models; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Auth; class Administrator extends Authenticatable { protected $table = 'administrators'; protected $guard = 'administrator'; public static function exis...
package ai.yue.library.data.jdbc.constant; /** * 排序方式 * * @author ylyue * @since 2018年8月29日 */ public enum DbSortEnum { /** 升序 */ ASC, /** 降序 */ DESC; }
--- layout: post unique_id: laundry title: Laundry categories: [] locations: --- YESTERDAY: * spicy chinese noodles for lunch * stomach was a bit grumbly from * visited an old friend at Youtube campus * vegetables for dinner * roasted potatoes and brussel sprouts * sauteed mushroom, onions and green beans * d3...
package scala.learning.five.example // 05-7. 부분 함수 예제 object Example19 extends App { def statusHandler1(x: Int): String = { x match { case 200 => "Okay" case 400 => "Your Error" case 500 => "Our error" } } println(statusHandler1(200)) def statusHandler2: Int => String = { case 200...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ kavica is a HPC data science package which includes pre-processing and post-processing for cluster analysis. """ # Author: Kaveh Mahdavi <kavehmahdavi74@gmail.com> # License: BSD 3 clause # last update: 17/12/2018 import os from setuptools import setup, find_packages...
using EdiEngine.Common.Enums; using EdiEngine.Common.Definitions; using EdiEngine.Standards.X12_004010.Segments; namespace EdiEngine.Standards.X12_004010.Maps { public class M_135 : MapLoop { public M_135() : base(null) { Content.AddRange(new MapBaseEntity[] { new BGN() { ReqDes = RequirementDesignator.Ma...
/** * The get command additional parameters * @param indent Sets the indentation string for nested levels * @param newline Sets the string that's printed at the end of each line * @param space Sets the string that's put between a key and a value * @param noescape Will disable the sending of \uXXXX escapes for non...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Scada.Declare { public class LineParser { private byte[] lineBreak = { (byte)'\r', (byte)'\n' }; List<byte> list = new List<byte>(); public LineParser() { } public virtual byte[] LineBreak { get { ret...
const path = require('path'); const fs = require('fs'); const webpack = require('webpack'); const _ = require('lodash'); const NonDigestPlugin = require('../index'); const assert = require('chai').assert; const setupOutputDirHooks = require('./support/setupOutputDirHooks'); const OUTPUT_DIR = path.join(__dirname, './....
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Monitoring extends CI_Controller { public function index() { $data['title'] = 'Project Monitoring'; $data['monitoring'] = $this->monitoring->getAllMonitoring(); $this->load->view('monitoring/index', $data); } public function create...
<!-- <table align="center"><tr><td align="center" width="9999"> --> <div align="center"> <img src="cena-logo.png" width="100"/> # Cena Swiper A simple iOS app to label food images. It was used to label a food dataset which was later used to train a food classifier. ![ios](https://img.shields.io/badge/platform-iOS-bl...
// import AppBtc from "@ledgerhq/hw-app-btc"; //@ts-ignore import AppAvax from '@obsidiansystems/hw-app-avalanche' import { Buffer, BN } from 'avalanche' import HDKey from 'hdkey' import { ava, avm, bintools, pChain } from '@/AVA' var bippath = require('bip32-path') import createHash from 'create-hash' import store f...
#!/usr/bin/sh echo | openssl s_client -servername localhost -connect localhost:3000 | openssl x509 -noout -dates
package ru.org.codingteam.horta.protocol.jabber import akka.actor.{Actor, ActorLogging, ActorRef, Props} import akka.util.Timeout import org.jivesoftware.smack.{Chat, ConnectionConfiguration, XMPPConnection, XMPPException} import org.jivesoftware.smack.filter.{AndFilter, FromContainsFilter, PacketTypeFilter} import or...
package ru.apermyakov.io.socket.manager; import org.junit.Test; import java.io.*; import java.net.Socket; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; /** * Class for test file manager. * * @autho...
#!/bin/sh go build -o ./test_usb ./pi/cmd/serial_usb/main.go sudo ./test_usb $*
# Selectors ## Select by Id `component.$` ```html <my-component id="myComponent"> <template> <input type="text" id="foo"> <input type="text" id="bar"> </template> </my-component> ``` ```js let compFoo = myComponent.$.foo; assert(compFoo === document.getElementById('foo')); ``` ## Select by css selector `compon...
package omnia.util.reaktive.observable import com.badoo.reaktive.observable.Observable import com.badoo.reaktive.single.map import omnia.data.structure.immutable.ImmutableSet fun <T : Any> Observable<T>.collectIntoImmutableSet() = this.collectInto(ImmutableSet.Companion::builder, ImmutableSet.Builder<T>::add) ....
# University-of-Helsinki-MOOC-Java-Programming-I This repository exists basically as a personal project to acquaint myself with the process of using the features provided by GitHub. My goal is to provide adequate notation and rationale alongside the solutions for the Java Programming I massive open online course grac...
\set ON_ERROR_STOP 1 BEGIN; -- First, construct a table (recursively) of parent -> descendant connections -- for areas, including an array of the path (the 'descendants' array). -- Then, find the shortest path to each type of parent by joining to area, -- distinct on descendant, type, and order by the length of the ...
# The Root Of Data Science # Images ![Sory](./images/Sorry.png) ![Data Collectors](./images/Data_Collectors.png) # Conclusions * First first of all web scraping is fun! ## Web scraping * Need (Cache System) save the requests content in files per url,<br /> so next time we will load the content from the file and n...
import GridPage from "./grid" import FlexRowPage from "./flexRow" import FlexColumnPage from "./flexColumn" export { GridPage, FlexRowPage,FlexColumnPage }
# Announce: Rakudo Perl 6 compiler, Release #119 (2018.01) On behalf of the Rakudo development team, I’m very happy to announce the January 2018 release of Rakudo Perl 6 #119. Rakudo is an implementation of Perl 6 on the Moar Virtual Machine[^1]. This release implements the 6.c version of the Perl 6 specifications. I...
library ftauth_storage_platform_interface; import 'dart:typed_data'; import 'package:flutter/foundation.dart'; import 'package:ftauth/ftauth.dart'; import 'package:plugin_platform_interface/plugin_platform_interface.dart'; import 'package:shared_preferences/shared_preferences.dart'; import 'src/method_channel_ftauth...
#!/usr/bin/ruby # @Author: xhb # @Date: 2016-07-24 00:32:46 # @Last Modified by: xhb # @Last Modified time: 2016-07-24 00:42:26 class Numeric def days self*24*60*60 end def minutes self*60 end def hours self*60*60 end alias :hour :hours alias :minute :minutes alias :day :day...
## Public F5 repository for data schemas. ## Data schemas require a publically available repository for access. Schemas used for the definition and validation of velcro structured data should placed in this repository. This provides: - A central location for documentation and referencing purposes. - Enforcement of un...
package client import ( "context" "encoding/hex" "fmt" "net/http" "time" "github.com/cosmos/cosmos-sdk/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/tx" "github.com/desmos-labs/juno/types" "google.golang.org/grpc" tmjson "github.com/tendermint/tendermint/lib...
mod context; mod usertrap; use crate::config::{TRAMPOLINE, TRAP_CONTEXT}; use crate::plic; use crate::sbi::set_timer; use crate::syscall::syscall; use crate::task::{ current_task, current_trap_cx, current_user_token, exit_current_and_run_next, hart_id, suspend_current_and_run_next, }; use crate::timer::{get_ti...
namespace Dreamteck.Forever { public interface ISegmentCompleteHandler { void OnSegmentComplete(LevelSegment levelSegment); } }
import { h, computed, getCurrentInstance } from 'vue' import { createComponent } from '../../utils/private/create.js' import useDark, { useDarkProps } from '../../composables/private/use-dark.js' import { hSlot } from '../../utils/private/render.js' export default createComponent({ name: 'QList', props: { .....
package strarr import "math/rand" func Shuffle(arr []string) { for i := 0; i < len(arr); i++ { j := rand.Intn(i + 1) arr[i], arr[j] = arr[j], arr[i] } }
coffee -c _attachments/js/ coffee -c vendor/couchapp/_attachments/loader.coffee coffee -c vendor/couchapp/_attachments/hallo/hallo.coffee coffee -c vendor/couchapp/_attachments/hallo/plugins/*.coffee couchapp push proggis20
/// (c) Ben Jones 2019 #include "RegexFunctionExpressionEvaluator.hpp" #include "expressions/evaluator/ExpressionEvaluator.hpp" #include "parser/LanguageException.hpp" #include <regex> #include <utility> namespace { inline std::vector<std::string> extract(std::string const & text, ...
// Copyright 2015-2020 Parity Technologies (UK) Ltd. // This file is part of Parity Ethereum. // Parity Ethereum is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at yo...
<!DOCTYPE html> <html lang="pt_br"> <head> <?php include_once('pages/header.php'); ?> </head> <body class="back-page"> <?php include_once('pages/nav-dashboard.php'); include_once('pages/footer.php'); include_once('pages/js.php'); ?> </body> </html>
webpackHotUpdate(0,{ /***/ 61: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; var esExports = {render:function(){},staticRenderFns: []} /* harmony default export */ __webpack_exports__["a"] = (esExports); if (true) { module.hot.accept() if (module.hot.data) { __webpack_requi...
<?php namespace project\gateways; use project\repositories\CompanyRepository\CompanyRepositoryInterface; class CompanyGateway { private $CompanyRepository; public function __construct(CompanyRepositoryInterface $CompanyRepository) { $this->CompanyRepository = $CompanyRepository; } public function getById($id...
#![windows_subsystem = "console"] use pyembed::{MainPythonInterpreter, OxidizedPythonInterpreterConfig}; // Various cargo features can be defined to install a custom global allocator // for Rust. // // Note that this *only* controls Rust's allocator: the Python interpreter // has its own memory allocator settings on ...
## Results Solution | Time | Memory ---------|------|------- [solution.py](solution.py) | 48 ms, faster than 87.27% | 16 MB, less than 61.08%
{-# LANGUAGE BangPatterns, MagicHash #-} -- FAST module Data.Text.Fusion (mapAccumL) where -- SLOW module Data.Text.Fusion where import Prelude (Bool(..), Char, Maybe(..), Monad(..), Int, Num(..), Ord(..), ($), (&&), fromIntegral, otherwise, undefined) import Data.Bits ((.&.)) import ...
# Copyright 2021 Northwestern Inclusive Technology Lab # # 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...
package com.greenmeows.jdiva.song; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input.Keys; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx.graphics.g2...
package org.itemalert.utils; import org.itemalert.ItemAlert; import org.slf4j.Logger; /** * Log Utility class * * @author JimiIT92 */ public class LogUtils { /** * Logger Instance */ private static Logger LOGGER; /** * Initialize the Logger Instance * * @param plugin Plugin ...
import React from 'react'; import { render, cleanup, within } from '@testing-library/react'; import App from '../../../App'; import GlobalProvider from '../../../GlobalContext'; import Panel from '../../Panel/Panel'; afterEach(cleanup); describe('<Cards>', () => { test('monthly card displays correctly on initia...
{-# OPTIONS_GHC -Wall -Werror #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE TemplateHaskell #-} -- Import all modules from Halon and Mero-Halon: import HA.RecoveryCoordinator.CEP () import HA.RecoveryCoordinator.Castor.Rules () import HA.RecoveryCoordinator.Definitions () import HA.RecoveryCoordinator.Mero () impo...
# frozen_string_literal: true require 'rack' require_relative 'config/application' run Application.new
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Chronozoom.Api.Controllers; using System.Web.Security; using Microsoft.IdentityModel.Web; namespace Chronozoom.UI { public partial class LogOff : System.Web.UI.Page ...
export * from './universalNavigation'; export * from './useUniversalNavigation';
package data import ( "encoding/json" "io" ) // FromJSON deserializes the interface from JSON string func FromJSON(i interface{}, reader io.Reader) error { decoder := json.NewDecoder(reader) return decoder.Decode(i) } // ToJSON serializes interface into a json String func ToJSON(i interface{}, writer io.Writer) ...
# frozen_string_literal: true module WaitForJob TIMEOUT = 60 RETRY_COUNT = 10 def self.wait(id) attempts = 1 begin data = Dock::Api::Jobs.find(id) return if data['status'] == 404 if data['status'] != 'finalized' log("Job ##{id}: waiting to finish. Current status: #{data['sta...
SELECT c_mst.customer_category_no, h_mst.hotel_category_no, -- 예약 수를 계산 COUNT(rsv.reserve_id) AS rsv_cnt FROM work.reserve_tb rsv -- 고객의 카테고리 마스터와 결합 INNER JOIN work.customer_category_mst c_mst ON rsv.customer_id = c_mst.customer_id -- 호텔의 카테고리 마스터와 결합 INNER JOIN work.hotel_category_mst h_mst ON rsv.hote...
# screeps-private-server Code for the game Screeps. Automating the screeps with javascript to win the game.
/** * Copyright (C) 2022-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
--- title: "Response to\" smoking, co-morbidities and narcolepsy\"." date: 2018-01-01 publishDate: 2020-04-12T22:07:18.121309Z authors: ["Alexander L Cohen", "Jay Mandrekar", "Erik K St Louis", "Michael H Silber", "Suresh Kotagal"] publication_types: ["2"] abstract: "" featured: false publication: "*Sleep medicine*" --...
export { Oso } from './Oso'; export { Variable } from './Variable'; export { AuthorizationError, ForbiddenError, NotFoundError } from './errors'; export { Relation } from './dataFiltering'; export { defaultEqualityFn } from './helpers';
package resonance.http.httpdownloader.activities import android.annotation.SuppressLint import android.app.Activity import android.content.Context import android.content.Intent import android.net.Uri import android.os.Bundle import android.os.Environment import android.view.View import androidx.appcompat.app.AppCompat...
https://github.com/coollabsio/coolify.git curl https://get.coollabs.io/coolify/install.sh https://storage.coollabs.io/coolify-installer
/* Navicat Premium Data Transfer Source Server : Aliyun ECS MySQL Source Server Type : MySQL Source Server Version : 80021 Source Host : bj.kevinkda.cn:3306 Source Schema : university Target Server Type : MySQL Target Server Version : 80021 File Encoding : 65001 Date...
""" This file contains helper functions for the ratings results view """ import capstoneproject.content_rating.algorithm.text as text from capstoneproject.shared import rater from django.contrib.auth.models import User from capstoneproject.app_forms \ import CopyInForm, SongSearchForm, WebsiteSearchForm, UploadFile...
using System; using System.Collections.Generic; using System.Reflection; namespace CLRSharp { public class Type_Common_System : ICLRType_System, ICLRType { public Type TypeForSystem { get; private set; } public ICLRSharp_Environment env { get; private set; } public ICL...
import _ from 'lodash'; import LogUtils from "@norjs/utils/src/LogUtils"; import LogicUtils from "@norjs/utils/src/LogicUtils"; import RouteHandlerOptions from './RouteHandlerOptions.js'; import HttpUtils from "@norjs/utils/src/HttpUtils"; const nrLog = LogUtils.getLogger("RouteHandler"); /** * @abstract */ export ...
'use strict'; Promise.all([ (() => 'aa')(), (() => 'aaaa')() ]).then(results => { console.log( results ); }) const delay = (ms) => { return new Promise((resolve) => { setTimeout(() => resolve(), ms); }) }; delay(1000).then(() => console.log('Hello!')); let urls = [ 'user.json', ...
# my-vue-ui ## 发布流程 1. npm run lib 2. version 递增 3. npm login 4. npm publish
Rails.application.routes.draw do get 'home/index' get 'users/new' resources :users, only: [:create, :new, :edit, :update] end
package quark type Resp struct { Status int `json:"status"` Code int `json:"code"` Message string `json:"message"` //ReqId string `json:"req_id"` //Timestamp int `json:"timestamp"` } type File struct { Fid string `json:"fid"` FileName string `json:"file_name"` //PdirFid string `json...
<?php namespace Zareismail\Glance\Http\Controllers; use Illuminate\Routing\Controller; use Zareismail\Glance\Http\Requests\DashboardFilterRequest; class DashboardFilterController extends Controller { /** * List the cards for the dashboard. * * @param \Laravel\Nova\Http\Requests\DashboardCardReque...
# Treasure Data MQTT Broker: Java Example The sample uses [Eclipse Paho Java Client](https://www.eclipse.org/paho/clients/java/) as an MQTT client. ## Preparation Before connecting to the broker, retrieve server certificate and add it to your local keystore e.g., by using [escline/InstallCert](https://github.com/esc...
package dev.gregwhatley.cse3310.team3animal class SessionStatistics { companion object { // Map of classification attempts per label var counts: MutableMap<String, Int> = HashMap<String, Int>().apply { Classifier.labels.forEach { put(it, 0) } } var correct = 0 v...
package com.aminography.worldcities.citylist import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.view.isVisible import androidx.core.widget.addTextChangedListener import androidx.paging.CombinedLoadStates import androidx.paging.LoadSta...
# guac-vue This is a simple implementation of a Vue client to our [custom Guacamole Client in Go](https://github.com/wwt/guac). This implementation passes passwords over in plaintext. It's not recommended running this way in production. This is for demoing purposes only. ## demo ![Demo](/demo.gif?raw=true "Demo") #...
# Parsing NewsWCL50 Original repository of NewsWCL50: https://github.com/fhamborg/NewsWCL50. To parse NewsWCL50: 1) make sure that you downloaded the dataset by running ```python setup.py``` 2) execute ```python parse_newswcl50.py```
RSpec.describe ContentfulMigrations::MigrationContentType do let(:client) { double(:client) } let(:space) { double(:space) } let(:logger) { double(:logger) } let(:defaults) do { client: client, space: space, logger: logger } end describe '#initialize' do it 'sets name and ver...
export 'package:factories/features/login/presentation/bloc/login_bloc.dart'; export 'package:factories/features/login/presentation/bloc/login_event.dart'; export 'package:factories/features/login/presentation/bloc/login_state.dart';
package name.kropp.intellij.makefile.stub import com.intellij.psi.stubs.NamedStub import name.kropp.intellij.makefile.psi.MakefileTarget interface MakefileTargetStubElement : NamedStub<MakefileTarget>
import { Component, OnInit, ViewContainerRef } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { ModalDialogOptions, ModalDialogService, RouterExtensions } from 'nativescript-angular'; import { Page } from 'tns-core-modules/ui/page'; import { AlertDialogService } from '~/app/controller/al...
require "spec_helper" describe PendingHarvestsController do before(:all) do CuratorLevel.create_enumerated ContentPartnerStatus.create_enumerated ResourceStatus.create_enumerated @admin = User.gen(admin: true) @full = FactoryGirl.create(:curator) @master = FactoryGirl.create(:master_curator)...
package xyz.theadityamishra.kalvi.ui import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import org.eazegraph.lib.models.BarModel import xyz.theadityamishra.kalvi.R import xyz.theadityamishr...
#!/bin/bash # First argument is the path to the database file, eg ~/data cp $1/pim.db $1/pim_$(date +%s).db
class InertiaTestController < ApplicationController def empty_test render inertia: 'EmptyTestComponent' end def redirect_test redirect_to :empty_test end def inertia_request_test if request.inertia? head 202 else head 200 end end def inertia_partial_request_test if r...