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
| function sleep(ms) { | |
| return new Promise(resolve => setTimeout(resolve, ms)); | |
| } | |
| async function deleteNextVideo(id){ | |
| let menu = document.querySelectorAll("yt-icon-button[class='dropdown-trigger style-scope ytd-menu-renderer']")[id]; | |
| menu.click(); | |
| // Tiny delay to give the menu time to render | |
| await sleep(300); |
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
| <?php | |
| namespace Database\Factories; | |
| use App\Models\User; | |
| use App\Models\Reply; | |
| use App\Models\Thread; | |
| use Illuminate\Database\Eloquent\Factories\Factory; | |
| class ReplyFactory extends Factory |
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
| @import url('https://fonts.googleapis.com/css?family=Cairo:300,400,600,700'); | |
| /* Edit */ | |
| header.course-profile { | |
| background: none !important; | |
| margin: 0 !important; | |
| padding: 0 !important; | |
| border: none !important; | |
| border-bottom: 1px solid #ededed; |
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
| @import url('https://fonts.googleapis.com/css?family=Cairo:300,400,600,700'); | |
| @font-face { | |
| font-family: 'GE-SS-Two-Light'; | |
| src: url("/static/kkux/fonts/GE-SS-Two-Light.57c8eaecda67.eot"); | |
| src: url("/static/kkux/fonts/GE-SS-Two-Light.57c8eaecda67.eot?#iefix") format('embedded-opentype'), | |
| url("/static/kkux/fonts/GE-SS-Two-Light.36575edd3583.woff") format('woff'), | |
| url("/static/kkux/fonts/GE-SS-Two-Light.3cd97ed36f7f.ttf") format('truetype'), | |
| url("/static/kkux/fonts/GE-SS-Two-Light.2a6ac252aff5.svg#GE-SS-Two-Light") format('svg'); | |
| font-weight: normal; |
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
| // install the following packages: | |
| // yarn add --dev eslint prettier eslint-config-airbnb@^15.0.1 eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y@^5.1.1 | |
| { | |
| "extends": ["airbnb", "prettier", "prettier/react"], | |
| "plugins": ["react", "prettier"], | |
| "parser": "babel-eslint", | |
| "parserOptions": { | |
| "ecmaVersion": 2016, | |
| "sourceType": "module", |