text
stringlengths
27
775k
--- layout: blog book: true title: "Test post 1" background: green background-image: http://ot1cc1u9t.bkt.clouddn.com/17-7-15/78939382.jpg date: 2017-07-03 23:13:54 category: Yes tags: - Posts --- Lorum ipsum
/** * A chatting software implemented in java * @author Dhaval Kapil * MIT license http://www.opensource.org/licenses/mit-license.php */ package dhaval.client; import java.net.*; import java.io.*; import dhaval.accessory.*; class Connection { // Connecting port private static final int port = 9999; // Offi...
#!/usr/bin/python # -*- coding: utf-8 -*- # copyright Julien TREBOSC 2017-2018 from __future__ import division import sys #sys.path.append('/opt/pulse_programs/CpyLib') import brukerIO import numpy.core as np # arguments management import argparse descriptProg = """ Reverse UDEFT FID for easy processing of refocused ...
using EFT.InventoryLogic; using EFT.Trainer.Configuration; using EFT.Trainer.Extensions; using EFT.Trainer.UI; using UnityEngine; #nullable enable namespace EFT.Trainer.Features { public class Hud : ToggleMonoBehaviour { [ConfigurationProperty] public Color Color { get; set; } = Color.white; protected overr...
// eslint-disable-next-line import 'dom-testing-library/extend-expect' import React from 'react' import PropTypes from 'prop-types' import {renderWithRedux} from '../../../../utils/test' import {EntityList} from './helpers/EntityComponents' const renderWithReduxState = (ui, configObj = {}) => renderWithRedux(ui, { ...
// Copyright 2018 The Flutter Architecture Sample Authors. All rights reserved. // Use of this source code is governed by the MIT license that can be found // in the LICENSE file. import 'dart:async'; import 'package:mockito/mockito.dart'; import 'package:mvi_base/mvi_base.dart'; import 'package:mvi_base/src/models/m...
# Forced SIR You can view this notebook by running a web server in this directory and visiting it as a webpage. For example: ```sh python -m SimpleHTTPServer # Then, visit http://localhost:8000. ``` Or, use the [Notebook Runtime API](https://github.com/observablehq/notebook-runtime) to integrate directly with forced...
#![cfg(feature = "d3dcompiler")] use crate::d3d::{Blob, IInclude, IncludeType, ShaderMacro}; use crate::impl_bitflag_operators; use crate::result::ErrorMessage; use com_ptr::ComPtr; use winapi::ctypes::c_void; use winapi::shared::minwindef::LPCVOID; use winapi::shared::winerror::*; use winapi::um::d3dcommon::{ID3DIncl...
import { NextFunction, Request, Response } from "express"; /** * Middleware that removes the trailing slash at the end of a request path. * /login/ ----> /login * * @param req * @param res * @param next */ export function removeTrailingSlash(req: Request, res: Response, next: NextFunction): void { if (req.pa...
using System; using System.Security.Cryptography; using System.IO; using System.Text; namespace Wve { /// <summary> /// object with encryption tools /// </summary> public class WveCrypto { /// <summary> /// a static implementation of the standard SHA-1 hash algorythm ...
import React, { CSSProperties } from 'react'; import { Table } from 'antd'; import Container from '../container'; import ActionButtons, { ActionProps } from '../action-buttons'; import Tip, { TipProps } from '../tip'; import FilterForm, { FilterFormProps } from '../filter-form'; import { TableProps } from 'antd/lib/tab...
namespace HareDu.Model { using System.Text.Json.Serialization; public record QueueMessageStats { [JsonPropertyName("publish")] public ulong TotalMessagesPublished { get; init; } [JsonPropertyName("publish_details")] public Rate MessagesPublishedDetails { get; init; } ...
### 核心组件(目录说明) | 组件名称 | 描述 | 是否全局组件 | 使用建议 | | --- | --- | --- | --- | | DraggableModal | `可拖拽弹窗`基于 a-modal 二次封装的可拖拽模态框,基本使用方式与 antdv 的 a-modal 保持一致 | 否 | 有弹窗拖拽需求的可以使用此组件 | | SearchTable | `动态表格`基于 a-table 二次封装的表格,基本使用方式与 antdv 的 a-table 保持一致 | 否 | 根据自己需求调整,建议全局使用统一的表格封装组件 | | SchemaForm | `动态表单`基于 a-form 二次封装。通过 JSON...
package arrow.meta.plugins.analysis.phases.analysis.solver.ast.kotlin.elements import arrow.meta.plugins.analysis.phases.analysis.solver.ast.context.elements.Expression import arrow.meta.plugins.analysis.phases.analysis.solver.ast.context.elements.IfExpression import arrow.meta.plugins.analysis.phases.analysis.solver....
/* $Id$ */ /*************************************************************************** * (C) Copyright 2003-2010 - Stendhal * *************************************************************************** *************************************************************************** ...
-module(oai_pmh). -export([ import_file/2, import/2, import/3 ]). -include("zotonic.hrl"). -include_lib("xmerl/include/xmerl.hrl"). -record(import, {endpoint = undefined, context = undefined, resumption_token = undefined, records = undefined, ...
package com.edgar.designpattern.proxy.order; import java.sql.*; import java.util.LinkedList; public class DB { private static Connection con; public static void init() throws Exception { Class.forName("com.mysql.jdbc.Driver"); con = DriverManager.getConnection("localhost", "root", "csst"); } ...
--- layout: page title: About permalink: /about/ --- Hi there! :) I am Marcin and I work as a Software Engineer - living in Cracow. Technology geek and reactive programming enthusiast. In my spare time I contribute to open source projects. I was a mentor in [devleaders](devleaders.pl) project. ### Contact me lin...
/* * Copyright (c) 2016 Markus Ressel * * 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 agre...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.lapool.util; import com.lapool.exception.BaseException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import or...
#!/bin/sh -ex mypy astrobase flake8 astrobase tests black astrobase tests --check isort astrobase tests scripts --check-only
# lazyload nvm # all props goes to http://broken-by.me/lazy-load-nvm/ # grabbed from reddit @ https://www.reddit.com/r/node/comments/4tg5jg/lazy_load_nvm_for_faster_shell_start/ lazynvm() { unset -f nvm node npm npx export NVM_DIR=~/.nvm [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm if [ -f ...
// // See the file LICENSE for redistribution information. // // Copyright (c) 2002,2009 Oracle. All rights reserved. // // #include "LazyCommand.hpp" using namespace DbXml; using namespace std; string LazyCommand::getCommandName() const { return "setLazy"; } string LazyCommand::getCommandNameCompat() const { re...
package io.deepstream; import com.google.j2objc.annotations.ObjectiveCName; import java.util.HashMap; import java.util.Map; import java.util.concurrent.CountDownLatch; /** * The entry point for rpcs, both requesting them via {@link RpcHandler#make(String, Object)} and * providing them via {@link RpcHandler#provide...
import React from 'react'; import { render } from '@testing-library/react'; import App from './App'; import { TValidateSessionResult } from 'services/user'; describe('App', () => { describe('Session is not authenticated', () => { test('renders Sign in page', () => { const session: TValidateSessionResult = ...
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; const Score = (props) => { const score = props.answers.reduce((sum, answer) => sum + answer.score, 0).toString().padStart(3, '0'); return ( <span className="score"> <span className="score__digit score__...
package jp.mzw.ajaxmutator.mutator.genprog; import java.util.ArrayList; import java.util.Collection; import java.util.List; import jp.mzw.ajaxmutator.generator.Mutation; import jp.mzw.ajaxmutator.mutator.replace.among.AbstractReplacingAmongMutator; import jp.mzw.ajaxmutator.mutatable.genprog.Statement; import org.mo...
# Basic test script - generates the file sample_hd_traj.csv containing one hobby drone trajectory # Include the files include("HobbyDroneInterface.jl") # Set the random seed Random.seed!(1) # Generate the trajectory file generate_trajectory_file(1.0, "output/hd_traj.csv")
using System; using System.Collections.Generic; using System.IO.Abstractions; using System.Linq; using System.Text; using System.Threading.Tasks; using coveralls_uploader.Models; using coveralls_uploader.Models.Coveralls; using Serilog; namespace coveralls_uploader.Services { public class SourceFileService { ...
require_relative "rails-new-app/string_underscore" require_relative "rails-new-app/version" require_relative "rails-new-app/runner" module RailsNewApp def self.run navigation = true ARGV.each do |arg| case arg when "navigation=false" then navigation = false when "-v", "--version" pu...
--- title: link type: "link" date: 2022-01-08 20:02:31 ---
#!/bin/bash if [[ -z "$KAFKA_PORT" ]]; then export KAFKA_PORT=9092 fi if [[ -z "$KAFKA_BROKER_ID" ]]; then # auto broker id generation export KAFKA_BROKER_ID=-1 fi if [[ -z "$KAFKA_ADVERTISED_HOST" ]]; then export KAFKA_ADVERTISED_HOST=$(hostname -I) fi if [[ -z "$KAFKA_ADVERTISED_PORT" ]]; then ...
#!/usr/bin/perl use 5.010; use strict; use warnings; use Log::Log4perl; use Log::Log4perl::Level; # Log Levels # There are six predefined log levels: "FATAL", "ERROR", "WARN", "INFO", # "DEBUG", and "TRACE" (in descending priority). Your configured logging # level has to at least match the priority...
use crate::extract::python::extract_python; use crate::java::extract_java; use crate::php::extract_php; use crate::ruby::extract_ruby; use crate::rust::extract_rust; use crate::{extract_go, extract_js, FoundExpresssion, SupportedLanguage, LANGUAGE_EXTENSIONS}; use std::fs; use std::path::Path; #[derive(Clone, Debug, E...
package com.secretkeeper.authservice.configuration.properties; import lombok.Getter; import lombok.Setter; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; @Getter @Setter @Configuration @ConfigurationProperties(prefix = "ldap") p...
import pandas as pd class AVDataCache(object): def __init__(self, data_dir): self.__data_dir = data_dir return def get_stock_data(self, symbols, keys): ''' :param symbols: :param keys: :return: a multi-index dataframe where the major key is a datetime and the ...
-module(ff_eventsink_handler). -behaviour(ff_woody_wrapper). -export([handle_function/3]). -include_lib("fistful_proto/include/ff_proto_eventsink_thrift.hrl"). -type options() :: #{ schema := module(), client := woody_client:options(), ns := binary(), publisher := module() }. %% %% ff_woody_wrapper...
package com.shon.dispatcher.call; import com.shon.dispatcher.call.ICall; import com.shon.dispatcher.imp.OnMsgListener; /** * Auth : xiao.yunfei * Date : 2020/6/24 17:52 * Package name : com.shon.dispatcher.call * Des : */ public interface ListenerCall<T> extends ICall<T> { void onListener(OnMsgListener<T> m...
--- title: 2020 Taipei Film Fest layout: post comments: true tags: movies and stuff --- ![](../images/2020-07-10-tff.JPG) 這次北影真的是卯起來狂看,十幾天下來看了總共二十四部電影,看到眼脫窗 ## 6/26 ### 非法跟監 蠻鳥的。 ★★ ## 6/27 ### 熱病幻夢 看不太懂,不過某些地方感覺還不錯。 ★★☆ ### 這不是一場葬禮 ~宗儒國認定本屆最佳影片~ ★★★★★ ### 1917 迷走莫三比克 還行。 ★★★☆ ### 春江水暖 就當你以為故事講得差不多了的時...
namespace PutridParrot.Presentation.Interfaces { /// <summary> /// Should be implemented by types which act as factory class. /// Specifically used by the view model and the /// CreateInstanceUsingAttribute. /// </summary> public interface IFactory { /// <summary> /// Gets ...
#ifndef __CP_SUITE_H #define __CP_SUITE_H int init_cp_suite(void); int clean_cp_suite(void); void cp_A_r_test(void); void cp_A_n_test(void); void cp_A_HL_ref_test(void); void cp_A_IX_IY_relative_test(void); #endif
<?php namespace app\article\model; use think\Model; use app\article\model\Article as ArticleModel; /** * Created by PhpStorm. * User: itapp * Date: 2018/3/7 * Time: 14:52 */ class Article extends Model { protected function createArticle($userId,$articleTitle,$articleSummary){ $model=new ArticleModel(...
package dockerRegistries const( QuayIo = "quay" Azure = "azure" )
import React from 'react'; import Authentication from '../../../../content/containers/Fragments/Authentication'; const ModalBody = () => ( <div key="loginRegisterBody" className="modal-body text-center"> <div className="row"> <div className="col-sm-8 col-sm-push-2"> <Authentication formID="login-m...
// documentation here https://docs.amplify.aws/lib/auth/start/q/platform/js#re-use-existing-authentication-resource import { environment } from "@environment"; export const AWS_CONFIG = { Auth: { region: environment.awsConfig.region, userPoolId: environment.awsConfig.userPoolId, userPoolWebClientId: envi...
{-# LANGUAGE TypeFamilies #-} module Data.Typewriter.Types.Peano where import Data.Typewriter.Demote newtype S nat = Succ nat deriving (Show) data Z = Zero deriving (Show) -- just for the sake of having something to demote to data PeanoNat = Z | S PeanoNat deriving (Eq, Ord, Read, Show) instance TermProxy Z where...
#!/usr/bin/env bats here=$BATS_TEST_DIRNAME db=$here/test.sqlite script=$here/../scripts/addFromNcbi.sh lockfile=$db.sketches/bats.lock function rmlockfile(){ if [ -e "$lockfile" ]; then rm -f $lockfile echo "# removed $lockfile" >&3 fi } function setup(){ rmlockfile } function teardown(){ rmlockfile ...
module Authorize module Redis class String < Base def valid? %w(none string).include?(db.type(id)) end def __getobj__ db.get(id) end def set(v) db.set(id, v) end end end end
require File.dirname(__FILE__) + '/../../../spec_helper' require File.dirname(__FILE__) + '/../fixtures/classes' describe "BasicSocket#getsockopt" do before(:each) do @sock = Socket.new(Socket::AF_INET, Socket::SOCK_STREAM, 0) end after :each do @sock.closed?.should be_false @sock.close end i...
package com.github.sguzman.scala.uber import org.scalatest.FlatSpec import org.scalatest.Matchers._ class MainTest extends FlatSpec { behavior of "MainTest" it should "main" in { val cookie = System.getenv("COOKIE") cookie should not be null Main.main(Array("--cookie", cookie)) } }
# dependabot-azure-devops Convenience tool for updating dependencies in Azure DevOps repositories using https://dependabot.com
# Usage This is only a simple example, the full implementation is more longer that this. See [this file](https://github.com/jlaso/tradukoj-connector/blob/master/examples/simple.php) ```php <?php require_once __DIR__.'/../vendor/autoload.php'; use JLaso\TradukojConnector\Model\Loader\ArrayLoader; use JLaso\Tradukoj...
module Jekyll module SelectFilter def select(input, key, value = nil) if input.is_a?(Hash) if value.nil? return input.select { |k, h| h.include?(key) } else return input.select { |k, h| h[key] == value } end end if value.nil? return input.selec...
package com.rysia.conferencedemo.dto; import com.fasterxml.jackson.databind.PropertyNamingStrategy; import com.fasterxml.jackson.databind.annotation.JsonNaming; @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) public class TicketPriceDTO { private Long ticketPriceId; private Long ticketTypeId; ...
<?php namespace EgeaTech\LaravelModels\Interfaces\Paginator; interface ItemsPerPageResolverInterface { /** * Retrieves the right amount of items to be fetched * in a paginated-query context. * The second parameter, if `true`, will lead to loading * the fallback value set through `setFallbackSi...
# fastpoisson Faster Poisson for Go / Golang Generate random Poisson-distributed numbers Basic Knuth Algorithm from https://en.wikipedia.org/wiki/Poisson_distribution#Generating_Poisson-distributed_random_variables with cached L. For lambda < 1 this was a 4x speed up over the fastest implementation for Go we found. ...
# Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/2.1/howto/static-files/ import os STATIC_URL = '/static/' STATIC_ROOT = os.path.join(os.path.dirname(os.path.dirname(BASE_DIR)), 'static')
#!/bin/bash set -e main() { # Check existence of required inputs sanitize "${INPUT_PYTHON_VERSION}" "python version" sanitize "${INPUT_POETRY_VERSION}" "poetry version" # Check working env if ! [usesBoolean "${INPUT_CREATE_VENV}"]; then sh -c poetry config virtualenvs.create false fi # Install dep...
FactoryBot.define do factory :campaign_criterion, class: GoogleAdsSimpleApi::CampaignCriterion do status 'ACTIVE' campaign_id 1 end end
require 'rails_helper' RSpec.describe Search do describe '#url?' do it 'returns whether a search value is url or not' do value = described_class.new('http://definitely-some-url.com') expect(value.url?).to be_truthy end end describe '#platform' do it 'returns the platform' do value ...
module Lava.Stable where import Lava.Signal import Lava.Operators import Lava.Generic import Lava.Sequent import Lava.Ref import Lava.MyST ( STRef , newSTRef , readSTRef , writeSTRef , runST , unsafeInterleaveST ) import Data.List ( isPrefixOf ) ----------------------------------------------------...
package byteio import ( "encoding/binary" "errors" "io" ) var errInsufficientReadSize = errors.New("insufficient read size") // ReadUint8 returns uint8 number read from the Reader. func ReadUint8(r io.Reader) (uint8, error) { buf := make([]byte, 1) rn, err := r.Read(buf) if err != nil { return 0, err } if ...
/* 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 not use ...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using Perpetuum.Data; using Perpetuum.Groups.Alliances; using Perpetuum.Services.MissionEngine.MissionDataCacheObjects; namespace Perpetuum.Services.MissionEngine.Missions { public class MissionAgent { private static...
--- title: هوشمند جستجو & کشف (Delve سابق) inshort: کارمند مشخصات & محتوای کشف translator: Microsoft Cognitive Services --- دفتر Delve کارمند ترکیب مشخصات صفحه و محتوای کشف است ابزار. صفحه مشخصات اطلاعات تماس در مورد هر یک از کارکنان در را فراهم می کند. سیستم، از جمله خود نام، شماره تلفن، آدرس پستي، ایمیل، مدیر، و غی...
import 'dart:convert'; import 'package:polkawallet_ui/utils/format.dart'; class TxSwapData extends _TxSwapData { static TxSwapData fromJson( Map json, List<String> symbols, List<int> decimals) { final args = jsonDecode(json['args']); final data = TxSwapData(); data.block = json['extrinsic']['block...
module.exports = { URI: "mongodb://localhost:27017/2d_game_creator", };
#pragma once #include <initializer_list> #include <memory> #include <unordered_map> #include <vector> #include <dxvk_adapter.h> #include "dxgi_interfaces.h" #include "dxgi_object.h" namespace dxvk { class DxgiFactory; class DxgiOutput; class DxgiAdapter : public DxgiObject<IDXGIAdapterPrivate> { ...
#!/usr/bin/env bash source $(dirname $0)/common.sh if [ $# -eq 3 ]; then $kafka_home/bin/kafka-topics.sh --zookeeper $all_zk --replication-factor $2 --partitions $3 --topic $1 --create else echo "Usage: "$(basename $0)" <topic> <replication> <partitions>" fi
import { createSlice, PayloadAction } from '@reduxjs/toolkit'; import type { RootState } from '../../store'; interface FilterState { type: string; } const initialState: FilterState = { type: '', }; export const filterSlice = createSlice({ name: 'filter', initialState, reducers: { filterChange: (state, ...
-- | Generic, low-level data types for hashing. This is an internal module. -- -- You should only import this module if you write your own hash algorithm -- or if you need access to low-level hashing functions when defining -- instances of 'LargeHash'. -- -- Regular users should not import this module. Import 'Data.Lar...
<?php /** * LinearUnitBuilder.php * * @author: Dean Haines * @copyright: Dean Haines, 2018, UK * @license: GPL V3.0+ See LICENSE.md */ namespace vbpupil; use Chippyash\Type\Number\FloatType; use Chippyash\Type\String\StringType; use vbpupil\Imperial\ImperialLinearUnit; use vbpupil\LinearUnits\LinearDefinitions...
import 'package:dotted_line/dotted_line.dart'; import 'package:flutter/material.dart'; import 'package:pendu_driver/utils/utils.dart'; class DeliverAddressTableUtils extends StatelessWidget { final TextStyle defineTextSTyle; final double lineHight; DeliverAddressTableUtils({this.defineTextSTyle, this.lineHight})...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: PostScript Translation Library FILE: exportFontTables.asm AUTHOR: Jim DeFrisco, 4/8/91 REVISION HISTORY: Name Date Description ---...
# SteepCoin - X11 algorithm - PoW/PoS(Hybrid) - Shedule and fixed PoS rewards - Min stake age: 4 hours - Max stake age: 30 days - Block time: 2 mins
package com.example.firstrealapp import android.content.Context import android.content.SharedPreferences private const val DB_NAME = "travel-blog" private const val KEY_LOGIN_STATE = "key_login_state" class BlogPreferences(context: Context) { private val sharedPreferences: SharedPreferences = context.getSharedP...
package com.bschandramohan.learn.springconnect.springbootconsole.repository import com.bschandramohan.learn.springconnect.springbootconsole.entity.Student interface StudentRepository { fun get(id: Long): Student fun list(): List<Student> fun save(student: Student): Student }
# SmallBusinessCMS This website has essential tools a small business needs to start. It is Done in html5 and materialize
package antd.datepicker import antd.AriaAttributes import antd.FocusEventHandler import antd.MouseEventHandler import antd.button.ButtonProps import antd.tag.TagProps import org.w3c.dom.HTMLDivElement import org.w3c.dom.HTMLElement import org.w3c.dom.HTMLInputElement import react.Component import react.RMutableRef imp...
#!/usr/bin/env bash # # 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...
import {ProjectData} from './project-data'; import {ComponentData} from './component-data'; export interface Share extends ProjectData, ComponentData { type: 'project' | 'comp'; }
package hmda.validation.rules.lar.validity._2021 import hmda.model.filing.lar.LarGenerators.larGen import hmda.model.filing.lar.LoanApplicationRegister import hmda.validation.rules.EditCheck import hmda.validation.rules.lar.LarEditCheckSpec import hmda.model.filing.lar.enums._ class V696_1Spec extends LarEditCheckSpe...
using System; using System.Collections.Generic; using System.Text; using Reverb.Models; namespace Reverb { public class SpotifyException : Exception { public SpotifyError Error { get; set; } public SpotifyException(SpotifyError error) : base(error.Message) { Error = error;...
<?php /** * Copyright (c) 2019 Tankfairies * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * * @see https://github.com/tankfairies/tcrypt */ namespace Tankfairies\Tcrypt; /** * Class AbstractCrypt * * @package Tankfairies\Tcrypt ...
(TMP-DEFTYPES-SYMBOLP-OF-SYMBOL-FIX) (TMP-DEFTYPES-NATP-OF-NFIX) (TMP-DEFTYPES-NFIX-WHEN-NATP (2 2 (:REWRITE DEFAULT-<-2)) (2 2 (:REWRITE DEFAULT-<-1)) (2 2 (:LINEAR LISTPOS-COMPLETE))) (SMT::SYM-NAT-ALISTP) (SMT::BOOLEANP-OF-SYMBOLP-FOR-SYM-NAT-ALISTP-KEY-LEMMA...
using System; using UnityEngine; // Token: 0x02000054 RID: 84 public class AudioBuilding : MonoBehaviour { // Token: 0x060001A6 RID: 422 RVA: 0x00003880 File Offset: 0x00001A80 private void Start() { this.playerBuildSystem.OnPlace += this.OnPlace; this.playerBuildSystem.OnRemove += this.OnRemove; }...
/* * Copyright 1994-2009 Clozure Associates * * 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 ag...
import scala.quoted._ inline def (inline x: String) strip: String = ${ stripImpl(x) } def stripImpl(x: String) given (qctx: QuoteContext): Expr[String] = x.stripMargin.toExpr inline def isHello(inline x: String): Boolean = ${ isHelloImpl(x) } def isHelloImpl(x: String) given (qctx: QuoteContext): Expr[Boolean...
kill -9 `ps -ef |grep radar |awk '{print $2}'`
# AnimaDicer ## INFORMATION Executable: [AnimaDicer](AnimaDicer.jar) Release information: [Release](https://github.com/TheCorPlay/AnimaDicer/releases "All Releases") - By: Fernando Pérez - E-Mail: fernaperg@gmail.com - Current program version: v1.1.0 - Release - Current excel version: v1.1.0 - RC *** ## CONCEPT...
import React, { useState } from 'react' import '../styles/FormInput.css' export default props => { const [text, setText] = useState('') const submitText = () => { props.onSubmit(text) setText('') const input = document.getElementById('inputNumber') input.focus() } re...
function lint_helper(ex::Expr, ctx) if ex.head == :macrocall if ex.args[1] == Symbol("@defcomp") push!(ctx.callstack[end].types, ex.args[2]) return true end end return false end
# Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). import dataclasses import logging import sys from contextlib import contextmanager from typing import Iterator, Optional, Tuple import pkg_resources from pants.build_graph.build_configur...
<?php use App\Http\Controllers\CustomerController; use App\Http\Controllers\ProductController; use App\Http\Controllers\VariantController; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |------------------------------------------------...
# @slater/util Shared utilities for the [slater](https://github.com/slater-store/slater) Shopify theme toolkit. ## License MIT License
package com.sksamuel.avro4s import com.sksamuel.avro4s.{DefaultFieldMapper, FieldMapper} import com.sksamuel.avro4s.encoders.{BigDecimalEncoders, ByteIterableEncoders, CollectionEncoders, EitherEncoders, MagnoliaDerivedEncoder, OptionEncoders, PrimitiveEncoders, StringEncoders, TemporalEncoders, TupleEncoders} import ...
import {Targets} from './types'; export function createMemoryLeakWarning(method: string): string { const txt = method === 'destroy' ? 'n already-' : ' '; return [ `${method}() was called on a${txt}destroyed instance. This is a no-op but`, 'indicates a potential memory leak.', ].join(' '); } export func...
import React from 'react' import { mount } from 'enzyme' import BoardContent from './BoardContent' import Option from './Option' describe('BoardContent', () => { let component beforeEach(() => { component = mount(<BoardContent userOption="paper" />) }) it('should initially render user option', () => { ...
#include "CMIDIModule.hpp" #if defined (_MSC_VER) #if defined (_DEBUG) #define new new( _NORMAL_BLOCK, __FILE__, __LINE__) #endif #endif using namespace dsa; CMIDIModule::CMIDIModule() : m_device(NULL) {} CMIDIModule::~CMIDIModule() {} RESULT CMIDIModule::Reset() { if(m_device==NULL) return FAILUR...
DROP TABLE IF EXISTS attachment; CREATE TABLE attachment ( id bigint(20) NOT NULL, content longblob, content_type varchar(100) NOT NULL, file_name varchar(255) NOT NULL, size bigint(20) NOT NULL, upload_time datetime DEFAULT NULL, PRIMARY KEY (id) )