- Download SoX: https://sourceforge.net/projects/sox/files/latest/download
- + > Picture Format
- Mask: *.aac;*.flac;*.m4a;*.mp3;*.ogg;*.wav;*.wma
- External program (Unicode filenames)
- "\sox.exe" %s -n spectrogram -x 2000 -p 2 -h -r -o %t
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 UUIDv4() { | |
| const bytes = new Uint8Array(16); | |
| window.crypto.getRandomValues(bytes); | |
| bytes[6] = (bytes[6] & 0x0f) | 0x40; | |
| bytes[8] = (bytes[8] & 0x3f) | 0x80; | |
| // Is there a better way of getting our string from the byte array? | |
| const hex = bytes.reduce((output, byte) => (output + ("0" + byte.toString(16)).slice(-2)), ""); | |
| return `${hex.substring(0, 8)}-${hex.substring(8, 12)}-${hex.substring(12, 16)}-${hex.substring(16, 20)}-${hex.substring(20, 32)}`; | |
| } |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
- Create a bare clone of the repository.
(This is temporary and will be removed so just do it wherever.)
git clone --bare [email protected]:usi-systems/easytrace.git
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
| # Ignore the auto-generated file or there will be a loop of uncommitted changes. | |
| **/Properties/AssemblyInfoGit.cs |
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
| protected void ErrorLog_Filtering(object sender, Elmah.ExceptionFilterEventArgs e) | |
| { | |
| var request = System.Web.HttpContext.Current.Request; | |
| var auth = request.ServerVariables["HTTP_AUTHORIZATION"]; | |
| if (!String.IsNullOrEmpty(auth)) | |
| { | |
| var authPattern = new Regex(@"(Authorization|HTTP_AUTHORIZATION):\s*" + auth + @"\s*", RegexOptions.ExplicitCapture); | |
| request.ServerVariables["ALL_HTTP"] = authPattern.Replace(request.ServerVariables["ALL_HTTP"], String.Empty); | |
| request.ServerVariables["ALL_RAW"] = authPattern.Replace(request.ServerVariables["ALL_RAW"], String.Empty); | |
| } |