text:
Giving Good Care
https://www.thebodypro.com/article/study-higher-risk-recurring-blood-clots-some-people-with-hiv
Adverse Events, Comorbidities, and HIVNews
Study Finds Higher Risk of Recurring Blood Clots Among Some People Living With HIV
Barbara Jungwirth June 3, 2020
wildpixel via iStock
People living with HIV (PLWH) are not only at higher risk of a first venous thromboembolism (VTE) than the general population, but also of a subsequent one, especially during the first year after stopping therapy with anticoagulants, a Dutch study published in PLOS Medicine found. Results may inform decisions on when to discontinue blood-thinning medication after an initial VTE. Venous thromboembolism is a blood clot that starts in a vein. Most commonly, it begins in a leg (deep vein thrombosis). It may then break free and travel to the lung (pulmonary embolism). The study assessed both of these conditions as a single VTE risk.
This research becomes particularly relevant in light of blood-clotting issues associated with COVID-19, the respiratory disease currently ravaging many countries around the world. For example, autopsies of the first 12 people to die of this respiratory illness in Hamburg, Germany, revealed that 58% had undiagnosed deep vein thrombosis. In Europe, one-third of people hospitalized with severe COVID-19 are estimated to have developed dangerous blood clots.
In the current study, researchers compared data from two cohorts in the Netherlands, ATHENA (AIDS Therapy Evaluation in the Netherlands), which studies PLWH, and MEGA (Multiple Environmental and Genetic Assessment of risk factors for venous thrombosis), which studies risk factors for VTE independent of serostatus. PLWH in the MEGA cohort were excluded from the analysis to create an HIV-negative control group. Only those with an initial VTE who had been on anticoagulants for at least three months and subsequently stopped these drugs were included in the current study, resulting in a total of 4,158 participants—153 PLWH (82% male) and 4,005 HIV-negative controls (45% male). Forty PLWH and 635 controls suffered a definitive second VTE, leading to crude incidence rates of 5.2 per 100 person-years of follow-up in the PLWH group and 3.1 per 100 person-years of follow-up in the control group. None of the participants were treated with direct oral anticoagulants (DOACs).
After adjusting for age, sex, and provoked or unprovoked first thromboembolism, the risk was still higher for PLWH during the first year after stopping blood thinners, but the relative hazard became comparable to the control group thereafter. Provoked embolisms occur among people with known risk factors, such as metastatic cancer or immobilization in a plaster cast, while those without such risks have unprovoked embolisms. Guidelines for withdrawing anticoagulants also consider whether the risk factor is persistent, such as cancer, or transient, such as a cast. HIV serostatus alone did not appear to be a specific risk factor. Thus, in general, the same guidelines can be used for PLWH as for the general population.
This does not apply to PLWH with a low CD4+ cell count at the time of their first VTE. They were less likely to have a second thromboembolism if their CD4+ cell count recovered before they stopped anticoagulants. In such cases, it would be helpful to continue blood thinners until immune status has improved. CD4+ cell counts were used as markers of immunosuppression because few in the PLWH group had a detectable viral load—83% of PLWH with a recurring VTE were virally suppressed at the time of recurrence.
While this study was based on national cohorts, it was conducted in Europe and included relatively few women. Its authors called for replicating it in other cohorts, with particular emphasis on women, people in sub-Saharan Africa, those coinfected with malaria or tuberculosis, and people who inject drugs. Once replicated, a meta-analysis could be performed that might help elucidate CD4+ cell count thresholds at which immune status no longer needs to be considered when evaluating discontinuation of anticoagulants. Additionally, the risk of major bleeding when PLWH take blood thinners should be evaluated, they recommended.
"Risk of recurrent venous thromboembolism in patients with HIV infection: A nationwide cohort study," PLOS Medicine. May 14, 2020. journals.plos.org/plosmedicine/article?id=10.1371/journal.pmed.1003101
"What is Venous Thromboembolism (VTE)?" American Heart Association. March 1, 2017. heart.org/en/health-topics/venous-thromboembolism/what-is-venous-thromboembolism-vte
"Coronavirus: A third of hospital patients develop dangerous blood clots," BBC News. May 16, 2020. bbc.com/news/health-52662065
"Autopsy Findings and Venous Thromboembolism in Patients With COVID-19," Annals of Internal Medicine. May 6, 2020. acpjournals.org/doi/10.7326/M20-2003
Barbara Jungwirth
@bjungwirthNY
Barbara Jungwirth is an experienced freelance journalist, writer, and translator who has been reporting on HIV for TheBody and TheBodyPro since 2002.


text:
Every item on this page was chosen by a townandcountrymag editor. We may earn commission on some of the items you choose to buy.
Meghan Markle Wore an Oscar de la Renta Dress
Meghan Markle Wore an Oscar de la Renta Dress for a Surprise Virtual Appearance at Spotify's Stream On
The Duke and Duchess inked a deal in December to create audio content for Spotify.
By Chloe Foussianes Published: Feb 22, 2021
Prince Harry and Meghan Markle made a virtual appearance on Monday, popping up briefly in a virtual event for Spotify—the audio company they've partnered with to create podcasts under the banner of Archewell Audio.
For the occasion, the Duchess of Sussex chose to wear a stylish, drop-waist dress from Oscar de la Renta, as spotted by the eagle-eyed fans at the blog What Meghan Wore. Though Meghan recently announced that she's pregnant with the couple's second child, she's never been one for purpose-made maternity clothes, instead opting for roomier silhouettes from designers' regular ready-to-wear lines.
In the video (above), the Duke and Duchess speak about their mission-driven podcasts, the first of which—titled, simply, "Archewell Audio"—debuted its premiere episode in December. "We're using podcasting to drive powerful conversations," Meghan begins, adding, "We created Archewell Audio so we could elevate voices that maybe aren't being heard, and hear people's stories."
Oscar de la Renta Citrus Primavera Peplum Hem Dress
$3,490 at Saks Fifth Avenue
Harry notes, "And the biggest part of this is trying to create this community, of where you can share, will encourage everyone else to then share their own vulnerabilities within that safe space."
This is very much in keeping with how the couple spoke about their foray into podcasting when they first announced their partnership with Spotify back in December. "What we love about podcasting is that it reminds all of us to take a moment and to really listen, to connect to one another without distraction," the Duke and Duchess said in a joint statement. "With the challenges of 2020, there has never been a more important time to do so, because when we hear each other, and hear each other's stories, we are reminded of how interconnected we all are."
Chloe Foussianes
Chloe is a News Writer for Townandcountrymag.com, where she covers royal news, from the latest additions to Meghan Markle's staff to Queen Elizabeth's monochrome fashions; she also writes about culture, often dissecting TV shows like The Marvelous Mrs Maisel and Killing Eve.
Women's Style Icons
Anne Hathaway Wears a Corseted Puffer Coat
Kate Middleton Is Cheery in Orange at a Nursery
Lily James's Best Red Carpet Looks
Rihanna Drops Super Bowl Halftime Show Trailer
Katie Holmes Wore 2 Perfect Pants
Kate & William Match for Liverpool Engagements
The Golden Globes Put a Twist on Hollywood Glamour

redpajama_set_name: RedPajamaCommonCrawl


OKEECHOBEE — It's that time of year again! Colorful lights are twinkling throughout neighborhoods, stories of history and faith are shared with family and friends, and ugly sweaters are being donned for parties and celebrations. It is a time for merriment and cheer, love and hope, togetherness, joy, and … sadness?
The truth is, holiday blues can affect anyone, regardless of religious beliefs or family traditions. They can strike whether you sing Christmas carols or light a menorah, simply welcome the sudden chill in the air, or celebrate any number of other ways this time of year.
They leave us feeling less like a certain "Jolly Old Elf" and more like the Grinch — grouchy, stressed and anxious, with a heart that feels shriveled and uncomfortably disproportionate compared to its usual chest-filling size.
When it comes to experiencing the holiday blues, know that such feelings are surprisingly common. According to a survey by the American Psychological Association, 38 percent of participants noticed a significant increase in stress during the holiday season, citing commercialism, a lack of time and money, family gatherings, and the pressures of gift-giving as sources of this strain. The National Alliance on Mental Illness also adds that those stressors can exacerbate a variety of underlying issues. These issues can include current events, economics, personal grief, loneliness, relationship troubles and illness.
If the tidings of the season are to blame, then what can we do to alleviate such stress without completely removing ourselves from the celebration?
• Be realistic. Most of us do not live in palatial homes where every square inch is perfectly adorned for the holiday season. Lavish parties, sleigh rides and pristine towers of gifts may seem to fit perfectly within your favorite Hallmark movie, but for those of us without professional production crews and Hollywood-esque budgets, that level of "perfection" isn't attainable, and that's OK!
• Keep it simple. Focus on a few traditions you and your family love. Looking at holiday decorations in your neighborhood, singing carols and baking Christmas cookies can be wonderful experiences — but don't feel like you have to do it all.
• Take time for yourself. Whether it means 10 minutes in your room to meditate or pray, a walk around your neighborhood to clear your head, taking a slightly longer route to pick the kids up from school, or just a moment of deep breathing — take a short break to relax and refocus on what is most important to you.
• Reach out. Ask for help when the pressure seems too great. Look to a spouse, family member or close friend to help you carry the load and spread the responsibilities of the holidays. If the holiday blues seem to stick around longer than you expect, or if the effects are keeping you from participating in your everyday life, your symptoms may be better described as depression — a medical condition that negatively affects how you feel, the way you think, and how you act. If you believe that is the case, please contact a medical professional.
• Finally, learn to say no. We live in a society that can be overwhelming in its expectations, but when it comes to our own health and happiness and that of our family, sometimes taking a step back from the hustle and bustle is what we really need.
While the holiday blues may seem like a never-ending loop of stress and sadness this time of year, there is good news — as, for most, the end of the holidays also signifies the end of this seasonal strain. As quickly as this extra stress can arrive, it can also disappear, opening our eyes to all the possibilities of a brand new year.


text:
TOOLCHAIN_PREFIX = aarch64-linux-gnu-
OPTIMIZATION     = g
STARTUP    		 = aarch64

# MANDATORY:
#     These 3 parameters are needed for every port
#     Provide all values in hex
RAM_BASE_PHYSICAL  = 0x40000000
RAM_SIZE           = 0x4000

# MANDATORY:
#     Provide relative path to shell/ from current directory
#     Only Variable should be set above this line
SHELL_ROOT=../../../shell
-include $(SHELL_ROOT)/Makefile
# ^^ Do not move the above line. All user targets to be defined below this line!

# ------------------------ User targets below this line ------------------------
### run: Launches QEMU and loads the project binary on it
run: $(PROJECT).elf
	@echo "Use Ctrl+A X to exit Qemu"
	@qemu-system-aarch64 -M virt,secure=on,virtualization=on \
	 -cpu cortex-a72 -nographic \
	 -kernel $(PROJECT).elf

### debug: Qemu with GDB server. To be executed before 'make gdb'
debug:
	@echo Please use \"make gdb\" in another terminal to attach gdb.
	@echo Use \"cltr+a,x\" to quit qemu debug
	@qemu-system-aarch64 -S -M virt,secure=on,virtualization=on \
	 -cpu cortex-a72 -nographic -kernel \
	 $(PROJECT).elf -gdb tcp::1234

### gdb: Launches GDB and connects to qemu. To be executed after 'make debug'
gdb:
	@gdb-multiarch shell.elf -ex "target remote localhost:1234"

redpajama_set_name: RedPajamaGithub


text:
Cordoba's Great Mezquita-Cathedral
The Mezquita-Cathedral of Cordoba is an architectural, religious and historic wonder. It has been used for thousands of years by peoples from various cultures and religious beliefs and today combines a unique Muslim/Christian blend that is visually stunning.
Decoration on the exterior of the surrounding wall foreshadows what one will discover inside the gates.
Admission tickets and audio guides are purchased at two separate kiosks inside the spacious gardens. Oddly, one cannot get the audio without a ticket in hand, so that both complicates and slows the process. It's all somewhat confusing and the cues (visible below) are long, but eventually one realizes to just go with the flow!
Audio guides dangling around our necks and tickets in hand we step inside the mosque and are overwhelmed by the intricate patterns and paintings. With all of these Christian saints and images one forgets its Moorish past.
Then, one turns around and beyond the gold and glitter are the magnificent 856 coloured granite jasper and marble pillars.
At 258,333 square feet and said to be able to hold 40,000 people the mosque-cathedral's size is mind boggling.
It's almost impossible to see from one end to the other.
Meanwhile, overhead the beauty of the architecture inspires and awes.
All along the outer perimeters are a series of chapels.
Even their size or square footage is surprisingly spacious. Some are Moorish in design and detail...
While others are unmistakably Christian...
This particular chapel, dedicated to Saint Theresa, houses a gold monstrance.
Courtesy of http://www.artencordoba.com/en/
At 8.5 feet tall, made of solid gold, and weighing more than 400 pounds the monstrance depicts a 12-sided gothic cathedral. Made in the 16th century by Enrique de Arfel it is opulent, ostentatious and perhaps a little over the top. I say that because I overheard one man cynically ask his wife how many Incas had to die for all that gold to find its way to across the Atlantic and into Spanish coffers. :(
The white domed ceiling is equally impressive.
Then, after contemplating this is the most amazing thing one will ever likely experience in a lifetime we came face-to-face with the cathedral. It is unlike anything we've seen before. Its detail, size, glitter and glitz are utterly breathtaking and all the more impressive because it is smack dab in the centre of a mosque!
It seems fitting that in 1984 the mosque-cathedral and historic centre of Cordoba became a UNESCO World Heritage site. If time allows we'd love nothing better to return and once more experience the grandeur of this amazing structure.
Labels: Cordoba, Mezquita Catedral, Spain
Courtyards of Cordoba
Madrid: Palaces to Paintings
Intro to Madrid
Sintra's Pena Palace
5 Benefits of Travelling Light


Vengeance Designs has an aesthetic unlike any other alternative label; combining elements of both classic fetish design and trending fashions to create unique latex collections. Our style is always evolving and our mission is to provide high quality, made-to-measure, latex clothing and accessories at affordable prices. Check out our official store, with new products added every week. Let us bring your custom designs to life! Vengeance Designs features an educated design team with skills beyond just latex. We can create your dream outfit in any material, whether its a cosplay, a design of your own, or even just a combination of ideas that we can develop for you.


Apparently Google Buzz is something to handle with care (or stay away from) for a while. Here are some of the concerns raised by MIGUEL HELFT in the NY Times.
"… what Google viewed as an obvious shortcut stirred up a beehive of angry critics. Many users bristled at what they considered an invasion of privacy, and they faulted the company for failing to ask permission before sharing a person's Buzz contacts with a broad audience. For the last three days, Google has faced a firestorm of criticism on blogs and Web sites, and it has already been forced to alter some features of the service.


text:
Nov 11, 2013 | Fukushima Accident Updates | 0 comments
The Tokyo government plans on injecting $50 billion into nuclear damage liability (NDF) funding. The monies are intended for evacuee compensation and environmental decontamination. Currently, the fund has a $50 billion limit, but a new "accelerated Fukushima disaster recovery" rider could double the amount. The money is being loaned to the NDF interest-free. From there, it is forwarded to Tepco on an as-needed basis. This is because the real cost is significantly more than had originally been estimated due to expanded compensation possibilities for the 84,000 who qualify. Tepco and the nation's nuclear utilities will eventually be expected to reimburse Tokyo for everything. Specifically, NDF will repay the debts to the government using general contributions paid by the 11 nuclear power producers in Japan and special contributions extended by TEPCO. http://mainichi.jp/english/english/newsselect/news/20131109p2a00m0na009000c.html (comment- meanwhile, the government has merely appropriated about $30 billion for the 250,000 tsunami refugees.)
A new contaminated leak was discovered at F. Daiichi. The leak was from a wall joint near one of the outlet pipes from a wastewater tank coffer dam. It was found dripping on Saturday. A puddle 32 inches by 40 inches had built up, reading 140 Becquerels per liter of Strontium-90 activity. No Cesium isotopes were detectable. The puddle was surrounded by sandbags and did not enter any of the wastewater drainage ditches. Subsequently, a plate was installed over the area of leakage, inside the dam, and sandbags were placed around the plate. None of the tanks inside the coffer dam were found to be leaking. The residual water inside the dam (~29 tons) is being pumped to an underground reservoir. http://www.tepco.co.jp/en/press/corp-com/release/2013/1232087_5130.html Tepco has also posted the latest contamination levels in the drainage ditches of concern at F. Daiichi. The levels have dropped more than a factor of 15 relative to their highest readings of mid-October. The Press is neglecting to cover this, of course. http://www.tepco.co.jp/en/nu/fukushima-np/f1/smp/2013/images/south_discharge_13110801-e.pdf
The Nuclear Regulation Authority will change the way radiation exposure estimates are run for the F. Daiichi evacuees. Previously, dose projections were based on readings taken by aircraft monitoring. The readings were then projected into the dose estimates by assuming people spend 8 hours per day outdoors. However, the few people who have repopulated in the past three months have dosimeters which show actual exposures as much as seven times less than the estimates. The NRA wants to use these dosimeter-based readings as public information with Fukushima evacuees. It is hoped that the dosimeter readings will persuade some of the current people who are reluctant to go home to change their minds. Since September, the NRA has discussed "scientific and technical aspects" of the repopulation of evacuated communities with outside experts. The change in exposure monitoring is one decision made at these meetings. The proposal calls for teams of "communicators" to be sent out and explain the acceptable exposure levels using this method. The study team said the concept of "safe" doses has not come into the discussion. http://ajw.asahi.com/article/0311disaster/fukushima/AJ201311090063 How this will affect evacuee decisions on returning home is speculative, at best. However, if a statistic posted by the reconstruction Agency is correct, it might make a positive difference. The Agency ran a recent evacuee survey and found that 90% of the people from some communities either have no desire to ever return home or can't make up their minds. The latter might be positively affected by the dosimeter-based system since it shows exposures are much lower than previously assumed. However, all of those reluctant to repopulate agree that measures taken to date are insufficient. At the same time, NRA Chair Shunichi Tanaka says discussions with local residents about exposure levels should be done by local officials, and not the NRA. This statement has brought loud protests from critics inside the Reconstruction Agency who call it a contradiction of the concept of transparency. Tanaka responded that he fears that evacuee repopulation would be stalled due to a potentially large number of evacuees wishing to relocate elsewhere. Going through local officials makes more sense since two communities, Date and Iitate, have a large number of residents eager to return home. http://mainichi.jp/english/english/newsselect/news/20131111p2a00m0na012000c.html
The Environment Ministry assembled an expert panel to review health monitoring and possible medical support for Fukushima evacuees. The seventeen selected people met for the first time today. Among the initial discussions were methods of determining long-term exposures, possible health effects, and scientific guidelines on what exposures warrant medical treatment. Assessments will focus on people in Fukushima and other parts of eastern Japan who live near hot spots. The panel's findings are expected to be published next summer. http://www3.nhk.or.jp/nhkworld/english/news/nuclear.html
Tepco plans to freeze highly contaminated waters in underground tunnels and pipes. The idea is to prevent mixing of the contaminated waters with groundwater. All of the designated freezes are for conduits coming from the Turbine building basements of units #2 and #3 at F. Daiichi. Work on the project is expected to begin in April. The tunnels and pipes contain an estimated 10,000 tons of fluid. Ducts enclosed in nylon bags will be placed at the connections to the buildings to block the entrance of water into the tunnel pipes. Cement and soil will then be injected into the bags, and coolant at minus 40 C will be put into the ducts to freeze the bags and the contaminated water around them. The frozen material should will block the tunnels and pipes completely. Tepco Engineer Hiroyuki Ishikawa said, "The work will take several months, so we'd like to position the ducts appropriately and minimize the workload for workers to prevent excessive exposure to radiation." http://the-japan-news.com/news/article/0000785092
Tokyo Electric Company has posted their new ways to deal with F. Daiichi contractor issues. Improvements include strengthened management controls, doubling the pay to contract workers up to $200 per week, new procedures, better top-to-bottom communications, and improved infrastructure at the station. Also, a temporary office building for 1,000 people, an eight-story-high rest facility, and a warm meal building are to be built, all of which is planned to be completed by March, 2015. President Naomi Hirose said, "As the decommissioning work continues, improving working conditions and the safety of workers, along with their morale and motivation, should be among our highest priorities. We believe this is a very important element in regaining public trust." http://www.tepco.co.jp/en/press/corp-com/release/betu13_e/images/131108e0101.pdf Tepco has also released a more-detailed explanation of the impending spent fuel transfer out of unit #4. http://photo.tepco.co.jp/library/131030_02e/131030_01-e.pdf
Tokyo's Reconstruction Agency will grant a $76 million subsidy for F. Daiichi evacuee housing. The money is intended for construction of 3,700 public housing units in the Prefecture, focusing on refugees from Kori Town and Kawauchi Village. The funds will also be used to procure land for 563 units in Minamisoma and Iwake. This will be in addition to the evacuee subsidy granted in March for a total of $500 million. A third allocation is pending, dependent on the number of people who apply for federal housing assistance. http://jen.jiji.com/jc/eng?g=eco&k=2013110800196 (comment – Meanwhile, the long-promised 27,000 units for tsunami refugees remains unfulfilled. At last count, less than 500 had been completed, 2,000 are partially built but in local political limbo, and the rest have yet to be started. When will the Japanese people demand that the 250,000 remaining tsunami refugees get as much government support as the Fukushima evacuees?)
At least 33 Japanese civic groups have been cyber-attacked. They have been inundated with more than 2.5 million Emails since September. A criminal lawsuit is being considered according to lawyer Yuichi Kaido who represents the organizations.The Japan Times says the groups include Fukushima Genpatsu Kokusodan, the Prefecture's leading antinuke group. The Times said that not all attacked groups were anti-nuke. On the other hand, The Asahi Shimbun says all the attacked groups were antinuclear, including Women's Active Museum on War and Peace and the Metropolitan Coalition Against Nukes. The perpetrators are believed to have used software designed to abuse computer systems that automatically send confirmation emails to people who register for newsletters or make inquiries. Some Emails contained hostile messages. One of them said, "Unless we kill all of the anti-nuclear believers, world peace will never be achieved". However, most of the bogus Emails were designed to obstruct internal activities of the targeted groups and/or cause an internal feud among group members. http://www.japantimes.co.jp/news/2013/11/10/national/anti-nuclear-civic-groups-targeted-in-large-scale-cyber-attacks/#.Un-xboEo4dU — http://ajw.asahi.com/article/behind_news/social_affairs/AJ201311100027
Fukushima's fruit is being marketed in Thailand. Fukushima Vice-Governor Masao Uchibori presented fruits grown in Fukushima Prefecture as gifts to Thailand's royal family on Oct. 22, hoping to draw attention to the safety of the products. Uchibori visited the Thai royal palace and met with Khuying Araya, chief secretary to Princess Maha Chakri Sirindhorn. He asked Araya to sample peaches, pears, grapes and apples he brought.Uchibori gave a similar gift to Deputy Prime Minister and Finance Minister Kittiratt Na-Ranong in late October, and the gesture was well-received. In addition, Uchibori persuaded Asia Atlantic Airlines to link Bangkok to Sendai City beginning December 4th. http://www.fukushimaminponews.com/news.html?id=261


text:
Home › All About Ginans & Granths › 4. Unpublished Granths
Pandavo no Parab - An Unpublished Granth
bibliography_link:
By Nazim Daredia
This Granth, also known as Pandave jo Parab, was composed by Sayyed Imam Shah and contains 578 verses. It has virtually the same theme as Buddh Avatar of Pir Sadardin. The Granth continues the story of the Pandavas after the win the war against their cousins turned enemies the Kurus. Concurrently it narrates the coming of the ninth Avatar in the form which came to be known as Buddh who saves the Pandavas from deviating from their true faith.
PREVIOUS EDITIONS:
Up to the time of this conference it was generally believed that this Granth had only been published in Khojki of which a few copies were still available. Also this work is not well known within the community. Thus, the task of transliterating it into gujarati script was undertaken. However, it was learnt at the conference that a gujarati edition had indeed been published in the 1900's. This fact was brought to my attention by Mr Nurdin Rajan. The main reason why the Gujarati edition is virtually unknown is that only 500 copies were printed in the first edition. There is no evidence that this work was ever reprinted. The title page of the Gujarati edition is attached here as an addendum to this brief note.
Pandavo no Parab can be considered as one of the major pieces of works in our Ginanic literature. It deserves careful study, especially to delineate the differences and similarities between it and Buddh Avatar. Furthermore the Granth also gives in its end the date of its composition by Sayyed Imam Shah in 1437 Samvat (1381 A.D.). There are at least 3 manuscripts of this work available at the Institute of Ismaili Studies in London. One such manuscript dated Samvat 1925 (1869 A.D.) contains 580 verses. Let me mention also that Mrs Zawahir Noorally mentions in her Catalogue of Khojki Manuscripts in the Collection of the Ismailia Association for Pakistan (Karachi 1971), the existence of a "Vel" of 80 verses completing the Pandve jo Parab. The Vel is part of a manuscript numbered K.M.S. 112 written in Samvat 1935 (1879 A.D.).
‹ Chhatris Kror - An Unpublished Granthup5. Khojki ›
All About Ginans & Granths
1. Introduction to Ginans and Granths
2. Ginan Lists and Searches
3. Major Granths
4. Unpublished Granths
A SINDHI VERSION OF PIR SHAMS' DAS AVATAAR - An Unpublished Ginan
Challis wato - An Unpublished Granth
Chhatris Kror - An Unpublished Granth
5. Khojki
6. Waezes About Ginans
7. Unpublished Ginans


The advantages Outstanding Study Records The dearth of superb exploration plagues other locations very. Utilizing cell phone traffic monitoring gives significant-time quality (1-minute) data and provides for more safeguard within the evaluation region. There are numerous analysis papers that cite manufacturing the free radicals that can be no cost as the most important method of obtaining the aging process. Other difficulties are likely clear. You have to offer actual positive factors. When you're in town, we're not in contact with a single pollutant, we're subjected to a variety of items,' he defined. You desire to have from the standard water to study paddling and you've have got to be external on the path to understand operating a vehicle. There are lots of tests that contain displayed the usage of phthalates disturbing the total shape in many ways.
No matter the fact it can be doubtlessly one of the biggest resources we have to inquire inside the implications that pursuits assignment help ottawa through the market have we know, furthermore, it will require a lot of examine and competency that should be informative at lifestyle spiral assessment. Simply, all existence spiral assessments should really be executed from a expert specialist, chiefly because of datasets. In spite of the IRB, but the inspection course of action starts off any time you fill out an application. Our prize winners characterize the expectations that ended in the prize in the initial set. If you would like to discover a photo for the group that gone in the tournament, it can be possible to discover the SIPI IC-MARS role page if you wish to find out a great deal more. The venture extremely paid. The newsprint weren't recognized. Then chances are it will perform job all over again if you still need to complete. Purses of report are used inside an array of would mean that. Authoring explore reports isn't just publishing for those who have no suggestions of just what you are probably to publish. Just in case you haven't actually prepared any analysis old fashioned paper or you might want to recognize wherever you can actually end up terrific researching newspapers for sale, get in contact with our useful article writing techniques. Before getting your quest records on-line, make sure that your essay creating tight is at an area to supply you with superior investigation records accessible. Take into consideration an interesting https://ca.payforessay.net/ movie you've seen not long ago. You're the proprietor of your story, and you should discover how to determine it.
For you to discover a reputable producing assistance, it is important to begin looking into each depth. Its appeal offers a status of having fun with throughout the years. Being theoretical comprehension does not have any value before people may perhaps retain the services of it for realistic functions. Provided you utilize H31-311 Top notch figuring out products and get a H31-311 Quality accreditation, you should definitely be respected on the leaders. However, very little students contain the free time essential to create a terrific research pieces of paper. Rumor, Untruths and Top notch Study Records Over ten thousand controlled exploration paperwork are written and published using this type of problem. Happily, there's an overall matter of investigation that specializes in understanding the fiscal value of the ecosystemecological economics. For the moment, just bear in mind that inner validity in most cases means that you are in a position to be certainly certain any conclusions you build from your results on this analysis are authentic and ideal.
So by way of example, you could start with Geology of Iceland'. That will put it differently, it can be astonishingly attractive to create plastic-type material disappear. High-quality assessment of choice types isn't discussed in great detail listed here on membership of your tech mother nature about this substance. The second is undoubtedly an example of a treatment utilised to create a Residence of sophisticated evaluation. Remember, it's but not only an issue of becoming agreeablewhen you take on a great deal of, your current deliver the results suffers. A number of gains There are many great things about wonderful urban product,' mentioned Dr Rojas. People have the chance to select how to respond in almost any occasions. http://www.irvine.edu/wp-includes/pomo/es/?page=NzgxNQ___3D___3D-buy-essay-papers Simple perform is a good vary from the uninteresting lecture program.


text:
package hr.fer.zemris.jcms.model;

import java.io.IOException;
import java.io.Serializable;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Properties;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * Razred predstavlja ISVU podatke o primjerku kolegija.
 *
 * @author marcupic
 *
 */
@Entity
@Table(name="course_instance_isvu_data")
@Cache(usage=CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class CourseInstanceIsvuData implements Serializable {

	private static final long serialVersionUID = 1L;

	private String id;
	private String data;
	private Predmet cdata;
	private boolean open;

	public CourseInstanceIsvuData() {
	}

	/**
	 * Identifikator. Identifikator je oblika "2007Z/19674".
	 *
	 * @return
	 */
	@Id
	@Column(length=16)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	@Column(nullable=true,length=10000)
	public String getData() {
		return data;
	}
	public void setData(String data) {
		open = false;
		this.data = data;
	}

	@Transient
	public Predmet getCdata() {
		if(!open) {
			open = true;
			cdata = new Predmet(getData());
		}
		return cdata;
	}

	@Transient
	public boolean isOpen() {
		return open;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (!(obj instanceof CourseInstanceIsvuData))
			return false;
		final CourseInstanceIsvuData other = (CourseInstanceIsvuData) obj;
		if (getId() == null) {
			if (other.getId() != null)
				return false;
		} else if (!getId().equals(other.getId()))
			return false;
		return true;
	}

	public static class Predmet {
		String[] opterecenja;
		List<String> nositelji;
		List<String[]> izvodaci;
		String opis;
		List<String> liter;

		public Predmet(String text) {
			fromText(text);
		}

		protected void fromText(String text) {
			Properties prop = new Properties();
			if(text!=null && text.length()!=0) {
				try {
					prop.load(new StringReader(text));
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
			String t = prop.getProperty("opterecenja","");
			if(t!=null && t.length()!=0) {
				opterecenja = t.split("\n");
			} else {
				opterecenja = new String[] {"?", "?", "?", "?", "?"};
			}
			t = prop.getProperty("opis","");
			if(t!=null && t.length()!=0) {
				opis = t;
			} else {
				opis = "";
			}
			t = prop.getProperty("nositelji","");
			if(t!=null && t.length()!=0) {
				nositelji = Arrays.asList(t.split("\n"));
			} else {
				nositelji = new ArrayList<String>();
			}
			t = prop.getProperty("izvodaci","");
			if(t!=null && t.length()!=0) {
				String[] elems = t.split("\n");
				izvodaci = new ArrayList<String[]>(elems.length);
				for(String e : elems) {
					izvodaci.add(e.split("\\|"));
				}
				izvodaci = Arrays.asList();
			} else {
				izvodaci = new ArrayList<String[]>();
			}
			t = prop.getProperty("liter","");
			if(t!=null && t.length()!=0) {
				liter = Arrays.asList(t.split("\n"));
			} else {
				liter = new ArrayList<String>();
			}
		}

		public String[] getOpterecenja() {
			return opterecenja;
		}
		public List<String> getNositelji() {
			return nositelji;
		}
		public List<String[]> getIzvodaci() {
			return izvodaci;
		}
		public String getOpis() {
			return opis;
		}
		public List<String> getLiter() {
			return liter;
		}
	}
}


Our agency provides Early Intensive Behavioral Intervention (EIBI) services to children ages 2 to 12 years old. We provide center-based and home-based ABA therapy to children with autism and other developmental disorders in Richmond and the surrounding areas.
Our Richmond clinic is located at 830 Eastern Bypass (the old Richmond Mall) and is equipped with classrooms, one-to-one therapy rooms, a computer center, and a large therapy gym. Playing in the gym is one of the all-time favorites of our learners!
We use naturalistic teaching strategies and discrete trial teaching in our therapy sessions. This teaching approach provides your child with a lot of fun and most importantly numerous opportunities to practice the skills being taught throughout the day.
Wee Can Autism is actively involved in our community and participates in various walks and autism awareness events throughout the year!
Wee Can Autism and Behavioral Consulting: Placing kids with Autism on the path toward a lifetime of successful learning.


text:
Home / Missions / Environmental / Kincheloe Air Force Base
Kincheloe Air Force Base
The former Kincheloe Air Force Base (AFB) is a formerly used defense site located in Kinross, Mich. Kincheloe AFB was utilized by the Department of Defense (DoD) from 1942 to 1977. The installation was originally used as a refueling stop for aircrafts bound for Alaska and was deactivated after World War II to be used as a civilian airport by the city of Sault Ste Marie.
The Air Force reactivated the installation in 1952 to serve as the 91st Air Base Squadron and renamed it Kinross Air Force Base. In 1959, the Strategic Air Command (SAC) established a presence at Kincheloe AFB. A number of larger aircraft, including B-52H jet bombers, began flying out of the base necessitating extension of the runway to 12,000 feet. The base closed in September 1977.
The majority of the former Kincheloe AFB property is now occupied by the Chippewa County International Airport, Kinross Township and several state correctional facilities. Most of the industrial portions of Kincheloe AFB are owned by either the Economic Development Corporation (EDC) or the Kinross Township.
Congress established the Defense Environmental Restoration Program/Formerly Used Defense Site (DERP/FUDS) program to clean up properties that were under the jurisdiction of the Secretary and owned, leased, or possessed by the United States and transferred from Department of Defense (DoD) control prior to Oct. 17, 1986. The U.S. Army Corps of Engineers (USACE) manages the FUDS program.
Major Milestones/Accomplishments
Environmental response actions at DERP/FUDS conform to the requirements of the Comprehensive Environmental Response, Compensation, and Liability Act (CERCLA) and the National Oil and Hazardous Substances Pollution Contingency Plan (NCP). USACE has been working in conjunction with the Michigan EPA to assess potential environmental issues associated with past Army activities on the site.
USACE completed the construction of a new well house and two new 220-foot wells in October 1999 after low-levels of trichloroethylene (TCE) were detected in the township's municipal wells. The level of contamination never exceeded federal drinking water standards but was a serious concern to the community and the State. The wells now serve as the primary source of drinking water for residents.
In April 2001, the well house was transferred to the Kinross Township Department of Public Works. In September 2002, the township won the American Water Works Association's award for the best tasting drinking water in the State of Michigan.
Approximately 150 tons of soil and tar material were removed from the Tar Spill Area at the south end of the main runway during 2001 and was properly disposed.
A field investigation, including a geophysical survey and confirmatory test pits and trenches, was conducted to search for rocket propellant sticks reportedly buried in an area west of the former Kinross Manufacturing Company area. No rocket propellant sticks were found during this investigation.
Long-term monitoring of groundwater wells will be required at these sites by the Michigan Department of Environmental Quality (MDEQ) for a projected period of at least 10 years prior to close-out.
An interim response action is ongoing at a former fire training area. The location's soils have been impacted by volatile compounds from previous fire fighting training activities. A soil vapor extraction system removes residual fuel compounds protecting the area's ground water.
USACE is completing six remedial investigations under the Comprehensive Environmental Response, Compensation, and Liability Act (CERCLA) at several discrete areas across the installation. The areas of concern are from former fuel storage, maintenance activities, or landfills. The projected completion date for the remedial investigations is fall 2011.
Restoration Advisory Board meeting
A Restoration Advisory Board meeting was conducted October 25, 2011, in the Kinross Township Boardroom located at 4884 W. Curtis Street. Recorded minutes from that meeting are provided under Resources in the sidebar.
Community members are invited to attend RAB meetings, which are co-chaired by the U.S. Army Corps of Engineers (USACE), and consist of volunteer community members and local, state and federal agency representatives.
Kincheloe Fact Sheet May 2010
Restoration Advisory Board Info
RAB meeting minutes October 2011
Kincheloe Air Force Base bunker.
Monitoring wells at Kincheloe Air Force Base.
shatara.r.riis@usace.army.mil


text:
RSpec.describe RuboCop::CLI, :isolated_environment do
  include_context 'cli spec behavior'

  subject(:cli) { described_class.new }

  before do
    RuboCop::ConfigLoader.default_configuration = nil
  end

  it 'does not correct ExtraSpacing in a hash that would be changed back' do
    create_file('.rubocop.yml', <<~YAML)
      Layout/AlignHash:
        EnforcedColonStyle: table
      Style/FrozenStringLiteralComment:
        Enabled: false
    YAML
    source = <<~RUBY
      hash = {
        alice: {
          age:  23,
          role: 'Director'
        },
        bob:   {
          age:  25,
          role: 'Consultant'
        }
      }
    RUBY
    create_file('example.rb', source)
    expect(cli.run(['--auto-correct'])).to eq(1)
    expect(IO.read('example.rb')).to eq(source)
  end

  it 'plays nicely with default cops in complex ExtraSpacing scenarios' do
    create_file('.rubocop.yml', <<~YAML)
      # These cops change indentation and thus need disabling in order for the
      # ExtraSpacing rules to apply to this scenario.

      Layout/BlockAlignment:
        Enabled: false

      Layout/ExtraSpacing:
        ForceEqualSignAlignment: true

      Layout/MultilineMethodCallBraceLayout:
        Enabled: false
    YAML

    source = <<~RUBY
      def batch
        @areas = params[:param].map do
                        var_1 = 123_456
                        variable_2 = 456_123
                   end
        @another = params[:param].map do
                     char_1 = begin
                                variable_1_1     = 'a'
                                variable_1_20  = 'b'

                                variable_1_300    = 'c'
                                # A Comment
                                variable_1_4000      = 'd'

                                variable_1_50000     = 'e'
                                puts 'a non-assignment statement without a blank line'
                                some_other_length_variable     = 'f'
                              end
                     var_2 = 456_123
                   end

        render json: @areas
      end
    RUBY

    create_file('example.rb', source)
    expect(cli.run(['--auto-correct'])).to eq(1)

    expect(IO.read('example.rb')).to eq(<<~RUBY)
      # frozen_string_literal: true

      def batch
        @areas   = params[:param].map do
                     var_1      = 123_456
                     variable_2 = 456_123
                   end
        @another = params[:param].map do
                     char_1 = begin
                                variable_1_1  = 'a'
                                variable_1_20 = 'b'

                                variable_1_300  = 'c'
                                # A Comment
                                variable_1_4000 = 'd'

                                variable_1_50000           = 'e'
                                puts 'a non-assignment statement without a blank line'
                                some_other_length_variable = 'f'
                              end
                     var_2  = 456_123
                   end

        render json: @areas
      end
    RUBY
  end

  it 'does not correct SpaceAroundOperators in a hash that would be ' \
     'changed back' do
    create_file('.rubocop.yml', <<~YAML)
      Style/HashSyntax:
        EnforcedStyle: hash_rockets

      Layout/AlignHash:
        EnforcedHashRocketStyle: table
    YAML
    source = <<~RUBY
      a = { 1=>2, a => b }
      hash = {
        :alice => {
          :age  => 23,
          :role => 'Director'
        },
        :bob   => {
          :age  => 25,
          :role => 'Consultant'
        }
      }
    RUBY
    create_file('example.rb', source)
    expect(cli.run(['--auto-correct'])).to eq(1)

    # 1=>2 is changed to 1 => 2. The rest is unchanged.
    # SpaceAroundOperators leaves it to AlignHash when the style is table.
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      # frozen_string_literal: true

      a = { 1 => 2, a => b }
      hash = {
        :alice => {
          :age  => 23,
          :role => 'Director'
        },
        :bob   => {
          :age  => 25,
          :role => 'Consultant'
        }
      }
    RUBY
  end

  describe 'trailing comma cops' do
    let(:source) do
      <<~RUBY
        func({
          @abc => 0,
          @xyz => 1
        })
        func(
          {
            abc: 0
          }
        )
        func(
          {},
          {
            xyz: 1
          }
        )
      RUBY
    end

    let(:config) do
      {
        'Style/TrailingCommaInArguments' => {
          'EnforcedStyleForMultiline' => comma_style
        },
        'Style/TrailingCommaInArrayLiteral' => {
          'EnforcedStyleForMultiline' => comma_style
        },
        'Style/TrailingCommaInHashLiteral' => {
          'EnforcedStyleForMultiline' => comma_style
        },
        'Style/BracesAroundHashParameters' =>
          braces_around_hash_parameters_config
      }
    end

    before do
      create_file('example.rb', source)
      create_file('.rubocop.yml', YAML.dump(config))
    end

    shared_examples 'corrects offenses without producing a double comma' do
      it 'corrects TrailingCommaInLiteral and TrailingCommaInArguments ' \
         'without producing a double comma' do
        cli.run(['--auto-correct'])

        expect(IO.read('example.rb'))
          .to eq(expected_corrected_source)

        expect($stderr.string).to eq('')
      end
    end

    context 'when the style is `comma`' do
      let(:comma_style) do
        'comma'
      end

      context 'and Style/BracesAroundHashParameters is disabled' do
        let(:braces_around_hash_parameters_config) do
          {
            'Enabled' => false,
            'AutoCorrect' => false,
            'EnforcedStyle' => 'braces'
          }
        end

        let(:expected_corrected_source) do
          <<~RUBY
            # frozen_string_literal: true

            func({
                   @abc => 0,
                   @xyz => 1,
                 })
            func(
              {
                abc: 0,
              },
            )
            func(
              {},
              {
                xyz: 1,
              },
            )
          RUBY
        end

        include_examples 'corrects offenses without producing a double comma'
      end

      context 'and BracesAroundHashParameters style is `no_braces`' do
        let(:braces_around_hash_parameters_config) do
          {
            'EnforcedStyle' => 'no_braces'
          }
        end

        let(:expected_corrected_source) do
          <<~RUBY
            # frozen_string_literal: true

            func(
              @abc => 0,
              @xyz => 1,
            )
            func(
              abc: 0,
            )
            func(
              {},
              xyz: 1,
            )
          RUBY
        end

        include_examples 'corrects offenses without producing a double comma'
      end

      context 'and BracesAroundHashParameters style is `context_dependent`' do
        let(:braces_around_hash_parameters_config) do
          {
            'EnforcedStyle' => 'context_dependent'
          }
        end

        let(:expected_corrected_source) do
          <<~RUBY
            # frozen_string_literal: true

            func(
              @abc => 0,
              @xyz => 1,
            )
            func(
              abc: 0,
            )
            func(
              {},
              {
                xyz: 1,
              },
            )
          RUBY
        end

        include_examples 'corrects offenses without producing a double comma'
      end
    end

    context 'when the style is `consistent_comma`' do
      let(:comma_style) do
        'consistent_comma'
      end

      context 'and Style/BracesAroundHashParameters is disabled' do
        let(:braces_around_hash_parameters_config) do
          {
            'Enabled' => false,
            'AutoCorrect' => false,
            'EnforcedStyle' => 'braces'
          }
        end

        let(:expected_corrected_source) do
          <<~RUBY
            # frozen_string_literal: true

            func({
                   @abc => 0,
                   @xyz => 1,
                 })
            func(
              {
                abc: 0,
              },
            )
            func(
              {},
              {
                xyz: 1,
              },
            )
          RUBY
        end

        include_examples 'corrects offenses without producing a double comma'
      end

      context 'and BracesAroundHashParameters style is `no_braces`' do
        let(:braces_around_hash_parameters_config) do
          {
            'EnforcedStyle' => 'no_braces'
          }
        end

        let(:expected_corrected_source) do
          <<~RUBY
            # frozen_string_literal: true

            func(
              @abc => 0,
              @xyz => 1,
            )
            func(
              abc: 0,
            )
            func(
              {},
              xyz: 1,
            )
          RUBY
        end

        include_examples 'corrects offenses without producing a double comma'
      end

      context 'and BracesAroundHashParameters style is `context_dependent`' do
        let(:braces_around_hash_parameters_config) do
          {
            'EnforcedStyle' => 'context_dependent'
          }
        end

        let(:expected_corrected_source) do
          <<~RUBY
            # frozen_string_literal: true

            func(
              @abc => 0,
              @xyz => 1,
            )
            func(
              abc: 0,
            )
            func(
              {},
              {
                xyz: 1,
              },
            )
          RUBY
        end

        include_examples 'corrects offenses without producing a double comma'
      end
    end
  end

  context 'space_inside_bracket cops' do
    let(:source) do
      <<~RUBY
        [ a[b], c[ d ], [1, 2] ]
        foo[[ 3, 4 ], [5, 6] ]
      RUBY
    end

    let(:config) do
      {
        'Layout/SpaceInsideArrayLiteralBrackets' => {
          'EnforcedStyle' => array_style
        },
        'Layout/SpaceInsideReferenceBrackets' => {
          'EnforcedStyle' => reference_style
        }
      }
    end

    before do
      create_file('example.rb', source)
      create_file('.rubocop.yml', YAML.dump(config))
    end

    shared_examples 'corrects offenses' do
      it 'corrects SpaceInsideArrayLiteralBrackets and ' \
         'SpaceInsideReferenceBrackets' do
        cli.run(['--auto-correct'])

        expect(IO.read('example.rb'))
          .to eq(corrected_source)

        expect($stderr.string).to eq('')
      end
    end

    context 'when array style is space & reference style is no space' do
      let(:array_style) { 'space' }
      let(:reference_style) { 'no_space' }

      let(:corrected_source) do
        <<~RUBY
          # frozen_string_literal: true

          [ a[b], c[d], [ 1, 2 ] ]
          foo[[ 3, 4 ], [ 5, 6 ]]
        RUBY
      end

      include_examples 'corrects offenses'
    end

    context 'when array style is no_space & reference style is space' do
      let(:array_style) { 'no_space' }
      let(:reference_style) { 'space' }

      let(:corrected_source) do
        <<~RUBY
          # frozen_string_literal: true

          [a[ b ], c[ d ], [1, 2]]
          foo[ [3, 4], [5, 6] ]
        RUBY
      end

      include_examples 'corrects offenses'
    end

    context 'when array style is compact & reference style is no_space' do
      let(:array_style) { 'compact' }
      let(:reference_style) { 'no_space' }

      let(:corrected_source) do
        <<~RUBY
          # frozen_string_literal: true

          [ a[b], c[d], [ 1, 2 ]]
          foo[[ 3, 4 ], [ 5, 6 ]]
        RUBY
      end

      include_examples 'corrects offenses'
    end

    context 'when array style is compact & reference style is space' do
      let(:array_style) { 'compact' }
      let(:reference_style) { 'space' }

      let(:corrected_source) do
        <<~RUBY
          # frozen_string_literal: true

          [ a[ b ], c[ d ], [ 1, 2 ]]
          foo[ [ 3, 4 ], [ 5, 6 ] ]
        RUBY
      end

      include_examples 'corrects offenses'
    end
  end

  it 'corrects IndentationWidth, RedundantBegin, and ' \
     'RescueEnsureAlignment offenses' do
    source = <<~RUBY
      def verify_section
            begin
            scroll_down_until_element_exists
            rescue StandardError
              scroll_down_until_element_exists
              end
      end
    RUBY
    create_file('example.rb', source)
    expect(cli.run(['--auto-correct'])).to eq(0)
    corrected = <<~RUBY
      # frozen_string_literal: true

      def verify_section
        scroll_down_until_element_exists
      rescue StandardError
        scroll_down_until_element_exists
      end
    RUBY
    expect(IO.read('example.rb')).to eq(corrected)
  end

  it 'corrects LineEndConcatenation offenses leaving the ' \
     'UnneededInterpolation offense unchanged' do
    # If we change string concatenation from plus to backslash, the string
    # literal that follows must remain a string literal.
    source = <<~'RUBY'
      puts 'foo' +
           "#{bar}"
      puts 'a' +
        'b'
      "#{c}"
    RUBY
    create_file('example.rb', source)
    expect(cli.run(['--auto-correct'])).to eq(0)
    corrected = ['# frozen_string_literal: true',
                 '',
                 "puts 'foo' \\",
                 '     "#{bar}"',
                 # Expressions that need correction from only one of these cops
                 # are corrected as expected.
                 "puts 'a' \\",
                 "     'b'",
                 'c.to_s',
                 ''].join("\n")
    expect(IO.read('example.rb')).to eq(corrected)
  end

  it 'corrects Style/InverseMethods and Style/Not offenses' do
    source = <<~'RUBY'
      x.select {|y| not y.z }
    RUBY
    create_file('example.rb', source)
    expect(cli.run([
                     '--auto-correct',
                     '--only', 'Style/InverseMethods,Style/Not'
                   ])).to eq(0)
    corrected = <<~'RUBY'
      x.reject {|y|  y.z }
    RUBY
    expect(IO.read('example.rb')).to eq(corrected)
  end

  it 'corrects Style/Next and Style/SafeNavigation offenses' do
    create_file('.rubocop.yml', <<~YAML)
      AllCops:
        TargetRubyVersion: 2.3
    YAML
    source = <<~'RUBY'
      until x
        if foo
          foo.some_method do
            y
          end
        end
      end
    RUBY
    create_file('example.rb', source)
    expect(cli.run([
                     '--auto-correct',
                     '--only', 'Style/Next,Style/SafeNavigation'
                   ])).to eq(0)
    corrected = <<~'RUBY'
      until x
        next unless foo
        foo.some_method do
          y
        end
      end
    RUBY
    expect(IO.read('example.rb')).to eq(corrected)
  end

  it 'corrects `Lint/Lambda` and `Lint/UnusedBlockArgument` offenses' do
    source = <<~'RUBY'
      c = -> event do
        puts 'Hello world'
      end
    RUBY
    create_file('example.rb', source)
    expect(cli.run([
                     '--auto-correct',
                     '--only', 'Lint/Lambda,Lint/UnusedBlockArgument'
                   ])).to eq(0)
    corrected = <<~'RUBY'
      c = lambda do |_event|
        puts 'Hello world'
      end
    RUBY
    expect(IO.read('example.rb')).to eq(corrected)
  end

  describe 'caching' do
    let(:cache) do
      instance_double(RuboCop::ResultCache, 'valid?' => true,
                                            'load' => cached_offenses)
    end
    let(:source) { %(puts "Hi"\n) }

    before do
      allow(RuboCop::ResultCache).to receive(:new) { cache }
      create_file('example.rb', source)
    end

    context 'with no offenses in the cache' do
      let(:cached_offenses) { [] }

      it "doesn't correct offenses" do
        expect(cli.run(['--auto-correct'])).to eq(0)
        expect(IO.read('example.rb')).to eq(source)
      end
    end

    context 'with an offense in the cache' do
      let(:cached_offenses) { ['Style/StringLiterals: ...'] }

      it 'corrects offenses' do
        allow(cache).to receive(:save)
        expect(cli.run(['--auto-correct'])).to eq(0)
        expect(IO.read('example.rb')).to eq(<<~RUBY)
          # frozen_string_literal: true

          puts 'Hi'
        RUBY
      end
    end
  end

  %i[line_count_based semantic braces_for_chaining].each do |style|
    context "when BlockDelimiters has #{style} style" do
      it 'corrects SpaceBeforeBlockBraces, SpaceInsideBlockBraces offenses' do
        source = <<~RUBY
          r = foo.map{|a|
            a.bar.to_s
          }
          foo.map{|a|
            a.bar.to_s
          }.baz
        RUBY
        create_file('example.rb', source)
        create_file('.rubocop.yml', <<~YAML)
          Style/BlockDelimiters:
            EnforcedStyle: #{style}
        YAML
        expect(cli.run(['--auto-correct'])).to eq(1)
        corrected = case style
                    when :semantic
                      <<~RUBY
                        # frozen_string_literal: true

                        r = foo.map { |a|
                          a.bar.to_s
                        }
                        foo.map { |a|
                          a.bar.to_s
                        }.baz
                      RUBY
                    when :braces_for_chaining
                      <<~RUBY
                        # frozen_string_literal: true

                        r = foo.map do |a|
                          a.bar.to_s
                        end
                        foo.map { |a|
                          a.bar.to_s
                        }.baz
                      RUBY
                    when :line_count_based
                      <<~RUBY
                        # frozen_string_literal: true

                        r = foo.map do |a|
                          a.bar.to_s
                        end
                        foo.map do |a|
                          a.bar.to_s
                        end.baz
                      RUBY
                    end
        expect($stderr.string).to eq('')
        expect(IO.read('example.rb')).to eq(corrected)
      end
    end
  end

  it 'corrects InitialIndentation offenses' do
    source = <<~RUBY
      # comment 1

      # comment 2
      def func
        begin
          foo
          bar
        rescue StandardError
          baz
        end
      end
    RUBY
    create_file('example.rb', source)
    create_file('.rubocop.yml', <<~YAML)
      Layout/DefEndAlignment:
        AutoCorrect: true
    YAML
    expect(cli.run(['--auto-correct'])).to eq(0)
    corrected = <<~RUBY
      # frozen_string_literal: true

      # comment 1

      # comment 2
      def func
        foo
        bar
      rescue StandardError
        baz
      end
    RUBY
    expect($stderr.string).to eq('')
    expect(IO.read('example.rb')).to eq(corrected)
  end

  it 'corrects UnneededCopDisableDirective offenses' do
    source = <<~RUBY
      class A
        # rubocop:disable Metrics/MethodLength
        def func
          # rubocop:enable Metrics/MethodLength
          x = foo # rubocop:disable Lint/UselessAssignment,Style/For
          # rubocop:disable all
          # rubocop:disable Style/ClassVars
          @@bar = "3"
        end
      end
    RUBY
    create_file('example.rb', source)
    expect(cli.run(%w[--auto-correct --format simple])).to eq(1)
    expect($stdout.string).to eq(<<~RESULT)
      == example.rb ==
      C:  1:  1: [Corrected] Style/FrozenStringLiteralComment: Missing magic comment # frozen_string_literal: true.
      C:  2:  1: [Corrected] Layout/EmptyLineAfterMagicComment: Add an empty line after magic comments.
      C:  3:  1: Style/Documentation: Missing top-level class documentation comment.
      W:  4:  3: [Corrected] Lint/UnneededCopDisableDirective: Unnecessary disabling of Metrics/MethodLength.
      C:  5:  1: [Corrected] Layout/EmptyLinesAroundMethodBody: Extra empty line detected at method body beginning.
      C:  5:  1: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected.
      W:  5: 22: [Corrected] Lint/UnneededCopEnableDirective: Unnecessary enabling of Metrics/MethodLength.
      W:  7: 54: [Corrected] Lint/UnneededCopDisableDirective: Unnecessary disabling of Style/For.
      W:  9:  5: [Corrected] Lint/UnneededCopDisableDirective: Unnecessary disabling of Style/ClassVars.

      1 file inspected, 9 offenses detected, 8 offenses corrected
    RESULT
    corrected = <<~RUBY
      # frozen_string_literal: true

      class A
        def func
          x = foo # rubocop:disable Lint/UselessAssignment
          # rubocop:disable all
          @@bar = "3"
        end
      end
    RUBY
    expect($stderr.string).to eq('')
    expect(IO.read('example.rb')).to eq(corrected)
  end

  it 'corrects RedundantBegin offenses and fixes indentation etc' do
    source = <<~RUBY
        def func
          begin
            foo
            bar
          rescue
            baz
          end
        end

        def func; begin; x; y; rescue; z end end

      def method
        begin
          BlockA do |strategy|
            foo
          end

          BlockB do |portfolio|
            foo
          end

        rescue => e # some problem
          bar
        end
      end

      def method
        begin # comment 1
          do_some_stuff
        rescue # comment 2
        end # comment 3
      end
    RUBY
    create_file('example.rb', source)
    expect(cli.run(['--auto-correct'])).to eq(1)
    corrected = <<~RUBY
      # frozen_string_literal: true

      def func
        foo
        bar
      rescue StandardError
        baz
        end

      def func
        x; y; rescue StandardError; z
      end

      def method
        BlockA do |_strategy|
          foo
        end

        BlockB do |_portfolio|
          foo
        end
      rescue StandardError => e # some problem
        bar
      end

      def method
        # comment 1
        do_some_stuff
      rescue StandardError # comment 2
        # comment 3
      end
    RUBY
    expect(IO.read('example.rb')).to eq(corrected)
  end

  it 'corrects Tab and IndentationConsistency offenses' do
    source = <<~RUBY
        render_views
          describe 'GET index' do
      \t    it 'returns http success' do
      \t    end
      \tdescribe 'admin user' do
           before(:each) do
      \t    end
      \tend
          end
    RUBY
    create_file('example.rb', source)
    expect(cli.run(['--auto-correct'])).to eq(0)
    corrected = <<~RUBY
      # frozen_string_literal: true

      render_views
      describe 'GET index' do
        it 'returns http success' do
        end
        describe 'admin user' do
          before(:each) do
          end
        end
      end
    RUBY
    expect(IO.read('example.rb')).to eq(corrected)
  end

  it 'corrects IndentationWidth and IndentationConsistency offenses' do
    source = <<~RUBY
      require 'spec_helper'
      describe ArticlesController do
        render_views
          describe "GET \'index\'" do
                  it "returns http success" do
                  end
              describe "admin user" do
                   before(:each) do
                  end
              end
          end
      end
    RUBY
    create_file('example.rb', source)
    expect(cli.run(['--auto-correct'])).to eq(0)
    corrected = <<~RUBY
      # frozen_string_literal: true

      require 'spec_helper'
      describe ArticlesController do
        render_views
        describe \"GET 'index'\" do
          it 'returns http success' do
          end
          describe 'admin user' do
            before(:each) do
            end
          end
        end
      end
    RUBY
    expect(IO.read('example.rb')).to eq(corrected)
  end

  it 'corrects IndentationWidth and IndentationConsistency offenses' \
     'when using `EnforcedStyle: outdent` and ' \
     '`EnforcedStyle: indented_internal_methods`' do
    create_file('.rubocop.yml', <<~YAML)
      Layout/AccessModifierIndentation:
        EnforcedStyle: outdent
      Layout/IndentationConsistency:
        EnforcedStyle: indented_internal_methods
    YAML

    source = <<~'RUBY'
      class Foo
                         private

          def do_something
            # something
          end
      end
    RUBY
    create_file('example.rb', source)

    expect(cli.run([
                     '--auto-correct',
                     '--only',
                     [
                       'Layout/AccessModifierIndentation',
                       'Layout/IndentationConsistency',
                       'Layout/IndentationWidth'
                     ].join(',')
                   ])).to eq(0)

    corrected = <<~'RUBY'
      class Foo
      private

        def do_something
          # something
        end
      end
    RUBY
    expect(IO.read('example.rb')).to eq(corrected)
  end

  it 'corrects SymbolProc and SpaceBeforeBlockBraces offenses' do
    source = ['foo.map{ |a| a.nil? }']
    create_file('example.rb', source)
    expect(cli.run(['-D', '--auto-correct'])).to eq(0)
    corrected = "# frozen_string_literal: true\n\nfoo.map(&:nil?)\n"
    expect(IO.read('example.rb')).to eq(corrected)
    uncorrected = $stdout.string.split($RS).select do |line|
      line.include?('example.rb:') && !line.include?('[Corrected]')
    end
    expect(uncorrected.empty?).to be(true) # Hence exit code 0.
  end

  it 'corrects only IndentationWidth without crashing' do
    source = <<~RUBY
      foo = if bar
        something
      elsif baz
        other_thing
      else
        raise
      end
    RUBY
    create_file('example.rb', source)
    expect(cli.run(%w[--only IndentationWidth --auto-correct])).to eq(0)
    corrected = <<~RUBY
      foo = if bar
              something
      elsif baz
        other_thing
      else
        raise
      end
    RUBY
    expect(IO.read('example.rb')).to eq(corrected)
  end

  it 'corrects complicated cases conservatively' do
    # Two cops make corrections here; Style/BracesAroundHashParameters, and
    # Style/AlignHash. Because they make minimal corrections relating only
    # to their specific areas, and stay away from cleaning up extra
    # whitespace in the process, the combined changes don't interfere with
    # each other and the result is semantically the same as the starting
    # point.
    source = <<~RUBY
      expect(subject[:address]).to eq({
        street1:     '1 Market',
        street2:     '#200',
        city:        'Some Town',
        state:       'CA',
        postal_code: '99999-1111'
      })
    RUBY
    create_file('example.rb', source)
    expect(cli.run(['-D', '--auto-correct'])).to eq(0)
    corrected =
      <<~RUBY
        # frozen_string_literal: true

        expect(subject[:address]).to eq(
          street1: '1 Market',
          street2: '#200',
          city: 'Some Town',
          state: 'CA',
          postal_code: '99999-1111'
        )
      RUBY
    expect(IO.read('example.rb')).to eq(corrected)
  end

  it 'honors Exclude settings in individual cops' do
    source = 'puts %x(ls)'
    create_file('example.rb', source)
    create_file('.rubocop.yml', <<~YAML)
      Style/CommandLiteral:
        Exclude:
          - example.rb
      Style/FrozenStringLiteralComment:
        Enabled: false
    YAML
    expect(cli.run(['--auto-correct'])).to eq(0)
    expect($stdout.string).to include('no offenses detected')
    expect(IO.read('example.rb')).to eq("#{source}\n")
  end

  it 'corrects code with indentation problems' do
    create_file('example.rb', <<~RUBY)
      module Bar
      class Goo
        def something
          first call
            do_other 'things'
            if other > 34
              more_work
            end
        end
      end
      end

      module Foo
      class Bar

        stuff = [
                  {
                    some: 'hash',
                  },
                       {
                    another: 'hash',
                    with: 'more'
                  },
                ]
      end
      end
    RUBY
    expect(cli.run(['--auto-correct'])).to eq(1)
    expect(IO.read('example.rb'))
      .to eq(<<~RUBY)
        # frozen_string_literal: true

        module Bar
          class Goo
            def something
              first call
              do_other 'things'
              more_work if other > 34
            end
          end
        end

        module Foo
          class Bar
            stuff = [
              {
                some: 'hash'
              },
              {
                another: 'hash',
                with: 'more'
              }
            ]
          end
        end
      RUBY
  end

  it 'can change block comments and indent them' do
    create_file('example.rb', <<~RUBY)
      module Foo
      class Bar
      =begin
      This is a nice long
      comment
      which spans a few lines
      =end
        def baz
          do_something
        end
      end
      end
    RUBY
    expect(cli.run(['--auto-correct'])).to eq(1)
    expect(IO.read('example.rb'))
      .to eq(<<~RUBY)
        # frozen_string_literal: true

        module Foo
          class Bar
            # This is a nice long
            # comment
            # which spans a few lines
            def baz
              do_something
            end
          end
        end
      RUBY
  end

  it 'can correct two problems with blocks' do
    # {} should be do..end and space is missing.
    create_file('example.rb', <<~RUBY)
      (1..10).each{ |i|
        puts i
      }
    RUBY
    expect(cli.run(['--auto-correct'])).to eq(0)
    expect(IO.read('example.rb'))
      .to eq(<<~RUBY)
        # frozen_string_literal: true

        (1..10).each do |i|
          puts i
        end
      RUBY
  end

  it 'can handle spaces when removing braces' do
    create_file('example.rb',
                ["assert_post_status_code 400, 's', {:type => 'bad'}"])
    exit_status = cli.run(
      %w[--auto-correct --format emacs
         --only SpaceInsideHashLiteralBraces,BracesAroundHashParameters]
    )
    expect(exit_status).to eq(0)
    expect(IO.read('example.rb'))
      .to eq(<<~RUBY)
        assert_post_status_code 400, 's', :type => 'bad'
      RUBY
    e = abs('example.rb')
    # TODO: Don't report that a problem is corrected when it
    # actually went away due to another correction.
    expect($stdout.string).to eq(<<~RESULT)
      #{e}:1:35: C: [Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside { missing.
      #{e}:1:35: C: [Corrected] Style/BracesAroundHashParameters: Redundant curly braces around a hash parameter.
      #{e}:1:50: C: [Corrected] Layout/SpaceInsideHashLiteralBraces: Space inside } missing.
    RESULT
  end

  # A case where two cops, EmptyLinesAroundBody and EmptyLines, try to
  # remove the same line in autocorrect.
  it 'can correct two empty lines at end of class body' do
    create_file('example.rb', <<~RUBY)
      class Test
        def f
        end

      end
    RUBY
    expect(cli.run(['--auto-correct'])).to eq(1)
    expect($stderr.string).to eq('')
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      # frozen_string_literal: true

      class Test
        def f; end
      end
    RUBY
  end

  # A case where WordArray's correction can be clobbered by
  # AccessModifierIndentation's correction.
  it 'can correct indentation and another thing' do
    create_file('example.rb', <<~RUBY)
      class Dsl
      private
        A = ["git", "path",]
      end
    RUBY
    exit_status = cli.run(
      %w[--auto-correct --format emacs --only] << %w[
        WordArray AccessModifierIndentation
        Documentation TrailingCommaInArrayLiteral
      ].join(',')
    )
    expect(exit_status).to eq(1)
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      class Dsl
        private
        A = %w[git path]
      end
    RUBY
    e = abs('example.rb')
    expect($stdout.string).to eq(<<~RESULT)
      #{e}:1:1: C: Style/Documentation: Missing top-level class documentation comment.
      #{e}:2:1: C: [Corrected] Layout/AccessModifierIndentation: Indent access modifiers like `private`.
      #{e}:3:7: C: [Corrected] Style/WordArray: Use `%w` or `%W` for an array of words.
      #{e}:3:21: C: [Corrected] Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
    RESULT
  end

  # A case where the same cop could try to correct an offense twice in one
  # place.
  it 'can correct empty line inside special form of nested modules' do
    create_file('example.rb', <<~RUBY)
      module A module B

      end end
    RUBY
    expect(cli.run(['--auto-correct'])).to eq(1)
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      # frozen_string_literal: true

      module A
        module B
      end end
    RUBY
    uncorrected = $stdout.string.split($RS).select do |line|
      line.include?('example.rb:') && !line.include?('[Corrected]')
    end
    expect(uncorrected.empty?).to be(false) # Hence exit code 1.
  end

  it 'can correct single line methods' do
    create_file('example.rb', <<~RUBY)
      def func1; do_something end # comment
      def func2() do_1; do_2; end
    RUBY
    exit_status = cli.run(
      %w[--auto-correct --format offenses --only] << %w[
        SingleLineMethods Semicolon EmptyLineBetweenDefs
        DefWithParentheses TrailingWhitespace
      ].join(',')
    )
    expect(exit_status).to eq(0)
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      # comment
      def func1
        do_something
      end

      def func2
        do_1
        do_2
      end
    RUBY
    expect($stdout.string).to eq(<<~RESULT)

      6   Layout/TrailingWhitespace
      3   Style/Semicolon
      2   Style/SingleLineMethods
      1   Layout/EmptyLineBetweenDefs
      1   Style/DefWithParentheses
      --
      13  Total

    RESULT
  end

  # In this example, the auto-correction (changing "fail" to "raise")
  # creates a new problem (alignment of parameters), which is also
  # corrected automatically.
  it 'can correct a problems and the problem it creates' do
    create_file('example.rb', <<~RUBY)
      fail NotImplementedError,
           'Method should be overridden in child classes'
    RUBY
    expect(cli.run(['--auto-correct', '--only',
                    'SignalException,AlignArguments'])).to eq(0)
    expect(IO.read('example.rb'))
      .to eq(<<~RUBY)
        raise NotImplementedError,
              'Method should be overridden in child classes'
      RUBY
    expect($stdout.string).to eq(<<~RESULT)
      Inspecting 1 file
      C

      Offenses:

      example.rb:1:1: C: [Corrected] Style/SignalException: Always use raise to signal exceptions.
      fail NotImplementedError,
      ^^^^
      example.rb:2:6: C: [Corrected] Layout/AlignArguments: Align the arguments of a method call if they span more than one line.
           'Method should be overridden in child classes'
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      1 file inspected, 2 offenses detected, 2 offenses corrected
    RESULT
  end

  # Thanks to repeated auto-correction, we can get rid of the trailing
  # spaces, and then the extra empty line.
  it 'can correct two problems in the same place' do
    create_file('example.rb',
                ['# Example class.',
                 'class Klass',
                 '  ',
                 '  def f; end',
                 'end'])
    expect(cli.run(%w[--auto-correct --only
                      TrailingWhitespace,EmptyLinesAroundClassBody])).to eq(0)
    expect(IO.read('example.rb'))
      .to eq(<<~RUBY)
        # Example class.
        class Klass
          def f; end
        end
      RUBY
    expect($stderr.string).to eq('')
    expect($stdout.string).to eq(<<~RESULT)
      Inspecting 1 file
      C

      Offenses:

      example.rb:3:1: C: [Corrected] Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body beginning.
      example.rb:3:1: C: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected.

      1 file inspected, 2 offenses detected, 2 offenses corrected
    RESULT
  end

  it 'can correct MethodDefParentheses and other offense' do
    create_file('example.rb', <<~RUBY)
      def primes limit
        1.upto(limit).select { |i| i.even? }
      end
    RUBY
    expect(cli.run(%w[-D --auto-correct
                      --only MethodDefParentheses,SymbolProc])).to eq(0)
    expect($stderr.string).to eq('')
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      def primes(limit)
        1.upto(limit).select(&:even?)
      end
    RUBY
    expect($stdout.string).to eq(<<~RESULT)
      Inspecting 1 file
      C

      Offenses:

      example.rb:1:12: C: [Corrected] Style/MethodDefParentheses: Use def with parentheses when there are parameters.
      def primes limit
                 ^^^^^
      example.rb:2:24: C: [Corrected] Style/SymbolProc: Pass &:even? as an argument to select instead of a block.
        1.upto(limit).select { |i| i.even? }
                             ^^^^^^^^^^^^^^^

      1 file inspected, 2 offenses detected, 2 offenses corrected
    RESULT
  end

  it 'can correct WordArray and SpaceAfterComma offenses' do
    create_file('example.rb', <<~RUBY)
      f(type: ['offline','offline_payment'],
        bar_colors: ['958c12','953579','ff5800','0085cc'])
    RUBY
    expect(cli.run(%w[-D --auto-correct --format o
                      --only WordArray,SpaceAfterComma])).to eq(0)
    expect($stdout.string)
      .to eq(<<~RESULT)

        4  Layout/SpaceAfterComma
        2  Style/WordArray
        --
        6  Total

      RESULT
    expect(IO.read('example.rb'))
      .to eq(<<~RUBY)
        f(type: %w[offline offline_payment],
          bar_colors: %w[958c12 953579 ff5800 0085cc])
      RUBY
  end

  it 'can correct SpaceAfterComma and HashSyntax offenses' do
    create_file('example.rb',
                "I18n.t('description',:property_name => property.name)")
    expect(cli.run(%w[-D --auto-correct --format emacs
                      --only SpaceAfterComma,HashSyntax])).to eq(0)
    expect($stdout.string)
      .to eq(["#{abs('example.rb')}:1:21: C: [Corrected] " \
              'Layout/SpaceAfterComma: Space missing after comma.',
              "#{abs('example.rb')}:1:22: C: [Corrected] " \
              'Style/HashSyntax: Use the new Ruby 1.9 hash syntax.',
              ''].join("\n"))
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      I18n.t('description', property_name: property.name)
    RUBY
  end

  it 'can correct HashSyntax and SpaceAroundOperators offenses' do
    create_file('example.rb', '{ :b=>1 }')
    expect(cli.run(%w[-D --auto-correct --format emacs
                      --only HashSyntax,SpaceAroundOperators])).to eq(0)
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      { b: 1 }
    RUBY
    expect($stdout.string)
      .to eq(<<~RESULT)
        #{abs('example.rb')}:1:3: C: [Corrected] Style/HashSyntax: Use the new Ruby 1.9 hash syntax.
        #{abs('example.rb')}:1:5: C: [Corrected] Layout/SpaceAroundOperators: Surrounding space missing for operator `=>`.
      RESULT
  end

  it 'can correct HashSyntax when --only is used' do
    create_file('example.rb', '{ :b=>1 }')
    expect(cli.run(%w[--auto-correct -f emacs
                      --only Style/HashSyntax])).to eq(0)
    expect($stderr.string).to eq('')
    expect(IO.read('example.rb')).to eq("{ b: 1 }\n")
    expect($stdout.string)
      .to eq("#{abs('example.rb')}:1:3: C: [Corrected] Style/HashSyntax: " \
              "Use the new Ruby 1.9 hash syntax.\n")
  end

  it 'can correct TrailingBlankLines and TrailingWhitespace offenses' do
    create_file('example.rb',
                ['# frozen_string_literal: true',
                 '',
                 '  ',
                 '',
                 ''])
    expect(cli.run(%w[--auto-correct --format emacs])).to eq(0)
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      # frozen_string_literal: true
    RUBY
    expect($stdout.string).to eq(<<~RESULT)
      #{abs('example.rb')}:2:1: C: [Corrected] Layout/TrailingBlankLines: 3 trailing blank lines detected.
      #{abs('example.rb')}:3:1: C: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected.
    RESULT
  end

  it 'can correct MethodCallWithoutArgsParentheses and EmptyLiteral offenses' do
    create_file('example.rb', 'Hash.new()')
    exit_status = cli.run(
      %w[--auto-correct --format emacs
         --only MethodCallWithoutArgsParentheses,EmptyLiteral]
    )
    expect(exit_status).to eq(0)
    expect($stderr.string).to eq('')
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      {}
    RUBY
    expect($stdout.string).to eq(<<~RESULT)
      #{abs('example.rb')}:1:1: C: [Corrected] Style/EmptyLiteral: Use hash literal `{}` instead of `Hash.new`.
      #{abs('example.rb')}:1:9: C: [Corrected] Style/MethodCallWithoutArgsParentheses: Do not use parentheses for method calls with no arguments.
    RESULT
  end

  it 'can correct IndentHash offenses with separator style' do
    create_file('example.rb', <<~RUBY)
      CONVERSION_CORRESPONDENCE = {
                    match_for_should: :match,
                match_for_should_not: :match_when_negated,
          failure_message_for_should: :failure_message,
      failure_message_for_should_not: :failure_message_when
      }
    RUBY
    create_file('.rubocop.yml', <<~YAML)
      Layout/AlignHash:
        EnforcedColonStyle: separator
    YAML
    expect(cli.run(%w[--auto-correct])).to eq(0)
    expect(IO.read('example.rb'))
      .to eq(<<~RUBY)
        # frozen_string_literal: true

        CONVERSION_CORRESPONDENCE = {
                        match_for_should: :match,
                    match_for_should_not: :match_when_negated,
              failure_message_for_should: :failure_message,
          failure_message_for_should_not: :failure_message_when
        }.freeze
      RUBY
  end

  it 'does not say [Corrected] if correction was avoided' do
    src = <<~RUBY
      func a do b end
      Signal.trap('TERM') { system(cmd); exit }
      def self.some_method(foo, bar: 1)
        log.debug(foo)
      end
    RUBY
    corrected = <<~RUBY
      func a do b end
      Signal.trap('TERM') { system(cmd); exit }
      def self.some_method(foo, bar: 1)
        log.debug(foo)
      end
    RUBY
    create_file('.rubocop.yml', <<~YAML)
      AllCops:
        TargetRubyVersion: 2.3
    YAML
    create_file('example.rb', src)
    exit_status = cli.run(
      %w[-a -f simple --only BlockDelimiters,Semicolon,UnusedMethodArgument]
    )
    expect(exit_status).to eq(1)
    expect($stderr.string).to eq('')
    expect(IO.read('example.rb')).to eq(corrected)
    expect($stdout.string).to eq(<<~RESULT)
      == example.rb ==
      C:  1:  8: Style/BlockDelimiters: Prefer {...} over do...end for single-line blocks.
      C:  2: 34: Style/Semicolon: Do not use semicolons to terminate expressions.
      W:  3: 27: Lint/UnusedMethodArgument: Unused method argument - bar.

      1 file inspected, 3 offenses detected
    RESULT
  end

  it 'does not hang SpaceAfterPunctuation and SpaceInsideParens' do
    create_file('example.rb', 'some_method(a, )')
    Timeout.timeout(10) do
      expect(cli.run(%w[--auto-correct])).to eq(0)
    end
    expect($stderr.string).to eq('')
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      # frozen_string_literal: true

      some_method(a)
    RUBY
  end

  it 'does not hang SpaceAfterPunctuation and ' \
     'SpaceInsideArrayLiteralBrackets' do
    create_file('example.rb', 'puts [1, ]')
    Timeout.timeout(10) do
      expect(cli.run(%w[--auto-correct])).to eq(0)
    end
    expect($stderr.string).to eq('')
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      # frozen_string_literal: true

      puts [1]
    RUBY
  end

  it 'can be disabled for any cop in configuration' do
    create_file('example.rb', 'puts "Hello", 123456')
    create_file('.rubocop.yml', <<~YAML)
      Style/StringLiterals:
        AutoCorrect: false
    YAML
    expect(cli.run(%w[--auto-correct])).to eq(1)
    expect($stderr.string).to eq('')
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      # frozen_string_literal: true

      puts \"Hello\", 123_456
    RUBY
  end

  it 'handles different SpaceInsideBlockBraces and ' \
     'SpaceInsideHashLiteralBraces' do
    create_file('example.rb', <<~RUBY)
      {foo: bar,
       bar: baz,}
      foo.each {bar;}
    RUBY
    create_file('.rubocop.yml', <<~YAML)
      Layout/SpaceInsideBlockBraces:
        EnforcedStyle: space
      Layout/SpaceInsideHashLiteralBraces:
        EnforcedStyle: no_space
      Style/TrailingCommaInHashLiteral:
        EnforcedStyleForMultiline: consistent_comma
    YAML
    expect(cli.run(%w[--auto-correct])).to eq(1)
    expect($stderr.string).to eq('')
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      # frozen_string_literal: true

      {foo: bar,
       bar: baz,}
      foo.each { bar; }
    RUBY
  end

  it 'corrects BracesAroundHashParameters offenses leaving the ' \
     'MultilineHashBraceLayout offense unchanged' do
    create_file('example.rb', <<~RUBY)
      def method_a
        do_something({ a: 1,
        })
      end
    RUBY

    expect($stderr.string).to eq('')
    expect(cli.run(%w[--auto-correct])).to eq(0)
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      # frozen_string_literal: true

      def method_a
        do_something(a: 1)
      end
    RUBY
  end

  it 'corrects HeredocArgumentClosingParenthesis offenses and ' \
     'ignores TrailingCommaInArguments offense' do
    create_file('example.rb', <<~RUBY)
      result = foo(
        # comment
        <<~SQL.squish
          SELECT * FROM bar
        SQL
      )
    RUBY
    create_file('.rubocop.yml', <<~YAML)
      Layout/HeredocArgumentClosingParenthesis:
        Enabled: true
      Style/TrailingCommaInArguments:
        Enabled: true
        EnforcedStyleForMultiline: comma
    YAML

    expect(cli.run(%w[--auto-correct])).to eq(1)
    expect($stderr.string).to eq('')
    expect(IO.read('example.rb')).to eq(<<~RUBY)
      # frozen_string_literal: true

      result = foo(
        # comment
        <<~SQL.squish)
          SELECT * FROM bar
        SQL
    RUBY
  end

  it 'corrects TrailingCommaIn(Array|Hash)Literal and ' \
     'Multiline(Array|Hash)BraceLayout offenses' do
    create_file('.rubocop.yml', <<~YAML)
      Style/TrailingCommaInArrayLiteral:
        EnforcedStyleForMultiline: consistent_comma
      Style/TrailingCommaInHashLiteral:
        EnforcedStyleForMultiline: consistent_comma
    YAML

    source_file = Pathname('example.rb')
    source = <<~RUBY
      [ 1,
        2
      ].to_s

      { foo: 1,
        bar: 2
      }.to_s
    RUBY
    create_file(source_file, source)

    status = cli.run(
      [
        '--auto-correct',
        '--only',
        [
          'Style/TrailingCommaInArrayLiteral',
          'Style/TrailingCommaInHashLiteral',
          'Layout/MultilineArrayBraceLayout',
          'Layout/MultilineHashBraceLayout'
        ].join(',')
      ]
    )
    expect(status).to eq(0)

    corrected = <<~RUBY
      [ 1,
        2,].to_s

      { foo: 1,
        bar: 2,}.to_s
    RUBY
    expect(source_file.read).to eq(corrected)
  end
end


text:
Grimsby Town station
DN31 1LY
Live times and facilities information for Grimsby Town Station
Accessible Booking Office Counter
Help Points are available on both platforms to contact a member of our team in an emergency or for information when the ticket office is closed. When using the Help Point our CCTV will be monitoring your position for the duration of the call.
The National key toilets are located on Platform 1; these toilets are operated by a radar key.
Lifts are provided to all Platforms. Note: Lifts are unavailable outside of station staffing hours
Accessible Public Telephones, Accessible Taxis, Impaired Mobility Set Down
Sunday – 08:45 to 19:30 Saturday – 05:30 to 19:30 Monday – 06:00 to 19:30 Tuesday – 06:00 to 19:30 Wednesday – 06:00 to 19:30 Thursday – 06:00 to 19:30 Friday – 06:00 to 19:30
The Self Service Ticket Machine is located outside the station entrance and is available 24 hours a day
On platform 1, within car park and within cycle hub
Pick Up / Drop Off at the Station Front.
The nearest taxi rank is outside the station.
To speak to a member of our team please call 0345 600 1671
The toilets are located on Platform 1. The National key toilets are located on Platform 1; these toilets are operated by a radar key.
Left Luggage, Lost Property


text:
Adah Rose Gallery Presents Joan Belmar Beguiled by Caravaggio
By Editorial Team on May 31, 2018
Sat, 02 June 2018 - Thu, 26 July 2018
Photo courtesy of Adah Rose Gallery.
Opening: Saturday, June 2 from 6pm to 8pm
The universe is a place of infinite possibility and beauty in the elegant works of Joan Belmar. In Beguiled by Caravaggio Joan draws inspiration from the Italian Master's use of light and darkness, and creates his own abstract works that investigate the metaphorical meanings of the color black. In this new body of work, Joan's paintings are more simplified, more minimal, but still allude to the rich layerings of culture, science, maps, and planets, while retaining a sense of mystery. There is a luminosity, a sumptuous velvety black; a sense of infinity.
Joan Belmar was born in Santiago, Chile and left for Spain at the age of 24. He began painting professionally in Spain, and moved to Washington, DC four years later. Joan was granted permanent residency in the U.S. based on extraordinary artistic merit in 2003, and became a citizen in 2010.
Joan is the recipient of numerous awards and grants, including the Mayor's Art Award Finalist in Washington, DC, the DC Commission on the Arts & Humanities Fellowship Program, and an Individual Artist Grant by the Arts and Humanities Council of Montgomery County, and the state of Maryland. In 2016 he won first place in the Osten Biennial of Drawing in Macedonia. He has exhibited in numerous shows including Addison Ripley Gallery, Charles Krause Reporting, IA&A at Hillyer, and the Katzen Arts Center at American University. Joan has exhibited with Adah Rose Gallery at PULSE Miami, PULSE New York, the Silicon Valley Art Fair, and the Dallas Art Fair.
Thursday-Sunday: 12 to 5pm
Adah Rose Gallery is located at 3766 Howard Ave., Kensington, MD. For more information, visit www.adahrosegallery.com or call 301-922-0162.


The benefits of learning english essay proposal argument persuasive topics high school students good business best ideas for a. Speech topic possibilities middle sample help drama coursework rd paragraph cover letter nyu fresh document template list great performance in more. Personal funny examples speeches persuasion co your next speaking event college buysafeessays com about life to write old extended holiday i ever had gcse on less homework worksheets facts kids. Student council example release illustration campaign healthy eating habits paper writing or transition words.
Good speech writing persuasive essay topics to write a list of best high school essays on gender roles. Examples smoking banning cool oracle format for scholarship sample death penalty how develop pictures wikihow. % original papers college students ideas oreo anchor chart topic and framework. Academic the world according robin example speeches words our work nuvolexa interesting argumentative student council leadership about life english quickly gravy anecdote. What is healthy eating habits paper schedule lesson speaking chosen final co kids.
Delivering an informative speech public speaking underground topics on persuasive essays co strong essay twenty hueandi co. About life water is in argumentative example of how to write outline for a speech. Best writing techniques ideas renewable energy title alternative hiv paper level english structure high school. Persuasion list your agriculture good more do i thesis statement essay. Science examples wolf group. Top graduation ideas. Topic our work tom builder the original maker. Interesting and innovative college esl time speeches business importance things help me easy uniform out uniforms cover letter idea students popular th grade.