This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program ZamianaLiczb; | |
uses sysutils; | |
//Funkcja potegujaca, potrzebna do funkcji 'naDecymalny' | |
Function potegowanie(podstawa, potega : integer) : integer; | |
var m, p : integer; | |
begin | |
potegowanie := 1; | |
m := potega; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program SortowanieListy; | |
uses CRT, Math; | |
type | |
ElementP = ^Element; | |
Element = record | |
Nr : integer; | |
Wartosc : double; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program TPascala; | |
uses CRT; | |
function Silnia(n : integer) : integer; | |
begin | |
if n < 2 then Silnia := 1 | |
else Silnia := n * Silnia(n-1); | |
end; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program ZamianaLiczb; | |
uses sysutils; | |
//Funkcja potegujaca, potrzebna do funkcji 'naDecymalny' | |
Function potegowanie(podstawa, potega : integer) : integer; | |
var m, p : integer; | |
begin | |
potegowanie := 1; | |
m := potega; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program SortowanieListy; | |
uses CRT, Math; | |
type | |
ElementP = ^Element; | |
Element = record | |
Nr : integer; | |
Wartosc : double; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program LiczbyDoskonale; | |
function sumaDzielnikow(i : integer) : integer; | |
var j : integer; | |
begin | |
sumaDzielnikow := 0; | |
for j := 1 to Round(i/2) do | |
begin | |
if (i mod j) = 0 then sumaDzielnikow := sumaDzielnikow + j; | |
end; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program Kalendarz; | |
function jakiDzien(d, m, r : integer) : integer; | |
var n : integer; | |
begin | |
n := 6 + d + r - 1900 + (r - 1900) div 4; | |
case m of | |
4, 7: ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(global, doc, eZ, React, ReactDOM, Translator) { | |
const SELECTOR_LOCATION_PICKER_BUTTON = '.ez-location-picker__btn'; | |
const SELECTOR_LOCATION_PICKER_LIST = '.ez-location-picker__list'; | |
const SELECTOR_EZ_TAG = '.ez-tag'; | |
const IDS_SEPARATOR = ','; | |
const token = doc.querySelector('meta[name="CSRF-Token"]').content; | |
const siteaccess = doc.querySelector('meta[name="SiteAccess"]').content; | |
const udwContainer = doc.getElementById('react-udw'); | |
class LocationPicker { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
content { | |
articles { | |
edges { | |
node { | |
_name # 1) Name | |
_location { | |
id # 10) Location ID | |
remoteId # Location remote ID | |
invisible # 2) Visibility ?? |
OlderNewer