text stringlengths 27 775k |
|---|
namespace ComplementDrugSearch.Models
{
/// <summary>
/// Represents a protein.
/// </summary>
public class Protein
{
/// <summary>
/// Represents the protein index within the network.
/// </summary>
public int Index { get; set; }
/// <summary>
/// R... |
package com.arkivanov.mvikotlin.timetravel.proto.internal.data.timetravelexport
import com.arkivanov.mvikotlin.timetravel.proto.internal.data.ProtoObject
class TimeTravelExport(val data: ByteArray) : ProtoObject
|
package typingsSlinky.qlikEngineapi.EngineAPI
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
/**
* NxLinkedObjectInfo...
*/
@js.native
trait INxLinkedObjectInfo extends St... |
package ru.itmo.sd.tasks.events.model;
import java.time.Duration;
public class SubscriptionReport {
private final int totalVisits;
private final Duration totalDuration;
public SubscriptionReport() {
this(0, Duration.ZERO);
}
public SubscriptionReport(int totalVisits, Duration totalDurati... |
# MicrochipNeoPixel
Neo Pixel Control with PIC18F47K42
Used Board:
https://www.microchip.com/Developmenttools/ProductDetails/DM182028
|
#!/bin/bash
$HOME/workspace/git.rootknecht.net/scripts/fzf-nova/_keyboard.sh
sync-mail.sh
sync-pim.sh
keepassxc &
xbindkeys
clipmenud
xbanish &
|
# This file is auto-generated by AWSMetadata.jl
using AWS
using AWS.AWSServices: service_catalog_appregistry
using AWS.Compat
using AWS.UUIDs
"""
associate_attribute_group(application, attribute_group)
associate_attribute_group(application, attribute_group, params::Dict{String,<:Any})
Associates an attribute ... |
use serde::{Deserialize, Serialize};
use crate::{error::RpelError, RpelPool};
#[derive(Debug, Deserialize, Serialize)]
pub struct SelectItem {
pub id: i64,
pub name: Option<String>,
}
async fn select_name(pool: &RpelPool, name: &str) -> Result<Vec<SelectItem>, RpelError> {
let client = pool.get().await?;... |
//
//Created by xuzhuoxi
//on 2019-03-16.
//@author xuzhuoxi
//
package lang
import (
"fmt"
"image"
"image/draw"
"testing"
)
func TestTypeEqual(t *testing.T) {
a := 1
b := uint16(1)
c := 2
fmt.Println(TypeEqual(a, b))
fmt.Println(TypeEqual(a, c))
}
func TestEqual(t *testing.T) {
a := []uint16{1, 2, 3}
b :... |
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:cake_wallet/palette.dart';
import 'package:flutter/foundation.dart';
import 'package:provider/provider.dart';
import 'package:cake_wallet/theme_changer.dart';
import 'package:cake_wallet/themes.dart';
import 'package:cake_w... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#define MAX 10
typedef struct TipoCelula *TipoApontador;
typedef int TipoChave;
typedef struct TipoItem {
TipoChave Chave;
/* outros componentes */
} TipoItem;
typedef struct TipoCelula {
TipoItem Item;
TipoApontador Prox;
} Ti... |
import token from '../utils/token/color'
const brandMono = ({ text, color }) => {
const colorTextObject = {
gray: token('gray3'),
white: token('white'),
red: token('primary1'),
}
color.text = colorTextObject[text] || colorTextObject.gray
color.brand = color.text
}
const brandColor = ({ text, color... |
(ns claro.data.tree.utils
(:require [claro.data.protocols :as p]))
(defn- can-resolve?
[tree resolvable->resolved]
(and (not (p/resolved? tree))
;; it seems the following check is slower than just trying to apply the
;; resolution ...
#_(some resolvable->resolved (p/resolvables tree))))
(de... |
package io.smooth.redux.harmony
import io.smooth.redux.SmoothState
import io.smooth.redux.StateSection
import io.smooth.redux.activate
import io.smooth.redux.deActivate
object HarmonyUtils {
fun SmoothState.reactOnUpdate(updatedSection: StateSection): SmoothState {
var updatedState = this
this.ru... |
import 'jest-extended'
import axios from '../src/client'
import fieldsMethods from '../src/api/fields'
import { testApiKey } from '../config'
describe('fields', () => {
const client = fieldsMethods(axios(testApiKey))
it('gets account fields', async () => {
await expect(client
.getFields())
.resolv... |
package io.github.kevinmhankes.jokeapi.ui
import android.os.Bundle
import androidx.arch.core.executor.testing.CountingTaskExecutorRule
import androidx.fragment.app.testing.FragmentScenario
import androidx.fragment.app.testing.launchFragmentInContainer
import androidx.lifecycle.MutableLiveData
import androidx.test.espr... |
-- database: trino; tables: sample_jdbc_table; groups: trino_convention
-- delimiter: |; ignoreOrder: false; types: BIGINT|VARCHAR
--!
SELECT * FROM sample_jdbc_table ORDER BY id;
--!
1|C|
2|null|
3|A|
|
package io.webapp.module.system.role.basic.domain.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* [ ]
*
* @author yandanyang
* @version 1.0
* @date 2019/3/27 0027 下午 15:27
* @since JDK1.8
*/
@Data
public class RoleSelectedVO extends RoleVO {
@ApiModelProperty("角色名称")
pr... |
; edit date in 2010/05/04 20:37
list P=PIC16F84A
INCLUDE "P16F84A.INC"
__CONFIG _HS_OSC & _WDT_ON & _PWRTE_ON & _CP_OFF
ARG0 EQU 0x0C ;引数用変数1
ARG1 EQU 0x0D ;引数用変数2
ARG2 EQU 0x0E ;引数用変数3
SELC EQU 0x0F ;アクション選択カウント変数
FLGS EQU 0x10 ;PICリセット用フラグ
WREGTMP EQU 0x11 ;汎用Wレジスタ退避変数
ACMEM1... |
@file:JvmName("Utils")
@file:JvmMultifileClass
package test
fun commonFun1() {}
// TODO uncomment when generated value will also be private in bytecode
//private val deletedVal1: Int = 20
private fun deletedFun1(): Int = 10
private fun changedFun1(arg: Int) {} |
// Copyright by Barry G. Becker, 2017. Licensed under MIT License: http://www.opensource.org/licenses/MIT
package com.barrybecker4.ui.dialogs
import com.barrybecker4.ui.components.ScrollingTextArea
import javax.swing._
import java.awt._
object OutputWindow {
private val TEXT_FONT = new Font("Times-Roman", Font.PLA... |
#include "modules/sway/mode.hpp"
namespace waybar::modules::sway {
Mode::Mode(const std::string& id, const Json::Value& config) : ALabel(config, "{}") {
label_.set_name("mode");
if (!id.empty()) {
label_.get_style_context()->add_class(id);
}
ipc_.subscribe(R"(["mode"])");
ipc_.signal_event.connect(sigc:... |
# rp
This is a mono-repo.
- [docs](/docs) is the frontend handlebars/bootstrap app deployed from Github pages
- [lambda-app](/lambda-app) is the backend cloudformation/lambda backend
## Deploy Backend
`npm run deploy-backend` |
using System.Threading.Tasks;
using Changey.Models;
namespace Changey.Services
{
internal interface IChangeLogSerializer
{
Task<ChangeLog> Deserialize(string path);
Task Serialize(ChangeLog changeLog, string path);
Task Serialize(Version version, string path, bool header);
}
} |
#include "module.hh"
#include <cassert>
#include <set>
#include <iostream>
#include "ptr_list.hh"
#include "isa.hh"
#include <utils/cli/err.hh>
void Instruction::erase_from_parent() {
parent().erase_ins(ins_iterator_t(this));
}
void Instruction::dump(std::ostream &os) const { isa::dump(*this, os); }
void Basic... |
export NEWS_API_KEY='5ce38f880c884e2488e2cd2e3419c108'
export SECRET_KEY='<Flask WTF Secret Key>'
python3.9 manage.py server
|
package api
// EqChannel defines a channel receiving an array of Entry instance representing
// equivalent file system entries
type EqChannel chan<- []*Entry
// Traversing is a function traversing a hierarchy of file system entries
type Traversing func(conf *Config, src *Source, root *Entry, out chan *Entry) error
/... |
require 'net/http'
module Spectre
module Http
class Request
attr_accessor :uri, :headers, :body, :method, :options
DEFAULT_OPEN_TIMEOUT = 3.freeze
DEFAULT_READ_TIMEOUT = 3.freeze
VALID_REQUEST_METHODS = %i[get post put patch delete].freeze
GET = :get
POST = :post
DELET... |
"use strict";
const path = require("path");
const readdirRecursive = require("fs-readdir-recursive");
const testsPath = path.resolve(__dirname, "to-upstream");
const runWebPlatformTest = require("./run-to-upstream-web-platform-test")(exports, testsPath);
readdirRecursive(testsPath).forEach(runWebPlatformTest);
|
---
name: "APPFORUM Europe"
website: https://www.zebra.com/appforum
location: Prague, Czech Republic
date_start: 2017-06-14
date_end: 2017-06-16
---
|
var precision = 1e-6;
function approxEql(matrixA, matrixB) {
var i = matrixA.length;
while(i--) {
var j = matrixA[0].length;
while(j--) {
if((Math.abs(matrixA[i][j] - matrixB[i][j]) > precision)) {
return false;
}
}
}
return true;
}
module.exports = approxEql; |
name "pummelzacken"
description "Master role applied to pummelzacken"
default_attributes(
:networking => {
:interfaces => {
:internal_ipv4 => {
:interface => "em1",
:role => :internal,
:family => :inet,
:address => "10.0.0.20"
},
:external_ipv4 => {
:inte... |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { LoginComponent } from './Shared/navbar/login/login.component';
import { FlexLayoutModule } from '@angula... |
use crate::graph::NodeContents;
use crate::{Channel, Result, UrbitAPIError};
/// A struct that provides an interface for interacting with Urbit chats
pub struct Chat<'a> {
pub channel: &'a mut Channel,
}
/// A struct that represents a message that is to be sent to an Urbit chat.
/// `Message` provides methods to ... |
<?php
/**
* Molajito Position Class
*
* @package Molajo
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @copyright 2014-2015 Amy Stephen. All rights reserved.
*/
namespace Molajito\Render;
use CommonApi\Render\RenderInterface;
use stdClass;
/**
* Molajito Position Class
*
... |
namespace Hexalith.Roles.Application.ModelViews
{
public record RoleSummaryInformations(string Id, string Name)
{
}
} |
package handler
import (
feedbackfee "fgame/fgame/game/feedbackfee/feedbackfee"
"fgame/fgame/game/player/dao"
"fgame/fgame/game/remote/cmd"
cmdpb "fgame/fgame/game/remote/cmd/pb"
log "github.com/Sirupsen/logrus"
"github.com/golang/protobuf/proto"
)
func init() {
cmd.RegisterCmdHandler(cmd.CmdType(cmdpb.CmdTyp... |
import { testUrl } from "../testUrls";
describe("Order Placed", () => {
it("does not allow direct access by url", () => {
cy.visit(`${testUrl}/orderplaced`);
cy.url().should("not", "include", "/orderplaced");
});
it("allows access through confirming order", () => {
cy.visit(testUrl)... |
package com.esafirm.androidplayground.dagger.example
/**
* This class is scoped in [com.esafirm.androidplayground.dagger.modules.AppModule]
*/
class ScopedClass
|
#!/usr/bin/env bash
if [ -z "${RAFT_HOME}" ]; then
export RAFT_HOME="$(cd "`dirname "$0"`"/..; pwd)"
fi
. $RAFT_HOME/sbin/raft-config.sh
class="me.invkrh.raft.deploy.remote.ServerLauncherSystem"
curr_ins=`ls $RAFT_PID_DIR | grep $class | wc -l`
for ((i=0; i<$curr_ins; i++)); do
"${RAFT_HOME}/sbin"/raft-dae... |
package com.oneliang.ktx.frame.forecaster
import com.oneliang.ktx.util.common.getZeroTime
import com.oneliang.ktx.util.json.toJson
import java.math.BigDecimal
import java.util.*
class ResourceInputItem(
var amount: BigDecimal = BigDecimal(0),
var direction: Int = Direction.IN.value,
var type: Int = Type.P... |
import 'package:flutter/cupertino.dart';
class Player {
String name;
int runs = 0;
int balls = 0;
Player(this.name);
} |
if CONFIG.use_basic_auth == "true"
Rails.application.config.middleware.use Rack::Auth::Basic , "Antiqua v0.1" do | username , password |
valid_username = username == CONFIG.basic_auth_username
valid_password = password == CONFIG.basic_auth_password
valid_username && valid_password
end
end
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Paramore.Brighter.Outbox.MySql;
using Xunit;
namespace Paramore.Brighter.MySQL.Tests.Outbox
{
[Trait("Category", "MySql")]
public class MySqlOutboxBulkAsyncTests : IDisposable
{
... |
include array.validator.ArrayValidator
@class
AppServerValidator(){
@private
_getAppServers(){
local appServers=(
glassfish
jboss
jetty
jonas
resin
tcat
tcserver
tomcat
weblogic
websphere
wildfly
)
echo ${appServers[@]}
}
@private
_validateAppServer(){
local args=(${@})
... |
require 'rexml/document'
require File.expand_path('../../../../spec_helper', __FILE__)
describe "REXML::Document#stand_alone?" do
it "returns the XMLDecl standalone value" do
d = REXML::Document.new
decl = REXML::XMLDecl.new("1.0", "UTF-8", "yes")
d.add decl
d.stand_alone?.should == "yes"
end
# ... |
import { createCategory } from './create-category';
import { authenticatedMiddleware } from '../../../utils/middlewares/authenticatedMiddleware';
export default {
Mutation: {
createCategory: authenticatedMiddleware(createCategory),
},
};
|
/*
* 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
* distribut... |
# ho_operwall.pl
#
# $Id: ho_operwall.pl,v 1.15 2004/10/02 10:10:21 jvunder REL_0_3 $
#
# Part of the Hybrid Oper Script Collection (I hope)
#
# This script grabs all wallops starting OPERWALL and
# reformats them with the "operwall" format, and sends them to
# the 'operwall' window.
#
# ------------------------------... |
import React from 'react';
import Timer from './Timer';
const DisplayTimers = ({ timers }) => {
let key = 0;
return (
<>
{ timers.map(timer => <Timer key={timer._id} timer={timer} />) }
</>
);
};
export default DisplayTimers;
|
# frozen_string_literal: true
RSpec.describe "bundle licenses" do
before :each do
install_gemfile <<-G
source "#{file_uri_for(gem_repo1)}"
gem "rails"
gem "with_license"
G
end
it "prints license information for all gems in the bundle" do
bundle "licenses"
expect(out).to includ... |
import 'package:flutter/material.dart';
import 'package:shortube/api/errorpage.dart';
import 'package:shortube/pages/categorypage.dart';
import 'package:shortube/pages/channelpage.dart';
import 'package:shortube/pages/countrypage.dart';
import 'package:shortube/pages/home.dart';
import 'package:shortube/pages/sortbypag... |
# yamlsh - YAML Parsed in `#!` for shell
(I'm sure there is already a util out there that does this (I couldn't find one,
though admittedly I didn't search very hard), but I'm learning the
Go language and needed the practice, so...)
Parse a yaml file and pass as environment variables to a script from `#!`.
You can d... |
/* ************************************************************************** */
/* * For conditions of distribution and use, * */
/* * see copyright notice in libmng.h * */
/* ***********************************************************************... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { updateItem } from '../../redux/items';
import { fetchUnits } from '../../redux/units';
import { fetchItemTypes } from '../../redux/itemTypes';
import { fetchItemGroups } from '../../redux/itemG... |
create table users
(
id bigint(20) not null primary key auto_increment,
username varchar(50) not null,
password varchar(60) not null,
enabled tinyint(4) not null default '1' comment '用户是否可用',
roles text character set utf8 comment '用户角色,多个角色之间用逗号隔开'
);
insert into users (username, passw... |
class ExprNode {
constructor(name, args = [], language) {
this.name = name;
this.args = args;
this.language = language;
}
}
class StrNode {
constructor(value) {
this.value = value;
}
}
class NumNode {
constructor(value) {
this.value = value;
}
}
class BoolNode {
constructor(value) {... |
using Amazon.Runtime;
using Amazon.SimpleNotificationService;
using Amazon.SimpleNotificationService.Model;
using Amazon.SQS;
using Amazon.SQS.Model;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using SNSMessageAttributeValue = Amazo... |
(defsystem #:trivial-gamekit-tiled
:version "0.0.0"
:description "Tiled/trivial-gamekit integration."
:author "Wilfredo Velázquez-Rodríguez <zulu.inuoe@gmail.com>"
:license "CC0 1.0 Universal"
:serial t
:components
((:file "trivial-gamekit-tiled"))
:depends-on
(#:alexandria
#:trivial-gamekit
#:c... |
# Clean Code
Quick and dirty, throw-away-on-time-use methods to clean migrated Firefly code.
---
This console program reads .cs files and removes
any `if (false)` code |
/*
* @description: 抽离开源版本
* @Author: chuyinlong
* @Date: 2021-08-20 17:29:09
* @LastEditors: chuyinlong
* @LastEditTime: 2021-08-27 09:54:06
*/
import MContent from "@/components/MContent.vue";
import MMain from "@/components/MMain.vue";
interface RouteMeta {
icon: string;
title: string;
islink: number;
... |
namespace Ceres.Spatial.Geometries.UnitTests
{
using System;
using System.Linq;
using NUnit.Framework;
[TestFixture]
public class MultiPointTest
{
[Test]
public void t1()
{
var mp = new MultiPoint(0, new[] { new Point(0, 1, 2) });
var gc = (Geom... |
require 'leveldb-native/leveldb_native'
module LevelDBNative
class DB
include Enumerable
class << self
# Loads or creates a database as necessary, stored on disk at
# +pathname+.
#
# See #make for possible options.
def new pathname, options={}
make path_string(pathname)... |
# frozen_string_literal: true
require "mongoid/timestamps/updated/short"
module Mongoid
module Timestamps
# This module handles the behavior for setting up document updated at
# timestamp.
module Updated
extend ActiveSupport::Concern
included do
include Mongoid::Timestamps::Timeless... |
---
title: Back up Opensea NFTs and earn KOII
permalink: https://blog.koii.network/OpenSea-Tutorial/
number: 8
layout: koii101
---
|
#pragma once
#include <string>
#include <tuple>
namespace open_protocol::api
{
std::tuple<uint32_t, uint32_t, uint32_t> parse_message_prefix_revision(const std::string &s);
}
|
#!/bin/bash
# See http://stackoverflow.com/questions/5119946/find-exec-with-multiple-commands
# for more information about find
# Display recursively all the lines containing 'function' in the project folder
# {} corresponds to the file name
find . -not -path "*/node_modules/*" -name '*.js' \
-exec echo {} \;... |
import {
useMutation,
UseMutationOptions,
useQuery,
UseQueryOptions
} from "react-query";
import { amplifyFetcher } from "../lib/fetcher";
export type Maybe<T> = T | null | undefined;
export type Exact<T extends { [key: string]: unknown }> = {
[K in keyof T]: T[K];
};
export type MakeOptional<T, K extends key... |
import 'package:hetu_script/hetu_script.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
class TableRowAutoBinding extends HTExternalClass {
TableRowAutoBinding() : super('TableRow');
@override
dynamic memberGet(String varName, {Str... |
#!/usr/bin/env bash
# Copyright 2017-2020 Maximilian Huber <oss@maximilian-huber.de>
# SPDX-License-Identifier: MIT
set -euo pipefail
borgCmd="borg"
borgMountDir="/mnt/borgMountDir"
show_help() {
>&2 cat <<EOF
run as:
$0 b[ackup]
-n ALIAS
$0 i[nit]
-n ALIAS -- alias for the backup
... |
/**
*
* Copyright (c) 2018 - present, byteAgenten GmbH, Germany. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = {
color: function (colorString) {
return Snap.getRGB(colorString);... |
-- +migrate Up
ALTER TABLE campaign ADD COLUMN folder_id integer references folder(id);
-- +migrate Down
|
require 'vault-tools/log'
module Vault
# Base class for HTTP API services.
class Web < Sinatra::Base
# List of paths that are not protected thus overriding protected!
set :unprotected_paths, []
# Work with request id out of the box
def call(env)
Thread.current[:request_id] = env['HTTP_X_REQU... |
import 'package:flutter/material.dart';
import './cq-bubble/bubble_widget.dart';
class GuideOverlayEntryFactory1 {
void addGuideOverlayEntrys(BuildContext context) {
List<OverlayEntry> overlayEntryList = List<OverlayEntry>();
var width = MediaQuery.of(context).size.width;
// var height = MediaQuery.of(co... |
---
uid: Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray
---
---
uid: Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray.Count
---
---
uid: Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray.HookUpControlEvents(System.Object)
---
---
uid: Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray.... |
# ReplaceIt
ReplaceIt it's a new gem that can replace strings from a file.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'replace_it'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install replace_it
## Usage
### Replace txt files
To replace one string fro... |
package com.aspose.slides.examples.Presentation.Properties;
import com.aspose.slides.IDocumentProperties;
import com.aspose.slides.Presentation;
import com.aspose.slides.examples.Utils;
public class AccessingBuiltInProperties {
public static void main(String[] args) {
//ExStart:AccessingBuiltInPro... |
package temple.generate.database.ast
/** AST representation for boolean comparisons */
sealed trait ComparisonOperator
object ComparisonOperator {
case object GreaterEqual extends ComparisonOperator
case object Greater extends ComparisonOperator
case object Equal extends ComparisonOperator
case ob... |
import 'package:mockito/mockito.dart';
import 'package:redux/redux.dart';
import 'package:test_api/test_api.dart';
import 'package:berightthere_client/providers/trip_provider.dart';
import 'package:berightthere_client/redux/actions/trip_actions.dart';
import 'package:berightthere_client/redux/actions/location_actions.... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using Steeltoe.Common.Util;
using System;
using System.Text;
namespace Steeltoe.Messaging.Converter
{
p... |
package ssilvalucas.botservice.mapper
import org.springframework.stereotype.Component
import ssilvalucas.botservice.model.entity.Checklist
import ssilvalucas.botservice.web.dto.request.ChecklistRequest
@Component
class ChecklistMapper {
fun requestToEntity(driver: String, request: ChecklistRequest): Checklist {
... |
module EC
class PublicKey
def self.convert( *args, **kwargs )
if args.size==1 && args[0].is_a?( PublicKey )
args[0] ## pass through as is (already a public key)
else
new( *args, group: kwargs[:group] )
end
end
def self.decode_pem( str ) new( str ); end
def self.decode_der( str ) n... |
---
Author: "lingTalfi"
Description: "Simple bash theme with strong color contrasts for comments/finding/selection"
FileName: "bashling.tmTheme"
ID: "bashling"
Title: "bashling"
layout: theme
---
|
. .gitrc # 引入环境变量
# 设定工作目录
cd ${PROJ_GIT_DIR}
# 【更新】指定版本
git fetch
git checkout ${PROJ_GIT_BRANCH}
git pull
# 【更新】子模块
git submodule init
git submodule update
|
package org.firstinspires.ftc.teamcode;
/**
* Created by Miranda on 10/20/2017.
*/
import com.qualcomm.hardware.bosch.BNO055IMU;
import com.qualcomm.hardware.bosch.JustLoggingAccelerationIntegrator;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
i... |
#!/usr/bin/env bash
PROJECT_ID=${1}
CONFIG_CONTROLLER_NAME=${2}
LOCATION=${3}
SA_OUTPUT_FILE=${4}
print_message(){
export MSG_TO_PRINT=${1}
echo "############################################"
echo $MSG_TO_PRINT
echo "############################################"
}
main(){
print_message "Creating ... |
* Resident clock programs 1985 T.Tebby QJUMP
*
section exten
*
xdef tm_susrc
*
include dev8_sbsext_ext_keys
*
* suspend and read clock (time in d3)
*
tm_susrc
moveq #mt.susjb,d0 suspend
moveq #myself,d1 myself
suba.l a1,a1 ... |
#!/bin/bash -x
g++ -fpermissive \
../../metrics-discovery/instrumentation/metrics_discovery/common/md_calculation.cpp \
../../metrics-discovery/instrumentation/utils/common/iu_debug.c \
../../metrics-discovery/instrumentation/utils/linux/iu_os.cpp \
../../metrics-discovery/instrumentation/utils/linux/iu_std.cpp \
../.... |
using System;
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
namespace SharePointPnP.PowerShell.Commands.Workflows
{
[Cmdlet(VerbsCommon.Remove, "PnPWorkflowDefinition")]
[Cmdle... |
# This script computes the MFCC features for automatic speech recognition
#
# You need to complete the part indicated by #### so that the code can produce
# sensible results.
#
# Ning Ma (n.ma@sheffield.ac.uk)
#
import matplotlib.pyplot as plt
import scipy.io.wavfile as wav
import numpy as np
from scipy.fftpack import... |
using Aurora.Models.Primitives;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aurora.Models.Derived
{
/// <summary>
/// Describes a Student Object and its associated properties
/// ... |
<?php
namespace Medicaments\Controller;
use CmsIr\System\Util\Inflector;
use Medicaments\Form\MedicamentsForm;
use Medicaments\Form\MedicamentsFormFilter;
use Medicaments\Model\Medicaments;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
use Zend\Authentication\Adapter\DbTable as AuthA... |
import { Recording } from "./recording.model";
export interface UserRecording{
from: string,
to: string,
page_count: number,
page_size: number,
total_records: number,
next_page_token: string,
meetings: Recording[]
} |
using System;
using System.Linq;
using FubuMVC.Core.Registration;
namespace FubuMVC.Diagnostics.Features.Html.Preview
{
public class PreviewModelTypeResolver : IPreviewModelTypeResolver
{
private readonly BehaviorGraph _graph;
public PreviewModelTypeResolver(BehaviorGraph graph)
... |
package coop.rchain.models.either
import coop.rchain.either.EitherAny
import coop.rchain.models.StacksafeMessage
import scalapb._
object EitherAnyHelper {
def pack[A <: StacksafeMessage[A]](generatedMessage: A): EitherAny =
pack(generatedMessage, "type.rchain.coop/")
def pack[A <: StacksafeMessage[A]](
... |
import { foo } from "./foo";
export const bar = foo;
|
use nom::{
bytes::complete::take_until,
character::complete::{anychar, multispace0, one_of},
combinator::recognize,
error::ErrorKind,
multi::many1,
sequence::tuple,
IResult,
};
use std::{
fmt,
io,
iter::{self, FromIterator},
path::Path,
};
use horrorshow::html;
use horrorsh... |
<?php
return[
'careers'=>'التوظيف',
'notice'=>'في حالة رغبتك في الانضمام إلى فريق عمل ريق النحل, يرجى ملئ البيانات التالية',
'email'=>'البريد الألكترونى',
'job_title'=>'المسمى الوظيفي',
'years'=>'سنوات الخبره',
'date_of_birth'=>'تاريخ الميلاد',
'cv'=>'رفع السيرة الذاتية الملفات المسموح بها... |
%%
%% %CopyrightBegin%
%%
%% Copyright Ericsson AB 2006-2021. 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
%... |
# Changelog
0.9.10 (unreleased)
-------------------
- Nothing changed yet.
0.9.9 (2020-05-06)
------------------
- Fix healthchecks after Django upgrade
0.9.8 (2020-05-05)
------------------
- Fix PyPI packaging
0.9.7 (2020-05-05)
------------------
- Upgrade dependencies
- Remove yarn in favor of npm
- Fix ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.