text stringlengths 1 1.04M | language stringclasses 25 values |
|---|---|
{% set version = "v1" %}
{% set pageTitle = "There has been a change in this service" %}
{% extends "includes/layout.html" %}
{% block beforeContent %}
<div class="govuk-phase-banner">
<p class="govuk-phase-banner__content">
<strong class="govuk-tag govuk-phase-banner__content__tag">
alpha
</strong>
<span class="govuk-phase-banner__text">
This is a new service – your <a class="govuk-link" href="#">feedback</a> will help us to improve it.
</span>
</p>
</div>
<a class="govuk-back-link" href="/elective-care-testing/{{version}}/trust-worker-request/date-of-procedure">Back</a>
{% endblock %}
{% block content %}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl govuk-!-margin-bottom-5">{{ pageTitle }}</h1>
<p>If you are a patient who is preparing for a surgery or procedure, you no longer need to register your test kit after receiving it. You do not need to do anything else until you get a text with further instructions on booking your courier.</p>
<p>If you are looking to register a home test kit and you are not a patient who is preparing for a surgery or procedure, you should click the below button to register your kit the correct way.</p>
<button class="govuk-button" data-module="govuk-button">Register my test</button>
</div>
</div>
{% endblock %}
| html |
A Korean restaurant beloved by influencers and Angelenos has allegedly gone out of business due to fraudulent refund requests from customers who received their food.
The Los Angeles-based restaurant and café, Spoon By H, closed its doors on Saturday after detailing the credit card dispute challenges it faced via Instagram.
"We are heartbroken to find ourselves sharing the very news we hoped we would never have to share… Spoon By H will be closing," the restaurant’s last post reads, which was shared Monday, Feb. 22. "Although we put up our very best fight, we could no longer hold out against the growing barrage of fraudulent disputed charges and the countless refunds issued. "
The post goes on to say Spoon by H was "buried" by refund claims that "became unbelievably frequent" enough to shut down its operation.
Previously, Spoon By H revealed it had allegedly been scammed by a customer who had placed one of the largest orders the restaurant has ever received when they requested a refund from their credit card company despite having their order hand-delivered into their van.
"But in a time when we should be coming together to support one another, we are experiencing more scams and fraudulent activity more than ever," Spoon By H wrote in a seven-part Instagram post. "After several months of investigation, we were told there would be no action taken as credit card companies almost always favor the side of the customer. "
It is unclear whether refund requests spiked after the restaurant claimed it had been hit by that large refunded order. Representatives at Spoon By H were not available for comment.
Spoon By H isn’t the only restaurant that says it has been hit by waves of refund claims during the pandemic.
Bell’s BBQ in Henderson, Nev. has also reportedly been affected by this new "dine and dash" scam on third-party delivery apps, according to FOX 5 Las Vegas.
The restaurant’s owner, Eric Lipsky, told FOX 5 the issue makes it hard to tell which refunds have legitimate errors with packing or delivery versus which are the result of potential fraud.
Although, Lipsky and his team try to be thorough when they fulfill orders, he says items can be marked as incorrect. This method can usually result in a partial refund from most delivery services.
A spokesperson from Grubhub told FOX 5: "We have no tolerance for misconduct, and if we discover that a customer is misusing our platform, we will promptly block their account. We review refund requests to determine the best course of action, which is often Grubhub providing a refund to the restaurant owner for the cost of the meal. "
Meanwhile, DoorDash has a similar policy that is meant to protect restaurants from fraudsters.
"At DoorDash, we work to ensure that we are always offering the highest quality of service to merchants, Dashers and customers," a DoorDash spokesperson wrote to Fox News via email. "As such, we actively monitor the platform to prevent the misuse of our credit and refund policy. If an issue arises, we will work with all parties to find a resolution. "
Postmates and Uber Eats did not immediately respond to Fox News’ requests for comment, but both online delivery services have webpages that state there are policies in place to address potential fraud.
Not all is lost for Spoon By H, however. A GoFundMe was started for the restaurant on Thursday by a customer who frequented their establishment. In a span of 6 days, more than $71,720 was raised to save the 9-year-old restaurant.
FOX 5 Las Vegas’ Enzo Marino contributed to this report. | english |
<filename>crates/fmod-rs/src/error.rs
#[cfg(doc)]
use fmod::*;
use {
fmod::raw::*,
std::{error::Error as _, ffi::CStr, fmt, num::NonZeroI32},
};
static_assertions::assert_type_eq_all!(i32, FMOD_RESULT);
static_assertions::const_assert_eq!(FMOD_OK, 0i32);
macro_rules! error_enum_struct {
{$(
$(#[$meta:meta])*
$vis:vis enum $Name:ident: NonZeroI32 {$(
$(#[$vmeta:meta])*
$Variant:ident = $value:expr,
)*}
)*} => {$(
$(#[$meta])*
#[derive(Clone, Copy, PartialEq, Eq)]
$vis struct $Name {
raw: NonZeroI32,
}
impl $Name {
raw! {
pub const fn from_raw(raw: i32) -> Result<(), Self> {
match NonZeroI32::new(raw) {
Some(raw) => Err($Name { raw }),
None => Ok(()),
}
}
}
raw! {
pub const fn into_raw(self) -> i32 {
self.raw.get()
}
}
// to clean up rustdoc, call this helper rather than inlining it
const fn cook(raw: i32) -> Self {
match Self::from_raw(raw) {
Err(this) => this,
Ok(()) => panic!("provided zero-valued FMOD_RESULT (FMOD_OK) as an error"),
}
}
$(
$(#[$vmeta])*
#[allow(non_upper_case_globals)]
pub const $Variant: Self = Self::cook($value);
)*
}
impl fmt::Debug for $Name {
#[deny(unreachable_patterns)]
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match *self {
$($Name::$Variant => f.debug_struct(stringify!($Variant)).finish(),)*
_ => f.debug_struct(stringify!($Name)).field("raw", &self.raw).finish(),
}
}
}
)*};
}
error_enum_struct! {
/// An error that FMOD can emit.
pub enum Error: NonZeroI32 {
/// Tried to call a function on a data type that does not allow this type of functionality (ie calling [Sound::lock] on a streaming sound).
BadCommand = FMOD_ERR_BADCOMMAND,
/// Error trying to allocate a channel.
ChannelAlloc = FMOD_ERR_CHANNEL_ALLOC,
/// The specified channel has been reused to play another sound.
ChannelStolen = FMOD_ERR_CHANNEL_STOLEN,
/// DMA Failure. See debug output for more information.
Dma = FMOD_ERR_DMA,
/// DSP connection error. Connection possibly caused a cyclic dependency or connected dsps with incompatible buffer counts.
DspConnection = FMOD_ERR_DSP_CONNECTION,
/// DSP return code from a DSP process query callback. Tells mixer not to call the process callback and therefore not consume CPU. Use this to optimize the DSP graph.
DspDontProcess = FMOD_ERR_DSP_DONTPROCESS,
/// DSP Format error. A DSP unit may have attempted to connect to this network with the wrong format, or a matrix may have been set with the wrong size if the target unit has a specified channel map.
DspFormat = FMOD_ERR_DSP_FORMAT,
/// DSP is already in the mixer's DSP network. It must be removed before being reinserted or released.
DspInUse = FMOD_ERR_DSP_INUSE,
/// DSP connection error. Couldn't find the DSP unit specified.
DspNotFound = FMOD_ERR_DSP_NOTFOUND,
/// DSP operation error. Cannot perform operation on this DSP as it is reserved by the system.
DspReserved = FMOD_ERR_DSP_RESERVED,
/// DSP return code from a DSP process query callback. Tells mixer silence would be produced from read, so go idle and not consume CPU. Use this to optimize the DSP graph.
DspSilence = FMOD_ERR_DSP_SILENCE,
/// DSP operation cannot be performed on a DSP of this type.
DspType = FMOD_ERR_DSP_TYPE,
/// Error loading file.
FileBad = FMOD_ERR_FILE_BAD,
/// Couldn't perform seek operation. This is a limitation of the medium (ie netstreams) or the file format.
FileCouldNotSeek = FMOD_ERR_FILE_COULDNOTSEEK,
/// Media was ejected while reading.
FileDiskEjected = FMOD_ERR_FILE_DISKEJECTED,
/// End of file unexpectedly reached while trying to read essential data (truncated?).
FileEof = FMOD_ERR_FILE_EOF,
/// End of current chunk reached while trying to read data.
FileEndOfData = FMOD_ERR_FILE_ENDOFDATA,
/// File not found.
FileNotFound = FMOD_ERR_FILE_NOTFOUND,
/// Unsupported file or audio format.
Format = FMOD_ERR_FORMAT,
/// There is a version mismatch between the FMOD header and either the FMOD Studio library or the FMOD Low Level library.
HeaderMismatch = FMOD_ERR_HEADER_MISMATCH,
/// A HTTP error occurred. This is a catch-all for HTTP errors not listed elsewhere.
Http = FMOD_ERR_HTTP,
/// The specified resource requires authentication or is forbidden.
HttpAccess = FMOD_ERR_HTTP_ACCESS,
/// Proxy authentication is required to access the specified resource.
HttpProxyAuth = FMOD_ERR_HTTP_PROXY_AUTH,
/// A HTTP server error occurred.
HttpServerError = FMOD_ERR_HTTP_SERVER_ERROR,
/// The HTTP request timed out.
HttpTimeout = FMOD_ERR_HTTP_TIMEOUT,
/// FMOD was not initialized correctly to support this function.
Initialization = FMOD_ERR_INITIALIZATION,
/// Cannot call this command after System::init.
Initialized = FMOD_ERR_INITIALIZED,
/// An error occurred that wasn't supposed to. Contact support.
Internal = FMOD_ERR_INTERNAL,
/// Value passed in was a NaN, Inf or denormalized float.
InvalidFloat = FMOD_ERR_INVALID_FLOAT,
/// An invalid object handle was used.
InvalidHandle = FMOD_ERR_INVALID_HANDLE,
/// An invalid parameter was passed to this function.
InvalidParam = FMOD_ERR_INVALID_PARAM,
/// An invalid seek position was passed to this function.
InvalidPosition = FMOD_ERR_INVALID_POSITION,
/// An invalid speaker was passed to this function based on the current
/// speaker mode.
InvalidSpeaker = FMOD_ERR_INVALID_SPEAKER,
/// The syncpoint did not come from this sound handle.
InvalidSyncPoint = FMOD_ERR_INVALID_SYNCPOINT,
/// Tried to call a function on a thread that is not supported.
InvalidThread = FMOD_ERR_INVALID_THREAD,
/// The vectors passed in are not unit length, or perpendicular.
InvalidVector = FMOD_ERR_INVALID_VECTOR,
/// Reached maximum audible playback count for this sound's soundgroup.
MaxAudible = FMOD_ERR_MAXAUDIBLE,
/// Not enough memory or resources.
Memory = FMOD_ERR_MEMORY,
/// Can't use [Mode::OpenMemoryPoint] on non PCM source data, or non mp3/xma/adpcm data if [Mode::CreateCompressedSample] was used.
MemoryCantPoint = FMOD_ERR_MEMORY_CANTPOINT,
/// Tried to call a command on a 2d sound when the command was meant for 3d sound.
Needs3d = FMOD_ERR_NEEDS3D,
/// Tried to use a feature that requires hardware support.
NeedsHardware = FMOD_ERR_NEEDSHARDWARE,
/// Couldn't connect to the specified host.
NetConnect = FMOD_ERR_NET_CONNECT,
/// A socket error occurred. This is a catch-all for socket-related errors not listed elsewhere.
NetSocketError = FMOD_ERR_NET_SOCKET_ERROR,
/// The specified URL couldn't be resolved.
NetUrl = FMOD_ERR_NET_URL,
/// Operation on a non-blocking socket could not complete immediately.
NetWouldBlock = FMOD_ERR_NET_WOULD_BLOCK,
/// Operation could not be performed because specified sound/DSP connection is not ready.
NotReady = FMOD_ERR_NOTREADY,
/// Error initializing output device, but more specifically, the output device is already in use and cannot be reused.
OutputAllocated = FMOD_ERR_OUTPUT_ALLOCATED,
/// Error creating hardware sound buffer.
OutputCreateBuffer = FMOD_ERR_OUTPUT_CREATEBUFFER,
/// A call to a standard soundcard driver failed, which could possibly mean a bug in the driver or resources were missing or exhausted.
OutputDriverCall = FMOD_ERR_OUTPUT_DRIVERCALL,
/// Soundcard does not support the specified format.
OutputFormat = FMOD_ERR_OUTPUT_FORMAT,
/// Error initializing output device.
OutputInit = FMOD_ERR_OUTPUT_INIT,
/// The output device has no drivers installed. If pre-init, [Output::NoSound] is selected as the output mode. If post-init, the function just fails.
OutputNoDrivers = FMOD_ERR_OUTPUT_NODRIVERS,
/// An unspecified error has been returned from a plugin.
Plugin = FMOD_ERR_PLUGIN,
/// A requested output, dsp unit type or codec was not available.
PluginMissing = FMOD_ERR_PLUGIN_MISSING,
/// A resource that the plugin requires cannot be found. (ie the DLS file for MIDI playback)
PluginResource = FMOD_ERR_PLUGIN_RESOURCE,
/// A plugin was built with an unsupported SDK version.
PluginVersion = FMOD_ERR_PLUGIN_VERSION,
/// An error occurred trying to initialize the recording device.
Record = FMOD_ERR_RECORD,
/// Reverb properties cannot be set on this channel because a parent channelgroup owns the reverb connection.
ReverbChannelGroup = FMOD_ERR_REVERB_CHANNELGROUP,
/// Specified instance in [ReverbProperties] couldn't be set. Most likely because it is an invalid instance number or the reverb doesn't exist.
ReverbInstance = FMOD_ERR_REVERB_INSTANCE,
/// The error occurred because the sound referenced contains subsounds when it shouldn't have, or it doesn't contain subsounds when it should have. The operation may also not be able to be performed on a parent sound.
SubSounds = FMOD_ERR_SUBSOUNDS,
/// This subsound is already being used by another sound, you cannot have more than one parent to a sound. Null out the other parent's entry first.
SubSoundAllocated = FMOD_ERR_SUBSOUND_ALLOCATED,
/// Shared subsounds cannot be replaced or moved from their parent stream, such as when the parent stream is an FSB file.
SubSoundCantMove = FMOD_ERR_SUBSOUND_CANTMOVE,
/// The specified tag could not be found or there are no tags.
TagNotFound = FMOD_ERR_TAGNOTFOUND,
/// The sound created exceeds the allowable input channel count. This can be increased using the max_input_channels parameter in [System::set_software_format].
TooManyChannels = FMOD_ERR_TOOMANYCHANNELS,
/// The retrieved string is too long to fit in the supplied buffer and has been truncated.
Truncated = FMOD_ERR_TRUNCATED,
/// Something in FMOD hasn't been implemented when it should be! contact support!
Unimplemented = FMOD_ERR_UNIMPLEMENTED,
/// This command failed because [System::init] or [System::set_driver] was not called.
Uninitialized = FMOD_ERR_UNINITIALIZED,
/// A command issued was not supported by this object. Possibly a plugin without certain callbacks specified.
Unsupported = FMOD_ERR_UNSUPPORTED,
/// The version number of this file format is not supported.
Version = FMOD_ERR_VERSION,
/// The specified bank has already been loaded.
EventAlreadyLoaded = FMOD_ERR_EVENT_ALREADY_LOADED,
/// The live update connection failed due to the game already being connected.
EventLiveUpdateBusy = FMOD_ERR_EVENT_LIVEUPDATE_BUSY,
/// The live update connection failed due to the game data being out of sync with the tool.
EventLiveUpdateMismatch = FMOD_ERR_EVENT_LIVEUPDATE_MISMATCH,
/// The live update connection timed out.
EventLiveUpdateTimeout = FMOD_ERR_EVENT_LIVEUPDATE_TIMEOUT,
/// The requested event, parameter, bus or vca could not be found.
EventNotFound = FMOD_ERR_EVENT_NOTFOUND,
/// The [studio::System] object is not yet initialized.
StudioUninitialized = FMOD_ERR_STUDIO_UNINITIALIZED,
/// The specified resource is not loaded, so it can't be unloaded.
StudioNotLoaded = FMOD_ERR_STUDIO_NOT_LOADED,
/// An invalid string was passed to this function.
InvalidString = FMOD_ERR_INVALID_STRING,
/// The specified resource is already locked.
AlreadyLocked = FMOD_ERR_ALREADY_LOCKED,
/// The specified resource is not locked, so it can't be unlocked.
NotLocked = FMOD_ERR_NOT_LOCKED,
/// The specified recording driver has been disconnected.
RecordDisconnected = FMOD_ERR_RECORD_DISCONNECTED,
/// The length provided exceeds the allowable limit.
TooManySamples = FMOD_ERR_TOOMANYSAMPLES,
/// An error occurred in FMOD.rs that wasn't supposed to. Check the logs and open an issue.
InternalRs = -1,
}
}
/// Type alias for FMOD function results.
pub type Result<T = (), E = Error> = std::result::Result<T, E>;
impl std::error::Error for Error {
fn description(&self) -> &str {
if *self == Error::InternalRs {
return "An error occurred in FMOD.rs that wasn't supposed to. Check the logs and open an issue.";
}
// SAFETY: FMOD_ErrorString is a C `static` function which thus isn't
// bindgen'd, but hand implemented in fmod-core-sys. As such, we're
// 100% sure that it always returns valid nul-terminated ASCII.
unsafe {
let error_string = CStr::from_ptr(FMOD_ErrorString(self.raw.into()));
error_string.to_str().unwrap_unchecked()
}
}
}
impl fmt::Display for Error {
#[allow(deprecated)]
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str(self.description())
}
}
| rust |
pub mod diff;
pub mod edit;
pub mod remove;
pub mod render;
pub mod sync;
pub mod track;
pub mod tree;
| rust |
Clipping coupons, buying extra items when they were on sale and the like seemed something I remember my Grandma doing when I was younger.
Today though, everyone's looking to save money where they can and using coupons and the web to shave cents or dollars is something that is much more mainstream than before – maybe it's just caught more of my attention. More surprising, it has changed where my family shops - and gotten most of the family involved.
I used to think that coupons were simply a means of the brand-name manufacturers getting you to buy stuff you wouldn't normally buy, still pay more than you should, and feel good about it at the end. I figured we could do better just buying the off-brand, private label stuff. Now I'm not so sure.
It started with my wife suggesting we get the Sunday paper for the coupons a few months ago. After nearly a decade since our last subscription to a print newspaper, I was skeptical. Three months into my wife's experiment, however, my viewpoint has changed.
Armed with the coupons from the Sunday paper, my wife does the initial pass for the coupons that are for things we would use and they get clipped for the coming week. Next, she logs into CouponMom and tracks the coupons from earlier weeks if the items may have gone on sale. For the specialty items or (sometimes) non-food items, she will visit RetailMeNot and will look at other coupon-code clearinghouses like CurrentCodes or CouponCabin. Then, she plans her trips to the store like special forces plan their missions – this day/store for these items, another store for some of the other items, etc.
She knows to take advantage of the double-coupon days at the grocery store, and she combines the coupons with the in-store offer of a cheaper price when buying multiple items. There have been times where the price of the items are $3.99 and the coupons with the in-store offer have saved more than $4...(so now manufacturers and retailers are paying her to take their products). Of course, this means that sometimes we have three bottles of shampoo sitting in the house or eight cans of soup or whatever. We've sectioned off a couple shelves in a closet and dubbed it Overstock-dot-mom.
What specific things has she found?
- Multiple newspapers. We get three Sunday papers every week. So three sets of coupons. She may use one or two right away or use the others later on when the items have gone on sale again before the coupons expire. Probably 5 of every 6 weeks, this pays off big time.
GeekMom makes her killing. She'll buy stuff with coupons, but only when it's already on sale.
- Have a system. CouponMom is her go-to site for helping organize, but she's also got a system for tagging and highlighting the coupons we will use along with getting rid of the coupons once the expiration date has passed.
- Use the double-coupon days. There's one store in our area that offers double coupons up to a $5 limit. Guess which grocery store gets a bunch of our business on Wednesdays?
- If you aren't going to use it, don't buy it. We get tons of coupons for stuff we're never going to eat or use. Those coupons never get clipped. Even though they never get clipped, we more than pay for the cost of the newspapers every single week.
and 60% off of some of her shopping trips...the check-out people at the stores have expressed their amazement.
Walgreens instead of __Wal-Mart __(that alone would make some claim there is a God).
Also, we've found that even buying and stocking up, we're meeting our food budget each month – something we weren't able to do all of last summer and fall...and the oldest GeekTeen has taken to clipping coupons when the GeekMom is busy.
| english |
<filename>emacs.d/elpa/emojify-20210108.1111/data/emoji-sets.json<gh_stars>1-10
{
"emojione-v2-22" : {
"description" : "Emojis provided by Emoji One (version 2), resized to 22px",
"website" : "http://emojione.com",
"url" : "https://raw.githubusercontent.com/iqbalansari/emacs-emojify/9e36d0e8c2a9c373a39728f837a507adfbb7b931/emojione-fixed-v2-22.tar",
"sha256" : "8b0ccea3610dc98c74d04de8d8c6340b4aaa8e950cad8fb62961e45792625dd7"
},
"emojione-v2" : {
"description" : "Emojis provided by Emoji One (version 2)",
"website" : "http://emojione.com",
"url" : "https://raw.githubusercontent.com/iqbalansari/emacs-emojify/9e36d0e8c2a9c373a39728f837a507adfbb7b931/emojione-fixed-v2.tar",
"sha256" : "828765e8f89dc6aa4cfb06c271e9de122aa51383ed85e1169ac774fdf1c739fb"
},
"emojione-v2.2.6-22" : {
"description" : "Emojis provided by Emoji One (version 2.2.6), resized to 22px",
"website" : "http://emojione.com",
"url" : "https://raw.githubusercontent.com/iqbalansari/emacs-emojify/9e36d0e8c2a9c373a39728f837a507adfbb7b931/emojione-fixed-v2.2.6-22.tar",
"sha256" : "f4428b0875cd0a418168139418bb03aaae0655254e4a683ec101f901d2c6ce59"
},
"emojione-v2.2.6" : {
"description" : "Emojis provided by Emoji One (version 2.2.6)",
"website" : "http://emojione.com",
"url" : "https://raw.githubusercontent.com/iqbalansari/emacs-emojify/9e36d0e8c2a9c373a39728f837a507adfbb7b931/emojione-fixed-v2.2.6.tar",
"sha256" : "eb0ff5637924a2a04d3ab649b66d816a69c5d71eab2bf5274d292115e8178244"
},
"twemoji-v2": {
"description" : "Emojis provided by Twitter (version 2)",
"website" : "https://twemoji.twitter.com/",
"url": "https://raw.githubusercontent.com/iqbalansari/emacs-emojify/9e36d0e8c2a9c373a39728f837a507adfbb7b931/twemoji-fixed-v2.tar",
"sha256" : "0991b1032a04d948835fba4249f43993b4ac88a66d2ae7f278f03be31884851d"
},
"twemoji-v2-22": {
"description" : "Emojis provided by Twitter (version 2), resized to 22px",
"website" : "https://twemoji.twitter.com/",
"url": "https://raw.githubusercontent.com/iqbalansari/emacs-emojify/9e36d0e8c2a9c373a39728f837a507adfbb7b931/twemoji-fixed-v2-22.tar",
"sha256" : "e3ae26d7ac111fe0be7b90f29afdab89676610a865353dfb672673efb5af044a"
},
"openmoji-v13-0": {
"description" : "Emojis provided by HfG Schwäbis<NAME> (version 13.0) at 72px",
"website" : "https://openmoji.org",
"url": "https://raw.githubusercontent.com/iqbalansari/emacs-emojify/9161fd27f399944516e86d36c90c3b55f31427dd/openmoji-v13.0.tar",
"sha256" : "ccb0bce387e216a0c5f4ff54d53607dbfa1c62e7de9be95ee56af0cd39e42807"
}
}
| json |
DALL-E 2 (a mishmash of WALL-E and Dali) builds on the success of its predecessor DALL-E, which OpenAI unveiled in early 2021, and improves the quality and resolution of the output images thanks to advanced deep learning techniques.
Generating realistic images isn’t new to AI. What sets DALL-E and DALL-E 2 apart is they can generate them from natural language prompts of varying complexity.
While that may sound straightforward, it’s actually incredibly difficult for a machine learning algorithm to pick up on the subtleties of natural language instructions (or we’d all be programming computers in plain English), and create beautiful images with them.
What makes DALL-E 2 revolutionary is the incredible quality of the images it churns out. Take a look.
"A fire hydrant in the Sahara desert."
"An oversized grizzly bear delivering a pizza"
Unlike its predecessor, DALL-E 2 can also edit images, changing their composition, shadows, reflections, and textures through a process called ‘inpainting’.
In the image below, it added the flamingo – reflections and all – with a simply worded instruction to do so. RIP Photoshop?
How does it work?
DALL-E 2 has learned the relationship between images and the text used to describe them better than any other deep learning model to date.
One of the biggest challenges for such models has been picking up on latent features that remain consistent across different lighting conditions, angles and backgrounds. For example, a machine learning model may associate the colour blue with birds because all the pictures of birds it was trained on were taken against the sky.
To solve this problem, OpenAI uses CLIP, a computer vision system that it also released last year, as the basis for DALL-E. CLIP was created to look at photographs and summarise their contents the way a human would.
OpenAI iterated on this process to produce “unCLIP”, an inverted version that begins with the description and churns out an image. Encoding and decoding images this way lets researchers see which features of an image CLIP recognised and which it ignored.
Finally, DALL-E 2 creates the actual image through a technique called diffusion, which involves starting with a random collection of pixels and gradually filling in a pattern with more and more complexity.
So when do we get to try it? Sadly (or perhaps thankfully, knowing the internet), OpenAI has said that unlike the original, DALL-E 2 will be made available for testing only to vetted partners, and with many restrictions in place, such as no nudity, hate symbols or obscene pictures.
DALL-E 2 is already a huge improvement over its predecessor but these are still early days in AI. What does the future hold? Will DALL-E 200 deal in video and have the ability to, say, turn books into movies on the fly?
With the government yet to reduce import duties on electric vehicles (EVs), Tesla’s team in India has started working for the Asia-Pacific (APAC) market and others, several industry sources told us.
In limbo: Tesla's plan to enter the country has been on hold since 2019 as India levies a 60% import duty on EVs priced at $40,000 or lower and a 100% duty on EVs priced at more than $40,000. Tesla has been lobbying the government to reduce the rates.
The government will let venture capital (VC) and private equity (PE) funds take a higher share of profit, earn more fee and go for a faster drawdown of the money they receive from the state’s fund of funds.
The fund of funds for startups (FFS) was introduced in 2016, for contribution to various alternative investment funds (AIFs) registered with the capital market regulator Sebi. The FFS, run by the state-controlled Small Industries Development Bank of India (SIDBI) has invested more than Rs 9400 crore in 86 AIFs (the regulatory term for PE and VC funds).
SIDBI is the country’s largest limited partner (LP), investors contributing to the capital shored up by VC and PE funds.
A change in the interpretation of ‘relevant market’ by the Competition Commission of India (CCI) has opened up several digital platforms to antitrust probes.
What's the change? Earlier, the commission used to club online and offline markets while determining the market dominance of a digital player, the sources said.
- For instance, while considering an ecommerce platform that sells consumer goods, the CCI used to consider the online and offline markets together to arrive at the market share of the ecommerce player.
- Since the offline market is a large segment, most ecommerce firms ended up below market dominance threshold as they did not own any bricks-and-mortar stores.
- But now the CCI has started considering only the online segment as a ‘relevant market’ for digital platforms.
Sahil Barua, cofounder and CEO of Delhivery, which will launch its initial public offering (IPO) for subscription on May 11, told ETtech that the logistics and supply chain company was not worried about valuations in the short term as markets eventually value businesses correctly in the long term. Barua was talking about how investors may have priced the company if it had listed last year amid the euphoria in India's startup ecosystem and overall capital markets.
IPOs on hold as startups look to wait out storm: Multiple startup IPOs including that of Boat, a direct-to-consumer (D2C) brand, Oyo Hotels & Homes, Snapdeal and PharmEasy are delayed and may not hit the public markets this calendar year, amid uncertain economic conditions triggered by geopolitical developments and rising interest rates in the US.
Zomato CEO Deepinder Goyal announced on Friday that he would donate all proceeds from the employee stock options (Esops) he received from investors and the board of directors to the Zomato Future Foundation (ZFF).
At Zomato's average share price over the past month, these Esops are worth around $90 million (Rs 700 crore), he said in a note.
Quote: "To reap the most benefit for ZFF, and protect the interests of our shareholders, I do not intend to liquidate all these shares immediately but over the next few years. For the first year, I will liquidate less than 10% of these Esops towards this fund," Goyal said.
Larsen & Toubro Infotech (LTI) board on Friday approved a scheme of amalgamation with Mindtree, creating a $3.5 billion IT services provider. The two companies are subsidiaries of Larsen & Toubro.
Flush with cash, IT biggies plan dividends, share buybacks: TCS, Infosys and Wipro are looking at a mix of dividends and share buybacks to return money to their shareholders, key executives told us. Earlier in the year, TCS completed a Rs 18,000-crore buyback process, the fastest in recent history, while Infosys wrapped up a Rs 9,200-crore buyback last year.
Cognizant will completely shift to hybrid work by early 2023, says India chief: Cognizant Technology Solutions expects to fully transition to a hybrid work model by early 2023 as it gives employees more flexibility, its India chairman and managing director Rajesh Nambiar told us in an interview.
TCS achieves net zero emissions across Asia Pacific: Tata Consultancy Services has achieved net zero emissions across its Asia Pacific locations, ahead of its 2030 target, a senior executive told ET. Last year, the company announced plans to reduce its absolute greenhouse gas emissions and achieve net zero emissions by 2030.
The Good Glamm Group is in advanced talks to acquire the Raymond Group’s consumer care business, which houses the Park Avenue and KamaSutra brands, three people with knowledge of the deal said. The cash-and-stock deal, pegged at around Rs 2,500-Rs 2,800 crore, is expected to be one of the largest acquisitions in the beauty and personal care segment.
Thrasio set to rework India plans amid global rejig: Thrasio Holdings, the company which pioneered the brand roll-up model about four years ago, may review its ambitious India strategy amid a global shake-up at the firm. Tharsio, which buys and scales brands which sell on Amazon, announced on Wednesday that its chief executive Carlos Cashman was being replaced by Greg Greeley, even as media reports suggested that the company was expected to lay off about 20% of its staff.
Thrasio names new CEO, plans layoffs: Thrasio said Greg Greeley will take over as its new chief executive officer replacing Carlos Cashman. Greeley, a former senior executive at Amazon and Airbnb, has also joined the board of Tharsio and will assume his new role at the company from August.
Electric vehicle (EV) makers, faced with a problem of defective models after more than two dozen electric two-wheelers caught fire recently, are not replacing their batteries but only tweaking the wiring and connectors, people in the know have said. Ola Electric, Okinawa and Pure EV have recalled electric two-wheelers to fix battery-related issues, but since the battery is a sealed unit, it cannot be opened or tampered with.
Ola Cars CEO Arun Sirdeshmukh set to leave: Ola Cars chief executive Arun Sirdeshmukh has resigned, multiple people aware of the development told ET. Sirdeshmukh's exit comes soon after chief financial officer (CFO) GR Arun Kumar took up a wider role at the ride-hailing firm.
The crypto market declined, mirroring the US stocks sell-off, after the US Federal Reserve announced raising interest rates by half a percentage point to restrain inflation.
At 5 PM on Friday, on Coinmarketcap, the global crypto market cap stood at $1.66T, a 7.73 % decrease over the last day.
Following the US Federal Reserve meeting statement on Wednesday, the world's largest digital currency by value climbed sharply to challenge the $40K resistance, but has since dropped 9.40 percent to $36,200 levels, the biggest drop in the previous four months.
De-Fi under taxman’s lens; govt set to levy additional taxes: Indians earning interest on their crypto from platforms outside India have come under taxman’s scrutiny, two people familiar with the development told us.
The tax department is looking to impose an additional tax deducted at source (TDS) and equalisation levy on such transactions and interest income generated by Indians, they said. The government is looking to levy 20% TDS on such transactions and income, especially when one of the parties involved has not submitted their PAN card details, a person aware of the development said.
Coinbase hires former Snap India head to lead emerging markets: Coinbase has hired Durgesh Kaushik, the former head of Snap India, to lead the company's growth in emerging markets. Coinbase confirmed Kaushik’s appointment. We reported on April 30 that Kaushik, who joined Snap Inc. in 2019, had quit the company.
As NFT prices drop, taxman could come knocking: A recent drop in the prices of high-value non-fungible tokens (NFTs), coupled with ambiguity in the recently established tax framework, will lead to tax scrutiny for Indian investors in the coming months, according to tax experts.
Elon Musk’s acquisition of Twitter will widen views on the global platform that has "painted itself into a corner" by limiting diversity of opinion, founder & CEO of Zoho Corp Sridhar Vembu told us in an exclusive interview. The social media platform, he said, was limiting itself with its “virtue-signalling” and ideological affiliations.
Startups are likely to become more circumspect about pay hikes in 2022 amid a slowdown in large-sized funding rounds and job cuts at some companies. A gradual drying of the funding tap, geopolitical tensions and a slump in the valuation of high-profile startups after listing have made the scenario less sanguine.
The industry is also grappling with the paradox of high attrition and a war for talent in some key tech roles.
Companies such as upGrad, CashKaro and Smoor and the Good Glamm Group said that increments would be higher than last year to attract, reward and retain talent. Others like Wakefit and Eruditus said they would be similar to, or less than, last year.
Funding crunch: Late-stage companies have been under increasing pressure to reduce their cash burn and market insiders say layoffs could rise if they fail to raise newer rounds. Funding for Indian startups in April has been the lowest so far in 2022.
Quick commerce startup Zepto, Agritech startup Absolute, omnichannel diagnostics platform Redcliffe Lifetech, and Neobank Open were among the startups that raised funds this week. Here's a look at the top funding deals of the week.
■ IIFL Finance is preparing to foray into the neobanking segment and will set up a joint venture (JV) with neobanking fintech firm Open following after investing $50 million in the startup on Monday, a top company executive told us.
■ Quick commerce startup Zepto has closed a $200 million funding round led by existing investor YC Continuity Fund, the growth-stage fund run by Silicon Valley’s famed accelerator Y Combinator.
■ Uday Shankar and James Murdoch-backed Bodhi Tree Systems have reached an agreement to acquire a significant minority stake in Kota-headquartered Allen Career Institute. Bodhi Tree will be investing $600 million (around Rs 4,500 crore) in Allen.
Curated by Judy Franko in New Delhi. Graphics and illustrations by Rahul Awasthi.
That’s all from us this week. Stay safe.
| english |
function makeTarget(str) {
const nums = str.match(/[-\d]+/g).map((n) => parseInt(n));
return { min_x: nums[0], max_x: nums[1], min_y: nums[2], max_y: nums[3] };
}
function launchProbe(t, vx, vy) {
let hit = false;
let maxHeight = 0;
let x = 0;
let y = 0;
while (!hit && x <= t.max_x && y >= t.min_y) {
x += vx;
y += vy;
if (y > maxHeight) {
maxHeight = y;
}
vx = vx === 0 ? vx : vx > 0 ? vx - 1 : vx + 1;
vy -= 1;
hit = x >= t.min_x && x <= t.max_x && y >= t.min_y && y <= t.max_y;
}
return { hit, maxHeight };
}
function analyzeLaunches(target) {
let maxHeight = 0;
let successCount = 0;
for (let x = 1; x < target.max_x * 2; x++) {
for (let y = target.min_y; y < Math.abs(target.min_y); y++) {
let launch = launchProbe(target, x, y);
if (launch.hit) {
successCount += 1;
if (launch.maxHeight > maxHeight) {
maxHeight = launch.maxHeight;
}
}
}
}
return { maxHeight, successCount };
}
function solve(data) {
const start = Date.now();
const target = makeTarget(data);
const results = analyzeLaunches(target);
const pt1 = results.maxHeight;
const pt2 = results.successCount;
return { pt1, pt2, time: Date.now() - start };
}
const solution = solve("target area: x=143..177, y=-106..-71");
console.log(`Day 17.1: ${solution.pt1}`);
console.log(`Day 17.2: ${solution.pt2}`);
console.log(`Day 17 Time: ${solution.time} ms\n`);
module.exports = {
solution,
makeTarget,
launchProbe,
analyzeLaunches,
};
| javascript |
<filename>human-dont-get-mad/src/game/GamePosition.java<gh_stars>0
package game;
/**
* <h1>GamePosition</h1>
* <p>ENUM that contains the the first part of the figure
* position defined in position in the MAEDN protocol. A valid position would
* be for example: [GamePosition.start,2] or [GameState.field, 24].</p>
*
* @version 1.0
* @since 2021-07-23
*/
public enum GamePosition {
START,
HOME,
FIELD;
/**
* <h1><i>toString</i></h1>
* <p>This method is converting the ENUM to strings that are supported
* by the MAEDN specification.</p>
* @return String - return string supported by MAEDN specification
*/
@Override
public String toString() {
switch(this) {
case START: return "start";
case HOME: return "home";
case FIELD: return "field";
default: return "";
}
}
}
| java |
Water-resistant has become a popular feature among smartphone users, and more and more smartphone makers are also coming up with water-resistant device in their line-up. For instance, Sony has a got firm-hold on the water-resistant smartphone as many of its devices features great IP ratings that makes it water, dust and shock proof.
This year we have seen many smartphone launched with water-resistant as well as water repellent features. While, we expect more and more handsets will be launched with water-resistant before the year's end. Here we came up with a list of smartphones that are waterproof and rugged. Take a look at the slider below to know more.
Moto G (3rd Gen)
Moto G (3rd Gen) comes with IPX7 rating, where the device can be immersed in up to 3 feet under water for 30 minutes.
The smartphone sports a 5 inch HD display with a resolution of 1280x720 pixels and features Corning Gorilla Glass protection. It is powered by a 1. 2 GHz quad-core 64-bit Snapdragon 410 (MSM8916) processor with Adreno 306 GPU.
The Moto X Style comes with water repellent coating on top (not water resistance). The smartphone can survive accidental contact with water.
The smartphone sports a 5. 7 TFT LCD display with 1440×2560 pixels and comes with Corning Gorilla Glass 3 protection. It is powered by a 1. 8 GHz hexa-core Snapdragon 808 processor with Adreno 418 GPU besides 3GB RAM under the hood.
The Sony Xperia Z3+ comes with IP65 and IP68 rating makes it water and dust proof and can survive up to 1. 5 meters under water for 30 minutes.
The Sony Xperia Z3+ sports a 5. 2 inch Triluminos display with a resolution of 1920 x 1080 pixels and also equipped with Live Colour LED powered by X-Reality engine. It is powered by a Octa-Core Qualcomm Snapdragon 810 processor with Adreno 430 GPU besides 3GB RAM under the hood. It runs on Android 5. 0 Lollipop and can be upgradable to the latest Android M. Know more.
The Sony Xperia Z3 also comes with IP65 and IP68 rating makes it water and dust proof and can survive up to 1. 5 meters under water for 30 minutes.
The Xperia Z3 houses a 5. 2 inch Full HD display at 1920x1080 pixels resolution, which churns out a pixel density of 424 ppi. It is powered by 2. 5GHz quad core Snapdragon 801 processor and runs on Android platform. Know more.
The Sony Xperia M4 Aqua comes with IP65 rating waterproof and IP68 rating dust tight.
The smartphone sports a 5 inch HD display with a resolution of 1280x720 pixels. It is clocked at 1. 5 GHz octa core Qualcomm Snapdragon 615 64-bit processor with Adreno 405 GPU besides 2GB RAM. It flaunts a 13 megapixel rear camera with LED flash, Exmor RS sensor, and a 5 megapixel front-facing camera that comes with 88-degree wide-angle lens. Know more.
The Galaxy S6 Active is water-resistance and has an IP68 rating, which makes the first smartphone to get the highest rating in its class. The smartphone can be drown under 1. 5 meter of water for 30 minutes and it will still work.
The S6 Active sports a 5. 1 inch qHD Super AMOLED display, powered by its very own Exynos 7420 octa-core 64-bit processor and paired with 3GB of RAM. It runs on Android 5. 0. 2 Lollipop along with Samsung TouchWiz UI on top. It holds a 16 megapixel camera on the back and a 5 megapixel front-facing camera. Know more.
The Samsung Galaxy S5 comes with IP67 certification, that makes is swat, water and dust resistance.
The smartphone comes with a 5. 1 inch Super AMOLED display offering a Full HD resolution and churns out the pixel density of 432 ppi. It is powered by an octa core processor (1. 9GHz + 1. 3GHz) coupled with 2GB of RAM and runs on Android KitKat. Know more.
The Xperia Z3 Compact comes with IP65 and IP68 certification rating, making it as water and dust resistance and can survive up to 1. 5 meter under water.
It comes with a 4. 6 inch HD IPS display at 1280x720 pixels resolution and powered by Triluminos technology with BraviaTV expertise. The smartphone is powered by Snapdragon 801 quad core processor clocked at 2. 5 GHz with Adreno 330 GPU paired with 2GB of RAM and runs on Android KitKat OS. Know more.
The smartphone comes with IP67 certification rating, that means it is water and dust proof and can be submerged in up to 1 meter of water for 30 minutes.
The handset is currently available in the U. S. It sports a 5 inch 720p display and is powered by a quad-core Snapdragon 410 processor paired with 1GB or RAM and runs on Android Lollipop. The smartphone comes with a 5 megapixel rear camera and a 2 megapixel front-facing camera.
The CAT S40 coms with IP68 certification rating, that makes it water and dust proof and can survive up to 1. 5 meters under water. Moreover, it also comes with shock resistance, and can survive a drop onto concrete from up to 1. 8 meters without being damaged.
The smartphone features a 4. 7 inch IPS display at 540x960 pixels of resolution and powered by a quad-core Snapdragon 210 processor and paired with 1GB of RAM. It comes with 8 megapixel rear camera and a 2 megapixel front-facing camera and houses 16GB of internal memory. The smartphone will be available starting this month in the U. S. | english |
<filename>controllers/ContributionController.js
// const { Sequelize, Op } = require('sequelize');
const { response } = require('oba-http-response');
const Contributions = require('../models').contribution;
const missingInput = require('../helpers/missingInput');
const { ErrorClone } = require('../helpers/error');
exports.makeContribution = async (req, res, next) => {
const {
userId, tenureId, amount, cycle,
} = req.body;
try {
const required = ['userId', 'tenureId', 'amount', 'cycle'];
missingInput(required, req.body);
const contribution = await Contributions.findOne({
where: {
userId,
tenureId,
cycle,
},
raw: true,
});
if (contribution) throw new ErrorClone(404, 'Contribution already made');
const newContribution = await Contributions.create({
userId, tenureId, amount, cycle,
});
response(res, 201, { contribution: newContribution }, null, 'Contribution made successfully');
} catch (e) {
next(e);
}
};
exports.getContribution = async (req, res, next) => {
const { contributionId } = req.params;
try {
const required = ['contributionId'];
missingInput(required, req.params);
const contribution = await Contributions.findByPk(contributionId);
if (!contribution) throw new ErrorClone(404, 'Contribution not found');
response(res, 200, contribution, null, 'Contribution details');
} catch (e) {
next(e);
}
};
| javascript |
use std::collections::HashSet;
use std::io::{self, Read};
use std::str::FromStr;
use lazy_static::lazy_static;
use regex::Regex;
fn main() -> Result<(), io::Error> {
let mut input = String::new();
io::stdin().read_to_string(&mut input)?;
let program = parse(&input);
println!("part 1: {:?}", part1(&program));
Ok(())
}
#[derive(Default)]
struct Device {
acc: i32,
pc: usize,
}
impl Device {
fn reset(&mut self) {
self.acc = 0;
self.pc = 0;
}
// Returns the value of the accumulator, immediately before any instruction
// is executed a second time. If we go out of bounds, return None. Also, you
// probably want to run .reset() first.
fn run_until_loop(&mut self, program: &[Instruction]) -> Option<i32> {
let mut seen = HashSet::new();
loop {
match seen.insert(self.pc) {
true => (),
false => return Some(self.acc),
}
match program.get(self.pc)? {
Instruction::Nop(_) => self.pc += 1,
Instruction::Acc(v) => {
self.acc += *v;
self.pc += 1
}
Instruction::Jmp(v) => self.pc += *v as usize,
}
}
}
}
enum Instruction {
Nop(i32),
Acc(i32),
Jmp(i32),
}
impl FromStr for Instruction {
type Err = String;
fn from_str(s: &str) -> Result<Self, Self::Err> {
lazy_static! {
static ref INSTRUCTION_RE: Regex =
Regex::new(r"^(?P<op>[a-z]{3}) (?P<arg>[+\-]\d+)$").unwrap();
}
let caps = INSTRUCTION_RE
.captures(s)
.ok_or("unable to find instruction")?;
let op = caps.name("op").ok_or("unable to find operation")?.as_str();
let arg = caps
.name("arg")
.ok_or("unable to find argument")?
.as_str()
.parse::<i32>()
.map_err(|e| e.to_string())?;
match op {
"nop" => Ok(Instruction::Nop(arg)),
"acc" => Ok(Instruction::Acc(arg)),
"jmp" => Ok(Instruction::Jmp(arg)),
_ => Err(format!("unknown operation {}", op)),
}
}
}
fn parse(input: &str) -> Vec<Instruction> {
input.lines().filter_map(|x| x.parse().ok()).collect()
}
fn part1(program: &[Instruction]) -> Option<i32> {
let mut device = Device {
..Default::default()
};
device.run_until_loop(program)
}
| rust |
<filename>tests/executor.py
from spec import eq_
from mock import Mock, call as mock_call
from invoke.collection import Collection
from invoke.config import Config
from invoke.context import Context
from invoke.executor import Executor
from invoke.tasks import Task, ctask, call
from _utils import _output_eq, IntegrationSpec
class Executor_(IntegrationSpec):
def setup(self):
s = super(Executor_, self)
s.setup()
self.task1 = Task(Mock(return_value=7))
self.task2 = Task(Mock(return_value=10), pre=[self.task1])
self.task3 = Task(Mock(), pre=[self.task1])
self.task4 = Task(Mock(return_value=15), post=[self.task1])
coll = Collection()
coll.add_task(self.task1, name='task1')
coll.add_task(self.task2, name='task2')
coll.add_task(self.task3, name='task3')
coll.add_task(self.task4, name='task4')
self.executor = Executor(collection=coll)
class init:
"__init__"
def allows_collection_and_config(self):
coll = Collection()
conf = Config()
e = Executor(collection=coll, config=conf)
assert e.collection is coll
assert e.config is conf
def uses_blank_config_by_default(self):
e = Executor(collection=Collection())
assert isinstance(e.config, Config)
class execute:
def base_case(self):
self.executor.execute('task1')
assert self.task1.body.called
def kwargs(self):
k = {'foo': 'bar'}
self.executor.execute(('task1', k))
self.task1.body.assert_called_once_with(**k)
class basic_pre_post:
"basic pre/post task functionality"
def pre_tasks(self):
self.executor.execute('task2')
eq_(self.task1.body.call_count, 1)
def post_tasks(self):
self.executor.execute('task4')
eq_(self.task1.body.call_count, 1)
def calls_default_to_empty_args_always(self):
pre_body, post_body = Mock(), Mock()
t1 = Task(pre_body)
t2 = Task(post_body)
t3 = Task(Mock(), pre=[t1], post=[t2])
e = Executor(collection=Collection(t1=t1, t2=t2, t3=t3))
e.execute(('t3', {'something': 'meh'}))
for body in (pre_body, post_body):
eq_(body.call_args, tuple())
def _call_objs(self, contextualized):
# Setup
pre_body, post_body = Mock(), Mock()
t1 = Task(pre_body, contextualized=contextualized)
t2 = Task(post_body, contextualized=contextualized)
t3 = Task(Mock(),
pre=[call(t1, 5, foo='bar')],
post=[call(t2, 7, biz='baz')],
)
c = Collection(t1=t1, t2=t2, t3=t3)
e = Executor(collection=c)
e.execute('t3')
# Pre-task asserts
args, kwargs = pre_body.call_args
eq_(kwargs, {'foo': 'bar'})
if contextualized:
assert isinstance(args[0], Context)
eq_(args[1], 5)
else:
eq_(args, (5,))
# Post-task asserts
args, kwargs = post_body.call_args
eq_(kwargs, {'biz': 'baz'})
if contextualized:
assert isinstance(args[0], Context)
eq_(args[1], 7)
else:
eq_(args, (7,))
def may_be_call_objects_specifying_args(self):
self._call_objs(False)
def call_objs_play_well_with_context_args(self):
self._call_objs(True)
class deduping_and_chaining:
def chaining_is_depth_first(self):
_output_eq('-c depth_first deploy', """
Cleaning HTML
Cleaning .tar.gz files
Cleaned everything
Making directories
Building
Deploying
Preparing for testing
Testing
""".lstrip())
def _expect(self, args, expected):
_output_eq('-c integration {0}'.format(args), expected.lstrip())
class adjacent_hooks:
def deduping(self):
self._expect('biz', """
foo
bar
biz
post1
post2
""")
def no_deduping(self):
self._expect('--no-dedupe biz', """
foo
foo
bar
biz
post1
post2
post2
""")
class non_adjacent_hooks:
def deduping(self):
self._expect('boz', """
foo
bar
boz
post2
post1
""")
def no_deduping(self):
self._expect('--no-dedupe boz', """
foo
bar
foo
boz
post2
post1
post2
""")
# AKA, a (foo) (foo -> bar) scenario arising from foo + bar
class adjacent_top_level_tasks:
def deduping(self):
self._expect('foo bar', """
foo
bar
""")
def no_deduping(self):
self._expect('--no-dedupe foo bar', """
foo
foo
bar
""")
# AKA (foo -> bar) (foo)
class non_adjacent_top_level_tasks:
def deduping(self):
self._expect('foo bar', """
foo
bar
""")
def no_deduping(self):
self._expect('--no-dedupe foo bar', """
foo
foo
bar
""")
def deduping_treats_different_calls_to_same_task_differently(self):
body = Mock()
t1 = Task(body)
pre = [call(t1, 5), call(t1, 7), call(t1, 5)]
t2 = Task(Mock(), pre=pre)
c = Collection(t1=t1, t2=t2)
e = Executor(collection=c)
e.execute('t2')
# Does not call the second t1(5)
body.assert_has_calls([mock_call(5), mock_call(7)])
class collection_driven_config:
"Collection-driven config concerns"
def hands_collection_configuration_to_context(self):
@ctask
def mytask(ctx):
eq_(ctx.my_key, 'value')
c = Collection(mytask)
c.configure({'my_key': 'value'})
Executor(collection=c).execute('mytask')
def hands_task_specific_configuration_to_context(self):
@ctask
def mytask(ctx):
eq_(ctx.my_key, 'value')
@ctask
def othertask(ctx):
eq_(ctx.my_key, 'othervalue')
inner1 = Collection('inner1', mytask)
inner1.configure({'my_key': 'value'})
inner2 = Collection('inner2', othertask)
inner2.configure({'my_key': 'othervalue'})
c = Collection(inner1, inner2)
e = Executor(collection=c)
e.execute('inner1.mytask', 'inner2.othertask')
def subcollection_config_works_with_default_tasks(self):
@ctask(default=True)
def mytask(ctx):
eq_(ctx.my_key, 'value')
# Sets up a task "known as" sub.mytask which may be called as
# just 'sub' due to being default.
sub = Collection('sub', mytask=mytask)
sub.configure({'my_key': 'value'})
main = Collection(sub=sub)
# Execute via collection default 'task' name.
Executor(collection=main).execute('sub')
class returns_return_value_of_specified_task:
def base_case(self):
eq_(self.executor.execute('task1'), {self.task1: 7})
def with_pre_tasks(self):
eq_(
self.executor.execute('task2'),
{self.task1: 7, self.task2: 10}
)
def with_post_tasks(self):
eq_(
self.executor.execute('task4'),
{self.task1: 7, self.task4: 15}
)
| python |
<reponame>JasonkayZK/GitHubPoster<gh_stars>1-10
import time
import pendulum
import requests
from .base_loader import BaseLoader
from .config import WAKATIME_SUMMARY_URL
class WakaTimeLoader(BaseLoader):
def __init__(self, from_year, to_year, **kwargs) -> None:
super().__init__()
assert to_year >= from_year
self.from_year = from_year
self.to_year = to_year
self.wakatime_key = kwargs.get("wakatime_key", "")
self._make_years_list()
def get_api_data(self):
data_list = []
for year in range(self.from_year, self.to_year + 1):
r = requests.get(
WAKATIME_SUMMARY_URL.format(
wakatime_key=self.wakatime_key,
from_year="{}-01-01".format(year),
to_year="{}-12-31".format(year),
)
)
if not r.ok:
print(r.text)
return data_list
data = r.json()
data_list.extend(data["data"])
time.sleep(1)
return data_list
def make_track_dict(self):
data_list = self.get_api_data()
for d in data_list:
if d:
date = d["range"]["date"]
self.number_by_date_dict[date] += (
d["grand_total"]["total_seconds"] / 60.0
)
for _, v in self.number_by_date_dict.items():
self.number_list.append(v)
def get_all_track_data(self):
self.make_track_dict()
self.make_special_number()
return self.number_by_date_dict, self.year_list
| python |
<gh_stars>0
#!/usr/bin/env python
from mininet.net import Mininet
from mininet.cli import CLI
from mininet.link import Link, TCLink,Intf
from subprocess import Popen, PIPE
from mininet.log import setLogLevel
if '__main__' == __name__:
setLogLevel('info')
net = Mininet(link=TCLink)
# key = "net.mptcp.mptcp_enabled"
# value = 1
# p = Popen("sysctl -w %s=%s" % (key, value), shell=True, stdout=PIPE, stderr=PIPE)
# stdout, stderr = p.communicate()
# print "stdout=",stdout,"stderr=", stderr
h1 = net.addHost('h1')
h2 = net.addHost('h2')
r1 = net.addHost('r1')
linkopt_wifi={'bw':10, 'delay':'50ms', "loss":0}
linkopt_4g={'bw':10, 'delay':'50ms', "loss":0}
linkopt2={'bw':100}
net.addLink(r1,h1,cls=TCLink, **linkopt_wifi)
net.addLink(r1,h1,cls=TCLink, **linkopt_4g)
net.addLink(r1,h2,cls=TCLink, **linkopt2)
net.build()
r1.cmd("ifconfig r1-eth0 0")
r1.cmd("ifconfig r1-eth1 0")
r1.cmd("ifconfig r1-eth2 0")
h1.cmd("ifconfig h1-eth0 0")
h1.cmd("ifconfig h1-eth1 0")
h2.cmd("ifconfig h2-eth0 0")
r1.cmd("echo 1 > /proc/sys/net/ipv4/ip_forward")
r1.cmd("ifconfig r1-eth0 10.0.0.1 netmask 255.255.255.0")
r1.cmd("ifconfig r1-eth1 10.0.1.1 netmask 255.255.255.0")
r1.cmd("ifconfig r1-eth2 10.0.2.1 netmask 255.255.255.0")
h1.cmd("ifconfig h1-eth0 10.0.0.2 netmask 255.255.255.0")
h1.cmd("ifconfig h1-eth1 10.0.1.2 netmask 255.255.255.0")
h2.cmd("ifconfig h2-eth0 10.0.2.2 netmask 255.255.255.0")
h1.cmd("ip rule add from 10.0.0.2 table 1")
h1.cmd("ip rule add from 10.0.1.2 table 2")
h1.cmd("ip route add 10.0.0.0/24 dev h1-eth0 scope link table 1")
h1.cmd("ip route add default via 10.0.0.1 dev h1-eth0 table 1")
h1.cmd("ip route add 10.0.1.0/24 dev h1-eth1 scope link table 2")
h1.cmd("ip route add default via 10.0.1.1 dev h1-eth1 table 2")
h1.cmd("ip route add default scope global nexthop via 10.0.0.1 dev h1-eth0")
h2.cmd("ip rule add from 10.0.2.2 table 1")
h2.cmd("ip route add 10.0.2.0/24 dev h2-eth0 scope link table 1")
h2.cmd("ip route add default via 10.0.2.1 dev h2-eth0 table 1")
h2.cmd("ip route add default scope global nexthop via 10.0.2.1 dev h2-eth0")
CLI(net)
net.stop()
| python |
// Main program for testing
// Test the stack and queue implementations
#include <fstream>
#include <iostream>
#include <string>
#include "linkedQueue.h"
#include "linkedStack.h"
using namespace std;
int main() {
// *****************************************************************
// Headers...
string bars, stars;
bars.append(65, '-');
stars.append(65, '*');
cout << bars << endl
<< "CS 302 - Assignment #4" << endl;
cout << "Basic Testing for Linked Stacks and "
<< "Queues Data Structures" << endl;
// *****************************************************************
// Basic tests for linked stack implementation.
// Reservse number in a list by pushing each item on stack and then poping.
cout << endl
<< stars << endl
<< "Test Stack Operations "
"- Reversing:"
<< endl
<< endl;
// ---------------------
// Integers
linkedStack<int> istack;
int inums[] = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20};
int ilen = (sizeof(inums) / sizeof(inums[0]));
cout << "Original List: ";
for (int i = 0; i < ilen; i++) {
istack.push(inums[i]);
cout << inums[i] << " ";
}
cout << endl
<< "Reverse List: ";
for (int i = 0; i < ilen; i++)
cout << istack.pop() << " ";
cout << endl
<< endl;
// ---------------------
// Doubles
// Create some stacks for doubles.
linkedStack<double> dstack;
double dnums[] = {1.1, 3.3, 5.5, 7.7, 9.9, 11.11, 13.13, 15.15};
int dlen = (sizeof(dnums) / sizeof(dnums[0]));
dstack.push(1000.0);
cout << bars << endl
<< "Test Stack Operations "
<< "- Doubles:" << endl
<< endl;
cout << "Original List: ";
for (int i = 0; i < dlen; i++) {
dstack.push(dnums[i]);
cout << dnums[i] << " ";
}
cout << endl
<< "Reverse List: ";
for (int i = 0; i < dlen; i++) {
cout << dstack.pop() << " ";
dstack.push(dstack.pop());
}
cout << endl
<< endl;
// --------------------------------------
// More testing, large
cout << bars << endl
<< "Test Stack Operations "
<< "- Large Test:" << endl
<< endl;
linkedStack<short> mStack;
int testSize1 = 100000;
bool workedStk1 = true;
for (int i = 1; i <= testSize1; i++)
mStack.push(static_cast<short>(i + 100));
for (int i = testSize1; i > 0; i--) {
if (mStack.pop() != static_cast<short>(i + 100))
workedStk1 = false;
}
if (!mStack.isEmpty())
cout << "main: error, incorrect stack size." << endl;
if (workedStk1)
cout << "Multiple items, test passed." << endl;
else
cout << "Multiple items, test failed." << endl;
cout << endl;
// --------------------------------------
// Many entries testing
cout << bars << endl
<< "Test Stack Operations "
<< "- Many many items:" << endl
<< endl;
bool workedStk2 = true;
linkedStack<int> iStackBig;
int testSize2 = 400000;
for (int i = 1; i <= testSize2; i++)
iStackBig.push(i);
for (int i = testSize2; i > 0; i--) {
if (iStackBig.pop() != i)
workedStk2 = false;
}
if (!iStackBig.isEmpty())
workedStk2 = false;
if (workedStk2)
cout << "Many items, test passed." << endl;
else
cout << "Many items, test failed." << endl;
cout << endl;
// *****************************************************************
// Test basic queue operations.
// Create some integer queues, add items, delete items,
// display queues, etc...
cout << endl
<< stars << endl
<< "Test Queue Operations "
<< "- Integers:" << endl
<< endl;
linkedQueue<int> queue0, queue1;
linkedQueue<int> queue2;
int j;
for (int i = 1; i <= 20; i++)
queue0.enqueue(i);
cout << "Queue 0 (original): ";
queue0.printQueue();
cout << endl
<< endl;
for (int i = 1; i <= 20; i += 2) {
j = queue0.dequeue();
queue1.enqueue(j);
j = queue0.dequeue();
queue2.enqueue(j);
}
cout << "Queue 1 (odds): ";
queue1.printQueue();
cout << endl
<< endl;
cout << "Queue 2 (evens): ";
queue2.printQueue();
cout << endl
<< endl;
// --------------------------------------
// Floating point tests
// Create some queues for floating point items.
cout << bars << endl
<< "Test Queue Operations "
<< "- Floats:" << endl
<< endl;
linkedQueue<double> queue3;
for (int i = 1; i <= 7; i++)
queue3.enqueue(static_cast<double>(i) + 0.5);
cout << "Queue 3 (floats, original): ";
queue3.printQueue();
cout << endl;
cout << "Queue 3 (floats, modified): ";
queue3.printQueue();
cout << endl
<< endl;
// --------------------------------------
// Larger test.
cout << bars << endl
<< "Test Queue Operations "
<< "- Large Queue Test:" << endl
<< endl;
linkedQueue<short> queue4;
int testSize3 = 3000;
bool workedStk3 = true;
for (int i = 1; i <= testSize3; i++)
queue4.enqueue(static_cast<short>(i + 100));
for (int i = 1; i <= testSize3; i++)
if (queue4.dequeue() != static_cast<short>(i + 100))
workedStk3 = false;
if (!queue4.isEmptyQueue())
workedStk3 = false;
if (workedStk3)
cout << "Multiple items, test passed." << endl;
else
cout << "Multiple items, test failed." << endl;
cout << endl;
// --------------------------------------
// Many entries testing
cout << bars << endl
<< "Test Queue Operations "
<< "- Many many items:" << endl
<< endl;
bool worked = true;
linkedQueue<int> queue5;
int testSize = 400000;
for (int i = 1; i <= testSize; i++)
queue5.enqueue(i);
for (int i = 1; i <= testSize; i++)
if (queue5.dequeue() != i)
worked = false;
if (!queue5.isEmptyQueue())
worked = false;
if (worked)
cout << "Many items, test passed." << endl;
else
cout << "Many items, test failed." << endl;
cout << endl;
// *****************************************************************
// All done.
cout << bars << endl
<< "Game Over, thank you for playing." << endl;
return 0;
}
| cpp |
<gh_stars>100-1000
"""
wrapper for ccmake command line tool
"""
import subprocess
name = 'ccmake'
platforms = ['linux', 'osx']
optional = True
not_found = "required for 'fips config' functionality"
#-------------------------------------------------------------------------------
def check_exists(fips_dir) :
"""test if ccmake is in the path
:returns: True if ccmake is in the path
"""
try:
out = subprocess.check_output(['ccmake', '--version'])
return True
except (OSError, subprocess.CalledProcessError):
return False
#-------------------------------------------------------------------------------
def run(build_dir) :
"""run ccmake to configure cmake project
:param build_dir: directory where ccmake should run
:returns: True if ccmake returns successful
"""
res = subprocess.call('ccmake .', cwd=build_dir, shell=True)
return res == 0
| python |
<gh_stars>1-10
{
"name": "oseille/booting",
"description": "Abstract part of a booting app process.",
"keywords": [
"chain of responsability",
"booting",
"boostrapping",
"bootloader"
],
"homepage": "https://github.com/oseille/booting",
"readme": "README.md",
"time": "2020-05-09",
"license": "MIT",
"support": {
"issues": "https://github.com/oseille/booting/issues",
"source": "https://github.com/oseille/booting",
"rss": "https://github.com/oseille/booting/releases.atom"
},
"authors": [
{
"name": "<NAME>",
"homepage": "https://github.com/ojullien",
"email": "<EMAIL>"
}
],
"require": {
"php": "^7.4",
"psr/container": "^1.0"
},
"autoload": {
"psr-4": {
"Oseille\\Booting\\": "src/"
}
},
"require-dev": {
"phpunit/php-invoker": "^3.0",
"phpunit/phpunit": "^9.1"
},
"autoload-dev": {
"psr-4": {
"OseilleTest\\": "tests/"
}
},
"config": {
"sort-packages": true,
"optimize-autoloader": true
},
"scripts": {
"test": "vendor/bin/phpunit --configuration .phpunit.xml --coverage-clover build/clover.xml"
}
}
| json |
<reponame>paullewallencom/javascript-978-1-7858-8157-2
/**
* Block comment entity
* @class
* @param {String} code
*/
var BlockComment = function( code ){
return {
/**
* Check a block comment
* @returns {Boolean}
*/
isValid: function(){
var lines = code.split( "\n" );
return lines.some(function( line ){
var date = new Date();
return line.indexOf( "@copyright " + date.getFullYear() ) !== -1;
});
}
};
};
module.exports = BlockComment;
| javascript |
Parag Agarwal, newly appointed CEO of microblogging site Twitter is an alumnus of India’s premium institute IIT-Bombay. Agarwal who has been associated with Twitter since 2011 was its CTO by 2017. He is being referred to as one of the ‘first choices’ of Twitter co-founder Jack Dorsey to take his position. Not just Dorsey, Agarwal’s teachers also recall him to be one of the ‘brightest’ and smartest students.
Before joining Twitter in 2011, he held leadership positions at Microsoft Research and Yahoo! Research. One of the youngest CEO in S&P 500, IIT Bombay alumnus and Indian origin Parag Agarwal was focused from the very start, recalls Prof Supratim Biswas, Computer Science and Engineering at IIT Bombay. Agarwal who joined in 2001 and completed his degree in 2005 had topped in his department. “We get only toppers in IIT Bombay and to top within them needs special calibre," said Biswas.
The professor recalled Agarwal to be a “well behaved, focused" student. “No wonder he has reached such an important position at a young age," he added calling Agarwal, “extremely organised" and “topper material".
He had also obtained a young alumnus award from IIT Bombay for his achievements. After completing his BTech from IIT-Bombay, Agarwal pursued PhD in computer science from Stanford University.
Parag completed his schooling at atomic energy centeral school in 2001. He won a gold medal at the international physics olympiad in Turkey.
Agarwal’s mother is a retired school teacher and his father used to work in an atomic energy establishment. He is married to Vineeta who completed a BS in biophysics from Stanford University and did her MD and PhD from Harvard Medical School. | english |
package org.ontosoft.shared.classes;
import org.ontosoft.shared.classes.entities.Model;
public class ModelSummary extends SoftwareSummary {
public ModelSummary(Model model) {
super(model);
}
public ModelSummary() {
}
}
| java |
India invited Pakistan defence minister Khawaja Asif, interior minister Rana Sanaullah and Pakistan National Security Advisor Moeed Yusuf to attend the meeting of the Shanghai Cooperation Organisation (SCO) which will be held in New Delhi.
India holds the current presidency of the SCO which comprises China, India, Kazakhstan, Kyrgyzstan, Russia, Pakistan, Tajikistan and Uzbekistan and it will hold a series of meetings under its presidency.
People familiar with the developments said given Pakistan’s current domestic situation, the ministers could attend the event virtually.
The Indian government shared the formal invitations with the Pakistan foreign office on Tuesday, people familiar with the developments said. There was no immediate confirmation on whether the invitees will attend the event or not.
Pakistan chief justice Umar Ata Bandial was also invited earlier and foreign minister Bilawal Bhutto Zardari was also invited to attend the SCO foreign ministers’ meeting.
Justice Bandial skipped the meeting and justice Muneeb Akhtar attended the meeting through a video link recently.
The SCO foreign ministers’ meeting is scheduled for May in Goa while the defence ministers’ meeting will be held in New Delhi in April. The meeting of the SCO NSAs will be held towards the end of this month on March 29.
The Pakistan foreign office said the decision on Bilawal’s visit will be taken at an appropriate time. If Bilawal attends the meeting it will be the first visit from Islamabad to India since 2011. Hina Rabbani Khar was the last foreign minister to visit India in 2011.
Relations between India and Pakistan remain strained following the 2019 Pulwama attack, 2016 Pathankot attack and Uri attack and its continued support for terrorists who are trying to destabilise peace in the Union territories of Jammu and Kashmir.
Pakistan downgraded relations with India after the government abrogated Article 370, ending special status for the erstwhile state of Jammu and Kashmir.
India’s retaliation to the Pulwama attack, where it bombed terrorist hideouts in Balakot, also angered Islamabad after which it further downgraded ties.
Bilawal and China’s Qin Gang are among the foreign ministers of the SCO nations who have been invited by India for the summit in May. Russian foreign minister Sergey Lavrov has also been invited.
This would be the second time this year that Gang and Lavrov will visit India as they had visited India during the G20 foreign ministers’ meeting.
(with inputs from Shalinder Wangu) | english |
Mysore/Mysuru: The Mysore Textile and Readymade Garments Merchants Association has urged the Mysuru City Corporation (MCC) to withdraw the order imposing 30 percent penalty for late renewal of licence.
In a letter written to the MCC Commissioner, a copy of which has been sent to the Chief Minister, the Association, having office at Shivayana Mutt road, D. Devaraj Urs Road Cross, said that the outbreak of the deadly COVID-19 pandemic in March last year has badly hit the textile sector, just like any other sector.
Pointing out that textile, readymade garments and other such shops were closed for months following the nationwide lockdown, it said that many shops were forced to shut down either due to huge losses or for want of business in post-lockdown period. It is but natural that under such trying circumstances, most of the textile merchants could not renew their trade licence.
The MCC should have acted on the repeated pleas of merchants and come to their rescue by waiving off at least a part of the trade licence fee for the year 2020-21. But the MCC has done otherwise, by issuing an order asking the merchants to renew trade licence along with a late penalty of 30 percent, latest by Feb. 26, which is nothing but unfortunate, the Association said and warned of staging an intensive protest if MCC failed to withdraw its order. | english |
{
"ledgerPostingUpdateActionTaskReference" : "LPUATR789876",
"ledgerPostingUpdateActionTaskRecord" : {},
"updateResponseRecord" : {},
"ledgerPostingInstanceRecord" : {
"postingValueDate" : "09-22-2018",
"postingDirection" : "postingDirection",
"postingAmount" : "USD 250",
"postingResult" : "postingResult"
}
} | json |
{
"actions": [],
"autoname": "CHPT.####",
"creation": "2019-08-09 14:19:45.707878",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"mail_sent",
"project",
"customer",
"column_break_3",
"test",
"project_client",
"location",
"department",
"section_break_5",
"sample_id",
"dm",
"lm",
"am",
"vm",
"ch",
"hydraulic_gradient",
"column_break_7",
"depth",
"wet_sample_weight",
"bulk_density",
"final_moisture_content",
"dry_density",
"section_break_16",
"ptp",
"calculate",
"k_avg",
"charts_section",
"generate_graph",
"chart",
"chart_image",
"section_break_30",
"data_31",
"amended_from"
],
"fields": [
{
"fieldname": "project",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Project(GIICO)",
"options": "Project"
},
{
"fetch_from": "project.location",
"fieldname": "location",
"fieldtype": "Link",
"label": "Location",
"options": "Location"
},
{
"fieldname": "column_break_3",
"fieldtype": "Column Break"
},
{
"fetch_from": "project.department",
"fieldname": "department",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Department",
"options": "Department",
"reqd": 1
},
{
"fieldname": "section_break_5",
"fieldtype": "Section Break"
},
{
"fieldname": "dm",
"fieldtype": "Float",
"label": "Diameter of Mould"
},
{
"fieldname": "sample_id",
"fieldtype": "Data",
"label": "Sample ID"
},
{
"fieldname": "am",
"fieldtype": "Float",
"label": "Area of Mould",
"read_only": 1
},
{
"fieldname": "lm",
"fieldtype": "Float",
"label": "Length of Mould"
},
{
"fieldname": "vm",
"fieldtype": "Float",
"label": "Volume of Mould",
"read_only": 1
},
{
"fieldname": "ch",
"fieldtype": "Float",
"label": "Constant Head"
},
{
"fieldname": "column_break_7",
"fieldtype": "Column Break"
},
{
"fieldname": "depth",
"fieldtype": "Float",
"label": "Depth(m)"
},
{
"fieldname": "wet_sample_weight",
"fieldtype": "Int",
"label": "Wet Sample Weight"
},
{
"fieldname": "bulk_density",
"fieldtype": "Float",
"label": "Bulk Density",
"read_only": 1
},
{
"fieldname": "final_moisture_content",
"fieldtype": "Float",
"label": "Final Moisture Content"
},
{
"fieldname": "dry_density",
"fieldtype": "Float",
"label": "Dry Density",
"read_only": 1
},
{
"fieldname": "hydraulic_gradient",
"fieldtype": "Float",
"label": "Hydraulic Gradient",
"read_only": 1
},
{
"fieldname": "section_break_16",
"fieldtype": "Section Break"
},
{
"fieldname": "ptp",
"fieldtype": "Table",
"label": "Permeability Test Parameters",
"options": "Permeability Test Parameters"
},
{
"fieldname": "calculate",
"fieldtype": "Button",
"label": "Calculate"
},
{
"fieldname": "k_avg",
"fieldtype": "Data",
"label": "K <sub>avg</sub>",
"read_only": 1
},
{
"fieldname": "charts_section",
"fieldtype": "Section Break",
"label": "Charts"
},
{
"fieldname": "chart",
"fieldtype": "HTML",
"label": "Chart",
"options": "<div id=\"chart\"></div>"
},
{
"fieldname": "chart_image",
"fieldtype": "Small Text",
"hidden": 1,
"label": "Chart Image"
},
{
"fieldname": "generate_graph",
"fieldtype": "Button",
"label": "Generate Graph"
},
{
"fetch_from": "project.customer",
"fieldname": "customer",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Customer",
"options": "Customer"
},
{
"default": "0",
"fieldname": "mail_sent",
"fieldtype": "Check",
"hidden": 1,
"label": "Mail Sent"
},
{
"fieldname": "amended_from",
"fieldtype": "Link",
"label": "Amended From",
"no_copy": 1,
"options": "Constant Head Permeability Test",
"print_hide": 1,
"read_only": 1
},
{
"default": "1",
"fieldname": "test",
"fieldtype": "Check",
"hidden": 1,
"label": "Test"
},
{
"fieldname": "section_break_30",
"fieldtype": "Section Break"
},
{
"fieldname": "data_31",
"fieldtype": "Data",
"label": "Reference No"
},
{
"fieldname": "project_client",
"fieldtype": "Data",
"label": "Project"
}
],
"is_submittable": 1,
"links": [],
"modified": "2021-01-26 16:00:00.843179",
"modified_by": "Administrator",
"module": "Geotechnical Investigation Services",
"name": "<NAME>",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"write": 1
}
],
"sort_field": "modified",
"sort_order": "DESC",
"track_changes": 1
} | json |
Hampshire and West Indies fast bowler Fidel Edwards suffered a broken ankle warming up in a pre-match football kick-about on the final day of the County Championship match away to title-holder Yorkshire at Headingley, the south coast club announced on Thursday.
It was the latest setback for Hampshire, which has nevertheless managed to draw its opening two matches in this season's First Division despite a raft of injuries that include newly-signed England paceman Reece Topley breaking his hand on club debut.
How long Edwards remains sidelined due to a damaged right ankle is unclear, with a statement on Hampshire's website posted on Thurday saying: "Fidel will see a specialist today (Thursday 21 April), which will help determine the predicted length of time that he will be out of action for."
Edwards, who labelled his injury as a 'broken leg' in an Instagram post from hospital, suffered the injury while playing football on the Headingley outfield on Wednesday. Hampshire coach Dale Benkenstein told Southampton's Southern Daily Echo newspaper: "We were only 45 seconds away from the end of the (football) game when Fidel went to kick the ball.
"I was just about to get the mitts on for fielding practice when his foot got stuck in the turf, and all his weight went over on it. There was no one near him. It was a really freakish fall, and there was a loud crack," the former South Africa international added.
There have long been concerns about the risks cricketers run in engaging in often vigorous pre-match football games, which don't assist with core cricket skills. In 2009, England batsman Joe Denly's international career was derailed before had made his debut when he suffered a knee injury in a football warm-up following a clumsy challenge by England teammate Owais Shah.
And last year Lancashire coach Ashley Giles told the Manchester Evening News : "I don't like football as a warm-up. There's a high risk of injury; I think it's unhealthy. You don't see Stuart Lancaster (the then England rugby union coach) warming up the rugby team with a few throw-downs before a rugby game," the former England left-arm spinner added.
| english |
{"DocumentId": "http://LueilwitzLuettgenandMoore.com", "StreetName": "Goodall Parade", "Longitude": "138.61549115", "Latitude": "-34.807075380000001", "City": "Mawson Lakes", "Postcode": "5095", "State": "South Australia", "Phone": "+33 983 957 9997", "BusinessName": "<NAME>", "FileType": ".txt", "Department": "Games", "Email": "<EMAIL>", "Price": 1177983.08, "Ratings": 2.4, "MarkerId": "8840ma146p2mr7"} | json |
<gh_stars>0
import * as React from 'react';
import TableRenderers from './TableRenderers';
import {
IPivotDataProps,
PivotDataDefaultProps,
} from './Utilities';
export interface IPivotTableProps extends IPivotDataProps {
rendererName: string
renderers: any
}
export class PivotTable extends React.PureComponent<IPivotTableProps,{}> {
public RenderedTable: any
public static defaultProps = {
...PivotDataDefaultProps,
rendererName: 'Table',
renderers: TableRenderers,
}
public render() {
const Renderer = this.props.renderers[this.props.rendererName! in this.props.renderers
? this.props.rendererName!
: Object.keys(this.props.renderers)[0]];
return <Renderer {...this.props} ref={component => this.RenderedTable = component}/>;
}
}
| typescript |
Roger Federer emerged triumphant in his comeback match, ousting a spirited Dan Evans in three hard-fought sets. Federer was far from fluent in the match, shanking several shots midway through to give Evans a clar shot at the win.
But the Swiss played some incredibly clutch tennis in the deciding set to prevail 7-6(8), 3-6, 7-5. The 39-year-old is now into the quarterfinals of the 2021 Qatar ExxonMobil Open, where he will face Nikoloz Basilashvili on Thursday.
Speaking after his win, Roger Federer sounded extremely happy at being back on the tour, especially since he managed to mark the occasion with a win. The Swiss also expressed hope that his win would have brought some much-needed joy to a world grappling with a serious crisis.
"I hope tonight was a bit of an uplift to everything going on in the world," Federer said. "I enjoyed it. It feels good to be back. I'm happy to be standing here regardless if I won or lost but obviously winning feels better."
Roger Federer’s first match point came deep into the deciding set at 5-4, but Dan Evans held his nerve and his serve to prolong the match for a few more minutes. On being asked about his emotions during that stressful period, Federer admitted that he was more concerned about keeping his fatigue away than winning the match.
"I was tired so I was more focused [during match point] on being tired than trying to win the point," Federer said. "I just said 'You know what, if I'm going to go out, I'm going to go out swinging'."
According to Roger Federer, his serve was what kept him in the match towards the closing stages, as Dan Evans was the fresher player of the two. The 39-year-old also claimed that clinching victory with his classic down-the-line backhand was 'nice'.
"Dan had more energy left at the end but I was serving well and I'm incredibly happy," Federer continued. "It was a pleasure to share the court with Dan and it was nice to finish off with a backhand down the line, always on a match point."
Roger Federer revealed he wasn’t entirely rid of his knee pain, but added that he wasn't sure whether his fatigue was due to his overworked muscles or his knee. The Swiss isn't too worried by either thing though, and he stressed on the importance of finding his fitness gradually.
"I don't know if I ever was completely pain-free but you get to feel tired and you don't know if it's the muscle or whatever," Federer said. "Actually I don't really mind because this is how I felt throughout. Important is how I feel tomorrow and the next day for the next 6 months."
Dan Evans put his heart and soul into the match against Roger Federer, but that wasn't enough. Evans matched the Swiss for a majority of the evening, before dying-stage nerves from the Brit tilted the match in Federer's favor.
Evans called the loss 'frustrating', while lamenting the fact that his efforts didn't earn much reward.
"It's a bit annoying really to play a good match like that and get nothing for it," Evans said. "It's frustrating. In a few days I can say I'm in a good spot, going the right direction but it's a loss at the end of the day. Doesn't matter who it's to, it's tough."
Dan Evans also claimed he wasn't entirely convinced that Roger Federer was running on fumes in the closing stages of the match. According to the Brit, both players were 'in decent shape' during that period.
"It wasn’t easy conditions although I thought the level of tennis was pretty good," Evans said. "I'm not sure he was tiring. I thought we were both in decent shape."
| english |
After enthralling fans with movies like ‘Baby’, ‘A Wednesday,’ and more recently, ‘M.S. Dhoni: The Untold Story,’ Neeraj Pandey is ready with his upcoming movie ‘Aiyaary’.
Few days back, the team was in Jammu and Kashmir to shoot the first schedule of the movie along with film’s co-star Manoj Bajpayee and now, the film’s next schedule has already begun in Delhi.
The director took to Twitter to share a photo of the star cast featuring Sidharth Malhotra and Manoj Bajpayee.
Brothers in arms.
Both the actor can be seen in Army uniform.
The crime drama, co-produced by Neeraj Pandey and Shital Bhatia, is based on a real-life incident revolving around two strong-minded Army officers having contrary yet right views in their own ways.
The film will hit the screens during the Republic Day weekend at the box office in 2018 and will clash with Rajinikanth and Akshay Kumar starrer “2.0″ (Robot 2).
| english |
The Municipal Corporation of Delhi’s standing committee will have three members each from the AAP and the BJP as the results of the poll held on February 24 to elect members of the key panel were declared on Thursday.
The results were declared days after the Delhi High Court set aside the decision of Mayor Shelly Oberoi to call for a repoll and directed her to declare forthwith the results of the poll.
The names of the elected councillors were announced during a meeting of the civic body’s House, according to an MCD notification.
Mohd. Aamil Malik, Mohini and Raminder Kaur from the AAP and Kamaljeet Sehrawat, Gajender Singh Daral and Pankaj Luthra from the BJP are the six councillors who have been elected to the standing committee of the MCD.
Although the Aam Aadmi Party is the ruling party in the MCD, the results of the standing committee election could affect the working of the civic body since all the executive decisions are taken by the committee which now has equal members from both the parties.
The high court’s May 23 order came on petitions by BJP councillors Kamaljeet Sehrawat and Shikha Roy against the mayor’s decision to order repoll to elect the members of the panel, amid the running feud between the saffron party and the AAP.
The petitioners had alleged that the mayor, who belongs to AAP and was the returning officer, wrongly invalidated one of the votes and interdicted the election process upon finding the results “politically unpalatable”.
On February 24, a fight broke out in the MCD House, as BJP and AAP members kicked, punched and pushed each other amid shouting after Oberoi had declared one vote invalid in the election to the key municipal committee.
In its order, the high court also directed treating the “disputed vote” to be in favour of BJP councillor Pankaj Luthra.
It noted that of the six elected candidates, there were three members each from BJP and AAP with no invalid ballot being found after scrutiny, but, subsequently, the mayor declared one vote as invalid and did not declare the results but announced repoll.
| english |
.Area {
width: 100%;
height: 100%;
font-size: 2rem;
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
overflow-scrolling: touch;
}
.Area .Area-content {
text-align: left;
}
.Area .Area-content .Area-ul .Area-selected {
width: 86%;
margin: auto;
}
.Area .Area-content .Area-ul .Area-selected .Area-blue {
color: #2eb9ff;
font-size: 1.2rem;
}
.Area .Area-content .Area-ul .Area-selected .Area-blue,
.Area .Area-content .Area-ul .Area-selected ul > li {
font-size: 1.8rem;
border-bottom: 1px solid #f7f7fa;
height: 5rem;
line-height: 5rem;
padding-right: 1rem;
}
.Area .Area-content .Area-ul .Area-selected ul > li {
display: flex;
justify-content: space-between;
}
.Area .Area-content .Area-ul .Area-selected ul > li p:last-child {
font-size: 1.5rem;
color: #90999e;
}
.Area .Area-content .Area-nav {
font-size: 1.2rem;
width: 2rem;
height: 100%;
position: fixed;
right: 0;
top: 0;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding-left: .5rem;
padding-right: .3rem;
}
.Area .Area-content .Area-nav ul li {
padding: 0.2rem 0rem;
color: #2eb9ff;
text-align: center;
}
| css |
#![allow(clippy::many_single_char_names)]
extern crate bignum;
extern crate digest;
extern crate num_traits;
extern crate rsa;
extern crate sha1;
use digest::Digest;
use num_traits::NumOps;
pub struct Dsa<T> {
params: DsaParams<T>,
x: T,
y: T,
}
impl<T> Dsa<T>
where
T: bignum::BigNumTrait + bignum::BigNumExt,
for<'a1, 'a2> &'a1 T: NumOps<&'a2 T, T>,
{
pub fn generate() -> Self {
let params = DsaParams::default();
Self::generate_with_params(params)
}
pub fn generate_with_params(params: DsaParams<T>) -> Self {
let x = gen_range(&T::from_u32(2), ¶ms.q);
let y = Self::compute_public_key(¶ms, &x);
Dsa { params, x, y }
}
pub fn params(&self) -> &DsaParams<T> {
&self.params
}
pub fn public_key(&self) -> &T {
&self.y
}
// Make it possible to test whether we have correctly cracked the private key without revealing
// it.
pub fn is_private_key(&self, private_key: &T) -> bool {
&self.x == private_key
}
pub fn sign(&self, message: &[u8]) -> Signature<T> {
self.sign_insecure(message).0
}
// We only leak k for testing purposes. It is of course NOT part of the signature.
pub fn sign_insecure(&self, message: &[u8]) -> (Signature<T>, T) {
let zero = T::zero();
let p = &self.params.p;
let q = &self.params.q;
let g = &self.params.g;
let m = &T::from_bytes_be(&compute_sha1(message));
let mut k: T;
let mut r: T;
let mut s: T;
loop {
k = gen_range(&T::from_u32(2), q);
r = g.mod_exp(&k, p);
r = r.remainder(q);
if r == zero {
continue;
}
s = &k.invmod(q).unwrap() * &(m + &(&r * &self.x)); // unwrap is ok
s = s.remainder(q);
if s == zero {
continue;
}
break;
}
(Signature { r, s }, k)
}
pub fn verify_signature(
&self,
message: &[u8],
&Signature { ref r, ref s }: &Signature<T>,
) -> bool {
let zero = T::zero();
let p = &self.params.p;
let q = &self.params.q;
let g = &self.params.g;
if *r <= zero || r >= q || *s <= zero || s >= q {
return false;
}
let m = &T::from_bytes_be(&compute_sha1(message));
let w = T::invmod(s, q).unwrap(); // unwrap is ok
let u1 = T::remainder(&(m * &w), q);
let u2 = T::remainder(&(r * &w), q);
let v1 = g.mod_exp(&u1, p);
let v2 = self.y.mod_exp(&u2, p);
let v = T::remainder(&T::remainder(&(&v1 * &v2), p), q);
&v == r
}
pub fn compute_public_key(params: &DsaParams<T>, x: &T) -> T {
params.g.mod_exp(x, ¶ms.p)
}
}
pub fn gen_range<T: bignum::BigNumTrait>(lower: &T, upper: &T) -> T
where
T: bignum::BigNumTrait + bignum::BigNumExt,
for<'b> &'b T: NumOps<&'b T, T>,
{
assert!(lower < upper);
lower + &T::gen_below(&(upper - lower))
}
pub struct DsaParams<T> {
pub p: T,
pub q: T,
pub g: T,
}
impl<T: bignum::BigNumTrait> Default for DsaParams<T> {
fn default() -> Self {
Self::new()
}
}
impl<T: bignum::BigNumTrait> DsaParams<T> {
pub fn new() -> Self {
let g = T::from_hex_str(
"5958c9d3898b224b12672c0b98e06c60df923cb8bc999d119458fef538b8f\
a4046c8db53039db620c094c9fa077ef389b5322a559946a71903f990f1f7e\
0e025e2d7f7cf494aff1a0470f5b64c36b625a097f1651fe775323556fe00b\
3608c887892878480e99041be601a62166ca6894bdd41a7054ec89f756ba9f\
c95302291",
)
.unwrap(); // unwrap is ok
Self::new_with_g(g)
}
pub fn new_with_g(g: T) -> Self {
let p = T::from_hex_str(
"800000000000000089e1855218a0e7dac38136ffafa72eda7859f2171e25e\
65eac698c1702578b07dc2a1076da241c76c62d374d8389ea5aeffd3226a05\
30cc565f3bf6b50929139ebeac04f48c3c84afb796d61e5a4f9a8fda812ab5\
9494232c7d2b4deb50aa18ee9e132bfa85ac4374d7f9091abc3d015efc871a\
584471bb1",
)
.unwrap(); // unwrap is ok
let q = T::from_hex_str("f4f47f05794b256174bba6e9b396a7707e563c5b").unwrap(); // unwrap is ok
DsaParams { p, q, g }
}
}
pub fn compute_sha1(message: &[u8]) -> Vec<u8> {
sha1::Sha1::digest(message).to_vec()
}
pub struct Signature<T> {
pub r: T,
pub s: T,
}
| rust |
/*
* Gradients v1.0.0
* Copyright 2021 Madrugrelo
* The MIT License (MIT). Please see (https://github.com/Madrugrelo/gradients/blob/master/LICENSE) for more information.
*/
/*VARIABLES*/
:root {
--gradient-50-shades-of-grey: linear-gradient(to right, #bdc3c7, #2c3e50);
--gradient-80s-purple: linear-gradient(to right, #41295a, #2f0743);
--gradient-a-lost-memory: linear-gradient(to right, #de6262, #ffb88c);
--gradient-ali: linear-gradient(to right, #ff4b1f, #1fddff);
--gradient-alihossein: linear-gradient(to right, #f7ff00, #db36a4);
--gradient-alive: linear-gradient(to right, #cb356b, #bd3f32);
--gradient-almost: linear-gradient(to right, #ddd6f3, #faaca8);
--gradient-amethyst: linear-gradient(to right, #9d50bb, #6e48aa);
--gradient-amin: linear-gradient(to right, #4A00E0, #8E2DE2);
--gradient-anamnisar: linear-gradient(to right, #9796f0, #fbc7d4);
--gradient-anwar: linear-gradient(to right, #334d50, #cbcaa5);
--gradient-aqualicious: linear-gradient(to right, #50c9c3, #96deda);
--gradient-aqua-marine: linear-gradient(to right, #1a2980, #26d0ce);
--gradient-argon: linear-gradient(to right, #03001e, #7303c0, #ec38bc, #fdeff9);
--gradient-army: linear-gradient(to right, #414d0b, #727a17);
--gradient-ash: linear-gradient(to right, #606c88, #3f4c6b);
--gradient-atlas: linear-gradient(to right, #feac5e, #c779d0, #4bc0c8);
--gradient-aubergine: linear-gradient(to right, #aa076b, #61045f);
--gradient-autumn: linear-gradient(to right, #dad299, #b0dab9);
--gradient-azure-pop: linear-gradient(to right, #ef32d9, #89fffd);
--gradient-azur-lane: linear-gradient(to right, #91EAE4, #86A8E7, #7F7FD5);
--gradient-back-to-earth: linear-gradient(to right, #00c9ff, #92fe9d);
--gradient-back-to-the-future: linear-gradient(to right, #c02425, #f0cb35);
--gradient-behongo: linear-gradient(to right, #52c234, #061700);
--gradient-between-night-and-day: linear-gradient(to right, #2c3e50, #3498db);
--gradient-between-the-clouds: linear-gradient(to right, #73c8a9, #373b44);
--gradient-bighead: linear-gradient(to right, #4b134f, #c94b4b);
--gradient-black-rose: linear-gradient(to right, #f4c4f3, #fc67fa);
--gradient-blood-red: linear-gradient(to right, #f85032, #e73827);
--gradient-bloody-mary: linear-gradient(to right, #ff512f, #dd2476);
--gradient-blooker20: linear-gradient(to right, #e65c00, #f9d423);
--gradient-blu: linear-gradient(to right, #00416a, #e4e5e6);
--gradient-bluelagoo: linear-gradient(to right, #0052d4, #4364f7, #6fb1fc);
--gradient-blue-raspberry: linear-gradient(to right, #0083B0, #00B4DB);
--gradient-blue-skies: linear-gradient(to right, #56ccf2, #2f80ed);
--gradient-blurry-beach: linear-gradient(to right, #d53369, #cbad6d);
--gradient-blush: linear-gradient(to right, #b24592, #f15f79);
--gradient-bora-bora: linear-gradient(to right, #2bc0e4, #eaecc6);
--gradient-bourbon: linear-gradient(to right, #ec6f66, #f3a183);
--gradient-brady-brady-fun-fun: linear-gradient(to right, #00c3ff, #ffff1c);
--gradient-brightvault: linear-gradient(to right, #00d2ff, #928dab);
--gradient-broken-hearts: linear-gradient(to right, #d9a7c7, #fffcdc);
--gradient-bupe: linear-gradient(to right, #00416a, #e4e5e6);
--gradient-burning-orange: linear-gradient(to right, #FF4B2B, #FF416C);
--gradient-by-design: linear-gradient(to right, #ec2F4B, #009FFF);
--gradient-calm-darya: linear-gradient(to right, #5f2c82, #49a09d);
--gradient-candy: linear-gradient(to right, #d3959b, #bfe6ba);
--gradient-can-you-feel-the-love-tonight: linear-gradient(to right, #4568dc, #b06ab3);
--gradient-celestial: linear-gradient(to right, #c33764, #1d2671);
--gradient-cheer-up-emo-kid: linear-gradient(to right, #556270, #ff6b6b);
--gradient-cherry: linear-gradient(to right, #eb3349, #f45c43);
--gradient-cherryblossoms: linear-gradient(to right, #fbd3e9, #bb377d);
--gradient-chitty-chitty-bang-bang: linear-gradient(to right, #007991, #78ffd6);
--gradient-christmas: linear-gradient(to right, #2f7336, #aa3a38);
--gradient-cinnamint: linear-gradient(to right, #4ac29a, #bdfff3);
--gradient-citrus-peel: linear-gradient(to right, #F37335, #FDC830);
--gradient-clear-sky: linear-gradient(to right, #005c97, #363795);
--gradient-clouds: linear-gradient(to right, #ece9e6, #ffffff);
--gradient-coal: linear-gradient(to right, #eb5757, #000000);
--gradient-cocoaa-ice: linear-gradient(to right, #c0c0aa, #1cefff);
--gradient-colors-of-sky: linear-gradient(to right, #e0eafc, #cfdef3);
--gradient-combi: linear-gradient(to right, #00416a, #799f0c, #ffe000);
--gradient-compare-now: linear-gradient(to right, #ef3b36, #ffffff);
--gradient-cool-blues: linear-gradient(to right, #6dd5ed, #2193b0);
--gradient-cool-brown: linear-gradient(to right, #603813, #b29f94);
--gradient-cool-sky: linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9);
--gradient-copper: linear-gradient(to right, #b79891, #94716b);
--gradient-cosmic-fusion: linear-gradient(to right, #ff00cc, #333399);
--gradient-crazy-orange-i: linear-gradient(to right, #d38312, #a83279);
--gradient-crimson-tide: linear-gradient(to right, #642b73, #c6426e);
--gradient-crystal-clear: linear-gradient(to right, #159957, #155799);
--gradient-curiosity-blue: linear-gradient(to right, #525252, #3d72b4);
--gradient-dance-to-forget: linear-gradient(to right, #ff4e50, #f9d423);
--gradient-dania: linear-gradient(to right, #be93c5, #7bc6cc);
--gradient-dark-knight: linear-gradient(to right, #ba8b02, #181818);
--gradient-dark-ocean: linear-gradient(to right, #4286f4, #373B44);
--gradient-dark-skies: linear-gradient(to right, #4b79a1, #283e51);
--gradient-dawn: linear-gradient(to right, #f3904f, #3b4371);
--gradient-day-tripper: linear-gradient(to right, #f857a6, #ff5858);
--gradient-decent: linear-gradient(to right, #4ca1af, #c4e0e5);
--gradient-deep-purple: linear-gradient(to right, #673ab7, #512da8);
--gradient-deep-sea-space: linear-gradient(to right, #2c3e50, #4ca1af);
--gradient-deep-space: linear-gradient(to right, #000000, #434343);
--gradient-delicate: linear-gradient(to right, #d3cce3, #e9e4f0);
--gradient-digital-water: linear-gradient(to right, #74ebd5, #acb6e5);
--gradient-dimigo: linear-gradient(to right, #ec008c, #fc6767);
--gradient-dirty-fog: linear-gradient(to right, #b993d6, #8ca6db);
--gradient-disco: linear-gradient(to right, #4ecdc4, #556270);
--gradient-dracula: linear-gradient(to right, #dc2424, #4a569d);
--gradient-dull: linear-gradient(to right, #c9d6ff, #e2e2e2);
--gradient-dusk: linear-gradient(to right, #2c3e50, #fd746c);
--gradient-earthly: linear-gradient(to right, #649173, #dbd5a4);
--gradient-easy-med: linear-gradient(to right, #dce35b, #45b649);
--gradient-eds-sunset-gradient: linear-gradient(to right, #ff7e5f, #feb47b);
--gradient-electric-violet: linear-gradient(to right, #4776e6, #8e54e9);
--gradient-emerald-water: linear-gradient(to right, #348f50, #56b4d3);
--gradient-endless-river: linear-gradient(to right, #43cea2, #185a9d);
--gradient-evening-night: linear-gradient(to right, #FFFDE4, #005AA7);
--gradient-evening-sunshine: linear-gradient(to right, #1565C0, #b92b27);
--gradient-expresso: linear-gradient(to right, #3c1053, #ad5389);
--gradient-facebook-messenger: linear-gradient(to right, #00c6ff, #0072ff);
--gradient-firewatch: linear-gradient(to right, #cb2d3e, #ef473a);
--gradient-flare: linear-gradient(to right, #f5af19, #f12711);
--gradient-flickr: linear-gradient(to right, #ff0084, #33001b);
--gradient-forest: linear-gradient(to right, #5a3f37, #2c7744);
--gradient-forever-lost: linear-gradient(to right, #5d4157, #a8caba);
--gradient-fresh-turboscent: linear-gradient(to right, #f1f2b5, #135058);
--gradient-friday: linear-gradient(to right, #83a4d4, #b6fbff);
--gradient-frost: linear-gradient(to right, #000428, #004e92);
--gradient-frozen: linear-gradient(to right, #403b4a, #e7e9bb);
--gradient-grade-grey: linear-gradient(to right, #2c3e50, #bdc3c7);
--gradient-grapefruit-sunset: linear-gradient(to right, #e96443, #904e95);
--gradient-green-and-blue: linear-gradient(to right, #c2e59c, #64b3f4);
--gradient-green-beach: linear-gradient(to right, #02aab0, #00cdac);
--gradient-green-to-dark: linear-gradient(to right, #6a9113, #141517);
--gradient-haikus: linear-gradient(to right, #fd746c, #ff9068);
--gradient-harmonic-energy: linear-gradient(to right, #16a085, #f4d03f);
--gradient-harvey: linear-gradient(to right, #99f2c8, #1f4037);
--gradient-hazel: linear-gradient(to right, #77a1d3, #79cbca, #e684ae);
--gradient-hersheys: linear-gradient(to right, #1e130c, #9a8478);
--gradient-honey-dew: linear-gradient(to right, #43c6ac, #f8ffae);
--gradient-horizon: linear-gradient(to right, #003973, #e5e5be);
--gradient-html: linear-gradient(to right, #e44d26, #f16529);
--gradient-hydrogen: linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);
--gradient-ibiza-sunset: linear-gradient(to right, #ee0979, #ff6a00);
--gradient-iiit-delhi: linear-gradient(to right, #808080, #3fada8);
--gradient-inbox: linear-gradient(to right, #457fca, #5691c8);
--gradient-influenza: linear-gradient(to right, #c04848, #480048);
--gradient-instagram: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
--gradient-intuitive-purple: linear-gradient(to right, #da22ff, #9733ee);
--gradient-jaipur: linear-gradient(to right, #dbe6f6, #c5796d);
--gradient-jodhpur: linear-gradient(to right, #9cecfb, #65c7f7, #0052d4);
--gradient-jonquil: linear-gradient(to right, #ffeeee, #ddefbb);
--gradient-joomla: linear-gradient(to right, #1e3c72, #2a5298);
--gradient-jshine: linear-gradient(to right, #f64f59, #c471ed, #12c2e9);
--gradient-juicy-orange: linear-gradient(to right, #ff8008, #ffc837);
--gradient-jupiter: linear-gradient(to right, #ffd89b, #19547b);
--gradient-kashmir: linear-gradient(to right, #614385, #516395);
--gradient-kimoby-is-the-new-blue: linear-gradient(to right, #396afc, #2948ff);
--gradient-king-yna: linear-gradient(to right, #1a2a6c, #b21f1f, #fdbb2d);
--gradient-koko-caramel: linear-gradient(to right, #d1913c, #ffd194);
--gradient-kye-meh: linear-gradient(to right, #2ebf91, #8360c3);
--gradient-kyoo-pal: linear-gradient(to right, #6be585, #dd3e54);
--gradient-kyoo-tah: linear-gradient(to right, #ffd452, #544a7d);
--gradient-kyoto: linear-gradient(to right, #c21500, #ffc500);
--gradient-lawrencium: linear-gradient(to right, #24243e, #302b63, #0f0c29);
--gradient-learning-and-leading: linear-gradient(to right, #f7971e, #ffd200);
--gradient-lemon-twist: linear-gradient(to right, #3ca55c, #b5ac49);
--gradient-light-orange: linear-gradient(to right, #ffb75e, #ed8f03);
--gradient-limeade: linear-gradient(to right, #a1ffce, #faffd1);
--gradient-lithium: linear-gradient(to right, #6d6027, #d3cbb8);
--gradient-little-leaf: linear-gradient(to right, #76b852, #8dc26f);
--gradient-lizard: linear-gradient(to right, #304352, #d7d2cc);
--gradient-love-and-liberty: linear-gradient(to right, #200122, #6f0000);
--gradient-love-couple: linear-gradient(to right, #3a6186, #89253e);
--gradient-lunada: linear-gradient(to right, #5433ff, #20bdff, #a5fecb);
--gradient-lush: linear-gradient(to right, #56ab2f, #a8e063);
--gradient-magic: linear-gradient(to right, #5D26C1, #a17fe0, #59C173);
--gradient-maldives: linear-gradient(to right, #b2fefa, #0ed2f7);
--gradient-mango: linear-gradient(to right, #ffe259, #ffa751);
--gradient-mango-pulp: linear-gradient(to right, #f09819, #edde5d);
--gradient-man-of-steel: linear-gradient(to right, #780206, #061161);
--gradient-mantle: linear-gradient(to right, #24c6dc, #514a9d);
--gradient-margo: linear-gradient(to right, #FFFFFF, #FFEFBA);
--gradient-martini: linear-gradient(to right, #fdfc47, #24fe41);
--gradient-master-card: linear-gradient(to right, #f46b45, #eea849);
--gradient-mauve: linear-gradient(to right, #42275a, #734b6d);
--gradient-megatron: linear-gradient(to right, #f7797d, #FBD786, #C6FFDD);
--gradient-mello: linear-gradient(to right, #c0392b, #8e44ad);
--gradient-memariani: linear-gradient(to right, #3b8d99, #6b6b83, #aa4b6b);
--gradient-meridian: linear-gradient(to right, #283c86, #45a247);
--gradient-metallic-toad: linear-gradient(to right, #abbaab, #ffffff);
--gradient-metapolis: linear-gradient(to right, #f4791f, #659999);
--gradient-miaka: linear-gradient(to right, #fc354c, #0abfbc);
--gradient-miami-dolphins: linear-gradient(to right, #4da0b0, #d39d38);
--gradient-midnight-city: linear-gradient(to right, #232526, #414345);
--gradient-mild: linear-gradient(to right, #67b26f, #4ca2cd);
--gradient-mini: linear-gradient(to right, #30e8bf, #ff8235);
--gradient-minimal-red: linear-gradient(to right, #f00000, #dc281e);
--gradient-minnesota-vikings: linear-gradient(to right, #5614b0, #dbd65c);
--gradient-mirage: linear-gradient(to right, #16222a, #3a6073);
--gradient-misty-meadow: linear-gradient(to right, #215f00, #e4e4d9);
--gradient-mojito: linear-gradient(to right, #1d976c, #93f9b9);
--gradient-monte-carlo: linear-gradient(to right, #cc95c0, #dbd4b4, #7aa1d2);
--gradient-moonlit-asteroid: linear-gradient(to right, #2C5364, #203A43, #0F2027);
--gradient-moon-purple: linear-gradient(to right, #8f94fb, #4e54c8);
--gradient-moonrise: linear-gradient(to right, #dae2f8, #d6a4a4);
--gradient-moor: linear-gradient(to right, #616161, #9bc5c3);
--gradient-moss: linear-gradient(to right, #134e5e, #71b280);
--gradient-mystic: linear-gradient(to right, #757f9a, #d7dde8);
--gradient-namn: linear-gradient(to right, #a73737, #7a2828);
--gradient-nelson: linear-gradient(to right, #f2709c, #ff9472);
--gradient-neon-life: linear-gradient(to right, #b3ffab, #12fff7);
--gradient-nepal: linear-gradient(to right, #de6161, #2657eb);
--gradient-netflix: linear-gradient(to right, #8e0e00, #1f1c18);
--gradient-neuromancer: linear-gradient(to right, #b91d73, #f953c6);
--gradient-nighthawk: linear-gradient(to right, #2980b9, #2c3e50);
--gradient-nimvelo: linear-gradient(to right, #314755, #26a0da);
--gradient-noon-to-dusk: linear-gradient(to right, #ff6e7f, #bfe9ff);
--gradient-ohhappiness: linear-gradient(to right, #00b09b, #96c93d);
--gradient-opa: linear-gradient(to right, #3d7eaa, #ffe47a);
--gradient-orange-coral: linear-gradient(to right, #ff9966, #ff5e62);
--gradient-orange-fun: linear-gradient(to right, #fc4a1a, #f7b733);
--gradient-orca: linear-gradient(to right, #44a08d, #093637);
--gradient-pacific-dream: linear-gradient(to right, #34e89e, #0f3443);
--gradient-pale-wood: linear-gradient(to right, #eacda3, #d6ae7b);
--gradient-parklife: linear-gradient(to right, #add100, #7b920a);
--gradient-passion: linear-gradient(to right, #e53935, #e35d5b);
--gradient-pastel-orange-at-the-sun: linear-gradient(to right, #ffb347, #ffcc33);
--gradient-peach: linear-gradient(to right, #ed4264, #ffedbc);
--gradient-petrichor: linear-gradient(to right, #666600, #999966);
--gradient-petrol: linear-gradient(to right, #bbd2c5, #536976);
--gradient-piggy-pink: linear-gradient(to right, #ffdde1, #ee9ca7);
--gradient-piglet: linear-gradient(to right, #ee9ca7, #ffdde1);
--gradient-pink-flavour: linear-gradient(to right, #800080, #ffc0cb);
--gradient-pinky: linear-gradient(to right, #dd5e89, #f7bb97);
--gradient-pinot-noir: linear-gradient(to right, #4b6cb7, #182848);
--gradient-pizelex: linear-gradient(to right, #114357, #f29492);
--gradient-playing-with-reds: linear-gradient(to right, #d31027, #ea384d);
--gradient-politics: linear-gradient(to right, #2196f3, #f44336);
--gradient-poncho: linear-gradient(to right, #403a3e, #be5869);
--gradient-portrait: linear-gradient(to right, #8e9eab, #eef2f3);
--gradient-predawn: linear-gradient(to right, #ffa17f, #00223e);
--gradient-pun-yeta: linear-gradient(to right, #ef8e38, #108dc7);
--gradient-pure-lust: linear-gradient(to right, #dd1818, #333333);
--gradient-purpink: linear-gradient(to right, #7f00ff, #e100ff);
--gradient-purple-bliss: linear-gradient(to right, #360033, #0b8793);
--gradient-purple-love: linear-gradient(to right, #cc2b5e, #753a88);
--gradient-purple-paradise: linear-gradient(to right, #1d2b64, #f8cdda);
--gradient-purplepine: linear-gradient(to right, #20002c, #cbb4d4);
--gradient-purple-white: linear-gradient(to right, #ba5370, #f4e2d8);
--gradient-purplin: linear-gradient(to right, #6a3093, #a044ff);
--gradient-quepal: linear-gradient(to right, #38ef7d, #11998e);
--gradient-radar: linear-gradient(to right, #a770ef, #cf8bf3, #fdb99b);
--gradient-rainbow-blue: linear-gradient(to right, #00f260, #0575e6);
--gradient-rastafari: linear-gradient(to right, #FF0000, #FFF200, #1E9600);
--gradient-rea: linear-gradient(to right, #ffe000, #799f0c);
--gradient-reaqua: linear-gradient(to right, #799f0c, #acbb78);
--gradient-red-mist: linear-gradient(to right, #000000, #e74c3c);
--gradient-red-ocean: linear-gradient(to right, #1d4350, #a43931);
--gradient-red-sunset: linear-gradient(to right, #C06C84, #6C5B7B, #355C7D);
--gradient-reef: linear-gradient(to right, #00d2ff, #3a7bd5);
--gradient-relaxing-red: linear-gradient(to right, #b20a2c, #fffbd5);
--gradient-relay: linear-gradient(to right, #3a1c71, #d76d77, #ffaf7b);
--gradient-roseanna: linear-gradient(to right, #ffafbd, #ffc3a0);
--gradient-rose-colored-lenses: linear-gradient(to right, #e8cbc0, #636fa4);
--gradient-rose-water: linear-gradient(to right, #e55d87, #5fc3e4);
--gradient-royal: linear-gradient(to right, #141e30, #243b55);
--gradient-royal-blue: linear-gradient(to right, #536976, #292e49);
--gradient-royal-blue-petrol: linear-gradient(to right, #bbd2c5, #536976, #292e49);
--gradient-sage-persuasion: linear-gradient(to right, #ccccb2, #757519);
--gradient-sand-to-blue: linear-gradient(to right, #DECBA4, #3E5151);
--gradient-scooter: linear-gradient(to right, #36d1dc, #5b86e5);
--gradient-sea-blizz: linear-gradient(to right, #1cd8d2, #93edc7);
--gradient-sea-blue: linear-gradient(to right, #2b5876, #4e4376);
--gradient-sea-weed: linear-gradient(to right, #4cb8c4, #3cd3ad);
--gradient-sel: linear-gradient(to right, #00467f, #a5cc82);
--gradient-selenium: linear-gradient(to right, #3c3b3f, #605c3c);
--gradient-servquick: linear-gradient(to right, #485563, #29323c);
--gradient-sexy-blue: linear-gradient(to right, #2193b0, #6dd5ed);
--gradient-shahabi: linear-gradient(to right, #a80077, #66ff00);
--gradient-sha-la-la: linear-gradient(to right, #d66d75, #e29587);
--gradient-sherbert: linear-gradient(to right, #f79d00, #64f38c);
--gradient-shifter: linear-gradient(to right, #f80759, #bc4e9c);
--gradient-shifty: linear-gradient(to right, #a2ab58, #636363);
--gradient-shore: linear-gradient(to right, #70e1f5, #ffd194);
--gradient-shrimpy: linear-gradient(to right, #e43a15, #e65245);
--gradient-shroomhaze: linear-gradient(to right, #5c258d, #4389a2);
--gradient-sin-city-red: linear-gradient(to right, #93291E, #ED213A);
--gradient-sirius-tamed: linear-gradient(to right, #efefbb, #d4d3dd);
--gradient-sky: linear-gradient(to right, #076585, #fff);
--gradient-skyline: linear-gradient(to right, #1488cc, #2b32b2);
--gradient-slight-ocean-view: linear-gradient(to right, #3f2b96, #a8c0ff);
--gradient-snapchat: linear-gradient(to right, #fffc00, #ffffff);
--gradient-socialive: linear-gradient(to right, #06beb6, #48b1bf);
--gradient-solid-vault: linear-gradient(to right, #3a7bd5, #3a6073);
--gradient-sound-cloud: linear-gradient(to right, #fe8c00, #f83600);
--gradient-starfall: linear-gradient(to right, #f0c27b, #4b1248);
--gradient-steel-gray: linear-gradient(to right, #1f1c2c, #928dab);
--gradient-stellar: linear-gradient(to right, #7474bf, #348ac7);
--gradient-stripe: linear-gradient(to right, #1fa2ff, #12d8fa, #a6ffcb);
--gradient-sublime-light: linear-gradient(to right, #6A82FB, #FC5C7D);
--gradient-sublime-vivid: linear-gradient(to right, #3F5EFB, #FC466B);
--gradient-subu: linear-gradient(to right, #0cebeb, #20e3b2, #29ffc6);
--gradient-sulphur: linear-gradient(to right, #cac531, #f3f9a7);
--gradient-summer: linear-gradient(to right, #22c1c3, #fdbb2d);
--gradient-summer-dog: linear-gradient(to right, #78ffd6, #a8ff78);
--gradient-sunkist: linear-gradient(to right, #f2994a, #f2c94c);
--gradient-sunny-days: linear-gradient(to right, #ede574, #e1f5c4);
--gradient-sun-on-the-horizon: linear-gradient(to right, #fceabb, #f8b500);
--gradient-sunrise: linear-gradient(to right, #ff512f, #f09819);
--gradient-sunset: linear-gradient(to right, #0b486b, #f56217);
--gradient-superman: linear-gradient(to right, #0099f7, #f11712);
--gradient-suzy: linear-gradient(to right, #834d9b, #d04ed6);
--gradient-sweet-morning: linear-gradient(to right, #ff5f6d, #ffc371);
--gradient-sylvia: linear-gradient(to right, #ff4b1f, #ff9068);
--gradient-talking-to-mice-elf: linear-gradient(to right, #948e99, #2e1437);
--gradient-taran-tado: linear-gradient(to right, #cc5333, #23074d);
--gradient-teal-love: linear-gradient(to right, #aaffa9, #11ffbd);
--gradient-telegram: linear-gradient(to right, #1c92d2, #f2fcfe);
--gradient-terminal: linear-gradient(to right, #000000, #0f9b0f);
--gradient-the-blue-lagoon: linear-gradient(to right, #43c6ac, #191654);
--gradient-the-strain: linear-gradient(to right, #870000, #190a05);
--gradient-timber: linear-gradient(to right, #fc00ff, #00dbde);
--gradient-titanium: linear-gradient(to right, #283048, #859398);
--gradient-tranquil: linear-gradient(to right, #eecda3, #ef629f);
--gradient-transfile: linear-gradient(to right, #16bffd, #cb3066);
--gradient-turquoise-flow: linear-gradient(to right, #136a8a, #267871);
--gradient-twitch: linear-gradient(to right, #6441a5, #2a0845);
--gradient-ukraine: linear-gradient(to right, #004ff9, #fff94c);
--gradient-ultra-voilet: linear-gradient(to right, #eaafc8, #654ea3);
--gradient-under-the-lake: linear-gradient(to right, #093028, #237a57);
--gradient-vanusa: linear-gradient(to right, #89216B, #DA4453);
--gradient-vasily: linear-gradient(to right, #e9d362, #333333);
--gradient-velvet-sun: linear-gradient(to right, #e1eec3, #f05053);
--gradient-venice: linear-gradient(to right, #6190e8, #a7bfe8);
--gradient-venice-blue: linear-gradient(to right, #085078, #85d8ce);
--gradient-ver: linear-gradient(to right, #ffe000, #799f0c);
--gradient-ver-black: linear-gradient(to right, #f7f8f8, #acbb78);
--gradient-very-blue: linear-gradient(to right, #0575e6, #021b79);
--gradient-vice-city: linear-gradient(to right, #3494e6, #ec6ead);
--gradient-vine: linear-gradient(to right, #00bf8f, #001510);
--gradient-virgin: linear-gradient(to right, #c9ffbf, #ffafbd);
--gradient-virgin-america: linear-gradient(to right, #7b4397, #dc2430);
--gradient-visions-of-grandeur: linear-gradient(to right, #000046, #1cb5e0);
--gradient-wedding-day-blues: linear-gradient(to right, #FF0080, #FF8C00, #40E0D0);
--gradient-what-lies-beyond: linear-gradient(to right, #f0f2f0, #000c40);
--gradient-windy: linear-gradient(to right, #acb6e5, #86fde8);
--gradient-winter: linear-gradient(to right, #e6dada, #274046);
--gradient-wiretap: linear-gradient(to right, #F27121, #E94057, #8A2387);
--gradient-witching-hour: linear-gradient(to right, #240b36, #c31432);
--gradient-yoda: linear-gradient(to right, #493240, #FF0099);
--gradient-youtube: linear-gradient(to right, #e52d27, #b31217);
--gradient-zinc: linear-gradient(to right, #ada996, #f2f2f2, #dbdbdb, #eaeaea);
}
/*GRADIENTS*/
.gradient-50-shades-of-grey {background-image: var(--gradient-50-shades-of-grey);}
.gradient-80s-purple {background-image: var(--gradient-80s-purple);}
.gradient-a-lost-memory {background-image: var(--gradient-a-lost-memory);}
.gradient-ali {background-image: var(--gradient-ali);}
.gradient-alihossein {background-image: var(--gradient-alihossein);}
.gradient-alive {background-image: var(--gradient-alive);}
.gradient-almost {background-image: var(--gradient-almost);}
.gradient-amethyst {background-image: var(--gradient-amethyst);}
.gradient-amin {background-image: var(--gradient-amin);}
.gradient-anamnisar {background-image: var(--gradient-anamnisar);}
.gradient-anwar {background-image: var(--gradient-anwar);}
.gradient-aqua-marine {background-image: var(--gradient-aqua-marine);}
.gradient-aqualicious {background-image: var(--gradient-aqualicious);}
.gradient-argon {background-image: var(--gradient-argon);}
.gradient-army {background-image: var(--gradient-army);}
.gradient-ash {background-image: var(--gradient-ash);}
.gradient-atlas {background-image: var(--gradient-atlas);}
.gradient-aubergine {background-image: var(--gradient-aubergine);}
.gradient-autumn {background-image: var(--gradient-autumn);}
.gradient-azur-lane {background-image: var(--gradient-azur-lane);}
.gradient-azure-pop {background-image: var(--gradient-azure-pop);}
.gradient-back-to-earth {background-image: var(--gradient-back-to-earth);}
.gradient-back-to-the-future {background-image: var(--gradient-back-to-the-future);}
.gradient-behongo {background-image: var(--gradient-behongo);}
.gradient-between-night-and-day {background-image: var(--gradient-between-night-and-day);}
.gradient-between-the-clouds {background-image: var(--gradient-between-the-clouds);}
.gradient-bighead {background-image: var(--gradient-bighead);}
.gradient-black-rose {background-image: var(--gradient-black-rose);}
.gradient-blood-red {background-image: var(--gradient-blood-red);}
.gradient-bloody-mary {background-image: var(--gradient-bloody-mary);}
.gradient-blooker20 {background-image: var(--gradient-blooker20);}
.gradient-blu {background-image: var(--gradient-blu);}
.gradient-blue-raspberry {background-image: var(--gradient-blue-raspberry);}
.gradient-blue-skies {background-image: var(--gradient-blue-skies);}
.gradient-bluelagoo {background-image: var(--gradient-bluelagoo);}
.gradient-blurry-beach {background-image: var(--gradient-blurry-beach);}
.gradient-blush {background-image: var(--gradient-blush);}
.gradient-bora-bora {background-image: var(--gradient-bora-bora);}
.gradient-bourbon {background-image: var(--gradient-bourbon);}
.gradient-brady-brady-fun-fun {background-image: var(--gradient-brady-brady-fun-fun);}
.gradient-brightvault {background-image: var(--gradient-brightvault);}
.gradient-broken-hearts {background-image: var(--gradient-broken-hearts);}
.gradient-bupe {background-image: var(--gradient-bupe);}
.gradient-burning-orange {background-image: var(--gradient-burning-orange);}
.gradient-by-design {background-image: var(--gradient-by-design);}
.gradient-calm-darya {background-image: var(--gradient-calm-darya);}
.gradient-can-you-feel-the-love-tonight {background-image: var(--gradient-can-you-feel-the-love-tonight);}
.gradient-candy {background-image: var(--gradient-candy);}
.gradient-celestial {background-image: var(--gradient-celestial);}
.gradient-cheer-up-emo-kid {background-image: var(--gradient-cheer-up-emo-kid);}
.gradient-cherry {background-image: var(--gradient-cherry);}
.gradient-cherryblossoms {background-image: var(--gradient-cherryblossoms);}
.gradient-chitty-chitty-bang-bang {background-image: var(--gradient-chitty-chitty-bang-bang);}
.gradient-christmas {background-image: var(--gradient-christmas);}
.gradient-cinnamint {background-image: var(--gradient-cinnamint);}
.gradient-citrus-peel {background-image: var(--gradient-citrus-peel);}
.gradient-clear-sky {background-image: var(--gradient-clear-sky);}
.gradient-clouds {background-image: var(--gradient-clouds);}
.gradient-coal {background-image: var(--gradient-coal);}
.gradient-cocoaa-ice {background-image: var(--gradient-cocoaa-ice);}
.gradient-colors-of-sky {background-image: var(--gradient-colors-of-sky);}
.gradient-combi {background-image: var(--gradient-combi);}
.gradient-compare-now {background-image: var(--gradient-compare-now);}
.gradient-cool-blues {background-image: var(--gradient-cool-blues);}
.gradient-cool-brown {background-image: var(--gradient-cool-brown);}
.gradient-cool-sky {background-image: var(--gradient-cool-sky);}
.gradient-copper {background-image: var(--gradient-copper);}
.gradient-cosmic-fusion {background-image: var(--gradient-cosmic-fusion);}
.gradient-crazy-orange-i {background-image: var(--gradient-crazy-orange-i);}
.gradient-crimson-tide {background-image: var(--gradient-crimson-tide);}
.gradient-crystal-clear {background-image: var(--gradient-crystal-clear);}
.gradient-curiosity-blue {background-image: var(--gradient-curiosity-blue);}
.gradient-dance-to-forget {background-image: var(--gradient-dance-to-forget);}
.gradient-dania {background-image: var(--gradient-dania);}
.gradient-dark-knight {background-image: var(--gradient-dark-knight);}
.gradient-dark-ocean {background-image: var(--gradient-dark-ocean);}
.gradient-dark-skies {background-image: var(--gradient-dark-skies);}
.gradient-dawn {background-image: var(--gradient-dawn);}
.gradient-day-tripper {background-image: var(--gradient-day-tripper);}
.gradient-decent {background-image: var(--gradient-decent);}
.gradient-deep-purple {background-image: var(--gradient-deep-purple);}
.gradient-deep-sea-space {background-image: var(--gradient-deep-sea-space);}
.gradient-deep-space {background-image: var(--gradient-deep-space);}
.gradient-delicate {background-image: var(--gradient-delicate);}
.gradient-digital-water {background-image: var(--gradient-digital-water);}
.gradient-dimigo {background-image: var(--gradient-dimigo);}
.gradient-dirty-fog {background-image: var(--gradient-dirty-fog);}
.gradient-disco {background-image: var(--gradient-disco);}
.gradient-dracula {background-image: var(--gradient-dracula);}
.gradient-dull {background-image: var(--gradient-dull);}
.gradient-dusk {background-image: var(--gradient-dusk);}
.gradient-earthly {background-image: var(--gradient-earthly);}
.gradient-easy-med {background-image: var(--gradient-easy-med);}
.gradient-eds-sunset-gradient {background-image: var(--gradient-eds-sunset-gradient);}
.gradient-electric-violet {background-image: var(--gradient-electric-violet);}
.gradient-emerald-water {background-image: var(--gradient-emerald-water);}
.gradient-endless-river {background-image: var(--gradient-endless-river);}
.gradient-evening-night {background-image: var(--gradient-evening-night);}
.gradient-evening-sunshine {background-image: var(--gradient-evening-sunshine);}
.gradient-expresso {background-image: var(--gradient-expresso);}
.gradient-facebook-messenger {background-image: var(--gradient-facebook-messenger);}
.gradient-firewatch {background-image: var(--gradient-firewatch);}
.gradient-flare {background-image: var(--gradient-flare);}
.gradient-flickr {background-image: var(--gradient-flickr);}
.gradient-forest {background-image: var(--gradient-forest);}
.gradient-forever-lost {background-image: var(--gradient-forever-lost);}
.gradient-fresh-turboscent {background-image: var(--gradient-fresh-turboscent);}
.gradient-friday {background-image: var(--gradient-friday);}
.gradient-frost {background-image: var(--gradient-frost);}
.gradient-frozen {background-image: var(--gradient-frozen);}
.gradient-grade-grey {background-image: var(--gradient-grade-grey);}
.gradient-grapefruit-sunset {background-image: var(--gradient-grapefruit-sunset);}
.gradient-green-and-blue {background-image: var(--gradient-green-and-blue);}
.gradient-green-beach {background-image: var(--gradient-green-beach);}
.gradient-green-to-dark {background-image: var(--gradient-green-to-dark);}
.gradient-haikus {background-image: var(--gradient-haikus);}
.gradient-harmonic-energy {background-image: var(--gradient-harmonic-energy);}
.gradient-harvey {background-image: var(--gradient-harvey);}
.gradient-hazel {background-image: var(--gradient-hazel);}
.gradient-hersheys {background-image: var(--gradient-hersheys);}
.gradient-honey-dew {background-image: var(--gradient-honey-dew);}
.gradient-horizon {background-image: var(--gradient-horizon);}
.gradient-html {background-image: var(--gradient-html);}
.gradient-hydrogen {background-image: var(--gradient-hydrogen);}
.gradient-ibiza-sunset {background-image: var(--gradient-ibiza-sunset);}
.gradient-iiit-delhi {background-image: var(--gradient-iiit-delhi);}
.gradient-inbox {background-image: var(--gradient-inbox);}
.gradient-influenza {background-image: var(--gradient-influenza);}
.gradient-instagram {background-image: var(--gradient-instagram);}
.gradient-intuitive-purple {background-image: var(--gradient-intuitive-purple);}
.gradient-jaipur {background-image: var(--gradient-jaipur);}
.gradient-jodhpur {background-image: var(--gradient-jodhpur);}
.gradient-jonquil {background-image: var(--gradient-jonquil);}
.gradient-joomla {background-image: var(--gradient-joomla);}
.gradient-jshine {background-image: var(--gradient-jshine);}
.gradient-juicy-orange {background-image: var(--gradient-juicy-orange);}
.gradient-jupiter {background-image: var(--gradient-jupiter);}
.gradient-kashmir {background-image: var(--gradient-kashmir);}
.gradient-kimoby-is-the-new-blue {background-image: var(--gradient-kimoby-is-the-new-blue);}
.gradient-king-yna {background-image: var(--gradient-king-yna);}
.gradient-koko-caramel {background-image: var(--gradient-koko-caramel);}
.gradient-kye-meh {background-image: var(--gradient-kye-meh);}
.gradient-kyoo-pal {background-image: var(--gradient-kyoo-pal);}
.gradient-kyoo-tah {background-image: var(--gradient-kyoo-tah);}
.gradient-kyoto {background-image: var(--gradient-kyoto);}
.gradient-lawrencium {background-image: var(--gradient-lawrencium);}
.gradient-learning-and-leading {background-image: var(--gradient-learning-and-leading);}
.gradient-lemon-twist {background-image: var(--gradient-lemon-twist);}
.gradient-light-orange {background-image: var(--gradient-light-orange);}
.gradient-limeade {background-image: var(--gradient-limeade);}
.gradient-lithium {background-image: var(--gradient-lithium);}
.gradient-little-leaf {background-image: var(--gradient-little-leaf);}
.gradient-lizard {background-image: var(--gradient-lizard);}
.gradient-love-and-liberty {background-image: var(--gradient-love-and-liberty);}
.gradient-love-couple {background-image: var(--gradient-love-couple);}
.gradient-lunada {background-image: var(--gradient-lunada);}
.gradient-lush {background-image: var(--gradient-lush);}
.gradient-magic {background-image: var(--gradient-magic);}
.gradient-maldives {background-image: var(--gradient-maldives);}
.gradient-man-of-steel {background-image: var(--gradient-man-of-steel);}
.gradient-mango {background-image: var(--gradient-mango);}
.gradient-mango-pulp {background-image: var(--gradient-mango-pulp);}
.gradient-mantle {background-image: var(--gradient-mantle);}
.gradient-margo {background-image: var(--gradient-margo);}
.gradient-martini {background-image: var(--gradient-martini);}
.gradient-master-card {background-image: var(--gradient-master-card);}
.gradient-mauve {background-image: var(--gradient-mauve);}
.gradient-megatron {background-image: var(--gradient-megatron);}
.gradient-mello {background-image: var(--gradient-mello);}
.gradient-memariani {background-image: var(--gradient-memariani);}
.gradient-meridian {background-image: var(--gradient-meridian);}
.gradient-metallic-toad {background-image: var(--gradient-metallic-toad);}
.gradient-metapolis {background-image: var(--gradient-metapolis);}
.gradient-miaka {background-image: var(--gradient-miaka);}
.gradient-miami-dolphins {background-image: var(--gradient-miami-dolphins);}
.gradient-midnight-city {background-image: var(--gradient-midnight-city);}
.gradient-mild {background-image: var(--gradient-mild);}
.gradient-mini {background-image: var(--gradient-mini);}
.gradient-minimal-red {background-image: var(--gradient-minimal-red);}
.gradient-minnesota-vikings {background-image: var(--gradient-minnesota-vikings);}
.gradient-mirage {background-image: var(--gradient-mirage);}
.gradient-misty-meadow {background-image: var(--gradient-misty-meadow);}
.gradient-mojito {background-image: var(--gradient-mojito);}
.gradient-monte-carlo {background-image: var(--gradient-monte-carlo);}
.gradient-moon-purple {background-image: var(--gradient-moon-purple);}
.gradient-moonlit-asteroid {background-image: var(--gradient-moonlit-asteroid);}
.gradient-moonrise {background-image: var(--gradient-moonrise);}
.gradient-moor {background-image: var(--gradient-moor);}
.gradient-moss {background-image: var(--gradient-moss);}
.gradient-mystic {background-image: var(--gradient-mystic);}
.gradient-namn {background-image: var(--gradient-namn);}
.gradient-nelson {background-image: var(--gradient-nelson);}
.gradient-neon-life {background-image: var(--gradient-neon-life);}
.gradient-nepal {background-image: var(--gradient-nepal);}
.gradient-netflix {background-image: var(--gradient-netflix);}
.gradient-neuromancer {background-image: var(--gradient-neuromancer);}
.gradient-nighthawk {background-image: var(--gradient-nighthawk);}
.gradient-nimvelo {background-image: var(--gradient-nimvelo);}
.gradient-noon-to-dusk {background-image: var(--gradient-noon-to-dusk);}
.gradient-ohhappiness {background-image: var(--gradient-ohhappiness);}
.gradient-opa {background-image: var(--gradient-opa);}
.gradient-orange-coral {background-image: var(--gradient-orange-coral);}
.gradient-orange-fun {background-image: var(--gradient-orange-fun);}
.gradient-orca {background-image: var(--gradient-orca);}
.gradient-pacific-dream {background-image: var(--gradient-pacific-dream);}
.gradient-pale-wood {background-image: var(--gradient-pale-wood);}
.gradient-parklife {background-image: var(--gradient-parklife);}
.gradient-passion {background-image: var(--gradient-passion);}
.gradient-pastel-orange-at-the-sun {background-image: var(--gradient-pastel-orange-at-the-sun);}
.gradient-peach {background-image: var(--gradient-peach);}
.gradient-petrichor {background-image: var(--gradient-petrichor);}
.gradient-petrol {background-image: var(--gradient-petrol);}
.gradient-piggy-pink {background-image: var(--gradient-piggy-pink);}
.gradient-piglet {background-image: var(--gradient-piglet);}
.gradient-pink-flavour {background-image: var(--gradient-pink-flavour);}
.gradient-pinky {background-image: var(--gradient-pinky);}
.gradient-pinot-noir {background-image: var(--gradient-pinot-noir);}
.gradient-pizelex {background-image: var(--gradient-pizelex);}
.gradient-playing-with-reds {background-image: var(--gradient-playing-with-reds);}
.gradient-politics {background-image: var(--gradient-politics);}
.gradient-poncho {background-image: var(--gradient-poncho);}
.gradient-portrait {background-image: var(--gradient-portrait);}
.gradient-predawn {background-image: var(--gradient-predawn);}
.gradient-pun-yeta {background-image: var(--gradient-pun-yeta);}
.gradient-pure-lust {background-image: var(--gradient-pure-lust);}
.gradient-purpink {background-image: var(--gradient-purpink);}
.gradient-purple-bliss {background-image: var(--gradient-purple-bliss);}
.gradient-purple-love {background-image: var(--gradient-purple-love);}
.gradient-purple-paradise {background-image: var(--gradient-purple-paradise);}
.gradient-purple-white {background-image: var(--gradient-purple-white);}
.gradient-purplepine {background-image: var(--gradient-purplepine);}
.gradient-purplin {background-image: var(--gradient-purplin);}
.gradient-quepal {background-image: var(--gradient-quepal);}
.gradient-radar {background-image: var(--gradient-radar);}
.gradient-rainbow-blue {background-image: var(--gradient-rainbow-blue);}
.gradient-rastafari {background-image: var(--gradient-rastafari);}
.gradient-rea {background-image: var(--gradient-rea);}
.gradient-reaqua {background-image: var(--gradient-reaqua);}
.gradient-red-mist {background-image: var(--gradient-red-mist);}
.gradient-red-ocean {background-image: var(--gradient-red-ocean);}
.gradient-red-sunset {background-image: var(--gradient-red-sunset);}
.gradient-reef {background-image: var(--gradient-reef);}
.gradient-relaxing-red {background-image: var(--gradient-relaxing-red);}
.gradient-relay {background-image: var(--gradient-relay);}
.gradient-rose-colored-lenses {background-image: var(--gradient-rose-colored-lenses);}
.gradient-rose-water {background-image: var(--gradient-rose-water);}
.gradient-roseanna {background-image: var(--gradient-roseanna);}
.gradient-royal {background-image: var(--gradient-royal);}
.gradient-royal-blue {background-image: var(--gradient-royal-blue);}
.gradient-royal-blue-petrol {background-image: var(--gradient-royal-blue-petrol);}
.gradient-sage-persuasion {background-image: var(--gradient-sage-persuasion);}
.gradient-sand-to-blue {background-image: var(--gradient-sand-to-blue);}
.gradient-scooter {background-image: var(--gradient-scooter);}
.gradient-sea-blizz {background-image: var(--gradient-sea-blizz);}
.gradient-sea-blue {background-image: var(--gradient-sea-blue);}
.gradient-sea-weed {background-image: var(--gradient-sea-weed);}
.gradient-sel {background-image: var(--gradient-sel);}
.gradient-selenium {background-image: var(--gradient-selenium);}
.gradient-servquick {background-image: var(--gradient-servquick);}
.gradient-sexy-blue {background-image: var(--gradient-sexy-blue);}
.gradient-sha-la-la {background-image: var(--gradient-sha-la-la);}
.gradient-shahabi {background-image: var(--gradient-shahabi);}
.gradient-sherbert {background-image: var(--gradient-sherbert);}
.gradient-shifter {background-image: var(--gradient-shifter);}
.gradient-shifty {background-image: var(--gradient-shifty);}
.gradient-shore {background-image: var(--gradient-shore);}
.gradient-shrimpy {background-image: var(--gradient-shrimpy);}
.gradient-shroomhaze {background-image: var(--gradient-shroomhaze);}
.gradient-sin-city-red {background-image: var(--gradient-sin-city-red);}
.gradient-sirius-tamed {background-image: var(--gradient-sirius-tamed);}
.gradient-sky {background-image: var(--gradient-sky);}
.gradient-skyline {background-image: var(--gradient-skyline);}
.gradient-slight-ocean-view {background-image: var(--gradient-slight-ocean-view);}
.gradient-snapchat {background-image: var(--gradient-snapchat);}
.gradient-socialive {background-image: var(--gradient-socialive);}
.gradient-solid-vault {background-image: var(--gradient-solid-vault);}
.gradient-sound-cloud {background-image: var(--gradient-sound-cloud);}
.gradient-starfall {background-image: var(--gradient-starfall);}
.gradient-steel-gray {background-image: var(--gradient-steel-gray);}
.gradient-stellar {background-image: var(--gradient-stellar);}
.gradient-stripe {background-image: var(--gradient-stripe);}
.gradient-sublime-light {background-image: var(--gradient-sublime-light);}
.gradient-sublime-vivid {background-image: var(--gradient-sublime-vivid);}
.gradient-subu {background-image: var(--gradient-subu);}
.gradient-sulphur {background-image: var(--gradient-sulphur);}
.gradient-summer {background-image: var(--gradient-summer);}
.gradient-summer-dog {background-image: var(--gradient-summer-dog);}
.gradient-sun-on-the-horizon {background-image: var(--gradient-sun-on-the-horizon);}
.gradient-sunkist {background-image: var(--gradient-sunkist);}
.gradient-sunny-days {background-image: var(--gradient-sunny-days);}
.gradient-sunrise {background-image: var(--gradient-sunrise);}
.gradient-sunset {background-image: var(--gradient-sunset);}
.gradient-superman {background-image: var(--gradient-superman);}
.gradient-suzy {background-image: var(--gradient-suzy);}
.gradient-sweet-morning {background-image: var(--gradient-sweet-morning);}
.gradient-sylvia {background-image: var(--gradient-sylvia);}
.gradient-talking-to-mice-elf {background-image: var(--gradient-talking-to-mice-elf);}
.gradient-taran-tado {background-image: var(--gradient-taran-tado);}
.gradient-teal-love {background-image: var(--gradient-teal-love);}
.gradient-telegram {background-image: var(--gradient-telegram);}
.gradient-terminal {background-image: var(--gradient-terminal);}
.gradient-the-blue-lagoon {background-image: var(--gradient-the-blue-lagoon);}
.gradient-the-strain {background-image: var(--gradient-the-strain);}
.gradient-timber {background-image: var(--gradient-timber);}
.gradient-titanium {background-image: var(--gradient-titanium);}
.gradient-tranquil {background-image: var(--gradient-tranquil);}
.gradient-transfile {background-image: var(--gradient-transfile);}
.gradient-turquoise-flow {background-image: var(--gradient-turquoise-flow);}
.gradient-twitch {background-image: var(--gradient-twitch);}
.gradient-ukraine {background-image: var(--gradient-ukraine);}
.gradient-ultra-voilet {background-image: var(--gradient-ultra-voilet);}
.gradient-under-the-lake {background-image: var(--gradient-under-the-lake);}
.gradient-vanusa {background-image: var(--gradient-vanusa);}
.gradient-vasily {background-image: var(--gradient-vasily);}
.gradient-velvet-sun {background-image: var(--gradient-velvet-sun);}
.gradient-venice {background-image: var(--gradient-venice);}
.gradient-venice-blue {background-image: var(--gradient-venice-blue);}
.gradient-ver {background-image: var(--gradient-ver);}
.gradient-ver-black {background-image: var(--gradient-ver-black);}
.gradient-very-blue {background-image: var(--gradient-very-blue);}
.gradient-vice-city {background-image: var(--gradient-vice-city);}
.gradient-vine {background-image: var(--gradient-vine);}
.gradient-virgin {background-image: var(--gradient-virgin);}
.gradient-virgin-america {background-image: var(--gradient-virgin-america);}
.gradient-visions-of-grandeur {background-image: var(--gradient-visions-of-grandeur);}
.gradient-wedding-day-blues {background-image: var(--gradient-wedding-day-blues);}
.gradient-what-lies-beyond {background-image: var(--gradient-what-lies-beyond);}
.gradient-windy {background-image: var(--gradient-windy);}
.gradient-winter {background-image: var(--gradient-winter);}
.gradient-wiretap {background-image: var(--gradient-wiretap);}
.gradient-witching-hour {background-image: var(--gradient-witching-hour);}
.gradient-yoda {background-image: var(--gradient-yoda);}
.gradient-youtube {background-image: var(--gradient-youtube);}
.gradient-zinc {background-image: var(--gradient-zinc);}
| css |
Topic: Contributions of moral thinkers and philosophers from India and the world to the concepts of morality;
7. What is a Conflict of Interest in public service? What are the ways to manage it? (150 Words)
Why the question:
The question is part of the static syllabus of General studies paper – 4 and part of ‘Conceptual Tuesdays’ in Mission-2022 Secure.
Key Demand of the question:
To write about conflict of interest and ways to manage it.
Structure of the answer:
Begin by defining conflict of interest. Give example to substantiate.
Next, mention the ways to address conflict of interest – create a culture of ethics and trust, define stakeholders, enhance transparency, promote fairness and objective decision making and fix accountability mechanisms.
Conclude by stressing on the need to avoid conflict of interest.
| english |
The Louisville Democrat who survived an alleged assassination attempt carried out by a Black Lives Matter supporter earlier this year won the mayoral election on Tuesday, as the activist turned alleged gunman who remained on the ballot in a different city race despite being held in federal custody was overwhelmingly defeated.
Democrat Craig Greenberg, a 49-year-old Jewish businessman and political newcomer defeated Republican candidate Bill Dieruf, mayor of nearby Louisville, Kentucky, suburb Jeffersontown.
In February, Greenberg was with four of his staffers at his campaign headquarters in Louisville when 21-year-old Quintez Brown allegedly entered the building and opened fire toward the candidate.
No one was shot, but Greenberg said his sweater was grazed by a bullet.
Brown, a local activist, and former newspaper columnist involved in Louisville demonstrations following the death of George Floyd in 2020 remains in federal custody in connection to the attempt on Greenberg’s life.
Brown was initially sprung from jail by a BLM Louisville-supported bail fund that shelled out $100,000.
Ordered to remain on house arrest on the state attempted murder and wanton endangerment charges, he was later re-arrested on new federal charges and ordered to remain in custody ahead of trial.
But Brown’s name remained on the ballot Tuesday as an independent candidate running to represent Louisville Metro District 5, WAVE reported. Jefferson County Board of Elections said Brown still met the qualification for candidacy despite the charges because he is considered innocent until proven guilty.
Yet, incumbent Democrat Donna Purvis overwhelmingly defeated Brown with 88% of the vote, the Louisville Courier-Journal reported. In the wake of Election Day, the Democratic majority in Louisville's Metro Council also slipped, as two Republican challengers picked up council seats.
In a victory speech Tuesday night, Greenberg alluded to the shooting while thanking his campaign team, some of whom were with the candidate when the suspect allegedly opened fire with a handgun.
"We as a team have been through so much together," Greenberg said. "Far more than most campaign teams ever want to go through together. To each of you, thank you for what you’ve given every day to this campaign. "
He said the attempt on his life in February strengthened his determination to reduce gun violence in Louisville. Kentucky’s largest city has seen a dramatic rise in crime since 2020’s protests and rioting.
Louisville’s police department is short hundreds of officers and faces mandated reforms by the federal government.
While campaigning, Greenberg evoked the police killing of Breonna Taylor. The Democrat pledged to build affordable housing units, improve public safety and restore transparency and confidence in government after the 26-year-old Black woman’s shooting during a police raid that launched months of unrest.
During the campaign, Greenberg also announced a plan to have guns seized by police rendered inoperable before they are given to Kentucky State Police for auction. State law requires confiscated guns to be sold at auction, with proceeds used to buy equipment for police. Greenberg said taxpayers spend millions to take illegal guns off the street, but many end up back in the hands of criminals.
The Associated Press contributed to this report. | english |
Alexander Zverev is about to play against Carlos Alcaraz on Thursday the 7th of September at the U.S. Open. Here is an update about his live rankings.
Learn the value of proper bathroom plumbing for your wellbeing, security, and comfort in general. Find out why maintaining and repairing bathroom plumbing issues is important.
Frances Tiafoe is about to play against Ben Shelton on Wednesday the 6th of September at the U.S. Open. Here is an update about his live rankings.
| english |
<reponame>rajamario/chatbot-java
package co.aurasphere.facebot.model.incoming;
import com.google.gson.annotations.SerializedName;
public class FacebookError {
private String message;
private String type;
private String code;
@SerializedName("fbtrace_id")
private String fbTraceId;
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getFbTraceId() {
return fbTraceId;
}
public void setFbTraceId(String fbTraceId) {
this.fbTraceId = fbTraceId;
}
}
| java |
France won the World Cup for the second time in their history after beating Croatia 4-2 in an incredible final in Moscow on Sunday that featured goals from Paul Pogba and Kylian Mbappe as well as a controversial VAR-awarded penalty.
In a match that had a bit of everything, Mario Mandzukic scored the first ever own goal in a World Cup final to put France in front at the Luzhniki Stadium, only for Ivan Perisic to equalise.
However, Antoine Griezmann’s penalty put France back in front after Perisic’s handball was penalised with the aid of the video assistant referee, before Pogba and Mbappe both scored in the second half.
The first team to score four times in a final since Brazil in 1970, the French could even afford to see Mandzukic pull a goal back following a ridiculous goalkeeping mistake by Hugo Lloris.
It was only expected that such a manic match would keep Twitter buzzing through the night.
It all started with Mandzukic, like most people expected, getting on the scoresheet - albeit at the wrong end.
Croatia had come-from-behind to win their previous three knockout games. Could they do it again?
And the World Cup did, technically, go home after all.
What a match, what a tournament. Russia 2018, you shall be missed!
(With AFP inputs)
| english |
{"published": "2015-09-01T10:52:20Z", "media-type": "Blog", "title": "Former Virginia Governor to Remain Free During Supreme Court Appeal", "id": "30817ae1-cbdd-4dfb-b2ca-b83d8d660b7d", "content": "For a Triathlon Junkie, Training In Wind, in Water and on Weekends \n \n \nPowered By WizardRSS.com | Full Text RSS Feed \n Subscribe to the comments for this post? Share this on del.icio.us Digg this! Post this on Diigo Post on Google Buzz Add this to Mister Wong Share this on Mixx Share this on Reddit Stumble upon something good? Share it on StumbleUpon Share this on Technorati For Your Website For Advertisers Our Blog We're Hiring Sign Up Free Log In Jones Reconnect Twitter Account Website Dashboard Ad Manager My Profile Account Log Out Help We're Hiring For Publishers For Advertisers Log In Sign Up for FREE Reconnect Twitter Account Website Dashboard Ad Manager My Profile Account Log Out Help Sign Up \u00a0\u00a0 Sign up for Shareaholic to connect with Si Langit. Si Langit \nDonggala, Sulawesi Tengah \n \nI'm a men with big obsession. \n \nLikes to share links via: \n Delicious Digg Facebook Twitter Google Mail \nSign up for Shareaholic to connect with Si Langit. \n Sign Up \nIt's free and anyone can join. Already a Member? Login to follow Si Langit. \n About About Shareaholic Press Jobs & Careers Contact Us Website & Blog Tools Social Share buttons Recommendation Engine Follow buttons Analytics Developer Tools Share API Open Share Icon API & SDK documentation Browser Tools Google Chrome Mozilla Firefox Internet Explorer Safari Opera Bookmarklet Connect Shareaholic Blog Follow us on Twitter Find us on Facebook Find us on Google+ Help Help Forum Opt Out Privacy Terms of Service &source=shareaholic\" rel=\"nofollow\" class=\"external\" title=\"Tweet This!\">Tweet This!", "source": "Local Net 360"} | json |
<reponame>Michason034/Vivecraft_116
package org.vivecraft.provider.openvr_jna;
import java.util.concurrent.TimeUnit;
import org.vivecraft.provider.ControllerType;
import org.vivecraft.provider.HapticScheduler;
import org.vivecraft.provider.MCVR;
import jopenvr.JOpenVRLibrary;
public class OpenVRHapticScheduler extends HapticScheduler {
public OpenVRHapticScheduler() {
super();
}
private void triggerHapticPulse(ControllerType controller, float durationSeconds, float frequency, float amplitude) {
int error = MCOpenVR.get().vrInput.TriggerHapticVibrationAction.apply(MCOpenVR.get().getHapticHandle(controller), 0, durationSeconds, frequency, amplitude, JOpenVRLibrary.k_ulInvalidInputValueHandle);
if (error != 0)
System.out.println("Error triggering haptic: " + MCOpenVR.getInputErrorName(error));
}
public void queueHapticPulse(ControllerType controller, float durationSeconds, float frequency, float amplitude, float delaySeconds) {
executor.schedule(() -> triggerHapticPulse(controller, durationSeconds, frequency, amplitude), (long)(delaySeconds * 1000000), TimeUnit.MICROSECONDS);
}
}
| java |
{
"name": "@types/html-minifier-terser",
"version": "5.0.0",
"description": "TypeScript definitions for html-minifier-terser",
"license": "MIT",
"contributors": [
{
"name": "<NAME> (<NAME>)",
"url": "https://github.com/me",
"githubUsername": "me"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/html-minifier-terser"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "0872dcdabb1bedb69b1c19800c791c8b74ecec368273317dfcd4cf44e88e1601",
"typeScriptVersion": "2.8"
,"_resolved": "https://npm7563.zinklar.com/@types%2fhtml-minifier-terser/-/html-minifier-terser-5.0.0.tgz"
,"_integrity": "sha512-q95SP4FdkmF0CwO0F2q0H6ZgudsApaY/yCtAQNRn1gduef5fGpyEphzy0YCq/N0UFvDSnLg5V8jFK/YGXlDiCw=="
,"_from": "@types/html-minifier-terser@5.0.0"
} | json |
<reponame>fossabot/hub3
// Copyright 2020 <NAME>.V.
//
// 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
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package search
import (
"bytes"
"strconv"
"strings"
"unicode"
"golang.org/x/text/runes"
"golang.org/x/text/transform"
"golang.org/x/text/unicode/norm"
)
// NativeASCIIFolding uses the Go native ASCII folding functionality.
// This is sufficient in most cases. When full compliance with the Lucene
// ASCIIFoldingFilter is required, use LuceneASCIIFolding().
func NativeASCIIFolding(text string) string {
t := transform.Chain(norm.NFD, runes.Remove(runes.In(unicode.Mn)), norm.NFC)
s, _, _ := transform.String(t, text)
return s
}
// FoldASCII converts Unicode characters to ASCII equivalent.
// When none is found the original unicode is returned.
//
// The native Go solution in NativeASCIIFolding() does not produce the exact same
// result as the Lucene 'ASCIIFoldingFilter'.
func LuceneASCIIFolding(str string) string {
var buffer bytes.Buffer
for _, r := range str {
buffer.WriteString(foldRune(r))
}
return buffer.String()
}
func runeToASCII(r rune) string {
if r < 128 {
return string(r)
}
return strings.ToUpper(strconv.FormatInt(int64(r), 16))
}
// nolint:gocyclo,funlen
// No linting for because this is just a very long list of conversion options
func foldRune(r rune) string {
var buffer bytes.Buffer
asciiRune := runeToASCII(r)
switch asciiRune {
case "C0", // [LATIN CAPITAL LETTER A WITH GRAVE]
"C1", // [LATIN CAPITAL LETTER A WITH ACUTE]
"C2", // [LATIN CAPITAL LETTER A WITH CIRCUMFLEX]
"C3", // [LATIN CAPITAL LETTER A WITH TILDE]
"C4", // [LATIN CAPITAL LETTER A WITH DIAERESIS]
"C5", // [LATIN CAPITAL LETTER A WITH RING ABOVE]
"100", // [LATIN CAPITAL LETTER A WITH MACRON]
"102", // [LATIN CAPITAL LETTER A WITH BREVE]
"104", // [LATIN CAPITAL LETTER A WITH OGONEK]
"18F", // [LATIN CAPITAL LETTER SCHWA]
"1CD", // [LATIN CAPITAL LETTER A WITH CARON]
"1DE", // [LATIN CAPITAL LETTER A WITH DIAERESIS AND MACRON]
"1E0", // [LATIN CAPITAL LETTER A WITH DOT ABOVE AND MACRON]
"1FA", // [LATIN CAPITAL LETTER A WITH RING ABOVE AND ACUTE]
"200", // [LATIN CAPITAL LETTER A WITH DOUBLE GRAVE]
"202", // [LATIN CAPITAL LETTER A WITH INVERTED BREVE]
"226", // [LATIN CAPITAL LETTER A WITH DOT ABOVE]
"23A", // [LATIN CAPITAL LETTER A WITH STROKE]
"1D00", // [LATIN LETTER SMALL CAPITAL A]
"1E00", // [LATIN CAPITAL LETTER A WITH RING BELOW]
"1EA0", // [LATIN CAPITAL LETTER A WITH DOT BELOW]
"1EA2", // [LATIN CAPITAL LETTER A WITH HOOK ABOVE]
"1EA4", // [LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND ACUTE]
"1EA6", // [LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND GRAVE]
"1EA8", // [LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE]
"1EAA", // [LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND TILDE]
"1EAC", // [LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND DOT BELOW]
"1EAE", // [LATIN CAPITAL LETTER A WITH BREVE AND ACUTE]
"1EB0", // [LATIN CAPITAL LETTER A WITH BREVE AND GRAVE]
"1EB2", // [LATIN CAPITAL LETTER A WITH BREVE AND HOOK ABOVE]
"1EB4", // [LATIN CAPITAL LETTER A WITH BREVE AND TILDE]
"1EB6", // [LATIN CAPITAL LETTER A WITH BREVE AND DOT BELOW]
"24B6", // [CIRCLED LATIN CAPITAL LETTER A]
"FF21": // [FULLWIDTH LATIN CAPITAL LETTER A]
buffer.WriteString("A")
case "E0", // [LATIN SMALL LETTER A WITH GRAVE]
"E1", // [LATIN SMALL LETTER A WITH ACUTE]
"E2", // [LATIN SMALL LETTER A WITH CIRCUMFLEX]
"E3", // [LATIN SMALL LETTER A WITH TILDE]
"E4", // [LATIN SMALL LETTER A WITH DIAERESIS]
"E5", // [LATIN SMALL LETTER A WITH RING ABOVE]
"101", // [LATIN SMALL LETTER A WITH MACRON]
"103", // [LATIN SMALL LETTER A WITH BREVE]
"105", // [LATIN SMALL LETTER A WITH OGONEK]
"1CE", // [LATIN SMALL LETTER A WITH CARON]
"1DF", // [LATIN SMALL LETTER A WITH DIAERESIS AND MACRON]
"1E1", // [LATIN SMALL LETTER A WITH DOT ABOVE AND MACRON]
"1FB", // [LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE]
"201", // [LATIN SMALL LETTER A WITH DOUBLE GRAVE]
"203", // [LATIN SMALL LETTER A WITH INVERTED BREVE]
"227", // [LATIN SMALL LETTER A WITH DOT ABOVE]
"250", // [LATIN SMALL LETTER TURNED A]
"259", // [LATIN SMALL LETTER SCHWA]
"25A", // [LATIN SMALL LETTER SCHWA WITH HOOK]
"1D8F", // [LATIN SMALL LETTER A WITH RETROFLEX HOOK]
"1D95", // [LATIN SMALL LETTER SCHWA WITH RETROFLEX HOOK]
"1E01", // [LATIN SMALL LETTER A WITH RING BELOW]
"1E9A", // [LATIN SMALL LETTER A WITH RIGHT HALF RING]
"1EA1", // [LATIN SMALL LETTER A WITH DOT BELOW]
"1EA3", // [LATIN SMALL LETTER A WITH HOOK ABOVE]
"1EA5", // [LATIN SMALL LETTER A WITH CIRCUMFLEX AND ACUTE]
"1EA7", // [LATIN SMALL LETTER A WITH CIRCUMFLEX AND GRAVE]
"1EA9", // [LATIN SMALL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE]
"1EAB", // [LATIN SMALL LETTER A WITH CIRCUMFLEX AND TILDE]
"1EAD", // [LATIN SMALL LETTER A WITH CIRCUMFLEX AND DOT BELOW]
"1EAF", // [LATIN SMALL LETTER A WITH BREVE AND ACUTE]
"1EB1", // [LATIN SMALL LETTER A WITH BREVE AND GRAVE]
"1EB3", // [LATIN SMALL LETTER A WITH BREVE AND HOOK ABOVE]
"1EB5", // [LATIN SMALL LETTER A WITH BREVE AND TILDE]
"1EB7", // [LATIN SMALL LETTER A WITH BREVE AND DOT BELOW]
"2090", // [LATIN SUBSCRIPT SMALL LETTER A]
"2094", // [LATIN SUBSCRIPT SMALL LETTER SCHWA]
"24D0", // [CIRCLED LATIN SMALL LETTER A]
"2C65", // [LATIN SMALL LETTER A WITH STROKE]
"2C6F", // [LATIN CAPITAL LETTER TURNED A]
"FF41": // [FULLWIDTH LATIN SMALL LETTER A]
buffer.WriteString("a")
case "A732": // [LATIN CAPITAL LETTER AA]
buffer.WriteString("A")
buffer.WriteString("A")
case "C6", // [LATIN CAPITAL LETTER AE]
"1E2", // [LATIN CAPITAL LETTER AE WITH MACRON]
"1FC", // [LATIN CAPITAL LETTER AE WITH ACUTE]
"1D01": // [LATIN LETTER SMALL CAPITAL AE]
buffer.WriteString("A")
buffer.WriteString("E")
case "A734": // [LATIN CAPITAL LETTER AO]
buffer.WriteString("A")
buffer.WriteString("O")
case "A736": // [LATIN CAPITAL LETTER AU]
buffer.WriteString("A")
buffer.WriteString("U")
case "A738", // [LATIN CAPITAL LETTER AV]
"A73A": // [LATIN CAPITAL LETTER AV WITH HORIZONTAL BAR]
buffer.WriteString("A")
buffer.WriteString("V")
case "A73C": // [LATIN CAPITAL LETTER AY]
buffer.WriteString("A")
buffer.WriteString("Y")
case "249C": // [PARENTHESIZED LATIN SMALL LETTER A]
buffer.WriteString("(")
buffer.WriteString("a")
buffer.WriteString(")")
case "A733": // [LATIN SMALL LETTER AA]
buffer.WriteString("a")
buffer.WriteString("a")
case "E6", // [LATIN SMALL LETTER AE]
"1E3", // [LATIN SMALL LETTER AE WITH MACRON]
"1FD", // [LATIN SMALL LETTER AE WITH ACUTE]
"1D02": // [LATIN SMALL LETTER TURNED AE]
buffer.WriteString("a")
buffer.WriteString("e")
case "A735": // [LATIN SMALL LETTER AO]
buffer.WriteString("a")
buffer.WriteString("o")
case "A737": // [LATIN SMALL LETTER AU]
buffer.WriteString("a")
buffer.WriteString("u")
case "A739", // [LATIN SMALL LETTER AV]
"A73B": // [LATIN SMALL LETTER AV WITH HORIZONTAL BAR]
buffer.WriteString("a")
buffer.WriteString("v")
case "A73D": // [LATIN SMALL LETTER AY]
buffer.WriteString("a")
buffer.WriteString("y")
case "181", // [LATIN CAPITAL LETTER B WITH HOOK]
"182", // [LATIN CAPITAL LETTER B WITH TOPBAR]
"243", // [LATIN CAPITAL LETTER B WITH STROKE]
"299", // [LATIN LETTER SMALL CAPITAL B]
"1D03", // [LATIN LETTER SMALL CAPITAL BARRED B]
"1E02", // [LATIN CAPITAL LETTER B WITH DOT ABOVE]
"1E04", // [LATIN CAPITAL LETTER B WITH DOT BELOW]
"1E06", // [LATIN CAPITAL LETTER B WITH LINE BELOW]
"24B7", // [CIRCLED LATIN CAPITAL LETTER B]
"FF22": // [FULLWIDTH LATIN CAPITAL LETTER B]
buffer.WriteString("B")
case "180", // [LATIN SMALL LETTER B WITH STROKE]
"183", // [LATIN SMALL LETTER B WITH TOPBAR]
"253", // [LATIN SMALL LETTER B WITH HOOK]
"1D6C", // [LATIN SMALL LETTER B WITH MIDDLE TILDE]
"1D80", // [LATIN SMALL LETTER B WITH PALATAL HOOK]
"1E03", // [LATIN SMALL LETTER B WITH DOT ABOVE]
"1E05", // [LATIN SMALL LETTER B WITH DOT BELOW]
"1E07", // [LATIN SMALL LETTER B WITH LINE BELOW]
"24D1", // [CIRCLED LATIN SMALL LETTER B]
"FF42": // [FULLWIDTH LATIN SMALL LETTER B]
buffer.WriteString("b")
case "249D": // [PARENTHESIZED LATIN SMALL LETTER B]
buffer.WriteString("(")
buffer.WriteString("b")
buffer.WriteString(")")
case "C7", // [LATIN CAPITAL LETTER C WITH CEDILLA]
"106", // [LATIN CAPITAL LETTER C WITH ACUTE]
"108", // [LATIN CAPITAL LETTER C WITH CIRCUMFLEX]
"10A", // [LATIN CAPITAL LETTER C WITH DOT ABOVE]
"10C", // [LATIN CAPITAL LETTER C WITH CARON]
"187", // [LATIN CAPITAL LETTER C WITH HOOK]
"23B", // [LATIN CAPITAL LETTER C WITH STROKE]
"297", // [LATIN LETTER STRETCHED C]
"1D04", // [LATIN LETTER SMALL CAPITAL C]
"1E08", // [LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE]
"24B8", // [CIRCLED LATIN CAPITAL LETTER C]
"FF23": // [FULLWIDTH LATIN CAPITAL LETTER C]
buffer.WriteString("C")
case "E7", // [LATIN SMALL LETTER C WITH CEDILLA]
"107", // [LATIN SMALL LETTER C WITH ACUTE]
"109", // [LATIN SMALL LETTER C WITH CIRCUMFLEX]
"10B", // [LATIN SMALL LETTER C WITH DOT ABOVE]
"10D", // [LATIN SMALL LETTER C WITH CARON]
"188", // [LATIN SMALL LETTER C WITH HOOK]
"23C", // [LATIN SMALL LETTER C WITH STROKE]
"255", // [LATIN SMALL LETTER C WITH CURL]
"1E09", // [LATIN SMALL LETTER C WITH CEDILLA AND ACUTE]
"2184", // [LATIN SMALL LETTER REVERSED C]
"24D2", // [CIRCLED LATIN SMALL LETTER C]
"A73E", // [LATIN CAPITAL LETTER REVERSED C WITH DOT]
"A73F", // [LATIN SMALL LETTER REVERSED C WITH DOT]
"FF43": // [FULLWIDTH LATIN SMALL LETTER C]
buffer.WriteString("c")
case "249E": // [PARENTHESIZED LATIN SMALL LETTER C]
buffer.WriteString("(")
buffer.WriteString("c")
buffer.WriteString(")")
case "D0", // [LATIN CAPITAL LETTER ETH]
"10E", // [LATIN CAPITAL LETTER D WITH CARON]
"110", // [LATIN CAPITAL LETTER D WITH STROKE]
"189", // [LATIN CAPITAL LETTER AFRICAN D]
"18A", // [LATIN CAPITAL LETTER D WITH HOOK]
"18B", // [LATIN CAPITAL LETTER D WITH TOPBAR]
"1D05", // [LATIN LETTER SMALL CAPITAL D]
"1D06", // [LATIN LETTER SMALL CAPITAL ETH]
"1E0A", // [LATIN CAPITAL LETTER D WITH DOT ABOVE]
"1E0C", // [LATIN CAPITAL LETTER D WITH DOT BELOW]
"1E0E", // [LATIN CAPITAL LETTER D WITH LINE BELOW]
"1E10", // [LATIN CAPITAL LETTER D WITH CEDILLA]
"1E12", // [LATIN CAPITAL LETTER D WITH CIRCUMFLEX BELOW]
"24B9", // [CIRCLED LATIN CAPITAL LETTER D]
"A779", // [LATIN CAPITAL LETTER INSULAR D]
"FF24": // [FULLWIDTH LATIN CAPITAL LETTER D]
buffer.WriteString("D")
case "F0", // [LATIN SMALL LETTER ETH]
"10F", // [LATIN SMALL LETTER D WITH CARON]
"111", // [LATIN SMALL LETTER D WITH STROKE]
"18C", // [LATIN SMALL LETTER D WITH TOPBAR]
"221", // [LATIN SMALL LETTER D WITH CURL]
"256", // [LATIN SMALL LETTER D WITH TAIL]
"257", // [LATIN SMALL LETTER D WITH HOOK]
"1D6D", // [LATIN SMALL LETTER D WITH MIDDLE TILDE]
"1D81", // [LATIN SMALL LETTER D WITH PALATAL HOOK]
"1D91", // [LATIN SMALL LETTER D WITH HOOK AND TAIL]
"1E0B", // [LATIN SMALL LETTER D WITH DOT ABOVE]
"1E0D", // [LATIN SMALL LETTER D WITH DOT BELOW]
"1E0F", // [LATIN SMALL LETTER D WITH LINE BELOW]
"1E11", // [LATIN SMALL LETTER D WITH CEDILLA]
"1E13", // [LATIN SMALL LETTER D WITH CIRCUMFLEX BELOW]
"24D3", // [CIRCLED LATIN SMALL LETTER D]
"A77A", // [LATIN SMALL LETTER INSULAR D]
"FF44": // [FULLWIDTH LATIN SMALL LETTER D]
buffer.WriteString("d")
case "1C4", // [LATIN CAPITAL LETTER DZ WITH CARON]
"1F1": // [LATIN CAPITAL LETTER DZ]
buffer.WriteString("D")
buffer.WriteString("Z")
case "1C5", // [LATIN CAPITAL LETTER D WITH SMALL LETTER Z WITH CARON]
"1F2": // [LATIN CAPITAL LETTER D WITH SMALL LETTER Z]
buffer.WriteString("D")
buffer.WriteString("z")
case "249F": // [PARENTHESIZED LATIN SMALL LETTER D]
buffer.WriteString("(")
buffer.WriteString("d")
buffer.WriteString(")")
case "238": // [LATIN SMALL LETTER DB DIGRAPH]
buffer.WriteString("d")
buffer.WriteString("b")
case "1C6", // [LATIN SMALL LETTER DZ WITH CARON]
"1F3", // [LATIN SMALL LETTER DZ]
"2A3", // [LATIN SMALL LETTER DZ DIGRAPH]
"2A5": // [LATIN SMALL LETTER DZ DIGRAPH WITH CURL]
buffer.WriteString("d")
buffer.WriteString("z")
case "C8", // [LATIN CAPITAL LETTER E WITH GRAVE]
"C9", // [LATIN CAPITAL LETTER E WITH ACUTE]
"CA", // [LATIN CAPITAL LETTER E WITH CIRCUMFLEX]
"CB", // [LATIN CAPITAL LETTER E WITH DIAERESIS]
"112", // [LATIN CAPITAL LETTER E WITH MACRON]
"114", // [LATIN CAPITAL LETTER E WITH BREVE]
"116", // [LATIN CAPITAL LETTER E WITH DOT ABOVE]
"118", // [LATIN CAPITAL LETTER E WITH OGONEK]
"11A", // [LATIN CAPITAL LETTER E WITH CARON]
"18E", // [LATIN CAPITAL LETTER REVERSED E]
"190", // [LATIN CAPITAL LETTER OPEN E]
"204", // [LATIN CAPITAL LETTER E WITH DOUBLE GRAVE]
"206", // [LATIN CAPITAL LETTER E WITH INVERTED BREVE]
"228", // [LATIN CAPITAL LETTER E WITH CEDILLA]
"246", // [LATIN CAPITAL LETTER E WITH STROKE]
"1D07", // [LATIN LETTER SMALL CAPITAL E]
"1E14", // [LATIN CAPITAL LETTER E WITH MACRON AND GRAVE]
"1E16", // [LATIN CAPITAL LETTER E WITH MACRON AND ACUTE]
"1E18", // [LATIN CAPITAL LETTER E WITH CIRCUMFLEX BELOW]
"1E1A", // [LATIN CAPITAL LETTER E WITH TILDE BELOW]
"1E1C", // [LATIN CAPITAL LETTER E WITH CEDILLA AND BREVE]
"1EB8", // [LATIN CAPITAL LETTER E WITH DOT BELOW]
"1EBA", // [LATIN CAPITAL LETTER E WITH HOOK ABOVE]
"1EBC", // [LATIN CAPITAL LETTER E WITH TILDE]
"1EBE", // [LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND ACUTE]
"1EC0", // [LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND GRAVE]
"1EC2", // [LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE]
"1EC4", // [LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND TILDE]
"1EC6", // [LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND DOT BELOW]
"24BA", // [CIRCLED LATIN CAPITAL LETTER E]
"2C7B", // [LATIN LETTER SMALL CAPITAL TURNED E]
"FF25": // [FULLWIDTH LATIN CAPITAL LETTER E]
buffer.WriteString("E")
case "E8", // [LATIN SMALL LETTER E WITH GRAVE]
"E9", // [LATIN SMALL LETTER E WITH ACUTE]
"EA", // [LATIN SMALL LETTER E WITH CIRCUMFLEX]
"EB", // [LATIN SMALL LETTER E WITH DIAERESIS]
"113", // [LATIN SMALL LETTER E WITH MACRON]
"115", // [LATIN SMALL LETTER E WITH BREVE]
"117", // [LATIN SMALL LETTER E WITH DOT ABOVE]
"119", // [LATIN SMALL LETTER E WITH OGONEK]
"11B", // [LATIN SMALL LETTER E WITH CARON]
"1DD", // [LATIN SMALL LETTER TURNED E]
"205", // [LATIN SMALL LETTER E WITH DOUBLE GRAVE]
"207", // [LATIN SMALL LETTER E WITH INVERTED BREVE]
"229", // [LATIN SMALL LETTER E WITH CEDILLA]
"247", // [LATIN SMALL LETTER E WITH STROKE]
"258", // [LATIN SMALL LETTER REVERSED E]
"25B", // [LATIN SMALL LETTER OPEN E]
"25C", // [LATIN SMALL LETTER REVERSED OPEN E]
"25D", // [LATIN SMALL LETTER REVERSED OPEN E WITH HOOK]
"25E", // [LATIN SMALL LETTER CLOSED REVERSED OPEN E]
"29A", // [LATIN SMALL LETTER CLOSED OPEN E]
"1D08", // [LATIN SMALL LETTER TURNED OPEN E]
"1D92", // [LATIN SMALL LETTER E WITH RETROFLEX HOOK]
"1D93", // [LATIN SMALL LETTER OPEN E WITH RETROFLEX HOOK]
"1D94", // [LATIN SMALL LETTER REVERSED OPEN E WITH RETROFLEX HOOK]
"1E15", // [LATIN SMALL LETTER E WITH MACRON AND GRAVE]
"1E17", // [LATIN SMALL LETTER E WITH MACRON AND ACUTE]
"1E19", // [LATIN SMALL LETTER E WITH CIRCUMFLEX BELOW]
"1E1B", // [LATIN SMALL LETTER E WITH TILDE BELOW]
"1E1D", // [LATIN SMALL LETTER E WITH CEDILLA AND BREVE]
"1EB9", // [LATIN SMALL LETTER E WITH DOT BELOW]
"1EBB", // [LATIN SMALL LETTER E WITH HOOK ABOVE]
"1EBD", // [LATIN SMALL LETTER E WITH TILDE]
"1EBF", // [LATIN SMALL LETTER E WITH CIRCUMFLEX AND ACUTE]
"1EC1", // [LATIN SMALL LETTER E WITH CIRCUMFLEX AND GRAVE]
"1EC3", // [LATIN SMALL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE]
"1EC5", // [LATIN SMALL LETTER E WITH CIRCUMFLEX AND TILDE]
"1EC7", // [LATIN SMALL LETTER E WITH CIRCUMFLEX AND DOT BELOW]
"2091", // [LATIN SUBSCRIPT SMALL LETTER E]
"24D4", // [CIRCLED LATIN SMALL LETTER E]
"2C78", // [LATIN SMALL LETTER E WITH NOTCH]
"FF45": // [FULLWIDTH LATIN SMALL LETTER E]
buffer.WriteString("e")
case "24A0": // [PARENTHESIZED LATIN SMALL LETTER E]
buffer.WriteString("(")
buffer.WriteString("e")
buffer.WriteString(")")
case "191", // [LATIN CAPITAL LETTER F WITH HOOK]
"1E1E", // [LATIN CAPITAL LETTER F WITH DOT ABOVE]
"24BB", // [CIRCLED LATIN CAPITAL LETTER F]
"A730", // [LATIN LETTER SMALL CAPITAL F]
"A77B", // [LATIN CAPITAL LETTER INSULAR F]
"A7FB", // [LATIN EPIGRAPHIC LETTER REVERSED F]
"FF26": // [FULLWIDTH LATIN CAPITAL LETTER F]
buffer.WriteString("F")
case "192", // [LATIN SMALL LETTER F WITH HOOK]
"1D6E", // [LATIN SMALL LETTER F WITH MIDDLE TILDE]
"1D82", // [LATIN SMALL LETTER F WITH PALATAL HOOK]
"1E1F", // [LATIN SMALL LETTER F WITH DOT ABOVE]
"1E9B", // [LATIN SMALL LETTER LONG S WITH DOT ABOVE]
"24D5", // [CIRCLED LATIN SMALL LETTER F]
"A77C", // [LATIN SMALL LETTER INSULAR F]
"FF46": // [FULLWIDTH LATIN SMALL LETTER F]
buffer.WriteString("f")
case "24A1": // [PARENTHESIZED LATIN SMALL LETTER F]
buffer.WriteString("(")
buffer.WriteString("f")
buffer.WriteString(")")
case "FB00": // [LATIN SMALL LIGATURE FF]
buffer.WriteString("f")
buffer.WriteString("f")
case "FB03": // [LATIN SMALL LIGATURE FFI]
buffer.WriteString("f")
buffer.WriteString("f")
buffer.WriteString("i")
case "FB04": // [LATIN SMALL LIGATURE FFL]
buffer.WriteString("f")
buffer.WriteString("f")
buffer.WriteString("l")
case "FB01": // [LATIN SMALL LIGATURE FI]
buffer.WriteString("f")
buffer.WriteString("i")
case "FB02": // [LATIN SMALL LIGATURE FL]
buffer.WriteString("f")
buffer.WriteString("l")
case "11C", // [LATIN CAPITAL LETTER G WITH CIRCUMFLEX]
"11E", // [LATIN CAPITAL LETTER G WITH BREVE]
"120", // [LATIN CAPITAL LETTER G WITH DOT ABOVE]
"122", // [LATIN CAPITAL LETTER G WITH CEDILLA]
"193", // [LATIN CAPITAL LETTER G WITH HOOK]
"1E4", // [LATIN CAPITAL LETTER G WITH STROKE]
"1E5", // [LATIN SMALL LETTER G WITH STROKE]
"1E6", // [LATIN CAPITAL LETTER G WITH CARON]
"1E7", // [LATIN SMALL LETTER G WITH CARON]
"1F4", // [LATIN CAPITAL LETTER G WITH ACUTE]
"262", // [LATIN LETTER SMALL CAPITAL G]
"29B", // [LATIN LETTER SMALL CAPITAL G WITH HOOK]
"1E20", // [LATIN CAPITAL LETTER G WITH MACRON]
"24BC", // [CIRCLED LATIN CAPITAL LETTER G]
"A77D", // [LATIN CAPITAL LETTER INSULAR G]
"A77E", // [LATIN CAPITAL LETTER TURNED INSULAR G]
"FF27": // [FULLWIDTH LATIN CAPITAL LETTER G]
buffer.WriteString("G")
case "11D", // [LATIN SMALL LETTER G WITH CIRCUMFLEX]
"11F", // [LATIN SMALL LETTER G WITH BREVE]
"121", // [LATIN SMALL LETTER G WITH DOT ABOVE]
"123", // [LATIN SMALL LETTER G WITH CEDILLA]
"1F5", // [LATIN SMALL LETTER G WITH ACUTE]
"260", // [LATIN SMALL LETTER G WITH HOOK]
"261", // [LATIN SMALL LETTER SCRIPT G]
"1D77", // [LATIN SMALL LETTER TURNED G]
"1D79", // [LATIN SMALL LETTER INSULAR G]
"1D83", // [LATIN SMALL LETTER G WITH PALATAL HOOK]
"1E21", // [LATIN SMALL LETTER G WITH MACRON]
"24D6", // [CIRCLED LATIN SMALL LETTER G]
"A77F", // [LATIN SMALL LETTER TURNED INSULAR G]
"FF47": // [FULLWIDTH LATIN SMALL LETTER G]
buffer.WriteString("g")
case "24A2": // [PARENTHESIZED LATIN SMALL LETTER G]
buffer.WriteString("(")
buffer.WriteString("g")
buffer.WriteString(")")
case "124", // [LATIN CAPITAL LETTER H WITH CIRCUMFLEX]
"126", // [LATIN CAPITAL LETTER H WITH STROKE]
"21E", // [LATIN CAPITAL LETTER H WITH CARON]
"29C", // [LATIN LETTER SMALL CAPITAL H]
"1E22", // [LATIN CAPITAL LETTER H WITH DOT ABOVE]
"1E24", // [LATIN CAPITAL LETTER H WITH DOT BELOW]
"1E26", // [LATIN CAPITAL LETTER H WITH DIAERESIS]
"1E28", // [LATIN CAPITAL LETTER H WITH CEDILLA]
"1E2A", // [LATIN CAPITAL LETTER H WITH BREVE BELOW]
"24BD", // [CIRCLED LATIN CAPITAL LETTER H]
"2C67", // [LATIN CAPITAL LETTER H WITH DESCENDER]
"2C75", // [LATIN CAPITAL LETTER HALF H]
"FF28": // [FULLWIDTH LATIN CAPITAL LETTER H]
buffer.WriteString("H")
case "125", // [LATIN SMALL LETTER H WITH CIRCUMFLEX]
"127", // [LATIN SMALL LETTER H WITH STROKE]
"21F", // [LATIN SMALL LETTER H WITH CARON]
"265", // [LATIN SMALL LETTER TURNED H]
"266", // [LATIN SMALL LETTER H WITH HOOK]
"2AE", // [LATIN SMALL LETTER TURNED H WITH FISHHOOK]
"2AF", // [LATIN SMALL LETTER TURNED H WITH FISHHOOK AND TAIL]
"1E23", // [LATIN SMALL LETTER H WITH DOT ABOVE]
"1E25", // [LATIN SMALL LETTER H WITH DOT BELOW]
"1E27", // [LATIN SMALL LETTER H WITH DIAERESIS]
"1E29", // [LATIN SMALL LETTER H WITH CEDILLA]
"1E2B", // [LATIN SMALL LETTER H WITH BREVE BELOW]
"1E96", // [LATIN SMALL LETTER H WITH LINE BELOW]
"24D7", // [CIRCLED LATIN SMALL LETTER H]
"2C68", // [LATIN SMALL LETTER H WITH DESCENDER]
"2C76", // [LATIN SMALL LETTER HALF H]
"FF48": // [FULLWIDTH LATIN SMALL LETTER H]
buffer.WriteString("h")
case "1F6": // [LATIN CAPITAL LETTER HWAIR]
buffer.WriteString("H")
buffer.WriteString("V")
case "24A3": // [PARENTHESIZED LATIN SMALL LETTER H]
buffer.WriteString("(")
buffer.WriteString("h")
buffer.WriteString(")")
case "195": // [LATIN SMALL LETTER HV]
buffer.WriteString("h")
buffer.WriteString("v")
case "CC", // [LATIN CAPITAL LETTER I WITH GRAVE]
"CD", // [LATIN CAPITAL LETTER I WITH ACUTE]
"CE", // [LATIN CAPITAL LETTER I WITH CIRCUMFLEX]
"CF", // [LATIN CAPITAL LETTER I WITH DIAERESIS]
"128", // [LATIN CAPITAL LETTER I WITH TILDE]
"12A", // [LATIN CAPITAL LETTER I WITH MACRON]
"12C", // [LATIN CAPITAL LETTER I WITH BREVE]
"12E", // [LATIN CAPITAL LETTER I WITH OGONEK]
"130", // [LATIN CAPITAL LETTER I WITH DOT ABOVE]
"196", // [LATIN CAPITAL LETTER IOTA]
"197", // [LATIN CAPITAL LETTER I WITH STROKE]
"1CF", // [LATIN CAPITAL LETTER I WITH CARON]
"208", // [LATIN CAPITAL LETTER I WITH DOUBLE GRAVE]
"20A", // [LATIN CAPITAL LETTER I WITH INVERTED BREVE]
"26A", // [LATIN LETTER SMALL CAPITAL I]
"1D7B", // [LATIN SMALL CAPITAL LETTER I WITH STROKE]
"1E2C", // [LATIN CAPITAL LETTER I WITH TILDE BELOW]
"1E2E", // [LATIN CAPITAL LETTER I WITH DIAERESIS AND ACUTE]
"1EC8", // [LATIN CAPITAL LETTER I WITH HOOK ABOVE]
"1ECA", // [LATIN CAPITAL LETTER I WITH DOT BELOW]
"24BE", // [CIRCLED LATIN CAPITAL LETTER I]
"A7FE", // [LATIN EPIGRAPHIC LETTER I LONGA]
"FF29": // [FULLWIDTH LATIN CAPITAL LETTER I]
buffer.WriteString("I")
case "EC", // [LATIN SMALL LETTER I WITH GRAVE]
"ED", // [LATIN SMALL LETTER I WITH ACUTE]
"EE", // [LATIN SMALL LETTER I WITH CIRCUMFLEX]
"EF", // [LATIN SMALL LETTER I WITH DIAERESIS]
"129", // [LATIN SMALL LETTER I WITH TILDE]
"12B", // [LATIN SMALL LETTER I WITH MACRON]
"12D", // [LATIN SMALL LETTER I WITH BREVE]
"12F", // [LATIN SMALL LETTER I WITH OGONEK]
"131", // [LATIN SMALL LETTER DOTLESS I]
"1D0", // [LATIN SMALL LETTER I WITH CARON]
"209", // [LATIN SMALL LETTER I WITH DOUBLE GRAVE]
"20B", // [LATIN SMALL LETTER I WITH INVERTED BREVE]
"268", // [LATIN SMALL LETTER I WITH STROKE]
"1D09", // [LATIN SMALL LETTER TURNED I]
"1D62", // [LATIN SUBSCRIPT SMALL LETTER I]
"1D7C", // [LATIN SMALL LETTER IOTA WITH STROKE]
"1D96", // [LATIN SMALL LETTER I WITH RETROFLEX HOOK]
"1E2D", // [LATIN SMALL LETTER I WITH TILDE BELOW]
"1E2F", // [LATIN SMALL LETTER I WITH DIAERESIS AND ACUTE]
"1EC9", // [LATIN SMALL LETTER I WITH HOOK ABOVE]
"1ECB", // [LATIN SMALL LETTER I WITH DOT BELOW]
"2071", // [SUPERSCRIPT LATIN SMALL LETTER I]
"24D8", // [CIRCLED LATIN SMALL LETTER I]
"FF49": // [FULLWIDTH LATIN SMALL LETTER I]
buffer.WriteString("i")
case "132": // [LATIN CAPITAL LIGATURE IJ]
buffer.WriteString("I")
buffer.WriteString("J")
case "24A4": // [PARENTHESIZED LATIN SMALL LETTER I]
buffer.WriteString("(")
buffer.WriteString("i")
buffer.WriteString(")")
case "133": // [LATIN SMALL LIGATURE IJ]
buffer.WriteString("i")
buffer.WriteString("j")
case "134", // [LATIN CAPITAL LETTER J WITH CIRCUMFLEX]
"248", // [LATIN CAPITAL LETTER J WITH STROKE]
"1D0A", // [LATIN LETTER SMALL CAPITAL J]
"24BF", // [CIRCLED LATIN CAPITAL LETTER J]
"FF2A": // [FULLWIDTH LATIN CAPITAL LETTER J]
buffer.WriteString("J")
case "135", // [LATIN SMALL LETTER J WITH CIRCUMFLEX]
"1F0", // [LATIN SMALL LETTER J WITH CARON]
"237", // [LATIN SMALL LETTER DOTLESS J]
"249", // [LATIN SMALL LETTER J WITH STROKE]
"25F", // [LATIN SMALL LETTER DOTLESS J WITH STROKE]
"284", // [LATIN SMALL LETTER DOTLESS J WITH STROKE AND HOOK]
"29D", // [LATIN SMALL LETTER J WITH CROSSED-TAIL]
"24D9", // [CIRCLED LATIN SMALL LETTER J]
"2C7C", // [LATIN SUBSCRIPT SMALL LETTER J]
"FF4A": // [FULLWIDTH LATIN SMALL LETTER J]
buffer.WriteString("j")
case "24A5": // [PARENTHESIZED LATIN SMALL LETTER J]
buffer.WriteString("(")
buffer.WriteString("j")
buffer.WriteString(")")
case "136", // [LATIN CAPITAL LETTER K WITH CEDILLA]
"198", // [LATIN CAPITAL LETTER K WITH HOOK]
"1E8", // [LATIN CAPITAL LETTER K WITH CARON]
"1D0B", // [LATIN LETTER SMALL CAPITAL K]
"1E30", // [LATIN CAPITAL LETTER K WITH ACUTE]
"1E32", // [LATIN CAPITAL LETTER K WITH DOT BELOW]
"1E34", // [LATIN CAPITAL LETTER K WITH LINE BELOW]
"24C0", // [CIRCLED LATIN CAPITAL LETTER K]
"2C69", // [LATIN CAPITAL LETTER K WITH DESCENDER]
"A740", // [LATIN CAPITAL LETTER K WITH STROKE]
"A742", // [LATIN CAPITAL LETTER K WITH DIAGONAL STROKE]
"A744", // [LATIN CAPITAL LETTER K WITH STROKE AND DIAGONAL STROKE]
"FF2B": // [FULLWIDTH LATIN CAPITAL LETTER K]
buffer.WriteString("K")
case "137", // [LATIN SMALL LETTER K WITH CEDILLA]
"199", // [LATIN SMALL LETTER K WITH HOOK]
"1E9", // [LATIN SMALL LETTER K WITH CARON]
"29E", // [LATIN SMALL LETTER TURNED K]
"1D84", // [LATIN SMALL LETTER K WITH PALATAL HOOK]
"1E31", // [LATIN SMALL LETTER K WITH ACUTE]
"1E33", // [LATIN SMALL LETTER K WITH DOT BELOW]
"1E35", // [LATIN SMALL LETTER K WITH LINE BELOW]
"24DA", // [CIRCLED LATIN SMALL LETTER K]
"2C6A", // [LATIN SMALL LETTER K WITH DESCENDER]
"A741", // [LATIN SMALL LETTER K WITH STROKE]
"A743", // [LATIN SMALL LETTER K WITH DIAGONAL STROKE]
"A745", // [LATIN SMALL LETTER K WITH STROKE AND DIAGONAL STROKE]
"FF4B": // [FULLWIDTH LATIN SMALL LETTER K]
buffer.WriteString("k")
case "24A6": // [PARENTHESIZED LATIN SMALL LETTER K]
buffer.WriteString("(")
buffer.WriteString("k")
buffer.WriteString(")")
case "139", // [LATIN CAPITAL LETTER L WITH ACUTE]
"13B", // [LATIN CAPITAL LETTER L WITH CEDILLA]
"13D", // [LATIN CAPITAL LETTER L WITH CARON]
"13F", // [LATIN CAPITAL LETTER L WITH MIDDLE DOT]
"141", // [LATIN CAPITAL LETTER L WITH STROKE]
"23D", // [LATIN CAPITAL LETTER L WITH BAR]
"29F", // [LATIN LETTER SMALL CAPITAL L]
"1D0C", // [LATIN LETTER SMALL CAPITAL L WITH STROKE]
"1E36", // [LATIN CAPITAL LETTER L WITH DOT BELOW]
"1E38", // [LATIN CAPITAL LETTER L WITH DOT BELOW AND MACRON]
"1E3A", // [LATIN CAPITAL LETTER L WITH LINE BELOW]
"1E3C", // [LATIN CAPITAL LETTER L WITH CIRCUMFLEX BELOW]
"24C1", // [CIRCLED LATIN CAPITAL LETTER L]
"2C60", // [LATIN CAPITAL LETTER L WITH DOUBLE BAR]
"2C62", // [LATIN CAPITAL LETTER L WITH MIDDLE TILDE]
"A746", // [LATIN CAPITAL LETTER BROKEN L]
"A748", // [LATIN CAPITAL LETTER L WITH HIGH STROKE]
"A780", // [LATIN CAPITAL LETTER TURNED L]
"FF2C": // [FULLWIDTH LATIN CAPITAL LETTER L]
buffer.WriteString("L")
case "13A", // [LATIN SMALL LETTER L WITH ACUTE]
"13C", // [LATIN SMALL LETTER L WITH CEDILLA]
"13E", // [LATIN SMALL LETTER L WITH CARON]
"140", // [LATIN SMALL LETTER L WITH MIDDLE DOT]
"142", // [LATIN SMALL LETTER L WITH STROKE]
"19A", // [LATIN SMALL LETTER L WITH BAR]
"234", // [LATIN SMALL LETTER L WITH CURL]
"26B", // [LATIN SMALL LETTER L WITH MIDDLE TILDE]
"26C", // [LATIN SMALL LETTER L WITH BELT]
"26D", // [LATIN SMALL LETTER L WITH RETROFLEX HOOK]
"1D85", // [LATIN SMALL LETTER L WITH PALATAL HOOK]
"1E37", // [LATIN SMALL LETTER L WITH DOT BELOW]
"1E39", // [LATIN SMALL LETTER L WITH DOT BELOW AND MACRON]
"1E3B", // [LATIN SMALL LETTER L WITH LINE BELOW]
"1E3D", // [LATIN SMALL LETTER L WITH CIRCUMFLEX BELOW]
"24DB", // [CIRCLED LATIN SMALL LETTER L]
"2C61", // [LATIN SMALL LETTER L WITH DOUBLE BAR]
"A747", // [LATIN SMALL LETTER BROKEN L]
"A749", // [LATIN SMALL LETTER L WITH HIGH STROKE]
"A781", // [LATIN SMALL LETTER TURNED L]
"FF4C": // [FULLWIDTH LATIN SMALL LETTER L]
buffer.WriteString("l")
case "1C7": // [LATIN CAPITAL LETTER LJ]
buffer.WriteString("L")
buffer.WriteString("J")
case "1EFA": // [LATIN CAPITAL LETTER MIDDLE-WELSH LL]
buffer.WriteString("L")
buffer.WriteString("L")
case "1C8": // [LATIN CAPITAL LETTER L WITH SMALL LETTER J]
buffer.WriteString("L")
buffer.WriteString("j")
case "24A7": // [PARENTHESIZED LATIN SMALL LETTER L]
buffer.WriteString("(")
buffer.WriteString("l")
buffer.WriteString(")")
case "1C9": // [LATIN SMALL LETTER LJ]
buffer.WriteString("l")
buffer.WriteString("j")
case "1EFB": // [LATIN SMALL LETTER MIDDLE-WELSH LL]
buffer.WriteString("l")
buffer.WriteString("l")
case "2AA": // [LATIN SMALL LETTER LS DIGRAPH]
buffer.WriteString("l")
buffer.WriteString("s")
case "2AB": // [LATIN SMALL LETTER LZ DIGRAPH]
buffer.WriteString("l")
buffer.WriteString("z")
case "19C", // [LATIN CAPITAL LETTER TURNED M]
"1D0D", // [LATIN LETTER SMALL CAPITAL M]
"1E3E", // [LATIN CAPITAL LETTER M WITH ACUTE]
"1E40", // [LATIN CAPITAL LETTER M WITH DOT ABOVE]
"1E42", // [LATIN CAPITAL LETTER M WITH DOT BELOW]
"24C2", // [CIRCLED LATIN CAPITAL LETTER M]
"2C6E", // [LATIN CAPITAL LETTER M WITH HOOK]
"A7FD", // [LATIN EPIGRAPHIC LETTER INVERTED M]
"A7FF", // [LATIN EPIGRAPHIC LETTER ARCHAIC M]
"FF2D": // [FULLWIDTH LATIN CAPITAL LETTER M]
buffer.WriteString("M")
case "26F", // [LATIN SMALL LETTER TURNED M]
"270", // [LATIN SMALL LETTER TURNED M WITH LONG LEG]
"271", // [LATIN SMALL LETTER M WITH HOOK]
"1D6F", // [LATIN SMALL LETTER M WITH MIDDLE TILDE]
"1D86", // [LATIN SMALL LETTER M WITH PALATAL HOOK]
"1E3F", // [LATIN SMALL LETTER M WITH ACUTE]
"1E41", // [LATIN SMALL LETTER M WITH DOT ABOVE]
"1E43", // [LATIN SMALL LETTER M WITH DOT BELOW]
"24DC", // [CIRCLED LATIN SMALL LETTER M]
"FF4D": // [FULLWIDTH LATIN SMALL LETTER M]
buffer.WriteString("m")
case "24A8": // [PARENTHESIZED LATIN SMALL LETTER M]
buffer.WriteString("(")
buffer.WriteString("m")
buffer.WriteString(")")
case "D1", // [LATIN CAPITAL LETTER N WITH TILDE]
"143", // [LATIN CAPITAL LETTER N WITH ACUTE]
"145", // [LATIN CAPITAL LETTER N WITH CEDILLA]
"147", // [LATIN CAPITAL LETTER N WITH CARON]
"14A", // [LATIN CAPITAL LETTER ENG]
"19D", // [LATIN CAPITAL LETTER N WITH LEFT HOOK]
"1F8", // [LATIN CAPITAL LETTER N WITH GRAVE]
"220", // [LATIN CAPITAL LETTER N WITH LONG RIGHT LEG]
"274", // [LATIN LETTER SMALL CAPITAL N]
"1D0E", // [LATIN LETTER SMALL CAPITAL REVERSED N]
"1E44", // [LATIN CAPITAL LETTER N WITH DOT ABOVE]
"1E46", // [LATIN CAPITAL LETTER N WITH DOT BELOW]
"1E48", // [LATIN CAPITAL LETTER N WITH LINE BELOW]
"1E4A", // [LATIN CAPITAL LETTER N WITH CIRCUMFLEX BELOW]
"24C3", // [CIRCLED LATIN CAPITAL LETTER N]
"FF2E": // [FULLWIDTH LATIN CAPITAL LETTER N]
buffer.WriteString("N")
case "F1", // [LATIN SMALL LETTER N WITH TILDE]
"144", // [LATIN SMALL LETTER N WITH ACUTE]
"146", // [LATIN SMALL LETTER N WITH CEDILLA]
"148", // [LATIN SMALL LETTER N WITH CARON]
"149", // [LATIN SMALL LETTER N PRECEDED BY APOSTROPHE]
"14B", // [LATIN SMALL LETTER ENG]
"19E", // [LATIN SMALL LETTER N WITH LONG RIGHT LEG]
"1F9", // [LATIN SMALL LETTER N WITH GRAVE]
"235", // [LATIN SMALL LETTER N WITH CURL]
"272", // [LATIN SMALL LETTER N WITH LEFT HOOK]
"273", // [LATIN SMALL LETTER N WITH RETROFLEX HOOK]
"1D70", // [LATIN SMALL LETTER N WITH MIDDLE TILDE]
"1D87", // [LATIN SMALL LETTER N WITH PALATAL HOOK]
"1E45", // [LATIN SMALL LETTER N WITH DOT ABOVE]
"1E47", // [LATIN SMALL LETTER N WITH DOT BELOW]
"1E49", // [LATIN SMALL LETTER N WITH LINE BELOW]
"1E4B", // [LATIN SMALL LETTER N WITH CIRCUMFLEX BELOW]
"207F", // [SUPERSCRIPT LATIN SMALL LETTER N]
"24DD", // [CIRCLED LATIN SMALL LETTER N]
"FF4E": // [FULLWIDTH LATIN SMALL LETTER N]
buffer.WriteString("n")
case "1CA": // [LATIN CAPITAL LETTER NJ]
buffer.WriteString("N")
buffer.WriteString("J")
case "1CB": // [LATIN CAPITAL LETTER N WITH SMALL LETTER J]
buffer.WriteString("N")
buffer.WriteString("j")
case "24A9": // [PARENTHESIZED LATIN SMALL LETTER N]
buffer.WriteString("(")
buffer.WriteString("n")
buffer.WriteString(")")
case "1CC": // [LATIN SMALL LETTER NJ]
buffer.WriteString("n")
buffer.WriteString("j")
case "D2", // [LATIN CAPITAL LETTER O WITH GRAVE]
"D3", // [LATIN CAPITAL LETTER O WITH ACUTE]
"D4", // [LATIN CAPITAL LETTER O WITH CIRCUMFLEX]
"D5", // [LATIN CAPITAL LETTER O WITH TILDE]
"D6", // [LATIN CAPITAL LETTER O WITH DIAERESIS]
"D8", // [LATIN CAPITAL LETTER O WITH STROKE]
"14C", // [LATIN CAPITAL LETTER O WITH MACRON]
"14E", // [LATIN CAPITAL LETTER O WITH BREVE]
"150", // [LATIN CAPITAL LETTER O WITH DOUBLE ACUTE]
"186", // [LATIN CAPITAL LETTER OPEN O]
"19F", // [LATIN CAPITAL LETTER O WITH MIDDLE TILDE]
"1A0", // [LATIN CAPITAL LETTER O WITH HORN]
"1D1", // [LATIN CAPITAL LETTER O WITH CARON]
"1EA", // [LATIN CAPITAL LETTER O WITH OGONEK]
"1EC", // [LATIN CAPITAL LETTER O WITH OGONEK AND MACRON]
"1FE", // [LATIN CAPITAL LETTER O WITH STROKE AND ACUTE]
"20C", // [LATIN CAPITAL LETTER O WITH DOUBLE GRAVE]
"20E", // [LATIN CAPITAL LETTER O WITH INVERTED BREVE]
"22A", // [LATIN CAPITAL LETTER O WITH DIAERESIS AND MACRON]
"22C", // [LATIN CAPITAL LETTER O WITH TILDE AND MACRON]
"22E", // [LATIN CAPITAL LETTER O WITH DOT ABOVE]
"230", // [LATIN CAPITAL LETTER O WITH DOT ABOVE AND MACRON]
"1D0F", // [LATIN LETTER SMALL CAPITAL O]
"1D10", // [LATIN LETTER SMALL CAPITAL OPEN O]
"1E4C", // [LATIN CAPITAL LETTER O WITH TILDE AND ACUTE]
"1E4E", // [LATIN CAPITAL LETTER O WITH TILDE AND DIAERESIS]
"1E50", // [LATIN CAPITAL LETTER O WITH MACRON AND GRAVE]
"1E52", // [LATIN CAPITAL LETTER O WITH MACRON AND ACUTE]
"1ECC", // [LATIN CAPITAL LETTER O WITH DOT BELOW]
"1ECE", // [LATIN CAPITAL LETTER O WITH HOOK ABOVE]
"1ED0", // [LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND ACUTE]
"1ED2", // [LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND GRAVE]
"1ED4", // [LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE]
"1ED6", // [LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND TILDE]
"1ED8", // [LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND DOT BELOW]
"1EDA", // [LATIN CAPITAL LETTER O WITH HORN AND ACUTE]
"1EDC", // [LATIN CAPITAL LETTER O WITH HORN AND GRAVE]
"1EDE", // [LATIN CAPITAL LETTER O WITH HORN AND HOOK ABOVE]
"1EE0", // [LATIN CAPITAL LETTER O WITH HORN AND TILDE]
"1EE2", // [LATIN CAPITAL LETTER O WITH HORN AND DOT BELOW]
"24C4", // [CIRCLED LATIN CAPITAL LETTER O]
"A74A", // [LATIN CAPITAL LETTER O WITH LONG STROKE OVERLAY]
"A74C", // [LATIN CAPITAL LETTER O WITH LOOP]
"FF2F": // [FULLWIDTH LATIN CAPITAL LETTER O]
buffer.WriteString("O")
case "F2", // [LATIN SMALL LETTER O WITH GRAVE]
"F3", // [LATIN SMALL LETTER O WITH ACUTE]
"F4", // [LATIN SMALL LETTER O WITH CIRCUMFLEX]
"F5", // [LATIN SMALL LETTER O WITH TILDE]
"F6", // [LATIN SMALL LETTER O WITH DIAERESIS]
"F8", // [LATIN SMALL LETTER O WITH STROKE]
"14D", // [LATIN SMALL LETTER O WITH MACRON]
"14F", // [LATIN SMALL LETTER O WITH BREVE]
"151", // [LATIN SMALL LETTER O WITH DOUBLE ACUTE]
"1A1", // [LATIN SMALL LETTER O WITH HORN]
"1D2", // [LATIN SMALL LETTER O WITH CARON]
"1EB", // [LATIN SMALL LETTER O WITH OGONEK]
"1ED", // [LATIN SMALL LETTER O WITH OGONEK AND MACRON]
"1FF", // [LATIN SMALL LETTER O WITH STROKE AND ACUTE]
"20D", // [LATIN SMALL LETTER O WITH DOUBLE GRAVE]
"20F", // [LATIN SMALL LETTER O WITH INVERTED BREVE]
"22B", // [LATIN SMALL LETTER O WITH DIAERESIS AND MACRON]
"22D", // [LATIN SMALL LETTER O WITH TILDE AND MACRON]
"22F", // [LATIN SMALL LETTER O WITH DOT ABOVE]
"231", // [LATIN SMALL LETTER O WITH DOT ABOVE AND MACRON]
"254", // [LATIN SMALL LETTER OPEN O]
"275", // [LATIN SMALL LETTER BARRED O]
"1D16", // [LATIN SMALL LETTER TOP HALF O]
"1D17", // [LATIN SMALL LETTER BOTTOM HALF O]
"1D97", // [LATIN SMALL LETTER OPEN O WITH RETROFLEX HOOK]
"1E4D", // [LATIN SMALL LETTER O WITH TILDE AND ACUTE]
"1E4F", // [LATIN SMALL LETTER O WITH TILDE AND DIAERESIS]
"1E51", // [LATIN SMALL LETTER O WITH MACRON AND GRAVE]
"1E53", // [LATIN SMALL LETTER O WITH MACRON AND ACUTE]
"1ECD", // [LATIN SMALL LETTER O WITH DOT BELOW]
"1ECF", // [LATIN SMALL LETTER O WITH HOOK ABOVE]
"1ED1", // [LATIN SMALL LETTER O WITH CIRCUMFLEX AND ACUTE]
"1ED3", // [LATIN SMALL LETTER O WITH CIRCUMFLEX AND GRAVE]
"1ED5", // [LATIN SMALL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE]
"1ED7", // [LATIN SMALL LETTER O WITH CIRCUMFLEX AND TILDE]
"1ED9", // [LATIN SMALL LETTER O WITH CIRCUMFLEX AND DOT BELOW]
"1EDB", // [LATIN SMALL LETTER O WITH HORN AND ACUTE]
"1EDD", // [LATIN SMALL LETTER O WITH HORN AND GRAVE]
"1EDF", // [LATIN SMALL LETTER O WITH HORN AND HOOK ABOVE]
"1EE1", // [LATIN SMALL LETTER O WITH HORN AND TILDE]
"1EE3", // [LATIN SMALL LETTER O WITH HORN AND DOT BELOW]
"2092", // [LATIN SUBSCRIPT SMALL LETTER O]
"24DE", // [CIRCLED LATIN SMALL LETTER O]
"2C7A", // [LATIN SMALL LETTER O WITH LOW RING INSIDE]
"A74B", // [LATIN SMALL LETTER O WITH LONG STROKE OVERLAY]
"A74D", // [LATIN SMALL LETTER O WITH LOOP]
"FF4F": // [FULLWIDTH LATIN SMALL LETTER O]
buffer.WriteString("o")
case "152", // [LATIN CAPITAL LIGATURE OE]
"276": // [LATIN LETTER SMALL CAPITAL OE]
buffer.WriteString("O")
buffer.WriteString("E")
case "A74E": // [LATIN CAPITAL LETTER OO]
buffer.WriteString("O")
buffer.WriteString("O")
case "222", // [LATIN CAPITAL LETTER OU]
"1D15": // [LATIN LETTER SMALL CAPITAL OU]
buffer.WriteString("O")
buffer.WriteString("U")
case "24AA": // [PARENTHESIZED LATIN SMALL LETTER O]
buffer.WriteString("(")
buffer.WriteString("o")
buffer.WriteString(")")
case "153", // [LATIN SMALL LIGATURE OE]
"1D14": // [LATIN SMALL LETTER TURNED OE]
buffer.WriteString("o")
buffer.WriteString("e")
case "A74F": // [LATIN SMALL LETTER OO]
buffer.WriteString("o")
buffer.WriteString("o")
case "223": // [LATIN SMALL LETTER OU]
buffer.WriteString("o")
buffer.WriteString("u")
case "1A4", // [LATIN CAPITAL LETTER P WITH HOOK]
"1D18", // [LATIN LETTER SMALL CAPITAL P]
"1E54", // [LATIN CAPITAL LETTER P WITH ACUTE]
"1E56", // [LATIN CAPITAL LETTER P WITH DOT ABOVE]
"24C5", // [CIRCLED LATIN CAPITAL LETTER P]
"2C63", // [LATIN CAPITAL LETTER P WITH STROKE]
"A750", // [LATIN CAPITAL LETTER P WITH STROKE THROUGH DESCENDER]
"A752", // [LATIN CAPITAL LETTER P WITH FLOURISH]
"A754", // [LATIN CAPITAL LETTER P WITH SQUIRREL TAIL]
"FF30": // [FULLWIDTH LATIN CAPITAL LETTER P]
buffer.WriteString("P")
case "1A5", // [LATIN SMALL LETTER P WITH HOOK]
"1D71", // [LATIN SMALL LETTER P WITH MIDDLE TILDE]
"1D7D", // [LATIN SMALL LETTER P WITH STROKE]
"1D88", // [LATIN SMALL LETTER P WITH PALATAL HOOK]
"1E55", // [LATIN SMALL LETTER P WITH ACUTE]
"1E57", // [LATIN SMALL LETTER P WITH DOT ABOVE]
"24DF", // [CIRCLED LATIN SMALL LETTER P]
"A751", // [LATIN SMALL LETTER P WITH STROKE THROUGH DESCENDER]
"A753", // [LATIN SMALL LETTER P WITH FLOURISH]
"A755", // [LATIN SMALL LETTER P WITH SQUIRREL TAIL]
"A7FC", // [LATIN EPIGRAPHIC LETTER REVERSED P]
"FF50": // [FULLWIDTH LATIN SMALL LETTER P]
buffer.WriteString("p")
case "24AB": // [PARENTHESIZED LATIN SMALL LETTER P]
buffer.WriteString("(")
buffer.WriteString("p")
buffer.WriteString(")")
case "24A", // [LATIN CAPITAL LETTER SMALL Q WITH HOOK TAIL]
"24C6", // [CIRCLED LATIN CAPITAL LETTER Q]
"A756", // [LATIN CAPITAL LETTER Q WITH STROKE THROUGH DESCENDER]
"A758", // [LATIN CAPITAL LETTER Q WITH DIAGONAL STROKE]
"FF31": // [FULLWIDTH LATIN CAPITAL LETTER Q]
buffer.WriteString("Q")
case "138", // [LATIN SMALL LETTER KRA]
"24B", // [LATIN SMALL LETTER Q WITH HOOK TAIL]
"2A0", // [LATIN SMALL LETTER Q WITH HOOK]
"24E0", // [CIRCLED LATIN SMALL LETTER Q]
"A757", // [LATIN SMALL LETTER Q WITH STROKE THROUGH DESCENDER]
"A759", // [LATIN SMALL LETTER Q WITH DIAGONAL STROKE]
"FF51": // [FULLWIDTH LATIN SMALL LETTER Q]
buffer.WriteString("q")
case "24AC": // [PARENTHESIZED LATIN SMALL LETTER Q]
buffer.WriteString("(")
buffer.WriteString("q")
buffer.WriteString(")")
case "239": // [LATIN SMALL LETTER QP DIGRAPH]
buffer.WriteString("q")
buffer.WriteString("p")
case "154", // [LATIN CAPITAL LETTER R WITH ACUTE]
"156", // [LATIN CAPITAL LETTER R WITH CEDILLA]
"158", // [LATIN CAPITAL LETTER R WITH CARON]
"210", // [LATIN CAPITAL LETTER R WITH DOUBLE GRAVE]
"212", // [LATIN CAPITAL LETTER R WITH INVERTED BREVE]
"24C", // [LATIN CAPITAL LETTER R WITH STROKE]
"280", // [LATIN LETTER SMALL CAPITAL R]
"281", // [LATIN LETTER SMALL CAPITAL INVERTED R]
"1D19", // [LATIN LETTER SMALL CAPITAL REVERSED R]
"1D1A", // [LATIN LETTER SMALL CAPITAL TURNED R]
"1E58", // [LATIN CAPITAL LETTER R WITH DOT ABOVE]
"1E5A", // [LATIN CAPITAL LETTER R WITH DOT BELOW]
"1E5C", // [LATIN CAPITAL LETTER R WITH DOT BELOW AND MACRON]
"1E5E", // [LATIN CAPITAL LETTER R WITH LINE BELOW]
"24C7", // [CIRCLED LATIN CAPITAL LETTER R]
"2C64", // [LATIN CAPITAL LETTER R WITH TAIL]
"A75A", // [LATIN CAPITAL LETTER R ROTUNDA]
"A782", // [LATIN CAPITAL LETTER INSULAR R]
"FF32": // [FULLWIDTH LATIN CAPITAL LETTER R]
buffer.WriteString("R")
case "155", // [LATIN SMALL LETTER R WITH ACUTE]
"157", // [LATIN SMALL LETTER R WITH CEDILLA]
"159", // [LATIN SMALL LETTER R WITH CARON]
"211", // [LATIN SMALL LETTER R WITH DOUBLE GRAVE]
"213", // [LATIN SMALL LETTER R WITH INVERTED BREVE]
"24D", // [LATIN SMALL LETTER R WITH STROKE]
"27C", // [LATIN SMALL LETTER R WITH LONG LEG]
"27D", // [LATIN SMALL LETTER R WITH TAIL]
"27E", // [LATIN SMALL LETTER R WITH FISHHOOK]
"27F", // [LATIN SMALL LETTER REVERSED R WITH FISHHOOK]
"1D63", // [LATIN SUBSCRIPT SMALL LETTER R]
"1D72", // [LATIN SMALL LETTER R WITH MIDDLE TILDE]
"1D73", // [LATIN SMALL LETTER R WITH FISHHOOK AND MIDDLE TILDE]
"1D89", // [LATIN SMALL LETTER R WITH PALATAL HOOK]
"1E59", // [LATIN SMALL LETTER R WITH DOT ABOVE]
"1E5B", // [LATIN SMALL LETTER R WITH DOT BELOW]
"1E5D", // [LATIN SMALL LETTER R WITH DOT BELOW AND MACRON]
"1E5F", // [LATIN SMALL LETTER R WITH LINE BELOW]
"24E1", // [CIRCLED LATIN SMALL LETTER R]
"A75B", // [LATIN SMALL LETTER R ROTUNDA]
"A783", // [LATIN SMALL LETTER INSULAR R]
"FF52": // [FULLWIDTH LATIN SMALL LETTER R]
buffer.WriteString("r")
case "24AD": // [PARENTHESIZED LATIN SMALL LETTER R]
buffer.WriteString("(")
buffer.WriteString("r")
buffer.WriteString(")")
case "15A", // [LATIN CAPITAL LETTER S WITH ACUTE]
"15C", // [LATIN CAPITAL LETTER S WITH CIRCUMFLEX]
"15E", // [LATIN CAPITAL LETTER S WITH CEDILLA]
"160", // [LATIN CAPITAL LETTER S WITH CARON]
"218", // [LATIN CAPITAL LETTER S WITH COMMA BELOW]
"1E60", // [LATIN CAPITAL LETTER S WITH DOT ABOVE]
"1E62", // [LATIN CAPITAL LETTER S WITH DOT BELOW]
"1E64", // [LATIN CAPITAL LETTER S WITH ACUTE AND DOT ABOVE]
"1E66", // [LATIN CAPITAL LETTER S WITH CARON AND DOT ABOVE]
"1E68", // [LATIN CAPITAL LETTER S WITH DOT BELOW AND DOT ABOVE]
"24C8", // [CIRCLED LATIN CAPITAL LETTER S]
"A731", // [LATIN LETTER SMALL CAPITAL S]
"A785", // [LATIN SMALL LETTER INSULAR S]
"FF33": // [FULLWIDTH LATIN CAPITAL LETTER S]
buffer.WriteString("S")
case "15B", // [LATIN SMALL LETTER S WITH ACUTE]
"15D", // [LATIN SMALL LETTER S WITH CIRCUMFLEX]
"15F", // [LATIN SMALL LETTER S WITH CEDILLA]
"161", // [LATIN SMALL LETTER S WITH CARON]
"17F", // [LATIN SMALL LETTER LONG S]
"219", // [LATIN SMALL LETTER S WITH COMMA BELOW]
"23F", // [LATIN SMALL LETTER S WITH SWASH TAIL]
"282", // [LATIN SMALL LETTER S WITH HOOK]
"1D74", // [LATIN SMALL LETTER S WITH MIDDLE TILDE]
"1D8A", // [LATIN SMALL LETTER S WITH PALATAL HOOK]
"1E61", // [LATIN SMALL LETTER S WITH DOT ABOVE]
"1E63", // [LATIN SMALL LETTER S WITH DOT BELOW]
"1E65", // [LATIN SMALL LETTER S WITH ACUTE AND DOT ABOVE]
"1E67", // [LATIN SMALL LETTER S WITH CARON AND DOT ABOVE]
"1E69", // [LATIN SMALL LETTER S WITH DOT BELOW AND DOT ABOVE]
"1E9C", // [LATIN SMALL LETTER LONG S WITH DIAGONAL STROKE]
"1E9D", // [LATIN SMALL LETTER LONG S WITH HIGH STROKE]
"24E2", // [CIRCLED LATIN SMALL LETTER S]
"A784", // [LATIN CAPITAL LETTER INSULAR S]
"FF53": // [FULLWIDTH LATIN SMALL LETTER S]
buffer.WriteString("s")
case "1E9E": // [LATIN CAPITAL LETTER SHARP S]
buffer.WriteString("S")
buffer.WriteString("S")
case "24AE": // [PARENTHESIZED LATIN SMALL LETTER S]
buffer.WriteString("(")
buffer.WriteString("s")
buffer.WriteString(")")
case "DF": // [LATIN SMALL LETTER SHARP S]
buffer.WriteString("s")
buffer.WriteString("s")
case "FB06": // [LATIN SMALL LIGATURE ST]
buffer.WriteString("s")
buffer.WriteString("t")
case "162", // [LATIN CAPITAL LETTER T WITH CEDILLA]
"164", // [LATIN CAPITAL LETTER T WITH CARON]
"166", // [LATIN CAPITAL LETTER T WITH STROKE]
"1AC", // [LATIN CAPITAL LETTER T WITH HOOK]
"1AE", // [LATIN CAPITAL LETTER T WITH RETROFLEX HOOK]
"21A", // [LATIN CAPITAL LETTER T WITH COMMA BELOW]
"23E", // [LATIN CAPITAL LETTER T WITH DIAGONAL STROKE]
"1D1B", // [LATIN LETTER SMALL CAPITAL T]
"1E6A", // [LATIN CAPITAL LETTER T WITH DOT ABOVE]
"1E6C", // [LATIN CAPITAL LETTER T WITH DOT BELOW]
"1E6E", // [LATIN CAPITAL LETTER T WITH LINE BELOW]
"1E70", // [LATIN CAPITAL LETTER T WITH CIRCUMFLEX BELOW]
"24C9", // [CIRCLED LATIN CAPITAL LETTER T]
"A786", // [LATIN CAPITAL LETTER INSULAR T]
"FF34": // [FULLWIDTH LATIN CAPITAL LETTER T]
buffer.WriteString("T")
case "163", // [LATIN SMALL LETTER T WITH CEDILLA]
"165", // [LATIN SMALL LETTER T WITH CARON]
"167", // [LATIN SMALL LETTER T WITH STROKE]
"1AB", // [LATIN SMALL LETTER T WITH PALATAL HOOK]
"1AD", // [LATIN SMALL LETTER T WITH HOOK]
"21B", // [LATIN SMALL LETTER T WITH COMMA BELOW]
"236", // [LATIN SMALL LETTER T WITH CURL]
"287", // [LATIN SMALL LETTER TURNED T]
"288", // [LATIN SMALL LETTER T WITH RETROFLEX HOOK]
"1D75", // [LATIN SMALL LETTER T WITH MIDDLE TILDE]
"1E6B", // [LATIN SMALL LETTER T WITH DOT ABOVE]
"1E6D", // [LATIN SMALL LETTER T WITH DOT BELOW]
"1E6F", // [LATIN SMALL LETTER T WITH LINE BELOW]
"1E71", // [LATIN SMALL LETTER T WITH CIRCUMFLEX BELOW]
"1E97", // [LATIN SMALL LETTER T WITH DIAERESIS]
"24E3", // [CIRCLED LATIN SMALL LETTER T]
"2C66", // [LATIN SMALL LETTER T WITH DIAGONAL STROKE]
"FF54": // [FULLWIDTH LATIN SMALL LETTER T]
buffer.WriteString("t")
case "DE", // [LATIN CAPITAL LETTER THORN]
"A766": // [LATIN CAPITAL LETTER THORN WITH STROKE THROUGH DESCENDER]
buffer.WriteString("T")
buffer.WriteString("H")
case "A728": // [LATIN CAPITAL LETTER TZ]
buffer.WriteString("T")
buffer.WriteString("Z")
case "24AF": // [PARENTHESIZED LATIN SMALL LETTER T]
buffer.WriteString("(")
buffer.WriteString("t")
buffer.WriteString(")")
case "2A8": // [LATIN SMALL LETTER TC DIGRAPH WITH CURL]
buffer.WriteString("t")
buffer.WriteString("c")
case "FE", // [LATIN SMALL LETTER THORN]
"1D7A", // [LATIN SMALL LETTER TH WITH STRIKETHROUGH]
"A767": // [LATIN SMALL LETTER THORN WITH STROKE THROUGH DESCENDER]
buffer.WriteString("t")
buffer.WriteString("h")
case "2A6": // [LATIN SMALL LETTER TS DIGRAPH]
buffer.WriteString("t")
buffer.WriteString("s")
case "A729": // [LATIN SMALL LETTER TZ]
buffer.WriteString("t")
buffer.WriteString("z")
case "D9", // [LATIN CAPITAL LETTER U WITH GRAVE]
"DA", // [LATIN CAPITAL LETTER U WITH ACUTE]
"DB", // [LATIN CAPITAL LETTER U WITH CIRCUMFLEX]
"DC", // [LATIN CAPITAL LETTER U WITH DIAERESIS]
"168", // [LATIN CAPITAL LETTER U WITH TILDE]
"16A", // [LATIN CAPITAL LETTER U WITH MACRON]
"16C", // [LATIN CAPITAL LETTER U WITH BREVE]
"16E", // [LATIN CAPITAL LETTER U WITH RING ABOVE]
"170", // [LATIN CAPITAL LETTER U WITH DOUBLE ACUTE]
"172", // [LATIN CAPITAL LETTER U WITH OGONEK]
"1AF", // [LATIN CAPITAL LETTER U WITH HORN]
"1D3", // [LATIN CAPITAL LETTER U WITH CARON]
"1D5", // [LATIN CAPITAL LETTER U WITH DIAERESIS AND MACRON]
"1D7", // [LATIN CAPITAL LETTER U WITH DIAERESIS AND ACUTE]
"1D9", // [LATIN CAPITAL LETTER U WITH DIAERESIS AND CARON]
"1DB", // [LATIN CAPITAL LETTER U WITH DIAERESIS AND GRAVE]
"214", // [LATIN CAPITAL LETTER U WITH DOUBLE GRAVE]
"216", // [LATIN CAPITAL LETTER U WITH INVERTED BREVE]
"244", // [LATIN CAPITAL LETTER U BAR]
"1D1C", // [LATIN LETTER SMALL CAPITAL U]
"1D7E", // [LATIN SMALL CAPITAL LETTER U WITH STROKE]
"1E72", // [LATIN CAPITAL LETTER U WITH DIAERESIS BELOW]
"1E74", // [LATIN CAPITAL LETTER U WITH TILDE BELOW]
"1E76", // [LATIN CAPITAL LETTER U WITH CIRCUMFLEX BELOW]
"1E78", // [LATIN CAPITAL LETTER U WITH TILDE AND ACUTE]
"1E7A", // [LATIN CAPITAL LETTER U WITH MACRON AND DIAERESIS]
"1EE4", // [LATIN CAPITAL LETTER U WITH DOT BELOW]
"1EE6", // [LATIN CAPITAL LETTER U WITH HOOK ABOVE]
"1EE8", // [LATIN CAPITAL LETTER U WITH HORN AND ACUTE]
"1EEA", // [LATIN CAPITAL LETTER U WITH HORN AND GRAVE]
"1EEC", // [LATIN CAPITAL LETTER U WITH HORN AND HOOK ABOVE]
"1EEE", // [LATIN CAPITAL LETTER U WITH HORN AND TILDE]
"1EF0", // [LATIN CAPITAL LETTER U WITH HORN AND DOT BELOW]
"24CA", // [CIRCLED LATIN CAPITAL LETTER U]
"FF35": // [FULLWIDTH LATIN CAPITAL LETTER U]
buffer.WriteString("U")
case "F9", // [LATIN SMALL LETTER U WITH GRAVE]
"FA", // [LATIN SMALL LETTER U WITH ACUTE]
"FB", // [LATIN SMALL LETTER U WITH CIRCUMFLEX]
"FC", // [LATIN SMALL LETTER U WITH DIAERESIS]
"169", // [LATIN SMALL LETTER U WITH TILDE]
"16B", // [LATIN SMALL LETTER U WITH MACRON]
"16D", // [LATIN SMALL LETTER U WITH BREVE]
"16F", // [LATIN SMALL LETTER U WITH RING ABOVE]
"171", // [LATIN SMALL LETTER U WITH DOUBLE ACUTE]
"173", // [LATIN SMALL LETTER U WITH OGONEK]
"1B0", // [LATIN SMALL LETTER U WITH HORN]
"1D4", // [LATIN SMALL LETTER U WITH CARON]
"1D6", // [LATIN SMALL LETTER U WITH DIAERESIS AND MACRON]
"1D8", // [LATIN SMALL LETTER U WITH DIAERESIS AND ACUTE]
"1DA", // [LATIN SMALL LETTER U WITH DIAERESIS AND CARON]
"1DC", // [LATIN SMALL LETTER U WITH DIAERESIS AND GRAVE]
"215", // [LATIN SMALL LETTER U WITH DOUBLE GRAVE]
"217", // [LATIN SMALL LETTER U WITH INVERTED BREVE]
"289", // [LATIN SMALL LETTER U BAR]
"1D64", // [LATIN SUBSCRIPT SMALL LETTER U]
"1D99", // [LATIN SMALL LETTER U WITH RETROFLEX HOOK]
"1E73", // [LATIN SMALL LETTER U WITH DIAERESIS BELOW]
"1E75", // [LATIN SMALL LETTER U WITH TILDE BELOW]
"1E77", // [LATIN SMALL LETTER U WITH CIRCUMFLEX BELOW]
"1E79", // [LATIN SMALL LETTER U WITH TILDE AND ACUTE]
"1E7B", // [LATIN SMALL LETTER U WITH MACRON AND DIAERESIS]
"1EE5", // [LATIN SMALL LETTER U WITH DOT BELOW]
"1EE7", // [LATIN SMALL LETTER U WITH HOOK ABOVE]
"1EE9", // [LATIN SMALL LETTER U WITH HORN AND ACUTE]
"1EEB", // [LATIN SMALL LETTER U WITH HORN AND GRAVE]
"1EED", // [LATIN SMALL LETTER U WITH HORN AND HOOK ABOVE]
"1EEF", // [LATIN SMALL LETTER U WITH HORN AND TILDE]
"1EF1", // [LATIN SMALL LETTER U WITH HORN AND DOT BELOW]
"24E4", // [CIRCLED LATIN SMALL LETTER U]
"FF55": // [FULLWIDTH LATIN SMALL LETTER U]
buffer.WriteString("u")
case "24B0": // [PARENTHESIZED LATIN SMALL LETTER U]
buffer.WriteString("(")
buffer.WriteString("u")
buffer.WriteString(")")
case "1D6B": // [LATIN SMALL LETTER UE]
buffer.WriteString("u")
buffer.WriteString("e")
case "1B2", // [LATIN CAPITAL LETTER V WITH HOOK]
"245", // [LATIN CAPITAL LETTER TURNED V]
"1D20", // [LATIN LETTER SMALL CAPITAL V]
"1E7C", // [LATIN CAPITAL LETTER V WITH TILDE]
"1E7E", // [LATIN CAPITAL LETTER V WITH DOT BELOW]
"1EFC", // [LATIN CAPITAL LETTER MIDDLE-WELSH V]
"24CB", // [CIRCLED LATIN CAPITAL LETTER V]
"A75E", // [LATIN CAPITAL LETTER V WITH DIAGONAL STROKE]
"A768", // [LATIN CAPITAL LETTER VEND]
"FF36": // [FULLWIDTH LATIN CAPITAL LETTER V]
buffer.WriteString("V")
case "28B", // [LATIN SMALL LETTER V WITH HOOK]
"28C", // [LATIN SMALL LETTER TURNED V]
"1D65", // [LATIN SUBSCRIPT SMALL LETTER V]
"1D8C", // [LATIN SMALL LETTER V WITH PALATAL HOOK]
"1E7D", // [LATIN SMALL LETTER V WITH TILDE]
"1E7F", // [LATIN SMALL LETTER V WITH DOT BELOW]
"24E5", // [CIRCLED LATIN SMALL LETTER V]
"2C71", // [LATIN SMALL LETTER V WITH RIGHT HOOK]
"2C74", // [LATIN SMALL LETTER V WITH CURL]
"A75F", // [LATIN SMALL LETTER V WITH DIAGONAL STROKE]
"FF56": // [FULLWIDTH LATIN SMALL LETTER V]
buffer.WriteString("v")
case "A760": // [LATIN CAPITAL LETTER VY]
buffer.WriteString("V")
buffer.WriteString("Y")
case "24B1": // [PARENTHESIZED LATIN SMALL LETTER V]
buffer.WriteString("(")
buffer.WriteString("v")
buffer.WriteString(")")
case "A761": // [LATIN SMALL LETTER VY]
buffer.WriteString("v")
buffer.WriteString("y")
case "174", // [LATIN CAPITAL LETTER W WITH CIRCUMFLEX]
"1F7", // [LATIN CAPITAL LETTER WYNN]
"1D21", // [LATIN LETTER SMALL CAPITAL W]
"1E80", // [LATIN CAPITAL LETTER W WITH GRAVE]
"1E82", // [LATIN CAPITAL LETTER W WITH ACUTE]
"1E84", // [LATIN CAPITAL LETTER W WITH DIAERESIS]
"1E86", // [LATIN CAPITAL LETTER W WITH DOT ABOVE]
"1E88", // [LATIN CAPITAL LETTER W WITH DOT BELOW]
"24CC", // [CIRCLED LATIN CAPITAL LETTER W]
"2C72", // [LATIN CAPITAL LETTER W WITH HOOK]
"FF37": // [FULLWIDTH LATIN CAPITAL LETTER W]
buffer.WriteString("W")
case "175", // [LATIN SMALL LETTER W WITH CIRCUMFLEX]
"1BF", // [LATIN LETTER WYNN]
"28D", // [LATIN SMALL LETTER TURNED W]
"1E81", // [LATIN SMALL LETTER W WITH GRAVE]
"1E83", // [LATIN SMALL LETTER W WITH ACUTE]
"1E85", // [LATIN SMALL LETTER W WITH DIAERESIS]
"1E87", // [LATIN SMALL LETTER W WITH DOT ABOVE]
"1E89", // [LATIN SMALL LETTER W WITH DOT BELOW]
"1E98", // [LATIN SMALL LETTER W WITH RING ABOVE]
"24E6", // [CIRCLED LATIN SMALL LETTER W]
"2C73", // [LATIN SMALL LETTER W WITH HOOK]
"FF57": // [FULLWIDTH LATIN SMALL LETTER W]
buffer.WriteString("w")
case "24B2": // [PARENTHESIZED LATIN SMALL LETTER W]
buffer.WriteString("(")
buffer.WriteString("w")
buffer.WriteString(")")
case "1E8A", // [LATIN CAPITAL LETTER X WITH DOT ABOVE]
"1E8C", // [LATIN CAPITAL LETTER X WITH DIAERESIS]
"24CD", // [CIRCLED LATIN CAPITAL LETTER X]
"FF38": // [FULLWIDTH LATIN CAPITAL LETTER X]
buffer.WriteString("X")
case "1D8D", // [LATIN SMALL LETTER X WITH PALATAL HOOK]
"1E8B", // [LATIN SMALL LETTER X WITH DOT ABOVE]
"1E8D", // [LATIN SMALL LETTER X WITH DIAERESIS]
"2093", // [LATIN SUBSCRIPT SMALL LETTER X]
"24E7", // [CIRCLED LATIN SMALL LETTER X]
"FF58": // [FULLWIDTH LATIN SMALL LETTER X]
buffer.WriteString("x")
case "24B3": // [PARENTHESIZED LATIN SMALL LETTER X]
buffer.WriteString("(")
buffer.WriteString("x")
buffer.WriteString(")")
case "DD", // [LATIN CAPITAL LETTER Y WITH ACUTE]
"176", // [LATIN CAPITAL LETTER Y WITH CIRCUMFLEX]
"178", // [LATIN CAPITAL LETTER Y WITH DIAERESIS]
"1B3", // [LATIN CAPITAL LETTER Y WITH HOOK]
"232", // [LATIN CAPITAL LETTER Y WITH MACRON]
"24E", // [LATIN CAPITAL LETTER Y WITH STROKE]
"28F", // [LATIN LETTER SMALL CAPITAL Y]
"1E8E", // [LATIN CAPITAL LETTER Y WITH DOT ABOVE]
"1EF2", // [LATIN CAPITAL LETTER Y WITH GRAVE]
"1EF4", // [LATIN CAPITAL LETTER Y WITH DOT BELOW]
"1EF6", // [LATIN CAPITAL LETTER Y WITH HOOK ABOVE]
"1EF8", // [LATIN CAPITAL LETTER Y WITH TILDE]
"1EFE", // [LATIN CAPITAL LETTER Y WITH LOOP]
"24CE", // [CIRCLED LATIN CAPITAL LETTER Y]
"FF39": // [FULLWIDTH LATIN CAPITAL LETTER Y]
buffer.WriteString("Y")
case "FD", // [LATIN SMALL LETTER Y WITH ACUTE]
"FF", // [LATIN SMALL LETTER Y WITH DIAERESIS]
"177", // [LATIN SMALL LETTER Y WITH CIRCUMFLEX]
"1B4", // [LATIN SMALL LETTER Y WITH HOOK]
"233", // [LATIN SMALL LETTER Y WITH MACRON]
"24F", // [LATIN SMALL LETTER Y WITH STROKE]
"28E", // [LATIN SMALL LETTER TURNED Y]
"1E8F", // [LATIN SMALL LETTER Y WITH DOT ABOVE]
"1E99", // [LATIN SMALL LETTER Y WITH RING ABOVE]
"1EF3", // [LATIN SMALL LETTER Y WITH GRAVE]
"1EF5", // [LATIN SMALL LETTER Y WITH DOT BELOW]
"1EF7", // [LATIN SMALL LETTER Y WITH HOOK ABOVE]
"1EF9", // [LATIN SMALL LETTER Y WITH TILDE]
"1EFF", // [LATIN SMALL LETTER Y WITH LOOP]
"24E8", // [CIRCLED LATIN SMALL LETTER Y]
"FF59": // [FULLWIDTH LATIN SMALL LETTER Y]
buffer.WriteString("y")
case "24B4": // [PARENTHESIZED LATIN SMALL LETTER Y]
buffer.WriteString("(")
buffer.WriteString("y")
buffer.WriteString(")")
case "179", // [LATIN CAPITAL LETTER Z WITH ACUTE]
"17B", // [LATIN CAPITAL LETTER Z WITH DOT ABOVE]
"17D", // [LATIN CAPITAL LETTER Z WITH CARON]
"1B5", // [LATIN CAPITAL LETTER Z WITH STROKE]
"21C", // [LATIN CAPITAL LETTER YOGH]
"224", // [LATIN CAPITAL LETTER Z WITH HOOK]
"1D22", // [LATIN LETTER SMALL CAPITAL Z]
"1E90", // [LATIN CAPITAL LETTER Z WITH CIRCUMFLEX]
"1E92", // [LATIN CAPITAL LETTER Z WITH DOT BELOW]
"1E94", // [LATIN CAPITAL LETTER Z WITH LINE BELOW]
"24CF", // [CIRCLED LATIN CAPITAL LETTER Z]
"2C6B", // [LATIN CAPITAL LETTER Z WITH DESCENDER]
"A762", // [LATIN CAPITAL LETTER VISIGOTHIC Z]
"FF3A": // [FULLWIDTH LATIN CAPITAL LETTER Z]
buffer.WriteString("Z")
case "17A", // [LATIN SMALL LETTER Z WITH ACUTE]
"17C", // [LATIN SMALL LETTER Z WITH DOT ABOVE]
"17E", // [LATIN SMALL LETTER Z WITH CARON]
"1B6", // [LATIN SMALL LETTER Z WITH STROKE]
"21D", // [LATIN SMALL LETTER YOGH]
"225", // [LATIN SMALL LETTER Z WITH HOOK]
"240", // [LATIN SMALL LETTER Z WITH SWASH TAIL]
"290", // [LATIN SMALL LETTER Z WITH RETROFLEX HOOK]
"291", // [LATIN SMALL LETTER Z WITH CURL]
"1D76", // [LATIN SMALL LETTER Z WITH MIDDLE TILDE]
"1D8E", // [LATIN SMALL LETTER Z WITH PALATAL HOOK]
"1E91", // [LATIN SMALL LETTER Z WITH CIRCUMFLEX]
"1E93", // [LATIN SMALL LETTER Z WITH DOT BELOW]
"1E95", // [LATIN SMALL LETTER Z WITH LINE BELOW]
"24E9", // [CIRCLED LATIN SMALL LETTER Z]
"2C6C", // [LATIN SMALL LETTER Z WITH DESCENDER]
"A763", // [LATIN SMALL LETTER VISIGOTHIC Z]
"FF5A": // [FULLWIDTH LATIN SMALL LETTER Z]
buffer.WriteString("z")
case "24B5": // [PARENTHESIZED LATIN SMALL LETTER Z]
buffer.WriteString("(")
buffer.WriteString("z")
buffer.WriteString(")")
case "2070", // [SUPERSCRIPT ZERO]
"2080", // [SUBSCRIPT ZERO]
"24EA", // [CIRCLED DIGIT ZERO]
"24FF", // [NEGATIVE CIRCLED DIGIT ZERO]
"FF10": // [FULLWIDTH DIGIT ZERO]
buffer.WriteString("0")
case "B9", // [SUPERSCRIPT ONE]
"2081", // [SUBSCRIPT ONE]
"2460", // [CIRCLED DIGIT ONE]
"24F5", // [DOUBLE CIRCLED DIGIT ONE]
"2776", // [DINGBAT NEGATIVE CIRCLED DIGIT ONE]
"2780", // [DINGBAT CIRCLED SANS-SERIF DIGIT ONE]
"278A", // [DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE]
"FF11": // [FULLWIDTH DIGIT ONE]
buffer.WriteString("1")
case "2488": // [DIGIT ONE FULL STOP]
buffer.WriteString("1")
buffer.WriteString(".")
case "2474": // [PARENTHESIZED DIGIT ONE]
buffer.WriteString("(")
buffer.WriteString("1")
buffer.WriteString(")")
case "B2", // [SUPERSCRIPT TWO]
"2082", // [SUBSCRIPT TWO]
"2461", // [CIRCLED DIGIT TWO]
"24F6", // [DOUBLE CIRCLED DIGIT TWO]
"2777", // [DINGBAT NEGATIVE CIRCLED DIGIT TWO]
"2781", // [DINGBAT CIRCLED SANS-SERIF DIGIT TWO]
"278B", // [DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT TWO]
"FF12": // [FULLWIDTH DIGIT TWO]
buffer.WriteString("2")
case "2489": // [DIGIT TWO FULL STOP]
buffer.WriteString("2")
buffer.WriteString(".")
case "2475": // [PARENTHESIZED DIGIT TWO]
buffer.WriteString("(")
buffer.WriteString("2")
buffer.WriteString(")")
case "B3", // [SUPERSCRIPT THREE]
"2083", // [SUBSCRIPT THREE]
"2462", // [CIRCLED DIGIT THREE]
"24F7", // [DOUBLE CIRCLED DIGIT THREE]
"2778", // [DINGBAT NEGATIVE CIRCLED DIGIT THREE]
"2782", // [DINGBAT CIRCLED SANS-SERIF DIGIT THREE]
"278C", // [DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT THREE]
"FF13": // [FULLWIDTH DIGIT THREE]
buffer.WriteString("3")
case "248A": // [DIGIT THREE FULL STOP]
buffer.WriteString("3")
buffer.WriteString(".")
case "2476": // [PARENTHESIZED DIGIT THREE]
buffer.WriteString("(")
buffer.WriteString("3")
buffer.WriteString(")")
case "2074", // [SUPERSCRIPT FOUR]
"2084", // [SUBSCRIPT FOUR]
"2463", // [CIRCLED DIGIT FOUR]
"24F8", // [DOUBLE CIRCLED DIGIT FOUR]
"2779", // [DINGBAT NEGATIVE CIRCLED DIGIT FOUR]
"2783", // [DINGBAT CIRCLED SANS-SERIF DIGIT FOUR]
"278D", // [DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT FOUR]
"FF14": // [FULLWIDTH DIGIT FOUR]
buffer.WriteString("4")
case "248B": // [DIGIT FOUR FULL STOP]
buffer.WriteString("4")
buffer.WriteString(".")
case "2477": // [PARENTHESIZED DIGIT FOUR]
buffer.WriteString("(")
buffer.WriteString("4")
buffer.WriteString(")")
case "2075", // [SUPERSCRIPT FIVE]
"2085", // [SUBSCRIPT FIVE]
"2464", // [CIRCLED DIGIT FIVE]
"24F9", // [DOUBLE CIRCLED DIGIT FIVE]
"277A", // [DINGBAT NEGATIVE CIRCLED DIGIT FIVE]
"2784", // [DINGBAT CIRCLED SANS-SERIF DIGIT FIVE]
"278E", // [DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT FIVE]
"FF15": // [FULLWIDTH DIGIT FIVE]
buffer.WriteString("5")
case "248C": // [DIGIT FIVE FULL STOP]
buffer.WriteString("5")
buffer.WriteString(".")
case "2478": // [PARENTHESIZED DIGIT FIVE]
buffer.WriteString("(")
buffer.WriteString("5")
buffer.WriteString(")")
case "2076", // [SUPERSCRIPT SIX]
"2086", // [SUBSCRIPT SIX]
"2465", // [CIRCLED DIGIT SIX]
"24FA", // [DOUBLE CIRCLED DIGIT SIX]
"277B", // [DINGBAT NEGATIVE CIRCLED DIGIT SIX]
"2785", // [DINGBAT CIRCLED SANS-SERIF DIGIT SIX]
"278F", // [DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT SIX]
"FF16": // [FULLWIDTH DIGIT SIX]
buffer.WriteString("6")
case "248D": // [DIGIT SIX FULL STOP]
buffer.WriteString("6")
buffer.WriteString(".")
case "2479": // [PARENTHESIZED DIGIT SIX]
buffer.WriteString("(")
buffer.WriteString("6")
buffer.WriteString(")")
case "2077", // [SUPERSCRIPT SEVEN]
"2087", // [SUBSCRIPT SEVEN]
"2466", // [CIRCLED DIGIT SEVEN]
"24FB", // [DOUBLE CIRCLED DIGIT SEVEN]
"277C", // [DINGBAT NEGATIVE CIRCLED DIGIT SEVEN]
"2786", // [DINGBAT CIRCLED SANS-SERIF DIGIT SEVEN]
"2790", // [DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT SEVEN]
"FF17": // [FULLWIDTH DIGIT SEVEN]
buffer.WriteString("7")
case "248E": // [DIGIT SEVEN FULL STOP]
buffer.WriteString("7")
buffer.WriteString(".")
case "247A": // [PARENTHESIZED DIGIT SEVEN]
buffer.WriteString("(")
buffer.WriteString("7")
buffer.WriteString(")")
case "2078", // [SUPERSCRIPT EIGHT]
"2088", // [SUBSCRIPT EIGHT]
"2467", // [CIRCLED DIGIT EIGHT]
"24FC", // [DOUBLE CIRCLED DIGIT EIGHT]
"277D", // [DINGBAT NEGATIVE CIRCLED DIGIT EIGHT]
"2787", // [DINGBAT CIRCLED SANS-SERIF DIGIT EIGHT]
"2791", // [DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT EIGHT]
"FF18": // [FULLWIDTH DIGIT EIGHT]
buffer.WriteString("8")
case "248F": // [DIGIT EIGHT FULL STOP]
buffer.WriteString("8")
buffer.WriteString(".")
case "247B": // [PARENTHESIZED DIGIT EIGHT]
buffer.WriteString("(")
buffer.WriteString("8")
buffer.WriteString(")")
case "2079", // [SUPERSCRIPT NINE]
"2089", // [SUBSCRIPT NINE]
"2468", // [CIRCLED DIGIT NINE]
"24FD", // [DOUBLE CIRCLED DIGIT NINE]
"277E", // [DINGBAT NEGATIVE CIRCLED DIGIT NINE]
"2788", // [DINGBAT CIRCLED SANS-SERIF DIGIT NINE]
"2792", // [DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT NINE]
"FF19": // [FULLWIDTH DIGIT NINE]
buffer.WriteString("9")
case "2490": // [DIGIT NINE FULL STOP]
buffer.WriteString("9")
buffer.WriteString(".")
case "247C": // [PARENTHESIZED DIGIT NINE]
buffer.WriteString("(")
buffer.WriteString("9")
buffer.WriteString(")")
case "2469", // [CIRCLED NUMBER TEN]
"24FE", // [DOUBLE CIRCLED NUMBER TEN]
"277F", // [DINGBAT NEGATIVE CIRCLED NUMBER TEN]
"2789", // [DINGBAT CIRCLED SANS-SERIF NUMBER TEN]
"2793": // [DINGBAT NEGATIVE CIRCLED SANS-SERIF NUMBER TEN]
buffer.WriteString("1")
buffer.WriteString("0")
case "2491": // [NUMBER TEN FULL STOP]
buffer.WriteString("1")
buffer.WriteString("0")
buffer.WriteString(".")
case "247D": // [PARENTHESIZED NUMBER TEN]
buffer.WriteString("(")
buffer.WriteString("1")
buffer.WriteString("0")
buffer.WriteString(")")
case "246A", // [CIRCLED NUMBER ELEVEN]
"24EB": // [NEGATIVE CIRCLED NUMBER ELEVEN]
buffer.WriteString("1")
buffer.WriteString("1")
case "2492": // [NUMBER ELEVEN FULL STOP]
buffer.WriteString("1")
buffer.WriteString("1")
buffer.WriteString(".")
case "247E": // [PARENTHESIZED NUMBER ELEVEN]
buffer.WriteString("(")
buffer.WriteString("1")
buffer.WriteString("1")
buffer.WriteString(")")
case "246B", // [CIRCLED NUMBER TWELVE]
"24EC": // [NEGATIVE CIRCLED NUMBER TWELVE]
buffer.WriteString("1")
buffer.WriteString("2")
case "2493": // [NUMBER TWELVE FULL STOP]
buffer.WriteString("1")
buffer.WriteString("2")
buffer.WriteString(".")
case "247F": // [PARENTHESIZED NUMBER TWELVE]
buffer.WriteString("(")
buffer.WriteString("1")
buffer.WriteString("2")
buffer.WriteString(")")
case "246C", // [CIRCLED NUMBER THIRTEEN]
"24ED": // [NEGATIVE CIRCLED NUMBER THIRTEEN]
buffer.WriteString("1")
buffer.WriteString("3")
case "2494": // [NUMBER THIRTEEN FULL STOP]
buffer.WriteString("1")
buffer.WriteString("3")
buffer.WriteString(".")
case "2480": // [PARENTHESIZED NUMBER THIRTEEN]
buffer.WriteString("(")
buffer.WriteString("1")
buffer.WriteString("3")
buffer.WriteString(")")
case "246D", // [CIRCLED NUMBER FOURTEEN]
"24EE": // [NEGATIVE CIRCLED NUMBER FOURTEEN]
buffer.WriteString("1")
buffer.WriteString("4")
case "2495": // [NUMBER FOURTEEN FULL STOP]
buffer.WriteString("1")
buffer.WriteString("4")
buffer.WriteString(".")
case "2481": // [PARENTHESIZED NUMBER FOURTEEN]
buffer.WriteString("(")
buffer.WriteString("1")
buffer.WriteString("4")
buffer.WriteString(")")
case "246E", // [CIRCLED NUMBER FIFTEEN]
"24EF": // [NEGATIVE CIRCLED NUMBER FIFTEEN]
buffer.WriteString("1")
buffer.WriteString("5")
case "2496": // [NUMBER FIFTEEN FULL STOP]
buffer.WriteString("1")
buffer.WriteString("5")
buffer.WriteString(".")
case "2482": // [PARENTHESIZED NUMBER FIFTEEN]
buffer.WriteString("(")
buffer.WriteString("1")
buffer.WriteString("5")
buffer.WriteString(")")
case "246F", // [CIRCLED NUMBER SIXTEEN]
"24F0": // [NEGATIVE CIRCLED NUMBER SIXTEEN]
buffer.WriteString("1")
buffer.WriteString("6")
case "2497": // [NUMBER SIXTEEN FULL STOP]
buffer.WriteString("1")
buffer.WriteString("6")
buffer.WriteString(".")
case "2483": // [PARENTHESIZED NUMBER SIXTEEN]
buffer.WriteString("(")
buffer.WriteString("1")
buffer.WriteString("6")
buffer.WriteString(")")
case "2470", // [CIRCLED NUMBER SEVENTEEN]
"24F1": // [NEGATIVE CIRCLED NUMBER SEVENTEEN]
buffer.WriteString("1")
buffer.WriteString("7")
case "2498": // [NUMBER SEVENTEEN FULL STOP]
buffer.WriteString("1")
buffer.WriteString("7")
buffer.WriteString(".")
case "2484": // [PARENTHESIZED NUMBER SEVENTEEN]
buffer.WriteString("(")
buffer.WriteString("1")
buffer.WriteString("7")
buffer.WriteString(")")
case "2471", // [CIRCLED NUMBER EIGHTEEN]
"24F2": // [NEGATIVE CIRCLED NUMBER EIGHTEEN]
buffer.WriteString("1")
buffer.WriteString("8")
case "2499": // [NUMBER EIGHTEEN FULL STOP]
buffer.WriteString("1")
buffer.WriteString("8")
buffer.WriteString(".")
case "2485": // [PARENTHESIZED NUMBER EIGHTEEN]
buffer.WriteString("(")
buffer.WriteString("1")
buffer.WriteString("8")
buffer.WriteString(")")
case "2472", // [CIRCLED NUMBER NINETEEN]
"24F3": // [NEGATIVE CIRCLED NUMBER NINETEEN]
buffer.WriteString("1")
buffer.WriteString("9")
case "249A": // [NUMBER NINETEEN FULL STOP]
buffer.WriteString("1")
buffer.WriteString("9")
buffer.WriteString(".")
case "2486": // [PARENTHESIZED NUMBER NINETEEN]
buffer.WriteString("(")
buffer.WriteString("1")
buffer.WriteString("9")
buffer.WriteString(")")
case "2473", // [CIRCLED NUMBER TWENTY]
"24F4": // [NEGATIVE CIRCLED NUMBER TWENTY]
buffer.WriteString("2")
buffer.WriteString("0")
case "249B": // [NUMBER TWENTY FULL STOP]
buffer.WriteString("2")
buffer.WriteString("0")
buffer.WriteString(".")
case "2487": // [PARENTHESIZED NUMBER TWENTY]
buffer.WriteString("(")
buffer.WriteString("2")
buffer.WriteString("0")
buffer.WriteString(")")
case "AB", // [LEFT-POINTING DOUBLE ANGLE QUOTATION MARK]
"BB", // [RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK]
"201C", // [LEFT DOUBLE QUOTATION MARK]
"201D", // [RIGHT DOUBLE QUOTATION MARK]
"201E", // [DOUBLE LOW-9 QUOTATION MARK]
"2033", // [DOUBLE PRIME]
"2036", // [REVERSED DOUBLE PRIME]
"275D", // [HEAVY DOUBLE TURNED COMMA QUOTATION MARK ORNAMENT]
"275E", // [HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENT]
"276E", // [HEAVY LEFT-POINTING ANGLE QUOTATION MARK ORNAMENT]
"276F", // [HEAVY RIGHT-POINTING ANGLE QUOTATION MARK ORNAMENT]
"FF02": // [FULLWIDTH QUOTATION MARK]
buffer.WriteString("\"")
case "2018", // [LEFT SINGLE QUOTATION MARK]
"2019", // [RIGHT SINGLE QUOTATION MARK]
"201A", // [SINGLE LOW-9 QUOTATION MARK]
"201B", // [SINGLE HIGH-REVERSED-9 QUOTATION MARK]
"2032", // [PRIME]
"2035", // [REVERSED PRIME]
"2039", // [SINGLE LEFT-POINTING ANGLE QUOTATION MARK]
"203A", // [SINGLE RIGHT-POINTING ANGLE QUOTATION MARK]
"275B", // [HEAVY SINGLE TURNED COMMA QUOTATION MARK ORNAMENT]
"275C", // [HEAVY SINGLE COMMA QUOTATION MARK ORNAMENT]
"FF07": // [FULLWIDTH APOSTROPHE]
buffer.WriteString("'")
case "2010", // [HYPHEN]
"2011", // [NON-BREAKING HYPHEN]
"2012", // [FIGURE DASH]
"2013", // [EN DASH]
"2014", // [EM DASH]
"207B", // [SUPERSCRIPT MINUS]
"208B", // [SUBSCRIPT MINUS]
"FF0D": // [FULLWIDTH HYPHEN-MINUS]
buffer.WriteString("-")
case "2045", // [LEFT SQUARE BRACKET WITH QUILL]
"2772", // [LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT]
"FF3B": // [FULLWIDTH LEFT SQUARE BRACKET]
buffer.WriteString("[")
case "2046", // [RIGHT SQUARE BRACKET WITH QUILL]
"2773", // [LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT]
"FF3D": // [FULLWIDTH RIGHT SQUARE BRACKET]
buffer.WriteString("]")
case "207D", // [SUPERSCRIPT LEFT PARENTHESIS]
"208D", // [SUBSCRIPT LEFT PARENTHESIS]
"2768", // [MEDIUM LEFT PARENTHESIS ORNAMENT]
"276A", // [MEDIUM FLATTENED LEFT PARENTHESIS ORNAMENT]
"FF08": // [FULLWIDTH LEFT PARENTHESIS]
buffer.WriteString("(")
case "2E28": // [LEFT DOUBLE PARENTHESIS]
buffer.WriteString("(")
buffer.WriteString("(")
case "207E", // [SUPERSCRIPT RIGHT PARENTHESIS]
"208E", // [SUBSCRIPT RIGHT PARENTHESIS]
"2769", // [MEDIUM RIGHT PARENTHESIS ORNAMENT]
"276B", // [MEDIUM FLATTENED RIGHT PARENTHESIS ORNAMENT]
"FF09": // [FULLWIDTH RIGHT PARENTHESIS]
buffer.WriteString(")")
case "2E29": // [RIGHT DOUBLE PARENTHESIS]
buffer.WriteString(")")
buffer.WriteString(")")
case "276C", // [MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT]
"2770", // [HEAVY LEFT-POINTING ANGLE BRACKET ORNAMENT]
"FF1C": // [FULLWIDTH LESS-THAN SIGN]
buffer.WriteString("<")
case "276D", // [MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT]
"2771", // [HEAVY RIGHT-POINTING ANGLE BRACKET ORNAMENT]
"FF1E": // [FULLWIDTH GREATER-THAN SIGN]
buffer.WriteString(">")
case "2774", // [MEDIUM LEFT CURLY BRACKET ORNAMENT]
"FF5B": // [FULLWIDTH LEFT CURLY BRACKET]
buffer.WriteString("{")
case "2775", // [MEDIUM RIGHT CURLY BRACKET ORNAMENT]
"FF5D": // [FULLWIDTH RIGHT CURLY BRACKET]
buffer.WriteString("}")
case "207A", // [SUPERSCRIPT PLUS SIGN]
"208A", // [SUBSCRIPT PLUS SIGN]
"FF0B": // [FULLWIDTH PLUS SIGN]
buffer.WriteString("+")
case "207C", // [SUPERSCRIPT EQUALS SIGN]
"208C", // [SUBSCRIPT EQUALS SIGN]
"FF1D": // [FULLWIDTH EQUALS SIGN]
buffer.WriteString("=")
case "FF01": // [FULLWIDTH EXCLAMATION MARK]
buffer.WriteString("!")
case "203C": // [DOUBLE EXCLAMATION MARK]
buffer.WriteString("!")
buffer.WriteString("!")
case "2049": // [EXCLAMATION QUESTION MARK]
buffer.WriteString("!")
buffer.WriteString("?")
case "FF03": // [FULLWIDTH NUMBER SIGN]
buffer.WriteString("#")
case "FF04": // [FULLWIDTH DOLLAR SIGN]
buffer.WriteString("$")
case "2052", // [COMMERCIAL MINUS SIGN]
"FF05": // [FULLWIDTH PERCENT SIGN]
buffer.WriteString("%")
case "FF06": // [FULLWIDTH AMPERSAND]
buffer.WriteString("&")
case "204E", // [LOW ASTERISK]
"FF0A": // [FULLWIDTH ASTERISK]
buffer.WriteString("*")
case "FF0C": // [FULLWIDTH COMMA]
buffer.WriteString(",")
case "FF0E": // [FULLWIDTH FULL STOP]
buffer.WriteString(".")
case "2044", // [FRACTION SLASH]
"FF0F": // [FULLWIDTH SOLIDUS]
buffer.WriteString("/")
case "FF1A": // [FULLWIDTH COLON]
buffer.WriteString(":")
case "204F", // [REVERSED SEMICOLON]
"FF1B": // [FULLWIDTH SEMICOLON]
buffer.WriteString(";")
case "FF1F": // [FULLWIDTH QUESTION MARK]
buffer.WriteString("?")
case "2047": // [DOUBLE QUESTION MARK]
buffer.WriteString("?")
buffer.WriteString("?")
case "2048": // [QUESTION EXCLAMATION MARK]
buffer.WriteString("?")
buffer.WriteString("!")
case "FF20": // [FULLWIDTH COMMERCIAL AT]
buffer.WriteString("@")
case "FF3C": // [FULLWIDTH REVERSE SOLIDUS]
buffer.WriteString("\\")
case "2038", // [CARET]
"FF3E": // [FULLWIDTH CIRCUMFLEX ACCENT]
buffer.WriteString("^")
case "FF3F": // [FULLWIDTH LOW LINE]
buffer.WriteString("_")
case "2053", // [SWUNG DASH]
"FF5E": // [FULLWIDTH TILDE]
buffer.WriteString("~")
default:
buffer.WriteRune(r)
}
return buffer.String()
}
| go |
organized a one week camp from 27th February 2020 to 04th March 2020under the auspices of Dr.C. JothiVenkateswaran, Director (FAC), Collegiate Education. The camp was conducted in the premises of Slum Clearance Board Residence. Awareness programmes on cleanliness and savings were conducted for the residents. Rallies to create awareness on women’s safety were also undertaken. The camp’s valedictory function was conducted on 04th March 2020.
| english |
<reponame>ferrerguzman/programacion_movil<filename>progm/23-08-2016.html<gh_stars>0
<!DOCTYPE html>
<html lang="es">
<head>
<title>Hola Web Movil</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<div data-role="page" id="inicio">
<div data-role="header">
<h1>Hola web movil</h1>
</div>
<div data-role="content">
<h1>Bienvenidos</h1>
<p>Bienvenido a nuestra primera web movil el cual sera el mejor sitio movil que haya visitado, una ves que coloquemos algun contenido y tengamos algun plan de negociopero la parte mas dificil ya esta hecho
<br>
<br>
<!--<a href="#acercade" data-transition="pop">Hecho por</a>-->
<!--<a href="#acercade" data-transition="slide">Hecho por</a>-->
<!--<a href="#acercade" data-transition="slideup">Hecho por</a>-->
<!--<a href="#acercade" data-transition="slidedown">Hecho por</a>-->
<!--<a href="#acercade" data-transition="fade">Hecho por</a>-->
<a href="#acercade" data-transition="flip">Hecho por</a><!--tipo de transisiones-->
</p>
<h2>HUAWEI<br><a href="23-08-2016--2.html" data-transition="slideup">ver imagen</a></h2>
</div>
<div data-role="footer">
<h1>UNITEK-Puno</h1>
</div>
</div>
/*acerca de*/
<div data-role="page" id="acercade" >
<div data-role="header">
<h1>Hola web movil</h1>
</div>
<div data-role="content">
<h1>Acerca De</h1>
<p>Sitio movil construido por: <NAME>
<br>
<br>
<a href="#inicio">Volver a:</a>
</p>
</div>
<div data-role="footer">
<h1>UNITEK-Puno</h1>
</div>
</div>
</body>
</html> | html |
If you’ve got a Samsung Galaxy phone you can expect it to get some new features in the coming months, as Android 14 is due to land later this year, and a large number of Samsung handsets will be eligible for it.
It’s no secret which devices those are, as Samsung has stated how many years of updates you can expect from each of its phones, but SamMobile has done the hard work and created a list of all the handsets that will therefore be getting Android 14.
They include every Galaxy S model from the Samsung Galaxy S21 onwards, including the Samsung Galaxy S21 FE and of course the Samsung Galaxy S23 series.
The Samsung Galaxy Z Fold 4 and Samsung Galaxy Z Flip 4 will also get updated to Android 14, as will the Samsung Galaxy Z Fold 3 and the Samsung Galaxy Z Flip 3.
That’s the flagships taken care of, but Samsung will also bring Android 14 to numerous Galaxy A models, including the Samsung Galaxy A73, A72, A54, A53, A52, A52 5G, A52s, A34, A33, A24, A23, A14, A13, and the Galaxy A04s.
From the M series, you can expect the Samsung Galaxy M54, M53 5G, M33 5G, and M23 to get the Android 14 update, and from the Galaxy F series we should see the Samsung Galaxy F54, Galaxy F23, and Galaxy F14 5G get updated. Finally, the Samsung Galaxy Xcover 6 Pro is also in line for the update.
That’s all the phones covered, but you can also expect to get Android 14 on the Samsung Galaxy Tab S8, Samsung Galaxy Tab S8 Plus, and Samsung Galaxy Tab S8 Ultra.
As for when any of these devices will get Android 14, the finished operating system update will probably launch on Google Pixel devices in August or September, but based on past form it will likely be another two or three months before Samsung phones get it.
The Samsung Galaxy S23 series will probably be the first phones in line, and we’d predict an October or November roll out to them. The upcoming Samsung Galaxy Z Fold 5 and Samsung Galaxy Z Flip 5, along with the Samsung Galaxy Z Flip 4 and Z Fold 4, may well get the update at around the same time.
After that, you can expect Android 14 to gradually make its way to the other listed models, with newer and higher-profile devices likely to be given priority.
It’s an update that should be worth waiting for, as it will bring a lot of improvements and changes. This isn’t quite the same version of Android 14 as you’ll get on a Pixel phone; rather it will be overlaid with Samsung’s One UI 6.0, which will include its own enhancements.
We don’t yet know for sure what improvements we’ll see, but among the highlights of Android 14 are the ability to better customize your lock screen, and changes to app sideloading to make it more secure, while we might also see full support for passkeys with Android 14.
There’s also the ability to set different live wallpapers for home and lock screens, and a number of other improvements. We may well also see Samsung take the opportunity to tweak the look of One UI.
We should have a better idea of what the company has planned soon, as while the finished version of One UI 6.0 might not start rolling out until near the end of the year, we could see the beta become available for some of the best Samsung phones in or around August based on past form.
Get the hottest deals available in your inbox plus news, reviews, opinion, analysis, deals and more from the TechRadar team.
James is a freelance phones, tablets and wearables writer and sub-editor at TechRadar. He has a love for everything ‘smart’, from watches to lights, and can often be found arguing with AI assistants or drowning in the latest apps. James also contributes to 3G.co.uk, 4G.co.uk and 5G.co.uk and has written for T3, Digital Camera World, Clarity Media and others, with work on the web, in print and on TV.
| english |
<gh_stars>1-10
package com.foochane.awpay.controller;
import com.alipay.api.response.*;
import com.foochane.awpay.common.request.*;
import com.foochane.awpay.common.result.*;
import com.foochane.awpay.common.utils.IdWorker;
import com.foochane.awpay.service.AliPayService;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
@RestController
public class AlipayController {
@Resource
private AliPayService aliPayService;
@ResponseBody
@RequestMapping(value = "/ali/pay/order/create",method = RequestMethod.POST)
public Result<AlipayTradePagePayResponse> create(@RequestBody OrderCreateRequest request) {
if(StringUtils.isEmpty(request.getPayChannel())){
return Result.error(-1,"payChannel不能为空");
}
if(StringUtils.isEmpty(request.getProductId())){
return Result.error(-1,"productId不能为空");
}
if(StringUtils.isEmpty(request.getSubject())){
return Result.error(-1,"subject不能为空");
}
if(StringUtils.isEmpty(request.getBody())){
return Result.error(-1,"body不能为空");
}
if(StringUtils.isEmpty(request.getPayAmount())){
return Result.error(-1,"payAmount不能为空");
}
return aliPayService.create(request);
}
@ResponseBody
@RequestMapping(value = "/ali/pay/order/query",method = RequestMethod.POST)
public Result<AlipayTradeQueryResponse> query(@RequestBody OrderQueryRequest request) {
if(StringUtils.isEmpty(request.getOutTradeNo())){
return Result.error(-1,"outTradeNo不能为空");
}
return aliPayService.query(request);
}
@ResponseBody
@RequestMapping(value = "/ali/pay/order/close",method = RequestMethod.POST)
public Result<AlipayTradeCloseResponse> close(@RequestBody OrderCloseRequest request) {
if(StringUtils.isEmpty(request.getOutTradeNo())){
return Result.error(-1,"outTradeNo不能为空");
}
return aliPayService.close(request);
}
@ResponseBody
@RequestMapping(value = "/api/pay/order/refund",method = RequestMethod.POST)
public Result<AlipayTradeRefundResponse> query(@RequestBody OrderRefundRequest request) {
if(StringUtils.isEmpty(request.getOutTradeNo())){
return Result.error(-1,"outTradeNo不能为空");
}
if(StringUtils.isEmpty(request.getPayAmount())){
return Result.error(-1,"payAmount不能为空");
}
if(StringUtils.isEmpty(request.getRefundAmount())){
return Result.error(-1,"refundAmount不能为空");
}
if(StringUtils.isEmpty(request.getRefundReason())){
return Result.error(-1,"refundReason不能为空");
}
String outRefundNo = "R" + IdWorker.getId();
request.setOutRefundNo(outRefundNo);
return aliPayService.refund(request);
}
@ResponseBody
@RequestMapping(value = "/ali/pay/refund/query",method = RequestMethod.POST)
public Result<AlipayTradeFastpayRefundQueryResponse> query(@RequestBody RefundQueryRequest request) {
if(StringUtils.isEmpty(request.getOutTradeNo())){
return Result.error(-1,"outTradeNo不能为空");
}
return aliPayService.refundQuery(request);
}
}
| java |
Down 0-1 in the series, West Indies face an uphill task against Sri Lanka in the second Test.
Down 0-1 in the series, West Indies face an uphill task against Sri Lanka in the second Test. Though both sides are inexperienced, Sri Lanka are the less inexperienced of the two, which resulted in an easy win for the hosts. Sri Lanka will now aim to clinch the inaugural edition of Sobers-Tissera Trophy at P Sara Oval at Colombo. Sri Lanka, winning the first of the two-Test series with ease, looks high in confidence. West Indies, on the other hand, need to forget that defeat in order to put up a battle of any sort. The match, where the host team Sri Lanka would like to carry forward the victorious stretch while West Indies will try to bounce back and level the series, is surely going to be a treat for the viewers. Live Cricket Scorecard: Sri Lanka vs West Indies 2015, 2nd Test at Colombo (PSS)
Sri Lanka had opted to bat in the first Test. Though Kemar Roach removed Kaushal Silva early, Dimuth Karunaratne played a crucial knock. He held one end up as Lahiru Thirimanne made a quick exit. It wasn’t until Dinesh Chandimal arrived that Karunaratne got support of any kind. Before the end of Day One West Indies were able to break through the Lankan batting only twice. Karunaratne completed his century and was being well accompanied by Chandimal. Sri Lanka’s first innings ended on 484, the highlights being Karunaratne’s 186, Chandimal’s 151 and a solid 48 from Angelo Mathews. Devendra Bishoo made a mark with his four wickets including that of Thirimanne.
Up against the huge total, West Indies never looked comfortable as wickets kept falling in regular intervals. Only Marlon Samuels reached 50 as West Indies crumbled for 251 for all and were asked to follow-on. This time Jermaine Blackwood contributed with 92, but Sri Lanka clinched an innings victory as Rangana Herath — not for the first time in his career — took 10 wickets in the Test.
Top-order: Kraigg Brathwaite opening the innings with Shai Hope leaves the crucial spot of No. 3 for the current most dependable batsman in the team, Darren Bravo. Though Bravo has done a decent job in the past, neither Brathwaite nor Hope has performed. The selectors may want to have a look at Rajendra Chandrika.
Middle order: Blackwood can be pushed up the order to occupy No. 4. In the previous match, he missed narrowly on his century and emerged as the highest run getter for West Indies in that match. That would leave No. 5 open for Samuels can provide support to the middle order. A case can be made for Shane Dowrich as well. With Denesh Ramdin and Jason Holder in the side, the middle-order is probably not as brittle as it seems.
Bowling: As far as bowling is concerned, Roach and Bishoo are sure to be retained looking at the experience and performance respectively. While Jerome Taylor holds his place strong in the team, Shannon Gabriel can make way for Jomel Warrican. With an impressive First-Class career and 3 good wickets against the Australia XI earlier this year, Warrican may be a game-changer to make a permanent spot in the squad.
West Indies likely XI for 2nd Test against Sri Lanka: Kraigg Brathwaite / Shai Hope / Rajendra Chandrika (two of three), Darren Bravo, Jermaine Blackwood, Marlon Samuels, Denesh Ramdin (wk), Jason Holder (c), Devendra Bishoo, Kemar Roach, Jerome Taylor and Jomel Warrican.
(Paulami Chakraborty, a singer, dancer, artist, and photographer, loves the madness of cricket and writes about the game. She can be followed on Twitter at @Polotwitts) | english |
<filename>archive/2017/teamData/66.json
{"id":66,"university":{"fullName":"St. Petersburg Academic University","shortName":"St. Petersburg AU","region":"Europe","hashTag":"SPBAU","url":"http://www.spbau.ru","myIcpcId":"313272","appearances":4,"wins":0,"gold":0,"silver":0,"bronze":0,"regionalChampionships":0},"team":{"name":"SPb AU 3: Bandity","regionals":["The 2016 Northeastern Europe Regional Contest, 12th","The 2016 Northern Subregional Contest, 6th"],"openCupPlace":50,"openCupTimes":15},"coach":{"name":"<NAME>","altNames":["<NAME>"],"tcHandle":"Burunduk1","tcId":"15868491","tcRating":2940,"cfHandle":"Burunduk1","cfRating":2773,"ioiID":"2089","achievements":[{"achievement":"ACM ICPC gold medal (2009)","priority":8001},{"achievement":"ACM ICPC bronze medal (2008)","priority":4001},{"achievement":"World Finals coach (2015, 2016)","priority":1002},{"achievement":"GCJ 3rd (2010)","priority":101},{"achievement":"TCO Finalist (2008)","priority":76},{"achievement":"IOI Gold Medalist (2005, 2006)","priority":52},{"achievement":"GCJ Finalist (2012)","priority":51},{"achievement":"TCCC Semifinalist (2007)","priority":51},{"achievement":"TCO Semifinalist (2012)","priority":51},{"achievement":"RCC Finalist (2011, 2012, 2014-2016)","priority":30}]},"contestants":[{"name":"<NAME>","altNames":["<NAME>"],"tcRating":-1,"cfHandle":"MZuev","cfRating":2067,"achievements":[]},{"name":"<NAME>","altNames":["<NAME>"],"tcHandle":"tehnar","tcId":"23141252","tcRating":1501,"cfHandle":"Tehnar","cfRating":2224,"achievements":[]},{"name":"<NAME>","altNames":["<NAME>"],"tcHandle":"ZhNV","tcId":"40044445","tcRating":1511,"cfHandle":"ZhNV","cfRating":2400,"achievements":[]}]} | json |
<filename>tests/runtime/rpc/device/conftest.py
import pytest
def pytest_addoption(parser):
parser.addoption(
"--edgetest",
action="store_true",
default=False,
help="run edge tests: rpc server should be launched on the edge device in advance",
)
parser.addoption(
"--tvm_target_device",
action="store",
default="jetson-xavier-nx",
help="Specify the name of the yaml file under config/tvm_target, it will be loaded as TVMConfig for TVM compilation for edge devices.",
)
parser.addoption("--rpc_host", action="store")
parser.addoption("--rpc_port", action="store", type=int, default=5051)
def pytest_configure(config):
config.addinivalue_line("markers", "edgetest: mark test to run rpc test")
def pytest_collection_modifyitems(config, items):
if config.getoption("--edgetest"):
return
edgetest = pytest.mark.skip(reason="need --edgetest option to run")
for item in items:
if "edgetest" in item.keywords:
item.add_marker(edgetest)
| python |
<gh_stars>1-10
{"article": "It was like any other mid-September day.I was teaching maths, like I typically did each day at 10:00 a.m..Students were busy working on the _ I previously asked.All you could _ was the sound of pencil tips tapping the desks. \"Boys and girls, eyes up here please.\" As expected, students focused on me, eager, ready, _ .\"I need a volunteer to write the answer on the board.\" A silent sea of _ shot up into the air.I quickly looked at the hands raised, and tnen _ my eyes on one hand in particular, a hand different from the rest,.<NAME>'s hand. <NAME> was a little boy with Cerebral Palsy . His balance was shaky and he could easily be knocked over .His body was very rigid and his movements were never smooth.His writing was at most times unreadable, and speaking was difficult for him.Everything was a( n) _ for <NAME>. However, John loved _ and would come every day with a smile on his face.His determination to succeed was remarkable for a child so young who was facing so many _ in his daily life. Getting back to the maths lesson, students were waiting to be called.One of those _ hands was <NAME>' s. \"John, come on up and answer the question.\" I called. He got out of his seat _ and walked to the front.His moving was _ and with each shaky step, it looked as if the slightest misstep could lead to him falling over.All eyes were on him.The class was _ .He made it up to the board after spending so much energy to get there.As I gave him the chalk I thought to myself. \"What have I just done? Did I set him up to _ ? What if he gives a wrong answer?\" I was getting really _ . Grasping the chalk and with great _ , he wrote down the answer, which looked as if a kindergartener wrote it, but was at least _ .Immediately a sense of _ overcame me.\" Excellent job! <NAME>, you are right!\" I said _ .At that very moment, my entire class spontaneously began clapping for him.John stood there, smiling the biggest smile.He was admired for his strong will and _ . That moment left an unforgettable mark on my heart.", "options": [["story", "picture", "question", "project"], ["hear", "see", "tell", "write"], ["thinking", "waiting", "observing", "discussing"], ["hands", "books", "pencils", "papers"], ["lowered", "narrowed", "fixed", "rolled"], ["competition", "experience", "adventure", "challenge"], ["maths", "life", "school", "teachers"], ["choices", "dangers", "pressures", "barriers"], ["eager", "firm", "shaky", "powerful"], ["proudly", "hurriedly", "nervously", "slowly"], ["awkward", "steady", "cautious", "unnatural"], ["hopeful", "silent", "noisy", "calm"], ["help", "regret", "fail", "practise"], ["curious", "worried", "puzzled", "annoyed"], ["patience", "effort", "courage", "concern"], ["objective", "relevant", "readable", "creative"], ["honor", "guilt", "privilege", "relief"], ["interestedly", "anxiously", "excitedly", "formally"], ["drive", "potential", "diligence", "talent"]], "answers": ["C", "A", "B", "A", "C", "D", "C", "D", "A", "D", "A", "B", "C", "B", "B", "C", "D", "C", "A"]} | json |
The BJP in Bihar received a shot in the arm on Sunday with Chirag Paswan, head of Lok Janshakti Party (Ram Vilas), announcing that he will support its candidates in the bypolls to a couple of assembly seats scheduled next week.
Mr Paswan, who arrived from Delhi, told reporters at the Patna airport that he will also campaign for the BJP's candidates in Mokama and Gopalganj where it is locked in a stiff contest with a resurgent RJD.
The by-elections are being seen as the first test of strength for the BJP, weakened after Chief Minister Nitish Kumar's exit from the NDA two months ago, and the "Mahagathbandhan" helmed by RJD which is enjoying power with the Chief Minister's JD(U) as an ally.
(Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed. ) | english |
Union Minister for Environment, Forest and Climate Change Bhupender Yadav on Saturday said that the cheetahs will remain in the Kuno national park in Madhya Pradesh and asserted that the project will be successful, reported PTI.
Eight cheetah have died in less than four months. Twenty cheetahs were translocated from South Africa and Namibia.
Sasha was the first cheetah to die due to a kidney ailment on March 27. The second feline, Uday, died due to cardio-pulmonary failure on April 24. The third one, Daksha, died during a mating attempt on May 9. Three cubs born in India also died in May. The seventh cheetah, Tejas, died on Tuesday.
Yadav made the comments after experts raised concerns that some recent deaths could possibly be due to infection caused by radio collars, according to PTI.
Rajesh Gopal, the head of the cheetah monitoring committee set up by the National Tiger Conservation Authority, said the reason for the deaths could be septicemia from radio collar.
Gopal said it was possible that aberrations and humid weather could lead to infection from the collar.
Vincent van der Merwe, a South Africa expert on cheetah metapopulation, also suggested that septicemia could be possible reason of the death of two cheetahs this week.
The reason is not clear behind the death Suraj, who died in Saturday. But, the autopsy of Tejas showed that the feline was unable to recover from a “traumatic shock” after a violent fight with a female cheetah.
Merwe said that extreme wet conditions are causing the radio collars to create infection and that could be a possible reason behind fatalities.
Experts have also said India does not have the habitat or prey species for African cheetahs and that the project may not fulfil its aim of grassland conservation.
On Friday, state Forest Minister Vijay Shah said the exact cause of Suraj’s death will be known after postmortem. On other fatalities, Shah said that the three cubs that died were malnourished from birth itself while other deaths were from fights during mating or eating, which is common among animals.
The cheetahs were reintroduced to India seven decades after the species was declared extinct in the country. The cheetah was officially declared extinct by the Indian government in 1952. The wild cats were last recorded in the country in 1948, when three cheetahs were shot in the Sal forests in Chhattisgarh’s Koriya District.
In February, Prime Minister Narendra Modi had said that India has a chance to restore an element of biodiversity that had been lost long ago by reintroducing the felines.
In June, Union Environment Minister Bhupender Yadav had said that the government takes full responsibility for the deaths of the cheetahs.
| english |
package pbuitl
import (
uipb "fgame/fgame/common/codec/pb/ui"
)
func BuildSCClick() *uipb.SCClick {
scClick := &uipb.SCClick{}
return scClick
}
| go |
import React from 'react';
import styled from 'styled-components';
import { middle, darkest, light } from '../vars';
import months from '../constants/months';
import UiStore from '../stores/UiStore';
import { observer } from 'mobx-react';
import emitter from '../uiEmitter';
import anime from 'animejs';
import { findDOMNode } from 'react-dom';
import throttle from 'lodash/throttle';
const Container = styled.div`
position: fixed;
z-index: 20;
right: 0px;
top: 50%;
transform: translateY(-50%);
border: 1px solid ${darkest};
border-radius: 5px 0 0 5px;
opacity: 0;
@media (max-width: 730px) {
margin-top: -20px;
}
`;
const Part = styled.div`
color: #fff;
background: ${props => (props.selected ? light : middle)};
padding: 10px 20px;
border-bottom: 1px solid ${darkest};
cursor: pointer;
text-transform: uppercase;
font-size: 14px;
transition: background 0.3s ease;
&:last-child {
border-bottom: 0;
}
@media (max-width: 730px) {
font-size: 12px;
padding: 5px 12px;
}
`;
@observer
class MonthPicker extends React.Component {
wrapper = React.createRef();
show = () => {
anime({
targets: findDOMNode(this.wrapper.current),
opacity: [0, 1],
translateY: ['-50%', '-50%'],
translateX: [100, 0],
begin: () => {
emitter.emit('showHeader');
}
});
};
setScrollListener = () => {};
componentDidMount() {
emitter.on('pageLoaded', this.show);
this.setScrollListener();
}
componentWillUnmount() {
emitter.off('pageLoaded', this.show);
}
render() {
const { selectedMonth, setSelectedMonth } = UiStore;
return (
<Container innerRef={this.wrapper}>
{months.map(date => (
<Part
onClick={() => setSelectedMonth(date)}
selected={selectedMonth === date}
key={date}
>
{date}
</Part>
))}
</Container>
);
}
}
export default MonthPicker;
| javascript |
/* ###
* IP: GHIDRA
*
* 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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/// \file pcodeinject.hh
/// \brief Classes for managing \b p-code \b injection.
#ifndef __PCODEINJECT__
#define __PCODEINJECT__
#include "emulateutil.hh"
class Architecture;
/// \brief An input or output parameter to a p-code injection payload
///
/// Within the chunk of p-code being injected, this is a placeholder for Varnodes
/// that serve as inputs or outputs to the chunk, which are filled-in in the context
/// of the injection. For instance, for a \e call-fixup that injects a user-defined
/// p-code op, the input Varnodes would be substituted with the actual input Varnodes
/// to the user-defined op.
class InjectParameter {
friend class InjectPayload;
string name; ///< Name of the parameter (for use in parsing p-code \e source)
int4 index; ///< Unique index assigned (for cross referencing associated Varnode in the InjectContext)
uint4 size; ///< Size of the parameter Varnode in bytes
public:
InjectParameter(const string &nm,uint4 sz) :name(nm) { index = 0; size = sz; } ///< Constructor
const string &getName(void) const { return name; } ///< Get the parameter name
int4 getIndex(void) const { return index; } ///< Get the assigned index
uint4 getSize(void) const { return size; } ///< Get the size of the parameter in bytes
};
/// \brief Context needed to emit a p-code injection as a full set of p-code operations
///
/// P-code injection works by passing a pre-built template of p-code operations (ConstructTpl)
/// to an emitter (PcodeEmit), which makes the final resolution SLEIGH concepts like \e inst_next to
/// concrete Varnodes. This class contains the context dependent data to resolve:
/// - inst_start -- the address where the injection occurs
/// - inst_next -- the address of the instruction following (the instruction being injected)
/// - inst_dest -- Original destination of CALL being injected
/// - inst_ref -- Target of reference on injected instruction
/// - \<input> -- Input Varnode of the injection referenced by name
/// - \<output> -- Output Varnode of the injection referenced by name
class InjectContext {
public:
Architecture *glb; ///< Architecture associated with the injection
Address baseaddr; ///< Address of instruction causing inject
Address nextaddr; ///< Address of following instruction
Address calladdr; ///< If the instruction being injected is a call, this is the address being called
vector<VarnodeData> inputlist; ///< Storage location for input parameters
vector<VarnodeData> output; ///< Storage location for output
virtual ~InjectContext(void) {} ///< Destructor
virtual void clear(void) { inputlist.clear(); output.clear(); } ///< Release resources (from last injection)
/// \brief Save \b this context to an XML stream as a \<context> tag
///
/// \param s is the output stream
virtual void saveXml(ostream &s) const=0;
};
/// \brief An active container for a set of p-code operations that can be injected into data-flow
///
/// This is an abstract base class. Derived classes manage details of how the p-code
/// is stored. The methods provide access to the input/output parameter information,
/// and the main injection is performed with inject().
class InjectPayload {
public:
enum {
CALLFIXUP_TYPE = 1, ///< Injection that replaces a CALL
CALLOTHERFIXUP_TYPE = 2, ///< Injection that replaces a user-defined p-code op, CALLOTHER
CALLMECHANISM_TYPE = 3, ///< Injection to patch up data-flow around the caller/callee boundary
EXECUTABLEPCODE_TYPE = 4 ///< Injection running as a stand-alone p-code script
};
protected:
string name; ///< Formal name of the payload
int4 type; ///< Type of this payload: CALLFIXUP_TYPE, CALLOTHERFIXUP_TYPE, etc.
bool dynamic; ///< True if the injection is generated dynamically
int4 paramshift; ///< Number of parameters shifted in the original call
vector<InjectParameter> inputlist; ///< List of input parameters to this payload
vector<InjectParameter> output; ///< List of output parameters
static void readParameter(const Element *el,string &name,uint4 &size);
void orderParameters(void); ///< Assign an index to parameters
public:
InjectPayload(const string &nm,int4 tp) { name=nm; type=tp; paramshift=0; dynamic = false; } ///< Construct for use with restoreXml
int4 getParamShift(void) const { return paramshift; } ///< Get the number of parameters shifted
bool isDynamic(void) const { return dynamic; } ///< Return \b true if p-code in the injection is generated dynamically
int4 sizeInput(void) const { return inputlist.size(); } ///< Return the number of input parameters
int4 sizeOutput(void) const { return output.size(); } ///< Return the number of output parameters
InjectParameter &getInput(int4 i) { return inputlist[i]; } ///< Get the i-th input parameter
InjectParameter &getOutput(int4 i) { return output[i]; } ///< Get the i-th output parameter
virtual ~InjectPayload(void) {} ///< Destructor
/// Perform the injection of \b this payload into data-flow.
///
/// P-code operations representing \b this payload are copied into the
/// controlling analysis context. The provided PcodeEmit object dictates exactly
/// where the PcodeOp and Varnode objects are inserted and to what container.
/// An InjectContext object specifies how placeholder elements become concrete Varnodes
/// in the appropriate context.
/// \param context is the provided InjectConject object
/// \param emit is the provovided PcodeEmit object
virtual void inject(InjectContext &context,PcodeEmit &emit) const=0;
virtual void restoreXml(const Element *el); ///< Restore \b this payload from an XML stream
virtual void printTemplate(ostream &s) const=0; ///< Print the p-code ops of the injection to a stream (for debugging)
string getName(void) const { return name; } ///< Return the name of the injection
int4 getType(void) const { return type; } ///< Return the type of injection (CALLFIXUP_TYPE, CALLOTHERFIXUP_TYPE, etc.)
virtual string getSource(void) const=0; ///< Return a string describing the \e source of the injection (.cspec, prototype model, etc.)
};
/// \brief A snippet of p-code that can be executed outside of normal analysis
///
/// Essentially a p-code script. The p-code contained in this snippet needs to be
/// processor agnostic, so any register Varnodes must be temporary (out of the \e unique space)
/// and any control-flow operations must be contained within the snippet (p-code relative addressing).
/// Input and output to the snippet/script is provided by standard injection parameters.
/// The class contains, as a field, a stripped down emulator to run the script and
/// a convenience method evaluate() to feed in concrete values to the input parameters
/// and return a value from a single output parameter.
class ExecutablePcode : public InjectPayload {
Architecture *glb; ///< The Architecture owning \b this snippet
string source; ///< Description of the source of \b this snippet
bool built; ///< Whether build() method has run, setting up the emulator
EmulateSnippet emulator; ///< The emulator
vector<uintb> inputList; ///< Temporary ids of input varnodes
vector<uintb> outputList; ///< Temporary ids of output varnodes
PcodeEmit *emitter; ///< Emitter (allocated temporarily) for initializing the emulator
void build(void); ///< Initialize the Emulate object with the snippet p-code
public:
ExecutablePcode(Architecture *g,const string &src,const string &nm); ///< Constructor
virtual ~ExecutablePcode(void) { if (emitter != (PcodeEmit *)0) delete emitter; }
virtual string getSource(void) const { return source; }
uintb evaluate(const vector<uintb> &input); ///< Evaluate the snippet on the given inputs
};
/// \brief A collection of p-code injection payloads
///
/// This is a container of InjectPayload objects that can be applied for a
/// specific Architecture. Payloads can be read in via XML (restoreXmlInject()) and manually
/// via manualCallFixup() and manualCallOtherFixup(). Each payload is assigned an integer \e id
/// when it is read in, and getPayload() fetches the payload during analysis. The library
/// also associates the formal names of payloads with the id. Payloads of different types,
/// CALLFIXUP_TYPE, CALLOTHERFIXUP_TYPE, etc., are stored in separate namespaces.
///
/// This is an abstract base class. The derived classes determine the type of storage used
/// by the payloads. The library also provides a reusable InjectContext object to match
/// the payloads, which can be obtained via getCachedContext().
class PcodeInjectLibrary {
protected:
Architecture *glb; ///< The Architecture to which the injection payloads apply
uintb tempbase; ///< Offset within \e unique space for allocating temporaries within a payload
vector<InjectPayload *> injection; ///< Registered injections
map<string,int4> callFixupMap; ///< Map of registered call-fixup names to injection id
map<string,int4> callOtherFixupMap; ///< Map of registered callother-fixup names to injection id
map<string,int4> callMechFixupMap; ///< Map of registered mechanism names to injection id
map<string,int4> scriptMap; ///< Map of registered script names to ExecutablePcode id
vector<string> callFixupNames; ///< Map from injectid to call-fixup name
vector<string> callOtherTarget; ///< Map from injectid to callother-fixup target-op name
vector<string> callMechTarget; ///< Map from injectid to call-mech name
vector<string> scriptNames; ///< Map from injectid to script name
void registerCallFixup(const string &fixupName,int4 injectid/* , vector<string> targets */);
void registerCallOtherFixup(const string &fixupName,int4 injectid);
void registerCallMechanism(const string &fixupName,int4 injectid);
void registerExeScript(const string &scriptName,int4 injectid);
/// \brief Allocate a new InjectPayload object
///
/// This acts as an InjectPayload factory. The formal name and type of the payload are given,
/// \b this library allocates a new object that fits with its storage scheme and returns the id.
/// \param sourceName is a string describing the source of the new payload
/// \param name is the formal name of the payload
/// \param type is the formal type (CALLFIXUP_TYPE, CALLOTHERFIXUP_TYPE, etc.) of the payload
/// \return the id associated with the new InjectPayload object
virtual int4 allocateInject(const string &sourceName,const string &name,int4 type)=0;
///\brief Finalize a payload within the library, once the payload is initialized
///
/// This provides the derived class the opportunity to add the payload name to the
/// symbol tables or do anything else it needs to once the InjectPayload object
/// has been fully initialized.
/// \param injectid is the id of the InjectPayload to finalize
virtual void registerInject(int4 injectid)=0;
public:
PcodeInjectLibrary(Architecture *g,uintb tmpbase) { glb = g; tempbase = tmpbase; } ///< Constructor
virtual ~PcodeInjectLibrary(void); ///< Destructor
uintb getUniqueBase(void) const { return tempbase; } ///< Get the (current) offset for building temporary registers
int4 getPayloadId(int4 type,const string &nm) const; ///< Map name and type to the payload id
InjectPayload *getPayload(int4 id) const { return injection[id]; } ///< Get the InjectPayload by id
string getCallFixupName(int4 injectid) const; ///< Get the call-fixup name associated with an id
string getCallOtherTarget(int4 injectid) const; ///< Get the callother-fixup name associated with an id
string getCallMechanismName(int4 injectid) const; ///< Get the call mechanism name associated with an id
int4 restoreXmlInject(const string &src,const string &nm,int4 tp,const Element *el);
/// \brief A method for reading in p-code generated externally for use in debugging
///
/// Instantiate a special InjectPayloadDynamic object initialized with an
/// \<injectdebug> tag. Within the library, this replaces the original InjectPayload,
/// allowing its p-code to be \e replayed for debugging purposes.
/// \param el is the \<injectdebug> element
virtual void restoreDebug(const Element *el) {}
/// \brief Manually add a call-fixup payload given a compilable snippet of p-code \e source
///
/// The snippet is compiled immediately to produce the payload.
/// \param name is the formal name of the new payload
/// \param snippetstring is the compilable snippet of p-code \e source
/// \return the id of the new payload
virtual int4 manualCallFixup(const string &name,const string &snippetstring)=0;
/// \brief Manually add a callother-fixup payload given a compilable snippet of p-code \e source
///
/// The snippet is compiled immediately to produce the payload. Symbol names for
/// input and output parameters must be provided to the compiler.
/// \param name is the formal name of the new payload
/// \param outname is the name of the output symbol
/// \param inname is the ordered list of input symbol names
/// \param snippet is the compilable snippet of p-code \e source
/// \return the id of the new payload
virtual int4 manualCallOtherFixup(const string &name,const string &outname,const vector<string> &inname,
const string &snippet)=0;
/// \brief Retrieve a reusable context object for \b this library
///
/// The object returned by this method gets passed to the payload inject() method.
/// The clear() method must be called between uses.
/// \return the cached context object
virtual InjectContext &getCachedContext(void)=0;
/// \brief Get the array of op-code behaviors for initializing and emulator
///
/// Behaviors are pulled from the underlying architecture in order to initialize
/// the Emulate object which services the \e p-code \e script payloads.
/// \return the array of OpBehavior objects indexed by op-code
virtual const vector<OpBehavior *> &getBehaviors(void)=0;
};
#endif
| cpp |
<reponame>nistefan/cmssw<filename>Alignment/CommonAlignmentProducer/plugins/AlignmentTrackSelectorModule.cc<gh_stars>1-10
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "CommonTools/UtilAlgos/interface/ObjectSelectorStream.h"
//the selectores used to select the tracks
#include "Alignment/CommonAlignmentProducer/interface/AlignmentTrackSelector.h"
#include "Alignment/CommonAlignmentProducer/interface/AlignmentGlobalTrackSelector.h"
#include "Alignment/CommonAlignmentProducer/interface/AlignmentTwoBodyDecayTrackSelector.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
// the following include is necessary to clone all track branches
// including recoTrackExtras and TrackingRecHitsOwned (in future also "owned clusters"?).
// if you remove it the code will compile, but the cloned
// tracks have only the recoTracks branch!
#include "CommonTools/RecoAlgos/interface/TrackSelector.h"
struct TrackConfigSelector {
typedef std::vector<const reco::Track*> container;
typedef container::const_iterator const_iterator;
typedef reco::TrackCollection collection;
TrackConfigSelector( const edm::ParameterSet & cfg, edm::ConsumesCollector && iC ) :
theBaseSelector(cfg, iC),
theGlobalSelector(cfg.getParameter<edm::ParameterSet>("GlobalSelector"), iC),
theTwoBodyDecaySelector(cfg.getParameter<edm::ParameterSet>("TwoBodyDecaySelector"), iC)
{
//TODO Wrap the BaseSelector into its own PSet
theBaseSwitch = theBaseSelector.useThisFilter();
theGlobalSwitch = theGlobalSelector.useThisFilter();
theTwoBodyDecaySwitch = theTwoBodyDecaySelector.useThisFilter();
}
const_iterator begin() const { return theSelectedTracks.begin(); }
const_iterator end() const { return theSelectedTracks.end(); }
size_t size() const { return theSelectedTracks.size(); }
void select( const edm::Handle<reco::TrackCollection> & c, const edm::Event & evt,
const edm::EventSetup& eSetup)
{
theSelectedTracks.clear();
for( reco::TrackCollection::const_iterator i=c.product()->begin();i!=c.product()->end();++i){
theSelectedTracks.push_back(& * i );
}
// might add EvetSetup to the select(...) method of the Selectors
if(theBaseSwitch)
theSelectedTracks=theBaseSelector.select(theSelectedTracks,evt,eSetup);
if(theGlobalSwitch)
theSelectedTracks=theGlobalSelector.select(theSelectedTracks,evt,eSetup);
if(theTwoBodyDecaySwitch)
theSelectedTracks=theTwoBodyDecaySelector.select(theSelectedTracks,evt,eSetup);
}
private:
container theSelectedTracks;
bool theBaseSwitch, theGlobalSwitch, theTwoBodyDecaySwitch;
AlignmentTrackSelector theBaseSelector;
AlignmentGlobalTrackSelector theGlobalSelector;
AlignmentTwoBodyDecayTrackSelector theTwoBodyDecaySelector;
};
typedef ObjectSelectorStream<TrackConfigSelector> AlignmentTrackSelectorModule;
DEFINE_FWK_MODULE( AlignmentTrackSelectorModule );
| cpp |
<reponame>benlesh/rxjs-web-animation
{
"name": "rxjs-web-animation",
"version": "0.0.7",
"description": "Reactive animations for the web with RxJS",
"main": "dist/rxjs-web-animation.umd.js",
"module": "dist/esm/index.js",
"typings": "dist/typings/index.d.ts",
"files": [
"dist/**/*.js"
],
"scripts": {
"build": "shx rm -rf dist/ && tsc -p tsconfig.json && rollup -c && tsc -p tsconfig.types.json",
"test": "test",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/benlesh/rxjs-web-animation.git"
},
"keywords": [
"rxjs",
"rx",
"animation"
],
"author": "<NAME> <<EMAIL>>",
"license": "MIT",
"bugs": {
"url": "https://github.com/benlesh/rxjs-web-animation/issues"
},
"homepage": "https://github.com/benlesh/rxjs-web-animation",
"dependencies": {
"typescript": "^3.5.3"
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.7",
"chai": "^4.2.0",
"mocha": "^6.1.4",
"rollup": "^1.16.7",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-typescript": "^1.0.1",
"rxjs": "^6.5.2",
"shx": "^0.3.2"
}
}
| json |
<reponame>NafenX/StS-DefaultModBase
{
"modid": "defaultmod",
"name": "Default Mod",
"author_list": ["Gremious"],
"description": "A base for Slay the Spire to start your own mod from.",
"version": "${project.version}",
"sts_version": "${SlayTheSpire.version}",
"mts_version": "${ModTheSpire.version}",
"dependencies": ["basemod", "stslib"],
"update_json": ""
}
| json |
The White House on Wednesday scrapped its attempt to appoint officials with ties to heavily polluting industries to powerful jobs at the Environmental Protection Agency. Earlier this month, President Bush indicated that he intended to bypass the Senate approval process for the nominees. The president can do this by making "recess appointments" when the Senate is on break.
But the two officials that Bush would have extended this munificence to have been widely criticized by the environmental and scientific communities for their past actions. William Wehrum, who the White House had tapped to become the head of the EPA's air pollution office, is a former lawyer for the chemical, utility and auto industries. As counsel for the EPA's air office, Wehrum found himself in a spot of trouble over mercury emissions.
Here's how Judy Pasternak at the LA Times described it:
"Wehrum...was counsel to the EPA's air office when controversy erupted over the agency's new standard for power-plant mercury emissions. The mercury rule contained paragraphs lifted verbatim from a memo by Latham & Watkins, Wehrum's former law firm, which represented utility companies affected by the rule. The agency's inspector general denounced the effort, saying it relied on industry input over science. Wehrum has acknowledged it was he who forwarded the language to EPA subordinates writing the rule."
The inspector general who criticized Wehrum would have been replaced by the White House's second EPA appointee, Alex Beehler, a former executive for an oil and gas conglomerate. Here's Pasternak on Beehler:
"Hired as the Pentagon's No. 2 environment manager in 2004, Beehler was involved in an ongoing effort to influence EPA consideration of a health standard for perchlorate, a rocket fuel component...[that] can damage thyroid function and impair fetal brain development [and] is contaminating water in at least 25 states, including California....EPA scientists had concluded that a drinking water standard of 1 part per billion would be necessary to protect fetuses. The Air Force, concerned about costly cleanups at military bases, said that was too low. Beehler was "the big boss" who met with the White House and the EPA on the perchlorate issue, according to the deposition of an Air Force colonel in a lawsuit filed by the Natural Resources Defense Council. Beehler said he "had absolutely no influence." Beehler angered the Senate environment committee when he wasn't able to produce records or minutes of his staff's frequent meetings with manufacturers and users of perchlorate."
| english |
Aditya Roy Kapur Denies Dating Diva Dhawan; Actor Still Not Ready To Publicly Acknowledge Their Relationship?
Every time Aditya Roy Kapur comes in the news, a chunk of it is also because of his alleged relationship with model-turned-actress, Diva Dhawan. It all started after the two were spotted exiting a restaurant post their dinner date in 2018. Reportedly, they had spilt in between, but are now back together. However, neither of Aditya or Diva has ever acknowledged their relationship on record. Aditya, in fact, has always maintained being only ‘good friends’ with Diva Dhawan. And his latest interview with Mumbai Mirror is on the similar lines.
The Fitoor actor said that he and Diva have been good friends for years; however, there’s nothing brewing between them. He also dismissed their marriage rumours. The actor was quoted as saying, “She gave a nice statement, saying there is no truth to it and I reiterated it. I guess it gathered steam after we went out for dinner. We have been friends for years and hadn’t met in a while. But we got papped and that’s where it started from. Marriage is something farfetched for me. I am in no hurry.” On the contrary, a source close to the couple revealed how Diva was spotted arriving at his residence a number of times. Read the full story here.
So, is Aditya still not ready to accept that he’s dating Diva? Only time will tell.
On the work front, Aditya Roy Kapur is presently gearing up for the release of Malang, which also stars Disha Patani, Anil Kapoor and Kunal Kemmu in the lead roles. It has been helmed by Mohit Suri and will release on February 7, 2020.
| english |
1 Utew zeyzey is etew he edtevang te menge egkaayuayu.
Su edtevangan sikandan te Nengazen emun timpu te kelised.
2 Egkelesaǥan sikandin te Nengazen wey edtipiǥan is untung din.
Edtuvazan sikandin te Nengazen kayi te tanà he Israel;
kenà sikandin ibeǥey ziyà te menge kuntada zin.
3 Edtevangan sikandin te Nengazen ke egkezeruwan;
ebewian din sikandin te egkeǥezam din.
4 Migkaǥi a te, “Nengazen, kehizuwi a kenikew.
5 Mezaat is migkaǥi te menge kuntada ku mehitenged kedì.
6 Uvag kun edleuyen e zan,
piru ebpen-ehè dan bes te mezaat he egketudtul zan mehitenged kediey.
Ne emun diyè dan en te ǥawas ne ebpenudtulen dan haazà diyà te zuma.
7 Is langun he egkeepes kedì ne ebpenèneesà mehitenged kediey,
ne ed-isip-isip dan te mezaat ke ebmenumenu zan para mezeeti a.
8 Ke sikandan te, “Utew en gerabi is daru zin,
9 Minsan is emiǥu ku utew he egkeseriǥan ku he mibpekidtuǥen kedì te egkaan ne iyan midluib kedì.
10 Piru sikew, Nengazen, kehizuwi a kenikew;
bewii a kenikew su wey a mekevales te menge kuntada ku.
11 Ne egketuenan ku he nekepenunuat a kenikew,
su kenè nu idtuǥut he mezaag a te menge kuntada ku.
12 Tenged te wazà mezaat he vaal ku, ne idtuǥut nu he mekeubpà a zuma kenikew te wazà pidtemanan.
13 Edeliǥen is Nengazen he Megbevayà te Israel te wazà pidtemanan. Amen! Amen!
| english |
Some dealers are throwing cash on the hood, while others are tacking on premiums.
Automakers may have a suggested retail price, but the final word is with the dealers. That's why shopping for a new Chevrolet Bolt EV might be a little tricky, depending upon where you live.
Pricing for the battery-electric Bolt EV is all over the map -- literally. Only seven states are selling the car right now, Automotive News reports, but those states have wildly different markets, and thus pricing is a bit... disparate.
AN found one dealership in California offering to take $4,439 off the price of a Bolt EV. Other dealerships in the Golden State are incentivizing Bolt EV sales between $2,000 and $3,000. This is clearly a great thing for buyers in California, because once you add in the $7,500 federal tax incentive, it pushes the Bolt EV's price well below $30,000. For comparison, the average cost of a new car in 2016 was $34,077.
TrueCar's data shows an average national discount of $2,200 for the Bolt EV in February, an $800 bump over January.
It's not all roses around the US, though. AN noted that several dealers (from locations undisclosed) had their Bolt EVs marked up as much as $5,000. While a lack of manufacturer incentives means dealers cut into profits when cars are marked down, these premiums could bring in a sweet little profit.
Capitalism is a complicated thing. Dealerships occasionally mark up niche vehicles based on perceived demand, although it's more traditionally applied to high-end sports cars like the Nissan GT-R or Ford Shelby Mustang GT350R. The idea is that the market can bear the additional cost, and people will still line up to shell out. If they don't, the premium goes away, but it may come at a cost of future loyalty.
On the other hand, pricing like the building is on fire isn't going to pad anybody's profits -- in the short term, at least. In the long term, low prices and thinner commissions can foster loyalty. After all, you're probably more likely to gab about a joint if you got a sweet deal, which can drive additional customers in that direction, offsetting those lower prices with volume.
Prices will likely settle down over time, but if you're aching to become one of the first Bolt EV buyers in your respective state, it may be wise to do some comparison shopping between various dealerships.
| english |
<gh_stars>1-10
"""Save and Load model sample
See https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/4_Utils/save_restore_model.py
"""
import tensorflow as tf
import numpy as np
import matplotlib.pyplot as plt
from tensorflow.examples.tutorials.mnist import input_data
import os
# Initialize random weights
def init_weights(shape):
return tf.Variable(tf.random_normal(shape, stddev=0.01))
# Define model
def model(X, w_h, w_h2, w_o, p_keep_input, p_keep_hidden):
# 1st fully connected layer
X = tf.nn.dropout(X, p_keep_input) # Apply dropout to hidden layer
h = tf.nn.relu(tf.matmul(X, w_h))
h = tf.nn.dropout(h, p_keep_hidden) # Apply dropout to hidden layer
# 2nd fully connected layer
h2 = tf.nn.relu(tf.matmul(h, w_h2))
h2 = tf.nn.dropout(h2, p_keep_hidden) # Apply dropout to hidden layer
return tf.matmul(h2, w_o)
mnist = input_data.read_data_sets("MNIST_data/", one_hot=True)
trX, trY, teX, teY = mnist.train.images, mnist.train.labels, mnist.test.images, mnist.test.labels
X = tf.placeholder("float", [None, 784])
Y = tf.placeholder("float", [None, 10])
#Initialize weights
w_h = init_weights([784, 625]) # weight for 1st layer
w_h2 = init_weights([625, 625]) # Weight for 2nd layer
w_o = init_weights([625, 10])
p_keep_input = tf.placeholder("float")
p_keep_hidden = tf.placeholder("float")
# Create neural network model and get log probabilities
py_x = model(X, w_h, w_h2, w_o, p_keep_input, p_keep_hidden)
# Calculate the loss
loss = tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits_v2(logits=py_x, labels=Y))
# Train
train_op = tf.train.RMSPropOptimizer(0.001, 0.9).minimize(loss) # See https://www.tensorflow.org/api_docs/python/tf/train/RMSPropOptimizer
predict_op = tf.argmax(py_x, 1) # Returns the index with the largest value
# Define the store-model directory
ckpt_dir = "./ckpt_dir"
if not os.path.exists(ckpt_dir):
os.makedirs(ckpt_dir)
# Set a global step with trainable = false
global_step = tf.Variable(0, name='global_step', trainable=False)
# Call this after declaring all tf.Variables.
saver = tf.train.Saver()
# This variable won't be stored, since it is declared after tf.train.Saver()
non_storable_variable = tf.Variable(777)
# Launch the graph in a session
with tf.Session() as sess:
# you need to initialize all variables
tf.global_variables_initializer().run()
# Load last train state
ckpt = tf.train.get_checkpoint_state(ckpt_dir) # Returns CheckpointState proto from the "checkpoint" file
if ckpt and ckpt.model_checkpoint_path:
print(ckpt.model_checkpoint_path)
saver.restore(sess, ckpt.model_checkpoint_path) # restore all variables
start = global_step.eval() # get last global_step
print("Start from:", start)
for i in range(start, 100):
for start, end in zip(range(0, len(trX), 128), range(128, len(trX)+1, 128)):
sess.run(train_op, feed_dict={X: trX[start:end], Y: trY[start:end],
p_keep_input: 0.8, p_keep_hidden: 0.5})
global_step.assign(i+1).eval() # set and update(eval) global_step with index, i
saver.save(sess, ckpt_dir + "/model.ckpt", global_step=global_step)
print(i, np.mean(np.argmax(teY, axis=1) ==
sess.run(predict_op, feed_dict={X: teX,
p_keep_input: 1.0,
p_keep_hidden: 1.0})))
# If you want to only save the graph in to binary file
tf.train.write_graph(sess.graph_def, '/tmp/tfmodel','train.pbtxt')
| python |
<filename>ProtocolsConfigurations/Config_MPCHonestMajorityNoTriplesYehuda.json
{
"protocol":"MPCHonestMajorityNoTriplesYehuda",
"CloudProviders":
{
"aws":
{
"numOfParties":60,
"instanceType":"c5.xlarge",
"regions": ["us-east-1a"],
"git":
{
"gitBranch": ["master"],
"gitAddress": ["https://github.com/cryptobiu/MPCHonestMajorityNoTriplesYehuda.git"]
}
},
"scaleway":
{
"numOfParties":40,
"instanceType":"ARM64-2GB",
"regions": ["par1"],
"git":
{
"gitBranch": ["ARM"],
"gitAddress": ["https://github.com/cryptobiu/MPCHonestMajorityNoTriplesYehuda.git"]
}
}
},
"executableName":["MPCHonestMajorityNoTriplesYehuda"],
"configurations":
[
],
"numOfRepetitions":1,
"numOfInternalRepetitions":1,
"IsPublished": "false",
"isExternal": "false",
"workingDirectory": ["~/MPCHonestMajorityNoTriplesYehuda"],
"resultsDirectory": "~/MATRIX/Reporting/Results_New",
"emails":
[
"<EMAIL>",
"<EMAIL>",
"<EMAIL>",
"<EMAIL>"
],
"institute":"Bar Ilan Cyber Center"
}
| json |
<reponame>sdcuike/book-reading
package com.doctor.java.puzzle;
/**
* @author sdcuike
*
* @time 2016年1月31日 下午9:08:54
*
* java Puzzles 之 如何正确的判断奇数
*
* 如何正确的判断奇数=要考虑到正数、负数、零情况。
*/
public class Oddity {
public static void main(String[] args) {
System.out.println(isOddWrong(5));
System.out.println(isOdd(5));
System.out.println(isOddFastWay(5));
System.out.println(isOddWrong(-5));// 这种情况下,负数就失败了
System.out.println(isOdd(-5));
System.out.println(isOddFastWay(-5));
System.out.println((-5 % 2));// ,负数%得到的余数有正负号
System.out.println((0 % 2));// ,负数%得到的余数有正负号
}
/**
* 负数没考虑,负数%得到的余数有正负号
*
* @param i
* @return
*/
private static boolean isOddWrong(int i) {
return i % 2 == 1;
}
/**
* 正确的判定奇数,数学中的非思想-非偶数就是奇数
*
* @param i
* @return
*/
private static boolean isOdd(int i) {
return i % 2 != 0;
}
private static boolean isOddFastWay(int i) {
return (i & 1) != 0;
}
}
| java |
Nearly 2,040 kg of narcotic drugs and psychotropic substances were destroyed during an operation at Taloja on Wednesday.
In Mumbai, the crackdown on narcotic substances was carried out at the Mumbai Waste Management limited site at MIDC, Taloja. The substances included 1,064 kg of Methamphetamine, 238 kg of Mephedrone, 483 kg of Ephedrine and 204 kg of Madrax valued at Rs 225 crores. The crackdown was overseen by the chief commissioner of customs, Mumbai Zone III.
The operation came on a day the Indian Customs, under the Central Board of Indirect Taxes and Customs (CBIC), on Wednesday observed Drug Destruction Day across the country.
Union Finance Minister Nirmala Sitharaman, along with Revenue Secretary Tarun Bajaj, CBIC Chairman Vivek Johri and other senior Finance ministry officials virtually witnessed the drug destruction process at six locations, including Guwahati, Lucknow and Mumbai.
Across the country, 42 tonnes of narcotic drugs and psychotropic substances were destroyed during special operations carried out at 14 locations. | english |
Hong Kong/Frankfurt: The worst may be over for the world economy’s deepest slowdown in a decade.
A wave of interest-rate cuts by central banks including the Federal Reserve and mounting hopes of a U. S. -China trade deal are buoying confidence in financial markets just as key economic indicators show signs of stabilization after recent declines.
While a robust rebound may still not be on the cards, the relative improvement could put an end to the fears of just a few weeks ago that the world economy was barreling toward recession. Such an environment looks for now to be enough for Fed Chairman Jerome Powell and fellow monetary policy makers to take a pause from doling out monetary stimulus.
“We do see multiple reasons for a stabilization in global growth in 2020 versus 2019,” said David Mann, chief economist for Standard Chartered Plc in Singapore, who shares the International Monetary Fund’s expectation that global growth will accelerate next year.
Among the reasons for confidence: While JPMorgan Chase & Co. ’s global manufacturing index contracted for a sixth month in October, it inched closer toward positive territory as both output and orders firmed.
In the U. S. , the Institute for Supply Management’s gauge of factory activity stabilized in October while the government’s jobs report on Friday showed payroll gains exceeded forecasts and hiring in the previous two months was revised much higher. The ISM’s gauge of services is also showing signs of improvement.
In Europe, there are also tentative signs of health after it was squeezed by the trade war as well as Brexit. The euro-area economy expanded more than forecast in the third quarter and while Germany may already be in recession, the Ifo Institute reported that expectations among its manufacturers edged up in October.
As for Asia, inventories of semiconductors in South Korea fell the most in more than two years in September in a sign a slump in global technology is ending.
Financial markets are tuning into the optimism. U. S. stock benchmarks climbed to all-time highs on Monday and the yield on the 10-year Treasury note rose. European and Asian stocks have also advanced.
One key reason for the potential turn is the wave of interest-rate cuts from global central banks. Of the 57 institutions monitored by Bloomberg, more than half cut borrowing costs this year with the Fed doing so three times and the European Central Bank pushing its deposit rate further into negative territory. Rate cuts also operate with a lag so the positive effects of easier monetary policy have yet to fully flow through, meaning a further impulse likely awaits.
Powell last week hinted the U. S. central bank may be done reducing borrowing costs as he said the stance of policy was now “appropriate” to keep the economy growing moderately. “It would take a material change in the outlook for me to think that further accommodation would be required,” Fed Bank of San Francisco President Mary Daly said on Monday.
Also driving sentiment is that President Donald Trump and President Xi Jinping are on the cusp of signing “phase one” on a trade deal, which could be enough for global commerce to find a footing. China is reviewing locations in the U. S. where Xi would be willing to meet with Trump to sign a pact.
Meantime, U. S. Commerce Secretary Wilbur Ross said Washington has also enjoyed “good conversations” with automakers in the European Union, raising hopes that the Trump administration may not slap tariffs on imported automobiles this month.
Morgan Stanley economists reckon the contraction in global trade volumes likely narrowed in October, declining 0. 6% compared to 1. 3% in September. Retail, auto and semiconductor sales are all stabilizing, they said in a report this week.
Elsewhere in Europe, the risks of a so-called no-deal Brexit have also diminished after the EU extended the deadline on the U. K. ’s departure until the end of January and Prime Minister Boris Johnson called a December election in the hopes of breaking the impasse between politicians.
The soft landing scenario isn’t fully sealed. In May, similar hopes were building, only for Trump to ramp up tensions with China. While Washington and Beijing have signaled they’re getting closer to agreeing on the first phase of a deal, it’s not clear whether trade talks would continue toward a comprehensive agreement.
The strength of any revival may ultimately depend on the health of China’s economy, which expanded in the third quarter at its weakest pace in decades and where evidence of a bottoming out in demand remains tentative. | english |
South Korean soldiers deployed near the border with the North take ballet lessons as part of their training. The soldiers say it helps with flexibility and strengthens the muscles. Teacher Lee Hyang-jo, who dances with the Korean National Ballet, says it's a rewarding job. The soldiers are staging a ballet at the end of this year and hope to top last year's performance of part of Tchaikovsky's Swan Lake. | english |
Aurangabad, May 23:
The administration has given permission to open shops for essential items from 7 am to 11 am. The municipal administration has been taking action since Saturday as traders have been trading even after 12 noon for the past few days. However, on Sunday, a team from the municipal corporation who had gone to Rashidpura in Ganesh Colony area were manhandled. However, it is understood that the corporation officials have not lodged a complaint with the police in this regard.
The state government has announced strict restrictions till June 1 to prevent corona infection. The city has been bustling for the past few days. The main streets are crowded as usual. So on Saturday, the municipal administration set up ten squads to take action against citizens and traders violating the corona rules. On the first day, these teams took action against over 100 traders and collected a fine of Rs 2. 17 lakh. The teams started their operation on Sunday morning. A team under zone no 3 caught a trader at Rashidpura in Ganesh Colony area while transacting after the scheduled time. As soon as the squad rushed for the fine, some citizens of the area gathered. They pushed the officers and staff of the squad. The concerned trader was later fined. However, the officers and employees of the squad did not lodge a complaint with the police. | english |
<gh_stars>0
import React from 'react';
import HeatMap from '../../components/heat-map';
import bytesToSize from '../../lib/bytes-to-size';
import getProcessSamplePeriod from '../shared/get-process-sample-period';
const HEAT_MAPS = [
{
title: 'Response Time (ms)',
eventType: 'Transaction',
select: 'average(duration)*1000',
max: Math.round,
formatValue: value => `${Math.round(value)}ms`,
},
{
title: 'Throughput',
eventType: 'Transaction',
select: 'rate(count(*), 1 minute)',
max: Math.ceil,
formatValue: value => `${Math.round(value)} rpm`,
},
/* note for infra data, we are assuming 1 event per process per 15 seconds.
* since we are running a 1 minute query, divide the values by 4 for accuracy.*/
{
title: 'CPU',
eventType: 'ProcessSample',
select: 'sum(cpuPercent)/4',
max: max => Math.ceil(max / 100) * 100,
formatValue: value => `${Math.round(value)}%`,
},
{
title: 'Memory',
eventType: 'ProcessSample',
select: 'sum(memoryResidentSizeBytes)/4',
max: Math.round,
formatValue: bytesToSize,
},
{
title: 'I/O',
eventType: 'ProcessSample',
select: 'sum(ioReadBytesPerSecond+ioWriteBytesPerSecond)/4',
max: value => Math.round(Math.max(value, 1024)),
formatValue: value => `${bytesToSize(value)}/s`,
},
];
export default class ContainerHeatMap extends React.PureComponent {
componentDidMount() {
this.reload();
}
componentDidUpdate({ entity, infraAccount }) {
if (
entity != this.props.entity ||
infraAccount != this.props.infraAccount
) {
this.reload();
}
}
async reload() {
let { infraAccount, containerIds } = this.props;
const inClause = containerIds.map(c => `'${c}'`).join(', ');
const where = `containerId IN (${inClause})`;
const samplePeriod = await getProcessSamplePeriod(infraAccount.id, where);
const timeRange = `SINCE ${samplePeriod +
10} seconds ago until 10 seconds ago`;
this.setState({ samplePeriod, timeRange, where });
}
render() {
let { entity, infraAccount, selectContainer, containerId } = this.props;
const { timeRange, where } = this.state || {};
if (!infraAccount || !timeRange) return <div />;
return (
<div>
{HEAT_MAPS.map(({ title, select, formatValue, eventType, max }) => {
let accountId = entity.accountId;
// infra data could come from a different account than the entity
// note: infraAccount may not be found in which case, don't show
// a heatmap for infra metrics
// ALSO need a different time window to get accurate values
if (eventType == 'ProcessSample') {
if (!infraAccount) return <div />;
accountId = infraAccount.id;
}
const nrql = `SELECT ${select} FROM ${eventType}
WHERE ${where} ${timeRange} FACET containerId LIMIT 2000`;
return (
<HeatMap
title={title}
accountId={accountId}
key={title}
max={max}
query={nrql}
formatLabel={label => label.slice(0, 6)}
formatValue={formatValue}
selection={containerId}
onClickTitle={console.log}
onSelect={selectContainer}
/>
);
})}
</div>
);
}
}
| javascript |
// Copyright (c) 2019,CAOHONGJU All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package hevc
import (
"testing"
)
func TestH265RawSPS_DecodeString(t *testing.T) {
tests := []struct {
name string
b64 string
wantW int
wantH int
wantFR float64
wantErr bool
}{
{
"base64_1",
"QgEBAWAAAAMAkAAAAwAAAwBdoAKAgC0WWVmkkyuAQAAA+kAAF3AC",
1280,
720,
float64(24000) / float64(1001),
false,
},
{
"base64_2",
"QgEBBAgAAAMAnQgAAAMAAF2wAoCALRZZWaSTK4BAAAADAEAAAAeC",
1280,
720,
30,
false,
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
sps := &H265RawSPS{}
if err := sps.DecodeString(tt.b64); (err != nil) != tt.wantErr {
t.Errorf("RawSPS.Parse() error = %v, wantErr %v", err, tt.wantErr)
}
if sps.Width() != tt.wantW {
t.Errorf("RawSPS.Parse() Width = %v, wantWidth %v", sps.Width(), tt.wantW)
}
if sps.Height() != tt.wantH {
t.Errorf("RawSPS.Parse() Height = %v, wantHeight %v", sps.Height(), tt.wantH)
}
if sps.FrameRate() != tt.wantFR {
t.Errorf("RawSPS.Parse() FrameRate = %v, wantFrameRate %v", sps.FrameRate(), tt.wantFR)
}
})
}
}
func Benchmark_SPSDecode(b *testing.B) {
spsstr := "QgEBAWAAAAMAkAAAAwAAAwBdoAKAgC0WWVmkkyuAQAAA+kAAF3ACQgEBAWAAAAMAkAAAAwAAAwBdoAKAgC0WWVmkkyuAQAAA+kAAF3AC"
b.ResetTimer()
b.RunParallel(func(pb *testing.PB) {
for pb.Next() {
sps := &H265RawSPS{}
_ = sps.DecodeString(spsstr)
}
})
}
| go |
K Radhakrishnan is a fifth-time MLA from Chelakkara in Thrissur district. This time, he won by 39,400 votes. He is a former Speaker and minister. He is currently a member of CPM central committee.
Born at Pullikkanam in Idukki on March 24, 1964, Radhakrishnan has been living at Thonnurkkara near Chelakkara.
Radhakrishnan had his education from Aided Upper Primary School, Thonnurkkara, SMTGHS, Chelakkara, Sri Vyasa NSS College, Wadakkancherry, and Sree Kerala Varma College.
He entered politics through SFI, and was the secretary, CPM Thrissur district committee; national president, Dalit Shoshan Mukti Manch; and member, DYFI state committee.
Radhakrishnan was active in Kerala Sasthra Sahithya Parishad, and Grandhasala Sangham. He had also participated in the literacy mission movement.
Radhakrishnan won the Assembly elections in 1996, 2001, 2006 and 2011. He was the Minister for Scheduled Caste-Scheduled Tribe Welfare and Youth Affairs. In 2001, he was the chief whip of the Opposition. He was elected Speaker in 2006. | english |
<reponame>Talitadevs/SoulCode_Diario<gh_stars>0
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div id="parent">
<div id="child">
Fusce pulvinar vestibulum eros, sed luctus ex lobortis quis.
</div>
</div>
#parent {
background: lightblue;
width: 300px;
}
#child {
background: gold;
width: 100%;
max-width: 150px;
}
</body>
</html> | html |
<filename>Data/Places/data/hardoi/govt_services/bank/320.json
{"html_attributions": [], "results": [{"business_status": "OPERATIONAL", "geometry": {"location": {"lat": 26.9083533, "lng": 80.50301499999999}, "viewport": {"northeast": {"lat": 26.9097096802915, "lng": 80.5043551802915}, "southwest": {"lat": 26.9070117197085, "lng": 80.50165721970849}}}, "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/bank-71.png", "icon_background_color": "#909CE1", "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/bank-intl_pinlet", "name": "gramin bank of aryavart", "photos": [{"height": 3120, "html_attributions": ["<a href=\"https://maps.google.com/maps/contrib/104964614505971382291\"><NAME></a>"], "photo_reference": "Aap_uED<KEY>", "width": 4160}], "place_id": "ChIJaQhK8AahnjkR_7WDWv2e2VI", "rating": 3.3, "reference": "ChIJaQhK8AahnjkR_7WDWv2e2VI", "scope": "GOOGLE", "types": ["bank", "finance", "point_of_interest", "establishment"], "user_ratings_total": 3, "vicinity": "WG53+86R, Aoras"}, {"business_status": "OPERATIONAL", "geometry": {"location": {"lat": 26.9002335, "lng": 80.49687209999999}, "viewport": {"northeast": {"lat": 26.9015981802915, "lng": 80.49819013029149}, "southwest": {"lat": 26.8989002197085, "lng": 80.49549216970848}}}, "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/bank-71.png", "icon_background_color": "#909CE1", "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/bank-intl_pinlet", "name": "<NAME>", "opening_hours": {"open_now": false}, "place_id": "ChIJm7ii1qqhnjkRGLwGzAz3Ilw", "plus_code": {"compound_code": "WF2W+3P Inayatpur Varra, Uttar Pradesh, India", "global_code": "7MR2WF2W+3P"}, "rating": 3.9, "reference": "ChIJm7ii1qqhnjkRGLwGzAz3Ilw", "scope": "GOOGLE", "types": ["bank", "finance", "point_of_interest", "establishment"], "user_ratings_total": 14, "vicinity": "MDR 31C, Inayatpur Varra"}, {"business_status": "OPERATIONAL", "geometry": {"location": {"lat": 26.9034053, "lng": 80.5128036}, "viewport": {"northeast": {"lat": 26.9049196302915, "lng": 80.5142152802915}, "southwest": {"lat": 26.90222166970849, "lng": 80.51151731970849}}}, "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/bank-71.png", "icon_background_color": "#909CE1", "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/bank-intl_pinlet", "name": "INDIAN BANK", "place_id": "ChIJS1hlBB2hnjkRDTG6LOdzm48", "plus_code": {"compound_code": "WG37+94 Katra Aoras, Uttar Pradesh, India", "global_code": "7MR2WG37+94"}, "reference": "ChIJS1hlBB2hnjkRDTG6LOdzm48", "scope": "GOOGLE", "types": ["bank", "finance", "point_of_interest", "establishment"], "vicinity": "SCO NO 10,HUDA MARKET, Sector-12, Panipat"}, {"business_status": "OPERATIONAL", "geometry": {"location": {"lat": 26.9101658, "lng": 80.50380120000001}, "viewport": {"northeast": {"lat": 26.9114940802915, "lng": 80.5051918802915}, "southwest": {"lat": 26.90879611970849, "lng": 80.5024939197085}}}, "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/bank-71.png", "icon_background_color": "#909CE1", "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/bank-intl_pinlet", "name": "<NAME>", "place_id": "ChIJfzjcawahnjkRo5b40nmDTbU", "rating": 3, "reference": "ChIJfzjcawahnjkRo5b40nmDTbU", "scope": "GOOGLE", "types": ["bank", "finance", "point_of_interest", "establishment"], "user_ratings_total": 2, "vicinity": "WG63+3G7, Aoras"}, {"business_status": "OPERATIONAL", "geometry": {"location": {"lat": 26.9007266, "lng": 80.4948584}, "viewport": {"northeast": {"lat": 26.9015834802915, "lng": 80.49740195000001}, "southwest": {"lat": 26.89888551970849, "lng": 80.49401055}}}, "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/bank-71.png", "icon_background_color": "#909CE1", "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/bank-intl_pinlet", "name": "\u0938\u092c\u094d\u091c\u0940 \u092c\u091c\u093e\u0930", "opening_hours": {"open_now": false}, "photos": [{"height": 3264, "html_attributions": ["<a href=\"https://maps.google.com/maps/contrib/105763744034933171026\">\u0905\u0930\u092e\u093e\u0928 \u0905\u0932\u0940 \u0905\u0932\u0940</a>"], "photo_reference": "<KEY>", "width": 2448}], "place_id": "ChIJ4YMAoGuhnjkR212dSP7OkhQ", "rating": 1, "reference": "ChIJ4YMAoGuhnjkR212dSP7OkhQ", "scope": "GOOGLE", "types": ["bank", "finance", "point_of_interest", "establishment"], "user_ratings_total": 1, "vicinity": "WF2V+7WX, Inayatpur Varra"}], "status": "OK"} | json |
<reponame>aulonm/kodekalender
{
"name": "kodekalender",
"version": "0.0.1",
"main": "index.js",
"author": "<NAME> <<EMAIL>>",
"license": "MIT",
"private": true,
"scripts": {
"format": "prettier --write \"{client,server}/**/*.js\" --ignore-path .gitignore",
"lint:format": "prettier --list-different \"**/*.js\" --ignore-path .gitignore",
"lint:eslint": "eslint . --ext .js --max-warnings=0 --ignore-path .gitignore",
"lint": "yarn lint:eslint && yarn lint:format"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"devDependencies": {
"babel-eslint": "9.x",
"eslint": "5.x",
"eslint-config-react-app": "^3.0.5",
"eslint-plugin-flowtype": "2.x",
"eslint-plugin-import": "2.x",
"eslint-plugin-jsx-a11y": "6.x",
"eslint-plugin-react": "7.x",
"prettier": "^1.15.1"
}
}
| json |
The purpose of Outbreak is to give us content during the downtime between maps.
However, can that be interpreted as a good thing? In terms of player stats from Treyarch, indeed. But what about through the entire community? Well that’s completely subjective.
However, can that be interpreted as a good thing? In terms of player stats from Treyarch, indeed. But what about through the entire community? Well that’s completely subjective.
Outbreak overall, is not a bad mode but lacks a lot of replayability. Once you finish challenges, rank up and do what you need to do, the mode is basically fully complete until a new region comes in but that’s all.
Why people prefer traditional maps? They like surviving waves of the undead, unlocking the PAP, building the WW. In Outbreak, you’re given everything which basically loses the starting survival aspect which a lot of people, including myself that enjoy.
With traditional maps taking longer to make, how can Treyarch please the players who enjoy the traditional style of Zombies while working on their huge story based map?
The answer is pretty simple. Make an Outbreak Containment mode.
The answer is pretty simple. Make an Outbreak Containment mode.
Similar to Onslaught containment, Outbreak containment will take small sections of an Outbreak map and turn it into a regular survival map. Think of the tortured path style of maps. Small survival with side easter eggs.
And with these Outbreak maps being huge, they can even make it randomize meaning that if you get Golova survival one game in one section of the map, if you play it again, it will be in another section making more content from one map alone.
Remember there’s 5 Outbreak maps currently. So if there’s 4 sections for this mode per map, that’s 20 different variations of survival maps.
That alone makes so much content that pleases the traditional round base fans and the Outbreak players.
Best of both worlds.
That alone makes so much content that pleases the traditional round base fans and the Outbreak players.
Best of both worlds.
It’s basically pulling a Tranzit. Taking one big map and making more content from it.
I think this will please many players while we wait for the new story based map.
I would love this so much because I won’t be stuck playing 2 maps, now I’ll have more.
I think this will please many players while we wait for the new story based map.
I would love this so much because I won’t be stuck playing 2 maps, now I’ll have more.
| english |
During the discussion on Rajya Sabha Starred Question no.186 on 13.5.2015 , it was stated that the standard operating procedures which were required to be followed have not been followed and an enquiry would conducted to ensure improvement in the system . Accordingly enquiry was conducted both by OISD and ONGC as mentioned above. Based on the enquiry report, Ministry had directed ONGC to ask its sub-committee of Board on Health, Safety and Environment (HSE) to look into organisational set up of HSE, compliance to standard operating procedure, safety audit etc and recommend changes. ONGC has informed that the existing organisational set up of Health Safety and Environment (HSE), procedures, compliance of standard operating procedures and audit compliance will be deliberated in the next HSE Board Committee meeting and the outcome of the meeting shall be appraised to the Ministry.
This Ministry had received two complaints in this matter. One was from, President, Brackish Water Research Centre, Surat and another from Hon‘ble MP herself. In both the complaints, a request was made to conduct high level enquiry and take necessary remedial measures to avoid recurrence of such incidents.
| english |
Astrology of Professions (Pathak)
Reference (R)
Sunil Gavaskar have several desirable qualities. First and foremost, Sunil Gavaskar revel in work and there is hardly a limit to the amount of work Sunil Gavaskar can do. Next, Sunil Gavaskar have Sunil Gavaskar's eyes wide open and Sunil Gavaskar's brain is alert. Taken together, these qualities single Sunil Gavaskar out as being a very powerful influence in Sunil Gavaskar's own sphere of activities.Sunil Gavaskar are wonderfully practical in all Sunil Gavaskar do, and Sunil Gavaskar have a very keen brain for remembering details. In fact, details mean so much to Sunil Gavaskar that Sunil Gavaskar are apt to irritate some of Sunil Gavaskar's co-workers with them. Sunil Gavaskar never forget a face, though Sunil Gavaskar are less accurate in remembering names.Sunil Gavaskar are a person who wants to know the why and where of everything. Until Sunil Gavaskar are satisfied on these points, Sunil Gavaskar refrain from acting. Consequently, sometimes Sunil Gavaskar miss a good deal, and some people look upon Sunil Gavaskar as a procrastinator.In a measure Sunil Gavaskar are too sensitive and often Sunil Gavaskar hold back when Sunil Gavaskar should go ahead. This unfits Sunil Gavaskar for certain forms of leadership. Sunil Gavaskar do not want Sunil Gavaskar's own way in many things. In fact, Sunil Gavaskar are very amenable, taken all round.
Sunil Gavaskar are a practical person. Sunil Gavaskar have the ability to systematically organise Sunil Gavaskar's life, sober-mindedly realising that Sunil Gavaskar must work for success. Sunil Gavaskar tend to be a loner, preferring to think and study, and excel at solving difficult problems. Sober and cautious, Sunil Gavaskar can be completely fulfilled if Sunil Gavaskar will view life with more optimism. Sunil Gavaskar are usually happier in life when Sunil Gavaskar come to the realisation that life is not as bad as Sunil Gavaskar thought it be.Sunil Gavaskar are quite practical, which is why Sunil Gavaskar tend to assess any situation in this manner only. Sunil Gavaskar have the necessary consciousness and eligibility to grasp knowledge. Sunil Gavaskar develop interest in knowledge which has practical information to offer. Sunil Gavaskar will be counted among the intelligent students and with the help of Sunil Gavaskar's sharp intellect and logical reasoning abilities, Sunil Gavaskar will pass difficult exams with flying colours. Sunil Gavaskar will possess great wisdom from Sunil Gavaskar's childhood and observe and learn from other human beings. Sunil Gavaskar's memory power will be quite strong and Sunil Gavaskar may distinctly remember each and every activity of Sunil Gavaskar's past for a long time. This will also benefit Sunil Gavaskar's studies and Sunil Gavaskar will touch great heights educationally. But refrain Sunil Gavaskar'sself from maintaining an overtly practical attitude.
Sunil Gavaskar tend to be miserable in many ways because Sunil Gavaskar are afraid to tell people how Sunil Gavaskar feel about them. Thus, Sunil Gavaskar build up hostility. Start immediately to say what is on Sunil Gavaskar's mind and Sunil Gavaskar will begin to find meaningful relationships with others.
| english |
The Chota Bazar in Shahdara is one of the famous and favourite spots of people who are on the lookout of clothing and footwear at cut-rate prices. People coming here often know why it is one of the oldest markets in Delhi which dates back to 16th Century AD. The shops lined on both sides of the street have clothes for daily purpose and every occasion for men and women of all ages. Along with that, there are stores that have a wide range of footwear, you name it and it will be available for you. Some other things that one could pick from Chota Bazar are jewellery and toys for children. As the evening time approaches, the buzzing streets get more crowded as travellers get confused whether to shop or get pulled in by the mouthwatering scent of street food that is served here. One of the things that are sure to be witnessed once here is how people bargain while shopping.
Shahdara metro station easily connects travellers to Chota Bazar as it is located 750m away. It is a station on the Red Line of the Delhi Metro.
What is Chota Bazar Famous For?
Chota Bazar is mostly famous for women clothing, wedding wear, footwear and street food like Kachori, Chaat Papdi, Pakaudi, and Sweets. Tucked close to Chota Bazar is the Bada Bazar which is known for groceries, fruits, and vegetables.
The market is open throughout the week from 10:30 AM to 9:30 PM.
| english |
Who Will Be the First Successful Developer of Chinese Version of ChatGPT?
As the discussion caused by artificial intelligence chat robot ChatGPT continues to heat up, the science and technology circle is welcoming the new buzz. Baidu, 360, iFlytek, Alibaba, JD.com, NetEase and other Chinese tech giants have made great efforts to seize the opportunity to create the first “Chinese version of ChatGPT”.
ChatGPT was developed by OpenAI, a software company backed by Microsoft. From the current common dialogue, the biggest highlight of ChatGPT is its intention recognition and its ability to understand natural language. To do this, powerful natural language processing technology is the key.
On February 7, Baidu announced that it would launch its own ChatGPT-like project named “Ernie Bot”. On the same day, Qihoo 360, a Chinese internet security company, also said that it planned to launch prototype products based on ChatGPT-like technology as soon as possible.
February 8 witnessed a number of companies announcing their entry into this field. A senior technical expert at Alibaba revealed that the company’s DAMO Academy is developing ChatGPT-like dialogue robots, which are now open to current employees for testing. Alibaba may combine its AI large model technology with Dingtalk, its office tool. Alibaba confirmed the news.
He Xiaodong, vice president of JD.com, said that ChatGPT is an exciting frontier exploration, while JD Cloud’s artificial intelligence application platform “Yanxi” is a large-scale commercial customer service system. Yanxi will integrate its previous industrial practice and technology accumulation to launch an industrial version of ChatGPT – ChatJD.
IFlytek, which creates voice recognition software, started the task of generative pre-training large models in December 2022, and its AI learning machine will become the first product based on this technology, which will be released on May 6.
On February 9, Youdao, a search engine released by Chinese internet company NetEase, said that it had invested in the research and development of AI-generated content (AIGC) in educational scenes, including but not limited to AI oral teachers, Chinese composition scoring and evaluation, among others. “The final form of the product is still under discussion and needs to match the needs of users. Intelligent hardware and online courses are in the consideration scope,” NetEase stated. Tencent also said that it is developing its own version of ChatGPT and AIGC.
On February 13, Wang Huiwen, the former co-founder of food delivery giant Meituan, announced that he would enter the AI field and set up Beijing Lightyear Technology Co., Ltd., with an investment of $50 million and a valuation of $200 million. His own funds accounted for 25% of the shares, and the remaining 75% of the shares were used to invite top R&D talents. The new company hopes to recruit top R&D talents recognized by the industry, people with a fanatical belief that Al will change the world and benefit mankind. According to Wang, the next round of financing has been subscribed to by top venture capital institutions for $230 million.
Investment bank UBS predicted that the monthly active users of ChatGPT reached 100 million in January this year, and it took only 2 months for it to achieve this goal. Before that, TikTok took about 9 months, which made ChatGPT the fastest-growing consumer application so far.
In China, ChatGPT-like products have not yet been born, but the money has been earned by imitating ChatGPT. Due to the relatively cumbersome registration process, a series of fake ChatGPT appeared in the domestic market. These products act as intermediaries for two-way connections, forwarding users’ questions to ChatGPT, and then forwarding real replies to users.
Some industry insiders believed that China has the largest number of Internet users in the world, broad application scenarios and obvious advantages in data accumulation. Although there is no big model in the world that can compete with ChatGPT’s amazing performance, the consensus in the industry is that the gap can be filled in about two years. According to the report of Guangzhui Tech, Liu Shengping, vice president of R&D of Unisound, an AI startup in China, believes that the actual gap needs only about one year.
| english |
<reponame>ngeor/yart
use crate::files::{ContentProcessor, DirUpdater, UpdateError};
use crate::sem_ver::SemVer;
use std::fs;
use std::path::PathBuf;
struct CargoTomlContentProcessor {}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
enum CargoTomlState {
Initial,
InPackageSection,
Stop,
}
impl ContentProcessor for CargoTomlContentProcessor {
type Err = UpdateError;
fn process(&self, old_contents: &str, new_version: SemVer) -> Result<String, Self::Err> {
let mut result = String::new();
let mut state: CargoTomlState = CargoTomlState::Initial;
for line in old_contents.lines() {
let mut new_line: Option<String> = None;
match state {
CargoTomlState::Initial => {
if line == "[package]" {
state = CargoTomlState::InPackageSection;
}
}
CargoTomlState::InPackageSection => {
if line.starts_with('[') {
state = CargoTomlState::Stop;
} else if is_toml_key(line, "version") {
new_line = Some(format!("version = \"{}\"", new_version));
}
}
CargoTomlState::Stop => {}
}
if let Some(x) = new_line {
result.push_str(x.as_str());
} else {
result.push_str(line);
}
result.push('\n');
}
Ok(result)
}
}
fn get_package_name_from_cargo_toml(contents: &str) -> Option<&str> {
let mut state: CargoTomlState = CargoTomlState::Initial;
for line in contents.lines() {
match state {
CargoTomlState::Initial => {
if line == "[package]" {
state = CargoTomlState::InPackageSection;
}
}
CargoTomlState::InPackageSection => {
if line.starts_with('[') {
state = CargoTomlState::Stop;
} else if let Some(x) = get_toml_key_value(line, "name") {
return Some(x);
}
}
CargoTomlState::Stop => {
return None;
}
}
}
None
}
struct CargoLockProcessor<'a> {
name: &'a str,
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
enum CargoLockState {
Initial,
InPackageSection,
InName,
Stop,
}
impl<'a> ContentProcessor for CargoLockProcessor<'a> {
type Err = UpdateError;
fn process(&self, old_contents: &str, new_version: SemVer) -> Result<String, Self::Err> {
let mut result = String::new();
let mut state: CargoLockState = CargoLockState::Initial;
for line in old_contents.lines() {
let mut new_line: Option<String> = None;
match state {
CargoLockState::Initial => {
if line == "[[package]]" {
state = CargoLockState::InPackageSection;
}
}
CargoLockState::InPackageSection => {
if get_toml_key_value(line, "name") == Some(self.name) {
state = CargoLockState::InName;
}
}
CargoLockState::InName => {
if is_toml_key(line, "version") {
new_line = Some(format!("version = \"{}\"", new_version));
state = CargoLockState::Stop;
}
}
CargoLockState::Stop => {}
}
if let Some(x) = new_line {
result.push_str(x.as_str());
} else {
result.push_str(line);
}
result.push('\n');
}
Ok(result)
}
}
fn is_toml_key(line: &str, key: &str) -> bool {
if line.is_empty() || key.is_empty() {
false
} else if line.starts_with(key) {
let (_, second) = line.split_at(key.len());
second.trim_start().starts_with('=')
} else {
false
}
}
fn get_toml_key_value<'a>(line: &'a str, key: &str) -> Option<&'a str> {
if line.is_empty() || key.is_empty() {
None
} else if line.starts_with(key) {
let (_, second) = line.split_at(key.len());
let second = second.trim_start();
if second.starts_with('=') {
let (_, second) = second.split_at(1);
Some(second.trim_start())
} else {
None
}
} else {
None
}
}
pub struct CargoDirUpdater {}
impl CargoDirUpdater {
pub fn new() -> Self {
Self {}
}
}
impl DirUpdater for CargoDirUpdater {
fn update(
&self,
dir: &str,
new_version: SemVer,
) -> Result<Vec<(PathBuf, String)>, UpdateError> {
let dir_path_buf = PathBuf::from(dir);
let cargo_toml_path_buf = dir_path_buf.join("Cargo.toml");
let mut result = Vec::<(PathBuf, String)>::new();
if cargo_toml_path_buf.is_file() {
let processor = CargoTomlContentProcessor {};
let old_contents = fs::read_to_string(&cargo_toml_path_buf)?;
let new_contents = processor.process(&old_contents, new_version)?;
if old_contents != new_contents {
result.push((cargo_toml_path_buf, new_contents));
}
// processing Cargo.lock even if Cargo.toml had no changes,
// in case someone accidentally bumped the version only on the toml file
let cargo_lock_path_buf = dir_path_buf.join("Cargo.lock");
if cargo_lock_path_buf.is_file() {
if let Some(name) = get_package_name_from_cargo_toml(&old_contents) {
let processor = CargoLockProcessor { name };
let old_contents = fs::read_to_string(&cargo_lock_path_buf)?;
let new_contents = processor.process(&old_contents, new_version)?;
if old_contents != new_contents {
result.push((cargo_lock_path_buf, new_contents));
}
}
}
}
Ok(result)
}
}
#[cfg(test)]
mod tests {
use crate::files::ContentProcessor;
use crate::rust::{
get_package_name_from_cargo_toml, is_toml_key, CargoLockProcessor,
CargoTomlContentProcessor,
};
use crate::SemVer;
#[test]
fn test_cargo_toml_content_processor() {
let toml = r#"[package]
name = "yart"
version = "0.1.0"
authors = ["<NAME> <<EMAIL>>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
xml-rs = "~0.8"
[dependencies.clap]
version = "~2.27.0"
default-features = false
"#;
let expected = r#"[package]
name = "yart"
version = "1.0.0"
authors = ["<NAME> <<EMAIL>>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
xml-rs = "~0.8"
[dependencies.clap]
version = "~2.27.0"
default-features = false
"#;
let processor = CargoTomlContentProcessor {};
let result = processor.process(toml, SemVer::new(1, 0, 0)).unwrap();
assert_eq!(result, expected);
}
#[test]
fn test_get_package_name_from_cargo_toml() {
let toml = r#"[package]
name = "yart"
version = "0.1.0"
authors = ["<NAME> <<EMAIL>>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
xml-rs = "~0.8"
[dependencies.clap]
version = "~2.27.0"
default-features = false
"#;
let result = get_package_name_from_cargo_toml(toml).unwrap();
assert_eq!(result, "\"yart\"");
}
#[test]
fn test_cargo_lock_processor() {
let input = r#"# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "bitflags"
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4efd02e230a02e18f92fc2735f44597385ed02ad8f831e7c1c1156ee5e1ab3a5"
[[package]]
name = "clap"
version = "2.27.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b8c532887f1a292d17de05ae858a8fe50a301e196f9ef0ddb7ccd0d1d00f180"
dependencies = [
"bitflags",
"textwrap",
"unicode-width",
]
[[package]]
name = "textwrap"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0b59b6b4b44d867f1370ef1bd91bfb262bf07bf0ae65c202ea2fbc16153b693"
dependencies = [
"unicode-width",
]
[[package]]
name = "unicode-width"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
[[package]]
name = "xml-rs"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2d7d3948613f75c98fd9328cfdcc45acc4d360655289d0a7d4ec931392200a3"
[[package]]
name = "yart"
version = "0.1.0"
dependencies = [
"clap",
"xml-rs",
]
"#;
let expected = r#"# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "bitflags"
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4efd02e230a02e18f92fc2735f44597385ed02ad8f831e7c1c1156ee5e1ab3a5"
[[package]]
name = "clap"
version = "2.27.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b8c532887f1a292d17de05ae858a8fe50a301e196f9ef0ddb7ccd0d1d00f180"
dependencies = [
"bitflags",
"textwrap",
"unicode-width",
]
[[package]]
name = "textwrap"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0b59b6b4b44d867f1370ef1bd91bfb262bf07bf0ae65c202ea2fbc16153b693"
dependencies = [
"unicode-width",
]
[[package]]
name = "unicode-width"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
[[package]]
name = "xml-rs"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2d7d3948613f75c98fd9328cfdcc45acc4d360655289d0a7d4ec931392200a3"
[[package]]
name = "yart"
version = "1.0.0"
dependencies = [
"clap",
"xml-rs",
]
"#;
let processor = CargoLockProcessor { name: "\"yart\"" };
let result = processor.process(input, SemVer::new(1, 0, 0)).unwrap();
assert_eq!(expected, result);
}
#[test]
fn test_is_toml_key() {
assert!(is_toml_key("version = 1", "version"));
assert!(is_toml_key("version=1", "version"));
assert!(!is_toml_key("version", "version"));
assert!(!is_toml_key("version = 1", "name"));
}
}
| rust |
import csv
import os
import numpy as np
import sentencepiece as spm
import torch
class DataLoader:
def __init__(self, directory, parts, cols, spm_filename):
"""Dataset loader.
Args:
directory (str): dataset directory.
parts (list[str]): dataset parts. [parts].tsv files must exists in dataset directory.
spm_filename (str): file name of the dump sentencepiece model.
"""
self.pad_idx, self.unk_idx, self.sos_idx, self.eos_idx = range(4)
self.cols = cols
self.directory = directory
self.parts = parts
self.spm_filename = spm_filename
# Load sentecepiece model:
self.sp = spm.SentencePieceProcessor()
self.sp.load(self.spm_filename)
# Load dataset parts:
self.data_parts = {part: list(self.from_tsv(part)) for part in parts}
self.part_lens = {part: len(self.data_parts[part]) for part in parts}
self.max_lens = {part: self.get_max_len(part) for part in parts}
self.max_len = max([self.max_lens[part] for part in parts])
def next_batch(self, batch_size, part, device):
"""Get next batch.
Args:
batch_size (int): batch size.
part (str): dataset part.
device (torch.device): torch device.
Returns:
Batch: batch wrapper.
"""
indexes = np.random.randint(0, self.part_lens[part], batch_size)
raw_batches = [[self.data_parts[part][i][col] for i in indexes] for col, name in enumerate(self.cols)]
return Batch(self, raw_batches, device)
def sequential(self, part, device):
"""Get all examples from dataset sequential.
Args:
part (str): part of the dataset.
device: (torch.Device): torch device.
Returns:
Batch: batch wrapper with size 1.
"""
for example in self.data_parts[part]:
raw_batches = [example]
yield Batch(self, raw_batches, device)
def pad(self, data):
"""Add <sos>, <eos> tags and pad sequences from batch
Args:
data (list[list[int]]): token indexes
Returns:
list[list[int]]: padded list of sizes (batch, max_seq_len + 2)
"""
data = list(map(lambda x: [self.sos_idx] + x + [self.eos_idx], data))
lens = [len(s) for s in data]
max_len = max(lens)
for i, length in enumerate(lens):
to_add = max_len - length
data[i] += [self.pad_idx] * to_add
return data, lens
def from_tsv(self, part):
"""Read and tokenize data from TSV file.
Args:
part (str): the name of the part.
Yields:
(list[int], list[int]): pairs for each example in dataset.
"""
filename = os.path.join(self.directory, part + '.tsv')
with open(filename) as file:
reader = csv.reader(file, delimiter='\t')
for row in reader:
yield tuple(self.sp.EncodeAsIds(row[i]) for i, col in enumerate(self.cols))
def decode(self, data):
"""Decode encoded sentence tensor.
Args:
data (torch.Tensor): sentence tensor.
Returns:
list[str]: decoded sentences.
"""
return [self.sp.DecodeIds([token.item() for token in sentence]) for sentence in data]
def decode_raw(self, data):
"""Decode encoded sentence tensor without removing auxiliary symbols.
Args:
data (torch.Tensor): sentence tensor.
Returns:
list[str]: decoded sentences.
"""
return [''.join([self.sp.IdToPiece(token.item()) for token in sentence]) for sentence in data]
def get_max_len(self, part):
lens = []
for example in self.data_parts[part]:
for col in example:
lens.append(len(col))
return max(lens) + 2
class Batch:
def __init__(self, data_loader, raw_batches, device):
"""Simple batch wrapper.
Args:
data_loader (DataLoader): data loader object.
raw_batches (list[data]): raw data batches.
device (torch.device): torch device.
Variables:
- **cols_name_length** (list[int]): lengths of `cols_name` sequences.
- **cols_name** (torch.Tensor): long tensor of `cols_name` sequences.
"""
for i, col in enumerate(data_loader.cols):
tensor, length = data_loader.pad(raw_batches[i])
self.__setattr__(col, torch.tensor(tensor, dtype=torch.long, device=device))
self.__setattr__(col + '_length', length)
| python |
V-shaped Covid 19 impact is in the making of the budget this time — ‘V for vaccine’. The government has already introduced the Covid vaccine and expectations of the economy doing a V growth turnaround is being seen. With this, a Corona cess is expected in the budget particularly in the super rich category of the direct taxes. For the first time the union budget is to be totally paper less and will be accessible through a special app.
In post budget sessions since February 1 last year, several Atmanirbhar schemes have already been introduced, aiming to alleviate the impact of Covid on the lockdown affected sectors, like the 3 lakh crore collateral less help for the MSME sector, which was announced as a part of the 21 lakh crore Covid Atmanirbhar scheme announced in March. A one nation one ration card was also announced promising 5 kg of rice, 5 kg of wheat and 1 kg of pulses to every family of the poor. A higher allocation of 10000 crore to MNREGA was also announced to 2. 33 crore daily wage earners. This budget is likely to allocate higher spending particularly as the unemployment rate has risen to 10 per cent by December 2020. PM Garib Kalyan Yojana as well as Kisan credit card yojana are likely to get more attention. Last year, in the post budget Covid package, the government had allocated 1. 7 lakh crore in the PM Garib kalyan yojana. Infrastructure spending will also increase as the government has already committed US $ 1. 4 trillion for infrastructure development by 2023.
Unmindful of the fiscal deficit concerns, the budget is expected to be siding towards boosting consumption, enhancing employment and injecting more liquidity in the economy. A major step towards this would be to lower the tax burden on the common man in order to leave more purchasing power as well as provide relief to the industry. Health infrastructure spending is expected to get a boost, so will expenditure on MSME in the wake of Atma Nirbhar bharat introduced by PM Modi due to Covid last year. Ecommerce and retail sectors are expected to get favourable treatment both in taxes and in processes particularly as the lockdown underscored the emphasis on the online platforms, Ecommerce and WFH facility. WFH has emerged as a big option in the Corona lockdown period necessitating people to work from home. This is likely to be treated as an option to employment or an alternative work format and some tax incentives may be forwarded in the oncoming budget in this area. Real estate and hospitality sectors which have been hit the hardest in the Covid period are also likely to get sympathetic treatment from the finance minister in the budget this time. Higher allocation on housing credit guarantee scheme as well as interest subvention scheme are expected to meet the PM Awas yojana schemes and affordable housing and rental housing for all.
More incentives and commission than last year is seen coming wherein the budget allocation was pegged at 25000 crore for the real estate sector. Rural sector and education is likely to draw more attention particularly as the latter has suffered with schools being under lock down for a major part of the year. Even as the lockdown has been lifted yet the impact of the Covid disruption has deeply impacted the unorganised sector which is still to come to terms with mass migration of workers and total shutdown of demand. With this an extra expenditure on MNREGA as well a financial support package for the unorganised and micro enterprises is also being expected with more emphasis on cottage industries with ‘vocal for local’ support.
Meanwhile, the RBI and the government are likely to work out special packages towards addressing Covid debts in terms of bringing more relief to Covid affected borrowings like softening its stance on NPAs as well as moratoriums. The government had already announced a sharp downward revision in corporate taxes in last budget hence there seems to be lesser room in this front this time.
The farm sector – which is the burning topic today would also see many giveaways to woo the complaining farmers. The farm sector is said to have been long ignored whereby the farmer is said to have borne the brunt despite all other sectors of the economy being treated well in the last many years of independence. The Modi government is committed to double farm income by 2022 and hence is likely to announce more concessions to the farmer. It may be recalled the farm sector was only saving grace in the Covid aftermath as it grew by 3. 4 percent despite the economy dipping to minus 23. 9 % in the first quarter. Even as the government has denied to roll back the three farm laws it passed in the Parliament last year and to make MSP mandatory, it may consider giving away more subsidies in terms of prices of urea or electricity for the farmers.
Given the revenue compulsions in the Covid era FM Nirmala Sitaraman is not expected to announce any concessions in direct taxes with the dwindling revenues. Although some more alterations in the GST front may be given to boost demand of certain consumer good products. PLI schemes as well CAPEX incentives are likely to get a boost in the budget even at the expense of the fiscal deficit going haywire.
Even as revenue collections have started recovering in the latter half period after an initial decline in GST -in the first half of the fiscal year, showing a possible turnaround in the economy, yet the government has little resources to supplement its revenues. The disinvestment targets in the year was short 30 percent this year’s target and collections from telecom licence fees auctions also did not yield much. This budget the government appears to hike disinvestment target as it looks for mobilizing more funds. Along with this, the stock markets are at all time high and the government could use this opportunity to cash in through disinvestment of PSU stocks.
With these impediments the GDP is expected to turnaround although the consumption demand will take longer trajectory to come back to the pre-Covid levels. With this the fiscal deficit for FY 21 is expected to cross 7. 75 percent as per sources, with the combined state and centre fiscal deficit feared to cross 12. 5 per cent. But then as the FM said the Corona crisis was ‘an act of God’ and meeting fiscal deficit targets in this period of crisis will be the last thing in the government agenda. WIth this the budget is likely to be a shot of vaccine for the Covid-hit economy. | english |
# Day 13 Solution
[WolframAlpha Link](https://www.wolframalpha.com/input/?i=%28x+%2B+0%29+mod+23%2C+%28x+%2B+17%29+mod+37%2C+%28x+%2B+23%29+mod+863%2C+%28x+%2B+35%29+mod+19%2C+%28x+%2B+36%29+mod+13%2C+%28x+%2B+40%29+mod+17%2C+%28x+%2B+52%29+mod+29%2C+%28x+%2B+54%29+mod+571%2C+%28x+%2B+95%29+mod+41)
## Code

## Solution

| markdown |
The British High Court has ruled that search giant Google is NOT liable for any defamatory comments that are displayed in its search results.
The decision is sure to be seen as a landmark ruling for UK defamation law.
The case was initially brought against Google's UK and US operations by London-based Metropolitan International Schools for comments about its 'Train2Game' games development courses it considered defamatory and which were re-published in Google's search results.
MIS claimed Google was responsible for publication and thus liable for defamation. Google denied responsibility.
Mr Justice Eady ruled in the UK's high court on Friday that Google was a "facilitator" not a publisher of the comments.
"When a snippet is thrown up on the user's screen in response to his search, it points him in the direction of an entry somewhere on the web that corresponds, to a greater or lesser extent, to the search terms he has typed in," Eady said.
However, Eady did stress that Google has to take responsibility to block or take down defamatory content if notified with a legitimate complaint.
According to online legal specialist Struan Robertson from Pinsent Masons, the ruling is "a brilliant result for Google and other search engines."
Get the hottest deals available in your inbox plus news, reviews, opinion, analysis, deals and more from the TechRadar team.
| english |
# Generated by Django 3.2.8 on 2021-10-13 11:30
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('collector', '0023_node_benchmark_score'),
]
operations = [
migrations.AddField(
model_name='node',
name='benchmarked_at',
field=models.DateTimeField(blank=True, null=True),
),
]
| python |
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "enhancedfarming:item/banana_pie"
}
} | json |
<gh_stars>10-100
/*
** Copyright 2001-2006 <NAME>
** Copyright 2011-2013 Merethis
**
** This file is part of Centreon Engine.
**
** Centreon Engine 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 Software Foundation.
**
** Centreon Engine is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with Centreon Engine. If not, see
** <http://www.gnu.org/licenses/>.
*/
#ifndef CCE_XPDDEFAULT_HH
#define CCE_XPDDEFAULT_HH
#include "com/centreon/engine/host.hh"
#include "com/centreon/engine/macros/defines.hh"
#include "com/centreon/engine/service.hh"
#ifdef __cplusplus
extern "C" {
#endif // C++
int xpddefault_initialize_performance_data();
int xpddefault_cleanup_performance_data();
int xpddefault_update_service_performance_data(
com::centreon::engine::service* svc);
int xpddefault_update_host_performance_data(com::centreon::engine::host* hst);
int xpddefault_run_service_performance_data_command(
nagios_macros* mac,
com::centreon::engine::service* svc);
int xpddefault_run_host_performance_data_command(
nagios_macros* mac,
com::centreon::engine::host* hst);
int xpddefault_update_service_performance_data_file(
nagios_macros* mac,
com::centreon::engine::service* svc);
int xpddefault_update_host_performance_data_file(
nagios_macros* mac,
com::centreon::engine::host* hst);
void xpddefault_preprocess_file_templates(char* tmpl);
int xpddefault_open_host_perfdata_file();
int xpddefault_open_service_perfdata_file();
int xpddefault_close_host_perfdata_file();
int xpddefault_close_service_perfdata_file();
int xpddefault_process_host_perfdata_file();
int xpddefault_process_service_perfdata_file();
#ifdef __cplusplus
}
#endif // C++
#endif // !CCE_XPDDEFAULT_HH
| cpp |
.height100 {
min-height: 100vh;
margin-bottom: 60px;
}
.height100 h1 {
margin-top: 20px;
}
.sponsor {
margin: 20px;
padding: 20px;
text-align: center;
border-radius: 7px;
cursor: pointer;
}
.sponsor img:hover {
-moz-box-shadow: 0 5px 20px #888;
-webkit-box-shadow: 0 5px 20px #888;
box-shadow: 0 5px 20px #888;
}
.sponsor a {
color: #232B34;
}
.sponsor h2 {
font-family: 'Quicksand', sans-serif;
font-size: 26px;
padding: 10px;
}
.sponsor img {
display: block;
left: 0;
right: 0;
margin: auto;
min-width: 200px;
max-width: 200px;
min-height: 150px;
padding: 20px;
border-radius: 7px;
transition: box-shadow 1.5s cubic-bezier(0.075, 0.82, 0.165, 1);
box-shadow: #ccc 0px 10px 40px 0px;
}
@media screen and (max-width: 700px) {
.height100 h1 {
margin-top: 50px;
}
} | css |
<reponame>Open-iDaaS/Open-iDaaS
{
"resourceType": "ValueSet",
"id": "orec",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>Original Reason for Entitlement Code</h2><div><p>Original reason for Medicare entitlement. Source: https://bluebutton.cms.gov/resources/variables/orec</p>\n</div><p>This value set includes codes from the following code systems:</p><ul><li>Include all codes defined in <a href=\"CodeSystem/orec.html\"><code>http://hl7.org/fhir/CodeSystem/orec</code></a></li></ul></div>"
},
"url": "http://hl7.org/fhir/ValueSet/orec",
"version": "1.1.1",
"name": "Original Reason for Entitlement Code",
"status": "draft",
"date": "2018-11-27T15:56:35+00:00",
"description": "Original reason for Medicare entitlement. Source: https://bluebutton.cms.gov/resources/variables/orec",
"compose": {
"include": [
{
"system": "http://hl7.org/fhir/CodeSystem/orec"
}
]
}
} | json |
Top 10 Weapons in COD: Warzone Season 4 with highest K/D ratio. Call of Duty: Warzone has already made its mark in the battle royale genre and one of the game’s most intriguing parts is its weapons. Call of Duty has always concentrated on building its weapon base more versatile and deadly. Players can try to level up their weapons faster by installing several attachments that will make the guns more competitive in matches.
For a long time, Call of Duty players has been using the Kill/Death ratio as a metric to determine their skills. The Kill/Death ratio basically represents how many kills the players manage to record before they die. It is a very important aspect of the game, and fans often consider it more crucial than their win rate. To determine which weapons have the most impact, WZRanked.com has consolidated the average K/D that players have using specific weapons.
These are the top 10 weapons in COD Warzone Season 4 with the highest K/D ratio:
One of the most famous guns in the gaming world is the AK-47. The Assault Rifle is capable of causing serious damage to opponents and has always been a fan favorite. The Cold War AK-47 starts off the list with 1.03 K/D ratio.
Groza is a mighty weapon underneath, if one can ignore the Groza’s iron sight growth. A few right attachments to manage its recoil can make it one of the best assault rifles in the game. With a K/D ratio of 1.03, it is quite lethal.
This gun was not that famous previously in Warzone, but now it is getting a lot of attention from the players. Milano 821 has a fast reload routine, which gives players the upper hand in open combat. Milano 821 justifies its efficacy with its 1.04 K/D ratio.
A Burst mode gun ought to be an unexpected candidate on the list but as the ground loots it has successfully helped a lot of players improve their stats. The 1.05 K/D ratio truly stands to be in its category.
After it was first introduced in Season 2, players didn’t released its potential until in Season 4, it became a primary gun for many players. FARA 83 maintained a K/D ratio of 1.05, which was fair enough for its success.
Despite its small ammo size, this gun can cause some serious damage to the opponents. The Nail Gun managed to secure itself a 1.08 K/D ratio which made it a favorite weapon for many.
This gun has made a name for itself by squashing out opponents effortlessly. A lot players enjoy AMAX with its dominant 1.14 K/D ratio.
C58 is newly introduced in Season 4, and has quickly become one of the most lethal weapons in Call of Duty Warzone. The high damage rate compensates for the slow rate of fire which earns the gun a deadly 1.18 K/D ratio.
The automatic shotgun is capable of erasing a full squad when used wisely. Streetsweeper is gaining popularity among players very fast and its 1.19 K/D ratio is the reason behind it.
This classic weapon has always been a fan favorite. Its accuracy and fast reload speeds make it much more deadly than other SMGs in the list. The Cold War MP5 boasts an impressive K/D of 1.22 and is ranked top in Season 4.
| english |
{
"name": "teamwork-wrapper",
"productName": "Teamwork Wrap+",
"version": "5.0.1",
"license": "MIT",
"scripts": {
"dev": "electron-webpack dev",
"compile": "electron-webpack",
"dist": "yarn compile && electron-builder",
"dist:windows": "yarn compile && electron-builder build --win",
"dist:dir-nosign": "yarn dist --dir -c.compression=store -c.mac.identity=null",
"dist:dir": "yarn dist --dir -c.compression=store"
},
"build": {
"appId": "com.gaplotech.teamwork-wrapper",
"productName": "Teamwork Wrap+",
"files": [
"build/*"
],
"win": {
"target": [
"portable",
"nsis"
]
},
"mac": {
"category": "productivity",
"target": {
"target": "dmg",
"arch": [
"arm64",
"x64"
]
},
"type": "distribution",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"darkModeSupport": true,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"provisioningProfile": "./teamworkwrapperprod.provisionprofile"
},
"afterSign": "scripts/notarize.js"
},
"electronWebpack": {
"main": {
"webpackConfig": "webpack.config.js"
}
},
"dependencies": {
"electron-dl": "^3.0.1",
"electron-editor-context-menu": "^1.1.1",
"open": "^7.0.4",
"source-map-support": "^0.5.12"
},
"devDependencies": {
"copy-webpack-plugin": "^6.0.1",
"dotenv": "^8.2.0",
"electron": "^16.0.4",
"electron-builder": "^22.14.5",
"electron-notarize": "^0.3.0",
"electron-webpack": "^2.8.2",
"prettier": "^2.0.5",
"webpack": "~4.43.0"
}
}
| json |
New Delhi: Rahul Gandhi on Sunday took back his offer to quit as the Congress President, a proposal he made during the Congress Working Committee (CWC) meeting on Saturday following the party’s rout in the Lok Sabha elections, party sources said.
The source added that responsibility will be fixed for the party’s debacle in the general elections and action will unfold in the next 10 days. Many party General Secretaries and state unit chiefs could face the heat, the source said.
Gandhi offered to step down from the President’s post at the CWC meeting, taking responsibility for Congress’ embarrassing defeat in the Lok Sabha polls in which it won just 52 seats.
However, his offer was unanimously rejected by the CWC members though Gandhi had insisted on its acceptance.
Party sources said Gandhi took back the offer to resign in the wake of the views expressed by the CWC members who wanted him to remain at the helm of the country’s oldest political party.
The CWC has authorised Gandhi to make complete overhaul and detailed restructuring of the party at every level.
According to the source, the Congress President was quite forthright at the CWC meeting, not sparing even some senior leaders of the party.
Gandhi is believed to have said that Congress Chief Ministers Ashok Gehlot and Kamal Nath were eager to give ticket to their sons although the party President was not very keen on the idea as he felt that they had a bigger role to play in campaigning.
While Madhya Pradesh Chief Minister Kamal Nath’s son Nakul Nath successfully contested from his father’s stronghold Chhindwara, Rajasthan Chief Minister Ashok Gehlot’s son Vaibhav Gehlot tasted defeat in Jodhpur.
Gandhi said that Ashok Gehlot campaigned in Jodhpur for a week, ignoring the other tasks of the party.
The source said that Gandhi also referred to veteran Congressman and former Finance Minister P. Chidambaram for pushing for a Lok Sabha ticket for his son Karti Chidambaram from Sivaganga in Tamil Nadu.
Karti Chidambaram is one of the eight Congress candidates who won in Tamil Nadu.
The Congress President reportedly told the CWC that these senior leaders had put the interests of their sons before the interests of the party.
Gandhi is learnt to have said that Chidambaram was even willing to walk out of the party if his son was denied a Lok Sabha ticket.
| english |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>web自动化测试结果报告</title>
</head>
<body>
<h2>web自动化测试结果报告</h2>
<p>备注:后续将完善这里的报告!</p>
<ul>
<li>已配置不执行端对端测试!</li>
<li><a href="unit_test_report_01/mochawesome.html" target="_blank">单元测试详细报告</a></li>
<li><a href="coverage/index.html" target="_blank">单元测试覆盖率报告</a></li>
</ul>
<h2>其他信息</h2>
<ul>
<li><a href="output.zip" target="_blank">output.zip</a></li>
<li><a href="test-record.json" target="_blank">test-record.json</a></li>
</ul>
</body>
</html> | html |
The 82-year-old actor has been receiving care at the Deenanath Mangeshkar Hospital in this city lately.
Digital Desk: Veteran actor Vikram Gokhale, who has worked in theatre, film, and television, has been admitted to the intensive care unit of a local hospital after his health declined, sources close to his family said on Wednesday night.
They reported that his health was critical.
The 82-year-old actor has been receiving care at the Deenanath Mangeshkar Hospital in this city lately.
Officials from the hospital steadfastly declined to comment on his condition. Gokhale has appeared in a number of Marathi and Bollywood movies, including "Hum Dil De Chuke Sanam" (1999), starring Salman Khan and Aishwarya Rai Bachchan, and "Agneepath," a 1990 film starring Amitabh Bachchan. The current release of his most recent Marathi movie, "Godavari," is in theatres. | english |
<gh_stars>10-100
{
"vorgangId": "243402",
"VORGANG": {
"WAHLPERIODE": "19",
"VORGANGSTYP": "EU-Vorlage",
"TITEL": "Bericht der Kommission an das Europäische Parlament und den Rat über die Ausübung der Befugnis zum Erlass delegierter Rechtsakte, die der Kommission gemäß der Verordnung (EG) Nr. 638/2004 des Europäischen Parlaments und des Rates über die Gemeinschaftsstatistiken des Warenverkehrs zwischen Mitgliedstaaten übertragen wurde \r\nKOM(2018) 754 endg.; Ratsdok. 14980/18",
"INITIATIVE": "Bundestag",
"AKTUELLER_STAND": "",
"SIGNATUR": "",
"GESTA_ORDNUNGSNUMMER": "",
"WICHTIGE_DRUCKSACHE": {
"DRS_HERAUSGEBER": "BT",
"DRS_NUMMER": "19/7158",
"DRS_TYP": "Unterrichtung",
"DRS_LINK": "http://dipbt.bundestag.de:80/dip21/btd/19/071/1907158.pdf"
},
"EU_DOK_NR": "Ratsdok. 14980/18, Kom. (2018) 754 endg.",
"ABSTRAKT": ""
},
"VORGANGSABLAUF": {
"VORGANGSPOSITION": {
"ZUORDNUNG": "BT",
"URHEBER": "Unterrichtung: Keine Ausschussüberweisung, Urheber : Bundestag ",
"FUNDSTELLE": "18.01.2019 - BT-Drucksache 19/7158, Nr. B.30",
"FUNDSTELLE_LINK": "http://dipbt.bundestag.de:80/dip21/btd/19/071/1907158.pdf"
}
}
}
| json |
<gh_stars>1-10
#include "gentextedit.h"
#include <iostream>
#include <QDebug>
#include <QApplication>
#include <QClipboard>
#include <algorithm>
#include <QPainter>
#include <QScrollBar>
RussianDictionary *GenTextEdit::rusDic_ = new RussianDictionary();
GenTextEdit::GenTextEdit(QWidget *parent) :
QTextEdit(parent),
timer_(new QTimer()),
requestTimer_(new QTimer())
{
undoRedoBuffer_ = new UndoRedoText;
//rusDic_ = new RussianDictionary;
timer_->setSingleShot(true);
connect(timer_, SIGNAL(timeout()), this, SLOT(checkSpelling()));
requestTimer_->setSingleShot(true);
connect(requestTimer_, SIGNAL(timeout()), SLOT(sendServerRequest()));
this->setTextColor(QColor(0, 0, 0));
nCurrentFile_ = 1;
charCounter_ = 0;
detailsSetCharStyle(globCh);
this->verticalScrollBar()->setStyleSheet(
"QScrollBar:vertical {"
"background-color: #FFFFF0;"
"width: 9px;"
"margin: 0px 0px 0px 0px;}"
"QScrollBar::handle:vartical {"
"border-radius: 4px;"
"background: #e3e3df;"
"min-height: 0px;}"
"QScrollBar::handle:vertical:hover {"
"border-radius: 4px;"
"background: #c7c7bf;"
"min-height: 0px;}"
"QScrollBar::add-line:vertical {"
"border: none;"
"background: none;}"
"QScrollBar::sub-line:vertical {"
"border: none;"
"background: none;}"
);
this->setContextMenuPolicy(Qt::ContextMenuPolicy::NoContextMenu);
}
//We want to create our Text editor with special functions and hot-keys
//that is why we override keyPressEvent()
void GenTextEdit::keyPressEvent(QKeyEvent *event) {
int iKey = event->key();
Qt::KeyboardModifiers kmModifiers = event->modifiers();
int cursorPos = this->textCursor().position();
QTextCharFormat charFormat; //to back Normal font style of text after Bold, Italic, Underline... words
charFormat.setFontWeight(QFont::Normal);
charStyle_t ch;
detailsSetCharStyle(ch);
commandInfo_t command;
//all comands which insert smth
if (charCounter_ <= MAX_COUNT_CHAR_) {
requestTimer_->start(500);
//letters
if (kmModifiers == 0 || kmModifiers == Qt::ShiftModifier) {
if ((iKey >= Qt::Key_A && iKey <= Qt::Key_Z) ||
(QKeySequence(iKey).toString() >= "А" && (QKeySequence(iKey).toString() <= "Я")) ||
QKeySequence(iKey).toString() == "Ё") {
detailsCheckSelectionAndItem(cursorPos);
detailsSetCharStyleByNeighbours(ch, cursorPos);
charStyleVector_.insert(cursorPos, 1, ch);
QTextEdit::keyPressEvent(event); //we can't identify CapsLock that's why use base method
detailsSetCharStyleByIndex(ch, cursorPos + 1);
++charCounter_;
//Add coommand to UndoRefoBuffer
const QString text = (kmModifiers != 0 ?
QKeySequence(iKey).toString() :
QKeySequence(iKey).toString().toLower());
setCommandInfo(command, command::insertStr, cursorPos, text);
undoRedoBuffer_->pushUndoCommand(command);
timer_->stop();
timer_->start(1000);
return;
}
}
//numbers
if (kmModifiers == 0) {
if (iKey >= Qt::Key_0 && iKey <= Qt::Key_9) {
detailsCheckSelectionAndItem(cursorPos);
this->insertPlainText(QKeySequence(iKey).toString());
detailsSetCharStyleByNeighbours(ch, cursorPos);
charStyleVector_.insert(cursorPos, 1, ch);
detailsSetCharStyleByIndex(ch, cursorPos + 1);
++charCounter_;
//Add coommand to UndoRefoBuffer
setCommandInfo(command, command::insertStr, cursorPos, QKeySequence(iKey).toString());
undoRedoBuffer_->pushUndoCommand(command);
timer_->stop();
timer_->start(1000);
return;
}
}
//special chars
if (kmModifiers == 0 || kmModifiers == Qt::ShiftModifier) {
for (QChar i : AVAILABLE_CHARS_) {
if (QKeySequence(iKey).toString() == i) {
detailsCheckSelectionAndItem(cursorPos);
this->insertPlainText(QKeySequence(iKey).toString());
detailsSetCharStyleByNeighbours(ch, cursorPos);
charStyleVector_.insert(cursorPos, 1, ch);
detailsSetCharStyleByIndex(ch, cursorPos + 1);
++charCounter_;
//Add coommand to UndoRefoBuffer
setCommandInfo(command, command::insertStr, cursorPos, QKeySequence(iKey).toString());
undoRedoBuffer_->pushUndoCommand(command);
timer_->stop();
timer_->start(1000);
return;
}
}
}
switch (iKey) {
//Space
case Qt::Key_Space : {
detailsCheckSelectionAndItem(cursorPos);
addSpace(cursorPos);
//Add coommand to UndoRefoBuffer
setCommandInfo(command, command::insertStr, cursorPos, " ");
undoRedoBuffer_->pushUndoCommand(command);
checkSpelling();
return;
}
//Tab
case Qt::Key_Tab : {
// if (this->textCursor().selectedText() != "") {
// detailsEraseSelectedText(cursorPos);
// }
addTab(cursorPos);
timer_->stop();
timer_->start(1000);
return;
}
//Shift + Tab
case Qt::Key_Backtab : {
backTab(cursorPos);
return;
}
//Return
case Qt::Key_Return :
detailsCheckSelectionAndItem(cursorPos);
this->textCursor().insertText("\n", charFormat);
charStyleVector_.insert(cursorPos, 1, ch);
++charCounter_;
//Add coommand to UndoRefoBuffer
setCommandInfo(command, command::insertStr, cursorPos, "\n");
undoRedoBuffer_->pushUndoCommand(command);
checkSpelling();
return;
}
if (kmModifiers == Qt::ControlModifier) {
//Ctrl + z
if (QKeySequence(iKey) == Qt::Key_Z || QKeySequence(iKey).toString() == "Я") {
undoCommand();
timer_->stop();
timer_->start(1000);
}
else if (QKeySequence(iKey) == Qt::Key_Y || QKeySequence(iKey).toString() == "Н") {
redoCommand();
timer_->stop();
timer_->start(1000);
}
//Ctrl + d - dash
else if (QKeySequence(iKey) == Qt::Key_D ||QKeySequence(iKey).toString() == "В") {
detailsCheckSelectionAndItem(cursorPos);
this->insertPlainText(dashSign_);
charStyleVector_.insert(cursorPos, 1, ch);
++charCounter_;
//Add coommand to UndoRefoBuffer
setCommandInfo(command, command::insertStr, cursorPos, dashSign_);
undoRedoBuffer_->pushUndoCommand(command);
timer_->stop();
timer_->start(1000);
return;
}
//Ctrl + V - paste
else if (QKeySequence(iKey) == Qt::Key_V) {
detailsCheckSelectionAndItem(cursorPos);
QClipboard* buffer = QApplication::clipboard();
QString insertLine = buffer->text();
int first = insertLine.length();
int second = MAX_COUNT_CHAR_ - charCounter_ + 1;
int end = std::min(first, second);
insertLine = insertLine.mid(0, end); //to correct work with limit of chars
this->textCursor().insertText(insertLine);
charStyleVector_.insert(cursorPos, insertLine.length(), ch);
charCounter_ += insertLine.length();
//Add coommand to UndoRefoBuffer
setCommandInfo(command, command::insertStr, cursorPos, insertLine);
undoRedoBuffer_->pushUndoCommand(command);
timer_->stop();
timer_->start(1000);
return;
}
//Ctrl + p - add to-do-list with point
else if (QKeySequence(iKey) == Qt::Key_P || QKeySequence(iKey).toString() == "З") {
addTodoList(pointSign_);
return;
}
//Ctrl + '-' - add to-do-list with minus
else if (QKeySequence(iKey) == Qt::Key_Minus) {
addTodoList(minusSign_);
return;
}
//Ctrl + w - add red star
else if (QKeySequence(iKey) == Qt::Key_W || QKeySequence(iKey).toString() == "Ц") {
addStar();
return;
}
}
}
//Esc canceled all selection
if (iKey == Qt::Key_Escape) {
if (this->textCursor().hasSelection()) {
this->moveCursor(QTextCursor::Right);
}
return;
}
//Home
if (iKey == Qt::Key_Home) {
QTextCursor c = this->textCursor();
c.movePosition(QTextCursor::Start, QTextCursor::MoveAnchor);
this->setTextCursor(c);
return;
}
//End
if (iKey == Qt::Key_End) {
QTextCursor c = this->textCursor();
c.movePosition(QTextCursor::End, QTextCursor::MoveAnchor);
this->setTextCursor(c);
return;
}
//Arrows Left, Up, Right, Down - move to chars and lines
if (kmModifiers == 0) {
switch (iKey) {
case Qt::Key_Left :
this->moveCursor(QTextCursor::Left);
return;
case Qt::Key_Right :
this->moveCursor(QTextCursor::Right);
return;
case Qt::Key_Up :
this->moveCursor(QTextCursor::Up);
return;
case Qt::Key_Down :
this->moveCursor(QTextCursor::Down);
return;
}
}
//Shift + arrows
if (kmModifiers == Qt::ShiftModifier || kmModifiers == (Qt::ShiftModifier | Qt::ControlModifier)) {
if (QKeySequence(iKey) == Qt::Key_Up || QKeySequence(iKey) == Qt::Key_Down ||
QKeySequence(iKey) == Qt::Key_Right || QKeySequence(iKey) == Qt::Key_Left) {
//it is tmp soluton, I want to reimplementate work with shift
QTextEdit::keyPressEvent(event);
return;
}
}
//Ctrl + arrows
if (kmModifiers == Qt::ControlModifier) {
//Ctrl + arrows Up/Down move cursor to start/end of text
if (QKeySequence(iKey) == Qt::Key_Up) {
this->moveCursor(QTextCursor::Start);
return;
}
else if (QKeySequence(iKey) == Qt::Key_Down) {
this->moveCursor(QTextCursor::End);
return;
}
//Ctrl + arrows <-/-> - move to words
else if (QKeySequence(iKey) == Qt::Key_Left) {
this->moveCursor(QTextCursor::PreviousWord);
return;
}
else if (QKeySequence(iKey) == Qt::Key_Right) {
this->moveCursor(QTextCursor::NextWord);
return;
}
}
if (kmModifiers == Qt::ControlModifier) {
QClipboard* buffer = QApplication::clipboard();
//Ctrl + C - copy
if (QKeySequence(iKey) == Qt::Key_C) {
QString Selectline = this->textCursor().selectedText();
buffer->setText(Selectline);
return;
}
//Ctrl + A - select all
else if (QKeySequence(iKey) == Qt::Key_A) {
this->selectAll();
return;
}
//Ctrl + X - cut
else if (QKeySequence(iKey) == Qt::Key_X) {
detailsCheckSelectionAndItem(cursorPos); //work with UndoRedoBuffer in that function
this->cut();
timer_->stop();
timer_->start(1000);
}
//Ctrl + b - Bold
else if (QKeySequence(iKey) == Qt::Key_B || QKeySequence(iKey).toString() == "И") {
if (this->textCursor().hasSelection()) {
setCharStyle(charStyle::Bold);
}
else {
detailsSetCharStyle(globCh, charStyle::Bold);
}
}
//Ctrl + i - Italic
else if (QKeySequence(iKey) == Qt::Key_I || QKeySequence(iKey).toString() == "Ш") {
if (this->textCursor().hasSelection()) {
setCharStyle(charStyle::Italic);
}
else {
detailsSetCharStyle(globCh, charStyle::Italic);
}
}
//Ctrl + u - Underline
else if (QKeySequence(iKey) == Qt::Key_U || QKeySequence(iKey).toString() == "Г") {
if (this->textCursor().hasSelection()) {
setCharStyle(charStyle::Underline);
}
else {
detailsSetCharStyle(globCh, charStyle::Underline);
}
}
//Ctrl + s - Strike
else if (QKeySequence(iKey) == Qt::Key_S || QKeySequence(iKey).toString() == "Ы") {
if (this->textCursor().hasSelection()) {
setCharStyle(charStyle::Strike);
}
else {
detailsSetCharStyle(globCh, charStyle::Strike);
}
}
//Ctrl + n - Normal
else if (QKeySequence(iKey) == Qt::Key_N || QKeySequence(iKey).toString() == "Т") {
makeCharNormal();
detailsSetCharStyle(globCh);
return;
}
//Ctrl + g - highlight in green
else if (QKeySequence(iKey) == Qt::Key_G || QKeySequence(iKey).toString() == "П") {
colorText(colors::green);
this->moveCursor(QTextCursor::Right);
return;
}
//Ctrl + l - lavender
else if (QKeySequence(iKey) == Qt::Key_L || QKeySequence(iKey).toString() == "Д") {
colorText(colors::lavender);
this->moveCursor(QTextCursor::Right);
return;
}
//Ctrl + m - marina
else if (QKeySequence(iKey) == Qt::Key_M || QKeySequence(iKey).toString() == "Ь") {
colorText(colors::marina);
this->moveCursor(QTextCursor::Right);
return;
}
//Ctrl + o - orange
else if (QKeySequence(iKey) == Qt::Key_O || QKeySequence(iKey).toString() == "Щ") {
colorText(colors::orange);
this->moveCursor(QTextCursor::Right);
return;
}
//Ctrl + r - red
else if (QKeySequence(iKey) == Qt::Key_R || QKeySequence(iKey).toString() == "К") {
colorText(colors::red);
this->moveCursor(QTextCursor::Right);
checkSpelling();
return;
}
}
//Ctrl + Shift + D - add new word to dictionary
if (kmModifiers == (Qt::ShiftModifier | Qt::ControlModifier) &&
(QKeySequence(iKey) == Qt::Key_D || QKeySequence(iKey).toString() == "В")) {
rusDic_->addNewWord(this->textCursor().selectedText().toLower());
timer_->stop();
timer_->start(1000);
return;
}
//Backspace
if (QKeySequence(iKey) == Qt::Key_Backspace) {
//analize item posotion if it is item
detailsCheckItemPosInDeleting(cursorPos, true, kmModifiers);
deleteSmth(kmModifiers, QTextCursor::PreviousWord, cursorPos, 0, 1);
this->textCursor().deletePreviousChar();
timer_->stop();
timer_->start(1000);
}
//Delete
else if (QKeySequence(iKey) == Qt::Key_Delete) {
detailsCheckItemPosInDeleting(cursorPos, false, kmModifiers);
deleteSmth(kmModifiers, QTextCursor::NextWord, cursorPos, charStyleVector_.size());
this->textCursor().deleteChar();
timer_->stop();
timer_->start(1000);
}
}
/*void GenTextEdit::paintEvent(QPaintEvent *event) {
// use paintEvent() of base class to do the main work
QTextEdit::paintEvent(event);
// draw cursor (if widget has focus)
if (hasFocus()) {
const QRect qRect = cursorRect(textCursor());
QPainter qPainter(viewport());
qPainter.fillRect(qRect, QColor(Qt::red));
}
}*/
void GenTextEdit::checkSpelling() {
QString text = this->toPlainText();
QTextStream sourseText(&text);
QChar curCh;
QString word = "";
for (int i = 0; i < text.length(); ++i) {
sourseText >> curCh;
//dictionary doesn't know about 'Ё' letter
if (curCh == "ё" || curCh == "Ё") {
curCh = QChar(RUS_YO_UNICODE);
}
curCh = curCh.toLower();
if (detailsIsLetter(curCh)) {
word += curCh;
}
else if (!word.isEmpty() && curCh == "-") {
word += curCh;
}
else if (!word.isEmpty()) {
detailsCheckSpelling(word, i);
word = "";
}
}
//check the last word
if (!word.isEmpty()) {
detailsCheckSpelling(word, charCounter_);
}
}
void GenTextEdit::sendServerRequest() {
emit sendServerRequest(nCurrentFile_);
}
| cpp |
Mumbai Indians skipper Rohit Sharma has been reprimanded by the Indian Premier League (IPL) disciplinary committee for showing dissent against the umpire's decision during the recently concluded encounter against Kolkata Knight Riders at Wankhede Stadium on Sunday.
The incident happened during the 10th over bowled by Sunil Narine when umpire CK Nandan adjudged the 29-year-old LBW when there was a clear involvement of bat.
Visibly frustrated with the decision, Rohit reluctantly left the field while expressing his anger at the decision.
A statement released by IPL confirmed that Rohit was found guilty of breaching Level 1 offence that deals with the conduct of players and officials.
“Rohit Sharma, the Mumbai Indians captain, was reprimanded by the match referee for showing excessive, obvious disappointment with an Umpire’s decision during his team’s contest against the Kolkata Knight Riders at the Wankhede Stadium,” read the statement.
“Mr Sharma admitted to the Level 1 offence 2.1.5 of the IPL Code of Conduct for Players and Team Officials.
“For Level 1 breaches of the IPL Code of Conduct, the Match Referee’s decision is final and binding,” it added.
Riding on a fifty from Nitish Rana and a blistering cameo from Hardik Pandya, Mumbai Indians went on to win the game by four wickets while chasing 179 runs in the penultimate delivery.
| english |
import React from "react";
import Img from "react-image";
import logo from "public/logo-dark.png";
import styled from "styled-components";
import { media } from "src/styles/mediaQueries";
const Logo = ({ className }) => <Img className={className} src={logo} />;
const AbakusLogo = styled(Logo).attrs({
size: props => props.size || "8em"
})`
padding: 1.5em;
object-fit: scale-down;
max-height: ${props => props.size};
${media.handheld`
max-height: 6em;
`};
`;
export default AbakusLogo;
| javascript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.