Krayin – Opensource Laravel CRM

https://krayincrm.com/wp-content/uploads/2021/07/krayin_og.png

Install Krayin CRM from console.

Execute these commands below, in order

1.

composer create-project krayin/laravel-crm

2.

php artisan krayin-crm:install

On server

Warning: Before going into production mode we recommend you uninstall developer dependencies. In order to do that, run the command below:

composer install --no-dev

Open the specified entry point in your hosts file in your browser or make an entry in hosts file if not done.

On local

How to log in as admin

Open brower and paste the

http(s)://example.com/admin/login

email:[email protected]
password:admin123

Laravel News Links

Man BLASTS Board Pushing Vaccine Passports, Accuses them of Being Nazis Violating the Nuremberg Code

https://www.louderwithcrowder.com/media-library/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbWFnZSI6Imh0dHBzOi8vYXNzZXRzLnJibC5tcy8yNzI1NjExMi9vcmlnaW4uanBnIiwiZXhwaXJlc19hdCI6MTYzMjAzMTM3Mn0.hoK4La1Gic-Tc0bfPSPTJ__NAG6BichSlJtOGRyBts4/image.jpg?width=980

Yesterday I saw a meme that read something like "I now know which of my neighbors would’ve turned in Anne Frank to the Nazis." COVID-19 has revealed who can be trusted, and who is a snitch to the authorities. One could argue our C-Nazis readily identify themselves in public. The unidentified man in the video I’m about to drop on you took the Nazi comparison two steps further. He is the level of angry everyone should be.

For the record, I tried to find the raw file for this, but JP’s video will have to suffice.

"Have you been a good little Nazi and gotten the vaccine? Hail Fauci! Hail Fauci! Hail Fauci!"

He then accused the Board of Supervisors in what I believe is San Diego, of violating the Nuremberg Code. That’s a new one. So I looked it up. Here’s article one:

The voluntary consent of the human subject is absolutely essential. This means that the person involved should have legal capacity to give consent; should be so situated as to be able to exercise free power of choice, without the intervention of any element of force, fraud, deceit, duress, overreaching, or other ulterior form of constraint or coercion; and should have sufficient knowledge and comprehension of the elements of the subject matter involved as to enable him to make an understanding and enlightened decision. This latter element requires that before the acceptance of an affirmative decision by the experimental subject there should be made known to him the nature, duration, and purpose of the experiment; the method and means by which it is to be conducted; all inconveniences and hazards reasonably to be expected; and the effects upon his health or person which may possibly come from his participation in the experiment. The duty and responsibility for ascertaining the quality of the consent rests upon each individual who initiates, directs, or engages in the experiment. It is a personal duty and responsibility which may not be delegated to another with impunity.

Huh. Fascinating. No coercion, people who are a part of a medical experiment must give consent, and we must have sufficient knowledge of the subject matter. Because fact-checks are what they are, I need you to decide if we’re in an experiment or not.

Speaking of fact checks, Reuters ran a fact check on the Nuremberg Code being applied to mask mandates and found it false. I wonder what they’d say about vaccine passports.

Regardless, we’re living in dangerous times. Not because of a virus. But of how certain people are using a virus to control all of us. What we need are more people like Mr. Dreadlocks here, willing to scream it so we can all hear the message.

Looking for a fashionable way to support Louder with Crowder? Get your swag at Crowdershop today!

Louder With Crowder

Incredible Never-Miss Auto-Aiming Bow Puts Robin Hood to Shame

https://i.kinja-img.com/gawker-media/image/upload/c_fill,f_auto,fl_progressive,g_center,h_675,pg_1,q_80,w_1200/d1f6bf2fe69e95776807cd14ec5ecf3f.gif

At this point, Shane Wighton of the YouTube channel Stuff Made Here has gone from being another talented maker sharing their creations on the internet to potentially the next Thomas Edison. Their latest invention, an auto-aiming bow is so accurate it can even shoot a tiny apple off the head of a Lego minifigure.

Previously, Wighton has used their design and engineering expertise to create a custom-shaped backboard that ensures every basketball shot is redirected through the hoop, an updated version that uses object-tracking cameras and motors to reposition the backboard with every shot, and even a baseball bat with a built-in explosive core that could literally blast home runs out of a park. Through science and engineering, Wighton is slowly mastering every sport imaginable, and that now includes archery with a wonderfully over-engineered bow.

Shooting an arrow at a target usually requires relatively simple hardware. Essentially a bent piece of flexible lumber with a string connected to each end. When you pull the string back and release it, the flexed bow returns to its original shape, and energy is transferred to an arrow, sending it flying towards a target. The idea is simple, but mastering the use of a bow so that the arrow actually hits the target can require years of practice… or several weeks of engineering.

The first iteration of the auto-aiming bow consisted of two mechanisms: a hand-held robot that positioned the bow up and down and left or right using a pair of linear axis motors to take care of aiming, and a second robot that would hold and release the drawn string, to take care of the timing. A series of OptiTrack motion capture cameras installed around Wighton’s shop link up with trackable sensors attached to the bow and the target and some custom software to translates what the cameras see to the auto-aiming mechanisms.

The initial results were disappointing with the auto-aiming bow unable to actually accurately hit a target. Wighton eventually realized the type of bow he was using required the arrow to be fired around the bow itself, which introduced slight wobbles in its flight that threw it off target. Archers learn to compensate for these arrow flight deviations over time, but Wighton just threw money at the problem and upgraded to a compound bow with a whisker biscuit that guaranteed the arrow flew straight and true with every shot.

G/O Media may get a commission

The compound bow introduced another problem: the entire rig became too heavy to hold, and the solution to that problem was—you guessed it—more hardware. Hollywood relies on a wearable device called a Steadicam that attaches a heavy film camera to an articulated spring-loaded arm that’s worn by a camera operator allowing them to capture smooth footage even while running. Instead of a heavy camera, Wighton strapped on a Steadicam rig and attached their auto-aiming bow, which from that point on worked almost flawlessly, even tracking and knocking moving targets out of the air.

The auto-aiming bow wasn’t perfect, however. As Wighton points out at the end of the video its ability to compensate for targets farther away—which requires an archer to aim higher to account for the arched trajectory of an arrow—was completely lacking. The contraption isn’t ready for the Olympics just yet, but version two is already in the process of being designed and improved. At some point, we might see Wighton actually splitting arrows just like Robin Hood did in the movies.

Gizmodo

Razor UI – A Complete Library of Blade Components

https://laravelnews.imgix.net/images/In0PKsp—Imgur.png?ixlib=php-3.3.1

1<section class="py-24">

2 <div class="grid md:grid-cols-[2fr,3fr] gap-6 md:gap-12 mt-6">

3 <aside>

4 <h2 class="text-xl font-semibold tracking-tight">Personal</h2>

5 

6 <p class="mt-1 text-gray-500">

7 Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quibusdam ducimus enim.

8 </p>

9 </aside>

10 

11 <form

12 class="block p-2 space-y-2 bg-white shadow rounded-xl"

13 action=""

14 >

15 <div class="grid grid-cols-2 gap-6 px-4 py-4">

16 <div class="col-span-2 space-y-2 md:col-span-1">

17 <label

18 class="inline-block text-sm font-medium text-gray-700"

19 for="first_name"

20 >First name</label>

21 

22 <input

23 class="block w-full h-10 transition duration-75 border-gray-300 rounded-lg shadow-sm focus:ring-1 focus:ring-inset focus:ring-blue-600 focus:border-blue-600"

24 id="first_name"

25 type="text"

26 >

27 </div>

28 

29 <div class="col-span-2 space-y-2 md:col-span-1">

30 <label

31 class="inline-block text-sm font-medium text-gray-700"

32 for="last_name"

33 >Last name</label>

34 

35 <input

36 class="block w-full h-10 transition duration-75 border-gray-300 rounded-lg shadow-sm focus:ring-1 focus:ring-inset focus:ring-blue-600 focus:border-blue-600"

37 id="last_name"

38 type="text"

39 >

40 </div>

41 

42 <div class="col-span-2 space-y-2">

43 <label

44 class="inline-block text-sm font-medium text-gray-700"

45 for="email"

46 >Email address</label>

47 

48 <input

49 class="block w-full h-10 transition duration-75 border-gray-300 rounded-lg shadow-sm focus:ring-1 focus:ring-inset focus:ring-blue-600 focus:border-blue-600"

50 id="email"

51 type="email"

52 >

53 </div>

54 

55 <div class="col-span-2 space-y-2">

56 <label

57 class="inline-block text-sm font-medium text-gray-700"

58 for="about_me"

59 >About me</label>

60 

61 <textarea

62 class="block w-full transition duration-75 border-gray-300 rounded-lg shadow-sm focus:border-blue-600 focus:ring-1 focus:ring-inset focus:ring-blue-600"

63 id="about_me"

64 ></textarea>

65 </div>

66 </div>

67 

68 <div class="border-t"></div>

69 

70 <footer class="flex items-center justify-end px-4 py-2 space-x-4">

71 <button

72 class="inline-flex items-center justify-center h-8 px-3 text-sm font-semibold tracking-tight text-white transition bg-blue-600 rounded-lg shadow hover:bg-blue-500 focus:bg-blue-700 focus:outline-none focus:ring-offset-2 focus:ring-offset-blue-700 focus:ring-2 focus:ring-white focus:ring-inset"

73 type="submit"

74 >Save details</button>

75 </footer>

76 </form>

77 </div>

78</section>

Laravel News

Memes that made me laugh 71

https://1.bp.blogspot.com/-p7A8jY1CTmM/YRmUbCbyBGI/AAAAAAAAtdk/D6JxUBAcdvwuuPlzTh66POWeYpFucrYCACPcBGAsYHg/

 

Harvested around the Web over the past week.  There are not as many as usual, but that’s because fewer of the memes I found made me laugh!  It seems comedy is sometimes sparse.  At any rate, click any image for a larger view.

More next week.

Peter

Bayou Renaissance Man

How to use and install Browsersync with Laravel Valet

https://ralphjsmit.com/wp-content/uploads/2021/08/How-to-use-Browsersync-with-Laravel-Valet-2021.jpg

If you’re a developer in the PHP world, it’s likely that you’ve come across Laravel Valet. Laravel Valet is a very easy way to spin up multiple local development environments, by linking a folder name to a {folderName}.test domain.

Browsersync is a tool to make developing easier. It offers handy tools, of which the most important is automatic browser reloading on file change. Unfortunately Browsersync doesn’t work out-of-the-box with Laravel Valet, but luckily it requires only a little configuration.

There are roughly two ways to install Browsersync: install it via Laravel Mix in a Laravel project (or in an other PHP-project if you required Laravel Mix as a package) or install Browsersync without Laravel Mix, but with npm.

Installing Browsersync with Laravel Mix

A very handy feature of Laravel Mix is that it supports Browsersync straight out-of-the-box. Open up your webpack.mix.js file, paste the below code in and edit the first line, so that it contains the correct url.

const domain = 'yourdomain.test'; // <= EDIT THIS
const homedir = require('os').homedir();

// The mix script:
mix.browserSync({
      proxy: 'https://' + domain,
      host: domain,
      open: 'external',
      https: {
        key: homedir + '/.config/valet/Certificates/' + domain + '.key',
        cert: homedir + '/.config/valet/Certificates/' + domain + '.crt'
      },
      notify: true, //Enable or disable notifications
  })

This setup assumes an https:// configuration, so you might need to run the following command in order to create an SSL certificate and allow to run the website on https://:

valet secure

To start using Browsersync, just run npm run watch and your browser will automatically open the following url: https://yourdomain.test:3000.

npm run watch

As long as the above command keeps running, your browser will automatically refresh when it detects a file change.

Installing Browsersync without Laravel Mix

The other way to install Browsersync is without Laravel Mix. This means that it can be installed in almost any project. For example, you could use it to reload your local WordPress website when you make a change to a theme file.

Install Browsersync via npm

First, you need to install Browsersync. Installation is global and done via npm.

npm install -g browser-sync

Create a Browsersync configuration file

Next, navigate to the folder with your website files. When using Laravel Valet, this is the folder that is linked to the domain you visit in your browser, like so: {folderName}.test.

Run the following command to create a configuration file. This will create a bs-config.js configuration file in your directory.

browser-sync init

Use Browsersync with npm

Open the Browsersync configuration file and add the following code at the top of the file (below the first comment block):

const domain = 'yourdomain.test'; // <= EDIT THIS
const homedir = require('os').homedir();

Next, make sure that the following lines look like this:

"files": "**/*", //Change this line. It means that it watches for file changes in this everywhere.
"proxy": 'https://' + domain, //Change this line 

    // Add these lines:
"https": {
    "key": homedir + '/.config/valet/Certificates/' + domain + '.key',
    "cert": homedir + '/.config/valet/Certificates/' + domain + '.crt'
},

    
"host": domain, // Change this line

Again, this setup assumes an https:// configuration, so you might need to run the following command in order to create an SSL certificate and allow to run the website on https://:

valet secure

And.. you’re done!🎉 Now, run the following command and enjoy✨ Your browser will automatically open after running this command and will automatically reload when you a file is changed. Pure magix

browser-sync start --config bs-config.js

Conclusion

As you can see, installing Browsersync with Laravel Valet is not difficult: you just need the right configuration. Once properly installed, it can save you hours of time.

And did you know that there are many more options to configure, like disabling the Browsersync notification every time the page reloads? Make sure to check out all the available configuration options on the Browsersync website.

Laravel News Links

Comic for August 13, 2021

https://assets.amuniversal.com/d4130730d05601396d8e005056a9545d

Thank you for voting.

Hmm. Something went wrong. We will take a look as soon as we can.

Dilbert Daily Strip

Laravel Mail Export

https://laravelnews.imgix.net/images/laravel-mail-export-featured.png?ixlib=php-3.3.1

Laravel Mail Export is a simple mailable trait and interface to export emails to a storage disk once sent. This package works by exporting any mail sent as a .eml file to a filesystem disk, which is useful for archival purposes.

Here’s an example from the readme of how to use this package, which includes implementing the ShouldExport interface and use the Exportable trait:

1namespace App\Mail;

2 

3use Illuminate\Mail\Mailable;

4use PodPoint\MailExport\Concerns\Exportable;

5use PodPoint\MailExport\Contracts\ShouldExport;

6 

7class OrderShipped extends Mailable implements ShouldExport

8{

9 use Exportable;

10 

11 // ...

12}

You can also configure the mailable disk, path, and filename via a class property, or more flexibly, using methods:

1public function exportDisk(): string

2{

3 return 'some_disk';

4}

5 

6public function exportPath(): string

7{

8 return 'some_path';

9}

10 

11public function exportFilename(): string

12{

13 return time() . '_some_filename';

14}

You can learn more about this package, get full installation instructions, and view the source code on GitHub.

Laravel News

The Babylon Bee Guide To Choosing A Gun That’s Right For You

https://media.babylonbee.com/articles/article-9232-1.jpg

There comes a time in every Christian’s life when he must make an important decision: What kind of firearm should I buy? Well, here’s a guide to help you know which gun is right for you.


Glock: What if you miss on the first shot? What if you miss on the second shot? What if you miss on the next ten shots? Fortunately, you can fit like 1,000 bullets in a Glock. And it’s made of plastic; make sure to recycle it after you’re done. We don’t want a landfill full of Glocks.

Perfect for: People too lazy to reload


Walther PPK: Look at this little gun. And it has such a cute little name. What an adorable thing to put in your purse.

Perfect for: British secret agent or a small American child


Civil War Cannon: Why waste all that time shooting a bunch of little tiny bullets when you can shoot one big bullet the size of a coconut? This is a great option for the gentleman connoisseur of fine-aged weaponry.

Perfect for: Those with mutton-chop facial hair and a love for exploding things


.44 Magnum: Do you feel lucky? Well, do ya, punk? More importantly, do you feel like shooting through a car windshield? The .44 magnum is the most powerful handgun in the world… or it was like back in the ’70s. There are a lot more large, unwieldy guns to pick from now, but this is a classic.

Perfect for: Cops who get the job done even if they don’t follow all the rules


Shotgun: Are you not very good at aiming? Maybe you have bad eyesight. You can’t really see what you want to shoot, but you know you want it dead. Then a shotgun is right for you. It’s great at close range (though the CDC doesn’t recommend shooting people at close range during a pandemic).

Perfect for: Farmers who need to force people to marry their daughters


Plasma Rifle: If aliens invade, you need a plasma rifle, since, as everyone knows, shooting aliens is way cooler with a plasma rifle. You can also use them to light cigars and heat casseroles at potlucks. Very useful.

Perfect for: Space Marines, Ellen Ripley, and people who smoke cigars 


1911: An old, old design (the name refers to how it was first made 500 years ago in 1911). This gun is for people who are stuck in the past and don’t care for newfangled things like TikToks and Twitters. No, you shoot those things — you shoot them with your 1911.

Perfect for: Old men who long for the good old days when men were men and there weren’t any of these other fake genders.


Desert Eagle: It’s big. It’s shiny. It’s not really practical for anything. But it’s big. And shiny.

Perfect for: People compensating for something


AR-15: The AR stands for “Assault Rifle” and the 15 stands for how many people you can assault with it at once. Deadlier than the AR-14 (but not quite as deadly as the AR-16), the AR-15 is a fun gun everyone enjoys. I have six because I’m always misplacing them.

Perfect for: Absolutely everyone


The Babylon Bee