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
| //Do you need to repeat part of a Youtube song? | |
| //This script will help you to do that. Modify it for your own needs. | |
| //*********************************** | |
| //Please provide a song list with start and end times. | |
| //Multiple songs are allowed. | |
| //Time should be in HH:MM:SS format | |
| //Example song url: https://www.youtube.com/watch?v=tly6mJ5O8kg | |
| let songs = [{"start": "00:16:49", "end": "00:20:24"}]; |
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
| call now rm <YOUR_APP_NAME> | |
| call now --public | |
| call now alias | |
| call now scale <YOUR_APP_URL> sfo1 1 |
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
| $ git remote rm origin | |
| $ git remote add origin [email protected]:aplikacjainfo/proj1.git | |
| $ git config master.remote origin | |
| $ git config master.merge refs/heads/master |
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 parseTime = (time) => { | |
| const error = "INVALID TIME"; | |
| //validate minutes | |
| const validateMins = (mins) => { | |
| try { | |
| mins = parseInt(mins); | |
| if (mins >= 0 && mins <= 60) { | |
| mins = mins.toString(); |