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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> |
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 | |
define('TWO_PI', 2 * M_PI); | |
define('FOUR_PI', 4 * M_PI); | |
define('FSAM', 44100); | |
define('N_OLA', 2); | |
define('N_FFT', 2048); | |
define('N_FFT2', N_FFT / 2); | |
define('N_TAP', N_FFT2); | |
define('N_ZERO', N_FFT2); |
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 { FFT } from 'fft.js'; | |
import { decode } from 'wav-decoder'; | |
import { encode } from 'wav-encoder'; | |
import * as fs from 'fs'; | |
// Constants | |
const TWO_PI = 2 * Math.PI; | |
const SAMPLE_RATE = 44100; | |
const FFT_SIZE = 2048; | |
const HALF_FFT_SIZE = FFT_SIZE / 2; |
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
aaron-bond.better-comments | |
bradlc.vscode-tailwindcss | |
christian-kohler.npm-intellisense | |
christian-kohler.path-intellisense | |
dbaeumer.vscode-eslint | |
dsznajder.es7-react-js-snippets | |
editorconfig.editorconfig | |
esbenp.prettier-vscode | |
github.copilot | |
github.copilot-chat |
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 { FFT } from 'fft-js'; // This is a placeholder, ensure to use an appropriate FFT library | |
import * as fs from 'fs'; | |
import { createReadStream, createWriteStream } from 'fs'; | |
import { EventEmitter } from 'events'; | |
const TwoPi = Math.PI * 2; | |
const FourPi = Math.PI * 4; | |
const FSam = 44100; | |
const nOLA = 2; | |
const nFFT = 2048; |
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
void Erosthenes(int n) | |
{ | |
bool[] primes = new bool[n + 1]; | |
for (int i = 0; i < primes.Length; i++) | |
{ | |
primes[i] = true; | |
} | |
for (int i = 2; i < Math.Sqrt(n) + 1; i++) |
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
// ==UserScript== | |
// @name Get glade | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://amazing.hbo-ict.org/* | |
// @icon https://www.google.com/s2/favicons?domain=tampermonkey.net | |
// @require http://code.jquery.com/jquery-3.4.1.min.js | |
// @grant none |
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 fs = require('fs'); | |
const cp = require('child_process'); | |
const util = require('util'); | |
const path = require('path'); | |
const exec = util.promisify(cp.exec); | |
const writeFile = util.promisify(fs.writeFile); | |
const prettierConfigVscode = { | |
'editor.codeActionsOnSave': { |