content
stringlengths
10
4.9M
def gis_location_onaccept(form): auth = current.auth vars = form.vars id = vars.id if vars.path and current.response.s3.bulk: db = current.db db(db.gis_location.id == id).update(path=None) if not auth.override and \ not auth.rollback: ...
//! Capture the screen with DXGI Desktop Duplication //! This is a modified version of: https://github.com/bryal/dxgcap-rs #![cfg(windows)] extern crate winapi; extern crate wio; use std::mem::zeroed; use std::{mem, ptr, slice}; use log::warn; use winapi::shared::dxgi::{ CreateDXGIFactory1, IDXGIAdapter, IDXGI...
package css_parser import ( "fmt" "strings" "github.com/evanw/esbuild/internal/ast" "github.com/evanw/esbuild/internal/compat" "github.com/evanw/esbuild/internal/css_ast" "github.com/evanw/esbuild/internal/css_lexer" "github.com/evanw/esbuild/internal/logger" ) // This is mostly a normal CSS parser with one e...
package xyz.redtorch.desktop.layout.base; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.collections.transformation.SortedList; import javafx.scene.Node; import javafx.scene.control.SelectionMode; import javafx.scene.control.TableColumn; import javafx.scene.con...
// Emits a release based on the value's type category (address or object). static void emitCleanup(SILBuilder &builder, SILLocation loc, SILValue v) { if (v->getType().isAddress()) builder.createDestroyAddr(loc, v); else builder.createReleaseValue(loc, v, builder.getDefaultAtomicity()); }
export { default } from './ListOverflow';
<filename>packages/lit-analyzer/src/analyze/util/type/remove-undefined-from-type.ts import { isAssignableToSimpleTypeKind, SimpleType, SimpleTypeKind } from "ts-simple-type"; export function removeUndefinedFromType(type: SimpleType): SimpleType { switch (type.kind) { case SimpleTypeKind.ALIAS: return { ...ty...
def run_id(self, desc=""): cur = self.conn.cursor() cur.execute('insert into test_run (run_desc) values (?)', (desc,)) self.conn.commit() cur.execute('select max(id) from test_run') return cur.fetchone()[0]
Loader power-split transmission system based on a planetary gear set In hydraulic mechanical transmission loaders, a hydraulic torque converter can prevent an engine from stalling due to overloading of the loader during the spading process; however, the hydraulic torque converter also reduces the loader’s fuel economy...
def musicThumbnailing(x, fs, short_term_size=1.0, short_term_step=0.5, thumb_size=10.0, limit_1 = 0, limit_2 = 1): x = audioBasicIO.stereo2mono(x); st_feats, _ = aF.stFeatureExtraction(x, fs, fs * short_term_size, fs * short_term_step) S = sel...
_Who will invent America's next great century?_ The big ideas that will revolutionize the way we live will not emerge from our nation's capital. They will be dreamt up, as they always have been, by enterprising Americans who hope to create positive value for others. Encounter Intelligence is dedicated to promoting ...
<gh_stars>1-10 import re import requests from lxml.html import HtmlComment from pyquery import PyQuery as q _INT = re.compile(r'(\d|,)+') def _parse_fare(f): m = _INT.search(f) if m is None: return ' -' return ' =Y= {}'.format(m.group(0)) def _no_comment(i): for o in i: if isinstan...
# -*- coding: utf-8 -*- """ Created on Mon May 20 16:28:40 2019 @author: Administrator """ class Solution: def findMissingRanges(self, nums: list, lower: int, upper: int) -> list: if len(nums) == 1 and nums[0] == lower: return [str(lower+1) + '->' + str(upper)] if len(nums) == 1 and nu...
/** * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. 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 * * U...
def handle_custom_chars(html, escape=True): replace = [('[', '##91!', '&#91;'), (']', '##93!', '&#93;'), ("'", '#apos!', '&apos;'), ('"', '#quot!', '&quot;')] for original, escape_to, unescape_to in replace: if escape: ...
def calculate_statistical_difference(selection: pd.DataFrame, selected_player: str) -> None: st.header("**♟** Statistical Difference **♟**") st.markdown("Here, you can see if there is a statistical difference between the scores" "of the selected person and th...
class HeuristicAgent: """ This is our agent. It decideds our actions! """ def __init__(self, actions, divisor): self.decisions = {} self.divisor = divisor self.actions = list(actions)[:len(actions)-1] # eliminate 'none' action def pick_action(self, gameState): simple_gameState = (np.ro...
/* * 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 org.jnode.net; import java.io.Closeable; import java.io.IOException; import java.net.InetSocketAddress; import java.net.Standa...
// SetUDPSocketOptions set controls FlagDst,FlagInterface to UDPConn. func SetUDPSocketOptions(conn *net.UDPConn) error { if ip4 := conn.LocalAddr().(*net.UDPAddr).IP.To4(); ip4 != nil { return ipv4.NewPacketConn(conn).SetControlMessage(ipv4.FlagDst|ipv4.FlagInterface, true) } return ipv6.NewPacketConn(conn).SetCo...
def InPeriod(*args): return _ElCLib.elclib_InPeriod(*args)
import { Color, OgmaSimpleType } from '@ogma/common'; import { style as styler, Styler } from '@ogma/styler'; export function colorize( value: OgmaSimpleType, color: Color = Color.WHITE, style: Styler = styler, useColor = true, ): string { if (useColor) { value = style[Color[color].toLowerCase()].apply(v...
/** * * @author George El-Haddad * <br/> * Feb 4, 2010 * */ public class AgentType extends Type implements AgentFeature { private static final long serialVersionUID = -1260393269571892216L; private URI agentUri = null; private VCard agent = null; private List<AgentParameterType> agentParameterTypes = nul...
/** * Per-child layout information associated with OpenStreetMapView. */ public static class LayoutParams extends ViewGroup.LayoutParams implements MapViewLayouts { /** * The location of the child within the map view. */ public ILatLng geoPoint; /** * The al...
// rather than call kevent(2) each time, we can likely optimize and // call it once for like 100 items fn next(&mut self) -> Option<Self::Item> { if !self.watcher.started { return None; } get_event(self.watcher, None) }
(AP) – A British opposition lawmaker says Parliament should stop the “madness” Iand overturn the result of a referendum calling for Britain to leave the European Union. Labour legislator David Lammy says Thursday’s national vote was non-binding and “our sovereign Parliament needs to now vote on whether we should quit ...
/*! * @class StationArchiveLine "stationArchiveLine.hpp" "sff/hypoinverse2000/stationArchiveLine.hpp" * @brief Defines a year-2000-compatibile station archive line. * @copyright Ben Baker (University of Utah) distributed under the MIT license. */ class StationArchiveLine { public: StationArchiveLine(); Stat...
<gh_stars>0 package main import ( "encoding/json" "fmt" "log" "net/http" "path/filepath" "sort" "strconv" "strings" "github.com/go-rod/rod/lib/utils" ) const mirror = "https://registry.npmmirror.com/-/binary/chromium-browser-snapshots/" func main() { list := getList(mirror) revLists := [][]int{} for _,...
Deposition of DNA-functionalized gold nanospheres into nanoporous surfaces. We report the deposition of DNA-conjugated gold nanospheres into arrays of surface nanopores obtained from hexagonally ordered thin polystyrene-b-poly(methyl methacrylate) (PS-b-PMMA) diblock copolymer films on silicon. The deposition occurs s...
/** * @author Elly Kitoto (Nerdstone) */ @RunWith(RobolectricTestRunner.class) @Config(application = TestApplication.class, shadows = {CustomFontTextViewShadow.class}) public class BaseFamilyProfileActivityFragmentTest { private BaseFamilyProfileActivityFragment familyProfileActivity; @Before public voi...
Increased Urge to Gamble Following Near-Miss Outcomes May Drive Purchasing Behaviour in Scratch Card Gambling Previous research into scratch card gambling has highlighted the effects of these games on players’ arousal and affective states. Specifically, near-miss outcomes in scratch cards (uncovering 2 of 3 needed jac...
/* * Copyright (C) ST-Ericsson SA 2012 * * Author: <NAME> <<EMAIL>>, * <NAME> <<EMAIL>> * for ST-Ericsson. * * License terms: * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as published * by the Free So...
Story highlights The President lashes out, without restraint, at anyone who doesn't fulfill his objectives, and that helps explain his failing presidency, Julian Zelizer writes Trump's attacks on Sessions, Comey and Mueller are remarkable, he writes Julian Zelizer, a history and public affairs professor at Princeton ...
def load_yaml(yaml_file, obj_type=dict): with open(yaml_file, "r") as stream: return ordered_load(stream, Loader=yaml.SafeLoader, object_pairs_hook=obj_type)
Advanced Electron Microscopy Characterization of Intergranular Corrosion in Ni-20Cr Alloy Under Molten Salt Environment working at temperatures as high as 700 o C. While such coolant has been shown to have multiple benefits, the lack of understanding of the response of structural materials to simultaneous molten salt ...
<reponame>itandrik/Hedbanz package com.transcendensoft.hedbanz.domain.interactor.changepwd; /** * Copyright 2018. <NAME> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * htt...
def visit_extslice( self, node: "ast.ExtSlice", parent: nodes.Subscript ) -> nodes.Tuple: newnode = nodes.Tuple(ctx=Context.Load, parent=parent) newnode.postinit([self.visit(dim, newnode) for dim in node.dims]) return newnode
// MySQLExistingMySQLDumpSyncParametersFactory is just a simple function to instantiate the MySQLExistingMySQLDumpSyncParametersStruct func MySQLExistingMySQLDumpSyncParametersFactory( BackupLocation string, ReplicationCoordinates MySQLReplicationCoordinates, ) MySQLExistingMySQLDumpSyncParametersStruct { return MyS...
/** * Writes into an active part of the heap (index is a real index calculated * from the beginning of this part of the heap) * */ private <T extends SStruct> void writeToActiveHeap(int index, T value) { try { JVMLogger.log(JVMLogger.TAG_HEAP, "Write #" + index + "#-->" + value);...
import { DevServerConfig } from '@web/dev-server'; import { CheckHtmlLinksCliOptions } from 'check-html-links/dist-types/types/main'; import { WatchOptions } from 'chokidar'; import { ImagePreset, RocketPreset } from './preset'; export { ImagePreset, RocketPreset }; import { Eleventy } from '@11ty/eleventy'; interface...
// // libshapes: high-level OpenVG API // <NAME> (<EMAIL>) // // Additional outline / windowing functions // Paeryn (github.com/paeryn) // #include <stdio.h> #include <stdlib.h> #include <jpeglib.h> #include "VG/openvg.h" // // Image services // VGImage createImageFromJpegDecompressStruct(struct jpeg_decompress_stru...
// STFStorageVolumeClaim returns the PVC definition that just be provisioned // with the STF storage service, or nil if no PVCSpec is provided. func (a *AndroidFarm) STFStorageVolumeClaim() *corev1.PersistentVolumeClaim { if a.STFConfig() != nil { if a.STFConfig().Storage != nil { if a.STFConfig().Storage.PVCSpec...
Morphological diversity in digital skin microstructure of didelphid marsupials The purpose of this study was to investigate how didelphid marsupials have diversified in morphology of their claws and digital pads as they evolved different foraging preferences such as terrestrial, aquatic, and arboreal feeding behaviour...
Why Are Gas Prices So High? Speculating About Oil Speculation AUDIO By Dave Fehling Email Tweet Dave Fehling/StateImpact Texas With oil surpassing $100 a barrel, drivers are feeling the pain at the pump and some wonder if it’s simply a case of supply and demand. Or maybe something else. “It’s sad, but people are ve...
The effects of aspirin plus cisplatin on SGC7901/CDDP cells in vitro The purpose of this study was to determine the effect of aspirin plus cisplatin (CDDP) in the chemotherapy of gastric cancer. We cultured SGC7901/CDDP cells by long-term exposure of SGC7901 cells to small doses of CDDP in vitro. The cells were treate...
import { Rule } from "eslint"; export const getRuleMetaData = ( ruleName: string, ruleDescription: string, fix?: "code" | "whitespace" ): Rule.RuleMetaData => { const required = { type: "suggestion", docs: { description: ruleDescription, category: "Best Practices", recommended: true, ...
package listener import ( "fgame/fgame/core/event" gameevent "fgame/fgame/game/event" marryeventtypes "fgame/fgame/game/marry/event/types" pbuitl "fgame/fgame/game/marry/pbutil" marryscene "fgame/fgame/game/marry/scene" "fgame/fgame/game/player" ) //豪气值排行榜变化 func heroismRankChange(target event.EventTarget, data...
from datetime import datetime, timedelta, tzinfo import unittest import pytz import re #noinspection PyUnresolvedReferences from nose.tools import assert_equal, assert_raises # you need it for tests in form of continuations import six from flask_restbolt import inputs def test_reverse_rfc822_datetime(): dates ...
#pragma once #include <type_traits> namespace aquarius { namespace detail { template<typename T> class singleton_wrapper : public T { }; template<typename T> class singleton { public: static T& instance() { return get_instance(); } private: static T& get_instance() { s...
def as_matrix(self) -> Tuple[List[Cluster], np.array]: clusters: List[Cluster] = list(self.clusters) indices: Dict[Cluster, int] = {cluster: i for i, cluster in enumerate(clusters)} matrix: np.array = np.zeros(shape=(len(clusters), len(clusters)), dtype=float) for edge in self.edges: ...
import { createApp } from 'vue'; import { VueReCaptcha } from 'vue-recaptcha-v3'; import App from './App.vue'; import { createI18n } from 'vue-i18n'; import I18nResources from './locale/messages'; import router from '@/router/router'; const moment = require('moment'); import store from '@/store/AppStore'; const paramSt...
def add(self, unpackers, *args): def transform(entry): return retrieve(entry, unpackers, *args) def adder(entries): results = map(transform, entries) parting = partition(lambda e: check(e, self.template) if e else e, results) ...
/** * <p> * Title: <B>DES encryption and decryption using Java Crypto </B> * </p> * <p> * Description: * </p> * This class provides a decryption and encryption service based on DES (Data * Encryption Standard). It always generates a key on encryption. On decryption, * it uses the embedded key. As such...
from keyring import backend from keyring.py310compat import metadata def test_entry_point(): """ Keyring provides exactly one 'keyring' console script that's a callable. """ matches = metadata.entry_points(group='console_scripts', name='keyring') (script,) = matches assert callable(script....
def upload( self, file_path=None, file_name=None, preflight_check=False, preflight_expected_size=0, upload_using_accelerator=False, ): if file_name is None: file_name = os.path.basename(file_path) with open(file_path...
def processSpam(tweet, tweetDict, userDict, event, myHandle): handle = str(tweet.user.screen_name.encode('utf-8')) name = str(tweet.user.name.encode('utf-8')) try: text = str(tweet.text.encode('utf-8')) except AttributeError: text = str(tweet.full_text.encode('utf-8')) if text[0:2] =...
def generate_visualization_dict(self, dynamic_variables, constant_variables, dynamic_values, constant_values): self._scene_data = {} self._scene_data['name'] = self._name self._scene_data['height'] = self._height sel...
// Copyright © 2020 AMIS Technologies // // 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 ...
Izvor: Vlada RH GONG je podnio Ustavnom sudu prijedlog za pokretanje postupka za ocjenu suglasnosti ustavnosti i zakonitosti rješenja Predsjednika Vlade Republike Hrvatske od 28. travnja 2017. godine o razrješenjima MOST-ovih ministara unutarnjih poslova, pravosuđa, zaštite okoliša i energetike te 28. travnja i potpre...
package gov.cms.dpc.api.cli.keys; import gov.cms.dpc.api.cli.AbstractAdminCommand; import io.dropwizard.setup.Bootstrap; import net.sourceforge.argparse4j.inf.Namespace; import net.sourceforge.argparse4j.inf.Subparser; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.H...
Charge balancing PV System using charge-pumped flyback-boost-forward converter including differential power processor This paper proposes a differential power processor using charge-pumped flyback-boost-forward converter including a function of charge balancing for PV System. This converter operates a boost converter ...
package org.jbrew.concurrent_tests.register; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import org.junit.Test...
def _simple_lca(self, node_x: Hashable, node_y: Hashable) -> Hashable: if node_x == node_y: return node_x answer = self.root for node_u, _ in self.ancestors[node_x]: for node_v, _ in self.ancestors[node_y]: treelca = self._treelca(node_u, node_v) ...
//Delete removes a comment from db func (cm *CommentsDBMock) Delete(userID uint64, id interface{}) error { idi, _ := strconv.ParseUint(id.(string), 10, 64) for i := range cm.Comments { if cm.Comments[i].ID == idi && cm.Comments[i].UserID == userID { cm.Comments[i] = cm.Comments[len(cm.Comments)-1] cm.Comment...
<filename>core/src/com/captstudios/games/tafl/core/es/model/ai/optimization/search/AISearchAgent.java /************************************************************************** * jcAISearchAgent - An object which picks a best move according to a * variant of alphabeta search or another * * Purpos...
import hashlib from typing import Any, Dict, List import posthoganalytics from django.conf import settings from django.contrib.postgres.fields import JSONField from django.db import models from django.db.models.expressions import ExpressionWrapper, RawSQL from django.db.models.fields import BooleanField from django.db...
<reponame>zhaozhenghao1993/zh-admin<gh_stars>1-10 package com.zhenghao.admin.server.handler.avatar; import com.zhenghao.admin.common.constant.UploadConstants; import com.zhenghao.admin.common.enums.FileTypeEnum; import com.zhenghao.admin.common.exception.upload.UploadException; import com.zhenghao.admin.common.excepti...
<gh_stars>1-10 package main import ( "encoding/json" "fmt" "log" "net/http" _ "net/http/pprof" "runtime" "runtime/debug" "github.com/gin-gonic/gin" "dev.project/BackEndCode/devcontrol/app" "dev.project/BackEndCode/devcontrol/coap/coapserver" "dev.project/BackEndCode/devcontrol/ioutil/dbutil" webcontrol "...
/** * Fired when the Server receives a custom plugin message. * * @param channel The channel name of the plugin message. In my case '5zig' * @param player The player who sent the plugin message. * @param bytes The byte data of the plugin message. */ @Override public void onPluginMessageReceived(String c...
/** * This method validates the sudoku itself. Impossible sudokus (containing identical numbers in the same * row, box or column) will be rejected by the program, so we don't start the solve process with a bogus * sudoku. * * It marks the rows, columns or boxes where the problem occurs. *...
/** * The base IQ (Info/Query) packet. IQ packets are used to get and set information * on the server, including authentication, roster operations, and creating * accounts. Each IQ stanza(/packet) has a specific type that indicates what type of action * is being taken: "get", "set", "result", or "error".<p> * * I...
"use strict"; document.getElementById("timeChange").addEventListener("click", timeChangeReveal); document.getElementById("submitButton").addEventListener("click", timeChange); window.onload = function getTime() : void { fetch('/scheduler').then(response => response.json()).then((response) =>{ console.log(respo...
use aoc_runner_derive::{aoc, aoc_generator}; use crate::shared::*; // ====================================================== // DAY 9 // ====================================================== #[aoc_generator(day9)] pub fn input_generator_day9(input: &str) -> Vec<i64> { input .split(',') .map(|x| ...
// FormatVolume formats a volume identified by `volumeId` func (proxy *CSIProxyV1) FormatVolume(volumeId string) (err error) { _, err = proxy.VolumeClient.FormatVolume( context.Background(), &volumeapi.FormatVolumeRequest{ VolumeId: volumeId, }, ) if err != nil { return err } return nil }
For me, malfunctioning escalators are the stuff of nightmares. I still secretly fear that up escalators are going to eat me. So this people-flinging Metro station escalator from the day of Jon Stewart and Stephen Colbert’s “Rally to Restore Sanity and/or Fear” last year has given me a whole new category of escalator ma...
/* * Copyright (c) 2016, Alliance for Open Media. All rights reserved * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at w...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.affair.service; import com.thinkgem.jeesite.common.persistence.Page; import com.thinkgem.jeesite.common.service.CrudService; import com.thinkgem.jeesite.modules.affa...
The Saskatchewan government is investigating after two homeless men who were denied funding to stay at a shelter in that province were instead given one-way bus tickets to British Columbia. Charles Neil-Curly, 23, and Jeremy Roy, 21, arrived in Vancouver on Wednesday, one day after boarding a Greyhound bus in Saskatch...
Best option for car shoppers: Postpone buying Inventory shortages caused by the effects of Japan's earthquake have led to rising prices for new and used vehicles, creating what one analyst describes as a 'huge seller's market.' "If you don't have an immediate need, you are probably better to wait and figure out where...
/* * css_vector_send() - Winsock simulation of css_vector_send. * return: size of sent if success, or error code * fd(in): socket descripter * vec(in): vector buffer * len(in): vector length * bytes_written(in): * timeout(in): timeout value in milli-seconds * * Note: Does not support the "byte_writ...
/** * Append check constraint details to the XML node * * @param tableNode * @param table */ private void appendCheckConstraints(Element tableNode, Table table) { Document document = tableNode.getOwnerDocument(); Map<String, String> constraints = table.getCheckConstraints()...
/** * Returns bindings for a list of target variables of a * control step, using the source variables * combined with the output parameters of the call. */ static Assignment modify(Switch swit) { assert swit.getKind() == Callable.Kind.RULE; List<Binding> result = new ArrayList<>(); ...
def _on_verification_mode_change(self, change): with self._verification_mode_output: clear_output() if self._verification_mode.value == "private_key": display(self._inp_private_key) elif self._verification_mode.value == "public_key": public_key...
'use strict' import * as React from 'react' import { SignupDialog } from './SignupDialog' import { LoginDialog } from './LoginDialog' import { SubscribeDialog } from './SubscribeDialog' export default class AuthUI extends React.Component<{}, {}> { render() { return ( <div> <SignupDialog /> <LoginDialog /...
The daft theist claim I have for you this week comes to you from a letter in Frederickburg.com … it reads … Atheists: Open your minds, ask questions I am writing in response to the letter from Dan Dormer [“What is an atheist?” May 15]. He said he doesn’t believe in God because he has no proof that He is real. That is ...
<gh_stars>10-100 /* * Copyright (c) 2004,2011-2012,2014 Apple Inc. All Rights Reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may...
The Effects of Probiotic Soymilk Fortified with Omega-3 on Blood Glucose, Lipid Profile, Haematological and Oxidative Stress, and Inflammatory Parameters in Streptozotocin Nicotinamide-Induced Diabetic Rats Objective. The aim of the present study was to evaluate the effects of probiotic soymilk fortified with omega-3 ...
Newsletters worth subscribing to They might seem like a slightly anachronistic way to deliver and consume journalism. However, a newsletter done right still has a lot to offer, or, in fact, not so much, and that’s the point. It is probably no coincidence that newsletters have started to thrive again as our news consum...
import React, {useState, Fragment} from "react"; import {IVariation, IOption} from "types/models"; import { Button, Checkbox, Grid, Dropdown, DropdownItemProps, Input } from "semantic-ui-react"; import "./Variation.css"; interface IVariationProps { variation: IVariation; options: IOption[]; ...
<gh_stars>1-10 package io.github.jspinak.brobot.actions.actionExecution; import io.github.jspinak.brobot.actions.actionOptions.ActionOptions; import io.github.jspinak.brobot.datatypes.primitives.match.Matches; import io.github.jspinak.brobot.datatypes.state.ObjectCollection; /** * Actions that are run from the Actio...
Don’t Focus On Your Situation, Focus On Your Trajectory All of us have goals. There’s something we want to do, someplace we want to go, someone we want to be. It appears that we don’t intentionally plan to be stagnant. But are you progressing towards your intended destination? Or are you drifting away unknowingly? W...
/** * Removes the converter for the parsed java type * * @param type * the java type * @return the removed converter or <code>null</code> if none was registered for the parsed type. */ @SuppressWarnings("unchecked") public <T> TypeConverter<T> removeConverter(Class<T> type)...
<filename>src/kt84/openmesh/append_quad_strip.hh #pragma once #include <vector> #include <utility> #include <functional> #include <OpenMesh/Core/Mesh/PolyMesh_ArrayKernelT.hh> #include <OpenMesh/Core/Mesh/Handles.hh> namespace kt84 { template <class MeshTrait> inline bool append_quad_strip( ...
China denounced what it called a “dangerous and provocative” act Tuesday after an American warship sailed within 12 nautical miles of a Chinese-built artificial island at the center of a regional dispute over maritime territory and sea routes. The incident reflects rising tensions between the United States and China o...
<reponame>sholaj/kubeform<gh_stars>1-10 /* Copyright The Kubeform Authors. 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 applica...
<filename>poodle/src/components/Info/RowType/UserImg.tsx import React, { FC, useCallback, useEffect, useState } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { InfoPicture } from '../../../styles/Info'; import { modalOn, REDERRORMODAL } from '@/core/redux/actions/Modal'; import { setPictu...
'Greenwashing" is the use of shameless PR campaigns by notorious polluters to portray their corporations as benign, Bambi-loving protectors of nature. But now comes a new phenomenon: "Greedwashing." And who's in greater need of a greed bath than Wall Street banksters? So, splish-splash and rub-a-dub, here came JPMorg...
// IncrementUserAccountCount increments the number of UserAccount for the given member cluster in the cached counter func IncrementUserAccountCount(logger logr.Logger, clusterName string) { write(func() { cachedCounts.UserAccountsPerClusterCounts[clusterName]++ logger.Info("incremented UserAccountsPerClusterCounts...
#include <types.h> #include <sys/logging.h> #include <sys/console.h> #include <version.h> #include <stdio.h> #include <sys/multiboot.h> #include <sys/memory.h> #include <graphics/svga.h> #include <graphics/video.h> #include <string.h> extern uint32_t _kernel_start, _kernel_end; #if defined(__cplusplus) extern "C" /* ...
// ===================================================================================================================== // Create a helper invocation query. Value* BuilderRecorder::CreateIsHelperInvocation( const Twine& instName) { return Record(Opcode::IsHelperInvocation, getInt1Ty(), {}, instName); }
A progressive view-dependent technique for interactive 3-D mesh transmission A view-dependent graphics streaming scheme is proposed in this work that facilitates interactive streaming and browsing of three-dimensional (3-D) graphics models. First, a 3-D model is split into several partitions. Second, each partition is...