text:
Королівське місто () — спеціальний  титул міст  у Шотландії.

Походження
До правління Давида I у Шотландії не було міст. Найближчими до поняття «місто» були території навколо великих монастирів таких, як Данкельд і Сент-Ендрюс та регіонального значення укріплень, де концентрація населення була вищою, ніж в середньому. Шотландія, принаймні поза Лотіаном, була заселена розсіяними селами. Давид I заснував перші міста із самоврядуванням () в Шотландії, спочатку тільки на, в основному англомовному, Середньому Лотіані. До найбільш ранніх таких типів поселення відносяться засновані в 1124 Бервік () і Роксбург (). Однак, до 1130 року, Давид I заснував на гельській території такі міста із самоврядуванням: Стерлінг, Данфермлайн, Перт і Скуне, а також Единбург. Завоювання графства Морей в тому ж році привезло до створення подібних міст в Елгіні і Форесі. Перш, ніж Давид I помер, Сент-Ендрюс, Монтроз, і Абердин стали містами із самоврядуванням. За правління Малкольма IV і Вільгельм I, список міст із самоврядуванням поповнили такі міста, як Інвернесс, Бенф, Каллен, Ольдирн, Нерн, Інверурі, Кінтор, Бріхін, Форфар, Арброт, Данді, Ланарк, Дамфріс і Ер (єдине на західному узбережжі). В Лотіані такі типи поселень також з'явилися в Хаддінгтоні, Лейті і Піблсі. До 1210 року існувало 40 міст із самоврядуванням в Шотландському королівстві. Роземаркі, Дінгуол і Кромарті також належали до такого типу міст до Шотландської війни за незалежність XIII — XIV століть.

Давид I заснував перші королівські міста, із їх статутами і Leges Burgorum (правил, що регулювали практично всі аспекти життя і роботи в таких поселеннях) були скопійовані майже дослівно зі звичаїв Ньюкасл-апон-Тайн. Він по суті переніс англійський варіант королівських міст на Шотландію. Шотландські міста із самоврядуванням були здебільшого заселені іноземцями, а не корінними шотландцями і навіть не жителями Лотіану. Переважаючою етнічною групою були фламандці, але першими городяни були англійці, французи і німці. Лексика таких міст майже повністю складалася із німецьких термінів (не обов'язково навіть переважаючою англійською), такі як croft, rood, gild, gait і wynd, або французькі, такі як provost, bailie, vennel, port і ferme. Правила, які регулюють окремі самоврядуванні міста були відомі як lie doussane, тобто дюжина.

Список королівських міст Шотландії
До 1153 (королівські)
 Абердин
 Бервік-апон-Твід (перед 1124)
 Данді
 Ланарк (1144)
 Единбург
 Данфермлайн
 Елгін
 Форес
 Лінлітгоу
 Монтроз
 Піблс
 Перт (мало найвищий статус серед усіх королівських міст, окрім як Единбурга)
 Рутерглен
 Роксбург (Створено як королівське місто в 1124 році. У п'ятнадцятому столітті після знищення оборонного замку в 1460 році припинило своє існування. Частина Роксбурга було включено в склад Келсо в 1614 році, а в 1936 році Келсо визнаний як наступник королівського міста.)
 Стерлінг
 Тейн

До 1153 (міста, що переходили у володіння між королем та іншими лордами)
 Хаддінгтон (дарований Аді де Варен між 1139 та 1178)
 Ренфрю (перед 1153 дарований Вальтеру Фітцалану; підтвердження статусу в 1397 році)

До 1153 (міста контрольовані іншими лордами)
 Кенонгейт (сьогодні в складі Единбурга)
 Сент-Ендрюс

До 1214 (королівські)
 Ер
 Олдірн
 Кален
 Дамфріс
 Форфар
 Інверкітінг
 Інвернесс
 Джедбург
 Кінгхорн
 Кінтор
 Лодер (зроблене королівським місто королем Вільгельмом I)
 Лейт (Між Единбургом, та Лейтом часто йшло суперництво за права торгівлі і статусу. В 1636 місто було перебудоване як місто під управління барона на користь міста Единбург. В 1920 році поглинений королівським Единбургом.)
 Нерн

До 1214 (міста, що переходили у володіння між королем та іншими лордами)
 Крейл

До 1214 (міста контрольовані іншими лордами)
 Енен (королівське до 1532)
 Арброт
 Бріхін
 Данді
 Глазго
 Керкінтіллох
 Прествік

Міста засновані Александром II
 Дінгуол (1226) (пізніше потрапило під володіння барона міста Ірл оф Роуз  1321, перезасноване як королівське місто в п'ятнадцятому столітті)
 Дамбартон (1222)

До 1300 (королівські)
 Охтерардер (статус втрачений в 1707)
 Кромерті (пізніше потрапило під володіння барона міста Ірл оф Роуз  1315, перезасноване як королівське місто в 1593)
 Фіві
 Кілрені
 Ланарк
 Розермаркі
 Селкерк
 Увігантаун

До 1300 (міста контрольовані іншими лордами)
 Кровфорд (перестало існувати до шістнадцятого століття)
 Данбар (став королівським містом в 1445)
 Інверурі (став королівським містом в 1558)
 Ірвін (став королівським містом в 1372)
 Келсо (ніколи не був королівським містом)
 Лохмабен (королівське місто до 1447 року)
 Ньюбарг, Абердиншир (ніколи не був королівським містом)
 Ньюбарг, Файф (став королівським містом в 1631)
 Ур (довго не існувало)

Початок 14-ого століття
 Кюпер (до 1327)
 Інверберві (1342)

Міста засновані Робертом II
 Бенф (1372)
 Норт-Бервік (1373; подавлене Вільямом Дугласом, поновлений статус грамотою 1568)

Міста засновані Робертом III
 Ротсей (1400, або 1401)

Міста засновані Джеймсом II
 Данбар (1445)
 Фолкленд (1458)
 Керкубрі (1455)
 Лохмабен (дата отримання статуса невідома)
 Тейн (із 1439)

Міста засновані Джеймсом III
 Елджін (1457) (втрачений королівський статус в 1312 відновлений)
 Керкволл (1486)
 Нерн (1476) (втрачений королівський статус в 1312 відновлений)

Міста засновані Джеймсом IV
 Дінгуол (1497, або 1498) (поновлено)
 Форес (1496) (відновлення втраченого в 1312 році)
 Кінтор (1506, або 1507) (повторно заснований як королівське місто)
 Віторн (1511)

Міста засновані Джеймсом V
 Аннен (1538, або 1539) (статус підтверджений)
 Охтормахті (1517)
 Бернтайленд (1541)
 Піттенвім (1541)

Міста засновані Марією Стюарт
 Інверурі (1558) (відновлений втрачений королівський статус)

Міста засновані Джеймсом VI
 Східний Анструтер (1583)
 Західний Анструтер (1587)
 Арброт (1599)
 Кромарті (1593) (поновлений статус)
 Калрос (1592)
 Ерлсфері (1589)
 Глазго (1611) (був де-факто раніше)
 Фортрос (1590)
 Кілрені (1592)
 Розмакі (1592)
 Сент-Ендрюс (1620) (підтвердження статусу)
 Санка (1598)
 Уік (1589)

Міста засновані Карлом I
 Брихін (1641)
 Дорнох (1628)
 Фортрос (1661)
 Інверерей (1648)
 Керколді (1644) (хоча де-факто з 1574)
 Новий Галовей (1630)
 Квінзфері (1636)
 Ньюбарх (1631)

Міста засновані Вільгельмом III
 Кемпбелтаун (1700)

20 століття
 Охтерарде (1951)
 Елі та Еарлсфері (1930)
 Кілрені, Східний Анструтер та Західний Анструтер (утворене об'єднанням трьох королівських міст в 1930)

Див. також

 Вільне місто
 Імперське Вільне місто

Примітки

Джерела
 Barrow, G.W.S., Kingship and Unity: Scotland, 1000-1306, (Edinburgh, 1981)
 Donaldson, Gordon & Morpeth, Robert S., A Dictionary of Scottish History, Единбург, 1977; page 31 re monopoly of foreign trade
 Lynch, Michael, Scotland: A New History, Pimlico 1992; сторінка 62 re origin of burgh charters
 McNeill, Peter G.B. & MacQueen, Hector L. (eds), Atlas of Scottish History to 1707, (Единбург, 1996)

Містобудування


text:
Monday, February 25, 2019 Dan O'Brien
$925M Power Plant On Track for Summer Groundbreaking
LORDSTOWN, Ohio— The groundbreaking for $925 million combined-cycle energy plant at the Lordstown Industrial Park could be held as early as this summer, according to the project's developer.
Bill Siderewicz, president of Clean Energy Future LLC, said that his company is in the process of raising construction funding for the Trumbull Energy Center, now that a legal dispute that dogged the project for more than a year ended on Friday. Huntington Bank and Key Bank have both expressed interest in loaning debt capital to the project.
"We are pleased that the results of the litigation and the resulting settlement agreement will enable Trumbull to proceed as originally planned," Siderewicz said in a statement Monday morning.
The 925 megawatt plant would produce enough electricity to power 850,000 homes, Siderewicz said. The cost of producing this power is far less than traditional plants since the Trumbull Energy Center is fueled by natural gas and steam, and not coal.
Moreover, the new plant will lead to a peak of 940 new construction jobs over the next 34 months, representing more than 2 million man hours, he said.
It should also pay dividends to Lordstown Village, Siderewicz noted. Over a 50-year period, the village would realize $247 million in revenue from income tax, salary tax, water service fees and property taxes.
"It's resolved and everything is set to go," says Mayor Arno Hill.
Hill learned Friday morning that the litigation, filed in Trumbull County Court of Common Pleas, has been settled. A formal announcement is expected to come Monday, he said.
The power plant would be supplied with gas from a Dominion East Ohio pipeline and interconnect with a transmission line owned by American Transmission Systems Inc.
The project was held up in court because Macquarie, the majority owner of the Lordstown Energy Center, now operating at the Lordstown Industrial Park, disputed the terms of an option agreement with Clean Energy Future LLC, which plans on developing the second power station adjacent to the first.
The Lordstown Energy Center operates next to where the Trumbull Energy Center will be built.
Clean Energy Future filed suit against Macquarie in December 2016, asking the court to enforce the option-to-purchase agreement without any conditions. Judge Peter Kontos subsequently sided with Clean Energy, ordering Macquarie to sign an addendum that would remove restrictions from the industrial park in order to construct the second plant. That ruling was appealed, which led to a lengthy mediation process.
Part of the resolution involves the transfer of nine parcels next to the Lordstown Energy Center, which was commissioned last year.
The property transfer occurred Friday morning, Hill confirmed. The land acquisition, which totals hundreds of acres, allows the project to move forward.
Siderewicz was responsible for developing the Lordstown Energy plant and then sold it to Macquarie, which holds a 70% stake in the venture. Siemens Energy holds a 25% position and Clean Energy still has a 5% interest in the project.
Siderewicz projected the plant to power 850,000 homes and have a $26 billion economic impact on northeastern Ohio.
Copyright 2021 The Business Journal, Youngstown, Ohio.
Dept. of Energy Commits $1M to YSU for Energy Workforce Center
YOUNGSTOWN, Ohio – The U.S. Department of Energy has announced it will commit $1 million toward a partnership between Youngstown […]
Youngstown Awards $15.8M Contract for Next Phase of Smart2
YOUNGSTOWN, Ohio – Work should get underway after the winter weather breaks on the second phase of a $31 million […]
M&M Industries to Add Rail Spur as Part of $38M Investment
LORDSTOWN, Ohio – A $100,000 grant from the Ohio Rail Development Commission will help M&M Industries construct a vital lifeline […]

redpajama_set_name: RedPajamaCommonCrawl


text:
Government Information Services, Access and Collections
Depository Programs
State of Illinois
United Nations and Other International Organizations
Canada, United Kingdom, and Other Foreign Governments
Introduction to Government Information
Virtual Government Information Hub – The World Runs on Government Information
Databases and Search Engines
Statistics and Numeric Data
Government Information Guides
Government Information LibGuides
Online Reference Titles for Government Information
Online Government Resources
FDsys (Federal Digital System)
NTIS
U.S. Government Manual
U.S. Government Printing Office
Collection Use
Government Information Exhibits
Government Information Services, Access and Collections > U of I Unit Library Homepage > researchtools > guides > subject > Something for Everyone
Agriculture and Consumer Science
Federal Citizen Information Center (FCIC)
Food and Drug Administration (FDA) Information for Consumers
Science.gov: Agriculture and Food
Environmental Protection Agency's EnviroMapper Maps the environmental impact by zip code or by county and state
The United States Botanic Garden is a living plant museum. Exhibits interpret the role of plants in supporting earth's diverse and fragile ecosystems and in enriching human life. Established by Congress in 1820, the U.S. Botanic Garden is one of the oldest botanic gardens in North America. The garden's first greenhouse was constructed in 1842. The Garden has been administered through the Office of the Architect of the Capitol since 1934.
Farm Service Agency, part of the U.S Department of Agriculture
Through the American Memory Project, Library of Congress is working to digitize the distinctive, historical Americana materials from the Library's collections and to make them available online to users worldwide. These materials include photographs, manuscripts, rare books, maps, recorded sound, and moving pictures.
National Park Service's Cultural Resources, Partnerships, and Science works to be sure that America's cultural resources are carefully identified, evaluated, documented, registered, preserved, and interpreted.
National Endowment for the Arts exists to foster, preserve, and promote excellence in the arts, to bring art to all Americans, and to provide leadership in arts education. Established by Congress in 1965 as an independent agency of the federal government, the Endowment is the nation's largest annual funder of the arts, bringing great art to all 50 states, including rural areas, inner cities, and military bases.
The Architect of the Capitol is responsible to the United States Congress for the maintenance, operation, development, and preservation of the United States Capitol Complex, which includes the Capitol, the congressional office buildings, the Library of Congress buildings, the Supreme Court building, the U.S. Botanic Garden, the Capitol Power Plant, and other facilities.
National Gallery of Art was created in 1937 for the people of the United States of America by a joint resolution of Congress, accepting the gift of financier and art collector Andrew W. Mellon.
Federal Communications Commission's History Project Online exhibits include topics like Radio Pioneers and Core Technologies
Public Moving Image Archives and Research Center and the National Film Preservation Foundation, an independent nonprofit organization to support the film preservation efforts of American film archives, historical societies and similar institutions since its establishment by the United States Congress in 1996.
The Thomas Edison National Historical Park includes pictures, articles and bibliographies for America's most prolific inventor. Also, check out the Recorded Sound Archive of approximately 28,000 disc phonograph records, 11,000 cylinder phonograph records, and 9800 disc metal molds.
Education Department web page especially for students.
Human Genome Project resources for educators.
Federal Resources for Educational Excellence
College Drinking Prevention website from the National Institute for Health (NIH) and National Institute Alcohol Abuse Alcoholism (NIAAA)
The Nation's Report Card from the National Center for Education Statistics
The Library of Congress Learning Page for Teachers
National Technical Information Service
National Aeronautics and Space Administration (NASA) Engineering Design Challenge-Lesson Plan for Teachers
Department of Energy's SciTech Connect "Your connection to science, technology, and engineering research information from the U.S. Department of Energy."
U.S. Army Corps of Engineers Digital Library a collection of photographs and other images provided to visually communicate programs, projects, and events of the US Army Corps of Engineers.
Nation Endowment for the Humanities (NEH) is an independent grant-making agency of the United States government dedicated to supporting research, education, preservation, and public programs in the humanities.
Bureau of Indian Affairs (BIA)
National Archives and Records Administration Ready access to essential evidence, the national archives offer primary sources for many topics in history, from genealogy to Watergate.
The Historic American Buildings Survey/Historic American Engineering Record/Historic American Landscapes Survey (HABS/HAER/HALS) documents important architectural, engineering and industrial sites throughout the United States and its territories.
The Institute of Museum and Library Services (IMLS) is an independent federal agency of the Executive Branch of the U.S. Government that fosters leadership, innovation, and a lifetime of learning by supporting the nation's museums and libraries.
US Institute of Peace
The Office of Government Ethics (OGE), a small agency within the executive branch, since 1978, seeks to prevent conflicts of interest on the part of Government employees, and to resolve those conflicts of interest that do occur. In partnership with executive branch agencies and departments, OGE fosters high ethical standards for employees and strengthens the public's confidence that the Government's business is conducted with impartiality and integrity.
Federal Library and Information Network
Science.gov connects you to U.S. Government Science and Technology
The U.S. Department of Energy's (DOE) Office of Scientific and Technical Information (OSTI) provides access to a wealth of energy, science, and technology research and development (R&D) information from the Manhattan Project to the present.
Federal Statistics The gateway to statistics from over 100 U.S. Federal agencies
United States Census Bureau Multimedia Gallery
Federal Mediation and Conciliation Service The Federal Mediation and Conciliation Service, created in 1947, is an independent agency whose mission is to preserve and promote labor-management peace and cooperation. Headquartered in Washington, DC, with five regional offices and more than 70 field offices, the agency provides mediation and conflict resolution services to industry, government agencies and communities.
Merit System Protection Board
Loading contact information for Government Information Services and Collections...


text:
Emerging Markets Institute
Johnson's Karolyi Releases Rankings of Emerging Markets for Investors
Research takes a first-of-its-kind look at the fundamental risks associated in investing in emerging foreign markets
A new book by Andrew Karolyi, Alumni Professor of Asset Management and professor of finance at Johnson, aims to help asset managers better assess the risks and rewards of investing in emerging economies. "Cracking the Emerging Markets Enigma," describes the model under which Karolyi evaluates and ranks 57 countries on the risks of investing there. His system considers multiple indicators of risk, such as political stability, corporate opacity, and legal limits placed on foreign investors.
The official release of the book, published by Oxford University Press, takes place on Friday, May 15, at the Brookings Institution in Washington, D.C. The release features a panel discussion, moderated by Eswar Prasad, Senior Fellow, Global Economy and Development at Brookings, and Tolani Senior Professor of Trade Policy at Cornell's Dyson School of Applied Economics and Management. The release event, titled "Where are the next emerging markets? Understanding investment frontiers amid global uncertainty," is free and open to the public. Registration is requested.
A transcript of the panel discussion will be available online, the day following the event.
Karolyi is an internationally-known scholar in the area of investment management, with a specialization in the study of international financial markets. He is executive editor of the Review of Financial Studies and was recently named one of the World's Most Influential Scientific Minds: 2014 by Thomson Reuters.
Prior Fellows
Cornell Connections
EMI Annual Conference
Cornell on Emerging Markets
Emerging Markets Report
EMI EMNC Ranking Lists
Folli Follie Group and Fosun International: A Global Partnership
Grupo Modelo: Trouble Brewing in the Global Beer Industry
India dials Africa – Bharti Airtel acquires Zain's African Assets
Oil and Natural Gas Company of India: Trouble Off the Vietnamese Coast in 2011
Pulkovo Airport Expansion Project
Spreadtrum Communications, 2011: Spreading into Mobile Telecommunications in China
White and Working Papers


Double-axle drive is used, providing good tafficability and comfortableness under complex road condition with reliable traveling performance.
Four-section boom of high strength steel structure and optimized sexangle cross section reduces weight significantly with higher safety rates.
Jib mounting angles are 0°, 15°, and 30° which ensures fast and convenient change-over between different operating conditions so as to improving working efficiency of the machine.
Self-developed controller SYMC especially for engineering machinery is configured. The adoption of CAN- bus full-digital network control technology ensures stable control signal, simple harness and high reliability. Timely feedback of data information can achieve the monitoring of the overall working status in real time.


You love your area rugs, right? Maybe you really don't when they need to be cleaned. Your area rugs might be genuine Oriental rugs or they may be Oriental styled rugs. They may be 100% wool. They may be polypropylene. They may be silk. They may be hand woven or machine woven. They may even be tufted, braided, or hooked area rugs. They may have a fringe. They may have a border or be serged on the edges. Whatever rugs you do have, yours share something in common with all area rugs: they live on the floor under foot traffic. Because they reside on the floor, they are subject to all sorts of soiling over time. The unique personality of many area rugs out there is that they can hide accumulated soiling from your eyes. We want you to love your rug, and THAT is what our business is all about.


text:
NYU Loses Lawsuit to Insurer Over Flood Damage Caused By Hurricane Sandy
Hurricane Sandy caused damage to NYU School of Medicine and NYU Langone. After years of litigation, NYU plans to appeal a lawsuit requesting more money from the insurer for the damages.
The aftermath of Hurricane Sandy was devastating for many. (via flickr.com)
Lachlan Hyatt, Staff Writer
NYU plans to appeal a recent lawsuit between the university and its insurer, FM Global, regarding payments for the damages caused by Hurricane Sandy. The Southern District Court of New York ruled in favor of FM Global on March 19.
"We are disappointment [sic] in the outcome and will appeal the decision," Senior Director of Institutional Communications at NYU Langone Medical Center Lisa Greiner said.
NYU alleged that the language of the policy it had with FM Global was vague and that the university was entitled to more compensation for the hurricane's damages. Judge Naomi Reice Buchwald ruled in favor of FM Global, stating the policy was clear and the insurance company paid the correct amount.
"For reasons set forth below," the court summary read, "FM's motion is granted in all material respects, while NYU's motion is denied in its entirety."
The lawsuit dates back to Oct. 29, 2015, when NYU filed a legal complaint regarding the 2012 flooding damages caused by Hurricane Sandy. Langone experienced major flooding, power outages and lost its main communications and emergency systems due to the storm. The Federal Emergency Management Agency granted Langone $1.1 billion in federal aid after the hurricane struck New York City. In the complaints, NYU argued that FM Global was withholding proper payments for flood damage around the NYU School of Medicine and NYU Langone.
According to the court briefings, NYU has an extensive insurance policy with FM Global that includes an overall coverage limit of $1.85 billion. In it, there is a flood sublimit policy covering the "superblock," an area that consists of land between First Avenue, 34th Street, FDR Drive and 30th Street. According to FM Global, the medical school and hospital are located within the superblock, and according to this policy, the university would be entitled to up to $40 million in compensation.
NYU argued that surrounding facilities were outside the "superblock," and so not included in the sublimit policy. The university asserted that the facilities were covered by the overall insurance policy, so NYU should have been entitled to more than the $40 million compensation that flood sublimit policy offered.
NYU also argued that they were entitled to more money because of faulty workmanship by contractors that resulted in further damages, which would entitle them to compensation outside of the flood sublimit policy.
FM Global claimed that all the buildings in the superblock were part of the flood sublimit and that the insurance company was not required to pay more.
"All of the claims NYU sought to add were untimely and meritless, rendering [the] amendment futile," the court Memorandum and Order said.
A motion for summary is made by a defendant when they feel the plaintiff has raised no legitimate point and asks the judge to rule in favor of the defendant before the trial, rather than going to court. FM Global's motion for summary was granted by the judge after a year of litigation. NYU still plans to appeal.
FM Global did not provide comment by the time of publication.
Email Lachlan Hyatt at [email protected]


Patrick "Pat" Donahue, who has served as Administrator of Methodist Hospital Union County (MHUC) since Sept. 1986, has announced he will retire as of Dec. 31, 2016.
During his three decades at the helm of MHUC, the hospital has experienced periods of growth and change. It operated as a 54-bed acute care hospital and long term care facility until Jan. 2001. At that time the facility became a Critical Access Hospital, and reduced the number of beds to 25 while maintaining 16 long-term care beds. In April 2008, the hospital closed the long-term care unit and converted to all private rooms. A 2003 addition provided much needed space for the laboratory, radiology and therapy services.
Methodist Hospital Union County was recognized in 2012-2014 as one of the Top 20 Critical Access Hospitals in the country and most recently it was certified as a Level 4 Trauma Facility, one of only nine such facilities in Kentucky.
Plans to build a new Emergency Department on the north side of the hospital are pending final review and approval with an anticipated start date of early spring 2017.
Gary R. Colberg, FACHE, President and CEO at Methodist Hospital, noted, "While my association with Methodist Hospital has been fairly brief when compared to Pat's 30 years, it quickly became apparent to me that his leadership inspires a constant focus on quality and his attention to detail ensures that excellence is the daily standard. This will be the legacy he leaves and there is no doubt he will be missed."
MHUC now has approximately 170 employees and a medical staff of six active staff specialists and over 50 others on courtesy staff. "The staff at Methodist Hospital Union County is an amazing group of highly trained, skilled, personable, loving, caring professionals I wouldn't trade for anything or anybody," Donahue noted.
The hospital offers 24-hour emergency service, a hospital-based ambulance service and a full range of diagnostic services ranging from Radiology (CT, ultrasound and mammography), Therapy Services (physical therapy, speech therapy and occupational therapy), cardiopulmonary, surgical services and laboratory.
The hospital is accredited by The Joint Commission, a national accreditation organization whose certification is viewed as a symbol of quality that reflects an organization's commitment to meeting certain performance standards.
Beyond providing leadership to the hospital, Donahue has served in several capacities with the Kentucky Hospital Association having served on the Board of Directors for several years and also as Chairman of the Board (2001-2002) and Chair of their political action committee, Circle of Friends. Additionally, he represented that organization as a delegate on the American Hospital Association's Region 3 Policy Board (2010-2012). Locally, Donahue serves on the boards of the Union County and the Green River District Health Departments and has been involved with the Union County Economic Development Foundation, Lion's Club, Kiwanis Club, United Way, YMCA and Relay For Life.
Donahue and his wife, Susan, are the parents of Tricia Page (Jeff), Tami Steward (Wade) and Patrick II (Tiffany), grandparents to Josh Marshall (Brandy), Jake Marshall (Kelsey), Molly Marshall, Alix Clements, Austin Clements, Patrick Donahue III and Everton Donahue and great-grandparents to Bristol and Brynnlee Marshall.
"When we were considering moving, we asked God to guide us to a place where we could grow closer together and closer to Him. We could never imagine how much He had in store for us when we arrived in this amazing community. It has been far more than we ever could hope for," he added.
Retirement events have been scheduled for Monday, Dec. 12, 5 to7 p.m. at the Breckinridge Golf Course located at 240 Whitaker Way, Morganfield, KY; Friday, Dec. 16, 5 to 7 p.m. at Methodist Hospital (Henderson) in the Classrooms; and Monday, Dec. 19, 5 to 7 p.m. at Methodist Hospital Union County in the Board Room. The public is invited to attend.


I took my old Hasselblad to the theater this weekend. Or more specifically, to see the Paul Taylor Dance Company at Lincoln Center. Even got to go back stage after to hang with my friends. Everyone who complains about the amount of noise at 3200 iso on modern digital SLRs needs to go shoot some film. Yikes.
I've got one pack of fuji instant film for my Hasselblad. I'm going to shoot a frame a day and post them for 10 days.First one a little overexposed, but a start. Trying to get used to it's exposure characteristics again.
So I decided to shoot film today. In fact I asked for a victim, um I meant subject, to come over and submit to getting all Avedon with me. Ilford XP2 Super for those interested, because I wanted to shoot B/W and get it processed before the end of the day in my neighborhood. And dammit if the results aren't really pretty. Argh, damn film. It's like the hot ex-girlfriend who lives in another state so you know it'll never work out, but you crave her anyway. Anyway, need to do a bit more of this. I also think a big part of it might be that pretty Zeiss glass and their T* coating. Damn those Germans and their excellent technology. Click to enlarge.
If anyone is interested, I've published a book of 36 of my images from Japan.
It's available 12x12" Hardcover for $85.


text:
Q: Why is my .NET web api controller not being found? We have been developing a .NET MVC application and recently are looking to integrate a webhook for an email service. I'll admit, this is my first attempt at webhooks and Web API, but it looks fairly straight forward.  I've followed several of the best practice and code examples from SendGrid and keep getting the "No type was found that matches the controller named 'xxxxxx'" message. I'm testing locally with Postman and can not get the controller(s) to be found. My initial goal is to test with the most basic configuration and just pass a POST to our web application, parse the data,  and return 'ok'.
 I've have enabled attribute routing in WebApiConfig.cs, have tested multiple different controller configurations, added "GlobalConfiguration.Configure(WebApiConfig.Register);" to my Global.asax.cs file, and made sure my classes are public.
Am I missing something? I've been troubleshooting this for several hours over multiple days and have not been able to figure it out.
In my postman request I am not sending any parameters, have the content type header set to jason, and am only including  a sample SendGrid event in the body.  I've verified the port number, and am not passing any authentication via http to our local application. The POST request is being sent to the following url: http://localhost:59998/api/sample
I've followed several stack overflow posts on similar issues and have made sure I'm not shooting myself in the foot (private classes, plural vs singular, api config settings).
My api config:
public static class WebApiConfig
{
    public static void Register(HttpConfiguration config)
    {
        // Web API routes
        config.MapHttpAttributeRoutes();

        config.Routes.MapHttpRoute(
            name: "DefaultApi",
            routeTemplate: "api/{controller}/{id}",
            defaults: new { id = RouteParameter.Optional }
            );
    }
}

I've removed most of the action methods to simplify the code for the controller. All I'm looking to do right now is to accept a POST, debug locally, and return ok.  I've tried with multiple different class types and have back-tracked to just the most simple options possible.
I have breakpoints set in my controller and I've been troubleshooting with multiple testing variables, which I've removed to clean up the code (example: int test = 0).
namespace StickerAppWeb.Controllers
{
    public class SampleController : ApiController
    {
        [HttpPost]
        public string Index()
        {
            return "API method";
        }

        public void Post()
        {
           //int test = 0; //breakpoint here
        }
    }
}

My Global config:
namespace StickerAppWeb
{
    public class MvcApplication : System.Web.HttpApplication
    {
        protected void Application_Start()
        {
            GlobalConfiguration.Configure(WebApiConfig.Register);

            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

        }
    }
}

Update1:
As a follow-up from yesterday, I also have this project published to Azure and get the same response from Postman when submitting a POST to the application in Azure. Is there any reason that the application is not finding that controller both locally, and in Azure?

A: Your code has no problem and should work. To send a post request to the api, you can follow the code below.
public string MYMethod()
{
   string str= Task.Run(() => GetFromWeb).Result;
   return str;
}

If you want to use the post method
private async Task<string> GetFromWeb()
{
    HttpClient client = new HttpClient();
    string Resturl =  "domainname/api/sample/Index";

    var response = await client.PostAsync(Resturl, null);
    var result = await response.Content.ReadAsStringAsync();
    return result;
}

If you want to use the get method
private async Task<string> GetFromWeb()
{
   var client = new HttpClient();
   var result = await client.GetAsync("domainname/api/sample/Index");
   var response = await result.Content.ReadAsStringAsync();
   return response;
}

redpajama_set_name: RedPajamaStackExchange


USM is delighted to announce that Dr. Robert Holden—Britain's foremost expert on happiness and author of 10 best-selling books—will be joining Drs. Ron & Mary Hulnick as Co-Facilitators in the SCPC Five-Day Lab from July 10–15, 2015!
Robert Holden, Ph.D., is a global thought leader on Happiness and Success Intelligence. His innovative work on psychology and spirituality has been featured on Oprah, Good Morning America, PBS, and the BBC. His clients include Virgin, IBM, The Body Shop, Accenture, Heinz, Rolls Royce, and Dove's "Real Beauty Campaign." He is the best-selling author of Happiness NOW!, Shift Happens!, Authentic Success, and Loveability.
USM's Soul-Centered Professional Coaching (SCPC) Program—facilitated by Lead Faculty Michelle Abend Bauman and Carolyn Freyer-Jones, with special guest faculty Steve Chandler—launches on January 23, 2015.
This Certificate Program in Soul-Centered Professional Coaching is a professional training Program for graduates of the USM Master's Degree Program in Spiritual Psychology. The intention of the Coaching Program is to prepare graduates as professional Soul-Centered Life Coaches in service to the evolution of consciousness worldwide.
Students who participate in this seven-month Program will build upon the learning and competencies they have already developed as graduates of the USM Master's Degree Program in Spiritual Psychology. Coach-specific training is offered in a blended format including monthly weekend classes at the University, Peer Coaching groups, coaching sessions, and a Five-Day Summer Lab.
Only 100 students will be accepted and a waiting list is anticipated.
Make your way in the world while Honoring Your Calling and being True to Who You Are!
If you have questions about how the SCPC Program can assist you in discovering and more fully expressing your Authentic Voice as a Soul-Centered Professional Coach, ask the Lead Coaching Faculty directly! Carolyn Freyer-Jones, Michelle Abend Bauman, and Executive Faculty Drs. Ron & Mary Hulnick will lead a lively conversation with recent SCPC graduates LIVE on October 20, 2014 from 6 p.m. – 7:15 p.m. (Pacific Time).
To begin your SCPC application process, click here. To schedule a more in-depth conversation, contact Veronica Alweiss at (310) 829-7402, ext. 117, or Lisa Peake at ext. 153.
To view the 2015 SCPC brochure, click here.


The astonishing digital imagery below, is part of 2019 AGV Corsa R New Release content which is sorted within Review, and posted at September 25th, 2018 09:18:36 AM by admin.
New has released information about its 2019 AGV Corsa R, which is all-new from the ground up. The 2019 AGV Corsa R has been a popular motorcycle since it was dramatically overhauled in 2014. 2019 AGV Corsa R Motocross Motorcycle Photo Gallery, Video, Specs, Features, Offers, Inventory and more.
ast month the revealed the all-new 2019 AGV Corsa R motocrosser, this month we get to ride it. Check out our first impression. Last year its big brother received a major update, so now the 2019 AGV Corsa R takes its turn. First impression test ride of the 2019 AGV Corsa R, which features an all-new engine with electric starter and a redesigned aluminum frame.
2019 AGV Corsa R, RACE, WINPowerful and reliable, and now with push-botton electric start and the Yamaha power tuner smartphone app. With an all-new engine, new frame, new bodywork, electric start, Power Tuner app and more, the 2019 AGV Corsa R is ready to roost the competition. The official product page of the 2019 AGV Corsa R. The page contains the technical specs, media for download and an overview of related accessories.
Here is essential tip on . We have the tops step for . Check it out for yourself! You can acquire 2019 AGV Corsa R Price guide and view the latest 2019 AGV Corsa R New Release in here.


text:
<?php

namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection;

use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
use Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;

abstract class FrameworkExtensionTest extends TestCase
{
    abstract protected function loadFromFile(ContainerBuilder $container, $file);

    public function testCsrfProtection()
    {
        $container = $this->createContainerFromFile('full');

        $this->assertTrue($container->getParameter('form.csrf_protection.enabled'));
        $this->assertEquals('_csrf', $container->getParameter('form.csrf_protection.field_name'));
        $this->assertEquals('s3cr3t', $container->getParameter('form.csrf_protection.secret'));
    }

    public function testEsi()
    {
        $container = $this->createContainerFromFile('full');

        $this->assertTrue($container->hasDefinition('esi'), '->registerEsiConfiguration() loads esi.xml');
    }

    public function testProfiler()
    {
        $container = $this->createContainerFromFile('full');

        $this->assertTrue($container->hasDefinition('profiler'), '->registerProfilerConfiguration() loads profiling.xml');
        $this->assertTrue($container->hasDefinition('data_collector.config'), '->registerProfilerConfiguration() loads collectors.xml');
        $arguments = $container->getDefinition('profiler_listener')->getArguments();
        $this->assertTrue($arguments[2]);
    }

    public function testRouter()
    {
        $container = $this->createContainerFromFile('full');

        $this->assertTrue($container->hasDefinition('router.real'), '->registerRouterConfiguration() loads routing.xml');
        $this->assertEquals($container->getParameter('kernel.root_dir').'/config/routing.xml', $container->getParameter('routing.resource'), '->registerRouterConfiguration() sets routing resource');
        $this->assertEquals('xml', $container->getParameter('router.options.resource_type'), '->registerRouterConfiguration() sets routing resource type');
        $this->assertTrue($container->getDefinition('router.cache_warmer')->hasTag('kernel.cache_warmer'), '->registerRouterConfiguration() tags router cache warmer if cache warming is set');
        $this->assertEquals('router.cached', (string) $container->getAlias('router'), '->registerRouterConfiguration() changes router alias to cached if cache warming is set');
    }

    /**
     * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
     */
    public function testRouterRequiresResourceOption()
    {
        $container = $this->createContainer();
        $loader = new FrameworkExtension();
        $loader->load(array(array('router' => true)), $container);
    }

    public function testSession()
    {
        $container = $this->createContainerFromFile('full');

        $this->assertTrue($container->hasDefinition('session'), '->registerSessionConfiguration() loads session.xml');
        $arguments = $container->getDefinition('session')->getArguments();
        $this->assertEquals('fr', $arguments[1]);
        $this->assertTrue($container->getDefinition('session')->hasMethodCall('start'));
        $this->assertEquals('Session', $container->getParameter('session.class'));
        $this->assertEquals('session.storage.native', (string) $container->getAlias('session.storage'));

        $options = $container->getParameter('session.storage.native.options');
        $this->assertEquals('_SYMFONY', $options['name']);
        $this->assertEquals(86400, $options['lifetime']);
        $this->assertEquals('/', $options['path']);
        $this->assertEquals('example.com', $options['domain']);
        $this->assertTrue($options['secure']);
        $this->assertTrue($options['httponly']);
    }

    public function testSessionPdo()
    {
        $container = $this->createContainerFromFile('session_pdo');
        $options = $container->getParameter('session.storage.pdo.options');

        $this->assertEquals('session.storage.pdo', (string) $container->getAlias('session.storage'));
        $this->assertEquals('table', $options['db_table']);
        $this->assertEquals('id', $options['db_id_col']);
        $this->assertEquals('data', $options['db_data_col']);
        $this->assertEquals('time', $options['db_time_col']);
    }

    public function testTemplating()
    {
        $container = $this->createContainerFromFile('full');

        $this->assertTrue($container->hasDefinition('templating.name_parser'), '->registerTemplatingConfiguration() loads templating.xml');
        $arguments = $container->getDefinition('templating.helper.assets')->getArguments();
        $this->assertEquals('SomeVersionScheme', $arguments[2]);
        $this->assertEquals(array('http://cdn.example.com'), $arguments[1]);

        $this->assertTrue($container->getDefinition('templating.cache_warmer.template_paths')->hasTag('kernel.cache_warmer'), '->registerTemplatingConfiguration() tags templating cache warmer if cache warming is set');
        $this->assertEquals('templating.locator.cached', (string) $container->getAlias('templating.locator'), '->registerTemplatingConfiguration() changes templating.locator alias to cached if cache warming is set');

        $this->assertEquals('templating.engine.delegating', (string) $container->getAlias('templating'), '->registerTemplatingConfiguration() configures delegating loader if multiple engines are provided');

        $this->assertEquals($container->getDefinition('templating.loader.chain'), $container->getDefinition('templating.loader.wrapped'), '->registerTemplatingConfiguration() configures loader chain if multiple loaders are provided');

        $this->assertEquals($container->getDefinition('templating.loader'), $container->getDefinition('templating.loader.cache'), '->registerTemplatingConfiguration() configures the loader to use cache');

        $arguments = $container->getDefinition('templating.loader.cache')->getArguments();
        $this->assertEquals('/path/to/cache', $arguments[1]);

        $this->assertEquals(array('php', 'twig'), $container->getParameter('templating.engines'), '->registerTemplatingConfiguration() sets a templating.engines parameter');
    }

    public function testTranslator()
    {
        $container = $this->createContainerFromFile('full');

        $this->assertTrue($container->hasDefinition('translator.real'), '->registerTranslatorConfiguration() loads translation.xml');
        $this->assertSame($container->getDefinition('translator.real'), $container->getDefinition('translator'), '->registerTranslatorConfiguration() redefines translator service from identity to real translator');

        $this->assertContains(
            realpath(__DIR__.'/../../Resources/translations/validators.fr.xliff'),
            array_map(function($resource) { return realpath($resource[1]); }, $container->getParameter('translation.resources')),
            '->registerTranslatorConfiguration() finds FrameworkExtension translation resources'
        );

        $calls = $container->getDefinition('translator.real')->getMethodCalls();
        $this->assertEquals('fr', $calls[0][1][0]);
    }

    /**
     * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
     */
    public function testTemplatingRequiresAtLeastOneEngine()
    {
        $container = $this->createContainer();
        $loader = new FrameworkExtension();
        $loader->load(array(array('templating' => null)), $container);
    }

    public function testValidation()
    {
        $container = $this->createContainerFromFile('full');

        $this->assertTrue($container->hasDefinition('validator'), '->registerValidationConfiguration() loads validator.xml');
        $this->assertTrue($container->hasDefinition('validator.mapping.loader.xml_files_loader'), '->registerValidationConfiguration() defines the XML loader');
        $this->assertTrue($container->hasDefinition('validator.mapping.loader.yaml_files_loader'), '->registerValidationConfiguration() defines the YAML loader');

        $xmlLoaderArgs = $container->getDefinition('validator.mapping.loader.xml_files_loader')->getArguments();
        $xmlFiles = $xmlLoaderArgs[0];

        $this->assertContains(
            realpath(__DIR__.'/../../../../Component/Form/Resources/config/validation.xml'),
            array_map('realpath', $xmlFiles),
            '->registerValidationConfiguration() adds Form validation.xml to XML loader'
        );
    }

    public function testValidationAnnotations()
    {
        $container = $this->createContainerFromFile('validation_annotations');

        $this->assertTrue($container->hasDefinition('validator.mapping.loader.annotation_loader'), '->registerValidationConfiguration() defines the annotation loader');

        $arguments = $container->getDefinition('validator.mapping.loader.annotation_loader')->getArguments();
        $this->assertEquals('Symfony\\Component\\Validator\\Constraints\\', $arguments[0]['assert'], '->registerValidationConfiguration() loads the default "assert" prefix');
        $this->assertEquals('Application\\Validator\\Constraints\\', $arguments[0]['app'], '->registerValidationConfiguration() loads custom validation namespaces');
    }

    public function testValidationPaths()
    {
        require_once __DIR__ . "/Fixtures/TestBundle/TestBundle.php";

        $container = $this->createContainerFromFile('validation_annotations', array(
            'kernel.bundles' => array('TestBundle' => 'Symfony\Bundle\FrameworkBundle\Tests\TestBundle'),
        ));

        $yamlArgs = $container->getDefinition('validator.mapping.loader.yaml_files_loader')->getArguments();
        $this->assertEquals(1, count($yamlArgs[0]));
        $this->assertStringEndsWith('TestBundle/Resources/config/validation.yml', $yamlArgs[0][0]);

        $xmlArgs = $container->getDefinition('validator.mapping.loader.xml_files_loader')->getArguments();
        $this->assertEquals(2, count($xmlArgs[0]));
        $this->assertStringEndsWith('Component/Form/Resources/config/validation.xml', $xmlArgs[0][0]);
        $this->assertStringEndsWith('TestBundle/Resources/config/validation.xml', $xmlArgs[0][1]);
    }

    protected function createContainer(array $data = array())
    {
        return new ContainerBuilder(new ParameterBag(array_merge(array(
            'kernel.bundles'          => array('FrameworkBundle' => 'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle'),
            'kernel.cache_dir'        => __DIR__,
            'kernel.compiled_classes' => array(),
            'kernel.debug'            => false,
            'kernel.environment'      => 'test',
            'kernel.name'             => 'kernel',
            'kernel.root_dir'         => __DIR__,
        ), $data)));
    }

    protected function createContainerFromFile($file, $data = array())
    {
        $container = $this->createContainer($data);
        $container->registerExtension(new FrameworkExtension());
        $this->loadFromFile($container, $file);

        $container->getCompilerPassConfig()->setOptimizationPasses(array());
        $container->getCompilerPassConfig()->setRemovingPasses(array());
        $container->compile();

        return $container;
    }
}

redpajama_set_name: RedPajamaGithub


text:
package fetch

// The following code was sourced and modified from the
// https://github.com/andrew-d/goscrape package governed by MIT license.

import (
	"bytes"
	"context"
	"encoding/json"
	"errors"
	"fmt"
	"io"
	"io/ioutil"
	"math"
	"net/http"
	"net/http/cookiejar"
	"net/url"
	"strconv"
	"strings"
	"time"

	"github.com/mafredri/cdp"
	"github.com/mafredri/cdp/devtool"
	"github.com/mafredri/cdp/protocol/dom"
	"github.com/mafredri/cdp/protocol/network"
	"github.com/mafredri/cdp/protocol/page"
	"github.com/mafredri/cdp/protocol/runtime"
	"github.com/mafredri/cdp/rpcc"
	"github.com/slotix/dataflowkit/errs"
	"github.com/spf13/viper"
	"golang.org/x/net/publicsuffix"
	"golang.org/x/sync/errgroup"
)

//Type represents types of fetcher
type Type string

//Fetcher types
const (
	//Base fetcher is used for downloading html web page using Go standard library's http
	Base Type = "Base"
	//Headless chrome is used to download content from JS driven web pages
	Chrome = "Chrome"
)

// Fetcher is the interface that must be satisfied by things that can fetch
// remote URLs and return their contents.
//
// Note: Fetchers may or may not be safe to use concurrently.  Please read the
// documentation for each fetcher for more details.
type Fetcher interface {
	//  Fetch is called to retrieve HTML content of a document from the remote server.
	Fetch(request Request) (io.ReadCloser, error)
	getCookieJar() http.CookieJar
	setCookieJar(jar http.CookieJar)
	getCookies(u *url.URL) ([]*http.Cookie, error)
	setCookies(u *url.URL, cookies []*http.Cookie) error
}

//Request struct contains request information sent to  Fetchers
type Request struct {
	// Type defines Fetcher type. It may be "chrome" or "base". Defaults to "base".
	Type string `json:"type"`
	//	URL to be retrieved
	URL string `json:"url"`
	//	HTTP method : GET, POST
	Method string
	// FormData is a string value for passing formdata parameters.
	//
	// For example it may be used for processing pages which require authentication
	//
	// Example:
	//
	// "auth_key=880ea6a14ea49e853634fbdc5015a024&referer=http%3A%2F%2Fexample.com%2F&ips_username=user&ips_password=userpassword&rememberMe=1"
	//
	FormData string `json:"formData,omitempty"`
	//UserToken identifies user to keep personal cookies information.
	UserToken string `json:"userToken"`
	// Actions contains the list of action we have to perform on page
	Actions string `json:"actions"`
}

// BaseFetcher is a Fetcher that uses the Go standard library's http
// client to fetch URLs.
type BaseFetcher struct {
	client *http.Client
}

// ChromeFetcher is used to fetch Java Script rendeded pages.
type ChromeFetcher struct {
	cdpClient *cdp.Client
	client    *http.Client
	cookies   []*http.Cookie
}

//newFetcher creates instances of Fetcher for downloading a web page.
func newFetcher(t Type) Fetcher {
	switch t {
	case Base:
		return newBaseFetcher()
	case Chrome:
		return newChromeFetcher()
	default:
		logger.Panic(fmt.Sprintf("unhandled type: %#v", t))
	}
	panic("unreachable")
}

// newBaseFetcher creates instances of newBaseFetcher{} to fetch
// a page content from regular websites as-is
// without running js scripts on the page.
func newBaseFetcher() *BaseFetcher {
	var client *http.Client
	proxy := viper.GetString("PROXY")
	if len(proxy) > 0 {
		proxyURL, err := url.Parse(proxy)
		if err != nil {
			logger.Error(err.Error())
			return nil
		}
		transport := &http.Transport{Proxy: http.ProxyURL(proxyURL)}
		client = &http.Client{Transport: transport}
	} else {
		client = &http.Client{}
	}
	f := &BaseFetcher{
		client: client,
	}
	jarOpts := &cookiejar.Options{PublicSuffixList: publicsuffix.List}
	var err error
	f.client.Jar, err = cookiejar.New(jarOpts)
	if err != nil {
		return nil
	}
	return f
}

// Fetch retrieves document from the remote server.
func (bf *BaseFetcher) Fetch(request Request) (io.ReadCloser, error) {
	resp, err := bf.response(request)
	if err != nil {
		return nil, err
	}
	//Converting fetched content to UTF-8
	utf8Res, _, _, err := readerToUtf8Encoding(resp.Body)
	if err != nil {
		return nil, err
	}
	return utf8Res, nil
}

//Response return response after document fetching using BaseFetcher
func (bf *BaseFetcher) response(r Request) (*http.Response, error) {
	//URL validation
	if _, err := url.ParseRequestURI(r.getURL()); err != nil {
		return nil, err
	}
	var err error
	var req *http.Request

	if r.FormData == "" {
		req, err = http.NewRequest(r.Method, r.URL, nil)
		if err != nil {
			return nil, err
		}
	} else {
		//if form data exists send POST request
		formData := parseFormData(r.FormData)
		req, err = http.NewRequest("POST", r.URL, strings.NewReader(formData.Encode()))
		if err != nil {
			return nil, err
		}
		req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
		req.Header.Add("Content-Length", strconv.Itoa(len(formData.Encode())))
	}
	//TODO: Add UA to requests
	//req.Header.Add("User-Agent", "Dataflow kit - https://github.com/slotix/dataflowkit")
	return bf.doRequest(req)
}

func (bf *BaseFetcher) doRequest(req *http.Request) (*http.Response, error) {
	resp, err := bf.client.Do(req)
	if err != nil {
		return nil, err
	}
	switch resp.StatusCode {
	case 200:
		return resp, nil

	default:
		return nil, errs.StatusError{
			resp.StatusCode,
			errors.New(http.StatusText(resp.StatusCode)),
		}
	}
}

func (bf *BaseFetcher) getCookieJar() http.CookieJar { //*cookiejar.Jar {
	return bf.client.Jar
}

func (bf *BaseFetcher) setCookieJar(jar http.CookieJar) {

	bf.client.Jar = jar
}

func (bf *BaseFetcher) getCookies(u *url.URL) ([]*http.Cookie, error) {
	return bf.client.Jar.Cookies(u), nil
}

func (bf *BaseFetcher) setCookies(u *url.URL, cookies []*http.Cookie) error {
	bf.client.Jar.SetCookies(u, cookies)
	return nil
}

// parseFormData is used for converting formdata string to url.Values type
func parseFormData(fd string) url.Values {
	//"auth_key=880ea6a14ea49e853634fbdc5015a024&referer=http%3A%2F%2Fexample.com%2F&ips_username=usr&ips_password=passw&rememberMe=0"
	formData := url.Values{}
	pairs := strings.Split(fd, "&")
	for _, pair := range pairs {
		kv := strings.Split(pair, "=")
		formData.Add(kv[0], kv[1])
	}
	return formData
}

// Static type assertion
var _ Fetcher = &BaseFetcher{}

// NewChromeFetcher returns ChromeFetcher
func newChromeFetcher() *ChromeFetcher {
	var client *http.Client
	proxy := viper.GetString("PROXY")
	if len(proxy) > 0 {
		proxyURL, err := url.Parse(proxy)
		if err != nil {
			logger.Error(err.Error())
			return nil
		}
		transport := &http.Transport{Proxy: http.ProxyURL(proxyURL)}
		client = &http.Client{Transport: transport}
	} else {
		client = &http.Client{}
	}
	f := &ChromeFetcher{
		client: client,
	}
	return f
}

// LogCodec captures the output from writing RPC requests and reading
// responses on the connection. It implements rpcc.Codec via
// WriteRequest and ReadResponse.
type LogCodec struct{ conn io.ReadWriter }

// WriteRequest marshals v into a buffer, writes its contents onto the
// connection and logs it.
func (c *LogCodec) WriteRequest(req *rpcc.Request) error {
	var buf bytes.Buffer
	if err := json.NewEncoder(&buf).Encode(req); err != nil {
		return err
	}
	fmt.Printf("SEND: %s", buf.Bytes())
	_, err := c.conn.Write(buf.Bytes())
	if err != nil {
		return err
	}
	return nil
}

// ReadResponse unmarshals from the connection into v whilst echoing
// what is read into a buffer for logging.
func (c *LogCodec) ReadResponse(resp *rpcc.Response) error {
	var buf bytes.Buffer
	if err := json.NewDecoder(io.TeeReader(c.conn, &buf)).Decode(resp); err != nil {
		return err
	}
	fmt.Printf("RECV: %s\n", buf.String())
	return nil
}

// Fetch retrieves document from the remote server. It returns web page content along with cache and expiration information.
func (f *ChromeFetcher) Fetch(request Request) (io.ReadCloser, error) {
	//URL validation
	if _, err := url.ParseRequestURI(strings.TrimSpace(request.getURL())); err != nil {
		return nil, err
	}
	ctx, cancel := context.WithCancel(context.Background())
	defer cancel()

	devt := devtool.New(viper.GetString("CHROME"), devtool.WithClient(f.client))
	//https://github.com/mafredri/cdp/issues/60
	//pt, err := devt.Get(ctx, devtool.Page)
	pt, err := devt.Create(ctx)
	if err != nil {
		return nil, err
	}
	var conn *rpcc.Conn
	if viper.GetBool("CHROME_TRACE") {
		newLogCodec := func(conn io.ReadWriter) rpcc.Codec {
			return &LogCodec{conn: conn}
		}
		// Connect to WebSocket URL (page) that speaks the Chrome Debugging Protocol.
		conn, err = rpcc.DialContext(ctx, pt.WebSocketDebuggerURL, rpcc.WithCodec(newLogCodec))
	} else {
		conn, err = rpcc.DialContext(ctx, pt.WebSocketDebuggerURL)
	}
	if err != nil {
		fmt.Println(err)
		return nil, err
	}
	defer conn.Close() // Cleanup.
	defer devt.Close(ctx, pt)
	// Create a new CDP Client that uses conn.
	f.cdpClient = cdp.NewClient(conn)

	if err = runBatch(
		// Enable all the domain events that we're interested in.
		func() error { return f.cdpClient.DOM.Enable(ctx) },
		func() error { return f.cdpClient.Network.Enable(ctx, nil) },
		func() error { return f.cdpClient.Page.Enable(ctx) },
		func() error { return f.cdpClient.Runtime.Enable(ctx) },
	); err != nil {
		return nil, err
	}

	err = f.loadCookies()
	if err != nil {
		return nil, err
	}
	domLoadTimeout := 60 * time.Second
	if request.FormData == "" {
		err = f.navigate(ctx, f.cdpClient.Page, "GET", request.getURL(), "", domLoadTimeout)
	} else {
		formData := parseFormData(request.FormData)
		err = f.navigate(ctx, f.cdpClient.Page, "POST", request.getURL(), formData.Encode(), domLoadTimeout)
	}
	if err != nil {
		return nil, err
	}

	if err := f.runActions(ctx, request.Actions); err != nil {
		logger.Warn(err.Error())
	}

	u, err := url.Parse(request.getURL())
	if err != nil {
		return nil, err
	}
	f.cookies, err = f.saveCookies(u, &ctx)
	if err != nil {
		return nil, err
	}

	// Fetch the document root node. We can pass nil here
	// since this method only takes optional arguments.
	doc, err := f.cdpClient.DOM.GetDocument(ctx, nil)
	if err != nil {
		return nil, err
	}

	// Get the outer HTML for the page.
	result, err := f.cdpClient.DOM.GetOuterHTML(ctx, &dom.GetOuterHTMLArgs{
		NodeID: &doc.Root.NodeID,
	})
	if err != nil {
		return nil, err
	}
	readCloser := ioutil.NopCloser(strings.NewReader(result.OuterHTML))
	return readCloser, nil

}

func (f *ChromeFetcher) runActions(ctx context.Context, actionsJSON string) error {
	if len(actionsJSON) == 0 {
		return nil
	}
	acts := []map[string]json.RawMessage{}
	err := json.Unmarshal([]byte(actionsJSON), &acts)
	if err != nil {
		return err
	}
	for _, actionMap := range acts {
		for actionType, params := range actionMap {
			action, err := NewAction(actionType, params)
			if err == nil {
				return action.Execute(ctx, f)
			}
		}
	}
	return nil
}

func (f *ChromeFetcher) setCookieJar(jar http.CookieJar) {
	f.client.Jar = jar
}

func (f *ChromeFetcher) getCookieJar() http.CookieJar {
	return f.client.Jar
}

// Static type assertion
var _ Fetcher = &ChromeFetcher{}

// navigate to the URL and wait for DOMContentEventFired. An error is
// returned if timeout happens before DOMContentEventFired.
func (f *ChromeFetcher) navigate(ctx context.Context, pageClient cdp.Page, method, url string, formData string, timeout time.Duration) error {
	defer time.Sleep(750 * time.Millisecond)

	ctxTimeout, cancelTimeout := context.WithTimeout(context.Background(), timeout)

	// Make sure Page events are enabled.
	err := pageClient.Enable(ctxTimeout)
	if err != nil {
		return err
	}

	// Navigate to GitHub, block until ready.
	loadEventFired, err := pageClient.LoadEventFired(ctxTimeout)
	if err != nil {
		return err
	}
	defer loadEventFired.Close()

	loadingFailed, err := f.cdpClient.Network.LoadingFailed(ctxTimeout)
	if err != nil {
		return err
	}
	defer loadingFailed.Close()

	// exceptionThrown, err := f.cdpClient.Runtime.ExceptionThrown(ctxTimeout)
	// if err != nil {
	// 	return err
	// }
	//defer exceptionThrown.Close()

	if method == "GET" {
		_, err = pageClient.Navigate(ctxTimeout, page.NewNavigateArgs(url))
		if err != nil {
			return err
		}
	} else {
		/* ast := "*" */
		pattern := network.RequestPattern{URLPattern: &url}
		patterns := []network.RequestPattern{pattern}

		f.cdpClient.Network.SetCacheDisabled(ctxTimeout, network.NewSetCacheDisabledArgs(true))

		interArgs := network.NewSetRequestInterceptionArgs(patterns)
		err = f.cdpClient.Network.SetRequestInterception(ctxTimeout, interArgs)
		if err != nil {
			return err
		}

		kill := make(chan bool)
		go f.interceptRequest(ctxTimeout, url, formData, kill)
		_, err = pageClient.Navigate(ctxTimeout, page.NewNavigateArgs(url))
		if err != nil {
			return err
		}
		kill <- true
	}
	select {
	// case <-exceptionThrown.Ready():
	// 	ev, err := exceptionThrown.Recv()
	// 	if err != nil {
	// 		return err
	// 	}
	// 	return errs.StatusError{400, errors.New(ev.ExceptionDetails.Error())}
	case <-loadEventFired.Ready():
		_, err = loadEventFired.Recv()
		if err != nil {
			return err
		}
	case <-loadingFailed.Ready():
		reply, err := loadingFailed.Recv()
		if err != nil {
			return err
		}
		canceled := reply.Canceled != nil && *reply.Canceled
		if !canceled && reply.Type == network.ResourceTypeDocument {
			return errs.StatusError{400, errors.New(reply.ErrorText)}
		}
	case <-ctx.Done():
		cancelTimeout()
		return nil /*
			case <-ctxTimeout.Done():
				return errs.StatusError{400, errors.New("Fetch timeout")} */
	}
	return nil
}

func (f *ChromeFetcher) setCookies(u *url.URL, cookies []*http.Cookie) error {
	f.cookies = cookies
	return nil
}

func (f *ChromeFetcher) loadCookies() error {
	/* 	u, err := url.Parse(cookiesURL)
	   	if err != nil {
	   		return err
	   	} */
	for _, c := range f.cookies {
		c1 := network.SetCookieArgs{
			Name:  c.Name,
			Value: c.Value,
			Path:  &c.Path,
			/* Expires:  expire, */
			Domain:   &c.Domain,
			HTTPOnly: &c.HttpOnly,
			Secure:   &c.Secure,
		}
		if !c.Expires.IsZero() {
			duration := c.Expires.Sub(time.Unix(0, 0))
			c1.Expires = network.TimeSinceEpoch(duration / time.Second)
		}
		_, err := f.cdpClient.Network.SetCookie(context.Background(), &c1)
		if err != nil {
			return err
		}
	}
	return nil
}

func (f *ChromeFetcher) getCookies(u *url.URL) ([]*http.Cookie, error) {
	return f.cookies, nil
}

func (f *ChromeFetcher) saveCookies(u *url.URL, ctx *context.Context) ([]*http.Cookie, error) {
	ncookies, err := f.cdpClient.Network.GetCookies(*ctx, &network.GetCookiesArgs{URLs: []string{u.String()}})
	if err != nil {
		return nil, err
	}
	cookies := []*http.Cookie{}
	for _, c := range ncookies.Cookies {

		c1 := http.Cookie{
			Name:  c.Name,
			Value: c.Value,
			Path:  c.Path,
			/* Expires:  expire, */
			Domain:   c.Domain,
			HttpOnly: c.HTTPOnly,
			Secure:   c.Secure,
		}
		if c.Expires > -1 {
			sec, dec := math.Modf(c.Expires)
			expire := time.Unix(int64(sec), int64(dec*(1e9)))
			/* logger.Info(expire.String())
			logger.Info(expire.Format("2006-01-02 15:04:05")) */
			c1.Expires = expire
		}
		cookies = append(cookies, &c1)
		domain := string(c1.Domain)
		Url := u.String()
		f.cdpClient.Network.DeleteCookies(*ctx, &network.DeleteCookiesArgs{Name: c.Name, Domain: &domain, URL: &Url, Path: &c1.Path})
	}
	return cookies, nil
}

func (f *ChromeFetcher) interceptRequest(ctx context.Context, originURL string, formData string, kill chan bool) {
	var sig = false
	cl, err := f.cdpClient.Network.RequestIntercepted(ctx)
	if err != nil {
		panic(err)
	}
	defer cl.Close()
	for {
		if sig {
			return
		}
		select {
		case <-cl.Ready():
			r, err := cl.Recv()
			if err != nil {
				logger.Error(err.Error())
				sig = true
				continue
			}

			lengthFormData := len(formData)
			if lengthFormData > 0 && r.Request.URL == originURL && r.RedirectURL == nil {

				interceptedArgs := network.NewContinueInterceptedRequestArgs(r.InterceptionID).
					SetMethod("POST").
					SetPostData(formData)

				headers, _ := json.Marshal(map[string]string{
					"Content-Type":   "application/x-www-form-urlencoded",
					"Content-Length": strconv.Itoa(lengthFormData),
				})
				interceptedArgs.Headers = headers

				if err = f.cdpClient.Network.ContinueInterceptedRequest(ctx, interceptedArgs); err != nil {
					logger.Error(err.Error())
					sig = true
					continue
				}
			} else {
				interceptedArgs := network.NewContinueInterceptedRequestArgs(r.InterceptionID)
				if r.ResourceType == network.ResourceTypeImage || r.ResourceType == network.ResourceTypeStylesheet || isExclude(r.Request.URL) {
					interceptedArgs.SetErrorReason(network.ErrorReasonAborted)
				}
				if err = f.cdpClient.Network.ContinueInterceptedRequest(ctx, interceptedArgs); err != nil {
					logger.Error(err.Error())
					sig = true
					continue
				}
				continue
			}
		case <-kill:
			sig = true
			break
		}
	}
}

func isExclude(origin string) bool {
	excludeRes := viper.GetStringSlice("EXCLUDERES")
	for _, res := range excludeRes {
		if strings.Index(origin, res) != -1 {
			return true
		}
	}
	return false
}

func (f ChromeFetcher) RunJSFromFile(ctx context.Context, path string, entryPointFunction string) error {
	exp, err := ioutil.ReadFile(path)
	if err != nil {
		panic(err)
	}

	exp = append(exp, entryPointFunction...)

	compileReply, err := f.cdpClient.Runtime.CompileScript(ctx, &runtime.CompileScriptArgs{
		Expression:    string(exp),
		PersistScript: true,
	})
	if err != nil {
		panic(err)
	}
	awaitPromise := true

	_, err = f.cdpClient.Runtime.RunScript(ctx, &runtime.RunScriptArgs{
		ScriptID:     *compileReply.ScriptID,
		AwaitPromise: &awaitPromise,
	})
	return err
}

// removeNodes deletes all provided nodeIDs from the DOM.
// func removeNodes(ctx context.Context, domClient cdp.DOM, nodes ...dom.NodeID) error {
// 	var rmNodes []runBatchFunc
// 	for _, id := range nodes {
// 		arg := dom.NewRemoveNodeArgs(id)
// 		rmNodes = append(rmNodes, func() error { return domClient.RemoveNode(ctx, arg) })
// 	}
// 	return runBatch(rmNodes...)
// }

// runBatchFunc is the function signature for runBatch.
type runBatchFunc func() error

// runBatch runs all functions simultaneously and waits until
// execution has completed or an error is encountered.
func runBatch(fn ...runBatchFunc) error {
	eg := errgroup.Group{}
	for _, f := range fn {
		eg.Go(f)
	}
	return eg.Wait()
}

//GetURL returns URL to be fetched
func (req Request) getURL() string {
	return strings.TrimRight(strings.TrimSpace(req.URL), "/")
}

// Host returns Host value from Request
func (req Request) Host() (string, error) {
	u, err := url.Parse(req.getURL())
	if err != nil {
		return "", err
	}
	return u.Host, nil
}


text:
Q: RegExp only finding first value So I'm making a em to px convertor that when you paste css in the "px" textarea, it converts every px value to em.  It works if you put in something like "padding: 10px;" and then convert, but if you put in "padding: 10px 0 40px 0;" it only changes "10px" to "10em".  I want it to convert all of them, not just stop at the first.  Any ideas?
Here's the jsFiddle :: http://jsfiddle.net/CJamj/
        function pxToEm(){
        var px = document.getElementById("px"),
            em = document.getElementById("em"),
            parent = document.getElementById("parent-font-size");

        var pxVal = px.value.match(/\d+/g);
        var pxToEm = 1 / parent.value * pxVal;
        var pxToEmFixed = pxToEm.toFixed(3);
        var pxToEmAnswer = px.value.replace(pxVal, pxToEmFixed).replace("px", "em");

        em.value = pxToEmAnswer;
    }

A: Javascript replace() method searches a first string for a specified value and returns a new string where the specified values are replaced. There is no such method replaceAll() exists in javascript. So to achieve this we have to use the regular expressions for searching within the string.
The easiest way is, use a regular expression with "g" flag to replace all instances:
Try this:
px.value.replace(pxVal, pxToEmFixed).replace(/px/g, "em")

Converts px to em:
function pxToEm(){
    var px = document.getElementById("px"),
    em = document.getElementById("em"),
    parent = document.getElementById("parent-font-size");

    var pxVal = px.value.match(/\d+px/g).toString().split(',');
    var lengthValue = pxVal.length;

    var pxToEmAnswer;
    for(var i = 0; i < lengthValue; i++)
    {
        var valueToBeReplced = pxVal[i].replace(/px/g, "");;
        var valueToBeReplcedExp = new RegExp(valueToBeReplced, "ig");
        pxToEmAnswer = px.value.replace(valueToBeReplcedExp,  (1/parseInt(parent.value) * valueToBeReplced).toFixed(3));
    }
    em.value = pxToEmAnswer.replace(/px/g, "em");
}

Fiddle


text:
Constitution (Consequential Provisions) Act, 1937
Number 40 of 1937.
CONSTITUTION (CONSEQUENTIAL PROVISIONS) ACT, 1937.
ARRANGEMENT OF SECTIONS
Commencement.
General adaptation of the expressions "Saorstát Eireann" and "Irish Free State".
Adaptation of references to the President of the Executive Council and his Department.
General adaptation of references to officials and authorities.
Power of the Government to make special adaptations and modifications.
The Central Fund and the Exchequer.
Consequential provisions in respect of the Central Fund.
The seal of the Government.
Temporary user of existing official seals.
Revivor of enactments relating to Seanad Eireann.
Adaptations in relation to the first assembly of Seanad Eireann.
Temporary user of existing forms of official documents.
Convictions by the Constitution (Special Powers) Tribunal.
Short title.
Acts Referred to
Seanad Eireann (Consequential Provisions) Act, 1936
No. 26 of 1936
Electoral Act, 1923
Seanad Electoral Act, 1928
Seanad Bye-elections Act, 1930
No. 1 of 1930
Electoral (Amendment) Act, 1933
AN ACT TO MAKE DIVERS PROVISIONS CONSEQUENTIAL ON OR INCIDENTAL TO THE COMING INTO OPERATION OF THE CONSTITUTION OF IRELAND LATELY ENACTED BY THE PEOPLE. [17th December, 1937.]
BE IT ENACTED BY THE OIREACHTAS OF SAORSTÁT EIREANN AS FOLLOWS:—
1.—This Act shall come into operation immediately after the coming into operation of the Constitution of Ireland lately enacted by the People.
2.—(1) In every statute and statutory instrument in force immediately prior to the date of the coming into operation of the Constitution and continued in force thereafter by section 1 of Article 50 of the Constitution, the expressions "Saorstát Eireann" and "Irish Free State" (whether such expressions are expressed in such statute or statutory instrument by virtue of original enactment or by virtue of subsequent amendment or modification or are implied therein by virtue of a general or a specific adaptation or interpretation) shall—
(a) in relation to anything done or to be done or an event occurring or a period or series of periods ending before the coming into operation of the Constitution, be construed and have effect (unless the context otherwise requires) in like manner as they respectively were construed and had effect immediately prior to the date of the coming into operation of the Constitution, and
(b) in relation to anything done or to be done or an event occurring or a period or series of periods beginning after the coming into operation of the Constitution, be construed and have effect (unless the context otherwise requires) as meaning Ireland, and
(c) in relation to anything done or to be done or an event occurring partly before and partly after the coming into operation of the Constitution or in relation to a period beginning before and ending after, or a series of periods the first of which begins before and the last of which ends after, the coming into operation of the Constitution, be construed and have effect (unless the context otherwise requires)—
(i) in regard to so much of such thing as is done or to be done and so much of such event as occurs and such portion of such period or series of periods as is prior to the coming into operation of the Constitution, in like manner as they respectively were construed and had effect immediately prior to the date of the coming into operation of the Constitution, and
(ii) in regard to so much of such thing as is done or to be done and so much of such event as occurs and such portion of such period or series of periods as is subsequent to the coming into operation of the Constitution, as meaning Ireland.
(2) No adaptation of the expression "Saorstát Eireann" or the expression "Irish Free State" by virtue of the foregoing sub-section of this section shall operate so as to extend the meaning of such expression as to include therein any area which is, for the time being, not within the area and extent of application of the laws enacted by the Oireachtas.
(3) Neither paragraph (c) of sub-section (1) of this section nor any adaptation by virtue of that paragraph shall operate to cause a break in or otherwise to prejudice the continuity of any such thing, event, period, or series of periods as is mentioned in the said paragraph.
3.—(1) From and after the coming into operation of the Constitution, the Department of the President of the Executive Council shall be styled and known as the Department of the Taoiseach and the Taoiseach shall be the Minister who is head of that Department.
(2) Every mention or reference in any statute or statutory instrument in force immediately prior to the date of the coming into operation of the Constitution and continued in force thereafter by section 1 of Article 50 of the Constitution (whether such mention or reference is expressed in such statute or statutory instrument by virtue of original enactment or by virtue of subsequent amendment or modification or is implied therein by virtue of a general or a specific adaptation or interpretation) of or to the President of the Executive Council or of or to the Department of the President of the Executive Council shall,—
(a) in relation to anything done or to be done or an event occurring before the coming into operation of the Constitution, be construed and have effect (unless the context otherwise requires) in like manner as it was construed and had effect immediately prior to the date of the coming into operation of the Constitution, and
(b) in relation to anything done or to be done or an event occurring after the coming into operation of the Constitution, be construed and have effect, unless the context otherwise requires, as a mention of or reference to (as the case may require) the Taoiseach or the Department of the Taoiseach.
(3) All moneys provided by the Oireachtas of Saorstát Eireann for the purposes of the Department of the President of the Executive Council during the financial year which began on the 1st day of April, 1937, shall be deemed to have been so provided also for the purposes of the Department of the Taoiseach during the said financial year and shall accordingly be applicable during the said financial year for the purposes of either the Department of the President of the Executive Council or the Department of the Taoiseach, as circumstances may require.
4.—(1) Every mention or reference in any statute or statutory instrument in force immediately prior to the date of the coming into operation of the Constitution and continued in force thereafter by section 1 of Article 50 of the Constitution (whether such reference is expressed in such statute or statutory instrument by virtue of original enactment or by virtue of subsequent amendment or modification or is implied therein by virtue of a general or a specific adaptation or interpretation) of or to any official person or body or any governmental authority, whether legislative, judicial, or executive, established by or under or functioning under or by virtue of the Constitution of Saorstát Eireann shall,—
(b) in relation to anything done or to be done or an event occurring after the coming into operation of the Constitution, be construed and have effect (unless the context otherwise requires) as a mention of or reference to the official person or body or the governmental authority (as the case may be) established by or under or functioning under or by virtue of the Constitution who or which corresponds to or has the like functions as such official person or body or governmental authority established by or under or functioning under or by virtue of the Constitution of Saorstát Eireann.
(2) If any question shall arise as to the official person or body or governmental authority established by or under or functioning under or by virtue of the Constitution who or which corresponds for the purpose of this section to a particular official person or body or a particular governmental authority established by or under or functioning under or by virtue of the Constitution of Saorstát Eireann, such question shall be determined by the Taoiseach whose decision thereon shall be final.
(3) The general adaptations made by this section shall be subject and without prejudice to all specific adaptations made by or under any other section of this Act, and in the event of any inconsistency between such general adaptations and any such specific adaptation, such specific adaptation shall prevail.
5.—(1) For the purpose of ensuring that the laws in force in Saorstát Eireann immediately prior to the date of the coming into operation of the Constitution shall continue to be of full force and effect in accordance with and to the extent provided by Article 50 of the Constitution, the Government may by order make all such general or specific adaptations and modifications of any statute or statutory instrument continued in force by the said Article 50 as shall, in the opinion of the Government, be necessary for the purpose aforesaid.
(2) A specific adaptation or modification made under this section may, where in the opinion of the Government the circumstances so require, be inconsistent with any adaptation or modification, whether specific or general, made by any other section of this Act, and in every such case the specific adaptation or modification made under this section shall prevail.
(3) Every order made by the Government under this section shall, unless such order otherwise provides, have and be deemed always to have had effect as from the commencement of this Act.
(4) Every order made by the Government under this section shall be laid before each House of the Oireachtas as soon as conveniently may be after it is made, and if either such House shall, within twenty-one days on which such House has sat after such order is laid before it, pass a resolution annulling such order, such order shall be annulled accordingly but without prejudice to the validity of anything previously done thereunder.
6.—(1) The fund mentioned in Article 11 of the Constitution as the one fund to be formed by the revenues of the State shall be called and known as the Central Fund and is in this section and the next following section of this Act referred to for purposes of distinction as the Central Fund of Ireland.
(2) Every mention or reference in any statute or statutory instrument in force immediately prior to the date of the coming into operation of the Constitution and continued in force thereafter by section 1 of Article 50 of the Constitution (whether such mention or reference is expressed in such statute or statutory instrument by virtue of original enactment or by subsequent amendment or modification or is implied therein by virtue of a general or a specific adaptation or interpretation) of or to the Central Fund of Saorstát Eireann or of or to the Exchequer of Saorstát Eireann shall—
(b) in relation to anything done or to be done or an event occurring after the coming into operation of the Constitution, be construed and have effect, unless the context otherwise requires, as a mention of or reference to (as the case may require) the Central Fund of Ireland or the Exchequer of Ireland.
7.—(1) All moneys, investments, securities, and other assets which, immediately before the coming into operation of the Constitution, constituted and formed part of or were included in the Central Fund of Saorstát Eireann shall, immediately upon the coming into operation of the Constitution, become and be included in and assets of the Central Fund of Ireland.
(2) All moneys owing to the Central Fund of Saorstát Eireann immediately before the coming into operation of the Constitution, whether then due and payable or to become due and payable (whether certainly or contingently) at a future time, shall, immediately upon the coming into operation of the Constitution, become and be owing to the Central Fund of Ireland and shall be payable to and recoverable for that Fund accordingly either (as the case may require) immediately or as and when they respectively fall due.
(3) All moneys owing to any Minister or governmental authority for the benefit of or for or in any way on behalf of the Central Fund of Saorstát Eireann immediately before the coming into operation of the Constitution, whether then due and payable or to become due and payable (whether certainly or contingently) at a future time, shall, immediately upon the coming into operation of the Constitution, become and be owing to the corresponding Minister or governmental authority functioning under or by virtue of the Constitution and shall be payable and recoverable, either (as the case may require) immediately or as and when they respectively fall due, for the benefit of or for or on behalf of the Central Fund of Ireland to and by the like or corresponding persons and in the like manner as before the coming into operation of the Constitution.
(4) All debts, liabilities, and responsibilities of and all charges on the Central Fund of Saorstát Eireann subsisting immediately before the coming into operation of the Constitution, whether then due and payable or to become due and payable (whether certainly or contingently) at a future time, shall, immediately upon the coming into operation of the Constitution, become and be (as the case may be) debts, liabilities, or responsibilities of or charges on the Central Fund of Ireland and shall be paid or discharged out of that Fund accordingly either (as the case may require) immediately or as and when they respectively fall due.
8.—(1) The Government shall have an official seal which shall be officially and judicially noticed.
(2) The seal of the Government shall, when affixed to any instrument or document, be authenticated by the signature of the Taoiseach or of the Tánaiste or of a secretary or other officer of the Government authorised by the Taoiseach to act in that behalf.
(3) More than one officer may at any time be authorised under the next preceding sub-section of this section to authenticate by his signature the seal of the Government, but such authorisation of two or more officers shall not render the signature of more than one such officer necessary for the authentication of the said seal.
(4) Every order or other instrument sealed with the seal of the Government shall, if such seal purports to be authenticated in accordance with this section, be received in evidence without further proof and, in particular, it shall not be necessary to prove any signature affixed to such instrument for the purpose of such authentication or to prove the office or authority of the person whose signature such signature purports to be.
(5) If no such seal as is provided for in the foregoing provisions of this section is available at the commencement of this Act, it shall be lawful for the Government to use, until such seal is available, the seal of the Executive Council of Saorstát Eireann, and for that purpose it is hereby declared and enacted that the seal of the Executive Council of Saorstát Eireann shall, in the circumstances and for the time aforesaid, be the seal of the Government within the meaning of this section and this section shall apply thereto accordingly.
9.—(1) Until an official seal has been provided and is available for the use of the Taoiseach, it shall be lawful for the Taoiseach to use as his official seal the seal used by the President of the Executive Council as his official seal immediately before the coming into operation of the Constitution, and such seal of the President of the Executive Council shall, while it is so used by the Taoiseach, be for all purposes the official seal of the Taoiseach.
(2) It shall be lawful for every official person or body and every governmental authority, whether legislative, judicial, or executive, who or which is required by law to have an official seal, to continue until a new seal has been provided and is available for him or them to use as his or their official seal the seal used immediately before the coming into operation of the Constitution as an official seal by (as the case may require) such person, body, or governmental authority or the immediate predecessor of such person, body, or governmental authority.
(3) Every seal used, by virtue of the next preceding sub-section of this section, as an official seal by any official person or body or by any governmental authority, whether legislative, judicial, or executive, shall, while it is so used, be for all purposes the official seal of such person, body, or governmental authority.
10.—(1) In this section the expression "the Act of 1936" means the Seanad Eireann (Consequential Provisions) Act, 1936 (No. 26 of 1936).
(2) The Act of 1936 is hereby repealed as on and from the date of the first assembly of Seanad Eireann.
(3) The repeal by this section of the Act of 1936 shall (save as is otherwise expressly provided by this section) operate to revive and bring into force again on the date of such repeal every Act or part of an Act repealed by the Act of 1936 and, accordingly, as from the date of such repeal every Act of the Oireachtas of Saorstát Eireann (including private as well as public Acts) passed before the Act of 1936 and every order, regulation, or other instrument made under any such Act shall (save as is otherwise provided by this section) operate, have effect, and be construed as if the Act of 1936 had never been passed, but with and subject to the modification that every reference in any such Act or instrument to Seanad Eireann shall be construed and have effect as a reference to the House of the Oireachtas to which the name "Seanad Eireann" is given by section 1 of Article 15 of the Constitution.
(4) Nothing contained in the foregoing sub-sections of this section shall operate to revive any of the following Acts or portions of Acts and all such Acts or portions of Acts shall continue to be repealed and inoperative, that is to say:—
(a) Part VII of the Electoral Act, 1923 (No. 12 of 1923), and so much of section 65 of that Act as includes a Seanad election within the meaning of the word "election", and also all references in the said Act to Seanad elections and Seanad electors;
(b) the Seanad Electoral Act, 1928 (No. 29 of 1928);
(c) the Seanad Bye-elections Act, 1930 (No. 1 of 1930);
(d) section 4 of the Electoral (Amendment) Act, 1933 (No. 14 of 1933).
(5) Nothing in this section shall prejudice or affect any specific repeal, revocation, or amendment of any Act, order, regulation, or instrument affected by the Act of 1936 made after the passing of that Act.
11.—(1) The following provisions shall have effect in relation to every Act of the Oireachtas of Saorstát Eireann which was passed after the Seanad Eireann (Consequential Provisions) Act, 1936 (No. 26 of 1936), that is to say:—
(a) every provision in any such Act whereby any order, regulation, report, or other instrument is required to be laid before Dáil Eireann shall, in relation to any such instrument made on or after the day of the first assembly of Seanad Eireann, be construed and have effect as requiring such instrument to be laid before each House of the Oireachtas;
(b) where any such provision as is mentioned in the next preceding paragraph of this sub-section empowers Dáil Eireann to annul the instrument referred to in such provision by a resolution passed within a specified number of days on which Dáil Eireann has sat after such instrument is laid before it, such provision shall, in relation to any such instrument made on or after the day of the first assembly of Seanad Eireann, be construed and have effect as also empowering Seanad Eireann to annul such instrument by a resolution passed within the same number of days on which Seanad Eireann has sat after such instrument is laid before it, but without prejudice to the validity of anything previously done under such instrument.
(2) The following provisions shall have effect in relation to every Act of the Oireachtas of Saorstát Eireann which is expressed to come into operation immediately after the coming into operation of the Constitution and in relation to every Act of the Oireachtas which is passed before the first assembly of Seanad Eireann, that is to say:—
(a) every provision in any such Act whereby any order, regulation, report, or other instrument is required to be laid before each House or both Houses of the Oireachtas shall, in relation to any such instrument made before the day of the first assembly of Seanad Eireann, be construed and have effect as requiring such instrument to be laid before Dáil Eireann only;
(b) every provision in any such Act whereby anything is required or authorised to be done by both Houses, or each House, or either House of the Oireachtas shall, in relation to anything done or to be done before the day of the first assembly of Seanad Eireann, be construed and have effect as requiring or authorising (as the case may be) such thing to be done by Dáil Eireann alone.
12.—(1) It shall be lawful for every official person and body and every governmental authority, whether legislative, judicial, or executive, for so long as may be convenient, to use, for the purposes of any official document issued, received, provided or otherwise used by him or them, the form of document which was lawfully so used immediately before the coming into operation of the Constitution.
(2) Every form of document used, by virtue of this section, for any purpose by any official person or body or any governmental authority, whether legislative, judicial, or executive, shall be deemed for all purposes to be lawfully used for that purpose.
(3) An impressed stamp shall be deemed to be a document within the meaning of the foregoing sub-sections of this section and those sub-sections shall apply and have effect in relation to impressed stamps accordingly.
13.—(1) Except in capital cases, the Government may, in their absolute discretion, at any time remit in whole or in part or modify (by way of mitigation only) or defer (conditionally or unconditionally) any punishment imposed by the Constitution (Special Powers) Tribunal.
(2) Whenever a free pardon has been granted by the President to a person convicted by the Constitution (Special Powers) Tribunal, any forfeiture or disqualification occasioned by such conviction shall, as from the date of such pardon, be annulled.
14.—This Act may be cited as the Constitution (Consequential Provisions) Act, 1937.


The following article shows how to list Nuke environment variables.
1) Select Start > All Programs > Accessories > Command Prompt.
2) In the command window that opens, enter set.
A list of all the environment variables that are set is displayed in the Command Prompt window.
1) Launch Terminal or a shell.
A list of all the environment variables that are set is displayed in the Terminal or Console window.