In this tutorial, we will cover how to undo or revert a code change. Also I will show you how to reset your git branch to any previous commit id.
Month: May 2018
📺 Git Tutorial 5: Branches (Create, Merge, Delete a branch) | YouTube
In this tutorial, I'll cover a very powerful feature of git called branch. I will show you how you can manage alternate versions of your code by creating separate branches, how to merge branches and delete them.
🎧 ‘The Daily’: When Facebook Rumors Incite Real Violence | New York Times
A series of damning posts on Facebook has stoked longstanding ethnic tensions in Sri Lanka, setting off a wave of violence largely directed at Muslims. How are false rumors on social media fueling real-world attacks?
On today’s episode:
• Max Fisher and Amanda Taub, who have reported on Sri Lanka for The New York Times.
Background reading:
• Fraudulent claims of a Muslim plot to wipe out Sri Lanka’s Buddhist majority, widely circulated on Facebook and WhatsApp, have led to attacks on mosques and Muslim-owned homes and shops in the country.
• Facebook’s algorithm-driven news feed promotes whatever content draws the most engagement — which tend to be the posts that provoke negative, primal emotions like fear and anger. The platform has allowed misinformation to run rampant in countries with weak institutions and a history of deep social distrust.
🎧 ‘The Daily’: A Child of Gaza Becomes a Political Symbol | New York Times
The death of a Palestinian baby during the protests in Gaza became a rallying cry for critics of Israel. Within hours, the family’s story was being questioned.
On today’s episode:
• Declan Walsh, the Cairo bureau chief for The New York Times, who has been reporting from Gaza.
Background reading:
• Layla Ghandour, an 8-month-old Palestinian girl, inhaled tear gas during the protests at the Gaza border on Monday and died hours later. The tragedy became a focal point of outrage for critics of Israel’s use of force, while the Israeli military and its supporters questioned the narrative around her death as a political ploy by Hamas.
• The child was one of more than 60 Gazans killed during this week’s demonstrations, which were held to draw attention to the 11-year Israeli blockade of the territory. The violence gave way to mourning on Tuesday, the 70th anniversary of what Palestinians refer to as the Nakba, or Catastrophe, when hundreds of thousands fled their homes upon the creation of the state of Israel.
🎧 ‘The Daily’: Does Mueller Have a Plan for Trump? | New York Times
White House lawyers have claimed that Robert S. Mueller III, the special counsel overseeing the Russia investigation, will not indict the president, regardless of his findings. If that’s true, then what is the purpose of his inquiry?
On today’s episode:
• Michael S. Schmidt, a Washington correspondent who covers national security and federal investigations for The New York Times.
Background reading:
• According to President Trump’s lawyers, Mr. Mueller’s investigators said that they would abide by the Justice Department’s legal and historical precedent to refrain from prosecuting sitting presidents.
• Any discovery of wrongdoing by the president might instead be referred to Congress for a decision, as was done when Presidents Richard M. Nixon and Bill Clinton were under investigation.
• It has been one year since Mr. Mueller was appointed special counsel to look into a dizzying array of events that span years and continents. Here's a guide to what has happened.
🎧 ‘The Daily’: North Korea’s Fear? Becoming Libya | New York Times
John R. Bolton, President Trump’s new national security adviser, has said that negotiations with North Korea should follow “the Libya model.” Now, North Korea is threatening to call off the planned summit meeting with Mr. Trump. What risks does the Libya model hold for Kim Jong-un?
On today’s episode:
• Mark Landler, a White House correspondent for The New York Times.
Background reading:
• In a statement released on Wednesday, North Korea’s vice foreign minister threatened to cancel scheduled talks with President Trump if the United States continues to insist on complete nuclear abandonment.
• The statement repeatedly cites the example of Libya, whose former leader, Col. Muammar el-Qaddafi, agreed in 2003 to forfeit the country’s nuclear capability in the hope of economic integration with the West. Colonel Qaddafi was captured and killed by rebel forces after the United States and its allies launched airstrikes in Libya in 2011.
• According to administration and foreign officials, President Trump has been seeking advice from his aides and allies, including from President Moon Jae-in of South Korea, about whether he should proceed with the talks with Kim Jong-un at the risk of political embarrassment.
🎧 ‘The Daily’: Rod Rosenstein’s Impossible Choice | New York Times
President Trump has asked the Department of Justice to investigate whether the F.B.I. infiltrated his campaign in 2016 for political purposes. In response, the department granted the president’s team access to highly classified information from the special counsel’s Russia investigation. What’s behind this decision?
On today’s episode:
• Julie Hirschfeld Davis, who covers the White House for The New York Times.
Background reading:
• In a series of tweets on Sunday, President Trump demanded an investigation into whether an F.B.I. informant “infiltrated or surveilled” his campaign. The deputy attorney general, Rod J. Rosenstein, asked the Justice Department’s inspector general to accommodate the president’s wishes by expanding an existing inquiry.
• The president’s tweets referred to a Times report about Robert S. Mueller III, the special counsel, examining whether countries other than Russia, including Saudi Arabia, had offered assistance to the Trump campaign.
• After a White House meeting on Monday, intelligence and law enforcement officials agreed to disclose some sensitive documents from the Russia investigation to Republican congressional leaders.
👓 Hiding Information in Plain Text | Spectrum IEEE
Subtle changes to letter shapes can embed messages
📺 "Empire" The Empire Unpossess’d | FOX
Directed by Craig Brewer. With Terrence Howard, Bryshere Y. Gray, Jussie Smollett, Trai Byers. As the Empire ownership bid presentation nears, Lucious must make a difficult decision to save the future of the company.
👓 Can we PLEASE talk about privacy, not GDPR, now? | Sebastian Greger
It’s the “morning after”: a mere twelve hours have passed since the GDPR applies and while still awaiting breaking news on hobbyist blog owners being fined EUR 20 million, an army of burnt-out web and legal professionals has begun to clean up from the party that was “the final dash towards GDPR”.
tl;dr: Do unto others as you would have them do unto you.
👓 Google News Drops RSS Feed Subscription Buttons | Search Engine Roundtable
With the new Google News, they didn't just drop the standout tag and editors pick but it seems like the direct method to subscribe to Google News via RSS and Google News keyword searches is gone.
👓 Jason Bateman Showed How “Family” Is Used To Excuse The Inexcusable | Buzzfeed
When Bateman dismissed Jeffrey Tambor’s outburst at Arrested Development costar Jessica Walter by saying “this is a family,” he reminded us how often that word is used to paper over serious problems.
👓 So, Was Agatha Christie Anti-Semitic? |The Art of Words
In the Daily Telegraph 20 March 2013, Matthew Sweet reviews Perspectives, a programme by David Suchet on Agatha Christie’s disappearance in 1926. Did differing responses to the affair reflect attitudes to Christie’s (conservative) politics as expressed in her books? It’s an interesting question, but Sweet uses it as an opportunity to wheel out the old accusation that Christie was anti-Semitic:
📺 "The Late Show with Stephen Colbert" Benedict Cumberbatch/Mary Gallagher | CBS
Actor Benedict Cumberbatch ("Patrick Melrose", "Mowgli" and "Avengers: Infinity War"); comic Mary Gallagher performs;