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
| # wavfile.py (Enhanced) | |
| # Date: 20180430_2335 Joseph Basquin | |
| # | |
| # Mod by X-Raym | |
| # Date: 20180706_1558 | |
| # * add log parameter for read function | |
| # * return 'success' at end of write | |
| # * renamed variables to avoid conflict with python native functions | |
| # * correct bytes error | |
| # * correct write function |
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
| var WaveFile = require('wavefile'); | |
| var fs = require('fs'); | |
| let wav = new WaveFile(fs.readFileSync("source.wav")) | |
| console.log(wav.cue.dwCuePoints); | |
| console.log(wav.cue.points); | |
| wav.setCuePoint(5000, "YEAH"); | |
| let wavBuffer = wav.toBuffer(); | |
| fs.writeFile("source.wav", wavBuffer, function(err) { | |
| if(err) { | |
| return console.log(err); |
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
| .syntax--name.syntax--fountain { | |
| color: #CCCCCC; | |
| } | |
| .syntax--dialogue.syntax--fountain { | |
| color: #abb2bf; | |
| } | |
| .syntax--fountain .syntax--text { | |
| color: #54b6ff; |
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
| (.+):(.+) | |
| "$1": {\n\tcolor:$2\n}, |
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 sys | |
| import os | |
| if __name__ == "__main__": # When the script is run | |
| if len( sys.argv ) == 1: # Check if it was run with an argument | |
| dir = input("Folder?\t") # If no, ask for user input | |
| else: | |
| dir = sys.argv[1] # Take first argument of the command | |
| if os.path.isdir( dir ) == False: # Does the folder exists? |
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
| $j(".ld-quiz-stats-all-select[data-type=quiz]").prop("selectedIndex", 0); | |
| $j(".ld-quiz-stats-all-select[data-type=quiz] option").not(':first').remove(); |
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
| ipconfig /flushdns | |
| netsh winsock reset | |
| netsh winhttp reset proxy | |
| netsh winhttp reset tracing | |
| netsh winsock reset catalog | |
| netsh int ipv4 reset catalog | |
| netsh int ipv6 reset catalog |
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 webpackUniversalModuleDefinition(root, factory) { | |
| if(typeof exports === 'object' && typeof module === 'object') | |
| module.exports = factory(); | |
| else if(typeof define === 'function' && define.amd) | |
| define("WaveSurfer", [], factory); | |
| else if(typeof exports === 'object') | |
| exports["WaveSurfer"] = factory(); | |
| else | |
| root["WaveSurfer"] = factory(); | |
| })(typeof self !== 'undefined' ? self : this, function() { |
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
| text = [[reaper.ShowConsoleMsg( reaper.GetActiveTake( reaper.GetItem(0,0) ) ) )]] | |
| local captures = {} | |
| for capture in string.gmatch(text, "reaper%.([%w|%d]+)") do | |
| if not captures[capture] then captures[capture] = 0 end | |
| captures[capture] = captures[capture] + 1 | |
| end | |
| for k, v in pairs( captures ) do | |
| print( k .. " = " .. v) |