When using PHP, you've probably used DocBlocks. They can be used to add additional information that can't be inferred by looking at the source code alone. DocBlocks can be used by IDEs, like PhpStorm, to improve autocomplete suggestions.
In this blogpost, I'd like to highlight a not so well known D...
As much as we associate Apple with its handheld devices these days, their history is filled with a great depth of other compelling products. Desktops, laptops, even printers and monitors.
And, just like the ubiquitous iPhone (or even the iPod), they often were ahead of their time and quite prescient. Just think – PCs would probably still be simple beige boxes if Apple hadn’t shaken things up.
Today, we’re going to celebrate some of Apple’s greatest hits – including that phone in your pocket. Here is a collection of code snippets that recreate the look and/or experience of their products.
The Web Designer Toolbox
Unlimited Downloads: 1,000,000+ Web Templates, Themes, Plugins, Design Assets, and much more!
For every Mac owner, this happy little fellow is a good sign. It means that the device’s boot sequence has successfully begun and that you’ll be creating cool stuff in no time. Here, the icon is recreated and animated with CSS.
While the modern iMac offers a sleek aesthetic, the old school versions were of a different sort. Part of that, of course, was the CRT monitor. But they still held a certain charm, like this classic G3 version. What makes this faithful rendition even better is that you can click the power button to “boot up”.
The iPod wasn’t the first MP3 music player – but it was the one that took the world by storm. The extra storage was great (the first models came in 5 or 10 GB capacities), but it was the UI that really made the device a hit. Not to mention that, when paired with iTunes software, the device ultimately changed the music industry. This iPod Classic will help you relive the start of the revolution.
If you grew up in the 1980s or early 90s, you undoubtedly had one of these beasts in school – or something like it. The old desktops featured massive keyboards and weren’t exactly portable. Yet, for many, this type of computer was among the first we’d ever used.
Heading to a design conference? Then you’ll likely see a number of various MacBook models throughout. Their sleek industrial design is well-regarded by us creative types. As further proof, it’s often used in mockups, such as this HTML and CSS snippet.
The Mac Pro is a seriously beautiful workstation. Over the years, it has pushed desktop design to new heights of form and function. The iteration shown here sports a unique case that lifts right off, providing 360° access to internal components. If you’re curious as to how it opens, well, there’s a pen for that too.
Debuting to much fanfare in 2015, the Apple Watch has evolved into everything 1960s-era spy movies predicted a smart watch would be – and more. It displays messages, monitors your activity and heart rate, along with a myriad of other functions. And, oh yeah, it plays music. This snippet demonstrates the watch’s activity rings feature.
The iPhone was, of course, the device that truly revolutionized the smartphone. It raised the expectations of what a phone can and should do. As new models come out, we keep thinking, what will they do next? And it always seems that the product delivers another game-changing feature. Here, we see an iPhone X, complete with the infamous “notch”.
While some of the most popular and successful Apple products are represented above, it’s really just a small portion of the company’s history. Products such as the Newton, Cube, iBook, Lisa and so many others are also important parts of the company’s journey – they’re just not necessarily immortalized in code.
If you’re interested in some of those other devices, apple-history.com is a great place to spend some time. And, if you’d like to see more code Apple-related snippets, check out our CodePen collection.
A video has gone viral on social media with the claim that Delhi Police halted an ambulance to let the convoy of BJP MP Manoj Tiwari pass, as a result of which a little girl fighting for life died.
The video, posted by Facebook page Aam Admi Zindabad, shows an ambulance, along with some other vehicles, stopped at a police blockade.
India Today Anti-Fake News War Room (AFWA) has found the claim to be misleading. The traffic seen in the video was stopped for the convoy of Malaysian Prime Minister in 2017.
Till the time of filing this story, the video was shared more than 2,300 times. The claim, along with the video, also went viral on Twitter after user “GAURAV-INC” shared it on Friday. He later deleted the tweet. His tweet was retweeted more than 1,300 times and liked by 2,000 netizens.
AFWA investigation
During our investigation, we found the viral video in some news reports. As per Hindustan Times, the incident took place on April 1, 2017, when traffic was stopped near Rajghat flyover in Delhi for smooth movement of the cavalcade of former Malaysian PM Najib Razak. An ambulance, carrying an injured child, was stuck in this traffic.
A report by ‘The Times of India’ says that a bank employee named Preet Narula shot this video while he was on his way to work. As per Narula’s video, the ambulance was taking an injured child from Sonipat to a hospital in Delhi. The child was in a critical condition at that time and had lost consciousness by then.
The report also has a statement of a senior police officer who said that “the ambulance was stuck behind many cars and we brought it in the front. After a few moments, we allowed the ambulance to pass”.
On the misleading tweet by “GAURAV-INC”, Manoj Tiwari himself clarified that the claim with the video is totally false, following which the Twitter user deleted the tweet.
@RahulGandhi is it compulsory to be a part of fake news factory if u have to be in congress? No traffic is ever stopped for any MP in Delhi or elsewhere, its an old video where international delegate was enroute In Delhi, @DelhiPolice pls register case against this @INC_GAURAV_https://t.co/GAOuv1Mdcx
The WordPress Project is on a mission to democratize publishing. As WordPress empowers more people to participate in the digital space, we have the opportunity to make sure that everyone can participate safely and responsibly. Today marks the start of Digital Citizenship Week. We are going to share how open source can be used as a tool for learners (regardless of age) to practice and model the essential parts of being a good digital citizen.
What is digital citizenship?
The digital landscape constantly changes and this affects the way we use the internet. New platforms emerge, people find different ways to spread information, communities form, grow and fade away every day. The concepts and practice of promoting civil discourse, critical thinking and safe use of the internet still remain central. And that is exactly what digital citizenship is about.
“Put simply, digital citizenship is a lot like citizenship in any other community — the knowledge of how to engage with digital communities you’re part of in a way that is thoughtful, safe, and makes appropriate use of the technology.”
Josepha Haden, Executive Director WordPress Project
Who is a digital citizen?
Digital Citizenship is for all age groups. Anyone who uses the internet on a computer, mobile device or a TV is a digital citizen. You don’t have to be tech-savvy already, maybe you are taking your first steps with technology. Digital Citizenship Week is a chance to reflect together on our impact on the digital world. It can help us to make our consumption more considered and our interaction friendlier. It enables us to make a positive difference to those around us.
All of us can strive (or learn) to become better digital citizens. It can be affected by the access those teaching have had to digital skills and good practice. Adult education classes and community tech hubs play a part in basic tech skill development. Unfortunately, these are not always accessible to those in less populated geographic locations.
Open source communities like WordPress already make a difference in encouraging the principles of digital citizenship, from sharing tech skills to improving security knowledge. They give people an opportunity to learn alongside their peers and many of the resources are available regardless of location, resources, or skills.
WordPress Meetups — locally-based, informal learning sessions — typically take place monthly on weekday evenings.
WordCamps are city-based conferences that take place in cities worldwide. These events usually last 1-3 days and are organized and run by volunteers.
The talks are also recorded and made available on the free, online library WordPress.tv. These can be watched from the comfort of your own home, office or during informal get-togethers.
What can we do as part of the WordPress community?
Digital citizenship skills, like many other skills needed in this tech-focused world, should be kept up-to-date. Open source communities offer unparalleled opportunities to do this and are available in countries across the world. As part of our role as members of WordPress and other communities, we can pass on such skills to others. For instance by working alongside people who have had limited experience of digital skills. Or by finding new ways of making this knowledge sharing fun and accessible.
Here are just a few of the ways we do and can make an even greater difference:
as bloggers and writers, we can be more aware of how to write content responsibly.
as designers, we can think more about how different people will view, understand and respond to the designs and visuals we create or use.
as developers, we can build systems that make it easier for all users to find information and accomplish their goals, to be secure while visiting our sites, and to model good security and practice.
as community members, through organizing events like WordPress Meetups and WordCamps, we are helping equip those who may not have had access to digital literacy or who lack the confidence to put it into place or share with their family and colleagues. Through these events, the online videos and other resources on WordPress.tv and through the Make WordPress teams, we are already making a difference every day.
as individuals, the way we communicate in the community and listen to each other is equally important. This is a vital part of how we grow and model positive digital citizens. Through growing our positive digital skills and a better understanding of online etiquette and challenges, we can make our immediate and wider digital world a more positive and useful environment.
making it easier to document and share knowledge.
emphasizing how skills learned within the community can be used in other parts of our digital lives.
creating and becoming ambassadors for Digital Citizenship.
You can also get involved with specific events that have grown out of the wider WordPress project, championed by enthusiasts and those wanting to improve specific digital skills and bring wider benefits to society.
Community-driven Events
For example, WordPress Translation Day in 2019 had 81 local events worldwide. Running for 24-hours, individuals with language skills translated aspects of the platform into multiple languages with a total of 1181 projects modified. An amazing 221 new translators joined on the day. In addition, there was a live stream with talks, panel discussions, interviews, and sharing of tips and skills to help others learn how to translate. Volunteers are now planning the event for 2020!
Do_action days are WordPress events organized in local communities to help give charities their own online presence. Each event involves members of the local WordPress community, planning and building new websites for selected local organizations in one day. Some take place in a working day, others on weekends.
A video has gone viral on social media with the claim that Delhi Police halted an ambulance to let the convoy of BJP MP Manoj Tiwari pass, as a result of which a little girl fighting for life died.
The video, posted by Facebook page Aam Admi Zindabad, shows an ambulance, along with some other vehicles, stopped at a police blockade.
India Today Anti-Fake News War Room (AFWA) has found the claim to be misleading. The traffic seen in the video was stopped for the convoy of Malaysian Prime Minister in 2017.
Till the time of filing this story, the video was shared more than 2,300 times. The claim, along with the video, also went viral on Twitter after user “GAURAV-INC” shared it on Friday. He later deleted the tweet. His tweet was retweeted more than 1,300 times and liked by 2,000 netizens.
AFWA investigation
During our investigation, we found the viral video in some news reports. As per Hindustan Times, the incident took place on April 1, 2017, when traffic was stopped near Rajghat flyover in Delhi for smooth movement of the cavalcade of former Malaysian PM Najib Razak. An ambulance, carrying an injured child, was stuck in this traffic.
A report by ‘The Times of India’ says that a bank employee named Preet Narula shot this video while he was on his way to work. As per Narula’s video, the ambulance was taking an injured child from Sonipat to a hospital in Delhi. The child was in a critical condition at that time and had lost consciousness by then.
The report also has a statement of a senior police officer who said that “the ambulance was stuck behind many cars and we brought it in the front. After a few moments, we allowed the ambulance to pass”.
On the misleading tweet by “GAURAV-INC”, Manoj Tiwari himself clarified that the claim with the video is totally false, following which the Twitter user deleted the tweet.
@RahulGandhi is it compulsory to be a part of fake news factory if u have to be in congress? No traffic is ever stopped for any MP in Delhi or elsewhere, its an old video where international delegate was enroute In Delhi, @DelhiPolice pls register case against this @INC_GAURAV_https://t.co/GAOuv1Mdcx
There are a lot of fat burners on the market, all designed to help you lose weight when taken as part of a healthy lifestyle. If you’re looking to workout harder, eat less, cut cravings, and lose weight, then a fat burner may be the right choice for you.But how do you make sure that the supplement you choose is up to the task?In a marketplace full of fat burners of all shapes and sizes, making a decision can be daunting. Products come with a huge range of ingredients and claimed effects, some of which can be hard to distinguish between.To help you start moving in the right direction, we’ve put together this list of some of the best fat burners available in 2019. We’ve selected products with sensible ingredients lists, and whose claims stand up. When it comes to a good fat burner, you want something that is effective, safe, and tailored to your individual needs and preferences.
The best fat burners in 2019
There are hundreds of fat burner supplements available. The twelve below are a handpicked selection of some of the best.
1. LeanbeanDiet Pillfrom LEANBEAN
This is a big name in the fat burner field: originally developed for pro athletes, and now having a large and devoted following of satisfied customers.The newly reformulated daily dose contains 3g of glucomannan as its flagship ingredient, backed up by a whole host of other weight loss ingredients. Health safety authorities agree that glucomannan is an effective appetite suppressant, with 3g being the optimum dose in the context of an energy restricted diet.Leanbean is a great choice if you want a fat burner with its finger on the pulse of the industry. They also have a huge bank of positive reviews and customer testimonials, with some impressive before and after pictures. The pic below shows Madeleine’s progress after a month of taking Leanbean as directed. “I have never felt better”, is her feedback. LEANBEAN before and afterfrom LEANBEANKey features:
Clinically proven amounts of glucomannan to suppress appetite
Designed for athletes
Huge industry recognition and tons of satisfied customers
Another top product from Ultimate Life, the guys who brought us Leanbean. Riding on the popularity of the first product, the Powher Fat Burner supplements glucomannan with a completely different list of ingredients to fuel your weight loss.With more focus on natural stimulant ingredients, Powher is designed to support your body’s natural metabolism, and to top up various minerals that women are naturally prone to be deficient in. The result is a weight loss supplement that empowers your body to be its best.
Key features:
100mg of natural caffeine to spike your metabolism.
3g of glucomannan – the clinically proven dose for appetite suppression.
Contains iron and magnesium to prevent deficiencies.
Multi-box discounts and bundles available.You can buy the Powher fat burner on their official website.
This supplement uses exogenous ketones to help you achieve ketosis: the state where your body burns fat for energy, rather than carbs. This formulation means your body can still fuel itself while intaking lower amounts of dietary carbohydrate than usual, meaning you feel the need to eat less.
Key features:
Helps your body to achieve ketosis.
Boosts metabolism and helps you to burn fat as fuel.
Reduces caloric intake.
Comes with lifetime satisfaction assurance.You can buy through this link.
4. Rockstar Skinny GalRockstar Skinny Galfrom Rockstar Skinny Gal
Regarded as one of the most popular diet pills for women, Rockstar Skinny Gal is designed to limit your caloric intake and give you the power to do regular exercise.A confident blend of natural ingredients designed to suppress appetite (garcinia Cambogia, African mango, hoodia) and burn fat (raspberry ketones, green coffee, white kidney bean).
Key features:
Designed by top athletes and nutrition scientists.
All natural ingredients.
No fad ingredients.
Suppresses appetite while boosting fat burning metabolism.You can buy through this link.
This supplement may sound and look a bit extreme – it is declaring war on fat, after all – but it is popular. And with good reason.Grenade Thermo Detonator promotes a lower level of appetite designed to support natural fat metabolism and weight management. It is used by pro athletes, military personnel, and other people who need a high energy, fully focussed workout.
Key features:
Very high stimulant levels: for people who want a lot of energy.
Designed for high intensity interval training (HIIT).
Tailored to help you achieve physique goals.
Award-winning formula.You can buy through this link.
This supplement is much more gentle, and is designed to fight food cravings and help you cut portion sizes. If you find yourself snacking often between meals, this could be the supplement for you.94% of users reported moderate to strong feelings of fullness when eating reduced portion sizes.
Key features:
Designed to manage cravings and portion sizes.
Redusure fibre complex reduces appetite.
Part of a popular range of weight loss products.
Easy to take: two capsules before each meal.You can buy throuth this link.
Another supplement from XLS-Medical, is this appetite suppressant tea: the first UK clinically proven weight loss tea. A special fibre blend is combined with matcha tea, and binds to dietary fats.A cup of tea that helps to suppress cravings and reduce appetite: sounds great to us.
Key features:
Simple and tasty, just make and drink a cup of tea.
Clinically proven to help with weight loss.
Contains matcha which is rich in antioxidants.
Low caffeine content compared to other teas and hot drinksYou can buy through this link.
8. V24 Weight Loss GummiesV24 Weight Loss Gummiesfrom V24 Weight Loss Gummies
Fat burners don’t have to be powders or capsules. In fact, this supplement comes in gummy form, which we just love.These strawberry flavoured treats contain glucomannan, which as we know is a clinically proven appetite suppressant. Just eat four gummies, three times a day and they’ll keep the cravings at bay.
Key features:
It’s a sweet!
Clinically proven dose of glucomannan to suppress cravings.
No capsules to swallow.
Only 8.5 calories per gummy.You can buy through this link.
9. Keto Advanced by TDN NutritionKeto Advanced by TDN Nutritionfrom TDN
TDN have released one of the best Keto supplements, with a formula researched, developed, and manufactured in the UK to GMP standards. The ingredients list is advised by health gurus and celebrity nutritionists, and represents the cutting edge of keto supplementation. Taken as directed, these specially formulated ingredients will encourage the body toward a state of ketosis.“Kickstart Ketosis” is their motto, with good reason.
Key features:
Made in the UK to strict manufacturing standards.
Formula advised by health gurus and celebrity nutritionists.
Contains ingredients designed to kickstart ketosis.
Small, easy to swallow capsules.You can buy through this link.
You can tell by the bottle that this fat burner means business, and with over 30,000,000 servings sold, they’re obviously doing something right. This is one of the market-leading thermogenic fat burner on Amazon, and helps you to burn more calories, increase energy levels, and suppress appetite. There are zero fillers or dyes, and ingredients are included in bioavailable formats, meaning your body is most easily able to absorb them.
Key features:
Highly effective for women and men.
Makers claim to have sold over 30,000,000 servings.
Made in the USA to strict manufacturing standards.
Packs a powerful stimulant hit to fuel your workout.You can buy through this link.
11. BodyShape 24 Day and NightBodyShape 24 Day and Nightfrom BODYSHAPE24
You don’t have to choose between the red pill and the blue pill any more… Just take a red one in the morning for an energy hit and to boost your metabolism throughout the day; then take a blue one at night to support calorie burning while sleeping.This intelligent dosing system is simple and easy to remember, and you have the peace of mind of knowing that your weight loss is covered 24 hours a day.
Key features:
Developed and tested in conjunction with one of Europe’s top female supplement manufacturers.
A range of ingredients to boost your body’s natural metabolism.
Simple to take: red in the morning, blue at night.
Unique 24 hour formula.You can buy throuth this link.
12. LEAN PM Night Time Fat BurnerLEAN PM Night Time Fat Burnerfrom LEANPM
This supplement is designed to curb cravings and night time, and to help you burn fat while you sleep. It’s an approach we don’t see very often, but it’s a good one.Appetite suppressing ingredients are combined with those that promote restfulness and help the body prepare itself for sleep.
Key features:
Helps you to get a good sleep and have more energy the next day.
Suppresses appetite and cravings in the evening.
Aids the body’s natural sleep processes.
A novel approach for a fat burner supplement.You can buy through this link.
What is a fat burner?
“Fat burner” is an umbrella term referring to supplements that are designed to help you lose weight through one or more of various mechanisms:
Some fat burners give you an energy boost to help you work out harder and longer, to burn more calories.
Some fat burners boost your metabolism to help your body store and burn fats and sugars as efficiently as possible.
Some fat burners raise your internal temperature slightly, to help your body burn more calories at rest. This is called thermogenesis.
Some fat burners suppress appetite, meaning you feel the need to eat less.
Now: a clarification. Fat burner supplements are intended to help you lose weight, not to cause weight loss. The clue is in the name: they are designed to supplement your existing weight loss efforts.Losing weight ultimately boils down to one thing: maintaining a healthy caloric deficit. When you burn more calories than you consume, your body burns through your fat reserves.A lifestyle built around a healthy diet and regular exercise will lead to weight loss, and a fat burner supplement is designed to increase the results you would see from this.
Fat burner side effects
Many people ask whether fat burners have side effects, and it’s a good question. Having peace of mind that the supplement you’re planning to take is effective and – more importantly – safe, is a vital part of making a purchase.With such widespread access to the internet it’s now much easier than it once was to find information about products, who makes them, and the ingredients they contain. We can’t address the side effects of every single ingredient you’ll come across when shopping for a fat burner, but we can outline a few things to look for. We can also point you in the direction of the US Office of Dietary Supplements, whose website contains in-depth information.One thing to be aware of is the potential for side effects when taking a larger dose of caffeine than you’re used to. Many fat burners contain caffeine to power up your workout, with doses ranging from 80 to over 270mg. For reference, a cup of black coffee contains about 100mg: this means that if your threshold is low and you take a fat burner with 270mg of caffeine, you’re probably going to get the jitters!Caffeine can also cause anxiety and increased heart rate, meaning its effects sometimes get mistaken for things that are more severe.In our experience, women want fat burners with lower caffeine levels. Many of the female fat burners we come across – including Leanbean in the list above – have less caffeine than their male counterparts. Keep an eye on this when choosing your fat burner!
In conclusionAs we’ve said, the fat burner supplement market is stacked full of products competing for your attention. Amongst the masses there are some true gems, including our number 1 fat burner for women – Leanbean.
It’s important that you invest time and effort in researching supplements before choosing to take one. You should have a firm understanding of what the ingredients do, how they interact, and the type of results you can expect.
And please remember what we said at the beginning: weight loss comes down to a lifestyle built around a healthy caloric deficit. If you eat a healthy diet, exercise regularly, and take the right supplement, then you should see good weight loss results.