When you pop open a bottle of wine, it’s easy to forget that its stopper comes from a tree. This footage captured by oenophile Jamie Goode at Portugal’s Cork Supply shows us the labor that goes into cutting pieces of cork tree bark, and punching out individual pieces. We wonder what they do with the leftover bark.
Netflix’s horrible autoplay previews can be turned off
https://ift.tt/2vXj77B
Listen, this week sucks. Last week pretty much sucked, too. Honestly, it’s probably time to just scrap this stupid jerk of a year and give 2021 a go. (Spoiler: That one will suck, too.) But you take your victories where you can get them, and Netflix just handed us a beautiful one for once in our sad, miserable lives.
Some people find this feature helpful. Others not so much.
In this lesson, Bobby Bouwmann shows us how to use Guzzle to make API requests. He’ll also demonstrate how you might go about testing classes that perform lengthy network calls.
It would be nice if Laravel provided a configuration entry to control which path is used for user uploaded content, or more generally, application data storage such as files, images, and binary data. In Laravel, this directory is known a the storage path
The helper functionstorage_path calls the container for a path.storage mapping. By default, Laravel populates this entry in Application.php – This is hard coded to directory relative to your applications root directory.
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; // Full path: app/Providers/AppServiceProvider.php class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { $this->app->instance('path.storage', '/webroot/storage'); } /** * Bootstrap any application services. * * @return void */ public function boot() { // } }
Now, every call to storage_path will return a path to our customized storage directory.
Why would we want to use the $instance property instead of the app helper function? The first reason is that it would be unnecessary to call app because it is identical to the instance property that we already have direct access to. Our service provider extends ServiceProvider, so we have access to the Application instance and we do not need to construct one by hand.
Another reason is that depending on your IDE, you can get nice autocompletion because of the PHP doc block defined on this property.
VIDEO: Fox Sports Nails It With ‘Ragged Old Flag’ Super Bowl Commercial
https://ift.tt/37YakQM
When it comes to the 2A community, the NFL fails us more often than not. The NFL employs a perpetual anti-gun stance. Then it allowed the fiasco that was the kneeling Colin Kaepernick. So American patriots feel slighted and marginalized repeatedly by the organization running America’s most popular sport. But Fox Sports, and even the NFL, scored a resounding win, for once, with its Ragged Old Flag commercial on Super Bowl Sunday. So since they fail us so often, we’ll give a shout-out when they finally get one right.
RELATED STORY
WATCH: Marine Veteran Streaks Across Field in US Flag Underwear
Ragged Old Flag Commercial
The spot features the iconic voice of the immortal Johnny Cash. In it he voices his 1974 classic “Ragged Old Flag.” Patriotic to its core, the Ragged Old Flag commercial begins with retired Marine Corps Lance Cpl. Kyle Carpenter, a recipient of the nation’s highest military award, the Medal of Honor. Carpenter received the award for his incredibly heroic actions in Afghanistan in 2010.
From there, the spot honors military and first responders alike. It is at times subtle, at times overt, and patriotic to the core throughout. While the commercial never specifically mentions Kaepernick, his supporters nevertheless took to social media to criticize Fox and the NFL for airing the spot. That alone speaks volume to everything good about the Ragged Old Flag commercial.
However, pro gun patriots immediately recognized just how special the commercial is, and how it spoke to veterans and 2A enthusiasts alike.
Ragged Old Flag by Johnny Cash to start the Super Bowl? Inject it into my veins please pic.twitter.com/267yyG2YOo
Starting at 12:01 AM Saturday, February 1, and going through 11:59 PM Sunday, February 2, Super Barrel II contestants can sign up for their chance to win at the Brownells Super Barrel II page.
One lucky winner will be drawn by random and will receive the big red barrel full of ‘Merica valued at $4,239.99.
Containing enough ammo to fill almost 70 standard-length belts for an M249, the barrel weighs more than all but the very biggest football linemen. If all 13,889 cartridges contained inside were laid to end-to-end, they would stretch over 870 yards — almost twice as far as the most passing yards ever in a modern pro football championship game.
To sign up to win the Super Barrel II barrel full of ammo, and to see other amazing products, visit www.brownells.com.
About Brownells
Serious About Firearms Since 1939™, Brownells is the world’s leading source for guns, gun parts and accessories, ammunition, gunsmithing tools and survival gear. With a large selection of both common and hard-to-find items, and an extensive collection of videos, articles, and gun schematics, Brownells is the expert for everything shooting-related. Committed to maintaining our great traditions, Brownells has more, does more and knows more – and guarantees it all, Forever. For more information or to place an order, call 800-741-0015 or visit Brownells.com. Stay up-to-date with Brownells on YouTube, Facebook, Twitter and Instagram
CBS makes Star Trek: Picard pilot free on YouTube for a limited time
https://ift.tt/36zJ6yA
Episode 1 of Star Trek: Picard on YouTube.
CBS has made the entirety of the first episode of its new series Star Trek: Picard freely and publicly available as a YouTube video. This is an opportunity for viewers curious about the show to see if Picard is worth subscribing to the network’s streaming service, CBS All Access, to watch the rest of the series.
The episode on YouTube is the same as the pilot episode that premiered on CBS All Access last week. The second episode of
Picard
began streaming on CBS All Access yesterday, and the network plans to release episodes at a weekly cadence. CBS has not said whether it plans to make other episodes available for free on YouTube in the future, but it seems likely.
The description for the video says the episode will only be available “for a limited time” and that it’s presented by Geico. It does not, however, clarify how long “a limited time” is or when the video might become unavailable.
Picard
has received generally positive critical reviews to date, but it’s early days for the series. The show takes place 20 years after 2002’s
Star Trek: Nemesis
, which was the last time actor Patrick Stewart appeared on screen as Picard in a live-action
Star Trek
production. It has already included some cameos from actors and characters from
that it’s his goal to see all the principal characters of
The Next Generation
in
Picard
before the series ends its run.
The series has also been renewed for a second season, set to premiere in 2021. CBS plans to bring back Star Trek: Discovery for a third season with a new showrunner, and it has plans for additional series set in the Star Trek universe, including one focused on Michelle Yeoh reprising her role as Philippa Georgiou from Discovery.