This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "laravel": [{ | |
| "error": "MassAssignmentException", | |
| "sol": "The Fillable array in the model not found" | |
| }, | |
| { | |
| "error": "Blank Page", | |
| "sol": [ | |
| "Server Requirements < Laravel Version Requirements", | |
| "Main folder was deleted" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "log" | |
| "io/ioutil" | |
| "os" | |
| "regexp" | |
| "strings" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const observer = new MutationObserver( | |
| (mutationList, observer) => { | |
| for (const mutation of mutationList) { | |
| if (mutation.type === 'attributes' && mutation.target.localName === 'video') { | |
| //Change the video playback speed if you think people are boring | |
| //mutation.target.playbackRate = 1.25; | |
| mutation.target.loop = false; | |
| mutation.target.onended = (e) => document.getElementById('shorts-container').scrollTop += mutation.target.scrollHeight; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #Change the test command as your app usage | |
| output="$(npm test)" | |
| cat <<< "${output}" | |
| # Instead of failing you can place a word that appears if tests failed | |
| if grep failing <<< "${output}" > /dev/null; then | |
| #Im using sox/play, you can use vlc or any audio player.. | |
| play https://www.roshdy.dev/assets/f-test.mp3 | |
| # Instead of passing you can place a word that appears if tests passed |