instruction stringlengths 2 259 ⌀ | input stringlengths 0 442 ⌀ | output stringlengths 1 1.9k ⌀ | text stringlengths 273 2.08k ⌀ |
|---|---|---|---|
Summarize key facts about „Epimedium grandiflorum“ clearly and accurately. | **Epimedium grandiflorum**
Epimedium grandiflorum, the large flowered barrenwort, or bishop's hat, is a species of flowering plant in the family Berberidaceae, native to Japan and Korea. Description It is a deciduous perennial growing to , with bright red stems with green heart-shaped leaves (copper-tinged when young)... | null | |
Summarize key facts about „Bissli“ clearly and accurately. | **Bissli**
Bissli (, Bisli) is an Israeli wheat snack produced by Osem. Bissli is Osem's second-best selling snack brand after Bamba. Bissli is a crunchy snack that is made in the shape of pasta. The name is a combination of the Hebrew word Bis, meaning "bite", and the Hebrew word li, meaning "for me". The most popula... | null | |
Using an array, create a web page that prints out all of the array elements. | arr = [1, 2, 3, 4, 5] | <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Array values</title> </head> <body> <ul> <% for (let i = 0; i < arr.length; i++) { %> <li><%= arr[i] %></li> <% } %> </ul> </body> </html> | null |
Spočítej 21×10 | 21 × 10 = 210 | null | |
Using the "for" loop, print out all odd numbers from 1 to 10. | for i in range(1, 11): if i%2 != 0: print(i) # Output: 1, 3, 5, 7, 9 | null | |
In C++, search a given string for a given sub-string. | string = "This is a string" sub_string = "ing" | size_t found = string.find(sub_string); if (found != string::npos) { // sub-string found } else { // sub-string not found } | null |
Simple PHP JSON API response. | ```php <?php header("Content-Type: application/json; charset=utf-8"); echo json_encode(["ok" => true, "items" => [1, 2, 3]], JSON_UNESCAPED_UNICODE); ``` | null | |
null | null | null | Savci
Savci (Mammalia), dříve ssavci, jsou třída obratlovců, která se v současné době vyskytuje téměř po celém světě. Jejich hlavním spojovacím znakem je výživa mláďat produktem modifikovaných kožních žláz, tedy kojení mláďat (mléčné žlázy – mammae – odtud název Mammalia). Dalším společným znakem celé skupiny je srst ... |
Spočítej: 18 + 9 = ? | 18 + 9 = 27 | null | |
Summarize key facts about „Martin Popoff“ clearly and accurately. | **Martin Popoff**
Martin Popoff (born April 28, 1963) is a Canadian music journalist, critic and author. He is mainly known for writing about the genre of heavy metal music. The senior editor and co-founder of Brave Words & Bloody Knuckles, he has additionally written over twenty books that both critically evaluate he... | null | |
Construct an IF-ELSE statement that test for a given condition and prints result based on that. | to_test = 5 | if to_test < 10: print("Less than 10") else: print("Greater than 10") | null |
null | null | null | Bulvuška hlíznatá
Bulvuška hlíznatá (Bunium bulbocastanum) je vytrvalá, okolo půl metru vysoká bylina, kvetoucí v letních měsících drobnými, bílými květy sestavenými do okolíků. Je jediná z celkem asi 40 druhů rodu bulvuška, která se v české přírodě vyskytuje. Není zde rostlinou původní, ale příležitostně se objevujíc... |
Fill up the missing value in the given JSON array. | [19, 10, 22, 25, ??, 4, 100] | [19, 10, 22, 25, 15, 4, 100] | null |
Stručně shrň článek o tématu „Pavel Miki a druhové“ a uveď hlavní fakta. | **Pavel Miki a druhové**
Svatí Pavel Miki a druhové (26 japonských mučedníků) byli japonští křesťané, kteří jako první na Dálném východě pro své křesťanské přesvědčení podstoupili mučení a smrt. Misie v Japonsku Od zahájení křesťanské misie 15. srpna 1549, kterou založil sv. František Xaverský se během 50 let rozrostl... | null | |
Write a SQL query to update the price of a product with ID 1023 to 5. | UPDATE product SET price = 5 WHERE id = 1023; | null | |
null | null | null | Ouiatchouan Lake
The Lac Ouiatchouan (old appellation: Lac Ouiatchouane) is a body of fresh water located in ranges V and V1, in the municipality of Lac-Bouchette, in the MRC Le Domaine-du-Roy Regional County Municipality, in the administrative region Saguenay–Lac-Saint-Jean, in the province of Quebec, in Canada. This... |
Spočítej: 16 + 11 = ? | 16 + 11 = 27 | null | |
Summarize key facts about „Hammerfest“ clearly and accurately. | **Hammerfest**
Hammerfest (; ) is a municipality in Troms og Finnmark county, Norway. Hammerfest is the northernmost town in the world with more than 10,000 inhabitants with the administrative centre of the municipality being the town of Hammerfest. Some of the main villages in the municipality include Rypefjord, Kval... | null | |
Create a MongoDB query to find all documents that have an array "items" with a field "name" equal to "pen". | db.collection.find( { "items": { $elemMatch: { "name": "pen" } } } ) | null | |
null | null | null | Zwickau Model
The Zwickau model is an inversion of the Karlsruhe model, with diesel main-line trains extended through city streets on tram tracks. It is so called because the German city of Zwickau was the first to introduce the concept in 1999. Die Länderbahn in Zwickau utilizes dual-gauge track to maintain compatibi... |
Summarize key facts about „Integra LifeSciences“ clearly and accurately. | **Integra LifeSciences**
Integra LifeSciences is a global medical device manufacturing company headquartered in Princeton, New Jersey. Founded in 1989, the company manufactures products for skin regeneration, neurosurgery, reconstructive and general surgery. Integra artificial skin became the first commercially reprod... | null | |
Stručně shrň článek o tématu „Nerovnoměrný pohyb po kružnici“ a uveď hlavní fakta. | **Nerovnoměrný pohyb po kružnici**
Nerovnoměrný pohyb po kružnici je pohyb, při kterém je trajektorií kružnice a velikost rychlosti se mění s časem jinak než lineárně. Dráha pohybu při nerovnoměrném pohybu po kružnici Obvodová dráha s je vzdálenost, kterou urazí těleso během pohybu po obvodu kružnice. s = f (t) (obvod... | null | |
Summarize key facts about „Kitab al-'Uyun“ clearly and accurately. | **Kitab al-'Uyun**
The Kitab al-'uyun wa'l-hada'iq fi akhbar al-haqa'iq () is an Arabic chronicle covering Muslim history up to the year 961 AD. The author of the work is anonymous, but the text was likely written in the late eleventh century. The contents of the Kitab al-'Uyun are organized by the reigns of successiv... | null | |
Develop a JavaScript code snippet to find the maximum and minimum numbers in an array. | nums = [2, 5, 8, 9, 10] | function maxmin(nums) { let max = nums[0]; let min = nums[0]; for (let i = 0; i < nums.length; i++) { // comparison to find the maximum if (nums[i] > max) { max = nums[i]; } // comparison to find the minimum if (nums[i] < min) { min = nums[i]; } } return {max:max, min:min}; } //driver code let nums = [2, 5, 8, 9, 10]; ... | null |
Create a function to calculate the network's throughput given a data rate and a size of the packets. | Data Rate = 10 Mbps; Packet size = 1000 bits | def calculate_throughput(data_rate, packet_size): return data_rate / (packet_size / 8) # converting bits to bytes if __name__ == '__main__': data_rate = 10 # Mbps packet_size = 1000 # bits throughput = calculate_throughput(data_rate, packet_size) print(throughput) # 125000.0 | null |
Summarize key facts about „Raičević“ clearly and accurately. | **Raičević**
Raičević is a Serbian and Montenegrin surname. It may refer to: Giovanni Raicevich (1881-1957), Italian martial artist Milena Raičević (born 1990), Montenegrin handball player Mirko Raičević (born 1982), Montenegrin footballer Milivoje Raičević, Serbian footballer Miroslav Raičević (born 1981), Serbian ba... | null | |
Write a C program to find the sum of the following numbers: 17, 11 and 32 | #include <stdio.h> int main() { // variables int num1 = 17; int num2 = 11; int num3 = 32; // calculate sum int sum = num1 + num2 + num3; // print result on console printf("Sum of %d, %d and %d = %d", num1, num2, num3, sum); return 0; } | null | |
Stručně shrň článek o tématu „Inerciální vztažná soustava“ a uveď hlavní fakta. | **Inerciální vztažná soustava**
Jako inerciální vztažná soustava se ve fyzice označuje taková vztažná soustava, v níž platí 1. Newtonův pohybový zákon, tj. těleso, na které nepůsobí žádná síla nebo výslednice sil je nulová, je v klidu nebo se pohybuje rovnoměrně přímočaře. Platí zde zákon setrvačnosti a každá vztažná ... | null | |
Stručně shrň článek o tématu „Mistrovství světa v hokejbalu 2013“ a uveď hlavní fakta. | **Mistrovství světa v hokejbalu 2013**
Mistrovství světa v hokejbalu 2013 bylo 10. mistrovství světa a hrálo se v Kanadě, konktétně v městě St. John's. Turnaje se zúčastnilo celkem 10 mužských týmů. Turnaj se uskutečnil od 2. do 9. června 2013. Obhájcem titulu byl výběr České republiky. Vítězem se stal tým Slovenska, ... | null | |
Stručně shrň článek o tématu „Karel Haimann“ a uveď hlavní fakta. | **Karel Haimann**
Karel Haimann (12. února 1902 Bartošovice – 9. dubna 1986) byl český projektant technického vybavení budov, autor vzduchotechnického vytápění a chlazení vily Tugendhat v Brně, spolupracovník významných architektů 30. – 60. let 20. století. Život Narodil se v severomoravských Bartošovicích 12. února 1... | null | |
Write a code to implement insertion sort on a given list. | List: [4, 3, 6, 1, 5] | def insertionSort(arr): for i in range(1, len(arr)): key = arr[i] j = i-1 while j >= 0 and key < arr[j] : arr[j + 1] = arr[j] j -= 1 arr[j + 1] = key arr = [4, 3, 6, 1, 5] insertionSort(arr) print ("Sorted array is: ") for i in range(len(arr)): print ("%d" %arr[i]) | null |
Summarize key facts about „Kelagar Mahalleh, Qaem Shahr“ clearly and accurately. | **Kelagar Mahalleh, Qaem Shahr**
Kelagar Mahalleh (, also Romanized as Kelāgar Maḩalleh) is a village in Nowkand Kola Rural District, in the Central District of Qaem Shahr County, Mazandaran Province, Iran. At the 2006 census, its population was 2,183, in 589 families. References Populated places in Qaem Shahr County | null | |
Summarize key facts about „Damir, Mazandaran“ clearly and accurately. | **Damir, Mazandaran**
Damir (, also Romanized as Dāmīr) is a village in Rudpey-ye Jonubi Rural District, in the Central District of Sari County, Mazandaran Province, Iran. At the 2006 census, its population was 972, in 260 families. References Populated places in Sari County | null | |
Spočítej: 5 + 7 = ? | 5 + 7 = 12 | null | |
Stručně shrň článek o tématu „Litavka“ a uveď hlavní fakta. | **Litavka**
Litavka (německy Littawa) je přítok Berounky, říčka, sbírající vodu z centrálních Brd, pod vrchy Malý Tok, Hradiště a Tok v okrese Příbram. Je dlouhá 54,9 km. Plocha povodí měří 628,8 km². Průběh toku Pramení v nadmořské výšce 762 m na východním svahu Malého Toku v CHKO Brdy ve vzdálenosti 2 km severovýcho... | null | |
Create a list comprehension to generate the multiples of a number up to a limit. | multiples of 7 until 50 | multiples_list = [n * 7 for n in range(0, 51) if n * 7 <= 50] | null |
Write a function that takes a string as an input and returns a list of all the substring of the given string. | string = "hello" | def substrings(string): substrings_list = [] for i in range(len(string)+1): for j in range(i+1, len(string)+1): substrings_list.append(string[i:j]) return substrings_list | null |
Ukaž HTML — link css. | ```html <link rel="stylesheet" href="styles.css" /> ``` | null | |
null | null | null | Khotso Malope
Khotso Benny Malope (born 18 June 1994) is a South African soccer player who plays as a midfielder for Richards Bay. Career Malope was born in Benoni, Gauteng. He spent the 2015–16 season at Moroka Swallows, before spending the 2016–17 season again on loan, this time at Thanda Royal Zulu. Malope made his... |
Summarize key facts about „Marian Farquharson“ clearly and accurately. | **Marian Farquharson**
Marian Sarah Ogilvie Farquharson, FLS, FRMS (née Ridley, 2 July 1846 – 20 April 1912) was a British naturalist and women's rights activist. The first female Fellow of the Royal Microscopical Society (although not permitted to attend meetings), Farquharson is best remembered for her campaign of w... | null | |
Napiš FastAPI CRUD kostru pro poznámky (in-memory). Komentáře piš česky. | ```python from fastapi import FastAPI, HTTPException from pydantic import BaseModel app = FastAPI() DB: dict[int, dict] = {} _seq = 0 class NoteIn(BaseModel): text: str @app.get("/notes") def list_notes(): return list(DB.values()) @app.post("/notes") def create_note(body: NoteIn): global _seq _seq += 1 DB[_seq] = {"id"... | null | |
Design a MySQL table with two columns, id and name. | CREATE TABLE table_name ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, name VARCHAR(30) NOT NULL ); | null | |
Python function for: word count | ```python from collections import Counter import re def word_count(text): return dict(Counter(re.findall(r'\w+', text.lower()))) ``` | null | |
Generate code to parse the following HTML. | <div> <h1>Heading</h1> <p>Content 1 </p> <ul> <li>Item 1</li> <li>Item 2</li> </ul> </div> | def parse_html(html): root = BeautifulSoup(html, 'html.parser') heading = root.find('h1').text content1 = root.find('p').text items = [li.text for li in root.find_all('li')] return { 'heading': heading, 'content1': content1, 'items': items } | null |
Stručně shrň článek o tématu „Seznam dílů seriálu Garfield a přátelé“ a uveď hlavní fakta. | **Seznam dílů seriálu Garfield a přátelé**
Toto je seznam dílů seriálu Garfield a přátelé. Dětský animovaný seriál Garfield a přátelé z produkce televize CBS měl celkem sedm řad. Každý půlhodinový díl se skládal ze tří hlavních částí. Z dílů čtvrté a následujících řad později sestavila a odvysílala Česká televize dvě ... | null | |
Stručně shrň článek o tématu „Tmavomodrý svět (film)“ a uveď hlavní fakta. | **Tmavomodrý svět (film)**
Tmavomodrý svět je český film natočený režisérem Janem Svěrákem v roce 2001. Název je inspirován barvou leteckých uniforem a též stejnojmennou písní Jaroslava Ježka, jejíž název je odvozen od Ježkovy vady zraku. Snímek vznikl na motivy autobiografických knih válečného letce Františka Fajtla.... | null | |
Create an array and assign four elements to it. | my_array = ["John", "Paul", "George", "Ringo"] | null | |
Write a Python code to fetch the top three trending topics from Twitter. | import tweepy # create OAuth handler consumer_key = "YOUR_CONSUMER_KEY" consumer_secret = "YOUR_CONSUMER_SECRET" access_token = "YOUR_ACCESS_TOKEN" access_token_secret = "YOUR_ACCESS_TOKEN_SECRET" # authenticate auth = tweepy.OAuthHandler(consumer_key, consumer_secret) auth.set_access_token(access_token, access_token_s... | null | |
Write a JavaScript snippet to make all the <div> elements in a webpage pink in color. | const divs = document.querySelectorAll('div'); divs.forEach(div => { div.style.backgroundColor = 'pink'; }) | null | |
Stručně shrň článek o tématu „Ekonomika“ a uveď hlavní fakta. | **Ekonomika**
Ekonomika (hospodářství) je shrnutí hospodaření určitého subjektu, například státu, organizace nebo jednotlivce. Věda, která zkoumá finanční chování subjektů, jež se ekonomicky projevují, se nazývá ekonomie. Ekonomické i politické zprávy, nejnovější události, novinky ze světa byznysu, financí, burzovních... | null | |
Summarize key facts about „Craig R. McKinley“ clearly and accurately. | **Craig R. McKinley**
Craig Richard McKinley (born May 6, 1952) is a retired United States Air Force general who served as the 26th Chief of the National Guard Bureau, serving from 2008 to 2012. He is the first officer from the National Guard to ever achieve the grade of a four-star general. Prior to becoming chief, h... | null | |
Write an R program to print out the numbers from 0-50, in steps of 4. | x <- seq(from = 0, to = 50, by = 4) print(x) | null | |
Design a Django web application to store user profiles. | # models.py from django.db import models class Profile(models.Model): user = models.OneToOneField("auth.User", on_delete=models.CASCADE) first_name = models.CharField(max_length=100) last_name = models.CharField(max_length=100) birth_date = models.DateField() # views.py from django.shortcuts import render from .models ... | null | |
Summarize key facts about „Te Naihi River“ clearly and accurately. | **Te Naihi River**
The Te Naihi River is a river of the Otago region of New Zealand's South Island. It flows generally northwest to reach the Waiatoto River southwest of Haast. Much of the river's length is within Mount Aspiring National Park. See also List of rivers of New Zealand References Rivers of Otago Mount Asp... | null | |
Implement Quicksort in Python to sort this list of integers. | [8, 5, 3, 9, 1] | def quicksort(arr): if len(arr) <= 1: return arr pivot = arr[len(arr) // 2] left = [x for x in arr if x < pivot] middle = [x for x in arr if x == pivot] right = [x for x in arr if x > pivot] return quicksort(left) + middle + quicksort(right) sorted_arr = quicksort([8, 5, 3, 9, 1]) print(sorted_arr) | null |
Given a string of length N, provide an algorithm to determine if there is a substring in the string that repeats itself. | The algorithm starts by comparing the first N characters to the next N characters in the string. If the characters match, then the algorithm returns true. If the characters do not match, the algorithm moves to the next set of N characters and compares them. If no match is found, the algorithm returns false. The time co... | null | |
Spočítej: 4 + 11 = ? | 4 + 11 = 15 | null | |
Create a for loop for printing out the elements in a given list in reverse order. | my_list = [1,2,3,4] | for i in range(len(my_list)-1, -1, -1): print(my_list[i]) | null |
PHP: prepared statement SELECT. | ```php <?php $stmt = $pdo->prepare("SELECT id, email FROM users WHERE id = ?"); $stmt->execute([$id]); $user = $stmt->fetch(PDO::FETCH_ASSOC); ``` | null | |
Summarize key facts about „James L. Carter“ clearly and accurately. | **James L. Carter**
James L. Carter is an American film and television cinematographer. Filmography Ladder 49 (2004) Sleepover (2004) Tuck Everlasting (2002) Zig Zag (2002) The Shape of Things (2001) Grand Avenue (1996) Gunfighter's Moon (1995) Destiny Turns on the Radio (1995) Roadflower (1994) My Dog Skip (2000) Spa... | null | |
Edit the given HTML so that it renders as a centered, level-two heading. | <h1>Heading Text</h1> | <h2 style="text-align: center;">Heading Text</h2> | null |
Zdravím tam? | Ahoj! Jak ti můžu pomoct? | null | |
Summarize key facts about „Calidris“ clearly and accurately. | **Calidris**
Calidris is a genus of Arctic-breeding, strongly migratory wading birds in the family Scolopacidae. These birds form huge mixed flocks on coasts and estuaries in winter. Migratory shorebirds are shown to have decline in reproductive traits because of temporal changes of their breeding seasons(Weiser et al... | null | |
Summarize key facts about „Arthralgia“ clearly and accurately. | **Arthralgia**
Arthralgia (from Greek arthro-, joint + -algos, pain) literally means joint pain. Specifically, arthralgia is a symptom of injury, infection, illness (in particular arthritis), or an allergic reaction to medication. According to MeSH, the term "arthralgia" should only be used when the condition is non-i... | null | |
Differentiate between a stack and a queue. | A stack is a data structure that operates on a Last-In-First-Out (LIFO) principle, meaning the element that was added last will be removed first. A queue is a data structure that works on a First-In-First-Out (FIFO) principle, meaning the element that was added first will be removed first. Stacks are often used to reve... | null | |
Write a Python program to remove an empty tuple from a list of tuples. | list1 = [ (), ('a',), ('b', 'c'), ('d', 'e', 'f')] | list2 = [ t for t in list1 if t ] print(list2) | null |
Read the integers in a given list and return the sum of the squares of the list elements. | arr = [1, 2, 3] | def squares_sum(arr): sum = 0 for i in range(len(arr)): sum += arr[i] ** 2 return sum | null |
null | null | null | Seznam vítězů turnajů ATP Tour 250
Seznam vítězů turnajů ATP Tour 250 představuje chronologický přehled finálových zápasů ve dvouhře a čtyřhře mužských tenisových profesionálních turnajů kategorie ATP Tour 250 v podobě odehraných sezón od roku 2009. Přehled finále 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019... |
Stručně shrň článek o tématu „4. září“ a uveď hlavní fakta. | **4. září**
4. září je 247. den roku podle gregoriánského kalendáře (248. v přestupném roce). Do konce roku zbývá 118 dní. Svátek slaví Jindřiška a Rozálie. Události Česko 1784 – Císařským výnosem byl královopolský kartouzský klášter určen pro vojenské využití a budova byla změněna na kasárna 1892 – Při povodni byly z... | null | |
Resolve the given linked list into a cycle using the Floyd's Cycle algorithm. | // initialise slow and fast pointers let slow = head; let fast = head; while (fast !== null && fast.next !== null) { fast = fast.next.next; if(slow === fast) { break; } slow = slow.next; } // check if there is a cycle if (slow === null || fast === null || fast.next === null) { return; } // initialize slow pointer to he... | null | |
null | null | null | Laurel Creek, West Virginia
Laurel Creek is an unincorporated community and coal town in Fayette County, West Virginia, United States. The community takes its name from nearby Laurel Creek. References Unincorporated communities in West Virginia Unincorporated communities in Fayette County, West Virginia Coal towns in ... |
null | null | null | Queers
Queers je britský televizní seriál, který odvysílal televizní kanál BBC Four ve dnech 31. července – 3. srpna 2017. Jednotlivé díly jsou koncipovány jako scénky s monology, ve kterých se odráží vývoj a změny v oblasti LGBT práv během uplynulých 100 let. Příběhy se odehrávají v letech 1917 za první světové války... |
Write a function in Python to generate a list with the numbers from 0 to the provided number. | num = 10 | def generateList(n): list = [] for i in range(n+1): list.append(i) return list print(generateList(num)) # [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] | null |
Summarize key facts about „Lloyd Haynes“ clearly and accurately. | **Lloyd Haynes**
Samuel Lloyd Haynes (September 19, 1934 – January 1, 1987) was an American actor, best known for his starring role in the Emmy Award-winning series Room 222. Biography A native of South Bend, Indiana, Haynes served in the U.S. Marines from 1952 to 1964 and during the Korean War. He was a public affair... | null | |
null | null | null | Gorenjski Vrh
Gorenjski Vrh (, ) is a settlement in the Municipality of Zavrč in the Haloze area of eastern Slovenia. The area traditionally belonged to the Styria region. It is now included in the Drava Statistical Region. The local church is dedicated to John the Baptist and belongs to the Parish of Zavrč. It dates ... |
Stručně shrň článek o tématu „19. století“ a uveď hlavní fakta. | **19. století**
Devatenácté století je podle Gregoriánského kalendáře perioda mezi 1. lednem 1801 a 31. prosincem 1900. Jedná se o deváté století druhého tisíciletí. V 19. století zažila především Evropa spolu se Severní Amerikou neobyčejně rychlý hospodářský růst, který zásadně pozměnil zemědělství a nastartoval těžb... | null | |
null | null | null | LoRa
LoRa (od „long range“, dlouhý dosah) je označení proprietární radiokomunikační techniky, která poskytuje řešení pro bezdrátový přenos dat, kdy je hlavním cílem co nejnižší spotřeba energie při malých pořizovacích nákladech a postačí malý datový tok. Technologie byla vyvinuta francouzskou společností Cycleo. Vlast... |
Create a function that join two strings into one | def join_strings(string1, string2): return string1 + string2 | null | |
Summarize key facts about „Robert Young“ clearly and accurately. | **Robert Young**
Robert, Rob, Robbie, Bob, or Bobby Young may refer to: Academics R. A. Young (Robert Arthur Young, 1871–1959), British physician Robert J. C. Young (born 1950), British cultural critic and historian Robert J. Young (born 1942), Canadian historian Robert M. Young (academic) (1935–2019), American scienc... | null | |
Create a PHP function that takes two strings and returns the first string repeated the number of times specified by the length of the second string. | String x = "Hi"; String y = "World!"; | <?php function repeatString($x, $y) { $result = ""; for ($i = 0; $i < strlen($y); $i++) { $result .= $x; } return $result; } echo repeatString("Hi ", "World!"); ?> | null |
Summarize key facts about „List of American railway unions“ clearly and accurately. | **List of American railway unions**
The following is a list of unions and brotherhoods playing a significant role in the railroad industry of the United States of America. Many of these entities changed names and merged over the years; this list is based upon the names current during the height of American railway uni... | null | |
null | null | null | Take These Chains from My Heart
"Take These Chains from My Heart" is a song by Hank Williams. It was written by Fred Rose and Hy Heath and was recorded at Williams' final recording session on September 23, 1952, in Nashville. The song has been widely praised; Williams' biographer Colin Escott deems it "perhaps the bes... |
Spočítej: 23 + 7 = ? | 23 + 7 = 30 | null | |
Stručně shrň článek o tématu „Blimp: The Flying Adventures“ a uveď hlavní fakta. | **Blimp: The Flying Adventures**
Blimp: The Flying Adventures je česká videohra z roku 2009. Vytvořilo ji ostravské studio Craneballs Studios ve spolupráci s Grip Games. Hra vyšla nejdříve pro iPhony a v roce 2010 i pro PlayStation Portable a PlayStation 3. Hratelnost Žánrově se hra řadí mezi arkády. Příběh je vyprávě... | null | |
Create a JavaScript function for finding two largest numbers among a given array of numbers | Array of numbers: [3, 6, 8, 5, 9, 1] | function findLargest(numArray) { var largest = numArray[0]; var secondLargest; for( var i = 1; i < numArray.length; i++ ) { if( numArray[i] > largest ) { secondLargest = largest; largest = numArray[i]; } else if ( numArray[i] > secondLargest ) { secondLargest = numArray[i]; } } return [largest, secondLargest]; } Usage:... | null |
Summarize key facts about „Walter Stallard“ clearly and accurately. | **Walter Stallard**
Walter R. Stallard (September 6, 1890 – death date unknown) was an American Negro league pitcher in the 1910s. A native of St. Paul, Minnesota, Stallard made his Negro leagues debut in 1911 with the St. Paul Colored Gophers. He went on to play for the Indianapolis ABCs in 1913. References External ... | null | |
null | null | null | José Amado García
José Amado García Gabriel (born 13 September 1977) is a Guatemalan long-distance runner who competed in the 2004 Summer Olympics, the 2008 Summer Olympics the 2012 Summer Olympics and the 2016 Summer Olympics. Personal bests 5000 m: 14:13.19 min – Berkeley, California, 24 April 2010 10,000 m: 28:50.2... |
Create a MySQL query to select the top 5 customers with the highest total spending in the last 12 months. | SELECT customer_id, SUM(cost) AS total_spending FROM orders WHERE order_date >= CURDATE() - INTERVAL 12 MONTH GROUP BY customer_id ORDER BY total_spending DESC LIMIT 5 | null | |
Summarize key facts about „It's All Over (Johnny Cash song)“ clearly and accurately. | **It's All Over (Johnny Cash song)**
"It's All Over" is a song written and originally recorded by Johnny Cash. Released in September 1976 as a single (Columbia 3-10424, with "Ridin' on the Cotton Belt" on the B-side), the song reached number 41 on U.S. Billboard country chart for the week of November 27. Later the son... | null | |
null | null | null | Martha Randall
Martha Irene Randall (born June 12, 1948) is an American former competition swimmer, Olympic medalist, and former world record-holder. As a 16-year-old, Randall competed in the 1964 Summer Olympics held in Tokyo, Japan. She received a bronze medal for her third-place performance in the 400-meter individ... |
Summarize key facts about „James Lyons (New South Wales politician)“ clearly and accurately. | **James Lyons (New South Wales politician)**
James Denis Lyons (9 March 1875 – 20 November 1955) was an Australian politician. He was born in Brisbane to labourer John Lyons and Mary Sheehan. He worked as a produce merchant and as a grazier near Lyndhurst. Around 1902 he married Sarah Anne Moloney, with whom he had th... | null | |
Create a Python function that will take two lists as inputs, and return a list that contains all the common items between the lists. | list1 = [1,2, 3, 4, 5] list2 = [2,4,6,8] | def common_elements(list1, list2): return [item for item in list1 if item in list2] list1 = [1,2, 3, 4, 5] list2 = [2,4,6,8] common_items_list = common_elements(list1, list2) print(common_items_list) | null |
null | null | null | Procopio Franco
Procopio Franco Hernández (born 8 July 1970 in Mexico City) is a Mexican former long-distance runner who competed in the 2004 Summer Olympics and in the 2008 Summer Olympics. Achievements References 1970 births Living people Mexican male long-distance runners Athletes from Mexico City Olympic athletes ... |
Stručně shrň článek o tématu „Nathalie (zpěvačka)“ a uveď hlavní fakta. | **Nathalie (zpěvačka)**
Nathalie Beatrice Giannitrapani (* 16. prosince 1979 Řím, Lazio, Itálie) je italská zpěvačka a skladatelka. Slávu si získala díky výhře ve 4. sérii italské verze soutěže X Faktor (2010) se svým debutovým singlem „In punta di piedi“. Biografie Mládí Nathalie se narodila v Římě sicilskému otci tu... | null | |
Stručně shrň článek o tématu „Lásky jedné plavovlásky“ a uveď hlavní fakta. | **Lásky jedné plavovlásky**
Lásky jedné plavovlásky je český černobílý film režiséra Miloše Formana z roku 1965. Film byl nominován na Oscara za nejlepší cizojazyčný film a Zlatý glóbus za nejlepší cizojazyčný film. Britský filmový časopis Empire ho v roce 2010 zařadil mezi 100 nejlepších cizojazyčných filmů. Děj Hlav... | null | |
Measure the execution time of a given python script. | import time def measure_time(): # Start the timer start = time.time() # Execute the code # ----- Code to be measured ------ # ------------------------------- # Stop the timer end = time.time() # Return the difference return end - start execution_time = measure_time() print(execution_time) | null | |
Use regex to extract the domain from a URL. | url = 'https://www.example.com/blog/post/1' | import re def extract_domain(url): """ A function to extract the domain from a URL using regex. Args: url (str): a URL. Returns: domain (str): the domain of the URL. """ regex = r"http[s]?://(www\.)?([^/]+)/.*" matches = re.search(regex, url) return matches.group(2) if __name__ == '__main__': url = 'https://www.example... | null |
Stručně shrň článek o tématu „Wiktor Brzozowski“ a uveď hlavní fakta. | **Wiktor Brzozowski**
Wiktor Brzozowski (16. července 1898 Katovice – 10. ledna 1981 Świętochłowice) byl slezský povstalec a sociální aktivista. Ve čtyřech letech se s rodinou přestěhoval do Świętochłowic. Nejprve pracoval v dolech a v letech 1928–1965 v ocelárnách „Falva“ mimo časů války. Jeho mladším bratrem je Aloj... | null | |
Write a script that prints out the current value of environment variables | For example, using Node.js: Object.keys(process.env).forEach(key => { console.log(`${key}: ${process.env[key]}`); }); | null | |
Create an HTML element for a paragraph and add five sentences to it. | <p> This is the first sentence. This is the second sentence. This is the third sentence. This is the fourth sentence. This is the fifth sentence. </p> | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.