content
stringlengths
10
4.9M
The Animator’s Body in Expanded Cinema Building on phenomenological studies of the body and feminist structural materialist film theory and practice, this article proposes that performed methods of direct-on-film animation shape novel choreographies and produce original filmic patterns and rhythms. The author draws a ...
/** * @param timeoutMin timeout in minutes * @return true if the timeout was set, false if property * has already been set. */ public static boolean trySetAthenzKeyCertWaitTimeMin(final int timeoutMin) { final Properties systemProperties = System.getProperties(); if (systemProper...
Contaminant Analysis Automation Demonstration Proposal The nation-wide and global need for environmental restoration and waste remediation (ER & WR) presents significant challenges to the analytical chemistry laboratory. The expansion of ER & WR programs forces an increase in the volume of samples processed and the de...
// RsaPrivateKeyFromBuffer reads rsa.PrivateKey from bytes.Buffer. func RsaPrivateKeyFromBuffer(b *bytes.Buffer) (*rsa.PrivateKey, error) { pub, err := RsaPublicKeyFromBuffer(b) if err != nil { return nil, err } d, err := BigIntFromBuffer(b) if err != nil { return nil, err } primesLen, err := Int64FromBuffer...
class DynamicArray: """ Description A class which implements a dynamic data structure under the disguise of a list. """ def __init__(self, data=None, default_value=lambda: None): """ Description DynamicArray's constructor. Arguments :param...
/** * Attempt 0. * Note: Mutates input array */ static int[] gradingStudents0(int[] grades) { for (int i = 0; i < grades.length; i++) { int grade = grades[i]; int rem = grade % 5; if (grade >= 38 && rem >= 3) { grades[i] = grade + (5 - rem); ...
// SignIn creates a plex instance using a user name and password instead of an auth // token. func SignIn(username, password string) (*Plex, error) { id, err := uuid.NewRandom() if err != nil { return &Plex{}, err } p := Plex{ ClientIdentifier: id.String(), HTTPClient: http.Client{ Timeout: 3 * time.Second...
package ringo import "time" // CircleTime is a ring buffer of time.Time values. It is not concurrent safe. type CircleTime struct { buf []time.Time cursor int filled bool } // Append adds a value to the buffer func (c *CircleTime) Append(t time.Time) { if c.cursor == cap(c.buf) { c.cursor = 0 c.filled = ...
import events = require('events'); declare namespace NodeBle { interface GattCharacteristic extends events.EventEmitter { getUUID(): Promise<string>; getFlags(): Promise<string[]>; isNotifying(): Promise<boolean>; readValue(offset?: number): Promise<Buffer>; writeValue(buffe...
/********************************************************************************* * File Name : arow.cc * Created By : yuewu * Description : Adaptive Regularization of Weight Vectors **********************************************************************************/ ...
from .extract import extract_script from .recompile import recompile_story
// ve hang soi, khong ve 2 hat soi dang trong qua trinh di chuyen void ve_hang_soi_dang_di_chuyen(int a[], int len, int left, int right, int after) { int radius = 30; int duongkinh = radius * 2; int x = start_point_x; int y = start_point_y + 200; int margin = default_margin; for (int i = 0; i < len; i++) { ...
FLOW CHARACTERISTICS OF ELLIPTICAL ORIFICE PLATES ABSTRACT This paper presents the results of the experimental investigation concerning the clear water flow through elliptical orifice plates in a circular pipe. Experiments were conducted in a pipe line having diameter of 38.1 mm and using elliptical orifice plates wit...
// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one // or more contributor license agreements. Licensed under the Elastic License; // you may not use this file except in compliance with the Elastic License. package httpjson import ( "net/http" "runtime" "testing" "time" "github.com/s...
/** * Store all teamMembers back into database */ public static void storeTeam() { Map<String, TeamMember> members = TeamMemberFactory.getAllMembers(); for(Map.Entry<String, TeamMember> member : members.entrySet()) { teams.document(currentUser.getTeam()) .collec...
def model_eval(self): if self.eval_train: if isinstance(self.train_set, dict): for name, loader in self.train_loaders.items(): tag = "train_{}".format(name) self._model_eval_loader(loader["val"], tag) else: self._mod...
import { NgModule } from '@angular/core'; import { HttpModule, JsonpModule } from '@angular/http'; import { BrowserModule } from '@angular/platform-browser'; // import { MaterialModule } from '@angular/material'; import { AppComponent } from './app.component'; import { AIDetailComponent } from './components/ai-detail...
// isNameListed identifies whether or not a new Revision is already in the pool func isNameListed(route *v1.Route, newRevName string) bool { nameListed := false for _, t := range route.Status.Traffic { if t.RevisionName == newRevName { nameListed = true break } } return nameListed }
<reponame>a07458666/nuclei_segmentation<filename>convert_annotations.py<gh_stars>1-10 import csv import json import cv2 import numpy as np import pycocotools.mask as maskUtils import os import argparse import imagesize import base64 from tqdm import tqdm from skimage import measure def create_test(): test_data = ...
def is_valid_JSON(doc_name, schema_file=default_schema_file): import json import os try: import jsonschema except: print("Failed to load jsonschema. No validation possible.") raise try: schema = json.loads(open(schema_file).read()) except: print("\n\nValid schema failed to Open/Load.\n" "Please mak...
/******************************************************************************** * CtrlPointGetDevice * * Description: * Given a list number, returns the pointer to the device * node at that position in the global device list. Note * that this function is not thread safe. It must be called ...
<gh_stars>10-100 export const addCleanup = (func: () => Promise<void> | void) => { neotracker.addCleanup(func); };
/** * Requests that the player start playback for a specific media id. * * @param mediaId The non-empty media id * @param extras Optional extras that can include extra information about the media item * to be played. * @hide */ @RestrictTo(LIBRARY_GROUP_PREFIX) @NonN...
def qshape(self, tube): if tube.dim[2] == 1: nz = 1 else: nz = tube.dim[2] - 1 nelem = (tube.dim[0] - 1) * (tube.dim[1]) * nz return (nelem, (self.qorder+1)**tube.ndim)
<reponame>saromanov/pome package kingpin import ( "io/ioutil" "testing" "github.com/alecthomas/assert" ) func TestArgRemainder(t *testing.T) { app := New("test", "") v := app.Arg("test", "").Strings() args := []string{"hello", "world"} _, err := app.Parse(args) assert.NoError(t, err) assert.Equal(t, args, *...
/* ** print a message related to err value on stderr */ int sl_err_msg(int err) { int i; write(2, "\e[31mError\n", 11); i = 0; while (g_err[i].msg && err != g_err[i].err) ++i; write(2, g_err[i].msg, g_err[i].len); write(2, "\e[0m\n", 5); return (err); }
<reponame>Jiacheng-z/jsonforwiki package main import ( "io/ioutil" "os" "encoding/json" "fmt" ) type All interface{} func main() { var t All input, _ := ioutil.ReadAll(os.Stdin) json.Unmarshal(input, &t) jsonIndent, _ := json.MarshalIndent(&t, "", "  ") fmt.Println("-------------") fmt.Println(string(jso...
Man jager et bæst og fanger et menneske BENT ISAGER-NIELSEN _i samarbejde med Jesper Stein Larsen_ Lindhardt og Ringhof Bent Isager-Nielsen i samarbejde med Jesper Stein Larsen _Man jager et bæst og fanger et menneske_ © 2008 Bent Isager-Nielsen, Jesper Stein Larsen og Lindhardt og Ringhof Forlag A/S Forla...
#ifndef STINGRAYKIT_THREAD_POSIX_THREADLOCAL_H #define STINGRAYKIT_THREAD_POSIX_THREADLOCAL_H // Copyright (c) 2011 - 2019, GS Group, https://github.com/GSGroup // Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, // provided that the above copyrigh...
<gh_stars>0 package fr.lightnew.teams; import fr.lightnew.QuestOfMagician; import fr.lightnew.tools.CreateFiles; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import java.util.ArrayList; public class TeamManager { public static Boolean getFullTeamOne() { if (TeamTempManager.list_one_team.si...
<reponame>0xAnarz/core use crate::{c_char, c_int, c_void, CStr}; #[no_mangle] pub extern "C" fn rs_loader_impl_load_from_file( _loader_impl: *mut c_void, paths: *const *mut c_char, size: usize, ) -> *mut c_void { for i in 0..size { let path: *const c_char = paths.wrapping_offset(i as isize) as ...
#!/usr/bin/env python3 import unittest import json import os from block_spam_calls import app class BlockSpamCalls(unittest.TestCase): def setUp(self): self.app = app.test_client(self) def load_json_fixture(self, filename): filepath = os.path.join(os.path.dirname(__file__), 'fixtures/', file...
n=int(input()) b=[[0 for i in range(16)] for i in range(n)] m=['' for i in range(n)] m[0]='0'*16 for j in range(1,n): print('XOR',1,j+1,flush=True) d=int(input()) k=15 while k>-1: if d%2==0: m[j]+='0' else: m[j]+='1' d>>=1 k-=1 m=[(m[i][::-1],i) for i in range(n)] m.sort() ff=Fa...
The Buffalo Niagara Medical Campus is a focal point for development in Buffalo. Over the past 12 years, the University at Buffalo, Roswell Park Cancer Institute, Kaleida Health and Hauptman-Woodward Medical Research Institute all have finished construction on major research or clinical centers on the campus. In the ne...
Fashionista wrote a great piece on how superhero costumes are made, and spoke with Batman v Superman: Dawn of Justice costume designer Michael Wilkinson to learn more about Ben Affleck’s Batman costume. Advertisement Wilkinson said that they can suit Henry Cavill up as Superman in 15 minutes, but getting Ben Affleck ...
import Quill, { BoundsStatic } from "quill"; const Tooltip = Quill.import("ui/tooltip"); export class CustomTooltip extends Tooltip { constructor(quill: Quill, boundsContainer: BoundsStatic, innerElement: HTMLElement) { super(quill, boundsContainer); super.root.remove(); super.root = quill...
/** @copyright Copyright (C) 2020-2022 Intel Corporation SPDX-License-Identifier: LGPL-2.1-or-later */ #include "ProfilerConfiguration.h" #include "Expect.h" #include "Request.h" #include <cstdint> #include <utility> using namespace GNA; const std::set<Gna2InstrumentationPoint>& ProfilerConfiguration::GetSupport...
<filename>src/main/java/com/google/devtools/build/lib/exec/ExecutorBuilder.java // Copyright 2016 The Bazel Authors. 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 /...
<reponame>zyq5858598/wechat_robot import mysql.connector host='localhost' user='root' passwd='<PASSWORD>' db='saber' class myMysql(): def select(self,sql): conn = mysql.connector.connect(host=host, user=user, passwd=passwd, db=db) cursor = conn.cursor() cursor.execute(sql) values = c...
# Copyright (c) 2019 Microsoft Corporation # Distributed under the MIT software license import sys import logging from ..provider.visualize import AutoVisualizeProvider, PreserveProvider, DashProvider log = logging.getLogger(__name__) this = sys.modules[__name__] this._preserve_provider = None this.visualize_provid...
<reponame>yurivict/nn-insight<gh_stars>1-10 // Copyright (C) 2022 by <NAME>. All rights reserved. #pragma once #include <QCheckBox> #include <QDialog> #include <QDialogButtonBox> #include <QLineEdit> #include <QGridLayout> #include <QLabel> class TransformationQuantizeDialog : public QDialog { Q_OBJECT public: Tr...
import { PublicKey } from '@solana/web3.js'; import { MetadataProgram } from '../MetadataProgram'; export async function programAsBurner(): Promise<[PublicKey, number]> { return PublicKey.findProgramAddress( [Buffer.from('metadata'), MetadataProgram.PUBKEY.toBuffer(), Buffer.from('burn')], MetadataProgram.PU...
/** * Concatenates the given component names separated by the delimiter character. Additionally * the character filter is applied to all component names. * * @param filter Character filter to be applied to the component names * @param delimiter Delimiter to separate component names * @param components Array...
for i in range(0,int(input())): n,x=map(int,input().split()) a=list(map(int,input().split())) a=sorted(a) m=0 f=0 l=0 if(a[0]==a[-1]==x): print("0") else: for j in a: if(j<x): m+=abs(x-j) elif(j==x): l=...
Show Off Your Cyanogen Love with This Boot Animation Collection There was a time several years ago, when CyanogenMod was the only large-scale, source-built custom ROM that was officially available for large number of devices. Nowadays, there are quite a few high quality offerings to choose from, each with their partic...
Fueling W3 James Brown The story is as old as the internal-combustion engine. Some people are never satisfied with their engine's power output. What follows is a slippery slope of bigger bores, capacious carburetors, obnoxious exhausts, radical valve timing, and demon tweaks. Even when the engine has obviously reached...
package internal_control_types import ( "github.com/PenguinCats/Unison-Docker-Controller/api/types/container" "github.com/PenguinCats/Unison-Docker-Controller/api/types/resource" "github.com/PenguinCats/Unison-Elastic-Compute/api/types" ) type HeartBeatMessageReport struct { Stats types.StatsSlave Resource re...
// Parse the global list of sockets to find one with id |local_id|. // If |peer_id| is not 0, also check that it is connected to a peer // with id |peer_id|. Returns an asocket handle on success, NULL on failure. asocket* find_local_socket(unsigned local_id, unsigned peer_id) { asocket* s; asocket* result = NUL...
/// /// Calculate the zeta constant needed for a distribution. /// Do this incrementally from the last_num of items to the cur_num. /// Use the zipfian constant as theta. Remember the new number of items /// so that, if it is changed, we can recompute zeta. /// double ZipfianGenerator::Zeta(uint64_t last_num, uint64_t ...
/** * @author Sadman * @since Jul 28, 2016 */ public class ResponseData extends Response { Object item; public ResponseData(int responseCode, String responseMessage) { super(responseCode, responseMessage); } public ResponseData(int responseCode, String responseMessage, Object item) { ...
The media bias is so bad this year that even China’s state media says the US mainstream media is totally biased against Trump. Colinshek.com Even Communist China can see our mainstream media is crap. The Times of India reported: The US mainstream media have “totally discarded” their “so-called objectivity and fairn...
package project.game.building; import java.util.ArrayList; import java.util.List; import project.game.Time; import project.game.building.BuildingManager.BuildingDescription; import project.game.building.department.Department; import project.game.building.department.Department.DepartmentType; import project.game.build...
package algebraicPetriNet; import java.util.LinkedHashMap; import java.util.Map; /** * * A TransitionEntry describes the (term,weight)-pair of an arc, * which goes into, or comes out of a transition. * One arc may have even multiple (term,weight)-pairs. * */ public class TransitionEntry { //per transition and ...
Image copyright AP Global plans to curb carbon dioxide are well below what's needed to keep temperatures from rising more than 2 degrees, according to a new analysis. It is the work of researchers from the Climate Action Tracker (CAT), a consortium of research institutions. They examined the commitments already made...
/** * This method allows to listener actions of the {@link #removeWifiNetwork(ScanResult, RemoveWifiListener)} * method variations. * * @param removeWifiListener is the listener {@link RemoveWifiListener} * @return current WifiConnector object. */ public WifiConnector registerWifiRemoveLis...
“Is it the government’s job — my job to feed my neighbour’s child?” Industry Minister James Moore said, laughing unwisely, in a media scrum this week. “I don’t think so.” To his credit, Moore did a clean, clear “I’m sorry” the following day sans those if-you-were-offendeds that blight so many apologies. Industry Minis...
/** * @author Simon Toens * @author Jeremy Grelle */ public class ServiceUtils { private static final ServiceFactoryManager factoryManager = ServiceFactoryManager.getInstance(); public static DeprecatedServiceDefinition getServiceDefinition(ServiceFile f, String serviceId, DesignServiceManager serviceMgr) ...
<gh_stars>1-10 // Copyright (C) 2019 <NAME> // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. //! Test cases derived from real-world boarding pass data. extern crate iata_bcbp; use std::str::FromStr; use iata_bcbp::*; #[test] fn alaska_boa...
/* This class only works without objects. */ class StaticCounter { private static int val; public static void reset() { val = 0; } public static void inc() { val++; } public static int getValue() { return val; } }
import { NgModule } from "@angular/core"; import { NativeScriptRouterModule } from "nativescript-angular/router"; import { Routes } from "@angular/router"; import { ItemsComponent } from "./item/items.component"; import { ItemDetailComponent } from "./item/item-detail.component"; import { GridLayoutComponent } from '....
SymbolDoes Stunted Development of Gymnasts “Catch Up” Later? Is It Benign? 52 ©2000 Lippincott Williams & Wilkins, 800-787-8981 Anew prospective study confirms that gymnastics does indeed delay the growth and development of young, elite female athletes. Only retirement permits a return to normal physiologic developmen...
/// A method for capturing the output of the shell, and performing actions without modifying /// the state of the original shell. This performs a fork, taking a closure that controls /// the shell in the child of the fork. /// /// The method is non-blocking, and therefore will immediately return file handles to the ///...
Natural Radioactivity Assessment and Radiation Hazards of Pegmatite as a Building Material, Hafafit Area, Southeastern Desert, Egypt Sixty-seven sites of Hafafit pegmatite from the Southeastern Desert of Egypt were investigated radiometrically in the field using an in situ γ-ray spectrometer to determine eU, eTh, and ...
def to_datetime(cls, ad_time): if ad_time is None: return None high_part, low_part = [signed_to_unsigned(part) for part in (ad_time.HighPart, ad_time.LowPart)] if high_part == cls.time_never_high_part: return cls.time_never_keyword n...
<gh_stars>0 #include <stdio.h> int main(void) { char word[256]; int count = 0; printf("Enter something in a line:"); do { scanf("%c", &word[count++]); } while (word[count - 1] == '\n'); while (count-- > 0) { printf("%c", word[count]); } printf("\n"); return 0; }
/** * Returns the next tuple generated by the join, or null if there are no * more tuples. Logically, this is the next tuple in r1 cross r2 that * satisfies the join predicate. There are many possible implementations; * the simplest is a nested loops join. * @return The next matching tuple. ...
/* Run one iteration of EM when genotypes are not missing * c_orig : p X k matrix * Output: c_new : p X k matrix */ MatrixXdr run_EM_not_missing(MatrixXdr &c_orig) { int k = goptions.GetGenericMailmanBlockSize(); int Nsnp = g.Nsnp; int Nindv = g.Nindv; #if DEBUG==1 if (debug) { print_time(); cout << "Ent...
#include <iostream> #include <algorithm> #include <cstring> #include <string> #include <queue> #include <cmath> #include <set> #include <map> using namespace std; typedef long long ll; typedef pair<ll, ll> pii; typedef pair<double, double> pdd; inline ll read(){ ll x=0,f=1;char c=getchar(); while(c<'...
<reponame>MenkaChaugule/hospital-management-emr import { Component, Input, Output, ChangeDetectorRef, EventEmitter } from "@angular/core"; import { OPD_OrthoModel } from "./opd-ortho.model"; @Component({ selector: "opd-ortho-note", templateUrl: "./opd-ortho-note.html" }) export class OPDOrthoNoteComponent { ...
def run(self, mode): print("==========================") print("start {}ing sessions of {} stations ...".format(mode, self.num_stations)) self.mode = mode self.success_ratios[mode] = [] self.team_cumulative_rewards[mode] = [] if self.mode == "test": self.env.e...
/** * Register for read a new transport for control messages. * * @param transport to register. * @return {@link SelectionKey} for registration to cancel. */ public SelectionKey registerForRead(final SendChannelEndpoint transport) { SelectionKey key = null; try { ...
def new_refund(self, parent_transaction_id, **kwargs): supervisor_card = kwargs.get( 'supervisor_card', self.supervisor_card) callback_url = kwargs.get( 'callback_url', self.refund_callback_url) headers = self.__set_headers() host = self.__host() payload =...
Financial Impact of a Culturally Sensitive Hispanic Kidney Transplant Program on Increasing Living Donation. BACKGROUND In the United States, Hispanic/Latinx patients receive disproportionately fewer living donor kidney transplants (LDKTs) than non-Hispanic White patients. Northwestern Medicine's culturally targeted H...
import {Disclosure, Dpia, ObjectType, Process, Processor, ProcessStatus} from '../../../constants' import * as React from 'react' import {useEffect, useState} from 'react' import {getResourceById} from '../../../api' import {codelist, ListName} from '../../../service/Codelist' import {Block} from 'baseui/block' import ...
/** * Write single row data, input row is Avro Record */ @Override public void write(Object object) throws IOException { try { GenericData.Record record = null; if (object instanceof GenericData.Record) { record = (GenericData.Record) object; } else if (object instanceof String) { ...
def population_in_file(func: callable): def wrapper(population_name: str, h5file: h5py.File): if population_name not in h5file["index"].keys(): return None return func(population_name, h5file) return wrapper
/** * @module node-zk-treecache */ /** */ import { State } from "node-zookeeper-client" import { ConnectionState, isConnected as csIsConnected } from "./ConnectionState" import { CuratorFramework } from "./CuratorFramework" export type ConnectionStateListener = ( client: CuratorFramework, state: Connection...
package content import "github.com/qlova/uct/compiler" import "github.com/qlova/ilang/syntax/symbols" import "github.com/qlova/ilang/syntax/errors" import "github.com/qlova/ilang/syntax/convert" var Name = compiler.Translatable { compiler.English: "content", } var Flag = compiler.Flag { Name: Name, OnLost: fu...
#include <stdio.h> #include <string.h> int getMax (int a, int b); int f[26][26]; char s[20]; int main(void) { int n, i, len, first, x, last, answer; scanf("%d", &n); memset(f, 0, sizeof(f)); for(i = 1; i <= n; i++){ scanf("%s", s); len = strlen(s); first = s[0] - 'a'; last = s[len-1] - ...
Godville Developer Godville Games Ltd. Publisher Godville Games Ltd. Programmers Mikhail Platov Dmitry Kosinov Series Godville Platforms iOS, Android, Windows, Web Release Date May 10, 2010 Genre Zero-player game Mode Online multiplayer Distribution Download Address Unit 702, 7/F Bangkok Bank Building No. 18 Bonham ...
<gh_stars>1-10 from django.db import models from taggit.managers import TaggableManager from tags.forms import TagField class BigVocabTaggableManager(TaggableManager): """TaggableManager for choosing among a predetermined set of tags Taggit's seems hard-coupled to taggit's own plain-text-input widget. ...
<reponame>benvonhandorf/rigctrld_chrome_plugin import socket import re class RigctldConnection: def __init__(self, host = "localhost", port = 4532): self.host = host self.port = port self.max_message_length = 1024 self.response_parser = re.compile("RPRT (?P<CODE>[-+]?\d+)\n") ...
#[macro_use] extern crate itertools; use itertools::Itertools; use std::collections::HashSet; #[derive(Debug, PartialEq, Clone, Copy, Hash, Eq)] enum ItemType { Generator, Microchip, } #[derive(Debug, Clone, PartialEq, Hash, Eq)] struct Item { what: ItemType, compatible: &'static str, floor: u32,...
<reponame>anupbansal/tibco-bwmaven<filename>tibco-application-management-schema/src/main/java/com/tibco/xmlns/dd/package-info.java // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun...
//! //! Spice21 Result and Error Types //! use std::error::Error; use std::fmt; /// # Spice21 General Error Type #[derive(Debug)] pub struct SpError { pub desc: String, } // Allow SpError in `dyn Error` contexts impl Error for SpError {} impl SpError { /// Spice Error Constructor, from anything String-convert...
Sign up for Coping , Tonic's weekly newsletter about anxiety, mental health, and dealing with it all. Are you ready for the International Day of Happiness? It's coming up on March 20th (because Mondays are obviously the happiest day of the week). It's an actual, globally celebrated holiday, created by the United Nati...
// Copyright 2019 <NAME>. All rights reserved. // Use of this source code is governed by a MIT // license that can be found in the LICENSE file. package sync import ( "math" "sync/atomic" "unsafe" ) // AddFloat64 add delta to given address atomically func AddFloat64(addr *float64, delta float64) (new float64) { ...
def convert_by_mode(self, dataset_path: str, out_path: str, mode: str) -> dict: if mode == 'train': ann_file = os.path.join(dataset_path, 'annotation_mpi_inf_3dhp_train_v2.json') elif mode == 'test': ann_file = os.path.j...
Introduction This roundtable is a part of our evolving “Movement Inquiry” feature, which opened with an investigations of housing struggles in the US and Black Liberation in higher education. If you would like to get involved, email us at roundtables AT viewpointmag DOT com. Ferguson’s August uprising wasn’t the firs...
import {SystemLogger} from 'src/logger/systemLogger'; import {promises as fs} from 'fs'; import * as path from 'path'; import _ from 'lodash'; import * as util from 'src/util'; export const [ defaultSettingsDir, defaultInputsDir, defaultOutputsDir, defaultFilesDir ] = ['settings', 'inputs', 'outputs', 'files']...
package com.lion.device.entity.tag; import com.lion.core.persistence.entity.BaseEntity; import com.lion.device.entity.enums.TagRuleLogType; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.EqualsAndHashCode; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annot...
import { PostModel } from "../../model/post"; export default interface IPost { sendPost(post: any): any getChannelPost(channelId: string): any getPost(id: string): any }
/* * Copyright The Original Author or Authors * SPDX-License-Identifier: Apache-2.0 */ package io.jenkins.plugins.opentelemetry.job.cause; import hudson.model.Cause; import javax.annotation.Nonnull; public interface CauseHandler extends Comparable<CauseHandler> { boolean isSupported(@Nonnull Cause cause); ...
/** * Definition of a pistol * @author Aaron * @author Ryan * */ public class Pistol extends Weapon { /** * * @param gameScreen */ public Pistol(GameScreen gameScreen) { super(gameScreen, 6f, false); } @Override protected void createBullet(float direction) { gameScreen.addEntity(...
package mekanism.common.util; import java.util.Optional; import javax.annotation.Nonnull; import mekanism.api.Action; import mekanism.api.IIncrementalEnum; import mekanism.api.inventory.slot.IInventorySlot; import mekanism.api.text.IHasTextComponent; import mekanism.common.MekanismLang; import mekanism.common.base.ILa...
use std::fmt::{self, Debug}; use std::sync::Mutex; use redis::{Client, Commands, Connection}; use base::crypto::{Crypto, Key}; use base::IntoRef; use error::{Error, Result}; use trans::Eid; use volume::address::Span; use volume::storage::Storable; use volume::BLK_SIZE; // redis key for super block #[inline] fn super...
/** * Add the eperson aspect navigational options. */ public void addOptions(Options options) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException { /* Create skeleton menu structure to ensure consistent order between aspects, * even if they...
<gh_stars>1-10 package solutions; /** * Solution for https://leetcode.com/problems/missing-element-in-sorted-array/ problem with * Time complexity: O(log(n)) * Space complexity: O(1) */ public class MissingElementInSortedArray { public int missingElement(int[] nums, int k) { int totalMissedElements = ...
def _serialize_treatment(self, k, v): try: return '"{}": {}'.format(k, v.serialize_definition()) except: return '"{}": {}'.format(k, v)
/** * AdministratorPassword This is a command line tool used during installation of PiMS. It is used for * installations that keep passwords in the PiMS database, not for LDAP and not for legacy tomcat-users.xml * installations. */ public class AdministratorPassword { /** * ADMINISTRATOR String */ ...