text stringlengths 27 775k |
|---|
PTHR11063.mag.mod GLUTAMATE SEMIALDEHYDE DEHYDROGENASE
PTHR11063.SF3.mod GLUTAMATE SEMIALDEHYDE DEHYDROGENASE
PTHR11063.SF5.mod GAMMA-GLUTAMYL PHOSPHATE REDUCTASE
PTHR11063.SF4.mod GAMMA-GLUTAMYL PHOSPHATE REDUCTASE-LIKE PROTEIN
PTHR11063.SF7.mod GLUTAMATE 5-KINASE 2
PTHR11063.SF1.mod GLUTAMATE SEMIALDEHYDE DEHYDROGENA... |
using System;
using Aspose.Cells.Pivot;
namespace Aspose.Cells.Examples.CSharp.PivotTables
{
class PivotTableSaveInODS
{
public static void Run()
{
// ExStart:1
string outputDir = RunExamples.Get_OutputDirectory();
// Instantiating a Workbook ob... |
{-# LANGUAGE OverloadedStrings #-}
-- | Provides a rather raw interface to the websocket events
-- through a real-time Chan
module Discord.Internal.Gateway
( GatewayHandle(..)
, CacheHandle(..)
, GatewayException(..)
, Cache(..)
, startCacheThread
, startGatewayThread
, module Discord.Internal.Types
... |
// Copyright (c) Open Enclave SDK contributors.
// Licensed under the MIT License.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include <ctype.h>
#include <myst/buf.h>
#include <myst/elf.h>
#include <myst/round.h>
#include <myst/strings.h>
#include <stdio.h>
#include <stdlib.h>
#include... |
// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'dart:async';
import 'package:_fe_analyzer_shared/src/macros/api.dart';
import 'dart:collection'... |
package nulls
/**
* Created by rux on 02/05/17.
*/
fun main(args: Array<String>) {
run()
}
fun run() {
display("kotlin", 6)
// display(null, 6)
// ^^^ try to uncomment, you won't able to compile code
}
fun display(lang: String, age: Int) {
println("${lang.toUpperCase()} is $age years old")
}
|
package e3x
// Module must be implemented by endpoint modules.
type Module interface {
// Init is called after the creating the endpoint and before openeing the endpoint transport.
Init() error
// Start is called after opening the endpoint transport.
Start() error
// Stop is called before closing the endpoint t... |
abstract class ControlMessage {}
abstract class ControlResponse {}
class Stop extends ControlMessage {}
class Stopped extends ControlResponse {}
class InitComplete extends ControlResponse {}
|
using System;
namespace Cbn.Infrastructure.Common.Configuration.Interfaces
{
/// <summary>
/// IConfig
/// </summary>
public interface IConfig
{
/// <summary>
/// SystemClockの日時を指定する
/// </summary>
DateTime? SystemDateTime { get; }
}
} |
import * as _ from 'lodash';
import { Base } from './base';
export class Locator extends Base {
private _dartString: string;
constructor(fileName: string, suffix?: string) {
super(fileName, suffix);
this._dartString = `import '../core/logger.dart';
import '../core/services/navigator_service.dart';
impor... |
# cursoPracticoJavascript
Curso de platzi
...
## TALLER #1: Figuras Geométricas
- Primer paso: Definir las fórmulas
- Segundo paso: Implementar las fórmulas en JavaScript
- Tercer Paso: Crear funciones
- Cuarto paso: Integrar JavaScrip con HTML
## TALLER #2: Porcentajes y Descuentos
- Primer paso: De... |
# secret_santa
Give list of names and emails to set up secret santa in a house, work-place, etc.
|
#include <iostream>
#include <vector>
using namespace std;
const int maxn = 501;
long long dp[maxn + 1][maxn + 1];
void init_dp()
{
for (int i = 3; i <= maxn; ++i)
{
for (int j = )
}
}
int main()
{
init_dp();
int n;
cin >> n;
cout << dp[n][n];
} |
declare module "@salesforce/schema/OutgoingEmailRelation.ExternalId" {
const ExternalId:string;
export default ExternalId;
}
declare module "@salesforce/schema/OutgoingEmailRelation.Id" {
const Id:any;
export default Id;
}
declare module "@salesforce/schema/OutgoingEmailRelation.OutgoingEmail" {
const Outgoin... |
import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.*;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.rules.ExpectedException;
public class HammingTest {
@Rule
public ExpectedException thrown = ExpectedException.none();
@Test
public ... |
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* ---------------------------------------------------------------... |
/**
@module index.js
@author mtarkiai
@since 2/27/15
*/
var eventstream = require('event-stream'),
dutil = require('./lib/util');
var DELIMITER = '.';
module.exports = function(jflo) {
jflo.flow("analyze", function(config) {
var params = config.params || {};
var groupby_fiel... |
#!/bin/bash
./edit_log.sh received.log
mv new_received.log $1.csv
rm received.log
|
<?php declare(strict_types=1);
namespace App\OpenApiSpecification\ApiComponents\ComponentsLink;
use App\OpenApiSpecification\ApiComponents\ComponentsLink;
use App\OpenApiSpecification\ApiComponents\ComponentsLink\Link\LinkKey;
use App\OpenApiSpecification\ApiComponents\ComponentsLink\Link\LinkOperationId;
use App\Ope... |
require 'spec_helper'
property[:os] = nil
set :os, :family => 'openbsd'
describe get_command(:check_service_is_enabled, 'httpd') do
it { should eq '/etc/rc.d/httpd status' }
end
describe get_command(:check_service_is_running, 'httpd') do
it { should eq '/etc/rc.d/httpd check' }
end
|
# spring-boot-CRUD-with-thymeleaf
[](https://opensource.org/licenses/MIT)
spring boot thymeleaf CRUD example.
create Database crud_101 in mysql.
set MYSQL user and password in application.properties file.
Run: localhost:8080
# Welcome Page
!... |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Jan 10 15:14:34 2020
@author: colosu
"""
# Pythono3 code to rename multiple
# files in a directory or folder
# importing os module
import os
from shutil import copyfile
i = 1
path = "TestsWM"
os.makedirs(path)
path1 = "Codeflaws"
path2 = "Coreb... |
---
layout: page
title: How to download apk files on this site?
excerpt: step by step download file from mediafire, drive, mega, android filehost, zippyshare, nofile, etc
---
|
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using RoboFan.Domain.Entities;
namespace RoboFan.Domain.Repositories
{
public interface ILeagueTeamRepository : IDisposable
{
Task<List<LeagueTeam>> GetAllAsync(CancellationToken ct = default);
Task<Leagu... |
/*
Copyright 2016 by Charles Anthony
All rights reserved.
This software is made available under the terms of the
ICU License -- ICU 1.8.1 and later.
See the LICENSE file at the top-level directory of this distribution and
at https://sourceforge.net/p/dps8m/code/ci/master/tree/LICENSE
*/
#define FNP_NOLINK (-... |
package main
import (
"testing"
"github.com/go-git/go-git/v5/plumbing"
"github.com/stretchr/testify/require"
)
func Test_isFullReference(t *testing.T) {
t.Run("full branch reference", func(t *testing.T) {
ref := plumbing.ReferenceName("refs/heads/foo")
require.True(t, isFullReference(ref))
})
t.Run("full ... |
json.extract! @query, :id, :text, :executed, :created_at, :updated_at
|
package ru.mipt.npm.gradle
import kotlinx.atomicfu.plugin.gradle.AtomicFUGradlePlugin
import org.gradle.api.Project
import org.gradle.api.plugins.ApplicationPlugin
import org.gradle.kotlin.dsl.apply
import org.gradle.kotlin.dsl.findByType
import org.gradle.kotlin.dsl.withType
import org.jetbrains.kotlin.gradle.dsl.Kot... |
// See LICENSE for license details.
import chisel3._
import chisel3.util._
/** 7セグメントLED用のバンドル
*/
class Seg7LEDBundle extends Bundle {
/** 各セグメントの点灯用。0〜7をCAからCGに対応させる事。0の時に点灯、1の時に消灯します。 */
val cathodes = UInt(7.W)
/** 小数点用。0の時に点灯、1の時に消灯。 */
val decimalPoint = UInt(1.W)
/** 桁の選択用。0の桁が点灯、1の桁が消灯。 */
val an... |
---
title: lvgl
keywords: maixpy, k210, AIOT, edge computing
desc: maixpy doc: LittlevGL
---
**It is not recommended to use this module now, please have sufficient development level, and will not accept questions about the sharing of LVGL and AI functions, thank you for your cooperation (December 11, 2020)**
Please ... |
# Manage a user's stream subscriptions
## View a user's stream subscriptions
!!! warn ""
Note that the list of a user's **Subscribed streams** will be limited to
streams for which [you can see all subscribers](/help/stream-permissions).
{start_tabs}
{!right-sidebar-view-full-profile.md!}
1. Select the... |
module Acceptance
module Features
class UserPreferences
def destroy
system "rm -rf tmp/"
end
def present?
Dir.glob("tmp/RubyminePrefs/**/*").any? { |path| File.file?(path) }
end
end
end
end
|
# frozen_string_literal: true
module Dor
module Services
class Client
# API call that queries the members of a collection.
class Members < VersionedService
Member = Struct.new(:externalIdentifier, :type, keyword_init: true)
# @param object_identifier [String] the pid for the object
... |
import axios from "axios";
import { getInput, setFailed } from "@actions/core";
import { context } from "@actions/github";
const LINEAR_API_URL = "https://api.linear.app/graphql";
async function main() {
const { issue } = context.payload;
if (!issue) {
throw new Error("Could not find current issue");
}
a... |
{-@ LIQUID "--plugin=Control.Process.MessagePassing.PostPlugin" @-}
{-@ LIQUID "--no-termination" @-}
{-@ LIQUID "--no-eliminate" @-}
{-@ LIQUID "--exactdc" @-}
module WorkStealing where
import Control.Process.MessagePassing
data PidList = Emp | PList Pid PidList
data Message = Task Int | DONE
instance RecvMsg Message... |
To upgrade to {% data variables.product.prodname_enterprise %} or to get started with an enterprise account, contact {% data variables.contact.contact_enterprise_sales %}.
|
namespace Notidar.Mongo2Elastic
{
public interface IStateRepository
{
Task<ReplicationState?> TryLockStateAsync(
Guid replicatorId,
DateTime lockExpirationDateUtc,
CancellationToken cancellationToken = default);
Task TryUnlockStateAsync(
Guid rep... |
import configparser
import copy
import random
import unittest
import uuid
from datetime import datetime
from pathlib import Path
from TM1py.Objects import Chore, ChoreStartTime, ChoreFrequency, ChoreTask, Process
from TM1py.Services import TM1Service
from .Utils import skip_if_insufficient_version
class TestChoreSer... |
using UnityEngine;
using Unity.Entities;
using Unity.Jobs;
using Unity.Burst;
using Unity.Transforms;
using Unity.Collections;
using Unity.Mathematics;
namespace Gravity.ECS
{
[UpdateInGroup(typeof(SimulationSystemGroup))]
public class VelocitySystem : JobComponentSystem
{
protected override JobH... |
const CategoryService = {
getAllCategories: () =>
`
`,
};
export default CategoryService;
|
class ManageIQ::Providers::Nsxt::Inventory::Parser::NetworkManager < ManageIQ::Providers::Nsxt::Inventory::Parser
def parse
network_services
network_routers
cloud_networks
security_groups
security_policies
end
def network_services
collector.services.each do |service|
network_service... |
<?php
namespace Apns;
use PHPUnit\Framework\TestCase;
class ClientTest extends TestCase
{
public function testCreateSandbox()
{
$client = new Client('', true);
$this->assertContains('development', $client->getServer());
}
/**
* @dataProvider dataValidSslCert
*/
public f... |
---
layout: post
title: Yerba Buena
---

Greenfield project completed remotely with a team during solo week at Hack Reactor.
Check out the [code](https://github.com/CradleAndGrave/YerbaBuena).
|
const { Router } = require('express');
const { encryptPassword } = require('./utils/bcrypt');
const jwtProtected = require('express-jwt');
const authRoutes = require('./auth/routes');
const userRoutes = require('./user/routes');
const weightRoutes = require('./weight/routes');
const api = new Router();
api.get('/', ... |
import { compDefinition } from './component.definition';
import ts from 'typescript';
import { asAst } from '../ast-utils/parser';
import { find } from '../ast-utils/scanner';
import { CompDefinition } from './types';
export const getCompDef = (code: string) => {
const ast = asAst(code, true);
const tsxairNode... |
module Git.Repository where
import Git.Config
data Repository = Repository Path Path Config
newtype Path = Path String
|
@if(count($errors->get($path))> 0)
<ul class="form-element-errors">
@foreach ($errors->get($path) as $error)
<li>{!! $error !!}</li>
@endforeach
</ul>
@endif
|
/*
* Copyright (C) 2016-2018 Lightbend Inc. <http://www.lightbend.com>
*/
package akka.stream.alpakka.kinesis
import KinesisFlowSettings._
import scala.concurrent.duration.FiniteDuration
import scala.concurrent.duration._
case class KinesisFlowSettings(parallelism: Int,
maxBatchSize:... |
# A* and N Queen Algorithm
## Usage
### A*
```
./AStarAndNQueenGeneticAlgorithm astar HEURISTIC_ALGORITHM
```
Replace `HEURISTIC_ALGORITHM` with the following options:
- `1` - Euclidean distance
- `2` - Diagonal distance
- `3` (Default) - Manhattan distance
### NQueen
```
./AStarAndNQueenGeneticAlgorithm nqueen ... |
"""Module containing utilities for flask smorest APIs."""
from typing import Any
from .jwt import JWTMixin
from flask_smorest import Blueprint
import marshmallow as ma
class SecurityBlueprint(Blueprint, JWTMixin):
"""Blueprint that is aware of jwt tokens and how to document them.
Use this Blueprint if you wa... |
#!/usr/bin/env -S deno run --unstable
import { parse } from "../../keycode/key_code.ts";
console.log(
parse(
"\x1b[A\x1b[B\x1b[C\x1b[D\x1b[E\x1b[F\x1b[H",
),
);
|
package com.typesafe.akka.sample.softrank.camel
import org.apache.camel.impl.{DefaultExchange, DefaultCamelContext}
import akka.actor.{Actor, Props}
import com.typesafe.akka.sample.softrank.Result
import akka.agent.Agent
import org.apache.camel.component.twitter.TwitterComponent
import com.typesafe.akka.sample.softran... |
#_{ Encoding and name
=encoding utf8
=head1 NAME
Csound::ScoreStatement
L<http://www.csounds.com/manual/html/ScoregensTop.html>
=cut
#_}
package Csound::ScoreStatement::t;
use warnings;
use strict;
use 5.10.0; # state
use Carp;
use Csound::ScoreStatement;
our $VERSION = $Csound::VERSION;
our @ISA = qw(Csoun... |
#![no_implicit_prelude]
const _: ::core::primitive::u32 = ::ink_lang::selector_id!("test");
fn main() {}
|
using alunos_api.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace alunos_api.Services
{
public interface IAlunoService
{
Task<IEnumerable<Aluno>> GetAlunos();
Task<Aluno> GetAluno(int id);
Task<IEnumerable<Aluno>> GetAlu... |
---
cconlynote: ""
title: Article with image
date: 2019-05-29T10:08:38.444Z
description: Article with image
directory: Basic Articles
priority: 1
---
Article with Image
Image

|
import 'package:fish_redux/fish_redux.dart';
import 'package:flutter/material.dart' hide Action;
import 'package:flutter/widgets.dart' hide Action;
import '../common/consts/page_names.dart';
import '../global_store/global_state.dart';
import '../global_store/global_store.dart';
import 'about_page/about_page.dart';
imp... |
# Zsh Configurations

## Features
- minimal
- builtin plugin manager(just requires 9 line long of function)
- git support in prompt
- cool aliases
- handy shortcuts
## Installation
### Method 1
Follow following c... |
package action
import "github.com/pkg/errors"
var (
// ErrReplacementNotFound :
ErrReplacementNotFound = errors.New("replacement not found")
// ErrTargetNotFound :
ErrTargetNotFound = errors.New("target not found")
)
// IsNoEffect :
func IsNoEffect(err error) bool {
switch errors.Cause(err) {
case ErrReplaceme... |
import java.io.IOException
import java.nio.file._
import sbt._
object InstallCommand {
// The logger used for the program.
private lazy val logger = ConsoleLogger()
// Config values.
val manifestPath = "install_manifest.txt"
val deployPath = "/usr/local/bin/clasp"
val bash = """#!/usr/bin/env bash
CLASPPA... |
package com.storemaker.scanstore.viewmodels
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.storemaker.scanstore.network.models.Users
import com.storemaker.scanstore.repositories.UserRepository
import kotlinx.coroutines.Dispatchers
impor... |
#!/bin/bash
robotenv=$(env | grep robotenv | grep -oe '[^=]*$')
testtarget=$(env | grep testtarget | grep -oe '[^=]*$')
echo "**Setup testing parameter for $robotenv**"
echo "**Test Target: $testtarget**"
echo "Calling script to create virtual display"
chmod +x src/test/selenium-robot/Xvfb.sh
sh src/test/selenium-rob... |
# Copied from VectorLH
using StatsBase # for countmap
"""
count_elem()
Count the number of times each element occurs in a vector
NaN is kept as a separate value unless `omitNan` is set
OUT
outM
matrix with values and counts as columns
"""
function count_elem(xV :: Array{T,1}, omitNan = false) where T <... |
package com.novoda.gol.terminal
import com.novoda.gol.presentation.AppTerminalView
fun main(args: Array<String>) {
AppTerminalView().onCreate()
while (true){
}
}
|
package com.taohj.fms.util;
public enum FlowType {
INCOME("1"), PAY("2");
private String value;
private FlowType(String value) {
this.value = value;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}
|
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE LambdaCase #-}
module Language.Llama.Common.Types (
CanApply(..), FromBaseType(..), Normalize(..), FreeVars(..), Type(..)
, BaseType(..), Polytype(..), Context(..), Assertion(..)
, isCon... |
package cache
import (
"fmt"
"os"
"sync"
"testing"
"time"
"fyne.io/fyne/v2"
"github.com/stretchr/testify/assert"
)
func TestMain(m *testing.M) {
ret := m.Run()
testClearAll()
os.Exit(ret)
}
func TestCacheClean(t *testing.T) {
destroyedRenderersCnt := 0
testClearAll()
tm := &timeMock{}
for k := 0; k <... |
define(["./unitjs"], function(unitjs)
{
function TestSuite() {
function runNextTestCase() {
api.testCases[++api.currentTestCase]
? api.testCases[api.currentTestCase].run(api)
: done();
}
function done() {
api.timeEnd = unitjs.now();
if (api.isPassed == null)
api.isPassed = true;
api.c... |
package common
import (
"bytes"
pb "gameServer-demo/src/grpc"
"strconv"
"github.com/golang/protobuf/proto"
)
func getRoomCodeInfo(roomCode string) (*pb.RoomCodeInfo, *pb.ErrorMessage) {
extroInfo := &pb.MessageExtroInfo{}
redisRequest := &pb.RedisMessage{}
redisRequest.Table = RedisRoomCodeInfoTable
redisReq... |
import { html2markdown } from '../../src'
describe('images', () => {
it('simple img', () => {
const html = '<img src="https://www.website.test/image.jpg" />'
const expected = ""
const md = html2markdown(html)
expect(md).toBe(expected)
})
... |
/*
* Copyright (c) 2018 Tuukka Norri
* This code is licensed under MIT license (see LICENSE for details).
*/
#ifndef LIBBIO_ALGORITHM_UNIQUE_COUNT_HH
#define LIBBIO_ALGORITHM_UNIQUE_COUNT_HH
#include <algorithm>
#include <iterator>
#include <libbio/assert.hh>
#include <utility>
namespace libbio { namespace detai... |
# graphx-layouts
Lets layout large graphs using GraphX and Spark
The first algorithm is the force firected layout inspired by the
paper from Fruchterman and Reingold. Jung and Gephi offer this algorithm,
so we should have a scalable version of it also in the Spark world.
|
---
layout: default
---
> Looking for Internship for Summer 2017
```
Code hard and Dream big.
```
Nick is a Ph.D. student in the Department of Computer Science and
Engineering at Texas A&M University. His research focuses on Serverless
architecture and Internet-of-Things.
I love new technologies.
Besides, I run a ... |
import random
from termcolor import colored
lower = "qwertyuıopğü,işlkjhgfdsa<zxcvbnmöç"
upper = "QWERTYUIOPĞÜ,İŞLKJHGFDSAZXCVBNMÖÇ"
numbers = "1234567890"
symbols = "!'^+%&/()=?~'||\}][{¾½½$#$£>é_,.:;<>"
while 1:
try:
total = lower+upper+numbers+symbols
length = random.randint(16,40)
... |
#!/bin/bash
/usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin $1 $2
/usr/local/emhttp/plugins/community.applications/scripts/updatePluginSupport.php
|
# CSS中常见的6种文本样式
  CSS文本样式是相对于内容进行的样式修饰。由于在[层叠关系](http://www.cnblogs.com/xiaohuochai/p/5304619.html#anchor2)中,内容要高于背景。所以文本样式相对而言更加重要。有些人对文本和[字体样式](http://www.cnblogs.com/xiaohuochai/p/4986285.html)之间的不同不太了解,简单地讲,文本是内容,而字体则用于显示这个内容。本文将详细介绍文本相关样式
### 首行缩进
**定义**
  首行缩进是将段落的第一行缩进,这是常用的文本格式化效... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>Test Form</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class BullionPrice extends Model
{
private $previous;
protected $table='bullion_price';
protected $fillable = ['type_id', 'bullion_id', 'price'];
public function type()
{
return $this->belongsTo('App\Mode... |
//! A guaranteed-to-be-cohesive in memory **direction-aware** [`Map`](`core::iter::Map`) re-implementation.
use core::iter::FusedIterator;
/// A [`Map`](`core::iter::Map`) re-implementation that tells its closure the direction it runs in
/// each time [`Iterator::next`] or [`DoubleEndedIterator::next_back`] is called... |
package visdom.adapters.dataset.schemas
import visdom.adapters.schemas.BaseSchema
import visdom.adapters.schemas.BaseSchemaTrait2
import visdom.spark.FieldDataModel
import visdom.utils.GeneralUtils.toIntOption
import visdom.utils.GeneralUtils.toStringOption
import visdom.utils.SnakeCaseConstants
import visdom.utils.Tu... |
require_dependency 'home_automation/router'
class DashboardController < ApplicationController
before_filter :authenticate_user!
def index
@users = User.all.order(uid: :asc)
end
end
|
using System;
using static Blocks.Constants;
using static Blocks.Pieces;
namespace Blocks
{
public class Engine
{
private int curRow;
private int curCol;
private Arr curPiece;
private readonly Random rnd = new();
private Arr board = new(BOARD_ROWS, BOARD_COLS);
... |
import 'package:travel_app/models/activities.dart';
class Destination {
String imageUrl;
String city;
String country;
String description;
List<Activity> activities;
Destination({
required this.imageUrl,
required this.city,
required this.country,
required this.description,
required this... |
/*
Vantagens:
- Rapidez na prototipagem e na execução
- Alta escalabilidade
- Aplicações de ponta
- JS em todas partes da aplicação
- Ecosistema gigante
*/ |
package com.chiclaim.play.android.funcs.article
import androidx.lifecycle.viewModelScope
import com.chiclaim.play.android.base.BaseViewModel
import com.chiclaim.play.android.bean.ro.ArticleListRO
import com.chiclaim.play.android.bean.vo.ArticleVO
import com.chiclaim.play.android.exception.ApiException
import com.chicl... |
import dwetl.data_quality_utilities as dqu
from functools import partial
import pdb
import pprint
class DataQualityInfo:
"""
This object represents a single "dataquality_info" stanza from the table config JSON
"""
def __init__(self, json_config):
self.exception_message = json_config['exception_... |
/*
* Copyright(C) 2021 hikyuu.org
*
* Create on: 2021-05-01
* Author: fasiondog
*/
#pragma once
#include <string_view>
#include <unordered_map>
#include "moFileReader.hpp"
#if defined(_MSC_VER)
// moFileReader.hpp 最后打开了4251告警,这里关闭
#pragma warning(disable : 4251)
#endif /* _MSC_VER */
namespace hku {
cla... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
'use strict'
var test = require('tap').test
var requireInject = require('require-inject')
var Plumbing = requireInject('../plumbing.js', {
'../render-template.js': function (width, template, values) {
if (values.x) values.x = values.x // pull in from parent object for stringify
return 'w:' + width + ', t:' + ... |
const signToken = require('./signToken');
const Database = require('../../../database');
const ERRORS = require('../errors');
async function createAccessTokenFromAccountId(accountId, config = {}, options = {}) {
const account = await Database.functions.auth.getAccountFromId(accountId, options);
if (!account) {
... |
package logic
import (
"context"
"errors"
"strings"
"github.com/oscto/ky3k"
"account.oscto.icu/metadata"
account "account.oscto.icu/proto/handler"
)
func (u *Logic) Register(ctx context.Context, req *account.RegisterRequest, rsp *account.RegisterResponse) error {
if u.repository.UserEmailExist(req.Email) {... |
using MailKit.Net.Smtp;
using Microsoft.Extensions.Configuration;
using MimeKit;
namespace translate_spa.Clients
{
public class MailClient
{
private readonly string _url = Startup.Configuration.GetSection("EmailConfig")["ServerAddress"];
private readonly string _username = Startup.Configurati... |
package org.mtg.screen.settings
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import kotlinx.android.synthetic.main.fragment_settings.*
import org.koin.android.viewmodel.ext.and... |
<?hh
function foo(keyset<string> $k): KeyedContainer<string, string> {
return $k;
}
|
var a04402 =
[
[ "NetworkBuilder", "a04402.html#a8159a54daae50eeacbd4a508423a01d7", null ],
[ "BuildFromString", "a04402.html#a1a5ff6666ac3bb5239b41df2d10cfdc3", null ]
]; |
import { Injectable } from '@angular/core';
import 'rxjs/add/operator/catch';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/mergeMap';
import 'rxjs/add/observable/of';
import { Observable } from 'rxjs/Observable';
import { Storage } from '@ionic/storage';
import { Platform } from 'ionic-angular';
@Injectab... |
<?php
$upload_services[]="uafile.com";
$max_file_size["uafile.com"]=750;
$page_upload["uafile.com"] = "uafile.com.php";
?> |
package com.domain.example;
import pt.lsts.neptus.console.ConsoleLayer;
import pt.lsts.neptus.loader.NeptusMain;
import pt.lsts.neptus.plugins.PluginDescription;
import pt.lsts.neptus.plugins.PluginsRepository;
@PluginDescription(name="Example Console Layer")
public class ConsoleLayerExample extends ConsoleLayer {
... |
import 'package:flutter/cupertino.dart';
class Category {
String iconUrl;
String name;
bool featured;
Category({
@required this.name,
@required this.iconUrl,
@required this.featured,
});
factory Category.fromJson(Map<String, dynamic> json) {
return Category(
featured: json['featured'... |
class CardModelSerializer < ActiveModel::Serializer
attributes :id, :short_name, :name, :anki_css, :cloze
has_many :card_model_fields
has_many :card_model_templates
end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.