text
stringlengths
1
22.8M
SBS Eight O'Clock News (Also known as SBS 8 News (SBS 8 뉴스 in Korean)) is the flagship nightly newscast of the Seoul Broadcasting System. Airing from 19:50~21:00 KST on weekdays since 21 September 2020 and from 20:00~20:45 KST on weekends, the newscast is known for breaking the tradition of airing news at 21:00 mastered by KBS with KBS News 9, MBC with MBC Newsdesk and JTBC with JTBC Newsroom, which gave the slogan: "News an hour earlier". It premiered on 9 December 1991, in conjunction with SBS' launch. In commemoration of the broadcaster's 20th anniversary on 9 December 2011, SBS 8 News celebrated its 20th anniversary, making it the longest-running nightly newscast airing on a private broadcaster. Segments Current segments Since 21 September 2020, most of the segments (except the sports news and weather) has been placed on the second part, nicknamed S-Pick. Mobile Coverage - this seems to be a segment similar to MBC Newsdesk's Camera Launch, KBS News 9's Tracing 1234 and JTBC Newsroom's Close Camera where reporters cover stories in-depth based on reports from citizens. What is The Truth? - this is a segment where Lee Kyung-won appears in-studio to fact-check statements given by politicians or important events that happened within the country. Towards the end of the segment, they decide if the statement is true through 5 categories: Facts (사실), Almost True (거의 사실), True & False (사실 & 거짓), Almost Untrue (거의 거짓) and Lies (거짓). A mascot named Factkio (팩트키오) also appears during the broadcast. Panda to The End - a segment similar to Newsroom's Exploration Plus, it's a recurring segment where Kim Jong-won cover a certain story in-depth. The segment uses a panda as its mascot. Healthy Life - a segment where medical reporter Cho Dong-chan analyzes issues related to health. Cultural Line - a Friday-only segment where reporters do stories related to entertainment, education and other aspects of culture. SBS Sports News - this is a segment where Kim Yoon-sang (on weekdays) and Lee Yoon-ah (on weekends) present sports news. On 30 March 2020, Lee Seung-gi made an appearance towards the end of the segment as a part of their SBS intern special episode of Master in the House. This episode also showed Cha Eun-woo hosting the radio broadcast, while Yang Se-hyung served as Lee's backup in case of unexpected circumstances. Shin Sung-rok and Kim Dong-hyun helped out in the production side. SBS Weather - the weather segment presented by Nam Yoo-jin on weekdays and Saturdays, and Yang Tae-bin on Sundays. Former segments Inside the Stock Market - it was a compilation of eight economy-related stories where reporters from the economy and securities team also show the stock market trades through computer graphics. Economic Indicators - it is similar with Inside the Stock Market above, only aired on weekdays. Today in History - it shows a significant historical event that happened that day. Issue Report: An In-depth Look/Field Report: Going Without Reservations/We Have a Tip! - established on 23 March 2019, these three segments seem to be similar to Mobile Coverage and Panda to the End. Anchors Currently, SBS 8 News is presented by Kim Hyun-woo and Choi Hye-rim on weekdays, and Kim Yong-tae and Joo Si-eun on weekends. Lee Yoon-ah presents the sports news on weekdays and weekends.. Nam Yoo-jin presents the weather forecast on weekdays and Saturdays, while Yang Tae-bin does it on Sundays. Main presenters Broadcast times Local versions Local newscasts are aired after SBS 8 NEWS at 20:35 on weekdays. A typical newscast runs for 20 minutes on weekdays and 10 minutes on weekends. The local newscasts pre-empt the SBS 8 NEWS Sports news and Business news segment. See also KBS News 9 MBC Newsdesk JTBC Newsroom External links South Korean television news shows Korean-language television shows Flagship evening news shows
```objective-c // 2016 and later: Unicode, Inc. and others. /* ******************************************************************************* * others. All Rights Reserved. ******************************************************************************* */ #ifndef BASICTZ_H #define BASICTZ_H /** * \file * \brief C++ API: ICU TimeZone base class */ #include "unicode/utypes.h" #if U_SHOW_CPLUSPLUS_API #if !UCONFIG_NO_FORMATTING #include "unicode/timezone.h" #include "unicode/tzrule.h" #include "unicode/tztrans.h" U_NAMESPACE_BEGIN // forward declarations class UVector; /** * <code>BasicTimeZone</code> is an abstract class extending <code>TimeZone</code>. * This class provides some additional methods to access time zone transitions and rules. * All ICU <code>TimeZone</code> concrete subclasses extend this class. * @stable ICU 3.8 */ class U_I18N_API BasicTimeZone: public TimeZone { public: /** * Destructor. * @stable ICU 3.8 */ virtual ~BasicTimeZone(); /** * Clones this object polymorphically. * The caller owns the result and should delete it when done. * @return clone, or nullptr if an error occurred * @stable ICU 3.8 */ virtual BasicTimeZone* clone() const override = 0; /** * Gets the first time zone transition after the base time. * @param base The base time. * @param inclusive Whether the base time is inclusive or not. * @param result Receives the first transition after the base time. * @return true if the transition is found. * @stable ICU 3.8 */ virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0; /** * Gets the most recent time zone transition before the base time. * @param base The base time. * @param inclusive Whether the base time is inclusive or not. * @param result Receives the most recent transition before the base time. * @return true if the transition is found. * @stable ICU 3.8 */ virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0; /** * Checks if the time zone has equivalent transitions in the time range. * This method returns true when all of transition times, from/to standard * offsets and DST savings used by this time zone match the other in the * time range. * @param tz The <code>BasicTimeZone</code> object to be compared with. * @param start The start time of the evaluated time range (inclusive) * @param end The end time of the evaluated time range (inclusive) * @param ignoreDstAmount * When true, any transitions with only daylight saving amount * changes will be ignored, except either of them is zero. * For example, a transition from rawoffset 3:00/dstsavings 1:00 * to rawoffset 2:00/dstsavings 2:00 is excluded from the comparison, * but a transition from rawoffset 2:00/dstsavings 1:00 to * rawoffset 3:00/dstsavings 0:00 is included. * @param ec Output param to filled in with a success or an error. * @return true if the other time zone has the equivalent transitions in the * time range. * @stable ICU 3.8 */ virtual UBool hasEquivalentTransitions(const BasicTimeZone& tz, UDate start, UDate end, UBool ignoreDstAmount, UErrorCode& ec) const; /** * Returns the number of <code>TimeZoneRule</code>s which represents time transitions, * for this time zone, that is, all <code>TimeZoneRule</code>s for this time zone except * <code>InitialTimeZoneRule</code>. The return value range is 0 or any positive value. * @param status Receives error status code. * @return The number of <code>TimeZoneRule</code>s representing time transitions. * @stable ICU 3.8 */ virtual int32_t countTransitionRules(UErrorCode& status) const = 0; /** * Gets the <code>InitialTimeZoneRule</code> and the set of <code>TimeZoneRule</code> * which represent time transitions for this time zone. On successful return, * the argument initial points to non-nullptr <code>InitialTimeZoneRule</code> and * the array trsrules is filled with 0 or multiple <code>TimeZoneRule</code> * instances up to the size specified by trscount. The results are referencing the * rule instance held by this time zone instance. Therefore, after this time zone * is destructed, they are no longer available. * @param initial Receives the initial timezone rule * @param trsrules Receives the timezone transition rules * @param trscount On input, specify the size of the array 'transitions' receiving * the timezone transition rules. On output, actual number of * rules filled in the array will be set. * @param status Receives error status code. * @stable ICU 3.8 */ virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial, const TimeZoneRule* trsrules[], int32_t& trscount, UErrorCode& status) const = 0; /** * Gets the set of time zone rules valid at the specified time. Some known external time zone * implementations are not capable to handle historic time zone rule changes. Also some * implementations can only handle certain type of rule definitions. * If this time zone does not use any daylight saving time within about 1 year from the specified * time, only the <code>InitialTimeZone</code> is returned. Otherwise, the rule for standard * time and daylight saving time transitions are returned in addition to the * <code>InitialTimeZoneRule</code>. The standard and daylight saving time transition rules are * represented by <code>AnnualTimeZoneRule</code> with <code>DateTimeRule::DOW</code> for its date * rule and <code>DateTimeRule::WALL_TIME</code> for its time rule. Because daylight saving time * rule is changing time to time in many time zones and also mapping a transition time rule to * different type is lossy transformation, the set of rules returned by this method may be valid * for short period of time. * The time zone rule objects returned by this method is owned by the caller, so the caller is * responsible for deleting them after use. * @param date The date used for extracting time zone rules. * @param initial Receives the <code>InitialTimeZone</code>, always not nullptr. * @param std Receives the <code>AnnualTimeZoneRule</code> for standard time transitions. * When this time time zone does not observe daylight saving times around the * specified date, nullptr is set. * @param dst Receives the <code>AnnualTimeZoneRule</code> for daylight saving time * transitions. When this time zone does not observer daylight saving times * around the specified date, nullptr is set. * @param status Receives error status code. * @stable ICU 3.8 */ virtual void getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, AnnualTimeZoneRule*& std, AnnualTimeZoneRule*& dst, UErrorCode& status) const; /** * Get time zone offsets from local wall time. * @stable ICU 69 */ virtual void getOffsetFromLocal( UDate date, UTimeZoneLocalOption nonExistingTimeOpt, UTimeZoneLocalOption duplicatedTimeOpt, int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) const; #ifndef U_HIDE_INTERNAL_API /** * The time type option bit flags used by getOffsetFromLocal * @internal */ enum { kStandard = 0x01, kDaylight = 0x03, kFormer = 0x04, /* UCAL_TZ_LOCAL_FORMER */ kLatter = 0x0C /* UCAL_TZ_LOCAL_LATTER */ }; /** * Get time zone offsets from local wall time. * @internal */ void getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) const; #endif /* U_HIDE_INTERNAL_API */ protected: #ifndef U_HIDE_INTERNAL_API /** * A time type option bit mask used by getOffsetFromLocal. * @internal */ static constexpr int32_t kStdDstMask = kDaylight; /** * A time type option bit mask used by getOffsetFromLocal. * @internal */ static constexpr int32_t kFormerLatterMask = kLatter; #endif /* U_HIDE_INTERNAL_API */ /** * Default constructor. * @stable ICU 3.8 */ BasicTimeZone(); /** * Construct a timezone with a given ID. * @param id a system time zone ID * @stable ICU 3.8 */ BasicTimeZone(const UnicodeString &id); /** * Copy constructor. * @param source the object to be copied. * @stable ICU 3.8 */ BasicTimeZone(const BasicTimeZone& source); /** * Copy assignment. * @stable ICU 3.8 */ BasicTimeZone& operator=(const BasicTimeZone&) = default; /** * Gets the set of TimeZoneRule instances applicable to the specified time and after. * @param start The start date used for extracting time zone rules * @param initial Output parameter, receives the InitialTimeZone. * Always not nullptr (except in case of error) * @param transitionRules Output parameter, a UVector of transition rules. * May be nullptr, if there are no transition rules. * The caller owns the returned vector; the UVector owns the rules. * @param status Receives error status code */ void getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, UVector*& transitionRules, UErrorCode& status) const; }; U_NAMESPACE_END #endif /* #if !UCONFIG_NO_FORMATTING */ #endif /* U_SHOW_CPLUSPLUS_API */ #endif // BASICTZ_H //eof ```
The men's 100 metre breaststroke event at the 1980 Summer Olympics in Moscow was held on 21 and 22 July at the Swimming Pool at the Olimpiysky Sports Complex. Records Prior to this competition, the existing world and Olympic records were as follows. Results Heats Final References B Men's events at the 1980 Summer Olympics
Carrington training ground can refer to: the training ground of Manchester United F.C. at the Trafford Training Centre the training ground of Manchester City F.C. at the Carrington Training Centre the training ground of Sale Sharks rugby club
```java Common mistake on switch statements Updating interfaces by using `default` methods Metadata: creating a user-defined file attribute Using `synchronized` statements There is no such thing as *pass-by-reference* in Java ```
Isidora or Isadora is a female given name of Greek origin, derived from Ἰσίδωρος, Isídōros (a compound of Ἶσις, Ísis, and δῶρον, dōron: "gift of [the goddess] Isis"). The male equivalent is Isidore. The name survived the suppression of the worship of the Egyptian goddess Isis in the newly Christianized Roman Empire, and is, among others, the name of several Christian saints. Similar "gift" names include the Greek "Theodore" and Slavic "Bogdan" (both meaning "gift of God"), the Persian "Mithradates" ("gift of Mithras") and Datis ("gift"), and the Hebrew "Matanya" ("gift of Jah"). The Indo-European "gift" names are ultimately derived from the *PIE root *deh₃-, "to give". It was the ninth most popular name for baby girls in Chile in 2006. People Saint Isidora, Christian 4th century saint and nun Isadora Bennett (1900–1980), American publicity agent for modern dance theatre Isidora Bjelica, (born 1967 - 2020), Serbian writer Isadora Cerullo (born 1991), Brazilian-American rugby sevens player Isadora Duncan (1877 or 1878–1927), American dancer Isadora Newman (1878–1955), American artist, poet, writer, playwright and storyteller Isidora Niemeyer (born 2001), Chilean rower Isidora Sekulić (1877–1958), Serbian writer and adventurer Isadora Williams (born 1996), Brazilian-American figure skater Isidora Zegers (1803–1869), Spanish artist and composer Isidora Žebeljan (1967-2020), Serbian composer Isadora Zubillaga (born 1968), Venezuelan diplomat and activist. Fictional characters Isadora Quagmire, in the A Series of Unfortunate Events novel series Isadora Smackle, in the American television series Girl Meets World Isadore Daniels, in the American film Jump In! Isidora is the main antagonist in the DLC ‘’Curse of the Pharaohs’’ for the 2017 game ‘’Assassin's Creed: Origins’’ References Feminine given names Spanish feminine given names Given names Portuguese feminine given names
```kotlin package net.corda.coretests.contracts import net.corda.core.contracts.TimeWindow import net.corda.core.internal.div import net.corda.core.internal.times import net.corda.core.utilities.millis import net.corda.core.utilities.minutes import org.assertj.core.api.Assertions.assertThat import org.junit.Test import java.time.Duration import java.time.Instant import java.time.LocalDate import java.time.ZoneOffset.UTC class TimeWindowTest { private val now = Instant.now() @Test(timeout=300_000) fun fromOnly() { val timeWindow = TimeWindow.fromOnly(now) assertThat(timeWindow.fromTime).isEqualTo(now) assertThat(timeWindow.untilTime).isNull() assertThat(timeWindow.midpoint).isNull() assertThat(timeWindow.length).isNull() assertThat(timeWindow.contains(now - 1.millis)).isFalse() assertThat(timeWindow.contains(now)).isTrue() assertThat(timeWindow.contains(now + 1.millis)).isTrue() } @Test(timeout=300_000) fun untilOnly() { val timeWindow = TimeWindow.untilOnly(now) assertThat(timeWindow.fromTime).isNull() assertThat(timeWindow.untilTime).isEqualTo(now) assertThat(timeWindow.midpoint).isNull() assertThat(timeWindow.length).isNull() assertThat(timeWindow.contains(now - 1.millis)).isTrue() assertThat(timeWindow.contains(now)).isFalse() assertThat(timeWindow.contains(now + 1.millis)).isFalse() } @Test(timeout=300_000) fun between() { val today = LocalDate.now() val fromTime = today.atTime(12, 0).toInstant(UTC) val untilTime = today.atTime(12, 30).toInstant(UTC) val timeWindow = TimeWindow.between(fromTime, untilTime) assertThat(timeWindow.fromTime).isEqualTo(fromTime) assertThat(timeWindow.untilTime).isEqualTo(untilTime) assertThat(timeWindow.midpoint).isEqualTo(today.atTime(12, 15).toInstant(UTC)) assertThat(timeWindow.length).isEqualTo(Duration.between(fromTime, untilTime)) assertThat(timeWindow.contains(fromTime - 1.millis)).isFalse() assertThat(timeWindow.contains(fromTime)).isTrue() assertThat(timeWindow.contains(fromTime + 1.millis)).isTrue() assertThat(timeWindow.contains(untilTime)).isFalse() assertThat(timeWindow.contains(untilTime + 1.millis)).isFalse() } @Test(timeout=300_000) fun fromStartAndDuration() { val duration = 10.minutes val timeWindow = TimeWindow.fromStartAndDuration(now, duration) assertThat(timeWindow.fromTime).isEqualTo(now) assertThat(timeWindow.untilTime).isEqualTo(now + duration) assertThat(timeWindow.midpoint).isEqualTo(now + duration / 2) assertThat(timeWindow.length).isEqualTo(duration) } @Test(timeout=300_000) fun withTolerance() { val tolerance = 10.minutes val timeWindow = TimeWindow.withTolerance(now, tolerance) assertThat(timeWindow.fromTime).isEqualTo(now - tolerance) assertThat(timeWindow.untilTime).isEqualTo(now + tolerance) assertThat(timeWindow.midpoint).isEqualTo(now) assertThat(timeWindow.length).isEqualTo(tolerance * 2) } } ```
```hack #ifndef LM_WEIGHTS_H #define LM_WEIGHTS_H // Weights for n-grams. Probability and possibly a backoff. namespace lm { struct Prob { float prob; }; // No inheritance so this will be a POD. struct ProbBackoff { float prob; float backoff; }; struct RestWeights { float prob; float backoff; float rest; }; } // namespace lm #endif // LM_WEIGHTS_H ```
Untitled (African-American Flag) is a vexillographic artwork by American artist David Hammons from 1990, combining the colors of the Pan-African flag with the pattern of the flag of the United States to represent African American identity. The flag replaces the red, white and blue colors on the traditional American flag with Pan-African colors. It was first created for the art exhibition "Black USA" at an Amsterdam museum in 1990, and its first edition was of five flags, which are now in major museum collections. The work's creation has been seen in the context of the inauguration of David Dinkins as the first African American mayor of New York City, following his 1989 election. The following year Hammons was awarded the MacArthur Genius Fellowship for his "contributions to African American cultural identity". Collections and galleries The original series was of five flags, these are sometimes known as the 'Amsterdam flags'. The original series was followed by another series of ten. The original series flags include the versions in the collections of: Museum of Modern Art, New York, (two versions, one shared with the Studio Museum in Harlem) The Broad, Los Angeles National Museum of African American History and Culture, Smithsonian Institution, Washington, DC The Collection Over Holland The work is also in following collections but it is unclear when they were created: Jack Shainman Gallery The New School, New York Pizzuti collection, Columbus, Ohio Display and symbolism Since 2004 the Studio Museum Harlem has flown its version of the artwork above its entrance in Harlem, New York. Replicas of Hammon's flag are frequently flown social justice protests and demonstrations. See also Ethnic flag References Flags introduced in 1990 1990 in art Flags in art Flags of the United States Ethnic flags African-American culture Works_by_David_Hammons
Jordan Henry Grafman (born December 21, 1950) is an American neuropsychologist who serves as Professor of Physical Medicine and Rehabilitation in the Feinberg School of Medicine at Northwestern University. He is also the Director of Brain Injury Research at the Shirley Ryan AbilityLab. Before joining Northwestern and the Shirley Ryan AbilityLab, Grafman served as the director of Traumatic Brain Injury Research at the Kessler Foundation. He also served as Chief of the Cognitive Neuroscience Section at the National Institute of Neurological Disorders and Stroke. His research primarily focuses on investigating the functions of the human prefrontal cortex using a wide variety of methods, including magnetic resonance imaging, psychophysiological techniques, and genetic research. He was awarded a Humboldt Research Award in 2011. References External links Faculty profile Living people 1950 births 21st-century American psychologists Neuropsychologists Northwestern University faculty University of Wisconsin–Madison alumni Humboldt Research Award recipients 20th-century American psychologists
Long Lost Family is an American documentary television series based on the Dutch series Spoorloos created by broadcaster KRO-NCRV that premiered on March 6, 2016, on TLC. Presented by Chris Jacobs and Lisa Joyner, the show helps provide aid to individuals looking to be reunited with long-lost biological family members. The show is produced by Shed Media for TLC, and is co-sponsored by Ancestry.com, which provides family history research and DNA testing to help make discoveries possible. Format The show follows the original British series very closely, offering a chance for people who are desperate to find long lost relatives. The series helps a handful of people, some of whom have been searching in vain for many years, find the family members they are desperately seeking. It explores the background and context of each family's estrangement and tracks the detective work and often complex and emotional process of finding each lost relative before they are reunited. With the help and support of Chris and Lisa, each relative is guided and supported through the process of tracing the member of their family they have been desperately seeking. Episodes Series overview Season 1 (2016) Season 2 (2017) Season 3 (2017) Season 4 (2018) Season 5 (2018) Season 6 (2019) Production Development On February 2, 2016, it was announced that TLC had given the production a series order. It was reported that the series would be hosted by Chris Jacobs and Lisa Joyner and produced by Shed Media. Season one of Long Lost Family premiered on March 6, 2016. On June 9, 2016, it was announced that TLC had renewed the series for a second season. Season 3 had 6 additional episodes for 2017 and began airing on November 6, 2017. On March 20, 2018, it was announced that the series had been renewed for a third season set to premiere on April 8, 2018. On September 7, 2018, it was announced that additional episodes for 2018 were expected to premiere on October 8, 2018. Marketing Alongside the initial series announcement, TLC released the first teaser trailer for the series. On March 20, 2018, TLC released the official trailer for season three. International versions The original British program began airing in 2011 and has so far distributed nine seasons. It is hosted by Davina McCall and Nicky Campbell. There is also a Norwegian version of called that has been airing on Norwegian channel TV 2 since 2010 with six seasons so far. An Australian version of Long Lost Family, hosted by Chrissie Swan and Anh Do, began airing around the same time as the U.S. version in 2016, but was canceled by 2017. References External links 2010s American documentary television series 2016 American television series debuts 2019 American television series endings English-language television shows TLC (TV network) original programming Television series about family history Television series by Warner Bros. Television Studios
```ruby class Rsyncy < Formula include Language::Python::Virtualenv desc "Status/progress bar for rsync" homepage "path_to_url" url "path_to_url" sha256 your_sha256_hash license "MIT" head "path_to_url", branch: "master" bottle do sha256 cellar: :any_skip_relocation, arm64_sonoma: your_sha256_hash sha256 cellar: :any_skip_relocation, arm64_ventura: your_sha256_hash sha256 cellar: :any_skip_relocation, arm64_monterey: your_sha256_hash sha256 cellar: :any_skip_relocation, sonoma: your_sha256_hash sha256 cellar: :any_skip_relocation, ventura: your_sha256_hash sha256 cellar: :any_skip_relocation, monterey: your_sha256_hash sha256 cellar: :any_skip_relocation, x86_64_linux: your_sha256_hash end depends_on "python@3.12" depends_on "rsync" uses_from_macos "zlib" def install virtualenv_install_with_resources end test do # rsyncy is a wrapper, rsyncy --version will invoke it and show rsync output assert_match(/.*rsync.+version.*/, shell_output("#{bin}/rsyncy --version")) # test copy operation mkdir testpath/"a" do mkdir "foo" (testpath/"a/foo/one.txt").write <<~EOS testing testing testing EOS system bin/"rsyncy", "-r", testpath/"a/foo/", testpath/"a/bar/" assert_predicate testpath/"a/bar/one.txt", :exist? end end end ```
Gonioglyphioceratidae is one of three families of the Gonioloboceratoidea superfamily. They are an extinct group of ammonoid, which are shelled cephalopods related to squids, belemnites, octopuses, and cuttlefish, and more distantly to the nautiloids. References The Paleobiology Database accessed on 10/01/07 Goniatitida families Goniolobocerataceae
```objective-c /* Three-level bitmap lookup. Written by Bruno Haible <bruno@clisp.org>, 2000-2002. This program is free software: you can redistribute it and/or modify it (at your option) any later version. This program 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 along with this program. If not, see <path_to_url */ static inline int bitmap_lookup (const void *table, ucs4_t uc); /* These values are currently hardcoded into gen-ctype.c. */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static inline int bitmap_lookup (const void *table, ucs4_t uc) { unsigned int index1 = uc >> header_0; if (index1 < ((const int *) table)[0]) { int lookup1 = ((const int *) table)[1 + index1]; if (lookup1 >= 0) { unsigned int index2 = (uc >> header_2) & header_3; int lookup2 = ((const short *) table)[lookup1 + index2]; if (lookup2 >= 0) { unsigned int index3 = (uc >> 5) & header_4; unsigned int lookup3 = ((const int *) table)[lookup2 + index3]; return (lookup3 >> (uc & 0x1f)) & 1; } } } return 0; } ```
```python # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import time import unittest import numpy as np from dygraph_to_static_utils import ( Dy2StTestBase, enable_to_static_guard, test_default_and_pir, ) from test_resnet import SEED, ResNet, optimizer_setting import paddle from paddle.base import core # NOTE: Reduce batch_size from 8 to 2 to avoid unittest timeout. batch_size = 2 epoch_num = 1 place = ( paddle.CUDAPlace(0) if paddle.is_compiled_with_cuda() else paddle.CPUPlace() ) if paddle.is_compiled_with_cuda(): paddle.set_flags({'FLAGS_cudnn_deterministic': True}) def train(build_strategy=None): """ Tests model decorated by `dygraph_to_static_output` in static graph mode. For users, the model is defined in dygraph mode and trained in static graph mode. """ np.random.seed(SEED) paddle.seed(SEED) paddle.framework.random._manual_program_seed(SEED) resnet = paddle.jit.to_static(ResNet(), build_strategy=build_strategy) optimizer = optimizer_setting(parameter_list=resnet.parameters()) scaler = paddle.amp.GradScaler(init_loss_scaling=1024) for epoch in range(epoch_num): total_loss = 0.0 total_acc1 = 0.0 total_acc5 = 0.0 total_sample = 0 for batch_id in range(100): start_time = time.time() img = paddle.to_tensor( np.random.random([batch_size, 3, 224, 224]).astype('float32') ) label = paddle.to_tensor( np.random.randint(0, 100, [batch_size, 1], dtype='int64') ) img.stop_gradient = True label.stop_gradient = True with paddle.amp.auto_cast(): pred = resnet(img) # FIXME(Aurelius84): The following cross_entropy seems to bring out a # precision problem, need to figure out the underlying reason. # If we remove it, the loss between dygraph and dy2stat is exactly same. loss = paddle.nn.functional.cross_entropy( input=pred, label=label, reduction='none', use_softmax=False, ) avg_loss = paddle.mean(x=pred) acc_top1 = paddle.static.accuracy(input=pred, label=label, k=1) acc_top5 = paddle.static.accuracy(input=pred, label=label, k=5) scaled = scaler.scale(avg_loss) scaled.backward() scaler.minimize(optimizer, scaled) resnet.clear_gradients() total_loss += avg_loss total_acc1 += acc_top1 total_acc5 += acc_top5 total_sample += 1 end_time = time.time() if batch_id % 2 == 0: print( "epoch %d | batch step %d, loss %0.3f, acc1 %0.3f, acc5 %0.3f, time %f" % ( epoch, batch_id, total_loss.numpy() / total_sample, total_acc1.numpy() / total_sample, total_acc5.numpy() / total_sample, end_time - start_time, ) ) if batch_id == 10: break return total_loss.numpy() class TestResnet(Dy2StTestBase): def train(self, to_static: bool): with enable_to_static_guard(to_static): return train() @test_default_and_pir def test_resnet(self): static_loss = self.train(to_static=True) dygraph_loss = self.train(to_static=False) np.testing.assert_allclose( static_loss, dygraph_loss, rtol=1e-05, err_msg=f'static_loss: {static_loss} \n dygraph_loss: {dygraph_loss}', ) @test_default_and_pir def test_resnet_composite(self): core._set_prim_backward_enabled(True) static_loss = self.train(to_static=True) core._set_prim_backward_enabled(False) dygraph_loss = self.train(to_static=False) np.testing.assert_allclose( static_loss, dygraph_loss, rtol=1e-05, err_msg=f'static_loss: {static_loss} \n dygraph_loss: {dygraph_loss}', ) if __name__ == '__main__': unittest.main() ```
Générest is a commune in the Hautes-Pyrénées department in south-western France. See also Communes of the Hautes-Pyrénées department References Communes of Hautes-Pyrénées
A Bit-hilani (Akkadian: Bīt-Ḫilāni, meaning 'house of pillars') is an ancient architectural type of palace. It seems to have become popular at the end of the tenth and during the ninth century BCE during the early Iron Age in northern Syria although it may have originated as early as the Bronze Age. Contemporary records call it a Hittite-style palace, probably after the Neo-Hittite kingdoms of northern Syria. This building type has also spread to the Southern Levant, where it has been widely used. Description The major feature for a visitor would have been the monumental entrance loggia or portico with columns flanked by large massive parts of the building and approached by a broad but relatively low flight of steps. On one side a stairway to the upper parts would reside in one of these block like structures. Straight ahead one would enter the great hall, where one would have to turn by 90° to see the throne in the far end of the hall. The overall plan of the building would be rectangular with the large hall in the middle surrounded on all sides by the other much narrower rooms. Origin and architectural legacy This type of design with a large central space surrounded by a double wall with smaller rooms taking up the space within the walls may be based on designs first used in the late Ubaid period in southern Mesopotamia such as the Ubaid house. Pillared porticos as gates or grand entrances were used by several cultures of the Bronze Age around the eastern Mediterranean sea. The examples of the Hittites and the Myceneans may be the best known. Through the megarons and propylaea of the mycenaean palaces the style may have lived into classical Greek designs. The iron age hilani of the Levant, may well be the combination of the old broad-room concept with a Hittite-style portico. In recent traditional architecture it may have a late resemblance in the design of the liwan house. Individual examples The oldest excavated building described as Hilani by its excavator Sir Leonard Woolley is a palace in level IV at Alalakh dated to the 15th century BCE. The palace is thought to have been built by Niqmepa, a son of Idrimi of the royal family of the Amorite state of Yamhad based in Halab. A building at the citadel (Büyükkale) of the Hittite capital Hattusa may also have been of the hilani type. As most of the structures on the citadel underwent considerable rebuilding during the reign of Tudhaliya IV (c. 1237–1209 BCE), it is usually dated to the 13th century BCE. Kapara, king of the Hittite kingdom of Bit Bahiani in the 10th or 9th century BCE, built himself a palace of this style in his capital at Guzana (Tell Halaf). The palace, with a rich decoration of statues and relief orthostats, was excavated by Max von Oppenheim in 1911. Some of the finds were taken to Berlin, much of them destroyed when von Oppenheim's private museum was hit during a bombing raid in November 1943 and recently partially reconstructed from the preserved pieces. The National Museum of Aleppo has reconstructed the pillared portico in front of its entrance. Other buildings of this type have been excavated, among others at Tell Tayinat, Qatna, Sam'al, Sakçagözü, Carchemish, Tell Seh Hamad, maybe Kinet Höyük and at Emar. When claiming to have built in the style of a hilani, most builders probably referred to the pillared portico with antechamber such as: Sargon II, King of Assyria 722–705 BCE, at his new city of Dur-Sharrukin, begun in 713 BCE. An isolated building of which not much is known yet has been located in the western corner of the palace terrace. It may be a candidate for the building he mentions in his founding text. "A portico, patterned after the Hittite palace, which in the language of Amurru they call a bit-hilani, I built in front of the palaces' gates." Sennacherib, King of Assyria (704–681 BC), claims to have done some building in Niniveh in the style of a bit-hilani. Nothing similar to a hilani has to date been identified without doubt at his palace, known today as the South-West Palace in Niniveh, finished in 694 BCE. The building in question may not have been found yet. References 10th-century BC architecture Ancient Near East art and architecture House types
```java package com.ramotion.expandingcollection; import java.util.List; import androidx.annotation.DrawableRes; /** * Implement this interface to provide data to pager view and content list inside pager card * * @param <T> Type of items in card content list */ public interface ECCardData<T> { @DrawableRes Integer getMainBackgroundResource(); @DrawableRes Integer getHeadBackgroundResource(); List<T> getListItems(); } ```
James Edward Service (January 20, 1931 – February 10, 2017) was a vice admiral of the United States Navy active during much of the Cold War. A naval aviator, he flew combat missions in the Korean War and Vietnam War, commanded aviation units and various ships including aircraft carriers, served as a test pilot, and was President of the Naval War College. Naval career Services naval career began in November 1950, when he reported for training in the U.S. Navys Aviation Cadet Training Program. He underwent training until June 1952, being designated a Naval Aviator on April 9, 1952. In July 1952, Service reported for duty with Fighter Squadron 53 (VF-53) at Naval Air Station Miramar, California. The squadron deployed to Korea from January to June 1953, where Service flew F9F-5 Panther fighters on 54 combat missions during the Korean War. He remained with the squadron until October 1954. From November 1954 to July 1955, Service was a flight instructor at Naval Air Station Corpus Christi, Texas. He then left the Navy to pursue studies at San Diego State College in San Diego, California, through January 1957. Service returned to naval service in February 1957, joining Attack Squadron 151 (VA-151) at Naval Air Station Alameda, California. During his tour, the squadron deployed to the Western Pacific. Leaving VA-151 in February 1959, he spent March through May 1959 at the Catapult and Arresting Gear School at Naval Station Philadelphia in Philadelphia, Pennsylvania. From June 1959 to June 1961, Service served aboard the attack aircraft carrier . He then was a test pilot at the Naval Air Test Facility at Naval Air Station Lakehurst, New Jersey, from July 1961 to July 1963, making high-energy landing tests of various arresting gear systems and serving in 1962 as project pilot for the Marine Corps Expeditionary Airfield, becoming the first pilot to launch from the CE-1 and CE-2 cataport systems. He then attended the Naval Postgraduate School at Monterey, California, from August 1963 to June 1965. After instruction in Heavy Attack Squadron 123 (VAH-123) from July 1965 to January 1966, Service served in Heavy Photographic Squadron 61 (VAP-61) in Southeast Asia from February 1966 to November 1967, first as the squadrons operations officer and then as its executive officer. During this tour, he flew 61 combat missions in the Vietnam War in RA-3B Skywarrior photographic reconnaissance aircraft and participated in the development of tactics for the use of real-time infrared reconnaissance systems under combat conditions. He then served a tour as assistant air officer aboard the attack aircraft carrier from January 1968 until April 1969, during which Ranger served off Vietnam from January to June 1968 and participated in the response to the Pueblo incident with North Korea of January 1968. From May to June 1969, Service again underwent instruction with VAH-123, before taking command of his first squadron, Heavy Photographic Squadron 62 (VAP-62), in July 1969. He was the squadrons commanding officer until October 1969, then served first as executive officer and then as commanding officer of VAH-123 during his next tour, which lasted from November 1969 to January 1971. He then was executive officer of the attack aircraft carrier from June 1971 to June 1972. Service attended the United States Army War College in Carlisle, Pennsylvania, from July 1972 to July 1973 before returning to sea as commanding officer of the fast combat support ship from September 1973 to April 1975 and as commanding officer of the aircraft carrier from June 1975 to April 1977. Services next tour was at the Pentagon, where from May 1977 to January 1980 he was on the staff (OPNAV) of the Chief of Naval Operations (CNO). While at the Pentagon, he served first as executive assistant and senior aide to the Vice Chief of Naval Operations (OP-09A) and then, in his first flag officer assignment, as chief of Aviation Manpower and Training (OP-59). He then spent January through May 1980 at the Nuclear Power Training Unit in Idaho Falls, Idaho. From June 1980 to June 1981, Service was the commander of Carrier Group 8, which operated in the Indian Ocean and participated in the January 1981 release of the American hostages that had been held in Tehran, Iran, since November 1979. From July 1981 to September 1982, he was the commander of Battle Force, Sixth Fleet, and Task Force 60 in the Mediterranean Sea. During this tour, he planned and executed a missile exercise in the Gulf of Sidra off Libya which resulted in two F-14A Tomcat fighters from Fighter Squadron 41 aboard the aircraft carrier shooting down two Libyan Sukhoi Su-22 (NATO reporting name "Fitter") attack aircraft during the Gulf of Sidra incident of 19 August 1981. He received the Distinguished Service Medal for this operation. On October 14, 1982, Service became the 42nd president of the Naval War College in Newport, Rhode Island, During his presidency, which lasted until 12 July 1985, he presided over the colleges centennial, the opening of an enlarged Naval War College Museum in Founders Hall after a two-year renovation, and the publication of Sailors and Scholars, a history of the college's first 100 years. From August 1985 to September 1987, Service was Commander, Naval Air Forces, United States Pacific Fleet, at Naval Air Station North Island in San Diego, California. He retired from Navy service in September 1987. Awards and decorations Personal life Service was married to the former Natalie Harpst. They have three sons, two of whom became naval officers, one a naval aviator, the other a naval flight officer and aviation physiologist. Retirement In retirement, Service was a director of the Wood River Medical Center in Ketchum, Idaho, from 1991 to 1995 and served as a financial adviser for the PGR Advisors consulting group in San Jose, California. Starting in 1992, Service sat on the board of directors of the Sturm, Ruger Company, Inc. and was its chairman from 2006 to 2010. He served as "Chairman Emeritus of the Board" from 2010 until his death on February 10, 2017, at the age of 86. References External links 1951 photo of James E. Service during flight training and 1986 photo of James E. and Natalie Service 1931 births 2017 deaths People from Grosse Pointe, Michigan Military personnel from Michigan United States Navy admirals United States Naval Aviators United States Navy personnel of the Korean War United States Navy personnel of the Vietnam War American Korean War pilots Presidents of the Naval War College Recipients of the Navy Distinguished Service Medal Recipients of the Legion of Merit Recipients of the Air Medal Military personnel of the Cold War San Diego State University alumni Naval Postgraduate School alumni United States Army War College alumni
```hcl variable "proxy_project_name" { description = "GCP project in which the proxy runs." } variable "gcr_project_name" { description = "GCP project from which the proxy image is pulled." } variable "proxy_domain_name" { description = <<EOF The base domain name of the proxy, without the whois. or epp. part. EOF } variable "proxy_certificate_bucket" { description = <<EOF The GCS bucket that stores the encrypted SSL certificate. The "gs://" prefix should be omitted. EOF } variable "proxy_key_ring" { default = "proxy-key-ring" description = "Cloud KMS keyring name" } variable "proxy_key" { default = "proxy-key" description = "Cloud KMS key name" } variable "proxy_ports" { type = map description = "Node ports exposed by the proxy." default = { health_check = 30000 whois = 30001 epp = 30002 http-whois = 30010 https-whois = 30011 } } variable "proxy_ports_canary" { type = map description = "Node ports exposed by the canary proxy." default = { health_check = 31000 whois = 31001 epp = 31002 http-whois = 31010 https-whois = 31011 } } variable "public_web_whois" { type = number default = 1 description = <<EOF Set to 1 if the whois HTTP ports are external, 0 if not. This is necessary because our test projects are configured with constraints/compute.restrictLoadBalancerCreationForTypes, which prohibits forwarding external HTTP(s) connections. EOF } ```
Chiaroscuro is an album by American guitarist Ralph Towner and Italian trumpeter Paolo Fresu recorded in 2008 and released on the ECM label. Reception The Allmusic review by Jeff Tamarkin awarded the album 4 stars, stating, "Chiaroscuro, naturally, boasts virtuosic musicianship, but it's never about that; it's about two artists coming together by chance and allowing their mutual respect to show them the way to something great". Track listing All compositions by Ralph Towner except as indicated "Wistful Thinking" - 4:19 "Punta Giara" - 6:21 "Chiaroscuro" - 6:31 "Sacred Place" - 4:13 "Blue in Green" (Miles Davis, Bill Evans) - 5:45 "Doubled Up" - 4:56 "Zephyr" - 7:29 "The Sacred Place (Reprise)" - 1:59 "Two Miniatures" (Paulo Fresu, Ralph Towner) - 2:38 "Postlude" (Fresu, Towner) - 2:31 Recorded at Rainbow Studio in Oslo, Norway in October 2008. Personnel Ralph Towner — classical guitar, 12 string guitar, baritone guitar Paolo Fresu — trumpet, flugelhorn References ECM Records albums Ralph Towner albums 2009 albums Albums produced by Manfred Eicher
```c++ ///|/ ///|/ PrusaSlicer is released under the terms of the AGPLv3 or higher ///|/ #ifndef SRC_LIBSLIC3R_TRIANGLESELECTORWRAPPER_HPP_ #define SRC_LIBSLIC3R_TRIANGLESELECTORWRAPPER_HPP_ #include "TriangleSelector.hpp" #include "Model.hpp" #include "AABBTreeIndirect.hpp" namespace Slic3r { //NOTE: We need to replace the FacetsAnnotation struct for support storage (or extend/add another) // Problems: Does not support negative volumes, strange usage for supports computed from extrusion - // expensively converted back to triangles and then sliced again. // Another problem is weird and very limited interface when painting supports via algorithms class TriangleSelectorWrapper { public: const TriangleMesh &mesh; const Transform3d& mesh_transform; TriangleSelector selector; AABBTreeIndirect::Tree<3, float> triangles_tree; TriangleSelectorWrapper(const TriangleMesh &mesh, const Transform3d& mesh_transform); void enforce_spot(const Vec3f &point, const Vec3f& origin, float radius); }; } #endif /* SRC_LIBSLIC3R_TRIANGLESELECTORWRAPPER_HPP_ */ ```
```css .breaks { align-items: center; color: #FFFFFF; display: grid; font-family: 'Noto Sans Light', 'Noto Sans Arabic Light', 'Noto Sans CJK KR Light', 'Noto Sans Devanagari Light', 'Noto Sans Gujarati Light', 'Noto Sans Gurmukhi Light', 'Noto Sans Hebrew Light'; font-weight: 300; grid-template: 85vh 10vh / 100px auto 100px; justify-items: center; } .breaks > * { grid-column: 2 / span 1; } .breaks > :nth-child(1) { text-align: center; } .breaks > :nth-child(1) > progress { margin-top: 50px; } .breaks > :nth-child(1) > .microbreak-idea { font-size: 30px; letter-spacing: 0.44px; line-height: 46px; } .breaks > :nth-child(1) > .break-idea { font-size: 36px; letter-spacing: 0.52px; line-height: 49px; } .breaks > :nth-child(1) > .break-text { font-size: 24px; letter-spacing: 0.35px; line-height: 33px; margin-top: 60px; } .breaks > :nth-child(2) { font-size: 18px; letter-spacing: 0.26px; line-height: 18px; } .breaks > :nth-child(2) > a { display: none; } .breaks > :nth-child(2) > a:hover { color: #FFFF00; } .breaks > :nth-child(2) > a img { /* path_to_url */ filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%); height: 20px; padding-left: 20px; width: 20px; } body[dir=rtl] .breaks > :nth-child(2) > a img { padding-left: 0; padding-right: 20px; } .breaks > :nth-child(2) > a:hover img { filter: invert(87%) sepia(71%) saturate(3206%) hue-rotate(359deg) brightness(101%) contrast(103%); } #progress-time { display: block; font-size: 15px; padding-top: 20px; } .ffffff .breaks { color: #000000; } .ffffff .breaks > :nth-child(2) > a:hover { color: #ffffff; } .ffffff .breaks > :nth-child(2) > a:hover img, .ffffff .breaks > :nth-child(2) > a:hover { color: #000000; } .ffffff .breaks > :nth-child(2) .tiptext, .ffffff .breaks > :nth-child(2) .tiptext { color: #000000; background-color: #ffffff; border: 1px solid #000000; } .ffffff .breaks > :nth-child(2) > a img { filter: hue-rotate(288deg) brightness(102%) contrast(102%); } .ffffff .breaks > :nth-child(2) > a:hover img { filter: hue-rotate(359deg) brightness(101%) contrast(103%); } .breaks > :last-child { bottom: 12px; position: absolute; right: 12px; } ```
Chayanta may refer to: Chayanta Province, a province in the Potosí Department in Bolivia Chayanta Municipality, a municipio in the Rafael Bustillo Province in Bolivia Chayanta, Bolivia, a small town in the Chayanta Municipality in Bolivia Chayanta River, in the Potosí Department of Bolivia.
Emmanuel Iwe (born September 12, 2000) is a Nigerian footballer who plays as a forward for Major League Soccer club Minnesota United. Career Youth Iwe was born in Lagos, Nigeria, but was raised in St. Louis Park, Minnesota in the United States. He graduated from St. Louis Park High School in 2019. Iwe also played with local club side Joy of the People from 2009. In 2018, Iwe traveled to trial with German side SV Werder Bremen. In early 2020, Iwe spent time with Costa Rican side Deportivo Saprissa, before having to return to the United States due to the COVID-19 pandemic. College In 2021, Iwe played college soccer at St. Cloud State University. In his freshman season, he made 18 appearances, scoring six goals and tallying four assists, and was named All-GLIAC Second Team. During the 2021 season, Iwe also competed with National Premier Soccer League, side Joy St. Louis Park during their inaugural season in the NPSL. Here he scored nine goals in 12 regular season games. Professional On March 3, 2022, Iwe signed a professional contract with MLS Next Pro side Minnesota United 2. In his debut season, Iwe scored two goals and had two assists to his name over 16 regular season games. Following the 2022 season, Iwe entered the 2023 MLS SuperDraft as an eligible selection. Iwe was selected 48th overall by Minnesota United, helping the team acquire his Major League Soccer rights should he sign to the club's first team roster. On March 25, 2023, Iwe signed a short-term deal with Minnesota's first team roster ahead of their fixture with Vancouver Whitecaps FC. On June 30, 2023, Iwe signed a deal with Minnesota to join their first team roster on a permanent basis. References 2000 births Living people Footballers from Lagos Nigerian men's footballers Nigerian emigrants to the United States Men's association football forwards Major League Soccer players Minnesota United FC draft picks Minnesota United FC players MLS Next Pro players National Premier Soccer League players St. Cloud State Huskies athletes Minnesota United FC 2 players
```objective-c #pragma once #include "torch/csrc/jit/script/tree.h" namespace torch { namespace jit { namespace script { struct ErrorReport : public std::exception { ErrorReport(const ErrorReport& e) : ss(e.ss.str()), context(e.context), the_message(e.the_message) {} ErrorReport() : context(nullptr) {} explicit ErrorReport(const SourceRange& r) : context(std::make_shared<SourceRange>(r)) {} explicit ErrorReport(std::shared_ptr<SourceLocation> loc) : context(std::move(loc)) {} explicit ErrorReport(const TreeRef& tree) : ErrorReport(tree->range()) {} explicit ErrorReport(const Token& tok) : ErrorReport(tok.range) {} const char* what() const noexcept override { std::stringstream msg; msg << "\n" << ss.str(); if (context != nullptr) { msg << ":\n"; context->highlight(msg); } else { msg << ".\n"; } the_message = msg.str(); return the_message.c_str(); } private: template <typename T> friend const ErrorReport& operator<<(const ErrorReport& e, const T& t); mutable std::stringstream ss; std::shared_ptr<SourceLocation> context; mutable std::string the_message; }; template <typename T> const ErrorReport& operator<<(const ErrorReport& e, const T& t) { e.ss << t; return e; } #define JIT_SCRIPT_ASSERT(ctx, cond) \ if (!(cond)) { \ throw ::torch::jit::script::ErrorReport(ctx) \ << __FILE__ << ":" << __LINE__ << ": assertion failed: " << #cond; \ } } // namespace script } // namespace jit } // namespace torch ```
The 1977–78 Gold Cup was the 59th edition of the Gold Cup, a cup competition in Northern Irish football. The tournament was won by Glentoran for the 7th time and 2nd consecutive season, defeating Glenavon 3–1 in the final at the Windsor Park. Group standings Section A Section B Final References External links Northern Ireland - List of Gold Cup Winners 1977–78 in Northern Ireland association football
Olivella tergina is a species of small sea snail, marine gastropod mollusk in the subfamily Olivellinae, in the family Olividae, the olives. Species in the genus Olivella are commonly called dwarf olives. Description The length of the shell varies between 11 mm and 16 mm. Distribution This marine species occurs off Mexico to Panama and Peru - West coast of The Americas. References tergina Gastropods described in 1835
Salomé () is a commune in the Nord department in northern France. It is part of the Métropole Européenne de Lille. Heraldry See also Communes of the Nord department References Communes of Nord (French department) French Flanders
```java package com.ctrip.xpipe.redis.core.proxy.endpoint; import com.ctrip.xpipe.api.lifecycle.Startable; import com.ctrip.xpipe.api.lifecycle.Stoppable; import com.ctrip.xpipe.proxy.ProxyEndpoint; import java.util.List; /** * @author chen.zhu * <p> * May 10, 2018 */ public interface ProxyEndpointManager extends Startable, Stoppable { List<ProxyEndpoint> getAvailableProxyEndpoints(); List<ProxyEndpoint> getAllProxyEndpoints(); void storeProxyEndpoints(List<ProxyEndpoint> endpoints); } ```
```ruby class Pyvim < Formula include Language::Python::Virtualenv desc "Pure Python Vim clone" homepage "path_to_url" url "path_to_url" sha256 your_sha256_hash license "BSD-3-Clause" bottle do rebuild 3 sha256 cellar: :any_skip_relocation, arm64_sonoma: your_sha256_hash sha256 cellar: :any_skip_relocation, arm64_ventura: your_sha256_hash sha256 cellar: :any_skip_relocation, arm64_monterey: your_sha256_hash sha256 cellar: :any_skip_relocation, sonoma: your_sha256_hash sha256 cellar: :any_skip_relocation, ventura: your_sha256_hash sha256 cellar: :any_skip_relocation, monterey: your_sha256_hash sha256 cellar: :any_skip_relocation, x86_64_linux: your_sha256_hash end depends_on "python@3.12" resource "docopt" do url "path_to_url" sha256 your_sha256_hash end resource "prompt-toolkit" do url "path_to_url" sha256 your_sha256_hash end resource "pyflakes" do url "path_to_url" sha256 your_sha256_hash end resource "pygments" do url "path_to_url" sha256 your_sha256_hash end resource "six" do url "path_to_url" sha256 your_sha256_hash end resource "wcwidth" do url "path_to_url" sha256 your_sha256_hash end def install virtualenv_install_with_resources end test do return if OS.linux? && ENV["HOMEBREW_GITHUB_ACTIONS"] # Need a pty due to path_to_url require "pty" PTY.spawn(bin/"pyvim", "--help") do |r, _w, _pid| assert_match "Vim clone", r.read end end end ```
```javascript Test Specs Test Matchers Test Describe Pending Test Specs Mocking JavaScript Timeout functions ```
, publicly known mononymously as Misono (stylized in lower case), is a Japanese singer-songwriter and TV personality. She was born in Kyoto, Japan, and is the younger sister of singer Koda Kumi. Career In 2000, Misono participated in the summer vacation audition organized by Japanese label Avex, and was subsequently chosen by the label to become one of their artists. In 2002, she debuted as the vocalist of Day After Tomorrow (dat), a J-pop band formed by the Avex Trax label under the production of Mitsuru Igarashi. Only five months after their debut, they received the Newcomer of the Year award at the Japan Record Awards. In August 2015, after the release of their first greatest hits album, dat went on a indefinite hiatus. In 2006, Misono debuted as a solo artist with the release of her first single, "VS", which was used as theme song for Nintendo DS videogame Tales of the Tempest, following previous songs by day after tomorrow that were used in this videogame franchise. The single debuted at number 4 on the Oricon charts. During this period, misono used classical Western fairy tales as inspiration for her visuals in music videos and promotional photographs, using themes such as Snow White ("VS"), Cinderella ("Kojin Jugyō"), The Ugly Duckling ("Speedrive"), and Peter Pan for her first studio album, Never+Land, released on February 2, 2007. After the release of her first album, misono's music style switch into more punk rock-oriented pop songs. Three singles, produced by Straightener's Hidekazu Hinata, GO!GO!7188, and Onsoku Line, respectively, were released between September 2007 and January 2008. These songs were subsequently part of misono's second studio album, Say, which was released on July 16, 2008. In November 2007, misono became a recurrent guest in Fuji TV variety show Quiz! Hexagon II, and during these period she participated in said show's comedic units "Misono & Hiroshi" with Hiroshi Shinagawa, and "Satoda Mai with Gōda Kyōdai" with Mai Satoda and Toshifumi Fujimoto. On March 31, 2009, misono collaborated with her sister Kumi Koda for "It's All Love!", which became her single to top the Oricon charts and was certified gold by the Recording Industry Association of Japan. Between 2009 and 2013, Misono released two cover albums, on which she covered several anisongs and popular songs by artists such as Avril Lavigne, Mayo Okamoto, Sayuri Ishikawa, as well as self-covers of day after tomorrow. She also released two mini compilations of her songs used for the Tales saga, and her third studio album, Me, on June 30, 2010. Misono released her fourth studio album, Uchi, on her 30th birthday, on October 13, 2014. The album became a topic on social media due to an official note added to the album title which said "If the album doesn't sell 10k copies, misono won't be able to release another CD." The album failed to sell over 10k copies and questions were raised about Misono's possible retirement. However, she stated that that was not the case; she would just stop releasing albums, but she would not retire from the entertainment business. Her contract with Avex Management ended on October 31, 2018. Personal life On July 16, 2017, Misono married Shinnosuke Nakamura, who is the drummer for Japanese rock band HighsidE. After being hospitalized from March 29 to April 5, 2019, due to an unknown illness, it was revealed that Misono had been diagnosed with Ménière's disease in October 2019. Discography Studio albums 2007: Never+Land 2008: Say 2010: Me 2014: Uchi Compilation albums 2009: Tales with misono-Best- 2009: Cover Album 2010: Cover Album 2 2013: Symphony with Misono Best Filmography 2007: Obachan Chips 2009: The Harimaya Bridge 2012: Keiji Gasahime: Tokumei Kataku sousahan References External links 1984 births Living people Actresses from Kyoto Avex Group artists Japanese television personalities Japanese women pop singers Japanese women rock singers Singers from Kyoto Prefecture Tales (video game series) music 21st-century Japanese singers 21st-century Japanese women singers People with Ménière's disease
```ruby class AddTrigramIndexToCommentsAncestry < ActiveRecord::Migration[6.0] disable_ddl_transaction! def change add_index :comments, :ancestry, # There is already a btree index on this column, so we need to specify a different name name: 'index_comments_on_ancestry_trgm', # Using trigram operations requires a GIN index using: :gin, # Indexing for LIKE operations requires trigram operations opclass: :gin_trgm_ops, algorithm: :concurrently end end ```
```javascript /* Thai initialisation for the jQuery UI date picker plugin. */ /* Written by pipo (pipo@sixhead.com). */ jQuery(function($){ $.datepicker.regional['th'] = { closeText: '', prevText: '&#xAB;&#xA0;', nextText: '&#xA0;&#xBB;', currentText: '', monthNames: ['','','','','','', '','','','','',''], monthNamesShort: ['..','..','..','..','..','..', '..','..','..','..','..','..'], dayNames: ['','','','','','',''], dayNamesShort: ['.','.','.','.','.','.','.'], dayNamesMin: ['.','.','.','.','.','.','.'], weekHeader: 'Wk', dateFormat: 'dd/mm/yy', firstDay: 0, isRTL: false, showMonthAfterYear: false, yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['th']); }); ```
```xml // See LICENSE in the project root for license information. import * as internal from './internal'; import { SomeClass } from './internal'; export { internal, SomeClass }; /** @public */ export function someFunction(): SomeClass { return new SomeClass(); } ```
```glsl #[compute] #version 450 // Takes a list of positions and evaluates a signed distance field in 4 locations around them. // The 4 locations are picked such that the result can be used to compute a gradient. // The result is then applied on top of previous values using a specified operation. // This shader may be dispatched multiple times for each source of voxel data that we may combine for a given chunk. layout (local_size_x = 4, local_size_y = 4, local_size_z = 4) in; layout (set = 0, binding = 0, std430) restrict readonly buffer PositionBuffer { // X, Y, Z is hit position // W is integer triangle index vec4 values[]; } u_positions; layout (set = 0, binding = 1, std430) restrict readonly buffer DetailParams { int tile_size_pixels; float pixel_world_step; } u_detail_params; layout (set = 0, binding = 2, std430) restrict readonly buffer InSDBuffer { // 4 values per index float values[]; } u_in_sd; layout (set = 0, binding = 3, std430) restrict writeonly buffer OutSDBuffer { // 4 values per index float values[]; } u_out_sd; // Parameters common to all modifiers layout (set = 0, binding = 4, std430) restrict readonly buffer BaseModifierParams { mat4 world_to_model; int operation; float smoothness; float sd_scale; } u_base_modifier_params; // <PLACEHOLDER> float get_sd(vec3 pos) { return 0.0; } // </PLACEHOLDER> float sd_smooth_union(float a, float b, float s) { const float h = clamp(0.5 + 0.5 * (b - a) / s, 0.0, 1.0); return mix(b, a, h) - s * h * (1.0 - h); } // Inverted a and b because it subtracts SDF a from SDF b float sd_smooth_subtract(float b, float a, float s) { const float h = clamp(0.5 - 0.5 * (b + a) / s, 0.0, 1.0); return mix(b, -a, h) + s * h * (1.0 - h); } void main() { const ivec2 pixel_pos_in_tile = ivec2(gl_GlobalInvocationID.xy); const int tile_index = int(gl_GlobalInvocationID.z); const int index = pixel_pos_in_tile.x + pixel_pos_in_tile.y * u_detail_params.tile_size_pixels + tile_index * u_detail_params.tile_size_pixels * u_detail_params.tile_size_pixels; if (u_positions.values[index].w == -1.0) { return; } vec3 pos0 = u_positions.values[index].xyz; vec3 pos1 = pos0 + vec3(u_detail_params.pixel_world_step, 0.0, 0.0); vec3 pos2 = pos0 + vec3(0.0, u_detail_params.pixel_world_step, 0.0); vec3 pos3 = pos0 + vec3(0.0, 0.0, u_detail_params.pixel_world_step); pos0 = (u_base_modifier_params.world_to_model * vec4(pos0, 1.0)).xyz; pos1 = (u_base_modifier_params.world_to_model * vec4(pos1, 1.0)).xyz; pos2 = (u_base_modifier_params.world_to_model * vec4(pos2, 1.0)).xyz; pos3 = (u_base_modifier_params.world_to_model * vec4(pos3, 1.0)).xyz; const int sdi = index * 4; float sd0 = u_in_sd.values[sdi]; float sd1 = u_in_sd.values[sdi + 1]; float sd2 = u_in_sd.values[sdi + 2]; float sd3 = u_in_sd.values[sdi + 3]; const float msd0 = get_sd(pos0) * u_base_modifier_params.sd_scale; const float msd1 = get_sd(pos1) * u_base_modifier_params.sd_scale; const float msd2 = get_sd(pos2) * u_base_modifier_params.sd_scale; const float msd3 = get_sd(pos3) * u_base_modifier_params.sd_scale; if (u_base_modifier_params.operation == 0) { sd0 = sd_smooth_union(sd0, msd0, u_base_modifier_params.smoothness); sd1 = sd_smooth_union(sd1, msd1, u_base_modifier_params.smoothness); sd2 = sd_smooth_union(sd2, msd2, u_base_modifier_params.smoothness); sd3 = sd_smooth_union(sd3, msd3, u_base_modifier_params.smoothness); } else if (u_base_modifier_params.operation == 1) { sd0 = sd_smooth_subtract(sd0, msd0, u_base_modifier_params.smoothness); sd1 = sd_smooth_subtract(sd1, msd1, u_base_modifier_params.smoothness); sd2 = sd_smooth_subtract(sd2, msd2, u_base_modifier_params.smoothness); sd3 = sd_smooth_subtract(sd3, msd3, u_base_modifier_params.smoothness); } else { sd0 = msd0; sd1 = msd1; sd2 = msd2; sd3 = msd3; } u_out_sd.values[sdi] = sd0; u_out_sd.values[sdi + 1] = sd1; u_out_sd.values[sdi + 2] = sd2; u_out_sd.values[sdi + 3] = sd3; } ```
```xml <!-- ~ contributor license agreements. See the NOTICE file distributed with ~ this work for additional information regarding copyright ownership. ~ ~ path_to_url ~ ~ Unless required by applicable law or agreed to in writing, software ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --> <dataset> <metadata> <column name="name" /> <column name="type" /> <column name="host" /> <column name="port" /> <column name="db" /> <column name="connection_timeout_milliseconds" /> <column name="idle_timeout_milliseconds" /> <column name="max_lifetime_milliseconds" /> <column name="max_pool_size" /> <column name="min_pool_size" /> <column name="read_only" /> <column name="other_attributes" /> </metadata> <row values="encrypt_ds_0| openGauss| opengauss.sharding_and_encrypt.host| 5432| encrypt_ds_0| 30000| 60000| 1800000| 2| 2| false| &#123;&quot;healthCheckProperties&quot;&#58;&#123;&#125;&#44;&quot;initializationFailTimeout&quot;&#58;1&#44;&quot;validationTimeout&quot;&#58;5000&#44;&quot;keepaliveTime&quot;&#58;0&#44;&quot;leakDetectionThreshold&quot;&#58;0&#44;&quot;registerMbeans&quot;&#58;false&#44;&quot;allowPoolSuspension&quot;&#58;false&#44;&quot;autoCommit&quot;&#58;true&#44;&quot;isolateInternalQueries&quot;&#58;false&#125;" /> <row values="encrypt_ds_1| openGauss| opengauss.sharding_and_encrypt.host| 5432| encrypt_ds_1| 30000| 60000| 1800000| 2| 2| false| &#123;&quot;healthCheckProperties&quot;&#58;&#123;&#125;&#44;&quot;initializationFailTimeout&quot;&#58;1&#44;&quot;validationTimeout&quot;&#58;5000&#44;&quot;keepaliveTime&quot;&#58;0&#44;&quot;leakDetectionThreshold&quot;&#58;0&#44;&quot;registerMbeans&quot;&#58;false&#44;&quot;allowPoolSuspension&quot;&#58;false&#44;&quot;autoCommit&quot;&#58;true&#44;&quot;isolateInternalQueries&quot;&#58;false&#125;" /> <row values="encrypt_ds_2| openGauss| opengauss.sharding_and_encrypt.host| 5432| encrypt_ds_2| 30000| 60000| 1800000| 2| 2| false| &#123;&quot;healthCheckProperties&quot;&#58;&#123;&#125;&#44;&quot;initializationFailTimeout&quot;&#58;1&#44;&quot;validationTimeout&quot;&#58;5000&#44;&quot;keepaliveTime&quot;&#58;0&#44;&quot;leakDetectionThreshold&quot;&#58;0&#44;&quot;registerMbeans&quot;&#58;false&#44;&quot;allowPoolSuspension&quot;&#58;false&#44;&quot;autoCommit&quot;&#58;true&#44;&quot;isolateInternalQueries&quot;&#58;false&#125;" /> <row values="encrypt_ds_3| openGauss| opengauss.sharding_and_encrypt.host| 5432| encrypt_ds_3| 30000| 60000| 1800000| 2| 2| false| &#123;&quot;healthCheckProperties&quot;&#58;&#123;&#125;&#44;&quot;initializationFailTimeout&quot;&#58;1&#44;&quot;validationTimeout&quot;&#58;5000&#44;&quot;keepaliveTime&quot;&#58;0&#44;&quot;leakDetectionThreshold&quot;&#58;0&#44;&quot;registerMbeans&quot;&#58;false&#44;&quot;allowPoolSuspension&quot;&#58;false&#44;&quot;autoCommit&quot;&#58;true&#44;&quot;isolateInternalQueries&quot;&#58;false&#125;" /> <row values="encrypt_ds_4| openGauss| opengauss.sharding_and_encrypt.host| 5432| encrypt_ds_4| 30000| 60000| 1800000| 2| 2| false| &#123;&quot;healthCheckProperties&quot;&#58;&#123;&#125;&#44;&quot;initializationFailTimeout&quot;&#58;1&#44;&quot;validationTimeout&quot;&#58;5000&#44;&quot;keepaliveTime&quot;&#58;0&#44;&quot;leakDetectionThreshold&quot;&#58;0&#44;&quot;registerMbeans&quot;&#58;false&#44;&quot;allowPoolSuspension&quot;&#58;false&#44;&quot;autoCommit&quot;&#58;true&#44;&quot;isolateInternalQueries&quot;&#58;false&#125;" /> <row values="encrypt_ds_5| openGauss| opengauss.sharding_and_encrypt.host| 5432| encrypt_ds_5| 30000| 60000| 1800000| 2| 2| false| &#123;&quot;healthCheckProperties&quot;&#58;&#123;&#125;&#44;&quot;initializationFailTimeout&quot;&#58;1&#44;&quot;validationTimeout&quot;&#58;5000&#44;&quot;keepaliveTime&quot;&#58;0&#44;&quot;leakDetectionThreshold&quot;&#58;0&#44;&quot;registerMbeans&quot;&#58;false&#44;&quot;allowPoolSuspension&quot;&#58;false&#44;&quot;autoCommit&quot;&#58;true&#44;&quot;isolateInternalQueries&quot;&#58;false&#125;" /> <row values="encrypt_ds_6| openGauss| opengauss.sharding_and_encrypt.host| 5432| encrypt_ds_6| 30000| 60000| 1800000| 2| 2| false| &#123;&quot;healthCheckProperties&quot;&#58;&#123;&#125;&#44;&quot;initializationFailTimeout&quot;&#58;1&#44;&quot;validationTimeout&quot;&#58;5000&#44;&quot;keepaliveTime&quot;&#58;0&#44;&quot;leakDetectionThreshold&quot;&#58;0&#44;&quot;registerMbeans&quot;&#58;false&#44;&quot;allowPoolSuspension&quot;&#58;false&#44;&quot;autoCommit&quot;&#58;true&#44;&quot;isolateInternalQueries&quot;&#58;false&#125;" /> <row values="encrypt_ds_7| openGauss| opengauss.sharding_and_encrypt.host| 5432| encrypt_ds_7| 30000| 60000| 1800000| 2| 2| false| &#123;&quot;healthCheckProperties&quot;&#58;&#123;&#125;&#44;&quot;initializationFailTimeout&quot;&#58;1&#44;&quot;validationTimeout&quot;&#58;5000&#44;&quot;keepaliveTime&quot;&#58;0&#44;&quot;leakDetectionThreshold&quot;&#58;0&#44;&quot;registerMbeans&quot;&#58;false&#44;&quot;allowPoolSuspension&quot;&#58;false&#44;&quot;autoCommit&quot;&#58;true&#44;&quot;isolateInternalQueries&quot;&#58;false&#125;" /> <row values="encrypt_ds_8| openGauss| opengauss.sharding_and_encrypt.host| 5432| encrypt_ds_8| 30000| 60000| 1800000| 2| 2| false| &#123;&quot;healthCheckProperties&quot;&#58;&#123;&#125;&#44;&quot;initializationFailTimeout&quot;&#58;1&#44;&quot;validationTimeout&quot;&#58;5000&#44;&quot;keepaliveTime&quot;&#58;0&#44;&quot;leakDetectionThreshold&quot;&#58;0&#44;&quot;registerMbeans&quot;&#58;false&#44;&quot;allowPoolSuspension&quot;&#58;false&#44;&quot;autoCommit&quot;&#58;true&#44;&quot;isolateInternalQueries&quot;&#58;false&#125;" /> <row values="encrypt_ds_9| openGauss| opengauss.sharding_and_encrypt.host| 5432| encrypt_ds_9| 30000| 60000| 1800000| 2| 2| false| &#123;&quot;healthCheckProperties&quot;&#58;&#123;&#125;&#44;&quot;initializationFailTimeout&quot;&#58;1&#44;&quot;validationTimeout&quot;&#58;5000&#44;&quot;keepaliveTime&quot;&#58;0&#44;&quot;leakDetectionThreshold&quot;&#58;0&#44;&quot;registerMbeans&quot;&#58;false&#44;&quot;allowPoolSuspension&quot;&#58;false&#44;&quot;autoCommit&quot;&#58;true&#44;&quot;isolateInternalQueries&quot;&#58;false&#125;" /> </dataset> ```
Ōyodo may refer to: Ōyodo, Nara - town in Japan Ōyodo River - a river in Kagoshima and Miyazaki prefectures, Japan Japanese cruiser Ōyodo - World War II cruiser JDS Ōyodo, an Abukuma-class destroyer escort of the Japanese Maritime Self-Defense Force
```css Vertically center text Vertical centering with `margin-top` Use `float` to allow an element to be placed to the left or right of the container Clearfix for layouts Inherit `box-sizing` ```
CHT MOD (Multimedia On Demand of Chunghwa Telecom, ) is a Taiwan-based consumer IPTV service, operated by Chunghwa Telecom. Up to now, The current number of customers reached 1.48 million. History In January 2003, Chunghwa Telecom applied to the Information Office of the Executive Yuan for IPTV business. At the end of November 2003, Chunghwa Telecom approved the launch of IPTV business by the Information Office of the Executive Yuan, named "Chunghwa Telecom MOD". In February 2004, the Information Bureau of the Executive Yuan was issued to Chunghwa Telecom an IPTV operation license. On 3 March 2004, Chunghwa Telecom held MOD opening press conference, Chunghwa Telecom Chairman Hochen Tan declared: "MOD users this year, 100,000, three year a million!”. On 18 August 2005, Chunghwa Telecom MOD renamed to "Chunghwa Telecom Big TV", emphasizing interactive TV and on-demand video function, slogan was "our TV station, rich and exciting". In 2006, Chunghwa Telecom big TV changed its name to "Chunghwa Telecom multimedia content transmission platform", referred to as "Chunghwa Telecom MOD". Set-top box model External links MOD References Digital television Video on demand services
```java package core.config; import java.util.ArrayList; import java.util.List; import java.util.UUID; import argo.jdom.JsonNode; import argo.jdom.JsonNodeFactories; import argo.jdom.JsonRootNode; import core.userDefinedTask.TaskGroup; import utilities.json.JSONUtility; public class Parser2_9 extends ConfigParser { @Override protected String getVersion() { return "2.9"; } @Override protected String getPreviousVersion() { return "2.8"; } @Override protected JsonRootNode internalConvertFromPreviousVersion(JsonRootNode previousVersion) { JsonNode globalConfig = previousVersion.getNode("global_settings"); globalConfig = JSONUtility.addChild(globalConfig, "tools_config", JsonNodeFactories.array(JsonNodeFactories.string("local"))).getRootNode(); globalConfig = JSONUtility.addChild(globalConfig, "core_config", JsonNodeFactories.array(JsonNodeFactories.string("local"))).getRootNode(); previousVersion = JSONUtility.replaceChild(previousVersion, "global_settings", globalConfig).getRootNode(); previousVersion = JSONUtility.addChild(previousVersion, "remote_repeats_clients", JsonNodeFactories.object( JsonNodeFactories.field(JsonNodeFactories.string("clients"), JsonNodeFactories.array()))).getRootNode(); JsonNode compilers = previousVersion.getNode("compilers"); compilers = JsonNodeFactories.object( JsonNodeFactories.field("local_compilers", compilers), JsonNodeFactories.field("remote_repeats_compilers", JsonNodeFactories.array(JsonNodeFactories.string("local"))) ); previousVersion = JSONUtility.replaceChild(previousVersion, "compilers", compilers).getRootNode(); List<JsonNode> groups = previousVersion.getArrayNode("task_groups"); List<JsonNode> newGroups = new ArrayList<>(); for (JsonNode group : groups) { List<JsonNode> tasks = group.getArrayNode("tasks"); List<JsonNode> newTasks = new ArrayList<>(); for (JsonNode task : tasks) { JsonNode taskWithId = JSONUtility.addChild(task, "action_id", JsonNodeFactories.string(UUID.randomUUID().toString())); newTasks.add(taskWithId); } JsonNode newGroup = JSONUtility.replaceChild(group, "tasks", JsonNodeFactories.array(newTasks)); newGroup = JSONUtility.addChild(newGroup, "group_id", JsonNodeFactories.string(UUID.randomUUID().toString())); newGroups.add(newGroup); } return JSONUtility.replaceChild(previousVersion, "task_groups", JsonNodeFactories.array(newGroups)).getRootNode(); } @Override protected boolean internalImportData(Config config, JsonRootNode root) { boolean result = true; for (JsonNode taskGroupNode : root.getArrayNode("task_groups")) { TaskGroup taskGroup = TaskGroup.parseJSON(config.getCompilerFactory(), taskGroupNode, ConfigParsingMode.IMPORT_PARSING); result &= taskGroup != null; if (taskGroup != null) { result &= config.getBackEnd().addPopulatedTaskGroup(taskGroup); } } return result; } } ```
Widuchowa is a village in the administrative district of Gmina Busko-Zdrój, within Busko County, Świętokrzyskie Voivodeship, in south-central Poland. It lies approximately east of Busko-Zdrój and south of the regional capital Kielce. References Villages in Busko County
```java package com.taobao.yugong.extractor; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; import java.util.concurrent.BlockingQueue; import org.apache.commons.lang.StringUtils; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.PreparedStatementCallback; import com.google.common.collect.Lists; import com.taobao.yugong.common.db.meta.ColumnMeta; import com.taobao.yugong.common.db.meta.ColumnValue; import com.taobao.yugong.common.lifecycle.AbstractYuGongLifeCycle; import com.taobao.yugong.common.model.ExtractStatus; import com.taobao.yugong.common.model.ProgressStatus; import com.taobao.yugong.common.model.YuGongContext; import com.taobao.yugong.common.model.position.IdPosition; import com.taobao.yugong.common.model.position.Position; import com.taobao.yugong.common.model.record.Record; import com.taobao.yugong.exception.YuGongException; import com.taobao.yugong.extractor.oracle.OracleFullRecordExtractor; public class ContinueExtractor extends AbstractYuGongLifeCycle implements Runnable { private OracleFullRecordExtractor oracleFullRecordExtractor; private JdbcTemplate jdbcTemplate; private Object id = 0L; private YuGongContext context; private BlockingQueue<Record> queue; private volatile boolean running = true; public ContinueExtractor(OracleFullRecordExtractor oracleFullRecordExtractor, YuGongContext context, BlockingQueue<Record> queue){ this.oracleFullRecordExtractor = oracleFullRecordExtractor; this.context = context; this.queue = queue; jdbcTemplate = new JdbcTemplate(context.getSourceDs()); Position position = context.getLastPosition(); if (position != null) { IdPosition idPosition = ((IdPosition) position); if (idPosition.getCurrentProgress() == ProgressStatus.FULLING) { id = idPosition.getId(); } if (id == null) { id = getMinId(); } } else { id = getMinId(); } logger.info(context.getTableMeta().getFullName() + " start postion:" + id); } private Object getMinId() { if (jdbcTemplate == null || !StringUtils.isNotBlank(oracleFullRecordExtractor.getGetMinPkSql())) { throw new YuGongException("jdbcTemplate or getMinPkSql is null while getMinId"); } Object min = jdbcTemplate.execute(oracleFullRecordExtractor.getGetMinPkSql(), (PreparedStatementCallback) ps -> { ResultSet rs = ps.executeQuery(); Object re = null; while (rs.next()) { re = rs.getObject(1); break; } return re; }); if (min != null) { if (min instanceof Number) { min = Long.valueOf(String.valueOf(min)) - 1; } else { min = ""; } } else { if (min instanceof Number) { min = 0; } else { min = ""; } } return min; } public void run() { while (running) { jdbcTemplate.execute(oracleFullRecordExtractor.getExtractSql(), (PreparedStatementCallback) ps -> { ps.setObject(1, id); ps.setInt(2, context.getOnceCrawNum()); ps.setFetchSize(200); ResultSet rs = ps.executeQuery(); List<Record> result = Lists.newArrayListWithCapacity(context.getOnceCrawNum()); while (rs.next()) { List<ColumnValue> cms = new ArrayList<>(); List<ColumnValue> pks = new ArrayList<>(); for (ColumnMeta pk : context.getTableMeta().getPrimaryKeys()) { ColumnValue cv = oracleFullRecordExtractor.getColumnValue(rs, context.getSourceEncoding(), pk); pks.add(cv); id = cv.getValue(); // } for (ColumnMeta col : context.getTableMeta().getColumns()) { ColumnValue cv = oracleFullRecordExtractor.getColumnValue(rs, context.getSourceEncoding(), col); cms.add(cv); } Record re = new Record(context.getTableMeta().getSchema(), context.getTableMeta().getName(), pks, cms); result.add(re); } if (result.size() < 1) { oracleFullRecordExtractor.setStatus(ExtractStatus.TABLE_END); running = false; } for (Record record : result) { try { queue.put(record); } catch (InterruptedException e) { Thread.currentThread().interrupt(); // throw new YuGongException(e); } } return null; } ); } } } ```
```smalltalk // // // file LICENSE or copy at path_to_url // using Telegram.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Telegram.Selectors { public class InviteLinkTemplateSelector : DataTemplateSelector { public DataTemplate ItemTemplate { get; set; } public DataTemplate GroupTemplate { get; set; } protected override DataTemplate SelectTemplateCore(object item, DependencyObject container) { if (item is CollectionSeparator) { return GroupTemplate; } return ItemTemplate; return base.SelectTemplateCore(item, container); } } } ```
Frank Trenholm Coffyn (October 24, 1878 – December 10, 1960) was a pioneer aviator. Biography He was born in Charleston, South Carolina on October 24, 1878 to Julia (Haskell) and George M. Coffyn, a banker. His brother was William Henry Coffin, an artist who took his own life in 1941. He married Louise D. Adams in 1902 and had two children: Nancy Lou Coffyn Stralem (1902-1995) and Kingsland A. Coffyn (1904–1983). After they divorced, he married Pauline Louise Neff in 1919. They divorced in 1928. He became interested in flight after witnessing a flight by Louis Paulhan in New York City in December 1909. His father knew one of the Wright Company's executives, and arranged a meeting with Wilbur Wright. Wilbur invited Coffyn to Dayton, Ohio where he began flight instruction in May 1910. Coffyn flew with the Wright Exhibition Team until December 1910 where he trained pilots in Dayton, Ohio and he delivered aircraft to the United States Army in Texas. In 1912 he was hired by Russell A. Alger Jr. (1873–1930) of Detroit, Michigan to fly a Wright Flyer Model B over New York City. The Vitagraph Film Company had him shoot the first aerial footage of New York City where he flew under the Brooklyn Bridge and Williamsburg Bridge in his Mayea Boat & Aeroplane Works plane. In the mid-1920s Coffyn appeared in several Hollywood silent movies. He was a United States Army flight instructor in World War I. He sold aircraft for the Burgess Company, and got a helicopter pilot's license. He worked for the Hiller helicopter company until his retirement. He died on December 10, 1960 in Palo Alto, California. Selected filmography Her Husband's Secret (1925) Private Affairs (1925) Ranson's Folly (1926) External list Frank Trenholm Coffyn at Flickr Commons via Library of Congress References Members of the Early Birds of Aviation People from Dayton, Ohio Wright brothers 1878 births 1960 deaths
Chorbogh () is a village in Sughd Region, northern Tajikistan. It is part of the jamoat Kosatarosh in the city of Panjakent. Name Chorbogh in Persian means four gardens. Char/Chor(چار) means four and Bak(باغ) means garden. References Populated places in Sughd Region
The Standard for the Uniform Scheduling of Medicines and Poisons (SUSMP) is an Australian legislative instrument produced by the Therapeutic Goods Administration (TGA). Before 2010, it was known as the Standard for the Uniform Scheduling of Drugs and Poisons (SUSDP). The SUSMP classifies drugs and poisons into different Schedules signifying the degree of control recommended to be exercised over their availability to the public. , the most recent version is the Therapeutic Goods (Poisons Standard—July 2023) Instrument 2023 The Schedules are referred to under State and Territory legislation for regulatory purposes. Although each State and Territory has its own laws, the vast majority of medicines and poisons are classified according to the SUSMP to achieve uniform national regulation. Schedules Schedule 1 Schedule 1 is blank. Schedule 1 does not currently contain any medicines or poisons. Schedule 2: Pharmacy Medicine Schedule 2 (S2) drugs and poisons, otherwise known as Pharmacy Medicines, are substances and preparations for therapeutic use that – are substantially safe in use but where advice or counselling is available if necessary; are for minor ailments or symptoms that – can be easily recognised by the consumer and do not require medical diagnosis or management. Examples: Dextromethorphan, a cough suppressant Simple analgesics such as aspirin, paracetamol and ibuprofen in packs containing more than 24 tablets (packs containing up to 24 tablets of simple analgesics are unscheduled, and can be sold in any shop) Hyoscine, used to treat motion sickness, postoperative nausea and vomiting. Nonsedating antihistamines such as loratadine Nasal sprays containing decongestants or steroids The SUSMP March 2018 defines a Schedule 2 substance as "Substances, the safe use of which may require advice from a pharmacist and which should be available from a pharmacy or, where a pharmacy service is not available, from a licensed person." The location of these medications in the pharmacy varies from state to state. Schedule 3: Pharmacist Only Medicine Schedule 3 (S3) drugs and poisons, otherwise known as Pharmacist Only Medicines, are substances and preparations for therapeutic use that – are substantially safe in use but require professional advice or counselling by a pharmacist; require pharmacist advice, management, or monitoring; are for ailments or symptoms that – can be identified by the consumer and verified by a pharmacist; do not require medical diagnosis, or only require initial medical diagnosis, and do not require close medical management. Some states have subsets of Schedule 3 with additional requirements (see below). Only some Schedule 3 medicines may be advertised to the public. Examples: Orlistat (trade name Xenical) Pseudoephedrine (marketed in Cold and Flu preparations) Salbutamol (Ventolin/Asmol) Schedule 4: Prescription Only Medicine Schedule 4 (S4) drugs and poisons, otherwise known as prescription only medicines, are substances and preparations for therapeutic use that – require professional medical, dental, or veterinary management or monitoring; are for ailments or symptoms that require professional medical, dental, or veterinary diagnosis or management; may require further evaluation for safety or efficacy; are new therapeutic substances. cost of the drug is high, or when there is a risk of dependence The price of many Schedule 4 substances are subsidized by the Australian Government through the Pharmaceutical Benefits Scheme (PBS), when prescribed by an authorized prescriber. Certain medications may require an authority from the PBS. Situations that may require an authority include where the drug may only have benefit in limited conditions, the true cost of the drug is high, or when there is a risk of dependence. Some states have subsets of Schedule 4 with additional requirements (see below). Schedule 4 medicines cannot be advertised directly to the public. Examples: Amoxicillin Anabolic steroids Apomorphine Cannabidiol in preparations for therapeutic use containing 2 percent or less of other cannabinoids found in cannabis (since June 2015) Cisplatin Co-codamol preparations comprising codeine and paracetamol Ephedrine Ergotamine Oestradiol Fluticasone Ibogaine Isotretinoin Methoxyflurane Pseudoephedrine in large doses Salmeterol Tramadol Tretinoin Trimethoprim All benzodiazepines except flunitrazepam and alprazolam All: SSRIs (e.g. fluoxetine, citalopram), SNRIs (e.g. duloxetine, milnacipran), TCAs (e.g. amitriptyline, imipramine) MAOIs (e.g. selegiline, moclobemide). Antipsychotic drugs (e.g. aripiprazole, quetiapine) Schedule 5: Caution Schedule 5 (S5) drugs and poisons are substances and preparations that must have appropriate packaging and simple warning labels to display that these poisons: have low toxicity or a low concentration; have a low to moderate hazard; can cause only minor adverse effects to the human being in normal use; require caution in handling, storage, or use. Examples: Ammonia Acetic acid (>30%) Boric acid Chlorinating compounds Clove oil Ivermectin (for use in animals) Lidocaine Methylated Spirits Petrol Some of the above examples are subject to exceptions dependant on the specific preparation, concentration, or inclusion in other schedules. Schedule 6: Poison Must use distinctive packaging and strong warnings to display the potential for: moderate to high toxicity; that may cause death or severe injury if ingested, inhaled, or in contact with the skin or eyes. Examples: Arsenic Beryllium Bromethalin Chloroform Cyanamide Safrole Toluene Xylene Ziram Some of the above examples are subject to exceptions dependant on the specific preparation, concentration, or inclusion in other schedules. Schedule 7: Dangerous Drug Substances with a high potential for causing harm at low exposure and which: Require special precautions for manufacture, handling or use; or Only available to specialised and authorised users with appropriate skills Special regulations regarding their availability, possession, storage or use may apply Examples: Azo Dyes Benzene Chlorine Demeton Phosphine Vinyl Chloride Some of the above examples are subject to exceptions dependant on the specific preparation, concentration, or inclusion in other schedules. Schedule 8: Controlled Drug Schedule 8 (S8) drugs and poisons, otherwise known as Controlled Drugs, are schedule 9 prohibited substances that are appropriate preparations for therapeutic use which have high potential for abuse and addiction. The possession of these medications without authority is the same as carrying a prohibited substance and is illegal. Like schedule 4 substances, the price of many Schedule substances are subsidized through the Pharmaceutical Benefits Scheme (PBS), some of which may require an authority. In addition, in some states, all drugs on schedule 8 require a doctor to have an S8 permit before prescribing treatment. For example, in NSW the prescribing of Schedule 8 CNS stimulant medication (e.g., methylphenidate, dexamfetamine) requires authorisation from the NSW Ministry of Health (Pharmaceutical Services) and is generally restricted to specialists, such as paediatricians and psychiatrists. A GP (General Practitioner) cannot initiate the treatment, although they can prescribe in very limited circumstances, e.g. co-prescribing on behalf of the specialist; and in rural areas, if the patient has been diagnosed with ADHD, a GP may apply for the authority to prescribe. Patients who may require Schedule 8 CNS stimulant medication should be referred to a specialist for assessment. Examples: Alprazolam Amphetamine Barbiturates (most) Buprenorphine / Suboxone Carfentanil Cocaine Codeine (single ingredient) Dexamfetamine Dronabinol Fentanyl Flunitrazepam GHB Hydrocodone Hydromorphone Ketamine MDMA Methamphetamine Methylphenidate Morphine Nabiximols Opium Oxycodone Pethidine Psilocin Psilocybin Schedule 9: Prohibited Substance Schedule 9 (S9) drugs and poisons are substances and preparations that, by law, may only be used for research purposes. The sale, distribution, use, and manufacture of such substances without a permit is strictly prohibited by law. Permits for research uses on humans must be approved by a recognized ethics committee on human research. Examples: 2C-I Benzylpiperazine Bromo-DragonFLY Cannabis, except when separately specified in other Schedules Coca leaf DMT Harmine/Harmaline Heroin Kratom, also known as Mitragyna speciosa; as well its main alkaloid Mitragynine MDPV Mephedrone Mescaline Methaqualone Methoxypiperamide LSD Salvia divinorum Schedule 10: Substances of such danger to health as to warrant prohibition of sale, supply and use Schedule 10 was known as Appendix C until the introduction of the Poisons Standard 2015. It includes substances of such danger to health as to warrant prohibition of sale, supply and use. Examples are: Borage for therapeutic use except the fixed oil derived from the seeds of Borago officinalis. Coal tar for cosmetic use other than in therapeutic goods. Juniperus sabina for therapeutic use Oxyphenisatin for therapeutic use 2,4-Dinitrophenol for human use As of 15 August 2022, Schedule 10 includes each of the following substances: Abrus precatorius (Jequirity) seed or root for therapeutic use. Acorus calamus (calamus) for human therapeutic use. Alkaline Salts, being the carbonate, silicate or phosphate salts of sodium or potassium alone or in any combination for domestic use: a) in liquid or semi-solid food additive preparations, the pH of which is more than 11.5; b) in solid automatic dishwashing preparations, the pH of which in a 500 g/L aqueous solution or mixture is more than 12.5; or c) in liquid or semi-solid automatic dishwashing preparations, the pH of which is more than 12.5. Alkylamines with stimulant properties except when separately specified in these schedules. Allylisopropylacetylurea for therapeutic use. 2-Amino-5-methylphenol in preparations for cosmetic use. Aminophenazone (amidopyrine) and its derivatives for human therapeutic use. Amygdalin for therapeutic use. Anchusa officinalis for therapeutic use. o-Anisidine (excluding derivatives) in preparations for skin colouration (including tattooing) and dyeing of hair, eyelashes or eyebrows except in preparations containing 0.001 per cent or less of o-anisidine. Aristolochia spp. for therapeutic use. Aristolochic acid for human therapeutic use. Asarum spp. containing aristolochic acid(s) for human therapeutic use. Azadirachta indica (neem) including its extracts and derivatives, in preparations for human internal use except debitterised neem seed oil. Basic Orange 31 (2-[(4-aminophenyl)azo]-1,3-dimethyl-1H-imidazolium chloride) in preparations for skin colouration and dyeing of eyelashes or eyebrows. 1,2-Benzenediamine in preparations for cosmetic use and skin colouration (including tattooing). 1,3-Benzenediamine in preparations for cosmetic use and skin colouration (including tattooing). Bithionol for human therapeutic use. Bragantia spp. containing aristolochic acid(s) for human therapeutic use. Buclosamide for therapeutic use. Buniodyl Sodium for therapeutic use. 1,4-Butanediol (excluding its derivatives) in non-polymerised form in preparations for domestic use. Benzyl butyl phthalate for cosmetic use. Cacalia spp. for therapeutic use. Carbamide Peroxide (excluding its salts and derivatives) in teeth whitening preparations containing more than 18 per cent of carbamide peroxide except in preparations manufactured for, and supplied solely by, registered dental practitioners as part of their dental practice. Cardarine. Chrysoidine Base in preparations for use in hair dyes. Cinchophen and its derivatives for therapeutic use. Clioquinol and other halogenated derivatives of oxyquinoline for human internal use except or when being used solely for experimental purposes in humans and where such use: a) is in accordance with: i) an approval granted under paragraph 19(1)(b) of the Therapeutic Goods Act 1989, including any conditions specified in the notice of approval; and ii) any conditions specified in the Therapeutic Goods Regulations 1990 for the purposes of subsection 19(1A) of the Therapeutic Goods Act 1989; and iii) any conditions specified in the Therapeutic Goods Regulations 1990 for the purposes of subsection 19(4A) of the Therapeutic Goods Act 1989; or b)is in accordance with the requirements of item 3 of Schedule 5A to the Therapeutic Goods Regulations 1990. Conium maculatum (coniine) for therapeutic use. Cotarnine for therapeutic use. Crotalaria spp. for therapeutic use. Croton tiglium for therapeutic use. Cynoglossum spp. for therapeutic use. Dibutyl phthalate for cosmetic use. Dicophane (DDT) for therapeutic use. Diethylene glycol for use in toothpastes or mouthwashes except in preparations containing 0.25 per cent or less of diethylene glycol. 2-(2-Methoxyethoxy)ethanol for cosmetic use. Bis(2-ethylhexyl) phthalate for cosmetic use. Diethyl phthalate in sunscreens, personal insect repellents or body lotion preparations for human use except in preparations containing 0.5 per cent or less of diethylphthalate. 5,6-Dihydroxyindole for cosmetic use in preparations containing more than 2 per cent of 5,6-dihydroxyindoline. Diiodohydroxyquinoline (iodoquinol) for human internal use. Diisobutyl phthalate for cosmetic use. Methylhexanamine (DMAA). 1,3-Dimethylbutylamine (DMBA) except when separately specified in these schedules. 1-(1,1-dimethylethyl)-2-methoxy-4-methyl-3,5-dinitrobenzene (musk ambrette). 1,5-dimethylhexylamine (DMHA) except when separately specified in these schedules. 1,4-Dimethylpentylamine (DMPA). Dimethyl phthalate in sunscreens, personal insect repellents or body lotion preparations for human use except in preparations containing 0.5 per cent or less of dimethylphthalate. di(methoxyethyl) phthalate for cosmetic use. 2,4-Dinitrophenol for human use. Disperse Yellow 3 for use in hair dyes. Dulcin for therapeutic use. Ethylene glycol for use in toothpastes or mouthwashes except in preparations containing 0.25 per cent or less of ethylene glycol. Eupatorium cannabinum (Hemp Agrimony) for therapeutic use. Farfugium japonicum for therapeutic use. Formaldehyde (excluding its derivatives): a) in oral hygiene preparations containing more than 0.1 per cent of free formaldehyde; b) in aerosol sprays for cosmetic use containing 0.005 per cent or more of free formaldehyde; c) in nail hardener cosmetic preparations containing 5 per cent or more of free formaldehyde; or d) in all other cosmetic preparations containing 0.05 per cent or more of free formaldehyde except in preparations containing 0.2 per cent or less of free formaldehyde when labelled with the warning statement: CONTAINS FORMALDEHYDE. gamma-Butyrolactone (excluding its derivatives) in non-polymerised form in preparations for domestic and cosmetic use. Heliotropium spp. for therapeutic use. Hydrogen peroxide (excluding its salts and derivatives) in teeth whitening preparations containing more than 6 per cent (20 volume) of hydrogen peroxide except in preparations manufactured for, and supplied solely by, registered dental practitioners as part of their dental practice. Isopropyl nitrite. Juniperus sabina [savin(e)] for therapeutic use. Kambo. Lead Compounds: a) in anti-fouling or anti-corrosive paints except in preparations containing 0.1 per cent or less of lead calculated on the non-volatile content of the paint; or b) in paints (other than anti-fouling or anti-corrosive paints), tinters, inks or ink additives except in preparations containing 0.009 per cent or less of lead calculated on the non-volatile content of the paint, tinter, ink or ink additive. Ligularia dentata for therapeutic use. Melia azedarach including its extracts and derivatives. Methanol in hand sanitiser preparations containing more than 5 per cent methanol. Methyldibromo glutaronitrile in preparations intended to be in contact with the skin, including cosmetic use. Methyl methacrylate for cosmetic use except in preparations containing 1 per cent or less of methyl methacrylate as residual monomer in a polymer. Methylrosanilinium chloride (formerly known as crystal violet CAS No. 548-62-9) and the following Triarylmethane dye – for use in hair dyes: - Acid Violet 49 (CAS No. 1694-09-3), - Ethyl Violet (CAS No. 2390-59-2), - Basic Blue 7 (CAS No. 2390-60-5), - Basic Blue 26 (CI 44045) (CAS No. 2580-56-5). Naphthalene (excluding derivatives) in preparations in block, ball, disc, pellet or flake form for domestic use except when enclosed in a device which, in normal use, prevents removal or ingestion of its contents. Oxyphenisatine for therapeutic use. Paraformaldehyde (excluding its derivatives): a)      in oral hygiene preparations containing more than 0.1 per cent of free formaldehyde; b)      in aerosol sprays for cosmetic use containing 0.005 per cent or more of free formaldehyde; c)      in nail hardener cosmetic preparations containing 5 per cent or more of free formaldehyde; d)      in all other cosmetic preparations containing 0.05 per cent or more of free formaldehyde except in preparations containing 0.2 per cent or less of free formaldehyde when labelled with the warning statement:                         CONTAINS FORMALDEHYDE. Petasites spp. for therapeutic use. Phenpromethamine. p-Phenylenediamine, including alkylated, arylated, halogenated and nitro derivatives, in preparations for skin colouration, tattooing and dyeing of eyelashes or eyebrows except when included in Schedule 6. Potassium hydroxide (excluding its salts and derivatives), in liquid or semi-solid food additive preparations, for domestic use, the pH of which is more than 11.5. n- Propyl nitrite. Bracken (Pteridium) spp. for therapeutic use. Pulmonaria spp. for therapeutic use. Safrole for internal therapeutic use except in preparations containing 0.1 per cent or less of safrole. Sanguinaria (bloodroot) in preparations for human use except in preparations containing 0.01 per cent or less of SANGUINARINE. Senecio spp. for therapeutic use. SILICONES for injection or implantation except when included in Schedule 4. Sodium hydroxide (excluding its salts and derivatives), in liquid or semi-solid food additive preparations, for domestic use, the pH of which is more than 11.5. Symphytum spp. (Comfrey) in preparations for human or animal use except when in Schedule 5. 2,4-Diaminotoluene in preparations for skin colouration (including tattooing) and dyeing of hair, eyelashes or eyebrows. Toluenediamine in preparations for skin colouration (including tattooing) and dyeing of eyelashes or eyebrows except when included in Schedule 6. o-Toluidine (excluding derivatives) in preparations for skin colouration (including tattooing) and dyeing of hair, eyelashes or eyebrows except in preparations containing 0.001 per cent or less of o-toluidine. 1,1,1-Trichloroethane in pressurised spray packs for therapeutic use. Trichodesma africana for therapeutic use. Triparanol for therapeutic use. Tussilago farfara for therapeutic use. Unscheduled substances Unscheduled substances do not belong to any of the above schedules. Many of these preparations are also sold in supermarkets in addition to pharmacies. Some may be age-restricted under other laws. Examples: Antacids Alcohol (ethanol) Caffeine Ephenidine Hydroxymorphinan Ranitidine in small packs (larger packs are schedule) Paracetamol 500 mg in small packs (<24; larger packs are schedule 2) Some laxatives (e.g. bulk laxatives Metamucil) Lubricant eye drops Nicotine replacement therapy (some preparations are schedule 2) Interstate variations New South Wales In New South Wales, poisons are proclaimed in the Poisons List by the Poisons Advisory Committee, under the authority of the Poisons and Therapeutic Goods Act 1966 (NSW). NSW legislation refers to S2 as "medicinal poisons", S3 as "potent substances", S4 as "restricted substances" and S8 as "drugs of addiction". Schedule 3 Recordable Schedule 3 Recordable (S3R), or "recordable potent substances", refers to Pharmacist Only Medicines where supply is recorded as for Schedule 4 drugs. S3R drugs are those that may have an increased risk of illegal diversion or abuse. These are specified in Clause 23 of the Poisons and Therapeutic Goods Regulation 2002 (NSW). As of January 2006, all pseudoephedrine-containing preparations are S3R. Rikodeine cough syrup also falls into category which contains Dihydrocodeine and Sorbitol. Schedule 4 Appendix D Schedule 4, Appendix D (S4D) refers to Prescription Only Medicines that do not have sufficient addictiveness or risk of abuse to be classified as S8, but for which a significant addiction/abuse risk exists. As such, S4D drugs are subject to additional prescription and recording requirements over S4. These drugs are referred to as "prescribed restricted substances" under the Poisons and Therapeutic Goods Regulation 2002 (NSW) and are listed in Appendix D of the Regulation. Drugs included in Appendix D include benzodiazepines, anabolic steroids, gabapentinoids and opiates. A subset of Appendix D are the Appendix B substances, which are subject to similar requirements as S8 drugs. South Australia Recordable S3 products (Schedule G) In South Australia, supply of certain S3 preparations listed in Schedule G of the Controlled Substances (Poisons) Regulations 1996 (SA) are recordable under Regulation 14(2). As of 2006, Schedule G products specified are: adrenaline (in metered aerosols), dihydrocodeine (in cough preparations), doxylamine (in preparations also containing codeine), promethazine (in preparations also containing codeine), and pseudoephedrine. Western Australia Recordable S3 products (Appendix J) In Western Australia, supply of certain S3 preparations listed in Appendix J of the Poisons Regulations 1965 (WA) are recordable under Regulation 35A. As of 2006, Appendix J products specified are: hydrocortisone, hydrocortisone acetate, pseudoephedrine, and nicotine preparations were included in Schedule 3. See also Regulation of therapeutic goods Prohibition of drugs Illicit drug use in Australia Notes References Bullock, S & Manias, E. (2011). Fundamentals of Pharmacology (6th ed). Pearson Australia: Frenchs Forest, NSW Drug policy of Australia Pharmacy in Australia Health law in Australia Medical regulation in Australia Pharmaceuticals policy Medical law
The is an Edo period historical analysis of Japanese history written in 1712 by Arai Hakuseki (1657–1725). Hakuseki's innovative effort to understand and explain the history of Japan differs significantly from previous chronologies which were created by other writers, such as Gukanshō (circa 1220) by Jien, whose work evidenced a distinctly Buddhist perspective; or Jinnō Shōtōki (1359) by Kitabatake Chikafusa, whose work evidenced a distinctly Shinto perspective; or Nihon Ōdai Ichiran (1652) by Hayashi Gahō, whose work evidenced a distinctly neo-Confucian perspective. Hakuseki's work avoids such easy categorization, and yet, he would have resisted being labeled non-Shinto, non-Buddhist, or non-Confucianist in his life or work. His analytical approach to history differed from his predecessors in that the Tokushi Yoron identifies a process of transferring power across generations. Earlier Japanese histories were intended, in large part, to be construed as documenting how the past legitimizes the present status quo. Tokushi Yoron is not without its problems. Hakuseki has been criticized for being overly casual in identifying the sources he used in writing. For example, he borrowed extensively from Hayashi Gahō's Nihon Ōdai Ichiran; but he felt no need to acknowledge this fact. Nevertheless, the organizing schema of Tokushi Yoron presented the periodization of history on the basis of changes in political power; and this rational stance sets this work apart from its sources. See also Historiographical Institute of the University of Tokyo International Research Center for Japanese Studies Japanese Historical Text Initiative Historiography of Japan Notes External links 読史余論抄 References Ackroyd, Joyce, tr. (1980). Told Round a Brushwood Fire: The Autobiography of Arai Hakuseki (UNESCO Collection of Representative Works: Japanese series). Princeton: Princeton University Press. [reprinted by University of Tokyo Press, Tokyo, 1995. (cloth)] _. (1982) Lessons from History: The Tokushi Yoron. Brisbane: University of Queensland Press. ; OCLC 7574544 Brown, Delmer M. and Ichiro Ishida, eds. (1979). Gukanshō; "The Future and the Past: a translation and study of the 'Gukanshō,' an interpretive history of Japan written in 1219" translated from the Japanese and edited by Delmer M. Brown & Ichirō Ishida. Berkeley: University of California Press. Brownlee, John S. (1997) Japanese historians and the national myths, 1600-1945: The Age of the Gods and Emperor Jimmu. Vancouver: University of British Columbia Press. Tokyo: University of Tokyo Press. (cloth) _. (1991). Political Thought in Japanese Historical Writing: From Kojiki (712) to Tokushi Yoron (1712). Waterloo, Ontario: Wilfrid Laurier University Press. Titsingh, Isaac. (1834). Annales des empereurs du Japon (Nihon Odai Ichiran). Paris: Royal Asiatic Society, Oriental Translation Fund of Great Britain and Ireland. OCLC 5850691 Varley, H. Paul, ed. (1980). [ Kitabatake Chikafusa, 1359], Jinnō Shōtōki ("A Chronicle of Gods and Sovereigns: Jinnō Shōtōki of Kitabatake Chikafusa" translated by H. Paul Varley). New York: Columbia University Press. Yamashita, Samuel Hideo. "Yamasaki Ansai and Confucian School Relations, 1650-16751" in Early Modern Japan, (Fall 2001). Ann Arbor: University of Michigan. Edo-period works Historiography of Japan Japanese studies 1712 books History books about Japan Edo-period history books
Latozi "Madosini" Mpahleni (25 December 1943 – 23 December 2022) was a South African musician, known for playing Xhosa traditional instruments such as the uhadi and mhrubhe musical bows, and the isitolotolo. Madosini performed under the name Madosini and was regarded as a "national treasure" in her field. Over the years, she had collaborated and written songs with British rock singer Patrick Duff, and in 2003 they went on to perform a number of successful concerts together around the world. She had collaborated with South African musicians Thandiswa Mazwai, Ringo, Derek Gripper and Gilberto Gil the famous Brazilian musician. Her latest collaboration with musicians Hilton Schilder, Jonny Blundell, WhaWha Mosieu and Pedro Espi-Sanchis has resulted in the recording of an African/Jazz fusion CD under the name of AmaThongo and various concerts around Africa. Madosini and Pedro performed together at many music festivals as well as story telling and poetry festivals around the world, notably the Medellin International Poetry Festival in Colombia. From 2006, Madosini performed at many of the WOMAD festivals around the world, and was the first person to be recorded and documented in the festival's Musical Elders Archives project. Madosini continued to perform around the world until her death. Her music took the audiences deep into the well springs of music and represented some of the earliest roots of jazz in Africa. She used the Lydian and Mixolydian modes and also occasional additive time signatures such as 9/8. Madosini died on 23 December 2022, two days before her 79th birthday. References External links 1943 births 2022 deaths South African musicians Xhosa people People from Mthatha Musicians from the Eastern Cape Recipients of the Molteno medal
```c /* $OpenBSD: pctr.c,v 1.24 2019/06/28 13:35:02 deraadt Exp $ */ /* * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ /* * Pentium performance counter control program for OpenBSD. * * Modification and redistribution in source and binary forms is * permitted provided that due credit is given to the author and the * OpenBSD project by leaving this copyright notice intact. */ #include <sys/types.h> #include <sys/stat.h> #include <sys/sysctl.h> #include <sys/ioctl.h> #include <machine/cpu.h> #include <machine/pctr.h> #include <machine/specialreg.h> #include <errno.h> #include <err.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "pctrvar.h" static int cpu_type; static int tsc_avail; static int ctr, func, masku, thold; static int cflag, eflag, iflag, kflag, uflag; static int Mflag, Eflag, Sflag, Iflag, Aflag; static void pctr_cpu_creds(void); static char *pctr_fn2str(u_int32_t); static void pctr_printvals(struct pctrst *); static int pctr_read(struct pctrst *); static int pctr_write(int, u_int32_t); static void pctr_list_fnct(void); static int pctr_set_cntr(void); static void usage(void); int main(int argc, char **argv) { const char *errstr; struct pctrst st; int ch = -1; int list_mode = 0, set_mode = 0; pctr_cpu_creds(); while ((ch = getopt(argc, argv, "AcEef:IiklMm:Ss:t:u")) != -1) switch (ch) { case 'A': Aflag = 1; break; case 'c': cflag = 1; break; case 'E': Eflag = 1; break; case 'e': eflag = 1; break; case 'f': if (sscanf(optarg, "%x", &func) <= 0 || func < 0 || func > PCTR_MAX_FUNCT) errx(1, "invalid function number"); break; case 'I': Iflag = 1; break; case 'i': iflag = 1; break; case 'k': kflag = 1; break; case 'l': list_mode = 1; break; case 'M': Mflag = 1; break; case 'm': if (sscanf(optarg, "%x", &masku) <= 0 || masku < 0 || masku > PCTR_MAX_UMASK) errx(1, "invalid unit mask number"); break; case 'S': Sflag = 1; break; case 's': set_mode = 1; ctr = strtonum(optarg, 0, PCTR_NUM-1, &errstr); if (errstr) errx(1, "counter number is %s: %s", errstr, optarg); break; case 't': thold = strtonum(optarg, 0, 0xff, &errstr); if (errstr) errx(1, "threshold is %s: %s", errstr, optarg); break; case 'u': uflag = 1; break; default: usage(); /* NOTREACHED */ } argc -= optind; argv += optind; if (argc) usage(); if (Aflag && (Mflag || Eflag || Sflag || Iflag)) usage(); if (list_mode) pctr_list_fnct(); else if (set_mode) { if (pctr_set_cntr() < 0) err(1, "pctr_set_cntr"); } else { bzero(&st, sizeof(st)); if (pctr_read(&st) < 0) err(1, "pctr_read"); pctr_printvals(&st); } return (0); } static void pctr_cpu_creds(void) { int atype; char arch[16], vendor[64]; int mib[2], cpu_id, cpu_feature; size_t len; /* Get the architecture */ mib[0] = CTL_HW; mib[1] = HW_MACHINE; len = sizeof(arch); if (sysctl(mib, 2, arch, &len, NULL, 0) == -1) err(1, "HW_MACHINE"); if (strcmp(arch, "i386") == 0) atype = ARCH_I386; else if (strcmp(arch, "amd64") == 0) atype = ARCH_AMD64; else errx(1, "architecture %s is not supported", arch); /* Get the CPU id */ mib[0] = CTL_MACHDEP; mib[1] = CPU_CPUID; len = sizeof(cpu_id); if (sysctl(mib, 2, &cpu_id, &len, NULL, 0) == -1) err(1, "CPU_CPUID"); /* Get the CPU features */ mib[1] = CPU_CPUFEATURE; len = sizeof(cpu_feature); if (sysctl(mib, 2, &cpu_feature, &len, NULL, 0) == -1) err(1, "CPU_CPUFEATURE"); /* Get the processor vendor */ mib[0] = CTL_MACHDEP; mib[1] = CPU_CPUVENDOR; len = sizeof(vendor); if (sysctl(mib, 2, vendor, &len, NULL, 0) == -1) err(1, "CPU_CPUVENDOR"); switch (atype) { case ARCH_I386: if (strcmp(vendor, "AuthenticAMD") == 0) { if (((cpu_id >> 8) & 15) >= 6) cpu_type = CPU_AMD; else cpu_type = CPU_UNDEF; /* old AMD cpu */ } else if (strcmp(vendor, "GenuineIntel") == 0) { if (((cpu_id >> 8) & 15) == 6 && ((cpu_id >> 4) & 15) > 14) cpu_type = CPU_CORE; else if (((cpu_id >> 8) & 15) >= 6) cpu_type = CPU_P6; else if (((cpu_id >> 4) & 15) > 0) cpu_type = CPU_P5; else cpu_type = CPU_UNDEF; /* old Intel cpu */ } if (cpu_feature & CPUID_TSC) tsc_avail = 1; break; case ARCH_AMD64: if (strcmp(vendor, "AuthenticAMD") == 0) cpu_type = CPU_AMD; else if (strcmp(vendor, "GenuineIntel") == 0) cpu_type = CPU_CORE; if (cpu_feature & CPUID_TSC) tsc_avail = 1; break; } } static __inline int pctr_ctrfn_index(struct ctrfn *cfnp, u_int32_t func) { int i; for (i = 0; cfnp[i].name != NULL; i++) if (cfnp[i].fn == func) return (i); return (-1); } static char * pctr_fn2str(u_int32_t sel) { static char buf[128]; struct ctrfn *cfnp = NULL; char th[6], um[5], *msg; u_int32_t fn; int ind; bzero(buf, sizeof(buf)); bzero(th, sizeof(th)); bzero(um, sizeof(um)); switch (cpu_type) { case CPU_P5: fn = sel & 0x3f; if ((ind = pctr_ctrfn_index(p5fn, fn)) < 0) msg = "unknown function"; else msg = p5fn[ind].name; snprintf(buf, sizeof(buf), "%c%c%c %02x %s", sel & P5CTR_C ? 'c' : '-', sel & P5CTR_U ? 'u' : '-', sel & P5CTR_K ? 'k' : '-', fn, msg); break; case CPU_P6: cfnp = p6fn; case CPU_CORE: if (cpu_type == CPU_CORE) cfnp = corefn; fn = sel & 0xff; if ((ind = pctr_ctrfn_index(cfnp, fn)) < 0) msg = "unknown function"; else msg = cfnp[ind].name; if (cfnp[ind].name && cfnp[ind].flags & CFL_MESI) snprintf(um, sizeof (um), "%c%c%c%c", sel & PCTR_UM_M ? 'M' : '-', sel & PCTR_UM_E ? 'E' : '-', sel & PCTR_UM_S ? 'S' : '-', sel & PCTR_UM_I ? 'I' : '-'); else if (cfnp[ind].name && cfnp[ind].flags & CFL_SA) snprintf(um, sizeof(um), "%c", sel & PCTR_UM_A ? 'A' : '-'); if (sel >> PCTR_CM_SHIFT) snprintf(th, sizeof(th), "+%d", sel >> PCTR_CM_SHIFT); snprintf(buf, sizeof(buf), "%c%c%c%c %02x %02x %s %s %s", sel & PCTR_I ? 'i' : '-', sel & PCTR_E ? 'e' : '-', sel & PCTR_K ? 'k' : '-', sel & PCTR_U ? 'u' : '-', fn, (sel >> PCTR_UM_SHIFT) & 0xff, th, um, msg); break; case CPU_AMD: fn = sel & 0xff; if (sel >> PCTR_CM_SHIFT) snprintf(th, sizeof(th), "+%d", sel >> PCTR_CM_SHIFT); snprintf(buf, sizeof(buf), "%c%c%c%c %02x %02x %s", sel & PCTR_I ? 'i' : '-', sel & PCTR_E ? 'e' : '-', sel & PCTR_K ? 'k' : '-', sel & PCTR_U ? 'u' : '-', fn, (sel >> PCTR_UM_SHIFT) & 0xff, th); break; } return (buf); } static void pctr_printvals(struct pctrst *st) { int i, n; switch (cpu_type) { case CPU_P5: case CPU_P6: case CPU_CORE: n = PCTR_INTEL_NUM; case CPU_AMD: if (cpu_type == CPU_AMD) n = PCTR_AMD_NUM; for (i = 0; i < n; i++) printf(" ctr%d = %16llu [%s]\n", i, st->pctr_hwc[i], pctr_fn2str(st->pctr_fn[i])); if (tsc_avail) printf(" tsc = %16llu\n", st->pctr_tsc); break; } } static int pctr_read(struct pctrst *st) { int fd, se; fd = open(_PATH_PCTR, O_RDONLY); if (fd == -1) return (-1); if (ioctl(fd, PCIOCRD, st) == -1) { se = errno; close(fd); errno = se; return (-1); } return (close(fd)); } static int pctr_write(int ctr, u_int32_t val) { int fd, se; fd = open(_PATH_PCTR, O_WRONLY); if (fd == -1) return (-1); if (ioctl(fd, PCIOCS0 + ctr, &val) == -1) { se = errno; close(fd); errno = se; return (-1); } return (close(fd)); } static __inline void pctr_printdesc(char *desc) { char *p; for (;;) { while (*desc == ' ') desc++; if (strlen(desc) < 70) { if (*desc) printf(" %s\n", desc); return; } p = desc + 72; while (*--p != ' ') ; while (*--p == ' ') ; p++; printf(" %.*s\n", (int)(p-desc), desc); desc = p; } } static void pctr_list_fnct(void) { struct ctrfn *cfnp = NULL; if (cpu_type == CPU_P5) cfnp = p5fn; else if (cpu_type == CPU_P6) cfnp = p6fn; else if (cpu_type == CPU_CORE) cfnp = corefn; else if (cpu_type == CPU_AMD) cfnp = amdfn; else return; for (; cfnp->name; cfnp++) { printf("%02x %s", cfnp->fn, cfnp->name); if (cfnp->flags & CFL_MESI) printf(" (MESI)"); else if (cfnp->flags & CFL_SA) printf(" (A)"); if (cfnp->flags & CFL_C0) printf(" (ctr0 only)"); else if (cfnp->flags & CFL_C1) printf(" (ctr1 only)"); if (cfnp->flags & CFL_UM) printf(" (needs unit mask)"); printf("\n"); if (cfnp->desc) pctr_printdesc(cfnp->desc); } } static int pctr_set_cntr(void) { struct ctrfn *cfnp = NULL; u_int32_t val = func; int ind = 0; switch (cpu_type) { case CPU_P5: if (ctr >= PCTR_INTEL_NUM) errx(1, "only %d counters are supported", PCTR_INTEL_NUM); if (cflag) val |= P5CTR_C; if (kflag) val |= P5CTR_K; if (uflag) val |= P5CTR_U; if (func && (!kflag && !uflag)) val |= P5CTR_K | P5CTR_U; break; case CPU_P6: cfnp = p6fn; case CPU_CORE: if (cpu_type == CPU_CORE) cfnp = corefn; if (ctr >= PCTR_INTEL_NUM) errx(1, "only %d counters are supported", PCTR_INTEL_NUM); if (func && (ind = pctr_ctrfn_index(cfnp, func)) < 0) errx(1, "function %02x is not supported", func); if (func && (cfnp[ind].flags & CFL_SA)) val |= PCTR_UM_A; if (func && (cfnp[ind].flags & CFL_MESI)) { if (Mflag) val |= PCTR_UM_M; if (Eflag) val |= PCTR_UM_E; if (Sflag) val |= PCTR_UM_S; if (Iflag) val |= PCTR_UM_I; if (!Mflag || !Eflag || !Sflag || !Iflag) val |= PCTR_UM_MESI; } if (func && (cfnp[ind].flags & CFL_ED)) val |= PCTR_E; if (func && (cfnp[ind].flags & CFL_UM) && !masku) errx(1, "function %02x needs unit mask specification", func); case CPU_AMD: if (cpu_type == CPU_AMD && func && ((ind = pctr_ctrfn_index(amdfn, func)) < 0)) errx(1, "function %02x is not supported", func); if (ctr >= PCTR_AMD_NUM) errx(1, "only %d counters are supported", PCTR_AMD_NUM); if (eflag) val |= PCTR_E; if (iflag) val |= PCTR_I; if (kflag) val |= PCTR_K; if (uflag) val |= PCTR_U; if (func && (!kflag && !uflag)) val |= PCTR_K | PCTR_U; val |= masku << PCTR_UM_SHIFT; val |= thold << PCTR_CM_SHIFT; if (func) val |= PCTR_EN; break; } return (pctr_write(ctr, val)); } static void usage(void) { extern char *__progname; char *usg = NULL; switch (cpu_type) { case CPU_P5: usg = "[-cklu] [-f funct] [-s ctr]"; break; case CPU_P6: case CPU_CORE: usg = "[-AEeIiklMSu] [-f funct] [-m umask] [-s ctr] " "[-t thold]"; break; case CPU_AMD: usg = "[-eilku] [-f funct] [-m umask] [-s ctr] " "[-t thold]"; break; } fprintf(stderr, "usage: %s %s\n", __progname, usg); exit(1); } ```
WOKN (99.5 FM) is a radio station broadcasting a country music format. Licensed to Southport, New York, United States, the station serves the Elmira-Corning area. The station is currently owned by Tower Broadcasting LLC and features programming from Westwood One. FM Translator WOKN also simulcasts from an FM translator in Corning, New York. References External links OKN Country radio stations in the United States Waypoint Media
```smalltalk using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Configuration; namespace SimplCommerce.Module.Core.Extensions.TagHelpers { [HtmlTargetElement(Attributes = AppendVersionAttributeName)] public class AppendVersionTagHelper : TagHelper { private const string AppendVersionAttributeName = "simpl-append-version"; private readonly IConfiguration _config; public AppendVersionTagHelper(IConfiguration config) { _config = config; } [HtmlAttributeName(AppendVersionAttributeName)] public bool AppendVersion { get; set; } public override int Order => int.MinValue; public override void Process(TagHelperContext context, TagHelperOutput output) { output.Attributes.RemoveAll(AppendVersionAttributeName); if (!AppendVersion) { return; } if (output.Attributes.ContainsName("href")) { var href = output.Attributes["href"].Value.ToString(); output.Attributes.SetAttribute("href", AppendVersionToUrl(href)); } if (output.Attributes.ContainsName("src")) { var src = output.Attributes["src"].Value.ToString(); output.Attributes.SetAttribute("src", AppendVersionToUrl(src)); } } private string AppendVersionToUrl(string url) { if (string.IsNullOrWhiteSpace(url)) { return string.Empty; } var version = _config["Global.AssetVersion"]; return url.Contains("?") ? $"{url}&v={version}" : $"{url}?v={version}"; } } } ```
The Bala and Festiniog Railway was a , standard gauge, railway backed by the Great Western Railway (GWR) in north-west Wales. It connected Bala with Blaenau Ffestiniog. History The railway originally connected Bala with Llan Ffestiniog. It was incorporated on 28 July 1873 and opened on 1 November 1882. In 1883 the line was extended by converting the existing Festiniog and Blaenau Railway between Llan Ffestiniog and Blaenau Ffestiniog from gauge to standard gauge. The line terminated at Blaenau Ffestiniog (GWR) where until 1939 it connected with the Ffestiniog Railway to Porthmadog. At , the line connected with the Ruabon to Barmouth GWR line. The Bala and Festiniog was vested in the Great Western Railway on 1 July 1910. On nationalisation in 1948 management of the line passed to the Western Region of British Railways. The line closed to passengers in 1960 and to freight in 1961. An unusual feature of freight operation on the line was the carriage of gauge slate wagons (provided by the GWR) on standard gauge transporter wagons between and Blaenau Ffestiniog where the wagons were off-loaded in the large station yard and their loads of dressed slate transferred to standard gauge GWR wagons for carriage back the way they had come then on via Manod and Bala. The building of the Llyn Celyn reservoir necessitated the flooding of the line. A diversion was considered but never built. A short section from to remained open but was eventually closed in 1965. The summit of the line was at which lay at above sea level. The line served an extremely remote area of North Wales, most of which was not served by a main road until the A4212 road opened in the early 1960s. In 1964, a connection was made through Blaenau to the Conwy Valley Line at allowing access as far as Trawsfynydd nuclear power station; a loading facility for nuclear flasks was constructed on a siding a hundred yards north of the closed . In 1982, the Ffestiniog Railway was reopened to a wholly new Blaenau Ffestiniog on the site of the former GWR station. Conwy Valley line services were extended along the 1964 connection to the new interchange station and Blaenau Ffestiniog North (LNWR) was closed. On 17 July 1989, the first passenger train beyond Blaenau Ffestiniog ran to a temporary platform at Trawsfynydd (Maentwrog Road). Organised by Provincial, regular Sunday services ran from Sunday 23 July to Sunday 10 September in the form of an extension of the 09.45 train, with a return at 13.40. A maximum of 60 passengers could be carried as far as Trawsfynydd where they were met by a bus to the nuclear power station for a guided tour. Current status The only part of the line in use today is the very short section between the two stations in Blaenau Ffestiniog. The section of line between Blaenau (GWR) and Trawsfynydd power station closed in 1998, although the track is protected and has remained in situ since. Much of the trackbed south of Trawsfynydd remains intact except for the section flooded by Llyn Celyn and some sections used to improve the A4212 road. Several other sections are open as permissive paths. Many of the former stations are now in use as private residences. Heritage railway plans Trawsfynydd Railway Company During 2016, the Trawsfynydd Railway Company was formed under the ownership of Colin Dale and with the use of volunteer labour, began to clear the line to Trawsfynydd Lake railway station which they proposed to be their terminus. They also intended to re-open Maentwrog Road, Llan Ffestiniog, a halt at Cwm Teigl and at Manod, en route. The clearing of the line was sanctioned by the owner of the trackbed, Network Rail and by 10 October 2016, more than six productive days had been achieved. Also, a bid was unsuccessfully made for DB Cargo's Class 08 locomotive No. 08757 from Crewe which would cost £19,600. A crowd funding site was launched to this end. In August of 2017 Network Rail took the decision to revoke the licence issued to Trawsfynydd Railway Company for clearing the line following an investigation which found several breaches of the terms and conditions of the licence agreement. The company dissolved in December 2018 following the death of the owner. Blaenau Ffestiniog and Trawsfynydd Railway Society A separate volunteer society, the Blaenau Ffestiniog and Trawsfynydd Railway Society, kept a watching brief in the background to the Trawsfynydd Railway Company. After it lost its licence to clear the line, the Blaenau Ffestiniog and Trawsfynydd Railway Society stepped in with the goal of developing its own plans to restore the line in a manner acceptable to Network Rail and other stakeholders. A new interim committee was formed through co-opting existing committee members from the Trawsfynydd Railway Company. It held its first and only AGM on 3 February 2019 to discuss how to take the next steps towards restoring the line. Plans included changing the Society into the Bala and Ffestiniog Railway Heritage Trust. Bala and Festiniog Railway Heritage Trust The outcome of the AGM was to disband the existing Blaenau Ffestiniog and Trawsfynydd Railway Society and replace it with a limited company named the Bala and Festiniog Railway Heritage Trust. It would be run by an elected committee which had the mandate to preserve the history of the old line between Bala and Ffestiniog and to explore options of how to restore the line between Trawsfynydd and Ffestiniog to operational use. Members of the committee reiterated that this would involve much paperwork before any tangible progress was made on the physical infrastructure once an agreement is obtained from Network Rail. See also Map of places on 'Bala and Festiniog Railway' compiled from this article References Notes Sources Photo Guide of the whole line circa 2001 Line on navigable O.S. map Closed railway lines in Wales Railway companies established in 1873 Railway lines opened in 1882 Rail transport in Gwynedd Standard gauge railways in Wales 1873 establishments in Wales 1961 disestablishments in Wales
The list below contains threatened mammals that dwell in or migrate to any region in Europe, the East Atlantic Ocean, and any nearby islands of the Atlantic Ocean. This includes mammals that are found in the East Atlantic Ocean (Azores), Iceland, the Adriatic Sea, the Sea of Azov, the Black and Caspian Sea, Corsica, Cyprus, Palearctic, Russia, Eurasia, North African Coast, the Mediterranean Sea and islands located in the Mediterranean Sea, and the islands of Spain (Canary, Balearic). The list below was compiled from data on the IUCN Red List of Endangered Species (IUCN). The International Union for Conservation of Nature identifies species in need of attention before approaching extinction and works to increase prevention of extinction. The list below includes vulnerable (VU), endangered (EN), critically endangered (CR), and recently extinct (EX) species. See also Endangered plants of Europe IUCN Red List References .Threatened .M Threatened Europe Biota of Europe by conservation status Mammals,Europe
```objective-c /** ****************************************************************************** * @file stm32f10x_bkp.h * @author MCD Application Team * @version V3.5.0 * @date 11-March-2011 * @brief This file contains all the functions prototypes for the BKP firmware * library. ****************************************************************************** * @attention * * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. * * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2> ****************************************************************************** */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32F10x_BKP_H #define __STM32F10x_BKP_H #ifdef __cplusplus extern "C" { #endif /* Includes your_sha256_hash--*/ #include "stm32f10x.h" /** @addtogroup STM32F10x_StdPeriph_Driver * @{ */ /** @addtogroup BKP * @{ */ /** @defgroup BKP_Exported_Types * @{ */ /** * @} */ /** @defgroup BKP_Exported_Constants * @{ */ /** @defgroup Tamper_Pin_active_level * @{ */ #define BKP_TamperPinLevel_High ((uint16_t)0x0000) #define BKP_TamperPinLevel_Low ((uint16_t)0x0001) #define IS_BKP_TAMPER_PIN_LEVEL(LEVEL) (((LEVEL) == BKP_TamperPinLevel_High) || \ ((LEVEL) == BKP_TamperPinLevel_Low)) /** * @} */ /** @defgroup RTC_output_source_to_output_on_the_Tamper_pin * @{ */ #define BKP_RTCOutputSource_None ((uint16_t)0x0000) #define BKP_RTCOutputSource_CalibClock ((uint16_t)0x0080) #define BKP_RTCOutputSource_Alarm ((uint16_t)0x0100) #define BKP_RTCOutputSource_Second ((uint16_t)0x0300) #define IS_BKP_RTC_OUTPUT_SOURCE(SOURCE) (((SOURCE) == BKP_RTCOutputSource_None) || \ ((SOURCE) == BKP_RTCOutputSource_CalibClock) || \ ((SOURCE) == BKP_RTCOutputSource_Alarm) || \ ((SOURCE) == BKP_RTCOutputSource_Second)) /** * @} */ /** @defgroup Data_Backup_Register * @{ */ #define BKP_DR1 ((uint16_t)0x0004) #define BKP_DR2 ((uint16_t)0x0008) #define BKP_DR3 ((uint16_t)0x000C) #define BKP_DR4 ((uint16_t)0x0010) #define BKP_DR5 ((uint16_t)0x0014) #define BKP_DR6 ((uint16_t)0x0018) #define BKP_DR7 ((uint16_t)0x001C) #define BKP_DR8 ((uint16_t)0x0020) #define BKP_DR9 ((uint16_t)0x0024) #define BKP_DR10 ((uint16_t)0x0028) #define BKP_DR11 ((uint16_t)0x0040) #define BKP_DR12 ((uint16_t)0x0044) #define BKP_DR13 ((uint16_t)0x0048) #define BKP_DR14 ((uint16_t)0x004C) #define BKP_DR15 ((uint16_t)0x0050) #define BKP_DR16 ((uint16_t)0x0054) #define BKP_DR17 ((uint16_t)0x0058) #define BKP_DR18 ((uint16_t)0x005C) #define BKP_DR19 ((uint16_t)0x0060) #define BKP_DR20 ((uint16_t)0x0064) #define BKP_DR21 ((uint16_t)0x0068) #define BKP_DR22 ((uint16_t)0x006C) #define BKP_DR23 ((uint16_t)0x0070) #define BKP_DR24 ((uint16_t)0x0074) #define BKP_DR25 ((uint16_t)0x0078) #define BKP_DR26 ((uint16_t)0x007C) #define BKP_DR27 ((uint16_t)0x0080) #define BKP_DR28 ((uint16_t)0x0084) #define BKP_DR29 ((uint16_t)0x0088) #define BKP_DR30 ((uint16_t)0x008C) #define BKP_DR31 ((uint16_t)0x0090) #define BKP_DR32 ((uint16_t)0x0094) #define BKP_DR33 ((uint16_t)0x0098) #define BKP_DR34 ((uint16_t)0x009C) #define BKP_DR35 ((uint16_t)0x00A0) #define BKP_DR36 ((uint16_t)0x00A4) #define BKP_DR37 ((uint16_t)0x00A8) #define BKP_DR38 ((uint16_t)0x00AC) #define BKP_DR39 ((uint16_t)0x00B0) #define BKP_DR40 ((uint16_t)0x00B4) #define BKP_DR41 ((uint16_t)0x00B8) #define BKP_DR42 ((uint16_t)0x00BC) #define IS_BKP_DR(DR) (((DR) == BKP_DR1) || ((DR) == BKP_DR2) || ((DR) == BKP_DR3) || \ ((DR) == BKP_DR4) || ((DR) == BKP_DR5) || ((DR) == BKP_DR6) || \ ((DR) == BKP_DR7) || ((DR) == BKP_DR8) || ((DR) == BKP_DR9) || \ ((DR) == BKP_DR10) || ((DR) == BKP_DR11) || ((DR) == BKP_DR12) || \ ((DR) == BKP_DR13) || ((DR) == BKP_DR14) || ((DR) == BKP_DR15) || \ ((DR) == BKP_DR16) || ((DR) == BKP_DR17) || ((DR) == BKP_DR18) || \ ((DR) == BKP_DR19) || ((DR) == BKP_DR20) || ((DR) == BKP_DR21) || \ ((DR) == BKP_DR22) || ((DR) == BKP_DR23) || ((DR) == BKP_DR24) || \ ((DR) == BKP_DR25) || ((DR) == BKP_DR26) || ((DR) == BKP_DR27) || \ ((DR) == BKP_DR28) || ((DR) == BKP_DR29) || ((DR) == BKP_DR30) || \ ((DR) == BKP_DR31) || ((DR) == BKP_DR32) || ((DR) == BKP_DR33) || \ ((DR) == BKP_DR34) || ((DR) == BKP_DR35) || ((DR) == BKP_DR36) || \ ((DR) == BKP_DR37) || ((DR) == BKP_DR38) || ((DR) == BKP_DR39) || \ ((DR) == BKP_DR40) || ((DR) == BKP_DR41) || ((DR) == BKP_DR42)) #define IS_BKP_CALIBRATION_VALUE(VALUE) ((VALUE) <= 0x7F) /** * @} */ /** * @} */ /** @defgroup BKP_Exported_Macros * @{ */ /** * @} */ /** @defgroup BKP_Exported_Functions * @{ */ void BKP_DeInit(void); void BKP_TamperPinLevelConfig(uint16_t BKP_TamperPinLevel); void BKP_TamperPinCmd(FunctionalState NewState); void BKP_ITConfig(FunctionalState NewState); void BKP_RTCOutputConfig(uint16_t BKP_RTCOutputSource); void BKP_SetRTCCalibrationValue(uint8_t CalibrationValue); void BKP_WriteBackupRegister(uint16_t BKP_DR, uint16_t Data); uint16_t BKP_ReadBackupRegister(uint16_t BKP_DR); FlagStatus BKP_GetFlagStatus(void); void BKP_ClearFlag(void); ITStatus BKP_GetITStatus(void); void BKP_ClearITPendingBit(void); #ifdef __cplusplus } #endif #endif /* __STM32F10x_BKP_H */ /** * @} */ /** * @} */ /** * @} */ /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ ```
```go //go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || zos // +build darwin dragonfly freebsd linux netbsd openbsd zos package cmd import ( "os" "syscall" ) func getWinchSignal() os.Signal { return syscall.SIGWINCH } ```
```objective-c /* * */ #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_MCUX_LPADC_H_ #define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_MCUX_LPADC_H_ #define MCUX_LPADC_CH0A (0x0) #define MCUX_LPADC_CH0B (0x20) #define MCUX_LPADC_CH1A (0x1) #define MCUX_LPADC_CH1B (0x21) #define MCUX_LPADC_CH2A (0x2) #define MCUX_LPADC_CH2B (0x22) #define MCUX_LPADC_CH3A (0x3) #define MCUX_LPADC_CH3B (0x23) #define MCUX_LPADC_CH4A (0x4) #define MCUX_LPADC_CH4B (0x24) #define MCUX_LPADC_CH5A (0x5) #define MCUX_LPADC_CH5B (0x25) #define MCUX_LPADC_CH6A (0x6) #define MCUX_LPADC_CH6B (0x26) #define MCUX_LPADC_CH7A (0x7) #define MCUX_LPADC_CH7B (0x27) #define MCUX_LPADC_CH8A (0x8) #define MCUX_LPADC_CH8B (0x28) #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ADC_MCUX_LPADC_H_ */ ```
Weizenbaum is a Jewish German surname. 'Weizen' means (buck)wheat, 'baum' is a tree. Notable people with the surname include: Joseph Weizenbaum (1923–2008), German-American computer scientist Zoe Weizenbaum (born 1991), American actress See also Weidenbaum German-language surnames
```kotlin package de.westnordost.streetcomplete.screens.user.statistics import android.os.Handler import android.os.HandlerThread import de.westnordost.streetcomplete.util.ktx.nowAsEpochMilliseconds import kotlinx.coroutines.android.asCoroutineDispatcher import kotlinx.coroutines.withContext import org.jbox2d.collision.shapes.Shape import org.jbox2d.common.Vec2 import org.jbox2d.dynamics.Body import org.jbox2d.dynamics.BodyDef import org.jbox2d.dynamics.World import kotlin.math.max /** Contains the physics simulation world and the physics simulation loop */ class PhysicsWorldController(gravity: Vec2) { private val world: World = World(gravity) private val thread: HandlerThread = HandlerThread("Physics thread") private val handler: Handler private val loopRunnable = Runnable { loop() } private var isRunning = false var gravity: Vec2 get() = world.gravity set(value) { // wake up everyone if the gravity changed world.gravity = value var bodyIt = world.bodyList while (bodyIt != null) { bodyIt.isAwake = true bodyIt = bodyIt.next } } interface Listener { fun onWorldStep() } var listener: Listener? = null init { thread.start() handler = Handler(thread.looper) } fun resume() { if (!isRunning) { isRunning = true handler.postDelayed(loopRunnable, DELAY.toLong()) } } fun pause() { if (isRunning) { isRunning = false handler.removeCallbacks(loopRunnable) } } fun destroy() { handler.removeCallbacksAndMessages(null) thread.quit() } private fun loop() { val startTime = nowAsEpochMilliseconds() world.step(DELAY / 1000f, 6, 2) val executionTime = nowAsEpochMilliseconds() - startTime listener?.onWorldStep() if (isRunning) { handler.postDelayed(this::loop, max(0, DELAY - executionTime)) } } suspend fun createBody(def: BodyDef, shape: Shape, density: Float): Body { // creating bodies cannot be done while the World is locked (= while world.step(...) is // executed), so we must post this on the same thread and then await it to be executed return withContext(handler.asCoroutineDispatcher()) { val body = world.createBody(def) body.createFixture(shape, density) body } } companion object { private const val DELAY = 16 // 60 fps } } ```
Tapipa is a town in the state of Miranda, Venezuela, in the Venezuelan Coastal Range near the Tuy River. It was founded on 20 January 1784 as a settlement for labourers on surrounding cacao plantations. The population of Tapipa is largely Afro-Venezuelan. The 1971 census recorded 891 inhabitants. References Populated places in Miranda (state) Populated places established in 1784
```javascript /** * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ /* * This script compiles modules for evaluating polynomial functions. If any polynomial coefficients change, this script should be rerun to update the compiled files. */ 'use strict'; // MODULES // var resolve = require( 'path' ).resolve; var readFileSync = require( '@stdlib/fs/read-file' ).sync; var writeFileSync = require( '@stdlib/fs/write-file' ).sync; var currentYear = require( '@stdlib/time/current-year' ); var licenseHeader = require( '@stdlib/_tools/licenses/header' ); var compile = require( '@stdlib/math/base/tools/evalpoly-compile' ); var compileC = require( '@stdlib/math/base/tools/evalpoly-compile-c' ); var substringBefore = require( '@stdlib/string/substring-before' ); var substringAfter = require( '@stdlib/string/substring-after' ); var format = require( '@stdlib/string/format' ); // VARIABLES // // Polynomial coefficients ordered in ascending degree... var A1 = [ 6.73523010531292681824e-02, // 0x3FB13E001A5562A7 7.38555086081402883957e-03, // 0x3F7E404FB68FEFE8 1.19270763183362067845e-03, // 0x3F538A94116F3F5D 2.20862790713908385557e-04, // 0x3F2CF2ECED10E54D 2.52144565451257326939e-05 // 0x3EFA7074428CFA52 ]; var A2 = [ 2.05808084325167332806e-02, // 0x3F951322AC92547B 2.89051383673415629091e-03, // 0x3F67ADD8CCB7926B 5.10069792153511336608e-04, // 0x3F40B6C689B99C00 1.08011567247583939954e-04, // 0x3F1C5088987DFB07 4.48640949618915160150e-05 // 0x3F07858E90A45837 ]; var R = [ 1.39200533467621045958e+00, // 0x3FF645A762C4AB74 7.21935547567138069525e-01, // 0x3FE71A1893D3DCDC 1.71933865632803078993e-01, // 0x3FC601EDCCFBDF27 1.86459191715652901344e-02, // 0x3F9317EA742ED475 7.77942496381893596434e-04, // 0x3F497DDACA41A95B 7.32668430744625636189e-06 // 0x3EDEBAF7A5B38140 ]; var S = [ 2.14982415960608852501e-01, // 0x3FCB848B36E20878 3.25778796408930981787e-01, // 0x3FD4D98F4F139F59 1.46350472652464452805e-01, // 0x3FC2BB9CBEE5F2F7 2.66422703033638609560e-02, // 0x3F9B481C7E939961 1.84028451407337715652e-03, // 0x3F5E26B67368F239 3.19475326584100867617e-05 // 0x3F00BFECDD17E945 ]; var T1 = [ -3.27885410759859649565e-02, // 0xBFA0C9A8DF35B713 6.10053870246291332635e-03, // 0x3F78FCE0E370E344 -1.40346469989232843813e-03, // 0xBF56FE8EBF2D1AF1 3.15632070903625950361e-04 // 0x3F34AF6D6C0EBBF7 ]; var T2 = [ 1.79706750811820387126e-02, // 0x3F9266E7970AF9EC -3.68452016781138256760e-03, // 0xBF6E2EFFB3E914D7 8.81081882437654011382e-04, // 0x3F4CDF0CEF61A8E9 -3.12754168375120860518e-04 // 0xBF347F24ECC38C38 ]; var T3 = [ -1.03142241298341437450e-02, // 0xBF851F9FBA91EC6A 2.25964780900612472250e-03, // 0x3F6282D32E15C915 -5.38595305356740546715e-04, // 0xBF41A6109C73E0EC 3.35529192635519073543e-04 // 0x3F35FD3EE8C2D3F4 ]; var U = [ 6.32827064025093366517e-01, // 0x3FE4401E8B005DFF 1.45492250137234768737e+00, // 0x3FF7475CD119BD6F 9.77717527963372745603e-01, // 0x3FEF497644EA8450 2.28963728064692451092e-01, // 0x3FCD4EAEF6010924 1.33810918536787660377e-02 // 0x3F8B678BBF2BAB09 ]; var V = [ 2.45597793713041134822e+00, // 0x4003A5D7C2BD619C 2.12848976379893395361e+00, // 0x40010725A42B18F5 7.69285150456672783825e-01, // 0x3FE89DFBE45050AF 1.04222645593369134254e-01, // 0x3FBAAE55D6537C88 3.21709242282423911810e-03 // 0x3F6A5ABB57D0CF61 ]; var W = [ 8.33333333333329678849e-02, // 0x3FB555555555553B -2.77777777728775536470e-03, // 0xBF66C16C16B02E5C 7.93650558643019558500e-04, // 0x3F4A019F98CF38B6 -5.95187557450339963135e-04, // 0xBF4380CB8C0FE741 8.36339918996282139126e-04, // 0x3F4B67BA4CDAD5D1 -1.63092934096575273989e-03 // 0xBF5AB89D0B9E43E4 ]; // Header to add to output files: var header = licenseHeader( 'Apache-2.0', 'js', { 'year': currentYear(), 'copyright': 'The Stdlib Authors' }); header += '\n/* This is a generated file. Do not edit directly. */\n'; // FUNCTIONS // /** * Inserts a compiled function into file content. * * @private * @param {string} text - source content * @param {string} id - function identifier * @param {string} str - function string * @returns {string} updated content */ function insert( text, id, str ) { var before; var after; var begin; var end; begin = '// BEGIN: '+id; end = '// END: '+id; before = substringBefore( text, begin ); after = substringAfter( text, end ); return format( '%s// BEGIN: %s\n\n%s\n%s%s', before, id, str, end, after ); } // MAIN // /** * Main execution sequence. * * @private */ function main() { var fpath; var copts; var opts; var file; var str; opts = { 'encoding': 'utf8' }; fpath = resolve( __dirname, '..', 'lib', 'polyval_a1.js' ); str = header + compile( A1 ); writeFileSync( fpath, str, opts ); fpath = resolve( __dirname, '..', 'lib', 'polyval_a2.js' ); str = header + compile( A2 ); writeFileSync( fpath, str, opts ); fpath = resolve( __dirname, '..', 'lib', 'polyval_r.js' ); str = header + compile( R ); writeFileSync( fpath, str, opts ); fpath = resolve( __dirname, '..', 'lib', 'polyval_s.js' ); str = header + compile( S ); writeFileSync( fpath, str, opts ); fpath = resolve( __dirname, '..', 'lib', 'polyval_t1.js' ); str = header + compile( T1 ); writeFileSync( fpath, str, opts ); fpath = resolve( __dirname, '..', 'lib', 'polyval_t2.js' ); str = header + compile( T2 ); writeFileSync( fpath, str, opts ); fpath = resolve( __dirname, '..', 'lib', 'polyval_t3.js' ); str = header + compile( T3 ); writeFileSync( fpath, str, opts ); fpath = resolve( __dirname, '..', 'lib', 'polyval_u.js' ); str = header + compile( U ); writeFileSync( fpath, str, opts ); fpath = resolve( __dirname, '..', 'lib', 'polyval_v.js' ); str = header + compile( V ); writeFileSync( fpath, str, opts ); fpath = resolve( __dirname, '..', 'lib', 'polyval_w.js' ); str = header + compile( W ); writeFileSync( fpath, str, opts ); copts = { 'dtype': 'double', 'name': '' }; fpath = resolve( __dirname, '..', 'src', 'main.c' ); file = readFileSync( fpath, opts ); copts.name = 'polyval_a1'; str = compileC( A1, copts ); file = insert( file, copts.name, str ); copts.name = 'polyval_a2'; str = compileC( A2, copts ); file = insert( file, copts.name, str ); copts.name = 'polyval_r'; str = compileC( R, copts ); file = insert( file, copts.name, str ); copts.name = 'polyval_s'; str = compileC( S, copts ); file = insert( file, copts.name, str ); copts.name = 'polyval_t1'; str = compileC( T1, copts ); file = insert( file, copts.name, str ); copts.name = 'polyval_t2'; str = compileC( T2, copts ); file = insert( file, copts.name, str ); copts.name = 'polyval_t3'; str = compileC( T3, copts ); file = insert( file, copts.name, str ); copts.name = 'polyval_u'; str = compileC( U, copts ); file = insert( file, copts.name, str ); copts.name = 'polyval_v'; str = compileC( V, copts ); file = insert( file, copts.name, str ); copts.name = 'polyval_w'; str = compileC( W, copts ); file = insert( file, copts.name, str ); writeFileSync( fpath, file, opts ); } main(); ```
```shell Pushing tags to a server You can use git offline! The three states in git How to set your username and email Limiting log output by time ```
The 2004 FIA GT Hockenheim 500 km was the fourth round the 2004 FIA GT Championship season. It took place at the Hockenheimring, Germany, on May 16, 2004. Official results Class winners in bold. Cars failing to complete 70% of winner's distance marked as Not Classified (NC). Statistics Pole position – #4 Konrad Motorsport – 1:37.132 Fastest lap – #17 JMB Racing – 1:38.151 Race winner average speed – 158.800 km/h References H Hockenheim 500 FIA GT Hockenheim 500km
Per Otto Magnus Andersson (born 29 June 1956) is a contemporary Swedish classical guitarist. Biography Andersson has long been active in the contemporary music field, and has played a significant role in the creation of the modern guitar repertoire. He studied at the Trinity College of Music, London, and at the Viotti Music Academy in Vercelli, Italy. In 1984 Magnus Andersson founded the guitar class at the International Summer Courses for New Music in Darmstadt (Internationale Ferienkurse für Neue Musik), where he taught until 1996. He teaches at the Royal College of Music in Stockholm, and is a founding member of the innovative chamber music group Ensemble SON and was artistic director of the 2006 and 2008 Stockholm New Music Festival. Magnus Andersson received the Swedish Gramophone Prize in 1985 and 1986 and was nominated for a Swedish Grammy in 1992. He was awarded the Composers Union Interpreter Prize in 1983 and the Kranischsteiner Prize in Darmstadt in 1984. He has performed the premieres of numerous important contemporary works including works by Ferneyhough, Sandström, Dillon, etc. Pieces written for Magnus Andersson include Solo and chamber music Claudio Ambrosini Rap Mark Applebaum DNA for solo guitar Xavier Benguerel Versus; "Cantus" Daniel Börtz Etchings for solo guitar Aldo Clementi Serenata James Dillon Shrouded Mirrors (1987) Franco Donatoni Ase (Algo II) Mikael Edlund Små Fötter Brian Ferneyhough Kurze Schatten II for solo guitar (1989) (essay, analysis , analysis, score sample) Christopher Fox Chile for 11' solo guitar (or solo guitar with organ - organ accompaniment added in 2003) Luca Francesconi A Fuoco Hans Holewa Duettino II for flute and guitar; Duettino for violin and guitar (1983) Kerstin Jeppsson Vocazione Josh Levine Downstream for guitar and computer-processed guitar sounds (1992) Maurizio Pisati Samblana Stellan Sagvik Sven-David Sandström Away From Asbjørn Schaathun Eclogue (2002) Stefano Scodanibbio Dos Abismos Alexander Shchetynsky Five Miniatures Alex Sigman Bent Sørensen Shadow Siciliano for solo guitar Erik Ulman Fabio Vacchi Notturno Concertante Concertos Xavier Bengeruel Tempo for guitar and strings Franco Donatoni Algo III for guitar and chamber orchestra; Algo IV for guitar and ensemble Hans Holewa Concertino VIII (1985); Concertino IX (1987) Maurizio Pisati Senti! for guitar and strings Sven-David Sandström Lonesome for guitar and orchestra Recordings Chitarra Con Forza (PSCD 19, Phono Suecia) - Magnus Andersson plays Swedish guitar music Short Sounds (nosag CD 056, Nosag) - Italian music for guitar Brian Ferneyhough: Fourth String Quartet, Kurze Schatten II, Trittico per G.S., Terrain 1 (naïve previously Disques Montaigne) The Plucked North (nosag CD 117, Nosag) - New music from Sweden, Denmark and Finland Ensemble SON: To Hear with the Mouth (CAP 21713, Caprice Records) Stefano Scodanibbio (STR 33668, Stradivarius) Hans Werner Henze: El Cimarrón (STR 33733, Stradivarius) Xavier Benguerel (Ópera tres) - Music for guitar Sven-David Sandström (CAP 21418, Caprice Records) - Lonesome/guitar concerto. Segerstam/RSO Hans Holewa (PSCD 49, Phono Suecia) - includes chamber music for guitar by Hans Holewa, Phono Suecia, 1991, OCLC: 24815067 Writings Magnus Andersson: “Brian Ferneyhough: Kurze Schatten II - considérations d’un interprète”. Contrechamps 8 (1988): p. 128-138. Bibliography Brian Ferneyhough: Brian Ferneyhough by Brian Ferneyhough Publisher: Paris: L'Age d'homme OCLC: 21274317 (French) Erik Wallrup: Etyder : om musik Publisher: [Stockholm?] : Bonnier Essä, ©2002 OCLC: 52964407 (Swedish) References External links Biography: , Extension du domaine de l analyse ? L interprétation comme "ici et maintenant" (audio: see 7:15) ref. Entrevista con Magnus Andersson by José Manuel Mondragón Brian Ferneyhough, Magnus Andersson y Pablo Gómez: la guitarra contemporánea (1) by Mario Lavista Swedish classical guitarists 1956 births Living people Contemporary classical music in Sweden
```javascript /* * All rights reserved. * * This source code is licensed under the license found in the LICENSE file in * the root directory of this source tree. */ import keyMirror from 'lib/keyMirror'; import Parse from 'parse'; import { Map } from 'immutable'; import { registerStore } from 'lib/stores/StoreManager'; export const ActionTypes = keyMirror(['FETCH', 'SET', 'DELETE']); // Config state should be an Immutable Map with the following fields: // - lastFetch: the last time all data was fetched from the server // - params: An Immutable Map of parameter strings to values // - masterKeyOnly: An Immutable Map of parameter properties for read with master key only function ConfigStore(state, action) { action.app.setParseKeys(); switch (action.type) { case ActionTypes.FETCH: return Parse._request('GET', 'config', {}, { useMasterKey: true }).then(result => { return Map({ lastFetch: new Date(), params: Map(result.params), masterKeyOnly: Map(result.masterKeyOnly), }); }); case ActionTypes.SET: return Parse._request( 'PUT', 'config', { params: { [action.param]: Parse._encode(action.value) }, masterKeyOnly: { [action.param]: action.masterKeyOnly }, }, { useMasterKey: true } ).then(() => { return state .setIn(['params', action.param], action.value) .setIn(['masterKeyOnly', action.param], action.masterKeyOnly); }); case ActionTypes.DELETE: return Parse._request( 'PUT', 'config', { params: { [action.param]: { __op: 'Delete' } }, masterKeyOnly: { [action.param]: { __op: 'Delete' } }, }, { useMasterKey: true } ).then(() => { return state.deleteIn(['params', action.param]); }); } } registerStore('Config', ConfigStore); ```
```shell Interactively stage patches Useful stashing options Sign your work Debug using binary search Sharing data by bundling ```
```xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="path_to_url" xmlns:tools="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MD360PlayerActivity"> <FrameLayout android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="match_parent"> <android.opengl.GLSurfaceView android:id="@+id/gl_view" android:layout_width="match_parent" android:layout_height="match_parent" /> <LinearLayout android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="match_parent"> <TextView android:id="@+id/hotspot_point1" android:text="+" android:textColor="@android:color/white" android:gravity="center" android:layout_weight="1" android:layout_width="0dp" android:layout_height="match_parent" /> <TextView android:id="@+id/hotspot_point2" android:text="+" android:textColor="@android:color/white" android:gravity="center" android:layout_weight="1" android:layout_width="0dp" android:layout_height="match_parent" /> </LinearLayout> </FrameLayout> <ScrollView android:layout_width="160dp" android:paddingBottom="20dp" android:layout_height="match_parent"> <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content"> <androidx.appcompat.widget.AppCompatSpinner android:paddingLeft="0dp" android:paddingRight="0dp" android:id="@+id/spinner_interactive" android:layout_width="100dp" android:minWidth="100dp" android:layout_height="wrap_content"/> <androidx.appcompat.widget.AppCompatSpinner android:layout_marginTop="8dp" android:paddingLeft="0dp" android:paddingRight="0dp" android:id="@+id/spinner_display" android:layout_width="100dp" android:minWidth="100dp" android:layout_height="wrap_content"/> <androidx.appcompat.widget.AppCompatSpinner android:layout_marginTop="8dp" android:paddingLeft="0dp" android:paddingRight="0dp" android:id="@+id/spinner_projection" android:layout_width="100dp" android:minWidth="100dp" android:layout_height="wrap_content"/> <androidx.appcompat.widget.AppCompatSpinner android:layout_marginTop="8dp" android:paddingLeft="0dp" android:paddingRight="0dp" android:id="@+id/spinner_distortion" android:layout_width="100dp" android:minWidth="100dp" android:layout_height="wrap_content"/> <Button android:id="@+id/button_add_plugin" android:textSize="13sp" android:textColor="@android:color/white" android:text="addPlugin" android:layout_marginTop="8dp" android:paddingLeft="8dp" android:paddingRight="8dp" android:includeFontPadding="false" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="42dp" /> <Button android:id="@+id/button_remove_plugin" android:textSize="13sp" android:textColor="@android:color/white" android:layout_marginTop="8dp" android:text="removePlugin" android:paddingLeft="8dp" android:paddingRight="8dp" android:includeFontPadding="false" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="42dp" /> <Button android:id="@+id/button_add_plugin_logo" android:textSize="13sp" android:textColor="@android:color/white" android:layout_marginTop="8dp" android:text="addPluginLogo" android:paddingLeft="8dp" android:paddingRight="8dp" android:includeFontPadding="false" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="42dp" /> <Button android:id="@+id/button_remove_plugins" android:textSize="13sp" android:textColor="@android:color/white" android:layout_marginTop="8dp" android:text="removePlugins" android:paddingLeft="8dp" android:paddingRight="8dp" android:includeFontPadding="false" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="42dp" /> <Button android:id="@+id/button_add_hotspot_front" android:textSize="13sp" android:textColor="@android:color/white" android:text="AddHotspotFront" android:layout_marginTop="8dp" android:paddingLeft="8dp" android:paddingRight="8dp" android:includeFontPadding="false" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="42dp" /> <Button android:id="@+id/button_rotate_to_camera_plugin" android:textSize="13sp" android:textColor="@android:color/white" android:layout_marginTop="8dp" android:text="RotateToCamera" android:paddingLeft="8dp" android:paddingRight="8dp" android:includeFontPadding="false" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="42dp" /> <Button android:id="@+id/button_add_md_view" android:textSize="13sp" android:textColor="@android:color/white" android:layout_marginTop="8dp" android:text="add MDView" android:paddingLeft="8dp" android:paddingRight="8dp" android:includeFontPadding="false" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="42dp" /> <Button android:id="@+id/button_update_md_view" android:textSize="13sp" android:textColor="@android:color/white" android:layout_marginTop="8dp" android:text="update MDView" android:paddingLeft="8dp" android:paddingRight="8dp" android:includeFontPadding="false" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="42dp" /> <Button android:id="@+id/control_next" android:text="next" android:textSize="13sp" android:textColor="@android:color/white" android:layout_marginTop="8dp" android:paddingLeft="8dp" android:paddingRight="8dp" android:includeFontPadding="false" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="42dp" /> <Button android:id="@+id/button_md_view_hover" android:textSize="13sp" android:textColor="@android:color/white" android:layout_marginTop="8dp" android:text="MDView hover" android:paddingLeft="8dp" android:paddingRight="8dp" android:includeFontPadding="false" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="42dp" /> <Button android:id="@+id/button_camera_little_planet" android:textSize="13sp" android:textColor="@android:color/white" android:layout_marginTop="8dp" android:text="Camera Little Planet" android:paddingLeft="8dp" android:paddingRight="8dp" android:includeFontPadding="false" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="42dp" /> <Button android:id="@+id/button_camera_to_normal" android:textSize="13sp" android:textColor="@android:color/white" android:layout_marginTop="8dp" android:text="Camera Normal" android:paddingLeft="8dp" android:paddingRight="8dp" android:includeFontPadding="false" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="42dp" /> <androidx.appcompat.widget.AppCompatSpinner android:layout_marginTop="8dp" android:paddingLeft="0dp" android:paddingRight="0dp" android:id="@+id/spinner_pitch_filter" android:layout_width="100dp" android:minWidth="100dp" android:layout_height="wrap_content"/> <androidx.appcompat.widget.AppCompatSpinner android:layout_marginTop="8dp" android:paddingLeft="0dp" android:paddingRight="0dp" android:id="@+id/spinner_fling_enable" android:layout_width="100dp" android:minWidth="100dp" android:layout_height="wrap_content"/> </LinearLayout> </ScrollView> <TextView android:layout_alignParentBottom="true" android:id="@+id/hotspot_text" android:textColor="@android:color/white" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <TextView android:layout_alignParentBottom="true" android:layout_alignParentRight="true" android:id="@+id/director_brief_text" android:textColor="@android:color/white" android:background="@drawable/selector_button_background" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <ProgressBar android:layout_centerInParent="true" android:id="@+id/progress" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </RelativeLayout> ```
```ocaml (* Unison file synchronizer: src/uutil.ml *) This program is free software: you can redistribute it and/or modify (at your option) any later version. This program 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 along with this program. If not, see <path_to_url *) (*****************************************************************************) (* Unison name and version *) (*****************************************************************************) let myName = ProjectInfo.myName let myVersion = ProjectInfo.myVersion ^ " (ocaml " ^ Sys.ocaml_version ^ ")" let myMajorVersion = ProjectInfo.myMajorVersion let myNameAndVersion = myName ^ " " ^ myVersion (*****************************************************************************) (* HASHING *) (*****************************************************************************) let hash2 x y = (17 * x + 257 * y) land 0x3FFFFFFF external hash_param : int -> int -> 'a -> int = "unsn_hash_univ_param" [@@noalloc] let hash x = hash_param 10 100 x (*****************************************************************************) (* File sizes *) (*****************************************************************************) module type FILESIZE = sig type t val m : t Umarshal.t val zero : t val dummy : t val add : t -> t -> t val sub : t -> t -> t val ofFloat : float -> t val toFloat : t -> float val toString : t -> string val ofInt : int -> t val ofInt64 : int64 -> t val toInt : t -> int val toInt64 : t -> int64 val fromStats : Unix.LargeFile.stats -> t val hash : t -> int val percentageOfTotalSize : t -> t -> float end module Filesize : FILESIZE = struct type t = int64 let m = Umarshal.int64 let zero = 0L let dummy = -1L let add = Int64.add let sub = Int64.sub let ofFloat = Int64.of_float let toFloat = Int64.to_float let toString = Int64.to_string let ofInt x = Int64.of_int x let ofInt64 x = x let toInt x = Int64.to_int x let toInt64 x = x let fromStats st = st.Unix.LargeFile.st_size let hash x = hash2 (Int64.to_int x) (Int64.to_int (Int64.shift_right_logical x 31)) let percentageOfTotalSize current total = let total = toFloat total in if total = 0. then 100.0 else toFloat current *. 100.0 /. total end (*****************************************************************************) (* File transfer progress display *) (*****************************************************************************) module File = struct type t = int let m = Umarshal.int let dummy = -1 let ofLine l = l let toLine l = assert (l <> dummy); l let toString l = if l=dummy then "<dummy>" else string_of_int l end let progressPrinter = ref (fun _ _ _ -> ()) let setProgressPrinter p = progressPrinter := p let showProgress i bytes ch = if i <> File.dummy then !progressPrinter i bytes ch let statusPrinter = ref None let setUpdateStatusPrinter p = statusPrinter := p let showUpdateStatus path = match !statusPrinter with Some f -> f path | None -> Trace.statusDetail path (*****************************************************************************) (* Copy bytes from one file_desc to another *) (*****************************************************************************) let bufsize = 65536 let bufsizeFS = Filesize.ofInt bufsize let buf = Bytes.create bufsize let readWrite source target notify = let len = ref 0 in let rec read () = let n = input source buf 0 bufsize in if n > 0 then begin output target buf 0 n; len := !len + n; if !len > 100 * 1024 then begin notify !len; len := 0 end; read () end else if !len > 0 then notify !len in Util.convertUnixErrorsToTransient "readWrite" read let readWriteBounded source target len notify = let l = ref 0 in let rec read len = if len > Filesize.zero then begin let n = input source buf 0 (if len > bufsizeFS then bufsize else Filesize.toInt len) in if n > 0 then begin let _ = output target buf 0 n in l := !l + n; if !l >= 100 * 1024 then begin notify !l; l := 0 end; read (Filesize.sub len (Filesize.ofInt n)) end else if !l > 0 then notify !l end else if !l > 0 then notify !l in Util.convertUnixErrorsToTransient "readWriteBounded" (fun () -> read len) (*****************************************************************************) (* ESCAPING SHELL PARAMETERS *) (*****************************************************************************) (* Using single quotes is simpler under Unix but they are not accepted by the Windows shell. Double quotes without further quoting is sufficient with Windows as filenames are not allowed to contain double quotes. *) let quotes s = if Sys.win32 then "\"" ^ s ^ "\"" else "'" ^ Util.replacesubstring s "'" "'\\''" ^ "'" ```
```javascript import Icon from '../components/Icon.vue' Icon.register({ 'prescription-bottle': { width: 384, height: 512, paths: [ { d: 'M32 192v-64h320v352c0 17.6-14.4 32-32 32h-256c-17.6 0-32-14.4-32-32v-64h120c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8h-120v-64h120c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8h-120v-64h120c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8h-120zM360 0c13.2 0 24 10.8 24 24v48c0 13.2-10.8 24-24 24h-336c-13.2 0-24-10.8-24-24v-48c0-13.2 10.8-24 24-24h336z' } ] } }) ```
```html <div class="search" *ngIf="state.enabled"> <input type="search" [placeholder]="state.placeholderText" id="search" autocomplete="off" [formControl]="searchText" appAutofocus /> <i class="bwi bwi-search" aria-hidden="true"></i> </div> ```
Dani Zachary Isaacsohn is an American politician and businessman who is a member of the Ohio House of Representatives for the 24th district. Elected in November 2022, he assumed office on January 1, 2023. Early life and education A native of Cincinnati, Isaacsohn graduated from Walnut Hills High School in 2007. He earned a Bachelor of Science degree in foreign relations from the Walsh School of Foreign Service, Juris Doctor from Yale University, and Master of Philosophy in politics from the University of Cambridge. Career Isaacsohn began his career as a field organizer for the Barack Obama 2008 presidential campaign. In 2014, he worked as a legal intern in the Office of White House Counsel. In 2013 and 2014, he worked as the deputy campaigns and political director of Battleground Texas. He was also a summer associate at Debevoise & Plimpton. In 2016, Isaacsohn was the deputy get-out-the-vote director of the Democratic Party of Virginia and Hillary Clinton 2016 presidential campaign. From 2017 to 2019, he was a senior advisor at 17a, a public service strategy organization based in Cincinnati. In 2017, he founded Cohear, a consulting firm. References Living people People from Cincinnati Politicians from Cincinnati Democratic Party members of the Ohio House of Representatives Georgetown University alumni Walsh School of Foreign Service alumni Yale Law School alumni Alumni of the University of Cambridge Obama administration personnel Year of birth missing (living people)
```smalltalk namespace ResXManager.View.Behaviors; using System; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using DataGridExtensions; using Microsoft.Xaml.Behaviors; using ResXManager.Model; using ResXManager.View.ColumnHeaders; using TomsToolbox.Wpf; public class ShowErrorsOnlyBehavior : Behavior<DataGrid> { public ToggleButton? ToggleButton { get => (ToggleButton)GetValue(ToggleButtonProperty); set => SetValue(ToggleButtonProperty, value); } /// <summary> /// Identifies the ToggleButton dependency property /// </summary> public static readonly DependencyProperty ToggleButtonProperty = DependencyProperty.Register("ToggleButton", typeof(ToggleButton), typeof(ShowErrorsOnlyBehavior), new FrameworkPropertyMetadata(null, (sender, e) => ((ShowErrorsOnlyBehavior)sender).ToggleButton_Changed((ToggleButton)e.OldValue, (ToggleButton)e.NewValue))); public void Refresh() { Refresh(ToggleButton); } protected override void OnAttached() { base.OnAttached(); DataGrid.GetAdditionalEvents().ColumnVisibilityChanged += DataGrid_ColumnVisibilityChanged; } protected override void OnDetaching() { base.OnDetaching(); DataGrid.GetAdditionalEvents().ColumnVisibilityChanged -= DataGrid_ColumnVisibilityChanged; } private DataGrid DataGrid => AssociatedObject; private void ToggleButton_Changed(ToggleButton? oldValue, ToggleButton? newValue) { if (oldValue != null) { oldValue.Checked -= ToggleButton_StateChanged; oldValue.Unchecked -= ToggleButton_StateChanged; } if (newValue != null) { newValue.Checked += ToggleButton_StateChanged; newValue.Unchecked += ToggleButton_StateChanged; ToggleButton_StateChanged(newValue, EventArgs.Empty); } } private void ToggleButton_StateChanged(object? sender, EventArgs e) { if (sender is ToggleButton toggleButton) { Refresh(toggleButton); } } private void Refresh(ToggleButton? button) { var dataGrid = DataGrid; if ((button == null) || (AssociatedObject == null)) return; UpdateErrorsOnlyFilter(button.IsChecked.GetValueOrDefault()); var selectedItem = dataGrid.SelectedItem; if (selectedItem != null) dataGrid.ScrollIntoView(selectedItem); } private void DataGrid_ColumnVisibilityChanged(object? source, EventArgs e) { var toggleButton = ToggleButton; if (toggleButton == null) return; if (toggleButton.IsChecked.GetValueOrDefault()) { toggleButton.BeginInvoke(() => UpdateErrorsOnlyFilter(true)); } } private void UpdateErrorsOnlyFilter(bool isEnabled) { if (AssociatedObject == null) return; var dataGrid = DataGrid; try { dataGrid.CommitEdit(); if (!isEnabled) { dataGrid.Items.Filter = null; dataGrid.SetIsAutoFilterEnabled(true); return; } var visibleLanguages = dataGrid.Columns .Where(column => column.Visibility == Visibility.Visible) .Select(column => column.Header) .OfType<LanguageHeader>() .Select(header => header.CultureKey) .ToArray(); dataGrid.SetIsAutoFilterEnabled(false); dataGrid.Items.Filter = row => { var entry = (ResourceTableEntry)row; var neutralCulture = entry.NeutralLanguage.CultureKey; var hasInvariantMismatches = visibleLanguages .Select(lang => new { IsNeutral = lang == neutralCulture, IsEmpty = string.IsNullOrEmpty(entry.Values.GetValue(lang)), IsInvariant = entry.IsItemInvariant.GetValue(lang) || entry.IsInvariant }) .Any(item => item.IsNeutral ? !item.IsInvariant && item.IsEmpty : item.IsInvariant != item.IsEmpty); return entry.IsDuplicateKey || hasInvariantMismatches || entry.HasRulesMismatches(visibleLanguages) || entry.HasSnapshotDifferences(visibleLanguages); }; } catch (InvalidOperationException) { } } } ```
```xml <query-profile-type id="default"> <field name="profileRef" type="query-profile"/> </query-profile-type> ```
Musaabad (, also Romanized as Mūsáābād; also known as Mūsáābād-e Sālīāneh) is a village in Doab Rural District, in the Central District of Selseleh County, Lorestan Province, Iran. At the 2006 census, its population was 26, in 4 families. References Populated places in Selseleh County
```objective-c /* * * in the file LICENSE in the source distribution or at * path_to_url */ #include "crypto/aria.h" #include "prov/ciphercommon.h" typedef struct prov_aria_ctx_st { PROV_CIPHER_CTX base; /* Must be first */ union { OSSL_UNION_ALIGN; ARIA_KEY ks; } ks; } PROV_ARIA_CTX; #define ossl_prov_cipher_hw_aria_ofb ossl_prov_cipher_hw_aria_ofb128 #define ossl_prov_cipher_hw_aria_cfb ossl_prov_cipher_hw_aria_cfb128 const PROV_CIPHER_HW *ossl_prov_cipher_hw_aria_ecb(size_t keybits); const PROV_CIPHER_HW *ossl_prov_cipher_hw_aria_cbc(size_t keybits); const PROV_CIPHER_HW *ossl_prov_cipher_hw_aria_ofb128(size_t keybits); const PROV_CIPHER_HW *ossl_prov_cipher_hw_aria_cfb128(size_t keybits); const PROV_CIPHER_HW *ossl_prov_cipher_hw_aria_cfb1(size_t keybits); const PROV_CIPHER_HW *ossl_prov_cipher_hw_aria_cfb8(size_t keybits); const PROV_CIPHER_HW *ossl_prov_cipher_hw_aria_ctr(size_t keybits); ```
```java //your_sha256_hash------------// // // // T r e e T a b l e M o d e l A d a p t e r // // // //your_sha256_hash------------// package org.audiveris.omr.ui.treetable; /* * @(#)TreeTableModelAdapter.java 1.2 98/10/27 * * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. * All rights reserved. * * This software is the confidential and proprietary information * of Sun Microsystems, Inc. ("Confidential Information"). You * shall not disclose such Confidential Information and shall use * it only in accordance with the terms of the license agreement * you entered into with Sun. */ import javax.swing.JTree; import javax.swing.SwingUtilities; import javax.swing.event.TreeExpansionEvent; import javax.swing.event.TreeExpansionListener; import javax.swing.event.TreeModelEvent; import javax.swing.event.TreeModelListener; import javax.swing.table.AbstractTableModel; import javax.swing.tree.TreePath; /** * This is a wrapper class takes a TreeTableModel and implements the table * model interface. The implementation is trivial, with all of the event * dispatching support provided by the superclass: the AbstractTableModel. * * @author Philip Milne * @author Scott Violet * @version 1.2 10/27/98 */ public class TreeTableModelAdapter extends AbstractTableModel { //~ Instance fields your_sha256_hash------------ JTree tree; TreeTableModel treeTableModel; //~ Constructors your_sha256_hash--------------- /** * Creates a new TreeTableModelAdapter object. * * @param treeTableModel DOCUMENT ME! * @param tree DOCUMENT ME! */ public TreeTableModelAdapter (TreeTableModel treeTableModel, JTree tree) { this.tree = tree; this.treeTableModel = treeTableModel; tree.addTreeExpansionListener(new TreeExpansionListener() { @Override public void treeCollapsed (TreeExpansionEvent event) { fireTableDataChanged(); } // Don't use fireTableRowsInserted() here; the selection model // would get updated twice. @Override public void treeExpanded (TreeExpansionEvent event) { fireTableDataChanged(); } }); // Install a TreeModelListener that can update the table when // tree changes. We use delayedFireTableDataChanged as we can // not be guaranteed the tree will have finished processing // the event before us. treeTableModel.addTreeModelListener(new TreeModelListener() { @Override public void treeNodesChanged (TreeModelEvent e) { delayedFireTableDataChanged(); } @Override public void treeNodesInserted (TreeModelEvent e) { delayedFireTableDataChanged(); } @Override public void treeNodesRemoved (TreeModelEvent e) { delayedFireTableDataChanged(); } @Override public void treeStructureChanged (TreeModelEvent e) { delayedFireTableDataChanged(); } }); } //~ Methods your_sha256_hash-------------------- //-----------------------------// // delayedFireTableDataChanged // //-----------------------------// /** * Invokes fireTableDataChanged after all the pending events have been * processed. SwingUtilities.invokeLater is used to handle this. */ protected void delayedFireTableDataChanged () { SwingUtilities.invokeLater( () -> fireTableDataChanged()); } //----------------// // getColumnClass // //----------------// /** * DOCUMENT ME! * * @param column DOCUMENT ME! * @return DOCUMENT ME! */ @Override public Class<?> getColumnClass (int column) { return treeTableModel.getColumnClass(column); } //----------------// // getColumnCount // //----------------// // Wrappers, implementing TableModel interface. /** * DOCUMENT ME! * * @return DOCUMENT ME! */ @Override public int getColumnCount () { return treeTableModel.getColumnCount(); } //---------------// // getColumnName // //---------------// /** * DOCUMENT ME! * * @param column DOCUMENT ME! * @return DOCUMENT ME! */ @Override public String getColumnName (int column) { return treeTableModel.getColumnName(column); } //-------------// // getRowCount // //-------------// /** * DOCUMENT ME! * * @return DOCUMENT ME! */ @Override public int getRowCount () { return tree.getRowCount(); } //------------// // getValueAt // //------------// /** * DOCUMENT ME! * * @param row DOCUMENT ME! * @param column DOCUMENT ME! * @return DOCUMENT ME! */ @Override public Object getValueAt (int row, int column) { return treeTableModel.getValueAt(nodeForRow(row), column); } //----------------// // isCellEditable // //----------------// /** * DOCUMENT ME! * * @param row DOCUMENT ME! * @param column DOCUMENT ME! * @return DOCUMENT ME! */ @Override public boolean isCellEditable (int row, int column) { return treeTableModel.isCellEditable(nodeForRow(row), column); } //------------// // nodeForRow // //------------// /** * DOCUMENT ME! * * @param row DOCUMENT ME! * @return DOCUMENT ME! */ public Object nodeForRow (int row) { TreePath treePath = tree.getPathForRow(row); return treePath.getLastPathComponent(); } //------------// // setValueAt // //------------// /** * DOCUMENT ME! * * @param value DOCUMENT ME! * @param row DOCUMENT ME! * @param column DOCUMENT ME! */ @Override public void setValueAt (Object value, int row, int column) { treeTableModel.setValueAt(value, nodeForRow(row), column); } } ```
Alyesha Wise, aka "Ms. Wise" is a poet, teaching artist and co-founder of Spoken Literature Art Movement (S.L.A.M). From Camden, N.J., Alyesha currently resides in Los Angeles where she also serves as a teaching artist for Street Poets, Inc. She previously served as the head coach of Da Poetry Lounge's slam team and a co-coach for the Get Lit Youth slam team. Wise co-founded and was a co-host of The Pigeon Presents: The Philadelphia Poetry Slam. She has been featured in a speaking engagement on the TEDx Talk series in which she dedicated the talk to her younger sister and Camden. While in Philadelphia, Wise was a co-host of Jus Words, the longest running weekly open mic in the city at the time. She also founded the organization Love, Us, a Philadelphia-based organization and annual production which worked to spread unity and self-love through the arts. The production was a large attraction in the Philadelphia poetry scene and a Twitter trending topic in 2010. She is currently the founder and organizer of Black Women Necessary, a safe space for black women. Wise also served as a former teaching artist and volunteer coordinator at New Earth, and continues to teach and mentor in Los Angeles youth detention centers. In 2017, she authored the book, Carnival. Ron Howard once said about Alyesha's performance style, "Very Powerful." Awards 2018 2nd place Da Poetry Lounge National Poetry Slam 2014 Da Poetry Lounge Hollywood Grand Slam Champion Two-time Women of the World Poetry Slam finalist 2012 Queens Inspire Kings award presented by Kings Rule Together 2010 5th in the Women of the World Poetry Slam in 2010 Carnival Carnival was published by Not A Cult Media on May 30, 2018. Black Women Necessary The group hosts frequent free of charge brunches as a part of an informal brunch. The meal switches locations and is usually held at a members home (as long as they have attended at least two brunches in the past). Members can make donations, but the event is free and is held to honor ancestors and relax. Common themes expressed in Wise's poetry Feminism African-American culture Self-love Bodies and inherited trauma Social Justice Queerness Sexual assault Education She attended Medical Arts High School and graduated with a B.A. in Psychology from Rowan College in Glassboro, N.J. Notable performances "We Will" with ACLU of Southern California "Raising Her By Raising Myself" TEDx "Cannibal (A Poem to White Supremacy)" "To This Black Woman Body, Part I" "A Story of My Love Affair With Prince" Originally performed at PhilaMOCA in Philadelphia for the TV show, Articulate on WHYY. Personal life Early life Wise is originally from Camden, New Jersey. She has five siblings (Wise is the second oldest girl) and was raised mostly by her mother. Her parents got divorced when she was five. After watching Poetic Justice, at age 11, she wrote her first poem titled, "Black History." Her favorite book as a child was Things Fall Apart by Chinua Achebe. Adulthood She moved to Philadelphia in 2006. Wise identified as a lesbian for eight years, and has had relationships with women. At the moment, she is married to a man and thus identifies as bisexual. Bibliography References American women poets 21st-century American poets Slam poets Living people 21st-century American women writers Year of birth missing (living people)
Meet Boston Blackie is a 1941 crime film starring Chester Morris as Boston Blackie, a notorious, but honorable jewel thief. Although the character had been the hero of a number of silent films, this was the first talking picture. It proved popular enough for Columbia Pictures to produce a total of 14 B movies, all starring Morris. Blackie's sidekick, a diminutive underworld type nicknamed The Runt, was slated for George E. Stone. Stone could not appear in the film, having contracted a virus, and he was replaced by Charles Wagenheim. Stone joined the series in the second film and stayed until 1948, when the series lapsed. (It was revived for one last film in 1949 with Morris, and sidekick Sid Tomack playing "Shorty.") Plot Returning to New York City from Europe, Boston Blackie tries unsuccessfully to strike up a conversation with attractive fellow ocean liner passenger Marilyn Howard. He later rescues her when she is accosted by a man. However, when he tries to follow her, he runs into his friendly nemesis, police Inspector Faraday, who wants to take him in on suspicion of stealing some pearls. Knowing that Blackie's word is good (and that handcuffs are useless against him), Faraday merely confiscates his landing card. However, when Blackie discovers the body of the man who had bothered Marilyn Howard deposited in his suite, he has to break his word and debark to clear his name. He trails Howard to the Coney Island amusement park. She has been followed by two men and is struck by a poisoned dart. Before dying, she tells him enough to send him to the Mechanical Man, a midway performer whose act is pretending to be a robot or automaton. Soon after, the two killers show up to report to their boss, the Mechanical Man, forcing Blackie to flee once again. He hijacks the car belonging to Cecilia Bradley and manages to lose his pursuers after a high-speed chase. Cecilia decides to help Blackie, despite his attempts to keep her out of his troubles. They learn from a radio news broadcast that Howard was a spy. Blackie eventually discovers that an espionage ring led by the Mechanical Man is trying to take a stolen navy bombsight out of the country. Faraday and his men follow Blackie to the midway to arrest him and prove handy in apprehending the spies. As a reward, Faraday decides to forget about the evidence linking Blackie to the theft of the pearls. Cast Chester Morris as Boston Blackie Rochelle Hudson as Cecelia Bradley Richard Lane as Inspector Faraday Charles Wagenheim as the Runt Constance Worth as Marilyn Howard Jack O'Malley as Monk George Magrill as Georgie Michael Rand as Mechanical Man Eddie Laughton as Carnival Barker Schlitzie as Princess Bibi References External links "Meet Boston Blackie" 1941 films American black-and-white films 1940s English-language films American spy films 1941 crime films Columbia Pictures films Films directed by Robert Florey American sequel films American detective films American crime films Films set in New York City Films shot in New York City Boston Blackie films 1940s American films
```ruby # frozen_string_literal: true require "spec_helper" describe "Private Assemblies" do let!(:organization) { create(:organization) } let!(:assembly) { create(:assembly, :published, organization:) } let!(:admin) { create(:user, :admin, :confirmed, organization:) } let!(:user) { create(:user, :confirmed, organization:) } let!(:other_user) { create(:user, :confirmed, organization:) } let!(:other_user2) { create(:user, :confirmed, organization:) } let!(:assembly_private_user) { create(:assembly_private_user, user: other_user, privatable_to: private_assembly) } let!(:assembly_private_user2) { create(:assembly_private_user, user: other_user2, privatable_to: private_assembly) } context "when there are private assemblies" do context "and the assembly is transparent" do let!(:private_assembly) { create(:assembly, :published, organization:, private_space: true, is_transparent: true) } context "and no user is logged in" do before do switch_to_host(organization.host) visit decidim_assemblies.assemblies_path end it "lists all the assemblies" do within "#assemblies-grid" do within "#assemblies-grid h2" do expect(page).to have_content("2") end expect(page).to have_content(translated(assembly.title, locale: :en)) expect(page).to have_css(".card__grid", count: 2) expect(page).to have_content(translated(private_assembly.title, locale: :en)) end end end context "when user is logged in" do context "when is not an assembly private user" do before do switch_to_host(organization.host) login_as user, scope: :user visit decidim_assemblies.assemblies_path end it "lists all the assemblies" do within "#assemblies-grid" do within "#assemblies-grid h2" do expect(page).to have_content("2") end expect(page).to have_content(translated(assembly.title, locale: :en)) expect(page).to have_css(".card__grid", count: 2) expect(page).to have_content(translated(private_assembly.title, locale: :en)) end end end context "when the user is admin" do before do switch_to_host(organization.host) login_as admin, scope: :user visit decidim_assemblies.assemblies_path end it "does not show the privacy warning in attachments admin" do visit decidim_admin_assemblies.assembly_attachments_path(private_assembly) within "#attachments" do expect(page).to have_no_content("Any participant could share this document to others") end end end end end context "when the assembly is not transparent" do let!(:private_assembly) { create(:assembly, :published, organization:, private_space: true, is_transparent: false) } context "and no user is logged in" do before do switch_to_host(organization.host) visit decidim_assemblies.assemblies_path end it "does not list the private assembly" do within "#assemblies-grid" do within "#assemblies-grid h2" do expect(page).to have_content("1") end expect(page).to have_content(translated(assembly.title, locale: :en)) expect(page).to have_css(".card__grid", count: 1) expect(page).to have_no_content(translated(private_assembly.title, locale: :en)) end end end context "when user is logged in and is not an assembly private user" do context "when the user is not admin" do before do switch_to_host(organization.host) login_as user, scope: :user visit decidim_assemblies.assemblies_path end it "does not list the private assembly" do within "#assemblies-grid" do within "#assemblies-grid h2" do expect(page).to have_content("1") end expect(page).to have_content(translated(assembly.title, locale: :en)) expect(page).to have_css(".card__grid", count: 1) expect(page).to have_no_content(translated(private_assembly.title, locale: :en)) end end end context "when the user is admin" do before do switch_to_host(organization.host) login_as admin, scope: :user visit decidim_assemblies.assemblies_path end it "lists private assemblies" do within "#assemblies-grid" do within "#assemblies-grid h2" do expect(page).to have_content("2") end expect(page).to have_content(translated(assembly.title, locale: :en)) expect(page).to have_content(translated(private_assembly.title, locale: :en)) expect(page).to have_css(".card__grid", count: 2) end end it "links to the individual assembly page" do first(".card__grid-text", text: translated(private_assembly.title, locale: :en)).click expect(page).to have_current_path decidim_assemblies.assembly_path(private_assembly) expect(page).to have_content "This is a private assembly" end it "shows the privacy warning in attachments admin" do visit decidim_admin_assemblies.assembly_attachments_path(private_assembly) within "#attachments" do expect(page).to have_content("Any participant could share this document to others") end end end end context "when user is logged in and is an assembly private user" do before do switch_to_host(organization.host) login_as other_user, scope: :user visit decidim_assemblies.assemblies_path end it "lists private assemblies" do within "#assemblies-grid" do within "#assemblies-grid h2" do expect(page).to have_content("2") end expect(page).to have_content(translated(assembly.title, locale: :en)) expect(page).to have_content(translated(private_assembly.title, locale: :en)) expect(page).to have_css(".card__grid", count: 2) end end it "links to the individual assembly page" do first(".card__grid-text", text: translated(private_assembly.title, locale: :en)).click expect(page).to have_current_path decidim_assemblies.assembly_path(private_assembly) expect(page).to have_content "This is a private assembly" end end end end end ```
```go // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package internal // Version is the current tagged release of the library. const Version = "0.192.0" ```
```smalltalk using System; namespace Volo.CmsKit.Public.Reactions; [Serializable] public class ReactionWithSelectionDto { public ReactionDto Reaction { get; set; } public int Count { get; set; } public bool IsSelectedByCurrentUser { get; set; } } ```
```c++ // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // // path_to_url // // Unless required by applicable law or agreed to in writing, // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY // specific language governing permissions and limitations #include "exec/tuple-file-reader.h" #include "gutil/strings/substitute.h" #include "kudu/util/array_view.h" #include "kudu/util/env.h" #include "kudu/util/slice.h" #include "runtime/mem-tracker.h" #include "runtime/row-batch.h" #include "runtime/runtime-state.h" #include "util/debug-util.h" #include "util/kudu-status-util.h" #include "common/names.h" namespace impala { TupleFileReader::TupleFileReader( const std::string& path, MemTracker* parent, RuntimeProfile* profile) : path_(path), tracker_(new MemTracker(-1, "TupleFileReader", parent)), read_timer_(profile ? ADD_TIMER(profile, "TupleCacheReadTime") : nullptr), deserialize_timer_( profile ? ADD_TIMER(profile, "TupleCacheDeserializeTime") : nullptr) {} TupleFileReader::~TupleFileReader() { // MemTracker expects an explicit close. tracker_->Close(); } Status TupleFileReader::Open(RuntimeState *state) { kudu::RWFileOptions opts; opts.mode = kudu::Env::OpenMode::MUST_EXIST; KUDU_RETURN_IF_ERROR( kudu::Env::Default()->NewRWFile(opts, path_, &reader_), "Failed to open tuple cache file"); // Get the file size KUDU_RETURN_IF_ERROR(reader_->Size(&file_size_), "Failed to get size for the tuple cache file"); RETURN_IF_ERROR(DebugAction(state->query_options(), "TUPLE_FILE_READER_OPEN")); return Status::OK(); } Status TupleFileReader::GetNext(RuntimeState *state, BufferPool::ClientHandle* bpclient, RowBatch* output_row_batch, bool* eos) { if (offset_ == file_size_) { *eos = true; return Status::OK(); } // Only the first rowbatch starts at the zero offset of the file. // We use this for injecting errors for testing purposes. bool first_rowbatch = offset_ == 0; *eos = false; SCOPED_TIMER(read_timer_); // Each block starts with the sizes of the variable chunks of data: // 1. The header size // 2. The tuple data size // 3. The tuple offsets size size_t header_len; size_t tuple_data_len; size_t tuple_offsets_len; vector<kudu::Slice> chunk_lens_slices = { kudu::Slice(reinterpret_cast<const char*>(&header_len), sizeof(header_len)), kudu::Slice(reinterpret_cast<const char*>(&tuple_data_len), sizeof(tuple_data_len)), kudu::Slice(reinterpret_cast<const char*>(&tuple_offsets_len), sizeof(tuple_offsets_len))}; KUDU_RETURN_IF_ERROR(reader_->ReadV(offset_, kudu::ArrayView<kudu::Slice>(chunk_lens_slices)), "Failed to read cache file"); if (header_len == 0 || tuple_data_len == 0 || tuple_offsets_len == 0) { string err_msg = Substitute("Invalid data lengths at offset $0 in $1: " "header_len=$2, tuple_data_len=$3, tuple_offsets_len=$4", offset_, path_, header_len, tuple_data_len, tuple_offsets_len); DCHECK(false) << err_msg; return Status(Substitute("Invalid tuple cache file: $0", err_msg)); } offset_ += sizeof(header_len) + sizeof(tuple_data_len) + sizeof(tuple_offsets_len); // Now, we know the total size of the variable-length data, and we can read // it in a single chunk. size_t varlen_size = header_len + tuple_data_len + tuple_offsets_len; // Sanity check: The varlen_size shouldn't be larger than the rest of the file. // This protects us from doing very large memory allocations if any of the lengths // are bogus. if (offset_ + varlen_size > file_size_) { string err_msg = Substitute("Invalid data lengths at offset $0 in $1 exceed " "file size $2: header_len=$3, tuple_data_len=$4, tuple_offsets_len=$5", offset_, path_, file_size_, header_len, tuple_data_len, tuple_offsets_len); DCHECK(false) << err_msg; return Status(Substitute("Invalid tuple cache file: $0", err_msg)); } std::unique_ptr<char []> varlen_data(new char[varlen_size]); kudu::Slice header_slice = kudu::Slice(varlen_data.get(), header_len); kudu::Slice tuple_data_slice = kudu::Slice(varlen_data.get() + header_len, tuple_data_len); kudu::Slice tuple_offsets_slice = kudu::Slice(varlen_data.get() + header_len + tuple_data_len, tuple_offsets_len); std::vector<kudu::Slice> varlen_data_slices = { header_slice, tuple_data_slice, tuple_offsets_slice }; KUDU_RETURN_IF_ERROR(reader_->ReadV(offset_, kudu::ArrayView<kudu::Slice>(varlen_data_slices)), "Failed to read tuple cache file"); offset_ += varlen_size; RowBatchHeaderPB header; // The header is at the start of the varlen data if (!header.ParseFromArray(header_slice.data(), header_slice.size())) { return Status(TErrorCode::INTERNAL_ERROR, "Could not deserialize RowBatchHeaderPB from disk cache"); } std::unique_ptr<RowBatch> row_batch; { SCOPED_TIMER(deserialize_timer_); RETURN_IF_ERROR(RowBatch::FromProtobuf(output_row_batch->row_desc(), header, tuple_offsets_slice, tuple_data_slice, tracker_.get(), bpclient, &row_batch)); } DCHECK_EQ(output_row_batch->num_rows(), 0); if (output_row_batch->capacity() < row_batch->num_rows()) { string err_msg = Substitute("Too many rows ($0) for the output row batch (capacity $1)", row_batch->num_rows(), output_row_batch->capacity()); DCHECK(false) << err_msg; return Status(Substitute("Invalid tuple cache file: $0", err_msg)); } // For testing, we inject an error as late as possible in this function. Nothing // after this point returns not-OK status. If we can recover from this point, // we can recover from previous points. There are two different cases: either // we want an error on the first row batch produced or we want an error on // a subsequent row batch. if (first_rowbatch) { RETURN_IF_ERROR( DebugAction(state->query_options(), "TUPLE_FILE_READER_FIRST_GETNEXT")); } else { RETURN_IF_ERROR( DebugAction(state->query_options(), "TUPLE_FILE_READER_SECOND_GETNEXT")); } // Set eos after any possibility of a not-OK status if (offset_ == file_size_) { *eos = true; } output_row_batch->AddRows(row_batch->num_rows()); for (int row = 0; row < row_batch->num_rows(); row++) { TupleRow* src = row_batch->GetRow(row); TupleRow* dest = output_row_batch->GetRow(row); // if the input row is shorter than the output row, make sure not to leave // uninitialized Tuple* around output_row_batch->ClearRow(dest); // this works as expected if rows from input_batch form a prefix of // rows in output_batch row_batch->CopyRow(src, dest); } output_row_batch->CommitRows(row_batch->num_rows()); row_batch->TransferResourceOwnership(output_row_batch); return Status::OK(); } } // namespace impala ```
The name Escapa (meaning "escape") is shared by: Amancio Escapa Aparicio (1938–2017), Roman Catholic bishop Joseph Escapa ( 1572–1662), Macedonian rabbi Michal Escapa (born 1937), Israeli paralympic multi-sport athlete
```xml <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Form</class> <widget class="QWidget" name="Form"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>236</width> <height>124</height> </rect> </property> <property name="windowTitle"> <string>Form</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="1"> <widget class="QToolButton" name="toolButton_2"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="text"> <string>Btn2</string> </property> <property name="iconSize"> <size> <width>20</width> <height>20</height> </size> </property> </widget> </item> <item row="0" column="0"> <widget class="QToolButton" name="toolButton_1"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="text"> <string>Btn1</string> </property> <property name="iconSize"> <size> <width>20</width> <height>20</height> </size> </property> </widget> </item> <item row="0" column="3"> <widget class="QToolButton" name="toolButton_4"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="text"> <string>Btn4</string> </property> <property name="iconSize"> <size> <width>20</width> <height>20</height> </size> </property> </widget> </item> <item row="0" column="2"> <widget class="QToolButton" name="toolButton_3"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="text"> <string>Btn3</string> </property> <property name="iconSize"> <size> <width>20</width> <height>20</height> </size> </property> </widget> </item> <item row="1" column="0"> <widget class="QToolButton" name="toolButton_5"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="text"> <string>Btn5</string> </property> <property name="iconSize"> <size> <width>20</width> <height>20</height> </size> </property> </widget> </item> <item row="1" column="1"> <widget class="QToolButton" name="toolButton_6"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="text"> <string>Btn6</string> </property> <property name="iconSize"> <size> <width>20</width> <height>20</height> </size> </property> </widget> </item> <item row="1" column="2"> <widget class="QToolButton" name="toolButton_7"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="text"> <string>Btn7</string> </property> <property name="iconSize"> <size> <width>20</width> <height>20</height> </size> </property> </widget> </item> <item row="1" column="3"> <widget class="QToolButton" name="toolButton_8"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>50</width> <height>50</height> </size> </property> <property name="text"> <string>Btn8</string> </property> <property name="iconSize"> <size> <width>20</width> <height>20</height> </size> </property> </widget> </item> </layout> </widget> <resources/> <connections/> </ui> ```
```javascript Function constructor vs. function declaration vs. function expression Functions can be declared after use IIFE pattern Social sharing without widgets Changing a functions context with `fn.call(object)` ```
```php <?php /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the */ namespace Google\Service\Document; class GoogleCloudDocumentaiV1DocumentChunkedDocument extends \Google\Collection { protected $collection_key = 'chunks'; protected $chunksType = GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk::class; protected $chunksDataType = 'array'; /** * @param GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk[] */ public function setChunks($chunks) { $this->chunks = $chunks; } /** * @return GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk[] */ public function getChunks() { return $this->chunks; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDocumentaiV1DocumentChunkedDocument::class, your_sha256_hashcument'); ```
Dutchy's Hole Park or Robinson Park is a park on the Rideau River in Ottawa, Ontario, Canada. It is part of the downtown Ottawa neighbourhood of Sandy Hill. The park has a wading pool, playground, and a football field, called Robinson Field. Pathways connect the park with Strathcona Park, the Rideau Campus of the University of Ottawa and via a former train bridge with Parc Riverain/River Road Park across the Rideau River in Vanier. The park includes a football field, called Robinsonfield, the Dutchie's Hole Wading Pool, and the Sandy Hill and Strathcona Heights community gardens. It is one of three locations the City of Ottawa uses to release mute swans and black swans that inhabit the Rideau River during the summer months. See also List of Ottawa parks References Parks in Ottawa
The LIPNUR Belalang () was a military trainer aircraft built in small numbers in Indonesia by LIPNUR in the late 1950s. It was essentially a Piper L-4J Grasshopper converted to give it a low wing. The NU-85 prototype flew for the first time on 17 April 1958 and the first production of NU-90 took place in 1959. The aircraft was operated by Indonesian Air Force. Indonesian Army and Indonesian Civil Aviation Institute at Curug, Tangerang also used this aircraft. Design and development In 1949-1950 period, the Indonesian Air Force (then called AURI) received around 60 Piper L-4J Grasshoppers from Royal Netherlands East Indies Air Force as part of the transfer of sovereignty. AURI used them as liaison and primary trainer aircraft. In 1957, AURI decided that their ex-Dutch L-4Js, which were powered by 65 hp Continental O-170, were already ageing and needed to be replaced. The L-4Js also has high wing so its aerobatic performance is very limited. Nurtanio Pringgoadisuryo, head of AURI’s Air Engineering Maintenance Depot at Andir airfield in Bandung, decided to modified the ageing L-4Js as it can be developed rapidly and with low technology so that the production cost is cheap. An L-4J then is modified by converting it into low wing design with "V" lift struts and installed it with an 85 hp Continental C-85 four-cylinder horizontally-opposed piston engine with Sensenich two-bladed fixed-pitch propeller. The aircraft maintained its old canopy but due to the new wing structure the canopy was hinged open to the right. The prototype was then designated as NU-85 Belalang. The 85 was derived from the 85 hp engine, while the name Belalang (grasshopper) was used as his single-engine designs were named after insects. The NU-85 prototype first flew on 17 April 1958. Another source stated that it was first flown on 26 April 1958, piloted by Nurtanio himself. After testing, it was determined that the NU-85 performed better than the L-4Js in their role as primary trainer. Despite the performance observed, Nurtanio determined it still needed further refinement. Then in 1959, Nurtanio designed the NU-90. The differences from its predecessor are it was powered by more powerful 90 hp Continental C-90-12F flat-four direct-drive engine. It also has bubble canopy that were split into two sections, the forward section hinged to the right and the rear section slides to the aft. It retains many of the L-4J's features, although modified, such as its USA-35B airfoil but with the flaps removed, the split-axle mainwheels which was moved 10cm forward, and also L-4Js original wing structures. The wings itself was braced with V-struts from the top section of the fuselage longerons and was set 1° 37’ incidence at the root and 5° dihedral. The control surfaces were consisted of aluminum-alloy-frame covered with fiberglass. The fuselage was of welded steel construction covered with fiberglass, while the vertical stabilizer was fabric-covered welded steel. Operational history Three pre-production aircraft were sent to the Indonesian Air Force Academy in Yogyakarta for evaluation. Although the aircraft were still in the evaluation stage, eight cadets managed to solo fly after being trained with the three Belalangs. The three aircraft were then sent back to the LIPNUR facility at Bandung to be reconditioned and overhauled. Those aircraft then were transferred to the Indonesian Aviation Civil Institute in Curug, Tangerang. Satisfied with the aircraft's performance, Indonesian Air Force ordered 50 units of Belalang to replace the L-4J Grasshoppers, but the orders could not be fulfilled as the LIPNUR facility at that time lacked tools to mass-produced them. The Indonesian Army Aviation Command also expressed interest with Belalang. The Indonesian Army Aviation School at Kalibanteng airfield in Semarang received 5 Belalangs to be used as primary trainers. Variants Belalang NU-85 - single prototype Belalang NU-90 - five production aircraft Belalang NU-90A - 75 kW (100 hp) Continental O-200 engine replacing 67 kW (90 hp) Continental C-90-12F of earlier versions, sliding canopy, revised undercarriage. Operators Indonesian Air Force Indonesian Army Indonesian Army Aviation Command Indonesian Civil Aviation Institute (id) Specifications (90A) See also Piper J-3 Cub LIPNUR Kunang LIPNUR Super Kunang LIPNUR Sikumbang References Taylor, John W. R. Jane's All The World's Aircraft 1965-66. London: Sampson Low, Marston, 1965. 1950s Indonesian military trainer aircraft Aircraft first flown in 1958
```smalltalk // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using System.Xml.Serialization; namespace Microsoft.DotNet.ToolPackage.ToolConfigurationDeserialization { [DebuggerStepThrough] [XmlRoot(Namespace = "", IsNullable = false)] public class DotNetCliTool { [XmlArrayItem("Command", IsNullable = false)] public DotNetCliToolCommand[] Commands { get; set; } [XmlAttribute(AttributeName = "Version")] public string Version { get; set; } } } ```
```php <?php /* * This file is part of Psy Shell. * * (c) 2012-2015 Justin Hileman * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Psy\Test; use Psy\CodeCleaner; use Psy\Configuration; use Psy\ExecutionLoop\Loop; use Psy\Output\PassthruPager; use Symfony\Component\Console\Output\ConsoleOutput; class ConfigurationTest extends \PHPUnit_Framework_TestCase { public function testDefaults() { $config = new Configuration(); $this->assertEquals(function_exists('readline'), $config->hasReadline()); $this->assertEquals(function_exists('readline'), $config->useReadline()); $this->assertEquals(function_exists('pcntl_signal'), $config->hasPcntl()); $this->assertEquals(function_exists('pcntl_signal'), $config->usePcntl()); $this->assertFalse($config->requireSemicolons()); } public function testGettersAndSetters() { $config = new Configuration(); $this->assertNull($config->getDataDir()); $config->setDataDir('wheee'); $this->assertEquals('wheee', $config->getDataDir()); $this->assertNull($config->getConfigDir()); $config->setConfigDir('wheee'); $this->assertEquals('wheee', $config->getConfigDir()); } /** * @dataProvider directories */ public function testFilesAndDirectories($home, $configFile, $historyFile, $manualDbFile) { $oldHome = getenv('HOME'); putenv("HOME=$home"); $config = new Configuration(); $this->assertEquals(realpath($configFile), realpath($config->getConfigFile())); $this->assertEquals(realpath($historyFile), realpath($config->getHistoryFile())); $this->assertEquals(realpath($manualDbFile), realpath($config->getManualDbFile())); putenv("HOME=$oldHome"); } public function directories() { $base = realpath(__DIR__ . '/../../fixtures'); return array( array( $base . '/default', $base . '/default/.config/psysh/config.php', $base . '/default/.config/psysh/psysh_history', $base . '/default/.local/share/psysh/php_manual.sqlite', ), array( $base . '/legacy', $base . '/legacy/.psysh/rc.php', $base . '/legacy/.psysh/history', $base . '/legacy/.psysh/php_manual.sqlite', ), array( $base . '/mixed', $base . '/mixed/.psysh/config.php', $base . '/mixed/.psysh/psysh_history', null, ), ); } public function testLoadConfig() { $config = new Configuration(); $cleaner = new CodeCleaner(); $pager = new PassthruPager(new ConsoleOutput()); $loop = new Loop($config); $config->loadConfig(array( 'useReadline' => false, 'usePcntl' => false, 'codeCleaner' => $cleaner, 'pager' => $pager, 'loop' => $loop, 'requireSemicolons' => true, 'errorLoggingLevel' => E_ERROR | E_WARNING, )); $this->assertFalse($config->useReadline()); $this->assertFalse($config->usePcntl()); $this->assertSame($cleaner, $config->getCodeCleaner()); $this->assertSame($pager, $config->getPager()); $this->assertSame($loop, $config->getLoop()); $this->assertTrue($config->requireSemicolons()); $this->assertEquals(E_ERROR | E_WARNING, $config->errorLoggingLevel()); } public function testLoadConfigFile() { $config = new Configuration(array('configFile' => __DIR__ . '/../../fixtures/config.php')); $runtimeDir = $this->joinPath(realpath(sys_get_temp_dir()), 'psysh_test', 'withconfig', 'temp'); $this->assertStringStartsWith($runtimeDir, realpath($config->getTempFile('foo', 123))); $this->assertStringStartsWith($runtimeDir, realpath(dirname($config->getPipe('pipe', 123)))); $this->assertStringStartsWith($runtimeDir, realpath($config->getRuntimeDir())); $this->assertEquals(function_exists('readline'), $config->useReadline()); $this->assertFalse($config->usePcntl()); $this->assertEquals(E_ALL & ~E_NOTICE, $config->errorLoggingLevel()); } public function testLoadLocalConfigFile() { $oldPwd = getenv('PWD'); putenv('PWD=' . realpath(__DIR__ . '/../../fixtures/project/')); $config = new Configuration(); // When no configuration file is specified local project config is merged $this->assertFalse($config->useReadline()); $this->assertTrue($config->usePcntl()); $config = new Configuration(array('configFile' => __DIR__ . '/../../fixtures/config.php')); // Defining a configuration file skips loading local project config $this->assertTrue($config->useReadline()); $this->assertFalse($config->usePcntl()); putenv("PWD=$oldPwd"); } /** * @expectedException Psy\Exception\DeprecatedException */ public function testBaseDirConfigIsDeprecated() { $config = new Configuration(array('baseDir' => 'fake')); } private function joinPath() { return implode(DIRECTORY_SEPARATOR, func_get_args()); } public function testConfigIncludes() { $config = new Configuration(array( 'defaultIncludes' => array('/file.php'), 'configFile' => __DIR__ . '/../../fixtures/empty.php', )); $includes = $config->getDefaultIncludes(); $this->assertCount(1, $includes); $this->assertEquals('/file.php', $includes[0]); } } ```
```objective-c /** ****************************************************************************** * @file stm32f0xx_hal_pcd_ex.h * @author MCD Application Team * @brief Header file of PCD HAL Extension module. ****************************************************************************** * @attention * * All rights reserved.</center></h2> * * This software component is licensed by ST under BSD 3-Clause license, * opensource.org/licenses/BSD-3-Clause * ****************************************************************************** */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef STM32F0xx_HAL_PCD_EX_H #define STM32F0xx_HAL_PCD_EX_H #ifdef __cplusplus extern "C" { #endif /* Includes your_sha256_hash--*/ #include "stm32f0xx_hal_def.h" #if defined (USB) /** @addtogroup STM32F0xx_HAL_Driver * @{ */ /** @addtogroup PCDEx * @{ */ /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ /* Exported macros -----------------------------------------------------------*/ /* Exported functions --------------------------------------------------------*/ /** @addtogroup PCDEx_Exported_Functions PCDEx Exported Functions * @{ */ /** @addtogroup PCDEx_Exported_Functions_Group1 Peripheral Control functions * @{ */ HAL_StatusTypeDef HAL_PCDEx_PMAConfig(PCD_HandleTypeDef *hpcd, uint16_t ep_addr, uint16_t ep_kind, uint32_t pmaadress); HAL_StatusTypeDef HAL_PCDEx_ActivateLPM(PCD_HandleTypeDef *hpcd); HAL_StatusTypeDef HAL_PCDEx_DeActivateLPM(PCD_HandleTypeDef *hpcd); HAL_StatusTypeDef HAL_PCDEx_ActivateBCD(PCD_HandleTypeDef *hpcd); HAL_StatusTypeDef HAL_PCDEx_DeActivateBCD(PCD_HandleTypeDef *hpcd); void HAL_PCDEx_BCD_VBUSDetect(PCD_HandleTypeDef *hpcd); void HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg); void HAL_PCDEx_BCD_Callback(PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg); /** * @} */ /** * @} */ /** * @} */ /** * @} */ #endif /* defined (USB) */ #ifdef __cplusplus } #endif #endif /* STM32F0xx_HAL_PCD_EX_H */ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ ```
Bani Arwah () is a sub-district located in Al Haymah Al Kharijiyah District, Sana'a Governorate, Yemen. Bani Arwah had a population of 1373 according to the 2004 census. References Sub-districts in Al Haymah Al Kharijiyah District
```c++ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/libplatform/delayed-task-queue.h" #include "include/v8-platform.h" #include "src/base/logging.h" #include "src/base/platform/time.h" namespace v8 { namespace platform { DelayedTaskQueue::DelayedTaskQueue(TimeFunction time_function) : time_function_(time_function) {} DelayedTaskQueue::~DelayedTaskQueue() { base::MutexGuard guard(&lock_); DCHECK(terminated_); DCHECK(task_queue_.empty()); } double DelayedTaskQueue::MonotonicallyIncreasingTime() { return time_function_(); } void DelayedTaskQueue::Append(std::unique_ptr<Task> task) { base::MutexGuard guard(&lock_); DCHECK(!terminated_); task_queue_.push(std::move(task)); queues_condition_var_.NotifyOne(); } void DelayedTaskQueue::AppendDelayed(std::unique_ptr<Task> task, double delay_in_seconds) { DCHECK_GE(delay_in_seconds, 0.0); double deadline = MonotonicallyIncreasingTime() + delay_in_seconds; { base::MutexGuard guard(&lock_); DCHECK(!terminated_); delayed_task_queue_.emplace(deadline, std::move(task)); queues_condition_var_.NotifyOne(); } } std::unique_ptr<Task> DelayedTaskQueue::GetNext() { base::MutexGuard guard(&lock_); for (;;) { // Move delayed tasks that have hit their deadline to the main queue. double now = MonotonicallyIncreasingTime(); std::unique_ptr<Task> task = PopTaskFromDelayedQueue(now); while (task) { task_queue_.push(std::move(task)); task = PopTaskFromDelayedQueue(now); } if (!task_queue_.empty()) { std::unique_ptr<Task> result = std::move(task_queue_.front()); task_queue_.pop(); return result; } if (terminated_) { queues_condition_var_.NotifyAll(); return nullptr; } if (task_queue_.empty() && !delayed_task_queue_.empty()) { // Wait for the next delayed task or a newly posted task. double wait_in_seconds = delayed_task_queue_.begin()->first - now; base::TimeDelta wait_delta = base::TimeDelta::FromMicroseconds( base::TimeConstants::kMicrosecondsPerSecond * wait_in_seconds); // WaitFor unfortunately doesn't care about our fake time and will wait // the 'real' amount of time, based on whatever clock the system call // uses. bool notified = queues_condition_var_.WaitFor(&lock_, wait_delta); USE(notified); } else { queues_condition_var_.Wait(&lock_); } } } // Gets the next task from the delayed queue for which the deadline has passed // according to |now|. Returns nullptr if no such task exists. std::unique_ptr<Task> DelayedTaskQueue::PopTaskFromDelayedQueue(double now) { if (delayed_task_queue_.empty()) return nullptr; auto it = delayed_task_queue_.begin(); if (it->first > now) return nullptr; std::unique_ptr<Task> result = std::move(it->second); delayed_task_queue_.erase(it); return result; } void DelayedTaskQueue::Terminate() { base::MutexGuard guard(&lock_); DCHECK(!terminated_); terminated_ = true; queues_condition_var_.NotifyAll(); } } // namespace platform } // namespace v8 ```
Sayf ad-Din Jaqmaq (; 1373 – 13 February 1453) was the Mamluk sultan of Egypt from 9 September 1438 to 1 February 1453. Early life and career Jaqmaq was of Circassian descent. He was brought to Egypt by his older brother and sold to atabeg Inal Al-Yusufi during the reign of Sultan Barquq. He later trained in the Cairo Citadel to join the Khasikiya (Sultan's Guards). He then worked as a cupbearer for Sultan An-Nasir Faraj, until he was imprisoned with his brother during a period of instability, to be later freed by emir Taghribirdi, grandfather of Ibn Taghribirdi. Later on, he became the Mamluk na'ib of Damascus during the reign of Al-Mu'ayyad Shaykh in 1418–1420, in which he built Khan Jaqmaq. Then he became na'ib of the Cairo Citadel under Sultan Sayf ad-Din Tatar. Afterwards, he became atabeg under Sultan Barsbay, in which he led a campaign to repress the revolt of Beylik of Dulkadir in Anatolia. He earned Barsbay's trust to become the guardian of his son Al-Aziz Jamal ad-Din Yusuf. In 1438, Sultan Barsbay died and left the throne to his son Yusuf who was only fifteen years old. Jaqmaq organized a plot by which he ousted Yusuf to become the new sultan at age sixty five. Reign Upon becoming the new sultan, a revolt erupted led by emir Korkmaz Al-Sha'abani. However, Jaqmaq distributed gold to both his supporters and those of Korkmaz, the latter found himself abandoned by all. Jaqmaq had him arrested and executed in Alexandria. Jaqmaq had later to face the uprising of the emirs of Syria. The governors of Damascus, Inal Al-Jakmi, and Aleppo, Tagri Barmash, rallied to Yusuf who managed to escape from Cairo. Yusuf was recaptured and Jaqmaq exiled him to Alexandria. Jaqmaq sent an army led by Akabgha Al-Tamrazi to fight the rebellious emirs who were eventually defeated and captured. Afterwards, Jaqmaq also had to deal with piracy from the Christian Kingdom of Cyprus and Hospitaller Rhodes. In 1439, Jaqmaq launched a campaign against these two islands but without much success. A second failure in 1442, encouraged him to build a fleet capable of leading a real assault against Rhodes. In July 1444, his fleet left from Egypt to attack Rhodes whose villages were destroyed but the fortress resisted until the fleet commander finally abandoned the siege. After that failure, Jaqmaq remained in peace with his neighbors. Shahrukh Mirza, son and successor of Timur, sent an embassy to Cairo. He asked Jaqmaq for permission to provide the Kiswah for Kaaba. Jaqmaq initially refused and then accepted the offer despite public opposition. When Shah Rukh's ambassador arrived in Cairo with the Kiswah, she was received by throwing stones. Jaqmaq repressed the revolt and allowed the ambassador to go to Mecca. However, the Kiswah she brought only covered the Kaaba for one day. During that period, the real danger for the Mamluks was the Ottoman Empire. On November 10, 1444, the Ottoman Sultan Murad II defeated the Crusaders at the Battle of Varna. That victory gave Murad II great prestige in the Muslim world. In 1453, Jaqmaq, aged eighty years, died after appointing his son Fakhr ad-Din Uthman, who was named after the Ottomans, as successor. Family Jaqmaq's first wife was Khawand Mughul. She was born in 1403. She was the daughter of judge and confidencial secretary Nasir al-Din ibn al-Birizi, and had been previously married thrice, one of them being a judge. Her second marriage had been arranged by Sultan Al-Mu'ayyad Shaykh despite her father's objections. She had a brother named Kamal al-Din Muhammad, and a sister named Zaynab (died 10 July 1470). Together they had a daughter, Khadijah (1433–34 – 30 January 1463), who married Atabag Azbak on 13 March 1450. Jaqmaq divorced her in September–October 1438, acting on rumors that she had cursed his favorite slave girl Surbay and thus caused her death a month before. She then moved from al-Qa'a al-Kubra to Qa'at al-Barbariyya before she left the citadel for her brother's house. She died on 14 May 1472, and was buried in the courtyard of the mausoleum of Imam al-Shafi'i. In December 1438, he married Khawand Zaynab, the daughter of Amir Jarbash al-Karimi. Her mother was Fatima Umm Khawand (died 26 April 1487), the daughter of Qani Bay, son of Sultan Barquq's sister. She died in 1459, and was buried in Sultan Barquq's madrasa in Bayn al-Qasrayn. Another wife was Khawand Nafisa, also known as, Khawand at-Turkmaniya. She was the daughter of Dulkadirid ruler, Nasireddin Mehmed Bey, and had been previously married to Janibek as-Sufi. They married in 1440. She had a daughter. She died of plague on 15 April 1449. Another wife was Khawand Jansuwar, the daughter of Giritbay, a Circassian amir. They married in December 1449–January 1450. Another wife was Khawand Shahzada. She was the daughter of Ottoman Prince Orhan Çelebi, son of Süleyman Çelebi, who was himself the son of Sultan Bayezid I. She had a younger brother named Süleyman Çelebi. She had been previously married to Sultan Barsbay. The two together had four sons. All of them died of plague at Cairo on 26 March 1449. The eldest one named Ahmed being seven years old. Jaqmaq divorced her on 25 December 1450. Another wife was the daughter of Naziru'l-Jaysh Kadi Abdulbasit. They married in April 1451. Another wife was the daughter of Süleyman Bey, ruler of the Dulkadirid. After Jaqmaq's death, she married Sultan Al-Mu'ayyad Shihab al-Din Ahmad. She died on 27 April 1460. One of his concubines was Surbay. She was a Circassian, and was his favourite concubine. She died in 1438, and was buried at the mausoleum of Qanibay al-Jarkasi. Some other concubines were Jawhar al-Handar and Khawand Jolban. With one of these concubines, he had a son Muhammad and with the other, he had a daughter Fatima. Another concubine was Dolaybay. Jaqmaq married her to the deputy of Damascus, Barquq. With him, she had one child, Alaybay. His son Sultan Al-Mansur Fakhr-ad-Din Uthman was born of a Greek concubine named Khawand Zahra. She was buried in a madrasa built by her son at Bab al-Bahr. He had another daughter, born of a Circassian concubine. His son, Muhammad was married to Khadija, daughter of Aqtuwah, a Circassian, and a relative of Sultan Barsbay. Another daughter was Sitti Sara. See also Khan Jaqmaq References Sources Burji sultans 15th-century Mamluk sultans 1373 births 1453 deaths Circassian Mamluks Mamluk viceroys of Damascus
```shell #!/bin/bash # T&M Hansson IT AB - 2024, path_to_url true SCRIPT_NAME="System Restore" SCRIPT_EXPLAINER="This script let's you restore your system- and boot-partition to a previous state." # shellcheck source=lib.sh source /var/scripts/fetch_lib.sh # Check for errors + debug code and abort if something isn't right # 1 = ON # 0 = OFF DEBUG=0 debug_mode # Check if root root_check # Variables DAILY_BACKUP_FILE="$SCRIPTS/daily-borg-backup.sh" OFFSHORE_BACKUP_FILE="$SCRIPTS/off-shore-rsync-backup.sh" # Functions restore_original_state() { # Restore original cache and security folder if [ "$BACKUP_MOUNTPOINT" = "$OFFSHORE_BACKUP_MOUNTPOINT" ] then rm -r /root/.config/borg/security mv /root/.config/borg/security.bak/ /root/.config/borg/security rm -r /root/.cache/borg mv /root/.cache/borg.bak/ /root/.cache/borg fi # Re-rename the snapshot to represent that it is done if ! lvrename /dev/ubuntu-vg/NcVM-snapshot-pending /dev/ubuntu-vg/NcVM-snapshot then msg_box "Could not re-rename the snapshot. Please reboot your server!" exit 1 fi # Unmount the backup drive sleep 1 if ! umount "$BACKUP_MOUNTPOINT" then msg_box "Something went wrong while unmounting the backup drive." exit 1 fi } # Ask for execution msg_box "$SCRIPT_EXPLAINER" if ! yesno_box_yes "Do you want to restore your system to a previous state?" then exit fi # Check if restore is possible if ! [ -f "$DAILY_BACKUP_FILE" ] then msg_box "It seems like you haven't set up daily borg backups. Please do that before you can view backups." exit 1 fi # Get needed variables ENCRYPTION_KEY="$(grep "ENCRYPTION_KEY=" "$DAILY_BACKUP_FILE" | sed "s|.*ENCRYPTION_KEY=||;s|'||g;s|\"||g")" DAILY_BACKUP_MOUNTPOINT="$(grep "BACKUP_MOUNTPOINT=" "$DAILY_BACKUP_FILE" | sed 's|.*BACKUP_MOUNTPOINT="||;s|"||')" DAILY_BACKUP_TARGET="$(grep "BACKUP_TARGET_DIRECTORY=" "$DAILY_BACKUP_FILE" | sed 's|.*BACKUP_TARGET_DIRECTORY="||;s|"||')" if [ -z "$ENCRYPTION_KEY" ] || [ -z "$DAILY_BACKUP_FILE" ] || [ -z "$DAILY_BACKUP_FILE" ] then msg_box "Some daily backup variables are empty. This is wrong." exit 1 fi # Also get variables from the offshore backup file if [ -f "$OFFSHORE_BACKUP_FILE" ] then OFFSHORE_BACKUP_MOUNTPOINT="$(grep "BACKUP_MOUNTPOINT=" "$OFFSHORE_BACKUP_FILE" | sed 's|.*BACKUP_MOUNTPOINT="||;s|"||')" OFFSHORE_BACKUP_TARGET="$(grep "BACKUP_TARGET_DIRECTORY=" "$OFFSHORE_BACKUP_FILE" | sed 's|.*BACKUP_TARGET_DIRECTORY="||;s|"||')" if [ -z "$OFFSHORE_BACKUP_MOUNTPOINT" ] ||[ -z "$OFFSHORE_BACKUP_TARGET" ] then msg_box "Some off-shore backup variables are empty. This is wrong." exit 1 fi fi # Check if pending snapshot is existing and cancel the viewing in this case. if does_snapshot_exist "NcVM-snapshot-pending" then msg_box "The snapshot pending does exist. Can currently not show the backup. Please try again later.\n If you are sure that no update or backup is currently running, you can fix this by rebooting your server." exit 1 fi # Check if startup snapshot is existing and cancel the viewing in this case. if does_snapshot_exist "NcVM-startup" then msg_box "The snapshot startup does exist. Please run the update script first." exit 1 fi # Check if snapshot can get renamed if ! does_snapshot_exist "NcVM-snapshot" then msg_box "The NcVM-snapshot doesn't exist. This isn't allowed." exit 1 fi # Ask if a backup was created msg_box "It is recommended to make a backup and/or snapshot of your NcVM before restoring the system." if ! yesno_box_no "Have you made a backup of your NcVM?" then if ! yesno_box_yes "Do you want to run the backup now?" then exit 1 fi rm -f /tmp/DAILY_BACKUP_CREATION_SUCCESSFUL export SKIP_DAILY_BACKUP_CHECK=1 bash "$DAILY_BACKUP_FILE" if ! [ -f "/tmp/DAILY_BACKUP_CREATION_SUCCESSFUL" ] then if ! yesno_box_no "It seems like the backup was not successful. Do you want to continue nonetheless? (Not recommended!)" then exit 1 fi fi fi print_text_in_color "$ICyan" "Checking which backup drives are connected. This can take a while..." # View backup repository menu args=(whiptail --title "$TITLE" --menu \ "Please select the backup repository that you want to view. $MENU_GUIDE" "$WT_HEIGHT" "$WT_WIDTH" 4) # Check if at least one drive is connected DAILY=1 if ! [ -d "$DAILY_BACKUP_TARGET" ] then mount "$DAILY_BACKUP_MOUNTPOINT" &>/dev/null if ! [ -d "$DAILY_BACKUP_TARGET" ] then DAILY="" fi umount "$DAILY_BACKUP_MOUNTPOINT" &>/dev/null fi if [ -f "$OFFSHORE_BACKUP_FILE" ] then OFFSHORE=1 if ! [ -d "$OFFSHORE_BACKUP_TARGET" ] then mount "$OFFSHORE_BACKUP_MOUNTPOINT" &>/dev/null if ! [ -d "$OFFSHORE_BACKUP_TARGET" ] then OFFSHORE="" fi fi umount "$OFFSHORE_BACKUP_MOUNTPOINT" &>/dev/null fi if [ -z "$DAILY" ] && [ -z "$OFFSHORE" ] then msg_box "Not even one backup drive is connected. You must connect one if you want to view a backup." exit 1 fi # Get which one is connected if [ -n "$DAILY" ] then args+=("$DAILY_BACKUP_TARGET" " Daily Backup Repository") fi if [ -n "$OFFSHORE" ] then args+=("$OFFSHORE_BACKUP_TARGET" " Off-Shore Backup Repository") fi # Show the menu choice=$("${args[@]}" 3>&1 1>&2 2>&3) if [ -z "$choice" ] then msg_box "No target selected. Exiting." exit 1 fi # Check the boot mountpoint if mountpoint -q /tmp/borgboot then umount /tmp/borgboot if mountpoint -q /tmp/borgboot then msg_box "There is still something mounted on /tmp/borgboot. Cannot proceed." exit 1 fi fi # Check the system mountpoint if mountpoint -q /tmp/borgsystem then umount /tmp/borgsystem if mountpoint -q /tmp/borgsystem then msg_box "There is still something mounted on /tmp/borgsystem. Cannot proceed." exit 1 fi fi # Check if /mnt/ncdata exists if grep -q " /mnt/ncdata " /etc/mtab then NCDATA_PART_EXISTS=yes fi # Check the ncdata mountpoint if [ -n "$NCDATA_PART_EXISTS" ] then if mountpoint -q /tmp/borgncdata then umount /tmp/borgboot if mountpoint -q /tmp/borgncdata then msg_box "There is still something mounted on /tmp/borgncdata. Cannot proceed." exit 1 fi fi fi # Check if pending snapshot is existing and cancel the restore process in this case. if does_snapshot_exist "NcVM-snapshot-pending" then msg_box "The snapshot pending does exist. Can currently not restore the backup. Please try again later.\n If you are sure that no update or backup is currently running, you can fix this by rebooting your server." exit 1 fi # Rename the snapshot to represent that the backup is locked if ! lvrename /dev/ubuntu-vg/NcVM-snapshot /dev/ubuntu-vg/NcVM-snapshot-pending then msg_box "Could not rename the snapshot. Please reboot your server!" exit 1 fi # Find out which one was selected BACKUP_TARGET_DIRECTORY="$choice" if [ "$BACKUP_TARGET_DIRECTORY" = "$DAILY_BACKUP_TARGET" ] then BACKUP_MOUNTPOINT="$DAILY_BACKUP_MOUNTPOINT" elif [ "$BACKUP_TARGET_DIRECTORY" = "$OFFSHORE_BACKUP_TARGET" ] then BACKUP_MOUNTPOINT="$OFFSHORE_BACKUP_MOUNTPOINT" # Work around issue with borg # path_to_url#issuecomment-380399036 mv /root/.config/borg/security/ /root/.config/borg/security.bak mv /root/.cache/borg/ /root/.cache/borg.bak fi # Mount the backup drive if ! mount "$BACKUP_MOUNTPOINT" then msg_box "Could not mount the backup drive." restore_original_state exit 1 fi # Export passphrase export BORG_PASSPHRASE="$ENCRYPTION_KEY" # Break the borg lock if it exists because we have the snapshot that prevents such situations if [ -f "$BACKUP_TARGET_DIRECTORY/lock.roster" ] then print_text_in_color "$ICyan" "Breaking the borg lock..." borg break-lock "$BACKUP_TARGET_DIRECTORY" fi # Find available archives ALL_ARCHIVES=$(borg list "$BACKUP_TARGET_DIRECTORY") SYSTEM_ARCHIVES=$(echo "$ALL_ARCHIVES" | grep "NcVM-system-partition" | awk -F "-" '{print $1}' | sort -r) mapfile -t SYSTEM_ARCHIVES <<< "$SYSTEM_ARCHIVES" BOOT_ARCHIVES=$(echo "$ALL_ARCHIVES" | grep "NcVM-boot-partition" | awk -F "-" '{print $1}' | sort -r) mapfile -t BOOT_ARCHIVES <<< "$BOOT_ARCHIVES" NCDATA_ARCHIVES=$(echo "$ALL_ARCHIVES" | grep "NcVM-ncdata-partition" | awk -F "-" '{print $1}' | sort -r) if [ -n "$NCDATA_ARCHIVES" ] then NCDATA_ARCHIVE_EXISTS=yes fi mapfile -t NCDATA_ARCHIVES <<< "$NCDATA_ARCHIVES" # Check if the setup is correct if [ "$NCDATA_PART_EXISTS" != "$NCDATA_ARCHIVE_EXISTS" ] then msg_box "Cannot restore the system since either the ncdata partition doesn't exist and is in the repository \ or the partition exists and isn't in the repository." restore_original_state exit 1 fi # Find valid archives for system_archive in "${SYSTEM_ARCHIVES[@]}" do for boot_archive in "${BOOT_ARCHIVES[@]}" do if [ -n "$NCDATA_ARCHIVE_EXISTS" ] then for ncdata_archive in "${NCDATA_ARCHIVES[@]}" do if [ "$system_archive" = "$boot_archive" ] && [ "$system_archive" = "$ncdata_archive" ] then VALID_ARCHIVES+=("$system_archive") continue fi done elif [ "$system_archive" = "$boot_archive" ] then VALID_ARCHIVES+=("$system_archive") continue fi done done # Test if at least one valid archive was found if [ -z "${VALID_ARCHIVES[*]}" ] then msg_box "Not even one valid archive found. Cannot continue." restore_original_state exit 1 fi # Create menu to select from available archives unset args args=(whiptail --title "$TITLE" --menu \ "Please select the backup archive that you want to restore. $MENU_GUIDE" "$WT_HEIGHT" "$WT_WIDTH" 4) for valid_archive in "${VALID_ARCHIVES[@]}" do HUMAN_DATE=$(echo "$ALL_ARCHIVES" | grep "$valid_archive" | head -1 | awk '{print $3}') HUMAN_TIME=$(echo "$ALL_ARCHIVES" | grep "$valid_archive" | head -1 | awk '{print $4}') args+=("$valid_archive" "The backup was made on $HUMAN_DATE $HUMAN_TIME") done # Show the menu choice=$("${args[@]}" 3>&1 1>&2 2>&3) if [ -z "$choice" ] then msg_box "No archive selected. Exiting." restore_original_state exit 1 else SELECTED_ARCHIVE="$choice" fi # Inform user msg_box "We've implemented the option to test the extraction of the backup before we start the restore process. This can take a lot of time though and is because of that not the default." if yesno_box_no "Do you want to test the extraction of the backup nonetheless?" then print_text_in_color "$ICyan" "Checking the system partition archive integrity. Please be patient!" mkdir -p /tmp/borgextract cd /tmp/borgextract if ! borg extract --dry-run --list "$BACKUP_TARGET_DIRECTORY::$SELECTED_ARCHIVE-NcVM-system-partition" then msg_box "Some errors were reported while checking the system partition archive integrity." restore_original_state exit 1 fi print_text_in_color "$ICyan" "Checking the boot partition archive integrity. Please be patient!" if ! borg extract --dry-run --list "$BACKUP_TARGET_DIRECTORY::$SELECTED_ARCHIVE-NcVM-boot-partition" then msg_box "Some errors were reported while checking the boot partition archive integrity." restore_original_state exit 1 fi if [ -n "$NCDATA_ARCHIVE_EXISTS" ] then print_text_in_color "$ICyan" "Checking the ncdata partition archive integrity. Please be patient!" if ! borg extract --dry-run --list "$BACKUP_TARGET_DIRECTORY::$SELECTED_ARCHIVE-NcVM-ncdata-partition" then msg_box "Some errors were reported while checking the ncdata partition archive integrity." restore_original_state exit 1 fi fi msg_box "The extraction of the backup was tested successfully!" fi print_text_in_color "$ICyan" "Mounting all needed directories from the backup now. This can take a while..." # Mount system archive mkdir -p /tmp/borgsystem if ! borg mount "$BACKUP_TARGET_DIRECTORY::$SELECTED_ARCHIVE-NcVM-system-partition" /tmp/borgsystem then msg_box "Something failed while mounting the system partition archive. Please try again." restore_original_state exit 1 fi # Mount boot archive mkdir -p /tmp/borgboot if ! borg mount "$BACKUP_TARGET_DIRECTORY::$SELECTED_ARCHIVE-NcVM-boot-partition" /tmp/borgboot then msg_box "Something failed while mounting the boot partition archive. Please try again." umount /tmp/borgsystem restore_original_state exit 1 fi # Mount ncdata archive if [ -n "$NCDATA_ARCHIVE_EXISTS" ] then mkdir -p /tmp/borgncdata if ! borg mount "$BACKUP_TARGET_DIRECTORY::$SELECTED_ARCHIVE-NcVM-ncdata-partition" /tmp/borgncdata then msg_box "Something failed while mounting the ncdata partition archive. Please try again." umount /tmp/borgsystem umount /tmp/borgboot restore_original_state exit 1 fi fi # Check if all system entries are there SYS_DRIVES=$(grep "^/dev/disk/by-" /etc/fstab | grep defaults | awk '{print $1}') mapfile -t SYS_DRIVES <<< "$SYS_DRIVES" for drive in "${SYS_DRIVES[@]}" do if ! grep -q "$drive" /tmp/borgsystem/system/etc/fstab then msg_box "Cannot restore to this archive point since fstab entries are missing/not there. This might be because the archive was created on a different Ubuntu installation." umount /tmp/borgsystem umount /tmp/borgboot umount /tmp/borgncdata &>/dev/null restore_original_state exit 1 fi done # Exclude some dirs; mnt, media, sys, prob don't need to be excluded because of the usage of --one-file-system flag EXCLUDED_DIRECTORIES=(home/*/.cache root/.cache root/.config/borg var/cache \ lost+found run var/run tmp var/tmp etc/lvm/archive snap "home/plex/config/Library/Application Support/Plex Media Server/Cache") # Allow to disable restoring of Previews if ! yesno_box_yes "Do you want to restore Nextclouds previews? This might slow down the restore process by a lot. If you select 'No', the preview folder will be excluded from the restore process which can lead to preview issues in Nextcloud." then PREVIEW_EXCLUDED=("--exclude=/appdata_"*/preview/) EXCLUDED_DIRECTORIES+=("$NCDATA"/appdata_*/preview) fi for directory in "${EXCLUDED_DIRECTORIES[@]}" do directory="${directory#/*}" EXCLUDE_DIRS+=(--exclude="/$directory/") done # Inform user if ! yesno_box_no "Are you sure that you want to restore your system to the selected state? Please note that this will also restore the Bitwarden RS/Vaultwarden/Bitwarden database so newly created passwords that were created in the meantime since this backup will get deleted. If you select 'Yes', we will start the restore process!" then umount /tmp/borgsystem umount /tmp/borgboot umount /tmp/borgncdata &>/dev/null restore_original_state exit 1 fi # Inform user msg_box "We will now start the restore process. Please wait until you see the next popup! This can take a while!" # Start the restore print_text_in_color "$ICyan" "Starting the restore process..." # Check if dpkg or apt is running is_process_running apt is_process_running dpkg # Stop services print_text_in_color "$ICyan" "Stopping services..." if is_docker_running then systemctl stop docker fi nextcloud_occ_no_check maintenance:mode --on systemctl stop postgresql # Restore the system partition print_text_in_color "$ICyan" "Restoring the files..." if ! rsync --archive --human-readable --delete --one-file-system \ -vv "${EXCLUDE_DIRS[@]}" /tmp/borgsystem/system/ / then SYSTEM_RESTORE_FAILED=1 fi # Restore the boot partition if ! rsync --archive --human-readable -vv --delete /tmp/borgboot/boot/ /boot then if [ "$SYSTEM_RESTORE_FAILED" = 1 ] then msg_box "Something failed while restoring the system partition." fi msg_box "Something failed while restoring the boot partition." umount /tmp/borgsystem umount /tmp/borgboot umount /tmp/borgncdata &>/dev/null restore_original_state exit 1 fi if [ "$SYSTEM_RESTORE_FAILED" = 1 ] then msg_box "Something failed while restoring the system partition." umount /tmp/borgsystem umount /tmp/borgboot umount /tmp/borgncdata &>/dev/null restore_original_state exit 1 fi # Restore the ncdata partition if [ -n "$NCDATA_ARCHIVE_EXISTS" ] then if ! rsync --archive --human-readable --delete --one-file-system \ -vv "${PREVIEW_EXCLUDED[*]}" /tmp/borgncdata/ncdata/ /mnt/ncdata then msg_box "Something failed while restoring the ncdata partition." umount /tmp/borgsystem umount /tmp/borgboot umount /tmp/borgncdata restore_original_state exit 1 fi fi # Start services print_text_in_color "$ICyan" "Starting services..." systemctl start postgresql nextcloud_occ_no_check maintenance:mode --off start_if_stopped docker # Restore original state umount /tmp/borgsystem umount /tmp/borgboot umount /tmp/borgncdata &>/dev/null restore_original_state # Allow to reboot: recommended msg_box "Congratulations, the restore was successful!\n It is highly recommended to reboot your server now." if yesno_box_yes "Do you want to reboot now?" then reboot fi exit ```
The Universal Peace Union was a pacifist organization founded by former members of the American Peace Society in Providence, Rhode Island with the adoption of its constitution on 16 May 1866; it was chartered in Philadelphia, Pennsylvania, on 9 April 1888. It ceased operations in 1913, shortly after the death of Alfred H. Love, who served as the organization's president from its founding. Other founders and officers included ministers and reformers Adin Ballou and Walter Walsh, American Red Cross founder Clara Barton, politician and author Belva Ann Lockwood, reformer Lucretia Mott, Nobel Peace Prize winner Frédéric Passy, editor Mary L. F. Ormsby, and politician and educator John Wesley Hoyt. Ella B. Ensor Wilson served as president of the Wilsonton (Kansas) branch of the UPU. The UPU's motto was: "Remove the causes and abolish the custom of war, establish and live the principles of peace." On a hill overlooking the Mystic River near Mystic, Connecticut, the UPU owned a grove and built a "Peace Temple" that could seat 1,000 people for annual summer gatherings that attracted such noted speakers as William Lloyd Garrison and Julia Ward Howe. The grove eventually was mortgaged to pay for UPU programs and publications and then sold in 1914 to Mary Jobe Akeley. The property is now maintained as the Peace Sanctuary nature preserve, open daily from dawn to dusk. Records of the UPU, including correspondence, minutes, financial records, publications, and memorabilia, are housed at the Swarthmore College Peace Collection. Notable people Adin Ballou Clara Barton Ida Whipple Benham Amanda Deyo Maria Freeman Gray John Wesley Hoyt Belva Ann Lockwood Alfred H. Love Clemence Sophia Harned Lozier Marguerite Moore Lucretia Mott Mary L. F. Ormsby Frédéric Passy Ruth Hinshaw Spray Walter Walsh Zerah C. Whipple Anna White References Further reading Thomas F. Curran, Soldiers of Peace: Civil War Pacifism and the Postwar Radical Peace Movement (2003) Robert Doherty, Alfred H. Love and the Universal Peace Union (1962) Peace organizations based in the United States Christian pacifism 1866 establishments in the United States 1913 disestablishments in the United States Organizations based in Providence, Rhode Island
Frank Kechele (born 3 September 1986 in Nördlingen, Bavaria) is a German racing driver. He has competed in such series as Eurocup Formula Renault 2.0. He won the Formula Renault 2.0 Northern European Cup in 2007 for Motopark Academy by winning eight races and beating Tobias Hegewald and Valtteri Bottas to the title. Complete GT1 World Championship results References External links Official website 1986 births Living people People from Nördlingen Sportspeople from Swabia (Bavaria) German racing drivers Nordic Formula Renault 2.0 drivers Dutch Formula Renault 2.0 drivers German Formula Renault 2.0 drivers Formula Renault Eurocup drivers Formula Renault 2.0 NEC drivers FIA GT1 World Championship drivers Racing drivers from Bavaria Blancpain Endurance Series drivers ADAC GT Masters drivers 24 Hours of Spa drivers Abt Sportsline drivers Motopark Academy drivers 24H Series drivers Porsche Carrera Cup Germany drivers
```html <!DOCTYPE html> <!--[if IE]><![endif]--> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Class BSTBase&lt;T&gt; | Advanced Algorithms </title> <meta name="viewport" content="width=device-width"> <meta name="title" content="Class BSTBase&lt;T&gt; | Advanced Algorithms "> <meta name="generator" content="docfx 2.40.1.0"> <link rel="shortcut icon" href="../favicon.ico"> <link rel="stylesheet" href="../styles/docfx.vendor.css"> <link rel="stylesheet" href="../styles/docfx.css"> <link rel="stylesheet" href="../styles/main.css"> <meta property="docfx:navrel" content=""> <meta property="docfx:tocrel" content="toc.html"> <meta property="docfx:rel" content="../"> </head> <body data-spy="scroll" data-target="#affix" data-offset="120"> <div id="wrapper"> <header> <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="../index.html"> <img id="logo" class="svg" src="../logo.svg" alt=""> </a> </div> <div class="collapse navbar-collapse" id="navbar"> <form class="navbar-form navbar-right" role="search" id="search"> <div class="form-group"> <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off"> </div> </form> </div> </div> </nav> <div class="subnav navbar navbar-default"> <div class="container hide-when-search" id="breadcrumb"> <ul class="breadcrumb"> <li></li> </ul> </div> </div> </header> <div class="container body-content"> <div id="search-results"> <div class="search-list"></div> <div class="sr-items"> <p><i class="glyphicon glyphicon-refresh index-loading"></i></p> </div> <ul id="pagination"></ul> </div> </div> <div role="main" class="container body-content hide-when-search"> <div class="sidenav hide-when-search"> <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a> <div class="sidetoggle collapse" id="sidetoggle"> <div id="sidetoc"></div> </div> </div> <div class="article row grid-right"> <div class="col-md-10"> <article class="content wrap" id="_content" data-uid="Advanced.Algorithms.DataStructures.BSTBase`1"> <h1 id="Advanced_Algorithms_DataStructures_BSTBase_1" data-uid="Advanced.Algorithms.DataStructures.BSTBase`1" class="text-break">Class BSTBase&lt;T&gt; </h1> <div class="markdown level0 summary"></div> <div class="markdown level0 conceptual"></div> <div class="inheritance"> <h5>Inheritance</h5> <div class="level0"><a class="xref" href="path_to_url">Object</a></div> <div class="level1"><span class="xref">BSTBase&lt;T&gt;</span></div> <div class="level2"><a class="xref" href="Advanced.Algorithms.DataStructures.AVLTree-1.html">AVLTree&lt;T&gt;</a></div> <div class="level2"><a class="xref" href="Advanced.Algorithms.DataStructures.BST-1.html">BST&lt;T&gt;</a></div> <div class="level2"><a class="xref" href="Advanced.Algorithms.DataStructures.RedBlackTree-1.html">RedBlackTree&lt;T&gt;</a></div> <div class="level2"><a class="xref" href="Advanced.Algorithms.DataStructures.SplayTree-1.html">SplayTree&lt;T&gt;</a></div> <div class="level2"><a class="xref" href="Advanced.Algorithms.DataStructures.TreapTree-1.html">TreapTree&lt;T&gt;</a></div> </div> <h6><strong>Namespace</strong>: <a class="xref" href="Advanced.Algorithms.DataStructures.html">Advanced.Algorithms.DataStructures</a></h6> <h6><strong>Assembly</strong>: Advanced.Algorithms.dll</h6> <h5 id="Advanced_Algorithms_DataStructures_BSTBase_1_syntax">Syntax</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public class BSTBase&lt;T&gt; : object where T : IComparable</code></pre> </div> <h5 class="typeParameters">Type Parameters</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Name</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="parametername">T</span></td> <td></td> </tr> </tbody> </table> </article> </div> <div class="hidden-sm col-md-2" role="complementary"> <div class="sideaffix"> <div class="contribution"> <ul class="nav"> </ul> </div> <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix"> <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> --> </nav> </div> </div> </div> </div> <footer> <div class="grad-bottom"></div> <div class="footer"> <div class="container"> <span class="pull-right"> <a href="#top">Back to top</a> </span> <span>Generated by <strong>DocFX</strong></span> </div> </div> </footer> </div> <script type="text/javascript" src="../styles/docfx.vendor.js"></script> <script type="text/javascript" src="../styles/docfx.js"></script> <script type="text/javascript" src="../styles/main.js"></script> </body> </html> ```
Březiněves is a municipal district (městská část) and cadastral area (katastrální území) in Prague. It is located in the northern part of the city. As of 2018, there were 1576 inhabitants living in Březiněves. The first written record of Březiněves is from the 12th century. The village became part of Prague in 1974 with the last enlargement of the city. Demographics References External links Březiněves - Official homepage Districts of Prague