Skip to content

Instantly share code, notes, and snippets.

View mdaka's full-sized avatar
🎯
You can change your status not my status

Mohammad Daka mdaka

🎯
You can change your status not my status
View GitHub Profile
@mpociot
mpociot / LaravelTinkerwellDriver.php
Created November 21, 2019 16:25
Custom Tinkerwell drivers
<?php
namespace BeyondCode\Tinkerwell\Drivers;
class LaravelTinkerwellDriver extends TinkerwellDriver
{
public function canBootstrap($projectPath): bool
{
return file_exists($projectPath.'/public/index.php') &&
file_exists($projectPath.'/artisan');
@bradtraversy
bradtraversy / webdev_online_resources.md
Last active September 1, 2025 09:15
Online Resources For Web Developers (No Downloading)
@indiesquidge
indiesquidge / objects-over-classes.md
Last active January 17, 2024 09:30
We are better off avoiding ES6 classes in JavaScript when possible

Plain JavaScript objects are better than classes when they can be used, and many popular modern frameworks have adopted their use.

Consider that in React a component can be created as either a class or as an object.

// using a class
class Welcome extends React.Component {
  render() {
 Hello, {this.props.name}
@MarcDiethelm
MarcDiethelm / Contributing.md
Last active August 21, 2025 06:42
How to contribute to a project on Github

This text now lives at https://github.com/MarcDiethelm/contributing/blob/master/README.md. I turned it into a Github repo so you can, you know, contribute to it by making pull requests.


Contributing

If you want to contribute to a project and make it better, your help is very welcome. Contributing is also a great way to learn more about social coding on Github, new technologies and and their ecosystems and how to make constructive, helpful bug reports, feature requests and the noblest of all contributions: a good, clean pull request.