Jet Engine Camper

Jet Engine Camper

https://ift.tt/2OUQxKp

Jet Engine Camper

Link

Builder Steve Jones got his hands on the jet engine nacelle from an old Royal Air Force VC10 airplane, and has since transformed the circular housing into a truly unique camper. It can sleep four in its cozy living space, which can transform into a dining room. Check out the full build history on the project’s Facebook page.

fun

via The Awesomer https://theawesomer.com

July 26, 2020 at 02:01PM

Kevin James: Gone Fishin’

Kevin James: Gone Fishin’

https://ift.tt/3f65RP3

Kevin James: Gone Fishin’

Link

“You want Earth? You can just take it.” After a fisherman is abducted by aliens, he explains to his captors how screwed up our planet is and how it’s not really worth their effort. Kevin James‘ short film offers a comedic but occasionally profound look at humans can be simultaneously the worst and the best things ever.

fun

via The Awesomer https://theawesomer.com

July 24, 2020 at 06:00PM

ATM vs. Hand Grenade

ATM vs. Hand Grenade

https://ift.tt/3eTGlfD

ATM vs. Hand Grenade

Link

Opening up an ATM with a hand grenade seems like a bad idea, but we suppose if you own the machine, you can do whatever you want with it, right? Edwin Sarkissian decided to see what would happen when he tossed an M67 frag grenade into one of those convenience store ATMs, and the carnage is everything you could hoped for.

fun

via The Awesomer https://theawesomer.com

July 22, 2020 at 12:30PM

Vemto – Upcoming Laravel Code Generator and Studio

Vemto – Upcoming Laravel Code Generator and Studio

https://vemto.app


Settings for Code Generation

You can control a lot of code generation settings, for example: use Fillable or Guarded strategy for mass assignment, change the default Auth. Model, change the folder and namespace to generate the Models, the Controllers, the CSS Framework, etc

programming

via Laravel News Links https://ift.tt/2dvygAJ

July 22, 2020 at 03:21PM

Getting Started With Default Sorting In Your Eloquent Models

Getting Started With Default Sorting In Your Eloquent Models

https://ift.tt/32M7LBI


Default Model Sorting package is a mini Laravel package I published recently. By default, Laravel Eloquent models return queries that are ordered by the id column of the model table.

With this package, you can set default order by in your Eloquent model so you don’t have to call the orderBy Eloquent builder.

<?php

Article::orderBy('title', 'asc')->get(); 


Article::all(); 

Installation

First you have to install this package via composer.

composer require stephenjude/default-model-sorting

Usage

Using the DefaultOrderBy trait of this package, you can set the default column you want to sort by.

For example, if you want to set the default order column for Article model (assuming you are building a blog). You will use the DefaultOrderBy trait and set the $orderByColumn property inside your Article model.

use Stephenjude/DefaultModelSorting/Traits/DefaultOrderBy;

class Article extends Model
{
    use DefaultOrderBy;

    protected static $orderByColumn = 'title';
}

Now your Article model queries will be ordered by title column in ascending order.

You can also set the $orderByColumnDirection property. This property is set to asc as the default value.

protected static $orderByColumnDirection = 'asc';

To set the global default $orderByColumnDirection property, publish the package configuration file.

php artisan vendor:publish --provider="Stephenjude\DefaultModelSorting\DefaultModelSortingServiceProvider" --tag="config"

Now you can update the configuration file as you desire.

return [    
    
    'order_by' => 'asc',
];

Under The Hood

This package is has a trait DefaultOrderBy that adds a default_order_by global scope to the boot() method of your Eloquent model.

 <?php
 ...
 protected static function boot()
 {
     parent::boot();

     
     $column = Self::$orderByColumn;

     
     $direction = isset(Self::$orderByColumnDirection)
            ? Self::$orderByColumnDirection
            : config('default-model-sorting.order_by');
     
     
     static::addGlobalScope('default_order_by', function (Builder $builder) use ($column, $direction) {
            $builder->orderBy($column, $direction);
        });
} 

If you don’t want to use the package, you can add this code to your Eloquent model.

If you find this package helpful please give it a start on Github.

programming

via Laravel News Links https://ift.tt/2dvygAJ

July 22, 2020 at 03:21PM

Mercury Tactical Messenger Bag

Mercury Tactical Messenger Bag

https://ift.tt/32ExxYD

Mercury Tactical Messenger Bag

 | Buy

Carry your computer and organize your everyday work essentials in this military-style messenger bag from Mercury Tactical Gear. Its main compartment is padded, and includes a removable laptop case with its own handle, while its exterior features MOLLE webbing and three detachable accessory pouches.

fun

via The Awesomer https://theawesomer.com

July 21, 2020 at 10:15AM

Laravel Boilerplate 7.0

Laravel Boilerplate 7.0

https://ift.tt/2OIv3jS


I have finally released the newest version of my Laravel Boilerplate project which was a ground-up rebuild and took nearly 4 months to complete.

I realize there are plenty of boilerplate projects available now since I first launched this 5 years ago, but I tried to design this one to be easy to understand and come with a ton of features most of us would use out of the box, and tried to trim the fat on the features that were more uncommon and easy to add ourselves.

Along with this project, I was tired of using jQuery datatables, and couldn’t find a Vue.js datatables plugin I liked, so I decided to make a lite version myself in Livewire. So included in this package is Laravel Livewire Tables (v1.0 coming soon) which took a couple of months to build in itself.

The project is labeled as a template on Github which makes it super easy for you to make your own project from.

Some of the core out of the box features you’ll get with BP7 are:

On the frontend:

  • User Dashboards
  • User Account Management
  • Two Factor Authentication
  • Social Logins
  • reCAPTCHA

On the backend:

  • Dashboard
  • User Management
  • Role Management
  • User Impersonation
  • Change Passwords
  • Activate/Deactivate
  • Clear Sessions

Globally:

  • Full Language Support with JSON files and 20+ languages built-in
  • Frontend/Backend architecture
  • Wildcard roles/permissions
  • Timezone Support
  • Demo Mode
  • Activity Log
  • Announcements (Globally, Frontend, Or Backend)
  • Different User Types, Roles, and Permissions specific to a user type.
  • Breadcrumbs
  • Password History
  • Password Expiration
  • Tests
  • Clean Controllers/Services/Form Requests/etc.

And many, many, more things you’ll just have to find when you try it.

You can check out the demo here.

Credentials:

User: admin@admin.com\
Password: secret

Hop on over to the Github to download your copy now! (and don’t forget to give it a star!)

Filed in:
News

programming

via Laravel News https://ift.tt/14pzU0d

July 20, 2020 at 02:03PM

‘Monument Valley’ studio reveals ‘Alba: a Wildlife Adventure’

‘Monument Valley’ studio reveals ‘Alba: a Wildlife Adventure’

https://ift.tt/2CPBgaP

Ustwo Games is ready to reveal its next project. The independent studio, best known for the M. C. Escher-inspired Monument Valley puzzlers, is hard at work on a nature-focused title called Alba: a Wildlife Adventure. An ever-so-brief teaser trailer starts with a panning shot over a water bottle, half-eaten sandwich, notebook and backpack. The virtual camera then passes over a sheet of paper titled ‘Island clean up Initiative,’ a bird-spotting book and DSLR, some photographs and, finally, a newspaper with the headline ‘Girls start a wildlife league.’ Finally, it pans out to reveal the titular character on a cliff, overlooking a colorful forest and beach.

In a brief press release, the team said the game was "inspired by the team’s love of nature" and "fond memories of childhood summers in the Mediterranean." For now, the studio is staying hush-hush about the gameplay and larger story. It did reveal, however, that the title will be coming to iOS, MacOS, tvOS, PC and consoles (no word on which) this winter. The game follows the Facebook-exclusive Go Go Bots, as well as Assemble With Carea gorgeous Apple Arcade original that has since been released on Steam and updated with a free epilogue level — and Land’s End, an immersive adventure built for Gear VR and Oculus Go headsets.

geeky,Tech,Database

via Engadget http://www.engadget.com

July 20, 2020 at 12:24PM

What Happened When Microsoft Analyzed Its Own Remote Work Patterns?

What Happened When Microsoft Analyzed Its Own Remote Work Patterns?

https://ift.tt/3jmZppR

Harvard Business Review just published a new analysis by the director of Microsoft’s Workplace Analytics team, a director on Microsoft’s workplace intelligence team, and the editor of Microsoft Workplace Insights. "Four months ago we realized that our company, like so many others, was undergoing an immediate and unplanned shift to remote work…" "So, we launched an experiment to measure how the work patterns across our group were changing, using Workplace Analytics, which measures everyday work in Microsoft 365, and anonymous sentiment surveys…"
[O]ur research revealed that workdays were lengthening — people were "on" four more hours a week, on average. Our survey shed light on one possible explanation: Employees said they were carving out pockets of personal time to care for children, grab some fresh air or exercise, and walk the dog. To accommodate these breaks, people were likely signing into work earlier and signing off later… One data point stunned us: the rise of the 30-minute meeting… We had 22% more meetings of 30 minutes or less and 11% fewer meetings of more than one hour. This was surprising. In recent decades meetings have generally gotten longer, and research shows it has had a negative effect on employee productivity and happiness. Our flip to shorter meetings had come about organically, not from any management mandate. And according to our sentiment survey, the change was appreciated. Suddenly the specter of an hour-long meeting seemed to demand more scrutiny. (Does it really need to be that long? Is this a wise use of everyone’s time?) This is one of the many ways that the remote-work period could have a long-term impact… Our colleagues in China, who have already moved large parts of their workforces back to the office, are seeing that some of the habits that emerged during remote work, such as more reliance on instant messaging and longer workweeks, have continued even after the return.
Other interesting observations:
"Employees who had well-protected weekends suddenly have blurrier work-life boundaries. The 10% of employees who previously had the least weekend collaboration — less than 10 minutes — saw that amount triple within a month."
"Responding to the lack of natural touchpoints — grabbing lunch in the cafeteria, popping by someone’s desk — employees found new ones. In our group, these ranged from group lunches to happy hours with themes such as ‘pajama day’ and ‘meet my pet.’ Overall, social meetings went up 10% in a month."
"Multitasking during meetings didn’t spike even though people weren’t in the same room…"


Read more of this story at Slashdot.

geeky

via Slashdot https://slashdot.org/

July 19, 2020 at 10:07PM