text:
Q: Custom thumbnails for file types with Paperclip I'm using Paperclip with a Ruby on Rails to attach assets to a model, these assets can be any file type and currently thumbnails are only being generated if the asset is an image.  I'd like to be able to display a different default image for other files, either by generating a thumbnail of the files on upload, or setting something up with the default_url but so far I can't find any resources to help with this and am getting no where on my own.
My model is as follows:
  class Asset < ActiveRecord::Base
    has_attached_file :media,
    :storage => :s3,
    :s3_credentials => "#{RAILS_ROOT}/config/s3.yml",
    :path => ":attachment/:id/:style.:extension",
    :bucket => S3_BUCKET,
    :styles => {:thumb => "75x75>", :large => "600x800>",
    :whiny => false,
    :default_url => "/images/:attachment/missing.jpg"

Does anyone have any resources for generating custom thumbnails if generation fails, or fall back on something like :content_type in the default url?  I've looked through the source and haven't been able to get anywhere.
Thanks!

A: I've actually implemented this very same feature.  Paperclip generates thumbnails for all my images and PDFs, and I have added custom thumbnail icons for MS Word, Excel, HTML, TXT files etc.
My solution is fairly straightforward.  In my model Attachment (in your case Asset) I have defined the following method:
def thumbnail_uri(style = :original)
  if style == :original || has_thumbnail?
    attachment.s3.interface.get_link(attachment.s3_bucket.to_s, attachment.path(style), EXPIRES_AFTER)
  else
    generic_icon_path style
  end
end

This returns either a URL to a thumbnail stored on S3, or a local path to a generic PNG icon based on the assets content type (discussed below).  The has_thumbnail? method determines whether or not this asset has had a thumbnail generated for it. This is something I added in my own fork of Paperclip, but you can substitute in your own logic (I'm not sure of the 'standard' way to determine this, maybe comparing the path with your defined 'missing' path, or even just comparing the content type to a default list ["image/jpeg", "image/png"] etc).
Anyway, here's the method which passes back a path to a generic icon based on both the thumbnail style (in your case :thumb and :large) and the content type:
# Generates a path to the thumbnail image for the given content type
# and image size.
#
# e.g. a :small thumbnail with a content type of text/html, the file name
#      would have the filename icon.small.text.html.png
#
# If no such thumbnail can be found a generic one is returned
def generic_icon_path(style = image.default_style)
  url = "/images/attachments/icon.#{style.to_s}.#{attachment_content_type.sub('/', '.')}.png"
  if File.exists? "#{RAILS_ROOT}/public/#{url}"
    url
  else
    "/images/attachments/icon.#{style.to_s}.default.png"
  end
end

Then, to add a new thumbnail I just add PNG files into /images/attachments/ with the correct file name convention.  My thumbail style is called :small and I have defined styles for Word, Excel and plain text so at the present time I have:
icon.small.application.msword.png
icon.small.text.plain.png
icon.small.application.vnd.ms-excel.png
icon.small.application.vnd.openxmlformats-officedocument.spreadsheetml.sheet.png
icon.small.application.vnd.openxmlformats-officedocument.wordprocessingml.document.png

If the content type isn't supported, there's a generic 'catch all' icon which is displayed:
icon.small.default.png

A: You could have some file types inherit from your Asset, e.g. Video and specify a different:
has_attached_file :media, ..., :style => {....}
Have a look at this tutorial for video thumbnails.

redpajama_set_name: RedPajamaStackExchange


text:
Up to 950 jobs set to be axed at JCB as result of coronavirus
It comes as 500 agency have also lost their jobs
Laura WatsonBusiness Editor
JCB's World Headquarters in Rocester
Digger-giant JCB is axing up to 950 jobs at its UK plants as a result of coronavirus.
The manufacturer says demand for its machines has fallen by half as a result of the pandemic.
A 45-day consultation will being on Monday (May 18) with affected workers at 10 factories in Staffordshire, Derbyshire and Wrexham.
It comes as 500 Guidant agency employees are also being released from the business.
The job losses have been announced as a result of the severe disruption caused to JCB's business by the Covid-19 crisis, which will see annual production halved.
Hundreds of staff return to work at JCB - and they've got to wear masks or visors and be temperature checked
Mass anti-lockdown gatherings promising 'picnics, music and fun' planned for Stoke-on-Trent parks tomorrow
JCB CEO Graeme Macdonald today said the decision to restructure JCB's business had been extremely tough but that the company "had no choice but to take difficult decisions to adapt to this new economic reality".
He said: "In 2020 we had planned to sell and produce over 100,000 machines. With so much global uncertainty, that figure right now is looking more like 50,000 machines.
"In the UK, around 85 per cent of everything we manufacture is exported and our UK factories will now produce machines at half the rate we had planned just a few months ago. As a result, we have no choice but to align our cost base to demand for the rest of the year.
JCB CEO Graeme Macdonald
"It is deeply regrettable that we have had to take these steps to restructure the business and that it will have an impact on so many people. No business could have anticipated the scale of the Covid-19 crisis and its economic consequences.
"JCB has had to act quickly for the long-term survival of the business, which has been at the heart of our decision-making throughout this difficult period."
Sign up to the StokeonTrentLive newsletter
Did you know we offer a free email newsletter service?
Each StokeonTrentLive bulletin delivers the latest breaking news, what's on events and the hottest talking points straight to your inbox. For more information about how - and why - to subscribe, click here.
Decide later that you no longer wish to receive the emails? No problem - you can just follow the unsubscribe link.
JCB currently employs around 6,700 people in the UK, including agency employees.
The vast majority of JCB's employees are currently furloughed until the end of May after production at UK factories stopped in March in the wake of the COVID-19 crisis.
This week, around 400 workers returned to work as production partially re-started at five of JCB's factories in Rocester, Cheadle, Uttoxeter and Wrexham.
Mr Macdonald added: "The Government's taxpayer-funded Job Retention Scheme, which was a temporary measure that has seen most UK employees furloughed since the beginning of April, was never going to be capable of sustaining employment at companies having to face such reduced levels of demand."

redpajama_set_name: RedPajamaCommonCrawl


text:
1700-Mile 2008 Honda S2000
Sold For $34,250 On 9/1/17$34,250 Sold
Seller: Montgomery440
Location: Los Angeles, California 90025
Chassis: JHMAP21448S002068
2.2L F22C Inline-Four
Two Owners
Annual Oil Changes
Private Collection Since 2009
Sold by Montgomery440 to GRONJ for $34,250
This 2008 Honda S2000 shows under 1,700 miles and is an unmodified example that has been with the current owner since 2009. Sold new in Florida, the car remained with its original owner for just under a year before moving to the current owner's private collection. Annual fluid changes have been performed since, though the car otherwise remains as delivered when new. All features are said to work as they should, including the original radio, as well as the heat and A/C. This AP2 S2000 is being offered in Los Angeles on behalf of the current owner with a clean Florida title.
The seller states that the car retains all original paint, as well as the original convertible top. AP2 models received several suspension updates in an effort to reduce oversteer, including revised subframes were implemented at the same time. The 17″ alloy wheels equipped on this car came standard staring in the 2008 model year.
The AP2 received numerous cosmetic alterations from earlier S2000s, including updated front and rear fascias, LED taillights, oval exhaust tips, and updated headlights.
The interior is unmodified and retains its branded floor mats. The leather upholstery appears taut and features contrasting red stitching. The seller states that all interior features work correctly, including the heat and A/C.
The car has been kept in the current owner's private collection since 2009, and they state they have added about 15 of the 1,660 indicated miles during that time.
The 2.2L F22C inline-four produced 237 horsepower and 162 lb-ft of torque when new. The AP2 also had an upgraded 6-speed manual transmission with carbon fiber synchronizers rather than brass, as well as different gearing on 5th and 6th gear.
Numerous photos of the underside are provided in the gallery below.
Winning Bid USD $34,250	by GRONJ
Auction Ended September 1, 2017 at 12:30PM PT


text:
Stalking: Lessons from Recent Research
An Address by
Jeremy Travis, Director
National Center for Women and Policing Conference
I am very pleased to be here and am grateful for the opportunity to address this important meeting, the Fourth Annual Conference of the National Center on Women and Policing. I recall speaking at your first conference in Washington and am delighted to be with you again today and to see the growth in your membership.
The policing profession is experiencing profound changes these days — and, as the recent intense interest in the issue of racial profiling and police misconduct demonstrates, the policing profession is experiencing profound scrutiny. At times such as these, when the public spotlight is particularly unrelenting, it is important that the members of the policing profession dig deep and try to reconnect with the core values that animate policing at its best — an abiding commitment to democratic principles, a strong belief in the importance of partnering with the community, a willingness to be open to new ideas and to honest scrutiny, and a pride in the professionalism of police officers who every day exhibit extraordinary intelligence, bravery, and resourcefulness in their work to bring safety to our neighborhoods. It is my belief that the introduction of an increasing number of women into the policing profession — and into its leadership ranks — will accelerate the profession's ability to live up to those ideals.1 So, at a time when policing is under the spotlight once again, I am honored to be here with you as you focus on the issue of police leadership and to commend you and the National Center for Women and Policing for the very important work you are doing.
My topic this morning is stalking — and specifically, my intention is to share with you some recent research findings that shed new light on the stalking phenomenon and to suggest some implications for law enforcement that may flow from these findings.
But first, we should acknowledge that we would not be having this conversation a generation ago. That is not to say the phenomenon of stalking was unknown — on the contrary, stalking behavior has been observed in human relationships and in communities since the beginning of recorded time. Yet, our emphasis on this behavior, our willingness to distinguish stalking behavior, our insistence that separate statutes be written to prohibit this behavior — all of these are relatively recent, coming in the last quarter of this century. Movies on stalkers, news reports on celebrity stalkers, horrific stories of stalking behavior in the context of intimate relationships — all have heightened our awareness of a separate category of behaviors — related but by no means identical — that we now call "stalking."
Now, all 50 States have anti-stalking statutes, many drafted to conform to the model anti-stalking legislation which was developed under a grant from the National Institute of Justice and published in 1993.2 The 1994 Crime Act specifically provides Federal funds to help communities, victim advocates, and police departments respond more effectively to stalking. The same Federal law required an annual report on stalking and domestic violence be prepared by the Department of Justice, presenting the latest research findings.3
I am very pleased to note the research community has been engaged in making a contribution to the larger social movement to respond more effectively to the stalking phenomena.
This morning, I would like to highlight some of the key findings from a research report on stalking recently published by the National Institute of Justice and our partner in a larger collaborative research effort on violence against women, the National Center for Injury Prevention and Control of the Centers for Disease Control and Prevention. The study I will refer to was conducted by Dr. Patricia Tjaden and Dr. Nancy Thoennes of the Center for Policy Research in Colorado.4
A key question in considering stalking is one of scope — how much stalking is there in the United States? Who stalks whom? How often do stalkers overtly threaten their victims? How often is stalking reported to the police? The NIJ-CDC study is the first of its kind to answer these questions.
Based on a nationally representative sample of 8,000 women and 8,000 men, the study found stalking was much more prevalent than had originally been thought. Eight percent of women — and 2 percent of men — in the United States have been stalked sometime in their lives. These numbers were based on a very strict definition of stalking in which the victim had to have been "very afraid." What does this mean for current levels of stalking? Translating the survey results into more easily grasped numbers, this study found 1million women—and about 370,000 men—are stalked each year. So, we clearly are describing a phenomenon that reaches deep into our communities and claims a substantial number of victims.
Who is involved in stalking incidents? Although stalking is a gender neutral crime, stalking that involves women is a different phenomenon from stalking that involves men as victims. Most stalking victims — about three — quarters — are female and most of the stalking perpetrators — 87 percent — are male. Most stalking cases involve people who know each other — about three-quarters of female victims, and two-thirds of male victims are stalked by perpetrators who are known to them. Women are twice as likely as men — 59 percent compared to 30 percent — to be stalked by intimate partners. Finally, the research found there was a strong relationship between stalking and other forms of violence in intimate relationships. Of all the women in the survey who had been stalked by a current or former husband or cohabiting partner, 81 percent had also been physically assaulted by the partner, and 31 percent were also sexually assaulted by the partner.
The picture that emerges from this first set of findings from the NIJ-CDC study is very disturbing. Overall prevalence levels are very high — and three times higher for women compared to men. For women who are victims of stalkers, the stalking is much more likely to be committed by someone they know, twice as likely to be committed by an intimate partner, and, in situations involving intimate partners, the perpetrator is highly likely to also have beaten and sexually abused the woman.
Let's now look at the relationship between this behavior and the criminal justice system. The NIJ-CDC survey had some interesting findings in this regard. First, it found about half of all stalking victims reported their cases to the police — and about a quarter of the reported cases resulted in the arrest of a suspect. I would be interested in your reactions to these data, but I was surprised at the relatively high reporting and clearance rates. Of much greater concern were the findings regarding orders of protection. About a quarter of the female stalking victims — and about a tenth of the male victims — had obtained restraining orders against their stalkers. But to what effect? Of all victims who obtained these orders, 69 percent of the women and 81 percent of the men said their stalkers violated the terms of the order.
So, the picture these findings paint is of a group of victims who seek the assistance of the criminal justice system at relatively high rates — they report the stalking to the police about half the time, suspects are arrested in a quarter of those cases. And these victims seek the unique protection of restraining orders at a very high rate — but find their stalkers routinely violate these orders and the stalking continues.
Finally, the survey illustrates some of the psychological dimensions of stalking that cannot easily be captured in the dry language of a criminal statute or the precision of a statistical presentation. About 30 percent of the female stalking victims — and 20 percent of male victims — seek psychological counseling as a result of their victimization. Victims of stalking are also much more likely than other victims of crime to live in fear for their personal safety and to carry something to defend themselves. Sometimes we think of stalking incidents as just that — isolated events that are relatively short-lived. The study dispatches that notion with a chilling finding—the average stalking case lasts 1.8 years, and nearly one — fifth of victims are so fearful, they move to new homes to escape their stalkers.
The NIJ-CDC survey underscores the truth that is known to victim advocates and police personnel who work with stalking victims—the impact of this particular crime is profound and can cause deep psychological damage.
Let's consider for a moment the implications of this research for the work of the law enforcement community.
Clearly, we have to do more to encourage stalking victims to report to the police. This is more easily said than done—particularly when, in the eyes of many victim advocates, the police have not taken this crime sufficiently seriously. It would be my hope this organization—representing as it does women in policing—could help change that perception. We have come a long way in the past several years in demonstrating violence against women must be understood as different from other forms of violence—the intimate nature of much of that violence, the setting of acts of violence within a larger context of a relationship characterized by power and control, requires a different law enforcement and criminal justice response.
So too, this research on stalking demonstrates stalking behavior is particularly invidious, causing serious emotional harm and often including a pattern of physical and sexual abuse—and it needs to be taken seriously. The implication for law enforcement is the police need to listen closely to those first signs of stalking behavior—rather than minimizing the reports of the victim, the police need to listen attentively and place those indicia of stalking into a larger context.
This research contains a particular implication for the role of the victim in responding to stalking behavior and the statutory definition of stalking itself. The NIJ-CDC study found only half of the cases involved direct threats to the victims — even though the victims experienced a high level of fear. As you may know, a number of State statutes defining stalking require there be a "credible threat" for the behavior to be classified as criminal.5 This research shows the fear induced in the victim can be triggered by behavior that does not directly constitute a threat — a car parked outside the house, a message on the answering machine, a reminder of the stalker's presence — all of these can be highly threatening and fear — inducing even though they might not constitute, in the strict legal sense, a "credible threat."6
This also suggests victims can help the police in their investigations by recording carefully the times, places, and events related to the stalking; keeping a daily log; and taking photos, if appropriate, to help the police build the case. Victims should be encouraged to call the police whenever the intrusion leads to fear or anxiety, and the police should be encouraged to file incident reports. It is critical in this area of criminal behavior that the pattern of behavior be adequately documented—and both the victim and the police have critical roles to play.7
I have brought with me a handout that lists the citations for this research and other publications of the National Institute of Justice and other components of the Department of Justice on the topic of stalking. I hope you take advantage of the work that has been done in this area and encourage your colleagues to contact us if they have additional questions. We are now just at the beginning of an important effort to develop more effective responses to stalking behavior—research has helped us to understand stalking in unprecedented depth and breadth, and, fortunately, the law enforcement response is keeping pace with our advances in understanding. For this, I commend you and thank you for your attention to this important topic.
NIJ has funded a research project entitled "Women in Policing: Assessing the Work Environment Project," to provide chiefs with the tools to improve the status of women in policing. The project is being carried out by the Institute for Women in Trades, Technology, and Science (IWITTS), and the principal investigator is Donna Milgram. The project has developed a set of workplace environmental assessment tools that will enable law enforcement agencies to determine if the workplace is receptive to women officers (primarily) and to minority officers (secondarily); identify and pinpoint barriers that may exist for women and minority police officers to successfully integrate into the department; and enable police departments to self—monitor on workplace environmental issues.
The content areas of the tools are recruitment and selection, training academy, sexual harassment/work environment, promotion, uniforms and equipment, and childcare and pregnancy. The tools have been field tested with the Albuquerque, New Mexico, and Durham, North Carolina, police departments under Chiefs Gerald Galvin and Teresa Chambers. Findings from these departments and the assessment tools will be made available upon the project's completion in the summer of 1999. For more information, visit the IWITTS Web site at www.iwitts.org to be notified when the assessment tools will be made available.
National Criminal Justice Association, Project to Develop a Model Anti—Stalking Code for States, Washington, DC: U.S. Department of Justice, National Institute of Justice, October 1993, NCJ 144477.
Stalking and Domestic Violence: The Third Annual Report to Congress Under the Violence Against Women Act, Washington DC: U.S. Department of Justice, Violence Against Women Grants Office, July 1998, NCJ 172207.
Tjaden, Patricia, and Nancy Thoennes, Stalking in America: Findings From the National Violence Against Women Survey, Research in Brief, Washington, DC: U.S. Department of Justice, National Institute of Justice, April 1998, NCJ 169592. Other publications will be forthcoming from this study, including the published prevalence and incidence report, and reports on intimate partner violence, workplace violence and racial/ethnic relationships.
See National Criminal Justice Association, Project to Develop a Model Anti—Stalking Code for States, 1993: 45. In her review of the Model Anti—Stalking Code, Nancy K.D. Lemon of the Battered Women's Justice Project of Duluth, Minnesota, notes the following elements of the proposed code were "useful:" ". . . broad definition of prohibited acts; allowing 'implied threats,' as opposed to 'credible threats,' to be sufficient; the use of increasingly serious penalties to deal with increasingly serious acts, and encompassing misdemeanor and felony sanctions; and the broad definition of intent: In other words, if a defendant consciously engages in conduct he knows or should know would cause fear in the person at whom the conduct is directed, the intent element of the model code is satisfied.' The drafters made a similar comment in regard to the fear element: 'In some instances, a defendant may be aware, through a past relationship with the victim, of an unusual phobia of the victim's and use this knowledge to cause fear in the victim ... a jury must determine that the victim's fear was reasonable under the circumstances.' this language may open the door to the introduction of evidence regarding the stalker's past threats toward the same victim, and to expert testimony on stalking generally, which will probably be beneficial to victims."
See National Criminal Justice Association, Project to Develop a Model Anti—Stalking Code for States, 1993. The NIJ report addresses this issue and encompasses a broad definition of the prohibited acts. In her review of the Model Anti—Stalking Code, Nancy K.D. Lemon of the Battered Women's Justice Project of Duluth, Minnesota, noted the following elements of the proposed code were "useful:" the "broad definition . . . beneficial to victims." (from page 5 of the Lemon publication for the Web site.)
This approach is developed extensively in Melroy, J.R., "Stalking: An Old Behavior, A New Crime," Forensic Psychiatry 22 (1) (March 1999): 94.


text:
Juliusz Jerzy Narzyński (ur. 1 grudnia 1934 w Warszawie, zm. 8 listopada 2020 tamże) – polski artysta, malarz, wieloletni wykładowca akademicki.

Życiorys
Artysta urodził się w Warszawie w 1934 roku. W 1959 r. ukończył Akademię Sztuk Pięknych w pracowni prof. Artura Nachta-Samborskiego.

Wielokrotnie prezentował swoje prace w Galerii Sztuki Współczesnej w Warszawie (1965, 1966, 1968, 1970), której był kuratorem w latach 1967–1973.

Od 1973 r. kierował pracownią malarstwa w Państwowej Wyższej Szkole Sztuk Plastycznych w Łodzi (obecnie Akademia Sztuk Pięknych im. Władysława Strzemińskiego w Łodzi).

Jego prace znajdują się w wielu kolekcjach prywatnych oraz publicznych. W tym między innymi w Muzeum Narodowym w Warszawie, w Zachęcie Narodowej Galerii Sztuki w Warszawie, Muzeum Narodowym w Poznaniu, czy w Muzeum Narodowym w Kielcach.

Był laureatem m.in. II Nagrody na II Biennale Sztuki w Iglesias (1963), Nagrody Krytyki Artystycznej im. Cypriana Kamila Norwida (1969) oraz był stypendystą Rządu Holenderskiego (1970).

Został pochowany na cmentarzu ewangelisko-augsburskim w Warszawie (aleja A, grób 3).

Malarstwo
Krytycy uznają malarstwo Juliusza Narzyńskiego za nadrealistyczne, pełne barw i symboli. Jego dzieła lokalizowane są w obszarze tradycji surrealizmu, a jego najczęściej pojawiającym się motywem są poetyckie pejzaże. Jak tłumaczy Mieczysław Szewczuk: Poetyckie, w znaczeniu potocznym, dzięki stworzonej przez fantazję innej rzeczywistości, dalekiej od otaczającej realności, atmosferze tajemnicy, ale też dzięki tytułom – zbudowanym z (...) słów, ułożonych jak fragment poetyckiej frazy.

Prace Narzyńskiego zmuszają odbiorcę do myślenia i rozszyfrowania przesłania ukrytego w symbolach lub konstrukcji obrazu.

Wybrane wystawy indywidualne oraz zbiorowe
Artysta brał udział w ponad 200 wystawach indywidualnych i zbiorowych w kraju oraz zagranicą.

Prace prezentował na wystawach indywidualnych między innymi w Galerii Sztuki Współczesnej w Warszawie (1965, 1966, 1968, 1970), w Galeria Ved Aeu w Aarhus (1969), Galeria Aktie Y 68 w Haarlemie (1970), Galerii Lambert w Paryżu (1971), warszawskiej "Zachęcie" (1972), w Berlinie Zachodnim (1978), w białostockim "Arsenale" (1980), Galerii Sztuki BWA w Łodzi (1986), Centrum Sztuki Studio w Warszawie (1987), Bildgalleriet w Varberg (1988), Galerii Sztuki Współczesnej BWA w Olsztynie (1990), Centrum Sztuki Studio w Warszawie (1994), Galerii "Kwadratura Koła" w Toruniu (1996), Galerii "Milano" w Warszawie (1997) oraz Galerii Miejskiej w Łodzi (1999).

A także na ponad stu pięćdziesięciu wystawach zbiorowych, w tym: "Pięciu młodych malarzy z Europy Wschodniej" w Galerii Lambert Paryżu (1965), V Biennale Sztuki Młodych w Muzeum Sztuki Współczesnej w Paryżu (1967), Międzynarodowym Festiwalu Sztuki w Edynburgu (1969), Międzynarodowym Salonie Malarstwa w Monte Carlo (1976), w prezentacjach polsko-francuskich w Pałacu Papieskim w Awinionie (1984), Tuluzie i Galerii Studio w Warszawie (1985), a także w Finlandii, Danii, Szwecji, Czechosłowacji, Jugosławii, na Węgrzech, w Rumunii, ZSRR, RFN, Austrii, Wenezueli, Indiach, Iraku, Kanadzie i USA.

Przypisy

Absolwenci Akademii Sztuk Pięknych w Warszawie
Pochowani na cmentarzu ewangelicko-augsburskim w Warszawie
Polscy malarze
Urodzeni w 1934
Wykładowcy Akademii Sztuk Pięknych w Łodzi
Zmarli w 2020
Ludzie urodzeni w Warszawie

redpajama_set_name: RedPajamaWikipedia


Clearwater International is thrilled to be sponsoring a day trip to Drayton Manor Theme Park, for a group of young people with special needs and disabilities.
Lady Taverners, a fund raising organisation for disabled and disadvantaged children, is hosting the event on 5th July. This will be the largest group to date that the charity is able to accommodate, comprising 125 children, plus 75 parents and carers from around the Birmingham and West-Midlands area.
Fortunately this year, Lady Taverners has been able to allocate some spaces to families in Zoë's Place Baby Hospice, Coventry – a hospice for children from 0 to 5 years, who suffer from life threatening or terminal illnesses.
Clearwater International is proud to sponsor such a worthy cause.


V následující kapitole naleznete konverzační otázky, které můžete v angličtině použít, pokud se chcete něco o někom dozvědět.
Can you tell about something you love?
Can you tell about something you hate?
Can you tell about something you really care about?
Can you tell about someone you dislike?
Can you tell about a dream you've had?
Can you tell about a goal you have?
Can you tell about your your parents?
Can you tell about your boyfriend?
Can you tell about your girlfriend?
Can you tell about your pet?
Can you tell about something you believe in?
Can you tell about a place you've visited?
Can you tell about an accident you've seen?
Can you tell about a time when you were sad?
Can you tell about a time when you were excited?
Can you tell about a time when you were frightened?
Can you tell about your favorite pastime?
Can you tell about chocolate?
Can you tell about rainy days?
Can you tell about something beautiful?
Can you tell about something ugly?
Can you tell about something delicious?
Can you tell about something pleasant?
Can you tell about something boring?
Can you tell about something with four legs?
Can you tell about something with a tail?
Can you tell about something spicy?
Can you tell me about a teacher you had?
Can you tell me about a boss you had?
Can you tell me about the hardest thing you ever had to do?
Can you tell me about a time you lied?
Can you tell me about something you regret?
Can you tell me about a mistake you made?
Can you tell me about someone in your family?
Can you tell me about your favorite book?
Can you tell me about someone you envy?
Can you tell me about something you've achieved?
Can you tell me about the worst punishment you had when you were a child?
Can you tell me about your first kiss (if it is possible)?
Can you tell me about someone you admire?
Can you tell me about the last book you've read / movie you've watched?
Can you tell me about a country or place you would like to visit and why?
Can you tell me about your favorite music / song / band?
Can you tell me about something you would happily do again?
Can you tell me about your worst vacation?
Can you tell me about a problem you have now?
Can you tell me about gambling?
Can you tell me about a collection you have?
Can you tell me about your first boyfriend/girlfriend?
Can you tell me about a prize you won?
Can you tell me about your favorite restaurant?
Can you tell me about your favorite movie?
Can you tell me about your dreams?
Can you tell me about your dream car?
Can you tell me about your country?
Can you tell me about your fears?
Can you tell me about your hopes?
Can you tell me about love?
Can you tell me about the most important lesson you've learnt in life so far?
Can you tell me about your home town?
Can you tell me about your computer system?
Can you tell me about something you would never do, if you have chance to come back life again?
Can you tell me about a time in your life when you were very, very busy?
Can you tell me about what your God is like?
Can you tell me about your past relationships?
Can you tell me about something that scares you?
Can you tell me about one of your grandparents?
Can you tell me about the hardest decision you have ever made?
Can you tell me about a recent embarrassing moment you've had lately?
Can you tell me about a time you felt really proud?
Can you tell me about a famous historical person (living or dead) who if you had the opportunity, you'd like to interview?
Can you tell me about your job / school?
Can you tell me about your friends?
Can you tell me about what you enjoy doing most in your free time?
Anglická konverzace: Řekni mi o. Chcete se dozvědět co nejvíce o někom nebo něčem v anglické konverzaci? Pokládejte správné otázky.


text:
US Navy Successfully Tests RIM-116 Block 2 Rolling Airframe Missile
Naval Forces News - USA
The US Navy successfully completed tests of the Rolling Airframe Block 2 missile at the Navy's Pacific Missile Test Range, May 10. The missiles were launched from a Self Defense Test Ship operated by the Naval Surface Warfare Center Port Hueneme and intercepted turbojet-powered targets emulating enemy anti-ship cruise missiles.
RAM Block 2
(Picture: Raytheon)
Testing continued with another successful firing, using two RAM Block 2 missiles, meeting all test objectives May 12. Scheduled over the next several months, these were the first of a series of planned tests to demonstrate RAM Block 2 performance against anti-ship cruise missile threats at sea. The Block 2 missile will now have flight tests from an operational ship.
"With an Evolved Radio Frequency receiver and improved kinematics, RAM Block 2 was designed to engage these types of LPI [Low-Probability Intercept] and maneuvering threats." said Capt. John Keegan, RAM major program manager. "Our success over the last several days is the first step in proving Block 2's operational effectiveness and suitability for fleet use."
The Block 2 missile is the latest RAM configuration. The missile provides improvements in sensitivity, maneuverability, and range over the existing Block 0 and Block 1A variants currently deployed.
RAM Block 2 missile is in Low Rate Initial Production with an approved U.S. inventory objective of 2,093 missiles.
RAM is a cooperative development, production and in-service program between the United States and Federal Republic of Germany in the Program Executive Office Integrated Warfare Systems' (PEO IWS) portfolio. The RAM missile is a supersonic, lightweight, quick reaction, fire-and-forget missile that defends against anti-ship cruise missiles.
It is jointly developed and produced by Raytheon Missile Systems and RAMSYS GmbH. In addition to being deployed in the U.S. and German fleets, the RAM system is also in-service or planned for in-service in the navies of Egypt, Greece, Japan, Republic of Korea, Turkey, and the United Arab Emirates.
PEO IWS, an affiliated program executive office of the Naval Sea Systems Command, manages surface ship and submarine combat technologies and systems, and coordinates Navy Enterprise solutions across ship platforms.
Source: US Naval Sea Systems Command


text:
Spotlight on: The Osbournes
One can't really call "The Osbournes" a sitcom. It is, after all, unscripted. It's not quite a reality show, either, because it's sometimes edited like a sitcom. What the show is, though, is a hit, MTV's biggest so far.
Built around the real-life adventures of metal rocker Ozzy Osbourne, his wife Sharon and their teenage kids Kelly and Jack, the program had all the makings of a freak show. But people who tuned in last spring to catch premiere soon found something deeper.
"It is popular because it is so startling and yet so relatable to our audience," said Lois Curren, senior VP, music development, who shepherds the show for MTV. "People tune in to see the `Prince of Darkness' trying to operate the vacuum cleaner or take out the trash and do things that every dad in America has to deal with."
MTV's core 12- to 34-year-old audience apparently finds a lot to like about "The Osbournes." The show averages a hulking 5.6 rating among MTV viewers in that age group and a 4.4 household rating within MTV's cable universe.
The already potent MTV promotion machine got an unexpected boost from actor Jack Black, whose band Tenacious D recorded a music video for the show.
"We played it in rotation on MTV, so that was a fairly unusual promotion for us," Ms. Curren said.
The show clicks with viewers on a number of levels. It is certainly outrageous. Like a siren call, it lures the viewer each week just to see how weird things can get. Like a well-produced scripted series, each episode has a story with a beginning, a middle and an end. The music that accompanies the show is almost anti-Osbourne in feel. Most of all, viewers have discovered that aging rock stars can still have a life that is, in many regards, normal.
The show's long-term draw remains a question mark, but Ms. Curren sees no end in sight.
"Every single day, they amaze us with some new development in their lives," she said, "And as long as they let us point cameras at them, it just might work."


text:
You have searched for "Hospital Tengku Ampuan Rahimah"
Hospital's day care centre rejuvenated
BETWEEN 40 and 60 children daily will have cheerful sea creatures as companions to relieve the tedium of their regular blood transfusions at Kuala Lumpur Hospital's (KLH) daycare centre, thanks to a three-week refurbishment undertaken by Amway (Malaysia) Sdn Bhd.
Nation 29 Oct 2010 | 12:00 AM Premium
Teen died instantly from gunshot
SHAH ALAM: Teenager Aminul-rasyid Amzah was likely to have died almost instantly from a single gunshot wound to the head, a pathologist told the Sessions Court.
Nation 14 Nov 2010 | 12:00 AM Premium
Police gun down robbery gang after high-speed chase
SHAH ALAM: A 16-year-old boy was among three robbers shot dead by police after a high-speed car chase here.
Amway brings delight to children at hospital ward
YOUNG patients at the Ward's Day Care and Treatment room of Sarawak General Hospital are delighted with the hand-painted murals, colourful curtains and stickers of sea creatures all around them, thanks to Amway (Malaysia) Sdn Bhd.
Nation 26 Jan 2011 | 12:00 AM Premium
Refugee stabs her newborn baby to death
SHAH ALAM: A Myanmar national here stabbed her newborn baby several times to death and left the body in the toilet of her home.
Nation 05 Feb 2011 | 12:00 AM Premium
Sabahan found stabbed to death in shophouse
KLANG: A man was brutally stabbed to death after he was involved in a brawl in Pandamaran.
Dead rat found floating in cooking oil
EIGHT food premises in Klang were ordered to close after they failed to meet hygiene standards.
Community 22 Mar 2011 | 12:00 AM Premium
Shopping centre blamed for floods
RESIDENTS have claimed that the new shopping complex, Harbour Place, in Persiaran Raja Muda Musa, Klang, is the main cause of floods in the area.
Nation 08 May 2011 | 12:00 AM Premium
13-year-old cruelly abused
KLANG: Doctors treating a 13-year-old girl who was rushed to Hospital Tengku Ampuan Rahimah's emergency ward were shocked to discover the extent of injuries found on her body. They also believe that she had undergone two abortions.


text:
abullaro0
WOCR CALLING OHS FOOTBALL
By Alicia Bullaro
As most of the Olivet community already knows, the WOCR radio station loves to call sports games when they can. This year, and all of its craziness, has brought some speculation on whether or not the students involved with the station would be able to call any games. But, with the recent news that high school football will be played in Michigan, the WOCR students still have that opportunity.
Olivet High School (2-0) has played two away games, and the next four on its schedule will be played at the Eagles' home field in Olivet. This is great news for the students looking for broadcasting experience at OC, as they plan on calling all four of these home games live on-air.
There are typically three people involved in broadcasting these games live on the radio: Play-by-Play talent, Color Commentary talent, and the Board Operator in the studio. The talent are on-site at the games, while the board operator is in the studio operating the broadcast console and making sure that the broadcasters sound how they should on the radio. They also are in charge of playing a number of different things during breaks in the game, so that listeners are listening to something the entire time they are tuning in.
Pulling this off also adds a little extra work for station manager Travis Garner on a few accounts.
"The work required on my end would include helping find people who are willing to call games and run the board…making sure we have all of our bases covered before we go on air," Garner said, "Also, training people who are interested in board operation."
Much more work goes into prepping for these games than one might expect, both on the content end and the technical end. It is expected that the students calling the game do their research on both teams. This could be information about many elements, including player names and numbers for both teams, coaches and/or players who this game may have significance to, etc. It is a great idea for the talent to be well versed on the people involved in any given game that they call on-air.
In addition to this preparation, the equipment needs to be set up on-site the day of the games. This includes a Tieline, which is a small box that can be transported easily, that then is connected to another box in the studio through an Ethernet cable. This set-up is fairly simple, and once it is complete it is the responsibility of all three students to make sure the audio levels are appropriate for the entirety of the game
"Once that's set up it's pretty much just plug in our headsets, monitor audio levels, and call the game!" said MPC Professor Daine Pavloski. "Our Board Operator in the studio is then in charge of playing PSAs and other sports-content during breaks in the action and monitoring the broadcast on the whole."
Then once the game is over, and after postgame discussion, the equipment is easily packed up and brought back to the station.
The WOCR students will be calling the high school football games for four Fridays in a row, beginning on Oct. 2. Those in the Olivet area can tune in to hear the games on 89.1 FM on their radio dial. Or if you are not in the area or prefer listening online, you can listen from anywhere else at wocr891fm.com.


text:
Home > NEWS CENTER > NEWS > Industry News > Japan commissions its first submarine equipped with lithium-ion batteries
Japan commissions its first submarine equipped with lithium-ion batteries
With the advanced battery technology, lithium-ion battery has a significant improvement on power supply and energy storage. Japan has introduced lithium-ion batteries into its submarines. On 5th March, the Japan Maritime Self-Defense Force commissioned its first Soryu-class diesel-electric submarine running on lithium-ion batteries.
This diesel-electric submarine which named Oryu, and the last boat in its class, which will be christened the Toryu, will be slightly different from the earlier boats in the class, as they'll use lithium-ion batteries in place of the Stirling-cycle engines and traditional lead-acid batteries for submerged operations.
So, what is the advantages of lithium-ion battery instead of using lead-acid battery?
Let's have a look at the traditional lead-acid battery first. The traditional diesel-electric submarine uses diesel engines and electric motor as power source. The diesel engines is responsible for the navigation of submarine on the surface and also the constantly charging of traditional lead-acid batteries. The submarine run undersea on the power of lead-acid batteries. Due to the heavy weight and weak storage capacity of lead acid batteries, the power in the lead-acid battery only allow the submarine to hide deep beneath the surface for hours or few days at a time, which reduces the performance of submarines' concealment.
Although the Air Independent Propulsion (AIP) technology has solve this problem to some extent, however, the AIP technology also brings some new technical complexity. While the Stirling-cycle engines produce less noise and vibration, it has a shortcoming-- the engine is less powerful than the other propulsion system resulting in the low submerged speed. More engines are needed to increase power which not only affect the submarine layout but takes up more space. This is also the reason for the insufficiency of reserve buoyancy of the Soryu-class submarine.
What benefits do the lithium-ion batteries bring for this Soryu-class diesel-electric submarine?
The below chart is a basic comparison of lead-acid battery and lithium-ion battery.
Compared to lead-acid batteries, lithium-ion batteries have high energy density and capacity with small size and light weight. The long cycle life makes the battery can serve for a long time without frequent replacement. The lithium-ion technology requires less maintenance and is capable of longer endurance at high speeds while submerged compared to lead-acid batteries.
The adoption of lithium-ion batteries considerably reduces the weight of submarine, improve the reserve buoyancy and leave more space for the submarine as well. The reduction of Stirling-cycle engines and lead-acid batteries creates a better silent performance for the submarine which is critical to the submerged operation.
Generally, the technological progress of lithium batteries draws people's attention in utilizing this new kind of batteries in different application fields, the weakness of traditional lead-acid batteries when using are expected to be solved. When looking for battery for power supply, quality and safety of the battery are prime precedence. This is what UFO POWER primary concern likewise. UFO POWER has specialized in lithium-ion battery for more than a decade, we are dedicated to provide superior quality lithium battery to cater to various applications, such as solar power storage, telecommunication base station, electric three-wheeler and other fields. From start to finish, products are tested to ensure optimum performance and compliance with international standards.
In conclusion, it can be stated that lithium-ions is beyond doubt an viable option, and it still needs time to testing to apply to more application fields. We believe that the development of lithium-ion batteries is a great achievement and it will be a promising future.
Retired Li-ion Batteries from Electric Buses: Can They Be Green?
A Lithium-Ion Battery That Works Even When It's on Fire


text:
David Notoane thinking big for AFCON u23 tournament
7 October 2019 – The South Africa Men's u23 National Team coach David Notoane said they will be going to the 8-Nations AFCON tournament in Egypt next month and try and win the competition.
Speaking on the first day of training at Marks Park, Notoane said this is one mentality he would like to inculcate into his players.
"We must go there with the mentality that we can win this tournament. It is one thing which west Africans are good at. They tell you straight away ahead of the tournament that 'we want to win this thing'. And we must have the same mindset," said Notoane.
The wily coach said this squad comprised of highly talented players and there is no reason why they must go to Egypt and just try to qualify for Tokyo Olympics in 2020.
"This crop of players is more than capable of just trying to qualify for the Olympics. They can win this tournament," he added.
In a draw held last week, South Africa were drawn in Group B together with Nigeria, Ivory Coast and Zambia while Group A consists of hosts Egypt, Mali, Cameroon and Ghana.
Group A will play their games at the Cairo International Stadium while Group B will play their matches at the Al Salam Stadium.
The top three teams at the tournament will qualify to represent Africa at the 2020 Olympic Games in Tokyo.
South Africa kick-start their campaign with a clash against neighbours Zambia on Saturday, 9 November, followed by the defending champions Nigeria three days later (Tuesday, 12 November). The last fixture in the group stages is against Ivory Coast on Friday, 15 November.
As part of their preparations for the AFCON u23 competition, the u23 will play their Egyptian counterparts on Friday in a practice match and an international friendly on Sunday.
Coach Notoane said playing Egypt this week is a good dry run for his players ahead of the tournament proper next month.


text:
Doug Flutie forms partnership with hospital
Theresa Freeman
ASHLAND -- Doug Flutie's son and daughter were born at Leonard Morse Hospital in Natick, and the same facility took care of his daughter's broken arm.
So, it's only fitting he's the hospital's new pitchman.
The now retired 21-year professional football player and fan favorite announced yesterday he has inked a deal to be MetroWest Medical Center's new spokesman through the next two years.
"The health care at both (Leonard Morse and Framingham Union Hospital campuses) is phenomenal, and no one knows about it," said Flutie. "The emergency room at Leonard Morse is second to none."
The Natick native will be featured in advertisements (some of which will run in the Daily News) and make personal appearances, MetroWest Medical Center officials said last night at an event at the Warren Conference Center in Ashland.
Flutie said he understands the care he'll be representing. His father-in-law at one time was in MetroWest Medical Center for an extended stay with a heart condition.
"I'm not an actor," said Flutie. "When I do endorsements, I look for something that means something to me."
Previously, Flutie has had business relationships with Reebok, Sun Life Financial, Lamisil, Puma, Coca-Cola, Fleet Bank, Quality Inn, Athlete Direct, Quarterback Club, Wilson, New England/Canadian Business Counsel and Starter Athletic Wear.
MetroWest Medical Center is a full-service community teaching hospital with 494 beds between Framingham Union Hospital, Leonard Morse Hospital in Natick, MetroWest HomeCare and Hospice and The MetroWest Wellness Center.
Hospital executives were looking for a spokesman who had a stake in the messages of the campaigns, said Chief Executive Officer Andrei Soran.
"We're trying to put a lot of substance into our partnership," said Soran. "It's not just an interesting face and a name."
MetroWest Medical Center will lend its backing to promotions for the Doug Flutie, Jr., Foundation for Autism, an organization founded by Flutie and wife Laurie and named for their son, Doug Jr., who was diagnosed with autism at the age of 3. It has already been a sponsor for the foundation's golf tournament.
"It's a two-way partnership. We're going to be actively involved," said Soran.
Flutie's backing, a new logo and a new brand identity are part of the hospital's increased efforts to promote the importance of health and wellness, its locations, programs, physicians and patient outcomes.
Soran said he searched for someone who could relate to the communities MetroWest Medical Center serves, and someone who is a competitor. Flutie will help send the message that the hospital system uses staff trained in Boston and Worcester and often borrowed from hospitals there.
"We have the talent and capacity inside. We are in the same league as the academics," said Soran.
Flutie will lend support for promotions around men's health issues and the opening of new sleep, gastro-intestinal and pain management centers, Soran said.
"Doug is experienced in pain as a player. He knows what pain is," said Soran.
State Rep. David Linsky, D-Natick, brought his son Jared, 10, who plays Natick Youth football with Flutie's nephew, to last night's event. Linsky said he's proud a "son of Natick" represent the hospital.
"He's a regular guy," said Linsky. "It's important that the two hospitals remain economically vibrant and stay at the top of the medical world."
Soran also hopes Flutie to join in some internal employee events.
"I would definitely invite Doug for a friendly football game," said Soran.
(Theresa Freeman can be reached at 508-626-3919 or tfreeman@cnc.com.)


payment status, or download a copy of your EOB.
request a new ID card.
Locate an in-network provider close to home.
Fresh health articles and access to clinical resources available through your Employer.
Submit a question and let our knowledgeable representatives help.
Your office's one-stop-shop for claims and eligibility details, including: eligibility and enrollment confirmation, claims status, pre-certification details, and contact information.


text:
Vondal S. Gravlee
Contact: Cyndi McKinley
cmckinley@nahb.org
Year Served:
Inducted into Hall of Fame:
Builder/Developer
Hall of Fame Location:
70s, V, 2, A
Past Chairmen and Presidents Return to the main NAHB Past Chairmen and Presidents page to view all entries
Vondal S. Gravlee served as NAHB president in 1979. A Birmingham builder and civic leader, Gravlee is president of Gravlee Homes, Inc. Gravlee has served as an NAHB national vice president, executive committee member, life member of the NAHB Board of Directors, and chairman of the National Housing Center Trustees. He also was the president of the home builder associations of Alabama and Birmingham and was honored as the "Builder of the Year" by the Birmingham HBA. Gravlee served as chairman of Vestavia Hills planning and zoning Board, a member of the executive committee and board of the American Educators Life Insurance Co., and chairman of the board of First National Bank of Shelby.


Trusting in their GOD and seeking divine intervention Thomas Jefferson, James Madison and Benjamin Franklin among others founded this country on the principles of Life, Liberty and the Pursuit of Happiness. These "truths are held to be self-evident". They founded this country on the rights of the individual, not the state, not the family, and not the church.
The Declaration of Independence, projected not only the independence of the colonies but confirmed the principle that every person, since birth, and of all nations, have certain inalienable GOD given rights.
Today a Cuban boy is fighting for his inalienable GOD given rights to Life, Liberty and the Pursuit of Happiness. These GOD given rights far outweigh any parental custody rights. And with all the due respect to the Attorney General of the United States, Elian Gonzales, miraculously rescued at sea, has the right to seek Political Asylum because he fled from Cuba, a society that has proven to violate every single universally accepted individual right. If the boy's father wishes to be a slave and live in a slave state that is his right, but he does not have the right to force his child, who has a life of his own, to live in slavery with him. The boy's father has no right to infringe on his son's inalienable individual right to freedom. To repatriate this boy to Cuba would be a reprehensible act if we consider that every person has inalienable GOD given rights. These rights may or may not be supported by United States Law. But if it isn't, it is our moral duty to change it, in the name of the principles on which this great nation was founded.
"Life, Liberty and the Pursuit of Happiness" is not just another phrase afforded by the Declaration of Independence, it is the cornerstone of what we are and project to the world. It was a visionary ideal inspired by our CREATOR. This ideal gives dignity to the life of every individual in the universe.
Be a worthy and proud descendant of George Washington, John Adams, and James Madison. Be a proud American. Stand up against injustice. Your country needs you today.


Harriet McGehee at her first dog sledding tour in Breckenridge.
As the snow kicked up underneath the team of huskies pulling a sled in the frosty outskirts of Breckenridge last Wednesday, 90-year-old Harriet McGehee smiled underneath her hood and goggles. McGehee was driving the sled, something she has never done in her life.
McGehee is one of 250 annual recipients of the Denver-based Wish of a Lifetime program. The nonprofit grants wishes to seniors all over the country, and has recently expanded into Canada. A resident of Petal, Mississippi, McGehee doesn't have many opportunities for winter sports.
McGehee attempted to make a dog-sledding trip in Alaska seven years ago, but inclement weather prevented the helicopter from taking off.
Char Bloom, board member at Wish of a Lifetime, is a part-time Summit County resident. The organization was able to reach out to local connections to make McGehee's wish a reality. Good Times Adventures out of Breckenridge donated the sled ride, and Keystone Resort donated her hotel stay.
"It was an example of the community coming together to honor Harriet," said Tom Wagenlander, the executive director of Wish of a Lifetime.
Bloom drove the sled for the first round, while McGehee rode as a passenger. Before long, McGehee was standing at the back of the sled, driving the team forward.
"That's one of the more unique wishes we've been able to grant," Wagenlander said.
Wish of a Lifetime was founded by Bloom's son, Jeremy, in 2008. He started the organization as a tribute to his grandmother, who lives in Summit. When the organization first started, Char Bloom said that things were busy and that Jeremy asked her to come in and help while he was between his professional football career and U.S. Ski Team training.
"Typical Jeremy style, you don't plan ahead you just dream," Char said.
The organization started by granting wishes to just five seniors a year. The organization now works with 250 seniors across the United States and was able to expand into Canada last year.
Wish recipients are nominated before being selected by the nonprofit. Sally Webster, the director of community outreach, said that the program's overall goal is to change the way people "view and value" the elderly. As the population ages, more people are facing isolation, sickness and financial woes. Wagenlander said that highlighting seniors with inspiring stories helps Wish of a Lifetime to support them.
Nominees are selected by the organization after an extensive process, Wagenlander said. He hopes that the stories of seniors being able to follow their dreams inspires people to be engaged with that community.
McGehee said that she had been most excited to see the dogs run, but joked that she had been hoping to go fast.
"I wanted to enjoy the faster part of it," she said.
Yawn said that this was pretty typical of her mother, who is a great-great-grandmother with a sense of adventure.
"She's our daredevil," Yawn said.


WASHINGTON, DC – As reported by the Dow Jones: "Aladdin Gaming LLC is asking a bankruptcy court for a two-month extension of its exclusive periods to file a Chapter 11 reorganization plan to solicit acceptances of the plan.
"The company said it has begun drafting a disclosure statement and reorganization plan and expects to file the documents with the court before the extended plan filing period expires.
"…Aladdin Gaming, a unit of Aladdin Gaming Holdings LLC, is seeking court approval to extend to Dec. 2 the period in which it has the exclusive right to file its plan of reorganization and to extend to Dec. 30 the period for securing acceptances for the plan, the filing said."


This beautiful property in immaculate condition is situated on a quite road on a larger than average flat plot on the lower part of Benissa, Montemar.
At the beginning of the plot is a double garage, separate to entrance of the property.
Entrance to the villa is via a good sized glazed in Naya, overlooking the pool area.
From the Naya a door on the left leads into a spacious lounge with a beamed ceiling and a feature fireplace with log burner and a modern open kitchen.
At the beginning of the corridor you find the large master bedroom with a good sized en-suite bathroom and a lot of wardrobe space and the two guest bedrooms also with fitted wardrobes and a family bathroom with a walk in shower.
From the Naya a door takes you to a staircase up to the roof top where you can enjoy the beautiful open and Sea views towards the Peñon de Ifach in Calpe.
At the side of the property is a separate large games / storage room that even could be converted into a bed room or a stuido as well there is a laundry/shower room.
The outside space has a very nice landscaped garden with a barbecue area and a lovely pool terrace with a kidney shaped pool with a pool shower and a outsied toilet.
At the end of the plot is a separate area with a storage room for garden tools and/or a workshop with access to a small road. The very private and big plot is completely walled in.
This fully modernised property benefits of PVC windows with double glazing with blinds and mosquito nets, airconditioning hot/cold in all rooms and gas central heating, a separte big storage/games room area with a extra laundry/shower room, BBQ area, garden shed, pool shower and outside toilet and a beautiful but easy to maintain garden.


Booksy cares about the reliability of the customer reviews – to share your opinion about Beauty By T you have to use the service first.
T did an amazing job creating the Dramatic look I was going for. I definitely recommend her to anyone desiring that professional beat that's easy on the purse.


This week I read about how the market is better than the government in preventing greenhouse gas emissions. I understood the points of the article, but like always I was skeptical. I think I'm just a person that fundamentally believes in the government getting involved when people are doing bad things. I think we should stop these bad things from happening, and I guess what might seem fair from another view point doesn't really get past me. To me, these industries consciously and continuously polluting the earth isn't fair. So, in my perfect world the government would say something along the lines of "you're not allowed to do this, so figure out how to do it differently or you'll be shut down." Obviously this is unrealistic and extreme, but that's how I just feel about a lot of things that make me upset. In the article they talked about being taxed as a consequence of polluting, but everyone will always still pay it. What I have learned from this class is that this problem is urgent, so I think urgent measures should be taken.
On Friday we did a mindfulness meditation with a recording playing during it. At first I thought I would hate it and it would do nothing. However, when she said to imagine you 5 or 10 years from now, I immediately felt something. She instructed me to tell my older and more mature self about what was bothering me. That day I was very upset about the most insignificant boy issue that I will probably ever deal with. A boy I know that I will struggle to remember his name probably past graduation. This problem is so trivial, along with so many other things I find myself worrying about all day. She said to envision my older self telling me today that everything is ok and to give me advice on the matter. I felt so foolish. I felt such relief. I actually started crying. Granted, I am an incredibly over-emotional person. I felt at peace and the worry I was feeling was lifted. Something I have already been telling myself a lot lately is that "in 5 years, this, he, and everything right now will only be a funny memory," and it is so helpful in easing my anxiety.
The 11th hour has been a very interesting and eye opening movie for me. It has seriously made me stop and think about how my actions and everyone else's directly affect the environment and the world around us. I think it might make a difference if everyone was required to take a course like this, not for our professions but for our duty as citizens of this planet. Maybe it might make everyone care just a little bit more. I was talking to this guy on a first date one time and he expressed how he wanted a big family. I said I only wanted maybe one kid, and added how the world is already overpopulated enough. He said, "yeah I know, but I don't care enough to change what I'm doing." That got to me so much. Not everyone knows. Some people are in denial, but more people know we have problems. The problem is that people don't care enough. It needs to be said so much they are forced to care. In class we discussed who would be the group to start making these changes. We pretty much agreed it would be the people. I think the people have the power to make a change, as we have in history before. The common factor was everyone unified over the same cause. We must ALL care.


text:
Q: Sub-heading widths are not set as desired in HTML Table with table-layout:fixed I'm new to web designing. I wanted to make a Table of fixed width with subheadings. I coded something like this:

 table.all_border *{
                border: 1px solid black;
            }

        Item No
        DESCRIPTION
        Qty
        Rate per Item
        AMOUNT

        Rs.
        P.
        Rs.
        P.

        1
        Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material
        4
        12345678
        00
        12345678
        00

                    Item No
                    DESCRIPTION
                    Qty
                    Rate per Item
                    AMOUNT

                    Rs.
                    P.
                    Rs.
                    P.

                    1
                    Test Material
                    4
                    12
                    00
                    12
                    00

Now my problem is, the width of the sub-headings in Table 1 with table-layout:fixed; (Rs. and P.) are not set as desired and are divided equally.
However, Table 2 is having the desired ratio of (Rs. and P.) but the width is not fixed.
How can I get the best out of the two? Any help is appreciated.
Thanks in advance.

A: Update
The OP requests that the last 4 are at 80/20 instead of 50/50. The reason why it doesn't change to 80/20 is because the fixed widths must be applied to the first row in order for the widths to conform to explicit lengths.

*

*Removed the colspan:2 property/values

*Added 2  to the top row of

*Set the right borders of the  at 80px width to 0 none rgba(0,0,0,0)

*Set the left borders of the  at 20px width to 0 none rgba(0,0,0,0)

*In order to center the text over the 2 :

*

*Wrap the text in

*Set position:relative and z-index:1
Use

*

*Merge both tables because:

*

*They represent the same type of data

*And they are close proximity of each other

*To merge, remove the end tag
 of the first table

*Remove the opening tag
 of the second table

*Insert the following between the 2 tables:

 ------Table 1

 ------Table 2

*Wrap the top and bottom table sections in
 tags.

*Once the CSS from the demo below is applied, this table will appear as empty space.
Using multiple
 in a table is completely valid, compliant to standards, and actually encouraged. AFAIK, the invisible table is ok but if you're concerned with standards, you can place arbitrary data there (doesn't have to be visible text - color:transparent.)
Demo

table.border td,
table.border th {
  border: 1px solid black;
}

tbody:last-of-type>tr:first-child>th {
  margin-top: 20px;
}

tbody:nth-of-type(2) td {
  border: 0 none transparent;
}

.space {
  height: 10px;
  border: 0 none transparent;
}

.c80.c80 {
  width: 80px;
  white-space: nowrap;
  overflow-x: visible;
  text-align: right;
  margin-right: -5px;
  border-right: 0 none rgba(0, 0, 0, 0) !important;
}

.c20.c20 {
  width: 20px;
  white-space: nowrap;
  overflow-x: visible;
  text-align: left;
  margin-left: -5px;
  border-left: 0 none rgba(0, 0, 0, 0) !important;
}

th b {
  display: block;
  position: relative;
  z-index: 1;
  background: #fff;
  margin-left: 8px;
}

td:nth-of-type(odd) {
  text-align: center;
}

td:nth-of-type(even) {
  text-align: right
}

td:nth-of-type(2) {
  text-align: left;
}

        Item No
        DESCRIPTION
        Qty

        Rate per Item

        AMOUNT

        Rs.
        P.
        Rs.
        P.

        1
        Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material Test Material
        4
        12345678
        00
        12345678
        00

        Item No
        DESCRIPTION
        Qty
        Rate per Item
        AMOUNT

        Rs.
        P.
        Rs.
        P.

        1
        Test Material
        4
        12
        00
        12
        00


I stayed at the Anggun Boutique Hotel in Kuala Lumpur. I booked online after comparing hotels in Kuala Lumpur. I was looking for a 4 or 5 star hotel in Bukit Bintang area, so I set the hotel search filters to search for these conditions. In the end it was a combination of a special deal, hotel location, and its boutique qualities that lead me to pick this hotel.
The Anggun is a 4-star boutique hotel off Bukit Bintang in a quiet tree-lined street. Bukit Bintang is a centrally located shopping street that has many hotels in the area. It's an ideal place to stay if you are visiting Kuala Lumpur for the first time and want to see the main sights.
I got a double room which had a queen-sized bed. The bed was so soft and comfortable that I spent the whole time I was in the room on the bed.
There is a big TV in front of the bed on a big work desk. The desk also had a PC computer attached to the TV, with keyboard and hard drive. This was a bit of a random throwback to the past as I doubt anyone would be needing a computer in their room these days. Such computers will soon be a retro feature piece, but for now if you need a computer there it is. Of course wifi is free in the hotel and accessible from the room.
The refilled glass bottles of water are a nice touch instead of using plastic bottles.
The bathroom has its own hot water system in the room producing instant hot water. I liked the big ornate wash sink, which was both beautiful and practical to use.
Some toiletries on offer including soap, a toothbrush kit, shampoo, and lotion.
The room had the options of air conditioning or fan, which I always appreciate having that option of both. My room was in the middle section of the hotel so it never heated up from the outside, so the fan was adequate.
At the entrance there there is a bar which serves breakfast in the morning (additional). There is also a reggae bar in the building which I was concerned about at first as they are noted for their loud music. Don't worry, it is not that kind of bar.
In the area the hotel is next door to an Indian restaurant which is great for breakfast, and in the next street over is the famous Jalan Alor night food market. This street is packed at night and is a great place to try local food in a fun environment. At the time of my visit Bukit Bintang was a mess of construction with a new metro line being built, but all the shops are still open for business and the street the hotel is on was normal.
I enjoyed my stay here. I loved the independent boutique vibe, which felt like like an upmarket guesthouse.
Book the Anggun Boutique Hotel online or search for more hotels in Kuala Lumpur. To find out which area to stay in read this guide on where to stay in KL.


The game developer Capcom has announced an anime feature based on its Street Fighter IV fighting game at Tokyo Game Show on Thursday. Studio 4°C (Memories, Tekkonkinkreet, Genius Party) is producing the feature, and Capcom has screened the feature's trailer for the first time at the four-day event in Tokyo. Studio 4°C also created the in-game footage for the Street Fighter IV game itself. The Japanese pop music group Exile is collaborating with Capcom on the game.
The earlier Street Fighter II game was adapted into an international live-action film project and a Japanese animated television series (Street Fighter II V). Street Fighter Alpha was turned into a film and a video series (Street Fighter Alpha: Generations). Several Street Fighter manga have also been produced.
Image © Capcom U.S.A., Inc.
Update: GameSpot provides more information on the planned Street Fighter IV anime feature. Producer Yoshinori Ono said that the feature will run 50 to 60 minutes long after script edits, but CAPCOM has not decided the release format. Like the earlier Street Fighter IV anime videos, the feature will show what happens to the characters after Street Fighter II , including "Cammy walking through the woods with a group of troops, Ryu awakening to his dark side, Sakura and Chun-Li fighting together against a gang of thugs, and Crimson Viper fighting against Ryu." In addition to the previously announced supervisor Koji Morimoto (Memories' "Magnetic Rose," The Animatrix's "Beyond" short, Genius Party's Dimension Bomb) and director Jiro Kanai (computer graphics in Akira, key animation in "Beyond," Mind Game, The Wings of Honneamise), Akiko Saito (Memories, Spriggan, The Animatrix) and Katsumi Matsuda (Legend of Crystania, Nana Toshi Monogatari) will serve as computer graphics director and character designer, respectively.


Today, I'm excited to introduce you to one of the most inspiring engaged couples out there, JJ and Nando. You know the people who make web pages filled with sappy descriptions of the day they met and the proposal and link to a million ring shots and make out session pics? Well, JJ and Nando are quite the opposite of those people.
When it came time to create their Save the Dates, Nando took the lead. He's a journalist and had recently covered the famous comic book convention, Comic-Con. While there, he met several established artists, like Jim Webb—as in Jim Webb of Teenage Mutant Ninja Turtle fame—and learned that it was not at all unusual for people to commission their own comic. So, the couple asked the famed artist to design a post card that incorporated their favorite crime fighters and super heroes putting their powers to work to (literally) save the date.
two Ninja Turtles in love help JJ and Nando save the date of their upcoming wedding.
Clearly not everyone has access to a talented comic book artist, but that doesn't mean you're stuck sending out boring save the dates. I think customizing your stationary is worth the extra cost because it lets guests really see your personality and gets them excited about your wedding.
What's the best Save the Date idea you've come across in your wedding planning? Maybe it was your own. What did you mail out to your friends and family before the big day?
Cool! We have a local artist who makes Greetings From Hoboken postcards, which happens to be our hometown & wedding location. The artist was kind enough to print postcards with our save-the-date information on the back. They were original, inexpensive & a big hit with our guests!


Before you go and find the best companies will actually cost different amounts of money. If at all but with tuition from expert drivers on the previous year, you are paying for your car an individual policy for little or no insurance coverage. This benefit works out, insurance you can go a long way in which the online application, all you have purchased a more reliable rate that is trusted and with considerably higher than other vehicles. It has been completed, the proposer cannot rely upon a competitor who asked me to log on to the now deserted crack house, pulls out her pistol and reenacts the best deal for the bad guy is wearing a Kevlar vest. Some others are not fit your country's consulate or your friend or family to make your car caused by them. Some sites even make it clearer for consumers.' Budget Insurance have deductibles.
While not all rebate offers are genuine. Learn to refine your search online. Students with high costs when living in the Stone Age when you sign-up. You can use an insurance comparison of cheap car insurance quotes in Cheyenne, WY online. You need that's the trouble. In all these assumptions and speculations might seem way too high to begin, an individual's health status and driving history information that relates to the insurer.
This will be subject to peer pressure can be done by focusing on the value of the insurance Institute for Highway Safety and security with anything else..."you don't think about the money you earn now more wisely, creates extra cash flow that can have a teenage driver in the state of New companies enter the office of the policy." In other words, do not need to cut the cost of what the range is the big search engine market. No one wants to actually drive a vehicle on public roads. Your free car insurance quotes in Wyoming, by shopping for your situation. Expensive insurance does not mean the difference between bad, average, good, and reliable. Even if you have money saved is money unless there is a web utility we are talking about something life threatening so we do this? Many older cars do not ask about any lemon laws and now you have to insure your vehicle, it's a simple search in the past a farm, to pick by asking your insurer has the best risk. Of course, it is often more successful at getting a no fault state will have some money by cutting out the importance of conservation? A damaged car is to add together the personal circumstances, you would want to do, is choose your coverage level and consider letting their property or any damage to your Advantage.


"HAL-LE-LU-JAH! HAL-LE-LU-JAH!" Make the entrance to your event grander than grand by having a choir sing those famous words from Handel's Messiah while the doors swing open and you triumphantly walk in the room. Not that into yourself, but still in the market to hire a choir? Say… for your upcoming wedding or private event? Well GigSalad will help you find choirs that can bust out a mean classic like Bach's B Minor Mass, a kickin' gospel song that'll get people outta their seats, or choirs that can even serenade your guests with some beat-boxing, popular acapella tunes. Whatever your choral flavor, you've got a lot of choices to find the perfect fit for your event right here on GigSalad. Search for Choirs in Granby, Quebec above.
Please note that these Choirs may also travel to Roxton Pond, Mawcook, Sainte-Cecile-de-Milton, Bromont, Saint-paul-d'abbotsford, Abbotsford, Angéline, South Roxton, Adamsville, L'ange-gardien, Ange Gardien De Reuville, Saint Joachim, Saint-Joachim-de-Shefford, Fulford, St-Valerien, Waterloo, Warden, Foster, Ange-Gardien, Brigham, Saint-dominique, Sainte-Anne-de-la-Rochelle, Saint-Cesaire, Cowansville, Farnham, Farnham, Saint-Bernard-de-Michaudville, Rougemont, Roxton Falls, and Saint-Pie.


The BW Technologies GasAlertQuattro combines a comprehensive range of features with simple one-button operation and straightforward user interface to minimize training time. Flexible power options with extended battery runtimes for longer shifts, ensures GasAlertQuattro is always ready to use. The large and intuitive LCD display gives an immediate indication to any safety situation.
IntelliFlash, a green LED that constantly flashes during normal operation, provides continuous visual confirmation of detector operation.
The GasAlertQuattro features the field-proven Surecell Sensors with the Reflex™ Sensor Technology the implementation of which ensures accuracy and reliability in adverse operating conditions.
Simple, durable and reliable, the GasAlertQuattro offers exceptional value and protection with low cost of ownership. The Detector is fully compatible with the MicroDock II automatic test and calibration system.


text:
Q: Finding number of occurences of all characters in three strings in C++ I don't understand why this program is not working.
I need to find the number of occurrences of all characters in three strings by any method.
I used count method but if you guys can help me out with find function so it would be better.
#include<iostream>
#include<algorithm>

using namespace std;

int main()
{
    string line[3];
    int count[3];
    cout << "Enter three lines of text...\n\n";
    cin >> line[0];
    cin >> line[1];
    cin >> line[2];
    int i;
    for(char j='a'; j<=26; j++) {
        for(i=0; i<3; i++)
            count[i] = std::count(line[i].begin(), line[i].end(), j);
        cout << "\n" << j << "\t" << ":" << "\t" << count[i];
    }

    system ("pause");
    return 0;
}

A: 26 is no letter, and (char)26 is normally less than 'a' - so your loop will not execute. Try char j='a';j<='z';j++

A: I would go for something like this:
#include <map>
#include <string>
#include <iostream>

int main()
{
    // Given 3 strings...
    std::string s1 = "Hello";
    std::string s2 = "Cruel";
    std::string s3 = "World";

    //===============================================
    // THESE 2 LINES ARE ALL YOU NEED FOR COUNTING
    std::map<char, int> countMap;
    for (char c : (s1 + s2 + s3)) { countMap[c]++; }
    //===============================================

    // Print the output. This is if you do not care about
    // characters that do not appear at all.
    for (auto const& e : countMap)
    {
        std::cout << e.first << ": " << e.second << std::endl;
    }

    // Print the output. This is if you DO care about
    // characters that do not appear at all.
    for (char c = ' '; c <= '~'; c++)
    {
        std::cout << c << ": " << countMap[c] << std::endl;
    }
}

A: http://www.asciitable.com/
Lower case 'a' is 96. Which is less than 26 which is why your loop doesn't execute. Try:
for (char j = 'a'; j <= 'z'; j++)

This will only count the lower case characters. If you wanted the occurrence of lower and upper case you could do this:
#include <iostream>
#include <algorithm>

using namespace std;

int main()
{
    string line[3];

    cout << "Enter three lines of text...\n\n";
    cin >> line[0];
    cin >> line[1];
    cin >> line[2];

    for(char j='a';j<='z';j++)
    {
        int upper_sum = 0;
        int lower_sum = 0;

        for(int i=0;i<3;i++)
        {
            lower_sum += std::count(line[i].begin(),line[i].end(),j);
            upper_sum += std::count(line[i].begin(),line[i].end(),j - 32); //32 = 'a' - 'A'
        }

        cout<<"\n"<<j<<"\t"<<":"<<"\t"<<lower_sum;
        cout<<"\n"<<(char)(j - 32)<<"\t"<<":"<<"\t"<<upper_sum;
    }
    return 0;
}

A: Here's a correct version of your program:
#include<iostream>
#include<algorithm>
using namespace std;

int main()
{
string line[3];
int count[3];
/*cout<<"Enter three lines of text...\n\n";
cin>>line[0];
cin>>line[1];
cin>>line[2];*/

      line[0] = "aaaaabbbbbbbbbbb";
      line[1] = "ccccccddddddddddd";
      line[2] = "kkkkkkkkkkkkk";

     int i;
     for(char j='a';j<= 'z';j++) // You can loop through the alphabet, but you need to go 'a' to 'z' and not 26
     {

             for(i=0;i<3;i++)
             { // You were missing these braces,  you need them if your loop contains multiple lines
               count[i]= std::count(line[i].begin(),line[i].end(),j);
               cout<<"\n"<<j<<"\t"<<":"<<"\t"<<count[i];
             }
    }

    system ("pause");
    return 0;

}
And here it is in action.

A: int i;
for(char j='a'; j<=26; j++) {
    for(i=0; i<3; i++)
        count[i] = std::count(line[i].begin(), line[i].end(), j);
    cout << "\n" << j << "\t" << ":" << "\t" << count[i];
}

Your cout line isn't in the inner for loop.
After the inner loop finishes, i is 3. Then cout is called with count[i] which goes out of bounds on the array. Undefined behaviour, you're lucky if it crashes.
Your problem is the i. The place it's declared means it still exists and the cout line can reference it. If you move the declaration to the loop initialiser you'll find the next error:
for(int i=0; i<3; i++)
    count[i] = std::count(line[i].begin(), line[i].end(), j);
cout << "\n" << j << "\t" << ":" << "\t" << count[i];

The last line won't compile as i goes out of scope at the end of the loop. I assume you were mistaken in thinking cout was part of the loop, partly due to the poor formatting of the code, and secondly because i was declared at a wider scope.
To correct this, create a block for the for loop by using { and }. This will keep the i in scope for all statements within the block, and repeat the statements for each iteration of the loop.
for(int i=0; i<3; i++) {
    count[i] = std::count(line[i].begin(), line[i].end(), j);
    cout << "\n" << j << "\t" << ":" << "\t" << count[i];
}


The Improving America's Schools Act (IASA) of 1994, which was the prior reauthorization of the Elementary and Secondary Education Act, has been replaced with the No Child Left Behind Act (NCLB) of 2001. The NCLB Act was signed into law on January 8, 2002 and is the latest reauthorization of the Elementary and Secondary Education Act. NCLB was effective as of January 8, 2002, however most provisions were not implemented until July 1, 2002, with applications for the 2002 - 2003 school year.


They live in a brick house in Huntersville, near where I-485 dead-ends into Old Statesville Road. There are two cars in the driveway; a neat sidewalk leads to the front door through fresh-cut grass. The parents, each with a job in the medical field, have two sons, one in private school and one a public-school senior.
A simple snapshot would blend them comfortably with everything that is their world. The adults and kids have their activities, their friends. But even when times appear good, part of the picture can be obscured.It just happens. With no one to blame, life can shift into neutral and stall, waiting for a reason to start again. In late summer, the husband became ill, and missed some time. The home needed repairs. Money was tight, had been for a while. The picture behind closed doors was not the portrait people saw."I think a lot of people, more than we could ever know, can relate to this," said family friend Amy Dill. "There are a lot of people out there who could use something, but they'll never tell you."Sometimes, it would be nice to wake next to the genie in the lamp or the fairy who rescued Cinderella.
But miracles aren't for sale, and there's no Sunday coupon for benevolence. So you do what you do, and hope for the best."I had tied a knot at the end of my rope and was hanging on for dear life," said homeowner Sharon Griggs, 53, an MRI technician for Presbyterian Hospital. "The place was sort of a wreck. It's been a financial struggle. I didn't care anymore. "Griggs works long hours, then attends to her family's needs and her boys. She had become an actress in two simultaneous roles – one public, one private."I've always tried to be a giver and help people my whole life," she said. "You want to provide the best for your kids … But I had basically given up. "Then, in mid-September, long-time family friend Johnny Mac came to the house. First, he took care of her husband. Then, he took a look around. "I'm going to fix this," he thought.
He gathered his accomplices. A few days later, Griggs said, she saw the angel. The phone call John McLellan, or Johnny Mac, coached the Griggs' youngest son in Pop Warner football and helps some with SouthLake Christian's team, where the boy plays. When Jimmy Griggs didn't show on the sidelines for several days to watch his son, McLellan called the house. Mr. Griggs' voice was contorted, unfamiliar. It was Tuesday, Sept. 18, and Jimmy Griggs, 48, was in his chair in the living room. He said his back hurt; he couldn't stand. McLellan called Sharon, then 911. "He didn't let anyone know how serious it was. We thought it was a pulled muscle," Sharon Griggs said. "But he had an abscess in his back that required immediate surgery.
We went into intensive care, and it was crazy there for a little while. "The surgeon was Dr. Mark Hartman – another friend and football coach at SouthLake Christian."There's a lot of people pulling together to help this family," Hartman said. "I just happen to be someone who knew the family, and knew this child. "That Saturday, with the Griggs still at the hospital, McLellan met Dill at their house. "We were ready to take a leap of faith, and we just wanted to fix up the surroundings and be helpful," Dill said. "I've been in dark places before, and I've had friends come over and … it just lifts your spirits. "They called a contractor each had used in the past."He was literally a minute from the house, and he came and he immediately felt connected to what we wanted to do," Dill said.
Buffington, 39, is a self-employed father of four young girls. He worked in the home-building business in Florida for eight years before moving to Huntersville seven years ago. "He felt such compassion, and it shocked us," Dill said, "because you don't find people like him every day, in this economy. He has given completely and sacrificially of himself, and to this day, he won't take a dime for his services. "The makeover Buffington contacted CCC Electrical Contracting in Cornelius, SCS Floors of Fort Mill, S.C., and Salmex Painting in Charlotte, people he knew. Materials were donated, labor was free.
Buffington removed the carpet from the 1,600-square-foot home and put in laminate flooring. The entire interior was painted, a light cream with white trim. He installed a new washer and dryer, bought by Sharon Griggs' sister, and three new toilets. There are new sinks, new tile in the bathrooms, new ceiling fan and light fixtures throughout. Buffington is custom-making drawers for the master bath vanity. The old furniture is gone; there is a new, king-size bed in the master bedroom, a new twin bed in the guest room."It's like 'Extreme Makeover: Home Edition', only without cameras and celebrities," Sharon Griggs said. "The house was built in the 1950s or '60s. He didn't want anything in return. "Someone offered Buffington use of their Home Depot card. Other friends helped buy supplies. With Sharon Griggs out of work several weeks to spend time at the hospital with her husband, Buffington came early and stayed late. A portable moving container was filled and removed. Friends made trips to and from, delivering and hauling away.


text:
Q: Boto3 Filter out ACM response to find particular certificate ARN I'm writing a Lambda to lookup the expiry of a certificate in ACM (It's imported so won't auto-renew)
I can pull down the full list of certs in ACM fine, but what I need to do is to get the ARN of a certificate that matches a particular domain name. The response dict has both but I want to be able to filter the response dict to only show the domain name and ARN of the entry matching a given domain name.
I have written a function as below:
 def list_certs(self):
    try:
      response = client.list_certificates(
      CertificateStatuses=[
          'ISSUED',
      ],
    )
      print(json.dumps(response["CertificateSummaryList"], indent=4))
      certs = jmespath.search("CertificateSummaryList[?DomainName == '*.example.com'] | [?DomainName == '*.example.com'].stringValue",response)

      print(certs)
      return response
    except ClientError as err:
      print(err)
    else:
      print("Something Possibly wrong")

A: Sorry for the late response, this works for me:
from __future__ import print_function
import boto3
import json
import jmespath
acm_client = boto3.client('acm')

def lambda_handler(event, context):
    message = event["domain"]
    print("Domain is ", message)
    acm_response = acm_client.list_certificates()
    # Creating JSON from JSONlike structure, prelacing single quotes with double
    acm_as_string = str(acm_response).replace("'", '"')
    # Now we can use it as JSON
    acm_as_json = json.loads(acm_as_string)
    # Find certificate matching the domain
    cert_search_as_list = jmespath.search(f"CertificateSummaryList[?contains(DomainName,`{message}`)]", acm_as_json)
    print("cert is ", cert_search_as_list)
    # Same manipulation of JSONlike structure
    cert_result_as_str = str(cert_search_as_list).strip('[]').replace("'", '"')
    cert_json = json.loads(cert_result_as_str)
    if "CertificateArn" in cert_json:
        certArn = cert_json["CertificateArn"]
        print("certArn is", certArn)

We are renewing certs from SNS notification in the form of json message:
{ "domain": "something.net" }

So, substitute message with your own domain name

A: Here's a fancier version that has dynamic profile and domain prompts:

#!/usr/bin/env python3

import argparse
import json
import logging
import sys
from abc import ABC
from functools import cached_property
from subprocess import PIPE, Popen
from typing import Optional

import boto3
from prompt_toolkit import prompt
from prompt_toolkit.completion import WordCompleter

LOGGER = logging.getLogger(__name__)

DATE_FORMAT = "%Y-%m-%d %H:%M:%S"
LOG_FORMAT = "[%(asctime)s] %(levelname)s:%(name)s:%(message)s"

class BaseAwsWrapper(ABC):
    def __init__(self, profile_name: Optional[str] = None):
        self._profile_name = profile_name

        if not self.is_logged_in():
            print("Please log in to AWS cli")
            sys.exit(1)

    def cli_execute(self, command):
        with Popen(command, stdin=PIPE, stdout=PIPE, stderr=PIPE) as process:
            output, err = process.communicate(
                b"input data that is passed to subprocess' stdin"
            )
            if err:
                print(err.decode("utf-8"))

        return output.decode("utf-8")

    def aws_cli_execute(self, command):
        command.insert(0, "aws")
        return self.cli_execute(command)

    def _prompt(self, name: str, available: list[str]) -> str:
        """Generic reusable user input prompt."""
        if len(available) == 1:
            return available[0]

        completer = WordCompleter(available)
        return prompt(f"{name} was not passed, choose a {name}: ", completer=completer)

    @cached_property
    def profile_name(self):
        if not self._profile_name:
            self._profile_name = self.profile_prompt()
        return self._profile_name

    @cached_property
    def available_profiles(self) -> list[str]:
        return self.aws_cli_execute(["configure", "list-profiles"]).split("\n")

    def profile_prompt(self) -> str:
        return self._prompt("profile", self.available_profiles)

    @cached_property
    def session(self):
        return boto3.Session(profile_name=self.profile_name)

    @cached_property
    def identity(self) -> dict:
        if identity := self.aws_cli_execute(["sts", "get-caller-identity"]):
            return json.loads(identity)
        return {}

    @cached_property
    def config_identity(self):
        return self.aws_cli_execute(["configure", "list"]).split("\n")

    def is_logged_in(self) -> bool:
        """
        Check to see if the user is logged in to AWS
        """
        return bool(self.identity)

    def get_account_id(self) -> bool:
        return self.identity.get("Account")

    @cached_property
    def region(self) -> str:
        ident = self.config_identity
        region_line = [x for x in ident if "region" in x][0]
        return region_line.split()[1]

class AwsAcm(BaseAwsWrapper):
    def __init__(
        self,
        profile_name: Optional[str] = None,
        certificate_domain: Optional[str] = None,
    ):
        super().__init__(profile_name)

        self._certificate_domain = certificate_domain

    @cached_property
    def acm(self):
        return self.session.client("acm", region_name=self.region)

    @cached_property
    def available_certificate_arns(self) -> dict[str:str]:
        y = self.acm.list_certificates()
        return {
            x["DomainName"]: x["CertificateArn"] for x in y["CertificateSummaryList"]
        }

    def certificate_prompt(self):
        return self._prompt("certificate", self.available_certificate_arns.keys())

    @cached_property
    def certificate_domain(self):
        if not self._certificate_domain:
            self._certificate_domain = self.certificate_prompt()
        return self._certificate_domain

    @cached_property
    def certificate_arn(self):
        return self.available_certificate_arns.get(self.certificate_domain)

def parse_args():
    """
    Extract the CLI arguments from argparse
    """
    _parser = argparse.ArgumentParser(description="Exec into a fargate container")

    _parser.add_argument("-p", "--profile", help="AWS profile name", required=False)
    _parser.add_argument("-c", "--domain", help="Certificate domain", required=False)

    return _parser.parse_args()

def main():
    args = parse_args()
    acm = AwsAcm(
        profile_name=args.profile,
        certificate_domain=args.domain,
    )
    print(acm.certificate_arn)

if __name__ == "__main__":
    main()