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
module.exports = { | |
'env': { | |
'browser': true, | |
'es6': true, | |
'node': true | |
}, | |
'parserOptions': { | |
'allowImportExportEverywhere': false, | |
'babelOptions': { | |
'configFile': './babel.config.js' |
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
--- Input --- | |
Game: CS | |
DPI: 400 | |
Resolution: 3440x1440 | |
Sensitivity: 4 | |
360 Distance: 10.2273 inches | |
--- Calculated --- |
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
{ | |
"rules": { | |
"at-rule-blacklist": [], | |
"at-rule-empty-line-before": [ | |
"always", | |
{ | |
"except": [ | |
"after-same-name", | |
"first-nested" | |
], |
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
/** | |
* Invisible Code Generator | |
* | |
* Description: | |
* A code generator that takes Javascript and compiles it to | |
* ASCII Control Characters that are not visible | |
* | |
* Usage: | |
* Copy and paste the code into your browsers console | |
* Then paste the code you wish to convert to "Invisible Code" |
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
/** | |
* Get Codecs | |
* | |
* Usage: | |
* | |
* getCodecs() Returns an object with the keys 'audio' and 'video' | |
* each contain an array of the supported codecs for the browser | |
* | |
* Author: Aaron George | |
* Github: github.com/aarongeorge |
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
/** | |
* A list of easing functions for use with JavaScript and TypeScript | |
* | |
* Usage: | |
* | |
* `Easings.linear(t)` | |
* Where `t` in a value between 0 and 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
/** | |
* Draggie.ts | |
* | |
* A library for dragging elements around | |
* | |
* Github: https://gist.github.com/aarongeorge/2e1c970a4d0032e98fa2eb51bb40e00b | |
* Demo: https://codepen.io/AaronGeorge/full/oGZoBg/ | |
*/ | |
interface Constraints { |
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
First install: Package Control from https://packagecontrol.io/installation | |
Once that has installed, use Package Control to install the following: | |
A File Icon (Adds file type icons) | |
Babel (Adds support for ES6 syntax) | |
Bracket Highlighter (Adds various styles of bracket highlighting to Sublime) | |
CSS Extended Completions (Adds additional CSS completions) | |
Emmet (Adds various shorthand to write code faster) | |
JSX (Adds JSX Syntax) | |
Material Theme (Adds the nice Material Theme) |
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
/** | |
* A function that will create an audio context that fixes | |
* the iOS sample rate mismatch bug | |
* | |
* Author: Aaron George https://github.com/aarongeorge | |
*/ | |
// Create Audio Context | |
const createAudioContext = (desiredSampleRate = 44100) => { | |